@empathyco/x-components 6.0.0-alpha.37 → 6.0.0-alpha.39

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 (99) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/core/index.js +1 -0
  3. package/core/index.js.map +1 -1
  4. package/design-system/deprecated-full-theme.css +408 -408
  5. package/docs/API-reference/api/x-adapter-platform.md +3 -0
  6. package/docs/API-reference/api/x-adapter-platform.nextqueriesrelatedpromptsschema.md +11 -0
  7. package/docs/API-reference/api/x-adapter-platform.platformrelatedprompt.md +1 -0
  8. package/docs/API-reference/api/x-adapter-platform.platformrelatedprompt.tagging.md +11 -0
  9. package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptnextqueriestagging.md +22 -0
  10. package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptnextqueriestagging.toolingdisplay.md +11 -0
  11. package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptnextqueriestagging.toolingdisplayadd2cart.md +11 -0
  12. package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptnextqueriestagging.toolingdisplayclick.md +11 -0
  13. package/docs/API-reference/api/x-adapter-platform.platformrelatedprompttagging.md +21 -0
  14. package/docs/API-reference/api/x-adapter-platform.platformrelatedprompttagging.nextqueries.md +11 -0
  15. package/docs/API-reference/api/x-adapter-platform.platformrelatedprompttagging.toolingdisplay.md +11 -0
  16. package/docs/API-reference/api/x-components.baseaddtocart.md +1 -0
  17. package/docs/API-reference/api/x-components.createtracktoolingadd2cartwire.md +19 -0
  18. package/docs/API-reference/api/x-components.createtracktoolingdisplaywire.md +19 -0
  19. package/docs/API-reference/api/x-components.displayclickprovider.md +58 -0
  20. package/docs/API-reference/api/x-components.featurelocation.md +1 -1
  21. package/docs/API-reference/api/x-components.globalxbus.md +4 -0
  22. package/docs/API-reference/api/x-components.hierarchicalfilter.md +2 -0
  23. package/docs/API-reference/api/x-components.md +5 -0
  24. package/docs/API-reference/api/x-components.queryfeature.md +1 -1
  25. package/docs/API-reference/api/x-components.relatedpromptstaglist.md +2 -1
  26. package/docs/API-reference/api/x-components.relatedpromptsxevents.md +2 -0
  27. package/docs/API-reference/api/x-components.relatedpromptsxevents.userclickedarelatedpromptadd2cart.md +13 -0
  28. package/docs/API-reference/api/x-components.relatedpromptsxevents.userclickedarelatedpromptresult.md +13 -0
  29. package/docs/API-reference/api/x-components.simplefilter.md +2 -0
  30. package/docs/API-reference/api/x-components.snippetcallbacks.md +2 -0
  31. package/docs/API-reference/api/x-components.tracktoolingadd2cartwire.md +13 -0
  32. package/docs/API-reference/api/x-components.tracktoolingdisplayclickedwire.md +13 -0
  33. package/docs/API-reference/api/x-types.md +1 -0
  34. package/docs/API-reference/api/x-types.relatedprompt.md +2 -1
  35. package/docs/API-reference/api/x-types.relatedprompt.relatedpromptnextqueries.md +13 -0
  36. package/docs/API-reference/api/x-types.relatedprompt.toolingdisplaytagging.md +13 -0
  37. package/docs/API-reference/api/x-types.relatedpromptnextquery.md +23 -0
  38. package/docs/API-reference/api/x-types.relatedpromptnextquery.query.md +13 -0
  39. package/docs/API-reference/api/x-types.relatedpromptnextquery.toolingdisplayadd2carttagging.md +13 -0
  40. package/docs/API-reference/api/x-types.relatedpromptnextquery.toolingdisplayclicktagging.md +13 -0
  41. package/docs/API-reference/api/x-types.relatedpromptnextquery.toolingdisplaytagging.md +13 -0
  42. package/docs/API-reference/components/common/x-components.display-click-provider.md +16 -0
  43. package/js/components/display-click-provider.vue.js +69 -0
  44. package/js/components/display-click-provider.vue.js.map +1 -0
  45. package/js/components/display-click-provider.vue2.js +6 -0
  46. package/js/components/display-click-provider.vue2.js.map +1 -0
  47. package/js/components/result/base-result-add-to-cart.vue.js +2 -1
  48. package/js/components/result/base-result-add-to-cart.vue.js.map +1 -1
  49. package/js/components/result/base-result-add-to-cart.vue2.js +19 -5
  50. package/js/components/result/base-result-add-to-cart.vue2.js.map +1 -1
  51. package/js/index.js +2 -1
  52. package/js/index.js.map +1 -1
  53. package/js/x-modules/empathize/components/empathize.vue2.js +1 -0
  54. package/js/x-modules/empathize/components/empathize.vue2.js.map +1 -1
  55. package/js/x-modules/queries-preview/components/query-preview-button.vue2.js +1 -0
  56. package/js/x-modules/queries-preview/components/query-preview-button.vue2.js.map +1 -1
  57. package/js/x-modules/queries-preview/components/query-preview.vue2.js +1 -0
  58. package/js/x-modules/queries-preview/components/query-preview.vue2.js.map +1 -1
  59. package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue.js +19 -5
  60. package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue.js.map +1 -1
  61. package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue2.js +2 -1
  62. package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue2.js.map +1 -1
  63. package/js/x-modules/scroll/components/scroll-to-top.vue2.js +1 -0
  64. package/js/x-modules/scroll/components/scroll-to-top.vue2.js.map +1 -1
  65. package/js/x-modules/tagging/store/module.js +5 -1
  66. package/js/x-modules/tagging/store/module.js.map +1 -1
  67. package/js/x-modules/tagging/wiring.js +64 -1
  68. package/js/x-modules/tagging/wiring.js.map +1 -1
  69. package/package.json +4 -4
  70. package/report/x-adapter-platform.api.json +254 -0
  71. package/report/x-components.api.json +663 -12
  72. package/report/x-components.api.md +88 -5
  73. package/report/x-types.api.json +167 -5
  74. package/tagging/index.js +1 -1
  75. package/types/components/display-click-provider.vue.d.ts +52 -0
  76. package/types/components/display-click-provider.vue.d.ts.map +1 -0
  77. package/types/components/global-x-bus.vue.d.ts +4 -0
  78. package/types/components/global-x-bus.vue.d.ts.map +1 -1
  79. package/types/components/index.d.ts +1 -0
  80. package/types/components/index.d.ts.map +1 -1
  81. package/types/components/result/base-result-add-to-cart.vue.d.ts +2 -0
  82. package/types/components/result/base-result-add-to-cart.vue.d.ts.map +1 -1
  83. package/types/components/snippet-callbacks.vue.d.ts +2 -0
  84. package/types/components/snippet-callbacks.vue.d.ts.map +1 -1
  85. package/types/types/origin.d.ts +2 -2
  86. package/types/types/origin.d.ts.map +1 -1
  87. package/types/views/adapter.d.ts.map +1 -1
  88. package/types/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +2 -0
  89. package/types/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +1 -1
  90. package/types/x-modules/facets/components/filters/simple-filter.vue.d.ts +2 -0
  91. package/types/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
  92. package/types/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts +2 -1
  93. package/types/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts.map +1 -1
  94. package/types/x-modules/related-prompts/events.types.d.ts +11 -1
  95. package/types/x-modules/related-prompts/events.types.d.ts.map +1 -1
  96. package/types/x-modules/tagging/store/module.d.ts.map +1 -1
  97. package/types/x-modules/tagging/wiring.d.ts +36 -2
  98. package/types/x-modules/tagging/wiring.d.ts.map +1 -1
  99. package/docs/API-reference/api/x-types.relatedprompt.nextqueries.md +0 -13
