@empathyco/x-components 3.0.0-alpha.32 → 3.0.0-alpha.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (568) hide show
  1. package/CHANGELOG.md +116 -0
  2. package/core/index.js +24 -22
  3. package/core/index.js.map +1 -1
  4. package/docs/API-reference/api/x-adapter.empathyrelatedtag.md +1 -0
  5. package/docs/API-reference/api/x-adapter.empathyrelatedtag.source.md +11 -0
  6. package/docs/API-reference/api/x-components.baseidtogglepanel.md +0 -1
  7. package/docs/API-reference/api/x-components.baseresultlink.md +1 -1
  8. package/docs/API-reference/api/x-components.featurelocation.md +1 -1
  9. package/docs/API-reference/api/x-components.fixedheaderandasideslayout.isbackdropvisible.md +11 -0
  10. package/docs/API-reference/api/x-components.fixedheaderandasideslayout.leftasideanimation.md +11 -0
  11. package/docs/API-reference/api/x-components.fixedheaderandasideslayout.md +30 -0
  12. package/docs/API-reference/api/x-components.fixedheaderandasideslayout.rightasideanimation.md +11 -0
  13. package/docs/API-reference/api/x-components.fixedheaderandasideslayout.scrollposition.md +11 -0
  14. package/docs/API-reference/api/x-components.fixedheaderandasideslayout.setposition.md +22 -0
  15. package/docs/API-reference/api/x-components.getrootxcomponent.md +2 -2
  16. package/docs/API-reference/api/x-components.isxcomponent.md +2 -2
  17. package/docs/API-reference/api/x-components.maybearray.md +13 -0
  18. package/docs/API-reference/api/x-components.md +12 -7
  19. package/docs/API-reference/api/x-components.namespaceddebounce.md +2 -2
  20. package/docs/API-reference/api/x-components.namespacedthrottle.md +2 -2
  21. package/docs/API-reference/api/{x-components.namespacedtimeretrieving.md → x-components.namespacedtimeselector.md} +3 -3
  22. package/docs/API-reference/api/x-components.namespacedtimewireoperator.md +3 -3
  23. package/docs/API-reference/api/x-components.relatedtag.highlightcurated.md +13 -0
  24. package/docs/API-reference/api/x-components.relatedtag.md +1 -0
  25. package/docs/API-reference/api/x-components.relatedtags.highlightcurated.md +13 -0
  26. package/docs/API-reference/api/x-components.searchxevents.md +2 -0
  27. package/docs/API-reference/api/x-components.searchxevents.userclickedabanner.md +13 -0
  28. package/docs/API-reference/api/x-components.searchxevents.userclickedapromoted.md +13 -0
  29. package/docs/API-reference/api/x-components.setconsent.md +1 -1
  30. package/docs/API-reference/api/x-components.setquerytaggingdebounce.md +1 -1
  31. package/docs/API-reference/api/x-components.setsessionduration.md +1 -1
  32. package/docs/API-reference/api/x-components.snippetconfig.isspa.md +13 -0
  33. package/docs/API-reference/api/x-components.snippetconfig.md +1 -0
  34. package/docs/API-reference/api/x-components.tagicon.md +11 -0
  35. package/docs/API-reference/api/x-components.throttle.md +3 -3
  36. package/docs/API-reference/api/x-components.timedwireoperatoroptions.cancelon.md +13 -0
  37. package/docs/API-reference/api/x-components.timedwireoperatoroptions.forceon.md +13 -0
  38. package/docs/API-reference/api/x-components.timedwireoperatoroptions.md +21 -0
  39. package/docs/API-reference/api/{x-components.timeretrieving.md → x-components.timeselector.md} +3 -3
  40. package/docs/API-reference/api/x-components.trackaddtocartwire.md +13 -0
  41. package/docs/API-reference/api/{x-components.trackwire.md → x-components.trackquerywire.md} +3 -3
  42. package/docs/API-reference/api/x-components.trackresultclickedwire.md +13 -0
  43. package/docs/API-reference/api/x-components.xeventstypes.md +0 -1
  44. package/docs/API-reference/api/x-components.xinstaller.md +1 -1
  45. package/docs/API-reference/api/x-types.relatedtag.iscurated.md +13 -0
  46. package/docs/API-reference/api/x-types.relatedtag.md +1 -0
  47. package/docs/API-reference/components/common/animations/x-components.animate-width.md +6 -7
  48. package/docs/API-reference/components/common/animations/x-components.collapse-from-top.md +7 -8
  49. package/docs/API-reference/components/common/animations/x-components.collapse-height.md +8 -9
  50. package/docs/API-reference/components/common/animations/x-components.collapse-width.md +8 -9
  51. package/docs/API-reference/components/common/animations/x-components.cross-fade.md +7 -8
  52. package/docs/API-reference/components/common/animations/x-components.fade-and-slide.md +7 -8
  53. package/docs/API-reference/components/common/animations/x-components.staggered-fade-and-slide.md +7 -8
  54. package/docs/API-reference/components/common/{x-components.staggering-transition-group.md → animations/x-components.staggering-transition-group.md} +8 -9
  55. package/docs/API-reference/components/common/animations/x-components.translate-from-left.md +7 -8
  56. package/docs/API-reference/components/common/animations/x-components.translate-from-right.md +7 -8
  57. package/docs/API-reference/components/common/column-picker/x-components.base-column-picker-dropdown.md +12 -13
  58. package/docs/API-reference/components/common/column-picker/x-components.base-column-picker-list.md +11 -12
  59. package/docs/API-reference/components/common/currency/x-components.base-currency.md +9 -12
  60. package/docs/API-reference/components/common/filters/labels/x-components.base-price-filter-label.md +9 -10
  61. package/docs/API-reference/components/common/filters/labels/x-components.base-rating-filter-label.md +11 -12
  62. package/docs/API-reference/components/common/icons/x-components.arrow.md +3 -4
  63. package/docs/API-reference/components/common/icons/x-components.bag.md +3 -4
  64. package/docs/API-reference/components/common/icons/x-components.bar-code.md +4 -5
  65. package/docs/API-reference/components/common/icons/x-components.barcode-tiny.md +4 -5
  66. package/docs/API-reference/components/common/icons/x-components.cart.md +3 -4
  67. package/docs/API-reference/components/common/icons/x-components.check-tiny.md +4 -5
  68. package/docs/API-reference/components/common/icons/x-components.check.md +3 -4
  69. package/docs/API-reference/components/common/icons/x-components.checkbox-card-selected.md +4 -5
  70. package/docs/API-reference/components/common/icons/x-components.checkbox-card-unselected.md +4 -5
  71. package/docs/API-reference/components/common/icons/x-components.checkbox-selected.md +4 -5
  72. package/docs/API-reference/components/common/icons/x-components.checkbox-unselected.md +4 -5
  73. package/docs/API-reference/components/common/icons/x-components.chevron-down.md +4 -5
  74. package/docs/API-reference/components/common/icons/x-components.chevron-left.md +4 -5
  75. package/docs/API-reference/components/common/icons/x-components.chevron-right.md +4 -5
  76. package/docs/API-reference/components/common/icons/x-components.chevron-tiny-down.md +4 -5
  77. package/docs/API-reference/components/common/icons/x-components.chevron-tiny-left.md +4 -5
  78. package/docs/API-reference/components/common/icons/x-components.chevron-tiny-right.md +4 -5
  79. package/docs/API-reference/components/common/icons/x-components.chevron-tiny-up.md +4 -5
  80. package/docs/API-reference/components/common/icons/x-components.chevron-up.md +4 -5
  81. package/docs/API-reference/components/common/icons/x-components.cross-tiny.md +4 -5
  82. package/docs/API-reference/components/common/icons/x-components.cross.md +3 -4
  83. package/docs/API-reference/components/common/icons/x-components.filters.md +3 -4
  84. package/docs/API-reference/components/common/icons/x-components.grid-1-col.md +4 -5
  85. package/docs/API-reference/components/common/icons/x-components.grid-2-col.md +4 -5
  86. package/docs/API-reference/components/common/icons/x-components.hide.md +3 -4
  87. package/docs/API-reference/components/common/icons/x-components.history-tiny.md +4 -5
  88. package/docs/API-reference/components/common/icons/x-components.history.md +3 -4
  89. package/docs/API-reference/components/common/icons/x-components.menu.md +3 -4
  90. package/docs/API-reference/components/common/icons/x-components.minus-tiny.md +4 -5
  91. package/docs/API-reference/components/common/icons/x-components.minus.md +3 -4
  92. package/docs/API-reference/components/common/icons/x-components.nq-1.md +4 -5
  93. package/docs/API-reference/components/common/icons/x-components.nq-2.md +4 -5
  94. package/docs/API-reference/components/common/icons/x-components.nq-3.md +4 -5
  95. package/docs/API-reference/components/common/icons/x-components.nq-4.md +4 -5
  96. package/docs/API-reference/components/common/icons/x-components.plus.md +3 -4
  97. package/docs/API-reference/components/common/icons/x-components.search-tiny.md +4 -5
  98. package/docs/API-reference/components/common/icons/x-components.search.md +3 -4
  99. package/docs/API-reference/components/common/icons/x-components.show.md +3 -4
  100. package/docs/API-reference/components/common/icons/x-components.star.md +3 -4
  101. package/docs/API-reference/components/common/icons/x-components.tag.md +7 -0
  102. package/docs/API-reference/components/common/icons/x-components.trash-open.md +4 -5
  103. package/docs/API-reference/components/common/icons/x-components.trash.md +3 -4
  104. package/docs/API-reference/components/common/icons/x-components.trending-tiny.md +4 -5
  105. package/docs/API-reference/components/common/icons/x-components.trending.md +3 -4
  106. package/docs/API-reference/components/common/icons/x-components.user.md +3 -4
  107. package/docs/API-reference/components/common/layouts/x-components.fixed-header-and-asides-layout.md +8 -9
  108. package/docs/API-reference/components/common/layouts/x-components.multi-column-max-width-layout.md +8 -9
  109. package/docs/API-reference/components/common/layouts/x-components.single-column-layout.md +6 -5
  110. package/docs/API-reference/components/common/modals/x-components.base-events-modal-close.md +10 -11
  111. package/docs/API-reference/components/common/modals/x-components.base-events-modal-open.md +10 -11
  112. package/docs/API-reference/components/common/modals/x-components.base-events-modal.md +15 -16
  113. package/docs/API-reference/components/common/modals/x-components.base-id-modal-close.md +9 -10
  114. package/docs/API-reference/components/common/modals/x-components.base-id-modal-open.md +9 -10
  115. package/docs/API-reference/components/common/modals/x-components.base-id-modal.md +11 -12
  116. package/docs/API-reference/components/common/modals/x-components.base-modal.md +7 -8
  117. package/docs/API-reference/components/common/panels/x-components.base-header-toggle-panel.md +11 -12
  118. package/docs/API-reference/components/common/panels/x-components.base-id-toggle-panel-button.md +10 -11
  119. package/docs/API-reference/components/common/panels/x-components.base-id-toggle-panel.md +10 -11
  120. package/docs/API-reference/components/common/panels/x-components.base-toggle-panel.md +8 -9
  121. package/docs/API-reference/components/common/result/x-components.base-result-add-to-cart.md +9 -10
  122. package/docs/API-reference/components/common/result/x-components.base-result-current-price.md +10 -11
  123. package/docs/API-reference/components/common/result/x-components.base-result-fallback-image.md +4 -5
  124. package/docs/API-reference/components/common/result/x-components.base-result-image.md +9 -10
  125. package/docs/API-reference/components/common/result/x-components.base-result-link.md +15 -24
  126. package/docs/API-reference/components/common/result/x-components.base-result-placeholder-image.md +4 -5
  127. package/docs/API-reference/components/common/result/x-components.base-result-previous-price.md +9 -10
  128. package/docs/API-reference/components/common/scroll/x-components.base-scroll.md +8 -9
  129. package/docs/API-reference/components/common/suggestions/x-components.base-suggestion.md +10 -11
  130. package/docs/API-reference/components/common/suggestions/x-components.base-suggestions.md +7 -8
  131. package/docs/API-reference/components/common/x-components.auto-progress-bar.md +5 -6
  132. package/docs/API-reference/components/common/x-components.base-dropdown.md +8 -9
  133. package/docs/API-reference/components/common/x-components.base-event-button.md +11 -12
  134. package/docs/API-reference/components/common/x-components.base-grid.md +15 -16
  135. package/docs/API-reference/components/common/x-components.base-keyboard-navigation.md +10 -11
  136. package/docs/API-reference/components/common/x-components.base-rating.md +10 -11
  137. package/docs/API-reference/components/common/x-components.base-variable-column-grid.md +10 -11
  138. package/docs/API-reference/components/common/x-components.global-x-bus.md +6 -7
  139. package/docs/API-reference/components/common/x-components.items-list.md +6 -5
  140. package/docs/API-reference/components/common/x-components.location-provider.md +6 -7
  141. package/docs/API-reference/components/common/x-components.sliding-panel.md +10 -11
  142. package/docs/API-reference/components/common/x-components.snippet-callbacks.md +6 -7
  143. package/docs/API-reference/components/device/x-components.device-detector.md +8 -9
  144. package/docs/API-reference/components/empathize/x-components.empathize.md +8 -9
  145. package/docs/API-reference/components/extra-params/x-components.extra-params.md +7 -8
  146. package/docs/API-reference/components/extra-params/x-components.renderless-extra-param.md +9 -10
  147. package/docs/API-reference/components/extra-params/x-components.snippet-config-extra-params.md +6 -7
  148. package/docs/API-reference/components/facets/x-components.clear-filters.md +9 -10
  149. package/docs/API-reference/components/facets/x-components.facets/facets-provider.md +10 -11
  150. package/docs/API-reference/components/facets/x-components.facets/facets.md +12 -13
  151. package/docs/API-reference/components/facets/x-components.filters/all-filter.md +15 -16
  152. package/docs/API-reference/components/facets/x-components.filters/base-filter.md +12 -13
  153. package/docs/API-reference/components/facets/x-components.filters/editable-number-range-filter.md +12 -13
  154. package/docs/API-reference/components/facets/x-components.filters/hierarchical-filter.md +9 -10
  155. package/docs/API-reference/components/facets/x-components.filters/number-range-filter.md +9 -10
  156. package/docs/API-reference/components/facets/x-components.filters/renderless-filter.md +12 -13
  157. package/docs/API-reference/components/facets/x-components.filters/simple-filter.md +10 -11
  158. package/docs/API-reference/components/facets/x-components.lists/exclude-filters-with-no-results.md +11 -12
  159. package/docs/API-reference/components/facets/x-components.lists/filters-list.md +11 -12
  160. package/docs/API-reference/components/facets/x-components.lists/filters-search.md +9 -10
  161. package/docs/API-reference/components/facets/x-components.lists/selected-filters-list.md +12 -13
  162. package/docs/API-reference/components/facets/x-components.lists/selected-filters.md +11 -12
  163. package/docs/API-reference/components/facets/x-components.lists/sliced-filters.md +11 -12
  164. package/docs/API-reference/components/facets/x-components.lists/sorted-filters.md +11 -12
  165. package/docs/API-reference/components/history-queries/x-components.clear-history-queries.md +10 -11
  166. package/docs/API-reference/components/history-queries/x-components.history-queries.md +10 -11
  167. package/docs/API-reference/components/history-queries/x-components.history-query.md +11 -12
  168. package/docs/API-reference/components/history-queries/x-components.remove-history-query.md +10 -11
  169. package/docs/API-reference/components/identifier-results/x-components.identifier-result.md +9 -10
  170. package/docs/API-reference/components/identifier-results/x-components.identifier-results.md +10 -11
  171. package/docs/API-reference/components/next-queries/x-components.next-queries-list.md +7 -8
  172. package/docs/API-reference/components/next-queries/x-components.next-queries.md +14 -15
  173. package/docs/API-reference/components/next-queries/x-components.next-query.md +11 -12
  174. package/docs/API-reference/components/popular-searches/x-components.popular-search.md +11 -12
  175. package/docs/API-reference/components/popular-searches/x-components.popular-searches.md +13 -14
  176. package/docs/API-reference/components/query-suggestions/x-components.query-suggestion.md +8 -9
  177. package/docs/API-reference/components/query-suggestions/x-components.query-suggestions.md +8 -9
  178. package/docs/API-reference/components/recommendations/x-components.recommendations.md +14 -15
  179. package/docs/API-reference/components/related-tags/x-components.related-tag.md +19 -17
  180. package/docs/API-reference/components/related-tags/x-components.related-tags.md +19 -19
  181. package/docs/API-reference/components/scroll/x-components.main-scroll-item.md +7 -8
  182. package/docs/API-reference/components/scroll/x-components.main-scroll.md +7 -8
  183. package/docs/API-reference/components/scroll/x-components.scroll-to-top.md +9 -10
  184. package/docs/API-reference/components/scroll/x-components.scroll.md +25 -30
  185. package/docs/API-reference/components/scroll/x-components.window-scroll.md +13 -16
  186. package/docs/API-reference/components/search/x-components.banner.md +8 -9
  187. package/docs/API-reference/components/search/x-components.banners-list.md +7 -8
  188. package/docs/API-reference/components/search/x-components.partial-query-button.md +11 -12
  189. package/docs/API-reference/components/search/x-components.partial-results-list.md +11 -12
  190. package/docs/API-reference/components/search/x-components.promoted.md +7 -8
  191. package/docs/API-reference/components/search/x-components.promoteds-list.md +7 -8
  192. package/docs/API-reference/components/search/x-components.redirection.md +8 -9
  193. package/docs/API-reference/components/search/x-components.results-list.md +7 -8
  194. package/docs/API-reference/components/search/x-components.sort-dropdown.md +8 -9
  195. package/docs/API-reference/components/search/x-components.sort-list.md +8 -9
  196. package/docs/API-reference/components/search/x-components.spellcheck-button.md +11 -12
  197. package/docs/API-reference/components/search/x-components.spellcheck.md +11 -12
  198. package/docs/API-reference/components/search-box/x-components.clear-search-input.md +6 -7
  199. package/docs/API-reference/components/search-box/x-components.search-button.md +6 -7
  200. package/docs/API-reference/components/search-box/x-components.search-input.md +7 -8
  201. package/docs/API-reference/components/tagging/x-components.tagging.md +7 -8
  202. package/docs/API-reference/components/url/x-components.url-handler.md +7 -8
  203. package/docs/build-search-ui/README.md +0 -5
  204. package/docs/build-search-ui/web-archetype-development-guide.md +178 -0
  205. package/docs/build-search-ui/web-archetype-integration-guide.md +146 -143
  206. package/docs/build-search-ui/web-use-x-components-guide.md +0 -5
  207. package/docs/build-search-ui/web-x-components-integration-guide.md +3 -8
  208. package/docs/build-search-ui/x-architecture/README.md +0 -5
  209. package/js/components/animations/animate-width.vue.js +2 -2
  210. package/js/components/animations/animate-width.vue.js.map +1 -1
  211. package/js/components/animations/collapse-from-top.vue.js +2 -2
  212. package/js/components/animations/collapse-from-top.vue.js.map +1 -1
  213. package/js/components/animations/collapse-height.vue.js +2 -2
  214. package/js/components/animations/collapse-height.vue.js.map +1 -1
  215. package/js/components/animations/collapse-width.vue.js +2 -2
  216. package/js/components/animations/collapse-width.vue.js.map +1 -1
  217. package/js/components/animations/cross-fade.vue.js +2 -2
  218. package/js/components/animations/cross-fade.vue.js.map +1 -1
  219. package/js/components/animations/fade-and-slide.vue.js +2 -2
  220. package/js/components/animations/fade-and-slide.vue.js.map +1 -1
  221. package/js/components/animations/staggered-fade-and-slide.vue.js +2 -2
  222. package/js/components/animations/staggered-fade-and-slide.vue.js.map +1 -1
  223. package/js/components/animations/staggered-fade-and-slide.vue_rollup-plugin-vue=script.js +1 -1
  224. package/js/components/animations/staggered-fade-and-slide.vue_rollup-plugin-vue=script.js.map +1 -1
  225. package/js/components/{staggering-transition-group.vue.js → animations/staggering-transition-group.vue.js} +2 -2
  226. package/js/components/animations/staggering-transition-group.vue.js.map +1 -0
  227. package/js/components/{staggering-transition-group.vue_rollup-plugin-vue=script.js → animations/staggering-transition-group.vue_rollup-plugin-vue=script.js} +17 -17
  228. package/js/components/animations/staggering-transition-group.vue_rollup-plugin-vue=script.js.map +1 -0
  229. package/js/components/animations/translate-from-left.vue.js +2 -2
  230. package/js/components/animations/translate-from-left.vue.js.map +1 -1
  231. package/js/components/animations/translate-from-right.vue.js +2 -2
  232. package/js/components/animations/translate-from-right.vue.js.map +1 -1
  233. package/js/components/base-dropdown.vue.js +2 -2
  234. package/js/components/base-dropdown.vue.js.map +1 -1
  235. package/js/components/base-event-button.vue.js.map +1 -1
  236. package/js/components/base-grid.vue.js +2 -2
  237. package/js/components/base-grid.vue.js.map +1 -1
  238. package/js/components/base-keyboard-navigation.vue.js.map +1 -1
  239. package/js/components/base-rating.vue.js +2 -2
  240. package/js/components/base-rating.vue.js.map +1 -1
  241. package/js/components/base-variable-column-grid.vue.js.map +1 -1
  242. package/js/components/column-picker/base-column-picker-dropdown.vue.js.map +1 -1
  243. package/js/components/column-picker/base-column-picker-list.vue.js +2 -2
  244. package/js/components/column-picker/base-column-picker-list.vue.js.map +1 -1
  245. package/js/components/currency/base-currency.vue.js.map +1 -1
  246. package/js/components/filters/labels/base-price-filter-label.vue.js.map +1 -1
  247. package/js/components/filters/labels/base-rating-filter-label.vue.js.map +1 -1
  248. package/js/components/global-x-bus.vue.js.map +1 -1
  249. package/js/components/global-x-bus.vue_rollup-plugin-vue=script.js +2 -1
  250. package/js/components/global-x-bus.vue_rollup-plugin-vue=script.js.map +1 -1
  251. package/js/components/icons/tag.vue.js +59 -0
  252. package/js/components/icons/tag.vue.js.map +1 -0
  253. package/js/components/icons/tag.vue_rollup-plugin-vue=script.js +4 -0
  254. package/js/components/icons/tag.vue_rollup-plugin-vue=script.js.map +1 -0
  255. package/js/components/layouts/fixed-header-and-asides-layout.vue.js +212 -0
  256. package/js/components/layouts/fixed-header-and-asides-layout.vue.js.map +1 -0
  257. package/js/components/layouts/fixed-header-and-asides-layout.vue_rollup-plugin-vue=script.js +57 -0
  258. package/js/components/layouts/fixed-header-and-asides-layout.vue_rollup-plugin-vue=script.js.map +1 -0
  259. package/js/components/layouts/multi-column-max-width-layout.vue.js +3 -3
  260. package/js/components/layouts/multi-column-max-width-layout.vue.js.map +1 -1
  261. package/js/components/layouts/multi-column-max-width-layout.vue_rollup-plugin-vue=script.js +1 -1
  262. package/js/components/layouts/single-column-layout.vue.js +1 -1
  263. package/js/components/layouts/single-column-layout.vue_rollup-plugin-vue=script.js +1 -1
  264. package/js/components/modals/base-events-modal-close.vue.js.map +1 -1
  265. package/js/components/modals/base-events-modal-open.vue.js.map +1 -1
  266. package/js/components/modals/base-events-modal.vue.js.map +1 -1
  267. package/js/components/modals/base-id-modal-close.vue.js.map +1 -1
  268. package/js/components/modals/base-id-modal-open.vue.js.map +1 -1
  269. package/js/components/modals/base-id-modal.vue.js.map +1 -1
  270. package/js/components/modals/base-modal.vue.js +2 -2
  271. package/js/components/modals/base-modal.vue.js.map +1 -1
  272. package/js/components/panels/base-header-toggle-panel.vue.js +2 -2
  273. package/js/components/panels/base-header-toggle-panel.vue.js.map +1 -1
  274. package/js/components/panels/base-id-toggle-panel-button.vue.js.map +1 -1
  275. package/js/components/panels/base-id-toggle-panel.vue.js.map +1 -1
  276. package/js/components/panels/base-id-toggle-panel.vue_rollup-plugin-vue=script.js +4 -9
  277. package/js/components/panels/base-id-toggle-panel.vue_rollup-plugin-vue=script.js.map +1 -1
  278. package/js/components/panels/base-toggle-panel.vue.js.map +1 -1
  279. package/js/components/result/base-result-add-to-cart.vue.js.map +1 -1
  280. package/js/components/result/base-result-current-price.vue.js.map +1 -1
  281. package/js/components/result/base-result-image.vue.js +2 -2
  282. package/js/components/result/base-result-image.vue.js.map +1 -1
  283. package/js/components/result/base-result-link.vue.js +5 -5
  284. package/js/components/result/base-result-link.vue.js.map +1 -1
  285. package/js/components/result/base-result-link.vue_rollup-plugin-vue=script.js +3 -12
  286. package/js/components/result/base-result-link.vue_rollup-plugin-vue=script.js.map +1 -1
  287. package/js/components/result/base-result-previous-price.vue.js.map +1 -1
  288. package/js/components/scroll/base-scroll.vue.js +2 -2
  289. package/js/components/scroll/base-scroll.vue.js.map +1 -1
  290. package/js/components/sliding-panel.vue.js +2 -2
  291. package/js/components/sliding-panel.vue.js.map +1 -1
  292. package/js/components/suggestions/base-suggestion.vue.js.map +1 -1
  293. package/js/components/suggestions/base-suggestions.vue.js +2 -2
  294. package/js/components/suggestions/base-suggestions.vue.js.map +1 -1
  295. package/js/components/x-component.mixin.js +1 -4
  296. package/js/components/x-component.mixin.js.map +1 -1
  297. package/js/components/x-component.utils.js +4 -20
  298. package/js/components/x-component.utils.js.map +1 -1
  299. package/js/index.js +32 -30
  300. package/js/index.js.map +1 -1
  301. package/js/plugins/x-plugin.alias.js +21 -20
  302. package/js/plugins/x-plugin.alias.js.map +1 -1
  303. package/js/plugins/x-plugin.mixin.js +2 -2
  304. package/js/plugins/x-plugin.mixin.js.map +1 -1
  305. package/js/utils/origin.js +5 -3
  306. package/js/utils/origin.js.map +1 -1
  307. package/js/wiring/namespaced-wires.operators.js +3 -4
  308. package/js/wiring/namespaced-wires.operators.js.map +1 -1
  309. package/js/wiring/wires-operators.utils.js +55 -0
  310. package/js/wiring/wires-operators.utils.js.map +1 -0
  311. package/js/wiring/wires.operators.js +17 -12
  312. package/js/wiring/wires.operators.js.map +1 -1
  313. package/js/x-installer/x-installer/x-installer.js +1 -1
  314. package/js/x-installer/x-installer/x-installer.js.map +1 -1
  315. package/js/x-modules/empathize/components/empathize.vue.js.map +1 -1
  316. package/js/x-modules/empathize/components/empathize.vue_rollup-plugin-vue=script.js +1 -1
  317. package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue=script.js +14 -12
  318. package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue=script.js.map +1 -1
  319. package/js/x-modules/extra-params/components/renderless-extra-param.vue.js.map +1 -1
  320. package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue=script.js +14 -12
  321. package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue=script.js.map +1 -1
  322. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue.js.map +1 -1
  323. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue=script.js +23 -12
  324. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue=script.js.map +1 -1
  325. package/js/x-modules/facets/components/clear-filters.vue.js.map +1 -1
  326. package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue=script.js +14 -12
  327. package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue=script.js.map +1 -1
  328. package/js/x-modules/facets/components/facets/facets-provider.vue.js +2 -2
  329. package/js/x-modules/facets/components/facets/facets-provider.vue.js.map +1 -1
  330. package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue=script.js +18 -23
  331. package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue=script.js.map +1 -1
  332. package/js/x-modules/facets/components/facets/facets.vue.js +2 -2
  333. package/js/x-modules/facets/components/facets/facets.vue.js.map +1 -1
  334. package/js/x-modules/facets/components/filters/all-filter.vue.js.map +1 -1
  335. package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue=script.js +14 -12
  336. package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  337. package/js/x-modules/facets/components/filters/base-filter.vue.js.map +1 -1
  338. package/js/x-modules/facets/components/filters/base-filter.vue_rollup-plugin-vue=script.js +14 -12
  339. package/js/x-modules/facets/components/filters/base-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  340. package/js/x-modules/facets/components/filters/editable-number-range-filter.vue.js +1 -1
  341. package/js/x-modules/facets/components/filters/editable-number-range-filter.vue.js.map +1 -1
  342. package/js/x-modules/facets/components/filters/hierarchical-filter.vue.js.map +1 -1
  343. package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue=script.js +14 -12
  344. package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  345. package/js/x-modules/facets/components/filters/number-range-filter.vue.js.map +1 -1
  346. package/js/x-modules/facets/components/filters/number-range-filter.vue_rollup-plugin-vue=script.js +14 -12
  347. package/js/x-modules/facets/components/filters/number-range-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  348. package/js/x-modules/facets/components/filters/renderless-filter.vue.js.map +1 -1
  349. package/js/x-modules/facets/components/filters/renderless-filter.vue_rollup-plugin-vue=script.js +14 -12
  350. package/js/x-modules/facets/components/filters/renderless-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  351. package/js/x-modules/facets/components/filters/simple-filter.vue.js.map +1 -1
  352. package/js/x-modules/facets/components/filters/simple-filter.vue_rollup-plugin-vue=script.js +14 -12
  353. package/js/x-modules/facets/components/filters/simple-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  354. package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue.js.map +1 -1
  355. package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue_rollup-plugin-vue=script.js +14 -12
  356. package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue_rollup-plugin-vue=script.js.map +1 -1
  357. package/js/x-modules/facets/components/lists/filters-list.vue.js +2 -2
  358. package/js/x-modules/facets/components/lists/filters-list.vue.js.map +1 -1
  359. package/js/x-modules/facets/components/lists/filters-list.vue_rollup-plugin-vue=script.js +14 -12
  360. package/js/x-modules/facets/components/lists/filters-list.vue_rollup-plugin-vue=script.js.map +1 -1
  361. package/js/x-modules/facets/components/lists/filters-search.vue.js +2 -2
  362. package/js/x-modules/facets/components/lists/filters-search.vue.js.map +1 -1
  363. package/js/x-modules/facets/components/lists/filters-search.vue_rollup-plugin-vue=script.js +14 -12
  364. package/js/x-modules/facets/components/lists/filters-search.vue_rollup-plugin-vue=script.js.map +1 -1
  365. package/js/x-modules/facets/components/lists/selected-filters-list.vue.js.map +1 -1
  366. package/js/x-modules/facets/components/lists/selected-filters.vue.js.map +1 -1
  367. package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue=script.js +14 -12
  368. package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue=script.js.map +1 -1
  369. package/js/x-modules/facets/components/lists/sliced-filters.vue.js.map +1 -1
  370. package/js/x-modules/facets/components/lists/sliced-filters.vue_rollup-plugin-vue=script.js +14 -12
  371. package/js/x-modules/facets/components/lists/sliced-filters.vue_rollup-plugin-vue=script.js.map +1 -1
  372. package/js/x-modules/facets/components/lists/sorted-filters.vue.js.map +1 -1
  373. package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue=script.js +14 -12
  374. package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue=script.js.map +1 -1
  375. package/js/x-modules/history-queries/components/clear-history-queries.vue.js.map +1 -1
  376. package/js/x-modules/history-queries/components/history-queries.vue.js.map +1 -1
  377. package/js/x-modules/history-queries/components/history-queries.vue_rollup-plugin-vue=script.js +1 -1
  378. package/js/x-modules/history-queries/components/history-query.vue.js.map +1 -1
  379. package/js/x-modules/history-queries/components/history-query.vue_rollup-plugin-vue=script.js +1 -1
  380. package/js/x-modules/history-queries/components/remove-history-query.vue.js.map +1 -1
  381. package/js/x-modules/history-queries/wiring.js +1 -1
  382. package/js/x-modules/history-queries/wiring.js.map +1 -1
  383. package/js/x-modules/identifier-results/components/identifier-result.vue.js.map +1 -1
  384. package/js/x-modules/identifier-results/components/identifier-results.vue.js.map +1 -1
  385. package/js/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.js +4 -2
  386. package/js/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.js.map +1 -1
  387. package/js/x-modules/identifier-results/store/getters/identifier-results-request.getter.js +2 -3
  388. package/js/x-modules/identifier-results/store/getters/identifier-results-request.getter.js.map +1 -1
  389. package/js/x-modules/identifier-results/wiring.js +3 -2
  390. package/js/x-modules/identifier-results/wiring.js.map +1 -1
  391. package/js/x-modules/next-queries/components/next-queries-list.vue_rollup-plugin-vue=script.js +1 -1
  392. package/js/x-modules/next-queries/components/next-queries.vue.js.map +1 -1
  393. package/js/x-modules/next-queries/components/next-queries.vue_rollup-plugin-vue=script.js +1 -1
  394. package/js/x-modules/next-queries/components/next-query.vue.js.map +1 -1
  395. package/js/x-modules/next-queries/components/next-query.vue_rollup-plugin-vue=script.js +1 -1
  396. package/js/x-modules/popular-searches/components/popular-search.vue.js.map +1 -1
  397. package/js/x-modules/popular-searches/components/popular-search.vue_rollup-plugin-vue=script.js +1 -1
  398. package/js/x-modules/popular-searches/components/popular-searches.vue.js.map +1 -1
  399. package/js/x-modules/popular-searches/components/popular-searches.vue_rollup-plugin-vue=script.js +1 -1
  400. package/js/x-modules/query-suggestions/components/query-suggestion.vue_rollup-plugin-vue=script.js +1 -1
  401. package/js/x-modules/query-suggestions/components/query-suggestions.vue_rollup-plugin-vue=script.js +1 -1
  402. package/js/x-modules/query-suggestions/wiring.js +1 -1
  403. package/js/x-modules/query-suggestions/wiring.js.map +1 -1
  404. package/js/x-modules/recommendations/components/recommendations.vue.js +2 -2
  405. package/js/x-modules/recommendations/components/recommendations.vue.js.map +1 -1
  406. package/js/x-modules/related-tags/components/related-tag.vue.js +7 -3
  407. package/js/x-modules/related-tags/components/related-tag.vue.js.map +1 -1
  408. package/js/x-modules/related-tags/components/related-tag.vue_rollup-plugin-vue=script.js +20 -0
  409. package/js/x-modules/related-tags/components/related-tag.vue_rollup-plugin-vue=script.js.map +1 -1
  410. package/js/x-modules/related-tags/components/related-tags.vue.js +15 -4
  411. package/js/x-modules/related-tags/components/related-tags.vue.js.map +1 -1
  412. package/js/x-modules/related-tags/components/related-tags.vue_rollup-plugin-vue=script.js +3 -0
  413. package/js/x-modules/related-tags/components/related-tags.vue_rollup-plugin-vue=script.js.map +1 -1
  414. package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue=script.js +16 -14
  415. package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue=script.js.map +1 -1
  416. package/js/x-modules/scroll/components/scroll-to-top.vue.js.map +1 -1
  417. package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js +16 -14
  418. package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js.map +1 -1
  419. package/js/x-modules/scroll/components/scroll.vue.js.map +1 -1
  420. package/js/x-modules/scroll/components/scroll.vue_rollup-plugin-vue=script.js +1 -1
  421. package/js/x-modules/scroll/components/window-scroll.vue.js.map +1 -1
  422. package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue=script.js +16 -14
  423. package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue=script.js.map +1 -1
  424. package/js/x-modules/search/components/banner.vue.js +2 -1
  425. package/js/x-modules/search/components/banner.vue.js.map +1 -1
  426. package/js/x-modules/search/components/banner.vue_rollup-plugin-vue=script.js +8 -0
  427. package/js/x-modules/search/components/banner.vue_rollup-plugin-vue=script.js.map +1 -1
  428. package/js/x-modules/search/components/banners-list.vue_rollup-plugin-vue=script.js +1 -1
  429. package/js/x-modules/search/components/partial-query-button.vue.js.map +1 -1
  430. package/js/x-modules/search/components/partial-results-list.vue.js +2 -2
  431. package/js/x-modules/search/components/partial-results-list.vue.js.map +1 -1
  432. package/js/x-modules/search/components/promoted.vue.js +2 -1
  433. package/js/x-modules/search/components/promoted.vue.js.map +1 -1
  434. package/js/x-modules/search/components/promoted.vue_rollup-plugin-vue=script.js +8 -0
  435. package/js/x-modules/search/components/promoted.vue_rollup-plugin-vue=script.js.map +1 -1
  436. package/js/x-modules/search/components/promoteds-list.vue_rollup-plugin-vue=script.js +1 -1
  437. package/js/x-modules/search/components/redirection.vue.js.map +1 -1
  438. package/js/x-modules/search/components/redirection.vue_rollup-plugin-vue=script.js.map +1 -1
  439. package/js/x-modules/search/components/results-list.vue_rollup-plugin-vue=script.js +2 -2
  440. package/js/x-modules/search/components/sort-dropdown.vue.js.map +1 -1
  441. package/js/x-modules/search/components/sort-list.vue.js +2 -2
  442. package/js/x-modules/search/components/sort-list.vue.js.map +1 -1
  443. package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue=script.js +14 -12
  444. package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue=script.js.map +1 -1
  445. package/js/x-modules/search/components/sort.mixin.js +14 -12
  446. package/js/x-modules/search/components/sort.mixin.js.map +1 -1
  447. package/js/x-modules/search/components/spellcheck-button.vue.js.map +1 -1
  448. package/js/x-modules/search/components/spellcheck.vue.js.map +1 -1
  449. package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js +14 -12
  450. package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js.map +1 -1
  451. package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js +4 -1
  452. package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js.map +1 -1
  453. package/js/x-modules/search/store/getters/request.getter.js +2 -3
  454. package/js/x-modules/search/store/getters/request.getter.js.map +1 -1
  455. package/js/x-modules/search/wiring.js +4 -3
  456. package/js/x-modules/search/wiring.js.map +1 -1
  457. package/js/x-modules/search-box/components/search-input.vue.js +2 -2
  458. package/js/x-modules/search-box/components/search-input.vue.js.map +1 -1
  459. package/js/x-modules/search-box/components/search-input.vue_rollup-plugin-vue=script.js +7 -5
  460. package/js/x-modules/search-box/components/search-input.vue_rollup-plugin-vue=script.js.map +1 -1
  461. package/js/x-modules/tagging/store/actions/track.action.js +2 -2
  462. package/js/x-modules/tagging/store/actions/track.action.js.map +1 -1
  463. package/js/x-modules/tagging/wiring.js +48 -4
  464. package/js/x-modules/tagging/wiring.js.map +1 -1
  465. package/js/x-modules/url/components/url-handler.vue.js +1 -1
  466. package/js/x-modules/url/components/url-handler.vue.js.map +1 -1
  467. package/js/x-modules/url/components/url-handler.vue_rollup-plugin-vue=script.js +101 -5
  468. package/js/x-modules/url/components/url-handler.vue_rollup-plugin-vue=script.js.map +1 -1
  469. package/package.json +9 -10
  470. package/report/tsdoc-metadata.json +1 -1
  471. package/report/x-adapter.api.json +27 -1
  472. package/report/x-components.api.json +674 -223
  473. package/report/x-components.api.md +86 -35
  474. package/report/x-types.api.json +27 -1
  475. package/tagging/index.js +1 -1
  476. package/types/adapter/mocked-adapter.d.ts.map +1 -1
  477. package/types/components/animations/index.d.ts +1 -0
  478. package/types/components/animations/index.d.ts.map +1 -1
  479. package/types/components/{staggering-transition-group.vue.d.ts → animations/staggering-transition-group.vue.d.ts} +0 -0
  480. package/types/components/animations/staggering-transition-group.vue.d.ts.map +1 -0
  481. package/types/components/global-x-bus.vue.d.ts.map +1 -1
  482. package/types/components/icons/index.d.ts +1 -0
  483. package/types/components/icons/index.d.ts.map +1 -1
  484. package/types/components/icons/tag.vue.d.ts +3 -0
  485. package/types/components/icons/tag.vue.d.ts.map +1 -0
  486. package/types/components/index.d.ts +1 -4
  487. package/types/components/index.d.ts.map +1 -1
  488. package/types/components/layouts/fixed-header-and-asides-layout.vue.d.ts +17 -0
  489. package/types/components/layouts/fixed-header-and-asides-layout.vue.d.ts.map +1 -0
  490. package/types/components/layouts/index.d.ts +4 -0
  491. package/types/components/layouts/index.d.ts.map +1 -0
  492. package/types/components/panels/base-id-toggle-panel.vue.d.ts +0 -5
  493. package/types/components/panels/base-id-toggle-panel.vue.d.ts.map +1 -1
  494. package/types/components/result/base-result-link.vue.d.ts +3 -10
  495. package/types/components/result/base-result-link.vue.d.ts.map +1 -1
  496. package/types/components/x-component.mixin.d.ts.map +1 -1
  497. package/types/components/x-component.utils.d.ts +1 -16
  498. package/types/components/x-component.utils.d.ts.map +1 -1
  499. package/types/plugins/x-plugin.alias.d.ts +4 -6
  500. package/types/plugins/x-plugin.alias.d.ts.map +1 -1
  501. package/types/plugins/x-plugin.mixin.d.ts +13 -3
  502. package/types/plugins/x-plugin.mixin.d.ts.map +1 -1
  503. package/types/types/origin.d.ts +1 -1
  504. package/types/types/origin.d.ts.map +1 -1
  505. package/types/utils/origin.d.ts +3 -1
  506. package/types/utils/origin.d.ts.map +1 -1
  507. package/types/utils/types.d.ts +6 -0
  508. package/types/utils/types.d.ts.map +1 -1
  509. package/types/wiring/events.types.d.ts +0 -5
  510. package/types/wiring/events.types.d.ts.map +1 -1
  511. package/types/wiring/namespaced-wires.operators.d.ts +2 -3
  512. package/types/wiring/namespaced-wires.operators.d.ts.map +1 -1
  513. package/types/wiring/namespaced-wiring.types.d.ts +9 -10
  514. package/types/wiring/namespaced-wiring.types.d.ts.map +1 -1
  515. package/types/wiring/wires-operators.utils.d.ts +36 -0
  516. package/types/wiring/wires-operators.utils.d.ts.map +1 -0
  517. package/types/wiring/wires.operators.d.ts +5 -8
  518. package/types/wiring/wires.operators.d.ts.map +1 -1
  519. package/types/wiring/wiring.types.d.ts +17 -4
  520. package/types/wiring/wiring.types.d.ts.map +1 -1
  521. package/types/x-installer/api/api.types.d.ts +2 -0
  522. package/types/x-installer/api/api.types.d.ts.map +1 -1
  523. package/types/x-installer/x-installer/x-installer.d.ts +1 -1
  524. package/types/x-modules/extra-params/components/snippet-config-extra-params.vue.d.ts +6 -0
  525. package/types/x-modules/extra-params/components/snippet-config-extra-params.vue.d.ts.map +1 -1
  526. package/types/x-modules/facets/components/facets/facets-provider.vue.d.ts +0 -8
  527. package/types/x-modules/facets/components/facets/facets-provider.vue.d.ts.map +1 -1
  528. package/types/x-modules/history-queries/wiring.d.ts +1 -1
  529. package/types/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.d.ts.map +1 -1
  530. package/types/x-modules/identifier-results/store/getters/identifier-results-request.getter.d.ts.map +1 -1
  531. package/types/x-modules/identifier-results/wiring.d.ts +2 -1
  532. package/types/x-modules/identifier-results/wiring.d.ts.map +1 -1
  533. package/types/x-modules/query-suggestions/wiring.d.ts +1 -1
  534. package/types/x-modules/related-tags/components/related-tag.vue.d.ts +14 -0
  535. package/types/x-modules/related-tags/components/related-tag.vue.d.ts.map +1 -1
  536. package/types/x-modules/related-tags/components/related-tags.vue.d.ts +6 -0
  537. package/types/x-modules/related-tags/components/related-tags.vue.d.ts.map +1 -1
  538. package/types/x-modules/search/components/banner.vue.d.ts +6 -0
  539. package/types/x-modules/search/components/banner.vue.d.ts.map +1 -1
  540. package/types/x-modules/search/components/promoted.vue.d.ts +6 -0
  541. package/types/x-modules/search/components/promoted.vue.d.ts.map +1 -1
  542. package/types/x-modules/search/components/redirection.vue.d.ts +1 -1
  543. package/types/x-modules/search/components/redirection.vue.d.ts.map +1 -1
  544. package/types/x-modules/search/events.types.d.ts +11 -1
  545. package/types/x-modules/search/events.types.d.ts.map +1 -1
  546. package/types/x-modules/search/store/actions/fetch-and-save-search-response.action.d.ts.map +1 -1
  547. package/types/x-modules/search/store/getters/request.getter.d.ts.map +1 -1
  548. package/types/x-modules/search/wiring.d.ts +2 -1
  549. package/types/x-modules/search/wiring.d.ts.map +1 -1
  550. package/types/x-modules/search-box/components/search-input.vue.d.ts +5 -2
  551. package/types/x-modules/search-box/components/search-input.vue.d.ts.map +1 -1
  552. package/types/x-modules/tagging/wiring.d.ts +29 -9
  553. package/types/x-modules/tagging/wiring.d.ts.map +1 -1
  554. package/types/x-modules/url/components/url-handler.vue.d.ts +70 -7
  555. package/types/x-modules/url/components/url-handler.vue.d.ts.map +1 -1
  556. package/docs/API-reference/api/x-components.baseidtogglepanel.created.md +0 -17
  557. package/docs/API-reference/api/x-components.xcomponent.md +0 -15
  558. package/docs/API-reference/api/x-components.xeventstypes.userrightclickedaresult.md +0 -13
  559. package/docs/sidebar.json +0 -1
  560. package/js/components/staggering-transition-group.vue.js.map +0 -1
  561. package/js/components/staggering-transition-group.vue_rollup-plugin-vue=script.js.map +0 -1
  562. package/js/wiring/utils/wire-racing-handling.js +0 -108
  563. package/js/wiring/utils/wire-racing-handling.js.map +0 -1
  564. package/types/components/staggering-transition-group.vue.d.ts.map +0 -1
  565. package/types/components/x-component.types.d.ts +0 -19
  566. package/types/components/x-component.types.d.ts.map +0 -1
  567. package/types/wiring/utils/wire-racing-handling.d.ts +0 -27
  568. package/types/wiring/utils/wire-racing-handling.d.ts.map +0 -1
