@igo2/context 1.9.0 → 1.10.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/bundles/igo2-context.umd.js +273 -157
- package/bundles/igo2-context.umd.js.map +1 -1
- package/esm2015/lib/context-import-export/context-import-export/context-import-export.component.js +1 -1
- package/esm2015/lib/context-import-export/context-import-export.module.js +1 -1
- package/esm2015/lib/context-import-export/index.js +1 -1
- package/esm2015/lib/context-import-export/shared/context-export.errors.js +1 -1
- package/esm2015/lib/context-import-export/shared/context-export.interface.js +1 -1
- package/esm2015/lib/context-import-export/shared/context-export.service.js +1 -1
- package/esm2015/lib/context-import-export/shared/context-export.utils.js +1 -1
- package/esm2015/lib/context-import-export/shared/context-import.errors.js +1 -1
- package/esm2015/lib/context-import-export/shared/context-import.service.js +1 -1
- package/esm2015/lib/context-import-export/shared/index.js +1 -1
- package/esm2015/lib/context-manager/context-edit/context-edit-binding.directive.js +1 -1
- package/esm2015/lib/context-manager/context-edit/context-edit.component.js +1 -1
- package/esm2015/lib/context-manager/context-edit/index.js +1 -1
- package/esm2015/lib/context-manager/context-form/context-form.component.js +1 -1
- package/esm2015/lib/context-manager/context-form/index.js +1 -1
- package/esm2015/lib/context-manager/context-item/context-item.component.js +1 -1
- package/esm2015/lib/context-manager/context-item/index.js +1 -1
- package/esm2015/lib/context-manager/context-list/context-list-binding.directive.js +1 -1
- package/esm2015/lib/context-manager/context-list/context-list.component.js +1 -1
- package/esm2015/lib/context-manager/context-list/context-list.enum.js +1 -1
- package/esm2015/lib/context-manager/context-list/index.js +1 -1
- package/esm2015/lib/context-manager/context-manager.module.js +1 -1
- package/esm2015/lib/context-manager/context-permissions/context-permissions-binding.directive.js +1 -1
- package/esm2015/lib/context-manager/context-permissions/context-permissions.component.js +1 -1
- package/esm2015/lib/context-manager/context-permissions/index.js +1 -1
- package/esm2015/lib/context-manager/index.js +1 -1
- package/esm2015/lib/context-manager/shared/context.enum.js +1 -1
- package/esm2015/lib/context-manager/shared/context.service.js +16 -17
- package/esm2015/lib/context-manager/shared/index.js +1 -1
- package/esm2015/lib/context-manager/shared/layer-context.directive.js +1 -1
- package/esm2015/lib/context-map-button/bookmark-button/bookmark-button.component.js +1 -1
- package/esm2015/lib/context-map-button/bookmark-button/bookmark-dialog.component.js +1 -1
- package/esm2015/lib/context-map-button/bookmark-button/index.js +1 -1
- package/esm2015/lib/context-map-button/context-map-button.module.js +1 -1
- package/esm2015/lib/context-map-button/index.js +1 -1
- package/esm2015/lib/context-map-button/poi-button/index.js +1 -1
- package/esm2015/lib/context-map-button/poi-button/poi-button.component.js +1 -1
- package/esm2015/lib/context-map-button/poi-button/poi-dialog.component.js +1 -1
- package/esm2015/lib/context-map-button/poi-button/shared/index.js +1 -1
- package/esm2015/lib/context-map-button/poi-button/shared/poi.interface.js +1 -1
- package/esm2015/lib/context-map-button/user-button/index.js +1 -1
- package/esm2015/lib/context-map-button/user-button/user-button.animation.js +1 -1
- package/esm2015/lib/context-map-button/user-button/user-button.component.js +1 -1
- package/esm2015/lib/context.module.js +1 -1
- package/esm2015/lib/share-map/share-map/share-map-url.component.js +147 -69
- package/esm2015/lib/share-map/shared/index.js +1 -1
- package/esm2015/lib/share-map/shared/share-map.service.js +12 -3
- package/esm2015/lib/sidenav/index.js +1 -1
- package/esm2015/lib/sidenav/sidenav.component.js +1 -1
- package/esm2015/lib/sidenav/sidenav.module.js +1 -1
- package/esm2015/public_api.js +1 -1
- package/fesm2015/igo2-context.js +190 -105
- package/fesm2015/igo2-context.js.map +1 -1
- package/lib/context-manager/shared/context.service.d.ts +2 -3
- package/ngcc.config.js +3 -3
- package/package.json +13 -12
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
3
3
|
import { Tool } from '@igo2/common';
|
|
4
|
-
import { ConfigService, RouteService,
|
|
4
|
+
import { ConfigService, RouteService, MessageService, LanguageService } from '@igo2/core';
|
|
5
5
|
import { AuthService } from '@igo2/auth';
|
|
6
6
|
import type { IgoMap, Layer } from '@igo2/geo';
|
|
7
7
|
import { TypePermission } from './context.enum';
|
|
@@ -23,7 +23,6 @@ export declare class ContextService {
|
|
|
23
23
|
private mapViewFromRoute;
|
|
24
24
|
private options;
|
|
25
25
|
private baseUrl;
|
|
26
|
-
private contextMessage;
|
|
27
26
|
private tools;
|
|
28
27
|
private toolbar;
|
|
29
28
|
get defaultContextUri(): string;
|
|
@@ -45,7 +44,7 @@ export declare class ContextService {
|
|
|
45
44
|
addToolAssociation(contextId: string, toolId: string): Observable<void>;
|
|
46
45
|
deleteToolAssociation(contextId: string, toolId: string): Observable<any>;
|
|
47
46
|
getPermissions(id: string): Observable<ContextPermission[]>;
|
|
48
|
-
addPermissionAssociation(contextId: string, profil: string, type: TypePermission): Observable<ContextPermission[]
|
|
47
|
+
addPermissionAssociation(contextId: string, profil: string, type: TypePermission): Observable<ContextPermission[]>;
|
|
49
48
|
deletePermissionAssociation(contextId: string, permissionId: string): Observable<void>;
|
|
50
49
|
getLocalContexts(): Observable<ContextsList>;
|
|
51
50
|
getLocalContext(uri: string): Observable<DetailedContext>;
|
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.10.0",
|
|
4
4
|
"description": "IGO Library",
|
|
5
5
|
"author": "MSP",
|
|
6
6
|
"keywords": [
|
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
"url": "https://github.com/infra-geo-ouverte/igo2-lib/issues"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@angular/animations": "
|
|
20
|
-
"@angular/common": "^12.
|
|
21
|
-
"@angular/core": "^12.
|
|
22
|
-
"@angular/forms": "^12.
|
|
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": "^6.
|
|
19
|
+
"@angular/animations": "^12.2.9",
|
|
20
|
+
"@angular/common": "^12.2.9",
|
|
21
|
+
"@angular/core": "^12.2.9",
|
|
22
|
+
"@angular/forms": "^12.2.9",
|
|
23
|
+
"@angular/material": "^12.2.9",
|
|
24
|
+
"@igo2/auth": "^1.10.0",
|
|
25
|
+
"@igo2/common": "^1.10.0",
|
|
26
|
+
"@igo2/core": "^1.10.0",
|
|
27
|
+
"@igo2/utils": "^1.10.0",
|
|
28
|
+
"@igo2/geo": "^1.10.0",
|
|
29
|
+
"ol": "^6.8.1",
|
|
30
30
|
"rxjs": "^6.6.7"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
@@ -40,5 +40,6 @@
|
|
|
40
40
|
"typings": "igo2-context.d.ts",
|
|
41
41
|
"sideEffects": false,
|
|
42
42
|
"scripts": {
|
|
43
|
+
|
|
43
44
|
}
|
|
44
45
|
}
|