@sumaris-net/ngx-components 2.6.10-rc2 → 2.6.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.
@@ -2368,7 +2368,7 @@ class MatAutocompleteField {
2368
2368
  }
2369
2369
  clearValue(event) {
2370
2370
  this.writeValue(null);
2371
- event?.stopPropagation();
2371
+ event.stopPropagation();
2372
2372
  if (this.ionSearchbar) {
2373
2373
  this.ionSearchbar.value = null;
2374
2374
  }
@@ -16330,6 +16330,9 @@ class BaseReferential extends Entity {
16330
16330
  }
16331
16331
  // @dynamic
16332
16332
  let Referential = class Referential extends BaseReferential {
16333
+ constructor() {
16334
+ super();
16335
+ }
16333
16336
  fromObject(source, opts) {
16334
16337
  super.fromObject(source, opts);
16335
16338
  this.properties = source.properties && { ...source.properties } || undefined;
@@ -21277,10 +21280,10 @@ class NamedFilterSelector extends AppForm {
21277
21280
  });
21278
21281
  }
21279
21282
  else {
21280
- result = NamedFilter.fromObject({
21283
+ result = {
21281
21284
  ...currentSelected,
21282
21285
  content: filterContent,
21283
- });
21286
+ };
21284
21287
  }
21285
21288
  const savedEntity = await this.dataService.save(result);
21286
21289
  this.setControlValue(savedEntity);