@empathyco/x-components 6.0.0-alpha.26 → 6.0.0-alpha.28
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.map +1 -1
- package/design-system/deprecated-full-theme.css +2052 -2051
- package/docs/API-reference/api/x-components.md +2 -1
- 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/components/modals/base-modal.vue.js.map +1 -1
- package/js/components/modals/base-modal.vue2.js +13 -6
- package/js/components/modals/base-modal.vue2.js.map +1 -1
- package/js/index.js +1 -0
- 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 -14
- package/report/x-components.api.md +47 -10
- package/types/components/modals/base-modal.vue.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/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
|
@@ -51530,7 +51530,7 @@
|
|
|
51530
51530
|
{
|
|
51531
51531
|
"kind": "Variable",
|
|
51532
51532
|
"canonicalReference": "@empathyco/x-components!RelatedPrompt:var",
|
|
51533
|
-
"docComment": "/**\n * This component shows a suggested related prompt
|
|
51533
|
+
"docComment": "/**\n * This component shows a suggested related prompt.\n *\n * It provides a slot to customize the related prompt button information.\n *\n * @public\n */\n",
|
|
51534
51534
|
"excerptTokens": [
|
|
51535
51535
|
{
|
|
51536
51536
|
"kind": "Content",
|
|
@@ -51565,25 +51565,34 @@
|
|
|
51565
51565
|
},
|
|
51566
51566
|
{
|
|
51567
51567
|
"kind": "Content",
|
|
51568
|
-
"text": ">;\n required: true;\n };\n
|
|
51568
|
+
"text": ">;\n required: true;\n };\n isPromptVisible: {\n type: "
|
|
51569
51569
|
},
|
|
51570
51570
|
{
|
|
51571
51571
|
"kind": "Reference",
|
|
51572
|
-
"text": "
|
|
51573
|
-
"canonicalReference": "!
|
|
51572
|
+
"text": "BooleanConstructor",
|
|
51573
|
+
"canonicalReference": "!BooleanConstructor:interface"
|
|
51574
51574
|
},
|
|
51575
51575
|
{
|
|
51576
51576
|
"kind": "Content",
|
|
51577
|
-
"text": ";\n default:
|
|
51577
|
+
"text": ";\n default: boolean;\n };\n isSelected: {\n type: "
|
|
51578
51578
|
},
|
|
51579
51579
|
{
|
|
51580
51580
|
"kind": "Reference",
|
|
51581
|
-
"text": "
|
|
51582
|
-
"canonicalReference": "
|
|
51581
|
+
"text": "BooleanConstructor",
|
|
51582
|
+
"canonicalReference": "!BooleanConstructor:interface"
|
|
51583
51583
|
},
|
|
51584
51584
|
{
|
|
51585
51585
|
"kind": "Content",
|
|
51586
|
-
"text": "
|
|
51586
|
+
"text": ";\n default: boolean;\n };\n index: {\n type: "
|
|
51587
|
+
},
|
|
51588
|
+
{
|
|
51589
|
+
"kind": "Reference",
|
|
51590
|
+
"text": "NumberConstructor",
|
|
51591
|
+
"canonicalReference": "!NumberConstructor:interface"
|
|
51592
|
+
},
|
|
51593
|
+
{
|
|
51594
|
+
"kind": "Content",
|
|
51595
|
+
"text": ";\n required: true;\n };\n}, {\n toggleSuggestion: (index: number) => void;\n}, unknown, {}, {}, import(\"vue\")."
|
|
51587
51596
|
},
|
|
51588
51597
|
{
|
|
51589
51598
|
"kind": "Reference",
|
|
@@ -51646,16 +51655,34 @@
|
|
|
51646
51655
|
},
|
|
51647
51656
|
{
|
|
51648
51657
|
"kind": "Content",
|
|
51649
|
-
"text": ">;\n required: true;\n };\n
|
|
51658
|
+
"text": ">;\n required: true;\n };\n isPromptVisible: {\n type: "
|
|
51650
51659
|
},
|
|
51651
51660
|
{
|
|
51652
51661
|
"kind": "Reference",
|
|
51653
|
-
"text": "
|
|
51654
|
-
"canonicalReference": "!
|
|
51662
|
+
"text": "BooleanConstructor",
|
|
51663
|
+
"canonicalReference": "!BooleanConstructor:interface"
|
|
51655
51664
|
},
|
|
51656
51665
|
{
|
|
51657
51666
|
"kind": "Content",
|
|
51658
|
-
"text": ";\n default:
|
|
51667
|
+
"text": ";\n default: boolean;\n };\n isSelected: {\n type: "
|
|
51668
|
+
},
|
|
51669
|
+
{
|
|
51670
|
+
"kind": "Reference",
|
|
51671
|
+
"text": "BooleanConstructor",
|
|
51672
|
+
"canonicalReference": "!BooleanConstructor:interface"
|
|
51673
|
+
},
|
|
51674
|
+
{
|
|
51675
|
+
"kind": "Content",
|
|
51676
|
+
"text": ";\n default: boolean;\n };\n index: {\n type: "
|
|
51677
|
+
},
|
|
51678
|
+
{
|
|
51679
|
+
"kind": "Reference",
|
|
51680
|
+
"text": "NumberConstructor",
|
|
51681
|
+
"canonicalReference": "!NumberConstructor:interface"
|
|
51682
|
+
},
|
|
51683
|
+
{
|
|
51684
|
+
"kind": "Content",
|
|
51685
|
+
"text": ";\n required: true;\n };\n}>>, {\n isPromptVisible: boolean;\n isSelected: boolean;\n}, {}>"
|
|
51659
51686
|
}
|
|
51660
51687
|
],
|
|
51661
51688
|
"fileUrlPath": "dist/types/x-modules/related-prompts/components/related-prompt.vue.d.ts",
|
|
@@ -51664,7 +51691,7 @@
|
|
|
51664
51691
|
"name": "RelatedPrompt",
|
|
51665
51692
|
"variableTypeTokenRange": {
|
|
51666
51693
|
"startIndex": 1,
|
|
51667
|
-
"endIndex":
|
|
51694
|
+
"endIndex": 34
|
|
51668
51695
|
}
|
|
51669
51696
|
},
|
|
51670
51697
|
{
|
|
@@ -52290,6 +52317,34 @@
|
|
|
52290
52317
|
"parameters": [],
|
|
52291
52318
|
"name": "resetRelatedPromptsState"
|
|
52292
52319
|
},
|
|
52320
|
+
{
|
|
52321
|
+
"kind": "MethodSignature",
|
|
52322
|
+
"canonicalReference": "@empathyco/x-components!RelatedPromptsMutations#resetSelectedPrompt:member(1)",
|
|
52323
|
+
"docComment": "/**\n * Resets the selected related prompt number.\n */\n",
|
|
52324
|
+
"excerptTokens": [
|
|
52325
|
+
{
|
|
52326
|
+
"kind": "Content",
|
|
52327
|
+
"text": "resetSelectedPrompt(): "
|
|
52328
|
+
},
|
|
52329
|
+
{
|
|
52330
|
+
"kind": "Content",
|
|
52331
|
+
"text": "void"
|
|
52332
|
+
},
|
|
52333
|
+
{
|
|
52334
|
+
"kind": "Content",
|
|
52335
|
+
"text": ";"
|
|
52336
|
+
}
|
|
52337
|
+
],
|
|
52338
|
+
"isOptional": false,
|
|
52339
|
+
"returnTypeTokenRange": {
|
|
52340
|
+
"startIndex": 1,
|
|
52341
|
+
"endIndex": 2
|
|
52342
|
+
},
|
|
52343
|
+
"releaseTag": "Public",
|
|
52344
|
+
"overloadIndex": 1,
|
|
52345
|
+
"parameters": [],
|
|
52346
|
+
"name": "resetSelectedPrompt"
|
|
52347
|
+
},
|
|
52293
52348
|
{
|
|
52294
52349
|
"kind": "MethodSignature",
|
|
52295
52350
|
"canonicalReference": "@empathyco/x-components!RelatedPromptsMutations#setParams:member(1)",
|
|
@@ -52343,7 +52398,7 @@
|
|
|
52343
52398
|
{
|
|
52344
52399
|
"kind": "MethodSignature",
|
|
52345
52400
|
"canonicalReference": "@empathyco/x-components!RelatedPromptsMutations#setRelatedPromptsProducts:member(1)",
|
|
52346
|
-
"docComment": "/**\n * Sets the related prompts of the module.\n *\n * @param
|
|
52401
|
+
"docComment": "/**\n * Sets the related prompts of the module.\n *\n * @param products - The new related prompts to save to the state.\n */\n",
|
|
52347
52402
|
"excerptTokens": [
|
|
52348
52403
|
{
|
|
52349
52404
|
"kind": "Content",
|
|
@@ -52655,6 +52710,146 @@
|
|
|
52655
52710
|
}
|
|
52656
52711
|
]
|
|
52657
52712
|
},
|
|
52713
|
+
{
|
|
52714
|
+
"kind": "Variable",
|
|
52715
|
+
"canonicalReference": "@empathyco/x-components!RelatedPromptsTagList:var",
|
|
52716
|
+
"docComment": "",
|
|
52717
|
+
"excerptTokens": [
|
|
52718
|
+
{
|
|
52719
|
+
"kind": "Content",
|
|
52720
|
+
"text": "_default: "
|
|
52721
|
+
},
|
|
52722
|
+
{
|
|
52723
|
+
"kind": "Content",
|
|
52724
|
+
"text": "import(\"vue\")."
|
|
52725
|
+
},
|
|
52726
|
+
{
|
|
52727
|
+
"kind": "Reference",
|
|
52728
|
+
"text": "DefineComponent",
|
|
52729
|
+
"canonicalReference": "@vue/runtime-core!DefineComponent:type"
|
|
52730
|
+
},
|
|
52731
|
+
{
|
|
52732
|
+
"kind": "Content",
|
|
52733
|
+
"text": "<{\n buttonClass: "
|
|
52734
|
+
},
|
|
52735
|
+
{
|
|
52736
|
+
"kind": "Reference",
|
|
52737
|
+
"text": "StringConstructor",
|
|
52738
|
+
"canonicalReference": "!StringConstructor:interface"
|
|
52739
|
+
},
|
|
52740
|
+
{
|
|
52741
|
+
"kind": "Content",
|
|
52742
|
+
"text": ";\n}, {\n arePromptsVisible: import(\"vue\")."
|
|
52743
|
+
},
|
|
52744
|
+
{
|
|
52745
|
+
"kind": "Reference",
|
|
52746
|
+
"text": "Ref",
|
|
52747
|
+
"canonicalReference": "@vue/reactivity!Ref:interface"
|
|
52748
|
+
},
|
|
52749
|
+
{
|
|
52750
|
+
"kind": "Content",
|
|
52751
|
+
"text": "<boolean>;\n hidePrompt: (index: number) => boolean;\n isSelected: (index: number) => boolean;\n relatedPrompts: import(\"vue\")."
|
|
52752
|
+
},
|
|
52753
|
+
{
|
|
52754
|
+
"kind": "Reference",
|
|
52755
|
+
"text": "ComputedRef",
|
|
52756
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
52757
|
+
},
|
|
52758
|
+
{
|
|
52759
|
+
"kind": "Content",
|
|
52760
|
+
"text": "<any>;\n selectedPrompt: import(\"vue\")."
|
|
52761
|
+
},
|
|
52762
|
+
{
|
|
52763
|
+
"kind": "Reference",
|
|
52764
|
+
"text": "ComputedRef",
|
|
52765
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
52766
|
+
},
|
|
52767
|
+
{
|
|
52768
|
+
"kind": "Content",
|
|
52769
|
+
"text": "<any>;\n slidingPanelContent: import(\"vue\")."
|
|
52770
|
+
},
|
|
52771
|
+
{
|
|
52772
|
+
"kind": "Reference",
|
|
52773
|
+
"text": "Ref",
|
|
52774
|
+
"canonicalReference": "@vue/reactivity!Ref:interface"
|
|
52775
|
+
},
|
|
52776
|
+
{
|
|
52777
|
+
"kind": "Content",
|
|
52778
|
+
"text": "<"
|
|
52779
|
+
},
|
|
52780
|
+
{
|
|
52781
|
+
"kind": "Reference",
|
|
52782
|
+
"text": "Element",
|
|
52783
|
+
"canonicalReference": "!Element:interface"
|
|
52784
|
+
},
|
|
52785
|
+
{
|
|
52786
|
+
"kind": "Content",
|
|
52787
|
+
"text": " | undefined>;\n}, unknown, {}, {}, import(\"vue\")."
|
|
52788
|
+
},
|
|
52789
|
+
{
|
|
52790
|
+
"kind": "Reference",
|
|
52791
|
+
"text": "ComponentOptionsMixin",
|
|
52792
|
+
"canonicalReference": "@vue/runtime-core!ComponentOptionsMixin:type"
|
|
52793
|
+
},
|
|
52794
|
+
{
|
|
52795
|
+
"kind": "Content",
|
|
52796
|
+
"text": ", import(\"vue\")."
|
|
52797
|
+
},
|
|
52798
|
+
{
|
|
52799
|
+
"kind": "Reference",
|
|
52800
|
+
"text": "ComponentOptionsMixin",
|
|
52801
|
+
"canonicalReference": "@vue/runtime-core!ComponentOptionsMixin:type"
|
|
52802
|
+
},
|
|
52803
|
+
{
|
|
52804
|
+
"kind": "Content",
|
|
52805
|
+
"text": ", {}, string, import(\"vue\")."
|
|
52806
|
+
},
|
|
52807
|
+
{
|
|
52808
|
+
"kind": "Reference",
|
|
52809
|
+
"text": "PublicProps",
|
|
52810
|
+
"canonicalReference": "@vue/runtime-core!PublicProps:type"
|
|
52811
|
+
},
|
|
52812
|
+
{
|
|
52813
|
+
"kind": "Content",
|
|
52814
|
+
"text": ", "
|
|
52815
|
+
},
|
|
52816
|
+
{
|
|
52817
|
+
"kind": "Reference",
|
|
52818
|
+
"text": "Readonly",
|
|
52819
|
+
"canonicalReference": "!Readonly:type"
|
|
52820
|
+
},
|
|
52821
|
+
{
|
|
52822
|
+
"kind": "Content",
|
|
52823
|
+
"text": "<import(\"vue\")."
|
|
52824
|
+
},
|
|
52825
|
+
{
|
|
52826
|
+
"kind": "Reference",
|
|
52827
|
+
"text": "ExtractPropTypes",
|
|
52828
|
+
"canonicalReference": "@vue/runtime-core!ExtractPropTypes:type"
|
|
52829
|
+
},
|
|
52830
|
+
{
|
|
52831
|
+
"kind": "Content",
|
|
52832
|
+
"text": "<{\n buttonClass: "
|
|
52833
|
+
},
|
|
52834
|
+
{
|
|
52835
|
+
"kind": "Reference",
|
|
52836
|
+
"text": "StringConstructor",
|
|
52837
|
+
"canonicalReference": "!StringConstructor:interface"
|
|
52838
|
+
},
|
|
52839
|
+
{
|
|
52840
|
+
"kind": "Content",
|
|
52841
|
+
"text": ";\n}>>, {}, {}>"
|
|
52842
|
+
}
|
|
52843
|
+
],
|
|
52844
|
+
"fileUrlPath": "dist/types/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts",
|
|
52845
|
+
"isReadonly": true,
|
|
52846
|
+
"releaseTag": "Public",
|
|
52847
|
+
"name": "RelatedPromptsTagList",
|
|
52848
|
+
"variableTypeTokenRange": {
|
|
52849
|
+
"startIndex": 1,
|
|
52850
|
+
"endIndex": 28
|
|
52851
|
+
}
|
|
52852
|
+
},
|
|
52658
52853
|
{
|
|
52659
52854
|
"kind": "Interface",
|
|
52660
52855
|
"canonicalReference": "@empathyco/x-components!RelatedPromptsXEvents:interface",
|
|
@@ -5609,24 +5609,40 @@ relatedPrompt: {
|
|
|
5609
5609
|
type: PropType<RelatedPrompt_2>;
|
|
5610
5610
|
required: true;
|
|
5611
5611
|
};
|
|
5612
|
-
|
|
5613
|
-
type:
|
|
5614
|
-
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;
|
|
5615
5623
|
};
|
|
5616
5624
|
}, {
|
|
5617
|
-
|
|
5618
|
-
onClick: (nextQuery: string) => void;
|
|
5625
|
+
toggleSuggestion: (index: number) => void;
|
|
5619
5626
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
5620
5627
|
relatedPrompt: {
|
|
5621
5628
|
type: PropType<RelatedPrompt_2>;
|
|
5622
5629
|
required: true;
|
|
5623
5630
|
};
|
|
5624
|
-
|
|
5625
|
-
type:
|
|
5626
|
-
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;
|
|
5627
5642
|
};
|
|
5628
5643
|
}>>, {
|
|
5629
|
-
|
|
5644
|
+
isPromptVisible: boolean;
|
|
5645
|
+
isSelected: boolean;
|
|
5630
5646
|
}, {}>;
|
|
5631
5647
|
|
|
5632
5648
|
// @public
|
|
@@ -5712,6 +5728,7 @@ showOnlyAfterOffset: boolean;
|
|
|
5712
5728
|
// @public
|
|
5713
5729
|
export interface RelatedPromptsMutations extends StatusMutations, QueryMutations {
|
|
5714
5730
|
resetRelatedPromptsState(): void;
|
|
5731
|
+
resetSelectedPrompt(): void;
|
|
5715
5732
|
setParams(params: Dictionary<unknown>): void;
|
|
5716
5733
|
setRelatedPromptsProducts(products: RelatedPrompt_2[]): void;
|
|
5717
5734
|
setSelectedPrompt(index: number): void;
|
|
@@ -5731,6 +5748,20 @@ export const relatedPromptsStoreEmitters: {
|
|
|
5731
5748
|
RelatedPromptsRequestUpdated: (_: RelatedPromptsState, getters: Returns<GettersTree<RelatedPromptsState, RelatedPromptsGetters>>) => RelatedPromptsRequest | null;
|
|
5732
5749
|
};
|
|
5733
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
|
+
|
|
5734
5765
|
// @internal
|
|
5735
5766
|
export const relatedPromptsWiring: {
|
|
5736
5767
|
ParamsLoadedFromUrl: {
|
|
@@ -5756,6 +5787,12 @@ export const relatedPromptsWiring: {
|
|
|
5756
5787
|
UserSelectedARelatedPromptQuery: {
|
|
5757
5788
|
setSelectedQueryWire: Wire<number>;
|
|
5758
5789
|
};
|
|
5790
|
+
UserAcceptedAQueryPreview: {
|
|
5791
|
+
resetSelectedPromptWire: AnyWire;
|
|
5792
|
+
};
|
|
5793
|
+
SearchRequestChanged: {
|
|
5794
|
+
resetSelectedPromptWire: AnyWire;
|
|
5795
|
+
};
|
|
5759
5796
|
};
|
|
5760
5797
|
|
|
5761
5798
|
// @public
|
|
@@ -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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-modal.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../src/components/modals/base-modal.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AAOE;;;;;GAKG;;IAIC,8CAA8C;;;;;IAK9C;;;OAGG;;;;;IAKH;;;;OAIG;;IAEH,8FAA8F;;;;;IAK9F;;;OAGG;;;;;IAKH,0CAA0C;;IAE1C,0CAA0C;;;gCAqCP,KAAK;;;;;IAvExC,8CAA8C;;;;;IAK9C;;;OAGG;;;;;IAKH;;;;OAIG;;IAEH,8FAA8F;;;;;IAK9F;;;OAGG;;;;;IAKH,0CAA0C;;IAE1C,0CAA0C;;;;;;;;;;AArC9C,
|
|
1
|
+
{"version":3,"file":"base-modal.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../src/components/modals/base-modal.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AAOE;;;;;GAKG;;IAIC,8CAA8C;;;;;IAK9C;;;OAGG;;;;;IAKH;;;;OAIG;;IAEH,8FAA8F;;;;;IAK9F;;;OAGG;;;;;IAKH,0CAA0C;;IAE1C,0CAA0C;;;gCAqCP,KAAK;;;;;IAvExC,8CAA8C;;;;;IAK9C;;;OAGG;;;;;IAKH;;;;OAIG;;IAEH,8FAA8F;;;;;IAK9F;;;OAGG;;;;;IAKH,0CAA0C;;IAE1C,0CAA0C;;;;;;;;;;AArC9C,wBA2MG"}
|
|
@@ -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,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":";;;;;;;"}
|