@empathyco/x-components 6.0.0-alpha.37 → 6.0.0-alpha.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/core/index.js +1 -0
- package/core/index.js.map +1 -1
- package/design-system/deprecated-full-theme.css +408 -408
- 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.displayclickprovider.md +58 -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 +5 -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/docs/API-reference/components/common/x-components.display-click-provider.md +16 -0
- package/js/components/display-click-provider.vue.js +69 -0
- package/js/components/display-click-provider.vue.js.map +1 -0
- package/js/components/display-click-provider.vue2.js +6 -0
- package/js/components/display-click-provider.vue2.js.map +1 -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 +2 -1
- package/js/index.js.map +1 -1
- package/js/x-modules/empathize/components/empathize.vue2.js +1 -0
- package/js/x-modules/empathize/components/empathize.vue2.js.map +1 -1
- package/js/x-modules/queries-preview/components/query-preview-button.vue2.js +1 -0
- package/js/x-modules/queries-preview/components/query-preview-button.vue2.js.map +1 -1
- package/js/x-modules/queries-preview/components/query-preview.vue2.js +1 -0
- package/js/x-modules/queries-preview/components/query-preview.vue2.js.map +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/scroll/components/scroll-to-top.vue2.js +1 -0
- package/js/x-modules/scroll/components/scroll-to-top.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 +663 -12
- package/report/x-components.api.md +88 -5
- package/report/x-types.api.json +167 -5
- package/tagging/index.js +1 -1
- package/types/components/display-click-provider.vue.d.ts +52 -0
- package/types/components/display-click-provider.vue.d.ts.map +1 -0
- 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/index.d.ts +1 -0
- package/types/components/index.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
|
@@ -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"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@empathyco/x-types](./x-types.md) > [RelatedPrompt](./x-types.relatedprompt.md) > [nextQueries](./x-types.relatedprompt.nextqueries.md)
|
|
4
|
-
|
|
5
|
-
## RelatedPrompt.nextQueries property
|
|
6
|
-
|
|
7
|
-
The next queries related to the prompt.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
nextQueries: string[];
|
|
13
|
-
```
|