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GAAQ,OAAOpB,EAAIV,mBAAmBC,EAAQC,EAAO,MAAM,GAAE,KAAI,IAC/vB,EACI6B,EAAkB,E","sources":["webpack:///./resources/area/web/default/js/components/catalog/ProductActiveFilterList.vue?b87a","webpack:///./resources/area/web/default/js/components/catalog/ProductActiveFilterList.vue","webpack:///./resources/area/web/default/js/components/catalog/ProductActiveFilterList.vue?40c3","webpack:///./resources/area/web/default/js/components/catalog/ProductActiveFilterList.vue?3cf2"],"sourcesContent":["\nimport {Component, Vue, Prop} from 'vue-property-decorator';\n\n@Component({\n  name: 'product-list-active-filter-list'\n})\n\nexport default class extends Vue {\n  @Prop({required: true}) readonly dataSource: string;\n\n  private get filters(): Array<object> {\n    return this.$store.getters[`${this.dataSource}/activeFilters`];\n  }\n\n  private async removeActiveFilter(filter, option): Promise<void> {\n    await this.$store.dispatch(`${this.dataSource}/toggleFilter`, {filter: filter, option: option});\n    await this.$store.dispatch('InlineFilters/updateInlineFilters', {filter: filter, remove: false});\n  }\n}\n","import { render, staticRenderFns } from \"./ProductActiveFilterList.vue?vue&type=template&id=f3c52fe2&\"\nimport script from \"./ProductActiveFilterList.vue?vue&type=script&lang=ts&\"\nexport * from \"./ProductActiveFilterList.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!./ProductActiveFilterList.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!./ProductActiveFilterList.vue?vue&type=script&lang=ts&\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.filters.length),expression:\"filters.length\"}],staticClass:\"toolbar__active-filters\"},[_c('span',{staticClass:\"hide-for-small-only\"},[_vm._v(_vm._s(_vm.$t('Active filters'))+\":\")]),_vm._v(\" \"),_c('ul',[_vm._l((_vm.filters),function(filter){return _vm._l((filter.options.filter(o => o.active)),function(option){return _c('li',{key:option['label']},[(option['url_path'])?_c('a',{attrs:{\"href\":option['url_path']},domProps:{\"textContent\":_vm._s(option['label'])}}):_c('label',{domProps:{\"textContent\":_vm._s(option['label'])},on:{\"click\":function($event){return _vm.removeActiveFilter(filter, option)}}})])})})],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"],"names":["Vue","filters","this","$store","getters","dataSource","removeActiveFilter","filter","option","dispatch","remove","Prop","required","Component","name","render","_vm","_c","_self","_setupProxy","directives","rawName","value","expression","staticClass","_v","_s","$t","_l","options","o","active","key","attrs","domProps","on","$event","staticRenderFns"],"sourceRoot":""}