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

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 (368) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/core/index.js +2 -0
  3. package/core/index.js.map +1 -1
  4. package/docs/API-reference/api/x-components.defaultsessionservice.clearsessionid.md +2 -0
  5. package/docs/API-reference/api/x-components.defaultsessionservice.getsessionid.md +4 -0
  6. package/docs/API-reference/api/x-components.defaultsessionservice.md +3 -3
  7. package/docs/API-reference/api/x-components.defaultsessionservice.session_id_key.md +3 -1
  8. package/docs/API-reference/api/x-components.globalxbus.created.md +15 -0
  9. package/docs/API-reference/api/x-components.globalxbus.md +21 -0
  10. package/docs/API-reference/api/x-components.md +4 -0
  11. package/docs/API-reference/api/x-components.snippetcallbacks.md +15 -0
  12. package/docs/API-reference/api/x-components.snippetconfig.callbacks.md +13 -0
  13. package/docs/API-reference/api/x-components.snippetconfig.md +1 -0
  14. package/docs/API-reference/api/x-components.tagging.activeconsent.md +18 -0
  15. package/docs/API-reference/api/x-components.tagging.consent.md +13 -0
  16. package/docs/API-reference/api/x-components.tagging.md +28 -0
  17. package/docs/API-reference/api/x-components.tagging.render.md +15 -0
  18. package/docs/API-reference/api/x-components.xeventlisteners.md +17 -0
  19. package/docs/API-reference/api/x-components.xeventstypes.md +1 -0
  20. package/docs/API-reference/api/x-components.xeventstypes.snippetcallbackexecuted.md +16 -0
  21. package/docs/API-reference/components/common/x-components.global-x-bus.md +51 -0
  22. package/docs/API-reference/components/common/x-components.snippet-callbacks.md +37 -0
  23. package/docs/API-reference/components/tagging/x-components.tagging.md +4 -0
  24. package/docs/sidebar.json +1 -1
  25. package/js/components/animations/animate-width.vue.js +1 -1
  26. package/js/components/animations/collapse-from-top.vue.js +1 -1
  27. package/js/components/animations/collapse-height.vue.js +3 -3
  28. package/js/components/animations/collapse-width.vue.js +3 -3
  29. package/js/components/animations/cross-fade.vue.js +1 -1
  30. package/js/components/animations/fade-and-slide.vue.js +2 -2
  31. package/js/components/animations/staggered-fade-and-slide.vue.js +2 -2
  32. package/js/components/animations/translate-from-left.vue.js +1 -1
  33. package/js/components/animations/translate-from-right.vue.js +1 -1
  34. package/js/components/auto-progress-bar.vue.js +4 -5
  35. package/js/components/auto-progress-bar.vue.js.map +1 -1
  36. package/js/components/base-dropdown.vue.js +33 -45
  37. package/js/components/base-dropdown.vue.js.map +1 -1
  38. package/js/components/base-event-button.vue.js +1 -1
  39. package/js/components/base-grid.vue.js +7 -9
  40. package/js/components/base-grid.vue.js.map +1 -1
  41. package/js/components/base-keyboard-navigation.vue.js +7 -10
  42. package/js/components/base-keyboard-navigation.vue.js.map +1 -1
  43. package/js/components/base-rating.vue.js +19 -20
  44. package/js/components/base-rating.vue.js.map +1 -1
  45. package/js/components/base-variable-column-grid.vue.js +6 -7
  46. package/js/components/base-variable-column-grid.vue.js.map +1 -1
  47. package/js/components/column-picker/base-column-picker-dropdown.vue.js +11 -14
  48. package/js/components/column-picker/base-column-picker-dropdown.vue.js.map +1 -1
  49. package/js/components/column-picker/base-column-picker-list.vue.js +9 -11
  50. package/js/components/column-picker/base-column-picker-list.vue.js.map +1 -1
  51. package/js/components/currency/base-currency.vue.js +2 -3
  52. package/js/components/currency/base-currency.vue.js.map +1 -1
  53. package/js/components/filters/labels/base-rating-filter-label.vue.js +7 -8
  54. package/js/components/filters/labels/base-rating-filter-label.vue.js.map +1 -1
  55. package/js/components/global-x-bus.vue.js +39 -0
  56. package/js/components/global-x-bus.vue.js.map +1 -0
  57. package/js/components/global-x-bus.vue_rollup-plugin-vue=script.js +46 -0
  58. package/js/components/global-x-bus.vue_rollup-plugin-vue=script.js.map +1 -0
  59. package/js/components/icons/arrow.vue.js +4 -6
  60. package/js/components/icons/arrow.vue.js.map +1 -1
  61. package/js/components/icons/bag.vue.js +8 -12
  62. package/js/components/icons/bag.vue.js.map +1 -1
  63. package/js/components/icons/bar-code.vue.js +6 -9
  64. package/js/components/icons/bar-code.vue.js.map +1 -1
  65. package/js/components/icons/barcode-tiny.vue.js +6 -9
  66. package/js/components/icons/barcode-tiny.vue.js.map +1 -1
  67. package/js/components/icons/cart.vue.js +10 -13
  68. package/js/components/icons/cart.vue.js.map +1 -1
  69. package/js/components/icons/check-tiny.vue.js +4 -6
  70. package/js/components/icons/check-tiny.vue.js.map +1 -1
  71. package/js/components/icons/check.vue.js +4 -6
  72. package/js/components/icons/check.vue.js.map +1 -1
  73. package/js/components/icons/checkbox-card-selected.vue.js +5 -7
  74. package/js/components/icons/checkbox-card-selected.vue.js.map +1 -1
  75. package/js/components/icons/checkbox-card-unselected.vue.js +5 -7
  76. package/js/components/icons/checkbox-card-unselected.vue.js.map +1 -1
  77. package/js/components/icons/checkbox-selected.vue.js +5 -7
  78. package/js/components/icons/checkbox-selected.vue.js.map +1 -1
  79. package/js/components/icons/checkbox-unselected.vue.js +6 -6
  80. package/js/components/icons/chevron-down.vue.js +6 -8
  81. package/js/components/icons/chevron-down.vue.js.map +1 -1
  82. package/js/components/icons/chevron-left.vue.js +6 -8
  83. package/js/components/icons/chevron-left.vue.js.map +1 -1
  84. package/js/components/icons/chevron-right.vue.js +4 -6
  85. package/js/components/icons/chevron-right.vue.js.map +1 -1
  86. package/js/components/icons/chevron-tiny-down.vue.js +6 -8
  87. package/js/components/icons/chevron-tiny-down.vue.js.map +1 -1
  88. package/js/components/icons/chevron-tiny-left.vue.js +6 -8
  89. package/js/components/icons/chevron-tiny-left.vue.js.map +1 -1
  90. package/js/components/icons/chevron-tiny-right.vue.js +6 -8
  91. package/js/components/icons/chevron-tiny-right.vue.js.map +1 -1
  92. package/js/components/icons/chevron-tiny-up.vue.js +6 -8
  93. package/js/components/icons/chevron-tiny-up.vue.js.map +1 -1
  94. package/js/components/icons/chevron-up.vue.js +6 -8
  95. package/js/components/icons/chevron-up.vue.js.map +1 -1
  96. package/js/components/icons/cross-tiny.vue.js +4 -6
  97. package/js/components/icons/cross-tiny.vue.js.map +1 -1
  98. package/js/components/icons/cross.vue.js +4 -6
  99. package/js/components/icons/cross.vue.js.map +1 -1
  100. package/js/components/icons/filters.vue.js +10 -15
  101. package/js/components/icons/filters.vue.js.map +1 -1
  102. package/js/components/icons/grid-1-col.vue.js +6 -9
  103. package/js/components/icons/grid-1-col.vue.js.map +1 -1
  104. package/js/components/icons/grid-2-col.vue.js +8 -10
  105. package/js/components/icons/grid-2-col.vue.js.map +1 -1
  106. package/js/components/icons/hide.vue.js +10 -15
  107. package/js/components/icons/hide.vue.js.map +1 -1
  108. package/js/components/icons/history-tiny.vue.js +9 -12
  109. package/js/components/icons/history-tiny.vue.js.map +1 -1
  110. package/js/components/icons/history.vue.js +9 -12
  111. package/js/components/icons/history.vue.js.map +1 -1
  112. package/js/components/icons/menu.vue.js +6 -8
  113. package/js/components/icons/menu.vue.js.map +1 -1
  114. package/js/components/icons/minus-tiny.vue.js +4 -6
  115. package/js/components/icons/minus-tiny.vue.js.map +1 -1
  116. package/js/components/icons/minus.vue.js +4 -6
  117. package/js/components/icons/minus.vue.js.map +1 -1
  118. package/js/components/icons/nq-1.vue.js +4 -6
  119. package/js/components/icons/nq-1.vue.js.map +1 -1
  120. package/js/components/icons/nq-2.vue.js +4 -6
  121. package/js/components/icons/nq-2.vue.js.map +1 -1
  122. package/js/components/icons/nq-3.vue.js +6 -8
  123. package/js/components/icons/nq-3.vue.js.map +1 -1
  124. package/js/components/icons/nq-4.vue.js +9 -12
  125. package/js/components/icons/nq-4.vue.js.map +1 -1
  126. package/js/components/icons/plus.vue.js +4 -6
  127. package/js/components/icons/plus.vue.js.map +1 -1
  128. package/js/components/icons/search-tiny.vue.js +6 -9
  129. package/js/components/icons/search-tiny.vue.js.map +1 -1
  130. package/js/components/icons/search.vue.js +6 -8
  131. package/js/components/icons/search.vue.js.map +1 -1
  132. package/js/components/icons/show.vue.js +7 -10
  133. package/js/components/icons/show.vue.js.map +1 -1
  134. package/js/components/icons/star.vue.js +6 -9
  135. package/js/components/icons/star.vue.js.map +1 -1
  136. package/js/components/icons/trash-open.vue.js +12 -15
  137. package/js/components/icons/trash-open.vue.js.map +1 -1
  138. package/js/components/icons/trash.vue.js +8 -11
  139. package/js/components/icons/trash.vue.js.map +1 -1
  140. package/js/components/icons/trending-tiny.vue.js +8 -10
  141. package/js/components/icons/trending-tiny.vue.js.map +1 -1
  142. package/js/components/icons/trending.vue.js +8 -10
  143. package/js/components/icons/trending.vue.js.map +1 -1
  144. package/js/components/icons/user.vue.js +6 -9
  145. package/js/components/icons/user.vue.js.map +1 -1
  146. package/js/components/items-list.vue.js +6 -7
  147. package/js/components/items-list.vue.js.map +1 -1
  148. package/js/components/layouts/multi-column-max-width-layout.vue.js +54 -88
  149. package/js/components/layouts/multi-column-max-width-layout.vue.js.map +1 -1
  150. package/js/components/layouts/single-column-layout.vue.js +39 -67
  151. package/js/components/layouts/single-column-layout.vue.js.map +1 -1
  152. package/js/components/modals/base-events-modal-close.vue.js +2 -2
  153. package/js/components/modals/base-events-modal-open.vue.js +2 -2
  154. package/js/components/modals/base-events-modal.vue.js +3 -3
  155. package/js/components/modals/base-id-modal-close.vue.js +2 -2
  156. package/js/components/modals/base-id-modal-open.vue.js +2 -2
  157. package/js/components/modals/base-id-modal.vue.js +3 -3
  158. package/js/components/modals/base-modal.vue.js +9 -11
  159. package/js/components/modals/base-modal.vue.js.map +1 -1
  160. package/js/components/panels/base-header-toggle-panel.vue.js +5 -7
  161. package/js/components/panels/base-header-toggle-panel.vue.js.map +1 -1
  162. package/js/components/panels/base-id-toggle-panel-button.vue.js +2 -2
  163. package/js/components/panels/base-id-toggle-panel.vue.js +1 -1
  164. package/js/components/panels/base-toggle-panel.vue.js +3 -4
  165. package/js/components/panels/base-toggle-panel.vue.js.map +1 -1
  166. package/js/components/result/base-result-add-to-cart.vue.js +2 -2
  167. package/js/components/result/base-result-current-price.vue.js +6 -8
  168. package/js/components/result/base-result-current-price.vue.js.map +1 -1
  169. package/js/components/result/base-result-fallback-image.vue.js +7 -9
  170. package/js/components/result/base-result-fallback-image.vue.js.map +1 -1
  171. package/js/components/result/base-result-image.vue.js +9 -12
  172. package/js/components/result/base-result-image.vue.js.map +1 -1
  173. package/js/components/result/base-result-link.vue.js +5 -5
  174. package/js/components/result/base-result-placeholder-image.vue.js +7 -9
  175. package/js/components/result/base-result-placeholder-image.vue.js.map +1 -1
  176. package/js/components/result/base-result-previous-price.vue.js +7 -9
  177. package/js/components/result/base-result-previous-price.vue.js.map +1 -1
  178. package/js/components/scroll/base-scroll.vue.js +2 -2
  179. package/js/components/sliding-panel.vue.js +11 -14
  180. package/js/components/sliding-panel.vue.js.map +1 -1
  181. package/js/components/snippet-callbacks.vue.js +47 -0
  182. package/js/components/snippet-callbacks.vue.js.map +1 -0
  183. package/js/components/snippet-callbacks.vue_rollup-plugin-vue=script.js +58 -0
  184. package/js/components/snippet-callbacks.vue_rollup-plugin-vue=script.js.map +1 -0
  185. package/js/components/suggestions/base-suggestion.vue.js +6 -8
  186. package/js/components/suggestions/base-suggestion.vue.js.map +1 -1
  187. package/js/components/suggestions/base-suggestions.vue.js +6 -7
  188. package/js/components/suggestions/base-suggestions.vue.js.map +1 -1
  189. package/js/index.js +3 -0
  190. package/js/index.js.map +1 -1
  191. package/js/utils/storage.js +2 -2
  192. package/js/utils/storage.js.map +1 -1
  193. package/js/x-modules/device/components/device-detector.vue.js +2 -2
  194. package/js/x-modules/empathize/components/empathize.vue.js +5 -6
  195. package/js/x-modules/empathize/components/empathize.vue.js.map +1 -1
  196. package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue=script.js +2 -0
  197. package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue=script.js.map +1 -1
  198. package/js/x-modules/extra-params/components/renderless-extra-param.vue.js +3 -4
  199. package/js/x-modules/extra-params/components/renderless-extra-param.vue.js.map +1 -1
  200. package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue=script.js +2 -0
  201. package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue=script.js.map +1 -1
  202. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue.js +1 -1
  203. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue=script.js +2 -0
  204. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue=script.js.map +1 -1
  205. package/js/x-modules/facets/components/clear-filters.vue.js +6 -8
  206. package/js/x-modules/facets/components/clear-filters.vue.js.map +1 -1
  207. package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue=script.js +2 -0
  208. package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue=script.js.map +1 -1
  209. package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue=script.js +2 -0
  210. package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue=script.js.map +1 -1
  211. package/js/x-modules/facets/components/facets/facets.vue.js +10 -11
  212. package/js/x-modules/facets/components/facets/facets.vue.js.map +1 -1
  213. package/js/x-modules/facets/components/filters/all-filter.vue.js +5 -6
  214. package/js/x-modules/facets/components/filters/all-filter.vue.js.map +1 -1
  215. package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue=script.js +2 -0
  216. package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  217. package/js/x-modules/facets/components/filters/base-filter.vue.js +5 -6
  218. package/js/x-modules/facets/components/filters/base-filter.vue.js.map +1 -1
  219. package/js/x-modules/facets/components/filters/base-filter.vue_rollup-plugin-vue=script.js +2 -0
  220. package/js/x-modules/facets/components/filters/base-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  221. package/js/x-modules/facets/components/filters/editable-number-range-filter.vue.js +19 -23
  222. package/js/x-modules/facets/components/filters/editable-number-range-filter.vue.js.map +1 -1
  223. package/js/x-modules/facets/components/filters/hierarchical-filter.vue.js +29 -38
  224. package/js/x-modules/facets/components/filters/hierarchical-filter.vue.js.map +1 -1
  225. package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue=script.js +2 -0
  226. package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  227. package/js/x-modules/facets/components/filters/number-range-filter.vue.js +5 -6
  228. package/js/x-modules/facets/components/filters/number-range-filter.vue.js.map +1 -1
  229. package/js/x-modules/facets/components/filters/number-range-filter.vue_rollup-plugin-vue=script.js +2 -0
  230. package/js/x-modules/facets/components/filters/number-range-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  231. package/js/x-modules/facets/components/filters/renderless-filter.vue_rollup-plugin-vue=script.js +2 -0
  232. package/js/x-modules/facets/components/filters/renderless-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  233. package/js/x-modules/facets/components/filters/simple-filter.vue.js +13 -17
  234. package/js/x-modules/facets/components/filters/simple-filter.vue.js.map +1 -1
  235. package/js/x-modules/facets/components/filters/simple-filter.vue_rollup-plugin-vue=script.js +2 -0
  236. package/js/x-modules/facets/components/filters/simple-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  237. package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue_rollup-plugin-vue=script.js +2 -0
  238. package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue_rollup-plugin-vue=script.js.map +1 -1
  239. package/js/x-modules/facets/components/lists/filters-list.vue.js +4 -4
  240. package/js/x-modules/facets/components/lists/filters-list.vue_rollup-plugin-vue=script.js +2 -0
  241. package/js/x-modules/facets/components/lists/filters-list.vue_rollup-plugin-vue=script.js.map +1 -1
  242. package/js/x-modules/facets/components/lists/filters-search.vue.js +8 -10
  243. package/js/x-modules/facets/components/lists/filters-search.vue.js.map +1 -1
  244. package/js/x-modules/facets/components/lists/filters-search.vue_rollup-plugin-vue=script.js +2 -0
  245. package/js/x-modules/facets/components/lists/filters-search.vue_rollup-plugin-vue=script.js.map +1 -1
  246. package/js/x-modules/facets/components/lists/selected-filters-list.vue.js +14 -20
  247. package/js/x-modules/facets/components/lists/selected-filters-list.vue.js.map +1 -1
  248. package/js/x-modules/facets/components/lists/selected-filters.vue.js +3 -4
  249. package/js/x-modules/facets/components/lists/selected-filters.vue.js.map +1 -1
  250. package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue=script.js +2 -0
  251. package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue=script.js.map +1 -1
  252. package/js/x-modules/facets/components/lists/sliced-filters.vue.js +12 -18
  253. package/js/x-modules/facets/components/lists/sliced-filters.vue.js.map +1 -1
  254. package/js/x-modules/facets/components/lists/sliced-filters.vue_rollup-plugin-vue=script.js +2 -0
  255. package/js/x-modules/facets/components/lists/sliced-filters.vue_rollup-plugin-vue=script.js.map +1 -1
  256. package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue=script.js +2 -0
  257. package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue=script.js.map +1 -1
  258. package/js/x-modules/history-queries/components/clear-history-queries.vue.js +5 -6
  259. package/js/x-modules/history-queries/components/clear-history-queries.vue.js.map +1 -1
  260. package/js/x-modules/history-queries/components/history-queries.vue.js +19 -25
  261. package/js/x-modules/history-queries/components/history-queries.vue.js.map +1 -1
  262. package/js/x-modules/history-queries/components/history-query.vue.js +13 -17
  263. package/js/x-modules/history-queries/components/history-query.vue.js.map +1 -1
  264. package/js/x-modules/history-queries/components/remove-history-query.vue.js +2 -2
  265. package/js/x-modules/identifier-results/components/identifier-result.vue.js +2 -2
  266. package/js/x-modules/identifier-results/components/identifier-results.vue.js +4 -4
  267. package/js/x-modules/next-queries/components/next-queries-list.vue.js +9 -12
  268. package/js/x-modules/next-queries/components/next-queries-list.vue.js.map +1 -1
  269. package/js/x-modules/next-queries/components/next-queries.vue.js +15 -20
  270. package/js/x-modules/next-queries/components/next-queries.vue.js.map +1 -1
  271. package/js/x-modules/next-queries/components/next-query.vue.js +8 -10
  272. package/js/x-modules/next-queries/components/next-query.vue.js.map +1 -1
  273. package/js/x-modules/popular-searches/components/popular-search.vue.js +8 -10
  274. package/js/x-modules/popular-searches/components/popular-search.vue.js.map +1 -1
  275. package/js/x-modules/popular-searches/components/popular-searches.vue.js +15 -20
  276. package/js/x-modules/popular-searches/components/popular-searches.vue.js.map +1 -1
  277. package/js/x-modules/query-suggestions/components/query-suggestion.vue.js +9 -11
  278. package/js/x-modules/query-suggestions/components/query-suggestion.vue.js.map +1 -1
  279. package/js/x-modules/query-suggestions/components/query-suggestions.vue.js +15 -20
  280. package/js/x-modules/query-suggestions/components/query-suggestions.vue.js.map +1 -1
  281. package/js/x-modules/recommendations/components/recommendations.vue.js +9 -12
  282. package/js/x-modules/recommendations/components/recommendations.vue.js.map +1 -1
  283. package/js/x-modules/related-tags/components/related-tag.vue.js +4 -5
  284. package/js/x-modules/related-tags/components/related-tag.vue.js.map +1 -1
  285. package/js/x-modules/related-tags/components/related-tags.vue.js +13 -17
  286. package/js/x-modules/related-tags/components/related-tags.vue.js.map +1 -1
  287. package/js/x-modules/scroll/components/main-scroll-item.vue.js +1 -1
  288. package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue=script.js +2 -0
  289. package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue=script.js.map +1 -1
  290. package/js/x-modules/scroll/components/scroll-to-top.vue.js +3 -4
  291. package/js/x-modules/scroll/components/scroll-to-top.vue.js.map +1 -1
  292. package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js +2 -0
  293. package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js.map +1 -1
  294. package/js/x-modules/scroll/components/scroll.vue.js +4 -4
  295. package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue=script.js +2 -0
  296. package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue=script.js.map +1 -1
  297. package/js/x-modules/search/components/banner.vue.js +4 -6
  298. package/js/x-modules/search/components/banner.vue.js.map +1 -1
  299. package/js/x-modules/search/components/banners-list.vue.js +9 -12
  300. package/js/x-modules/search/components/banners-list.vue.js.map +1 -1
  301. package/js/x-modules/search/components/partial-query-button.vue.js +4 -5
  302. package/js/x-modules/search/components/partial-query-button.vue.js.map +1 -1
  303. package/js/x-modules/search/components/partial-results-list.vue.js +4 -4
  304. package/js/x-modules/search/components/promoted.vue.js +4 -6
  305. package/js/x-modules/search/components/promoted.vue.js.map +1 -1
  306. package/js/x-modules/search/components/promoteds-list.vue.js +9 -12
  307. package/js/x-modules/search/components/promoteds-list.vue.js.map +1 -1
  308. package/js/x-modules/search/components/redirection.vue.js +4 -5
  309. package/js/x-modules/search/components/redirection.vue.js.map +1 -1
  310. package/js/x-modules/search/components/results-list.vue.js +9 -12
  311. package/js/x-modules/search/components/results-list.vue.js.map +1 -1
  312. package/js/x-modules/search/components/sort-dropdown.vue.js +13 -16
  313. package/js/x-modules/search/components/sort-dropdown.vue.js.map +1 -1
  314. package/js/x-modules/search/components/sort-list.vue.js +8 -10
  315. package/js/x-modules/search/components/sort-list.vue.js.map +1 -1
  316. package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue=script.js +2 -0
  317. package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue=script.js.map +1 -1
  318. package/js/x-modules/search/components/sort.mixin.js +2 -0
  319. package/js/x-modules/search/components/sort.mixin.js.map +1 -1
  320. package/js/x-modules/search/components/spellcheck-button.vue.js +4 -5
  321. package/js/x-modules/search/components/spellcheck-button.vue.js.map +1 -1
  322. package/js/x-modules/search/components/spellcheck.vue.js +4 -6
  323. package/js/x-modules/search/components/spellcheck.vue.js.map +1 -1
  324. package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js +2 -0
  325. package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js.map +1 -1
  326. package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js +3 -1
  327. package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js.map +1 -1
  328. package/js/x-modules/search-box/components/clear-search-input.vue.js +5 -6
  329. package/js/x-modules/search-box/components/clear-search-input.vue.js.map +1 -1
  330. package/js/x-modules/search-box/components/search-button.vue.js +4 -5
  331. package/js/x-modules/search-box/components/search-button.vue.js.map +1 -1
  332. package/js/x-modules/search-box/components/search-input.vue.js +7 -9
  333. package/js/x-modules/search-box/components/search-input.vue.js.map +1 -1
  334. package/js/x-modules/tagging/components/tagging.vue.js +39 -0
  335. package/js/x-modules/tagging/components/tagging.vue.js.map +1 -0
  336. package/js/x-modules/tagging/components/tagging.vue_rollup-plugin-vue=script.js +65 -0
  337. package/js/x-modules/tagging/components/tagging.vue_rollup-plugin-vue=script.js.map +1 -0
  338. package/js/x-modules/tagging/service/session.service.js +23 -6
  339. package/js/x-modules/tagging/service/session.service.js.map +1 -1
  340. package/js/x-modules/tagging/wiring.js +4 -1
  341. package/js/x-modules/tagging/wiring.js.map +1 -1
  342. package/js/x-modules/url/components/url-handler.vue.js +2 -2
  343. package/package.json +16 -14
  344. package/report/tsdoc-metadata.json +1 -1
  345. package/report/x-adapter.api.json +3 -3
  346. package/report/x-components.api.json +326 -9
  347. package/report/x-components.api.md +46 -10
  348. package/report/x-types.api.json +1 -1
  349. package/tagging/index.js +2 -1
  350. package/types/components/global-x-bus.vue.d.ts +25 -0
  351. package/types/components/global-x-bus.vue.d.ts.map +1 -0
  352. package/types/components/index.d.ts +2 -0
  353. package/types/components/index.d.ts.map +1 -1
  354. package/types/components/snippet-callbacks.vue.d.ts +27 -0
  355. package/types/components/snippet-callbacks.vue.d.ts.map +1 -0
  356. package/types/utils/storage.d.ts +1 -7
  357. package/types/utils/storage.d.ts.map +1 -1
  358. package/types/wiring/events.types.d.ts +8 -0
  359. package/types/wiring/events.types.d.ts.map +1 -1
  360. package/types/x-installer/api/api.types.d.ts +12 -0
  361. package/types/x-installer/api/api.types.d.ts.map +1 -1
  362. package/types/x-modules/search/store/actions/fetch-and-save-search-response.action.d.ts.map +1 -1
  363. package/types/x-modules/tagging/components/tagging.vue.d.ts +47 -0
  364. package/types/x-modules/tagging/components/tagging.vue.d.ts.map +1 -0
  365. package/types/x-modules/tagging/index.d.ts +1 -0
  366. package/types/x-modules/tagging/index.d.ts.map +1 -1
  367. package/types/x-modules/tagging/service/session.service.d.ts +18 -1
  368. package/types/x-modules/tagging/service/session.service.d.ts.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"events.types.d.ts","sourceRoot":"","sources":["../../../src/wiring/events.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,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ACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;OAGG;IACH,yBAAyB,EAAE,IAAI,CAAC;IAChC;;;OAGG;IACH,mBAAmB,EAAE,QAAQ,CAAC;IAC9B;;;OAGG;IACH,uBAAuB,EAAE,IAAI,CAAC;IAC9B;;;OAGG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;OAGG;IACH,uBAAuB,EAAE,UAAU,CAAC;IACpC;;;OAGG;IACH,uBAAuB,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,cAAc,EAAE,OAAO,CAAA;KAAE,CAAC;CACrE;AAED;;;;GAIG;AACH,oBAAY,MAAM,GAAG,MAAM,YAAY,CAAC;AAExC;;;;;GAKG;AACH,oBAAY,SAAS,CAAC,IAAI,IAAI,aAAa,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;AAEhE;;;;;GAKG;AACH,oBAAY,aAAa,CAAC,KAAK,SAAS,MAAM,IAAI,YAAY,CAAC,KAAK,CAAC,SAAS,IAAI,GAC9E,SAAS,GACT,YAAY,CAAC,KAAK,CAAC,CAAC"}
@@ -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,8 @@ 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;
65
77
  /** Any extra param to send in all backend calls. */
66
78
  [extra: string]: any;
67
79
  }
@@ -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,C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ClB,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,oDAAoD;IACpD,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB"}
@@ -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;AA+C/C;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,uFAAe,CAAC;AAEvD;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,YAAiB,CAAC"}
@@ -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"}