@provoly/dashboard 0.20.0 → 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.20.0",
3
+ "version": "0.20.1",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "14.x || 15.x || 16.x",
@@ -319,17 +319,17 @@
319
319
  "esm": "./esm2022/widgets/widget-template/provoly-dashboard-widgets-widget-template.mjs",
320
320
  "default": "./fesm2022/provoly-dashboard-widgets-widget-template.mjs"
321
321
  },
322
- "./widgets/widget-vega": {
323
- "types": "./widgets/widget-vega/index.d.ts",
324
- "esm2022": "./esm2022/widgets/widget-vega/provoly-dashboard-widgets-widget-vega.mjs",
325
- "esm": "./esm2022/widgets/widget-vega/provoly-dashboard-widgets-widget-vega.mjs",
326
- "default": "./fesm2022/provoly-dashboard-widgets-widget-vega.mjs"
327
- },
328
322
  "./widgets/widget-tile": {
329
323
  "types": "./widgets/widget-tile/index.d.ts",
330
324
  "esm2022": "./esm2022/widgets/widget-tile/provoly-dashboard-widgets-widget-tile.mjs",
331
325
  "esm": "./esm2022/widgets/widget-tile/provoly-dashboard-widgets-widget-tile.mjs",
332
326
  "default": "./fesm2022/provoly-dashboard-widgets-widget-tile.mjs"
327
+ },
328
+ "./widgets/widget-vega": {
329
+ "types": "./widgets/widget-vega/index.d.ts",
330
+ "esm2022": "./esm2022/widgets/widget-vega/provoly-dashboard-widgets-widget-vega.mjs",
331
+ "esm": "./esm2022/widgets/widget-vega/provoly-dashboard-widgets-widget-vega.mjs",
332
+ "default": "./fesm2022/provoly-dashboard-widgets-widget-vega.mjs"
333
333
  }
334
334
  },
335
335
  "schematics": "./schematics/collection.json",
@@ -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;