@igo2/integration 1.10.0 → 1.12.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/bundles/igo2-integration.umd.js +1297 -608
- package/bundles/igo2-integration.umd.js.map +1 -1
- package/esm2015/lib/about/about-tool/about-tool.component.js +3 -3
- package/esm2015/lib/about/about-tool/index.js +1 -1
- package/esm2015/lib/about/about.module.js +1 -1
- package/esm2015/lib/about/index.js +1 -1
- package/esm2015/lib/analytics/analytics-listener.service.js +1 -1
- package/esm2015/lib/analytics/analytics.module.js +1 -1
- package/esm2015/lib/analytics/index.js +1 -1
- package/esm2015/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.js +1 -1
- package/esm2015/lib/catalog/catalog-browser-tool/catalog-browser-tool.module.js +1 -1
- package/esm2015/lib/catalog/catalog-library-tool/catalog-library-tool.component.js +1 -1
- package/esm2015/lib/catalog/catalog-library-tool/catalog-library-tool.module.js +1 -1
- package/esm2015/lib/catalog/catalog.module.js +1 -1
- package/esm2015/lib/catalog/catalog.state.js +1 -1
- package/esm2015/lib/catalog/index.js +1 -1
- package/esm2015/lib/context/context-editor-tool/context-editor-tool.component.js +1 -1
- package/esm2015/lib/context/context-manager-tool/context-manager-tool.component.js +1 -1
- package/esm2015/lib/context/context-permission-manager-tool/context-permission-manager-tool.component.js +1 -1
- package/esm2015/lib/context/context-share-tool/context-share-tool.component.js +1 -1
- package/esm2015/lib/context/context.module.js +1 -1
- package/esm2015/lib/context/context.state.js +1 -1
- package/esm2015/lib/context/index.js +1 -1
- package/esm2015/lib/directions/directions-tool/directions-tool.component.js +17 -8
- package/esm2015/lib/directions/directions-tool/index.js +1 -1
- package/esm2015/lib/directions/directions.module.js +1 -1
- package/esm2015/lib/directions/directions.state.js +1 -1
- package/esm2015/lib/directions/index.js +1 -1
- package/esm2015/lib/draw/draw.module.js +1 -1
- package/esm2015/lib/draw/draw.state.js +1 -1
- package/esm2015/lib/draw/drawing-tool/drawing-tool.component.js +1 -1
- package/esm2015/lib/draw/index.js +1 -1
- package/esm2015/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.animation.js +1 -1
- package/esm2015/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.js +1 -1
- package/esm2015/lib/filter/active-ogc-filter-tool/index.js +1 -1
- package/esm2015/lib/filter/active-time-filter-tool/active-time-filter-tool.animation.js +1 -1
- package/esm2015/lib/filter/active-time-filter-tool/active-time-filter-tool.component.js +1 -1
- package/esm2015/lib/filter/active-time-filter-tool/index.js +1 -1
- package/esm2015/lib/filter/filter.module.js +1 -1
- package/esm2015/lib/filter/index.js +1 -1
- package/esm2015/lib/filter/ogc-filter-tool/index.js +1 -1
- package/esm2015/lib/filter/ogc-filter-tool/ogc-filter-tool.component.js +1 -1
- package/esm2015/lib/filter/spatial-filter-tool/index.js +1 -1
- package/esm2015/lib/filter/spatial-filter-tool/spatial-filter-tool.component.js +4 -1
- package/esm2015/lib/filter/time-filter-tool/index.js +1 -1
- package/esm2015/lib/filter/time-filter-tool/time-filter-tool.component.js +1 -1
- package/esm2015/lib/import-export/import-export-tool/import-export-tool.component.js +1 -1
- package/esm2015/lib/import-export/import-export-tool/index.js +1 -1
- package/esm2015/lib/import-export/import-export.module.js +1 -1
- package/esm2015/lib/import-export/import-export.state.js +1 -1
- package/esm2015/lib/import-export/index.js +1 -1
- package/esm2015/lib/integration.module.js +1 -1
- package/esm2015/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.js +1 -1
- package/esm2015/lib/map/advanced-map-tool/advanced-map-tool.component.js +60 -11
- package/esm2015/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.js +1 -1
- package/esm2015/lib/map/advanced-map-tool/index.js +1 -1
- package/esm2015/lib/map/index.js +3 -1
- package/esm2015/lib/map/layer-list-tool.state.js +1 -1
- package/esm2015/lib/map/map-details-tool/index.js +1 -1
- package/esm2015/lib/map/map-details-tool/map-details-tool.component.js +1 -1
- package/esm2015/lib/map/map-legend/index.js +1 -1
- package/esm2015/lib/map/map-legend/map-legend-tool.component.js +1 -1
- package/esm2015/lib/map/map-proximity-tool/index.js +2 -0
- package/esm2015/lib/map/map-proximity-tool/map-proximity-tool.component.js +221 -0
- package/esm2015/lib/map/map-proximity.state.js +164 -0
- package/esm2015/lib/map/map-tool/index.js +1 -1
- package/esm2015/lib/map/map-tool/map-tool.component.js +1 -1
- package/esm2015/lib/map/map-tools/index.js +1 -1
- package/esm2015/lib/map/map-tools/map-tools.component.js +2 -2
- package/esm2015/lib/map/map.module.js +18 -8
- package/esm2015/lib/map/map.state.js +8 -6
- package/esm2015/lib/measure/index.js +1 -1
- package/esm2015/lib/measure/measure.module.js +1 -1
- package/esm2015/lib/measure/measure.state.js +1 -1
- package/esm2015/lib/measure/measurer-tool/measurer-tool.component.js +1 -1
- package/esm2015/lib/measure/measurer-tool/measurer-tool.module.js +1 -1
- package/esm2015/lib/print/index.js +1 -1
- package/esm2015/lib/print/print-tool/index.js +1 -1
- package/esm2015/lib/print/print-tool/print-tool.component.js +1 -1
- package/esm2015/lib/print/print.module.js +1 -1
- package/esm2015/lib/search/index.js +1 -1
- package/esm2015/lib/search/query.state.js +1 -1
- package/esm2015/lib/search/search-bar/search-bar-binding.directive.js +1 -1
- package/esm2015/lib/search/search-bar/search-bar.module.js +1 -1
- package/esm2015/lib/search/search-results-tool/search-results-tool.component.js +52 -28
- package/esm2015/lib/search/search-results-tool/search-results-tool.module.js +1 -1
- package/esm2015/lib/search/search.module.js +1 -1
- package/esm2015/lib/search/search.state.js +1 -1
- package/esm2015/lib/storage/index.js +1 -1
- package/esm2015/lib/storage/storage.module.js +1 -1
- package/esm2015/lib/storage/storage.state.js +1 -1
- package/esm2015/lib/tool/index.js +1 -1
- package/esm2015/lib/tool/tool.module.js +1 -1
- package/esm2015/lib/tool/tool.state.js +1 -1
- package/esm2015/lib/workspace/index.js +1 -1
- package/esm2015/lib/workspace/shared/edition-actions.service.js +157 -0
- package/esm2015/lib/workspace/shared/feature-actions.service.js +1 -1
- package/esm2015/lib/workspace/shared/index.js +1 -1
- package/esm2015/lib/workspace/shared/wfs-actions.service.js +2 -2
- package/esm2015/lib/workspace/shared/workspace.utils.js +1 -1
- package/esm2015/lib/workspace/workspace-button/index.js +1 -1
- package/esm2015/lib/workspace/workspace-button/workspace-button.component.js +1 -1
- package/esm2015/lib/workspace/workspace.module.js +1 -1
- package/esm2015/lib/workspace/workspace.state.js +41 -7
- package/esm2015/public_api.js +1 -1
- package/fesm2015/igo2-integration.js +843 -217
- package/fesm2015/igo2-integration.js.map +1 -1
- package/lib/directions/directions-tool/directions-tool.component.d.ts +6 -1
- package/lib/map/advanced-map-tool/advanced-map-tool.component.d.ts +7 -0
- package/lib/map/index.d.ts +2 -0
- package/lib/map/map-proximity-tool/index.d.ts +1 -0
- package/lib/map/map-proximity-tool/map-proximity-tool.component.d.ts +36 -0
- package/lib/map/map-proximity.state.d.ts +28 -0
- package/lib/map/map.module.d.ts +30 -28
- package/lib/map/map.state.d.ts +4 -1
- package/lib/search/search-results-tool/search-results-tool.component.d.ts +7 -1
- package/lib/workspace/shared/edition-actions.service.d.ts +26 -0
- package/lib/workspace/shared/workspace.utils.d.ts +2 -2
- package/lib/workspace/workspace.state.d.ts +8 -3
- package/ngcc.config.js +3 -3
- package/package.json +3 -3
|
@@ -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>;
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
import { MapState } from '../map.state';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class AdvancedMapToolComponent {
|
|
4
|
+
mapState: MapState;
|
|
5
|
+
get tracking$(): import("rxjs").BehaviorSubject<boolean>;
|
|
6
|
+
get followPosition$(): import("rxjs").BehaviorSubject<boolean>;
|
|
7
|
+
constructor(mapState: MapState);
|
|
8
|
+
toggleTracking(value: any): void;
|
|
9
|
+
toggleFollow(value: any): void;
|
|
3
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedMapToolComponent, never>;
|
|
4
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedMapToolComponent, "igo-advanced-map-tool", never, {}, {}, never, never>;
|
|
5
12
|
}
|
package/lib/map/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from './advanced-map-tool';
|
|
2
|
+
export * from './map-proximity-tool';
|
|
2
3
|
export * from './map-details-tool';
|
|
3
4
|
export * from './map-legend';
|
|
4
5
|
export * from './map-tool';
|
|
5
6
|
export * from './map-tools';
|
|
6
7
|
export * from './map.state';
|
|
8
|
+
export * from './map-proximity.state';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './map-proximity-tool.component';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MatRadioChange } from '@angular/material/radio';
|
|
3
|
+
import { EntityTableComponent, EntityTableTemplate } from '@igo2/common';
|
|
4
|
+
import { LanguageService, MessageService } from '@igo2/core';
|
|
5
|
+
import { IgoMap } from '@igo2/geo';
|
|
6
|
+
import { MapProximityState } from '../map-proximity.state';
|
|
7
|
+
import { MapState } from '../map.state';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class MapProximityToolComponent implements OnInit, OnDestroy {
|
|
10
|
+
mapState: MapState;
|
|
11
|
+
mapProximityState: MapProximityState;
|
|
12
|
+
private languageService;
|
|
13
|
+
private messageService;
|
|
14
|
+
private subs$$;
|
|
15
|
+
table: EntityTableComponent;
|
|
16
|
+
get maxDistance(): number;
|
|
17
|
+
set maxDistance(value: number);
|
|
18
|
+
get map(): IgoMap;
|
|
19
|
+
userDefinedMapCenter: boolean;
|
|
20
|
+
userDefinedFollowPosition: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Table template
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
tableTemplate: EntityTableTemplate;
|
|
26
|
+
constructor(mapState: MapState, mapProximityState: MapProximityState, languageService: LanguageService, messageService: MessageService);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
onLocationTypeChange(e: MatRadioChange): void;
|
|
30
|
+
/**
|
|
31
|
+
* Copy the coordinates to a clipboard
|
|
32
|
+
*/
|
|
33
|
+
copyTextToClipboard(): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapProximityToolComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MapProximityToolComponent, "igo-map-proximity-tool", never, {}, {}, never, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { FeatureStore, Feature, IgoMap, Layer } from '@igo2/geo';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { MapState } from '../map/map.state';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Service that holds the state of the direction module
|
|
7
|
+
*/
|
|
8
|
+
export declare class MapProximityState {
|
|
9
|
+
private mapState;
|
|
10
|
+
enabled$: BehaviorSubject<boolean>;
|
|
11
|
+
proximityRadiusValue$: BehaviorSubject<number>;
|
|
12
|
+
proximitylocationType$: BehaviorSubject<string>;
|
|
13
|
+
proximityFeatureStore: FeatureStore<Feature>;
|
|
14
|
+
private subs$$;
|
|
15
|
+
currentPositionCoordinate$: BehaviorSubject<[number, number]>;
|
|
16
|
+
get map(): IgoMap;
|
|
17
|
+
constructor(mapState: MapState);
|
|
18
|
+
subscribeProximityMonitor(): void;
|
|
19
|
+
/**
|
|
20
|
+
* Add a feature with proximity properties to the store
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
private addFeatureToStore;
|
|
24
|
+
getQueryTitle(feature: Feature, layer: Layer): string;
|
|
25
|
+
getLabelMatch(feature: Feature, labelMatch: any): string;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapProximityState, never>;
|
|
27
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MapProximityState>;
|
|
28
|
+
}
|
package/lib/map/map.module.d.ts
CHANGED
|
@@ -1,36 +1,38 @@
|
|
|
1
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "./advanced-map-tool/advanced-map-tool.component";
|
|
4
|
-
import * as i2 from "./map-tool/map-tool.component";
|
|
5
|
-
import * as i3 from "./map-
|
|
6
|
-
import * as i4 from "./map-
|
|
7
|
-
import * as i5 from "./map-
|
|
8
|
-
import * as i6 from "./
|
|
9
|
-
import * as i7 from "./advanced-map-tool/advanced-
|
|
10
|
-
import * as i8 from "
|
|
11
|
-
import * as i9 from "@angular/
|
|
12
|
-
import * as i10 from "@angular/material/
|
|
13
|
-
import * as i11 from "@angular/material/
|
|
14
|
-
import * as i12 from "@angular/material/
|
|
15
|
-
import * as i13 from "@angular/material/
|
|
16
|
-
import * as i14 from "@angular/material/
|
|
17
|
-
import * as i15 from "@angular/material/
|
|
18
|
-
import * as i16 from "@
|
|
19
|
-
import * as i17 from "@
|
|
20
|
-
import * as i18 from "@angular/
|
|
21
|
-
import * as i19 from "@angular/material/
|
|
22
|
-
import * as i20 from "@angular/material/
|
|
23
|
-
import * as i21 from "@
|
|
24
|
-
import * as i22 from "@igo2/
|
|
25
|
-
import * as i23 from "@igo2/
|
|
26
|
-
import * as i24 from "
|
|
27
|
-
import * as i25 from "@
|
|
28
|
-
import * as i26 from "
|
|
29
|
-
import * as i27 from "@angular/material/
|
|
30
|
-
import * as i28 from "@angular/material/
|
|
4
|
+
import * as i2 from "./map-proximity-tool/map-proximity-tool.component";
|
|
5
|
+
import * as i3 from "./map-tool/map-tool.component";
|
|
6
|
+
import * as i4 from "./map-tools/map-tools.component";
|
|
7
|
+
import * as i5 from "./map-details-tool/map-details-tool.component";
|
|
8
|
+
import * as i6 from "./map-legend/map-legend-tool.component";
|
|
9
|
+
import * as i7 from "./advanced-map-tool/advanced-swipe/advanced-swipe.component";
|
|
10
|
+
import * as i8 from "./advanced-map-tool/advanced-coordinates/advanced-coordinates.component";
|
|
11
|
+
import * as i9 from "@angular/forms";
|
|
12
|
+
import * as i10 from "@angular/material/button-toggle";
|
|
13
|
+
import * as i11 from "@angular/material/divider";
|
|
14
|
+
import * as i12 from "@angular/material/select";
|
|
15
|
+
import * as i13 from "@angular/material/core";
|
|
16
|
+
import * as i14 from "@angular/material/form-field";
|
|
17
|
+
import * as i15 from "@angular/material/input";
|
|
18
|
+
import * as i16 from "@angular/material/checkbox";
|
|
19
|
+
import * as i17 from "@igo2/common";
|
|
20
|
+
import * as i18 from "@angular/common";
|
|
21
|
+
import * as i19 from "@angular/material/tabs";
|
|
22
|
+
import * as i20 from "@angular/material/list";
|
|
23
|
+
import * as i21 from "@angular/material/icon";
|
|
24
|
+
import * as i22 from "@igo2/core";
|
|
25
|
+
import * as i23 from "@igo2/geo";
|
|
26
|
+
import * as i24 from "@angular/material/radio";
|
|
27
|
+
import * as i25 from "@igo2/context";
|
|
28
|
+
import * as i26 from "../workspace/workspace.module";
|
|
29
|
+
import * as i27 from "@angular/material/slide-toggle";
|
|
30
|
+
import * as i28 from "@angular/material/menu";
|
|
31
|
+
import * as i29 from "@angular/material/button";
|
|
32
|
+
import * as i30 from "@angular/material/tooltip";
|
|
31
33
|
export declare class IgoAppMapModule {
|
|
32
34
|
static forRoot(): ModuleWithProviders<IgoAppMapModule>;
|
|
33
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgoAppMapModule, never>;
|
|
34
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoAppMapModule, [typeof i1.AdvancedMapToolComponent, typeof i2.
|
|
36
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoAppMapModule, [typeof i1.AdvancedMapToolComponent, typeof i2.MapProximityToolComponent, typeof i3.MapToolComponent, typeof i4.MapToolsComponent, typeof i5.MapDetailsToolComponent, typeof i6.MapLegendToolComponent, typeof i7.AdvancedSwipeComponent, typeof i8.AdvancedCoordinatesComponent], [typeof i9.FormsModule, typeof i9.ReactiveFormsModule, typeof i10.MatButtonToggleModule, typeof i11.MatDividerModule, typeof i12.MatSelectModule, typeof i13.MatOptionModule, typeof i14.MatFormFieldModule, typeof i15.MatInputModule, typeof i16.MatCheckboxModule, typeof i17.IgoSpinnerModule, typeof i18.CommonModule, typeof i19.MatTabsModule, typeof i20.MatListModule, typeof i21.MatIconModule, typeof i22.IgoLanguageModule, typeof i23.IgoLayerModule, typeof i23.IgoMetadataModule, typeof i23.IgoDownloadModule, typeof i23.IgoImportExportModule, typeof i23.IgoFilterModule, typeof i24.MatRadioModule, typeof i25.IgoContextModule, typeof i26.IgoAppWorkspaceModule, typeof i27.MatSlideToggleModule, typeof i28.MatMenuModule, typeof i29.MatButtonModule, typeof i30.MatTooltipModule, typeof i17.IgoEntityTableModule], [typeof i1.AdvancedMapToolComponent, typeof i2.MapProximityToolComponent, typeof i3.MapToolComponent, typeof i4.MapToolsComponent, typeof i5.MapDetailsToolComponent, typeof i6.MapLegendToolComponent]>;
|
|
35
37
|
static ɵinj: i0.ɵɵInjectorDeclaration<IgoAppMapModule>;
|
|
36
38
|
}
|
package/lib/map/map.state.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { StorageService } from '@igo2/core';
|
|
1
2
|
import { IgoMap, MapService, ProjectionService } from '@igo2/geo';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
/**
|
|
@@ -6,6 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
6
7
|
export declare class MapState {
|
|
7
8
|
private mapService;
|
|
8
9
|
private projectionService;
|
|
10
|
+
private storageService;
|
|
9
11
|
get showAllLegendsValue(): boolean;
|
|
10
12
|
set showAllLegendsValue(value: boolean);
|
|
11
13
|
private _legendToolShowAll;
|
|
@@ -14,7 +16,8 @@ export declare class MapState {
|
|
|
14
16
|
*/
|
|
15
17
|
get map(): IgoMap;
|
|
16
18
|
private _map;
|
|
17
|
-
constructor(mapService: MapService, projectionService: ProjectionService
|
|
19
|
+
constructor(mapService: MapService, projectionService: ProjectionService, // Don't remove this or it'll never be injected,
|
|
20
|
+
storageService: StorageService);
|
|
18
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapState, never>;
|
|
19
22
|
static ɵprov: i0.ɵɵInjectableDeclaration<MapState>;
|
|
20
23
|
}
|
|
@@ -21,6 +21,10 @@ export declare class SearchResultsToolComponent implements OnInit, OnDestroy {
|
|
|
21
21
|
* to show hide results icons
|
|
22
22
|
*/
|
|
23
23
|
showIcons: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Determine the top panel default state
|
|
26
|
+
*/
|
|
27
|
+
topPanelStateDefault: string;
|
|
24
28
|
private hasFeatureEmphasisOnSelection;
|
|
25
29
|
private showResultsGeometries$$;
|
|
26
30
|
private getRoute$$;
|
|
@@ -31,6 +35,8 @@ export declare class SearchResultsToolComponent implements OnInit, OnDestroy {
|
|
|
31
35
|
private isSelectedResultOutOfView$$;
|
|
32
36
|
private abstractFocusedResult;
|
|
33
37
|
private abstractSelectedResult;
|
|
38
|
+
debouncedEmpty$: BehaviorSubject<boolean>;
|
|
39
|
+
private debouncedEmpty$$;
|
|
34
40
|
/**
|
|
35
41
|
* Store holding the search results
|
|
36
42
|
* @internal
|
|
@@ -88,5 +94,5 @@ export declare class SearchResultsToolComponent implements OnInit, OnDestroy {
|
|
|
88
94
|
isScrolledIntoView(elemSource: any, elem: any): boolean;
|
|
89
95
|
getRoute(): void;
|
|
90
96
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchResultsToolComponent, never>;
|
|
91
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchResultsToolComponent, "igo-search-results-tool", never, { "showIcons": "showIcons"; "topPanelState": "topPanelState"; }, {}, never, never>;
|
|
97
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchResultsToolComponent, "igo-search-results-tool", never, { "showIcons": "showIcons"; "topPanelStateDefault": "topPanelStateDefault"; "topPanelState": "topPanelState"; }, {}, never, never>;
|
|
92
98
|
}
|
|
@@ -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;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { Workspace, WorkspaceStore, Widget } from '@igo2/common';
|
|
2
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
+
import { EntityRecord, Workspace, WorkspaceStore, Widget, EntityState } 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,9 @@ export declare class WorkspaceState implements OnDestroy {
|
|
|
35
37
|
*/
|
|
36
38
|
get store(): WorkspaceStore;
|
|
37
39
|
private _store;
|
|
38
|
-
|
|
40
|
+
get workspaceSelection(): EntityRecord<object, EntityState>[];
|
|
41
|
+
get workspaceSelection$(): Observable<EntityRecord<object, EntityState>[]>;
|
|
42
|
+
constructor(featureActionsService: FeatureActionsService, wfsActionsService: WfsActionsService, editionActionsService: EditionActionsService, storageService: StorageService);
|
|
39
43
|
/**
|
|
40
44
|
* Initialize the workspace store. Each time a workspace is activated,
|
|
41
45
|
* subscribe to it's active widget. Tracking the active widget is useful
|
|
@@ -44,6 +48,7 @@ export declare class WorkspaceState implements OnDestroy {
|
|
|
44
48
|
private initWorkspaces;
|
|
45
49
|
private setWorkspaceIsMaximized;
|
|
46
50
|
setActiveWorkspaceById(id: string): void;
|
|
51
|
+
setActiveWorkspaceByTitle(title: string): void;
|
|
47
52
|
/**
|
|
48
53
|
* Teardown all the workspaces
|
|
49
54
|
* @internal
|
package/ngcc.config.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
ignorableDeepImportMatchers: [/ol\//]
|
|
3
|
-
};
|
|
1
|
+
module.exports = {
|
|
2
|
+
ignorableDeepImportMatchers: [/ol\//]
|
|
3
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igo2/integration",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.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.
|
|
22
|
-
"@igo2/context": "1.
|
|
21
|
+
"@igo2/geo": "1.12.0",
|
|
22
|
+
"@igo2/context": "1.12.0",
|
|
23
23
|
"rxjs": "^6.6.7"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|