@genesislcap/grid-pro 14.107.1-alpha-afbc4d7.0 → 14.107.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +24 -5
- 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 +31 -51
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
- package/dist/dts/grid-pro.d.ts +35 -39
- 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 +14 -2
- package/dist/esm/grid-pro.js +1 -20
- package/dist/grid-pro.api.json +2 -598
- package/dist/grid-pro.d.ts +95 -126
- package/docs/api/grid-pro.gridpro.enablerowflashing.md +0 -5
- 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
|
@@ -637,11 +637,6 @@
|
|
|
637
637
|
},
|
|
638
638
|
"readonly": true
|
|
639
639
|
},
|
|
640
|
-
{
|
|
641
|
-
"kind": "method",
|
|
642
|
-
"name": "enableFlashingRows",
|
|
643
|
-
"privacy": "private"
|
|
644
|
-
},
|
|
645
640
|
{
|
|
646
641
|
"kind": "method",
|
|
647
642
|
"name": "applyTemplateDefinitions",
|
|
@@ -5557,6 +5552,20 @@
|
|
|
5557
5552
|
"module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
|
|
5558
5553
|
}
|
|
5559
5554
|
},
|
|
5555
|
+
{
|
|
5556
|
+
"kind": "method",
|
|
5557
|
+
"name": "flashAddedCells",
|
|
5558
|
+
"privacy": "private",
|
|
5559
|
+
"parameters": [
|
|
5560
|
+
{
|
|
5561
|
+
"name": "rowNodes"
|
|
5562
|
+
}
|
|
5563
|
+
],
|
|
5564
|
+
"inheritedFrom": {
|
|
5565
|
+
"name": "GridProGenesisDatasource",
|
|
5566
|
+
"module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
|
|
5567
|
+
}
|
|
5568
|
+
},
|
|
5560
5569
|
{
|
|
5561
5570
|
"kind": "method",
|
|
5562
5571
|
"name": "applyMappedAgTransaction",
|
|
@@ -7754,6 +7763,16 @@
|
|
|
7754
7763
|
"name": "applyAllAgTransactions",
|
|
7755
7764
|
"privacy": "private"
|
|
7756
7765
|
},
|
|
7766
|
+
{
|
|
7767
|
+
"kind": "method",
|
|
7768
|
+
"name": "flashAddedCells",
|
|
7769
|
+
"privacy": "private",
|
|
7770
|
+
"parameters": [
|
|
7771
|
+
{
|
|
7772
|
+
"name": "rowNodes"
|
|
7773
|
+
}
|
|
7774
|
+
]
|
|
7775
|
+
},
|
|
7757
7776
|
{
|
|
7758
7777
|
"kind": "method",
|
|
7759
7778
|
"name": "applyMappedAgTransaction",
|
|
@@ -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,OAAO,KAAK,EAGV,q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AAS,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;
|
|
@@ -467,6 +446,7 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
467
446
|
private applyRequestServerData;
|
|
468
447
|
private applyDataserverData;
|
|
469
448
|
private applyAllAgTransactions;
|
|
449
|
+
private flashAddedCells;
|
|
470
450
|
private applyMappedAgTransaction;
|
|
471
451
|
/**
|
|
472
452
|
* Maps the transaction data to the row data mapper function, if it exists.
|
|
@@ -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":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/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';
|
|
@@ -76,10 +75,8 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
76
75
|
slot: string;
|
|
77
76
|
readonly tagName: string;
|
|
78
77
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
79
|
-
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
80
78
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
81
79
|
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
80
|
closest<E extends Element = Element>(selectors: string): E;
|
|
84
81
|
getAttribute(qualifiedName: string): string;
|
|
85
82
|
getAttributeNS(namespace: string, localName: string): string;
|
|
@@ -89,14 +86,11 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
89
86
|
getBoundingClientRect(): DOMRect;
|
|
90
87
|
getClientRects(): DOMRectList;
|
|
91
88
|
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]>;
|
|
89
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
90
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
96
91
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
97
92
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
98
93
|
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
94
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
101
95
|
hasAttribute(qualifiedName: string): boolean;
|
|
102
96
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
@@ -111,6 +105,12 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
111
105
|
removeAttributeNS(namespace: string, localName: string): void;
|
|
112
106
|
removeAttributeNode(attr: Attr): Attr;
|
|
113
107
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
108
|
+
/**
|
|
109
|
+
* Gets the saved grid ColumnState[] from local storage
|
|
110
|
+
* @remarks This is used to restore the grid state when the grid is rehydrated
|
|
111
|
+
* @privateRemarks Not using `columnApi.get|setColumnState()` for these flows as it doesn't work setting new columnDefs vs different ordering.
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
114
|
requestPointerLock(): void;
|
|
115
115
|
scroll(options?: ScrollToOptions): void;
|
|
116
116
|
scroll(x: number, y: number): void;
|
|
@@ -153,24 +153,24 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
153
153
|
normalize(): void;
|
|
154
154
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
155
155
|
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
|
|
156
|
+
readonly ATTRIBUTE_NODE: number;
|
|
157
|
+
readonly CDATA_SECTION_NODE: number;
|
|
158
|
+
readonly COMMENT_NODE: number;
|
|
159
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
160
|
+
readonly DOCUMENT_NODE: number;
|
|
161
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
162
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
163
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
164
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
165
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
166
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
167
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
|
168
|
+
readonly ELEMENT_NODE: number;
|
|
169
|
+
readonly ENTITY_NODE: number;
|
|
170
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
|
171
|
+
readonly NOTATION_NODE: number;
|
|
172
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
173
|
+
readonly TEXT_NODE: number;
|
|
174
174
|
dispatchEvent(event: Event): boolean;
|
|
175
175
|
ariaAtomic: string;
|
|
176
176
|
ariaAutoComplete: string;
|
|
@@ -178,6 +178,7 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
178
178
|
ariaChecked: string;
|
|
179
179
|
ariaColCount: string;
|
|
180
180
|
ariaColIndex: string;
|
|
181
|
+
ariaColIndexText: string;
|
|
181
182
|
ariaColSpan: string;
|
|
182
183
|
ariaCurrent: string;
|
|
183
184
|
ariaDisabled: string;
|
|
@@ -201,6 +202,7 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
201
202
|
ariaRoleDescription: string;
|
|
202
203
|
ariaRowCount: string;
|
|
203
204
|
ariaRowIndex: string;
|
|
205
|
+
ariaRowIndexText: string;
|
|
204
206
|
ariaRowSpan: string;
|
|
205
207
|
ariaSelected: string;
|
|
206
208
|
ariaSetSize: string;
|
|
@@ -225,18 +227,17 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
225
227
|
readonly lastElementChild: Element;
|
|
226
228
|
append(...nodes: (string | Node)[]): void;
|
|
227
229
|
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];
|
|
230
|
+
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
|
231
|
+
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
|
|
232
232
|
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]>;
|
|
233
|
+
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
|
234
|
+
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
|
237
235
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
238
236
|
replaceChildren(...nodes: (string | Node)[]): void;
|
|
239
237
|
readonly assignedSlot: HTMLSlotElement;
|
|
238
|
+
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
239
|
+
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
240
|
+
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
240
241
|
readonly style: CSSStyleDeclaration;
|
|
241
242
|
contentEditable: string;
|
|
242
243
|
enterKeyHint: string;
|
|
@@ -257,9 +258,7 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
257
258
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
258
259
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
259
260
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
260
|
-
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
261
261
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
262
|
-
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
263
262
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
264
263
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
265
264
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
@@ -292,7 +291,6 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
292
291
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
293
292
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
294
293
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
295
|
-
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
296
294
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
297
295
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
298
296
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -396,7 +394,6 @@ export declare class GridPro extends GridPro_base {
|
|
|
396
394
|
enabledRowFlashing: boolean;
|
|
397
395
|
/**
|
|
398
396
|
* If true, will enable row flashing for all rows for `add` async transactions
|
|
399
|
-
* @remarks Requires `asyncAdd` to be `true`
|
|
400
397
|
*/
|
|
401
398
|
enableRowFlashing: boolean;
|
|
402
399
|
/**
|
|
@@ -455,7 +452,6 @@ export declare class GridPro extends GridPro_base {
|
|
|
455
452
|
get gridOptions(): GridOptions;
|
|
456
453
|
get gridProDatasource(): GridProBaseDatasource;
|
|
457
454
|
set gridOptions(options: GridOptions);
|
|
458
|
-
private enableFlashingRows;
|
|
459
455
|
/**
|
|
460
456
|
* Will merge templated column definitions with `columnDefs` plus localStorage's column state or `deferredColumnStates`.
|
|
461
457
|
* @deprecated use `applyTemplateDefinitions` instead.
|
|
@@ -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,EAAiB,IAAI,EAAkB,MAAM,yBAAyB,CAAC;AAS9E,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,k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AAA,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"}
|
|
@@ -390,9 +390,21 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
390
390
|
this.applyMappedAgTransaction({ update: this.agTransaction.update }, OperationType.Update, this.agGrid.asyncUpdate);
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
|
+
flashAddedCells(rowNodes) {
|
|
394
|
+
if (this.agGrid.enableRowFlashing && rowNodes.length) {
|
|
395
|
+
this.agGrid.gridApi.flashCells({ rowNodes });
|
|
396
|
+
}
|
|
397
|
+
}
|
|
393
398
|
applyMappedAgTransaction(agTransaction, operation, isAsync) {
|
|
394
|
-
|
|
395
|
-
|
|
399
|
+
if (isAsync) {
|
|
400
|
+
this.agGrid.gridApi.applyTransactionAsync(this.mapTransaction(agTransaction, [operation]), (changedNodes) => {
|
|
401
|
+
this.flashAddedCells(changedNodes.add);
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
else {
|
|
405
|
+
const changedNodes = this.agGrid.gridApi.applyTransaction(this.mapTransaction(agTransaction, [operation]));
|
|
406
|
+
this.flashAddedCells(changedNodes.add);
|
|
407
|
+
}
|
|
396
408
|
}
|
|
397
409
|
/**
|
|
398
410
|
* Maps the transaction data to the row data mapper function, if it exists.
|