ngx-core-components 0.3.24 → 0.3.26
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/README.md +85 -0
- package/charts/adjacency-matrix/adjacency-matrix.component.d.ts +4 -5
- package/charts/agentic-cognitive-topology/agentic-cognitive-topology.component.d.ts +71 -4
- package/charts/arc-diagram/arc-diagram.component.d.ts +4 -5
- package/charts/area-chart/area-chart.component.d.ts +4 -5
- package/charts/area-range-chart/area-range-chart.component.d.ts +3 -4
- package/charts/area-spline-range-chart/area-spline-range-chart.component.d.ts +3 -4
- package/charts/bar-chart/bar-chart.component.d.ts +4 -5
- package/charts/biplot/biplot.component.d.ts +1 -0
- package/charts/box-plot-chart/box-plot-chart.component.d.ts +1 -0
- package/charts/bubble-chart/bubble-chart.component.d.ts +5 -4
- package/charts/bullet-chart/bullet-chart.component.d.ts +4 -5
- package/charts/candlestick-chart/candlestick-chart.component.d.ts +4 -5
- package/charts/chord-diagram/chord-diagram.component.d.ts +4 -5
- package/charts/column-pyramid-chart/column-pyramid-chart.component.d.ts +3 -4
- package/charts/column-range-chart/column-range-chart.component.d.ts +3 -4
- package/charts/combo-chart/combo-chart.component.d.ts +4 -5
- package/charts/dependency-wheel/dependency-wheel.component.d.ts +4 -5
- package/charts/geo-heatmap/geo-heatmap.component.d.ts +3 -4
- package/charts/heatmap-chart/heatmap-chart.component.d.ts +3 -4
- package/charts/heikin-ashi-chart/heikin-ashi-chart.component.d.ts +4 -4
- package/charts/histogram/histogram.component.d.ts +3 -4
- package/charts/hlc-chart/hlc-chart.component.d.ts +3 -4
- package/charts/hollow-candlestick-chart/hollow-candlestick-chart.component.d.ts +3 -4
- package/charts/kagi-chart/kagi-chart.component.d.ts +4 -4
- package/charts/line-chart/line-chart.component.d.ts +5 -4
- package/charts/lollipop-chart/lollipop-chart.component.d.ts +3 -4
- package/charts/map-bubble/map-bubble.component.d.ts +3 -4
- package/charts/map-choropleth/map-choropleth.component.d.ts +3 -4
- package/charts/map-line-point/map-line-point.component.d.ts +3 -4
- package/charts/marimekko-chart/marimekko-chart.component.d.ts +3 -4
- package/charts/network-graph/network-graph.component.d.ts +4 -5
- package/charts/ohlc-chart/ohlc-chart.component.d.ts +4 -5
- package/charts/packed-bubble-chart/packed-bubble-chart.component.d.ts +4 -5
- package/charts/parallel-coordinates/parallel-coordinates.component.d.ts +4 -5
- package/charts/pareto-chart/pareto-chart.component.d.ts +3 -4
- package/charts/pictorial-chart/pictorial-chart.component.d.ts +4 -5
- package/charts/pie-chart/pie-chart.component.d.ts +5 -5
- package/charts/point-figure-chart/point-figure-chart.component.d.ts +5 -5
- package/charts/polar-area-chart/polar-area-chart.component.d.ts +5 -5
- package/charts/radar-chart/radar-chart.component.d.ts +4 -4
- package/charts/radial-bar-chart/radial-bar-chart.component.d.ts +4 -4
- package/charts/renko-chart/renko-chart.component.d.ts +5 -5
- package/charts/ridgeline-chart/ridgeline-chart.component.d.ts +4 -4
- package/charts/sankey-chart/sankey-chart.component.d.ts +3 -4
- package/charts/scatter-plot/scatter-plot.component.d.ts +3 -4
- package/charts/shared/chart-export-menu.component.d.ts +26 -0
- package/charts/shared/chart-export.service.d.ts +29 -0
- package/charts/shared/chart-utils.d.ts +1 -0
- package/charts/slope-chart/slope-chart.component.d.ts +3 -4
- package/charts/waterfall-chart/waterfall-chart.component.d.ts +4 -5
- package/charts/wind-rose/wind-rose.component.d.ts +4 -4
- package/charts/word-cloud/word-cloud.component.d.ts +3 -4
- package/fesm2022/ngx-core-components-charts.mjs +2242 -6286
- package/fesm2022/ngx-core-components-charts.mjs.map +1 -1
- package/fesm2022/ngx-core-components-grid.mjs +282 -54
- package/fesm2022/ngx-core-components-grid.mjs.map +1 -1
- package/grid/data-grid/data-grid.component.d.ts +14 -1
- package/grid/data-grid/grid-export.service.d.ts +4 -7
- package/package.json +1 -1
|
@@ -111,6 +111,9 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
111
111
|
enableContextMenu: import("@angular/core").InputSignal<boolean>;
|
|
112
112
|
keyboardNavigation: import("@angular/core").InputSignal<boolean>;
|
|
113
113
|
groupAggregations: import("@angular/core").InputSignal<boolean>;
|
|
114
|
+
showGroupingPanel: import("@angular/core").InputSignal<boolean>;
|
|
115
|
+
rowClass: import("@angular/core").InputSignal<((row: T) => string) | null>;
|
|
116
|
+
compact: import("@angular/core").InputSignal<boolean>;
|
|
114
117
|
/**
|
|
115
118
|
* Whether to render only the visible rows using high-performance row virtualization.
|
|
116
119
|
* Useful when rendering large datasets (1,000+ items).
|
|
@@ -131,6 +134,7 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
131
134
|
editingDraft: import("@angular/core").WritableSignal<Record<string, unknown>>;
|
|
132
135
|
internalPageSize: import("@angular/core").WritableSignal<number>;
|
|
133
136
|
internalGroupBy: import("@angular/core").WritableSignal<GridGroupState | null>;
|
|
137
|
+
isGroupingPanelDragOver: import("@angular/core").WritableSignal<boolean>;
|
|
134
138
|
scrollTop: import("@angular/core").WritableSignal<number>;
|
|
135
139
|
viewportHeight: import("@angular/core").WritableSignal<number>;
|
|
136
140
|
startIndex: import("@angular/core").Signal<number>;
|
|
@@ -246,6 +250,9 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
246
250
|
onResizeStart(event: MouseEvent, col: GridColumnDef<T>): void;
|
|
247
251
|
onResizeDoubleClick(event: MouseEvent, col: GridColumnDef<T>): void;
|
|
248
252
|
autoSizeColumn(col: GridColumnDef<T>): void;
|
|
253
|
+
getColumnPinnedState(field: string): 'left' | 'right' | null;
|
|
254
|
+
pinColumnPopover(field: string, pin: 'left' | 'right' | null): void;
|
|
255
|
+
getRowCustomClass(row: T): string;
|
|
249
256
|
openFilterPopover(event: MouseEvent, field: string): void;
|
|
250
257
|
getDistinctValues(field: string): string[];
|
|
251
258
|
getFilteredDistinctValues(field: string): string[];
|
|
@@ -253,10 +260,16 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
253
260
|
toggleSelectAllChecklist(): void;
|
|
254
261
|
applyPopoverFilter(): void;
|
|
255
262
|
clearPopoverFilter(): void;
|
|
263
|
+
clearAllFilters(): void;
|
|
256
264
|
hasAggregation: import("@angular/core").Signal<boolean>;
|
|
257
265
|
getAggregationValue(col: GridColumnDef<T>): string;
|
|
258
266
|
private formatAggValue;
|
|
259
267
|
onSort(column: GridColumnDef<T>, event?: MouseEvent): void;
|
|
268
|
+
onGroupingPanelDragOver(event: DragEvent): void;
|
|
269
|
+
onGroupingPanelDragLeave(event: DragEvent): void;
|
|
270
|
+
onGroupingPanelDrop(event: DragEvent): void;
|
|
271
|
+
clearGrouping(): void;
|
|
272
|
+
getColumnTitle(field: string): string;
|
|
260
273
|
onDragStart(event: DragEvent, col: GridColumnDef<T>): void;
|
|
261
274
|
onDragOver(event: DragEvent, col: GridColumnDef<T>): void;
|
|
262
275
|
onDrop(event: DragEvent, targetCol: GridColumnDef<T>): void;
|
|
@@ -319,5 +332,5 @@ export declare class DataGridComponent<T extends object = Record<string, unknown
|
|
|
319
332
|
toggleGroupSelection(group: GridGroupResult<T>, event: Event): void;
|
|
320
333
|
getGroupAggregationValue(group: GridGroupResult<T>, col: GridColumnDef<T>): string;
|
|
321
334
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataGridComponent<any>, never>;
|
|
322
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataGridComponent<any>, "ngx-data-grid", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "stateKey": { "alias": "stateKey"; "required": false; "isSignal": true; }; "reorderable": { "alias": "reorderable"; "required": false; "isSignal": true; }; "multiSort": { "alias": "multiSort"; "required": false; "isSignal": true; }; "rowReorderable": { "alias": "rowReorderable"; "required": false; "isSignal": true; }; "showGlobalSearch": { "alias": "showGlobalSearch"; "required": false; "isSignal": true; }; "globalSearchPlaceholder": { "alias": "globalSearchPlaceholder"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "sortMode": { "alias": "sortMode"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "groupMode": { "alias": "groupMode"; "required": false; "isSignal": true; }; "pagingMode": { "alias": "pagingMode"; "required": false; "isSignal": true; }; "groupBy": { "alias": "groupBy"; "required": false; "isSignal": true; }; "groupedData": { "alias": "groupedData"; "required": false; "isSignal": true; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; "isSignal": true; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; "isSignal": true; }; "editCellTemplate": { "alias": "editCellTemplate"; "required": false; "isSignal": true; }; "rowTemplate": { "alias": "rowTemplate"; "required": false; "isSignal": true; }; "detailRowTemplate": { "alias": "detailRowTemplate"; "required": false; "isSignal": true; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; "isSignal": true; }; "showColumnChooser": { "alias": "showColumnChooser"; "required": false; "isSignal": true; }; "cellSelection": { "alias": "cellSelection"; "required": false; "isSignal": true; }; "enableContextMenu": { "alias": "enableContextMenu"; "required": false; "isSignal": true; }; "keyboardNavigation": { "alias": "keyboardNavigation"; "required": false; "isSignal": true; }; "groupAggregations": { "alias": "groupAggregations"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "rowHeight": { "alias": "rowHeight"; "required": false; "isSignal": true; }; }, { "columnReorder": "columnReorder"; "rowReorder": "rowReorder"; "rowClick": "rowClick"; "selectionChange": "selectionChange"; "sortChange": "sortChange"; "filterChange": "filterChange"; "groupChange": "groupChange"; "pageChange": "pageChange"; "dataStateChange": "dataStateChange"; "rowUpdate": "rowUpdate"; "cellSelectionChange": "cellSelectionChange"; }, ["cellTemplates", "editCellTemplates", "headerTemplates", "footerTemplates"], never, true, never>;
|
|
335
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataGridComponent<any>, "ngx-data-grid", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "stateKey": { "alias": "stateKey"; "required": false; "isSignal": true; }; "reorderable": { "alias": "reorderable"; "required": false; "isSignal": true; }; "multiSort": { "alias": "multiSort"; "required": false; "isSignal": true; }; "rowReorderable": { "alias": "rowReorderable"; "required": false; "isSignal": true; }; "showGlobalSearch": { "alias": "showGlobalSearch"; "required": false; "isSignal": true; }; "globalSearchPlaceholder": { "alias": "globalSearchPlaceholder"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "sortMode": { "alias": "sortMode"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "groupMode": { "alias": "groupMode"; "required": false; "isSignal": true; }; "pagingMode": { "alias": "pagingMode"; "required": false; "isSignal": true; }; "groupBy": { "alias": "groupBy"; "required": false; "isSignal": true; }; "groupedData": { "alias": "groupedData"; "required": false; "isSignal": true; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; "isSignal": true; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; "isSignal": true; }; "editCellTemplate": { "alias": "editCellTemplate"; "required": false; "isSignal": true; }; "rowTemplate": { "alias": "rowTemplate"; "required": false; "isSignal": true; }; "detailRowTemplate": { "alias": "detailRowTemplate"; "required": false; "isSignal": true; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; "isSignal": true; }; "showColumnChooser": { "alias": "showColumnChooser"; "required": false; "isSignal": true; }; "cellSelection": { "alias": "cellSelection"; "required": false; "isSignal": true; }; "enableContextMenu": { "alias": "enableContextMenu"; "required": false; "isSignal": true; }; "keyboardNavigation": { "alias": "keyboardNavigation"; "required": false; "isSignal": true; }; "groupAggregations": { "alias": "groupAggregations"; "required": false; "isSignal": true; }; "showGroupingPanel": { "alias": "showGroupingPanel"; "required": false; "isSignal": true; }; "rowClass": { "alias": "rowClass"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "rowHeight": { "alias": "rowHeight"; "required": false; "isSignal": true; }; }, { "columnReorder": "columnReorder"; "rowReorder": "rowReorder"; "rowClick": "rowClick"; "selectionChange": "selectionChange"; "sortChange": "sortChange"; "filterChange": "filterChange"; "groupChange": "groupChange"; "pageChange": "pageChange"; "dataStateChange": "dataStateChange"; "rowUpdate": "rowUpdate"; "cellSelectionChange": "cellSelectionChange"; }, ["cellTemplates", "editCellTemplates", "headerTemplates", "footerTemplates"], never, true, never>;
|
|
323
336
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridColumnDef } from './models';
|
|
1
|
+
import { GridColumnDef, GridGroupState } from './models';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* Standalone injectable service for exporting grid data to JSON, CSV, and Excel formats.
|
|
@@ -12,15 +12,12 @@ export declare class GridExportService {
|
|
|
12
12
|
/**
|
|
13
13
|
* Export data as a CSV file download.
|
|
14
14
|
*/
|
|
15
|
-
exportToCsv<T extends object>(data: T[], columns: GridColumnDef<T>[], filename?: string): void;
|
|
15
|
+
exportToCsv<T extends object>(data: T[], columns: GridColumnDef<T>[], filename?: string, groupBy?: GridGroupState | null): void;
|
|
16
16
|
/**
|
|
17
17
|
* Export data as an Excel (.xls) file download using an HTML table template.
|
|
18
18
|
*/
|
|
19
|
-
exportToExcel<T extends object>(data: T[], columns: GridColumnDef<T>[], filename?: string): void;
|
|
20
|
-
|
|
21
|
-
* Export data as a beautifully styled PDF format via browser print window.
|
|
22
|
-
*/
|
|
23
|
-
exportToPdf<T extends object>(data: T[], columns: GridColumnDef<T>[], title?: string): void;
|
|
19
|
+
exportToExcel<T extends object>(data: T[], columns: GridColumnDef<T>[], filename?: string, groupBy?: GridGroupState | null): void;
|
|
20
|
+
exportToPdf<T extends object>(data: T[], columns: GridColumnDef<T>[], title?: string, groupBy?: GridGroupState | null): void;
|
|
24
21
|
/**
|
|
25
22
|
* Create a temporary anchor element, trigger a download, and clean up.
|
|
26
23
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-core-components",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.26",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
5
|
"description": "Angular 19+ component library — 100+ production-ready UI components including Data Grid, Gantt Chart, 35+ SVG Charts, AI Chat, Kanban, Form Builder, and more. Signals-first, fully standalone, zero runtime dependencies.",
|
|
6
6
|
"keywords": [
|