@empathyco/x-components 6.0.0-alpha.37 → 6.0.0-alpha.38
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.
- package/CHANGELOG.md +9 -0
- package/design-system/deprecated-full-theme.css +354 -354
- package/docs/API-reference/api/x-adapter-platform.md +3 -0
- package/docs/API-reference/api/x-adapter-platform.nextqueriesrelatedpromptsschema.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedprompt.md +1 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedprompt.tagging.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptnextqueriestagging.md +22 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptnextqueriestagging.toolingdisplay.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptnextqueriestagging.toolingdisplayadd2cart.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptnextqueriestagging.toolingdisplayclick.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedprompttagging.md +21 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedprompttagging.nextqueries.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedprompttagging.toolingdisplay.md +11 -0
- package/docs/API-reference/api/x-components.baseaddtocart.md +1 -0
- package/docs/API-reference/api/x-components.createtracktoolingadd2cartwire.md +19 -0
- package/docs/API-reference/api/x-components.createtracktoolingdisplaywire.md +19 -0
- package/docs/API-reference/api/x-components.featurelocation.md +1 -1
- package/docs/API-reference/api/x-components.globalxbus.md +4 -0
- package/docs/API-reference/api/x-components.hierarchicalfilter.md +2 -0
- package/docs/API-reference/api/x-components.md +4 -0
- package/docs/API-reference/api/x-components.queryfeature.md +1 -1
- package/docs/API-reference/api/x-components.relatedpromptstaglist.md +2 -1
- package/docs/API-reference/api/x-components.relatedpromptsxevents.md +2 -0
- package/docs/API-reference/api/x-components.relatedpromptsxevents.userclickedarelatedpromptadd2cart.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsxevents.userclickedarelatedpromptresult.md +13 -0
- package/docs/API-reference/api/x-components.simplefilter.md +2 -0
- package/docs/API-reference/api/x-components.snippetcallbacks.md +2 -0
- package/docs/API-reference/api/x-components.tracktoolingadd2cartwire.md +13 -0
- package/docs/API-reference/api/x-components.tracktoolingdisplayclickedwire.md +13 -0
- package/docs/API-reference/api/x-types.md +1 -0
- package/docs/API-reference/api/x-types.relatedprompt.md +2 -1
- package/docs/API-reference/api/x-types.relatedprompt.relatedpromptnextqueries.md +13 -0
- package/docs/API-reference/api/x-types.relatedprompt.toolingdisplaytagging.md +13 -0
- package/docs/API-reference/api/x-types.relatedpromptnextquery.md +23 -0
- package/docs/API-reference/api/x-types.relatedpromptnextquery.query.md +13 -0
- package/docs/API-reference/api/x-types.relatedpromptnextquery.toolingdisplayadd2carttagging.md +13 -0
- package/docs/API-reference/api/x-types.relatedpromptnextquery.toolingdisplayclicktagging.md +13 -0
- package/docs/API-reference/api/x-types.relatedpromptnextquery.toolingdisplaytagging.md +13 -0
- package/js/components/result/base-result-add-to-cart.vue.js +2 -1
- package/js/components/result/base-result-add-to-cart.vue.js.map +1 -1
- package/js/components/result/base-result-add-to-cart.vue2.js +19 -5
- package/js/components/result/base-result-add-to-cart.vue2.js.map +1 -1
- package/js/index.js +1 -1
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue.js +19 -5
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue.js.map +1 -1
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue2.js +2 -1
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue2.js.map +1 -1
- package/js/x-modules/tagging/store/module.js +5 -1
- package/js/x-modules/tagging/store/module.js.map +1 -1
- package/js/x-modules/tagging/wiring.js +64 -1
- package/js/x-modules/tagging/wiring.js.map +1 -1
- package/package.json +4 -4
- package/report/x-adapter-platform.api.json +254 -0
- package/report/x-components.api.json +406 -12
- package/report/x-components.api.md +37 -4
- package/report/x-types.api.json +167 -5
- package/tagging/index.js +1 -1
- package/types/components/global-x-bus.vue.d.ts +4 -0
- package/types/components/global-x-bus.vue.d.ts.map +1 -1
- package/types/components/result/base-result-add-to-cart.vue.d.ts +2 -0
- package/types/components/result/base-result-add-to-cart.vue.d.ts.map +1 -1
- package/types/components/snippet-callbacks.vue.d.ts +2 -0
- package/types/components/snippet-callbacks.vue.d.ts.map +1 -1
- package/types/types/origin.d.ts +2 -2
- package/types/types/origin.d.ts.map +1 -1
- package/types/views/adapter.d.ts.map +1 -1
- package/types/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +2 -0
- package/types/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/filters/simple-filter.vue.d.ts +2 -0
- package/types/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
- package/types/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts +2 -1
- package/types/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts.map +1 -1
- package/types/x-modules/related-prompts/events.types.d.ts +11 -1
- package/types/x-modules/related-prompts/events.types.d.ts.map +1 -1
- package/types/x-modules/tagging/store/module.d.ts.map +1 -1
- package/types/x-modules/tagging/wiring.d.ts +36 -2
- package/types/x-modules/tagging/wiring.d.ts.map +1 -1
- 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
|
|
|
@@ -2726,7 +2733,7 @@ fromNoResultsWithFilters: ComputedRef<any>;
|
|
|
2726
2733
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
|
|
2727
2734
|
|
|
2728
2735
|
// @public
|
|
2729
|
-
export type FeatureLocation = 'external' | 'my_history' | 'no_query' | 'results' | 'no_results' | 'low_results' | 'none' | 'predictive_layer' | 'pdp' | 'url_history' | 'url_history_pdp';
|
|
2736
|
+
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
2737
|
|
|
2731
2738
|
// @public
|
|
2732
2739
|
export interface FetchAndSaveActions<Context extends XActionContext<StatusState, object, StatusMutations, object>, Request> {
|
|
@@ -3202,6 +3209,8 @@ ReplaceableUrlStateUpdated: (payload: UrlParams, metadata: WireMetadata) => unkn
|
|
|
3202
3209
|
RelatedPromptsRequestUpdated: (payload: RelatedPromptsRequest | null, metadata: WireMetadata) => unknown;
|
|
3203
3210
|
UserSelectedARelatedPrompt: (payload: number, metadata: WireMetadata) => unknown;
|
|
3204
3211
|
UserSelectedARelatedPromptQuery: (payload: number, metadata: WireMetadata) => unknown;
|
|
3212
|
+
UserClickedARelatedPromptResult: (payload: Result, metadata: WireMetadata) => unknown;
|
|
3213
|
+
UserClickedARelatedPromptAdd2Cart: (payload: Result, metadata: WireMetadata) => unknown;
|
|
3205
3214
|
}>>;
|
|
3206
3215
|
required: true;
|
|
3207
3216
|
};
|
|
@@ -3371,6 +3380,8 @@ ReplaceableUrlStateUpdated: (payload: UrlParams, metadata: WireMetadata) => unkn
|
|
|
3371
3380
|
RelatedPromptsRequestUpdated: (payload: RelatedPromptsRequest | null, metadata: WireMetadata) => unknown;
|
|
3372
3381
|
UserSelectedARelatedPrompt: (payload: number, metadata: WireMetadata) => unknown;
|
|
3373
3382
|
UserSelectedARelatedPromptQuery: (payload: number, metadata: WireMetadata) => unknown;
|
|
3383
|
+
UserClickedARelatedPromptResult: (payload: Result, metadata: WireMetadata) => unknown;
|
|
3384
|
+
UserClickedARelatedPromptAdd2Cart: (payload: Result, metadata: WireMetadata) => unknown;
|
|
3374
3385
|
}>>;
|
|
3375
3386
|
required: true;
|
|
3376
3387
|
};
|
|
@@ -3578,6 +3589,8 @@ ReplaceableUrlStateUpdated?: UrlParams | undefined;
|
|
|
3578
3589
|
RelatedPromptsRequestUpdated?: RelatedPromptsRequest | null | undefined;
|
|
3579
3590
|
UserSelectedARelatedPrompt?: number | undefined;
|
|
3580
3591
|
UserSelectedARelatedPromptQuery?: number | undefined;
|
|
3592
|
+
UserClickedARelatedPromptResult?: Result | undefined;
|
|
3593
|
+
UserClickedARelatedPromptAdd2Cart?: Result | undefined;
|
|
3581
3594
|
}>;
|
|
3582
3595
|
innerCssClasses: ComputedRef<(string | Dictionary<boolean>)[]>;
|
|
3583
3596
|
renderedChildrenFilters: ComputedRef<HierarchicalFilter_2[]>;
|
|
@@ -5204,7 +5217,7 @@ export const query: NextQueriesXStoreModule['getters']['query'];
|
|
|
5204
5217
|
export const QUERY_KEY: XInjectKey<string | undefined>;
|
|
5205
5218
|
|
|
5206
5219
|
// @public
|
|
5207
|
-
export type QueryFeature = 'search_box' | 'url' | 'query_suggestion' | 'next_query' | 'popular_search' | 'history_query' | 'partial_result' | 'related_tag' | 'spellcheck' | 'customer' | 'semantics';
|
|
5220
|
+
export type QueryFeature = 'search_box' | 'url' | 'query_suggestion' | 'next_query' | 'popular_search' | 'history_query' | 'partial_result' | 'related_tag' | 'spellcheck' | 'customer' | 'semantics' | 'related-prompts';
|
|
5208
5221
|
|
|
5209
5222
|
// @public
|
|
5210
5223
|
export interface QueryMutations {
|
|
@@ -5820,9 +5833,10 @@ onLeave: (el: Element, done: () => void) => void;
|
|
|
5820
5833
|
selectedPromptIndex: ComputedRef<any>;
|
|
5821
5834
|
visibleRelatedPrompts: ComputedRef< {
|
|
5822
5835
|
index: number;
|
|
5823
|
-
|
|
5836
|
+
relatedPromptNextQueries: RelatedPromptNextQuery[];
|
|
5824
5837
|
suggestionText: string;
|
|
5825
5838
|
type: string;
|
|
5839
|
+
toolingDisplayTagging: TaggingRequest;
|
|
5826
5840
|
modelName: "RelatedPrompt";
|
|
5827
5841
|
}[]>;
|
|
5828
5842
|
listItems: Ref<HTMLElement[]>;
|
|
@@ -5882,6 +5896,8 @@ export const relatedPromptsWiring: {
|
|
|
5882
5896
|
// @public
|
|
5883
5897
|
export interface RelatedPromptsXEvents {
|
|
5884
5898
|
RelatedPromptsRequestUpdated: RelatedPromptsRequest | null;
|
|
5899
|
+
UserClickedARelatedPromptAdd2Cart: Result;
|
|
5900
|
+
UserClickedARelatedPromptResult: Result;
|
|
5885
5901
|
UserSelectedARelatedPrompt: number;
|
|
5886
5902
|
UserSelectedARelatedPromptQuery: number;
|
|
5887
5903
|
}
|
|
@@ -7491,6 +7507,8 @@ ReplaceableUrlStateUpdated?: UrlParams | undefined;
|
|
|
7491
7507
|
RelatedPromptsRequestUpdated?: RelatedPromptsRequest | null | undefined;
|
|
7492
7508
|
UserSelectedARelatedPrompt?: number | undefined;
|
|
7493
7509
|
UserSelectedARelatedPromptQuery?: number | undefined;
|
|
7510
|
+
UserClickedARelatedPromptResult?: Result | undefined;
|
|
7511
|
+
UserClickedARelatedPromptAdd2Cart?: Result | undefined;
|
|
7494
7512
|
}>;
|
|
7495
7513
|
innerCssClasses: ComputedRef<(string | Dictionary<boolean>)[]>;
|
|
7496
7514
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
@@ -7801,6 +7819,8 @@ ReplaceableUrlStateUpdated: (payload: UrlParams, metadata: WireMetadata) => unkn
|
|
|
7801
7819
|
RelatedPromptsRequestUpdated: (payload: RelatedPromptsRequest | null, metadata: WireMetadata) => unknown;
|
|
7802
7820
|
UserSelectedARelatedPrompt: (payload: number, metadata: WireMetadata) => unknown;
|
|
7803
7821
|
UserSelectedARelatedPromptQuery: (payload: number, metadata: WireMetadata) => unknown;
|
|
7822
|
+
UserClickedARelatedPromptResult: (payload: Result, metadata: WireMetadata) => unknown;
|
|
7823
|
+
UserClickedARelatedPromptAdd2Cart: (payload: Result, metadata: WireMetadata) => unknown;
|
|
7804
7824
|
}>>;
|
|
7805
7825
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
|
|
7806
7826
|
|
|
@@ -8194,6 +8214,12 @@ export const taggingWiring: {
|
|
|
8194
8214
|
ModuleRegistered: {
|
|
8195
8215
|
setNoResultsTaggingEnabledWire: Wire<keyof XModulesTree>;
|
|
8196
8216
|
};
|
|
8217
|
+
UserClickedARelatedPromptResult: {
|
|
8218
|
+
trackToolingDisplayClickedWire: Wire<Taggable>;
|
|
8219
|
+
};
|
|
8220
|
+
UserClickedARelatedPromptAdd2Cart: {
|
|
8221
|
+
trackToolingAdd2CartWire: Wire<Taggable>;
|
|
8222
|
+
};
|
|
8197
8223
|
};
|
|
8198
8224
|
|
|
8199
8225
|
// @public
|
|
@@ -8286,6 +8312,12 @@ export const trackQueryWire: Wire<TaggingRequest | TaggingRequest[]>;
|
|
|
8286
8312
|
// @public
|
|
8287
8313
|
export const trackResultClickedWire: Wire<Taggable>;
|
|
8288
8314
|
|
|
8315
|
+
// @public
|
|
8316
|
+
export const trackToolingAdd2CartWire: Wire<Taggable>;
|
|
8317
|
+
|
|
8318
|
+
// @public
|
|
8319
|
+
export const trackToolingDisplayClickedWire: Wire<Taggable>;
|
|
8320
|
+
|
|
8289
8321
|
// @internal
|
|
8290
8322
|
export type TransitionStates<SomeStatus extends string, SomeEvent extends string> = {
|
|
8291
8323
|
[Key in SomeStatus]: Partial<Record<SomeEvent, SomeStatus>>;
|
|
@@ -9070,13 +9102,14 @@ export type XStoreModuleOptions<StoreModule extends AnyXStoreModule> = StoreModu
|
|
|
9070
9102
|
// 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
9103
|
// 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
9104
|
// 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:
|
|
9105
|
+
// 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
9106
|
// 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
9107
|
// 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
9108
|
// 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
9109
|
// 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
9110
|
// 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
9111
|
// 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
|
|
9112
|
+
// 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
9113
|
// 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
9114
|
// 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
9115
|
// 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
|
package/report/x-types.api.json
CHANGED
|
@@ -4610,16 +4610,21 @@
|
|
|
4610
4610
|
"members": [
|
|
4611
4611
|
{
|
|
4612
4612
|
"kind": "PropertySignature",
|
|
4613
|
-
"canonicalReference": "@empathyco/x-types!RelatedPrompt#
|
|
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": "
|
|
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": "
|
|
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": "
|
|
4637
|
+
"name": "relatedPromptNextQueries",
|
|
4633
4638
|
"propertyTypeTokenRange": {
|
|
4634
4639
|
"startIndex": 1,
|
|
4635
|
-
"endIndex":
|
|
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';
|
|
@@ -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
|
|
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,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,
|
|
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
|
|
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"}
|
package/types/types/origin.d.ts
CHANGED
|
@@ -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;
|
|
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;
|
|
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
|
|
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
|
|
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"}
|
|
@@ -45,9 +45,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
45
45
|
selectedPromptIndex: import("vue").ComputedRef<any>;
|
|
46
46
|
visibleRelatedPrompts: import("vue").ComputedRef<{
|
|
47
47
|
index: number;
|
|
48
|
-
|
|
48
|
+
relatedPromptNextQueries: import("@empathyco/x-types").RelatedPromptNextQuery[];
|
|
49
49
|
suggestionText: string;
|
|
50
50
|
type: string;
|
|
51
|
+
toolingDisplayTagging: import("@empathyco/x-types").TaggingRequest;
|
|
51
52
|
modelName: "RelatedPrompt";
|
|
52
53
|
}[]>;
|
|
53
54
|
listItems: import("vue").Ref<HTMLElement[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"related-prompts-tag-list.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-prompts/components/related-prompts-tag-list.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AAEE,OAAO,EAA6B,QAAQ,EAAc,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"related-prompts-tag-list.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-prompts/components/related-prompts-tag-list.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AAEE,OAAO,EAA6B,QAAQ,EAAc,MAAM,KAAK,CAAC;AAOtE;;;;;;;GAOG;;IAMC;;;;OAIG;;IAEH;;;;OAIG;;IAEH;;;;;OAKG;;IAEH;;;;OAIG;;;;;;wBAwLwB,MAAM,KAAG,OAAO;8BA5GV,MAAM,KAAG,IAAI;wBA8DnB,OAAO;kBAeb,OAAO,QAAQ,MAAM,IAAI;kBAkBzB,OAAO,QAAQ,MAAM,IAAI;;;;;;;;;;;;;;;;;;;IAlM9C;;;;OAIG;;IAEH;;;;OAIG;;IAEH;;;;;OAKG;;IAEH;;;;OAIG;;;;;;;;AA5BP,wBAuOG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RelatedPromptsRequest } from '@empathyco/x-types';
|
|
1
|
+
import { RelatedPromptsRequest, Result } from '@empathyco/x-types';
|
|
2
2
|
/**
|
|
3
3
|
* Dictionary of the events of RelatedPrompts XModule, where each key is the event name,
|
|
4
4
|
* and the value is the event payload type or `void` if it has no payload.
|
|
@@ -22,5 +22,15 @@ export interface RelatedPromptsXEvents {
|
|
|
22
22
|
* Payload: The index of the next query in the NextQueries list or -1 to remove selection.
|
|
23
23
|
*/
|
|
24
24
|
UserSelectedARelatedPromptQuery: number;
|
|
25
|
+
/**
|
|
26
|
+
* The user has clicked one prompt.
|
|
27
|
+
* Payload: The result that the user clicked.
|
|
28
|
+
*/
|
|
29
|
+
UserClickedARelatedPromptResult: Result;
|
|
30
|
+
/**
|
|
31
|
+
* The user has clicked one add to cart from a prompt.
|
|
32
|
+
* Payload: The result that the user clicked.
|
|
33
|
+
*/
|
|
34
|
+
UserClickedARelatedPromptAdd2Cart: Result;
|
|
25
35
|
}
|
|
26
36
|
//# sourceMappingURL=events.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.types.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/related-prompts/events.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"events.types.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/related-prompts/events.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAEnE;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,4BAA4B,EAAE,qBAAqB,GAAG,IAAI,CAAC;IAC3D;;;OAGG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;OAGG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;OAGG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;OAGG;IACH,iCAAiC,EAAE,MAAM,CAAC;CAC3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/tagging/store/module.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/tagging/store/module.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,mBAmCjC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Taggable, Tagging, TaggingRequest } from '@empathyco/x-types';
|
|
1
|
+
import { Result, Taggable, Tagging, TaggingRequest } from '@empathyco/x-types';
|
|
2
2
|
import { Wire } from '../../wiring/wiring.types';
|
|
3
3
|
/**
|
|
4
4
|
* Sets the tagging state `consent`.
|
|
@@ -61,6 +61,18 @@ export declare const trackAddToCartWire: Wire<Taggable>;
|
|
|
61
61
|
* @public
|
|
62
62
|
*/
|
|
63
63
|
export declare const trackDisplayClickedWire: Wire<Taggable>;
|
|
64
|
+
/**
|
|
65
|
+
* Performs a track of a display result being clicked.
|
|
66
|
+
*
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export declare const trackToolingDisplayClickedWire: Wire<Taggable>;
|
|
70
|
+
/**
|
|
71
|
+
* Performs a track of a display result being clicked.
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare const trackToolingAdd2CartWire: Wire<Taggable>;
|
|
64
76
|
/**
|
|
65
77
|
* Performs a track of a display element appearing.
|
|
66
78
|
*
|
|
@@ -99,6 +111,22 @@ export declare const trackNoResultsQueryWithSemanticsWireDebounced: Wire<any>;
|
|
|
99
111
|
* @public
|
|
100
112
|
*/
|
|
101
113
|
export declare function createTrackDisplayWire(property: keyof Tagging): Wire<Taggable>;
|
|
114
|
+
/**
|
|
115
|
+
* Factory helper to create a wire for the track of the tooling display click.
|
|
116
|
+
*
|
|
117
|
+
* @returns A new wire for the tooling display click of the taggable element.
|
|
118
|
+
*
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export declare function createTrackToolingDisplayWire(): Wire<Taggable>;
|
|
122
|
+
/**
|
|
123
|
+
* Factory helper to create a wire for the track of the tooling display click.
|
|
124
|
+
*
|
|
125
|
+
* @returns A new wire for the tooling display add to cart of the taggable element.
|
|
126
|
+
*
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
export declare function createTrackToolingAdd2CartWire(): Wire<Taggable>;
|
|
102
130
|
/**
|
|
103
131
|
* Factory helper to create a wire to set the queryTagging.
|
|
104
132
|
*
|
|
@@ -139,7 +167,7 @@ export declare const taggingWiring: {
|
|
|
139
167
|
};
|
|
140
168
|
UserClickedAResult: {
|
|
141
169
|
trackResultClickedWire: Wire<Taggable>;
|
|
142
|
-
storeClickedResultWire: Wire<
|
|
170
|
+
storeClickedResultWire: Wire<Result>;
|
|
143
171
|
};
|
|
144
172
|
UserClickedResultAddToCart: {
|
|
145
173
|
trackAddToCartWire: Wire<Taggable>;
|
|
@@ -161,5 +189,11 @@ export declare const taggingWiring: {
|
|
|
161
189
|
ModuleRegistered: {
|
|
162
190
|
setNoResultsTaggingEnabledWire: Wire<keyof import("../x-modules.types").XModulesTree>;
|
|
163
191
|
};
|
|
192
|
+
UserClickedARelatedPromptResult: {
|
|
193
|
+
trackToolingDisplayClickedWire: Wire<Taggable>;
|
|
194
|
+
};
|
|
195
|
+
UserClickedARelatedPromptAdd2Cart: {
|
|
196
|
+
trackToolingAdd2CartWire: Wire<Taggable>;
|
|
197
|
+
};
|
|
164
198
|
};
|
|
165
199
|
//# 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,EAAiB,QAAQ,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/tagging/wiring.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAiB,QAAQ,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAS9F,OAAO,EAAuB,IAAI,EAAE,MAAM,2BAA2B,CAAC;AA8EtE;;;;GAIG;AACH,eAAO,MAAM,UAAU,eAA2B,CAAC;AAEnD;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,uDAA2C,CAAC;AAEvF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,8CAA4B,CAAC;AAE1D;;;;GAIG;AACH,eAAO,MAAM,cAAc,yCAK1B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,sBAa/B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,gBAA0C,CAAC;AAEvF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,gBAA2B,CAAC;AAE/D;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,gBAA2B,CAAC;AAE/D;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,gBAA8B,CAAC;AAE9D;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,gBAAyC,CAAC;AAE9E;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,gBAAkC,CAAC;AAE9E;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,gBAAmC,CAAC;AAEzE;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,gBAAoC,CAAC;AAE3E;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,CAUvE;AAED;;;;;;GAMG;AACH,eAAO,MAAM,oCAAoC,WAUhD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,6CAA6C,WAIzD,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,CAiB9E;AAsBD;;;;;;GAMG;AACH,wBAAgB,6BAA6B,IAAI,IAAI,CAAC,QAAQ,CAAC,CAY9D;AAED;;;;;;GAMG;AACH,wBAAgB,8BAA8B,IAAI,IAAI,CAAC,QAAQ,CAAC,CAY/D;AAED;;;;;;GAMG;AACH,wBAAgB,qCAAqC,IAAI,IAAI,CAAC,QAAQ,CAAC,CAQtE;AAED;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuDxB,CAAC"}
|