@unovis/angular 1.3.0-alpha.2 → 1.3.0-beta.0
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 +3 -1
- package/dist/lib/bundles/unovis-angular.umd.js.map +1 -1
- package/dist/lib/components/area/area.component.d.ts +3 -3
- package/dist/lib/components/axis/axis.component.d.ts +1 -1
- package/dist/lib/components/crosshair/crosshair.component.d.ts +1 -1
- package/dist/lib/components/graph/graph.component.d.ts +1 -1
- package/dist/lib/components/grouped-bar/grouped-bar.component.d.ts +2 -2
- package/dist/lib/components/line/line.component.d.ts +3 -3
- package/dist/lib/components/scatter/scatter.component.d.ts +2 -2
- package/dist/lib/components/stacked-bar/stacked-bar.component.d.ts +2 -2
- package/dist/lib/components/timeline/timeline.component.d.ts +2 -2
- package/dist/lib/components/topojson-map/topojson-map.component.d.ts +2 -2
- package/dist/lib/components/xy-labels/xy-labels.component.d.ts +2 -2
- package/dist/lib/esm2015/components/area/area.component.js +1 -1
- package/dist/lib/esm2015/components/axis/axis.component.js +1 -1
- package/dist/lib/esm2015/components/crosshair/crosshair.component.js +1 -1
- package/dist/lib/esm2015/components/graph/graph.component.js +1 -1
- package/dist/lib/esm2015/components/grouped-bar/grouped-bar.component.js +1 -1
- package/dist/lib/esm2015/components/line/line.component.js +1 -1
- package/dist/lib/esm2015/components/scatter/scatter.component.js +1 -1
- package/dist/lib/esm2015/components/stacked-bar/stacked-bar.component.js +1 -1
- package/dist/lib/esm2015/components/timeline/timeline.component.js +1 -1
- package/dist/lib/esm2015/components/topojson-map/topojson-map.component.js +1 -1
- package/dist/lib/esm2015/components/xy-labels/xy-labels.component.js +1 -1
- package/dist/lib/esm2015/html-components/bullet-legend/bullet-legend.component.js +4 -2
- 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 +3 -1
- package/dist/lib/fesm2015/unovis-angular.js.map +1 -1
- package/dist/lib/html-components/bullet-legend/bullet-legend.component.d.ts +4 -2
- package/dist/lib/html-components/leaflet-flow-map/leaflet-flow-map.component.d.ts +2 -2
- package/dist/lib/html-components/leaflet-map/leaflet-map.component.d.ts +2 -2
- package/dist/lib/package.json +4 -3
- package/package.json +11 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, SimpleChanges, ElementRef } from '@angular/core';
|
|
2
|
-
import { BulletLegend, BulletLegendConfigInterface, BulletLegendItemInterface } from '@unovis/ts';
|
|
2
|
+
import { BulletLegend, BulletLegendConfigInterface, BulletLegendItemInterface, BulletShape } from '@unovis/ts';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class VisBulletLegendComponent implements BulletLegendConfigInterface, AfterViewInit {
|
|
5
5
|
containerRef: ElementRef;
|
|
@@ -25,10 +25,12 @@ export declare class VisBulletLegendComponent implements BulletLegendConfigInter
|
|
|
25
25
|
labelMaxWidth?: string | null;
|
|
26
26
|
/** Bullet circle size, mapped to the width and height CSS properties. Default: `null` */
|
|
27
27
|
bulletSize?: string | null;
|
|
28
|
+
/** Bullet shape: `BulletShape.Circle`, `BulletShape.Line` or `BulletShape.Square`. Default: `BulletShape.Circle` */
|
|
29
|
+
bulletShape?: BulletShape;
|
|
28
30
|
component: BulletLegend | undefined;
|
|
29
31
|
ngAfterViewInit(): void;
|
|
30
32
|
ngOnChanges(changes: SimpleChanges): void;
|
|
31
33
|
private getConfig;
|
|
32
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<VisBulletLegendComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VisBulletLegendComponent, "vis-bullet-legend", never, { "items": "items"; "labelClassName": "labelClassName"; "onLegendItemClick": "onLegendItemClick"; "labelFontSize": "labelFontSize"; "labelMaxWidth": "labelMaxWidth"; "bulletSize": "bulletSize"; }, {}, never, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VisBulletLegendComponent, "vis-bullet-legend", never, { "items": "items"; "labelClassName": "labelClassName"; "onLegendItemClick": "onLegendItemClick"; "labelFontSize": "labelFontSize"; "labelMaxWidth": "labelMaxWidth"; "bulletSize": "bulletSize"; "bulletShape": "bulletShape"; }, {}, never, never>;
|
|
34
36
|
}
|
|
@@ -100,7 +100,7 @@ export declare class VisLeafletFlowMapComponent<PointDatum extends GenericDataRe
|
|
|
100
100
|
/** Point shape accessor function or constant value. Default: `d => d.shape` */
|
|
101
101
|
pointShape?: StringAccessor<PointDatum>;
|
|
102
102
|
/** Point color accessor function or constant value. Default: `d => d.color` */
|
|
103
|
-
pointColor?: ColorAccessor<PointDatum
|
|
103
|
+
pointColor?: ColorAccessor<LeafletMapPointDatum<PointDatum>>;
|
|
104
104
|
/** Point radius accessor function or constant value. Default: `undefined` */
|
|
105
105
|
pointRadius?: NumericAccessor<LeafletMapPointDatum<PointDatum>>;
|
|
106
106
|
/** Point inner label accessor function. Default: `d => d.point_count ?? ''` */
|
|
@@ -118,7 +118,7 @@ export declare class VisLeafletFlowMapComponent<PointDatum extends GenericDataRe
|
|
|
118
118
|
/** Set selected point by its unique id. Default: `undefined` */
|
|
119
119
|
selectedPointId?: string;
|
|
120
120
|
/** Cluster color accessor function or constant value. Default: `undefined` */
|
|
121
|
-
clusterColor?: ColorAccessor<PointDatum
|
|
121
|
+
clusterColor?: ColorAccessor<LeafletMapClusterDatum<PointDatum>>;
|
|
122
122
|
/** Cluster radius accessor function or constant value. Default: `undefined` */
|
|
123
123
|
clusterRadius?: NumericAccessor<LeafletMapClusterDatum<PointDatum>>;
|
|
124
124
|
/** Cluster inner label accessor function. Default: `d => d.point_count` */
|
|
@@ -102,7 +102,7 @@ export declare class VisLeafletMapComponent<Datum extends GenericDataRecord> imp
|
|
|
102
102
|
/** Point shape accessor function or constant value. Default: `d => d.shape` */
|
|
103
103
|
pointShape?: StringAccessor<Datum>;
|
|
104
104
|
/** Point color accessor function or constant value. Default: `d => d.color` */
|
|
105
|
-
pointColor?: ColorAccessor<Datum
|
|
105
|
+
pointColor?: ColorAccessor<LeafletMapPointDatum<Datum>>;
|
|
106
106
|
/** Point radius accessor function or constant value. Default: `undefined` */
|
|
107
107
|
pointRadius?: NumericAccessor<LeafletMapPointDatum<Datum>>;
|
|
108
108
|
/** Point inner label accessor function. Default: `d => d.point_count ?? ''` */
|
|
@@ -120,7 +120,7 @@ export declare class VisLeafletMapComponent<Datum extends GenericDataRecord> imp
|
|
|
120
120
|
/** Set selected point by its unique id. Default: `undefined` */
|
|
121
121
|
selectedPointId?: string;
|
|
122
122
|
/** Cluster color accessor function or constant value. Default: `undefined` */
|
|
123
|
-
clusterColor?: ColorAccessor<Datum
|
|
123
|
+
clusterColor?: ColorAccessor<LeafletMapClusterDatum<Datum>>;
|
|
124
124
|
/** Cluster radius accessor function or constant value. Default: `undefined` */
|
|
125
125
|
clusterRadius?: NumericAccessor<LeafletMapClusterDatum<Datum>>;
|
|
126
126
|
/** Cluster inner label accessor function. Default: `d => d.point_count` */
|
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.3.0-
|
|
4
|
+
"version": "1.3.0-beta.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/f5/unovis.git",
|
|
@@ -36,10 +36,11 @@
|
|
|
36
36
|
"tslib": "^2.3.1"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
+
"@unovis/shared": "*",
|
|
40
|
+
"@unovis/ts": "1.3.0-beta.0",
|
|
39
41
|
"@angular/common": "12 - 16",
|
|
40
42
|
"@angular/compiler": "12 - 16",
|
|
41
|
-
"@angular/core": "12 - 16"
|
|
42
|
-
"@unovis/ts": "1.3.0-alpha.2"
|
|
43
|
+
"@angular/core": "12 - 16"
|
|
43
44
|
},
|
|
44
45
|
"overrides": {
|
|
45
46
|
"minimatch": "3.0.5",
|
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.3.0-
|
|
4
|
+
"version": "1.3.0-beta.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/f5/unovis.git",
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
"build": "npx ng build",
|
|
30
30
|
"watch": "npx ng build --watch --configuration development",
|
|
31
31
|
"test": "npx ng test",
|
|
32
|
-
"generate": "rollup -c; node .autogen.cjs; rm .autogen.cjs"
|
|
32
|
+
"generate": "rollup -c; node .autogen.cjs; rm .autogen.cjs",
|
|
33
|
+
"gallery": "node gallery"
|
|
33
34
|
},
|
|
34
35
|
"main": "dist/lib/bundles/unovis-angular.umd.js",
|
|
35
36
|
"module": "dist/lib/esm2015/public-api.js",
|
|
@@ -43,10 +44,11 @@
|
|
|
43
44
|
"tslib": "^2.3.1"
|
|
44
45
|
},
|
|
45
46
|
"peerDependencies": {
|
|
47
|
+
"@unovis/shared": "*",
|
|
48
|
+
"@unovis/ts": "1.3.0-beta.0",
|
|
46
49
|
"@angular/common": "12 - 16",
|
|
47
50
|
"@angular/compiler": "12 - 16",
|
|
48
|
-
"@angular/core": "12 - 16"
|
|
49
|
-
"@unovis/ts": "1.3.0-alpha.2"
|
|
51
|
+
"@angular/core": "12 - 16"
|
|
50
52
|
},
|
|
51
53
|
"devDependencies": {
|
|
52
54
|
"@angular-devkit/build-angular": "^12.0.3",
|
|
@@ -55,6 +57,8 @@
|
|
|
55
57
|
"@angular/compiler": "^12.0.3",
|
|
56
58
|
"@angular/compiler-cli": "^12.0.3",
|
|
57
59
|
"@angular/core": "^12.0.3",
|
|
60
|
+
"@angular/platform-browser": "^12.0.3",
|
|
61
|
+
"@angular/platform-browser-dynamic": "^12.0.3",
|
|
58
62
|
"@types/jasmine": "~3.6.0",
|
|
59
63
|
"@types/node": "^12.11.1",
|
|
60
64
|
"jasmine-core": "~3.7.0",
|
|
@@ -66,7 +70,9 @@
|
|
|
66
70
|
"ng-packagr": "^12.0.0",
|
|
67
71
|
"rollup": "^2.61.1",
|
|
68
72
|
"rollup-plugin-typescript2": "^0.31.1",
|
|
69
|
-
"ttypescript": "^1.5.13"
|
|
73
|
+
"ttypescript": "^1.5.13",
|
|
74
|
+
"webpack": "^5.88.2",
|
|
75
|
+
"zone.js": "^0.14.0"
|
|
70
76
|
},
|
|
71
77
|
"overrides": {
|
|
72
78
|
"minimatch": "3.0.5",
|