@osovitny/anatoly 3.19.39 → 3.19.41
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.
|
@@ -7246,7 +7246,7 @@ class CountryDropdownlist extends EditComponentBase {
|
|
|
7246
7246
|
setValues() {
|
|
7247
7247
|
this.appContext.jsonFilesLoaded$.subscribe({
|
|
7248
7248
|
next: () => {
|
|
7249
|
-
this.items = this.appContext.countries?.
|
|
7249
|
+
this.items = this.appContext.countries?.slice().sort();
|
|
7250
7250
|
}
|
|
7251
7251
|
});
|
|
7252
7252
|
if (this.isNgModelBased) {
|
|
@@ -7315,7 +7315,7 @@ class LanguageDropdownlist extends EditComponentBase {
|
|
|
7315
7315
|
ngOnInit() {
|
|
7316
7316
|
this.appContext.jsonFilesLoaded$.subscribe({
|
|
7317
7317
|
next: () => {
|
|
7318
|
-
this.items = this.appContext.languages?.
|
|
7318
|
+
this.items = this.appContext.languages?.slice().sort((a, b) => a.name.toLowerCase().localeCompare(b.name.toLowerCase()));
|
|
7319
7319
|
}
|
|
7320
7320
|
});
|
|
7321
7321
|
}
|
|
@@ -7724,7 +7724,7 @@ class TimezoneDropdownlist extends EditComponentBase {
|
|
|
7724
7724
|
setValues() {
|
|
7725
7725
|
this.appContext.jsonFilesLoaded$.subscribe({
|
|
7726
7726
|
next: () => {
|
|
7727
|
-
this.items = this.appContext.timezones?.
|
|
7727
|
+
this.items = this.appContext.timezones?.slice().sort();
|
|
7728
7728
|
}
|
|
7729
7729
|
});
|
|
7730
7730
|
if (this.isNgModelBased) {
|
|
@@ -9773,8 +9773,8 @@ class AddressComponent extends EditComponentBase {
|
|
|
9773
9773
|
ngOnInit() {
|
|
9774
9774
|
this.appContext.jsonFilesLoaded$.subscribe({
|
|
9775
9775
|
next: () => {
|
|
9776
|
-
this.countryData = this.appContext.countries.
|
|
9777
|
-
this.usStateData = this.appContext.usStates;
|
|
9776
|
+
this.countryData = this.appContext.countries?.slice().sort();
|
|
9777
|
+
this.usStateData = this.appContext.usStates?.slice().sort();
|
|
9778
9778
|
}
|
|
9779
9779
|
});
|
|
9780
9780
|
this.createFormGroup();
|