@empathyco/x-components 10.0.2 → 10.1.1
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 +15 -0
- package/core/index.js +1 -0
- package/core/index.js.map +1 -1
- package/docs/API-reference/api/x-components.arialabels.md +19 -0
- package/docs/API-reference/api/x-components.arialabels.tabs.md +13 -0
- package/docs/API-reference/api/x-components.extraparamsstate.catalogsectionparamkey.md +18 -0
- package/docs/API-reference/api/x-components.extraparamsstate.md +19 -0
- package/docs/API-reference/api/x-components.hierarchicalfilter.md +1 -0
- package/docs/API-reference/api/x-components.md +132 -0
- package/docs/API-reference/api/x-components.relatedpromptquery.md +13 -0
- package/docs/API-reference/api/x-components.relatedpromptrequest.md +13 -0
- package/docs/API-reference/api/x-components.resetcatalogsection.md +13 -0
- package/docs/API-reference/api/x-components.reseturlcatalogsection.md +13 -0
- package/docs/API-reference/api/x-components.searchconfig.defaultcatalogsection.md +13 -0
- package/docs/API-reference/api/x-components.searchconfig.md +19 -0
- package/docs/API-reference/api/x-components.searchmutations.md +19 -0
- package/docs/API-reference/api/x-components.searchmutations.setcatalogsection.md +13 -0
- package/docs/API-reference/api/x-components.searchstate.catalogsection.md +13 -0
- package/docs/API-reference/api/x-components.searchstate.md +19 -0
- package/docs/API-reference/api/x-components.semanticqueriesnormalizedquery.md +13 -0
- package/docs/API-reference/api/x-components.semanticqueriesquery.md +13 -0
- package/docs/API-reference/api/x-components.semanticqueriesrequest.md +13 -0
- package/docs/API-reference/api/x-components.setcatalogsection.md +13 -0
- package/docs/API-reference/api/x-components.setcatalogsectionfromurl.md +13 -0
- package/docs/API-reference/api/x-components.seturlcatalogsection.md +13 -0
- package/docs/API-reference/api/x-components.seturlparams.md +1 -1
- 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/api/x-components.tab.click.md +13 -0
- package/docs/API-reference/api/x-components.tab.id.md +13 -0
- package/docs/API-reference/api/x-components.tab.label.md +13 -0
- package/docs/API-reference/api/x-components.tab.md +115 -0
- package/docs/API-reference/api/x-components.tab.selected.md +13 -0
- package/docs/API-reference/api/x-components.tabs.md +29 -0
- package/docs/API-reference/api/x-components.urlmutations.md +19 -0
- package/docs/API-reference/api/x-components.urlmutations.setcatalogsection.md +13 -0
- package/docs/API-reference/api/x-components.urlparams.catalogsection.md +11 -0
- package/docs/API-reference/api/x-components.urlparams.md +17 -0
- package/docs/API-reference/api/x-components.xeventstypes.md +19 -0
- package/docs/API-reference/api/x-components.xeventstypes.userselectedacatalogsection.md +13 -0
- package/docs/API-reference/components/common/tabs/x-components.tabs.md +24 -0
- package/js/components/tabs/tabs.vue.js +44 -0
- package/js/components/tabs/tabs.vue.js.map +1 -0
- package/js/components/tabs/tabs.vue2.js +44 -0
- package/js/components/tabs/tabs.vue2.js.map +1 -0
- package/js/index.js +8 -2
- package/js/index.js.map +1 -1
- package/js/types/accessibility.js.map +1 -1
- package/js/x-modules/ai/components/ai-carousel.vue2.js +1 -0
- package/js/x-modules/ai/components/ai-carousel.vue2.js.map +1 -1
- package/js/x-modules/ai/components/ai-grouped-carousel.vue2.js +1 -0
- package/js/x-modules/ai/components/ai-grouped-carousel.vue2.js.map +1 -1
- package/js/x-modules/empathize/components/empathize.vue2.js +1 -0
- package/js/x-modules/empathize/components/empathize.vue2.js.map +1 -1
- package/js/x-modules/extra-params/store/emitters.js +23 -2
- package/js/x-modules/extra-params/store/emitters.js.map +1 -1
- package/js/x-modules/extra-params/store/module.js +1 -0
- package/js/x-modules/extra-params/store/module.js.map +1 -1
- package/js/x-modules/queries-preview/components/query-preview-button.vue2.js +1 -0
- package/js/x-modules/queries-preview/components/query-preview-button.vue2.js.map +1 -1
- package/js/x-modules/queries-preview/components/query-preview.vue2.js +1 -0
- package/js/x-modules/queries-preview/components/query-preview.vue2.js.map +1 -1
- package/js/x-modules/scroll/components/scroll-to-top.vue2.js +1 -0
- package/js/x-modules/scroll/components/scroll-to-top.vue2.js.map +1 -1
- package/js/x-modules/search/store/getters/request.getter.js +24 -10
- package/js/x-modules/search/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/search/store/module.js +5 -0
- package/js/x-modules/search/store/module.js.map +1 -1
- package/js/x-modules/search/wiring.js +29 -1
- package/js/x-modules/search/wiring.js.map +1 -1
- package/js/x-modules/url/components/url-handler.vue.js.map +1 -1
- package/js/x-modules/url/components/url-handler.vue2.js +6 -2
- package/js/x-modules/url/components/url-handler.vue2.js.map +1 -1
- package/js/x-modules/url/store/initial-state.js +1 -0
- package/js/x-modules/url/store/initial-state.js.map +1 -1
- package/js/x-modules/url/store/module.js +3 -0
- package/js/x-modules/url/store/module.js.map +1 -1
- package/js/x-modules/url/wiring.js +19 -1
- package/js/x-modules/url/wiring.js.map +1 -1
- package/package.json +3 -3
- package/related-prompts/index.js +2 -0
- package/report/x-components.api.json +811 -5
- package/report/x-components.api.md +92 -6
- package/search/index.js +1 -1
- package/semantic-queries/index.js +3 -0
- package/types/src/components/index.d.ts +1 -0
- package/types/src/components/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/components/tabs/index.d.ts +3 -0
- package/types/src/components/tabs/index.d.ts.map +1 -0
- package/types/src/components/tabs/tab.types.d.ts +16 -0
- package/types/src/components/tabs/tab.types.d.ts.map +1 -0
- package/types/src/components/tabs/tabs.vue.d.ts +48 -0
- package/types/src/components/tabs/tabs.vue.d.ts.map +1 -0
- package/types/src/types/accessibility.d.ts +3 -0
- package/types/src/types/accessibility.d.ts.map +1 -1
- package/types/src/types/url-params.d.ts +1 -0
- package/types/src/types/url-params.d.ts.map +1 -1
- package/types/src/wiring/events.types.d.ts +5 -0
- package/types/src/wiring/events.types.d.ts.map +1 -1
- package/types/src/x-modules/extra-params/store/emitters.d.ts +4 -1
- package/types/src/x-modules/extra-params/store/emitters.d.ts.map +1 -1
- package/types/src/x-modules/extra-params/store/module.d.ts.map +1 -1
- package/types/src/x-modules/extra-params/store/types.d.ts +8 -0
- package/types/src/x-modules/extra-params/store/types.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/related-prompts/store/index.d.ts +1 -0
- package/types/src/x-modules/related-prompts/store/index.d.ts.map +1 -1
- package/types/src/x-modules/search/config.types.d.ts +5 -0
- package/types/src/x-modules/search/config.types.d.ts.map +1 -1
- package/types/src/x-modules/search/store/getters/request.getter.d.ts +2 -0
- package/types/src/x-modules/search/store/getters/request.getter.d.ts.map +1 -1
- package/types/src/x-modules/search/store/module.d.ts.map +1 -1
- package/types/src/x-modules/search/store/types.d.ts +14 -0
- package/types/src/x-modules/search/store/types.d.ts.map +1 -1
- package/types/src/x-modules/search/wiring.d.ts +31 -2
- package/types/src/x-modules/search/wiring.d.ts.map +1 -1
- package/types/src/x-modules/semantic-queries/store/index.d.ts +1 -0
- package/types/src/x-modules/semantic-queries/store/index.d.ts.map +1 -1
- package/types/src/x-modules/url/components/url-handler.vue.d.ts.map +1 -1
- package/types/src/x-modules/url/store/initial-state.d.ts.map +1 -1
- package/types/src/x-modules/url/store/module.d.ts.map +1 -1
- package/types/src/x-modules/url/store/types.d.ts +6 -0
- package/types/src/x-modules/url/store/types.d.ts.map +1 -1
- package/types/src/x-modules/url/wiring.d.ts +18 -0
- package/types/src/x-modules/url/wiring.d.ts.map +1 -1
- package/url/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,21 @@
|
|
|
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
|
+
## [10.1.1](https://github.com/empathyco/x/compare/@empathyco/x-components@10.1.0...@empathyco/x-components@10.1.1) (2026-10-19)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @empathyco/x-components
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [10.1.0](https://github.com/empathyco/x/compare/@empathyco/x-components@10.0.2...@empathyco/x-components@10.1.0) (2026-10-19)
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* create tabs component (#2188)
|
|
19
|
+
|
|
20
|
+
|
|
6
21
|
## [10.0.2](https://github.com/empathyco/x/compare/@empathyco/x-components@10.0.1...@empathyco/x-components@10.0.2) (2026-10-16)
|
|
7
22
|
|
|
8
23
|
### Bug Fixes
|
package/core/index.js
CHANGED
|
@@ -150,6 +150,7 @@ export { default as SortList } from '../js/components/sort/sort-list.vue.js';
|
|
|
150
150
|
export { default as SortPickerList } from '../js/components/sort/sort-picker-list.vue.js';
|
|
151
151
|
export { default as BaseSuggestion } from '../js/components/suggestions/base-suggestion.vue.js';
|
|
152
152
|
export { default as BaseSuggestions } from '../js/components/suggestions/base-suggestions.vue.js';
|
|
153
|
+
export { default as Tabs } from '../js/components/tabs/tabs.vue.js';
|
|
153
154
|
export { getRootXComponent, getXComponentXModuleName, isXComponent } from '../js/components/x-component.utils.js';
|
|
154
155
|
export { createUseDevice } from '../js/composables/create-use-device.js';
|
|
155
156
|
export { use$x } from '../js/composables/use-_x.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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -414,6 +414,25 @@ _(Optional)_
|
|
|
414
414
|
_(Optional)_
|
|
415
415
|
|
|
416
416
|
|
|
417
|
+
</td></tr>
|
|
418
|
+
<tr><td>
|
|
419
|
+
|
|
420
|
+
[tabs?](./x-components.arialabels.tabs.md)
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
</td><td>
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
</td><td>
|
|
427
|
+
|
|
428
|
+
{ root?: string; }
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
</td><td>
|
|
432
|
+
|
|
433
|
+
_(Optional)_
|
|
434
|
+
|
|
435
|
+
|
|
417
436
|
</td></tr>
|
|
418
437
|
</tbody></table>
|
|
419
438
|
|
|
@@ -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) > [AriaLabels](./x-components.arialabels.md) > [tabs](./x-components.arialabels.tabs.md)
|
|
4
|
+
|
|
5
|
+
## AriaLabels.tabs property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
tabs?: {
|
|
11
|
+
root?: string;
|
|
12
|
+
};
|
|
13
|
+
```
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [ExtraParamsState](./x-components.extraparamsstate.md) > [catalogSectionParamKey](./x-components.extraparamsstate.catalogsectionparamkey.md)
|
|
4
|
+
|
|
5
|
+
## ExtraParamsState.catalogSectionParamKey property
|
|
6
|
+
|
|
7
|
+
Key used to send the catalog section to the search API. It is consumed by the [SearchXModule](./x-components.searchxmodule.md) request getter, which writes the section under this key, and by the `ExtraParamsChanged` emitter, which omits it so it is not broadcast to the other modules.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
catalogSectionParamKey: string;
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Default Value
|
|
16
|
+
|
|
17
|
+
'catalogSection'
|
|
18
|
+
|
|
@@ -37,6 +37,25 @@ Description
|
|
|
37
37
|
</th></tr></thead>
|
|
38
38
|
<tbody><tr><td>
|
|
39
39
|
|
|
40
|
+
[catalogSectionParamKey](./x-components.extraparamsstate.catalogsectionparamkey.md)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
</td><td>
|
|
47
|
+
|
|
48
|
+
string
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
</td><td>
|
|
52
|
+
|
|
53
|
+
Key used to send the catalog section to the search API. It is consumed by the [SearchXModule](./x-components.searchxmodule.md) request getter, which writes the section under this key, and by the `ExtraParamsChanged` emitter, which omits it so it is not broadcast to the other modules.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
</td></tr>
|
|
57
|
+
<tr><td>
|
|
58
|
+
|
|
40
59
|
[params](./x-components.extraparamsstate.params.md)
|
|
41
60
|
|
|
42
61
|
|
|
@@ -49,6 +49,7 @@ _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
|
49
49
|
UserOpenXProgrammatically?: void | undefined;
|
|
50
50
|
UserPressedArrowKey?: import("../../../..").ArrowKey | undefined;
|
|
51
51
|
UserReachedEmpathizeTop?: void | undefined;
|
|
52
|
+
UserSelectedACatalogSection?: string | undefined;
|
|
52
53
|
UserSelectedAResultVariant?: {
|
|
53
54
|
result: import("@empathyco/x-types").Result;
|
|
54
55
|
variant: import("@empathyco/x-types").ResultVariant;
|
|
@@ -3152,6 +3152,17 @@ Type safe which allows the access to the State and the Getters of a [XStoreModul
|
|
|
3152
3152
|
Represents an object including an eventPayload, which type is extracted using [EventPayload](./x-components.eventpayload.md)<!-- -->, and a metadata which type is taken from the SomeEventMetadata parameter of this type.
|
|
3153
3153
|
|
|
3154
3154
|
|
|
3155
|
+
</td></tr>
|
|
3156
|
+
<tr><td>
|
|
3157
|
+
|
|
3158
|
+
[Tab](./x-components.tab.md)
|
|
3159
|
+
|
|
3160
|
+
|
|
3161
|
+
</td><td>
|
|
3162
|
+
|
|
3163
|
+
The shape of a single item rendered by [Tabs](./x-components.tabs.md)<!-- -->.
|
|
3164
|
+
|
|
3165
|
+
|
|
3155
3166
|
</td></tr>
|
|
3156
3167
|
<tr><td>
|
|
3157
3168
|
|
|
@@ -5976,6 +5987,28 @@ Default implementation for the [HistoryQueriesActions.refreshSession](./x-compon
|
|
|
5976
5987
|
This component shows a suggested related prompt.
|
|
5977
5988
|
|
|
5978
5989
|
|
|
5990
|
+
</td></tr>
|
|
5991
|
+
<tr><td>
|
|
5992
|
+
|
|
5993
|
+
[relatedPromptQuery](./x-components.relatedpromptquery.md)
|
|
5994
|
+
|
|
5995
|
+
|
|
5996
|
+
</td><td>
|
|
5997
|
+
|
|
5998
|
+
Default implementation for the related prompts query getter.
|
|
5999
|
+
|
|
6000
|
+
|
|
6001
|
+
</td></tr>
|
|
6002
|
+
<tr><td>
|
|
6003
|
+
|
|
6004
|
+
[relatedPromptRequest](./x-components.relatedpromptrequest.md)
|
|
6005
|
+
|
|
6006
|
+
|
|
6007
|
+
</td><td>
|
|
6008
|
+
|
|
6009
|
+
Default implementation for the [RelatedPromptsGetters.request](./x-components.relatedpromptsgetters.request.md) getter.
|
|
6010
|
+
|
|
6011
|
+
|
|
5979
6012
|
</td></tr>
|
|
5980
6013
|
<tr><td>
|
|
5981
6014
|
|
|
@@ -6209,6 +6242,17 @@ Resets the browse state to reload the current browse.
|
|
|
6209
6242
|
Resets the browse state when the request is changed to null. See the [BrowseXStoreModule](./x-components.browsexstoremodule.md) for details.
|
|
6210
6243
|
|
|
6211
6244
|
|
|
6245
|
+
</td></tr>
|
|
6246
|
+
<tr><td>
|
|
6247
|
+
|
|
6248
|
+
[resetCatalogSection](./x-components.resetcatalogsection.md)
|
|
6249
|
+
|
|
6250
|
+
|
|
6251
|
+
</td><td>
|
|
6252
|
+
|
|
6253
|
+
Resets the search state `catalogSection` to an empty value, so the request sends the configured default catalog section instead of the selected one.
|
|
6254
|
+
|
|
6255
|
+
|
|
6212
6256
|
</td></tr>
|
|
6213
6257
|
<tr><td>
|
|
6214
6258
|
|
|
@@ -6352,6 +6396,17 @@ Resets the search state when the request is changed to null. See the [SearchXSto
|
|
|
6352
6396
|
Sets the browseCategory of the url module.
|
|
6353
6397
|
|
|
6354
6398
|
|
|
6399
|
+
</td></tr>
|
|
6400
|
+
<tr><td>
|
|
6401
|
+
|
|
6402
|
+
[resetUrlCatalogSection](./x-components.reseturlcatalogsection.md)
|
|
6403
|
+
|
|
6404
|
+
|
|
6405
|
+
</td><td>
|
|
6406
|
+
|
|
6407
|
+
Resets the catalog section of the url module.
|
|
6408
|
+
|
|
6409
|
+
|
|
6355
6410
|
</td></tr>
|
|
6356
6411
|
<tr><td>
|
|
6357
6412
|
|
|
@@ -6685,6 +6740,39 @@ The property "alwaysVisible" handles if the component is rendered if no filters
|
|
|
6685
6740
|
Retrieves a list of semantic queries from the state and exposes them in the slots.
|
|
6686
6741
|
|
|
6687
6742
|
|
|
6743
|
+
</td></tr>
|
|
6744
|
+
<tr><td>
|
|
6745
|
+
|
|
6746
|
+
[semanticQueriesNormalizedQuery](./x-components.semanticqueriesnormalizedquery.md)
|
|
6747
|
+
|
|
6748
|
+
|
|
6749
|
+
</td><td>
|
|
6750
|
+
|
|
6751
|
+
Default implementacion for the [SemanticQueriesGetters.normalizedQuery](./x-components.semanticqueriesgetters.normalizedquery.md) getter.
|
|
6752
|
+
|
|
6753
|
+
|
|
6754
|
+
</td></tr>
|
|
6755
|
+
<tr><td>
|
|
6756
|
+
|
|
6757
|
+
[semanticQueriesQuery](./x-components.semanticqueriesquery.md)
|
|
6758
|
+
|
|
6759
|
+
|
|
6760
|
+
</td><td>
|
|
6761
|
+
|
|
6762
|
+
Default implementation for the semantic queries query getter.
|
|
6763
|
+
|
|
6764
|
+
|
|
6765
|
+
</td></tr>
|
|
6766
|
+
<tr><td>
|
|
6767
|
+
|
|
6768
|
+
[semanticQueriesRequest](./x-components.semanticqueriesrequest.md)
|
|
6769
|
+
|
|
6770
|
+
|
|
6771
|
+
</td><td>
|
|
6772
|
+
|
|
6773
|
+
Default implementation for the [SemanticQueriesGetters.request](./x-components.semanticqueriesgetters.request.md) getter.
|
|
6774
|
+
|
|
6775
|
+
|
|
6688
6776
|
</td></tr>
|
|
6689
6777
|
<tr><td>
|
|
6690
6778
|
|
|
@@ -6828,6 +6916,28 @@ Default implementation for the [BrowseActions.setUrlParams](./x-components.brows
|
|
|
6828
6916
|
Sets the browse state `query`<!-- -->.
|
|
6829
6917
|
|
|
6830
6918
|
|
|
6919
|
+
</td></tr>
|
|
6920
|
+
<tr><td>
|
|
6921
|
+
|
|
6922
|
+
[setCatalogSection](./x-components.setcatalogsection.md)
|
|
6923
|
+
|
|
6924
|
+
|
|
6925
|
+
</td><td>
|
|
6926
|
+
|
|
6927
|
+
Sets the search state `catalogSection`<!-- -->.
|
|
6928
|
+
|
|
6929
|
+
|
|
6930
|
+
</td></tr>
|
|
6931
|
+
<tr><td>
|
|
6932
|
+
|
|
6933
|
+
[setCatalogSectionFromUrl](./x-components.setcatalogsectionfromurl.md)
|
|
6934
|
+
|
|
6935
|
+
|
|
6936
|
+
</td><td>
|
|
6937
|
+
|
|
6938
|
+
Sets the search state `catalogSection` with the one loaded from the URL. The `catalogSection` URL param is optional, so an empty value means no section was provided, and the current selection is kept by setting `undefined`<!-- -->.
|
|
6939
|
+
|
|
6940
|
+
|
|
6831
6941
|
</td></tr>
|
|
6832
6942
|
<tr><td>
|
|
6833
6943
|
|
|
@@ -7598,6 +7708,17 @@ Sets the total results.
|
|
|
7598
7708
|
Sets the browseCategory of the url module.
|
|
7599
7709
|
|
|
7600
7710
|
|
|
7711
|
+
</td></tr>
|
|
7712
|
+
<tr><td>
|
|
7713
|
+
|
|
7714
|
+
[setUrlCatalogSection](./x-components.seturlcatalogsection.md)
|
|
7715
|
+
|
|
7716
|
+
|
|
7717
|
+
</td><td>
|
|
7718
|
+
|
|
7719
|
+
Sets the catalog section of the url module.
|
|
7720
|
+
|
|
7721
|
+
|
|
7601
7722
|
</td></tr>
|
|
7602
7723
|
<tr><td>
|
|
7603
7724
|
|
|
@@ -7916,6 +8037,17 @@ Renders a transition group wrapping the elements passed in the default slot and
|
|
|
7916
8037
|
Default implementation for the [HistoryQueriesGetters.storageKey](./x-components.historyqueriesgetters.storagekey.md) getter.
|
|
7917
8038
|
|
|
7918
8039
|
|
|
8040
|
+
</td></tr>
|
|
8041
|
+
<tr><td>
|
|
8042
|
+
|
|
8043
|
+
[Tabs](./x-components.tabs.md)
|
|
8044
|
+
|
|
8045
|
+
|
|
8046
|
+
</td><td>
|
|
8047
|
+
|
|
8048
|
+
Renders a list of tabs from the given `items`<!-- -->. It keeps track of the selected tab internally: clicking a tab marks it as selected and invokes its `click` callback.
|
|
8049
|
+
|
|
8050
|
+
|
|
7919
8051
|
</td></tr>
|
|
7920
8052
|
<tr><td>
|
|
7921
8053
|
|
|
@@ -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) > [relatedPromptQuery](./x-components.relatedpromptquery.md)
|
|
4
|
+
|
|
5
|
+
## relatedPromptQuery variable
|
|
6
|
+
|
|
7
|
+
Default implementation for the related prompts query getter.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
query: RelatedPromptsXStoreModule['getters']['query']
|
|
13
|
+
```
|
|
@@ -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) > [relatedPromptRequest](./x-components.relatedpromptrequest.md)
|
|
4
|
+
|
|
5
|
+
## relatedPromptRequest variable
|
|
6
|
+
|
|
7
|
+
Default implementation for the [RelatedPromptsGetters.request](./x-components.relatedpromptsgetters.request.md) getter.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
request: RelatedPromptsXStoreModule['getters']['request']
|
|
13
|
+
```
|
|
@@ -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) > [resetCatalogSection](./x-components.resetcatalogsection.md)
|
|
4
|
+
|
|
5
|
+
## resetCatalogSection variable
|
|
6
|
+
|
|
7
|
+
Resets the search state `catalogSection` to an empty value, so the request sends the configured default catalog section instead of the selected one.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
resetCatalogSection: import("../../wiring").AnyWire
|
|
13
|
+
```
|
|
@@ -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) > [resetUrlCatalogSection](./x-components.reseturlcatalogsection.md)
|
|
4
|
+
|
|
5
|
+
## resetUrlCatalogSection variable
|
|
6
|
+
|
|
7
|
+
Resets the catalog section of the url module.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
resetUrlCatalogSection: import("../..").AnyWire
|
|
13
|
+
```
|
|
@@ -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) > [SearchConfig](./x-components.searchconfig.md) > [defaultCatalogSection](./x-components.searchconfig.defaultcatalogsection.md)
|
|
4
|
+
|
|
5
|
+
## SearchConfig.defaultCatalogSection property
|
|
6
|
+
|
|
7
|
+
Catalog section sent when no catalog section has been selected, either because none was provided or because it was reset to an empty value.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
defaultCatalogSection: string;
|
|
13
|
+
```
|
|
@@ -37,6 +37,25 @@ Description
|
|
|
37
37
|
</th></tr></thead>
|
|
38
38
|
<tbody><tr><td>
|
|
39
39
|
|
|
40
|
+
[defaultCatalogSection](./x-components.searchconfig.defaultcatalogsection.md)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
</td><td>
|
|
47
|
+
|
|
48
|
+
string
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
</td><td>
|
|
52
|
+
|
|
53
|
+
Catalog section sent when no catalog section has been selected, either because none was provided or because it was reset to an empty value.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
</td></tr>
|
|
57
|
+
<tr><td>
|
|
58
|
+
|
|
40
59
|
[pageMode](./x-components.searchconfig.pagemode.md)
|
|
41
60
|
|
|
42
61
|
|
|
@@ -111,6 +111,25 @@ Resets the "resettable" part of the Search state like [SearchMutations.resetStat
|
|
|
111
111
|
Sets the banners of the module.
|
|
112
112
|
|
|
113
113
|
|
|
114
|
+
</td></tr>
|
|
115
|
+
<tr><td>
|
|
116
|
+
|
|
117
|
+
[setCatalogSection](./x-components.searchmutations.setcatalogsection.md)
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
</td><td>
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
</td><td>
|
|
124
|
+
|
|
125
|
+
(catalogSection: string \| undefined) => void
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
</td><td>
|
|
129
|
+
|
|
130
|
+
Sets the id of the selected catalog section.
|
|
131
|
+
|
|
132
|
+
|
|
114
133
|
</td></tr>
|
|
115
134
|
<tr><td>
|
|
116
135
|
|
|
@@ -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) > [SearchMutations](./x-components.searchmutations.md) > [setCatalogSection](./x-components.searchmutations.setcatalogsection.md)
|
|
4
|
+
|
|
5
|
+
## SearchMutations.setCatalogSection property
|
|
6
|
+
|
|
7
|
+
Sets the id of the selected catalog section.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setCatalogSection: (catalogSection: string | undefined) => void;
|
|
13
|
+
```
|
|
@@ -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) > [SearchState](./x-components.searchstate.md) > [catalogSection](./x-components.searchstate.catalogsection.md)
|
|
4
|
+
|
|
5
|
+
## SearchState.catalogSection property
|
|
6
|
+
|
|
7
|
+
The id of the catalog section selected for the current search, either by the user or loaded from the URL. It is `undefined` when no section has been provided, so the [SearchGetters.request](./x-components.searchgetters.request.md) can fall back to the extra params and, finally, to the [SearchConfig.defaultCatalogSection](./x-components.searchconfig.defaultcatalogsection.md)<!-- -->.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
catalogSection: string | undefined;
|
|
13
|
+
```
|
|
@@ -54,6 +54,25 @@ Banner\[\]
|
|
|
54
54
|
The list of the banners, related to the `query` property of the state.
|
|
55
55
|
|
|
56
56
|
|
|
57
|
+
</td></tr>
|
|
58
|
+
<tr><td>
|
|
59
|
+
|
|
60
|
+
[catalogSection](./x-components.searchstate.catalogsection.md)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
</td><td>
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
</td><td>
|
|
67
|
+
|
|
68
|
+
string \| undefined
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
</td><td>
|
|
72
|
+
|
|
73
|
+
The id of the catalog section selected for the current search, either by the user or loaded from the URL. It is `undefined` when no section has been provided, so the [SearchGetters.request](./x-components.searchgetters.request.md) can fall back to the extra params and, finally, to the [SearchConfig.defaultCatalogSection](./x-components.searchconfig.defaultcatalogsection.md)<!-- -->.
|
|
74
|
+
|
|
75
|
+
|
|
57
76
|
</td></tr>
|
|
58
77
|
<tr><td>
|
|
59
78
|
|
|
@@ -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) > [semanticQueriesNormalizedQuery](./x-components.semanticqueriesnormalizedquery.md)
|
|
4
|
+
|
|
5
|
+
## semanticQueriesNormalizedQuery variable
|
|
6
|
+
|
|
7
|
+
Default implementacion for the [SemanticQueriesGetters.normalizedQuery](./x-components.semanticqueriesgetters.normalizedquery.md) getter.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
normalizedQuery: SemanticQueriesXStoreModule['getters']['normalizedQuery']
|
|
13
|
+
```
|
|
@@ -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) > [semanticQueriesQuery](./x-components.semanticqueriesquery.md)
|
|
4
|
+
|
|
5
|
+
## semanticQueriesQuery variable
|
|
6
|
+
|
|
7
|
+
Default implementation for the semantic queries query getter.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
query: SemanticQueriesXStoreModule['getters']['query']
|
|
13
|
+
```
|
|
@@ -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) > [semanticQueriesRequest](./x-components.semanticqueriesrequest.md)
|
|
4
|
+
|
|
5
|
+
## semanticQueriesRequest variable
|
|
6
|
+
|
|
7
|
+
Default implementation for the [SemanticQueriesGetters.request](./x-components.semanticqueriesgetters.request.md) getter.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
request: SemanticQueriesXStoreModule['getters']['request']
|
|
13
|
+
```
|
|
@@ -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) > [setCatalogSection](./x-components.setcatalogsection.md)
|
|
4
|
+
|
|
5
|
+
## setCatalogSection variable
|
|
6
|
+
|
|
7
|
+
Sets the search state `catalogSection`<!-- -->.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setCatalogSection: import("../../wiring").Wire<string | undefined>
|
|
13
|
+
```
|
|
@@ -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) > [setCatalogSectionFromUrl](./x-components.setcatalogsectionfromurl.md)
|
|
4
|
+
|
|
5
|
+
## setCatalogSectionFromUrl variable
|
|
6
|
+
|
|
7
|
+
Sets the search state `catalogSection` with the one loaded from the URL. The `catalogSection` URL param is optional, so an empty value means no section was provided, and the current selection is kept by setting `undefined`<!-- -->.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setCatalogSectionFromUrl: import("../../wiring").AnyWire
|
|
13
|
+
```
|
|
@@ -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) > [setUrlCatalogSection](./x-components.seturlcatalogsection.md)
|
|
4
|
+
|
|
5
|
+
## setUrlCatalogSection variable
|
|
6
|
+
|
|
7
|
+
Sets the catalog section of the url module.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setUrlCatalogSection: import("../..").Wire<string>
|
|
13
|
+
```
|
|
@@ -46,6 +46,7 @@ _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
|
46
46
|
UserOpenXProgrammatically?: void | undefined;
|
|
47
47
|
UserPressedArrowKey?: import("../../../..").ArrowKey | undefined;
|
|
48
48
|
UserReachedEmpathizeTop?: void | undefined;
|
|
49
|
+
UserSelectedACatalogSection?: string | undefined;
|
|
49
50
|
UserSelectedAResultVariant?: {
|
|
50
51
|
result: import("@empathyco/x-types").Result;
|
|
51
52
|
variant: import("@empathyco/x-types").ResultVariant;
|
|
@@ -36,6 +36,7 @@ _default: import("vue").DefineComponent<{}, {
|
|
|
36
36
|
UserOpenXProgrammatically: (payload: undefined, metadata: WireMetadata) => unknown;
|
|
37
37
|
UserPressedArrowKey: (payload: import("..").ArrowKey, metadata: WireMetadata) => unknown;
|
|
38
38
|
UserReachedEmpathizeTop: (payload: undefined, metadata: WireMetadata) => unknown;
|
|
39
|
+
UserSelectedACatalogSection: (payload: string, metadata: WireMetadata) => unknown;
|
|
39
40
|
UserSelectedAResultVariant: (payload: {
|
|
40
41
|
result: import("@empathyco/x-types").Result;
|
|
41
42
|
variant: import("@empathyco/x-types").ResultVariant;
|
|
@@ -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) > [Tab](./x-components.tab.md) > [click](./x-components.tab.click.md)
|
|
4
|
+
|
|
5
|
+
## Tab.click property
|
|
6
|
+
|
|
7
|
+
Callback invoked when the tab is clicked.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
click: () => void;
|
|
13
|
+
```
|
|
@@ -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) > [Tab](./x-components.tab.md) > [id](./x-components.tab.id.md)
|
|
4
|
+
|
|
5
|
+
## Tab.id property
|
|
6
|
+
|
|
7
|
+
The unique id of the tab.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
id: string;
|
|
13
|
+
```
|
|
@@ -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) > [Tab](./x-components.tab.md) > [label](./x-components.tab.label.md)
|
|
4
|
+
|
|
5
|
+
## Tab.label property
|
|
6
|
+
|
|
7
|
+
Text label rendered inside the tab.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
label: string;
|
|
13
|
+
```
|