@empathyco/x-components 7.4.0 → 7.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/browse/index.d.ts +1 -0
  3. package/browse/index.js +15 -0
  4. package/core/index.js.map +1 -1
  5. package/docs/API-reference/api/x-components.browseactioncontext.md +15 -0
  6. package/docs/API-reference/api/x-components.browseactions.cancelfetchandsavebrowseresponse.md +13 -0
  7. package/docs/API-reference/api/x-components.browseactions.fetchandsavebrowseresponse.md +13 -0
  8. package/docs/API-reference/api/x-components.browseactions.fetchandsaveresultsenrichment.md +13 -0
  9. package/docs/API-reference/api/x-components.browseactions.fetchbrowseresponse.md +13 -0
  10. package/docs/API-reference/api/x-components.browseactions.increasepageappendingresults.md +18 -0
  11. package/docs/API-reference/api/x-components.browseactions.md +210 -0
  12. package/docs/API-reference/api/x-components.browseactions.resetrequestonrefinement.md +13 -0
  13. package/docs/API-reference/api/x-components.browseactions.savebrowseresponse.md +13 -0
  14. package/docs/API-reference/api/x-components.browseactions.saveorigin.md +13 -0
  15. package/docs/API-reference/api/x-components.browseactions.seturlparams.md +13 -0
  16. package/docs/API-reference/api/x-components.browseconfig.md +75 -0
  17. package/docs/API-reference/api/x-components.browseconfig.pagemode.md +11 -0
  18. package/docs/API-reference/api/x-components.browseconfig.pagesize.md +13 -0
  19. package/docs/API-reference/api/x-components.browsegetters.md +58 -0
  20. package/docs/API-reference/api/x-components.browsegetters.request.md +13 -0
  21. package/docs/API-reference/api/x-components.browsemutations.appendresults.md +13 -0
  22. package/docs/API-reference/api/x-components.browsemutations.md +458 -0
  23. package/docs/API-reference/api/x-components.browsemutations.resetstate.md +13 -0
  24. package/docs/API-reference/api/x-components.browsemutations.resetstateforreload.md +13 -0
  25. package/docs/API-reference/api/x-components.browsemutations.setbanners.md +13 -0
  26. package/docs/API-reference/api/x-components.browsemutations.setbrowsetagging.md +13 -0
  27. package/docs/API-reference/api/x-components.browsemutations.setdisplaybrowsetagging.md +13 -0
  28. package/docs/API-reference/api/x-components.browsemutations.setfacets.md +13 -0
  29. package/docs/API-reference/api/x-components.browsemutations.setfromnoresultswithfilters.md +13 -0
  30. package/docs/API-reference/api/x-components.browsemutations.setisappendresults.md +13 -0
  31. package/docs/API-reference/api/x-components.browsemutations.setisnoresults.md +13 -0
  32. package/docs/API-reference/api/x-components.browsemutations.setorigin.md +13 -0
  33. package/docs/API-reference/api/x-components.browsemutations.setpage.md +13 -0
  34. package/docs/API-reference/api/x-components.browsemutations.setparams.md +13 -0
  35. package/docs/API-reference/api/x-components.browsemutations.setpromoteds.md +13 -0
  36. package/docs/API-reference/api/x-components.browsemutations.setresults.md +13 -0
  37. package/docs/API-reference/api/x-components.browsemutations.setselectedcategory.md +13 -0
  38. package/docs/API-reference/api/x-components.browsemutations.setselectedfilters.md +13 -0
  39. package/docs/API-reference/api/x-components.browsemutations.setsort.md +13 -0
  40. package/docs/API-reference/api/x-components.browsemutations.setstats.md +13 -0
  41. package/docs/API-reference/api/x-components.browsemutations.settotalresults.md +13 -0
  42. package/docs/API-reference/api/x-components.browsemutations.updateresult.md +13 -0
  43. package/docs/API-reference/api/x-components.browsemutations.updateresultsfromenrichment.md +13 -0
  44. package/docs/API-reference/api/x-components.browserequest.md +13 -0
  45. package/docs/API-reference/api/x-components.browseresultslist.md +31 -0
  46. package/docs/API-reference/api/x-components.browsesortpickerlist.md +45 -0
  47. package/docs/API-reference/api/x-components.browsestate.banners.md +13 -0
  48. package/docs/API-reference/api/x-components.browsestate.browsetagging.md +13 -0
  49. package/docs/API-reference/api/x-components.browsestate.config.md +13 -0
  50. package/docs/API-reference/api/x-components.browsestate.displaybrowsetagging.md +13 -0
  51. package/docs/API-reference/api/x-components.browsestate.facets.md +13 -0
  52. package/docs/API-reference/api/x-components.browsestate.fromnoresultswithfilters.md +13 -0
  53. package/docs/API-reference/api/x-components.browsestate.isappendresults.md +13 -0
  54. package/docs/API-reference/api/x-components.browsestate.isnoresults.md +13 -0
  55. package/docs/API-reference/api/x-components.browsestate.md +382 -0
  56. package/docs/API-reference/api/x-components.browsestate.origin.md +13 -0
  57. package/docs/API-reference/api/x-components.browsestate.page.md +13 -0
  58. package/docs/API-reference/api/x-components.browsestate.params.md +13 -0
  59. package/docs/API-reference/api/x-components.browsestate.promoteds.md +13 -0
  60. package/docs/API-reference/api/x-components.browsestate.results.md +13 -0
  61. package/docs/API-reference/api/x-components.browsestate.selectedcategory.md +13 -0
  62. package/docs/API-reference/api/x-components.browsestate.selectedfilters.md +13 -0
  63. package/docs/API-reference/api/x-components.browsestate.sort.md +13 -0
  64. package/docs/API-reference/api/x-components.browsestate.stats.md +13 -0
  65. package/docs/API-reference/api/x-components.browsestate.totalresults.md +13 -0
  66. package/docs/API-reference/api/x-components.browsexevents.browserequestchanged.md +13 -0
  67. package/docs/API-reference/api/x-components.browsexevents.browserequestupdated.md +18 -0
  68. package/docs/API-reference/api/x-components.browsexevents.browseresponsechanged.md +13 -0
  69. package/docs/API-reference/api/x-components.browsexevents.browsetaggingchanged.md +13 -0
  70. package/docs/API-reference/api/x-components.browsexevents.md +172 -0
  71. package/docs/API-reference/api/x-components.browsexevents.selectedbrowsesortprovided.md +18 -0
  72. package/docs/API-reference/api/x-components.browsexevents.userbrowsedtocategory.md +13 -0
  73. package/docs/API-reference/api/x-components.browsexevents.userclickedabrowsesort.md +13 -0
  74. package/docs/API-reference/api/x-components.browsexmodule.md +13 -0
  75. package/docs/API-reference/api/x-components.browsexstoremodule.md +15 -0
  76. package/docs/API-reference/api/x-components.cancelfetchandsavebrowseresponse.md +17 -0
  77. package/docs/API-reference/api/x-components.cancelfetchandsavebrowseresponsewire.md +13 -0
  78. package/docs/API-reference/api/x-components.clearbrowsequery.md +13 -0
  79. package/docs/API-reference/api/x-components.fetchandsavebrowseresponse.md +66 -0
  80. package/docs/API-reference/api/x-components.fetchandsavebrowseresponsewire.md +13 -0
  81. package/docs/API-reference/api/x-components.fetchandsavebrowseresultsenrichment.md +66 -0
  82. package/docs/API-reference/api/x-components.fetchandsavebrowseresultsenrichmentwire.md +13 -0
  83. package/docs/API-reference/api/x-components.fetchbrowseresponse.md +13 -0
  84. package/docs/API-reference/api/x-components.increasebrowsepageappendingresults.md +13 -0
  85. package/docs/API-reference/api/x-components.increasebrowsepageappendingresultswire.md +13 -0
  86. package/docs/API-reference/api/x-components.internalbrowserequest.md +59 -0
  87. package/docs/API-reference/api/x-components.internalbrowserequest.page.md +13 -0
  88. package/docs/API-reference/api/x-components.internalbrowseresponse.md +78 -0
  89. package/docs/API-reference/api/x-components.internalbrowseresponse.request.md +13 -0
  90. package/docs/API-reference/api/x-components.internalbrowseresponse.status.md +13 -0
  91. package/docs/API-reference/api/x-components.md +477 -0
  92. package/docs/API-reference/api/x-components.resetbrowseappending.md +13 -0
  93. package/docs/API-reference/api/x-components.resetbrowserequestonrefinement.md +13 -0
  94. package/docs/API-reference/api/x-components.resetbrowserequestonrefinementwire.md +13 -0
  95. package/docs/API-reference/api/x-components.resetbrowsestateforreloadwire.md +13 -0
  96. package/docs/API-reference/api/x-components.resetbrowsestateifnorequestwire.md +13 -0
  97. package/docs/API-reference/api/x-components.resetfromnobrowseresultswithfilters.md +13 -0
  98. package/docs/API-reference/api/x-components.resetisnobrowseresults.md +13 -0
  99. package/docs/API-reference/api/x-components.savebrowseorigin.md +13 -0
  100. package/docs/API-reference/api/x-components.savebrowseoriginwire.md +13 -0
  101. package/docs/API-reference/api/x-components.savebrowseresponse.md +13 -0
  102. package/docs/API-reference/api/x-components.setbrowsecategory.md +13 -0
  103. package/docs/API-reference/api/x-components.setbrowseextraparams.md +13 -0
  104. package/docs/API-reference/api/x-components.setbrowsepage.md +13 -0
  105. package/docs/API-reference/api/x-components.setbrowseselectedfilters.md +13 -0
  106. package/docs/API-reference/api/x-components.setbrowsesort.md +13 -0
  107. package/docs/API-reference/api/x-components.setbrowseurlparams.md +13 -0
  108. package/docs/API-reference/api/x-components.setbrowseurlparamswire.md +13 -0
  109. package/docs/API-reference/api/x-components.snippetcallbacks.md +3 -3
  110. package/docs/API-reference/api/x-components.usealiasapi.browsetotalresults.md +1 -1
  111. package/docs/API-reference/api/x-components.usealiasapi.md +1 -1
  112. package/docs/API-reference/api/x-components.watchedinternalbrowserequest.md +73 -0
  113. package/docs/API-reference/api/x-components.watchedinternalbrowserequest.newrequest.md +11 -0
  114. package/docs/API-reference/api/x-components.watchedinternalbrowserequest.oldrequest.md +11 -0
  115. package/docs/API-reference/api/x-components.xeventstypes.md +1 -1
  116. package/docs/API-reference/api/x-components.xmodulestree.md +1 -1
  117. package/js/index.js +15 -0
  118. package/js/index.js.map +1 -1
  119. package/js/wiring/namespaced-wires.factory.js +1 -1
  120. package/js/x-modules/browse/components/browse-results-list.vue.js +46 -0
  121. package/js/x-modules/browse/components/browse-results-list.vue.js.map +1 -0
  122. package/js/x-modules/browse/components/browse-results-list.vue2.js +6 -0
  123. package/js/x-modules/browse/components/browse-results-list.vue2.js.map +1 -0
  124. package/js/x-modules/browse/components/browse-sort-picker-list.vue.js +73 -0
  125. package/js/x-modules/browse/components/browse-sort-picker-list.vue.js.map +1 -0
  126. package/js/x-modules/browse/components/browse-sort-picker-list.vue2.js +6 -0
  127. package/js/x-modules/browse/components/browse-sort-picker-list.vue2.js.map +1 -0
  128. package/js/x-modules/browse/store/actions/fetch-and-save-browse-response.action.js +57 -0
  129. package/js/x-modules/browse/store/actions/fetch-and-save-browse-response.action.js.map +1 -0
  130. package/js/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.js +21 -0
  131. package/js/x-modules/browse/store/actions/fetch-and-save-results-enrichment.action.js.map +1 -0
  132. package/js/x-modules/browse/store/actions/fetch-browse-response.action.js +16 -0
  133. package/js/x-modules/browse/store/actions/fetch-browse-response.action.js.map +1 -0
  134. package/js/x-modules/browse/store/actions/increase-page-apending-results.action.js +18 -0
  135. package/js/x-modules/browse/store/actions/increase-page-apending-results.action.js.map +1 -0
  136. package/js/x-modules/browse/store/actions/reset-request-on-refinement.action.js +36 -0
  137. package/js/x-modules/browse/store/actions/reset-request-on-refinement.action.js.map +1 -0
  138. package/js/x-modules/browse/store/actions/save-browse-response.action.js +42 -0
  139. package/js/x-modules/browse/store/actions/save-browse-response.action.js.map +1 -0
  140. package/js/x-modules/browse/store/actions/save-origin.action.js +16 -0
  141. package/js/x-modules/browse/store/actions/save-origin.action.js.map +1 -0
  142. package/js/x-modules/browse/store/actions/set-url-params.action.js +20 -0
  143. package/js/x-modules/browse/store/actions/set-url-params.action.js.map +1 -0
  144. package/js/x-modules/browse/store/emitters.js +48 -0
  145. package/js/x-modules/browse/store/emitters.js.map +1 -0
  146. package/js/x-modules/browse/store/getters/request.getter.js +27 -0
  147. package/js/x-modules/browse/store/getters/request.getter.js.map +1 -0
  148. package/js/x-modules/browse/store/module.js +163 -0
  149. package/js/x-modules/browse/store/module.js.map +1 -0
  150. package/js/x-modules/browse/wiring.js +213 -0
  151. package/js/x-modules/browse/wiring.js.map +1 -0
  152. package/js/x-modules/browse/x-module.js +21 -0
  153. package/js/x-modules/browse/x-module.js.map +1 -0
  154. package/package.json +2 -2
  155. package/report/x-components.api.json +3922 -119
  156. package/report/x-components.api.md +373 -9
  157. package/types/src/components/snippet-callbacks.vue.d.ts +3 -3
  158. package/types/src/index.d.ts +1 -0
  159. package/types/src/index.d.ts.map +1 -1
  160. package/types/src/x-modules/browse/components/browse-results-list.vue.d.ts +30 -0
  161. package/types/src/x-modules/browse/components/browse-results-list.vue.d.ts.map +1 -0
  162. package/types/src/x-modules/browse/components/browse-sort-picker-list.vue.d.ts +50 -0
  163. package/types/src/x-modules/browse/components/browse-sort-picker-list.vue.d.ts.map +1 -0
  164. package/types/src/x-modules/browse/store/actions/index.d.ts +5 -5
  165. package/types/src/x-modules/browse/store/actions/index.d.ts.map +1 -1
  166. package/types/src/x-modules/browse/store/module.d.ts +1 -1
  167. package/types/src/x-modules/browse/store/module.d.ts.map +1 -1
  168. package/types/src/x-modules/browse/wiring.d.ts +26 -26
  169. package/types/src/x-modules/browse/wiring.d.ts.map +1 -1
