@empathyco/x-components 6.0.0-alpha.235 → 6.0.0-alpha.237
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 +14 -0
- package/core/index.js +1 -0
- package/core/index.js.map +1 -1
- package/docs/API-reference/api/x-components.fetchandsavequerypreviewresultsenrichmentwire.md +13 -0
- package/docs/API-reference/api/x-components.hierarchicalfilter.md +1 -0
- package/docs/API-reference/api/x-components.md +11 -0
- package/docs/API-reference/api/x-components.queriespreviewactions.fetchandsavequerypreviewresultsenrichment.md +13 -0
- package/docs/API-reference/api/x-components.queriespreviewactions.md +19 -0
- package/docs/API-reference/api/x-components.queriespreviewmutations.md +19 -0
- package/docs/API-reference/api/x-components.queriespreviewmutations.updatequerypreviewresultsfromenrichment.md +16 -0
- package/docs/API-reference/api/x-components.queriespreviewxevents.md +19 -0
- package/docs/API-reference/api/x-components.queriespreviewxevents.querypreviewresultreceived.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/icons/x-components.ai-spinner-icon.md +7 -0
- package/js/components/icons/ai-spinner-icon.vue.js +2443 -0
- package/js/components/icons/ai-spinner-icon.vue.js.map +1 -0
- package/js/index.js +2 -1
- package/js/index.js.map +1 -1
- package/js/x-modules/queries-preview/store/actions/fetch-and-save-query-preview-results-enrichment.action.js +21 -0
- package/js/x-modules/queries-preview/store/actions/fetch-and-save-query-preview-results-enrichment.action.js.map +1 -0
- package/js/x-modules/queries-preview/store/actions/fetch-and-save-query-preview.action.js +5 -2
- package/js/x-modules/queries-preview/store/actions/fetch-and-save-query-preview.action.js.map +1 -1
- package/js/x-modules/queries-preview/store/module.js +9 -0
- package/js/x-modules/queries-preview/store/module.js.map +1 -1
- package/js/x-modules/queries-preview/wiring.js +11 -2
- package/js/x-modules/queries-preview/wiring.js.map +1 -1
- package/package.json +2 -2
- package/queries-preview/index.js +1 -1
- package/report/x-components.api.json +182 -5
- package/report/x-components.api.md +22 -4
- package/types/src/components/icons/index.d.ts +1 -0
- package/types/src/components/icons/index.d.ts.map +1 -1
- package/types/src/components/snippet-callbacks.vue.d.ts +1 -0
- package/types/src/components/snippet-callbacks.vue.d.ts.map +1 -1
- package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +1 -0
- package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +1 -1
- package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts +1 -0
- package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
- package/types/src/x-modules/queries-preview/events.types.d.ts +5 -0
- package/types/src/x-modules/queries-preview/events.types.d.ts.map +1 -1
- package/types/src/x-modules/queries-preview/store/actions/fetch-and-save-query-preview-results-enrichment.action.d.ts +3 -0
- package/types/src/x-modules/queries-preview/store/actions/fetch-and-save-query-preview-results-enrichment.action.d.ts.map +1 -0
- package/types/src/x-modules/queries-preview/store/actions/fetch-and-save-query-preview.action.d.ts.map +1 -1
- package/types/src/x-modules/queries-preview/store/module.d.ts.map +1 -1
- package/types/src/x-modules/queries-preview/store/types.d.ts +17 -0
- package/types/src/x-modules/queries-preview/store/types.d.ts.map +1 -1
- package/types/src/x-modules/queries-preview/wiring.d.ts +9 -0
- package/types/src/x-modules/queries-preview/wiring.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
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.237](https://github.com/empathyco/x/compare/@empathyco/x-components@6.0.0-alpha.236...@empathyco/x-components@6.0.0-alpha.237) (2026-04-08)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **icons:** add AISpinnerIcon component (#2075)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## [6.0.0-alpha.236](https://github.com/empathyco/x/compare/@empathyco/x-components@6.0.0-alpha.235...@empathyco/x-components@6.0.0-alpha.236) (2026-04-07)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **queries-preview:** add result enrichment support (#2072)
|
|
18
|
+
|
|
19
|
+
|
|
6
20
|
## [6.0.0-alpha.235](https://github.com/empathyco/x/compare/@empathyco/x-components@6.0.0-alpha.234...@empathyco/x-components@6.0.0-alpha.235) (2026-04-06)
|
|
7
21
|
|
|
8
22
|
**Note:** Version bump only for package @empathyco/x-components
|
package/core/index.js
CHANGED
|
@@ -35,6 +35,7 @@ export { default as BasePriceFilterLabel } from '../js/components/filters/labels
|
|
|
35
35
|
export { default as BaseRatingFilterLabel } from '../js/components/filters/labels/base-rating-filter-label.vue.js';
|
|
36
36
|
export { default as GlobalXBus } from '../js/components/global-x-bus.vue.js';
|
|
37
37
|
export { default as Highlight } from '../js/components/highlight.vue.js';
|
|
38
|
+
export { default as AISpinnerIcon } from '../js/components/icons/ai-spinner-icon.vue.js';
|
|
38
39
|
export { default as AIStarIcon } from '../js/components/icons/ai-star.vue.js';
|
|
39
40
|
export { default as ArrowDownIcon } from '../js/components/icons/arrow-down.vue.js';
|
|
40
41
|
export { default as ArrowLeftIcon } from '../js/components/icons/arrow-left.vue.js';
|
package/core/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -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) > [fetchAndSaveQueryPreviewResultsEnrichmentWire](./x-components.fetchandsavequerypreviewresultsenrichmentwire.md)
|
|
4
|
+
|
|
5
|
+
## fetchAndSaveQueryPreviewResultsEnrichmentWire variable
|
|
6
|
+
|
|
7
|
+
Requests and stores the enrichment results for the query preview results.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
fetchAndSaveQueryPreviewResultsEnrichmentWire: import("../..").Wire<import("./store").QueryPreviewItem>
|
|
13
|
+
```
|
|
@@ -116,6 +116,7 @@ _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
|
116
116
|
cache: boolean;
|
|
117
117
|
} | undefined;
|
|
118
118
|
QueriesPreviewChanged?: Dictionary<import("../../../queries-preview").QueryPreviewItem> | undefined;
|
|
119
|
+
QueryPreviewResultReceived?: import("../../../queries-preview").QueryPreviewItem | undefined;
|
|
119
120
|
QuerySuggestionsChanged?: import("@empathyco/x-types").Suggestion[] | undefined;
|
|
120
121
|
QuerySuggestionsRequestUpdated?: import("@empathyco/x-types").QuerySuggestionsRequest | null | undefined;
|
|
121
122
|
UserSelectedAQuerySuggestion?: import("@empathyco/x-types").Suggestion | undefined;
|
|
@@ -4724,6 +4724,17 @@ Requests and stores the enrichment results for the partial results.
|
|
|
4724
4724
|
Default implementation for the [QueriesPreviewActions.fetchAndSaveQueryPreview](./x-components.queriespreviewactions.fetchandsavequerypreview.md)<!-- -->.
|
|
4725
4725
|
|
|
4726
4726
|
|
|
4727
|
+
</td></tr>
|
|
4728
|
+
<tr><td>
|
|
4729
|
+
|
|
4730
|
+
[fetchAndSaveQueryPreviewResultsEnrichmentWire](./x-components.fetchandsavequerypreviewresultsenrichmentwire.md)
|
|
4731
|
+
|
|
4732
|
+
|
|
4733
|
+
</td><td>
|
|
4734
|
+
|
|
4735
|
+
Requests and stores the enrichment results for the query preview results.
|
|
4736
|
+
|
|
4737
|
+
|
|
4727
4738
|
</td></tr>
|
|
4728
4739
|
<tr><td>
|
|
4729
4740
|
|
|
@@ -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) > [QueriesPreviewActions](./x-components.queriespreviewactions.md) > [fetchAndSaveQueryPreviewResultsEnrichment](./x-components.queriespreviewactions.fetchandsavequerypreviewresultsenrichment.md)
|
|
4
|
+
|
|
5
|
+
## QueriesPreviewActions.fetchAndSaveQueryPreviewResultsEnrichment property
|
|
6
|
+
|
|
7
|
+
Requests and stores the enrichment results for the query preview results.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
fetchAndSaveQueryPreviewResultsEnrichment: (queryPreviewItem: QueryPreviewItem) => void;
|
|
13
|
+
```
|
|
@@ -53,6 +53,25 @@ Description
|
|
|
53
53
|
Requests the results for a cacheable query preview and saves them in the state.
|
|
54
54
|
|
|
55
55
|
|
|
56
|
+
</td></tr>
|
|
57
|
+
<tr><td>
|
|
58
|
+
|
|
59
|
+
[fetchAndSaveQueryPreviewResultsEnrichment](./x-components.queriespreviewactions.fetchandsavequerypreviewresultsenrichment.md)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
</td><td>
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
</td><td>
|
|
66
|
+
|
|
67
|
+
(queryPreviewItem: [QueryPreviewItem](./x-components.querypreviewitem.md)<!-- -->) => void
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
</td><td>
|
|
71
|
+
|
|
72
|
+
Requests and stores the enrichment results for the query preview results.
|
|
73
|
+
|
|
74
|
+
|
|
56
75
|
</td></tr>
|
|
57
76
|
<tr><td>
|
|
58
77
|
|
|
@@ -187,6 +187,25 @@ Sets the status of a query preview request.
|
|
|
187
187
|
Updates a result with new fields.
|
|
188
188
|
|
|
189
189
|
|
|
190
|
+
</td></tr>
|
|
191
|
+
<tr><td>
|
|
192
|
+
|
|
193
|
+
[updateQueryPreviewResultsFromEnrichment](./x-components.queriespreviewmutations.updatequerypreviewresultsfromenrichment.md)
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
</td><td>
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
</td><td>
|
|
200
|
+
|
|
201
|
+
(enrichmentPayload: { queryPreviewItem: [QueryPreviewItem](./x-components.querypreviewitem.md)<!-- -->; enrichmentResults: any\[\]; }) => void
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
</td><td>
|
|
205
|
+
|
|
206
|
+
Updates the query preview results with the enrichment results.
|
|
207
|
+
|
|
208
|
+
|
|
190
209
|
</td></tr>
|
|
191
210
|
</tbody></table>
|
|
192
211
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [QueriesPreviewMutations](./x-components.queriespreviewmutations.md) > [updateQueryPreviewResultsFromEnrichment](./x-components.queriespreviewmutations.updatequerypreviewresultsfromenrichment.md)
|
|
4
|
+
|
|
5
|
+
## QueriesPreviewMutations.updateQueryPreviewResultsFromEnrichment property
|
|
6
|
+
|
|
7
|
+
Updates the query preview results with the enrichment results.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
updateQueryPreviewResultsFromEnrichment: (enrichmentPayload: {
|
|
13
|
+
queryPreviewItem: QueryPreviewItem;
|
|
14
|
+
enrichmentResults: any[];
|
|
15
|
+
}) => void;
|
|
16
|
+
```
|
|
@@ -91,6 +91,25 @@ SearchRequest
|
|
|
91
91
|
Any property of cacheable queries preview request has changed. Payload: The new [request](./x-types.searchrequest.md)<!-- -->.
|
|
92
92
|
|
|
93
93
|
|
|
94
|
+
</td></tr>
|
|
95
|
+
<tr><td>
|
|
96
|
+
|
|
97
|
+
[QueryPreviewResultReceived](./x-components.queriespreviewxevents.querypreviewresultreceived.md)
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
</td><td>
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
</td><td>
|
|
104
|
+
|
|
105
|
+
[QueryPreviewItem](./x-components.querypreviewitem.md)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
</td><td>
|
|
109
|
+
|
|
110
|
+
A query preview result has been received and cached. Payload: The [QueryPreviewItem](./x-components.querypreviewitem.md) that was cached.
|
|
111
|
+
|
|
112
|
+
|
|
94
113
|
</td></tr>
|
|
95
114
|
<tr><td>
|
|
96
115
|
|
package/docs/API-reference/api/x-components.queriespreviewxevents.querypreviewresultreceived.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) > [QueriesPreviewXEvents](./x-components.queriespreviewxevents.md) > [QueryPreviewResultReceived](./x-components.queriespreviewxevents.querypreviewresultreceived.md)
|
|
4
|
+
|
|
5
|
+
## QueriesPreviewXEvents.QueryPreviewResultReceived property
|
|
6
|
+
|
|
7
|
+
A query preview result has been received and cached. Payload: The [QueryPreviewItem](./x-components.querypreviewitem.md) that was cached.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
QueryPreviewResultReceived: QueryPreviewItem;
|
|
13
|
+
```
|
|
@@ -113,6 +113,7 @@ _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
|
113
113
|
cache: boolean;
|
|
114
114
|
} | undefined;
|
|
115
115
|
QueriesPreviewChanged?: Dictionary<import("../../../queries-preview").QueryPreviewItem> | undefined;
|
|
116
|
+
QueryPreviewResultReceived?: import("../../../queries-preview").QueryPreviewItem | undefined;
|
|
116
117
|
QuerySuggestionsChanged?: import("@empathyco/x-types").Suggestion[] | undefined;
|
|
117
118
|
QuerySuggestionsRequestUpdated?: import("@empathyco/x-types").QuerySuggestionsRequest | null | undefined;
|
|
118
119
|
UserSelectedAQuerySuggestion?: import("@empathyco/x-types").Suggestion | undefined;
|
|
@@ -103,6 +103,7 @@ _default: import("vue").DefineComponent<{}, {
|
|
|
103
103
|
cache: boolean;
|
|
104
104
|
}, metadata: WireMetadata) => unknown;
|
|
105
105
|
QueriesPreviewChanged: (payload: import("@empathyco/x-utils").Dictionary<import("..").QueryPreviewItem>, metadata: WireMetadata) => unknown;
|
|
106
|
+
QueryPreviewResultReceived: (payload: import("..").QueryPreviewItem, metadata: WireMetadata) => unknown;
|
|
106
107
|
QuerySuggestionsChanged: (payload: import("@empathyco/x-types").Suggestion[], metadata: WireMetadata) => unknown;
|
|
107
108
|
QuerySuggestionsRequestUpdated: (payload: import("@empathyco/x-types").QuerySuggestionsRequest | null, metadata: WireMetadata) => unknown;
|
|
108
109
|
UserSelectedAQuerySuggestion: (payload: import("@empathyco/x-types").Suggestion, metadata: WireMetadata) => unknown;
|