@@ -8,7 +8,7 @@ import '../../../components/animations/collapse-height.vue.js';
8
8
  import '../../../components/animations/collapse-width.vue.js';
9
9
  import '../../../components/animations/cross-fade.vue.js';
10
10
  import '../../../components/animations/fade-and-slide.vue.js';
11
- import '../../../components/staggering-transition-group.vue.js';
11
+ import '../../../components/animations/staggering-transition-group.vue.js';
12
12
  import '../../../components/animations/staggered-fade-and-slide.vue.js';
13
13
  import '../../../components/animations/translate-from-left.vue.js';
14
14
  import '../../../components/animations/translate-from-right.vue.js';
@@ -63,21 +63,30 @@ import '../../../components/icons/plus.vue.js';
63
63
  import '../../../components/icons/search.vue.js';
64
64
  import '../../../components/icons/show.vue.js';
65
65
  import '../../../components/icons/search-tiny.vue.js';
66
+ import '../../../components/icons/tag.vue.js';
66
67
  import '../../../components/icons/trash-open.vue.js';
67
68
  import '../../../components/icons/trash.vue.js';
68
69
  import '../../../components/icons/trending-tiny.vue.js';
69
70
  import '../../../components/icons/trending.vue.js';
70
71
  import '../../../components/icons/user.vue.js';
