@ikas/storefront 0.0.118 → 0.0.120
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 +3 -2
- package/build/index.js +3 -2
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -27497,7 +27497,6 @@ var IkasCartStore = /** @class */ (function () {
|
|
|
27497
27497
|
};
|
|
27498
27498
|
this.baseStore = baseStore;
|
|
27499
27499
|
makeAutoObservable(this);
|
|
27500
|
-
this.getCart();
|
|
27501
27500
|
}
|
|
27502
27501
|
Object.defineProperty(IkasCartStore.prototype, "isBrowser", {
|
|
27503
27502
|
get: function () {
|
|
@@ -27967,6 +27966,8 @@ var IkasPage = observer(function (_a) {
|
|
|
27967
27966
|
}
|
|
27968
27967
|
useEffect(function () {
|
|
27969
27968
|
store.checkLocalization();
|
|
27969
|
+
//@ts-ignore
|
|
27970
|
+
store.cartStore.getCart();
|
|
27970
27971
|
}, []);
|
|
27971
27972
|
var renderComponent = function (pageComponent, index) {
|
|
27972
27973
|
var pageComponentPropValue = propValues.find(function (pv) { return pv.pageComponent.id === pageComponent.id; });
|
|
@@ -28836,7 +28837,7 @@ var SettingsHelper = /** @class */ (function () {
|
|
|
28836
28837
|
return __awaiter(this, void 0, void 0, function () {
|
|
28837
28838
|
return __generator(this, function (_a) {
|
|
28838
28839
|
switch (_a.label) {
|
|
28839
|
-
case 0: return [4 /*yield*/, SettingsHelper.getPageData(context,
|
|
28840
|
+
case 0: return [4 /*yield*/, SettingsHelper.getPageData(context, true, pageType)];
|
|
28840
28841
|
case 1: return [2 /*return*/, _a.sent()];
|
|
28841
28842
|
}
|
|
28842
28843
|
});
|
package/build/index.js
CHANGED
|
@@ -27477,7 +27477,6 @@ var IkasCartStore = /** @class */ (function () {
|
|
|
27477
27477
|
};
|
|
27478
27478
|
this.baseStore = baseStore;
|
|
27479
27479
|
mobx.makeAutoObservable(this);
|
|
27480
|
-
this.getCart();
|
|
27481
27480
|
}
|
|
27482
27481
|
Object.defineProperty(IkasCartStore.prototype, "isBrowser", {
|
|
27483
27482
|
get: function () {
|
|
@@ -27947,6 +27946,8 @@ var IkasPage = mobxReactLite.observer(function (_a) {
|
|
|
27947
27946
|
}
|
|
27948
27947
|
React.useEffect(function () {
|
|
27949
27948
|
store.checkLocalization();
|
|
27949
|
+
//@ts-ignore
|
|
27950
|
+
store.cartStore.getCart();
|
|
27950
27951
|
}, []);
|
|
27951
27952
|
var renderComponent = function (pageComponent, index) {
|
|
27952
27953
|
var pageComponentPropValue = propValues.find(function (pv) { return pv.pageComponent.id === pageComponent.id; });
|
|
@@ -28816,7 +28817,7 @@ var SettingsHelper = /** @class */ (function () {
|
|
|
28816
28817
|
return __awaiter(this, void 0, void 0, function () {
|
|
28817
28818
|
return __generator(this, function (_a) {
|
|
28818
28819
|
switch (_a.label) {
|
|
28819
|
-
case 0: return [4 /*yield*/, SettingsHelper.getPageData(context,
|
|
28820
|
+
case 0: return [4 /*yield*/, SettingsHelper.getPageData(context, true, pageType)];
|
|
28820
28821
|
case 1: return [2 /*return*/, _a.sent()];
|
|
28821
28822
|
}
|
|
28822
28823
|
});
|