@provoly/dashboard 0.14.1 → 0.14.3
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/dataset/i18n/en.translations.d.ts +1 -0
- package/dataset/i18n/fr.translations.d.ts +1 -0
- package/esm2022/dataset/components/dataset-card/dataset-card.component.mjs +3 -3
- package/esm2022/dataset/i18n/en.translations.mjs +2 -1
- package/esm2022/dataset/i18n/fr.translations.mjs +2 -1
- package/esm2022/import/components/import.component.mjs +3 -3
- package/esm2022/import/i18n/en.translations.mjs +3 -3
- package/esm2022/import/i18n/fr.translations.mjs +3 -2
- package/esm2022/lib/core/components/modal-status/modal-status.component.mjs +3 -3
- package/esm2022/lib/core/i18n/en.translations.mjs +3 -3
- package/esm2022/lib/core/model/widget-map-manifest.interface.mjs +1 -1
- package/esm2022/presentation/i18n/en.translations.mjs +2 -2
- package/esm2022/restitution/i18n/en.translations.mjs +6 -2
- package/esm2022/supervision/i18n/en.translations.mjs +3 -3
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +59 -24
- package/esm2022/widgets/widget-map/component/wms.service.mjs +67 -0
- package/esm2022/widgets/widget-map/i18n/en.translations.mjs +2 -2
- package/esm2022/widgets/widget-map/i18n/fr.translations.mjs +2 -2
- package/esm2022/widgets/widget-map/pipe/widget-map-legend-url.pipe.mjs +20 -60
- package/esm2022/widgets/widget-map/public-api.mjs +2 -1
- package/esm2022/widgets/widget-map/utils/cql-utils.class.mjs +2 -2
- package/esm2022/widgets/widget-map/utils/xml-utils.class.mjs +7 -5
- package/fesm2022/provoly-dashboard-dataset.mjs +4 -2
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-import.mjs +6 -5
- package/fesm2022/provoly-dashboard-import.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-presentation.mjs +1 -1
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-restitution.mjs +5 -1
- package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-supervision.mjs +2 -2
- package/fesm2022/provoly-dashboard-supervision.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +174 -117
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +6 -4
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/import/i18n/en.translations.d.ts +2 -2
- package/import/i18n/fr.translations.d.ts +2 -1
- package/lib/core/components/modal-status/modal-status.component.d.ts +0 -1
- package/lib/core/model/widget-map-manifest.interface.d.ts +2 -0
- package/package.json +13 -13
- package/restitution/i18n/en.translations.d.ts +4 -0
- package/supervision/i18n/en.translations.d.ts +2 -2
- package/widgets/widget-map/component/widget-map.component.d.ts +5 -2
- package/widgets/widget-map/component/wms.service.d.ts +18 -0
- package/widgets/widget-map/pipe/widget-map-legend-url.pipe.d.ts +5 -5
- package/widgets/widget-map/public-api.d.ts +1 -0
|
@@ -6,8 +6,8 @@ export declare const enTranslations: {
|
|
|
6
6
|
import: string;
|
|
7
7
|
errorTitle: string;
|
|
8
8
|
successTitle: string;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
uploadTitlezip: string;
|
|
10
|
+
uploadTitlecsv: string;
|
|
11
11
|
selectFile: string;
|
|
12
12
|
importedLines: string;
|
|
13
13
|
consultDataset: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/dashboard",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.3",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "15.x || 16.x",
|
|
@@ -86,18 +86,18 @@
|
|
|
86
86
|
"esm": "./esm2022/admin/provoly-dashboard-admin.mjs",
|
|
87
87
|
"default": "./fesm2022/provoly-dashboard-admin.mjs"
|
|
88
88
|
},
|
|
89
|
-
"./import": {
|
|
90
|
-
"types": "./import/index.d.ts",
|
|
91
|
-
"esm2022": "./esm2022/import/provoly-dashboard-import.mjs",
|
|
92
|
-
"esm": "./esm2022/import/provoly-dashboard-import.mjs",
|
|
93
|
-
"default": "./fesm2022/provoly-dashboard-import.mjs"
|
|
94
|
-
},
|
|
95
89
|
"./dataset": {
|
|
96
90
|
"types": "./dataset/index.d.ts",
|
|
97
91
|
"esm2022": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
|
|
98
92
|
"esm": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
|
|
99
93
|
"default": "./fesm2022/provoly-dashboard-dataset.mjs"
|
|
100
94
|
},
|
|
95
|
+
"./import": {
|
|
96
|
+
"types": "./import/index.d.ts",
|
|
97
|
+
"esm2022": "./esm2022/import/provoly-dashboard-import.mjs",
|
|
98
|
+
"esm": "./esm2022/import/provoly-dashboard-import.mjs",
|
|
99
|
+
"default": "./fesm2022/provoly-dashboard-import.mjs"
|
|
100
|
+
},
|
|
101
101
|
"./notification": {
|
|
102
102
|
"types": "./notification/index.d.ts",
|
|
103
103
|
"esm2022": "./esm2022/notification/provoly-dashboard-notification.mjs",
|
|
@@ -152,18 +152,18 @@
|
|
|
152
152
|
"esm": "./esm2022/components/checkbox/provoly-dashboard-components-checkbox.mjs",
|
|
153
153
|
"default": "./fesm2022/provoly-dashboard-components-checkbox.mjs"
|
|
154
154
|
},
|
|
155
|
-
"./components/expand-panel": {
|
|
156
|
-
"types": "./components/expand-panel/index.d.ts",
|
|
157
|
-
"esm2022": "./esm2022/components/expand-panel/provoly-dashboard-components-expand-panel.mjs",
|
|
158
|
-
"esm": "./esm2022/components/expand-panel/provoly-dashboard-components-expand-panel.mjs",
|
|
159
|
-
"default": "./fesm2022/provoly-dashboard-components-expand-panel.mjs"
|
|
160
|
-
},
|
|
161
155
|
"./components/filter": {
|
|
162
156
|
"types": "./components/filter/index.d.ts",
|
|
163
157
|
"esm2022": "./esm2022/components/filter/provoly-dashboard-components-filter.mjs",
|
|
164
158
|
"esm": "./esm2022/components/filter/provoly-dashboard-components-filter.mjs",
|
|
165
159
|
"default": "./fesm2022/provoly-dashboard-components-filter.mjs"
|
|
166
160
|
},
|
|
161
|
+
"./components/expand-panel": {
|
|
162
|
+
"types": "./components/expand-panel/index.d.ts",
|
|
163
|
+
"esm2022": "./esm2022/components/expand-panel/provoly-dashboard-components-expand-panel.mjs",
|
|
164
|
+
"esm": "./esm2022/components/expand-panel/provoly-dashboard-components-expand-panel.mjs",
|
|
165
|
+
"default": "./fesm2022/provoly-dashboard-components-expand-panel.mjs"
|
|
166
|
+
},
|
|
167
167
|
"./components/metadata-editor": {
|
|
168
168
|
"types": "./components/metadata-editor/index.d.ts",
|
|
169
169
|
"esm2022": "./esm2022/components/metadata-editor/provoly-dashboard-components-metadata-editor.mjs",
|
|
@@ -8,8 +8,8 @@ export declare const enTranslations: {
|
|
|
8
8
|
acknowledgeErrors: string;
|
|
9
9
|
menus: {
|
|
10
10
|
infrastructures: string;
|
|
11
|
-
|
|
12
|
-
'business-
|
|
11
|
+
'input-flows': string;
|
|
12
|
+
'business-datas': string;
|
|
13
13
|
'integration-errors': string;
|
|
14
14
|
};
|
|
15
15
|
infrastructures: {
|
|
@@ -13,6 +13,7 @@ import { Style } from 'ol/style';
|
|
|
13
13
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
14
14
|
import { InteractionManager } from '../interaction/interaction-manager.class';
|
|
15
15
|
import { WidgetMapLayerService } from './widget-map-layer.service';
|
|
16
|
+
import { GetCapabilitiesResponse, WmsService } from './wms.service';
|
|
16
17
|
import * as i0 from "@angular/core";
|
|
17
18
|
export declare const TOOLTIP_PADDING = 15;
|
|
18
19
|
export declare class WidgetMapComponent extends DataWidgetComponent implements AfterViewInit, OnDestroy {
|
|
@@ -24,6 +25,7 @@ export declare class WidgetMapComponent extends DataWidgetComponent implements A
|
|
|
24
25
|
private symbolService;
|
|
25
26
|
private injector;
|
|
26
27
|
private widgetMapLayerService;
|
|
28
|
+
private wmsService;
|
|
27
29
|
mapUrl$: Observable<string>;
|
|
28
30
|
mapRef: ElementRef;
|
|
29
31
|
popup: ElementRef;
|
|
@@ -83,7 +85,8 @@ export declare class WidgetMapComponent extends DataWidgetComponent implements A
|
|
|
83
85
|
tooltipNumber: number;
|
|
84
86
|
STYLE_FROM_URL: string;
|
|
85
87
|
NO_STYLE: string;
|
|
86
|
-
|
|
88
|
+
wmsCapabilities$: Observable<(GetCapabilitiesResponse | null)[]>;
|
|
89
|
+
constructor(store: Store<any>, snackBar: PrySnackbarService, translateService: PryI18nService, tooltipFactoryService: TooltipFactoryService, overlay: cdkOverlay, viewContainerRef: ViewContainerRef, symbolService: SymbolService, injector: Injector, widgetMapLayerService: WidgetMapLayerService, el: ElementRef, wmsService: WmsService);
|
|
87
90
|
initInteractionManager(): InteractionManager;
|
|
88
91
|
ngAfterViewInit(): void;
|
|
89
92
|
initResultSet$(): Observable<import("@provoly/dashboard").ResultSet>;
|
|
@@ -92,7 +95,7 @@ export declare class WidgetMapComponent extends DataWidgetComponent implements A
|
|
|
92
95
|
coordinates: Pixel;
|
|
93
96
|
values: any;
|
|
94
97
|
}): Promise<ComponentRef<BaseTooltipComponent> | null>;
|
|
95
|
-
setDefaultLayerTitle(layer: MapWidgetLayerOptions,
|
|
98
|
+
setDefaultLayerTitle(layer: MapWidgetLayerOptions, capabilities: (GetCapabilitiesResponse | null)[]): void;
|
|
96
99
|
fitMapForObjects(fit: boolean, selectedIds?: string[]): void;
|
|
97
100
|
private getAttributesForDrawing;
|
|
98
101
|
private getIntensityAttribute;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { MapGeoServerLayerOptions, MapWMSLayerLayerOptions } from '@provoly/dashboard';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type GetCapabilitiesResponse = {
|
|
6
|
+
url: string;
|
|
7
|
+
paramLayer: string;
|
|
8
|
+
doc: Document;
|
|
9
|
+
};
|
|
10
|
+
export declare class WmsService {
|
|
11
|
+
private httpClient;
|
|
12
|
+
parser: DOMParser;
|
|
13
|
+
constructor(httpClient: HttpClient);
|
|
14
|
+
getCapabilities(wmsLayer: MapGeoServerLayerOptions | MapWMSLayerLayerOptions): Observable<GetCapabilitiesResponse | null>;
|
|
15
|
+
static getMatchingLayer(paramLayer: string, doc: Document): ChildNode | null;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WmsService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WmsService>;
|
|
18
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
1
|
import { PipeTransform } from '@angular/core';
|
|
3
2
|
import { MapGeoServerLayerOptions, MapWMSLayerLayerOptions } from '@provoly/dashboard';
|
|
4
|
-
import {
|
|
3
|
+
import { GetCapabilitiesResponse } from '../component/wms.service';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class WidgetMapLegendUrlPipe implements PipeTransform {
|
|
7
|
-
|
|
8
|
-
constructor(httpClient: HttpClient);
|
|
6
|
+
constructor();
|
|
9
7
|
parser: DOMParser;
|
|
10
|
-
transform(geoLayer: MapGeoServerLayerOptions | MapWMSLayerLayerOptions
|
|
8
|
+
transform(geoLayer: MapGeoServerLayerOptions | MapWMSLayerLayerOptions, ...args: [{
|
|
9
|
+
capabilities: (GetCapabilitiesResponse | null)[] | null;
|
|
10
|
+
}]): string;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetMapLegendUrlPipe, never>;
|
|
12
12
|
static ɵpipe: i0.ɵɵPipeDeclaration<WidgetMapLegendUrlPipe, "legendUrl", false>;
|
|
13
13
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './widget-map.module';
|
|
2
2
|
export * from './component/widget-map.component';
|
|
3
3
|
export * from './component/widget-map-layer.service';
|
|
4
|
+
export * from './component/wms.service';
|
|
4
5
|
export * from './pipe/widget-map-geometry-fields-for.pipe';
|
|
5
6
|
export * from './pipe/widget-map-legend-url.pipe';
|
|
6
7
|
export * from './interaction/interaction-manager.class';
|