ngx-core-components 0.3.29 → 0.3.31

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.
Files changed (34) hide show
  1. package/charts/bar-chart/bar-chart.component.d.ts +2 -1
  2. package/charts/calendar-heatmap/calendar-heatmap.component.d.ts +49 -0
  3. package/charts/multi-needle-gauge/multi-needle-gauge.component.d.ts +74 -0
  4. package/charts/nested-donut-chart/nested-donut-chart.component.d.ts +70 -0
  5. package/charts/org-chart/org-chart.component.d.ts +69 -0
  6. package/charts/pie-chart/pie-chart.component.d.ts +3 -1
  7. package/charts/public-api.d.ts +24 -0
  8. package/charts/pyramid-chart/pyramid-chart.component.d.ts +58 -0
  9. package/charts/range-bar-chart/range-bar-chart.component.d.ts +61 -0
  10. package/charts/shared/chart-annotations.d.ts +26 -0
  11. package/charts/shared/chart-brush-zoom.component.d.ts +53 -0
  12. package/charts/shared/chart-skeleton.component.d.ts +10 -0
  13. package/charts/shared/chart-sync-group.directive.d.ts +14 -0
  14. package/charts/shared/chart-theme.service.d.ts +21 -0
  15. package/charts/shared/chart-tooltip.service.d.ts +28 -0
  16. package/charts/step-line-chart/step-line-chart.component.d.ts +71 -0
  17. package/charts/timeline-chart/timeline-chart.component.d.ts +63 -0
  18. package/fesm2022/ngx-core-components-charts.mjs +3074 -4
  19. package/fesm2022/ngx-core-components-charts.mjs.map +1 -1
  20. package/fesm2022/ngx-core-components-inputs.mjs +839 -529
  21. package/fesm2022/ngx-core-components-inputs.mjs.map +1 -1
  22. package/fesm2022/ngx-core-components.mjs +2 -2
  23. package/fesm2022/ngx-core-components.mjs.map +1 -1
  24. package/inputs/date-picker/date-picker.component.d.ts +32 -33
  25. package/inputs/directives/mask.directive.d.ts +9 -0
  26. package/inputs/form-builder/form-builder.component.d.ts +22 -31
  27. package/inputs/numeric-textbox/numeric-textbox.component.d.ts +33 -23
  28. package/inputs/pipes/form-error.pipe.d.ts +9 -0
  29. package/inputs/public-api.d.ts +8 -1
  30. package/inputs/services/form-error.service.d.ts +33 -0
  31. package/inputs/textbox/textbox.component.d.ts +3 -1
  32. package/inputs/utils/mask.util.d.ts +16 -0
  33. package/package.json +1 -1
  34. package/public-api.d.ts +18 -1
