@ikas/storefront 0.0.167-alpha.11 → 0.0.167-alpha.13
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 +7 -5
- package/build/index.js +7 -5
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -23602,21 +23602,23 @@ var CheckoutViewModel = /** @class */ (function () {
|
|
|
23602
23602
|
_this.cardData.installmentCount = count;
|
|
23603
23603
|
};
|
|
23604
23604
|
this.changeStep = function (step) { return __awaiter(_this, void 0, void 0, function () {
|
|
23605
|
-
var
|
|
23605
|
+
var result;
|
|
23606
23606
|
return __generator(this, function (_a) {
|
|
23607
23607
|
switch (_a.label) {
|
|
23608
23608
|
case 0:
|
|
23609
23609
|
if (!!isServer$1) return [3 /*break*/, 2];
|
|
23610
|
-
// window.location.replace(`/checkout?id=${this.checkout.id}&step=${step}`);
|
|
23611
23610
|
return [4 /*yield*/, this.router.replace("/checkout?id=" + this.checkout.id + "&step=" + step)];
|
|
23612
23611
|
case 1:
|
|
23613
|
-
|
|
23614
|
-
|
|
23612
|
+
result = _a.sent();
|
|
23613
|
+
console.log("RESULT", result);
|
|
23615
23614
|
console.log("OUT", window.location.href);
|
|
23616
23615
|
requestAnimationFrame(function () {
|
|
23617
23616
|
console.log("IN", window.location.href);
|
|
23618
|
-
|
|
23617
|
+
// this.router.reload();
|
|
23619
23618
|
});
|
|
23619
|
+
setInterval(function () {
|
|
23620
|
+
console.log("INT", window.location.href);
|
|
23621
|
+
}, 1000);
|
|
23620
23622
|
_a.label = 2;
|
|
23621
23623
|
case 2: return [2 /*return*/];
|
|
23622
23624
|
}
|
package/build/index.js
CHANGED
|
@@ -23610,21 +23610,23 @@ var CheckoutViewModel = /** @class */ (function () {
|
|
|
23610
23610
|
_this.cardData.installmentCount = count;
|
|
23611
23611
|
};
|
|
23612
23612
|
this.changeStep = function (step) { return __awaiter(_this, void 0, void 0, function () {
|
|
23613
|
-
var
|
|
23613
|
+
var result;
|
|
23614
23614
|
return __generator(this, function (_a) {
|
|
23615
23615
|
switch (_a.label) {
|
|
23616
23616
|
case 0:
|
|
23617
23617
|
if (!!isServer$1) return [3 /*break*/, 2];
|
|
23618
|
-
// window.location.replace(`/checkout?id=${this.checkout.id}&step=${step}`);
|
|
23619
23618
|
return [4 /*yield*/, this.router.replace("/checkout?id=" + this.checkout.id + "&step=" + step)];
|
|
23620
23619
|
case 1:
|
|
23621
|
-
|
|
23622
|
-
|
|
23620
|
+
result = _a.sent();
|
|
23621
|
+
console.log("RESULT", result);
|
|
23623
23622
|
console.log("OUT", window.location.href);
|
|
23624
23623
|
requestAnimationFrame(function () {
|
|
23625
23624
|
console.log("IN", window.location.href);
|
|
23626
|
-
|
|
23625
|
+
// this.router.reload();
|
|
23627
23626
|
});
|
|
23627
|
+
setInterval(function () {
|
|
23628
|
+
console.log("INT", window.location.href);
|
|
23629
|
+
}, 1000);
|
|
23628
23630
|
_a.label = 2;
|
|
23629
23631
|
case 2: return [2 /*return*/];
|
|
23630
23632
|
}
|