@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
@@ -1 +1 @@
1
- {"version":3,"file":"related-tag.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-tags/components/related-tag.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAiBA,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,OAAO,EAAE,UAAU,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAGnE,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAG5D;;;;;;GAMG;AAIH,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,GAAG;IACzC;;;;OAIG;IAEH,SAAS,CAAC,UAAU,EAAG,eAAe,CAAC;IACvC;;;;OAIG;IAEI,mBAAmB,EAAG,eAAe,EAAE,CAAC;IAE/C;;;;;OAKG;IACH,SAAS,CAAC,mBAAmB,IAAI,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC;IAOjE;;;;OAIG;IACH,SAAS,CAAC,UAAU,IAAI,IAAI;IAW5B;;;;;;OAMG;IACH,SAAS,KAAK,UAAU,IAAI,OAAO,CAElC;IAED;;;;;;OAMG;IACH,SAAS,KAAK,cAAc,IAAI,aAAa,CAK5C;CACF"}
1
+ {"version":3,"file":"related-tag.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-tags/components/related-tag.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAkBA,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,OAAO,EAAE,UAAU,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAGnE,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAG5D;;;;;;GAMG;AAIH,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,GAAG;IACzC;;;;OAIG;IAEH,SAAS,CAAC,gBAAgB,EAAG,OAAO,CAAC;IACrC;;;;OAIG;IAEH,SAAS,CAAC,UAAU,EAAG,eAAe,CAAC;IACvC;;;;OAIG;IAEI,mBAAmB,EAAG,eAAe,EAAE,CAAC;IAE/C;;;;;OAKG;IACH,SAAS,CAAC,mBAAmB,IAAI,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC;IAOjE;;;;OAIG;IACH,SAAS,CAAC,UAAU,IAAI,IAAI;IAW5B;;;;;;OAMG;IACH,SAAS,KAAK,UAAU,IAAI,OAAO,CAElC;IAED;;;;;;OAMG;IACH,SAAS,KAAK,sBAAsB,IAAI,OAAO,CAE9C;IAED;;;;;;OAMG;IACH,SAAS,KAAK,cAAc,IAAI,aAAa,CAO5C;CACF"}
@@ -22,6 +22,12 @@ export default class RelatedTags extends Vue {
22
22
  * @public
23
23
  */
24
24
  protected maxItemsToRender?: number;
25
+ /**
26
+ * Flag to indicate if the curated tags should be displayed different.
27
+ *
28
+ * @public
29
+ */
30
+ protected highlightCurated: boolean;
25
31
  storedRelatedTags: RelatedTagModel[];
26
32
  protected get relatedTags(): RelatedTagModel[];
27
33
  }
@@ -1 +1 @@
1
- {"version":3,"file":"related-tags.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-tags/components/related-tags.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAmCA,OAAO,EAAE,UAAU,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,GAAG,MAAM,KAAK,CAAC;AAOtB;;;;;;;;GAQG;AAKH,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,GAAG;IAC1C;;;;OAIG;IAEH,SAAS,CAAC,SAAS,EAAG,GAAG,CAAC;IAE1B;;;;OAIG;IAEH,SAAS,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAG7B,iBAAiB,EAAG,eAAe,EAAE,CAAC;IAE7C,SAAS,KAAK,WAAW,IAAI,eAAe,EAAE,CAE7C;CACF"}
1
+ {"version":3,"file":"related-tags.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-tags/components/related-tags.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAyCA,OAAO,EAAE,UAAU,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,GAAG,MAAM,KAAK,CAAC;AAOtB;;;;;;;;GAQG;AAKH,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,GAAG;IAC1C;;;;OAIG;IAEH,SAAS,CAAC,SAAS,EAAG,GAAG,CAAC;IAE1B;;;;OAIG;IAEH,SAAS,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAEpC;;;;OAIG;IAEH,SAAS,CAAC,gBAAgB,EAAG,OAAO,CAAC;IAG9B,iBAAiB,EAAG,eAAe,EAAE,CAAC;IAE7C,SAAS,KAAK,WAAW,IAAI,eAAe,EAAE,CAE7C;CACF"}
@@ -15,5 +15,11 @@ export default class Banner extends Vue {
15
15
  * @public
16
16
  */
17
17
  banner: BannerModel;
18
+ /**
19
+ * Emits the banner click event.
20
+ *
21
+ * @internal
22
+ */
23
+ protected emitClickEvent(): void;
18
24
  }
19
25
  //# sourceMappingURL=banner.vue?rollup-plugin-vue=script.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"banner.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/components/banner.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB;;;;;;;GAOG;AAIH,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,GAAG;IACrC;;;;OAIG;IAEI,MAAM,EAAG,WAAW,CAAC;CAC7B"}
1
+ {"version":3,"file":"banner.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/components/banner.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB;;;;;;;GAOG;AAIH,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,GAAG;IACrC;;;;OAIG;IAEI,MAAM,EAAG,WAAW,CAAC;IAE5B;;;;OAIG;IACH,SAAS,CAAC,cAAc,IAAI,IAAI;CAGjC"}
@@ -14,5 +14,11 @@ export default class Promoted extends Vue {
14
14
  * @public
15
15
  */
16
16
  promoted: PromotedModel;
17
+ /**
18
+ * Emits the promoted click event.
19
+ *
20
+ * @internal
21
+ */
22
+ protected emitClickEvent(): void;
17
23
  }
18
24
  //# sourceMappingURL=promoted.vue?rollup-plugin-vue=script.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"promoted.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/components/promoted.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,QAAQ,IAAI,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,GAAG,MAAM,KAAK,CAAC;AAKtB;;;;;;GAMG;AAIH,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,GAAG;IACvC;;;;OAIG;IAEI,QAAQ,EAAG,aAAa,CAAC;CACjC"}
