@igo2/context 1.13.0-alpha.0 → 1.13.0-alpha.1
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-import-export/context-import-export/context-import-export.component.mjs +3 -3
- package/esm2020/lib/context-manager/context-form/context-form.component.mjs +3 -3
- package/esm2020/lib/context-manager/context-permissions/context-permissions.component.mjs +5 -5
- package/esm2020/lib/share-map/share-map/share-map-api.component.mjs +3 -3
- package/fesm2015/igo2-context.mjs +10 -10
- package/fesm2015/igo2-context.mjs.map +1 -1
- package/fesm2020/igo2-context.mjs +10 -10
- package/fesm2020/igo2-context.mjs.map +1 -1
- package/lib/context-import-export/context-import-export/context-import-export.component.d.ts +3 -3
- package/lib/context-manager/context-form/context-form.component.d.ts +3 -3
- package/lib/context-manager/context-permissions/context-permissions.component.d.ts +4 -4
- package/lib/share-map/share-map/share-map-api.component.d.ts +3 -3
- package/package.json +11 -11
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 { FormGroup, FormBuilder } 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: FormGroup;
|
|
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: FormBuilder, config: ConfigService, contextService: ContextService);
|
|
33
33
|
ngOnInit(): void;
|
|
34
34
|
importFiles(files: File[]): void;
|
|
35
35
|
handleExportFormSubmit(contextOptions: any): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { FormBuilder, FormGroup } 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: FormGroup;
|
|
11
11
|
prefix: string;
|
|
12
12
|
get btnSubmitText(): string;
|
|
13
13
|
set btnSubmitText(value: string);
|
|
@@ -21,7 +21,7 @@ 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: FormBuilder, languageService: LanguageService, messageService: MessageService);
|
|
25
25
|
ngOnInit(): void;
|
|
26
26
|
handleFormSubmit(value: any): void;
|
|
27
27
|
copyTextToClipboard(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { FormBuilder, FormGroup, FormControl } 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: FormGroup;
|
|
16
16
|
get context(): Context;
|
|
17
17
|
set context(value: Context);
|
|
18
18
|
private _context;
|
|
@@ -24,12 +24,12 @@ export declare class ContextPermissionsComponent implements OnInit {
|
|
|
24
24
|
private _profils;
|
|
25
25
|
get canWrite(): boolean;
|
|
26
26
|
private baseUrlProfils;
|
|
27
|
-
formControl:
|
|
27
|
+
formControl: FormControl<any>;
|
|
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: FormBuilder, 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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { FormBuilder, FormGroup } 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,12 +11,12 @@ export declare class ShareMapApiComponent implements OnInit {
|
|
|
11
11
|
private auth;
|
|
12
12
|
private shareMapService;
|
|
13
13
|
private formBuilder;
|
|
14
|
-
form:
|
|
14
|
+
form: FormGroup;
|
|
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: FormBuilder);
|
|
20
20
|
ngOnInit(): void;
|
|
21
21
|
createUrl(values?: any): void;
|
|
22
22
|
updateContextShared(values?: any): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igo2/context",
|
|
3
|
-
"version": "1.13.0-alpha.
|
|
3
|
+
"version": "1.13.0-alpha.1",
|
|
4
4
|
"description": "IGO Library",
|
|
5
5
|
"author": "MSP",
|
|
6
6
|
"keywords": [
|
|
@@ -16,16 +16,16 @@
|
|
|
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.13.0-alpha.
|
|
25
|
-
"@igo2/common": "^1.13.0-alpha.
|
|
26
|
-
"@igo2/core": "^1.13.0-alpha.
|
|
27
|
-
"@igo2/utils": "^1.13.0-alpha.
|
|
28
|
-
"@igo2/geo": "^1.13.0-alpha.
|
|
19
|
+
"@angular/animations": "^13.3.11",
|
|
20
|
+
"@angular/common": "^13.3.11",
|
|
21
|
+
"@angular/core": "^13.3.11",
|
|
22
|
+
"@angular/forms": "^13.3.11",
|
|
23
|
+
"@angular/material": "^13.3.9",
|
|
24
|
+
"@igo2/auth": "^1.13.0-alpha.1",
|
|
25
|
+
"@igo2/common": "^1.13.0-alpha.1",
|
|
26
|
+
"@igo2/core": "^1.13.0-alpha.1",
|
|
27
|
+
"@igo2/utils": "^1.13.0-alpha.1",
|
|
28
|
+
"@igo2/geo": "^1.13.0-alpha.1",
|
|
29
29
|
"ol": "~6.14.1",
|
|
30
30
|
"rxjs": "^6.6.7"
|
|
31
31
|
},
|