@igo2/geo 19.0.0-next.13 → 19.0.0-next.14
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/fesm2022/igo2-geo.mjs +457 -125
- package/fesm2022/igo2-geo.mjs.map +1 -1
- package/lib/geometry/shared/geometry.utils.d.ts +5 -0
- package/lib/query/shared/query-search-source.d.ts +1 -1
- package/lib/search/search-bar/search-bar.component.d.ts +2 -1
- package/lib/search/search-settings/search-settings.component.d.ts +8 -2
- package/lib/search/shared/sources/cadastre.d.ts +1 -1
- package/lib/search/shared/sources/coordinates.d.ts +1 -1
- package/lib/search/shared/sources/icherche.d.ts +4 -2
- package/lib/search/shared/sources/ilayer.d.ts +1 -1
- package/lib/search/shared/sources/nominatim.d.ts +1 -1
- package/lib/search/shared/sources/source.d.ts +3 -1
- package/lib/search/shared/sources/storedqueries.d.ts +2 -2
- package/lib/search/shared/sources/workspace.d.ts +1 -1
- package/lib/workspace/widgets/interactive-selection/interactive-selection.component.d.ts +58 -0
- package/lib/workspace/widgets/widgets.d.ts +7 -0
- package/locale/en.geo.json +25 -2
- package/locale/fr.geo.json +24 -1
- package/package.json +8 -5
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import BasicEvent from 'ol/events/Event';
|
|
2
|
+
import type { default as OlGeometry } from 'ol/geom/Geometry';
|
|
2
3
|
import OlLineString from 'ol/geom/LineString';
|
|
3
4
|
import OlLinearRing from 'ol/geom/LinearRing';
|
|
4
5
|
import OlPolygon from 'ol/geom/Polygon';
|
|
5
6
|
import * as olstyle from 'ol/style';
|
|
7
|
+
import { Units } from '@turf/helpers';
|
|
8
|
+
import { FeatureGeometry } from '../../feature';
|
|
6
9
|
/**
|
|
7
10
|
* Create a default style for draw and modify interactions
|
|
8
11
|
* @param color Style color (R, G, B)
|
|
@@ -36,3 +39,5 @@ export declare function sliceOlPolygon(olPolygon: OlPolygon, olSlicer: OlLineStr
|
|
|
36
39
|
*/
|
|
37
40
|
export declare function addLinearRingToOlPolygon(olPolygon: OlPolygon, olLinearRing: OlLinearRing): void;
|
|
38
41
|
export declare function getMousePositionFromOlGeometryEvent(olEvent: BasicEvent): [number, number];
|
|
42
|
+
export declare function doesOlGeometryIntersects(olGeometry1: OlGeometry, olGeometry2: OlGeometry): boolean;
|
|
43
|
+
export declare function bufferOlGeometry(olGeometry: OlGeometry, dist: number, units?: Units): FeatureGeometry;
|
|
@@ -11,7 +11,7 @@ export declare class QuerySearchSource extends SearchSource {
|
|
|
11
11
|
constructor(options: SearchSourceOptions);
|
|
12
12
|
getId(): string;
|
|
13
13
|
getType(): string;
|
|
14
|
-
protected
|
|
14
|
+
protected getEffectiveOptions(): SearchSourceOptions;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuerySearchSource, never>;
|
|
16
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<QuerySearchSource>;
|
|
17
17
|
}
|
|
@@ -79,6 +79,7 @@ export declare class SearchBarComponent implements OnInit, OnDestroy {
|
|
|
79
79
|
get disabled(): boolean;
|
|
80
80
|
readonly disabled$: BehaviorSubject<boolean>;
|
|
81
81
|
pointerSummaryEnabled: boolean;
|
|
82
|
+
allowResetSearchSourcesOptions: boolean;
|
|
82
83
|
searchResultsGeometryEnabled: boolean;
|
|
83
84
|
/**
|
|
84
85
|
* When reverse coordinates status change
|
|
@@ -228,5 +229,5 @@ export declare class SearchBarComponent implements OnInit, OnDestroy {
|
|
|
228
229
|
*/
|
|
229
230
|
private onResearchCompleted;
|
|
230
231
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchBarComponent, never>;
|
|
231
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchBarComponent, "igo-search-bar", never, { "searchTypes": { "alias": "searchTypes"; "required": false; }; "withDivider": { "alias": "withDivider"; "required": false; }; "searchType": { "alias": "searchType"; "required": false; }; "term": { "alias": "term"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "pointerSummaryEnabled": { "alias": "pointerSummaryEnabled"; "required": false; }; "searchResultsGeometryEnabled": { "alias": "searchResultsGeometryEnabled"; "required": false; }; "reverseSearchCoordsFormatEnabled": { "alias": "reverseSearchCoordsFormatEnabled"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "color": { "alias": "color"; "required": false; }; "termSplitter": { "alias": "termSplitter"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "searchSelector": { "alias": "searchSelector"; "required": false; }; "searchSettings": { "alias": "searchSettings"; "required": false; }; "forceNA": { "alias": "forceNA"; "required": false; }; "store": { "alias": "store"; "required": false; }; }, { "pointerSummaryStatus": "pointerSummaryStatus"; "searchResultsGeometryStatus": "searchResultsGeometryStatus"; "reverseSearchCoordsFormatStatus": "reverseSearchCoordsFormatStatus"; "searchTermChange": "searchTermChange"; "search": "search"; "searchTypeChange": "searchTypeChange"; "clearFeature": "clearFeature"; "searchSettingsChange": "searchSettingsChange"; }, never, never, true, never>;
|
|
232
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchBarComponent, "igo-search-bar", never, { "searchTypes": { "alias": "searchTypes"; "required": false; }; "withDivider": { "alias": "withDivider"; "required": false; }; "searchType": { "alias": "searchType"; "required": false; }; "term": { "alias": "term"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "pointerSummaryEnabled": { "alias": "pointerSummaryEnabled"; "required": false; }; "allowResetSearchSourcesOptions": { "alias": "allowResetSearchSourcesOptions"; "required": false; }; "searchResultsGeometryEnabled": { "alias": "searchResultsGeometryEnabled"; "required": false; }; "reverseSearchCoordsFormatEnabled": { "alias": "reverseSearchCoordsFormatEnabled"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "color": { "alias": "color"; "required": false; }; "termSplitter": { "alias": "termSplitter"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "searchSelector": { "alias": "searchSelector"; "required": false; }; "searchSettings": { "alias": "searchSettings"; "required": false; }; "forceNA": { "alias": "forceNA"; "required": false; }; "store": { "alias": "store"; "required": false; }; }, { "pointerSummaryStatus": "pointerSummaryStatus"; "searchResultsGeometryStatus": "searchResultsGeometryStatus"; "reverseSearchCoordsFormatStatus": "reverseSearchCoordsFormatStatus"; "searchTermChange": "searchTermChange"; "search": "search"; "searchTypeChange": "searchTypeChange"; "clearFeature": "clearFeature"; "searchSettingsChange": "searchSettingsChange"; }, never, never, true, never>;
|
|
232
233
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
3
3
|
import { MatRadioChange } from '@angular/material/radio';
|
|
4
|
+
import { FormDialogService } from '@igo2/common/form';
|
|
4
5
|
import { MediaService } from '@igo2/core/media';
|
|
6
|
+
import { MessageService } from '@igo2/core/message';
|
|
5
7
|
import { StorageService } from '@igo2/core/storage';
|
|
6
8
|
import { SearchSourceService } from '../shared/search-source.service';
|
|
7
9
|
import { SearchSource } from '../shared/sources/source';
|
|
@@ -16,6 +18,8 @@ import * as i0 from "@angular/core";
|
|
|
16
18
|
* more than one search source enabled.
|
|
17
19
|
*/
|
|
18
20
|
export declare class SearchSettingsComponent implements OnInit {
|
|
21
|
+
private formDialogService;
|
|
22
|
+
private messageService;
|
|
19
23
|
private searchSourceService;
|
|
20
24
|
private mediaService;
|
|
21
25
|
private storageService;
|
|
@@ -28,6 +32,7 @@ export declare class SearchSettingsComponent implements OnInit {
|
|
|
28
32
|
pointerSummaryEnabled: boolean;
|
|
29
33
|
searchResultsGeometryEnabled: boolean;
|
|
30
34
|
reverseSearchCoordsFormatEnabled: boolean;
|
|
35
|
+
allowResetSearchSourcesOptions: boolean;
|
|
31
36
|
/**
|
|
32
37
|
* Event emitted when the enabled search source changes
|
|
33
38
|
*/
|
|
@@ -45,7 +50,7 @@ export declare class SearchSettingsComponent implements OnInit {
|
|
|
45
50
|
*/
|
|
46
51
|
reverseSearchCoordsFormatStatus: EventEmitter<boolean>;
|
|
47
52
|
handleKeyboardEvent(event: KeyboardEvent): void;
|
|
48
|
-
constructor(searchSourceService: SearchSourceService, mediaService: MediaService, storageService: StorageService);
|
|
53
|
+
constructor(formDialogService: FormDialogService, messageService: MessageService, searchSourceService: SearchSourceService, mediaService: MediaService, storageService: StorageService);
|
|
49
54
|
ngOnInit(): void;
|
|
50
55
|
/**
|
|
51
56
|
* Get all search sources
|
|
@@ -76,6 +81,7 @@ export declare class SearchSettingsComponent implements OnInit {
|
|
|
76
81
|
* @internal
|
|
77
82
|
*/
|
|
78
83
|
computeSourcesCheckAllBehavior(sources: SearchSource[]): void;
|
|
84
|
+
resetSourceOptions(event: any): void;
|
|
79
85
|
/**
|
|
80
86
|
* Triggered when the check all / uncheck all type is clicked,
|
|
81
87
|
* @internal
|
|
@@ -99,5 +105,5 @@ export declare class SearchSettingsComponent implements OnInit {
|
|
|
99
105
|
changeSearchResultsGeometry(event: any): void;
|
|
100
106
|
reverseSearchCoordsFormat(event: any): void;
|
|
101
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchSettingsComponent, never>;
|
|
102
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchSettingsComponent, "igo-search-settings", never, { "pointerSummaryEnabled": { "alias": "pointerSummaryEnabled"; "required": false; }; "searchResultsGeometryEnabled": { "alias": "searchResultsGeometryEnabled"; "required": false; }; "reverseSearchCoordsFormatEnabled": { "alias": "reverseSearchCoordsFormatEnabled"; "required": false; }; }, { "searchSourceChange": "searchSourceChange"; "pointerSummaryStatus": "pointerSummaryStatus"; "searchResultsGeometryStatus": "searchResultsGeometryStatus"; "reverseSearchCoordsFormatStatus": "reverseSearchCoordsFormatStatus"; }, never, never, true, never>;
|
|
108
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchSettingsComponent, "igo-search-settings", never, { "pointerSummaryEnabled": { "alias": "pointerSummaryEnabled"; "required": false; }; "searchResultsGeometryEnabled": { "alias": "searchResultsGeometryEnabled"; "required": false; }; "reverseSearchCoordsFormatEnabled": { "alias": "reverseSearchCoordsFormatEnabled"; "required": false; }; "allowResetSearchSourcesOptions": { "alias": "allowResetSearchSourcesOptions"; "required": false; }; }, { "searchSourceChange": "searchSourceChange"; "pointerSummaryStatus": "pointerSummaryStatus"; "searchResultsGeometryStatus": "searchResultsGeometryStatus"; "reverseSearchCoordsFormatStatus": "reverseSearchCoordsFormatStatus"; }, never, never, true, never>;
|
|
103
109
|
}
|
|
@@ -18,7 +18,7 @@ export declare class CadastreSearchSource extends SearchSource implements TextSe
|
|
|
18
18
|
constructor(http: HttpClient, languageService: LanguageService, storageService: StorageService, options: SearchSourceOptions);
|
|
19
19
|
getId(): string;
|
|
20
20
|
getType(): string;
|
|
21
|
-
protected
|
|
21
|
+
protected getEffectiveOptions(): SearchSourceOptions;
|
|
22
22
|
/**
|
|
23
23
|
* Search a place by name
|
|
24
24
|
* @param term Place name
|
|
@@ -27,7 +27,7 @@ export declare class CoordinatesReverseSearchSource extends SearchSource impleme
|
|
|
27
27
|
constructor(options: SearchSourceOptions, languageService: LanguageService, storageService: StorageService, projections: Projection[]);
|
|
28
28
|
getId(): string;
|
|
29
29
|
getType(): string;
|
|
30
|
-
protected
|
|
30
|
+
protected getEffectiveOptions(): SearchSourceOptions;
|
|
31
31
|
/**
|
|
32
32
|
* Search a location by coordinates
|
|
33
33
|
* @param lonLat Location coordinates
|
|
@@ -32,12 +32,13 @@ export declare class IChercheSearchSource extends SearchSource implements TextSe
|
|
|
32
32
|
static type: string;
|
|
33
33
|
static propertiesBlacklist: string[];
|
|
34
34
|
title$: BehaviorSubject<string>;
|
|
35
|
+
static defaultIchercheTypes: string[];
|
|
35
36
|
private hashtagsLieuxToKeep;
|
|
36
37
|
get title(): string;
|
|
37
38
|
constructor(http: HttpClient, languageService: LanguageService, storageService: StorageService, options: SearchSourceOptions, formatter: IChercheSearchResultFormatter, injector: Injector);
|
|
38
39
|
getId(): string;
|
|
39
40
|
getType(): string;
|
|
40
|
-
protected
|
|
41
|
+
protected getEffectiveOptions(): SearchSourceOptions;
|
|
41
42
|
/**
|
|
42
43
|
* Search a location by name or keyword
|
|
43
44
|
* @param term Location name or keyword
|
|
@@ -73,12 +74,13 @@ export declare class IChercheReverseSearchSource extends SearchSource implements
|
|
|
73
74
|
static id: string;
|
|
74
75
|
static type: string;
|
|
75
76
|
static propertiesBlacklist: string[];
|
|
77
|
+
static defaultIchercheTypes: string[];
|
|
76
78
|
title$: BehaviorSubject<string>;
|
|
77
79
|
get title(): string;
|
|
78
80
|
constructor(http: HttpClient, languageService: LanguageService, storageService: StorageService, options: SearchSourceOptions, injector: Injector);
|
|
79
81
|
getId(): string;
|
|
80
82
|
getType(): string;
|
|
81
|
-
protected
|
|
83
|
+
protected getEffectiveOptions(): SearchSourceOptions;
|
|
82
84
|
/**
|
|
83
85
|
* Search a location by coordinates
|
|
84
86
|
* @param lonLat Location coordinates
|
|
@@ -28,7 +28,7 @@ export declare class ILayerSearchSource extends SearchSource implements TextSear
|
|
|
28
28
|
constructor(http: HttpClient, languageService: LanguageService, storageService: StorageService, options: ILayerSearchSourceOptions, formatter: ILayerSearchResultFormatter);
|
|
29
29
|
getId(): string;
|
|
30
30
|
getType(): string;
|
|
31
|
-
protected
|
|
31
|
+
protected getEffectiveOptions(): ILayerSearchSourceOptions;
|
|
32
32
|
/**
|
|
33
33
|
* Search a layer by name or keyword
|
|
34
34
|
* @param term Layer name or keyword
|
|
@@ -16,7 +16,7 @@ export declare class NominatimSearchSource extends SearchSource implements TextS
|
|
|
16
16
|
constructor(http: HttpClient, options: SearchSourceOptions, storageService: StorageService);
|
|
17
17
|
getId(): string;
|
|
18
18
|
getType(): string;
|
|
19
|
-
protected
|
|
19
|
+
protected getEffectiveOptions(): SearchSourceOptions;
|
|
20
20
|
/**
|
|
21
21
|
* Search a place by name
|
|
22
22
|
* @param term Place name
|
|
@@ -22,6 +22,7 @@ export declare class SearchSource {
|
|
|
22
22
|
* @internal
|
|
23
23
|
*/
|
|
24
24
|
protected options: SearchSourceOptions;
|
|
25
|
+
protected defaultOptions: SearchSourceOptions;
|
|
25
26
|
/**
|
|
26
27
|
* Get search source's id
|
|
27
28
|
* @returns Search source's id
|
|
@@ -36,7 +37,7 @@ export declare class SearchSource {
|
|
|
36
37
|
* Get search source's default options
|
|
37
38
|
* @returns Search source default options
|
|
38
39
|
*/
|
|
39
|
-
protected
|
|
40
|
+
protected getEffectiveOptions(): SearchSourceOptions;
|
|
40
41
|
/**
|
|
41
42
|
* Search source's title
|
|
42
43
|
*/
|
|
@@ -67,6 +68,7 @@ export declare class SearchSource {
|
|
|
67
68
|
set featureStoresWithIndex(storesWithIndex: FeatureStore[]);
|
|
68
69
|
get featureStoresWithIndex(): FeatureStore[];
|
|
69
70
|
private _featureStoresWithIndex;
|
|
71
|
+
resetSourceOptions(): void;
|
|
70
72
|
setWorkspaces(workspaces: Workspace[]): void;
|
|
71
73
|
/**
|
|
72
74
|
* Set params from selected settings
|
|
@@ -23,7 +23,7 @@ export declare class StoredQueriesSearchSource extends SearchSource implements T
|
|
|
23
23
|
constructor(http: HttpClient, languageService: LanguageService, storageService: StorageService, options: SearchSourceOptions);
|
|
24
24
|
getId(): string;
|
|
25
25
|
getType(): string;
|
|
26
|
-
protected
|
|
26
|
+
protected getEffectiveOptions(): SearchSourceOptions;
|
|
27
27
|
/**
|
|
28
28
|
* Search a location by name or keyword
|
|
29
29
|
* @param term Location name or keyword
|
|
@@ -56,7 +56,7 @@ export declare class StoredQueriesReverseSearchSource extends SearchSource imple
|
|
|
56
56
|
constructor(http: HttpClient, languageService: LanguageService, storageService: StorageService, options: SearchSourceOptions);
|
|
57
57
|
getId(): string;
|
|
58
58
|
getType(): string;
|
|
59
|
-
protected
|
|
59
|
+
protected getEffectiveOptions(): SearchSourceOptions;
|
|
60
60
|
/**
|
|
61
61
|
* Search a location by coordinates
|
|
62
62
|
* @param lonLat Location coordinates
|
|
@@ -18,7 +18,7 @@ export declare class WorkspaceSearchSource extends SearchSource implements TextS
|
|
|
18
18
|
constructor(languageService: LanguageService, storageService: StorageService, options: SearchSourceOptions);
|
|
19
19
|
getId(): string;
|
|
20
20
|
getType(): string;
|
|
21
|
-
protected
|
|
21
|
+
protected getEffectiveOptions(): SearchSourceOptions;
|
|
22
22
|
/**
|
|
23
23
|
* Search a location by name or keyword
|
|
24
24
|
* @param term Location name or keyword
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { OnUpdateInputs } from '@igo2/common/dynamic-component';
|
|
3
|
+
import { Form, FormService } from '@igo2/common/form';
|
|
4
|
+
import { WidgetComponent } from '@igo2/common/widget';
|
|
5
|
+
import { LanguageService } from '@igo2/core/language';
|
|
6
|
+
import { BehaviorSubject } from 'rxjs';
|
|
7
|
+
import { FeatureGeometry } from '../../../feature/shared/feature.interfaces';
|
|
8
|
+
import { IgoMap } from '../../../map/shared/map';
|
|
9
|
+
import { FeatureWorkspace } from '../../shared/feature-workspace';
|
|
10
|
+
import { WfsWorkspace } from '../../shared/wfs-workspace';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
interface DataSelectionData {
|
|
13
|
+
geometry?: FeatureGeometry;
|
|
14
|
+
action?: SelectionAction;
|
|
15
|
+
buffer?: string;
|
|
16
|
+
}
|
|
17
|
+
declare enum SelectionAction {
|
|
18
|
+
New = "new",
|
|
19
|
+
Add = "add",
|
|
20
|
+
Remove = "remove"
|
|
21
|
+
}
|
|
22
|
+
export declare class InteractiveSelectionFormComponent implements OnInit, OnDestroy, OnUpdateInputs, WidgetComponent {
|
|
23
|
+
private cdRef;
|
|
24
|
+
private formService;
|
|
25
|
+
private languageService;
|
|
26
|
+
form$: BehaviorSubject<Form>;
|
|
27
|
+
submitButtonText$: BehaviorSubject<string>;
|
|
28
|
+
submitDisabled: boolean;
|
|
29
|
+
private valueChanges$$;
|
|
30
|
+
data$: BehaviorSubject<DataSelectionData>;
|
|
31
|
+
map: IgoMap;
|
|
32
|
+
workspace: FeatureWorkspace | WfsWorkspace;
|
|
33
|
+
/**
|
|
34
|
+
* Event emitted on complete
|
|
35
|
+
*/
|
|
36
|
+
complete: EventEmitter<void>;
|
|
37
|
+
/**
|
|
38
|
+
* Event emitted on cancel
|
|
39
|
+
*/
|
|
40
|
+
cancel: EventEmitter<void>;
|
|
41
|
+
constructor(cdRef: ChangeDetectorRef, formService: FormService, languageService: LanguageService);
|
|
42
|
+
ngOnInit(): void;
|
|
43
|
+
private setAction;
|
|
44
|
+
ngOnDestroy(): void;
|
|
45
|
+
/**
|
|
46
|
+
* Implemented as part of OnUpdateInputs
|
|
47
|
+
*/
|
|
48
|
+
onUpdateInputs(): void;
|
|
49
|
+
/**
|
|
50
|
+
* On close, emit the cancel event
|
|
51
|
+
*/
|
|
52
|
+
onClose(): void;
|
|
53
|
+
onSubmit(data: DataSelectionData): void;
|
|
54
|
+
clear(): void;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InteractiveSelectionFormComponent, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InteractiveSelectionFormComponent, "igo-interactive-selection", never, { "map": { "alias": "map"; "required": false; }; "workspace": { "alias": "workspace"; "required": false; }; }, { "complete": "complete"; "cancel": "cancel"; }, never, never, true, never>;
|
|
57
|
+
}
|
|
58
|
+
export {};
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { Widget, WidgetService } from '@igo2/common/widget';
|
|
3
3
|
export declare const OgcFilterWidget: InjectionToken<Widget>;
|
|
4
|
+
export declare const InteractiveSelectionFormWidget: InjectionToken<Widget>;
|
|
4
5
|
export declare function ogcFilterWidgetFactory(widgetService: WidgetService): Widget;
|
|
5
6
|
export declare function provideOgcFilterWidget(): {
|
|
6
7
|
provide: InjectionToken<Widget>;
|
|
7
8
|
useFactory: typeof ogcFilterWidgetFactory;
|
|
8
9
|
deps: (typeof WidgetService)[];
|
|
9
10
|
};
|
|
11
|
+
export declare function interactiveSelectionFormWidgetFactory(widgetService: WidgetService): Widget;
|
|
12
|
+
export declare function provideInteractiveSelectionFormWidget(): {
|
|
13
|
+
provide: InjectionToken<Widget>;
|
|
14
|
+
useFactory: typeof interactiveSelectionFormWidgetFactory;
|
|
15
|
+
deps: (typeof WidgetService)[];
|
|
16
|
+
};
|
package/locale/en.geo.json
CHANGED
|
@@ -578,6 +578,17 @@
|
|
|
578
578
|
"selectAll": "Select All",
|
|
579
579
|
"unselectAll": "Unselect All",
|
|
580
580
|
"settings": {
|
|
581
|
+
"reset": {
|
|
582
|
+
"button": "Reset search options",
|
|
583
|
+
"dialog": {
|
|
584
|
+
"title": "Choose search services to reset",
|
|
585
|
+
"form.field.title": "Choose search service(s)"
|
|
586
|
+
},
|
|
587
|
+
"notice": {
|
|
588
|
+
"multiple": "The options for the selected search services have been reset.",
|
|
589
|
+
"single": "The options for the selected search service have been reset."
|
|
590
|
+
}
|
|
591
|
+
},
|
|
581
592
|
"datasets": "Datasets",
|
|
582
593
|
"results type": "Results type",
|
|
583
594
|
"ecmax": "Maximum deviation",
|
|
@@ -822,8 +833,20 @@
|
|
|
822
833
|
"addError": "An error has occured. Entity could not be added.",
|
|
823
834
|
"modifyError": "An error has occured. Entity could not be modified.",
|
|
824
835
|
"cancel": "Cancel",
|
|
825
|
-
"inMapExtent.active.tooltip": "
|
|
826
|
-
"inMapExtent.inactive.tooltip": "
|
|
836
|
+
"inMapExtent.active.tooltip": "Show only features contained in the map",
|
|
837
|
+
"inMapExtent.inactive.tooltip": "Show all features",
|
|
838
|
+
"widget": {
|
|
839
|
+
"interactiveSelection": {
|
|
840
|
+
"selection.add": "Add to the current selection",
|
|
841
|
+
"selection.new": "Select",
|
|
842
|
+
"selection.remove": "Remove from the current selection",
|
|
843
|
+
"reset": {
|
|
844
|
+
"button": "Reset"
|
|
845
|
+
},
|
|
846
|
+
"action.title": "How to handle results",
|
|
847
|
+
"buffer.title": "Buffer size (meters)"
|
|
848
|
+
}
|
|
849
|
+
}
|
|
827
850
|
},
|
|
828
851
|
"formValidation": {
|
|
829
852
|
"mandatory": "{{column}} is mandatory",
|
package/locale/fr.geo.json
CHANGED
|
@@ -577,6 +577,17 @@
|
|
|
577
577
|
"selectAll": "Tout sélectionner",
|
|
578
578
|
"unselectAll": "Tout désélectionner",
|
|
579
579
|
"settings": {
|
|
580
|
+
"reset": {
|
|
581
|
+
"button": "Réinitialiser les options de recherche",
|
|
582
|
+
"dialog": {
|
|
583
|
+
"title": "Choisir les services de recherche à réinitialiser",
|
|
584
|
+
"form.field.title": "Choisir le(s) service(s) de recherche"
|
|
585
|
+
},
|
|
586
|
+
"notice": {
|
|
587
|
+
"multiple": "Les options des services de recherche sélectionnés ont été réinitialisés.",
|
|
588
|
+
"single": "Les options du service de recherche sélectionné ont été réinitialisés."
|
|
589
|
+
}
|
|
590
|
+
},
|
|
580
591
|
"datasets": "Jeu de données",
|
|
581
592
|
"results type": "Type de résultat",
|
|
582
593
|
"ecmax": "Écart maximal",
|
|
@@ -823,7 +834,19 @@
|
|
|
823
834
|
"modifyError": "Un problème est survenu. L'entité n'a pas pu être modifiée.",
|
|
824
835
|
"cancel": "Annuler",
|
|
825
836
|
"inMapExtent.active.tooltip": "Ne montrer que les enregistrements contenus dans la carte",
|
|
826
|
-
"inMapExtent.inactive.tooltip": "Montrer tous les enregistrements"
|
|
837
|
+
"inMapExtent.inactive.tooltip": "Montrer tous les enregistrements",
|
|
838
|
+
"widget": {
|
|
839
|
+
"interactiveSelection": {
|
|
840
|
+
"selection.add": "Ajouter à la présente sélection",
|
|
841
|
+
"selection.new": "Effectuer la sélection",
|
|
842
|
+
"selection.remove": "Supprimer les résultats de la sélection",
|
|
843
|
+
"reset": {
|
|
844
|
+
"button": "Réinitialiser"
|
|
845
|
+
},
|
|
846
|
+
"action.title": "Action à faire avec le résultat de la présente sélection",
|
|
847
|
+
"buffer.title": "Taille de la zone tampon en mètre"
|
|
848
|
+
}
|
|
849
|
+
}
|
|
827
850
|
},
|
|
828
851
|
"formValidation": {
|
|
829
852
|
"mandatory": "{{column}}est un champ obligatoire",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igo2/geo",
|
|
3
|
-
"version": "19.0.0-next.
|
|
3
|
+
"version": "19.0.0-next.14",
|
|
4
4
|
"description": "IGO Library",
|
|
5
5
|
"author": "IGO Community",
|
|
6
6
|
"keywords": [
|
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@mat-datetimepicker/core": "^15.0.1",
|
|
36
|
+
"@turf/boolean-intersects": "^7.2.0",
|
|
37
|
+
"@turf/buffer": "^7.2.0",
|
|
38
|
+
"@turf/intersect": "^7.2.0",
|
|
36
39
|
"@turf/helpers": "^7.2.0",
|
|
37
40
|
"@turf/line-intersect": "^7.2.0",
|
|
38
41
|
"@turf/point-on-feature": "^7.2.0",
|
|
@@ -58,10 +61,10 @@
|
|
|
58
61
|
"@angular/material": "^19.0.0",
|
|
59
62
|
"@angular/material-moment-adapter": "^19.0.0",
|
|
60
63
|
"@angular/platform-browser": "^19.0.0",
|
|
61
|
-
"@igo2/auth": "^19.0.0-next.
|
|
62
|
-
"@igo2/common": "^19.0.0-next.
|
|
63
|
-
"@igo2/core": "^19.0.0-next.
|
|
64
|
-
"@igo2/utils": "^19.0.0-next.
|
|
64
|
+
"@igo2/auth": "^19.0.0-next.14",
|
|
65
|
+
"@igo2/common": "^19.0.0-next.14",
|
|
66
|
+
"@igo2/core": "^19.0.0-next.14",
|
|
67
|
+
"@igo2/utils": "^19.0.0-next.14",
|
|
65
68
|
"ol-mapbox-style": "^12.5.0",
|
|
66
69
|
"ol": "10.5.0",
|
|
67
70
|
"proj4": "^2.15.0",
|