@salla.sa/twilight-components 1.4.9 → 1.4.10
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_23.cjs.entry.js +9 -7
- package/dist/collection/components/salla-scopes/salla-scopes.js +9 -7
- package/dist/components/salla-scopes.js +9 -7
- package/dist/esm/salla-button_23.entry.js +9 -7
- package/dist/twilight-components/p-e53e606a.entry.js +4 -0
- package/dist/twilight-components/twilight-components.esm.js +1 -1
- package/package.json +1 -1
- package/dist/twilight-components/p-d3fb2503.entry.js +0 -4
|
@@ -1554,13 +1554,15 @@ const SallaScopees = class {
|
|
|
1554
1554
|
salla.event.on('scopes::open', ({ mode = null, product_id = null }) => {
|
|
1555
1555
|
this.open(mode, product_id);
|
|
1556
1556
|
});
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1557
|
+
salla.lang.onLoaded(() => {
|
|
1558
|
+
this.branchNotFound = salla.lang.get("blocks.scope.branch_looking_for_not_found");
|
|
1559
|
+
this.ourServiceIsNotFound = salla.lang.get("blocks.scope.our_services_not_available_in_this_branch");
|
|
1560
|
+
this.searchForAvailabilityInOtherBranch = salla.lang.get('blocks.scope.search_for_availability_in_other_branches');
|
|
1561
|
+
this.shoppingFromAnotherBranch = salla.lang.get("blocks.scope.shopping_from_another_branch");
|
|
1562
|
+
this.nowBrowsingFrom = salla.lang.get('blocks.scope.you_are_browse_store_from');
|
|
1563
|
+
this.confirmButton = salla.lang.get('common.elements.confirm');
|
|
1564
|
+
this.scopeSearchPlaceholder = salla.lang.get('blocks.scope.searching_for_a_branch');
|
|
1565
|
+
});
|
|
1564
1566
|
}
|
|
1565
1567
|
async close() {
|
|
1566
1568
|
var _a;
|
|
@@ -30,13 +30,15 @@ export class SallaScopees {
|
|
|
30
30
|
salla.event.on('scopes::open', ({ mode = null, product_id = null }) => {
|
|
31
31
|
this.open(mode, product_id);
|
|
32
32
|
});
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
salla.lang.onLoaded(() => {
|
|
34
|
+
this.branchNotFound = salla.lang.get("blocks.scope.branch_looking_for_not_found");
|
|
35
|
+
this.ourServiceIsNotFound = salla.lang.get("blocks.scope.our_services_not_available_in_this_branch");
|
|
36
|
+
this.searchForAvailabilityInOtherBranch = salla.lang.get('blocks.scope.search_for_availability_in_other_branches');
|
|
37
|
+
this.shoppingFromAnotherBranch = salla.lang.get("blocks.scope.shopping_from_another_branch");
|
|
38
|
+
this.nowBrowsingFrom = salla.lang.get('blocks.scope.you_are_browse_store_from');
|
|
39
|
+
this.confirmButton = salla.lang.get('common.elements.confirm');
|
|
40
|
+
this.scopeSearchPlaceholder = salla.lang.get('blocks.scope.searching_for_a_branch');
|
|
41
|
+
});
|
|
40
42
|
}
|
|
41
43
|
async close() {
|
|
42
44
|
var _a;
|
|
@@ -57,13 +57,15 @@ const SallaScopees = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
57
57
|
salla.event.on('scopes::open', ({ mode = null, product_id = null }) => {
|
|
58
58
|
this.open(mode, product_id);
|
|
59
59
|
});
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
60
|
+
salla.lang.onLoaded(() => {
|
|
61
|
+
this.branchNotFound = salla.lang.get("blocks.scope.branch_looking_for_not_found");
|
|
62
|
+
this.ourServiceIsNotFound = salla.lang.get("blocks.scope.our_services_not_available_in_this_branch");
|
|
63
|
+
this.searchForAvailabilityInOtherBranch = salla.lang.get('blocks.scope.search_for_availability_in_other_branches');
|
|
64
|
+
this.shoppingFromAnotherBranch = salla.lang.get("blocks.scope.shopping_from_another_branch");
|
|
65
|
+
this.nowBrowsingFrom = salla.lang.get('blocks.scope.you_are_browse_store_from');
|
|
66
|
+
this.confirmButton = salla.lang.get('common.elements.confirm');
|
|
67
|
+
this.scopeSearchPlaceholder = salla.lang.get('blocks.scope.searching_for_a_branch');
|
|
68
|
+
});
|
|
67
69
|
}
|
|
68
70
|
async close() {
|
|
69
71
|
var _a;
|
|
@@ -1550,13 +1550,15 @@ const SallaScopees = class {
|
|
|
1550
1550
|
salla.event.on('scopes::open', ({ mode = null, product_id = null }) => {
|
|
1551
1551
|
this.open(mode, product_id);
|
|
1552
1552
|
});
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1553
|
+
salla.lang.onLoaded(() => {
|
|
1554
|
+
this.branchNotFound = salla.lang.get("blocks.scope.branch_looking_for_not_found");
|
|
1555
|
+
this.ourServiceIsNotFound = salla.lang.get("blocks.scope.our_services_not_available_in_this_branch");
|
|
1556
|
+
this.searchForAvailabilityInOtherBranch = salla.lang.get('blocks.scope.search_for_availability_in_other_branches');
|
|
1557
|
+
this.shoppingFromAnotherBranch = salla.lang.get("blocks.scope.shopping_from_another_branch");
|
|
1558
|
+
this.nowBrowsingFrom = salla.lang.get('blocks.scope.you_are_browse_store_from');
|
|
1559
|
+
this.confirmButton = salla.lang.get('common.elements.confirm');
|
|
1560
|
+
this.scopeSearchPlaceholder = salla.lang.get('blocks.scope.searching_for_a_branch');
|
|
1561
|
+
});
|
|
1560
1562
|
}
|
|
1561
1563
|
async close() {
|
|
1562
1564
|
var _a;
|