71
- import '../../../components/modals/base-events-modal-close.vue.js';
72
+ import { State } from '../../../components/decorators/store.decorators.js';
73
+ import '../../../components/x-component.utils.js';
74
+ import { xComponentMixin } from '../../../components/x-component.mixin.js';
72
75
  import '../../../components/modals/base-modal.vue.js';
76
+ import '../../../components/modals/base-id-modal.vue.js';
77
+ import '../../../components/scroll/scroll.mixin.js';
78
+ import '../../../components/scroll/base-scroll.vue.js';
79
+ import '../../../components/layouts/fixed-header-and-asides-layout.vue.js';
80
+ import '../../../components/panels/base-toggle-panel.vue.js';
81
+ import '../../../components/panels/base-id-toggle-panel.vue.js';
82
+ import '../../../components/layouts/multi-column-max-width-layout.vue.js';
83
+ import '../../../components/layouts/single-column-layout.vue.js';
84
+ import '../../../components/modals/base-events-modal-close.vue.js';
73
85
  import '../../../components/modals/base-events-modal.vue.js';
74
86
  import '../../../components/modals/base-events-modal-open.vue.js';
75
- import '../../../components/modals/base-id-modal.vue.js';
76
87
  import '../../../components/modals/base-id-modal-close.vue.js';
77
88
  import '../../../components/modals/base-id-modal-open.vue.js';
78
- import '../../../components/panels/base-toggle-panel.vue.js';
79
89
  import '../../../components/panels/base-header-toggle-panel.vue.js';
