@igo2/context 1.14.1 → 1.14.2
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/esm2020/lib/context-manager/shared/context.service.mjs +13 -6
- package/fesm2015/igo2-context.mjs +35 -29
- package/fesm2015/igo2-context.mjs.map +1 -1
- package/fesm2020/igo2-context.mjs +35 -29
- package/fesm2020/igo2-context.mjs.map +1 -1
- package/lib/context-manager/shared/context.service.d.ts +4 -2
- package/package.json +6 -6
|
@@ -4,6 +4,7 @@ import { Tool } from '@igo2/common';
|
|
|
4
4
|
import { ConfigService, RouteService, MessageService, LanguageService, StorageService } from '@igo2/core';
|
|
5
5
|
import { AuthService } from '@igo2/auth';
|
|
6
6
|
import type { IgoMap, Layer } from '@igo2/geo';
|
|
7
|
+
import { ExportService } from '@igo2/geo';
|
|
7
8
|
import { TypePermission } from './context.enum';
|
|
8
9
|
import { ContextsList, Context, DetailedContext, ContextPermission, ContextProfils } from './context.interface';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
@@ -14,6 +15,7 @@ export declare class ContextService {
|
|
|
14
15
|
private config;
|
|
15
16
|
private messageService;
|
|
16
17
|
private storageService;
|
|
18
|
+
private exportService;
|
|
17
19
|
private route;
|
|
18
20
|
context$: BehaviorSubject<DetailedContext>;
|
|
19
21
|
contexts$: BehaviorSubject<ContextsList>;
|
|
@@ -29,7 +31,7 @@ export declare class ContextService {
|
|
|
29
31
|
get defaultContextUri(): string;
|
|
30
32
|
set defaultContextUri(uri: string);
|
|
31
33
|
private _defaultContextUri;
|
|
32
|
-
constructor(http: HttpClient, authService: AuthService, languageService: LanguageService, config: ConfigService, messageService: MessageService, storageService: StorageService, route: RouteService);
|
|
34
|
+
constructor(http: HttpClient, authService: AuthService, languageService: LanguageService, config: ConfigService, messageService: MessageService, storageService: StorageService, exportService: ExportService, route: RouteService);
|
|
33
35
|
get(permissions?: string[], hidden?: boolean): Observable<ContextsList>;
|
|
34
36
|
getById(id: string): Observable<Context>;
|
|
35
37
|
getDetails(id: string): Observable<DetailedContext>;
|
|
@@ -68,6 +70,6 @@ export declare class ContextService {
|
|
|
68
70
|
private handleContextsChange;
|
|
69
71
|
private addContextToList;
|
|
70
72
|
private findContext;
|
|
71
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContextService, [null, null, null, null, null, null, { optional: true; }]>;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextService, [null, null, null, null, null, null, null, { optional: true; }]>;
|
|
72
74
|
static ɵprov: i0.ɵɵInjectableDeclaration<ContextService>;
|
|
73
75
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igo2/context",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.2",
|
|
4
4
|
"description": "IGO Library",
|
|
5
5
|
"author": "IGO Community",
|
|
6
6
|
"keywords": [
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"@angular/core": "^14.1.2",
|
|
22
22
|
"@angular/forms": "^14.1.2",
|
|
23
23
|
"@angular/material": "^14.1.2",
|
|
24
|
-
"@igo2/auth": "^1.14.
|
|
25
|
-
"@igo2/common": "^1.14.
|
|
26
|
-
"@igo2/core": "^1.14.
|
|
27
|
-
"@igo2/utils": "^1.14.
|
|
28
|
-
"@igo2/geo": "^1.14.
|
|
24
|
+
"@igo2/auth": "^1.14.2",
|
|
25
|
+
"@igo2/common": "^1.14.2",
|
|
26
|
+
"@igo2/core": "^1.14.2",
|
|
27
|
+
"@igo2/utils": "^1.14.2",
|
|
28
|
+
"@igo2/geo": "^1.14.2",
|
|
29
29
|
"ol": "^7.1.0",
|
|
30
30
|
"rxjs": "^7.5.6"
|
|
31
31
|
},
|