@empathyco/x-components 3.0.0-alpha.93 → 3.0.0-alpha.96
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 +47 -0
- package/docs/API-reference/api/x-adapter.empathybannermapper._constructor_.md +2 -2
- package/docs/API-reference/api/x-adapter.empathypromotedmapper._constructor_.md +2 -2
- package/docs/API-reference/api/x-adapter.empathyredirectionmapper._constructor_.md +2 -2
- package/docs/API-reference/api/x-adapter.empathyresultmapper._constructor_.md +2 -2
- package/docs/API-reference/api/x-adapter.empathytaggingmapper.map.md +3 -3
- package/docs/API-reference/api/x-adapter.empathytaggingmapper.md +2 -2
- package/docs/API-reference/api/x-adapter.searchresponse.md +1 -1
- package/docs/API-reference/api/x-adapter.searchresponse.querytagging.md +1 -1
- package/docs/API-reference/api/x-adapter.trackableshowresponse.md +1 -1
- package/docs/API-reference/api/x-adapter.trackableshowresponse.showtagging.md +1 -1
- package/docs/API-reference/api/x-components.fetchandsaveidentifierresults.md +1 -1
- package/docs/API-reference/api/x-components.fetchandsaveidentifierresultswire.md +1 -1
- package/docs/API-reference/api/x-components.fetchandsavenextquerieswire.md +1 -1
- package/docs/API-reference/api/x-components.fetchandsavepopularsearches.md +1 -1
- package/docs/API-reference/api/x-components.fetchandsavequerysuggestions.md +1 -1
- package/docs/API-reference/api/x-components.fetchandsaverecommendations.md +1 -1
- package/docs/API-reference/api/x-components.fetchandsaverelatedtagswire.md +1 -1
- package/docs/API-reference/api/x-components.fetchandsavesuggestionswire.md +1 -1
- package/docs/API-reference/api/x-components.identifierresultsactions.fetchandsaveidentifierresults.md +2 -2
- package/docs/API-reference/api/x-components.identifierresultsactions.fetchidentifierresults.md +2 -2
- package/docs/API-reference/api/x-components.identifierresultsgetters.identifierresultsrequest.md +1 -1
- package/docs/API-reference/api/x-components.identifierresultsgetters.md +1 -1
- package/docs/API-reference/api/x-components.identifierresultsxevents.identifierresultschanged.md +1 -1
- package/docs/API-reference/api/x-components.identifierresultsxevents.identifierresultsrequestchanged.md +2 -2
- package/docs/API-reference/api/x-components.identifierresultsxevents.md +3 -3
- package/docs/API-reference/api/x-components.identifierresultsxevents.userclickedaidentifierresult.md +1 -1
- package/docs/API-reference/api/x-components.nextqueriesxevents.md +4 -4
- package/docs/API-reference/api/x-components.nextqueriesxevents.nextquerieschanged.md +1 -1
- package/docs/API-reference/api/x-components.nextqueriesxevents.nextqueriesdisplayed.md +1 -1
- package/docs/API-reference/api/x-components.nextqueriesxevents.nextqueriesrequestchanged.md +1 -1
- package/docs/API-reference/api/x-components.nextqueriesxevents.userselectedanextquery.md +1 -1
- package/docs/API-reference/api/x-components.popularsearchesactions.fetchandsavesuggestions.md +2 -2
- package/docs/API-reference/api/x-components.popularsearchesactions.fetchsuggestions.md +2 -2
- package/docs/API-reference/api/x-components.popularsearchesgetters.md +1 -1
- package/docs/API-reference/api/x-components.popularsearchesgetters.request.md +1 -1
- package/docs/API-reference/api/x-components.popularsearchesxevents.md +3 -3
- package/docs/API-reference/api/x-components.popularsearchesxevents.popularsearchdisplayed.md +1 -1
- package/docs/API-reference/api/x-components.popularsearchesxevents.popularsearchesrequestchanged.md +2 -2
- package/docs/API-reference/api/x-components.popularsearchesxevents.userselectedapopularsearch.md +1 -1
- package/docs/API-reference/api/x-components.querysuggestionsactions.fetchandsavesuggestions.md +2 -2
- package/docs/API-reference/api/x-components.querysuggestionsactions.fetchsuggestions.md +2 -2
- package/docs/API-reference/api/x-components.querysuggestionsgetters.md +1 -1
- package/docs/API-reference/api/x-components.querysuggestionsgetters.request.md +1 -1
- package/docs/API-reference/api/x-components.querysuggestionsxevents.md +4 -4
- package/docs/API-reference/api/x-components.querysuggestionsxevents.querysuggestionschanged.md +1 -1
- package/docs/API-reference/api/x-components.querysuggestionsxevents.querysuggestionsdisplayed.md +1 -1
- package/docs/API-reference/api/x-components.querysuggestionsxevents.querysuggestionsrequestchanged.md +2 -2
- package/docs/API-reference/api/x-components.querysuggestionsxevents.userselectedaquerysuggestion.md +1 -1
- package/docs/API-reference/api/x-components.recommendationsactions.fetchandsaverecommendations.md +2 -2
- package/docs/API-reference/api/x-components.recommendationsactions.fetchrecommendations.md +2 -2
- package/docs/API-reference/api/x-components.recommendationsgetters.md +1 -1
- package/docs/API-reference/api/x-components.recommendationsgetters.request.md +1 -1
- package/docs/API-reference/api/x-components.recommendationsxevents.md +3 -3
- package/docs/API-reference/api/x-components.recommendationsxevents.recommendationschanged.md +1 -1
- package/docs/API-reference/api/x-components.recommendationsxevents.recommendationsrequestchanged.md +2 -2
- package/docs/API-reference/api/x-components.recommendationsxevents.userclickedarecommendation.md +1 -1
- package/docs/API-reference/api/x-components.relatedtagsxevents.md +6 -6
- package/docs/API-reference/api/x-components.relatedtagsxevents.relatedtagschanged.md +1 -1
- package/docs/API-reference/api/x-components.relatedtagsxevents.relatedtagsrequestchanged.md +1 -1
- package/docs/API-reference/api/x-components.relatedtagsxevents.selectedrelatedtagschanged.md +1 -1
- package/docs/API-reference/api/x-components.relatedtagsxevents.userdeselectedarelatedtag.md +1 -1
- package/docs/API-reference/api/x-components.relatedtagsxevents.userpickedarelatedtag.md +1 -1
- package/docs/API-reference/api/x-components.relatedtagsxevents.userselectedarelatedtag.md +1 -1
- package/docs/API-reference/api/x-components.searchgetters.md +1 -1
- package/docs/API-reference/api/x-components.searchgetters.request.md +1 -1
- package/docs/API-reference/api/x-components.searchmutations.setquerytagging.md +2 -2
- package/docs/API-reference/api/x-components.searchstate.md +1 -1
- package/docs/API-reference/api/x-components.searchstate.querytagging.md +1 -1
- package/docs/API-reference/api/x-components.searchxevents.facetschanged.md +1 -1
- package/docs/API-reference/api/x-components.searchxevents.md +14 -14
- package/docs/API-reference/api/x-components.searchxevents.pagechanged.md +1 -1
- package/docs/API-reference/api/x-components.searchxevents.resultschanged.md +1 -1
- package/docs/API-reference/api/x-components.searchxevents.searchrequestchanged.md +1 -1
- package/docs/API-reference/api/x-components.searchxevents.searchrequestupdated.md +1 -1
- package/docs/API-reference/api/x-components.searchxevents.searchtaggingchanged.md +2 -2
- package/docs/API-reference/api/x-components.searchxevents.selectedsortprovided.md +1 -1
- package/docs/API-reference/api/x-components.searchxevents.sortchanged.md +1 -1
- package/docs/API-reference/api/x-components.searchxevents.spellcheckchanged.md +1 -1
- package/docs/API-reference/api/x-components.searchxevents.userclickedabanner.md +1 -1
- package/docs/API-reference/api/x-components.searchxevents.userclickedapromoted.md +1 -1
- package/docs/API-reference/api/x-components.searchxevents.userclickedaredirection.md +1 -1
- package/docs/API-reference/api/x-components.searchxevents.userclickedasort.md +1 -1
- package/docs/API-reference/api/x-components.searchxevents.userclickedpartialquery.md +1 -1
- package/docs/API-reference/api/x-components.setquerytagginginfo.md +1 -1
- package/docs/API-reference/api/x-components.taggingactions.track.md +2 -2
- package/docs/API-reference/api/x-components.taggingconfig.clickedresultstoragekey.md +1 -1
- package/docs/API-reference/api/x-components.taggingconfig.md +1 -1
- package/docs/API-reference/api/x-components.taggingmutations.setquerytagginginfo.md +2 -2
- package/docs/API-reference/api/x-components.taggingstate.md +1 -1
- package/docs/API-reference/api/x-components.taggingstate.querytagginginfo.md +1 -1
- package/docs/API-reference/api/x-components.taggingxevents.consentchanged.md +1 -1
- package/docs/API-reference/api/x-components.taggingxevents.consentprovided.md +1 -1
- package/docs/API-reference/api/x-components.taggingxevents.md +6 -6
- package/docs/API-reference/api/x-components.taggingxevents.resulturltrackingenabled.md +1 -1
- package/docs/API-reference/api/x-components.taggingxevents.searchtaggingreceived.md +2 -2
- package/docs/API-reference/api/x-components.taggingxevents.taggingconfigprovided.md +1 -1
- package/docs/API-reference/api/x-components.taggingxevents.userclickedpdpaddtocart.md +1 -1
- package/docs/API-reference/api/x-components.trackquerywire.md +1 -1
- package/docs/API-reference/api/x-components.xeventlisteners.md +1 -1
- package/docs/API-reference/api/x-types.extraparamsrequest.md +13 -0
- package/docs/API-reference/api/x-types.facetfilter.md +1 -1
- package/docs/API-reference/api/x-types.facetfilter.modelname.md +1 -1
- package/docs/API-reference/api/x-types.facetfilterschema.md +1 -1
- package/docs/API-reference/api/x-types.filterablerequest.filters.md +11 -0
- package/docs/API-reference/api/x-types.filterablerequest.md +20 -0
- package/docs/API-reference/api/x-types.identifierresultsrequest.md +15 -0
- package/docs/API-reference/api/x-types.md +16 -3
- package/docs/API-reference/api/x-types.nextqueriesrequest.md +15 -0
- package/docs/API-reference/api/x-types.pageablerequest.md +21 -0
- package/docs/API-reference/api/{x-types.tagginginfoschema.md → x-types.pageablerequest.rows.md} +3 -5
- package/docs/API-reference/api/x-types.pageablerequest.start.md +11 -0
- package/docs/API-reference/api/x-types.popularsearchesrequest.md +15 -0
- package/docs/API-reference/api/x-types.queryablerequest.md +20 -0
- package/docs/API-reference/api/x-types.queryablerequest.query.md +11 -0
- package/docs/API-reference/api/x-types.querysuggestionsrequest.md +15 -0
- package/docs/API-reference/api/x-types.rawfilter.md +1 -1
- package/docs/API-reference/api/x-types.rawfilter.selected.md +1 -1
- package/docs/API-reference/api/x-types.recommendationsrequest.md +15 -0
- package/docs/API-reference/api/x-types.relatedtagsrequest.md +15 -0
- package/docs/API-reference/api/x-types.searchrequest.md +15 -0
- package/docs/API-reference/api/x-types.sortablerequest.md +20 -0
- package/docs/API-reference/api/x-types.sortablerequest.sort.md +11 -0
- package/docs/API-reference/api/x-types.tagging.add2cart.md +2 -2
- package/docs/API-reference/api/x-types.tagging.checkout.md +2 -2
- package/docs/API-reference/api/x-types.tagging.click.md +2 -2
- package/docs/API-reference/api/x-types.tagging.md +5 -5
- package/docs/API-reference/api/x-types.tagging.query.md +2 -2
- package/docs/API-reference/api/x-types.tagging.wishlist.md +2 -2
- package/docs/API-reference/api/x-types.taggingrequest.md +21 -0
- package/docs/API-reference/api/{x-types.tagginginfo.params.md → x-types.taggingrequest.params.md} +2 -2
- package/docs/API-reference/api/{x-types.tagginginfo.url.md → x-types.taggingrequest.url.md} +2 -2
- package/docs/API-reference/api/x-types.taggingrequestschema.md +13 -0
- package/docs/API-reference/api/x-types.trackablerequest.md +20 -0
- package/docs/API-reference/api/x-types.trackablerequest.origin.md +11 -0
- package/docs/API-reference/components/common/column-picker/x-components.base-column-picker-dropdown.md +4 -4
- package/docs/API-reference/components/common/column-picker/x-components.base-column-picker-list.md +3 -3
- package/docs/API-reference/components/common/currency/x-components.base-currency.md +0 -10
- package/docs/API-reference/components/common/result/x-components.base-result-link.md +0 -4
- package/docs/API-reference/components/common/x-components.base-dropdown.md +4 -4
- package/docs/API-reference/components/common/x-components.base-grid.md +3 -3
- package/docs/API-reference/components/common/x-components.base-keyboard-navigation.md +0 -5
- package/docs/API-reference/components/common/x-components.base-variable-column-grid.md +3 -3
- package/docs/API-reference/components/facets/x-components.facets/facets.md +9 -9
- package/docs/API-reference/components/facets/x-components.filters/number-range-filter.md +4 -4
- package/docs/API-reference/components/facets/x-components.filters/simple-filter.md +4 -4
- package/docs/API-reference/components/facets/x-components.lists/filters-search.md +4 -4
- package/docs/API-reference/components/facets/x-components.lists/selected-filters-list.md +3 -3
- package/docs/API-reference/components/history-queries/x-components.history-queries.md +0 -4
- package/docs/API-reference/components/history-queries/x-components.my-history.md +0 -4
- package/docs/API-reference/components/next-queries/x-components.next-queries.md +4 -4
- package/docs/API-reference/components/search/x-components.sort-dropdown.md +4 -4
- package/docs/API-reference/components/search-box/x-components.clear-search-input.md +0 -5
- package/docs/API-reference/components/search-box/x-components.search-button.md +0 -4
- package/js/x-modules/facets/entities/filter-entity.factory.js +34 -6
- package/js/x-modules/facets/entities/filter-entity.factory.js.map +1 -1
- package/js/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.js.map +1 -1
- package/js/x-modules/next-queries/store/actions/fetch-and-save-next-queries.action.js.map +1 -1
- package/js/x-modules/popular-searches/store/actions/fetch-and-save-suggestions.action.js.map +1 -1
- package/js/x-modules/query-suggestions/store/actions/fetch-and-save-suggestions.action.js.map +1 -1
- package/js/x-modules/recommendations/store/actions/fetch-and-save-recommendations.action.js.map +1 -1
- package/js/x-modules/related-tags/store/actions/fetch-and-save-related-tags.action.js.map +1 -1
- package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js.map +1 -1
- package/js/x-modules/search/store/getters/request.getter.js +4 -2
- package/js/x-modules/search/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/tagging/store/actions/track.action.js.map +1 -1
- package/js/x-modules/tagging/store/module.js.map +1 -1
- package/js/x-modules/tagging/wiring.js +2 -1
- package/js/x-modules/tagging/wiring.js.map +1 -1
- package/package.json +6 -6
- package/report/x-adapter.api.json +18 -18
- package/report/x-components.api.json +117 -117
- package/report/x-components.api.md +58 -51
- package/report/x-types.api.json +747 -40
- package/types/adapter/mocked-adapter.d.ts.map +1 -1
- package/types/x-installer/api/api.types.d.ts +2 -2
- package/types/x-installer/api/api.types.d.ts.map +1 -1
- package/types/x-modules/facets/entities/filter-entity.factory.d.ts +23 -3
- package/types/x-modules/facets/entities/filter-entity.factory.d.ts.map +1 -1
- package/types/x-modules/identifier-results/events.types.d.ts +5 -6
- package/types/x-modules/identifier-results/events.types.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.d.ts +2 -2
- package/types/x-modules/identifier-results/store/actions/fetch-and-save-identifier-results.action.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/emitters.d.ts +1 -1
- package/types/x-modules/identifier-results/store/types.d.ts +12 -9
- package/types/x-modules/identifier-results/store/types.d.ts.map +1 -1
- package/types/x-modules/identifier-results/wiring.d.ts +2 -2
- package/types/x-modules/identifier-results/wiring.d.ts.map +1 -1
- package/types/x-modules/next-queries/events.types.d.ts +5 -6
- package/types/x-modules/next-queries/events.types.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/actions/fetch-and-save-next-queries.action.d.ts +1 -1
- package/types/x-modules/next-queries/store/actions/fetch-and-save-next-queries.action.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/emitters.d.ts +1 -1
- package/types/x-modules/next-queries/store/types.d.ts +5 -4
- package/types/x-modules/next-queries/store/types.d.ts.map +1 -1
- package/types/x-modules/next-queries/wiring.d.ts +2 -2
- package/types/x-modules/next-queries/wiring.d.ts.map +1 -1
- package/types/x-modules/popular-searches/events.types.d.ts +5 -6
- package/types/x-modules/popular-searches/events.types.d.ts.map +1 -1
- package/types/x-modules/popular-searches/store/actions/fetch-and-save-suggestions.action.d.ts +2 -2
- package/types/x-modules/popular-searches/store/actions/fetch-and-save-suggestions.action.d.ts.map +1 -1
- package/types/x-modules/popular-searches/store/emitters.d.ts +1 -1
- package/types/x-modules/popular-searches/store/types.d.ts +5 -6
- package/types/x-modules/popular-searches/store/types.d.ts.map +1 -1
- package/types/x-modules/popular-searches/wiring.d.ts +1 -1
- package/types/x-modules/query-suggestions/events.types.d.ts +6 -7
- package/types/x-modules/query-suggestions/events.types.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/actions/fetch-and-save-suggestions.action.d.ts +2 -2
- package/types/x-modules/query-suggestions/store/actions/fetch-and-save-suggestions.action.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/emitters.d.ts +1 -1
- package/types/x-modules/query-suggestions/store/types.d.ts +8 -7
- package/types/x-modules/query-suggestions/store/types.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/wiring.d.ts +2 -2
- package/types/x-modules/query-suggestions/wiring.d.ts.map +1 -1
- package/types/x-modules/recommendations/events.types.d.ts +5 -6
- package/types/x-modules/recommendations/events.types.d.ts.map +1 -1
- package/types/x-modules/recommendations/store/actions/fetch-and-save-recommendations.action.d.ts +2 -2
- package/types/x-modules/recommendations/store/actions/fetch-and-save-recommendations.action.d.ts.map +1 -1
- package/types/x-modules/recommendations/store/emitters.d.ts +1 -1
- package/types/x-modules/recommendations/store/types.d.ts +4 -5
- package/types/x-modules/recommendations/store/types.d.ts.map +1 -1
- package/types/x-modules/recommendations/wiring.d.ts +1 -1
- package/types/x-modules/related-tags/events.types.d.ts +7 -8
- package/types/x-modules/related-tags/events.types.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/actions/fetch-and-save-related-tags.action.d.ts +1 -1
- package/types/x-modules/related-tags/store/actions/fetch-and-save-related-tags.action.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/emitters.d.ts +1 -1
- package/types/x-modules/related-tags/store/types.d.ts +7 -5
- package/types/x-modules/related-tags/store/types.d.ts.map +1 -1
- package/types/x-modules/related-tags/wiring.d.ts +2 -2
- package/types/x-modules/related-tags/wiring.d.ts.map +1 -1
- package/types/x-modules/search/events.types.d.ts +16 -16
- package/types/x-modules/search/events.types.d.ts.map +1 -1
- package/types/x-modules/search/store/actions/fetch-and-save-search-response.action.d.ts.map +1 -1
- package/types/x-modules/search/store/emitters.d.ts +2 -2
- package/types/x-modules/search/store/getters/request.getter.d.ts +2 -0
- package/types/x-modules/search/store/getters/request.getter.d.ts.map +1 -1
- package/types/x-modules/search/store/types.d.ts +12 -8
- package/types/x-modules/search/store/types.d.ts.map +1 -1
- package/types/x-modules/search/types.d.ts +1 -1
- package/types/x-modules/search/types.d.ts.map +1 -1
- package/types/x-modules/tagging/config.types.d.ts +2 -1
- package/types/x-modules/tagging/config.types.d.ts.map +1 -1
- package/types/x-modules/tagging/events.types.d.ts +10 -10
- package/types/x-modules/tagging/events.types.d.ts.map +1 -1
- package/types/x-modules/tagging/store/emitters.d.ts +1 -1
- package/types/x-modules/tagging/store/types.d.ts +4 -4
- package/types/x-modules/tagging/store/types.d.ts.map +1 -1
- package/types/x-modules/tagging/wiring.d.ts +6 -5
- package/types/x-modules/tagging/wiring.d.ts.map +1 -1
- package/docs/API-reference/api/x-types.tagginginfo.md +0 -21
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See
|
|
4
4
|
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.0.0-alpha.96](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.95...@empathyco/x-components@3.0.0-alpha.96) (2022-05-13)
|
|
7
|
+
|
|
8
|
+
### ⚠ BREAKING CHANGES
|
|
9
|
+
|
|
10
|
+
- **facets:** Renamed method `registerFilterModifier` in `FilterEntityFactory` to
|
|
11
|
+
`registerModifierByFacetId`.
|
|
12
|
+
- **facets:** Changed `modifiers` parameter of `registerFilterModifier` in `FilterEntityFactory`
|
|
13
|
+
from a single array in favour of rest parameters.
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
- **facets:** add `registerModifierByFilterModelName`
|
|
18
|
+
([36956a1](https://github.com/empathyco/x/commit/36956a13b33cc5430381d33ac53cd33b706136da)),
|
|
19
|
+
closes [EX-6106](https://searchbroker.atlassian.net/browse/EX-6106)
|
|
20
|
+
|
|
21
|
+
# Change Log
|
|
22
|
+
|
|
23
|
+
All notable changes to this project will be documented in this file. See
|
|
24
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
25
|
+
|
|
26
|
+
## [3.0.0-alpha.95](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.94...@empathyco/x-components@3.0.0-alpha.95) (2022-05-11)
|
|
27
|
+
|
|
28
|
+
### ⚠ BREAKING CHANGES
|
|
29
|
+
|
|
30
|
+
- Request types moved to `x-types` package. Change the imports from `x-adapter` to `x-type`.
|
|
31
|
+
- Removed `TaggingInfo` type. Use `TaggingRequest` from `@empathyco/x-types` instead.
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
- move `Request` types to `x-types` package
|
|
36
|
+
([7cc85c1](https://github.com/empathyco/x/commit/7cc85c1d371b604b3188d8cc2076eab5fc9460e4)),
|
|
37
|
+
closes [EX-6066](https://searchbroker.atlassian.net/browse/EX-6066)
|
|
38
|
+
|
|
39
|
+
# Change Log
|
|
40
|
+
|
|
41
|
+
All notable changes to this project will be documented in this file. See
|
|
42
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
43
|
+
|
|
44
|
+
## [3.0.0-alpha.94](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.93...@empathyco/x-components@3.0.0-alpha.94) (2022-05-09)
|
|
45
|
+
|
|
46
|
+
**Note:** Version bump only for package @empathyco/x-components
|
|
47
|
+
|
|
48
|
+
# Change Log
|
|
49
|
+
|
|
50
|
+
All notable changes to this project will be documented in this file. See
|
|
51
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
52
|
+
|
|
6
53
|
## [3.0.0-alpha.93](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.92...@empathyco/x-components@3.0.0-alpha.93) (2022-05-06)
|
|
7
54
|
|
|
8
55
|
**Note:** Version bump only for package @empathyco/x-components
|
|
@@ -9,12 +9,12 @@ Constructs a new instance of the `EmpathyBannerMapper` class
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
constructor(taggingMappers: ResponseMapper<string,
|
|
12
|
+
constructor(taggingMappers: ResponseMapper<string, TrackingRequest>[]);
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
16
16
|
|
|
17
17
|
| Parameter | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
|
-
| taggingMappers | [ResponseMapper](./x-adapter.responsemapper.md)<!-- --><string,
|
|
19
|
+
| taggingMappers | [ResponseMapper](./x-adapter.responsemapper.md)<!-- --><string, [TrackingRequest](./x-adapter.trackingrequest.md)<!-- -->>\[\] | |
|
|
20
20
|
|
|
@@ -9,12 +9,12 @@ Constructs a new instance of the `EmpathyPromotedMapper` class
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
constructor(taggingMappers: ResponseMapper<string,
|
|
12
|
+
constructor(taggingMappers: ResponseMapper<string, TrackingRequest>[]);
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
16
16
|
|
|
17
17
|
| Parameter | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
|
-
| taggingMappers | [ResponseMapper](./x-adapter.responsemapper.md)<!-- --><string,
|
|
19
|
+
| taggingMappers | [ResponseMapper](./x-adapter.responsemapper.md)<!-- --><string, [TrackingRequest](./x-adapter.trackingrequest.md)<!-- -->>\[\] | |
|
|
20
20
|
|
|
@@ -9,12 +9,12 @@ Constructs a new instance of the `EmpathyRedirectionMapper` class
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
constructor(taggingMappers: ResponseMapper<string,
|
|
12
|
+
constructor(taggingMappers: ResponseMapper<string, TrackingRequest>[]);
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
16
16
|
|
|
17
17
|
| Parameter | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
|
-
| taggingMappers | [ResponseMapper](./x-adapter.responsemapper.md)<!-- --><string,
|
|
19
|
+
| taggingMappers | [ResponseMapper](./x-adapter.responsemapper.md)<!-- --><string, [TrackingRequest](./x-adapter.trackingrequest.md)<!-- -->>\[\] | |
|
|
20
20
|
|
|
@@ -9,7 +9,7 @@ Constructs a new instance of the `EmpathyResultMapper` class
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
constructor(config: EmpathyAdapterConfig, taggingMappers: ResponseMapper<string,
|
|
12
|
+
constructor(config: EmpathyAdapterConfig, taggingMappers: ResponseMapper<string, TrackingRequest>[]);
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
@@ -17,5 +17,5 @@ constructor(config: EmpathyAdapterConfig, taggingMappers: ResponseMapper<string,
|
|
|
17
17
|
| Parameter | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
19
|
| config | [EmpathyAdapterConfig](./x-adapter.empathyadapterconfig.md) | |
|
|
20
|
-
| taggingMappers | [ResponseMapper](./x-adapter.responsemapper.md)<!-- --><string,
|
|
20
|
+
| taggingMappers | [ResponseMapper](./x-adapter.responsemapper.md)<!-- --><string, [TrackingRequest](./x-adapter.trackingrequest.md)<!-- -->>\[\] | |
|
|
21
21
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
map(taggingUrl: string, tagging:
|
|
10
|
+
map(taggingUrl: string, tagging: TrackingRequest): TrackingRequest;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
@@ -15,9 +15,9 @@ map(taggingUrl: string, tagging: TaggingInfo): TaggingInfo;
|
|
|
15
15
|
| Parameter | Type | Description |
|
|
16
16
|
| --- | --- | --- |
|
|
17
17
|
| taggingUrl | string | |
|
|
18
|
-
| tagging |
|
|
18
|
+
| tagging | [TrackingRequest](./x-adapter.trackingrequest.md) | |
|
|
19
19
|
|
|
20
20
|
<b>Returns:</b>
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
[TrackingRequest](./x-adapter.trackingrequest.md)
|
|
23
23
|
|
|
@@ -9,9 +9,9 @@ TODO https://searchbroker.atlassian.net/browse/EX-2163
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export declare class EmpathyTaggingMapper implements ResponseMapper<string,
|
|
12
|
+
export declare class EmpathyTaggingMapper implements ResponseMapper<string, TrackingRequest>
|
|
13
13
|
```
|
|
14
|
-
<b>Implements:</b> [ResponseMapper](./x-adapter.responsemapper.md)<!-- --><string,
|
|
14
|
+
<b>Implements:</b> [ResponseMapper](./x-adapter.responsemapper.md)<!-- --><string, [TrackingRequest](./x-adapter.trackingrequest.md)<!-- -->>
|
|
15
15
|
|
|
16
16
|
## Methods
|
|
17
17
|
|
|
@@ -20,7 +20,7 @@ export interface SearchResponse
|
|
|
20
20
|
| [facets?](./x-adapter.searchresponse.facets.md) | Facet\[\] | <i>(Optional)</i> |
|
|
21
21
|
| [partialResults?](./x-adapter.searchresponse.partialresults.md) | PartialResult\[\] | <i>(Optional)</i> |
|
|
22
22
|
| [promoteds?](./x-adapter.searchresponse.promoteds.md) | Promoted\[\] | <i>(Optional)</i> |
|
|
23
|
-
| [queryTagging](./x-adapter.searchresponse.querytagging.md) |
|
|
23
|
+
| [queryTagging](./x-adapter.searchresponse.querytagging.md) | [TrackingRequest](./x-adapter.trackingrequest.md) | |
|
|
24
24
|
| [redirections?](./x-adapter.searchresponse.redirections.md) | Redirection\[\] | <i>(Optional)</i> |
|
|
25
25
|
| [results](./x-adapter.searchresponse.results.md) | Result\[\] | |
|
|
26
26
|
| [spellcheck?](./x-adapter.searchresponse.spellcheck.md) | string | <i>(Optional)</i> |
|
|
@@ -16,5 +16,5 @@ export interface TrackableShowResponse
|
|
|
16
16
|
|
|
17
17
|
| Property | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
|
-
| [showTagging](./x-adapter.trackableshowresponse.showtagging.md) |
|
|
19
|
+
| [showTagging](./x-adapter.trackableshowresponse.showtagging.md) | [TrackingRequest](./x-adapter.trackingrequest.md) | |
|
|
20
20
|
|
|
@@ -9,5 +9,5 @@ Default implementation for [IdentifierResultsActions.fetchAndSaveIdentifierResul
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
fetchAndSaveIdentifierResults: (context: IdentifierResultsActionsContext, request:
|
|
12
|
+
fetchAndSaveIdentifierResults: (context: IdentifierResultsActionsContext, request: IdentifierResultsRequest | null) => void | Promise<void>
|
|
13
13
|
```
|
|
@@ -9,5 +9,5 @@ Requests and stores a new set of identifier results for the [IdentifierResultsSt
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
fetchAndSaveIdentifierResultsWire: import("../..").Wire<import("@empathyco/x-
|
|
12
|
+
fetchAndSaveIdentifierResultsWire: import("../..").Wire<import("@empathyco/x-types").IdentifierResultsRequest | null>
|
|
13
13
|
```
|
|
@@ -9,5 +9,5 @@ Requests and stores the next queries.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
fetchAndSaveNextQueriesWire: import("../..").Wire<import("@empathyco/x-
|
|
12
|
+
fetchAndSaveNextQueriesWire: import("../..").Wire<import("@empathyco/x-types").NextQueriesRequest | null>
|
|
13
13
|
```
|
|
@@ -9,5 +9,5 @@ Default implementation for [PopularSearchesActions.fetchAndSaveSuggestions()](./
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
fetchAndSaveSuggestions: (context: PopularSearchesActionContext, request:
|
|
12
|
+
fetchAndSaveSuggestions: (context: PopularSearchesActionContext, request: PopularSearchesRequest) => void | Promise<void>
|
|
13
13
|
```
|
|
@@ -9,5 +9,5 @@ Default implementation for [QuerySuggestionsActions.fetchAndSaveSuggestions()](.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
fetchAndSaveSuggestions: (context: QuerySuggestionsActionContext, request:
|
|
12
|
+
fetchAndSaveSuggestions: (context: QuerySuggestionsActionContext, request: QuerySuggestionsRequest | null) => void | Promise<void>
|
|
13
13
|
```
|
|
@@ -9,5 +9,5 @@ Default implementation for [RecommendationsActions.fetchAndSaveRecommendations()
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
fetchAndSaveRecommendations: (context: RecommendationsActionContext, request:
|
|
12
|
+
fetchAndSaveRecommendations: (context: RecommendationsActionContext, request: RecommendationsRequest | null) => void | Promise<void>
|
|
13
13
|
```
|
|
@@ -9,5 +9,5 @@ Requests and stores the related tags.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
fetchAndSaveRelatedTagsWire: import("../..").Wire<import("@empathyco/x-
|
|
12
|
+
fetchAndSaveRelatedTagsWire: import("../..").Wire<import("@empathyco/x-types").RelatedTagsRequest | null>
|
|
13
13
|
```
|
|
@@ -9,5 +9,5 @@ Requests and stores a new set of query suggestions for the [QuerySuggestionsStat
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
fetchAndSaveSuggestionsWire: import("../..").Wire<import("@empathyco/x-
|
|
12
|
+
fetchAndSaveSuggestionsWire: import("../..").Wire<import("@empathyco/x-types").QuerySuggestionsRequest | null>
|
|
13
13
|
```
|
|
@@ -9,14 +9,14 @@ Requests a new set of identifier results and stores them in the module.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
fetchAndSaveIdentifierResults(request:
|
|
12
|
+
fetchAndSaveIdentifierResults(request: IdentifierResultsRequest | null): void;
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
16
16
|
|
|
17
17
|
| Parameter | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
|
-
| request |
|
|
19
|
+
| request | IdentifierResultsRequest \| null | |
|
|
20
20
|
|
|
21
21
|
<b>Returns:</b>
|
|
22
22
|
|
package/docs/API-reference/api/x-components.identifierresultsactions.fetchidentifierresults.md
CHANGED
|
@@ -9,14 +9,14 @@ Requests a new set of identifier results for the module query, and returns them.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
fetchIdentifierResults(request:
|
|
12
|
+
fetchIdentifierResults(request: IdentifierResultsRequest | null): Result[];
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
16
16
|
|
|
17
17
|
| Parameter | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
|
-
| request |
|
|
19
|
+
| request | IdentifierResultsRequest \| null | |
|
|
20
20
|
|
|
21
21
|
<b>Returns:</b>
|
|
22
22
|
|
|
@@ -18,5 +18,5 @@ export interface IdentifierResultsGetters
|
|
|
18
18
|
| --- | --- | --- |
|
|
19
19
|
| [identifierDetectionRegexp](./x-components.identifierresultsgetters.identifierdetectionregexp.md) | RegExp | The RegExp to test against the query. |
|
|
20
20
|
| [identifierHighlightRegexp](./x-components.identifierresultsgetters.identifierhighlightregexp.md) | RegExp | The RegExp with the current query from the state adding the separatorChars after each matching character. |
|
|
21
|
-
| [identifierResultsRequest](./x-components.identifierresultsgetters.identifierresultsrequest.md) |
|
|
21
|
+
| [identifierResultsRequest](./x-components.identifierresultsgetters.identifierresultsrequest.md) | IdentifierResultsRequest \| null | The adapter request object for retrieving the identifier suggestions, or null if there is not valid data to create a request. |
|
|
22
22
|
|
package/docs/API-reference/api/x-components.identifierresultsxevents.identifierresultschanged.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## IdentifierResultsXEvents.IdentifierResultsChanged property
|
|
6
6
|
|
|
7
|
-
Identifier results have been changed.
|
|
7
|
+
Identifier results have been changed. Payload: The new [identifier results](./x-types.result.md)<!-- -->.
|
|
8
8
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
## IdentifierResultsXEvents.IdentifierResultsRequestChanged property
|
|
6
6
|
|
|
7
|
-
Any property of the identifier results request has changed.
|
|
7
|
+
Any property of the identifier results request has changed. Payload: The new [identifier result request](./x-types.identifierresultsrequest.md) or `null` if there is not enough data in the state nto conform a valid request.
|
|
8
8
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
IdentifierResultsRequestChanged:
|
|
12
|
+
IdentifierResultsRequestChanged: IdentifierResultsRequest | null;
|
|
13
13
|
```
|
|
@@ -16,7 +16,7 @@ export interface IdentifierResultsXEvents
|
|
|
16
16
|
|
|
17
17
|
| Property | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
|
-
| [IdentifierResultsChanged](./x-components.identifierresultsxevents.identifierresultschanged.md) | Result\[\] | Identifier results have been changed.
|
|
20
|
-
| [IdentifierResultsRequestChanged](./x-components.identifierresultsxevents.identifierresultsrequestchanged.md) |
|
|
21
|
-
| [UserClickedAIdentifierResult](./x-components.identifierresultsxevents.userclickedaidentifierresult.md) | Result | A identifier result has been clicked.
|
|
19
|
+
| [IdentifierResultsChanged](./x-components.identifierresultsxevents.identifierresultschanged.md) | Result\[\] | Identifier results have been changed. Payload: The new [identifier results](./x-types.result.md)<!-- -->. |
|
|
20
|
+
| [IdentifierResultsRequestChanged](./x-components.identifierresultsxevents.identifierresultsrequestchanged.md) | IdentifierResultsRequest \| null | Any property of the identifier results request has changed. Payload: The new [identifier result request](./x-types.identifierresultsrequest.md) or <code>null</code> if there is not enough data in the state nto conform a valid request. |
|
|
21
|
+
| [UserClickedAIdentifierResult](./x-components.identifierresultsxevents.userclickedaidentifierresult.md) | Result | A identifier result has been clicked. Payload: The [result](./x-types.result.md)<!-- -->. |
|
|
22
22
|
|
package/docs/API-reference/api/x-components.identifierresultsxevents.userclickedaidentifierresult.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## IdentifierResultsXEvents.UserClickedAIdentifierResult property
|
|
6
6
|
|
|
7
|
-
A identifier result has been clicked.
|
|
7
|
+
A identifier result has been clicked. Payload: The [result](./x-types.result.md)<!-- -->.
|
|
8
8
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
@@ -16,8 +16,8 @@ export interface NextQueriesXEvents
|
|
|
16
16
|
|
|
17
17
|
| Property | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
|
-
| [NextQueriesChanged](./x-components.nextqueriesxevents.nextquerieschanged.md) | NextQuery\[\] | Next Queries have been changed.
|
|
20
|
-
| [NextQueriesDisplayed](./x-components.nextqueriesxevents.nextqueriesdisplayed.md) | NextQuery\[\] | The current next queries have been displayed to the user.
|
|
21
|
-
| [NextQueriesRequestChanged](./x-components.nextqueriesxevents.nextqueriesrequestchanged.md) | NextQueriesRequest \| null | Any property of the next-queries request has changed
|
|
22
|
-
| [UserSelectedANextQuery](./x-components.nextqueriesxevents.userselectedanextquery.md) | NextQuery | The user has selected a next-query
|
|
19
|
+
| [NextQueriesChanged](./x-components.nextqueriesxevents.nextquerieschanged.md) | NextQuery\[\] | Next Queries have been changed. Payload: The new [next queries](./x-types.nextquery.md)<!-- -->. |
|
|
20
|
+
| [NextQueriesDisplayed](./x-components.nextqueriesxevents.nextqueriesdisplayed.md) | NextQuery\[\] | The current next queries have been displayed to the user. Payload: The displayed next queries. |
|
|
21
|
+
| [NextQueriesRequestChanged](./x-components.nextqueriesxevents.nextqueriesrequestchanged.md) | NextQueriesRequest \| null | Any property of the next-queries request has changed Payload: The new next-queries request or <code>null</code> if there is not enough data in the state to conform a valid request. |
|
|
22
|
+
| [UserSelectedANextQuery](./x-components.nextqueriesxevents.userselectedanextquery.md) | NextQuery | The user has selected a next-query Payload: The next query that has been selected by the user. |
|
|
23
23
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## NextQueriesXEvents.NextQueriesChanged property
|
|
6
6
|
|
|
7
|
-
Next Queries have been changed.
|
|
7
|
+
Next Queries have been changed. Payload: The new [next queries](./x-types.nextquery.md)<!-- -->.
|
|
8
8
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## NextQueriesXEvents.NextQueriesDisplayed property
|
|
6
6
|
|
|
7
|
-
The current next queries have been displayed to the user.
|
|
7
|
+
The current next queries have been displayed to the user. Payload: The displayed next queries.
|
|
8
8
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## NextQueriesXEvents.NextQueriesRequestChanged property
|
|
6
6
|
|
|
7
|
-
Any property of the next-queries request has changed
|
|
7
|
+
Any property of the next-queries request has changed Payload: The new next-queries request or `null` if there is not enough data in the state to conform a valid request.
|
|
8
8
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## NextQueriesXEvents.UserSelectedANextQuery property
|
|
6
6
|
|
|
7
|
-
The user has selected a next-query
|
|
7
|
+
The user has selected a next-query Payload: The next query that has been selected by the user.
|
|
8
8
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
package/docs/API-reference/api/x-components.popularsearchesactions.fetchandsavesuggestions.md
CHANGED
|
@@ -9,14 +9,14 @@ Fetches a new set of suggestions and stores them in the module state.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
fetchAndSaveSuggestions(request:
|
|
12
|
+
fetchAndSaveSuggestions(request: PopularSearchesRequest): void;
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
16
16
|
|
|
17
17
|
| Parameter | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
|
-
| request |
|
|
19
|
+
| request | PopularSearchesRequest | |
|
|
20
20
|
|
|
21
21
|
<b>Returns:</b>
|
|
22
22
|
|
|
@@ -9,14 +9,14 @@ Fetches a new set of suggestions and returns them.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
fetchSuggestions(request:
|
|
12
|
+
fetchSuggestions(request: PopularSearchesRequest): Suggestion[];
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
16
16
|
|
|
17
17
|
| Parameter | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
|
-
| request |
|
|
19
|
+
| request | PopularSearchesRequest | |
|
|
20
20
|
|
|
21
21
|
<b>Returns:</b>
|
|
22
22
|
|
|
@@ -17,5 +17,5 @@ export interface PopularSearchesGetters
|
|
|
17
17
|
| Property | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
19
|
| [popularSearches](./x-components.popularsearchesgetters.popularsearches.md) | Suggestion\[\] | List of the Popular Searches. |
|
|
20
|
-
| [request](./x-components.popularsearchesgetters.request.md) |
|
|
20
|
+
| [request](./x-components.popularsearchesgetters.request.md) | PopularSearchesRequest | The request object to retrieve popular searches. |
|
|
21
21
|
|
|
@@ -16,7 +16,7 @@ export interface PopularSearchesXEvents
|
|
|
16
16
|
|
|
17
17
|
| Property | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
|
-
| [PopularSearchDisplayed](./x-components.popularsearchesxevents.popularsearchdisplayed.md) | Suggestion\[\] | The popular searches have been displayed.
|
|
20
|
-
| [PopularSearchesRequestChanged](./x-components.popularsearchesxevents.popularsearchesrequestchanged.md) |
|
|
21
|
-
| [UserSelectedAPopularSearch](./x-components.popularsearchesxevents.userselectedapopularsearch.md) | Suggestion | User selected a popular search
|
|
19
|
+
| [PopularSearchDisplayed](./x-components.popularsearchesxevents.popularsearchdisplayed.md) | Suggestion\[\] | The popular searches have been displayed. Payload: The displayed [popular searches](./x-types.suggestion.md)<!-- -->. |
|
|
20
|
+
| [PopularSearchesRequestChanged](./x-components.popularsearchesxevents.popularsearchesrequestchanged.md) | PopularSearchesRequest | Any property of the popular-searches request has changed Payload: The new popular-search request. |
|
|
21
|
+
| [UserSelectedAPopularSearch](./x-components.popularsearchesxevents.userselectedapopularsearch.md) | Suggestion | User selected a popular search Payload: The popular search that the user selected. |
|
|
22
22
|
|
package/docs/API-reference/api/x-components.popularsearchesxevents.popularsearchdisplayed.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## PopularSearchesXEvents.PopularSearchDisplayed property
|
|
6
6
|
|
|
7
|
-
The popular searches have been displayed.
|
|
7
|
+
The popular searches have been displayed. Payload: The displayed [popular searches](./x-types.suggestion.md)<!-- -->.
|
|
8
8
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
package/docs/API-reference/api/x-components.popularsearchesxevents.popularsearchesrequestchanged.md
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
## PopularSearchesXEvents.PopularSearchesRequestChanged property
|
|
6
6
|
|
|
7
|
-
Any property of the popular-searches request has changed
|
|
7
|
+
Any property of the popular-searches request has changed Payload: The new popular-search request.
|
|
8
8
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
PopularSearchesRequestChanged:
|
|
12
|
+
PopularSearchesRequestChanged: PopularSearchesRequest;
|
|
13
13
|
```
|
package/docs/API-reference/api/x-components.querysuggestionsactions.fetchandsavesuggestions.md
CHANGED
|
@@ -9,14 +9,14 @@ Requests and saves to the state a list of suggestions.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
fetchAndSaveSuggestions(request:
|
|
12
|
+
fetchAndSaveSuggestions(request: QuerySuggestionsRequest | null): void;
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
16
16
|
|
|
17
17
|
| Parameter | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
|
-
| request |
|
|
19
|
+
| request | QuerySuggestionsRequest \| null | |
|
|
20
20
|
|
|
21
21
|
<b>Returns:</b>
|
|
22
22
|
|
|
@@ -9,14 +9,14 @@ Requests and returns a list of suggestions based on the module state.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
fetchSuggestions(request:
|
|
12
|
+
fetchSuggestions(request: QuerySuggestionsRequest | null): Suggestion[];
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
16
16
|
|
|
17
17
|
| Parameter | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
|
-
| request |
|
|
19
|
+
| request | QuerySuggestionsRequest \| null | |
|
|
20
20
|
|
|
21
21
|
<b>Returns:</b>
|
|
22
22
|
|
|
@@ -18,5 +18,5 @@ export interface QuerySuggestionsGetters
|
|
|
18
18
|
| --- | --- | --- |
|
|
19
19
|
| [normalizedQuery](./x-components.querysuggestionsgetters.normalizedquery.md) | string | The normalized module's query. |
|
|
20
20
|
| [querySuggestions](./x-components.querysuggestionsgetters.querysuggestions.md) | Suggestion\[\] | The full list of queries suggestions related to the query search. |
|
|
21
|
-
| [request](./x-components.querysuggestionsgetters.request.md) |
|
|
21
|
+
| [request](./x-components.querysuggestionsgetters.request.md) | QuerySuggestionsRequest \| null | The adapter request object for retrieving the query suggestions, or null if there is not valid data to create a request. |
|
|
22
22
|
|
|
@@ -16,8 +16,8 @@ export interface QuerySuggestionsXEvents
|
|
|
16
16
|
|
|
17
17
|
| Property | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
|
-
| [QuerySuggestionsChanged](./x-components.querysuggestionsxevents.querysuggestionschanged.md) | Suggestion\[\] | Query suggestions have been changed.
|
|
20
|
-
| [QuerySuggestionsDisplayed](./x-components.querysuggestionsxevents.querysuggestionsdisplayed.md) | Suggestion\[\] | The query suggestions have been displayed.
|
|
21
|
-
| [QuerySuggestionsRequestChanged](./x-components.querysuggestionsxevents.querysuggestionsrequestchanged.md) |
|
|
22
|
-
| [UserSelectedAQuerySuggestion](./x-components.querysuggestionsxevents.userselectedaquerysuggestion.md) | Suggestion | User selected a query suggestion
|
|
19
|
+
| [QuerySuggestionsChanged](./x-components.querysuggestionsxevents.querysuggestionschanged.md) | Suggestion\[\] | Query suggestions have been changed. Payload: The new [query suggestions](./x-types.suggestion.md)<!-- -->. |
|
|
20
|
+
| [QuerySuggestionsDisplayed](./x-components.querysuggestionsxevents.querysuggestionsdisplayed.md) | Suggestion\[\] | The query suggestions have been displayed. Payload: The displayed [query suggestions](./x-types.suggestion.md)<!-- -->. |
|
|
21
|
+
| [QuerySuggestionsRequestChanged](./x-components.querysuggestionsxevents.querysuggestionsrequestchanged.md) | QuerySuggestionsRequest \| null | Any property of the query-suggestions request has changed. Payload: The new query suggestions request or <code>null</code> if there is not enough data in the state to conform a valid request. |
|
|
22
|
+
| [UserSelectedAQuerySuggestion](./x-components.querysuggestionsxevents.userselectedaquerysuggestion.md) | Suggestion | User selected a query suggestion Payload: The [query suggestion](./x-types.suggestion.md) that the user selected. |
|
|
23
23
|
|
package/docs/API-reference/api/x-components.querysuggestionsxevents.querysuggestionschanged.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## QuerySuggestionsXEvents.QuerySuggestionsChanged property
|
|
6
6
|
|
|
7
|
-
Query suggestions have been changed.
|
|
7
|
+
Query suggestions have been changed. Payload: The new [query suggestions](./x-types.suggestion.md)<!-- -->.
|
|
8
8
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
package/docs/API-reference/api/x-components.querysuggestionsxevents.querysuggestionsdisplayed.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## QuerySuggestionsXEvents.QuerySuggestionsDisplayed property
|
|
6
6
|
|
|
7
|
-
The query suggestions have been displayed.
|
|
7
|
+
The query suggestions have been displayed. Payload: The displayed [query suggestions](./x-types.suggestion.md)<!-- -->.
|
|
8
8
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
## QuerySuggestionsXEvents.QuerySuggestionsRequestChanged property
|
|
6
6
|
|
|
7
|
-
Any property of the query-suggestions request has changed.
|
|
7
|
+
Any property of the query-suggestions request has changed. Payload: The new query suggestions request or `null` if there is not enough data in the state to conform a valid request.
|
|
8
8
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
QuerySuggestionsRequestChanged:
|
|
12
|
+
QuerySuggestionsRequestChanged: QuerySuggestionsRequest | null;
|
|
13
13
|
```
|