@genesislcap/grid-pro 14.348.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.
Files changed (124) hide show
  1. package/dist/custom-elements.json +2293 -1443
  2. package/dist/dts/cell-renderers/boolean.renderer.d.ts.map +1 -1
  3. package/dist/dts/datasource/base.datasource.d.ts +20 -15
  4. package/dist/dts/datasource/base.datasource.d.ts.map +1 -1
  5. package/dist/dts/datasource/index.d.ts +1 -0
  6. package/dist/dts/datasource/index.d.ts.map +1 -1
  7. package/dist/dts/datasource/server-side.datasource.d.ts +9 -9
  8. package/dist/dts/datasource/server-side.datasource.d.ts.map +1 -1
  9. package/dist/dts/grid-pro-genesis-datasource/datasource-events.types.d.ts +101 -0
  10. package/dist/dts/grid-pro-genesis-datasource/datasource-events.types.d.ts.map +1 -0
  11. package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +24 -9
  12. package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
  13. package/dist/dts/grid-pro-v34.d.ts +862 -0
  14. package/dist/dts/grid-pro-v34.d.ts.map +1 -0
  15. package/dist/dts/grid-pro.d.ts +88 -1
  16. package/dist/dts/grid-pro.d.ts.map +1 -1
  17. package/dist/dts/grid-pro.definitions.d.ts.map +1 -1
  18. package/dist/dts/index.d.ts +1 -0
  19. package/dist/dts/index.d.ts.map +1 -1
  20. package/dist/dts/status-bar-components/label-value.status-bar.d.ts +1 -1
  21. package/dist/dts/status-bar-components/label-value.status-bar.d.ts.map +1 -1
  22. package/dist/dts/status-bar-components/load-more.status-bar.d.ts +1 -1
  23. package/dist/dts/status-bar-components/load-more.status-bar.d.ts.map +1 -1
  24. package/dist/dts/status-bar-components/pagination.status-bar.d.ts +1 -1
  25. package/dist/dts/status-bar-components/pagination.status-bar.d.ts.map +1 -1
  26. package/dist/dts/status-bar-components/reload.status-bar.d.ts +1 -1
  27. package/dist/dts/status-bar-components/reload.status-bar.d.ts.map +1 -1
  28. package/dist/esm/cell-renderers/boolean.renderer.js +6 -7
  29. package/dist/esm/datasource/base.datasource.js +68 -95
  30. package/dist/esm/datasource/index.js +1 -0
  31. package/dist/esm/datasource/server-side.datasource.js +127 -149
  32. package/dist/esm/grid-pro-genesis-datasource/datasource-events.types.js +33 -0
  33. package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +83 -78
  34. package/dist/esm/grid-pro-v34.js +1034 -0
  35. package/dist/esm/grid-pro.definitions.js +1 -1
  36. package/dist/esm/grid-pro.js +283 -8
  37. package/dist/esm/grid-pro.template.js +1 -1
  38. package/dist/esm/index.js +1 -0
  39. package/dist/esm/status-bar-components/pagination.status-bar.js +18 -11
  40. package/dist/grid-pro.api.json +3188 -698
  41. package/dist/grid-pro.d.ts +1171 -118
  42. package/docs/api/grid-pro.errorhandlerdialogstyles.md +11 -0
  43. package/docs/api/grid-pro.genesisgriddatasourceelement.md +0 -21
  44. package/docs/api/grid-pro.geterrorhandlerdialogtemplate.md +64 -0
  45. package/docs/api/grid-pro.gridpro.md +17 -0
  46. package/docs/api/grid-pro.gridpro.thememode.md +11 -0
  47. package/docs/api/{grid-pro.gridprobasedatasource.applyallagtransactions.md → grid-pro.gridprobasedatasource.applyalltransactions.md} +3 -3
  48. package/docs/api/grid-pro.gridprobasedatasource.applytransaction.md +3 -3
  49. package/docs/api/grid-pro.gridprobasedatasource.getdatasourcestatusbarpanels.md +15 -1
  50. package/docs/api/grid-pro.gridprobasedatasource.isdisconnected.md +1 -1
  51. package/docs/api/{grid-pro.gridprobasedatasource.agtransaction.md → grid-pro.gridprobasedatasource.keepcoldefsonclearrowdata.md} +3 -3
  52. package/docs/api/grid-pro.gridprobasedatasource.md +17 -55
  53. package/docs/api/grid-pro.gridprobasedatasource.pagination.md +1 -1
  54. package/docs/api/grid-pro.gridprobasedatasource.setdisconnected.md +1 -1
  55. package/docs/api/{grid-pro.gridprobasedatasource.applyfuncname.md → grid-pro.gridprobasedatasource.transactiondata.md} +3 -3
  56. package/docs/api/grid-pro.gridprogenesisdatasource.applytransaction.md +4 -4
  57. package/docs/api/grid-pro.gridprogenesisdatasource.init.md +4 -20
  58. package/docs/api/grid-pro.gridprogenesisdatasource.md +7 -34
  59. package/docs/api/{grid-pro.gridprogenesisdatasource.applyfuncname.md → grid-pro.gridprogenesisdatasource.transactiondata.md} +3 -3
  60. package/docs/api/grid-pro.gridproserversidedatasource.applytransaction.md +4 -4
  61. package/docs/api/grid-pro.gridproserversidedatasource.md +1 -74
  62. package/docs/api/grid-pro.gridproserversidedatasource.onpaginationchanged.md +2 -2
  63. package/docs/api/{grid-pro.gridproserversidedatasource.rowmodel.md → grid-pro.gridprov34._constructor_.md} +5 -3
  64. package/docs/api/grid-pro.gridprov34.addeventlistener.md +89 -0
  65. package/docs/api/{grid-pro.gridproserversidedatasource.applyfuncname.md → grid-pro.gridprov34.aggrid.md} +3 -3
  66. package/docs/api/{grid-pro.gridproserversidedatasource.applyasyncfuncname.md → grid-pro.gridprov34.aggridoptions.md} +3 -3
  67. package/docs/api/grid-pro.gridprov34.autocellrendererbytype.md +14 -0
  68. package/docs/api/grid-pro.gridprov34.cachefilterconfig.md +18 -0
  69. package/docs/api/grid-pro.gridprov34.classnames.md +14 -0
  70. package/docs/api/grid-pro.gridprov34.clearlocalgridoptions.md +17 -0
  71. package/docs/api/grid-pro.gridprov34.columncomponentname.md +14 -0
  72. package/docs/api/grid-pro.gridprov34.combineallgridcomponents.md +53 -0
  73. package/docs/api/grid-pro.gridprov34.connectedcallback.md +18 -0
  74. package/docs/api/grid-pro.gridprov34.customerrorhandlertemplate.md +21 -0
  75. package/docs/api/grid-pro.gridprov34.disconnectedcallback.md +18 -0
  76. package/docs/api/grid-pro.gridprov34.enablecellflashing.md +21 -0
  77. package/docs/api/grid-pro.gridprov34.enablerowflashing.md +16 -0
  78. package/docs/api/grid-pro.gridprov34.eventsandcallbacks.md +14 -0
  79. package/docs/api/grid-pro.gridprov34.getfiltermodel.md +20 -0
  80. package/docs/api/grid-pro.gridprov34.getsavedcolumnstate.md +21 -0
  81. package/docs/api/grid-pro.gridprov34.getselectedrows.md +19 -0
  82. package/docs/api/{grid-pro.gridproserversidedatasource.applytransactionasync.md → grid-pro.gridprov34.globaleventlistener.md} +7 -9
  83. package/docs/api/grid-pro.gridprov34.gridapi.md +14 -0
  84. package/docs/api/grid-pro.gridprov34.gridautosizingenabled.md +16 -0
  85. package/docs/api/grid-pro.gridprov34.gridcomponents.md +16 -0
  86. package/docs/api/grid-pro.gridprov34.griderroritems.md +14 -0
  87. package/docs/api/grid-pro.gridprov34.gridoptions.md +14 -0
  88. package/docs/api/grid-pro.gridprov34.gridoptionsconfig.md +28 -0
  89. package/docs/api/grid-pro.gridprov34.gridparams.md +12 -0
  90. package/docs/api/grid-pro.gridprov34.gridprodatasource.md +18 -0
  91. package/docs/api/grid-pro.gridprov34.gridslot.md +14 -0
  92. package/docs/api/grid-pro.gridprov34.hasselectedrows.md +19 -0
  93. package/docs/api/grid-pro.gridprov34.headercasetype.md +18 -0
  94. package/docs/api/grid-pro.gridprov34.headerheight.md +14 -0
  95. package/docs/api/grid-pro.gridprov34.hidedatasourceerror.md +18 -0
  96. package/docs/api/grid-pro.gridprov34.initialised.md +14 -0
  97. package/docs/api/grid-pro.gridprov34.isserverside.md +12 -0
  98. package/docs/api/grid-pro.gridprov34.md +1008 -0
  99. package/docs/api/grid-pro.gridprov34.mergeallcolumndefsandstates.md +230 -0
  100. package/docs/api/grid-pro.gridprov34.onlytemplatecoldefs.md +14 -0
  101. package/docs/api/grid-pro.gridprov34.pagination.md +21 -0
  102. package/docs/api/grid-pro.gridprov34.paginationpagesize.md +25 -0
  103. package/docs/api/grid-pro.gridprov34.persistcolumnstatekey.md +16 -0
  104. package/docs/api/grid-pro.gridprov34.persistfiltermodelkey.md +16 -0
  105. package/docs/api/grid-pro.gridprov34.provider.md +14 -0
  106. package/docs/api/grid-pro.gridprov34.restorecachedfilterconfig.md +18 -0
  107. package/docs/api/grid-pro.gridprov34.rowdata.md +18 -0
  108. package/docs/api/grid-pro.gridprov34.rowdatachanged.md +67 -0
  109. package/docs/api/grid-pro.gridprov34.rowheight.md +14 -0
  110. package/docs/api/grid-pro.gridprov34.setfiltermodel.md +55 -0
  111. package/docs/api/grid-pro.gridprov34.setuppaginationandstatusbar.md +53 -0
  112. package/docs/api/grid-pro.gridprov34.statepersistanceenabled.md +18 -0
  113. package/docs/api/grid-pro.gridprov34.statepersistence.md +14 -0
  114. package/docs/api/grid-pro.gridprov34.statusbarconfig.md +21 -0
  115. package/docs/api/grid-pro.gridprov34.thememode.md +14 -0
  116. package/docs/api/grid-pro.gridprov34.withstatusbar.md +21 -0
  117. package/docs/api/grid-pro.md +29 -1
  118. package/docs/api-report.md.api.md +377 -41
  119. package/package.json +16 -14
  120. package/docs/api/grid-pro.genesisgriddatasourceelement.aggrid.md +0 -11
  121. package/docs/api/grid-pro.gridprobasedatasource.applyasyncfuncname.md +0 -11
  122. package/docs/api/grid-pro.gridprobasedatasource.applytransactionasync.md +0 -66
  123. package/docs/api/grid-pro.gridprogenesisdatasource.applyasyncfuncname.md +0 -11
  124. package/docs/api/grid-pro.gridprogenesisdatasource.applytransactionasync.md +0 -66
