@igo2/integration 21.0.0-next.9 → 21.0.1-next.1

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.
@@ -23,7 +23,10 @@
23
23
  "closestFeature": "Closest feature tool"
24
24
  },
25
25
  "catalog": {
26
- "library.getCatalogList": "Get the catalogs's content list",
26
+ "library": {
27
+ "getCatalogList": "Get the catalogs's content list",
28
+ "getCatalogListTooltip": "Allows you to retrieve an Excel list of the layers shown in the catalog."
29
+ },
27
30
  "listExport": {
28
31
  "rank": "Rank",
29
32
  "layerTitle": "Layer Title",
@@ -23,7 +23,10 @@
23
23
  "closestFeature": "Entités à proximité"
24
24
  },
25
25
  "catalog": {
26
- "library.getCatalogList": "Obtenir la liste du contenu des catalogues",
26
+ "library": {
27
+ "getCatalogList": "Obtenir la liste du contenu des catalogues",
28
+ "getCatalogListTooltip": "Permet de récupérer une liste Excel des couches présentées dans le catalogue"
29
+ },
27
30
  "listExport": {
28
31
  "rank": "Rang",
29
32
  "layerTitle": "Titre de la couche",
@@ -31,7 +34,7 @@
31
34
  "catalog": "Catalogue",
32
35
  "externalProvider": "Fournisseur",
33
36
  "url": "URL",
34
- "layerName": "Nom système de la couche d'informaiton",
37
+ "layerName": "Nom système de la couche d'informations",
35
38
  "context": "Contexte/Thématique",
36
39
  "dataDescription": "Description de la donnée",
37
40
  "metadataAbstract": "Description de la donnée",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igo2/integration",
3
- "version": "21.0.0-next.9",
3
+ "version": "21.0.1-next.1",
4
4
  "description": "IGO Library",
5
5
  "author": "IGO Community",
6
6
  "keywords": [
@@ -31,9 +31,9 @@
31
31
  "peerDependencies": {
32
32
  "@angular/common": "^21.0.0",
33
33
  "@angular/core": "^21.0.0",
34
- "@igo2/auth": "^21.0.0-next.9",
35
- "@igo2/context": "^21.0.0-next.9",
36
- "@igo2/geo": "^21.0.0-next.9",
34
+ "@igo2/auth": "^21.0.1-next.1",
35
+ "@igo2/context": "^21.0.1-next.1",
36
+ "@igo2/geo": "^21.0.1-next.1",
37
37
  "@turf/point-on-feature": "^7.3.0",
38
38
  "jspdf": "^4.2.0",
39
39
  "jspdf-autotable": "^5.0.0",
@@ -1,12 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { OnInit, OnDestroy, ModuleWithProviders } from '@angular/core';
3
- import { IgoMap, LayerListControlsOptions, LayerId, 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, ConfigurableStylesOptions, FeatureMotion } from '@igo2/geo';
3
+ import { IgoMap, LayerListControlsOptions, LayerId, 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, WfsWorkspace, FeatureWorkspace, ConfigurableStylesOptions, 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
7
  import { BehaviorSubject, Observable, ReplaySubject, Subscription } from 'rxjs';
8
- import { DetailedContext, EnvironmentOptions as EnvironmentOptions$3 } from '@igo2/context';
9
8
  import { WorkspaceStore, Workspace } from '@igo2/common/workspace';
9
+ import { DetailedContext, EnvironmentOptions as EnvironmentOptions$3 } from '@igo2/context';
10
10
  import { MatRadioChange } from '@angular/material/radio';
11
11
  import { Coordinate } from 'ol/coordinate';
12
12
  import { MediaService } from '@igo2/core/media';
@@ -22,7 +22,6 @@ import * as i2 from '@angular/common';
22
22
  import * as i3 from '@angular/material/button';
23
23
  import * as i4 from '@igo2/core/language';
24
24
  import { LanguageService } from '@igo2/core/language';
25
- import * as i6 from '@igo2/core/message';
26
25
  import { AuthEnvironmentOptions } from '@igo2/auth/environment';
27
26
  import { EnvironmentOptions as EnvironmentOptions$1 } from '@igo2/common/environment';
28
27
  import { EnvironmentOptions as EnvironmentOptions$2, BaseEnvironmentOptions } from '@igo2/core/environment';
@@ -115,9 +114,6 @@ declare class CatalogLibraryToolComponent implements OnInit, OnDestroy {
115
114
  * List of predefined catalogs
116
115
  */
117
116
  readonly predefinedCatalogs: i0.InputSignal<Catalog[]>;
118
- set selectedCatalogId(id: string | null);
119
- get currentTool(): string;
120
- get lastTool(): string;
121
117
  /**
122
118
  * @internal
123
119
  */
@@ -146,6 +142,10 @@ declare class CatalogLibraryToolComponent implements OnInit, OnDestroy {
146
142
  */
147
143
  private getMetadataUrl;
148
144
  private layersInfoFromContexts;
145
+ /**
146
+ * Sort items like the catalog browser display does (by title when a direction is set)
147
+ */
148
+ private sortItemsForDisplay;
149
149
  private listExportFromCatalogs;
150
150
  getCatalogList(): Promise<void>;
151
151
  private formatLayer;
@@ -237,43 +237,12 @@ declare class IgoAppCatalogModule {
237
237
  static ɵinj: i0.ɵɵInjectorDeclaration<IgoAppCatalogModule>;
238
238
  }
239
239
 
240
- /**
241
- * Service that holds the state of the context module
242
- */
243
- declare class ContextState {
244
- private contextService;
245
- private toolService;
246
- private toolState;
247
- /**
248
- * Observable of the active context
249
- */
250
- context$: BehaviorSubject<DetailedContext | undefined>;
251
- constructor();
252
- /**
253
- * Set the active context
254
- * @param context Detailed context
255
- */
256
- private setContext;
257
- /**
258
- * Update the tool state with the context's tools
259
- * @param context Detailed context
260
- */
261
- private updateTools;
262
- /**
263
- * Set a new context and update the tool state
264
- * @param context Detailed context
265
- */
266
- private onContextChange;
267
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextState, never>;
268
- static ɵprov: i0.ɵɵInjectableDeclaration<ContextState>;
269
- }
270
-
271
240
  declare class DirectionsToolComponent implements OnInit {
272
241
  private directionState;
273
242
  private mapState;
274
243
  private messageService;
275
244
  private storageService;
276
- contextState: ContextState;
245
+ private contextState;
277
246
  private authService;
278
247
  currentContextUri?: string;
279
248
  /**
@@ -326,6 +295,7 @@ declare class DrawingToolComponent {
326
295
  * @internal
327
296
  */
328
297
  get stores(): FeatureStore<FeatureWithDraw>[];
298
+ set stores(stores: FeatureStore<FeatureWithDraw>[]);
329
299
  /**
330
300
  * Map to measure on
331
301
  * @internal
@@ -365,6 +335,7 @@ declare class WorkspaceButtonComponent implements OnInit {
365
335
  private destroyRef;
366
336
  hasWorkspace: i0.WritableSignal<boolean>;
367
337
  readonly layer: i0.InputSignal<AnyLayer | undefined>;
338
+ private readonly layer$;
368
339
  readonly color: i0.InputSignal<string>;
369
340
  ngOnInit(): void;
370
341
  activateWorkspace(): void;
@@ -381,6 +352,37 @@ declare class IgoAppWorkspaceModule {
381
352
  static ɵinj: i0.ɵɵInjectorDeclaration<IgoAppWorkspaceModule>;
382
353
  }
383
354
 
355
+ /**
356
+ * Service that holds the state of the context module
357
+ */
358
+ declare class ContextState {
359
+ private contextService;
360
+ private toolService;
361
+ private toolState;
362
+ /**
363
+ * Observable of the active context
364
+ */
365
+ context$: BehaviorSubject<DetailedContext | undefined>;
366
+ constructor();
367
+ /**
368
+ * Set the active context
369
+ * @param context Detailed context
370
+ */
371
+ private setContext;
372
+ /**
373
+ * Update the tool state with the context's tools
374
+ * @param context Detailed context
375
+ */
376
+ private updateTools;
377
+ /**
378
+ * Set a new context and update the tool state
379
+ * @param context Detailed context
380
+ */
381
+ private onContextChange;
382
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContextState, never>;
383
+ static ɵprov: i0.ɵɵInjectableDeclaration<ContextState>;
384
+ }
385
+
384
386
  declare enum ImportExportType {
385
387
  layer = "layer",
386
388
  context = "context"
@@ -445,9 +447,9 @@ declare class IgoAppImportExportModule {
445
447
  */
446
448
  declare class MapState {
447
449
  private mapService;
448
- private projectionService;
449
450
  private storageService;
450
451
  private configService;
452
+ private overlayService;
451
453
  get showAllLegendsValue(): boolean | undefined;
452
454
  set showAllLegendsValue(value: boolean | undefined);
453
455
  private _legendToolShowAll;
@@ -817,6 +819,7 @@ declare class SearchResultsToolComponent implements OnInit, OnDestroy {
817
819
  private elRef;
818
820
  toolState: ToolState;
819
821
  private directionState;
822
+ private overlayService;
820
823
  /**
821
824
  * to show hide results icons
822
825
  */
@@ -857,7 +860,7 @@ declare class SearchResultsToolComponent implements OnInit, OnDestroy {
857
860
  get stores(): FeatureStore<Feature>[];
858
861
  constructor();
859
862
  ngOnInit(): void;
860
- handleShowAllResults(): void;
863
+ private handleShowAllResults;
861
864
  private monitorResultOutOfView;
862
865
  ngOnDestroy(): void;
863
866
  /**
@@ -877,6 +880,7 @@ declare class SearchResultsToolComponent implements OnInit, OnDestroy {
877
880
  research: Research;
878
881
  results: SearchResult[];
879
882
  }): void;
883
+ private clearResultOverlays;
880
884
  computeElementRef(): any[];
881
885
  adjustTopPanel(elemSource: HTMLElement, elem: HTMLElement): void;
882
886
  toggleTopPanel(event?: MouseEvent): void;
@@ -1079,7 +1083,7 @@ declare class DataIssueReporterToolComponent implements OnInit, OnDestroy {
1079
1083
 
1080
1084
  declare class IgoAppGeometryFormModule {
1081
1085
  static ɵfac: i0.ɵɵFactoryDeclaration<IgoAppGeometryFormModule, never>;
1082
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoAppGeometryFormModule, [typeof DataIssueReporterToolComponent], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.IgoLanguageModule, typeof i5.IgoFormModule, typeof i6.IgoMessageModule], [typeof DataIssueReporterToolComponent]>;
1086
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IgoAppGeometryFormModule, [typeof DataIssueReporterToolComponent], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.IgoLanguageModule, typeof i5.IgoFormModule], [typeof DataIssueReporterToolComponent]>;
1083
1087
  static ɵinj: i0.ɵɵInjectorDeclaration<IgoAppGeometryFormModule>;
1084
1088
  }
1085
1089
 
@@ -1101,6 +1105,7 @@ declare class AnalyticsListenerService {
1101
1105
  private contextState;
1102
1106
  private toolState;
1103
1107
  private mapState;
1108
+ private destroyRef;
1104
1109
  listen(): void;
1105
1110
  listenUser(): void;
1106
1111
  listenContext(): void;
@@ -1119,6 +1124,7 @@ declare const INTEGRATION_CONTEXT_DIRECTIVES: readonly [typeof ContextEditorTool
1119
1124
  * Service that holds the state of the catalog module
1120
1125
  */
1121
1126
  declare class CatalogState {
1127
+ private destroyRef;
1122
1128
  /**
1123
1129
  * Store that contains all the catalogs
1124
1130
  */
@@ -1207,7 +1213,9 @@ interface AppOptions {
1207
1213
  enabled?: boolean;
1208
1214
  path?: string;
1209
1215
  };
1210
- offline?: IOfflineOptions;
1216
+ offline?: {
1217
+ enabled?: boolean;
1218
+ };
1211
1219
  }
1212
1220
 
1213
1221
  declare class WfsActionsService implements OnDestroy {
@@ -1330,7 +1338,6 @@ declare class MeasureState {
1330
1338
  declare class QueryState {
1331
1339
  private configService;
1332
1340
  private propertyTypeDetectorService;
1333
- private capabilitiesService;
1334
1341
  private mapState;
1335
1342
  /**
1336
1343
  * Store that holds the query results
@@ -1402,6 +1409,7 @@ declare class SearchState {
1402
1409
  setSearchType(searchType: string | undefined): void;
1403
1410
  setSearchSettingsChange(): void;
1404
1411
  setSelectedResult(result: SearchResult): void;
1412
+ clearSelectedResult(): void;
1405
1413
  setSearchResultsGeometryStatus(value: boolean): void;
1406
1414
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchState, never>;
1407
1415
  static ɵprov: i0.ɵɵInjectableDeclaration<SearchState>;