@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.
- package/esm2020/src/app/core/services/model/referential.model.mjs +4 -1
- package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.mjs +2 -2
- package/esm2020/src/app/shared/named-filter/named-filter-selector.component.mjs +3 -3
- package/fesm2015/sumaris-net.ngx-components.mjs +5 -2
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +6 -3
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/services/model/referential.model.d.ts +2 -1
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +1 -1
- package/src/assets/manifest.json +1 -1
|
@@ -2368,7 +2368,7 @@ class MatAutocompleteField {
|
|
|
2368
2368
|
}
|
|
2369
2369
|
clearValue(event) {
|
|
2370
2370
|
this.writeValue(null);
|
|
2371
|
-
event
|
|
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 =
|
|
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);
|