@acorex/data-grid 16.19.29 → 16.19.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.
- package/fesm2022/acorex-data-grid.mjs +61 -68
- package/fesm2022/acorex-data-grid.mjs.map +1 -1
- package/lib/data-grid/columns/check-column.component.d.ts +2 -2
- package/lib/data-grid/columns/text-column.component.d.ts +2 -2
- package/lib/data-grid/datagrid.component.d.ts +11 -6
- package/lib/data-grid/templates/detail-template.component.d.ts +3 -5
- package/package.json +4 -4
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AXGridDataColumn } from './column.component';
|
2
2
|
import { ICellRendererAngularComp, IFilterAngularComp } from 'ag-grid-angular';
|
3
|
-
import { ICellRendererParams,
|
3
|
+
import { ICellRendererParams, IDoesFilterPassParams, IAfterGuiAttachedParams } from 'ag-grid-community';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class AXGridCheckColumn extends AXGridDataColumn {
|
6
6
|
constructor();
|
@@ -25,7 +25,7 @@ export declare class BooleanFilterRenderer implements IFilterAngularComp {
|
|
25
25
|
value: number;
|
26
26
|
label: string;
|
27
27
|
}[];
|
28
|
-
agInit(params:
|
28
|
+
agInit(params: any): void;
|
29
29
|
isFilterActive(): boolean;
|
30
30
|
doesFilterPass(params: IDoesFilterPassParams | any): boolean;
|
31
31
|
getModel(): any;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { IFilterAngularComp } from 'ag-grid-angular';
|
2
|
-
import { IAfterGuiAttachedParams, IDoesFilterPassParams
|
2
|
+
import { IAfterGuiAttachedParams, IDoesFilterPassParams } from 'ag-grid-community';
|
3
3
|
import { AXGridDataColumn } from './column.component';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class AXGridTextColumn extends AXGridDataColumn {
|
@@ -13,7 +13,7 @@ export declare class TextFilterRenderer implements IFilterAngularComp {
|
|
13
13
|
private params;
|
14
14
|
private valueGetter;
|
15
15
|
private input;
|
16
|
-
agInit(params:
|
16
|
+
agInit(params: any): void;
|
17
17
|
isFilterActive(): boolean;
|
18
18
|
doesFilterPass(params: IDoesFilterPassParams | any): boolean;
|
19
19
|
getModel(): any;
|
@@ -44,7 +44,6 @@ export declare class AXDataGridComponent {
|
|
44
44
|
treeData: boolean;
|
45
45
|
enabelSelect: boolean;
|
46
46
|
gridView: boolean;
|
47
|
-
groupSelectsChildren: boolean;
|
48
47
|
oldSelectionNodes: any[];
|
49
48
|
autoGroupColumnDef: any;
|
50
49
|
currentPage: number;
|
@@ -84,6 +83,15 @@ export declare class AXDataGridComponent {
|
|
84
83
|
private _filter;
|
85
84
|
get filter(): any[];
|
86
85
|
set filter(v: any[]);
|
86
|
+
rowSelection: {
|
87
|
+
mode: string;
|
88
|
+
groupSelects: string;
|
89
|
+
groupSelectsFiltered: string;
|
90
|
+
enableSelectionWithoutKeys: boolean;
|
91
|
+
enableClickSelection: boolean;
|
92
|
+
checkboxes: boolean;
|
93
|
+
copySelectedRows: boolean;
|
94
|
+
};
|
87
95
|
private _inlineColumns;
|
88
96
|
columnsChange: EventEmitter<AXDataGridColumnsChangeEvent>;
|
89
97
|
private _columns;
|
@@ -141,7 +149,7 @@ export declare class AXDataGridComponent {
|
|
141
149
|
deselectAll(): void;
|
142
150
|
deselectByKeyField(keyField: any): void;
|
143
151
|
internalGetRowClass: (p: any) => string | string[];
|
144
|
-
showLoading(): void;
|
152
|
+
showLoading(value: boolean): void;
|
145
153
|
hideLoading(): void;
|
146
154
|
internalGridSizeChanged(e: GridSizeChangedEvent): void;
|
147
155
|
internalGridFirstDataRendered(e: FirstDataRenderedEvent): void;
|
@@ -150,12 +158,9 @@ export declare class AXDataGridComponent {
|
|
150
158
|
private headerHeightSetter;
|
151
159
|
private headerHeightGetter;
|
152
160
|
private makeRefreshBtn;
|
153
|
-
private handleNextBtnClick;
|
154
|
-
private handleBackBtnClick;
|
155
|
-
private handleLastBtnClick;
|
156
|
-
private handleFitstBtnClick;
|
157
161
|
private handleNodeSelected;
|
158
162
|
protected handleFilterChanged(event: FilterChangedEvent): void;
|
163
|
+
onPaginationChanged(e: any): void;
|
159
164
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataGridComponent, never>;
|
160
165
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataGridComponent, "ax-data-grid", never, { "paginationPageSizeSelector": { "alias": "paginationPageSizeSelector"; "required": false; }; "paginationAutoPageSize": { "alias": "paginationAutoPageSize"; "required": false; }; "paginationPageSize": { "alias": "paginationPageSize"; "required": false; }; "remoteOperation": { "alias": "remoteOperation"; "required": false; }; "rowMultiSelectWithClick": { "alias": "rowMultiSelectWithClick"; "required": false; }; "suppressRowClickSelection": { "alias": "suppressRowClickSelection"; "required": false; }; "suppressCellSelection": { "alias": "suppressCellSelection"; "required": false; }; "sizeColumnsToFit": { "alias": "sizeColumnsToFit"; "required": false; }; "showCheckBox": { "alias": "showCheckBox"; "required": false; }; "floatingFilter": { "alias": "floatingFilter"; "required": false; }; "autoExpand": { "alias": "autoExpand"; "required": false; }; "rowSelectableConditionField": { "alias": "rowSelectableConditionField"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "pagination": { "alias": "pagination"; "required": false; }; "selectRow": { "alias": "selectRow"; "required": false; }; "rowGroupPanelShow": { "alias": "rowGroupPanelShow"; "required": false; }; "loadOnInit": { "alias": "loadOnInit"; "required": false; }; "enableRangeSelection": { "alias": "enableRangeSelection"; "required": false; }; "keyField": { "alias": "keyField"; "required": false; }; "hasChildField": { "alias": "hasChildField"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; }; "groupHideOpenParents": { "alias": "groupHideOpenParents"; "required": false; }; "maxConcurrentDatasourceRequests": { "alias": "maxConcurrentDatasourceRequests"; "required": false; }; "blockLoadDebounceMillis": { "alias": "blockLoadDebounceMillis"; "required": false; }; "showRefreshButton": { "alias": "showRefreshButton"; "required": false; }; "autoNavigatePage": { "alias": "autoNavigatePage"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "rtl": { "alias": "rtl"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; }, { "onFilterChanged": "onFilterChanged"; "columnsChange": "columnsChange"; "cellClick": "cellClick"; "cellDbClick": "cellDbClick"; "cellFocuse": "cellFocuse"; "rowClick": "rowClick"; "rowDbClick": "rowDbClick"; "selectionChanged": "selectionChanged"; "rowSelectionChange": "rowSelectionChange"; "onRowSelectionChanged": "onRowSelectionChanged"; }, ["searchInput", "toolbar", "rowTemplate", "gridDetailTemplate", "_contentDataSource", "_inlineColumns"], ["ax-toolbar"], false, never>;
|
161
166
|
}
|
@@ -3,19 +3,17 @@ import { ICellRendererAngularComp } from 'ag-grid-angular';
|
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class AXDataGridDetailTemplateComponent {
|
5
5
|
templateRef: TemplateRef<any>;
|
6
|
-
renderer:
|
7
|
-
params: any;
|
8
|
-
constructor();
|
9
|
-
ngOnInit(): void;
|
6
|
+
renderer: typeof AXDataGridDetailTemplateRenderer;
|
10
7
|
height: number;
|
11
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataGridDetailTemplateComponent, never>;
|
12
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataGridDetailTemplateComponent, "ax-grid-detail-template", never, { "height": { "alias": "height"; "required": false; }; }, {}, ["templateRef"], ["*"], false, never>;
|
13
10
|
}
|
14
11
|
export declare class AXDataGridDetailTemplateRenderer implements ICellRendererAngularComp {
|
15
|
-
refresh(params: any): boolean;
|
16
12
|
templateRef: TemplateRef<any>;
|
17
13
|
data: any;
|
14
|
+
customData: any;
|
18
15
|
agInit(params: any): void;
|
16
|
+
refresh(): boolean;
|
19
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataGridDetailTemplateRenderer, never>;
|
20
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataGridDetailTemplateRenderer, "ng-component", never, {}, {}, never, never, false, never>;
|
21
19
|
}
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@acorex/data-grid",
|
3
|
-
"version": "16.19.
|
3
|
+
"version": "16.19.31",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@angular/common": "^19.0.5",
|
6
6
|
"@angular/core": "^19.0.5",
|
7
|
-
"ag-grid-angular": "^
|
8
|
-
"ag-grid-community": "^
|
9
|
-
"ag-grid-enterprise": "^
|
7
|
+
"ag-grid-angular": "^34.0.1",
|
8
|
+
"ag-grid-community": "^34.0.1",
|
9
|
+
"ag-grid-enterprise": "^34.0.1"
|
10
10
|
},
|
11
11
|
"sideEffects": false,
|
12
12
|
"module": "fesm2022/acorex-data-grid.mjs",
|