80
- import '../../../components/panels/base-id-toggle-panel.vue.js';
81
90
  import '../../../components/panels/base-id-toggle-panel-button.vue.js';
82
91
  import '../../../components/result/base-result-add-to-cart.vue.js';
83
92
  import '../../../components/result/base-result-current-price.vue.js';
@@ -86,8 +95,6 @@ import '../../../components/result/base-result-link.vue.js';
86
95
  import '../../../components/result/base-result-previous-price.vue.js';
87
96
  import '../../../components/result/base-result-fallback-image.vue.js';
88
97
  import '../../../components/result/base-result-placeholder-image.vue.js';
89
- import '../../../components/scroll/scroll.mixin.js';
90
- import '../../../components/scroll/base-scroll.vue.js';
91
98
  import '../../../components/suggestions/base-suggestion.vue.js';
92
99
  import '../../../components/suggestions/base-suggestions.vue.js';
93
100
  import '../../../components/auto-progress-bar.vue.js';
@@ -98,11 +105,6 @@ import '../../../components/base-variable-column-grid.vue.js';
98
105
  import '../../../components/decorators/debounce.decorators.js';
99
106
  import '../../../components/sliding-panel.vue.js';
100
107
  import '../../../components/items-list.vue.js';
101
- import { State } from '../../../components/decorators/store.decorators.js';
102
- import '../../../components/x-component.utils.js';
103
- import { xComponentMixin } from '../../../components/x-component.mixin.js';
104
- import '../../../components/layouts/multi-column-max-width-layout.vue.js';
105
- import '../../../components/layouts/single-column-layout.vue.js';
106
108
  import '../../../components/location-provider.vue.js';
107
109
  import '../../../components/global-x-bus.vue.js';
108
110
  import '../../../components/snippet-callbacks.vue.js';
