@scvzerng/element-ui-ag-grid-vue2 0.0.8
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 +5 -0
- package/dist/ElementPlusAgGrid.es.js +34344 -0
- package/dist/ElementPlusAgGrid.umd.js +58 -0
- package/dist/favicon.ico +0 -0
- package/dist/style.css +1 -0
- package/dist/types/Grid.vue.d.ts +14849 -0
- package/dist/types/GridDataCache.d.ts +52 -0
- package/dist/types/GridDataSource.d.ts +39 -0
- package/dist/types/GridEmptyDataOverlay.vue.d.ts +2 -0
- package/dist/types/GridLoadingOverlay.vue.d.ts +2 -0
- package/dist/types/PageGetRowsParams.d.ts +32 -0
- package/dist/types/ag-grid/options/ag-grid-menu-options.d.ts +9 -0
- package/dist/types/ag-grid/options/ag-grid-options-clean.d.ts +2 -0
- package/dist/types/ag-grid/options/ag-grid-options.d.ts +11 -0
- package/dist/types/ag-grid-vue/components/AgGridVue.vue.d.ts +1333 -0
- package/dist/types/ag-grid-vue/components/VueComponentFactory.d.ts +16 -0
- package/dist/types/ag-grid-vue/components/VueFrameworkComponentWrapper.d.ts +15 -0
- package/dist/types/ag-grid-vue/components/VueFrameworkOverrides.d.ts +7 -0
- package/dist/types/ag-grid-vue/components/utils.d.ts +2105 -0
- package/dist/types/ag-grid-vue/main.d.ts +2 -0
- package/dist/types/clientSideRowModel/abstractClientSideNodeManager.d.ts +50 -0
- package/dist/types/clientSideRowModel/changedRowNodes.d.ts +12 -0
- package/dist/types/clientSideRowModel/clientSideNodeManager.d.ts +5 -0
- package/dist/types/clientSideRowModel/clientSideRowModel.d.ts +129 -0
- package/dist/types/clientSideRowModel/clientSideRowModelApi.d.ts +12 -0
- package/dist/types/clientSideRowModel/clientSideRowModelModule.d.ts +9 -0
- package/dist/types/clientSideRowModel/filterStage.d.ts +14 -0
- package/dist/types/clientSideRowModel/sortStage.d.ts +10 -0
- package/dist/types/context-menu/index.d.ts +8 -0
- package/dist/types/helper/vModel.d.ts +12 -0
- package/dist/types/index.d.ts +25 -0
- package/dist/types/model/row/ActualRow.d.ts +77 -0
- package/dist/types/model/row/CellValue.d.ts +37 -0
- package/dist/types/model/row/EditableRow.d.ts +52 -0
- package/dist/types/model/row/GridRow.d.ts +30 -0
- package/dist/types/model/row/ProjectionRow.d.ts +43 -0
- package/dist/types/model/row/SpanInfo.d.ts +25 -0
- package/dist/types/render/CellHolder.d.ts +15 -0
- package/dist/types/render/CellRenderer.vue.d.ts +16 -0
- package/dist/types/render/FooterCellRender.vue.d.ts +15 -0
- package/dist/types/render/HeaderRenderer.vue.d.ts +15 -0
- package/dist/types/render/VNodeRender.d.ts +11 -0
- package/dist/types/render/types/ICellRendererParamsExt.d.ts +13 -0
- package/dist/types/renders.d.ts +35 -0
- package/dist/types/search/DrawerSearch.vue.d.ts +45 -0
- package/dist/types/search/PopoverSearch.vue.d.ts +45 -0
- package/dist/types/search/Search.vue.d.ts +85 -0
- package/dist/types/search/SearchItem.vue.d.ts +22 -0
- package/dist/types/search/Searchable.d.ts +38 -0
- package/dist/types/search/index.d.ts +4 -0
- package/dist/types/search/use-search.d.ts +26 -0
- package/dist/types/selection/baseSelectionService.d.ts +45 -0
- package/dist/types/selection/checkboxSelectionComponent.d.ts +24 -0
- package/dist/types/selection/rowRangeSelectionContext.d.ts +54 -0
- package/dist/types/selection/rowSelectionApi.d.ts +18 -0
- package/dist/types/selection/rowSelectionModule.d.ts +9 -0
- package/dist/types/selection/selectAllFeature.d.ts +28 -0
- package/dist/types/selection/selectionColService.d.ts +38 -0
- package/dist/types/selection/selectionService.d.ts +73 -0
- package/dist/types/selection/utils.d.ts +12 -0
- package/dist/types/tokens.d.ts +22 -0
- package/dist/types/toolbar/GridToolbar.vue.d.ts +18 -0
- package/dist/types/toolbar/features/RefreshButton.vue.d.ts +2 -0
- package/dist/types/toolbar/features/SearchButton.vue.d.ts +15 -0
- package/dist/types/toolbar/features/SettingButton.vue.d.ts +2 -0
- package/dist/types/toolbar/features/use-columns-setting.d.ts +14 -0
- package/dist/types/use-footer.d.ts +14 -0
- package/dist/types/use-grid-scroll.d.ts +10 -0
- package/dist/types/use-grid-state.d.ts +9 -0
- package/dist/types/use-grid.d.ts +672 -0
- package/dist/types/use-proxy.d.ts +8 -0
- package/dist/types/use-sort.d.ts +4 -0
- package/dist/types/use-theme.d.ts +3 -0
- package/dist/types/utils/GridUtils.d.ts +4 -0
- package/dist/types/version.d.ts +1 -0
- package/package.json +62 -0
|
@@ -0,0 +1,672 @@
|
|
|
1
|
+
import type { PageFetchParams } from './GridDataSource';
|
|
2
|
+
import { GridDataCache } from './GridDataCache';
|
|
3
|
+
import type { Column, Options, RowIdMapper } from './index';
|
|
4
|
+
import type { GridApi, GridOptions } from 'ag-grid-community';
|
|
5
|
+
import type { Searchable } from './search';
|
|
6
|
+
import { ActualRow } from './model/row/ActualRow';
|
|
7
|
+
import { GridRow } from './model/row/GridRow';
|
|
8
|
+
import { EditableRow } from './model/row/EditableRow';
|
|
9
|
+
import { ProjectionRow } from './model/row/ProjectionRow';
|
|
10
|
+
export type RowData<T> = T[] | ((page: PageFetchParams) => Promise<T[]>);
|
|
11
|
+
export type RefreshCallback = () => Promise<void>;
|
|
12
|
+
export type GridProps = {
|
|
13
|
+
id?: string;
|
|
14
|
+
rowIdMapper: RowIdMapper<any>;
|
|
15
|
+
columns: Column[];
|
|
16
|
+
rowData: RowData<any>;
|
|
17
|
+
pageSize: number;
|
|
18
|
+
tools: string[];
|
|
19
|
+
searches: Searchable[];
|
|
20
|
+
gridOptions: Options;
|
|
21
|
+
footerHeight?: number;
|
|
22
|
+
};
|
|
23
|
+
export declare const useGrid: <T = any>(props: GridProps) => {
|
|
24
|
+
gridOptions: import("vue").ComputedRef<GridOptions<any>>;
|
|
25
|
+
datasource: import("vue").Ref<{
|
|
26
|
+
api: {
|
|
27
|
+
dispatchEvent: (event: import("ag-grid-community").AgEvent) => void;
|
|
28
|
+
getGridId: () => string;
|
|
29
|
+
destroy: () => void;
|
|
30
|
+
isDestroyed: () => boolean;
|
|
31
|
+
getGridOption: <Key extends keyof GridOptions<TData>>(key: Key) => GridOptions<ProjectionRow<any>>[Key];
|
|
32
|
+
setGridOption: <Key extends import("ag-grid-community").ManagedGridOptionKey>(key: Key, value: GridOptions<ProjectionRow<any>>[Key]) => void;
|
|
33
|
+
updateGridOptions: <TDataUpdate extends ProjectionRow<any>>(options: import("ag-grid-community").ManagedGridOptions<TDataUpdate>) => void;
|
|
34
|
+
isModuleRegistered: (moduleName: import("ag-grid-community").AgModuleName) => boolean;
|
|
35
|
+
getState: () => import("ag-grid-community").GridState;
|
|
36
|
+
setState: (state: import("ag-grid-community").GridState, propertiesToIgnore?: import("ag-grid-community").GridStateKey[]) => void;
|
|
37
|
+
setNodesSelected: (params: {
|
|
38
|
+
nodes: import("ag-grid-community").IRowNode<ProjectionRow<any>>[];
|
|
39
|
+
newValue: boolean;
|
|
40
|
+
source?: import("ag-grid-community").SelectionEventSourceType;
|
|
41
|
+
}) => void;
|
|
42
|
+
selectAll: (mode?: import("ag-grid-community").SelectAllMode, source?: import("ag-grid-community").SelectionEventSourceType) => void;
|
|
43
|
+
deselectAll: (mode?: import("ag-grid-community").SelectAllMode, source?: import("ag-grid-community").SelectionEventSourceType) => void;
|
|
44
|
+
selectAllFiltered: (source?: import("ag-grid-community").SelectionEventSourceType) => void;
|
|
45
|
+
deselectAllFiltered: (source?: import("ag-grid-community").SelectionEventSourceType) => void;
|
|
46
|
+
selectAllOnCurrentPage: (source?: import("ag-grid-community").SelectionEventSourceType) => void;
|
|
47
|
+
deselectAllOnCurrentPage: (source?: import("ag-grid-community").SelectionEventSourceType) => void;
|
|
48
|
+
getSelectedNodes: () => import("ag-grid-community").IRowNode<ProjectionRow<any>>[];
|
|
49
|
+
getSelectedRows: () => ProjectionRow<any>[];
|
|
50
|
+
redrawRows: (params?: import("ag-grid-community").RedrawRowsParams<ProjectionRow<any>> | undefined) => void;
|
|
51
|
+
setRowNodeExpanded: (rowNode: import("ag-grid-community").IRowNode<ProjectionRow<any>>, expanded: boolean, expandParents?: boolean, forceSync?: boolean) => void;
|
|
52
|
+
getRowNode: (id: string) => import("ag-grid-community").IRowNode<ProjectionRow<any>> | undefined;
|
|
53
|
+
addRenderedRowListener: (eventName: import("ag-grid-community/dist/types/src/interfaces/iCallbackParams").RenderedRowEvent, rowIndex: number, callback: (...args: any[]) => any) => void;
|
|
54
|
+
getRenderedNodes: () => import("ag-grid-community").IRowNode<ProjectionRow<any>>[];
|
|
55
|
+
forEachNode: (callback: (rowNode: import("ag-grid-community").IRowNode<ProjectionRow<any>>, index: number) => void, includeFooterNodes?: boolean) => void;
|
|
56
|
+
getFirstDisplayedRowIndex: () => number;
|
|
57
|
+
getLastDisplayedRowIndex: () => number;
|
|
58
|
+
getDisplayedRowAtIndex: (index: number) => import("ag-grid-community").IRowNode<ProjectionRow<any>> | undefined;
|
|
59
|
+
getDisplayedRowCount: () => number;
|
|
60
|
+
getVerticalPixelRange: () => {
|
|
61
|
+
top: number;
|
|
62
|
+
bottom: number;
|
|
63
|
+
};
|
|
64
|
+
getHorizontalPixelRange: () => {
|
|
65
|
+
left: number;
|
|
66
|
+
right: number;
|
|
67
|
+
};
|
|
68
|
+
ensureColumnVisible: (key: string | import("ag-grid-community").Column, position?: "auto" | "start" | "middle" | "end") => void;
|
|
69
|
+
ensureIndexVisible: (index: number, position?: "top" | "bottom" | "middle" | null) => void;
|
|
70
|
+
ensureNodeVisible: (nodeSelector: ProjectionRow<any> | import("ag-grid-community").IRowNode<ProjectionRow<any>> | ((row: import("ag-grid-community").IRowNode<ProjectionRow<any>>) => boolean), position?: "top" | "bottom" | "middle" | null) => void;
|
|
71
|
+
getFocusedCell: () => import("ag-grid-community").CellPosition | null;
|
|
72
|
+
clearFocusedCell: () => void;
|
|
73
|
+
setFocusedCell: (rowIndex: number, colKey: string | import("ag-grid-community").Column, rowPinned?: import("ag-grid-community").RowPinnedType) => void;
|
|
74
|
+
setFocusedHeader: (colKey: string | import("ag-grid-community").Column | import("ag-grid-community").ColumnGroup, floatingFilter?: boolean) => void;
|
|
75
|
+
tabToNextCell: (event?: KeyboardEvent) => boolean;
|
|
76
|
+
tabToPreviousCell: (event?: KeyboardEvent) => boolean;
|
|
77
|
+
addEventListener: <TEventType extends import("ag-grid-community").AgPublicEventType>(eventType: TEventType, listener: import("ag-grid-community").AgEventListener<ProjectionRow<any>, any, TEventType>) => void;
|
|
78
|
+
removeEventListener: <TEventType extends import("ag-grid-community").AgPublicEventType>(eventType: TEventType, listener: import("ag-grid-community").AgEventListener<ProjectionRow<any>, any, TEventType>) => void;
|
|
79
|
+
addGlobalListener: <TEventType extends import("ag-grid-community").AgPublicEventType>(listener: import("ag-grid-community").AgGlobalEventListener<ProjectionRow<any>, any, TEventType>) => void;
|
|
80
|
+
removeGlobalListener: <TEventType extends import("ag-grid-community").AgPublicEventType>(listener: import("ag-grid-community").AgGlobalEventListener<ProjectionRow<any>, any, TEventType>) => void;
|
|
81
|
+
expireValueCache: () => void;
|
|
82
|
+
getCellValue: {
|
|
83
|
+
<TValue = any>(params: {
|
|
84
|
+
rowNode: import("ag-grid-community").IRowNode<ProjectionRow<any>>;
|
|
85
|
+
colKey: string | import("ag-grid-community").Column<TValue>;
|
|
86
|
+
useFormatter: true;
|
|
87
|
+
}): string | null | undefined;
|
|
88
|
+
<TValue = any>(params: import("ag-grid-community").GetCellValueParams<TValue>): TValue | null | undefined;
|
|
89
|
+
<TValue = any>(params: import("ag-grid-community").GetCellValueParams<TValue>): string | TValue | null | undefined;
|
|
90
|
+
<TValue = any>(params: import("ag-grid-community").GetCellValueParams<TValue>): string | TValue | null | undefined;
|
|
91
|
+
};
|
|
92
|
+
showColumnMenu: (colKey: string | import("ag-grid-community").Column) => void;
|
|
93
|
+
hidePopupMenu: () => void;
|
|
94
|
+
onSortChanged: () => void;
|
|
95
|
+
showLoadingOverlay: () => void;
|
|
96
|
+
showNoRowsOverlay: () => void;
|
|
97
|
+
hideOverlay: () => void;
|
|
98
|
+
getPinnedTopRowCount: () => number;
|
|
99
|
+
getPinnedBottomRowCount: () => number;
|
|
100
|
+
getPinnedTopRow: <TPinnedData = any>(index: number) => import("ag-grid-community").IRowNode<TPinnedData> | undefined;
|
|
101
|
+
getPinnedBottomRow: <TPinnedData = any>(index: number) => import("ag-grid-community").IRowNode<TPinnedData> | undefined;
|
|
102
|
+
forEachPinnedRow: <TPinnedData = any>(floating: NonNullable<import("ag-grid-community").RowPinnedType>, callback: (rowNode: import("ag-grid-community").IRowNode<TPinnedData>) => void) => void;
|
|
103
|
+
setGridAriaProperty: (property: string, value: string | null) => void;
|
|
104
|
+
refreshCells: (params?: import("ag-grid-community").RefreshCellsParams<ProjectionRow<any>> | undefined) => void;
|
|
105
|
+
refreshHeader: () => void;
|
|
106
|
+
isAnimationFrameQueueEmpty: () => boolean;
|
|
107
|
+
flushAllAnimationFrames: () => void;
|
|
108
|
+
getSizesForCurrentTheme: () => {
|
|
109
|
+
rowHeight: number;
|
|
110
|
+
headerHeight: number;
|
|
111
|
+
};
|
|
112
|
+
getCellRendererInstances: (params?: import("ag-grid-community").GetCellRendererInstancesParams<ProjectionRow<any>> | undefined) => import("ag-grid-community").ICellRenderer<ProjectionRow<any>>[];
|
|
113
|
+
flashCells: (params?: import("ag-grid-community").FlashCellsParams<ProjectionRow<any>> | undefined) => void;
|
|
114
|
+
addRowDropZone: (params: import("ag-grid-community").RowDropZoneParams) => void;
|
|
115
|
+
removeRowDropZone: (params: import("ag-grid-community").RowDropZoneParams) => void;
|
|
116
|
+
getRowDropZoneParams: (events?: import("ag-grid-community").RowDropZoneEvents) => import("ag-grid-community").RowDropZoneParams | undefined;
|
|
117
|
+
getRowDropPositionIndicator: () => import("ag-grid-community").RowDropPositionIndicator<ProjectionRow<any>>;
|
|
118
|
+
setRowDropPositionIndicator: (highlight: import("ag-grid-community").SetRowDropPositionIndicatorParams<ProjectionRow<any>> | null | undefined) => void;
|
|
119
|
+
sizeColumnsToFit: (paramsOrGridWidth?: import("ag-grid-community").ISizeColumnsToFitParams | number) => void;
|
|
120
|
+
autoSizeColumns: {
|
|
121
|
+
(keys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[], skipHeader?: boolean): void;
|
|
122
|
+
(params: import("ag-grid-community").ISizeColumnsToContentParams): void;
|
|
123
|
+
};
|
|
124
|
+
autoSizeAllColumns: {
|
|
125
|
+
(skipHeader?: boolean): void;
|
|
126
|
+
(params: import("ag-grid-community").ISizeAllColumnsToContentParams): void;
|
|
127
|
+
};
|
|
128
|
+
setColumnWidths: (columnWidths: {
|
|
129
|
+
key: string | import("ag-grid-community").ColDef | import("ag-grid-community").Column;
|
|
130
|
+
newWidth: number;
|
|
131
|
+
}[], finished?: boolean, source?: import("ag-grid-community").ColumnEventType) => void;
|
|
132
|
+
moveColumnByIndex: (fromIndex: number, toIndex: number) => void;
|
|
133
|
+
moveColumns: (columnsToMoveKeys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[], toIndex: number) => void;
|
|
134
|
+
isColumnHovered: (column: import("ag-grid-community").Column) => boolean;
|
|
135
|
+
getColumnDefs: () => (import("ag-grid-community").ColDef<ProjectionRow<any>, any> | import("ag-grid-community").ColGroupDef<ProjectionRow<any>>)[] | undefined;
|
|
136
|
+
getColumnDef: <TValue = any>(key: string | import("ag-grid-community").Column<TValue>) => import("ag-grid-community").ColDef<ProjectionRow<any>, TValue> | null;
|
|
137
|
+
getDisplayNameForColumn: (column: import("ag-grid-community").Column, location: import("ag-grid-community").HeaderLocation) => string;
|
|
138
|
+
getColumn: <TValue = any>(key: string | import("ag-grid-community").ColDef<ProjectionRow<any>, TValue> | import("ag-grid-community").Column<TValue>) => import("ag-grid-community").Column<TValue> | null;
|
|
139
|
+
getColumns: () => import("ag-grid-community").Column[] | null;
|
|
140
|
+
applyColumnState: (params: import("ag-grid-community").ApplyColumnStateParams) => boolean;
|
|
141
|
+
getColumnState: () => import("ag-grid-community").ColumnState[];
|
|
142
|
+
resetColumnState: () => void;
|
|
143
|
+
isPinning: () => boolean;
|
|
144
|
+
isPinningLeft: () => boolean;
|
|
145
|
+
isPinningRight: () => boolean;
|
|
146
|
+
getDisplayedColAfter: <TValue = any>(col: import("ag-grid-community").Column) => import("ag-grid-community").Column<TValue> | null;
|
|
147
|
+
getDisplayedColBefore: <TValue = any>(col: import("ag-grid-community").Column) => import("ag-grid-community").Column<TValue> | null;
|
|
148
|
+
setColumnsVisible: (keys: (string | import("ag-grid-community").Column)[], visible: boolean) => void;
|
|
149
|
+
setColumnsPinned: (keys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[], pinned: import("ag-grid-community").ColumnPinnedType) => void;
|
|
150
|
+
getAllGridColumns: () => import("ag-grid-community").Column[];
|
|
151
|
+
getDisplayedLeftColumns: () => import("ag-grid-community").Column[];
|
|
152
|
+
getDisplayedCenterColumns: () => import("ag-grid-community").Column[];
|
|
153
|
+
getDisplayedRightColumns: () => import("ag-grid-community").Column[];
|
|
154
|
+
getAllDisplayedColumns: () => import("ag-grid-community").Column[];
|
|
155
|
+
getAllDisplayedVirtualColumns: () => import("ag-grid-community").Column[];
|
|
156
|
+
setColumnGroupOpened: (group: import("ag-grid-community").ProvidedColumnGroup | string, newValue: boolean) => void;
|
|
157
|
+
getColumnGroup: (name: string, instanceId?: number) => import("ag-grid-community").ColumnGroup | null;
|
|
158
|
+
getProvidedColumnGroup: (name: string) => import("ag-grid-community").ProvidedColumnGroup | null;
|
|
159
|
+
getDisplayNameForColumnGroup: (columnGroup: import("ag-grid-community").ColumnGroup, location: import("ag-grid-community").HeaderLocation) => string;
|
|
160
|
+
getColumnGroupState: () => {
|
|
161
|
+
groupId: string;
|
|
162
|
+
open: boolean;
|
|
163
|
+
}[];
|
|
164
|
+
setColumnGroupState: (stateItems: {
|
|
165
|
+
groupId: string;
|
|
166
|
+
open: boolean;
|
|
167
|
+
}[]) => void;
|
|
168
|
+
resetColumnGroupState: () => void;
|
|
169
|
+
getLeftDisplayedColumnGroups: () => (import("ag-grid-community").Column | import("ag-grid-community").ColumnGroup)[];
|
|
170
|
+
getCenterDisplayedColumnGroups: () => (import("ag-grid-community").Column | import("ag-grid-community").ColumnGroup)[];
|
|
171
|
+
getRightDisplayedColumnGroups: () => (import("ag-grid-community").Column | import("ag-grid-community").ColumnGroup)[];
|
|
172
|
+
getAllDisplayedColumnGroups: () => (import("ag-grid-community").Column | import("ag-grid-community").ColumnGroup)[] | null;
|
|
173
|
+
getCellEditorInstances: (params?: import("ag-grid-community").GetCellEditorInstancesParams<ProjectionRow<any>> | undefined) => import("ag-grid-community").ICellEditor[];
|
|
174
|
+
getEditingCells: () => import("ag-grid-community").EditingCellPosition[];
|
|
175
|
+
stopEditing: (cancel?: boolean) => void;
|
|
176
|
+
startEditingCell: (params: import("ag-grid-community").StartEditingCellParams) => void;
|
|
177
|
+
isEditing: (cellPosition: import("ag-grid-community").CellPosition) => boolean;
|
|
178
|
+
validateEdit: () => import("ag-grid-community/dist/types/src/interfaces/iCellEditor").ICellEditorValidationError[] | null;
|
|
179
|
+
undoCellEditing: () => void;
|
|
180
|
+
redoCellEditing: () => void;
|
|
181
|
+
getCurrentUndoSize: () => number;
|
|
182
|
+
getCurrentRedoSize: () => number;
|
|
183
|
+
isAnyFilterPresent: () => boolean;
|
|
184
|
+
onFilterChanged: (source?: import("ag-grid-community").FilterChangedEventSourceType) => void;
|
|
185
|
+
isColumnFilterPresent: () => boolean;
|
|
186
|
+
getColumnFilterInstance: <TFilter = import("ag-grid-community").IFilter>(key: string | import("ag-grid-community").Column) => Promise<TFilter | null | undefined>;
|
|
187
|
+
getColumnFilterHandler: <TFilterHandler>(key: string | import("ag-grid-community").Column) => TFilterHandler | undefined;
|
|
188
|
+
destroyFilter: (key: string | import("ag-grid-community").Column) => void;
|
|
189
|
+
setFilterModel: (model: import("ag-grid-community").FilterModel | null) => void;
|
|
190
|
+
getFilterModel: () => import("ag-grid-community").FilterModel;
|
|
191
|
+
getColumnFilterModel: <TModel>(column: string | import("ag-grid-community").Column, useUnapplied?: boolean) => TModel | null;
|
|
192
|
+
setColumnFilterModel: <TModel>(column: string | import("ag-grid-community").Column, model: TModel | null) => Promise<void>;
|
|
193
|
+
showColumnFilter: (colKey: string | import("ag-grid-community").Column) => void;
|
|
194
|
+
hideColumnFilter: () => void;
|
|
195
|
+
doFilterAction: (params: import("ag-grid-community").FilterActionParams) => void;
|
|
196
|
+
isQuickFilterPresent: () => boolean;
|
|
197
|
+
getQuickFilter: () => string | undefined;
|
|
198
|
+
resetQuickFilter: () => void;
|
|
199
|
+
findNext: () => void;
|
|
200
|
+
findPrevious: () => void;
|
|
201
|
+
findGetTotalMatches: () => number;
|
|
202
|
+
findGoTo: (match: number, force?: boolean) => void;
|
|
203
|
+
findClearActive: () => void;
|
|
204
|
+
findGetActiveMatch: () => import("ag-grid-community").FindMatch<ProjectionRow<any>, any> | undefined;
|
|
205
|
+
findGetNumMatches: (params: import("ag-grid-community").FindCellParams<ProjectionRow<any>, any>) => number;
|
|
206
|
+
findGetParts: (params: import("ag-grid-community").FindCellValueParams<ProjectionRow<any>, any>) => import("ag-grid-community").FindPart[];
|
|
207
|
+
findRefresh: () => void;
|
|
208
|
+
paginationIsLastPageFound: () => boolean;
|
|
209
|
+
paginationGetPageSize: () => number;
|
|
210
|
+
paginationGetCurrentPage: () => number;
|
|
211
|
+
paginationGetTotalPages: () => number;
|
|
212
|
+
paginationGetRowCount: () => number;
|
|
213
|
+
paginationGoToNextPage: () => void;
|
|
214
|
+
paginationGoToPreviousPage: () => void;
|
|
215
|
+
paginationGoToFirstPage: () => void;
|
|
216
|
+
paginationGoToLastPage: () => void;
|
|
217
|
+
paginationGoToPage: (page: number) => void;
|
|
218
|
+
expandAll: () => void;
|
|
219
|
+
collapseAll: () => void;
|
|
220
|
+
onRowHeightChanged: () => void;
|
|
221
|
+
setRowCount: (rowCount: number, maxRowFound?: boolean) => void;
|
|
222
|
+
getCacheBlockState: () => any;
|
|
223
|
+
isLastRowIndexKnown: () => boolean | undefined;
|
|
224
|
+
onGroupExpandedOrCollapsed: () => void;
|
|
225
|
+
refreshClientSideRowModel: (step?: import("ag-grid-community").ClientSideRowModelStep) => void;
|
|
226
|
+
forEachLeafNode: (callback: (rowNode: import("ag-grid-community").IRowNode<ProjectionRow<any>>) => void) => void;
|
|
227
|
+
forEachNodeAfterFilter: (callback: (rowNode: import("ag-grid-community").IRowNode<ProjectionRow<any>>, index: number) => void) => void;
|
|
228
|
+
forEachNodeAfterFilterAndSort: (callback: (rowNode: import("ag-grid-community").IRowNode<ProjectionRow<any>>, index: number) => void) => void;
|
|
229
|
+
resetRowHeights: () => void;
|
|
230
|
+
applyTransaction: (rowDataTransaction: import("ag-grid-community").RowDataTransaction<ProjectionRow<any>>) => import("ag-grid-community").RowNodeTransaction<ProjectionRow<any>> | null | undefined;
|
|
231
|
+
applyTransactionAsync: (rowDataTransaction: import("ag-grid-community").RowDataTransaction<ProjectionRow<any>>, callback?: ((res: import("ag-grid-community").RowNodeTransaction<ProjectionRow<any>>) => void) | undefined) => void;
|
|
232
|
+
flushAsyncTransactions: () => void;
|
|
233
|
+
getBestCostNodeSelection: () => import("ag-grid-community").IRowNode<ProjectionRow<any>>[] | undefined;
|
|
234
|
+
isRowDataEmpty: () => boolean;
|
|
235
|
+
isSideBarVisible: () => boolean;
|
|
236
|
+
setSideBarVisible: (show: boolean) => void;
|
|
237
|
+
setSideBarPosition: (position: "left" | "right") => void;
|
|
238
|
+
openToolPanel: (key: string) => void;
|
|
239
|
+
closeToolPanel: () => void;
|
|
240
|
+
getOpenedToolPanel: () => string | null;
|
|
241
|
+
refreshToolPanel: () => void;
|
|
242
|
+
isToolPanelShowing: () => boolean;
|
|
243
|
+
getToolPanelInstance: {
|
|
244
|
+
(id: "columns"): import("ag-grid-community").IColumnToolPanel | undefined;
|
|
245
|
+
(id: "filters"): import("ag-grid-community").IFiltersToolPanel | undefined;
|
|
246
|
+
<TToolPanel = import("ag-grid-community").IToolPanel<ProjectionRow<any>, any, any>>(id: string): TToolPanel | undefined;
|
|
247
|
+
<TToolPanel = import("ag-grid-community").IToolPanel<ProjectionRow<any>, any, any>>(id: string): TToolPanel | undefined;
|
|
248
|
+
};
|
|
249
|
+
getSideBar: () => import("ag-grid-community").SideBarDef | undefined;
|
|
250
|
+
getStatusPanel: <TStatusPanel = import("ag-grid-community").IStatusPanel<ProjectionRow<any>, any>>(key: string) => TStatusPanel | undefined;
|
|
251
|
+
refreshInfiniteCache: () => void;
|
|
252
|
+
purgeInfiniteCache: () => void;
|
|
253
|
+
getInfiniteRowCount: () => number | undefined;
|
|
254
|
+
getDataAsCsv: (params?: import("ag-grid-community").CsvExportParams) => string | undefined;
|
|
255
|
+
exportDataAsCsv: (params?: import("ag-grid-community").CsvExportParams) => void;
|
|
256
|
+
setRowGroupColumns: (colKeys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[]) => void;
|
|
257
|
+
moveRowGroupColumn: (fromIndex: number, toIndex: number) => void;
|
|
258
|
+
removeRowGroupColumns: (colKeys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[]) => void;
|
|
259
|
+
addRowGroupColumns: (colKeys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[]) => void;
|
|
260
|
+
getRowGroupColumns: () => import("ag-grid-community").Column[];
|
|
261
|
+
addAggFuncs: (aggFuncs: {
|
|
262
|
+
[key: string]: import("ag-grid-community").IAggFunc<ProjectionRow<any>, any, any>;
|
|
263
|
+
}) => void;
|
|
264
|
+
clearAggFuncs: () => void;
|
|
265
|
+
setColumnAggFunc: <TValue = any>(key: string | import("ag-grid-community").ColDef<ProjectionRow<any>, TValue> | import("ag-grid-community").Column<TValue>, aggFunc: string | import("ag-grid-community").IAggFunc<ProjectionRow<any>, TValue, any> | null | undefined) => void;
|
|
266
|
+
isPivotMode: () => boolean;
|
|
267
|
+
getPivotResultColumn: <TValue = any>(pivotKeys: string[], valueColKey: string | import("ag-grid-community").ColDef<ProjectionRow<any>, TValue> | import("ag-grid-community").Column<TValue>) => import("ag-grid-community").Column<TValue> | null;
|
|
268
|
+
setValueColumns: (colKeys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[]) => void;
|
|
269
|
+
getValueColumns: () => import("ag-grid-community").Column[];
|
|
270
|
+
removeValueColumns: (colKeys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[]) => void;
|
|
271
|
+
addValueColumns: (colKeys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[]) => void;
|
|
272
|
+
setPivotColumns: (colKeys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[]) => void;
|
|
273
|
+
removePivotColumns: (colKeys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[]) => void;
|
|
274
|
+
addPivotColumns: (colKeys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[]) => void;
|
|
275
|
+
getPivotColumns: () => import("ag-grid-community").Column[];
|
|
276
|
+
setPivotResultColumns: (colDefs: (import("ag-grid-community").ColDef | import("ag-grid-community").ColGroupDef)[] | null) => void;
|
|
277
|
+
getPivotResultColumns: () => import("ag-grid-community").Column[] | null;
|
|
278
|
+
getCellRanges: () => import("ag-grid-community").CellRange[] | null;
|
|
279
|
+
addCellRange: (params: import("ag-grid-community").CellRangeParams) => void;
|
|
280
|
+
clearRangeSelection: () => void;
|
|
281
|
+
clearCellSelection: () => void;
|
|
282
|
+
getServerSideSelectionState: () => import("ag-grid-community").IServerSideSelectionState | import("ag-grid-community").IServerSideGroupSelectionState | null;
|
|
283
|
+
setServerSideSelectionState: (state: import("ag-grid-community").IServerSideSelectionState | import("ag-grid-community").IServerSideGroupSelectionState) => void;
|
|
284
|
+
applyServerSideTransaction: (transaction: import("ag-grid-community").ServerSideTransaction) => import("ag-grid-community").ServerSideTransactionResult<ProjectionRow<any>> | undefined;
|
|
285
|
+
applyServerSideTransactionAsync: (transaction: import("ag-grid-community").ServerSideTransaction, callback?: ((res: import("ag-grid-community").ServerSideTransactionResult<ProjectionRow<any>>) => void) | undefined) => void;
|
|
286
|
+
applyServerSideRowData: (params: {
|
|
287
|
+
successParams: import("ag-grid-community").LoadSuccessParams<ProjectionRow<any>>;
|
|
288
|
+
route?: string[];
|
|
289
|
+
startRow?: number;
|
|
290
|
+
}) => void;
|
|
291
|
+
retryServerSideLoads: () => void;
|
|
292
|
+
flushServerSideAsyncTransactions: () => void;
|
|
293
|
+
refreshServerSide: (params?: import("ag-grid-community").RefreshServerSideParams) => void;
|
|
294
|
+
getServerSideGroupLevelState: () => import("ag-grid-community").ServerSideGroupLevelState[];
|
|
295
|
+
showContextMenu: (params?: import("ag-grid-community").IContextMenuParams) => void;
|
|
296
|
+
showColumnChooser: (params?: import("ag-grid-community").ColumnChooserParams) => void;
|
|
297
|
+
hideColumnChooser: () => void;
|
|
298
|
+
addDetailGridInfo: (id: string, gridInfo: import("ag-grid-community").DetailGridInfo) => void;
|
|
299
|
+
removeDetailGridInfo: (id: string) => void;
|
|
300
|
+
getDetailGridInfo: (id: string) => import("ag-grid-community").DetailGridInfo | undefined;
|
|
301
|
+
forEachDetailGridInfo: (callback: (gridInfo: import("ag-grid-community").DetailGridInfo, index: number) => void) => void;
|
|
302
|
+
getDataAsExcel: (params?: import("ag-grid-community").ExcelExportParams) => string | Blob | undefined;
|
|
303
|
+
exportDataAsExcel: (params?: import("ag-grid-community").ExcelExportParams) => void;
|
|
304
|
+
getSheetDataForExcel: (params?: import("ag-grid-community").ExcelExportParams) => string | undefined;
|
|
305
|
+
getMultipleSheetsAsExcel: (params: import("ag-grid-community").ExcelExportMultipleSheetParams) => Blob | undefined;
|
|
306
|
+
exportMultipleSheetsAsExcel: (params: import("ag-grid-community").ExcelExportMultipleSheetParams) => void;
|
|
307
|
+
copyToClipboard: (params?: import("ag-grid-community").IClipboardCopyParams) => void;
|
|
308
|
+
cutToClipboard: (params?: import("ag-grid-community").IClipboardCopyParams) => void;
|
|
309
|
+
copySelectedRowsToClipboard: (params?: import("ag-grid-community").IClipboardCopyRowsParams) => void;
|
|
310
|
+
copySelectedRangeToClipboard: (params?: import("ag-grid-community").IClipboardCopyParams) => void;
|
|
311
|
+
copySelectedRangeDown: () => void;
|
|
312
|
+
pasteFromClipboard: () => void;
|
|
313
|
+
getChartModels: () => import("ag-grid-community").ChartModel[] | undefined;
|
|
314
|
+
getChartRef: (chartId: string) => import("ag-grid-community").ChartRef | undefined;
|
|
315
|
+
getChartImageDataURL: (params: import("ag-grid-community").GetChartImageDataUrlParams) => string | undefined;
|
|
316
|
+
downloadChart: (params: import("ag-grid-community").ChartDownloadParams) => void;
|
|
317
|
+
openChartToolPanel: (params: import("ag-grid-community").OpenChartToolPanelParams) => void;
|
|
318
|
+
closeChartToolPanel: (params: import("ag-grid-community").CloseChartToolPanelParams) => void;
|
|
319
|
+
createRangeChart: (params: import("ag-grid-community").CreateRangeChartParams) => import("ag-grid-community").ChartRef | undefined;
|
|
320
|
+
createPivotChart: (params: import("ag-grid-community").CreatePivotChartParams) => import("ag-grid-community").ChartRef | undefined;
|
|
321
|
+
createCrossFilterChart: (params: import("ag-grid-community").CreateCrossFilterChartParams) => import("ag-grid-community").ChartRef | undefined;
|
|
322
|
+
updateChart: (params: import("ag-grid-community").UpdateChartParams) => void;
|
|
323
|
+
restoreChart: (chartModel: import("ag-grid-community").ChartModel, chartContainer?: HTMLElement) => import("ag-grid-community").ChartRef | undefined;
|
|
324
|
+
getAdvancedFilterModel: () => import("ag-grid-community").AdvancedFilterModel | null;
|
|
325
|
+
setAdvancedFilterModel: (advancedFilterModel: import("ag-grid-community").AdvancedFilterModel | null) => void;
|
|
326
|
+
showAdvancedFilterBuilder: () => void;
|
|
327
|
+
hideAdvancedFilterBuilder: () => void;
|
|
328
|
+
startBatchEdit: () => void;
|
|
329
|
+
commitBatchEdit: () => void;
|
|
330
|
+
cancelBatchEdit: () => void;
|
|
331
|
+
isBatchEditing: () => boolean;
|
|
332
|
+
};
|
|
333
|
+
destroy: () => void;
|
|
334
|
+
loadData: () => void;
|
|
335
|
+
getRows: (params: import("ag-grid-community").IGetRowsParams & {
|
|
336
|
+
pageNum: number;
|
|
337
|
+
pageSize: number;
|
|
338
|
+
}) => void;
|
|
339
|
+
}>;
|
|
340
|
+
gridStyles: import("vue").Ref<{
|
|
341
|
+
height: string;
|
|
342
|
+
width: string;
|
|
343
|
+
}>;
|
|
344
|
+
dataCache: import("vue").Ref<{
|
|
345
|
+
pageNum: number;
|
|
346
|
+
pageSize: number;
|
|
347
|
+
isFinished: boolean;
|
|
348
|
+
gridApi: {
|
|
349
|
+
dispatchEvent: (event: import("ag-grid-community").AgEvent) => void;
|
|
350
|
+
getGridId: () => string;
|
|
351
|
+
destroy: () => void;
|
|
352
|
+
isDestroyed: () => boolean;
|
|
353
|
+
getGridOption: <Key extends keyof GridOptions<TData>>(key: Key) => GridOptions<GridRow<T>>[Key];
|
|
354
|
+
setGridOption: <Key extends import("ag-grid-community").ManagedGridOptionKey>(key: Key, value: GridOptions<GridRow<T>>[Key]) => void;
|
|
355
|
+
updateGridOptions: <TDataUpdate extends GridRow<T>>(options: import("ag-grid-community").ManagedGridOptions<TDataUpdate>) => void;
|
|
356
|
+
isModuleRegistered: (moduleName: import("ag-grid-community").AgModuleName) => boolean;
|
|
357
|
+
getState: () => import("ag-grid-community").GridState;
|
|
358
|
+
setState: (state: import("ag-grid-community").GridState, propertiesToIgnore?: import("ag-grid-community").GridStateKey[]) => void;
|
|
359
|
+
setNodesSelected: (params: {
|
|
360
|
+
nodes: import("ag-grid-community").IRowNode<GridRow<T>>[];
|
|
361
|
+
newValue: boolean;
|
|
362
|
+
source?: import("ag-grid-community").SelectionEventSourceType;
|
|
363
|
+
}) => void;
|
|
364
|
+
selectAll: (mode?: import("ag-grid-community").SelectAllMode, source?: import("ag-grid-community").SelectionEventSourceType) => void;
|
|
365
|
+
deselectAll: (mode?: import("ag-grid-community").SelectAllMode, source?: import("ag-grid-community").SelectionEventSourceType) => void;
|
|
366
|
+
selectAllFiltered: (source?: import("ag-grid-community").SelectionEventSourceType) => void;
|
|
367
|
+
deselectAllFiltered: (source?: import("ag-grid-community").SelectionEventSourceType) => void;
|
|
368
|
+
selectAllOnCurrentPage: (source?: import("ag-grid-community").SelectionEventSourceType) => void;
|
|
369
|
+
deselectAllOnCurrentPage: (source?: import("ag-grid-community").SelectionEventSourceType) => void;
|
|
370
|
+
getSelectedNodes: () => import("ag-grid-community").IRowNode<GridRow<T>>[];
|
|
371
|
+
getSelectedRows: () => GridRow<T>[];
|
|
372
|
+
redrawRows: (params?: import("ag-grid-community").RedrawRowsParams<GridRow<T>> | undefined) => void;
|
|
373
|
+
setRowNodeExpanded: (rowNode: import("ag-grid-community").IRowNode<GridRow<T>>, expanded: boolean, expandParents?: boolean, forceSync?: boolean) => void;
|
|
374
|
+
getRowNode: (id: string) => import("ag-grid-community").IRowNode<GridRow<T>> | undefined;
|
|
375
|
+
addRenderedRowListener: (eventName: import("ag-grid-community/dist/types/src/interfaces/iCallbackParams").RenderedRowEvent, rowIndex: number, callback: (...args: any[]) => any) => void;
|
|
376
|
+
getRenderedNodes: () => import("ag-grid-community").IRowNode<GridRow<T>>[];
|
|
377
|
+
forEachNode: (callback: (rowNode: import("ag-grid-community").IRowNode<GridRow<T>>, index: number) => void, includeFooterNodes?: boolean) => void;
|
|
378
|
+
getFirstDisplayedRowIndex: () => number;
|
|
379
|
+
getLastDisplayedRowIndex: () => number;
|
|
380
|
+
getDisplayedRowAtIndex: (index: number) => import("ag-grid-community").IRowNode<GridRow<T>> | undefined;
|
|
381
|
+
getDisplayedRowCount: () => number;
|
|
382
|
+
getVerticalPixelRange: () => {
|
|
383
|
+
top: number;
|
|
384
|
+
bottom: number;
|
|
385
|
+
};
|
|
386
|
+
getHorizontalPixelRange: () => {
|
|
387
|
+
left: number;
|
|
388
|
+
right: number;
|
|
389
|
+
};
|
|
390
|
+
ensureColumnVisible: (key: string | import("ag-grid-community").Column, position?: "auto" | "start" | "middle" | "end") => void;
|
|
391
|
+
ensureIndexVisible: (index: number, position?: "top" | "bottom" | "middle" | null) => void;
|
|
392
|
+
ensureNodeVisible: (nodeSelector: GridRow<T> | import("ag-grid-community").IRowNode<GridRow<T>> | ((row: import("ag-grid-community").IRowNode<GridRow<T>>) => boolean), position?: "top" | "bottom" | "middle" | null) => void;
|
|
393
|
+
getFocusedCell: () => import("ag-grid-community").CellPosition | null;
|
|
394
|
+
clearFocusedCell: () => void;
|
|
395
|
+
setFocusedCell: (rowIndex: number, colKey: string | import("ag-grid-community").Column, rowPinned?: import("ag-grid-community").RowPinnedType) => void;
|
|
396
|
+
setFocusedHeader: (colKey: string | import("ag-grid-community").Column | import("ag-grid-community").ColumnGroup, floatingFilter?: boolean) => void;
|
|
397
|
+
tabToNextCell: (event?: KeyboardEvent) => boolean;
|
|
398
|
+
tabToPreviousCell: (event?: KeyboardEvent) => boolean;
|
|
399
|
+
addEventListener: <TEventType extends import("ag-grid-community").AgPublicEventType>(eventType: TEventType, listener: import("ag-grid-community").AgEventListener<GridRow<T>, any, TEventType>) => void;
|
|
400
|
+
removeEventListener: <TEventType extends import("ag-grid-community").AgPublicEventType>(eventType: TEventType, listener: import("ag-grid-community").AgEventListener<GridRow<T>, any, TEventType>) => void;
|
|
401
|
+
addGlobalListener: <TEventType extends import("ag-grid-community").AgPublicEventType>(listener: import("ag-grid-community").AgGlobalEventListener<GridRow<T>, any, TEventType>) => void;
|
|
402
|
+
removeGlobalListener: <TEventType extends import("ag-grid-community").AgPublicEventType>(listener: import("ag-grid-community").AgGlobalEventListener<GridRow<T>, any, TEventType>) => void;
|
|
403
|
+
expireValueCache: () => void;
|
|
404
|
+
getCellValue: {
|
|
405
|
+
<TValue = any>(params: {
|
|
406
|
+
rowNode: import("ag-grid-community").IRowNode<GridRow<T>>;
|
|
407
|
+
colKey: string | import("ag-grid-community").Column<TValue>;
|
|
408
|
+
useFormatter: true;
|
|
409
|
+
}): string | null | undefined;
|
|
410
|
+
<TValue = any>(params: import("ag-grid-community").GetCellValueParams<TValue>): TValue | null | undefined;
|
|
411
|
+
<TValue = any>(params: import("ag-grid-community").GetCellValueParams<TValue>): string | TValue | null | undefined;
|
|
412
|
+
<TValue = any>(params: import("ag-grid-community").GetCellValueParams<TValue>): string | TValue | null | undefined;
|
|
413
|
+
};
|
|
414
|
+
showColumnMenu: (colKey: string | import("ag-grid-community").Column) => void;
|
|
415
|
+
hidePopupMenu: () => void;
|
|
416
|
+
onSortChanged: () => void;
|
|
417
|
+
showLoadingOverlay: () => void;
|
|
418
|
+
showNoRowsOverlay: () => void;
|
|
419
|
+
hideOverlay: () => void;
|
|
420
|
+
getPinnedTopRowCount: () => number;
|
|
421
|
+
getPinnedBottomRowCount: () => number;
|
|
422
|
+
getPinnedTopRow: <TPinnedData = any>(index: number) => import("ag-grid-community").IRowNode<TPinnedData> | undefined;
|
|
423
|
+
getPinnedBottomRow: <TPinnedData = any>(index: number) => import("ag-grid-community").IRowNode<TPinnedData> | undefined;
|
|
424
|
+
forEachPinnedRow: <TPinnedData = any>(floating: NonNullable<import("ag-grid-community").RowPinnedType>, callback: (rowNode: import("ag-grid-community").IRowNode<TPinnedData>) => void) => void;
|
|
425
|
+
setGridAriaProperty: (property: string, value: string | null) => void;
|
|
426
|
+
refreshCells: (params?: import("ag-grid-community").RefreshCellsParams<GridRow<T>> | undefined) => void;
|
|
427
|
+
refreshHeader: () => void;
|
|
428
|
+
isAnimationFrameQueueEmpty: () => boolean;
|
|
429
|
+
flushAllAnimationFrames: () => void;
|
|
430
|
+
getSizesForCurrentTheme: () => {
|
|
431
|
+
rowHeight: number;
|
|
432
|
+
headerHeight: number;
|
|
433
|
+
};
|
|
434
|
+
getCellRendererInstances: (params?: import("ag-grid-community").GetCellRendererInstancesParams<GridRow<T>> | undefined) => import("ag-grid-community").ICellRenderer<GridRow<T>>[];
|
|
435
|
+
flashCells: (params?: import("ag-grid-community").FlashCellsParams<GridRow<T>> | undefined) => void;
|
|
436
|
+
addRowDropZone: (params: import("ag-grid-community").RowDropZoneParams) => void;
|
|
437
|
+
removeRowDropZone: (params: import("ag-grid-community").RowDropZoneParams) => void;
|
|
438
|
+
getRowDropZoneParams: (events?: import("ag-grid-community").RowDropZoneEvents) => import("ag-grid-community").RowDropZoneParams | undefined;
|
|
439
|
+
getRowDropPositionIndicator: () => import("ag-grid-community").RowDropPositionIndicator<GridRow<T>>;
|
|
440
|
+
setRowDropPositionIndicator: (highlight: import("ag-grid-community").SetRowDropPositionIndicatorParams<GridRow<T>> | null | undefined) => void;
|
|
441
|
+
sizeColumnsToFit: (paramsOrGridWidth?: import("ag-grid-community").ISizeColumnsToFitParams | number) => void;
|
|
442
|
+
autoSizeColumns: {
|
|
443
|
+
(keys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[], skipHeader?: boolean): void;
|
|
444
|
+
(params: import("ag-grid-community").ISizeColumnsToContentParams): void;
|
|
445
|
+
};
|
|
446
|
+
autoSizeAllColumns: {
|
|
447
|
+
(skipHeader?: boolean): void;
|
|
448
|
+
(params: import("ag-grid-community").ISizeAllColumnsToContentParams): void;
|
|
449
|
+
};
|
|
450
|
+
setColumnWidths: (columnWidths: {
|
|
451
|
+
key: string | import("ag-grid-community").ColDef | import("ag-grid-community").Column;
|
|
452
|
+
newWidth: number;
|
|
453
|
+
}[], finished?: boolean, source?: import("ag-grid-community").ColumnEventType) => void;
|
|
454
|
+
moveColumnByIndex: (fromIndex: number, toIndex: number) => void;
|
|
455
|
+
moveColumns: (columnsToMoveKeys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[], toIndex: number) => void;
|
|
456
|
+
isColumnHovered: (column: import("ag-grid-community").Column) => boolean;
|
|
457
|
+
getColumnDefs: () => (import("ag-grid-community").ColDef<GridRow<T>, any> | import("ag-grid-community").ColGroupDef<GridRow<T>>)[] | undefined;
|
|
458
|
+
getColumnDef: <TValue = any>(key: string | import("ag-grid-community").Column<TValue>) => import("ag-grid-community").ColDef<GridRow<T>, TValue> | null;
|
|
459
|
+
getDisplayNameForColumn: (column: import("ag-grid-community").Column, location: import("ag-grid-community").HeaderLocation) => string;
|
|
460
|
+
getColumn: <TValue = any>(key: string | import("ag-grid-community").ColDef<GridRow<T>, TValue> | import("ag-grid-community").Column<TValue>) => import("ag-grid-community").Column<TValue> | null;
|
|
461
|
+
getColumns: () => import("ag-grid-community").Column[] | null;
|
|
462
|
+
applyColumnState: (params: import("ag-grid-community").ApplyColumnStateParams) => boolean;
|
|
463
|
+
getColumnState: () => import("ag-grid-community").ColumnState[];
|
|
464
|
+
resetColumnState: () => void;
|
|
465
|
+
isPinning: () => boolean;
|
|
466
|
+
isPinningLeft: () => boolean;
|
|
467
|
+
isPinningRight: () => boolean;
|
|
468
|
+
getDisplayedColAfter: <TValue = any>(col: import("ag-grid-community").Column) => import("ag-grid-community").Column<TValue> | null;
|
|
469
|
+
getDisplayedColBefore: <TValue = any>(col: import("ag-grid-community").Column) => import("ag-grid-community").Column<TValue> | null;
|
|
470
|
+
setColumnsVisible: (keys: (string | import("ag-grid-community").Column)[], visible: boolean) => void;
|
|
471
|
+
setColumnsPinned: (keys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[], pinned: import("ag-grid-community").ColumnPinnedType) => void;
|
|
472
|
+
getAllGridColumns: () => import("ag-grid-community").Column[];
|
|
473
|
+
getDisplayedLeftColumns: () => import("ag-grid-community").Column[];
|
|
474
|
+
getDisplayedCenterColumns: () => import("ag-grid-community").Column[];
|
|
475
|
+
getDisplayedRightColumns: () => import("ag-grid-community").Column[];
|
|
476
|
+
getAllDisplayedColumns: () => import("ag-grid-community").Column[];
|
|
477
|
+
getAllDisplayedVirtualColumns: () => import("ag-grid-community").Column[];
|
|
478
|
+
setColumnGroupOpened: (group: import("ag-grid-community").ProvidedColumnGroup | string, newValue: boolean) => void;
|
|
479
|
+
getColumnGroup: (name: string, instanceId?: number) => import("ag-grid-community").ColumnGroup | null;
|
|
480
|
+
getProvidedColumnGroup: (name: string) => import("ag-grid-community").ProvidedColumnGroup | null;
|
|
481
|
+
getDisplayNameForColumnGroup: (columnGroup: import("ag-grid-community").ColumnGroup, location: import("ag-grid-community").HeaderLocation) => string;
|
|
482
|
+
getColumnGroupState: () => {
|
|
483
|
+
groupId: string;
|
|
484
|
+
open: boolean;
|
|
485
|
+
}[];
|
|
486
|
+
setColumnGroupState: (stateItems: {
|
|
487
|
+
groupId: string;
|
|
488
|
+
open: boolean;
|
|
489
|
+
}[]) => void;
|
|
490
|
+
resetColumnGroupState: () => void;
|
|
491
|
+
getLeftDisplayedColumnGroups: () => (import("ag-grid-community").Column | import("ag-grid-community").ColumnGroup)[];
|
|
492
|
+
getCenterDisplayedColumnGroups: () => (import("ag-grid-community").Column | import("ag-grid-community").ColumnGroup)[];
|
|
493
|
+
getRightDisplayedColumnGroups: () => (import("ag-grid-community").Column | import("ag-grid-community").ColumnGroup)[];
|
|
494
|
+
getAllDisplayedColumnGroups: () => (import("ag-grid-community").Column | import("ag-grid-community").ColumnGroup)[] | null;
|
|
495
|
+
getCellEditorInstances: (params?: import("ag-grid-community").GetCellEditorInstancesParams<GridRow<T>> | undefined) => import("ag-grid-community").ICellEditor[];
|
|
496
|
+
getEditingCells: () => import("ag-grid-community").EditingCellPosition[];
|
|
497
|
+
stopEditing: (cancel?: boolean) => void;
|
|
498
|
+
startEditingCell: (params: import("ag-grid-community").StartEditingCellParams) => void;
|
|
499
|
+
isEditing: (cellPosition: import("ag-grid-community").CellPosition) => boolean;
|
|
500
|
+
validateEdit: () => import("ag-grid-community/dist/types/src/interfaces/iCellEditor").ICellEditorValidationError[] | null;
|
|
501
|
+
undoCellEditing: () => void;
|
|
502
|
+
redoCellEditing: () => void;
|
|
503
|
+
getCurrentUndoSize: () => number;
|
|
504
|
+
getCurrentRedoSize: () => number;
|
|
505
|
+
isAnyFilterPresent: () => boolean;
|
|
506
|
+
onFilterChanged: (source?: import("ag-grid-community").FilterChangedEventSourceType) => void;
|
|
507
|
+
isColumnFilterPresent: () => boolean;
|
|
508
|
+
getColumnFilterInstance: <TFilter = import("ag-grid-community").IFilter>(key: string | import("ag-grid-community").Column) => Promise<TFilter | null | undefined>;
|
|
509
|
+
getColumnFilterHandler: <TFilterHandler>(key: string | import("ag-grid-community").Column) => TFilterHandler | undefined;
|
|
510
|
+
destroyFilter: (key: string | import("ag-grid-community").Column) => void;
|
|
511
|
+
setFilterModel: (model: import("ag-grid-community").FilterModel | null) => void;
|
|
512
|
+
getFilterModel: () => import("ag-grid-community").FilterModel;
|
|
513
|
+
getColumnFilterModel: <TModel>(column: string | import("ag-grid-community").Column, useUnapplied?: boolean) => TModel | null;
|
|
514
|
+
setColumnFilterModel: <TModel>(column: string | import("ag-grid-community").Column, model: TModel | null) => Promise<void>;
|
|
515
|
+
showColumnFilter: (colKey: string | import("ag-grid-community").Column) => void;
|
|
516
|
+
hideColumnFilter: () => void;
|
|
517
|
+
doFilterAction: (params: import("ag-grid-community").FilterActionParams) => void;
|
|
518
|
+
isQuickFilterPresent: () => boolean;
|
|
519
|
+
getQuickFilter: () => string | undefined;
|
|
520
|
+
resetQuickFilter: () => void;
|
|
521
|
+
findNext: () => void;
|
|
522
|
+
findPrevious: () => void;
|
|
523
|
+
findGetTotalMatches: () => number;
|
|
524
|
+
findGoTo: (match: number, force?: boolean) => void;
|
|
525
|
+
findClearActive: () => void;
|
|
526
|
+
findGetActiveMatch: () => import("ag-grid-community").FindMatch<GridRow<T>, any> | undefined;
|
|
527
|
+
findGetNumMatches: (params: import("ag-grid-community").FindCellParams<GridRow<T>, any>) => number;
|
|
528
|
+
findGetParts: (params: import("ag-grid-community").FindCellValueParams<GridRow<T>, any>) => import("ag-grid-community").FindPart[];
|
|
529
|
+
findRefresh: () => void;
|
|
530
|
+
paginationIsLastPageFound: () => boolean;
|
|
531
|
+
paginationGetPageSize: () => number;
|
|
532
|
+
paginationGetCurrentPage: () => number;
|
|
533
|
+
paginationGetTotalPages: () => number;
|
|
534
|
+
paginationGetRowCount: () => number;
|
|
535
|
+
paginationGoToNextPage: () => void;
|
|
536
|
+
paginationGoToPreviousPage: () => void;
|
|
537
|
+
paginationGoToFirstPage: () => void;
|
|
538
|
+
paginationGoToLastPage: () => void;
|
|
539
|
+
paginationGoToPage: (page: number) => void;
|
|
540
|
+
expandAll: () => void;
|
|
541
|
+
collapseAll: () => void;
|
|
542
|
+
onRowHeightChanged: () => void;
|
|
543
|
+
setRowCount: (rowCount: number, maxRowFound?: boolean) => void;
|
|
544
|
+
getCacheBlockState: () => any;
|
|
545
|
+
isLastRowIndexKnown: () => boolean | undefined;
|
|
546
|
+
onGroupExpandedOrCollapsed: () => void;
|
|
547
|
+
refreshClientSideRowModel: (step?: import("ag-grid-community").ClientSideRowModelStep) => void;
|
|
548
|
+
forEachLeafNode: (callback: (rowNode: import("ag-grid-community").IRowNode<GridRow<T>>) => void) => void;
|
|
549
|
+
forEachNodeAfterFilter: (callback: (rowNode: import("ag-grid-community").IRowNode<GridRow<T>>, index: number) => void) => void;
|
|
550
|
+
forEachNodeAfterFilterAndSort: (callback: (rowNode: import("ag-grid-community").IRowNode<GridRow<T>>, index: number) => void) => void;
|
|
551
|
+
resetRowHeights: () => void;
|
|
552
|
+
applyTransaction: (rowDataTransaction: import("ag-grid-community").RowDataTransaction<GridRow<T>>) => import("ag-grid-community").RowNodeTransaction<GridRow<T>> | null | undefined;
|
|
553
|
+
applyTransactionAsync: (rowDataTransaction: import("ag-grid-community").RowDataTransaction<GridRow<T>>, callback?: ((res: import("ag-grid-community").RowNodeTransaction<GridRow<T>>) => void) | undefined) => void;
|
|
554
|
+
flushAsyncTransactions: () => void;
|
|
555
|
+
getBestCostNodeSelection: () => import("ag-grid-community").IRowNode<GridRow<T>>[] | undefined;
|
|
556
|
+
isRowDataEmpty: () => boolean;
|
|
557
|
+
isSideBarVisible: () => boolean;
|
|
558
|
+
setSideBarVisible: (show: boolean) => void;
|
|
559
|
+
setSideBarPosition: (position: "left" | "right") => void;
|
|
560
|
+
openToolPanel: (key: string) => void;
|
|
561
|
+
closeToolPanel: () => void;
|
|
562
|
+
getOpenedToolPanel: () => string | null;
|
|
563
|
+
refreshToolPanel: () => void;
|
|
564
|
+
isToolPanelShowing: () => boolean;
|
|
565
|
+
getToolPanelInstance: {
|
|
566
|
+
(id: "columns"): import("ag-grid-community").IColumnToolPanel | undefined;
|
|
567
|
+
(id: "filters"): import("ag-grid-community").IFiltersToolPanel | undefined;
|
|
568
|
+
<TToolPanel = import("ag-grid-community").IToolPanel<GridRow<T>, any, any>>(id: string): TToolPanel | undefined;
|
|
569
|
+
<TToolPanel = import("ag-grid-community").IToolPanel<GridRow<T>, any, any>>(id: string): TToolPanel | undefined;
|
|
570
|
+
};
|
|
571
|
+
getSideBar: () => import("ag-grid-community").SideBarDef | undefined;
|
|
572
|
+
getStatusPanel: <TStatusPanel = import("ag-grid-community").IStatusPanel<GridRow<T>, any>>(key: string) => TStatusPanel | undefined;
|
|
573
|
+
refreshInfiniteCache: () => void;
|
|
574
|
+
purgeInfiniteCache: () => void;
|
|
575
|
+
getInfiniteRowCount: () => number | undefined;
|
|
576
|
+
getDataAsCsv: (params?: import("ag-grid-community").CsvExportParams) => string | undefined;
|
|
577
|
+
exportDataAsCsv: (params?: import("ag-grid-community").CsvExportParams) => void;
|
|
578
|
+
setRowGroupColumns: (colKeys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[]) => void;
|
|
579
|
+
moveRowGroupColumn: (fromIndex: number, toIndex: number) => void;
|
|
580
|
+
removeRowGroupColumns: (colKeys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[]) => void;
|
|
581
|
+
addRowGroupColumns: (colKeys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[]) => void;
|
|
582
|
+
getRowGroupColumns: () => import("ag-grid-community").Column[];
|
|
583
|
+
addAggFuncs: (aggFuncs: {
|
|
584
|
+
[key: string]: import("ag-grid-community").IAggFunc<GridRow<T>, any, any>;
|
|
585
|
+
}) => void;
|
|
586
|
+
clearAggFuncs: () => void;
|
|
587
|
+
setColumnAggFunc: <TValue = any>(key: string | import("ag-grid-community").ColDef<GridRow<T>, TValue> | import("ag-grid-community").Column<TValue>, aggFunc: string | import("ag-grid-community").IAggFunc<GridRow<T>, TValue, any> | null | undefined) => void;
|
|
588
|
+
isPivotMode: () => boolean;
|
|
589
|
+
getPivotResultColumn: <TValue = any>(pivotKeys: string[], valueColKey: string | import("ag-grid-community").ColDef<GridRow<T>, TValue> | import("ag-grid-community").Column<TValue>) => import("ag-grid-community").Column<TValue> | null;
|
|
590
|
+
setValueColumns: (colKeys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[]) => void;
|
|
591
|
+
getValueColumns: () => import("ag-grid-community").Column[];
|
|
592
|
+
removeValueColumns: (colKeys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[]) => void;
|
|
593
|
+
addValueColumns: (colKeys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[]) => void;
|
|
594
|
+
setPivotColumns: (colKeys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[]) => void;
|
|
595
|
+
removePivotColumns: (colKeys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[]) => void;
|
|
596
|
+
addPivotColumns: (colKeys: (string | import("ag-grid-community").ColDef | import("ag-grid-community").Column)[]) => void;
|
|
597
|
+
getPivotColumns: () => import("ag-grid-community").Column[];
|
|
598
|
+
setPivotResultColumns: (colDefs: (import("ag-grid-community").ColDef | import("ag-grid-community").ColGroupDef)[] | null) => void;
|
|
599
|
+
getPivotResultColumns: () => import("ag-grid-community").Column[] | null;
|
|
600
|
+
getCellRanges: () => import("ag-grid-community").CellRange[] | null;
|
|
601
|
+
addCellRange: (params: import("ag-grid-community").CellRangeParams) => void;
|
|
602
|
+
clearRangeSelection: () => void;
|
|
603
|
+
clearCellSelection: () => void;
|
|
604
|
+
getServerSideSelectionState: () => import("ag-grid-community").IServerSideSelectionState | import("ag-grid-community").IServerSideGroupSelectionState | null;
|
|
605
|
+
setServerSideSelectionState: (state: import("ag-grid-community").IServerSideSelectionState | import("ag-grid-community").IServerSideGroupSelectionState) => void;
|
|
606
|
+
applyServerSideTransaction: (transaction: import("ag-grid-community").ServerSideTransaction) => import("ag-grid-community").ServerSideTransactionResult<GridRow<T>> | undefined;
|
|
607
|
+
applyServerSideTransactionAsync: (transaction: import("ag-grid-community").ServerSideTransaction, callback?: ((res: import("ag-grid-community").ServerSideTransactionResult<GridRow<T>>) => void) | undefined) => void;
|
|
608
|
+
applyServerSideRowData: (params: {
|
|
609
|
+
successParams: import("ag-grid-community").LoadSuccessParams<GridRow<T>>;
|
|
610
|
+
route?: string[];
|
|
611
|
+
startRow?: number;
|
|
612
|
+
}) => void;
|
|
613
|
+
retryServerSideLoads: () => void;
|
|
614
|
+
flushServerSideAsyncTransactions: () => void;
|
|
615
|
+
refreshServerSide: (params?: import("ag-grid-community").RefreshServerSideParams) => void;
|
|
616
|
+
getServerSideGroupLevelState: () => import("ag-grid-community").ServerSideGroupLevelState[];
|
|
617
|
+
showContextMenu: (params?: import("ag-grid-community").IContextMenuParams) => void;
|
|
618
|
+
showColumnChooser: (params?: import("ag-grid-community").ColumnChooserParams) => void;
|
|
619
|
+
hideColumnChooser: () => void;
|
|
620
|
+
addDetailGridInfo: (id: string, gridInfo: import("ag-grid-community").DetailGridInfo) => void;
|
|
621
|
+
removeDetailGridInfo: (id: string) => void;
|
|
622
|
+
getDetailGridInfo: (id: string) => import("ag-grid-community").DetailGridInfo | undefined;
|
|
623
|
+
forEachDetailGridInfo: (callback: (gridInfo: import("ag-grid-community").DetailGridInfo, index: number) => void) => void;
|
|
624
|
+
getDataAsExcel: (params?: import("ag-grid-community").ExcelExportParams) => string | Blob | undefined;
|
|
625
|
+
exportDataAsExcel: (params?: import("ag-grid-community").ExcelExportParams) => void;
|
|
626
|
+
getSheetDataForExcel: (params?: import("ag-grid-community").ExcelExportParams) => string | undefined;
|
|
627
|
+
getMultipleSheetsAsExcel: (params: import("ag-grid-community").ExcelExportMultipleSheetParams) => Blob | undefined;
|
|
628
|
+
exportMultipleSheetsAsExcel: (params: import("ag-grid-community").ExcelExportMultipleSheetParams) => void;
|
|
629
|
+
copyToClipboard: (params?: import("ag-grid-community").IClipboardCopyParams) => void;
|
|
630
|
+
cutToClipboard: (params?: import("ag-grid-community").IClipboardCopyParams) => void;
|
|
631
|
+
copySelectedRowsToClipboard: (params?: import("ag-grid-community").IClipboardCopyRowsParams) => void;
|
|
632
|
+
copySelectedRangeToClipboard: (params?: import("ag-grid-community").IClipboardCopyParams) => void;
|
|
633
|
+
copySelectedRangeDown: () => void;
|
|
634
|
+
pasteFromClipboard: () => void;
|
|
635
|
+
getChartModels: () => import("ag-grid-community").ChartModel[] | undefined;
|
|
636
|
+
getChartRef: (chartId: string) => import("ag-grid-community").ChartRef | undefined;
|
|
637
|
+
getChartImageDataURL: (params: import("ag-grid-community").GetChartImageDataUrlParams) => string | undefined;
|
|
638
|
+
downloadChart: (params: import("ag-grid-community").ChartDownloadParams) => void;
|
|
639
|
+
openChartToolPanel: (params: import("ag-grid-community").OpenChartToolPanelParams) => void;
|
|
640
|
+
closeChartToolPanel: (params: import("ag-grid-community").CloseChartToolPanelParams) => void;
|
|
641
|
+
createRangeChart: (params: import("ag-grid-community").CreateRangeChartParams) => import("ag-grid-community").ChartRef | undefined;
|
|
642
|
+
createPivotChart: (params: import("ag-grid-community").CreatePivotChartParams) => import("ag-grid-community").ChartRef | undefined;
|
|
643
|
+
createCrossFilterChart: (params: import("ag-grid-community").CreateCrossFilterChartParams) => import("ag-grid-community").ChartRef | undefined;
|
|
644
|
+
updateChart: (params: import("ag-grid-community").UpdateChartParams) => void;
|
|
645
|
+
restoreChart: (chartModel: import("ag-grid-community").ChartModel, chartContainer?: HTMLElement) => import("ag-grid-community").ChartRef | undefined;
|
|
646
|
+
getAdvancedFilterModel: () => import("ag-grid-community").AdvancedFilterModel | null;
|
|
647
|
+
setAdvancedFilterModel: (advancedFilterModel: import("ag-grid-community").AdvancedFilterModel | null) => void;
|
|
648
|
+
showAdvancedFilterBuilder: () => void;
|
|
649
|
+
hideAdvancedFilterBuilder: () => void;
|
|
650
|
+
startBatchEdit: () => void;
|
|
651
|
+
commitBatchEdit: () => void;
|
|
652
|
+
cancelBatchEdit: () => void;
|
|
653
|
+
isBatchEditing: () => boolean;
|
|
654
|
+
};
|
|
655
|
+
createRow: (data: T) => ActualRow<T>;
|
|
656
|
+
setRows: (rows: (ActualRow<T> | EditableRow<T>)[]) => GridDataCache<T>;
|
|
657
|
+
replace: (row: ActualRow<T> | EditableRow<T>) => void;
|
|
658
|
+
remove: (row: (ActualRow<T> | EditableRow<T>)[]) => void;
|
|
659
|
+
getRows: () => (ActualRow<T> | EditableRow<T>)[];
|
|
660
|
+
appendRows: (rows: ActualRow<T>[]) => void;
|
|
661
|
+
insertRows: (rows: (ActualRow<T> | EditableRow<T>)[], index?: number) => void;
|
|
662
|
+
deleteRows: (rows: string[] | GridRow<T>[]) => void;
|
|
663
|
+
}>;
|
|
664
|
+
gridApi: import("vue").Ref<GridApi<GridRow<T>> | undefined>;
|
|
665
|
+
gridElRef: import("vue").Ref<HTMLDivElement | undefined>;
|
|
666
|
+
resetGridState: () => void;
|
|
667
|
+
reload: () => void;
|
|
668
|
+
insertRows: (rows: (ActualRow<T> | EditableRow<T>)[], index?: number) => Promise<void>;
|
|
669
|
+
existRow: (row: GridRow<T>) => boolean;
|
|
670
|
+
getRows: <T_1>() => (ActualRow<T_1> | EditableRow<T_1>)[];
|
|
671
|
+
refresh: () => Promise<void>;
|
|
672
|
+
};
|