@getlupa/client 0.6.0-alpha-1 → 0.6.0-alpha-4
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/components/search-results/SearchResults.vue.d.ts +3 -0
- package/dist/cjs/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +2 -0
- package/dist/cjs/constants/searchResults.const.d.ts +1 -0
- package/dist/cjs/index.d.ts +3 -3
- package/dist/cjs/index.min.js +55 -30
- package/dist/cjs/store/modules/searchResult.d.ts +5 -0
- package/dist/cjs/types/General.d.ts +1 -0
- package/dist/cjs/types/search-results/PaginationOptions.d.ts +1 -0
- package/dist/cjs/types/search-results/SearchResultsOptions.d.ts +1 -0
- package/dist/cjs/types/search-results/SearchResultsSort.d.ts +1 -1
- package/dist/es/components/search-results/SearchResults.vue.d.ts +3 -0
- package/dist/es/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +2 -0
- package/dist/es/constants/searchResults.const.d.ts +1 -0
- package/dist/es/index.d.ts +3 -3
- package/dist/es/index.min.js +55 -26
- package/dist/es/store/modules/searchResult.d.ts +5 -0
- package/dist/es/types/General.d.ts +1 -0
- package/dist/es/types/search-results/PaginationOptions.d.ts +1 -0
- package/dist/es/types/search-results/SearchResultsOptions.d.ts +1 -0
- package/dist/es/types/search-results/SearchResultsSort.d.ts +1 -1
- package/dist/iife/components/search-results/SearchResults.vue.d.ts +3 -0
- package/dist/iife/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts +2 -0
- package/dist/iife/constants/searchResults.const.d.ts +1 -0
- package/dist/iife/index.d.ts +3 -3
- package/dist/iife/index.min.js +1 -1
- package/dist/iife/store/modules/searchResult.d.ts +5 -0
- package/dist/iife/types/General.d.ts +1 -0
- package/dist/iife/types/search-results/PaginationOptions.d.ts +1 -0
- package/dist/iife/types/search-results/SearchResultsOptions.d.ts +1 -0
- package/dist/iife/types/search-results/SearchResultsSort.d.ts +1 -1
- package/package.json +1 -1
package/dist/es/index.min.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export { SortDirection } from '@getlupa/client-sdk/Types';
|
|
2
|
-
|
|
3
1
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
2
|
|
|
5
3
|
function getDefaultExportFromCjs (x) {
|
|
@@ -24227,7 +24225,8 @@ var DEFAULT_OPTIONS_RESULTS = {
|
|
|
24227
24225
|
top: false,
|
|
24228
24226
|
bottom: true
|
|
24229
24227
|
},
|
|
24230
|
-
display: 5
|
|
24228
|
+
display: 5,
|
|
24229
|
+
displayMobile: 3
|
|
24231
24230
|
}
|
|
24232
24231
|
},
|
|
24233
24232
|
sort: [],
|
|
@@ -25606,7 +25605,7 @@ var toggleHierarchyParam = function toggleHierarchyParam() {
|
|
|
25606
25605
|
return getMostSpecificHierarchyTerms([param].concat(_toConsumableArray(params)));
|
|
25607
25606
|
};
|
|
25608
25607
|
|
|
25609
|
-
var searchResult$
|
|
25608
|
+
var searchResult$h = namespace("searchResult");
|
|
25610
25609
|
var params$c = namespace("params");
|
|
25611
25610
|
var options$8 = namespace("options");
|
|
25612
25611
|
|
|
@@ -25677,13 +25676,13 @@ __decorate([Prop({
|
|
|
25677
25676
|
default: false
|
|
25678
25677
|
})], CurrentFilters.prototype, "expandable", void 0);
|
|
25679
25678
|
|
|
25680
|
-
__decorate([searchResult$
|
|
25679
|
+
__decorate([searchResult$h.Getter("filters")], CurrentFilters.prototype, "currentFilters", void 0);
|
|
25681
25680
|
|
|
25682
|
-
__decorate([searchResult$
|
|
25681
|
+
__decorate([searchResult$h.Getter("facets")], CurrentFilters.prototype, "facets", void 0);
|
|
25683
25682
|
|
|
25684
|
-
__decorate([searchResult$
|
|
25683
|
+
__decorate([searchResult$h.Getter("displayFilters")], CurrentFilters.prototype, "displayFilters", void 0);
|
|
25685
25684
|
|
|
25686
|
-
__decorate([searchResult$
|
|
25685
|
+
__decorate([searchResult$h.Getter("currentFilterCount")], CurrentFilters.prototype, "currentFilterCount", void 0);
|
|
25687
25686
|
|
|
25688
25687
|
__decorate([options$8.Getter("initialFilters")], CurrentFilters.prototype, "initialFilters", void 0);
|
|
25689
25688
|
|
|
@@ -29682,7 +29681,7 @@ var scrollTo = function scrollTo(elementId) {
|
|
|
29682
29681
|
});
|
|
29683
29682
|
};
|
|
29684
29683
|
|
|
29685
|
-
var searchResult$
|
|
29684
|
+
var searchResult$g = namespace("searchResult");
|
|
29686
29685
|
var params$b = namespace("params");
|
|
29687
29686
|
|
|
29688
29687
|
var Facets = /*#__PURE__*/function (_Vue) {
|
|
@@ -29766,7 +29765,7 @@ __decorate([Prop({
|
|
|
29766
29765
|
|
|
29767
29766
|
__decorate([params$b.Getter("filters")], Facets.prototype, "currentFilters", void 0);
|
|
29768
29767
|
|
|
29769
|
-
__decorate([searchResult$
|
|
29768
|
+
__decorate([searchResult$g.Getter("facets")], Facets.prototype, "facets", void 0);
|
|
29770
29769
|
|
|
29771
29770
|
__decorate([params$b.Action("removeParams")], Facets.prototype, "removeParams", void 0);
|
|
29772
29771
|
|
|
@@ -30259,7 +30258,7 @@ var __vue_component__$D = /*#__PURE__*/normalizeComponent({
|
|
|
30259
30258
|
staticRenderFns: __vue_staticRenderFns__$D
|
|
30260
30259
|
}, __vue_inject_styles__$D, __vue_script__$D, __vue_scope_id__$D, __vue_is_functional_template__$D, __vue_module_identifier__$D, false, undefined, undefined, undefined);
|
|
30261
30260
|
|
|
30262
|
-
var searchResult$
|
|
30261
|
+
var searchResult$f = namespace("searchResult");
|
|
30263
30262
|
|
|
30264
30263
|
var MobileFilterSidebar = /*#__PURE__*/function (_Vue) {
|
|
30265
30264
|
_inherits(MobileFilterSidebar, _Vue);
|
|
@@ -30307,13 +30306,13 @@ var MobileFilterSidebar = /*#__PURE__*/function (_Vue) {
|
|
|
30307
30306
|
|
|
30308
30307
|
__decorate([Prop()], MobileFilterSidebar.prototype, "options", void 0);
|
|
30309
30308
|
|
|
30310
|
-
__decorate([searchResult$
|
|
30309
|
+
__decorate([searchResult$f.Mutation("setSidebarVisibility")], MobileFilterSidebar.prototype, "setSidebarVisibility", void 0);
|
|
30311
30310
|
|
|
30312
|
-
__decorate([searchResult$
|
|
30311
|
+
__decorate([searchResult$f.State(function (state) {
|
|
30313
30312
|
return state.isMobileSidebarVisible;
|
|
30314
30313
|
})], MobileFilterSidebar.prototype, "isMobileSidebarVisible", void 0);
|
|
30315
30314
|
|
|
30316
|
-
__decorate([searchResult$
|
|
30315
|
+
__decorate([searchResult$f.Getter("currentFilterCount")], MobileFilterSidebar.prototype, "currentFilterCount", void 0);
|
|
30317
30316
|
|
|
30318
30317
|
MobileFilterSidebar = __decorate([Component({
|
|
30319
30318
|
name: "mobileFilerSidebar",
|
|
@@ -30382,7 +30381,7 @@ var __vue_component__$C = /*#__PURE__*/normalizeComponent({
|
|
|
30382
30381
|
staticRenderFns: __vue_staticRenderFns__$C
|
|
30383
30382
|
}, __vue_inject_styles__$C, __vue_script__$C, __vue_scope_id__$C, __vue_is_functional_template__$C, __vue_module_identifier__$C, false, undefined, undefined, undefined);
|
|
30384
30383
|
|
|
30385
|
-
var searchResult$
|
|
30384
|
+
var searchResult$e = namespace("searchResult");
|
|
30386
30385
|
var params$a = namespace("params");
|
|
30387
30386
|
|
|
30388
30387
|
var SearchResultsDidYouMean = /*#__PURE__*/function (_Vue) {
|
|
@@ -30435,7 +30434,7 @@ __decorate([Prop({
|
|
|
30435
30434
|
default: ""
|
|
30436
30435
|
})], SearchResultsDidYouMean.prototype, "labels", void 0);
|
|
30437
30436
|
|
|
30438
|
-
__decorate([searchResult$
|
|
30437
|
+
__decorate([searchResult$e.State(function (state) {
|
|
30439
30438
|
return state.searchResult;
|
|
30440
30439
|
})], SearchResultsDidYouMean.prototype, "searchResult", void 0);
|
|
30441
30440
|
|
|
@@ -31585,7 +31584,7 @@ var __vue_component__$r = /*#__PURE__*/normalizeComponent({
|
|
|
31585
31584
|
staticRenderFns: __vue_staticRenderFns__$r
|
|
31586
31585
|
}, __vue_inject_styles__$r, __vue_script__$r, __vue_scope_id__$r, __vue_is_functional_template__$r, __vue_module_identifier__$r, false, undefined, undefined, undefined);
|
|
31587
31586
|
|
|
31588
|
-
var searchResult$
|
|
31587
|
+
var searchResult$d = namespace("searchResult");
|
|
31589
31588
|
|
|
31590
31589
|
var SearchResultsProductAddToCart = /*#__PURE__*/function (_Vue) {
|
|
31591
31590
|
_inherits(SearchResultsProductAddToCart, _Vue);
|
|
@@ -31646,7 +31645,7 @@ __decorate([Prop({
|
|
|
31646
31645
|
default: true
|
|
31647
31646
|
})], SearchResultsProductAddToCart.prototype, "inStock", void 0);
|
|
31648
31647
|
|
|
31649
|
-
__decorate([searchResult$
|
|
31648
|
+
__decorate([searchResult$d.State(function (state) {
|
|
31650
31649
|
return state.addToCartAmount;
|
|
31651
31650
|
})], SearchResultsProductAddToCart.prototype, "addToCartAmount", void 0);
|
|
31652
31651
|
|
|
@@ -32023,7 +32022,7 @@ var __vue_component__$n = /*#__PURE__*/normalizeComponent({
|
|
|
32023
32022
|
|
|
32024
32023
|
var tracking$3 = namespace("tracking");
|
|
32025
32024
|
var params$9 = namespace("params");
|
|
32026
|
-
var searchResult$
|
|
32025
|
+
var searchResult$c = namespace("searchResult");
|
|
32027
32026
|
var options$4 = namespace("options");
|
|
32028
32027
|
|
|
32029
32028
|
var SearchResultsProductCard = /*#__PURE__*/function (_Vue) {
|
|
@@ -32191,7 +32190,7 @@ __decorate([Prop({
|
|
|
32191
32190
|
default: false
|
|
32192
32191
|
})], SearchResultsProductCard.prototype, "isAdditionalPanel", void 0);
|
|
32193
32192
|
|
|
32194
|
-
__decorate([searchResult$
|
|
32193
|
+
__decorate([searchResult$c.State(function (state) {
|
|
32195
32194
|
return state.layout;
|
|
32196
32195
|
})], SearchResultsProductCard.prototype, "layout", void 0);
|
|
32197
32196
|
|
|
@@ -32899,6 +32898,7 @@ var __vue_component__$j = /*#__PURE__*/normalizeComponent({
|
|
|
32899
32898
|
}, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, undefined, undefined, undefined);
|
|
32900
32899
|
|
|
32901
32900
|
var params$6 = namespace("params");
|
|
32901
|
+
var searchResult$b = namespace("searchResult");
|
|
32902
32902
|
|
|
32903
32903
|
var SearchResultsPageSelect = /*#__PURE__*/function (_Vue) {
|
|
32904
32904
|
_inherits(SearchResultsPageSelect, _Vue);
|
|
@@ -32912,12 +32912,17 @@ var SearchResultsPageSelect = /*#__PURE__*/function (_Vue) {
|
|
|
32912
32912
|
}
|
|
32913
32913
|
|
|
32914
32914
|
_createClass(SearchResultsPageSelect, [{
|
|
32915
|
+
key: "pageOptionsCount",
|
|
32916
|
+
get: function get() {
|
|
32917
|
+
return this.isMobileWidth ? this.options.displayMobile : this.options.display;
|
|
32918
|
+
}
|
|
32919
|
+
}, {
|
|
32915
32920
|
key: "pages",
|
|
32916
32921
|
get: function get() {
|
|
32917
32922
|
var currentPage = Math.min(this.options.count, this.options.selectedPage);
|
|
32918
|
-
var delta = Math.floor(this.
|
|
32923
|
+
var delta = Math.floor(this.pageOptionsCount / 2),
|
|
32919
32924
|
left = currentPage - delta,
|
|
32920
|
-
right = currentPage + (this.
|
|
32925
|
+
right = currentPage + (this.pageOptionsCount - delta);
|
|
32921
32926
|
return Array.from({
|
|
32922
32927
|
length: this.options.count
|
|
32923
32928
|
}, function (v, k) {
|
|
@@ -32990,6 +32995,8 @@ __decorate([Prop({
|
|
|
32990
32995
|
default: {}
|
|
32991
32996
|
})], SearchResultsPageSelect.prototype, "options", void 0);
|
|
32992
32997
|
|
|
32998
|
+
__decorate([searchResult$b.Getter("isMobileWidth")], SearchResultsPageSelect.prototype, "isMobileWidth", void 0);
|
|
32999
|
+
|
|
32993
33000
|
__decorate([params$6.Action("appendParams")], SearchResultsPageSelect.prototype, "appendParams", void 0);
|
|
32994
33001
|
|
|
32995
33002
|
SearchResultsPageSelect = __decorate([Component({
|
|
@@ -33636,7 +33643,8 @@ var SearchResultsToolbar = /*#__PURE__*/function (_Vue) {
|
|
|
33636
33643
|
pageSelect: {
|
|
33637
33644
|
count: getPageCount(this.searchResult.total, this.limit),
|
|
33638
33645
|
selectedPage: this.page,
|
|
33639
|
-
display: pageSelect.display
|
|
33646
|
+
display: pageSelect.display,
|
|
33647
|
+
displayMobile: pageSelect.displayMobile
|
|
33640
33648
|
},
|
|
33641
33649
|
labels: this.options.labels
|
|
33642
33650
|
};
|
|
@@ -34866,6 +34874,9 @@ var SearchResults = /*#__PURE__*/function (_Vue) {
|
|
|
34866
34874
|
width: window.innerWidth,
|
|
34867
34875
|
grid: this.options.grid
|
|
34868
34876
|
});
|
|
34877
|
+
this.setScreenWidth({
|
|
34878
|
+
width: window.innerWidth
|
|
34879
|
+
});
|
|
34869
34880
|
}
|
|
34870
34881
|
}]);
|
|
34871
34882
|
|
|
@@ -34918,6 +34929,8 @@ __decorate([searchResult$1.Action("setLoading")], SearchResults.prototype, "setL
|
|
|
34918
34929
|
|
|
34919
34930
|
__decorate([options$1.Getter("defaultSearchResultPageSize")], SearchResults.prototype, "defaultSearchResultPageSize", void 0);
|
|
34920
34931
|
|
|
34932
|
+
__decorate([searchResult$1.Mutation("setScreenWidth")], SearchResults.prototype, "setScreenWidth", void 0);
|
|
34933
|
+
|
|
34921
34934
|
__decorate([searchResult$1.Action("setColumnCount")], SearchResults.prototype, "setColumnCount", void 0);
|
|
34922
34935
|
|
|
34923
34936
|
SearchResults = __decorate([Component({
|
|
@@ -36374,6 +36387,8 @@ var setDocumentTitle = function setDocumentTitle(template) {
|
|
|
36374
36387
|
document.title = addParamsToLabel(template, textToInsert);
|
|
36375
36388
|
};
|
|
36376
36389
|
|
|
36390
|
+
var MOBILE_WIDTH = 767;
|
|
36391
|
+
|
|
36377
36392
|
var SearchResultModule = /*#__PURE__*/function (_VuexModule) {
|
|
36378
36393
|
_inherits(SearchResultModule, _VuexModule);
|
|
36379
36394
|
|
|
@@ -36391,6 +36406,7 @@ var SearchResultModule = /*#__PURE__*/function (_VuexModule) {
|
|
|
36391
36406
|
_this.layout = ResultsLayoutEnum.GRID;
|
|
36392
36407
|
_this.loading = false;
|
|
36393
36408
|
_this.isMobileSidebarVisible = false;
|
|
36409
|
+
_this.screenWidth = 1000;
|
|
36394
36410
|
return _this;
|
|
36395
36411
|
}
|
|
36396
36412
|
|
|
@@ -36466,6 +36482,11 @@ var SearchResultModule = /*#__PURE__*/function (_VuexModule) {
|
|
|
36466
36482
|
var offset = (_b = this.searchResult.offset) !== null && _b !== void 0 ? _b : 0;
|
|
36467
36483
|
return [offset + 1, Math.min(offset + limit, this.totalItems)];
|
|
36468
36484
|
}
|
|
36485
|
+
}, {
|
|
36486
|
+
key: "isMobileWidth",
|
|
36487
|
+
get: function get() {
|
|
36488
|
+
return this.screenWidth < MOBILE_WIDTH;
|
|
36489
|
+
}
|
|
36469
36490
|
}, {
|
|
36470
36491
|
key: "setSidebarVisibility",
|
|
36471
36492
|
value: function setSidebarVisibility(_ref) {
|
|
@@ -36489,6 +36510,12 @@ var SearchResultModule = /*#__PURE__*/function (_VuexModule) {
|
|
|
36489
36510
|
value: function load(loading) {
|
|
36490
36511
|
this.loading = loading || false;
|
|
36491
36512
|
}
|
|
36513
|
+
}, {
|
|
36514
|
+
key: "setScreenWidth",
|
|
36515
|
+
value: function setScreenWidth(_ref3) {
|
|
36516
|
+
var width = _ref3.width;
|
|
36517
|
+
this.screenWidth = width;
|
|
36518
|
+
}
|
|
36492
36519
|
}, {
|
|
36493
36520
|
key: "add",
|
|
36494
36521
|
value: function add(searchResult) {
|
|
@@ -36507,9 +36534,9 @@ var SearchResultModule = /*#__PURE__*/function (_VuexModule) {
|
|
|
36507
36534
|
}
|
|
36508
36535
|
}, {
|
|
36509
36536
|
key: "setColumnCount",
|
|
36510
|
-
value: function setColumnCount(
|
|
36511
|
-
var width =
|
|
36512
|
-
grid =
|
|
36537
|
+
value: function setColumnCount(_ref4) {
|
|
36538
|
+
var width = _ref4.width,
|
|
36539
|
+
grid = _ref4.grid;
|
|
36513
36540
|
|
|
36514
36541
|
if (!width || !grid) {
|
|
36515
36542
|
return {
|
|
@@ -36581,6 +36608,8 @@ __decorate([Mutation], SearchResultModule.prototype, "save", null);
|
|
|
36581
36608
|
|
|
36582
36609
|
__decorate([Mutation], SearchResultModule.prototype, "load", null);
|
|
36583
36610
|
|
|
36611
|
+
__decorate([Mutation], SearchResultModule.prototype, "setScreenWidth", null);
|
|
36612
|
+
|
|
36584
36613
|
__decorate([Action({
|
|
36585
36614
|
commit: "save"
|
|
36586
36615
|
})], SearchResultModule.prototype, "add", null);
|
|
@@ -10,6 +10,7 @@ export default class SearchResultModule extends VuexModule {
|
|
|
10
10
|
layout: ResultsLayout;
|
|
11
11
|
loading: boolean;
|
|
12
12
|
isMobileSidebarVisible: boolean;
|
|
13
|
+
screenWidth: number;
|
|
13
14
|
get facets(): FacetResult[] | undefined;
|
|
14
15
|
get currentFilters(): FilterGroup | undefined;
|
|
15
16
|
get filters(): FilterGroup;
|
|
@@ -21,6 +22,7 @@ export default class SearchResultModule extends VuexModule {
|
|
|
21
22
|
get currentFilterCount(): number;
|
|
22
23
|
get hasAnyFilter(): boolean;
|
|
23
24
|
get itemRange(): number[];
|
|
25
|
+
get isMobileWidth(): boolean;
|
|
24
26
|
setSidebarVisibility({ visible }: {
|
|
25
27
|
visible: boolean;
|
|
26
28
|
}): void;
|
|
@@ -31,6 +33,9 @@ export default class SearchResultModule extends VuexModule {
|
|
|
31
33
|
layout?: ResultsLayout;
|
|
32
34
|
}): void;
|
|
33
35
|
load(loading: boolean): void;
|
|
36
|
+
setScreenWidth({ width }: {
|
|
37
|
+
width: number;
|
|
38
|
+
}): void;
|
|
34
39
|
add(searchResult: SearchQueryResult): {
|
|
35
40
|
searchResult: SearchQueryResult;
|
|
36
41
|
pageSize: number;
|
|
@@ -64,6 +64,9 @@ export default class SearchResults extends Vue {
|
|
|
64
64
|
queryKey: string;
|
|
65
65
|
results: SearchQueryResult;
|
|
66
66
|
}): void;
|
|
67
|
+
setScreenWidth: ({ width, }: {
|
|
68
|
+
width: number;
|
|
69
|
+
}) => void;
|
|
67
70
|
setColumnCount: ({ width, grid, }: {
|
|
68
71
|
width: number;
|
|
69
72
|
grid: ProductGrid;
|
package/dist/iife/components/search-results/products/pagination/SearchResultsPageSelect.vue.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ export default class SearchResultsPageSelect extends Vue {
|
|
|
5
5
|
lastPageLabel: string;
|
|
6
6
|
firstPageLabel: string;
|
|
7
7
|
options: PaginationPageSelect;
|
|
8
|
+
isMobileWidth: boolean;
|
|
9
|
+
get pageOptionsCount(): number;
|
|
8
10
|
get pages(): number[];
|
|
9
11
|
get showBack(): boolean;
|
|
10
12
|
get lastPage(): number | undefined;
|
package/dist/iife/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { SearchBoxOptions } from "./types/search-box/SearchBoxOptions";
|
|
2
2
|
import { FacetStyle, SearchResultsOptions } from "./types/search-results/SearchResultsOptions";
|
|
3
|
-
import { SdkOptions, TrackingOptions, Environment } from "./types/General";
|
|
3
|
+
import { SdkOptions, TrackingOptions, Environment, SortDirection } from "./types/General";
|
|
4
4
|
import { ProductListOptions } from "./types/product-list/ProductListOptions";
|
|
5
5
|
import { AddToCartElement, CustomDocumentElement, CustomHtmlElement, DescriptionDocumentElement, DocumentElement, DocumentElementType, ImageDocumentElement, PriceElement, RatingElement, RegularPriceDocumentElement, TitleDocumentElement } from "./types/DocumentElement";
|
|
6
6
|
import { SearchBoxPanelType } from "./types/search-box/SearchBoxPanel";
|
|
7
7
|
import { RoutingBehavior } from "./types/search-results/RoutingBehavior";
|
|
8
8
|
import { AnchorPosition } from "./types/search-results/SearchResultsProductCardOptions";
|
|
9
9
|
import { BadgeType } from "./types/search-results/BadgeOptions";
|
|
10
|
-
import {
|
|
10
|
+
import { SearchResultsSortOptions, SortOptions } from "./types/search-results/SearchResultsSort";
|
|
11
11
|
declare const lupaSearch: {
|
|
12
12
|
searchBox: (options: SearchBoxOptions) => void;
|
|
13
13
|
searchResults: (options: SearchResultsOptions) => void;
|
|
@@ -17,5 +17,5 @@ declare const lupaSearch: {
|
|
|
17
17
|
clearSearchResults: () => void;
|
|
18
18
|
clearProductList: () => void;
|
|
19
19
|
};
|
|
20
|
-
export { TrackingOptions, SearchBoxOptions, SearchResultsOptions, ProductListOptions, SdkOptions, DocumentElementType, SearchBoxPanelType, FacetStyle, Environment, RoutingBehavior, AnchorPosition, BadgeType, SortDirection, DocumentElement, ImageDocumentElement, TitleDocumentElement, DescriptionDocumentElement, CustomDocumentElement, PriceElement, RegularPriceDocumentElement, RatingElement, AddToCartElement, CustomHtmlElement, };
|
|
20
|
+
export { TrackingOptions, SearchBoxOptions, SearchResultsOptions, ProductListOptions, SdkOptions, DocumentElementType, SearchBoxPanelType, FacetStyle, Environment, RoutingBehavior, AnchorPosition, BadgeType, SortDirection, DocumentElement, ImageDocumentElement, TitleDocumentElement, DescriptionDocumentElement, CustomDocumentElement, PriceElement, RegularPriceDocumentElement, RatingElement, AddToCartElement, CustomHtmlElement, SortOptions, SearchResultsSortOptions, };
|
|
21
21
|
export default lupaSearch;
|