@empathyco/x-components 9.4.0 → 10.0.0

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 (85) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/docs/API-reference/api/x-adapter-platform.md +9 -0
  3. package/docs/API-reference/api/x-adapter-platform.platformaisuggestionsearch.md +0 -19
  4. package/docs/API-reference/api/x-adapter-platform.platformaisuggestionsearchtagging.add2cart.md +11 -0
  5. package/docs/API-reference/api/x-adapter-platform.platformaisuggestionsearchtagging.checkout.md +11 -0
  6. package/docs/API-reference/api/x-adapter-platform.platformaisuggestionsearchtagging.click.md +11 -0
  7. package/docs/API-reference/api/x-adapter-platform.platformaisuggestionsearchtagging.display.md +11 -0
  8. package/docs/API-reference/api/x-adapter-platform.platformaisuggestionsearchtagging.displayclick.md +11 -0
  9. package/docs/API-reference/api/x-adapter-platform.platformaisuggestionsearchtagging.md +139 -0
  10. package/docs/API-reference/api/x-adapter-platform.platformaisuggestionsearchtagging.query.md +11 -0
  11. package/docs/API-reference/api/x-adapter-platform.platformaisuggestionssearchresponse.md +17 -0
  12. package/docs/API-reference/api/x-adapter-platform.platformaisuggestionssearchresponse.tagging.md +11 -0
  13. package/docs/API-reference/api/x-components.aimutations.md +19 -0
  14. package/docs/API-reference/api/x-components.aimutations.setsuggestionssearchtagging.md +13 -0
  15. package/docs/API-reference/api/x-components.aistate.config.md +2 -0
  16. package/docs/API-reference/api/x-components.aistate.md +21 -0
  17. package/docs/API-reference/api/x-components.aistate.suggestionstagging.md +13 -0
  18. package/docs/API-reference/api/x-components.aixevents.aicomponentunmounted.md +11 -0
  19. package/docs/API-reference/api/x-components.aixevents.aisuggestionssearchtaggingchanged.md +11 -0
  20. package/docs/API-reference/api/x-components.aixevents.md +34 -0
  21. package/docs/API-reference/api/x-components.baseeventsmodalclose.md +1 -1
  22. package/docs/API-reference/api/x-components.baseeventsmodalopen.md +1 -1
  23. package/docs/API-reference/api/x-components.createtrackaicarouseltaggingwire.md +56 -0
  24. package/docs/API-reference/api/x-components.hierarchicalfilter.md +2 -0
  25. package/docs/API-reference/api/x-components.md +46 -2
  26. package/docs/API-reference/api/x-components.simplefilter.md +2 -0
  27. package/docs/API-reference/api/x-components.snippetcallbacks.md +2 -0
  28. package/docs/API-reference/api/x-components.trackaicarouseladdtocartwire.md +13 -0
  29. package/docs/API-reference/api/x-components.trackaicarouselquerytagginginfodebouncedwire.md +13 -0
  30. package/docs/API-reference/api/x-components.trackaicarouselquerytagginginfowire.md +13 -0
  31. package/docs/API-reference/api/x-components.trackaicarouselresultclickedwire.md +13 -0
  32. package/docs/API-reference/api/x-types.aisuggestionsearch.md +0 -17
  33. package/docs/API-reference/api/x-types.aisuggestionsearchtagging.add2cart.md +11 -0
  34. package/docs/API-reference/api/x-types.aisuggestionsearchtagging.checkout.md +11 -0
  35. package/docs/API-reference/api/x-types.aisuggestionsearchtagging.click.md +11 -0
  36. package/docs/API-reference/api/x-types.aisuggestionsearchtagging.display.md +11 -0
  37. package/docs/API-reference/api/x-types.aisuggestionsearchtagging.displayclick.md +11 -0
  38. package/docs/API-reference/api/x-types.aisuggestionsearchtagging.md +139 -0
  39. package/docs/API-reference/api/x-types.aisuggestionsearchtagging.query.md +11 -0
  40. package/docs/API-reference/api/x-types.aisuggestionssearchresponse.md +17 -0
  41. package/docs/API-reference/api/x-types.aisuggestionssearchresponse.suggestionstagging.md +11 -0
  42. package/docs/API-reference/api/x-types.md +9 -0
  43. package/js/index.js +1 -1
  44. package/js/x-modules/ai/components/ai-carousel.vue.js.map +1 -1
  45. package/js/x-modules/ai/components/ai-carousel.vue2.js +4 -1
  46. package/js/x-modules/ai/components/ai-carousel.vue2.js.map +1 -1
  47. package/js/x-modules/ai/store/actions/fetch-and-save-ai-suggestions-search.action.js +1 -0
  48. package/js/x-modules/ai/store/actions/fetch-and-save-ai-suggestions-search.action.js.map +1 -1
  49. package/js/x-modules/ai/store/emitters.js +4 -0
  50. package/js/x-modules/ai/store/emitters.js.map +1 -1
  51. package/js/x-modules/ai/store/module.js +4 -0
  52. package/js/x-modules/ai/store/module.js.map +1 -1
  53. package/js/x-modules/tagging/store/module.js +1 -1
  54. package/js/x-modules/tagging/store/module.js.map +1 -1
  55. package/js/x-modules/tagging/wiring.js +52 -7
  56. package/js/x-modules/tagging/wiring.js.map +1 -1
  57. package/package.json +4 -4
  58. package/report/x-adapter-platform.api.json +186 -5
  59. package/report/x-components.api.json +351 -17
  60. package/report/x-components.api.md +39 -6
  61. package/report/x-types.api.json +184 -6
  62. package/tagging/index.js +1 -1
  63. package/types/src/components/modals/base-events-modal-close.vue.d.ts +1 -1
  64. package/types/src/components/modals/base-events-modal-open.vue.d.ts +1 -1
  65. package/types/src/components/snippet-callbacks.vue.d.ts +2 -0
  66. package/types/src/components/snippet-callbacks.vue.d.ts.map +1 -1
  67. package/types/src/x-modules/ai/components/ai-carousel.vue.d.ts.map +1 -1
  68. package/types/src/x-modules/ai/events.types.d.ts +3 -1
  69. package/types/src/x-modules/ai/events.types.d.ts.map +1 -1
  70. package/types/src/x-modules/ai/store/actions/fetch-and-save-ai-suggestions-search.action.d.ts.map +1 -1
  71. package/types/src/x-modules/ai/store/emitters.d.ts +4 -0
  72. package/types/src/x-modules/ai/store/emitters.d.ts.map +1 -1
  73. package/types/src/x-modules/ai/store/module.d.ts.map +1 -1
  74. package/types/src/x-modules/ai/store/types.d.ts +10 -1
  75. package/types/src/x-modules/ai/store/types.d.ts.map +1 -1
  76. package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +2 -0
  77. package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +1 -1
  78. package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts +2 -0
  79. package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
  80. package/types/src/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts.map +1 -1
  81. package/types/src/x-modules/tagging/wiring.d.ts +39 -4
  82. package/types/src/x-modules/tagging/wiring.d.ts.map +1 -1
  83. package/docs/API-reference/api/x-adapter-platform.platformaisuggestionsearch.tagging.md +0 -13
  84. package/docs/API-reference/api/x-components.trackaisuggestionssearchwire.md +0 -13
  85. package/docs/API-reference/api/x-types.aisuggestionsearch.tagging.md +0 -13