@@ -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
 
@@ -4160,6 +4430,12 @@ export type IdentifierResultsXStoreModule = XStoreModule<IdentifierResultsState,
4160
4430
  // @internal
4161
4431
  export const identifierResultsXStoreModule: IdentifierResultsXStoreModule;
4162
4432
 
4433
+ // @public
4434
+ export const increaseBrowsePageAppendingResults: BrowseXStoreModule['actions']['increasePageAppendingResults'];
4435
+
4436
+ // @public
4437
+ export const increaseBrowsePageAppendingResultsWire: AnyWire;
4438
+
4163
4439
  // @public
4164
4440
  export const increasePageAppendingResults: SearchXStoreModule['actions']['increasePageAppendingResults'];
4165
4441
 
@@ -4193,6 +4469,17 @@ export interface InstallXOptions<API extends XAPI = XAPI> extends XPluginOptions
4193
4469
  rootComponent?: Component;
4194
4470
  }
4195
4471
 
4472
+ // @public
4473
+ export interface InternalBrowseRequest extends BrowseRequest {
4474
+ page: number;
4475
+ }
4476
+
4477
+ // @public
4478
+ export interface InternalBrowseResponse extends BrowseResponse {
4479
+ request: InternalBrowseRequest;
4480
+ status: RequestStatus;
4481
+ }
4482
+
4196
4483
  // @public
