@empathyco/x-components 3.0.0-alpha.44 → 3.0.0-alpha.48

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 (229) hide show
  1. package/CHANGELOG.md +91 -0
  2. package/build-helpers/plugins/polyfills-wrapper.plugin.js +4 -5
  3. package/build-helpers/utils/polyfills.util.js +1 -1
  4. package/core/index.js +3 -0
  5. package/core/index.js.map +1 -1
  6. package/design-system/default-theme.css +164 -8
  7. package/design-system/full-theme.css +139 -9
  8. package/design-system/suggestion-default.css +25 -2
  9. package/design-system/suggestion-group-default.css +27 -4
  10. package/design-system/tag-default.css +75 -1
  11. package/design-system/tag-ghost.css +12 -2
  12. package/docs/API-reference/api/x-components.basexapi.addproducttocart.md +24 -0
  13. package/docs/API-reference/api/x-components.basexapi.md +1 -0
  14. package/docs/API-reference/api/x-components.curatedcheckicon.md +11 -0
  15. package/docs/API-reference/api/x-components.defaultpdpaddtocartservice._constructor_.md +21 -0
  16. package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.clickedresultstoragekey.md +11 -0
  17. package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.clickedresultstoragettlms.md +11 -0
  18. package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.instance.md +13 -0
  19. package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.localstorageservice.md +11 -0
  20. package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.md +41 -0
  21. package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.movetosessionstorage.md +24 -0
  22. package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.result_clicked_id_key.md +13 -0
  23. package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.sessionstorageservice.md +11 -0
  24. package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.store.md +11 -0
  25. package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.storeresultclicked.md +24 -0
  26. package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.trackaddtocart.md +24 -0
  27. package/docs/API-reference/api/x-components.lightbulboff.md +11 -0
  28. package/docs/API-reference/api/x-components.lightbulbon.md +11 -0
  29. package/docs/API-reference/api/x-components.md +6 -3
  30. package/docs/API-reference/api/x-components.pdpaddtocartservice.md +22 -0
  31. package/docs/API-reference/api/x-components.pdpaddtocartservice.movetosessionstorage.md +24 -0
  32. package/docs/API-reference/api/x-components.pdpaddtocartservice.storeresultclicked.md +24 -0
  33. package/docs/API-reference/api/x-components.pdpaddtocartservice.trackaddtocart.md +24 -0
  34. package/docs/API-reference/api/x-components.settaggingconfig.md +13 -0
  35. package/docs/API-reference/api/x-components.snippetconfig.md +1 -0
  36. package/docs/API-reference/api/x-components.snippetconfig.productid.md +13 -0
  37. package/docs/API-reference/api/x-components.snippetconfigextraparams.md +6 -0
  38. package/docs/API-reference/api/x-components.snippetconfigextraparams.values.md +13 -0
  39. package/docs/API-reference/api/x-components.tagging.clickedresultstoragekey.md +13 -0
  40. package/docs/API-reference/api/x-components.tagging.clickedresultstoragettlms.md +13 -0
  41. package/docs/API-reference/api/x-components.tagging.config.md +11 -0
  42. package/docs/API-reference/api/x-components.tagging.created.md +17 -0
  43. package/docs/API-reference/api/x-components.tagging.md +4 -0
  44. package/docs/API-reference/api/x-components.taggingconfig.clickedresultstoragekey.md +13 -0
  45. package/docs/API-reference/api/x-components.taggingconfig.clickedresultstoragettlms.md +13 -0
  46. package/docs/API-reference/api/x-components.taggingconfig.md +2 -0
  47. package/docs/API-reference/api/x-components.taggingmutations.md +1 -2
  48. package/docs/API-reference/api/x-components.taggingmutations.settaggingconfig.md +24 -0
  49. package/docs/API-reference/api/x-components.taggingxevents.md +4 -2
  50. package/docs/API-reference/api/x-components.taggingxevents.pdpisloaded.md +13 -0
  51. package/docs/API-reference/api/x-components.taggingxevents.resulturltrackingenabled.md +13 -0
  52. package/docs/API-reference/api/x-components.taggingxevents.taggingconfigprovided.md +13 -0
  53. package/docs/API-reference/api/x-components.taggingxevents.userclickedpdpaddtocart.md +13 -0
  54. package/docs/API-reference/api/x-components.urlhandler.initialextraparams.md +11 -0
  55. package/docs/API-reference/api/x-components.urlhandler.md +6 -0
  56. package/docs/API-reference/api/x-components.xapi.addproducttocart.md +28 -0
  57. package/docs/API-reference/api/x-components.xapi.md +1 -0
  58. package/docs/API-reference/api/x-components.xeventstypes.md +1 -1
  59. package/docs/API-reference/api/x-components.xeventstypes.snippetcallbackexecuted.md +3 -1
  60. package/docs/API-reference/components/common/filters/labels/x-components.base-price-filter-label.md +7 -7
  61. package/docs/API-reference/components/common/icons/x-components.curated-check.md +7 -0
  62. package/docs/API-reference/components/common/icons/x-components.light-bulb-off.md +7 -0
  63. package/docs/API-reference/components/common/icons/x-components.light-bulb-on.md +7 -0
  64. package/docs/API-reference/components/extra-params/x-components.snippet-config-extra-params.md +6 -0
  65. package/docs/API-reference/components/facets/x-components.filters/number-range-filter.md +4 -3
  66. package/docs/API-reference/components/tagging/x-components.tagging.md +38 -14
  67. package/facets/index.js +1 -2
  68. package/js/components/base-grid.vue.js +2 -2
  69. package/js/components/base-grid.vue.js.map +1 -1
  70. package/js/components/base-grid.vue_rollup-plugin-vue=script.js +1 -1
  71. package/js/components/base-grid.vue_rollup-plugin-vue=script.js.map +1 -1
  72. package/js/components/icons/curated-check.vue.js +60 -0
  73. package/js/components/icons/curated-check.vue.js.map +1 -0
  74. package/js/components/icons/curated-check.vue_rollup-plugin-vue=script.js +4 -0
  75. package/js/components/icons/curated-check.vue_rollup-plugin-vue=script.js.map +1 -0
  76. package/js/components/icons/light-bulb-off.vue.js +84 -0
  77. package/js/components/icons/light-bulb-off.vue.js.map +1 -0
  78. package/js/components/icons/light-bulb-off.vue_rollup-plugin-vue=script.js +4 -0
  79. package/js/components/icons/light-bulb-off.vue_rollup-plugin-vue=script.js.map +1 -0
  80. package/js/components/icons/light-bulb-on.vue.js +151 -0
  81. package/js/components/icons/light-bulb-on.vue.js.map +1 -0
  82. package/js/components/icons/light-bulb-on.vue_rollup-plugin-vue=script.js +4 -0
  83. package/js/components/icons/light-bulb-on.vue_rollup-plugin-vue=script.js.map +1 -0
  84. package/js/components/result/base-result-add-to-cart.vue.js +7 -4
  85. package/js/components/result/base-result-add-to-cart.vue.js.map +1 -1
  86. package/js/components/result/base-result-add-to-cart.vue_rollup-plugin-vue=script.js.map +1 -1
  87. package/js/components/snippet-callbacks.vue.js.map +1 -1
  88. package/js/components/snippet-callbacks.vue_rollup-plugin-vue=script.js +3 -1
  89. package/js/components/snippet-callbacks.vue_rollup-plugin-vue=script.js.map +1 -1
  90. package/js/components/suggestions/base-suggestions.vue.js +3 -3
  91. package/js/components/suggestions/base-suggestions.vue.js.map +1 -1
  92. package/js/index.js +6 -3
  93. package/js/index.js.map +1 -1
  94. package/js/plugins/x-plugin.js +3 -1
  95. package/js/plugins/x-plugin.js.map +1 -1
  96. package/js/x-installer/api/base-api.js +9 -0
  97. package/js/x-installer/api/base-api.js.map +1 -1
  98. package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue=script.js +3 -0
  99. package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue=script.js.map +1 -1
  100. package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue=script.js +3 -0
  101. package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue=script.js.map +1 -1
  102. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue.js.map +1 -1
  103. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue=script.js +20 -6
  104. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue=script.js.map +1 -1
  105. package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue=script.js +3 -0
  106. package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue=script.js.map +1 -1
  107. package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue=script.js +3 -0
  108. package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue=script.js.map +1 -1
  109. package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue=script.js +3 -0
  110. package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  111. package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue=script.js +4 -1
  112. package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  113. package/js/x-modules/facets/components/filters/number-range-filter.vue.js +42 -4
  114. package/js/x-modules/facets/components/filters/number-range-filter.vue.js.map +1 -1
  115. package/js/x-modules/facets/components/filters/number-range-filter.vue_rollup-plugin-vue=script.js +5 -2
  116. package/js/x-modules/facets/components/filters/number-range-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  117. package/js/x-modules/facets/components/filters/renderless-filter.vue_rollup-plugin-vue=script.js +3 -0
  118. package/js/x-modules/facets/components/filters/renderless-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  119. package/js/x-modules/facets/components/filters/simple-filter.vue.js.map +1 -1
  120. package/js/x-modules/facets/components/filters/simple-filter.vue_rollup-plugin-vue=script.js +4 -2
  121. package/js/x-modules/facets/components/filters/simple-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  122. package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue_rollup-plugin-vue=script.js +3 -0
  123. package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue_rollup-plugin-vue=script.js.map +1 -1
  124. package/js/x-modules/facets/components/lists/filters-list.vue_rollup-plugin-vue=script.js +3 -0
  125. package/js/x-modules/facets/components/lists/filters-list.vue_rollup-plugin-vue=script.js.map +1 -1
  126. package/js/x-modules/facets/components/lists/filters-search.vue_rollup-plugin-vue=script.js +3 -0
  127. package/js/x-modules/facets/components/lists/filters-search.vue_rollup-plugin-vue=script.js.map +1 -1
  128. package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue=script.js +3 -0
  129. package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue=script.js.map +1 -1
  130. package/js/x-modules/facets/components/lists/sliced-filters.vue_rollup-plugin-vue=script.js +3 -0
  131. package/js/x-modules/facets/components/lists/sliced-filters.vue_rollup-plugin-vue=script.js.map +1 -1
  132. package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue=script.js +3 -0
  133. package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue=script.js.map +1 -1
  134. package/js/x-modules/related-tags/wiring.js +3 -3
  135. package/js/x-modules/related-tags/wiring.js.map +1 -1
  136. package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue=script.js +3 -0
  137. package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue=script.js.map +1 -1
  138. package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js +3 -0
  139. package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js.map +1 -1
  140. package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue=script.js +3 -0
  141. package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue=script.js.map +1 -1
  142. package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue=script.js +3 -0
  143. package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue=script.js.map +1 -1
  144. package/js/x-modules/search/components/sort.mixin.js +3 -0
  145. package/js/x-modules/search/components/sort.mixin.js.map +1 -1
  146. package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js +3 -0
  147. package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js.map +1 -1
  148. package/js/x-modules/tagging/components/tagging.vue.js.map +1 -1
  149. package/js/x-modules/tagging/components/tagging.vue_rollup-plugin-vue=script.js +42 -5
  150. package/js/x-modules/tagging/components/tagging.vue_rollup-plugin-vue=script.js.map +1 -1
  151. package/js/x-modules/tagging/service/pdp-add-to-cart.service.js +168 -0
  152. package/js/x-modules/tagging/service/pdp-add-to-cart.service.js.map +1 -0
  153. package/js/x-modules/tagging/store/actions/track.action.js +1 -0
  154. package/js/x-modules/tagging/store/actions/track.action.js.map +1 -1
  155. package/js/x-modules/tagging/store/emitters.js +5 -1
  156. package/js/x-modules/tagging/store/emitters.js.map +1 -1
  157. package/js/x-modules/tagging/store/module.js +6 -7
  158. package/js/x-modules/tagging/store/module.js.map +1 -1
  159. package/js/x-modules/tagging/wiring.js +42 -16
  160. package/js/x-modules/tagging/wiring.js.map +1 -1
  161. package/js/x-modules/url/components/url-handler.vue.js.map +1 -1
  162. package/js/x-modules/url/components/url-handler.vue_rollup-plugin-vue=script.js +118 -1
  163. package/js/x-modules/url/components/url-handler.vue_rollup-plugin-vue=script.js.map +1 -1
  164. package/package.json +2 -2
  165. package/report/x-components.api.json +1194 -306
  166. package/report/x-components.api.md +87 -31
  167. package/tagging/index.js +2 -1
  168. package/types/components/icons/curated-check.vue.d.ts +3 -0
  169. package/types/components/icons/curated-check.vue.d.ts.map +1 -0
  170. package/types/components/icons/index.d.ts +3 -0
  171. package/types/components/icons/index.d.ts.map +1 -1
  172. package/types/components/icons/light-bulb-off.vue.d.ts +3 -0
  173. package/types/components/icons/light-bulb-off.vue.d.ts.map +1 -0
  174. package/types/components/icons/light-bulb-on.vue.d.ts +3 -0
  175. package/types/components/icons/light-bulb-on.vue.d.ts.map +1 -0
  176. package/types/components/result/base-result-add-to-cart.vue.d.ts.map +1 -1
  177. package/types/components/snippet-callbacks.vue.d.ts.map +1 -1
  178. package/types/plugins/x-plugin.d.ts.map +1 -1
  179. package/types/router.d.ts.map +1 -1
  180. package/types/wiring/events.types.d.ts +6 -1
  181. package/types/wiring/events.types.d.ts.map +1 -1
  182. package/types/x-installer/api/api.types.d.ts +11 -0
  183. package/types/x-installer/api/api.types.d.ts.map +1 -1
  184. package/types/x-installer/api/base-api.d.ts +6 -0
  185. package/types/x-installer/api/base-api.d.ts.map +1 -1
  186. package/types/x-modules/extra-params/components/snippet-config-extra-params.vue.d.ts +7 -1
  187. package/types/x-modules/extra-params/components/snippet-config-extra-params.vue.d.ts.map +1 -1
  188. package/types/x-modules/facets/components/filters/number-range-filter.vue.d.ts.map +1 -1
  189. package/types/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
  190. package/types/x-modules/facets/components/index.d.ts +0 -1
  191. package/types/x-modules/facets/components/index.d.ts.map +1 -1
  192. package/types/x-modules/related-tags/wiring.d.ts +3 -3
  193. package/types/x-modules/tagging/components/tagging.vue.d.ts +26 -0
  194. package/types/x-modules/tagging/components/tagging.vue.d.ts.map +1 -1
  195. package/types/x-modules/tagging/config.types.d.ts +8 -0
  196. package/types/x-modules/tagging/config.types.d.ts.map +1 -1
  197. package/types/x-modules/tagging/events.types.d.ts +18 -6
  198. package/types/x-modules/tagging/events.types.d.ts.map +1 -1
  199. package/types/x-modules/tagging/service/index.d.ts +1 -0
  200. package/types/x-modules/tagging/service/index.d.ts.map +1 -1
  201. package/types/x-modules/tagging/service/pdp-add-to-cart.service.d.ts +82 -0
  202. package/types/x-modules/tagging/service/pdp-add-to-cart.service.d.ts.map +1 -0
  203. package/types/x-modules/tagging/service/types.d.ts +29 -0
  204. package/types/x-modules/tagging/service/types.d.ts.map +1 -1
  205. package/types/x-modules/tagging/store/emitters.d.ts +4 -0
  206. package/types/x-modules/tagging/store/emitters.d.ts.map +1 -1
  207. package/types/x-modules/tagging/store/module.d.ts.map +1 -1
  208. package/types/x-modules/tagging/store/types.d.ts +6 -12
  209. package/types/x-modules/tagging/store/types.d.ts.map +1 -1
  210. package/types/x-modules/tagging/wiring.d.ts +13 -12
  211. package/types/x-modules/tagging/wiring.d.ts.map +1 -1
  212. package/types/x-modules/url/components/url-handler.vue.d.ts +1 -0
  213. package/types/x-modules/url/components/url-handler.vue.d.ts.map +1 -1
  214. package/docs/API-reference/api/x-components.basefilter.clickevents.md +0 -13
  215. package/docs/API-reference/api/x-components.basefilter.filter.md +0 -13
  216. package/docs/API-reference/api/x-components.basefilter.md +0 -22
  217. package/docs/API-reference/api/x-components.setquerytaggingdebounce.md +0 -13
  218. package/docs/API-reference/api/x-components.setsessionduration.md +0 -13
  219. package/docs/API-reference/api/x-components.taggingmutations.setquerytaggingdebounce.md +0 -24
  220. package/docs/API-reference/api/x-components.taggingmutations.setsessionduration.md +0 -24
  221. package/docs/API-reference/api/x-components.taggingxevents.querytaggingdebounceprovided.md +0 -13
  222. package/docs/API-reference/api/x-components.taggingxevents.sessiondurationprovided.md +0 -13
  223. package/docs/API-reference/components/facets/x-components.filters/base-filter.md +0 -77
  224. package/js/x-modules/facets/components/filters/base-filter.vue.js +0 -69
  225. package/js/x-modules/facets/components/filters/base-filter.vue.js.map +0 -1
  226. package/js/x-modules/facets/components/filters/base-filter.vue_rollup-plugin-vue=script.js +0 -189
  227. package/js/x-modules/facets/components/filters/base-filter.vue_rollup-plugin-vue=script.js.map +0 -1
  228. package/types/x-modules/facets/components/filters/base-filter.vue.d.ts +0 -39
  229. package/types/x-modules/facets/components/filters/base-filter.vue.d.ts.map +0 -1