@@ -1 +1 @@
1
- {"version":3,"file":"extra-params.vue_rollup-plugin-vue=script.js","sources":["../../../../../src/x-modules/extra-params/components/extra-params.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\nimport Vue from 'vue';\nimport { Component, Prop } from 'vue-property-decorator';\nimport { State, xComponentMixin, XEmit } from '../../../components';\nimport { Dictionary } from '../../../utils';\nimport { extraParamsXModule } from '../x-module';\n\n/**\n * It emits a {@link ExtraParamsXEvents.ExtraParamsProvided} with the values\n * received as a prop.\n *\n * @public\n */\n@Component({\n mixins: [xComponentMixin(extraParamsXModule)]\n})\nexport default class ExtraParams extends Vue {\n /**\n * Emits the initial extra params, overriding with the state extra params, just in case, those\n * values were already set by XComponents initialization (url, plugin config, etc.).\n */\n mounted(): void {\n this.$x.emit('ExtraParamsInitialized', this.values);\n this.$x.emit('ExtraParamsProvided', { ...this.values, ...this.storeExtraParams });\n }\n\n /**\n * (Required) A Dictionary where the keys are the extra param names and its values.\n *\n * @remarks Emits the {@link ExtraParamsXEvents.ExtraParamsProvided} when the\n * component is rendered or the values changed.\n *\n * @public\n */\n @XEmit('ExtraParamsProvided', { deep: true })\n @Prop({ required: true })\n public values!: Dictionary<unknown>;\n\n /**\n * State extra params. Used to override the initial extra params.\n */\n @State('extraParams', 'params')\n public storeExtraParams!: Dictionary<unknown>;\n\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n render(): void {}\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA;;;;;;AASA;IAAyC,+BAAG;IAA5C;;KA8BC;;;;;IAzBC,6BAAO,GAAP;QACE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,wBAAwB,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,qBAAqB,wBAAO,IAAI,CAAC,MAAM,GAAK,IAAI,CAAC,gBAAgB,EAAG,CAAC;KACnF;;IAqBD,4BAAM,GAAN,eAAiB;IATjB;QAFC,KAAK,CAAC,qBAAqB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;QAC5C,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;+CACW;IAMpC;QADC,KAAK,CAAC,aAAa,EAAE,QAAQ,CAAC;yDACe;IA1B3B,WAAW;QAH/B,SAAS,CAAC;YACT,MAAM,EAAE,CAAC,eAAe,CAAC,kBAAkB,CAAC,CAAC;SAC9C,CAAC;OACmB,WAAW,CA8B/B;IAAD,kBAAC;CAAA,CA9BwC,GAAG;;;;"}
1
+ {"version":3,"file":"extra-params.vue_rollup-plugin-vue=script.js","sources":["../../../../../src/x-modules/extra-params/components/extra-params.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\nimport Vue from 'vue';\nimport { Component, Prop } from 'vue-property-decorator';\nimport { State, xComponentMixin, XEmit } from '../../../components';\nimport { Dictionary } from '../../../utils';\nimport { extraParamsXModule } from '../x-module';\n\n/**\n * It emits a {@link ExtraParamsXEvents.ExtraParamsProvided} with the values\n * received as a prop.\n *\n * @public\n */\n@Component({\n mixins: [xComponentMixin(extraParamsXModule)]\n})\nexport default class ExtraParams extends Vue {\n /**\n * Emits the initial extra params, overriding with the state extra params, just in case, those\n * values were already set by XComponents initialization (url, plugin config, etc.).\n */\n mounted(): void {\n this.$x.emit('ExtraParamsInitialized', this.values);\n this.$x.emit('ExtraParamsProvided', { ...this.values, ...this.storeExtraParams });\n }\n\n /**\n * (Required) A Dictionary where the keys are the extra param names and its values.\n *\n * @remarks Emits the {@link ExtraParamsXEvents.ExtraParamsProvided} when the\n * component is rendered or the values changed.\n *\n * @public\n */\n @XEmit('ExtraParamsProvided', { deep: true })\n @Prop({ required: true })\n public values!: Dictionary<unknown>;\n\n /**\n * State extra params. Used to override the initial extra params.\n */\n @State('extraParams', 'params')\n public storeExtraParams!: Dictionary<unknown>;\n\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n render(): void {}\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA;;;;;;AASA;IAAyC,+BAAG;IAA5C;;KA8BC;;;;;IAzBC,6BAAO,GAAP;QACE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,wBAAwB,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,qBAAqB,wBAAO,IAAI,CAAC,MAAM,GAAK,IAAI,CAAC,gBAAgB,EAAG,CAAC;KACnF;;IAqBD,4BAAM,GAAN,eAAiB;IATjB;QAFC,KAAK,CAAC,qBAAqB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;QAC5C,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;+CACW;IAMpC;QADC,KAAK,CAAC,aAAa,EAAE,QAAQ,CAAC;yDACe;IA1B3B,WAAW;QAH/B,SAAS,CAAC;YACT,MAAM,EAAE,CAAC,eAAe,CAAC,kBAAkB,CAAC,CAAC;SAC9C,CAAC;OACmB,WAAW,CA8B/B;IAAD,kBAAC;CAAA,CA9BwC,GAAG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"renderless-extra-param.vue.js","sources":["../../../../../src/x-modules/extra-params/components/renderless-extra-param.vue"],"sourcesContent":["<template>\n <NoElement>\n <slot v-bind=\"{ value, updateValue }\"></slot>\n </NoElement>\n</template>\n\n<script lang=\"ts\">\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n import { NoElement, State, xComponentMixin } from '../../../components';\n import { Dictionary } from '../../../utils';\n import { extraParamsXModule } from '../x-module';\n\n /**\n * It emits a {@link ExtraParamsXEvents.UserChangedExtraParams} when the `updateValue`\n * is called.\n *\n * @public\n */\n @Component({\n mixins: [xComponentMixin(extraParamsXModule)],\n components: {\n NoElement\n }\n })\n export default class RenderlessExtraParam extends Vue {\n /**\n * The extra param's name.\n *\n * @public\n */\n @Prop({ required: true })\n public name!: string;\n\n /**\n * A dictionary with the extra params in the store state.\n *\n * @public\n */\n @State('extraParams', 'params')\n public stateParams!: Dictionary<unknown>;\n\n /**\n * It returns the value of the extra param from the store.\n *\n * @returns - The value from the store.\n *\n * @internal\n */\n protected get value(): unknown {\n return this.stateParams[this.name];\n }\n\n /**\n * It sets the new value to the store.\n *\n * @param newValue - The new value of the extra param.\n *\n * @internal\n */\n protected updateValue(newValue: unknown): void {\n this.$x.emit('UserChangedExtraParams', { [this.name]: newValue });\n }\n }\n</script>\n\n<docs lang=\"mdx\">\n# Examples\n\nRenders default slot content. It binds to the default slot the name of the extra parameter and the\ndefault value of it.\n\n## Basic usage\n\n```vue\n<template>\n <RenderlessExtraParam #default=\"{ value, updateValue }\" name=\"store\">\n <BaseDropdown @change=\"updateValue\" :value=\"value\" :items=\"items\" />\n </RenderlessExtraParam>\n</template>\n\n<script>\n import { RenderlessExtraParams } from '@empathyco/x-components/extra-params';\n import { BaseDropdown } from '@empathyco/x-components';\n\n export default {\n name: 'RenderlessExtraParamsDemo',\n components: {\n RenderlessExtraParams,\n BaseDropdown\n },\n props: ['name'],\n data() {\n return {\n items: ['spain', 'portugal']\n };\n }\n };\n</script>\n```\n</docs>\n"],"names":["const"],"mappings":";;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"renderless-extra-param.vue.js","sources":["../../../../../src/x-modules/extra-params/components/renderless-extra-param.vue"],"sourcesContent":["<template>\n <NoElement>\n <slot v-bind=\"{ value, updateValue }\"></slot>\n </NoElement>\n</template>\n\n<script lang=\"ts\">\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n import { NoElement, State, xComponentMixin } from '../../../components';\n import { Dictionary } from '../../../utils';\n import { extraParamsXModule } from '../x-module';\n\n /**\n * It emits a {@link ExtraParamsXEvents.UserChangedExtraParams} when the `updateValue`\n * is called.\n *\n * @public\n */\n @Component({\n mixins: [xComponentMixin(extraParamsXModule)],\n components: {\n NoElement\n }\n })\n export default class RenderlessExtraParam extends Vue {\n /**\n * The extra param's name.\n *\n * @public\n */\n @Prop({ required: true })\n public name!: string;\n\n /**\n * A dictionary with the extra params in the store state.\n *\n * @public\n */\n @State('extraParams', 'params')\n public stateParams!: Dictionary<unknown>;\n\n /**\n * It returns the value of the extra param from the store.\n *\n * @returns - The value from the store.\n *\n * @internal\n */\n protected get value(): unknown {\n return this.stateParams[this.name];\n }\n\n /**\n * It sets the new value to the store.\n *\n * @param newValue - The new value of the extra param.\n *\n * @internal\n */\n protected updateValue(newValue: unknown): void {\n this.$x.emit('UserChangedExtraParams', { [this.name]: newValue });\n }\n }\n</script>\n\n<docs lang=\"mdx\">\n## Examples\n\nRenders default slot content. It binds to the default slot the name of the extra parameter and the\ndefault value of it.\n\n### Basic usage\n\n```vue\n<template>\n <RenderlessExtraParam #default=\"{ value, updateValue }\" name=\"store\">\n <BaseDropdown @change=\"updateValue\" :value=\"value\" :items=\"items\" />\n </RenderlessExtraParam>\n</template>\n\n<script>\n import { RenderlessExtraParams } from '@empathyco/x-components/extra-params';\n import { BaseDropdown } from '@empathyco/x-components';\n\n export default {\n name: 'RenderlessExtraParamsDemo',\n components: {\n RenderlessExtraParams,\n BaseDropdown\n },\n props: ['name'],\n data() {\n return {\n items: ['spain', 'portugal']\n };\n }\n };\n</script>\n```\n</docs>\n"],"names":["const"],"mappings":";;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -8,7 +8,7 @@ import '../../../components/animations/collapse-height.vue.js';
8
8
  import '../../../components/animations/collapse-width.vue.js';
9
9
  import '../../../components/animations/cross-fade.vue.js';
10
10
  import '../../../components/animations/fade-and-slide.vue.js';
11
- import '../../../components/staggering-transition-group.vue.js';
11
+ import '../../../components/animations/staggering-transition-group.vue.js';
12
12
  import '../../../components/animations/staggered-fade-and-slide.vue.js';
13
13
  import '../../../components/animations/translate-from-left.vue.js';
14
14
  import '../../../components/animations/translate-from-right.vue.js';
@@ -63,21 +63,30 @@ import '../../../components/icons/plus.vue.js';
63
63
  import '../../../components/icons/search.vue.js';
64
64
  import '../../../components/icons/show.vue.js';
65
65
  import '../../../components/icons/search-tiny.vue.js';
66
+ import '../../../components/icons/tag.vue.js';
66
67
  import '../../../components/icons/trash-open.vue.js';
67
68
  import '../../../components/icons/trash.vue.js';
68
69
  import '../../../components/icons/trending-tiny.vue.js';
69
70
  import '../../../components/icons/trending.vue.js';
70
71
  import '../../../components/icons/user.vue.js';
71
- import '../../../components/modals/base-events-modal-close.vue.js';
72
+ import { State } from '../../../components/decorators/store.decorators.js';
73
+ import '../../../components/x-component.utils.js';
74
+ import { xComponentMixin } from '../../../components/x-component.mixin.js';
72
75
  import '../../../components/modals/base-modal.vue.js';
76
+ import '../../../components/modals/base-id-modal.vue.js';
77
+ import '../../../components/scroll/scroll.mixin.js';
78
+ import '../../../components/scroll/base-scroll.vue.js';
79
+ import '../../../components/layouts/fixed-header-and-asides-layout.vue.js';
80
+ import '../../../components/panels/base-toggle-panel.vue.js';
81
+ import '../../../components/panels/base-id-toggle-panel.vue.js';
82
+ import '../../../components/layouts/multi-column-max-width-layout.vue.js';
83
+ import '../../../components/layouts/single-column-layout.vue.js';
84
+ import '../../../components/modals/base-events-modal-close.vue.js';
73
85
  import '../../../components/modals/base-events-modal.vue.js';
74
86
  import '../../../components/modals/base-events-modal-open.vue.js';
75
- import '../../../components/modals/base-id-modal.vue.js';
76
87
  import '../../../components/modals/base-id-modal-close.vue.js';
77
88
  import '../../../components/modals/base-id-modal-open.vue.js';
78
- import '../../../components/panels/base-toggle-panel.vue.js';
79
89
  import '../../../components/panels/base-header-toggle-panel.vue.js';
80
- import '../../../components/panels/base-id-toggle-panel.vue.js';
81
90
  import '../../../components/panels/base-id-toggle-panel-button.vue.js';
82
91
  import '../../../components/result/base-result-add-to-cart.vue.js';
83
92
  import '../../../components/result/base-result-current-price.vue.js';
@@ -86,8 +95,6 @@ import '../../../components/result/base-result-link.vue.js';
86
95
  import '../../../components/result/base-result-previous-price.vue.js';
87
96
  import '../../../components/result/base-result-fallback-image.vue.js';
88
97
  import '../../../components/result/base-result-placeholder-image.vue.js';
89
- import '../../../components/scroll/scroll.mixin.js';
90
- import '../../../components/scroll/base-scroll.vue.js';
91
98
  import '../../../components/suggestions/base-suggestion.vue.js';
92
99
  import '../../../components/suggestions/base-suggestions.vue.js';
93
100
  import '../../../components/auto-progress-bar.vue.js';
@@ -98,11 +105,6 @@ import '../../../components/base-variable-column-grid.vue.js';
98
105
  import '../../../components/decorators/debounce.decorators.js';
99
106
  import '../../../components/sliding-panel.vue.js';
100
107
  import '../../../components/items-list.vue.js';
101
- import { State } from '../../../components/decorators/store.decorators.js';
102
- import '../../../components/x-component.utils.js';
103
- import { xComponentMixin } from '../../../components/x-component.mixin.js';
104
- import '../../../components/layouts/multi-column-max-width-layout.vue.js';
105
- import '../../../components/layouts/single-column-layout.vue.js';
106
108
  import '../../../components/location-provider.vue.js';
107
109
  import '../../../components/global-x-bus.vue.js';
108
110
  import '../../../components/snippet-callbacks.vue.js';
@@ -1 +1 @@
1
- {"version":3,"file":"renderless-extra-param.vue_rollup-plugin-vue=script.js","sources":["../../../../../src/x-modules/extra-params/components/renderless-extra-param.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\n\n\n\n\n\n\nimport Vue from 'vue';\nimport { Component, Prop } from 'vue-property-decorator';\nimport { NoElement, State, xComponentMixin } from '../../../components';\nimport { Dictionary } from '../../../utils';\nimport { extraParamsXModule } from '../x-module';\n\n/**\n * It emits a {@link ExtraParamsXEvents.UserChangedExtraParams} when the `updateValue`\n * is called.\n *\n * @public\n */\n@Component({\n mixins: [xComponentMixin(extraParamsXModule)],\n components: {\n NoElement\n }\n})\nexport default class RenderlessExtraParam extends Vue {\n /**\n * The extra param's name.\n *\n * @public\n */\n @Prop({ required: true })\n public name!: string;\n\n /**\n * A dictionary with the extra params in the store state.\n *\n * @public\n */\n @State('extraParams', 'params')\n public stateParams!: Dictionary<unknown>;\n\n /**\n * It returns the value of the extra param from the store.\n *\n * @returns - The value from the store.\n *\n * @internal\n */\n protected get value(): unknown {\n return this.stateParams[this.name];\n }\n\n /**\n * It sets the new value to the store.\n *\n * @param newValue - The new value of the extra param.\n *\n * @internal\n */\n protected updateValue(newValue: unknown): void {\n this.$x.emit('UserChangedExtraParams', { [this.name]: newValue });\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA;;;;;;AAYA;IAAkD,wCAAG;IAArD;;KAsCC;IAdC,sBAAc,uCAAK;;;;;;;;aAAnB;YACE,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SACpC;;;OAAA;;;;;;;;IASS,0CAAW,GAArB,UAAsB,QAAiB;;QACrC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,wBAAwB,YAAI,GAAC,IAAI,CAAC,IAAI,IAAG,QAAQ,MAAG,CAAC;KACnE;IA9BD;QADC,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;sDACJ;IAQrB;QADC,KAAK,CAAC,aAAa,EAAE,QAAQ,CAAC;6DACU;IAftB,oBAAoB;QANxC,SAAS,CAAC;YACT,MAAM,EAAE,CAAC,eAAe,CAAC,kBAAkB,CAAC,CAAC;YAC7C,UAAU,EAAE;gBACV,SAAS,WAAA;aACV;SACF,CAAC;OACmB,oBAAoB,CAsCxC;IAAD,2BAAC;CAAA,CAtCiD,GAAG;;;;"}
1
+ {"version":3,"file":"renderless-extra-param.vue_rollup-plugin-vue=script.js","sources":["../../../../../src/x-modules/extra-params/components/renderless-extra-param.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\n\n\n\n\n\n\nimport Vue from 'vue';\nimport { Component, Prop } from 'vue-property-decorator';\nimport { NoElement, State, xComponentMixin } from '../../../components';\nimport { Dictionary } from '../../../utils';\nimport { extraParamsXModule } from '../x-module';\n\n/**\n * It emits a {@link ExtraParamsXEvents.UserChangedExtraParams} when the `updateValue`\n * is called.\n *\n * @public\n */\n@Component({\n mixins: [xComponentMixin(extraParamsXModule)],\n components: {\n NoElement\n }\n})\nexport default class RenderlessExtraParam extends Vue {\n /**\n * The extra param's name.\n *\n * @public\n */\n @Prop({ required: true })\n public name!: string;\n\n /**\n * A dictionary with the extra params in the store state.\n *\n * @public\n */\n @State('extraParams', 'params')\n public stateParams!: Dictionary<unknown>;\n\n /**\n * It returns the value of the extra param from the store.\n *\n * @returns - The value from the store.\n *\n * @internal\n */\n protected get value(): unknown {\n return this.stateParams[this.name];\n }\n\n /**\n * It sets the new value to the store.\n *\n * @param newValue - The new value of the extra param.\n *\n * @internal\n */\n protected updateValue(newValue: unknown): void {\n this.$x.emit('UserChangedExtraParams', { [this.name]: newValue });\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA;;;;;;AAYA;IAAkD,wCAAG;IAArD;;KAsCC;IAdC,sBAAc,uCAAK;;;;;;;;aAAnB;YACE,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SACpC;;;OAAA;;;;;;;;IASS,0CAAW,GAArB,UAAsB,QAAiB;;QACrC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,wBAAwB,YAAI,GAAC,IAAI,CAAC,IAAI,IAAG,QAAQ,MAAG,CAAC;KACnE;IA9BD;QADC,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;sDACJ;IAQrB;QADC,KAAK,CAAC,aAAa,EAAE,QAAQ,CAAC;6DACU;IAftB,oBAAoB;QANxC,SAAS,CAAC;YACT,MAAM,EAAE,CAAC,eAAe,CAAC,kBAAkB,CAAC,CAAC;YAC7C,UAAU,EAAE;gBACV,SAAS,WAAA;aACV;SACF,CAAC;OACmB,oBAAoB,CAsCxC;IAAD,2BAAC;CAAA,CAtCiD,GAAG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"snippet-config-extra-params.vue.js","sources":["../../../../../src/x-modules/extra-params/components/snippet-config-extra-params.vue"],"sourcesContent":["<template>\n <ExtraParams :values=\"extraParams\" />\n</template>\n\n<script lang=\"ts\">\n import Vue from 'vue';\n import { Component, Watch, Inject } from 'vue-property-decorator';\n import { xComponentMixin } from '../../../components';\n import { Dictionary, forEach } from '../../../utils';\n import { SnippetConfig } from '../../../x-installer';\n import { extraParamsXModule } from '../x-module';\n import ExtraParams from './extra-params.vue';\n\n /**\n * Extracts the extra parameters from the {@link SnippetConfig} and syncs it with the request\n * objects of every x-module.\n *\n * @public\n */\n @Component({\n components: { ExtraParams },\n mixins: [xComponentMixin(extraParamsXModule)]\n })\n export default class SnippetConfigExtraParams extends Vue {\n /**\n * It injects {@link SnippetConfig} provided by an ancestor as snippetConfig.\n *\n * @internal\n */\n @Inject('snippetConfig')\n public snippetConfig!: SnippetConfig;\n\n /**\n * Custom object containing the extra params from the snippet config.\n *\n * @remarks This object keeps manually the desired snippet config properties to avoid\n * unnecessary re-renders.\n *\n * @internal\n */\n protected extraParams: Dictionary<unknown> = {};\n\n /**\n * Updates the extraParams object when the snippet config changes.\n *\n * @param snippetConfig - The new snippet config.\n *\n * @internal\n */\n @Watch('snippetConfig', { deep: true, immediate: true })\n syncExtraParams({\n instance,\n scope,\n lang,\n searchLang,\n consent,\n documentDirection,\n currency,\n ...snippetExtraParams\n }: SnippetConfig): void {\n forEach(snippetExtraParams, (name, value) => {\n this.$set(this.extraParams, name, value);\n });\n }\n }\n</script>\n\n<docs lang=\"mdx\">\n## See it in action\n\n_See how the snippet config is injected and passed to the SnippetConfigExtraParams component._\n\n```vue\n<template>\n <Provider>\n <SnippetConfigExtraParams />\n </Provider>\n</template>\n\n<script>\n import { SnippetConfigExtraParams } from '@empathyco/x-components/extra-params';\n\n const Provider = {\n provide: {\n snippetConfig: {\n instance: 'demo',\n lang: 'es',\n warehouse: 1234\n }\n }\n };\n\n export default {\n name: 'SnippetConfigExtraParamsDemo',\n components: {\n Provider,\n SnippetConfigExtraParams\n }\n };\n</script>\n```\n</docs>\n"],"names":["const"],"mappings":";;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"snippet-config-extra-params.vue.js","sources":["../../../../../src/x-modules/extra-params/components/snippet-config-extra-params.vue"],"sourcesContent":["<template>\n <ExtraParams :values=\"extraParams\" />\n</template>\n\n<script lang=\"ts\">\n import Vue from 'vue';\n import { Component, Watch, Inject } from 'vue-property-decorator';\n import { xComponentMixin } from '../../../components';\n import { Dictionary, forEach } from '../../../utils';\n import { SnippetConfig } from '../../../x-installer';\n import { extraParamsXModule } from '../x-module';\n import ExtraParams from './extra-params.vue';\n\n /**\n * Extracts the extra parameters from the {@link SnippetConfig} and syncs it with the request\n * objects of every x-module.\n *\n * @public\n */\n @Component({\n components: { ExtraParams },\n mixins: [xComponentMixin(extraParamsXModule)]\n })\n export default class SnippetConfigExtraParams extends Vue {\n /**\n * It injects {@link SnippetConfig} provided by an ancestor as snippetConfig.\n *\n * @internal\n */\n @Inject('snippetConfig')\n public snippetConfig!: SnippetConfig;\n\n /**\n * Custom object containing the extra params from the snippet config.\n *\n * @remarks This object keeps manually the desired snippet config properties to avoid\n * unnecessary re-renders.\n *\n * @internal\n */\n protected extraParams: Dictionary<unknown> = {};\n\n /**\n * Collection of properties from the snippet config not allowed to be sent as extra params.\n *\n * @internal\n */\n protected notAllowedExtraParams: Array<keyof SnippetConfig> = ['callbacks'];\n\n /**\n * Updates the extraParams object when the snippet config changes.\n *\n * @param snippetConfig - The new snippet config.\n *\n * @internal\n */\n @Watch('snippetConfig', { deep: true, immediate: true })\n syncExtraParams({\n instance,\n scope,\n lang,\n searchLang,\n consent,\n documentDirection,\n currency,\n ...snippetExtraParams\n }: SnippetConfig): void {\n forEach(snippetExtraParams, (name, value) => {\n if (this.notAllowedExtraParams.includes(name)) {\n return;\n }\n this.$set(this.extraParams, name, value);\n });\n }\n }\n</script>\n\n<docs lang=\"mdx\">\n## See it in action\n\n_See how the snippet config is injected and passed to the SnippetConfigExtraParams component._\n\n```vue\n<template>\n <Provider>\n <SnippetConfigExtraParams />\n </Provider>\n</template>\n\n<script>\n import { SnippetConfigExtraParams } from '@empathyco/x-components/extra-params';\n\n const Provider = {\n provide: {\n snippetConfig: {\n instance: 'demo',\n lang: 'es',\n warehouse: 1234\n }\n }\n };\n\n export default {\n name: 'SnippetConfigExtraParamsDemo',\n components: {\n Provider,\n SnippetConfigExtraParams\n }\n };\n</script>\n```\n</docs>\n"],"names":["const"],"mappings":";;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -25,7 +25,7 @@ import '../../../utils/sanitize.js';
25
25
  import '../../../utils/storage.js';
26
26
  import '../../../utils/string.js';
27
27
  import '../../../utils/throttle.js';
28
- import '../../../components/staggering-transition-group.vue.js';
28
+ import '../../../components/animations/staggering-transition-group.vue.js';
29
29
  import '../../../components/animations/staggered-fade-and-slide.vue.js';
30
30
  import '../../../components/animations/translate-from-left.vue.js';
31
31
  import '../../../components/animations/translate-from-right.vue.js';
@@ -80,21 +80,30 @@ import '../../../components/icons/plus.vue.js';
80
80
  import '../../../components/icons/search.vue.js';
81
81
  import '../../../components/icons/show.vue.js';
82
82
  import '../../../components/icons/search-tiny.vue.js';
83
+ import '../../../components/icons/tag.vue.js';
83
84
  import '../../../components/icons/trash-open.vue.js';
84
85
  import '../../../components/icons/trash.vue.js';
85
86
  import '../../../components/icons/trending-tiny.vue.js';
86
87
  import '../../../components/icons/trending.vue.js';
87
88
  import '../../../components/icons/user.vue.js';
88
- import '../../../components/modals/base-events-modal-close.vue.js';
89
+ import '../../../components/decorators/store.decorators.js';
90
+ import '../../../components/x-component.utils.js';
91
+ import { xComponentMixin } from '../../../components/x-component.mixin.js';
89
92
  import '../../../components/modals/base-modal.vue.js';
93
+ import '../../../components/modals/base-id-modal.vue.js';
94
+ import '../../../components/scroll/scroll.mixin.js';
95
+ import '../../../components/scroll/base-scroll.vue.js';
96
+ import '../../../components/layouts/fixed-header-and-asides-layout.vue.js';
97
+ import '../../../components/panels/base-toggle-panel.vue.js';
98
+ import '../../../components/panels/base-id-toggle-panel.vue.js';
99
+ import '../../../components/layouts/multi-column-max-width-layout.vue.js';
100
+ import '../../../components/layouts/single-column-layout.vue.js';
101
+ import '../../../components/modals/base-events-modal-close.vue.js';
90
102
  import '../../../components/modals/base-events-modal.vue.js';
91
103
  import '../../../components/modals/base-events-modal-open.vue.js';
92
- import '../../../components/modals/base-id-modal.vue.js';
93
104
  import '../../../components/modals/base-id-modal-close.vue.js';
94
105
  import '../../../components/modals/base-id-modal-open.vue.js';
95
- import '../../../components/panels/base-toggle-panel.vue.js';
96
106
  import '../../../components/panels/base-header-toggle-panel.vue.js';
97
- import '../../../components/panels/base-id-toggle-panel.vue.js';
98
107
  import '../../../components/panels/base-id-toggle-panel-button.vue.js';
99
108
  import '../../../components/result/base-result-add-to-cart.vue.js';
100
109
  import '../../../components/result/base-result-current-price.vue.js';
@@ -103,8 +112,6 @@ import '../../../components/result/base-result-link.vue.js';
103
112
  import '../../../components/result/base-result-previous-price.vue.js';
104
113
  import '../../../components/result/base-result-fallback-image.vue.js';
105
114
  import '../../../components/result/base-result-placeholder-image.vue.js';
106
- import '../../../components/scroll/scroll.mixin.js';
107
- import '../../../components/scroll/base-scroll.vue.js';
108
115
  import '../../../components/suggestions/base-suggestion.vue.js';
109
116
  import '../../../components/suggestions/base-suggestions.vue.js';
110
117
  import '../../../components/auto-progress-bar.vue.js';
@@ -115,11 +122,6 @@ import '../../../components/base-variable-column-grid.vue.js';
115
122
  import '../../../components/decorators/debounce.decorators.js';
116
123
  import '../../../components/sliding-panel.vue.js';
117
124
  import '../../../components/items-list.vue.js';
118
- import '../../../components/decorators/store.decorators.js';
119
- import '../../../components/x-component.utils.js';
120
- import { xComponentMixin } from '../../../components/x-component.mixin.js';
121
- import '../../../components/layouts/multi-column-max-width-layout.vue.js';
122
- import '../../../components/layouts/single-column-layout.vue.js';
123
125
  import '../../../components/location-provider.vue.js';
124
126
  import '../../../components/global-x-bus.vue.js';
125
127
  import '../../../components/snippet-callbacks.vue.js';
@@ -146,6 +148,12 @@ var SnippetConfigExtraParams = /** @class */ (function (_super) {
146
148
  * @internal
147
149
  */
148
150
  _this.extraParams = {};
151
+ /**
152
+ * Collection of properties from the snippet config not allowed to be sent as extra params.
153
+ *
154
+ * @internal
155
+ */
156
+ _this.notAllowedExtraParams = ['callbacks'];
149
157
  return _this;
150
158
  }
151
159
  /**
@@ -159,6 +167,9 @@ var SnippetConfigExtraParams = /** @class */ (function (_super) {
159
167
  var _this = this;
160
168
  var instance = _a.instance, scope = _a.scope, lang = _a.lang, searchLang = _a.searchLang, consent = _a.consent, documentDirection = _a.documentDirection, currency = _a.currency, snippetExtraParams = __rest(_a, ["instance", "scope", "lang", "searchLang", "consent", "documentDirection", "currency"]);
161
169
  forEach(snippetExtraParams, function (name, value) {
170
+ if (_this.notAllowedExtraParams.includes(name)) {
171
+ return;
172
+ }
162
173
  _this.$set(_this.extraParams, name, value);
163
174
  });
164
175
  };
@@ -1 +1 @@
1
- {"version":3,"file":"snippet-config-extra-params.vue_rollup-plugin-vue=script.js","sources":["../../../../../src/x-modules/extra-params/components/snippet-config-extra-params.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\n\n\n\n\nimport Vue from 'vue';\nimport { Component, Watch, Inject } from 'vue-property-decorator';\nimport { xComponentMixin } from '../../../components';\nimport { Dictionary, forEach } from '../../../utils';\nimport { SnippetConfig } from '../../../x-installer';\nimport { extraParamsXModule } from '../x-module';\nimport ExtraParams from './extra-params.vue';\n\n/**\n * Extracts the extra parameters from the {@link SnippetConfig} and syncs it with the request\n * objects of every x-module.\n *\n * @public\n */\n@Component({\n components: { ExtraParams },\n mixins: [xComponentMixin(extraParamsXModule)]\n})\nexport default class SnippetConfigExtraParams extends Vue {\n /**\n * It injects {@link SnippetConfig} provided by an ancestor as snippetConfig.\n *\n * @internal\n */\n @Inject('snippetConfig')\n public snippetConfig!: SnippetConfig;\n\n /**\n * Custom object containing the extra params from the snippet config.\n *\n * @remarks This object keeps manually the desired snippet config properties to avoid\n * unnecessary re-renders.\n *\n * @internal\n */\n protected extraParams: Dictionary<unknown> = {};\n\n /**\n * Updates the extraParams object when the snippet config changes.\n *\n * @param snippetConfig - The new snippet config.\n *\n * @internal\n */\n @Watch('snippetConfig', { deep: true, immediate: true })\n syncExtraParams({\n instance,\n scope,\n lang,\n searchLang,\n consent,\n documentDirection,\n currency,\n ...snippetExtraParams\n }: SnippetConfig): void {\n forEach(snippetExtraParams, (name, value) => {\n this.$set(this.extraParams, name, value);\n });\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA;;;;;;AAUA;IAAsD,4CAAG;IAAzD;QAAA,qEAyCC;;;;;;;;;QAxBW,iBAAW,GAAwB,EAAE,CAAC;;KAwBjD;;;;;;;;IAdC,kDAAe,GAAf,UAAgB,EASA;QAVhB,iBAcC;QAZC,IAAA,QAAQ,cAAA,EACR,KAAK,WAAA,EACL,IAAI,UAAA,EACJ,UAAU,gBAAA,EACV,OAAO,aAAA,EACP,iBAAiB,uBAAA,EACjB,QAAQ,cAAA,EACL,kBAAkB,cARP,uFASf,CADsB;QAErB,OAAO,CAAC,kBAAkB,EAAE,UAAC,IAAI,EAAE,KAAK;YACtC,KAAI,CAAC,IAAI,CAAC,KAAI,CAAC,WAAW,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;SAC1C,CAAC,CAAC;KACJ;IAjCD;QADC,MAAM,CAAC,eAAe,CAAC;mEACa;IAoBrC;QADC,KAAK,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;mEAcvD;IAxCkB,wBAAwB;QAJ5C,SAAS,CAAC;YACT,UAAU,EAAE,EAAE,WAAW,aAAA,EAAE;YAC3B,MAAM,EAAE,CAAC,eAAe,CAAC,kBAAkB,CAAC,CAAC;SAC9C,CAAC;OACmB,wBAAwB,CAyC5C;IAAD,+BAAC;CAAA,CAzCqD,GAAG;;;;"}
1
+ {"version":3,"file":"snippet-config-extra-params.vue_rollup-plugin-vue=script.js","sources":["../../../../../src/x-modules/extra-params/components/snippet-config-extra-params.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\n\n\n\n\nimport Vue from 'vue';\nimport { Component, Watch, Inject } from 'vue-property-decorator';\nimport { xComponentMixin } from '../../../components';\nimport { Dictionary, forEach } from '../../../utils';\nimport { SnippetConfig } from '../../../x-installer';\nimport { extraParamsXModule } from '../x-module';\nimport ExtraParams from './extra-params.vue';\n\n/**\n * Extracts the extra parameters from the {@link SnippetConfig} and syncs it with the request\n * objects of every x-module.\n *\n * @public\n */\n@Component({\n components: { ExtraParams },\n mixins: [xComponentMixin(extraParamsXModule)]\n})\nexport default class SnippetConfigExtraParams extends Vue {\n /**\n * It injects {@link SnippetConfig} provided by an ancestor as snippetConfig.\n *\n * @internal\n */\n @Inject('snippetConfig')\n public snippetConfig!: SnippetConfig;\n\n /**\n * Custom object containing the extra params from the snippet config.\n *\n * @remarks This object keeps manually the desired snippet config properties to avoid\n * unnecessary re-renders.\n *\n * @internal\n */\n protected extraParams: Dictionary<unknown> = {};\n\n /**\n * Collection of properties from the snippet config not allowed to be sent as extra params.\n *\n * @internal\n */\n protected notAllowedExtraParams: Array<keyof SnippetConfig> = ['callbacks'];\n\n /**\n * Updates the extraParams object when the snippet config changes.\n *\n * @param snippetConfig - The new snippet config.\n *\n * @internal\n */\n @Watch('snippetConfig', { deep: true, immediate: true })\n syncExtraParams({\n instance,\n scope,\n lang,\n searchLang,\n consent,\n documentDirection,\n currency,\n ...snippetExtraParams\n }: SnippetConfig): void {\n forEach(snippetExtraParams, (name, value) => {\n if (this.notAllowedExtraParams.includes(name)) {\n return;\n }\n this.$set(this.extraParams, name, value);\n });\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA;;;;;;AAUA;IAAsD,4CAAG;IAAzD;QAAA,qEAmDC;;;;;;;;;QAlCW,iBAAW,GAAwB,EAAE,CAAC;;;;;;QAOtC,2BAAqB,GAA+B,CAAC,WAAW,CAAC,CAAC;;KA2B7E;;;;;;;;IAjBC,kDAAe,GAAf,UAAgB,EASA;QAVhB,iBAiBC;QAfC,IAAA,QAAQ,cAAA,EACR,KAAK,WAAA,EACL,IAAI,UAAA,EACJ,UAAU,gBAAA,EACV,OAAO,aAAA,EACP,iBAAiB,uBAAA,EACjB,QAAQ,cAAA,EACL,kBAAkB,cARP,uFASf,CADsB;QAErB,OAAO,CAAC,kBAAkB,EAAE,UAAC,IAAI,EAAE,KAAK;YACtC,IAAI,KAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;gBAC7C,OAAO;aACR;YACD,KAAI,CAAC,IAAI,CAAC,KAAI,CAAC,WAAW,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;SAC1C,CAAC,CAAC;KACJ;IA3CD;QADC,MAAM,CAAC,eAAe,CAAC;mEACa;IA2BrC;QADC,KAAK,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;mEAiBvD;IAlDkB,wBAAwB;QAJ5C,SAAS,CAAC;YACT,UAAU,EAAE,EAAE,WAAW,aAAA,EAAE;YAC3B,MAAM,EAAE,CAAC,eAAe,CAAC,kBAAkB,CAAC,CAAC;SAC9C,CAAC;OACmB,wBAAwB,CAmD5C;IAAD,+BAAC;CAAA,CAnDqD,GAAG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"clear-filters.vue.js","sources":["../../../../../src/x-modules/facets/components/clear-filters.vue"],"sourcesContent":["<template>\n <BaseEventButton\n v-if=\"show\"\n class=\"x-button x-clear-filters\"\n data-test=\"clear-filters\"\n :disabled=\"!areThereSelectedFilters\"\n :events=\"events\"\n :class=\"cssClasses\"\n >\n <slot :selectedFilters=\"facetsSelectedFilters\">\n Clear Filters ({{ facetsSelectedFilters.length }})\n </slot>\n </BaseEventButton>\n</template>\n\n<script lang=\"ts\">\n import { Facet, Filter, isFacetFilter } from '@empathyco/x-types';\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n import { Getter, xComponentMixin } from '../../../components';\n import BaseEventButton from '../../../components/base-event-button.vue';\n import { VueCSSClasses } from '../../../utils';\n import { XEventsTypes } from '../../../wiring';\n import { facetsXModule } from '../x-module';\n\n /**\n * Renders a simple button, emitting the needed events when clicked.\n *\n * @public\n */\n @Component({\n components: { BaseEventButton },\n mixins: [xComponentMixin(facetsXModule)]\n })\n export default class ClearFilters extends Vue {\n /**\n * It handles if the ClearFilters button is always visible no matter if there are not\n * filters selected. If false, the ClearFilters button is not visible whether\n * there are no filters selected.\n *\n * @public\n */\n @Prop({ default: false })\n public alwaysVisible!: boolean;\n\n /**\n * Array of facets ids that will be passed to event like payload.\n *\n * @public\n */\n @Prop()\n public facetsIds?: Array<Facet['id']>;\n\n /**\n * Get the selected filters from store.\n *\n * @internal\n */\n @Getter('facets', 'selectedFilters')\n public allSelectedFilters!: Filter[];\n\n /**\n * If alwaysVisible prop is true, ClearAllFilters button is always shown, but disabled\n * if there are no filters selected.\n * If alwaysVisible prop is false, ClearAllFilters button is shown whether there\n * are some filter selected.\n *\n * @returns True if alwaysVisible is true or in the opposite case true or false depends\n * on if there are selected filters or not.\n *\n * @internal\n */\n protected get show(): boolean {\n return this.alwaysVisible || this.areThereSelectedFilters;\n }\n\n /**\n * Get selected filters.\n * If there are facets ids, get selected filters whose facet id match with some of facets ids.\n * If there aren't facets ids, get selected filters.\n *\n * @returns Array of selected filters depends on there are facets ids or not.\n * @internal\n */\n protected get facetsSelectedFilters(): Filter[] {\n if (this.facetsIds) {\n return this.allSelectedFilters.filter(\n filter => isFacetFilter(filter) && this.facetsIds!.includes(filter.facetId)\n );\n } else {\n return this.allSelectedFilters;\n }\n }\n\n /**\n * Check if there are selected filters.\n *\n * @returns True or false depends on if there are facets ids and if there are selected filters.\n * @internal\n */\n protected get areThereSelectedFilters(): boolean {\n return !!this.facetsSelectedFilters.length;\n }\n\n /**\n * The events that will be emitted when the button clear filters is clicked.\n *\n * @returns The events to be emitted when the button clear filters is clicked.\n * @internal\n */\n protected get events(): Partial<XEventsTypes> {\n return this.facetsIds\n ? {\n UserClickedClearAllFilters: this.facetsIds\n }\n : {\n UserClickedClearAllFilters: undefined\n };\n }\n\n /**\n * Dynamic CSS classes to apply to the component.\n *\n * @returns The dynamic CSS classes to apply to the component.\n * @internal\n */\n protected get cssClasses(): VueCSSClasses {\n return {\n 'x-clear-filters--has-not-selected-filters': !this.areThereSelectedFilters,\n 'x-clear-filters--has-selected-filters': this.areThereSelectedFilters\n };\n }\n }\n</script>\n\n<docs lang=\"mdx\">\n# Examples\n\nThis component renders a button, which on clicked emits the `UserClickedClearAllFilters` or\n`UserClickedClearAllFilters` event.\n\n## Basic usage\n\n```vue\n<ClearFilters />\n```\n\n## Customizing its contents\n\nIn this example, show the custom message in button.\n\n```vue\n<ClearFilters v-slot=\"{ selectedFilters }\">\n Delete {{ selectedFilters.length }} selected\n</ClearFilters>\n```\n\nIn this example, show the custom message in button with always visible a true and list of facets\nids.\n\n```vue\n<ClearFilters v-slot=\"{ selectedFilters }\" :alwaysVisible=\"true\" :facetsIds=\"facetsIds\">\n Delete {{ selectedFilters.length }} selected\n</ClearFilters>\n```\n\n## Events\n\nA list of events that the component will emit:\n\n- `UserClickedClearAllFilters`: the event is emitted after the user clicks the button to clear a\n certain facets filter. The event payload is the id of the facets that are going to be cleared.\n- `UserClickedClearAllFilters`: the event is emitted after the user clicks the button. The event\n payload is undefined.\n</docs>\n"],"names":["const"],"mappings":";;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"clear-filters.vue.js","sources":["../../../../../src/x-modules/facets/components/clear-filters.vue"],"sourcesContent":["<template>\n <BaseEventButton\n v-if=\"show\"\n class=\"x-button x-clear-filters\"\n data-test=\"clear-filters\"\n :disabled=\"!areThereSelectedFilters\"\n :events=\"events\"\n :class=\"cssClasses\"\n >\n <slot :selectedFilters=\"facetsSelectedFilters\">\n Clear Filters ({{ facetsSelectedFilters.length }})\n </slot>\n </BaseEventButton>\n</template>\n\n<script lang=\"ts\">\n import { Facet, Filter, isFacetFilter } from '@empathyco/x-types';\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n import { Getter, xComponentMixin } from '../../../components';\n import BaseEventButton from '../../../components/base-event-button.vue';\n import { VueCSSClasses } from '../../../utils';\n import { XEventsTypes } from '../../../wiring';\n import { facetsXModule } from '../x-module';\n\n /**\n * Renders a simple button, emitting the needed events when clicked.\n *\n * @public\n */\n @Component({\n components: { BaseEventButton },\n mixins: [xComponentMixin(facetsXModule)]\n })\n export default class ClearFilters extends Vue {\n /**\n * It handles if the ClearFilters button is always visible no matter if there are not\n * filters selected. If false, the ClearFilters button is not visible whether\n * there are no filters selected.\n *\n * @public\n */\n @Prop({ default: false })\n public alwaysVisible!: boolean;\n\n /**\n * Array of facets ids that will be passed to event like payload.\n *\n * @public\n */\n @Prop()\n public facetsIds?: Array<Facet['id']>;\n\n /**\n * Get the selected filters from store.\n *\n * @internal\n */\n @Getter('facets', 'selectedFilters')\n public allSelectedFilters!: Filter[];\n\n /**\n * If alwaysVisible prop is true, ClearAllFilters button is always shown, but disabled\n * if there are no filters selected.\n * If alwaysVisible prop is false, ClearAllFilters button is shown whether there\n * are some filter selected.\n *\n * @returns True if alwaysVisible is true or in the opposite case true or false depends\n * on if there are selected filters or not.\n *\n * @internal\n */\n protected get show(): boolean {\n return this.alwaysVisible || this.areThereSelectedFilters;\n }\n\n /**\n * Get selected filters.\n * If there are facets ids, get selected filters whose facet id match with some of facets ids.\n * If there aren't facets ids, get selected filters.\n *\n * @returns Array of selected filters depends on there are facets ids or not.\n * @internal\n */\n protected get facetsSelectedFilters(): Filter[] {\n if (this.facetsIds) {\n return this.allSelectedFilters.filter(\n filter => isFacetFilter(filter) && this.facetsIds!.includes(filter.facetId)\n );\n } else {\n return this.allSelectedFilters;\n }\n }\n\n /**\n * Check if there are selected filters.\n *\n * @returns True or false depends on if there are facets ids and if there are selected filters.\n * @internal\n */\n protected get areThereSelectedFilters(): boolean {\n return !!this.facetsSelectedFilters.length;\n }\n\n /**\n * The events that will be emitted when the button clear filters is clicked.\n *\n * @returns The events to be emitted when the button clear filters is clicked.\n * @internal\n */\n protected get events(): Partial<XEventsTypes> {\n return this.facetsIds\n ? {\n UserClickedClearAllFilters: this.facetsIds\n }\n : {\n UserClickedClearAllFilters: undefined\n };\n }\n\n /**\n * Dynamic CSS classes to apply to the component.\n *\n * @returns The dynamic CSS classes to apply to the component.\n * @internal\n */\n protected get cssClasses(): VueCSSClasses {\n return {\n 'x-clear-filters--has-not-selected-filters': !this.areThereSelectedFilters,\n 'x-clear-filters--has-selected-filters': this.areThereSelectedFilters\n };\n }\n }\n</script>\n\n<docs lang=\"mdx\">\n## Examples\n\nThis component renders a button, which on clicked emits the `UserClickedClearAllFilters` or\n`UserClickedClearAllFilters` event.\n\n### Basic usage\n\n```vue\n<ClearFilters />\n```\n\n### Customizing its contents\n\nIn this example, show the custom message in button.\n\n```vue\n<ClearFilters v-slot=\"{ selectedFilters }\">\n Delete {{ selectedFilters.length }} selected\n</ClearFilters>\n```\n\nIn this example, show the custom message in button with always visible a true and list of facets\nids.\n\n```vue\n<ClearFilters v-slot=\"{ selectedFilters }\" :alwaysVisible=\"true\" :facetsIds=\"facetsIds\">\n Delete {{ selectedFilters.length }} selected\n</ClearFilters>\n```\n\n## Events\n\nA list of events that the component will emit:\n\n- `UserClickedClearAllFilters`: the event is emitted after the user clicks the button to clear a\n certain facets filter. The event payload is the id of the facets that are going to be cleared.\n- `UserClickedClearAllFilters`: the event is emitted after the user clicks the button. The event\n payload is undefined.\n</docs>\n"],"names":["const"],"mappings":";;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -8,7 +8,7 @@ import '../../../components/animations/collapse-height.vue.js';
8
8
  import '../../../components/animations/collapse-width.vue.js';
9
9
  import '../../../components/animations/cross-fade.vue.js';
10
10
  import '../../../components/animations/fade-and-slide.vue.js';
11
- import '../../../components/staggering-transition-group.vue.js';
11
+ import '../../../components/animations/staggering-transition-group.vue.js';
12
12
  import '../../../components/animations/staggered-fade-and-slide.vue.js';
13
13
  import '../../../components/animations/translate-from-left.vue.js';
14
14
  import '../../../components/animations/translate-from-right.vue.js';
@@ -63,21 +63,30 @@ import '../../../components/icons/plus.vue.js';
63
63
  import '../../../components/icons/search.vue.js';
64
64
  import '../../../components/icons/show.vue.js';
65
65
  import '../../../components/icons/search-tiny.vue.js';
66
+ import '../../../components/icons/tag.vue.js';
66
67
  import '../../../components/icons/trash-open.vue.js';
67
68
  import '../../../components/icons/trash.vue.js';
68
69
  import '../../../components/icons/trending-tiny.vue.js';
69
70
  import '../../../components/icons/trending.vue.js';
70
71
  import '../../../components/icons/user.vue.js';
71
- import '../../../components/modals/base-events-modal-close.vue.js';
72
+ import { Getter } from '../../../components/decorators/store.decorators.js';
73
+ import '../../../components/x-component.utils.js';
74
+ import { xComponentMixin } from '../../../components/x-component.mixin.js';
72
75
  import '../../../components/modals/base-modal.vue.js';
76
+ import '../../../components/modals/base-id-modal.vue.js';
77
+ import '../../../components/scroll/scroll.mixin.js';
78
+ import '../../../components/scroll/base-scroll.vue.js';
79
+ import '../../../components/layouts/fixed-header-and-asides-layout.vue.js';
80
+ import '../../../components/panels/base-toggle-panel.vue.js';
81
+ import '../../../components/panels/base-id-toggle-panel.vue.js';
82
+ import '../../../components/layouts/multi-column-max-width-layout.vue.js';
83
+ import '../../../components/layouts/single-column-layout.vue.js';
84
+ import '../../../components/modals/base-events-modal-close.vue.js';
73
85
  import '../../../components/modals/base-events-modal.vue.js';
74
86
  import '../../../components/modals/base-events-modal-open.vue.js';
75
- import '../../../components/modals/base-id-modal.vue.js';
76
87
  import '../../../components/modals/base-id-modal-close.vue.js';
77
88
  import '../../../components/modals/base-id-modal-open.vue.js';
78
- import '../../../components/panels/base-toggle-panel.vue.js';
79
89
  import '../../../components/panels/base-header-toggle-panel.vue.js';
80
- import '../../../components/panels/base-id-toggle-panel.vue.js';
81
90
  import '../../../components/panels/base-id-toggle-panel-button.vue.js';
82
91
  import '../../../components/result/base-result-add-to-cart.vue.js';
83
92
  import '../../../components/result/base-result-current-price.vue.js';
@@ -86,8 +95,6 @@ import '../../../components/result/base-result-link.vue.js';
86
95
  import '../../../components/result/base-result-previous-price.vue.js';
87
96
  import '../../../components/result/base-result-fallback-image.vue.js';
88
97
  import '../../../components/result/base-result-placeholder-image.vue.js';
89
- import '../../../components/scroll/scroll.mixin.js';
90
- import '../../../components/scroll/base-scroll.vue.js';
91
98
  import '../../../components/suggestions/base-suggestion.vue.js';
92
99
  import '../../../components/suggestions/base-suggestions.vue.js';
93
100
  import '../../../components/auto-progress-bar.vue.js';
@@ -98,11 +105,6 @@ import '../../../components/base-variable-column-grid.vue.js';
98
105
  import '../../../components/decorators/debounce.decorators.js';
99
106
  import '../../../components/sliding-panel.vue.js';
100
107
  import '../../../components/items-list.vue.js';
101
- import { Getter } from '../../../components/decorators/store.decorators.js';
102
- import '../../../components/x-component.utils.js';
103
- import { xComponentMixin } from '../../../components/x-component.mixin.js';
104
- import '../../../components/layouts/multi-column-max-width-layout.vue.js';
105
- import '../../../components/layouts/single-column-layout.vue.js';
106
108
  import '../../../components/location-provider.vue.js';
107
109
  import '../../../components/global-x-bus.vue.js';
108
110
  import '../../../components/snippet-callbacks.vue.js';
@@ -1 +1 @@
1
- {"version":3,"file":"clear-filters.vue_rollup-plugin-vue=script.js","sources":["../../../../../src/x-modules/facets/components/clear-filters.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Facet, Filter, isFacetFilter } from '@empathyco/x-types';\nimport Vue from 'vue';\nimport { Component, Prop } from 'vue-property-decorator';\nimport { Getter, xComponentMixin } from '../../../components';\nimport BaseEventButton from '../../../components/base-event-button.vue';\nimport { VueCSSClasses } from '../../../utils';\nimport { XEventsTypes } from '../../../wiring';\nimport { facetsXModule } from '../x-module';\n\n/**\n * Renders a simple button, emitting the needed events when clicked.\n *\n * @public\n */\n@Component({\n components: { BaseEventButton },\n mixins: [xComponentMixin(facetsXModule)]\n})\nexport default class ClearFilters extends Vue {\n /**\n * It handles if the ClearFilters button is always visible no matter if there are not\n * filters selected. If false, the ClearFilters button is not visible whether\n * there are no filters selected.\n *\n * @public\n */\n @Prop({ default: false })\n public alwaysVisible!: boolean;\n\n /**\n * Array of facets ids that will be passed to event like payload.\n *\n * @public\n */\n @Prop()\n public facetsIds?: Array<Facet['id']>;\n\n /**\n * Get the selected filters from store.\n *\n * @internal\n */\n @Getter('facets', 'selectedFilters')\n public allSelectedFilters!: Filter[];\n\n /**\n * If alwaysVisible prop is true, ClearAllFilters button is always shown, but disabled\n * if there are no filters selected.\n * If alwaysVisible prop is false, ClearAllFilters button is shown whether there\n * are some filter selected.\n *\n * @returns True if alwaysVisible is true or in the opposite case true or false depends\n * on if there are selected filters or not.\n *\n * @internal\n */\n protected get show(): boolean {\n return this.alwaysVisible || this.areThereSelectedFilters;\n }\n\n /**\n * Get selected filters.\n * If there are facets ids, get selected filters whose facet id match with some of facets ids.\n * If there aren't facets ids, get selected filters.\n *\n * @returns Array of selected filters depends on there are facets ids or not.\n * @internal\n */\n protected get facetsSelectedFilters(): Filter[] {\n if (this.facetsIds) {\n return this.allSelectedFilters.filter(\n filter => isFacetFilter(filter) && this.facetsIds!.includes(filter.facetId)\n );\n } else {\n return this.allSelectedFilters;\n }\n }\n\n /**\n * Check if there are selected filters.\n *\n * @returns True or false depends on if there are facets ids and if there are selected filters.\n * @internal\n */\n protected get areThereSelectedFilters(): boolean {\n return !!this.facetsSelectedFilters.length;\n }\n\n /**\n * The events that will be emitted when the button clear filters is clicked.\n *\n * @returns The events to be emitted when the button clear filters is clicked.\n * @internal\n */\n protected get events(): Partial<XEventsTypes> {\n return this.facetsIds\n ? {\n UserClickedClearAllFilters: this.facetsIds\n }\n : {\n UserClickedClearAllFilters: undefined\n };\n }\n\n /**\n * Dynamic CSS classes to apply to the component.\n *\n * @returns The dynamic CSS classes to apply to the component.\n * @internal\n */\n protected get cssClasses(): VueCSSClasses {\n return {\n 'x-clear-filters--has-not-selected-filters': !this.areThereSelectedFilters,\n 'x-clear-filters--has-selected-filters': this.areThereSelectedFilters\n };\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA;;;;;AASA;IAA0C,gCAAG;IAA7C;;KAkGC;IA5DC,sBAAc,8BAAI;;;;;;;;;;;;aAAlB;YACE,OAAO,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,uBAAuB,CAAC;SAC3D;;;OAAA;IAUD,sBAAc,+CAAqB;;;;;;;;;aAAnC;YAAA,iBAQC;YAPC,IAAI,IAAI,CAAC,SAAS,EAAE;gBAClB,OAAO,IAAI,CAAC,kBAAkB,CAAC,MAAM,CACnC,UAAA,MAAM,IAAI,OAAA,aAAa,CAAC,MAAM,CAAC,IAAI,KAAI,CAAC,SAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,GAAA,CAC5E,CAAC;aACH;iBAAM;gBACL,OAAO,IAAI,CAAC,kBAAkB,CAAC;aAChC;SACF;;;OAAA;IAQD,sBAAc,iDAAuB;;;;;;;aAArC;YACE,OAAO,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,MAAM,CAAC;SAC5C;;;OAAA;IAQD,sBAAc,gCAAM;;;;;;;aAApB;YACE,OAAO,IAAI,CAAC,SAAS;kBACjB;oBACE,0BAA0B,EAAE,IAAI,CAAC,SAAS;iBAC3C;kBACD;oBACE,0BAA0B,EAAE,SAAS;iBACtC,CAAC;SACP;;;OAAA;IAQD,sBAAc,oCAAU;;;;;;;aAAxB;YACE,OAAO;gBACL,2CAA2C,EAAE,CAAC,IAAI,CAAC,uBAAuB;gBAC1E,uCAAuC,EAAE,IAAI,CAAC,uBAAuB;aACtE,CAAC;SACH;;;OAAA;IAxFD;QADC,IAAI,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;uDACM;IAQ/B;QADC,IAAI,EAAE;mDAC+B;IAQtC;QADC,MAAM,CAAC,QAAQ,EAAE,iBAAiB,CAAC;4DACC;IAzBlB,YAAY;QAJhC,SAAS,CAAC;YACT,UAAU,EAAE,EAAE,eAAe,iBAAA,EAAE;YAC/B,MAAM,EAAE,CAAC,eAAe,CAAC,aAAa,CAAC,CAAC;SACzC,CAAC;OACmB,YAAY,CAkGhC;IAAD,mBAAC;CAAA,CAlGyC,GAAG;;;;"}
1
+ {"version":3,"file":"clear-filters.vue_rollup-plugin-vue=script.js","sources":["../../../../../src/x-modules/facets/components/clear-filters.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Facet, Filter, isFacetFilter } from '@empathyco/x-types';\nimport Vue from 'vue';\nimport { Component, Prop } from 'vue-property-decorator';\nimport { Getter, xComponentMixin } from '../../../components';\nimport BaseEventButton from '../../../components/base-event-button.vue';\nimport { VueCSSClasses } from '../../../utils';\nimport { XEventsTypes } from '../../../wiring';\nimport { facetsXModule } from '../x-module';\n\n/**\n * Renders a simple button, emitting the needed events when clicked.\n *\n * @public\n */\n@Component({\n components: { BaseEventButton },\n mixins: [xComponentMixin(facetsXModule)]\n})\nexport default class ClearFilters extends Vue {\n /**\n * It handles if the ClearFilters button is always visible no matter if there are not\n * filters selected. If false, the ClearFilters button is not visible whether\n * there are no filters selected.\n *\n * @public\n */\n @Prop({ default: false })\n public alwaysVisible!: boolean;\n\n /**\n * Array of facets ids that will be passed to event like payload.\n *\n * @public\n */\n @Prop()\n public facetsIds?: Array<Facet['id']>;\n\n /**\n * Get the selected filters from store.\n *\n * @internal\n */\n @Getter('facets', 'selectedFilters')\n public allSelectedFilters!: Filter[];\n\n /**\n * If alwaysVisible prop is true, ClearAllFilters button is always shown, but disabled\n * if there are no filters selected.\n * If alwaysVisible prop is false, ClearAllFilters button is shown whether there\n * are some filter selected.\n *\n * @returns True if alwaysVisible is true or in the opposite case true or false depends\n * on if there are selected filters or not.\n *\n * @internal\n */\n protected get show(): boolean {\n return this.alwaysVisible || this.areThereSelectedFilters;\n }\n\n /**\n * Get selected filters.\n * If there are facets ids, get selected filters whose facet id match with some of facets ids.\n * If there aren't facets ids, get selected filters.\n *\n * @returns Array of selected filters depends on there are facets ids or not.\n * @internal\n */\n protected get facetsSelectedFilters(): Filter[] {\n if (this.facetsIds) {\n return this.allSelectedFilters.filter(\n filter => isFacetFilter(filter) && this.facetsIds!.includes(filter.facetId)\n );\n } else {\n return this.allSelectedFilters;\n }\n }\n\n /**\n * Check if there are selected filters.\n *\n * @returns True or false depends on if there are facets ids and if there are selected filters.\n * @internal\n */\n protected get areThereSelectedFilters(): boolean {\n return !!this.facetsSelectedFilters.length;\n }\n\n /**\n * The events that will be emitted when the button clear filters is clicked.\n *\n * @returns The events to be emitted when the button clear filters is clicked.\n * @internal\n */\n protected get events(): Partial<XEventsTypes> {\n return this.facetsIds\n ? {\n UserClickedClearAllFilters: this.facetsIds\n }\n : {\n UserClickedClearAllFilters: undefined\n };\n }\n\n /**\n * Dynamic CSS classes to apply to the component.\n *\n * @returns The dynamic CSS classes to apply to the component.\n * @internal\n */\n protected get cssClasses(): VueCSSClasses {\n return {\n 'x-clear-filters--has-not-selected-filters': !this.areThereSelectedFilters,\n 'x-clear-filters--has-selected-filters': this.areThereSelectedFilters\n };\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA;;;;;AASA;IAA0C,gCAAG;IAA7C;;KAkGC;IA5DC,sBAAc,8BAAI;;;;;;;;;;;;aAAlB;YACE,OAAO,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,uBAAuB,CAAC;SAC3D;;;OAAA;IAUD,sBAAc,+CAAqB;;;;;;;;;aAAnC;YAAA,iBAQC;YAPC,IAAI,IAAI,CAAC,SAAS,EAAE;gBAClB,OAAO,IAAI,CAAC,kBAAkB,CAAC,MAAM,CACnC,UAAA,MAAM,IAAI,OAAA,aAAa,CAAC,MAAM,CAAC,IAAI,KAAI,CAAC,SAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,GAAA,CAC5E,CAAC;aACH;iBAAM;gBACL,OAAO,IAAI,CAAC,kBAAkB,CAAC;aAChC;SACF;;;OAAA;IAQD,sBAAc,iDAAuB;;;;;;;aAArC;YACE,OAAO,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,MAAM,CAAC;SAC5C;;;OAAA;IAQD,sBAAc,gCAAM;;;;;;;aAApB;YACE,OAAO,IAAI,CAAC,SAAS;kBACjB;oBACE,0BAA0B,EAAE,IAAI,CAAC,SAAS;iBAC3C;kBACD;oBACE,0BAA0B,EAAE,SAAS;iBACtC,CAAC;SACP;;;OAAA;IAQD,sBAAc,oCAAU;;;;;;;aAAxB;YACE,OAAO;gBACL,2CAA2C,EAAE,CAAC,IAAI,CAAC,uBAAuB;gBAC1E,uCAAuC,EAAE,IAAI,CAAC,uBAAuB;aACtE,CAAC;SACH;;;OAAA;IAxFD;QADC,IAAI,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;uDACM;IAQ/B;QADC,IAAI,EAAE;mDAC+B;IAQtC;QADC,MAAM,CAAC,QAAQ,EAAE,iBAAiB,CAAC;4DACC;IAzBlB,YAAY;QAJhC,SAAS,CAAC;YACT,UAAU,EAAE,EAAE,eAAe,iBAAA,EAAE;YAC/B,MAAM,EAAE,CAAC,eAAe,CAAC,aAAa,CAAC,CAAC;SACzC,CAAC;OACmB,YAAY,CAkGhC;IAAD,mBAAC;CAAA,CAlGyC,GAAG;;;;"}
@@ -10,11 +10,11 @@ var __vue_script__ = script;
10
10
  /* style */
11
11
  var __vue_inject_styles__ = function (inject) {
12
12
  if (!inject) { return }
13
- inject("data-v-0739bd06_0", { source: ".x-facets-list[data-v-0739bd06] {\n list-style-type: none;\n}", map: undefined, media: undefined });
13
+ inject("data-v-8b95797a_0", { source: ".x-facets-list[data-v-8b95797a] {\n list-style-type: none;\n}", map: undefined, media: undefined });
14
14
 
15
15
  };
16
16
  /* scoped */
17
- var __vue_scope_id__ = "data-v-0739bd06";
17
+ var __vue_scope_id__ = "data-v-8b95797a";
18
18
  /* module identifier */
19
19
  var __vue_module_identifier__ = undefined;
20
20
  /* functional template */
@@ -1 +1 @@
1
- {"version":3,"file":"facets-provider.vue.js","sources":["../../../../../../src/x-modules/facets/components/facets/facets-provider.vue"],"sourcesContent":["<script lang=\"ts\">\n import { Facet, Filter } from '@empathyco/x-types';\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n import { XOn } from '../../../../components';\n import { xComponentMixin } from '../../../../components/x-component.mixin';\n import { areFiltersDifferent } from '../../../../utils/filters';\n import { FacetsGroup } from '../../service/types';\n import { GroupId } from '../../store/types';\n import { facetsXModule } from '../../x-module';\n\n /**\n * This component allows to provide facets by prop, to add them to the state of the\n * `Facets X-Module`. These facets will be added to the `Facets X-Module` state together with\n * the facets emitted by the `Search X-Module` through the {@link SearchXEvents.FacetsChanged}\n * event.\n *\n * @public\n */\n @Component({\n mixins: [xComponentMixin(facetsXModule)]\n })\n export default class FacetsProvider extends Vue {\n /**\n * An facet group identifier to distinguish the provided facets from other facets like the\n * `Search X-Module` facets.\n *\n * @public\n */\n @Prop({ default: 'provided-facets' })\n public groupId!: GroupId;\n\n /**\n * The facets to provide to the `Facets X-Module` state. They have to include the\n * {@link @empathyco/x-types#Filter | filters}.\n *\n * @internal\n */\n @Prop({ required: true })\n public facets!: Facet[];\n\n /**\n * Temporarily stores the selected filters from the {@link FacetsProvider.facets} prop.\n * This is necessary to handle the {@link FacetsXEvents.UserChangedSelectedFilters} event.\n *\n * @internal\n */\n protected selectedFilters: Filter[] | null = null;\n\n /**\n * Creates a watcher for the `facetsGroup`, if they're set, emitting an\n * event whenever they change. This is done this way because the {@link XBus} is not injected\n * until the component is created.\n *\n * @internal\n */\n protected created(): void {\n this.$watch('facetsGroup', this.provideFacets.bind(this), { immediate: true });\n }\n\n /**\n * A computed property to group the facets and the groupId. This is used by the watcher.\n *\n * @returns The FacetGroup with the facets and the group id.\n *\n * @internal\n */\n protected get facetsGroup(): FacetsGroup {\n return { id: this.groupId, facets: this.facets };\n }\n\n /**\n * Emits the {@link FacetsXEvents.UserChangedSelectedFilters} event when the user changes\n * the selected filters.\n *\n * @param selectedFilters - The new list of selected filters.\n * @internal\n */\n @XOn('SelectedFiltersChanged')\n emitSelectedFiltersChanged(selectedFilters: Filter[]): void {\n if (\n this.selectedFilters === null ||\n areFiltersDifferent(this.selectedFilters, selectedFilters)\n ) {\n this.$x.emit('UserChangedSelectedFilters', selectedFilters);\n }\n this.selectedFilters = null;\n }\n\n /**\n * Emits the {@link FacetsXEvents.FacetsGroupProvided} event with the\n * {@link FacetsProvider.facetsGroup} as payload. It also extracts and saves the selected\n * filters.\n */\n provideFacets(): void {\n if (this.facetsGroup.facets) {\n this.$x.emit('FacetsGroupProvided', this.facetsGroup);\n this.extractSelectedFilters(this.facets);\n }\n }\n\n /**\n * Extracts the selected filters from the facets and stores them in the\n * {@link FacetsProvider.selectedFilters} property.\n *\n * @param facets - The facets from whom extract the selected filters.\n * @internal\n */\n protected extractSelectedFilters(facets: Facet[]): void {\n this.selectedFilters = facets\n .flatMap(facet => facet.filters)\n .filter(filter => filter.selected);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n render(): void {}\n }\n</script>\n\n<style lang=\"scss\" scoped>\n .x-facets-list {\n list-style-type: none;\n }\n</style>\n\n<docs lang=\"mdx\">\n# Example\n\nThis component allows to provide facets by prop, to add them to the state of the `Facets X-Module`.\nThese facets will be added to the `Facets X-Module` state together with the facets emitted by the\n`Search X-Module` through the {@link SearchXEvents.FacetsChanged} event.\n\n```vue\n<template>\n <FacetsProvider :facets=\"myFacets\" />\n</template>\n\n<script>\n import { FacetsProvider } from '@empathyco/x-components/facets';\n\n export default {\n components: {\n FacetsProvider\n },\n data() {\n return {\n myFacets: [\n {\n modelName: 'SimpleFacet',\n id: 'color-facet',\n label: 'Color',\n filters: [\n {\n modelName: 'SimpleFilter',\n id: 'color:red',\n facetId: 'color-facet',\n label: 'Red',\n selected: false,\n value: 'color:red',\n totalResults: 10\n },\n {\n modelName: 'SimpleFilter',\n id: 'color:blue',\n facetId: 'color-facet',\n label: 'Blue',\n selected: false,\n value: 'color:blue',\n totalResults: 10\n }\n ]\n }\n ]\n };\n }\n };\n</script>\n```\n\n## Events\n\nA list of events that the component will emit:\n\n- `UserChangedSelectedFilters`: the event is emitted after the user performed an action that changed\n the selected filters. The payload is the new list of selected filters.\n- `FacetsGroupProvided`: the event is emitted after updating the facets prop with a new list of\n facets. The payload contains a Facets Group with the facets and the group id.\n</docs>\n"],"names":["const"],"mappings":";;;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"facets-provider.vue.js","sources":["../../../../../../src/x-modules/facets/components/facets/facets-provider.vue"],"sourcesContent":["<script lang=\"ts\">\n import { Facet, Filter } from '@empathyco/x-types';\n import Vue from 'vue';\n import { Component, Prop, Watch } from 'vue-property-decorator';\n import { XOn } from '../../../../components';\n import { xComponentMixin } from '../../../../components/x-component.mixin';\n import { areFiltersDifferent } from '../../../../utils/filters';\n import { FacetsGroup } from '../../service/types';\n import { GroupId } from '../../store/types';\n import { facetsXModule } from '../../x-module';\n\n /**\n * This component allows to provide facets by prop, to add them to the state of the\n * `Facets X-Module`. These facets will be added to the `Facets X-Module` state together with\n * the facets emitted by the `Search X-Module` through the {@link SearchXEvents.FacetsChanged}\n * event.\n *\n * @public\n */\n @Component({\n mixins: [xComponentMixin(facetsXModule)]\n })\n export default class FacetsProvider extends Vue {\n /**\n * An facet group identifier to distinguish the provided facets from other facets like the\n * `Search X-Module` facets.\n *\n * @public\n */\n @Prop({ default: 'provided-facets' })\n public groupId!: GroupId;\n\n /**\n * The facets to provide to the `Facets X-Module` state. They have to include the\n * {@link @empathyco/x-types#Filter | filters}.\n *\n * @internal\n */\n @Prop({ required: true })\n public facets!: Facet[];\n\n /**\n * Temporarily stores the selected filters from the {@link FacetsProvider.facets} prop.\n * This is necessary to handle the {@link FacetsXEvents.UserChangedSelectedFilters} event.\n *\n * @internal\n */\n protected selectedFilters: Filter[] | null = null;\n\n /**\n * A computed property to group the facets and the groupId. This is used by the watcher.\n *\n * @returns The FacetGroup with the facets and the group id.\n *\n * @internal\n */\n protected get facetsGroup(): FacetsGroup {\n return { id: this.groupId, facets: this.facets };\n }\n\n /**\n * Emits the {@link FacetsXEvents.UserChangedSelectedFilters} event when the user changes\n * the selected filters.\n *\n * @param selectedFilters - The new list of selected filters.\n * @internal\n */\n @XOn('SelectedFiltersChanged')\n emitSelectedFiltersChanged(selectedFilters: Filter[]): void {\n if (\n this.selectedFilters === null ||\n areFiltersDifferent(this.selectedFilters, selectedFilters)\n ) {\n this.$x.emit('UserChangedSelectedFilters', selectedFilters);\n }\n this.selectedFilters = null;\n }\n\n /**\n * Emits the {@link FacetsXEvents.FacetsGroupProvided} event with the\n * {@link FacetsProvider.facetsGroup} as payload. It also extracts and saves the selected\n * filters.\n */\n @Watch('facetsGroup', { immediate: true })\n provideFacets(): void {\n if (this.facetsGroup.facets) {\n this.$x.emit('FacetsGroupProvided', this.facetsGroup);\n this.extractSelectedFilters(this.facets);\n }\n }\n\n /**\n * Extracts the selected filters from the facets and stores them in the\n * {@link FacetsProvider.selectedFilters} property.\n *\n * @param facets - The facets from whom extract the selected filters.\n * @internal\n */\n protected extractSelectedFilters(facets: Facet[]): void {\n this.selectedFilters = facets\n .flatMap(facet => facet.filters)\n .filter(filter => filter.selected);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n render(): void {}\n }\n</script>\n\n<style lang=\"scss\" scoped>\n .x-facets-list {\n list-style-type: none;\n }\n</style>\n\n<docs lang=\"mdx\">\n## Example\n\nThis component allows to provide facets by prop, to add them to the state of the `Facets X-Module`.\nThese facets will be added to the `Facets X-Module` state together with the facets emitted by the\n`Search X-Module` through the {@link SearchXEvents.FacetsChanged} event.\n\n```vue\n<template>\n <FacetsProvider :facets=\"myFacets\" />\n</template>\n\n<script>\n import { FacetsProvider } from '@empathyco/x-components/facets';\n\n export default {\n components: {\n FacetsProvider\n },\n data() {\n return {\n myFacets: [\n {\n modelName: 'SimpleFacet',\n id: 'color-facet',\n label: 'Color',\n filters: [\n {\n modelName: 'SimpleFilter',\n id: 'color:red',\n facetId: 'color-facet',\n label: 'Red',\n selected: false,\n value: 'color:red',\n totalResults: 10\n },\n {\n modelName: 'SimpleFilter',\n id: 'color:blue',\n facetId: 'color-facet',\n label: 'Blue',\n selected: false,\n value: 'color:blue',\n totalResults: 10\n }\n ]\n }\n ]\n };\n }\n };\n</script>\n```\n\n## Events\n\nA list of events that the component will emit:\n\n- `UserChangedSelectedFilters`: the event is emitted after the user performed an action that changed\n the selected filters. The payload is the new list of selected filters.\n- `FacetsGroupProvided`: the event is emitted after updating the facets prop with a new list of\n facets. The payload contains a Facets Group with the facets and the group id.\n</docs>\n"],"names":["const"],"mappings":";;;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { __extends, __decorate } from 'tslib';
2
2
  import Vue from 'vue';
3
- import { Prop, Component } from 'vue-property-decorator';
3
+ import { Prop, Watch, Component } from 'vue-property-decorator';
4
4
  import '../../../../components/animations/animate-width.vue.js';
5
5
  import '../../../../components/animations/collapse-from-top.vue.js';
6
6
  import '../../../../components/animations/animations.mixin.js';
@@ -9,7 +9,7 @@ import '../../../../components/animations/collapse-width.vue.js';
9
9
  import '../../../../components/animations/cross-fade.vue.js';
10
10
  import '../../../../components/animations/fade-and-slide.vue.js';
11
11
  import { areFiltersDifferent } from '../../../../utils/filters.js';
12
- import '../../../../components/staggering-transition-group.vue.js';
12
+ import '../../../../components/animations/staggering-transition-group.vue.js';
13
13
  import '../../../../components/animations/staggered-fade-and-slide.vue.js';
14
14
  import '../../../../components/animations/translate-from-left.vue.js';
15
15
  import '../../../../components/animations/translate-from-right.vue.js';
@@ -64,21 +64,30 @@ import '../../../../components/icons/plus.vue.js';
64
64
  import '../../../../components/icons/search.vue.js';
65
65
  import '../../../../components/icons/show.vue.js';
66
66
  import '../../../../components/icons/search-tiny.vue.js';
67
+ import '../../../../components/icons/tag.vue.js';
67
68
  import '../../../../components/icons/trash-open.vue.js';
68
69
  import '../../../../components/icons/trash.vue.js';
69
70
  import '../../../../components/icons/trending-tiny.vue.js';
70
71
  import '../../../../components/icons/trending.vue.js';
71
72
  import '../../../../components/icons/user.vue.js';
72
- import '../../../../components/modals/base-events-modal-close.vue.js';
73
+ import '../../../../components/decorators/store.decorators.js';
74
+ import '../../../../components/x-component.utils.js';
75
+ import { xComponentMixin } from '../../../../components/x-component.mixin.js';
73
76
  import '../../../../components/modals/base-modal.vue.js';
77
+ import '../../../../components/modals/base-id-modal.vue.js';
78
+ import '../../../../components/scroll/scroll.mixin.js';
79
+ import '../../../../components/scroll/base-scroll.vue.js';
80
+ import '../../../../components/layouts/fixed-header-and-asides-layout.vue.js';
81
+ import '../../../../components/panels/base-toggle-panel.vue.js';
82
+ import '../../../../components/panels/base-id-toggle-panel.vue.js';
83
+ import '../../../../components/layouts/multi-column-max-width-layout.vue.js';
84
+ import '../../../../components/layouts/single-column-layout.vue.js';
85
+ import '../../../../components/modals/base-events-modal-close.vue.js';
74
86
  import '../../../../components/modals/base-events-modal.vue.js';
75
87
  import '../../../../components/modals/base-events-modal-open.vue.js';
76
- import '../../../../components/modals/base-id-modal.vue.js';
77
88
  import '../../../../components/modals/base-id-modal-close.vue.js';
78
89
  import '../../../../components/modals/base-id-modal-open.vue.js';
79
- import '../../../../components/panels/base-toggle-panel.vue.js';
80
90
  import '../../../../components/panels/base-header-toggle-panel.vue.js';
81
- import '../../../../components/panels/base-id-toggle-panel.vue.js';
82
91
  import '../../../../components/panels/base-id-toggle-panel-button.vue.js';
83
92
  import '../../../../components/result/base-result-add-to-cart.vue.js';
84
93
  import '../../../../components/result/base-result-current-price.vue.js';
@@ -87,8 +96,6 @@ import '../../../../components/result/base-result-link.vue.js';
87
96
  import '../../../../components/result/base-result-previous-price.vue.js';
88
97
  import '../../../../components/result/base-result-fallback-image.vue.js';
89
98
  import '../../../../components/result/base-result-placeholder-image.vue.js';
90
- import '../../../../components/scroll/scroll.mixin.js';
91
- import '../../../../components/scroll/base-scroll.vue.js';
92
99
  import '../../../../components/suggestions/base-suggestion.vue.js';
93
100
  import '../../../../components/suggestions/base-suggestions.vue.js';
94
101
  import '../../../../components/auto-progress-bar.vue.js';
@@ -99,11 +106,6 @@ import '../../../../components/base-variable-column-grid.vue.js';
99
106
  import '../../../../components/decorators/debounce.decorators.js';
100
107
  import '../../../../components/sliding-panel.vue.js';
101
108
  import '../../../../components/items-list.vue.js';
102
- import '../../../../components/decorators/store.decorators.js';
103
- import '../../../../components/x-component.utils.js';
104
- import { xComponentMixin } from '../../../../components/x-component.mixin.js';
105
- import '../../../../components/layouts/multi-column-max-width-layout.vue.js';
106
- import '../../../../components/layouts/single-column-layout.vue.js';
107
109
  import '../../../../components/location-provider.vue.js';
108
110
  import '../../../../components/global-x-bus.vue.js';
109
111
  import '../../../../components/snippet-callbacks.vue.js';
@@ -131,16 +133,6 @@ var FacetsProvider = /** @class */ (function (_super) {
131
133
  _this.selectedFilters = null;
132
134
  return _this;
133
135
  }
134
- /**
135
- * Creates a watcher for the `facetsGroup`, if they're set, emitting an
136
- * event whenever they change. This is done this way because the {@link XBus} is not injected
137
- * until the component is created.
138
- *
139
- * @internal
140
- */
141
- FacetsProvider.prototype.created = function () {
142
- this.$watch('facetsGroup', this.provideFacets.bind(this), { immediate: true });
143
- };
144
136
  Object.defineProperty(FacetsProvider.prototype, "facetsGroup", {
145
137
  /**
146
138
  * A computed property to group the facets and the groupId. This is used by the watcher.
@@ -203,6 +195,9 @@ var FacetsProvider = /** @class */ (function (_super) {
203
195
  __decorate([
204
196
  XOn('SelectedFiltersChanged')
205
197
  ], FacetsProvider.prototype, "emitSelectedFiltersChanged", null);
198
+ __decorate([
199
+ Watch('facetsGroup', { immediate: true })
200
+ ], FacetsProvider.prototype, "provideFacets", null);
206
201
  FacetsProvider = __decorate([
207
202
  Component({
208
203
  mixins: [xComponentMixin(facetsXModule)]