@empathyco/x-components 3.0.0-alpha.30 → 3.0.0-alpha.34

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 (671) hide show
  1. package/CHANGELOG.md +117 -0
  2. package/core/index.js +3 -0
  3. package/core/index.js.map +1 -1
  4. package/design-system/default-theme.css +6 -1
  5. package/design-system/full-theme.css +6 -1
  6. package/design-system/list-default.css +3 -0
  7. package/design-system/suggestion-default.css +3 -1
  8. package/docs/API-reference/api/x-adapter.empathyrelatedtag.md +1 -0
  9. package/docs/API-reference/api/x-adapter.empathyrelatedtag.source.md +11 -0
  10. package/docs/API-reference/api/x-components.defaultsessionservice.clearsessionid.md +2 -0
  11. package/docs/API-reference/api/x-components.defaultsessionservice.getsessionid.md +4 -0
  12. package/docs/API-reference/api/x-components.defaultsessionservice.md +3 -3
  13. package/docs/API-reference/api/x-components.defaultsessionservice.session_id_key.md +3 -1
  14. package/docs/API-reference/api/x-components.featurelocation.md +1 -1
  15. package/docs/API-reference/api/x-components.globalxbus.created.md +15 -0
  16. package/docs/API-reference/api/x-components.globalxbus.md +21 -0
  17. package/docs/API-reference/api/x-components.identifierresultsactions.md +0 -1
  18. package/docs/API-reference/api/x-components.identifierresultsmutations.md +1 -0
  19. package/docs/API-reference/api/x-components.identifierresultsmutations.setparams.md +24 -0
  20. package/docs/API-reference/api/x-components.identifierresultsstate.md +1 -0
  21. package/docs/API-reference/api/x-components.identifierresultsstate.params.md +13 -0
  22. package/docs/API-reference/api/x-components.md +8 -0
  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.setconsent.md +1 -1
  27. package/docs/API-reference/api/x-components.setidentifierresultsextraparams.md +13 -0
  28. package/docs/API-reference/api/x-components.setquerytaggingdebounce.md +1 -1
  29. package/docs/API-reference/api/x-components.setsessionduration.md +1 -1
  30. package/docs/API-reference/api/x-components.snippetcallbacks.md +15 -0
  31. package/docs/API-reference/api/x-components.snippetconfig.callbacks.md +13 -0
  32. package/docs/API-reference/api/x-components.snippetconfig.isspa.md +13 -0
  33. package/docs/API-reference/api/x-components.snippetconfig.md +2 -0
  34. package/docs/API-reference/api/x-components.tagging.activeconsent.md +18 -0
  35. package/docs/API-reference/api/x-components.tagging.consent.md +13 -0
  36. package/docs/API-reference/api/x-components.tagging.md +28 -0
  37. package/docs/API-reference/api/x-components.tagging.render.md +15 -0
  38. package/docs/API-reference/api/x-components.taggingactions.md +7 -0
  39. package/docs/API-reference/api/x-components.taggingactions.track.md +24 -0
  40. package/docs/API-reference/api/x-components.tagicon.md +11 -0
  41. package/docs/API-reference/api/x-components.track.md +13 -0
  42. package/docs/API-reference/api/x-components.trackwire.md +13 -0
  43. package/docs/API-reference/api/x-components.xeventlisteners.md +17 -0
  44. package/docs/API-reference/api/x-components.xeventstypes.md +1 -0
  45. package/docs/API-reference/api/x-components.xeventstypes.snippetcallbackexecuted.md +16 -0
  46. package/docs/API-reference/api/x-types.relatedtag.iscurated.md +13 -0
  47. package/docs/API-reference/api/x-types.relatedtag.md +1 -0
  48. package/docs/API-reference/components/common/animations/x-components.animate-width.md +5 -6
  49. package/docs/API-reference/components/common/animations/x-components.collapse-from-top.md +6 -7
  50. package/docs/API-reference/components/common/animations/x-components.collapse-height.md +7 -8
  51. package/docs/API-reference/components/common/animations/x-components.collapse-width.md +7 -8
  52. package/docs/API-reference/components/common/animations/x-components.cross-fade.md +6 -7
  53. package/docs/API-reference/components/common/animations/x-components.fade-and-slide.md +6 -7
  54. package/docs/API-reference/components/common/animations/x-components.staggered-fade-and-slide.md +7 -8
  55. package/docs/API-reference/components/common/animations/x-components.translate-from-left.md +6 -7
  56. package/docs/API-reference/components/common/animations/x-components.translate-from-right.md +6 -7
  57. package/docs/API-reference/components/common/column-picker/x-components.base-column-picker-dropdown.md +7 -8
  58. package/docs/API-reference/components/common/column-picker/x-components.base-column-picker-list.md +6 -7
  59. package/docs/API-reference/components/common/currency/x-components.base-currency.md +7 -8
  60. package/docs/API-reference/components/common/filters/labels/x-components.base-price-filter-label.md +7 -8
  61. package/docs/API-reference/components/common/filters/labels/x-components.base-rating-filter-label.md +7 -8
  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 +6 -7
  108. package/docs/API-reference/components/common/layouts/x-components.multi-column-max-width-layout.md +6 -7
  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 +7 -8
  111. package/docs/API-reference/components/common/modals/x-components.base-events-modal-open.md +7 -8
  112. package/docs/API-reference/components/common/modals/x-components.base-events-modal.md +12 -13
  113. package/docs/API-reference/components/common/modals/x-components.base-id-modal-close.md +7 -8
  114. package/docs/API-reference/components/common/modals/x-components.base-id-modal-open.md +7 -8
  115. package/docs/API-reference/components/common/modals/x-components.base-id-modal.md +9 -10
  116. package/docs/API-reference/components/common/modals/x-components.base-modal.md +6 -7
  117. package/docs/API-reference/components/common/panels/x-components.base-header-toggle-panel.md +7 -8
  118. package/docs/API-reference/components/common/panels/x-components.base-id-toggle-panel-button.md +8 -9
  119. package/docs/API-reference/components/common/panels/x-components.base-id-toggle-panel.md +8 -9
  120. package/docs/API-reference/components/common/panels/x-components.base-toggle-panel.md +6 -7
  121. package/docs/API-reference/components/common/result/x-components.base-result-add-to-cart.md +7 -8
  122. package/docs/API-reference/components/common/result/x-components.base-result-current-price.md +7 -8
  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 +6 -7
  125. package/docs/API-reference/components/common/result/x-components.base-result-link.md +5 -6
  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 +6 -7
  128. package/docs/API-reference/components/common/scroll/x-components.base-scroll.md +6 -7
  129. package/docs/API-reference/components/common/suggestions/x-components.base-suggestion.md +7 -8
  130. package/docs/API-reference/components/common/suggestions/x-components.base-suggestions.md +6 -7
  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 +7 -8
  133. package/docs/API-reference/components/common/x-components.base-event-button.md +9 -10
  134. package/docs/API-reference/components/common/x-components.base-grid.md +11 -12
  135. package/docs/API-reference/components/common/x-components.base-keyboard-navigation.md +6 -7
  136. package/docs/API-reference/components/common/x-components.base-rating.md +7 -8
  137. package/docs/API-reference/components/common/x-components.base-variable-column-grid.md +9 -10
  138. package/docs/API-reference/components/common/x-components.global-x-bus.md +50 -0
  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 +6 -7
  142. package/docs/API-reference/components/common/x-components.snippet-callbacks.md +36 -0
  143. package/docs/API-reference/components/common/x-components.staggering-transition-group.md +6 -7
  144. package/docs/API-reference/components/device/x-components.device-detector.md +8 -9
  145. package/docs/API-reference/components/empathize/x-components.empathize.md +6 -7
  146. package/docs/API-reference/components/extra-params/x-components.extra-params.md +7 -8
  147. package/docs/API-reference/components/extra-params/x-components.renderless-extra-param.md +7 -8
  148. package/docs/API-reference/components/extra-params/x-components.snippet-config-extra-params.md +6 -7
  149. package/docs/API-reference/components/facets/x-components.clear-filters.md +6 -7
  150. package/docs/API-reference/components/facets/x-components.facets/facets-provider.md +9 -10
  151. package/docs/API-reference/components/facets/x-components.facets/facets.md +6 -7
  152. package/docs/API-reference/components/facets/x-components.filters/all-filter.md +10 -11
  153. package/docs/API-reference/components/facets/x-components.filters/base-filter.md +8 -9
  154. package/docs/API-reference/components/facets/x-components.filters/editable-number-range-filter.md +7 -8
  155. package/docs/API-reference/components/facets/x-components.filters/hierarchical-filter.md +5 -6
  156. package/docs/API-reference/components/facets/x-components.filters/number-range-filter.md +6 -7
  157. package/docs/API-reference/components/facets/x-components.filters/renderless-filter.md +9 -10
  158. package/docs/API-reference/components/facets/x-components.filters/simple-filter.md +6 -7
  159. package/docs/API-reference/components/facets/x-components.lists/exclude-filters-with-no-results.md +8 -9
  160. package/docs/API-reference/components/facets/x-components.lists/filters-list.md +8 -9
  161. package/docs/API-reference/components/facets/x-components.lists/filters-search.md +6 -7
  162. package/docs/API-reference/components/facets/x-components.lists/selected-filters-list.md +7 -8
  163. package/docs/API-reference/components/facets/x-components.lists/selected-filters.md +7 -8
  164. package/docs/API-reference/components/facets/x-components.lists/sliced-filters.md +8 -9
  165. package/docs/API-reference/components/facets/x-components.lists/sorted-filters.md +6 -7
  166. package/docs/API-reference/components/history-queries/x-components.clear-history-queries.md +8 -9
  167. package/docs/API-reference/components/history-queries/x-components.history-queries.md +6 -7
  168. package/docs/API-reference/components/history-queries/x-components.history-query.md +8 -9
  169. package/docs/API-reference/components/history-queries/x-components.remove-history-query.md +8 -9
  170. package/docs/API-reference/components/identifier-results/x-components.identifier-result.md +7 -8
  171. package/docs/API-reference/components/identifier-results/x-components.identifier-results.md +8 -9
  172. package/docs/API-reference/components/next-queries/x-components.next-queries-list.md +7 -8
  173. package/docs/API-reference/components/next-queries/x-components.next-queries.md +10 -11
  174. package/docs/API-reference/components/next-queries/x-components.next-query.md +8 -9
  175. package/docs/API-reference/components/popular-searches/x-components.popular-search.md +8 -9
  176. package/docs/API-reference/components/popular-searches/x-components.popular-searches.md +9 -10
  177. package/docs/API-reference/components/query-suggestions/x-components.query-suggestion.md +8 -9
  178. package/docs/API-reference/components/query-suggestions/x-components.query-suggestions.md +8 -9
  179. package/docs/API-reference/components/recommendations/x-components.recommendations.md +10 -11
  180. package/docs/API-reference/components/related-tags/x-components.related-tag.md +19 -17
  181. package/docs/API-reference/components/related-tags/x-components.related-tags.md +19 -19
  182. package/docs/API-reference/components/scroll/x-components.main-scroll-item.md +7 -8
  183. package/docs/API-reference/components/scroll/x-components.main-scroll.md +7 -8
  184. package/docs/API-reference/components/scroll/x-components.scroll-to-top.md +7 -8
  185. package/docs/API-reference/components/scroll/x-components.scroll.md +7 -8
  186. package/docs/API-reference/components/scroll/x-components.window-scroll.md +8 -9
  187. package/docs/API-reference/components/search/x-components.banner.md +8 -9
  188. package/docs/API-reference/components/search/x-components.banners-list.md +7 -8
  189. package/docs/API-reference/components/search/x-components.partial-query-button.md +8 -9
  190. package/docs/API-reference/components/search/x-components.partial-results-list.md +7 -8
  191. package/docs/API-reference/components/search/x-components.promoted.md +7 -8
  192. package/docs/API-reference/components/search/x-components.promoteds-list.md +7 -8
  193. package/docs/API-reference/components/search/x-components.redirection.md +7 -8
  194. package/docs/API-reference/components/search/x-components.results-list.md +7 -8
  195. package/docs/API-reference/components/search/x-components.sort-dropdown.md +7 -8
  196. package/docs/API-reference/components/search/x-components.sort-list.md +7 -8
  197. package/docs/API-reference/components/search/x-components.spellcheck-button.md +8 -9
  198. package/docs/API-reference/components/search/x-components.spellcheck.md +8 -9
  199. package/docs/API-reference/components/search-box/x-components.clear-search-input.md +6 -7
  200. package/docs/API-reference/components/search-box/x-components.search-button.md +6 -7
  201. package/docs/API-reference/components/search-box/x-components.search-input.md +7 -8
  202. package/docs/API-reference/components/tagging/x-components.tagging.md +8 -5
  203. package/docs/API-reference/components/url/x-components.url-handler.md +7 -8
  204. package/docs/build-search-ui/README.md +108 -0
  205. package/docs/build-search-ui/web-archetype-integration-guide.md +178 -0
  206. package/docs/build-search-ui/web-use-x-components-guide.md +165 -0
  207. package/docs/build-search-ui/web-x-components-integration-guide.md +192 -0
  208. package/docs/build-search-ui/x-architecture/README.md +128 -0
  209. package/identifier-results/index.js +1 -1
  210. package/js/components/animations/animate-width.vue.js +1 -1
  211. package/js/components/animations/collapse-from-top.vue.js +1 -1
  212. package/js/components/animations/collapse-height.vue.js +3 -3
  213. package/js/components/animations/collapse-width.vue.js +3 -3
  214. package/js/components/animations/cross-fade.vue.js +1 -1
  215. package/js/components/animations/fade-and-slide.vue.js +2 -2
  216. package/js/components/animations/staggered-fade-and-slide.vue.js +2 -2
  217. package/js/components/animations/translate-from-left.vue.js +1 -1
  218. package/js/components/animations/translate-from-right.vue.js +1 -1
  219. package/js/components/auto-progress-bar.vue.js +4 -5
  220. package/js/components/auto-progress-bar.vue.js.map +1 -1
  221. package/js/components/base-dropdown.vue.js +33 -45
  222. package/js/components/base-dropdown.vue.js.map +1 -1
  223. package/js/components/base-event-button.vue.js +1 -1
  224. package/js/components/base-grid.vue.js +7 -9
  225. package/js/components/base-grid.vue.js.map +1 -1
  226. package/js/components/base-keyboard-navigation.vue.js +7 -10
  227. package/js/components/base-keyboard-navigation.vue.js.map +1 -1
  228. package/js/components/base-rating.vue.js +19 -20
  229. package/js/components/base-rating.vue.js.map +1 -1
  230. package/js/components/base-variable-column-grid.vue.js +6 -7
  231. package/js/components/base-variable-column-grid.vue.js.map +1 -1
  232. package/js/components/column-picker/base-column-picker-dropdown.vue.js +11 -14
  233. package/js/components/column-picker/base-column-picker-dropdown.vue.js.map +1 -1
  234. package/js/components/column-picker/base-column-picker-list.vue.js +9 -11
  235. package/js/components/column-picker/base-column-picker-list.vue.js.map +1 -1
  236. package/js/components/currency/base-currency.vue.js +2 -3
  237. package/js/components/currency/base-currency.vue.js.map +1 -1
  238. package/js/components/filters/labels/base-rating-filter-label.vue.js +7 -8
  239. package/js/components/filters/labels/base-rating-filter-label.vue.js.map +1 -1
  240. package/js/components/global-x-bus.vue.js +39 -0
  241. package/js/components/global-x-bus.vue.js.map +1 -0
  242. package/js/components/global-x-bus.vue_rollup-plugin-vue=script.js +46 -0
  243. package/js/components/global-x-bus.vue_rollup-plugin-vue=script.js.map +1 -0
  244. package/js/components/icons/arrow.vue.js +4 -6
  245. package/js/components/icons/arrow.vue.js.map +1 -1
  246. package/js/components/icons/bag.vue.js +8 -12
  247. package/js/components/icons/bag.vue.js.map +1 -1
  248. package/js/components/icons/bar-code.vue.js +6 -9
  249. package/js/components/icons/bar-code.vue.js.map +1 -1
  250. package/js/components/icons/barcode-tiny.vue.js +6 -9
  251. package/js/components/icons/barcode-tiny.vue.js.map +1 -1
  252. package/js/components/icons/cart.vue.js +10 -13
  253. package/js/components/icons/cart.vue.js.map +1 -1
  254. package/js/components/icons/check-tiny.vue.js +4 -6
  255. package/js/components/icons/check-tiny.vue.js.map +1 -1
  256. package/js/components/icons/check.vue.js +4 -6
  257. package/js/components/icons/check.vue.js.map +1 -1
  258. package/js/components/icons/checkbox-card-selected.vue.js +5 -7
  259. package/js/components/icons/checkbox-card-selected.vue.js.map +1 -1
  260. package/js/components/icons/checkbox-card-unselected.vue.js +5 -7
  261. package/js/components/icons/checkbox-card-unselected.vue.js.map +1 -1
  262. package/js/components/icons/checkbox-selected.vue.js +5 -7
  263. package/js/components/icons/checkbox-selected.vue.js.map +1 -1
  264. package/js/components/icons/checkbox-unselected.vue.js +6 -6
  265. package/js/components/icons/chevron-down.vue.js +6 -8
  266. package/js/components/icons/chevron-down.vue.js.map +1 -1
  267. package/js/components/icons/chevron-left.vue.js +6 -8
  268. package/js/components/icons/chevron-left.vue.js.map +1 -1
  269. package/js/components/icons/chevron-right.vue.js +4 -6
  270. package/js/components/icons/chevron-right.vue.js.map +1 -1
  271. package/js/components/icons/chevron-tiny-down.vue.js +6 -8
  272. package/js/components/icons/chevron-tiny-down.vue.js.map +1 -1
  273. package/js/components/icons/chevron-tiny-left.vue.js +6 -8
  274. package/js/components/icons/chevron-tiny-left.vue.js.map +1 -1
  275. package/js/components/icons/chevron-tiny-right.vue.js +6 -8
  276. package/js/components/icons/chevron-tiny-right.vue.js.map +1 -1
  277. package/js/components/icons/chevron-tiny-up.vue.js +6 -8
  278. package/js/components/icons/chevron-tiny-up.vue.js.map +1 -1
  279. package/js/components/icons/chevron-up.vue.js +6 -8
  280. package/js/components/icons/chevron-up.vue.js.map +1 -1
  281. package/js/components/icons/cross-tiny.vue.js +4 -6
  282. package/js/components/icons/cross-tiny.vue.js.map +1 -1
  283. package/js/components/icons/cross.vue.js +4 -6
  284. package/js/components/icons/cross.vue.js.map +1 -1
  285. package/js/components/icons/filters.vue.js +10 -15
  286. package/js/components/icons/filters.vue.js.map +1 -1
  287. package/js/components/icons/grid-1-col.vue.js +6 -9
  288. package/js/components/icons/grid-1-col.vue.js.map +1 -1
  289. package/js/components/icons/grid-2-col.vue.js +8 -10
  290. package/js/components/icons/grid-2-col.vue.js.map +1 -1
  291. package/js/components/icons/hide.vue.js +10 -15
  292. package/js/components/icons/hide.vue.js.map +1 -1
  293. package/js/components/icons/history-tiny.vue.js +9 -12
  294. package/js/components/icons/history-tiny.vue.js.map +1 -1
  295. package/js/components/icons/history.vue.js +9 -12
  296. package/js/components/icons/history.vue.js.map +1 -1
  297. package/js/components/icons/menu.vue.js +6 -8
  298. package/js/components/icons/menu.vue.js.map +1 -1
  299. package/js/components/icons/minus-tiny.vue.js +4 -6
  300. package/js/components/icons/minus-tiny.vue.js.map +1 -1
  301. package/js/components/icons/minus.vue.js +4 -6
  302. package/js/components/icons/minus.vue.js.map +1 -1
  303. package/js/components/icons/nq-1.vue.js +4 -6
  304. package/js/components/icons/nq-1.vue.js.map +1 -1
  305. package/js/components/icons/nq-2.vue.js +4 -6
  306. package/js/components/icons/nq-2.vue.js.map +1 -1
  307. package/js/components/icons/nq-3.vue.js +6 -8
  308. package/js/components/icons/nq-3.vue.js.map +1 -1
  309. package/js/components/icons/nq-4.vue.js +9 -12
  310. package/js/components/icons/nq-4.vue.js.map +1 -1
  311. package/js/components/icons/plus.vue.js +4 -6
  312. package/js/components/icons/plus.vue.js.map +1 -1
  313. package/js/components/icons/search-tiny.vue.js +6 -9
  314. package/js/components/icons/search-tiny.vue.js.map +1 -1
  315. package/js/components/icons/search.vue.js +6 -8
  316. package/js/components/icons/search.vue.js.map +1 -1
  317. package/js/components/icons/show.vue.js +7 -10
  318. package/js/components/icons/show.vue.js.map +1 -1
  319. package/js/components/icons/star.vue.js +6 -9
  320. package/js/components/icons/star.vue.js.map +1 -1
  321. package/js/components/icons/tag.vue.js +59 -0
  322. package/js/components/icons/tag.vue.js.map +1 -0
  323. package/js/components/icons/tag.vue_rollup-plugin-vue=script.js +4 -0
  324. package/js/components/icons/tag.vue_rollup-plugin-vue=script.js.map +1 -0
  325. package/js/components/icons/trash-open.vue.js +12 -15
  326. package/js/components/icons/trash-open.vue.js.map +1 -1
  327. package/js/components/icons/trash.vue.js +8 -11
  328. package/js/components/icons/trash.vue.js.map +1 -1
  329. package/js/components/icons/trending-tiny.vue.js +8 -10
  330. package/js/components/icons/trending-tiny.vue.js.map +1 -1
  331. package/js/components/icons/trending.vue.js +8 -10
  332. package/js/components/icons/trending.vue.js.map +1 -1
  333. package/js/components/icons/user.vue.js +6 -9
  334. package/js/components/icons/user.vue.js.map +1 -1
  335. package/js/components/items-list.vue.js +6 -7
  336. package/js/components/items-list.vue.js.map +1 -1
  337. package/js/components/layouts/multi-column-max-width-layout.vue.js +54 -88
  338. package/js/components/layouts/multi-column-max-width-layout.vue.js.map +1 -1
  339. package/js/components/layouts/single-column-layout.vue.js +39 -67
  340. package/js/components/layouts/single-column-layout.vue.js.map +1 -1
  341. package/js/components/modals/base-events-modal-close.vue.js +2 -2
  342. package/js/components/modals/base-events-modal-open.vue.js +2 -2
  343. package/js/components/modals/base-events-modal.vue.js +3 -3
  344. package/js/components/modals/base-id-modal-close.vue.js +2 -2
  345. package/js/components/modals/base-id-modal-open.vue.js +2 -2
  346. package/js/components/modals/base-id-modal.vue.js +3 -3
  347. package/js/components/modals/base-modal.vue.js +9 -11
  348. package/js/components/modals/base-modal.vue.js.map +1 -1
  349. package/js/components/panels/base-header-toggle-panel.vue.js +5 -7
  350. package/js/components/panels/base-header-toggle-panel.vue.js.map +1 -1
  351. package/js/components/panels/base-id-toggle-panel-button.vue.js +2 -2
  352. package/js/components/panels/base-id-toggle-panel.vue.js +1 -1
  353. package/js/components/panels/base-toggle-panel.vue.js +3 -4
  354. package/js/components/panels/base-toggle-panel.vue.js.map +1 -1
  355. package/js/components/result/base-result-add-to-cart.vue.js +2 -2
  356. package/js/components/result/base-result-current-price.vue.js +6 -8
  357. package/js/components/result/base-result-current-price.vue.js.map +1 -1
  358. package/js/components/result/base-result-fallback-image.vue.js +7 -9
  359. package/js/components/result/base-result-fallback-image.vue.js.map +1 -1
  360. package/js/components/result/base-result-image.vue.js +9 -12
  361. package/js/components/result/base-result-image.vue.js.map +1 -1
  362. package/js/components/result/base-result-link.vue.js +5 -5
  363. package/js/components/result/base-result-placeholder-image.vue.js +7 -9
  364. package/js/components/result/base-result-placeholder-image.vue.js.map +1 -1
  365. package/js/components/result/base-result-previous-price.vue.js +7 -9
  366. package/js/components/result/base-result-previous-price.vue.js.map +1 -1
  367. package/js/components/scroll/base-scroll.vue.js +2 -2
  368. package/js/components/sliding-panel.vue.js +11 -14
  369. package/js/components/sliding-panel.vue.js.map +1 -1
  370. package/js/components/snippet-callbacks.vue.js +47 -0
  371. package/js/components/snippet-callbacks.vue.js.map +1 -0
  372. package/js/components/snippet-callbacks.vue_rollup-plugin-vue=script.js +58 -0
  373. package/js/components/snippet-callbacks.vue_rollup-plugin-vue=script.js.map +1 -0
  374. package/js/components/suggestions/base-suggestion.vue.js +6 -8
  375. package/js/components/suggestions/base-suggestion.vue.js.map +1 -1
  376. package/js/components/suggestions/base-suggestions.vue.js +6 -7
  377. package/js/components/suggestions/base-suggestions.vue.js.map +1 -1
  378. package/js/index.js +7 -2
  379. package/js/index.js.map +1 -1
  380. package/js/utils/origin.js +5 -3
  381. package/js/utils/origin.js.map +1 -1
  382. package/js/utils/storage.js +2 -2
  383. package/js/utils/storage.js.map +1 -1
  384. package/js/x-modules/device/components/device-detector.vue.js +2 -2
  385. package/js/x-modules/empathize/components/empathize.vue.js +5 -6
  386. package/js/x-modules/empathize/components/empathize.vue.js.map +1 -1
  387. package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue=script.js +3 -0
  388. package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue=script.js.map +1 -1
  389. package/js/x-modules/extra-params/components/renderless-extra-param.vue.js +3 -4
  390. package/js/x-modules/extra-params/components/renderless-extra-param.vue.js.map +1 -1
  391. package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue=script.js +3 -0
  392. package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue=script.js.map +1 -1
  393. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue.js +1 -1
  394. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue=script.js +3 -0
  395. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue=script.js.map +1 -1
  396. package/js/x-modules/facets/components/clear-filters.vue.js +6 -8
  397. package/js/x-modules/facets/components/clear-filters.vue.js.map +1 -1
  398. package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue=script.js +3 -0
  399. package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue=script.js.map +1 -1
  400. package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue=script.js +3 -0
  401. package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue=script.js.map +1 -1
  402. package/js/x-modules/facets/components/facets/facets.vue.js +10 -11
  403. package/js/x-modules/facets/components/facets/facets.vue.js.map +1 -1
  404. package/js/x-modules/facets/components/filters/all-filter.vue.js +5 -6
  405. package/js/x-modules/facets/components/filters/all-filter.vue.js.map +1 -1
  406. package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue=script.js +3 -0
  407. package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  408. package/js/x-modules/facets/components/filters/base-filter.vue.js +5 -6
  409. package/js/x-modules/facets/components/filters/base-filter.vue.js.map +1 -1
  410. package/js/x-modules/facets/components/filters/base-filter.vue_rollup-plugin-vue=script.js +3 -0
  411. package/js/x-modules/facets/components/filters/base-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  412. package/js/x-modules/facets/components/filters/editable-number-range-filter.vue.js +19 -23
  413. package/js/x-modules/facets/components/filters/editable-number-range-filter.vue.js.map +1 -1
  414. package/js/x-modules/facets/components/filters/hierarchical-filter.vue.js +29 -38
  415. package/js/x-modules/facets/components/filters/hierarchical-filter.vue.js.map +1 -1
  416. package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue=script.js +3 -0
  417. package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  418. package/js/x-modules/facets/components/filters/number-range-filter.vue.js +5 -6
  419. package/js/x-modules/facets/components/filters/number-range-filter.vue.js.map +1 -1
  420. package/js/x-modules/facets/components/filters/number-range-filter.vue_rollup-plugin-vue=script.js +3 -0
  421. package/js/x-modules/facets/components/filters/number-range-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  422. package/js/x-modules/facets/components/filters/renderless-filter.vue_rollup-plugin-vue=script.js +3 -0
  423. package/js/x-modules/facets/components/filters/renderless-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  424. package/js/x-modules/facets/components/filters/simple-filter.vue.js +13 -17
  425. package/js/x-modules/facets/components/filters/simple-filter.vue.js.map +1 -1
  426. package/js/x-modules/facets/components/filters/simple-filter.vue_rollup-plugin-vue=script.js +3 -0
  427. package/js/x-modules/facets/components/filters/simple-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  428. package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue_rollup-plugin-vue=script.js +3 -0
  429. package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue_rollup-plugin-vue=script.js.map +1 -1
  430. package/js/x-modules/facets/components/lists/filters-list.vue.js +4 -4
  431. package/js/x-modules/facets/components/lists/filters-list.vue_rollup-plugin-vue=script.js +3 -0
  432. package/js/x-modules/facets/components/lists/filters-list.vue_rollup-plugin-vue=script.js.map +1 -1
  433. package/js/x-modules/facets/components/lists/filters-search.vue.js +8 -10
  434. package/js/x-modules/facets/components/lists/filters-search.vue.js.map +1 -1
  435. package/js/x-modules/facets/components/lists/filters-search.vue_rollup-plugin-vue=script.js +3 -0
  436. package/js/x-modules/facets/components/lists/filters-search.vue_rollup-plugin-vue=script.js.map +1 -1
  437. package/js/x-modules/facets/components/lists/selected-filters-list.vue.js +14 -20
  438. package/js/x-modules/facets/components/lists/selected-filters-list.vue.js.map +1 -1
  439. package/js/x-modules/facets/components/lists/selected-filters.vue.js +3 -4
  440. package/js/x-modules/facets/components/lists/selected-filters.vue.js.map +1 -1
  441. package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue=script.js +3 -0
  442. package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue=script.js.map +1 -1
  443. package/js/x-modules/facets/components/lists/sliced-filters.vue.js +12 -18
  444. package/js/x-modules/facets/components/lists/sliced-filters.vue.js.map +1 -1
  445. package/js/x-modules/facets/components/lists/sliced-filters.vue_rollup-plugin-vue=script.js +3 -0
  446. package/js/x-modules/facets/components/lists/sliced-filters.vue_rollup-plugin-vue=script.js.map +1 -1
  447. package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue=script.js +3 -0
  448. package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue=script.js.map +1 -1
  449. package/js/x-modules/history-queries/components/clear-history-queries.vue.js +5 -6
  450. package/js/x-modules/history-queries/components/clear-history-queries.vue.js.map +1 -1
  451. package/js/x-modules/history-queries/components/history-queries.vue.js +19 -25
  452. package/js/x-modules/history-queries/components/history-queries.vue.js.map +1 -1
  453. package/js/x-modules/history-queries/components/history-query.vue.js +14 -18
  454. package/js/x-modules/history-queries/components/history-query.vue.js.map +1 -1
  455. package/js/x-modules/history-queries/components/history-query.vue_rollup-plugin-vue=script.js.map +1 -1
  456. package/js/x-modules/history-queries/components/remove-history-query.vue.js +2 -2
  457. package/js/x-modules/identifier-results/components/identifier-result.vue.js +2 -2
  458. package/js/x-modules/identifier-results/components/identifier-results.vue.js +4 -4
  459. package/js/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.js +4 -2
  460. package/js/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.js.map +1 -1
  461. package/js/x-modules/identifier-results/store/actions/save-query.action.js +4 -0
  462. package/js/x-modules/identifier-results/store/actions/save-query.action.js.map +1 -1
  463. package/js/x-modules/identifier-results/store/getters/identifier-results-request.getter.js +4 -9
  464. package/js/x-modules/identifier-results/store/getters/identifier-results-request.getter.js.map +1 -1
  465. package/js/x-modules/identifier-results/store/module.js +5 -3
  466. package/js/x-modules/identifier-results/store/module.js.map +1 -1
  467. package/js/x-modules/identifier-results/wiring.js +16 -3
  468. package/js/x-modules/identifier-results/wiring.js.map +1 -1
  469. package/js/x-modules/next-queries/components/next-queries-list.vue.js +9 -12
  470. package/js/x-modules/next-queries/components/next-queries-list.vue.js.map +1 -1
  471. package/js/x-modules/next-queries/components/next-queries.vue.js +15 -20
  472. package/js/x-modules/next-queries/components/next-queries.vue.js.map +1 -1
  473. package/js/x-modules/next-queries/components/next-query.vue.js +9 -10
  474. package/js/x-modules/next-queries/components/next-query.vue.js.map +1 -1
  475. package/js/x-modules/next-queries/components/next-query.vue_rollup-plugin-vue=script.js.map +1 -1
  476. package/js/x-modules/popular-searches/components/popular-search.vue.js +9 -10
  477. package/js/x-modules/popular-searches/components/popular-search.vue.js.map +1 -1
  478. package/js/x-modules/popular-searches/components/popular-search.vue_rollup-plugin-vue=script.js.map +1 -1
  479. package/js/x-modules/popular-searches/components/popular-searches.vue.js +15 -20
  480. package/js/x-modules/popular-searches/components/popular-searches.vue.js.map +1 -1
  481. package/js/x-modules/query-suggestions/components/query-suggestion.vue.js +10 -11
  482. package/js/x-modules/query-suggestions/components/query-suggestion.vue.js.map +1 -1
  483. package/js/x-modules/query-suggestions/components/query-suggestion.vue_rollup-plugin-vue=script.js.map +1 -1
  484. package/js/x-modules/query-suggestions/components/query-suggestions.vue.js +15 -20
  485. package/js/x-modules/query-suggestions/components/query-suggestions.vue.js.map +1 -1
  486. package/js/x-modules/recommendations/components/recommendations.vue.js +9 -12
  487. package/js/x-modules/recommendations/components/recommendations.vue.js.map +1 -1
  488. package/js/x-modules/related-tags/components/related-tag.vue.js +11 -8
  489. package/js/x-modules/related-tags/components/related-tag.vue.js.map +1 -1
  490. package/js/x-modules/related-tags/components/related-tag.vue_rollup-plugin-vue=script.js +35 -7
  491. package/js/x-modules/related-tags/components/related-tag.vue_rollup-plugin-vue=script.js.map +1 -1
  492. package/js/x-modules/related-tags/components/related-tags.vue.js +28 -21
  493. package/js/x-modules/related-tags/components/related-tags.vue.js.map +1 -1
  494. package/js/x-modules/related-tags/components/related-tags.vue_rollup-plugin-vue=script.js +3 -0
  495. package/js/x-modules/related-tags/components/related-tags.vue_rollup-plugin-vue=script.js.map +1 -1
  496. package/js/x-modules/scroll/components/main-scroll-item.vue.js +1 -1
  497. package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue=script.js +3 -0
  498. package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue=script.js.map +1 -1
  499. package/js/x-modules/scroll/components/scroll-to-top.vue.js +3 -4
  500. package/js/x-modules/scroll/components/scroll-to-top.vue.js.map +1 -1
  501. package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js +3 -0
  502. package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js.map +1 -1
  503. package/js/x-modules/scroll/components/scroll.vue.js +4 -4
  504. package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue=script.js +3 -0
  505. package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue=script.js.map +1 -1
  506. package/js/x-modules/search/components/banner.vue.js +4 -6
  507. package/js/x-modules/search/components/banner.vue.js.map +1 -1
  508. package/js/x-modules/search/components/banners-list.vue.js +9 -12
  509. package/js/x-modules/search/components/banners-list.vue.js.map +1 -1
  510. package/js/x-modules/search/components/partial-query-button.vue.js +4 -5
  511. package/js/x-modules/search/components/partial-query-button.vue.js.map +1 -1
  512. package/js/x-modules/search/components/partial-query-button.vue_rollup-plugin-vue=script.js +14 -6
  513. package/js/x-modules/search/components/partial-query-button.vue_rollup-plugin-vue=script.js.map +1 -1
  514. package/js/x-modules/search/components/partial-results-list.vue.js +4 -4
  515. package/js/x-modules/search/components/promoted.vue.js +4 -6
  516. package/js/x-modules/search/components/promoted.vue.js.map +1 -1
  517. package/js/x-modules/search/components/promoteds-list.vue.js +9 -12
  518. package/js/x-modules/search/components/promoteds-list.vue.js.map +1 -1
  519. package/js/x-modules/search/components/redirection.vue.js +4 -5
  520. package/js/x-modules/search/components/redirection.vue.js.map +1 -1
  521. package/js/x-modules/search/components/results-list.vue.js +9 -12
  522. package/js/x-modules/search/components/results-list.vue.js.map +1 -1
  523. package/js/x-modules/search/components/sort-dropdown.vue.js +13 -16
  524. package/js/x-modules/search/components/sort-dropdown.vue.js.map +1 -1
  525. package/js/x-modules/search/components/sort-list.vue.js +8 -10
  526. package/js/x-modules/search/components/sort-list.vue.js.map +1 -1
  527. package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue=script.js +3 -0
  528. package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue=script.js.map +1 -1
  529. package/js/x-modules/search/components/sort.mixin.js +3 -0
  530. package/js/x-modules/search/components/sort.mixin.js.map +1 -1
  531. package/js/x-modules/search/components/spellcheck-button.vue.js +4 -5
  532. package/js/x-modules/search/components/spellcheck-button.vue.js.map +1 -1
  533. package/js/x-modules/search/components/spellcheck-button.vue_rollup-plugin-vue=script.js +14 -6
  534. package/js/x-modules/search/components/spellcheck-button.vue_rollup-plugin-vue=script.js.map +1 -1
  535. package/js/x-modules/search/components/spellcheck.vue.js +4 -6
  536. package/js/x-modules/search/components/spellcheck.vue.js.map +1 -1
  537. package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js +3 -0
  538. package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js.map +1 -1
  539. package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js +7 -2
  540. package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js.map +1 -1
  541. package/js/x-modules/search/store/emitters.js +8 -1
  542. package/js/x-modules/search/store/emitters.js.map +1 -1
  543. package/js/x-modules/search/store/getters/request.getter.js +2 -3
  544. package/js/x-modules/search/store/getters/request.getter.js.map +1 -1
  545. package/js/x-modules/search/wiring.js +4 -3
  546. package/js/x-modules/search/wiring.js.map +1 -1
  547. package/js/x-modules/search-box/components/clear-search-input.vue.js +5 -6
  548. package/js/x-modules/search-box/components/clear-search-input.vue.js.map +1 -1
  549. package/js/x-modules/search-box/components/search-button.vue.js +4 -5
  550. package/js/x-modules/search-box/components/search-button.vue.js.map +1 -1
  551. package/js/x-modules/search-box/components/search-button.vue_rollup-plugin-vue=script.js +14 -6
  552. package/js/x-modules/search-box/components/search-button.vue_rollup-plugin-vue=script.js.map +1 -1
  553. package/js/x-modules/search-box/components/search-input.vue.js +9 -11
  554. package/js/x-modules/search-box/components/search-input.vue.js.map +1 -1
  555. package/js/x-modules/search-box/components/search-input.vue_rollup-plugin-vue=script.js +17 -14
  556. package/js/x-modules/search-box/components/search-input.vue_rollup-plugin-vue=script.js.map +1 -1
  557. package/js/x-modules/tagging/components/tagging.vue.js +39 -0
  558. package/js/x-modules/tagging/components/tagging.vue.js.map +1 -0
  559. package/js/x-modules/tagging/components/tagging.vue_rollup-plugin-vue=script.js +65 -0
  560. package/js/x-modules/tagging/components/tagging.vue_rollup-plugin-vue=script.js.map +1 -0
  561. package/js/x-modules/tagging/service/session.service.js +23 -6
  562. package/js/x-modules/tagging/service/session.service.js.map +1 -1
  563. package/js/x-modules/tagging/store/actions/track.action.js +43 -0
  564. package/js/x-modules/tagging/store/actions/track.action.js.map +1 -0
  565. package/js/x-modules/tagging/store/module.js +6 -2
  566. package/js/x-modules/tagging/store/module.js.map +1 -1
  567. package/js/x-modules/tagging/wiring.js +30 -3
  568. package/js/x-modules/tagging/wiring.js.map +1 -1
  569. package/js/x-modules/url/components/url-handler.vue.js +2 -2
  570. package/js/x-modules/url/components/url-handler.vue.js.map +1 -1
  571. package/js/x-modules/url/components/url-handler.vue_rollup-plugin-vue=script.js +101 -5
  572. package/js/x-modules/url/components/url-handler.vue_rollup-plugin-vue=script.js.map +1 -1
  573. package/package.json +16 -14
  574. package/report/tsdoc-metadata.json +1 -1
  575. package/report/x-adapter.api.json +29 -3
  576. package/report/x-components.api.json +662 -59
  577. package/report/x-components.api.md +106 -18
  578. package/report/x-types.api.json +27 -1
  579. package/tagging/index.js +4 -2
  580. package/types/adapter/mocked-adapter.d.ts.map +1 -1
  581. package/types/components/global-x-bus.vue.d.ts +25 -0
  582. package/types/components/global-x-bus.vue.d.ts.map +1 -0
  583. package/types/components/icons/index.d.ts +1 -0
  584. package/types/components/icons/index.d.ts.map +1 -1
  585. package/types/components/icons/tag.vue.d.ts +3 -0
  586. package/types/components/icons/tag.vue.d.ts.map +1 -0
  587. package/types/components/index.d.ts +2 -0
  588. package/types/components/index.d.ts.map +1 -1
  589. package/types/components/snippet-callbacks.vue.d.ts +27 -0
  590. package/types/components/snippet-callbacks.vue.d.ts.map +1 -0
  591. package/types/types/origin.d.ts +1 -1
  592. package/types/types/origin.d.ts.map +1 -1
  593. package/types/utils/origin.d.ts +3 -1
  594. package/types/utils/origin.d.ts.map +1 -1
  595. package/types/utils/storage.d.ts +1 -7
  596. package/types/utils/storage.d.ts.map +1 -1
  597. package/types/wiring/events.types.d.ts +8 -0
  598. package/types/wiring/events.types.d.ts.map +1 -1
  599. package/types/x-installer/api/api.types.d.ts +14 -0
  600. package/types/x-installer/api/api.types.d.ts.map +1 -1
  601. package/types/x-modules/history-queries/components/history-query.vue.d.ts.map +1 -1
  602. package/types/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.d.ts.map +1 -1
  603. package/types/x-modules/identifier-results/store/actions/save-query.action.d.ts.map +1 -1
  604. package/types/x-modules/identifier-results/store/getters/identifier-results-request.getter.d.ts.map +1 -1
  605. package/types/x-modules/identifier-results/store/module.d.ts.map +1 -1
  606. package/types/x-modules/identifier-results/store/types.d.ts +9 -7
  607. package/types/x-modules/identifier-results/store/types.d.ts.map +1 -1
  608. package/types/x-modules/identifier-results/wiring.d.ts +11 -1
  609. package/types/x-modules/identifier-results/wiring.d.ts.map +1 -1
  610. package/types/x-modules/next-queries/components/next-query.vue.d.ts.map +1 -1
  611. package/types/x-modules/popular-searches/components/popular-search.vue.d.ts.map +1 -1
  612. package/types/x-modules/query-suggestions/components/query-suggestion.vue.d.ts.map +1 -1
  613. package/types/x-modules/related-tags/components/related-tag.vue.d.ts +22 -0
  614. package/types/x-modules/related-tags/components/related-tag.vue.d.ts.map +1 -1
  615. package/types/x-modules/related-tags/components/related-tags.vue.d.ts +6 -0
  616. package/types/x-modules/related-tags/components/related-tags.vue.d.ts.map +1 -1
  617. package/types/x-modules/search/components/partial-query-button.vue.d.ts +8 -0
  618. package/types/x-modules/search/components/partial-query-button.vue.d.ts.map +1 -1
  619. package/types/x-modules/search/components/spellcheck-button.vue.d.ts +8 -0
  620. package/types/x-modules/search/components/spellcheck-button.vue.d.ts.map +1 -1
  621. package/types/x-modules/search/store/actions/fetch-and-save-search-response.action.d.ts.map +1 -1
  622. package/types/x-modules/search/store/emitters.d.ts +4 -1
  623. package/types/x-modules/search/store/emitters.d.ts.map +1 -1
  624. package/types/x-modules/search/store/getters/request.getter.d.ts.map +1 -1
  625. package/types/x-modules/search/wiring.d.ts +2 -1
  626. package/types/x-modules/search/wiring.d.ts.map +1 -1
  627. package/types/x-modules/search-box/components/search-button.vue.d.ts +8 -0
  628. package/types/x-modules/search-box/components/search-button.vue.d.ts.map +1 -1
  629. package/types/x-modules/search-box/components/search-input.vue.d.ts +6 -3
  630. package/types/x-modules/search-box/components/search-input.vue.d.ts.map +1 -1
  631. package/types/x-modules/tagging/components/tagging.vue.d.ts +47 -0
  632. package/types/x-modules/tagging/components/tagging.vue.d.ts.map +1 -0
  633. package/types/x-modules/tagging/index.d.ts +1 -0
  634. package/types/x-modules/tagging/index.d.ts.map +1 -1
  635. package/types/x-modules/tagging/service/session.service.d.ts +18 -1
  636. package/types/x-modules/tagging/service/session.service.d.ts.map +1 -1
  637. package/types/x-modules/tagging/store/actions/index.d.ts +2 -0
  638. package/types/x-modules/tagging/store/actions/index.d.ts.map +1 -0
  639. package/types/x-modules/tagging/store/actions/track.action.d.ts +12 -0
  640. package/types/x-modules/tagging/store/actions/track.action.d.ts.map +1 -0
  641. package/types/x-modules/tagging/store/index.d.ts +1 -0
  642. package/types/x-modules/tagging/store/index.d.ts.map +1 -1
  643. package/types/x-modules/tagging/store/module.d.ts.map +1 -1
  644. package/types/x-modules/tagging/store/types.d.ts +7 -0
  645. package/types/x-modules/tagging/store/types.d.ts.map +1 -1
  646. package/types/x-modules/tagging/wiring.d.ts +17 -7
  647. package/types/x-modules/tagging/wiring.d.ts.map +1 -1
  648. package/types/x-modules/url/components/url-handler.vue.d.ts +70 -7
  649. package/types/x-modules/url/components/url-handler.vue.d.ts.map +1 -1
  650. package/docs/API-reference/api/x-components.identifierresultsactions.seturlparams.md +0 -24
  651. package/docs/css/global.scss +0 -1
  652. package/docs/css/utils/utils.scss +0 -35
  653. package/docs/css/xcomponents/clear-search-input.scss +0 -9
  654. package/docs/css/xcomponents/index.scss +0 -16
  655. package/docs/css/xcomponents/search-input.scss +0 -10
  656. package/docs/css/xcomponents/suggestions.scss +0 -19
  657. package/docs/guide/getting-started/components/clear-search-input.md +0 -98
  658. package/docs/guide/getting-started/components/live-examples.md +0 -100
  659. package/docs/guide/getting-started/components/query-suggestions.md +0 -76
  660. package/docs/guide/getting-started/components/search-button.md +0 -98
  661. package/docs/guide/getting-started/components/search-input.md +0 -105
  662. package/docs/guide/getting-started/install-xplugin.md +0 -72
  663. package/docs/guide/getting-started/use-components.md +0 -75
  664. package/docs/guide/install.md +0 -30
  665. package/docs/react-components/ReactComponents.jsx +0 -46
  666. package/docs/react-components/Utils.jsx +0 -34
  667. package/docs/sidebar.json +0 -1
  668. package/js/x-modules/identifier-results/store/actions/set-url-params.action.js +0 -17
  669. package/js/x-modules/identifier-results/store/actions/set-url-params.action.js.map +0 -1
  670. package/types/x-modules/identifier-results/store/actions/set-url-params.action.d.ts +0 -12
  671. package/types/x-modules/identifier-results/store/actions/set-url-params.action.d.ts.map +0 -1
