@elderbyte/ngx-starter 20.4.8 → 20.4.9

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.
@@ -2169,8 +2169,13 @@ class PhonePipe {
2169
2169
  this.phoneFormat = inject(PhoneFormatService);
2170
2170
  }
2171
2171
  transform(phoneNumber) {
2172
- const countryPhoneFormat = this.countryPhoneFormats.getCountryPhoneFormat(phoneNumber.countryCode);
2173
- return this.phoneFormat.formatPhoneNumber(phoneNumber.number, countryPhoneFormat);
2172
+ if (phoneNumber) {
2173
+ const countryPhoneFormat = this.countryPhoneFormats.getCountryPhoneFormat(phoneNumber.countryCode);
2174
+ return this.phoneFormat.formatPhoneNumber(phoneNumber.number, countryPhoneFormat);
2175
+ }
2176
+ else {
2177
+ return '';
2178
+ }
2174
2179
  }
2175
2180
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: PhonePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
2176
2181
  static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: PhonePipe, isStandalone: true, name: "phone" }); }
@@ -26366,7 +26371,7 @@ class ElderMultiSelectChipsComponent extends ElderMultiSelectBase {
26366
26371
  drop(event) {
26367
26372
  const reordered = [...this.entities];
26368
26373
  moveItemInArray(reordered, event.previousIndex, event.currentIndex);
26369
- this.entities = reordered;
26374
+ this.updateValueByEntities(reordered);
26370
26375
  }
26371
26376
  resolveChipValue(e1) {
26372
26377
  return this.getEntityId(e1);