@@ -3055,104 +3055,6 @@
3055
3055
  "endIndex": 2
3056
3056
  }
3057
3057
  },
3058
- {
3059
- "kind": "Class",
3060
- "canonicalReference": "@empathyco/x-components!BaseFilter:class",
3061
- "docComment": "/**\n * Renders a button with a default slot. It receives a {@link @empathyco/x-types#BooleanFilter | BooleanFilter} that will be used in the default slot and the {@link XEvent | XEvents} that will be emitted when clicking the button.\n *\n * @public\n */\n",
3062
- "excerptTokens": [
3063
- {
3064
- "kind": "Content",
3065
- "text": "export default class BaseFilter extends "
3066
- },
3067
- {
3068
- "kind": "Reference",
3069
- "text": "Vue",
3070
- "canonicalReference": "vue!Vue:interface"
3071
- },
3072
- {
3073
- "kind": "Content",
3074
- "text": " "
3075
- }
3076
- ],
3077
- "releaseTag": "Public",
3078
- "name": "BaseFilter",
3079
- "members": [
3080
- {
3081
- "kind": "Property",
3082
- "canonicalReference": "@empathyco/x-components!BaseFilter#clickEvents:member",
3083
- "docComment": "/**\n * Additional events with its payload to emit when the filter is clicked.\n */\n",
3084
- "excerptTokens": [
3085
- {
3086
- "kind": "Content",
3087
- "text": "clickEvents?: "
3088
- },
3089
- {
3090
- "kind": "Reference",
3091
- "text": "Partial",
3092
- "canonicalReference": "!Partial:type"
3093
- },
3094
- {
3095
- "kind": "Content",
3096
- "text": "<"
3097
- },
3098
- {
3099
- "kind": "Reference",
3100
- "text": "XEventsTypes",
3101
- "canonicalReference": "@empathyco/x-components!XEventsTypes:interface"
3102
- },
3103
- {
3104
- "kind": "Content",
3105
- "text": ">"
3106
- },
3107
- {
3108
- "kind": "Content",
3109
- "text": ";"
3110
- }
3111
- ],
3112
- "isOptional": true,
3113
- "releaseTag": "Public",
3114
- "name": "clickEvents",
3115
- "propertyTypeTokenRange": {
3116
- "startIndex": 1,
3117
- "endIndex": 5
3118
- },
3119
- "isStatic": false
3120
- },
3121
- {
3122
- "kind": "Property",
3123
- "canonicalReference": "@empathyco/x-components!BaseFilter#filter:member",
3124
- "docComment": "/**\n * The filter data to render.\n */\n",
3125
- "excerptTokens": [
3126
- {
3127
- "kind": "Content",
3128
- "text": "filter: "
3129
- },
3130
- {
3131
- "kind": "Reference",
3132
- "text": "BooleanFilter",
3133
- "canonicalReference": "@empathyco/x-components!BooleanFilter:interface"
3134
- },
3135
- {
3136
- "kind": "Content",
3137
- "text": ";"
3138
- }
3139
- ],
3140
- "isOptional": false,
3141
- "releaseTag": "Public",
3142
- "name": "filter",
3143
- "propertyTypeTokenRange": {
3144
- "startIndex": 1,
3145
- "endIndex": 2
3146
- },
3147
- "isStatic": false
3148
- }
3149
- ],
3150
- "extendsTokenRange": {
3151
- "startIndex": 1,
3152
- "endIndex": 3
3153
- },
3154
- "implementsTokenRanges": []
3155
- },
3156
3058
  {
3157
3059
  "kind": "Class",
3158
3060
  "canonicalReference": "@empathyco/x-components!BaseGrid:class",
@@ -6383,6 +6285,51 @@
6383
6285
  "releaseTag": "Public",
6384
6286
  "name": "BaseXAPI",
6385
6287
  "members": [
6288
+ {
6289
+ "kind": "Method",
6290
+ "canonicalReference": "@empathyco/x-components!BaseXAPI#addProductToCart:member(1)",
6291
+ "docComment": "/**\n * Tracks that a product was added to cart from PDP.\n *\n * @param productId - The product id that was added to cart.\n */\n",
6292
+ "excerptTokens": [
6293
+ {
6294
+ "kind": "Content",
6295
+ "text": "addProductToCart(productId?: "
6296
+ },
6297
+ {
6298
+ "kind": "Content",
6299
+ "text": "string"
6300
+ },
6301
+ {
6302
+ "kind": "Content",
6303
+ "text": "): "
6304
+ },
6305
+ {
6306
+ "kind": "Content",
6307
+ "text": "void"
6308
+ },
6309
+ {
6310
+ "kind": "Content",
6311
+ "text": ";"
6312
+ }
6313
+ ],
6314
+ "isOptional": false,
6315
+ "isStatic": false,
6316
+ "returnTypeTokenRange": {
6317
+ "startIndex": 3,
6318
+ "endIndex": 4
6319
+ },
6320
+ "releaseTag": "Public",
6321
+ "overloadIndex": 1,
6322
+ "parameters": [
6323
+ {
6324
+ "parameterName": "productId",
6325
+ "parameterTypeTokenRange": {
6326
+ "startIndex": 1,
6327
+ "endIndex": 2
6328
+ }
6329
+ }
6330
+ ],
6331
+ "name": "addProductToCart"
6332
+ },
6386
6333
  {
6387
6334
  "kind": "Method",
6388
6335
  "canonicalReference": "@empathyco/x-components!BaseXAPI#init:member(1)",
@@ -8713,6 +8660,27 @@
8713
8660
  "endIndex": 2
8714
8661
  }
8715
8662
  },
8663
+ {
8664
+ "kind": "Variable",
8665
+ "canonicalReference": "@empathyco/x-components!CuratedCheckIcon:var",
8666
+ "docComment": "",
8667
+ "excerptTokens": [
8668
+ {
8669
+ "kind": "Content",
8670
+ "text": "_default: "
8671
+ },
8672
+ {
8673
+ "kind": "Content",
8674
+ "text": "{}"
8675
+ }
8676
+ ],
8677
+ "releaseTag": "Public",
8678
+ "name": "CuratedCheckIcon",
8679
+ "variableTypeTokenRange": {
8680
+ "startIndex": 1,
8681
+ "endIndex": 2
8682
+ }
8683
+ },
8716
8684
  {
8717
8685
  "kind": "Function",
8718
8686
  "canonicalReference": "@empathyco/x-components!currencyFormatter:function(1)",
@@ -9966,6 +9934,417 @@
9966
9934
  }
9967
9935
  ]
