@sumaris-net/ngx-components 18.2.33 → 18.2.35-alpha1
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/esm2022/src/app/core/form/entity/editor.class.mjs +2 -1
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +4 -5
- package/fesm2022/sumaris-net.ngx-components.mjs +4 -4
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/manifest.json +1 -1
|
@@ -8161,7 +8161,7 @@ class MatAutocompleteField {
|
|
|
8161
8161
|
this.cd.markForCheck();
|
|
8162
8162
|
}
|
|
8163
8163
|
focus() {
|
|
8164
|
-
if (this.
|
|
8164
|
+
if (this.matSelect) {
|
|
8165
8165
|
this.matSelect.focus();
|
|
8166
8166
|
}
|
|
8167
8167
|
else {
|
|
@@ -8312,14 +8312,13 @@ class MatAutocompleteField {
|
|
|
8312
8312
|
this._subscription.add(this._openedSubscription);
|
|
8313
8313
|
}
|
|
8314
8314
|
get isOpen() {
|
|
8315
|
-
return
|
|
8315
|
+
return this.autocomplete?.isOpen || this.matSelect?.panelOpen || false;
|
|
8316
8316
|
}
|
|
8317
8317
|
closePanel() {
|
|
8318
8318
|
if (this.autocomplete?.isOpen) {
|
|
8319
8319
|
this.autocompleteTrigger?.closePanel();
|
|
8320
|
-
return;
|
|
8321
8320
|
}
|
|
8322
|
-
if (this.matSelect?.panelOpen) {
|
|
8321
|
+
else if (this.matSelect?.panelOpen) {
|
|
8323
8322
|
this.matSelect?.close();
|
|
8324
8323
|
}
|
|
8325
8324
|
}
|
|
@@ -36925,6 +36924,7 @@ class AppEditor extends AppFormContainer {
|
|
|
36925
36924
|
this.markAsSaved(opts);
|
|
36926
36925
|
}
|
|
36927
36926
|
async reloadWithConfirmation(confirm) {
|
|
36927
|
+
console.debug(this._logPrefix + ': reloadWithConfirmation', new Error());
|
|
36928
36928
|
const needConfirm = this.dirty;
|
|
36929
36929
|
// if not confirm yet: ask confirmation
|
|
36930
36930
|
if (!confirm && needConfirm) {
|