@provoly/dashboard 0.19.12 → 0.20.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "0.19.12",
3
+ "version": "0.20.1",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "14.x || 15.x || 16.x",
@@ -139,6 +139,36 @@
139
139
  "esm": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
140
140
  "default": "./fesm2022/provoly-dashboard-toolbox.mjs"
141
141
  },
142
+ "./filters/autocomplete": {
143
+ "types": "./filters/autocomplete/index.d.ts",
144
+ "esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
145
+ "esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
146
+ "default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
147
+ },
148
+ "./filters/date": {
149
+ "types": "./filters/date/index.d.ts",
150
+ "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
151
+ "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
152
+ "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
153
+ },
154
+ "./filters/list": {
155
+ "types": "./filters/list/index.d.ts",
156
+ "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
157
+ "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
158
+ "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
159
+ },
160
+ "./filters/number": {
161
+ "types": "./filters/number/index.d.ts",
162
+ "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
163
+ "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
164
+ "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
165
+ },
166
+ "./filters/text": {
167
+ "types": "./filters/text/index.d.ts",
168
+ "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
169
+ "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
170
+ "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
171
+ },
142
172
  "./components/card": {
143
173
  "types": "./components/card/index.d.ts",
144
174
  "esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
@@ -193,36 +223,6 @@
193
223
  "esm": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
194
224
  "default": "./fesm2022/provoly-dashboard-components-stepper.mjs"
195
225
  },
196
- "./filters/autocomplete": {
197
- "types": "./filters/autocomplete/index.d.ts",
198
- "esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
199
- "esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
200
- "default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
201
- },
202
- "./filters/date": {
203
- "types": "./filters/date/index.d.ts",
204
- "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
205
- "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
206
- "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
207
- },
208
- "./filters/list": {
209
- "types": "./filters/list/index.d.ts",
210
- "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
211
- "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
212
- "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
213
- },
214
- "./filters/number": {
215
- "types": "./filters/number/index.d.ts",
216
- "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
217
- "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
218
- "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
219
- },
220
- "./filters/text": {
221
- "types": "./filters/text/index.d.ts",
222
- "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
223
- "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
224
- "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
225
- },
226
226
  "./pipeline-components/filter": {
227
227
  "types": "./pipeline-components/filter/index.d.ts",
228
228
  "esm2022": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
@@ -253,18 +253,18 @@
253
253
  "esm": "./esm2022/pipeline-components/subgraph/provoly-dashboard-pipeline-components-subgraph.mjs",
254
254
  "default": "./fesm2022/provoly-dashboard-pipeline-components-subgraph.mjs"
255
255
  },
256
- "./tooltips/cluster": {
257
- "types": "./tooltips/cluster/index.d.ts",
258
- "esm2022": "./esm2022/tooltips/cluster/provoly-dashboard-tooltips-cluster.mjs",
259
- "esm": "./esm2022/tooltips/cluster/provoly-dashboard-tooltips-cluster.mjs",
260
- "default": "./fesm2022/provoly-dashboard-tooltips-cluster.mjs"
261
- },
262
256
  "./tooltips/attribute": {
263
257
  "types": "./tooltips/attribute/index.d.ts",
264
258
  "esm2022": "./esm2022/tooltips/attribute/provoly-dashboard-tooltips-attribute.mjs",
265
259
  "esm": "./esm2022/tooltips/attribute/provoly-dashboard-tooltips-attribute.mjs",
266
260
  "default": "./fesm2022/provoly-dashboard-tooltips-attribute.mjs"
267
261
  },