@@ -0,0 +1,71 @@
1
+ import { ElementRef, TemplateRef } from '@angular/core';
2
+ import { ExportFormat } from '../shared/chart-export-menu.component';
3
+ import { ChartSeries, fmtNum } from '../shared/chart-utils';
4
+ import * as i0 from "@angular/core";
5
+ export declare class StepLineChartComponent {
6
+ readonly instanceId: string;
7
+ private readonly exportSvc;
8
+ readonly PAD_LEFT = 48;
9
+ readonly PAD_TOP = 12;
10
+ readonly PAD_RIGHT = 16;
11
+ readonly PAD_BOTTOM = 32;
12
+ series: import("@angular/core").InputSignal<ChartSeries[]>;
13
+ categories: import("@angular/core").InputSignal<string[]>;
14
+ height: import("@angular/core").InputSignal<number>;
15
+ stepMode: import("@angular/core").InputSignal<"before" | "after" | "middle">;
16
+ showGrid: import("@angular/core").InputSignal<boolean>;
17
+ showLegend: import("@angular/core").InputSignal<boolean>;
18
+ showLabels: import("@angular/core").InputSignal<boolean>;
19
+ showMarkers: import("@angular/core").InputSignal<boolean>;
20
+ showArea: import("@angular/core").InputSignal<boolean>;
21
+ colors: import("@angular/core").InputSignal<string[]>;
22
+ showExport: import("@angular/core").InputSignal<boolean>;
23
+ referenceLines: import("@angular/core").InputSignal<{
24
+ value: number;
25
+ label: string;
26
+ color?: string;
27
+ }[]>;
28
+ labelFormatter: import("@angular/core").InputSignal<((v: number) => string) | undefined>;
29
+ tooltipTemplate: import("@angular/core").InputSignal<TemplateRef<any> | null>;
30
+ pointClick: import("@angular/core").OutputEmitterRef<{
31
+ category: string;
32
+ value: number;
33
+ seriesName: string;
34
+ }>;
35
+ svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
36
+ containerWidth: import("@angular/core").WritableSignal<number>;
37
+ crosshair: import("@angular/core").WritableSignal<{
38
+ x: number;
39
+ } | null>;
40
+ activeCategoryIndex: import("@angular/core").WritableSignal<number | null>;
41
+ tooltip: import("@angular/core").WritableSignal<{
42
+ x: number;
43
+ y: number;
44
+ cat: string;
45
+ rows: {
46
+ name: string;
47
+ value: number;
48
+ color: string;
49
+ }[];
50
+ } | null>;
51
+ chartHeight: import("@angular/core").Signal<number>;
52
+ innerW: import("@angular/core").Signal<number>;
53
+ innerH: import("@angular/core").Signal<number>;
54
+ private allValues;
55
+ private yMin;
56
+ private yMax;
57
+ yTicks: import("@angular/core").Signal<number[]>;
58
+ constructor();
59
+ yPos(v: number): number;
60
+ xPos(i: number): number;
61
+ seriesColor(i: number, s: ChartSeries): string;
62
+ stepPath(points: [number, number][]): string;
63
+ linePath(s: ChartSeries): string;
64
+ areaPath(s: ChartSeries): string;
65
+ onMouseMove(event: MouseEvent): void;
66
+ onMouseLeave(): void;
67
+ onExport(type: ExportFormat): void;
68
+ readonly fmtNum: typeof fmtNum;
69
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepLineChartComponent, never>;
70
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepLineChartComponent, "ngx-step-line-chart", never, { "series": { "alias": "series"; "required": false; "isSignal": true; }; "categories": { "alias": "categories"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "stepMode": { "alias": "stepMode"; "required": false; "isSignal": true; }; "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "showMarkers": { "alias": "showMarkers"; "required": false; "isSignal": true; }; "showArea": { "alias": "showArea"; "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; }; }, { "pointClick": "pointClick"; }, never, never, true, never>;
71
+ }
@@ -0,0 +1,63 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { ExportFormat } from '../shared/chart-export-menu.component';
3
+ import * as i0 from "@angular/core";
4
+ export interface TimelineEvent {
5
+ id: string;
6
+ title: string;
7
+ category?: string;
8
+ startDate: string | Date;
9
+ endDate?: string | Date;
10
+ status?: 'completed' | 'in-progress' | 'pending' | 'failed' | 'warning';
11
+ details?: string;
12
+ icon?: string;
13
+ }
14
+ export declare class TimelineChartComponent {
15
+ events: import("@angular/core").InputSignal<TimelineEvent[]>;
16
+ height: import("@angular/core").InputSignal<number>;
17
+ groupCategories: 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
+ private exportSvc;
22
+ eventClick: import("@angular/core").OutputEmitterRef<TimelineEvent>;
23
+ container: import("@angular/core").Signal<ElementRef<any> | undefined>;
24
+ onExport(type: ExportFormat): void;
25
+ width: import("@angular/core").WritableSignal<number>;
26
+ hoverEvent: import("@angular/core").WritableSignal<any>;
27
+ chartId: string;
28
+ marginLeft: number;
29
+ marginRight: number;
30
+ marginTop: number;
31
+ marginBottom: number;
32
+ rowHeight: number;
33
+ get containerEl(): any;
34
+ statusColors: Record<string, string>;
35
+ private destroyRef;
36
+ constructor();
37
+ categories: import("@angular/core").Signal<string[]>;
38
+ categoryColors: import("@angular/core").Signal<Record<string, string>>;
39
+ timeRange: import("@angular/core").Signal<{
40
+ min: number;
41
+ max: number;
42
+ }>;
43
+ xScale: (time: number) => number;
44
+ yScale: (index: number) => number;
45
+ xTicks: import("@angular/core").Signal<{
46
+ x: number;
47
+ label: string;
48
+ }[]>;
49
+ processedEvents: import("@angular/core").Signal<{
50
+ raw: TimelineEvent;
51
+ x: number;
52
+ y: number;
53
+ width: number;
54
+ isDuration: boolean;
55
+ color: string;
56
+ }[]>;
57
+ getDiamondPath(cx: number, cy: number, r: number): string;
58
+ getTooltipX(ev: any): number;
59
+ getTooltipY(ev: any): number;
60
+ formatDate(d: any): string;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimelineChartComponent, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<TimelineChartComponent, "ngx-timeline-chart", never, { "events": { "alias": "events"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "groupCategories": { "alias": "groupCategories"; "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; }; }, { "eventClick": "eventClick"; }, never, never, true, never>;
63
+ }