@ikas/storefront 0.0.148 → 0.0.149

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/build/index.es.js CHANGED
@@ -28684,7 +28684,9 @@ var AddressFormViewModel = /** @class */ (function () {
28684
28684
  get: function () {
28685
28685
  var list = this.countries.map(this.modelToOption);
28686
28686
  list.sort(function (a, b) {
28687
- return a.label.toLowerCase() > b.label.toLowerCase() ? 1 : -1;
28687
+ return a.label.toLocaleLowerCase("tr-TR") > b.label.toLocaleLowerCase("tr-TR")
28688
+ ? 1
28689
+ : -1;
28688
28690
  });
28689
28691
  return list;
28690
28692
  },
@@ -28707,7 +28709,13 @@ var AddressFormViewModel = /** @class */ (function () {
28707
28709
  });
28708
28710
  Object.defineProperty(AddressFormViewModel.prototype, "districtOptions", {
28709
28711
  get: function () {
28710
- return this.districts.map(this.modelToOption);
28712
+ var list = this.districts.map(this.modelToOption);
28713
+ list.sort(function (a, b) {
28714
+ return a.label.toLocaleLowerCase("tr-TR") > b.label.toLocaleLowerCase("tr-TR")
28715
+ ? 1
28716
+ : -1;
28717
+ });
28718
+ return list;
28711
28719
  },
28712
28720
  enumerable: false,
28713
28721
  configurable: true
package/build/index.js CHANGED
@@ -28663,7 +28663,9 @@ var AddressFormViewModel = /** @class */ (function () {
28663
28663
  get: function () {
28664
28664
  var list = this.countries.map(this.modelToOption);
28665
28665
  list.sort(function (a, b) {
28666
- return a.label.toLowerCase() > b.label.toLowerCase() ? 1 : -1;
28666
+ return a.label.toLocaleLowerCase("tr-TR") > b.label.toLocaleLowerCase("tr-TR")
28667
+ ? 1
28668
+ : -1;
28667
28669
  });
28668
28670
  return list;
28669
28671
  },
@@ -28686,7 +28688,13 @@ var AddressFormViewModel = /** @class */ (function () {
28686
28688
  });
28687
28689
  Object.defineProperty(AddressFormViewModel.prototype, "districtOptions", {
28688
28690
  get: function () {
28689
- return this.districts.map(this.modelToOption);
28691
+ var list = this.districts.map(this.modelToOption);
28692
+ list.sort(function (a, b) {
28693
+ return a.label.toLocaleLowerCase("tr-TR") > b.label.toLocaleLowerCase("tr-TR")
28694
+ ? 1
28695
+ : -1;
28696
+ });
28697
+ return list;
28690
28698
  },
28691
28699
  enumerable: false,
28692
28700
  configurable: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.0.148",
3
+ "version": "0.0.149",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",