@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.
- package/CHANGELOG.md +8 -0
- package/browse/index.d.ts +1 -0
- package/browse/index.js +15 -0
- package/core/index.js.map +1 -1
- package/docs/API-reference/api/x-components.browseactioncontext.md +15 -0
- package/docs/API-reference/api/x-components.browseactions.cancelfetchandsavebrowseresponse.md +13 -0
- package/docs/API-reference/api/x-components.browseactions.fetchandsavebrowseresponse.md +13 -0
- package/docs/API-reference/api/x-components.browseactions.fetchandsaveresultsenrichment.md +13 -0
- package/docs/API-reference/api/x-components.browseactions.fetchbrowseresponse.md +13 -0
- package/docs/API-reference/api/x-components.browseactions.increasepageappendingresults.md +18 -0
- package/docs/API-reference/api/x-components.browseactions.md +210 -0
- package/docs/API-reference/api/x-components.browseactions.resetrequestonrefinement.md +13 -0
- package/docs/API-reference/api/x-components.browseactions.savebrowseresponse.md +13 -0
- package/docs/API-reference/api/x-components.browseactions.saveorigin.md +13 -0
- package/docs/API-reference/api/x-components.browseactions.seturlparams.md +13 -0
- package/docs/API-reference/api/x-components.browseconfig.md +75 -0
- package/docs/API-reference/api/x-components.browseconfig.pagemode.md +11 -0
- package/docs/API-reference/api/x-components.browseconfig.pagesize.md +13 -0
- package/docs/API-reference/api/x-components.browsegetters.md +58 -0
- package/docs/API-reference/api/x-components.browsegetters.request.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.appendresults.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.md +458 -0
- package/docs/API-reference/api/x-components.browsemutations.resetstate.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.resetstateforreload.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.setbanners.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.setbrowsetagging.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.setdisplaybrowsetagging.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.setfacets.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.setfromnoresultswithfilters.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.setisappendresults.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.setisnoresults.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.setorigin.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.setpage.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.setparams.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.setpromoteds.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.setresults.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.setselectedcategory.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.setselectedfilters.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.setsort.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.setstats.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.settotalresults.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.updateresult.md +13 -0
- package/docs/API-reference/api/x-components.browsemutations.updateresultsfromenrichment.md +13 -0
- package/docs/API-reference/api/x-components.browserequest.md +13 -0
- package/docs/API-reference/api/x-components.browseresultslist.md +31 -0
- package/docs/API-reference/api/x-components.browsesortpickerlist.md +45 -0
- package/docs/API-reference/api/x-components.browsestate.banners.md +13 -0
- package/docs/API-reference/api/x-components.browsestate.browsetagging.md +13 -0
- package/docs/API-reference/api/x-components.browsestate.config.md +13 -0
- package/docs/API-reference/api/x-components.browsestate.displaybrowsetagging.md +13 -0
- package/docs/API-reference/api/x-components.browsestate.facets.md +13 -0
- package/docs/API-reference/api/x-components.browsestate.fromnoresultswithfilters.md +13 -0
- package/docs/API-reference/api/x-components.browsestate.isappendresults.md +13 -0
- package/docs/API-reference/api/x-components.browsestate.isnoresults.md +13 -0
- package/docs/API-reference/api/x-components.browsestate.md +382 -0
- package/docs/API-reference/api/x-components.browsestate.origin.md +13 -0
- package/docs/API-reference/api/x-components.browsestate.page.md +13 -0
- package/docs/API-reference/api/x-components.browsestate.params.md +13 -0
- package/docs/API-reference/api/x-components.browsestate.promoteds.md +13 -0
- package/docs/API-reference/api/x-components.browsestate.results.md +13 -0
- package/docs/API-reference/api/x-components.browsestate.selectedcategory.md +13 -0
- package/docs/API-reference/api/x-components.browsestate.selectedfilters.md +13 -0
- package/docs/API-reference/api/x-components.browsestate.sort.md +13 -0
- package/docs/API-reference/api/x-components.browsestate.stats.md +13 -0
- package/docs/API-reference/api/x-components.browsestate.totalresults.md +13 -0
- package/docs/API-reference/api/x-components.browsexevents.browserequestchanged.md +13 -0
- package/docs/API-reference/api/x-components.browsexevents.browserequestupdated.md +18 -0
- package/docs/API-reference/api/x-components.browsexevents.browseresponsechanged.md +13 -0
- package/docs/API-reference/api/x-components.browsexevents.browsetaggingchanged.md +13 -0
- package/docs/API-reference/api/x-components.browsexevents.md +172 -0
- package/docs/API-reference/api/x-components.browsexevents.selectedbrowsesortprovided.md +18 -0
- package/docs/API-reference/api/x-components.browsexevents.userbrowsedtocategory.md +13 -0
- package/docs/API-reference/api/x-components.browsexevents.userclickedabrowsesort.md +13 -0
- package/docs/API-reference/api/x-components.browsexmodule.md +13 -0
- package/docs/API-reference/api/x-components.browsexstoremodule.md +15 -0
- package/docs/API-reference/api/x-components.cancelfetchandsavebrowseresponse.md +17 -0
- package/docs/API-reference/api/x-components.cancelfetchandsavebrowseresponsewire.md +13 -0
- package/docs/API-reference/api/x-components.clearbrowsequery.md +13 -0
- package/docs/API-reference/api/x-components.fetchandsavebrowseresponse.md +66 -0
- package/docs/API-reference/api/x-components.fetchandsavebrowseresponsewire.md +13 -0
- package/docs/API-reference/api/x-components.fetchandsavebrowseresultsenrichment.md +66 -0
- package/docs/API-reference/api/x-components.fetchandsavebrowseresultsenrichmentwire.md +13 -0
- package/docs/API-reference/api/x-components.fetchbrowseresponse.md +13 -0
- package/docs/API-reference/api/x-components.increasebrowsepageappendingresults.md +13 -0
- package/docs/API-reference/api/x-components.increasebrowsepageappendingresultswire.md +13 -0
- package/docs/API-reference/api/x-components.internalbrowserequest.md +59 -0
- package/docs/API-reference/api/x-components.internalbrowserequest.page.md +13 -0
- package/docs/API-reference/api/x-components.internalbrowseresponse.md +78 -0
- package/docs/API-reference/api/x-components.internalbrowseresponse.request.md +13 -0
- package/docs/API-reference/api/x-components.internalbrowseresponse.status.md +13 -0
- package/docs/API-reference/api/x-components.md +477 -0
- package/docs/API-reference/api/x-components.resetbrowseappending.md +13 -0
- package/docs/API-reference/api/x-components.resetbrowserequestonrefinement.md +13 -0
- package/docs/API-reference/api/x-components.resetbrowserequestonrefinementwire.md +13 -0
- package/docs/API-reference/api/x-components.resetbrowsestateforreloadwire.md +13 -0
- package/docs/API-reference/api/x-components.resetbrowsestateifnorequestwire.md +13 -0
- package/docs/API-reference/api/x-components.resetfromnobrowseresultswithfilters.md +13 -0
- package/docs/API-reference/api/x-components.resetisnobrowseresults.md +13 -0
- package/docs/API-reference/api/x-components.savebrowseorigin.md +13 -0
- package/docs/API-reference/api/x-components.savebrowseoriginwire.md +13 -0
- package/docs/API-reference/api/x-components.savebrowseresponse.md +13 -0
- package/docs/API-reference/api/x-components.setbrowsecategory.md +13 -0
- package/docs/API-reference/api/x-components.setbrowseextraparams.md +13 -0
- package/docs/API-reference/api/x-components.setbrowsepage.md +13 -0
- package/docs/API-reference/api/x-components.setbrowseselectedfilters.md +13 -0
- package/docs/API-reference/api/x-components.setbrowsesort.md +13 -0
- package/docs/API-reference/api/x-components.setbrowseurlparams.md +13 -0
- package/docs/API-reference/api/x-components.setbrowseurlparamswire.md +13 -0
- package/docs/API-reference/api/x-components.snippetcallbacks.md +3 -3
- package/docs/API-reference/api/x-components.usealiasapi.browsetotalresults.md +1 -1
- package/docs/API-reference/api/x-components.usealiasapi.md +1 -1
- package/docs/API-reference/api/x-components.watchedinternalbrowserequest.md +73 -0
- package/docs/API-reference/api/x-components.watchedinternalbrowserequest.newrequest.md +11 -0
- package/docs/API-reference/api/x-components.watchedinternalbrowserequest.oldrequest.md +11 -0
- package/docs/API-reference/api/x-components.xeventstypes.md +1 -1
- package/docs/API-reference/api/x-components.xmodulestree.md +1 -1
- package/js/index.js +15 -0
- package/js/index.js.map +1 -1
- package/js/wiring/namespaced-wires.factory.js +1 -1
- package/js/x-modules/browse/components/browse-results-list.vue.js +46 -0
- package/js/x-modules/browse/components/browse-results-list.vue.js.map +1 -0
- package/js/x-modules/browse/components/browse-results-list.vue2.js +6 -0
- package/js/x-modules/browse/components/browse-results-list.vue2.js.map +1 -0
- package/js/x-modules/browse/components/browse-sort-picker-list.vue.js +73 -0
- package/js/x-modules/browse/components/browse-sort-picker-list.vue.js.map +1 -0
- package/js/x-modules/browse/components/browse-sort-picker-list.vue2.js +6 -0
- package/js/x-modules/browse/components/browse-sort-picker-list.vue2.js.map +1 -0
- package/js/x-modules/browse/store/actions/fetch-and-save-browse-response.action.js +57 -0
- package/js/x-modules/browse/store/actions/fetch-and-save-browse-response.action.js.map +1 -0
- package/js/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.js +21 -0
- package/js/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.js.map +1 -0
- package/js/x-modules/browse/store/actions/fetch-browse-response.action.js +16 -0
- package/js/x-modules/browse/store/actions/fetch-browse-response.action.js.map +1 -0
- package/js/x-modules/browse/store/actions/increase-page-apending-results.action.js +18 -0
- package/js/x-modules/browse/store/actions/increase-page-apending-results.action.js.map +1 -0
- package/js/x-modules/browse/store/actions/reset-request-on-refinement.action.js +36 -0
- package/js/x-modules/browse/store/actions/reset-request-on-refinement.action.js.map +1 -0
- package/js/x-modules/browse/store/actions/save-browse-response.action.js +42 -0
- package/js/x-modules/browse/store/actions/save-browse-response.action.js.map +1 -0
- package/js/x-modules/browse/store/actions/save-origin.action.js +16 -0
- package/js/x-modules/browse/store/actions/save-origin.action.js.map +1 -0
- package/js/x-modules/browse/store/actions/set-url-params.action.js +20 -0
- package/js/x-modules/browse/store/actions/set-url-params.action.js.map +1 -0
- package/js/x-modules/browse/store/emitters.js +48 -0
- package/js/x-modules/browse/store/emitters.js.map +1 -0
- package/js/x-modules/browse/store/getters/request.getter.js +27 -0
- package/js/x-modules/browse/store/getters/request.getter.js.map +1 -0
- package/js/x-modules/browse/store/module.js +163 -0
- package/js/x-modules/browse/store/module.js.map +1 -0
- package/js/x-modules/browse/wiring.js +213 -0
- package/js/x-modules/browse/wiring.js.map +1 -0
- package/js/x-modules/browse/x-module.js +21 -0
- package/js/x-modules/browse/x-module.js.map +1 -0
- package/package.json +2 -2
- package/report/x-components.api.json +3922 -119
- package/report/x-components.api.md +373 -9
- package/types/src/components/snippet-callbacks.vue.d.ts +3 -3
- package/types/src/index.d.ts +1 -0
- package/types/src/index.d.ts.map +1 -1
- package/types/src/x-modules/browse/components/browse-results-list.vue.d.ts +30 -0
- package/types/src/x-modules/browse/components/browse-results-list.vue.d.ts.map +1 -0
- package/types/src/x-modules/browse/components/browse-sort-picker-list.vue.d.ts +50 -0
- package/types/src/x-modules/browse/components/browse-sort-picker-list.vue.d.ts.map +1 -0
- package/types/src/x-modules/browse/store/actions/index.d.ts +5 -5
- package/types/src/x-modules/browse/store/actions/index.d.ts.map +1 -1
- package/types/src/x-modules/browse/store/module.d.ts +1 -1
- package/types/src/x-modules/browse/store/module.d.ts.map +1 -1
- package/types/src/x-modules/browse/wiring.d.ts +26 -26
- package/types/src/x-modules/browse/wiring.d.ts.map +1 -1
|
@@ -0,0 +1,458 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BrowseMutations](./x-components.browsemutations.md)
|
|
4
|
+
|
|
5
|
+
## BrowseMutations interface
|
|
6
|
+
|
|
7
|
+
Browse store mutations.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface BrowseMutations extends StatusMutations, ConfigMutations<BrowseState>
|
|
13
|
+
```
|
|
14
|
+
**Extends:** [StatusMutations](./x-components.statusmutations.md)<!-- -->, [ConfigMutations](./x-components.configmutations.md)<!-- --><[BrowseState](./x-components.browsestate.md)<!-- -->>
|
|
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
|
+
[appendResults](./x-components.browsemutations.appendresults.md)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
</td><td>
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
</td><td>
|
|
48
|
+
|
|
49
|
+
(results: Result\[\]) => void
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
</td><td>
|
|
53
|
+
|
|
54
|
+
Append the results to the results state.
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
</td></tr>
|
|
58
|
+
<tr><td>
|
|
59
|
+
|
|
60
|
+
[resetState](./x-components.browsemutations.resetstate.md)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
</td><td>
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
</td><td>
|
|
67
|
+
|
|
68
|
+
() => void
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
</td><td>
|
|
72
|
+
|
|
73
|
+
Resets the "resettable" part of the Browse state to the initial state. See the [BrowseXStoreModule](./x-components.browsexstoremodule.md) for details.
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
</td></tr>
|
|
77
|
+
<tr><td>
|
|
78
|
+
|
|
79
|
+
[resetStateForReload](./x-components.browsemutations.resetstateforreload.md)
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
</td><td>
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
</td><td>
|
|
86
|
+
|
|
87
|
+
() => void
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
</td><td>
|
|
91
|
+
|
|
92
|
+
Resets the "resettable" part of the Browse state like [BrowseMutations.resetState](./x-components.browsemutations.resetstate.md) but maintains the values required to perform the browse request again.
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
</td></tr>
|
|
96
|
+
<tr><td>
|
|
97
|
+
|
|
98
|
+
[setBanners](./x-components.browsemutations.setbanners.md)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
</td><td>
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
</td><td>
|
|
105
|
+
|
|
106
|
+
(banners: Banner\[\]) => void
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
</td><td>
|
|
110
|
+
|
|
111
|
+
Sets the banners of the module.
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
</td></tr>
|
|
115
|
+
<tr><td>
|
|
116
|
+
|
|
117
|
+
[setBrowseTagging](./x-components.browsemutations.setbrowsetagging.md)
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
</td><td>
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
</td><td>
|
|
124
|
+
|
|
125
|
+
(browseTagging: TaggingRequest) => void
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
</td><td>
|
|
129
|
+
|
|
130
|
+
Sets the browse tagging of the module, which is used to track the query.
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
</td></tr>
|
|
134
|
+
<tr><td>
|
|
135
|
+
|
|
136
|
+
[setDisplayBrowseTagging](./x-components.browsemutations.setdisplaybrowsetagging.md)
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
</td><td>
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
</td><td>
|
|
143
|
+
|
|
144
|
+
(displayBrowseTagging: TaggingRequest) => void
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
</td><td>
|
|
148
|
+
|
|
149
|
+
Sets the display tagging of the module.
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
</td></tr>
|
|
153
|
+
<tr><td>
|
|
154
|
+
|
|
155
|
+
[setFacets](./x-components.browsemutations.setfacets.md)
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
</td><td>
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
</td><td>
|
|
162
|
+
|
|
163
|
+
(facets: Facet\[\]) => void
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
</td><td>
|
|
167
|
+
|
|
168
|
+
Sets the facets of the module.
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
</td></tr>
|
|
172
|
+
<tr><td>
|
|
173
|
+
|
|
174
|
+
[setFromNoResultsWithFilters](./x-components.browsemutations.setfromnoresultswithfilters.md)
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
</td><td>
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
</td><td>
|
|
181
|
+
|
|
182
|
+
(fromNoResultsWithFilters: boolean) => void
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
</td><td>
|
|
186
|
+
|
|
187
|
+
Sets the `fromNoResultsWithFilters` flag value.
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
</td></tr>
|
|
191
|
+
<tr><td>
|
|
192
|
+
|
|
193
|
+
[setIsAppendResults](./x-components.browsemutations.setisappendresults.md)
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
</td><td>
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
</td><td>
|
|
200
|
+
|
|
201
|
+
(isAppendResults: boolean) => void
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
</td><td>
|
|
205
|
+
|
|
206
|
+
Set the `isAppendResuls` flag value.
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
</td></tr>
|
|
210
|
+
<tr><td>
|
|
211
|
+
|
|
212
|
+
[setIsNoResults](./x-components.browsemutations.setisnoresults.md)
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
</td><td>
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
</td><td>
|
|
219
|
+
|
|
220
|
+
(isNoResults: boolean) => void
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
</td><td>
|
|
224
|
+
|
|
225
|
+
Sets the `isNoResults` flag value.
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
</td></tr>
|
|
229
|
+
<tr><td>
|
|
230
|
+
|
|
231
|
+
[setOrigin](./x-components.browsemutations.setorigin.md)
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
</td><td>
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
</td><td>
|
|
238
|
+
|
|
239
|
+
(origin: [QueryOrigin](./x-components.queryorigin.md) \| undefined \| null) => void
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
</td><td>
|
|
243
|
+
|
|
244
|
+
Sets the origin of the module.
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
</td></tr>
|
|
248
|
+
<tr><td>
|
|
249
|
+
|
|
250
|
+
[setPage](./x-components.browsemutations.setpage.md)
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
</td><td>
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
</td><td>
|
|
257
|
+
|
|
258
|
+
(page: number) => void
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
</td><td>
|
|
262
|
+
|
|
263
|
+
Sets the page of the module.
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
</td></tr>
|
|
267
|
+
<tr><td>
|
|
268
|
+
|
|
269
|
+
[setParams](./x-components.browsemutations.setparams.md)
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
</td><td>
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
</td><td>
|
|
276
|
+
|
|
277
|
+
(params: Dictionary<unknown>) => void
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
</td><td>
|
|
281
|
+
|
|
282
|
+
Sets the extra params of the module.
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
</td></tr>
|
|
286
|
+
<tr><td>
|
|
287
|
+
|
|
288
|
+
[setPromoteds](./x-components.browsemutations.setpromoteds.md)
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
</td><td>
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
</td><td>
|
|
295
|
+
|
|
296
|
+
(promoteds: Promoted\[\]) => void
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
</td><td>
|
|
300
|
+
|
|
301
|
+
Sets the promoteds of the module.
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
</td></tr>
|
|
305
|
+
<tr><td>
|
|
306
|
+
|
|
307
|
+
[setResults](./x-components.browsemutations.setresults.md)
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
</td><td>
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
</td><td>
|
|
314
|
+
|
|
315
|
+
(results: Result\[\]) => void
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
</td><td>
|
|
319
|
+
|
|
320
|
+
Sets the results of the module.
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
</td></tr>
|
|
324
|
+
<tr><td>
|
|
325
|
+
|
|
326
|
+
[setSelectedCategory](./x-components.browsemutations.setselectedcategory.md)
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
</td><td>
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
</td><td>
|
|
333
|
+
|
|
334
|
+
(selectedCategory: BrowsableRequest) => void
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
</td><td>
|
|
338
|
+
|
|
339
|
+
Sets the selected category of the module.
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
</td></tr>
|
|
343
|
+
<tr><td>
|
|
344
|
+
|
|
345
|
+
[setSelectedFilters](./x-components.browsemutations.setselectedfilters.md)
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
</td><td>
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
</td><td>
|
|
352
|
+
|
|
353
|
+
(selectedFilters: Filter\[\]) => void
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
</td><td>
|
|
357
|
+
|
|
358
|
+
Sets the selected filters of the module.
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
</td></tr>
|
|
362
|
+
<tr><td>
|
|
363
|
+
|
|
364
|
+
[setSort](./x-components.browsemutations.setsort.md)
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
</td><td>
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
</td><td>
|
|
371
|
+
|
|
372
|
+
(sort: Sort) => void
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
</td><td>
|
|
376
|
+
|
|
377
|
+
Sets the selected sort option of the module.
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
</td></tr>
|
|
381
|
+
<tr><td>
|
|
382
|
+
|
|
383
|
+
[setStats](./x-components.browsemutations.setstats.md)
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
</td><td>
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
</td><td>
|
|
390
|
+
|
|
391
|
+
(stats: Stats) => void
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
</td><td>
|
|
395
|
+
|
|
396
|
+
Sets the stats of the module.
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
</td></tr>
|
|
400
|
+
<tr><td>
|
|
401
|
+
|
|
402
|
+
[setTotalResults](./x-components.browsemutations.settotalresults.md)
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
</td><td>
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
</td><td>
|
|
409
|
+
|
|
410
|
+
(totalResults: number) => void
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
</td><td>
|
|
414
|
+
|
|
415
|
+
Sets the total results of the module.
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
</td></tr>
|
|
419
|
+
<tr><td>
|
|
420
|
+
|
|
421
|
+
[updateResult](./x-components.browsemutations.updateresult.md)
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
</td><td>
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
</td><td>
|
|
428
|
+
|
|
429
|
+
(result: Partial<Result> & Pick<Result, 'id'>) => void
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
</td><td>
|
|
433
|
+
|
|
434
|
+
Updates a result with new fields.
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
</td></tr>
|
|
438
|
+
<tr><td>
|
|
439
|
+
|
|
440
|
+
[updateResultsFromEnrichment](./x-components.browsemutations.updateresultsfromenrichment.md)
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
</td><td>
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
</td><td>
|
|
447
|
+
|
|
448
|
+
(enrichmentResults: any\[\]) => void
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
</td><td>
|
|
452
|
+
|
|
453
|
+
Updates the results with the enrichment results.
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
</td></tr>
|
|
457
|
+
</tbody></table>
|
|
458
|
+
|
|
@@ -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) > [BrowseMutations](./x-components.browsemutations.md) > [resetState](./x-components.browsemutations.resetstate.md)
|
|
4
|
+
|
|
5
|
+
## BrowseMutations.resetState property
|
|
6
|
+
|
|
7
|
+
Resets the "resettable" part of the Browse state to the initial state. See the [BrowseXStoreModule](./x-components.browsexstoremodule.md) for details.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
resetState: () => void;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BrowseMutations](./x-components.browsemutations.md) > [resetStateForReload](./x-components.browsemutations.resetstateforreload.md)
|
|
4
|
+
|
|
5
|
+
## BrowseMutations.resetStateForReload property
|
|
6
|
+
|
|
7
|
+
Resets the "resettable" part of the Browse state like [BrowseMutations.resetState](./x-components.browsemutations.resetstate.md) but maintains the values required to perform the browse request again.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
resetStateForReload: () => void;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BrowseMutations](./x-components.browsemutations.md) > [setBanners](./x-components.browsemutations.setbanners.md)
|
|
4
|
+
|
|
5
|
+
## BrowseMutations.setBanners property
|
|
6
|
+
|
|
7
|
+
Sets the banners of the module.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setBanners: (banners: Banner[]) => void;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BrowseMutations](./x-components.browsemutations.md) > [setBrowseTagging](./x-components.browsemutations.setbrowsetagging.md)
|
|
4
|
+
|
|
5
|
+
## BrowseMutations.setBrowseTagging property
|
|
6
|
+
|
|
7
|
+
Sets the browse tagging of the module, which is used to track the query.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setBrowseTagging: (browseTagging: TaggingRequest) => void;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BrowseMutations](./x-components.browsemutations.md) > [setDisplayBrowseTagging](./x-components.browsemutations.setdisplaybrowsetagging.md)
|
|
4
|
+
|
|
5
|
+
## BrowseMutations.setDisplayBrowseTagging property
|
|
6
|
+
|
|
7
|
+
Sets the display tagging of the module.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setDisplayBrowseTagging: (displayBrowseTagging: TaggingRequest) => void;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BrowseMutations](./x-components.browsemutations.md) > [setFacets](./x-components.browsemutations.setfacets.md)
|
|
4
|
+
|
|
5
|
+
## BrowseMutations.setFacets property
|
|
6
|
+
|
|
7
|
+
Sets the facets of the module.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setFacets: (facets: Facet[]) => void;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BrowseMutations](./x-components.browsemutations.md) > [setFromNoResultsWithFilters](./x-components.browsemutations.setfromnoresultswithfilters.md)
|
|
4
|
+
|
|
5
|
+
## BrowseMutations.setFromNoResultsWithFilters property
|
|
6
|
+
|
|
7
|
+
Sets the `fromNoResultsWithFilters` flag value.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setFromNoResultsWithFilters: (fromNoResultsWithFilters: boolean) => void;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BrowseMutations](./x-components.browsemutations.md) > [setIsAppendResults](./x-components.browsemutations.setisappendresults.md)
|
|
4
|
+
|
|
5
|
+
## BrowseMutations.setIsAppendResults property
|
|
6
|
+
|
|
7
|
+
Set the `isAppendResuls` flag value.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setIsAppendResults: (isAppendResults: boolean) => void;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BrowseMutations](./x-components.browsemutations.md) > [setIsNoResults](./x-components.browsemutations.setisnoresults.md)
|
|
4
|
+
|
|
5
|
+
## BrowseMutations.setIsNoResults property
|
|
6
|
+
|
|
7
|
+
Sets the `isNoResults` flag value.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setIsNoResults: (isNoResults: boolean) => void;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BrowseMutations](./x-components.browsemutations.md) > [setOrigin](./x-components.browsemutations.setorigin.md)
|
|
4
|
+
|
|
5
|
+
## BrowseMutations.setOrigin property
|
|
6
|
+
|
|
7
|
+
Sets the origin of the module.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setOrigin: (origin: QueryOrigin | undefined | null) => void;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BrowseMutations](./x-components.browsemutations.md) > [setPage](./x-components.browsemutations.setpage.md)
|
|
4
|
+
|
|
5
|
+
## BrowseMutations.setPage property
|
|
6
|
+
|
|
7
|
+
Sets the page of the module.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setPage: (page: number) => void;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BrowseMutations](./x-components.browsemutations.md) > [setParams](./x-components.browsemutations.setparams.md)
|
|
4
|
+
|
|
5
|
+
## BrowseMutations.setParams property
|
|
6
|
+
|
|
7
|
+
Sets the extra params of the module.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setParams: (params: Dictionary<unknown>) => void;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BrowseMutations](./x-components.browsemutations.md) > [setPromoteds](./x-components.browsemutations.setpromoteds.md)
|
|
4
|
+
|
|
5
|
+
## BrowseMutations.setPromoteds property
|
|
6
|
+
|
|
7
|
+
Sets the promoteds of the module.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setPromoteds: (promoteds: Promoted[]) => void;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BrowseMutations](./x-components.browsemutations.md) > [setResults](./x-components.browsemutations.setresults.md)
|
|
4
|
+
|
|
5
|
+
## BrowseMutations.setResults property
|
|
6
|
+
|
|
7
|
+
Sets the results of the module.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setResults: (results: Result[]) => void;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BrowseMutations](./x-components.browsemutations.md) > [setSelectedCategory](./x-components.browsemutations.setselectedcategory.md)
|
|
4
|
+
|
|
5
|
+
## BrowseMutations.setSelectedCategory property
|
|
6
|
+
|
|
7
|
+
Sets the selected category of the module.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setSelectedCategory: (selectedCategory: BrowsableRequest) => void;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BrowseMutations](./x-components.browsemutations.md) > [setSelectedFilters](./x-components.browsemutations.setselectedfilters.md)
|
|
4
|
+
|
|
5
|
+
## BrowseMutations.setSelectedFilters property
|
|
6
|
+
|
|
7
|
+
Sets the selected filters of the module.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setSelectedFilters: (selectedFilters: Filter[]) => void;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BrowseMutations](./x-components.browsemutations.md) > [setSort](./x-components.browsemutations.setsort.md)
|
|
4
|
+
|
|
5
|
+
## BrowseMutations.setSort property
|
|
6
|
+
|
|
7
|
+
Sets the selected sort option of the module.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setSort: (sort: Sort) => void;
|
|
13
|
+
```
|