@igo2/context 21.0.0-next.8 → 21.0.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/fesm2022/igo2-context.mjs +141 -142
- package/fesm2022/igo2-context.mjs.map +1 -1
- package/package.json +6 -6
- package/types/igo2-context.d.ts +10 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igo2/context",
|
|
3
|
-
"version": "21.0.0
|
|
3
|
+
"version": "21.0.0",
|
|
4
4
|
"description": "IGO Library",
|
|
5
5
|
"author": "IGO Community",
|
|
6
6
|
"keywords": [
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"@angular/forms": "^21.0.0",
|
|
36
36
|
"@angular/material": "^21.0.0",
|
|
37
37
|
"@angular/platform-browser": "^21.0.0",
|
|
38
|
-
"@igo2/auth": "^21.0.0
|
|
39
|
-
"@igo2/common": "^21.0.0
|
|
40
|
-
"@igo2/core": "^21.0.0
|
|
41
|
-
"@igo2/geo": "^21.0.0
|
|
42
|
-
"@igo2/utils": "^21.0.0
|
|
38
|
+
"@igo2/auth": "^21.0.0",
|
|
39
|
+
"@igo2/common": "^21.0.0",
|
|
40
|
+
"@igo2/core": "^21.0.0",
|
|
41
|
+
"@igo2/geo": "^21.0.0",
|
|
42
|
+
"@igo2/utils": "^21.0.0",
|
|
43
43
|
"ol": "^10.0.0",
|
|
44
44
|
"rxjs": "^7.8.0"
|
|
45
45
|
},
|
package/types/igo2-context.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { OnInit, ModuleWithProviders, OnDestroy } from '@angular/core';
|
|
3
3
|
import { UntypedFormGroup, FormGroup, UntypedFormControl } from '@angular/forms';
|
|
4
4
|
import { MatOption } from '@angular/material/core';
|
|
5
|
-
import { AnyLayerOptions, MapViewOptions, MapExtent, MapScaleLineOptions, MapAttributionOptions, VectorLayer, AnyLayer, IgoMap, Feature, ImportExportServiceOptions, LayerOptions, LayerGroupOptions, AnyDataSourceOptions } from '@igo2/geo';
|
|
5
|
+
import { AnyLayerOptions, MapViewOptions, MapExtent, MapScaleLineOptions, MapAttributionOptions, VectorLayer, AnyLayer, IgoMap, Feature, LayerService, ImportExportServiceOptions, LayerOptions, LayerGroupOptions, AnyDataSourceOptions } from '@igo2/geo';
|
|
6
6
|
import { BehaviorSubject, Subject, Observable, ReplaySubject, Subscription } from 'rxjs';
|
|
7
7
|
import { Tool } from '@igo2/common/tool';
|
|
8
8
|
import { Message, MessageService } from '@igo2/core/message';
|
|
@@ -534,7 +534,7 @@ declare class PoiButtonComponent implements OnInit, OnDestroy {
|
|
|
534
534
|
private messageService;
|
|
535
535
|
private languageService;
|
|
536
536
|
private confirmDialogService;
|
|
537
|
-
selected
|
|
537
|
+
selected?: Poi;
|
|
538
538
|
readonly map: _angular_core.InputSignal<IgoMap>;
|
|
539
539
|
readonly color: _angular_core.InputSignal<string | undefined>;
|
|
540
540
|
pois: Poi[];
|
|
@@ -713,7 +713,7 @@ declare function handleNothingToImportError(file: File, messageService: MessageS
|
|
|
713
713
|
declare function addContextToContextList(context: DetailedContext, contextTitle: string, contextService: ContextService): void;
|
|
714
714
|
declare function getFileExtension(file: File): string;
|
|
715
715
|
declare function computeLayerTitleFromFile(file: File): string;
|
|
716
|
-
declare function addImportedFeaturesToMap(extraFeatures: ExtraFeatures, map: IgoMap): VectorLayer;
|
|
716
|
+
declare function addImportedFeaturesToMap(extraFeatures: ExtraFeatures, map: IgoMap, layerService: LayerService): VectorLayer;
|
|
717
717
|
|
|
718
718
|
declare function handleFileExportError(error: Error, messageService: MessageService): void;
|
|
719
719
|
declare function handleFileExportSuccess(messageService: MessageService): void;
|
|
@@ -743,10 +743,12 @@ declare class PoiService {
|
|
|
743
743
|
declare class UserDialogComponent {
|
|
744
744
|
dialogRef: MatDialogRef<UserDialogComponent, any>;
|
|
745
745
|
private auth;
|
|
746
|
+
private tokenService;
|
|
746
747
|
private storageService;
|
|
747
|
-
user?: User;
|
|
748
|
+
user?: User | null;
|
|
748
749
|
exp?: string;
|
|
749
750
|
constructor();
|
|
751
|
+
get expirationTime(): string | undefined;
|
|
750
752
|
clearPreferences(): void;
|
|
751
753
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserDialogComponent, never>;
|
|
752
754
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserDialogComponent, "igo-user-dialog", never, {}, {}, never, never, true, never>;
|
|
@@ -761,21 +763,21 @@ interface EnvironmentOptions {
|
|
|
761
763
|
importExport?: ImportExportServiceOptions;
|
|
762
764
|
}
|
|
763
765
|
|
|
764
|
-
declare const ServiceType: readonly ["wms", "wmts", "arcgisrest", "imagearcgisrest", "tilearcgisrest"];
|
|
766
|
+
declare const ServiceType: readonly ["wms", "wmts", "xyz", "arcgisrest", "imagearcgisrest", "tilearcgisrest"];
|
|
765
767
|
type ServiceType = (typeof ServiceType)[number];
|
|
766
768
|
declare enum ServiceTypeEnum {
|
|
767
769
|
wms = 0,
|
|
768
770
|
wmts = 1,
|
|
769
771
|
arcgisrest = 2,
|
|
770
772
|
imagearcgisrest = 3,
|
|
771
|
-
tilearcgisrest = 4
|
|
773
|
+
tilearcgisrest = 4,
|
|
774
|
+
xyz = 5
|
|
772
775
|
}
|
|
773
776
|
declare const LayerParamsKeys: readonly ["id", "index", "names", "type", "version", "queryString", "visible", "opacity", "zIndex", "parentId"];
|
|
774
777
|
type LayerParamsKeys = (typeof LayerParamsKeys)[number];
|
|
775
778
|
declare const GroupParamsKeys: readonly ["title", "id", "expanded", "visible", "opacity", "zIndex", "parentId"];
|
|
776
779
|
type GroupParamsKeys = (typeof GroupParamsKeys)[number];
|
|
777
|
-
|
|
778
|
-
type PositionParamsKeys = (typeof PositionParamsKeys)[number];
|
|
780
|
+
type PositionParamsKeys = 'center' | 'zoom' | 'rotation' | 'projection';
|
|
779
781
|
interface ShareMapKeysDefinitions {
|
|
780
782
|
urlsKey: string;
|
|
781
783
|
contextKey: string;
|