ngx-core-components 0.3.22 → 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 +5 -5
- 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
package/charts/public-api.d.ts
CHANGED
|
@@ -68,3 +68,68 @@ export { PointFigureChartComponent } from './point-figure-chart/point-figure-cha
|
|
|
68
68
|
export type { PFCell } from './point-figure-chart/point-figure-chart.component';
|
|
69
69
|
export { WindRoseChartComponent } from './wind-rose/wind-rose.component';
|
|
70
70
|
export type { WindRoseItem, WindRoseSpeedBin } from './wind-rose/wind-rose.component';
|
|
71
|
+
export { AreaRangeChartComponent } from './area-range-chart/area-range-chart.component';
|
|
72
|
+
export type { AreaRangeSeries, AreaRangeDataPoint } from './area-range-chart/area-range-chart.component';
|
|
73
|
+
export { AreaSplineRangeChartComponent } from './area-spline-range-chart/area-spline-range-chart.component';
|
|
74
|
+
export { StreamgraphComponent } from './streamgraph/streamgraph.component';
|
|
75
|
+
export type { StreamgraphSeries } from './streamgraph/streamgraph.component';
|
|
76
|
+
export { ColumnRangeChartComponent } from './column-range-chart/column-range-chart.component';
|
|
77
|
+
export type { ColumnRangeSeries, ColumnRangePoint } from './column-range-chart/column-range-chart.component';
|
|
78
|
+
export { ColumnPyramidChartComponent } from './column-pyramid-chart/column-pyramid-chart.component';
|
|
79
|
+
export type { ColumnPyramidSeries } from './column-pyramid-chart/column-pyramid-chart.component';
|
|
80
|
+
export { VariwideChartComponent } from './variwide-chart/variwide-chart.component';
|
|
81
|
+
export type { VariwidePoint } from './variwide-chart/variwide-chart.component';
|
|
82
|
+
export { VariablePieChartComponent } from './variable-pie-chart/variable-pie-chart.component';
|
|
83
|
+
export type { VariablePieDataPoint } from './variable-pie-chart/variable-pie-chart.component';
|
|
84
|
+
export { PackedBubbleChartComponent } from './packed-bubble-chart/packed-bubble-chart.component';
|
|
85
|
+
export type { BubbleNode } from './packed-bubble-chart/packed-bubble-chart.component';
|
|
86
|
+
export { NetworkGraphComponent } from './network-graph/network-graph.component';
|
|
87
|
+
export type { NetworkNode, NetworkLink } from './network-graph/network-graph.component';
|
|
88
|
+
export { TreeGraphComponent } from './treegraph/treegraph.component';
|
|
89
|
+
export type { TreeGraphNode } from './treegraph/treegraph.component';
|
|
90
|
+
export { ArcDiagramComponent } from './arc-diagram/arc-diagram.component';
|
|
91
|
+
export type { ArcNode, ArcLink } from './arc-diagram/arc-diagram.component';
|
|
92
|
+
export { HistogramComponent } from './histogram/histogram.component';
|
|
93
|
+
export type { HistogramBin } from './histogram/histogram.component';
|
|
94
|
+
export { BellCurveChartComponent } from './bell-curve-chart/bell-curve-chart.component';
|
|
95
|
+
export type { CurvePoint } from './bell-curve-chart/bell-curve-chart.component';
|
|
96
|
+
export { ErrorBarComponent } from './error-bar/error-bar.component';
|
|
97
|
+
export type { ErrorBarPoint } from './error-bar/error-bar.component';
|
|
98
|
+
export { TilemapComponent } from './tilemap/tilemap.component';
|
|
99
|
+
export type { TileItem } from './tilemap/tilemap.component';
|
|
100
|
+
export { VennDiagramComponent } from './venn-diagram/venn-diagram.component';
|
|
101
|
+
export type { VennRegion } from './venn-diagram/venn-diagram.component';
|
|
102
|
+
export { ParallelCoordinatesComponent } from './parallel-coordinates/parallel-coordinates.component';
|
|
103
|
+
export type { ParallelLine, AxisDimension } from './parallel-coordinates/parallel-coordinates.component';
|
|
104
|
+
export { WordCloudComponent } from './word-cloud/word-cloud.component';
|
|
105
|
+
export type { WordItem } from './word-cloud/word-cloud.component';
|
|
106
|
+
export { PictorialChartComponent } from './pictorial-chart/pictorial-chart.component';
|
|
107
|
+
export type { PictorialIcon } from './pictorial-chart/pictorial-chart.component';
|
|
108
|
+
export { VectorPlotComponent } from './vector-plot/vector-plot.component';
|
|
109
|
+
export type { VectorItem } from './vector-plot/vector-plot.component';
|
|
110
|
+
export { OHLCChartComponent } from './ohlc-chart/ohlc-chart.component';
|
|
111
|
+
export type { OHLCItem } from './ohlc-chart/ohlc-chart.component';
|
|
112
|
+
export { HLCChartComponent } from './hlc-chart/hlc-chart.component';
|
|
113
|
+
export type { HLCItem } from './hlc-chart/hlc-chart.component';
|
|
114
|
+
export { HollowCandlestickChartComponent } from './hollow-candlestick-chart/hollow-candlestick-chart.component';
|
|
115
|
+
export { HeikinAshiChartComponent } from './heikin-ashi-chart/heikin-ashi-chart.component';
|
|
116
|
+
export { FlagsComponent } from './flags/flags.component';
|
|
117
|
+
export type { ChartFlag } from './flags/flags.component';
|
|
118
|
+
export { MapChoroplethComponent } from './map-choropleth/map-choropleth.component';
|
|
119
|
+
export type { ChoroplethDataPoint } from './map-choropleth/map-choropleth.component';
|
|
120
|
+
export { MapBubbleComponent } from './map-bubble/map-bubble.component';
|
|
121
|
+
export type { MapBubblePoint } from './map-bubble/map-bubble.component';
|
|
122
|
+
export { MapLinePointComponent } from './map-line-point/map-line-point.component';
|
|
123
|
+
export type { MapPoint, MapLine } from './map-line-point/map-line-point.component';
|
|
124
|
+
export { FlowmapComponent } from './flowmap/flowmap.component';
|
|
125
|
+
export type { FlowNode, FlowConnection } from './flowmap/flowmap.component';
|
|
126
|
+
export { GeoHeatmapComponent } from './geo-heatmap/geo-heatmap.component';
|
|
127
|
+
export type { GeoHeatmapPoint } from './geo-heatmap/geo-heatmap.component';
|
|
128
|
+
export { TiledWebMapComponent } from './tiled-web-map/tiled-web-map.component';
|
|
129
|
+
export type { MapMarker } from './tiled-web-map/tiled-web-map.component';
|
|
130
|
+
export { TokenStreamingChartComponent } from './token-streaming-chart/token-streaming-chart.component';
|
|
131
|
+
export { EmbeddingSpaceProjectionComponent } from './embedding-space-projection/embedding-space-projection.component';
|
|
132
|
+
export type { EmbeddingPoint } from './embedding-space-projection/embedding-space-projection.component';
|
|
133
|
+
export { AgenticCognitiveTopologyComponent } from './agentic-cognitive-topology/agentic-cognitive-topology.component';
|
|
134
|
+
export type { TopologyNode, TopologyLink } from './agentic-cognitive-topology/agentic-cognitive-topology.component';
|
|
135
|
+
export { TransformerAttentionHeatmapComponent } from './transformer-attention-heatmap/transformer-attention-heatmap.component';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export interface RadarSeries {
|
|
3
4
|
label: string;
|
|
@@ -8,6 +9,7 @@ export declare class RadarChartComponent {
|
|
|
8
9
|
categories: import("@angular/core").InputSignal<string[]>;
|
|
9
10
|
max: import("@angular/core").InputSignal<number>;
|
|
10
11
|
colors: import("@angular/core").InputSignal<string[]>;
|
|
12
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
11
13
|
hoveredSeries: import("@angular/core").WritableSignal<string | null>;
|
|
12
14
|
hoveredPoint: import("@angular/core").WritableSignal<{
|
|
13
15
|
seriesLabel: string;
|
|
@@ -22,6 +24,8 @@ export declare class RadarChartComponent {
|
|
|
22
24
|
y: number;
|
|
23
25
|
color: string;
|
|
24
26
|
}>;
|
|
27
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
28
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
25
29
|
gridRings: import("@angular/core").WritableSignal<number[]>;
|
|
26
30
|
centerX: number;
|
|
27
31
|
centerY: number;
|
|
@@ -47,6 +51,13 @@ export declare class RadarChartComponent {
|
|
|
47
51
|
value: number;
|
|
48
52
|
}, event: MouseEvent): void;
|
|
49
53
|
onPointLeave(): void;
|
|
54
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
55
|
+
closeExportMenu(): void;
|
|
56
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
57
|
+
exportToJson(): void;
|
|
58
|
+
exportToCsv(): void;
|
|
59
|
+
exportToSvg(): void;
|
|
60
|
+
exportToPdf(): void;
|
|
50
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadarChartComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadarChartComponent, "ngx-radar-chart", never, { "seriesData": { "alias": "seriesData"; "required": true; "isSignal": true; }; "categories": { "alias": "categories"; "required": true; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadarChartComponent, "ngx-radar-chart", never, { "seriesData": { "alias": "seriesData"; "required": true; "isSignal": true; }; "categories": { "alias": "categories"; "required": true; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
52
63
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
1
2
|
import { fmtNum } from '../shared/chart-utils';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export interface RadialBarItem {
|
|
@@ -13,11 +14,14 @@ export declare class RadialBarChartComponent {
|
|
|
13
14
|
strokeWidth: import("@angular/core").InputSignal<number>;
|
|
14
15
|
ringGap: import("@angular/core").InputSignal<number>;
|
|
15
16
|
colors: import("@angular/core").InputSignal<string[]>;
|
|
17
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
18
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
16
19
|
hoveredIndex: import("@angular/core").WritableSignal<number | null>;
|
|
17
20
|
tooltip: import("@angular/core").WritableSignal<any>;
|
|
18
21
|
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
19
22
|
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
20
23
|
animateState: import("@angular/core").WritableSignal<boolean>;
|
|
24
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
21
25
|
size: import("@angular/core").Signal<number>;
|
|
22
26
|
center: import("@angular/core").Signal<number>;
|
|
23
27
|
constructor();
|
|
@@ -36,7 +40,14 @@ export declare class RadialBarChartComponent {
|
|
|
36
40
|
onRingHover(item: RadialBarItem, index: number): void;
|
|
37
41
|
onRingMouseMove(event: MouseEvent): void;
|
|
38
42
|
onMouseLeave(): void;
|
|
43
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
44
|
+
closeExportMenu(): void;
|
|
45
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
46
|
+
exportToJson(): void;
|
|
47
|
+
exportToCsv(): void;
|
|
48
|
+
exportToSvg(): void;
|
|
49
|
+
exportToPdf(): void;
|
|
39
50
|
readonly fmtNum: typeof fmtNum;
|
|
40
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadialBarChartComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadialBarChartComponent, "ngx-radial-bar-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; "isSignal": true; }; "ringGap": { "alias": "ringGap"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadialBarChartComponent, "ngx-radial-bar-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; "isSignal": true; }; "ringGap": { "alias": "ringGap"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
42
53
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export interface RidgelineItem {
|
|
3
4
|
label: string;
|
|
@@ -12,11 +13,14 @@ export declare class RidgelineChartComponent {
|
|
|
12
13
|
useGradient: import("@angular/core").InputSignal<boolean>;
|
|
13
14
|
colors: import("@angular/core").InputSignal<string[]>;
|
|
14
15
|
overlap: import("@angular/core").InputSignal<number>;
|
|
16
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
15
17
|
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
16
18
|
hoveredIndex: import("@angular/core").WritableSignal<number | null>;
|
|
17
19
|
tooltip: import("@angular/core").WritableSignal<any>;
|
|
18
20
|
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
19
21
|
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
22
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
23
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
20
24
|
margin: import("@angular/core").Signal<{
|
|
21
25
|
top: number;
|
|
22
26
|
right: number;
|
|
@@ -53,7 +57,14 @@ export declare class RidgelineChartComponent {
|
|
|
53
57
|
onRowHover(idx: number, event: MouseEvent): void;
|
|
54
58
|
onRowMouseMove(event: MouseEvent): void;
|
|
55
59
|
onMouseLeave(): void;
|
|
60
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
61
|
+
closeExportMenu(): void;
|
|
62
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
63
|
+
exportToJson(): void;
|
|
64
|
+
exportToCsv(): void;
|
|
65
|
+
exportToSvg(): void;
|
|
66
|
+
exportToPdf(): void;
|
|
56
67
|
formatNumber(v: number): string;
|
|
57
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<RidgelineChartComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RidgelineChartComponent, "ngx-ridgeline-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; }; "useGradient": { "alias": "useGradient"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "overlap": { "alias": "overlap"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RidgelineChartComponent, "ngx-ridgeline-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; }; "useGradient": { "alias": "useGradient"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "overlap": { "alias": "overlap"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
59
70
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export interface SankeyNode {
|
|
3
4
|
id: string;
|
|
@@ -41,12 +42,15 @@ export declare class SankeyChartComponent {
|
|
|
41
42
|
colors: import("@angular/core").InputSignal<string[]>;
|
|
42
43
|
nodePadding: import("@angular/core").InputSignal<number>;
|
|
43
44
|
nodeWidth: import("@angular/core").InputSignal<number>;
|
|
45
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
44
46
|
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
45
47
|
hoveredNodeId: import("@angular/core").WritableSignal<string | null>;
|
|
46
48
|
hoveredLinkId: import("@angular/core").WritableSignal<number | null>;
|
|
47
49
|
tooltip: import("@angular/core").WritableSignal<any>;
|
|
48
50
|
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
49
51
|
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
52
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
53
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
50
54
|
margin: import("@angular/core").Signal<{
|
|
51
55
|
top: number;
|
|
52
56
|
right: number;
|
|
@@ -67,8 +71,15 @@ export declare class SankeyChartComponent {
|
|
|
67
71
|
onLinkHover(idx: number, event: MouseEvent): void;
|
|
68
72
|
onLinkMouseMove(event: MouseEvent): void;
|
|
69
73
|
onMouseLeave(): void;
|
|
74
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
75
|
+
closeExportMenu(): void;
|
|
76
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
77
|
+
exportToJson(): void;
|
|
78
|
+
exportToCsv(): void;
|
|
79
|
+
exportToSvg(): void;
|
|
80
|
+
exportToPdf(): void;
|
|
70
81
|
formatNumber(v: number): string;
|
|
71
82
|
static ɵfac: i0.ɵɵFactoryDeclaration<SankeyChartComponent, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SankeyChartComponent, "ngx-sankey-chart", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "links": { "alias": "links"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "nodePadding": { "alias": "nodePadding"; "required": false; "isSignal": true; }; "nodeWidth": { "alias": "nodeWidth"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
83
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SankeyChartComponent, "ngx-sankey-chart", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "links": { "alias": "links"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "nodePadding": { "alias": "nodePadding"; "required": false; "isSignal": true; }; "nodeWidth": { "alias": "nodeWidth"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
73
84
|
}
|
|
74
85
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
1
2
|
import { fmtNum } from '../shared/chart-utils';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export interface ScatterPoint {
|
|
@@ -20,7 +21,9 @@ export declare class ScatterPlotComponent {
|
|
|
20
21
|
showLegend: import("@angular/core").InputSignal<boolean>;
|
|
21
22
|
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
22
23
|
colors: import("@angular/core").InputSignal<string[]>;
|
|
24
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
23
25
|
hoveredPointIndex: import("@angular/core").WritableSignal<number | null>;
|
|
26
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
24
27
|
tooltip: import("@angular/core").WritableSignal<{
|
|
25
28
|
x: number;
|
|
26
29
|
y: number;
|
|
@@ -30,6 +33,7 @@ export declare class ScatterPlotComponent {
|
|
|
30
33
|
yVal: number;
|
|
31
34
|
color: string;
|
|
32
35
|
} | null>;
|
|
36
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
33
37
|
private container;
|
|
34
38
|
innerW: import("@angular/core").Signal<number>;
|
|
35
39
|
innerH: import("@angular/core").Signal<number>;
|
|
@@ -60,7 +64,14 @@ export declare class ScatterPlotComponent {
|
|
|
60
64
|
ptY(t: {
|
|
61
65
|
yVal: number;
|
|
62
66
|
}): number;
|
|
67
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
68
|
+
closeExportMenu(): void;
|
|
69
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
70
|
+
exportToJson(): void;
|
|
71
|
+
exportToCsv(): void;
|
|
72
|
+
exportToSvg(): void;
|
|
73
|
+
exportToPdf(): void;
|
|
63
74
|
readonly fmtNum: typeof fmtNum;
|
|
64
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScatterPlotComponent, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScatterPlotComponent, "ngx-scatter-plot", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "xTitle": { "alias": "xTitle"; "required": false; "isSignal": true; }; "yTitle": { "alias": "yTitle"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScatterPlotComponent, "ngx-scatter-plot", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "xTitle": { "alias": "xTitle"; "required": false; "isSignal": true; }; "yTitle": { "alias": "yTitle"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
66
77
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export interface MapRegion {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
polygons: [number, number][][];
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Standard World Map outline with coordinates (longitude, latitude)
|
|
8
|
+
*/
|
|
9
|
+
export declare const WORLD_MAP_DATA: MapRegion[];
|
|
10
|
+
/**
|
|
11
|
+
* Projects a longitude and latitude coordinate into a 2D viewport using Equirectangular projection
|
|
12
|
+
*/
|
|
13
|
+
export declare function project(lng: number, lat: number, width: number, height: number, padding?: {
|
|
14
|
+
top: number;
|
|
15
|
+
right: number;
|
|
16
|
+
bottom: number;
|
|
17
|
+
left: number;
|
|
18
|
+
}): {
|
|
19
|
+
x: number;
|
|
20
|
+
y: number;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Helper to generate an SVG path from a set of polygons
|
|
24
|
+
*/
|
|
25
|
+
export declare function getSvgPath(polygons: [number, number][][], width: number, height: number, padding?: {
|
|
26
|
+
top: number;
|
|
27
|
+
right: number;
|
|
28
|
+
bottom: number;
|
|
29
|
+
left: number;
|
|
30
|
+
}): string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export interface SlopeDataPoint {
|
|
3
4
|
label: string;
|
|
@@ -13,11 +14,14 @@ export declare class SlopeChartComponent {
|
|
|
13
14
|
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
14
15
|
showValues: import("@angular/core").InputSignal<boolean>;
|
|
15
16
|
colors: import("@angular/core").InputSignal<string[]>;
|
|
17
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
16
18
|
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
17
19
|
hoveredIndex: import("@angular/core").WritableSignal<number | null>;
|
|
18
20
|
tooltip: import("@angular/core").WritableSignal<any>;
|
|
19
21
|
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
20
22
|
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
23
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
24
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
21
25
|
margin: import("@angular/core").Signal<{
|
|
22
26
|
top: number;
|
|
23
27
|
right: number;
|
|
@@ -46,7 +50,14 @@ export declare class SlopeChartComponent {
|
|
|
46
50
|
onSlopeHover(idx: number, event: MouseEvent): void;
|
|
47
51
|
onSlopeMouseMove(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<SlopeChartComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SlopeChartComponent, "ngx-slope-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "startLabel": { "alias": "startLabel"; "required": false; "isSignal": true; }; "endLabel": { "alias": "endLabel"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SlopeChartComponent, "ngx-slope-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "startLabel": { "alias": "startLabel"; "required": false; "isSignal": true; }; "endLabel": { "alias": "endLabel"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
52
63
|
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { fmtNum } from '../shared/chart-utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface StreamgraphSeries {
|
|
5
|
+
name: string;
|
|
6
|
+
data: number[];
|
|
7
|
+
color?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class StreamgraphComponent {
|
|
10
|
+
readonly PAD_LEFT = 48;
|
|
11
|
+
readonly PAD_TOP = 15;
|
|
12
|
+
readonly PAD_RIGHT = 16;
|
|
13
|
+
readonly PAD_BOTTOM = 32;
|
|
14
|
+
series: import("@angular/core").InputSignal<StreamgraphSeries[]>;
|
|
15
|
+
categories: import("@angular/core").InputSignal<string[]>;
|
|
16
|
+
height: import("@angular/core").InputSignal<number>;
|
|
17
|
+
showGrid: import("@angular/core").InputSignal<boolean>;
|
|
18
|
+
showLegend: import("@angular/core").InputSignal<boolean>;
|
|
19
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
20
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
21
|
+
showBaseline: import("@angular/core").InputSignal<boolean>;
|
|
22
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
23
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
24
|
+
crosshair: import("@angular/core").WritableSignal<{
|
|
25
|
+
x: number;
|
|
26
|
+
} | null>;
|
|
27
|
+
activeSeriesIndex: import("@angular/core").WritableSignal<number | null>;
|
|
28
|
+
activeCategoryIndex: import("@angular/core").WritableSignal<number | null>;
|
|
29
|
+
tooltip: import("@angular/core").WritableSignal<{
|
|
30
|
+
x: number;
|
|
31
|
+
y: number;
|
|
32
|
+
cat: string;
|
|
33
|
+
total: number;
|
|
34
|
+
rows: {
|
|
35
|
+
name: string;
|
|
36
|
+
value: number;
|
|
37
|
+
percent: string;
|
|
38
|
+
color: string;
|
|
39
|
+
}[];
|
|
40
|
+
} | null>;
|
|
41
|
+
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
42
|
+
innerW: import("@angular/core").Signal<number>;
|
|
43
|
+
innerH: import("@angular/core").Signal<number>;
|
|
44
|
+
inferredCategories: import("@angular/core").Signal<string[]>;
|
|
45
|
+
animateState: import("@angular/core").WritableSignal<boolean>;
|
|
46
|
+
constructor();
|
|
47
|
+
private stackLayout;
|
|
48
|
+
private yDomain;
|
|
49
|
+
yTicks: import("@angular/core").Signal<number[]>;
|
|
50
|
+
yPos(v: number): number;
|
|
51
|
+
xPos(i: number): number;
|
|
52
|
+
seriesColor(i: number, s: StreamgraphSeries): string;
|
|
53
|
+
computedLayers: import("@angular/core").Signal<{
|
|
54
|
+
name: string;
|
|
55
|
+
color: string;
|
|
56
|
+
path: string;
|
|
57
|
+
}[]>;
|
|
58
|
+
onMouseMove(event: MouseEvent): void;
|
|
59
|
+
onMouseLeave(): void;
|
|
60
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
61
|
+
closeExportMenu(): void;
|
|
62
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
63
|
+
exportToJson(): void;
|
|
64
|
+
exportToCsv(): void;
|
|
65
|
+
exportToSvg(): void;
|
|
66
|
+
exportToPdf(): void;
|
|
67
|
+
readonly fmtNum: typeof fmtNum;
|
|
68
|
+
readonly Math: Math;
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StreamgraphComponent, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StreamgraphComponent, "ngx-streamgraph", 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; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; "showBaseline": { "alias": "showBaseline"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface MapMarker {
|
|
4
|
+
lat: number;
|
|
5
|
+
lng: number;
|
|
6
|
+
label?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class TiledWebMapComponent {
|
|
9
|
+
title: import("@angular/core").InputSignal<string>;
|
|
10
|
+
defaultCenter: import("@angular/core").InputSignal<{
|
|
11
|
+
lat: number;
|
|
12
|
+
lng: number;
|
|
13
|
+
}>;
|
|
14
|
+
defaultZoom: import("@angular/core").InputSignal<number>;
|
|
15
|
+
markers: import("@angular/core").InputSignal<MapMarker[]>;
|
|
16
|
+
height: import("@angular/core").InputSignal<number>;
|
|
17
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
18
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
19
|
+
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
20
|
+
mapCenter: import("@angular/core").WritableSignal<{
|
|
21
|
+
lat: number;
|
|
22
|
+
lng: number;
|
|
23
|
+
}>;
|
|
24
|
+
mapZoom: import("@angular/core").WritableSignal<number>;
|
|
25
|
+
isDragging: import("@angular/core").WritableSignal<boolean>;
|
|
26
|
+
private dragStartX;
|
|
27
|
+
private dragStartY;
|
|
28
|
+
private dragStartCenter;
|
|
29
|
+
hoveredMarkerIndex: 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
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
34
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
35
|
+
private container;
|
|
36
|
+
constructor();
|
|
37
|
+
centerTileCoords: import("@angular/core").Signal<{
|
|
38
|
+
x: number;
|
|
39
|
+
y: number;
|
|
40
|
+
n: number;
|
|
41
|
+
}>;
|
|
42
|
+
computedTiles: import("@angular/core").Signal<{
|
|
43
|
+
key: string;
|
|
44
|
+
url: string;
|
|
45
|
+
x: number;
|
|
46
|
+
y: number;
|
|
47
|
+
}[]>;
|
|
48
|
+
computedMarkers: import("@angular/core").Signal<{
|
|
49
|
+
x: number;
|
|
50
|
+
y: number;
|
|
51
|
+
raw: MapMarker;
|
|
52
|
+
}[]>;
|
|
53
|
+
zoomIn(): void;
|
|
54
|
+
zoomOut(): void;
|
|
55
|
+
resetMap(): void;
|
|
56
|
+
onMouseDown(event: MouseEvent): void;
|
|
57
|
+
onMouseMove(event: MouseEvent): void;
|
|
58
|
+
onMouseUp(): void;
|
|
59
|
+
onMarkerHover(marker: MapMarker, index: number, event: MouseEvent): void;
|
|
60
|
+
onMarkerMouseMove(event: MouseEvent): void;
|
|
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;
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TiledWebMapComponent, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TiledWebMapComponent, "ngx-tiled-web-map", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "defaultCenter": { "alias": "defaultCenter"; "required": false; "isSignal": true; }; "defaultZoom": { "alias": "defaultZoom"; "required": false; "isSignal": true; }; "markers": { "alias": "markers"; "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>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface TileItem {
|
|
4
|
+
r: number;
|
|
5
|
+
c: number;
|
|
6
|
+
label: string;
|
|
7
|
+
value: number;
|
|
8
|
+
color?: string;
|
|
9
|
+
tooltipInfo?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ComputedTile {
|
|
12
|
+
raw: TileItem;
|
|
13
|
+
index: number;
|
|
14
|
+
x: number;
|
|
15
|
+
y: number;
|
|
16
|
+
w: number;
|
|
17
|
+
h: number;
|
|
18
|
+
pointsPath: string;
|
|
19
|
+
color: string;
|
|
20
|
+
}
|
|
21
|
+
export declare class TilemapComponent {
|
|
22
|
+
data: import("@angular/core").InputSignal<TileItem[]>;
|
|
23
|
+
type: import("@angular/core").InputSignal<"rect" | "hexagon">;
|
|
24
|
+
height: import("@angular/core").InputSignal<number>;
|
|
25
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
26
|
+
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
27
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
28
|
+
labelFormatter: import("@angular/core").InputSignal<((v: number) => string) | undefined>;
|
|
29
|
+
tooltipTemplate: import("@angular/core").InputSignal<TemplateRef<any> | null>;
|
|
30
|
+
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
31
|
+
hoveredIndex: import("@angular/core").WritableSignal<number | null>;
|
|
32
|
+
tooltip: import("@angular/core").WritableSignal<any>;
|
|
33
|
+
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
34
|
+
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
35
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
36
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
37
|
+
margin: import("@angular/core").Signal<{
|
|
38
|
+
top: number;
|
|
39
|
+
right: number;
|
|
40
|
+
bottom: number;
|
|
41
|
+
left: number;
|
|
42
|
+
}>;
|
|
43
|
+
svgHeight: import("@angular/core").Signal<number>;
|
|
44
|
+
innerW: import("@angular/core").Signal<number>;
|
|
45
|
+
innerH: import("@angular/core").Signal<number>;
|
|
46
|
+
computedTiles: import("@angular/core").Signal<ComputedTile[]>;
|
|
47
|
+
constructor();
|
|
48
|
+
private interpolateColor;
|
|
49
|
+
getTextColor(bgColor: string): string;
|
|
50
|
+
onTileHover(idx: number): void;
|
|
51
|
+
onMouseMove(event: MouseEvent): void;
|
|
52
|
+
onMouseLeave(): void;
|
|
53
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
54
|
+
closeExportMenu(): void;
|
|
55
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
56
|
+
exportToCsv(): void;
|
|
57
|
+
exportToJson(): void;
|
|
58
|
+
exportToSvg(): void;
|
|
59
|
+
exportToPdf(): void;
|
|
60
|
+
formatNumber(v: number): string;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TilemapComponent, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TilemapComponent, "ngx-tilemap", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "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>;
|
|
63
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TokenStreamingChartComponent {
|
|
4
|
+
title: import("@angular/core").InputSignal<string>;
|
|
5
|
+
windowSize: import("@angular/core").InputSignal<number>;
|
|
6
|
+
height: import("@angular/core").InputSignal<number>;
|
|
7
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
8
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
threshold: import("@angular/core").InputSignal<number | null>;
|
|
10
|
+
streamTick: import("@angular/core").OutputEmitterRef<{
|
|
11
|
+
index: number;
|
|
12
|
+
value: number;
|
|
13
|
+
}>;
|
|
14
|
+
agentPromptRequest: import("@angular/core").OutputEmitterRef<{
|
|
15
|
+
index: number;
|
|
16
|
+
value: number;
|
|
17
|
+
prompt: string;
|
|
18
|
+
}>;
|
|
19
|
+
points: import("@angular/core").WritableSignal<number[]>;
|
|
20
|
+
currentTps: import("@angular/core").WritableSignal<number>;
|
|
21
|
+
hoveredIndex: import("@angular/core").WritableSignal<number | null>;
|
|
22
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
23
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
24
|
+
readonly instanceId: string;
|
|
25
|
+
private readonly leftPad;
|
|
26
|
+
private readonly bottomPad;
|
|
27
|
+
chartWidth: number;
|
|
28
|
+
stepWidth: number;
|
|
29
|
+
gridYLines: import("@angular/core").Signal<number[]>;
|
|
30
|
+
viewBoxX: import("@angular/core").Signal<number>;
|
|
31
|
+
viewBoxString: import("@angular/core").Signal<string>;
|
|
32
|
+
private yMin;
|
|
33
|
+
private yMax;
|
|
34
|
+
scaledPoints: import("@angular/core").Signal<[number, number][]>;
|
|
35
|
+
linePath: import("@angular/core").Signal<string>;
|
|
36
|
+
areaPath: import("@angular/core").Signal<string>;
|
|
37
|
+
yAxisTicks: import("@angular/core").Signal<{
|
|
38
|
+
val: number;
|
|
39
|
+
label: string;
|
|
40
|
+
y: number;
|
|
41
|
+
}[]>;
|
|
42
|
+
xAxisTicks: import("@angular/core").Signal<{
|
|
43
|
+
index: number;
|
|
44
|
+
x: number;
|
|
45
|
+
}[]>;
|
|
46
|
+
thresholdY: import("@angular/core").Signal<number>;
|
|
47
|
+
activePoint: import("@angular/core").Signal<{
|
|
48
|
+
index: number;
|
|
49
|
+
val: number;
|
|
50
|
+
x: number;
|
|
51
|
+
y: number;
|
|
52
|
+
screenX: number;
|
|
53
|
+
screenY: number;
|
|
54
|
+
} | null>;
|
|
55
|
+
constructor();
|
|
56
|
+
appendPoint(val: number): void;
|
|
57
|
+
setPoints(newPoints: number[]): void;
|
|
58
|
+
clearPoints(): void;
|
|
59
|
+
onMouseMove(event: MouseEvent): void;
|
|
60
|
+
onTooltipAction(index: number, value: number): void;
|
|
61
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
62
|
+
closeExportMenu(): void;
|
|
63
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
64
|
+
exportToJson(): void;
|
|
65
|
+
exportToCsv(): void;
|
|
66
|
+
exportToSvg(): void;
|
|
67
|
+
exportToPdf(): void;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TokenStreamingChartComponent, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TokenStreamingChartComponent, "ngx-token-streaming-chart", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "windowSize": { "alias": "windowSize"; "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; }; "threshold": { "alias": "threshold"; "required": false; "isSignal": true; }; }, { "streamTick": "streamTick"; "agentPromptRequest": "agentPromptRequest"; }, never, never, true, never>;
|
|
70
|
+
}
|