@ikas/storefront 0.0.166-alpha.2 → 0.0.166-alpha.3
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.
|
@@ -53,7 +53,7 @@ export default class CheckoutViewModel {
|
|
|
53
53
|
}[];
|
|
54
54
|
get installmentPrice(): number | null | undefined;
|
|
55
55
|
get installmentExtraPrice(): number | undefined;
|
|
56
|
-
get finalPrice(): number;
|
|
56
|
+
get finalPrice(): number | null | undefined;
|
|
57
57
|
get hasStockError(): boolean;
|
|
58
58
|
get canProceedToShipping(): boolean | undefined;
|
|
59
59
|
get canProceedToPayment(): boolean | undefined;
|
package/build/index.es.js
CHANGED
|
@@ -23718,6 +23718,8 @@ var CheckoutViewModel = /** @class */ (function () {
|
|
|
23718
23718
|
});
|
|
23719
23719
|
Object.defineProperty(CheckoutViewModel.prototype, "finalPrice", {
|
|
23720
23720
|
get: function () {
|
|
23721
|
+
if (this.step === CheckoutStep.SUCCESS)
|
|
23722
|
+
return this.checkout.totalFinalPrice;
|
|
23721
23723
|
return this.installmentPrice || this.checkout.$totalFinalPrice;
|
|
23722
23724
|
},
|
|
23723
23725
|
enumerable: false,
|
|
@@ -61835,7 +61837,6 @@ var ThemeEditorComponent = observer(function (_a) {
|
|
|
61835
61837
|
returnPolicy: "",
|
|
61836
61838
|
privacyPolicy: "",
|
|
61837
61839
|
termsOfService: "",
|
|
61838
|
-
queryParams: {},
|
|
61839
61840
|
};
|
|
61840
61841
|
propValues = checkoutProps;
|
|
61841
61842
|
}
|
package/build/index.js
CHANGED
|
@@ -23726,6 +23726,8 @@ var CheckoutViewModel = /** @class */ (function () {
|
|
|
23726
23726
|
});
|
|
23727
23727
|
Object.defineProperty(CheckoutViewModel.prototype, "finalPrice", {
|
|
23728
23728
|
get: function () {
|
|
23729
|
+
if (this.step === CheckoutStep.SUCCESS)
|
|
23730
|
+
return this.checkout.totalFinalPrice;
|
|
23729
23731
|
return this.installmentPrice || this.checkout.$totalFinalPrice;
|
|
23730
23732
|
},
|
|
23731
23733
|
enumerable: false,
|
|
@@ -61814,7 +61816,6 @@ var ThemeEditorComponent = mobxReactLite.observer(function (_a) {
|
|
|
61814
61816
|
returnPolicy: "",
|
|
61815
61817
|
privacyPolicy: "",
|
|
61816
61818
|
termsOfService: "",
|
|
61817
|
-
queryParams: {},
|
|
61818
61819
|
};
|
|
61819
61820
|
propValues = checkoutProps;
|
|
61820
61821
|
}
|