@ikas/storefront 0.0.153 → 0.0.154
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/build/index.es.js +12 -7
- package/build/index.js +12 -7
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -19966,7 +19966,10 @@ var IkasProductDetail = /** @class */ (function () {
|
|
|
19966
19966
|
.map(function (vv) { return vv.slug; })
|
|
19967
19967
|
.join("-");
|
|
19968
19968
|
var isShallow = process.env.NODE_ENV !== "production";
|
|
19969
|
-
(_a = this.router) === null || _a === void 0 ? void 0 : _a.replace(newUrl, undefined, {
|
|
19969
|
+
(_a = this.router) === null || _a === void 0 ? void 0 : _a.replace(newUrl, undefined, {
|
|
19970
|
+
shallow: isShallow,
|
|
19971
|
+
scroll: false,
|
|
19972
|
+
});
|
|
19970
19973
|
};
|
|
19971
19974
|
return IkasProductDetail;
|
|
19972
19975
|
}());
|
|
@@ -21362,12 +21365,14 @@ var IkasProductList = /** @class */ (function () {
|
|
|
21362
21365
|
makeAutoObservable(this);
|
|
21363
21366
|
if (this.isBrowser()) {
|
|
21364
21367
|
this.checkRestoreInfiniteScroll();
|
|
21365
|
-
|
|
21366
|
-
|
|
21367
|
-
|
|
21368
|
-
|
|
21369
|
-
|
|
21370
|
-
this.
|
|
21368
|
+
if (location.search &&
|
|
21369
|
+
(this.isFilterable || this._type === IkasProductListType.SEARCH)) {
|
|
21370
|
+
var queryParams = this.getQueryParams();
|
|
21371
|
+
this.getInitial(queryParams);
|
|
21372
|
+
}
|
|
21373
|
+
else if (this._page > 1) {
|
|
21374
|
+
this.getInitial();
|
|
21375
|
+
}
|
|
21371
21376
|
}
|
|
21372
21377
|
}
|
|
21373
21378
|
Object.defineProperty(IkasProductList.prototype, "sort", {
|
package/build/index.js
CHANGED
|
@@ -19949,7 +19949,10 @@ var IkasProductDetail = /** @class */ (function () {
|
|
|
19949
19949
|
.map(function (vv) { return vv.slug; })
|
|
19950
19950
|
.join("-");
|
|
19951
19951
|
var isShallow = process.env.NODE_ENV !== "production";
|
|
19952
|
-
(_a = this.router) === null || _a === void 0 ? void 0 : _a.replace(newUrl, undefined, {
|
|
19952
|
+
(_a = this.router) === null || _a === void 0 ? void 0 : _a.replace(newUrl, undefined, {
|
|
19953
|
+
shallow: isShallow,
|
|
19954
|
+
scroll: false,
|
|
19955
|
+
});
|
|
19953
19956
|
};
|
|
19954
19957
|
return IkasProductDetail;
|
|
19955
19958
|
}());
|
|
@@ -21345,12 +21348,14 @@ var IkasProductList = /** @class */ (function () {
|
|
|
21345
21348
|
mobx.makeAutoObservable(this);
|
|
21346
21349
|
if (this.isBrowser()) {
|
|
21347
21350
|
this.checkRestoreInfiniteScroll();
|
|
21348
|
-
|
|
21349
|
-
|
|
21350
|
-
|
|
21351
|
-
|
|
21352
|
-
|
|
21353
|
-
this.
|
|
21351
|
+
if (location.search &&
|
|
21352
|
+
(this.isFilterable || this._type === exports.IkasProductListType.SEARCH)) {
|
|
21353
|
+
var queryParams = this.getQueryParams();
|
|
21354
|
+
this.getInitial(queryParams);
|
|
21355
|
+
}
|
|
21356
|
+
else if (this._page > 1) {
|
|
21357
|
+
this.getInitial();
|
|
21358
|
+
}
|
|
21354
21359
|
}
|
|
21355
21360
|
}
|
|
21356
21361
|
Object.defineProperty(IkasProductList.prototype, "sort", {
|