@salla.sa/twilight-components 2.9.44 → 2.9.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_35.cjs.entry.js +1 -1
- package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
- package/dist/components/salla-scopes.js +1 -1
- package/dist/esm/salla-button_35.entry.js +1 -1
- package/dist/esm-es5/salla-button_35.entry.js +1 -1
- package/dist/twilight/{p-9d16088e.entry.js → p-8964c442.entry.js} +1 -1
- package/dist/twilight/p-abaef410.system.js +1 -1
- package/dist/twilight/{p-ce00178b.system.entry.js → p-ff6cc430.system.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/package.json +3 -3
|
@@ -22837,7 +22837,7 @@ const SallaScopees = class {
|
|
|
22837
22837
|
*/
|
|
22838
22838
|
async open(mode = ModeType.DEFAULT, product_id = null) {
|
|
22839
22839
|
this.mode = [ModeType.AVAILABILITY, ModeType.DEFAULT].includes(mode) ? mode : ModeType.DEFAULT;
|
|
22840
|
-
this.loading =
|
|
22840
|
+
this.loading = !this.loadedScopes[this.mode];
|
|
22841
22841
|
this.setScopeValues([]);
|
|
22842
22842
|
salla.log('SallaScope:: opened');
|
|
22843
22843
|
this.modal.open();
|
|
@@ -57,7 +57,7 @@ export class SallaScopees {
|
|
|
57
57
|
*/
|
|
58
58
|
async open(mode = ModeType.DEFAULT, product_id = null) {
|
|
59
59
|
this.mode = [ModeType.AVAILABILITY, ModeType.DEFAULT].includes(mode) ? mode : ModeType.DEFAULT;
|
|
60
|
-
this.loading =
|
|
60
|
+
this.loading = !this.loadedScopes[this.mode];
|
|
61
61
|
this.setScopeValues([]);
|
|
62
62
|
salla.log('SallaScope:: opened');
|
|
63
63
|
this.modal.open();
|
|
@@ -76,7 +76,7 @@ const SallaScopees = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
76
76
|
*/
|
|
77
77
|
async open(mode = ModeType.DEFAULT, product_id = null) {
|
|
78
78
|
this.mode = [ModeType.AVAILABILITY, ModeType.DEFAULT].includes(mode) ? mode : ModeType.DEFAULT;
|
|
79
|
-
this.loading =
|
|
79
|
+
this.loading = !this.loadedScopes[this.mode];
|
|
80
80
|
this.setScopeValues([]);
|
|
81
81
|
salla.log('SallaScope:: opened');
|
|
82
82
|
this.modal.open();
|
|
@@ -22833,7 +22833,7 @@ const SallaScopees = class {
|
|
|
22833
22833
|
*/
|
|
22834
22834
|
async open(mode = ModeType.DEFAULT, product_id = null) {
|
|
22835
22835
|
this.mode = [ModeType.AVAILABILITY, ModeType.DEFAULT].includes(mode) ? mode : ModeType.DEFAULT;
|
|
22836
|
-
this.loading =
|
|
22836
|
+
this.loading = !this.loadedScopes[this.mode];
|
|
22837
22837
|
this.setScopeValues([]);
|
|
22838
22838
|
salla.log('SallaScope:: opened');
|
|
22839
22839
|
this.modal.open();
|