@empathyco/x-components 7.4.0 → 7.4.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.
Files changed (169) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/browse/index.d.ts +1 -0
  3. package/browse/index.js +15 -0
  4. package/core/index.js.map +1 -1
  5. package/docs/API-reference/api/x-components.browseactioncontext.md +15 -0
  6. package/docs/API-reference/api/x-components.browseactions.cancelfetchandsavebrowseresponse.md +13 -0
  7. package/docs/API-reference/api/x-components.browseactions.fetchandsavebrowseresponse.md +13 -0
  8. package/docs/API-reference/api/x-components.browseactions.fetchandsaveresultsenrichment.md +13 -0
  9. package/docs/API-reference/api/x-components.browseactions.fetchbrowseresponse.md +13 -0
  10. package/docs/API-reference/api/x-components.browseactions.increasepageappendingresults.md +18 -0
  11. package/docs/API-reference/api/x-components.browseactions.md +210 -0
  12. package/docs/API-reference/api/x-components.browseactions.resetrequestonrefinement.md +13 -0
  13. package/docs/API-reference/api/x-components.browseactions.savebrowseresponse.md +13 -0
  14. package/docs/API-reference/api/x-components.browseactions.saveorigin.md +13 -0
  15. package/docs/API-reference/api/x-components.browseactions.seturlparams.md +13 -0
  16. package/docs/API-reference/api/x-components.browseconfig.md +75 -0
  17. package/docs/API-reference/api/x-components.browseconfig.pagemode.md +11 -0
  18. package/docs/API-reference/api/x-components.browseconfig.pagesize.md +13 -0
  19. package/docs/API-reference/api/x-components.browsegetters.md +58 -0
  20. package/docs/API-reference/api/x-components.browsegetters.request.md +13 -0
  21. package/docs/API-reference/api/x-components.browsemutations.appendresults.md +13 -0
  22. package/docs/API-reference/api/x-components.browsemutations.md +458 -0
  23. package/docs/API-reference/api/x-components.browsemutations.resetstate.md +13 -0
  24. package/docs/API-reference/api/x-components.browsemutations.resetstateforreload.md +13 -0
  25. package/docs/API-reference/api/x-components.browsemutations.setbanners.md +13 -0
  26. package/docs/API-reference/api/x-components.browsemutations.setbrowsetagging.md +13 -0
  27. package/docs/API-reference/api/x-components.browsemutations.setdisplaybrowsetagging.md +13 -0
  28. package/docs/API-reference/api/x-components.browsemutations.setfacets.md +13 -0
  29. package/docs/API-reference/api/x-components.browsemutations.setfromnoresultswithfilters.md +13 -0
  30. package/docs/API-reference/api/x-components.browsemutations.setisappendresults.md +13 -0
  31. package/docs/API-reference/api/x-components.browsemutations.setisnoresults.md +13 -0
  32. package/docs/API-reference/api/x-components.browsemutations.setorigin.md +13 -0
  33. package/docs/API-reference/api/x-components.browsemutations.setpage.md +13 -0
  34. package/docs/API-reference/api/x-components.browsemutations.setparams.md +13 -0
  35. package/docs/API-reference/api/x-components.browsemutations.setpromoteds.md +13 -0
  36. package/docs/API-reference/api/x-components.browsemutations.setresults.md +13 -0
  37. package/docs/API-reference/api/x-components.browsemutations.setselectedcategory.md +13 -0
  38. package/docs/API-reference/api/x-components.browsemutations.setselectedfilters.md +13 -0
  39. package/docs/API-reference/api/x-components.browsemutations.setsort.md +13 -0
  40. package/docs/API-reference/api/x-components.browsemutations.setstats.md +13 -0
  41. package/docs/API-reference/api/x-components.browsemutations.settotalresults.md +13 -0
  42. package/docs/API-reference/api/x-components.browsemutations.updateresult.md +13 -0
  43. package/docs/API-reference/api/x-components.browsemutations.updateresultsfromenrichment.md +13 -0
  44. package/docs/API-reference/api/x-components.browserequest.md +13 -0
  45. package/docs/API-reference/api/x-components.browseresultslist.md +31 -0
  46. package/docs/API-reference/api/x-components.browsesortpickerlist.md +45 -0
  47. package/docs/API-reference/api/x-components.browsestate.banners.md +13 -0
  48. package/docs/API-reference/api/x-components.browsestate.browsetagging.md +13 -0
  49. package/docs/API-reference/api/x-components.browsestate.config.md +13 -0
  50. package/docs/API-reference/api/x-components.browsestate.displaybrowsetagging.md +13 -0
  51. package/docs/API-reference/api/x-components.browsestate.facets.md +13 -0
  52. package/docs/API-reference/api/x-components.browsestate.fromnoresultswithfilters.md +13 -0
  53. package/docs/API-reference/api/x-components.browsestate.isappendresults.md +13 -0
  54. package/docs/API-reference/api/x-components.browsestate.isnoresults.md +13 -0
  55. package/docs/API-reference/api/x-components.browsestate.md +382 -0
  56. package/docs/API-reference/api/x-components.browsestate.origin.md +13 -0
  57. package/docs/API-reference/api/x-components.browsestate.page.md +13 -0
  58. package/docs/API-reference/api/x-components.browsestate.params.md +13 -0
  59. package/docs/API-reference/api/x-components.browsestate.promoteds.md +13 -0
  60. package/docs/API-reference/api/x-components.browsestate.results.md +13 -0
  61. package/docs/API-reference/api/x-components.browsestate.selectedcategory.md +13 -0
  62. package/docs/API-reference/api/x-components.browsestate.selectedfilters.md +13 -0
  63. package/docs/API-reference/api/x-components.browsestate.sort.md +13 -0
  64. package/docs/API-reference/api/x-components.browsestate.stats.md +13 -0
  65. package/docs/API-reference/api/x-components.browsestate.totalresults.md +13 -0
  66. package/docs/API-reference/api/x-components.browsexevents.browserequestchanged.md +13 -0
  67. package/docs/API-reference/api/x-components.browsexevents.browserequestupdated.md +18 -0
  68. package/docs/API-reference/api/x-components.browsexevents.browseresponsechanged.md +13 -0
  69. package/docs/API-reference/api/x-components.browsexevents.browsetaggingchanged.md +13 -0
  70. package/docs/API-reference/api/x-components.browsexevents.md +172 -0
  71. package/docs/API-reference/api/x-components.browsexevents.selectedbrowsesortprovided.md +18 -0
  72. package/docs/API-reference/api/x-components.browsexevents.userbrowsedtocategory.md +13 -0
  73. package/docs/API-reference/api/x-components.browsexevents.userclickedabrowsesort.md +13 -0
  74. package/docs/API-reference/api/x-components.browsexmodule.md +13 -0
  75. package/docs/API-reference/api/x-components.browsexstoremodule.md +15 -0
  76. package/docs/API-reference/api/x-components.cancelfetchandsavebrowseresponse.md +17 -0
  77. package/docs/API-reference/api/x-components.cancelfetchandsavebrowseresponsewire.md +13 -0
  78. package/docs/API-reference/api/x-components.clearbrowsequery.md +13 -0
  79. package/docs/API-reference/api/x-components.fetchandsavebrowseresponse.md +66 -0
  80. package/docs/API-reference/api/x-components.fetchandsavebrowseresponsewire.md +13 -0
  81. package/docs/API-reference/api/x-components.fetchandsavebrowseresultsenrichment.md +66 -0
  82. package/docs/API-reference/api/x-components.fetchandsavebrowseresultsenrichmentwire.md +13 -0
  83. package/docs/API-reference/api/x-components.fetchbrowseresponse.md +13 -0
  84. package/docs/API-reference/api/x-components.increasebrowsepageappendingresults.md +13 -0
  85. package/docs/API-reference/api/x-components.increasebrowsepageappendingresultswire.md +13 -0
  86. package/docs/API-reference/api/x-components.internalbrowserequest.md +59 -0
  87. package/docs/API-reference/api/x-components.internalbrowserequest.page.md +13 -0
  88. package/docs/API-reference/api/x-components.internalbrowseresponse.md +78 -0
  89. package/docs/API-reference/api/x-components.internalbrowseresponse.request.md +13 -0
  90. package/docs/API-reference/api/x-components.internalbrowseresponse.status.md +13 -0
  91. package/docs/API-reference/api/x-components.md +477 -0
  92. package/docs/API-reference/api/x-components.resetbrowseappending.md +13 -0
  93. package/docs/API-reference/api/x-components.resetbrowserequestonrefinement.md +13 -0
  94. package/docs/API-reference/api/x-components.resetbrowserequestonrefinementwire.md +13 -0
  95. package/docs/API-reference/api/x-components.resetbrowsestateforreloadwire.md +13 -0
  96. package/docs/API-reference/api/x-components.resetbrowsestateifnorequestwire.md +13 -0
  97. package/docs/API-reference/api/x-components.resetfromnobrowseresultswithfilters.md +13 -0
  98. package/docs/API-reference/api/x-components.resetisnobrowseresults.md +13 -0
  99. package/docs/API-reference/api/x-components.savebrowseorigin.md +13 -0
  100. package/docs/API-reference/api/x-components.savebrowseoriginwire.md +13 -0
  101. package/docs/API-reference/api/x-components.savebrowseresponse.md +13 -0
  102. package/docs/API-reference/api/x-components.setbrowsecategory.md +13 -0
  103. package/docs/API-reference/api/x-components.setbrowseextraparams.md +13 -0
  104. package/docs/API-reference/api/x-components.setbrowsepage.md +13 -0
  105. package/docs/API-reference/api/x-components.setbrowseselectedfilters.md +13 -0
  106. package/docs/API-reference/api/x-components.setbrowsesort.md +13 -0
  107. package/docs/API-reference/api/x-components.setbrowseurlparams.md +13 -0
  108. package/docs/API-reference/api/x-components.setbrowseurlparamswire.md +13 -0
  109. package/docs/API-reference/api/x-components.snippetcallbacks.md +3 -3
  110. package/docs/API-reference/api/x-components.usealiasapi.browsetotalresults.md +1 -1
  111. package/docs/API-reference/api/x-components.usealiasapi.md +1 -1
  112. package/docs/API-reference/api/x-components.watchedinternalbrowserequest.md +73 -0
  113. package/docs/API-reference/api/x-components.watchedinternalbrowserequest.newrequest.md +11 -0
  114. package/docs/API-reference/api/x-components.watchedinternalbrowserequest.oldrequest.md +11 -0
  115. package/docs/API-reference/api/x-components.xeventstypes.md +1 -1
  116. package/docs/API-reference/api/x-components.xmodulestree.md +1 -1
  117. package/js/index.js +15 -0
  118. package/js/index.js.map +1 -1
  119. package/js/wiring/namespaced-wires.factory.js +1 -1
  120. package/js/x-modules/browse/components/browse-results-list.vue.js +46 -0
  121. package/js/x-modules/browse/components/browse-results-list.vue.js.map +1 -0
  122. package/js/x-modules/browse/components/browse-results-list.vue2.js +6 -0
  123. package/js/x-modules/browse/components/browse-results-list.vue2.js.map +1 -0
  124. package/js/x-modules/browse/components/browse-sort-picker-list.vue.js +73 -0
  125. package/js/x-modules/browse/components/browse-sort-picker-list.vue.js.map +1 -0
  126. package/js/x-modules/browse/components/browse-sort-picker-list.vue2.js +6 -0
  127. package/js/x-modules/browse/components/browse-sort-picker-list.vue2.js.map +1 -0
  128. package/js/x-modules/browse/store/actions/fetch-and-save-browse-response.action.js +57 -0
  129. package/js/x-modules/browse/store/actions/fetch-and-save-browse-response.action.js.map +1 -0
  130. package/js/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.js +21 -0
  131. package/js/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.js.map +1 -0
  132. package/js/x-modules/browse/store/actions/fetch-browse-response.action.js +16 -0
  133. package/js/x-modules/browse/store/actions/fetch-browse-response.action.js.map +1 -0
  134. package/js/x-modules/browse/store/actions/increase-page-apending-results.action.js +18 -0
  135. package/js/x-modules/browse/store/actions/increase-page-apending-results.action.js.map +1 -0
  136. package/js/x-modules/browse/store/actions/reset-request-on-refinement.action.js +36 -0
  137. package/js/x-modules/browse/store/actions/reset-request-on-refinement.action.js.map +1 -0
  138. package/js/x-modules/browse/store/actions/save-browse-response.action.js +42 -0
  139. package/js/x-modules/browse/store/actions/save-browse-response.action.js.map +1 -0
  140. package/js/x-modules/browse/store/actions/save-origin.action.js +16 -0
  141. package/js/x-modules/browse/store/actions/save-origin.action.js.map +1 -0
  142. package/js/x-modules/browse/store/actions/set-url-params.action.js +20 -0
  143. package/js/x-modules/browse/store/actions/set-url-params.action.js.map +1 -0
  144. package/js/x-modules/browse/store/emitters.js +48 -0
  145. package/js/x-modules/browse/store/emitters.js.map +1 -0
  146. package/js/x-modules/browse/store/getters/request.getter.js +27 -0
  147. package/js/x-modules/browse/store/getters/request.getter.js.map +1 -0
  148. package/js/x-modules/browse/store/module.js +163 -0
  149. package/js/x-modules/browse/store/module.js.map +1 -0
  150. package/js/x-modules/browse/wiring.js +213 -0
  151. package/js/x-modules/browse/wiring.js.map +1 -0
  152. package/js/x-modules/browse/x-module.js +21 -0
  153. package/js/x-modules/browse/x-module.js.map +1 -0
  154. package/package.json +2 -2
  155. package/report/x-components.api.json +3922 -119
  156. package/report/x-components.api.md +373 -9
  157. package/types/src/components/snippet-callbacks.vue.d.ts +3 -3
  158. package/types/src/index.d.ts +1 -0
  159. package/types/src/index.d.ts.map +1 -1
  160. package/types/src/x-modules/browse/components/browse-results-list.vue.d.ts +30 -0
  161. package/types/src/x-modules/browse/components/browse-results-list.vue.d.ts.map +1 -0
  162. package/types/src/x-modules/browse/components/browse-sort-picker-list.vue.d.ts +50 -0
  163. package/types/src/x-modules/browse/components/browse-sort-picker-list.vue.d.ts.map +1 -0
  164. package/types/src/x-modules/browse/store/actions/index.d.ts +5 -5
  165. package/types/src/x-modules/browse/store/actions/index.d.ts.map +1 -1
  166. package/types/src/x-modules/browse/store/module.d.ts +1 -1
  167. package/types/src/x-modules/browse/store/module.d.ts.map +1 -1
  168. package/types/src/x-modules/browse/wiring.d.ts +26 -26
  169. package/types/src/x-modules/browse/wiring.d.ts.map +1 -1
