'use strict';

module.exports = {
	template: require('./nco.html'),

	data: function () {
		return {
			region  : 12907,
			campaign: true,  // Trick with-indicator into loading without a campaign

			overview: [{
				title     : 'Influencer',
				indicators: [164,165,166,167],
				chart     : 'chart-bar'
			}, {
				title     : 'Information Source',
				indicators: [164,165,166,167],
				chart     : 'chart-bar'
			}, {
				title     : 'Reasons for Missed',
				indicators: [164,165,166,167],
				chart     : 'chart-bar'
			}, {
				title     : 'Reasons for Absence',
				indicators: [164,165,166,167],
				chart     : 'chart-bar'
			}, {
				title     : 'Reasons for NC',
				indicators: [164,165,166,167],
				chart     : 'chart-bar'
			}, {
				title     : 'NC Resolved by',
				indicators: [164,165,166,167],
				chart     : 'chart-bar'
			}]
		};
	},

	components: {

	}
};

'use strict';

module.exports = {
	template: require('./nco.html'),

	data: function () {
		return {
			region  : null,
			campaign: null,

			overview: [{
				title     : 'Influencer',
				indicators: [164,165,166,167],
				chart     : 'chart-bar'
			}, {
				title     : 'Information Source',
				indicators: [164,165,166,167],
				chart     : 'chart-bar'
			}, {
				title     : 'Reasons for Missed',
				indicators: [164,165,166,167],
				chart     : 'chart-bar'
			}, {
				title     : 'Reasons for Absence',
				indicators: [164,165,166,167],
				chart     : 'chart-bar'
			}, {
				title     : 'Reasons for NC',
				indicators: [164,165,166,167],
				chart     : 'chart-bar'
			}, {
				title     : 'NC Resolved by',
				indicators: [164,165,166,167],
				chart     : 'chart-bar'
			}]
		};
	},

	components: {

	}
};

Set campaign and region to null by default
Set campaign and region to null by default

Campaign and region are getting passed down by the dashboard view
from the dropdowns, so there is no need to provide defaults in the
NCO dashboard component.