@@ -1,5 +1,7 @@
1
1
  import { XBus } from '../../plugins/x-bus.types';
2
2
  import { DocumentDirection } from '../../plugins/x-plugin.types';
3
+ import { XEvent, XEventPayload } from '../../wiring/events.types';
4
+ import { WireMetadata } from '../../wiring/wiring.types';
3
5
  /**
4
6
  * Interface with the API functions exposes as X
5
7
  * {@link https://developer.mozilla.org/en-US/docs/Web/API/Window | window} property.
@@ -40,6 +42,14 @@ export interface XAPI {
40
42
  */
41
43
  init(config: SnippetConfig): void;
42
44
  }
45
+ /**
46
+ * Map type of every {@link XEvent} and a callback with the payload and metadata for that event.
47
+ *
48
+ * @public
49
+ */
50
+ export declare type XEventListeners = Partial<{
51
+ [Event in XEvent]: (payload: XEventPayload<Event>, metadata: WireMetadata) => void;
52
+ }>;
43
53
  /**
44
54
  * Interface with the possible parameters to receive through the snippet integration.
45
55
  *
@@ -62,6 +72,10 @@ export interface SnippetConfig {
62
72
  documentDirection?: DocumentDirection;
63
73
  /** The currency name. There should be a currency format associated to this name in the app. */
