@igo2/integration 1.9.3 → 1.11.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.
@@ -1,7 +1,9 @@
1
1
  import { OnInit } from '@angular/core';
2
+ import { AuthService } from '@igo2/auth';
2
3
  import { LanguageService, MessageService, StorageService } from '@igo2/core';
3
4
  import { IgoMap, RoutesFeatureStore, StopsFeatureStore, StopsStore, StepFeatureStore } from '@igo2/geo';
4
5
  import { Subject } from 'rxjs';
6
+ import { ContextState } from '../../context/context.state';
5
7
  import { MapState } from '../../map/map.state';
6
8
  import { DirectionState } from '../directions.state';
7
9
  import * as i0 from "@angular/core";
@@ -11,6 +13,9 @@ export declare class DirectionsToolComponent implements OnInit {
11
13
  private languageService;
12
14
  private messageService;
13
15
  private storageService;
16
+ contextState: ContextState;
17
+ private authService;
18
+ currentContextUri: string;
14
19
  /**
15
20
  * stops
16
21
  * @internal
@@ -42,7 +47,7 @@ export declare class DirectionsToolComponent implements OnInit {
42
47
  * @internal
43
48
  */
44
49
  get map(): IgoMap;
45
- constructor(directionState: DirectionState, mapState: MapState, languageService: LanguageService, messageService: MessageService, storageService: StorageService);
50
+ constructor(directionState: DirectionState, mapState: MapState, languageService: LanguageService, messageService: MessageService, storageService: StorageService, contextState: ContextState, authService: AuthService);
46
51
  ngOnInit(): void;
47
52
  static ɵfac: i0.ɵɵFactoryDeclaration<DirectionsToolComponent, never>;
48
53
  static ɵcmp: i0.ɵɵComponentDeclaration<DirectionsToolComponent, "igo-directions-tool", never, {}, {}, never, never>;
@@ -44,13 +44,15 @@ export declare class SpatialFilterToolComponent implements OnInit, OnDestroy {
44
44
  thematicLength: number;
45
45
  measureUnit: MeasureLengthUnit;
46
46
  private unsubscribe$;
47
+ private moveendKey;
47
48
  constructor(matIconRegistry: MatIconRegistry, spatialFilterService: SpatialFilterService, dataSourceService: DataSourceService, layerService: LayerService, mapState: MapState, messageService: MessageService, languageService: LanguageService, importExportState: ImportExportState, toolState: ToolState, workspaceState: WorkspaceState, cdRef: ChangeDetectorRef);
48
49
  ngOnInit(): void;
49
50
  ngOnDestroy(): void;
50
51
  getOutputType(event: SpatialFilterType): void;
51
52
  getOutputQueryType(event: SpatialFilterQueryType): void;
52
53
  activateExportTool(): void;
53
- activateWorkspace(): void;
54
+ activateWorkspace(record?: any): void;
55
+ private selectWorkspaceEntity;
54
56
  private loadFilterList;
55
57
  getOutputToggleSearch(): void;
56
58
  getOutputClearSearch(): void;
@@ -16,6 +16,7 @@ export declare class AdvancedCoordinatesComponent implements OnInit, OnDestroy {
16
16
  private storageService;
17
17
  private config;
18
18
  private formBuilder;
19
+ formattedScale$: BehaviorSubject<string>;
19
20
  projections$: BehaviorSubject<InputProjections[]>;
20
21
  form: FormGroup;
21
22
  coordinates: string[];
@@ -40,6 +41,7 @@ export declare class AdvancedCoordinatesComponent implements OnInit, OnDestroy {
40
41
  */
41
42
  ngOnInit(): void;
42
43
  ngOnDestroy(): void;
44
+ setScaleValue(map: IgoMap): void;
43
45
  /**
44
46
  * Coordinates of the center of the map on the appropriate systeme of coordinates
45
47
  * @returns Array of two numbers
@@ -0,0 +1,26 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { Action, Widget } from '@igo2/common';
3
+ import { BehaviorSubject } from 'rxjs';
4
+ import { EditionWorkspace } from '@igo2/geo';
5
+ import { StorageService, LanguageService, MediaService } from '@igo2/core';
6
+ import { StorageState } from '../../storage/storage.state';
7
+ import { ToolState } from '../../tool/tool.state';
8
+ import * as i0 from "@angular/core";
9
+ export declare class EditionActionsService implements OnDestroy {
10
+ private ogcFilterWidget;
11
+ private storageState;
12
+ languageService: LanguageService;
13
+ private mediaService;
14
+ private toolState;
15
+ maximize$: BehaviorSubject<boolean>;
16
+ zoomAuto$: BehaviorSubject<boolean>;
17
+ private storageChange$$;
18
+ get storageService(): StorageService;
19
+ get zoomAuto(): boolean;
20
+ constructor(ogcFilterWidget: Widget, storageState: StorageState, languageService: LanguageService, mediaService: MediaService, toolState: ToolState);
21
+ ngOnDestroy(): void;
22
+ loadActions(workspace: EditionWorkspace, rowsInMapExtentCheckCondition$: BehaviorSubject<boolean>, selectOnlyCheckCondition$: BehaviorSubject<boolean>): void;
23
+ buildActions(workspace: EditionWorkspace, rowsInMapExtentCheckCondition$: BehaviorSubject<boolean>, selectOnlyCheckCondition$: BehaviorSubject<boolean>): Action[];
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditionActionsService, never>;
25
+ static ɵprov: i0.ɵɵInjectableDeclaration<EditionActionsService>;
26
+ }
@@ -1,2 +1,2 @@
1
- import { FeatureWorkspace, WfsWorkspace } from '@igo2/geo';
2
- export declare function handleZoomAuto(workspace: FeatureWorkspace | WfsWorkspace, storageService: any): void;
1
+ import { FeatureWorkspace, WfsWorkspace, EditionWorkspace } from '@igo2/geo';
2
+ export declare function handleZoomAuto(workspace: FeatureWorkspace | WfsWorkspace | EditionWorkspace, storageService: any): void;
@@ -4,6 +4,7 @@ import { Workspace, WorkspaceStore, Widget } from '@igo2/common';
4
4
  import { FeatureActionsService } from './shared/feature-actions.service';
5
5
  import { WfsActionsService } from './shared/wfs-actions.service';
6
6
  import { StorageService } from '@igo2/core';
7
+ import { EditionActionsService } from './shared/edition-actions.service';
7
8
  import * as i0 from "@angular/core";
8
9
  /**
9
10
  * Service that holds the state of the workspace module
@@ -11,6 +12,7 @@ import * as i0 from "@angular/core";
11
12
  export declare class WorkspaceState implements OnDestroy {
12
13
  private featureActionsService;
13
14
  private wfsActionsService;
15
+ private editionActionsService;
14
16
  private storageService;
15
17
  workspacePanelExpanded: boolean;
16
18
  readonly workspaceEnabled$: BehaviorSubject<boolean>;
@@ -35,7 +37,7 @@ export declare class WorkspaceState implements OnDestroy {
35
37
  */
36
38
  get store(): WorkspaceStore;
37
39
  private _store;
38
- constructor(featureActionsService: FeatureActionsService, wfsActionsService: WfsActionsService, storageService: StorageService);
40
+ constructor(featureActionsService: FeatureActionsService, wfsActionsService: WfsActionsService, editionActionsService: EditionActionsService, storageService: StorageService);
39
41
  /**
40
42
  * Initialize the workspace store. Each time a workspace is activated,
41
43
  * subscribe to it's active widget. Tracking the active widget is useful
@@ -44,6 +46,7 @@ export declare class WorkspaceState implements OnDestroy {
44
46
  private initWorkspaces;
45
47
  private setWorkspaceIsMaximized;
46
48
  setActiveWorkspaceById(id: string): void;
49
+ setActiveWorkspaceByTitle(title: string): void;
47
50
  /**
48
51
  * Teardown all the workspaces
49
52
  * @internal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igo2/integration",
3
- "version": "1.9.3",
3
+ "version": "1.11.0",
4
4
  "description": "IGO Library",
5
5
  "author": "MSP",
6
6
  "keywords": [
@@ -18,8 +18,8 @@
18
18
  "peerDependencies": {
19
19
  "@angular/common": "^12.2.9",
20
20
  "@angular/core": "^12.2.9",
21
- "@igo2/geo": "1.9.3",
22
- "@igo2/context": "1.9.3",
21
+ "@igo2/geo": "1.11.0",
22
+ "@igo2/context": "1.11.0",
23
23
  "rxjs": "^6.6.7"
24
24
  },
25
25
  "dependencies": {