9968
9936
  },
9937
+ {
9938
+ "kind": "Class",
9939
+ "canonicalReference": "@empathyco/x-components!DefaultPDPAddToCartService:class",
9940
+ "docComment": "/**\n * Default implementation for the {@link PDPAddToCartService}.\n *\n * @public\n */\n",
9941
+ "excerptTokens": [
9942
+ {
9943
+ "kind": "Content",
9944
+ "text": "export declare class DefaultPDPAddToCartService implements "
9945
+ },
9946
+ {
9947
+ "kind": "Reference",
9948
+ "text": "PDPAddToCartService",
9949
+ "canonicalReference": "@empathyco/x-components!PDPAddToCartService:interface"
9950
+ },
9951
+ {
9952
+ "kind": "Content",
9953
+ "text": " "
9954
+ }
9955
+ ],
9956
+ "releaseTag": "Public",
9957
+ "name": "DefaultPDPAddToCartService",
9958
+ "members": [
9959
+ {
9960
+ "kind": "Constructor",
9961
+ "canonicalReference": "@empathyco/x-components!DefaultPDPAddToCartService:constructor(1)",
9962
+ "docComment": "/**\n * Constructs a new instance of the `DefaultPDPAddToCartService` class\n */\n",
9963
+ "excerptTokens": [
9964
+ {
9965
+ "kind": "Content",
9966
+ "text": "constructor(localStorageService?: "
9967
+ },
9968
+ {
9969
+ "kind": "Reference",
9970
+ "text": "StorageService",
9971
+ "canonicalReference": "@empathyco/x-storage-service!StorageService:interface"
9972
+ },
9973
+ {
9974
+ "kind": "Content",
9975
+ "text": ", sessionStorageService?: "
9976
+ },
9977
+ {
9978
+ "kind": "Reference",
9979
+ "text": "StorageService",
9980
+ "canonicalReference": "@empathyco/x-storage-service!StorageService:interface"
9981
+ },
9982
+ {
9983
+ "kind": "Content",
9984
+ "text": ");"
9985
+ }
9986
+ ],
9987
+ "releaseTag": "Public",
9988
+ "overloadIndex": 1,
9989
+ "parameters": [
9990
+ {
9991
+ "parameterName": "localStorageService",
9992
+ "parameterTypeTokenRange": {
9993
+ "startIndex": 1,
9994
+ "endIndex": 2
9995
+ }
9996
+ },
9997
+ {
9998
+ "parameterName": "sessionStorageService",
9999
+ "parameterTypeTokenRange": {
10000
+ "startIndex": 3,
10001
+ "endIndex": 4
10002
+ }
10003
+ }
10004
+ ]
10005
+ },
10006
+ {
10007
+ "kind": "Property",
10008
+ "canonicalReference": "@empathyco/x-components!DefaultPDPAddToCartService#clickedResultStorageKey:member",
10009
+ "docComment": "",
10010
+ "excerptTokens": [
10011
+ {
10012
+ "kind": "Content",
10013
+ "text": "protected get clickedResultStorageKey(): "
10014
+ },
10015
+ {
10016
+ "kind": "Content",
10017
+ "text": "string"
10018
+ },
10019
+ {
10020
+ "kind": "Content",
10021
+ "text": ";"
10022
+ }
10023
+ ],
10024
+ "isOptional": false,
10025
+ "releaseTag": "Public",
10026
+ "name": "clickedResultStorageKey",
10027
+ "propertyTypeTokenRange": {
10028
+ "startIndex": 1,
10029
+ "endIndex": 2
10030
+ },
10031
+ "isStatic": false
10032
+ },
10033
+ {
10034
+ "kind": "Property",
10035
+ "canonicalReference": "@empathyco/x-components!DefaultPDPAddToCartService#clickedResultStorageTTLMs:member",
10036
+ "docComment": "",
10037
+ "excerptTokens": [
10038
+ {
10039
+ "kind": "Content",
10040
+ "text": "protected get clickedResultStorageTTLMs(): "
10041
+ },
10042
+ {
10043
+ "kind": "Content",
10044
+ "text": "number"
10045
+ },
10046
+ {
10047
+ "kind": "Content",
10048
+ "text": ";"
10049
+ }
10050
+ ],
10051
+ "isOptional": false,
10052
+ "releaseTag": "Public",
10053
+ "name": "clickedResultStorageTTLMs",
10054
+ "propertyTypeTokenRange": {
10055
+ "startIndex": 1,
10056
+ "endIndex": 2
10057
+ },
10058
+ "isStatic": false
10059
+ },
10060
+ {
10061
+ "kind": "Property",
10062
+ "canonicalReference": "@empathyco/x-components!DefaultPDPAddToCartService.instance:member",
10063
+ "docComment": "/**\n * Global instance of the {@link PDPAddToCartService}.\n */\n",
10064
+ "excerptTokens": [
10065
+ {
10066
+ "kind": "Content",
10067
+ "text": "static instance: "
10068
+ },
10069
+ {
10070
+ "kind": "Reference",
10071
+ "text": "PDPAddToCartService",
10072
+ "canonicalReference": "@empathyco/x-components!PDPAddToCartService:interface"
10073
+ },
10074
+ {
10075
+ "kind": "Content",
10076
+ "text": ";"
10077
+ }
10078
+ ],
10079
+ "isOptional": false,
10080
+ "releaseTag": "Public",
10081
+ "name": "instance",
10082
+ "propertyTypeTokenRange": {
10083
+ "startIndex": 1,
10084
+ "endIndex": 2
10085
+ },
10086
+ "isStatic": true
10087
+ },
10088
+ {
10089
+ "kind": "Property",
10090
+ "canonicalReference": "@empathyco/x-components!DefaultPDPAddToCartService#localStorageService:member",
10091
+ "docComment": "",
10092
+ "excerptTokens": [
10093
+ {
10094
+ "kind": "Content",
10095
+ "text": "protected localStorageService: "
10096
+ },
10097
+ {
10098
+ "kind": "Reference",
10099
+ "text": "StorageService",
10100
+ "canonicalReference": "@empathyco/x-storage-service!StorageService:interface"
10101
+ },
10102
+ {
10103
+ "kind": "Content",
10104
+ "text": ";"
10105
+ }
10106
+ ],
10107
+ "isOptional": false,
10108
+ "releaseTag": "Public",
10109
+ "name": "localStorageService",
10110
+ "propertyTypeTokenRange": {
10111
+ "startIndex": 1,
10112
+ "endIndex": 2
10113
+ },
10114
+ "isStatic": false
10115
+ },
10116
+ {
10117
+ "kind": "Method",
10118
+ "canonicalReference": "@empathyco/x-components!DefaultPDPAddToCartService#moveToSessionStorage:member(1)",
10119
+ "docComment": "/**\n * Checks if the local storage contains a result information for the given id and moves the result info from the local storage to the session storage.\n *\n * @param id - The id of the result to move to the session storage.\n *\n * @public\n */\n",
10120
+ "excerptTokens": [
10121
+ {
10122
+ "kind": "Content",
10123
+ "text": "moveToSessionStorage(id?: "
10124
+ },
10125
+ {
10126
+ "kind": "Content",
10127
+ "text": "string"
10128
+ },
10129
+ {
10130
+ "kind": "Content",
10131
+ "text": "): "
10132
+ },
10133
+ {
10134
+ "kind": "Content",
10135
+ "text": "void"
10136
+ },
10137
+ {
10138
+ "kind": "Content",
10139
+ "text": ";"
10140
+ }
10141
+ ],
10142
+ "isOptional": false,
10143
+ "isStatic": false,
10144
+ "returnTypeTokenRange": {
10145
+ "startIndex": 3,
10146
+ "endIndex": 4
10147
+ },
10148
+ "releaseTag": "Public",
10149
+ "overloadIndex": 1,
10150
+ "parameters": [
10151
+ {
10152
+ "parameterName": "id",
10153
+ "parameterTypeTokenRange": {
10154
+ "startIndex": 1,
10155
+ "endIndex": 2
10156
+ }
10157
+ }
10158
+ ],
10159
+ "name": "moveToSessionStorage"
10160
+ },
10161
+ {
10162
+ "kind": "Property",
10163
+ "canonicalReference": "@empathyco/x-components!DefaultPDPAddToCartService.RESULT_CLICKED_ID_KEY:member",
10164
+ "docComment": "/**\n * Session id key to use as key in the storage.\n *\n * @public\n */\n",
10165
+ "excerptTokens": [
10166
+ {
10167
+ "kind": "Content",
10168
+ "text": "static readonly RESULT_CLICKED_ID_KEY = \"add-to-cart\";"
10169
+ }
10170
+ ],
10171
+ "isOptional": false,
10172
+ "releaseTag": "Public",
10173
+ "name": "RESULT_CLICKED_ID_KEY",
10174
+ "propertyTypeTokenRange": {
10175
+ "startIndex": 0,
10176
+ "endIndex": 0
10177
+ },
10178
+ "isStatic": true
10179
+ },
10180
+ {
10181
+ "kind": "Property",
10182
+ "canonicalReference": "@empathyco/x-components!DefaultPDPAddToCartService#sessionStorageService:member",
10183
+ "docComment": "",
10184
+ "excerptTokens": [
10185
+ {
10186
+ "kind": "Content",
10187
+ "text": "protected sessionStorageService: "
10188
+ },
10189
+ {
10190
+ "kind": "Reference",
10191
+ "text": "StorageService",
10192
+ "canonicalReference": "@empathyco/x-storage-service!StorageService:interface"
10193
+ },
10194
+ {
10195
+ "kind": "Content",
10196
+ "text": ";"
10197
+ }
10198
+ ],
10199
+ "isOptional": false,
10200
+ "releaseTag": "Public",
10201
+ "name": "sessionStorageService",
10202
+ "propertyTypeTokenRange": {
10203
+ "startIndex": 1,
10204
+ "endIndex": 2
10205
+ },
10206
+ "isStatic": false
10207
+ },
10208
+ {
10209
+ "kind": "Property",
10210
+ "canonicalReference": "@empathyco/x-components!DefaultPDPAddToCartService#store:member",
10211
+ "docComment": "",
10212
+ "excerptTokens": [
10213
+ {
10214
+ "kind": "Content",
10215
+ "text": "protected get store(): "
10216
+ },
10217
+ {
10218
+ "kind": "Reference",
10219
+ "text": "Store",
10220
+ "canonicalReference": "vuex!Store:class"
10221
+ },
10222
+ {
10223
+ "kind": "Content",
10224
+ "text": "<"
10225
+ },
10226
+ {
10227
+ "kind": "Reference",
10228
+ "text": "RootXStoreState",
10229
+ "canonicalReference": "@empathyco/x-components!RootXStoreState:interface"
10230
+ },
10231
+ {
10232
+ "kind": "Content",
10233
+ "text": ">"
10234
+ },
10235
+ {
10236
+ "kind": "Content",
10237
+ "text": ";"
10238
+ }
10239
+ ],
10240
+ "isOptional": false,
10241
+ "releaseTag": "Public",
10242
+ "name": "store",
10243
+ "propertyTypeTokenRange": {
10244
+ "startIndex": 1,
10245
+ "endIndex": 5
10246
+ },
10247
+ "isStatic": false
10248
+ },
10249
+ {
10250
+ "kind": "Method",
10251
+ "canonicalReference": "@empathyco/x-components!DefaultPDPAddToCartService#storeResultClicked:member(1)",
10252
+ "docComment": "/**\n * Stores in the local storage the information from the Result clicked by the user in order to be able to track later on.\n *\n * @param result - The result to store.\n *\n * @public\n */\n",
10253
+ "excerptTokens": [
10254
+ {
10255
+ "kind": "Content",
10256
+ "text": "storeResultClicked(result: "
10257
+ },
10258
+ {
10259
+ "kind": "Reference",
10260
+ "text": "Result",
10261
+ "canonicalReference": "@empathyco/x-components!Result:interface"
10262
+ },
10263
+ {
10264
+ "kind": "Content",
10265
+ "text": "): "
10266
+ },
10267
+ {
10268
+ "kind": "Content",
10269
+ "text": "void"
10270
+ },
10271
+ {
10272
+ "kind": "Content",
10273
+ "text": ";"
10274
+ }
10275
+ ],
10276
+ "isOptional": false,
10277
+ "isStatic": false,
10278
+ "returnTypeTokenRange": {
10279
+ "startIndex": 3,
10280
+ "endIndex": 4
10281
+ },
10282
+ "releaseTag": "Public",
10283
+ "overloadIndex": 1,
10284
+ "parameters": [
10285
+ {
10286
+ "parameterName": "result",
10287
+ "parameterTypeTokenRange": {
10288
+ "startIndex": 1,
10289
+ "endIndex": 2
10290
+ }
10291
+ }
10292
+ ],
10293
+ "name": "storeResultClicked"
10294
+ },
10295
+ {
10296
+ "kind": "Method",
10297
+ "canonicalReference": "@empathyco/x-components!DefaultPDPAddToCartService#trackAddToCart:member(1)",
10298
+ "docComment": "/**\n * Checks if the session storage contains a result information for given id or the current url and tracks the add to cart if exists.\n *\n * @param id - The id of the result to track.\n *\n * @public\n */\n",
10299
+ "excerptTokens": [
10300
+ {
10301
+ "kind": "Content",
10302
+ "text": "trackAddToCart(id?: "
10303
+ },
10304
+ {
10305
+ "kind": "Content",
10306
+ "text": "string"
10307
+ },
10308
+ {
10309
+ "kind": "Content",
10310
+ "text": "): "
10311
+ },
10312
+ {
10313
+ "kind": "Content",
10314
+ "text": "void"
10315
+ },
10316
+ {
10317
+ "kind": "Content",
10318
+ "text": ";"
10319
+ }
10320
+ ],
10321
+ "isOptional": false,
10322
+ "isStatic": false,
10323
+ "returnTypeTokenRange": {
10324
+ "startIndex": 3,
10325
+ "endIndex": 4
10326
+ },
10327
+ "releaseTag": "Public",
10328
+ "overloadIndex": 1,
10329
+ "parameters": [
10330
+ {
10331
+ "parameterName": "id",
10332
+ "parameterTypeTokenRange": {
10333
+ "startIndex": 1,
10334
+ "endIndex": 2
10335
+ }
10336
+ }
10337
+ ],
10338
+ "name": "trackAddToCart"
10339
+ }
10340
+ ],
10341
+ "implementsTokenRanges": [
10342
+ {
10343
+ "startIndex": 1,
10344
+ "endIndex": 3
10345
+ }
10346
+ ]
10347
+ },
9969
10348
  {
9970
10349
  "kind": "Class",
9971
10350
  "canonicalReference": "@empathyco/x-components!DefaultSessionService:class",
@@ -22081,6 +22460,48 @@
22081
22460
  },