@@ -439,6 +439,7 @@ required: true;
439
439
  };
440
440
  }, {
441
441
  events: ComputedRef<Partial<XEventsTypes>>;
442
+ metadata: Omit<WireMetadata, "moduleName" | "origin" | "location">;
442
443
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
443
444
  result: {
444
445
  type: PropType<Result>;
@@ -1804,6 +1805,12 @@ export function createStoreEmitters<Module extends AnyXStoreModule, Emitters ext
1804
1805
  // @public
1805
1806
  export function createTrackDisplayWire(property: keyof Tagging_2): Wire<Taggable>;
1806
1807
 
1808
+ // @public
1809
+ export function createTrackToolingAdd2CartWire(): Wire<Taggable>;
1810
+
1811
+ // @public
1812
+ export function createTrackToolingDisplayWire(): Wire<Taggable>;
1813
+
1807
1814
  // @public
1808
1815
  export function createTrackWire(property: keyof Tagging_2): Wire<Taggable>;
1809
1816
 
@@ -2060,6 +2067,56 @@ export class DirectionalFocusNavigationService implements SpatialNavigation {
2060
2067
  // @internal
2061
2068
  export const DISABLE_ANIMATIONS_KEY: XInjectKey<boolean | undefined>;
2062
2069
 
2070
+ // @public (undocumented)
2071
+ export const DisplayClickProvider: DefineComponent< {
2072
+ ignoreResultClickEvent: {
2073
+ type: BooleanConstructor;
2074
+ default: boolean;
2075
+ };
2076
+ toolingDisplayTagging: {
2077
+ type: PropType<TaggingRequest>;
2078
+ required: false;
2079
+ default: undefined;
2080
+ };
2081
+ toolingAdd2CartTagging: {
2082
+ type: PropType<TaggingRequest>;
2083
+ required: false;
2084
+ default: undefined;
2085
+ };
2086
+ queryTagging: {
2087
+ type: PropType<TaggingRequest>;
2088
+ required: false;
2089
+ default: undefined;
2090
+ };
2091
+ }, () => VNode<RendererNode, RendererElement, {
2092
+ [key: string]: any;
2093
+ }> | "", unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
2094
+ ignoreResultClickEvent: {
2095
+ type: BooleanConstructor;
2096
+ default: boolean;
2097
+ };
2098
+ toolingDisplayTagging: {
2099
+ type: PropType<TaggingRequest>;
2100
+ required: false;
2101
+ default: undefined;
2102
+ };
2103
+ toolingAdd2CartTagging: {
2104
+ type: PropType<TaggingRequest>;
2105
+ required: false;
2106
+ default: undefined;
2107
+ };
2108
+ queryTagging: {
2109
+ type: PropType<TaggingRequest>;
2110
+ required: false;
2111
+ default: undefined;
2112
+ };
2113
+ }>>, {
2114
+ ignoreResultClickEvent: boolean;
2115
+ toolingDisplayTagging: TaggingRequest;
2116
+ toolingAdd2CartTagging: TaggingRequest;
2117
+ queryTagging: TaggingRequest;
2118
+ }, {}>;
2119
+
2063
2120
  // @public
2064
2121
  export const DisplayEmitter: DefineComponent< {
2065
2122
  payload: {
@@ -2726,7 +2783,7 @@ fromNoResultsWithFilters: ComputedRef<any>;
2726
2783
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
2727
2784
 
2728
2785
  // @public
2729
- export type FeatureLocation = 'external' | 'my_history' | 'no_query' | 'results' | 'no_results' | 'low_results' | 'none' | 'predictive_layer' | 'pdp' | 'url_history' | 'url_history_pdp';
2786
+ export type FeatureLocation = 'external' | 'my_history' | 'no_query' | 'results' | 'no_results' | 'low_results' | 'none' | 'predictive_layer' | 'pdp' | 'url_history' | 'url_history_pdp' | 'related-prompts';
2730
2787
 
2731
2788
  // @public
2732
2789
  export interface FetchAndSaveActions<Context extends XActionContext<StatusState, object, StatusMutations, object>, Request> {
@@ -3202,6 +3259,8 @@ ReplaceableUrlStateUpdated: (payload: UrlParams, metadata: WireMetadata) => unkn
3202
3259
  RelatedPromptsRequestUpdated: (payload: RelatedPromptsRequest | null, metadata: WireMetadata) => unknown;
3203
3260
  UserSelectedARelatedPrompt: (payload: number, metadata: WireMetadata) => unknown;
3204
3261
  UserSelectedARelatedPromptQuery: (payload: number, metadata: WireMetadata) => unknown;
3262
+ UserClickedARelatedPromptResult: (payload: Result, metadata: WireMetadata) => unknown;
3263
+ UserClickedARelatedPromptAdd2Cart: (payload: Result, metadata: WireMetadata) => unknown;
3205
3264
  }>>;
3206
3265
  required: true;
3207
3266
  };
@@ -3371,6 +3430,8 @@ ReplaceableUrlStateUpdated: (payload: UrlParams, metadata: WireMetadata) => unkn
3371
3430
  RelatedPromptsRequestUpdated: (payload: RelatedPromptsRequest | null, metadata: WireMetadata) => unknown;
3372
3431
  UserSelectedARelatedPrompt: (payload: number, metadata: WireMetadata) => unknown;
3373
3432
  UserSelectedARelatedPromptQuery: (payload: number, metadata: WireMetadata) => unknown;
3433
+ UserClickedARelatedPromptResult: (payload: Result, metadata: WireMetadata) => unknown;
3434
+ UserClickedARelatedPromptAdd2Cart: (payload: Result, metadata: WireMetadata) => unknown;
3374
3435
  }>>;
3375
3436
  required: true;
3376
3437
  };
@@ -3578,6 +3639,8 @@ ReplaceableUrlStateUpdated?: UrlParams | undefined;
3578
3639
  RelatedPromptsRequestUpdated?: RelatedPromptsRequest | null | undefined;
3579
3640
  UserSelectedARelatedPrompt?: number | undefined;
3580
3641
  UserSelectedARelatedPromptQuery?: number | undefined;
3642
+ UserClickedARelatedPromptResult?: Result | undefined;
3643
+ UserClickedARelatedPromptAdd2Cart?: Result | undefined;
3581
3644
  }>;
