@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.
@@ -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
- this.branchNotFound = salla.lang.get("blocks.scope.branch_looking_for_not_found");
1558
- this.ourServiceIsNotFound = salla.lang.get("blocks.scope.our_services_not_available_in_this_branch");
1559
- this.searchForAvailabilityInOtherBranch = salla.lang.get('blocks.scope.search_for_availability_in_other_branches');
1560
- this.shoppingFromAnotherBranch = salla.lang.get("blocks.scope.shopping_from_another_branch");
1561
- this.nowBrowsingFrom = salla.lang.get('blocks.scope.you_are_browse_store_from');
1562
- this.confirmButton = salla.lang.get('common.elements.confirm');
1563
- this.scopeSearchPlaceholder = salla.lang.get('blocks.scope.searching_for_a_branch');
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
- this.branchNotFound = salla.lang.get("blocks.scope.branch_looking_for_not_found");
34
- this.ourServiceIsNotFound = salla.lang.get("blocks.scope.our_services_not_available_in_this_branch");
35
- this.searchForAvailabilityInOtherBranch = salla.lang.get('blocks.scope.search_for_availability_in_other_branches');
36
- this.shoppingFromAnotherBranch = salla.lang.get("blocks.scope.shopping_from_another_branch");
37
- this.nowBrowsingFrom = salla.lang.get('blocks.scope.you_are_browse_store_from');
38
- this.confirmButton = salla.lang.get('common.elements.confirm');
39
- this.scopeSearchPlaceholder = salla.lang.get('blocks.scope.searching_for_a_branch');
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
- this.branchNotFound = salla.lang.get("blocks.scope.branch_looking_for_not_found");
61
- this.ourServiceIsNotFound = salla.lang.get("blocks.scope.our_services_not_available_in_this_branch");
62
- this.searchForAvailabilityInOtherBranch = salla.lang.get('blocks.scope.search_for_availability_in_other_branches');
63
- this.shoppingFromAnotherBranch = salla.lang.get("blocks.scope.shopping_from_another_branch");
64
- this.nowBrowsingFrom = salla.lang.get('blocks.scope.you_are_browse_store_from');
65
- this.confirmButton = salla.lang.get('common.elements.confirm');
66
- this.scopeSearchPlaceholder = salla.lang.get('blocks.scope.searching_for_a_branch');
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
- this.branchNotFound = salla.lang.get("blocks.scope.branch_looking_for_not_found");
1554
- this.ourServiceIsNotFound = salla.lang.get("blocks.scope.our_services_not_available_in_this_branch");
1555
- this.searchForAvailabilityInOtherBranch = salla.lang.get('blocks.scope.search_for_availability_in_other_branches');
1556
- this.shoppingFromAnotherBranch = salla.lang.get("blocks.scope.shopping_from_another_branch");
1557
- this.nowBrowsingFrom = salla.lang.get('blocks.scope.you_are_browse_store_from');
1558
- this.confirmButton = salla.lang.get('common.elements.confirm');
1559
- this.scopeSearchPlaceholder = salla.lang.get('blocks.scope.searching_for_a_branch');
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;