@unovis/angular 1.6.2-pre.8 → 1.6.4
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 +3837 -3539
- package/dist/lib/bundles/unovis-angular.umd.js.map +1 -1
- package/dist/lib/components/annotations/annotations.component.d.ts +3 -1
- package/dist/lib/components/area/area.component.d.ts +12 -2
- package/dist/lib/components/crosshair/crosshair.component.d.ts +1 -1
- package/dist/lib/components/sankey/sankey.component.d.ts +28 -3
- package/dist/lib/components.d.ts +2 -0
- package/dist/lib/esm2015/components/annotations/annotations.component.js +6 -4
- package/dist/lib/esm2015/components/area/area.component.js +14 -4
- package/dist/lib/esm2015/components/crosshair/crosshair.component.js +1 -1
- package/dist/lib/esm2015/components/sankey/sankey.component.js +28 -4
- package/dist/lib/esm2015/components.js +3 -1
- package/dist/lib/esm2015/html-components/bullet-legend/bullet-legend.component.js +2 -2
- package/dist/lib/esm2015/html-components/flow-legend/flow-legend.component.js +60 -0
- package/dist/lib/esm2015/html-components/flow-legend/flow-legend.module.js +18 -0
- package/dist/lib/fesm2015/unovis-angular.js +119 -12
- package/dist/lib/fesm2015/unovis-angular.js.map +1 -1
- package/dist/lib/html-components/flow-legend/flow-legend.component.d.ts +34 -0
- package/dist/lib/html-components/flow-legend/flow-legend.module.d.ts +7 -0
- package/dist/lib/package.json +6 -8
- package/package.json +35 -18
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AfterViewInit, SimpleChanges, ElementRef } from '@angular/core';
|
|
2
|
+
import { FlowLegend, FlowLegendConfigInterface, Spacing } from '@unovis/ts';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class VisFlowLegendComponent implements FlowLegendConfigInterface, AfterViewInit {
|
|
5
|
+
containerRef: ElementRef;
|
|
6
|
+
/** Margin around the legend. Default: `undefined` */
|
|
7
|
+
margin?: Spacing;
|
|
8
|
+
/** Custom width of the component. Default: `undefined` */
|
|
9
|
+
customWidth?: number;
|
|
10
|
+
/** Legend items array as string[]. Default: `[]` */
|
|
11
|
+
items?: string[];
|
|
12
|
+
/** Spacing between legend items and the arrows in pixels. Default: `undefined` (fit to container width) */
|
|
13
|
+
spacing?: number;
|
|
14
|
+
/** Color of the flow line. Default: `undefined` */
|
|
15
|
+
lineColor?: string;
|
|
16
|
+
/** Color of the flow label. Default: `undefined` */
|
|
17
|
+
labelColor?: string;
|
|
18
|
+
/** Font size of flow labels in pixels. Default: `12` */
|
|
19
|
+
labelFontSize?: number;
|
|
20
|
+
/** Arrow symbol. Default: `'▶'` */
|
|
21
|
+
arrowSymbol?: string;
|
|
22
|
+
/** Color of the arrow. Default: `undefined` */
|
|
23
|
+
arrowColor?: string;
|
|
24
|
+
/** Offset of the arrow symbol vertically in pixels. Default: `undefined` */
|
|
25
|
+
arrowSymbolYOffset?: number;
|
|
26
|
+
/** Callback function for the legend item click. Default: `undefined` */
|
|
27
|
+
onLegendItemClick?: ((label?: string, i?: number) => void);
|
|
28
|
+
component: FlowLegend | undefined;
|
|
29
|
+
ngAfterViewInit(): void;
|
|
30
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
31
|
+
private getConfig;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VisFlowLegendComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VisFlowLegendComponent, "vis-flow-legend", never, { "margin": "margin"; "customWidth": "customWidth"; "items": "items"; "spacing": "spacing"; "lineColor": "lineColor"; "labelColor": "labelColor"; "labelFontSize": "labelFontSize"; "arrowSymbol": "arrowSymbol"; "arrowColor": "arrowColor"; "arrowSymbolYOffset": "arrowSymbolYOffset"; "onLegendItemClick": "onLegendItemClick"; }, {}, never, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./flow-legend.component";
|
|
3
|
+
export declare class VisFlowLegendModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VisFlowLegendModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<VisFlowLegendModule, [typeof i1.VisFlowLegendComponent], never, [typeof i1.VisFlowLegendComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<VisFlowLegendModule>;
|
|
7
|
+
}
|
package/dist/lib/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unovis/angular",
|
|
3
3
|
"description": "Modular data visualization framework for React, Angular, Svelte, Vue, Solid, and vanilla TypeScript or JavaScript",
|
|
4
|
-
"version": "1.6.
|
|
5
|
-
"packageManager": "
|
|
4
|
+
"version": "1.6.4",
|
|
5
|
+
"packageManager": "pnpm@10.23.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/f5/unovis.git",
|
|
@@ -38,14 +38,12 @@
|
|
|
38
38
|
"tslib": "^2.3.1"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@unovis/ts": "1.6.
|
|
41
|
+
"@unovis/ts": "1.6.4",
|
|
42
42
|
"@angular/common": "12 - 19",
|
|
43
43
|
"@angular/compiler": "12 - 19",
|
|
44
|
-
"@angular/core": "12 - 19"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"minimatch": "3.0.5",
|
|
48
|
-
"webpack": "5.76.0"
|
|
44
|
+
"@angular/core": "12 - 19",
|
|
45
|
+
"rxjs": "^6.6.0 || ^7.5.0",
|
|
46
|
+
"d3-array": "3.2.4"
|
|
49
47
|
},
|
|
50
48
|
"es2015": "fesm2015/unovis-angular.js",
|
|
51
49
|
"esm2015": "esm2015/unovis-angular.js",
|
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unovis/angular",
|
|
3
3
|
"description": "Modular data visualization framework for React, Angular, Svelte, Vue, Solid, and vanilla TypeScript or JavaScript",
|
|
4
|
-
"version": "1.6.
|
|
5
|
-
"packageManager": "npm@10.9.1",
|
|
4
|
+
"version": "1.6.4",
|
|
6
5
|
"repository": {
|
|
7
6
|
"type": "git",
|
|
8
7
|
"url": "https://github.com/f5/unovis.git",
|
|
@@ -26,14 +25,6 @@
|
|
|
26
25
|
"Surya Hanumandla <s.hanumandla@f5.com>"
|
|
27
26
|
],
|
|
28
27
|
"license": "Apache-2.0",
|
|
29
|
-
"scripts": {
|
|
30
|
-
"ng": "npx ng",
|
|
31
|
-
"build": "npx ng build",
|
|
32
|
-
"watch": "npx ng build --watch --configuration development",
|
|
33
|
-
"test": "npx ng test",
|
|
34
|
-
"generate": "rollup -c; node .autogen.cjs; rm .autogen.cjs",
|
|
35
|
-
"gallery": "node gallery"
|
|
36
|
-
},
|
|
37
28
|
"main": "dist/lib/bundles/unovis-angular.umd.js",
|
|
38
29
|
"module": "dist/lib/esm2015/public-api.js",
|
|
39
30
|
"typings": "dist/lib/public-api.d.ts",
|
|
@@ -46,22 +37,34 @@
|
|
|
46
37
|
"tslib": "^2.3.1"
|
|
47
38
|
},
|
|
48
39
|
"peerDependencies": {
|
|
49
|
-
"@unovis/ts": "1.6.
|
|
40
|
+
"@unovis/ts": "1.6.4",
|
|
50
41
|
"@angular/common": "12 - 19",
|
|
51
42
|
"@angular/compiler": "12 - 19",
|
|
52
|
-
"@angular/core": "12 - 19"
|
|
43
|
+
"@angular/core": "12 - 19",
|
|
44
|
+
"rxjs": "^6.6.0 || ^7.5.0",
|
|
45
|
+
"d3-array": "3.2.4"
|
|
53
46
|
},
|
|
54
47
|
"devDependencies": {
|
|
55
48
|
"@angular-devkit/build-angular": "^12.0.3",
|
|
56
|
-
"@angular/cli": "
|
|
49
|
+
"@angular/cli": "12.2.18",
|
|
57
50
|
"@angular/common": "^12.0.3",
|
|
58
51
|
"@angular/compiler": "^12.0.3",
|
|
59
52
|
"@angular/compiler-cli": "^12.0.3",
|
|
60
53
|
"@angular/core": "^12.0.3",
|
|
61
54
|
"@angular/platform-browser": "^12.0.3",
|
|
62
55
|
"@angular/platform-browser-dynamic": "^12.0.3",
|
|
56
|
+
"@types/d3-brush": "~3.0.6",
|
|
57
|
+
"@types/d3-drag": "~3.0.7",
|
|
58
|
+
"@types/d3-geo": "~3.1.0",
|
|
59
|
+
"@types/d3-selection": "~3.0.0",
|
|
60
|
+
"@types/d3-dispatch": "3.0.6",
|
|
61
|
+
"@types/d3-zoom": "~3.0.8",
|
|
63
62
|
"@types/jasmine": "~3.6.0",
|
|
64
63
|
"@types/node": "^12.11.1",
|
|
64
|
+
"@types/topojson": "^3.2.3",
|
|
65
|
+
"@types/topojson-specification": "^1.0.2",
|
|
66
|
+
"d3-selection": "3.0.0",
|
|
67
|
+
"elkjs": "^0.10.0",
|
|
65
68
|
"jasmine-core": "~3.7.0",
|
|
66
69
|
"karma": "~6.3.0",
|
|
67
70
|
"karma-chrome-launcher": "~3.1.0",
|
|
@@ -71,11 +74,25 @@
|
|
|
71
74
|
"ng-packagr": "^12.0.0",
|
|
72
75
|
"rollup": "^2.61.1",
|
|
73
76
|
"rollup-plugin-typescript2": "^0.31.1",
|
|
77
|
+
"typescript": "~4.2.4",
|
|
74
78
|
"webpack": "5.76.0",
|
|
75
|
-
"zone.js": "^0.14.0"
|
|
79
|
+
"zone.js": "^0.14.0",
|
|
80
|
+
"rxjs": "^6.6.7",
|
|
81
|
+
"@types/d3-array": "~3.2.2",
|
|
82
|
+
"@emotion/css": "^11.7.1",
|
|
83
|
+
"topojson-client": "^3.1.0",
|
|
84
|
+
"@emotion/cache": "^11.7.1",
|
|
85
|
+
"@emotion/serialize": "^1.0.4",
|
|
86
|
+
"@emotion/sheet": "^1.2.1",
|
|
87
|
+
"@unovis/ts": "1.6.4",
|
|
88
|
+
"@unovis/shared": "1.6.4"
|
|
76
89
|
},
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
90
|
+
"scripts": {
|
|
91
|
+
"ng": "ng",
|
|
92
|
+
"build": "ng build",
|
|
93
|
+
"watch": "ng build --watch --configuration development",
|
|
94
|
+
"test": "ng test",
|
|
95
|
+
"generate": "rollup -c; node .autogen.cjs; rm .autogen.cjs",
|
|
96
|
+
"gallery": "node gallery"
|
|
80
97
|
}
|
|
81
|
-
}
|
|
98
|
+
}
|