@unovis/angular 1.0.1-beta.0 → 1.0.1-beta.5
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/dist/lib/bundles/unovis-angular.umd.js.map +1 -1
- package/dist/lib/esm2015/html-components/leaflet-flow-map/leaflet-flow-map.component.js +1 -1
- package/dist/lib/esm2015/html-components/leaflet-map/leaflet-map.component.js +1 -1
- package/dist/lib/fesm2015/unovis-angular.js.map +1 -1
- package/dist/lib/html-components/leaflet-flow-map/leaflet-flow-map.component.d.ts +4 -4
- package/dist/lib/html-components/leaflet-map/leaflet-map.component.d.ts +4 -4
- package/dist/lib/package.json +3 -2
- package/package.json +3 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AfterViewInit, SimpleChanges, ElementRef } from '@angular/core';
|
|
2
|
-
import { LeafletFlowMap, LeafletFlowMapConfigInterface, VisEventType, VisEventCallback, Bounds, MapZoomState, NumericAccessor, StringAccessor, ColorAccessor, LeafletMapPointDatum, LeafletMapPointStyles, Tooltip, LeafletMapClusterDatum } from '@unovis/ts';
|
|
2
|
+
import { LeafletFlowMap, LeafletFlowMapConfigInterface, VisEventType, VisEventCallback, Bounds, MapZoomState, NumericAccessor, StringAccessor, ColorAccessor, LeafletMapPointDatum, LeafletMapPointStyles, Tooltip, LeafletMapClusterDatum, GenericDataRecord } from '@unovis/ts';
|
|
3
3
|
import { StyleSpecification } from 'maplibre-gl';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class VisLeafletFlowMapComponent<PointDatum, FlowDatum> implements LeafletFlowMapConfigInterface<PointDatum, FlowDatum>, AfterViewInit {
|
|
5
|
+
export declare class VisLeafletFlowMapComponent<PointDatum extends GenericDataRecord, FlowDatum extends GenericDataRecord> implements LeafletFlowMapConfigInterface<PointDatum, FlowDatum>, AfterViewInit {
|
|
6
6
|
containerRef: ElementRef;
|
|
7
7
|
/** Width in pixels or in CSS units. By default, the map will automatically fit to the size of the parent element. Default: `undefined`. */
|
|
8
8
|
width?: number | string;
|
|
@@ -70,9 +70,9 @@ export declare class VisLeafletFlowMapComponent<PointDatum, FlowDatum> implement
|
|
|
70
70
|
/** Fit the view to contain the data points on map config and data updates. Default: `false` */
|
|
71
71
|
fitViewOnUpdate?: boolean;
|
|
72
72
|
/** MapLibre StyleSpecification settings. Default: `MapLibreArcticLight` */
|
|
73
|
-
style: StyleSpecification | string;
|
|
73
|
+
style: StyleSpecification | string | undefined;
|
|
74
74
|
/** MapLibre StyleSpecification settings for dark theme. Default: `undefined` */
|
|
75
|
-
styleDarkTheme: StyleSpecification | string;
|
|
75
|
+
styleDarkTheme: StyleSpecification | string | undefined;
|
|
76
76
|
/** Tile server access token or API key. Default: `''` */
|
|
77
77
|
accessToken?: string;
|
|
78
78
|
/** Array of attribution labels. Default: `['<a href="https://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap contributors</a>']` */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AfterViewInit, SimpleChanges, ElementRef } from '@angular/core';
|
|
2
|
-
import { LeafletMap, LeafletMapConfigInterface, VisEventType, VisEventCallback, Bounds, MapZoomState, NumericAccessor, StringAccessor, ColorAccessor, LeafletMapPointDatum, LeafletMapPointStyles, Tooltip, LeafletMapClusterDatum, LeafletMapRenderer } from '@unovis/ts';
|
|
2
|
+
import { LeafletMap, LeafletMapConfigInterface, VisEventType, VisEventCallback, Bounds, MapZoomState, NumericAccessor, StringAccessor, ColorAccessor, LeafletMapPointDatum, LeafletMapPointStyles, Tooltip, LeafletMapClusterDatum, LeafletMapRenderer, GenericDataRecord } from '@unovis/ts';
|
|
3
3
|
import { StyleSpecification } from 'maplibre-gl';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class VisLeafletMapComponent<Datum> implements LeafletMapConfigInterface<Datum>, AfterViewInit {
|
|
5
|
+
export declare class VisLeafletMapComponent<Datum extends GenericDataRecord> implements LeafletMapConfigInterface<Datum>, AfterViewInit {
|
|
6
6
|
containerRef: ElementRef;
|
|
7
7
|
/** Width in pixels or in CSS units. By default, the map will automatically fit to the size of the parent element. Default: `undefined`. */
|
|
8
8
|
width?: number | string;
|
|
@@ -70,9 +70,9 @@ export declare class VisLeafletMapComponent<Datum> implements LeafletMapConfigIn
|
|
|
70
70
|
/** Fit the view to contain the data points on map config and data updates. Default: `false` */
|
|
71
71
|
fitViewOnUpdate?: boolean;
|
|
72
72
|
/** MapLibre StyleSpecification settings. Default: `MapLibreArcticLight` */
|
|
73
|
-
style: StyleSpecification | string;
|
|
73
|
+
style: StyleSpecification | string | undefined;
|
|
74
74
|
/** MapLibre StyleSpecification settings for dark theme. Default: `undefined` */
|
|
75
|
-
styleDarkTheme?: StyleSpecification | string;
|
|
75
|
+
styleDarkTheme?: StyleSpecification | string | undefined;
|
|
76
76
|
/** Tile server access token or API key. Default: `''` */
|
|
77
77
|
accessToken?: string;
|
|
78
78
|
/** Array of attribution labels. Default: `['<a href="https://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap contributors</a>']` */
|
package/dist/lib/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unovis/angular",
|
|
3
3
|
"description": "Modular data visualization framework for React, Angular, Svelte, and vanilla TypeScript or JavaScript",
|
|
4
|
-
"version": "1.0.1-beta.
|
|
4
|
+
"version": "1.0.1-beta.5",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/f5/unovis.git",
|
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
"@angular/common": "12 - 15",
|
|
40
40
|
"@angular/compiler": "12 - 15",
|
|
41
41
|
"@angular/core": "12 - 15",
|
|
42
|
-
"@unovis/ts": "1.0.1-beta.
|
|
42
|
+
"@unovis/ts": "1.0.1-beta.5",
|
|
43
|
+
"maplibre-gl": "^2"
|
|
43
44
|
},
|
|
44
45
|
"es2015": "fesm2015/unovis-angular.js",
|
|
45
46
|
"esm2015": "esm2015/unovis-angular.js",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unovis/angular",
|
|
3
3
|
"description": "Modular data visualization framework for React, Angular, Svelte, and vanilla TypeScript or JavaScript",
|
|
4
|
-
"version": "1.0.1-beta.
|
|
4
|
+
"version": "1.0.1-beta.5",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/f5/unovis.git",
|
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
"@angular/common": "12 - 15",
|
|
47
47
|
"@angular/compiler": "12 - 15",
|
|
48
48
|
"@angular/core": "12 - 15",
|
|
49
|
-
"@unovis/ts": "1.0.1-beta.
|
|
49
|
+
"@unovis/ts": "1.0.1-beta.5",
|
|
50
|
+
"maplibre-gl": "^2"
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
52
53
|
"@angular-devkit/build-angular": "^12.0.3",
|