22082
22461
  "implementsTokenRanges": []
22083
22462
  },
22463
+ {
22464
+ "kind": "Variable",
22465
+ "canonicalReference": "@empathyco/x-components!LightBulbOff:var",
22466
+ "docComment": "",
22467
+ "excerptTokens": [
22468
+ {
22469
+ "kind": "Content",
22470
+ "text": "_default: "
22471
+ },
22472
+ {
22473
+ "kind": "Content",
22474
+ "text": "{}"
22475
+ }
22476
+ ],
22477
+ "releaseTag": "Public",
22478
+ "name": "LightBulbOff",
22479
+ "variableTypeTokenRange": {
22480
+ "startIndex": 1,
22481
+ "endIndex": 2
22482
+ }
22483
+ },
22484
+ {
22485
+ "kind": "Variable",
22486
+ "canonicalReference": "@empathyco/x-components!LightBulbOn:var",
22487
+ "docComment": "",
22488
+ "excerptTokens": [
22489
+ {
22490
+ "kind": "Content",
22491
+ "text": "_default: "
22492
+ },
22493
+ {
22494
+ "kind": "Content",
22495
+ "text": "{}"
22496
+ }
22497
+ ],
22498
+ "releaseTag": "Public",
22499
+ "name": "LightBulbOn",
22500
+ "variableTypeTokenRange": {
22501
+ "startIndex": 1,
22502
+ "endIndex": 2
22503
+ }
22504
+ },
22084
22505
  {
22085
22506
  "kind": "TypeAlias",
22086
22507
  "canonicalReference": "@empathyco/x-components!ListItem:type",
@@ -26834,6 +27255,155 @@
26834
27255
  "endIndex": 5
26835
27256
  }
26836
27257
  },