3582
3645
  innerCssClasses: ComputedRef<(string | Dictionary<boolean>)[]>;
3583
3646
  renderedChildrenFilters: ComputedRef<HierarchicalFilter_2[]>;
@@ -5204,7 +5267,7 @@ export const query: NextQueriesXStoreModule['getters']['query'];
5204
5267
  export const QUERY_KEY: XInjectKey<string | undefined>;
5205
5268
 
5206
5269
  // @public
5207
- export type QueryFeature = 'search_box' | 'url' | 'query_suggestion' | 'next_query' | 'popular_search' | 'history_query' | 'partial_result' | 'related_tag' | 'spellcheck' | 'customer' | 'semantics';
5270
+ export type QueryFeature = 'search_box' | 'url' | 'query_suggestion' | 'next_query' | 'popular_search' | 'history_query' | 'partial_result' | 'related_tag' | 'spellcheck' | 'customer' | 'semantics' | 'related-prompts';
5208
5271
 
5209
5272
  // @public
5210
5273
  export interface QueryMutations {
@@ -5820,9 +5883,10 @@ onLeave: (el: Element, done: () => void) => void;
5820
5883
  selectedPromptIndex: ComputedRef<any>;
5821
5884
  visibleRelatedPrompts: ComputedRef< {
5822
5885
  index: number;
5823
- nextQueries: string[];
5886
+ relatedPromptNextQueries: RelatedPromptNextQuery[];
5824
5887
  suggestionText: string;
5825
5888
  type: string;
5889
+ toolingDisplayTagging: TaggingRequest;
5826
5890
  modelName: "RelatedPrompt";
5827
5891
  }[]>;
5828
5892
  listItems: Ref<HTMLElement[]>;
@@ -5882,6 +5946,8 @@ export const relatedPromptsWiring: {
5882
5946
  // @public
5883
5947
  export interface RelatedPromptsXEvents {
5884
5948
  RelatedPromptsRequestUpdated: RelatedPromptsRequest | null;
5949
+ UserClickedARelatedPromptAdd2Cart: Result;
5950
+ UserClickedARelatedPromptResult: Result;
5885
5951
  UserSelectedARelatedPrompt: number;
5886
5952
  UserSelectedARelatedPromptQuery: number;
5887
5953
  }
@@ -7491,6 +7557,8 @@ ReplaceableUrlStateUpdated?: UrlParams | undefined;
7491
7557
  RelatedPromptsRequestUpdated?: RelatedPromptsRequest | null | undefined;
7492
7558
  UserSelectedARelatedPrompt?: number | undefined;
7493
7559
  UserSelectedARelatedPromptQuery?: number | undefined;
7560
+ UserClickedARelatedPromptResult?: Result | undefined;
7561
+ UserClickedARelatedPromptAdd2Cart?: Result | undefined;
7494
7562
  }>;
7495
7563
  innerCssClasses: ComputedRef<(string | Dictionary<boolean>)[]>;
7496
7564
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
@@ -7801,6 +7869,8 @@ ReplaceableUrlStateUpdated: (payload: UrlParams, metadata: WireMetadata) => unkn
7801
7869
  RelatedPromptsRequestUpdated: (payload: RelatedPromptsRequest | null, metadata: WireMetadata) => unknown;
7802
7870
  UserSelectedARelatedPrompt: (payload: number, metadata: WireMetadata) => unknown;
7803
7871
  UserSelectedARelatedPromptQuery: (payload: number, metadata: WireMetadata) => unknown;
7872
+ UserClickedARelatedPromptResult: (payload: Result, metadata: WireMetadata) => unknown;
7873
+ UserClickedARelatedPromptAdd2Cart: (payload: Result, metadata: WireMetadata) => unknown;
7804
7874
  }>>;
7805
7875
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
7806
7876
 
@@ -8194,6 +8264,12 @@ export const taggingWiring: {
8194
8264
  ModuleRegistered: {
8195
8265
  setNoResultsTaggingEnabledWire: Wire<keyof XModulesTree>;
8196
8266
  };
8267
+ UserClickedARelatedPromptResult: {
8268
+ trackToolingDisplayClickedWire: Wire<Taggable>;
8269
+ };
8270
+ UserClickedARelatedPromptAdd2Cart: {
8271
+ trackToolingAdd2CartWire: Wire<Taggable>;
8272
+ };
8197
8273
  };
8198
8274
 
8199
8275
  // @public
@@ -8286,6 +8362,12 @@ export const trackQueryWire: Wire<TaggingRequest | TaggingRequest[]>;
8286
8362
  // @public
8287
8363
  export const trackResultClickedWire: Wire<Taggable>;
8288
8364
 
8365
+ // @public
8366
+ export const trackToolingAdd2CartWire: Wire<Taggable>;
8367
+
8368
+ // @public
8369
+ export const trackToolingDisplayClickedWire: Wire<Taggable>;
8370
+
8289
8371
  // @internal
