{"version":3,"sources":["webpack:///./src/helpers/periodChartHelper.ts","webpack:///./src/helpers/convertHexToRGB.ts","webpack:///./node_modules/vue-chartjs/es/mixins/index.js","webpack:///./node_modules/vue-chartjs/es/BaseCharts.js","webpack:///./src/components/chart/base/PeriodSelect.vue?a73d","webpack:///./node_modules/cache-loader/dist/cjs.js","webpack:///./src/components/chart/base/PeriodSelect.vue?5780","webpack:///./src/components/chart/base/PeriodSelect.vue","webpack:///./src/components/chart/transactions-stats/TransactionsStatsCard.vue?72d1","webpack:///./src/components/chart/base/LineChart.vue?28be","webpack:///./src/components/chart/base/LineChart.vue?498f","webpack:///./src/components/chart/base/LineChart.vue","webpack:///./src/components/chart/base/ChartLabel.vue?3c9d","webpack:///./src/components/chart/base/ChartLabel.vue?5a8d","webpack:///./src/components/chart/base/ChartLabel.vue","webpack:///./src/components/chart/transactions-stats/TransactionsStatsCard.vue?484f","webpack:///./src/components/chart/transactions-stats/TransactionsStatsChart.vue?f016","webpack:///./src/services/customers/customer.service.ts","webpack:///./src/components/chart/base/BarChart.vue?293e","webpack:///./src/components/chart/base/BarChart.vue?9167","webpack:///./src/components/chart/base/BarChart.vue","webpack:///./src/components/chart/base/ChartLabel.vue?fd45","webpack:///./src/models/common/chartType.ts","webpack:///./src/components/chart/base/ChartTypeSelect.vue?b360","webpack:///./src/components/chart/base/ChartTypeSelect.vue?e0ee","webpack:///./src/components/chart/base/ChartTypeSelect.vue","webpack:///./src/components/chart/transactions-stats/TransactionsStatsCard.vue?e5db","webpack:///./src/models/common/measureType.ts","webpack:///./src/models/transactions/transactionValueType.ts","webpack:///./src/models/transactions/transactionsStats.ts","webpack:///./src/helpers/transactionChartHelper.ts","webpack:///./src/components/chart/transactions-stats/MeasuresSelect.vue?e144","webpack:///./src/components/chart/transactions-stats/MeasuresSelect.vue?d2a8","webpack:///./src/components/chart/transactions-stats/MeasuresSelect.vue","webpack:///./src/components/chart/transactions-stats/TransactionsStatsChart.vue?905f","webpack:///./src/components/chart/transactions-stats/TransactionsStatsChart.vue?6bfb","webpack:///./src/components/chart/transactions-stats/TransactionsStatsChart.vue","webpack:///./src/components/chart/transactions-stats/TransactionValueTypeSelect.vue?0c15","webpack:///./src/components/chart/transactions-stats/TransactionValueTypeSelect.vue?153f","webpack:///./src/components/chart/transactions-stats/TransactionValueTypeSelect.vue","webpack:///./src/utils/models-utils/transactionsStats.utils.ts","webpack:///./src/components/chart/transactions-stats/TransactionsStatsCard.vue?486a","webpack:///./src/components/chart/transactions-stats/TransactionsStatsCard.vue"],"names":["PeriodChartHelper","stats","chartPeriod","$dates","labelsChart","i","push","padStart","getChartWeekDates","startDate","getChartMonthDates","hexToRGB","hex","alpha","r","parseInt","slice","g","b","generateChart","chartId","chartType","render","createElement","style","this","styles","class","cssClasses","attrs","id","width","height","ref","props","default","type","String","Number","Object","plugins","Array","data","_chart","_plugins","methods","addPlugin","plugin","$data","generateLegend","renderChart","options","destroy","$refs","canvas","getContext","beforeDestroy","Bar","Doughnut","Line","_vm","_h","$createElement","_c","_self","small","compact","items","rules","value","required","clearable","chevronIcon","disabled","on","handleSelect","staticRenderFns","PeriodSelect","getItems","hourlyOptions","text","i18n","t","code","Period","Today","Yesterday","dailyOptions","Last7Days","ThisWeek","PreviousWeek","ThisMonth","PreviousMonth","showHourlyOptions","$emit","Vue","__decorate","Prop","undefined","Component","components","SelectInput","component","staticClass","LineChart","fill","extends","_v","_s","$t","label","color","emphasize","_e","ChartLabel","module","exports","CustomersService","url","size","sort","sortDir","filter","filtersChanged","page","basePagination","endpoints","store","getters","MerchantsGetters","GetSelectedMerchant","axios","get","resetRequestUrl","params","customerId","handleDates","merchantId","period","generalConstants","LARGE_TIMEOUT_AXIOS_CONFIG","mediaId","delete","BasePaginationService","customerService","BarChart","ChartType","ChartTypeSelect","MeasureType","loading","fullSize","directives","name","rawName","selectedChartValue","chartValueTypes","SalesAndRecharges","selectedChartMeasure","measureTypes","Amount","expression","$currency","parseWithCodeBySelectedMerchant","totalSalesAmount","Sales","totalSalesCashAmount","totalSalesCashlessAmount","Recharges","totalRechargesAmount","Count","formatNumberWithLocale","totalSalesCount","totalSalesCashCount","totalSalesCashlessCount","totalRechargesCount","trChartHelper","chartValues","model","callback","$$v","selectedChartPeriod","chartMeasures","chartTypes","selectedChartType","TransactionValueType","TransactionsStats","aggregatePeriod","aggregateType","endDate","Stats","keys","rechargesAmount","rechargesCount","salesAmount","salesCount","salesCashAmount","salesCashCount","salesCashlessAmount","salesCashlessCount","TransactionChartHelper","currenciesService","CurrenciesPluginService","chartRef","chartMeasure","chartValue","themeColors","chartSalesPrimary","chartSalesSecondary","chartRechargesPrimary","chartRechargesSecondary","chartGrayCold","blueGradient","createLinearGradient","addColorStop","greenGradient","greyGradient","salesDataset","backgroundColor","borderColor","convertToUnit","salesCashDataset","salesCashlessDataset","rechargesDataset","datasets","sales","all","properties","cash","cashless","recharges","map","s","parseBySelectedMerchant","MeasuresSelect","$themeColors","chartPrimary","TransactionsStatsChart","renderStatsChart","renderStatsChartInRef","TransactionsStatsBarChart","TransactionsStatsLineChart","self","labels","getLabelsChart","transactionsStats","getDatasetsChart","tooltips","callbacks","tooltipItem","yLabel","datasetIndex","parseToBaseBySelectedMerchant","scales","yAxes","ticks","beginAtZero","responsive","Ref","Watch","TransactionValueTypeSelect","initTransactionsStats","TransactionsStatsCard","posName","posId","Routes","DeviceTransactions","$store","PointsOfSaleGetters","GetCurrentPointOfSale","getStats","currentPosName","num","$i18n","locale","$spinner","showSpinner","getCustomerStats","transactionService","getStatsOfPeriodByPos","then","response","catch","$toaster","showError","finally","removeSpinner","getStatsOfPeriod","getCustomerTransactionsStats"],"mappings":"gLAAqBA,G,8GACZ,SAAeC,EAAYC,EAAqBC,GACrD,IAAIC,EAAwB,GAE5B,GAAoB,UAAhBF,GAA2C,cAAhBA,EAC7B,IAAK,IAAIG,EAAI,EAAGA,EAAI,GAAIA,IACtBD,EAAYE,MAAMD,EAAI,IAAIE,SAAS,EAAG,KAAO,WAG/B,gBAAhBL,GAC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KACjB,4CAGA6D,gBADCC,kBACD,6BAGAD,gBADCC,eAAK,CAAE9D,QAAS,MACjB,kCAsCA6D,gBALCkK,eAAM,sBACNA,eAAM,uBACNA,eAAM,wBACNA,eAAM,qBACNA,eAAM,UACP,2CAKAlK,gBADCkK,eAAM,eACP,uCA/EmBG,GAAqB,gBAVzClK,eAAU,CACTC,WAAY,CACV,gBAAiBc,OACjB,sBAAuBiC,OACvB,wBAAyBsF,EACzB,kBAAmB5J,OACnB,gBAAiB+J,EACjB,sBAAuBuB,OAGNE,coC7M+Z,MCQhb,I,UAAY,eACd,GACA/O,EACAsD,GACA,EACA,KACA,KACA,OAIa,U","file":"js/chunk-b1ccba66.deacbdf6.js","sourcesContent":["export default class PeriodChartHelper {\n public getLabelsChart(stats: any, chartPeriod: string, $dates: any): string[] {\n let labelsChart: string[] = [];\n\n if (chartPeriod === 'today' || chartPeriod === 'yesterday') {\n for (let i = 0; i < 24; i++) {\n labelsChart.push((i + '').padStart(2, '0') + ':00');\n }\n } else if (\n chartPeriod === 'last-7-days' ||\n chartPeriod === 'this-week' ||\n chartPeriod === 'previous-week'\n ) {\n labelsChart = $dates.getChartWeekDates(stats.startDate);\n } else if (\n chartPeriod === 'this-month' ||\n chartPeriod === 'previous-month'\n ) {\n labelsChart = $dates.getChartMonthDates(stats.startDate);\n }\n\n return labelsChart;\n }\n}\n","export const hexToRGB = (hex: string, alpha?: string) => {\n const r = parseInt(hex.slice(1, 3), 16);\n const g = parseInt(hex.slice(3, 5), 16);\n const b = parseInt(hex.slice(5, 7), 16);\n\n return alpha ?\n `rgba(${r},${g},${b},${alpha})` :\n `rgb(${r},${g},${b})`;\n};\n","function dataHandler(newData, oldData) {\n if (oldData) {\n var chart = this.$data._chart;\n var newDatasetLabels = newData.datasets.map(function (dataset) {\n return dataset.label;\n });\n var oldDatasetLabels = oldData.datasets.map(function (dataset) {\n return dataset.label;\n });\n var oldLabels = JSON.stringify(oldDatasetLabels);\n var newLabels = JSON.stringify(newDatasetLabels);\n\n if (newLabels === oldLabels && oldData.datasets.length === newData.datasets.length) {\n newData.datasets.forEach(function (dataset, i) {\n var oldDatasetKeys = Object.keys(oldData.datasets[i]);\n var newDatasetKeys = Object.keys(dataset);\n var deletionKeys = oldDatasetKeys.filter(function (key) {\n return key !== '_meta' && newDatasetKeys.indexOf(key) === -1;\n });\n deletionKeys.forEach(function (deletionKey) {\n delete chart.data.datasets[i][deletionKey];\n });\n\n for (var attribute in dataset) {\n if (dataset.hasOwnProperty(attribute)) {\n chart.data.datasets[i][attribute] = dataset[attribute];\n }\n }\n });\n\n if (newData.hasOwnProperty('labels')) {\n chart.data.labels = newData.labels;\n this.$emit('labels:update');\n }\n\n if (newData.hasOwnProperty('xLabels')) {\n chart.data.xLabels = newData.xLabels;\n this.$emit('xlabels:update');\n }\n\n if (newData.hasOwnProperty('yLabels')) {\n chart.data.yLabels = newData.yLabels;\n this.$emit('ylabels:update');\n }\n\n chart.update();\n this.$emit('chart:update');\n } else {\n if (chart) {\n chart.destroy();\n this.$emit('chart:destroy');\n }\n\n this.renderChart(this.chartData, this.options);\n this.$emit('chart:render');\n }\n } else {\n if (this.$data._chart) {\n this.$data._chart.destroy();\n\n this.$emit('chart:destroy');\n }\n\n this.renderChart(this.chartData, this.options);\n this.$emit('chart:render');\n }\n}\n\nexport var reactiveData = {\n data: function data() {\n return {\n chartData: null\n };\n },\n watch: {\n 'chartData': dataHandler\n }\n};\nexport var reactiveProp = {\n props: {\n chartData: {\n type: Object,\n required: true,\n default: function _default() {}\n }\n },\n watch: {\n 'chartData': dataHandler\n }\n};\nexport default {\n reactiveData: reactiveData,\n reactiveProp: reactiveProp\n};","import Chart from 'chart.js';\nexport function generateChart(chartId, chartType) {\n return {\n render: function render(createElement) {\n return createElement('div', {\n style: this.styles,\n class: this.cssClasses\n }, [createElement('canvas', {\n attrs: {\n id: this.chartId,\n width: this.width,\n height: this.height\n },\n ref: 'canvas'\n })]);\n },\n props: {\n chartId: {\n default: chartId,\n type: String\n },\n width: {\n default: 400,\n type: Number\n },\n height: {\n default: 400,\n type: Number\n },\n cssClasses: {\n type: String,\n default: ''\n },\n styles: {\n type: Object\n },\n plugins: {\n type: Array,\n default: function _default() {\n return [];\n }\n }\n },\n data: function data() {\n return {\n _chart: null,\n _plugins: this.plugins\n };\n },\n methods: {\n addPlugin: function addPlugin(plugin) {\n this.$data._plugins.push(plugin);\n },\n generateLegend: function generateLegend() {\n if (this.$data._chart) {\n return this.$data._chart.generateLegend();\n }\n },\n renderChart: function renderChart(data, options) {\n if (this.$data._chart) this.$data._chart.destroy();\n this.$data._chart = new Chart(this.$refs.canvas.getContext('2d'), {\n type: chartType,\n data: data,\n options: options,\n plugins: this.$data._plugins\n });\n }\n },\n beforeDestroy: function beforeDestroy() {\n if (this.$data._chart) {\n this.$data._chart.destroy();\n }\n }\n };\n}\nexport var Bar = generateChart('bar-chart', 'bar');\nexport var HorizontalBar = generateChart('horizontalbar-chart', 'horizontalBar');\nexport var Doughnut = generateChart('doughnut-chart', 'doughnut');\nexport var Line = generateChart('line-chart', 'line');\nexport var Pie = generateChart('pie-chart', 'pie');\nexport var PolarArea = generateChart('polar-chart', 'polarArea');\nexport var Radar = generateChart('radar-chart', 'radar');\nexport var Bubble = generateChart('bubble-chart', 'bubble');\nexport var Scatter = generateChart('scatter-chart', 'scatter');\nexport default {\n Bar: Bar,\n HorizontalBar: HorizontalBar,\n Doughnut: Doughnut,\n Line: Line,\n Pie: Pie,\n PolarArea: PolarArea,\n Radar: Radar,\n Bubble: Bubble,\n Scatter: Scatter\n};","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('n-select-input',{attrs:{\"small\":_vm.small,\"compact\":_vm.compact,\"items\":_vm.items,\"rules\":_vm.rules || [],\"value\":_vm.value,\"required\":_vm.required,\"clearable\":_vm.clearable,\"chevron-icon\":_vm.chevronIcon,\"disabled\":_vm.disabled},on:{\"change\":_vm.handleSelect}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport { ChartType } from '@/models/common/chartType';\nimport { Dictionary } from 'vue-router/types/router';\nimport { MeasureType } from '@/models/common/measureType';\nimport { MerchantsGetters } from '@/store/modules/merchants/enums';\nimport { Period } from '@/models/common/period';\nimport { PointsOfSaleGetters } from '@/store/modules/points-of-sale/enums';\nimport { Routes } from '@/router/routes';\nimport { TransactionsStats } from '@/models/transactions/transactionsStats';\nimport { TransactionChartHelper } from '@/helpers/transactionChartHelper';\nimport { TransactionValueType } from '@/models/transactions/transactionValueType';\nimport ChartLabel from '@/components/chart/base/ChartLabel.vue';\nimport ChartTypeSelect from '@/components/chart/base/ChartTypeSelect.vue';\nimport PeriodSelect from '@/components/chart/base/PeriodSelect.vue';\nimport MeasuresSelect from './MeasuresSelect.vue';\nimport TransactionsStatsChart from '@/components/chart/transactions-stats/TransactionsStatsChart.vue';\nimport TransactionValueTypeSelect from './TransactionValueTypeSelect.vue';\nimport { customerService } from '@/services/customers/customer.service';\nimport { formatNumberWithLocale } from '@/utils/number.utils';\nimport { initTransactionsStats } from '@/utils/models-utils/transactionsStats.utils';\nimport { transactionService } from '@/services/transactions/transaction.service';\n\n@Component({\n components: {\n 'n-chart-label': ChartLabel,\n 'n-chart-type-select': ChartTypeSelect,\n 'n-measure-type-select': MeasuresSelect,\n 'n-period-select': PeriodSelect,\n 'n-stats-chart': TransactionsStatsChart,\n 'n-value-type-select': TransactionValueTypeSelect,\n },\n})\nexport default class TransactionsStatsCard extends Vue {\n public trChartHelper = new TransactionChartHelper();\n\n public loading: boolean = true;\n public stats: TransactionsStats = new TransactionsStats();\n\n @Prop({ default: false })\n public fullSize!: boolean;\n\n public measureTypes = MeasureType;\n public chartValueTypes = TransactionValueType;\n\n public selectedChartPeriod: Period = Period.Today;\n public selectedChartMeasure: MeasureType = MeasureType.Amount;\n public selectedChartType: ChartType = ChartType.Bar;\n public selectedChartValue: TransactionValueType = TransactionValueType.SalesAndRecharges;\n\n @Prop({ default: 's' })\n public type!: string;\n\n @Prop({ default: true })\n public showChartPeriodSelect!: boolean;\n\n @Prop({ default: true })\n public showChartMeasureSelect!: boolean;\n\n @Prop({ default: true })\n public showChartTypeSelect!: boolean;\n\n @Prop({ default: true })\n public showChartValueSelect!: boolean;\n\n @Prop()\n public posId!: string;\n\n @Prop({ default: '' })\n public customerId!: string;\n\n public posName: string = '';\n\n get routeName(): string {\n if (!this.posId) {\n return '';\n }\n return Routes.DeviceTransactions;\n }\n\n get routeParams(): Dictionary | null {\n if (!this.posId) {\n return null;\n }\n\n return { id: this.posId };\n }\n\n get currentPosName(): string {\n return this.$store.getters[PointsOfSaleGetters.GetCurrentPointOfSale]\n .name as string;\n }\n\n get merchantId(): string {\n return this.$store.getters[MerchantsGetters.GetSelectedMerchant] as string;\n }\n\n public created(): void {\n this.getStats();\n this.posName = this.currentPosName;\n }\n\n @Watch('selectedChartValue')\n @Watch('selectedChartPeriod')\n @Watch('selectedChartMeasure')\n @Watch('selectedChartType')\n @Watch('posId')\n public onChartOptionsChanged() {\n this.getStats();\n }\n\n @Watch('merchantId')\n public changedMerchantId(): void {\n this.getStats();\n }\n\n get totalSalesAmount(): number {\n return this.stats?.stats?.totalSalesAmount ?? 0;\n }\n\n get totalSalesCashAmount(): number {\n return this.stats?.stats?.totalSalesCashAmount ?? 0;\n }\n\n get totalSalesCashlessAmount(): number {\n return this.stats?.stats?.totalSalesCashlessAmount ?? 0;\n }\n\n get totalRechargesAmount(): number {\n return this.stats?.stats?.totalRechargesAmount ?? 0;\n }\n\n get totalSalesCount(): number {\n return this.stats?.stats?.totalSalesCount ?? 0;\n }\n\n get totalSalesCashCount(): number {\n return this.stats?.stats?.totalSalesCashCount ?? 0;\n }\n\n get totalSalesCashlessCount(): number {\n return this.stats?.stats?.totalSalesCashlessCount ?? 0;\n }\n\n get totalRechargesCount(): number {\n return this.stats?.stats?.totalRechargesCount ?? 0;\n }\n\n public formatNumberWithLocale(num: number | undefined): string {\n return formatNumberWithLocale(num, this.$i18n.locale);\n }\n\n private getStats() {\n this.loading = true;\n if (this.fullSize) {\n this.$spinner.showSpinner();\n }\n if (this.customerId) {\n this.getCustomerStats();\n } else {\n if (this.posId) {\n transactionService\n .getStatsOfPeriodByPos(this.posId, this.selectedChartPeriod)\n .then((response) => {\n this.stats = response.data;\n initTransactionsStats(this.stats);\n })\n .catch(() => {\n this.$toaster.showError('errors.common', true);\n })\n .finally(() => {\n this.loading = false;\n if (this.fullSize) {\n this.$spinner.removeSpinner();\n }\n });\n } else if (!!this.merchantId) {\n transactionService\n .getStatsOfPeriod(this.selectedChartPeriod)\n .then((response) => {\n this.stats = response.data;\n initTransactionsStats(this.stats);\n })\n .catch(() => {\n this.$toaster.showError('errors.common', true);\n })\n .finally(() => {\n this.loading = false;\n if (this.fullSize) {\n this.$spinner.removeSpinner();\n }\n });\n }\n }\n }\n\n private getCustomerStats() {\n customerService\n .getCustomerTransactionsStats(this.merchantId, this.customerId, this.selectedChartPeriod)\n .then((response) => {\n this.stats = response.data;\n initTransactionsStats(this.stats);\n })\n .catch(() => {\n this.$toaster.showError('errors.common', true);\n })\n .finally(() => {\n this.loading = false;\n if (this.fullSize) {\n this.$spinner.removeSpinner();\n }\n });\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PeriodSelect.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PeriodSelect.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PeriodSelect.vue?vue&type=template&id=58ca0a02&\"\nimport script from \"./PeriodSelect.vue?vue&type=script&lang=ts&\"\nexport * from \"./PeriodSelect.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionsStatsCard.vue?vue&type=style&index=0&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('canvas',{ref:\"canvas\",staticClass:\"chart\"})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LineChart.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LineChart.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LineChart.vue?vue&type=template&id=bae853dc&scoped=true&\"\nimport script from \"./LineChart.vue?vue&type=script&lang=ts&\"\nexport * from \"./LineChart.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bae853dc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"chart-label\"},[_c('div',{staticClass:\"chart-label__label\"},[_vm._v(_vm._s(_vm.$t(_vm.label)))]),_c('div',{staticClass:\"chart-label__dot\",class:{\n 'chart-label__dot--gray': _vm.color === 'gray',\n 'chart-label__dot--blue': _vm.color === 'blue',\n 'chart-label__dot--yellow': _vm.color === 'yellow',\n 'chart-label__dot--red': _vm.color === 'red',\n 'chart-label__dot--green': _vm.color === 'green' || _vm.color === 'dark',\n 'chart-label__dot--black': _vm.color === 'black',\n 'chart-label__dot--opos': _vm.color === 'opos',\n 'chart-label__dot--movements': _vm.color === 'movements',\n 'chart-label__dot--black-interpolated1': _vm.color === 'stacker',\n 'chart-label__dot--black-interpolated2': _vm.color === 'coinbox',\n 'chart-label__dot--black-interpolated3': _vm.color === 'safe',\n }}),(_vm.value || _vm.value === 0)?_c('div',{staticClass:\"chart-label__value\",class:{\n 'chart-label__value--emphasized': _vm.emphasize,\n }},[_vm._v(\" \"+_vm._s(_vm.value)+\" \")]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChartLabel.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChartLabel.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ChartLabel.vue?vue&type=template&id=7b4954ba&scoped=true&\"\nimport script from \"./ChartLabel.vue?vue&type=script&lang=ts&\"\nexport * from \"./ChartLabel.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ChartLabel.vue?vue&type=style&index=0&id=7b4954ba&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7b4954ba\",\n null\n \n)\n\nexport default component.exports","// extracted by mini-css-extract-plugin\nmodule.exports = {\"chartPrimary\":\"#0966ce\",\"chartRed\":\"#ff848b\",\"chartGreen\":\"#87e1c1\",\"chartGray\":\"#d9e2ea\",\"chartYellow\":\"#f5d187\",\"chartGrayCold\":\"#c3c3e5\",\"chartSalesPrimary\":\"#2859a4\",\"chartSalesSecondary\":\"#3bb3d4\",\"chartRechargesPrimary\":\"#60daaf\",\"chartRechargesSecondary\":\"#99ffdb\",\"chartColorDark\":\"#0966ce\",\"chartColorDarkContrast\":\"#6ecbff\",\"chartColorLight\":\"#c3c3e5\",\"chartTemperatureDataset1\":\"#0966ce\",\"chartTemperatureDataset2\":\"#6ecbff\",\"chartTemperatureDataset3\":\"#f5d187\",\"chartNeutral\":\"#d9e2ea\",\"chartWarnings\":\"#f5d187\",\"chartWarningsSecondary\":\"#f7daa1\",\"chartCriticals\":\"#ff848b\",\"chartCriticalsSecondary\":\"#ff999e\",\"chartOposErrors\":\"#374357\",\"chartOposErrorsSecondary\":\"#374357\"};","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionsStatsChart.vue?vue&type=style&index=0&id=d308b48e&lang=scss&scoped=true&\"","import axios from 'axios';\nimport store from '@/store/index';\nimport * as endpoints from '@/services/endpoints.service';\nimport { CustomerFilter } from '@/models/customers/customerFilter';\nimport { MerchantsGetters } from '@/store/modules/merchants/enums';\nimport { Period } from '@/models/common/period';\nimport { TransactionFilter } from '@/models/transactions/transactionFilter';\nimport BasePaginationService from '@/services/base/basepagination.service';\nimport { generalConstants } from '@/consts/general';\n\nclass CustomersService extends BasePaginationService {\n public getPaged(\n url: string,\n size: number,\n sort: string,\n sortDir: string,\n filter: CustomerFilter,\n filtersChanged: boolean,\n page?: number,\n ) {\n return this.basePagination(\n url,\n endpoints.CUSTOMERS_PAGED(store.getters[MerchantsGetters.GetSelectedMerchant], size),\n sort,\n sortDir,\n filter,\n filtersChanged,\n page,\n );\n }\n\n public getAll(url: string, filter: CustomerFilter) {\n if (url === '') {\n url = endpoints.CUSTOMERS_CSV(store.getters[MerchantsGetters.GetSelectedMerchant]);\n }\n\n return axios.get(this.resetRequestUrl(url, true), {\n params: {\n ...filter,\n },\n });\n }\n\n public getCustomerTransactions(\n url: string,\n customerId: string,\n size: number,\n sort: string,\n sortDir: string,\n filter: TransactionFilter,\n filtersChanged: boolean,\n page?: number,\n ) {\n return this.basePagination(\n url,\n endpoints.CUSTOMER_TRANSACTIONS_PAGED(\n store.getters[MerchantsGetters.GetSelectedMerchant],\n customerId,\n size,\n ),\n sort,\n sortDir,\n filter,\n filtersChanged,\n page,\n { handleDates: true },\n );\n }\n\n public getCustomerDetails(merchantId: string, customerId: string) {\n return axios.get(endpoints.CUSTOMER_BY_ID(merchantId, customerId));\n }\n\n public getCustomerTransactionsStats(merchantId: string, customerId: string, period: Period) {\n return axios.get(endpoints.CUSTOMER_TRANSACTIONS_STATS(merchantId, customerId, period),\n generalConstants.LARGE_TIMEOUT_AXIOS_CONFIG);\n }\n\n public deassociateMedia(customerId: string, mediaId: string) {\n return axios.delete(endpoints.CUSTOMER_MEDIA_ASSOCIATION(customerId, mediaId));\n }\n\n public getCustomerPrivacy(merchantId: string, customerId: string) {\n return axios.get(endpoints.CUSTOMER_PRIVACY(merchantId, customerId));\n }\n\n public delete(merchantId: string, customerId: string) {\n return axios.delete(endpoints.CUSTOMER_BY_ID(merchantId, customerId));\n }\n}\n\nexport const customerService = new CustomersService();\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('canvas',{ref:\"canvas\",staticClass:\"chart\"})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BarChart.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BarChart.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BarChart.vue?vue&type=template&id=be147bfe&scoped=true&\"\nimport script from \"./BarChart.vue?vue&type=script&lang=ts&\"\nexport * from \"./BarChart.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"be147bfe\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChartLabel.vue?vue&type=style&index=0&id=7b4954ba&lang=scss&scoped=true&\"","export enum ChartType {\n Bar = 'bar',\n Line = 'line',\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('n-select-input',{attrs:{\"small\":true,\"items\":_vm.items,\"rules\":_vm.rules || [],\"value\":_vm.value,\"required\":_vm.required,\"clearable\":_vm.clearable},on:{\"change\":_vm.handleSelect}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChartTypeSelect.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChartTypeSelect.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ChartTypeSelect.vue?vue&type=template&id=1738d82b&\"\nimport script from \"./ChartTypeSelect.vue?vue&type=script&lang=ts&\"\nexport * from \"./ChartTypeSelect.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',[(!_vm.loading)?_c('div',{staticClass:\"transactions-chart__data\",class:{ 'transactions-chart__data--full': _vm.fullSize }},[_c('n-chart-label',{directives:[{name:\"show\",rawName:\"v-show\",value:(\n _vm.selectedChartValue === _vm.chartValueTypes.SalesAndRecharges &&\n _vm.selectedChartMeasure === _vm.measureTypes.Amount\n ),expression:\"\\n selectedChartValue === chartValueTypes.SalesAndRecharges &&\\n selectedChartMeasure === measureTypes.Amount\\n \"}],attrs:{\"label\":\"sales\",\"color\":\"blue\",\"emphasize\":true,\"value\":_vm.$currency.parseWithCodeBySelectedMerchant(\n _vm.totalSalesAmount\n )}}),_c('n-chart-label',{directives:[{name:\"show\",rawName:\"v-show\",value:(\n _vm.selectedChartValue === _vm.chartValueTypes.Sales && _vm.selectedChartMeasure === _vm.measureTypes.Amount\n ),expression:\"\\n selectedChartValue === chartValueTypes.Sales && selectedChartMeasure === measureTypes.Amount\\n \"}],attrs:{\"label\":\"cash\",\"color\":\"blue\",\"emphasize\":true,\"value\":_vm.$currency.parseWithCodeBySelectedMerchant(\n _vm.totalSalesCashAmount\n )}}),_c('n-chart-label',{directives:[{name:\"show\",rawName:\"v-show\",value:(\n _vm.selectedChartValue === _vm.chartValueTypes.Sales && _vm.selectedChartMeasure === _vm.measureTypes.Amount\n ),expression:\"\\n selectedChartValue === chartValueTypes.Sales && selectedChartMeasure === measureTypes.Amount\\n \"}],attrs:{\"label\":\"cashless\",\"color\":\"gray\",\"emphasize\":true,\"value\":_vm.$currency.parseWithCodeBySelectedMerchant(\n _vm.totalSalesCashlessAmount\n )}}),_c('n-chart-label',{directives:[{name:\"show\",rawName:\"v-show\",value:(\n (_vm.selectedChartValue === _vm.chartValueTypes.Recharges ||\n _vm.selectedChartValue === _vm.chartValueTypes.SalesAndRecharges) &&\n _vm.selectedChartMeasure === _vm.measureTypes.Amount\n ),expression:\"\\n (selectedChartValue === chartValueTypes.Recharges ||\\n selectedChartValue === chartValueTypes.SalesAndRecharges) &&\\n selectedChartMeasure === measureTypes.Amount\\n \"}],attrs:{\"label\":\"recharges\",\"color\":\"green\",\"emphasize\":true,\"value\":_vm.$currency.parseWithCodeBySelectedMerchant(\n _vm.totalRechargesAmount\n )}}),_c('n-chart-label',{directives:[{name:\"show\",rawName:\"v-show\",value:(\n _vm.selectedChartValue === _vm.chartValueTypes.SalesAndRecharges &&\n _vm.selectedChartMeasure === _vm.measureTypes.Count\n ),expression:\"\\n selectedChartValue === chartValueTypes.SalesAndRecharges &&\\n selectedChartMeasure === measureTypes.Count\\n \"}],attrs:{\"label\":\"sales\",\"color\":\"blue\",\"emphasize\":true,\"value\":_vm.formatNumberWithLocale(_vm.totalSalesCount)}}),_c('n-chart-label',{directives:[{name:\"show\",rawName:\"v-show\",value:(\n _vm.selectedChartValue === _vm.chartValueTypes.Sales && _vm.selectedChartMeasure === _vm.measureTypes.Count\n ),expression:\"\\n selectedChartValue === chartValueTypes.Sales && selectedChartMeasure === measureTypes.Count\\n \"}],attrs:{\"label\":\"cash\",\"color\":\"blue\",\"emphasize\":true,\"value\":_vm.formatNumberWithLocale(_vm.totalSalesCashCount)}}),_c('n-chart-label',{directives:[{name:\"show\",rawName:\"v-show\",value:(\n _vm.selectedChartValue === _vm.chartValueTypes.Sales && _vm.selectedChartMeasure === _vm.measureTypes.Count\n ),expression:\"\\n selectedChartValue === chartValueTypes.Sales && selectedChartMeasure === measureTypes.Count\\n \"}],attrs:{\"label\":\"cashless\",\"color\":\"gray\",\"emphasize\":true,\"value\":_vm.formatNumberWithLocale(_vm.totalSalesCashlessCount)}}),_c('n-chart-label',{directives:[{name:\"show\",rawName:\"v-show\",value:(\n (_vm.selectedChartValue === _vm.chartValueTypes.Recharges ||\n _vm.selectedChartValue === _vm.chartValueTypes.SalesAndRecharges) &&\n _vm.selectedChartMeasure === _vm.measureTypes.Count\n ),expression:\"\\n (selectedChartValue === chartValueTypes.Recharges ||\\n selectedChartValue === chartValueTypes.SalesAndRecharges) &&\\n selectedChartMeasure === measureTypes.Count\\n \"}],attrs:{\"label\":\"recharges\",\"color\":\"green\",\"emphasize\":true,\"value\":_vm.formatNumberWithLocale(_vm.totalRechargesCount)}})],1):_vm._e(),_c('div',{staticClass:\"transactions-chart\"},[_c('div',{staticClass:\"transactions-chart__options\",class:{ 'transactions-chart__options--full': _vm.fullSize }},[_c('n-value-type-select',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showChartValueSelect),expression:\"showChartValueSelect\"}],attrs:{\"items\":_vm.trChartHelper.chartValues,\"disabled\":_vm.loading},model:{value:(_vm.selectedChartValue),callback:function ($$v) {_vm.selectedChartValue=$$v},expression:\"selectedChartValue\"}}),_c('n-period-select',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showChartPeriodSelect),expression:\"showChartPeriodSelect\"}],attrs:{\"disabled\":_vm.loading},model:{value:(_vm.selectedChartPeriod),callback:function ($$v) {_vm.selectedChartPeriod=$$v},expression:\"selectedChartPeriod\"}}),_c('n-measure-type-select',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showChartMeasureSelect),expression:\"showChartMeasureSelect\"}],attrs:{\"items\":_vm.trChartHelper.chartMeasures,\"disabled\":_vm.loading},model:{value:(_vm.selectedChartMeasure),callback:function ($$v) {_vm.selectedChartMeasure=$$v},expression:\"selectedChartMeasure\"}}),_c('n-chart-type-select',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showChartTypeSelect),expression:\"showChartTypeSelect\"}],attrs:{\"items\":_vm.trChartHelper.chartTypes,\"disabled\":_vm.loading},model:{value:(_vm.selectedChartType),callback:function ($$v) {_vm.selectedChartType=$$v},expression:\"selectedChartType\"}})],1),_c('div',{staticClass:\"transactions-chart__chart\",class:{ 'transactions-chart__chart--full': _vm.fullSize }},[_c('n-stats-chart',{attrs:{\"transactions-stats\":_vm.stats,\"chartType\":_vm.selectedChartType,\"chartPeriod\":_vm.selectedChartPeriod,\"chartMeasure\":_vm.selectedChartMeasure,\"chartValue\":_vm.selectedChartValue,\"loading\":_vm.loading}})],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export enum MeasureType {\n Amount = 'Amount',\n Count = 'Count',\n}\n","export enum TransactionValueType {\n SalesAndRecharges = 'sales-and-recharges',\n Sales = 'sales',\n Recharges = 'recharges',\n}\n","export class TransactionsStats {\n public aggregatePeriod: string = '';\n public aggregateType: string = '';\n public endDate: string = '';\n public startDate: string = '';\n public stats: Stats = new Stats();\n}\n\n// tslint:disable-next-line: max-classes-per-file\nexport class Stats {\n public keys: number[] = [];\n public rechargesAmount: number[] = [];\n public rechargesCount: number[] = [];\n public salesAmount: number[] = [];\n public salesCount: number[] = [];\n public salesCashAmount: number[] = [];\n public salesCashCount: number[] = [];\n public salesCashlessAmount: number[] = [];\n public salesCashlessCount: number[] = [];\n public totalRechargesAmount!: number;\n public totalRechargesCount!: number;\n public totalSalesAmount!: number;\n public totalSalesCashAmount!: number;\n public totalSalesCashCount!: number;\n public totalSalesCashlessAmount!: number;\n public totalSalesCashlessCount!: number;\n public totalSalesCount!: number;\n}\n","import i18n from '@/i18n';\nimport store from '@/store/index';\nimport { CurrenciesPluginService } from '@/services/common/currencies.service';\nimport { hexToRGB } from './convertHexToRGB';\nimport { ThemeColors } from '@/models/common/themeColors';\nimport PeriodChartHelper from './periodChartHelper';\n\nexport class TransactionChartHelper extends PeriodChartHelper {\n public currenciesService: CurrenciesPluginService = new CurrenciesPluginService(\n store,\n );\n\n public getDatasetsChart(\n chartRef: any,\n stats: any,\n chartMeasure: string,\n chartValue: string,\n themeColors: ThemeColors,\n ): any[] {\n const { chartSalesPrimary,\n chartSalesSecondary,\n chartRechargesPrimary,\n chartRechargesSecondary,\n chartGrayCold,\n } = themeColors;\n const blueGradient = chartRef.$refs.canvas\n .getContext('2d')\n .createLinearGradient(0, 0, 0, 500);\n blueGradient.addColorStop(0, hexToRGB(chartSalesPrimary, '1'));\n blueGradient.addColorStop(1, hexToRGB(chartSalesSecondary, '1'));\n\n const greenGradient = chartRef.$refs.canvas\n .getContext('2d')\n .createLinearGradient(0, 0, 0, 500);\n greenGradient.addColorStop(0, hexToRGB(chartRechargesPrimary, '1'));\n greenGradient.addColorStop(1, hexToRGB(chartRechargesSecondary, '1'));\n\n const greyGradient = chartRef.$refs.canvas\n .getContext('2d')\n .createLinearGradient(0, 0, 0, 500);\n greyGradient.addColorStop(0, hexToRGB(chartGrayCold, '1'));\n greyGradient.addColorStop(1, 'rgba(195,195,240,1)');\n\n const salesDataset = {\n label: i18n.t('sales'),\n backgroundColor: blueGradient,\n borderColor: chartSalesPrimary,\n data: this.convertToUnit(stats['sales' + chartMeasure], chartMeasure),\n };\n\n const salesCashDataset = {\n label: i18n.t('cash'),\n backgroundColor: blueGradient,\n borderColor: blueGradient,\n data: this.convertToUnit(stats['salesCash' + chartMeasure], chartMeasure),\n };\n\n const salesCashlessDataset = {\n label: i18n.t('cashless'),\n backgroundColor: greyGradient,\n data: this.convertToUnit(\n stats['salesCashless' + chartMeasure],\n chartMeasure,\n ),\n };\n\n const rechargesDataset = {\n label: i18n.t('recharges'),\n backgroundColor: greenGradient,\n borderColor: hexToRGB(chartRechargesPrimary, '1'),\n data: this.convertToUnit(stats['recharges' + chartMeasure], chartMeasure),\n };\n\n const datasets = {\n sales: {\n all: {\n ...salesDataset,\n ...chartRef.properties,\n },\n cash: {\n ...salesCashDataset,\n ...chartRef.properties,\n },\n cashless: {\n ...salesCashlessDataset,\n ...chartRef.properties,\n },\n },\n recharges: {\n ...rechargesDataset,\n ...chartRef.properties,\n },\n };\n\n if (chartValue === 'sales-and-recharges') {\n return [datasets.sales.all, datasets.recharges];\n }\n\n if (chartValue === 'sales') {\n return [datasets.sales.cash, datasets.sales.cashless];\n }\n\n if (chartValue === 'recharges') {\n return [datasets.recharges];\n }\n\n return [];\n }\n\n private convertToUnit(stats: number[], chartMeasure: string) {\n if (chartMeasure === 'Count') {\n return stats;\n }\n\n return stats.map((s) => this.currenciesService.parseBySelectedMerchant(s));\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('n-select-input',{attrs:{\"small\":true,\"items\":_vm.items,\"rules\":_vm.rules || [],\"value\":_vm.value,\"required\":_vm.required,\"clearable\":_vm.clearable},on:{\"change\":_vm.handleSelect}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MeasuresSelect.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MeasuresSelect.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./MeasuresSelect.vue?vue&type=template&id=481f5569&\"\nimport script from \"./MeasuresSelect.vue?vue&type=script&lang=ts&\"\nexport * from \"./MeasuresSelect.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"transactions-chart\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.loading),expression:\"loading\"}],staticClass:\"transactions-chart__overlay\"},[_c('v-progress-circular',{staticClass:\"circular-progress\",attrs:{\"indeterminate\":\"\",\"color\":_vm.$themeColors.chartPrimary}})],1),_c('bar-chart',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.chartType === 'bar' && !_vm.loading),expression:\"chartType === 'bar' && !loading\"}],ref:\"TransactionsStatsBarChart\"}),_c('line-chart',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.chartType === 'line' && !_vm.loading),expression:\"chartType === 'line' && !loading\"}],ref:\"TransactionsStatsLineChart\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionsStatsChart.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionsStatsChart.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TransactionsStatsChart.vue?vue&type=template&id=d308b48e&scoped=true&\"\nimport script from \"./TransactionsStatsChart.vue?vue&type=script&lang=ts&\"\nexport * from \"./TransactionsStatsChart.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TransactionsStatsChart.vue?vue&type=style&index=0&id=d308b48e&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d308b48e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('n-select-input',{attrs:{\"small\":true,\"items\":_vm.items,\"rules\":_vm.rules || [],\"value\":_vm.value,\"required\":_vm.required,\"clearable\":_vm.clearable},on:{\"change\":_vm.handleSelect}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionValueTypeSelect.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionValueTypeSelect.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TransactionValueTypeSelect.vue?vue&type=template&id=7233181e&\"\nimport script from \"./TransactionValueTypeSelect.vue?vue&type=script&lang=ts&\"\nexport * from \"./TransactionValueTypeSelect.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { Stats, TransactionsStats } from '@/models/transactions/transactionsStats';\n\nexport const initTransactionsStats = (t: TransactionsStats): void => {\n if (!t.stats) {\n t.stats = new Stats();\n }\n};\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionsStatsCard.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionsStatsCard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TransactionsStatsCard.vue?vue&type=template&id=77afd1fe&\"\nimport script from \"./TransactionsStatsCard.vue?vue&type=script&lang=ts&\"\nexport * from \"./TransactionsStatsCard.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TransactionsStatsCard.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}