@igo2/geo 17.0.0-next.8 → 17.0.0
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/draw/draw/draw.component.mjs +17 -3
- package/esm2022/lib/feature/feature-details/feature-details.component.mjs +2 -2
- package/esm2022/lib/filter/ogc-filter-form/ogc-filter-form.component.mjs +2 -1
- package/esm2022/lib/filter/ogc-filter-selection/ogc-filter-selection.component.mjs +83 -65
- package/esm2022/lib/filter/ogc-filter-time/ogc-filter-time.component.mjs +2 -2
- package/esm2022/lib/filter/shared/ogc-filter.interface.mjs +1 -1
- package/esm2022/lib/filter/shared/ogc-filter.mjs +9 -1
- package/esm2022/lib/style/style-modal/layer/style-modal-layer.component.mjs +3 -3
- package/fesm2022/igo2-geo.mjs +109 -68
- package/fesm2022/igo2-geo.mjs.map +1 -1
- package/lib/filter/ogc-filter-selection/ogc-filter-selection.component.d.ts +17 -9
- package/lib/filter/shared/ogc-filter.interface.d.ts +1 -0
- package/package.json +5 -5
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
3
4
|
import { MatSelect } from '@angular/material/select';
|
|
4
5
|
import { DOMService } from '@igo2/common/dom';
|
|
5
6
|
import { ConfigService } from '@igo2/core/config';
|
|
6
|
-
import { BehaviorSubject } from 'rxjs';
|
|
7
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
8
|
import { OgcFilterableDataSource, OgcPushButton, OgcSelectorBundle, SelectorGroup } from '../../filter/shared/ogc-filter.interface';
|
|
8
9
|
import { MapBase } from '../../map';
|
|
9
10
|
import { OgcFilterOperator } from '../shared/ogc-filter.enum';
|
|
@@ -16,6 +17,7 @@ export declare class OgcFilterSelectionComponent implements OnInit {
|
|
|
16
17
|
private configService;
|
|
17
18
|
private cdRef;
|
|
18
19
|
sel: MatSelect;
|
|
20
|
+
matAutocomplete: MatAutocompleteTrigger;
|
|
19
21
|
refreshFilters: () => void;
|
|
20
22
|
datasource: OgcFilterableDataSource;
|
|
21
23
|
map: MapBase;
|
|
@@ -25,6 +27,7 @@ export declare class OgcFilterSelectionComponent implements OnInit {
|
|
|
25
27
|
get currentFilter(): any;
|
|
26
28
|
set currentFilter(value: any);
|
|
27
29
|
private _currentFilter;
|
|
30
|
+
private inputChangeAutocomplete;
|
|
28
31
|
ogcFilterOperator: typeof OgcFilterOperator;
|
|
29
32
|
form: UntypedFormGroup;
|
|
30
33
|
private ogcFilterWriter;
|
|
@@ -32,8 +35,10 @@ export declare class OgcFilterSelectionComponent implements OnInit {
|
|
|
32
35
|
selectAllSelected: boolean;
|
|
33
36
|
selectEnabled$: BehaviorSubject<any>;
|
|
34
37
|
selectEnableds$: BehaviorSubject<any[]>;
|
|
35
|
-
|
|
36
|
-
filteredOgcAutocomplete: {
|
|
38
|
+
autocompleteEnableds$: BehaviorSubject<string[]>;
|
|
39
|
+
filteredOgcAutocomplete: {
|
|
40
|
+
[key: string]: Observable<any[]>;
|
|
41
|
+
};
|
|
37
42
|
applyFiltersTimeout: any;
|
|
38
43
|
get ogcFiltersSelectors(): any[];
|
|
39
44
|
get currentPushButtonsGroup(): any;
|
|
@@ -50,8 +55,9 @@ export declare class OgcFilterSelectionComponent implements OnInit {
|
|
|
50
55
|
set selectEnabled(value: any);
|
|
51
56
|
get selectEnableds(): any[];
|
|
52
57
|
set selectEnableds(value: any[]);
|
|
53
|
-
get
|
|
54
|
-
set
|
|
58
|
+
get autocompleteEnableds(): string[];
|
|
59
|
+
set autocompleteEnableds(filterList: string[]);
|
|
60
|
+
checkedStatus(autocompleteFilter: string): boolean;
|
|
55
61
|
constructor(ogcFilterService: OGCFilterService, formBuilder: UntypedFormBuilder, domService: DOMService, configService: ConfigService, cdRef: ChangeDetectorRef);
|
|
56
62
|
private buildForm;
|
|
57
63
|
getPushButtonsGroups(): SelectorGroup[];
|
|
@@ -60,10 +66,11 @@ export declare class OgcFilterSelectionComponent implements OnInit {
|
|
|
60
66
|
getSelectGroups(): SelectorGroup[];
|
|
61
67
|
getAutocompleteGroups(): SelectorGroup[];
|
|
62
68
|
ngOnInit(): Promise<void>;
|
|
63
|
-
private
|
|
64
|
-
private
|
|
69
|
+
private initSelectEnabled;
|
|
70
|
+
private initAutocompleteEnableds;
|
|
65
71
|
getToolTip(selector: any): string;
|
|
66
72
|
getSelectDomValues(): Promise<void>;
|
|
73
|
+
onInputChange(): void;
|
|
67
74
|
getAutocompleteDomValues(): Promise<void>;
|
|
68
75
|
getButtonColor(pushButton: OgcPushButton): {};
|
|
69
76
|
bundleIsVertical(bundle: OgcSelectorBundle): boolean;
|
|
@@ -78,8 +85,9 @@ export declare class OgcFilterSelectionComponent implements OnInit {
|
|
|
78
85
|
emptyAutocomplete(): void;
|
|
79
86
|
toggleAllSelection(): void;
|
|
80
87
|
selectOptionClick(value: any, bundle: any, event?: any): void;
|
|
81
|
-
|
|
82
|
-
|
|
88
|
+
toggleAutocompleteOption(event: Event, toggledFilter: string): void;
|
|
89
|
+
toggleSelection(toggledFilter: string): void;
|
|
90
|
+
displayFn(): string;
|
|
83
91
|
private applyFilters;
|
|
84
92
|
isMoreResults(bundle: any, type: any): boolean;
|
|
85
93
|
displayMoreResults(type: any): void;
|
|
@@ -61,6 +61,7 @@ export interface OgcSelectorBundle {
|
|
|
61
61
|
vertical?: boolean;
|
|
62
62
|
multiple?: boolean;
|
|
63
63
|
unfiltered?: boolean;
|
|
64
|
+
showChips?: boolean;
|
|
64
65
|
selectors?: OgcPushButton[] | OgcCheckbox[] | OgcRadioButton[] | OgcSelect[] | OgcAutocomplete[];
|
|
65
66
|
domSelectors?: IgoDomSelector[];
|
|
66
67
|
width?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igo2/geo",
|
|
3
|
-
"version": "17.0.0
|
|
3
|
+
"version": "17.0.0",
|
|
4
4
|
"description": "IGO Library",
|
|
5
5
|
"author": "IGO Community",
|
|
6
6
|
"keywords": [
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"@angular/material": "^17.0.3",
|
|
52
52
|
"@angular/material-moment-adapter": "^17.1.0",
|
|
53
53
|
"@angular/platform-browser": "^17.0.6",
|
|
54
|
-
"@igo2/auth": "^17.0.0
|
|
55
|
-
"@igo2/common": "^17.0.0
|
|
56
|
-
"@igo2/core": "^17.0.0
|
|
57
|
-
"@igo2/utils": "^17.0.0
|
|
54
|
+
"@igo2/auth": "^17.0.0",
|
|
55
|
+
"@igo2/common": "^17.0.0",
|
|
56
|
+
"@igo2/core": "^17.0.0",
|
|
57
|
+
"@igo2/utils": "^17.0.0",
|
|
58
58
|
"@mat-datetimepicker/core": "~13.0.0",
|
|
59
59
|
"file-saver": "^2.0.2",
|
|
60
60
|
"flexsearch": "0.7.21",
|