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CAAkC,CAACM,MAAM,CAAC,cAAcP,EAAInB,eAAe,IAAImB,EAAIW,KAAKX,EAAIQ,GAAG,KAAuB,WAAjBR,EAAIM,SAAuBL,EAAG,MAAM,CAACG,YAAY,iBAAiB,CAACH,EAAG,yCAAyC,CAACM,MAAM,CAAC,cAAcP,EAAInB,eAAe,GAAGmB,EAAIW,MAAM,GAAGX,EAAIW,IAC3jC,EACIC,EAAkB,E","sources":["webpack:///./resources/area/web/default/js/components/catalog/ProductListToolbar.vue?ea23","webpack:///./resources/area/web/default/js/components/catalog/ProductListToolbar.vue","webpack:///./resources/area/web/default/js/components/catalog/ProductListToolbar.vue?161c","webpack:///./resources/area/web/default/js/components/catalog/ProductListToolbar.vue?1566"],"sourcesContent":["\nimport {Component, Vue, Prop} from 'vue-property-decorator';\nimport ServiceContainer from '@flashpointbv/solar-service-container';\n\n@Component({\n  name: 'product-list-toolbar',\n  components: ServiceContainer().getComponents()\n})\n\nexport default class extends Vue {\n  @Prop({required: true}) readonly dataSource: string;\n  @Prop({required: true}) readonly position: string;\n\n  private get pageProductCount(): number {\n    return this.$store.getters[`${this.dataSource}/totalItemCount`];\n  }\n\n  private get activeFilterCount(): number {\n    return (this.$store.getters[`${this.dataSource}/activeFilters`].map(\n        f => f.options.filter(o => o.active).length\n    ).reduce((a, b) => a + b, 0) || 0);\n  }\n}\n","import { render, staticRenderFns } from \"./ProductListToolbar.vue?vue&type=template&id=923ee994&\"\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-6.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-6.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.pageProductCount > 0)?_c('div',{staticClass:\"grid-x grid-padding-x\",class:`toolbar__${_vm.position}`},[(_vm.position === 'top')?[_c('div',{staticClass:\"small-24 cell show-for-small-only toolbar-small\"},[_c('div',{staticClass:\"toolbar__top-container\"},[_c('button',{staticClass:\"off-canvas__filter_toggle\",attrs:{\"data-toggle\":\"offCanvas-filter\"}},[_vm._v(\"\\n          \"+_vm._s(_vm.$t('Filter'))+\"\\n          \"),(_vm.activeFilterCount)?_c('span',[_vm._v(_vm._s(_vm.activeFilterCount))]):_vm._e()]),_vm._v(\" \"),_c('catalog-product-list-toolbar-sort-select',{attrs:{\"data-source\":_vm.dataSource}})],1)]),_vm._v(\" \"),_c('div',{staticClass:\"small-12 medium-12 between-medium-small-8 cell hide-for-small-only\"},[_c('catalog-product-top-filter-list',{attrs:{\"data-source\":_vm.dataSource}})],1)]:_vm._e(),_vm._v(\" \"),(_vm.position === 'bottom')?_c('div',{staticClass:\"small-24 cell\"},[_c('catalog-product-list-toolbar-paginator',{attrs:{\"data-source\":_vm.dataSource}})],1):_vm._e()],2):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"],"names":["Vue","pageProductCount","this","$store","getters","dataSource","activeFilterCount","map","f","options","filter","o","active","length","reduce","a","b","Prop","required","Component","name","components","getComponents","render","_vm","_c","_self","_setupProxy","staticClass","class","position","attrs","_v","_s","$t","_e","staticRenderFns"],"sourceRoot":""}