@genesislcap/grid-pro 14.349.0 → 14.350.0
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/dist/custom-elements.json +2293 -1443
- package/dist/dts/cell-renderers/boolean.renderer.d.ts.map +1 -1
- package/dist/dts/datasource/base.datasource.d.ts +20 -15
- package/dist/dts/datasource/base.datasource.d.ts.map +1 -1
- package/dist/dts/datasource/index.d.ts +1 -0
- package/dist/dts/datasource/index.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.datasource.d.ts +9 -9
- package/dist/dts/datasource/server-side.datasource.d.ts.map +1 -1
- package/dist/dts/grid-pro-genesis-datasource/datasource-events.types.d.ts +101 -0
- package/dist/dts/grid-pro-genesis-datasource/datasource-events.types.d.ts.map +1 -0
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +24 -9
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
- package/dist/dts/grid-pro-v34.d.ts +862 -0
- package/dist/dts/grid-pro-v34.d.ts.map +1 -0
- package/dist/dts/grid-pro.d.ts +88 -1
- package/dist/dts/grid-pro.d.ts.map +1 -1
- package/dist/dts/grid-pro.definitions.d.ts.map +1 -1
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/status-bar-components/label-value.status-bar.d.ts +1 -1
- package/dist/dts/status-bar-components/label-value.status-bar.d.ts.map +1 -1
- package/dist/dts/status-bar-components/load-more.status-bar.d.ts +1 -1
- package/dist/dts/status-bar-components/load-more.status-bar.d.ts.map +1 -1
- package/dist/dts/status-bar-components/pagination.status-bar.d.ts +1 -1
- package/dist/dts/status-bar-components/pagination.status-bar.d.ts.map +1 -1
- package/dist/dts/status-bar-components/reload.status-bar.d.ts +1 -1
- package/dist/dts/status-bar-components/reload.status-bar.d.ts.map +1 -1
- package/dist/esm/cell-renderers/boolean.renderer.js +6 -7
- package/dist/esm/datasource/base.datasource.js +68 -95
- package/dist/esm/datasource/index.js +1 -0
- package/dist/esm/datasource/server-side.datasource.js +127 -149
- package/dist/esm/grid-pro-genesis-datasource/datasource-events.types.js +33 -0
- package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +83 -78
- package/dist/esm/grid-pro-v34.js +1034 -0
- package/dist/esm/grid-pro.definitions.js +1 -1
- package/dist/esm/grid-pro.js +283 -8
- package/dist/esm/grid-pro.template.js +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/status-bar-components/pagination.status-bar.js +18 -11
- package/dist/grid-pro.api.json +3188 -698
- package/dist/grid-pro.d.ts +1171 -118
- package/docs/api/grid-pro.errorhandlerdialogstyles.md +11 -0
- package/docs/api/grid-pro.genesisgriddatasourceelement.md +0 -21
- package/docs/api/grid-pro.geterrorhandlerdialogtemplate.md +64 -0
- package/docs/api/grid-pro.gridpro.md +17 -0
- package/docs/api/grid-pro.gridpro.thememode.md +11 -0
- package/docs/api/{grid-pro.gridprobasedatasource.applyallagtransactions.md → grid-pro.gridprobasedatasource.applyalltransactions.md} +3 -3
- package/docs/api/grid-pro.gridprobasedatasource.applytransaction.md +3 -3
- package/docs/api/grid-pro.gridprobasedatasource.getdatasourcestatusbarpanels.md +15 -1
- package/docs/api/grid-pro.gridprobasedatasource.isdisconnected.md +1 -1
- package/docs/api/{grid-pro.gridprobasedatasource.agtransaction.md → grid-pro.gridprobasedatasource.keepcoldefsonclearrowdata.md} +3 -3
- package/docs/api/grid-pro.gridprobasedatasource.md +17 -55
- package/docs/api/grid-pro.gridprobasedatasource.pagination.md +1 -1
- package/docs/api/grid-pro.gridprobasedatasource.setdisconnected.md +1 -1
- package/docs/api/{grid-pro.gridprobasedatasource.applyfuncname.md → grid-pro.gridprobasedatasource.transactiondata.md} +3 -3
- package/docs/api/grid-pro.gridprogenesisdatasource.applytransaction.md +4 -4
- package/docs/api/grid-pro.gridprogenesisdatasource.init.md +4 -20
- package/docs/api/grid-pro.gridprogenesisdatasource.md +7 -34
- package/docs/api/{grid-pro.gridprogenesisdatasource.applyfuncname.md → grid-pro.gridprogenesisdatasource.transactiondata.md} +3 -3
- package/docs/api/grid-pro.gridproserversidedatasource.applytransaction.md +4 -4
- package/docs/api/grid-pro.gridproserversidedatasource.md +1 -74
- package/docs/api/grid-pro.gridproserversidedatasource.onpaginationchanged.md +2 -2
- package/docs/api/{grid-pro.gridproserversidedatasource.rowmodel.md → grid-pro.gridprov34._constructor_.md} +5 -3
- package/docs/api/grid-pro.gridprov34.addeventlistener.md +89 -0
- package/docs/api/{grid-pro.gridproserversidedatasource.applyfuncname.md → grid-pro.gridprov34.aggrid.md} +3 -3
- package/docs/api/{grid-pro.gridproserversidedatasource.applyasyncfuncname.md → grid-pro.gridprov34.aggridoptions.md} +3 -3
- package/docs/api/grid-pro.gridprov34.autocellrendererbytype.md +14 -0
- package/docs/api/grid-pro.gridprov34.cachefilterconfig.md +18 -0
- package/docs/api/grid-pro.gridprov34.classnames.md +14 -0
- package/docs/api/grid-pro.gridprov34.clearlocalgridoptions.md +17 -0
- package/docs/api/grid-pro.gridprov34.columncomponentname.md +14 -0
- package/docs/api/grid-pro.gridprov34.combineallgridcomponents.md +53 -0
- package/docs/api/grid-pro.gridprov34.connectedcallback.md +18 -0
- package/docs/api/grid-pro.gridprov34.customerrorhandlertemplate.md +21 -0
- package/docs/api/grid-pro.gridprov34.disconnectedcallback.md +18 -0
- package/docs/api/grid-pro.gridprov34.enablecellflashing.md +21 -0
- package/docs/api/grid-pro.gridprov34.enablerowflashing.md +16 -0
- package/docs/api/grid-pro.gridprov34.eventsandcallbacks.md +14 -0
- package/docs/api/grid-pro.gridprov34.getfiltermodel.md +20 -0
- package/docs/api/grid-pro.gridprov34.getsavedcolumnstate.md +21 -0
- package/docs/api/grid-pro.gridprov34.getselectedrows.md +19 -0
- package/docs/api/{grid-pro.gridproserversidedatasource.applytransactionasync.md → grid-pro.gridprov34.globaleventlistener.md} +7 -9
- package/docs/api/grid-pro.gridprov34.gridapi.md +14 -0
- package/docs/api/grid-pro.gridprov34.gridautosizingenabled.md +16 -0
- package/docs/api/grid-pro.gridprov34.gridcomponents.md +16 -0
- package/docs/api/grid-pro.gridprov34.griderroritems.md +14 -0
- package/docs/api/grid-pro.gridprov34.gridoptions.md +14 -0
- package/docs/api/grid-pro.gridprov34.gridoptionsconfig.md +28 -0
- package/docs/api/grid-pro.gridprov34.gridparams.md +12 -0
- package/docs/api/grid-pro.gridprov34.gridprodatasource.md +18 -0
- package/docs/api/grid-pro.gridprov34.gridslot.md +14 -0
- package/docs/api/grid-pro.gridprov34.hasselectedrows.md +19 -0
- package/docs/api/grid-pro.gridprov34.headercasetype.md +18 -0
- package/docs/api/grid-pro.gridprov34.headerheight.md +14 -0
- package/docs/api/grid-pro.gridprov34.hidedatasourceerror.md +18 -0
- package/docs/api/grid-pro.gridprov34.initialised.md +14 -0
- package/docs/api/grid-pro.gridprov34.isserverside.md +12 -0
- package/docs/api/grid-pro.gridprov34.md +1008 -0
- package/docs/api/grid-pro.gridprov34.mergeallcolumndefsandstates.md +230 -0
- package/docs/api/grid-pro.gridprov34.onlytemplatecoldefs.md +14 -0
- package/docs/api/grid-pro.gridprov34.pagination.md +21 -0
- package/docs/api/grid-pro.gridprov34.paginationpagesize.md +25 -0
- package/docs/api/grid-pro.gridprov34.persistcolumnstatekey.md +16 -0
- package/docs/api/grid-pro.gridprov34.persistfiltermodelkey.md +16 -0
- package/docs/api/grid-pro.gridprov34.provider.md +14 -0
- package/docs/api/grid-pro.gridprov34.restorecachedfilterconfig.md +18 -0
- package/docs/api/grid-pro.gridprov34.rowdata.md +18 -0
- package/docs/api/grid-pro.gridprov34.rowdatachanged.md +67 -0
- package/docs/api/grid-pro.gridprov34.rowheight.md +14 -0
- package/docs/api/grid-pro.gridprov34.setfiltermodel.md +55 -0
- package/docs/api/grid-pro.gridprov34.setuppaginationandstatusbar.md +53 -0
- package/docs/api/grid-pro.gridprov34.statepersistanceenabled.md +18 -0
- package/docs/api/grid-pro.gridprov34.statepersistence.md +14 -0
- package/docs/api/grid-pro.gridprov34.statusbarconfig.md +21 -0
- package/docs/api/grid-pro.gridprov34.thememode.md +14 -0
- package/docs/api/grid-pro.gridprov34.withstatusbar.md +21 -0
- package/docs/api/grid-pro.md +29 -1
- package/docs/api-report.md.api.md +377 -41
- package/package.json +16 -14
- package/docs/api/grid-pro.genesisgriddatasourceelement.aggrid.md +0 -11
- package/docs/api/grid-pro.gridprobasedatasource.applyasyncfuncname.md +0 -11
- package/docs/api/grid-pro.gridprobasedatasource.applytransactionasync.md +0 -66
- package/docs/api/grid-pro.gridprogenesisdatasource.applyasyncfuncname.md +0 -11
- package/docs/api/grid-pro.gridprogenesisdatasource.applytransactionasync.md +0 -66
package/dist/grid-pro.d.ts
CHANGED
|
@@ -2,9 +2,37 @@ import { ActionMenuItem } from '@genesislcap/foundation-ui';
|
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
3
|
import { Binding } from '@microsoft/fast-element';
|
|
4
4
|
import { CaptureType } from '@microsoft/fast-element';
|
|
5
|
+
import { CellClassFunc } from '@ag-grid-community/core';
|
|
6
|
+
import { CellClassFunc as CellClassFunc_2 } from 'ag-grid-community';
|
|
7
|
+
import { CellClassRules } from '@ag-grid-community/core';
|
|
8
|
+
import { CellClassRules as CellClassRules_2 } from 'ag-grid-community';
|
|
9
|
+
import { CellClickedEvent } from '@ag-grid-community/core';
|
|
10
|
+
import { CellClickedEvent as CellClickedEvent_2 } from 'ag-grid-community';
|
|
11
|
+
import { CellContextMenuEvent } from '@ag-grid-community/core';
|
|
12
|
+
import { CellContextMenuEvent as CellContextMenuEvent_2 } from 'ag-grid-community';
|
|
13
|
+
import { CellDoubleClickedEvent } from '@ag-grid-community/core';
|
|
14
|
+
import { CellDoubleClickedEvent as CellDoubleClickedEvent_2 } from 'ag-grid-community';
|
|
15
|
+
import { CellEditorSelectorFunc } from '@ag-grid-community/core';
|
|
16
|
+
import { CellEditorSelectorFunc as CellEditorSelectorFunc_2 } from 'ag-grid-community';
|
|
17
|
+
import { CellRendererSelectorFunc } from '@ag-grid-community/core';
|
|
18
|
+
import { CellRendererSelectorFunc as CellRendererSelectorFunc_2 } from 'ag-grid-community';
|
|
19
|
+
import { CellStyle } from '@ag-grid-community/core';
|
|
20
|
+
import { CellStyleFunc } from '@ag-grid-community/core';
|
|
21
|
+
import { CellStyleFunc as CellStyleFunc_2 } from 'ag-grid-community';
|
|
22
|
+
import { CheckboxSelectionCallback } from '@ag-grid-community/core';
|
|
23
|
+
import { CheckboxSelectionCallback as CheckboxSelectionCallback_2 } from 'ag-grid-community';
|
|
5
24
|
import { ColDef } from '@ag-grid-community/core';
|
|
25
|
+
import type { ColDef as ColDef_2 } from 'ag-grid-community';
|
|
26
|
+
import { ColSpanParams } from '@ag-grid-community/core';
|
|
27
|
+
import { ColSpanParams as ColSpanParams_2 } from 'ag-grid-community';
|
|
28
|
+
import { Column } from '@ag-grid-community/core';
|
|
29
|
+
import { Column as Column_2 } from 'ag-grid-community';
|
|
6
30
|
import type { ColumnApi } from '@ag-grid-community/core';
|
|
31
|
+
import { ColumnChooserParams } from 'ag-grid-community';
|
|
32
|
+
import { ColumnMenuTab } from '@ag-grid-community/core';
|
|
33
|
+
import { ColumnsMenuParams } from '@ag-grid-community/core';
|
|
7
34
|
import { ColumnState } from '@ag-grid-community/core';
|
|
35
|
+
import { ColumnState as ColumnState_2 } from 'ag-grid-community';
|
|
8
36
|
import { Connect } from '@genesislcap/foundation-comms';
|
|
9
37
|
import type { Container } from '@microsoft/fast-foundation';
|
|
10
38
|
import { Controller } from '@microsoft/fast-element';
|
|
@@ -16,42 +44,96 @@ import { Datasource } from '@genesislcap/foundation-comms';
|
|
|
16
44
|
import { DatasourceOptions } from '@genesislcap/foundation-comms';
|
|
17
45
|
import { DatasourceStatus } from '@genesislcap/foundation-comms';
|
|
18
46
|
import { DatasourceStatusChangedEvent } from '@genesislcap/foundation-comms';
|
|
47
|
+
import { DefaultMenuItem } from 'ag-grid-community';
|
|
48
|
+
import { DndSourceCallback } from '@ag-grid-community/core';
|
|
49
|
+
import { DndSourceCallback as DndSourceCallback_2 } from 'ag-grid-community';
|
|
50
|
+
import { DndSourceOnRowDragParams } from '@ag-grid-community/core';
|
|
51
|
+
import { DndSourceOnRowDragParams as DndSourceOnRowDragParams_2 } from 'ag-grid-community';
|
|
19
52
|
import { DOMContainer } from '@genesislcap/foundation-utils';
|
|
53
|
+
import { EditableCallback } from '@ag-grid-community/core';
|
|
54
|
+
import { EditableCallback as EditableCallback_2 } from 'ag-grid-community';
|
|
20
55
|
import { ElementStyles } from '@microsoft/fast-element';
|
|
21
56
|
import { FieldMetadata } from '@genesislcap/foundation-comms';
|
|
22
57
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
23
58
|
import { FoundationElementRegistry } from '@microsoft/fast-foundation';
|
|
24
59
|
import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
|
|
60
|
+
import { GetContextMenuItems } from 'ag-grid-community';
|
|
61
|
+
import { GetFindTextFunc } from 'ag-grid-community';
|
|
62
|
+
import { GetMainMenuItems } from 'ag-grid-community';
|
|
63
|
+
import { GetQuickFilterTextParams } from '@ag-grid-community/core';
|
|
64
|
+
import { GetQuickFilterTextParams as GetQuickFilterTextParams_2 } from 'ag-grid-community';
|
|
25
65
|
import { Grid } from '@ag-grid-community/core';
|
|
26
66
|
import type { GridApi } from '@ag-grid-community/core';
|
|
67
|
+
import type { GridApi as GridApi_2 } from 'ag-grid-community';
|
|
27
68
|
import { GridOptions } from '@ag-grid-community/core';
|
|
69
|
+
import type { GridOptions as GridOptions_2 } from 'ag-grid-community';
|
|
28
70
|
import type { GridParams } from '@ag-grid-community/core';
|
|
71
|
+
import type { GridParams as GridParams_2 } from 'ag-grid-community';
|
|
72
|
+
import { HeaderCheckboxSelectionCallback } from '@ag-grid-community/core';
|
|
73
|
+
import { HeaderCheckboxSelectionCallback as HeaderCheckboxSelectionCallback_2 } from 'ag-grid-community';
|
|
74
|
+
import { HeaderClassParams } from '@ag-grid-community/core';
|
|
75
|
+
import { HeaderClassParams as HeaderClassParams_2 } from 'ag-grid-community';
|
|
76
|
+
import { HeaderStyle } from 'ag-grid-community';
|
|
77
|
+
import { HeaderStyleFunc } from 'ag-grid-community';
|
|
78
|
+
import { HeaderValueGetterFunc } from '@ag-grid-community/core';
|
|
79
|
+
import { HeaderValueGetterFunc as HeaderValueGetterFunc_2 } from 'ag-grid-community';
|
|
80
|
+
import { IAggFunc } from '@ag-grid-community/core';
|
|
81
|
+
import { IAggFunc as IAggFunc_2 } from 'ag-grid-community';
|
|
29
82
|
import { ICellEditorComp } from '@ag-grid-community/core';
|
|
30
83
|
import { ICellEditorParams } from '@ag-grid-community/core';
|
|
31
84
|
import { ICellRendererComp } from '@ag-grid-community/core';
|
|
32
85
|
import { ICellRendererFunc } from '@ag-grid-community/core';
|
|
33
86
|
import { ICellRendererParams } from '@ag-grid-community/core';
|
|
87
|
+
import { ILoadingCellRendererSelectorFunc } from 'ag-grid-community';
|
|
34
88
|
import { InterfaceSymbol } from '@microsoft/fast-foundation';
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
89
|
+
import { IRowDragItem } from '@ag-grid-community/core';
|
|
90
|
+
import { IRowDragItem as IRowDragItem_2 } from 'ag-grid-community';
|
|
91
|
+
import { IRowNode } from '@ag-grid-community/core';
|
|
92
|
+
import { IRowNode as IRowNode_2 } from 'ag-grid-community';
|
|
93
|
+
import { IStatusPanelComp } from 'ag-grid-community';
|
|
94
|
+
import { IStatusPanelParams } from 'ag-grid-community';
|
|
38
95
|
import { ITooltipComp } from '@ag-grid-community/core';
|
|
39
96
|
import { ITooltipParams } from '@ag-grid-community/core';
|
|
97
|
+
import { ITooltipParams as ITooltipParams_2 } from 'ag-grid-community';
|
|
98
|
+
import { KeyCreatorParams } from '@ag-grid-community/core';
|
|
99
|
+
import { KeyCreatorParams as KeyCreatorParams_2 } from 'ag-grid-community';
|
|
40
100
|
import { KVStorage } from '@genesislcap/foundation-comms';
|
|
41
101
|
import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
|
|
42
102
|
import { Logger } from '@genesislcap/foundation-logger';
|
|
103
|
+
import { MenuItemDef } from 'ag-grid-community';
|
|
104
|
+
import { NewValueParams } from '@ag-grid-community/core';
|
|
105
|
+
import { NewValueParams as NewValueParams_2 } from 'ag-grid-community';
|
|
43
106
|
import { OverrideFoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import
|
|
48
|
-
import { ServerSideTransactionResult } from '@ag-grid-community/core';
|
|
107
|
+
import { RowDragCallback } from '@ag-grid-community/core';
|
|
108
|
+
import { RowDragCallback as RowDragCallback_2 } from 'ag-grid-community';
|
|
109
|
+
import { RowSpanParams } from '@ag-grid-community/core';
|
|
110
|
+
import { RowSpanParams as RowSpanParams_2 } from 'ag-grid-community';
|
|
49
111
|
import { Session } from '@genesislcap/foundation-comms';
|
|
112
|
+
import { SortDirection } from '@ag-grid-community/core';
|
|
113
|
+
import { SpanRowsParams } from 'ag-grid-community';
|
|
50
114
|
import { Subscription } from 'rxjs';
|
|
115
|
+
import { SuppressHeaderKeyboardEventParams } from '@ag-grid-community/core';
|
|
116
|
+
import { SuppressHeaderKeyboardEventParams as SuppressHeaderKeyboardEventParams_2 } from 'ag-grid-community';
|
|
117
|
+
import { SuppressKeyboardEventParams } from '@ag-grid-community/core';
|
|
118
|
+
import { SuppressKeyboardEventParams as SuppressKeyboardEventParams_2 } from 'ag-grid-community';
|
|
119
|
+
import { SuppressNavigableCallback } from '@ag-grid-community/core';
|
|
120
|
+
import { SuppressNavigableCallback as SuppressNavigableCallback_2 } from 'ag-grid-community';
|
|
121
|
+
import { SuppressPasteCallback } from '@ag-grid-community/core';
|
|
122
|
+
import { SuppressPasteCallback as SuppressPasteCallback_2 } from 'ag-grid-community';
|
|
51
123
|
import { Swatch } from '@microsoft/fast-components';
|
|
52
124
|
import { SwatchRGB } from '@microsoft/fast-components';
|
|
53
125
|
import { TextField } from '@genesislcap/foundation-ui';
|
|
126
|
+
import { ToolPanelClassParams } from '@ag-grid-community/core';
|
|
127
|
+
import { ToolPanelClassParams as ToolPanelClassParams_2 } from 'ag-grid-community';
|
|
128
|
+
import { ValueFormatterFunc } from '@ag-grid-community/core';
|
|
129
|
+
import { ValueFormatterFunc as ValueFormatterFunc_2 } from 'ag-grid-community';
|
|
54
130
|
import { ValueFormatterParams } from '@ag-grid-community/core';
|
|
131
|
+
import { ValueGetterFunc } from '@ag-grid-community/core';
|
|
132
|
+
import { ValueGetterFunc as ValueGetterFunc_2 } from 'ag-grid-community';
|
|
133
|
+
import { ValueParserFunc } from '@ag-grid-community/core';
|
|
134
|
+
import { ValueParserFunc as ValueParserFunc_2 } from 'ag-grid-community';
|
|
135
|
+
import { ValueSetterFunc } from '@ag-grid-community/core';
|
|
136
|
+
import { ValueSetterFunc as ValueSetterFunc_2 } from 'ag-grid-community';
|
|
55
137
|
import { ViewTemplate } from '@microsoft/fast-element';
|
|
56
138
|
|
|
57
139
|
/**
|
|
@@ -140,7 +222,7 @@ export declare class ActionsMenuRenderer extends FoundationElement implements IC
|
|
|
140
222
|
* @privateRemarks We're excluding rowData as it's a special case that we handle separately
|
|
141
223
|
* @internal
|
|
142
224
|
*/
|
|
143
|
-
export declare const AG_PROPERTIES: ("datasource" | "pagination" | "onGridReady" | "tabIndex" | "api" | "columnApi" | "context" | "columnDefs" | "icons" | "singleClickEdit" | "onCellValueChanged" | "onCellClicked" | "onCellDoubleClicked" | "onCellContextMenu" | "enableCellChangeFlash" | "rowDragText" | "sortingOrder" | "unSortIcon" | "suppressAutoSize" | "statusBar" | "sideBar" | "suppressContextMenu" | "preventDefaultOnContextMenu" | "allowContextMenuWithControlKey" | "
|
|
225
|
+
export declare const AG_PROPERTIES: ("datasource" | "pagination" | "onGridReady" | "tabIndex" | "api" | "columnApi" | "context" | "getRowId" | "columnDefs" | "suppressMovableColumns" | "suppressMenuHide" | "suppressFieldDotNotation" | "headerHeight" | "rowHeight" | "paginationPageSize" | "icons" | "singleClickEdit" | "onCellValueChanged" | "onCellClicked" | "onCellDoubleClicked" | "onCellContextMenu" | "enableCellChangeFlash" | "rowDragText" | "sortingOrder" | "unSortIcon" | "suppressAutoSize" | "statusBar" | "sideBar" | "suppressContextMenu" | "preventDefaultOnContextMenu" | "allowContextMenuWithControlKey" | "enableBrowserTooltips" | "tooltipShowDelay" | "tooltipHideDelay" | "tooltipMouseTrack" | "popupParent" | "copyHeadersToClipboard" | "copyGroupHeadersToClipboard" | "clipboardDeliminator" | "clipboardDelimiter" | "suppressCopyRowsToClipboard" | "suppressCopySingleCellRanges" | "suppressLastEmptyLineOnPaste" | "suppressClipboardPaste" | "suppressClipboardApi" | "suppressCutToClipboard" | "defaultColDef" | "defaultColGroupDef" | "columnTypes" | "maintainColumnOrder" | "groupHeaderHeight" | "floatingFiltersHeight" | "pivotHeaderHeight" | "pivotGroupHeaderHeight" | "allowDragFromColumnsToolPanel" | "suppressColumnMoveAnimation" | "suppressDragLeaveHidesColumns" | "suppressRowGroupHidesColumns" | "colResizeDefault" | "autoSizePadding" | "skipHeaderOnAutoSize" | "components" | "frameworkComponents" | "reactUi" | "suppressReactUi" | "editType" | "suppressClickEdit" | "readOnlyEdit" | "stopEditingWhenCellsLoseFocus" | "enterMovesDown" | "enterMovesDownAfterEdit" | "enableCellEditingOnBackspace" | "undoRedoCellEditing" | "undoRedoCellEditingLimit" | "defaultCsvExportParams" | "suppressCsvExport" | "defaultExcelExportParams" | "suppressExcelExport" | "excelStyles" | "quickFilterText" | "cacheQuickFilter" | "excludeHiddenColumnsFromQuickFilter" | "excludeChildrenWhenTreeDataFiltering" | "enableCharts" | "chartThemes" | "customChartThemes" | "chartThemeOverrides" | "enableChartToolPanelsButton" | "suppressChartToolPanelsButton" | "chartToolPanelsDef" | "loadingCellRenderer" | "loadingCellRendererFramework" | "loadingCellRendererParams" | "loadingCellRendererSelector" | "localeText" | "masterDetail" | "keepDetailRows" | "keepDetailRowsCount" | "detailCellRenderer" | "detailCellRendererFramework" | "detailCellRendererParams" | "detailRowHeight" | "detailRowAutoHeight" | "alignedGrids" | "rowBuffer" | "valueCache" | "valueCacheNeverExpires" | "enableCellExpressions" | "suppressParentsInRowNodes" | "suppressTouch" | "suppressFocusAfterRefresh" | "suppressAsyncEvents" | "suppressBrowserResizeObserver" | "suppressPropertyNamesCheck" | "suppressChangeDetection" | "debug" | "overlayLoadingTemplate" | "loadingOverlayComponent" | "loadingOverlayComponentFramework" | "loadingOverlayComponentParams" | "suppressLoadingOverlay" | "overlayNoRowsTemplate" | "noRowsOverlayComponent" | "noRowsOverlayComponentFramework" | "noRowsOverlayComponentParams" | "suppressNoRowsOverlay" | "paginationAutoPageSize" | "paginateChildRows" | "suppressPaginationPanel" | "pivotMode" | "pivotPanelShow" | "pivotColumnGroupTotals" | "pivotRowTotals" | "pivotSuppressAutoColumn" | "suppressExpandablePivotGroups" | "functionsReadOnly" | "aggFuncs" | "suppressAggFuncInHeader" | "suppressAggAtRootLevel" | "aggregateOnlyChangedColumns" | "suppressAggFilteredOnly" | "removePivotHeaderRowWhenSingleValueColumn" | "animateRows" | "cellFlashDelay" | "cellFadeDelay" | "allowShowChangeAfterFilter" | "domLayout" | "ensureDomOrder" | "enableRtl" | "suppressColumnVirtualisation" | "suppressMaxRenderedRowRestriction" | "suppressRowVirtualisation" | "rowDragManaged" | "suppressRowDrag" | "suppressMoveWhenRowDragging" | "rowDragEntireRow" | "rowDragMultiRow" | "fullWidthCellRenderer" | "fullWidthCellRendererFramework" | "fullWidthCellRendererParams" | "embedFullWidthRows" | "groupDisplayType" | "groupDefaultExpanded" | "autoGroupColumnDef" | "groupMaintainOrder" | "groupSelectsChildren" | "groupAggFiltering" | "groupIncludeFooter" | "groupIncludeTotalFooter" | "groupSuppressBlankHeader" | "groupSelectsFiltered" | "showOpenedGroup" | "groupRemoveSingleChildren" | "groupRemoveLowestSingleChildren" | "groupHideOpenParents" | "groupAllowUnbalanced" | "rowGroupPanelShow" | "groupRowRenderer" | "groupRowRendererFramework" | "groupRowRendererParams" | "suppressMakeColumnVisibleAfterUnGroup" | "treeData" | "rowGroupPanelSuppressSort" | "groupRowsSticky" | "rememberGroupStateWhenNewData" | "pinnedTopRowData" | "pinnedBottomRowData" | "rowModelType" | "immutableData" | "asyncTransactionWaitMillis" | "suppressModelUpdateAfterUpdateTransaction" | "cacheOverflowSize" | "infiniteInitialRowCount" | "serverSideInitialRowCount" | "serverSideStoreType" | "suppressServerSideInfiniteScroll" | "cacheBlockSize" | "maxBlocksInCache" | "maxConcurrentDatasourceRequests" | "blockLoadDebounceMillis" | "purgeClosedRowNodes" | "serverSideDatasource" | "serverSideSortAllLevels" | "serverSideFilterAllLevels" | "serverSideSortOnServer" | "serverSideFilterOnServer" | "serverSideSortingAlwaysResets" | "serverSideFilteringAlwaysResets" | "viewportDatasource" | "viewportRowModelPageSize" | "viewportRowModelBufferSize" | "alwaysShowHorizontalScroll" | "alwaysShowVerticalScroll" | "debounceVerticalScrollbar" | "suppressHorizontalScroll" | "suppressScrollOnNewData" | "suppressScrollWhenPopupsAreOpen" | "suppressAnimationFrame" | "suppressMiddleClickScrolls" | "suppressPreventDefaultOnMouseWheel" | "scrollbarWidth" | "rowSelection" | "rowMultiSelectWithClick" | "suppressRowDeselection" | "suppressRowClickSelection" | "suppressCellSelection" | "suppressCellFocus" | "suppressMultiRangeSelection" | "enableCellTextSelection" | "enableRangeSelection" | "enableRangeHandle" | "enableFillHandle" | "fillHandleDirection" | "suppressClearOnFillReduction" | "accentedSort" | "suppressMultiSort" | "alwaysMultiSort" | "multiSortKey" | "suppressMaintainUnsortedOrder" | "rowStyle" | "rowClass" | "rowClassRules" | "suppressRowHoverHighlight" | "suppressRowTransform" | "columnHoverHighlight" | "deltaSort" | "treeDataDisplayType" | "functionsPassive" | "enableGroupEdit" | "getContextMenuItems" | "getMainMenuItems" | "postProcessPopup" | "processCellForClipboard" | "processHeaderForClipboard" | "processGroupHeaderForClipboard" | "processCellFromClipboard" | "sendToClipboard" | "processDataFromClipboard" | "isExternalFilterPresent" | "doesExternalFilterPass" | "getChartToolbarItems" | "createChartContainer" | "navigateToNextHeader" | "tabToNextHeader" | "navigateToNextCell" | "tabToNextCell" | "localeTextFunc" | "getLocaleText" | "getDocument" | "paginationNumberFormatter" | "groupRowAggNodes" | "getGroupRowAgg" | "isGroupOpenByDefault" | "initialGroupOrderComparator" | "defaultGroupOrderComparator" | "processSecondaryColDef" | "processSecondaryColGroupDef" | "processPivotResultColDef" | "processPivotResultColGroupDef" | "getDataPath" | "getChildCount" | "getServerSideGroupLevelParams" | "getServerSideStoreParams" | "isServerSideGroupOpenByDefault" | "isApplyServerSideTransaction" | "isServerSideGroup" | "getServerSideGroupKey" | "getBusinessKeyForNode" | "getRowNodeId" | "resetRowDataOnUpdate" | "processRowPostCreate" | "isRowSelectable" | "isRowMaster" | "fillOperation" | "postSort" | "postSortRows" | "getRowStyle" | "getRowClass" | "getRowHeight" | "isFullWidthCell" | "isFullWidthRow" | "onToolPanelVisibleChanged" | "onToolPanelSizeChanged" | "onPasteStart" | "onPasteEnd" | "onColumnVisible" | "onColumnPinned" | "onColumnResized" | "onColumnMoved" | "onColumnValueChanged" | "onColumnPivotModeChanged" | "onColumnPivotChanged" | "onColumnGroupOpened" | "onNewColumnsLoaded" | "onGridColumnsChanged" | "onDisplayedColumnsChanged" | "onVirtualColumnsChanged" | "onColumnEverythingChanged" | "onComponentStateChanged" | "onCellEditRequest" | "onRowValueChanged" | "onCellEditingStarted" | "onCellEditingStopped" | "onRowEditingStarted" | "onRowEditingStopped" | "onUndoStarted" | "onUndoEnded" | "onRedoStarted" | "onRedoEnded" | "onFilterOpened" | "onFilterChanged" | "onFilterModified" | "onChartCreated" | "onChartRangeSelectionChanged" | "onChartOptionsChanged" | "onChartDestroyed" | "onCellKeyDown" | "onCellKeyPress" | "onFirstDataRendered" | "onGridSizeChanged" | "onModelUpdated" | "onVirtualRowRemoved" | "onViewportChanged" | "onBodyScroll" | "onBodyScrollEnd" | "onDragStarted" | "onDragStopped" | "onPaginationChanged" | "onRowDragEnter" | "onRowDragMove" | "onRowDragLeave" | "onRowDragEnd" | "onColumnRowGroupChanged" | "onRowGroupOpened" | "onExpandOrCollapseAll" | "onPinnedRowDataChanged" | "onRowDataChanged" | "onRowDataUpdated" | "onAsyncTransactionsFlushed" | "onCellFocused" | "onCellMouseOver" | "onCellMouseOut" | "onCellMouseDown" | "onRowClicked" | "onRowDoubleClicked" | "onRowSelected" | "onSelectionChanged" | "onRangeSelectionChanged" | "onSortChanged" | "onColumnRowGroupChangeRequest" | "onColumnPivotChangeRequest" | "onColumnValueChangeRequest" | "onColumnAggFuncChangeRequest")[];
|
|
144
226
|
|
|
145
227
|
/**
|
|
146
228
|
* The AG Action Renderer Styles.
|
|
@@ -642,6 +724,8 @@ export declare const EDITED_COLUMN_FIELD = "__editedColumn";
|
|
|
642
724
|
*/
|
|
643
725
|
export declare const ERROR_COLUMN_FIELD = "__errorColumn";
|
|
644
726
|
|
|
727
|
+
export declare const errorHandlerDialogStyles: ElementStyles;
|
|
728
|
+
|
|
645
729
|
/**
|
|
646
730
|
* Tooltip for errors that happen while syncing data with server after inline editing
|
|
647
731
|
* @internal
|
|
@@ -1193,7 +1277,6 @@ export declare class GenesisGridDatasourceElement extends GenesisGridDatasourceE
|
|
|
1193
1277
|
removeFilter(fieldName: string): void;
|
|
1194
1278
|
get isRequestServer(): boolean;
|
|
1195
1279
|
datasourceStatusChanged(prev: DatasourceStatus, next: DatasourceStatus): void;
|
|
1196
|
-
protected get agGrid(): GridPro | null;
|
|
1197
1280
|
/**
|
|
1198
1281
|
* Handles errors and emits appropriate error events.
|
|
1199
1282
|
* @param errors - The error message or array of error messages
|
|
@@ -1660,6 +1743,8 @@ export declare function getColumnType(metadataType: string): string;
|
|
|
1660
1743
|
*/
|
|
1661
1744
|
export declare const getDateEditorTemplate: (prefix?: string) => ViewTemplate<DateEditor, any>;
|
|
1662
1745
|
|
|
1746
|
+
export declare function getErrorHandlerDialogTemplate(prefix: string, gridErrorItems: GridProErrorItem<any>[]): ViewTemplate<any, any>;
|
|
1747
|
+
|
|
1663
1748
|
/**
|
|
1664
1749
|
* Returns a filter type based on the Grid Pro field/column type.
|
|
1665
1750
|
* @param type - The type of the field/column
|
|
@@ -1874,6 +1959,7 @@ export declare class GridPro extends GridPro_base {
|
|
|
1874
1959
|
classNames: string;
|
|
1875
1960
|
agGrid: Grid;
|
|
1876
1961
|
gridSlot: HTMLSlotElement;
|
|
1962
|
+
themeMode: 'light' | 'dark';
|
|
1877
1963
|
gridComponents: {
|
|
1878
1964
|
[componentName: string]: any;
|
|
1879
1965
|
};
|
|
@@ -1969,6 +2055,92 @@ export declare class GridPro extends GridPro_base {
|
|
|
1969
2055
|
hideDatasourceError(): void;
|
|
1970
2056
|
connectedCallback(): void;
|
|
1971
2057
|
disconnectedCallback(): void;
|
|
2058
|
+
/**
|
|
2059
|
+
* Helper method to add or remove datasource event listeners
|
|
2060
|
+
* @internal
|
|
2061
|
+
*/
|
|
2062
|
+
private toggleDatasourceEventListeners;
|
|
2063
|
+
/**
|
|
2064
|
+
* Handles datasource initialization
|
|
2065
|
+
* @internal
|
|
2066
|
+
*/
|
|
2067
|
+
private handleInitialize;
|
|
2068
|
+
/**
|
|
2069
|
+
* Handles data loading from datasource
|
|
2070
|
+
* @internal
|
|
2071
|
+
*/
|
|
2072
|
+
private handleDataLoaded;
|
|
2073
|
+
/**
|
|
2074
|
+
* Handles data changes from datasource
|
|
2075
|
+
* @internal
|
|
2076
|
+
*/
|
|
2077
|
+
private handleDataChanged;
|
|
2078
|
+
private flashAddedCells;
|
|
2079
|
+
/**
|
|
2080
|
+
* Handles schema updates from datasource
|
|
2081
|
+
* @internal
|
|
2082
|
+
*/
|
|
2083
|
+
private handleSchemaUpdated;
|
|
2084
|
+
/**
|
|
2085
|
+
* Handles data clearing from datasource
|
|
2086
|
+
* @internal
|
|
2087
|
+
*/
|
|
2088
|
+
private handleDataCleared;
|
|
2089
|
+
/**
|
|
2090
|
+
* Handles loading started from datasource
|
|
2091
|
+
* @internal
|
|
2092
|
+
*/
|
|
2093
|
+
private handleLoadingStarted;
|
|
2094
|
+
/**
|
|
2095
|
+
* Handles loading finished from datasource
|
|
2096
|
+
* @internal
|
|
2097
|
+
*/
|
|
2098
|
+
private handleLoadingFinished;
|
|
2099
|
+
/**
|
|
2100
|
+
* Handles no data available from datasource
|
|
2101
|
+
* @internal
|
|
2102
|
+
*/
|
|
2103
|
+
private handleNoDataAvailable;
|
|
2104
|
+
/**
|
|
2105
|
+
* Handles filter restoration from datasource
|
|
2106
|
+
* @internal
|
|
2107
|
+
*/
|
|
2108
|
+
private handleFiltersRestored;
|
|
2109
|
+
/**
|
|
2110
|
+
* Handles more data availability from datasource
|
|
2111
|
+
* @internal
|
|
2112
|
+
*/
|
|
2113
|
+
private handleMoreDataAvailable;
|
|
2114
|
+
/**
|
|
2115
|
+
* Handles datasource errors
|
|
2116
|
+
* @internal
|
|
2117
|
+
*/
|
|
2118
|
+
private handleDatasourceError;
|
|
2119
|
+
/**
|
|
2120
|
+
* Handles refreshing server-side data
|
|
2121
|
+
* @internal
|
|
2122
|
+
*/
|
|
2123
|
+
private handleRefreshServerSide;
|
|
2124
|
+
/**
|
|
2125
|
+
* Handles setting server-side datasource
|
|
2126
|
+
* @internal
|
|
2127
|
+
*/
|
|
2128
|
+
private handleSetServerSideDatasource;
|
|
2129
|
+
/**
|
|
2130
|
+
* Handles adding CSS class to grid element
|
|
2131
|
+
* @internal
|
|
2132
|
+
*/
|
|
2133
|
+
private handleAddGridCssClass;
|
|
2134
|
+
/**
|
|
2135
|
+
* Handles removing CSS class from grid element
|
|
2136
|
+
* @internal
|
|
2137
|
+
*/
|
|
2138
|
+
private handleRemoveGridCssClass;
|
|
2139
|
+
/**
|
|
2140
|
+
* Handles applying server-side transactions
|
|
2141
|
+
* @internal
|
|
2142
|
+
*/
|
|
2143
|
+
private handleApplyServerSideTransaction;
|
|
1972
2144
|
combineAllGridComponents(gridOptionsComponents: GridComponents): GridComponents;
|
|
1973
2145
|
statePersistanceEnabled(): boolean;
|
|
1974
2146
|
/**
|
|
@@ -2476,15 +2648,11 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
2476
2648
|
focus(options?: FocusOptions): void;
|
|
2477
2649
|
}) & typeof FoundationElement;
|
|
2478
2650
|
|
|
2479
|
-
/**
|
|
2480
|
-
* @public
|
|
2481
|
-
*/
|
|
2482
2651
|
export declare class GridProBaseDatasource extends GenesisGridDatasourceElement {
|
|
2483
2652
|
protected dataSubWasLoggedOff: boolean;
|
|
2653
|
+
keepColDefsOnClearRowData: boolean;
|
|
2484
2654
|
rowData: Map<string, any>;
|
|
2485
|
-
protected
|
|
2486
|
-
protected applyFuncName: string;
|
|
2487
|
-
protected applyAsyncFuncName: string;
|
|
2655
|
+
protected transactionData: TransactionData;
|
|
2488
2656
|
protected connectionSub: Subscription | undefined;
|
|
2489
2657
|
protected subscribeToConnection(): void;
|
|
2490
2658
|
protected unsubscribeFromConnection(): void;
|
|
@@ -2492,11 +2660,9 @@ export declare class GridProBaseDatasource extends GenesisGridDatasourceElement
|
|
|
2492
2660
|
protected handleStreamInserts(insertedRows: any[], addIndex?: number): void;
|
|
2493
2661
|
protected handleStreamDeletes(deletedRows: any[]): void;
|
|
2494
2662
|
protected handleStreamUpdates(updatedRows: any[]): void;
|
|
2495
|
-
protected
|
|
2496
|
-
private
|
|
2497
|
-
|
|
2498
|
-
protected applyTransaction(agTransaction: RowDataTransaction): any;
|
|
2499
|
-
protected applyTransactionAsync(agTransaction: RowDataTransaction, callback?: (res: any) => void): void;
|
|
2663
|
+
protected applyAllTransactions(): void;
|
|
2664
|
+
private applyMappedTransaction;
|
|
2665
|
+
protected applyTransaction(transaction: any): any;
|
|
2500
2666
|
/**
|
|
2501
2667
|
* Maps the transaction data to the row data mapper function, if it exists.
|
|
2502
2668
|
* @param transaction - The transaction data to be mapped.
|
|
@@ -2504,18 +2670,19 @@ export declare class GridProBaseDatasource extends GenesisGridDatasourceElement
|
|
|
2504
2670
|
* @returns The mapped transaction (if the row data mapper function exists), or the original transaction.
|
|
2505
2671
|
*/
|
|
2506
2672
|
private mapTransaction;
|
|
2507
|
-
protected
|
|
2673
|
+
protected pagination: boolean;
|
|
2508
2674
|
loadMore(): void;
|
|
2509
2675
|
restart(): void;
|
|
2510
2676
|
reloadResourceData(): void;
|
|
2511
2677
|
destroy(): void;
|
|
2678
|
+
private _isDisconnected;
|
|
2512
2679
|
/**
|
|
2513
|
-
* Sets
|
|
2680
|
+
* Sets the disconnected state and emits appropriate events.
|
|
2514
2681
|
* @param disconnected - true to set, false to remove
|
|
2515
2682
|
*/
|
|
2516
2683
|
setDisconnected(disconnected: boolean): void;
|
|
2517
2684
|
/**
|
|
2518
|
-
* Returns true if the
|
|
2685
|
+
* Returns true if the datasource is disconnected.
|
|
2519
2686
|
*/
|
|
2520
2687
|
isDisconnected(): boolean;
|
|
2521
2688
|
/**
|
|
@@ -2531,7 +2698,7 @@ export declare class GridProBaseDatasource extends GenesisGridDatasourceElement
|
|
|
2531
2698
|
* This method should be called by the grid to get status bar panels specific to this datasource.
|
|
2532
2699
|
* @public
|
|
2533
2700
|
*/
|
|
2534
|
-
getDatasourceStatusBarPanels(isServerSide: boolean): any[];
|
|
2701
|
+
getDatasourceStatusBarPanels(isServerSide: boolean, statusBarConfig: any): any[];
|
|
2535
2702
|
}
|
|
2536
2703
|
|
|
2537
2704
|
/**
|
|
@@ -3024,9 +3191,8 @@ export declare type GridProEventsListeners = {
|
|
|
3024
3191
|
* @public
|
|
3025
3192
|
*/
|
|
3026
3193
|
export declare class GridProGenesisDatasource extends GridProGenesisDatasource_base {
|
|
3027
|
-
applyFuncName: string;
|
|
3028
|
-
applyAsyncFuncName: string;
|
|
3029
3194
|
private cachedRowArray;
|
|
3195
|
+
protected transactionData: TransactionData_2;
|
|
3030
3196
|
criteriaChanged(oldCriteria: string, newCriteria: string): Promise<void>;
|
|
3031
3197
|
requestChanged(oldRequest: string, newRequest: string): void;
|
|
3032
3198
|
resourceNameChanged(oldValue: string, newValue: string): void;
|
|
@@ -3050,7 +3216,7 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
3050
3216
|
* @param columnStates - Optionally set the grid up with column state
|
|
3051
3217
|
* @remarks This method is called automatically when the element is connected to the DOM.
|
|
3052
3218
|
*/
|
|
3053
|
-
init(
|
|
3219
|
+
init(keepColDefsOnClearRowData?: boolean): Promise<void>;
|
|
3054
3220
|
/**
|
|
3055
3221
|
* Destroys the datasource, resetting it to its initial state.
|
|
3056
3222
|
* @public
|
|
@@ -3086,7 +3252,7 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
3086
3252
|
private clearRowData;
|
|
3087
3253
|
/**
|
|
3088
3254
|
* Sets the columnDefs and rowData for the grid.
|
|
3089
|
-
* @remarks This should only happen once, when the grid is first initialized. Follow up updates will use
|
|
3255
|
+
* @remarks This should only happen once, when the grid is first initialized. Follow up updates will use transactions.
|
|
3090
3256
|
* @internal
|
|
3091
3257
|
*/
|
|
3092
3258
|
private setRowData;
|
|
@@ -3095,6 +3261,16 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
3095
3261
|
* @internal
|
|
3096
3262
|
*/
|
|
3097
3263
|
private updateCachedRowArray;
|
|
3264
|
+
/**
|
|
3265
|
+
* Emits event to notify data has been loaded
|
|
3266
|
+
* @internal
|
|
3267
|
+
*/
|
|
3268
|
+
private emitDataLoaded;
|
|
3269
|
+
/**
|
|
3270
|
+
* Emits event to notify data has changed
|
|
3271
|
+
* @internal
|
|
3272
|
+
*/
|
|
3273
|
+
private emitDataChanged;
|
|
3098
3274
|
/**
|
|
3099
3275
|
* Resets the grid data while keeping columnDefs and sends a DATA_LOGOFF message if it's a stream.
|
|
3100
3276
|
* Loads resource data without full initialization (no metadata fetch).
|
|
@@ -3120,8 +3296,7 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
3120
3296
|
* @param sourceRef - The source reference
|
|
3121
3297
|
* @param rowsCount - The total number of rows
|
|
3122
3298
|
* @remarks
|
|
3123
|
-
* This method
|
|
3124
|
-
* It will silently fail if the Enterprise module is not available.
|
|
3299
|
+
* This method emits an event for the grid to handle status bar updates.
|
|
3125
3300
|
*/
|
|
3126
3301
|
private updateLoadMoreStatus;
|
|
3127
3302
|
private applyRequestServerData;
|
|
@@ -3129,8 +3304,7 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
3129
3304
|
private getAgColumnDefs;
|
|
3130
3305
|
setFilter(fieldName: string, newFilter: string): void;
|
|
3131
3306
|
removeFilter(fieldName: string): void;
|
|
3132
|
-
applyTransaction(
|
|
3133
|
-
applyTransactionAsync(agTransaction: RowDataTransaction, callback?: (res: RowNodeTransaction) => void): void;
|
|
3307
|
+
applyTransaction(transaction: any): void;
|
|
3134
3308
|
private handleSizeChanged;
|
|
3135
3309
|
handleStreamInserts(inserts?: any[]): void;
|
|
3136
3310
|
handleStreamUpdates(updates?: any[]): void;
|
|
@@ -3564,8 +3738,6 @@ export declare enum GridProRendererTypes {
|
|
|
3564
3738
|
* @beta
|
|
3565
3739
|
*/
|
|
3566
3740
|
export declare class GridProServerSideDatasource extends GridProServerSideDatasource_base {
|
|
3567
|
-
applyFuncName: string;
|
|
3568
|
-
applyAsyncFuncName: string;
|
|
3569
3741
|
/**
|
|
3570
3742
|
* The starting VIEW_NUMBER of the data to be fetched.
|
|
3571
3743
|
* @remarks The VIEW_NUMBER isincremented by the grid as the user scrolls or changes pages.
|
|
@@ -3611,17 +3783,15 @@ export declare class GridProServerSideDatasource extends GridProServerSideDataso
|
|
|
3611
3783
|
*/
|
|
3612
3784
|
private removeServerSideSortIndicatorStyling;
|
|
3613
3785
|
init(): Promise<void>;
|
|
3614
|
-
onPaginationChanged(event:
|
|
3786
|
+
onPaginationChanged(event: any): void;
|
|
3615
3787
|
destroy(): Promise<void>;
|
|
3616
3788
|
restart(): Promise<void>;
|
|
3617
3789
|
private clearRowData;
|
|
3618
3790
|
private getResourceIndexes;
|
|
3619
|
-
get rowModel(): IServerSideRowModel;
|
|
3620
3791
|
private createReqRepRequest;
|
|
3621
3792
|
private createDataserverStream;
|
|
3622
3793
|
private getAgColumnDefs;
|
|
3623
|
-
applyTransaction(
|
|
3624
|
-
applyTransactionAsync(agTransaction: RowDataTransaction, callback?: (res: ServerSideTransactionResult) => void): void;
|
|
3794
|
+
applyTransaction(transaction: any): any;
|
|
3625
3795
|
loadMore(): void;
|
|
3626
3796
|
}
|
|
3627
3797
|
|
|
@@ -3670,7 +3840,13 @@ declare const GridProServerSideDatasource_base: (new (...args: any[]) => {
|
|
|
3670
3840
|
togglePopover(options?: boolean): boolean;
|
|
3671
3841
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3672
3842
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3673
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options
|
|
3843
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options
|
|
3844
|
+
/**
|
|
3845
|
+
* Resets the grid data while keeping columnDefs and reloads data.
|
|
3846
|
+
* @remarks This is used when the grid is already initialized and we want to reload the data due to a criteria/filter change.
|
|
3847
|
+
* @beta
|
|
3848
|
+
*/
|
|
3849
|
+
?: boolean | EventListenerOptions): void;
|
|
3674
3850
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3675
3851
|
readonly attributes: NamedNodeMap;
|
|
3676
3852
|
get classList(): DOMTokenList;
|
|
@@ -4096,90 +4272,944 @@ export declare enum GridProStatusBarTypes {
|
|
|
4096
4272
|
export declare const gridProTemplate: ViewTemplate;
|
|
4097
4273
|
|
|
4098
4274
|
/**
|
|
4099
|
-
* The
|
|
4100
|
-
* @
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
/**
|
|
4105
|
-
* The event detail for the grid pro genesis datasource `sizeChanged` event.
|
|
4106
|
-
* @public
|
|
4107
|
-
*/
|
|
4108
|
-
export declare type GrigProGenesisDatasourceSizeChangedEventDetail = {
|
|
4109
|
-
value: number;
|
|
4110
|
-
oldValue: number;
|
|
4111
|
-
};
|
|
4112
|
-
|
|
4113
|
-
/**
|
|
4114
|
-
* Implementation for the KV Storage State Persistence interface.
|
|
4115
|
-
* @public
|
|
4275
|
+
* The Grid Pro element (AG Grid v34 compatible).
|
|
4276
|
+
* @remarks Grid Pro is a Web Component wrapper around the AG Grid Community library.
|
|
4277
|
+
* @beta
|
|
4278
|
+
* @tagname %%prefix%%-grid-pro
|
|
4116
4279
|
*/
|
|
4117
|
-
export declare class
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4280
|
+
export declare class GridProV34 extends GridProV34_base {
|
|
4281
|
+
gridApi: GridApi_2;
|
|
4282
|
+
gridErrorItems: GridProErrorItem<GridProErrorEvent['detail']>[];
|
|
4283
|
+
statePersistence: StatePersistence;
|
|
4284
|
+
/**
|
|
4285
|
+
* Timeout function used to debounce resize calls
|
|
4286
|
+
* @internal
|
|
4287
|
+
*/
|
|
4288
|
+
private debounced;
|
|
4289
|
+
autoCellRendererByType: boolean;
|
|
4290
|
+
onlyTemplateColDefs: boolean;
|
|
4291
|
+
/**
|
|
4292
|
+
* Boolean attribute to control whether the grid autosizes the columns upon interaction.
|
|
4293
|
+
* This will disable the column widths from being manually set, and doesn't save the widths
|
|
4294
|
+
* in local storage if you are using `persist-column-state-key`.
|
|
4295
|
+
*/
|
|
4296
|
+
gridAutosizingEnabled: boolean;
|
|
4297
|
+
/**
|
|
4298
|
+
* If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef
|
|
4299
|
+
* @remarks Defaults to true
|
|
4300
|
+
*/
|
|
4301
|
+
enableCellFlashing: boolean;
|
|
4302
|
+
/**
|
|
4303
|
+
* If true, will enable row flashing for all rows for `add` async transactions
|
|
4304
|
+
*/
|
|
4305
|
+
enableRowFlashing: boolean;
|
|
4306
|
+
/**
|
|
4307
|
+
* The key to use for persisting the column state in local browser or KV storage.
|
|
4308
|
+
*/
|
|
4309
|
+
persistColumnStateKey: string;
|
|
4310
|
+
/**
|
|
4311
|
+
* The key to use for persisting the filter model in local browser or KV storage.
|
|
4312
|
+
*/
|
|
4313
|
+
persistFilterModelKey: string;
|
|
4314
|
+
/**
|
|
4315
|
+
* The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.
|
|
4316
|
+
* @remarks Can be one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.
|
|
4317
|
+
* @public
|
|
4318
|
+
*/
|
|
4319
|
+
headerCaseType: GridProCaseType;
|
|
4320
|
+
/**
|
|
4321
|
+
* The row data to display in the grid.
|
|
4322
|
+
* @remarks For scenarios where you want to set data manually, without relying on `<grid-pro-client-side-datasource>`.
|
|
4323
|
+
* @public
|
|
4324
|
+
*/
|
|
4325
|
+
rowData: any[];
|
|
4326
|
+
rowDataChanged(_: any, rowData: any): void;
|
|
4327
|
+
columnComponentName: string;
|
|
4328
|
+
eventsAndCallbacks: GridProEventsAndCallbacks;
|
|
4329
|
+
headerHeight: number;
|
|
4330
|
+
rowHeight: number;
|
|
4331
|
+
classNames: string;
|
|
4332
|
+
agGrid: GridApi_2;
|
|
4333
|
+
gridSlot: HTMLSlotElement;
|
|
4334
|
+
themeMode: 'light' | 'dark';
|
|
4335
|
+
gridComponents: {
|
|
4336
|
+
[componentName: string]: any;
|
|
4337
|
+
};
|
|
4338
|
+
/**
|
|
4339
|
+
* Enable pagination for the grid.
|
|
4340
|
+
* @remarks
|
|
4341
|
+
* When enabled, the grid will automatically configure pagination settings.
|
|
4342
|
+
* Note that AG Grid's full pagination functionality requires the Enterprise module.
|
|
4343
|
+
* While basic pagination will work in Community edition, advanced features like
|
|
4344
|
+
* custom pagination components require Enterprise.
|
|
4345
|
+
* @see https://www.ag-grid.com/javascript-data-grid/row-pagination/
|
|
4346
|
+
* @see https://www.ag-grid.com/javascript-data-grid/server-side-model-pagination/
|
|
4347
|
+
*/
|
|
4348
|
+
pagination: boolean;
|
|
4349
|
+
/**
|
|
4350
|
+
* Number of rows per page when pagination is enabled.
|
|
4351
|
+
* @remarks
|
|
4352
|
+
* **Default Value:** `DatasourceDefaults.DEFAULT_PAGINATION_PAGE_SIZE (25)` (default MAX_ROWS divided by 10)
|
|
4353
|
+
*
|
|
4354
|
+
* **Only used when pagination is enabled on client-side, server-side pagination page size is fixed to MAX_ROWS.**
|
|
4355
|
+
*
|
|
4356
|
+
* Note that AG Grid's full pagination functionality requires the Enterprise module.
|
|
4357
|
+
*/
|
|
4358
|
+
paginationPageSize: number;
|
|
4359
|
+
/**
|
|
4360
|
+
* Configuration for the grid status bar components.
|
|
4361
|
+
* @remarks
|
|
4362
|
+
* This requires AG Grid Enterprise module to be enabled.
|
|
4363
|
+
* The status bar will only be displayed if the Enterprise module is available.
|
|
4364
|
+
* @see https://www.ag-grid.com/javascript-data-grid/component-status-bar/
|
|
4365
|
+
*/
|
|
4366
|
+
statusBarConfig: GridProStatusBarConfig;
|
|
4367
|
+
/**
|
|
4368
|
+
* Enables or disables the grid status bar.
|
|
4369
|
+
* @remarks
|
|
4370
|
+
* Default is false.
|
|
4371
|
+
* When disabled, no status bar will be displayed regardless of statusBarConfig.
|
|
4372
|
+
* This requires AG Grid Enterprise module to be available for the status bar to be displayed when enabled.
|
|
4373
|
+
*/
|
|
4374
|
+
withStatusBar: boolean;
|
|
4375
|
+
/**
|
|
4376
|
+
* Custom error handler dialog template function.
|
|
4377
|
+
* @remarks
|
|
4378
|
+
* When provided, this function will be used to render custom error dialogs instead of the default error handler.
|
|
4379
|
+
* The function should accept a prefix string and an array of grid error items and return a ViewTemplate.
|
|
4380
|
+
* If not provided, the default error handler dialog template will be used.
|
|
4381
|
+
*/
|
|
4382
|
+
customErrorHandlerTemplate?: (prefix: string, gridErrorItems: GridProErrorItem<any>[]) => ViewTemplate;
|
|
4383
|
+
private columnState;
|
|
4384
|
+
protected agGridOptions: GridOptions_2;
|
|
4385
|
+
protected initialised: boolean;
|
|
4386
|
+
private rehydrationAttempted;
|
|
4387
|
+
private rootEventsListeners;
|
|
4388
|
+
private gridEventsQueue;
|
|
4389
|
+
private registeredGridEvents;
|
|
4390
|
+
private _filterConfig;
|
|
4391
|
+
getfilterModel(): Promise<{
|
|
4125
4392
|
[key: string]: any;
|
|
4126
4393
|
}>;
|
|
4127
|
-
|
|
4394
|
+
setFilterModel(value: {
|
|
4128
4395
|
[key: string]: any;
|
|
4129
4396
|
}): Promise<void>;
|
|
4130
|
-
}
|
|
4131
|
-
|
|
4132
|
-
/**
|
|
4133
|
-
* Label Value Status Bar Component
|
|
4134
|
-
* @public
|
|
4135
|
-
*/
|
|
4136
|
-
export declare class LabelValueStatusBarComponent implements IStatusPanelComp {
|
|
4137
|
-
private element;
|
|
4138
|
-
private labelElement;
|
|
4139
|
-
private valueElement;
|
|
4140
|
-
private currentParams;
|
|
4141
|
-
init(params: IStatusPanelParams): void;
|
|
4142
|
-
updateParams(params: Partial<LabelValueStatusBarParams>): void;
|
|
4143
|
-
private updateDisplay;
|
|
4144
|
-
getGui(): HTMLElement;
|
|
4145
|
-
destroy(): void;
|
|
4146
|
-
}
|
|
4147
|
-
|
|
4148
|
-
/**
|
|
4149
|
-
* Label Value Status Bar Component
|
|
4150
|
-
* @public
|
|
4151
|
-
*/
|
|
4152
|
-
export declare type LabelValueStatusBarParams = {
|
|
4153
|
-
label: string;
|
|
4154
|
-
value: any;
|
|
4155
|
-
hide: boolean;
|
|
4156
|
-
};
|
|
4157
|
-
|
|
4158
|
-
/**
|
|
4159
|
-
* A status bar component that shows a "Load More" button when more rows are available
|
|
4160
|
-
* @public
|
|
4161
|
-
*/
|
|
4162
|
-
export declare class LoadMoreStatusBarComponent implements IStatusPanelComp {
|
|
4163
|
-
private element;
|
|
4164
|
-
private loadMoreButton;
|
|
4165
|
-
private progressRing;
|
|
4166
|
-
private buttonLabel;
|
|
4167
|
-
private params;
|
|
4168
|
-
private designSystemPrefix;
|
|
4169
|
-
private isLoading;
|
|
4170
|
-
private isLeftAligned;
|
|
4171
|
-
private gridApi;
|
|
4172
|
-
private clickHandler;
|
|
4173
|
-
init(params: IStatusPanelParams): void;
|
|
4174
|
-
private createProgressRing;
|
|
4175
|
-
private createLoadMoreButton;
|
|
4176
|
-
/**
|
|
4177
|
-
* Update the aria-label based on current state and tooltip
|
|
4178
|
-
*/
|
|
4179
|
-
private updateAriaLabel;
|
|
4180
4397
|
/**
|
|
4181
|
-
*
|
|
4182
|
-
|
|
4398
|
+
* Injectable config that allows to change grid options on an app level basis
|
|
4399
|
+
* To modify options, register instance of the config in DOM container that is
|
|
4400
|
+
* above the grid or on the top level of the application, so it applies to all grids.
|
|
4401
|
+
*
|
|
4402
|
+
* @example
|
|
4403
|
+
* ```
|
|
4404
|
+
* DI.getOrCreateDOMContainer().register([
|
|
4405
|
+
* Registration.instance<GridOptionsConfig>(GridOptionsConfig, {
|
|
4406
|
+
* headerHeight: 50,
|
|
4407
|
+
* }),
|
|
4408
|
+
* ]);
|
|
4409
|
+
* ```
|
|
4410
|
+
*/
|
|
4411
|
+
gridOptionsConfig: GridOptionsConfig;
|
|
4412
|
+
provider: any;
|
|
4413
|
+
constructor();
|
|
4414
|
+
/**
|
|
4415
|
+
* Adds an event listener to the grid element.
|
|
4416
|
+
* @param eventType - The event type to listen for. Recommened to use the `Events` from AG Grid.
|
|
4417
|
+
* @param listener - The event listener to call when the event is fired.
|
|
4418
|
+
* @param options - An options object that specifies characteristics about the event listener.
|
|
4419
|
+
* @privateRemarks
|
|
4420
|
+
* This will change once we do the AG Upgrade and `eventType` will be correctly typed.
|
|
4421
|
+
*/
|
|
4422
|
+
addEventListener(eventType: string, listener: any, options?: boolean | AddEventListenerOptions): void;
|
|
4423
|
+
private addGridEventListener;
|
|
4424
|
+
private handleError;
|
|
4425
|
+
private handleBaseDatasourceError;
|
|
4426
|
+
hideDatasourceError(): void;
|
|
4427
|
+
connectedCallback(): void;
|
|
4428
|
+
disconnectedCallback(): void;
|
|
4429
|
+
/**
|
|
4430
|
+
* Helper method to add or remove datasource event listeners
|
|
4431
|
+
* @internal
|
|
4432
|
+
*/
|
|
4433
|
+
private toggleDatasourceEventListeners;
|
|
4434
|
+
/**
|
|
4435
|
+
* Handles datasource initialization
|
|
4436
|
+
* @internal
|
|
4437
|
+
*/
|
|
4438
|
+
private handleInitialize;
|
|
4439
|
+
/**
|
|
4440
|
+
* Handles data loading from datasource
|
|
4441
|
+
* @internal
|
|
4442
|
+
*/
|
|
4443
|
+
private handleDataLoaded;
|
|
4444
|
+
/**
|
|
4445
|
+
* Handles data changes from datasource
|
|
4446
|
+
* @internal
|
|
4447
|
+
*/
|
|
4448
|
+
private handleDataChanged;
|
|
4449
|
+
private flashAddedCells;
|
|
4450
|
+
/**
|
|
4451
|
+
* Handles schema updates from datasource
|
|
4452
|
+
* @internal
|
|
4453
|
+
*/
|
|
4454
|
+
private handleSchemaUpdated;
|
|
4455
|
+
/**
|
|
4456
|
+
* Handles data clearing from datasource
|
|
4457
|
+
* @internal
|
|
4458
|
+
*/
|
|
4459
|
+
private handleDataCleared;
|
|
4460
|
+
/**
|
|
4461
|
+
* Handles loading started from datasource
|
|
4462
|
+
* @internal
|
|
4463
|
+
*/
|
|
4464
|
+
private handleLoadingStarted;
|
|
4465
|
+
/**
|
|
4466
|
+
* Handles loading finished from datasource
|
|
4467
|
+
* @internal
|
|
4468
|
+
*/
|
|
4469
|
+
private handleLoadingFinished;
|
|
4470
|
+
/**
|
|
4471
|
+
* Handles no data available from datasource
|
|
4472
|
+
* @internal
|
|
4473
|
+
*/
|
|
4474
|
+
private handleNoDataAvailable;
|
|
4475
|
+
/**
|
|
4476
|
+
* Handles filter restoration from datasource
|
|
4477
|
+
* @internal
|
|
4478
|
+
*/
|
|
4479
|
+
private handleFiltersRestored;
|
|
4480
|
+
/**
|
|
4481
|
+
* Handles more data availability from datasource
|
|
4482
|
+
* @internal
|
|
4483
|
+
*/
|
|
4484
|
+
private handleMoreDataAvailable;
|
|
4485
|
+
/**
|
|
4486
|
+
* Handles datasource errors
|
|
4487
|
+
* @internal
|
|
4488
|
+
*/
|
|
4489
|
+
private handleDatasourceError;
|
|
4490
|
+
/**
|
|
4491
|
+
* Handles refreshing server-side data
|
|
4492
|
+
* @internal
|
|
4493
|
+
*/
|
|
4494
|
+
private handleRefreshServerSide;
|
|
4495
|
+
/**
|
|
4496
|
+
* Handles setting server-side datasource
|
|
4497
|
+
* @internal
|
|
4498
|
+
*/
|
|
4499
|
+
private handleSetServerSideDatasource;
|
|
4500
|
+
/**
|
|
4501
|
+
* Handles adding CSS class to grid element
|
|
4502
|
+
* @internal
|
|
4503
|
+
*/
|
|
4504
|
+
private handleAddGridCssClass;
|
|
4505
|
+
/**
|
|
4506
|
+
* Handles removing CSS class from grid element
|
|
4507
|
+
* @internal
|
|
4508
|
+
*/
|
|
4509
|
+
private handleRemoveGridCssClass;
|
|
4510
|
+
/**
|
|
4511
|
+
* Handles applying server-side transactions
|
|
4512
|
+
* @internal
|
|
4513
|
+
*/
|
|
4514
|
+
private handleApplyServerSideTransaction;
|
|
4515
|
+
combineAllGridComponents(gridOptionsComponents: GridComponents): GridComponents;
|
|
4516
|
+
statePersistanceEnabled(): boolean;
|
|
4517
|
+
/**
|
|
4518
|
+
* Gets the currently selected rows from the grid
|
|
4519
|
+
* @public
|
|
4520
|
+
* @returns Array of selected row data
|
|
4521
|
+
*/
|
|
4522
|
+
getSelectedRows(): any[];
|
|
4523
|
+
/**
|
|
4524
|
+
* Gets the row data from selected cell ranges
|
|
4525
|
+
* @internal
|
|
4526
|
+
* @returns Array containing the row data from selected cell ranges, or empty array if none
|
|
4527
|
+
*/
|
|
4528
|
+
private getCellRangeRowData;
|
|
4529
|
+
/**
|
|
4530
|
+
* Checks if any rows are currently selected
|
|
4531
|
+
* @public
|
|
4532
|
+
* @returns True if rows are selected, false otherwise
|
|
4533
|
+
*/
|
|
4534
|
+
hasSelectedRows(): boolean;
|
|
4535
|
+
/**
|
|
4536
|
+
* Because we try and resize the grid to fit using callbacks on events, this will cause
|
|
4537
|
+
* a stack overflow of calls to resize, so we need to debounce it.
|
|
4538
|
+
* @internal
|
|
4539
|
+
*/
|
|
4540
|
+
private debouncedColumnAutosize;
|
|
4541
|
+
/**
|
|
4542
|
+
* If {@link @genesislcap/grid-pro#GridPro.gridAutosizingEnabled} is true, will remove the widths from the column states.
|
|
4543
|
+
* @internal
|
|
4544
|
+
*/
|
|
4545
|
+
private removeConfigWidthsToAutosize;
|
|
4546
|
+
private saveColumnState;
|
|
4547
|
+
/**
|
|
4548
|
+
* Gets the saved grid ColumnState[] from storage
|
|
4549
|
+
* @remarks This is used to restore the grid state when the grid is rehydrated
|
|
4550
|
+
* @privateRemarks Not using `columnApi.get|setColumnState()` for these flows as it doesn't work setting new columnDefs vs different ordering.
|
|
4551
|
+
* @public
|
|
4552
|
+
*/
|
|
4553
|
+
getSavedColumnState(): Promise<ColumnState_2[]>;
|
|
4554
|
+
private restoreColumnState;
|
|
4555
|
+
cacheFilterConfig(): void;
|
|
4556
|
+
restoreCachedFilterConfig(): Promise<void>;
|
|
4557
|
+
/**
|
|
4558
|
+
* @public
|
|
4559
|
+
*/
|
|
4560
|
+
get gridOptions(): GridOptions_2;
|
|
4561
|
+
/**
|
|
4562
|
+
* @public
|
|
4563
|
+
*/
|
|
4564
|
+
get isServerSide(): boolean;
|
|
4565
|
+
/**
|
|
4566
|
+
* @public
|
|
4567
|
+
*/
|
|
4568
|
+
get gridParams(): GridParams_2;
|
|
4569
|
+
/**
|
|
4570
|
+
* Get the datasource element.
|
|
4571
|
+
* @remarks This will return the first datasource element found in the light DOM, wrapping all concrete datasource implementations.
|
|
4572
|
+
* @public
|
|
4573
|
+
*/
|
|
4574
|
+
get gridProDatasource(): GridProBaseDatasource;
|
|
4575
|
+
set gridOptions(options: GridOptions_2);
|
|
4576
|
+
private setLocalGridOptions;
|
|
4577
|
+
/**
|
|
4578
|
+
* Clears the local grid options, this is used to clear the grid options when the grid is restarted.
|
|
4579
|
+
* @public
|
|
4580
|
+
*/
|
|
4581
|
+
clearLocalGridOptions(): void;
|
|
4582
|
+
private initGrid;
|
|
4583
|
+
/**
|
|
4584
|
+
* Will merge templated column definitions with `columnDefs` plus localStorage's column state or `deferredColumnStates`.
|
|
4585
|
+
* @public
|
|
4586
|
+
* @remarks This will favor the column state from the browser's local storage over the `deferredColumnStates` property on the `grid-pro-genesis-datasource` element.
|
|
4587
|
+
* @param columnDefs - The column definitions to apply to the grid.
|
|
4588
|
+
* @param deferredColumnDefsOrState - If true, will merge the column definitions with the saved column state or the `deferredColumnStates` property
|
|
4589
|
+
* on the `grid-pro-genesis-datasource` element. Defaults to false but `grid-pro-genesis-datasource` will set this to true.
|
|
4590
|
+
* @returns The merged column definitions.
|
|
4591
|
+
*/
|
|
4592
|
+
mergeAllColumnDefsAndStates(columnDefs: ColDef_2[], deferredColumnDefsOrState?: boolean): Promise<ColDef<any>[] | (ColDef_2<any, any> | {
|
|
4593
|
+
colId?: string;
|
|
4594
|
+
field?: string;
|
|
4595
|
+
type?: string | string[];
|
|
4596
|
+
valueGetter?: string | ValueGetterFunc<any> | ValueGetterFunc_2<any, any, any>;
|
|
4597
|
+
valueFormatter?: string | ValueFormatterFunc<any> | ValueFormatterFunc_2<any, any, any>;
|
|
4598
|
+
refData?: {
|
|
4599
|
+
[key: string]: string;
|
|
4600
|
+
};
|
|
4601
|
+
keyCreator?: ((params: KeyCreatorParams<any, any>) => string) | ((params: KeyCreatorParams_2<any, any, any>) => string);
|
|
4602
|
+
equals?: (valueA: any, valueB: any) => boolean;
|
|
4603
|
+
tooltipField?: string;
|
|
4604
|
+
tooltipValueGetter?: ((params: ITooltipParams<any, any, any>) => string | any) | ((params: ITooltipParams_2<any, any, any>) => string | any);
|
|
4605
|
+
checkboxSelection?: boolean | CheckboxSelectionCallback<any> | CheckboxSelectionCallback_2<any, any, any>;
|
|
4606
|
+
showDisabledCheckboxes?: boolean;
|
|
4607
|
+
icons?: {
|
|
4608
|
+
[key: string]: string | Function;
|
|
4609
|
+
};
|
|
4610
|
+
suppressNavigable?: boolean | SuppressNavigableCallback<any> | SuppressNavigableCallback_2<any, any, any>;
|
|
4611
|
+
suppressKeyboardEvent?: ((params: SuppressKeyboardEventParams<any>) => boolean) | ((params: SuppressKeyboardEventParams_2<any, any, any>) => boolean);
|
|
4612
|
+
suppressPaste?: boolean | SuppressPasteCallback<any> | SuppressPasteCallback_2<any, any, any>;
|
|
4613
|
+
suppressFillHandle?: boolean;
|
|
4614
|
+
hide?: boolean | null;
|
|
4615
|
+
initialHide?: boolean;
|
|
4616
|
+
lockVisible?: boolean;
|
|
4617
|
+
lockPosition?: boolean | "left" | "right";
|
|
4618
|
+
suppressMovable?: boolean;
|
|
4619
|
+
editable?: boolean | EditableCallback<any> | EditableCallback_2<any, any, any>;
|
|
4620
|
+
valueSetter?: string | ValueSetterFunc<any> | ValueSetterFunc_2<any, any, any>;
|
|
4621
|
+
valueParser?: string | ValueParserFunc<any, any> | ValueParserFunc_2<any, any, any>;
|
|
4622
|
+
cellEditor?: any;
|
|
4623
|
+
cellEditorFramework?: any;
|
|
4624
|
+
cellEditorParams?: any;
|
|
4625
|
+
cellEditorSelector?: CellEditorSelectorFunc<any> | CellEditorSelectorFunc_2<any, any, any>;
|
|
4626
|
+
singleClickEdit?: boolean;
|
|
4627
|
+
cellEditorPopup?: boolean;
|
|
4628
|
+
cellEditorPopupPosition?: "over" | "under";
|
|
4629
|
+
onCellValueChanged?: ((event: NewValueParams<any>) => void) | ((event: NewValueParams_2<any, any, any>) => void);
|
|
4630
|
+
onCellClicked?: ((event: CellClickedEvent<any, any>) => void) | ((event: CellClickedEvent_2<any, any, any>) => void);
|
|
4631
|
+
onCellDoubleClicked?: ((event: CellDoubleClickedEvent<any, any>) => void) | ((event: CellDoubleClickedEvent_2<any, any, any>) => void);
|
|
4632
|
+
onCellContextMenu?: ((event: CellContextMenuEvent<any, any>) => void) | ((event: CellContextMenuEvent_2<any, any, any>) => void);
|
|
4633
|
+
getQuickFilterText?: ((params: GetQuickFilterTextParams<any, any>) => string) | ((params: GetQuickFilterTextParams_2<any, any, any>) => string);
|
|
4634
|
+
filterValueGetter?: string | ValueGetterFunc<any> | ValueGetterFunc_2<any, any, any>;
|
|
4635
|
+
floatingFilter?: boolean;
|
|
4636
|
+
wrapHeaderText?: boolean;
|
|
4637
|
+
autoHeaderHeight?: boolean;
|
|
4638
|
+
headerComponent?: any;
|
|
4639
|
+
headerComponentFramework?: any;
|
|
4640
|
+
headerComponentParams?: any;
|
|
4641
|
+
menuTabs?: ColumnMenuTab[];
|
|
4642
|
+
columnsMenuParams?: ColumnsMenuParams;
|
|
4643
|
+
suppressMenu?: boolean;
|
|
4644
|
+
headerCheckboxSelection?: boolean | HeaderCheckboxSelectionCallback<any> | HeaderCheckboxSelectionCallback_2<any, any, any>;
|
|
4645
|
+
headerCheckboxSelectionFilteredOnly?: boolean;
|
|
4646
|
+
headerCheckboxSelectionCurrentPageOnly?: boolean;
|
|
4647
|
+
chartDataType?: "category" | "series" | "time" | "excluded";
|
|
4648
|
+
pinned?: boolean | "left" | "right" | null;
|
|
4649
|
+
initialPinned?: boolean | "left" | "right";
|
|
4650
|
+
lockPinned?: boolean;
|
|
4651
|
+
pivot?: boolean | null;
|
|
4652
|
+
initialPivot?: boolean;
|
|
4653
|
+
pivotIndex?: number | null;
|
|
4654
|
+
initialPivotIndex?: number;
|
|
4655
|
+
pivotComparator?: (valueA: string, valueB: string) => number;
|
|
4656
|
+
enablePivot?: boolean;
|
|
4657
|
+
cellStyle?: CellStyle | CellStyleFunc<any> | CellStyleFunc_2<any, any, any>;
|
|
4658
|
+
cellClass?: string | string[] | CellClassFunc<any> | CellClassFunc_2<any, any, any>;
|
|
4659
|
+
cellClassRules?: CellClassRules<any> | CellClassRules_2<any, any, any>;
|
|
4660
|
+
cellRenderer?: any;
|
|
4661
|
+
cellRendererFramework?: any;
|
|
4662
|
+
cellRendererParams?: any;
|
|
4663
|
+
cellRendererSelector?: CellRendererSelectorFunc<any> | CellRendererSelectorFunc_2<any, any, any>;
|
|
4664
|
+
autoHeight?: boolean;
|
|
4665
|
+
wrapText?: boolean;
|
|
4666
|
+
enableCellChangeFlash?: boolean;
|
|
4667
|
+
suppressCellFlash?: boolean;
|
|
4668
|
+
rowDrag?: boolean | RowDragCallback<any> | RowDragCallback_2<any, any, any>;
|
|
4669
|
+
rowDragText?: ((params: IRowDragItem, dragItemCount: number) => string) | ((params: IRowDragItem_2, dragItemCount: number) => string);
|
|
4670
|
+
dndSource?: boolean | DndSourceCallback<any> | DndSourceCallback_2<any, any, any>;
|
|
4671
|
+
dndSourceOnRowDrag?: ((params: DndSourceOnRowDragParams<any>) => void) | ((params: DndSourceOnRowDragParams_2<any, any>) => void);
|
|
4672
|
+
rowGroup?: boolean | null;
|
|
4673
|
+
initialRowGroup?: boolean;
|
|
4674
|
+
rowGroupIndex?: number | null;
|
|
4675
|
+
initialRowGroupIndex?: number;
|
|
4676
|
+
enableRowGroup?: boolean;
|
|
4677
|
+
enableValue?: boolean;
|
|
4678
|
+
aggFunc?: string | IAggFunc<any, any> | IAggFunc_2<any, any, any>;
|
|
4679
|
+
initialAggFunc?: string | IAggFunc<any, any> | IAggFunc_2<any, any, any>;
|
|
4680
|
+
defaultAggFunc?: string;
|
|
4681
|
+
allowedAggFuncs?: string[];
|
|
4682
|
+
showRowGroup?: string | boolean;
|
|
4683
|
+
sortable?: boolean;
|
|
4684
|
+
sort?: "asc" | "desc";
|
|
4685
|
+
initialSort?: "asc" | "desc";
|
|
4686
|
+
sortIndex?: number | null;
|
|
4687
|
+
initialSortIndex?: number;
|
|
4688
|
+
sortingOrder?: SortDirection[];
|
|
4689
|
+
comparator?: ((valueA: any, valueB: any, nodeA: IRowNode<any>, nodeB: IRowNode<any>, isDescending: boolean) => number) | ((valueA: any, valueB: any, nodeA: IRowNode_2<any>, nodeB: IRowNode_2<any>, isDescending: boolean) => number);
|
|
4690
|
+
unSortIcon?: boolean;
|
|
4691
|
+
colSpan?: ((params: ColSpanParams<any>) => number) | ((params: ColSpanParams_2<any, any, any>) => number);
|
|
4692
|
+
rowSpan?: ((params: RowSpanParams<any>) => number) | ((params: RowSpanParams_2<any, any, any>) => number);
|
|
4693
|
+
width?: number;
|
|
4694
|
+
initialWidth?: number;
|
|
4695
|
+
minWidth?: number;
|
|
4696
|
+
maxWidth?: number;
|
|
4697
|
+
flex?: number | null;
|
|
4698
|
+
initialFlex?: number;
|
|
4699
|
+
resizable?: boolean;
|
|
4700
|
+
suppressSizeToFit?: boolean;
|
|
4701
|
+
suppressAutoSize?: boolean;
|
|
4702
|
+
pivotValueColumn?: Column | Column_2<any>;
|
|
4703
|
+
pivotTotalColumnIds?: string[];
|
|
4704
|
+
spanHeaderHeight?: boolean;
|
|
4705
|
+
headerName?: string;
|
|
4706
|
+
headerValueGetter?: string | HeaderValueGetterFunc<any> | HeaderValueGetterFunc_2<any, any, any>;
|
|
4707
|
+
headerTooltip?: string;
|
|
4708
|
+
headerClass?: string | string[] | ((params: HeaderClassParams<any>) => string | string[] | undefined) | ((params: HeaderClassParams_2<any, any, any>) => string | string[] | undefined);
|
|
4709
|
+
suppressHeaderKeyboardEvent?: ((params: SuppressHeaderKeyboardEventParams<any>) => boolean) | ((params: SuppressHeaderKeyboardEventParams_2<any, any, any>) => boolean);
|
|
4710
|
+
columnGroupShow?: "open" | "closed";
|
|
4711
|
+
toolPanelClass?: string | string[] | ((params: ToolPanelClassParams<any>) => string | string[] | undefined) | ((params: ToolPanelClassParams_2<any, any, any>) => string | string[] | undefined);
|
|
4712
|
+
suppressColumnsToolPanel?: boolean;
|
|
4713
|
+
suppressFiltersToolPanel?: boolean;
|
|
4714
|
+
tooltipComponent?: any;
|
|
4715
|
+
tooltipComponentFramework?: any;
|
|
4716
|
+
tooltipComponentParams?: any;
|
|
4717
|
+
pivotKeys?: string[];
|
|
4718
|
+
filter?: any;
|
|
4719
|
+
filterFramework?: any;
|
|
4720
|
+
filterParams?: any;
|
|
4721
|
+
floatingFilterComponent?: any;
|
|
4722
|
+
floatingFilterComponentFramework?: any;
|
|
4723
|
+
floatingFilterComponentParams?: any;
|
|
4724
|
+
cellDataType?: boolean | string;
|
|
4725
|
+
useValueFormatterForExport?: boolean;
|
|
4726
|
+
useValueParserForImport?: boolean;
|
|
4727
|
+
suppressFloatingFilterButton?: boolean;
|
|
4728
|
+
dateComponent?: any;
|
|
4729
|
+
dateComponentParams?: any;
|
|
4730
|
+
getFindText?: GetFindTextFunc<any, any, any>;
|
|
4731
|
+
columnChooserParams?: ColumnChooserParams;
|
|
4732
|
+
suppressHeaderMenuButton?: boolean;
|
|
4733
|
+
suppressHeaderFilterButton?: boolean;
|
|
4734
|
+
mainMenuItems?: GetMainMenuItems<any, any> | (MenuItemDef<any, any> | DefaultMenuItem)[];
|
|
4735
|
+
contextMenuItems?: GetContextMenuItems<any, any> | (MenuItemDef<any, any> | DefaultMenuItem)[];
|
|
4736
|
+
loadingCellRenderer?: any;
|
|
4737
|
+
loadingCellRendererParams?: any;
|
|
4738
|
+
loadingCellRendererSelector?: ILoadingCellRendererSelectorFunc<any, any, any>;
|
|
4739
|
+
rowGroupingHierarchy?: (string | ColDef_2<any, any>)[];
|
|
4740
|
+
spanRows?: boolean | ((params: SpanRowsParams<any, any, any>) => boolean);
|
|
4741
|
+
suppressSpanHeaderHeight?: boolean;
|
|
4742
|
+
headerStyle?: HeaderStyle | HeaderStyleFunc<any, any, any>;
|
|
4743
|
+
cellAriaRole?: string;
|
|
4744
|
+
context?: any;
|
|
4745
|
+
suppressHeaderContextMenu?: boolean;
|
|
4746
|
+
})[]>;
|
|
4747
|
+
private panelExists;
|
|
4748
|
+
private addRowCountPanel;
|
|
4749
|
+
private addMaxRowsPanel;
|
|
4750
|
+
private addAggregationPanel;
|
|
4751
|
+
private addDatasourcePanels;
|
|
4752
|
+
private addPaginationPanel;
|
|
4753
|
+
protected setupPaginationAndStatusBar(gridOptions: GridOptions_2): void;
|
|
4754
|
+
globalEventListener(eventType: any, event: any): void;
|
|
4755
|
+
}
|
|
4756
|
+
|
|
4757
|
+
declare const GridProV34_base: (new (...args: any[]) => {
|
|
4758
|
+
#_container: FoundationLayoutContainer | LayoutCacheContainer | DOMContainer;
|
|
4759
|
+
#_latestTokenCode: string;
|
|
4760
|
+
#_hasFirstLoaded: boolean;
|
|
4761
|
+
#_cleanupTimeout: NodeJS.Timeout;
|
|
4762
|
+
#_shouldForceLifecycle: boolean;
|
|
4763
|
+
cloneNode(deep?: boolean): Node;
|
|
4764
|
+
deepClone(): Node;
|
|
4765
|
+
get shouldRunDisconnect(): boolean;
|
|
4766
|
+
get shouldRunConnect(): boolean;
|
|
4767
|
+
#_blockLifecycleDueToTokenChange(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
|
|
4768
|
+
#_tryFindContainingLayout(e: Element): FoundationLayoutContainer | LayoutCacheContainer | DOMContainer;
|
|
4769
|
+
connectedCallback(): void;
|
|
4770
|
+
readonly $fastController: Controller;
|
|
4771
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
4772
|
+
disconnectedCallback(): void;
|
|
4773
|
+
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
4774
|
+
accessKey: string;
|
|
4775
|
+
readonly accessKeyLabel: string;
|
|
4776
|
+
autocapitalize: string;
|
|
4777
|
+
autocorrect: boolean;
|
|
4778
|
+
dir: string;
|
|
4779
|
+
draggable: boolean;
|
|
4780
|
+
hidden: boolean;
|
|
4781
|
+
inert: boolean;
|
|
4782
|
+
innerText: string;
|
|
4783
|
+
lang: string;
|
|
4784
|
+
readonly offsetHeight: number;
|
|
4785
|
+
readonly offsetLeft: number;
|
|
4786
|
+
readonly offsetParent: Element | null;
|
|
4787
|
+
readonly offsetTop: number;
|
|
4788
|
+
readonly offsetWidth: number;
|
|
4789
|
+
outerText: string;
|
|
4790
|
+
popover: string | null;
|
|
4791
|
+
spellcheck: boolean;
|
|
4792
|
+
title: string;
|
|
4793
|
+
translate: boolean;
|
|
4794
|
+
writingSuggestions: string;
|
|
4795
|
+
attachInternals(): ElementInternals;
|
|
4796
|
+
click(): void;
|
|
4797
|
+
hidePopover(): void;
|
|
4798
|
+
showPopover(): void;
|
|
4799
|
+
togglePopover(options?: boolean): boolean;
|
|
4800
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options? /**
|
|
4801
|
+
* The row data to display in the grid.
|
|
4802
|
+
* @remarks For scenarios where you want to set data manually, without relying on `<grid-pro-client-side-datasource>`.
|
|
4803
|
+
* @public
|
|
4804
|
+
*/: boolean | AddEventListenerOptions): void;
|
|
4805
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4806
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4807
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4808
|
+
readonly attributes: NamedNodeMap;
|
|
4809
|
+
get classList(): DOMTokenList;
|
|
4810
|
+
set classList(value: string): any;
|
|
4811
|
+
className: string;
|
|
4812
|
+
readonly clientHeight: number;
|
|
4813
|
+
readonly clientLeft: number;
|
|
4814
|
+
readonly clientTop: number;
|
|
4815
|
+
readonly clientWidth: number;
|
|
4816
|
+
readonly currentCSSZoom: number;
|
|
4817
|
+
id: string;
|
|
4818
|
+
innerHTML: string;
|
|
4819
|
+
readonly localName: string;
|
|
4820
|
+
readonly namespaceURI: string | null;
|
|
4821
|
+
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
4822
|
+
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
4823
|
+
outerHTML: string;
|
|
4824
|
+
readonly ownerDocument: Document;
|
|
4825
|
+
get part(): DOMTokenList;
|
|
4826
|
+
set part(value: string): any;
|
|
4827
|
+
readonly prefix: string | null;
|
|
4828
|
+
readonly scrollHeight: number;
|
|
4829
|
+
scrollLeft: number;
|
|
4830
|
+
scrollTop: number;
|
|
4831
|
+
readonly scrollWidth: number;
|
|
4832
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
4833
|
+
slot: string;
|
|
4834
|
+
readonly tagName: string;
|
|
4835
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
4836
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
4837
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K];
|
|
4838
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K];
|
|
4839
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K];
|
|
4840
|
+
closest<E extends Element = Element>(selectors: string): E;
|
|
4841
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
4842
|
+
getAttribute(qualifiedName: string): string | null;
|
|
4843
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
4844
|
+
getAttributeNames(): string[];
|
|
4845
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
4846
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
4847
|
+
getBoundingClientRect(): DOMRect;
|
|
4848
|
+
getClientRects(): DOMRectList;
|
|
4849
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
4850
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
4851
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
4852
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
4853
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
4854
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
4855
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
4856
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
4857
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
4858
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
4859
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
4860
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
4861
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
4862
|
+
hasAttributes(): boolean;
|
|
4863
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
4864
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
4865
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
4866
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
4867
|
+
matches(selectors: string): boolean;
|
|
4868
|
+
releasePointerCapture(pointerId: number): void;
|
|
4869
|
+
removeAttribute(qualifiedName: string): void;
|
|
4870
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
4871
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
4872
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
4873
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
4874
|
+
scroll(options?: ScrollToOptions): void;
|
|
4875
|
+
scroll(x: number, y: number): void;
|
|
4876
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
4877
|
+
scrollBy(x: number, y: number): void;
|
|
4878
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
4879
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
4880
|
+
scrollTo(x: number, y: number): void;
|
|
4881
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
4882
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
4883
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
4884
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
4885
|
+
setHTMLUnsafe(html: string): void;
|
|
4886
|
+
setPointerCapture(pointerId: number): void;
|
|
4887
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
4888
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
4889
|
+
textContent: string;
|
|
4890
|
+
readonly baseURI: string;
|
|
4891
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
4892
|
+
readonly firstChild: ChildNode | null;
|
|
4893
|
+
readonly isConnected: boolean;
|
|
4894
|
+
readonly lastChild: ChildNode | null;
|
|
4895
|
+
readonly nextSibling: ChildNode | null;
|
|
4896
|
+
readonly nodeName: string;
|
|
4897
|
+
readonly nodeType: number;
|
|
4898
|
+
nodeValue: string | null;
|
|
4899
|
+
readonly parentElement: HTMLElement | null;
|
|
4900
|
+
readonly parentNode: ParentNode | null;
|
|
4901
|
+
readonly previousSibling: ChildNode | null;
|
|
4902
|
+
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
4903
|
+
compareDocumentPosition(other: Node): number;
|
|
4904
|
+
contains(other: Node | null): boolean;
|
|
4905
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
4906
|
+
hasChildNodes(): boolean;
|
|
4907
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
4908
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
4909
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
4910
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
4911
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
4912
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
4913
|
+
normalize(): void;
|
|
4914
|
+
removeChild<T_1 extends Node>(child: T_1): T_1;
|
|
4915
|
+
replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
|
|
4916
|
+
readonly ELEMENT_NODE: 1;
|
|
4917
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
4918
|
+
readonly TEXT_NODE: 3;
|
|
4919
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
4920
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
4921
|
+
readonly ENTITY_NODE: 6;
|
|
4922
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
4923
|
+
readonly COMMENT_NODE: 8;
|
|
4924
|
+
readonly DOCUMENT_NODE: 9;
|
|
4925
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
4926
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
4927
|
+
readonly NOTATION_NODE: 12;
|
|
4928
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
4929
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
4930
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
4931
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
4932
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
4933
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
4934
|
+
dispatchEvent(event: Event): boolean;
|
|
4935
|
+
ariaActiveDescendantElement: Element | null;
|
|
4936
|
+
ariaAtomic: string | null;
|
|
4937
|
+
ariaAutoComplete: string | null;
|
|
4938
|
+
ariaBrailleLabel: string | null;
|
|
4939
|
+
ariaBrailleRoleDescription: string | null;
|
|
4940
|
+
ariaBusy: string | null;
|
|
4941
|
+
ariaChecked: string | null;
|
|
4942
|
+
ariaColCount: string | null;
|
|
4943
|
+
ariaColIndex: string | null;
|
|
4944
|
+
ariaColIndexText: string | null;
|
|
4945
|
+
ariaColSpan: string | null;
|
|
4946
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
4947
|
+
ariaCurrent: string | null;
|
|
4948
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
4949
|
+
ariaDescription: string | null;
|
|
4950
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
4951
|
+
ariaDisabled: string | null;
|
|
4952
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
4953
|
+
ariaExpanded: string | null;
|
|
4954
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
4955
|
+
ariaHasPopup: string | null;
|
|
4956
|
+
ariaHidden: string | null;
|
|
4957
|
+
ariaInvalid: string | null;
|
|
4958
|
+
ariaKeyShortcuts: string | null;
|
|
4959
|
+
ariaLabel: string | null;
|
|
4960
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
4961
|
+
ariaLevel: string | null;
|
|
4962
|
+
ariaLive: string | null;
|
|
4963
|
+
ariaModal: string | null;
|
|
4964
|
+
ariaMultiLine: string | null;
|
|
4965
|
+
ariaMultiSelectable: string | null;
|
|
4966
|
+
ariaOrientation: string | null;
|
|
4967
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
4968
|
+
ariaPlaceholder: string | null;
|
|
4969
|
+
ariaPosInSet: string | null;
|
|
4970
|
+
ariaPressed: string | null;
|
|
4971
|
+
ariaReadOnly: string | null;
|
|
4972
|
+
ariaRelevant: string | null;
|
|
4973
|
+
ariaRequired: string | null;
|
|
4974
|
+
ariaRoleDescription: string | null;
|
|
4975
|
+
ariaRowCount: string | null;
|
|
4976
|
+
ariaRowIndex: string | null;
|
|
4977
|
+
ariaRowIndexText: string | null;
|
|
4978
|
+
ariaRowSpan: string | null;
|
|
4979
|
+
ariaSelected: string | null;
|
|
4980
|
+
ariaSetSize: string | null;
|
|
4981
|
+
ariaSort: string | null;
|
|
4982
|
+
ariaValueMax: string | null;
|
|
4983
|
+
ariaValueMin: string | null;
|
|
4984
|
+
ariaValueNow: string | null;
|
|
4985
|
+
ariaValueText: string | null;
|
|
4986
|
+
role: string | null;
|
|
4987
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
4988
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
4989
|
+
after(...nodes: (Node | string)[]): void;
|
|
4990
|
+
before(...nodes: (Node | string)[]): void;
|
|
4991
|
+
remove(): void;
|
|
4992
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
4993
|
+
readonly nextElementSibling: Element | null;
|
|
4994
|
+
readonly previousElementSibling: Element | null;
|
|
4995
|
+
readonly childElementCount: number;
|
|
4996
|
+
readonly children: HTMLCollection;
|
|
4997
|
+
readonly firstElementChild: Element | null;
|
|
4998
|
+
readonly lastElementChild: Element | null;
|
|
4999
|
+
append(...nodes: (Node | string)[]): void;
|
|
5000
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
5001
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
5002
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
5003
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
5004
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
5005
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
5006
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
5007
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
5008
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
5009
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
5010
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
5011
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
5012
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
5013
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
5014
|
+
get style(): CSSStyleDeclaration;
|
|
5015
|
+
set style(cssText: string): any;
|
|
5016
|
+
contentEditable: string;
|
|
5017
|
+
enterKeyHint: string;
|
|
5018
|
+
inputMode: string;
|
|
5019
|
+
readonly isContentEditable: boolean;
|
|
5020
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
5021
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
5022
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
5023
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
5024
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
5025
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
5026
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
5027
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5028
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
5029
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
5030
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5031
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5032
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5033
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5034
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
5035
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5036
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5037
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
5038
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5039
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
5040
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5041
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
5042
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
5043
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
5044
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
5045
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
5046
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
5047
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
5048
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
5049
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
5050
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5051
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5052
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5053
|
+
onerror: OnErrorEventHandler;
|
|
5054
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
5055
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
5056
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
5057
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5058
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5059
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
5060
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
5061
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
5062
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5063
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5064
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5065
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5066
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
5067
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
5068
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
5069
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
5070
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
5071
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
5072
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
5073
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
5074
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
5075
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5076
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5077
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5078
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
5079
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
5080
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
5081
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
5082
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
5083
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
5084
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
5085
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5086
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
5087
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
5088
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5089
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5090
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
5091
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5092
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5093
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
5094
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5095
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5096
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5097
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5098
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5099
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5100
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5101
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
5102
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5103
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5104
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
5105
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
5106
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
5107
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
5108
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
5109
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
5110
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
5111
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
5112
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
5113
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5114
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5115
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5116
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5117
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5118
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5119
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
5120
|
+
autofocus: boolean;
|
|
5121
|
+
readonly dataset: DOMStringMap;
|
|
5122
|
+
nonce?: string;
|
|
5123
|
+
tabIndex: number;
|
|
5124
|
+
blur(): void;
|
|
5125
|
+
focus(options?: FocusOptions): void;
|
|
5126
|
+
}) & typeof FoundationElement;
|
|
5127
|
+
|
|
5128
|
+
/**
|
|
5129
|
+
* The change size event grid pro genesis datasource.
|
|
5130
|
+
* @public
|
|
5131
|
+
*/
|
|
5132
|
+
export declare type GrigProGenesisDatasourceSizeChangedEvent = CustomEvent<GrigProGenesisDatasourceSizeChangedEventDetail>;
|
|
5133
|
+
|
|
5134
|
+
/**
|
|
5135
|
+
* The event detail for the grid pro genesis datasource `sizeChanged` event.
|
|
5136
|
+
* @public
|
|
5137
|
+
*/
|
|
5138
|
+
export declare type GrigProGenesisDatasourceSizeChangedEventDetail = {
|
|
5139
|
+
value: number;
|
|
5140
|
+
oldValue: number;
|
|
5141
|
+
};
|
|
5142
|
+
|
|
5143
|
+
/**
|
|
5144
|
+
* Implementation for the KV Storage State Persistence interface.
|
|
5145
|
+
* @public
|
|
5146
|
+
*/
|
|
5147
|
+
export declare class KVStorageStatePersistence implements StatePersistence {
|
|
5148
|
+
kvStorage: KVStorage;
|
|
5149
|
+
session: Session;
|
|
5150
|
+
getColumnState(persistColumnStateKey: string): Promise<ColumnState[]>;
|
|
5151
|
+
saveColumnState(persistColumnStateKey: string, columnState: ColumnState[]): Promise<void>;
|
|
5152
|
+
deleteColumnState(persistColumnStateKey: string): Promise<void>;
|
|
5153
|
+
private migrateLocalStorageToKVStorage;
|
|
5154
|
+
getFilterModel(persistFilterModelKey: string): Promise<{
|
|
5155
|
+
[key: string]: any;
|
|
5156
|
+
}>;
|
|
5157
|
+
saveFilterModel(persistFilterModelKey: string, filterModel: {
|
|
5158
|
+
[key: string]: any;
|
|
5159
|
+
}): Promise<void>;
|
|
5160
|
+
}
|
|
5161
|
+
|
|
5162
|
+
/**
|
|
5163
|
+
* Label Value Status Bar Component
|
|
5164
|
+
* @public
|
|
5165
|
+
*/
|
|
5166
|
+
export declare class LabelValueStatusBarComponent implements IStatusPanelComp {
|
|
5167
|
+
private element;
|
|
5168
|
+
private labelElement;
|
|
5169
|
+
private valueElement;
|
|
5170
|
+
private currentParams;
|
|
5171
|
+
init(params: IStatusPanelParams): void;
|
|
5172
|
+
updateParams(params: Partial<LabelValueStatusBarParams>): void;
|
|
5173
|
+
private updateDisplay;
|
|
5174
|
+
getGui(): HTMLElement;
|
|
5175
|
+
destroy(): void;
|
|
5176
|
+
}
|
|
5177
|
+
|
|
5178
|
+
/**
|
|
5179
|
+
* Label Value Status Bar Component
|
|
5180
|
+
* @public
|
|
5181
|
+
*/
|
|
5182
|
+
export declare type LabelValueStatusBarParams = {
|
|
5183
|
+
label: string;
|
|
5184
|
+
value: any;
|
|
5185
|
+
hide: boolean;
|
|
5186
|
+
};
|
|
5187
|
+
|
|
5188
|
+
/**
|
|
5189
|
+
* A status bar component that shows a "Load More" button when more rows are available
|
|
5190
|
+
* @public
|
|
5191
|
+
*/
|
|
5192
|
+
export declare class LoadMoreStatusBarComponent implements IStatusPanelComp {
|
|
5193
|
+
private element;
|
|
5194
|
+
private loadMoreButton;
|
|
5195
|
+
private progressRing;
|
|
5196
|
+
private buttonLabel;
|
|
5197
|
+
private params;
|
|
5198
|
+
private designSystemPrefix;
|
|
5199
|
+
private isLoading;
|
|
5200
|
+
private isLeftAligned;
|
|
5201
|
+
private gridApi;
|
|
5202
|
+
private clickHandler;
|
|
5203
|
+
init(params: IStatusPanelParams): void;
|
|
5204
|
+
private createProgressRing;
|
|
5205
|
+
private createLoadMoreButton;
|
|
5206
|
+
/**
|
|
5207
|
+
* Update the aria-label based on current state and tooltip
|
|
5208
|
+
*/
|
|
5209
|
+
private updateAriaLabel;
|
|
5210
|
+
/**
|
|
5211
|
+
* Show or hide the loading state
|
|
5212
|
+
*/
|
|
4183
5213
|
private showLoading;
|
|
4184
5214
|
updateButtonVisibility(): void;
|
|
4185
5215
|
updateParams(params: LoadMoreStatusBarParams): void;
|
|
@@ -4586,6 +5616,29 @@ export declare const textFieldRendererStyles: ElementStyles;
|
|
|
4586
5616
|
*/
|
|
4587
5617
|
export declare const textRendererStyles: ElementStyles;
|
|
4588
5618
|
|
|
5619
|
+
/**
|
|
5620
|
+
* @public
|
|
5621
|
+
*/
|
|
5622
|
+
/**
|
|
5623
|
+
* Interface for transaction data
|
|
5624
|
+
*/
|
|
5625
|
+
declare interface TransactionData {
|
|
5626
|
+
add?: any[];
|
|
5627
|
+
remove?: any[];
|
|
5628
|
+
update?: any[];
|
|
5629
|
+
addIndex?: number;
|
|
5630
|
+
}
|
|
5631
|
+
|
|
5632
|
+
/**
|
|
5633
|
+
* Interface for transaction data
|
|
5634
|
+
*/
|
|
5635
|
+
declare interface TransactionData_2 {
|
|
5636
|
+
add?: any[];
|
|
5637
|
+
remove?: any[];
|
|
5638
|
+
update?: any[];
|
|
5639
|
+
addIndex?: number;
|
|
5640
|
+
}
|
|
5641
|
+
|
|
4589
5642
|
/**
|
|
4590
5643
|
* @remarks - Helper type to untype (`never`) non-function properties from GridOptions
|
|
4591
5644
|
* @internal
|