@salla.sa/twilight-components 2.11.60 → 2.11.62
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 -7
- package/dist/collection/components/salla-count-down/salla-count-down.js +0 -6
- package/dist/collection/components/salla-quick-order/salla-quick-order.js +3 -1
- package/dist/components/salla-count-down.js +0 -6
- package/dist/components/salla-quick-order.js +3 -1
- package/dist/esm/salla-button_36.entry.js +3 -7
- package/dist/esm-es5/salla-button_36.entry.js +2 -2
- package/dist/twilight/p-bfc0d463.system.js +1 -1
- package/dist/twilight/{p-cc043411.entry.js → p-e1c34015.entry.js} +2 -2
- package/dist/twilight/{p-e90dc25d.system.entry.js → p-e90c952b.system.entry.js} +2 -2
- package/dist/twilight/twilight.esm.js +1 -1
- package/package.json +2 -2
|
@@ -2693,12 +2693,6 @@ const SallaCountDown = class {
|
|
|
2693
2693
|
* The digits lang to show in the count down
|
|
2694
2694
|
* */
|
|
2695
2695
|
this.digits = 'auto';
|
|
2696
|
-
this.daysLabel = '';
|
|
2697
|
-
this.hoursLabel = '';
|
|
2698
|
-
this.minutesLabel = '';
|
|
2699
|
-
this.secondsLabel = '';
|
|
2700
|
-
this.endLabel = '';
|
|
2701
|
-
this.invalidDate = '';
|
|
2702
2696
|
this.offerEnded = false;
|
|
2703
2697
|
salla.lang.onLoaded(() => {
|
|
2704
2698
|
this.daysLabel = salla.lang.get('pages.checkout.day');
|
|
@@ -23669,7 +23663,9 @@ const SallaQuickOrder = class {
|
|
|
23669
23663
|
this.agreementModalHead = salla.lang.get('pages.checkout.full_agreement');
|
|
23670
23664
|
this.userNameLabel = salla.lang.get('pages.products.your_name');
|
|
23671
23665
|
this.termsChecked = false;
|
|
23672
|
-
|
|
23666
|
+
salla.onReady(() => {
|
|
23667
|
+
this.productId = this.productId || salla.config.get('page.id');
|
|
23668
|
+
});
|
|
23673
23669
|
salla.lang.onLoaded(() => {
|
|
23674
23670
|
this.placeHolderEmail = salla.lang.get('common.elements.email');
|
|
23675
23671
|
this.emailOptional = salla.lang.get('common.elements.optional');
|
|
@@ -16,12 +16,6 @@ export class SallaCountDown {
|
|
|
16
16
|
* The digits lang to show in the count down
|
|
17
17
|
* */
|
|
18
18
|
this.digits = 'auto';
|
|
19
|
-
this.daysLabel = '';
|
|
20
|
-
this.hoursLabel = '';
|
|
21
|
-
this.minutesLabel = '';
|
|
22
|
-
this.secondsLabel = '';
|
|
23
|
-
this.endLabel = '';
|
|
24
|
-
this.invalidDate = '';
|
|
25
19
|
this.offerEnded = false;
|
|
26
20
|
salla.lang.onLoaded(() => {
|
|
27
21
|
this.daysLabel = salla.lang.get('pages.checkout.day');
|
|
@@ -50,7 +50,9 @@ export class SallaQuickOrder {
|
|
|
50
50
|
this.agreementModalHead = salla.lang.get('pages.checkout.full_agreement');
|
|
51
51
|
this.userNameLabel = salla.lang.get('pages.products.your_name');
|
|
52
52
|
this.termsChecked = false;
|
|
53
|
-
|
|
53
|
+
salla.onReady(() => {
|
|
54
|
+
this.productId = this.productId || salla.config.get('page.id');
|
|
55
|
+
});
|
|
54
56
|
salla.lang.onLoaded(() => {
|
|
55
57
|
this.placeHolderEmail = salla.lang.get('common.elements.email');
|
|
56
58
|
this.emailOptional = salla.lang.get('common.elements.optional');
|
|
@@ -21,12 +21,6 @@ const SallaCountDown$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
21
21
|
* The digits lang to show in the count down
|
|
22
22
|
* */
|
|
23
23
|
this.digits = 'auto';
|
|
24
|
-
this.daysLabel = '';
|
|
25
|
-
this.hoursLabel = '';
|
|
26
|
-
this.minutesLabel = '';
|
|
27
|
-
this.secondsLabel = '';
|
|
28
|
-
this.endLabel = '';
|
|
29
|
-
this.invalidDate = '';
|
|
30
24
|
this.offerEnded = false;
|
|
31
25
|
salla.lang.onLoaded(() => {
|
|
32
26
|
this.daysLabel = salla.lang.get('pages.checkout.day');
|
|
@@ -78,7 +78,9 @@ const SallaQuickOrder$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
78
78
|
this.agreementModalHead = salla.lang.get('pages.checkout.full_agreement');
|
|
79
79
|
this.userNameLabel = salla.lang.get('pages.products.your_name');
|
|
80
80
|
this.termsChecked = false;
|
|
81
|
-
|
|
81
|
+
salla.onReady(() => {
|
|
82
|
+
this.productId = this.productId || salla.config.get('page.id');
|
|
83
|
+
});
|
|
82
84
|
salla.lang.onLoaded(() => {
|
|
83
85
|
this.placeHolderEmail = salla.lang.get('common.elements.email');
|
|
84
86
|
this.emailOptional = salla.lang.get('common.elements.optional');
|
|
@@ -2689,12 +2689,6 @@ const SallaCountDown = class {
|
|
|
2689
2689
|
* The digits lang to show in the count down
|
|
2690
2690
|
* */
|
|
2691
2691
|
this.digits = 'auto';
|
|
2692
|
-
this.daysLabel = '';
|
|
2693
|
-
this.hoursLabel = '';
|
|
2694
|
-
this.minutesLabel = '';
|
|
2695
|
-
this.secondsLabel = '';
|
|
2696
|
-
this.endLabel = '';
|
|
2697
|
-
this.invalidDate = '';
|
|
2698
2692
|
this.offerEnded = false;
|
|
2699
2693
|
salla.lang.onLoaded(() => {
|
|
2700
2694
|
this.daysLabel = salla.lang.get('pages.checkout.day');
|
|
@@ -23665,7 +23659,9 @@ const SallaQuickOrder = class {
|
|
|
23665
23659
|
this.agreementModalHead = salla.lang.get('pages.checkout.full_agreement');
|
|
23666
23660
|
this.userNameLabel = salla.lang.get('pages.products.your_name');
|
|
23667
23661
|
this.termsChecked = false;
|
|
23668
|
-
|
|
23662
|
+
salla.onReady(() => {
|
|
23663
|
+
this.productId = this.productId || salla.config.get('page.id');
|
|
23664
|
+
});
|
|
23669
23665
|
salla.lang.onLoaded(() => {
|
|
23670
23666
|
this.placeHolderEmail = salla.lang.get('common.elements.email');
|
|
23671
23667
|
this.emailOptional = salla.lang.get('common.elements.optional');
|