@@ -0,0 +1,862 @@
1
+ import { ViewTemplate } from '@microsoft/fast-element';
2
+ import { FoundationElement } from '@microsoft/fast-foundation';
3
+ import type { ColDef, GridApi, GridOptions, GridParams } from 'ag-grid-community';
4
+ import { ColumnState } from 'ag-grid-community';
5
+ import { GridProBaseDatasource } from './datasource/base.datasource';
6
+ import type { GridComponents, GridProCaseType, GridProErrorEvent, GridProErrorItem, GridProEventsAndCallbacks } from './grid-pro.types';
7
+ import { GridOptionsConfig, GridProStatusBarConfig } from './grid-pro.types';
8
+ import { StatePersistence } from './state-persistence';
9
+ declare const GridProV34_base: (new (...args: any[]) => {
10
+ #_container: import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
11
+ #_latestTokenCode: string;
12
+ #_hasFirstLoaded: boolean;
13
+ #_cleanupTimeout: NodeJS.Timeout;
14
+ #_shouldForceLifecycle: boolean;
15
+ cloneNode(deep?: boolean): Node;
16
+ deepClone(): Node;
17
+ get shouldRunDisconnect(): boolean;
18
+ get shouldRunConnect(): boolean;
19
+ #_blockLifecycleDueToTokenChange(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
20
+ #_tryFindContainingLayout(e: Element): import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
21
+ connectedCallback(): void;
22
+ readonly $fastController: import("@microsoft/fast-element").Controller;
23
+ $emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
24
+ disconnectedCallback(): void;
25
+ attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
26
+ accessKey: string;
27
+ readonly accessKeyLabel: string;
28
+ autocapitalize: string;
29
+ autocorrect: boolean;
30
+ dir: string;
31
+ draggable: boolean;
32
+ hidden: boolean;
33
+ inert: boolean;
34
+ innerText: string;
35
+ lang: string;
36
+ readonly offsetHeight: number;
37
+ readonly offsetLeft: number;
38
+ readonly offsetParent: Element | null;
39
+ readonly offsetTop: number;
40
+ readonly offsetWidth: number;
41
+ outerText: string;
42
+ popover: string | null;
43
+ spellcheck: boolean;
44
+ title: string;
45
+ translate: boolean;
46
+ writingSuggestions: string;
47
+ attachInternals(): ElementInternals;
48
+ click(): void;
49
+ hidePopover(): void;
50
+ showPopover(): void;
51
+ togglePopover(options?: boolean): boolean;
52
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options? /**
53
+ * The row data to display in the grid.
54
+ * @remarks For scenarios where you want to set data manually, without relying on `<grid-pro-client-side-datasource>`.
55
+ * @public
56
+ */: boolean | AddEventListenerOptions): void;
57
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
58
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
59
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
60
+ readonly attributes: NamedNodeMap;
61
+ get classList(): DOMTokenList;
62
+ set classList(value: string): any;
63
+ className: string;
64
+ readonly clientHeight: number;
65
+ readonly clientLeft: number;
66
+ readonly clientTop: number;
67
+ readonly clientWidth: number;
68
+ readonly currentCSSZoom: number;
69
+ id: string;
70
+ innerHTML: string;
71
+ readonly localName: string;
72
+ readonly namespaceURI: string | null;
73
+ onfullscreenchange: (this: Element, ev: Event) => any;
74
+ onfullscreenerror: (this: Element, ev: Event) => any;
75
+ outerHTML: string;
76
+ readonly ownerDocument: Document;
77
+ get part(): DOMTokenList;
78
+ set part(value: string): any;
79
+ readonly prefix: string | null;
80
+ readonly scrollHeight: number;
81
+ scrollLeft: number;
82
+ scrollTop: number;
83
+ readonly scrollWidth: number;
84
+ readonly shadowRoot: ShadowRoot | null;
85
+ slot: string;
86
+ readonly tagName: string;
87
+ attachShadow(init: ShadowRootInit): ShadowRoot;
88
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
89
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K];
90
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K];
91
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K];
92
+ closest<E extends Element = Element>(selectors: string): E;
93
+ computedStyleMap(): StylePropertyMapReadOnly;
94
+ getAttribute(qualifiedName: string): string | null;
95
+ getAttributeNS(namespace: string | null, localName: string): string | null;
96
+ getAttributeNames(): string[];
97
+ getAttributeNode(qualifiedName: string): Attr | null;
98
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
99
+ getBoundingClientRect(): DOMRect;
100
+ getClientRects(): DOMRectList;
101
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
102
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
103
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
104
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
105
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
106
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
107
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
108
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
109
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
110
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
111
+ getHTML(options?: GetHTMLOptions): string;
112
+ hasAttribute(qualifiedName: string): boolean;
113
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
114
+ hasAttributes(): boolean;
115
+ hasPointerCapture(pointerId: number): boolean;
116
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
117
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
118
+ insertAdjacentText(where: InsertPosition, data: string): void;
119
+ matches(selectors: string): boolean;
120
+ releasePointerCapture(pointerId: number): void;
121
+ removeAttribute(qualifiedName: string): void;
122
+ removeAttributeNS(namespace: string | null, localName: string): void;
123
+ removeAttributeNode(attr: Attr): Attr;
124
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
125
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
126
+ scroll(options?: ScrollToOptions): void;
127
+ scroll(x: number, y: number): void;
128
+ scrollBy(options?: ScrollToOptions): void;
129
+ scrollBy(x: number, y: number): void;
130
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
131
+ scrollTo(options?: ScrollToOptions): void;
132
+ scrollTo(x: number, y: number): void;
133
+ setAttribute(qualifiedName: string, value: string): void;
134
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
135
+ setAttributeNode(attr: Attr): Attr | null;
136
+ setAttributeNodeNS(attr: Attr): Attr | null;
137
+ setHTMLUnsafe(html: string): void;
138
+ setPointerCapture(pointerId: number): void;
139
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
140
+ webkitMatchesSelector(selectors: string): boolean;
141
+ textContent: string;
142
+ readonly baseURI: string;
143
+ readonly childNodes: NodeListOf<ChildNode>;
144
+ readonly firstChild: ChildNode | null;
145
+ readonly isConnected: boolean;
146
+ readonly lastChild: ChildNode | null;
147
+ readonly nextSibling: ChildNode | null;
148
+ readonly nodeName: string;
149
+ readonly nodeType: number;
150
+ nodeValue: string | null;
151
+ readonly parentElement: HTMLElement | null;
152
+ readonly parentNode: ParentNode | null;
153
+ readonly previousSibling: ChildNode | null;
154
+ appendChild<T_1 extends Node>(node: T_1): T_1;
155
+ compareDocumentPosition(other: Node): number;
156
+ contains(other: Node | null): boolean;
157
+ getRootNode(options?: GetRootNodeOptions): Node;
158
+ hasChildNodes(): boolean;
159
+ insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
160
+ isDefaultNamespace(namespace: string | null): boolean;
161
+ isEqualNode(otherNode: Node | null): boolean;
162
+ isSameNode(otherNode: Node | null): boolean;
163
+ lookupNamespaceURI(prefix: string | null): string | null;
164
+ lookupPrefix(namespace: string | null): string | null;
165
+ normalize(): void;
166
+ removeChild<T_1 extends Node>(child: T_1): T_1;
167
+ replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
168
+ readonly ELEMENT_NODE: 1;
169
+ readonly ATTRIBUTE_NODE: 2;
170
+ readonly TEXT_NODE: 3;
171
+ readonly CDATA_SECTION_NODE: 4;
172
+ readonly ENTITY_REFERENCE_NODE: 5;
173
+ readonly ENTITY_NODE: 6;
174
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
175
+ readonly COMMENT_NODE: 8;
176
+ readonly DOCUMENT_NODE: 9;
177
+ readonly DOCUMENT_TYPE_NODE: 10;
178
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
179
+ readonly NOTATION_NODE: 12;
180
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
181
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
182
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
183
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
184
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
185
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
186
+ dispatchEvent(event: Event): boolean;
187
+ ariaActiveDescendantElement: Element | null;
188
+ ariaAtomic: string | null;
189
+ ariaAutoComplete: string | null;
190
+ ariaBrailleLabel: string | null;
191
+ ariaBrailleRoleDescription: string | null;
192
+ ariaBusy: string | null;
193
+ ariaChecked: string | null;
194
+ ariaColCount: string | null;
195
+ ariaColIndex: string | null;
196
+ ariaColIndexText: string | null;
197
+ ariaColSpan: string | null;
198
+ ariaControlsElements: ReadonlyArray<Element> | null;
199
+ ariaCurrent: string | null;
200
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
201
+ ariaDescription: string | null;
202
+ ariaDetailsElements: ReadonlyArray<Element> | null;
203
+ ariaDisabled: string | null;
204
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
205
+ ariaExpanded: string | null;
206
+ ariaFlowToElements: ReadonlyArray<Element> | null;
207
+ ariaHasPopup: string | null;
208
+ ariaHidden: string | null;
209
+ ariaInvalid: string | null;
210
+ ariaKeyShortcuts: string | null;
211
+ ariaLabel: string | null;
212
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
213
+ ariaLevel: string | null;
214
+ ariaLive: string | null;
215
+ ariaModal: string | null;
216
+ ariaMultiLine: string | null;
217
+ ariaMultiSelectable: string | null;
218
+ ariaOrientation: string | null;
219
+ ariaOwnsElements: ReadonlyArray<Element> | null;
220
+ ariaPlaceholder: string | null;
221
+ ariaPosInSet: string | null;
222
+ ariaPressed: string | null;
223
+ ariaReadOnly: string | null;
224
+ ariaRelevant: string | null;
225
+ ariaRequired: string | null;
226
+ ariaRoleDescription: string | null;
227
+ ariaRowCount: string | null;
228
+ ariaRowIndex: string | null;
229
+ ariaRowIndexText: string | null;
230
+ ariaRowSpan: string | null;
231
+ ariaSelected: string | null;
232
+ ariaSetSize: string | null;
233
+ ariaSort: string | null;
234
+ ariaValueMax: string | null;
235
+ ariaValueMin: string | null;
236
+ ariaValueNow: string | null;
237
+ ariaValueText: string | null;
238
+ role: string | null;
239
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
240
+ getAnimations(options?: GetAnimationsOptions): Animation[];
241
+ after(...nodes: (Node | string)[]): void;
242
+ before(...nodes: (Node | string)[]): void;
243
+ remove(): void;
244
+ replaceWith(...nodes: (Node | string)[]): void;
245
+ readonly nextElementSibling: Element | null;
246
+ readonly previousElementSibling: Element | null;
247
+ readonly childElementCount: number;
248
+ readonly children: HTMLCollection;
249
+ readonly firstElementChild: Element | null;
250
+ readonly lastElementChild: Element | null;
251
+ append(...nodes: (Node | string)[]): void;
252
+ prepend(...nodes: (Node | string)[]): void;
253
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
254
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
255
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
256
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
257
+ querySelector<E extends Element = Element>(selectors: string): E | null;
258
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
259
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
260
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
261
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
262
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
263
+ replaceChildren(...nodes: (Node | string)[]): void;
264
+ readonly assignedSlot: HTMLSlotElement | null;
265
+ readonly attributeStyleMap: StylePropertyMap;
266
+ get style(): CSSStyleDeclaration;
267
+ set style(cssText: string): any;
268
+ contentEditable: string;
269
+ enterKeyHint: string;
270
+ inputMode: string;
271
+ readonly isContentEditable: boolean;
272
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
273
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
274
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
275
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
276
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
277
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
278
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
279
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
280
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
281
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
282
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
283
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
284
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
285
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
286
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
287
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
288
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
289
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
290
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
291
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
292
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
293
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
294
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
295
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
296
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
297
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
298
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
299
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
300
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
301
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
302
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
303
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
304
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
305
+ onerror: OnErrorEventHandler;
306
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
307
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
308
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
309
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
310
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
311
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
312
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
313
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
314
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
315
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
316
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
317
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
318
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
319
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
320
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
321
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
322
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
323
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
324
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
325
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
326
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
327
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
328
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
329
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
330
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
331
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
332
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
333
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
334
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
335
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
336
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
337
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
338
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
339
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
340
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
341
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
342
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
343
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
344
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
345
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
346
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
347
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
348
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
349
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
350
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
351
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
352
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
353
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
354
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
355
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
356
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
357
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
358
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
359
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
360
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
361
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
362
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
363
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
364
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
365
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
366
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
367
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
368
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
369
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
370
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
371
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
372
+ autofocus: boolean;
373
+ readonly dataset: DOMStringMap;
374
+ nonce?: string;
375
+ tabIndex: number;
376
+ blur(): void;
377
+ focus(options?: FocusOptions): void;
378
+ }) & typeof FoundationElement;
379
+ /**
380
+ * The Grid Pro element (AG Grid v34 compatible).
381
+ * @remarks Grid Pro is a Web Component wrapper around the AG Grid Community library.
382
+ * @beta
383
+ * @tagname %%prefix%%-grid-pro
384
+ */
385
+ export declare class GridProV34 extends GridProV34_base {
386
+ gridApi: GridApi;
387
+ gridErrorItems: GridProErrorItem<GridProErrorEvent['detail']>[];
388
+ statePersistence: StatePersistence;
389
+ /**
390
+ * Timeout function used to debounce resize calls
391
+ * @internal
392
+ */
393
+ private debounced;
394
+ autoCellRendererByType: boolean;
395
+ onlyTemplateColDefs: boolean;
396
+ /**
397
+ * Boolean attribute to control whether the grid autosizes the columns upon interaction.
398
+ * This will disable the column widths from being manually set, and doesn't save the widths
399
+ * in local storage if you are using `persist-column-state-key`.
400
+ */
401
+ gridAutosizingEnabled: boolean;
402
+ /**
403
+ * If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef
404
+ * @remarks Defaults to true
405
+ */
406
+ enableCellFlashing: boolean;
407
+ /**
408
+ * If true, will enable row flashing for all rows for `add` async transactions
409
+ */
410
+ enableRowFlashing: boolean;
411
+ /**
412
+ * The key to use for persisting the column state in local browser or KV storage.
413
+ */
414
+ persistColumnStateKey: string;
415
+ /**
416
+ * The key to use for persisting the filter model in local browser or KV storage.
417
+ */
418
+ persistFilterModelKey: string;
419
+ /**
420
+ * The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.
421
+ * @remarks Can be one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.
422
+ * @public
423
+ */
424
+ headerCaseType: GridProCaseType;
425
+ /**
426
+ * The row data to display in the grid.
427
+ * @remarks For scenarios where you want to set data manually, without relying on `<grid-pro-client-side-datasource>`.
428
+ * @public
429
+ */
430
+ rowData: any[];
431
+ rowDataChanged(_: any, rowData: any): void;
432
+ columnComponentName: string;
433
+ eventsAndCallbacks: GridProEventsAndCallbacks;
434
+ headerHeight: number;
435
+ rowHeight: number;
436
+ classNames: string;
437
+ agGrid: GridApi;
438
+ gridSlot: HTMLSlotElement;
439
+ themeMode: 'light' | 'dark';
440
+ gridComponents: {
441
+ [componentName: string]: any;
442
+ };
443
+ /**
444
+ * Enable pagination for the grid.
445
+ * @remarks
446
+ * When enabled, the grid will automatically configure pagination settings.
447
+ * Note that AG Grid's full pagination functionality requires the Enterprise module.
448
+ * While basic pagination will work in Community edition, advanced features like
449
+ * custom pagination components require Enterprise.
450
+ * @see https://www.ag-grid.com/javascript-data-grid/row-pagination/
451
+ * @see https://www.ag-grid.com/javascript-data-grid/server-side-model-pagination/
452
+ */
453
+ pagination: boolean;
454
+ /**
455
+ * Number of rows per page when pagination is enabled.
456
+ * @remarks
457
+ * **Default Value:** `DatasourceDefaults.DEFAULT_PAGINATION_PAGE_SIZE (25)` (default MAX_ROWS divided by 10)
458
+ *
459
+ * **Only used when pagination is enabled on client-side, server-side pagination page size is fixed to MAX_ROWS.**
460
+ *
461
+ * Note that AG Grid's full pagination functionality requires the Enterprise module.
462
+ */
463
+ paginationPageSize: number;
464
+ /**
465
+ * Configuration for the grid status bar components.
466
+ * @remarks
467
+ * This requires AG Grid Enterprise module to be enabled.
468
+ * The status bar will only be displayed if the Enterprise module is available.
469
+ * @see https://www.ag-grid.com/javascript-data-grid/component-status-bar/
470
+ */
471
+ statusBarConfig: GridProStatusBarConfig;
472
+ /**
473
+ * Enables or disables the grid status bar.
474
+ * @remarks
475
+ * Default is false.
476
+ * When disabled, no status bar will be displayed regardless of statusBarConfig.
477
+ * This requires AG Grid Enterprise module to be available for the status bar to be displayed when enabled.
478
+ */
479
+ withStatusBar: boolean;
480
+ /**
481
+ * Custom error handler dialog template function.
482
+ * @remarks
483
+ * When provided, this function will be used to render custom error dialogs instead of the default error handler.
484
+ * The function should accept a prefix string and an array of grid error items and return a ViewTemplate.
485
+ * If not provided, the default error handler dialog template will be used.
486
+ */
487
+ customErrorHandlerTemplate?: (prefix: string, gridErrorItems: GridProErrorItem<any>[]) => ViewTemplate;
488
+ private columnState;
489
+ protected agGridOptions: GridOptions;
490
+ protected initialised: boolean;
491
+ private rehydrationAttempted;
492
+ private rootEventsListeners;
493
+ private gridEventsQueue;
494
+ private registeredGridEvents;
495
+ private _filterConfig;
496
+ getfilterModel(): Promise<{
497
+ [key: string]: any;
498
+ }>;
499
+ setFilterModel(value: {
500
+ [key: string]: any;
501
+ }): Promise<void>;
502
+ /**
503
+ * Injectable config that allows to change grid options on an app level basis
504
+ * To modify options, register instance of the config in DOM container that is
505
+ * above the grid or on the top level of the application, so it applies to all grids.
506
+ *
507
+ * @example
508
+ * ```
509
+ * DI.getOrCreateDOMContainer().register([
510
+ * Registration.instance<GridOptionsConfig>(GridOptionsConfig, {
511
+ * headerHeight: 50,
512
+ * }),
513
+ * ]);
514
+ * ```
515
+ */
516
+ gridOptionsConfig: GridOptionsConfig;
517
+ provider: any;
518
+ constructor();
519
+ /**
520
+ * Adds an event listener to the grid element.
521
+ * @param eventType - The event type to listen for. Recommened to use the `Events` from AG Grid.
522
+ * @param listener - The event listener to call when the event is fired.
523
+ * @param options - An options object that specifies characteristics about the event listener.
524
+ * @privateRemarks
525
+ * This will change once we do the AG Upgrade and `eventType` will be correctly typed.
526
+ */
527
+ addEventListener(eventType: string, listener: any, options?: boolean | AddEventListenerOptions): void;
528
+ private addGridEventListener;
529
+ private handleError;
530
+ private handleBaseDatasourceError;
531
+ hideDatasourceError(): void;
532
+ connectedCallback(): void;
533
+ disconnectedCallback(): void;
534
+ /**
535
+ * Helper method to add or remove datasource event listeners
536
+ * @internal
537
+ */
538
+ private toggleDatasourceEventListeners;
539
+ /**
540
+ * Handles datasource initialization
541
+ * @internal
542
+ */
543
+ private handleInitialize;
544
+ /**
545
+ * Handles data loading from datasource
546
+ * @internal
547
+ */
548
+ private handleDataLoaded;
549
+ /**
550
+ * Handles data changes from datasource
551
+ * @internal
552
+ */
553
+ private handleDataChanged;
554
+ private flashAddedCells;
555
+ /**
556
+ * Handles schema updates from datasource
557
+ * @internal
558
+ */
559
+ private handleSchemaUpdated;
560
+ /**
561
+ * Handles data clearing from datasource
562
+ * @internal
563
+ */
564
+ private handleDataCleared;
565
+ /**
566
+ * Handles loading started from datasource
567
+ * @internal
568
+ */
569
+ private handleLoadingStarted;
570
+ /**
571
+ * Handles loading finished from datasource
572
+ * @internal
573
+ */
574
+ private handleLoadingFinished;
575
+ /**
576
+ * Handles no data available from datasource
577
+ * @internal
578
+ */
579
+ private handleNoDataAvailable;
580
+ /**
581
+ * Handles filter restoration from datasource
582
+ * @internal
583
+ */
584
+ private handleFiltersRestored;
585
+ /**
586
+ * Handles more data availability from datasource
587
+ * @internal
588
+ */
589
+ private handleMoreDataAvailable;
590
+ /**
591
+ * Handles datasource errors
592
+ * @internal
593
+ */
594
+ private handleDatasourceError;
595
+ /**
596
+ * Handles refreshing server-side data
597
+ * @internal
598
+ */
599
+ private handleRefreshServerSide;
600
+ /**
601
+ * Handles setting server-side datasource
602
+ * @internal
603
+ */
604
+ private handleSetServerSideDatasource;
605
+ /**
606
+ * Handles adding CSS class to grid element
607
+ * @internal
608
+ */
609
+ private handleAddGridCssClass;
610
+ /**
611
+ * Handles removing CSS class from grid element
612
+ * @internal
613
+ */
614
+ private handleRemoveGridCssClass;
615
+ /**
616
+ * Handles applying server-side transactions
617
+ * @internal
618
+ */
619
+ private handleApplyServerSideTransaction;
620
+ combineAllGridComponents(gridOptionsComponents: GridComponents): GridComponents;
621
+ statePersistanceEnabled(): boolean;
622
+ /**
623
+ * Gets the currently selected rows from the grid
624
+ * @public
625
+ * @returns Array of selected row data
626
+ */
627
+ getSelectedRows(): any[];
628
+ /**
629
+ * Gets the row data from selected cell ranges
630
+ * @internal
631
+ * @returns Array containing the row data from selected cell ranges, or empty array if none
632
+ */
633
+ private getCellRangeRowData;
634
+ /**
635
+ * Checks if any rows are currently selected
636
+ * @public
637
+ * @returns True if rows are selected, false otherwise
638
+ */
639
+ hasSelectedRows(): boolean;
640
+ /**
641
+ * Because we try and resize the grid to fit using callbacks on events, this will cause
642
+ * a stack overflow of calls to resize, so we need to debounce it.
643
+ * @internal
644
+ */
645
+ private debouncedColumnAutosize;
646
+ /**
647
+ * If {@link @genesislcap/grid-pro#GridPro.gridAutosizingEnabled} is true, will remove the widths from the column states.
648
+ * @internal
649
+ */
650
+ private removeConfigWidthsToAutosize;
651
+ private saveColumnState;
652
+ /**
653
+ * Gets the saved grid ColumnState[] from storage
654
+ * @remarks This is used to restore the grid state when the grid is rehydrated
655
+ * @privateRemarks Not using `columnApi.get|setColumnState()` for these flows as it doesn't work setting new columnDefs vs different ordering.
656
+ * @public
657
+ */
658
+ getSavedColumnState(): Promise<ColumnState[]>;
659
+ private restoreColumnState;
660
+ cacheFilterConfig(): void;
661
+ restoreCachedFilterConfig(): Promise<void>;
662
+ /**
663
+ * @public
664
+ */
665
+ get gridOptions(): GridOptions;
666
+ /**
667
+ * @public
668
+ */
669
+ get isServerSide(): boolean;
670
+ /**
671
+ * @public
672
+ */
673
+ get gridParams(): GridParams;
674
+ /**
675
+ * Get the datasource element.
676
+ * @remarks This will return the first datasource element found in the light DOM, wrapping all concrete datasource implementations.
677
+ * @public
678
+ */
679
+ get gridProDatasource(): GridProBaseDatasource;
680
+ set gridOptions(options: GridOptions);
681
+ private setLocalGridOptions;
682
+ /**
683
+ * Clears the local grid options, this is used to clear the grid options when the grid is restarted.
684
+ * @public
685
+ */
686
+ clearLocalGridOptions(): void;
687
+ private initGrid;
688
+ /**
689
+ * Will merge templated column definitions with `columnDefs` plus localStorage's column state or `deferredColumnStates`.
690
+ * @public
691
+ * @remarks This will favor the column state from the browser's local storage over the `deferredColumnStates` property on the `grid-pro-genesis-datasource` element.
692
+ * @param columnDefs - The column definitions to apply to the grid.
693
+ * @param deferredColumnDefsOrState - If true, will merge the column definitions with the saved column state or the `deferredColumnStates` property
694
+ * on the `grid-pro-genesis-datasource` element. Defaults to false but `grid-pro-genesis-datasource` will set this to true.
695
+ * @returns The merged column definitions.
696
+ */
697
+ mergeAllColumnDefsAndStates(columnDefs: ColDef[], deferredColumnDefsOrState?: boolean): Promise<import("@ag-grid-community/core").ColDef<any>[] | (ColDef<any, any> | {
698
+ colId?: string;
699
+ field?: string;
700
+ type?: string | string[];
701
+ valueGetter?: string | import("@ag-grid-community/core").ValueGetterFunc<any> | import("ag-grid-community").ValueGetterFunc<any, any, any>;
702
+ valueFormatter?: string | import("@ag-grid-community/core").ValueFormatterFunc<any> | import("ag-grid-community").ValueFormatterFunc<any, any, any>;
703
+ refData?: {
704
+ [key: string]: string;
705
+ };
706
+ keyCreator?: ((params: import("@ag-grid-community/core").KeyCreatorParams<any, any>) => string) | ((params: import("ag-grid-community").KeyCreatorParams<any, any, any>) => string);
707
+ equals?: (valueA: any, valueB: any) => boolean;
708
+ tooltipField?: string;
709
+ tooltipValueGetter?: ((params: import("@ag-grid-community/core").ITooltipParams<any, any, any>) => string | any) | ((params: import("ag-grid-community").ITooltipParams<any, any, any>) => string | any);
710
+ checkboxSelection?: boolean | import("@ag-grid-community/core").CheckboxSelectionCallback<any> | import("ag-grid-community").CheckboxSelectionCallback<any, any, any>;
711
+ showDisabledCheckboxes?: boolean;
712
+ icons?: {
713
+ [key: string]: string | Function;
714
+ };
715
+ suppressNavigable?: boolean | import("@ag-grid-community/core").SuppressNavigableCallback<any> | import("ag-grid-community").SuppressNavigableCallback<any, any, any>;
716
+ suppressKeyboardEvent?: ((params: import("@ag-grid-community/core").SuppressKeyboardEventParams<any>) => boolean) | ((params: import("ag-grid-community").SuppressKeyboardEventParams<any, any, any>) => boolean);
717
+ suppressPaste?: boolean | import("@ag-grid-community/core").SuppressPasteCallback<any> | import("ag-grid-community").SuppressPasteCallback<any, any, any>;
718
+ suppressFillHandle?: boolean;
719
+ hide?: boolean | null;
720
+ initialHide?: boolean;
721
+ lockVisible?: boolean;
722
+ lockPosition?: boolean | "left" | "right";
723
+ suppressMovable?: boolean;
724
+ editable?: boolean | import("@ag-grid-community/core").EditableCallback<any> | import("ag-grid-community").EditableCallback<any, any, any>;
725
+ valueSetter?: string | import("@ag-grid-community/core").ValueSetterFunc<any> | import("ag-grid-community").ValueSetterFunc<any, any, any>;
726
+ valueParser?: string | import("@ag-grid-community/core").ValueParserFunc<any, any> | import("ag-grid-community").ValueParserFunc<any, any, any>;
727
+ cellEditor?: any;
728
+ cellEditorFramework?: any;
729
+ cellEditorParams?: any;
730
+ cellEditorSelector?: import("@ag-grid-community/core").CellEditorSelectorFunc<any> | import("ag-grid-community").CellEditorSelectorFunc<any, any, any>;
731
+ singleClickEdit?: boolean;
732
+ cellEditorPopup?: boolean;
733
+ cellEditorPopupPosition?: "over" | "under";
734
+ onCellValueChanged?: ((event: import("@ag-grid-community/core").NewValueParams<any>) => void) | ((event: import("ag-grid-community").NewValueParams<any, any, any>) => void);
735
+ onCellClicked?: ((event: import("@ag-grid-community/core").CellClickedEvent<any, any>) => void) | ((event: import("ag-grid-community").CellClickedEvent<any, any, any>) => void);
736
+ onCellDoubleClicked?: ((event: import("@ag-grid-community/core").CellDoubleClickedEvent<any, any>) => void) | ((event: import("ag-grid-community").CellDoubleClickedEvent<any, any, any>) => void);
737
+ onCellContextMenu?: ((event: import("@ag-grid-community/core").CellContextMenuEvent<any, any>) => void) | ((event: import("ag-grid-community").CellContextMenuEvent<any, any, any>) => void);
738
+ getQuickFilterText?: ((params: import("@ag-grid-community/core").GetQuickFilterTextParams<any, any>) => string) | ((params: import("ag-grid-community").GetQuickFilterTextParams<any, any, any>) => string);
739
+ filterValueGetter?: string | import("@ag-grid-community/core").ValueGetterFunc<any> | import("ag-grid-community").ValueGetterFunc<any, any, any>;
740
+ floatingFilter?: boolean;
741
+ wrapHeaderText?: boolean;
742
+ autoHeaderHeight?: boolean;
743
+ headerComponent?: any;
744
+ headerComponentFramework?: any;
745
+ headerComponentParams?: any;
746
+ menuTabs?: import("@ag-grid-community/core").ColumnMenuTab[];
747
+ columnsMenuParams?: import("@ag-grid-community/core").ColumnsMenuParams;
748
+ suppressMenu?: boolean;
749
+ headerCheckboxSelection?: boolean | import("@ag-grid-community/core").HeaderCheckboxSelectionCallback<any> | import("ag-grid-community").HeaderCheckboxSelectionCallback<any, any, any>;
750
+ headerCheckboxSelectionFilteredOnly?: boolean;
751
+ headerCheckboxSelectionCurrentPageOnly?: boolean;
752
+ chartDataType?: "category" | "series" | "time" | "excluded";
753
+ pinned?: boolean | "left" | "right" | null;
754
+ initialPinned?: boolean | "left" | "right";
755
+ lockPinned?: boolean;
756
+ pivot?: boolean | null;
757
+ initialPivot?: boolean;
758
+ pivotIndex?: number | null;
759
+ initialPivotIndex?: number;
760
+ pivotComparator?: (valueA: string, valueB: string) => number;
761
+ enablePivot?: boolean;
762
+ cellStyle?: import("@ag-grid-community/core").CellStyle | import("@ag-grid-community/core").CellStyleFunc<any> | import("ag-grid-community").CellStyleFunc<any, any, any>;
763
+ cellClass?: string | string[] | import("@ag-grid-community/core").CellClassFunc<any> | import("ag-grid-community").CellClassFunc<any, any, any>;
764
+ cellClassRules?: import("@ag-grid-community/core").CellClassRules<any> | import("ag-grid-community").CellClassRules<any, any, any>;
765
+ cellRenderer?: any;
766
+ cellRendererFramework?: any;
767
+ cellRendererParams?: any;
768
+ cellRendererSelector?: import("@ag-grid-community/core").CellRendererSelectorFunc<any> | import("ag-grid-community").CellRendererSelectorFunc<any, any, any>;
769
+ autoHeight?: boolean;
770
+ wrapText?: boolean;
771
+ enableCellChangeFlash?: boolean;
772
+ suppressCellFlash?: boolean;
773
+ rowDrag?: boolean | import("@ag-grid-community/core").RowDragCallback<any> | import("ag-grid-community").RowDragCallback<any, any, any>;
774
+ rowDragText?: ((params: import("@ag-grid-community/core").IRowDragItem, dragItemCount: number) => string) | ((params: import("ag-grid-community").IRowDragItem, dragItemCount: number) => string);
775
+ dndSource?: boolean | import("@ag-grid-community/core").DndSourceCallback<any> | import("ag-grid-community").DndSourceCallback<any, any, any>;
776
+ dndSourceOnRowDrag?: ((params: import("@ag-grid-community/core").DndSourceOnRowDragParams<any>) => void) | ((params: import("ag-grid-community").DndSourceOnRowDragParams<any, any>) => void);
777
+ rowGroup?: boolean | null;
778
+ initialRowGroup?: boolean;
779
+ rowGroupIndex?: number | null;
780
+ initialRowGroupIndex?: number;
781
+ enableRowGroup?: boolean;
782
+ enableValue?: boolean;
783
+ aggFunc?: string | import("@ag-grid-community/core").IAggFunc<any, any> | import("ag-grid-community").IAggFunc<any, any, any>;
784
+ initialAggFunc?: string | import("@ag-grid-community/core").IAggFunc<any, any> | import("ag-grid-community").IAggFunc<any, any, any>;
785
+ defaultAggFunc?: string;
786
+ allowedAggFuncs?: string[];
787
+ showRowGroup?: string | boolean;
788
+ sortable?: boolean;
789
+ sort?: "asc" | "desc";
790
+ initialSort?: "asc" | "desc";
791
+ sortIndex?: number | null;
792
+ initialSortIndex?: number;
793
+ sortingOrder?: import("@ag-grid-community/core").SortDirection[];
794
+ comparator?: ((valueA: any, valueB: any, nodeA: import("@ag-grid-community/core").IRowNode<any>, nodeB: import("@ag-grid-community/core").IRowNode<any>, isDescending: boolean) => number) | ((valueA: any, valueB: any, nodeA: import("ag-grid-community").IRowNode<any>, nodeB: import("ag-grid-community").IRowNode<any>, isDescending: boolean) => number);
795
+ unSortIcon?: boolean;
796
+ colSpan?: ((params: import("@ag-grid-community/core").ColSpanParams<any>) => number) | ((params: import("ag-grid-community").ColSpanParams<any, any, any>) => number);
797
+ rowSpan?: ((params: import("@ag-grid-community/core").RowSpanParams<any>) => number) | ((params: import("ag-grid-community").RowSpanParams<any, any, any>) => number);
798
+ width?: number;
799
+ initialWidth?: number;
800
+ minWidth?: number;
801
+ maxWidth?: number;
802
+ flex?: number | null;
803
+ initialFlex?: number;
804
+ resizable?: boolean;
805
+ suppressSizeToFit?: boolean;
806
+ suppressAutoSize?: boolean;
807
+ pivotValueColumn?: import("@ag-grid-community/core").Column | import("ag-grid-community").Column<any>;
808
+ pivotTotalColumnIds?: string[];
809
+ spanHeaderHeight?: boolean;
810
+ headerName?: string;
811
+ headerValueGetter?: string | import("@ag-grid-community/core").HeaderValueGetterFunc<any> | import("ag-grid-community").HeaderValueGetterFunc<any, any, any>;
812
+ headerTooltip?: string;
813
+ headerClass?: string | string[] | ((params: import("@ag-grid-community/core").HeaderClassParams<any>) => string | string[] | undefined) | ((params: import("ag-grid-community").HeaderClassParams<any, any, any>) => string | string[] | undefined);
814
+ suppressHeaderKeyboardEvent?: ((params: import("@ag-grid-community/core").SuppressHeaderKeyboardEventParams<any>) => boolean) | ((params: import("ag-grid-community").SuppressHeaderKeyboardEventParams<any, any, any>) => boolean);
815
+ columnGroupShow?: "open" | "closed";
816
+ toolPanelClass?: string | string[] | ((params: import("@ag-grid-community/core").ToolPanelClassParams<any>) => string | string[] | undefined) | ((params: import("ag-grid-community").ToolPanelClassParams<any, any, any>) => string | string[] | undefined);
817
+ suppressColumnsToolPanel?: boolean;
818
+ suppressFiltersToolPanel?: boolean;
819
+ tooltipComponent?: any;
820
+ tooltipComponentFramework?: any;
821
+ tooltipComponentParams?: any;
822
+ pivotKeys?: string[];
823
+ filter?: any;
824
+ filterFramework?: any;
825
+ filterParams?: any;
826
+ floatingFilterComponent?: any;
827
+ floatingFilterComponentFramework?: any;
828
+ floatingFilterComponentParams?: any;
829
+ cellDataType?: boolean | string;
830
+ useValueFormatterForExport?: boolean;
831
+ useValueParserForImport?: boolean;
832
+ suppressFloatingFilterButton?: boolean;
833
+ dateComponent?: any;
834
+ dateComponentParams?: any;
835
+ getFindText?: import("ag-grid-community").GetFindTextFunc<any, any, any>;
836
+ columnChooserParams?: import("ag-grid-community").ColumnChooserParams;
837
+ suppressHeaderMenuButton?: boolean;
838
+ suppressHeaderFilterButton?: boolean;
839
+ mainMenuItems?: import("ag-grid-community").GetMainMenuItems<any, any> | (import("ag-grid-community").MenuItemDef<any, any> | import("ag-grid-community").DefaultMenuItem)[];
840
+ contextMenuItems?: import("ag-grid-community").GetContextMenuItems<any, any> | (import("ag-grid-community").MenuItemDef<any, any> | import("ag-grid-community").DefaultMenuItem)[];
841
+ loadingCellRenderer?: any;
842
+ loadingCellRendererParams?: any;
843
+ loadingCellRendererSelector?: import("ag-grid-community").ILoadingCellRendererSelectorFunc<any, any, any>;
844
+ rowGroupingHierarchy?: (string | ColDef<any, any>)[];
845
+ spanRows?: boolean | ((params: import("ag-grid-community").SpanRowsParams<any, any, any>) => boolean);
846
+ suppressSpanHeaderHeight?: boolean;
847
+ headerStyle?: import("ag-grid-community").HeaderStyle | import("ag-grid-community").HeaderStyleFunc<any, any, any>;
848
+ cellAriaRole?: string;
849
+ context?: any;
850
+ suppressHeaderContextMenu?: boolean;
851
+ })[]>;
852
+ private panelExists;
853
+ private addRowCountPanel;
854
+ private addMaxRowsPanel;
855
+ private addAggregationPanel;
856
+ private addDatasourcePanels;
857
+ private addPaginationPanel;
858
+ protected setupPaginationAndStatusBar(gridOptions: GridOptions): void;
859
+ globalEventListener(eventType: any, event: any): void;
860
+ }
861
+ export {};
862
+ //# sourceMappingURL=grid-pro-v34.d.ts.map