@salla.sa/twilight-components 2.11.44 → 2.11.45
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/salla-button_36.cjs.entry.js +3 -5
- package/dist/collection/components/salla-loyalty/salla-loyalty.js +3 -5
- package/dist/components/salla-loyalty.js +3 -5
- package/dist/esm/salla-button_36.entry.js +3 -5
- package/dist/esm-es5/salla-button_36.entry.js +1 -1
- package/dist/twilight/p-9fda3312.system.js +1 -1
- package/dist/twilight/{p-0a25b921.system.entry.js → p-c221811f.system.entry.js} +1 -1
- package/dist/twilight/{p-9c599e23.entry.js → p-c247d3b2.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/package.json +4 -4
|
@@ -21954,11 +21954,9 @@ const SallaLoyalty = class {
|
|
|
21954
21954
|
this.translationLoaded = true;
|
|
21955
21955
|
});
|
|
21956
21956
|
salla.cart.event.onUpdated(cart => {
|
|
21957
|
-
var _a, _b
|
|
21958
|
-
|
|
21959
|
-
|
|
21960
|
-
this.prizeTitle = (_c = cart.loyalty.prize) === null || _c === void 0 ? void 0 : _c.title;
|
|
21961
|
-
}
|
|
21957
|
+
var _a, _b;
|
|
21958
|
+
this.prizePoints = (_a = cart.loyalty.prize) === null || _a === void 0 ? void 0 : _a.points;
|
|
21959
|
+
this.prizeTitle = (_b = cart.loyalty.prize) === null || _b === void 0 ? void 0 : _b.title;
|
|
21962
21960
|
});
|
|
21963
21961
|
}
|
|
21964
21962
|
setSelectedPrizeItem(item) {
|
|
@@ -51,11 +51,9 @@ export class SallaLoyalty {
|
|
|
51
51
|
this.translationLoaded = true;
|
|
52
52
|
});
|
|
53
53
|
salla.cart.event.onUpdated(cart => {
|
|
54
|
-
var _a, _b
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
this.prizeTitle = (_c = cart.loyalty.prize) === null || _c === void 0 ? void 0 : _c.title;
|
|
58
|
-
}
|
|
54
|
+
var _a, _b;
|
|
55
|
+
this.prizePoints = (_a = cart.loyalty.prize) === null || _a === void 0 ? void 0 : _a.points;
|
|
56
|
+
this.prizeTitle = (_b = cart.loyalty.prize) === null || _b === void 0 ? void 0 : _b.title;
|
|
59
57
|
});
|
|
60
58
|
}
|
|
61
59
|
setSelectedPrizeItem(item) {
|
|
@@ -112,11 +112,9 @@ const SallaLoyalty$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
112
112
|
this.translationLoaded = true;
|
|
113
113
|
});
|
|
114
114
|
salla.cart.event.onUpdated(cart => {
|
|
115
|
-
var _a, _b
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
this.prizeTitle = (_c = cart.loyalty.prize) === null || _c === void 0 ? void 0 : _c.title;
|
|
119
|
-
}
|
|
115
|
+
var _a, _b;
|
|
116
|
+
this.prizePoints = (_a = cart.loyalty.prize) === null || _a === void 0 ? void 0 : _a.points;
|
|
117
|
+
this.prizeTitle = (_b = cart.loyalty.prize) === null || _b === void 0 ? void 0 : _b.title;
|
|
120
118
|
});
|
|
121
119
|
}
|
|
122
120
|
setSelectedPrizeItem(item) {
|
|
@@ -21950,11 +21950,9 @@ const SallaLoyalty = class {
|
|
|
21950
21950
|
this.translationLoaded = true;
|
|
21951
21951
|
});
|
|
21952
21952
|
salla.cart.event.onUpdated(cart => {
|
|
21953
|
-
var _a, _b
|
|
21954
|
-
|
|
21955
|
-
|
|
21956
|
-
this.prizeTitle = (_c = cart.loyalty.prize) === null || _c === void 0 ? void 0 : _c.title;
|
|
21957
|
-
}
|
|
21953
|
+
var _a, _b;
|
|
21954
|
+
this.prizePoints = (_a = cart.loyalty.prize) === null || _a === void 0 ? void 0 : _a.points;
|
|
21955
|
+
this.prizeTitle = (_b = cart.loyalty.prize) === null || _b === void 0 ? void 0 : _b.title;
|
|
21958
21956
|
});
|
|
21959
21957
|
}
|
|
21960
21958
|
setSelectedPrizeItem(item) {
|