@searchspring/snap-store-mobx 0.28.0 → 0.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Autocomplete/AutocompleteStore.d.ts +12 -12
- package/dist/cjs/Autocomplete/AutocompleteStore.d.ts.map +1 -1
- package/dist/cjs/Autocomplete/AutocompleteStore.js +10 -10
- package/dist/cjs/Autocomplete/Stores/{FacetStore.d.ts → AutocompleteFacetStore.d.ts} +4 -4
- package/dist/cjs/Autocomplete/Stores/AutocompleteFacetStore.d.ts.map +1 -0
- package/dist/cjs/Autocomplete/Stores/{FacetStore.js → AutocompleteFacetStore.js} +8 -8
- package/dist/{esm/Autocomplete/Stores/QueryStore.d.ts → cjs/Autocomplete/Stores/AutocompleteQueryStore.d.ts} +2 -2
- package/dist/cjs/Autocomplete/Stores/AutocompleteQueryStore.d.ts.map +1 -0
- package/dist/cjs/Autocomplete/Stores/{QueryStore.js → AutocompleteQueryStore.js} +5 -5
- package/dist/{esm/Autocomplete/Stores/StateStore.d.ts → cjs/Autocomplete/Stores/AutocompleteStateStore.d.ts} +2 -2
- package/dist/cjs/Autocomplete/Stores/AutocompleteStateStore.d.ts.map +1 -0
- package/dist/cjs/Autocomplete/Stores/{StateStore.js → AutocompleteStateStore.js} +6 -6
- package/dist/{esm/Autocomplete/Stores/TermStore.d.ts → cjs/Autocomplete/Stores/AutocompleteTermStore.d.ts} +5 -5
- package/dist/cjs/Autocomplete/Stores/AutocompleteTermStore.d.ts.map +1 -0
- package/dist/cjs/Autocomplete/Stores/{TermStore.js → AutocompleteTermStore.js} +7 -7
- package/dist/cjs/Autocomplete/Stores/AutocompleteTrendingStore.d.ts +9 -0
- package/dist/cjs/Autocomplete/Stores/AutocompleteTrendingStore.d.ts.map +1 -0
- package/dist/cjs/Autocomplete/Stores/{TrendingStore.js → AutocompleteTrendingStore.js} +9 -9
- package/dist/cjs/Autocomplete/Stores/index.d.ts +5 -5
- package/dist/cjs/Autocomplete/Stores/index.d.ts.map +1 -1
- package/dist/cjs/Autocomplete/Stores/index.js +11 -11
- package/dist/cjs/Finder/FinderStore.d.ts +4 -4
- package/dist/cjs/Finder/FinderStore.d.ts.map +1 -1
- package/dist/cjs/Finder/FinderStore.js +2 -2
- package/dist/{esm/Finder/Stores/SelectionStore.d.ts → cjs/Finder/Stores/FinderSelectionStore.d.ts} +4 -4
- package/dist/cjs/Finder/Stores/FinderSelectionStore.d.ts.map +1 -0
- package/dist/cjs/Finder/Stores/{SelectionStore.js → FinderSelectionStore.js} +7 -7
- package/dist/cjs/Finder/Stores/index.d.ts +1 -1
- package/dist/cjs/Finder/Stores/index.d.ts.map +1 -1
- package/dist/cjs/Finder/Stores/index.js +3 -3
- package/dist/cjs/Recommendation/RecommendationStore.d.ts +4 -4
- package/dist/cjs/Recommendation/RecommendationStore.d.ts.map +1 -1
- package/dist/cjs/Recommendation/RecommendationStore.js +2 -2
- package/dist/cjs/Recommendation/Stores/{ProfileStore.d.ts → RecommendationProfileStore.d.ts} +2 -2
- package/dist/cjs/Recommendation/Stores/RecommendationProfileStore.d.ts.map +1 -0
- package/dist/cjs/Recommendation/Stores/{ProfileStore.js → RecommendationProfileStore.js} +5 -5
- package/dist/cjs/Recommendation/Stores/index.d.ts +1 -1
- package/dist/cjs/Recommendation/Stores/index.d.ts.map +1 -1
- package/dist/cjs/Recommendation/Stores/index.js +3 -3
- package/dist/cjs/Search/SearchStore.d.ts +8 -8
- package/dist/cjs/Search/SearchStore.d.ts.map +1 -1
- package/dist/cjs/Search/SearchStore.js +7 -7
- package/dist/{esm/Search/Stores/FacetStore.d.ts → cjs/Search/Stores/SearchFacetStore.d.ts} +8 -9
- package/dist/cjs/Search/Stores/SearchFacetStore.d.ts.map +1 -0
- package/dist/cjs/Search/Stores/{FacetStore.js → SearchFacetStore.js} +25 -24
- package/dist/{esm/Search/Stores/FilterStore.d.ts → cjs/Search/Stores/SearchFilterStore.d.ts} +2 -2
- package/dist/cjs/Search/Stores/SearchFilterStore.d.ts.map +1 -0
- package/dist/cjs/Search/Stores/{FilterStore.js → SearchFilterStore.js} +7 -7
- package/dist/{esm/Search/Stores/MerchandisingStore.d.ts → cjs/Search/Stores/SearchMerchandisingStore.d.ts} +5 -4
- package/dist/cjs/Search/Stores/SearchMerchandisingStore.d.ts.map +1 -0
- package/dist/cjs/Search/Stores/{MerchandisingStore.js → SearchMerchandisingStore.js} +6 -6
- package/dist/{esm/Search/Stores/PaginationStore.d.ts → cjs/Search/Stores/SearchPaginationStore.d.ts} +2 -2
- package/dist/cjs/Search/Stores/SearchPaginationStore.d.ts.map +1 -0
- package/dist/cjs/Search/Stores/{PaginationStore.js → SearchPaginationStore.js} +15 -15
- package/dist/cjs/Search/Stores/{QueryStore.d.ts → SearchQueryStore.d.ts} +2 -2
- package/dist/cjs/Search/Stores/SearchQueryStore.d.ts.map +1 -0
- package/dist/cjs/Search/Stores/{QueryStore.js → SearchQueryStore.js} +5 -5
- package/dist/cjs/Search/Stores/{ResultStore.d.ts → SearchResultStore.d.ts} +2 -2
- package/dist/cjs/Search/Stores/SearchResultStore.d.ts.map +1 -0
- package/dist/cjs/Search/Stores/{ResultStore.js → SearchResultStore.js} +7 -7
- package/dist/cjs/Search/Stores/{SortingStore.d.ts → SearchSortingStore.d.ts} +2 -2
- package/dist/cjs/Search/Stores/SearchSortingStore.d.ts.map +1 -0
- package/dist/cjs/Search/Stores/{SortingStore.js → SearchSortingStore.js} +6 -6
- package/dist/cjs/Search/Stores/index.d.ts +7 -7
- package/dist/cjs/Search/Stores/index.d.ts.map +1 -1
- package/dist/cjs/Search/Stores/index.js +24 -16
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +2 -5
- package/dist/esm/Autocomplete/AutocompleteStore.d.ts +12 -12
- package/dist/esm/Autocomplete/AutocompleteStore.d.ts.map +1 -1
- package/dist/esm/Autocomplete/AutocompleteStore.js +12 -12
- package/dist/esm/Autocomplete/Stores/{FacetStore.d.ts → AutocompleteFacetStore.d.ts} +4 -4
- package/dist/esm/Autocomplete/Stores/AutocompleteFacetStore.d.ts.map +1 -0
- package/dist/esm/Autocomplete/Stores/{FacetStore.js → AutocompleteFacetStore.js} +2 -2
- package/dist/{cjs/Autocomplete/Stores/QueryStore.d.ts → esm/Autocomplete/Stores/AutocompleteQueryStore.d.ts} +2 -2
- package/dist/esm/Autocomplete/Stores/AutocompleteQueryStore.d.ts.map +1 -0
- package/dist/esm/Autocomplete/Stores/{QueryStore.js → AutocompleteQueryStore.js} +1 -1
- package/dist/{cjs/Autocomplete/Stores/StateStore.d.ts → esm/Autocomplete/Stores/AutocompleteStateStore.d.ts} +2 -2
- package/dist/esm/Autocomplete/Stores/AutocompleteStateStore.d.ts.map +1 -0
- package/dist/esm/Autocomplete/Stores/{StateStore.js → AutocompleteStateStore.js} +1 -1
- package/dist/{cjs/Autocomplete/Stores/TermStore.d.ts → esm/Autocomplete/Stores/AutocompleteTermStore.d.ts} +5 -5
- package/dist/esm/Autocomplete/Stores/AutocompleteTermStore.d.ts.map +1 -0
- package/dist/esm/Autocomplete/Stores/{TermStore.js → AutocompleteTermStore.js} +1 -1
- package/dist/esm/Autocomplete/Stores/AutocompleteTrendingStore.d.ts +9 -0
- package/dist/esm/Autocomplete/Stores/AutocompleteTrendingStore.d.ts.map +1 -0
- package/dist/esm/Autocomplete/Stores/{TrendingStore.js → AutocompleteTrendingStore.js} +2 -2
- package/dist/esm/Autocomplete/Stores/index.d.ts +5 -5
- package/dist/esm/Autocomplete/Stores/index.d.ts.map +1 -1
- package/dist/esm/Autocomplete/Stores/index.js +5 -5
- package/dist/esm/Finder/FinderStore.d.ts +4 -4
- package/dist/esm/Finder/FinderStore.d.ts.map +1 -1
- package/dist/esm/Finder/FinderStore.js +4 -4
- package/dist/{cjs/Finder/Stores/SelectionStore.d.ts → esm/Finder/Stores/FinderSelectionStore.d.ts} +10 -6
- package/dist/esm/Finder/Stores/FinderSelectionStore.d.ts.map +1 -0
- package/dist/esm/Finder/Stores/{SelectionStore.js → FinderSelectionStore.js} +1 -1
- package/dist/esm/Finder/Stores/index.d.ts +1 -1
- package/dist/esm/Finder/Stores/index.d.ts.map +1 -1
- package/dist/esm/Finder/Stores/index.js +1 -1
- package/dist/esm/Recommendation/RecommendationStore.d.ts +4 -4
- package/dist/esm/Recommendation/RecommendationStore.d.ts.map +1 -1
- package/dist/esm/Recommendation/RecommendationStore.js +4 -4
- package/dist/esm/Recommendation/Stores/{ProfileStore.d.ts → RecommendationProfileStore.d.ts} +2 -2
- package/dist/esm/Recommendation/Stores/RecommendationProfileStore.d.ts.map +1 -0
- package/dist/esm/Recommendation/Stores/{ProfileStore.js → RecommendationProfileStore.js} +1 -1
- package/dist/esm/Recommendation/Stores/index.d.ts +1 -1
- package/dist/esm/Recommendation/Stores/index.d.ts.map +1 -1
- package/dist/esm/Recommendation/Stores/index.js +1 -1
- package/dist/esm/Search/SearchStore.d.ts +8 -8
- package/dist/esm/Search/SearchStore.d.ts.map +1 -1
- package/dist/esm/Search/SearchStore.js +8 -8
- package/dist/{cjs/Search/Stores/FacetStore.d.ts → esm/Search/Stores/SearchFacetStore.d.ts} +9 -10
- package/dist/esm/Search/Stores/SearchFacetStore.d.ts.map +1 -0
- package/dist/esm/Search/Stores/{FacetStore.js → SearchFacetStore.js} +8 -8
- package/dist/{cjs/Search/Stores/FilterStore.d.ts → esm/Search/Stores/SearchFilterStore.d.ts} +3 -3
- package/dist/esm/Search/Stores/SearchFilterStore.d.ts.map +1 -0
- package/dist/esm/Search/Stores/{FilterStore.js → SearchFilterStore.js} +1 -1
- package/dist/{cjs/Search/Stores/MerchandisingStore.d.ts → esm/Search/Stores/SearchMerchandisingStore.d.ts} +5 -4
- package/dist/esm/Search/Stores/SearchMerchandisingStore.d.ts.map +1 -0
- package/dist/esm/Search/Stores/{MerchandisingStore.js → SearchMerchandisingStore.js} +2 -2
- package/dist/{cjs/Search/Stores/PaginationStore.d.ts → esm/Search/Stores/SearchPaginationStore.d.ts} +2 -2
- package/dist/esm/Search/Stores/SearchPaginationStore.d.ts.map +1 -0
- package/dist/esm/Search/Stores/{PaginationStore.js → SearchPaginationStore.js} +1 -1
- package/dist/esm/Search/Stores/{QueryStore.d.ts → SearchQueryStore.d.ts} +2 -2
- package/dist/esm/Search/Stores/SearchQueryStore.d.ts.map +1 -0
- package/dist/esm/Search/Stores/{QueryStore.js → SearchQueryStore.js} +1 -1
- package/dist/esm/Search/Stores/{ResultStore.d.ts → SearchResultStore.d.ts} +2 -2
- package/dist/esm/Search/Stores/SearchResultStore.d.ts.map +1 -0
- package/dist/esm/Search/Stores/{ResultStore.js → SearchResultStore.js} +1 -1
- package/dist/esm/Search/Stores/{SortingStore.d.ts → SearchSortingStore.d.ts} +2 -2
- package/dist/esm/Search/Stores/SearchSortingStore.d.ts.map +1 -0
- package/dist/esm/Search/Stores/{SortingStore.js → SearchSortingStore.js} +1 -1
- package/dist/esm/Search/Stores/index.d.ts +7 -7
- package/dist/esm/Search/Stores/index.d.ts.map +1 -1
- package/dist/esm/Search/Stores/index.js +7 -7
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +5 -5
- package/dist/cjs/Autocomplete/Stores/FacetStore.d.ts.map +0 -1
- package/dist/cjs/Autocomplete/Stores/QueryStore.d.ts.map +0 -1
- package/dist/cjs/Autocomplete/Stores/StateStore.d.ts.map +0 -1
- package/dist/cjs/Autocomplete/Stores/TermStore.d.ts.map +0 -1
- package/dist/cjs/Autocomplete/Stores/TrendingStore.d.ts +0 -9
- package/dist/cjs/Autocomplete/Stores/TrendingStore.d.ts.map +0 -1
- package/dist/cjs/Finder/Stores/SelectionStore.d.ts.map +0 -1
- package/dist/cjs/Recommendation/Stores/ProfileStore.d.ts.map +0 -1
- package/dist/cjs/Search/Stores/FacetStore.d.ts.map +0 -1
- package/dist/cjs/Search/Stores/FilterStore.d.ts.map +0 -1
- package/dist/cjs/Search/Stores/MerchandisingStore.d.ts.map +0 -1
- package/dist/cjs/Search/Stores/PaginationStore.d.ts.map +0 -1
- package/dist/cjs/Search/Stores/QueryStore.d.ts.map +0 -1
- package/dist/cjs/Search/Stores/ResultStore.d.ts.map +0 -1
- package/dist/cjs/Search/Stores/SortingStore.d.ts.map +0 -1
- package/dist/esm/Autocomplete/Stores/FacetStore.d.ts.map +0 -1
- package/dist/esm/Autocomplete/Stores/QueryStore.d.ts.map +0 -1
- package/dist/esm/Autocomplete/Stores/StateStore.d.ts.map +0 -1
- package/dist/esm/Autocomplete/Stores/TermStore.d.ts.map +0 -1
- package/dist/esm/Autocomplete/Stores/TrendingStore.d.ts +0 -9
- package/dist/esm/Autocomplete/Stores/TrendingStore.d.ts.map +0 -1
- package/dist/esm/Finder/Stores/SelectionStore.d.ts.map +0 -1
- package/dist/esm/Recommendation/Stores/ProfileStore.d.ts.map +0 -1
- package/dist/esm/Search/Stores/FacetStore.d.ts.map +0 -1
- package/dist/esm/Search/Stores/FilterStore.d.ts.map +0 -1
- package/dist/esm/Search/Stores/MerchandisingStore.d.ts.map +0 -1
- package/dist/esm/Search/Stores/PaginationStore.d.ts.map +0 -1
- package/dist/esm/Search/Stores/QueryStore.d.ts.map +0 -1
- package/dist/esm/Search/Stores/ResultStore.d.ts.map +0 -1
- package/dist/esm/Search/Stores/SortingStore.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FinderSelectionStore.d.ts","sourceRoot":"","sources":["../../../../src/Finder/Stores/FinderSelectionStore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,aAAa,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC5H,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,EACX,iBAAiB,EACjB,0BAA0B,EAC1B,+BAA+B,EAC/B,0B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ts","sourceRoot":"","sources":["../../../../src/Finder/Stores/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Finder/Stores/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { FinderSelectionStore } from './FinderSelectionStore';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { AbstractStore } from '../Abstract/AbstractStore';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { SearchResultStore } from '../Search/Stores';
|
|
3
|
+
import { RecommendationProfileStore } from './Stores';
|
|
4
4
|
import type { RecommendationStoreConfig, StoreServices } from '../types';
|
|
5
5
|
import type { RecommendCombinedResponseModel } from '@searchspring/snap-client';
|
|
6
6
|
export declare class RecommendationStore extends AbstractStore {
|
|
7
7
|
services: StoreServices;
|
|
8
8
|
loaded: boolean;
|
|
9
|
-
profile:
|
|
10
|
-
results:
|
|
9
|
+
profile: RecommendationProfileStore;
|
|
10
|
+
results: SearchResultStore;
|
|
11
11
|
constructor(config: RecommendationStoreConfig, services: StoreServices);
|
|
12
12
|
reset(): void;
|
|
13
13
|
update(data?: RecommendCombinedResponseModel): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecommendationStore.d.ts","sourceRoot":"","sources":["../../../src/Recommendation/RecommendationStore.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"RecommendationStore.d.ts","sourceRoot":"","sources":["../../../src/Recommendation/RecommendationStore.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,KAAK,EAAE,yBAAyB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzE,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAEhF,qBAAa,mBAAoB,SAAQ,aAAa;IAC9C,QAAQ,EAAE,aAAa,CAAC;IACxB,MAAM,UAAS;IACf,OAAO,EAAG,0BAA0B,CAAC;IACrC,OAAO,EAAG,iBAAiB,CAAC;gBAEvB,MAAM,EAAE,yBAAyB,EAAE,QAAQ,EAAE,aAAa;IAiB/D,KAAK,IAAI,IAAI;IAIb,MAAM,CAAC,IAAI,CAAC,EAAE,8BAA8B,GAAG,IAAI;CAM1D"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { makeObservable, observable } from 'mobx';
|
|
2
2
|
import { AbstractStore } from '../Abstract/AbstractStore';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { SearchResultStore } from '../Search/Stores';
|
|
4
|
+
import { RecommendationProfileStore } from './Stores';
|
|
5
5
|
export class RecommendationStore extends AbstractStore {
|
|
6
6
|
constructor(config, services) {
|
|
7
7
|
super(config);
|
|
@@ -22,7 +22,7 @@ export class RecommendationStore extends AbstractStore {
|
|
|
22
22
|
update(data) {
|
|
23
23
|
this.error = undefined;
|
|
24
24
|
this.loaded = !!data?.profile;
|
|
25
|
-
this.profile = new
|
|
26
|
-
this.results = new
|
|
25
|
+
this.profile = new RecommendationProfileStore(this.services, data);
|
|
26
|
+
this.results = new SearchResultStore(this.config, this.services, data?.results);
|
|
27
27
|
}
|
|
28
28
|
}
|
package/dist/esm/Recommendation/Stores/{ProfileStore.d.ts → RecommendationProfileStore.d.ts}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { StoreServices } from '../../types';
|
|
2
2
|
import type { RecommendCombinedResponseModel } from '@searchspring/snap-client';
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class RecommendationProfileStore {
|
|
4
4
|
tag: string;
|
|
5
5
|
placement: string;
|
|
6
6
|
display: Record<string, any>;
|
|
7
7
|
constructor(services: StoreServices, data?: RecommendCombinedResponseModel);
|
|
8
8
|
}
|
|
9
|
-
//# sourceMappingURL=
|
|
9
|
+
//# sourceMappingURL=RecommendationProfileStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecommendationProfileStore.d.ts","sourceRoot":"","sources":["../../../../src/Recommendation/Stores/RecommendationProfileStore.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAEhF,qBAAa,0BAA0B;IAC/B,GAAG,EAAG,MAAM,CAAC;IACb,SAAS,EAAG,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;gBAE7B,QAAQ,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,8BAA8B;CAe1E"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { RecommendationProfileStore } from './RecommendationProfileStore';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Recommendation/Stores/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Recommendation/Stores/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { RecommendationProfileStore } from './RecommendationProfileStore';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SearchResponseModel, MetaResponseModel } from '@searchspring/snapi-types';
|
|
2
2
|
import type { SearchStoreConfig, StoreServices } from '../types';
|
|
3
|
-
import {
|
|
3
|
+
import { SearchMerchandisingStore, SearchFacetStore, SearchFilterStore, SearchResultStore, SearchPaginationStore, SearchSortingStore, SearchQueryStore } from './Stores';
|
|
4
4
|
import { AbstractStore } from '../Abstract/AbstractStore';
|
|
5
5
|
import { StorageStore } from '../Storage/StorageStore';
|
|
6
6
|
export declare class SearchStore extends AbstractStore {
|
|
@@ -9,13 +9,13 @@ export declare class SearchStore extends AbstractStore {
|
|
|
9
9
|
meta: MetaResponseModel;
|
|
10
10
|
};
|
|
11
11
|
meta: MetaResponseModel;
|
|
12
|
-
merchandising:
|
|
13
|
-
search:
|
|
14
|
-
facets:
|
|
15
|
-
filters:
|
|
16
|
-
results:
|
|
17
|
-
pagination:
|
|
18
|
-
sorting:
|
|
12
|
+
merchandising: SearchMerchandisingStore;
|
|
13
|
+
search: SearchQueryStore;
|
|
14
|
+
facets: SearchFacetStore;
|
|
15
|
+
filters: SearchFilterStore;
|
|
16
|
+
results: SearchResultStore;
|
|
17
|
+
pagination: SearchPaginationStore;
|
|
18
|
+
sorting: SearchSortingStore;
|
|
19
19
|
storage: StorageStore;
|
|
20
20
|
constructor(config: SearchStoreConfig, services: StoreServices);
|
|
21
21
|
reset(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchStore.d.ts","sourceRoot":"","sources":["../../../src/Search/SearchStore.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACxF,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACjE,OAAO,
|
|
1
|
+
{"version":3,"file":"SearchStore.d.ts","sourceRoot":"","sources":["../../../src/Search/SearchStore.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACxF,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACjE,OAAO,EACN,wBAAwB,EACxB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,gBAAgB,EAChB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,qBAAa,WAAY,SAAQ,aAAa;IACtC,QAAQ,EAAE,aAAa,CAAC;IACxB,IAAI,EAAG,mBAAmB,GAAG;QAAE,IAAI,EAAE,iBAAiB,CAAA;KAAE,CAAC;IACzD,IAAI,EAAG,iBAAiB,CAAC;IACzB,aAAa,EAAG,wBAAwB,CAAC;IACzC,MAAM,EAAG,gBAAgB,CAAC;IAC1B,MAAM,EAAG,gBAAgB,CAAC;IAC1B,OAAO,EAAG,iBAAiB,CAAC;IAC5B,OAAO,EAAG,iBAAiB,CAAC;IAC5B,UAAU,EAAG,qBAAqB,CAAC;IACnC,OAAO,EAAG,kBAAkB,CAAC;IAC7B,OAAO,EAAE,YAAY,CAAC;gBAEjB,MAAM,EAAE,iBAAiB,EAAE,QAAQ,EAAE,aAAa;IAqCvD,KAAK,IAAI,IAAI;IAIb,MAAM,CAAC,IAAI,GAAE,mBAAmB,GAAG;QAAE,IAAI,CAAC,EAAE,iBAAiB,CAAA;KAAO,GAAG,IAAI;CAalF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeObservable, observable } from 'mobx';
|
|
2
|
-
import {
|
|
2
|
+
import { SearchMerchandisingStore, SearchFacetStore, SearchFilterStore, SearchResultStore, SearchPaginationStore, SearchSortingStore, SearchQueryStore, } from './Stores';
|
|
3
3
|
import { AbstractStore } from '../Abstract/AbstractStore';
|
|
4
4
|
import { StorageStore } from '../Storage/StorageStore';
|
|
5
5
|
export class SearchStore extends AbstractStore {
|
|
@@ -42,12 +42,12 @@ export class SearchStore extends AbstractStore {
|
|
|
42
42
|
this.data = JSON.parse(JSON.stringify(data));
|
|
43
43
|
this.loaded = !!data.pagination;
|
|
44
44
|
this.meta = data.meta || {};
|
|
45
|
-
this.merchandising = new
|
|
46
|
-
this.search = new
|
|
47
|
-
this.facets = new
|
|
48
|
-
this.filters = new
|
|
49
|
-
this.results = new
|
|
50
|
-
this.pagination = new
|
|
51
|
-
this.sorting = new
|
|
45
|
+
this.merchandising = new SearchMerchandisingStore(this.services, data?.merchandising || {});
|
|
46
|
+
this.search = new SearchQueryStore(this.services, data?.search || {});
|
|
47
|
+
this.facets = new SearchFacetStore(this.config, this.services, this.storage, data.facets, data?.pagination || {}, this.meta);
|
|
48
|
+
this.filters = new SearchFilterStore(this.services, data.filters, this.meta);
|
|
49
|
+
this.results = new SearchResultStore(this.config, this.services, data?.results || [], data.pagination, data.merchandising);
|
|
50
|
+
this.pagination = new SearchPaginationStore(this.config, this.services, data.pagination);
|
|
51
|
+
this.sorting = new SearchSortingStore(this.services, data?.sorting || [], data?.search || {}, this.meta);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -2,11 +2,11 @@ import type { UrlManager } from '@searchspring/snap-url-manager';
|
|
|
2
2
|
import type { StorageStore } from '../../Storage/StorageStore';
|
|
3
3
|
import type { AutocompleteStoreConfig, SearchStoreConfig, StoreServices } from '../../types';
|
|
4
4
|
import type { MetaResponseModel, MetaResponseModelFacet, MetaResponseModelFacetSlider, MetaResponseModelFacetValueMultipleEnum, MetaResponseModelFacetHierarchyAllOf, SearchResponseModelPagination, SearchResponseModelFacet, SearchResponseModelFacetRange, SearchResponseModelFacetValue, SearchResponseModelFacetValueAllOfValues, SearchRequestModelFilterRangeAllOfValue } from '@searchspring/snapi-types';
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class SearchFacetStore extends Array {
|
|
6
6
|
static get [Symbol.species](): ArrayConstructor;
|
|
7
|
-
constructor(config: SearchStoreConfig | AutocompleteStoreConfig, services: StoreServices, storage: StorageStore, facetsData: SearchResponseModelFacet[], pagination: SearchResponseModelPagination, meta: MetaResponseModel);
|
|
7
|
+
constructor(config: SearchStoreConfig | AutocompleteStoreConfig, services: StoreServices, storage: StorageStore, facetsData: SearchResponseModelFacet[] | undefined, pagination: SearchResponseModelPagination | undefined, meta: MetaResponseModel);
|
|
8
8
|
}
|
|
9
|
-
declare class Facet {
|
|
9
|
+
export declare class Facet {
|
|
10
10
|
services: StoreServices;
|
|
11
11
|
type: string;
|
|
12
12
|
field: string;
|
|
@@ -31,7 +31,7 @@ export declare class RangeFacet extends Facet {
|
|
|
31
31
|
constructor(config: SearchStoreConfig | AutocompleteStoreConfig, services: StoreServices, storage: StorageStore, facet: SearchResponseModelFacetRange, facetMeta: MetaResponseModelFacetSlider);
|
|
32
32
|
}
|
|
33
33
|
export declare class ValueFacet extends Facet {
|
|
34
|
-
values: Array<
|
|
34
|
+
values: Array<FacetHierarchyValue | FacetValue | FacetRangeValue | undefined>;
|
|
35
35
|
search: {
|
|
36
36
|
input: string;
|
|
37
37
|
};
|
|
@@ -46,9 +46,9 @@ export declare class ValueFacet extends Facet {
|
|
|
46
46
|
calculate: () => void;
|
|
47
47
|
};
|
|
48
48
|
constructor(config: SearchStoreConfig | AutocompleteStoreConfig, services: StoreServices, storage: StorageStore, facet: SearchResponseModelFacetValue, facetMeta: MetaResponseModelFacet);
|
|
49
|
-
get refinedValues(): (
|
|
49
|
+
get refinedValues(): (FacetHierarchyValue | FacetValue | FacetRangeValue | undefined)[];
|
|
50
50
|
}
|
|
51
|
-
export declare class
|
|
51
|
+
export declare class FacetValue {
|
|
52
52
|
label: string;
|
|
53
53
|
count: number;
|
|
54
54
|
filtered: boolean;
|
|
@@ -58,12 +58,12 @@ export declare class Value {
|
|
|
58
58
|
preview?: () => void;
|
|
59
59
|
constructor(services: StoreServices, facet: ValueFacet, value: SearchResponseModelFacetValueAllOfValues);
|
|
60
60
|
}
|
|
61
|
-
export declare class
|
|
61
|
+
export declare class FacetHierarchyValue extends FacetValue {
|
|
62
62
|
level: number;
|
|
63
63
|
history: boolean;
|
|
64
64
|
constructor(services: StoreServices, facet: ValueFacet & MetaResponseModelFacetHierarchyAllOf, value: SearchResponseModelFacetValueAllOfValues, filteredValues: SearchResponseModelFacetValueAllOfValues[]);
|
|
65
65
|
}
|
|
66
|
-
export declare class
|
|
66
|
+
export declare class FacetRangeValue {
|
|
67
67
|
label: string;
|
|
68
68
|
count: number;
|
|
69
69
|
filtered: boolean;
|
|
@@ -73,5 +73,4 @@ export declare class RangeValue {
|
|
|
73
73
|
url: UrlManager;
|
|
74
74
|
constructor(services: StoreServices, facet: ValueFacet, value: SearchResponseModelFacetValueAllOfValues);
|
|
75
75
|
}
|
|
76
|
-
|
|
77
|
-
//# sourceMappingURL=FacetStore.d.ts.map
|
|
76
|
+
//# sourceMappingURL=SearchFacetStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchFacetStore.d.ts","sourceRoot":"","sources":["../../../../src/Search/Stores/SearchFacetStore.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,aAAa,EAAoB,MAAM,aAAa,CAAC;AAC/G,OAAO,KAAK,EACX,iBAAiB,EACjB,sBAAsB,EAEtB,4BAA4B,EAC5B,uCAAuC,EACvC,oCAAoC,EACpC,6BAA6B,EAC7B,wBAAwB,EACxB,6BAA6B,EAC7B,6BAA6B,EAE7B,wCAAwC,EACxC,uCAAuC,EACvC,MAAM,2BAA2B,CAAC;AAEnC,qBAAa,gBAAiB,SAAQ,KAAK;IAC1C,MAAM,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,gBAAgB,CAE9C;gBAEA,MAAM,EAAE,iBAAiB,GAAG,u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 'mobx';
|
|
2
|
-
export class
|
|
2
|
+
export class SearchFacetStore extends Array {
|
|
3
3
|
static get [Symbol.species]() {
|
|
4
4
|
return Array;
|
|
5
5
|
}
|
|
@@ -47,7 +47,7 @@ export class FacetStore extends Array {
|
|
|
47
47
|
super(...facets);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
class Facet {
|
|
50
|
+
export class Facet {
|
|
51
51
|
constructor(services, storage, facet, facetMeta) {
|
|
52
52
|
this.filtered = false;
|
|
53
53
|
this.custom = {};
|
|
@@ -176,15 +176,15 @@ export class ValueFacet extends Facet {
|
|
|
176
176
|
case 'value':
|
|
177
177
|
if (facetMeta.display === 'hierarchy') {
|
|
178
178
|
const filteredValues = facet?.values?.filter((value) => value.filtered) || [];
|
|
179
|
-
return new
|
|
179
|
+
return new FacetHierarchyValue(services, this, value, filteredValues);
|
|
180
180
|
}
|
|
181
181
|
else {
|
|
182
182
|
// converting values to strings to ensure UrlManager state matches state created from URL
|
|
183
183
|
value.value = value?.value?.toString();
|
|
184
|
-
return new
|
|
184
|
+
return new FacetValue(services, this, value);
|
|
185
185
|
}
|
|
186
186
|
case 'range-buckets':
|
|
187
|
-
return new
|
|
187
|
+
return new FacetRangeValue(services, this, value);
|
|
188
188
|
}
|
|
189
189
|
})) ||
|
|
190
190
|
[];
|
|
@@ -220,7 +220,7 @@ export class ValueFacet extends Facet {
|
|
|
220
220
|
return values;
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
export class
|
|
223
|
+
export class FacetValue {
|
|
224
224
|
constructor(services, facet, value) {
|
|
225
225
|
Object.assign(this, value);
|
|
226
226
|
if (this.filtered) {
|
|
@@ -235,7 +235,7 @@ export class Value {
|
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
|
-
export class
|
|
238
|
+
export class FacetHierarchyValue extends FacetValue {
|
|
239
239
|
constructor(services, facet, value, filteredValues) {
|
|
240
240
|
super(services, facet, value);
|
|
241
241
|
this.level = 0;
|
|
@@ -257,7 +257,7 @@ export class HierarchyValue extends Value {
|
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
-
export class
|
|
260
|
+
export class FacetRangeValue {
|
|
261
261
|
constructor(services, facet, value) {
|
|
262
262
|
Object.assign(this, value);
|
|
263
263
|
if (this.filtered) {
|
package/dist/{cjs/Search/Stores/FilterStore.d.ts → esm/Search/Stores/SearchFilterStore.d.ts}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { UrlManager } from '@searchspring/snap-url-manager';
|
|
2
2
|
import type { StoreServices } from '../../types';
|
|
3
3
|
import type { SearchResponseModelFilter, MetaResponseModel, SearchResponseModelFilterRange, SearchResponseModelFilterValue, MetaResponseModelFacetDefaults, MetaResponseModelFacet } from '@searchspring/snapi-types';
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class SearchFilterStore extends Array<RangeFilter | Filter> {
|
|
5
5
|
static get [Symbol.species](): ArrayConstructor;
|
|
6
|
-
constructor(services: StoreServices, filtersData: SearchResponseModelFilter[], meta: MetaResponseModel);
|
|
6
|
+
constructor(services: StoreServices, filtersData: SearchResponseModelFilter[] | undefined, meta: MetaResponseModel);
|
|
7
7
|
}
|
|
8
8
|
export declare class Filter {
|
|
9
9
|
label: string;
|
|
@@ -32,4 +32,4 @@ export declare class RangeFilter {
|
|
|
32
32
|
url: UrlManager;
|
|
33
33
|
constructor(services: StoreServices, filter: SearchResponseModelFilterRange, meta: MetaResponseModelFacet & MetaResponseModelFacetDefaults);
|
|
34
34
|
}
|
|
35
|
-
//# sourceMappingURL=
|
|
35
|
+
//# sourceMappingURL=SearchFilterStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchFilterStore.d.ts","sourceRoot":"","sources":["../../../../src/Search/Stores/SearchFilterStore.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK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2
2
|
import type { SearchResponseModelMerchandising, SearchResponseModelMerchandisingContentInline } from '@searchspring/snapi-types';
|
|
3
|
-
declare enum ContentType {
|
|
3
|
+
export declare enum ContentType {
|
|
4
4
|
HEADER = "header",
|
|
5
5
|
BANNER = "banner",
|
|
6
6
|
FOOTER = "footer",
|
|
7
7
|
LEFT = "left",
|
|
8
8
|
INLINE = "inline"
|
|
9
9
|
}
|
|
10
|
-
export declare
|
|
10
|
+
export declare type BannerContent = Partial<Record<ContentType, Content>>;
|
|
11
|
+
export declare class SearchMerchandisingStore {
|
|
11
12
|
redirect: string;
|
|
12
|
-
content:
|
|
13
|
+
content: BannerContent;
|
|
13
14
|
constructor(services: StoreServices, merchData: SearchResponseModelMerchandising);
|
|
14
15
|
}
|
|
15
16
|
declare class Content extends Array<string | SearchResponseModelMerchandisingContentInline> {
|
|
@@ -17,4 +18,4 @@ declare class Content extends Array<string | SearchResponseModelMerchandisingCon
|
|
|
17
18
|
constructor(content: string[] | SearchResponseModelMerchandisingContentInline[]);
|
|
18
19
|
}
|
|
19
20
|
export {};
|
|
20
|
-
//# sourceMappingURL=
|
|
21
|
+
//# sourceMappingURL=SearchMerchandisingStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchMerchandisingStore.d.ts","sourceRoot":"","sources":["../../../../src/Search/Stores/SearchMerchandisingStore.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,gCAAgC,EAAE,6CAA6C,EAAE,MAAM,2BAA2B,CAAC;AAEjI,oBAAY,WAAW;IACtB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,MAAM,WAAW;CACjB;AAED,oBAAY,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC;AAElE,qBAAa,wBAAwB;IAC7B,QAAQ,SAAM;IACd,OAAO,EAAE,aAAa,CAAM;gBAEvB,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,gCAAgC;CAahF;AAED,cAAM,OAAQ,SAAQ,KAAK,CAAC,MAAM,GAAG,6CAA6C,CAAC;IAClF,MAAM,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,gBAAgB,CAE9C;gBAEW,OAAO,EAAE,MAAM,EAAE,GAAG,6CAA6C,EAAE;CAG/E"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var ContentType;
|
|
1
|
+
export var ContentType;
|
|
2
2
|
(function (ContentType) {
|
|
3
3
|
ContentType["HEADER"] = "header";
|
|
4
4
|
ContentType["BANNER"] = "banner";
|
|
@@ -6,7 +6,7 @@ var ContentType;
|
|
|
6
6
|
ContentType["LEFT"] = "left";
|
|
7
7
|
ContentType["INLINE"] = "inline";
|
|
8
8
|
})(ContentType || (ContentType = {}));
|
|
9
|
-
export class
|
|
9
|
+
export class SearchMerchandisingStore {
|
|
10
10
|
constructor(services, merchData) {
|
|
11
11
|
this.redirect = '';
|
|
12
12
|
this.content = {};
|
package/dist/{cjs/Search/Stores/PaginationStore.d.ts → esm/Search/Stores/SearchPaginationStore.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SearchStoreConfig, StoreServices } from '../../types';
|
|
2
2
|
import type { SearchResponseModelPagination } from '@searchspring/snapi-types';
|
|
3
3
|
import type { UrlManager } from '@searchspring/snap-url-manager';
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class SearchPaginationStore {
|
|
5
5
|
services: StoreServices;
|
|
6
6
|
page: number;
|
|
7
7
|
pageSize: number;
|
|
@@ -36,4 +36,4 @@ export declare class Page {
|
|
|
36
36
|
active?: boolean;
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
|
-
//# sourceMappingURL=
|
|
39
|
+
//# sourceMappingURL=SearchPaginationStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|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f,MAAM,EAAE,OAAO,CAAC;IAChB,GAAG,EAAE,UAAU,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;gBAGlB,QAAQ,EAAE,aAAa,EACvB,IAAI,EAAE;QACL,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,OAAO,CAAC;KACjB;CAQF"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { UrlManager } from '@searchspring/snap-url-manager';
|
|
2
2
|
import type { StoreServices } from '../../types';
|
|
3
3
|
import type { SearchResponseModelSearch, SearchResponseModelSearchMatchTypeEnum } from '@searchspring/snapi-types';
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class SearchQueryStore {
|
|
5
5
|
query?: Query;
|
|
6
6
|
didYouMean?: Query;
|
|
7
7
|
originalQuery?: Query;
|
|
@@ -14,4 +14,4 @@ declare class Query {
|
|
|
14
14
|
constructor(services: StoreServices, query: string);
|
|
15
15
|
}
|
|
16
16
|
export {};
|
|
17
|
-
//# sourceMappingURL=
|
|
17
|
+
//# sourceMappingURL=SearchQueryStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchQueryStore.d.ts","sourceRoot":"","sources":["../../../../src/Search/Stores/SearchQueryStore.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,yBAAyB,EAAE,sCAAsC,EAAE,MAAM,2BAA2B,CAAC;AAEnH,qBAAa,gBAAgB;IACrB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB,SAAS,CAAC,EAAE,sCAAsC,CAAC;gBAE9C,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAE,yBAAyB;CAyBtE;AASD,cAAM,KAAK;IACH,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,UAAU,CAAC;gBAEX,QAAQ,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM;CASlD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SearchStoreConfig, AutocompleteStoreConfig, StoreServices } from '../../types';
|
|
2
2
|
import type { SearchResponseModelResult, SearchResponseModelPagination, SearchResponseModelMerchandising, SearchResponseModelResultMappings, SearchResponseModelMerchandisingContentInline, SearchResponseModelMerchandisingContentConfig } from '@searchspring/snapi-types';
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class SearchResultStore extends Array<Product | Banner> {
|
|
4
4
|
static get [Symbol.species](): ArrayConstructor;
|
|
5
5
|
constructor(config: SearchStoreConfig | AutocompleteStoreConfig, services: StoreServices, resultData?: SearchResponseModelResult[], paginationData?: SearchResponseModelPagination, merchData?: SearchResponseModelMerchandising);
|
|
6
6
|
}
|
|
@@ -31,4 +31,4 @@ declare class Child {
|
|
|
31
31
|
constructor(services: StoreServices, result: SearchResponseModelResult);
|
|
32
32
|
}
|
|
33
33
|
export {};
|
|
34
|
-
//# sourceMappingURL=
|
|
34
|
+
//# sourceMappingURL=SearchResultStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchResultStore.d.ts","sourceRoot":"","sources":["../../../../src/Search/Stores/SearchResultStore.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC7F,OAAO,KAAK,EACX,yBAAyB,EACzB,6BAA6B,EAC7B,gCAAgC,EAChC,iCAAiC,EACjC,6CAA6C,EAC7C,6CAA6C,EAC7C,MAAM,2BAA2B,CAAC;AAEnC,qBAAa,iBAAkB,SAAQ,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC;IAC7D,MAAM,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,gBAAgB,CAE9C;gBAGA,MAAM,EAAE,iBAAiB,GAAG,uBAAuB,EACnD,QAAQ,EAAE,aAAa,EACvB,UAAU,CAAC,EAAE,yBAAyB,EAAE,EACxC,cAAc,CAAC,EAAE,6BAA6B,EAC9C,SAAS,CAAC,EAAE,gCAAgC;CAqB7C;AAED,qBAAa,MAAM;IACX,IAAI,SAAY;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAM;IACzC,QAAQ,EAAE,iCAAiC,CAEhD;IACK,MAAM,KAAM;IACZ,MAAM,EAAE,6CAA6C,CAAC;IACtD,KAAK,EAAE,MAAM,CAAC;gBAET,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAE,6CAA6C;CAW1F;AAED,qBAAa,OAAO;IACZ,IAAI,SAAa;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAM;IACzC,QAAQ,EAAE,iCAAiC,CAEhD;IACK,MAAM,KAAM;IACZ,QAAQ,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAM;gBAExB,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAE,yBAAyB;CA8BtE;AAED,cAAM,KAAK;IACH,IAAI,SAAW;IACf,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAM;IACzC,MAAM,KAAM;gBAEP,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAE,yBAAyB;CAUtE"}
|
|
@@ -5,7 +5,7 @@ declare type MetaResponseModelSortOptionMutated = MetaResponseModelSortOption &
|
|
|
5
5
|
active?: boolean;
|
|
6
6
|
default?: boolean;
|
|
7
7
|
};
|
|
8
|
-
export declare class
|
|
8
|
+
export declare class SearchSortingStore {
|
|
9
9
|
options: Option[];
|
|
10
10
|
constructor(services: StoreServices, sorting: SearchResponseModelSorting[], search: SearchResponseModelSearch, meta: MetaResponseModel);
|
|
11
11
|
get current(): Option | undefined;
|
|
@@ -22,4 +22,4 @@ declare class Option {
|
|
|
22
22
|
constructor(services: StoreServices, option: MetaResponseModelSortOptionMutated, index: number);
|
|
23
23
|
}
|
|
24
24
|
export {};
|
|
25
|
-
//# sourceMappingURL=
|
|
25
|
+
//# sourceMappingURL=SearchSortingStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchSortingStore.d.ts","sourceRoot":"","sources":["../../../../src/Search/Stores/SearchSortingStore.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EACX,iBAAiB,EACjB,2BAA2B,EAC3B,yBAAyB,EACzB,0BAA0B,EAC1B,MAAM,2BAA2B,CAAC;AAEnC,aAAK,kCAAkC,GAAG,2BAA2B,GAAG;IACvE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,qBAAa,kBAAkB;IACvB,OAAO,EAAE,MAAM,EAAE,CAAM;gBAElB,QAAQ,EAAE,aAAa,EAAE,OAAO,EAAE,0BAA0B,EAAE,EAAE,MAAM,EAAE,yBAAyB,EAAE,IAAI,EAAE,iBAAiB;IAsCtI,IAAW,OAAO,IAAI,MAAM,GAAG,SAAS,CAEvC;CACD;AAED,cAAM,MAAM;IACJ,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,UAAU,CAAC;gBAEX,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAE,kCAAkC,EAAE,KAAK,EAAE,MAAM;CAuB9F"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
1
|
+
export { SearchMerchandisingStore, BannerContent, ContentType } from './SearchMerchandisingStore';
|
|
2
|
+
export { SearchFacetStore, ValueFacet, RangeFacet, FacetValue, FacetHierarchyValue, FacetRangeValue } from './SearchFacetStore';
|
|
3
|
+
export { SearchFilterStore, Filter } from './SearchFilterStore';
|
|
4
|
+
export { SearchPaginationStore } from './SearchPaginationStore';
|
|
5
|
+
export { SearchResultStore, Product, Banner } from './SearchResultStore';
|
|
6
|
+
export { SearchSortingStore } from './SearchSortingStore';
|
|
7
|
+
export { SearchQueryStore } from './SearchQueryStore';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Search/Stores/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Search/Stores/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAClG,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAChI,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
1
|
+
export { SearchMerchandisingStore, ContentType } from './SearchMerchandisingStore';
|
|
2
|
+
export { SearchFacetStore, ValueFacet, RangeFacet, FacetValue, FacetHierarchyValue, FacetRangeValue } from './SearchFacetStore';
|
|
3
|
+
export { SearchFilterStore, Filter } from './SearchFilterStore';
|
|
4
|
+
export { SearchPaginationStore } from './SearchPaginationStore';
|
|
5
|
+
export { SearchResultStore, Product, Banner } from './SearchResultStore';
|
|
6
|
+
export { SearchSortingStore } from './SearchSortingStore';
|
|
7
|
+
export { SearchQueryStore } from './SearchQueryStore';
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { AbstractStore } from './Abstract/AbstractStore';
|
|
|
2
2
|
export { AutocompleteStore } from './Autocomplete/AutocompleteStore';
|
|
3
3
|
export { FinderStore } from './Finder/FinderStore';
|
|
4
4
|
export { SearchStore } from './Search/SearchStore';
|
|
5
|
-
export
|
|
5
|
+
export * from './Search/Stores/';
|
|
6
6
|
export { RecommendationStore } from './Recommendation/RecommendationStore';
|
|
7
7
|
export { StorageStore, StorageConfig, StorageType } from './Storage/StorageStore';
|
|
8
8
|
export * from './types';
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAElF,cAAc,SAAS,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -2,7 +2,7 @@ export { AbstractStore } from './Abstract/AbstractStore';
|
|
|
2
2
|
export { AutocompleteStore } from './Autocomplete/AutocompleteStore';
|
|
3
3
|
export { FinderStore } from './Finder/FinderStore';
|
|
4
4
|
export { SearchStore } from './Search/SearchStore';
|
|
5
|
-
export
|
|
5
|
+
export * from './Search/Stores/';
|
|
6
6
|
export { RecommendationStore } from './Recommendation/RecommendationStore';
|
|
7
7
|
export { StorageStore, StorageType } from './Storage/StorageStore';
|
|
8
8
|
export * from './types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@searchspring/snap-store-mobx",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.1",
|
|
4
4
|
"description": "Snap MobX Store",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"test:watch": "jest --watch"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@searchspring/snap-toolbox": "^0.
|
|
23
|
+
"@searchspring/snap-toolbox": "^0.30.1",
|
|
24
24
|
"mobx": "6.6.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@searchspring/snap-client": "^0.
|
|
28
|
-
"@searchspring/snap-url-manager": "^0.
|
|
27
|
+
"@searchspring/snap-client": "^0.30.1",
|
|
28
|
+
"@searchspring/snap-url-manager": "^0.30.1"
|
|
29
29
|
},
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"files": [
|
|
32
32
|
"dist/**/*"
|
|
33
33
|
],
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "eb57d83253765d71e049f861c65e113f11cc28e3"
|
|
35
35
|
}
|