@igo2/context 21.0.0-next.3 → 21.0.0-next.5

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,6 +1,7 @@
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 { MatOption } from '@angular/material/core';
4
5
  import { AnyLayerOptions, MapViewOptions, MapExtent, MapScaleLineOptions, MapAttributionOptions, VectorLayer, AnyLayer, IgoMap, Feature, StyleListService, StyleService, 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';
@@ -8,7 +9,7 @@ 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 {
@@ -218,8 +224,8 @@ declare class LayerContextDirective implements OnInit, OnDestroy {
218
224
  private context$$;
219
225
  private queryParams;
220
226
  private contextLayers;
221
- readonly removeLayersOnContextChange: i0.InputSignal<boolean>;
222
- readonly contextLayersLoaded: i0.OutputEmitterRef<boolean>;
227
+ readonly removeLayersOnContextChange: _angular_core.InputSignal<boolean>;
228
+ readonly contextLayersLoaded: _angular_core.OutputEmitterRef<boolean>;
223
229
  get map(): IgoMap;
224
230
  ngOnInit(): void;
225
231
  ngOnDestroy(): void;
@@ -227,8 +233,8 @@ declare class LayerContextDirective implements OnInit, OnDestroy {
227
233
  private handleAddLayers;
228
234
  private computeLayerVisibilityFromUrl;
229
235
  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>;
236
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LayerContextDirective, never>;
237
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LayerContextDirective, "[igoLayerContext]", never, { "removeLayersOnContextChange": { "alias": "removeLayersOnContextChange"; "required": false; "isSignal": true; }; }, { "contextLayersLoaded": "contextLayersLoaded"; }, never, never, true, never>;
232
238
  }
233
239
 
234
240
  declare class MapContextDirective implements OnInit, OnDestroy {
@@ -243,8 +249,8 @@ declare class MapContextDirective implements OnInit, OnDestroy {
243
249
  ngOnInit(): void;
244
250
  ngOnDestroy(): void;
245
251
  private handleContextChange;
246
- static ɵfac: i0.ɵɵFactoryDeclaration<MapContextDirective, never>;
247
- static ɵdir: i0.ɵɵDirectiveDeclaration<MapContextDirective, "[igoMapContext]", never, {}, {}, never, never, true, never>;
252
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MapContextDirective, never>;
253
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MapContextDirective, "[igoMapContext]", never, {}, {}, never, never, true, never>;
248
254
  }
249
255
 
250
256
  interface ContextUserPermission {
@@ -303,35 +309,35 @@ declare class ContextListComponent implements OnInit, OnDestroy {
303
309
  private previousMessageId;
304
310
  sortAlphaOnIcon: _igo2_common_icon.IconSvg;
305
311
  sortAlphaOffIcon: _igo2_common_icon.IconSvg;
306
- readonly isDesktop: i0.InputSignal<boolean>;
312
+ readonly isDesktop: _angular_core.InputSignal<boolean | undefined>;
307
313
  get contexts(): ContextsList;
308
314
  set contexts(value: ContextsList);
309
315
  private _contexts;
310
- readonly selectedContext: i0.ModelSignal<DetailedContext>;
311
- readonly map: i0.InputSignal<IgoMap>;
316
+ readonly selectedContext: _angular_core.ModelSignal<DetailedContext | undefined>;
317
+ readonly map: _angular_core.InputSignal<IgoMap | undefined>;
312
318
  get defaultContextId(): string | number;
313
319
  set defaultContextId(value: string | number);
314
320
  private _defaultContextId;
315
321
  collapsed: {
316
- contextScope: any;
322
+ contextScope: string;
317
323
  }[];
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<{
324
+ readonly select: _angular_core.OutputEmitterRef<DetailedContext>;
325
+ readonly unselect: _angular_core.OutputEmitterRef<DetailedContext>;
326
+ readonly edit: _angular_core.OutputEmitterRef<DetailedContext>;
327
+ readonly delete: _angular_core.OutputEmitterRef<DetailedContext>;
328
+ readonly save: _angular_core.OutputEmitterRef<DetailedContext>;
329
+ readonly clone: _angular_core.OutputEmitterRef<DetailedContext>;
330
+ readonly create: _angular_core.OutputEmitterRef<{
325
331
  title: string;
326
332
  empty: boolean;
327
333
  }>;
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[]>;
334
+ readonly hide: _angular_core.OutputEmitterRef<DetailedContext>;
335
+ readonly show: _angular_core.OutputEmitterRef<DetailedContext>;
336
+ readonly showHiddenContexts: _angular_core.OutputEmitterRef<boolean>;
337
+ readonly favorite: _angular_core.OutputEmitterRef<DetailedContext>;
338
+ readonly managePermissions: _angular_core.OutputEmitterRef<DetailedContext>;
339
+ readonly manageTools: _angular_core.OutputEmitterRef<DetailedContext>;
340
+ readonly filterPermissionsChanged: _angular_core.OutputEmitterRef<ContextUserPermission[]>;
335
341
  titleMapping: {
336
342
  ours: string;
337
343
  shared: string;
@@ -351,7 +357,7 @@ declare class ContextListComponent implements OnInit, OnDestroy {
351
357
  _term: string;
352
358
  get sortedAlpha(): boolean;
353
359
  set sortedAlpha(value: boolean);
354
- private _sortedAlpha;
360
+ private _sortedAlpha?;
355
361
  showContextFilter: ContextListControlsEnum;
356
362
  thresholdToFilter: number;
357
363
  get isEmpty(): boolean;
@@ -366,13 +372,13 @@ declare class ContextListComponent implements OnInit, OnDestroy {
366
372
  private next;
367
373
  private filterContextsList;
368
374
  showFilter(): boolean;
369
- sortContextsList(contexts: ContextsList): any;
375
+ sortContextsList(contexts: ContextsList): ContextsList;
370
376
  normalize(str: string): string;
371
377
  toggleSort(): void;
372
378
  clearFilter(): void;
373
379
  createContext(empty?: boolean): void;
374
- getPermission(user?: any): ContextUserPermission;
375
- handleToggleCategory(user: any, parent?: any): void;
380
+ getPermission(user?: ContextProfils): ContextUserPermission | undefined;
381
+ handleToggleCategory(user: ContextProfils, parent?: ContextProfils): void;
376
382
  showContext(context: DetailedContext): void;
377
383
  onSelect(context: DetailedContext): void;
378
384
  isContextSelected(context: DetailedContext): boolean;
@@ -392,8 +398,8 @@ declare class ContextListComponent implements OnInit, OnDestroy {
392
398
  onFilterPermissionsChanged(): void;
393
399
  onShowHiddenContexts(): void;
394
400
  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>;
401
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContextListComponent, never>;
402
+ 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
403
  }
398
404
 
399
405
  declare class ContextItemComponent {
@@ -402,28 +408,28 @@ declare class ContextItemComponent {
402
408
  typePermission: readonly ["read", "write"];
403
409
  color: string;
404
410
  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>;
411
+ readonly showFavorite: _angular_core.InputSignal<boolean>;
412
+ readonly context: _angular_core.InputSignal<DetailedContext | undefined>;
413
+ readonly default: _angular_core.InputSignal<boolean | undefined>;
414
+ readonly selected: _angular_core.InputSignal<boolean | undefined>;
415
+ readonly isDesktop: _angular_core.InputSignal<boolean | undefined>;
416
+ readonly edit: _angular_core.OutputEmitterRef<DetailedContext>;
417
+ readonly delete: _angular_core.OutputEmitterRef<DetailedContext>;
418
+ readonly save: _angular_core.OutputEmitterRef<DetailedContext>;
419
+ readonly clone: _angular_core.OutputEmitterRef<DetailedContext>;
420
+ readonly hide: _angular_core.OutputEmitterRef<DetailedContext>;
421
+ readonly show: _angular_core.OutputEmitterRef<DetailedContext>;
422
+ readonly favorite: _angular_core.OutputEmitterRef<DetailedContext>;
423
+ readonly managePermissions: _angular_core.OutputEmitterRef<DetailedContext>;
424
+ readonly manageTools: _angular_core.OutputEmitterRef<DetailedContext>;
425
+ readonly share: _angular_core.OutputEmitterRef<DetailedContext>;
420
426
  get hidden(): boolean;
421
427
  get canShare(): boolean;
422
428
  get isMenuOpen(): boolean;
423
- itemActionsMenuTrigger: i0.Signal<MatMenuTrigger>;
429
+ itemActionsMenuTrigger: _angular_core.Signal<MatMenuTrigger | undefined>;
424
430
  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>;
431
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContextItemComponent, never>;
432
+ 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
433
  }
428
434
 
429
435
  declare class ContextFormComponent {
@@ -431,28 +437,28 @@ declare class ContextFormComponent {
431
437
  private formBuilder;
432
438
  private messageService;
433
439
  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;
440
+ readonly btnSubmitText: _angular_core.InputSignal<string | undefined>;
441
+ readonly context: _angular_core.InputSignal<Context | undefined>;
442
+ readonly disabled: _angular_core.InputSignal<boolean>;
443
+ readonly submitForm: _angular_core.OutputEmitterRef<unknown>;
444
+ readonly clone: _angular_core.OutputEmitterRef<unknown>;
445
+ readonly delete: _angular_core.OutputEmitterRef<unknown>;
446
+ readonly form: _angular_core.Signal<FormGroup<any> | undefined>;
447
+ handleFormSubmit(value: Record<string, string>): void;
442
448
  copyTextToClipboard(): void;
443
449
  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>;
450
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContextFormComponent, never>;
451
+ 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
452
  }
447
453
 
448
454
  declare class ContextEditComponent {
449
455
  private contextService;
450
456
  private messageService;
451
- readonly context: i0.Signal<_igo2_context.DetailedContext>;
452
- readonly submitSuccessed: i0.OutputEmitterRef<Context>;
457
+ readonly context: _angular_core.Signal<_igo2_context.DetailedContext | undefined>;
458
+ readonly submitSuccessed: _angular_core.OutputEmitterRef<Context>;
453
459
  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>;
460
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContextEditComponent, never>;
461
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ContextEditComponent, "igo-context-edit", never, {}, { "submitSuccessed": "submitSuccessed"; }, never, never, true, never>;
456
462
  }
457
463
 
458
464
  declare class ContextPermissionsComponent implements OnInit {
@@ -465,17 +471,17 @@ declare class ContextPermissionsComponent implements OnInit {
465
471
  private messageService;
466
472
  private destroyRef;
467
473
  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>;
474
+ readonly context: _angular_core.ModelSignal<Context | undefined>;
475
+ readonly permissions: _angular_core.ModelSignal<IAnyContextPermission[] | undefined>;
476
+ readonly permissionsRead: _angular_core.Signal<IAnyContextPermission[] | undefined>;
477
+ readonly permissionsWrite: _angular_core.Signal<IAnyContextPermission[] | undefined>;
478
+ profils: _angular_core.WritableSignal<ContextUserOrProfils[]>;
479
+ canWrite: _angular_core.Signal<boolean>;
474
480
  private baseUrlProfils;
475
481
  formControl: UntypedFormControl;
476
482
  formValueChanges$$: Subscription;
477
483
  ngOnInit(): void;
478
- displayFn(profil?: ContextUserOrProfils): string | undefined;
484
+ displayFn(profil?: ContextUserOrProfils): string;
479
485
  handleFormSubmit(value: IAnyContextPermission): void;
480
486
  private buildForm;
481
487
  onProfilSelected(value: ContextUserOrProfils): void;
@@ -483,8 +489,8 @@ declare class ContextPermissionsComponent implements OnInit {
483
489
  onScopeChanged(context: Context): void;
484
490
  private handleEditedContextChange;
485
491
  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>;
492
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContextPermissionsComponent, never>;
493
+ 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
494
  }
489
495
 
490
496
  /**
@@ -492,31 +498,27 @@ declare class ContextPermissionsComponent implements OnInit {
492
498
  */
493
499
  declare class IgoContextManagerModule {
494
500
  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>;
501
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoContextManagerModule, never>;
502
+ 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]>;
503
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoContextManagerModule>;
498
504
  }
499
505
 
500
506
  declare class BookmarkButtonComponent {
501
507
  private dialog;
502
508
  private contextService;
503
509
  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;
510
+ readonly map: _angular_core.InputSignal<IgoMap>;
511
+ readonly color: _angular_core.InputSignal<string | undefined>;
510
512
  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>;
513
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BookmarkButtonComponent, never>;
514
+ 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
515
  }
514
516
 
515
517
  declare class BookmarkDialogComponent {
516
518
  dialogRef: MatDialogRef<BookmarkDialogComponent, any>;
517
519
  title: string;
518
- static ɵfac: i0.ɵɵFactoryDeclaration<BookmarkDialogComponent, never>;
519
- static ɵcmp: i0.ɵɵComponentDeclaration<BookmarkDialogComponent, "igo-bookmark-dialog", never, {}, {}, never, never, true, never>;
520
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BookmarkDialogComponent, never>;
521
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BookmarkDialogComponent, "igo-bookmark-dialog", never, {}, {}, never, never, true, never>;
520
522
  }
521
523
 
522
524
  interface Poi {
@@ -535,12 +537,8 @@ declare class PoiButtonComponent implements OnInit, OnDestroy {
535
537
  private languageService;
536
538
  private confirmDialogService;
537
539
  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;
540
+ readonly map: _angular_core.InputSignal<IgoMap>;
541
+ readonly color: _angular_core.InputSignal<string | undefined>;
544
542
  pois: Poi[];
545
543
  private authenticate$$;
546
544
  ngOnInit(): void;
@@ -548,21 +546,17 @@ declare class PoiButtonComponent implements OnInit, OnDestroy {
548
546
  deletePoi(poi: Poi): void;
549
547
  private getPois;
550
548
  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>;
549
+ zoomOnPoi(id: string): void;
550
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoiButtonComponent, never>;
551
+ 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
552
  }
555
553
 
556
554
  declare class UserButtonComponent {
557
555
  private dialog;
558
556
  private config;
559
557
  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;
558
+ readonly map: _angular_core.InputSignal<IgoMap>;
559
+ readonly color: _angular_core.InputSignal<string | undefined>;
566
560
  expand: boolean;
567
561
  visible: boolean;
568
562
  hasApi: boolean;
@@ -570,8 +564,8 @@ declare class UserButtonComponent {
570
564
  accountClick(): void;
571
565
  logout(): void;
572
566
  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>;
567
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserButtonComponent, never>;
568
+ 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
569
  }
576
570
 
577
571
  /**
@@ -579,9 +573,9 @@ declare class UserButtonComponent {
579
573
  */
580
574
  declare class IgoContextMapButtonModule {
581
575
  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>;
576
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoContextMapButtonModule, never>;
577
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoContextMapButtonModule, never, [typeof BookmarkButtonComponent, typeof BookmarkDialogComponent, typeof PoiButtonComponent, typeof UserButtonComponent], [typeof BookmarkButtonComponent, typeof PoiButtonComponent, typeof UserButtonComponent, typeof BookmarkDialogComponent]>;
578
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoContextMapButtonModule>;
585
579
  }
586
580
 
587
581
  declare class ShareMapUrlComponent implements OnInit, OnDestroy {
@@ -591,20 +585,20 @@ declare class ShareMapUrlComponent implements OnInit, OnDestroy {
591
585
  private contextService;
592
586
  private cdRef;
593
587
  private mapState$$;
594
- readonly map: i0.InputSignal<IgoMap>;
588
+ readonly map: _angular_core.InputSignal<IgoMap>;
595
589
  url: string;
596
590
  ngOnInit(): void;
597
591
  ngOnDestroy(): void;
598
592
  generateUrl(): void;
599
593
  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>;
594
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShareMapUrlComponent, never>;
595
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ShareMapUrlComponent, "igo-share-map-url", never, { "map": { "alias": "map"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
602
596
  }
603
597
 
604
598
  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>;
599
+ readonly map: _angular_core.InputSignal<IgoMap>;
600
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShareMapComponent, never>;
601
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ShareMapComponent, "igo-share-map", never, { "map": { "alias": "map"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
608
602
  }
609
603
 
610
604
  declare const SHARE_MAP_DIRECTIVES: readonly [typeof ShareMapComponent, typeof ShareMapUrlComponent];
@@ -613,39 +607,28 @@ declare const SHARE_MAP_DIRECTIVES: readonly [typeof ShareMapComponent, typeof S
613
607
  */
614
608
  declare class IgoShareMapModule {
615
609
  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>;
610
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoShareMapModule, never>;
611
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoShareMapModule, never, [typeof ShareMapComponent, typeof ShareMapUrlComponent], [typeof ShareMapComponent, typeof ShareMapUrlComponent]>;
612
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoShareMapModule>;
619
613
  }
620
614
 
621
615
  declare class SidenavComponent {
622
616
  titleService: Title;
623
617
  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;
618
+ readonly map: _angular_core.InputSignal<IgoMap>;
619
+ readonly opened: _angular_core.InputSignal<boolean>;
620
+ readonly feature: _angular_core.InputSignal<Feature<Record<string, any>>>;
621
+ readonly tool: _angular_core.InputSignal<Tool | undefined>;
622
+ readonly media: _angular_core.InputSignal<Media | undefined>;
623
+ readonly title: _angular_core.InputSignal<string>;
642
624
  topPanelState: FlexibleState;
643
- get featureTitle(): string;
644
- constructor();
625
+ private readonly _defaultTitle;
626
+ readonly displayTitle: _angular_core.Signal<string>;
627
+ get featureTitle(): string | undefined;
645
628
  zoomToFeatureExtent(): void;
646
629
  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>;
630
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidenavComponent, never>;
631
+ 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
632
  }
650
633
 
651
634
  /**
@@ -653,9 +636,9 @@ declare class SidenavComponent {
653
636
  */
654
637
  declare class IgoSidenavModule {
655
638
  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>;
639
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoSidenavModule, never>;
640
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoSidenavModule, never, [typeof SidenavComponent], [typeof SidenavComponent]>;
641
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoSidenavModule>;
659
642
  }
660
643
 
661
644
  /**
@@ -663,9 +646,9 @@ declare class IgoSidenavModule {
663
646
  */
664
647
  declare class IgoContextModule {
665
648
  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>;
649
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoContextModule, never>;
650
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoContextModule, never, never, [typeof IgoContextImportExportModule, typeof IgoContextManagerModule, typeof IgoContextMapButtonModule, typeof IgoShareMapModule, typeof IgoSidenavModule]>;
651
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoContextModule>;
669
652
  }
670
653
 
671
654
  declare class ExportError extends Error {
@@ -699,8 +682,8 @@ declare class ContextExportService {
699
682
  export(res: DetailedContext): Observable<void>;
700
683
  protected exportAsync(res: DetailedContext): Observable<void>;
701
684
  protected nothingToExport(res: DetailedContext): boolean;
702
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextExportService, never>;
703
- static ɵprov: i0.ɵɵInjectableDeclaration<ContextExportService>;
685
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContextExportService, never>;
686
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<ContextExportService>;
704
687
  }
705
688
 
706
689
  declare class ContextImportService {
@@ -714,8 +697,8 @@ declare class ContextImportService {
714
697
  private importAsync;
715
698
  private importFile;
716
699
  private parseContextFromFile;
717
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextImportService, never>;
718
- static ɵprov: i0.ɵɵInjectableDeclaration<ContextImportService>;
700
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContextImportService, never>;
701
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<ContextImportService>;
719
702
  }
720
703
 
721
704
  interface ContextExportOptions {
@@ -744,8 +727,8 @@ declare const CONTEXT_MANAGER_DIRECTIVES: readonly [typeof ContextListComponent,
744
727
  declare class PoiDialogComponent {
745
728
  dialogRef: MatDialogRef<PoiDialogComponent, any>;
746
729
  title: string;
747
- static ɵfac: i0.ɵɵFactoryDeclaration<PoiDialogComponent, never>;
748
- static ɵcmp: i0.ɵɵComponentDeclaration<PoiDialogComponent, "igo-poi-dialog", never, {}, {}, never, never, true, never>;
730
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoiDialogComponent, never>;
731
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoiDialogComponent, "igo-poi-dialog", never, {}, {}, never, never, true, never>;
749
732
  }
750
733
 
751
734
  declare class PoiService {
@@ -756,20 +739,20 @@ declare class PoiService {
756
739
  get(): Observable<Poi[]>;
757
740
  delete(id: string): Observable<void>;
758
741
  create(context: Poi): Observable<Poi>;
759
- static ɵfac: i0.ɵɵFactoryDeclaration<PoiService, never>;
760
- static ɵprov: i0.ɵɵInjectableDeclaration<PoiService>;
742
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoiService, never>;
743
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<PoiService>;
761
744
  }
762
745
 
763
746
  declare class UserDialogComponent {
764
747
  dialogRef: MatDialogRef<UserDialogComponent, any>;
765
748
  private auth;
766
749
  private storageService;
767
- user: any;
768
- exp: any;
750
+ user?: User;
751
+ exp?: string;
769
752
  constructor();
770
753
  clearPreferences(): void;
771
- static ɵfac: i0.ɵɵFactoryDeclaration<UserDialogComponent, never>;
772
- static ɵcmp: i0.ɵɵComponentDeclaration<UserDialogComponent, "igo-user-dialog", never, {}, {}, never, never, true, never>;
754
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserDialogComponent, never>;
755
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserDialogComponent, "igo-user-dialog", never, {}, {}, never, never, true, never>;
773
756
  }
774
757
 
775
758
  declare const CONTEXT_MAP_BUTTON_DIRECTIVES: readonly [typeof BookmarkButtonComponent, typeof BookmarkDialogComponent, typeof PoiButtonComponent, typeof UserButtonComponent];
@@ -811,7 +794,7 @@ type DefinitionParams<T extends string = string> = Record<T, BaseKeyParams | und
811
794
  interface BaseKeyParams {
812
795
  key: string;
813
796
  parse?: (value: string) => unknown;
814
- stringify?: (value: unknown) => string;
797
+ stringify?: (value: any) => string;
815
798
  }
816
799
  interface PositionParams {
817
800
  center?: [number, number];
@@ -872,16 +855,16 @@ declare class ShareMapService {
872
855
  sanitizeBaseUrl(baseUrl: string): string;
873
856
  getContext(params: Params): string | undefined;
874
857
  getZoom(params: Params): number | undefined;
875
- getUrlWithApi(formValues: any): string;
858
+ getUrlWithApi(formValues: Record<string, string>): string;
876
859
  hasPositionParams(params: Params): boolean;
877
- static ɵfac: i0.ɵɵFactoryDeclaration<ShareMapService, never>;
878
- static ɵprov: i0.ɵɵInjectableDeclaration<ShareMapService>;
860
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShareMapService, never>;
861
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<ShareMapService>;
879
862
  }
880
863
 
881
864
  declare class ShareMapLegacyParser {
882
865
  private options;
883
866
  constructor(options: RouteServiceOptions);
884
- parseUrl(params: Params): LayerOptions[] | undefined;
867
+ parseUrl(params: Params): LayerOptions[];
885
868
  parsePosition(params: Params): PositionParams;
886
869
  private readLayersQueryParamsByType;
887
870
  private getQueryKeyByType;
@@ -893,7 +876,7 @@ declare class ShareMapLegacyParser {
893
876
  private computeLayerVisibilityFromUrl;
894
877
  }
895
878
 
896
- declare function buildDataSourceOptions(type: ServiceType, url: string, layers: string[], version: string): AnyDataSourceOptions;
879
+ declare function buildDataSourceOptions(type: ServiceType, url: string, layers: string[], version?: string): AnyDataSourceOptions;
897
880
  declare function getFlattenOptions(options: AnyLayerOptions[]): AnyLayerOptions[];
898
881
  /**
899
882
  * Checks if the provided query parameters contain legacy parameter pairs