27258
+ {
27259
+ "kind": "Interface",
27260
+ "canonicalReference": "@empathyco/x-components!PDPAddToCartService:interface",
27261
+ "docComment": "/**\n * Service to handle the workflow for tracking add to cart from PDP.\n *\n * @public\n */\n",
27262
+ "excerptTokens": [
27263
+ {
27264
+ "kind": "Content",
27265
+ "text": "export interface PDPAddToCartService "
27266
+ }
27267
+ ],
27268
+ "releaseTag": "Public",
27269
+ "name": "PDPAddToCartService",
27270
+ "members": [
27271
+ {
27272
+ "kind": "MethodSignature",
27273
+ "canonicalReference": "@empathyco/x-components!PDPAddToCartService#moveToSessionStorage:member(1)",
27274
+ "docComment": "/**\n * Checks if the local storage contains a result information for the given id and moves the result info from the local storage to the session storage.\n *\n * @param id - The id of the result to move to the session storage.\n */\n",
27275
+ "excerptTokens": [
27276
+ {
27277
+ "kind": "Content",
27278
+ "text": "moveToSessionStorage(id?: "
27279
+ },
27280
+ {
27281
+ "kind": "Content",
27282
+ "text": "string"
27283
+ },
27284
+ {
27285
+ "kind": "Content",
27286
+ "text": "): "
27287
+ },
27288
+ {
27289
+ "kind": "Content",
27290
+ "text": "void"
27291
+ },
27292
+ {
27293
+ "kind": "Content",
27294
+ "text": ";"
27295
+ }
27296
+ ],
27297
+ "isOptional": false,
27298
+ "returnTypeTokenRange": {
27299
+ "startIndex": 3,
27300
+ "endIndex": 4
27301
+ },
27302
+ "releaseTag": "Public",
27303
+ "overloadIndex": 1,
27304
+ "parameters": [
27305
+ {
27306
+ "parameterName": "id",
27307
+ "parameterTypeTokenRange": {
27308
+ "startIndex": 1,
27309
+ "endIndex": 2
27310
+ }
27311
+ }
27312
+ ],
27313
+ "name": "moveToSessionStorage"
27314
+ },
27315
+ {
27316
+ "kind": "MethodSignature",
27317
+ "canonicalReference": "@empathyco/x-components!PDPAddToCartService#storeResultClicked:member(1)",
27318
+ "docComment": "/**\n * Stores in the local storage the information from the Result clicked by the user in order to be able to track later on.\n *\n * @param result - The result to store.\n */\n",
27319
+ "excerptTokens": [
27320
+ {
27321
+ "kind": "Content",
27322
+ "text": "storeResultClicked(result: "
27323
+ },
27324
+ {
27325
+ "kind": "Reference",
27326
+ "text": "Result",
27327
+ "canonicalReference": "@empathyco/x-components!Result:interface"
27328
+ },
27329
+ {
27330
+ "kind": "Content",
27331
+ "text": "): "
27332
+ },
27333
+ {
27334
+ "kind": "Content",
27335
+ "text": "void"
27336
+ },
27337
+ {
27338
+ "kind": "Content",
27339
+ "text": ";"
27340
+ }
27341
+ ],
27342
+ "isOptional": false,
27343
+ "returnTypeTokenRange": {
27344
+ "startIndex": 3,
27345
+ "endIndex": 4
27346
+ },
27347
+ "releaseTag": "Public",
27348
+ "overloadIndex": 1,
27349
+ "parameters": [
27350
+ {
27351
+ "parameterName": "result",
27352
+ "parameterTypeTokenRange": {
27353
+ "startIndex": 1,
27354
+ "endIndex": 2
27355
+ }
27356
+ }
27357
+ ],
27358
+ "name": "storeResultClicked"
27359
+ },
27360
+ {
27361
+ "kind": "MethodSignature",
27362
+ "canonicalReference": "@empathyco/x-components!PDPAddToCartService#trackAddToCart:member(1)",
27363
+ "docComment": "/**\n * Checks if the session storage contains a result information for given id or the current url and tracks the add to cart if exists.\n *\n * @param id - The id of the result to track.\n */\n",
27364
+ "excerptTokens": [
27365
+ {
27366
+ "kind": "Content",
27367
+ "text": "trackAddToCart(id?: "
27368
+ },
27369
+ {
27370
+ "kind": "Content",
27371
+ "text": "string"
27372
+ },
27373
+ {
27374
+ "kind": "Content",
27375
+ "text": "): "
27376
+ },
27377
+ {
27378
+ "kind": "Content",
27379
+ "text": "void"
27380
+ },
27381
+ {
27382
+ "kind": "Content",
27383
+ "text": ";"
27384
+ }
27385
+ ],
27386
+ "isOptional": false,
27387
+ "returnTypeTokenRange": {
27388
+ "startIndex": 3,
27389
+ "endIndex": 4
27390
+ },
27391
+ "releaseTag": "Public",
27392
+ "overloadIndex": 1,
27393
+ "parameters": [
27394
+ {
27395
+ "parameterName": "id",
27396
+ "parameterTypeTokenRange": {
27397
+ "startIndex": 1,
27398
+ "endIndex": 2
27399
+ }
27400
+ }
27401
+ ],
27402
+ "name": "trackAddToCart"
27403
+ }
27404
+ ],
27405
+ "extendsTokenRanges": []
27406
+ },
26837
27407
  {
26838
27408
  "kind": "Variable",
26839
27409
  "canonicalReference": "@empathyco/x-components!PlusIcon:var",
@@ -39556,111 +40126,7 @@
39556
40126
  }
39557
40127
  ],
39558
40128
  "releaseTag": "Public",
39559
- "name": "setPopularSearchesExtraParams",
39560
- "variableTypeTokenRange": {
39561
- "startIndex": 1,
39562
- "endIndex": 6
39563
- }
39564
- },
39565
- {
39566
- "kind": "Variable",
39567
- "canonicalReference": "@empathyco/x-components!setQueryFromLastHistoryQuery:var",
39568
- "docComment": "/**\n * Default implementation for the {@link NextQueriesActions.setQueryFromLastHistoryQuery}.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions, provided by Vuex.\n *\n * @param historyQueries - The current history queries.\n *\n * @public\n */\n",
39569
- "excerptTokens": [
39570
- {
39571
- "kind": "Content",
39572
- "text": "setQueryFromLastHistoryQuery: "
39573
- },
39574
- {
39575
- "kind": "Reference",
39576
- "text": "NextQueriesXStoreModule",
39577
- "canonicalReference": "@empathyco/x-components!NextQueriesXStoreModule:type"
39578
- },
39579
- {
39580
- "kind": "Content",
39581
- "text": "['actions']['setQueryFromLastHistoryQuery']"
39582
- }
39583
- ],
39584
- "releaseTag": "Public",
39585
- "name": "setQueryFromLastHistoryQuery",
39586
- "variableTypeTokenRange": {
39587
- "startIndex": 1,
39588
- "endIndex": 3
39589
- }
39590
- },
39591
- {
39592
- "kind": "Variable",
39593
- "canonicalReference": "@empathyco/x-components!setQueryFromLastHistoryQueryWire:var",
39594
- "docComment": "/**\n * Sets the next queries state `query` with the last query in history queries.\n *\n * @public\n */\n",
39595
- "excerptTokens": [
39596
- {
39597
- "kind": "Content",
39598
- "text": "setQueryFromLastHistoryQueryWire: "
39599
- },
39600
- {
39601
- "kind": "Content",
39602
- "text": "import(\"../..\")."
39603
- },
39604
- {
39605
- "kind": "Reference",
39606
- "text": "Wire",
39607
- "canonicalReference": "@empathyco/x-components!Wire:type"
39608
- },
39609
- {
39610
- "kind": "Content",
39611
- "text": "<import(\"@empathyco/x-types\")."
39612
- },
39613
- {
39614
- "kind": "Reference",
39615
- "text": "HistoryQuery",
39616
- "canonicalReference": "@empathyco/x-components!HistoryQuery:interface"
39617
- },
39618
- {
39619
- "kind": "Content",
39620
- "text": "[]>"
39621
- }
39622
- ],
39623
- "releaseTag": "Public",
39624
- "name": "setQueryFromLastHistoryQueryWire",
39625
- "variableTypeTokenRange": {
39626
- "startIndex": 1,
39627
- "endIndex": 6
39628
- }
39629
- },
39630
- {
39631
- "kind": "Variable",
39632
- "canonicalReference": "@empathyco/x-components!setQuerySuggestionsExtraParams:var",
39633
- "docComment": "/**\n * Sets the query suggestions state `params`.\n *\n * @public\n */\n",
39634
- "excerptTokens": [
39635
- {
39636
- "kind": "Content",
39637
- "text": "setQuerySuggestionsExtraParams: "
39638
- },
39639
- {
39640
- "kind": "Content",
39641
- "text": "import(\"../..\")."
39642
- },
39643
- {
39644
- "kind": "Reference",
39645
- "text": "Wire",
39646
- "canonicalReference": "@empathyco/x-components!Wire:type"
39647
- },
39648
- {
39649
- "kind": "Content",
39650
- "text": "<import(\"../..\")."
39651
- },
39652
- {
39653
- "kind": "Reference",
39654
- "text": "Dictionary",
39655
- "canonicalReference": "@empathyco/x-components!Dictionary:type"
39656
- },
39657
- {
39658
- "kind": "Content",
39659
- "text": "<unknown>>"
39660
- }
39661
- ],
39662
- "releaseTag": "Public",
39663
- "name": "setQuerySuggestionsExtraParams",
40129
+ "name": "setPopularSearchesExtraParams",
39664
40130
  "variableTypeTokenRange": {
39665
40131
  "startIndex": 1,
39666
40132
  "endIndex": 6
@@ -39668,12 +40134,38 @@
39668
40134
  },
39669
40135
  {
39670
40136
  "kind": "Variable",
39671
- "canonicalReference": "@empathyco/x-components!setQuerySuggestionsQuery:var",
39672
- "docComment": "/**\n * Sets the query-suggestions module query.\n *\n * @public\n */\n",
40137
+ "canonicalReference": "@empathyco/x-components!setQueryFromLastHistoryQuery:var",
40138
+ "docComment": "/**\n * Default implementation for the {@link NextQueriesActions.setQueryFromLastHistoryQuery}.\n *\n * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions, provided by Vuex.\n *\n * @param historyQueries - The current history queries.\n *\n * @public\n */\n",
39673
40139
  "excerptTokens": [
39674
40140
  {
39675
40141
  "kind": "Content",
39676
- "text": "setQuerySuggestionsQuery: "
40142
+ "text": "setQueryFromLastHistoryQuery: "
40143
+ },
40144
+ {
40145
+ "kind": "Reference",
40146
+ "text": "NextQueriesXStoreModule",
40147
+ "canonicalReference": "@empathyco/x-components!NextQueriesXStoreModule:type"
40148
+ },
40149
+ {
40150
+ "kind": "Content",
40151
+ "text": "['actions']['setQueryFromLastHistoryQuery']"
40152
+ }
40153
+ ],
40154
+ "releaseTag": "Public",
40155
+ "name": "setQueryFromLastHistoryQuery",
40156
+ "variableTypeTokenRange": {
40157
+ "startIndex": 1,
40158
+ "endIndex": 3
40159
+ }
40160
+ },
40161
+ {
40162
+ "kind": "Variable",
40163
+ "canonicalReference": "@empathyco/x-components!setQueryFromLastHistoryQueryWire:var",
40164
+ "docComment": "/**\n * Sets the next queries state `query` with the last query in history queries.\n *\n * @public\n */\n",
40165
+ "excerptTokens": [
40166
+ {
40167
+ "kind": "Content",
40168
+ "text": "setQueryFromLastHistoryQueryWire: "
39677
40169
  },
39678
40170
  {
39679
40171
  "kind": "Content",
@@ -39686,24 +40178,37 @@
39686
40178
  },
39687
40179
  {
39688
40180
  "kind": "Content",
39689
- "text": "<string>"
40181
+ "text": "<import(\"@empathyco/x-types\")."
40182
+ },
40183
+ {
40184
+ "kind": "Reference",
40185
+ "text": "HistoryQuery",
40186
+ "canonicalReference": "@empathyco/x-components!HistoryQuery:interface"
40187
+ },
40188
+ {
40189
+ "kind": "Content",
40190
+ "text": "[]>"
39690
40191
  }
39691
40192
  ],
39692
40193
  "releaseTag": "Public",
39693
- "name": "setQuerySuggestionsQuery",
40194
+ "name": "setQueryFromLastHistoryQueryWire",
39694
40195
  "variableTypeTokenRange": {
39695
40196
  "startIndex": 1,
39696
- "endIndex": 4
40197
+ "endIndex": 6
39697
40198
  }
39698
40199
  },
39699
40200
  {
39700
40201
  "kind": "Variable",
39701
- "canonicalReference": "@empathyco/x-components!setQueryTaggingDebounce:var",
39702
- "docComment": "/**\n * Sets the tagging state config `queryTaggingDebounceMs`.\n *\n * @public\n */\n",
40202
+ "canonicalReference": "@empathyco/x-components!setQuerySuggestionsExtraParams:var",
40203
+ "docComment": "/**\n * Sets the query suggestions state `params`.\n *\n * @public\n */\n",
39703
40204
  "excerptTokens": [
39704
40205
  {
39705
40206
  "kind": "Content",
39706
- "text": "setQueryTaggingDebounce: "
40207
+ "text": "setQuerySuggestionsExtraParams: "
40208
+ },
40209
+ {
40210
+ "kind": "Content",
40211
+ "text": "import(\"../..\")."
39707
40212
  },
39708
40213
  {
39709
40214
  "kind": "Reference",
@@ -39712,14 +40217,53 @@
39712
40217
  },
39713
40218
  {
39714
40219
  "kind": "Content",
39715
- "text": "<number>"
40220
+ "text": "<import(\"../..\")."
40221
+ },
40222
+ {
40223
+ "kind": "Reference",
40224
+ "text": "Dictionary",
40225
+ "canonicalReference": "@empathyco/x-components!Dictionary:type"
40226
+ },
40227
+ {
40228
+ "kind": "Content",
40229
+ "text": "<unknown>>"
39716
40230
  }
39717
40231
  ],
39718
40232
  "releaseTag": "Public",
39719
- "name": "setQueryTaggingDebounce",
40233
+ "name": "setQuerySuggestionsExtraParams",
39720
40234
  "variableTypeTokenRange": {
39721
40235
  "startIndex": 1,
39722
- "endIndex": 3
40236
+ "endIndex": 6
40237
+ }
40238
+ },
40239
+ {
40240
+ "kind": "Variable",
40241
+ "canonicalReference": "@empathyco/x-components!setQuerySuggestionsQuery:var",
40242
+ "docComment": "/**\n * Sets the query-suggestions module query.\n *\n * @public\n */\n",
40243
+ "excerptTokens": [
40244
+ {
40245
+ "kind": "Content",
40246
+ "text": "setQuerySuggestionsQuery: "
40247
+ },
40248
+ {
40249
+ "kind": "Content",
40250
+ "text": "import(\"../..\")."
40251
+ },
40252
+ {
40253
+ "kind": "Reference",
40254
+ "text": "Wire",
40255
+ "canonicalReference": "@empathyco/x-components!Wire:type"
40256
+ },
40257
+ {
40258
+ "kind": "Content",
40259
+ "text": "<string>"
40260
+ }
40261
+ ],
40262
+ "releaseTag": "Public",
40263
+ "name": "setQuerySuggestionsQuery",
40264
+ "variableTypeTokenRange": {
40265
+ "startIndex": 1,
40266
+ "endIndex": 4
39723
40267
  }
39724
40268
  },
39725
40269
  {
@@ -40250,32 +40794,6 @@
40250
40794
  "endIndex": 6
40251
40795
  }
40252
40796
  },
