@empathyco/x-components 6.0.0-alpha.106 → 6.0.0-alpha.108
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 +16 -0
- package/docs/API-reference/api/x-components.baseeventsmodalclose.md +3 -3
- package/docs/API-reference/api/x-components.baseeventsmodalopen.md +3 -3
- package/docs/API-reference/api/x-components.globalxbus.md +2 -0
- package/docs/API-reference/api/x-components.hierarchicalfilter.md +1 -0
- package/docs/API-reference/api/x-components.relatedpromptsxevents.md +1 -0
- package/docs/API-reference/api/x-components.relatedpromptsxevents.reloadrelatedpromptsrequested.md +13 -0
- package/docs/API-reference/api/x-components.simplefilter.md +1 -0
- package/docs/API-reference/api/x-components.snippetcallbacks.md +1 -0
- package/docs/API-reference/components/common/x-components.base-teleport.md +48 -0
- package/js/components/base-teleport.vue.js.map +1 -1
- package/js/components/base-teleport.vue2.js.map +1 -1
- package/js/x-modules/related-prompts/store/module.js +1 -0
- package/js/x-modules/related-prompts/store/module.js.map +1 -1
- package/js/x-modules/related-prompts/wiring.js +6 -0
- package/js/x-modules/related-prompts/wiring.js.map +1 -1
- package/package.json +2 -2
- package/report/x-components.api.json +62 -8
- package/report/x-components.api.md +16 -6
- package/types/components/global-x-bus.vue.d.ts +2 -0
- package/types/components/global-x-bus.vue.d.ts.map +1 -1
- package/types/components/modals/base-events-modal-close.vue.d.ts +3 -3
- package/types/components/modals/base-events-modal-open.vue.d.ts +3 -3
- package/types/components/snippet-callbacks.vue.d.ts +1 -0
- package/types/components/snippet-callbacks.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +1 -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 +1 -0
- package/types/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
- package/types/x-modules/related-prompts/events.types.d.ts +4 -0
- package/types/x-modules/related-prompts/events.types.d.ts.map +1 -1
- package/types/x-modules/related-prompts/store/module.d.ts.map +1 -1
- package/types/x-modules/related-prompts/wiring.d.ts +4 -0
- package/types/x-modules/related-prompts/wiring.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 6.0.0-alpha.108 (2025-07-02)
|
|
7
|
+
|
|
8
|
+
* docs: add BaseTeleport documentation (#1818) ([080cef1](https://github.com/empathyco/x/commit/080cef1)), closes [#1818](https://github.com/empathyco/x/issues/1818)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## 6.0.0-alpha.107 (2025-07-01)
|
|
15
|
+
|
|
16
|
+
* feat: create ReloadRelatedPromptsRequested event (#1817) ([854c28e](https://github.com/empathyco/x/commit/854c28e)), closes [#1817](https://github.com/empathyco/x/issues/1817)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## 6.0.0-alpha.106 (2025-07-01)
|
|
7
23
|
|
|
8
24
|
* feat: save filtered related prompts in the related prompts state (#1816) ([bded354](https://github.com/empathyco/x/commit/bded354)), closes [#1816](https://github.com/empathyco/x/issues/1816)
|
|
@@ -11,17 +11,17 @@ Component contains an event button that emits [XEventsTypes.UserClickedCloseEven
|
|
|
11
11
|
```typescript
|
|
12
12
|
_default: import("vue").DefineComponent<{
|
|
13
13
|
closingEvent: {
|
|
14
|
-
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted">;
|
|
14
|
+
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted" | "ReloadRelatedPromptsRequested">;
|
|
15
15
|
default: string;
|
|
16
16
|
};
|
|
17
17
|
}, {
|
|
18
18
|
events: import("vue").ComputedRef<Partial<XEventsTypes>>;
|
|
19
19
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
20
|
closingEvent: {
|
|
21
|
-
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted">;
|
|
21
|
+
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted" | "ReloadRelatedPromptsRequested">;
|
|
22
22
|
default: string;
|
|
23
23
|
};
|
|
24
24
|
}>>, {
|
|
25
|
-
closingEvent: "UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted";
|
|
25
|
+
closingEvent: "UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted" | "ReloadRelatedPromptsRequested";
|
|
26
26
|
}, {}>
|
|
27
27
|
```
|
|
@@ -11,17 +11,17 @@ Component contains an event button that emits [XEventsTypes.UserClickedOpenEvent
|
|
|
11
11
|
```typescript
|
|
12
12
|
_default: import("vue").DefineComponent<{
|
|
13
13
|
openingEvent: {
|
|
14
|
-
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted">;
|
|
14
|
+
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted" | "ReloadRelatedPromptsRequested">;
|
|
15
15
|
default: string;
|
|
16
16
|
};
|
|
17
17
|
}, {
|
|
18
18
|
events: import("vue").ComputedRef<Partial<XEventsTypes>>;
|
|
19
19
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
20
|
openingEvent: {
|
|
21
|
-
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted">;
|
|
21
|
+
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted" | "ReloadRelatedPromptsRequested">;
|
|
22
22
|
default: string;
|
|
23
23
|
};
|
|
24
24
|
}>>, {
|
|
25
|
-
openingEvent: "UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted";
|
|
25
|
+
openingEvent: "UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted" | "ReloadRelatedPromptsRequested";
|
|
26
26
|
}, {}>
|
|
27
27
|
```
|
|
@@ -179,6 +179,7 @@ _default: import("vue").DefineComponent<{
|
|
|
179
179
|
UserClickedARelatedPromptAdd2Cart: (payload: import("@empathyco/x-types").Result, metadata: import("..").WireMetadata) => unknown;
|
|
180
180
|
RelatedPromptsResponseChanged: (payload: import("@empathyco/x-types").RelatedPrompt[], metadata: import("..").WireMetadata) => unknown;
|
|
181
181
|
RelatedPromptsUnmounted: (payload: undefined, metadata: import("..").WireMetadata) => unknown;
|
|
182
|
+
ReloadRelatedPromptsRequested: (payload: undefined, metadata: import("..").WireMetadata) => unknown;
|
|
182
183
|
}>>;
|
|
183
184
|
required: true;
|
|
184
185
|
};
|
|
@@ -352,6 +353,7 @@ _default: import("vue").DefineComponent<{
|
|
|
352
353
|
UserClickedARelatedPromptAdd2Cart: (payload: import("@empathyco/x-types").Result, metadata: import("..").WireMetadata) => unknown;
|
|
353
354
|
RelatedPromptsResponseChanged: (payload: import("@empathyco/x-types").RelatedPrompt[], metadata: import("..").WireMetadata) => unknown;
|
|
354
355
|
RelatedPromptsUnmounted: (payload: undefined, metadata: import("..").WireMetadata) => unknown;
|
|
356
|
+
ReloadRelatedPromptsRequested: (payload: undefined, metadata: import("..").WireMetadata) => unknown;
|
|
355
357
|
}>>;
|
|
356
358
|
required: true;
|
|
357
359
|
};
|
|
@@ -191,6 +191,7 @@ _default: import("vue").DefineComponent<{
|
|
|
191
191
|
UserClickedARelatedPromptAdd2Cart?: import("@empathyco/x-types").Result | undefined;
|
|
192
192
|
RelatedPromptsResponseChanged?: import("@empathyco/x-types").RelatedPrompt[] | undefined;
|
|
193
193
|
RelatedPromptsUnmounted?: void | undefined;
|
|
194
|
+
ReloadRelatedPromptsRequested?: void | undefined;
|
|
194
195
|
}>;
|
|
195
196
|
innerCssClasses: import("vue").ComputedRef<(string | Dictionary<boolean>)[]>;
|
|
196
197
|
renderedChildrenFilters: import("vue").ComputedRef<HierarchicalFilterModel[]>;
|
|
@@ -19,6 +19,7 @@ export interface RelatedPromptsXEvents
|
|
|
19
19
|
| [RelatedPromptsRequestUpdated](./x-components.relatedpromptsxevents.relatedpromptsrequestupdated.md) | | RelatedPromptsRequest \| null | Any property of the related-prompts request has changed Payload: The new related-prompts request or <code>null</code> if there is not enough data in the state to conform a valid request. |
|
|
20
20
|
| [RelatedPromptsResponseChanged](./x-components.relatedpromptsxevents.relatedpromptsresponsechanged.md) | | RelatedPrompt\[\] | The response list of related prompts has changed. Payload: The new related-prompts list. |
|
|
21
21
|
| [RelatedPromptsUnmounted](./x-components.relatedpromptsxevents.relatedpromptsunmounted.md) | | void | The related prompts has been unmounted. |
|
|
22
|
+
| [ReloadRelatedPromptsRequested](./x-components.relatedpromptsxevents.reloadrelatedpromptsrequested.md) | | void | Reload the current related prompts that have been requested. |
|
|
22
23
|
| [SelectedRelatedPromptChanged](./x-components.relatedpromptsxevents.selectedrelatedpromptchanged.md) | | number | Selected Related Prompt has been changed. Payload: Selected Related Prompt index. -1 is deselected. |
|
|
23
24
|
| [UserClickedARelatedPromptAdd2Cart](./x-components.relatedpromptsxevents.userclickedarelatedpromptadd2cart.md) | | Result | The user has clicked one add to cart from a prompt. Payload: The result that the user clicked. |
|
|
24
25
|
| [UserClickedARelatedPromptResult](./x-components.relatedpromptsxevents.userclickedarelatedpromptresult.md) | | Result | The user has clicked one prompt. Payload: The result that the user clicked. |
|
package/docs/API-reference/api/x-components.relatedpromptsxevents.reloadrelatedpromptsrequested.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [RelatedPromptsXEvents](./x-components.relatedpromptsxevents.md) > [ReloadRelatedPromptsRequested](./x-components.relatedpromptsxevents.reloadrelatedpromptsrequested.md)
|
|
4
|
+
|
|
5
|
+
## RelatedPromptsXEvents.ReloadRelatedPromptsRequested property
|
|
6
|
+
|
|
7
|
+
Reload the current related prompts that have been requested.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
ReloadRelatedPromptsRequested: void;
|
|
13
|
+
```
|
|
@@ -188,6 +188,7 @@ _default: import("vue").DefineComponent<{
|
|
|
188
188
|
UserClickedARelatedPromptAdd2Cart?: import("@empathyco/x-types").Result | undefined;
|
|
189
189
|
RelatedPromptsResponseChanged?: import("@empathyco/x-types").RelatedPrompt[] | undefined;
|
|
190
190
|
RelatedPromptsUnmounted?: void | undefined;
|
|
191
|
+
ReloadRelatedPromptsRequested?: void | undefined;
|
|
191
192
|
}>;
|
|
192
193
|
innerCssClasses: import("vue").ComputedRef<(string | Dictionary<boolean>)[]>;
|
|
193
194
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -178,6 +178,7 @@ _default: import("vue").DefineComponent<{}, {
|
|
|
178
178
|
UserClickedARelatedPromptAdd2Cart: (payload: import("@empathyco/x-types").Result, metadata: WireMetadata) => unknown;
|
|
179
179
|
RelatedPromptsResponseChanged: (payload: import("@empathyco/x-types").RelatedPrompt[], metadata: WireMetadata) => unknown;
|
|
180
180
|
RelatedPromptsUnmounted: (payload: undefined, metadata: WireMetadata) => unknown;
|
|
181
|
+
ReloadRelatedPromptsRequested: (payload: undefined, metadata: WireMetadata) => unknown;
|
|
181
182
|
}>>;
|
|
182
183
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>
|
|
183
184
|
```
|
|
@@ -19,3 +19,51 @@ title: BaseTeleport
|
|
|
19
19
|
| Name | Description | Bindings<br />(name - type - description) |
|
|
20
20
|
| -------------------- | ----------- | ----------------------------------------- |
|
|
21
21
|
| <code>default</code> | | None |
|
|
22
|
+
|
|
23
|
+
## Example
|
|
24
|
+
|
|
25
|
+
The BaseTeleport component allows you to teleport its slot content to a specified target element in
|
|
26
|
+
the DOM. It provides flexibility in positioning the content relative to the target element and
|
|
27
|
+
supports shadow DOM integration.
|
|
28
|
+
|
|
29
|
+
### Basic example
|
|
30
|
+
|
|
31
|
+
Teleport content to a specific element in the DOM:
|
|
32
|
+
|
|
33
|
+
```vue
|
|
34
|
+
<template>
|
|
35
|
+
<BaseTeleport target="#my-target">
|
|
36
|
+
<div>This content will be teleported.</div>
|
|
37
|
+
</BaseTeleport>
|
|
38
|
+
</template>
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Positioning options
|
|
42
|
+
|
|
43
|
+
Teleport content inside the target element, before its first child:
|
|
44
|
+
|
|
45
|
+
```vue
|
|
46
|
+
<template>
|
|
47
|
+
<BaseTeleport target="#my-target" position="afterbegin">
|
|
48
|
+
<div>Teleported content at the beginning.</div>
|
|
49
|
+
</BaseTeleport>
|
|
50
|
+
</template>
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Disabled Teleport
|
|
54
|
+
|
|
55
|
+
Prevent teleporting the content:
|
|
56
|
+
|
|
57
|
+
```vue
|
|
58
|
+
<template>
|
|
59
|
+
<BaseTeleport target="#my-target" :disabled="true">
|
|
60
|
+
<div>This content will not be teleported.</div>
|
|
61
|
+
</BaseTeleport>
|
|
62
|
+
</template>
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Notes
|
|
66
|
+
|
|
67
|
+
- When using the `onlychild` position, all other children of the target element will be hidden.
|
|
68
|
+
- The component supports shadow DOM integration, automatically handling style injection. Anyway, Empathy's custom CSS
|
|
69
|
+
injector is required. Teleport depends on it to add the styles.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-teleport.vue.js","sources":["../../../src/components/base-teleport.vue"],"sourcesContent":["<template>\n <Teleport v-if=\"teleportHost\" :to=\"teleportHost.shadowRoot ?? teleportHost\" :disabled>\n <slot></slot>\n </Teleport>\n</template>\n\n<script lang=\"ts\">\nimport type { PropType } from 'vue'\nimport {\n defineComponent,\n getCurrentInstance,\n onBeforeUnmount,\n onMounted,\n onUnmounted,\n ref,\n watch,\n watchEffect,\n} from 'vue'\n\nexport default defineComponent({\n name: 'BaseTeleport',\n props: {\n /** The element or css selector to which the component will be teleported. */\n target: {\n type: [String, Object] as PropType<string | Element>,\n required: true,\n },\n /**\n * The position relative to the target\n * - `beforebegin`: Before the target element.\n * - `afterbegin`: Inside the target element, before its first child.\n * - `beforeend`: Inside the target element, after its last child.\n * - `afterend`: After the target element.\n * - `onlychild`: Adds it as child and hides all other children of the target element.\n */\n position: {\n type: String as PropType<\n 'beforebegin' | 'afterbegin' | 'beforeend' | 'afterend' | 'onlychild'\n >,\n default: 'onlychild',\n },\n /** If disabled, the slot content will not be teleported */\n disabled: {\n type: Boolean,\n default: false,\n },\n },\n setup(props) {\n if (typeof document === 'undefined') {\n return { teleportHost: ref<Element>() }\n }\n\n const instance = getCurrentInstance()\n /** Hook where the slot content will be teleported to. */\n const teleportHost = ref<Element>()\n /** The page element where the teleport host will be inserted. */\n const targetElement = ref<Element>()\n let isIsolated = false\n\n // Before doing app.mount it is unknown if it will be mounted in a shadow so we need to wait.\n if (instance?.appContext.app._container) {\n createHost()\n } else {\n afterAppMount(createHost)\n }\n\n const targetAddedObserver = new MutationObserver(targetAdded)\n const targetRemovedObserver = new MutationObserver(targetRemoved)\n\n onUnmounted(() => {\n if (isIsolated && teleportHost.value) {\n ;(window as any).xCSSInjector.removeHost(teleportHost.value.shadowRoot)\n }\n })\n\n onBeforeUnmount(() => {\n targetAddedObserver.disconnect()\n targetRemovedObserver.disconnect()\n teleportHost.value?.remove()\n })\n\n // Handles target prop changes and init the observers accordingly.\n watch(\n () => props.target,\n newTarget => {\n targetAddedObserver.disconnect()\n targetRemovedObserver.disconnect()\n const target = typeof newTarget === 'string' ? document.querySelector(newTarget) : newTarget\n if (target?.isConnected) {\n targetAdded()\n } else {\n targetRemoved()\n }\n },\n { immediate: true },\n )\n\n // Updates the teleport host when props change.\n watchEffect(() => {\n if (!teleportHost.value) {\n return\n }\n if (props.disabled) {\n teleportHost.value.remove()\n return\n }\n teleportHost.value.className = `x-base-teleport x-base-teleport--${props.position}`\n\n if (!targetElement.value) {\n console.warn(`BaseTeleport: Target element \"${props.target}\" not found.`)\n return\n }\n const position = props.position === 'onlychild' ? 'beforeend' : props.position\n targetElement.value.insertAdjacentElement(position, teleportHost.value)\n })\n\n /** Checks if the target element exists in the DOM and updates the observers */\n function targetAdded() {\n let element =\n typeof props.target === 'string' ? document.querySelector(props.target) : props.target\n if (element?.isConnected) {\n targetAddedObserver.disconnect()\n targetElement.value = element\n while (element.parentElement) {\n element = element.parentElement\n targetRemovedObserver.observe(element, { childList: true })\n }\n }\n }\n\n /** Checks if the target was disconnected from the DOM and updates the observers */\n function targetRemoved() {\n if (targetElement.value && !targetElement.value.isConnected) {\n targetRemovedObserver.disconnect()\n targetAddedObserver.observe(document.body, { childList: true, subtree: true })\n targetElement.value = undefined\n }\n }\n\n /** Creates and sets the teleport host element */\n function createHost() {\n teleportHost.value = document.createElement('div')\n isIsolated = instance?.appContext.app._container instanceof ShadowRoot\n if (isIsolated) {\n teleportHost.value.attachShadow({ mode: 'open' })\n ;(window as any).xCSSInjector.addHost(teleportHost.value.shadowRoot)\n }\n }\n\n function afterAppMount(fn: () => void) {\n onMounted(() => setTimeout(fn, 0))\n }\n\n return { teleportHost }\n },\n})\n\n/** Teleport host styles should be injected outside our shadowRoots */\nif (typeof document !== 'undefined') {\n const css = document.createElement('style')\n css.textContent =\n ':has(> .x-base-teleport--onlychild) > *:not(.x-base-teleport) { display: none; }'\n document.head?.appendChild(css) ||\n document.addEventListener('DOMContentLoaded', () => document.head.appendChild(css))\n}\n</script>\n"],"names":["_openBlock","_Teleport","teleportHost","_renderSlot","_createCommentVNode"],"mappings":";;;;qBACE,IAEW,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,KAAA,EAAA,QAAA,EAAA;AAHb,EAAA,OAAA,IAAA,CAAA,YAAA,IAAAA,SAAA,gBACkDC,QAAcC,EAAAA;AAAAA,IAAe,GAAA,EAAA,CAAA;AAAA,IAAA,EAAA,EAAA,IAAA,CAAA,YAAA,CAAA,UAAA,IAAA,IAAA,CAAA,YAAA;IAC3E,QAAa,EAAA,IAAA,CAAA,QAAA;AAAA,GAAA,EAAA;AAFjB,IAAAC,UAAA,CAAA,IAAA,CAAA,MAAA,EAAA,SAAA,CAAA;AAAA,GAAA,EAAA,CAAA,EAAA,CAAA,IAAA,EAAA,UAAA,CAAA,CAAA,IAAAC,kBAAA,CAAA,MAAA,EAAA,IAAA,CAAA,CAAA;;;;;;"}
|
|
1
|
+
{"version":3,"file":"base-teleport.vue.js","sources":["../../../src/components/base-teleport.vue"],"sourcesContent":["<template>\n <Teleport v-if=\"teleportHost\" :to=\"teleportHost.shadowRoot ?? teleportHost\" :disabled>\n <slot></slot>\n </Teleport>\n</template>\n\n<script lang=\"ts\">\nimport type { PropType } from 'vue'\nimport {\n defineComponent,\n getCurrentInstance,\n onBeforeUnmount,\n onMounted,\n onUnmounted,\n ref,\n watch,\n watchEffect,\n} from 'vue'\n\nexport default defineComponent({\n name: 'BaseTeleport',\n props: {\n /** The element or css selector to which the component will be teleported. */\n target: {\n type: [String, Object] as PropType<string | Element>,\n required: true,\n },\n /**\n * The position relative to the target\n * - `beforebegin`: Before the target element.\n * - `afterbegin`: Inside the target element, before its first child.\n * - `beforeend`: Inside the target element, after its last child.\n * - `afterend`: After the target element.\n * - `onlychild`: Adds it as child and hides all other children of the target element.\n */\n position: {\n type: String as PropType<\n 'beforebegin' | 'afterbegin' | 'beforeend' | 'afterend' | 'onlychild'\n >,\n default: 'onlychild',\n },\n /** If disabled, the slot content will not be teleported */\n disabled: {\n type: Boolean,\n default: false,\n },\n },\n setup(props) {\n if (typeof document === 'undefined') {\n return { teleportHost: ref<Element>() }\n }\n\n const instance = getCurrentInstance()\n /** Hook where the slot content will be teleported to. */\n const teleportHost = ref<Element>()\n /** The page element where the teleport host will be inserted. */\n const targetElement = ref<Element>()\n let isIsolated = false\n\n // Before doing app.mount it is unknown if it will be mounted in a shadow so we need to wait.\n if (instance?.appContext.app._container) {\n createHost()\n } else {\n afterAppMount(createHost)\n }\n\n const targetAddedObserver = new MutationObserver(targetAdded)\n const targetRemovedObserver = new MutationObserver(targetRemoved)\n\n onUnmounted(() => {\n if (isIsolated && teleportHost.value) {\n ;(window as any).xCSSInjector.removeHost(teleportHost.value.shadowRoot)\n }\n })\n\n onBeforeUnmount(() => {\n targetAddedObserver.disconnect()\n targetRemovedObserver.disconnect()\n teleportHost.value?.remove()\n })\n\n // Handles target prop changes and init the observers accordingly.\n watch(\n () => props.target,\n newTarget => {\n targetAddedObserver.disconnect()\n targetRemovedObserver.disconnect()\n const target = typeof newTarget === 'string' ? document.querySelector(newTarget) : newTarget\n if (target?.isConnected) {\n targetAdded()\n } else {\n targetRemoved()\n }\n },\n { immediate: true },\n )\n\n // Updates the teleport host when props change.\n watchEffect(() => {\n if (!teleportHost.value) {\n return\n }\n if (props.disabled) {\n teleportHost.value.remove()\n return\n }\n teleportHost.value.className = `x-base-teleport x-base-teleport--${props.position}`\n\n if (!targetElement.value) {\n console.warn(`BaseTeleport: Target element \"${props.target}\" not found.`)\n return\n }\n const position = props.position === 'onlychild' ? 'beforeend' : props.position\n targetElement.value.insertAdjacentElement(position, teleportHost.value)\n })\n\n /** Checks if the target element exists in the DOM and updates the observers */\n function targetAdded() {\n let element =\n typeof props.target === 'string' ? document.querySelector(props.target) : props.target\n if (element?.isConnected) {\n targetAddedObserver.disconnect()\n targetElement.value = element\n while (element.parentElement) {\n element = element.parentElement\n targetRemovedObserver.observe(element, { childList: true })\n }\n }\n }\n\n /** Checks if the target was disconnected from the DOM and updates the observers */\n function targetRemoved() {\n if (targetElement.value && !targetElement.value.isConnected) {\n targetRemovedObserver.disconnect()\n targetAddedObserver.observe(document.body, { childList: true, subtree: true })\n targetElement.value = undefined\n }\n }\n\n /** Creates and sets the teleport host element */\n function createHost() {\n teleportHost.value = document.createElement('div')\n isIsolated = instance?.appContext.app._container instanceof ShadowRoot\n if (isIsolated) {\n teleportHost.value.attachShadow({ mode: 'open' })\n ;(window as any).xCSSInjector.addHost(teleportHost.value.shadowRoot)\n }\n }\n\n function afterAppMount(fn: () => void) {\n onMounted(() => setTimeout(fn, 0))\n }\n\n return { teleportHost }\n },\n})\n\n/** Teleport host styles should be injected outside our shadowRoots */\nif (typeof document !== 'undefined') {\n const css = document.createElement('style')\n css.textContent =\n ':has(> .x-base-teleport--onlychild) > *:not(.x-base-teleport) { display: none; }'\n document.head?.appendChild(css) ||\n document.addEventListener('DOMContentLoaded', () => document.head.appendChild(css))\n}\n</script>\n\n<docs lang=\"mdx\">\n## Example\n\nThe BaseTeleport component allows you to teleport its slot content to a specified target element in\nthe DOM. It provides flexibility in positioning the content relative to the target element and\nsupports shadow DOM integration.\n\n### Basic example\n\nTeleport content to a specific element in the DOM:\n\n```vue\n<template>\n <BaseTeleport target=\"#my-target\">\n <div>This content will be teleported.</div>\n </BaseTeleport>\n</template>\n```\n\n### Positioning options\n\nTeleport content inside the target element, before its first child:\n\n```vue\n<template>\n <BaseTeleport target=\"#my-target\" position=\"afterbegin\">\n <div>Teleported content at the beginning.</div>\n </BaseTeleport>\n</template>\n```\n\n### Disabled Teleport\n\nPrevent teleporting the content:\n\n```vue\n<template>\n <BaseTeleport target=\"#my-target\" :disabled=\"true\">\n <div>This content will not be teleported.</div>\n </BaseTeleport>\n</template>\n```\n\n### Notes\n\n- When using the `onlychild` position, all other children of the target element will be hidden.\n- The component supports shadow DOM integration, automatically handling style injection. Anyway, Empathy's custom CSS\n injector is required. Teleport depends on it to add the styles.\n</docs>\n"],"names":["_openBlock","_Teleport","teleportHost","_renderSlot","_createCommentVNode"],"mappings":";;;;qBACE,IAEW,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,KAAA,EAAA,QAAA,EAAA;AAHb,EAAA,OAAA,IAAA,CAAA,YAAA,IAAAA,SAAA,gBACkDC,QAAcC,EAAAA;AAAAA,IAAe,GAAA,EAAA,CAAA;AAAA,IAAA,EAAA,EAAA,IAAA,CAAA,YAAA,CAAA,UAAA,IAAA,IAAA,CAAA,YAAA;IAC3E,QAAa,EAAA,IAAA,CAAA,QAAA;AAAA,GAAA,EAAA;AAFjB,IAAAC,UAAA,CAAA,IAAA,CAAA,MAAA,EAAA,SAAA,CAAA;AAAA,GAAA,EAAA,CAAA,EAAA,CAAA,IAAA,EAAA,UAAA,CAAA,CAAA,IAAAC,kBAAA,CAAA,MAAA,EAAA,IAAA,CAAA,CAAA;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-teleport.vue2.js","sources":["../../../src/components/base-teleport.vue"],"sourcesContent":["<template>\n <Teleport v-if=\"teleportHost\" :to=\"teleportHost.shadowRoot ?? teleportHost\" :disabled>\n <slot></slot>\n </Teleport>\n</template>\n\n<script lang=\"ts\">\nimport type { PropType } from 'vue'\nimport {\n defineComponent,\n getCurrentInstance,\n onBeforeUnmount,\n onMounted,\n onUnmounted,\n ref,\n watch,\n watchEffect,\n} from 'vue'\n\nexport default defineComponent({\n name: 'BaseTeleport',\n props: {\n /** The element or css selector to which the component will be teleported. */\n target: {\n type: [String, Object] as PropType<string | Element>,\n required: true,\n },\n /**\n * The position relative to the target\n * - `beforebegin`: Before the target element.\n * - `afterbegin`: Inside the target element, before its first child.\n * - `beforeend`: Inside the target element, after its last child.\n * - `afterend`: After the target element.\n * - `onlychild`: Adds it as child and hides all other children of the target element.\n */\n position: {\n type: String as PropType<\n 'beforebegin' | 'afterbegin' | 'beforeend' | 'afterend' | 'onlychild'\n >,\n default: 'onlychild',\n },\n /** If disabled, the slot content will not be teleported */\n disabled: {\n type: Boolean,\n default: false,\n },\n },\n setup(props) {\n if (typeof document === 'undefined') {\n return { teleportHost: ref<Element>() }\n }\n\n const instance = getCurrentInstance()\n /** Hook where the slot content will be teleported to. */\n const teleportHost = ref<Element>()\n /** The page element where the teleport host will be inserted. */\n const targetElement = ref<Element>()\n let isIsolated = false\n\n // Before doing app.mount it is unknown if it will be mounted in a shadow so we need to wait.\n if (instance?.appContext.app._container) {\n createHost()\n } else {\n afterAppMount(createHost)\n }\n\n const targetAddedObserver = new MutationObserver(targetAdded)\n const targetRemovedObserver = new MutationObserver(targetRemoved)\n\n onUnmounted(() => {\n if (isIsolated && teleportHost.value) {\n ;(window as any).xCSSInjector.removeHost(teleportHost.value.shadowRoot)\n }\n })\n\n onBeforeUnmount(() => {\n targetAddedObserver.disconnect()\n targetRemovedObserver.disconnect()\n teleportHost.value?.remove()\n })\n\n // Handles target prop changes and init the observers accordingly.\n watch(\n () => props.target,\n newTarget => {\n targetAddedObserver.disconnect()\n targetRemovedObserver.disconnect()\n const target = typeof newTarget === 'string' ? document.querySelector(newTarget) : newTarget\n if (target?.isConnected) {\n targetAdded()\n } else {\n targetRemoved()\n }\n },\n { immediate: true },\n )\n\n // Updates the teleport host when props change.\n watchEffect(() => {\n if (!teleportHost.value) {\n return\n }\n if (props.disabled) {\n teleportHost.value.remove()\n return\n }\n teleportHost.value.className = `x-base-teleport x-base-teleport--${props.position}`\n\n if (!targetElement.value) {\n console.warn(`BaseTeleport: Target element \"${props.target}\" not found.`)\n return\n }\n const position = props.position === 'onlychild' ? 'beforeend' : props.position\n targetElement.value.insertAdjacentElement(position, teleportHost.value)\n })\n\n /** Checks if the target element exists in the DOM and updates the observers */\n function targetAdded() {\n let element =\n typeof props.target === 'string' ? document.querySelector(props.target) : props.target\n if (element?.isConnected) {\n targetAddedObserver.disconnect()\n targetElement.value = element\n while (element.parentElement) {\n element = element.parentElement\n targetRemovedObserver.observe(element, { childList: true })\n }\n }\n }\n\n /** Checks if the target was disconnected from the DOM and updates the observers */\n function targetRemoved() {\n if (targetElement.value && !targetElement.value.isConnected) {\n targetRemovedObserver.disconnect()\n targetAddedObserver.observe(document.body, { childList: true, subtree: true })\n targetElement.value = undefined\n }\n }\n\n /** Creates and sets the teleport host element */\n function createHost() {\n teleportHost.value = document.createElement('div')\n isIsolated = instance?.appContext.app._container instanceof ShadowRoot\n if (isIsolated) {\n teleportHost.value.attachShadow({ mode: 'open' })\n ;(window as any).xCSSInjector.addHost(teleportHost.value.shadowRoot)\n }\n }\n\n function afterAppMount(fn: () => void) {\n onMounted(() => setTimeout(fn, 0))\n }\n\n return { teleportHost }\n },\n})\n\n/** Teleport host styles should be injected outside our shadowRoots */\nif (typeof document !== 'undefined') {\n const css = document.createElement('style')\n css.textContent =\n ':has(> .x-base-teleport--onlychild) > *:not(.x-base-teleport) { display: none; }'\n document.head?.appendChild(css) ||\n document.addEventListener('DOMContentLoaded', () => document.head.appendChild(css))\n}\n</script>\n"],"names":[],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"base-teleport.vue2.js","sources":["../../../src/components/base-teleport.vue"],"sourcesContent":["<template>\n <Teleport v-if=\"teleportHost\" :to=\"teleportHost.shadowRoot ?? teleportHost\" :disabled>\n <slot></slot>\n </Teleport>\n</template>\n\n<script lang=\"ts\">\nimport type { PropType } from 'vue'\nimport {\n defineComponent,\n getCurrentInstance,\n onBeforeUnmount,\n onMounted,\n onUnmounted,\n ref,\n watch,\n watchEffect,\n} from 'vue'\n\nexport default defineComponent({\n name: 'BaseTeleport',\n props: {\n /** The element or css selector to which the component will be teleported. */\n target: {\n type: [String, Object] as PropType<string | Element>,\n required: true,\n },\n /**\n * The position relative to the target\n * - `beforebegin`: Before the target element.\n * - `afterbegin`: Inside the target element, before its first child.\n * - `beforeend`: Inside the target element, after its last child.\n * - `afterend`: After the target element.\n * - `onlychild`: Adds it as child and hides all other children of the target element.\n */\n position: {\n type: String as PropType<\n 'beforebegin' | 'afterbegin' | 'beforeend' | 'afterend' | 'onlychild'\n >,\n default: 'onlychild',\n },\n /** If disabled, the slot content will not be teleported */\n disabled: {\n type: Boolean,\n default: false,\n },\n },\n setup(props) {\n if (typeof document === 'undefined') {\n return { teleportHost: ref<Element>() }\n }\n\n const instance = getCurrentInstance()\n /** Hook where the slot content will be teleported to. */\n const teleportHost = ref<Element>()\n /** The page element where the teleport host will be inserted. */\n const targetElement = ref<Element>()\n let isIsolated = false\n\n // Before doing app.mount it is unknown if it will be mounted in a shadow so we need to wait.\n if (instance?.appContext.app._container) {\n createHost()\n } else {\n afterAppMount(createHost)\n }\n\n const targetAddedObserver = new MutationObserver(targetAdded)\n const targetRemovedObserver = new MutationObserver(targetRemoved)\n\n onUnmounted(() => {\n if (isIsolated && teleportHost.value) {\n ;(window as any).xCSSInjector.removeHost(teleportHost.value.shadowRoot)\n }\n })\n\n onBeforeUnmount(() => {\n targetAddedObserver.disconnect()\n targetRemovedObserver.disconnect()\n teleportHost.value?.remove()\n })\n\n // Handles target prop changes and init the observers accordingly.\n watch(\n () => props.target,\n newTarget => {\n targetAddedObserver.disconnect()\n targetRemovedObserver.disconnect()\n const target = typeof newTarget === 'string' ? document.querySelector(newTarget) : newTarget\n if (target?.isConnected) {\n targetAdded()\n } else {\n targetRemoved()\n }\n },\n { immediate: true },\n )\n\n // Updates the teleport host when props change.\n watchEffect(() => {\n if (!teleportHost.value) {\n return\n }\n if (props.disabled) {\n teleportHost.value.remove()\n return\n }\n teleportHost.value.className = `x-base-teleport x-base-teleport--${props.position}`\n\n if (!targetElement.value) {\n console.warn(`BaseTeleport: Target element \"${props.target}\" not found.`)\n return\n }\n const position = props.position === 'onlychild' ? 'beforeend' : props.position\n targetElement.value.insertAdjacentElement(position, teleportHost.value)\n })\n\n /** Checks if the target element exists in the DOM and updates the observers */\n function targetAdded() {\n let element =\n typeof props.target === 'string' ? document.querySelector(props.target) : props.target\n if (element?.isConnected) {\n targetAddedObserver.disconnect()\n targetElement.value = element\n while (element.parentElement) {\n element = element.parentElement\n targetRemovedObserver.observe(element, { childList: true })\n }\n }\n }\n\n /** Checks if the target was disconnected from the DOM and updates the observers */\n function targetRemoved() {\n if (targetElement.value && !targetElement.value.isConnected) {\n targetRemovedObserver.disconnect()\n targetAddedObserver.observe(document.body, { childList: true, subtree: true })\n targetElement.value = undefined\n }\n }\n\n /** Creates and sets the teleport host element */\n function createHost() {\n teleportHost.value = document.createElement('div')\n isIsolated = instance?.appContext.app._container instanceof ShadowRoot\n if (isIsolated) {\n teleportHost.value.attachShadow({ mode: 'open' })\n ;(window as any).xCSSInjector.addHost(teleportHost.value.shadowRoot)\n }\n }\n\n function afterAppMount(fn: () => void) {\n onMounted(() => setTimeout(fn, 0))\n }\n\n return { teleportHost }\n },\n})\n\n/** Teleport host styles should be injected outside our shadowRoots */\nif (typeof document !== 'undefined') {\n const css = document.createElement('style')\n css.textContent =\n ':has(> .x-base-teleport--onlychild) > *:not(.x-base-teleport) { display: none; }'\n document.head?.appendChild(css) ||\n document.addEventListener('DOMContentLoaded', () => document.head.appendChild(css))\n}\n</script>\n\n<docs lang=\"mdx\">\n## Example\n\nThe BaseTeleport component allows you to teleport its slot content to a specified target element in\nthe DOM. It provides flexibility in positioning the content relative to the target element and\nsupports shadow DOM integration.\n\n### Basic example\n\nTeleport content to a specific element in the DOM:\n\n```vue\n<template>\n <BaseTeleport target=\"#my-target\">\n <div>This content will be teleported.</div>\n </BaseTeleport>\n</template>\n```\n\n### Positioning options\n\nTeleport content inside the target element, before its first child:\n\n```vue\n<template>\n <BaseTeleport target=\"#my-target\" position=\"afterbegin\">\n <div>Teleported content at the beginning.</div>\n </BaseTeleport>\n</template>\n```\n\n### Disabled Teleport\n\nPrevent teleporting the content:\n\n```vue\n<template>\n <BaseTeleport target=\"#my-target\" :disabled=\"true\">\n <div>This content will not be teleported.</div>\n </BaseTeleport>\n</template>\n```\n\n### Notes\n\n- When using the `onlychild` position, all other children of the target element will be hidden.\n- The component supports shadow DOM integration, automatically handling style injection. Anyway, Empathy's custom CSS\n injector is required. Teleport depends on it to add the styles.\n</docs>\n"],"names":[],"mappings":";;AAmBA,gBAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,cAAc;AACpB,IAAA,KAAK,EAAE;;AAEL,QAAA,MAAM,EAAE;AACN,YAAA,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAA+B;AACpD,YAAA,QAAQ,EAAE,IAAI;AACf,SAAA;AACD;;;;;;;AAOE;AACF,QAAA,QAAQ,EAAE;AACR,YAAA,IAAI,EAAE,MAEL;AACD,YAAA,OAAO,EAAE,WAAW;AACrB,SAAA;;AAED,QAAA,QAAQ,EAAE;AACR,YAAA,IAAI,EAAE,OAAO;AACb,YAAA,OAAO,EAAE,KAAK;AACf,SAAA;AACF,KAAA;AACD,IAAA,KAAK,CAAC,KAAK,EAAA;AACT,QAAA,IAAI,OAAO,QAAS,KAAI,WAAW,EAAE;AACnC,YAAA,OAAO,EAAE,YAAY,EAAE,GAAG,EAAY,EAAA,CAAA;AACxC,SAAA;AAEA,QAAA,MAAM,QAAO,GAAI,kBAAkB,EAAC,CAAA;;AAEpC,QAAA,MAAM,YAAW,GAAI,GAAG,EAAU,CAAA;;AAElC,QAAA,MAAM,aAAY,GAAI,GAAG,EAAU,CAAA;QACnC,IAAI,UAAW,GAAE,KAAI,CAAA;;AAGrB,QAAA,IAAI,QAAQ,EAAE,UAAU,CAAC,GAAG,CAAC,UAAU,EAAE;AACvC,YAAA,UAAU,EAAC,CAAA;AACX,SAAA;AAAK,aAAA;YACL,aAAa,CAAC,UAAU,CAAA,CAAA;AAC1B,SAAA;AAEA,QAAA,MAAM,mBAAkB,GAAI,IAAI,gBAAgB,CAAC,WAAW,CAAA,CAAA;AAC5D,QAAA,MAAM,qBAAoB,GAAI,IAAI,gBAAgB,CAAC,aAAa,CAAA,CAAA;QAEhE,WAAW,CAAC,MAAM;AAChB,YAAA,IAAI,UAAW,IAAG,YAAY,CAAC,KAAK,EAAE;gBAClC,MAAc,CAAC,YAAY,CAAC,UAAU,CAAC,YAAY,CAAC,KAAK,CAAC,UAAU,CAAA,CAAA;AACxE,aAAA;AACF,SAAC,CAAA,CAAA;QAED,eAAe,CAAC,MAAM;YACpB,mBAAmB,CAAC,UAAU,EAAC,CAAA;YAC/B,qBAAqB,CAAC,UAAU,EAAC,CAAA;AACjC,YAAA,YAAY,CAAC,KAAK,EAAE,MAAM,EAAC,CAAA;AAC7B,SAAC,CAAA,CAAA;;QAGD,KAAK,CACH,MAAM,KAAK,CAAC,MAAM,EAClB,SAAU,IAAG;YACX,mBAAmB,CAAC,UAAU,EAAC,CAAA;YAC/B,qBAAqB,CAAC,UAAU,EAAC,CAAA;AACjC,YAAA,MAAM,MAAK,GAAI,OAAO,cAAc,WAAW,QAAQ,CAAC,aAAa,CAAC,SAAS,CAAE,GAAE,SAAQ,CAAA;YAC3F,IAAI,MAAM,EAAE,WAAW,EAAE;AACvB,gBAAA,WAAW,EAAC,CAAA;AACZ,aAAA;AAAK,iBAAA;AACL,gBAAA,aAAa,EAAC,CAAA;AAChB,aAAA;AACF,SAAC,EACD,EAAE,SAAS,EAAE,MAAM,CACrB,CAAA;;QAGA,WAAW,CAAC,MAAM;AAChB,YAAA,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE;gBACvB,OAAK;AACP,aAAA;YACA,IAAI,KAAK,CAAC,QAAQ,EAAE;AAClB,gBAAA,YAAY,CAAC,KAAK,CAAC,MAAM,EAAC,CAAA;gBAC1B,OAAK;AACP,aAAA;YACA,YAAY,CAAC,KAAK,CAAC,SAAU,GAAE,oCAAoC,KAAK,CAAC,QAAQ,CAAA,CAAC,CAAA;AAElF,YAAA,IAAI,CAAC,aAAa,CAAC,KAAK,EAAE;gBACxB,OAAO,CAAC,IAAI,CAAC,CAAA,8BAAA,EAAiC,KAAK,CAAC,MAAM,CAAc,YAAA,CAAA,CAAA,CAAA;gBACxE,OAAK;AACP,aAAA;AACA,YAAA,MAAM,QAAO,GAAI,KAAK,CAAC,QAAS,KAAI,WAAU,GAAI,WAAY,GAAE,KAAK,CAAC,QAAO,CAAA;YAC7E,aAAa,CAAC,KAAK,CAAC,qBAAqB,CAAC,QAAQ,EAAE,YAAY,CAAC,KAAK,CAAA,CAAA;AACxE,SAAC,CAAA,CAAA;;AAGD,QAAA,SAAS,WAAW,GAAA;YAClB,IAAI,OAAQ,GACV,OAAO,KAAK,CAAC,MAAO,KAAI,QAAO,GAAI,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,MAAM,CAAA,GAAI,KAAK,CAAC,MAAK,CAAA;YACvF,IAAI,OAAO,EAAE,WAAW,EAAE;gBACxB,mBAAmB,CAAC,UAAU,EAAC,CAAA;AAC/B,gBAAA,aAAa,CAAC,KAAM,GAAE,OAAM,CAAA;gBAC5B,OAAO,OAAO,CAAC,aAAa,EAAE;AAC5B,oBAAA,OAAQ,GAAE,OAAO,CAAC,aAAY,CAAA;oBAC9B,qBAAqB,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,IAAG,EAAG,CAAA,CAAA;AAC5D,iBAAA;AACF,aAAA;SACF;;AAGA,QAAA,SAAS,aAAa,GAAA;YACpB,IAAI,aAAa,CAAC,KAAI,IAAK,CAAC,aAAa,CAAC,KAAK,CAAC,WAAW,EAAE;gBAC3D,qBAAqB,CAAC,UAAU,EAAC,CAAA;AACjC,gBAAA,mBAAmB,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,CAAA,CAAA;AAC7E,gBAAA,aAAa,CAAC,KAAI,GAAI,SAAQ,CAAA;AAChC,aAAA;SACF;;AAGA,QAAA,SAAS,UAAU,GAAA;YACjB,YAAY,CAAC,QAAQ,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAA,CAAA;YACjD,UAAW,GAAE,QAAQ,EAAE,UAAU,CAAC,GAAG,CAAC,UAAS,YAAa,UAAS,CAAA;AACrE,YAAA,IAAI,UAAU,EAAE;gBACd,YAAY,CAAC,KAAK,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAA,CAC/C;gBAAC,MAAc,CAAC,YAAY,CAAC,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,UAAU,CAAA,CAAA;AACrE,aAAA;SACF;QAEA,SAAS,aAAa,CAAC,EAAc,EAAA;YACnC,SAAS,CAAC,MAAM,UAAU,CAAC,EAAE,EAAE,CAAC,CAAC,CAAA,CAAA;SACnC;QAEA,OAAO,EAAE,YAAa,EAAA,CAAA;KACvB;AACF,CAAA,CAAA,CAAA;AAED;AACA,IAAI,OAAO,QAAS,KAAI,WAAW,EAAE;IACnC,MAAM,GAAI,GAAE,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAA,CAAA;AAC1C,IAAA,GAAG,CAAC,WAAY;AACd,QAAA,kFAAiF,CAAA;AACnF,IAAA,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC,GAAG;AAC5B,QAAA,QAAQ,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,MAAM,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAA,CAAA;AACtF;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/related-prompts/store/module.ts"],"sourcesContent":["import type { RelatedPromptsXStoreModule } from './types'\nimport { setQuery } from '../../../store/utils/query.utils'\nimport { setStatus } from '../../../store/utils/status-store.utils'\nimport {\n cancelFetchAndSaveRelatedPrompts,\n fetchAndSaveRelatedPrompts,\n} from './actions/fetch-and-save-related-prompts.action'\nimport { fetchRelatedPrompts } from './actions/fetch-related-prompts.action'\nimport { setUrlParams } from './actions/set-url-params.action'\nimport { query } from './getters/related-prompts-query.getter'\nimport { request } from './getters/request.getter'\n\n/**\n * {@link XStoreModule} For the related prompt module.\n *\n * @internal\n */\nexport const relatedPromptsXStoreModule: RelatedPromptsXStoreModule = {\n state: () => ({\n query: '',\n relatedPrompts: [],\n relatedPromptsFiltered: [],\n selectedPrompt: -1,\n selectedQuery: -1,\n status: 'initial',\n params: {},\n relatedTags: [],\n }),\n getters: {\n request,\n query,\n },\n mutations: {\n setStatus,\n setQuery,\n setParams(state, params) {\n state.params = params\n },\n setRelatedPromptsProducts(state, products) {\n state.relatedPrompts = products\n },\n setFilteredRelatedPromptsProducts(state, products) {\n state.relatedPromptsFiltered = products\n },\n setSelectedPrompt(state, selectedPrompt) {\n state.selectedPrompt = state.selectedPrompt === selectedPrompt ? -1 : selectedPrompt\n },\n setSelectedQuery(state, selectedQuery) {\n state.selectedQuery = selectedQuery\n },\n resetRelatedPromptsState(state) {\n state.selectedQuery = -1\n state.selectedPrompt = -1\n state.relatedPrompts = []\n },\n resetSelectedPrompt(state) {\n state.selectedPrompt = -1\n },\n setRelatedPromptsRelatedTags(state, relatedTags) {\n state.relatedTags = relatedTags\n },\n },\n actions: {\n fetchRelatedPrompts,\n fetchAndSaveRelatedPrompts,\n cancelFetchAndSaveRelatedPrompts,\n setUrlParams,\n },\n}\n"],"names":[],"mappings":";;;;;;;;AAYA;;;;AAIG;AACU,MAAA,0BAA0B,GAA+B;AACpE,IAAA,KAAK,EAAE,OAAO;AACZ,QAAA,KAAK,EAAE,EAAE;AACT,QAAA,cAAc,EAAE,EAAE;AAClB,QAAA,sBAAsB,EAAE,EAAE;QAC1B,cAAc,EAAE,CAAC,CAAC;QAClB,aAAa,EAAE,CAAC,CAAC;AACjB,QAAA,MAAM,EAAE,SAAS;AACjB,QAAA,MAAM,EAAE,EAAE;AACV,QAAA,WAAW,EAAE,EAAE;KAChB,CAAC;AACF,IAAA,OAAO,EAAE;QACP,OAAO;QACP,KAAK;AACN,KAAA;AACD,IAAA,SAAS,EAAE;QACT,SAAS;QACT,QAAQ;QACR,SAAS,CAAC,KAAK,EAAE,MAAM,EAAA;AACrB,YAAA,KAAK,CAAC,MAAM,GAAG,MAAM,CAAA;SACtB;QACD,yBAAyB,CAAC,KAAK,EAAE,QAAQ,EAAA;AACvC,YAAA,KAAK,CAAC,cAAc,GAAG,QAAQ,CAAA;SAChC;QACD,iCAAiC,CAAC,KAAK,EAAE,QAAQ,EAAA;AAC/C,YAAA,KAAK,CAAC,sBAAsB,GAAG,QAAQ,CAAA;SACxC;QACD,iBAAiB,CAAC,KAAK,EAAE,cAAc,EAAA;AACrC,YAAA,KAAK,CAAC,cAAc,GAAG,KAAK,CAAC,cAAc,KAAK,cAAc,GAAG,CAAC,CAAC,GAAG,cAAc,CAAA;SACrF;QACD,gBAAgB,CAAC,KAAK,EAAE,aAAa,EAAA;AACnC,YAAA,KAAK,CAAC,aAAa,GAAG,aAAa,CAAA;SACpC;AACD,QAAA,wBAAwB,CAAC,KAAK,EAAA;AAC5B,YAAA,KAAK,CAAC,aAAa,GAAG,CAAC,CAAC,CAAA;AACxB,YAAA,KAAK,CAAC,cAAc,GAAG,CAAC,CAAC,CAAA;AACzB,YAAA,KAAK,CAAC,cAAc,GAAG,EAAE,CAAA;
|
|
1
|
+
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/related-prompts/store/module.ts"],"sourcesContent":["import type { RelatedPromptsXStoreModule } from './types'\nimport { setQuery } from '../../../store/utils/query.utils'\nimport { setStatus } from '../../../store/utils/status-store.utils'\nimport {\n cancelFetchAndSaveRelatedPrompts,\n fetchAndSaveRelatedPrompts,\n} from './actions/fetch-and-save-related-prompts.action'\nimport { fetchRelatedPrompts } from './actions/fetch-related-prompts.action'\nimport { setUrlParams } from './actions/set-url-params.action'\nimport { query } from './getters/related-prompts-query.getter'\nimport { request } from './getters/request.getter'\n\n/**\n * {@link XStoreModule} For the related prompt module.\n *\n * @internal\n */\nexport const relatedPromptsXStoreModule: RelatedPromptsXStoreModule = {\n state: () => ({\n query: '',\n relatedPrompts: [],\n relatedPromptsFiltered: [],\n selectedPrompt: -1,\n selectedQuery: -1,\n status: 'initial',\n params: {},\n relatedTags: [],\n }),\n getters: {\n request,\n query,\n },\n mutations: {\n setStatus,\n setQuery,\n setParams(state, params) {\n state.params = params\n },\n setRelatedPromptsProducts(state, products) {\n state.relatedPrompts = products\n },\n setFilteredRelatedPromptsProducts(state, products) {\n state.relatedPromptsFiltered = products\n },\n setSelectedPrompt(state, selectedPrompt) {\n state.selectedPrompt = state.selectedPrompt === selectedPrompt ? -1 : selectedPrompt\n },\n setSelectedQuery(state, selectedQuery) {\n state.selectedQuery = selectedQuery\n },\n resetRelatedPromptsState(state) {\n state.selectedQuery = -1\n state.selectedPrompt = -1\n state.relatedPrompts = []\n state.relatedPromptsFiltered = []\n },\n resetSelectedPrompt(state) {\n state.selectedPrompt = -1\n },\n setRelatedPromptsRelatedTags(state, relatedTags) {\n state.relatedTags = relatedTags\n },\n },\n actions: {\n fetchRelatedPrompts,\n fetchAndSaveRelatedPrompts,\n cancelFetchAndSaveRelatedPrompts,\n setUrlParams,\n },\n}\n"],"names":[],"mappings":";;;;;;;;AAYA;;;;AAIG;AACU,MAAA,0BAA0B,GAA+B;AACpE,IAAA,KAAK,EAAE,OAAO;AACZ,QAAA,KAAK,EAAE,EAAE;AACT,QAAA,cAAc,EAAE,EAAE;AAClB,QAAA,sBAAsB,EAAE,EAAE;QAC1B,cAAc,EAAE,CAAC,CAAC;QAClB,aAAa,EAAE,CAAC,CAAC;AACjB,QAAA,MAAM,EAAE,SAAS;AACjB,QAAA,MAAM,EAAE,EAAE;AACV,QAAA,WAAW,EAAE,EAAE;KAChB,CAAC;AACF,IAAA,OAAO,EAAE;QACP,OAAO;QACP,KAAK;AACN,KAAA;AACD,IAAA,SAAS,EAAE;QACT,SAAS;QACT,QAAQ;QACR,SAAS,CAAC,KAAK,EAAE,MAAM,EAAA;AACrB,YAAA,KAAK,CAAC,MAAM,GAAG,MAAM,CAAA;SACtB;QACD,yBAAyB,CAAC,KAAK,EAAE,QAAQ,EAAA;AACvC,YAAA,KAAK,CAAC,cAAc,GAAG,QAAQ,CAAA;SAChC;QACD,iCAAiC,CAAC,KAAK,EAAE,QAAQ,EAAA;AAC/C,YAAA,KAAK,CAAC,sBAAsB,GAAG,QAAQ,CAAA;SACxC;QACD,iBAAiB,CAAC,KAAK,EAAE,cAAc,EAAA;AACrC,YAAA,KAAK,CAAC,cAAc,GAAG,KAAK,CAAC,cAAc,KAAK,cAAc,GAAG,CAAC,CAAC,GAAG,cAAc,CAAA;SACrF;QACD,gBAAgB,CAAC,KAAK,EAAE,aAAa,EAAA;AACnC,YAAA,KAAK,CAAC,aAAa,GAAG,aAAa,CAAA;SACpC;AACD,QAAA,wBAAwB,CAAC,KAAK,EAAA;AAC5B,YAAA,KAAK,CAAC,aAAa,GAAG,CAAC,CAAC,CAAA;AACxB,YAAA,KAAK,CAAC,cAAc,GAAG,CAAC,CAAC,CAAA;AACzB,YAAA,KAAK,CAAC,cAAc,GAAG,EAAE,CAAA;AACzB,YAAA,KAAK,CAAC,sBAAsB,GAAG,EAAE,CAAA;SAClC;AACD,QAAA,mBAAmB,CAAC,KAAK,EAAA;AACvB,YAAA,KAAK,CAAC,cAAc,GAAG,CAAC,CAAC,CAAA;SAC1B;QACD,4BAA4B,CAAC,KAAK,EAAE,WAAW,EAAA;AAC7C,YAAA,KAAK,CAAC,WAAW,GAAG,WAAW,CAAA;SAChC;AACF,KAAA;AACD,IAAA,OAAO,EAAE;QACP,mBAAmB;QACnB,0BAA0B;QAC1B,gCAAgC;QAChC,YAAY;AACb,KAAA;;;;;"}
|
|
@@ -28,6 +28,8 @@ const setRelatedPrompt = wireCommit('setSelectedPrompt');
|
|
|
28
28
|
const setRelatedPromptsRelatedTags = wireCommit('setRelatedPromptsRelatedTags');
|
|
29
29
|
/** Fetches and saves the related prompts response. */
|
|
30
30
|
const fetchAndSaveRelatedPrompts = wireDispatch('fetchAndSaveRelatedPrompts');
|
|
31
|
+
/** Fetches the same request and saves the related prompts response. */
|
|
32
|
+
const reloadRelatedPromptsRequestWire = wireDispatch('fetchAndSaveRelatedPrompts', ({ getters }) => getters.request);
|
|
31
33
|
/** Cancels the fetch and save related prompts response. */
|
|
32
34
|
const cancelFetchAndSaveRelatedPrompts = wireDispatchWithoutPayload('cancelFetchAndSaveRelatedPrompts');
|
|
33
35
|
/** Resets the related prompts state. */
|
|
@@ -76,6 +78,10 @@ const relatedPromptsWiring = createWiring({
|
|
|
76
78
|
SelectedRelatedTagsChanged: {
|
|
77
79
|
setRelatedPromptsRelatedTags,
|
|
78
80
|
},
|
|
81
|
+
ReloadRelatedPromptsRequested: {
|
|
82
|
+
resetRelatedPromptsState,
|
|
83
|
+
reloadRelatedPromptsRequestWire,
|
|
84
|
+
},
|
|
79
85
|
});
|
|
80
86
|
|
|
81
87
|
export { relatedPromptsWiring };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wiring.js","sources":["../../../../src/x-modules/related-prompts/wiring.ts"],"sourcesContent":["import {\n namespacedWireCommit,\n namespacedWireCommitWithoutPayload,\n namespacedWireDispatch,\n namespacedWireDispatchWithoutPayload,\n} from '../../wiring/namespaced-wires.factory'\nimport { filter } from '../../wiring/wires.operators'\nimport { createWiring } from '../../wiring/wiring.utils'\n\n/** `relatedPrompts` XModule name. */\nconst moduleName = 'relatedPrompts'\n/** WireCommit for RelatedPromptsXModule. */\nconst wireCommit = namespacedWireCommit(moduleName)\n/** WireCommitWithoutPayload for RelatedPromptsXModule. */\nconst wireCommitWithoutPayload = namespacedWireCommitWithoutPayload(moduleName)\n/** WireDispatch for RelatedPromptsXModule.*/\nconst wireDispatch = namespacedWireDispatch(moduleName)\n/** WireDispatchWithoutPayload for RelatedPromptsXModule. */\nconst wireDispatchWithoutPayload = namespacedWireDispatchWithoutPayload(moduleName)\n\n/** Sets the related prompts state from URL data. */\nconst setUrlParams = wireDispatch('setUrlParams')\n/** Sets the related prompts state `params`. */\nconst setExtraParams = wireCommit('setParams')\n\n/** Sets the related prompts state `query`. */\nconst setRelatedPromptsQuery = wireCommit('setQuery')\n/** Sets the related prompts state `query` from the payload. */\nconst setRelatedPromptsQueryFromPreview = wireCommit(\n 'setQuery',\n ({ eventPayload: { query } }) => query,\n)\n/** Sets the related prompts state `selectedQuery`. */\nconst setRelatedPromptQuery = wireCommit('setSelectedQuery')\n/** Sets the related prompts state `selectedPrompt`. */\nconst setRelatedPrompt = wireCommit('setSelectedPrompt')\n/** Sets the related prompts state `relatedTags`.*/\nconst setRelatedPromptsRelatedTags = wireCommit('setRelatedPromptsRelatedTags')\n/** Fetches and saves the related prompts response. */\nconst fetchAndSaveRelatedPrompts = wireDispatch('fetchAndSaveRelatedPrompts')\n/** Cancels the fetch and save related prompts response. */\nconst cancelFetchAndSaveRelatedPrompts = wireDispatchWithoutPayload(\n 'cancelFetchAndSaveRelatedPrompts',\n)\n\n/** Resets the related prompts state. */\nconst resetRelatedPromptsState = wireCommitWithoutPayload('resetRelatedPromptsState')\n/** Resets the selected related prompt number. */\nconst resetRelatedPrompt = wireCommitWithoutPayload('resetSelectedPrompt')\n\n/**\n * Wiring configuration for the {@link RelatedPromptsXModule | related prompts module}.\n *\n * @internal\n */\nexport const relatedPromptsWiring = createWiring({\n ParamsLoadedFromUrl: {\n setUrlParams,\n },\n ExtraParamsChanged: {\n setExtraParams,\n },\n UserAcceptedAQuery: {\n setRelatedPromptsQuery,\n resetRelatedPrompt,\n },\n UserAcceptedAQueryPreview: {\n setRelatedPromptsQueryFromPreview,\n resetRelatedPrompt,\n },\n UserClearedQuery: {\n cancelFetchAndSaveRelatedPrompts,\n resetRelatedPromptsState,\n setRelatedPromptsQuery,\n },\n RelatedPromptsRequestUpdated: {\n fetchAndSaveRelatedPrompts,\n },\n UserSelectedARelatedPrompt: {\n setRelatedPrompt,\n },\n UserSelectedARelatedPromptQuery: {\n setRelatedPromptQuery,\n },\n SearchRequestChanged: {\n resetRelatedPrompt: filter(\n resetRelatedPrompt,\n // Avoid reset selected prompt just after restored from URL with ParamsLoadedFromUrl event\n ({ store }) => store.state.x.search.origin !== 'url:external',\n ),\n },\n SelectedRelatedTagsChanged: {\n setRelatedPromptsRelatedTags,\n },\n})\n"],"names":[],"mappings":";;;;AASA;AACA,MAAM,UAAU,GAAG,gBAAgB,CAAA;AACnC;AACA,MAAM,UAAU,GAAG,oBAAoB,CAAC,UAAU,CAAC,CAAA;AACnD;AACA,MAAM,wBAAwB,GAAG,kCAAkC,CAAC,UAAU,CAAC,CAAA;AAC/E;AACA,MAAM,YAAY,GAAG,sBAAsB,CAAC,UAAU,CAAC,CAAA;AACvD;AACA,MAAM,0BAA0B,GAAG,oCAAoC,CAAC,UAAU,CAAC,CAAA;AAEnF;AACA,MAAM,YAAY,GAAG,YAAY,CAAC,cAAc,CAAC,CAAA;AACjD;AACA,MAAM,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC,CAAA;AAE9C;AACA,MAAM,sBAAsB,GAAG,UAAU,CAAC,UAAU,CAAC,CAAA;AACrD;AACA,MAAM,iCAAiC,GAAG,UAAU,CAClD,UAAU,EACV,CAAC,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,KAAK,CACvC,CAAA;AACD;AACA,MAAM,qBAAqB,GAAG,UAAU,CAAC,kBAAkB,CAAC,CAAA;AAC5D;AACA,MAAM,gBAAgB,GAAG,UAAU,CAAC,mBAAmB,CAAC,CAAA;AACxD;AACA,MAAM,4BAA4B,GAAG,UAAU,CAAC,8BAA8B,CAAC,CAAA;AAC/E;AACA,MAAM,0BAA0B,GAAG,YAAY,CAAC,4BAA4B,CAAC,CAAA;AAC7E;AACA,MAAM,gCAAgC,GAAG,0BAA0B,CACjE,kCAAkC,CACnC,CAAA;AAED;AACA,MAAM,wBAAwB,GAAG,wBAAwB,CAAC,0BAA0B,CAAC,CAAA;AACrF;AACA,MAAM,kBAAkB,GAAG,wBAAwB,CAAC,qBAAqB,CAAC,CAAA;AAE1E;;;;AAIG;AACI,MAAM,oBAAoB,GAAG,YAAY,CAAC;AAC/C,IAAA,mBAAmB,EAAE;QACnB,YAAY;AACb,KAAA;AACD,IAAA,kBAAkB,EAAE;QAClB,cAAc;AACf,KAAA;AACD,IAAA,kBAAkB,EAAE;QAClB,sBAAsB;QACtB,kBAAkB;AACnB,KAAA;AACD,IAAA,yBAAyB,EAAE;QACzB,iCAAiC;QACjC,kBAAkB;AACnB,KAAA;AACD,IAAA,gBAAgB,EAAE;QAChB,gCAAgC;QAChC,wBAAwB;QACxB,sBAAsB;AACvB,KAAA;AACD,IAAA,4BAA4B,EAAE;QAC5B,0BAA0B;AAC3B,KAAA;AACD,IAAA,0BAA0B,EAAE;QAC1B,gBAAgB;AACjB,KAAA;AACD,IAAA,+BAA+B,EAAE;QAC/B,qBAAqB;AACtB,KAAA;AACD,IAAA,oBAAoB,EAAE;QACpB,kBAAkB,EAAE,MAAM,CACxB,kBAAkB;;AAElB,QAAA,CAAC,EAAE,KAAK,EAAE,KAAK,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,KAAK,cAAc,CAC9D;AACF,KAAA;AACD,IAAA,0BAA0B,EAAE;QAC1B,4BAA4B;AAC7B,KAAA;AACF,CAAA;;;;"}
|
|
1
|
+
{"version":3,"file":"wiring.js","sources":["../../../../src/x-modules/related-prompts/wiring.ts"],"sourcesContent":["import {\n namespacedWireCommit,\n namespacedWireCommitWithoutPayload,\n namespacedWireDispatch,\n namespacedWireDispatchWithoutPayload,\n} from '../../wiring/namespaced-wires.factory'\nimport { filter } from '../../wiring/wires.operators'\nimport { createWiring } from '../../wiring/wiring.utils'\n\n/** `relatedPrompts` XModule name. */\nconst moduleName = 'relatedPrompts'\n/** WireCommit for RelatedPromptsXModule. */\nconst wireCommit = namespacedWireCommit(moduleName)\n/** WireCommitWithoutPayload for RelatedPromptsXModule. */\nconst wireCommitWithoutPayload = namespacedWireCommitWithoutPayload(moduleName)\n/** WireDispatch for RelatedPromptsXModule.*/\nconst wireDispatch = namespacedWireDispatch(moduleName)\n/** WireDispatchWithoutPayload for RelatedPromptsXModule. */\nconst wireDispatchWithoutPayload = namespacedWireDispatchWithoutPayload(moduleName)\n\n/** Sets the related prompts state from URL data. */\nconst setUrlParams = wireDispatch('setUrlParams')\n/** Sets the related prompts state `params`. */\nconst setExtraParams = wireCommit('setParams')\n\n/** Sets the related prompts state `query`. */\nconst setRelatedPromptsQuery = wireCommit('setQuery')\n/** Sets the related prompts state `query` from the payload. */\nconst setRelatedPromptsQueryFromPreview = wireCommit(\n 'setQuery',\n ({ eventPayload: { query } }) => query,\n)\n/** Sets the related prompts state `selectedQuery`. */\nconst setRelatedPromptQuery = wireCommit('setSelectedQuery')\n/** Sets the related prompts state `selectedPrompt`. */\nconst setRelatedPrompt = wireCommit('setSelectedPrompt')\n/** Sets the related prompts state `relatedTags`.*/\nconst setRelatedPromptsRelatedTags = wireCommit('setRelatedPromptsRelatedTags')\n/** Fetches and saves the related prompts response. */\nconst fetchAndSaveRelatedPrompts = wireDispatch('fetchAndSaveRelatedPrompts')\n/** Fetches the same request and saves the related prompts response. */\nconst reloadRelatedPromptsRequestWire = wireDispatch(\n 'fetchAndSaveRelatedPrompts',\n ({ getters }) => getters.request,\n)\n/** Cancels the fetch and save related prompts response. */\nconst cancelFetchAndSaveRelatedPrompts = wireDispatchWithoutPayload(\n 'cancelFetchAndSaveRelatedPrompts',\n)\n\n/** Resets the related prompts state. */\nconst resetRelatedPromptsState = wireCommitWithoutPayload('resetRelatedPromptsState')\n/** Resets the selected related prompt number. */\nconst resetRelatedPrompt = wireCommitWithoutPayload('resetSelectedPrompt')\n\n/**\n * Wiring configuration for the {@link RelatedPromptsXModule | related prompts module}.\n *\n * @internal\n */\nexport const relatedPromptsWiring = createWiring({\n ParamsLoadedFromUrl: {\n setUrlParams,\n },\n ExtraParamsChanged: {\n setExtraParams,\n },\n UserAcceptedAQuery: {\n setRelatedPromptsQuery,\n resetRelatedPrompt,\n },\n UserAcceptedAQueryPreview: {\n setRelatedPromptsQueryFromPreview,\n resetRelatedPrompt,\n },\n UserClearedQuery: {\n cancelFetchAndSaveRelatedPrompts,\n resetRelatedPromptsState,\n setRelatedPromptsQuery,\n },\n RelatedPromptsRequestUpdated: {\n fetchAndSaveRelatedPrompts,\n },\n UserSelectedARelatedPrompt: {\n setRelatedPrompt,\n },\n UserSelectedARelatedPromptQuery: {\n setRelatedPromptQuery,\n },\n SearchRequestChanged: {\n resetRelatedPrompt: filter(\n resetRelatedPrompt,\n // Avoid reset selected prompt just after restored from URL with ParamsLoadedFromUrl event\n ({ store }) => store.state.x.search.origin !== 'url:external',\n ),\n },\n SelectedRelatedTagsChanged: {\n setRelatedPromptsRelatedTags,\n },\n ReloadRelatedPromptsRequested: {\n resetRelatedPromptsState,\n reloadRelatedPromptsRequestWire,\n },\n})\n"],"names":[],"mappings":";;;;AASA;AACA,MAAM,UAAU,GAAG,gBAAgB,CAAA;AACnC;AACA,MAAM,UAAU,GAAG,oBAAoB,CAAC,UAAU,CAAC,CAAA;AACnD;AACA,MAAM,wBAAwB,GAAG,kCAAkC,CAAC,UAAU,CAAC,CAAA;AAC/E;AACA,MAAM,YAAY,GAAG,sBAAsB,CAAC,UAAU,CAAC,CAAA;AACvD;AACA,MAAM,0BAA0B,GAAG,oCAAoC,CAAC,UAAU,CAAC,CAAA;AAEnF;AACA,MAAM,YAAY,GAAG,YAAY,CAAC,cAAc,CAAC,CAAA;AACjD;AACA,MAAM,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC,CAAA;AAE9C;AACA,MAAM,sBAAsB,GAAG,UAAU,CAAC,UAAU,CAAC,CAAA;AACrD;AACA,MAAM,iCAAiC,GAAG,UAAU,CAClD,UAAU,EACV,CAAC,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,KAAK,CACvC,CAAA;AACD;AACA,MAAM,qBAAqB,GAAG,UAAU,CAAC,kBAAkB,CAAC,CAAA;AAC5D;AACA,MAAM,gBAAgB,GAAG,UAAU,CAAC,mBAAmB,CAAC,CAAA;AACxD;AACA,MAAM,4BAA4B,GAAG,UAAU,CAAC,8BAA8B,CAAC,CAAA;AAC/E;AACA,MAAM,0BAA0B,GAAG,YAAY,CAAC,4BAA4B,CAAC,CAAA;AAC7E;AACA,MAAM,+BAA+B,GAAG,YAAY,CAClD,4BAA4B,EAC5B,CAAC,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,OAAO,CACjC,CAAA;AACD;AACA,MAAM,gCAAgC,GAAG,0BAA0B,CACjE,kCAAkC,CACnC,CAAA;AAED;AACA,MAAM,wBAAwB,GAAG,wBAAwB,CAAC,0BAA0B,CAAC,CAAA;AACrF;AACA,MAAM,kBAAkB,GAAG,wBAAwB,CAAC,qBAAqB,CAAC,CAAA;AAE1E;;;;AAIG;AACI,MAAM,oBAAoB,GAAG,YAAY,CAAC;AAC/C,IAAA,mBAAmB,EAAE;QACnB,YAAY;AACb,KAAA;AACD,IAAA,kBAAkB,EAAE;QAClB,cAAc;AACf,KAAA;AACD,IAAA,kBAAkB,EAAE;QAClB,sBAAsB;QACtB,kBAAkB;AACnB,KAAA;AACD,IAAA,yBAAyB,EAAE;QACzB,iCAAiC;QACjC,kBAAkB;AACnB,KAAA;AACD,IAAA,gBAAgB,EAAE;QAChB,gCAAgC;QAChC,wBAAwB;QACxB,sBAAsB;AACvB,KAAA;AACD,IAAA,4BAA4B,EAAE;QAC5B,0BAA0B;AAC3B,KAAA;AACD,IAAA,0BAA0B,EAAE;QAC1B,gBAAgB;AACjB,KAAA;AACD,IAAA,+BAA+B,EAAE;QAC/B,qBAAqB;AACtB,KAAA;AACD,IAAA,oBAAoB,EAAE;QACpB,kBAAkB,EAAE,MAAM,CACxB,kBAAkB;;AAElB,QAAA,CAAC,EAAE,KAAK,EAAE,KAAK,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,KAAK,cAAc,CAC9D;AACF,KAAA;AACD,IAAA,0BAA0B,EAAE;QAC1B,4BAA4B;AAC7B,KAAA;AACD,IAAA,6BAA6B,EAAE;QAC7B,wBAAwB;QACxB,+BAA+B;AAChC,KAAA;AACF,CAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empathyco/x-components",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.108",
|
|
4
4
|
"description": "Empathy X Components",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -142,5 +142,5 @@
|
|
|
142
142
|
"access": "public",
|
|
143
143
|
"directory": "dist"
|
|
144
144
|
},
|
|
145
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "84181f33238439edd7b4514c29fe6acbf747f837"
|
|
146
146
|
}
|
|
@@ -4284,7 +4284,7 @@
|
|
|
4284
4284
|
},
|
|
4285
4285
|
{
|
|
4286
4286
|
"kind": "Content",
|
|
4287
|
-
"text": "<\"UserClickedCloseEventsModal\" | \"UserClickedCloseX\" | \"UserClickedOutOfMainModal\" | \"UserClickedOpenEventsModal\" | \"UserClickedOpenX\" | \"UserClickedOutOfEventsModal\" | \"UserOpenXProgrammatically\" | \"UserReachedEmpathizeTop\" | \"EmpathizeClosed\" | \"EmpathizeOpened\" | \"UserClosedEmpathize\" | \"UserPressedClearHistoryQueries\" | \"UserClickedEnableHistoryQueries\" | \"UserClickedDisableHistoryQueries\" | \"UserClickedConfirmDisableHistoryQueries\" | \"UserClickedDismissDisableHistoryQueries\" | \"ScrollRestoreSucceeded\" | \"ScrollRestoreFailed\" | \"UserHoveredInSearchBox\" | \"UserHoveredOutSearchBox\" | \"UserBlurredSearchBox\" | \"UserClickedSearchBox\" | \"UserFocusedSearchBox\" | \"UserPressedClearSearchBoxButton\" | \"ReloadSearchRequested\" | \"UserReachedResultsListEnd\" | \"UserClickedAbortARedirection\" | \"RelatedPromptsUnmounted\">;\n default: string;\n };\n}, {\n events: import(\"vue\")."
|
|
4287
|
+
"text": "<\"UserClickedCloseEventsModal\" | \"UserClickedCloseX\" | \"UserClickedOutOfMainModal\" | \"UserClickedOpenEventsModal\" | \"UserClickedOpenX\" | \"UserClickedOutOfEventsModal\" | \"UserOpenXProgrammatically\" | \"UserReachedEmpathizeTop\" | \"EmpathizeClosed\" | \"EmpathizeOpened\" | \"UserClosedEmpathize\" | \"UserPressedClearHistoryQueries\" | \"UserClickedEnableHistoryQueries\" | \"UserClickedDisableHistoryQueries\" | \"UserClickedConfirmDisableHistoryQueries\" | \"UserClickedDismissDisableHistoryQueries\" | \"ScrollRestoreSucceeded\" | \"ScrollRestoreFailed\" | \"UserHoveredInSearchBox\" | \"UserHoveredOutSearchBox\" | \"UserBlurredSearchBox\" | \"UserClickedSearchBox\" | \"UserFocusedSearchBox\" | \"UserPressedClearSearchBoxButton\" | \"ReloadSearchRequested\" | \"UserReachedResultsListEnd\" | \"UserClickedAbortARedirection\" | \"RelatedPromptsUnmounted\" | \"ReloadRelatedPromptsRequested\">;\n default: string;\n };\n}, {\n events: import(\"vue\")."
|
|
4288
4288
|
},
|
|
4289
4289
|
{
|
|
4290
4290
|
"kind": "Reference",
|
|
@@ -4365,7 +4365,7 @@
|
|
|
4365
4365
|
},
|
|
4366
4366
|
{
|
|
4367
4367
|
"kind": "Content",
|
|
4368
|
-
"text": "<\"UserClickedCloseEventsModal\" | \"UserClickedCloseX\" | \"UserClickedOutOfMainModal\" | \"UserClickedOpenEventsModal\" | \"UserClickedOpenX\" | \"UserClickedOutOfEventsModal\" | \"UserOpenXProgrammatically\" | \"UserReachedEmpathizeTop\" | \"EmpathizeClosed\" | \"EmpathizeOpened\" | \"UserClosedEmpathize\" | \"UserPressedClearHistoryQueries\" | \"UserClickedEnableHistoryQueries\" | \"UserClickedDisableHistoryQueries\" | \"UserClickedConfirmDisableHistoryQueries\" | \"UserClickedDismissDisableHistoryQueries\" | \"ScrollRestoreSucceeded\" | \"ScrollRestoreFailed\" | \"UserHoveredInSearchBox\" | \"UserHoveredOutSearchBox\" | \"UserBlurredSearchBox\" | \"UserClickedSearchBox\" | \"UserFocusedSearchBox\" | \"UserPressedClearSearchBoxButton\" | \"ReloadSearchRequested\" | \"UserReachedResultsListEnd\" | \"UserClickedAbortARedirection\" | \"RelatedPromptsUnmounted\">;\n default: string;\n };\n}>>, {\n closingEvent: \"UserClickedCloseEventsModal\" | \"UserClickedCloseX\" | \"UserClickedOutOfMainModal\" | \"UserClickedOpenEventsModal\" | \"UserClickedOpenX\" | \"UserClickedOutOfEventsModal\" | \"UserOpenXProgrammatically\" | \"UserReachedEmpathizeTop\" | \"EmpathizeClosed\" | \"EmpathizeOpened\" | \"UserClosedEmpathize\" | \"UserPressedClearHistoryQueries\" | \"UserClickedEnableHistoryQueries\" | \"UserClickedDisableHistoryQueries\" | \"UserClickedConfirmDisableHistoryQueries\" | \"UserClickedDismissDisableHistoryQueries\" | \"ScrollRestoreSucceeded\" | \"ScrollRestoreFailed\" | \"UserHoveredInSearchBox\" | \"UserHoveredOutSearchBox\" | \"UserBlurredSearchBox\" | \"UserClickedSearchBox\" | \"UserFocusedSearchBox\" | \"UserPressedClearSearchBoxButton\" | \"ReloadSearchRequested\" | \"UserReachedResultsListEnd\" | \"UserClickedAbortARedirection\" | \"RelatedPromptsUnmounted\";\n}, {}>"
|
|
4368
|
+
"text": "<\"UserClickedCloseEventsModal\" | \"UserClickedCloseX\" | \"UserClickedOutOfMainModal\" | \"UserClickedOpenEventsModal\" | \"UserClickedOpenX\" | \"UserClickedOutOfEventsModal\" | \"UserOpenXProgrammatically\" | \"UserReachedEmpathizeTop\" | \"EmpathizeClosed\" | \"EmpathizeOpened\" | \"UserClosedEmpathize\" | \"UserPressedClearHistoryQueries\" | \"UserClickedEnableHistoryQueries\" | \"UserClickedDisableHistoryQueries\" | \"UserClickedConfirmDisableHistoryQueries\" | \"UserClickedDismissDisableHistoryQueries\" | \"ScrollRestoreSucceeded\" | \"ScrollRestoreFailed\" | \"UserHoveredInSearchBox\" | \"UserHoveredOutSearchBox\" | \"UserBlurredSearchBox\" | \"UserClickedSearchBox\" | \"UserFocusedSearchBox\" | \"UserPressedClearSearchBoxButton\" | \"ReloadSearchRequested\" | \"UserReachedResultsListEnd\" | \"UserClickedAbortARedirection\" | \"RelatedPromptsUnmounted\" | \"ReloadRelatedPromptsRequested\">;\n default: string;\n };\n}>>, {\n closingEvent: \"UserClickedCloseEventsModal\" | \"UserClickedCloseX\" | \"UserClickedOutOfMainModal\" | \"UserClickedOpenEventsModal\" | \"UserClickedOpenX\" | \"UserClickedOutOfEventsModal\" | \"UserOpenXProgrammatically\" | \"UserReachedEmpathizeTop\" | \"EmpathizeClosed\" | \"EmpathizeOpened\" | \"UserClosedEmpathize\" | \"UserPressedClearHistoryQueries\" | \"UserClickedEnableHistoryQueries\" | \"UserClickedDisableHistoryQueries\" | \"UserClickedConfirmDisableHistoryQueries\" | \"UserClickedDismissDisableHistoryQueries\" | \"ScrollRestoreSucceeded\" | \"ScrollRestoreFailed\" | \"UserHoveredInSearchBox\" | \"UserHoveredOutSearchBox\" | \"UserBlurredSearchBox\" | \"UserClickedSearchBox\" | \"UserFocusedSearchBox\" | \"UserPressedClearSearchBoxButton\" | \"ReloadSearchRequested\" | \"UserReachedResultsListEnd\" | \"UserClickedAbortARedirection\" | \"RelatedPromptsUnmounted\" | \"ReloadRelatedPromptsRequested\";\n}, {}>"
|
|
4369
4369
|
}
|
|
4370
4370
|
],
|
|
4371
4371
|
"fileUrlPath": "dist/types/components/modals/base-events-modal-close.vue.d.ts",
|
|
@@ -4406,7 +4406,7 @@
|
|
|
4406
4406
|
},
|
|
4407
4407
|
{
|
|
4408
4408
|
"kind": "Content",
|
|
4409
|
-
"text": "<\"UserClickedCloseEventsModal\" | \"UserClickedCloseX\" | \"UserClickedOutOfMainModal\" | \"UserClickedOpenEventsModal\" | \"UserClickedOpenX\" | \"UserClickedOutOfEventsModal\" | \"UserOpenXProgrammatically\" | \"UserReachedEmpathizeTop\" | \"EmpathizeClosed\" | \"EmpathizeOpened\" | \"UserClosedEmpathize\" | \"UserPressedClearHistoryQueries\" | \"UserClickedEnableHistoryQueries\" | \"UserClickedDisableHistoryQueries\" | \"UserClickedConfirmDisableHistoryQueries\" | \"UserClickedDismissDisableHistoryQueries\" | \"ScrollRestoreSucceeded\" | \"ScrollRestoreFailed\" | \"UserHoveredInSearchBox\" | \"UserHoveredOutSearchBox\" | \"UserBlurredSearchBox\" | \"UserClickedSearchBox\" | \"UserFocusedSearchBox\" | \"UserPressedClearSearchBoxButton\" | \"ReloadSearchRequested\" | \"UserReachedResultsListEnd\" | \"UserClickedAbortARedirection\" | \"RelatedPromptsUnmounted\">;\n default: string;\n };\n}, {\n events: import(\"vue\")."
|
|
4409
|
+
"text": "<\"UserClickedCloseEventsModal\" | \"UserClickedCloseX\" | \"UserClickedOutOfMainModal\" | \"UserClickedOpenEventsModal\" | \"UserClickedOpenX\" | \"UserClickedOutOfEventsModal\" | \"UserOpenXProgrammatically\" | \"UserReachedEmpathizeTop\" | \"EmpathizeClosed\" | \"EmpathizeOpened\" | \"UserClosedEmpathize\" | \"UserPressedClearHistoryQueries\" | \"UserClickedEnableHistoryQueries\" | \"UserClickedDisableHistoryQueries\" | \"UserClickedConfirmDisableHistoryQueries\" | \"UserClickedDismissDisableHistoryQueries\" | \"ScrollRestoreSucceeded\" | \"ScrollRestoreFailed\" | \"UserHoveredInSearchBox\" | \"UserHoveredOutSearchBox\" | \"UserBlurredSearchBox\" | \"UserClickedSearchBox\" | \"UserFocusedSearchBox\" | \"UserPressedClearSearchBoxButton\" | \"ReloadSearchRequested\" | \"UserReachedResultsListEnd\" | \"UserClickedAbortARedirection\" | \"RelatedPromptsUnmounted\" | \"ReloadRelatedPromptsRequested\">;\n default: string;\n };\n}, {\n events: import(\"vue\")."
|
|
4410
4410
|
},
|
|
4411
4411
|
{
|
|
4412
4412
|
"kind": "Reference",
|
|
@@ -4487,7 +4487,7 @@
|
|
|
4487
4487
|
},
|
|
4488
4488
|
{
|
|
4489
4489
|
"kind": "Content",
|
|
4490
|
-
"text": "<\"UserClickedCloseEventsModal\" | \"UserClickedCloseX\" | \"UserClickedOutOfMainModal\" | \"UserClickedOpenEventsModal\" | \"UserClickedOpenX\" | \"UserClickedOutOfEventsModal\" | \"UserOpenXProgrammatically\" | \"UserReachedEmpathizeTop\" | \"EmpathizeClosed\" | \"EmpathizeOpened\" | \"UserClosedEmpathize\" | \"UserPressedClearHistoryQueries\" | \"UserClickedEnableHistoryQueries\" | \"UserClickedDisableHistoryQueries\" | \"UserClickedConfirmDisableHistoryQueries\" | \"UserClickedDismissDisableHistoryQueries\" | \"ScrollRestoreSucceeded\" | \"ScrollRestoreFailed\" | \"UserHoveredInSearchBox\" | \"UserHoveredOutSearchBox\" | \"UserBlurredSearchBox\" | \"UserClickedSearchBox\" | \"UserFocusedSearchBox\" | \"UserPressedClearSearchBoxButton\" | \"ReloadSearchRequested\" | \"UserReachedResultsListEnd\" | \"UserClickedAbortARedirection\" | \"RelatedPromptsUnmounted\">;\n default: string;\n };\n}>>, {\n openingEvent: \"UserClickedCloseEventsModal\" | \"UserClickedCloseX\" | \"UserClickedOutOfMainModal\" | \"UserClickedOpenEventsModal\" | \"UserClickedOpenX\" | \"UserClickedOutOfEventsModal\" | \"UserOpenXProgrammatically\" | \"UserReachedEmpathizeTop\" | \"EmpathizeClosed\" | \"EmpathizeOpened\" | \"UserClosedEmpathize\" | \"UserPressedClearHistoryQueries\" | \"UserClickedEnableHistoryQueries\" | \"UserClickedDisableHistoryQueries\" | \"UserClickedConfirmDisableHistoryQueries\" | \"UserClickedDismissDisableHistoryQueries\" | \"ScrollRestoreSucceeded\" | \"ScrollRestoreFailed\" | \"UserHoveredInSearchBox\" | \"UserHoveredOutSearchBox\" | \"UserBlurredSearchBox\" | \"UserClickedSearchBox\" | \"UserFocusedSearchBox\" | \"UserPressedClearSearchBoxButton\" | \"ReloadSearchRequested\" | \"UserReachedResultsListEnd\" | \"UserClickedAbortARedirection\" | \"RelatedPromptsUnmounted\";\n}, {}>"
|
|
4490
|
+
"text": "<\"UserClickedCloseEventsModal\" | \"UserClickedCloseX\" | \"UserClickedOutOfMainModal\" | \"UserClickedOpenEventsModal\" | \"UserClickedOpenX\" | \"UserClickedOutOfEventsModal\" | \"UserOpenXProgrammatically\" | \"UserReachedEmpathizeTop\" | \"EmpathizeClosed\" | \"EmpathizeOpened\" | \"UserClosedEmpathize\" | \"UserPressedClearHistoryQueries\" | \"UserClickedEnableHistoryQueries\" | \"UserClickedDisableHistoryQueries\" | \"UserClickedConfirmDisableHistoryQueries\" | \"UserClickedDismissDisableHistoryQueries\" | \"ScrollRestoreSucceeded\" | \"ScrollRestoreFailed\" | \"UserHoveredInSearchBox\" | \"UserHoveredOutSearchBox\" | \"UserBlurredSearchBox\" | \"UserClickedSearchBox\" | \"UserFocusedSearchBox\" | \"UserPressedClearSearchBoxButton\" | \"ReloadSearchRequested\" | \"UserReachedResultsListEnd\" | \"UserClickedAbortARedirection\" | \"RelatedPromptsUnmounted\" | \"ReloadRelatedPromptsRequested\">;\n default: string;\n };\n}>>, {\n openingEvent: \"UserClickedCloseEventsModal\" | \"UserClickedCloseX\" | \"UserClickedOutOfMainModal\" | \"UserClickedOpenEventsModal\" | \"UserClickedOpenX\" | \"UserClickedOutOfEventsModal\" | \"UserOpenXProgrammatically\" | \"UserReachedEmpathizeTop\" | \"EmpathizeClosed\" | \"EmpathizeOpened\" | \"UserClosedEmpathize\" | \"UserPressedClearHistoryQueries\" | \"UserClickedEnableHistoryQueries\" | \"UserClickedDisableHistoryQueries\" | \"UserClickedConfirmDisableHistoryQueries\" | \"UserClickedDismissDisableHistoryQueries\" | \"ScrollRestoreSucceeded\" | \"ScrollRestoreFailed\" | \"UserHoveredInSearchBox\" | \"UserHoveredOutSearchBox\" | \"UserBlurredSearchBox\" | \"UserClickedSearchBox\" | \"UserFocusedSearchBox\" | \"UserPressedClearSearchBoxButton\" | \"ReloadSearchRequested\" | \"UserReachedResultsListEnd\" | \"UserClickedAbortARedirection\" | \"RelatedPromptsUnmounted\" | \"ReloadRelatedPromptsRequested\";\n}, {}>"
|
|
4491
4491
|
}
|
|
4492
4492
|
],
|
|
4493
4493
|
"fileUrlPath": "dist/types/components/modals/base-events-modal-open.vue.d.ts",
|
|
@@ -29139,6 +29139,15 @@
|
|
|
29139
29139
|
"text": "WireMetadata",
|
|
29140
29140
|
"canonicalReference": "@empathyco/x-components!WireMetadata:interface"
|
|
29141
29141
|
},
|
|
29142
|
+
{
|
|
29143
|
+
"kind": "Content",
|
|
29144
|
+
"text": ") => unknown;\n ReloadRelatedPromptsRequested: (payload: undefined, metadata: import(\"..\")."
|
|
29145
|
+
},
|
|
29146
|
+
{
|
|
29147
|
+
"kind": "Reference",
|
|
29148
|
+
"text": "WireMetadata",
|
|
29149
|
+
"canonicalReference": "@empathyco/x-components!WireMetadata:interface"
|
|
29150
|
+
},
|
|
29142
29151
|
{
|
|
29143
29152
|
"kind": "Content",
|
|
29144
29153
|
"text": ") => unknown;\n }>>;\n required: true;\n };\n}, () => string, unknown, {}, {}, import(\"vue\")."
|
|
@@ -31344,6 +31353,15 @@
|
|
|
31344
31353
|
"text": "WireMetadata",
|
|
31345
31354
|
"canonicalReference": "@empathyco/x-components!WireMetadata:interface"
|
|
31346
31355
|
},
|
|
31356
|
+
{
|
|
31357
|
+
"kind": "Content",
|
|
31358
|
+
"text": ") => unknown;\n ReloadRelatedPromptsRequested: (payload: undefined, metadata: import(\"..\")."
|
|
31359
|
+
},
|
|
31360
|
+
{
|
|
31361
|
+
"kind": "Reference",
|
|
31362
|
+
"text": "WireMetadata",
|
|
31363
|
+
"canonicalReference": "@empathyco/x-components!WireMetadata:interface"
|
|
31364
|
+
},
|
|
31347
31365
|
{
|
|
31348
31366
|
"kind": "Content",
|
|
31349
31367
|
"text": ") => unknown;\n }>>;\n required: true;\n };\n}>>, {}, {}>"
|
|
@@ -31355,7 +31373,7 @@
|
|
|
31355
31373
|
"name": "GlobalXBus",
|
|
31356
31374
|
"variableTypeTokenRange": {
|
|
31357
31375
|
"startIndex": 1,
|
|
31358
|
-
"endIndex":
|
|
31376
|
+
"endIndex": 978
|
|
31359
31377
|
}
|
|
31360
31378
|
},
|
|
31361
31379
|
{
|
|
@@ -32375,7 +32393,7 @@
|
|
|
32375
32393
|
},
|
|
32376
32394
|
{
|
|
32377
32395
|
"kind": "Content",
|
|
32378
|
-
"text": "[] | undefined;\n RelatedPromptsUnmounted?: void | undefined;\n }>;\n innerCssClasses: import(\"vue\")."
|
|
32396
|
+
"text": "[] | undefined;\n RelatedPromptsUnmounted?: void | undefined;\n ReloadRelatedPromptsRequested?: void | undefined;\n }>;\n innerCssClasses: import(\"vue\")."
|
|
32379
32397
|
},
|
|
32380
32398
|
{
|
|
32381
32399
|
"kind": "Reference",
|
|
@@ -53639,6 +53657,33 @@
|
|
|
53639
53657
|
"endIndex": 2
|
|
53640
53658
|
}
|
|
53641
53659
|
},
|
|
53660
|
+
{
|
|
53661
|
+
"kind": "PropertySignature",
|
|
53662
|
+
"canonicalReference": "@empathyco/x-components!RelatedPromptsXEvents#ReloadRelatedPromptsRequested:member",
|
|
53663
|
+
"docComment": "/**\n * Reload the current related prompts that have been requested.\n */\n",
|
|
53664
|
+
"excerptTokens": [
|
|
53665
|
+
{
|
|
53666
|
+
"kind": "Content",
|
|
53667
|
+
"text": "ReloadRelatedPromptsRequested: "
|
|
53668
|
+
},
|
|
53669
|
+
{
|
|
53670
|
+
"kind": "Content",
|
|
53671
|
+
"text": "void"
|
|
53672
|
+
},
|
|
53673
|
+
{
|
|
53674
|
+
"kind": "Content",
|
|
53675
|
+
"text": ";"
|
|
53676
|
+
}
|
|
53677
|
+
],
|
|
53678
|
+
"isReadonly": false,
|
|
53679
|
+
"isOptional": false,
|
|
53680
|
+
"releaseTag": "Public",
|
|
53681
|
+
"name": "ReloadRelatedPromptsRequested",
|
|
53682
|
+
"propertyTypeTokenRange": {
|
|
53683
|
+
"startIndex": 1,
|
|
53684
|
+
"endIndex": 2
|
|
53685
|
+
}
|
|
53686
|
+
},
|
|
53642
53687
|
{
|
|
53643
53688
|
"kind": "PropertySignature",
|
|
53644
53689
|
"canonicalReference": "@empathyco/x-components!RelatedPromptsXEvents#SelectedRelatedPromptChanged:member",
|
|
@@ -68338,7 +68383,7 @@
|
|
|
68338
68383
|
},
|
|
68339
68384
|
{
|
|
68340
68385
|
"kind": "Content",
|
|
68341
|
-
"text": "[] | undefined;\n RelatedPromptsUnmounted?: void | undefined;\n }>;\n innerCssClasses: import(\"vue\")."
|
|
68386
|
+
"text": "[] | undefined;\n RelatedPromptsUnmounted?: void | undefined;\n ReloadRelatedPromptsRequested?: void | undefined;\n }>;\n innerCssClasses: import(\"vue\")."
|
|
68342
68387
|
},
|
|
68343
68388
|
{
|
|
68344
68389
|
"kind": "Reference",
|
|
@@ -71549,6 +71594,15 @@
|
|
|
71549
71594
|
"text": "WireMetadata",
|
|
71550
71595
|
"canonicalReference": "@empathyco/x-components!WireMetadata:interface"
|
|
71551
71596
|
},
|
|
71597
|
+
{
|
|
71598
|
+
"kind": "Content",
|
|
71599
|
+
"text": ") => unknown;\n ReloadRelatedPromptsRequested: (payload: undefined, metadata: "
|
|
71600
|
+
},
|
|
71601
|
+
{
|
|
71602
|
+
"kind": "Reference",
|
|
71603
|
+
"text": "WireMetadata",
|
|
71604
|
+
"canonicalReference": "@empathyco/x-components!WireMetadata:interface"
|
|
71605
|
+
},
|
|
71552
71606
|
{
|
|
71553
71607
|
"kind": "Content",
|
|
71554
71608
|
"text": ") => unknown;\n }>>;\n}, {}, {}, {}, import(\"vue\")."
|
|
@@ -71605,7 +71659,7 @@
|
|
|
71605
71659
|
"name": "SnippetCallbacks",
|
|
71606
71660
|
"variableTypeTokenRange": {
|
|
71607
71661
|
"startIndex": 1,
|
|
71608
|
-
"endIndex":
|
|
71662
|
+
"endIndex": 496
|
|
71609
71663
|
}
|
|
71610
71664
|
},
|
|
71611
71665
|
{
|
|
@@ -646,35 +646,35 @@ bodyClickEvent: keyof XEventsTypes;
|
|
|
646
646
|
// @public
|
|
647
647
|
export const BaseEventsModalClose: DefineComponent< {
|
|
648
648
|
closingEvent: {
|
|
649
|
-
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted">;
|
|
649
|
+
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted" | "ReloadRelatedPromptsRequested">;
|
|
650
650
|
default: string;
|
|
651
651
|
};
|
|
652
652
|
}, {
|
|
653
653
|
events: ComputedRef<Partial<XEventsTypes>>;
|
|
654
654
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
655
655
|
closingEvent: {
|
|
656
|
-
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted">;
|
|
656
|
+
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted" | "ReloadRelatedPromptsRequested">;
|
|
657
657
|
default: string;
|
|
658
658
|
};
|
|
659
659
|
}>>, {
|
|
660
|
-
closingEvent: "UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted";
|
|
660
|
+
closingEvent: "UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted" | "ReloadRelatedPromptsRequested";
|
|
661
661
|
}, {}>;
|
|
662
662
|
|
|
663
663
|
// @public
|
|
664
664
|
export const BaseEventsModalOpen: DefineComponent< {
|
|
665
665
|
openingEvent: {
|
|
666
|
-
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted">;
|
|
666
|
+
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted" | "ReloadRelatedPromptsRequested">;
|
|
667
667
|
default: string;
|
|
668
668
|
};
|
|
669
669
|
}, {
|
|
670
670
|
events: ComputedRef<Partial<XEventsTypes>>;
|
|
671
671
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
672
672
|
openingEvent: {
|
|
673
|
-
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted">;
|
|
673
|
+
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted" | "ReloadRelatedPromptsRequested">;
|
|
674
674
|
default: string;
|
|
675
675
|
};
|
|
676
676
|
}>>, {
|
|
677
|
-
openingEvent: "UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted";
|
|
677
|
+
openingEvent: "UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted" | "ReloadRelatedPromptsRequested";
|
|
678
678
|
}, {}>;
|
|
679
679
|
|
|
680
680
|
export { BaseFallbackImage }
|
|
@@ -3321,6 +3321,7 @@ UserClickedARelatedPromptResult: (payload: Result, metadata: WireMetadata) => un
|
|
|
3321
3321
|
UserClickedARelatedPromptAdd2Cart: (payload: Result, metadata: WireMetadata) => unknown;
|
|
3322
3322
|
RelatedPromptsResponseChanged: (payload: RelatedPrompt_2[], metadata: WireMetadata) => unknown;
|
|
3323
3323
|
RelatedPromptsUnmounted: (payload: undefined, metadata: WireMetadata) => unknown;
|
|
3324
|
+
ReloadRelatedPromptsRequested: (payload: undefined, metadata: WireMetadata) => unknown;
|
|
3324
3325
|
}>>;
|
|
3325
3326
|
required: true;
|
|
3326
3327
|
};
|
|
@@ -3494,6 +3495,7 @@ UserClickedARelatedPromptResult: (payload: Result, metadata: WireMetadata) => un
|
|
|
3494
3495
|
UserClickedARelatedPromptAdd2Cart: (payload: Result, metadata: WireMetadata) => unknown;
|
|
3495
3496
|
RelatedPromptsResponseChanged: (payload: RelatedPrompt_2[], metadata: WireMetadata) => unknown;
|
|
3496
3497
|
RelatedPromptsUnmounted: (payload: undefined, metadata: WireMetadata) => unknown;
|
|
3498
|
+
ReloadRelatedPromptsRequested: (payload: undefined, metadata: WireMetadata) => unknown;
|
|
3497
3499
|
}>>;
|
|
3498
3500
|
required: true;
|
|
3499
3501
|
};
|
|
@@ -3705,6 +3707,7 @@ UserClickedARelatedPromptResult?: Result | undefined;
|
|
|
3705
3707
|
UserClickedARelatedPromptAdd2Cart?: Result | undefined;
|
|
3706
3708
|
RelatedPromptsResponseChanged?: RelatedPrompt_2[] | undefined;
|
|
3707
3709
|
RelatedPromptsUnmounted?: void | undefined;
|
|
3710
|
+
ReloadRelatedPromptsRequested?: void | undefined;
|
|
3708
3711
|
}>;
|
|
3709
3712
|
innerCssClasses: ComputedRef<(string | Dictionary<boolean>)[]>;
|
|
3710
3713
|
renderedChildrenFilters: ComputedRef<HierarchicalFilter_2[]>;
|
|
@@ -6038,6 +6041,10 @@ export const relatedPromptsWiring: {
|
|
|
6038
6041
|
SelectedRelatedTagsChanged: {
|
|
6039
6042
|
setRelatedPromptsRelatedTags: Wire<RelatedTag_2[]>;
|
|
6040
6043
|
};
|
|
6044
|
+
ReloadRelatedPromptsRequested: {
|
|
6045
|
+
resetRelatedPromptsState: AnyWire;
|
|
6046
|
+
reloadRelatedPromptsRequestWire: AnyWire;
|
|
6047
|
+
};
|
|
6041
6048
|
};
|
|
6042
6049
|
|
|
6043
6050
|
// @public
|
|
@@ -6045,6 +6052,7 @@ export interface RelatedPromptsXEvents {
|
|
|
6045
6052
|
RelatedPromptsRequestUpdated: RelatedPromptsRequest | null;
|
|
6046
6053
|
RelatedPromptsResponseChanged: RelatedPrompt_2[];
|
|
6047
6054
|
RelatedPromptsUnmounted: void;
|
|
6055
|
+
ReloadRelatedPromptsRequested: void;
|
|
6048
6056
|
SelectedRelatedPromptChanged: number;
|
|
6049
6057
|
UserClickedARelatedPromptAdd2Cart: Result;
|
|
6050
6058
|
UserClickedARelatedPromptResult: Result;
|
|
@@ -7673,6 +7681,7 @@ UserClickedARelatedPromptResult?: Result | undefined;
|
|
|
7673
7681
|
UserClickedARelatedPromptAdd2Cart?: Result | undefined;
|
|
7674
7682
|
RelatedPromptsResponseChanged?: RelatedPrompt_2[] | undefined;
|
|
7675
7683
|
RelatedPromptsUnmounted?: void | undefined;
|
|
7684
|
+
ReloadRelatedPromptsRequested?: void | undefined;
|
|
7676
7685
|
}>;
|
|
7677
7686
|
innerCssClasses: ComputedRef<(string | Dictionary<boolean>)[]>;
|
|
7678
7687
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
@@ -7995,6 +8004,7 @@ UserClickedARelatedPromptResult: (payload: Result, metadata: WireMetadata) => un
|
|
|
7995
8004
|
UserClickedARelatedPromptAdd2Cart: (payload: Result, metadata: WireMetadata) => unknown;
|
|
7996
8005
|
RelatedPromptsResponseChanged: (payload: RelatedPrompt_2[], metadata: WireMetadata) => unknown;
|
|
7997
8006
|
RelatedPromptsUnmounted: (payload: undefined, metadata: WireMetadata) => unknown;
|
|
8007
|
+
ReloadRelatedPromptsRequested: (payload: undefined, metadata: WireMetadata) => unknown;
|
|
7998
8008
|
}>>;
|
|
7999
8009
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
|
|
8000
8010
|
|
|
@@ -175,6 +175,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
175
175
|
UserClickedARelatedPromptAdd2Cart: (payload: import("@empathyco/x-types").Result, metadata: import("..").WireMetadata) => unknown;
|
|
176
176
|
RelatedPromptsResponseChanged: (payload: import("@empathyco/x-types").RelatedPrompt[], metadata: import("..").WireMetadata) => unknown;
|
|
177
177
|
RelatedPromptsUnmounted: (payload: undefined, metadata: import("..").WireMetadata) => unknown;
|
|
178
|
+
ReloadRelatedPromptsRequested: (payload: undefined, metadata: import("..").WireMetadata) => unknown;
|
|
178
179
|
}>>;
|
|
179
180
|
required: true;
|
|
180
181
|
};
|
|
@@ -348,6 +349,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
348
349
|
UserClickedARelatedPromptAdd2Cart: (payload: import("@empathyco/x-types").Result, metadata: import("..").WireMetadata) => unknown;
|
|
349
350
|
RelatedPromptsResponseChanged: (payload: import("@empathyco/x-types").RelatedPrompt[], metadata: import("..").WireMetadata) => unknown;
|
|
350
351
|
RelatedPromptsUnmounted: (payload: undefined, metadata: import("..").WireMetadata) => unknown;
|
|
352
|
+
ReloadRelatedPromptsRequested: (payload: undefined, metadata: import("..").WireMetadata) => unknown;
|
|
351
353
|
}>>;
|
|
352
354
|
required: true;
|
|
353
355
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-x-bus.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../src/components/global-x-bus.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAMnC;;;;;GAKG
|
|
1
|
+
{"version":3,"file":"global-x-bus.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../src/components/global-x-bus.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAMnC;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAuBE"}
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
15
|
closingEvent: {
|
|
16
|
-
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted">;
|
|
16
|
+
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted" | "ReloadRelatedPromptsRequested">;
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
}, {
|
|
@@ -25,11 +25,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
* @public
|
|
26
26
|
*/
|
|
27
27
|
closingEvent: {
|
|
28
|
-
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted">;
|
|
28
|
+
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted" | "ReloadRelatedPromptsRequested">;
|
|
29
29
|
default: string;
|
|
30
30
|
};
|
|
31
31
|
}>>, {
|
|
32
|
-
closingEvent: "UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted";
|
|
32
|
+
closingEvent: "UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted" | "ReloadRelatedPromptsRequested";
|
|
33
33
|
}, {}>;
|
|
34
34
|
export default _default;
|
|
35
35
|
//# sourceMappingURL=base-events-modal-close.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
|
openingEvent: {
|
|
16
|
-
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted">;
|
|
16
|
+
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted" | "ReloadRelatedPromptsRequested">;
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
}, {
|
|
@@ -25,11 +25,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
* @public
|
|
26
26
|
*/
|
|
27
27
|
openingEvent: {
|
|
28
|
-
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted">;
|
|
28
|
+
type: PropType<"UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted" | "ReloadRelatedPromptsRequested">;
|
|
29
29
|
default: string;
|
|
30
30
|
};
|
|
31
31
|
}>>, {
|
|
32
|
-
openingEvent: "UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted";
|
|
32
|
+
openingEvent: "UserClickedCloseEventsModal" | "UserClickedCloseX" | "UserClickedOutOfMainModal" | "UserClickedOpenEventsModal" | "UserClickedOpenX" | "UserClickedOutOfEventsModal" | "UserOpenXProgrammatically" | "UserReachedEmpathizeTop" | "EmpathizeClosed" | "EmpathizeOpened" | "UserClosedEmpathize" | "UserPressedClearHistoryQueries" | "UserClickedEnableHistoryQueries" | "UserClickedDisableHistoryQueries" | "UserClickedConfirmDisableHistoryQueries" | "UserClickedDismissDisableHistoryQueries" | "ScrollRestoreSucceeded" | "ScrollRestoreFailed" | "UserHoveredInSearchBox" | "UserHoveredOutSearchBox" | "UserBlurredSearchBox" | "UserClickedSearchBox" | "UserFocusedSearchBox" | "UserPressedClearSearchBoxButton" | "ReloadSearchRequested" | "UserReachedResultsListEnd" | "UserClickedAbortARedirection" | "RelatedPromptsUnmounted" | "ReloadRelatedPromptsRequested";
|
|
33
33
|
}, {}>;
|
|
34
34
|
export default _default;
|
|
35
35
|
//# sourceMappingURL=base-events-modal-open.vue?vue&type=script&lang.d.ts.map
|
|
@@ -174,6 +174,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
174
174
|
UserClickedARelatedPromptAdd2Cart: (payload: import("@empathyco/x-types").Result, metadata: WireMetadata) => unknown;
|
|
175
175
|
RelatedPromptsResponseChanged: (payload: import("@empathyco/x-types").RelatedPrompt[], metadata: WireMetadata) => unknown;
|
|
176
176
|
RelatedPromptsUnmounted: (payload: undefined, metadata: WireMetadata) => unknown;
|
|
177
|
+
ReloadRelatedPromptsRequested: (payload: undefined, metadata: WireMetadata) => unknown;
|
|
177
178
|
}>>;
|
|
178
179
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
179
180
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snippet-callbacks.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../src/components/snippet-callbacks.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAO7C;;;;;GAKG
|
|
1
|
+
{"version":3,"file":"snippet-callbacks.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../src/components/snippet-callbacks.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAO7C;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBA0CE"}
|
|
@@ -199,6 +199,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
199
199
|
UserClickedARelatedPromptAdd2Cart?: import("@empathyco/x-types").Result | undefined;
|
|
200
200
|
RelatedPromptsResponseChanged?: import("@empathyco/x-types").RelatedPrompt[] | undefined;
|
|
201
201
|
RelatedPromptsUnmounted?: void | undefined;
|
|
202
|
+
ReloadRelatedPromptsRequested?: void | undefined;
|
|
202
203
|
}>;
|
|
203
204
|
innerCssClasses: import("vue").ComputedRef<(string | Dictionary<boolean>)[]>;
|
|
204
205
|
renderedChildrenFilters: import("vue").ComputedRef<HierarchicalFilterModel[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hierarchical-filter.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/facets/components/filters/hierarchical-filter.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,kBAAkB,IAAI,uBAAuB,EAAE,MAAM,oBAAoB,CAAA;AAC/F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AASnE;;;;GAIG;;IAMC,iCAAiC;;;;;IAKjC,+DAA+D;;IAE/D;;;;OAIG;;IAEH,+BAA+B;;;;;IAK/B,0CAA0C;;IAE1C,0CAA0C
|
|
1
|
+
{"version":3,"file":"hierarchical-filter.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/facets/components/filters/hierarchical-filter.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,kBAAkB,IAAI,uBAAuB,EAAE,MAAM,oBAAoB,CAAA;AAC/F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AASnE;;;;GAIG;;IAMC,iCAAiC;;;;;IAKjC,+DAA+D;;IAE/D;;;;OAIG;;IAEH,+BAA+B;;;;;IAK/B,0CAA0C;;IAE1C,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAwDM,uBAAuB;;IA5EvE,iCAAiC;;;;;IAKjC,+DAA+D;;IAE/D;;;;OAIG;;IAEH,+BAA+B;;;;;IAK/B,0CAA0C;;IAE1C,0CAA0C;;;;;AAzB9C,wBA+GE"}
|
|
@@ -189,6 +189,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
189
189
|
UserClickedARelatedPromptAdd2Cart?: import("@empathyco/x-types").Result | undefined;
|
|
190
190
|
RelatedPromptsResponseChanged?: import("@empathyco/x-types").RelatedPrompt[] | undefined;
|
|
191
191
|
RelatedPromptsUnmounted?: void | undefined;
|
|
192
|
+
ReloadRelatedPromptsRequested?: void | undefined;
|
|
192
193
|
}>;
|
|
193
194
|
innerCssClasses: import("vue").ComputedRef<(string | Dictionary<boolean>)[]>;
|
|
194
195
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple-filter.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/facets/components/filters/simple-filter.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,IAAI,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAC3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAKnE;;;;GAIG;;IAOC,iCAAiC;;;;;IAKjC,iFAAiF;;IAEjF,+BAA+B
|
|
1
|
+
{"version":3,"file":"simple-filter.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/facets/components/filters/simple-filter.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,IAAI,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAC3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAKnE;;;;GAIG;;IAOC,iCAAiC;;;;;IAKjC,iFAAiF;;IAEjF,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAP/B,iCAAiC;;;;;IAKjC,iFAAiF;;IAEjF,+BAA+B;;;;;;;;AAbnC,wBAsCE"}
|
|
@@ -46,5 +46,9 @@ export interface RelatedPromptsXEvents {
|
|
|
46
46
|
* The related prompts has been unmounted.
|
|
47
47
|
*/
|
|
48
48
|
RelatedPromptsUnmounted: void;
|
|
49
|
+
/**
|
|
50
|
+
* Reload the current related prompts that have been requested.
|
|
51
|
+
*/
|
|
52
|
+
ReloadRelatedPromptsRequested: void;
|
|
49
53
|
}
|
|
50
54
|
//# 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,KAAK,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAEtF;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,4BAA4B,EAAE,qBAAqB,GAAG,IAAI,CAAA;IAC1D;;;OAGG;IACH,4BAA4B,EAAE,MAAM,CAAA;IACpC;;;OAGG;IACH,0BAA0B,EAAE,MAAM,CAAA;IAClC;;;OAGG;IACH,+BAA+B,EAAE,MAAM,CAAA;IACvC;;;OAGG;IACH,+BAA+B,EAAE,MAAM,CAAA;IACvC;;;OAGG;IACH,iCAAiC,EAAE,MAAM,CAAA;IACzC;;;OAGG;IACH,6BAA6B,EAAE,aAAa,EAAE,CAAA;IAC9C;;OAEG;IACH,uBAAuB,EAAE,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"events.types.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/related-prompts/events.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAEtF;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,4BAA4B,EAAE,qBAAqB,GAAG,IAAI,CAAA;IAC1D;;;OAGG;IACH,4BAA4B,EAAE,MAAM,CAAA;IACpC;;;OAGG;IACH,0BAA0B,EAAE,MAAM,CAAA;IAClC;;;OAGG;IACH,+BAA+B,EAAE,MAAM,CAAA;IACvC;;;OAGG;IACH,+BAA+B,EAAE,MAAM,CAAA;IACvC;;;OAGG;IACH,iCAAiC,EAAE,MAAM,CAAA;IACzC;;;OAGG;IACH,6BAA6B,EAAE,aAAa,EAAE,CAAA;IAC9C;;OAEG;IACH,uBAAuB,EAAE,IAAI,CAAA;IAC7B;;OAEG;IACH,6BAA6B,EAAE,IAAI,CAAA;CACpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-prompts/store/module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAA;AAYzD;;;;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":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAA;AAYzD;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,EAAE,0BAoDxC,CAAA"}
|
|
@@ -38,5 +38,9 @@ export declare const relatedPromptsWiring: {
|
|
|
38
38
|
SelectedRelatedTagsChanged: {
|
|
39
39
|
setRelatedPromptsRelatedTags: import("../..").Wire<import("@empathyco/x-types").RelatedTag[]>;
|
|
40
40
|
};
|
|
41
|
+
ReloadRelatedPromptsRequested: {
|
|
42
|
+
resetRelatedPromptsState: import("../..").AnyWire;
|
|
43
|
+
reloadRelatedPromptsRequestWire: import("../..").AnyWire;
|
|
44
|
+
};
|
|
41
45
|
};
|
|
42
46
|
//# 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":"AAuDA;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2C/B,CAAA"}
|