4197
4484
  export interface InternalSearchRequest extends SearchRequest {
4198
4485
  page: number;
@@ -6430,9 +6717,30 @@ export type RequestStatus = 'success' | 'loading' | 'error' | 'initial';
6430
6717
  // @public
6431
6718
  export const resetAppending: AnyWire;
6432
6719
 
6720
+ // @public
6721
+ export const resetBrowseAppending: AnyWire;
6722
+
6723
+ // @public
6724
+ export const resetBrowseRequestOnRefinement: BrowseXStoreModule['actions']['resetRequestOnRefinement'];
6725
+
6726
+ // @public
6727
+ export const resetBrowseRequestOnRefinementWire: AnyWire;
6728
+
6729
+ // @public
6730
+ export const resetBrowseStateForReloadWire: AnyWire;
6731
+
6732
+ // @public
6733
+ export const resetBrowseStateIfNoRequestWire: Wire<InternalBrowseRequest | null>;
6734
+
6735
+ // @public
6736
+ export const resetFromNoBrowseResultsWithFilters: AnyWire;
6737
+
6433
6738
  // @public
6434
6739
  export const resetFromNoResultsWithFilters: AnyWire;
6435
6740
 
6741
+ // @public
6742
+ export const resetIsNoBrowseResults: AnyWire;
6743
+
6436
6744
  // @public
6437
6745
  export const resetIsNoResults: AnyWire;
6438
6746
 
@@ -6460,6 +6768,32 @@ export const resetStateForReloadWire: AnyWire;
6460
6768
  // @public
6461
6769
  export const resetStateIfNoRequestWire: Wire<InternalSearchRequest | null>;
6462
6770
 
6771
+ // @internal
6772
+ export function resettableBrowseState(): {
6773
+ selectedCategory: {
6774
+ browseValue: string;
6775
+ browseField: string;
6776
+ };
6777
+ results: never[];
6778
+ facets: never[];
6779
+ banners: never[];
6780
+ promoteds: never[];
6781
+ totalResults: number;
6782
+ sort: string;
6783
+ page: number;
6784
+ origin: null;
6785
+ isAppendResults: boolean;
6786
+ browseTagging: {
6787
+ url: string;
6788
+ params: {};
6789
+ };
6790
+ displayBrowseTagging: {
6791
+ url: string;
6792
+ params: {};
6793
+ };
6794
+ stats: Stats;
6795
+ };
6796
+
6463
6797
  // @internal
6464
6798
  export function resettableState(): {
6465
6799
  query: string;
@@ -6596,6 +6930,15 @@ export const sanitize: (str: string) => string;
6596
6930
  // @public
6597
6931
  export const saveAiOrigin: AiXStoreModule['actions']['saveOrigin'];
6598
6932
 
6933
+ // @public
6934
+ export const saveBrowseOrigin: BrowseXStoreModule['actions']['saveOrigin'];
6935
+
6936
+ // @public
6937
+ export const saveBrowseOriginWire: AnyWire;
6938
+
6939
+ // @public
6940
+ export const saveBrowseResponse: BrowseXStoreModule['actions']['saveBrowseResponse'];
6941
+
6599
6942
  // @public
6600
6943
  export const saveIdentifierResultsOrigin: IdentifierResultsXStoreModule['actions']['saveOrigin'];
6601
6944
 
@@ -7059,7 +7402,6 @@ export interface SearchMutations extends StatusMutations, QueryMutations, Config
7059
7402
  setRelatedTags: (relatedTags: RelatedTag_2[]) => void;
7060
7403
  setResults: (results: Result[]) => void;
7061
7404
  setSelectedFilters: (selectedFilters: Filter[]) => void;
7062
- // Warning: (ae-forgotten-export) The symbol "Sort" needs to be exported by the entry point index.d.ts
7063
7405
  setSort: (sort: Sort) => void;
7064
7406
  setSpellcheck: (spellcheckedQuery: string) => void;
7065
7407
  setStats: (stats: Stats) => void;
@@ -7389,6 +7731,27 @@ export const sessionHistoryQueries: HistoryQueriesXStoreModule['getters']['sessi
7389
7731
  // @public
7390
7732
  export const setAiUrlParams: AiXStoreModule['actions']['setUrlParams'];
7391
7733
 
7734
+ // @public
7735
+ export const setBrowseCategory: Wire<BrowsableRequest>;
7736
+
7737
+ // @public
7738
+ export const setBrowseExtraParams: Wire<Dictionary<unknown>>;
7739
+
7740
+ // @public
7741
+ export const setBrowsePage: Wire<number>;
7742
+
7743
+ // @public
7744
+ export const setBrowseSelectedFilters: Wire<Filter[]>;
7745
+
7746
+ // @public
7747
+ export const setBrowseSort: Wire<string>;
7748
+
7749
+ // @public
7750
+ export const setBrowseUrlParams: BrowseXStoreModule['actions']['setUrlParams'];
7751
+
7752
+ // @public
7753
+ export const setBrowseUrlParamsWire: Wire<UrlParams>;
7754
+
7392
7755
  // @public
7393
7756
  export function setConfig<T extends {
7394
7757
  config: T['config'];
@@ -9102,6 +9465,14 @@ export function useXBus(): {
9102
9465
  // @public
9103
9466
  export type VueCSSClasses = string | Dictionary<boolean> | (string | Dictionary<boolean>)[];
9104
9467
 
9468
+ // @public
9469
+ export interface WatchedInternalBrowseRequest {
9470
+ // (undocumented)
9471
+ newRequest: InternalBrowseRequest;
9472
+ // (undocumented)
9473
+ oldRequest: InternalBrowseRequest;
9474
+ }
9475
+
9105
9476
  // @public
9106
9477
  export interface WatchedInternalSearchRequest {
9107
9478
  // (undocumented)
@@ -9302,8 +9673,6 @@ export type XEventPayload<Event extends XEvent> = XEventsTypes[Event] extends vo
9302
9673
  // @public
9303
9674
  export type XEventsOf<Type> = PropsWithType<XEventsTypes, Type>;
9304
9675
 
9305
- // Warning: (ae-forgotten-export) The symbol "BrowseXEvents" needs to be exported by the entry point index.d.ts
9306
- //
9307
9676
  // @public
9308
9677
  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 {
9309
9678
  ColumnsNumberProvided: number;
@@ -9417,8 +9786,6 @@ export type XModuleState = {
9417
9786
  export interface XModulesTree {
9418
9787
  // (undocumented)
9419
9788
  ai: AiXModule;
9420
- // Warning: (ae-forgotten-export) The symbol "BrowseXModule" needs to be exported by the entry point index.d.ts
9421
- //
9422
9789
  // (undocumented)
9423
9790
  browse: BrowseXModule;
9424
9791
  // (undocumented)
@@ -9637,9 +10004,6 @@ export type XStoreModuleOptions<StoreModule extends AnyXStoreModule> = StoreModu
9637
10004
  // 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
10005
  // 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
10006
  // 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
10007
  // 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
10008
  // 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
10009
  // 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 +10012,7 @@ export type XStoreModuleOptions<StoreModule extends AnyXStoreModule> = StoreModu
9648
10012
  // 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
10013
  // 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
10014
  // 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/search/store/module.ts:167:32 - (ae-forgotten-export) The symbol "Stats" needs to be exported by the entry point index.d.ts
10015
+ // 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
10016
  // 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
10017
  // 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
10018
 
@@ -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("../x-modules/browse").InternalBrowseRequest | null, metadata: WireMetadata) => unknown;
156
- BrowseRequestUpdated: (payload: import("../x-modules/browse").InternalBrowseRequest | null, metadata: WireMetadata) => unknown;
157
- BrowseResponseChanged: (payload: import("../x-modules/browse").InternalBrowseResponse, metadata: WireMetadata) => unknown;
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;
@@ -14,6 +14,7 @@ export * from './wiring';
14
14
  export * from './x-bus';
15
15
  export * from './x-installer';
16
16
  export * from './x-modules/ai';
17
+ export * from './x-modules/browse';
17
18
  export * from './x-modules/device';
18
19
  export * from './x-modules/empathize';
19
20
  export * from './x-modules/experience-controls';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,0BAA0B,CAAA;AACxC,cAAc,oBAAoB,CAAA;AAClC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,0BAA0B,CAAA;AACxC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,0BAA0B,CAAA;AACxC,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,wBAAwB,CAAA;AACtC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,6BAA6B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,0BAA0B,CAAA;AACxC,cAAc,oBAAoB,CAAA;AAClC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,0BAA0B,CAAA;AACxC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,0BAA0B,CAAA;AACxC,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,wBAAwB,CAAA;AACtC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,6BAA6B,CAAA"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * It renders a {@link ItemsList} list with the results from {@link SearchState.results} by
3
+ * default.
4
+ *
5
+ * The component provides a default slot which wraps the whole component with the `results` bound.
6
+ *
7
+ * It also provides the slot result to customize the item, which is within the default slot, with
8
+ * the result bound.
9
+ *
10
+ * @public
11
+ */
12
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
+ /** Animation component that will be used to animate the results. */
14
+ animation: {
15
+ type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
16
+ default: string;
17
+ };
18
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
19
+ [key: string]: any;
20
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
+ /** Animation component that will be used to animate the results. */
22
+ animation: {
23
+ type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
24
+ default: string;
25
+ };
26
+ }>> & Readonly<{}>, {
27
+ animation: string | Function | Record<string, any>;
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
29
+ export default _default;
30
+ //# sourceMappingURL=browse-results-list.vue?vue&type=script&lang.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browse-results-list.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/browse/components/browse-results-list.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;GAUG;;IAKC,oEAAoE;;;;;;;;IAApE,oEAAoE;;;;;;;;AAJxE,wBA0BE"}
@@ -0,0 +1,50 @@
1
+ import type { Sort } from '@empathyco/x-types';
2
+ import type { VueCSSClasses } from '../../../utils/types';
3
+ import type { XEventsTypes } from '../../../wiring/events.types';
4
+ /**
5
+ * Sort Picker item options.
6
+ */
7
+ export interface SortPickerItem {
8
+ item: Sort;
9
+ cssClasses: VueCSSClasses;
10
+ event: Partial<XEventsTypes>;
11
+ }
12
+ /**
13
+ * The `SortPickerList` component allows user to select the browse results order. This component
14
+ * also allows to change the selected sort programmatically.
15
+ */
16
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
17
+ animation: {
18
+ type: null;
19
+ required: false;
20
+ default: string;
21
+ };
22
+ items: {
23
+ type: ArrayConstructor;
24
+ required: true;
25
+ };
26
+ buttonClass: {
27
+ type: StringConstructor;
28
+ required: true;
29
+ };
30
+ }>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
31
+ [key: string]: any;
32
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
+ animation: {
34
+ type: null;
35
+ required: false;
36
+ default: string;
37
+ };
38
+ items: {
39
+ type: ArrayConstructor;
40
+ required: true;
41
+ };
42
+ buttonClass: {
43
+ type: StringConstructor;
44
+ required: true;
45
+ };
46
+ }>> & Readonly<{}>, {
47
+ animation: any;
48
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
49
+ export default _default;
50
+ //# sourceMappingURL=browse-sort-picker-list.vue?vue&type=script&setup=true&lang.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browse-sort-picker-list.vue?vue&type=script&setup=true&lang.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/browse/components/browse-sort-picker-list.vue?vue&type=script&setup=true&lang.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAE9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAOhE;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,IAAI,CAAA;IACV,UAAU,EAAE,aAAa,CAAA;IACzB,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;CAC7B;AAED;;;GAGG;;;;;;;;;;;;;;;WA0CW,GAAG,UAAS,GAAG;;;;;;;;;;;;;;;;;;;AAvC7B,wBAsEE"}
@@ -1,9 +1,9 @@
1
1
  export * from './fetch-and-save-browse-response.action';
2
- export * from './fetch-and-save-results-enrichment.action';
2
+ export { fetchAndSaveResultsEnrichment as fetchAndSaveBrowseResultsEnrichment } from './fetch-and-save-results-enrichment.action';
3
3
  export * from './fetch-browse-response.action';
4
- export * from './increase-page-apending-results.action';
5
- export * from './reset-request-on-refinement.action';
4
+ export { increasePageAppendingResults as increaseBrowsePageAppendingResults } from './increase-page-apending-results.action';
5
+ export { resetRequestOnRefinement as resetBrowseRequestOnRefinement } from './reset-request-on-refinement.action';
6
6
  export * from './save-browse-response.action';
7
- export { saveOrigin as saveSearchOrigin } from './save-origin.action';
8
- export { setUrlParams as setSearchUrlParams } from './set-url-params.action';
7
+ export { saveOrigin as saveBrowseOrigin } from './save-origin.action';
8
+ export { setUrlParams as setBrowseUrlParams } from './set-url-params.action';
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/x-modules/browse/store/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAA;AACvD,cAAc,4CAA4C,CAAA;AAC1D,cAAc,gCAAgC,CAAA;AAC9C,cAAc,yCAAyC,CAAA;AACvD,cAAc,sCAAsC,CAAA;AACpD,cAAc,+BAA+B,CAAA;AAC7C,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AACrE,OAAO,EAAE,YAAY,IAAI,kBAAkB,EAAE,MAAM,yBAAyB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/x-modules/browse/store/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAA;AACvD,OAAO,EAAE,6BAA6B,IAAI,mCAAmC,EAAE,MAAM,4CAA4C,CAAA;AACjI,cAAc,gCAAgC,CAAA;AAC9C,OAAO,EAAE,4BAA4B,IAAI,kCAAkC,EAAE,MAAM,yCAAyC,CAAA;AAC5H,OAAO,EAAE,wBAAwB,IAAI,8BAA8B,EAAE,MAAM,sCAAsC,CAAA;AACjH,cAAc,+BAA+B,CAAA;AAC7C,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AACrE,OAAO,EAAE,YAAY,IAAI,kBAAkB,EAAE,MAAM,yBAAyB,CAAA"}
@@ -14,7 +14,7 @@ export declare const browseXStoreModule: BrowseXStoreModule;
14
14
  *
15
15
  * @internal
16
16
  */
17
- export declare function resettableState(): {
17
+ export declare function resettableBrowseState(): {
18
18
  selectedCategory: {
19
19
  browseValue: string;
20
20
  browseField: string;
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/browse/store/module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAC/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAoBjD;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBAyGhC,CAAA;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe;;;;;;;;;;;;;;;;;;;;;;WAuBd,KAAK;EAErB"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/browse/store/module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAC/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAoBjD;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBAyGhC,CAAA;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB;;;;;;;;;;;;;;;;;;;;;;WAuBpB,KAAK;EAErB"}