@igo2/integration 1.9.0 → 1.10.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 +280 -155
- package/bundles/igo2-integration.umd.js.map +1 -1
- package/esm2015/lib/about/about-tool/about-tool.component.js +40 -33
- package/esm2015/lib/about/about-tool/index.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.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/index.js +1 -1
- package/esm2015/lib/directions/directions-tool/directions-tool.component.js +40 -17
- 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 +35 -17
- package/esm2015/lib/directions/index.js +2 -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 +24 -6
- 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/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.js +28 -8
- package/esm2015/lib/map/advanced-map-tool/advanced-map-tool.component.js +1 -2
- package/esm2015/lib/map/advanced-map-tool/index.js +1 -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-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.state.js +1 -1
- package/esm2015/lib/measure/index.js +1 -1
- package/esm2015/lib/measure/measure.module.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 +36 -9
- 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/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/index.js +1 -1
- package/esm2015/lib/workspace/shared/wfs-actions.service.js +1 -1
- 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 +1 -1
- package/fesm2015/igo2-integration.js +208 -99
- package/fesm2015/igo2-integration.js.map +1 -1
- package/lib/about/about-tool/about-tool.component.d.ts +3 -2
- package/lib/directions/directions-tool/directions-tool.component.d.ts +28 -7
- package/lib/directions/directions.state.d.ts +14 -10
- package/lib/directions/index.d.ts +1 -0
- package/lib/filter/spatial-filter-tool/spatial-filter-tool.component.d.ts +3 -1
- package/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.d.ts +2 -0
- package/lib/map/advanced-map-tool/advanced-map-tool.component.d.ts +1 -3
- package/lib/search/search-results-tool/search-results-tool.component.d.ts +2 -1
- package/ngcc.config.js +3 -3
- package/package.json +6 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import { ConfigService, Version } from '@igo2/core';
|
|
2
|
+
import { ConfigService, LanguageService, Version } from '@igo2/core';
|
|
3
3
|
import type { Observable } from 'rxjs';
|
|
4
4
|
import { AuthService } from '@igo2/auth';
|
|
5
5
|
import { HttpClient } from '@angular/common/http';
|
|
@@ -9,6 +9,7 @@ export declare class AboutToolComponent implements OnInit {
|
|
|
9
9
|
auth: AuthService;
|
|
10
10
|
private http;
|
|
11
11
|
private cdRef;
|
|
12
|
+
private languageService;
|
|
12
13
|
get headerHtml(): string;
|
|
13
14
|
set headerHtml(value: string);
|
|
14
15
|
get html(): string;
|
|
@@ -24,7 +25,7 @@ export declare class AboutToolComponent implements OnInit {
|
|
|
24
25
|
private baseUrlProfil;
|
|
25
26
|
private baseUrlGuide;
|
|
26
27
|
loading: boolean;
|
|
27
|
-
constructor(configService: ConfigService, auth: AuthService, http: HttpClient, cdRef: ChangeDetectorRef);
|
|
28
|
+
constructor(configService: ConfigService, auth: AuthService, http: HttpClient, cdRef: ChangeDetectorRef, languageService: LanguageService);
|
|
28
29
|
ngOnInit(): void;
|
|
29
30
|
openGuide(guide?: any): void;
|
|
30
31
|
formatFileName(name: string): string;
|
|
@@ -1,28 +1,49 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { LanguageService, MessageService, StorageService } from '@igo2/core';
|
|
3
|
+
import { IgoMap, RoutesFeatureStore, StopsFeatureStore, StopsStore, StepFeatureStore } from '@igo2/geo';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
2
5
|
import { MapState } from '../../map/map.state';
|
|
3
6
|
import { DirectionState } from '../directions.state';
|
|
4
7
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DirectionsToolComponent {
|
|
8
|
+
export declare class DirectionsToolComponent implements OnInit {
|
|
6
9
|
private directionState;
|
|
7
10
|
private mapState;
|
|
11
|
+
private languageService;
|
|
12
|
+
private messageService;
|
|
13
|
+
private storageService;
|
|
8
14
|
/**
|
|
9
15
|
* stops
|
|
10
16
|
* @internal
|
|
11
17
|
*/
|
|
12
|
-
get stopsStore():
|
|
18
|
+
get stopsStore(): StopsStore;
|
|
19
|
+
get debounceTime(): number;
|
|
20
|
+
/**
|
|
21
|
+
* stops
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
get stopsFeatureStore(): StopsFeatureStore;
|
|
13
25
|
/**
|
|
14
26
|
* routes
|
|
15
27
|
* @internal
|
|
16
28
|
*/
|
|
17
|
-
get
|
|
29
|
+
get routesFeatureStore(): RoutesFeatureStore;
|
|
30
|
+
/**
|
|
31
|
+
* step store
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
get stepFeatureStore(): StepFeatureStore;
|
|
35
|
+
/**
|
|
36
|
+
* step store
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
get zoomToActiveRoute$(): Subject<void>;
|
|
18
40
|
/**
|
|
19
41
|
* Map to measure on
|
|
20
42
|
* @internal
|
|
21
43
|
*/
|
|
22
44
|
get map(): IgoMap;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
onActiveRouteDescriptionChange(directions: any): void;
|
|
45
|
+
constructor(directionState: DirectionState, mapState: MapState, languageService: LanguageService, messageService: MessageService, storageService: StorageService);
|
|
46
|
+
ngOnInit(): void;
|
|
26
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<DirectionsToolComponent, never>;
|
|
27
48
|
static ɵcmp: i0.ɵɵComponentDeclaration<DirectionsToolComponent, "igo-directions-tool", never, {}, {}, never, never>;
|
|
28
49
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StopsStore, StopsFeatureStore, RoutesFeatureStore, StepFeatureStore } from '@igo2/geo';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
2
3
|
import { MapState } from '../map/map.state';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
/**
|
|
@@ -6,19 +7,22 @@ import * as i0 from "@angular/core";
|
|
|
6
7
|
*/
|
|
7
8
|
export declare class DirectionState {
|
|
8
9
|
private mapState;
|
|
9
|
-
|
|
10
|
+
zoomToActiveRoute$: Subject<void>;
|
|
10
11
|
/**
|
|
11
|
-
* Store that holds the stop
|
|
12
|
+
* Store that holds the stop
|
|
12
13
|
*/
|
|
13
|
-
stopsStore:
|
|
14
|
+
stopsStore: StopsStore;
|
|
14
15
|
/**
|
|
15
|
-
* Store that holds the driving
|
|
16
|
+
* Store that holds the driving stops as feature
|
|
16
17
|
*/
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
stopsFeatureStore: StopsFeatureStore;
|
|
19
|
+
/**
|
|
20
|
+
* Store that holds the driving route as feature
|
|
21
|
+
*/
|
|
22
|
+
routesFeatureStore: RoutesFeatureStore;
|
|
23
|
+
stepFeatureStore: StepFeatureStore;
|
|
24
|
+
debounceTime: number;
|
|
25
|
+
constructor(mapState: MapState);
|
|
22
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<DirectionState, never>;
|
|
23
27
|
static ɵprov: i0.ɵɵInjectableDeclaration<DirectionState>;
|
|
24
28
|
}
|
|
@@ -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
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AdvancedMapToolComponent
|
|
4
|
-
ngOnInit(): void;
|
|
2
|
+
export declare class AdvancedMapToolComponent {
|
|
5
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedMapToolComponent, never>;
|
|
6
4
|
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedMapToolComponent, "igo-advanced-map-tool", never, {}, {}, never, never>;
|
|
7
5
|
}
|
|
@@ -23,6 +23,7 @@ export declare class SearchResultsToolComponent implements OnInit, OnDestroy {
|
|
|
23
23
|
showIcons: boolean;
|
|
24
24
|
private hasFeatureEmphasisOnSelection;
|
|
25
25
|
private showResultsGeometries$$;
|
|
26
|
+
private getRoute$$;
|
|
26
27
|
private shownResultsGeometries;
|
|
27
28
|
private shownResultsEmphasisGeometries;
|
|
28
29
|
private focusedResult$;
|
|
@@ -85,7 +86,7 @@ export declare class SearchResultsToolComponent implements OnInit, OnDestroy {
|
|
|
85
86
|
*/
|
|
86
87
|
private tryAddFeatureToMap;
|
|
87
88
|
isScrolledIntoView(elemSource: any, elem: any): boolean;
|
|
88
|
-
getRoute(
|
|
89
|
+
getRoute(): void;
|
|
89
90
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchResultsToolComponent, never>;
|
|
90
91
|
static ɵcmp: i0.ɵɵComponentDeclaration<SearchResultsToolComponent, "igo-search-results-tool", never, { "showIcons": "showIcons"; "topPanelState": "topPanelState"; }, {}, never, never>;
|
|
91
92
|
}
|
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.10.0",
|
|
4
4
|
"description": "IGO Library",
|
|
5
5
|
"author": "MSP",
|
|
6
6
|
"keywords": [
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"url": "https://github.com/infra-geo-ouverte/igo2-lib/issues"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@angular/common": "^12.
|
|
20
|
-
"@angular/core": "^12.
|
|
21
|
-
"@igo2/geo": "1.
|
|
22
|
-
"@igo2/context": "1.
|
|
19
|
+
"@angular/common": "^12.2.9",
|
|
20
|
+
"@angular/core": "^12.2.9",
|
|
21
|
+
"@igo2/geo": "1.10.0",
|
|
22
|
+
"@igo2/context": "1.10.0",
|
|
23
23
|
"rxjs": "^6.6.7"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
@@ -33,5 +33,6 @@
|
|
|
33
33
|
"typings": "igo2-integration.d.ts",
|
|
34
34
|
"sideEffects": false,
|
|
35
35
|
"scripts": {
|
|
36
|
+
|
|
36
37
|
}
|
|
37
38
|
}
|