@empathyco/x-components 7.4.1 → 8.0.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.
Files changed (175) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/browse/index.js +0 -1
  3. package/core/index.js +3 -0
  4. package/core/index.js.map +1 -1
  5. package/docs/API-reference/api/x-components.baseaddtocart.md +1 -1
  6. package/docs/API-reference/api/x-components.hierarchicalfilter.md +1 -0
  7. package/docs/API-reference/api/x-components.md +124 -11
  8. package/docs/API-reference/api/x-components.setresults.md +13 -0
  9. package/docs/API-reference/api/x-components.simplefilter.md +1 -0
  10. package/docs/API-reference/api/x-components.snippetcallbacks.md +1 -0
  11. package/docs/API-reference/api/x-components.sortdropdown.md +30 -4
  12. package/docs/API-reference/api/x-components.sortlist.md +32 -7
  13. package/docs/API-reference/api/x-components.sortpickerlist.md +32 -7
  14. package/docs/API-reference/api/x-components.usealiasapi.browseselectedsort.md +13 -0
  15. package/docs/API-reference/api/x-components.usealiasapi.md +21 -0
  16. package/docs/API-reference/api/x-components.vendoractions.md +11 -0
  17. package/docs/API-reference/api/x-components.vendorgetters.md +11 -0
  18. package/docs/API-reference/api/x-components.vendormutations.md +54 -0
  19. package/docs/API-reference/api/x-components.vendormutations.setresults.md +11 -0
  20. package/docs/API-reference/api/x-components.vendorresult.md +57 -0
  21. package/docs/API-reference/api/x-components.vendorresult.position.md +11 -0
  22. package/docs/API-reference/api/x-components.vendorresultslist.md +31 -0
  23. package/docs/API-reference/api/x-components.vendorstate.md +54 -0
  24. package/docs/API-reference/api/x-components.vendorstate.results.md +11 -0
  25. package/docs/API-reference/api/x-components.vendorxevents.md +58 -0
  26. package/docs/API-reference/api/x-components.vendorxevents.vendorresultschanged.md +13 -0
  27. package/docs/API-reference/api/x-components.vendorxmodule.md +13 -0
  28. package/docs/API-reference/api/x-components.vendorxstoremodule.md +11 -0
  29. package/docs/API-reference/api/x-components.xeventstypes.md +2 -2
  30. package/docs/API-reference/api/x-components.xmodulestree.md +17 -0
  31. package/docs/API-reference/api/x-components.xmodulestree.vendor.md +11 -0
  32. package/docs/API-reference/api/x-types.result.md +2 -2
  33. package/docs/API-reference/components/{search → common/sort}/x-components.sort-dropdown.md +7 -4
  34. package/docs/API-reference/components/{search → common/sort}/x-components.sort-list.md +7 -4
  35. package/docs/API-reference/components/{search → common/sort}/x-components.sort-picker-list.md +8 -5
  36. package/docs/API-reference/components/vendor/x-components.vendor-results-list.md +21 -0
  37. package/js/components/result/base-result-add-to-cart.vue.js.map +1 -1
  38. package/js/components/result/base-result-add-to-cart.vue2.js +1 -1
  39. package/js/components/result/base-result-add-to-cart.vue2.js.map +1 -1
  40. package/js/components/result/base-result-link.vue.js +12 -8
  41. package/js/components/result/base-result-link.vue.js.map +1 -1
  42. package/js/components/result/base-result-link.vue2.js.map +1 -1
  43. package/js/{x-modules/search/components → components/sort}/sort-dropdown.vue.js +1 -1
  44. package/js/components/sort/sort-dropdown.vue.js.map +1 -0
  45. package/js/{x-modules/search/components → components/sort}/sort-dropdown.vue2.js +19 -12
  46. package/js/components/sort/sort-dropdown.vue2.js.map +1 -0
  47. package/js/{x-modules/search/components → components/sort}/sort-list.vue.js +2 -2
  48. package/js/components/sort/sort-list.vue.js.map +1 -0
  49. package/js/{x-modules/search/components → components/sort}/sort-list.vue2.js +22 -15
  50. package/js/components/sort/sort-list.vue2.js.map +1 -0
  51. package/js/components/sort/sort-list.vue3.js +7 -0
  52. package/js/{x-modules/search/components → components/sort}/sort-picker-list.vue.js +1 -1
  53. package/js/components/sort/sort-picker-list.vue.js.map +1 -0
  54. package/js/{x-modules/search/components → components/sort}/sort-picker-list.vue2.js +21 -14
  55. package/js/components/sort/sort-picker-list.vue2.js.map +1 -0
  56. package/js/composables/use-alias-api.js +3 -0
  57. package/js/composables/use-alias-api.js.map +1 -1
  58. package/js/index.js +8 -4
  59. package/js/index.js.map +1 -1
  60. package/js/x-modules/ai/components/ai-carousel.vue2.js +4 -0
  61. package/js/x-modules/ai/components/ai-carousel.vue2.js.map +1 -1
  62. package/js/x-modules/ai/components/ai-grouped-carousel.vue2.js +4 -0
  63. package/js/x-modules/ai/components/ai-grouped-carousel.vue2.js.map +1 -1
  64. package/js/x-modules/browse/store/actions/set-url-params.action.js +1 -1
  65. package/js/x-modules/browse/store/actions/set-url-params.action.js.map +1 -1
  66. package/js/x-modules/browse/wiring.js +6 -1
  67. package/js/x-modules/browse/wiring.js.map +1 -1
  68. package/js/x-modules/empathize/components/empathize.vue2.js +4 -0
  69. package/js/x-modules/empathize/components/empathize.vue2.js.map +1 -1
  70. package/js/x-modules/queries-preview/components/query-preview-button.vue2.js +4 -0
  71. package/js/x-modules/queries-preview/components/query-preview-button.vue2.js.map +1 -1
  72. package/js/x-modules/queries-preview/components/query-preview.vue2.js +4 -0
  73. package/js/x-modules/queries-preview/components/query-preview.vue2.js.map +1 -1
  74. package/js/x-modules/scroll/components/scroll-to-top.vue2.js +4 -0
  75. package/js/x-modules/scroll/components/scroll-to-top.vue2.js.map +1 -1
  76. package/js/x-modules/search/store/actions/set-url-params.action.js +1 -1
  77. package/js/x-modules/search/store/actions/set-url-params.action.js.map +1 -1
  78. package/js/x-modules/search/wiring.js +3 -0
  79. package/js/x-modules/search/wiring.js.map +1 -1
  80. package/js/x-modules/vendor/components/vendor-results-list.vue.js +81 -0
  81. package/js/x-modules/vendor/components/vendor-results-list.vue.js.map +1 -0
  82. package/js/x-modules/vendor/components/vendor-results-list.vue2.js +6 -0
  83. package/js/x-modules/vendor/components/vendor-results-list.vue2.js.map +1 -0
  84. package/js/x-modules/vendor/store/emitters.js +13 -0
  85. package/js/x-modules/vendor/store/emitters.js.map +1 -0
  86. package/js/x-modules/vendor/store/module.js +15 -0
  87. package/js/x-modules/vendor/store/module.js.map +1 -0
  88. package/js/x-modules/vendor/wiring.js +42 -0
  89. package/js/x-modules/vendor/wiring.js.map +1 -0
  90. package/js/x-modules/vendor/x-module.js +21 -0
  91. package/js/x-modules/vendor/x-module.js.map +1 -0
  92. package/package.json +4 -4
  93. package/report/x-components.api.json +1230 -270
  94. package/report/x-components.api.md +189 -58
  95. package/report/x-types.api.json +1 -1
  96. package/search/index.js +0 -3
  97. package/types/src/components/index.d.ts +1 -0
  98. package/types/src/components/index.d.ts.map +1 -1
  99. package/types/src/components/result/base-result-add-to-cart.vue.d.ts +1 -2
  100. package/types/src/components/result/base-result-add-to-cart.vue.d.ts.map +1 -1
  101. package/types/src/components/snippet-callbacks.vue.d.ts +1 -0
  102. package/types/src/components/snippet-callbacks.vue.d.ts.map +1 -1
  103. package/types/src/components/sort/index.d.ts +4 -0
  104. package/types/src/components/sort/index.d.ts.map +1 -0
  105. package/types/src/{x-modules/search/components → components/sort}/sort-dropdown.vue.d.ts +33 -6
  106. package/types/src/components/sort/sort-dropdown.vue.d.ts.map +1 -0
  107. package/types/src/{x-modules/search/components → components/sort}/sort-list.vue.d.ts +35 -10
  108. package/types/src/components/sort/sort-list.vue.d.ts.map +1 -0
  109. package/types/src/{x-modules/search/components → components/sort}/sort-picker-list.vue.d.ts +45 -10
  110. package/types/src/components/sort/sort-picker-list.vue.d.ts.map +1 -0
  111. package/types/src/composables/use-alias-api.d.ts +2 -0
  112. package/types/src/composables/use-alias-api.d.ts.map +1 -1
  113. package/types/src/index.d.ts +1 -0
  114. package/types/src/index.d.ts.map +1 -1
  115. package/types/src/wiring/events.types.d.ts +2 -1
  116. package/types/src/wiring/events.types.d.ts.map +1 -1
  117. package/types/src/x-modules/browse/components/index.d.ts +0 -1
  118. package/types/src/x-modules/browse/components/index.d.ts.map +1 -1
  119. package/types/src/x-modules/browse/wiring.d.ts +6 -1
  120. package/types/src/x-modules/browse/wiring.d.ts.map +1 -1
  121. package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +1 -0
  122. package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +1 -1
  123. package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts +1 -0
  124. package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
  125. package/types/src/x-modules/search/components/index.d.ts +0 -3
  126. package/types/src/x-modules/search/components/index.d.ts.map +1 -1
  127. package/types/src/x-modules/search/wiring.d.ts +3 -0
  128. package/types/src/x-modules/search/wiring.d.ts.map +1 -1
  129. package/types/src/x-modules/vendor/components/index.d.ts +2 -0
  130. package/types/src/x-modules/vendor/components/index.d.ts.map +1 -0
  131. package/types/src/x-modules/vendor/components/vendor-results-list.vue.d.ts +30 -0
  132. package/types/src/x-modules/vendor/components/vendor-results-list.vue.d.ts.map +1 -0
  133. package/types/src/x-modules/vendor/events.types.d.ts +15 -0
  134. package/types/src/x-modules/vendor/events.types.d.ts.map +1 -0
  135. package/types/src/x-modules/vendor/index.d.ts +7 -0
  136. package/types/src/x-modules/vendor/index.d.ts.map +1 -0
  137. package/types/src/x-modules/vendor/store/emitters.d.ts +7 -0
  138. package/types/src/x-modules/vendor/store/emitters.d.ts.map +1 -0
  139. package/types/src/x-modules/vendor/store/index.d.ts +4 -0
  140. package/types/src/x-modules/vendor/store/index.d.ts.map +1 -0
  141. package/types/src/x-modules/vendor/store/module.d.ts +3 -0
  142. package/types/src/x-modules/vendor/store/module.d.ts.map +1 -0
  143. package/types/src/x-modules/vendor/store/types.d.ts +14 -0
  144. package/types/src/x-modules/vendor/store/types.d.ts.map +1 -0
  145. package/types/src/x-modules/vendor/types.d.ts +8 -0
  146. package/types/src/x-modules/vendor/types.d.ts.map +1 -0
  147. package/types/src/x-modules/vendor/wiring.d.ts +20 -0
  148. package/types/src/x-modules/vendor/wiring.d.ts.map +1 -0
  149. package/types/src/x-modules/vendor/x-module.d.ts +16 -0
  150. package/types/src/x-modules/vendor/x-module.d.ts.map +1 -0
  151. package/types/src/x-modules/x-modules.types.d.ts +2 -0
  152. package/types/src/x-modules/x-modules.types.d.ts.map +1 -1
  153. package/vendor/index.d.ts +1 -0
  154. package/vendor/index.js +5 -0
  155. package/docs/API-reference/api/x-components.browsesortpickerlist.md +0 -45
  156. package/docs/API-reference/components/browse/x-components.browse-sort-picker-list.md +0 -24
  157. package/js/x-modules/browse/components/browse-sort-picker-list.vue.js +0 -73
  158. package/js/x-modules/browse/components/browse-sort-picker-list.vue.js.map +0 -1
  159. package/js/x-modules/browse/components/browse-sort-picker-list.vue2.js +0 -6
  160. package/js/x-modules/browse/components/browse-sort-picker-list.vue2.js.map +0 -1
  161. package/js/x-modules/search/components/sort-dropdown.vue.js.map +0 -1
  162. package/js/x-modules/search/components/sort-dropdown.vue2.js.map +0 -1
  163. package/js/x-modules/search/components/sort-list.vue.js.map +0 -1
  164. package/js/x-modules/search/components/sort-list.vue2.js.map +0 -1
  165. package/js/x-modules/search/components/sort-list.vue3.js +0 -7
  166. package/js/x-modules/search/components/sort-picker-list.vue.js.map +0 -1
  167. package/js/x-modules/search/components/sort-picker-list.vue2.js.map +0 -1
  168. package/types/src/x-modules/browse/components/browse-sort-picker-list.vue.d.ts +0 -50
  169. package/types/src/x-modules/browse/components/browse-sort-picker-list.vue.d.ts.map +0 -1
  170. package/types/src/x-modules/search/components/sort-dropdown.vue.d.ts.map +0 -1
  171. package/types/src/x-modules/search/components/sort-list.vue.d.ts.map +0 -1
  172. package/types/src/x-modules/search/components/sort-picker-list.types.d.ts +0 -12
  173. package/types/src/x-modules/search/components/sort-picker-list.types.d.ts.map +0 -1
  174. package/types/src/x-modules/search/components/sort-picker-list.vue.d.ts.map +0 -1
  175. /package/js/{x-modules/search/components → components/sort}/sort-list.vue3.js.map +0 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,24 @@
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
+ ## [8.0.0](https://github.com/empathyco/x/compare/@empathyco/x-components@7.5.0...@empathyco/x-components@8.0.0) (2026-07-13)
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * Sorting components moved to x-components/src/components/sort. Now, sorting components can be used by the search and browse module by managing them through props.
11
+
12
+ ### Features
13
+
14
+ * create sort components that could be shared between search and … (#2134)
15
+
16
+
17
+ ## [7.5.0](https://github.com/empathyco/x/compare/@empathyco/x-components@7.4.1...@empathyco/x-components@7.5.0) (2026-07-13)
18
+
19
+ ### Features
20
+
21
+ * **vendor:** add support for vendor results (#2126)
22
+
23
+
6
24
  ## [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
25
 
8
26
  **Note:** Version bump only for package @empathyco/x-components
package/browse/index.js CHANGED
@@ -1,5 +1,4 @@
1
1
  export { default as BrowseResultsList } from '../js/x-modules/browse/components/browse-results-list.vue.js';
2
- export { default as BrowseSortPickerList } from '../js/x-modules/browse/components/browse-sort-picker-list.vue.js';
3
2
  export { cancelFetchAndSaveBrowseResponse, fetchAndSaveBrowseResponse } from '../js/x-modules/browse/store/actions/fetch-and-save-browse-response.action.js';
4
3
  export { fetchAndSaveResultsEnrichment as fetchAndSaveBrowseResultsEnrichment } from '../js/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.js';
5
4
  export { fetchBrowseResponse } from '../js/x-modules/browse/store/actions/fetch-browse-response.action.js';
package/core/index.js CHANGED
@@ -145,6 +145,9 @@ export { default as BaseScroll } from '../js/components/scroll/base-scroll.vue.j
145
145
  export { useScroll } from '../js/components/scroll/use-scroll.js';
146
146
  export { default as SlidingPanel } from '../js/components/sliding-panel.vue.js';
147
147
  export { default as SnippetCallbacks } from '../js/components/snippet-callbacks.vue.js';
148
+ export { default as SortDropdown } from '../js/components/sort/sort-dropdown.vue.js';
149
+ export { default as SortList } from '../js/components/sort/sort-list.vue.js';
150
+ export { default as SortPickerList } from '../js/components/sort/sort-picker-list.vue.js';
148
151
  export { default as BaseSuggestion } from '../js/components/suggestions/base-suggestion.vue.js';
149
152
  export { default as BaseSuggestions } from '../js/components/suggestions/base-suggestions.vue.js';
150
153
  export { getRootXComponent, getXComponentXModuleName, isXComponent } from '../js/components/x-component.utils.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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -15,7 +15,7 @@ _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
15
15
  required: true;
16
16
  };
17
17
  }>, {
18
- events: import("vue").ComputedRef<Partial<XEventsTypes>>;
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
 
@@ -4271,17 +4329,6 @@ The component provides a default slot which wraps the whole component with the `
4271
4329
  It also provides the slot result to customize the item, which is within the default slot, with the result bound.
4272
4330
 
4273
4331
 
4274
- </td></tr>
4275
- <tr><td>
4276
-
4277
- [BrowseSortPickerList](./x-components.browsesortpickerlist.md)
4278
-
4279
-
4280
- </td><td>
4281
-
4282
- The `SortPickerList` component allows user to select the browse results order. This component also allows to change the selected sort programmatically.
4283
-
4284
-
4285
4332
  </td></tr>
4286
4333
  <tr><td>
4287
4334
 
@@ -7184,6 +7231,17 @@ Sets the related tags state `query`<!-- -->.
7184
7231
  Sets the related tags state `query` from a selectedQueryPreview's query.
7185
7232
 
7186
7233
 
7234
+ </td></tr>
7235
+ <tr><td>
7236
+
7237
+ [setResults](./x-components.setresults.md)
7238
+
7239
+
7240
+ </td><td>
7241
+
7242
+ Sets the vendor results of the [VendorXModule](./x-components.vendorxmodule.md)<!-- -->.
7243
+
7244
+
7187
7245
  </td></tr>
7188
7246
  <tr><td>
7189
7247
 
@@ -8033,6 +8091,41 @@ URL [XModule](./x-components.xmodule.md) implementation. This module is auto-reg
8033
8091
  Function which returns the requested getter's properties as a dictionary.
8034
8092
 
8035
8093
 
8094
+ </td></tr>
8095
+ <tr><td>
8096
+
8097
+ [VendorResultsList](./x-components.vendorresultslist.md)
8098
+
8099
+
8100
+ </td><td>
8101
+
8102
+ It renders a [ItemsList](./x-components.itemslist.md) of vendor results from [VendorState.results](./x-components.vendorstate.results.md)<!-- -->.
8103
+
8104
+ 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.
8105
+
8106
+ It also provides the parent slots to customize the items.
8107
+
8108
+
8109
+ </td></tr>
8110
+ <tr><td>
8111
+
8112
+ [vendorXModule](./x-components.vendorxmodule.md)
8113
+
8114
+
8115
+ </td><td>
8116
+
8117
+ Vendor [XModule](./x-components.xmodule.md) implementation. This module is auto-registered as soon as you import any component from the `vendor` entry point.
8118
+
8119
+
8120
+ </td></tr>
8121
+ <tr><td>
8122
+
8123
+ [vendorXStoreModule](./x-components.vendorxstoremodule.md)
8124
+
8125
+
8126
+ </td><td>
8127
+
8128
+
8036
8129
  </td></tr>
8037
8130
  <tr><td>
8038
8131
 
@@ -9533,6 +9626,26 @@ The device flags type of the Return type of the composable returned by `createUs
9533
9626
  The Return type of the composable returned by `createUseDevice`<!-- -->.
9534
9627
 
9535
9628
 
9629
+ </td></tr>
9630
+ <tr><td>
9631
+
9632
+ [VendorXModule](./x-components.vendorxmodule.md)
9633
+
9634
+
9635
+ </td><td>
9636
+
9637
+ Vendor [XModule](./x-components.xmodule.md) alias.
9638
+
9639
+
9640
+ </td></tr>
9641
+ <tr><td>
9642
+
9643
+ [VendorXStoreModule](./x-components.vendorxstoremodule.md)
9644
+
9645
+
9646
+ </td><td>
9647
+
9648
+
9536
9649
  </td></tr>
9537
9650
  <tr><td>
9538
9651
 
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [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>;
@@ -10,24 +10,50 @@ The `SortDropdown` component allows user to select the search results order. Thi
10
10
 
11
11
  ```typescript
12
12
  _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
+ animation: PropType<string | Component>;
13
14
  items: {
14
15
  type: PropType<Sort[]>;
15
16
  required: true;
16
17
  };
17
- animation: PropType<string | Component>;
18
+ selectedSort: {
19
+ type: PropType<Sort>;
20
+ required: true;
21
+ };
22
+ selectedSortProvidedEvent: {
23
+ type: PropType<XEvent>;
24
+ default: string;
25
+ };
26
+ clickedSortEvent: {
27
+ type: PropType<XEvent>;
28
+ default: string;
29
+ };
18
30
  }>, {
19
31
  emitUserClickedASort: (sort: Sort) => void;
20
32
  rootRef: import("vue").Ref<import("vue").DefineComponent<{}, {}, any> | undefined, import("vue").DefineComponent<{}, {}, any> | undefined>;
21
- selectedSort: import("vue").ComputedRef<string>;
22
33
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
34
+ animation: PropType<string | Component>;
23
35
  items: {
24
36
  type: PropType<Sort[]>;
25
37
  required: true;
26
38
  };
27
- animation: PropType<string | Component>;
39
+ selectedSort: {
40
+ type: PropType<Sort>;
41
+ required: true;
42
+ };
43
+ selectedSortProvidedEvent: {
44
+ type: PropType<XEvent>;
45
+ default: string;
46
+ };
47
+ clickedSortEvent: {
48
+ type: PropType<XEvent>;
49
+ default: string;
50
+ };
28
51
  }>> & Readonly<{
29
52
  onChange?: ((...args: any[]) => any) | undefined;
30
- }>, {}, {}, {
53
+ }>, {
54
+ selectedSortProvidedEvent: keyof import("../../wiring/events.types").XEventsTypes;
55
+ clickedSortEvent: keyof import("../../wiring/events.types").XEventsTypes;
56
+ }, {}, {
31
57
  BaseDropdown: import("vue").DefineComponent<{}, {}, any>;
32
58
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
33
59
  ```
@@ -10,28 +10,53 @@ The `SortList` component allows user to select the search results order. This co
10
10
 
11
11
  ```typescript
12
12
  _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
+ animation: {
14
+ type: PropType<string | Component>;
15
+ default: () => string;
16
+ };
13
17
  items: {
14
18
  type: PropType<Sort[]>;
15
19
  required: true;
16
20
  };
17
- animation: {
18
- type: PropType<string | Component>;
19
- default: () => string;
21
+ selectedSort: {
22
+ type: PropType<Sort>;
23
+ required: true;
24
+ };
25
+ selectedSortProvidedEvent: {
26
+ type: PropType<XEvent>;
27
+ default: string;
28
+ };
29
+ clickedSortEvent: {
30
+ type: PropType<XEvent>;
31
+ default: string;
20
32
  };
21
33
  }>, {
22
34
  listItems: import("vue").ComputedRef<SortListItem[]>;
23
- selectedSort: import("vue").ComputedRef<string>;
24
35
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
+ animation: {
37
+ type: PropType<string | Component>;
38
+ default: () => string;
39
+ };
25
40
  items: {
26
41
  type: PropType<Sort[]>;
27
42
  required: true;
28
43
  };
29
- animation: {
30
- type: PropType<string | Component>;
31
- default: () => string;
44
+ selectedSort: {
45
+ type: PropType<Sort>;
46
+ required: true;
47
+ };
48
+ selectedSortProvidedEvent: {
49
+ type: PropType<XEvent>;
50
+ default: string;
51
+ };
52
+ clickedSortEvent: {
53
+ type: PropType<XEvent>;
54
+ default: string;
32
55
  };
33
56
  }>> & Readonly<{}>, {
34
57
  animation: string | Component;
58
+ selectedSortProvidedEvent: keyof XEventsTypes;
59
+ clickedSortEvent: keyof XEventsTypes;
35
60
  }, {}, {
36
61
  BaseEventButton: import("vue").DefineComponent<{}, {}, any>;
37
62
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
@@ -10,30 +10,55 @@ The `SortPickerList` component allows user to select the search results order. T
10
10
 
11
11
  ```typescript
12
12
  _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
+ animation: {
14
+ type: PropType<string | Component>;
15
+ default: () => string;
16
+ };
13
17
  items: {
14
18
  type: PropType<Sort[]>;
15
19
  required: true;
16
20
  };
17
- animation: {
18
- type: PropType<string | Component>;
19
- default: () => string;
21
+ selectedSort: {
22
+ type: PropType<Sort>;
23
+ required: true;
24
+ };
25
+ selectedSortProvidedEvent: {
26
+ type: PropType<XEvent>;
27
+ default: string;
28
+ };
29
+ clickedSortEvent: {
30
+ type: PropType<XEvent>;
31
+ default: string;
20
32
  };
21
33
  buttonClass: StringConstructor;
22
34
  }>, {
23
35
  listItems: import("vue").ComputedRef<SortPickerItem[]>;
24
- selectedSort: import("vue").ComputedRef<string>;
25
36
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
37
+ animation: {
38
+ type: PropType<string | Component>;
39
+ default: () => string;
40
+ };
26
41
  items: {
27
42
  type: PropType<Sort[]>;
28
43
  required: true;
29
44
  };
30
- animation: {
31
- type: PropType<string | Component>;
32
- default: () => string;
45
+ selectedSort: {
46
+ type: PropType<Sort>;
47
+ required: true;
48
+ };
49
+ selectedSortProvidedEvent: {
50
+ type: PropType<XEvent>;
51
+ default: string;
52
+ };
53
+ clickedSortEvent: {
54
+ type: PropType<XEvent>;
55
+ default: string;
33
56
  };
34
57
  buttonClass: StringConstructor;
35
58
  }>> & Readonly<{}>, {
36
59
  animation: string | Component;
60
+ selectedSortProvidedEvent: keyof XEventsTypes;
61
+ clickedSortEvent: keyof XEventsTypes;
37
62
  }, {}, {
38
63
  BaseEventButton: import("vue").DefineComponent<{}, {}, any>;
39
64
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [UseAliasAPI](./x-components.usealiasapi.md) &gt; [browseSelectedSort](./x-components.usealiasapi.browseselectedsort.md)
4
+
5
+ ## UseAliasAPI.browseSelectedSort property
6
+
7
+ The [BrowseXModule](./x-components.browsexmodule.md) selected sort.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ readonly browseSelectedSort: string;
13
+ ```
@@ -37,6 +37,27 @@ Description
37
37
  </th></tr></thead>
38
38
  <tbody><tr><td>
39
39
 
40
+ [browseSelectedSort](./x-components.usealiasapi.browseselectedsort.md)
41
+
42
+
43
+ </td><td>
44
+
45
+ `readonly`
46
+
47
+
48
+ </td><td>
49
+
50
+ string
51
+
52
+
53
+ </td><td>
54
+
55
+ The [BrowseXModule](./x-components.browsexmodule.md) selected sort.
56
+
57
+
58
+ </td></tr>
59
+ <tr><td>
60
+
40
61
  [browseTotalResults](./x-components.usealiasapi.browsetotalresults.md)
41
62
 
42
63
 
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [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) &gt; [@empathyco/x-components](./x-components.md) &gt; [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) &gt; [@empathyco/x-components](./x-components.md) &gt; [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)<!-- -->\[\]) =&gt; 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) &gt; [@empathyco/x-components](./x-components.md) &gt; [VendorMutations](./x-components.vendormutations.md) &gt; [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) &gt; [@empathyco/x-components](./x-components.md) &gt; [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&lt;Result, 'modelName'&gt;, NamedModel&lt;'VendorResult'&gt;
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) &gt; [@empathyco/x-components](./x-components.md) &gt; [VendorResult](./x-components.vendorresult.md) &gt; [position](./x-components.vendorresult.position.md)
4
+
5
+ ## VendorResult.position property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ position: number;
11
+ ```