@igo2/context 21.0.0-next.2 → 21.0.0-next.21

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.
@@ -1,14 +1,15 @@
1
- import * as i0 from '@angular/core';
1
+ import * as _angular_core from '@angular/core';
2
2
  import { OnInit, ModuleWithProviders, OnDestroy } from '@angular/core';
3
3
  import { UntypedFormGroup, FormGroup, UntypedFormControl } from '@angular/forms';
4
- import { AnyLayerOptions, MapViewOptions, MapExtent, MapScaleLineOptions, MapAttributionOptions, VectorLayer, AnyLayer, IgoMap, Feature, StyleListService, StyleService, ImportExportServiceOptions, LayerOptions, LayerGroupOptions, AnyDataSourceOptions } from '@igo2/geo';
4
+ import { MatOption } from '@angular/material/core';
5
+ import { AnyLayerOptions, MapViewOptions, MapExtent, MapScaleLineOptions, MapAttributionOptions, VectorLayer, AnyLayer, IgoMap, Feature, LayerService, ImportExportServiceOptions, LayerOptions, LayerGroupOptions, AnyDataSourceOptions } from '@igo2/geo';
5
6
  import { BehaviorSubject, Subject, Observable, ReplaySubject, Subscription } from 'rxjs';
6
7
  import { Tool } from '@igo2/common/tool';
7
8
  import { Message, MessageService } from '@igo2/core/message';
8
9
  import { FeatureCollection } from 'geojson';
9
10
  import * as _igo2_common_icon from '@igo2/common/icon';
10
11
  import { KeyValue } from '@angular/common';
11
- import { AuthService, AuthOptions } from '@igo2/auth';
12
+ import { AuthService, User, AuthOptions } from '@igo2/auth';
12
13
  import { ActionStore, ActionbarMode } from '@igo2/common/action';
13
14
  import { ConfigService } from '@igo2/core/config';
14
15
  import { MatMenuTrigger } from '@angular/material/menu';