8290
8372
  export type TransitionStates<SomeStatus extends string, SomeEvent extends string> = {
8291
8373
  [Key in SomeStatus]: Partial<Record<SomeEvent, SomeStatus>>;
@@ -9061,7 +9143,7 @@ export type XStoreModuleOptions<StoreModule extends AnyXStoreModule> = StoreModu
9061
9143
  // dist/types/components/base-dropdown.vue.d.ts:11:9 - (ae-forgotten-export) The symbol "DropdownItem" needs to be exported by the entry point index.d.ts
9062
9144
  // dist/types/components/base-grid.vue.d.ts:45:5 - (ae-forgotten-export) The symbol "GridItem" needs to be exported by the entry point index.d.ts
9063
9145
  // dist/types/components/column-picker/base-column-picker-list.vue.d.ts:29:5 - (ae-forgotten-export) The symbol "ColumnPickerItem" needs to be exported by the entry point index.d.ts
9064
- // dist/types/components/display-emitter.vue.d.ts:8:9 - (ae-forgotten-export) The symbol "TaggingRequest" needs to be exported by the entry point index.d.ts
9146
+ // dist/types/components/display-click-provider.vue.d.ts:9:9 - (ae-forgotten-export) The symbol "TaggingRequest" needs to be exported by the entry point index.d.ts
9065
9147
  // dist/types/components/filters/labels/base-price-filter-label.vue.d.ts:13:13 - (ae-forgotten-export) The symbol "RangeValue" needs to be exported by the entry point index.d.ts
9066
9148
  // dist/types/components/filters/labels/base-rating-filter-label.vue.d.ts:16:9 - (ae-forgotten-export) The symbol "BooleanFilter" needs to be exported by the entry point index.d.ts
9067
9149
  // dist/types/components/global-x-bus.vue.d.ts:38:17 - (ae-forgotten-export) The symbol "ResultVariant" needs to be exported by the entry point index.d.ts
@@ -9070,13 +9152,14 @@ export type XStoreModuleOptions<StoreModule extends AnyXStoreModule> = StoreModu
9070
9152
  // dist/types/components/global-x-bus.vue.d.ts:150:13 - (ae-forgotten-export) The symbol "Promoted_2" needs to be exported by the entry point index.d.ts
9071
9153
  // dist/types/components/global-x-bus.vue.d.ts:155:13 - (ae-forgotten-export) The symbol "SemanticQuery_2" needs to be exported by the entry point index.d.ts
9072
9154
  // dist/types/components/page-selector.vue.d.ts:65:5 - (ae-forgotten-export) The symbol "PageItem" needs to be exported by the entry point index.d.ts
9073
- // dist/types/components/result/base-result-add-to-cart.vue.d.ts:17:9 - (ae-forgotten-export) The symbol "Result" needs to be exported by the entry point index.d.ts
9155
+ // dist/types/components/result/base-result-add-to-cart.vue.d.ts:18:9 - (ae-forgotten-export) The symbol "Result" needs to be exported by the entry point index.d.ts
9074
9156
  // dist/types/components/suggestions/base-suggestion.vue.d.ts:31:9 - (ae-forgotten-export) The symbol "Suggestion" needs to be exported by the entry point index.d.ts
9075
9157
  // dist/types/x-modules/facets/components/facets/facets.vue.d.ts:56:5 - (ae-forgotten-export) The symbol "RenderFacet" needs to be exported by the entry point index.d.ts
9076
9158
  // dist/types/x-modules/facets/components/filters/all-filter.vue.d.ts:16:9 - (ae-forgotten-export) The symbol "Facet" needs to be exported by the entry point index.d.ts
9077
9159
  // dist/types/x-modules/facets/components/filters/editable-number-range-filter.vue.d.ts:25:9 - (ae-forgotten-export) The symbol "EditableNumberRangeFilter_2" needs to be exported by the entry point index.d.ts
9078
9160
  // dist/types/x-modules/facets/components/lists/selected-filters-list.vue.d.ts:35:5 - (ae-forgotten-export) The symbol "RenderFilter" needs to be exported by the entry point index.d.ts
9079
9161
  // dist/types/x-modules/related-prompts/components/related-prompt.vue.d.ts:8:9 - (ae-forgotten-export) The symbol "RelatedPrompt_2" needs to be exported by the entry point index.d.ts
9162
+ // dist/types/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts:48:9 - (ae-forgotten-export) The symbol "RelatedPromptNextQuery" needs to be exported by the entry point index.d.ts
9080
9163
  // dist/types/x-modules/search/components/banner.vue.d.ts:23:9 - (ae-forgotten-export) The symbol "Banner_2" needs to be exported by the entry point index.d.ts
9081
9164
  // dist/types/x-modules/search/components/partial-results-list.vue.d.ts:29:5 - (ae-forgotten-export) The symbol "PartialResult" needs to be exported by the entry point index.d.ts
9082
9165
  // dist/types/x-modules/search/components/sort-list.vue.d.ts:29:5 - (ae-forgotten-export) The symbol "SortListItem" needs to be exported by the entry point index.d.ts
@@ -4610,16 +4610,21 @@
4610
4610
  "members": [
4611
4611
  {
4612
4612
  "kind": "PropertySignature",
4613
- "canonicalReference": "@empathyco/x-types!RelatedPrompt#nextQueries:member",
4613
+ "canonicalReference": "@empathyco/x-types!RelatedPrompt#relatedPromptNextQueries:member",
4614
4614
  "docComment": "/**\n * The next queries related to the prompt.\n */\n",
4615
4615
  "excerptTokens": [
4616
4616
  {
4617
4617
  "kind": "Content",
4618
- "text": "nextQueries: "
4618
+ "text": "relatedPromptNextQueries: "
4619
+ },
4620
+ {
4621
+ "kind": "Reference",
4622
+ "text": "RelatedPromptNextQuery",
4623
+ "canonicalReference": "@empathyco/x-types!RelatedPromptNextQuery:interface"
4619
4624
  },
4620
4625
  {
4621
4626
  "kind": "Content",
4622
- "text": "string[]"
4627
+ "text": "[]"
4623
4628
  },
4624
4629
  {
4625
4630
  "kind": "Content",
@@ -4629,10 +4634,10 @@
4629
4634
  "isReadonly": false,
4630
4635
  "isOptional": false,
4631
4636
  "releaseTag": "Public",
4632
- "name": "nextQueries",
4637
+ "name": "relatedPromptNextQueries",
4633
4638
  "propertyTypeTokenRange": {
4634
4639
  "startIndex": 1,
4635
- "endIndex": 2
4640
+ "endIndex": 3
4636
4641
  }
4637
4642
  },
4638
4643
  {
@@ -4662,6 +4667,34 @@
4662
4667
  "endIndex": 2
4663
4668
  }
4664
4669
  },
4670
+ {
4671
+ "kind": "PropertySignature",
4672
+ "canonicalReference": "@empathyco/x-types!RelatedPrompt#toolingDisplayTagging:member",
4673
+ "docComment": "/**\n * The tooling display tagging of the prompt.\n */\n",
4674
+ "excerptTokens": [
4675
+ {
4676
+ "kind": "Content",
4677
+ "text": "toolingDisplayTagging: "
4678
+ },
4679
+ {
4680
+ "kind": "Reference",
4681
+ "text": "TaggingRequest",
4682
+ "canonicalReference": "@empathyco/x-types!TaggingRequest:interface"
4683
+ },
4684
+ {
4685
+ "kind": "Content",
4686
+ "text": ";"
4687
+ }
4688
+ ],
4689
+ "isReadonly": false,
4690
+ "isOptional": false,
4691
+ "releaseTag": "Public",
4692
+ "name": "toolingDisplayTagging",
4693
+ "propertyTypeTokenRange": {
4694
+ "startIndex": 1,
4695
+ "endIndex": 2
4696
+ }
4697
+ },
4665
4698
  {
4666
4699
  "kind": "PropertySignature",
4667
4700
  "canonicalReference": "@empathyco/x-types!RelatedPrompt#type:member",
@@ -4697,6 +4730,135 @@
4697
4730
  }
4698
4731
  ]
4699
4732
  },
4733
+ {
4734
+ "kind": "Interface",
4735
+ "canonicalReference": "@empathyco/x-types!RelatedPromptNextQuery:interface",
4736
+ "docComment": "/**\n * Represents a related prompt nextQuery.\n *\n * @public\n */\n",
4737
+ "excerptTokens": [
4738
+ {
4739
+ "kind": "Content",
4740
+ "text": "export interface RelatedPromptNextQuery "
4741
+ }
4742
+ ],
4743
+ "fileUrlPath": "src/query-signals/related-prompt.model.ts",
4744
+ "releaseTag": "Public",
4745
+ "name": "RelatedPromptNextQuery",
4746
+ "preserveMemberOrder": false,
4747
+ "members": [
4748
+ {
4749
+ "kind": "PropertySignature",
4750
+ "canonicalReference": "@empathyco/x-types!RelatedPromptNextQuery#query:member",
4751
+ "docComment": "/**\n * The query of the next query.\n */\n",
4752
+ "excerptTokens": [
4753
+ {
4754
+ "kind": "Content",
4755
+ "text": "query: "
4756
+ },
4757
+ {
4758
+ "kind": "Content",
4759
+ "text": "string"
4760
+ },
4761
+ {
4762
+ "kind": "Content",
4763
+ "text": ";"
4764
+ }
4765
+ ],
4766
+ "isReadonly": false,
4767
+ "isOptional": false,
4768
+ "releaseTag": "Public",
4769
+ "name": "query",
4770
+ "propertyTypeTokenRange": {
4771
+ "startIndex": 1,
4772
+ "endIndex": 2
4773
+ }
4774
+ },
4775
+ {
4776
+ "kind": "PropertySignature",
4777
+ "canonicalReference": "@empathyco/x-types!RelatedPromptNextQuery#toolingDisplayAdd2CartTagging:member",
4778
+ "docComment": "/**\n * The tooling display add2cart tagging of the next query.\n */\n",
4779
+ "excerptTokens": [
4780
+ {
4781
+ "kind": "Content",
4782
+ "text": "toolingDisplayAdd2CartTagging: "
4783
+ },
4784
+ {
4785
+ "kind": "Reference",
4786
+ "text": "TaggingRequest",
4787
+ "canonicalReference": "@empathyco/x-types!TaggingRequest:interface"
4788
+ },
4789
+ {
4790
+ "kind": "Content",
4791
+ "text": ";"
4792
+ }
4793
+ ],
4794
+ "isReadonly": false,
4795
+ "isOptional": false,
4796
+ "releaseTag": "Public",
4797
+ "name": "toolingDisplayAdd2CartTagging",
4798
+ "propertyTypeTokenRange": {
4799
+ "startIndex": 1,
4800
+ "endIndex": 2
4801
+ }
4802
+ },
4803
+ {
4804
+ "kind": "PropertySignature",
4805
+ "canonicalReference": "@empathyco/x-types!RelatedPromptNextQuery#toolingDisplayClickTagging:member",
4806
+ "docComment": "/**\n * The tooling display click tagging of the next query.\n */\n",
4807
+ "excerptTokens": [
4808
+ {
4809
+ "kind": "Content",
4810
+ "text": "toolingDisplayClickTagging: "
4811
+ },
4812
+ {
4813
+ "kind": "Reference",
4814
+ "text": "TaggingRequest",
4815
+ "canonicalReference": "@empathyco/x-types!TaggingRequest:interface"
4816
+ },
4817
+ {
4818
+ "kind": "Content",
4819
+ "text": ";"
4820
+ }
4821
+ ],
4822
+ "isReadonly": false,
4823
+ "isOptional": false,
4824
+ "releaseTag": "Public",
4825
+ "name": "toolingDisplayClickTagging",
4826
+ "propertyTypeTokenRange": {
4827
+ "startIndex": 1,
4828
+ "endIndex": 2
4829
+ }
4830
+ },
4831
+ {
4832
+ "kind": "PropertySignature",
4833
+ "canonicalReference": "@empathyco/x-types!RelatedPromptNextQuery#toolingDisplayTagging:member",
4834
+ "docComment": "/**\n * The tooling display tagging of the next query.\n */\n",
4835
+ "excerptTokens": [
4836
+ {
4837
+ "kind": "Content",
4838
+ "text": "toolingDisplayTagging: "
4839
+ },
4840
+ {
4841
+ "kind": "Reference",
4842
+ "text": "TaggingRequest",
4843
+ "canonicalReference": "@empathyco/x-types!TaggingRequest:interface"
4844
+ },
4845
+ {
4846
+ "kind": "Content",
4847
+ "text": ";"
4848
+ }
4849
+ ],
4850
+ "isReadonly": false,
4851
+ "isOptional": false,
4852
+ "releaseTag": "Public",
4853
+ "name": "toolingDisplayTagging",
4854
+ "propertyTypeTokenRange": {
4855
+ "startIndex": 1,
4856
+ "endIndex": 2
4857
+ }
4858
+ }
4859
+ ],
4860
+ "extendsTokenRanges": []
4861
+ },
4700
4862
  {
4701
4863
  "kind": "Interface",
4702
4864
  "canonicalReference": "@empathyco/x-types!RelatedPromptsRequest:interface",
package/tagging/index.js CHANGED
@@ -3,5 +3,5 @@ export { DefaultPDPAddToCartService } from '../js/x-modules/tagging/service/pdp-
3
3
  export { track } from '../js/x-modules/tagging/store/actions/track.action.js';
4
4
  export { taggingEmitters } from '../js/x-modules/tagging/store/emitters.js';
5
5
  export { taggingXStoreModule } from '../js/x-modules/tagging/store/module.js';
6
- export { createSetQueryTaggingFromQueryPreview, createTrackDisplayWire, createTrackWire, setConsent, setNoResultsTaggingEnabledWire, setQueryTaggingFromQueryPreview, setQueryTaggingInfo, setTaggingConfig, taggingWiring, trackAddToCartWire, trackBannerClickedWire, trackDisplayClickedWire, trackElementDisplayedWire, trackNoResultsQueryWithSemanticsWire, trackNoResultsQueryWithSemanticsWireDebounced, trackQueryWire, trackResultClickedWire } from '../js/x-modules/tagging/wiring.js';
6
+ export { createSetQueryTaggingFromQueryPreview, createTrackDisplayWire, createTrackToolingAdd2CartWire, createTrackToolingDisplayWire, createTrackWire, setConsent, setNoResultsTaggingEnabledWire, setQueryTaggingFromQueryPreview, setQueryTaggingInfo, setTaggingConfig, taggingWiring, trackAddToCartWire, trackBannerClickedWire, trackDisplayClickedWire, trackElementDisplayedWire, trackNoResultsQueryWithSemanticsWire, trackNoResultsQueryWithSemanticsWireDebounced, trackQueryWire, trackResultClickedWire, trackToolingAdd2CartWire, trackToolingDisplayClickedWire } from '../js/x-modules/tagging/wiring.js';
7
7
  export { taggingXModule } from '../js/x-modules/tagging/x-module.js';
@@ -0,0 +1,52 @@
1
+ import type { TaggingRequest } from '@empathyco/x-types';
2
+ import type { PropType } from 'vue';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ ignoreResultClickEvent: {
5
+ type: BooleanConstructor;
6
+ default: boolean;
7
+ };
8
+ toolingDisplayTagging: {
9
+ type: PropType<TaggingRequest>;
10
+ required: false;
11
+ default: undefined;
12
+ };
13
+ toolingAdd2CartTagging: {
14
+ type: PropType<TaggingRequest>;
15
+ required: false;
16
+ default: undefined;
17
+ };
18
+ queryTagging: {
19
+ type: PropType<TaggingRequest>;
20
+ required: false;
21
+ default: undefined;
22
+ };
23
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
24
+ [key: string]: any;
25
+ }> | "", unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
26
+ ignoreResultClickEvent: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ toolingDisplayTagging: {
31
+ type: PropType<TaggingRequest>;
32
+ required: false;
33
+ default: undefined;
34
+ };
35
+ toolingAdd2CartTagging: {
36
+ type: PropType<TaggingRequest>;
37
+ required: false;
38
+ default: undefined;
39
+ };
40
+ queryTagging: {
41
+ type: PropType<TaggingRequest>;
42
+ required: false;
43
+ default: undefined;
44
+ };
45
+ }>>, {
46
+ ignoreResultClickEvent: boolean;
47
+ toolingDisplayTagging: TaggingRequest;
48
+ toolingAdd2CartTagging: TaggingRequest;
49
+ queryTagging: TaggingRequest;
50
+ }, {}>;
51
+ export default _default;
52
+ //# sourceMappingURL=display-click-provider.vue?vue&type=script&lang.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"display-click-provider.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../src/components/display-click-provider.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMpC,wBAsDG"}
@@ -171,6 +171,8 @@ declare const _default: import("vue").DefineComponent<{
171
171
  RelatedPromptsRequestUpdated: (payload: import("@empathyco/x-types").RelatedPromptsRequest | null, metadata: import("..").WireMetadata) => unknown;
172
172
  UserSelectedARelatedPrompt: (payload: number, metadata: import("..").WireMetadata) => unknown;
173
173
  UserSelectedARelatedPromptQuery: (payload: number, metadata: import("..").WireMetadata) => unknown;
174
+ UserClickedARelatedPromptResult: (payload: import("@empathyco/x-types").Result, metadata: import("..").WireMetadata) => unknown;
175
+ UserClickedARelatedPromptAdd2Cart: (payload: import("@empathyco/x-types").Result, metadata: import("..").WireMetadata) => unknown;
174
176
  }>>;