262
+ "./tooltips/cluster": {
263
+ "types": "./tooltips/cluster/index.d.ts",
264
+ "esm2022": "./esm2022/tooltips/cluster/provoly-dashboard-tooltips-cluster.mjs",
265
+ "esm": "./esm2022/tooltips/cluster/provoly-dashboard-tooltips-cluster.mjs",
266
+ "default": "./fesm2022/provoly-dashboard-tooltips-cluster.mjs"
267
+ },
268
268
  "./widgets/widget-aggregated-chart": {
269
269
  "types": "./widgets/widget-aggregated-chart/index.d.ts",
270
270
  "esm2022": "./esm2022/widgets/widget-aggregated-chart/provoly-dashboard-widgets-widget-aggregated-chart.mjs",
@@ -30,6 +30,7 @@
30
30
  align-items: center;
31
31
 
32
32
  &__title {
33
+ text-transform: uppercase;
33
34
  padding-bottom: 0;
34
35
  padding-left: toRem(15);
35
36
  font-size: toRem(14);
@@ -7,7 +7,6 @@ import { Geometry } from 'ol/geom';
7
7
  import { Layer } from 'ol/layer';
8
8
  import BaseLayer from 'ol/layer/Base';
9
9
  import VectorLayer from 'ol/layer/Vector';
10
- import VectorTileLayer from 'ol/layer/VectorTile';
11
10
  import { Pixel } from 'ol/pixel';
12
11
  import VectorSource from 'ol/source/Vector';
13
12
  import { Style } from 'ol/style';
@@ -15,7 +14,9 @@ import { BehaviorSubject, Observable } from 'rxjs';
15
14
  import { InteractionManager } from '../interaction/interaction-manager.class';
16
15
  import { WidgetMapLayerService } from './widget-map-layer.service';
17
16
  import { LayerSlider } from '../interaction/layer-slider.class';
17
+ import TileLayer from 'ol/layer/Tile';
18
18
  import { Attribution } from 'ol/control';
19
+ import VectorTileLayer from 'ol/layer/VectorTile';
19
20
  import * as i0 from "@angular/core";
20
21
  export declare const TOOLTIP_PADDING = 15;
21
22
  export declare const NON_MANDATORY_FIT_LAYER_TYPES: string[];
@@ -79,7 +80,7 @@ export declare class WidgetMapComponent extends DataWidgetComponent implements A
79
80
  }>;
80
81
  mapStyleUrl$: Observable<string | null>;
81
82
  interactionManager: InteractionManager;
82
- mapStyleLayer$: Observable<VectorTileLayer[]>;
83
+ mapStyleLayer$: Observable<(VectorTileLayer | TileLayer<any>)[]>;
83
84
  tooltipIndex: number;
84
85
  tooltipNumber: number;
85
86
  STYLE_FROM_URL: string;
@@ -91,6 +92,7 @@ export declare class WidgetMapComponent extends DataWidgetComponent implements A
91
92
  fitExtents$: Observable<{
92
93
  datasource: string;
93
94
  extent: Coordinate[];
95
+ error: boolean;
94
96
  }[]>;
95
97
  datasourceFilters$: Observable<any>;
96
98
  usedClasses$: Observable<any>;
@@ -1,4 +1,4 @@
1
- import { AggregationResult, Attribute, AttributeSimpleValue, Class, Field, GetCapabilitiesResponse, Item, MapGeoServerLayerOptions, MapWidgetLayerOptions, Relation, ResultSet } from '@provoly/dashboard';
1
+ import { AggregationResult, Attribute, Class, Field, GetCapabilitiesResponse, Item, MapGeoServerLayerOptions, MapWidgetLayerOptions, Relation, ResultSet } from '@provoly/dashboard';
2
2
  import { Feature, Map } from 'ol';
3
3
  import { Circle, LineString, Point } from 'ol/geom';
4
4
  import { Style } from 'ol/style';
@@ -15,11 +15,11 @@ export declare class WidgetMapUtils {
15
15
  static geometryForLayer(layer: MapWidgetLayerOptions): string;
16
16
  static assignLayersOrder(_layers: MapWidgetLayerOptions[]): MapWidgetLayerOptions[];
17
17
  static readGeometry<T extends 'point' | 'line' | 'multi-line' | 'polygon' | 'multi-polygon'>(projection: ProjectionLike, item: Item, type: T, attribute: Attribute | undefined): Geometry | null | undefined;
18
- static extractGeometries(value: AttributeSimpleValue, points: any[], type: 'point' | 'line' | 'polygon'): void;
19
18
  static projectExtentAggregationResponse(field: Field, extentResponse: AggregationResult, layer: MapGeoServerLayerOptions, wmsCapabilities: {
20
19
  [p: string]: GetCapabilitiesResponse | null;
21
20
  } | undefined, map: Map): {
22
21
  datasource: string;
22
+ error: boolean;
23
23
  extent: import("ol/coordinate").Coordinate[];
24
24
  };
25
25
  static DEFAULT_HEATMAP_RADIUS: number;