@@ -115,20 +116,25 @@ declare class ContextImportExportComponent implements OnInit {
115
116
  private clientSideFileSizeMax;
116
117
  fileSizeMb: number;
117
118
  activeImportExport: string;
118
- readonly map: i0.InputSignal<IgoMap>;
119
+ readonly map: _angular_core.InputSignal<IgoMap>;
119
120
  constructor();
120
121
  ngOnInit(): void;
121
122
  importFiles(files: File[]): void;
122
- handleExportFormSubmit(contextOptions: any): void;
123
+ handleExportFormSubmit(contextOptions: {
124
+ layers: AnyLayer[];
125
+ name: string;
126
+ }): void;
123
127
  private buildForm;
124
128
  private onFileImportSuccess;
125
129
  private onFileImportError;
126
130
  private onFileExportError;
127
131
  private onFileExportSuccess;
128
- selectAll(e: any): void;
129
- onImportExportChange(event: any): void;
130
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextImportExportComponent, never>;
131
- static ɵcmp: i0.ɵɵComponentDeclaration<ContextImportExportComponent, "igo-context-import-export", never, { "map": { "alias": "map"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
132
+ selectAll(e: MatOption): void;
133
+ onImportExportChange(event: {
134
+ value: string;
135
+ }): void;
136
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContextImportExportComponent, never>;
137
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ContextImportExportComponent, "igo-context-import-export", never, { "map": { "alias": "map"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
132
138
  }
133
139
 
134
140
  /**
@@ -136,9 +142,9 @@ declare class ContextImportExportComponent implements OnInit {
136
142
  */
137
143
  declare class IgoContextImportExportModule {
138
144
  static forRoot(): ModuleWithProviders<IgoContextImportExportModule>;
139
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoContextImportExportModule, never>;
140
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoContextImportExportModule, never, [typeof ContextImportExportComponent], [typeof ContextImportExportComponent]>;
141
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoContextImportExportModule>;
145
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoContextImportExportModule, never>;
146
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoContextImportExportModule, never, [typeof ContextImportExportComponent], [typeof ContextImportExportComponent]>;
147
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoContextImportExportModule>;
142
148
  }
143
149
 
144
150
  declare class ContextService {
@@ -151,10 +157,10 @@ declare class ContextService {
151
157
  private exportService;
152
158
  private shareMapService;
153
159
  private route;
154
- context$: BehaviorSubject<DetailedContext>;
160
+ context$: BehaviorSubject<DetailedContext | undefined>;
155
161
  contexts$: BehaviorSubject<ContextsList>;
156
- defaultContextId$: BehaviorSubject<string | number>;
157
- editedContext$: BehaviorSubject<DetailedContext>;
162
+ defaultContextId$: BehaviorSubject<string | number | undefined>;
163
+ editedContext$: BehaviorSubject<DetailedContext | undefined>;
158
164
  importedContext: DetailedContext[];
159
165
  toolsChanged$: Subject<DetailedContext>;
160
166
  private mapViewFromRoute;
@@ -162,9 +168,9 @@ declare class ContextService {
162
168
  private baseUrl;
163
169
  private tools;
164
170
  private toolbar;
165
- get defaultContextUri(): string;
166
- set defaultContextUri(uri: string);
167
- private _defaultContextUri;
171
+ get defaultContextUri(): string | undefined;
172
+ set defaultContextUri(uri: string | undefined);
173
+ private _defaultContextUri?;
168
174
  constructor();
169
175
  get(permissions?: string[], hidden?: boolean): Observable<ContextsList>;
170
176
  getById(id: string): Observable<Context>;
@@ -189,7 +195,7 @@ declare class ContextService {
189
195
  loadContext(uri: string): void;
190
196
  setContext(context: DetailedContext): void;
191
197
  loadEditedContext(uri: string): void;
192
- setEditedContext(context: DetailedContext): void;
198
+ setEditedContext(context: DetailedContext | undefined): void;
193
199
  getContextFromMap(igoMap: IgoMap, empty?: boolean): DetailedContext;
194
200
  getContextFromLayers(igoMap: IgoMap, layers: AnyLayer[], name: string, keepCurrentView?: boolean): DetailedContext;
195
201
  private getExtraFeatures;
@@ -203,8 +209,8 @@ declare class ContextService {
203
209
  private handleContextsChange;
204
210
  private addContextToList;
205
211
  private findContext;
206
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextService, never>;
207
- static ɵprov: i0.ɵɵInjectableDeclaration<ContextService>;
212
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContextService, never>;
213
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<ContextService>;
208
214
  }
209
215
 
210
216
  declare class LayerContextDirective implements OnInit, OnDestroy {
@@ -212,14 +218,12 @@ declare class LayerContextDirective implements OnInit, OnDestroy {
212
218
  private contextService;
213
219
  private layerService;
214
220
  private configService;
215
- private styleListService;
216
- private styleService;
217
221
  private shareMapService;
218
222
  private context$$;
219
223
  private queryParams;
220
224
  private contextLayers;
221
- readonly removeLayersOnContextChange: i0.InputSignal<boolean>;
222
- readonly contextLayersLoaded: i0.OutputEmitterRef<boolean>;
225
+ readonly removeLayersOnContextChange: _angular_core.InputSignal<boolean>;
226
+ readonly contextLayersLoaded: _angular_core.OutputEmitterRef<boolean>;
223
227
  get map(): IgoMap;
224
228
  ngOnInit(): void;
225
229
  ngOnDestroy(): void;
@@ -227,8 +231,8 @@ declare class LayerContextDirective implements OnInit, OnDestroy {
227
231
  private handleAddLayers;
228
232
  private computeLayerVisibilityFromUrl;
229
233
  private handleContextWithSharedUrl;
230
- static ɵfac: i0.ɵɵFactoryDeclaration<LayerContextDirective, never>;
231
- static ɵdir: i0.ɵɵDirectiveDeclaration<LayerContextDirective, "[igoLayerContext]", never, { "removeLayersOnContextChange": { "alias": "removeLayersOnContextChange"; "required": false; "isSignal": true; }; }, { "contextLayersLoaded": "contextLayersLoaded"; }, never, never, true, never>;
234
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LayerContextDirective, never>;
235
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LayerContextDirective, "[igoLayerContext]", never, { "removeLayersOnContextChange": { "alias": "removeLayersOnContextChange"; "required": false; "isSignal": true; }; }, { "contextLayersLoaded": "contextLayersLoaded"; }, never, never, true, never>;
232
236
  }
233
237
 
234
238
  declare class MapContextDirective implements OnInit, OnDestroy {
@@ -243,8 +247,8 @@ declare class MapContextDirective implements OnInit, OnDestroy {
243
247
  ngOnInit(): void;
244
248
  ngOnDestroy(): void;
245
249
  private handleContextChange;
246
- static ɵfac: i0.ɵɵFactoryDeclaration<MapContextDirective, never>;
247
- static ɵdir: i0.ɵɵDirectiveDeclaration<MapContextDirective, "[igoMapContext]", never, {}, {}, never, never, true, never>;
250
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MapContextDirective, never>;
251
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MapContextDirective, "[igoMapContext]", never, {}, {}, never, never, true, never>;
248
252
  }
249
253
 
250
254
  interface ContextUserPermission {
@@ -303,35 +307,35 @@ declare class ContextListComponent implements OnInit, OnDestroy {
303
307
  private previousMessageId;
304
308
  sortAlphaOnIcon: _igo2_common_icon.IconSvg;
305
309
  sortAlphaOffIcon: _igo2_common_icon.IconSvg;
306
- readonly isDesktop: i0.InputSignal<boolean>;
310
+ readonly isDesktop: _angular_core.InputSignal<boolean | undefined>;
307
311
  get contexts(): ContextsList;
308
312
  set contexts(value: ContextsList);
309
313
  private _contexts;
310
- readonly selectedContext: i0.ModelSignal<DetailedContext>;
311
- readonly map: i0.InputSignal<IgoMap>;
314
+ readonly selectedContext: _angular_core.ModelSignal<DetailedContext | undefined>;
315
+ readonly map: _angular_core.InputSignal<IgoMap | undefined>;
312
316
  get defaultContextId(): string | number;
313
317
  set defaultContextId(value: string | number);
314
318
  private _defaultContextId;
315
319
  collapsed: {
316
- contextScope: any;
320
+ contextScope: string;
317
321
  }[];
318
- readonly select: i0.OutputEmitterRef<DetailedContext>;
319
- readonly unselect: i0.OutputEmitterRef<DetailedContext>;
320
- readonly edit: i0.OutputEmitterRef<DetailedContext>;
321
- readonly delete: i0.OutputEmitterRef<DetailedContext>;
322
- readonly save: i0.OutputEmitterRef<DetailedContext>;
323
- readonly clone: i0.OutputEmitterRef<DetailedContext>;
324
- readonly create: i0.OutputEmitterRef<{
322
+ readonly select: _angular_core.OutputEmitterRef<DetailedContext>;
323
+ readonly unselect: _angular_core.OutputEmitterRef<DetailedContext>;
324
+ readonly edit: _angular_core.OutputEmitterRef<DetailedContext>;
325
+ readonly delete: _angular_core.OutputEmitterRef<DetailedContext>;
326
+ readonly save: _angular_core.OutputEmitterRef<DetailedContext>;
327
+ readonly clone: _angular_core.OutputEmitterRef<DetailedContext>;
328
+ readonly create: _angular_core.OutputEmitterRef<{
325
329
  title: string;
326
330
  empty: boolean;
327
331
  }>;
328
- readonly hide: i0.OutputEmitterRef<DetailedContext>;
329
- readonly show: i0.OutputEmitterRef<DetailedContext>;
330
- readonly showHiddenContexts: i0.OutputEmitterRef<boolean>;
331
- readonly favorite: i0.OutputEmitterRef<DetailedContext>;
332
- readonly managePermissions: i0.OutputEmitterRef<DetailedContext>;
333
- readonly manageTools: i0.OutputEmitterRef<DetailedContext>;
334
- readonly filterPermissionsChanged: i0.OutputEmitterRef<ContextUserPermission[]>;
332
+ readonly hide: _angular_core.OutputEmitterRef<DetailedContext>;
333
+ readonly show: _angular_core.OutputEmitterRef<DetailedContext>;
334
+ readonly showHiddenContexts: _angular_core.OutputEmitterRef<boolean>;
335
+ readonly favorite: _angular_core.OutputEmitterRef<DetailedContext>;
336
+ readonly managePermissions: _angular_core.OutputEmitterRef<DetailedContext>;
337
+ readonly manageTools: _angular_core.OutputEmitterRef<DetailedContext>;
338
+ readonly filterPermissionsChanged: _angular_core.OutputEmitterRef<ContextUserPermission[]>;
335
339
  titleMapping: {
336
340
  ours: string;
337
341
  shared: string;
@@ -351,7 +355,7 @@ declare class ContextListComponent implements OnInit, OnDestroy {
351
355
  _term: string;
352
356
  get sortedAlpha(): boolean;
353
357
  set sortedAlpha(value: boolean);
354
- private _sortedAlpha;
358
+ private _sortedAlpha?;
355
359
  showContextFilter: ContextListControlsEnum;
356
360
  thresholdToFilter: number;
357
361
  get isEmpty(): boolean;
@@ -366,13 +370,13 @@ declare class ContextListComponent implements OnInit, OnDestroy {
366
370
  private next;
367
371
  private filterContextsList;
368
372
  showFilter(): boolean;
369
- sortContextsList(contexts: ContextsList): any;
373
+ sortContextsList(contexts: ContextsList): ContextsList;
370
374
  normalize(str: string): string;
371
375
  toggleSort(): void;
372
376
  clearFilter(): void;
373
377
  createContext(empty?: boolean): void;
374
- getPermission(user?: any): ContextUserPermission;
375
- handleToggleCategory(user: any, parent?: any): void;
378
+ getPermission(user?: ContextProfils): ContextUserPermission | undefined;
379
+ handleToggleCategory(user: ContextProfils, parent?: ContextProfils): void;
376
380
  showContext(context: DetailedContext): void;
377
381
  onSelect(context: DetailedContext): void;
378
382
  isContextSelected(context: DetailedContext): boolean;
@@ -392,8 +396,8 @@ declare class ContextListComponent implements OnInit, OnDestroy {
392
396
  onFilterPermissionsChanged(): void;
393
397
  onShowHiddenContexts(): void;
394
398
  onHideContext(context: DetailedContext): void;
395
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextListComponent, never>;
396
- static ɵcmp: i0.ɵɵComponentDeclaration<ContextListComponent, "igo-context-list", never, { "isDesktop": { "alias": "isDesktop"; "required": false; "isSignal": true; }; "contexts": { "alias": "contexts"; "required": false; }; "selectedContext": { "alias": "selectedContext"; "required": false; "isSignal": true; }; "map": { "alias": "map"; "required": false; "isSignal": true; }; "defaultContextId": { "alias": "defaultContextId"; "required": false; }; "term": { "alias": "term"; "required": false; }; }, { "selectedContext": "selectedContextChange"; "select": "select"; "unselect": "unselect"; "edit": "edit"; "delete": "delete"; "save": "save"; "clone": "clone"; "create": "create"; "hide": "hide"; "show": "show"; "showHiddenContexts": "showHiddenContexts"; "favorite": "favorite"; "managePermissions": "managePermissions"; "manageTools": "manageTools"; "filterPermissionsChanged": "filterPermissionsChanged"; }, never, never, true, never>;
399
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContextListComponent, never>;
400
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ContextListComponent, "igo-context-list", never, { "isDesktop": { "alias": "isDesktop"; "required": false; "isSignal": true; }; "contexts": { "alias": "contexts"; "required": false; }; "selectedContext": { "alias": "selectedContext"; "required": false; "isSignal": true; }; "map": { "alias": "map"; "required": false; "isSignal": true; }; "defaultContextId": { "alias": "defaultContextId"; "required": false; }; "term": { "alias": "term"; "required": false; }; }, { "selectedContext": "selectedContextChange"; "select": "select"; "unselect": "unselect"; "edit": "edit"; "delete": "delete"; "save": "save"; "clone": "clone"; "create": "create"; "hide": "hide"; "show": "show"; "showHiddenContexts": "showHiddenContexts"; "favorite": "favorite"; "managePermissions": "managePermissions"; "manageTools": "manageTools"; "filterPermissionsChanged": "filterPermissionsChanged"; }, never, never, true, never>;
397
401
  }
398
402
 
399
403
  declare class ContextItemComponent {
@@ -402,28 +406,28 @@ declare class ContextItemComponent {
402
406
  typePermission: readonly ["read", "write"];
403
407
  color: string;
404
408
  collapsed: boolean;
405
- readonly showFavorite: i0.InputSignal<boolean>;
406
- readonly context: i0.InputSignal<DetailedContext>;
407
- readonly default: i0.InputSignal<boolean>;
408
- readonly selected: i0.InputSignal<boolean>;
409
- readonly isDesktop: i0.InputSignal<boolean>;
410
- readonly edit: i0.OutputEmitterRef<DetailedContext>;
411
- readonly delete: i0.OutputEmitterRef<DetailedContext>;
412
- readonly save: i0.OutputEmitterRef<DetailedContext>;
413
- readonly clone: i0.OutputEmitterRef<DetailedContext>;
414
- readonly hide: i0.OutputEmitterRef<DetailedContext>;
415
- readonly show: i0.OutputEmitterRef<DetailedContext>;
416
- readonly favorite: i0.OutputEmitterRef<DetailedContext>;
417
- readonly managePermissions: i0.OutputEmitterRef<DetailedContext>;
418
- readonly manageTools: i0.OutputEmitterRef<DetailedContext>;
419
- readonly share: i0.OutputEmitterRef<DetailedContext>;
409
+ readonly showFavorite: _angular_core.InputSignal<boolean>;
410
+ readonly context: _angular_core.InputSignal<DetailedContext | undefined>;
411
+ readonly default: _angular_core.InputSignal<boolean | undefined>;
412
+ readonly selected: _angular_core.InputSignal<boolean | undefined>;
413
+ readonly isDesktop: _angular_core.InputSignal<boolean | undefined>;
414
+ readonly edit: _angular_core.OutputEmitterRef<DetailedContext>;
415
+ readonly delete: _angular_core.OutputEmitterRef<DetailedContext>;
416
+ readonly save: _angular_core.OutputEmitterRef<DetailedContext>;
417
+ readonly clone: _angular_core.OutputEmitterRef<DetailedContext>;
418
+ readonly hide: _angular_core.OutputEmitterRef<DetailedContext>;
419
+ readonly show: _angular_core.OutputEmitterRef<DetailedContext>;
420
+ readonly favorite: _angular_core.OutputEmitterRef<DetailedContext>;
421
+ readonly managePermissions: _angular_core.OutputEmitterRef<DetailedContext>;
422
+ readonly manageTools: _angular_core.OutputEmitterRef<DetailedContext>;
423
+ readonly share: _angular_core.OutputEmitterRef<DetailedContext>;
420
424
  get hidden(): boolean;
421
425
  get canShare(): boolean;
422
426
  get isMenuOpen(): boolean;
423
- itemActionsMenuTrigger: i0.Signal<MatMenuTrigger>;
427
+ itemActionsMenuTrigger: _angular_core.Signal<MatMenuTrigger | undefined>;
424
428
  favoriteClick(context: DetailedContext): void;
425
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextItemComponent, never>;
426
- static ɵcmp: i0.ɵɵComponentDeclaration<ContextItemComponent, "igo-context-item", never, { "showFavorite": { "alias": "showFavorite"; "required": false; "isSignal": true; }; "context": { "alias": "context"; "required": false; "isSignal": true; }; "default": { "alias": "default"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "isDesktop": { "alias": "isDesktop"; "required": false; "isSignal": true; }; }, { "edit": "edit"; "delete": "delete"; "save": "save"; "clone": "clone"; "hide": "hide"; "show": "show"; "favorite": "favorite"; "managePermissions": "managePermissions"; "manageTools": "manageTools"; "share": "share"; }, never, never, true, never>;
429
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContextItemComponent, never>;
430
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ContextItemComponent, "igo-context-item", never, { "showFavorite": { "alias": "showFavorite"; "required": false; "isSignal": true; }; "context": { "alias": "context"; "required": true; "isSignal": true; }; "default": { "alias": "default"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "isDesktop": { "alias": "isDesktop"; "required": false; "isSignal": true; }; }, { "edit": "edit"; "delete": "delete"; "save": "save"; "clone": "clone"; "hide": "hide"; "show": "show"; "favorite": "favorite"; "managePermissions": "managePermissions"; "manageTools": "manageTools"; "share": "share"; }, never, never, true, never>;
427
431
  }
428
432
 
429
433
  declare class ContextFormComponent {
@@ -431,28 +435,28 @@ declare class ContextFormComponent {
431
435
  private formBuilder;
432
436
  private messageService;
433
437
  prefix: string;
434
- readonly btnSubmitText: i0.InputSignal<string>;
435
- readonly context: i0.InputSignal<Context>;
436
- readonly disabled: i0.InputSignal<boolean>;
437
- readonly submitForm: i0.OutputEmitterRef<unknown>;
438
- readonly clone: i0.OutputEmitterRef<unknown>;
439
- readonly delete: i0.OutputEmitterRef<unknown>;
440
- readonly form: i0.Signal<FormGroup<any>>;
441
- handleFormSubmit(value: any): void;
438
+ readonly btnSubmitText: _angular_core.InputSignal<string | undefined>;
439
+ readonly context: _angular_core.InputSignal<Context | undefined>;
440
+ readonly disabled: _angular_core.InputSignal<boolean>;
441
+ readonly submitForm: _angular_core.OutputEmitterRef<unknown>;
442
+ readonly clone: _angular_core.OutputEmitterRef<unknown>;
443
+ readonly delete: _angular_core.OutputEmitterRef<unknown>;
444
+ readonly form: _angular_core.Signal<FormGroup<any> | undefined>;
445
+ handleFormSubmit(value: Record<string, string>): void;
442
446
  copyTextToClipboard(): void;
443
447
  private buildForm;
444
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextFormComponent, never>;
445
- static ɵcmp: i0.ɵɵComponentDeclaration<ContextFormComponent, "igo-context-form", never, { "btnSubmitText": { "alias": "btnSubmitText"; "required": false; "isSignal": true; }; "context": { "alias": "context"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "submitForm": "submitForm"; "clone": "clone"; "delete": "delete"; }, never, never, true, never>;
448
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContextFormComponent, never>;
449
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ContextFormComponent, "igo-context-form", never, { "btnSubmitText": { "alias": "btnSubmitText"; "required": false; "isSignal": true; }; "context": { "alias": "context"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "submitForm": "submitForm"; "clone": "clone"; "delete": "delete"; }, never, never, true, never>;
446
450
  }
447
451
 
448
452
  declare class ContextEditComponent {
449
453
  private contextService;
450
454
  private messageService;
451
- readonly context: i0.Signal<_igo2_context.DetailedContext>;
452
- readonly submitSuccessed: i0.OutputEmitterRef<Context>;
455
+ readonly context: _angular_core.Signal<_igo2_context.DetailedContext | undefined>;
456
+ readonly submitSuccessed: _angular_core.OutputEmitterRef<Context>;
453
457
  onEdit(context: Context): void;
454
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextEditComponent, never>;
455
- static ɵcmp: i0.ɵɵComponentDeclaration<ContextEditComponent, "igo-context-edit", never, {}, { "submitSuccessed": "submitSuccessed"; }, never, never, true, never>;
458
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContextEditComponent, never>;
459
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ContextEditComponent, "igo-context-edit", never, {}, { "submitSuccessed": "submitSuccessed"; }, never, never, true, never>;
456
460
  }
457
461
 
458
462
  declare class ContextPermissionsComponent implements OnInit {
@@ -465,17 +469,17 @@ declare class ContextPermissionsComponent implements OnInit {
465
469
  private messageService;
466
470
  private destroyRef;
467
471
  form: UntypedFormGroup;
468
- readonly context: i0.ModelSignal<Context>;
469
- readonly permissions: i0.ModelSignal<IAnyContextPermission[]>;
470
- readonly permissionsRead: i0.Signal<IAnyContextPermission[]>;
471
- readonly permissionsWrite: i0.Signal<IAnyContextPermission[]>;
472
- profils: i0.WritableSignal<ContextUserOrProfils[]>;
473
- canWrite: i0.Signal<boolean>;
472
+ readonly context: _angular_core.ModelSignal<Context | undefined>;
473
+ readonly permissions: _angular_core.ModelSignal<IAnyContextPermission[] | undefined>;
474
+ readonly permissionsRead: _angular_core.Signal<IAnyContextPermission[] | undefined>;
475
+ readonly permissionsWrite: _angular_core.Signal<IAnyContextPermission[] | undefined>;
476
+ profils: _angular_core.WritableSignal<ContextUserOrProfils[]>;
477
+ canWrite: _angular_core.Signal<boolean>;
474
478
  private baseUrlProfils;
475
479
  formControl: UntypedFormControl;
476
480
  formValueChanges$$: Subscription;
477
481
  ngOnInit(): void;
478
- displayFn(profil?: ContextUserOrProfils): string | undefined;
482
+ displayFn(profil?: ContextUserOrProfils): string;
479
483
  handleFormSubmit(value: IAnyContextPermission): void;
480
484
  private buildForm;
481
485
  onProfilSelected(value: ContextUserOrProfils): void;
@@ -483,8 +487,8 @@ declare class ContextPermissionsComponent implements OnInit {
483
487
  onScopeChanged(context: Context): void;
484
488
  private handleEditedContextChange;
485
489
  private getProfils;
486
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextPermissionsComponent, never>;
487
- static ɵcmp: i0.ɵɵComponentDeclaration<ContextPermissionsComponent, "igo-context-permissions", never, { "context": { "alias": "context"; "required": false; "isSignal": true; }; "permissions": { "alias": "permissions"; "required": false; "isSignal": true; }; }, { "context": "contextChange"; "permissions": "permissionsChange"; }, never, never, true, never>;
490
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContextPermissionsComponent, never>;
491
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ContextPermissionsComponent, "igo-context-permissions", never, { "context": { "alias": "context"; "required": false; "isSignal": true; }; "permissions": { "alias": "permissions"; "required": false; "isSignal": true; }; }, { "context": "contextChange"; "permissions": "permissionsChange"; }, never, never, true, never>;
488
492
  }
489
493
 
490
494
  /**
@@ -492,31 +496,27 @@ declare class ContextPermissionsComponent implements OnInit {
492
496
  */
493
497
  declare class IgoContextManagerModule {
494
498
  static forRoot(): ModuleWithProviders<IgoContextManagerModule>;
495
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoContextManagerModule, never>;
496
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoContextManagerModule, never, [typeof ContextListComponent, typeof ContextItemComponent, typeof ContextFormComponent, typeof ContextEditComponent, typeof ContextPermissionsComponent, typeof LayerContextDirective, typeof MapContextDirective], [typeof ContextListComponent, typeof ContextItemComponent, typeof ContextFormComponent, typeof ContextEditComponent, typeof ContextPermissionsComponent, typeof LayerContextDirective, typeof MapContextDirective]>;
497
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoContextManagerModule>;
499
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoContextManagerModule, never>;
500
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoContextManagerModule, never, [typeof ContextListComponent, typeof ContextItemComponent, typeof ContextFormComponent, typeof ContextEditComponent, typeof ContextPermissionsComponent, typeof LayerContextDirective, typeof MapContextDirective], [typeof ContextListComponent, typeof ContextItemComponent, typeof ContextFormComponent, typeof ContextEditComponent, typeof ContextPermissionsComponent, typeof LayerContextDirective, typeof MapContextDirective]>;
501
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoContextManagerModule>;
498
502
  }
499
503
 
500
504
  declare class BookmarkButtonComponent {
501
505
  private dialog;
502
506
  private contextService;
503
507
  private messageService;
504
- get map(): IgoMap;
505
- set map(value: IgoMap);
506
- private _map;
507
- get color(): string;
508
- set color(value: string);
509
- private _color;
508
+ readonly map: _angular_core.InputSignal<IgoMap>;
509
+ readonly color: _angular_core.InputSignal<string | undefined>;
510
510
  createContext(): void;
511
- static ɵfac: i0.ɵɵFactoryDeclaration<BookmarkButtonComponent, never>;
512
- static ɵcmp: i0.ɵɵComponentDeclaration<BookmarkButtonComponent, "igo-bookmark-button", never, { "map": { "alias": "map"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
511
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BookmarkButtonComponent, never>;
512
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BookmarkButtonComponent, "igo-bookmark-button", never, { "map": { "alias": "map"; "required": true; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
513
513
  }
514
514
 
515
515
  declare class BookmarkDialogComponent {
516
516
  dialogRef: MatDialogRef<BookmarkDialogComponent, any>;
517
517
  title: string;
518
- static ɵfac: i0.ɵɵFactoryDeclaration<BookmarkDialogComponent, never>;
519
- static ɵcmp: i0.ɵɵComponentDeclaration<BookmarkDialogComponent, "igo-bookmark-dialog", never, {}, {}, never, never, true, never>;
518
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BookmarkDialogComponent, never>;
519
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BookmarkDialogComponent, "igo-bookmark-dialog", never, {}, {}, never, never, true, never>;
520
520
  }
521
521
 
522
522
  interface Poi {
@@ -534,13 +534,9 @@ declare class PoiButtonComponent implements OnInit, OnDestroy {
534
534
  private messageService;
535
535
  private languageService;
536
536
  private confirmDialogService;
537
- selected: Poi;
538
- get map(): IgoMap;
539
- set map(value: IgoMap);
540
- private _map;
541
- get color(): string;
542
- set color(value: string);
543
- private _color;
537
+ selected?: Poi;
538
+ readonly map: _angular_core.InputSignal<IgoMap>;
539
+ readonly color: _angular_core.InputSignal<string | undefined>;
544
540
  pois: Poi[];
545
541
  private authenticate$$;
546
542
  ngOnInit(): void;
@@ -548,21 +544,17 @@ declare class PoiButtonComponent implements OnInit, OnDestroy {
548
544
  deletePoi(poi: Poi): void;
549
545
  private getPois;
550
546
  createPoi(): void;
551
- zoomOnPoi(id: any): void;
552
- static ɵfac: i0.ɵɵFactoryDeclaration<PoiButtonComponent, never>;
553
- static ɵcmp: i0.ɵɵComponentDeclaration<PoiButtonComponent, "igo-poi-button", never, { "map": { "alias": "map"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
547
+ zoomOnPoi(id: string): void;
548
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoiButtonComponent, never>;
549
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoiButtonComponent, "igo-poi-button", never, { "map": { "alias": "map"; "required": true; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
554
550
  }
555
551
 
556
552
  declare class UserButtonComponent {
557
553
  private dialog;
558
554
  private config;
559
555
  auth: AuthService<any>;
560
- get map(): IgoMap;
561
- set map(value: IgoMap);
562
- private _map;
563
- get color(): string;
564
- set color(value: string);
565
- private _color;
556
+ readonly map: _angular_core.InputSignal<IgoMap>;
557
+ readonly color: _angular_core.InputSignal<string | undefined>;
566
558
  expand: boolean;
567
559
  visible: boolean;
568
560
  hasApi: boolean;
@@ -570,8 +562,8 @@ declare class UserButtonComponent {
570
562
  accountClick(): void;
571
563
  logout(): void;
572
564
  infoUser(): void;
573
- static ɵfac: i0.ɵɵFactoryDeclaration<UserButtonComponent, never>;
574
- static ɵcmp: i0.ɵɵComponentDeclaration<UserButtonComponent, "igo-user-button", never, { "map": { "alias": "map"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
565
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserButtonComponent, never>;
566
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserButtonComponent, "igo-user-button", never, { "map": { "alias": "map"; "required": true; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
575
567
  }
576
568
 
577
569
  /**
@@ -579,9 +571,9 @@ declare class UserButtonComponent {
579
571
  */
580
572
  declare class IgoContextMapButtonModule {
581
573
  static forRoot(): ModuleWithProviders<IgoContextMapButtonModule>;
582
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoContextMapButtonModule, never>;
583
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoContextMapButtonModule, never, [typeof BookmarkButtonComponent, typeof BookmarkDialogComponent, typeof PoiButtonComponent, typeof UserButtonComponent], [typeof BookmarkButtonComponent, typeof PoiButtonComponent, typeof UserButtonComponent, typeof BookmarkDialogComponent]>;
584
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoContextMapButtonModule>;
574
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoContextMapButtonModule, never>;
575
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoContextMapButtonModule, never, [typeof BookmarkButtonComponent, typeof BookmarkDialogComponent, typeof PoiButtonComponent, typeof UserButtonComponent], [typeof BookmarkButtonComponent, typeof PoiButtonComponent, typeof UserButtonComponent, typeof BookmarkDialogComponent]>;
576
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoContextMapButtonModule>;
585
577
  }
586
578
 
587
579
  declare class ShareMapUrlComponent implements OnInit, OnDestroy {
@@ -591,20 +583,20 @@ declare class ShareMapUrlComponent implements OnInit, OnDestroy {
591
583
  private contextService;
592
584
  private cdRef;
593
585
  private mapState$$;
594
- readonly map: i0.InputSignal<IgoMap>;
586
+ readonly map: _angular_core.InputSignal<IgoMap>;
595
587
  url: string;
596
588
  ngOnInit(): void;
597
589
  ngOnDestroy(): void;
598
590
  generateUrl(): void;
599
591
  copyTextToClipboard(textArea: HTMLTextAreaElement): void;
600
- static ɵfac: i0.ɵɵFactoryDeclaration<ShareMapUrlComponent, never>;
601
- static ɵcmp: i0.ɵɵComponentDeclaration<ShareMapUrlComponent, "igo-share-map-url", never, { "map": { "alias": "map"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
592
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShareMapUrlComponent, never>;
593
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ShareMapUrlComponent, "igo-share-map-url", never, { "map": { "alias": "map"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
602
594
  }
603
595
 
604
596
  declare class ShareMapComponent {
605
- readonly map: i0.InputSignal<IgoMap>;
606
- static ɵfac: i0.ɵɵFactoryDeclaration<ShareMapComponent, never>;
607
- static ɵcmp: i0.ɵɵComponentDeclaration<ShareMapComponent, "igo-share-map", never, { "map": { "alias": "map"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
597
+ readonly map: _angular_core.InputSignal<IgoMap>;
598
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShareMapComponent, never>;
599
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ShareMapComponent, "igo-share-map", never, { "map": { "alias": "map"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
608
600
  }
609
601
 
610
602
  declare const SHARE_MAP_DIRECTIVES: readonly [typeof ShareMapComponent, typeof ShareMapUrlComponent];
@@ -613,39 +605,28 @@ declare const SHARE_MAP_DIRECTIVES: readonly [typeof ShareMapComponent, typeof S
613
605
  */
614
606
  declare class IgoShareMapModule {
615
607
  static forRoot(): ModuleWithProviders<IgoShareMapModule>;
616
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoShareMapModule, never>;
617
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoShareMapModule, never, [typeof ShareMapComponent, typeof ShareMapUrlComponent], [typeof ShareMapComponent, typeof ShareMapUrlComponent]>;
618
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoShareMapModule>;
608
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoShareMapModule, never>;
609
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoShareMapModule, never, [typeof ShareMapComponent, typeof ShareMapUrlComponent], [typeof ShareMapComponent, typeof ShareMapUrlComponent]>;
610
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoShareMapModule>;
619
611
  }
620
612
 
621
613
  declare class SidenavComponent {
622
614
  titleService: Title;
623
615
  private format;
624
- get map(): IgoMap;
625
- set map(value: IgoMap);
626
- private _map;
627
- get opened(): boolean;
628
- set opened(value: boolean);
629
- private _opened;
630
- get feature(): Feature;
631
- set feature(value: Feature);
632
- private _feature;
633
- get tool(): Tool;
634
- set tool(value: Tool);
635
- private _tool;
636
- get media(): Media;
637
- set media(value: Media);
638
- private _media;
639
- get title(): string;
640
- set title(value: string);
641
- private _title;
616
+ readonly map: _angular_core.InputSignal<IgoMap>;
617
+ readonly opened: _angular_core.InputSignal<boolean>;
618
+ readonly feature: _angular_core.InputSignal<Feature<Record<string, any>>>;
619
+ readonly tool: _angular_core.InputSignal<Tool | undefined>;
620
+ readonly media: _angular_core.InputSignal<Media | undefined>;
621
+ readonly title: _angular_core.InputSignal<string>;
642
622
  topPanelState: FlexibleState;
643
- get featureTitle(): string;
644
- constructor();
623
+ private readonly _defaultTitle;
624
+ readonly displayTitle: _angular_core.Signal<string>;
625
+ get featureTitle(): string | undefined;
645
626
  zoomToFeatureExtent(): void;
646
627
  toggleTopPanel(): void;
647
- static ɵfac: i0.ɵɵFactoryDeclaration<SidenavComponent, never>;
648
- static ɵcmp: i0.ɵɵComponentDeclaration<SidenavComponent, "igo-sidenav", never, { "map": { "alias": "map"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "tool": { "alias": "tool"; "required": false; }; "media": { "alias": "media"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, never, true, never>;
628
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidenavComponent, never>;
629
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidenavComponent, "igo-sidenav", never, { "map": { "alias": "map"; "required": true; "isSignal": true; }; "opened": { "alias": "opened"; "required": false; "isSignal": true; }; "feature": { "alias": "feature"; "required": true; "isSignal": true; }; "tool": { "alias": "tool"; "required": false; "isSignal": true; }; "media": { "alias": "media"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
649
630
  }
650
631
 
651
632
  /**
@@ -653,9 +634,9 @@ declare class SidenavComponent {
653
634
  */
654
635
  declare class IgoSidenavModule {
655
636
  static forRoot(): ModuleWithProviders<IgoSidenavModule>;
656
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoSidenavModule, never>;
657
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoSidenavModule, never, [typeof SidenavComponent], [typeof SidenavComponent]>;
658
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoSidenavModule>;
637
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoSidenavModule, never>;
638
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoSidenavModule, never, [typeof SidenavComponent], [typeof SidenavComponent]>;
639
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoSidenavModule>;
659
640
  }
660
641
 
661
642
  /**
@@ -663,9 +644,9 @@ declare class IgoSidenavModule {
663
644
  */
664
645
  declare class IgoContextModule {
665
646
  static forRoot(): ModuleWithProviders<IgoContextModule>;
666
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoContextModule, never>;
667
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoContextModule, never, never, [typeof IgoContextImportExportModule, typeof IgoContextManagerModule, typeof IgoContextMapButtonModule, typeof IgoShareMapModule, typeof IgoSidenavModule]>;
668
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoContextModule>;
647
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoContextModule, never>;
648
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoContextModule, never, never, [typeof IgoContextImportExportModule, typeof IgoContextManagerModule, typeof IgoContextMapButtonModule, typeof IgoShareMapModule, typeof IgoSidenavModule]>;
649
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoContextModule>;
669
650
  }
670
651
 
671
652
  declare class ExportError extends Error {
@@ -699,8 +680,8 @@ declare class ContextExportService {
699
680
  export(res: DetailedContext): Observable<void>;
700
681
  protected exportAsync(res: DetailedContext): Observable<void>;
701
682
  protected nothingToExport(res: DetailedContext): boolean;
702
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextExportService, never>;
703
- static ɵprov: i0.ɵɵInjectableDeclaration<ContextExportService>;
683
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContextExportService, never>;
684
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<ContextExportService>;
704
685
  }
705
686
 
706
687
  declare class ContextImportService {
@@ -714,8 +695,8 @@ declare class ContextImportService {
714
695
  private importAsync;
715
696
  private importFile;
716
697
  private parseContextFromFile;
717
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextImportService, never>;
718
- static ɵprov: i0.ɵɵInjectableDeclaration<ContextImportService>;
698
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContextImportService, never>;
699
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<ContextImportService>;
719
700
  }
720
701
 
721
702
  interface ContextExportOptions {
@@ -732,8 +713,7 @@ declare function handleNothingToImportError(file: File, messageService: MessageS
732
713
  declare function addContextToContextList(context: DetailedContext, contextTitle: string, contextService: ContextService): void;
733
714
  declare function getFileExtension(file: File): string;
734
715
  declare function computeLayerTitleFromFile(file: File): string;
735
- declare function addImportedFeaturesToMap(extraFeatures: ExtraFeatures, map: IgoMap): VectorLayer;
736
- declare function addImportedFeaturesStyledToMap(extraFeatures: ExtraFeatures, map: IgoMap, styleListService: StyleListService, styleService: StyleService): VectorLayer;
716
+ declare function addImportedFeaturesToMap(extraFeatures: ExtraFeatures, map: IgoMap, layerService: LayerService): VectorLayer;
737
717
 
738
718
  declare function handleFileExportError(error: Error, messageService: MessageService): void;
739
719
  declare function handleFileExportSuccess(messageService: MessageService): void;
@@ -744,8 +724,8 @@ declare const CONTEXT_MANAGER_DIRECTIVES: readonly [typeof ContextListComponent,
744
724
  declare class PoiDialogComponent {
745
725
  dialogRef: MatDialogRef<PoiDialogComponent, any>;
746
726
  title: string;
747
- static ɵfac: i0.ɵɵFactoryDeclaration<PoiDialogComponent, never>;
748
- static ɵcmp: i0.ɵɵComponentDeclaration<PoiDialogComponent, "igo-poi-dialog", never, {}, {}, never, never, true, never>;
727
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoiDialogComponent, never>;
728
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoiDialogComponent, "igo-poi-dialog", never, {}, {}, never, never, true, never>;
749
729
  }
750
730
 
751
731
  declare class PoiService {
@@ -756,20 +736,20 @@ declare class PoiService {
756
736
  get(): Observable<Poi[]>;
757
737
  delete(id: string): Observable<void>;
758
738
  create(context: Poi): Observable<Poi>;
759
- static ɵfac: i0.ɵɵFactoryDeclaration<PoiService, never>;
760
- static ɵprov: i0.ɵɵInjectableDeclaration<PoiService>;
739
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoiService, never>;
740
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<PoiService>;
761
741
  }
762
742
 
763
743
  declare class UserDialogComponent {
764
744
  dialogRef: MatDialogRef<UserDialogComponent, any>;
765
745
  private auth;
766
746
  private storageService;
767
- user: any;
768
- exp: any;
747
+ user?: User;
748
+ exp?: string;
769
749
  constructor();
770
750
  clearPreferences(): void;
771
- static ɵfac: i0.ɵɵFactoryDeclaration<UserDialogComponent, never>;
772
- static ɵcmp: i0.ɵɵComponentDeclaration<UserDialogComponent, "igo-user-dialog", never, {}, {}, never, never, true, never>;
751
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserDialogComponent, never>;
752
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserDialogComponent, "igo-user-dialog", never, {}, {}, never, never, true, never>;
773
753
  }
774
754
 
775
755
  declare const CONTEXT_MAP_BUTTON_DIRECTIVES: readonly [typeof BookmarkButtonComponent, typeof BookmarkDialogComponent, typeof PoiButtonComponent, typeof UserButtonComponent];
@@ -811,7 +791,7 @@ type DefinitionParams<T extends string = string> = Record<T, BaseKeyParams | und
811
791
  interface BaseKeyParams {
812
792
  key: string;
813
793
  parse?: (value: string) => unknown;
814
- stringify?: (value: unknown) => string;
794
+ stringify?: (value: any) => string;
815
795
  }
816
796
  interface PositionParams {
817
797
  center?: [number, number];
@@ -872,16 +852,16 @@ declare class ShareMapService {
872
852
  sanitizeBaseUrl(baseUrl: string): string;
873
853
  getContext(params: Params): string | undefined;
874
854
  getZoom(params: Params): number | undefined;
875
- getUrlWithApi(formValues: any): string;
855
+ getUrlWithApi(formValues: Record<string, string>): string;
876
856
  hasPositionParams(params: Params): boolean;
877
- static ɵfac: i0.ɵɵFactoryDeclaration<ShareMapService, never>;
878
- static ɵprov: i0.ɵɵInjectableDeclaration<ShareMapService>;
857
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShareMapService, never>;
858
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<ShareMapService>;
879
859
  }
880
860
 
881
861
  declare class ShareMapLegacyParser {
882
862
  private options;
883
863
  constructor(options: RouteServiceOptions);
884
- parseUrl(params: Params): LayerOptions[] | undefined;
864
+ parseUrl(params: Params): LayerOptions[];
885
865
  parsePosition(params: Params): PositionParams;
886
866
  private readLayersQueryParamsByType;
887
867
  private getQueryKeyByType;
@@ -893,7 +873,7 @@ declare class ShareMapLegacyParser {
893
873
  private computeLayerVisibilityFromUrl;
894
874
  }
895
875
 
896
- declare function buildDataSourceOptions(type: ServiceType, url: string, layers: string[], version: string): AnyDataSourceOptions;
876
+ declare function buildDataSourceOptions(type: ServiceType, url: string, layers: string[], version?: string): AnyDataSourceOptions;
897
877
  declare function getFlattenOptions(options: AnyLayerOptions[]): AnyLayerOptions[];
898
878
  /**
899
879
  * Checks if the provided query parameters contain legacy parameter pairs
@@ -903,5 +883,5 @@ declare function hasLegacyParams(params: Params, optionsLegacy: RouteServiceOpti
903
883
  declare function hasModernShareParams(params: Params, keysDefinitions: ShareMapKeysDefinitions): boolean;
904
884
  declare function getParamValue(params: Params, key: string): string | undefined;
905
885
 
906
- export { BookmarkButtonComponent, BookmarkDialogComponent, CONTEXT_MANAGER_DIRECTIVES, CONTEXT_MAP_BUTTON_DIRECTIVES, ContextEditComponent, ContextExportService, ContextFormComponent, ContextImportExportComponent, ContextImportService, ContextItemComponent, ContextListComponent, ContextPermissionsComponent, ContextService, ExportError, ExportInvalidFileError, ExportNothingToExportError, GroupParamsKeys, IgoContextImportExportModule, IgoContextManagerModule, IgoContextMapButtonModule, IgoContextModule, IgoShareMapModule, IgoSidenavModule, ImportError, ImportInvalidFileError, ImportNothingToImportError, ImportSRSError, ImportSizeError, ImportUnreadableFileError, LayerContextDirective, LayerParamsKeys, MapContextDirective, PoiButtonComponent, PoiDialogComponent, PoiService, SHARE_MAP_DIRECTIVES, SHARE_MAP_KEYS_DEFAULT_OPTIONS, Scope, ServiceType, ServiceTypeEnum, ShareMapComponent, ShareMapLegacyParser, ShareMapService, ShareMapUrlComponent, SidenavComponent, TypePermission, UserButtonComponent, UserDialogComponent, addContextToContextList, addImportedFeaturesStyledToMap, addImportedFeaturesToMap, buildDataSourceOptions, computeLayerTitleFromFile, getFileExtension, getFlattenOptions, getParamValue, handleFileExportError, handleFileExportSuccess, handleFileImportError, handleFileImportSuccess, handleInvalidFileImportError, handleNothingToExportError, handleNothingToImportError, handleSizeFileImportError, handleUnreadbleFileImportError, hasLegacyParams, hasModernShareParams };
886
+ export { BookmarkButtonComponent, BookmarkDialogComponent, CONTEXT_MANAGER_DIRECTIVES, CONTEXT_MAP_BUTTON_DIRECTIVES, ContextEditComponent, ContextExportService, ContextFormComponent, ContextImportExportComponent, ContextImportService, ContextItemComponent, ContextListComponent, ContextPermissionsComponent, ContextService, ExportError, ExportInvalidFileError, ExportNothingToExportError, GroupParamsKeys, IgoContextImportExportModule, IgoContextManagerModule, IgoContextMapButtonModule, IgoContextModule, IgoShareMapModule, IgoSidenavModule, ImportError, ImportInvalidFileError, ImportNothingToImportError, ImportSRSError, ImportSizeError, ImportUnreadableFileError, LayerContextDirective, LayerParamsKeys, MapContextDirective, PoiButtonComponent, PoiDialogComponent, PoiService, SHARE_MAP_DIRECTIVES, SHARE_MAP_KEYS_DEFAULT_OPTIONS, Scope, ServiceType, ServiceTypeEnum, ShareMapComponent, ShareMapLegacyParser, ShareMapService, ShareMapUrlComponent, SidenavComponent, TypePermission, UserButtonComponent, UserDialogComponent, addContextToContextList, addImportedFeaturesToMap, buildDataSourceOptions, computeLayerTitleFromFile, getFileExtension, getFlattenOptions, getParamValue, handleFileExportError, handleFileExportSuccess, handleFileImportError, handleFileImportSuccess, handleInvalidFileImportError, handleNothingToExportError, handleNothingToImportError, handleSizeFileImportError, handleUnreadbleFileImportError, hasLegacyParams, hasModernShareParams };
907
887
  export type { BaseKeyParams, Context, ContextDetailedChanges, ContextExportOptions, ContextHomeExtent, ContextMap, ContextMapView, ContextProfils, ContextServiceOptions, ContextsList, DefinitionKeyParams, DefinitionParams, DetailedContext, EnvironmentOptions, ExtraFeatures, GroupParams, IProcessChanges, LayerParams, LayerProperties, Poi, PositionParams, ShareMapKeysDefinitions, ShareMapRouteKeysOptions, UrlParsedParam };