@provoly/dashboard 0.13.10 → 0.13.11
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/esm2022/lib/dashboard/store/dashboard.actions.mjs +2 -1
- package/esm2022/lib/dashboard/store/dashboard.reducers.mjs +2 -2
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +12 -3
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +11 -2
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +2 -1
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/dashboard/store/dashboard.actions.d.ts +1 -0
- package/package.json +43 -43
- package/schematics/ng-update/version-0-13/index.js +5 -0
- package/schematics/ng-update/version-0-13/index.js.map +1 -1
- package/widgets/widget-map/component/widget-map.component.d.ts +3 -2
|
@@ -429,6 +429,7 @@ export declare const DashboardActions: {
|
|
|
429
429
|
value: any;
|
|
430
430
|
datasourceId: string;
|
|
431
431
|
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) update filter value">>;
|
|
432
|
+
resetWmsFeatures: import("@ngrx/store").ActionCreator<"[Widget map] Reset Wms layer features", () => import("@ngrx/store/src/models").TypedAction<"[Widget map] Reset Wms layer features">>;
|
|
432
433
|
getWmsFeatures: import("@ngrx/store").ActionCreator<"[Widget map] Get Wms layer features", (props: {
|
|
433
434
|
url: string;
|
|
434
435
|
oClass: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/dashboard",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.11",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "15.x || 16.x",
|
|
@@ -43,18 +43,18 @@
|
|
|
43
43
|
"esm": "./esm2022/admin/provoly-dashboard-admin.mjs",
|
|
44
44
|
"default": "./fesm2022/provoly-dashboard-admin.mjs"
|
|
45
45
|
},
|
|
46
|
-
"./import": {
|
|
47
|
-
"types": "./import/index.d.ts",
|
|
48
|
-
"esm2022": "./esm2022/import/provoly-dashboard-import.mjs",
|
|
49
|
-
"esm": "./esm2022/import/provoly-dashboard-import.mjs",
|
|
50
|
-
"default": "./fesm2022/provoly-dashboard-import.mjs"
|
|
51
|
-
},
|
|
52
46
|
"./dataset": {
|
|
53
47
|
"types": "./dataset/index.d.ts",
|
|
54
48
|
"esm2022": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
|
|
55
49
|
"esm": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
|
|
56
50
|
"default": "./fesm2022/provoly-dashboard-dataset.mjs"
|
|
57
51
|
},
|
|
52
|
+
"./import": {
|
|
53
|
+
"types": "./import/index.d.ts",
|
|
54
|
+
"esm2022": "./esm2022/import/provoly-dashboard-import.mjs",
|
|
55
|
+
"esm": "./esm2022/import/provoly-dashboard-import.mjs",
|
|
56
|
+
"default": "./fesm2022/provoly-dashboard-import.mjs"
|
|
57
|
+
},
|
|
58
58
|
"./notification": {
|
|
59
59
|
"types": "./notification/index.d.ts",
|
|
60
60
|
"esm2022": "./esm2022/notification/provoly-dashboard-notification.mjs",
|
|
@@ -97,30 +97,6 @@
|
|
|
97
97
|
"esm": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
|
|
98
98
|
"default": "./fesm2022/provoly-dashboard-toolbox.mjs"
|
|
99
99
|
},
|
|
100
|
-
"./filters/date": {
|
|
101
|
-
"types": "./filters/date/index.d.ts",
|
|
102
|
-
"esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
103
|
-
"esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
104
|
-
"default": "./fesm2022/provoly-dashboard-filters-date.mjs"
|
|
105
|
-
},
|
|
106
|
-
"./filters/list": {
|
|
107
|
-
"types": "./filters/list/index.d.ts",
|
|
108
|
-
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
109
|
-
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
110
|
-
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
111
|
-
},
|
|
112
|
-
"./filters/number": {
|
|
113
|
-
"types": "./filters/number/index.d.ts",
|
|
114
|
-
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
115
|
-
"esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
116
|
-
"default": "./fesm2022/provoly-dashboard-filters-number.mjs"
|
|
117
|
-
},
|
|
118
|
-
"./filters/text": {
|
|
119
|
-
"types": "./filters/text/index.d.ts",
|
|
120
|
-
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
121
|
-
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
122
|
-
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
123
|
-
},
|
|
124
100
|
"./components/card": {
|
|
125
101
|
"types": "./components/card/index.d.ts",
|
|
126
102
|
"esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
|
|
@@ -133,18 +109,18 @@
|
|
|
133
109
|
"esm": "./esm2022/components/checkbox/provoly-dashboard-components-checkbox.mjs",
|
|
134
110
|
"default": "./fesm2022/provoly-dashboard-components-checkbox.mjs"
|
|
135
111
|
},
|
|
136
|
-
"./components/expand-panel": {
|
|
137
|
-
"types": "./components/expand-panel/index.d.ts",
|
|
138
|
-
"esm2022": "./esm2022/components/expand-panel/provoly-dashboard-components-expand-panel.mjs",
|
|
139
|
-
"esm": "./esm2022/components/expand-panel/provoly-dashboard-components-expand-panel.mjs",
|
|
140
|
-
"default": "./fesm2022/provoly-dashboard-components-expand-panel.mjs"
|
|
141
|
-
},
|
|
142
112
|
"./components/filter": {
|
|
143
113
|
"types": "./components/filter/index.d.ts",
|
|
144
114
|
"esm2022": "./esm2022/components/filter/provoly-dashboard-components-filter.mjs",
|
|
145
115
|
"esm": "./esm2022/components/filter/provoly-dashboard-components-filter.mjs",
|
|
146
116
|
"default": "./fesm2022/provoly-dashboard-components-filter.mjs"
|
|
147
117
|
},
|
|
118
|
+
"./components/expand-panel": {
|
|
119
|
+
"types": "./components/expand-panel/index.d.ts",
|
|
120
|
+
"esm2022": "./esm2022/components/expand-panel/provoly-dashboard-components-expand-panel.mjs",
|
|
121
|
+
"esm": "./esm2022/components/expand-panel/provoly-dashboard-components-expand-panel.mjs",
|
|
122
|
+
"default": "./fesm2022/provoly-dashboard-components-expand-panel.mjs"
|
|
123
|
+
},
|
|
148
124
|
"./components/metadata-editor": {
|
|
149
125
|
"types": "./components/metadata-editor/index.d.ts",
|
|
150
126
|
"esm2022": "./esm2022/components/metadata-editor/provoly-dashboard-components-metadata-editor.mjs",
|
|
@@ -163,6 +139,30 @@
|
|
|
163
139
|
"esm": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
|
|
164
140
|
"default": "./fesm2022/provoly-dashboard-components-stepper.mjs"
|
|
165
141
|
},
|
|
142
|
+
"./filters/date": {
|
|
143
|
+
"types": "./filters/date/index.d.ts",
|
|
144
|
+
"esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
145
|
+
"esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
146
|
+
"default": "./fesm2022/provoly-dashboard-filters-date.mjs"
|
|
147
|
+
},
|
|
148
|
+
"./filters/list": {
|
|
149
|
+
"types": "./filters/list/index.d.ts",
|
|
150
|
+
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
151
|
+
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
152
|
+
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
153
|
+
},
|
|
154
|
+
"./filters/number": {
|
|
155
|
+
"types": "./filters/number/index.d.ts",
|
|
156
|
+
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
157
|
+
"esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
158
|
+
"default": "./fesm2022/provoly-dashboard-filters-number.mjs"
|
|
159
|
+
},
|
|
160
|
+
"./filters/text": {
|
|
161
|
+
"types": "./filters/text/index.d.ts",
|
|
162
|
+
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
163
|
+
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
164
|
+
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
165
|
+
},
|
|
166
166
|
"./pipeline-components/filter": {
|
|
167
167
|
"types": "./pipeline-components/filter/index.d.ts",
|
|
168
168
|
"esm2022": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
|
|
@@ -199,18 +199,18 @@
|
|
|
199
199
|
"esm": "./esm2022/tooltips/attribute/provoly-dashboard-tooltips-attribute.mjs",
|
|
200
200
|
"default": "./fesm2022/provoly-dashboard-tooltips-attribute.mjs"
|
|
201
201
|
},
|
|
202
|
-
"./widgets/widget-aggregated-chart": {
|
|
203
|
-
"types": "./widgets/widget-aggregated-chart/index.d.ts",
|
|
204
|
-
"esm2022": "./esm2022/widgets/widget-aggregated-chart/provoly-dashboard-widgets-widget-aggregated-chart.mjs",
|
|
205
|
-
"esm": "./esm2022/widgets/widget-aggregated-chart/provoly-dashboard-widgets-widget-aggregated-chart.mjs",
|
|
206
|
-
"default": "./fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs"
|
|
207
|
-
},
|
|
208
202
|
"./tooltips/cluster": {
|
|
209
203
|
"types": "./tooltips/cluster/index.d.ts",
|
|
210
204
|
"esm2022": "./esm2022/tooltips/cluster/provoly-dashboard-tooltips-cluster.mjs",
|
|
211
205
|
"esm": "./esm2022/tooltips/cluster/provoly-dashboard-tooltips-cluster.mjs",
|
|
212
206
|
"default": "./fesm2022/provoly-dashboard-tooltips-cluster.mjs"
|
|
213
207
|
},
|
|
208
|
+
"./widgets/widget-aggregated-chart": {
|
|
209
|
+
"types": "./widgets/widget-aggregated-chart/index.d.ts",
|
|
210
|
+
"esm2022": "./esm2022/widgets/widget-aggregated-chart/provoly-dashboard-widgets-widget-aggregated-chart.mjs",
|
|
211
|
+
"esm": "./esm2022/widgets/widget-aggregated-chart/provoly-dashboard-widgets-widget-aggregated-chart.mjs",
|
|
212
|
+
"default": "./fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs"
|
|
213
|
+
},
|
|
214
214
|
"./widgets/widget-chart": {
|
|
215
215
|
"types": "./widgets/widget-chart/index.d.ts",
|
|
216
216
|
"esm2022": "./esm2022/widgets/widget-chart/provoly-dashboard-widgets-widget-chart.mjs",
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.updateTo0_13 = void 0;
|
|
4
4
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
5
|
const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
6
|
+
const dependencies_1 = require("@schematics/angular/utility/dependencies");
|
|
6
7
|
const complete_function_1 = require("../utils/complete.function");
|
|
7
8
|
function removeWidgetMapHoverOption() {
|
|
8
9
|
return function (tree, context) {
|
|
@@ -33,8 +34,12 @@ function changeTypeDatasetMetadataToMetadataValue() {
|
|
|
33
34
|
return undefined;
|
|
34
35
|
};
|
|
35
36
|
}
|
|
37
|
+
function removeLayerSwitcher(tree) {
|
|
38
|
+
(0, dependencies_1.removePackageJsonDependency)(tree, 'ol-layerswitcher');
|
|
39
|
+
}
|
|
36
40
|
function updateTo0_13() {
|
|
37
41
|
return (_tree, context) => {
|
|
42
|
+
removeLayerSwitcher(_tree);
|
|
38
43
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
39
44
|
return (0, schematics_1.chain)([
|
|
40
45
|
removeWidgetMapHoverOption(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../projects/provoly/dashboard/schematics/ng-update/version-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AAC,IAAI,8BAAsB,EAAE,CAAC,CAAC;QAC9C,OAAO,IAAA,kBAAK,EAAC;YACX,0BAA0B,EAAE;YAC5B,wCAAwC,EAAE;YAC1C,IAAA,uCAAmB,EAAC,MAAM,EAAE,OAAO,CAAC;SACrC,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../projects/provoly/dashboard/schematics/ng-update/version-0-13/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiF;AACjF,4DAA0E;AAC1E,2EAAuF;AACvF,kEAAiE;AAEjE,SAAS,0BAA0B;IACjC,OAAO,UAAU,IAAU,EAAE,OAAyB;QACpD,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;YACzB,IAAI,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE;gBAClD,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAC/B,IAAI,MAAM,EAAE;oBACV,IAAI,CAAC,SAAS,CACZ,IAAI,EACJ,MAAM;yBACH,QAAQ,EAAE;yBACV,OAAO,CAAC,gCAAgC,EAAE,yBAAyB,CAAC;yBACpE,OAAO,CAAC,0CAA0C,EAAE,mCAAmC,CAAC,CAC5F,CAAC;iBACH;aACF;QACH,CAAC,CAAC,CAAC;QACH,OAAO,SAAS,CAAC;IACnB,CAAC,CAAC;AACJ,CAAC;AAED,SAAS,wCAAwC;IAC/C,OAAO,UAAU,IAAU,EAAE,OAAyB;QACpD,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;YACzB,IAAI,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;gBACxB,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAC/B,IAAI,MAAM,EAAE;oBACV,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,kBAAkB,EAAE,eAAe,CAAC,CAAC,CAAC;iBACtF;aACF;QACH,CAAC,CAAC,CAAC;QACH,OAAO,SAAS,CAAC;IACnB,CAAC,CAAC;AACJ,CAAC;AAED,SAAS,mBAAmB,CAAC,IAAU;IACrC,IAAA,0CAA2B,EAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;AACxD,CAAC;AAED,SAAgB,YAAY;IAC1B,OAAO,CAAC,KAAW,EAAE,OAAyB,EAAQ,EAAE;QACtD,mBAAmB,CAAC,KAAK,CAAC,CAAC;QAC3B,OAAO,CAAC,OAAO,CAAC,IAAI,8BAAsB,EAAE,CAAC,CAAC;QAC9C,OAAO,IAAA,kBAAK,EAAC;YACX,0BAA0B,EAAE;YAC5B,wCAAwC,EAAE;YAC1C,IAAA,uCAAmB,EAAC,MAAM,EAAE,OAAO,CAAC;SACrC,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC;AAVD,oCAUC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Overlay as cdkOverlay } from '@angular/cdk/overlay';
|
|
2
|
-
import { AfterViewInit, ComponentRef, ElementRef, Injector, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { AfterViewInit, ComponentRef, ElementRef, Injector, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
3
|
import { Store } from '@ngrx/store';
|
|
4
4
|
import { BaseTooltipComponent, BaseWidgetMapLayerOptions, Class, DataWidgetComponent, Field, MapFeatureLayerOptions, MapGeoServerLayerOptions, MapRasterTileLayerOptions, MapVectorTileLayerOptions, MapWidgetBubbleLayerOptions, MapWidgetHeatMapLayerOptions, MapWidgetLayerOptions, MapWidgetMarkerLayerOptions, MapWidgetOptions, MapWMSLayerLayerOptions, MapWMTSLayerLayerOptions, PryI18nService, PrySnackbarService, SymbolService, TooltipFactoryService } from '@provoly/dashboard';
|
|
5
5
|
import { Map } from 'ol';
|
|
@@ -15,7 +15,7 @@ import { InteractionManager } from '../interaction/interaction-manager.class';
|
|
|
15
15
|
import { WidgetMapLayerService } from './widget-map-layer.service';
|
|
16
16
|
import * as i0 from "@angular/core";
|
|
17
17
|
export declare const TOOLTIP_PADDING = 15;
|
|
18
|
-
export declare class WidgetMapComponent extends DataWidgetComponent implements AfterViewInit {
|
|
18
|
+
export declare class WidgetMapComponent extends DataWidgetComponent implements AfterViewInit, OnDestroy {
|
|
19
19
|
private snackBar;
|
|
20
20
|
translateService: PryI18nService;
|
|
21
21
|
private tooltipFactoryService;
|
|
@@ -141,6 +141,7 @@ export declare class WidgetMapComponent extends DataWidgetComponent implements A
|
|
|
141
141
|
changeVisibility(layer: BaseLayer): void;
|
|
142
142
|
changeSingleLayer($event: any): void;
|
|
143
143
|
get layerVisibleIdx(): number;
|
|
144
|
+
ngOnDestroy(): void;
|
|
144
145
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetMapComponent, never>;
|
|
145
146
|
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetMapComponent, "pry-widget-map", never, {}, {}, never, never, false, never>;
|
|
146
147
|
}
|