175
177
  required: true;
176
178
  };
@@ -340,6 +342,8 @@ declare const _default: import("vue").DefineComponent<{
340
342
  RelatedPromptsRequestUpdated: (payload: import("@empathyco/x-types").RelatedPromptsRequest | null, metadata: import("..").WireMetadata) => unknown;
341
343
  UserSelectedARelatedPrompt: (payload: number, metadata: import("..").WireMetadata) => unknown;
342
344
  UserSelectedARelatedPromptQuery: (payload: number, metadata: import("..").WireMetadata) => unknown;
345
+ UserClickedARelatedPromptResult: (payload: import("@empathyco/x-types").Result, metadata: import("..").WireMetadata) => unknown;
346
+ UserClickedARelatedPromptAdd2Cart: (payload: import("@empathyco/x-types").Result, metadata: import("..").WireMetadata) => unknown;
343
347
  }>>;
344
348
  required: true;
345
349
  };
@@ -1 +1 @@
1
- {"version":3,"file":"global-x-bus.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../src/components/global-x-bus.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACE,OAAO,EAAmB,QAAQ,EAAE,MAAM,KAAK,CAAC;AAKhD;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAuBG"}
1
+ {"version":3,"file":"global-x-bus.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../src/components/global-x-bus.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACE,OAAO,EAAmB,QAAQ,EAAE,MAAM,KAAK,CAAC;AAKhD;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAuBG"}
@@ -27,6 +27,7 @@ export { default as SlidingPanel } from './sliding-panel.vue';
27
27
  export { default as SnippetCallbacks } from './snippet-callbacks.vue';
