ngx-core-components 0.3.23 → 0.3.25
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 +11 -1
- package/charts/agentic-cognitive-topology/agentic-cognitive-topology.component.d.ts +125 -0
- package/charts/arc-diagram/arc-diagram.component.d.ts +71 -0
- package/charts/area-chart/area-chart.component.d.ts +11 -1
- package/charts/area-range-chart/area-range-chart.component.d.ts +72 -0
- package/charts/area-spline-range-chart/area-spline-range-chart.component.d.ts +72 -0
- package/charts/bar-chart/bar-chart.component.d.ts +5 -5
- package/charts/bell-curve-chart/bell-curve-chart.component.d.ts +65 -0
- package/charts/biplot/biplot.component.d.ts +13 -1
- package/charts/box-plot-chart/box-plot-chart.component.d.ts +14 -1
- package/charts/bubble-chart/bubble-chart.component.d.ts +5 -4
- package/charts/bullet-chart/bullet-chart.component.d.ts +11 -1
- package/charts/candlestick-chart/candlestick-chart.component.d.ts +12 -1
- package/charts/chord-diagram/chord-diagram.component.d.ts +11 -1
- package/charts/column-pyramid-chart/column-pyramid-chart.component.d.ts +60 -0
- package/charts/column-range-chart/column-range-chart.component.d.ts +65 -0
- package/charts/combo-chart/combo-chart.component.d.ts +11 -1
- package/charts/dependency-wheel/dependency-wheel.component.d.ts +11 -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 +64 -0
- package/charts/heatmap-chart/heatmap-chart.component.d.ts +11 -1
- package/charts/heikin-ashi-chart/heikin-ashi-chart.component.d.ts +88 -0
- package/charts/histogram/histogram.component.d.ts +58 -0
- package/charts/hlc-chart/hlc-chart.component.d.ts +71 -0
- package/charts/hollow-candlestick-chart/hollow-candlestick-chart.component.d.ts +80 -0
- package/charts/kagi-chart/kagi-chart.component.d.ts +4 -4
- package/charts/line-chart/line-chart.component.d.ts +5 -4
- package/charts/lollipop-chart/lollipop-chart.component.d.ts +11 -1
- package/charts/map-bubble/map-bubble.component.d.ts +56 -0
- package/charts/map-choropleth/map-choropleth.component.d.ts +53 -0
- package/charts/map-line-point/map-line-point.component.d.ts +66 -0
- package/charts/marimekko-chart/marimekko-chart.component.d.ts +11 -1
- package/charts/network-graph/network-graph.component.d.ts +72 -0
- package/charts/ohlc-chart/ohlc-chart.component.d.ts +74 -0
- package/charts/packed-bubble-chart/packed-bubble-chart.component.d.ts +68 -0
- package/charts/parallel-coordinates/parallel-coordinates.component.d.ts +60 -0
- package/charts/pareto-chart/pareto-chart.component.d.ts +11 -1
- package/charts/pictorial-chart/pictorial-chart.component.d.ts +58 -0
- package/charts/pie-chart/pie-chart.component.d.ts +5 -5
- package/charts/point-figure-chart/point-figure-chart.component.d.ts +5 -5
- package/charts/polar-area-chart/polar-area-chart.component.d.ts +5 -5
- 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/renko-chart/renko-chart.component.d.ts +5 -5
- package/charts/ridgeline-chart/ridgeline-chart.component.d.ts +12 -1
- package/charts/sankey-chart/sankey-chart.component.d.ts +11 -1
- package/charts/scatter-plot/scatter-plot.component.d.ts +11 -1
- package/charts/shared/chart-export-menu.component.d.ts +26 -0
- package/charts/shared/chart-export.service.d.ts +29 -0
- package/charts/shared/chart-utils.d.ts +1 -0
- package/charts/shared/map-data.d.ts +30 -0
- package/charts/slope-chart/slope-chart.component.d.ts +11 -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 +11 -1
- package/charts/wind-rose/wind-rose.component.d.ts +4 -4
- package/charts/word-cloud/word-cloud.component.d.ts +55 -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 +20547 -971
- 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
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
3
|
+
import { fmtNum } from '../shared/chart-utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface CandlestickItem {
|
|
6
|
+
date: string | Date;
|
|
7
|
+
open: number;
|
|
8
|
+
high: number;
|
|
9
|
+
low: number;
|
|
10
|
+
close: number;
|
|
11
|
+
}
|
|
12
|
+
export declare class HollowCandlestickChartComponent {
|
|
13
|
+
private readonly exportSvc;
|
|
14
|
+
readonly PAD_LEFT = 52;
|
|
15
|
+
readonly PAD_TOP = 20;
|
|
16
|
+
readonly PAD_RIGHT = 24;
|
|
17
|
+
readonly PAD_BOTTOM = 36;
|
|
18
|
+
data: import("@angular/core").InputSignal<CandlestickItem[]>;
|
|
19
|
+
height: import("@angular/core").InputSignal<number>;
|
|
20
|
+
showGrid: import("@angular/core").InputSignal<boolean>;
|
|
21
|
+
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
22
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
23
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
24
|
+
bullishColor: import("@angular/core").InputSignal<string>;
|
|
25
|
+
bearishColor: import("@angular/core").InputSignal<string>;
|
|
26
|
+
hoveredIndex: import("@angular/core").WritableSignal<number | null>;
|
|
27
|
+
tooltip: import("@angular/core").WritableSignal<{
|
|
28
|
+
x: number;
|
|
29
|
+
y: number;
|
|
30
|
+
date: string | Date;
|
|
31
|
+
open: number;
|
|
32
|
+
high: number;
|
|
33
|
+
low: number;
|
|
34
|
+
close: number;
|
|
35
|
+
isUp: boolean;
|
|
36
|
+
direction: string;
|
|
37
|
+
hollowText: string;
|
|
38
|
+
changePct: string;
|
|
39
|
+
} | null>;
|
|
40
|
+
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
41
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
42
|
+
private container;
|
|
43
|
+
constructor();
|
|
44
|
+
innerW: import("@angular/core").Signal<number>;
|
|
45
|
+
innerH: import("@angular/core").Signal<number>;
|
|
46
|
+
yMin: import("@angular/core").Signal<number>;
|
|
47
|
+
yMax: import("@angular/core").Signal<number>;
|
|
48
|
+
yTicks: import("@angular/core").Signal<number[]>;
|
|
49
|
+
xPos(index: number): number;
|
|
50
|
+
yPos(y: number): number;
|
|
51
|
+
candleWidth(): number;
|
|
52
|
+
computedCandles: import("@angular/core").Signal<{
|
|
53
|
+
x: number;
|
|
54
|
+
centerX: number;
|
|
55
|
+
width: number;
|
|
56
|
+
yHigh: number;
|
|
57
|
+
yLow: number;
|
|
58
|
+
yOpen: number;
|
|
59
|
+
yClose: number;
|
|
60
|
+
y: number;
|
|
61
|
+
rectH: number;
|
|
62
|
+
yBodyTop: number;
|
|
63
|
+
yBodyBottom: number;
|
|
64
|
+
color: string;
|
|
65
|
+
isUp: boolean;
|
|
66
|
+
isHollow: boolean;
|
|
67
|
+
raw: CandlestickItem;
|
|
68
|
+
}[]>;
|
|
69
|
+
shouldShowXLabel(index: number): boolean;
|
|
70
|
+
onCandleHover(event: MouseEvent, item: CandlestickItem, index: number): void;
|
|
71
|
+
formatDate(d: string | Date): string;
|
|
72
|
+
onExport(type: ExportFormat): void;
|
|
73
|
+
exportToCsv(): void;
|
|
74
|
+
exportToJson(): void;
|
|
75
|
+
exportToSvg(): void;
|
|
76
|
+
exportToPdf(): void;
|
|
77
|
+
readonly fmtNum: typeof fmtNum;
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HollowCandlestickChartComponent, never>;
|
|
79
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HollowCandlestickChartComponent, "ngx-hollow-candlestick-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>;
|
|
80
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export interface KagiSegment {
|
|
4
5
|
x: number;
|
|
@@ -12,6 +13,7 @@ export interface KagiSegment {
|
|
|
12
13
|
thickness: number;
|
|
13
14
|
}
|
|
14
15
|
export declare class KagiChartComponent {
|
|
16
|
+
private readonly exportSvc;
|
|
15
17
|
data: import("@angular/core").InputSignal<number[]>;
|
|
16
18
|
reversalAmount: import("@angular/core").InputSignal<number>;
|
|
17
19
|
height: import("@angular/core").InputSignal<number>;
|
|
@@ -26,7 +28,6 @@ export declare class KagiChartComponent {
|
|
|
26
28
|
tooltip: import("@angular/core").WritableSignal<any>;
|
|
27
29
|
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
28
30
|
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
29
|
-
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
30
31
|
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
31
32
|
margin: import("@angular/core").Signal<{
|
|
32
33
|
top: number;
|
|
@@ -47,12 +48,11 @@ export declare class KagiChartComponent {
|
|
|
47
48
|
onSegmentHover(idx: number, event: MouseEvent): void;
|
|
48
49
|
onMouseMove(event: MouseEvent): void;
|
|
49
50
|
onMouseLeave(): void;
|
|
50
|
-
|
|
51
|
-
closeExportMenu(): void;
|
|
52
|
-
onExport(type: 'json' | 'csv' | 'svg'): void;
|
|
51
|
+
onExport(type: ExportFormat): void;
|
|
53
52
|
exportToCsv(): void;
|
|
54
53
|
exportToJson(): void;
|
|
55
54
|
exportToSvg(): void;
|
|
55
|
+
exportToPdf(): void;
|
|
56
56
|
formatNumber(v: number): string;
|
|
57
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<KagiChartComponent, never>;
|
|
58
58
|
static ɵcmp: i0.ɵɵComponentDeclaration<KagiChartComponent, "ngx-kagi-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "reversalAmount": { "alias": "reversalAmount"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "bullishColor": { "alias": "bullishColor"; "required": false; "isSignal": true; }; "bearishColor": { "alias": "bearishColor"; "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>;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
2
3
|
import { ChartSeries, fmtNum } from '../shared/chart-utils';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class LineChartComponent {
|
|
6
|
+
readonly instanceId: string;
|
|
7
|
+
private readonly exportSvc;
|
|
5
8
|
readonly PAD_LEFT = 48;
|
|
6
9
|
readonly PAD_TOP = 12;
|
|
7
10
|
readonly PAD_RIGHT = 16;
|
|
@@ -32,7 +35,6 @@ export declare class LineChartComponent {
|
|
|
32
35
|
seriesName: string;
|
|
33
36
|
}>;
|
|
34
37
|
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
35
|
-
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
36
38
|
animateState: import("@angular/core").WritableSignal<boolean>;
|
|
37
39
|
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
38
40
|
zoomScale: import("@angular/core").WritableSignal<number>;
|
|
@@ -81,12 +83,11 @@ export declare class LineChartComponent {
|
|
|
81
83
|
resetZoom(): void;
|
|
82
84
|
onPointClick(ci: number, si: number, v: number): void;
|
|
83
85
|
onMouseLeave(): void;
|
|
84
|
-
|
|
85
|
-
closeExportMenu(): void;
|
|
86
|
-
onExport(type: 'json' | 'csv' | 'svg'): void;
|
|
86
|
+
onExport(type: ExportFormat): void;
|
|
87
87
|
exportToCsv(): void;
|
|
88
88
|
exportToJson(): void;
|
|
89
89
|
exportToSvg(): void;
|
|
90
|
+
exportToPdf(): void;
|
|
90
91
|
readonly fmtNum: typeof fmtNum;
|
|
91
92
|
static ɵfac: i0.ɵɵFactoryDeclaration<LineChartComponent, never>;
|
|
92
93
|
static ɵcmp: i0.ɵɵComponentDeclaration<LineChartComponent, "ngx-line-chart", never, { "series": { "alias": "series"; "required": false; "isSignal": true; }; "categories": { "alias": "categories"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "showArea": { "alias": "showArea"; "required": false; "isSignal": true; }; "showMarkers": { "alias": "showMarkers"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "referenceLines": { "alias": "referenceLines"; "required": false; "isSignal": true; }; "labelFormatter": { "alias": "labelFormatter"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; "zoomEnabled": { "alias": "zoomEnabled"; "required": false; "isSignal": true; }; "panEnabled": { "alias": "panEnabled"; "required": false; "isSignal": true; }; }, { "pointClick": "pointClick"; }, never, never, true, never>;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
1
3
|
import { ChartDataPoint } from '../shared/chart-utils';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
5
|
export declare class LollipopChartComponent {
|
|
6
|
+
private readonly exportSvc;
|
|
4
7
|
data: import("@angular/core").InputSignal<ChartDataPoint[]>;
|
|
5
8
|
height: import("@angular/core").InputSignal<number>;
|
|
6
9
|
showGrid: import("@angular/core").InputSignal<boolean>;
|
|
@@ -8,11 +11,13 @@ export declare class LollipopChartComponent {
|
|
|
8
11
|
orientation: import("@angular/core").InputSignal<"horizontal" | "vertical">;
|
|
9
12
|
colors: import("@angular/core").InputSignal<string[]>;
|
|
10
13
|
dotRadius: import("@angular/core").InputSignal<number>;
|
|
14
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
11
15
|
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
12
16
|
hoveredIndex: import("@angular/core").WritableSignal<number | null>;
|
|
13
17
|
tooltip: import("@angular/core").WritableSignal<any>;
|
|
14
18
|
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
15
19
|
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
20
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
16
21
|
margin: import("@angular/core").Signal<{
|
|
17
22
|
top: number;
|
|
18
23
|
right: number;
|
|
@@ -40,7 +45,12 @@ export declare class LollipopChartComponent {
|
|
|
40
45
|
onItemHover(idx: number, event: MouseEvent): void;
|
|
41
46
|
onItemMouseMove(event: MouseEvent): void;
|
|
42
47
|
onMouseLeave(): void;
|
|
48
|
+
onExport(type: ExportFormat): void;
|
|
49
|
+
exportToJson(): void;
|
|
50
|
+
exportToCsv(): void;
|
|
51
|
+
exportToSvg(): void;
|
|
52
|
+
exportToPdf(): void;
|
|
43
53
|
formatNumber(v: number): string;
|
|
44
54
|
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>;
|
|
55
|
+
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
56
|
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
3
|
+
import { fmtNum } from '../shared/chart-utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface MapBubblePoint {
|
|
6
|
+
lat: number;
|
|
7
|
+
lng: number;
|
|
8
|
+
value: number;
|
|
9
|
+
label?: string;
|
|
10
|
+
color?: string;
|
|
11
|
+
group?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare class MapBubbleComponent {
|
|
14
|
+
private readonly exportSvc;
|
|
15
|
+
title: import("@angular/core").InputSignal<string>;
|
|
16
|
+
data: import("@angular/core").InputSignal<MapBubblePoint[]>;
|
|
17
|
+
height: import("@angular/core").InputSignal<number>;
|
|
18
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
19
|
+
minBubbleSize: import("@angular/core").InputSignal<number>;
|
|
20
|
+
maxBubbleSize: import("@angular/core").InputSignal<number>;
|
|
21
|
+
showLegend: import("@angular/core").InputSignal<boolean>;
|
|
22
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
23
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
24
|
+
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
25
|
+
hoveredBubbleIndex: import("@angular/core").WritableSignal<number | null>;
|
|
26
|
+
tooltip: import("@angular/core").WritableSignal<any>;
|
|
27
|
+
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
28
|
+
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
29
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
30
|
+
private container;
|
|
31
|
+
constructor();
|
|
32
|
+
uniqueGroups: import("@angular/core").Signal<string[]>;
|
|
33
|
+
getGroupColor(grp?: string): string;
|
|
34
|
+
baseMapPaths: import("@angular/core").Signal<string[]>;
|
|
35
|
+
private values;
|
|
36
|
+
private minVal;
|
|
37
|
+
private maxVal;
|
|
38
|
+
scaledBubbles: import("@angular/core").Signal<{
|
|
39
|
+
x: number;
|
|
40
|
+
y: number;
|
|
41
|
+
r: number;
|
|
42
|
+
color: string;
|
|
43
|
+
raw: MapBubblePoint;
|
|
44
|
+
}[]>;
|
|
45
|
+
onBubbleHover(bubble: any, index: number, event: MouseEvent): void;
|
|
46
|
+
onBubbleMouseMove(event: MouseEvent): void;
|
|
47
|
+
onMouseLeave(): void;
|
|
48
|
+
onExport(type: ExportFormat): void;
|
|
49
|
+
exportToJson(): void;
|
|
50
|
+
exportToCsv(): void;
|
|
51
|
+
exportToSvg(): void;
|
|
52
|
+
exportToPdf(): void;
|
|
53
|
+
readonly fmtNum: typeof fmtNum;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapBubbleComponent, never>;
|
|
55
|
+
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>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
3
|
+
import { fmtNum } from '../shared/chart-utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface ChoroplethDataPoint {
|
|
6
|
+
regionId: string;
|
|
7
|
+
value: number;
|
|
8
|
+
label?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class MapChoroplethComponent {
|
|
11
|
+
private readonly exportSvc;
|
|
12
|
+
title: import("@angular/core").InputSignal<string>;
|
|
13
|
+
data: import("@angular/core").InputSignal<ChoroplethDataPoint[]>;
|
|
14
|
+
height: import("@angular/core").InputSignal<number>;
|
|
15
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
16
|
+
noDataColor: import("@angular/core").InputSignal<string>;
|
|
17
|
+
showLegend: import("@angular/core").InputSignal<boolean>;
|
|
18
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
19
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
20
|
+
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
21
|
+
hoveredRegionId: import("@angular/core").WritableSignal<string | null>;
|
|
22
|
+
tooltip: import("@angular/core").WritableSignal<any>;
|
|
23
|
+
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
24
|
+
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
25
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
26
|
+
private container;
|
|
27
|
+
constructor();
|
|
28
|
+
minVal: import("@angular/core").Signal<number>;
|
|
29
|
+
maxVal: import("@angular/core").Signal<number>;
|
|
30
|
+
legendGradient: import("@angular/core").Signal<string>;
|
|
31
|
+
computedRegions: import("@angular/core").Signal<{
|
|
32
|
+
id: string;
|
|
33
|
+
name: string;
|
|
34
|
+
path: string;
|
|
35
|
+
value: number;
|
|
36
|
+
hasData: boolean;
|
|
37
|
+
label: string;
|
|
38
|
+
fillColor: string;
|
|
39
|
+
}[]>;
|
|
40
|
+
onRegionHover(region: any, event: MouseEvent): void;
|
|
41
|
+
onRegionMouseMove(event: MouseEvent): void;
|
|
42
|
+
onMouseLeave(): void;
|
|
43
|
+
onExport(type: ExportFormat): void;
|
|
44
|
+
exportToJson(): void;
|
|
45
|
+
exportToCsv(): void;
|
|
46
|
+
exportToSvg(): void;
|
|
47
|
+
exportToPdf(): void;
|
|
48
|
+
private interpolateColor;
|
|
49
|
+
private parseHex;
|
|
50
|
+
readonly fmtNum: typeof fmtNum;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapChoroplethComponent, never>;
|
|
52
|
+
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>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface MapPoint {
|
|
5
|
+
lat: number;
|
|
6
|
+
lng: number;
|
|
7
|
+
label?: string;
|
|
8
|
+
color?: string;
|
|
9
|
+
size?: number;
|
|
10
|
+
}
|
|
11
|
+
export interface MapLine {
|
|
12
|
+
fromIndex: number;
|
|
13
|
+
toIndex: number;
|
|
14
|
+
label?: string;
|
|
15
|
+
color?: string;
|
|
16
|
+
strokeWidth?: number;
|
|
17
|
+
dashed?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare class MapLinePointComponent {
|
|
20
|
+
private readonly exportSvc;
|
|
21
|
+
title: import("@angular/core").InputSignal<string>;
|
|
22
|
+
points: import("@angular/core").InputSignal<MapPoint[]>;
|
|
23
|
+
lines: import("@angular/core").InputSignal<MapLine[]>;
|
|
24
|
+
height: import("@angular/core").InputSignal<number>;
|
|
25
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
26
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
27
|
+
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
28
|
+
hoveredPointIndex: import("@angular/core").WritableSignal<number | null>;
|
|
29
|
+
hoveredLineIndex: import("@angular/core").WritableSignal<number | null>;
|
|
30
|
+
tooltip: import("@angular/core").WritableSignal<any>;
|
|
31
|
+
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
32
|
+
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
33
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
34
|
+
private container;
|
|
35
|
+
constructor();
|
|
36
|
+
baseMapPaths: import("@angular/core").Signal<string[]>;
|
|
37
|
+
computedPoints: import("@angular/core").Signal<{
|
|
38
|
+
x: number;
|
|
39
|
+
y: number;
|
|
40
|
+
size: number;
|
|
41
|
+
color: string;
|
|
42
|
+
raw: MapPoint;
|
|
43
|
+
}[]>;
|
|
44
|
+
computedLines: import("@angular/core").Signal<{
|
|
45
|
+
x1: number;
|
|
46
|
+
y1: number;
|
|
47
|
+
x2: number;
|
|
48
|
+
y2: number;
|
|
49
|
+
color: string;
|
|
50
|
+
dashed: boolean;
|
|
51
|
+
strokeWidth: number;
|
|
52
|
+
raw: MapLine;
|
|
53
|
+
}[]>;
|
|
54
|
+
onPointHover(pt: MapPoint, idx: number, event: MouseEvent): void;
|
|
55
|
+
onPointMouseMove(event: MouseEvent): void;
|
|
56
|
+
onLineHover(line: MapLine, idx: number, event: MouseEvent): void;
|
|
57
|
+
onLineMouseMove(event: MouseEvent): void;
|
|
58
|
+
onMouseLeave(): void;
|
|
59
|
+
onExport(type: ExportFormat): void;
|
|
60
|
+
exportToJson(): void;
|
|
61
|
+
exportToCsv(): void;
|
|
62
|
+
exportToSvg(): void;
|
|
63
|
+
exportToPdf(): void;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapLinePointComponent, never>;
|
|
65
|
+
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>;
|
|
66
|
+
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
1
3
|
import * as i0 from "@angular/core";
|
|
2
4
|
export interface MarimekkoSegment {
|
|
3
5
|
name: string;
|
|
@@ -8,12 +10,14 @@ export interface MarimekkoItem {
|
|
|
8
10
|
segments: MarimekkoSegment[];
|
|
9
11
|
}
|
|
10
12
|
export declare class MarimekkoChartComponent {
|
|
13
|
+
private readonly exportSvc;
|
|
11
14
|
data: import("@angular/core").InputSignal<MarimekkoItem[]>;
|
|
12
15
|
height: import("@angular/core").InputSignal<number>;
|
|
13
16
|
showGrid: import("@angular/core").InputSignal<boolean>;
|
|
14
17
|
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
15
18
|
showSegmentLabels: import("@angular/core").InputSignal<boolean>;
|
|
16
19
|
colors: import("@angular/core").InputSignal<string[]>;
|
|
20
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
17
21
|
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
18
22
|
hoveredIndices: import("@angular/core").WritableSignal<{
|
|
19
23
|
col: number;
|
|
@@ -22,6 +26,7 @@ export declare class MarimekkoChartComponent {
|
|
|
22
26
|
tooltip: import("@angular/core").WritableSignal<any>;
|
|
23
27
|
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
24
28
|
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
29
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
25
30
|
margin: import("@angular/core").Signal<{
|
|
26
31
|
top: number;
|
|
27
32
|
right: number;
|
|
@@ -55,7 +60,12 @@ export declare class MarimekkoChartComponent {
|
|
|
55
60
|
onSegmentHover(colIndex: number, segIndex: number, event: MouseEvent): void;
|
|
56
61
|
onSegmentMouseMove(event: MouseEvent): void;
|
|
57
62
|
onMouseLeave(): void;
|
|
63
|
+
onExport(type: ExportFormat): void;
|
|
64
|
+
exportToJson(): void;
|
|
65
|
+
exportToCsv(): void;
|
|
66
|
+
exportToSvg(): void;
|
|
67
|
+
exportToPdf(): void;
|
|
58
68
|
formatNumber(v: number): string;
|
|
59
69
|
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>;
|
|
70
|
+
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
71
|
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
3
|
+
import { fmtNum } from '../shared/chart-utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface NetworkNode {
|
|
6
|
+
id: string;
|
|
7
|
+
label: string;
|
|
8
|
+
value?: number;
|
|
9
|
+
group?: string;
|
|
10
|
+
color?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface NetworkLink {
|
|
13
|
+
source: string;
|
|
14
|
+
target: string;
|
|
15
|
+
value?: number;
|
|
16
|
+
}
|
|
17
|
+
interface SimulatedNode {
|
|
18
|
+
id: string;
|
|
19
|
+
label: string;
|
|
20
|
+
value: number;
|
|
21
|
+
group: string;
|
|
22
|
+
x: number;
|
|
23
|
+
y: number;
|
|
24
|
+
vx: number;
|
|
25
|
+
vy: number;
|
|
26
|
+
r: number;
|
|
27
|
+
color: string;
|
|
28
|
+
}
|
|
29
|
+
interface SimulatedLink {
|
|
30
|
+
sourceId: string;
|
|
31
|
+
targetId: string;
|
|
32
|
+
sourceNode: SimulatedNode;
|
|
33
|
+
targetNode: SimulatedNode;
|
|
34
|
+
weight: number;
|
|
35
|
+
}
|
|
36
|
+
export declare class NetworkGraphComponent {
|
|
37
|
+
private readonly exportSvc;
|
|
38
|
+
nodes: import("@angular/core").InputSignal<NetworkNode[]>;
|
|
39
|
+
links: import("@angular/core").InputSignal<NetworkLink[]>;
|
|
40
|
+
height: import("@angular/core").InputSignal<number>;
|
|
41
|
+
width: import("@angular/core").InputSignal<number>;
|
|
42
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
43
|
+
showLegend: import("@angular/core").InputSignal<boolean>;
|
|
44
|
+
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
45
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
46
|
+
linkLength: import("@angular/core").InputSignal<number>;
|
|
47
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
48
|
+
hoveredNodeId: import("@angular/core").WritableSignal<string | null>;
|
|
49
|
+
hoveredLink: import("@angular/core").WritableSignal<SimulatedLink | null>;
|
|
50
|
+
tooltip: import("@angular/core").WritableSignal<any>;
|
|
51
|
+
cx: import("@angular/core").Signal<number>;
|
|
52
|
+
cy: import("@angular/core").Signal<number>;
|
|
53
|
+
uniqueGroups: import("@angular/core").Signal<string[]>;
|
|
54
|
+
neighborNodeIds: import("@angular/core").Signal<string[]>;
|
|
55
|
+
computedNodes: import("@angular/core").Signal<SimulatedNode[]>;
|
|
56
|
+
computedLinks: import("@angular/core").Signal<SimulatedLink[]>;
|
|
57
|
+
getGroupColor(group: string, idx: number): string;
|
|
58
|
+
linkHovered(link: SimulatedLink): boolean;
|
|
59
|
+
onNodeMouseEnter(event: MouseEvent, node: SimulatedNode): void;
|
|
60
|
+
onNodeMouseLeave(): void;
|
|
61
|
+
onLinkHover(event: MouseEvent, link: SimulatedLink): void;
|
|
62
|
+
onMouseLeave(): void;
|
|
63
|
+
onExport(type: ExportFormat): void;
|
|
64
|
+
exportToJson(): void;
|
|
65
|
+
exportToCsv(): void;
|
|
66
|
+
exportToSvg(): void;
|
|
67
|
+
exportToPdf(): void;
|
|
68
|
+
readonly fmtNum: typeof fmtNum;
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NetworkGraphComponent, never>;
|
|
70
|
+
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>;
|
|
71
|
+
}
|
|
72
|
+
export {};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
3
|
+
import { fmtNum } from '../shared/chart-utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface OHLCItem {
|
|
6
|
+
date: string | Date;
|
|
7
|
+
open: number;
|
|
8
|
+
high: number;
|
|
9
|
+
low: number;
|
|
10
|
+
close: number;
|
|
11
|
+
}
|
|
12
|
+
export declare class OHLCChartComponent {
|
|
13
|
+
private readonly exportSvc;
|
|
14
|
+
readonly PAD_LEFT = 52;
|
|
15
|
+
readonly PAD_TOP = 20;
|
|
16
|
+
readonly PAD_RIGHT = 24;
|
|
17
|
+
readonly PAD_BOTTOM = 36;
|
|
18
|
+
data: import("@angular/core").InputSignal<OHLCItem[]>;
|
|
19
|
+
height: import("@angular/core").InputSignal<number>;
|
|
20
|
+
showGrid: import("@angular/core").InputSignal<boolean>;
|
|
21
|
+
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
22
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
23
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
24
|
+
bullishColor: import("@angular/core").InputSignal<string>;
|
|
25
|
+
bearishColor: import("@angular/core").InputSignal<string>;
|
|
26
|
+
hoveredIndex: import("@angular/core").WritableSignal<number | null>;
|
|
27
|
+
tooltip: import("@angular/core").WritableSignal<{
|
|
28
|
+
x: number;
|
|
29
|
+
y: number;
|
|
30
|
+
date: string | Date;
|
|
31
|
+
open: number;
|
|
32
|
+
high: number;
|
|
33
|
+
low: number;
|
|
34
|
+
close: number;
|
|
35
|
+
direction: "Bullish" | "Bearish";
|
|
36
|
+
changePct: string;
|
|
37
|
+
} | null>;
|
|
38
|
+
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
39
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
40
|
+
private container;
|
|
41
|
+
constructor();
|
|
42
|
+
innerW: import("@angular/core").Signal<number>;
|
|
43
|
+
innerH: import("@angular/core").Signal<number>;
|
|
44
|
+
yMin: import("@angular/core").Signal<number>;
|
|
45
|
+
yMax: import("@angular/core").Signal<number>;
|
|
46
|
+
yTicks: import("@angular/core").Signal<number[]>;
|
|
47
|
+
xPos(index: number): number;
|
|
48
|
+
yPos(y: number): number;
|
|
49
|
+
tickWidth(): number;
|
|
50
|
+
computedTicks: import("@angular/core").Signal<{
|
|
51
|
+
x: number;
|
|
52
|
+
centerX: number;
|
|
53
|
+
cellWidth: number;
|
|
54
|
+
width: number;
|
|
55
|
+
yHigh: number;
|
|
56
|
+
yLow: number;
|
|
57
|
+
yOpen: number;
|
|
58
|
+
yClose: number;
|
|
59
|
+
color: string;
|
|
60
|
+
isBullish: boolean;
|
|
61
|
+
raw: OHLCItem;
|
|
62
|
+
}[]>;
|
|
63
|
+
shouldShowXLabel(index: number): boolean;
|
|
64
|
+
onTickHover(event: MouseEvent, item: OHLCItem, index: number): void;
|
|
65
|
+
formatDate(d: string | Date): string;
|
|
66
|
+
onExport(type: ExportFormat): void;
|
|
67
|
+
exportToJson(): void;
|
|
68
|
+
exportToCsv(): void;
|
|
69
|
+
exportToSvg(): void;
|
|
70
|
+
exportToPdf(): void;
|
|
71
|
+
readonly fmtNum: typeof fmtNum;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OHLCChartComponent, never>;
|
|
73
|
+
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>;
|
|
74
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
3
|
+
import { fmtNum } from '../shared/chart-utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface BubbleNode {
|
|
6
|
+
id: string;
|
|
7
|
+
label: string;
|
|
8
|
+
value: number;
|
|
9
|
+
group?: string;
|
|
10
|
+
color?: string;
|
|
11
|
+
}
|
|
12
|
+
interface SimulatedNode {
|
|
13
|
+
id: string;
|
|
14
|
+
label: string;
|
|
15
|
+
value: number;
|
|
16
|
+
group: string;
|
|
17
|
+
r: number;
|
|
18
|
+
x: number;
|
|
19
|
+
y: number;
|
|
20
|
+
vx: number;
|
|
21
|
+
vy: number;
|
|
22
|
+
color: string;
|
|
23
|
+
}
|
|
24
|
+
export declare class PackedBubbleChartComponent {
|
|
25
|
+
private readonly exportSvc;
|
|
26
|
+
data: import("@angular/core").InputSignal<BubbleNode[]>;
|
|
27
|
+
height: import("@angular/core").InputSignal<number>;
|
|
28
|
+
width: import("@angular/core").InputSignal<number>;
|
|
29
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
30
|
+
showLegend: import("@angular/core").InputSignal<boolean>;
|
|
31
|
+
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
32
|
+
showGroupLabels: import("@angular/core").InputSignal<boolean>;
|
|
33
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
34
|
+
minBubbleRadius: import("@angular/core").InputSignal<number>;
|
|
35
|
+
maxBubbleRadius: import("@angular/core").InputSignal<number>;
|
|
36
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
37
|
+
hoveredId: import("@angular/core").WritableSignal<string | null>;
|
|
38
|
+
tooltip: import("@angular/core").WritableSignal<{
|
|
39
|
+
x: number;
|
|
40
|
+
y: number;
|
|
41
|
+
label: string;
|
|
42
|
+
value: number;
|
|
43
|
+
group?: string;
|
|
44
|
+
color: string;
|
|
45
|
+
} | null>;
|
|
46
|
+
cx: import("@angular/core").Signal<number>;
|
|
47
|
+
cy: import("@angular/core").Signal<number>;
|
|
48
|
+
uniqueGroups: import("@angular/core").Signal<string[]>;
|
|
49
|
+
groupCenters: import("@angular/core").Signal<{
|
|
50
|
+
group: string;
|
|
51
|
+
x: number;
|
|
52
|
+
y: number;
|
|
53
|
+
}[]>;
|
|
54
|
+
computedNodes: import("@angular/core").Signal<SimulatedNode[]>;
|
|
55
|
+
getGroupColor(group: string, idx: number): string;
|
|
56
|
+
truncate(str: string, radius: number): string;
|
|
57
|
+
onBubbleHover(event: MouseEvent, node: SimulatedNode): void;
|
|
58
|
+
onExport(type: ExportFormat): void;
|
|
59
|
+
exportToJson(): void;
|
|
60
|
+
exportToCsv(): void;
|
|
61
|
+
exportToSvg(): void;
|
|
62
|
+
exportToPdf(): void;
|
|
63
|
+
readonly fmtNum: typeof fmtNum;
|
|
64
|
+
readonly Math: Math;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PackedBubbleChartComponent, never>;
|
|
66
|
+
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>;
|
|
67
|
+
}
|
|
68
|
+
export {};
|