@@ -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; [BrowseState](./x-components.browsestate.md) &gt; [promoteds](./x-components.browsestate.promoteds.md)
4
+
5
+ ## BrowseState.promoteds property
6
+
7
+ The list of the promoted, related to the `query` property of the state.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ promoteds: Promoted[];
13
+ ```
@@ -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; [BrowseState](./x-components.browsestate.md) &gt; [results](./x-components.browsestate.results.md)
4
+
5
+ ## BrowseState.results property
6
+
7
+ The list of the results, related to the `query` property of the state.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ results: Result[];
13
+ ```
@@ -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; [BrowseState](./x-components.browsestate.md) &gt; [selectedCategory](./x-components.browsestate.selectedcategory.md)
4
+
5
+ ## BrowseState.selectedCategory property
6
+
7
+ The current selected category of the request
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ selectedCategory: BrowsableRequest;
13
+ ```
@@ -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; [BrowseState](./x-components.browsestate.md) &gt; [selectedFilters](./x-components.browsestate.selectedfilters.md)
4
+
5
+ ## BrowseState.selectedFilters property
6
+
7
+ The dictionary of selected filters, used to perform the browse request. The key is the facet id, and the value the list of filters for that facet.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ selectedFilters: Dictionary<Filter[]>;
13
+ ```
@@ -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; [BrowseState](./x-components.browsestate.md) &gt; [sort](./x-components.browsestate.sort.md)
4
+
5
+ ## BrowseState.sort property
6
+
7
+ The way of ordering the results.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ sort: Sort;
13
+ ```
@@ -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; [BrowseState](./x-components.browsestate.md) &gt; [stats](./x-components.browsestate.stats.md)
4
+
5
+ ## BrowseState.stats property
6
+
7
+ The stats of the results.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ stats: Stats;
13
+ ```
@@ -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; [BrowseState](./x-components.browsestate.md) &gt; [totalResults](./x-components.browsestate.totalresults.md)
4
+
5
+ ## BrowseState.totalResults property
6
+
7
+ The total number of results, related to the `query` property of the state.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ totalResults: number;
13
+ ```
@@ -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; [BrowseXEvents](./x-components.browsexevents.md) &gt; [BrowseRequestChanged](./x-components.browsexevents.browserequestchanged.md)
4
+
5
+ ## BrowseXEvents.BrowseRequestChanged property
6
+
7
+ Any property of the browse request has changed. Payload: The new browse request or `null` if there is not enough data in the state to conform a valid request.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ BrowseRequestChanged: InternalBrowseRequest | null;
13
+ ```
@@ -0,0 +1,18 @@
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; [BrowseXEvents](./x-components.browsexevents.md) &gt; [BrowseRequestUpdated](./x-components.browsexevents.browserequestupdated.md)
4
+
5
+ ## BrowseXEvents.BrowseRequestUpdated property
6
+
7
+ Any property of the browse request has been updated. Payload: The new browse request or `null` if there is not enough data in the state to conform a valid request.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ BrowseRequestUpdated: InternalBrowseRequest | null;
13
+ ```
14
+
15
+ ## Remarks
16
+
17
+ The difference from `BrowseRequestChanged` and this event is this one will be executed with more priority (As it is not a `...Changed` event). So we can use this event to modify request params before emitting the `BrowseRequestChanged` and fetch the API.
18
+
@@ -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; [BrowseXEvents](./x-components.browsexevents.md) &gt; [BrowseResponseChanged](./x-components.browsexevents.browseresponsechanged.md)
4
+
5
+ ## BrowseXEvents.BrowseResponseChanged property
6
+
7
+ A browse response has been provided. Payload: The provided internal response object.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ BrowseResponseChanged: InternalBrowseResponse;
13
+ ```
@@ -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; [BrowseXEvents](./x-components.browsexevents.md) &gt; [BrowseTaggingChanged](./x-components.browsexevents.browsetaggingchanged.md)
4
+
5
+ ## BrowseXEvents.BrowseTaggingChanged property
6
+
7
+ Browse tagging has been changed. Payload: The new browse tagging object.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ BrowseTaggingChanged: TaggingRequest;
13
+ ```
@@ -0,0 +1,172 @@
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; [BrowseXEvents](./x-components.browsexevents.md)
4
+
5
+ ## BrowseXEvents interface
6
+
7
+ Dictionary of the events of Browse XModule, where each key is the event name, and the value is the event payload type or `void` if it has no payload.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export interface BrowseXEvents
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
+ [BrowseRequestChanged](./x-components.browsexevents.browserequestchanged.md)
41
+
42
+
43
+ </td><td>
44
+
45
+
46
+ </td><td>
47
+
48
+ [InternalBrowseRequest](./x-components.internalbrowserequest.md) \| null
49
+
50
+
51
+ </td><td>
52
+
53
+ Any property of the browse request has changed. Payload: The new browse request or `null` if there is not enough data in the state to conform a valid request.
54
+
55
+
56
+ </td></tr>
57
+ <tr><td>
58
+
59
+ [BrowseRequestUpdated](./x-components.browsexevents.browserequestupdated.md)
60
+
61
+
62
+ </td><td>
63
+
64
+
65
+ </td><td>
66
+
67
+ [InternalBrowseRequest](./x-components.internalbrowserequest.md) \| null
68
+
69
+
70
+ </td><td>
71
+
72
+ Any property of the browse request has been updated. Payload: The new browse request or `null` if there is not enough data in the state to conform a valid request.
73
+
74
+
75
+ </td></tr>
76
+ <tr><td>
77
+
78
+ [BrowseResponseChanged](./x-components.browsexevents.browseresponsechanged.md)
79
+
80
+
81
+ </td><td>
82
+
83
+
84
+ </td><td>
85
+
86
+ [InternalBrowseResponse](./x-components.internalbrowseresponse.md)
87
+
88
+
89
+ </td><td>
90
+
91
+ A browse response has been provided. Payload: The provided internal response object.
92
+
93
+
94
+ </td></tr>
95
+ <tr><td>
96
+
97
+ [BrowseTaggingChanged](./x-components.browsexevents.browsetaggingchanged.md)
98
+
99
+
100
+ </td><td>
101
+
102
+
103
+ </td><td>
104
+
105
+ TaggingRequest
106
+
107
+
108
+ </td><td>
109
+
110
+ Browse tagging has been changed. Payload: The new browse tagging object.
111
+
112
+
113
+ </td></tr>
114
+ <tr><td>
115
+
116
+ [SelectedBrowseSortProvided](./x-components.browsexevents.selectedbrowsesortprovided.md)
117
+
118
+
119
+ </td><td>
120
+
121
+
122
+ </td><td>
123
+
124
+ Sort
125
+
126
+
127
+ </td><td>
128
+
129
+ A new selected sort has been provided. Payload: The sort option that has been provided.
130
+
131
+
132
+ </td></tr>
133
+ <tr><td>
134
+
135
+ [UserBrowsedToCategory](./x-components.browsexevents.userbrowsedtocategory.md)
136
+
137
+
138
+ </td><td>
139
+
140
+
141
+ </td><td>
142
+
143
+ BrowsableRequest
144
+
145
+
146
+ </td><td>
147
+
148
+ The user has selected a browse category. Payload: The browse category fields needed for the request.
149
+
150
+
151
+ </td></tr>
152
+ <tr><td>
153
+
154
+ [UserClickedABrowseSort](./x-components.browsexevents.userclickedabrowsesort.md)
155
+
156
+
157
+ </td><td>
158
+
159
+
160
+ </td><td>
161
+
162
+ Sort
163
+
164
+
165
+ </td><td>
166
+
167
+ The user has clicked one of the sorts. Payload: The sort option that the user has selected.
168
+
169
+
170
+ </td></tr>
171
+ </tbody></table>
172
+
@@ -0,0 +1,18 @@
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; [BrowseXEvents](./x-components.browsexevents.md) &gt; [SelectedBrowseSortProvided](./x-components.browsexevents.selectedbrowsesortprovided.md)
4
+
5
+ ## BrowseXEvents.SelectedBrowseSortProvided property
6
+
7
+ A new selected sort has been provided. Payload: The sort option that has been provided.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ SelectedBrowseSortProvided: Sort;
13
+ ```
14
+
15
+ ## Remarks
16
+
17
+ This event is used when the user of the library wants to provide their own selected sort value.
18
+
@@ -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; [BrowseXEvents](./x-components.browsexevents.md) &gt; [UserBrowsedToCategory](./x-components.browsexevents.userbrowsedtocategory.md)
4
+
5
+ ## BrowseXEvents.UserBrowsedToCategory property
6
+
7
+ The user has selected a browse category. Payload: The browse category fields needed for the request.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ UserBrowsedToCategory: BrowsableRequest;
13
+ ```
@@ -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; [BrowseXEvents](./x-components.browsexevents.md) &gt; [UserClickedABrowseSort](./x-components.browsexevents.userclickedabrowsesort.md)
4
+
5
+ ## BrowseXEvents.UserClickedABrowseSort property
6
+
7
+ The user has clicked one of the sorts. Payload: The sort option that the user has selected.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ UserClickedABrowseSort: Sort;
13
+ ```
@@ -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; [browseXModule](./x-components.browsexmodule.md)
4
+
5
+ ## browseXModule variable
6
+
7
+ Search [XModule](./x-components.xmodule.md) implementation. This module is auto-registered as soon as you import any component from the `browse` entry point.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ browseXModule: BrowseXModule
13
+ ```
@@ -0,0 +1,15 @@
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; [BrowseXStoreModule](./x-components.browsexstoremodule.md)
4
+
5
+ ## BrowseXStoreModule type
6
+
7
+ Browse type safe store module.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export type BrowseXStoreModule = XStoreModule<BrowseState, BrowseGetters, BrowseMutations, BrowseActions>;
13
+ ```
14
+ **References:** [XStoreModule](./x-components.xstoremodule.md)<!-- -->, [BrowseState](./x-components.browsestate.md)<!-- -->, [BrowseGetters](./x-components.browsegetters.md)<!-- -->, [BrowseMutations](./x-components.browsemutations.md)<!-- -->, [BrowseActions](./x-components.browseactions.md)
15
+
@@ -0,0 +1,17 @@
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; [cancelFetchAndSaveBrowseResponse](./x-components.cancelfetchandsavebrowseresponse.md)
4
+
5
+ ## cancelFetchAndSaveBrowseResponse() function
6
+
7
+ Default implementation for [BrowseActions.cancelFetchAndSaveBrowseResponse](./x-components.browseactions.cancelfetchandsavebrowseresponse.md) action.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ cancelFetchAndSaveBrowseResponse: () => void
13
+ ```
14
+ **Returns:**
15
+
16
+ void
17
+
@@ -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; [cancelFetchAndSaveBrowseResponseWire](./x-components.cancelfetchandsavebrowseresponsewire.md)
4
+
5
+ ## cancelFetchAndSaveBrowseResponseWire variable
6
+
7
+ Cancels the [BrowseActions.fetchAndSaveBrowseResponse](./x-components.browseactions.fetchandsavebrowseresponse.md) request promise.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ cancelFetchAndSaveBrowseResponseWire: 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) &gt; [@empathyco/x-components](./x-components.md) &gt; [clearBrowseQuery](./x-components.clearbrowsequery.md)
4
+
5
+ ## clearBrowseQuery variable
6
+
7
+ Clears the browse state `selectedCategory`<!-- -->.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ clearBrowseQuery: import("../../wiring").AnyWire
13
+ ```
@@ -0,0 +1,66 @@
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; [fetchAndSaveBrowseResponse](./x-components.fetchandsavebrowseresponse.md)
4
+
5
+ ## fetchAndSaveBrowseResponse() function
6
+
7
+ Default implementation for [BrowseActions.fetchAndSaveBrowseResponse](./x-components.browseactions.fetchandsavebrowseresponse.md) action.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ fetchAndSaveBrowseResponse: (context: BrowseActionContext, request: InternalBrowseRequest | null) => void | Promise<void>
13
+ ```
14
+
15
+ ## Parameters
16
+
17
+ <table><thead><tr><th>
18
+
19
+ Parameter
20
+
21
+
22
+ </th><th>
23
+
24
+ Type
25
+
26
+
27
+ </th><th>
28
+
29
+ Description
30
+
31
+
32
+ </th></tr></thead>
33
+ <tbody><tr><td>
34
+
35
+ context
36
+
37
+
38
+ </td><td>
39
+
40
+ [BrowseActionContext](./x-components.browseactioncontext.md)
41
+
42
+
43
+ </td><td>
44
+
45
+
46
+ </td></tr>
47
+ <tr><td>
48
+
49
+ request
50
+
51
+
52
+ </td><td>
53
+
54
+ [InternalBrowseRequest](./x-components.internalbrowserequest.md) \| null
55
+
56
+
57
+ </td><td>
58
+
59
+
60
+ </td></tr>
61
+ </tbody></table>
62
+
63
+ **Returns:**
64
+
65
+ void \| Promise&lt;void&gt;
66
+
@@ -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; [fetchAndSaveBrowseResponseWire](./x-components.fetchandsavebrowseresponsewire.md)
4
+
5
+ ## fetchAndSaveBrowseResponseWire variable
6
+
7
+ Requests and stores the browse response.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ fetchAndSaveBrowseResponseWire: import("../../wiring").Wire<InternalBrowseRequest | null>
13
+ ```
@@ -0,0 +1,66 @@
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; [fetchAndSaveBrowseResultsEnrichment](./x-components.fetchandsavebrowseresultsenrichment.md)
4
+
5
+ ## fetchAndSaveBrowseResultsEnrichment() function
6
+
7
+ Default implementation for [BrowseActions.fetchAndSaveResultsEnrichment](./x-components.browseactions.fetchandsaveresultsenrichment.md) action.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ fetchAndSaveResultsEnrichment: (context: BrowseActionContext, request: Result[]) => void | Promise<void>
13
+ ```
14
+
15
+ ## Parameters
16
+
17
+ <table><thead><tr><th>
18
+
19
+ Parameter
20
+
21
+
22
+ </th><th>
23
+
24
+ Type
25
+
26
+
27
+ </th><th>
28
+
29
+ Description
30
+
31
+
32
+ </th></tr></thead>
33
+ <tbody><tr><td>
34
+
35
+ context
36
+
37
+
38
+ </td><td>
39
+
40
+ [BrowseActionContext](./x-components.browseactioncontext.md)
41
+
42
+
43
+ </td><td>
44
+
45
+
46
+ </td></tr>
47
+ <tr><td>
48
+
49
+ request
50
+
51
+
52
+ </td><td>
53
+
54
+ Result\[\]
55
+
56
+
57
+ </td><td>
58
+
59
+
60
+ </td></tr>
61
+ </tbody></table>
62
+
63
+ **Returns:**
64
+
65
+ void \| Promise&lt;void&gt;
66
+
@@ -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; [fetchAndSaveBrowseResultsEnrichmentWire](./x-components.fetchandsavebrowseresultsenrichmentwire.md)
4
+
5
+ ## fetchAndSaveBrowseResultsEnrichmentWire variable
6
+
7
+ Requests and stores the enrichment results for the results.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ fetchAndSaveBrowseResultsEnrichmentWire: import("../../wiring").Wire<import("@empathyco/x-types").Result[]>
13
+ ```
@@ -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; [fetchBrowseResponse](./x-components.fetchbrowseresponse.md)
4
+
5
+ ## fetchBrowseResponse variable
6
+
7
+ Default implementation for the [BrowseActions.fetchBrowseResponse](./x-components.browseactions.fetchbrowseresponse.md)<!-- -->.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ fetchBrowseResponse: BrowseXStoreModule['actions']['fetchBrowseResponse']
13
+ ```
@@ -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; [increaseBrowsePageAppendingResults](./x-components.increasebrowsepageappendingresults.md)
4
+
5
+ ## increaseBrowsePageAppendingResults variable
6
+
7
+ Default implementation for the [BrowseActions.increasePageAppendingResults](./x-components.browseactions.increasepageappendingresults.md)<!-- -->.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ increasePageAppendingResults: BrowseXStoreModule['actions']['increasePageAppendingResults']
13
+ ```
@@ -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; [increaseBrowsePageAppendingResultsWire](./x-components.increasebrowsepageappendingresultswire.md)
4
+
5
+ ## increaseBrowsePageAppendingResultsWire variable
6
+
7
+ Increases the current browse state `page` by one.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ increaseBrowsePageAppendingResultsWire: import("../../wiring").AnyWire
13
+ ```