@sumaris-net/ngx-components 18.10.20 → 18.10.21
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/shared/material/autocomplete/material.autocomplete.mjs +5 -6
- package/fesm2022/sumaris-net.ngx-components.mjs +4 -5
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/inputs.d.ts +1 -1
- package/src/assets/manifest.json +1 -1
|
@@ -8194,7 +8194,7 @@ class MatAutocompleteField {
|
|
|
8194
8194
|
return this.matInputText?.nativeElement.value ?? this.ionSearchbar?.value;
|
|
8195
8195
|
}
|
|
8196
8196
|
equals;
|
|
8197
|
-
logPrefix = '[mat-autocomplete]
|
|
8197
|
+
logPrefix = '[mat-autocomplete]';
|
|
8198
8198
|
formControl;
|
|
8199
8199
|
formControlName = null;
|
|
8200
8200
|
floatLabel = 'auto';
|
|
@@ -8739,7 +8739,7 @@ class MatAutocompleteField {
|
|
|
8739
8739
|
filterInputTextFocusEvent(event) {
|
|
8740
8740
|
if (!event || event.defaultPrevented) {
|
|
8741
8741
|
if (this.debug)
|
|
8742
|
-
console.debug(this.logPrefix + 'calling filterInputTextFocusEvent - event.defaultPrevented');
|
|
8742
|
+
console.debug(this.logPrefix + ' calling filterInputTextFocusEvent - event.defaultPrevented');
|
|
8743
8743
|
return false;
|
|
8744
8744
|
}
|
|
8745
8745
|
// Ignore event from mat-option
|
|
@@ -8926,8 +8926,7 @@ class MatAutocompleteField {
|
|
|
8926
8926
|
}
|
|
8927
8927
|
onOptionSelected(event) {
|
|
8928
8928
|
// DEBUG
|
|
8929
|
-
//if (this.debug)
|
|
8930
|
-
console.debug(this.logPrefix + ' Option selected', event);
|
|
8929
|
+
//if (this.debug) console.debug(this.logPrefix + ' Option selected', event);
|
|
8931
8930
|
this.selectionChange.emit({ source: event.source, value: event.option.value });
|
|
8932
8931
|
}
|
|
8933
8932
|
toggleShowPanel(event) {
|
|
@@ -9160,7 +9159,7 @@ class MatAutocompleteField {
|
|
|
9160
9159
|
const originalParent = overlayContainer.parentElement;
|
|
9161
9160
|
// DEBUG
|
|
9162
9161
|
//if (this.debug)
|
|
9163
|
-
console.debug(`${this.logPrefix}Moving the "cdk-overlay" container from the "${originalParent?.tagName || 'body'}" to the "ion-modal" container`);
|
|
9162
|
+
console.debug(`${this.logPrefix} Moving the "cdk-overlay" container from the "${originalParent?.tagName || 'body'}" to the "ion-modal" container`);
|
|
9164
9163
|
this.renderer.appendChild(modalElement, overlayContainer);
|
|
9165
9164
|
const _document = this.injector.get(DOCUMENT);
|
|
9166
9165
|
const shiftLeft = (_document.defaultView.innerWidth - modalElement.firstElementChild.getBoundingClientRect().width) / 2;
|