{"version":3,"sources":["webpack:///./src/helpers/periodChartHelper.ts","webpack:///./src/helpers/storeHelper.ts","webpack:///./src/components/inputs/customs/DeviceSelect.vue?33a8","webpack:///./src/utils/object.utils.ts","webpack:///./src/components/Tooltip.vue?3be7","webpack:///./node_modules/cache-loader/dist/cjs.js","webpack:///./src/components/Tooltip.vue?643b","webpack:///./src/components/Tooltip.vue","webpack:///./node_modules/vue-chartjs/es/mixins/index.js","webpack:///./node_modules/vue-chartjs/es/BaseCharts.js","webpack:///./src/views/dashboards/DistributorKPIs.vue?c7cd","webpack:///./src/components/inputs/customs/DeviceSelect.vue?2076","webpack:///./src/components/inputs/customs/DeviceSelect.vue?4bbc","webpack:///./src/components/inputs/customs/DeviceSelect.vue","webpack:///./src/views/dashboards/DistributorKPIs.vue?2089","webpack:///./src/views/dashboards/DistributorKPIs.vue","webpack:///./src/services/cash-acceptance/cashAcceptance.service.ts","webpack:///./node_modules/core-js/internals/create-html.js","webpack:///./src/views/dashboards/DistributorKPIs.vue?a800","webpack:///./src/components/inputs/TextInput.vue?9aad","webpack:///./src/components/inputs/TextInput.vue?2ffe","webpack:///./src/components/inputs/TextInput.vue","webpack:///./src/components/SideSheet.vue?06e9","webpack:///./src/components/SideSheet.vue?0066","webpack:///./src/components/SideSheet.vue","webpack:///./node_modules/core-js/modules/es.string.link.js","webpack:///./src/helpers/kpisChartHelper.ts","webpack:///./src/components/inputs/TextInput.vue?a77f","webpack:///./node_modules/core-js/internals/string-html-forced.js","webpack:///./src/components/BackNavigationToolbar.vue?6b15","webpack:///./src/components/BackNavigationToolbar.vue?34ac","webpack:///./src/components/BackNavigationToolbar.vue?badb","webpack:///./src/components/BackNavigationToolbar.vue","webpack:///./src/components/inputs/customs/DeviceSelect.vue?971d","webpack:///./src/components/inputs/TextInput.vue?e01e","webpack:///./src/components/SideSheet.vue?4f32"],"names":["PeriodChartHelper","stats","chartPeriod","$dates","labelsChart","i","push","padStart","getChartWeekDates","startDate","getChartMonthDates","StoreHelper","store","dates","merchantId","isNebular","dispatch","MerchantsActions","SetSelectedMerchant","then","GetTransactionsTypesUsed","GetTransactionsMediaTypesUsed","GetTransactionsMediaSourceTypesUsed","GetMediaTypesUsed","merchants","getters","MerchantsGetters","GetMerchants","selectedMerchant","find","x","id","setTimezone","timeZone","Intl","DateTimeFormat","resolvedOptions","module","exports","isAnyPropertyDefined","obj","key","undefined","length","Date","render","_vm","this","_h","$createElement","_c","_self","attrs","tooltipPosition","scopedSlots","_u","fn","ref","on","_g","_b","_t","domProps","_s","tooltip","staticRenderFns","Tooltip","setTooltipPosition","top","bottom","left","right","Vue","__decorate","Prop","default","Component","component","generateChart","chartId","chartType","createElement","style","styles","class","cssClasses","width","height","props","type","String","Number","Object","plugins","Array","data","_chart","_plugins","methods","addPlugin","plugin","$data","generateLegend","renderChart","options","destroy","$refs","canvas","getContext","beforeDestroy","Bar","Doughnut","Line","staticClass","$auth","isAuthorized","roles","SuperAdmin","_e","getDistributorName","distributorId","slot","$event","toggleAsideFilters","$t","isFilterAtDefaultState","isSuperAdmin","_l","range","index","selected","togglePercentageRange","_v","count","label","toggleColorRange","colorClass","directives","name","rawName","value","applyingFilters","loadingTableData","expression","headers","machinesStats","disableItemsPerPage","item","serialNumber","goToDeviceDashboard","machineId","machineName","distributorName","operationMode","billsAccepted","billsRejected","billsRejectedDatabase","billsRejectedFunctionality","billsRejectedInlet","billsRejectedMisalignment","billsRejectedOthers","rejectionRate","toFixed","getPercentageTooltip","percentageBoxClassColor","filter","filtersChanged","showFilter","applyFilters","cancelFilters","resetFilters","posId","selectedPosLabel","$set","getMinIntervalDays","getMaxIntervalDays","handleCreatedDates","model","callback","$$v","operationModeFilters","posItems","isLoading","searchPos","selectedPos","loadPosList","changeSelectedPos","clearDevice","text","DeviceSelect","$store","PointsOfSaleGetters","GetPointsOfSaleNames","GetSelectedMerchant","code","$emit","querySelections","devicesList","latestMerchantId","retrievePosNamesList","PointOfSaleNameFilter","includePosWithoutDevice","PointsOfSaleActions","finally","res","el","deviceIdMatch","nameMatch","deviceId","toLowerCase","includes","trim","map","c","Watch","DistributorKPIs","DistributorKPIsFilter","DatesRange","KpisChartHelper","min","max","Infinity","JSON","stringify","lastAppliedFilter","switchingToMachine","loadingChartData","initHeaders","initOperationModeFilters","KpisActions","Clear","initFilters","getDistributorStats","getMachinesStats","renderBillsChart","BillsChart","UserGetters","User","KpisGetters","GetFilter","user","email","GetPosLabel","generalConstants","ALL_DISTRIBUTORS_MERCHANT_ID","datesRange","endDate","role","distributors","KPI_MIN_INTERVAL_DAYS","KPI_MAX_INTERVAL_DAYS","initDateRange","storedFilter","parse","selectedPosId","filterPosLabel","selectedOperationMode","getMerchantNow","isAfter","SetFilter","posLabel","defaultDatesRange","subtractDays","KPI_DEFAULT_INTERVAL_DAYS","$spinner","showSpinner","cashAcceptanceService","getStatsOfDateIntervalOfDistributor","result","distributorStats","catch","$toaster","showError","removeSpinner","getMachinesStatsOfDateIntervalOfDistributor","serverMachineStats","forEach","computeRanges","updateAppliedFilters","filterMachineStatsByPercentageRanges","filterMachineStatsByColorRanges","selectedRanges","colorRanges","machineStats","some","percentageRanges","isAllDistributorsSelected","storeHelper","setSelectedMerchant","$router","Routes","Device","params","r","toString","arg","sortable","chartRef","disableAnimation","rejectionRatesDatabase","rejectionRatesFunctionality","rejectionRatesInlet","rejectionRatesMisalignment","rejectionRatesOthers","rejectionRatesTotal","hasData","rate","labels","chartHelper","getLabelsChartForStatsInterval","datasets","borderColor","backgroundColor","borderWidth","hitRadius","pointRadius","fill","responsive","maintainAspectRatio","legend","position","boxWidth","fontSize","scales","xAxes","yAxes","ticks","beginAtZero","display","scaleLabel","labelString","tooltips","callbacks","tooltipItem","chartData","yLabel","datasetIndex","animation","duration","annotation","drawTime","annotations","xScaleID","yScaleID","yMin","yMax","Ref","deep","components","BackNavigationToolbar","Card","CardContainer","MerchantsViewInnerMenu","MerchantsSelect","RadioGroup","SideSheet","TextInput","DateTimeRangePicker","CashAcceptanceService","axios","get","endpoints","LARGE_TIMEOUT_AXIOS_CONFIG","period","StartDate","EndDate","PosId","OperationMode","config","keys","timeout","LARGE_TIMEOUT_AXIOS","getDistributorId","uncurryThis","requireObjectCoercible","quot","replace","string","tag","attribute","S","p1","fluid","hideLabel","compact","rules","placeholder","required","readonly","disabled","appendIcon","hideDetails","prependInnerIcon","handleInput","handleChange","handleBlur","handleFocus","input","emit","indexOf","_k","keyCode","applyByEnterKey","show","cancel","noOp","nativeOn","apply","arguments","isFilterActive","reset","filterHasDefaults","filterAtDefaultState","hasDropdownsOpen","document","querySelectorAll","hasDatepickersOpen","Button","$","createHTML","forcedStringHTMLMethod","target","proto","forced","link","url","getChartDatesByOffset","fails","METHOD_NAME","test","split","goToPage","title","go"],"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,GACgB,cAAhBA,GACgB,kBAAhBA,EAEAE,EAAcD,EAAOK,kBAAkBP,EAAMQ,WAE7B,eAAhBP,GACgB,mBAAhBA,IAEAE,EAAcD,EAAOO,mBAAmBT,EAAMQ,YAGhD,OAAOL,M,2ICjBEO,EAAb,yGACS,SACLC,EACAC,EACAC,GAC0B,IAA1BC,EAA0B,wDAE1BH,EAAMI,SAASC,OAAiBC,oBAAqBJ,GAAYK,MAAK,WAChEJ,IACFH,EAAMI,SAASC,OAAiBG,0BAChCR,EAAMI,SAASC,OAAiBI,+BAChCT,EAAMI,SAASC,OAAiBK,qCAChCV,EAAMI,SAASC,OAAiBM,uBAGpC,IAAMC,EAAYZ,EAAMa,QAAQC,OAAiBC,cAC3CC,EAAmBJ,EAAUK,MAAK,SAACC,GAAD,OAAOA,EAAEC,KAAOjB,KAC3B,qBAArBc,EACJf,EAAMmB,YAAYJ,EAAi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EAAqB,gBADzCjR,QACoBiR,W0BjB2X,I,wBCQ5YhR,EAAY,eACd,EACAhC,EACAoB,GACA,EACA,KACA,WACA,MAIa,OAAAY,E,2CCnBf,W,kCCAA,W,kCCAA","file":"js/chunk-0cd7f1c5.3c62f841.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","import { Store } from 'vuex';\nimport { MerchantsActions, MerchantsGetters } from '@/store/modules/merchants/enums';\nimport { DatesPluginService } from '@/services/common/dates.service';\n\nexport class StoreHelper {\n public setSelectedMerchant(\n store: Store,\n dates: DatesPluginService,\n merchantId: string,\n isNebular: boolean = false,\n ): void {\n store.dispatch(MerchantsActions.SetSelectedMerchant, merchantId).then(() => {\n if (isNebular) {\n store.dispatch(MerchantsActions.GetTransactionsTypesUsed);\n store.dispatch(MerchantsActions.GetTransactionsMediaTypesUsed);\n store.dispatch(MerchantsActions.GetTransactionsMediaSourceTypesUsed);\n store.dispatch(MerchantsActions.GetMediaTypesUsed);\n }\n });\n const merchants = store.getters[MerchantsGetters.GetMerchants];\n const selectedMerchant = merchants.find((x) => x.id === merchantId);\n (typeof selectedMerchant !== 'undefined')\n ? dates.setTimezone(selectedMerchant.timeZone)\n : dates.setTimezone(Intl.DateTimeFormat().resolvedOptions().timeZone);\n }\n}\n","// 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 const isAnyPropertyDefined = (obj: any): boolean => {\n for (const key in obj) {\n if (obj[key] !== null && obj[key] !== undefined ) {\n if (typeof obj[key] === 'string' && obj[key] !== '' && obj[key].length > 0 ) {\n return true;\n }\n\n if (obj[key] instanceof Date || typeof obj[key] === 'number') {\n return true;\n }\n\n if (typeof obj[key] === 'boolean' && obj[key] === true ) {\n return true;\n }\n\n if (typeof obj[key] === 'object' && isAnyPropertyDefined(obj[key])) {\n return true;\n }\n }\n }\n return false;\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-tooltip',{attrs:{\"top\":_vm.tooltipPosition === 'top',\"bottom\":_vm.tooltipPosition === 'bottom',\"left\":_vm.tooltipPosition === 'left',\"right\":_vm.tooltipPosition === 'right',\"max-width\":\"max-width\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('span',_vm._g(_vm._b({},'span',attrs,false),on),[_vm._t(\"default\")],2)]}}],null,true)},[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.tooltip)}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { RawLocation } from 'vue-router';\n\n@Component\nexport default class BackNavigationToolbar extends Vue {\n @Prop()\n public title!: string;\n @Prop()\n public link!: RawLocation;\n\n @Prop({ default: true })\n public allowBack!: boolean;\n\n private goToPage() {\n if (this.link) {\n this.$router.push(this.link);\n } else {\n this.$router.go(-1);\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!./Tooltip.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!./Tooltip.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Tooltip.vue?vue&type=template&id=b9512e8c&scoped=true&\"\nimport script from \"./Tooltip.vue?vue&type=script&lang=ts&\"\nexport * from \"./Tooltip.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 \"b9512e8c\",\n null\n \n)\n\nexport default component.exports","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('section',{staticClass:\"distributorkpis\"},[_c('portal',{attrs:{\"to\":\"submenu\"}},[(_vm.$auth.isAuthorized([_vm.$auth.roles.SuperAdmin]))?_c('n-merchant-view-inner-menu',{attrs:{\"innerMenuName\":'inner-menu'}}):_vm._e()],1),_c('portal',{attrs:{\"to\":\"switch-merchants\"}},[_c('n-merchants-select')],1),_c('div',[(_vm.distributorId)?_c('n-back-navigation-toolbar',{attrs:{\"title\":_vm.getDistributorName(_vm.distributorId)}},[_c('div',{attrs:{\"slot\":\"actions\"},slot:\"actions\"},[_c('div',{staticClass:\"toolbar__filters\"},[_c('span',{staticClass:\"toolbar__filter\",on:{\"click\":function($event){return _vm.toggleAsideFilters(true)}}},[_c('n-tooltip',{attrs:{\"tooltip\":_vm.$t('toolbar-table.filter')}},[_c('i',{staticClass:\"v-icon mdi\",class:{\n 'mdi-filter toolbar__filter--active': !_vm.isFilterAtDefaultState,\n 'mdi-filter-outline': _vm.isFilterAtDefaultState,\n },attrs:{\"aria-hidden\":\"true\"}})])],1)])])]):_vm._e(),_c('n-card-container',[_c('n-card',{attrs:{\"type\":\"full\",\"title\":\"kpis\",\"title-absolute\":true}},[_c('div',{staticClass:\"card__chart\"},[_c('line-chart',{ref:\"BillsChart\",staticClass:\"card__linechart\"})],1)]),_c('n-card',{attrs:{\"type\":\"full\",\"title\":\"bills-kpis-machines-list\",\"title-absolute\":true}},[(_vm.isSuperAdmin())?_c('v-chip-group',{staticClass:\"m-l-auto\",attrs:{\"multiple\":\"\"}},_vm._l((_vm.percentageRanges),function(range,index){return _c('v-chip',{key:index,class:{ 'chip--notactive': !range.selected },on:{\"click\":function($event){return _vm.togglePercentageRange(range)}}},[_vm._v(\" \"+_vm._s(range.count + ' (' + range.label + ')')+\" \")])}),1):_c('v-chip-group',{staticClass:\"m-l-auto\",attrs:{\"multiple\":\"\"}},_vm._l((_vm.colorRanges),function(range,index){return _c('v-chip',{key:index,class:{ 'chip--notactive': !range.selected },on:{\"click\":function($event){return _vm.toggleColorRange(range)}}},[_c('span',{staticClass:\"dot m-r-5\",class:range.colorClass}),_vm._v(_vm._s(range.count)+\" \")])}),1),_c('div',{staticClass:\"n-table list-table\"},[_c('v-data-table',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.applyingFilters && !_vm.loadingTableData),expression:\"!applyingFilters && !loadingTableData\"}],staticClass:\"n-table__inner\",attrs:{\"dense\":\"\",\"fixed-header\":\"\",\"headers\":_vm.headers,\"items\":_vm.machinesStats,\"footer-props\":{\n disableItemsPerPage: true,\n },\"must-sort\":\"\",\"sort-by\":\"rejectionRate\",\"sort-desc\":\"\"},scopedSlots:_vm._u([{key:\"item\",fn:function(ref){\n var item = ref.item;\nreturn [_c('tr',{key:item.serialNumber},[_c('td',{staticClass:\"n-table__clickable-cell\",on:{\"click\":function($event){return _vm.goToDeviceDashboard(item.machineId, item.distributorId)}}},[_vm._v(\" \"+_vm._s(item.machineName)+\" \")]),(_vm.isAllDistributorsSelected)?_c('td',[_vm._v(\" \"+_vm._s(item.distributorName)+\" \")]):_vm._e(),_c('td',[_vm._v(_vm._s(item.serialNumber))]),_c('td',[_vm._v(_vm._s(_vm.$t('service-manager.operation.' + item.operationMode )))]),_c('td',[_vm._v(_vm._s(item.billsAccepted))]),(_vm.isSuperAdmin())?_c('td',[_vm._v(_vm._s(item.billsRejected))]):_vm._e(),(_vm.isSuperAdmin())?_c('td',[_vm._v(_vm._s(item.billsRejectedDatabase))]):_vm._e(),(_vm.isSuperAdmin())?_c('td',[_vm._v(_vm._s(item.billsRejectedFunctionality))]):_vm._e(),(_vm.isSuperAdmin())?_c('td',[_vm._v(_vm._s(item.billsRejectedInlet))]):_vm._e(),(_vm.isSuperAdmin())?_c('td',[_vm._v(_vm._s(item.billsRejectedMisalignment))]):_vm._e(),(_vm.isSuperAdmin())?_c('td',[_vm._v(_vm._s(item.billsRejectedOthers))]):_vm._e(),(_vm.isSuperAdmin())?_c('td',[_vm._v(_vm._s(item.rejectionRate.toFixed(0)))]):_vm._e(),_c('td',[(item.rejectionRate > 0 && _vm.isSuperAdmin())?_c('n-tooltip',{attrs:{\"tooltip\":_vm.getPercentageTooltip(item)}},[_c('span',{staticClass:\"dot\",class:_vm.percentageBoxClassColor(item)})]):_vm._e(),(item.rejectionRate > 0 && !_vm.isSuperAdmin())?_c('span',{staticClass:\"dot\",class:_vm.percentageBoxClassColor(item)}):_c('span',{staticClass:\"dot\"})],1)])]}}])})],1)],1)],1),_c('n-side-sheet',{attrs:{\"filter\":_vm.filter,\"filter-at-default-state\":_vm.isFilterAtDefaultState,\"filter-has-defaults\":true,\"filters-changed\":_vm.filtersChanged,\"show\":_vm.showFilter},on:{\"apply\":function($event){return _vm.applyFilters()},\"cancel\":function($event){return _vm.cancelFilters()},\"reset\":function($event){return _vm.resetFilters()}}},[_c('div',{attrs:{\"slot\":\"filters\"},slot:\"filters\"},[_c('n-device-select',{attrs:{\"label\":\"machine\",\"selected-pos\":_vm.filter.posId,\"selected-pos-label\":_vm.selectedPosLabel},on:{\"update:selectedPos\":function($event){return _vm.$set(_vm.filter, \"posId\", $event)},\"update:selected-pos\":function($event){return _vm.$set(_vm.filter, \"posId\", $event)},\"update:selectedPosLabel\":function($event){_vm.selectedPosLabel=$event},\"update:selected-pos-label\":function($event){_vm.selectedPosLabel=$event}}}),_c('h3',{staticClass:\"distributorkpis__title mt-6\"},[_vm._v(_vm._s(_vm.$t('time-period')))]),_c('n-datetimerange-picker',{attrs:{\"labelFrom\":\"dateFrom\",\"labelTo\":\"dateTo\",\"allow-after-today\":false,\"only-date\":true,\"minIntervalDays\":_vm.getMinIntervalDays(),\"maxIntervalDays\":_vm.getMaxIntervalDays()},on:{\"inputDates\":_vm.handleCreatedDates},model:{value:(_vm.filter.datesRange),callback:function ($$v) {_vm.$set(_vm.filter, \"datesRange\", $$v)},expression:\"filter.datesRange\"}}),_c('h3',{staticClass:\"distributorkpis__title mt-6\"},[_vm._v(_vm._s(_vm.$t('machine-mode-operation')))]),_c('n-radio-group',{staticClass:\"p-l-5\",attrs:{\"items\":_vm.operationModeFilters,\"mandatory\":true},model:{value:(_vm.filter.operationMode),callback:function ($$v) {_vm.$set(_vm.filter, \"operationMode\", $$v)},expression:\"filter.operationMode\"}})],1)])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-autocomplete',{staticClass:\"autocomplete\",attrs:{\"items\":_vm.posItems,\"label\":_vm.$t(_vm.label),\"loading\":_vm.isLoading,\"hide-no-data\":\"\",\"hide-details\":\"\",\"clearable\":\"\",\"return-object\":\"\",\"item-value\":\"code\",\"search-input\":_vm.searchPos,\"value\":_vm.selectedPos},on:{\"update:searchInput\":function($event){_vm.searchPos=$event},\"update:search-input\":function($event){_vm.searchPos=$event},\"focus\":_vm.loadPosList,\"change\":_vm.changeSelectedPos,\"click:clear\":_vm.clearDevice},scopedSlots:_vm._u([{key:\"selection\",fn:function(data){return [_vm._v(\" \"+_vm._s(data.item.text)+\" \")]}}])})}\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!./DeviceSelect.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!./DeviceSelect.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DeviceSelect.vue?vue&type=template&id=50927f6e&\"\nimport script from \"./DeviceSelect.vue?vue&type=script&lang=ts&\"\nexport * from \"./DeviceSelect.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DeviceSelect.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","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!./DistributorKPIs.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!./DistributorKPIs.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DistributorKPIs.vue?vue&type=template&id=0ec69577&scoped=true&\"\nimport script from \"./DistributorKPIs.vue?vue&type=script&lang=ts&\"\nexport * from \"./DistributorKPIs.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DistributorKPIs.vue?vue&type=style&index=0&id=0ec69577&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 \"0ec69577\",\n null\n \n)\n\nexport default component.exports","import axios from 'axios';\nimport store from '@/store';\nimport * as endpoints from '@/services/endpoints.service';\nimport { MerchantsGetters } from '@/store/modules/merchants/enums';\nimport { Period } from '@/models/common/period';\nimport { generalConstants } from '@/consts/general';\n\nclass CashAcceptanceService {\n public getStatsOfDateIntervalByMachine(\n distributorId: string,\n machineId: string,\n startDate?: string,\n endDate?: string,\n ) {\n return axios.get(\n endpoints.CASH_ACCEPTANCE_STATS_BY_MACHINE(distributorId, machineId, startDate ?? '', endDate ?? ''),\n generalConstants.LARGE_TIMEOUT_AXIOS_CONFIG,\n );\n }\n\n public getStatsOfPeriodByMachine(distributorId: string, machineId: string, period: Period) {\n return axios.get(\n endpoints.CASH_ACCEPTANCE_STATS_OF_PERIOD_BY_MACHINE(distributorId, machineId, period),\n generalConstants.LARGE_TIMEOUT_AXIOS_CONFIG,\n );\n }\n\n public getStatsOfDateIntervalOfDistributor(\n startDate?: string,\n endDate?: string,\n posId?: string,\n operationMode?: number,\n ) {\n const params: any = {};\n\n if (!!startDate && startDate !== null && startDate.toString() !== '0001-01-01T00:00:00') {\n params.StartDate = startDate;\n }\n\n if (!!endDate && endDate !== null && endDate.toString() !== '0001-01-01T00:00:00') {\n params.EndDate = endDate;\n }\n\n if (posId) {\n params.PosId = posId;\n }\n\n if (operationMode === 0 || operationMode === 1) {\n params.OperationMode = operationMode;\n }\n\n const config = Object.keys(params).length > 0\n ? { params, timeout: generalConstants.LARGE_TIMEOUT_AXIOS }\n : generalConstants.LARGE_TIMEOUT_AXIOS_CONFIG;\n\n return axios.get(\n endpoints.CASH_ACCEPTANCE_STATS_BY_DISTRIBUTOR(this.getDistributorId()),\n config,\n );\n }\n\n public getStatsOfPeriodOfDistributor(period: Period, posId?: string, operationMode?: number) {\n const params: any = {};\n\n if (posId) {\n params.PosId = posId;\n }\n\n if (operationMode === 0 || operationMode === 1) {\n params.OperationMode = operationMode;\n }\n\n const config = Object.keys(params).length > 0\n ? { params, timeout: generalConstants.LARGE_TIMEOUT_AXIOS }\n : generalConstants.LARGE_TIMEOUT_AXIOS_CONFIG;\n\n return axios.get(\n endpoints.CASH_ACCEPTANCE_STATS_OF_PERIOD_BY_DISTRIBUTOR(this.getDistributorId(), period),\n config,\n );\n }\n\n public getMachinesStatsOfDateIntervalOfDistributor(\n startDate?: string,\n endDate?: string,\n posId?: string,\n operationMode?: number) {\n const params: any = {};\n\n if (!!startDate && startDate !== null && startDate.toString() !== '0001-01-01T00:00:00') {\n params.StartDate = startDate;\n }\n\n if (!!endDate && endDate !== null && endDate.toString() !== '0001-01-01T00:00:00') {\n params.EndDate = endDate;\n }\n\n if (posId) {\n params.PosId = posId;\n }\n\n if (operationMode === 0 || operationMode === 1) {\n params.OperationMode = operationMode;\n }\n\n const config = Object.keys(params).length > 0\n ? { params, timeout: generalConstants.LARGE_TIMEOUT_AXIOS }\n : generalConstants.LARGE_TIMEOUT_AXIOS_CONFIG;\n\n return axios.get(\n endpoints.MACHINES_CASH_ACCEPTANCE_STATS_BY_DISTRIBUTOR(this.getDistributorId()),\n config,\n );\n }\n\n public getMachinesStatsOfPeriodOfDistributor(period: Period, posId?: string, operationMode?: number) {\n const params: any = {};\n\n if (posId) {\n params.PosId = posId;\n }\n\n if (operationMode === 0 || operationMode === 1) {\n params.OperationMode = operationMode;\n }\n\n const config = Object.keys(params).length > 0\n ? { params, timeout: generalConstants.LARGE_TIMEOUT_AXIOS }\n : generalConstants.LARGE_TIMEOUT_AXIOS_CONFIG;\n\n return axios.get(\n endpoints.MACHINES_CASH_ACCEPTANCE_STATS_OF_PERIOD_BY_DISTRIBUTOR(this.getDistributorId(), period),\n config,\n );\n }\n\n private getDistributorId(): string {\n return store.getters[MerchantsGetters.GetSelectedMerchant];\n }\n}\n\nexport const cashAcceptanceService = new CashAcceptanceService();\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\n\nvar quot = /\"/g;\nvar replace = uncurryThis(''.replace);\n\n// `CreateHTML` abstract operation\n// https://tc39.es/ecma262/#sec-createhtml\nmodule.exports = function (string, tag, attribute, value) {\n var S = toString(requireObjectCoercible(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + replace(toString(value), quot, '"') + '\"';\n return p1 + '>' + S + '';\n};\n","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!./DistributorKPIs.vue?vue&type=style&index=0&id=0ec69577&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-text-field',{staticClass:\"input\",class:{ 'input__fluid': _vm.fluid , 'input__hidelabel': _vm.hideLabel, 'input__compact': _vm.compact},attrs:{\"rules\":_vm.rules || [],\"label\":_vm.labelString,\"placeholder\":_vm.$t(_vm.placeholder),\"required\":_vm.required,\"value\":_vm.value,\"type\":_vm.type,\"readonly\":_vm.readonly,\"disabled\":_vm.disabled,\"append-icon\":_vm.appendIcon,\"hide-details\":_vm.hideDetails,\"prepend-inner-icon\":_vm.prependInnerIcon},on:{\"input\":_vm.handleInput,\"change\":_vm.handleChange,\"blur\":_vm.handleBlur,\"focus\":_vm.handleFocus}})}\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!./TextInput.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!./TextInput.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TextInput.vue?vue&type=template&id=ad9ad69c&\"\nimport script from \"./TextInput.vue?vue&type=script&lang=ts&\"\nexport * from \"./TextInput.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TextInput.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.show)?_c('div',{staticClass:\"overlay\",attrs:{\"tabindex\":\"0\"},on:{\"keydown\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.applyByEnterKey()},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }_vm.show ? _vm.cancel() : _vm.noOp()}]}}):_vm._e(),_c('aside',{staticClass:\"aside\",class:{'aside--hide': !_vm.show },attrs:{\"tabindex\":\"1\"},on:{\"keydown\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.applyByEnterKey()},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.cancel()}]}},[_c('div',{staticClass:\"overflow-auto p-l-5 p-r-10\"},[_vm._t(\"filters\")],2),_c('div',{staticClass:\"m-t-30 p-l-5\"},[_c('div',{staticClass:\"aside__buttons\"},[_c('n-button',{staticClass:\"aside__button m-r-20 m-b-20\",attrs:{\"secondary\":true,\"label\":\"cancel\"},nativeOn:{\"click\":function($event){return _vm.cancel.apply(null, arguments)}}}),_c('n-button',{staticClass:\"aside__button m-b-20\",attrs:{\"label\":\"filter\",\"disabled\":!_vm.filtersChanged},nativeOn:{\"click\":function($event){return _vm.apply.apply(null, arguments)}}})],1),_c('div',{staticClass:\"aside__reset\"},[_c('a',{staticClass:\"d-block text-center p-t-5 m-b-25\",class:{'aside__buttons--disabled': !_vm.isFilterActive},on:{\"click\":_vm.reset}},[_c('i',{staticClass:\"v-icon mdi mdi-filter-off-outline\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" \"+_vm._s(_vm.$t('reset-filters'))+\" \")])])])])])}\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!./SideSheet.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!./SideSheet.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SideSheet.vue?vue&type=template&id=74b1f1e2&scoped=true&\"\nimport script from \"./SideSheet.vue?vue&type=script&lang=ts&\"\nexport * from \"./SideSheet.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./SideSheet.vue?vue&type=style&index=0&id=74b1f1e2&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 \"74b1f1e2\",\n null\n \n)\n\nexport default component.exports","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.link` method\n// https://tc39.es/ecma262/#sec-string.prototype.link\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, {\n link: function link(url) {\n return createHTML(this, 'a', 'href', url);\n }\n});\n","import PeriodChartHelper from './periodChartHelper';\n\nexport class KpisChartHelper extends PeriodChartHelper {\n public getLabelsChartForStatsInterval(stats: any, $dates: any): string[] {\n let labelsChart: string[] = [];\n\n labelsChart = $dates.getChartDatesByOffset(stats.startDate, stats.stats.keys);\n\n return labelsChart;\n }\n}\n","// 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\"};","var fails = require('../internals/fails');\n\n// check the existence of a method, lowercase\n// of a tag and escaping quotes in arguments\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n var test = ''[METHOD_NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n });\n};\n","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!./BackNavigationToolbar.vue?vue&type=style&index=0&id=8a8411b2&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"toolbar\"},[_c('div',{staticClass:\"toolbar__title\"},[(_vm.allowBack)?_c('i',{staticClass:\"icon-arrow-left\",on:{\"click\":function($event){return _vm.goToPage()}}}):_vm._e(),_c('span',[_vm._v(_vm._s(_vm.title))])]),_c('div',{staticClass:\"toolbar__actions\"},[_vm._t(\"actions\")],2)])}\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!./BackNavigationToolbar.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!./BackNavigationToolbar.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BackNavigationToolbar.vue?vue&type=template&id=8a8411b2&scoped=true&\"\nimport script from \"./BackNavigationToolbar.vue?vue&type=script&lang=ts&\"\nexport * from \"./BackNavigationToolbar.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./BackNavigationToolbar.vue?vue&type=style&index=0&id=8a8411b2&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 \"8a8411b2\",\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!./DeviceSelect.vue?vue&type=style&index=0&lang=scss&\"","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!./TextInput.vue?vue&type=style&index=0&lang=scss&\"","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!./SideSheet.vue?vue&type=style&index=0&id=74b1f1e2&lang=scss&scoped=true&\""],"sourceRoot":""}