@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.
- package/fesm2022/igo2-context.mjs +267 -310
- package/fesm2022/igo2-context.mjs.map +1 -1
- package/package.json +6 -6
- package/types/igo2-context.d.ts +162 -179
package/types/igo2-context.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import * as
|
|
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:
|
|
119
|
+
readonly map: _angular_core.InputSignal<IgoMap>;
|
|
119
120
|
constructor();
|
|
120
121
|
ngOnInit(): void;
|
|
121
122
|
importFiles(files: File[]): void;
|
|
122
|
-
handleExportFormSubmit(contextOptions:
|
|
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:
|
|
129
|
-
onImportExportChange(event:
|
|
130
|
-
|
|
131
|
-
|
|
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:
|
|
140
|
-
static ɵmod:
|
|
141
|
-
static ɵinj:
|
|
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:
|
|
207
|
-
static ɵprov:
|
|
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:
|
|
222
|
-
readonly contextLayersLoaded:
|
|
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:
|
|
231
|
-
static ɵdir:
|
|
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:
|
|
247
|
-
static ɵdir:
|
|
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:
|
|
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:
|
|
311
|
-
readonly map:
|
|
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:
|
|
322
|
+
contextScope: string;
|
|
317
323
|
}[];
|
|
318
|
-
readonly select:
|
|
319
|
-
readonly unselect:
|
|
320
|
-
readonly edit:
|
|
321
|
-
readonly delete:
|
|
322
|
-
readonly save:
|
|
323
|
-
readonly clone:
|
|
324
|
-
readonly create:
|
|
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:
|
|
329
|
-
readonly show:
|
|
330
|
-
readonly showHiddenContexts:
|
|
331
|
-
readonly favorite:
|
|
332
|
-
readonly managePermissions:
|
|
333
|
-
readonly manageTools:
|
|
334
|
-
readonly filterPermissionsChanged:
|
|
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):
|
|
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?:
|
|
375
|
-
handleToggleCategory(user:
|
|
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:
|
|
396
|
-
static ɵcmp:
|
|
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:
|
|
406
|
-
readonly context:
|
|
407
|
-
readonly default:
|
|
408
|
-
readonly selected:
|
|
409
|
-
readonly isDesktop:
|
|
410
|
-
readonly edit:
|
|
411
|
-
readonly delete:
|
|
412
|
-
readonly save:
|
|
413
|
-
readonly clone:
|
|
414
|
-
readonly hide:
|
|
415
|
-
readonly show:
|
|
416
|
-
readonly favorite:
|
|
417
|
-
readonly managePermissions:
|
|
418
|
-
readonly manageTools:
|
|
419
|
-
readonly share:
|
|
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:
|
|
429
|
+
itemActionsMenuTrigger: _angular_core.Signal<MatMenuTrigger | undefined>;
|
|
424
430
|
favoriteClick(context: DetailedContext): void;
|
|
425
|
-
static ɵfac:
|
|
426
|
-
static ɵcmp:
|
|
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:
|
|
435
|
-
readonly context:
|
|
436
|
-
readonly disabled:
|
|
437
|
-
readonly submitForm:
|
|
438
|
-
readonly clone:
|
|
439
|
-
readonly delete:
|
|
440
|
-
readonly form:
|
|
441
|
-
handleFormSubmit(value:
|
|
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:
|
|
445
|
-
static ɵcmp:
|
|
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:
|
|
452
|
-
readonly submitSuccessed:
|
|
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:
|
|
455
|
-
static ɵcmp:
|
|
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:
|
|
469
|
-
readonly permissions:
|
|
470
|
-
readonly permissionsRead:
|
|
471
|
-
readonly permissionsWrite:
|
|
472
|
-
profils:
|
|
473
|
-
canWrite:
|
|
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
|
|
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:
|
|
487
|
-
static ɵcmp:
|
|
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:
|
|
496
|
-
static ɵmod:
|
|
497
|
-
static ɵinj:
|
|
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
|
-
|
|
505
|
-
|
|
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:
|
|
512
|
-
static ɵcmp:
|
|
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:
|
|
519
|
-
static ɵcmp:
|
|
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
|
-
|
|
539
|
-
|
|
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:
|
|
552
|
-
static ɵfac:
|
|
553
|
-
static ɵcmp:
|
|
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
|
-
|
|
561
|
-
|
|
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:
|
|
574
|
-
static ɵcmp:
|
|
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:
|
|
583
|
-
static ɵmod:
|
|
584
|
-
static ɵinj:
|
|
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:
|
|
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:
|
|
601
|
-
static ɵcmp:
|
|
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:
|
|
606
|
-
static ɵfac:
|
|
607
|
-
static ɵcmp:
|
|
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:
|
|
617
|
-
static ɵmod:
|
|
618
|
-
static ɵinj:
|
|
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
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
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
|
-
|
|
644
|
-
|
|
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:
|
|
648
|
-
static ɵcmp:
|
|
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:
|
|
657
|
-
static ɵmod:
|
|
658
|
-
static ɵinj:
|
|
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:
|
|
667
|
-
static ɵmod:
|
|
668
|
-
static ɵinj:
|
|
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:
|
|
703
|
-
static ɵprov:
|
|
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:
|
|
718
|
-
static ɵprov:
|
|
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:
|
|
748
|
-
static ɵcmp:
|
|
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:
|
|
760
|
-
static ɵprov:
|
|
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
|
|
768
|
-
exp
|
|
750
|
+
user?: User;
|
|
751
|
+
exp?: string;
|
|
769
752
|
constructor();
|
|
770
753
|
clearPreferences(): void;
|
|
771
|
-
static ɵfac:
|
|
772
|
-
static ɵcmp:
|
|
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:
|
|
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:
|
|
858
|
+
getUrlWithApi(formValues: Record<string, string>): string;
|
|
876
859
|
hasPositionParams(params: Params): boolean;
|
|
877
|
-
static ɵfac:
|
|
878
|
-
static ɵprov:
|
|
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[]
|
|
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
|
|
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
|