@igo2/context 21.0.0-next.5 → 21.0.0-next.51

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igo2/context",
3
- "version": "21.0.0-next.5",
3
+ "version": "21.0.0-next.51",
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-next.5",
39
- "@igo2/common": "^21.0.0-next.5",
40
- "@igo2/core": "^21.0.0-next.5",
41
- "@igo2/geo": "^21.0.0-next.5",
42
- "@igo2/utils": "^21.0.0-next.5",
38
+ "@igo2/auth": "^21.0.0-next.51",
39
+ "@igo2/common": "^21.0.0-next.51",
40
+ "@igo2/core": "^21.0.0-next.51",
41
+ "@igo2/geo": "^21.0.0-next.51",
42
+ "@igo2/utils": "^21.0.0-next.51",
43
43
  "ol": "^10.0.0",
44
44
  "rxjs": "^7.8.0"
45
45
  },
@@ -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, StyleListService, StyleService, 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';
@@ -218,8 +218,6 @@ declare class LayerContextDirective implements OnInit, OnDestroy {
218
218
  private contextService;
219
219
  private layerService;
220
220
  private configService;
221
- private styleListService;
222
- private styleService;
223
221
  private shareMapService;
224
222
  private context$$;
225
223
  private queryParams;
@@ -536,7 +534,7 @@ declare class PoiButtonComponent implements OnInit, OnDestroy {
536
534
  private messageService;
537
535
  private languageService;
538
536
  private confirmDialogService;
539
- selected: Poi;
537
+ selected?: Poi;
540
538
  readonly map: _angular_core.InputSignal<IgoMap>;
541
539
  readonly color: _angular_core.InputSignal<string | undefined>;
542
540
  pois: Poi[];
@@ -715,8 +713,7 @@ declare function handleNothingToImportError(file: File, messageService: MessageS
715
713
  declare function addContextToContextList(context: DetailedContext, contextTitle: string, contextService: ContextService): void;
716
714
  declare function getFileExtension(file: File): string;
717
715
  declare function computeLayerTitleFromFile(file: File): string;
718
- declare function addImportedFeaturesToMap(extraFeatures: ExtraFeatures, map: IgoMap): VectorLayer;
719
- declare function addImportedFeaturesStyledToMap(extraFeatures: ExtraFeatures, map: IgoMap, styleListService: StyleListService, styleService: StyleService): VectorLayer;
716
+ declare function addImportedFeaturesToMap(extraFeatures: ExtraFeatures, map: IgoMap, layerService: LayerService): VectorLayer;
720
717
 
721
718
  declare function handleFileExportError(error: Error, messageService: MessageService): void;
722
719
  declare function handleFileExportSuccess(messageService: MessageService): void;
@@ -746,10 +743,12 @@ declare class PoiService {
746
743
  declare class UserDialogComponent {
747
744
  dialogRef: MatDialogRef<UserDialogComponent, any>;
748
745
  private auth;
746
+ private tokenService;
749
747
  private storageService;
750
- user?: User;
748
+ user?: User | null;
751
749
  exp?: string;
752
750
  constructor();
751
+ get expirationTime(): string | undefined;
753
752
  clearPreferences(): void;
754
753
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserDialogComponent, never>;
755
754
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserDialogComponent, "igo-user-dialog", never, {}, {}, never, never, true, never>;
@@ -777,8 +776,7 @@ declare const LayerParamsKeys: readonly ["id", "index", "names", "type", "versio
777
776
  type LayerParamsKeys = (typeof LayerParamsKeys)[number];
778
777
  declare const GroupParamsKeys: readonly ["title", "id", "expanded", "visible", "opacity", "zIndex", "parentId"];
779
778
  type GroupParamsKeys = (typeof GroupParamsKeys)[number];
780
- declare const PositionParamsKeys: readonly ["center", "zoom", "rotation", "projection"];
781
- type PositionParamsKeys = (typeof PositionParamsKeys)[number];
779
+ type PositionParamsKeys = 'center' | 'zoom' | 'rotation' | 'projection';
782
780
  interface ShareMapKeysDefinitions {
783
781
  urlsKey: string;
784
782
  contextKey: string;
@@ -886,5 +884,5 @@ declare function hasLegacyParams(params: Params, optionsLegacy: RouteServiceOpti
886
884
  declare function hasModernShareParams(params: Params, keysDefinitions: ShareMapKeysDefinitions): boolean;
887
885
  declare function getParamValue(params: Params, key: string): string | undefined;
888
886
 
889
- export { BookmarkButtonComponent, BookmarkDialogComponent, CONTEXT_MANAGER_DIRECTIVES, CONTEXT_MAP_BUTTON_DIRECTIVES, ContextEditComponent, ContextExportService, ContextFormComponent, ContextImportExportComponent, ContextImportService, ContextItemComponent, ContextListComponent, ContextPermissionsComponent, ContextService, ExportError, ExportInvalidFileError, ExportNothingToExportError, GroupParamsKeys, IgoContextImportExportModule, IgoContextManagerModule, IgoContextMapButtonModule, IgoContextModule, IgoShareMapModule, IgoSidenavModule, ImportError, ImportInvalidFileError, ImportNothingToImportError, ImportSRSError, ImportSizeError, ImportUnreadableFileError, LayerContextDirective, LayerParamsKeys, MapContextDirective, PoiButtonComponent, PoiDialogComponent, PoiService, SHARE_MAP_DIRECTIVES, SHARE_MAP_KEYS_DEFAULT_OPTIONS, Scope, ServiceType, ServiceTypeEnum, ShareMapComponent, ShareMapLegacyParser, ShareMapService, ShareMapUrlComponent, SidenavComponent, TypePermission, UserButtonComponent, UserDialogComponent, addContextToContextList, addImportedFeaturesStyledToMap, addImportedFeaturesToMap, buildDataSourceOptions, computeLayerTitleFromFile, getFileExtension, getFlattenOptions, getParamValue, handleFileExportError, handleFileExportSuccess, handleFileImportError, handleFileImportSuccess, handleInvalidFileImportError, handleNothingToExportError, handleNothingToImportError, handleSizeFileImportError, handleUnreadbleFileImportError, hasLegacyParams, hasModernShareParams };
887
+ export { BookmarkButtonComponent, BookmarkDialogComponent, CONTEXT_MANAGER_DIRECTIVES, CONTEXT_MAP_BUTTON_DIRECTIVES, ContextEditComponent, ContextExportService, ContextFormComponent, ContextImportExportComponent, ContextImportService, ContextItemComponent, ContextListComponent, ContextPermissionsComponent, ContextService, ExportError, ExportInvalidFileError, ExportNothingToExportError, GroupParamsKeys, IgoContextImportExportModule, IgoContextManagerModule, IgoContextMapButtonModule, IgoContextModule, IgoShareMapModule, IgoSidenavModule, ImportError, ImportInvalidFileError, ImportNothingToImportError, ImportSRSError, ImportSizeError, ImportUnreadableFileError, LayerContextDirective, LayerParamsKeys, MapContextDirective, PoiButtonComponent, PoiDialogComponent, PoiService, SHARE_MAP_DIRECTIVES, SHARE_MAP_KEYS_DEFAULT_OPTIONS, Scope, ServiceType, ServiceTypeEnum, ShareMapComponent, ShareMapLegacyParser, ShareMapService, ShareMapUrlComponent, SidenavComponent, TypePermission, UserButtonComponent, UserDialogComponent, addContextToContextList, addImportedFeaturesToMap, buildDataSourceOptions, computeLayerTitleFromFile, getFileExtension, getFlattenOptions, getParamValue, handleFileExportError, handleFileExportSuccess, handleFileImportError, handleFileImportSuccess, handleInvalidFileImportError, handleNothingToExportError, handleNothingToImportError, handleSizeFileImportError, handleUnreadbleFileImportError, hasLegacyParams, hasModernShareParams };
890
888
  export type { BaseKeyParams, Context, ContextDetailedChanges, ContextExportOptions, ContextHomeExtent, ContextMap, ContextMapView, ContextProfils, ContextServiceOptions, ContextsList, DefinitionKeyParams, DefinitionParams, DetailedContext, EnvironmentOptions, ExtraFeatures, GroupParams, IProcessChanges, LayerParams, LayerProperties, Poi, PositionParams, ShareMapKeysDefinitions, ShareMapRouteKeysOptions, UrlParsedParam };