40253
- {
40254
- "kind": "Variable",
40255
- "canonicalReference": "@empathyco/x-components!setSessionDuration:var",
40256
- "docComment": "/**\n * Sets the tagging state `sessionTTLMs`.\n *\n * @public\n */\n",
40257
- "excerptTokens": [
40258
- {
40259
- "kind": "Content",
40260
- "text": "setSessionDuration: "
40261
- },
40262
- {
40263
- "kind": "Reference",
40264
- "text": "Wire",
40265
- "canonicalReference": "@empathyco/x-components!Wire:type"
40266
- },
40267
- {
40268
- "kind": "Content",
40269
- "text": "<number>"
40270
- }
40271
- ],
40272
- "releaseTag": "Public",
40273
- "name": "setSessionDuration",
40274
- "variableTypeTokenRange": {
40275
- "startIndex": 1,
40276
- "endIndex": 3
40277
- }
40278
- },
40279
40797
  {
40280
40798
  "kind": "Variable",
40281
40799
  "canonicalReference": "@empathyco/x-components!setSort:var",
@@ -40366,6 +40884,41 @@
40366
40884
  ],
40367
40885
  "name": "setStatus"
40368
40886
  },
40887
+ {
40888
+ "kind": "Variable",
40889
+ "canonicalReference": "@empathyco/x-components!setTaggingConfig:var",
40890
+ "docComment": "/**\n * Sets the tagging config state.\n *\n * @public\n */\n",
40891
+ "excerptTokens": [
40892
+ {
40893
+ "kind": "Content",
40894
+ "text": "setTaggingConfig: "
40895
+ },
40896
+ {
40897
+ "kind": "Reference",
40898
+ "text": "Wire",
40899
+ "canonicalReference": "@empathyco/x-components!Wire:type"
40900
+ },
40901
+ {
40902
+ "kind": "Content",
40903
+ "text": "<import(\"./config.types\")."
40904
+ },
40905
+ {
40906
+ "kind": "Reference",
40907
+ "text": "TaggingConfig",
40908
+ "canonicalReference": "@empathyco/x-components!TaggingConfig:interface"
40909
+ },
40910
+ {
40911
+ "kind": "Content",
40912
+ "text": ">"
40913
+ }
40914
+ ],
40915
+ "releaseTag": "Public",
40916
+ "name": "setTaggingConfig",
40917
+ "variableTypeTokenRange": {
40918
+ "startIndex": 1,
40919
+ "endIndex": 5
40920
+ }
40921
+ },
40369
40922
  {
40370
40923
  "kind": "Variable",
40371
40924
  "canonicalReference": "@empathyco/x-components!setUrlFilters:var",
@@ -41368,6 +41921,32 @@
41368
41921
  "endIndex": 2
41369
41922
  }
41370
41923
  },
41924
+ {
41925
+ "kind": "PropertySignature",
41926
+ "canonicalReference": "@empathyco/x-components!SnippetConfig#productId:member",
41927
+ "docComment": "/**\n * The id for the current product when product page is loaded.\n */\n",
41928
+ "excerptTokens": [
41929
+ {
41930
+ "kind": "Content",
41931
+ "text": "productId?: "
41932
+ },
41933
+ {
41934
+ "kind": "Content",
41935
+ "text": "string"
41936
+ },
41937
+ {
41938
+ "kind": "Content",
41939
+ "text": ";"
41940
+ }
41941
+ ],
41942
+ "isOptional": true,
41943
+ "releaseTag": "Public",
41944
+ "name": "productId",
41945
+ "propertyTypeTokenRange": {
41946
+ "startIndex": 1,
41947
+ "endIndex": 2
41948
+ }
41949
+ },
41371
41950
  {
41372
41951
  "kind": "PropertySignature",
41373
41952
  "canonicalReference": "@empathyco/x-components!SnippetConfig#scope:member",
@@ -41444,7 +42023,40 @@
41444
42023
  ],
41445
42024
  "releaseTag": "Public",
41446
42025
  "name": "SnippetConfigExtraParams",
41447
- "members": [],
42026
+ "members": [
42027
+ {
42028
+ "kind": "Property",
42029
+ "canonicalReference": "@empathyco/x-components!SnippetConfigExtraParams#values:member",
42030
+ "docComment": "/**\n * A Dictionary where the keys are the extra param names and its values.\n *\n * @public\n */\n",
42031
+ "excerptTokens": [
42032
+ {
42033
+ "kind": "Content",
42034
+ "text": "protected values?: "
42035
+ },
42036
+ {
42037
+ "kind": "Reference",
42038
+ "text": "Dictionary",
42039
+ "canonicalReference": "@empathyco/x-components!Dictionary:type"
42040
+ },
42041
+ {
42042
+ "kind": "Content",
42043
+ "text": "<unknown>"
42044
+ },
42045
+ {
42046
+ "kind": "Content",
42047
+ "text": ";"
42048
+ }
42049
+ ],
42050
+ "isOptional": true,
42051
+ "releaseTag": "Public",
42052
+ "name": "values",
42053
+ "propertyTypeTokenRange": {
42054
+ "startIndex": 1,
42055
+ "endIndex": 3
42056
+ },
42057
+ "isStatic": false
42058
+ }
42059
+ ],
41448
42060
  "extendsTokenRange": {
41449
42061
  "startIndex": 1,
41450
42062
  "endIndex": 3
@@ -42876,6 +43488,88 @@
42876
43488
  },
42877
43489
  "isStatic": false
42878
43490
  },