@@ -185,10 +185,40 @@ export declare function createTrackRelatedPromptToolingDisplayClickWire(): Wire<
185
185
  */
186
186
  export declare function createSetQueryTaggingFromQueryPreview(): Wire<Taggable>;
187
187
  /**
188
- * Tracks query tagging of the AI suggestions-search.
188
+ * Performs a track of a query with no results that used ai carousel as fallback.
189
+ * The query will be changed to the original query of the search in order to associate
190
+ * the return of related results to that query, instead of track a no results query.
191
+ *
192
+ * @public
193
+ */
194
+ export declare const trackAiCarouselQueryTaggingInfoWire: Wire<any>;
195
+ /**
196
+ * Debounced version of {@link trackAiCarouselQueryTaggingInfoWire}
197
+ *
198
+ * @public
199
+ */
200
+ export declare const trackAiCarouselQueryTaggingInfoDebouncedWire: Wire<any>;
201
+ /**
202
+ * Factory helper to create a wire for the track of an ai carousel taggable element.
203
+ *
204
+ * @param property - Key of the tagging object to track.
205
+ * @returns A new wire for the given property of the ai carousel taggable element.
206
+ *
189
207
  * @public
190
208
  */
191
- export declare const trackAiSuggestionsSearchWire: import("../../wiring/wiring.types").AnyWire;
209
+ export declare function createTrackAiCarouselTaggingWire(property: keyof Tagging): Wire<Taggable>;
210
+ /**
211
+ * Tracks the tagging of an ai carousel result clicked.
212
+ *
213
+ * @public
214
+ */
215
+ export declare const trackAiCarouselResultClickedWire: Wire<Taggable>;
216
+ /**
217
+ * Performs a track of an ai carousel result added to the cart.
218
+ *
219
+ * @public
220
+ */
221
+ export declare const trackAiCarouselAddToCartWire: Wire<Taggable>;
192
222
  /**
193
223
  * Wiring configuration for the {@link TaggingXModule | tagging module}.
194
224
  *
@@ -265,14 +295,19 @@ export declare const taggingWiring: {
265
295
  UserSelectedARelatedPrompt: {
266
296
  trackRelatedPromptToolingDisplayClickWire: Wire<any>;
267
297
  };
268
- AiSuggestionsSearchChanged: {
269
- trackAiSuggestionsSearchWire: import("../../wiring/wiring.types").AnyWire;
298
+ AiSuggestionsSearchTaggingChanged: {
299
+ trackAiCarouselQueryTaggingInfoDebouncedWire: Wire<any>;
270
300
  };
271
301
  UserClickedAnAiCarouselResult: {
272
302
  trackToolingDisplayClickedWire: Wire<Taggable>;
303
+ trackAiCarouselResultClickedWire: Wire<Taggable>;
304
+ storeClickedResultWire: Wire<Result>;
273
305
  };
274
306
  UserClickedAnAiCarouselAdd2Cart: {
275
307
  trackToolingAdd2CartWire: Wire<Taggable>;
308
+ trackAiCarouselAddToCartWire: Wire<Taggable>;
309
+ trackAiCarouselResultClickedWire: Wire<Taggable>;
310
+ storeAddToCartWire: Wire<Result>;
276
311
  };
277
312
  };
278
313
  //# sourceMappingURL=wiring.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/tagging/wiring.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,MAAM,EAEN,QAAQ,EACR,OAAO,EACP,cAAc,EACf,MAAM,oBAAoB,CAAA;AAE3B,OAAO,KAAK,EAAuB,IAAI,EAAE,MAAM,2BAA2B,CAAA;AAyF1E;;;;GAIG;AACH,eAAO,MAAM,UAAU,eAA2B,CAAA;AAElD;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,uDAA2C,CAAA;AAEtF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,8CAA4B,CAAA;AAEzD;;;;GAIG;AACH,eAAO,MAAM,cAAc,yCAK1B,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,yCAK3B,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,sBAa/B,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,sBAahC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,gBAA0C,CAAA;AAEtF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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFxB,CAAA"}
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [PlatformAiSuggestionSearch](./x-adapter-platform.platformaisuggestionsearch.md) &gt; [tagging](./x-adapter-platform.platformaisuggestionsearch.tagging.md)
4
-
5
- ## PlatformAiSuggestionSearch.tagging property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- tagging?: {
11
- query: string;
12
- };
13
- ```
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [trackAiSuggestionsSearchWire](./x-components.trackaisuggestionssearchwire.md)
4
-
5
- ## trackAiSuggestionsSearchWire variable
6
-
7
- Tracks query tagging of the AI suggestions-search.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- trackAiSuggestionsSearchWire: import("../../wiring/wiring.types").AnyWire
13
- ```
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-types](./x-types.md) &gt; [AiSuggestionSearch](./x-types.aisuggestionsearch.md) &gt; [tagging](./x-types.aisuggestionsearch.tagging.md)
4
-
5
- ## AiSuggestionSearch.tagging property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- tagging: {
11
- query: TaggingRequest;
12
- };
13
- ```