@igo2/context 1.12.1 → 1.13.0-alpha.0
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/{esm2015/igo2-context.js → esm2020/igo2-context.mjs} +0 -0
- package/esm2020/lib/context-import-export/context-import-export/context-import-export.component.mjs +229 -0
- package/{esm2015/lib/context-import-export/context-import-export.module.js → esm2020/lib/context-import-export/context-import-export.module.mjs} +16 -18
- package/{esm2015/lib/context-import-export/index.js → esm2020/lib/context-import-export/index.mjs} +1 -1
- package/{esm2015/lib/context-import-export/shared/context-export.errors.js → esm2020/lib/context-import-export/shared/context-export.errors.mjs} +1 -1
- package/{esm2015/lib/context-import-export/shared/context-export.interface.js → esm2020/lib/context-import-export/shared/context-export.interface.mjs} +1 -1
- package/{esm2015/lib/context-import-export/shared/context-export.service.js → esm2020/lib/context-import-export/shared/context-export.service.mjs} +1 -1
- package/{esm2015/lib/context-import-export/shared/context-export.utils.js → esm2020/lib/context-import-export/shared/context-export.utils.mjs} +1 -1
- package/{esm2015/lib/context-import-export/shared/context-import.errors.js → esm2020/lib/context-import-export/shared/context-import.errors.mjs} +1 -1
- package/{esm2015/lib/context-import-export/shared/context-import.service.js → esm2020/lib/context-import-export/shared/context-import.service.mjs} +1 -1
- package/{esm2015/lib/context-import-export/shared/context-import.utils.js → esm2020/lib/context-import-export/shared/context-import.utils.mjs} +1 -1
- package/{esm2015/lib/context-import-export/shared/index.js → esm2020/lib/context-import-export/shared/index.mjs} +1 -1
- package/{esm2015/lib/context-manager/context-edit/context-edit-binding.directive.js → esm2020/lib/context-manager/context-edit/context-edit-binding.directive.mjs} +1 -1
- package/{esm2015/lib/context-manager/context-edit/context-edit.component.js → esm2020/lib/context-manager/context-edit/context-edit.component.mjs} +4 -7
- package/{esm2015/lib/context-manager/context-edit/index.js → esm2020/lib/context-manager/context-edit/index.mjs} +1 -1
- package/esm2020/lib/context-manager/context-form/context-form.component.mjs +147 -0
- package/{esm2015/lib/context-manager/context-form/index.js → esm2020/lib/context-manager/context-form/index.mjs} +1 -1
- package/esm2020/lib/context-manager/context-item/context-item.component.mjs +245 -0
- package/{esm2015/lib/context-manager/context-item/index.js → esm2020/lib/context-manager/context-item/index.mjs} +1 -1
- package/{esm2015/lib/context-manager/context-list/context-list-binding.directive.js → esm2020/lib/context-manager/context-list/context-list-binding.directive.mjs} +1 -1
- package/esm2020/lib/context-manager/context-list/context-list.component.mjs +592 -0
- package/{esm2015/lib/context-manager/context-list/context-list.enum.js → esm2020/lib/context-manager/context-list/context-list.enum.mjs} +1 -1
- package/{esm2015/lib/context-manager/context-list/index.js → esm2020/lib/context-manager/context-list/index.mjs} +1 -1
- package/{esm2015/lib/context-manager/context-manager.module.js → esm2020/lib/context-manager/context-manager.module.mjs} +25 -27
- package/{esm2015/lib/context-manager/context-permissions/context-permissions-binding.directive.js → esm2020/lib/context-manager/context-permissions/context-permissions-binding.directive.mjs} +1 -1
- package/esm2020/lib/context-manager/context-permissions/context-permissions.component.mjs +306 -0
- package/{esm2015/lib/context-manager/context-permissions/index.js → esm2020/lib/context-manager/context-permissions/index.mjs} +1 -1
- package/{esm2015/lib/context-manager/index.js → esm2020/lib/context-manager/index.mjs} +1 -1
- package/{esm2015/lib/context-manager/shared/context.enum.js → esm2020/lib/context-manager/shared/context.enum.mjs} +1 -1
- package/esm2020/lib/context-manager/shared/context.interface.mjs +2 -0
- package/{esm2015/lib/context-manager/shared/context.service.js → esm2020/lib/context-manager/shared/context.service.mjs} +1 -1
- package/{esm2015/lib/context-manager/shared/index.js → esm2020/lib/context-manager/shared/index.mjs} +1 -1
- package/{esm2015/lib/context-manager/shared/layer-context.directive.js → esm2020/lib/context-manager/shared/layer-context.directive.mjs} +1 -1
- package/{esm2015/lib/context-manager/shared/map-context.directive.js → esm2020/lib/context-manager/shared/map-context.directive.mjs} +1 -1
- package/{esm2015/lib/context-map-button/bookmark-button/bookmark-button.component.js → esm2020/lib/context-map-button/bookmark-button/bookmark-button.component.mjs} +8 -14
- package/esm2020/lib/context-map-button/bookmark-button/bookmark-dialog.component.mjs +50 -0
- package/{esm2015/lib/context-map-button/bookmark-button/index.js → esm2020/lib/context-map-button/bookmark-button/index.mjs} +1 -1
- package/{esm2015/lib/context-map-button/context-map-button.module.js → esm2020/lib/context-map-button/context-map-button.module.mjs} +15 -17
- package/{esm2015/lib/context-map-button/index.js → esm2020/lib/context-map-button/index.mjs} +1 -1
- package/{esm2015/lib/context-map-button/poi-button/index.js → esm2020/lib/context-map-button/poi-button/index.mjs} +1 -1
- package/esm2020/lib/context-map-button/poi-button/poi-button.component.mjs +171 -0
- package/esm2020/lib/context-map-button/poi-button/poi-dialog.component.mjs +50 -0
- package/{esm2015/lib/context-map-button/poi-button/shared/index.js → esm2020/lib/context-map-button/poi-button/shared/index.mjs} +1 -1
- package/{esm2015/lib/context-map-button/poi-button/shared/poi.interface.js → esm2020/lib/context-map-button/poi-button/shared/poi.interface.mjs} +1 -1
- package/{esm2015/lib/context-map-button/poi-button/shared/poi.service.js → esm2020/lib/context-map-button/poi-button/shared/poi.service.mjs} +1 -1
- package/{esm2015/lib/context-map-button/user-button/index.js → esm2020/lib/context-map-button/user-button/index.mjs} +1 -1
- package/{esm2015/lib/context-map-button/user-button/user-button.animation.js → esm2020/lib/context-map-button/user-button/user-button.animation.mjs} +1 -1
- package/esm2020/lib/context-map-button/user-button/user-button.component.mjs +104 -0
- package/{esm2015/lib/context-map-button/user-button/user-dialog.component.js → esm2020/lib/context-map-button/user-button/user-dialog.component.mjs} +6 -12
- package/{esm2015/lib/context.module.js → esm2020/lib/context.module.mjs} +2 -2
- package/{esm2015/lib/share-map/index.js → esm2020/lib/share-map/index.mjs} +1 -1
- package/esm2020/lib/share-map/share-map/share-map-api.component.mjs +181 -0
- package/{esm2015/lib/share-map/share-map/share-map-url.component.js → esm2020/lib/share-map/share-map/share-map-url.component.mjs} +13 -23
- package/esm2020/lib/share-map/share-map/share-map.component.mjs +57 -0
- package/{esm2015/lib/share-map/share-map.module.js → esm2020/lib/share-map/share-map.module.mjs} +11 -13
- package/{esm2015/lib/share-map/shared/index.js → esm2020/lib/share-map/shared/index.mjs} +1 -1
- package/esm2020/lib/share-map/shared/share-map.service.mjs +201 -0
- package/{esm2015/lib/sidenav/index.js → esm2020/lib/sidenav/index.mjs} +1 -1
- package/esm2020/lib/sidenav/sidenav.component.mjs +170 -0
- package/{esm2015/lib/sidenav/sidenav.module.js → esm2020/lib/sidenav/sidenav.module.mjs} +11 -13
- package/{esm2015/public_api.js → esm2020/public_api.mjs} +1 -1
- package/fesm2015/igo2-context.mjs +5143 -0
- package/fesm2015/igo2-context.mjs.map +1 -0
- package/{fesm2015/igo2-context.js → fesm2020/igo2-context.mjs} +426 -595
- package/fesm2020/igo2-context.mjs.map +1 -0
- package/{igo2-context.d.ts → index.d.ts} +0 -0
- package/lib/context-import-export/context-import-export/context-import-export.component.d.ts +4 -4
- package/lib/context-manager/context-edit/context-edit-binding.directive.d.ts +1 -1
- package/lib/context-manager/context-edit/context-edit.component.d.ts +1 -1
- package/lib/context-manager/context-form/context-form.component.d.ts +4 -4
- package/lib/context-manager/context-item/context-item.component.d.ts +1 -1
- package/lib/context-manager/context-list/context-list-binding.directive.d.ts +1 -1
- package/lib/context-manager/context-list/context-list.component.d.ts +1 -1
- package/lib/context-manager/context-permissions/context-permissions-binding.directive.d.ts +1 -1
- package/lib/context-manager/context-permissions/context-permissions.component.d.ts +5 -5
- package/lib/context-manager/shared/layer-context.directive.d.ts +1 -1
- package/lib/context-manager/shared/map-context.directive.d.ts +1 -1
- package/lib/context-map-button/bookmark-button/bookmark-button.component.d.ts +1 -1
- package/lib/context-map-button/bookmark-button/bookmark-dialog.component.d.ts +1 -1
- package/lib/context-map-button/poi-button/poi-button.component.d.ts +1 -1
- package/lib/context-map-button/poi-button/poi-dialog.component.d.ts +1 -1
- package/lib/context-map-button/user-button/user-button.component.d.ts +1 -1
- package/lib/context-map-button/user-button/user-dialog.component.d.ts +1 -1
- package/lib/share-map/share-map/share-map-api.component.d.ts +4 -4
- package/lib/share-map/share-map/share-map-url.component.d.ts +1 -1
- package/lib/share-map/share-map/share-map.component.d.ts +1 -1
- package/lib/sidenav/sidenav.component.d.ts +1 -1
- package/ngcc.config.js +3 -3
- package/package.json +31 -18
- package/bundles/igo2-context.umd.js +0 -6093
- package/bundles/igo2-context.umd.js.map +0 -1
- package/esm2015/lib/context-import-export/context-import-export/context-import-export.component.js +0 -257
- package/esm2015/lib/context-manager/context-form/context-form.component.js +0 -156
- package/esm2015/lib/context-manager/context-item/context-item.component.js +0 -251
- package/esm2015/lib/context-manager/context-list/context-list.component.js +0 -602
- package/esm2015/lib/context-manager/context-permissions/context-permissions.component.js +0 -323
- package/esm2015/lib/context-manager/shared/context.interface.js +0 -2
- package/esm2015/lib/context-map-button/bookmark-button/bookmark-dialog.component.js +0 -59
- package/esm2015/lib/context-map-button/poi-button/poi-button.component.js +0 -177
- package/esm2015/lib/context-map-button/poi-button/poi-dialog.component.js +0 -59
- package/esm2015/lib/context-map-button/user-button/user-button.component.js +0 -112
- package/esm2015/lib/share-map/share-map/share-map-api.component.js +0 -194
- package/esm2015/lib/share-map/share-map/share-map.component.js +0 -63
- package/esm2015/lib/share-map/shared/share-map.service.js +0 -201
- package/esm2015/lib/sidenav/sidenav.component.js +0 -183
- package/fesm2015/igo2-context.js.map +0 -1
|
File without changes
|
package/lib/context-import-export/context-import-export/context-import-export.component.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
4
|
import { MessageService, LanguageService, ConfigService } from '@igo2/core';
|
|
5
5
|
import { Layer, VectorLayer } from '@igo2/geo';
|
|
@@ -17,7 +17,7 @@ export declare class ContextImportExportComponent implements OnInit {
|
|
|
17
17
|
private formBuilder;
|
|
18
18
|
private config;
|
|
19
19
|
private contextService;
|
|
20
|
-
form:
|
|
20
|
+
form: UntypedFormGroup;
|
|
21
21
|
layers: VectorLayer[];
|
|
22
22
|
inputProj: string;
|
|
23
23
|
loading$: BehaviorSubject<boolean>;
|
|
@@ -29,7 +29,7 @@ export declare class ContextImportExportComponent implements OnInit {
|
|
|
29
29
|
fileSizeMb: number;
|
|
30
30
|
activeImportExport: string;
|
|
31
31
|
map: IgoMap;
|
|
32
|
-
constructor(contextImportService: ContextImportService, contextExportService: ContextExportService, languageService: LanguageService, messageService: MessageService, formBuilder:
|
|
32
|
+
constructor(contextImportService: ContextImportService, contextExportService: ContextExportService, languageService: LanguageService, messageService: MessageService, formBuilder: UntypedFormBuilder, config: ConfigService, contextService: ContextService);
|
|
33
33
|
ngOnInit(): void;
|
|
34
34
|
importFiles(files: File[]): void;
|
|
35
35
|
handleExportFormSubmit(contextOptions: any): void;
|
|
@@ -41,5 +41,5 @@ export declare class ContextImportExportComponent implements OnInit {
|
|
|
41
41
|
selectAll(e: any): void;
|
|
42
42
|
onImportExportChange(event: any): void;
|
|
43
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContextImportExportComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContextImportExportComponent, "igo-context-import-export", never, { "map": "map"; }, {}, never, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContextImportExportComponent, "igo-context-import-export", never, { "map": "map"; }, {}, never, never, false>;
|
|
45
45
|
}
|
|
@@ -17,5 +17,5 @@ export declare class ContextEditBindingDirective implements OnInit, OnDestroy {
|
|
|
17
17
|
ngOnDestroy(): void;
|
|
18
18
|
private handleEditedContextChange;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContextEditBindingDirective, [{ self: true; }, null, null, null]>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextEditBindingDirective, "[igoContextEditBinding]", never, {}, { "submitSuccessed": "submitSuccessed"; }, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextEditBindingDirective, "[igoContextEditBinding]", never, {}, { "submitSuccessed": "submitSuccessed"; }, never, never, false>;
|
|
21
21
|
}
|
|
@@ -10,5 +10,5 @@ export declare class ContextEditComponent {
|
|
|
10
10
|
constructor(cd: ChangeDetectorRef);
|
|
11
11
|
refresh(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContextEditComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContextEditComponent, "igo-context-edit", never, { "context": "context"; }, { "submitForm": "submitForm"; }, never, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContextEditComponent, "igo-context-edit", never, { "context": "context"; }, { "submitForm": "submitForm"; }, never, never, false>;
|
|
14
14
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { MessageService, LanguageService } from '@igo2/core';
|
|
4
4
|
import { Context } from '../shared/context.interface';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -7,7 +7,7 @@ export declare class ContextFormComponent implements OnInit {
|
|
|
7
7
|
private formBuilder;
|
|
8
8
|
private languageService;
|
|
9
9
|
private messageService;
|
|
10
|
-
form:
|
|
10
|
+
form: UntypedFormGroup;
|
|
11
11
|
prefix: string;
|
|
12
12
|
get btnSubmitText(): string;
|
|
13
13
|
set btnSubmitText(value: string);
|
|
@@ -21,11 +21,11 @@ export declare class ContextFormComponent implements OnInit {
|
|
|
21
21
|
submitForm: EventEmitter<any>;
|
|
22
22
|
clone: EventEmitter<any>;
|
|
23
23
|
delete: EventEmitter<any>;
|
|
24
|
-
constructor(formBuilder:
|
|
24
|
+
constructor(formBuilder: UntypedFormBuilder, languageService: LanguageService, messageService: MessageService);
|
|
25
25
|
ngOnInit(): void;
|
|
26
26
|
handleFormSubmit(value: any): void;
|
|
27
27
|
copyTextToClipboard(): void;
|
|
28
28
|
private buildForm;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContextFormComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContextFormComponent, "igo-context-form", never, { "btnSubmitText": "btnSubmitText"; "context": "context"; "disabled": "disabled"; }, { "submitForm": "submitForm"; "clone": "clone"; "delete": "delete"; }, never, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContextFormComponent, "igo-context-form", never, { "btnSubmitText": "btnSubmitText"; "context": "context"; "disabled": "disabled"; }, { "submitForm": "submitForm"; "clone": "clone"; "delete": "delete"; }, never, never, false>;
|
|
31
31
|
}
|
|
@@ -28,5 +28,5 @@ export declare class ContextItemComponent {
|
|
|
28
28
|
constructor(auth: AuthService, storageService: StorageService);
|
|
29
29
|
favoriteClick(context: DetailedContext): void;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContextItemComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContextItemComponent, "igo-context-item", never, { "showFavorite": "showFavorite"; "context": "context"; "default": "default"; "selected": "selected"; }, { "edit": "edit"; "delete": "delete"; "save": "save"; "clone": "clone"; "hide": "hide"; "show": "show"; "favorite": "favorite"; "managePermissions": "managePermissions"; "manageTools": "manageTools"; }, never, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContextItemComponent, "igo-context-item", never, { "showFavorite": "showFavorite"; "context": "context"; "default": "default"; "selected": "selected"; }, { "edit": "edit"; "delete": "delete"; "save": "save"; "clone": "clone"; "hide": "hide"; "show": "show"; "favorite": "favorite"; "managePermissions": "managePermissions"; "manageTools": "manageTools"; }, never, never, false>;
|
|
32
32
|
}
|
|
@@ -42,5 +42,5 @@ export declare class ContextListBindingDirective implements OnInit, OnDestroy {
|
|
|
42
42
|
ngOnDestroy(): void;
|
|
43
43
|
private handleContextsChange;
|
|
44
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContextListBindingDirective, [{ self: true; }, null, null, null, null, null, null, null, null]>;
|
|
45
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextListBindingDirective, "[igoContextListBinding]", never, {}, {}, never>;
|
|
45
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextListBindingDirective, "[igoContextListBinding]", never, {}, {}, never, never, false>;
|
|
46
46
|
}
|
|
@@ -91,5 +91,5 @@ export declare class ContextListComponent implements OnInit, OnDestroy {
|
|
|
91
91
|
hideContext(context: DetailedContext): void;
|
|
92
92
|
showContext(context: DetailedContext): void;
|
|
93
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContextListComponent, never>;
|
|
94
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContextListComponent, "igo-context-list", never, { "contexts": "contexts"; "selectedContext": "selectedContext"; "map": "map"; "defaultContextId": "defaultContextId"; "term": "term"; }, { "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>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContextListComponent, "igo-context-list", never, { "contexts": "contexts"; "selectedContext": "selectedContext"; "map": "map"; "defaultContextId": "defaultContextId"; "term": "term"; }, { "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, false>;
|
|
95
95
|
}
|
|
@@ -19,5 +19,5 @@ export declare class ContextPermissionsBindingDirective implements OnInit, OnDes
|
|
|
19
19
|
ngOnDestroy(): void;
|
|
20
20
|
private handleEditedContextChange;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContextPermissionsBindingDirective, [{ self: true; }, null, null, null, null]>;
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextPermissionsBindingDirective, "[igoContextPermissionsBinding]", never, {}, {}, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextPermissionsBindingDirective, "[igoContextPermissionsBinding]", never, {}, {}, never, never, false>;
|
|
23
23
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup, UntypedFormControl } from '@angular/forms';
|
|
3
3
|
import { Context, ContextPermission, ContextPermissionsList, ContextProfils } from '../shared/context.interface';
|
|
4
4
|
import { HttpClient } from '@angular/common/http';
|
|
5
5
|
import { Subscription } from 'rxjs';
|
|
@@ -12,7 +12,7 @@ export declare class ContextPermissionsComponent implements OnInit {
|
|
|
12
12
|
private http;
|
|
13
13
|
authService: AuthService;
|
|
14
14
|
private config;
|
|
15
|
-
form:
|
|
15
|
+
form: UntypedFormGroup;
|
|
16
16
|
get context(): Context;
|
|
17
17
|
set context(value: Context);
|
|
18
18
|
private _context;
|
|
@@ -24,17 +24,17 @@ export declare class ContextPermissionsComponent implements OnInit {
|
|
|
24
24
|
private _profils;
|
|
25
25
|
get canWrite(): boolean;
|
|
26
26
|
private baseUrlProfils;
|
|
27
|
-
formControl:
|
|
27
|
+
formControl: UntypedFormControl;
|
|
28
28
|
formValueChanges$$: Subscription;
|
|
29
29
|
addPermission: EventEmitter<ContextPermission>;
|
|
30
30
|
removePermission: EventEmitter<ContextPermission>;
|
|
31
31
|
scopeChanged: EventEmitter<Context>;
|
|
32
|
-
constructor(formBuilder:
|
|
32
|
+
constructor(formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, http: HttpClient, authService: AuthService, config: ConfigService);
|
|
33
33
|
ngOnInit(): void;
|
|
34
34
|
displayFn(profil?: ContextProfils): string | undefined;
|
|
35
35
|
handleFormSubmit(value: any): void;
|
|
36
36
|
private buildForm;
|
|
37
37
|
onProfilSelected(value: any): void;
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContextPermissionsComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContextPermissionsComponent, "igo-context-permissions", never, { "context": "context"; "permissions": "permissions"; }, { "addPermission": "addPermission"; "removePermission": "removePermission"; "scopeChanged": "scopeChanged"; }, never, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContextPermissionsComponent, "igo-context-permissions", never, { "context": "context"; "permissions": "permissions"; }, { "addPermission": "addPermission"; "removePermission": "removePermission"; "scopeChanged": "scopeChanged"; }, never, never, false>;
|
|
40
40
|
}
|
|
@@ -23,5 +23,5 @@ export declare class LayerContextDirective implements OnInit, OnDestroy {
|
|
|
23
23
|
private handleContextChange;
|
|
24
24
|
private computeLayerVisibilityFromUrl;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<LayerContextDirective, [null, null, null, null, null, null, { optional: true; }]>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LayerContextDirective, "[igoLayerContext]", never, { "removeLayersOnContextChange": "removeLayersOnContextChange"; }, {}, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LayerContextDirective, "[igoLayerContext]", never, { "removeLayersOnContextChange": "removeLayersOnContextChange"; }, {}, never, never, false>;
|
|
27
27
|
}
|
|
@@ -15,5 +15,5 @@ export declare class MapContextDirective implements OnInit, OnDestroy {
|
|
|
15
15
|
ngOnDestroy(): void;
|
|
16
16
|
private handleContextChange;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapContextDirective, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MapContextDirective, "[igoMapContext]", never, {}, {}, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MapContextDirective, "[igoMapContext]", never, {}, {}, never, never, false>;
|
|
19
19
|
}
|
|
@@ -17,5 +17,5 @@ export declare class BookmarkButtonComponent {
|
|
|
17
17
|
constructor(dialog: MatDialog, contextService: ContextService, languageService: LanguageService, messageService: MessageService);
|
|
18
18
|
createContext(): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<BookmarkButtonComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BookmarkButtonComponent, "igo-bookmark-button", never, { "map": "map"; "color": "color"; }, {}, never, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BookmarkButtonComponent, "igo-bookmark-button", never, { "map": "map"; "color": "color"; }, {}, never, never, false>;
|
|
21
21
|
}
|
|
@@ -5,5 +5,5 @@ export declare class BookmarkDialogComponent {
|
|
|
5
5
|
title: string;
|
|
6
6
|
constructor(dialogRef: MatDialogRef<BookmarkDialogComponent>);
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<BookmarkDialogComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BookmarkDialogComponent, "igo-bookmark-dialog", never, {}, {}, never, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BookmarkDialogComponent, "igo-bookmark-dialog", never, {}, {}, never, never, false>;
|
|
9
9
|
}
|
|
@@ -30,5 +30,5 @@ export declare class PoiButtonComponent implements OnInit, OnDestroy {
|
|
|
30
30
|
createPoi(): void;
|
|
31
31
|
zoomOnPoi(id: any): void;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoiButtonComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoiButtonComponent, "igo-poi-button", never, { "map": "map"; "color": "color"; }, {}, never, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoiButtonComponent, "igo-poi-button", never, { "map": "map"; "color": "color"; }, {}, never, never, false>;
|
|
34
34
|
}
|
|
@@ -5,5 +5,5 @@ export declare class PoiDialogComponent {
|
|
|
5
5
|
title: string;
|
|
6
6
|
constructor(dialogRef: MatDialogRef<PoiDialogComponent>);
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoiDialogComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoiDialogComponent, "igo-poi-dialog", never, {}, {}, never, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoiDialogComponent, "igo-poi-dialog", never, {}, {}, never, never, false>;
|
|
9
9
|
}
|
|
@@ -21,5 +21,5 @@ export declare class UserButtonComponent {
|
|
|
21
21
|
logout(): void;
|
|
22
22
|
infoUser(): void;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserButtonComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserButtonComponent, "igo-user-button", never, { "map": "map"; "color": "color"; }, {}, never, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserButtonComponent, "igo-user-button", never, { "map": "map"; "color": "color"; }, {}, never, never, false>;
|
|
25
25
|
}
|
|
@@ -11,5 +11,5 @@ export declare class UserDialogComponent {
|
|
|
11
11
|
constructor(dialogRef: MatDialogRef<UserDialogComponent>, auth: AuthService, storageService: StorageService);
|
|
12
12
|
clearPreferences(): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserDialogComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserDialogComponent, "igo-user-dialog", never, {}, {}, never, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserDialogComponent, "igo-user-dialog", never, {}, {}, never, never, false>;
|
|
15
15
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { MessageService, LanguageService } from '@igo2/core';
|
|
4
4
|
import { AuthService } from '@igo2/auth';
|
|
5
5
|
import type { IgoMap } from '@igo2/geo';
|
|
@@ -11,17 +11,17 @@ export declare class ShareMapApiComponent implements OnInit {
|
|
|
11
11
|
private auth;
|
|
12
12
|
private shareMapService;
|
|
13
13
|
private formBuilder;
|
|
14
|
-
form:
|
|
14
|
+
form: UntypedFormGroup;
|
|
15
15
|
map: IgoMap;
|
|
16
16
|
url: string;
|
|
17
17
|
userId: string;
|
|
18
18
|
idContextShared: string;
|
|
19
|
-
constructor(languageService: LanguageService, messageService: MessageService, auth: AuthService, shareMapService: ShareMapService, formBuilder:
|
|
19
|
+
constructor(languageService: LanguageService, messageService: MessageService, auth: AuthService, shareMapService: ShareMapService, formBuilder: UntypedFormBuilder);
|
|
20
20
|
ngOnInit(): void;
|
|
21
21
|
createUrl(values?: any): void;
|
|
22
22
|
updateContextShared(values?: any): void;
|
|
23
23
|
copyTextToClipboard(textArea: any): void;
|
|
24
24
|
buildForm(): void;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShareMapApiComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ShareMapApiComponent, "igo-share-map-api", never, { "map": "map"; }, {}, never, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShareMapApiComponent, "igo-share-map-api", never, { "map": "map"; }, {}, never, never, false>;
|
|
27
27
|
}
|
|
@@ -23,5 +23,5 @@ export declare class ShareMapUrlComponent implements AfterViewInit, OnInit, OnDe
|
|
|
23
23
|
resetUrl(values?: any): void;
|
|
24
24
|
copyTextToClipboard(textArea: any): void;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShareMapUrlComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ShareMapUrlComponent, "igo-share-map-url", never, { "map": "map"; }, {}, never, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShareMapUrlComponent, "igo-share-map-url", never, { "map": "map"; }, {}, never, never, false>;
|
|
27
27
|
}
|
|
@@ -7,5 +7,5 @@ export declare class ShareMapComponent {
|
|
|
7
7
|
hasApi: boolean;
|
|
8
8
|
constructor(config: ConfigService);
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShareMapComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ShareMapComponent, "igo-share-map", never, { "map": "map"; }, {}, never, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShareMapComponent, "igo-share-map", never, { "map": "map"; }, {}, never, never, false>;
|
|
11
11
|
}
|
|
@@ -31,5 +31,5 @@ export declare class SidenavComponent {
|
|
|
31
31
|
zoomToFeatureExtent(): void;
|
|
32
32
|
toggleTopPanel(): void;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidenavComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SidenavComponent, "igo-sidenav", never, { "map": "map"; "opened": "opened"; "feature": "feature"; "tool": "tool"; "media": "media"; "title": "title"; }, {}, never, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidenavComponent, "igo-sidenav", never, { "map": "map"; "opened": "opened"; "feature": "feature"; "tool": "tool"; "media": "media"; "title": "title"; }, {}, never, never, false>;
|
|
35
35
|
}
|
package/ngcc.config.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
ignorableDeepImportMatchers: [/ol\//]
|
|
3
|
-
};
|
|
1
|
+
module.exports = {
|
|
2
|
+
ignorableDeepImportMatchers: [/ol\//]
|
|
3
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igo2/context",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0-alpha.0",
|
|
4
4
|
"description": "IGO Library",
|
|
5
5
|
"author": "MSP",
|
|
6
6
|
"keywords": [
|
|
@@ -16,28 +16,41 @@
|
|
|
16
16
|
"url": "https://github.com/infra-geo-ouverte/igo2-lib/issues"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@angular/animations": "^
|
|
20
|
-
"@angular/common": "^
|
|
21
|
-
"@angular/core": "^
|
|
22
|
-
"@angular/forms": "^
|
|
23
|
-
"@angular/material": "^
|
|
24
|
-
"@igo2/auth": "^1.
|
|
25
|
-
"@igo2/common": "^1.
|
|
26
|
-
"@igo2/core": "^1.
|
|
27
|
-
"@igo2/utils": "^1.
|
|
28
|
-
"@igo2/geo": "^1.
|
|
29
|
-
"ol": "
|
|
19
|
+
"@angular/animations": "^14.0.6",
|
|
20
|
+
"@angular/common": "^14.0.6",
|
|
21
|
+
"@angular/core": "^14.0.6",
|
|
22
|
+
"@angular/forms": "^14.0.6",
|
|
23
|
+
"@angular/material": "^14.0.5",
|
|
24
|
+
"@igo2/auth": "^1.13.0-alpha.0",
|
|
25
|
+
"@igo2/common": "^1.13.0-alpha.0",
|
|
26
|
+
"@igo2/core": "^1.13.0-alpha.0",
|
|
27
|
+
"@igo2/utils": "^1.13.0-alpha.0",
|
|
28
|
+
"@igo2/geo": "^1.13.0-alpha.0",
|
|
29
|
+
"ol": "~6.14.1",
|
|
30
30
|
"rxjs": "^6.6.7"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"tslib": "^2.0.0"
|
|
34
34
|
},
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"fesm2015": "fesm2015/igo2-context.
|
|
40
|
-
"typings": "
|
|
35
|
+
"module": "fesm2015/igo2-context.mjs",
|
|
36
|
+
"es2020": "fesm2020/igo2-context.mjs",
|
|
37
|
+
"esm2020": "esm2020/igo2-context.mjs",
|
|
38
|
+
"fesm2020": "fesm2020/igo2-context.mjs",
|
|
39
|
+
"fesm2015": "fesm2015/igo2-context.mjs",
|
|
40
|
+
"typings": "index.d.ts",
|
|
41
|
+
"exports": {
|
|
42
|
+
"./package.json": {
|
|
43
|
+
"default": "./package.json"
|
|
44
|
+
},
|
|
45
|
+
".": {
|
|
46
|
+
"types": "./index.d.ts",
|
|
47
|
+
"esm2020": "./esm2020/igo2-context.mjs",
|
|
48
|
+
"es2020": "./fesm2020/igo2-context.mjs",
|
|
49
|
+
"es2015": "./fesm2015/igo2-context.mjs",
|
|
50
|
+
"node": "./fesm2015/igo2-context.mjs",
|
|
51
|
+
"default": "./fesm2020/igo2-context.mjs"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
41
54
|
"sideEffects": false,
|
|
42
55
|
"scripts": {
|
|
43
56
|
|