@igo2/integration 20.0.1 → 20.1.0-next.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/fesm2022/igo2-integration.mjs +667 -731
- package/fesm2022/igo2-integration.mjs.map +1 -1
- package/index.d.ts +96 -98
- package/locale/en.integration.json +1 -1
- package/locale/fr.integration.json +1 -1
- package/package.json +7 -6
package/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnInit, OnDestroy, ModuleWithProviders } from '@angular/core';
|
|
3
|
-
import { IgoMap, LayerListControlsOptions, Catalog, CatalogItem, CatalogItemState, StopsStore, StopsFeatureStore, RoutesFeatureStore, StepsFeatureStore, FeatureStore, FeatureWithDraw, DrawControl, VectorLayer, AnyLayer, ExportOptions, ProjectionsLimitationsOptions, Feature, LayerViewerOptions, Layer, FeatureWithMeasure, SearchResult, Research, SpatialFilterType, SpatialFilterItemType, SpatialFilterQueryType, SpatialFilterThematic, MeasureLengthUnit, EnvironmentOptions as EnvironmentOptions$4, IOfflineOptions, WfsWorkspace, FeatureWorkspace, CommonVectorStyleOptions, FeatureMotion } from '@igo2/geo';
|
|
3
|
+
import { IgoMap, LayerListControlsOptions, Catalog, CatalogItem, CatalogItemState, StopsStore, StopsFeatureStore, RoutesFeatureStore, StepsFeatureStore, FeatureStore, FeatureWithDraw, LayerId, DrawControl, VectorLayer, AnyLayer, ExportOptions, ProjectionsLimitationsOptions, Feature, LayerViewerOptions, Layer, FeatureWithMeasure, SearchResult, Research, SpatialFilterType, SpatialFilterItemType, SpatialFilterQueryType, SpatialFilterThematic, MeasureLengthUnit, EnvironmentOptions as EnvironmentOptions$4, IOfflineOptions, WfsWorkspace, FeatureWorkspace, CommonVectorStyleOptions, FeatureMotion } from '@igo2/geo';
|
|
4
4
|
import * as _igo2_common_entity from '@igo2/common/entity';
|
|
5
5
|
import { EntityStore, EntityTableComponent, EntityTableTemplate, EntityRecord, EntityState } from '@igo2/common/entity';
|
|
6
6
|
import * as rxjs from 'rxjs';
|
|
7
|
-
import { BehaviorSubject,
|
|
7
|
+
import { BehaviorSubject, Observable, ReplaySubject, Subscription } from 'rxjs';
|
|
8
8
|
import { DetailedContext, EnvironmentOptions as EnvironmentOptions$3 } from '@igo2/context';
|
|
9
9
|
import { WorkspaceStore, Workspace } from '@igo2/common/workspace';
|
|
10
10
|
import { MatRadioChange } from '@angular/material/radio';
|
|
@@ -40,12 +40,14 @@ declare class ContextEditorToolComponent {
|
|
|
40
40
|
declare class ContextManagerToolComponent {
|
|
41
41
|
private toolState;
|
|
42
42
|
private mapState;
|
|
43
|
-
|
|
43
|
+
private mediaService;
|
|
44
|
+
readonly toolToOpenOnContextChange: i0.InputSignal<string>;
|
|
44
45
|
get map(): IgoMap;
|
|
46
|
+
isDesktop: i0.Signal<boolean>;
|
|
45
47
|
editContext(): void;
|
|
46
48
|
managePermissions(): void;
|
|
47
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContextManagerToolComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContextManagerToolComponent, "igo-context-manager-tool", never, { "toolToOpenOnContextChange": { "alias": "toolToOpenOnContextChange"; "required": false; }; }, {}, never, never, true, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContextManagerToolComponent, "igo-context-manager-tool", never, { "toolToOpenOnContextChange": { "alias": "toolToOpenOnContextChange"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
declare class ContextPermissionManagerToolComponent {
|
|
@@ -104,15 +106,15 @@ declare class CatalogLibraryToolComponent implements OnInit, OnDestroy {
|
|
|
104
106
|
/**
|
|
105
107
|
* Determine if the form to add a catalog is allowed
|
|
106
108
|
*/
|
|
107
|
-
addCatalogAllowed: boolean
|
|
109
|
+
readonly addCatalogAllowed: i0.InputSignal<boolean>;
|
|
108
110
|
/**
|
|
109
111
|
* Determine if the export button is shown
|
|
110
112
|
*/
|
|
111
|
-
exportButton: boolean
|
|
113
|
+
readonly exportButton: i0.InputSignal<boolean>;
|
|
112
114
|
/**
|
|
113
115
|
* List of predefined catalogs
|
|
114
116
|
*/
|
|
115
|
-
predefinedCatalogs: Catalog[]
|
|
117
|
+
readonly predefinedCatalogs: i0.InputSignal<Catalog[]>;
|
|
116
118
|
set selectedCatalogId(id: any);
|
|
117
119
|
get currentTool(): string;
|
|
118
120
|
get lastTool(): string;
|
|
@@ -160,7 +162,7 @@ declare class CatalogLibraryToolComponent implements OnInit, OnDestroy {
|
|
|
160
162
|
*/
|
|
161
163
|
exportExcel(catalogOutputs: ListExport[]): Promise<void>;
|
|
162
164
|
static ɵfac: i0.ɵɵFactoryDeclaration<CatalogLibraryToolComponent, never>;
|
|
163
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CatalogLibraryToolComponent, "igo-catalog-library-tool", never, { "addCatalogAllowed": { "alias": "addCatalogAllowed"; "required": false; }; "exportButton": { "alias": "exportButton"; "required": false; }; "predefinedCatalogs": { "alias": "predefinedCatalogs"; "required": false; }; }, {}, never, never, true, never>;
|
|
165
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CatalogLibraryToolComponent, "igo-catalog-library-tool", never, { "addCatalogAllowed": { "alias": "addCatalogAllowed"; "required": false; "isSignal": true; }; "exportButton": { "alias": "exportButton"; "required": false; "isSignal": true; }; "predefinedCatalogs": { "alias": "predefinedCatalogs"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
164
166
|
}
|
|
165
167
|
|
|
166
168
|
/**
|
|
@@ -193,7 +195,7 @@ declare class CatalogBrowserToolComponent implements OnInit, OnDestroy {
|
|
|
193
195
|
/**
|
|
194
196
|
* Whether a group can be toggled when it's collapsed
|
|
195
197
|
*/
|
|
196
|
-
toggleCollapsedGroup: boolean
|
|
198
|
+
readonly toggleCollapsedGroup: i0.InputSignal<boolean>;
|
|
197
199
|
/**
|
|
198
200
|
* Map to add layers to
|
|
199
201
|
* @internal
|
|
@@ -214,7 +216,7 @@ declare class CatalogBrowserToolComponent implements OnInit, OnDestroy {
|
|
|
214
216
|
*/
|
|
215
217
|
private loadCatalogItems;
|
|
216
218
|
static ɵfac: i0.ɵɵFactoryDeclaration<CatalogBrowserToolComponent, never>;
|
|
217
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CatalogBrowserToolComponent, "igo-catalog-browser-tool", never, { "toggleCollapsedGroup": { "alias": "toggleCollapsedGroup"; "required": false; }; }, {}, never, never, true, never>;
|
|
219
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CatalogBrowserToolComponent, "igo-catalog-browser-tool", never, { "toggleCollapsedGroup": { "alias": "toggleCollapsedGroup"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
218
220
|
}
|
|
219
221
|
|
|
220
222
|
/**
|
|
@@ -270,7 +272,6 @@ declare class ContextState {
|
|
|
270
272
|
declare class DirectionsToolComponent implements OnInit {
|
|
271
273
|
private directionState;
|
|
272
274
|
private mapState;
|
|
273
|
-
private languageService;
|
|
274
275
|
private messageService;
|
|
275
276
|
private storageService;
|
|
276
277
|
contextState: ContextState;
|
|
@@ -292,17 +293,9 @@ declare class DirectionsToolComponent implements OnInit {
|
|
|
292
293
|
* @internal
|
|
293
294
|
*/
|
|
294
295
|
get routesFeatureStore(): RoutesFeatureStore;
|
|
295
|
-
/**
|
|
296
|
-
* step store
|
|
297
|
-
* @internal
|
|
298
|
-
*/
|
|
299
296
|
get stepFeatureStore(): StepsFeatureStore;
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
* @internal
|
|
303
|
-
*/
|
|
304
|
-
get zoomOnActiveRoute$(): Subject<void>;
|
|
305
|
-
get authenticated$(): BehaviorSubject<boolean>;
|
|
297
|
+
get zoomOnActiveRoute(): i0.WritableSignal<boolean>;
|
|
298
|
+
get authenticated$(): rxjs.BehaviorSubject<boolean>;
|
|
306
299
|
/**
|
|
307
300
|
* Map to measure on
|
|
308
301
|
* @internal
|
|
@@ -339,13 +332,13 @@ declare class DrawingToolComponent {
|
|
|
339
332
|
* @internal
|
|
340
333
|
*/
|
|
341
334
|
get map(): IgoMap;
|
|
342
|
-
get layersID():
|
|
343
|
-
get drawControls(): [
|
|
344
|
-
set drawControls(dc: [
|
|
335
|
+
get layersID(): LayerId[];
|
|
336
|
+
get drawControls(): [LayerId, DrawControl][];
|
|
337
|
+
set drawControls(dc: [LayerId, DrawControl][]);
|
|
345
338
|
get activeDrawingLayer(): VectorLayer;
|
|
346
339
|
set activeDrawingLayer(value: VectorLayer);
|
|
347
|
-
addLayersID(layerID:
|
|
348
|
-
addDrawControls(dc: [
|
|
340
|
+
addLayersID(layerID: LayerId): void;
|
|
341
|
+
addDrawControls(dc: [LayerId, DrawControl][]): void;
|
|
349
342
|
static ɵfac: i0.ɵɵFactoryDeclaration<DrawingToolComponent, never>;
|
|
350
343
|
static ɵcmp: i0.ɵɵComponentDeclaration<DrawingToolComponent, "igo-drawing-tool", never, {}, {}, never, never, true, never>;
|
|
351
344
|
}
|
|
@@ -376,12 +369,12 @@ declare class WorkspaceButtonComponent implements OnInit, OnDestroy {
|
|
|
376
369
|
set layer(value: AnyLayer);
|
|
377
370
|
get layer(): AnyLayer;
|
|
378
371
|
private _layer;
|
|
379
|
-
color: string
|
|
372
|
+
readonly color: i0.InputSignal<string>;
|
|
380
373
|
ngOnInit(): void;
|
|
381
374
|
ngOnDestroy(): void;
|
|
382
375
|
activateWorkspace(): void;
|
|
383
376
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceButtonComponent, never>;
|
|
384
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceButtonComponent, "igo-workspace-button", never, { "layer": { "alias": "layer"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
377
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceButtonComponent, "igo-workspace-button", never, { "layer": { "alias": "layer"; "required": false; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
385
378
|
}
|
|
386
379
|
|
|
387
380
|
/**
|
|
@@ -420,16 +413,16 @@ declare class ImportExportToolComponent implements OnInit {
|
|
|
420
413
|
importExportState: ImportExportState;
|
|
421
414
|
private workspaceState;
|
|
422
415
|
contextState: ContextState;
|
|
423
|
-
projectionsLimitations: ProjectionsLimitationsOptions
|
|
424
|
-
selectFirstProj: boolean
|
|
416
|
+
readonly projectionsLimitations: i0.InputSignal<ProjectionsLimitationsOptions>;
|
|
417
|
+
readonly selectFirstProj: i0.InputSignal<boolean>;
|
|
425
418
|
/**
|
|
426
419
|
* Map to measure on
|
|
427
420
|
* @internal
|
|
428
421
|
*/
|
|
429
422
|
get map(): IgoMap;
|
|
430
423
|
get workspaceStore(): WorkspaceStore;
|
|
431
|
-
importExportType: ImportExportType
|
|
432
|
-
importExportShowBothType: boolean
|
|
424
|
+
readonly importExportType: i0.ModelSignal<ImportExportType>;
|
|
425
|
+
readonly importExportShowBothType: i0.InputSignal<boolean>;
|
|
433
426
|
ngOnInit(): void;
|
|
434
427
|
private selectType;
|
|
435
428
|
private selectMode;
|
|
@@ -437,7 +430,7 @@ declare class ImportExportToolComponent implements OnInit {
|
|
|
437
430
|
exportOptionsChange(exportOptions: ExportOptions): void;
|
|
438
431
|
importExportTypeChange(event: any): void;
|
|
439
432
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImportExportToolComponent, never>;
|
|
440
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImportExportToolComponent, "igo-import-export-tool", never, { "projectionsLimitations": { "alias": "projectionsLimitations"; "required": false; }; "selectFirstProj": { "alias": "selectFirstProj"; "required": false; }; "importExportType": { "alias": "importExportType"; "required": false; }; "importExportShowBothType": { "alias": "importExportShowBothType"; "required": false; }; }, {}, never, never, true, never>;
|
|
433
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImportExportToolComponent, "igo-import-export-tool", never, { "projectionsLimitations": { "alias": "projectionsLimitations"; "required": false; "isSignal": true; }; "selectFirstProj": { "alias": "selectFirstProj"; "required": false; "isSignal": true; }; "importExportType": { "alias": "importExportType"; "required": false; "isSignal": true; }; "importExportShowBothType": { "alias": "importExportShowBothType"; "required": false; "isSignal": true; }; }, { "importExportType": "importExportTypeChange"; }, never, never, true, never>;
|
|
441
434
|
}
|
|
442
435
|
|
|
443
436
|
/**
|
|
@@ -515,7 +508,7 @@ declare class MapProximityToolComponent implements OnInit, OnDestroy {
|
|
|
515
508
|
private languageService;
|
|
516
509
|
private messageService;
|
|
517
510
|
private subs$$;
|
|
518
|
-
table: EntityTableComponent
|
|
511
|
+
readonly table: i0.Signal<EntityTableComponent>;
|
|
519
512
|
get maxDistance(): number;
|
|
520
513
|
set maxDistance(value: number);
|
|
521
514
|
get map(): IgoMap;
|
|
@@ -549,13 +542,13 @@ declare class MapToolComponent implements OnInit {
|
|
|
549
542
|
mediaService: MediaService;
|
|
550
543
|
private cdr;
|
|
551
544
|
isDesktop: boolean;
|
|
552
|
-
toggleLegendOnVisibilityChange: boolean
|
|
553
|
-
expandLegendOfVisibleLayers: boolean
|
|
554
|
-
updateLegendOnResolutionChange: boolean
|
|
555
|
-
ogcButton: boolean
|
|
556
|
-
timeButton: boolean
|
|
557
|
-
layerListControls: LayerListControlsOptions
|
|
558
|
-
queryBadge: boolean
|
|
545
|
+
readonly toggleLegendOnVisibilityChange: i0.InputSignal<boolean>;
|
|
546
|
+
readonly expandLegendOfVisibleLayers: i0.InputSignal<boolean>;
|
|
547
|
+
readonly updateLegendOnResolutionChange: i0.InputSignal<boolean>;
|
|
548
|
+
readonly ogcButton: i0.InputSignal<boolean>;
|
|
549
|
+
readonly timeButton: i0.InputSignal<boolean>;
|
|
550
|
+
readonly layerListControls: i0.InputSignal<LayerListControlsOptions>;
|
|
551
|
+
readonly queryBadge: i0.InputSignal<boolean>;
|
|
559
552
|
get map(): IgoMap;
|
|
560
553
|
get excludeBaseLayers(): boolean;
|
|
561
554
|
get layerFilterAndSortOptions(): any;
|
|
@@ -566,7 +559,7 @@ declare class MapToolComponent implements OnInit {
|
|
|
566
559
|
activateExport(layer: Layer): void;
|
|
567
560
|
private handleMedia;
|
|
568
561
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapToolComponent, never>;
|
|
569
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MapToolComponent, "igo-map-tool", never, { "toggleLegendOnVisibilityChange": { "alias": "toggleLegendOnVisibilityChange"; "required": false; }; "expandLegendOfVisibleLayers": { "alias": "expandLegendOfVisibleLayers"; "required": false; }; "updateLegendOnResolutionChange": { "alias": "updateLegendOnResolutionChange"; "required": false; }; "ogcButton": { "alias": "ogcButton"; "required": false; }; "timeButton": { "alias": "timeButton"; "required": false; }; "layerListControls": { "alias": "layerListControls"; "required": false; }; "queryBadge": { "alias": "queryBadge"; "required": false; }; }, {}, never, never, true, never>;
|
|
562
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MapToolComponent, "igo-map-tool", never, { "toggleLegendOnVisibilityChange": { "alias": "toggleLegendOnVisibilityChange"; "required": false; "isSignal": true; }; "expandLegendOfVisibleLayers": { "alias": "expandLegendOfVisibleLayers"; "required": false; "isSignal": true; }; "updateLegendOnResolutionChange": { "alias": "updateLegendOnResolutionChange"; "required": false; "isSignal": true; }; "ogcButton": { "alias": "ogcButton"; "required": false; "isSignal": true; }; "timeButton": { "alias": "timeButton"; "required": false; "isSignal": true; }; "layerListControls": { "alias": "layerListControls"; "required": false; "isSignal": true; }; "queryBadge": { "alias": "queryBadge"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
570
563
|
}
|
|
571
564
|
|
|
572
565
|
/**
|
|
@@ -604,27 +597,27 @@ declare class MapToolsComponent implements OnInit, OnDestroy {
|
|
|
604
597
|
private resolution$$;
|
|
605
598
|
private visibleOrInRangeLayers$$;
|
|
606
599
|
delayedShowEmptyMapContent: boolean;
|
|
607
|
-
allowShowAllLegends: boolean
|
|
608
|
-
showAllLegendsValue: boolean
|
|
609
|
-
toggleLegendOnVisibilityChange: boolean
|
|
610
|
-
expandLegendOfVisibleLayers: boolean
|
|
611
|
-
updateLegendOnResolutionChange: boolean
|
|
612
|
-
selectedTabAtOpening: string
|
|
613
|
-
ogcButton: boolean
|
|
614
|
-
timeButton: boolean
|
|
615
|
-
layerAdditionAllowed: boolean
|
|
600
|
+
readonly allowShowAllLegends: i0.InputSignal<boolean>;
|
|
601
|
+
readonly showAllLegendsValue: i0.InputSignal<boolean>;
|
|
602
|
+
readonly toggleLegendOnVisibilityChange: i0.InputSignal<boolean>;
|
|
603
|
+
readonly expandLegendOfVisibleLayers: i0.InputSignal<boolean>;
|
|
604
|
+
readonly updateLegendOnResolutionChange: i0.InputSignal<boolean>;
|
|
605
|
+
readonly selectedTabAtOpening: i0.InputSignal<string>;
|
|
606
|
+
readonly ogcButton: i0.InputSignal<boolean>;
|
|
607
|
+
readonly timeButton: i0.InputSignal<boolean>;
|
|
608
|
+
readonly layerAdditionAllowed: i0.InputSignal<boolean>;
|
|
616
609
|
get layerListControls(): LayerListControlsOptions;
|
|
617
610
|
set layerListControls(value: LayerListControlsOptions);
|
|
618
611
|
private _layerListControls;
|
|
619
612
|
get map(): IgoMap;
|
|
620
|
-
queryBadge: boolean
|
|
613
|
+
readonly queryBadge: i0.InputSignal<boolean>;
|
|
621
614
|
get visibleOrInRangeLayers$(): Observable<AnyLayer[]>;
|
|
622
615
|
get visibleLayers$(): Observable<AnyLayer[]>;
|
|
623
616
|
get excludeBaseLayers(): boolean;
|
|
624
617
|
get layerFilterAndSortOptions(): LayerListControlsOptions;
|
|
625
618
|
private _layerViewerOptions;
|
|
626
619
|
get layerViewerOptions(): LayerViewerOptions;
|
|
627
|
-
tabGroup:
|
|
620
|
+
readonly tabGroup: i0.Signal<unknown>;
|
|
628
621
|
get searchToolInToolbar(): boolean;
|
|
629
622
|
get catalogToolInToolbar(): boolean;
|
|
630
623
|
get contextToolInToolbar(): boolean;
|
|
@@ -648,7 +641,7 @@ declare class MapToolsComponent implements OnInit, OnDestroy {
|
|
|
648
641
|
isStyleEditButton(layer: Layer): boolean;
|
|
649
642
|
private handleMedia;
|
|
650
643
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapToolsComponent, never>;
|
|
651
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MapToolsComponent, "igo-map-tools", never, { "allowShowAllLegends": { "alias": "allowShowAllLegends"; "required": false; }; "showAllLegendsValue": { "alias": "showAllLegendsValue"; "required": false; }; "toggleLegendOnVisibilityChange": { "alias": "toggleLegendOnVisibilityChange"; "required": false; }; "expandLegendOfVisibleLayers": { "alias": "expandLegendOfVisibleLayers"; "required": false; }; "updateLegendOnResolutionChange": { "alias": "updateLegendOnResolutionChange"; "required": false; }; "selectedTabAtOpening": { "alias": "selectedTabAtOpening"; "required": false; }; "ogcButton": { "alias": "ogcButton"; "required": false; }; "timeButton": { "alias": "timeButton"; "required": false; }; "layerAdditionAllowed": { "alias": "layerAdditionAllowed"; "required": false; }; "layerListControls": { "alias": "layerListControls"; "required": false; }; "queryBadge": { "alias": "queryBadge"; "required": false; }; }, {}, never, never, true, never>;
|
|
644
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MapToolsComponent, "igo-map-tools", never, { "allowShowAllLegends": { "alias": "allowShowAllLegends"; "required": false; "isSignal": true; }; "showAllLegendsValue": { "alias": "showAllLegendsValue"; "required": false; "isSignal": true; }; "toggleLegendOnVisibilityChange": { "alias": "toggleLegendOnVisibilityChange"; "required": false; "isSignal": true; }; "expandLegendOfVisibleLayers": { "alias": "expandLegendOfVisibleLayers"; "required": false; "isSignal": true; }; "updateLegendOnResolutionChange": { "alias": "updateLegendOnResolutionChange"; "required": false; "isSignal": true; }; "selectedTabAtOpening": { "alias": "selectedTabAtOpening"; "required": false; "isSignal": true; }; "ogcButton": { "alias": "ogcButton"; "required": false; "isSignal": true; }; "timeButton": { "alias": "timeButton"; "required": false; "isSignal": true; }; "layerAdditionAllowed": { "alias": "layerAdditionAllowed"; "required": false; "isSignal": true; }; "layerListControls": { "alias": "layerListControls"; "required": false; }; "queryBadge": { "alias": "queryBadge"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
652
645
|
}
|
|
653
646
|
|
|
654
647
|
declare class MapDetailsToolComponent implements OnInit {
|
|
@@ -661,14 +654,14 @@ declare class MapDetailsToolComponent implements OnInit {
|
|
|
661
654
|
private cdr;
|
|
662
655
|
isDesktop: boolean;
|
|
663
656
|
delayedShowEmptyMapContent: boolean;
|
|
664
|
-
toggleLegendOnVisibilityChange: boolean
|
|
665
|
-
expandLegendOfVisibleLayers: boolean
|
|
666
|
-
updateLegendOnResolutionChange: boolean
|
|
667
|
-
ogcButton: boolean
|
|
668
|
-
timeButton: boolean
|
|
669
|
-
layerListControls: LayerListControlsOptions
|
|
670
|
-
queryBadge: boolean
|
|
671
|
-
layerAdditionAllowed: boolean
|
|
657
|
+
readonly toggleLegendOnVisibilityChange: i0.InputSignal<boolean>;
|
|
658
|
+
readonly expandLegendOfVisibleLayers: i0.InputSignal<boolean>;
|
|
659
|
+
readonly updateLegendOnResolutionChange: i0.InputSignal<boolean>;
|
|
660
|
+
readonly ogcButton: i0.InputSignal<boolean>;
|
|
661
|
+
readonly timeButton: i0.InputSignal<boolean>;
|
|
662
|
+
readonly layerListControls: i0.InputSignal<LayerListControlsOptions>;
|
|
663
|
+
readonly queryBadge: i0.InputSignal<boolean>;
|
|
664
|
+
readonly layerAdditionAllowed: i0.InputSignal<boolean>;
|
|
672
665
|
private _layerViewerOptions;
|
|
673
666
|
get layerViewerOptions(): LayerViewerOptions;
|
|
674
667
|
get map(): IgoMap;
|
|
@@ -686,7 +679,7 @@ declare class MapDetailsToolComponent implements OnInit {
|
|
|
686
679
|
activateExport(layer: Layer): void;
|
|
687
680
|
private handleMedia;
|
|
688
681
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapDetailsToolComponent, never>;
|
|
689
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MapDetailsToolComponent, "igo-map-details-tool", never, { "toggleLegendOnVisibilityChange": { "alias": "toggleLegendOnVisibilityChange"; "required": false; }; "expandLegendOfVisibleLayers": { "alias": "expandLegendOfVisibleLayers"; "required": false; }; "updateLegendOnResolutionChange": { "alias": "updateLegendOnResolutionChange"; "required": false; }; "ogcButton": { "alias": "ogcButton"; "required": false; }; "timeButton": { "alias": "timeButton"; "required": false; }; "layerListControls": { "alias": "layerListControls"; "required": false; }; "queryBadge": { "alias": "queryBadge"; "required": false; }; "layerAdditionAllowed": { "alias": "layerAdditionAllowed"; "required": false; }; }, {}, never, never, true, never>;
|
|
682
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MapDetailsToolComponent, "igo-map-details-tool", never, { "toggleLegendOnVisibilityChange": { "alias": "toggleLegendOnVisibilityChange"; "required": false; "isSignal": true; }; "expandLegendOfVisibleLayers": { "alias": "expandLegendOfVisibleLayers"; "required": false; "isSignal": true; }; "updateLegendOnResolutionChange": { "alias": "updateLegendOnResolutionChange"; "required": false; "isSignal": true; }; "ogcButton": { "alias": "ogcButton"; "required": false; "isSignal": true; }; "timeButton": { "alias": "timeButton"; "required": false; "isSignal": true; }; "layerListControls": { "alias": "layerListControls"; "required": false; "isSignal": true; }; "queryBadge": { "alias": "queryBadge"; "required": false; "isSignal": true; }; "layerAdditionAllowed": { "alias": "layerAdditionAllowed"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
690
683
|
}
|
|
691
684
|
|
|
692
685
|
declare class MapLegendToolComponent implements OnInit, OnDestroy {
|
|
@@ -700,11 +693,11 @@ declare class MapLegendToolComponent implements OnInit, OnDestroy {
|
|
|
700
693
|
change$: ReplaySubject<void>;
|
|
701
694
|
private resolution$$;
|
|
702
695
|
private visibleOrInRangeLayers$$;
|
|
703
|
-
updateLegendOnResolutionChange: boolean
|
|
704
|
-
layerAdditionAllowed: boolean
|
|
705
|
-
allowShowAllLegends: boolean
|
|
706
|
-
showAllLegendsValue: boolean
|
|
707
|
-
layerListControls: LayerListControlsOptions
|
|
696
|
+
readonly updateLegendOnResolutionChange: i0.InputSignal<boolean>;
|
|
697
|
+
readonly layerAdditionAllowed: i0.InputSignal<boolean>;
|
|
698
|
+
readonly allowShowAllLegends: i0.InputSignal<boolean>;
|
|
699
|
+
readonly showAllLegendsValue: i0.InputSignal<boolean>;
|
|
700
|
+
readonly layerListControls: i0.InputSignal<LayerListControlsOptions>;
|
|
708
701
|
get map(): IgoMap;
|
|
709
702
|
get visibleOrInRangeLayers$(): Observable<AnyLayer[]>;
|
|
710
703
|
get visibleLayers$(): Observable<AnyLayer[]>;
|
|
@@ -720,7 +713,7 @@ declare class MapLegendToolComponent implements OnInit, OnDestroy {
|
|
|
720
713
|
catalogEmit(): void;
|
|
721
714
|
contextEmit(): void;
|
|
722
715
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapLegendToolComponent, never>;
|
|
723
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MapLegendToolComponent, "igo-map-legend-tool", never, { "updateLegendOnResolutionChange": { "alias": "updateLegendOnResolutionChange"; "required": false; }; "layerAdditionAllowed": { "alias": "layerAdditionAllowed"; "required": false; }; "allowShowAllLegends": { "alias": "allowShowAllLegends"; "required": false; }; "showAllLegendsValue": { "alias": "showAllLegendsValue"; "required": false; }; "layerListControls": { "alias": "layerListControls"; "required": false; }; }, {}, never, never, true, never>;
|
|
716
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MapLegendToolComponent, "igo-map-legend-tool", never, { "updateLegendOnResolutionChange": { "alias": "updateLegendOnResolutionChange"; "required": false; "isSignal": true; }; "layerAdditionAllowed": { "alias": "layerAdditionAllowed"; "required": false; "isSignal": true; }; "allowShowAllLegends": { "alias": "allowShowAllLegends"; "required": false; "isSignal": true; }; "showAllLegendsValue": { "alias": "showAllLegendsValue"; "required": false; "isSignal": true; }; "layerListControls": { "alias": "layerListControls"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
724
717
|
}
|
|
725
718
|
|
|
726
719
|
/**
|
|
@@ -832,11 +825,11 @@ declare class SearchResultsToolComponent implements OnInit, OnDestroy {
|
|
|
832
825
|
/**
|
|
833
826
|
* to show hide results icons
|
|
834
827
|
*/
|
|
835
|
-
showIcons: boolean
|
|
828
|
+
readonly showIcons: i0.InputSignal<boolean>;
|
|
836
829
|
/**
|
|
837
830
|
* Determine the top panel default state
|
|
838
831
|
*/
|
|
839
|
-
topPanelStateDefault: string
|
|
832
|
+
readonly topPanelStateDefault: i0.InputSignal<string>;
|
|
840
833
|
private hasFeatureEmphasisOnSelection;
|
|
841
834
|
saveSearchResultInLayer: boolean;
|
|
842
835
|
private showResultsGeometries$$;
|
|
@@ -909,7 +902,7 @@ declare class SearchResultsToolComponent implements OnInit, OnDestroy {
|
|
|
909
902
|
isScrolledIntoView(elemSource: any, elem: any): boolean;
|
|
910
903
|
getRoute(): void;
|
|
911
904
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchResultsToolComponent, never>;
|
|
912
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchResultsToolComponent, "igo-search-results-tool", never, { "showIcons": { "alias": "showIcons"; "required": false; }; "topPanelStateDefault": { "alias": "topPanelStateDefault"; "required": false; }; "topPanelState": { "alias": "topPanelState"; "required": false; }; }, {}, never, never, true, never>;
|
|
905
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchResultsToolComponent, "igo-search-results-tool", never, { "showIcons": { "alias": "showIcons"; "required": false; "isSignal": true; }; "topPanelStateDefault": { "alias": "topPanelStateDefault"; "required": false; "isSignal": true; }; "topPanelState": { "alias": "topPanelState"; "required": false; }; }, {}, never, never, true, never>;
|
|
913
906
|
}
|
|
914
907
|
|
|
915
908
|
/**
|
|
@@ -953,7 +946,6 @@ declare class ActiveTimeFilterToolComponent {
|
|
|
953
946
|
* Tool to apply spatial filter
|
|
954
947
|
*/
|
|
955
948
|
declare class SpatialFilterToolComponent implements OnInit, OnDestroy {
|
|
956
|
-
private matIconRegistry;
|
|
957
949
|
private spatialFilterService;
|
|
958
950
|
private layerService;
|
|
959
951
|
private mapState;
|
|
@@ -964,26 +956,26 @@ declare class SpatialFilterToolComponent implements OnInit, OnDestroy {
|
|
|
964
956
|
private workspaceState;
|
|
965
957
|
private cdRef;
|
|
966
958
|
get map(): IgoMap;
|
|
967
|
-
type: SpatialFilterType
|
|
968
|
-
itemType: SpatialFilterItemType
|
|
969
|
-
freehandDrawIsActive: boolean
|
|
959
|
+
readonly type: i0.ModelSignal<SpatialFilterType>;
|
|
960
|
+
readonly itemType: i0.ModelSignal<SpatialFilterItemType>;
|
|
961
|
+
readonly freehandDrawIsActive: i0.ModelSignal<boolean>;
|
|
970
962
|
layers: AnyLayer[];
|
|
971
963
|
activeLayers: AnyLayer[];
|
|
972
964
|
queryType: SpatialFilterQueryType;
|
|
973
965
|
thematics: SpatialFilterThematic[];
|
|
974
|
-
zone: Feature;
|
|
975
|
-
zoneWithBuffer: Feature;
|
|
976
966
|
buffer: number;
|
|
977
967
|
iterator: number;
|
|
978
968
|
selectedFeature$: BehaviorSubject<Feature<Record<string, any>>>;
|
|
979
|
-
private format;
|
|
980
969
|
store: EntityStore<Feature>;
|
|
981
970
|
spatialListStore: EntityStore<Feature>;
|
|
982
971
|
loading: boolean;
|
|
983
972
|
thematicLength: number;
|
|
984
973
|
measureUnit: MeasureLengthUnit;
|
|
985
|
-
private unsubscribe$;
|
|
986
974
|
defaultStyle: olstyle.Style | ((feature: any, resolution: any) => olstyle.Style);
|
|
975
|
+
zones: Feature[];
|
|
976
|
+
private unsubscribe$;
|
|
977
|
+
private activePredefinedLayerZones;
|
|
978
|
+
private activeDrawLayerZones;
|
|
987
979
|
ngOnInit(): void;
|
|
988
980
|
ngOnDestroy(): void;
|
|
989
981
|
getOutputType(event: SpatialFilterType): void;
|
|
@@ -996,25 +988,31 @@ declare class SpatialFilterToolComponent implements OnInit, OnDestroy {
|
|
|
996
988
|
getOutputClearSearch(): void;
|
|
997
989
|
clearMap(): void;
|
|
998
990
|
private loadThematics;
|
|
999
|
-
|
|
1000
|
-
/**
|
|
1001
|
-
* Try to add zone feature to the map overlay
|
|
1002
|
-
*/
|
|
1003
|
-
tryAddFeaturesToMap(features: Feature[], buffer?: boolean): void;
|
|
991
|
+
private getFeatureByType;
|
|
1004
992
|
/**
|
|
1005
993
|
* Try to add point features to the map
|
|
1006
994
|
* Necessary to create clusters
|
|
1007
995
|
*/
|
|
1008
996
|
private tryAddPointToMap;
|
|
1009
|
-
private createSvgIcon;
|
|
1010
997
|
/**
|
|
1011
998
|
* Try to add line or polygon features to the map
|
|
1012
999
|
*/
|
|
1013
1000
|
private tryAddLayerToMap;
|
|
1014
|
-
|
|
1015
|
-
|
|
1001
|
+
private pushLayer;
|
|
1002
|
+
onAddZone(feature: Feature | undefined): void;
|
|
1003
|
+
onAddZoneWithBuffer(features: Feature[] | Feature): void;
|
|
1004
|
+
onRemovedZone(feature: Feature): void;
|
|
1005
|
+
private addFeaturesToMap;
|
|
1006
|
+
private zonesExistsInLayers;
|
|
1007
|
+
private findLastZoneIndex;
|
|
1008
|
+
private createZoneStyle;
|
|
1009
|
+
private createZoneLayer;
|
|
1010
|
+
private setActiveZoneLayer;
|
|
1011
|
+
private addFeaturesToLayer;
|
|
1012
|
+
private zoomToOlFeatures;
|
|
1013
|
+
private setPointProps;
|
|
1016
1014
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpatialFilterToolComponent, never>;
|
|
1017
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpatialFilterToolComponent, "igo-spatial-filter-tool", never, { "type": { "alias": "type"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "freehandDrawIsActive": { "alias": "freehandDrawIsActive"; "required": false; }; }, {}, never, never, true, never>;
|
|
1015
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpatialFilterToolComponent, "igo-spatial-filter-tool", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "itemType": { "alias": "itemType"; "required": false; "isSignal": true; }; "freehandDrawIsActive": { "alias": "freehandDrawIsActive"; "required": false; "isSignal": true; }; }, { "type": "typeChange"; "itemType": "itemTypeChange"; "freehandDrawIsActive": "freehandDrawIsActiveChange"; }, never, never, true, never>;
|
|
1018
1016
|
}
|
|
1019
1017
|
|
|
1020
1018
|
/**
|
|
@@ -1042,7 +1040,7 @@ declare class AboutToolComponent implements OnInit {
|
|
|
1042
1040
|
discoverTitleInLocale$: Observable<string>;
|
|
1043
1041
|
get discoverTitleInLocale(): string;
|
|
1044
1042
|
set discoverTitleInLocale(value: string);
|
|
1045
|
-
trainingGuideURLs: any
|
|
1043
|
+
readonly trainingGuideURLs: i0.ModelSignal<any>;
|
|
1046
1044
|
effectiveVersion: string;
|
|
1047
1045
|
private _html;
|
|
1048
1046
|
private _headerHtml;
|
|
@@ -1054,7 +1052,7 @@ declare class AboutToolComponent implements OnInit {
|
|
|
1054
1052
|
openGuide(guide?: any): void;
|
|
1055
1053
|
formatFileName(name: string): string;
|
|
1056
1054
|
static ɵfac: i0.ɵɵFactoryDeclaration<AboutToolComponent, never>;
|
|
1057
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AboutToolComponent, "igo-about-tool", never, { "headerHtml": { "alias": "headerHtml"; "required": false; }; "html": { "alias": "html"; "required": false; }; "discoverTitleInLocale": { "alias": "discoverTitleInLocale"; "required": false; }; "trainingGuideURLs": { "alias": "trainingGuideURLs"; "required": false; }; }, {}, never, never, true, never>;
|
|
1055
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AboutToolComponent, "igo-about-tool", never, { "headerHtml": { "alias": "headerHtml"; "required": false; }; "html": { "alias": "html"; "required": false; }; "discoverTitleInLocale": { "alias": "discoverTitleInLocale"; "required": false; }; "trainingGuideURLs": { "alias": "trainingGuideURLs"; "required": false; "isSignal": true; }; }, { "trainingGuideURLs": "trainingGuideURLsChange"; }, never, never, true, never>;
|
|
1058
1056
|
}
|
|
1059
1057
|
|
|
1060
1058
|
/**
|
|
@@ -1082,7 +1080,7 @@ declare class DataIssueReporterToolComponent implements OnInit, OnDestroy {
|
|
|
1082
1080
|
/**
|
|
1083
1081
|
* Url to report the data issue. Use the Post protocol to send the form.
|
|
1084
1082
|
*/
|
|
1085
|
-
url: string
|
|
1083
|
+
readonly url: i0.InputSignal<string>;
|
|
1086
1084
|
/**
|
|
1087
1085
|
* Map to link to the form
|
|
1088
1086
|
* @internal
|
|
@@ -1097,7 +1095,7 @@ declare class DataIssueReporterToolComponent implements OnInit, OnDestroy {
|
|
|
1097
1095
|
clearForm(): void;
|
|
1098
1096
|
onSubmit(data: DataIssueReporterData): void;
|
|
1099
1097
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataIssueReporterToolComponent, never>;
|
|
1100
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataIssueReporterToolComponent, "igo-issue-reporter-tool", never, { "url": { "alias": "url"; "required": false; }; }, {}, never, never, false, never>;
|
|
1098
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataIssueReporterToolComponent, "igo-issue-reporter-tool", never, { "url": { "alias": "url"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
1101
1099
|
}
|
|
1102
1100
|
|
|
1103
1101
|
declare class IgoAppGeometryFormModule {
|
|
@@ -1177,7 +1175,7 @@ declare class CatalogState {
|
|
|
1177
1175
|
*/
|
|
1178
1176
|
declare class DirectionState {
|
|
1179
1177
|
private mapState;
|
|
1180
|
-
zoomToActiveRoute
|
|
1178
|
+
zoomToActiveRoute: i0.WritableSignal<boolean>;
|
|
1181
1179
|
/**
|
|
1182
1180
|
* Store that holds the stop
|
|
1183
1181
|
*/
|
|
@@ -1203,8 +1201,8 @@ declare class DirectionState {
|
|
|
1203
1201
|
declare class DrawState {
|
|
1204
1202
|
private mapState;
|
|
1205
1203
|
stores: FeatureStore<FeatureWithDraw>[];
|
|
1206
|
-
layersID:
|
|
1207
|
-
drawControls: [
|
|
1204
|
+
layersID: LayerId[];
|
|
1205
|
+
drawControls: [LayerId, DrawControl][];
|
|
1208
1206
|
activeDrawingLayer: VectorLayer;
|
|
1209
1207
|
constructor();
|
|
1210
1208
|
static ɵfac: i0.ɵɵFactoryDeclaration<DrawState, never>;
|
|
@@ -1282,7 +1280,7 @@ declare class WorkspaceState implements OnDestroy {
|
|
|
1282
1280
|
private wfsActionsService;
|
|
1283
1281
|
private editionActionsService;
|
|
1284
1282
|
private storageService;
|
|
1285
|
-
|
|
1283
|
+
expanded: i0.WritableSignal<boolean>;
|
|
1286
1284
|
readonly workspaceEnabled$: BehaviorSubject<boolean>;
|
|
1287
1285
|
readonly rowsInMapExtentCheckCondition$: BehaviorSubject<boolean>;
|
|
1288
1286
|
readonly selectOnlyCheckCondition$: BehaviorSubject<boolean>;
|
|
@@ -1315,7 +1313,7 @@ declare class WorkspaceState implements OnDestroy {
|
|
|
1315
1313
|
*/
|
|
1316
1314
|
private initWorkspaces;
|
|
1317
1315
|
private setWorkspaceIsMaximized;
|
|
1318
|
-
setActiveWorkspaceById(id:
|
|
1316
|
+
setActiveWorkspaceById(id: LayerId): void;
|
|
1319
1317
|
setActiveWorkspaceByTitle(title: string): void;
|
|
1320
1318
|
/**
|
|
1321
1319
|
* Teardown all the workspaces
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igo2/integration",
|
|
3
|
-
"version": "20.0.
|
|
3
|
+
"version": "20.1.0-next.10",
|
|
4
4
|
"description": "IGO Library",
|
|
5
5
|
"author": "IGO Community",
|
|
6
6
|
"keywords": [
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"homepage": "https://github.com/infra-geo-ouverte/igo2-lib#readme",
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/infra-geo-ouverte/igo2-lib.git"
|
|
13
|
+
"url": "git+https://github.com/infra-geo-ouverte/igo2-lib.git",
|
|
14
|
+
"directory": "packages/integration"
|
|
14
15
|
},
|
|
15
16
|
"bugs": {
|
|
16
17
|
"url": "https://github.com/infra-geo-ouverte/igo2-lib/issues"
|
|
@@ -30,12 +31,12 @@
|
|
|
30
31
|
"peerDependencies": {
|
|
31
32
|
"@angular/common": "^20.0.0",
|
|
32
33
|
"@angular/core": "^20.0.0",
|
|
33
|
-
"@igo2/auth": "^20.0.
|
|
34
|
-
"@igo2/context": "^20.0.
|
|
35
|
-
"@igo2/geo": "^20.0.
|
|
34
|
+
"@igo2/auth": "^20.1.0-next.10",
|
|
35
|
+
"@igo2/context": "^20.1.0-next.10",
|
|
36
|
+
"@igo2/geo": "^20.1.0-next.10",
|
|
36
37
|
"@turf/point-on-feature": "^7.2.0",
|
|
38
|
+
"jspdf": "^4.0.0",
|
|
37
39
|
"jspdf-autotable": "^5.0.0",
|
|
38
|
-
"jspdf": "^3.0.0",
|
|
39
40
|
"rxjs": "^7.8.0"
|
|
40
41
|
},
|
|
41
42
|
"engines": {
|