@empathyco/x-components 6.0.0-alpha.36 → 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 +18 -0
- package/design-system/deprecated-full-theme.css +578 -578
- 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 +7 -2
- package/docs/API-reference/api/x-components.queryfeature.md +1 -1
- package/docs/API-reference/api/x-components.relatedprompt.md +4 -25
- package/docs/API-reference/api/x-components.relatedpromptstaglist.md +40 -6
- 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-components.typingoptions.md +22 -0
- package/docs/API-reference/api/x-components.typingoptions.speed.md +13 -0
- package/docs/API-reference/api/x-components.typingoptions.targetattr.md +18 -0
- package/docs/API-reference/api/x-components.typingoptions.text.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/docs/API-reference/components/related-prompts/x-components.related-prompt.md +4 -14
- package/docs/API-reference/components/related-prompts/x-components.related-prompts-tag-list.md +16 -10
- 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/directives/typing.js +52 -0
- package/js/directives/typing.js.map +1 -0
- package/js/index.js +1 -1
- package/js/x-modules/related-prompts/components/related-prompt.vue.js +16 -43
- package/js/x-modules/related-prompts/components/related-prompt.vue.js.map +1 -1
- package/js/x-modules/related-prompts/components/related-prompt.vue2.js +5 -36
- package/js/x-modules/related-prompts/components/related-prompt.vue2.js.map +1 -1
- package/js/x-modules/related-prompts/components/related-prompt.vue3.js +7 -0
- package/js/x-modules/related-prompts/components/related-prompt.vue3.js.map +1 -0
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue.js +76 -68
- 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 +176 -22
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue2.js.map +1 -1
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue3.js +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 +746 -64
- package/report/x-components.api.md +84 -34
- 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/directives/index.d.ts +1 -0
- package/types/directives/index.d.ts.map +1 -1
- package/types/directives/typing.d.ts +30 -0
- package/types/directives/typing.d.ts.map +1 -0
- package/types/types/origin.d.ts +2 -2
- package/types/types/origin.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-prompt.vue.d.ts +4 -27
- package/types/x-modules/related-prompts/components/related-prompt.vue.d.ts.map +1 -1
- package/types/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts +87 -6
- 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 {
|
|
@@ -5682,40 +5695,21 @@ relatedPrompt: {
|
|
|
5682
5695
|
type: PropType<RelatedPrompt_2>;
|
|
5683
5696
|
required: true;
|
|
5684
5697
|
};
|
|
5685
|
-
|
|
5698
|
+
selected: {
|
|
5686
5699
|
type: BooleanConstructor;
|
|
5687
5700
|
default: boolean;
|
|
5688
5701
|
};
|
|
5689
|
-
|
|
5690
|
-
type: BooleanConstructor;
|
|
5691
|
-
default: boolean;
|
|
5692
|
-
};
|
|
5693
|
-
index: {
|
|
5694
|
-
type: NumberConstructor;
|
|
5695
|
-
required: true;
|
|
5696
|
-
};
|
|
5697
|
-
}, {
|
|
5698
|
-
toggleSuggestion: (index: number) => void;
|
|
5699
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
5702
|
+
}, unknown, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
5700
5703
|
relatedPrompt: {
|
|
5701
5704
|
type: PropType<RelatedPrompt_2>;
|
|
5702
5705
|
required: true;
|
|
5703
5706
|
};
|
|
5704
|
-
|
|
5705
|
-
type: BooleanConstructor;
|
|
5706
|
-
default: boolean;
|
|
5707
|
-
};
|
|
5708
|
-
isSelected: {
|
|
5707
|
+
selected: {
|
|
5709
5708
|
type: BooleanConstructor;
|
|
5710
5709
|
default: boolean;
|
|
5711
5710
|
};
|
|
5712
|
-
index: {
|
|
5713
|
-
type: NumberConstructor;
|
|
5714
|
-
required: true;
|
|
5715
|
-
};
|
|
5716
5711
|
}>>, {
|
|
5717
|
-
|
|
5718
|
-
isSelected: boolean;
|
|
5712
|
+
selected: boolean;
|
|
5719
5713
|
}, {}>;
|
|
5720
5714
|
|
|
5721
5715
|
// @public
|
|
@@ -5821,19 +5815,49 @@ export const relatedPromptsStoreEmitters: {
|
|
|
5821
5815
|
RelatedPromptsRequestUpdated: (_: RelatedPromptsState, getters: Returns<GettersTree<RelatedPromptsState, RelatedPromptsGetters>>) => RelatedPromptsRequest | null;
|
|
5822
5816
|
};
|
|
5823
5817
|
|
|
5824
|
-
// @public
|
|
5818
|
+
// @public
|
|
5825
5819
|
export const RelatedPromptsTagList: DefineComponent< {
|
|
5826
5820
|
buttonClass: StringConstructor;
|
|
5821
|
+
tagClass: StringConstructor;
|
|
5822
|
+
tagColors: PropType<string[]>;
|
|
5823
|
+
animationDurationInMs: {
|
|
5824
|
+
type: NumberConstructor;
|
|
5825
|
+
default: number;
|
|
5826
|
+
};
|
|
5827
5827
|
}, {
|
|
5828
|
-
arePromptsVisible: Ref<boolean>;
|
|
5829
|
-
hidePrompt: (index: number) => boolean;
|
|
5830
5828
|
isSelected: (index: number) => boolean;
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
5829
|
+
onSelect: (selectedIndex: number) => void;
|
|
5830
|
+
onBeforeEnter: (el: Element) => void;
|
|
5831
|
+
onEnter: (el: Element, done: () => void) => void;
|
|
5832
|
+
onLeave: (el: Element, done: () => void) => void;
|
|
5833
|
+
selectedPromptIndex: ComputedRef<any>;
|
|
5834
|
+
visibleRelatedPrompts: ComputedRef< {
|
|
5835
|
+
index: number;
|
|
5836
|
+
relatedPromptNextQueries: RelatedPromptNextQuery[];
|
|
5837
|
+
suggestionText: string;
|
|
5838
|
+
type: string;
|
|
5839
|
+
toolingDisplayTagging: TaggingRequest;
|
|
5840
|
+
modelName: "RelatedPrompt";
|
|
5841
|
+
}[]>;
|
|
5842
|
+
listItems: Ref<HTMLElement[]>;
|
|
5843
|
+
isAnimating: Ref<boolean>;
|
|
5844
|
+
x: UseAliasAPI & {
|
|
5845
|
+
on: <Event_1 extends keyof XEventsTypes, Metadata extends boolean>(event: Event_1, withMetadata: Metadata) => {
|
|
5846
|
+
subscribe: (callback: (payload: Metadata extends true ? SubjectPayload<EventPayload<XEventsTypes, Event_1>, WireMetadata> : EventPayload<XEventsTypes, Event_1>) => void) => void;
|
|
5847
|
+
};
|
|
5848
|
+
emit: <Event_2 extends keyof XEventsTypes>(event: Event_2, payload?: XEventPayload<Event_2> | undefined, metadata?: Omit<WireMetadata, "moduleName">) => Promise<EmittedData<XEventsTypes, Event_2, WireMetadata>>;
|
|
5849
|
+
};
|
|
5834
5850
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
5835
5851
|
buttonClass: StringConstructor;
|
|
5836
|
-
|
|
5852
|
+
tagClass: StringConstructor;
|
|
5853
|
+
tagColors: PropType<string[]>;
|
|
5854
|
+
animationDurationInMs: {
|
|
5855
|
+
type: NumberConstructor;
|
|
5856
|
+
default: number;
|
|
5857
|
+
};
|
|
5858
|
+
}>>, {
|
|
5859
|
+
animationDurationInMs: number;
|
|
5860
|
+
}, {}>;
|
|
5837
5861
|
|
|
5838
5862
|
// @internal
|
|
5839
5863
|
export const relatedPromptsWiring: {
|
|
@@ -5872,6 +5896,8 @@ export const relatedPromptsWiring: {
|
|
|
5872
5896
|
// @public
|
|
5873
5897
|
export interface RelatedPromptsXEvents {
|
|
5874
5898
|
RelatedPromptsRequestUpdated: RelatedPromptsRequest | null;
|
|
5899
|
+
UserClickedARelatedPromptAdd2Cart: Result;
|
|
5900
|
+
UserClickedARelatedPromptResult: Result;
|
|
5875
5901
|
UserSelectedARelatedPrompt: number;
|
|
5876
5902
|
UserSelectedARelatedPromptQuery: number;
|
|
5877
5903
|
}
|
|
@@ -7481,6 +7507,8 @@ ReplaceableUrlStateUpdated?: UrlParams | undefined;
|
|
|
7481
7507
|
RelatedPromptsRequestUpdated?: RelatedPromptsRequest | null | undefined;
|
|
7482
7508
|
UserSelectedARelatedPrompt?: number | undefined;
|
|
7483
7509
|
UserSelectedARelatedPromptQuery?: number | undefined;
|
|
7510
|
+
UserClickedARelatedPromptResult?: Result | undefined;
|
|
7511
|
+
UserClickedARelatedPromptAdd2Cart?: Result | undefined;
|
|
7484
7512
|
}>;
|
|
7485
7513
|
innerCssClasses: ComputedRef<(string | Dictionary<boolean>)[]>;
|
|
7486
7514
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
@@ -7791,6 +7819,8 @@ ReplaceableUrlStateUpdated: (payload: UrlParams, metadata: WireMetadata) => unkn
|
|
|
7791
7819
|
RelatedPromptsRequestUpdated: (payload: RelatedPromptsRequest | null, metadata: WireMetadata) => unknown;
|
|
7792
7820
|
UserSelectedARelatedPrompt: (payload: number, metadata: WireMetadata) => unknown;
|
|
7793
7821
|
UserSelectedARelatedPromptQuery: (payload: number, metadata: WireMetadata) => unknown;
|
|
7822
|
+
UserClickedARelatedPromptResult: (payload: Result, metadata: WireMetadata) => unknown;
|
|
7823
|
+
UserClickedARelatedPromptAdd2Cart: (payload: Result, metadata: WireMetadata) => unknown;
|
|
7794
7824
|
}>>;
|
|
7795
7825
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
|
|
7796
7826
|
|
|
@@ -8184,6 +8214,12 @@ export const taggingWiring: {
|
|
|
8184
8214
|
ModuleRegistered: {
|
|
8185
8215
|
setNoResultsTaggingEnabledWire: Wire<keyof XModulesTree>;
|
|
8186
8216
|
};
|
|
8217
|
+
UserClickedARelatedPromptResult: {
|
|
8218
|
+
trackToolingDisplayClickedWire: Wire<Taggable>;
|
|
8219
|
+
};
|
|
8220
|
+
UserClickedARelatedPromptAdd2Cart: {
|
|
8221
|
+
trackToolingAdd2CartWire: Wire<Taggable>;
|
|
8222
|
+
};
|
|
8187
8223
|
};
|
|
8188
8224
|
|
|
8189
8225
|
// @public
|
|
@@ -8276,6 +8312,12 @@ export const trackQueryWire: Wire<TaggingRequest | TaggingRequest[]>;
|
|
|
8276
8312
|
// @public
|
|
8277
8313
|
export const trackResultClickedWire: Wire<Taggable>;
|
|
8278
8314
|
|
|
8315
|
+
// @public
|
|
8316
|
+
export const trackToolingAdd2CartWire: Wire<Taggable>;
|
|
8317
|
+
|
|
8318
|
+
// @public
|
|
8319
|
+
export const trackToolingDisplayClickedWire: Wire<Taggable>;
|
|
8320
|
+
|
|
8279
8321
|
// @internal
|
|
8280
8322
|
export type TransitionStates<SomeStatus extends string, SomeEvent extends string> = {
|
|
8281
8323
|
[Key in SomeStatus]: Partial<Record<SomeEvent, SomeStatus>>;
|
|
@@ -8289,6 +8331,13 @@ export { TrendingIcon }
|
|
|
8289
8331
|
|
|
8290
8332
|
export { TrendingTinyIcon }
|
|
8291
8333
|
|
|
8334
|
+
// @public
|
|
8335
|
+
export interface TypingOptions {
|
|
8336
|
+
speed?: number;
|
|
8337
|
+
targetAttr?: string;
|
|
8338
|
+
text: string;
|
|
8339
|
+
}
|
|
8340
|
+
|
|
8292
8341
|
// @public
|
|
8293
8342
|
export const updateHistoryQueriesWithSearchResponse: Wire<InternalSearchResponse>;
|
|
8294
8343
|
|
|
@@ -9053,13 +9102,14 @@ export type XStoreModuleOptions<StoreModule extends AnyXStoreModule> = StoreModu
|
|
|
9053
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
|
|
9054
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
|
|
9055
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
|
|
9056
|
-
// 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
|
|
9057
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
|
|
9058
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
|
|
9059
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
|
|
9060
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
|
|
9061
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
|
|
9062
|
-
// dist/types/x-modules/related-prompts/components/related-prompt.vue.d.ts:
|
|
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
|
|
9063
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
|
|
9064
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
|
|
9065
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/directives/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/directives/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Directive } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* TypingOptions interface.
|
|
4
|
+
*
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface TypingOptions {
|
|
8
|
+
/**
|
|
9
|
+
* The text (plain or html) that will be typed into the target element.
|
|
10
|
+
*/
|
|
11
|
+
text: string;
|
|
12
|
+
/**
|
|
13
|
+
* The typing speed in milliseconds per character.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
speed?: number;
|
|
17
|
+
/**
|
|
18
|
+
* The attribute of the HTML element where the typed text will be placed.
|
|
19
|
+
* If not specified, the text will be set as content (innerHTML).
|
|
20
|
+
*
|
|
21
|
+
* @example 'placeholder'
|
|
22
|
+
*/
|
|
23
|
+
targetAttr?: string;
|
|
24
|
+
}
|
|
25
|
+
interface TypingHTMLElement extends HTMLElement {
|
|
26
|
+
__timeoutId?: number;
|
|
27
|
+
}
|
|
28
|
+
declare const typingDirective: Directive<TypingHTMLElement, TypingOptions>;
|
|
29
|
+
export default typingDirective;
|
|
30
|
+
//# sourceMappingURL=typing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typing.d.ts","sourceRoot":"","sources":["../../../src/directives/typing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,iBAAkB,SAAQ,WAAW;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,QAAA,MAAM,eAAe,EAAE,SAAS,CAAC,iBAAiB,EAAE,aAAa,CAehE,CAAC;AAyCF,eAAe,eAAe,CAAC"}
|
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"}
|
|
@@ -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"}
|