@salla.sa/twilight-components 2.11.61 → 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.
@@ -23663,7 +23663,9 @@ const SallaQuickOrder = class {
23663
23663
  this.agreementModalHead = salla.lang.get('pages.checkout.full_agreement');
23664
23664
  this.userNameLabel = salla.lang.get('pages.products.your_name');
23665
23665
  this.termsChecked = false;
23666
- this.productId = this.productId || salla.config.get('page.id');
23666
+ salla.onReady(() => {
23667
+ this.productId = this.productId || salla.config.get('page.id');
23668
+ });
23667
23669
  salla.lang.onLoaded(() => {
23668
23670
  this.placeHolderEmail = salla.lang.get('common.elements.email');
23669
23671
  this.emailOptional = salla.lang.get('common.elements.optional');
@@ -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
- this.productId = this.productId || salla.config.get('page.id');
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');
@@ -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
- this.productId = this.productId || salla.config.get('page.id');
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');
@@ -23659,7 +23659,9 @@ const SallaQuickOrder = class {
23659
23659
  this.agreementModalHead = salla.lang.get('pages.checkout.full_agreement');
23660
23660
  this.userNameLabel = salla.lang.get('pages.products.your_name');
23661
23661
  this.termsChecked = false;
23662
- this.productId = this.productId || salla.config.get('page.id');
23662
+ salla.onReady(() => {
23663
+ this.productId = this.productId || salla.config.get('page.id');
23664
+ });
23663
23665
  salla.lang.onLoaded(() => {
23664
23666
  this.placeHolderEmail = salla.lang.get('common.elements.email');
23665
23667
  this.emailOptional = salla.lang.get('common.elements.optional');