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YAAYiB,EAAIS,KAAKT,EAAIO,GAAG,KAAmB,QAAbP,EAAIM,KAAgBL,EAAG,MAAM,CAACI,MAAM,YAAYL,EAAIM,QAAQ,CAACL,EAAG,UAAU,CAACG,YAAY,qCAAqC,CAACH,EAAG,SAAS,CAACG,YAAY,mBAAmBM,MAAM,CAAC,cAAc,qBAAqB,CAACV,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIhB,GAAG,gBAAgBgB,EAAIO,GAAG,KAAKN,EAAG,OAAO,CAACG,YAAY,sCAAsC,CAACJ,EAAIO,GAAG,WAAWP,EAAIQ,GAAGR,EAAIjB,kBAAkB,YAAYiB,EAAIO,GAAG,KAAKN,EAAG,MAAM,CAACG,YAAY,aAAa,CAACH,EAAG,mCAAmC,CAACS,MAAM,CAAC,cAAcV,EAAIpB,WAAW,aAAaoB,EAAIW,aAAaX,EAAIO,GAAG,KAAKN,EAAG,2CAA2C,CAACS,MAAM,CAAC,cAAcV,EAAIpB,eAAe,KAAKoB,EAAIS,KAAKT,EAAIO,GAAG,KAAmB,WAAbP,EAAIM,KAAmBL,EAAG,MAAM,CAACI,MAAM,YAAYL,EAAIM,QAAQ,CAACL,EAAG,yCAAyC,CAACS,MAAM,CAAC,cAAcV,EAAIpB,eAAe,GAAGoB,EAAIS,OAAOT,EAAIS,IACjrC,EACIG,EAAkB,E","sources":["webpack:///./resources/area/web/default/js/components/catalog/toolbar/ProductListToolbar.vue?4e64","webpack:///./resources/area/web/default/js/components/catalog/toolbar/ProductListToolbar.vue","webpack:///./resources/area/web/default/js/components/catalog/toolbar/ProductListToolbar.vue?9678","webpack:///./resources/area/web/default/js/components/catalog/toolbar/ProductListToolbar.vue?f5a2"],"sourcesContent":["\nimport {Component, Vue, Prop} from 'vue-property-decorator';\nimport ServiceContainer from '@flashpointbv/solar-service-container';\n\n@Component({\n name: 'catalog-product-list-toolbar',\n components: ServiceContainer().getComponents(),\n})\nexport default class extends Vue {\n @Prop({required: false}) readonly blockId: number;\n @Prop({required: true}) readonly dataSource: string;\n @Prop({default: 'top'}) readonly type: string;\n @Prop({default: () => []}) private pageSizes: Array;\n\n private get totalProductCount(): number {\n return this.$store.getters[`${this.dataSource}/totalItemCount`];\n }\n\n private get currentPage(): number {\n return this.$store.getters[`${this.dataSource}/currentPage`];\n }\n\n private get pageSize(): number {\n return this.$store.getters[`${this.dataSource}/pageSize`];\n }\n\n private get pageProductCount(): string {\n const fromProducts = this.currentPage > 1 ? (((this.pageSize * this.currentPage) + 1) - this.pageSize) : 1;\n const toProducts = (this.pageSize * this.currentPage) > this.totalProductCount ? this.totalProductCount : (this.pageSize * this.currentPage);\n return `${fromProducts}-${toProducts} ${this.$t('category-of')} ${this.totalProductCount}`;\n }\n\n private mounted(): void {\n const placeholder = document.getElementById('toolbarPlaceholder');\n if (placeholder) {\n placeholder.style.visibility = 'hidden';\n }\n }\n}\n","import { render, staticRenderFns } from \"./ProductListToolbar.vue?vue&type=template&id=0626d5e8&\"\nimport script from \"./ProductListToolbar.vue?vue&type=script&lang=ts&\"\nexport * from \"./ProductListToolbar.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 mod from \"-!../../../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-26.use[0]!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProductListToolbar.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-26.use[0]!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProductListToolbar.vue?vue&type=script&lang=ts&\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_vm.totalProductCount > 0)?_c('section',{staticClass:\"catalog-category__toolbar\",class:`--${_vm.type}`},[(_vm.type === 'top')?_c('span',{staticClass:\"product__count-mobile show-for-small-only\"},[_vm._v(\"\\n \"+_vm._s(_vm.pageProductCount)+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.type === 'top')?_c('div',{class:`toolbar__${_vm.type}`},[_c('section',{staticClass:\"mobile-filter show-for-small-only\"},[_c('button',{staticClass:\"--button --small\",attrs:{\"data-toggle\":\"offCanvas-filter\"}},[_vm._v(_vm._s(_vm.$t('Filter')))])]),_vm._v(\" \"),_c('span',{staticClass:\"product__count hide-for-small-only\"},[_vm._v(\"\\n \"+_vm._s(_vm.pageProductCount)+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"--actions\"},[_c('catalog-product-list-size-select',{attrs:{\"data-source\":_vm.dataSource,\"page-sizes\":_vm.pageSizes}}),_vm._v(\" \"),_c('catalog-product-list-toolbar-sort-select',{attrs:{\"data-source\":_vm.dataSource}})],1)]):_vm._e(),_vm._v(\" \"),(_vm.type === 'bottom')?_c('div',{class:`toolbar__${_vm.type}`},[_c('catalog-product-list-toolbar-paginator',{attrs:{\"data-source\":_vm.dataSource}})],1):_vm._e()]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"],"names":["Vue","totalProductCount","this","$store","getters","dataSource","currentPage","pageSize","pageProductCount","$t","mounted","placeholder","document","getElementById","style","visibility","Prop","required","default","Array","Component","name","components","getComponents","render","_vm","_c","_self","_setupProxy","staticClass","class","type","_v","_s","_e","attrs","pageSizes","staticRenderFns"],"sourceRoot":""}