@empathyco/x-components 7.4.0 → 7.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -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.baseaddtocart.md +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.hierarchicalfilter.md +1 -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 +601 -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.setresults.md +13 -0
- package/docs/API-reference/api/x-components.simplefilter.md +1 -0
- package/docs/API-reference/api/x-components.snippetcallbacks.md +4 -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.vendoractions.md +11 -0
- package/docs/API-reference/api/x-components.vendorgetters.md +11 -0
- package/docs/API-reference/api/x-components.vendormutations.md +54 -0
- package/docs/API-reference/api/x-components.vendormutations.setresults.md +11 -0
- package/docs/API-reference/api/x-components.vendorresult.md +57 -0
- package/docs/API-reference/api/x-components.vendorresult.position.md +11 -0
- package/docs/API-reference/api/x-components.vendorresultslist.md +31 -0
- package/docs/API-reference/api/x-components.vendorstate.md +54 -0
- package/docs/API-reference/api/x-components.vendorstate.results.md +11 -0
- package/docs/API-reference/api/x-components.vendorxevents.md +58 -0
- package/docs/API-reference/api/x-components.vendorxevents.vendorresultschanged.md +13 -0
- package/docs/API-reference/api/x-components.vendorxmodule.md +13 -0
- package/docs/API-reference/api/x-components.vendorxstoremodule.md +11 -0
- package/docs/API-reference/api/x-components.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 +2 -2
- package/docs/API-reference/api/x-components.xmodulestree.md +18 -1
- package/docs/API-reference/api/x-components.xmodulestree.vendor.md +11 -0
- package/docs/API-reference/api/x-types.result.md +2 -2
- package/docs/API-reference/components/vendor/x-components.vendor-results-list.md +21 -0
- package/js/components/result/base-result-add-to-cart.vue.js.map +1 -1
- package/js/components/result/base-result-add-to-cart.vue2.js +1 -1
- package/js/components/result/base-result-add-to-cart.vue2.js.map +1 -1
- package/js/components/result/base-result-link.vue.js +12 -8
- package/js/components/result/base-result-link.vue.js.map +1 -1
- package/js/components/result/base-result-link.vue2.js.map +1 -1
- package/js/index.js +20 -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/js/x-modules/vendor/components/vendor-results-list.vue.js +81 -0
- package/js/x-modules/vendor/components/vendor-results-list.vue.js.map +1 -0
- package/js/x-modules/vendor/components/vendor-results-list.vue2.js +6 -0
- package/js/x-modules/vendor/components/vendor-results-list.vue2.js.map +1 -0
- package/js/x-modules/vendor/store/emitters.js +13 -0
- package/js/x-modules/vendor/store/emitters.js.map +1 -0
- package/js/x-modules/vendor/store/module.js +15 -0
- package/js/x-modules/vendor/store/module.js.map +1 -0
- package/js/x-modules/vendor/wiring.js +42 -0
- package/js/x-modules/vendor/wiring.js.map +1 -0
- package/js/x-modules/vendor/x-module.js +21 -0
- package/js/x-modules/vendor/x-module.js.map +1 -0
- package/package.json +4 -4
- package/report/x-components.api.json +5304 -752
- package/report/x-components.api.md +456 -11
- package/report/x-types.api.json +1 -1
- package/types/src/components/result/base-result-add-to-cart.vue.d.ts +1 -2
- package/types/src/components/result/base-result-add-to-cart.vue.d.ts.map +1 -1
- package/types/src/components/snippet-callbacks.vue.d.ts +4 -3
- package/types/src/components/snippet-callbacks.vue.d.ts.map +1 -1
- package/types/src/index.d.ts +2 -0
- package/types/src/index.d.ts.map +1 -1
- package/types/src/wiring/events.types.d.ts +2 -1
- package/types/src/wiring/events.types.d.ts.map +1 -1
- package/types/src/x-modules/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
- package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +1 -0
- package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +1 -1
- package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts +1 -0
- package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
- package/types/src/x-modules/vendor/components/index.d.ts +2 -0
- package/types/src/x-modules/vendor/components/index.d.ts.map +1 -0
- package/types/src/x-modules/vendor/components/vendor-results-list.vue.d.ts +30 -0
- package/types/src/x-modules/vendor/components/vendor-results-list.vue.d.ts.map +1 -0
- package/types/src/x-modules/vendor/events.types.d.ts +15 -0
- package/types/src/x-modules/vendor/events.types.d.ts.map +1 -0
- package/types/src/x-modules/vendor/index.d.ts +7 -0
- package/types/src/x-modules/vendor/index.d.ts.map +1 -0
- package/types/src/x-modules/vendor/store/emitters.d.ts +7 -0
- package/types/src/x-modules/vendor/store/emitters.d.ts.map +1 -0
- package/types/src/x-modules/vendor/store/index.d.ts +4 -0
- package/types/src/x-modules/vendor/store/index.d.ts.map +1 -0
- package/types/src/x-modules/vendor/store/module.d.ts +3 -0
- package/types/src/x-modules/vendor/store/module.d.ts.map +1 -0
- package/types/src/x-modules/vendor/store/types.d.ts +14 -0
- package/types/src/x-modules/vendor/store/types.d.ts.map +1 -0
- package/types/src/x-modules/vendor/types.d.ts +8 -0
- package/types/src/x-modules/vendor/types.d.ts.map +1 -0
- package/types/src/x-modules/vendor/wiring.d.ts +20 -0
- package/types/src/x-modules/vendor/wiring.d.ts.map +1 -0
- package/types/src/x-modules/vendor/x-module.d.ts +16 -0
- package/types/src/x-modules/vendor/x-module.d.ts.map +1 -0
- package/types/src/x-modules/x-modules.types.d.ts +2 -0
- package/types/src/x-modules/x-modules.types.d.ts.map +1 -1
- package/vendor/index.d.ts +1 -0
- package/vendor/index.js +5 -0
|
@@ -575,7 +575,7 @@ type: PropType<Result>;
|
|
|
575
575
|
required: true;
|
|
576
576
|
};
|
|
577
577
|
}>, {
|
|
578
|
-
events:
|
|
578
|
+
events: {};
|
|
579
579
|
metadata: Omit<WireMetadata, "moduleName" | "origin" | "location">;
|
|
580
580
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
581
581
|
result: {
|
|
@@ -1812,9 +1812,261 @@ export class BaseXPriorityQueueNode<SomeRecord extends Dictionary, SomeData exte
|
|
|
1812
1812
|
toString(): string;
|
|
1813
1813
|
}
|
|
1814
1814
|
|
|
1815
|
+
// @public
|
|
1816
|
+
export type BrowseActionContext = XActionContext<BrowseState, BrowseGetters, BrowseMutations, BrowseActions>;
|
|
1817
|
+
|
|
1818
|
+
// @public
|
|
1819
|
+
export interface BrowseActions {
|
|
1820
|
+
cancelFetchAndSaveBrowseResponse: () => void;
|
|
1821
|
+
fetchAndSaveBrowseResponse: (request: InternalBrowseRequest | null) => void;
|
|
1822
|
+
fetchAndSaveResultsEnrichment: (results: Result[]) => void;
|
|
1823
|
+
// Warning: (ae-forgotten-export) The symbol "BrowseRequest" needs to be exported by the entry point index.d.ts
|
|
1824
|
+
// Warning: (ae-forgotten-export) The symbol "BrowseResponse" needs to be exported by the entry point index.d.ts
|
|
1825
|
+
fetchBrowseResponse: (request: BrowseRequest) => BrowseResponse;
|
|
1826
|
+
increasePageAppendingResults: () => void;
|
|
1827
|
+
resetRequestOnRefinement: (watchedRequest: WatchedInternalBrowseRequest) => void;
|
|
1828
|
+
saveBrowseResponse: (response: BrowseResponse) => void;
|
|
1829
|
+
saveOrigin: (originInit: QueryOriginInit) => void;
|
|
1830
|
+
setUrlParams: (urlParams: UrlParams) => void;
|
|
1831
|
+
}
|
|
1832
|
+
|
|
1833
|
+
// @public
|
|
1834
|
+
export interface BrowseConfig {
|
|
1835
|
+
// (undocumented)
|
|
1836
|
+
pageMode: PageMode;
|
|
1837
|
+
pageSize: number;
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1840
|
+
// @internal
|
|
1841
|
+
export const browseEmitters: {
|
|
1842
|
+
FacetsChanged: {
|
|
1843
|
+
selector: (state: BrowseState) => Facet[];
|
|
1844
|
+
filter(newValue: Facet[], oldValue: Facet[]): boolean;
|
|
1845
|
+
};
|
|
1846
|
+
PageChanged: (state: BrowseState) => number;
|
|
1847
|
+
ResultsChanged: (state: BrowseState) => Result[];
|
|
1848
|
+
BrowseRequestChanged: (_: BrowseState, getters: Returns<GettersTree<BrowseState, BrowseGetters>>) => InternalBrowseRequest | null;
|
|
1849
|
+
BrowseRequestUpdated: (_: BrowseState, getters: Returns<GettersTree<BrowseState, BrowseGetters>>) => InternalBrowseRequest | null;
|
|
1850
|
+
BrowseResponseChanged: {
|
|
1851
|
+
selector: (state: BrowseState, getters: Returns<GettersTree<BrowseState, BrowseGetters>>) => {
|
|
1852
|
+
request: InternalBrowseRequest;
|
|
1853
|
+
status: RequestStatus;
|
|
1854
|
+
banners: Banner_2[];
|
|
1855
|
+
facets: Facet[];
|
|
1856
|
+
promoteds: Promoted_2[];
|
|
1857
|
+
browseTagging: TaggingRequest;
|
|
1858
|
+
displayBrowseTagging: TaggingRequest;
|
|
1859
|
+
results: Result[];
|
|
1860
|
+
totalResults: number;
|
|
1861
|
+
};
|
|
1862
|
+
filter: (newValue: InternalBrowseResponse, oldValue: InternalBrowseResponse) => boolean;
|
|
1863
|
+
};
|
|
1864
|
+
BrowseTaggingChanged: {
|
|
1865
|
+
selector: (state: BrowseState) => TaggingRequest;
|
|
1866
|
+
filter: (input: TaggingRequest) => boolean;
|
|
1867
|
+
};
|
|
1868
|
+
SortChanged: (state: BrowseState) => string;
|
|
1869
|
+
};
|
|
1870
|
+
|
|
1871
|
+
// @public
|
|
1872
|
+
export interface BrowseGetters {
|
|
1873
|
+
request: InternalBrowseRequest | null;
|
|
1874
|
+
}
|
|
1875
|
+
|
|
1876
|
+
// @public
|
|
1877
|
+
export interface BrowseMutations extends StatusMutations, ConfigMutations<BrowseState> {
|
|
1878
|
+
appendResults: (results: Result[]) => void;
|
|
1879
|
+
resetState: () => void;
|
|
1880
|
+
resetStateForReload: () => void;
|
|
1881
|
+
setBanners: (banners: Banner_2[]) => void;
|
|
1882
|
+
setBrowseTagging: (browseTagging: TaggingRequest) => void;
|
|
1883
|
+
setDisplayBrowseTagging: (displayBrowseTagging: TaggingRequest) => void;
|
|
1884
|
+
setFacets: (facets: Facet[]) => void;
|
|
1885
|
+
setFromNoResultsWithFilters: (fromNoResultsWithFilters: boolean) => void;
|
|
1886
|
+
setIsAppendResults: (isAppendResults: boolean) => void;
|
|
1887
|
+
setIsNoResults: (isNoResults: boolean) => void;
|
|
1888
|
+
setOrigin: (origin: QueryOrigin | undefined | null) => void;
|
|
1889
|
+
setPage: (page: number) => void;
|
|
1890
|
+
setParams: (params: Dictionary<unknown>) => void;
|
|
1891
|
+
setPromoteds: (promoteds: Promoted_2[]) => void;
|
|
1892
|
+
setResults: (results: Result[]) => void;
|
|
1893
|
+
setSelectedCategory: (selectedCategory: BrowsableRequest) => void;
|
|
1894
|
+
setSelectedFilters: (selectedFilters: Filter[]) => void;
|
|
1895
|
+
// Warning: (ae-forgotten-export) The symbol "Sort" needs to be exported by the entry point index.d.ts
|
|
1896
|
+
setSort: (sort: Sort) => void;
|
|
1897
|
+
// Warning: (ae-forgotten-export) The symbol "Stats" needs to be exported by the entry point index.d.ts
|
|
1898
|
+
setStats: (stats: Stats) => void;
|
|
1899
|
+
setTotalResults: (totalResults: number) => void;
|
|
1900
|
+
updateResult: (result: Partial<Result> & Pick<Result, 'id'>) => void;
|
|
1901
|
+
updateResultsFromEnrichment: (enrichmentResults: any[]) => void;
|
|
1902
|
+
}
|
|
1903
|
+
|
|
1904
|
+
// @public
|
|
1905
|
+
export const browseRequest: BrowseXStoreModule['getters']['request'];
|
|
1906
|
+
|
|
1907
|
+
// @public
|
|
1908
|
+
export const BrowseResultsList: DefineComponent<ExtractPropTypes< {
|
|
1909
|
+
animation: {
|
|
1910
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
1911
|
+
default: string;
|
|
1912
|
+
};
|
|
1913
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
1914
|
+
[key: string]: any;
|
|
1915
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1916
|
+
animation: {
|
|
1917
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
1918
|
+
default: string;
|
|
1919
|
+
};
|
|
1920
|
+
}>> & Readonly<{}>, {
|
|
1921
|
+
animation: string | Function | Record<string, any>;
|
|
1922
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1923
|
+
|
|
1924
|
+
// @public
|
|
1925
|
+
export const BrowseSortPickerList: DefineComponent<ExtractPropTypes< {
|
|
1926
|
+
animation: {
|
|
1927
|
+
type: null;
|
|
1928
|
+
required: false;
|
|
1929
|
+
default: string;
|
|
1930
|
+
};
|
|
1931
|
+
items: {
|
|
1932
|
+
type: ArrayConstructor;
|
|
1933
|
+
required: true;
|
|
1934
|
+
};
|
|
1935
|
+
buttonClass: {
|
|
1936
|
+
type: StringConstructor;
|
|
1937
|
+
required: true;
|
|
1938
|
+
};
|
|
1939
|
+
}>, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
|
|
1940
|
+
[key: string]: any;
|
|
1941
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1942
|
+
animation: {
|
|
1943
|
+
type: null;
|
|
1944
|
+
required: false;
|
|
1945
|
+
default: string;
|
|
1946
|
+
};
|
|
1947
|
+
items: {
|
|
1948
|
+
type: ArrayConstructor;
|
|
1949
|
+
required: true;
|
|
1950
|
+
};
|
|
1951
|
+
buttonClass: {
|
|
1952
|
+
type: StringConstructor;
|
|
1953
|
+
required: true;
|
|
1954
|
+
};
|
|
1955
|
+
}>> & Readonly<{}>, {
|
|
1956
|
+
animation: any;
|
|
1957
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1958
|
+
|
|
1959
|
+
// @public
|
|
1960
|
+
export interface BrowseState extends StatusState {
|
|
1961
|
+
banners: Banner_2[];
|
|
1962
|
+
browseTagging: TaggingRequest;
|
|
1963
|
+
config: BrowseConfig;
|
|
1964
|
+
displayBrowseTagging: TaggingRequest;
|
|
1965
|
+
facets: Facet[];
|
|
1966
|
+
fromNoResultsWithFilters: boolean;
|
|
1967
|
+
isAppendResults: boolean;
|
|
1968
|
+
isNoResults: boolean;
|
|
1969
|
+
origin: QueryOrigin | null;
|
|
1970
|
+
page: number;
|
|
1971
|
+
params: Dictionary<unknown>;
|
|
1972
|
+
promoteds: Promoted_2[];
|
|
1973
|
+
results: Result[];
|
|
1974
|
+
selectedCategory: BrowsableRequest;
|
|
1975
|
+
selectedFilters: Dictionary<Filter[]>;
|
|
1976
|
+
sort: Sort;
|
|
1977
|
+
stats: Stats;
|
|
1978
|
+
totalResults: number;
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1981
|
+
// @internal
|
|
1982
|
+
export const browseWiring: {
|
|
1983
|
+
ParamsLoadedFromUrl: {
|
|
1984
|
+
setBrowseUrlParamsWire: Wire<UrlParams>;
|
|
1985
|
+
saveBrowseOriginWire: AnyWire;
|
|
1986
|
+
};
|
|
1987
|
+
UserClickedABrowseSort: {
|
|
1988
|
+
setBrowseSort: Wire<string>;
|
|
1989
|
+
};
|
|
1990
|
+
UserReachedResultsListEnd: {
|
|
1991
|
+
increaseBrowsePageAppendingResultsWire: AnyWire;
|
|
1992
|
+
};
|
|
1993
|
+
BrowseRequestUpdated: {
|
|
1994
|
+
resetBrowseStateIfNoRequestWire: Wire<InternalBrowseRequest | null>;
|
|
1995
|
+
fetchAndSaveBrowseResponseWire: Wire<InternalBrowseRequest | null>;
|
|
1996
|
+
};
|
|
1997
|
+
BrowseRequestChanged: {
|
|
1998
|
+
resetBrowseRequestOnRefinementWire: AnyWire;
|
|
1999
|
+
};
|
|
2000
|
+
SelectedFiltersForRequestChanged: {
|
|
2001
|
+
setBrowseSelectedFilters: Wire<Filter[]>;
|
|
2002
|
+
};
|
|
2003
|
+
ResultsChanged: {
|
|
2004
|
+
resetBrowseAppending: AnyWire;
|
|
2005
|
+
fetchAndSaveBrowseResultsEnrichmentWire: Wire<Result[]>;
|
|
2006
|
+
};
|
|
2007
|
+
ReloadBrowseRequested: {
|
|
2008
|
+
resetBrowseStateForReloadWire: AnyWire;
|
|
2009
|
+
};
|
|
2010
|
+
SelectedSortProvided: {
|
|
2011
|
+
setBrowseSort: Wire<string>;
|
|
2012
|
+
};
|
|
2013
|
+
ExtraParamsChanged: {
|
|
2014
|
+
setBrowseExtraParams: Wire<Dictionary<unknown>>;
|
|
2015
|
+
};
|
|
2016
|
+
UserClickedCloseX: {
|
|
2017
|
+
clearBrowseQuery: AnyWire;
|
|
2018
|
+
resetBrowseStateForReloadWire: AnyWire;
|
|
2019
|
+
cancelFetchAndSaveBrowseResponseWire: AnyWire;
|
|
2020
|
+
};
|
|
2021
|
+
UserClickedOpenX: {
|
|
2022
|
+
clearBrowseQuery: AnyWire;
|
|
2023
|
+
resetBrowseStateForReloadWire: AnyWire;
|
|
2024
|
+
cancelFetchAndSaveBrowseResponseWire: AnyWire;
|
|
2025
|
+
};
|
|
2026
|
+
UserClickedOutOfMainModal: {
|
|
2027
|
+
clearBrowseQuery: AnyWire;
|
|
2028
|
+
};
|
|
2029
|
+
UserSelectedAPage: {
|
|
2030
|
+
setBrowsePage: Wire<number>;
|
|
2031
|
+
resetBrowseAppending: AnyWire;
|
|
2032
|
+
};
|
|
2033
|
+
UserBrowsedToCategory: {
|
|
2034
|
+
setBrowseCategory: Wire<BrowsableRequest>;
|
|
2035
|
+
};
|
|
2036
|
+
};
|
|
2037
|
+
|
|
2038
|
+
// @public
|
|
2039
|
+
export interface BrowseXEvents {
|
|
2040
|
+
BrowseRequestChanged: InternalBrowseRequest | null;
|
|
2041
|
+
BrowseRequestUpdated: InternalBrowseRequest | null;
|
|
2042
|
+
BrowseResponseChanged: InternalBrowseResponse;
|
|
2043
|
+
BrowseTaggingChanged: TaggingRequest;
|
|
2044
|
+
SelectedBrowseSortProvided: Sort;
|
|
2045
|
+
UserBrowsedToCategory: BrowsableRequest;
|
|
2046
|
+
UserClickedABrowseSort: Sort;
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
// @public
|
|
2050
|
+
export type BrowseXModule = XModule<BrowseXStoreModule>;
|
|
2051
|
+
|
|
2052
|
+
// @public
|
|
2053
|
+
export const browseXModule: BrowseXModule;
|
|
2054
|
+
|
|
2055
|
+
// @public
|
|
2056
|
+
export type BrowseXStoreModule = XStoreModule<BrowseState, BrowseGetters, BrowseMutations, BrowseActions>;
|
|
2057
|
+
|
|
2058
|
+
// @internal
|
|
2059
|
+
export const browseXStoreModule: BrowseXStoreModule;
|
|
2060
|
+
|
|
1815
2061
|
// @public
|
|
1816
2062
|
export const bus: XPriorityBus<XEventsTypes, WireMetadata>;
|
|
1817
2063
|
|
|
2064
|
+
// @public
|
|
2065
|
+
export const cancelFetchAndSaveBrowseResponse: () => void;
|
|
2066
|
+
|
|
2067
|
+
// @public
|
|
2068
|
+
export const cancelFetchAndSaveBrowseResponseWire: AnyWire;
|
|
2069
|
+
|
|
1818
2070
|
// @public
|
|
1819
2071
|
export const cancelFetchAndSaveControls: () => void;
|
|
1820
2072
|
|
|
@@ -1915,6 +2167,9 @@ export { ChevronUpIcon }
|
|
|
1915
2167
|
// @internal
|
|
1916
2168
|
export function cleanGettersProxyCache(): void;
|
|
1917
2169
|
|
|
2170
|
+
// @public
|
|
2171
|
+
export const clearBrowseQuery: AnyWire;
|
|
2172
|
+
|
|
1918
2173
|
// @public
|
|
1919
2174
|
export const ClearFilters: DefineComponent<ExtractPropTypes< {
|
|
1920
2175
|
facetsIds: PropType<Array<Facet["id"]>>;
|
|
@@ -3167,6 +3422,18 @@ export const fetchAndSaveAiSuggestions: AiXStoreModule['actions']['fetchAndSaveA
|
|
|
3167
3422
|
// @public
|
|
3168
3423
|
export const fetchAndSaveAiSuggestionsSearch: AiXStoreModule['actions']['fetchAndSaveAiSuggestionsSearch'];
|
|
3169
3424
|
|
|
3425
|
+
// @public
|
|
3426
|
+
export const fetchAndSaveBrowseResponse: (context: BrowseActionContext, request: InternalBrowseRequest | null) => void | Promise<void>;
|
|
3427
|
+
|
|
3428
|
+
// @public
|
|
3429
|
+
export const fetchAndSaveBrowseResponseWire: Wire<InternalBrowseRequest | null>;
|
|
3430
|
+
|
|
3431
|
+
// @public
|
|
3432
|
+
export const fetchAndSaveBrowseResultsEnrichment: (context: BrowseActionContext, request: Result[]) => void | Promise<void>;
|
|
3433
|
+
|
|
3434
|
+
// @public
|
|
3435
|
+
export const fetchAndSaveBrowseResultsEnrichmentWire: Wire<Result[]>;
|
|
3436
|
+
|
|
3170
3437
|
// @public
|
|
3171
3438
|
export const fetchAndSaveExperienceControlsResponse: (context: ExperienceControlsActionContext, request: ExperienceControlsRequest | null) => void | Promise<void>;
|
|
3172
3439
|
|
|
@@ -3270,6 +3537,9 @@ export const fetchAndSaveSemanticQueryWire: Wire<SemanticQueriesRequest | null>;
|
|
|
3270
3537
|
// @public
|
|
3271
3538
|
export const fetchAndSaveSuggestionsWire: Wire<QuerySuggestionsRequest | null>;
|
|
3272
3539
|
|
|
3540
|
+
// @public
|
|
3541
|
+
export const fetchBrowseResponse: BrowseXStoreModule['actions']['fetchBrowseResponse'];
|
|
3542
|
+
|
|
3273
3543
|
// @public
|
|
3274
3544
|
export const fetchExperienceControlsResponse: ExperienceControlsXStoreModule['actions']['fetchExperienceControlsResponse'];
|
|
3275
3545
|
|
|
@@ -3711,6 +3981,7 @@ AiSuggestionsSearchChanged?: AiSuggestionSearch[] | undefined;
|
|
|
3711
3981
|
UserClickedAnAiCarouselResult?: Result | undefined;
|
|
3712
3982
|
UserClickedAnAiCarouselAdd2Cart?: Result | undefined;
|
|
3713
3983
|
AiComponentMounted?: void | undefined;
|
|
3984
|
+
VendorResultsChanged?: Omit<VendorResult, "modelName">[] | undefined;
|
|
3714
3985
|
}>;
|
|
3715
3986
|
innerCssClasses: ComputedRef<(string | Dictionary<boolean>)[]>;
|
|
3716
3987
|
renderedChildrenFilters: ComputedRef<HierarchicalFilter_2[]>;
|
|
@@ -4160,6 +4431,12 @@ export type IdentifierResultsXStoreModule = XStoreModule<IdentifierResultsState,
|
|
|
4160
4431
|
// @internal
|
|
4161
4432
|
export const identifierResultsXStoreModule: IdentifierResultsXStoreModule;
|
|
4162
4433
|
|
|
4434
|
+
// @public
|
|
4435
|
+
export const increaseBrowsePageAppendingResults: BrowseXStoreModule['actions']['increasePageAppendingResults'];
|
|
4436
|
+
|
|
4437
|
+
// @public
|
|
4438
|
+
export const increaseBrowsePageAppendingResultsWire: AnyWire;
|
|
4439
|
+
|
|
4163
4440
|
// @public
|
|
4164
4441
|
export const increasePageAppendingResults: SearchXStoreModule['actions']['increasePageAppendingResults'];
|
|
4165
4442
|
|
|
@@ -4193,6 +4470,17 @@ export interface InstallXOptions<API extends XAPI = XAPI> extends XPluginOptions
|
|
|
4193
4470
|
rootComponent?: Component;
|
|
4194
4471
|
}
|
|
4195
4472
|
|
|
4473
|
+
// @public
|
|
4474
|
+
export interface InternalBrowseRequest extends BrowseRequest {
|
|
4475
|
+
page: number;
|
|
4476
|
+
}
|
|
4477
|
+
|
|
4478
|
+
// @public
|
|
4479
|
+
export interface InternalBrowseResponse extends BrowseResponse {
|
|
4480
|
+
request: InternalBrowseRequest;
|
|
4481
|
+
status: RequestStatus;
|
|
4482
|
+
}
|
|
4483
|
+
|
|
4196
4484
|
// @public
|
|
4197
4485
|
export interface InternalSearchRequest extends SearchRequest {
|
|
4198
4486
|
page: number;
|
|
@@ -6430,9 +6718,30 @@ export type RequestStatus = 'success' | 'loading' | 'error' | 'initial';
|
|
|
6430
6718
|
// @public
|
|
6431
6719
|
export const resetAppending: AnyWire;
|
|
6432
6720
|
|
|
6721
|
+
// @public
|
|
6722
|
+
export const resetBrowseAppending: AnyWire;
|
|
6723
|
+
|
|
6724
|
+
// @public
|
|
6725
|
+
export const resetBrowseRequestOnRefinement: BrowseXStoreModule['actions']['resetRequestOnRefinement'];
|
|
6726
|
+
|
|
6727
|
+
// @public
|
|
6728
|
+
export const resetBrowseRequestOnRefinementWire: AnyWire;
|
|
6729
|
+
|
|
6730
|
+
// @public
|
|
6731
|
+
export const resetBrowseStateForReloadWire: AnyWire;
|
|
6732
|
+
|
|
6733
|
+
// @public
|
|
6734
|
+
export const resetBrowseStateIfNoRequestWire: Wire<InternalBrowseRequest | null>;
|
|
6735
|
+
|
|
6736
|
+
// @public
|
|
6737
|
+
export const resetFromNoBrowseResultsWithFilters: AnyWire;
|
|
6738
|
+
|
|
6433
6739
|
// @public
|
|
6434
6740
|
export const resetFromNoResultsWithFilters: AnyWire;
|
|
6435
6741
|
|
|
6742
|
+
// @public
|
|
6743
|
+
export const resetIsNoBrowseResults: AnyWire;
|
|
6744
|
+
|
|
6436
6745
|
// @public
|
|
6437
6746
|
export const resetIsNoResults: AnyWire;
|
|
6438
6747
|
|
|
@@ -6460,6 +6769,32 @@ export const resetStateForReloadWire: AnyWire;
|
|
|
6460
6769
|
// @public
|
|
6461
6770
|
export const resetStateIfNoRequestWire: Wire<InternalSearchRequest | null>;
|
|
6462
6771
|
|
|
6772
|
+
// @internal
|
|
6773
|
+
export function resettableBrowseState(): {
|
|
6774
|
+
selectedCategory: {
|
|
6775
|
+
browseValue: string;
|
|
6776
|
+
browseField: string;
|
|
6777
|
+
};
|
|
6778
|
+
results: never[];
|
|
6779
|
+
facets: never[];
|
|
6780
|
+
banners: never[];
|
|
6781
|
+
promoteds: never[];
|
|
6782
|
+
totalResults: number;
|
|
6783
|
+
sort: string;
|
|
6784
|
+
page: number;
|
|
6785
|
+
origin: null;
|
|
6786
|
+
isAppendResults: boolean;
|
|
6787
|
+
browseTagging: {
|
|
6788
|
+
url: string;
|
|
6789
|
+
params: {};
|
|
6790
|
+
};
|
|
6791
|
+
displayBrowseTagging: {
|
|
6792
|
+
url: string;
|
|
6793
|
+
params: {};
|
|
6794
|
+
};
|
|
6795
|
+
stats: Stats;
|
|
6796
|
+
};
|
|
6797
|
+
|
|
6463
6798
|
// @internal
|
|
6464
6799
|
export function resettableState(): {
|
|
6465
6800
|
query: string;
|
|
@@ -6596,6 +6931,15 @@ export const sanitize: (str: string) => string;
|
|
|
6596
6931
|
// @public
|
|
6597
6932
|
export const saveAiOrigin: AiXStoreModule['actions']['saveOrigin'];
|
|
6598
6933
|
|
|
6934
|
+
// @public
|
|
6935
|
+
export const saveBrowseOrigin: BrowseXStoreModule['actions']['saveOrigin'];
|
|
6936
|
+
|
|
6937
|
+
// @public
|
|
6938
|
+
export const saveBrowseOriginWire: AnyWire;
|
|
6939
|
+
|
|
6940
|
+
// @public
|
|
6941
|
+
export const saveBrowseResponse: BrowseXStoreModule['actions']['saveBrowseResponse'];
|
|
6942
|
+
|
|
6599
6943
|
// @public
|
|
6600
6944
|
export const saveIdentifierResultsOrigin: IdentifierResultsXStoreModule['actions']['saveOrigin'];
|
|
6601
6945
|
|
|
@@ -7059,7 +7403,6 @@ export interface SearchMutations extends StatusMutations, QueryMutations, Config
|
|
|
7059
7403
|
setRelatedTags: (relatedTags: RelatedTag_2[]) => void;
|
|
7060
7404
|
setResults: (results: Result[]) => void;
|
|
7061
7405
|
setSelectedFilters: (selectedFilters: Filter[]) => void;
|
|
7062
|
-
// Warning: (ae-forgotten-export) The symbol "Sort" needs to be exported by the entry point index.d.ts
|
|
7063
7406
|
setSort: (sort: Sort) => void;
|
|
7064
7407
|
setSpellcheck: (spellcheckedQuery: string) => void;
|
|
7065
7408
|
setStats: (stats: Stats) => void;
|
|
@@ -7389,6 +7732,27 @@ export const sessionHistoryQueries: HistoryQueriesXStoreModule['getters']['sessi
|
|
|
7389
7732
|
// @public
|
|
7390
7733
|
export const setAiUrlParams: AiXStoreModule['actions']['setUrlParams'];
|
|
7391
7734
|
|
|
7735
|
+
// @public
|
|
7736
|
+
export const setBrowseCategory: Wire<BrowsableRequest>;
|
|
7737
|
+
|
|
7738
|
+
// @public
|
|
7739
|
+
export const setBrowseExtraParams: Wire<Dictionary<unknown>>;
|
|
7740
|
+
|
|
7741
|
+
// @public
|
|
7742
|
+
export const setBrowsePage: Wire<number>;
|
|
7743
|
+
|
|
7744
|
+
// @public
|
|
7745
|
+
export const setBrowseSelectedFilters: Wire<Filter[]>;
|
|
7746
|
+
|
|
7747
|
+
// @public
|
|
7748
|
+
export const setBrowseSort: Wire<string>;
|
|
7749
|
+
|
|
7750
|
+
// @public
|
|
7751
|
+
export const setBrowseUrlParams: BrowseXStoreModule['actions']['setUrlParams'];
|
|
7752
|
+
|
|
7753
|
+
// @public
|
|
7754
|
+
export const setBrowseUrlParamsWire: Wire<UrlParams>;
|
|
7755
|
+
|
|
7392
7756
|
// @public
|
|
7393
7757
|
export function setConfig<T extends {
|
|
7394
7758
|
config: T['config'];
|
|
@@ -7520,6 +7884,9 @@ export const setRelatedTagsQuery: Wire<string>;
|
|
|
7520
7884
|
// @public
|
|
7521
7885
|
export const setRelatedTagsQueryFromPreview: AnyWire;
|
|
7522
7886
|
|
|
7887
|
+
// @public
|
|
7888
|
+
export const setResults: AnyWire;
|
|
7889
|
+
|
|
7523
7890
|
// @public
|
|
7524
7891
|
export const setScrollDirectionWire: AnyWire;
|
|
7525
7892
|
|
|
@@ -7839,6 +8206,7 @@ AiSuggestionsSearchChanged?: AiSuggestionSearch[] | undefined;
|
|
|
7839
8206
|
UserClickedAnAiCarouselResult?: Result | undefined;
|
|
7840
8207
|
UserClickedAnAiCarouselAdd2Cart?: Result | undefined;
|
|
7841
8208
|
AiComponentMounted?: void | undefined;
|
|
8209
|
+
VendorResultsChanged?: Omit<VendorResult, "modelName">[] | undefined;
|
|
7842
8210
|
}>;
|
|
7843
8211
|
innerCssClasses: ComputedRef<(string | Dictionary<boolean>)[]>;
|
|
7844
8212
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
@@ -8177,6 +8545,7 @@ AiSuggestionsSearchChanged: (payload: AiSuggestionSearch[], metadata: WireMetada
|
|
|
8177
8545
|
UserClickedAnAiCarouselResult: (payload: Result, metadata: WireMetadata) => unknown;
|
|
8178
8546
|
UserClickedAnAiCarouselAdd2Cart: (payload: Result, metadata: WireMetadata) => unknown;
|
|
8179
8547
|
AiComponentMounted: (payload: undefined, metadata: WireMetadata) => unknown;
|
|
8548
|
+
VendorResultsChanged: (payload: Omit<VendorResult, "modelName">[], metadata: WireMetadata) => unknown;
|
|
8180
8549
|
}>>;
|
|
8181
8550
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
8182
8551
|
GlobalXBus: DefineComponent< {}, {}, any>;
|
|
@@ -9099,9 +9468,90 @@ export function useXBus(): {
|
|
|
9099
9468
|
emit: <Event extends XEvent>(event: Event, payload?: XEventPayload<Event>, metadata?: Omit<WireMetadata, "moduleName">) => Promise<EmittedData<XEventsTypes, Event, WireMetadata>>;
|
|
9100
9469
|
};
|
|
9101
9470
|
|
|
9471
|
+
// @public (undocumented)
|
|
9472
|
+
export interface VendorActions {
|
|
9473
|
+
}
|
|
9474
|
+
|
|
9475
|
+
// @internal
|
|
9476
|
+
export const vendorEmitters: {};
|
|
9477
|
+
|
|
9478
|
+
// @public (undocumented)
|
|
9479
|
+
export interface VendorGetters {
|
|
9480
|
+
}
|
|
9481
|
+
|
|
9482
|
+
// @public (undocumented)
|
|
9483
|
+
export interface VendorMutations {
|
|
9484
|
+
// (undocumented)
|
|
9485
|
+
setResults: (results: VendorResult[]) => void;
|
|
9486
|
+
}
|
|
9487
|
+
|
|
9488
|
+
// @public
|
|
9489
|
+
export interface VendorResult extends Omit<Result, 'modelName'>, NamedModel<'VendorResult'> {
|
|
9490
|
+
// (undocumented)
|
|
9491
|
+
position: number;
|
|
9492
|
+
}
|
|
9493
|
+
|
|
9494
|
+
// @public
|
|
9495
|
+
export const VendorResultsList: DefineComponent<ExtractPropTypes< {
|
|
9496
|
+
animation: {
|
|
9497
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
9498
|
+
default: string;
|
|
9499
|
+
};
|
|
9500
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
9501
|
+
[key: string]: any;
|
|
9502
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
9503
|
+
animation: {
|
|
9504
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
9505
|
+
default: string;
|
|
9506
|
+
};
|
|
9507
|
+
}>> & Readonly<{}>, {
|
|
9508
|
+
animation: string | Function | Record<string, any>;
|
|
9509
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
9510
|
+
|
|
9511
|
+
// @public (undocumented)
|
|
9512
|
+
export interface VendorState {
|
|
9513
|
+
// (undocumented)
|
|
9514
|
+
results: VendorResult[];
|
|
9515
|
+
}
|
|
9516
|
+
|
|
9517
|
+
// @internal
|
|
9518
|
+
export const vendorWiring: {
|
|
9519
|
+
VendorResultsChanged: {
|
|
9520
|
+
setResults: AnyWire;
|
|
9521
|
+
};
|
|
9522
|
+
SearchRequestChanged: {
|
|
9523
|
+
resetResults: AnyWire;
|
|
9524
|
+
};
|
|
9525
|
+
};
|
|
9526
|
+
|
|
9527
|
+
// @public
|
|
9528
|
+
export interface VendorXEvents {
|
|
9529
|
+
VendorResultsChanged: Omit<VendorResult, 'modelName'>[];
|
|
9530
|
+
}
|
|
9531
|
+
|
|
9532
|
+
// @public
|
|
9533
|
+
export type VendorXModule = XModule<VendorXStoreModule>;
|
|
9534
|
+
|
|
9535
|
+
// @public
|
|
9536
|
+
export const vendorXModule: VendorXModule;
|
|
9537
|
+
|
|
9538
|
+
// @public (undocumented)
|
|
9539
|
+
export type VendorXStoreModule = XStoreModule<VendorState, VendorGetters, VendorMutations, VendorActions>;
|
|
9540
|
+
|
|
9541
|
+
// @public (undocumented)
|
|
9542
|
+
export const vendorXStoreModule: VendorXStoreModule;
|
|
9543
|
+
|
|
9102
9544
|
// @public
|
|
9103
9545
|
export type VueCSSClasses = string | Dictionary<boolean> | (string | Dictionary<boolean>)[];
|
|
9104
9546
|
|
|
9547
|
+
// @public
|
|
9548
|
+
export interface WatchedInternalBrowseRequest {
|
|
9549
|
+
// (undocumented)
|
|
9550
|
+
newRequest: InternalBrowseRequest;
|
|
9551
|
+
// (undocumented)
|
|
9552
|
+
oldRequest: InternalBrowseRequest;
|
|
9553
|
+
}
|
|
9554
|
+
|
|
9105
9555
|
// @public
|
|
9106
9556
|
export interface WatchedInternalSearchRequest {
|
|
9107
9557
|
// (undocumented)
|
|
@@ -9302,10 +9752,8 @@ export type XEventPayload<Event extends XEvent> = XEventsTypes[Event] extends vo
|
|
|
9302
9752
|
// @public
|
|
9303
9753
|
export type XEventsOf<Type> = PropsWithType<XEventsTypes, Type>;
|
|
9304
9754
|
|
|
9305
|
-
// Warning: (ae-forgotten-export) The symbol "BrowseXEvents" needs to be exported by the entry point index.d.ts
|
|
9306
|
-
//
|
|
9307
9755
|
// @public
|
|
9308
|
-
export interface XEventsTypes extends DeviceXEvents, EmpathizeXEvents, ExtraParamsXEvents, FacetsXEvents, HistoryQueriesXEvents, IdentifierResultsXEvents, NextQueriesXEvents, PopularSearchesXEvents, QueriesPreviewXEvents, QuerySuggestionsXEvents, RecommendationsXEvents, RelatedTagsXEvents, ScrollXEvents, SearchBoxXEvents, SearchXEvents, BrowseXEvents, SemanticQueriesXEvents, TaggingXEvents, ExperienceControlsXEvents, UrlXEvents, RelatedPromptsXEvents, AiXEvents {
|
|
9756
|
+
export interface XEventsTypes extends DeviceXEvents, EmpathizeXEvents, ExtraParamsXEvents, FacetsXEvents, HistoryQueriesXEvents, IdentifierResultsXEvents, NextQueriesXEvents, PopularSearchesXEvents, QueriesPreviewXEvents, QuerySuggestionsXEvents, RecommendationsXEvents, RelatedTagsXEvents, ScrollXEvents, SearchBoxXEvents, SearchXEvents, BrowseXEvents, SemanticQueriesXEvents, TaggingXEvents, ExperienceControlsXEvents, UrlXEvents, RelatedPromptsXEvents, AiXEvents, VendorXEvents {
|
|
9309
9757
|
ColumnsNumberProvided: number;
|
|
9310
9758
|
ModuleRegistered: XModuleName;
|
|
9311
9759
|
RenderedColumnsNumberChanged: number;
|
|
@@ -9417,8 +9865,6 @@ export type XModuleState = {
|
|
|
9417
9865
|
export interface XModulesTree {
|
|
9418
9866
|
// (undocumented)
|
|
9419
9867
|
ai: AiXModule;
|
|
9420
|
-
// Warning: (ae-forgotten-export) The symbol "BrowseXModule" needs to be exported by the entry point index.d.ts
|
|
9421
|
-
//
|
|
9422
9868
|
// (undocumented)
|
|
9423
9869
|
browse: BrowseXModule;
|
|
9424
9870
|
// (undocumented)
|
|
@@ -9461,6 +9907,8 @@ export interface XModulesTree {
|
|
|
9461
9907
|
tagging: TaggingXModule;
|
|
9462
9908
|
// (undocumented)
|
|
9463
9909
|
url: UrlXModule;
|
|
9910
|
+
// (undocumented)
|
|
9911
|
+
vendor: VendorXModule;
|
|
9464
9912
|
}
|
|
9465
9913
|
|
|
9466
9914
|
// @public
|
|
@@ -9637,9 +10085,6 @@ export type XStoreModuleOptions<StoreModule extends AnyXStoreModule> = StoreModu
|
|
|
9637
10085
|
// dist/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts:62:13 - (ae-forgotten-export) The symbol "ResultVariant" needs to be exported by the entry point index.d.ts
|
|
9638
10086
|
// dist/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts:110:9 - (ae-forgotten-export) The symbol "NextQuery_2" needs to be exported by the entry point index.d.ts
|
|
9639
10087
|
// dist/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts:175:9 - (ae-forgotten-export) The symbol "Redirection_2" needs to be exported by the entry point index.d.ts
|
|
9640
|
-
// dist/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts:176:9 - (ae-forgotten-export) The symbol "Promoted_2" needs to be exported by the entry point index.d.ts
|
|
9641
|
-
// dist/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts:180:9 - (ae-forgotten-export) The symbol "InternalBrowseRequest" needs to be exported by the entry point index.d.ts
|
|
9642
|
-
// dist/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts:182:9 - (ae-forgotten-export) The symbol "InternalBrowseResponse" needs to be exported by the entry point index.d.ts
|
|
9643
10088
|
// dist/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts:188:9 - (ae-forgotten-export) The symbol "SemanticQuery_2" needs to be exported by the entry point index.d.ts
|
|
9644
10089
|
// dist/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts:211:9 - (ae-forgotten-export) The symbol "RelatedPrompt_2" needs to be exported by the entry point index.d.ts
|
|
9645
10090
|
// dist/types/src/x-modules/facets/components/lists/selected-filters-list.vue.d.ts:27:5 - (ae-forgotten-export) The symbol "RenderFilter" needs to be exported by the entry point index.d.ts
|
|
@@ -9648,7 +10093,7 @@ export type XStoreModuleOptions<StoreModule extends AnyXStoreModule> = StoreModu
|
|
|
9648
10093
|
// dist/types/src/x-modules/search/components/sort-list.vue.d.ts:29:5 - (ae-forgotten-export) The symbol "SortListItem" needs to be exported by the entry point index.d.ts
|
|
9649
10094
|
// dist/types/src/x-modules/search/components/sort-picker-list.vue.d.ts:22:5 - (ae-forgotten-export) The symbol "SortPickerItem" needs to be exported by the entry point index.d.ts
|
|
9650
10095
|
// src/x-modules/ai/store/emitters.ts:9:24 - (ae-forgotten-export) The symbol "AiSuggestionsSearchRequest" needs to be exported by the entry point index.d.ts
|
|
9651
|
-
// src/x-modules/
|
|
10096
|
+
// src/x-modules/browse/store/emitters.ts:13:40 - (ae-forgotten-export) The symbol "Promoted_2" needs to be exported by the entry point index.d.ts
|
|
9652
10097
|
// src/x-modules/url/store/emitters.ts:57:1 - (ae-forgotten-export) The symbol "shouldPushUrl" needs to be exported by the entry point index.d.ts
|
|
9653
10098
|
// src/x-modules/url/store/emitters.ts:64:1 - (ae-forgotten-export) The symbol "shouldReplaceUrl" needs to be exported by the entry point index.d.ts
|
|
9654
10099
|
|
package/report/x-types.api.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { Result } from '@empathyco/x-types';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
|
-
import type { XEventsTypes } from '../../wiring/events.types';
|
|
4
3
|
import type { WireMetadata } from '../../wiring/index';
|
|
5
4
|
/**
|
|
6
5
|
* Renders a button with a default slot. It receives the result with the data and emits
|
|
@@ -19,7 +18,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
19
18
|
required: true;
|
|
20
19
|
};
|
|
21
20
|
}>, {
|
|
22
|
-
events:
|
|
21
|
+
events: {};
|
|
23
22
|
metadata: Omit<WireMetadata, "moduleName" | "origin" | "location">;
|
|
24
23
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
24
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-result-add-to-cart.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/components/result/base-result-add-to-cart.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"base-result-add-to-cart.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/components/result/base-result-add-to-cart.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAGnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAItD;;;;;GAKG;;IAIC;;;;OAIG;;cAEe,QAAQ,CAAC,MAAM,CAAC;;;;;;;IANlC;;;;OAIG;;cAEe,QAAQ,CAAC,MAAM,CAAC;;;;;;AATtC,wBAsDE"}
|
|
@@ -152,9 +152,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
152
152
|
UserClickedABanner: (payload: import("@empathyco/x-types").Banner, metadata: WireMetadata) => unknown;
|
|
153
153
|
UserClickedAbortARedirection: (payload: undefined, metadata: WireMetadata) => unknown;
|
|
154
154
|
UserSelectedAPage: (payload: number, metadata: WireMetadata) => unknown;
|
|
155
|
-
BrowseRequestChanged: (payload: import("
|
|
156
|
-
BrowseRequestUpdated: (payload: import("
|
|
157
|
-
BrowseResponseChanged: (payload: import("
|
|
155
|
+
BrowseRequestChanged: (payload: import("..").InternalBrowseRequest | null, metadata: WireMetadata) => unknown;
|
|
156
|
+
BrowseRequestUpdated: (payload: import("..").InternalBrowseRequest | null, metadata: WireMetadata) => unknown;
|
|
157
|
+
BrowseResponseChanged: (payload: import("..").InternalBrowseResponse, metadata: WireMetadata) => unknown;
|
|
158
158
|
BrowseTaggingChanged: (payload: import("@empathyco/x-types").TaggingRequest, metadata: WireMetadata) => unknown;
|
|
159
159
|
UserClickedABrowseSort: (payload: string, metadata: WireMetadata) => unknown;
|
|
160
160
|
SelectedBrowseSortProvided: (payload: string, metadata: WireMetadata) => unknown;
|
|
@@ -192,6 +192,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
192
192
|
UserClickedAnAiCarouselResult: (payload: import("@empathyco/x-types").Result, metadata: WireMetadata) => unknown;
|
|
193
193
|
UserClickedAnAiCarouselAdd2Cart: (payload: import("@empathyco/x-types").Result, metadata: WireMetadata) => unknown;
|
|
194
194
|
AiComponentMounted: (payload: undefined, metadata: WireMetadata) => unknown;
|
|
195
|
+
VendorResultsChanged: (payload: Omit<import("..").VendorResult, "modelName">[], metadata: WireMetadata) => unknown;
|
|
195
196
|
}>>;
|
|
196
197
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
197
198
|
GlobalXBus: import("vue").DefineComponent<{}, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snippet-callbacks.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../src/components/snippet-callbacks.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAO7C;;;;;GAKG
|
|
1
|
+
{"version":3,"file":"snippet-callbacks.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../src/components/snippet-callbacks.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAO7C;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBA0CE"}
|