@sumaris-net/ngx-components 0.16.9 → 0.16.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/bundles/ngx-sumaris-components.umd.js +2 -3
- package/bundles/ngx-sumaris-components.umd.js.map +1 -1
- package/bundles/ngx-sumaris-components.umd.min.js +1 -1
- package/bundles/ngx-sumaris-components.umd.min.js.map +1 -1
- package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.js +3 -4
- package/fesm2015/ngx-sumaris-components.js +2 -3
- package/fesm2015/ngx-sumaris-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -1326,11 +1326,10 @@
|
|
|
1326
1326
|
if (!this.searchable && !this.compareWith)
|
|
1327
1327
|
this.compareWith = function (o1, o2) { return o1 && o2 && o1.id === o2.id; };
|
|
1328
1328
|
var classList = (_b = this.classList) === null || _b === void 0 ? void 0 : _b.split(' ');
|
|
1329
|
-
this.panelWidth = this.panelWidth || (classList &&
|
|
1330
|
-
(classList.includes('min-width-medium') && '300px')
|
|
1329
|
+
this.panelWidth = this.panelWidth || (classList && ((classList.includes('min-width-medium') && '300px')
|
|
1331
1330
|
|| (classList.includes('min-width-large') && '400px')
|
|
1332
1331
|
|| (classList.includes('min-width-xlarge') && '450px')
|
|
1333
|
-
|| (classList.includes('mat-autocomplete-panel-full-size') && '100vw'));
|
|
1332
|
+
|| (classList.includes('mat-autocomplete-panel-full-size') && '100vw')));
|
|
1334
1333
|
this.debounceTime = toNumber(this.debounceTime, 250);
|
|
1335
1334
|
this.suggestLengthThreshold = this.suggestLengthThreshold || 0;
|
|
1336
1335
|
// No suggestFn: filter on the given items
|