28
28
  export { default as PageLoaderButton } from './page-loader-button.vue';
29
29
  export { default as PageSelector } from './page-selector.vue';
30
+ export { default as DisplayClickProvider } from './display-click-provider.vue';
30
31
  export * from './decorators/injection.consts';
31
32
  export * from './x-component.utils';
32
33
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAE9B,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAG9D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAE9B,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAG/E,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { Result } from '@empathyco/x-types';
2
2
  import { PropType } from 'vue';
3
3
  import { XEventsTypes } from '../../wiring/events.types';
4
+ import { WireMetadata } from '../../wiring/index';
4
5
  /**
5
6
  * Renders a button with a default slot. It receives the result with the data and emits
6
7
  * {@link XEventsTypes.UserClickedResultAddToCart} to the bus on click mouse event.
@@ -19,6 +20,7 @@ declare const _default: import("vue").DefineComponent<{
19
20
  };
20
21
  }, {
21
22
  events: import("vue").ComputedRef<Partial<XEventsTypes>>;
23
+ metadata: Omit<WireMetadata, "moduleName" | "origin" | "location">;
22
24
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
25
  /**
24
26
  * (Required) The {@link @empathyco/x-types#Result} information.
@@ -1 +1 @@
1
- {"version":3,"file":"base-result-add-to-cart.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../src/components/result/base-result-add-to-cart.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAA6B,QAAQ,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAGzD;;;;;GAKG;;IAIC;;;;OAIG;;;;;;;;IAJH;;;;OAIG;;;;;;AAPP,wBA6BG"}
1
+ {"version":3,"file":"base-result-add-to-cart.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../src/components/result/base-result-add-to-cart.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAA6B,QAAQ,EAAU,MAAM,KAAK,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAGzD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD;;;;;GAKG;;IAIC;;;;OAIG;;;;;;;;;IAJH;;;;OAIG;;;;;;AAPP,wBAsDG"}
@@ -170,6 +170,8 @@ declare const _default: import("vue").DefineComponent<{}, {
170
170
  RelatedPromptsRequestUpdated: (payload: import("@empathyco/x-types").RelatedPromptsRequest | null, metadata: WireMetadata) => unknown;
171
171
  UserSelectedARelatedPrompt: (payload: number, metadata: WireMetadata) => unknown;
172
172
  UserSelectedARelatedPromptQuery: (payload: number, metadata: WireMetadata) => unknown;
173
+ UserClickedARelatedPromptResult: (payload: import("@empathyco/x-types").Result, metadata: WireMetadata) => unknown;
174
+ UserClickedARelatedPromptAdd2Cart: (payload: import("@empathyco/x-types").Result, metadata: WireMetadata) => unknown;
173
175
  }>>;
174
176
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
175
177
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"snippet-callbacks.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../src/components/snippet-callbacks.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AAGE,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAKzC;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBA0CG"}
1
+ {"version":3,"file":"snippet-callbacks.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../src/components/snippet-callbacks.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AAGE,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAKzC;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBA0CG"}
@@ -18,7 +18,7 @@ export type ResultOrigin = `${ResultFeature}:${FeatureLocation}`;
18
18
  *
19
19
  * @public
20
20
  */
