@empathyco/x-components 6.0.0-alpha.15 → 6.0.0-alpha.17
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 +23 -0
- package/design-system/deprecated-full-theme.css +1150 -1150
- package/docs/API-reference/api/x-components.animationprop.md +6 -1
- package/docs/API-reference/api/x-components.bannerslist.md +3 -3
- package/docs/API-reference/api/x-components.basedropdown.md +3 -3
- package/docs/API-reference/api/x-components.baseeventsmodal.md +2 -2
- package/docs/API-reference/api/x-components.basegrid.md +3 -3
- package/docs/API-reference/api/x-components.baseheadertogglepanel.md +3 -3
- package/docs/API-reference/api/x-components.baseidmodal.md +2 -2
- package/docs/API-reference/api/x-components.baseidtogglepanel.md +3 -3
- package/docs/API-reference/api/x-components.basemodal.md +6 -6
- package/docs/API-reference/api/x-components.baseresultimage.md +9 -9
- package/docs/API-reference/api/x-components.basesuggestions.md +3 -3
- package/docs/API-reference/api/x-components.basetabspanel.md +6 -6
- package/docs/API-reference/api/x-components.basetogglepanel.md +3 -3
- package/docs/API-reference/api/x-components.basevariablecolumngrid.md +3 -3
- package/docs/API-reference/api/x-components.empathize.md +3 -3
- package/docs/API-reference/api/x-components.facets.md +3 -3
- package/docs/API-reference/api/x-components.filterslist.md +3 -3
- package/docs/API-reference/api/x-components.hierarchicalfilter.md +2 -2
- package/docs/API-reference/api/x-components.identifierresults.md +3 -3
- package/docs/API-reference/api/x-components.itemslist.md +3 -3
- package/docs/API-reference/api/x-components.mainmodal.md +2 -2
- package/docs/API-reference/api/x-components.md +1 -0
- package/docs/API-reference/api/x-components.multicolumnmaxwidthlayout.md +3 -3
- package/docs/API-reference/api/x-components.myhistory.md +3 -3
- package/docs/API-reference/api/x-components.nextqueriesgroup.md +22 -0
- package/docs/API-reference/api/x-components.nextqueriesgroup.modelname.md +11 -0
- package/docs/API-reference/api/x-components.nextqueriesgroup.nextqueries.md +11 -0
- package/docs/API-reference/api/x-components.nextquerieslist.md +3 -3
- package/docs/API-reference/api/x-components.partialresultslist.md +3 -3
- package/docs/API-reference/api/x-components.promotedslist.md +3 -3
- package/docs/API-reference/api/x-components.querypreviewlist.md +3 -3
- package/docs/API-reference/api/x-components.recommendations.md +3 -3
- package/docs/API-reference/api/x-components.relatedpromptslist.md +3 -3
- package/docs/API-reference/api/x-components.relatedpromptsmutations.md +2 -0
- package/docs/API-reference/api/x-components.relatedpromptsmutations.setselectedprompt.md +24 -0
- package/docs/API-reference/api/x-components.relatedpromptsmutations.setselectedquery.md +24 -0
- package/docs/API-reference/api/x-components.relatedpromptsstate.md +2 -0
- package/docs/API-reference/api/x-components.relatedpromptsstate.selectedprompt.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptsstate.selectedquery.md +13 -0
- package/docs/API-reference/api/x-components.relatedtags.md +3 -3
- package/docs/API-reference/api/x-components.resultslist.md +3 -3
- package/docs/API-reference/api/x-components.scrolltotop.md +3 -3
- package/docs/API-reference/api/x-components.searchinputplaceholder.md +3 -3
- package/docs/API-reference/api/x-components.selectedfilterslist.md +3 -3
- package/docs/API-reference/api/x-components.singlecolumnlayout.md +3 -3
- package/docs/API-reference/components/common/result/x-components.base-result-image.md +2 -2
- package/docs/API-reference/components/common/x-components.items-list.md +1 -1
- package/docs/API-reference/components/facets/x-components.facets/facets.md +1 -1
- package/docs/API-reference/components/facets/x-components.lists/selected-filters-list.md +1 -1
- package/docs/API-reference/components/search/x-components.results-list.md +1 -1
- package/js/components/items-list.vue.js.map +1 -1
- package/js/components/items-list.vue2.js +2 -2
- package/js/components/items-list.vue2.js.map +1 -1
- package/js/components/result/base-result-image.vue.js.map +1 -1
- package/js/components/result/base-result-image.vue2.js +3 -3
- package/js/components/result/base-result-image.vue2.js.map +1 -1
- package/js/types/animation-prop.js +5 -0
- package/js/types/animation-prop.js.map +1 -1
- package/js/x-modules/facets/components/facets/facets.vue.js.map +1 -1
- package/js/x-modules/facets/components/facets/facets.vue2.js +2 -2
- package/js/x-modules/facets/components/facets/facets.vue2.js.map +1 -1
- package/js/x-modules/facets/components/lists/selected-filters-list.vue.js.map +1 -1
- package/js/x-modules/facets/components/lists/selected-filters-list.vue2.js +2 -2
- package/js/x-modules/facets/components/lists/selected-filters-list.vue2.js.map +1 -1
- package/js/x-modules/related-prompts/store/module.js +10 -0
- package/js/x-modules/related-prompts/store/module.js.map +1 -1
- package/js/x-modules/related-prompts/wiring.js +14 -0
- package/js/x-modules/related-prompts/wiring.js.map +1 -1
- package/js/x-modules/search/components/results-list.vue.js +2 -2
- package/js/x-modules/search/components/results-list.vue.js.map +1 -1
- package/package.json +2 -2
- package/report/x-components.api.json +1833 -7431
- package/report/x-components.api.md +151 -133
- package/types/components/base-dropdown.vue.d.ts +3 -3
- package/types/components/base-grid.vue.d.ts +3 -3
- package/types/components/base-variable-column-grid.vue.d.ts +3 -3
- package/types/components/items-list.vue.d.ts +3 -3
- package/types/components/layouts/multi-column-max-width-layout.vue.d.ts +3 -3
- package/types/components/layouts/single-column-layout.vue.d.ts +3 -3
- package/types/components/modals/base-events-modal.vue.d.ts +2 -2
- package/types/components/modals/base-id-modal.vue.d.ts +2 -2
- package/types/components/modals/base-modal.vue.d.ts +6 -6
- package/types/components/modals/main-modal.vue.d.ts +2 -2
- package/types/components/panels/base-header-toggle-panel.vue.d.ts +3 -3
- package/types/components/panels/base-id-toggle-panel.vue.d.ts +3 -3
- package/types/components/panels/base-tabs-panel.vue.d.ts +6 -6
- package/types/components/panels/base-toggle-panel.vue.d.ts +3 -3
- package/types/components/result/base-result-image.vue.d.ts +10 -10
- package/types/components/result/base-result-image.vue.d.ts.map +1 -1
- package/types/components/suggestions/base-suggestions.vue.d.ts +3 -3
- package/types/types/animation-prop.d.ts +6 -2
- package/types/types/animation-prop.d.ts.map +1 -1
- package/types/x-modules/empathize/components/empathize.vue.d.ts +3 -3
- package/types/x-modules/facets/components/facets/facets.vue.d.ts +3 -3
- package/types/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +2 -2
- package/types/x-modules/facets/components/lists/filters-list.vue.d.ts +3 -3
- package/types/x-modules/facets/components/lists/selected-filters-list.vue.d.ts +3 -3
- package/types/x-modules/history-queries/components/my-history.vue.d.ts +3 -3
- package/types/x-modules/identifier-results/components/identifier-results.vue.d.ts +3 -3
- package/types/x-modules/next-queries/components/next-queries-list.vue.d.ts +3 -3
- package/types/x-modules/next-queries/index.d.ts +1 -0
- package/types/x-modules/next-queries/index.d.ts.map +1 -1
- package/types/x-modules/queries-preview/components/query-preview-list.vue.d.ts +3 -3
- package/types/x-modules/recommendations/components/recommendations.vue.d.ts +3 -3
- package/types/x-modules/related-prompts/components/related-prompts-list.vue.d.ts +3 -3
- package/types/x-modules/related-prompts/store/module.d.ts.map +1 -1
- package/types/x-modules/related-prompts/store/types.d.ts +16 -0
- package/types/x-modules/related-prompts/store/types.d.ts.map +1 -1
- package/types/x-modules/related-prompts/wiring.d.ts +6 -0
- package/types/x-modules/related-prompts/wiring.d.ts.map +1 -1
- package/types/x-modules/related-tags/components/related-tags.vue.d.ts +3 -3
- package/types/x-modules/scroll/components/scroll-to-top.vue.d.ts +3 -3
- package/types/x-modules/search/components/banners-list.vue.d.ts +3 -3
- package/types/x-modules/search/components/partial-results-list.vue.d.ts +3 -3
- package/types/x-modules/search/components/promoteds-list.vue.d.ts +3 -3
- package/types/x-modules/search/components/results-list.vue.d.ts +3 -3
- package/types/x-modules/search-box/components/search-input-placeholder.vue.d.ts +3 -3
- package/js/utils/options-api.js +0 -4
- package/js/utils/options-api.js.map +0 -1
- package/types/utils/options-api.d.ts +0 -3
- package/types/utils/options-api.d.ts.map +0 -1
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
required: true;
|
|
15
15
|
};
|
|
16
16
|
/** The animation component to use for the children filters. */
|
|
17
|
-
childrenAnimation:
|
|
17
|
+
childrenAnimation: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
18
18
|
/**
|
|
19
19
|
* Additional events, with their payload, to emit when the filter is clicked.
|
|
20
20
|
*
|
|
@@ -203,7 +203,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
203
203
|
required: true;
|
|
204
204
|
};
|
|
205
205
|
/** The animation component to use for the children filters. */
|
|
206
|
-
childrenAnimation:
|
|
206
|
+
childrenAnimation: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
207
207
|
/**
|
|
208
208
|
* Additional events, with their payload, to emit when the filter is clicked.
|
|
209
209
|
*
|
|
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
* @public
|
|
32
32
|
*/
|
|
33
33
|
animation: {
|
|
34
|
-
type:
|
|
34
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
35
35
|
default: string;
|
|
36
36
|
};
|
|
37
37
|
}, {
|
|
@@ -61,11 +61,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
61
61
|
* @public
|
|
62
62
|
*/
|
|
63
63
|
animation: {
|
|
64
|
-
type:
|
|
64
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
65
65
|
default: string;
|
|
66
66
|
};
|
|
67
67
|
}>>, {
|
|
68
|
-
animation: string |
|
|
68
|
+
animation: string | Function | Record<string, any>;
|
|
69
69
|
}, {}>;
|
|
70
70
|
export default _default;
|
|
71
71
|
//# sourceMappingURL=filters-list.vue?vue&type=script&lang.d.ts.map
|
|
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
alwaysVisible: BooleanConstructor;
|
|
28
28
|
/** Animation component that will be used to animate the selected filters list. */
|
|
29
29
|
animation: {
|
|
30
|
-
type:
|
|
30
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
31
31
|
default: string;
|
|
32
32
|
};
|
|
33
33
|
}, {
|
|
@@ -41,12 +41,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
41
|
alwaysVisible: BooleanConstructor;
|
|
42
42
|
/** Animation component that will be used to animate the selected filters list. */
|
|
43
43
|
animation: {
|
|
44
|
-
type:
|
|
44
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
45
45
|
default: string;
|
|
46
46
|
};
|
|
47
47
|
}>>, {
|
|
48
48
|
alwaysVisible: boolean;
|
|
49
|
-
animation: string |
|
|
49
|
+
animation: string | Function | Record<string, any>;
|
|
50
50
|
}, {}>;
|
|
51
51
|
export default _default;
|
|
52
52
|
//# sourceMappingURL=selected-filters-list.vue?vue&type=script&lang.d.ts.map
|
|
@@ -18,7 +18,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
* @public
|
|
19
19
|
*/
|
|
20
20
|
animation: {
|
|
21
|
-
type:
|
|
21
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
22
22
|
default: string;
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
@@ -44,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
* @public
|
|
45
45
|
*/
|
|
46
46
|
animation: {
|
|
47
|
-
type:
|
|
47
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
48
48
|
default: string;
|
|
49
49
|
};
|
|
50
50
|
/**
|
|
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
59
|
/** Class inherited by content element. */
|
|
60
60
|
queriesListClass: StringConstructor;
|
|
61
61
|
}>>, {
|
|
62
|
-
animation: string |
|
|
62
|
+
animation: string | Function | Record<string, any>;
|
|
63
63
|
locale: string;
|
|
64
64
|
}, {}>;
|
|
65
65
|
export default _default;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
15
|
animation: {
|
|
16
|
-
type:
|
|
16
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
@@ -32,7 +32,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
* @public
|
|
33
33
|
*/
|
|
34
34
|
animation: {
|
|
35
|
-
type:
|
|
35
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
36
36
|
default: string;
|
|
37
37
|
};
|
|
38
38
|
/**
|
|
@@ -42,7 +42,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
42
|
*/
|
|
43
43
|
maxItemsToRender: NumberConstructor;
|
|
44
44
|
}>>, {
|
|
45
|
-
animation: string |
|
|
45
|
+
animation: string | Function | Record<string, any>;
|
|
46
46
|
}, {}>;
|
|
47
47
|
export default _default;
|
|
48
48
|
//# sourceMappingURL=identifier-results.vue?vue&type=script&lang.d.ts.map
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
declare const _default: import("vue").DefineComponent<{
|
|
8
8
|
/** Animation component that will be used to animate the next queries groups. */
|
|
9
9
|
animation: {
|
|
10
|
-
type:
|
|
10
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
11
11
|
default: string;
|
|
12
12
|
};
|
|
13
13
|
/** The first index to insert a group of next queries at. */
|
|
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
40
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
41
|
/** Animation component that will be used to animate the next queries groups. */
|
|
42
42
|
animation: {
|
|
43
|
-
type:
|
|
43
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
44
44
|
default: string;
|
|
45
45
|
};
|
|
46
46
|
/** The first index to insert a group of next queries at. */
|
|
@@ -69,7 +69,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
69
69
|
default: boolean;
|
|
70
70
|
};
|
|
71
71
|
}>>, {
|
|
72
|
-
animation: string |
|
|
72
|
+
animation: string | Function | Record<string, any>;
|
|
73
73
|
offset: number;
|
|
74
74
|
frequency: number;
|
|
75
75
|
maxNextQueriesPerGroup: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/next-queries/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/next-queries/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
|
|
@@ -57,7 +57,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
57
|
* @public
|
|
58
58
|
*/
|
|
59
59
|
animation: {
|
|
60
|
-
type:
|
|
60
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
61
61
|
default: string;
|
|
62
62
|
};
|
|
63
63
|
}, {
|
|
@@ -113,13 +113,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
113
113
|
* @public
|
|
114
114
|
*/
|
|
115
115
|
animation: {
|
|
116
|
-
type:
|
|
116
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
117
117
|
default: string;
|
|
118
118
|
};
|
|
119
119
|
}>>, {
|
|
120
120
|
debounceTimeMs: number;
|
|
121
121
|
persistInCache: boolean;
|
|
122
|
-
animation: string |
|
|
122
|
+
animation: string | Function | Record<string, any>;
|
|
123
123
|
}, {}>;
|
|
124
124
|
export default _default;
|
|
125
125
|
//# sourceMappingURL=query-preview-list.vue?vue&type=script&lang.d.ts.map
|
|
@@ -13,7 +13,7 @@ import { ComputedRef } from 'vue';
|
|
|
13
13
|
declare const _default: import("vue").DefineComponent<{
|
|
14
14
|
/** Animation component that will be used to animate the recommendations. */
|
|
15
15
|
animation: {
|
|
16
|
-
type:
|
|
16
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
/** Number of recommendations to be rendered. */
|
|
@@ -23,13 +23,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
23
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
24
|
/** Animation component that will be used to animate the recommendations. */
|
|
25
25
|
animation: {
|
|
26
|
-
type:
|
|
26
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
27
27
|
default: string;
|
|
28
28
|
};
|
|
29
29
|
/** Number of recommendations to be rendered. */
|
|
30
30
|
maxItemsToRender: NumberConstructor;
|
|
31
31
|
}>>, {
|
|
32
|
-
animation: string |
|
|
32
|
+
animation: string | Function | Record<string, any>;
|
|
33
33
|
}, {}>;
|
|
34
34
|
export default _default;
|
|
35
35
|
//# sourceMappingURL=recommendations.vue?vue&type=script&lang.d.ts.map
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
* Animation component that will be used to animate the related prompts groups.
|
|
10
10
|
*/
|
|
11
11
|
animation: {
|
|
12
|
-
type:
|
|
12
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
@@ -55,7 +55,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
55
|
* Animation component that will be used to animate the related prompts groups.
|
|
56
56
|
*/
|
|
57
57
|
animation: {
|
|
58
|
-
type:
|
|
58
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
59
59
|
default: string;
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
@@ -95,7 +95,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
95
|
default: boolean;
|
|
96
96
|
};
|
|
97
97
|
}>>, {
|
|
98
|
-
animation: string |
|
|
98
|
+
animation: string | Function | Record<string, any>;
|
|
99
99
|
offset: number;
|
|
100
100
|
frequency: number;
|
|
101
101
|
maxRelatedPromptsPerGroup: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-prompts/store/module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAQrD;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,EAAE,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-prompts/store/module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAQrD;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,EAAE,0BAsCxC,CAAC"}
|
|
@@ -11,6 +11,10 @@ import { XActionContext, XStoreModule } from '../../../store';
|
|
|
11
11
|
export interface RelatedPromptsState extends StatusState, QueryState {
|
|
12
12
|
/** The list of the related-prompts, related to the `query` property of the state. */
|
|
13
13
|
relatedPrompts: RelatedPrompt[];
|
|
14
|
+
/** The index of the selected related-prompt. */
|
|
15
|
+
selectedPrompt: number;
|
|
16
|
+
/** The index of the selected next query. */
|
|
17
|
+
selectedQuery: number;
|
|
14
18
|
/** The extra params property of the state. */
|
|
15
19
|
params: Dictionary<unknown>;
|
|
16
20
|
}
|
|
@@ -44,6 +48,18 @@ export interface RelatedPromptsMutations extends StatusMutations, QueryMutations
|
|
|
44
48
|
* @param relatedPrompts - The new related prompts to save to the state.
|
|
45
49
|
*/
|
|
46
50
|
setRelatedPromptsProducts(products: RelatedPrompt[]): void;
|
|
51
|
+
/**
|
|
52
|
+
* Sets the selected related prompt.
|
|
53
|
+
*
|
|
54
|
+
* @param index - The new selected related prompt.
|
|
55
|
+
*/
|
|
56
|
+
setSelectedPrompt(index: number): void;
|
|
57
|
+
/**
|
|
58
|
+
* Sets the selected next query.
|
|
59
|
+
*
|
|
60
|
+
* @param index - The new selected next query.
|
|
61
|
+
*/
|
|
62
|
+
setSelectedQuery(index: number): void;
|
|
47
63
|
/**
|
|
48
64
|
* Resets the related prompts state.
|
|
49
65
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-prompts/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9D;;;;GAIG;AACH,MAAM,WAAW,mBAAoB,SAAQ,WAAW,EAAE,UAAU;IAClE,qFAAqF;IACrF,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,8CAA8C;IAC9C,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CAC7B;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,OAAO,EAAE,qBAAqB,GAAG,IAAI,CAAC;CACvC;AAED;;;;GAIG;AACH,MAAM,WAAW,uBAAwB,SAAQ,eAAe,EAAE,cAAc;IAC9E;;;;OAIG;IACH,SAAS,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IAC7C;;;;OAIG;IACH,yBAAyB,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,IAAI,CAAC;IAC3D;;OAEG;IACH,wBAAwB,IAAI,IAAI,CAAC;CAClC;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,mBAAmB,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI,GAAG,aAAa,EAAE,GAAG,IAAI,CAAC;IACnF;;;;OAIG;IACH,0BAA0B,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI,GAAG,IAAI,CAAC;IACxE;;;OAGG;IACH,gCAAgC,IAAI,IAAI,CAAC;CAC1C;AAED;;;;GAIG;AACH,MAAM,MAAM,0BAA0B,GAAG,YAAY,CACnD,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,CACtB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,2BAA2B,GAAG,cAAc,CACtD,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,CACtB,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-prompts/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9D;;;;GAIG;AACH,MAAM,WAAW,mBAAoB,SAAQ,WAAW,EAAE,UAAU;IAClE,qFAAqF;IACrF,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,gDAAgD;IAChD,cAAc,EAAE,MAAM,CAAC;IACvB,4CAA4C;IAC5C,aAAa,EAAE,MAAM,CAAC;IACtB,8CAA8C;IAC9C,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CAC7B;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,OAAO,EAAE,qBAAqB,GAAG,IAAI,CAAC;CACvC;AAED;;;;GAIG;AACH,MAAM,WAAW,uBAAwB,SAAQ,eAAe,EAAE,cAAc;IAC9E;;;;OAIG;IACH,SAAS,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IAC7C;;;;OAIG;IACH,yBAAyB,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,IAAI,CAAC;IAC3D;;;;OAIG;IACH,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC;;;;OAIG;IACH,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;OAEG;IACH,wBAAwB,IAAI,IAAI,CAAC;CAClC;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,mBAAmB,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI,GAAG,aAAa,EAAE,GAAG,IAAI,CAAC;IACnF;;;;OAIG;IACH,0BAA0B,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI,GAAG,IAAI,CAAC;IACxE;;;OAGG;IACH,gCAAgC,IAAI,IAAI,CAAC;CAC1C;AAED;;;;GAIG;AACH,MAAM,MAAM,0BAA0B,GAAG,YAAY,CACnD,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,CACtB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,2BAA2B,GAAG,cAAc,CACtD,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,CACtB,CAAC"}
|
|
@@ -21,5 +21,11 @@ export declare const relatedPromptsWiring: {
|
|
|
21
21
|
ExtraParamsChanged: {
|
|
22
22
|
setRelatedPromptsExtraParams: import("../..").Wire<import("@empathyco/x-utils").Dictionary<unknown>>;
|
|
23
23
|
};
|
|
24
|
+
UserSelectedARelatedPrompt: {
|
|
25
|
+
setSelectedPromptWire: import("../..").Wire<number>;
|
|
26
|
+
};
|
|
27
|
+
UserSelectedARelatedPromptQuery: {
|
|
28
|
+
setSelectedQueryWire: import("../..").Wire<number>;
|
|
29
|
+
};
|
|
24
30
|
};
|
|
25
31
|
//# sourceMappingURL=wiring.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/related-prompts/wiring.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/related-prompts/wiring.ts"],"names":[],"mappings":"AAmFA;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;CAwB/B,CAAC"}
|
|
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
* @public
|
|
17
17
|
*/
|
|
18
18
|
animation: {
|
|
19
|
-
type:
|
|
19
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
20
20
|
default: string;
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
@@ -45,7 +45,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
45
45
|
* @public
|
|
46
46
|
*/
|
|
47
47
|
animation: {
|
|
48
|
-
type:
|
|
48
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
49
49
|
default: string;
|
|
50
50
|
};
|
|
51
51
|
/**
|
|
@@ -66,7 +66,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
66
|
/** Class inherited by content element. */
|
|
67
67
|
itemClass: StringConstructor;
|
|
68
68
|
}>>, {
|
|
69
|
-
animation: string |
|
|
69
|
+
animation: string | Function | Record<string, any>;
|
|
70
70
|
highlightCurated: boolean;
|
|
71
71
|
}, {}>;
|
|
72
72
|
export default _default;
|
|
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
* @public
|
|
13
13
|
*/
|
|
14
14
|
animation: {
|
|
15
|
-
type:
|
|
15
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
16
16
|
default: () => import("vue").DefineComponent<{}, {}, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
17
17
|
};
|
|
18
18
|
/**
|
|
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
40
|
* @public
|
|
41
41
|
*/
|
|
42
42
|
animation: {
|
|
43
|
-
type:
|
|
43
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
44
44
|
default: () => import("vue").DefineComponent<{}, {}, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
45
45
|
};
|
|
46
46
|
/**
|
|
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
59
|
default: string;
|
|
60
60
|
};
|
|
61
61
|
}>>, {
|
|
62
|
-
animation: string |
|
|
62
|
+
animation: string | Function | Record<string, any>;
|
|
63
63
|
scrollId: string;
|
|
64
64
|
}, {}>;
|
|
65
65
|
export default _default;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
declare const _default: import("vue").DefineComponent<{
|
|
13
13
|
/** Animation component that will be used to animate the banners. */
|
|
14
14
|
animation: {
|
|
15
|
-
type:
|
|
15
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
18
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -20,11 +20,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
/** Animation component that will be used to animate the banners. */
|
|
22
22
|
animation: {
|
|
23
|
-
type:
|
|
23
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
24
24
|
default: string;
|
|
25
25
|
};
|
|
26
26
|
}>>, {
|
|
27
|
-
animation: string |
|
|
27
|
+
animation: string | Function | Record<string, any>;
|
|
28
28
|
}, {}>;
|
|
29
29
|
export default _default;
|
|
30
30
|
//# sourceMappingURL=banners-list.vue?vue&type=script&lang.d.ts.map
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
15
|
animation: {
|
|
16
|
-
type:
|
|
16
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
34
|
* @public
|
|
35
35
|
*/
|
|
36
36
|
animation: {
|
|
37
|
-
type:
|
|
37
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
38
38
|
default: string;
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
@@ -47,7 +47,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
47
|
default: number;
|
|
48
48
|
};
|
|
49
49
|
}>>, {
|
|
50
|
-
animation: string |
|
|
50
|
+
animation: string | Function | Record<string, any>;
|
|
51
51
|
maxItemsToRender: number;
|
|
52
52
|
}, {}>;
|
|
53
53
|
export default _default;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
declare const _default: import("vue").DefineComponent<{
|
|
13
13
|
/** Animation component that will be used to animate the promoteds. */
|
|
14
14
|
animation: {
|
|
15
|
-
type:
|
|
15
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
18
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -20,11 +20,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
/** Animation component that will be used to animate the promoteds. */
|
|
22
22
|
animation: {
|
|
23
|
-
type:
|
|
23
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
24
24
|
default: string;
|
|
25
25
|
};
|
|
26
26
|
}>>, {
|
|
27
|
-
animation: string |
|
|
27
|
+
animation: string | Function | Record<string, any>;
|
|
28
28
|
}, {}>;
|
|
29
29
|
export default _default;
|
|
30
30
|
//# sourceMappingURL=promoteds-list.vue?vue&type=script&lang.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
declare const _default: import("vue").DefineComponent<{
|
|
13
13
|
/** Animation component that will be used to animate the results. */
|
|
14
14
|
animation: {
|
|
15
|
-
type:
|
|
15
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
18
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -20,13 +20,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "UserReachedResultsListEnd"[], "UserReachedResultsListEnd", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
/** Animation component that will be used to animate the results. */
|
|
22
22
|
animation: {
|
|
23
|
-
type:
|
|
23
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
24
24
|
default: string;
|
|
25
25
|
};
|
|
26
26
|
}>> & {
|
|
27
27
|
onUserReachedResultsListEnd?: ((...args: any[]) => any) | undefined;
|
|
28
28
|
}, {
|
|
29
|
-
animation: string |
|
|
29
|
+
animation: string | Function | Record<string, any>;
|
|
30
30
|
}, {}>;
|
|
31
31
|
export default _default;
|
|
32
32
|
//# sourceMappingURL=results-list.vue?vue&type=script&lang.d.ts.map
|
|
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
* @public
|
|
22
22
|
*/
|
|
23
23
|
animation: {
|
|
24
|
-
type:
|
|
24
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
25
25
|
default: () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
58
|
* @public
|
|
59
59
|
*/
|
|
60
60
|
animation: {
|
|
61
|
-
type:
|
|
61
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
62
62
|
default: () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
63
63
|
};
|
|
64
64
|
/**
|
|
@@ -77,7 +77,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
77
77
|
*/
|
|
78
78
|
animateOnlyOnHover: BooleanConstructor;
|
|
79
79
|
}>>, {
|
|
80
|
-
animation: string |
|
|
80
|
+
animation: string | Function | Record<string, any>;
|
|
81
81
|
animationIntervalMs: number;
|
|
82
82
|
animateOnlyOnHover: boolean;
|
|
83
83
|
}, {}>;
|
package/js/utils/options-api.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"options-api.js","sources":["../../../src/utils/options-api.ts"],"sourcesContent":["import { DefineComponent, PropType } from 'vue';\n\nexport const animationProp = [String, Object, Function] as PropType<DefineComponent | string>;\n"],"names":[],"mappings":"AAEa,MAAA,aAAa,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ;;;;"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, PropType } from 'vue';
|
|
2
|
-
export declare const animationProp: PropType<string | DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
|
|
3
|
-
//# sourceMappingURL=options-api.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"options-api.d.ts","sourceRoot":"","sources":["../../../src/utils/options-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAEhD,eAAO,MAAM,aAAa,mRAAmE,CAAC"}
|