64
74
  currency?: string;
75
+ /** Callbacks to be triggered when an XEvent is emitted. */
76
+ callbacks?: XEventListeners;
77
+ /** Flag determining if the page is a single page application or not. */
78
+ isSpa?: boolean;
65
79
  /** Any extra param to send in all backend calls. */
66
80
  [extra: string]: any;
67
81
  }
@@ -1 +1 @@
1
- {"version":3,"file":"api.types.d.ts","sourceRoot":"","sources":["../../../../src/x-installer/api/api.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE;;;;;GAKG;AACH,MAAM,WAAW,IAAI;IACnB;;;;;SAKK;IACL,MAAM,CAAC,GAAG,EAAE,IAAI,GAAG,IAAI,CAAC;IAExB;;;;;;;OAOG;IACH,eAAe,CAAC,YAAY,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,GAAG,IAAI,CAAC;IAErE;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE7B;;;;;;OAMG;IACH,IAAI,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI,CAAC;CACnC;AAED;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,yBAAyB;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,oCAAoC;IACpC,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,2BAA2B;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0BAA0B;IAC1B,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,+FAA+F;IAC/F,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oDAAoD;IACpD,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB"}
1
+ {"version":3,"file":"api.types.d.ts","sourceRoot":"","sources":["../../../../src/x-installer/api/api.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD;;;;;GAKG;AACH,MAAM,WAAW,IAAI;IACnB;;;;;SAKK;IACL,MAAM,CAAC,GAAG,EAAE,IAAI,GAAG,IAAI,CAAC;IAExB;;;;;;;OAOG;IACH,eAAe,CAAC,YAAY,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,GAAG,IAAI,CAAC;IAErE;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE7B;;;;;;OAMG;IACH,IAAI,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI,CAAC;CACnC;AAED;;;;GAIG;AACH,oBAAY,eAAe,GAAG,OAAO,CACnC;KACG,KAAK,IAAI,MAAM,GAAG,CAAC,OAAO,EAAE,aAAa,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,YAAY,KAAK,IAAI;CACnF,CACF,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,yBAAyB;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,oCAAoC;IACpC,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,2BAA2B;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0BAA0B;IAC1B,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,+FAA+F;IAC/F,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,wEAAwE;IACxE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,oDAAoD;IACpD,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"history-query.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/history-queries/components/history-query.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAiCA,OAAO,EAAE,YAAY,IAAI,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,GAAG,MAAM,KAAK,CAAC;AAKtB,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAI5D;;;;;;GAMG;AAKH,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,GAAG;IAC3C;;;;OAIG;IAEH,SAAS,CAAC,UAAU,EAAG,iBAAiB,CAAC;IAEzC;;;;OAIG;IAEI,KAAK,EAAG,MAAM,CAAC;IAEtB;;;;;OAKG;IACH,SAAS,KAAK,wBAAwB,IAAI,OAAO,CAAC,YAAY,CAAC,CAI9D;CACF"}
1
+ {"version":3,"file":"history-query.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/history-queries/components/history-query.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAkCA,OAAO,EAAE,YAAY,IAAI,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,GAAG,MAAM,KAAK,CAAC;AAKtB,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAI5D;;;;;;GAMG;AAKH,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,GAAG;IAC3C;;;;OAIG;IAEH,SAAS,CAAC,UAAU,EAAG,iBAAiB,CAAC;IAEzC;;;;OAIG;IAEI,KAAK,EAAG,MAAM,CAAC;IAEtB;;;;;OAKG;IACH,SAAS,KAAK,wBAAwB,IAAI,OAAO,CAAC,YAAY,CAAC,CAI9D;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-and-save-identifier-results.action.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAIzD,OAAO,EAAE,+BAA+B,EAAE,MAAM,UAAU,CAAC;AAe3D;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,uGAAe,CAAC;AAE1D;;;;;GAKG;AACH,eAAO,MAAM,mCAAmC,YAAiB,CAAC"}
1
+ {"version":3,"file":"fetch-and-save-identifier-results.action.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,OAAO,EAAE,+BAA+B,EAAE,MAAM,UAAU,CAAC;AAmB3D;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,uGAAe,CAAC;AAE1D;;;;;GAKG;AACH,eAAO,MAAM,mCAAmC,YAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"save-query.action.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/identifier-results/store/actions/save-query.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAC;AAEzD;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,EAAE,6BAA6B,CAAC,SAAS,CAAC,CAAC,WAAW,CAO3E,CAAC"}
1
+ {"version":3,"file":"save-query.action.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/identifier-results/store/actions/save-query.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAC;AAEzD;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,EAAE,6BAA6B,CAAC,SAAS,CAAC,CAAC,WAAW,CAU3E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"identifier-results-request.getter.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/identifier-results/store/getters/identifier-results-request.getter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAC;AACzD;;;;;;;;GAQG;AAEH,eAAO,MAAM,wBAAwB,EAAE,6BAA6B,CAAC,SAAS,CAAC,CAAC,0BAA0B,CAWvG,CAAC"}
1
+ {"version":3,"file":"identifier-results-request.getter.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/identifier-results/store/getters/identifier-results-request.getter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAC;AACzD;;;;;;;;GAQG;AAEH,eAAO,MAAM,wBAAwB,EAAE,6BAA6B,CAAC,SAAS,CAAC,CAAC,0BAA0B,CAUvG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/identifier-results/store/module.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAExD;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,EAAE,6BAsC3C,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/identifier-results/store/module.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAExD;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,EAAE,6BAyC3C,CAAC"}
@@ -3,7 +3,7 @@ import { Result } from '@empathyco/x-types';
3
3
  import { XActionContext, XStoreModule } from '../../../store';
4
4
  import { StatusMutations, StatusState } from '../../../store/utils/status-store.utils';
5
5
  import { QueryOrigin, QueryOriginInit } from '../../../types/origin';
6
- import { UrlParams } from '../../../types/url-params';
6
+ import { Dictionary } from '../../../utils';
7
7
  import { IdentifierResultsConfig } from '../config.types';
8
8
  /**
9
9
  * IdentifierResults store state.
@@ -17,6 +17,8 @@ export interface IdentifierResultsState extends StatusState {
17
17
  identifierResults: Result[];
18
18
  /** The origin property of the request. */
19
19
  origin: QueryOrigin | null;
20
+ /** The extra params property of the state. */
21
+ params: Dictionary<unknown>;
20
22
  /** The internal query of the module. Used to request the identifier results. */
21
23
  query: string;
22
24
  }
@@ -54,6 +56,12 @@ export interface IdentifierResultsMutations extends StatusMutations {
54
56
  *
55
57
  */
56
58
  setOrigin(origin: QueryOrigin | undefined | null): void;
59
+ /**
60
+ * Sets the extra params of the module.
61
+ *
62
+ * @param params - The new extra params.
63
+ */
64
+ setParams(params: Dictionary<unknown>): void;
57
65
  /**
58
66
  * Sets the query of the module, which is used to retrieve the identifier-results.
59
67
  *
@@ -92,12 +100,6 @@ export interface IdentifierResultsActions {
92
100
  * Stores the query in the module if it matches the regex.
93
101
  */
94
102
  saveQuery(query: string): void;
95
- /**
96
- * Checks if the url has a query on it and then updates the state with that value.
97
- *
98
- * @param urlParams - List of params from the url.
99
- */
100
- setUrlParams(urlParams: UrlParams): void;
101
103
  }
102
104
  /**
103
105
  * IdentifierResults type safe store module.
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/identifier-results/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAE1D;;;;GAIG;AACH,MAAM,WAAW,sBAAuB,SAAQ,WAAW;IACzD,0DAA0D;IAC1D,MAAM,EAAE,uBAAuB,CAAC;IAChC,wFAAwF;IACxF,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,0CAA0C;IAC1C,MAAM,EAAE,WAAW,GAAG,IAAI,CAAC;IAC3B,gFAAgF;IAChF,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC;yCACqC;IACrC,wBAAwB,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACnD,4CAA4C;IAC5C,yBAAyB,EAAE,MAAM,CAAC;IAClC;6BACyB;IACzB,yBAAyB,EAAE,MAAM,CAAC;CACnC;AAED;;;;GAIG;AACH,MAAM,WAAW,0BAA2B,SAAQ,eAAe;IACjE;;;;OAIG;IACH,oBAAoB,CAAC,iBAAiB,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACxD;;;;;OAKG;IACH,SAAS,CAAC,MAAM,EAAE,WAAW,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,CAAC;IACxD;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,mCAAmC,IAAI,IAAI,CAAC;IAC5C;;;;OAIG;IACH,sBAAsB,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI,GAAG,MAAM,EAAE,CAAC;IACpE;;OAEG;IACH,6BAA6B,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI,GAAG,IAAI,CAAC;IACvE;;;;OAIG;IACH,UAAU,CAAC,UAAU,EAAE,eAAe,GAAG,IAAI,CAAC;IAC9C;;OAEG;IACH,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,YAAY,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;CAC1C;AAED;;;;GAIG;AACH,oBAAY,6BAA6B,GAAG,YAAY,CACtD,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,CACzB,CAAC;AAEF;;;;GAIG;AACH,oBAAY,+BAA+B,GAAG,cAAc,CAC1D,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,CACzB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/identifier-results/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAE1D;;;;GAIG;AACH,MAAM,WAAW,sBAAuB,SAAQ,WAAW;IACzD,0DAA0D;IAC1D,MAAM,EAAE,uBAAuB,CAAC;IAChC,wFAAwF;IACxF,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,0CAA0C;IAC1C,MAAM,EAAE,WAAW,GAAG,IAAI,CAAC;IAC3B,8CAA8C;IAC9C,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC5B,gFAAgF;IAChF,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC;yCACqC;IACrC,wBAAwB,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACnD,4CAA4C;IAC5C,yBAAyB,EAAE,MAAM,CAAC;IAClC;6BACyB;IACzB,yBAAyB,EAAE,MAAM,CAAC;CACnC;AAED;;;;GAIG;AACH,MAAM,WAAW,0BAA2B,SAAQ,eAAe;IACjE;;;;OAIG;IACH,oBAAoB,CAAC,iBAAiB,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACxD;;;;;OAKG;IACH,SAAS,CAAC,MAAM,EAAE,WAAW,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,CAAC;IACxD;;;;OAIG;IACH,SAAS,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IAC7C;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,mCAAmC,IAAI,IAAI,CAAC;IAC5C;;;;OAIG;IACH,sBAAsB,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI,GAAG,MAAM,EAAE,CAAC;IACpE;;OAEG;IACH,6BAA6B,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI,GAAG,IAAI,CAAC;IACvE;;;;OAIG;IACH,UAAU,CAAC,UAAU,EAAE,eAAe,GAAG,IAAI,CAAC;IAC9C;;OAEG;IACH,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED;;;;GAIG;AACH,oBAAY,6BAA6B,GAAG,YAAY,CACtD,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,CACzB,CAAC;AAEF;;;;GAIG;AACH,oBAAY,+BAA+B,GAAG,cAAc,CAC1D,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,CACzB,CAAC"}
@@ -28,6 +28,12 @@ export declare const cancelFetchAndSaveIdentifierResultsWire: import("../..").An
28
28
  * @public
29
29
  */
30
30
  export declare const saveIdentifierResultsOriginWire: import("../..").AnyWire;
31
+ /**
32
+ * Sets the identifier result state `params`.
33
+ *
34
+ * @public
35
+ */
36
+ export declare const setIdentifierResultsExtraParams: import("../..").Wire<import("../..").Dictionary<unknown>>;
31
37
  /**
32
38
  * Default wiring for the {@link IdentifierResultsXModule} module.
33
39
  *
@@ -49,7 +55,11 @@ export declare const identifierResultsWiring: {
49
55
  fetchAndSaveIdentifierResultsWire: import("../..").Wire<import("@empathyco/x-adapter").SearchByIdRequest | null>;
50
56
  };
51
57
  ParamsLoadedFromUrl: {
52
- setUrlParams: import("../..").Wire<import("../..").UrlParams>;
58
+ setUrlParams: import("../..").AnyWire;
59
+ saveIdentifierResultsOriginWire: import("../..").AnyWire;
60
+ };
61
+ ExtraParamsChanged: {
62
+ setIdentifierResultsExtraParams: import("../..").Wire<import("../..").Dictionary<unknown>>;
53
63
  };
54
64
  };
55
65
  //# sourceMappingURL=wiring.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/identifier-results/wiring.ts"],"names":[],"mappings":"AAkCA;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,8BAA4B,CAAC;AAEnE;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,yBAA6B,CAAC;AAStE;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,+EAAgD,CAAC;AAE/F;;;;GAIG;AACH,eAAO,MAAM,uCAAuC,yBAEnD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,yBAG3C,CAAC;AAOF;;;;GAIG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;CAsBlC,CAAC"}
1
+ {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/identifier-results/wiring.ts"],"names":[],"mappings":"AAkCA;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,8BAA4B,CAAC;AAEnE;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,yBAA6B,CAAC;AAStE;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,+EAAgD,CAAC;AAE/F;;;;GAIG;AACH,eAAO,MAAM,uCAAuC,yBAEnD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,yBAG3C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,2DAA0B,CAAC;AAOvE;;;;GAIG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;CA0BlC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"next-query.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/next-queries/components/next-query.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,SAAS,IAAI,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAG5D;;;;;;GAMG;AAKH,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,GAAG;IACxC;;;;OAIG;IAEH,SAAS,CAAC,UAAU,EAAG,cAAc,CAAC;IAEtC;;;;;OAKG;IACH,SAAS,KAAK,MAAM,IAAI,OAAO,CAAC,YAAY,CAAC,CAI5C;CACF"}
1
+ {"version":3,"file":"next-query.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/next-queries/components/next-query.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,SAAS,IAAI,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAG5D;;;;;;GAMG;AAKH,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,GAAG;IACxC;;;;OAIG;IAEH,SAAS,CAAC,UAAU,EAAG,cAAc,CAAC;IAEtC;;;;;OAKG;IACH,SAAS,KAAK,MAAM,IAAI,OAAO,CAAC,YAAY,CAAC,CAI5C;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"popular-search.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/popular-searches/components/popular-search.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAG5D;;;;;;GAMG;AAKH,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,GAAG;IAC5C;;;;OAIG;IAEH,SAAS,CAAC,UAAU,EAAG,UAAU,CAAC;IAElC;;;;;OAKG;IACH,SAAS,KAAK,MAAM,IAAI,OAAO,CAAC,YAAY,CAAC,CAI5C;CACF"}
1
+ {"version":3,"file":"popular-search.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/popular-searches/components/popular-search.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAG5D;;;;;;GAMG;AAKH,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,GAAG;IAC5C;;;;OAIG;IAEH,SAAS,CAAC,UAAU,EAAG,UAAU,CAAC;IAElC;;;;;OAKG;IACH,SAAS,KAAK,MAAM,IAAI,OAAO,CAAC,YAAY,CAAC,CAI5C;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"query-suggestion.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/query-suggestions/components/query-suggestion.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAmB,GAAG,EAAE,MAAM,wBAAwB,CAAC;AAI9D,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAG5D;;;;;;GAMG;AAKH,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,GAAG;IAC9C;;;;OAIG;IAEI,KAAK,EAAG,MAAM,CAAC;IAEtB;;;;OAIG;IAEH,SAAS,CAAC,UAAU,EAAG,UAAU,CAAC;IAElC;;;;;OAKG;IACH,SAAS,CAAC,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,CAEpC;CACH"}
1
+ {"version":3,"file":"query-suggestion.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/query-suggestions/components/query-suggestion.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAmB,GAAG,EAAE,MAAM,wBAAwB,CAAC;AAI9D,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAG5D;;;;;;GAMG;AAKH,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,GAAG;IAC9C;;;;OAIG;IAEI,KAAK,EAAG,MAAM,CAAC;IAEtB;;;;OAIG;IAEH,SAAS,CAAC,UAAU,EAAG,UAAU,CAAC;IAElC;;;;;OAKG;IACH,SAAS,CAAC,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,CAEpC;CACH"}
@@ -1,6 +1,7 @@
1
1
  import Vue from 'vue';
2
2
  import { RelatedTag as RelatedTagModel } from '@empathyco/x-types';
3
3
  import { VueCSSClasses } from '../../../utils/types';
4
+ import { WireMetadata } from '../../../wiring/wiring.types';
4
5
  /**
5
6
  * This component renders a related tag for a query. A related tag is a descriptive keyword
6
7
  * related to the current query to fine-tune the search. For example, if you are searching
@@ -9,6 +10,12 @@ import { VueCSSClasses } from '../../../utils/types';
9
10
  * @public
10
11
  */
11
12
  export default class RelatedTag extends Vue {
13
+ /**
14
+ * Indicates if the curated related tag should be highlighted.
15
+ *
16
+ * @public
17
+ */
18
+ protected highlightCurated: boolean;
12
19
  /**
13
20
  * The related tag model data.
14
21
  *
@@ -21,6 +28,13 @@ export default class RelatedTag extends Vue {
21
28
  * @internal
22
29
  */
23
30
  selectedRelatedTags: RelatedTagModel[];
31
+ /**
32
+ * Generates the {@link WireMetadata | event metadata} object omitting the moduleName.
33
+ *
34
+ * @returns The {@link WireMetadata} object omitting the moduleName.
35
+ * @internal
36
+ */
37
+ protected createEventMetadata(): Omit<WireMetadata, 'moduleName'>;
24
38
  /**
25
39
  * Emits events when the button is clicked.
26
40
  *
@@ -35,6 +49,14 @@ export default class RelatedTag extends Vue {
35
49
  * @internal
36
50
  */
37
51
  protected get isSelected(): boolean;
52
+ /**
53
+ * Check if the related tag is curated and should be highlighted.
54
+ *
55
+ * @returns True if the related tag is curated and should be highlighted.
56
+ *
57
+ * @internal
58
+ */
59
+ protected get shouldHighlightCurated(): boolean;
38
60
  /**
39
61
  * Adds the dynamic css classes to the component.
40
62
  *
@@ -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;AAGrD;;;;;;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;;;;OAIG;IACH,SAAS,CAAC,UAAU,IAAI,IAAI;IAe5B;;;;;;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"}
@@ -1,4 +1,5 @@
1
1
  import Vue from 'vue';
2
+ import { WireMetadata } from '../../../wiring/wiring.types';
2
3
  /**
3
4
  * A button that when pressed emits the {@link XEventsTypes.UserAcceptedAQuery}
4
5
  * and {@link SearchXEvents.UserClickedPartialQuery} events, expressing the user
@@ -13,6 +14,13 @@ export default class PartialQueryButton extends Vue {
13
14
  * @public
14
15
  */
15
16
  query: string;
17
+ /**
18
+ * Generates the {@link WireMetadata | event metadata} object omitting the moduleName.
19
+ *
20
+ * @returns The {@link WireMetadata} object omitting the moduleName.
21
+ * @internal
22
+ */
23
+ protected createEventMetadata(): Omit<WireMetadata, 'moduleName'>;
16
24
  /**
17
25
  * Emits events when the button is clicked.
18
26
  *
@@ -1 +1 @@
1
- {"version":3,"file":"partial-query-button.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/components/partial-query-button.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAWA,OAAO,GAAG,MAAM,KAAK,CAAC;AAKtB;;;;;;GAMG;AAIH,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,GAAG;IACjD;;;;OAIG;IAEI,KAAK,EAAG,MAAM,CAAC;IAEtB;;;;OAIG;IACH,SAAS,CAAC,UAAU,IAAI,IAAI;CAQ7B"}
1
+ {"version":3,"file":"partial-query-button.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/components/partial-query-button.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAWA,OAAO,GAAG,MAAM,KAAK,CAAC;AAGtB,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAG5D;;;;;;GAMG;AAIH,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,GAAG;IACjD;;;;OAIG;IAEI,KAAK,EAAG,MAAM,CAAC;IAEtB;;;;;OAKG;IACH,SAAS,CAAC,mBAAmB,IAAI,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC;IAOjE;;;;OAIG;IACH,SAAS,CAAC,UAAU,IAAI,IAAI;CAI7B"}
@@ -1,4 +1,5 @@
1
1
  import Vue from 'vue';
2
+ import { WireMetadata } from '../../../wiring/wiring.types';
2
3
  /**
3
4
  * A button that when pressed emits the {@link XEventsTypes.UserAcceptedAQuery}
4
5
  * and {@link XEventsTypes.UserAcceptedSpellcheckQuery} events, expressing the user
@@ -13,6 +14,13 @@ export default class SpellcheckButton extends Vue {
13
14
  * @public
14
15
  */
15
16
  spellcheckedQuery: string;
17
+ /**
18
+ * Generates the {@link WireMetadata | event metadata} object omitting the moduleName.
19
+ *
20
+ * @returns The {@link WireMetadata} object omitting the moduleName.
21
+ * @internal
22
+ */
23
+ protected createEventMetadata(): Omit<WireMetadata, 'moduleName'>;
16
24
  /**
17
25
  * Emits events when the button is clicked.
18
26
  *
@@ -1 +1 @@
1
- {"version":3,"file":"spellcheck-button.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/components/spellcheck-button.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAYA,OAAO,GAAG,MAAM,KAAK,CAAC;AAKtB;;;;;;GAMG;AAIH,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,GAAG;IAC/C;;;;OAIG;IAEI,iBAAiB,EAAG,MAAM,CAAC;IAElC;;;;OAIG;IACH,SAAS,CAAC,UAAU,IAAI,IAAI;CAQ7B"}
1
+ {"version":3,"file":"spellcheck-button.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/components/spellcheck-button.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAYA,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D;;;;;;GAMG;AAIH,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,GAAG;IAC/C;;;;OAIG;IAEI,iBAAiB,EAAG,MAAM,CAAC;IAElC;;;;;OAKG;IACH,SAAS,CAAC,mBAAmB,IAAI,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC;IAOjE;;;;OAIG;IACH,SAAS,CAAC,UAAU,IAAI,IAAI;CAQ7B"}
@@ -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;AA6C/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"}
@@ -11,7 +11,10 @@ export declare const searchEmitters: {
11
11
  PageChanged: (state: import("./types").SearchState) => number;
12
12
  ResultsChanged: (state: import("./types").SearchState) => import("@empathyco/x-types").Result[];
13
13
  SearchRequestChanged: (_: import("./types").SearchState, getters: import("../../..").Returns<import("../../../store").GettersTree<import("./types").SearchState, import("./types").SearchGetters>>) => import("@empathyco/x-adapter").SearchRequest | null;
14
- SearchTaggingChanged: (state: import("./types").SearchState) => import("@empathyco/x-types").TaggingInfo;
14
+ SearchTaggingChanged: {
15
+ selector: (state: import("./types").SearchState) => import("@empathyco/x-types").TaggingInfo;
16
+ filter: ({ url }: import("@empathyco/x-types").TaggingInfo) => boolean;
17
+ };
15
18
  SpellcheckChanged: (state: import("./types").SearchState) => string;
16
19
  SortChanged: (state: import("./types").SearchState) => string;
17
20
  };
@@ -1 +1 @@
1
- {"version":3,"file":"emitters.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/store/emitters.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;gHAGK,OAAO;;;;;;;;CAUrC,CAAC"}
1
+ {"version":3,"file":"emitters.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/store/emitters.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;gHAGK,OAAO;;;;;;;;;;;CAarC,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,WAAW,yBAA8B,CAAC;AAEvD;;;;GAIG;AACH,eAAO,MAAM,cAAc,yBAA0C,CAAC;AAEtE;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwDvB,CAAC"}
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,WAAW,yBAA8B,CAAC;AAEvD;;;;GAIG;AACH,eAAO,MAAM,cAAc,yBAA0C,CAAC;AAEtE;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyDvB,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import Vue from 'vue';
2
2
  import { VueCSSClasses } from '../../../utils/types';
3
+ import { WireMetadata } from '../../../wiring/wiring.types';
3
4
  /**
4
5
  * This component renders a button to submit the query.
5
6
  *
@@ -13,6 +14,13 @@ import { VueCSSClasses } from '../../../utils/types';
13
14
  export default class SearchButton extends Vue {
14
15
  query: string;
15
16
  protected get isQueryEmpty(): boolean;
17
+ /**
18
+ * Generates the {@link WireMetadata | event metadata} object omitting the moduleName.
19
+ *
20
+ * @returns The {@link WireMetadata} object omitting the moduleName.
21
+ * @internal
22
+ */
23
+ protected createEventMetadata(): Omit<WireMetadata, 'moduleName'>;
16
24
  /**
17
25
  * Emits events when the button is clicked.
18
26
  *
@@ -1 +1 @@
1
- {"version":3,"file":"search-button.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search-box/components/search-button.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAaA,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGrD;;;;;;;;;GASG;AAIH,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,GAAG;IAEpC,KAAK,EAAG,MAAM,CAAC;IAEtB,SAAS,KAAK,YAAY,IAAI,OAAO,CAEpC;IAED;;;;OAIG;IACH,SAAS,CAAC,UAAU,IAAI,IAAI;IAW5B,SAAS,KAAK,cAAc,IAAI,aAAa,CAI5C;CACF"}
1
+ {"version":3,"file":"search-button.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search-box/components/search-button.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAaA,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAG5D;;;;;;;;;GASG;AAIH,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,GAAG;IAEpC,KAAK,EAAG,MAAM,CAAC;IAEtB,SAAS,KAAK,YAAY,IAAI,OAAO,CAEpC;IAED;;;;;OAKG;IACH,SAAS,CAAC,mBAAmB,IAAI,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC;IAOjE;;;;OAIG;IACH,SAAS,CAAC,UAAU,IAAI,IAAI;IAO5B,SAAS,KAAK,cAAc,IAAI,aAAa,CAI5C;CACF"}
@@ -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
@@ -68,7 +71,7 @@ export default class SearchInput extends Vue {
68
71
  * @returns The {@link WireMetadata} object omitting the moduleName.
69
72
  * @internal
70
73
  */
71
- protected eventMetadata(): Omit<WireMetadata, 'moduleName'>;
74
+ protected createEventMetadata(): Omit<WireMetadata, 'moduleName'>;
72
75
  /**
73
76
  * Emits event {@link SearchBoxXEvents.UserBlurredSearchBox} when search box loses focus.
74
77
  *
@@ -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,SAAS,CAAC,SAAS,EAAG,MAAM,CAAC;IAE7B;;OAEG;IAEH,SAAS,CAAC,SAAS,EAAG,OAAO,CAAC;IAE9B;;OAEG;IAEH,SAAS,CAAC,OAAO,EAAG,OAAO,CAAC;IAE5B;;OAEG;IAEH,SAAS,CAAC,mBAAmB,EAAG,MAAM,CAAC;IAEvC;;OAEG;IAEH,SAAS,CAAC,wBAAwB,EAAG,MAAM,EAAE,CAAC;IAE9C;;OAEG;IAEH,SAAS,CAAC,4BAA4B,EAAG,aAAa,CAAC,YAAY,EAAE,UAAU,EAAE,CAAC,CAAC;IAG5E,KAAK,EAAG,MAAM,CAAC;IAEtB;;;;OAIG;IAEH,UAAU,IAAI,IAAI;IAIlB,SAAS,CAAC,2BAA2B,EAAG,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;IAEpE;;;;;OAKG;IAGH,iCAAiC,IAAI,IAAI;IAIzC,OAAO,IAAI,IAAI;IAMf;;;;;;OAMG;IACH,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAYpD;;;;;OAKG;IACH,SAAS,CAAC,aAAa,IAAI,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC;IAM3D;;;;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
+ {"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,SAAS,CAAC,SAAS,EAAG,MAAM,CAAC;IAE7B;;OAEG;IAEH,SAAS,CAAC,SAAS,EAAG,OAAO,CAAC;IAE9B;;OAEG;IAEH,SAAS,CAAC,OAAO,EAAG,OAAO,CAAC;IAE5B;;OAEG;IAEH,SAAS,CAAC,mBAAmB,EAAG,MAAM,CAAC;IAEvC;;OAEG;IAEH,SAAS,CAAC,wBAAwB,EAAG,MAAM,EAAE,CAAC;IAE9C;;OAEG;IAEH,SAAS,CAAC,4BAA4B,EAAG,aAAa,CAAC,YAAY,EAAE,UAAU,EAAE,CAAC,CAAC;IAG5E,KAAK,EAAG,MAAM,CAAC;IAEtB;;;;;;OAMG;IAEH,UAAU,IAAI,IAAI;IAIlB,SAAS,CAAC,2BAA2B,EAAG,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;IAEpE;;;;;;OAMG;IAEH,iCAAiC,IAAI,IAAI;IAIzC,OAAO,IAAI,IAAI;IAMf;;;;;;OAMG;IACH,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAYpD;;;;;OAKG;IACH,SAAS,CAAC,mBAAmB,IAAI,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"}
@@ -0,0 +1,47 @@
1
+ import Vue from 'vue';
2
+ import { SnippetConfig } from '../../../x-installer/api/api.types';
3
+ /**
4
+ * This component enables and manages the sending of information to the
5
+ * {@link https://empathy.co/docs/tagging-api/ | Empathy Tagging API}. It allows to enable or
6
+ * disable the session id management through the `consent` prop.
7
+ *
8
+ * @public
9
+ */
10
+ export default class Tagging extends Vue {
11
+ /**
12
+ * It injects {@link SnippetConfig} provided by an ancestor as snippetConfig.
13
+ *
14
+ * @internal
15
+ */
16
+ protected snippetConfig?: SnippetConfig;
17
+ /**
18
+ * The session TTL in milliseconds.
19
+ *
20
+ * @internal
21
+ */
22
+ sessionTTLMs: number | undefined;
23
+ /**
24
+ * The debounce time in milliseconds to track the query.
25
+ *
26
+ * @internal
27
+ */
28
+ queryTaggingDebounceMs: number | undefined;
29
+ /**
30
+ * The consent to be emitted.
31
+ *
32
+ * @public
33
+ */
34
+ protected consent?: boolean;
35
+ /**
36
+ * The active consent, selected from the `consent` prop and the `snippetConfig.consent`
37
+ * property. False by default.
38
+ *
39
+ * @remarks If the consent is undefined in the prop and in the snippetConfig, it will return
40
+ * false.
41
+ *
42
+ * @returns A boolean that represents if the consent is accepted or not.
43
+ */
44
+ get activeConsent(): boolean;
45
+ render(): void;
46
+ }
47
+ //# sourceMappingURL=tagging.vue?rollup-plugin-vue=script.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tagging.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/tagging/components/tagging.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAGnE;;;;;;GAMG;AAIH,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,GAAG;IACtC;;;;OAIG;IAEH,SAAS,CAAC,aAAa,CAAC,EAAE,aAAa,CAAC;IAExC;;;;OAIG;IAGI,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IAExC;;;;OAIG;IAGI,sBAAsB,EAAE,MAAM,GAAG,SAAS,CAAC;IAElD;;;;OAIG;IAEH,SAAS,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAE5B;;;;;;;;OAQG;IACH,IACW,aAAa,IAAI,OAAO,CAElC;IAGD,MAAM,IAAI,IAAI;CACf"}
@@ -1,3 +1,4 @@
1
+ export * from './components';
1
2
  export * from './config.types';
2
3
  export * from './events.types';
3
4
  export * from './service';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/tagging/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/tagging/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC"}
@@ -8,13 +8,30 @@ import { SessionService } from './types';
8
8
  export declare class DefaultSessionService implements SessionService {
9
9
  protected storageService: StorageService;
10
10
  protected ttlMs: number;
11
- protected readonly SESSION_ID_KEY = "session-id";
11
+ /**
12
+ * Session id key to use as key in the storage.
13
+ *
14
+ * @public
15
+ */
16
+ static readonly SESSION_ID_KEY = "session-id";
12
17
  /**
13
18
  * Global instance of the {@link SessionService}.
14
19
  */
15
20
  static instance: SessionService;
16
21
  constructor(storageService?: StorageService, ttlMs?: number);
22
+ /**
23
+ * Returns the session id of the storage.
24
+ *
25
+ * @returns The current session id.
26
+ *
27
+ * @public
28
+ */
17
29
  getSessionId(): string;
30
+ /**
31
+ * Removes the session if from the storage.
32
+ *
33
+ * @public
34
+ */
18
35
  clearSessionId(): void;
19
36
  }
20
37
  //# sourceMappingURL=session.service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"session.service.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/tagging/service/session.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC;;;;GAIG;AACH,qBAAa,qBAAsB,YAAW,cAAc;IASxD,SAAS,CAAC,cAAc,EAAE,cAAc;IACxC,SAAS,CAAC,KAAK;IATjB,SAAS,CAAC,QAAQ,CAAC,cAAc,gBAAgB;IAEjD;;OAEG;IACH,OAAc,QAAQ,EAAE,cAAc,CAA+B;gBAGzD,cAAc,GAAE,cAAsD,EACtE,KAAK,SAAU;IAG3B,YAAY,IAAI,MAAM;IAMtB,cAAc,IAAI,IAAI;CAGvB"}
1
+ {"version":3,"file":"session.service.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/tagging/service/session.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAyB,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACrF,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC;;;;GAIG;AACH,qBAAa,qBAAsB,YAAW,cAAc;IAcxD,SAAS,CAAC,cAAc,EAAE,cAAc;IACxC,SAAS,CAAC,KAAK;IAdjB;;;;OAIG;IACH,gBAAuB,cAAc,gBAAgB;IAErD;;OAEG;IACH,OAAc,QAAQ,EAAE,cAAc,CAA+B;gBAGzD,cAAc,GAAE,cAA6D,EAC7E,KAAK,SAAU;IAG3B;;;;;;OAMG;IACH,YAAY,IAAI,MAAM;IAUtB;;;;OAIG;IACH,cAAc,IAAI,IAAI;CAGvB"}
@@ -0,0 +1,2 @@
1
+ export * from './track.action';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/tagging/store/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { TaggingXStoreModule } from '../types';
2
+ /**
3
+ * Default implementation for the {@link TaggingActions.track}.
4
+ *
5
+ * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,
6
+ * provided by Vuex.
7
+ * @param taggingInfo - The information of the event to track.
8
+ *
9
+ * @public
10
+ */
11
+ export declare const track: TaggingXStoreModule['actions']['track'];
12
+ //# sourceMappingURL=track.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"track.action.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/tagging/store/actions/track.action.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAE/C;;;;;;;;GAQG;AACH,eAAO,MAAM,KAAK,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC,OAAO,CAgBzD,CAAC"}
@@ -1,3 +1,4 @@
1
+ export * from './actions';
1
2
  export * from './emitters';
2
3
  export * from './module';
3
4
  export * from './types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/tagging/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/tagging/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/tagging/store/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,mBAqBjC,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/tagging/store/module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,mBAuBjC,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { TaggingInfo } from '@empathyco/x-types';
1
2
  import { XStoreModule } from '../../../store';
2
3
  import { TaggingConfig } from '../config.types';
3
4
  /**
@@ -53,6 +54,12 @@ export interface TaggingMutations {
53
54
  * @public
54
55
  */
55
56
  export interface TaggingActions {
57
+ /**
58
+ * Tracks a user interaction.
59
+ *
60
+ * @param tagging - The information of the event to track.
61
+ */
62
+ track(tagging: TaggingInfo | TaggingInfo[]): void;
56
63
  }
57
64
  /**
58
65
  * Tagging type safe store module.