21
- export type QueryFeature = 'search_box' | 'url' | 'query_suggestion' | 'next_query' | 'popular_search' | 'history_query' | 'partial_result' | 'related_tag' | 'spellcheck' | 'customer' | 'semantics';
21
+ export type QueryFeature = 'search_box' | 'url' | 'query_suggestion' | 'next_query' | 'popular_search' | 'history_query' | 'partial_result' | 'related_tag' | 'spellcheck' | 'customer' | 'semantics' | 'related-prompts';
22
22
  /**
23
23
  * The name of the tool that generated the results.
24
24
  *
@@ -36,7 +36,7 @@ export type ResultFeature = 'search' | 'topclicked_recommendations' | 'brand_rec
36
36
  *
37
37
  * @public
38
38
  */
39
- export type FeatureLocation = 'external' | 'my_history' | 'no_query' | 'results' | 'no_results' | 'low_results' | 'none' | 'predictive_layer' | 'pdp' | 'url_history' | 'url_history_pdp';
39
+ export type FeatureLocation = 'external' | 'my_history' | 'no_query' | 'results' | 'no_results' | 'low_results' | 'none' | 'predictive_layer' | 'pdp' | 'url_history' | 'url_history_pdp' | 'related-prompts';
40
40
  /**
41
41
  * Parameters to create a {@link QueryOrigin} or {@link ResultOrigin}.
42
42
  *
@@ -1 +1 @@
1
- {"version":3,"file":"origin.d.ts","sourceRoot":"","sources":["../../../src/types/origin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG,GAAG,YAAY,IAAI,eAAe,EAAE,CAAC;AAC/D;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,GAAG,aAAa,IAAI,eAAe,EAAE,CAAC;AAEjE;;;;GAIG;AACH,MAAM,MAAM,YAAY,GACpB,YAAY,GACZ,KAAK,GACL,kBAAkB,GAClB,YAAY,GACZ,gBAAgB,GAChB,eAAe,GACf,gBAAgB,GAChB,aAAa,GACb,YAAY,GACZ,UAAU,GACV,WAAW,CAAC;AAEhB;;;;GAIG;AACH,MAAM,MAAM,aAAa,GACrB,QAAQ,GACR,4BAA4B,GAC5B,uBAAuB,GACvB,4BAA4B,GAC5B,0BAA0B,GAC1B,iBAAiB,GACjB,mBAAmB,CAAC;AAExB;;;;;;;;;;GAUG;AACH,MAAM,MAAM,eAAe,GACvB,UAAU,GACV,YAAY,GACZ,UAAU,GACV,SAAS,GACT,YAAY,GACZ,aAAa,GACb,MAAM,GACN,kBAAkB,GAClB,KAAK,GACL,aAAa,GACb,iBAAiB,CAAC;AAEtB;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,UAAU,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"origin.d.ts","sourceRoot":"","sources":["../../../src/types/origin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG,GAAG,YAAY,IAAI,eAAe,EAAE,CAAC;AAC/D;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,GAAG,aAAa,IAAI,eAAe,EAAE,CAAC;AAEjE;;;;GAIG;AACH,MAAM,MAAM,YAAY,GACpB,YAAY,GACZ,KAAK,GACL,kBAAkB,GAClB,YAAY,GACZ,gBAAgB,GAChB,eAAe,GACf,gBAAgB,GAChB,aAAa,GACb,YAAY,GACZ,UAAU,GACV,WAAW,GACX,iBAAiB,CAAC;AAEtB;;;;GAIG;AACH,MAAM,MAAM,aAAa,GACrB,QAAQ,GACR,4BAA4B,GAC5B,uBAAuB,GACvB,4BAA4B,GAC5B,0BAA0B,GAC1B,iBAAiB,GACjB,mBAAmB,CAAC;AAExB;;;;;;;;;;GAUG;AACH,MAAM,MAAM,eAAe,GACvB,UAAU,GACV,YAAY,GACZ,UAAU,GACV,SAAS,GACT,YAAY,GACZ,aAAa,GACb,MAAM,GACN,kBAAkB,GAClB,KAAK,GACL,aAAa,GACb,iBAAiB,GACjB,iBAAiB,CAAC;AAEtB;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,UAAU,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../src/views/adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAmB,MAAM,+BAA+B,CAAC;AAGjF,eAAO,MAAM,aAAa;;CAEzB,CAAC;AAaF,eAAO,MAAM,OAAO,iBAGlB,CAAC"}
1
+ {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../src/views/adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAmB,MAAM,+BAA+B,CAAC;AAGjF,eAAO,MAAM,aAAa;;CAEzB,CAAC;AAQF,eAAO,MAAM,OAAO,iBAGlB,CAAC"}
@@ -195,6 +195,8 @@ declare const _default: import("vue").DefineComponent<{
195
195
  RelatedPromptsRequestUpdated?: import("@empathyco/x-types").RelatedPromptsRequest | null | undefined;
196
196
  UserSelectedARelatedPrompt?: number | undefined;
197
197
  UserSelectedARelatedPromptQuery?: number | undefined;
198
+ UserClickedARelatedPromptResult?: import("@empathyco/x-types").Result | undefined;
199
+ UserClickedARelatedPromptAdd2Cart?: import("@empathyco/x-types").Result | undefined;
198
200
  }>;
199
201
  innerCssClasses: import("vue").ComputedRef<(string | Dictionary<boolean>)[]>;
200
202
  renderedChildrenFilters: import("vue").ComputedRef<HierarchicalFilterModel[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"hierarchical-filter.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/facets/components/filters/hierarchical-filter.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACE,OAAO,EACL,MAAM,EACN,kBAAkB,IAAI,uBAAuB,EAE9C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAY,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAA6B,QAAQ,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAM/D;;;;GAIG;;IAMC,iCAAiC;;;;;IAKjC,+DAA+D;;IAE/D;;;;OAIG;;IAEH,+BAA+B;;;;;IAK/B,0CAA0C;;IAE1C,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAyDM,uBAAuB;;IA7EvE,iCAAiC;;;;;IAKjC,+DAA+D;;IAE/D;;;;OAIG;;IAEH,+BAA+B;;;;;IAK/B,0CAA0C;;IAE1C,0CAA0C;;;;;AAzB9C,wBAgHG"}
1
+ {"version":3,"file":"hierarchical-filter.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/facets/components/filters/hierarchical-filter.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACE,OAAO,EACL,MAAM,EACN,kBAAkB,IAAI,uBAAuB,EAE9C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAY,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAA6B,QAAQ,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAM/D;;;;GAIG;;IAMC,iCAAiC;;;;;IAKjC,+DAA+D;;IAE/D;;;;OAIG;;IAEH,+BAA+B;;;;;IAK/B,0CAA0C;;IAE1C,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAyDM,uBAAuB;;IA7EvE,iCAAiC;;;;;IAKjC,+DAA+D;;IAE/D;;;;OAIG;;IAEH,+BAA+B;;;;;IAK/B,0CAA0C;;IAE1C,0CAA0C;;;;;AAzB9C,wBAgHG"}
@@ -185,6 +185,8 @@ declare const _default: import("vue").DefineComponent<{
185
185
  RelatedPromptsRequestUpdated?: import("@empathyco/x-types").RelatedPromptsRequest | null | undefined;
186
186
  UserSelectedARelatedPrompt?: number | undefined;
187
187
  UserSelectedARelatedPromptQuery?: number | undefined;
188
+ UserClickedARelatedPromptResult?: import("@empathyco/x-types").Result | undefined;
189
+ UserClickedARelatedPromptAdd2Cart?: import("@empathyco/x-types").Result | undefined;
188
190
  }>;
189
191
  innerCssClasses: import("vue").ComputedRef<(string | Dictionary<boolean>)[]>;
190
192
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -1 +1 @@
1
- {"version":3,"file":"simple-filter.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/facets/components/filters/simple-filter.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACE,OAAO,EAAE,YAAY,IAAI,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAA6B,QAAQ,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAI/D;;;;GAIG;;IAOC,iCAAiC;;;;;IAKjC,iFAAiF;;IAEjF,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAP/B,iCAAiC;;;;;IAKjC,iFAAiF;;IAEjF,+BAA+B;;;;;;;;AAbnC,wBAsCG"}
1
+ {"version":3,"file":"simple-filter.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/facets/components/filters/simple-filter.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACE,OAAO,EAAE,YAAY,IAAI,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAA6B,QAAQ,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAI/D;;;;GAIG;;IAOC,iCAAiC;;;;;IAKjC,iFAAiF;;IAEjF,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAP/B,iCAAiC;;;;;IAKjC,iFAAiF;;IAEjF,+BAA+B;;;;;;;;AAbnC,wBAsCG"}