ngx-core-components 0.3.23 → 0.3.24
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/ai/ai-form-copilot/ai-form-copilot.component.d.ts +19 -0
- package/ai/public-api.d.ts +1 -0
- package/charts/adjacency-matrix/adjacency-matrix.component.d.ts +12 -1
- package/charts/agentic-cognitive-topology/agentic-cognitive-topology.component.d.ts +125 -0
- package/charts/arc-diagram/arc-diagram.component.d.ts +72 -0
- package/charts/area-chart/area-chart.component.d.ts +12 -1
- package/charts/area-range-chart/area-range-chart.component.d.ts +73 -0
- package/charts/area-spline-range-chart/area-spline-range-chart.component.d.ts +73 -0
- package/charts/bar-chart/bar-chart.component.d.ts +2 -1
- package/charts/bell-curve-chart/bell-curve-chart.component.d.ts +65 -0
- package/charts/biplot/biplot.component.d.ts +12 -1
- package/charts/box-plot-chart/box-plot-chart.component.d.ts +13 -1
- package/charts/bullet-chart/bullet-chart.component.d.ts +12 -1
- package/charts/candlestick-chart/candlestick-chart.component.d.ts +13 -1
- package/charts/chord-diagram/chord-diagram.component.d.ts +12 -1
- package/charts/column-pyramid-chart/column-pyramid-chart.component.d.ts +61 -0
- package/charts/column-range-chart/column-range-chart.component.d.ts +66 -0
- package/charts/combo-chart/combo-chart.component.d.ts +12 -1
- package/charts/dependency-wheel/dependency-wheel.component.d.ts +12 -1
- package/charts/dumbbell-chart/dumbbell-chart.component.d.ts +12 -1
- package/charts/embedding-space-projection/embedding-space-projection.component.d.ts +127 -0
- package/charts/error-bar/error-bar.component.d.ts +76 -0
- package/charts/flags/flags.component.d.ts +80 -0
- package/charts/flowmap/flowmap.component.d.ts +71 -0
- package/charts/funnel-chart/funnel-chart.component.d.ts +12 -1
- package/charts/gauge-chart/gauge-chart.component.d.ts +12 -1
- package/charts/geo-heatmap/geo-heatmap.component.d.ts +65 -0
- package/charts/heatmap-chart/heatmap-chart.component.d.ts +12 -1
- package/charts/heikin-ashi-chart/heikin-ashi-chart.component.d.ts +88 -0
- package/charts/histogram/histogram.component.d.ts +59 -0
- package/charts/hlc-chart/hlc-chart.component.d.ts +72 -0
- package/charts/hollow-candlestick-chart/hollow-candlestick-chart.component.d.ts +81 -0
- package/charts/lollipop-chart/lollipop-chart.component.d.ts +12 -1
- package/charts/map-bubble/map-bubble.component.d.ts +57 -0
- package/charts/map-choropleth/map-choropleth.component.d.ts +54 -0
- package/charts/map-line-point/map-line-point.component.d.ts +67 -0
- package/charts/marimekko-chart/marimekko-chart.component.d.ts +12 -1
- package/charts/network-graph/network-graph.component.d.ts +73 -0
- package/charts/ohlc-chart/ohlc-chart.component.d.ts +75 -0
- package/charts/packed-bubble-chart/packed-bubble-chart.component.d.ts +69 -0
- package/charts/parallel-coordinates/parallel-coordinates.component.d.ts +61 -0
- package/charts/pareto-chart/pareto-chart.component.d.ts +12 -1
- package/charts/pictorial-chart/pictorial-chart.component.d.ts +59 -0
- package/charts/public-api.d.ts +65 -0
- package/charts/radar-chart/radar-chart.component.d.ts +12 -1
- package/charts/radial-bar-chart/radial-bar-chart.component.d.ts +12 -1
- package/charts/ridgeline-chart/ridgeline-chart.component.d.ts +12 -1
- package/charts/sankey-chart/sankey-chart.component.d.ts +12 -1
- package/charts/scatter-plot/scatter-plot.component.d.ts +12 -1
- package/charts/shared/map-data.d.ts +30 -0
- package/charts/slope-chart/slope-chart.component.d.ts +12 -1
- package/charts/streamgraph/streamgraph.component.d.ts +71 -0
- package/charts/tiled-web-map/tiled-web-map.component.d.ts +71 -0
- package/charts/tilemap/tilemap.component.d.ts +63 -0
- package/charts/token-streaming-chart/token-streaming-chart.component.d.ts +70 -0
- package/charts/transformer-attention-heatmap/transformer-attention-heatmap.component.d.ts +75 -0
- package/charts/treegraph/treegraph.component.d.ts +56 -0
- package/charts/treemap-chart/treemap-chart.component.d.ts +12 -1
- package/charts/variable-pie-chart/variable-pie-chart.component.d.ts +70 -0
- package/charts/variwide-chart/variwide-chart.component.d.ts +62 -0
- package/charts/vector-plot/vector-plot.component.d.ts +63 -0
- package/charts/venn-diagram/venn-diagram.component.d.ts +59 -0
- package/charts/violin-plot/violin-plot.component.d.ts +12 -1
- package/charts/waterfall-chart/waterfall-chart.component.d.ts +12 -1
- package/charts/word-cloud/word-cloud.component.d.ts +56 -0
- package/fesm2022/ngx-core-components-ai.mjs +222 -2
- package/fesm2022/ngx-core-components-ai.mjs.map +1 -1
- package/fesm2022/ngx-core-components-charts.mjs +24532 -365
- package/fesm2022/ngx-core-components-charts.mjs.map +1 -1
- package/fesm2022/ngx-core-components-grid.mjs +78 -0
- package/fesm2022/ngx-core-components-grid.mjs.map +1 -1
- package/fesm2022/ngx-core-components-inputs.mjs +11 -2
- package/fesm2022/ngx-core-components-inputs.mjs.map +1 -1
- package/fesm2022/ngx-core-components.mjs +2 -2
- package/fesm2022/ngx-core-components.mjs.map +1 -1
- package/grid/data-grid/data-grid.component.d.ts +1 -0
- package/grid/data-grid/grid-export.service.d.ts +4 -0
- package/inputs/form-builder/form-designer.component.d.ts +3 -2
- package/package.json +1 -1
- package/public-api.d.ts +66 -1
- package/schematics/collection.json +5 -0
- package/schematics/dashboard/index.js +162 -0
- package/schematics/dashboard/schema.json +19 -0
- package/themes/tailwind-preset.js +63 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
1
2
|
import { ChartDataPoint } from '../shared/chart-utils';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class LollipopChartComponent {
|
|
@@ -8,11 +9,14 @@ export declare class LollipopChartComponent {
|
|
|
8
9
|
orientation: import("@angular/core").InputSignal<"horizontal" | "vertical">;
|
|
9
10
|
colors: import("@angular/core").InputSignal<string[]>;
|
|
10
11
|
dotRadius: import("@angular/core").InputSignal<number>;
|
|
12
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
11
13
|
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
12
14
|
hoveredIndex: import("@angular/core").WritableSignal<number | null>;
|
|
13
15
|
tooltip: import("@angular/core").WritableSignal<any>;
|
|
14
16
|
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
15
17
|
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
18
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
19
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
16
20
|
margin: import("@angular/core").Signal<{
|
|
17
21
|
top: number;
|
|
18
22
|
right: number;
|
|
@@ -40,7 +44,14 @@ export declare class LollipopChartComponent {
|
|
|
40
44
|
onItemHover(idx: number, event: MouseEvent): void;
|
|
41
45
|
onItemMouseMove(event: MouseEvent): void;
|
|
42
46
|
onMouseLeave(): void;
|
|
47
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
48
|
+
closeExportMenu(): void;
|
|
49
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
50
|
+
exportToJson(): void;
|
|
51
|
+
exportToCsv(): void;
|
|
52
|
+
exportToSvg(): void;
|
|
53
|
+
exportToPdf(): void;
|
|
43
54
|
formatNumber(v: number): string;
|
|
44
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<LollipopChartComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LollipopChartComponent, "ngx-lollipop-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "dotRadius": { "alias": "dotRadius"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LollipopChartComponent, "ngx-lollipop-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "dotRadius": { "alias": "dotRadius"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
46
57
|
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { fmtNum } from '../shared/chart-utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface MapBubblePoint {
|
|
5
|
+
lat: number;
|
|
6
|
+
lng: number;
|
|
7
|
+
value: number;
|
|
8
|
+
label?: string;
|
|
9
|
+
color?: string;
|
|
10
|
+
group?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare class MapBubbleComponent {
|
|
13
|
+
title: import("@angular/core").InputSignal<string>;
|
|
14
|
+
data: import("@angular/core").InputSignal<MapBubblePoint[]>;
|
|
15
|
+
height: import("@angular/core").InputSignal<number>;
|
|
16
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
17
|
+
minBubbleSize: import("@angular/core").InputSignal<number>;
|
|
18
|
+
maxBubbleSize: import("@angular/core").InputSignal<number>;
|
|
19
|
+
showLegend: import("@angular/core").InputSignal<boolean>;
|
|
20
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
21
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
22
|
+
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
23
|
+
hoveredBubbleIndex: import("@angular/core").WritableSignal<number | null>;
|
|
24
|
+
tooltip: import("@angular/core").WritableSignal<any>;
|
|
25
|
+
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
26
|
+
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
27
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
28
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
29
|
+
private container;
|
|
30
|
+
constructor();
|
|
31
|
+
uniqueGroups: import("@angular/core").Signal<string[]>;
|
|
32
|
+
getGroupColor(grp?: string): string;
|
|
33
|
+
baseMapPaths: import("@angular/core").Signal<string[]>;
|
|
34
|
+
private values;
|
|
35
|
+
private minVal;
|
|
36
|
+
private maxVal;
|
|
37
|
+
scaledBubbles: import("@angular/core").Signal<{
|
|
38
|
+
x: number;
|
|
39
|
+
y: number;
|
|
40
|
+
r: number;
|
|
41
|
+
color: string;
|
|
42
|
+
raw: MapBubblePoint;
|
|
43
|
+
}[]>;
|
|
44
|
+
onBubbleHover(bubble: any, index: number, event: MouseEvent): void;
|
|
45
|
+
onBubbleMouseMove(event: MouseEvent): void;
|
|
46
|
+
onMouseLeave(): void;
|
|
47
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
48
|
+
closeExportMenu(): void;
|
|
49
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
50
|
+
exportToJson(): void;
|
|
51
|
+
exportToCsv(): void;
|
|
52
|
+
exportToSvg(): void;
|
|
53
|
+
exportToPdf(): void;
|
|
54
|
+
readonly fmtNum: typeof fmtNum;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapBubbleComponent, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MapBubbleComponent, "ngx-map-bubble", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "minBubbleSize": { "alias": "minBubbleSize"; "required": false; "isSignal": true; }; "maxBubbleSize": { "alias": "maxBubbleSize"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { fmtNum } from '../shared/chart-utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface ChoroplethDataPoint {
|
|
5
|
+
regionId: string;
|
|
6
|
+
value: number;
|
|
7
|
+
label?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class MapChoroplethComponent {
|
|
10
|
+
title: import("@angular/core").InputSignal<string>;
|
|
11
|
+
data: import("@angular/core").InputSignal<ChoroplethDataPoint[]>;
|
|
12
|
+
height: import("@angular/core").InputSignal<number>;
|
|
13
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
14
|
+
noDataColor: import("@angular/core").InputSignal<string>;
|
|
15
|
+
showLegend: import("@angular/core").InputSignal<boolean>;
|
|
16
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
17
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
18
|
+
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
19
|
+
hoveredRegionId: import("@angular/core").WritableSignal<string | null>;
|
|
20
|
+
tooltip: import("@angular/core").WritableSignal<any>;
|
|
21
|
+
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
22
|
+
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
23
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
24
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
25
|
+
private container;
|
|
26
|
+
constructor();
|
|
27
|
+
minVal: import("@angular/core").Signal<number>;
|
|
28
|
+
maxVal: import("@angular/core").Signal<number>;
|
|
29
|
+
legendGradient: import("@angular/core").Signal<string>;
|
|
30
|
+
computedRegions: import("@angular/core").Signal<{
|
|
31
|
+
id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
path: string;
|
|
34
|
+
value: number;
|
|
35
|
+
hasData: boolean;
|
|
36
|
+
label: string;
|
|
37
|
+
fillColor: string;
|
|
38
|
+
}[]>;
|
|
39
|
+
onRegionHover(region: any, event: MouseEvent): void;
|
|
40
|
+
onRegionMouseMove(event: MouseEvent): void;
|
|
41
|
+
onMouseLeave(): void;
|
|
42
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
43
|
+
closeExportMenu(): void;
|
|
44
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
45
|
+
exportToJson(): void;
|
|
46
|
+
exportToCsv(): void;
|
|
47
|
+
exportToSvg(): void;
|
|
48
|
+
exportToPdf(): void;
|
|
49
|
+
private interpolateColor;
|
|
50
|
+
private parseHex;
|
|
51
|
+
readonly fmtNum: typeof fmtNum;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapChoroplethComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MapChoroplethComponent, "ngx-map-choropleth", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "noDataColor": { "alias": "noDataColor"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface MapPoint {
|
|
4
|
+
lat: number;
|
|
5
|
+
lng: number;
|
|
6
|
+
label?: string;
|
|
7
|
+
color?: string;
|
|
8
|
+
size?: number;
|
|
9
|
+
}
|
|
10
|
+
export interface MapLine {
|
|
11
|
+
fromIndex: number;
|
|
12
|
+
toIndex: number;
|
|
13
|
+
label?: string;
|
|
14
|
+
color?: string;
|
|
15
|
+
strokeWidth?: number;
|
|
16
|
+
dashed?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare class MapLinePointComponent {
|
|
19
|
+
title: import("@angular/core").InputSignal<string>;
|
|
20
|
+
points: import("@angular/core").InputSignal<MapPoint[]>;
|
|
21
|
+
lines: import("@angular/core").InputSignal<MapLine[]>;
|
|
22
|
+
height: import("@angular/core").InputSignal<number>;
|
|
23
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
24
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
25
|
+
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
26
|
+
hoveredPointIndex: import("@angular/core").WritableSignal<number | null>;
|
|
27
|
+
hoveredLineIndex: import("@angular/core").WritableSignal<number | null>;
|
|
28
|
+
tooltip: import("@angular/core").WritableSignal<any>;
|
|
29
|
+
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
30
|
+
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
31
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
32
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
33
|
+
private container;
|
|
34
|
+
constructor();
|
|
35
|
+
baseMapPaths: import("@angular/core").Signal<string[]>;
|
|
36
|
+
computedPoints: import("@angular/core").Signal<{
|
|
37
|
+
x: number;
|
|
38
|
+
y: number;
|
|
39
|
+
size: number;
|
|
40
|
+
color: string;
|
|
41
|
+
raw: MapPoint;
|
|
42
|
+
}[]>;
|
|
43
|
+
computedLines: import("@angular/core").Signal<{
|
|
44
|
+
x1: number;
|
|
45
|
+
y1: number;
|
|
46
|
+
x2: number;
|
|
47
|
+
y2: number;
|
|
48
|
+
color: string;
|
|
49
|
+
dashed: boolean;
|
|
50
|
+
strokeWidth: number;
|
|
51
|
+
raw: MapLine;
|
|
52
|
+
}[]>;
|
|
53
|
+
onPointHover(pt: MapPoint, idx: number, event: MouseEvent): void;
|
|
54
|
+
onPointMouseMove(event: MouseEvent): void;
|
|
55
|
+
onLineHover(line: MapLine, idx: number, event: MouseEvent): void;
|
|
56
|
+
onLineMouseMove(event: MouseEvent): void;
|
|
57
|
+
onMouseLeave(): void;
|
|
58
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
59
|
+
closeExportMenu(): void;
|
|
60
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
61
|
+
exportToJson(): void;
|
|
62
|
+
exportToCsv(): void;
|
|
63
|
+
exportToSvg(): void;
|
|
64
|
+
exportToPdf(): void;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapLinePointComponent, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MapLinePointComponent, "ngx-map-line-point", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "points": { "alias": "points"; "required": false; "isSignal": true; }; "lines": { "alias": "lines"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
67
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export interface MarimekkoSegment {
|
|
3
4
|
name: string;
|
|
@@ -14,6 +15,7 @@ export declare class MarimekkoChartComponent {
|
|
|
14
15
|
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
15
16
|
showSegmentLabels: import("@angular/core").InputSignal<boolean>;
|
|
16
17
|
colors: import("@angular/core").InputSignal<string[]>;
|
|
18
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
17
19
|
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
18
20
|
hoveredIndices: import("@angular/core").WritableSignal<{
|
|
19
21
|
col: number;
|
|
@@ -22,6 +24,8 @@ export declare class MarimekkoChartComponent {
|
|
|
22
24
|
tooltip: import("@angular/core").WritableSignal<any>;
|
|
23
25
|
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
24
26
|
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
27
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
28
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
25
29
|
margin: import("@angular/core").Signal<{
|
|
26
30
|
top: number;
|
|
27
31
|
right: number;
|
|
@@ -55,7 +59,14 @@ export declare class MarimekkoChartComponent {
|
|
|
55
59
|
onSegmentHover(colIndex: number, segIndex: number, event: MouseEvent): void;
|
|
56
60
|
onSegmentMouseMove(event: MouseEvent): void;
|
|
57
61
|
onMouseLeave(): void;
|
|
62
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
63
|
+
closeExportMenu(): void;
|
|
64
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
65
|
+
exportToJson(): void;
|
|
66
|
+
exportToCsv(): void;
|
|
67
|
+
exportToSvg(): void;
|
|
68
|
+
exportToPdf(): void;
|
|
58
69
|
formatNumber(v: number): string;
|
|
59
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<MarimekkoChartComponent, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MarimekkoChartComponent, "ngx-marimekko-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "showSegmentLabels": { "alias": "showSegmentLabels"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
71
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MarimekkoChartComponent, "ngx-marimekko-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "showSegmentLabels": { "alias": "showSegmentLabels"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
61
72
|
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { fmtNum } from '../shared/chart-utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface NetworkNode {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
value?: number;
|
|
8
|
+
group?: string;
|
|
9
|
+
color?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface NetworkLink {
|
|
12
|
+
source: string;
|
|
13
|
+
target: string;
|
|
14
|
+
value?: number;
|
|
15
|
+
}
|
|
16
|
+
interface SimulatedNode {
|
|
17
|
+
id: string;
|
|
18
|
+
label: string;
|
|
19
|
+
value: number;
|
|
20
|
+
group: string;
|
|
21
|
+
x: number;
|
|
22
|
+
y: number;
|
|
23
|
+
vx: number;
|
|
24
|
+
vy: number;
|
|
25
|
+
r: number;
|
|
26
|
+
color: string;
|
|
27
|
+
}
|
|
28
|
+
interface SimulatedLink {
|
|
29
|
+
sourceId: string;
|
|
30
|
+
targetId: string;
|
|
31
|
+
sourceNode: SimulatedNode;
|
|
32
|
+
targetNode: SimulatedNode;
|
|
33
|
+
weight: number;
|
|
34
|
+
}
|
|
35
|
+
export declare class NetworkGraphComponent {
|
|
36
|
+
nodes: import("@angular/core").InputSignal<NetworkNode[]>;
|
|
37
|
+
links: import("@angular/core").InputSignal<NetworkLink[]>;
|
|
38
|
+
height: import("@angular/core").InputSignal<number>;
|
|
39
|
+
width: import("@angular/core").InputSignal<number>;
|
|
40
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
41
|
+
showLegend: import("@angular/core").InputSignal<boolean>;
|
|
42
|
+
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
43
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
44
|
+
linkLength: import("@angular/core").InputSignal<number>;
|
|
45
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
46
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
47
|
+
hoveredNodeId: import("@angular/core").WritableSignal<string | null>;
|
|
48
|
+
hoveredLink: import("@angular/core").WritableSignal<SimulatedLink | null>;
|
|
49
|
+
tooltip: import("@angular/core").WritableSignal<any>;
|
|
50
|
+
cx: import("@angular/core").Signal<number>;
|
|
51
|
+
cy: import("@angular/core").Signal<number>;
|
|
52
|
+
uniqueGroups: import("@angular/core").Signal<string[]>;
|
|
53
|
+
neighborNodeIds: import("@angular/core").Signal<string[]>;
|
|
54
|
+
computedNodes: import("@angular/core").Signal<SimulatedNode[]>;
|
|
55
|
+
computedLinks: import("@angular/core").Signal<SimulatedLink[]>;
|
|
56
|
+
getGroupColor(group: string, idx: number): string;
|
|
57
|
+
linkHovered(link: SimulatedLink): boolean;
|
|
58
|
+
onNodeMouseEnter(event: MouseEvent, node: SimulatedNode): void;
|
|
59
|
+
onNodeMouseLeave(): void;
|
|
60
|
+
onLinkHover(event: MouseEvent, link: SimulatedLink): void;
|
|
61
|
+
onMouseLeave(): void;
|
|
62
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
63
|
+
closeExportMenu(): void;
|
|
64
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
65
|
+
exportToCsv(): void;
|
|
66
|
+
exportToJson(): void;
|
|
67
|
+
exportToSvg(): void;
|
|
68
|
+
exportToPdf(): void;
|
|
69
|
+
readonly fmtNum: typeof fmtNum;
|
|
70
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NetworkGraphComponent, never>;
|
|
71
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NetworkGraphComponent, "ngx-network-graph", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "links": { "alias": "links"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; "linkLength": { "alias": "linkLength"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
72
|
+
}
|
|
73
|
+
export {};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { fmtNum } from '../shared/chart-utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface OHLCItem {
|
|
5
|
+
date: string | Date;
|
|
6
|
+
open: number;
|
|
7
|
+
high: number;
|
|
8
|
+
low: number;
|
|
9
|
+
close: number;
|
|
10
|
+
}
|
|
11
|
+
export declare class OHLCChartComponent {
|
|
12
|
+
readonly PAD_LEFT = 52;
|
|
13
|
+
readonly PAD_TOP = 20;
|
|
14
|
+
readonly PAD_RIGHT = 24;
|
|
15
|
+
readonly PAD_BOTTOM = 36;
|
|
16
|
+
data: import("@angular/core").InputSignal<OHLCItem[]>;
|
|
17
|
+
height: import("@angular/core").InputSignal<number>;
|
|
18
|
+
showGrid: import("@angular/core").InputSignal<boolean>;
|
|
19
|
+
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
20
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
21
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
22
|
+
bullishColor: import("@angular/core").InputSignal<string>;
|
|
23
|
+
bearishColor: import("@angular/core").InputSignal<string>;
|
|
24
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
25
|
+
hoveredIndex: import("@angular/core").WritableSignal<number | null>;
|
|
26
|
+
tooltip: import("@angular/core").WritableSignal<{
|
|
27
|
+
x: number;
|
|
28
|
+
y: number;
|
|
29
|
+
date: string | Date;
|
|
30
|
+
open: number;
|
|
31
|
+
high: number;
|
|
32
|
+
low: number;
|
|
33
|
+
close: number;
|
|
34
|
+
direction: "Bullish" | "Bearish";
|
|
35
|
+
changePct: string;
|
|
36
|
+
} | null>;
|
|
37
|
+
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
38
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
39
|
+
private container;
|
|
40
|
+
constructor();
|
|
41
|
+
innerW: import("@angular/core").Signal<number>;
|
|
42
|
+
innerH: import("@angular/core").Signal<number>;
|
|
43
|
+
yMin: import("@angular/core").Signal<number>;
|
|
44
|
+
yMax: import("@angular/core").Signal<number>;
|
|
45
|
+
yTicks: import("@angular/core").Signal<number[]>;
|
|
46
|
+
xPos(index: number): number;
|
|
47
|
+
yPos(y: number): number;
|
|
48
|
+
tickWidth(): number;
|
|
49
|
+
computedTicks: import("@angular/core").Signal<{
|
|
50
|
+
x: number;
|
|
51
|
+
centerX: number;
|
|
52
|
+
cellWidth: number;
|
|
53
|
+
width: number;
|
|
54
|
+
yHigh: number;
|
|
55
|
+
yLow: number;
|
|
56
|
+
yOpen: number;
|
|
57
|
+
yClose: number;
|
|
58
|
+
color: string;
|
|
59
|
+
isBullish: boolean;
|
|
60
|
+
raw: OHLCItem;
|
|
61
|
+
}[]>;
|
|
62
|
+
shouldShowXLabel(index: number): boolean;
|
|
63
|
+
onTickHover(event: MouseEvent, item: OHLCItem, index: number): void;
|
|
64
|
+
formatDate(d: string | Date): string;
|
|
65
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
66
|
+
closeExportMenu(): void;
|
|
67
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
68
|
+
exportToCsv(): void;
|
|
69
|
+
exportToJson(): void;
|
|
70
|
+
exportToSvg(): void;
|
|
71
|
+
exportToPdf(): void;
|
|
72
|
+
readonly fmtNum: typeof fmtNum;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OHLCChartComponent, never>;
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OHLCChartComponent, "ngx-ohlc-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "bullishColor": { "alias": "bullishColor"; "required": false; "isSignal": true; }; "bearishColor": { "alias": "bearishColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
75
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { fmtNum } from '../shared/chart-utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface BubbleNode {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
value: number;
|
|
8
|
+
group?: string;
|
|
9
|
+
color?: string;
|
|
10
|
+
}
|
|
11
|
+
interface SimulatedNode {
|
|
12
|
+
id: string;
|
|
13
|
+
label: string;
|
|
14
|
+
value: number;
|
|
15
|
+
group: string;
|
|
16
|
+
r: number;
|
|
17
|
+
x: number;
|
|
18
|
+
y: number;
|
|
19
|
+
vx: number;
|
|
20
|
+
vy: number;
|
|
21
|
+
color: string;
|
|
22
|
+
}
|
|
23
|
+
export declare class PackedBubbleChartComponent {
|
|
24
|
+
data: import("@angular/core").InputSignal<BubbleNode[]>;
|
|
25
|
+
height: import("@angular/core").InputSignal<number>;
|
|
26
|
+
width: import("@angular/core").InputSignal<number>;
|
|
27
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
28
|
+
showLegend: import("@angular/core").InputSignal<boolean>;
|
|
29
|
+
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
30
|
+
showGroupLabels: import("@angular/core").InputSignal<boolean>;
|
|
31
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
32
|
+
minBubbleRadius: import("@angular/core").InputSignal<number>;
|
|
33
|
+
maxBubbleRadius: import("@angular/core").InputSignal<number>;
|
|
34
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
35
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
36
|
+
hoveredId: import("@angular/core").WritableSignal<string | null>;
|
|
37
|
+
tooltip: import("@angular/core").WritableSignal<{
|
|
38
|
+
x: number;
|
|
39
|
+
y: number;
|
|
40
|
+
label: string;
|
|
41
|
+
value: number;
|
|
42
|
+
group?: string;
|
|
43
|
+
color: string;
|
|
44
|
+
} | null>;
|
|
45
|
+
cx: import("@angular/core").Signal<number>;
|
|
46
|
+
cy: import("@angular/core").Signal<number>;
|
|
47
|
+
uniqueGroups: import("@angular/core").Signal<string[]>;
|
|
48
|
+
groupCenters: import("@angular/core").Signal<{
|
|
49
|
+
group: string;
|
|
50
|
+
x: number;
|
|
51
|
+
y: number;
|
|
52
|
+
}[]>;
|
|
53
|
+
computedNodes: import("@angular/core").Signal<SimulatedNode[]>;
|
|
54
|
+
getGroupColor(group: string, idx: number): string;
|
|
55
|
+
truncate(str: string, radius: number): string;
|
|
56
|
+
onBubbleHover(event: MouseEvent, node: SimulatedNode): void;
|
|
57
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
58
|
+
closeExportMenu(): void;
|
|
59
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
60
|
+
exportToCsv(): void;
|
|
61
|
+
exportToJson(): void;
|
|
62
|
+
exportToSvg(): void;
|
|
63
|
+
exportToPdf(): void;
|
|
64
|
+
readonly fmtNum: typeof fmtNum;
|
|
65
|
+
readonly Math: Math;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PackedBubbleChartComponent, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PackedBubbleChartComponent, "ngx-packed-bubble-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "showGroupLabels": { "alias": "showGroupLabels"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; "minBubbleRadius": { "alias": "minBubbleRadius"; "required": false; "isSignal": true; }; "maxBubbleRadius": { "alias": "maxBubbleRadius"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
68
|
+
}
|
|
69
|
+
export {};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface AxisDimension {
|
|
4
|
+
key: string;
|
|
5
|
+
min: number;
|
|
6
|
+
max: number;
|
|
7
|
+
ticks: number[];
|
|
8
|
+
x: number;
|
|
9
|
+
}
|
|
10
|
+
export interface ParallelLine {
|
|
11
|
+
rawData: any;
|
|
12
|
+
index: number;
|
|
13
|
+
points: {
|
|
14
|
+
x: number;
|
|
15
|
+
y: number;
|
|
16
|
+
}[];
|
|
17
|
+
pathStr: string;
|
|
18
|
+
color: string;
|
|
19
|
+
}
|
|
20
|
+
export declare class ParallelCoordinatesComponent {
|
|
21
|
+
data: import("@angular/core").InputSignal<Record<string, any>[]>;
|
|
22
|
+
dimensions: import("@angular/core").InputSignal<string[]>;
|
|
23
|
+
colorKey: import("@angular/core").InputSignal<string | undefined>;
|
|
24
|
+
height: import("@angular/core").InputSignal<number>;
|
|
25
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
26
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
27
|
+
labelFormatter: import("@angular/core").InputSignal<((dim: string, val: number) => string) | undefined>;
|
|
28
|
+
tooltipTemplate: import("@angular/core").InputSignal<TemplateRef<any> | null>;
|
|
29
|
+
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
30
|
+
hoveredIndex: import("@angular/core").WritableSignal<number | null>;
|
|
31
|
+
tooltip: import("@angular/core").WritableSignal<any>;
|
|
32
|
+
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
33
|
+
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
34
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
35
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
36
|
+
margin: import("@angular/core").Signal<{
|
|
37
|
+
top: number;
|
|
38
|
+
right: number;
|
|
39
|
+
bottom: number;
|
|
40
|
+
left: number;
|
|
41
|
+
}>;
|
|
42
|
+
svgHeight: import("@angular/core").Signal<number>;
|
|
43
|
+
innerW: import("@angular/core").Signal<number>;
|
|
44
|
+
innerH: import("@angular/core").Signal<number>;
|
|
45
|
+
axes: import("@angular/core").Signal<AxisDimension[]>;
|
|
46
|
+
computedLines: import("@angular/core").Signal<ParallelLine[]>;
|
|
47
|
+
constructor();
|
|
48
|
+
yPosForAxis(val: number, axis: AxisDimension): number;
|
|
49
|
+
formatAxisVal(dim: string, val: number): string;
|
|
50
|
+
onSvgMouseMove(event: MouseEvent): void;
|
|
51
|
+
onMouseLeave(): void;
|
|
52
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
53
|
+
closeExportMenu(): void;
|
|
54
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
55
|
+
exportToCsv(): void;
|
|
56
|
+
exportToJson(): void;
|
|
57
|
+
exportToSvg(): void;
|
|
58
|
+
exportToPdf(): void;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ParallelCoordinatesComponent, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ParallelCoordinatesComponent, "ngx-parallel-coordinates", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "dimensions": { "alias": "dimensions"; "required": false; "isSignal": true; }; "colorKey": { "alias": "colorKey"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; "labelFormatter": { "alias": "labelFormatter"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
61
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export interface ParetoItem {
|
|
3
4
|
label: string;
|
|
@@ -11,11 +12,14 @@ export declare class ParetoChartComponent {
|
|
|
11
12
|
showCumPercentLabels: import("@angular/core").InputSignal<boolean>;
|
|
12
13
|
barColor: import("@angular/core").InputSignal<string>;
|
|
13
14
|
lineColor: import("@angular/core").InputSignal<string>;
|
|
15
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
14
16
|
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
15
17
|
hoveredIndex: import("@angular/core").WritableSignal<number | null>;
|
|
16
18
|
tooltip: import("@angular/core").WritableSignal<any>;
|
|
17
19
|
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
18
20
|
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
21
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
22
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
19
23
|
readonly Math: Math;
|
|
20
24
|
margin: import("@angular/core").Signal<{
|
|
21
25
|
top: number;
|
|
@@ -46,7 +50,14 @@ export declare class ParetoChartComponent {
|
|
|
46
50
|
onItemHover(idx: number, event: MouseEvent): void;
|
|
47
51
|
onItemMouseMove(event: MouseEvent): void;
|
|
48
52
|
onMouseLeave(): void;
|
|
53
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
54
|
+
closeExportMenu(): void;
|
|
55
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
56
|
+
exportToJson(): void;
|
|
57
|
+
exportToCsv(): void;
|
|
58
|
+
exportToSvg(): void;
|
|
59
|
+
exportToPdf(): void;
|
|
49
60
|
formatNumber(v: number): string;
|
|
50
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<ParetoChartComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ParetoChartComponent, "ngx-pareto-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "showCumPercentLabels": { "alias": "showCumPercentLabels"; "required": false; "isSignal": true; }; "barColor": { "alias": "barColor"; "required": false; "isSignal": true; }; "lineColor": { "alias": "lineColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ParetoChartComponent, "ngx-pareto-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "showCumPercentLabels": { "alias": "showCumPercentLabels"; "required": false; "isSignal": true; }; "barColor": { "alias": "barColor"; "required": false; "isSignal": true; }; "lineColor": { "alias": "lineColor"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
52
63
|
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface PictorialIcon {
|
|
4
|
+
index: number;
|
|
5
|
+
row: number;
|
|
6
|
+
col: number;
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
w: number;
|
|
10
|
+
h: number;
|
|
11
|
+
fillId: string;
|
|
12
|
+
fraction: number;
|
|
13
|
+
}
|
|
14
|
+
export declare class PictorialChartComponent {
|
|
15
|
+
value: import("@angular/core").InputSignal<number>;
|
|
16
|
+
max: import("@angular/core").InputSignal<number>;
|
|
17
|
+
icon: import("@angular/core").InputSignal<"user" | "star" | "heart" | "lightbulb" | "car">;
|
|
18
|
+
iconCount: import("@angular/core").InputSignal<number>;
|
|
19
|
+
height: import("@angular/core").InputSignal<number>;
|
|
20
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
21
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
22
|
+
tooltipTemplate: import("@angular/core").InputSignal<TemplateRef<any> | null>;
|
|
23
|
+
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
24
|
+
hoveredIndex: import("@angular/core").WritableSignal<number | null>;
|
|
25
|
+
tooltip: import("@angular/core").WritableSignal<any>;
|
|
26
|
+
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
27
|
+
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
28
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
29
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
30
|
+
margin: import("@angular/core").Signal<{
|
|
31
|
+
top: number;
|
|
32
|
+
right: number;
|
|
33
|
+
bottom: number;
|
|
34
|
+
left: number;
|
|
35
|
+
}>;
|
|
36
|
+
svgHeight: import("@angular/core").Signal<number>;
|
|
37
|
+
innerW: import("@angular/core").Signal<number>;
|
|
38
|
+
innerH: import("@angular/core").Signal<number>;
|
|
39
|
+
percentage: import("@angular/core").Signal<number>;
|
|
40
|
+
activeColor: import("@angular/core").Signal<string>;
|
|
41
|
+
inactiveColor: import("@angular/core").Signal<string>;
|
|
42
|
+
iconPath: import("@angular/core").Signal<string>;
|
|
43
|
+
computedIcons: import("@angular/core").Signal<PictorialIcon[]>;
|
|
44
|
+
constructor();
|
|
45
|
+
getIconTransform(ic: PictorialIcon): string;
|
|
46
|
+
onIconHover(idx: number): void;
|
|
47
|
+
onMouseMove(event: MouseEvent): void;
|
|
48
|
+
onMouseLeave(): void;
|
|
49
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
50
|
+
closeExportMenu(): void;
|
|
51
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
52
|
+
exportToCsv(): void;
|
|
53
|
+
exportToJson(): void;
|
|
54
|
+
exportToSvg(): void;
|
|
55
|
+
exportToPdf(): void;
|
|
56
|
+
formatNumber(v: number): string;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PictorialChartComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PictorialChartComponent, "ngx-pictorial-chart", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconCount": { "alias": "iconCount"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
59
|
+
}
|