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
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FormBuilderField, FormBuilderComponent } from 'ngx-core-components/inputs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AIFormCopilotComponent {
|
|
4
|
+
fields: import("@angular/core").InputSignal<FormBuilderField[]>;
|
|
5
|
+
formBuilder: import("@angular/core").InputSignal<FormBuilderComponent | null>;
|
|
6
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
7
|
+
valuesExtracted: import("@angular/core").OutputEmitterRef<Record<string, unknown>>;
|
|
8
|
+
promptText: import("@angular/core").WritableSignal<string>;
|
|
9
|
+
loading: import("@angular/core").WritableSignal<boolean>;
|
|
10
|
+
statusMessage: import("@angular/core").WritableSignal<string>;
|
|
11
|
+
progress: import("@angular/core").WritableSignal<number>;
|
|
12
|
+
hasError: import("@angular/core").WritableSignal<boolean>;
|
|
13
|
+
errorMessage: import("@angular/core").WritableSignal<string | null>;
|
|
14
|
+
successMessage: import("@angular/core").WritableSignal<string | null>;
|
|
15
|
+
private llmService;
|
|
16
|
+
autoFill(): Promise<void>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIFormCopilotComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIFormCopilotComponent, "ngx-ai-form-copilot", never, { "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "formBuilder": { "alias": "formBuilder"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; }, { "valuesExtracted": "valuesExtracted"; }, never, never, true, never>;
|
|
19
|
+
}
|
package/ai/public-api.d.ts
CHANGED
|
@@ -11,3 +11,4 @@ export { AIRagInspectorComponent } from './ai-rag-inspector/ai-rag-inspector.com
|
|
|
11
11
|
export type { RAGSource } from './ai-rag-inspector/models';
|
|
12
12
|
export { NgxWebLlmService } from './ngx-web-llm.service';
|
|
13
13
|
export type { WebLlmMessage } from './ngx-web-llm.service';
|
|
14
|
+
export { AIFormCopilotComponent } from './ai-form-copilot/ai-form-copilot.component';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export interface MatrixItem {
|
|
3
4
|
labels: string[];
|
|
@@ -21,6 +22,7 @@ export declare class AdjacencyMatrixComponent {
|
|
|
21
22
|
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
22
23
|
color: import("@angular/core").InputSignal<string>;
|
|
23
24
|
gridColor: import("@angular/core").InputSignal<string>;
|
|
25
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
24
26
|
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
25
27
|
hoveredCoords: import("@angular/core").WritableSignal<{
|
|
26
28
|
row: number;
|
|
@@ -29,6 +31,8 @@ export declare class AdjacencyMatrixComponent {
|
|
|
29
31
|
tooltip: import("@angular/core").WritableSignal<any>;
|
|
30
32
|
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
31
33
|
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
34
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
35
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
32
36
|
svgHeight: import("@angular/core").Signal<number>;
|
|
33
37
|
margin: import("@angular/core").Signal<{
|
|
34
38
|
top: number;
|
|
@@ -44,8 +48,15 @@ export declare class AdjacencyMatrixComponent {
|
|
|
44
48
|
onCellHover(row: number, col: number, event: MouseEvent): void;
|
|
45
49
|
onMouseMove(event: MouseEvent): void;
|
|
46
50
|
onMouseLeave(): void;
|
|
51
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
52
|
+
closeExportMenu(): void;
|
|
53
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
54
|
+
exportToCsv(): void;
|
|
55
|
+
exportToJson(): void;
|
|
56
|
+
exportToSvg(): void;
|
|
57
|
+
exportToPdf(): void;
|
|
47
58
|
formatNumber(v: number): string;
|
|
48
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdjacencyMatrixComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AdjacencyMatrixComponent, "ngx-adjacency-matrix", never, { "matrix": { "alias": "matrix"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "gridColor": { "alias": "gridColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdjacencyMatrixComponent, "ngx-adjacency-matrix", never, { "matrix": { "alias": "matrix"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "gridColor": { "alias": "gridColor"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
50
61
|
}
|
|
51
62
|
export {};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface TopologyNode {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
status: 'idle' | 'thinking' | 'success' | 'error';
|
|
7
|
+
type?: string;
|
|
8
|
+
prompt?: string;
|
|
9
|
+
response?: string;
|
|
10
|
+
x?: number;
|
|
11
|
+
y?: number;
|
|
12
|
+
}
|
|
13
|
+
export interface TopologyLink {
|
|
14
|
+
source: string;
|
|
15
|
+
target: string;
|
|
16
|
+
active?: boolean;
|
|
17
|
+
label?: string;
|
|
18
|
+
}
|
|
19
|
+
interface ProcessedNode extends TopologyNode {
|
|
20
|
+
x: number;
|
|
21
|
+
y: number;
|
|
22
|
+
depth: number;
|
|
23
|
+
}
|
|
24
|
+
export declare class AgenticCognitiveTopologyComponent {
|
|
25
|
+
nodes: import("@angular/core").InputSignal<TopologyNode[]>;
|
|
26
|
+
links: import("@angular/core").InputSignal<TopologyLink[]>;
|
|
27
|
+
width: import("@angular/core").InputSignal<number>;
|
|
28
|
+
height: import("@angular/core").InputSignal<number>;
|
|
29
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
30
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
31
|
+
nodeActionClick: import("@angular/core").OutputEmitterRef<{
|
|
32
|
+
nodeId: string;
|
|
33
|
+
action: string;
|
|
34
|
+
}>;
|
|
35
|
+
nodePositionChange: import("@angular/core").OutputEmitterRef<{
|
|
36
|
+
nodeId: string;
|
|
37
|
+
x: number;
|
|
38
|
+
y: number;
|
|
39
|
+
}>;
|
|
40
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
41
|
+
tooltipData: import("@angular/core").WritableSignal<{
|
|
42
|
+
node: TopologyNode;
|
|
43
|
+
screenX: number;
|
|
44
|
+
screenY: number;
|
|
45
|
+
} | null>;
|
|
46
|
+
hoveredNodeId: import("@angular/core").WritableSignal<string | null>;
|
|
47
|
+
nodePositionOverrides: import("@angular/core").WritableSignal<Map<string, {
|
|
48
|
+
x: number;
|
|
49
|
+
y: number;
|
|
50
|
+
}>>;
|
|
51
|
+
draggingNodeId: import("@angular/core").WritableSignal<string | null>;
|
|
52
|
+
private dragOffsetX;
|
|
53
|
+
private dragOffsetY;
|
|
54
|
+
scale: import("@angular/core").WritableSignal<number>;
|
|
55
|
+
translateX: import("@angular/core").WritableSignal<number>;
|
|
56
|
+
translateY: import("@angular/core").WritableSignal<number>;
|
|
57
|
+
isPanning: import("@angular/core").WritableSignal<boolean>;
|
|
58
|
+
zoomPercent: import("@angular/core").Signal<number>;
|
|
59
|
+
transformString: import("@angular/core").Signal<string>;
|
|
60
|
+
private startX;
|
|
61
|
+
private startY;
|
|
62
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
63
|
+
nodeWidth: number;
|
|
64
|
+
nodeHeight: number;
|
|
65
|
+
/** Color map: maps lowercase node type string to a color from the colors input */
|
|
66
|
+
private typeColorMap;
|
|
67
|
+
/** Status-based override colors (take priority over type colors) */
|
|
68
|
+
private statusColorMap;
|
|
69
|
+
viewBoxString: import("@angular/core").Signal<string>;
|
|
70
|
+
constructor();
|
|
71
|
+
activeAgentsCount: import("@angular/core").Signal<number>;
|
|
72
|
+
computedNodes: import("@angular/core").Signal<ProcessedNode[]>;
|
|
73
|
+
computedLinks: import("@angular/core").Signal<{
|
|
74
|
+
source: string;
|
|
75
|
+
target: string;
|
|
76
|
+
path: string;
|
|
77
|
+
active: boolean;
|
|
78
|
+
label: string | undefined;
|
|
79
|
+
srcX: number;
|
|
80
|
+
srcY: number;
|
|
81
|
+
destX: number;
|
|
82
|
+
destY: number;
|
|
83
|
+
cp1X: number;
|
|
84
|
+
cp1Y: number;
|
|
85
|
+
cp2X: number;
|
|
86
|
+
cp2Y: number;
|
|
87
|
+
}[]>;
|
|
88
|
+
onNodeClick(node: TopologyNode, event: MouseEvent): void;
|
|
89
|
+
onCanvasClick(): void;
|
|
90
|
+
closeTooltip(): void;
|
|
91
|
+
triggerAction(action: string, nodeId: string): void;
|
|
92
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
93
|
+
closeExportMenu(): void;
|
|
94
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
95
|
+
exportToJson(): void;
|
|
96
|
+
exportToCsv(): void;
|
|
97
|
+
exportToSvg(): void;
|
|
98
|
+
exportToPdf(): void;
|
|
99
|
+
/** Returns the border color for a node, based on status (priority) or type (from colors input) */
|
|
100
|
+
getNodeBorderColor(node: ProcessedNode): string;
|
|
101
|
+
getMidpointX(link: {
|
|
102
|
+
srcX: number;
|
|
103
|
+
destX: number;
|
|
104
|
+
cp1X: number;
|
|
105
|
+
cp2X: number;
|
|
106
|
+
}): number;
|
|
107
|
+
getMidpointY(link: {
|
|
108
|
+
srcY: number;
|
|
109
|
+
destY: number;
|
|
110
|
+
cp1Y: number;
|
|
111
|
+
cp2Y: number;
|
|
112
|
+
}): number;
|
|
113
|
+
onNodeMouseDown(node: ProcessedNode, event: MouseEvent): void;
|
|
114
|
+
onMouseDown(event: MouseEvent): void;
|
|
115
|
+
onMouseMove(event: MouseEvent): void;
|
|
116
|
+
onMouseUp(): void;
|
|
117
|
+
onMouseLeave(): void;
|
|
118
|
+
onWheel(event: WheelEvent): void;
|
|
119
|
+
zoomIn(): void;
|
|
120
|
+
zoomOut(): void;
|
|
121
|
+
resetZoom(): void;
|
|
122
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AgenticCognitiveTopologyComponent, never>;
|
|
123
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AgenticCognitiveTopologyComponent, "ngx-agentic-cognitive-topology", never, { "nodes": { "alias": "nodes"; "required": true; "isSignal": true; }; "links": { "alias": "links"; "required": true; "isSignal": true; }; "width": { "alias": "width"; "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; }; }, { "nodeActionClick": "nodeActionClick"; "nodePositionChange": "nodePositionChange"; }, never, never, true, never>;
|
|
124
|
+
}
|
|
125
|
+
export {};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { fmtNum } from '../shared/chart-utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface ArcNode {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
value?: number;
|
|
8
|
+
color?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ArcLink {
|
|
11
|
+
source: string;
|
|
12
|
+
target: string;
|
|
13
|
+
value?: number;
|
|
14
|
+
}
|
|
15
|
+
interface ProcessedNode {
|
|
16
|
+
id: string;
|
|
17
|
+
label: string;
|
|
18
|
+
value: number;
|
|
19
|
+
x: number;
|
|
20
|
+
y: number;
|
|
21
|
+
r: number;
|
|
22
|
+
color: string;
|
|
23
|
+
index: number;
|
|
24
|
+
}
|
|
25
|
+
interface ProcessedLink {
|
|
26
|
+
sourceId: string;
|
|
27
|
+
targetId: string;
|
|
28
|
+
sourceNode: ProcessedNode;
|
|
29
|
+
targetNode: ProcessedNode;
|
|
30
|
+
path: string;
|
|
31
|
+
weight: number;
|
|
32
|
+
}
|
|
33
|
+
export declare class ArcDiagramComponent {
|
|
34
|
+
nodes: import("@angular/core").InputSignal<ArcNode[]>;
|
|
35
|
+
links: import("@angular/core").InputSignal<ArcLink[]>;
|
|
36
|
+
height: import("@angular/core").InputSignal<number>;
|
|
37
|
+
width: import("@angular/core").InputSignal<number>;
|
|
38
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
39
|
+
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
40
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
41
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
42
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
43
|
+
hoveredNodeId: import("@angular/core").WritableSignal<string | null>;
|
|
44
|
+
hoveredLink: import("@angular/core").WritableSignal<ProcessedLink | null>;
|
|
45
|
+
tooltip: import("@angular/core").WritableSignal<any>;
|
|
46
|
+
margin: import("@angular/core").Signal<{
|
|
47
|
+
top: number;
|
|
48
|
+
right: number;
|
|
49
|
+
bottom: number;
|
|
50
|
+
left: number;
|
|
51
|
+
}>;
|
|
52
|
+
axisY: 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<ProcessedNode[]>;
|
|
56
|
+
computedLinks: import("@angular/core").Signal<ProcessedLink[]>;
|
|
57
|
+
linkHovered(link: ProcessedLink): boolean;
|
|
58
|
+
onNodeHover(event: MouseEvent, node: ProcessedNode): void;
|
|
59
|
+
onLinkHover(event: MouseEvent, link: ProcessedLink): void;
|
|
60
|
+
onMouseLeave(): void;
|
|
61
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
62
|
+
closeExportMenu(): void;
|
|
63
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
64
|
+
exportToCsv(): void;
|
|
65
|
+
exportToJson(): void;
|
|
66
|
+
exportToSvg(): void;
|
|
67
|
+
exportToPdf(): void;
|
|
68
|
+
readonly fmtNum: typeof fmtNum;
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArcDiagramComponent, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArcDiagramComponent, "ngx-arc-diagram", 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; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
71
|
+
}
|
|
72
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
1
2
|
import { ChartSeries, fmtNum } from '../shared/chart-utils';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class AreaChartComponent {
|
|
@@ -12,6 +13,9 @@ export declare class AreaChartComponent {
|
|
|
12
13
|
showMarkers: import("@angular/core").InputSignal<boolean>;
|
|
13
14
|
showLegend: import("@angular/core").InputSignal<boolean>;
|
|
14
15
|
colors: import("@angular/core").InputSignal<string[]>;
|
|
16
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
17
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
18
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
15
19
|
crosshair: import("@angular/core").WritableSignal<{
|
|
16
20
|
x: number;
|
|
17
21
|
} | null>;
|
|
@@ -42,7 +46,14 @@ export declare class AreaChartComponent {
|
|
|
42
46
|
areaPath(s: ChartSeries): string;
|
|
43
47
|
onMouseMove(event: MouseEvent): void;
|
|
44
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;
|
|
45
56
|
readonly fmtNum: typeof fmtNum;
|
|
46
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<AreaChartComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AreaChartComponent, "ngx-area-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; }; "showMarkers": { "alias": "showMarkers"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AreaChartComponent, "ngx-area-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; }; "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; }; }, {}, never, never, true, never>;
|
|
48
59
|
}
|
|
@@ -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 AreaRangeDataPoint {
|
|
5
|
+
category: string;
|
|
6
|
+
low: number;
|
|
7
|
+
high: number;
|
|
8
|
+
}
|
|
9
|
+
export interface AreaRangeSeries {
|
|
10
|
+
name: string;
|
|
11
|
+
data: AreaRangeDataPoint[];
|
|
12
|
+
color?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare class AreaRangeChartComponent {
|
|
15
|
+
readonly PAD_LEFT = 48;
|
|
16
|
+
readonly PAD_TOP = 15;
|
|
17
|
+
readonly PAD_RIGHT = 16;
|
|
18
|
+
readonly PAD_BOTTOM = 32;
|
|
19
|
+
series: import("@angular/core").InputSignal<AreaRangeSeries[]>;
|
|
20
|
+
categories: import("@angular/core").InputSignal<string[]>;
|
|
21
|
+
height: import("@angular/core").InputSignal<number>;
|
|
22
|
+
showGrid: import("@angular/core").InputSignal<boolean>;
|
|
23
|
+
showMarkers: import("@angular/core").InputSignal<boolean>;
|
|
24
|
+
showLegend: import("@angular/core").InputSignal<boolean>;
|
|
25
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
26
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
27
|
+
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
28
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
29
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
30
|
+
crosshair: import("@angular/core").WritableSignal<{
|
|
31
|
+
x: number;
|
|
32
|
+
} | null>;
|
|
33
|
+
activeCategoryIndex: import("@angular/core").WritableSignal<number | null>;
|
|
34
|
+
tooltip: import("@angular/core").WritableSignal<{
|
|
35
|
+
x: number;
|
|
36
|
+
y: number;
|
|
37
|
+
cat: string;
|
|
38
|
+
rows: {
|
|
39
|
+
name: string;
|
|
40
|
+
low: number;
|
|
41
|
+
high: number;
|
|
42
|
+
color: string;
|
|
43
|
+
}[];
|
|
44
|
+
} | null>;
|
|
45
|
+
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
46
|
+
innerW: import("@angular/core").Signal<number>;
|
|
47
|
+
innerH: import("@angular/core").Signal<number>;
|
|
48
|
+
inferredCategories: import("@angular/core").Signal<string[]>;
|
|
49
|
+
animateState: import("@angular/core").WritableSignal<boolean>;
|
|
50
|
+
constructor();
|
|
51
|
+
private allLowHighValues;
|
|
52
|
+
private yMin;
|
|
53
|
+
private yMax;
|
|
54
|
+
yTicks: import("@angular/core").Signal<number[]>;
|
|
55
|
+
yPos(v: number): number;
|
|
56
|
+
xPos(i: number): number;
|
|
57
|
+
seriesColor(i: number, s: AreaRangeSeries): string;
|
|
58
|
+
highLinePath(s: AreaRangeSeries): string;
|
|
59
|
+
lowLinePath(s: AreaRangeSeries): string;
|
|
60
|
+
areaPath(s: AreaRangeSeries): string;
|
|
61
|
+
onMouseMove(event: MouseEvent): void;
|
|
62
|
+
onMouseLeave(): void;
|
|
63
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
64
|
+
closeExportMenu(): void;
|
|
65
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
66
|
+
exportToJson(): void;
|
|
67
|
+
exportToCsv(): void;
|
|
68
|
+
exportToSvg(): void;
|
|
69
|
+
exportToPdf(): void;
|
|
70
|
+
readonly fmtNum: typeof fmtNum;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AreaRangeChartComponent, never>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AreaRangeChartComponent, "ngx-area-range-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; }; "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; }; }, {}, never, never, true, never>;
|
|
73
|
+
}
|
|
@@ -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 AreaRangeDataPoint {
|
|
5
|
+
category: string;
|
|
6
|
+
low: number;
|
|
7
|
+
high: number;
|
|
8
|
+
}
|
|
9
|
+
export interface AreaRangeSeries {
|
|
10
|
+
name: string;
|
|
11
|
+
data: AreaRangeDataPoint[];
|
|
12
|
+
color?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare class AreaSplineRangeChartComponent {
|
|
15
|
+
readonly PAD_LEFT = 48;
|
|
16
|
+
readonly PAD_TOP = 15;
|
|
17
|
+
readonly PAD_RIGHT = 16;
|
|
18
|
+
readonly PAD_BOTTOM = 32;
|
|
19
|
+
series: import("@angular/core").InputSignal<AreaRangeSeries[]>;
|
|
20
|
+
categories: import("@angular/core").InputSignal<string[]>;
|
|
21
|
+
height: import("@angular/core").InputSignal<number>;
|
|
22
|
+
showGrid: import("@angular/core").InputSignal<boolean>;
|
|
23
|
+
showMarkers: import("@angular/core").InputSignal<boolean>;
|
|
24
|
+
showLegend: import("@angular/core").InputSignal<boolean>;
|
|
25
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
26
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
27
|
+
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
28
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
29
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
30
|
+
crosshair: import("@angular/core").WritableSignal<{
|
|
31
|
+
x: number;
|
|
32
|
+
} | null>;
|
|
33
|
+
activeCategoryIndex: import("@angular/core").WritableSignal<number | null>;
|
|
34
|
+
tooltip: import("@angular/core").WritableSignal<{
|
|
35
|
+
x: number;
|
|
36
|
+
y: number;
|
|
37
|
+
cat: string;
|
|
38
|
+
rows: {
|
|
39
|
+
name: string;
|
|
40
|
+
low: number;
|
|
41
|
+
high: number;
|
|
42
|
+
color: string;
|
|
43
|
+
}[];
|
|
44
|
+
} | null>;
|
|
45
|
+
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
46
|
+
innerW: import("@angular/core").Signal<number>;
|
|
47
|
+
innerH: import("@angular/core").Signal<number>;
|
|
48
|
+
inferredCategories: import("@angular/core").Signal<string[]>;
|
|
49
|
+
animateState: import("@angular/core").WritableSignal<boolean>;
|
|
50
|
+
constructor();
|
|
51
|
+
private allLowHighValues;
|
|
52
|
+
private yMin;
|
|
53
|
+
private yMax;
|
|
54
|
+
yTicks: import("@angular/core").Signal<number[]>;
|
|
55
|
+
yPos(v: number): number;
|
|
56
|
+
xPos(i: number): number;
|
|
57
|
+
seriesColor(i: number, s: AreaRangeSeries): string;
|
|
58
|
+
highLinePath(s: AreaRangeSeries): string;
|
|
59
|
+
lowLinePath(s: AreaRangeSeries): string;
|
|
60
|
+
areaPath(s: AreaRangeSeries): string;
|
|
61
|
+
onMouseMove(event: MouseEvent): void;
|
|
62
|
+
onMouseLeave(): void;
|
|
63
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
64
|
+
closeExportMenu(): void;
|
|
65
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
66
|
+
exportToJson(): void;
|
|
67
|
+
exportToCsv(): void;
|
|
68
|
+
exportToSvg(): void;
|
|
69
|
+
exportToPdf(): void;
|
|
70
|
+
readonly fmtNum: typeof fmtNum;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AreaSplineRangeChartComponent, never>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AreaSplineRangeChartComponent, "ngx-area-spline-range-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; }; "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; }; }, {}, never, never, true, never>;
|
|
73
|
+
}
|
|
@@ -65,10 +65,11 @@ export declare class BarChartComponent {
|
|
|
65
65
|
onMouseLeave(): void;
|
|
66
66
|
toggleExportMenu(event: MouseEvent): void;
|
|
67
67
|
closeExportMenu(): void;
|
|
68
|
-
onExport(type: 'json' | 'csv' | 'svg'): void;
|
|
68
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
69
69
|
exportToCsv(): void;
|
|
70
70
|
exportToJson(): void;
|
|
71
71
|
exportToSvg(): void;
|
|
72
|
+
exportToPdf(): void;
|
|
72
73
|
readonly fmtNum: typeof fmtNum;
|
|
73
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<BarChartComponent, never>;
|
|
74
75
|
static ɵcmp: i0.ɵɵComponentDeclaration<BarChartComponent, "ngx-bar-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; }; "showLabels": { "alias": "showLabels"; "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; }; "referenceLines": { "alias": "referenceLines"; "required": false; "isSignal": true; }; "labelFormatter": { "alias": "labelFormatter"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "barClick": "barClick"; }, never, never, true, never>;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface CurvePoint {
|
|
4
|
+
xVal: number;
|
|
5
|
+
yVal: number;
|
|
6
|
+
zScore: number;
|
|
7
|
+
percentile: number;
|
|
8
|
+
px: number;
|
|
9
|
+
py: number;
|
|
10
|
+
}
|
|
11
|
+
export declare class BellCurveChartComponent {
|
|
12
|
+
data: import("@angular/core").InputSignal<number[]>;
|
|
13
|
+
mean: import("@angular/core").InputSignal<number | undefined>;
|
|
14
|
+
standardDeviation: import("@angular/core").InputSignal<number | undefined>;
|
|
15
|
+
height: import("@angular/core").InputSignal<number>;
|
|
16
|
+
showGrid: import("@angular/core").InputSignal<boolean>;
|
|
17
|
+
fillArea: import("@angular/core").InputSignal<boolean>;
|
|
18
|
+
colors: import("@angular/core").InputSignal<string[]>;
|
|
19
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
20
|
+
labelFormatter: import("@angular/core").InputSignal<((v: number) => string) | undefined>;
|
|
21
|
+
tooltipTemplate: import("@angular/core").InputSignal<TemplateRef<any> | null>;
|
|
22
|
+
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
23
|
+
hoveredPoint: import("@angular/core").WritableSignal<CurvePoint | 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
|
+
margin: import("@angular/core").Signal<{
|
|
30
|
+
top: number;
|
|
31
|
+
right: number;
|
|
32
|
+
bottom: number;
|
|
33
|
+
left: number;
|
|
34
|
+
}>;
|
|
35
|
+
svgHeight: import("@angular/core").Signal<number>;
|
|
36
|
+
innerW: import("@angular/core").Signal<number>;
|
|
37
|
+
innerH: import("@angular/core").Signal<number>;
|
|
38
|
+
computedMean: import("@angular/core").Signal<number>;
|
|
39
|
+
computedSD: import("@angular/core").Signal<number>;
|
|
40
|
+
curveColor: import("@angular/core").Signal<string>;
|
|
41
|
+
sdPositions: import("@angular/core").Signal<{
|
|
42
|
+
label: string;
|
|
43
|
+
val: number;
|
|
44
|
+
}[]>;
|
|
45
|
+
curvePoints: import("@angular/core").Signal<CurvePoint[]>;
|
|
46
|
+
curvePath: import("@angular/core").Signal<string>;
|
|
47
|
+
yTicks: import("@angular/core").Signal<number[]>;
|
|
48
|
+
constructor();
|
|
49
|
+
yPos(val: number): number;
|
|
50
|
+
xPos(xVal: number): number;
|
|
51
|
+
bandPath(startZ: number, endZ: number): string;
|
|
52
|
+
onSvgMouseMove(event: MouseEvent): void;
|
|
53
|
+
onMouseLeave(): void;
|
|
54
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
55
|
+
closeExportMenu(): void;
|
|
56
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
57
|
+
exportToCsv(): void;
|
|
58
|
+
exportToJson(): void;
|
|
59
|
+
exportToSvg(): void;
|
|
60
|
+
exportToPdf(): void;
|
|
61
|
+
private normalCDF;
|
|
62
|
+
formatDensity(v: number): string;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BellCurveChartComponent, never>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BellCurveChartComponent, "ngx-bell-curve-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "mean": { "alias": "mean"; "required": false; "isSignal": true; }; "standardDeviation": { "alias": "standardDeviation"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "fillArea": { "alias": "fillArea"; "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>;
|
|
65
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export interface BiplotPoint {
|
|
3
4
|
x: number;
|
|
@@ -33,11 +34,14 @@ export declare class BiplotComponent {
|
|
|
33
34
|
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
34
35
|
vectorScale: import("@angular/core").InputSignal<number>;
|
|
35
36
|
colors: import("@angular/core").InputSignal<string[]>;
|
|
37
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
36
38
|
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
37
39
|
hoveredPointIndex: import("@angular/core").WritableSignal<number | null>;
|
|
38
40
|
tooltip: import("@angular/core").WritableSignal<any>;
|
|
39
41
|
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
40
42
|
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
43
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
44
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
41
45
|
svgHeight: import("@angular/core").Signal<number>;
|
|
42
46
|
margin: import("@angular/core").Signal<{
|
|
43
47
|
top: number;
|
|
@@ -60,8 +64,15 @@ export declare class BiplotComponent {
|
|
|
60
64
|
onPointHover(idx: number, event: MouseEvent): void;
|
|
61
65
|
onMouseMove(event: MouseEvent): void;
|
|
62
66
|
onMouseLeave(): void;
|
|
67
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
68
|
+
closeExportMenu(): void;
|
|
69
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
70
|
+
exportToCsv(): void;
|
|
71
|
+
exportToJson(): void;
|
|
72
|
+
exportToSvg(): void;
|
|
73
|
+
exportToPdf(): void;
|
|
63
74
|
formatNumber(v: number): string;
|
|
64
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<BiplotComponent, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BiplotComponent, "ngx-biplot", never, { "points": { "alias": "points"; "required": false; "isSignal": true; }; "vectors": { "alias": "vectors"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "vectorScale": { "alias": "vectorScale"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BiplotComponent, "ngx-biplot", never, { "points": { "alias": "points"; "required": false; "isSignal": true; }; "vectors": { "alias": "vectors"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "vectorScale": { "alias": "vectorScale"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
66
77
|
}
|
|
67
78
|
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 BoxPlotItem {
|
|
@@ -18,6 +19,9 @@ export declare class BoxPlotChartComponent {
|
|
|
18
19
|
height: import("@angular/core").InputSignal<number>;
|
|
19
20
|
showGrid: import("@angular/core").InputSignal<boolean>;
|
|
20
21
|
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
22
|
+
showExport: import("@angular/core").InputSignal<boolean>;
|
|
23
|
+
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
24
|
+
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
21
25
|
color: import("@angular/core").InputSignal<string>;
|
|
22
26
|
fillColor: import("@angular/core").InputSignal<string>;
|
|
23
27
|
outlierColor: import("@angular/core").InputSignal<string>;
|
|
@@ -35,6 +39,7 @@ export declare class BoxPlotChartComponent {
|
|
|
35
39
|
outlierVal?: number;
|
|
36
40
|
} | null>;
|
|
37
41
|
private container;
|
|
42
|
+
constructor();
|
|
38
43
|
innerW: import("@angular/core").Signal<number>;
|
|
39
44
|
innerH: import("@angular/core").Signal<number>;
|
|
40
45
|
yMin: import("@angular/core").Signal<number>;
|
|
@@ -62,7 +67,14 @@ export declare class BoxPlotChartComponent {
|
|
|
62
67
|
}[]>;
|
|
63
68
|
onBoxHover(event: MouseEvent, item: BoxPlotItem, index: number): void;
|
|
64
69
|
onOutlierHover(event: MouseEvent, label: string, outlierVal: number): void;
|
|
70
|
+
toggleExportMenu(event: MouseEvent): void;
|
|
71
|
+
closeExportMenu(): void;
|
|
72
|
+
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
73
|
+
exportToCsv(): void;
|
|
74
|
+
exportToJson(): void;
|
|
75
|
+
exportToSvg(): void;
|
|
76
|
+
exportToPdf(): void;
|
|
65
77
|
readonly fmtNum: typeof fmtNum;
|
|
66
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<BoxPlotChartComponent, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BoxPlotChartComponent, "ngx-box-plot-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; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "fillColor": { "alias": "fillColor"; "required": false; "isSignal": true; }; "outlierColor": { "alias": "outlierColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
79
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BoxPlotChartComponent, "ngx-box-plot-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; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "fillColor": { "alias": "fillColor"; "required": false; "isSignal": true; }; "outlierColor": { "alias": "outlierColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
68
80
|
}
|