1
+ {"version":3,"file":"promoted.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/components/promoted.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,QAAQ,IAAI,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,GAAG,MAAM,KAAK,CAAC;AAKtB;;;;;;GAMG;AAIH,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,GAAG;IACvC;;;;OAIG;IAEI,QAAQ,EAAG,aAAa,CAAC;IAEhC;;;;OAIG;IACH,SAAS,CAAC,cAAc,IAAI,IAAI;CAGjC"}
@@ -28,7 +28,7 @@ export default class Redirection extends Vue {
28
28
  *
29
29
  * @internal
30
30
  */
31
- protected timeoutId: number;
31
+ protected timeoutId?: number;
32
32
  /**
33
33
  * Boolean flag which indicates if the redirection is running.
34
34
  *
@@ -1 +1 @@
1
- {"version":3,"file":"redirection.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/components/redirection.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,GAAG,MAAM,KAAK,CAAC;AAOtB;;;;;;GAMG;AAIH,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,GAAG;IAEnC,YAAY,EAAG,gBAAgB,EAAE,CAAC;IAEzC;;;;OAIG;IAEI,IAAI,EAAG,MAAM,GAAG,QAAQ,CAAC;IAEhC;;;;;;OAMG;IAEI,cAAc,EAAG,MAAM,CAAC;IAE/B;;;;OAIG;IACH,SAAS,CAAC,SAAS,EAAG,MAAM,CAAC;IAE7B;;;;OAIG;IACH,SAAS,CAAC,aAAa,UAAQ;IAE/B;;;;;;OAMG;IACH,SAAS,KAAK,WAAW,IAAI,gBAAgB,GAAG,IAAI,CAEnD;IAED;;;;;OAKG;IAEH,SAAS,CAAC,iBAAiB,IAAI,IAAI;IAQnC;;;;OAIG;IACH,SAAS,CAAC,QAAQ,IAAI,IAAI;IAM1B;;;;OAIG;IACH,SAAS,CAAC,aAAa,IAAI,IAAI;IAK/B;;;;OAIG;IAEH,cAAc,IAAI,IAAI;CAIvB"}
1
+ {"version":3,"file":"redirection.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/components/redirection.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,GAAG,MAAM,KAAK,CAAC;AAOtB;;;;;;GAMG;AAIH,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,GAAG;IAEnC,YAAY,EAAG,gBAAgB,EAAE,CAAC;IAEzC;;;;OAIG;IAEI,IAAI,EAAG,MAAM,GAAG,QAAQ,CAAC;IAEhC;;;;;;OAMG;IAEI,cAAc,EAAG,MAAM,CAAC;IAE/B;;;;OAIG;IACH,SAAS,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAE7B;;;;OAIG;IACH,SAAS,CAAC,aAAa,UAAQ;IAE/B;;;;;;OAMG;IACH,SAAS,KAAK,WAAW,IAAI,gBAAgB,GAAG,IAAI,CAEnD;IAED;;;;;OAKG;IAEH,SAAS,CAAC,iBAAiB,IAAI,IAAI;IAQnC;;;;OAIG;IACH,SAAS,CAAC,QAAQ,IAAI,IAAI;IAM1B;;;;OAIG;IACH,SAAS,CAAC,aAAa,IAAI,IAAI;IAK/B;;;;OAIG;IAEH,cAAc,IAAI,IAAI;CAIvB"}
@@ -1,5 +1,5 @@
1
1
  import { SearchRequest } from '@empathyco/x-adapter';
2
- import { Facet, Result, Sort, Redirection, TaggingInfo } from '@empathyco/x-types';
2
+ import { Facet, Result, Sort, Redirection, TaggingInfo, Promoted, Banner } from '@empathyco/x-types';
3
3
  /**
4
4
  * Dictionary of the events of Search XModule, where each key is the event name, and the value is
5
5
  * the event payload type or `void` if it has no payload.
@@ -70,6 +70,16 @@ export interface SearchXEvents {
70
70
  * * Payload: The clicked redirection.
71
71
  */
72
72
  UserClickedARedirection: Redirection;
73
+ /**
74
+ * The user has clicked a promoted.
75
+ * * Payload: The clicked promoted.
76
+ */
77
+ UserClickedAPromoted: Promoted;
78
+ /**
79
+ * The user has clicked a banner.
80
+ * * Payload: The clicked banner.
81
+ */
82
+ UserClickedABanner: Banner;
73
83
  /**
74
84
  * The user has aborted a redirection.
75
85
  */
@@ -1 +1 @@
1
- {"version":3,"file":"events.types.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/search/events.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEnF;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,aAAa,EAAE,KAAK,EAAE,CAAC;IACvB;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB;;;;OAIG;IACH,oBAAoB,EAAE,aAAa,GAAG,IAAI,CAAC;IAC3C;;;OAGG;IACH,oBAAoB,EAAE,WAAW,CAAC;IAClC;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,gBAAgB,EAAE,IAAI,CAAC;IACvB;;;;;;OAMG;IACH,oBAAoB,EAAE,IAAI,CAAC;IAC3B;;;OAGG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,yBAAyB,EAAE,IAAI,CAAC;IAChC;;;OAGG;IACH,uBAAuB,EAAE,WAAW,CAAC;IACrC;;OAEG;IACH,4BAA4B,EAAE,IAAI,CAAC;CACpC"}
1
+ {"version":3,"file":"events.types.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/search/events.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EACL,KAAK,EACL,MAAM,EACN,IAAI,EACJ,WAAW,EACX,WAAW,EACX,QAAQ,EACR,MAAM,EACP,MAAM,oBAAoB,CAAC;AAE5B;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,aAAa,EAAE,KAAK,EAAE,CAAC;IACvB;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB;;;;OAIG;IACH,oBAAoB,EAAE,aAAa,GAAG,IAAI,CAAC;IAC3C;;;OAGG;IACH,oBAAoB,EAAE,WAAW,CAAC;IAClC;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,gBAAgB,EAAE,IAAI,CAAC;IACvB;;;;;;OAMG;IACH,oBAAoB,EAAE,IAAI,CAAC;IAC3B;;;OAGG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,yBAAyB,EAAE,IAAI,CAAC;IAChC;;;OAGG;IACH,uBAAuB,EAAE,WAAW,CAAC;IACrC;;;OAGG;IACH,oBAAoB,EAAE,QAAQ,CAAC;IAC/B;;;OAGG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,4BAA4B,EAAE,IAAI,CAAC;CACpC"}
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-and-save-search-response.action.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/search/store/actions/fetch-and-save-search-response.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErE,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AA+C/C;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,uFAAe,CAAC;AAEvD;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,YAAiB,CAAC"}
1
+ {"version":3,"file":"fetch-and-save-search-response.action.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/search/store/actions/fetch-and-save-search-response.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErE,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAmD/C;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,uFAAe,CAAC;AAEvD;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,YAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"request.getter.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/search/store/getters/request.getter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9C;;;;;;;;GAQG;AACH,eAAO,MAAM,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC,SAAS,CAwB5D,CAAC"}
1
+ {"version":3,"file":"request.getter.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/search/store/getters/request.getter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9C;;;;;;;;GAQG;AACH,eAAO,MAAM,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC,SAAS,CAqB5D,CAAC"}
@@ -129,6 +129,7 @@ export declare const searchWiring: {
129
129
  setSort: import("../..").Wire<string>;
130
130
  };
131
131
  UserPickedARelatedTag: {
132
+ saveOriginWire: import("../..").AnyWire;
132
133
  resetPage: import("../..").AnyWire;
133
134
  };
134
135
  UserChangedExtraParams: {
@@ -144,7 +145,6 @@ export declare const searchWiring: {
144
145
  };
145
146
  SelectedRelatedTagsChanged: {
146
147
  setRelatedTags: import("../..").Wire<import("@empathyco/x-types").RelatedTag[]>;
147
- saveOriginWire: import("../..").AnyWire;
148
148
  };
149
149
  SelectedFiltersChanged: {
150
150
  setSelectedFilters: import("../..").Wire<import("@empathyco/x-types").Filter[]>;
@@ -160,6 +160,7 @@ export declare const searchWiring: {
160
160
  };
161
161
  ParamsLoadedFromUrl: {
162
162
  setUrlParams: import("../..").Wire<import("../..").UrlParams>;
163
+ saveOriginWire: import("../..").AnyWire;
163
164
  };
164
165
  };
165
166
  //# sourceMappingURL=wiring.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/search/wiring.ts"],"names":[],"mappings":"AAkCA;;;;GAIG;AACH,eAAO,MAAM,oCAAoC,yBAEhD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,yBAAyD,CAAC;AAErF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,2EAA6C,CAAC;AAEzF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,yBAAkC,CAAC;AAEpE;;;;GAIG;AACH,eAAO,MAAM,cAAc,iEAA+B,CAAC;AAE3D;;;;GAIG;AACH,eAAO,MAAM,cAAc,8BAAyB,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,6DAAmC,CAAC;AAEnE;;;;GAIG;AACH,eAAO,MAAM,OAAO,8BAAwB,CAAC;AAE7C;;;;GAIG;AACH,eAAO,MAAM,YAAY,iDAA+B,CAAC;AAEzD;;;;GAIG;AACH,eAAO,MAAM,aAAa,8BAAwB,CAAC;AAEnD;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,2DAA0B,CAAC;AAE5D;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,yBAExC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,WAAW,8BAA4B,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,SAAS,yBAA2B,CAAC;AAElD;;;;GAIG;AACH,eAAO,MAAM,SAAS,yBAA4B,CAAC;AAEnD;;;;GAIG;AACH,eAAO,MAAM,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,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyDvB,CAAC"}
@@ -40,14 +40,17 @@ export default class SearchInput extends Vue {
40
40
  protected autocompleteSuggestionsEvent: PropsWithType<XEventsTypes, Suggestion[]>;
41
41
  query: string;
42
42
  /**
43
- * Focus search input when the user navigates to the search input.
43
+ * When event {@link XEventsTypes.UserReachedEmpathizeTop} or
44
+ * {@link SearchBoxXEvents.UserPressedClearSearchBoxButton}
45
+ * are emitted the search in put is focused.
44
46
  *
45
47
  * @internal
46
48
  */
47
49
  focusInput(): void;
48
50
  protected debouncedUserAcceptedAQuery: DebouncedFunction<[string]>;
49
51
  /**
50
- * When event {@link XEventsTypes.UserAcceptedAQuery} is emitted the pending debounced emit
52
+ * When event {@link XEventsTypes.UserAcceptedAQuery} or
53
+ * {@link SearchBoxXEvents.UserClearedQuery} are emitted the pending debounced emit
51
54
  * {@link XEvent} `UserAcceptedAQuery` is canceled.
52
55
  *
53
56
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"search-input.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search-box/components/search-input.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,GAAG,MAAM,KAAK,CAAC;AAKtB,OAAO,EAAY,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAG5D;;;;;GAKG;AAIH,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,GAAG;IACnC,KAAK,EAAG;QAAE,KAAK,EAAE,gBAAgB,CAAA;KAAE,CAAC;IAE3C;;OAEG;IAEH,SA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AI,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC;IAOjE;;;;OAIG;IACH,SAAS,CAAC,wBAAwB,IAAI,IAAI;IAI1C;;;;OAIG;IACH,SAAS,CAAC,wBAAwB,IAAI,IAAI;IAI1C;;;;OAIG;IACH,SAAS,CAAC,wBAAwB,IAAI,IAAI;IAI1C;;;;;;OAMG;IACH,SAAS,CAAC,4BAA4B,IAAI,IAAI;IAU9C;;;;;OAKG;IACH,SAAS,CAAC,uBAAuB,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAI7D;;;;;;;;;OASG;IACH,SAAS,CAAC,uBAAuB,IAAI,IAAI;IASzC;;;;;;;OAOG;IACH,SAAS,CAAC,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;CAGtD"}
@@ -1,28 +1,42 @@
1
+ import { Result } from '@empathyco/x-types';
2
+ import { Wire } from '../../wiring/wiring.types';
1
3
  /**
2
4
  * Sets the tagging state `consent`.
3
5
  *
4
6
  * @public
5
7
  */
6
- export declare const setConsent: import("../../wiring").Wire<boolean>;
8
+ export declare const setConsent: Wire<boolean>;
7
9
  /**
8
10
  * Sets the tagging state config `queryTaggingDebounceMs`.
9
11
  *
10
12
  * @public
11
13
  */
12
- export declare const setQueryTaggingDebounce: import("../../wiring").Wire<number>;
14
+ export declare const setQueryTaggingDebounce: Wire<number>;
13
15
  /**
14
16
  * Sets the tagging state `sessionTTLMs`.
15
17
  *
16
18
  * @public
17
19
  */
18
- export declare const setSessionDuration: import("../../wiring").Wire<number>;
20
+ export declare const setSessionDuration: Wire<number>;
19
21
  /**
20
22
  * Tracks the tagging of the query using a debounce which ends if the user
21
23
  * accepts a query.
22
24
  *
23
25
  * @public
24
26
  */
25
- export declare const trackWire: import("../../wiring").AnyWire;
27
+ export declare const trackQueryWire: Wire<import("@empathyco/x-types").TaggingInfo | import("@empathyco/x-types").TaggingInfo[]>;
28
+ /**
29
+ * Tracks the tagging of the result.
30
+ *
31
+ * @public
32
+ */
33
+ export declare const trackResultClickedWire: Wire<Result>;
34
+ /**
35
+ * Performs a track of a result added to the cart.
36
+ *
37
+ * @public
38
+ */
39
+ export declare const trackAddToCartWire: Wire<Result>;
26
40
  /**
27
41
  * Wiring configuration for the {@link TaggingXModule | tagging module}.
28
42
  *
@@ -30,19 +44,25 @@ export declare const trackWire: import("../../wiring").AnyWire;
30
44
  */
31
45
  export declare const taggingWiring: {
32
46
  ConsentProvided: {
33
- setConsent: import("../../wiring").Wire<boolean>;
47
+ setConsent: Wire<boolean>;
34
48
  };
35
49
  ConsentChanged: {
36
- clearSessionWire: import("../../wiring").Wire<any>;
50
+ clearSessionWire: Wire<any>;
37
51
  };
38
52
  SessionDurationProvided: {
39
- setSessionDuration: import("../../wiring").Wire<number>;
53
+ setSessionDuration: Wire<number>;
40
54
  };
41
55
  QueryTaggingDebounceProvided: {
42
- setQueryTaggingDebounce: import("../../wiring").Wire<number>;
56
+ setQueryTaggingDebounce: Wire<number>;
43
57
  };
44
58
  SearchTaggingChanged: {
45
- trackWire: import("../../wiring").AnyWire;
59
+ trackQueryWire: Wire<import("@empathyco/x-types").TaggingInfo | import("@empathyco/x-types").TaggingInfo[]>;
60
+ };
61
+ UserClickedAResult: {
62
+ trackResultClickedWire: Wire<Result>;
63
+ };
64
+ UserClickedResultAddToCart: {
65
+ trackAddToCartWire: Wire<Result>;
46
66
  };
47
67
  };
48
68
  //# sourceMappingURL=wiring.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/tagging/wiring.ts"],"names":[],"mappings":"AAmDA;;;;GAIG;AACH,eAAO,MAAM,UAAU,sCAA2B,CAAC;AAEnD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,qCAAwC,CAAC;AAE7E;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,qCAAmC,CAAC;AAEnE;;;;;GAKG;AACH,eAAO,MAAM,SAAS,gCAIrB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;CAgBxB,CAAC"}
1
+ {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/tagging/wiring.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAQ5C,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AA6CjD;;;;GAIG;AACH,eAAO,MAAM,UAAU,eAA2B,CAAC;AAEnD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,cAAwC,CAAC;AAE7E;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,cAAmC,CAAC;AAEnE;;;;;GAKG;AACH,eAAO,MAAM,cAAc,6FAa1B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,cAAiC,CAAC;AAErE;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,cAAoC,CAAC;AAiBpE;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;CAsBxB,CAAC"}
@@ -1,6 +1,9 @@
1
1
  import Vue from 'vue';
2
+ import { FeatureLocation } from '../../../types/origin';
2
3
  import { UrlParams } from '../../../types/url-params';
3
4
  import { Dictionary } from '../../../utils/types';
5
+ import { WireMetadata } from '../../../wiring/wiring.types';
6
+ import { SnippetConfig } from '../../../x-installer/api/api.types';
4
7
  import { UrlParamValue } from '../store/types';
5
8
  interface ParsedUrlParams {
6
9
  all: UrlParams;
@@ -14,6 +17,30 @@ interface ParsedUrlParams {
14
17
  * @public
15
18
  */
16
19
  export default class UrlHandler extends Vue {
20
+ /**
21
+ * The {@link SnippetConfig} provided by an ancestor.
22
+ *
23
+ * @internal
24
+ */
25
+ protected snippetConfig?: SnippetConfig;
26
+ /**
27
+ * Flag to know if the params were already loaded from the URL.
28
+ *
29
+ * @internal
30
+ */
31
+ protected urlLoaded: boolean;
32
+ /**
33
+ * The page URL. It is used to compare against the current URL to check navigation state.
34
+ *
35
+ * @internal
36
+ */
37
+ protected url?: URL;
38
+ /**
39
+ * Flag to know if the page has been persisted by the browser's back-forward cache.
40
+ *
41
+ * @internal
42
+ */
43
+ protected isPagePersisted: boolean;
17
44
  /**
18
45
  * Computed to know which params we must get from URL. It gets the params names from the initial
19
46
  * state, to get all default params names, and also from the `$attrs` to get the extra params
@@ -34,12 +61,6 @@ export default class UrlHandler extends Vue {
34
61
  * @internal
35
62
  */
36
63
  protected getUrlKey(paramName: string): string;
37
- /**
38
- * Flag to know if the params were already loaded from the URL.
39
- *
40
- * @internal
41
- */
42
- protected urlLoaded: boolean;
43
64
  /**
44
65
  * To emit the Url events just when the URL is load, and before the components mounted events
45
66
  * and state changes, we do it in the created of this component.
@@ -58,14 +79,56 @@ export default class UrlHandler extends Vue {
58
79
  * @param newUrlParams - The new params to update browser URL.
59
80
  */
60
81
  updateUrlWithReplace(newUrlParams: UrlParams): void;
82
+ /**
83
+ * Handler of the
84
+ * {@link https://developer.mozilla.org/en-US/docs/Web/API/Window/pageshow_event | pageshow }
85
+ * event.
86
+ *
87
+ * @remarks The pageshow event is listened to check if the browser has performed a navigation
88
+ * using the back-forward cache. This information is available in the
89
+ * PageTransitionEvent.persisted property.
90
+ *
91
+ * @param event - The page transition event.
92
+ * @internal
93
+ */
94
+ protected onPageShow(event: PageTransitionEvent): void;
61
95
  /**
62
96
  * Emits the {@link UrlXEvents.ParamsLoadedFromUrl} XEvent,
63
97
  * the {@link UrlXEvents.ExtraParamsLoadedFromUrl} XEvent and, if there is query, also emits
64
- * the {@link XEventsTypes.UserOpenXProgrammatically}.
98
+ * the {@link XEventsTypes.UserOpenXProgrammatically}.
65
99
  *
66
100
  * @internal
67
101
  */
68
102
  protected emitEvents(): void;
103
+ /**
104
+ * Creates the wire metadata to include in every emitted {@link XEvent | XEvents}.
105
+ *
106
+ * @returns The {@link WireMetadata | metadata}.
107
+ * @internal
108
+ */
109
+ protected createWireMetadata(): Pick<WireMetadata, 'feature' | 'location'>;
110
+ /**
111
+ * Detects the {@link FeatureLocation | location} used to build the
112
+ * {@link QueryOriginInit | events metadata origin}.
113
+ *
114
+ * @returns The {@link FeatureLocation | location}.
115
+ * @internal
116
+ */
117
+ protected detectLocation(): FeatureLocation;
118
+ /**
119
+ * Check if the navigation is from a product page.
120
+ *
121
+ * @remarks Due to Safari 14 not supporting the new and standard PerformanceNavigationTiming
122
+ * API, we are falling back to the deprecated one, PerformanceNavigation. We also fallback to
123
+ * this API whenever we get a navigationType equal to reload, because Safari has a bug that the
124
+ * navigationType is permanently set to reload after you have reload the page and it never
125
+ * resets. As some browsers have a back-forward cache implemented, we also take into account if
126
+ * the page is persisted.
127
+ *
128
+ * @returns True if the navigation is from a product page, false otherwise.
129
+ * @internal
130
+ */
131
+ protected isNavigatingFromPdp(): boolean;
69
132
  /**
70
133
  * Gets the {@link UrlParams} from the URL, including only the params defined by `paramsNames`.
71
134
  *
@@ -1 +1 @@
1
- {"version":3,"file":"url-handler.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/url/components/url-handler.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAKA,OAAO,GAAG,MAAM,KAAK,CAAC;AAKtB,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAG/C,UAAU,eAAe;IACvB,GAAG,EAAE,SAAS,CAAC;IACf,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CAC5B;AAED;;;;;;GAMG;AAOH,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,GAAG;IACzC;;;;;;;;OAQG;IACH,SAAS,KAAK,kBAAkB,IAAI,MAAM,EAAE,CAE3C;IAED;;;;;;;;OAQG;IACH,SAAS,CAAC,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAI9C;;;;OAIG;IACH,SAAS,CAAC,SAAS,UAAS;IAE5B;;;OAGG;IACH,OAAO,IAAI,IAAI;IAIf;;;;OAIG;IAEH,iBAAiB,CAAC,YAAY,EAAE,SAAS,GAAG,IAAI;IAIhD;;;;;OAKG;IAEH,oBAAoB,CAAC,YAAY,EAAE,SAAS,GAAG,IAAI;IAInD;;;;;;OAMG;IACH,SAAS,CAAC,UAAU,IAAI,IAAI;IAW5B;;;;;OAKG;IAEH,SAAS,CAAC,cAAc,IAAI,eAAe;IAmB3C;;;;;;;;;OASG;IACH,SAAS,CAAC,SAAS,CACjB,YAAY,EAAE,SAAS,EACvB,aAAa,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC,cAAc,CAAC,GAC5D,IAAI;IAWP;;;;;UAKM;IACN,SAAS,CAAC,mBAAmB,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI;IAM7C;;;;;;;;;;;UAWM;IACN,SAAS,CAAC,gBAAgB,CAAC,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,GAAG,IAAI;IAiBhE;;;;;;;OAOG;IACH,SAAS,CAAC,UAAU,CAAC,SAAS,EAAE,SAAS,GAAG,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAMpE;;;;;;;;;;OAUG;IACH,SAAS,CAAC,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,aAAa;CAatE"}
1
+ {"version":3,"file":"url-handler.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/url/components/url-handler.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAKA,OAAO,GAAG,MAAM,KAAK,CAAC;AAKtB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAGtD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,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AAe;IAmB3C;;;;;;;;;OASG;IACH,SAAS,CAAC,SAAS,CACjB,YAAY,EAAE,SAAS,EACvB,aAAa,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC,cAAc,CAAC,GAC5D,IAAI;IAYP;;;;;UAKM;IACN,SAAS,CAAC,mBAAmB,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI;IAM7C;;;;;;;;;;;UAWM;IACN,SAAS,CAAC,gBAAgB,CAAC,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,GAAG,IAAI;IAiBhE;;;;;;;OAOG;IACH,SAAS,CAAC,UAAU,CAAC,SAAS,EAAE,SAAS,GAAG,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAMpE;;;;;;;;;;OAUG;IACH,SAAS,CAAC,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,aAAa;CAatE"}
@@ -1,17 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [BaseIdTogglePanel](./x-components.baseidtogglepanel.md) &gt; [created](./x-components.baseidtogglepanel.created.md)
4
-
5
- ## BaseIdTogglePanel.created() method
6
-
7
- Creates the watcher over `isOpen` state to emit the event [XEventsTypes.TogglePanelStateChanged](./x-components.xeventstypes.togglepanelstatechanged.md)<!-- -->.
8
-
9
- <b>Signature:</b>
10
-
11
- ```typescript
12
- created(): void;
13
- ```
14
- <b>Returns:</b>
15
-
16
- void
17
-
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [XComponent](./x-components.xcomponent.md)
4
-
5
- ## XComponent interface
6
-
7
- An XComponent is just a normal Vue component that has an [XModule](./x-components.xmodule.md) linked to its usage. If the XComponent is imported in a consumer project, the [XModule](./x-components.xmodule.md) will be registered.
8
-
9
- <b>Signature:</b>
10
-
11
- ```typescript
12
- export interface XComponent extends Vue
13
- ```
14
- <b>Extends:</b> Vue
15
-
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [XEventsTypes](./x-components.xeventstypes.md) &gt; [UserRightClickedAResult](./x-components.xeventstypes.userrightclickedaresult.md)
4
-
5
- ## XEventsTypes.UserRightClickedAResult property
6
-
7
- The user has right clicked on a result. \* Payload: The [result](./x-types.result.md) that the user right clicked.
8
-
9
- <b>Signature:</b>
10
-
11
- ```typescript
12
- UserRightClickedAResult: Result;
13
- ```
package/docs/sidebar.json DELETED
@@ -1 +0,0 @@
1
- {"API Reference":[{"Components":[{"Common":[{"Animations":["front/xcomponents/API-reference/components/common/animations/x-components.x-components.animate-width","front/xcomponents/API-reference/components/common/animations/x-components.x-components.collapse-from-top","front/xcomponents/API-reference/components/common/animations/x-components.x-components.collapse-height","front/xcomponents/API-reference/components/common/animations/x-components.x-components.collapse-width","front/xcomponents/API-reference/components/common/animations/x-components.x-components.cross-fade","front/xcomponents/API-reference/components/common/animations/x-components.x-components.fade-and-slide","front/xcomponents/API-reference/components/common/animations/x-components.x-components.staggered-fade-and-slide","front/xcomponents/API-reference/components/common/animations/x-components.x-components.translate-from-left","front/xcomponents/API-reference/components/common/animations/x-components.x-components.translate-from-right"]},{"Column Picker":["front/xcomponents/API-reference/components/common/column-picker/x-components.x-components.base-column-picker-dropdown","front/xcomponents/API-reference/components/common/column-picker/x-components.x-components.base-column-picker-list"]},{"Currency":["front/xcomponents/API-reference/components/common/currency/x-components.x-components.base-currency"]},{"Filters":[{"Labels":["front/xcomponents/API-reference/components/common/filters/labels/x-components.x-components.base-price-filter-label","front/xcomponents/API-reference/components/common/filters/labels/x-components.x-components.base-rating-filter-label"]}]},{"Icons":["front/xcomponents/API-reference/components/common/icons/x-components.x-components.arrow","front/xcomponents/API-reference/components/common/icons/x-components.x-components.bag","front/xcomponents/API-reference/components/common/icons/x-components.x-components.bar-code","front/xcomponents/API-reference/components/common/icons/x-components.x-components.barcode-tiny","front/xcomponents/API-reference/components/common/icons/x-components.x-components.cart","front/xcomponents/API-reference/components/common/icons/x-components.x-components.check-tiny","front/xcomponents/API-reference/components/common/icons/x-components.x-components.check","front/xcomponents/API-reference/components/common/icons/x-components.x-components.checkbox-card-selected","front/xcomponents/API-reference/components/common/icons/x-components.x-components.checkbox-card-unselected","front/xcomponents/API-reference/components/common/icons/x-components.x-components.checkbox-selected","front/xcomponents/API-reference/components/common/icons/x-components.x-components.checkbox-unselected","front/xcomponents/API-reference/components/common/icons/x-components.x-components.chevron-down","front/xcomponents/API-reference/components/common/icons/x-components.x-components.chevron-left","front/xcomponents/API-reference/components/common/icons/x-components.x-components.chevron-right","front/xcomponents/API-reference/components/common/icons/x-components.x-components.chevron-tiny-down","front/xcomponents/API-reference/components/common/icons/x-components.x-components.chevron-tiny-left","front/xcomponents/API-reference/components/common/icons/x-components.x-components.chevron-tiny-right","front/xcomponents/API-reference/components/common/icons/x-components.x-components.chevron-tiny-up","front/xcomponents/API-reference/components/common/icons/x-components.x-components.chevron-up","front/xcomponents/API-reference/components/common/icons/x-components.x-components.cross-tiny","front/xcomponents/API-reference/components/common/icons/x-components.x-components.cross","front/xcomponents/API-reference/components/common/icons/x-components.x-components.filters","front/xcomponents/API-reference/components/common/icons/x-components.x-components.grid-1-col","front/xcomponents/API-reference/components/common/icons/x-components.x-components.grid-2-col","front/xcomponents/API-reference/components/common/icons/x-components.x-components.hide","front/xcomponents/API-reference/components/common/icons/x-components.x-components.history-tiny","front/xcomponents/API-reference/components/common/icons/x-components.x-components.history","front/xcomponents/API-reference/components/common/icons/x-components.x-components.menu","front/xcomponents/API-reference/components/common/icons/x-components.x-components.minus-tiny","front/xcomponents/API-reference/components/common/icons/x-components.x-components.minus","front/xcomponents/API-reference/components/common/icons/x-components.x-components.nq-1","front/xcomponents/API-reference/components/common/icons/x-components.x-components.nq-2","front/xcomponents/API-reference/components/common/icons/x-components.x-components.nq-3","front/xcomponents/API-reference/components/common/icons/x-components.x-components.nq-4","front/xcomponents/API-reference/components/common/icons/x-components.x-components.plus","front/xcomponents/API-reference/components/common/icons/x-components.x-components.search-tiny","front/xcomponents/API-reference/components/common/icons/x-components.x-components.search","front/xcomponents/API-reference/components/common/icons/x-components.x-components.show","front/xcomponents/API-reference/components/common/icons/x-components.x-components.star","front/xcomponents/API-reference/components/common/icons/x-components.x-components.trash-open","front/xcomponents/API-reference/components/common/icons/x-components.x-components.trash","front/xcomponents/API-reference/components/common/icons/x-components.x-components.trending-tiny","front/xcomponents/API-reference/components/common/icons/x-components.x-components.trending","front/xcomponents/API-reference/components/common/icons/x-components.x-components.user"]},{"Layouts":["front/xcomponents/API-reference/components/common/layouts/x-components.x-components.fixed-header-and-asides-layout","front/xcomponents/API-reference/components/common/layouts/x-components.x-components.multi-column-max-width-layout","front/xcomponents/API-reference/components/common/layouts/x-components.x-components.single-column-layout"]},{"Modals":["front/xcomponents/API-reference/components/common/modals/x-components.x-components.base-events-modal-close","front/xcomponents/API-reference/components/common/modals/x-components.x-components.base-events-modal-open","front/xcomponents/API-reference/components/common/modals/x-components.x-components.base-events-modal","front/xcomponents/API-reference/components/common/modals/x-components.x-components.base-id-modal-close","front/xcomponents/API-reference/components/common/modals/x-components.x-components.base-id-modal-open","front/xcomponents/API-reference/components/common/modals/x-components.x-components.base-id-modal","front/xcomponents/API-reference/components/common/modals/x-components.x-components.base-modal"]},{"Panels":["front/xcomponents/API-reference/components/common/panels/x-components.x-components.base-header-toggle-panel","front/xcomponents/API-reference/components/common/panels/x-components.x-components.base-id-toggle-panel-button","front/xcomponents/API-reference/components/common/panels/x-components.x-components.base-id-toggle-panel","front/xcomponents/API-reference/components/common/panels/x-components.x-components.base-toggle-panel"]},{"Result":["front/xcomponents/API-reference/components/common/result/x-components.x-components.base-result-add-to-cart","front/xcomponents/API-reference/components/common/result/x-components.x-components.base-result-current-price","front/xcomponents/API-reference/components/common/result/x-components.x-components.base-result-fallback-image","front/xcomponents/API-reference/components/common/result/x-components.x-components.base-result-image","front/xcomponents/API-reference/components/common/result/x-components.x-components.base-result-link","front/xcomponents/API-reference/components/common/result/x-components.x-components.base-result-placeholder-image","front/xcomponents/API-reference/components/common/result/x-components.x-components.base-result-previous-price"]},{"Scroll":["front/xcomponents/API-reference/components/common/scroll/x-components.x-components.base-scroll"]},{"Suggestions":["front/xcomponents/API-reference/components/common/suggestions/x-components.x-components.base-suggestion","front/xcomponents/API-reference/components/common/suggestions/x-components.x-components.base-suggestions"]},"front/xcomponents/API-reference/components/common/x-components.x-components.auto-progress-bar","front/xcomponents/API-reference/components/common/x-components.x-components.base-dropdown","front/xcomponents/API-reference/components/common/x-components.x-components.base-event-button","front/xcomponents/API-reference/components/common/x-components.x-components.base-grid","front/xcomponents/API-reference/components/common/x-components.x-components.base-keyboard-navigation","front/xcomponents/API-reference/components/common/x-components.x-components.base-rating","front/xcomponents/API-reference/components/common/x-components.x-components.base-variable-column-grid","front/xcomponents/API-reference/components/common/x-components.x-components.global-x-bus","front/xcomponents/API-reference/components/common/x-components.x-components.items-list","front/xcomponents/API-reference/components/common/x-components.x-components.location-provider","front/xcomponents/API-reference/components/common/x-components.x-components.sliding-panel","front/xcomponents/API-reference/components/common/x-components.x-components.snippet-callbacks","front/xcomponents/API-reference/components/common/x-components.x-components.staggering-transition-group"]},{"Device":["front/xcomponents/API-reference/components/device/x-components.x-components.device-detector"]},{"Empathize":["front/xcomponents/API-reference/components/empathize/x-components.x-components.empathize"]},{"Extra Params":["front/xcomponents/API-reference/components/extra-params/x-components.x-components.extra-params","front/xcomponents/API-reference/components/extra-params/x-components.x-components.renderless-extra-param","front/xcomponents/API-reference/components/extra-params/x-components.x-components.snippet-config-extra-params"]},{"Facets":["front/xcomponents/API-reference/components/facets/x-components.x-components.clear-filters",{"Facets":["front/xcomponents/API-reference/components/facets/x-components.facets/x-components.facets-provider","front/xcomponents/API-reference/components/facets/x-components.facets/x-components.facets"]},{"Filters":["front/xcomponents/API-reference/components/facets/x-components.filters/x-components.all-filter","front/xcomponents/API-reference/components/facets/x-components.filters/x-components.base-filter","front/xcomponents/API-reference/components/facets/x-components.filters/x-components.editable-number-range-filter","front/xcomponents/API-reference/components/facets/x-components.filters/x-components.hierarchical-filter","front/xcomponents/API-reference/components/facets/x-components.filters/x-components.number-range-filter","front/xcomponents/API-reference/components/facets/x-components.filters/x-components.renderless-filter","front/xcomponents/API-reference/components/facets/x-components.filters/x-components.simple-filter"]},{"Lists":["front/xcomponents/API-reference/components/facets/x-components.lists/x-components.exclude-filters-with-no-results","front/xcomponents/API-reference/components/facets/x-components.lists/x-components.filters-list","front/xcomponents/API-reference/components/facets/x-components.lists/x-components.filters-search","front/xcomponents/API-reference/components/facets/x-components.lists/x-components.selected-filters-list","front/xcomponents/API-reference/components/facets/x-components.lists/x-components.selected-filters","front/xcomponents/API-reference/components/facets/x-components.lists/x-components.sliced-filters","front/xcomponents/API-reference/components/facets/x-components.lists/x-components.sorted-filters"]}]},{"History Queries":["front/xcomponents/API-reference/components/history-queries/x-components.x-components.clear-history-queries","front/xcomponents/API-reference/components/history-queries/x-components.x-components.history-queries","front/xcomponents/API-reference/components/history-queries/x-components.x-components.history-query","front/xcomponents/API-reference/components/history-queries/x-components.x-components.remove-history-query"]},{"Identifier Results":["front/xcomponents/API-reference/components/identifier-results/x-components.x-components.identifier-result","front/xcomponents/API-reference/components/identifier-results/x-components.x-components.identifier-results"]},{"Next Queries":["front/xcomponents/API-reference/components/next-queries/x-components.x-components.next-queries-list","front/xcomponents/API-reference/components/next-queries/x-components.x-components.next-queries","front/xcomponents/API-reference/components/next-queries/x-components.x-components.next-query"]},{"Popular Searches":["front/xcomponents/API-reference/components/popular-searches/x-components.x-components.popular-search","front/xcomponents/API-reference/components/popular-searches/x-components.x-components.popular-searches"]},{"Query Suggestions":["front/xcomponents/API-reference/components/query-suggestions/x-components.x-components.query-suggestion","front/xcomponents/API-reference/components/query-suggestions/x-components.x-components.query-suggestions"]},{"Recommendations":["front/xcomponents/API-reference/components/recommendations/x-components.x-components.recommendations"]},{"Related Tags":["front/xcomponents/API-reference/components/related-tags/x-components.x-components.related-tag","front/xcomponents/API-reference/components/related-tags/x-components.x-components.related-tags"]},{"Scroll":["front/xcomponents/API-reference/components/scroll/x-components.x-components.main-scroll-item","front/xcomponents/API-reference/components/scroll/x-components.x-components.main-scroll","front/xcomponents/API-reference/components/scroll/x-components.x-components.scroll-to-top","front/xcomponents/API-reference/components/scroll/x-components.x-components.scroll","front/xcomponents/API-reference/components/scroll/x-components.x-components.window-scroll"]},{"Search Box":["front/xcomponents/API-reference/components/search-box/x-components.x-components.clear-search-input","front/xcomponents/API-reference/components/search-box/x-components.x-components.search-button","front/xcomponents/API-reference/components/search-box/x-components.x-components.search-input"]},{"Search":["front/xcomponents/API-reference/components/search/x-components.x-components.banner","front/xcomponents/API-reference/components/search/x-components.x-components.banners-list","front/xcomponents/API-reference/components/search/x-components.x-components.partial-query-button","front/xcomponents/API-reference/components/search/x-components.x-components.partial-results-list","front/xcomponents/API-reference/components/search/x-components.x-components.promoted","front/xcomponents/API-reference/components/search/x-components.x-components.promoteds-list","front/xcomponents/API-reference/components/search/x-components.x-components.redirection","front/xcomponents/API-reference/components/search/x-components.x-components.results-list","front/xcomponents/API-reference/components/search/x-components.x-components.sort-dropdown","front/xcomponents/API-reference/components/search/x-components.x-components.sort-list","front/xcomponents/API-reference/components/search/x-components.x-components.spellcheck-button","front/xcomponents/API-reference/components/search/x-components.x-components.spellcheck"]},{"Tagging":["front/xcomponents/API-reference/components/tagging/x-components.x-components.tagging"]},{"Url":["front/xcomponents/API-reference/components/url/x-components.x-components.url-handler"]}]}],"Build Search Ui":["front/xcomponents/build-search-ui/x-components.README","front/xcomponents/build-search-ui/x-components.web-archetype-integration-guide","front/xcomponents/build-search-ui/x-components.web-use-x-components-guide","front/xcomponents/build-search-ui/x-components.web-x-components-integration-guide",{"X Architecture":["front/xcomponents/build-search-ui/x-architecture/x-components.README"]}]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"staggering-transition-group.vue.js","sources":["../../../src/components/staggering-transition-group.vue"],"sourcesContent":["<script lang=\"ts\">\n import Vue, { CreateElement, VNode } from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n import { noOp } from '../utils';\n\n /* eslint-disable @typescript-eslint/unbound-method */\n /**\n * A replacement component for Vue's transition-group, that also adds the option to stagger\n * the animations.\n *\n * @public\n */\n @Component\n export default class StaggeringTransitionGroup extends Vue {\n /**\n * The name of the transition. Used to generate the CSS classes.\n *\n * @internal\n */\n @Prop({ default: 'v' })\n public name!: string;\n\n /** The CSS move class name.\n *\n * @internal\n */\n @Prop()\n public moveClass!: string;\n\n /**\n * The tag of the node to render to the DOM.\n *\n * @internal\n */\n @Prop({ default: 'div' })\n public tag!: string;\n\n /**\n * The time in ms to stagger each item.\n *\n * @internal\n */\n @Prop({ default: 25 })\n public staggering!: number;\n\n /**\n * The CSS class for the moving transitions.\n *\n * @returns The move transition name.\n * @internal\n */\n protected get moveClassName(): string {\n return this.moveClass ?? `${this.name}-move`;\n }\n\n /**\n * The transition data contains the needed events and props to perform a transition using Vue\n * virtual node's API.\n *\n * The `beforeLeave` hook is extended to also restore the previous position of the element using\n * the position absolute.\n * The `afterEnter` and `afterLeave` hooks are extended to also clean the transition delay\n * applied by the stagger.\n *\n * @returns The transition data for Vue virtual nodes.\n * @internal\n */\n protected get transitionData(): TransitionData {\n const transitionData: TransitionData = { ...this.$props, ...this.$attrs, ...this.$listeners };\n\n transitionData.beforeLeave = this.addRestorePositionHook(transitionData.beforeLeave);\n transitionData.afterEnter = this.addClearStaggeringCall(transitionData.afterEnter);\n transitionData.afterLeave = this.addClearStaggeringCall(transitionData.afterLeave);\n\n return transitionData;\n }\n\n /** The list of old virtual nodes, generated by the previous called render method.\n *\n * @internal */\n protected oldChildren!: TransitionVNode[];\n /** The list of new virtual nodes, generated by the last called render method.\n *\n * @internal */\n protected newChildren!: TransitionVNode[];\n /** A map containing the previous positions relative to the container, for each item\n * rendered inside the slot of this component component.\n * This is used together with the `newPositions` to calculate the move transition.\n *\n * @internal */\n protected oldPositions!: WeakMap<Element, Bounds>;\n /** A map containing the new positions relative to the container, for each item\n * rendered inside the slot of this component component.\n * This is used together with the `newPositions` to calculate the move transition.\n *\n * @internal */\n protected newPositions!: WeakMap<Element, Bounds>;\n /** A map containing the move cleanup functions pending to have been called. When invoked\n * this functions remove all the styles and classes associated to the move transition.\n *\n * @internal */\n protected pendingCleanupMoveCallbacks!: WeakMap<Element, () => void>;\n /** The counter for the stagger, used to calculate the delay for the transition of each child\n * element. It is reset every time the render method is triggered.\n *\n * @internal */\n protected staggerCounter!: number;\n /** The bounds of the container rendered using the `tag` prop. This is used to calculate the\n * relative positions of each leaving child, which are then applied with the position absolute.\n *\n * @internal */\n protected wrapperBounds!: DOMRect;\n\n beforeCreate(): void {\n /* Initialize properties here to avoid making them reactive,\n which would cause infinite loops */\n this.oldChildren = [];\n this.newChildren = [];\n this.oldPositions = new WeakMap();\n this.newPositions = new WeakMap();\n this.pendingCleanupMoveCallbacks = new WeakMap<Element, () => void>();\n this.staggerCounter = 0;\n }\n\n render(createElement: CreateElement): VNode {\n this.staggerCounter = 0;\n // New children are now the old ones\n this.oldChildren = this.newChildren;\n // Only vnodes with a tag (i.e. no HTML comments) and with a `key` property are valid.\n this.newChildren = (this.$slots.default ?? []).filter(this.isTransitionValidVNode);\n\n // Apply transition data to both new and old nodes & store the position of the old nodes.\n this.newChildren.forEach(this.addTransitionData);\n this.oldChildren.forEach(this.syncOldNodes);\n\n return createElement(\n this.tag,\n { staticClass: 'x-staggering-transition-group' },\n this.newChildren\n );\n }\n\n mounted(): void {\n this.newChildren.forEach(this.applyStagger);\n }\n\n beforeUpdate(): void {\n this.wrapperBounds = this.$el.getBoundingClientRect();\n }\n\n updated(): void {\n this.wrapperBounds = this.$el.getBoundingClientRect();\n this.newChildren.forEach(this.recordNewPosition);\n const { leavingNodes, stayingNodes, enteringNodes } = this.getNodesByTransitionType();\n\n leavingNodes.forEach(vNode => {\n this.applyStagger(vNode);\n this.disableClickingEvents(vNode);\n });\n const movedChildren = stayingNodes.filter(this.applyTranslation);\n const movedStagger = movedChildren.map(this.getNextTransitionDelay);\n enteringNodes.forEach(this.applyStagger);\n\n // force reflow to put everything in position\n document.body.getBoundingClientRect();\n\n movedChildren.forEach(this.startMoveAnimation(movedStagger));\n }\n\n /**\n * Extends the provided leave transition hook restoring the position of the element with an\n * absolute position.\n * Additionally, it removes the element position from the maps of positions.\n *\n * @param transitionHook - The leave transition hook to extend.\n * @returns The new leave transition hook extended.\n * @internal\n */\n protected addRestorePositionHook(transitionHook: TransitionHook = noOp): TransitionHook {\n return element => {\n const { top, left, width, height } = this.oldPositions.get(element)!;\n const { marginTop, marginLeft } = window.getComputedStyle(element);\n const style = element.style;\n style.position = 'absolute';\n style.top = `${top - parseFloat(marginTop)}px`;\n style.left = `${left - parseFloat(marginLeft)}px`;\n style.width = `${width}px`;\n style.height = `${height}px`;\n this.newPositions.delete(element);\n this.oldPositions.delete(element);\n const pendingCallback = this.pendingCleanupMoveCallbacks.get(element);\n pendingCallback?.();\n transitionHook(element);\n };\n }\n\n /**\n * Extends the provided transition hook clearing the transition delay.\n *\n * @param transitionHook - The transition hook to extend.\n * @returns The new transition hook, that also clears the transitionDelay from the element.\n * @internal\n */\n protected addClearStaggeringCall(transitionHook: TransitionHook = noOp): TransitionHook {\n return element => {\n element.style.transitionDelay = '';\n transitionHook(element);\n };\n }\n\n /**\n * Returns if the vNode contains a non empty key, and a non empty tag.\n *\n * @param vNode - The VNode to check if it is a valid transition node, containing a `tag` and a\n * `key` property.\n * @returns True when the vNode contains a non empty key and a non empty tag. False otherwise.\n * @internal\n */\n protected isTransitionValidVNode(vNode: VNode): vNode is TransitionVNode {\n // TODO Add warning with logger: <staggering-transition-group> children must be keyed.\n return !!vNode.key && !!vNode.tag;\n }\n\n /**\n * Adds the generated transition data to the vNode, creating the `data` property if necessary.\n *\n * @param vNode - The VNode to add the transition data to.\n * @internal\n */\n protected addTransitionData(vNode: TransitionVNode): void {\n if (!vNode.data) {\n vNode.data = {};\n }\n vNode.data.transition = this.transitionData;\n }\n\n /**\n * Re-applies the transition data to an old node, just in case it changed from the previous\n * render call. It also records the position of the node, to then calculate the move\n * transitions.\n *\n * @param vNode - The vNode to add the transition data to, and record his current position as\n * old.\n * @internal\n */\n protected syncOldNodes(vNode: TransitionVNode): void {\n // Synchronize transition data, in case it changed in the last frame.\n // We can trust data to be defined because each new node has the transition applied\n vNode.data!.transition = this.transitionData;\n this.recordOldPosition(vNode);\n }\n\n /**\n * Saves the position of the vNode in the map of old positions.\n *\n * @param vNode - The node to store its position.\n * @internal\n */\n protected recordOldPosition(vNode: TransitionVNode): void {\n this.oldPositions.set(vNode.elm, this.createRelativeBounds(vNode));\n }\n\n /**\n * Saves the position of the vNode in the map of new positions.\n *\n * @param vNode - The node to store its position.\n * @internal\n */\n protected recordNewPosition(vNode: TransitionVNode): void {\n this.newPositions.set(vNode.elm, this.createRelativeBounds(vNode));\n }\n\n /**\n * Creates an object containing the position of the vNode relative to its container.\n *\n * @param vNode - The virtual node to store its relative position.\n * @returns The relative bounds of the provided virtual node.\n * @internal\n */\n protected createRelativeBounds(vNode: TransitionVNode): Bounds {\n const { left, top, width, height } = vNode.elm.getBoundingClientRect();\n const { left: wrapperLeft, top: wrapperTop } = this.wrapperBounds;\n return {\n left: left - wrapperLeft,\n top: top - wrapperTop,\n width,\n height\n };\n }\n\n /**\n * Splits the children of the component into three groups:\n * - Nodes that are leaving.\n * - Nodes that are entering.\n * - Nodes that stay.\n *\n * This is then used to apply the stagger in the correct order: leave -\\> move -\\> enter.\n *\n * @returns The children nodes, divided in different groups depending on if they are leaving,\n * staying or entering.\n * @internal\n */\n protected getNodesByTransitionType(): TransitionTypeNodes {\n const leave = this.oldChildren.filter(child => !this.newPositions.has(child.elm));\n const enter = this.newChildren.filter(child => !this.oldPositions.has(child.elm));\n const stay = this.oldChildren.filter(child => this.newPositions.has(child.elm));\n return {\n leavingNodes: leave,\n enteringNodes: enter,\n stayingNodes: stay\n };\n }\n\n /**\n * Applies an incremental delay to the virtual node element.\n *\n * @param vNode - The virtual node to apply the stagger to.\n * @internal\n */\n protected applyStagger(vNode: TransitionVNode): void {\n vNode.elm.style.transitionDelay = this.getNextTransitionDelay();\n }\n\n /**\n * Disables listening to click events in a virtual node element.\n *\n * @remarks This is done to avoid letting the user click elements that are performing the moving\n * animation to leave the DOM but are still rendered.\n *\n * @param vNode - The virtual node to disable listening to click events.\n * @internal\n */\n protected disableClickingEvents(vNode: TransitionVNode): void {\n vNode.elm.style.pointerEvents = 'none';\n }\n\n /**\n * Calculates the next transition delay property, incrementing the `staggerCounter` property\n * each time it is called.\n *\n * @returns The value for the next element `style.transitionDelay` property.\n * @internal\n */\n protected getNextTransitionDelay(): string {\n return `${this.staggerCounter++ * this.staggering}ms`;\n }\n\n /**\n * Calculates if the virtual node should have a move transition. If its has it, then it\n * applies it immediately using the `style.transform`.\n *\n * @param vNode - The virtual node to calculate if it should have a move transition.\n * @returns True when a move transition was applied to the virtual node.\n * @internal\n */\n protected applyTranslation(vNode: TransitionVNode): boolean {\n const oldPosition = this.oldPositions.get(vNode.elm as Element)!;\n const newPosition = this.newPositions.get(vNode.elm as Element)!;\n const dx = oldPosition.left - newPosition.left;\n const dy = oldPosition.top - newPosition.top;\n if (dx !== 0 || dy !== 0) {\n const style = vNode.elm.style;\n style.transform = `translate3d(${dx}px,${dy}px,0)`;\n style.transitionDuration = '0s';\n return true;\n }\n return false;\n }\n\n /**\n * Generates a function to start the moving animations to each node that it needs them with the\n * provided stagger.\n *\n * @param moveStagger - A list containing the delay to add to each node.\n * @returns A function that starts the moving animation with the provided stagger to a single\n * virtual node.\n * @internal\n */\n protected startMoveAnimation(\n moveStagger: string[]\n ): (vNode: TransitionVNode, index: number) => void {\n return (vNode, index) => {\n const element = vNode.elm;\n const style = element.style;\n element.classList.add(this.moveClassName);\n style.transform = style.transitionDuration = '';\n style.transitionDelay = moveStagger[index];\n const cleanMoveTransition = (event?: TransitionEvent): void => {\n if (!event || (event.target === element && /transform$/.test(event.propertyName))) {\n element.removeEventListener('transitionend', cleanMoveTransition);\n element.style.transitionDelay = '';\n element.classList.remove(this.moveClassName);\n this.pendingCleanupMoveCallbacks.delete(element);\n }\n };\n this.pendingCleanupMoveCallbacks.set(element, cleanMoveTransition);\n element.addEventListener('transitionend', cleanMoveTransition);\n };\n }\n }\n\n /**\n * Contains arrays of nodes, splitted by the action they should have.\n */\n interface TransitionTypeNodes {\n leavingNodes: TransitionVNode[];\n stayingNodes: TransitionVNode[];\n enteringNodes: TransitionVNode[];\n }\n\n /**\n * Safe transition version of the VNode type, with the required non optional properties.\n */\n interface TransitionVNode extends VNode {\n elm: HTMLElement;\n tag: string;\n key: string;\n }\n\n /**\n * Vue's VNode {@link https://vuejs.org/v2/api/#transition | transition} data props and events.\n */\n interface TransitionData {\n name?: string;\n appear?: boolean;\n css?: boolean;\n type?: 'transition' | 'animation'; // Unused\n mode?: 'out-in' | 'in-out'; // Unused\n duration?: number;\n enterClass?: string;\n leaveClass?: string;\n appearClass?: string;\n enterToClass?: string;\n leaveToClass?: string;\n appearToClass?: string;\n enterActiveClass?: string;\n leaveActiveClass?: string;\n appearActiveClass?: string;\n beforeEnter?: TransitionHook;\n enter?: TransitionHook;\n afterEnter?: TransitionHook;\n beforeLeave?: TransitionHook;\n leave?: TransitionHook;\n afterLeave?: TransitionHook;\n }\n\n /**\n * A function that receives an HTMLElement. Used to perform actions when the different phases\n * of Vue transitions happens.\n */\n type TransitionHook = (element: HTMLElement) => void;\n\n /**\n * Represents the dimensions and positions of an element.\n */\n interface Bounds {\n top: number;\n left: number;\n width: number;\n height: number;\n }\n</script>\n\n<style lang=\"scss\" scoped>\n .x-staggering-transition-group {\n position: relative;\n }\n</style>\n\n<docs lang=\"mdx\">\n# Examples\n\n## Basic example\n\nApart from all the props and events that the classic transition group has, the staggering transition\ngroup also exposes a new `stagger` property, which allows to configure the delay for each one of the\nnodes when animating.\n\n```vue\n<staggering-transition-group appear :stagger=\"50\" name=\"staggered-fade-slide-\">\n <!-- @slot (Required) Transition-group content -->\n <slot />\n</staggering-transition-group>\n```\n</docs>\n"],"names":["const"],"mappings":";;;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"staggering-transition-group.vue_rollup-plugin-vue=script.js","sources":["../../../src/components/staggering-transition-group.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\nimport Vue, { CreateElement, VNode } from 'vue';\nimport { Component, Prop } from 'vue-property-decorator';\nimport { noOp } from '../utils';\n\n/* eslint-disable @typescript-eslint/unbound-method */\n/**\n * A replacement component for Vue's transition-group, that also adds the option to stagger\n * the animations.\n *\n * @public\n */\n@Component\nexport default class StaggeringTransitionGroup extends Vue {\n /**\n * The name of the transition. Used to generate the CSS classes.\n *\n * @internal\n */\n @Prop({ default: 'v' })\n public name!: string;\n\n /** The CSS move class name.\n *\n * @internal\n */\n @Prop()\n public moveClass!: string;\n\n /**\n * The tag of the node to render to the DOM.\n *\n * @internal\n */\n @Prop({ default: 'div' })\n public tag!: string;\n\n /**\n * The time in ms to stagger each item.\n *\n * @internal\n */\n @Prop({ default: 25 })\n public staggering!: number;\n\n /**\n * The CSS class for the moving transitions.\n *\n * @returns The move transition name.\n * @internal\n */\n protected get moveClassName(): string {\n return this.moveClass ?? `${this.name}-move`;\n }\n\n /**\n * The transition data contains the needed events and props to perform a transition using Vue\n * virtual node's API.\n *\n * The `beforeLeave` hook is extended to also restore the previous position of the element using\n * the position absolute.\n * The `afterEnter` and `afterLeave` hooks are extended to also clean the transition delay\n * applied by the stagger.\n *\n * @returns The transition data for Vue virtual nodes.\n * @internal\n */\n protected get transitionData(): TransitionData {\n const transitionData: TransitionData = { ...this.$props, ...this.$attrs, ...this.$listeners };\n\n transitionData.beforeLeave = this.addRestorePositionHook(transitionData.beforeLeave);\n transitionData.afterEnter = this.addClearStaggeringCall(transitionData.afterEnter);\n transitionData.afterLeave = this.addClearStaggeringCall(transitionData.afterLeave);\n\n return transitionData;\n }\n\n /** The list of old virtual nodes, generated by the previous called render method.\n *\n * @internal */\n protected oldChildren!: TransitionVNode[];\n /** The list of new virtual nodes, generated by the last called render method.\n *\n * @internal */\n protected newChildren!: TransitionVNode[];\n /** A map containing the previous positions relative to the container, for each item\n * rendered inside the slot of this component component.\n * This is used together with the `newPositions` to calculate the move transition.\n *\n * @internal */\n protected oldPositions!: WeakMap<Element, Bounds>;\n /** A map containing the new positions relative to the container, for each item\n * rendered inside the slot of this component component.\n * This is used together with the `newPositions` to calculate the move transition.\n *\n * @internal */\n protected newPositions!: WeakMap<Element, Bounds>;\n /** A map containing the move cleanup functions pending to have been called. When invoked\n * this functions remove all the styles and classes associated to the move transition.\n *\n * @internal */\n protected pendingCleanupMoveCallbacks!: WeakMap<Element, () => void>;\n /** The counter for the stagger, used to calculate the delay for the transition of each child\n * element. It is reset every time the render method is triggered.\n *\n * @internal */\n protected staggerCounter!: number;\n /** The bounds of the container rendered using the `tag` prop. This is used to calculate the\n * relative positions of each leaving child, which are then applied with the position absolute.\n *\n * @internal */\n protected wrapperBounds!: DOMRect;\n\n beforeCreate(): void {\n /* Initialize properties here to avoid making them reactive,\n which would cause infinite loops */\n this.oldChildren = [];\n this.newChildren = [];\n this.oldPositions = new WeakMap();\n this.newPositions = new WeakMap();\n this.pendingCleanupMoveCallbacks = new WeakMap<Element, () => void>();\n this.staggerCounter = 0;\n }\n\n render(createElement: CreateElement): VNode {\n this.staggerCounter = 0;\n // New children are now the old ones\n this.oldChildren = this.newChildren;\n // Only vnodes with a tag (i.e. no HTML comments) and with a `key` property are valid.\n this.newChildren = (this.$slots.default ?? []).filter(this.isTransitionValidVNode);\n\n // Apply transition data to both new and old nodes & store the position of the old nodes.\n this.newChildren.forEach(this.addTransitionData);\n this.oldChildren.forEach(this.syncOldNodes);\n\n return createElement(\n this.tag,\n { staticClass: 'x-staggering-transition-group' },\n this.newChildren\n );\n }\n\n mounted(): void {\n this.newChildren.forEach(this.applyStagger);\n }\n\n beforeUpdate(): void {\n this.wrapperBounds = this.$el.getBoundingClientRect();\n }\n\n updated(): void {\n this.wrapperBounds = this.$el.getBoundingClientRect();\n this.newChildren.forEach(this.recordNewPosition);\n const { leavingNodes, stayingNodes, enteringNodes } = this.getNodesByTransitionType();\n\n leavingNodes.forEach(vNode => {\n this.applyStagger(vNode);\n this.disableClickingEvents(vNode);\n });\n const movedChildren = stayingNodes.filter(this.applyTranslation);\n const movedStagger = movedChildren.map(this.getNextTransitionDelay);\n enteringNodes.forEach(this.applyStagger);\n\n // force reflow to put everything in position\n document.body.getBoundingClientRect();\n\n movedChildren.forEach(this.startMoveAnimation(movedStagger));\n }\n\n /**\n * Extends the provided leave transition hook restoring the position of the element with an\n * absolute position.\n * Additionally, it removes the element position from the maps of positions.\n *\n * @param transitionHook - The leave transition hook to extend.\n * @returns The new leave transition hook extended.\n * @internal\n */\n protected addRestorePositionHook(transitionHook: TransitionHook = noOp): TransitionHook {\n return element => {\n const { top, left, width, height } = this.oldPositions.get(element)!;\n const { marginTop, marginLeft } = window.getComputedStyle(element);\n const style = element.style;\n style.position = 'absolute';\n style.top = `${top - parseFloat(marginTop)}px`;\n style.left = `${left - parseFloat(marginLeft)}px`;\n style.width = `${width}px`;\n style.height = `${height}px`;\n this.newPositions.delete(element);\n this.oldPositions.delete(element);\n const pendingCallback = this.pendingCleanupMoveCallbacks.get(element);\n pendingCallback?.();\n transitionHook(element);\n };\n }\n\n /**\n * Extends the provided transition hook clearing the transition delay.\n *\n * @param transitionHook - The transition hook to extend.\n * @returns The new transition hook, that also clears the transitionDelay from the element.\n * @internal\n */\n protected addClearStaggeringCall(transitionHook: TransitionHook = noOp): TransitionHook {\n return element => {\n element.style.transitionDelay = '';\n transitionHook(element);\n };\n }\n\n /**\n * Returns if the vNode contains a non empty key, and a non empty tag.\n *\n * @param vNode - The VNode to check if it is a valid transition node, containing a `tag` and a\n * `key` property.\n * @returns True when the vNode contains a non empty key and a non empty tag. False otherwise.\n * @internal\n */\n protected isTransitionValidVNode(vNode: VNode): vNode is TransitionVNode {\n // TODO Add warning with logger: <staggering-transition-group> children must be keyed.\n return !!vNode.key && !!vNode.tag;\n }\n\n /**\n * Adds the generated transition data to the vNode, creating the `data` property if necessary.\n *\n * @param vNode - The VNode to add the transition data to.\n * @internal\n */\n protected addTransitionData(vNode: TransitionVNode): void {\n if (!vNode.data) {\n vNode.data = {};\n }\n vNode.data.transition = this.transitionData;\n }\n\n /**\n * Re-applies the transition data to an old node, just in case it changed from the previous\n * render call. It also records the position of the node, to then calculate the move\n * transitions.\n *\n * @param vNode - The vNode to add the transition data to, and record his current position as\n * old.\n * @internal\n */\n protected syncOldNodes(vNode: TransitionVNode): void {\n // Synchronize transition data, in case it changed in the last frame.\n // We can trust data to be defined because each new node has the transition applied\n vNode.data!.transition = this.transitionData;\n this.recordOldPosition(vNode);\n }\n\n /**\n * Saves the position of the vNode in the map of old positions.\n *\n * @param vNode - The node to store its position.\n * @internal\n */\n protected recordOldPosition(vNode: TransitionVNode): void {\n this.oldPositions.set(vNode.elm, this.createRelativeBounds(vNode));\n }\n\n /**\n * Saves the position of the vNode in the map of new positions.\n *\n * @param vNode - The node to store its position.\n * @internal\n */\n protected recordNewPosition(vNode: TransitionVNode): void {\n this.newPositions.set(vNode.elm, this.createRelativeBounds(vNode));\n }\n\n /**\n * Creates an object containing the position of the vNode relative to its container.\n *\n * @param vNode - The virtual node to store its relative position.\n * @returns The relative bounds of the provided virtual node.\n * @internal\n */\n protected createRelativeBounds(vNode: TransitionVNode): Bounds {\n const { left, top, width, height } = vNode.elm.getBoundingClientRect();\n const { left: wrapperLeft, top: wrapperTop } = this.wrapperBounds;\n return {\n left: left - wrapperLeft,\n top: top - wrapperTop,\n width,\n height\n };\n }\n\n /**\n * Splits the children of the component into three groups:\n * - Nodes that are leaving.\n * - Nodes that are entering.\n * - Nodes that stay.\n *\n * This is then used to apply the stagger in the correct order: leave -\\> move -\\> enter.\n *\n * @returns The children nodes, divided in different groups depending on if they are leaving,\n * staying or entering.\n * @internal\n */\n protected getNodesByTransitionType(): TransitionTypeNodes {\n const leave = this.oldChildren.filter(child => !this.newPositions.has(child.elm));\n const enter = this.newChildren.filter(child => !this.oldPositions.has(child.elm));\n const stay = this.oldChildren.filter(child => this.newPositions.has(child.elm));\n return {\n leavingNodes: leave,\n enteringNodes: enter,\n stayingNodes: stay\n };\n }\n\n /**\n * Applies an incremental delay to the virtual node element.\n *\n * @param vNode - The virtual node to apply the stagger to.\n * @internal\n */\n protected applyStagger(vNode: TransitionVNode): void {\n vNode.elm.style.transitionDelay = this.getNextTransitionDelay();\n }\n\n /**\n * Disables listening to click events in a virtual node element.\n *\n * @remarks This is done to avoid letting the user click elements that are performing the moving\n * animation to leave the DOM but are still rendered.\n *\n * @param vNode - The virtual node to disable listening to click events.\n * @internal\n */\n protected disableClickingEvents(vNode: TransitionVNode): void {\n vNode.elm.style.pointerEvents = 'none';\n }\n\n /**\n * Calculates the next transition delay property, incrementing the `staggerCounter` property\n * each time it is called.\n *\n * @returns The value for the next element `style.transitionDelay` property.\n * @internal\n */\n protected getNextTransitionDelay(): string {\n return `${this.staggerCounter++ * this.staggering}ms`;\n }\n\n /**\n * Calculates if the virtual node should have a move transition. If its has it, then it\n * applies it immediately using the `style.transform`.\n *\n * @param vNode - The virtual node to calculate if it should have a move transition.\n * @returns True when a move transition was applied to the virtual node.\n * @internal\n */\n protected applyTranslation(vNode: TransitionVNode): boolean {\n const oldPosition = this.oldPositions.get(vNode.elm as Element)!;\n const newPosition = this.newPositions.get(vNode.elm as Element)!;\n const dx = oldPosition.left - newPosition.left;\n const dy = oldPosition.top - newPosition.top;\n if (dx !== 0 || dy !== 0) {\n const style = vNode.elm.style;\n style.transform = `translate3d(${dx}px,${dy}px,0)`;\n style.transitionDuration = '0s';\n return true;\n }\n return false;\n }\n\n /**\n * Generates a function to start the moving animations to each node that it needs them with the\n * provided stagger.\n *\n * @param moveStagger - A list containing the delay to add to each node.\n * @returns A function that starts the moving animation with the provided stagger to a single\n * virtual node.\n * @internal\n */\n protected startMoveAnimation(\n moveStagger: string[]\n ): (vNode: TransitionVNode, index: number) => void {\n return (vNode, index) => {\n const element = vNode.elm;\n const style = element.style;\n element.classList.add(this.moveClassName);\n style.transform = style.transitionDuration = '';\n style.transitionDelay = moveStagger[index];\n const cleanMoveTransition = (event?: TransitionEvent): void => {\n if (!event || (event.target === element && /transform$/.test(event.propertyName))) {\n element.removeEventListener('transitionend', cleanMoveTransition);\n element.style.transitionDelay = '';\n element.classList.remove(this.moveClassName);\n this.pendingCleanupMoveCallbacks.delete(element);\n }\n };\n this.pendingCleanupMoveCallbacks.set(element, cleanMoveTransition);\n element.addEventListener('transitionend', cleanMoveTransition);\n };\n }\n}\n\n/**\n * Contains arrays of nodes, splitted by the action they should have.\n */\ninterface TransitionTypeNodes {\n leavingNodes: TransitionVNode[];\n stayingNodes: TransitionVNode[];\n enteringNodes: TransitionVNode[];\n}\n\n/**\n * Safe transition version of the VNode type, with the required non optional properties.\n */\ninterface TransitionVNode extends VNode {\n elm: HTMLElement;\n tag: string;\n key: string;\n}\n\n/**\n * Vue's VNode {@link https://vuejs.org/v2/api/#transition | transition} data props and events.\n */\ninterface TransitionData {\n name?: string;\n appear?: boolean;\n css?: boolean;\n type?: 'transition' | 'animation'; // Unused\n mode?: 'out-in' | 'in-out'; // Unused\n duration?: number;\n enterClass?: string;\n leaveClass?: string;\n appearClass?: string;\n enterToClass?: string;\n leaveToClass?: string;\n appearToClass?: string;\n enterActiveClass?: string;\n leaveActiveClass?: string;\n appearActiveClass?: string;\n beforeEnter?: TransitionHook;\n enter?: TransitionHook;\n afterEnter?: TransitionHook;\n beforeLeave?: TransitionHook;\n leave?: TransitionHook;\n afterLeave?: TransitionHook;\n}\n\n/**\n * A function that receives an HTMLElement. Used to perform actions when the different phases\n * of Vue transitions happens.\n */\ntype TransitionHook = (element: HTMLElement) => void;\n\n/**\n * Represents the dimensions and positions of an element.\n */\ninterface Bounds {\n top: number;\n left: number;\n width: number;\n height: number;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAKA;AACA;;;;;;AAOA;IAAuD,6CAAG;IAA1D;;KAkYC;IA5VC,sBAAc,oDAAa;;;;;;;aAA3B;;YACE,OAAO,MAAA,IAAI,CAAC,SAAS,mCAAO,IAAI,CAAC,IAAI,UAAO,CAAC;SAC9C;;;OAAA;IAcD,sBAAc,qDAAc;;;;;;;;;;;;;aAA5B;YACE,IAAM,cAAc,kCAAwB,IAAI,CAAC,MAAM,GAAK,IAAI,CAAC,MAAM,GAAK,IAAI,CAAC,UAAU,CAAE,CAAC;YAE9F,cAAc,CAAC,WAAW,GAAG,IAAI,CAAC,sBAAsB,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;YACrF,cAAc,CAAC,UAAU,GAAG,IAAI,CAAC,sBAAsB,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;YACnF,cAAc,CAAC,UAAU,GAAG,IAAI,CAAC,sBAAsB,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;YAEnF,OAAO,cAAc,CAAC;SACvB;;;OAAA;IAsCD,gDAAY,GAAZ;;;QAGE,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QACtB,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QACtB,IAAI,CAAC,YAAY,GAAG,IAAI,OAAO,EAAE,CAAC;QAClC,IAAI,CAAC,YAAY,GAAG,IAAI,OAAO,EAAE,CAAC;QAClC,IAAI,CAAC,2BAA2B,GAAG,IAAI,OAAO,EAAuB,CAAC;QACtE,IAAI,CAAC,cAAc,GAAG,CAAC,CAAC;KACzB;IAED,0CAAM,GAAN,UAAO,aAA4B;;QACjC,IAAI,CAAC,cAAc,GAAG,CAAC,CAAC;;QA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