@empathyco/x-components 7.4.1 → 7.5.0
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 +7 -0
- package/core/index.js.map +1 -1
- package/docs/API-reference/api/x-components.baseaddtocart.md +1 -1
- package/docs/API-reference/api/x-components.hierarchicalfilter.md +1 -0
- package/docs/API-reference/api/x-components.md +124 -0
- package/docs/API-reference/api/x-components.setresults.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/api/x-components.vendoractions.md +11 -0
- package/docs/API-reference/api/x-components.vendorgetters.md +11 -0
- package/docs/API-reference/api/x-components.vendormutations.md +54 -0
- package/docs/API-reference/api/x-components.vendormutations.setresults.md +11 -0
- package/docs/API-reference/api/x-components.vendorresult.md +57 -0
- package/docs/API-reference/api/x-components.vendorresult.position.md +11 -0
- package/docs/API-reference/api/x-components.vendorresultslist.md +31 -0
- package/docs/API-reference/api/x-components.vendorstate.md +54 -0
- package/docs/API-reference/api/x-components.vendorstate.results.md +11 -0
- package/docs/API-reference/api/x-components.vendorxevents.md +58 -0
- package/docs/API-reference/api/x-components.vendorxevents.vendorresultschanged.md +13 -0
- package/docs/API-reference/api/x-components.vendorxmodule.md +13 -0
- package/docs/API-reference/api/x-components.vendorxstoremodule.md +11 -0
- package/docs/API-reference/api/x-components.xeventstypes.md +2 -2
- package/docs/API-reference/api/x-components.xmodulestree.md +17 -0
- package/docs/API-reference/api/x-components.xmodulestree.vendor.md +11 -0
- package/docs/API-reference/api/x-types.result.md +2 -2
- package/docs/API-reference/components/vendor/x-components.vendor-results-list.md +21 -0
- package/js/components/result/base-result-add-to-cart.vue.js.map +1 -1
- package/js/components/result/base-result-add-to-cart.vue2.js +1 -1
- package/js/components/result/base-result-add-to-cart.vue2.js.map +1 -1
- package/js/components/result/base-result-link.vue.js +12 -8
- package/js/components/result/base-result-link.vue.js.map +1 -1
- package/js/components/result/base-result-link.vue2.js.map +1 -1
- package/js/index.js +5 -0
- package/js/index.js.map +1 -1
- package/js/x-modules/vendor/components/vendor-results-list.vue.js +81 -0
- package/js/x-modules/vendor/components/vendor-results-list.vue.js.map +1 -0
- package/js/x-modules/vendor/components/vendor-results-list.vue2.js +6 -0
- package/js/x-modules/vendor/components/vendor-results-list.vue2.js.map +1 -0
- package/js/x-modules/vendor/store/emitters.js +13 -0
- package/js/x-modules/vendor/store/emitters.js.map +1 -0
- package/js/x-modules/vendor/store/module.js +15 -0
- package/js/x-modules/vendor/store/module.js.map +1 -0
- package/js/x-modules/vendor/wiring.js +42 -0
- package/js/x-modules/vendor/wiring.js.map +1 -0
- package/js/x-modules/vendor/x-module.js +21 -0
- package/js/x-modules/vendor/x-module.js.map +1 -0
- package/package.json +4 -4
- package/report/x-components.api.json +783 -34
- package/report/x-components.api.md +83 -2
- package/report/x-types.api.json +1 -1
- package/types/src/components/result/base-result-add-to-cart.vue.d.ts +1 -2
- package/types/src/components/result/base-result-add-to-cart.vue.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/index.d.ts +1 -0
- package/types/src/index.d.ts.map +1 -1
- package/types/src/wiring/events.types.d.ts +2 -1
- package/types/src/wiring/events.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/vendor/components/index.d.ts +2 -0
- package/types/src/x-modules/vendor/components/index.d.ts.map +1 -0
- package/types/src/x-modules/vendor/components/vendor-results-list.vue.d.ts +30 -0
- package/types/src/x-modules/vendor/components/vendor-results-list.vue.d.ts.map +1 -0
- package/types/src/x-modules/vendor/events.types.d.ts +15 -0
- package/types/src/x-modules/vendor/events.types.d.ts.map +1 -0
- package/types/src/x-modules/vendor/index.d.ts +7 -0
- package/types/src/x-modules/vendor/index.d.ts.map +1 -0
- package/types/src/x-modules/vendor/store/emitters.d.ts +7 -0
- package/types/src/x-modules/vendor/store/emitters.d.ts.map +1 -0
- package/types/src/x-modules/vendor/store/index.d.ts +4 -0
- package/types/src/x-modules/vendor/store/index.d.ts.map +1 -0
- package/types/src/x-modules/vendor/store/module.d.ts +3 -0
- package/types/src/x-modules/vendor/store/module.d.ts.map +1 -0
- package/types/src/x-modules/vendor/store/types.d.ts +14 -0
- package/types/src/x-modules/vendor/store/types.d.ts.map +1 -0
- package/types/src/x-modules/vendor/types.d.ts +8 -0
- package/types/src/x-modules/vendor/types.d.ts.map +1 -0
- package/types/src/x-modules/vendor/wiring.d.ts +20 -0
- package/types/src/x-modules/vendor/wiring.d.ts.map +1 -0
- package/types/src/x-modules/vendor/x-module.d.ts +16 -0
- package/types/src/x-modules/vendor/x-module.d.ts.map +1 -0
- package/types/src/x-modules/x-modules.types.d.ts +2 -0
- package/types/src/x-modules/x-modules.types.d.ts.map +1 -1
- package/vendor/index.d.ts +1 -0
- package/vendor/index.js +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
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
|
+
## [7.5.0](https://github.com/empathyco/x/compare/@empathyco/x-components@7.4.1...@empathyco/x-components@7.5.0) (2026-07-13)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **vendor:** add support for vendor results (#2126)
|
|
11
|
+
|
|
12
|
+
|
|
6
13
|
## [7.4.1](https://github.com/empathyco/x/compare/@empathyco/x-components@7.4.0...@empathyco/x-components@7.4.1) (2026-07-08)
|
|
7
14
|
|
|
8
15
|
**Note:** Version bump only for package @empathyco/x-components
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -15,7 +15,7 @@ _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
|
15
15
|
required: true;
|
|
16
16
|
};
|
|
17
17
|
}>, {
|
|
18
|
-
events:
|
|
18
|
+
events: {};
|
|
19
19
|
metadata: Omit<WireMetadata, "moduleName" | "origin" | "location">;
|
|
20
20
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
result: {
|
|
@@ -209,6 +209,7 @@ _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
|
209
209
|
UserClickedAnAiCarouselResult?: import("@empathyco/x-types").Result | undefined;
|
|
210
210
|
UserClickedAnAiCarouselAdd2Cart?: import("@empathyco/x-types").Result | undefined;
|
|
211
211
|
AiComponentMounted?: void | undefined;
|
|
212
|
+
VendorResultsChanged?: Omit<import("../../../vendor").VendorResult, "modelName">[] | undefined;
|
|
212
213
|
}>;
|
|
213
214
|
innerCssClasses: import("vue").ComputedRef<(string | Dictionary<boolean>)[]>;
|
|
214
215
|
renderedChildrenFilters: import("vue").ComputedRef<HierarchicalFilterModel[]>;
|
|
@@ -3375,6 +3375,64 @@ Alias to facilitate retrieving the modules with query.
|
|
|
3375
3375
|
Alias to facilitate retrieving the modules with status.
|
|
3376
3376
|
|
|
3377
3377
|
|
|
3378
|
+
</td></tr>
|
|
3379
|
+
<tr><td>
|
|
3380
|
+
|
|
3381
|
+
[VendorActions](./x-components.vendoractions.md)
|
|
3382
|
+
|
|
3383
|
+
|
|
3384
|
+
</td><td>
|
|
3385
|
+
|
|
3386
|
+
|
|
3387
|
+
</td></tr>
|
|
3388
|
+
<tr><td>
|
|
3389
|
+
|
|
3390
|
+
[VendorGetters](./x-components.vendorgetters.md)
|
|
3391
|
+
|
|
3392
|
+
|
|
3393
|
+
</td><td>
|
|
3394
|
+
|
|
3395
|
+
|
|
3396
|
+
</td></tr>
|
|
3397
|
+
<tr><td>
|
|
3398
|
+
|
|
3399
|
+
[VendorMutations](./x-components.vendormutations.md)
|
|
3400
|
+
|
|
3401
|
+
|
|
3402
|
+
</td><td>
|
|
3403
|
+
|
|
3404
|
+
|
|
3405
|
+
</td></tr>
|
|
3406
|
+
<tr><td>
|
|
3407
|
+
|
|
3408
|
+
[VendorResult](./x-components.vendorresult.md)
|
|
3409
|
+
|
|
3410
|
+
|
|
3411
|
+
</td><td>
|
|
3412
|
+
|
|
3413
|
+
The interface for a vendor result, extending the base Result interface.
|
|
3414
|
+
|
|
3415
|
+
|
|
3416
|
+
</td></tr>
|
|
3417
|
+
<tr><td>
|
|
3418
|
+
|
|
3419
|
+
[VendorState](./x-components.vendorstate.md)
|
|
3420
|
+
|
|
3421
|
+
|
|
3422
|
+
</td><td>
|
|
3423
|
+
|
|
3424
|
+
|
|
3425
|
+
</td></tr>
|
|
3426
|
+
<tr><td>
|
|
3427
|
+
|
|
3428
|
+
[VendorXEvents](./x-components.vendorxevents.md)
|
|
3429
|
+
|
|
3430
|
+
|
|
3431
|
+
</td><td>
|
|
3432
|
+
|
|
3433
|
+
Directory of events for the vendor module.
|
|
3434
|
+
|
|
3435
|
+
|
|
3378
3436
|
</td></tr>
|
|
3379
3437
|
<tr><td>
|
|
3380
3438
|
|
|
@@ -7184,6 +7242,17 @@ Sets the related tags state `query`<!-- -->.
|
|
|
7184
7242
|
Sets the related tags state `query` from a selectedQueryPreview's query.
|
|
7185
7243
|
|
|
7186
7244
|
|
|
7245
|
+
</td></tr>
|
|
7246
|
+
<tr><td>
|
|
7247
|
+
|
|
7248
|
+
[setResults](./x-components.setresults.md)
|
|
7249
|
+
|
|
7250
|
+
|
|
7251
|
+
</td><td>
|
|
7252
|
+
|
|
7253
|
+
Sets the vendor results of the [VendorXModule](./x-components.vendorxmodule.md)<!-- -->.
|
|
7254
|
+
|
|
7255
|
+
|
|
7187
7256
|
</td></tr>
|
|
7188
7257
|
<tr><td>
|
|
7189
7258
|
|
|
@@ -8033,6 +8102,41 @@ URL [XModule](./x-components.xmodule.md) implementation. This module is auto-reg
|
|
|
8033
8102
|
Function which returns the requested getter's properties as a dictionary.
|
|
8034
8103
|
|
|
8035
8104
|
|
|
8105
|
+
</td></tr>
|
|
8106
|
+
<tr><td>
|
|
8107
|
+
|
|
8108
|
+
[VendorResultsList](./x-components.vendorresultslist.md)
|
|
8109
|
+
|
|
8110
|
+
|
|
8111
|
+
</td><td>
|
|
8112
|
+
|
|
8113
|
+
It renders a [ItemsList](./x-components.itemslist.md) of vendor results from [VendorState.results](./x-components.vendorstate.results.md)<!-- -->.
|
|
8114
|
+
|
|
8115
|
+
The component provides a default slot which wraps the whole component with the `vendorResults` plus the `injectedListItems` which also contains the injected list items from the ancestor.
|
|
8116
|
+
|
|
8117
|
+
It also provides the parent slots to customize the items.
|
|
8118
|
+
|
|
8119
|
+
|
|
8120
|
+
</td></tr>
|
|
8121
|
+
<tr><td>
|
|
8122
|
+
|
|
8123
|
+
[vendorXModule](./x-components.vendorxmodule.md)
|
|
8124
|
+
|
|
8125
|
+
|
|
8126
|
+
</td><td>
|
|
8127
|
+
|
|
8128
|
+
Vendor [XModule](./x-components.xmodule.md) implementation. This module is auto-registered as soon as you import any component from the `vendor` entry point.
|
|
8129
|
+
|
|
8130
|
+
|
|
8131
|
+
</td></tr>
|
|
8132
|
+
<tr><td>
|
|
8133
|
+
|
|
8134
|
+
[vendorXStoreModule](./x-components.vendorxstoremodule.md)
|
|
8135
|
+
|
|
8136
|
+
|
|
8137
|
+
</td><td>
|
|
8138
|
+
|
|
8139
|
+
|
|
8036
8140
|
</td></tr>
|
|
8037
8141
|
<tr><td>
|
|
8038
8142
|
|
|
@@ -9533,6 +9637,26 @@ The device flags type of the Return type of the composable returned by `createUs
|
|
|
9533
9637
|
The Return type of the composable returned by `createUseDevice`<!-- -->.
|
|
9534
9638
|
|
|
9535
9639
|
|
|
9640
|
+
</td></tr>
|
|
9641
|
+
<tr><td>
|
|
9642
|
+
|
|
9643
|
+
[VendorXModule](./x-components.vendorxmodule.md)
|
|
9644
|
+
|
|
9645
|
+
|
|
9646
|
+
</td><td>
|
|
9647
|
+
|
|
9648
|
+
Vendor [XModule](./x-components.xmodule.md) alias.
|
|
9649
|
+
|
|
9650
|
+
|
|
9651
|
+
</td></tr>
|
|
9652
|
+
<tr><td>
|
|
9653
|
+
|
|
9654
|
+
[VendorXStoreModule](./x-components.vendorxstoremodule.md)
|
|
9655
|
+
|
|
9656
|
+
|
|
9657
|
+
</td><td>
|
|
9658
|
+
|
|
9659
|
+
|
|
9536
9660
|
</td></tr>
|
|
9537
9661
|
<tr><td>
|
|
9538
9662
|
|
|
@@ -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) > [setResults](./x-components.setresults.md)
|
|
4
|
+
|
|
5
|
+
## setResults variable
|
|
6
|
+
|
|
7
|
+
Sets the vendor results of the [VendorXModule](./x-components.vendorxmodule.md)<!-- -->.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setResults: import("../../wiring").AnyWire
|
|
13
|
+
```
|
|
@@ -206,6 +206,7 @@ _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
|
206
206
|
UserClickedAnAiCarouselResult?: import("@empathyco/x-types").Result | undefined;
|
|
207
207
|
UserClickedAnAiCarouselAdd2Cart?: import("@empathyco/x-types").Result | undefined;
|
|
208
208
|
AiComponentMounted?: void | undefined;
|
|
209
|
+
VendorResultsChanged?: Omit<import("../../../vendor").VendorResult, "modelName">[] | undefined;
|
|
209
210
|
}>;
|
|
210
211
|
innerCssClasses: import("vue").ComputedRef<(string | Dictionary<boolean>)[]>;
|
|
211
212
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -196,6 +196,7 @@ _default: import("vue").DefineComponent<{}, {
|
|
|
196
196
|
UserClickedAnAiCarouselResult: (payload: import("@empathyco/x-types").Result, metadata: WireMetadata) => unknown;
|
|
197
197
|
UserClickedAnAiCarouselAdd2Cart: (payload: import("@empathyco/x-types").Result, metadata: WireMetadata) => unknown;
|
|
198
198
|
AiComponentMounted: (payload: undefined, metadata: WireMetadata) => unknown;
|
|
199
|
+
VendorResultsChanged: (payload: Omit<import("..").VendorResult, "modelName">[], metadata: WireMetadata) => unknown;
|
|
199
200
|
}>>;
|
|
200
201
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
201
202
|
GlobalXBus: import("vue").DefineComponent<{}, {}, any>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [VendorActions](./x-components.vendoractions.md)
|
|
4
|
+
|
|
5
|
+
## VendorActions interface
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
export interface VendorActions
|
|
11
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [VendorGetters](./x-components.vendorgetters.md)
|
|
4
|
+
|
|
5
|
+
## VendorGetters interface
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
export interface VendorGetters
|
|
11
|
+
```
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [VendorMutations](./x-components.vendormutations.md)
|
|
4
|
+
|
|
5
|
+
## VendorMutations interface
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
export interface VendorMutations
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
<table><thead><tr><th>
|
|
16
|
+
|
|
17
|
+
Property
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
</th><th>
|
|
21
|
+
|
|
22
|
+
Modifiers
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
</th><th>
|
|
26
|
+
|
|
27
|
+
Type
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
</th><th>
|
|
31
|
+
|
|
32
|
+
Description
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
</th></tr></thead>
|
|
36
|
+
<tbody><tr><td>
|
|
37
|
+
|
|
38
|
+
[setResults](./x-components.vendormutations.setresults.md)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
</td><td>
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
</td><td>
|
|
45
|
+
|
|
46
|
+
(results: [VendorResult](./x-components.vendorresult.md)<!-- -->\[\]) => void
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
</td><td>
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
</td></tr>
|
|
53
|
+
</tbody></table>
|
|
54
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [VendorMutations](./x-components.vendormutations.md) > [setResults](./x-components.vendormutations.setresults.md)
|
|
4
|
+
|
|
5
|
+
## VendorMutations.setResults property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
setResults: (results: VendorResult[]) => void;
|
|
11
|
+
```
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [VendorResult](./x-components.vendorresult.md)
|
|
4
|
+
|
|
5
|
+
## VendorResult interface
|
|
6
|
+
|
|
7
|
+
The interface for a vendor result, extending the base Result interface.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface VendorResult extends Omit<Result, 'modelName'>, NamedModel<'VendorResult'>
|
|
13
|
+
```
|
|
14
|
+
**Extends:** Omit<Result, 'modelName'>, NamedModel<'VendorResult'>
|
|
15
|
+
|
|
16
|
+
## Properties
|
|
17
|
+
|
|
18
|
+
<table><thead><tr><th>
|
|
19
|
+
|
|
20
|
+
Property
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
</th><th>
|
|
24
|
+
|
|
25
|
+
Modifiers
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
</th><th>
|
|
29
|
+
|
|
30
|
+
Type
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
</th><th>
|
|
34
|
+
|
|
35
|
+
Description
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
</th></tr></thead>
|
|
39
|
+
<tbody><tr><td>
|
|
40
|
+
|
|
41
|
+
[position](./x-components.vendorresult.position.md)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
</td><td>
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
</td><td>
|
|
48
|
+
|
|
49
|
+
number
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
</td><td>
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
</td></tr>
|
|
56
|
+
</tbody></table>
|
|
57
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [VendorResult](./x-components.vendorresult.md) > [position](./x-components.vendorresult.position.md)
|
|
4
|
+
|
|
5
|
+
## VendorResult.position property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
position: number;
|
|
11
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [VendorResultsList](./x-components.vendorresultslist.md)
|
|
4
|
+
|
|
5
|
+
## VendorResultsList variable
|
|
6
|
+
|
|
7
|
+
It renders a [ItemsList](./x-components.itemslist.md) of vendor results from [VendorState.results](./x-components.vendorstate.results.md)<!-- -->.
|
|
8
|
+
|
|
9
|
+
The component provides a default slot which wraps the whole component with the `vendorResults` plus the `injectedListItems` which also contains the injected list items from the ancestor.
|
|
10
|
+
|
|
11
|
+
It also provides the parent slots to customize the items.
|
|
12
|
+
|
|
13
|
+
**Signature:**
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
_default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
17
|
+
animation: {
|
|
18
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
animation: {
|
|
25
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
}>> & Readonly<{}>, {
|
|
29
|
+
animation: string | Function | Record<string, any>;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
|
|
31
|
+
```
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [VendorState](./x-components.vendorstate.md)
|
|
4
|
+
|
|
5
|
+
## VendorState interface
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
export interface VendorState
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
<table><thead><tr><th>
|
|
16
|
+
|
|
17
|
+
Property
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
</th><th>
|
|
21
|
+
|
|
22
|
+
Modifiers
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
</th><th>
|
|
26
|
+
|
|
27
|
+
Type
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
</th><th>
|
|
31
|
+
|
|
32
|
+
Description
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
</th></tr></thead>
|
|
36
|
+
<tbody><tr><td>
|
|
37
|
+
|
|
38
|
+
[results](./x-components.vendorstate.results.md)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
</td><td>
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
</td><td>
|
|
45
|
+
|
|
46
|
+
[VendorResult](./x-components.vendorresult.md)<!-- -->\[\]
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
</td><td>
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
</td></tr>
|
|
53
|
+
</tbody></table>
|
|
54
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [VendorState](./x-components.vendorstate.md) > [results](./x-components.vendorstate.results.md)
|
|
4
|
+
|
|
5
|
+
## VendorState.results property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
results: VendorResult[];
|
|
11
|
+
```
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [VendorXEvents](./x-components.vendorxevents.md)
|
|
4
|
+
|
|
5
|
+
## VendorXEvents interface
|
|
6
|
+
|
|
7
|
+
Directory of events for the vendor module.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface VendorXEvents
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
<table><thead><tr><th>
|
|
18
|
+
|
|
19
|
+
Property
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
</th><th>
|
|
23
|
+
|
|
24
|
+
Modifiers
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</th><th>
|
|
28
|
+
|
|
29
|
+
Type
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
</th><th>
|
|
33
|
+
|
|
34
|
+
Description
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
</th></tr></thead>
|
|
38
|
+
<tbody><tr><td>
|
|
39
|
+
|
|
40
|
+
[VendorResultsChanged](./x-components.vendorxevents.vendorresultschanged.md)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
</td><td>
|
|
47
|
+
|
|
48
|
+
Omit<[VendorResult](./x-components.vendorresult.md)<!-- -->, 'modelName'>\[\]
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
</td><td>
|
|
52
|
+
|
|
53
|
+
The x consumer has provided vendor results to be inserted in the result grid. Payload: The array of vendor result inputs with their items and positions. modelName is excluded since it is an internal field, and we will assign it under the hood.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
</td></tr>
|
|
57
|
+
</tbody></table>
|
|
58
|
+
|
|
@@ -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) > [VendorXEvents](./x-components.vendorxevents.md) > [VendorResultsChanged](./x-components.vendorxevents.vendorresultschanged.md)
|
|
4
|
+
|
|
5
|
+
## VendorXEvents.VendorResultsChanged property
|
|
6
|
+
|
|
7
|
+
The x consumer has provided vendor results to be inserted in the result grid. Payload: The array of vendor result inputs with their items and positions. modelName is excluded since it is an internal field, and we will assign it under the hood.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
VendorResultsChanged: Omit<VendorResult, 'modelName'>[];
|
|
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) > [vendorXModule](./x-components.vendorxmodule.md)
|
|
4
|
+
|
|
5
|
+
## vendorXModule variable
|
|
6
|
+
|
|
7
|
+
Vendor [XModule](./x-components.xmodule.md) implementation. This module is auto-registered as soon as you import any component from the `vendor` entry point.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
vendorXModule: VendorXModule
|
|
13
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [vendorXStoreModule](./x-components.vendorxstoremodule.md)
|
|
4
|
+
|
|
5
|
+
## vendorXStoreModule variable
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
vendorXStoreModule: VendorXStoreModule
|
|
11
|
+
```
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export interface XEventsTypes extends DeviceXEvents, EmpathizeXEvents, ExtraParamsXEvents, FacetsXEvents, HistoryQueriesXEvents, IdentifierResultsXEvents, NextQueriesXEvents, PopularSearchesXEvents, QueriesPreviewXEvents, QuerySuggestionsXEvents, RecommendationsXEvents, RelatedTagsXEvents, ScrollXEvents, SearchBoxXEvents, SearchXEvents, BrowseXEvents, SemanticQueriesXEvents, TaggingXEvents, ExperienceControlsXEvents, UrlXEvents, RelatedPromptsXEvents, AiXEvents
|
|
12
|
+
export interface XEventsTypes extends DeviceXEvents, EmpathizeXEvents, ExtraParamsXEvents, FacetsXEvents, HistoryQueriesXEvents, IdentifierResultsXEvents, NextQueriesXEvents, PopularSearchesXEvents, QueriesPreviewXEvents, QuerySuggestionsXEvents, RecommendationsXEvents, RelatedTagsXEvents, ScrollXEvents, SearchBoxXEvents, SearchXEvents, BrowseXEvents, SemanticQueriesXEvents, TaggingXEvents, ExperienceControlsXEvents, UrlXEvents, RelatedPromptsXEvents, AiXEvents, VendorXEvents
|
|
13
13
|
```
|
|
14
|
-
**Extends:** [DeviceXEvents](./x-components.devicexevents.md)<!-- -->, [EmpathizeXEvents](./x-components.empathizexevents.md)<!-- -->, [ExtraParamsXEvents](./x-components.extraparamsxevents.md)<!-- -->, [FacetsXEvents](./x-components.facetsxevents.md)<!-- -->, [HistoryQueriesXEvents](./x-components.historyqueriesxevents.md)<!-- -->, [IdentifierResultsXEvents](./x-components.identifierresultsxevents.md)<!-- -->, [NextQueriesXEvents](./x-components.nextqueriesxevents.md)<!-- -->, [PopularSearchesXEvents](./x-components.popularsearchesxevents.md)<!-- -->, [QueriesPreviewXEvents](./x-components.queriespreviewxevents.md)<!-- -->, [QuerySuggestionsXEvents](./x-components.querysuggestionsxevents.md)<!-- -->, [RecommendationsXEvents](./x-components.recommendationsxevents.md)<!-- -->, [RelatedTagsXEvents](./x-components.relatedtagsxevents.md)<!-- -->, [ScrollXEvents](./x-components.scrollxevents.md)<!-- -->, [SearchBoxXEvents](./x-components.searchboxxevents.md)<!-- -->, [SearchXEvents](./x-components.searchxevents.md)<!-- -->, [BrowseXEvents](./x-components.browsexevents.md)<!-- -->, [SemanticQueriesXEvents](./x-components.semanticqueriesxevents.md)<!-- -->, [TaggingXEvents](./x-components.taggingxevents.md)<!-- -->, [ExperienceControlsXEvents](./x-components.experiencecontrolsxevents.md)<!-- -->, [UrlXEvents](./x-components.urlxevents.md)<!-- -->, [RelatedPromptsXEvents](./x-components.relatedpromptsxevents.md)<!-- -->, [AiXEvents](./x-components.aixevents.md)
|
|
14
|
+
**Extends:** [DeviceXEvents](./x-components.devicexevents.md)<!-- -->, [EmpathizeXEvents](./x-components.empathizexevents.md)<!-- -->, [ExtraParamsXEvents](./x-components.extraparamsxevents.md)<!-- -->, [FacetsXEvents](./x-components.facetsxevents.md)<!-- -->, [HistoryQueriesXEvents](./x-components.historyqueriesxevents.md)<!-- -->, [IdentifierResultsXEvents](./x-components.identifierresultsxevents.md)<!-- -->, [NextQueriesXEvents](./x-components.nextqueriesxevents.md)<!-- -->, [PopularSearchesXEvents](./x-components.popularsearchesxevents.md)<!-- -->, [QueriesPreviewXEvents](./x-components.queriespreviewxevents.md)<!-- -->, [QuerySuggestionsXEvents](./x-components.querysuggestionsxevents.md)<!-- -->, [RecommendationsXEvents](./x-components.recommendationsxevents.md)<!-- -->, [RelatedTagsXEvents](./x-components.relatedtagsxevents.md)<!-- -->, [ScrollXEvents](./x-components.scrollxevents.md)<!-- -->, [SearchBoxXEvents](./x-components.searchboxxevents.md)<!-- -->, [SearchXEvents](./x-components.searchxevents.md)<!-- -->, [BrowseXEvents](./x-components.browsexevents.md)<!-- -->, [SemanticQueriesXEvents](./x-components.semanticqueriesxevents.md)<!-- -->, [TaggingXEvents](./x-components.taggingxevents.md)<!-- -->, [ExperienceControlsXEvents](./x-components.experiencecontrolsxevents.md)<!-- -->, [UrlXEvents](./x-components.urlxevents.md)<!-- -->, [RelatedPromptsXEvents](./x-components.relatedpromptsxevents.md)<!-- -->, [AiXEvents](./x-components.aixevents.md)<!-- -->, [VendorXEvents](./x-components.vendorxevents.md)
|
|
15
15
|
|
|
16
16
|
## Remarks
|
|
17
17
|
|
|
@@ -408,6 +408,23 @@ Description
|
|
|
408
408
|
</td><td>
|
|
409
409
|
|
|
410
410
|
|
|
411
|
+
</td></tr>
|
|
412
|
+
<tr><td>
|
|
413
|
+
|
|
414
|
+
[vendor](./x-components.xmodulestree.vendor.md)
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
</td><td>
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
</td><td>
|
|
421
|
+
|
|
422
|
+
[VendorXModule](./x-components.vendorxmodule.md)
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
</td><td>
|
|
426
|
+
|
|
427
|
+
|
|
411
428
|
</td></tr>
|
|
412
429
|
</tbody></table>
|
|
413
430
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [XModulesTree](./x-components.xmodulestree.md) > [vendor](./x-components.xmodulestree.vendor.md)
|
|
4
|
+
|
|
5
|
+
## XModulesTree.vendor property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
vendor: VendorXModule;
|
|
11
|
+
```
|
|
@@ -9,9 +9,9 @@ A search result.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export interface Result extends NamedModel<'Result'>, Identifiable, Taggable
|
|
12
|
+
export interface Result extends NamedModel<'Result' | 'VendorResult'>, Identifiable, Taggable
|
|
13
13
|
```
|
|
14
|
-
**Extends:** [NamedModel](./x-types.namedmodel.md)<!-- --><'Result'>, [Identifiable](./x-types.identifiable.md)<!-- -->, [Taggable](./x-types.taggable.md)
|
|
14
|
+
**Extends:** [NamedModel](./x-types.namedmodel.md)<!-- --><'Result' \| 'VendorResult'>, [Identifiable](./x-types.identifiable.md)<!-- -->, [Taggable](./x-types.taggable.md)
|
|
15
15
|
|
|
16
16
|
## Properties
|
|
17
17
|
|