@empathyco/x-components 6.0.0-alpha.25 → 6.0.0-alpha.27
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 -1
- package/core/index.js.map +1 -1
- package/design-system/deprecated-full-theme.css +382 -382
- package/docs/API-reference/api/x-components.md +2 -2
- package/docs/API-reference/api/x-components.relatedprompt.md +27 -11
- package/docs/API-reference/api/x-components.relatedpromptsmutations.md +1 -0
- package/docs/API-reference/api/x-components.relatedpromptsmutations.resetselectedprompt.md +17 -0
- package/docs/API-reference/api/x-components.relatedpromptsmutations.setrelatedpromptsproducts.md +1 -1
- package/docs/API-reference/api/x-components.relatedpromptstaglist.md +22 -0
- package/docs/API-reference/components/related-prompts/x-components.related-prompt.md +11 -14
- package/docs/API-reference/components/related-prompts/x-components.related-prompts-tag-list.md +23 -0
- package/js/composables/use-alias-api.js +1 -1
- package/js/composables/use-getter.js +1 -1
- package/js/composables/use-state.js +1 -1
- package/js/index.js +2 -1
- package/js/index.js.map +1 -1
- package/js/x-modules/related-prompts/components/related-prompt.vue.js +43 -81
- 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 +34 -26
- package/js/x-modules/related-prompts/components/related-prompt.vue2.js.map +1 -1
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue.js +80 -0
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue.js.map +1 -0
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue2.js +55 -0
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue2.js.map +1 -0
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue3.js +7 -0
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue3.js.map +1 -0
- package/js/x-modules/related-prompts/store/module.js +9 -1
- package/js/x-modules/related-prompts/store/module.js.map +1 -1
- package/js/x-modules/related-prompts/wiring.js +10 -0
- package/js/x-modules/related-prompts/wiring.js.map +1 -1
- package/package.json +2 -2
- package/related-prompts/index.js +1 -0
- package/report/x-components.api.json +209 -47
- package/report/x-components.api.md +49 -12
- package/types/composables/use-store.d.ts +2 -2
- package/types/composables/use-store.d.ts.map +1 -1
- package/types/x-modules/related-prompts/components/index.d.ts +1 -0
- package/types/x-modules/related-prompts/components/index.d.ts.map +1 -1
- package/types/x-modules/related-prompts/components/related-prompt.vue.d.ts +27 -13
- 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 +14 -0
- package/types/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts.map +1 -0
- package/types/x-modules/related-prompts/store/module.d.ts.map +1 -1
- package/types/x-modules/related-prompts/store/types.d.ts +5 -1
- 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/docs/API-reference/api/x-components.usestore.md +0 -19
- package/js/composables/use-store.js +0 -15
- package/js/composables/use-store.js.map +0 -1
- package/js/x-modules/related-prompts/components/related-prompt.vue3.js +0 -7
- package/js/x-modules/related-prompts/components/related-prompt.vue3.js.map +0 -1
|
@@ -115,6 +115,7 @@ import { default as TrendingIcon } from './trending.vue';
|
|
|
115
115
|
import { default as TrendingTinyIcon } from './trending-tiny.vue';
|
|
116
116
|
import { default as UserFilledIcon } from './user-filled.vue';
|
|
117
117
|
import { default as UserIcon } from './user.vue';
|
|
118
|
+
import { useStore } from 'vuex';
|
|
118
119
|
import { VNode } from 'vue';
|
|
119
120
|
import Vue from 'vue';
|
|
120
121
|
import { WatchOptions } from 'vue';
|
|
@@ -5608,24 +5609,40 @@ relatedPrompt: {
|
|
|
5608
5609
|
type: PropType<RelatedPrompt_2>;
|
|
5609
5610
|
required: true;
|
|
5610
5611
|
};
|
|
5611
|
-
|
|
5612
|
-
type:
|
|
5613
|
-
default:
|
|
5612
|
+
isPromptVisible: {
|
|
5613
|
+
type: BooleanConstructor;
|
|
5614
|
+
default: boolean;
|
|
5615
|
+
};
|
|
5616
|
+
isSelected: {
|
|
5617
|
+
type: BooleanConstructor;
|
|
5618
|
+
default: boolean;
|
|
5619
|
+
};
|
|
5620
|
+
index: {
|
|
5621
|
+
type: NumberConstructor;
|
|
5622
|
+
required: true;
|
|
5614
5623
|
};
|
|
5615
5624
|
}, {
|
|
5616
|
-
|
|
5617
|
-
onClick: (nextQuery: string) => void;
|
|
5625
|
+
toggleSuggestion: (index: number) => void;
|
|
5618
5626
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
5619
5627
|
relatedPrompt: {
|
|
5620
5628
|
type: PropType<RelatedPrompt_2>;
|
|
5621
5629
|
required: true;
|
|
5622
5630
|
};
|
|
5623
|
-
|
|
5624
|
-
type:
|
|
5625
|
-
default:
|
|
5631
|
+
isPromptVisible: {
|
|
5632
|
+
type: BooleanConstructor;
|
|
5633
|
+
default: boolean;
|
|
5634
|
+
};
|
|
5635
|
+
isSelected: {
|
|
5636
|
+
type: BooleanConstructor;
|
|
5637
|
+
default: boolean;
|
|
5638
|
+
};
|
|
5639
|
+
index: {
|
|
5640
|
+
type: NumberConstructor;
|
|
5641
|
+
required: true;
|
|
5626
5642
|
};
|
|
5627
5643
|
}>>, {
|
|
5628
|
-
|
|
5644
|
+
isPromptVisible: boolean;
|
|
5645
|
+
isSelected: boolean;
|
|
5629
5646
|
}, {}>;
|
|
5630
5647
|
|
|
5631
5648
|
// @public
|
|
@@ -5711,6 +5728,7 @@ showOnlyAfterOffset: boolean;
|
|
|
5711
5728
|
// @public
|
|
5712
5729
|
export interface RelatedPromptsMutations extends StatusMutations, QueryMutations {
|
|
5713
5730
|
resetRelatedPromptsState(): void;
|
|
5731
|
+
resetSelectedPrompt(): void;
|
|
5714
5732
|
setParams(params: Dictionary<unknown>): void;
|
|
5715
5733
|
setRelatedPromptsProducts(products: RelatedPrompt_2[]): void;
|
|
5716
5734
|
setSelectedPrompt(index: number): void;
|
|
@@ -5730,6 +5748,20 @@ export const relatedPromptsStoreEmitters: {
|
|
|
5730
5748
|
RelatedPromptsRequestUpdated: (_: RelatedPromptsState, getters: Returns<GettersTree<RelatedPromptsState, RelatedPromptsGetters>>) => RelatedPromptsRequest | null;
|
|
5731
5749
|
};
|
|
5732
5750
|
|
|
5751
|
+
// @public (undocumented)
|
|
5752
|
+
export const RelatedPromptsTagList: DefineComponent< {
|
|
5753
|
+
buttonClass: StringConstructor;
|
|
5754
|
+
}, {
|
|
5755
|
+
arePromptsVisible: Ref<boolean>;
|
|
5756
|
+
hidePrompt: (index: number) => boolean;
|
|
5757
|
+
isSelected: (index: number) => boolean;
|
|
5758
|
+
relatedPrompts: ComputedRef<any>;
|
|
5759
|
+
selectedPrompt: ComputedRef<any>;
|
|
5760
|
+
slidingPanelContent: Ref<Element | undefined>;
|
|
5761
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
5762
|
+
buttonClass: StringConstructor;
|
|
5763
|
+
}>>, {}, {}>;
|
|
5764
|
+
|
|
5733
5765
|
// @internal
|
|
5734
5766
|
export const relatedPromptsWiring: {
|
|
5735
5767
|
ParamsLoadedFromUrl: {
|
|
@@ -5755,6 +5787,12 @@ export const relatedPromptsWiring: {
|
|
|
5755
5787
|
UserSelectedARelatedPromptQuery: {
|
|
5756
5788
|
setSelectedQueryWire: Wire<number>;
|
|
5757
5789
|
};
|
|
5790
|
+
UserAcceptedAQueryPreview: {
|
|
5791
|
+
resetSelectedPromptWire: AnyWire;
|
|
5792
|
+
};
|
|
5793
|
+
SearchRequestChanged: {
|
|
5794
|
+
resetSelectedPromptWire: AnyWire;
|
|
5795
|
+
};
|
|
5758
5796
|
};
|
|
5759
5797
|
|
|
5760
5798
|
// @public
|
|
@@ -8456,8 +8494,7 @@ export function useScroll(props: {
|
|
|
8456
8494
|
// @public
|
|
8457
8495
|
export function useState<Module extends XModuleName, Path extends keyof ExtractState<Module> & string>(module: Module, paths: Path[]): Dictionary<ComputedRef>;
|
|
8458
8496
|
|
|
8459
|
-
|
|
8460
|
-
export function useStore(): Store<any>;
|
|
8497
|
+
export { useStore }
|
|
8461
8498
|
|
|
8462
8499
|
// @public
|
|
8463
8500
|
export function useXBus(): {
|
|
@@ -8936,7 +8973,7 @@ export type XStoreModuleOptions<StoreModule extends AnyXStoreModule> = StoreModu
|
|
|
8936
8973
|
// 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
|
|
8937
8974
|
// 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
|
|
8938
8975
|
// 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
|
|
8939
|
-
// dist/types/x-modules/related-prompts/components/related-prompt.vue.d.ts:
|
|
8976
|
+
// dist/types/x-modules/related-prompts/components/related-prompt.vue.d.ts:12:9 - (ae-forgotten-export) The symbol "RelatedPrompt_2" needs to be exported by the entry point index.d.ts
|
|
8940
8977
|
// 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
|
|
8941
8978
|
// 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
|
|
8942
8979
|
// 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
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Store } from 'vuex';
|
|
2
1
|
/**
|
|
3
2
|
* Function which returns the `$store` object from the current component instance.
|
|
4
3
|
*
|
|
5
4
|
* @returns The `$store` object from the current component instance.
|
|
5
|
+
* @deprecated Use `useStore` from `vuex` instead.
|
|
6
6
|
*
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export { useStore } from 'vuex';
|
|
10
10
|
//# sourceMappingURL=use-store.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-store.d.ts","sourceRoot":"","sources":["../../../src/composables/use-store.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"use-store.d.ts","sourceRoot":"","sources":["../../../src/composables/use-store.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-prompts/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-prompts/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { RelatedPrompt } from '@empathyco/x-types';
|
|
3
3
|
/**
|
|
4
|
-
* This component shows a suggested related prompt
|
|
5
|
-
* It allows to select one of the next query and show it.
|
|
4
|
+
* This component shows a suggested related prompt.
|
|
6
5
|
*
|
|
7
|
-
* It
|
|
8
|
-
* the individual next query inside the list and the selected query.
|
|
6
|
+
* It provides a slot to customize the related prompt button information.
|
|
9
7
|
*
|
|
10
8
|
* @public
|
|
11
9
|
*/
|
|
@@ -14,24 +12,40 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
12
|
type: PropType<RelatedPrompt>;
|
|
15
13
|
required: true;
|
|
16
14
|
};
|
|
17
|
-
|
|
18
|
-
type:
|
|
19
|
-
default:
|
|
15
|
+
isPromptVisible: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
isSelected: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
index: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
required: true;
|
|
20
26
|
};
|
|
21
27
|
}, {
|
|
22
|
-
|
|
23
|
-
onClick: (nextQuery: string) => void;
|
|
28
|
+
toggleSuggestion: (index: number) => void;
|
|
24
29
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
30
|
relatedPrompt: {
|
|
26
31
|
type: PropType<RelatedPrompt>;
|
|
27
32
|
required: true;
|
|
28
33
|
};
|
|
29
|
-
|
|
30
|
-
type:
|
|
31
|
-
default:
|
|
34
|
+
isPromptVisible: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
isSelected: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
index: {
|
|
43
|
+
type: NumberConstructor;
|
|
44
|
+
required: true;
|
|
32
45
|
};
|
|
33
46
|
}>>, {
|
|
34
|
-
|
|
47
|
+
isPromptVisible: boolean;
|
|
48
|
+
isSelected: boolean;
|
|
35
49
|
}, {}>;
|
|
36
50
|
export default _default;
|
|
37
51
|
//# sourceMappingURL=related-prompt.vue?vue&type=script&lang.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"related-prompt.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-prompts/components/related-prompt.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACE,OAAO,EAAmB,QAAQ,
|
|
1
|
+
{"version":3,"file":"related-prompt.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-prompts/components/related-prompt.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACE,OAAO,EAAmB,QAAQ,EAAE,MAAM,KAAK,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAMnD;;;;;;GAMG;;;;;;;;;;;;;;;;;;;8BA6BkC,MAAM,KAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;AA5BlD,wBAoCG"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
buttonClass: StringConstructor;
|
|
3
|
+
}, {
|
|
4
|
+
arePromptsVisible: import("vue").Ref<boolean>;
|
|
5
|
+
hidePrompt: (index: number) => boolean;
|
|
6
|
+
isSelected: (index: number) => boolean;
|
|
7
|
+
relatedPrompts: import("vue").ComputedRef<any>;
|
|
8
|
+
selectedPrompt: import("vue").ComputedRef<any>;
|
|
9
|
+
slidingPanelContent: import("vue").Ref<Element | undefined>;
|
|
10
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
buttonClass: StringConstructor;
|
|
12
|
+
}>>, {}, {}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=related-prompts-tag-list.vue?vue&type=script&lang.d.ts.map
|
|
@@ -0,0 +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":";;;;wBAqCiC,MAAM,KAAG,OAAO;wBAFhB,MAAM,KAAG,OAAO;;;;;;;AA5B/C,wBA0CG"}
|
|
@@ -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,0BA6CxC,CAAC"}
|
|
@@ -45,7 +45,7 @@ export interface RelatedPromptsMutations extends StatusMutations, QueryMutations
|
|
|
45
45
|
/**
|
|
46
46
|
* Sets the related prompts of the module.
|
|
47
47
|
*
|
|
48
|
-
* @param
|
|
48
|
+
* @param products - The new related prompts to save to the state.
|
|
49
49
|
*/
|
|
50
50
|
setRelatedPromptsProducts(products: RelatedPrompt[]): void;
|
|
51
51
|
/**
|
|
@@ -64,6 +64,10 @@ export interface RelatedPromptsMutations extends StatusMutations, QueryMutations
|
|
|
64
64
|
* Resets the related prompts state.
|
|
65
65
|
*/
|
|
66
66
|
resetRelatedPromptsState(): void;
|
|
67
|
+
/**
|
|
68
|
+
* Resets the selected related prompt number.
|
|
69
|
+
*/
|
|
70
|
+
resetSelectedPrompt(): void;
|
|
67
71
|
}
|
|
68
72
|
/**
|
|
69
73
|
* Related prompts module actions.
|
|
@@ -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,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;
|
|
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;IACjC;;OAEG;IACH,mBAAmB,IAAI,IAAI,CAAC;CAC7B;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"}
|
|
@@ -27,5 +27,11 @@ export declare const relatedPromptsWiring: {
|
|
|
27
27
|
UserSelectedARelatedPromptQuery: {
|
|
28
28
|
setSelectedQueryWire: import("../..").Wire<number>;
|
|
29
29
|
};
|
|
30
|
+
UserAcceptedAQueryPreview: {
|
|
31
|
+
resetSelectedPromptWire: import("../..").AnyWire;
|
|
32
|
+
};
|
|
33
|
+
SearchRequestChanged: {
|
|
34
|
+
resetSelectedPromptWire: import("../..").AnyWire;
|
|
35
|
+
};
|
|
30
36
|
};
|
|
31
37
|
//# 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":"AAwFA;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B/B,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [useStore](./x-components.usestore.md)
|
|
4
|
-
|
|
5
|
-
## useStore() function
|
|
6
|
-
|
|
7
|
-
Function which returns the `$store` object from the current component instance.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare function useStore(): Store<any>;
|
|
13
|
-
```
|
|
14
|
-
**Returns:**
|
|
15
|
-
|
|
16
|
-
Store<any>
|
|
17
|
-
|
|
18
|
-
The `$store` object from the current component instance.
|
|
19
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { useStore as useStore$1 } from 'vuex';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Function which returns the `$store` object from the current component instance.
|
|
5
|
-
*
|
|
6
|
-
* @returns The `$store` object from the current component instance.
|
|
7
|
-
*
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
function useStore() {
|
|
11
|
-
return useStore$1();
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { useStore };
|
|
15
|
-
//# sourceMappingURL=use-store.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-store.js","sources":["../../../src/composables/use-store.ts"],"sourcesContent":["import { useStore as useStoreVuex, Store } from 'vuex';\n/**\n * Function which returns the `$store` object from the current component instance.\n *\n * @returns The `$store` object from the current component instance.\n *\n * @public\n */\nexport function useStore(): Store<any> {\n return useStoreVuex();\n}\n"],"names":["useStoreVuex"],"mappings":";;AACA;;;;;;AAMG;SACa,QAAQ,GAAA;IACtB,OAAOA,UAAY,EAAE,CAAC;AACxB;;;;"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import injectCss from '../../../../tools/inject-css.js';
|
|
2
|
-
|
|
3
|
-
var css = ".x-related-prompt__info[data-v-44e318df]{display:flex;flex-direction:column}.x-related-prompt__sliding-panel-content[data-v-44e318df]{display:flex;gap:8px}";
|
|
4
|
-
injectCss(css);
|
|
5
|
-
|
|
6
|
-
export { css, css as default };
|
|
7
|
-
//# sourceMappingURL=related-prompt.vue3.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"related-prompt.vue3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|