@igo2/context 18.0.1-next.2 → 19.0.0-next.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/fesm2022/igo2-context.mjs +129 -122
- package/fesm2022/igo2-context.mjs.map +1 -1
- package/lib/context-manager/context-form/context-form.component.d.ts +3 -1
- package/lib/share-map/share-map/share-map-api.component.d.ts +4 -2
- package/lib/share-map/share-map/share-map-url.component.d.ts +4 -2
- package/package.json +6 -6
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { Clipboard } from '@angular/cdk/clipboard';
|
|
1
2
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
3
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
4
|
import { MessageService } from '@igo2/core/message';
|
|
4
5
|
import { Context } from '../shared/context.interface';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class ContextFormComponent implements OnInit {
|
|
8
|
+
private clipboard;
|
|
7
9
|
private formBuilder;
|
|
8
10
|
private messageService;
|
|
9
11
|
form: UntypedFormGroup;
|
|
@@ -20,7 +22,7 @@ export declare class ContextFormComponent implements OnInit {
|
|
|
20
22
|
submitForm: EventEmitter<any>;
|
|
21
23
|
clone: EventEmitter<any>;
|
|
22
24
|
delete: EventEmitter<any>;
|
|
23
|
-
constructor(formBuilder: UntypedFormBuilder, messageService: MessageService);
|
|
25
|
+
constructor(clipboard: Clipboard, formBuilder: UntypedFormBuilder, messageService: MessageService);
|
|
24
26
|
ngOnInit(): void;
|
|
25
27
|
handleFormSubmit(value: any): void;
|
|
26
28
|
copyTextToClipboard(): void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Clipboard } from '@angular/cdk/clipboard';
|
|
1
2
|
import { OnInit } from '@angular/core';
|
|
2
3
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
4
|
import { AuthService } from '@igo2/auth';
|
|
@@ -7,6 +8,7 @@ import type { IgoMap } from '@igo2/geo';
|
|
|
7
8
|
import { ShareMapService } from '../shared/share-map.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class ShareMapApiComponent implements OnInit {
|
|
11
|
+
private clipboard;
|
|
10
12
|
private languageService;
|
|
11
13
|
private messageService;
|
|
12
14
|
private auth;
|
|
@@ -17,11 +19,11 @@ export declare class ShareMapApiComponent implements OnInit {
|
|
|
17
19
|
url: string;
|
|
18
20
|
userId: string;
|
|
19
21
|
idContextShared: string;
|
|
20
|
-
constructor(languageService: LanguageService, messageService: MessageService, auth: AuthService, shareMapService: ShareMapService, formBuilder: UntypedFormBuilder);
|
|
22
|
+
constructor(clipboard: Clipboard, languageService: LanguageService, messageService: MessageService, auth: AuthService, shareMapService: ShareMapService, formBuilder: UntypedFormBuilder);
|
|
21
23
|
ngOnInit(): void;
|
|
22
24
|
createUrl(values?: any): void;
|
|
23
25
|
updateContextShared(values?: any): void;
|
|
24
|
-
copyTextToClipboard(textArea:
|
|
26
|
+
copyTextToClipboard(textArea: HTMLTextAreaElement): void;
|
|
25
27
|
buildForm(): void;
|
|
26
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShareMapApiComponent, never>;
|
|
27
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<ShareMapApiComponent, "igo-share-map-api", never, { "map": { "alias": "map"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { Clipboard } from '@angular/cdk/clipboard';
|
|
1
2
|
import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
3
|
import { MessageService } from '@igo2/core/message';
|
|
3
4
|
import type { IgoMap } from '@igo2/geo';
|
|
4
5
|
import { ShareMapService } from '../shared/share-map.service';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class ShareMapUrlComponent implements AfterViewInit, OnInit, OnDestroy {
|
|
8
|
+
private clipboard;
|
|
7
9
|
private messageService;
|
|
8
10
|
private shareMapService;
|
|
9
11
|
private cdRef;
|
|
@@ -15,12 +17,12 @@ export declare class ShareMapUrlComponent implements AfterViewInit, OnInit, OnDe
|
|
|
15
17
|
querystring: string;
|
|
16
18
|
};
|
|
17
19
|
};
|
|
18
|
-
constructor(messageService: MessageService, shareMapService: ShareMapService, cdRef: ChangeDetectorRef);
|
|
20
|
+
constructor(clipboard: Clipboard, messageService: MessageService, shareMapService: ShareMapService, cdRef: ChangeDetectorRef);
|
|
19
21
|
ngOnInit(): void;
|
|
20
22
|
ngAfterViewInit(): void;
|
|
21
23
|
ngOnDestroy(): void;
|
|
22
24
|
resetUrl(): void;
|
|
23
|
-
copyTextToClipboard(textArea:
|
|
25
|
+
copyTextToClipboard(textArea: HTMLTextAreaElement): void;
|
|
24
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShareMapUrlComponent, never>;
|
|
25
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<ShareMapUrlComponent, "igo-share-map-url", never, { "map": { "alias": "map"; "required": false; }; }, {}, never, never, true, never>;
|
|
26
28
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igo2/context",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "19.0.0-next.2",
|
|
4
4
|
"description": "IGO Library",
|
|
5
5
|
"author": "IGO Community",
|
|
6
6
|
"keywords": [
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"@angular/forms": "^19.0.0",
|
|
35
35
|
"@angular/material": "^19.0.0",
|
|
36
36
|
"@angular/platform-browser": "^19.0.0",
|
|
37
|
-
"@igo2/auth": "^
|
|
38
|
-
"@igo2/common": "^
|
|
39
|
-
"@igo2/core": "^
|
|
40
|
-
"@igo2/geo": "^
|
|
41
|
-
"@igo2/utils": "^
|
|
37
|
+
"@igo2/auth": "^19.0.0-next.2",
|
|
38
|
+
"@igo2/common": "^19.0.0-next.2",
|
|
39
|
+
"@igo2/core": "^19.0.0-next.2",
|
|
40
|
+
"@igo2/geo": "^19.0.0-next.2",
|
|
41
|
+
"@igo2/utils": "^19.0.0-next.2",
|
|
42
42
|
"ol": "9.1.0",
|
|
43
43
|
"rxjs": "^7.8.0"
|
|
44
44
|
},
|