@provoly/dashboard 0.22.7 → 0.22.8
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/lib/core/components/select/select.component.mjs +2 -2
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +22 -7
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +21 -6
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +1 -1
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/package.json +37 -37
- package/widgets/widget-map/component/widget-map.component.d.ts +3 -1
|
@@ -6873,7 +6873,7 @@ class PrySelectComponent extends SubscriptionnerDirective {
|
|
|
6873
6873
|
this.onKeydownAutocompleteInput = (event) => this.a11yService.onKeydownAutocompleteInput(event, this.open, this.search$.getValue(), this.optionsModalRef);
|
|
6874
6874
|
this.onKeydownOption = (event, item, index, optionDivRef, first, last) => this.a11yService.onKeydownOption(event, optionDivRef, first, last, this.autocomplete, this.selectElement.nativeElement, () => this.select(event, item, index));
|
|
6875
6875
|
this.focusInitialSelection = () => this.a11yService.focusInitialSelection(this.autocomplete, this.optionsModalRef);
|
|
6876
|
-
this.matchingItems$ = combineLatest([this._items$, this.search$, this.searchSelected$]).pipe(map(([items, term
|
|
6876
|
+
this.matchingItems$ = combineLatest([this._items$, this.search$, this.searchSelected$]).pipe(map(([items, term]) => this.autocomplete && term && term.length > 0
|
|
6877
6877
|
? items.filter((i) => {
|
|
6878
6878
|
const itemValue = this.bindLabel ? i?.[this.bindLabel] : i;
|
|
6879
6879
|
return itemValue.toLowerCase().indexOf(term.toLowerCase()) > -1;
|