@salla.sa/twilight-components 2.14.19 → 2.14.20

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.
Files changed (26) hide show
  1. package/dist/cjs/app-globals-6591c9e6.js.map +1 -1
  2. package/dist/cjs/salla-add-product-button_48.cjs.entry.js +4 -0
  3. package/dist/cjs/salla-add-product-button_48.cjs.entry.js.map +1 -1
  4. package/dist/collection/components/salla-scopes/salla-scopes.js +4 -0
  5. package/dist/collection/components/salla-scopes/salla-scopes.js.map +1 -1
  6. package/dist/components/index.js.map +1 -1
  7. package/dist/components/salla-quick-buy2.js.map +1 -1
  8. package/dist/components/salla-scopes.js +4 -0
  9. package/dist/components/salla-scopes.js.map +1 -1
  10. package/dist/esm/app-globals-4208f12e.js.map +1 -1
  11. package/dist/esm/salla-add-product-button_48.entry.js +4 -0
  12. package/dist/esm/salla-add-product-button_48.entry.js.map +1 -1
  13. package/dist/esm-es5/app-globals-4208f12e.js.map +1 -1
  14. package/dist/esm-es5/salla-add-product-button_48.entry.js +1 -1
  15. package/dist/esm-es5/salla-add-product-button_48.entry.js.map +1 -1
  16. package/dist/twilight/{p-78b998b6.entry.js → p-35d35458.entry.js} +2 -2
  17. package/dist/twilight/{p-78b998b6.entry.js.map → p-35d35458.entry.js.map} +1 -1
  18. package/dist/twilight/p-643decdc.system.js +1 -1
  19. package/dist/twilight/{p-0f645aca.system.entry.js → p-9d139a24.system.entry.js} +2 -2
  20. package/dist/twilight/{p-0f645aca.system.entry.js.map → p-9d139a24.system.entry.js.map} +1 -1
  21. package/dist/twilight/p-a1aa069d.system.js.map +1 -1
  22. package/dist/twilight/p-fb21923b.js.map +1 -1
  23. package/dist/twilight/twilight.esm.js +1 -1
  24. package/dist/types/components/salla-scopes/salla-scopes.d.ts +1 -0
  25. package/dist/types/global.d.ts +20 -0
  26. package/package.json +5 -5
@@ -27478,6 +27478,10 @@ const SallaScopees = class {
27478
27478
  footerContent() {
27479
27479
  return h("div", { class: "s-scopes-footer" }, h("slot", { name: "footer" }, h("salla-button", { ref: btn => this.changeBtn = btn, disabled: !this.current_scope, onClick: () => this.handleSubmit(), class: "s-scopes-submit", "loader-position": "center", width: "wide" }, salla.lang.get('common.elements.confirm'))));
27480
27480
  }
27481
+ //let's wait to salla to be ready then render it.
27482
+ componentWillLoad() {
27483
+ return salla.onReady();
27484
+ }
27481
27485
  render() {
27482
27486
  var _a, _b, _c, _d;
27483
27487
  return (h(Host, null, h("salla-modal", { ref: modal => this.modal = modal, isClosable: !!(this.isOpenedBefore || (this.selection == 'optional')), class: "s-scopes-modal", isLoading: this.loading, "has-skeleton": true }, this.loading ?