43491
+ {
43492
+ "kind": "Property",
43493
+ "canonicalReference": "@empathyco/x-components!Tagging#clickedResultStorageKey:member",
43494
+ "docComment": "/**\n * The Object key of the {@link @empathyco/x-types#Result | result} clicked by the user that will be used as id for the storage. By default, the Result url will be used.\n *\n * @public\n */\n",
43495
+ "excerptTokens": [
43496
+ {
43497
+ "kind": "Content",
43498
+ "text": "clickedResultStorageKey: "
43499
+ },
43500
+ {
43501
+ "kind": "Content",
43502
+ "text": "string"
43503
+ },
43504
+ {
43505
+ "kind": "Content",
43506
+ "text": ";"
43507
+ }
43508
+ ],
43509
+ "isOptional": false,
43510
+ "releaseTag": "Public",
43511
+ "name": "clickedResultStorageKey",
43512
+ "propertyTypeTokenRange": {
43513
+ "startIndex": 1,
43514
+ "endIndex": 2
43515
+ },
43516
+ "isStatic": false
43517
+ },
43518
+ {
43519
+ "kind": "Property",
43520
+ "canonicalReference": "@empathyco/x-components!Tagging#clickedResultStorageTTLMs:member",
43521
+ "docComment": "/**\n * The TTL in milliseconds for storing the clicked result info.\n *\n * @public\n */\n",
43522
+ "excerptTokens": [
43523
+ {
43524
+ "kind": "Content",
43525
+ "text": "clickedResultStorageTTLMs: "
43526
+ },
43527
+ {
43528
+ "kind": "Content",
43529
+ "text": "number"
43530
+ },
43531
+ {
43532
+ "kind": "Content",
43533
+ "text": ";"
43534
+ }
43535
+ ],
43536
+ "isOptional": false,
43537
+ "releaseTag": "Public",
43538
+ "name": "clickedResultStorageTTLMs",
43539
+ "propertyTypeTokenRange": {
43540
+ "startIndex": 1,
43541
+ "endIndex": 2
43542
+ },
43543
+ "isStatic": false
43544
+ },
43545
+ {
43546
+ "kind": "Property",
43547
+ "canonicalReference": "@empathyco/x-components!Tagging#config:member",
43548
+ "docComment": "",
43549
+ "excerptTokens": [
43550
+ {
43551
+ "kind": "Content",
43552
+ "text": "get config(): "
43553
+ },
43554
+ {
43555
+ "kind": "Reference",
43556
+ "text": "TaggingConfig",
43557
+ "canonicalReference": "@empathyco/x-components!TaggingConfig:interface"
43558
+ },
43559
+ {
43560
+ "kind": "Content",
43561
+ "text": ";"
43562
+ }
43563
+ ],
43564
+ "isOptional": false,
43565
+ "releaseTag": "Public",
43566
+ "name": "config",
43567
+ "propertyTypeTokenRange": {
43568
+ "startIndex": 1,
43569
+ "endIndex": 2
43570
+ },
43571
+ "isStatic": false
43572
+ },
42879
43573
  {
42880
43574
  "kind": "Property",
42881
43575
  "canonicalReference": "@empathyco/x-components!Tagging#consent:member",
@@ -42903,6 +43597,35 @@
42903
43597
  },
42904
43598
  "isStatic": false
42905
43599
  },
