@genesislcap/grid-pro 14.107.1-alpha-afbc4d7.0 → 14.107.1-alpha-2ab4599.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/dts/datasource/server-side.datasource.d.ts +29 -37
- package/dist/dts/datasource/server-side.datasource.d.ts.map +1 -1
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +30 -51
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
- package/dist/dts/grid-pro.d.ts +33 -38
- package/dist/dts/grid-pro.d.ts.map +1 -1
- package/dist/dts/tsdoc-metadata.json +1 -1
- package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +10 -7
- package/dist/esm/grid-pro.js +7 -2
- package/dist/grid-pro.api.json +1 -597
- package/dist/grid-pro.d.ts +92 -125
- package/docs/api/grid-pro.md +0 -7
- package/docs/api-report.md +0 -2
- package/package.json +9 -9
- package/docs/api/grid-pro.formatdateextra.md +0 -34
- package/docs/api/grid-pro.getcolumntype.md +0 -33
- package/docs/api/grid-pro.getfilterbyfieldtype.md +0 -33
- package/docs/api/grid-pro.getfilterparamsbyfieldtype.md +0 -33
- package/docs/api/grid-pro.gridproserversidedatasource.md +0 -30
- package/docs/api/grid-pro.gridproserversidedatasource.pagination.md +0 -14
- package/docs/api/grid-pro.gridproserversidedatasource.params.md +0 -14
- package/docs/api/grid-pro.gridproserversidedatasource.rowid.md +0 -14
- package/docs/api/grid-pro.streamdatasource._constructor_.md +0 -23
- package/docs/api/grid-pro.streamdatasource.auth.md +0 -14
- package/docs/api/grid-pro.streamdatasource.connect.md +0 -14
- package/docs/api/grid-pro.streamdatasource.dataserverstream.md +0 -14
- package/docs/api/grid-pro.streamdatasource.md +0 -34
- package/docs/api/grid-pro.streamdatasource.resourceparams.md +0 -14
- package/docs/api/grid-pro.streamdatasource.streamsourceref.md +0 -14
- package/docs/api/grid-pro.streamdatasourceoptions.md +0 -31
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import type { IServerSideDatasource, IServerSideGetRowsParams } from '@ag-grid-community/core';
|
|
3
2
|
import { Auth, Connect, FilteredDataServerResult, MetadataDetail, SocketObservable } from '@genesislcap/foundation-comms';
|
|
4
3
|
import { GridProBaseDatasource } from './base.datasource';
|
|
@@ -129,10 +128,8 @@ declare const GridProServerSideDatasource_base: (new (...args: any[]) => {
|
|
|
129
128
|
slot: string;
|
|
130
129
|
readonly tagName: string;
|
|
131
130
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
132
|
-
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
133
131
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
134
132
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
135
|
-
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
|
|
136
133
|
closest<E extends Element = Element>(selectors: string): E;
|
|
137
134
|
getAttribute(qualifiedName: string): string;
|
|
138
135
|
getAttributeNS(namespace: string, localName: string): string;
|
|
@@ -142,14 +139,11 @@ declare const GridProServerSideDatasource_base: (new (...args: any[]) => {
|
|
|
142
139
|
getBoundingClientRect(): DOMRect;
|
|
143
140
|
getClientRects(): DOMRectList;
|
|
144
141
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
145
|
-
getElementsByTagName<
|
|
146
|
-
getElementsByTagName<
|
|
147
|
-
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
148
|
-
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
142
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
143
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
149
144
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
150
145
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
151
146
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
152
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
153
147
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
154
148
|
hasAttribute(qualifiedName: string): boolean;
|
|
155
149
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
@@ -206,24 +200,24 @@ declare const GridProServerSideDatasource_base: (new (...args: any[]) => {
|
|
|
206
200
|
normalize(): void;
|
|
207
201
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
208
202
|
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
209
|
-
readonly
|
|
210
|
-
readonly
|
|
211
|
-
readonly
|
|
212
|
-
readonly
|
|
213
|
-
readonly
|
|
214
|
-
readonly
|
|
215
|
-
readonly
|
|
216
|
-
readonly
|
|
217
|
-
readonly
|
|
218
|
-
readonly
|
|
219
|
-
readonly
|
|
220
|
-
readonly
|
|
221
|
-
readonly
|
|
222
|
-
readonly
|
|
223
|
-
readonly
|
|
224
|
-
readonly
|
|
225
|
-
readonly
|
|
226
|
-
readonly
|
|
203
|
+
readonly ATTRIBUTE_NODE: number;
|
|
204
|
+
readonly CDATA_SECTION_NODE: number;
|
|
205
|
+
readonly COMMENT_NODE: number;
|
|
206
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
207
|
+
readonly DOCUMENT_NODE: number;
|
|
208
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
209
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
210
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
211
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
212
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
213
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
214
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
|
215
|
+
readonly ELEMENT_NODE: number;
|
|
216
|
+
readonly ENTITY_NODE: number;
|
|
217
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
|
218
|
+
readonly NOTATION_NODE: number;
|
|
219
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
220
|
+
readonly TEXT_NODE: number;
|
|
227
221
|
dispatchEvent(event: Event): boolean;
|
|
228
222
|
ariaAtomic: string;
|
|
229
223
|
ariaAutoComplete: string;
|
|
@@ -231,6 +225,7 @@ declare const GridProServerSideDatasource_base: (new (...args: any[]) => {
|
|
|
231
225
|
ariaChecked: string;
|
|
232
226
|
ariaColCount: string;
|
|
233
227
|
ariaColIndex: string;
|
|
228
|
+
ariaColIndexText: string;
|
|
234
229
|
ariaColSpan: string;
|
|
235
230
|
ariaCurrent: string;
|
|
236
231
|
ariaDisabled: string;
|
|
@@ -254,6 +249,7 @@ declare const GridProServerSideDatasource_base: (new (...args: any[]) => {
|
|
|
254
249
|
ariaRoleDescription: string;
|
|
255
250
|
ariaRowCount: string;
|
|
256
251
|
ariaRowIndex: string;
|
|
252
|
+
ariaRowIndexText: string;
|
|
257
253
|
ariaRowSpan: string;
|
|
258
254
|
ariaSelected: string;
|
|
259
255
|
ariaSetSize: string;
|
|
@@ -278,18 +274,17 @@ declare const GridProServerSideDatasource_base: (new (...args: any[]) => {
|
|
|
278
274
|
readonly lastElementChild: Element;
|
|
279
275
|
append(...nodes: (string | Node)[]): void;
|
|
280
276
|
prepend(...nodes: (string | Node)[]): void;
|
|
281
|
-
querySelector<
|
|
282
|
-
querySelector<
|
|
283
|
-
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
|
284
|
-
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
|
277
|
+
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
|
278
|
+
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
|
|
285
279
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
286
|
-
querySelectorAll<
|
|
287
|
-
querySelectorAll<
|
|
288
|
-
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
289
|
-
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
280
|
+
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
|
281
|
+
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
|
290
282
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
291
283
|
replaceChildren(...nodes: (string | Node)[]): void;
|
|
292
284
|
readonly assignedSlot: HTMLSlotElement;
|
|
285
|
+
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
286
|
+
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
287
|
+
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
293
288
|
readonly style: CSSStyleDeclaration;
|
|
294
289
|
contentEditable: string;
|
|
295
290
|
enterKeyHint: string;
|
|
@@ -310,9 +305,7 @@ declare const GridProServerSideDatasource_base: (new (...args: any[]) => {
|
|
|
310
305
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
311
306
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
312
307
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
313
|
-
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
314
308
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
315
|
-
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
316
309
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
317
310
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
318
311
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
@@ -345,7 +338,6 @@ declare const GridProServerSideDatasource_base: (new (...args: any[]) => {
|
|
|
345
338
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
346
339
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
347
340
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
348
|
-
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
349
341
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
350
342
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
351
343
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-side.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.datasource.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"server-side.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.datasource.ts"],"names":[],"mappings":"AAAA,O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jB,oBAAoB;IASX,SAAS,IAAI,IAAI;IAO1B,IAAI;IAiEJ,KAAK;IAOL,OAAO;IAKP,OAAO,KAAK,MAAM,GAEjB;IAED,OAAO,CAAC,YAAY;IAWpB,OAAO,CAAC,kBAAkB;IAU1B,IAAI,MAAM,QA2BT;YAEa,sBAAsB;IAapC,OAAO,CAAC,eAAe;CA4DxB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { Auth, Datasource } from '@genesislcap/foundation-comms';
|
|
3
2
|
import { GridProBaseDatasource } from '../datasource/base.datasource';
|
|
4
3
|
/**
|
|
@@ -16,9 +15,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
16
15
|
"__#1@#_hasFirstLoaded": boolean;
|
|
17
16
|
"__#1@#_cleanupTimeout": NodeJS.Timeout;
|
|
18
17
|
"__#1@#_shouldForceLifecycle": boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Allows grid data updates to be processed via and external function before applying in grid
|
|
21
|
-
*/
|
|
22
18
|
cloneNode(deep?: boolean): Node;
|
|
23
19
|
deepClone(): Node;
|
|
24
20
|
readonly shouldRunDisconnect: boolean;
|
|
@@ -60,11 +56,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
60
56
|
readonly clientHeight: number;
|
|
61
57
|
readonly clientLeft: number;
|
|
62
58
|
readonly clientTop: number;
|
|
63
|
-
/**
|
|
64
|
-
* Resets the datasource to its initial state.
|
|
65
|
-
* @public
|
|
66
|
-
* @deprecated Use `deinit` instead
|
|
67
|
-
*/
|
|
68
59
|
readonly clientWidth: number;
|
|
69
60
|
id: string;
|
|
70
61
|
readonly localName: string;
|
|
@@ -83,32 +74,22 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
83
74
|
slot: string;
|
|
84
75
|
readonly tagName: string;
|
|
85
76
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
86
|
-
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
87
77
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
88
78
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
89
|
-
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
|
|
90
79
|
closest<E extends Element = Element>(selectors: string): E;
|
|
91
80
|
getAttribute(qualifiedName: string): string;
|
|
92
81
|
getAttributeNS(namespace: string, localName: string): string;
|
|
93
82
|
getAttributeNames(): string[];
|
|
94
83
|
getAttributeNode(qualifiedName: string): Attr;
|
|
95
84
|
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
96
|
-
getBoundingClientRect(): DOMRect;
|
|
97
|
-
* Clears the rowData and columnDefs for the grid.
|
|
98
|
-
* @remarks This is called when `reloadResourceData` happens, on criteria and filters change or full `reset`.
|
|
99
|
-
* @param withColumnDefs - Whether to clear the columnDefs as well. Defaults to true.
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
85
|
+
getBoundingClientRect(): DOMRect;
|
|
102
86
|
getClientRects(): DOMRectList;
|
|
103
87
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
104
|
-
getElementsByTagName<
|
|
105
|
-
getElementsByTagName<
|
|
106
|
-
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
107
|
-
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
88
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
89
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
108
90
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
109
91
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
110
92
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
111
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
112
93
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
113
94
|
hasAttribute(qualifiedName: string): boolean;
|
|
114
95
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
@@ -165,24 +146,24 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
165
146
|
normalize(): void;
|
|
166
147
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
167
148
|
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
168
|
-
readonly
|
|
169
|
-
readonly
|
|
170
|
-
readonly
|
|
171
|
-
readonly
|
|
172
|
-
readonly
|
|
173
|
-
readonly
|
|
174
|
-
readonly
|
|
175
|
-
readonly
|
|
176
|
-
readonly
|
|
177
|
-
readonly
|
|
178
|
-
readonly
|
|
179
|
-
readonly
|
|
180
|
-
readonly
|
|
181
|
-
readonly
|
|
182
|
-
readonly
|
|
183
|
-
readonly
|
|
184
|
-
readonly
|
|
185
|
-
readonly
|
|
149
|
+
readonly ATTRIBUTE_NODE: number;
|
|
150
|
+
readonly CDATA_SECTION_NODE: number;
|
|
151
|
+
readonly COMMENT_NODE: number;
|
|
152
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
153
|
+
readonly DOCUMENT_NODE: number;
|
|
154
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
155
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
156
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
157
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
158
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
159
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
160
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
|
161
|
+
readonly ELEMENT_NODE: number;
|
|
162
|
+
readonly ENTITY_NODE: number;
|
|
163
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
|
164
|
+
readonly NOTATION_NODE: number;
|
|
165
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
166
|
+
readonly TEXT_NODE: number;
|
|
186
167
|
dispatchEvent(event: Event): boolean;
|
|
187
168
|
ariaAtomic: string;
|
|
188
169
|
ariaAutoComplete: string;
|
|
@@ -190,6 +171,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
190
171
|
ariaChecked: string;
|
|
191
172
|
ariaColCount: string;
|
|
192
173
|
ariaColIndex: string;
|
|
174
|
+
ariaColIndexText: string;
|
|
193
175
|
ariaColSpan: string;
|
|
194
176
|
ariaCurrent: string;
|
|
195
177
|
ariaDisabled: string;
|
|
@@ -213,6 +195,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
213
195
|
ariaRoleDescription: string;
|
|
214
196
|
ariaRowCount: string;
|
|
215
197
|
ariaRowIndex: string;
|
|
198
|
+
ariaRowIndexText: string;
|
|
216
199
|
ariaRowSpan: string;
|
|
217
200
|
ariaSelected: string;
|
|
218
201
|
ariaSetSize: string;
|
|
@@ -237,18 +220,17 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
237
220
|
readonly lastElementChild: Element;
|
|
238
221
|
append(...nodes: (string | Node)[]): void;
|
|
239
222
|
prepend(...nodes: (string | Node)[]): void;
|
|
240
|
-
querySelector<
|
|
241
|
-
querySelector<
|
|
242
|
-
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
|
243
|
-
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
|
223
|
+
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
|
224
|
+
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
|
|
244
225
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
245
|
-
querySelectorAll<
|
|
246
|
-
querySelectorAll<
|
|
247
|
-
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
248
|
-
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
226
|
+
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
|
227
|
+
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
|
249
228
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
250
229
|
replaceChildren(...nodes: (string | Node)[]): void;
|
|
251
230
|
readonly assignedSlot: HTMLSlotElement;
|
|
231
|
+
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
232
|
+
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
233
|
+
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
252
234
|
readonly style: CSSStyleDeclaration;
|
|
253
235
|
contentEditable: string;
|
|
254
236
|
enterKeyHint: string;
|
|
@@ -269,9 +251,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
269
251
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
270
252
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
271
253
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
272
|
-
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
273
254
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
274
|
-
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
275
255
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
276
256
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
277
257
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
@@ -304,7 +284,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
304
284
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
305
285
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
306
286
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
307
|
-
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
308
287
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
309
288
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
310
289
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro-genesis-datasource.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"grid-pro-genesis-datasource.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"],"names":[],"mappings":"AACA,OAAO,EACL,IAAI,EACJ,UAAU,EAaX,MAAM,+BAA+B,CAAC;AAMvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,C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AmB,CAAkC;IAC7D,OAAO,CAAC,MAAM,CAAwE;IAEtF,iBAAiB;IAuBjB,oBAAoB;IASX,SAAS,IAAI,IAAI;IAQ1B,OAAO,KAAK,MAAM,GAEjB;IAID;;;;OAIG;IACH,OAAO,KAAK,KAAK,GAIhB;IAED;;;;OAIG;IACG,IAAI;IAyCV;;;OAGG;IACH,MAAM;IAIN;;;;OAIG;IACH,KAAK;IA6BL;;;OAGG;IACH,OAAO;IAKP;;OAEG;IACH,WAAW;IAIX;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAUlB;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAWpB;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAgBlB;;;;;OAKG;YACW,kBAAkB;IAWhC;;;;;;OAMG;YACW,gBAAgB;IA4C9B,OAAO,CAAC,cAAc;IActB,OAAO,CAAC,iBAAiB;IAiBzB,OAAO,CAAC,kBAAkB;IAU1B,OAAO,CAAC,sBAAsB;IA2C9B,OAAO,CAAC,mBAAmB;IAqB3B,OAAO,CAAC,sBAAsB;IAmC9B,OAAO,CAAC,wBAAwB;IAYhC;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAyBtB,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,eAAe;IA4DvB,OAAO,CAAC,aAAa;IAMd,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;CAItC"}
|
package/dist/dts/grid-pro.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import type { ColDef, ColumnApi, ColumnState, GridApi, GridOptions } from '@ag-grid-community/core';
|
|
3
2
|
import { Grid } from '@ag-grid-community/core';
|
|
4
3
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
@@ -20,7 +19,10 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
20
19
|
cloneNode(deep?: boolean): Node;
|
|
21
20
|
deepClone(): Node;
|
|
22
21
|
readonly shouldRunDisconnect: boolean;
|
|
23
|
-
readonly shouldRunConnect: boolean;
|
|
22
|
+
readonly shouldRunConnect: boolean; /**
|
|
23
|
+
* Whether to use the `applyTransactionAsync` function for *update* transactions
|
|
24
|
+
* @remarks Defaults to true
|
|
25
|
+
*/
|
|
24
26
|
"__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
|
|
25
27
|
"__#1@#_tryFindContainingLayout"(e: Element): import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
26
28
|
connectedCallback(): void;
|
|
@@ -76,10 +78,8 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
76
78
|
slot: string;
|
|
77
79
|
readonly tagName: string;
|
|
78
80
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
79
|
-
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
80
81
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
81
82
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
82
|
-
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
|
|
83
83
|
closest<E extends Element = Element>(selectors: string): E;
|
|
84
84
|
getAttribute(qualifiedName: string): string;
|
|
85
85
|
getAttributeNS(namespace: string, localName: string): string;
|
|
@@ -89,14 +89,11 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
89
89
|
getBoundingClientRect(): DOMRect;
|
|
90
90
|
getClientRects(): DOMRectList;
|
|
91
91
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
92
|
-
getElementsByTagName<
|
|
93
|
-
getElementsByTagName<
|
|
94
|
-
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
95
|
-
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
92
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
93
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
96
94
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
97
95
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
98
96
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
99
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
100
97
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
101
98
|
hasAttribute(qualifiedName: string): boolean;
|
|
102
99
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
@@ -153,24 +150,24 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
153
150
|
normalize(): void;
|
|
154
151
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
155
152
|
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
156
|
-
readonly
|
|
157
|
-
readonly
|
|
158
|
-
readonly
|
|
159
|
-
readonly
|
|
160
|
-
readonly
|
|
161
|
-
readonly
|
|
162
|
-
readonly
|
|
163
|
-
readonly
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
166
|
-
readonly
|
|
167
|
-
readonly
|
|
168
|
-
readonly
|
|
169
|
-
readonly
|
|
170
|
-
readonly
|
|
171
|
-
readonly
|
|
172
|
-
readonly
|
|
173
|
-
readonly
|
|
153
|
+
readonly ATTRIBUTE_NODE: number;
|
|
154
|
+
readonly CDATA_SECTION_NODE: number;
|
|
155
|
+
readonly COMMENT_NODE: number;
|
|
156
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
157
|
+
readonly DOCUMENT_NODE: number;
|
|
158
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
159
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
160
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
161
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
162
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
163
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
164
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
|
165
|
+
readonly ELEMENT_NODE: number;
|
|
166
|
+
readonly ENTITY_NODE: number;
|
|
167
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
|
168
|
+
readonly NOTATION_NODE: number;
|
|
169
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
170
|
+
readonly TEXT_NODE: number;
|
|
174
171
|
dispatchEvent(event: Event): boolean;
|
|
175
172
|
ariaAtomic: string;
|
|
176
173
|
ariaAutoComplete: string;
|
|
@@ -178,6 +175,7 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
178
175
|
ariaChecked: string;
|
|
179
176
|
ariaColCount: string;
|
|
180
177
|
ariaColIndex: string;
|
|
178
|
+
ariaColIndexText: string;
|
|
181
179
|
ariaColSpan: string;
|
|
182
180
|
ariaCurrent: string;
|
|
183
181
|
ariaDisabled: string;
|
|
@@ -201,6 +199,7 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
201
199
|
ariaRoleDescription: string;
|
|
202
200
|
ariaRowCount: string;
|
|
203
201
|
ariaRowIndex: string;
|
|
202
|
+
ariaRowIndexText: string;
|
|
204
203
|
ariaRowSpan: string;
|
|
205
204
|
ariaSelected: string;
|
|
206
205
|
ariaSetSize: string;
|
|
@@ -225,18 +224,17 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
225
224
|
readonly lastElementChild: Element;
|
|
226
225
|
append(...nodes: (string | Node)[]): void;
|
|
227
226
|
prepend(...nodes: (string | Node)[]): void;
|
|
228
|
-
querySelector<
|
|
229
|
-
querySelector<
|
|
230
|
-
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
|
231
|
-
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
|
227
|
+
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
|
228
|
+
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
|
|
232
229
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
233
|
-
querySelectorAll<
|
|
234
|
-
querySelectorAll<
|
|
235
|
-
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
236
|
-
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
230
|
+
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
|
231
|
+
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
|
237
232
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
238
233
|
replaceChildren(...nodes: (string | Node)[]): void;
|
|
239
234
|
readonly assignedSlot: HTMLSlotElement;
|
|
235
|
+
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
236
|
+
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
237
|
+
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
240
238
|
readonly style: CSSStyleDeclaration;
|
|
241
239
|
contentEditable: string;
|
|
242
240
|
enterKeyHint: string;
|
|
@@ -257,9 +255,7 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
257
255
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
258
256
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
259
257
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
260
|
-
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
261
258
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
262
|
-
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
263
259
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
264
260
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
265
261
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
@@ -292,7 +288,6 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
292
288
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
293
289
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
294
290
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
295
|
-
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
296
291
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
297
292
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
298
293
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro.d.ts","sourceRoot":"","sources":["../../src/grid-pro.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"grid-pro.d.ts","sourceRoot":"","sources":["../../src/grid-pro.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EACN,SAAS,EACT,WAAW,EAEX,OAAO,EACP,WAAW,EAEZ,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAIL,IAAI,EAEL,MAAM,yBAAyB,CAAC;AASjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAQ/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAMrE,OAAO,EAKL,cAAc,EAEf,MAAM,kBAAkB,CAAC;AAW1B;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,UAAW,MAAM,WACa,CAAC;;;;;;;;;;wCAsD5D;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAnDL;;;;;GAKG;AACH,qBAAa,OAAQ,SAAQ,YAAiC;IAChD,SAAS,EAAG,SAAS,CAAC;IACtB,OAAO,EAAG,OAAO,CAAC;IACrB,OAAO,CAAC,OAAO,CAAU;IAElC;;;OAGG;IACH,OAAO,CAAC,SAAS,CAAwB;IAG2B,sBAAsB,UAClF;IACwD,mBAAmB,UAAS;IAI5F;;;;OAIG;IACsD,qBAAqB,UAAS;IAEvF;;OAEG;I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vB;;;;;OAKG;IACH,mBAAmB,IAAI,WAAW,EAAE;IAapC,OAAO,CAAC,kBAAkB;IAa1B,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,yBAAyB;IAOjC;;OAEG;IACH,IAAI,WAAW,IAAI,WAAW,CAE7B;IAED,IAAI,iBAAiB,IAAI,qBAAqB,CAM7C;IAED,IAAI,WAAW,CAAC,OAAO,EAAE,WAAW,EAuFnC;IAED,OAAO,CAAC,kBAAkB;IAwB1B;;;;;;OAMG;IACH,wBAAwB,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,yBAAyB,UAAQ;IAKhF;;;;;;;;OAQG;IACH,2BAA2B,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,yBAAyB,UAAQ;IA+CnF,IAAI,kBAAkB,aAerB;IAED,0BAA0B,CAAC,OAAO,KAAA,EAAE,QAAQ,KAAA,EAAE,QAAQ,KAAA;IAqBtD,mBAAmB,CAAC,SAAS,KAAA,EAAE,KAAK,KAAA;IAiBpC,OAAO,CAAC,eAAe,CAAa;IAEpC,OAAO,CAAC,cAAc;IAStB,OAAO,CAAC,eAAe;CAMxB;AAED;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B,EAAE,cAA0B,CAAC;AAExE;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;CAEhC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;kBAM5B,CAAC"}
|
|
@@ -214,16 +214,16 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
214
214
|
* @internal
|
|
215
215
|
*/
|
|
216
216
|
setRowData(rowData) {
|
|
217
|
-
var _a;
|
|
217
|
+
var _a, _b, _c;
|
|
218
218
|
const preSetColumnDefs = (_a = this.agGrid.gridApi) === null || _a === void 0 ? void 0 : _a.getColumnDefs();
|
|
219
219
|
if (!preSetColumnDefs || preSetColumnDefs.length === 0) {
|
|
220
220
|
const agColumnDefs = this.getAgColumnDefs(this.datasource.fieldMetadata);
|
|
221
221
|
if (agColumnDefs) {
|
|
222
|
-
this.agGrid.gridApi.setColumnDefs(agColumnDefs);
|
|
222
|
+
(_b = this.agGrid.gridApi) === null || _b === void 0 ? void 0 : _b.setColumnDefs(agColumnDefs);
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
225
|
const data = this.rowDataMapper ? this.rowDataMapper(rowData) : rowData;
|
|
226
|
-
this.agGrid.gridApi.setRowData(data);
|
|
226
|
+
(_c = this.agGrid.gridApi) === null || _c === void 0 ? void 0 : _c.setRowData(data);
|
|
227
227
|
this.requiresFullRowDataAndColDefs = false;
|
|
228
228
|
}
|
|
229
229
|
/**
|
|
@@ -233,7 +233,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
233
233
|
* @internal
|
|
234
234
|
*/
|
|
235
235
|
reloadResourceData() {
|
|
236
|
-
var _a
|
|
236
|
+
var _a;
|
|
237
237
|
return __awaiter(this, void 0, void 0, function* () {
|
|
238
238
|
if (this.dataSub) {
|
|
239
239
|
this.dataSub.unsubscribe();
|
|
@@ -241,7 +241,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
241
241
|
}
|
|
242
242
|
this.dataLogoff();
|
|
243
243
|
this.clearRowData(withoutColumnDefs);
|
|
244
|
-
(
|
|
244
|
+
(_a = this.agGrid.gridApi) === null || _a === void 0 ? void 0 : _a.showLoadingOverlay();
|
|
245
245
|
this.loadResourceData(withoutFullInit);
|
|
246
246
|
});
|
|
247
247
|
}
|
|
@@ -374,10 +374,11 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
374
374
|
this.applyAllAgTransactions();
|
|
375
375
|
}
|
|
376
376
|
applyAllAgTransactions() {
|
|
377
|
+
var _a;
|
|
377
378
|
if (!this.agTransaction.add.length &&
|
|
378
379
|
!this.agTransaction.update.length &&
|
|
379
380
|
!this.agTransaction.remove.length) {
|
|
380
|
-
this.agGrid.gridApi.showNoRowsOverlay();
|
|
381
|
+
(_a = this.agGrid.gridApi) === null || _a === void 0 ? void 0 : _a.showNoRowsOverlay();
|
|
381
382
|
return;
|
|
382
383
|
}
|
|
383
384
|
if (this.agTransaction.add.length > 0) {
|
|
@@ -392,7 +393,9 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
392
393
|
}
|
|
393
394
|
applyMappedAgTransaction(agTransaction, operation, isAsync) {
|
|
394
395
|
const applyTransaction = isAsync ? 'applyTransactionAsync' : 'applyTransaction';
|
|
395
|
-
this.agGrid.gridApi
|
|
396
|
+
if (this.agGrid.gridApi) {
|
|
397
|
+
this.agGrid.gridApi[applyTransaction](this.mapTransaction(agTransaction, [operation]));
|
|
398
|
+
}
|
|
396
399
|
}
|
|
397
400
|
/**
|
|
398
401
|
* Maps the transaction data to the row data mapper function, if it exists.
|
package/dist/esm/grid-pro.js
CHANGED
|
@@ -108,6 +108,7 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
108
108
|
connectedCallback() {
|
|
109
109
|
super.connectedCallback();
|
|
110
110
|
this.rehydrationAttempted = false;
|
|
111
|
+
this.initialised = false;
|
|
111
112
|
if (this.gridAutosizingEnabled) {
|
|
112
113
|
respondToVisibility(this, (gridVisible) => {
|
|
113
114
|
if (gridVisible) {
|
|
@@ -135,6 +136,8 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
135
136
|
if (!this.shouldRunDisconnect)
|
|
136
137
|
return;
|
|
137
138
|
(_a = this.gridApi) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
139
|
+
this.gridApi = null;
|
|
140
|
+
this.columnApi = null;
|
|
138
141
|
}
|
|
139
142
|
combineAllGridComponents(gridOptionsComponents) {
|
|
140
143
|
const defaultFoundationAgComponents = {
|
|
@@ -296,15 +299,17 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
296
299
|
});
|
|
297
300
|
}
|
|
298
301
|
enableFlashingRows() {
|
|
302
|
+
var _a;
|
|
299
303
|
if (this.enableRowFlashing || this.enabledRowFlashing) {
|
|
300
304
|
if (!this.asyncAdd) {
|
|
301
305
|
logger.warn('Row Flashing (enableRowFlashing) only works when Grid has async Add Transactions (asyncAdd) enabled');
|
|
302
306
|
return;
|
|
303
307
|
}
|
|
304
|
-
this.gridApi.addEventListener(Events.EVENT_ASYNC_TRANSACTIONS_FLUSHED, (e) => {
|
|
308
|
+
(_a = this.gridApi) === null || _a === void 0 ? void 0 : _a.addEventListener(Events.EVENT_ASYNC_TRANSACTIONS_FLUSHED, (e) => {
|
|
305
309
|
e.results.forEach((result) => {
|
|
310
|
+
var _a;
|
|
306
311
|
if (result.add.length) {
|
|
307
|
-
this.gridApi.flashCells({
|
|
312
|
+
(_a = this.gridApi) === null || _a === void 0 ? void 0 : _a.flashCells({
|
|
308
313
|
rowNodes: result.add,
|
|
309
314
|
});
|
|
310
315
|
}
|