@genesislcap/grid-pro 14.237.2-alpha-78ebbc0.0 → 14.238.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/dts/column/column.d.ts +29 -46
- package/dist/dts/column/column.d.ts.map +1 -1
- package/dist/dts/datasource/base.datasource.d.ts +29 -45
- package/dist/dts/datasource/base.datasource.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.datasource.d.ts +29 -46
- 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 -53
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
- package/dist/dts/grid-pro.d.ts +36 -49
- package/dist/dts/grid-pro.d.ts.map +1 -1
- package/dist/dts/grid-pro.types.d.ts +1 -1
- package/dist/dts/grid-pro.types.d.ts.map +1 -1
- package/dist/dts/tsdoc-metadata.json +1 -1
- package/dist/esm/cell-renderers/select.renderer.js +1 -1
- package/dist/esm/datasource/server-side.datasource.js +6 -6
- package/dist/esm/datasource/server-side.resource-base.js +1 -1
- package/dist/esm/datasource/server-side.resource-dataserver.js +1 -1
- package/dist/esm/datasource/server-side.resource-reqrep.js +1 -1
- package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +4 -4
- package/dist/esm/grid-pro.js +5 -5
- package/dist/esm/state-persistence/kv-state.js +3 -3
- package/dist/grid-pro.api.json +316 -1302
- package/dist/grid-pro.d.ts +154 -238
- package/docs/api/grid-pro.agthemefontsid.md +1 -13
- package/docs/api/grid-pro.agthemetokenmapclassname.md +1 -13
- package/docs/api/grid-pro.agthemetokenmapcss.md +1 -14
- package/docs/api/grid-pro.converttokebabcase.md +1 -14
- package/docs/api/grid-pro.foundationagbooleanrenderer.md +1 -11
- package/docs/api/grid-pro.foundationageditablerenderer.md +1 -11
- package/docs/api/grid-pro.foundationagselectrenderer.md +1 -11
- package/docs/api/grid-pro.foundationagtextfieldrenderer.md +1 -11
- package/docs/api/grid-pro.foundationagtextrenderer.md +1 -11
- package/docs/api/grid-pro.foundationdateeditor.md +1 -11
- package/docs/api/grid-pro.foundationgridpro.md +1 -11
- package/docs/api/grid-pro.foundationgridproactionrenderer.md +1 -11
- package/docs/api/grid-pro.foundationgridproactionsmenurenderer.md +1 -11
- package/docs/api/grid-pro.foundationmultiselecteditor.md +1 -11
- package/docs/api/grid-pro.foundationnumbereditor.md +1 -11
- package/docs/api/grid-pro.foundationselecteditor.md +1 -11
- package/docs/api/grid-pro.foundationstringeditor.md +1 -11
- package/docs/api/grid-pro.getactionsmenudef.md +1 -17
- package/docs/api/grid-pro.getagbooleanrenderertemplate.md +1 -14
- package/docs/api/grid-pro.getageditablerenderertemplate.md +1 -14
- package/docs/api/grid-pro.getdateeditortemplate.md +1 -14
- package/docs/api/grid-pro.getgridprotemplate.md +1 -14
- package/docs/api/grid-pro.getmultiselecteditortemplate.md +1 -14
- package/docs/api/grid-pro.getnumbereditortemplate.md +1 -14
- package/docs/api/grid-pro.getselecteditortemplate.md +1 -14
- package/docs/api/grid-pro.getselectrenderertemplate.md +1 -14
- package/docs/api/grid-pro.getstringeditortemplate.md +1 -14
- package/docs/api/grid-pro.gettextfieldrenderertemplate.md +1 -14
- package/docs/api/grid-pro.gettextrenderertemplate.md +1 -12
- package/docs/api/grid-pro.gridpro.md +1 -1
- package/docs/api/grid-pro.md +29 -33
- package/docs/{api-report.md.api.md → api-report.md} +1 -3
- package/package.json +14 -14
- 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.gridproserversidedatasource.applyasyncfuncname.md +0 -14
- package/docs/api/grid-pro.gridproserversidedatasource.applyfuncname.md +0 -14
- package/docs/api/grid-pro.gridproserversidedatasource.liveupdates.md +0 -21
- package/docs/api/grid-pro.gridproserversidedatasource.md +0 -35
- 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.request.md +0 -14
- package/docs/api/grid-pro.gridproserversidedatasource.rowmodel.md +0 -14
- package/docs/api/grid-pro.gridproserversidedatasource.zerobasedviewnumber.md +0 -21
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { ColDef, ColumnState, RowDataTransaction, RowNodeTransaction } from '@ag-grid-community/core';
|
|
3
2
|
import { GridProBaseDatasource } from '../datasource/base.datasource';
|
|
4
3
|
declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
@@ -13,13 +12,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
13
12
|
readonly shouldRunConnect: boolean;
|
|
14
13
|
"__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
|
|
15
14
|
"__#1@#_tryFindContainingLayout"(e: Element): import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
16
|
-
connectedCallback(): void;
|
|
17
|
-
* Initializes the datasource.
|
|
18
|
-
* @public
|
|
19
|
-
* @param columnDefinitions - Optionally set the `gridOptions` up with column definitions
|
|
20
|
-
* @param columnStates - Optionally set the grid up with column state
|
|
21
|
-
* @remarks This method is called automatically when the element is connected to the DOM.
|
|
22
|
-
*/
|
|
15
|
+
connectedCallback(): void;
|
|
23
16
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
24
17
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
|
|
25
18
|
disconnectedCallback(): void;
|
|
@@ -39,15 +32,11 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
39
32
|
readonly offsetTop: number;
|
|
40
33
|
readonly offsetWidth: number;
|
|
41
34
|
outerText: string;
|
|
42
|
-
popover: string;
|
|
43
35
|
spellcheck: boolean;
|
|
44
36
|
title: string;
|
|
45
37
|
translate: boolean;
|
|
46
38
|
attachInternals(): ElementInternals;
|
|
47
39
|
click(): void;
|
|
48
|
-
hidePopover(): void;
|
|
49
|
-
showPopover(): void;
|
|
50
|
-
togglePopover(force?: boolean): boolean;
|
|
51
40
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
52
41
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
53
42
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -76,12 +65,9 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
76
65
|
slot: string;
|
|
77
66
|
readonly tagName: string;
|
|
78
67
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
79
|
-
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
80
68
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
81
69
|
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
70
|
closest<E extends Element = Element>(selectors: string): E;
|
|
84
|
-
computedStyleMap(): StylePropertyMapReadOnly;
|
|
85
71
|
getAttribute(qualifiedName: string): string;
|
|
86
72
|
getAttributeNS(namespace: string, localName: string): string;
|
|
87
73
|
getAttributeNames(): string[];
|
|
@@ -90,14 +76,11 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
90
76
|
getBoundingClientRect(): DOMRect;
|
|
91
77
|
getClientRects(): DOMRectList;
|
|
92
78
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
93
|
-
getElementsByTagName<
|
|
94
|
-
getElementsByTagName<
|
|
95
|
-
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
96
|
-
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
79
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
80
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
97
81
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
98
82
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
99
83
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
100
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
101
84
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
102
85
|
hasAttribute(qualifiedName: string): boolean;
|
|
103
86
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
@@ -154,24 +137,24 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
154
137
|
normalize(): void;
|
|
155
138
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
156
139
|
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
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
|
|
174
|
-
readonly
|
|
140
|
+
readonly ATTRIBUTE_NODE: number;
|
|
141
|
+
readonly CDATA_SECTION_NODE: number;
|
|
142
|
+
readonly COMMENT_NODE: number;
|
|
143
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
144
|
+
readonly DOCUMENT_NODE: number;
|
|
145
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
146
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
147
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
148
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
149
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
150
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
151
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
|
152
|
+
readonly ELEMENT_NODE: number;
|
|
153
|
+
readonly ENTITY_NODE: number;
|
|
154
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
|
155
|
+
readonly NOTATION_NODE: number;
|
|
156
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
157
|
+
readonly TEXT_NODE: number;
|
|
175
158
|
dispatchEvent(event: Event): boolean;
|
|
176
159
|
ariaAtomic: string;
|
|
177
160
|
ariaAutoComplete: string;
|
|
@@ -179,9 +162,9 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
179
162
|
ariaChecked: string;
|
|
180
163
|
ariaColCount: string;
|
|
181
164
|
ariaColIndex: string;
|
|
165
|
+
ariaColIndexText: string;
|
|
182
166
|
ariaColSpan: string;
|
|
183
167
|
ariaCurrent: string;
|
|
184
|
-
ariaDescription: string;
|
|
185
168
|
ariaDisabled: string;
|
|
186
169
|
ariaExpanded: string;
|
|
187
170
|
ariaHasPopup: string;
|
|
@@ -203,6 +186,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
203
186
|
ariaRoleDescription: string;
|
|
204
187
|
ariaRowCount: string;
|
|
205
188
|
ariaRowIndex: string;
|
|
189
|
+
ariaRowIndexText: string;
|
|
206
190
|
ariaRowSpan: string;
|
|
207
191
|
ariaSelected: string;
|
|
208
192
|
ariaSetSize: string;
|
|
@@ -227,19 +211,17 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
227
211
|
readonly lastElementChild: Element;
|
|
228
212
|
append(...nodes: (string | Node)[]): void;
|
|
229
213
|
prepend(...nodes: (string | Node)[]): void;
|
|
230
|
-
querySelector<
|
|
231
|
-
querySelector<
|
|
232
|
-
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
|
233
|
-
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
|
214
|
+
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
|
215
|
+
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
|
|
234
216
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
235
|
-
querySelectorAll<
|
|
236
|
-
querySelectorAll<
|
|
237
|
-
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
238
|
-
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
217
|
+
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
|
218
|
+
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
|
239
219
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
240
220
|
replaceChildren(...nodes: (string | Node)[]): void;
|
|
241
221
|
readonly assignedSlot: HTMLSlotElement;
|
|
242
|
-
|
|
222
|
+
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
223
|
+
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
224
|
+
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
243
225
|
readonly style: CSSStyleDeclaration;
|
|
244
226
|
contentEditable: string;
|
|
245
227
|
enterKeyHint: string;
|
|
@@ -252,7 +234,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
252
234
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
253
235
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
254
236
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
255
|
-
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
256
237
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
257
238
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
258
239
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -261,9 +242,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
261
242
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
262
243
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
263
244
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
264
|
-
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
265
245
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
266
|
-
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
267
246
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
268
247
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
269
248
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
@@ -296,7 +275,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
296
275
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
297
276
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
298
277
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
299
|
-
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
300
278
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
301
279
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
302
280
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -313,7 +291,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
313
291
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
314
292
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
315
293
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
316
|
-
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
317
294
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
318
295
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
319
296
|
onseeking: (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
|
+
{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AE,MAAM,EAAE,EAAE,YAAY,CAAC,EAAE,WAAW,EAAE;IA0CrE;;;OAGG;IACH,OAAO;IAIP;;;;OAIG;IACH,MAAM;IAIN;;;;OAIG;IACH,KAAK;IAiCL;;;OAGG;IACH,OAAO;IAYP;;OAEG;IACH,WAAW;IAIX;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAgBpB;;;;OAIG;YACW,UAAU;IAmCxB;;;;;OAKG;YACW,kBAAkB;IAahC;;;;;;OAMG;YACW,gBAAgB;IAiE9B,OAAO,CAAC,cAAc;IActB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,GAAG,EAAE;IAyBnC,OAAO,CAAC,kBAAkB;IAU1B,OAAO,CAAC,sBAAsB;IAgE9B,OAAO,CAAC,mBAAmB;YAyBb,eAAe;IActB,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;IAK5B,gBAAgB,CACvB,aAAa,EAAE,kBAAkB,GAChC,kBAAkB,GAAG,IAAI,GAAG,SAAS;IAI/B,qBAAqB,CAC5B,aAAa,EAAE,kBAAkB,EACjC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,GAC3C,IAAI;IAIP,OAAO,CAAC,iBAAiB;CAO1B"}
|
package/dist/dts/grid-pro.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { ColumnState, Grid } from '@ag-grid-community/core';
|
|
3
2
|
import type { ColDef, ColumnApi, GridApi, GridOptions, GridParams } from '@ag-grid-community/core';
|
|
4
3
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
@@ -22,9 +21,6 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
22
21
|
cloneNode(deep?: boolean): Node;
|
|
23
22
|
deepClone(): Node;
|
|
24
23
|
readonly shouldRunDisconnect: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* The index to add new rows to when using `applyTransaction` or `applyTransactionAsync`
|
|
27
|
-
*/
|
|
28
24
|
readonly shouldRunConnect: boolean;
|
|
29
25
|
"__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
|
|
30
26
|
"__#1@#_tryFindContainingLayout"(e: Element): import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
@@ -37,6 +33,9 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
37
33
|
readonly accessKeyLabel: string;
|
|
38
34
|
autocapitalize: string;
|
|
39
35
|
dir: string;
|
|
36
|
+
/**
|
|
37
|
+
* If true, will enable row flashing for all rows for `add` async transactions
|
|
38
|
+
*/
|
|
40
39
|
draggable: boolean;
|
|
41
40
|
hidden: boolean;
|
|
42
41
|
inert: boolean;
|
|
@@ -48,15 +47,11 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
48
47
|
readonly offsetTop: number;
|
|
49
48
|
readonly offsetWidth: number;
|
|
50
49
|
outerText: string;
|
|
51
|
-
popover: string;
|
|
52
50
|
spellcheck: boolean;
|
|
53
51
|
title: string;
|
|
54
52
|
translate: boolean;
|
|
55
53
|
attachInternals(): ElementInternals;
|
|
56
54
|
click(): void;
|
|
57
|
-
hidePopover(): void;
|
|
58
|
-
showPopover(): void;
|
|
59
|
-
togglePopover(force?: boolean): boolean;
|
|
60
55
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
61
56
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
62
57
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -85,12 +80,9 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
85
80
|
slot: string;
|
|
86
81
|
readonly tagName: string;
|
|
87
82
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
88
|
-
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
89
83
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
90
84
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
91
|
-
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
|
|
92
85
|
closest<E extends Element = Element>(selectors: string): E;
|
|
93
|
-
computedStyleMap(): StylePropertyMapReadOnly;
|
|
94
86
|
getAttribute(qualifiedName: string): string;
|
|
95
87
|
getAttributeNS(namespace: string, localName: string): string;
|
|
96
88
|
getAttributeNames(): string[];
|
|
@@ -99,14 +91,11 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
99
91
|
getBoundingClientRect(): DOMRect;
|
|
100
92
|
getClientRects(): DOMRectList;
|
|
101
93
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
102
|
-
getElementsByTagName<
|
|
103
|
-
getElementsByTagName<
|
|
104
|
-
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
105
|
-
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
94
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
95
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
106
96
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
107
97
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
108
98
|
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
99
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
111
100
|
hasAttribute(qualifiedName: string): boolean;
|
|
112
101
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
@@ -163,24 +152,24 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
163
152
|
normalize(): void;
|
|
164
153
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
165
154
|
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
166
|
-
readonly
|
|
167
|
-
readonly
|
|
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
|
|
155
|
+
readonly ATTRIBUTE_NODE: number;
|
|
156
|
+
readonly CDATA_SECTION_NODE: number;
|
|
157
|
+
readonly COMMENT_NODE: number;
|
|
158
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
159
|
+
readonly DOCUMENT_NODE: number;
|
|
160
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
161
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
162
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
163
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
164
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
165
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
166
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
|
167
|
+
readonly ELEMENT_NODE: number;
|
|
168
|
+
readonly ENTITY_NODE: number;
|
|
169
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
|
170
|
+
readonly NOTATION_NODE: number;
|
|
171
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
172
|
+
readonly TEXT_NODE: number;
|
|
184
173
|
dispatchEvent(event: Event): boolean;
|
|
185
174
|
ariaAtomic: string;
|
|
186
175
|
ariaAutoComplete: string;
|
|
@@ -188,9 +177,9 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
188
177
|
ariaChecked: string;
|
|
189
178
|
ariaColCount: string;
|
|
190
179
|
ariaColIndex: string;
|
|
180
|
+
ariaColIndexText: string;
|
|
191
181
|
ariaColSpan: string;
|
|
192
182
|
ariaCurrent: string;
|
|
193
|
-
ariaDescription: string;
|
|
194
183
|
ariaDisabled: string;
|
|
195
184
|
ariaExpanded: string;
|
|
196
185
|
ariaHasPopup: string;
|
|
@@ -210,8 +199,13 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
210
199
|
ariaReadOnly: string;
|
|
211
200
|
ariaRequired: string;
|
|
212
201
|
ariaRoleDescription: string;
|
|
202
|
+
/**
|
|
203
|
+
* If {@link @genesislcap/grid-pro#GridPro.gridAutosizingEnabled} is true, will remove the widths from the column states.
|
|
204
|
+
* @internal
|
|
205
|
+
*/
|
|
213
206
|
ariaRowCount: string;
|
|
214
207
|
ariaRowIndex: string;
|
|
208
|
+
ariaRowIndexText: string;
|
|
215
209
|
ariaRowSpan: string;
|
|
216
210
|
ariaSelected: string;
|
|
217
211
|
ariaSetSize: string;
|
|
@@ -236,19 +230,17 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
236
230
|
readonly lastElementChild: Element;
|
|
237
231
|
append(...nodes: (string | Node)[]): void;
|
|
238
232
|
prepend(...nodes: (string | Node)[]): void;
|
|
239
|
-
querySelector<
|
|
240
|
-
querySelector<
|
|
241
|
-
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
|
242
|
-
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
|
233
|
+
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
|
234
|
+
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
|
|
243
235
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
244
|
-
querySelectorAll<
|
|
245
|
-
querySelectorAll<
|
|
246
|
-
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
247
|
-
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
236
|
+
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
|
237
|
+
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
|
248
238
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
249
239
|
replaceChildren(...nodes: (string | Node)[]): void;
|
|
250
240
|
readonly assignedSlot: HTMLSlotElement;
|
|
251
|
-
|
|
241
|
+
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
242
|
+
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
243
|
+
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
252
244
|
readonly style: CSSStyleDeclaration;
|
|
253
245
|
contentEditable: string;
|
|
254
246
|
enterKeyHint: string;
|
|
@@ -261,7 +253,6 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
261
253
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
262
254
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
263
255
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
264
|
-
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
265
256
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
266
257
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
267
258
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -270,9 +261,7 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
270
261
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
271
262
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
272
263
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
273
|
-
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
274
264
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
275
|
-
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
276
265
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
277
266
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
278
267
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
@@ -305,7 +294,6 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
305
294
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
306
295
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
307
296
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
308
|
-
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
309
297
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
310
298
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
311
299
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -322,7 +310,6 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
322
310
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
323
311
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
324
312
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
325
|
-
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
326
313
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
327
314
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
328
315
|
onseeking: (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,EAAE,WAAW,EAAyB,IAAI,EAAkB,MAAM,yBAAyB,CAAC;AACnG,OAAO,KAAK,EACV,MAAM,EACN,SAAS,EAET,OAAO,EACP,WAAW,EACX,UAAU,EAEX,MAAM,yBAAyB,CAAC;AAQjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAoB/D,OAAO,EAAE,2BAA2B,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAExF,OAAO,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AAQvC,OAAO,EAML,iBAAiB,EAGlB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EAEf,g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,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"}
|
|
@@ -128,7 +128,7 @@ export declare enum GridProRendererTypes {
|
|
|
128
128
|
actionsMenu = "actionsMenu",
|
|
129
129
|
boolean = "boolean",
|
|
130
130
|
editable = "editable",
|
|
131
|
-
text = "text"
|
|
131
|
+
text = "text",
|
|
132
132
|
select = "select",
|
|
133
133
|
dateEditor = "dateEditor",
|
|
134
134
|
selectEditor = "selectEditor",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro.types.d.ts","sourceRoot":"","sources":["../../src/grid-pro.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAsB,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAGhF,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,iEAAiE,CAAC;AAC1H,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D;;;GAGG;AACH,oBAAY,aAAa;IACvB,eAAe,0BAA0B;IACzC,SAAS,oBAAoB;IAC7B,wBAAwB,oCAAoC;IAC5D,qBAAqB,iCAAiC;IACtD,uBAAuB,mCAAmC;IAC1D,eAAe,0BAA0B;IACzC,qBAAqB,iCAAiC;IACtD,wBAAwB,oCAAoC;IAC5D,+BAA+B,4CAA4C;IAC3E,2BAA2B,wCAAwC;IACnE,0BAA0B,uCAAuC;IACjE,qBAAqB,kCAAkC;IACvD,aAAa,yBAAyB;IACtC,yBAAyB,sCAAsC;IAC/D,6BAA6B,0CAA0C;IACvE,yBAAyB,sCAAsC;IAC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C,CAAC,CAAC"}
|
|
@@ -105,7 +105,7 @@ export const getSelectRendererTemplate = (designSystem = 'foundation') => {
|
|
|
105
105
|
* HTML Element: \<foundation-select-renderer\>
|
|
106
106
|
*/
|
|
107
107
|
export const foundationAgSelectRenderer = SelectRenderer.compose({
|
|
108
|
-
baseName: 'select-renderer',
|
|
108
|
+
baseName: 'select-renderer',
|
|
109
109
|
styles: agSelectRendererStyles,
|
|
110
110
|
template: getSelectRendererTemplate(),
|
|
111
111
|
});
|
|
@@ -80,8 +80,8 @@ let GridProServerSideDatasource = class GridProServerSideDatasource extends Life
|
|
|
80
80
|
* @internal
|
|
81
81
|
*/
|
|
82
82
|
reloadResourceData(params) {
|
|
83
|
+
var _a, _b, _c, _d, _e, _f;
|
|
83
84
|
return __awaiter(this, void 0, void 0, function* () {
|
|
84
|
-
var _a, _b, _c, _d, _e, _f;
|
|
85
85
|
this.datasource.destroy();
|
|
86
86
|
(_a = this.liveUpdatesStream) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
87
87
|
this.liveUpdatesStream = undefined;
|
|
@@ -183,8 +183,8 @@ let GridProServerSideDatasource = class GridProServerSideDatasource extends Life
|
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
185
|
destroy() {
|
|
186
|
+
var _a, _b, _c;
|
|
186
187
|
return __awaiter(this, void 0, void 0, function* () {
|
|
187
|
-
var _a, _b, _c;
|
|
188
188
|
this.datasource.destroy();
|
|
189
189
|
(_a = this.liveUpdatesStream) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
190
190
|
this.liveUpdatesStream = undefined;
|
|
@@ -248,14 +248,14 @@ let GridProServerSideDatasource = class GridProServerSideDatasource extends Life
|
|
|
248
248
|
get rowModel() {
|
|
249
249
|
return this.agGrid.gridApi.getModel();
|
|
250
250
|
}
|
|
251
|
-
createReqRepRequest() {
|
|
252
|
-
return __awaiter(this,
|
|
251
|
+
createReqRepRequest(existingParams = null) {
|
|
252
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
253
253
|
const reqRep = yield this.datasource.snapshot(existingParams);
|
|
254
254
|
return reqRep;
|
|
255
255
|
});
|
|
256
256
|
}
|
|
257
|
-
createDataserverStream() {
|
|
258
|
-
return __awaiter(this,
|
|
257
|
+
createDataserverStream(existingParams = null) {
|
|
258
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
259
259
|
if (this.liveUpdates) {
|
|
260
260
|
const streamOnMessage = (message) => __awaiter(this, void 0, void 0, function* () {
|
|
261
261
|
var _a, _b;
|
|
@@ -34,8 +34,8 @@ export class BaseServerSideDatasource {
|
|
|
34
34
|
throw new Error('Method not implemented.');
|
|
35
35
|
}
|
|
36
36
|
setupFilteringAndSorting(params) {
|
|
37
|
+
var _a;
|
|
37
38
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38
|
-
var _a;
|
|
39
39
|
const filterModelBeingApplied = params.request.filterModel;
|
|
40
40
|
const filtersAreBeingApplied = Object.keys(filterModelBeingApplied).length > 0;
|
|
41
41
|
const filtersAreGettingCleaned = Object.keys(filterModelBeingApplied).length === 0;
|
|
@@ -110,8 +110,8 @@ export class DataserverServerSideDatasource extends BaseServerSideDatasource {
|
|
|
110
110
|
const _super = Object.create(null, {
|
|
111
111
|
destroy: { get: () => super.destroy }
|
|
112
112
|
});
|
|
113
|
+
var _a;
|
|
113
114
|
return __awaiter(this, void 0, void 0, function* () {
|
|
114
|
-
var _a;
|
|
115
115
|
this.dataserverStream = undefined;
|
|
116
116
|
(_a = this.dataserverStreamSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
117
117
|
this.dataserverStreamSubscription = undefined;
|
|
@@ -16,8 +16,8 @@ export class ReqRepServerSideDatasource extends BaseServerSideDatasource {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
getRows(params) {
|
|
19
|
+
var _a;
|
|
19
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
20
|
-
var _a;
|
|
21
21
|
yield this.setupFilteringAndSorting(params);
|
|
22
22
|
if (this.pagination && !this.isNewPageSize && this.currentSequenceId > 0) {
|
|
23
23
|
params.success(this.lastSuccessRowData);
|
|
@@ -230,8 +230,8 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
230
230
|
* @internal
|
|
231
231
|
*/
|
|
232
232
|
setRowData(rowData) {
|
|
233
|
+
var _a;
|
|
233
234
|
return __awaiter(this, void 0, void 0, function* () {
|
|
234
|
-
var _a;
|
|
235
235
|
const preSetColumnDefs = (_a = this.agGrid.gridApi) === null || _a === void 0 ? void 0 : _a.getColumnDefs();
|
|
236
236
|
if (!preSetColumnDefs || preSetColumnDefs.length === 0) {
|
|
237
237
|
const agColumnDefs = yield this.getAgColumnDefs(this.datasource.fieldMetadata);
|
|
@@ -264,8 +264,8 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
264
264
|
* @internal
|
|
265
265
|
*/
|
|
266
266
|
reloadResourceData() {
|
|
267
|
+
var _a, _b;
|
|
267
268
|
return __awaiter(this, void 0, void 0, function* () {
|
|
268
|
-
var _a, _b;
|
|
269
269
|
logger.debug('GridProGenesisDatasource.reloadResourceData()', this.resourceName);
|
|
270
270
|
if (this.dataSub) {
|
|
271
271
|
this.dataSub.unsubscribe();
|
|
@@ -284,8 +284,8 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
284
284
|
* @param withFullInit - if true, will call datasource.init() with requiresMetadataFetch = true, fetching fresh metadata
|
|
285
285
|
* @internal
|
|
286
286
|
*/
|
|
287
|
-
loadResourceData() {
|
|
288
|
-
return __awaiter(this,
|
|
287
|
+
loadResourceData(withFullInit = true) {
|
|
288
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
289
289
|
const requiresMetadataFetch = withFullInit || !this.datasource.initialized;
|
|
290
290
|
try {
|
|
291
291
|
const initOK = yield this.datasource.init(this.datasourceOptions(), requiresMetadataFetch);
|
package/dist/esm/grid-pro.js
CHANGED
|
@@ -281,8 +281,8 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
281
281
|
});
|
|
282
282
|
}
|
|
283
283
|
restoreColumnState() {
|
|
284
|
+
var _a;
|
|
284
285
|
return __awaiter(this, void 0, void 0, function* () {
|
|
285
|
-
var _a;
|
|
286
286
|
this.rehydrationAttempted = true;
|
|
287
287
|
const colState = yield this.getSavedColumnState();
|
|
288
288
|
if (colState && colState.length > 0) {
|
|
@@ -298,8 +298,8 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
298
298
|
this.setFilterModel(((_a = this.gridApi) === null || _a === void 0 ? void 0 : _a.getFilterModel()) || undefined);
|
|
299
299
|
}
|
|
300
300
|
restoreCachedFilterConfig() {
|
|
301
|
+
var _a, _b;
|
|
301
302
|
return __awaiter(this, void 0, void 0, function* () {
|
|
302
|
-
var _a, _b;
|
|
303
303
|
const filterModel = yield this.getfilterModel();
|
|
304
304
|
if (typeof filterModel !== 'undefined') {
|
|
305
305
|
(_a = this.gridApi) === null || _a === void 0 ? void 0 : _a.setFilterModel(filterModel);
|
|
@@ -426,9 +426,9 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
426
426
|
* on the `grid-pro-genesis-datasource` element. Defaults to false but `grid-pro-genesis-datasource` will set this to true.
|
|
427
427
|
* @returns The merged column definitions.
|
|
428
428
|
*/
|
|
429
|
-
mergeAllColumnDefsAndStates(
|
|
430
|
-
|
|
431
|
-
|
|
429
|
+
mergeAllColumnDefsAndStates(columnDefs, deferredColumnDefsOrState = false) {
|
|
430
|
+
var _a;
|
|
431
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
432
432
|
const columnDefinitionsFromMetadata = columnDefs || [];
|
|
433
433
|
columnDefinitionsFromMetadata.forEach((colDefFromMetadata) => {
|
|
434
434
|
if (this.headerCaseType && colDefFromMetadata.field && !colDefFromMetadata.headerName) {
|
|
@@ -7,8 +7,8 @@ import { logger } from '../utils';
|
|
|
7
7
|
*/
|
|
8
8
|
export class KVStorageStatePersistence {
|
|
9
9
|
getColumnState(persistColumnStateKey) {
|
|
10
|
+
var _a, _b;
|
|
10
11
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11
|
-
var _a, _b;
|
|
12
12
|
yield this.migrateLocalStorageToKVStorage(persistColumnStateKey);
|
|
13
13
|
const kvColumnState = yield this.kvStorage.get(persistColumnStateKey);
|
|
14
14
|
const storageColumnState = kvColumnState ? (_b = (_a = kvColumnState[0]) === null || _a === void 0 ? void 0 : _a.kv) === null || _b === void 0 ? void 0 : _b.value : undefined;
|
|
@@ -29,8 +29,8 @@ export class KVStorageStatePersistence {
|
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
migrateLocalStorageToKVStorage(persistColumnStateKey) {
|
|
32
|
+
var _a, _b;
|
|
32
33
|
return __awaiter(this, void 0, void 0, function* () {
|
|
33
|
-
var _a, _b;
|
|
34
34
|
const kv = yield this.kvStorage.get(persistColumnStateKey);
|
|
35
35
|
if (kv && ((_b = (_a = kv[0]) === null || _a === void 0 ? void 0 : _a.kv) === null || _b === void 0 ? void 0 : _b.value))
|
|
36
36
|
return;
|
|
@@ -50,8 +50,8 @@ export class KVStorageStatePersistence {
|
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
getFilterModel(persistFilterModelKey) {
|
|
53
|
+
var _a, _b;
|
|
53
54
|
return __awaiter(this, void 0, void 0, function* () {
|
|
54
|
-
var _a, _b;
|
|
55
55
|
const kvFilterModel = yield this.kvStorage.get(persistFilterModelKey);
|
|
56
56
|
const storagetFilterModel = kvFilterModel ? (_b = (_a = kvFilterModel[0]) === null || _a === void 0 ? void 0 : _a.kv) === null || _b === void 0 ? void 0 : _b.value : undefined;
|
|
57
57
|
if (storagetFilterModel) {
|