43600
+ {
43601
+ "kind": "Method",
43602
+ "canonicalReference": "@empathyco/x-components!Tagging#created:member(1)",
43603
+ "docComment": "/**\n * To emit the event that PDP is loaded just when the snippet config includes a product id.\n */\n",
43604
+ "excerptTokens": [
43605
+ {
43606
+ "kind": "Content",
43607
+ "text": "created(): "
43608
+ },
43609
+ {
43610
+ "kind": "Content",
43611
+ "text": "void"
43612
+ },
43613
+ {
43614
+ "kind": "Content",
43615
+ "text": ";"
43616
+ }
43617
+ ],
43618
+ "isOptional": false,
43619
+ "isStatic": false,
43620
+ "returnTypeTokenRange": {
43621
+ "startIndex": 1,
43622
+ "endIndex": 2
43623
+ },
43624
+ "releaseTag": "Public",
43625
+ "overloadIndex": 1,
43626
+ "parameters": [],
43627
+ "name": "created"
43628
+ },
42906
43629
  {
42907
43630
  "kind": "Method",
42908
43631
  "canonicalReference": "@empathyco/x-components!Tagging#render:member(1)",
@@ -43026,6 +43749,58 @@
43026
43749
  "releaseTag": "Public",
43027
43750
  "name": "TaggingConfig",
43028
43751
  "members": [
43752
+ {
43753
+ "kind": "PropertySignature",
43754
+ "canonicalReference": "@empathyco/x-components!TaggingConfig#clickedResultStorageKey:member",
43755
+ "docComment": "/**\n * Field of the {@link @empathy/x-types#Result | result} to use as id for storing the information.\n */\n",
43756
+ "excerptTokens": [
43757
+ {
43758
+ "kind": "Content",
43759
+ "text": "clickedResultStorageKey: "
43760
+ },
43761
+ {
43762
+ "kind": "Content",
43763
+ "text": "string | null"
43764
+ },
43765
+ {
43766
+ "kind": "Content",
43767
+ "text": ";"
43768
+ }
43769
+ ],
43770
+ "isOptional": false,
43771
+ "releaseTag": "Public",
43772
+ "name": "clickedResultStorageKey",
43773
+ "propertyTypeTokenRange": {
43774
+ "startIndex": 1,
43775
+ "endIndex": 2
43776
+ }
43777
+ },
43778
+ {
43779
+ "kind": "PropertySignature",
43780
+ "canonicalReference": "@empathyco/x-components!TaggingConfig#clickedResultStorageTTLMs:member",
43781
+ "docComment": "/**\n * Time in milliseconds to keep the information for a result clicked by the user.\n */\n",
43782
+ "excerptTokens": [
43783
+ {
43784
+ "kind": "Content",
43785
+ "text": "clickedResultStorageTTLMs: "
43786
+ },
43787
+ {
43788
+ "kind": "Content",
43789
+ "text": "number | null"
43790
+ },
43791
+ {
43792
+ "kind": "Content",
43793
+ "text": ";"
43794
+ }
43795
+ ],
43796
+ "isOptional": false,
43797
+ "releaseTag": "Public",
43798
+ "name": "clickedResultStorageTTLMs",
43799
+ "propertyTypeTokenRange": {
43800
+ "startIndex": 1,
43801
+ "endIndex": 2
43802
+ }
43803
+ },
43029
43804
  {
43030
43805
  "kind": "PropertySignature",
43031
43806
  "canonicalReference": "@empathyco/x-components!TaggingConfig#queryTaggingDebounceMs:member",
@@ -43153,50 +43928,6 @@
43153
43928
  ],
43154
43929
  "name": "setConsent"
43155
43930
  },
43156
- {
43157
- "kind": "MethodSignature",
43158
- "canonicalReference": "@empathyco/x-components!TaggingMutations#setQueryTaggingDebounce:member(1)",
43159
- "docComment": "/**\n * Sets the {@link TaggingConfig.queryTaggingDebounceMs} property.\n *\n * @param queryTaggingDebounceMs - The new {@link TaggingConfig.queryTaggingDebounceMs}.\n */\n",
43160
- "excerptTokens": [
43161
- {
43162
- "kind": "Content",
43163
- "text": "setQueryTaggingDebounce(queryTaggingDebounceMs: "
43164
- },
43165
- {
43166
- "kind": "Content",
43167
- "text": "number"
43168
- },
43169
- {
43170
- "kind": "Content",
43171
- "text": "): "
43172
- },
43173
- {
43174
- "kind": "Content",
43175
- "text": "void"
43176
- },
43177
- {
43178
- "kind": "Content",
43179
- "text": ";"
43180
- }
43181
- ],
43182
- "isOptional": false,
43183
- "returnTypeTokenRange": {
43184
- "startIndex": 3,
43185
- "endIndex": 4
43186
- },
43187
- "releaseTag": "Public",
43188
- "overloadIndex": 1,
43189
- "parameters": [
43190
- {
43191
- "parameterName": "queryTaggingDebounceMs",
43192
- "parameterTypeTokenRange": {
43193
- "startIndex": 1,
43194
- "endIndex": 2
43195
- }
43196
- }
43197
- ],
43198
- "name": "setQueryTaggingDebounce"
43199
- },
43200
43931
  {
43201
43932
  "kind": "MethodSignature",
43202
43933
  "canonicalReference": "@empathyco/x-components!TaggingMutations#setQueryTaggingInfo:member(1)",
@@ -43244,16 +43975,17 @@
43244
43975
  },
43245
43976
  {
43246
43977
  "kind": "MethodSignature",
43247
- "canonicalReference": "@empathyco/x-components!TaggingMutations#setSessionDuration:member(1)",
43248
- "docComment": "/**\n * Sets the {@link TaggingConfig.sessionTTLMs} property.\n *\n * @param sessionTTLMs - The new {@link TaggingConfig.sessionTTLMs}.\n */\n",
43978
+ "canonicalReference": "@empathyco/x-components!TaggingMutations#setTaggingConfig:member(1)",
43979
+ "docComment": "/**\n * Sets the {@link TaggingState.config} property.\n *\n * @param taggingConfig - The new {@link TaggingState.config}.\n */\n",
43249
43980
  "excerptTokens": [
43250
43981
  {
43251
43982
  "kind": "Content",
43252
- "text": "setSessionDuration(sessionTTLMs: "
43983
+ "text": "setTaggingConfig(taggingConfig: "
43253
43984
  },
43254
43985
  {
43255
- "kind": "Content",
43256
- "text": "number"
43986
+ "kind": "Reference",
43987
+ "text": "TaggingConfig",
43988
+ "canonicalReference": "@empathyco/x-components!TaggingConfig:interface"
43257
43989
  },
43258
43990
  {
43259
43991
  "kind": "Content",
@@ -43277,14 +44009,14 @@
43277
44009
  "overloadIndex": 1,
43278
44010
  "parameters": [
43279
44011
  {
43280
- "parameterName": "sessionTTLMs",
44012
+ "parameterName": "taggingConfig",
43281
44013
  "parameterTypeTokenRange": {
43282
44014
  "startIndex": 1,
43283
44015
  "endIndex": 2
43284
44016
  }
43285
44017
  }
43286
44018
  ],
43287
- "name": "setSessionDuration"
44019
+ "name": "setTaggingConfig"
43288
44020
  }
43289
44021
  ],
43290
44022
  "extendsTokenRanges": []
@@ -43456,16 +44188,16 @@
43456
44188
  },
43457
44189
  {
43458
44190
  "kind": "PropertySignature",
43459
- "canonicalReference": "@empathyco/x-components!TaggingXEvents#QueryTaggingDebounceProvided:member",
43460
- "docComment": "/**\n * Query tagging debounce has been provided. * Payload: The new query tagging debounce value.\n */\n",
44191
+ "canonicalReference": "@empathyco/x-components!TaggingXEvents#PDPIsLoaded:member",
44192
+ "docComment": "/**\n * A product description page has been loaded. Payload: the id of the product.\n */\n",
43461
44193
  "excerptTokens": [
43462
44194
  {
43463
44195
  "kind": "Content",
43464
- "text": "QueryTaggingDebounceProvided: "
44196
+ "text": "PDPIsLoaded: "
43465
44197
  },
43466
44198
  {
43467
44199
  "kind": "Content",
43468
- "text": "number"
44200
+ "text": "string"
43469
44201
  },
43470
44202
  {
43471
44203
  "kind": "Content",
@@ -43474,7 +44206,33 @@
43474
44206
  ],
43475
44207
  "isOptional": false,
43476
44208
  "releaseTag": "Public",
43477
- "name": "QueryTaggingDebounceProvided",
44209
+ "name": "PDPIsLoaded",
44210
+ "propertyTypeTokenRange": {
44211
+ "startIndex": 1,
44212
+ "endIndex": 2
44213
+ }
44214
+ },
44215
+ {
44216
+ "kind": "PropertySignature",
44217
+ "canonicalReference": "@empathyco/x-components!TaggingXEvents#ResultURLTrackingEnabled:member",
44218
+ "docComment": "/**\n * ClickedResultStorageKey has been configured to use the {@link @empathy/x-types#Result | result} url. * Payload: The new clickedResultStorageKey.\n */\n",
44219
+ "excerptTokens": [
44220
+ {
44221
+ "kind": "Content",
44222
+ "text": "ResultURLTrackingEnabled: "
44223
+ },
44224
+ {
44225
+ "kind": "Content",
44226
+ "text": "string"
44227
+ },
44228
+ {
44229
+ "kind": "Content",
44230
+ "text": ";"
44231
+ }
44232
+ ],
44233
+ "isOptional": false,
44234
+ "releaseTag": "Public",
44235
+ "name": "ResultURLTrackingEnabled",
43478
44236
  "propertyTypeTokenRange": {
43479
44237
  "startIndex": 1,
43480
44238
  "endIndex": 2
@@ -43509,16 +44267,43 @@
43509
44267
  },
43510
44268
  {
43511
44269
  "kind": "PropertySignature",
43512
- "canonicalReference": "@empathyco/x-components!TaggingXEvents#SessionDurationProvided:member",
43513
- "docComment": "/**\n * Session duration has been provided. * Payload: The new session duration value.\n */\n",
44270
+ "canonicalReference": "@empathyco/x-components!TaggingXEvents#TaggingConfigProvided:member",
44271
+ "docComment": "/**\n * The configuration for the tagging has been provided. * Payload: The configuration for the tagging.\n */\n",
43514
44272
  "excerptTokens": [
43515
44273
  {
43516
44274
  "kind": "Content",
43517
- "text": "SessionDurationProvided: "
44275
+ "text": "TaggingConfigProvided: "
44276
+ },
44277
+ {
44278
+ "kind": "Reference",
44279
+ "text": "TaggingConfig",
44280
+ "canonicalReference": "@empathyco/x-components!TaggingConfig:interface"
43518
44281
  },
43519
44282
  {
43520
44283
  "kind": "Content",
43521
- "text": "number"
44284
+ "text": ";"
44285
+ }
44286
+ ],
44287
+ "isOptional": false,
44288
+ "releaseTag": "Public",
44289
+ "name": "TaggingConfigProvided",
44290
+ "propertyTypeTokenRange": {
44291
+ "startIndex": 1,
44292
+ "endIndex": 2
44293
+ }
44294
+ },
44295
+ {
44296
+ "kind": "PropertySignature",
44297
+ "canonicalReference": "@empathyco/x-components!TaggingXEvents#UserClickedPDPAddToCart:member",
44298
+ "docComment": "/**\n * The user has clicked on the add to cart button from PDP. * Payload: The id of the {@link @empathy/x-types#Result | result} that the user clicked.\n */\n",
44299
+ "excerptTokens": [
44300
+ {
44301
+ "kind": "Content",
44302
+ "text": "UserClickedPDPAddToCart: "
44303
+ },
44304
+ {
44305
+ "kind": "Content",
44306
+ "text": "string | undefined"
43522
44307
  },
43523
44308
  {
43524
44309
  "kind": "Content",
@@ -43527,7 +44312,7 @@
43527
44312
  ],
43528
44313
  "isOptional": false,
43529
44314
  "releaseTag": "Public",
43530
- "name": "SessionDurationProvided",
44315
+ "name": "UserClickedPDPAddToCart",
43531
44316
  "propertyTypeTokenRange": {
43532
44317
  "startIndex": 1,
43533
44318
  "endIndex": 2
@@ -44667,6 +45452,38 @@
44667
45452
  "parameters": [],
44668
45453
  "name": "created"
44669
45454
  },
45455
+ {
45456
+ "kind": "Property",
45457
+ "canonicalReference": "@empathyco/x-components!UrlHandler#initialExtraParams:member",
45458
+ "docComment": "",
45459
+ "excerptTokens": [
45460
+ {
45461
+ "kind": "Content",
45462
+ "text": "initialExtraParams: "
45463
+ },
45464
+ {
45465
+ "kind": "Reference",
45466
+ "text": "Dictionary",
45467
+ "canonicalReference": "@empathyco/x-components!Dictionary:type"
45468
+ },
45469
+ {
45470
+ "kind": "Content",
45471
+ "text": "<unknown>"
45472
+ },
45473
+ {
45474
+ "kind": "Content",
45475
+ "text": ";"
45476
+ }
45477
+ ],
45478
+ "isOptional": false,
45479
+ "releaseTag": "Public",
45480
+ "name": "initialExtraParams",
45481
+ "propertyTypeTokenRange": {
45482
+ "startIndex": 1,
45483
+ "endIndex": 3
45484
+ },
45485
+ "isStatic": false
45486
+ },
44670
45487
  {
44671
45488
  "kind": "Method",
44672
45489
  "canonicalReference": "@empathyco/x-components!UrlHandler#updateUrlWithPush:member(1)",
@@ -48068,6 +48885,50 @@
48068
48885
  "releaseTag": "Public",
48069
48886
  "name": "XAPI",
48070
48887
  "members": [
48888
+ {
48889
+ "kind": "MethodSignature",
48890
+ "canonicalReference": "@empathyco/x-components!XAPI#addProductToCart:member(1)",
48891
+ "docComment": "/**\n * To track that a product was added to the cart from PDP.\n *\n * @remarks\n *\n * if no productId is provided, then the current page url will be used as id for getting the previously stored result information.\n *\n * @param productId - The id of the product added to cart.\n */\n",
48892
+ "excerptTokens": [
48893
+ {
48894
+ "kind": "Content",
48895
+ "text": "addProductToCart(productId?: "
48896
+ },
48897
+ {
48898
+ "kind": "Content",
48899
+ "text": "string"
48900
+ },
48901
+ {
48902
+ "kind": "Content",
48903
+ "text": "): "
48904
+ },
48905
+ {
48906
+ "kind": "Content",
48907
+ "text": "void"
48908
+ },
48909
+ {
48910
+ "kind": "Content",
48911
+ "text": ";"
48912
+ }
48913
+ ],
48914
+ "isOptional": false,
48915
+ "returnTypeTokenRange": {
48916
+ "startIndex": 3,
48917
+ "endIndex": 4
48918
+ },
48919
+ "releaseTag": "Public",
48920
+ "overloadIndex": 1,
48921
+ "parameters": [
48922
+ {
48923
+ "parameterName": "productId",
48924
+ "parameterTypeTokenRange": {
48925
+ "startIndex": 1,
48926
+ "endIndex": 2
48927
+ }
48928
+ }
48929
+ ],
48930
+ "name": "addProductToCart"
48931
+ },
48071
48932
  {
48072
48933
  "kind": "MethodSignature",
48073
48934
  "canonicalReference": "@empathyco/x-components!XAPI#init:member(1)",
@@ -50560,7 +51421,7 @@
50560
51421
  {
50561
51422
  "kind": "PropertySignature",
50562
51423
  "canonicalReference": "@empathyco/x-components!XEventsTypes#SnippetCallbackExecuted:member",
50563
- "docComment": "/**\n * A callback from the snippet has been executed. * Payload: An object containing the event that executed the callback and the callback result.\n */\n",
51424
+ "docComment": "/**\n * A callback from the snippet has been executed. * Payload: An object containing the event that executed the callback, the callback result, and the original event payload and metadata.\n */\n",
50564
51425
  "excerptTokens": [
50565
51426
  {
50566
51427
  "kind": "Content",
@@ -50577,7 +51438,34 @@
50577
51438
  },
50578
51439
  {
50579
51440
  "kind": "Content",
50580
- "text": ";\n callbackReturn: unknown;\n }"
51441
+ "text": ";\n callbackReturn: unknown;\n payload: "
51442
+ },
51443
+ {
51444
+ "kind": "Reference",
51445
+ "text": "ExtractPayload",
51446
+ "canonicalReference": "@empathyco/x-components!ExtractPayload:type"
51447
+ },
51448
+ {
51449
+ "kind": "Content",
51450
+ "text": "<"
51451
+ },
51452
+ {
51453
+ "kind": "Reference",
51454
+ "text": "XEvent",
51455
+ "canonicalReference": "@empathyco/x-components!XEvent:type"
51456
+ },
51457
+ {
51458
+ "kind": "Content",
51459
+ "text": ">;\n metadata: "
51460
+ },
51461
+ {
51462
+ "kind": "Reference",
51463
+ "text": "WireMetadata",
51464
+ "canonicalReference": "@empathyco/x-components!WireMetadata:interface"
51465
+ },
51466
+ {
51467
+ "kind": "Content",
51468
+ "text": ";\n }"
50581
51469
  },
50582
51470
  {
50583
51471
  "kind": "Content",
@@ -50589,7 +51477,7 @@
50589
51477
  "name": "SnippetCallbackExecuted",
50590
51478
  "propertyTypeTokenRange": {
50591
51479
  "startIndex": 1,
50592
- "endIndex": 4
51480
+ "endIndex": 10
50593
51481
  }
50594
51482
  },
50595
51483
  {