@genesislcap/grid-pro 14.225.4-alpha-5f6eefd.0 → 14.226.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 +632 -632
- 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 +34 -59
- 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 +158 -244
- 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,6 @@ 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
|
-
/**
|
|
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
|
-
*/
|
|
23
15
|
connectedCallback(): void;
|
|
24
16
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
25
17
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
|
|
@@ -40,15 +32,11 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
40
32
|
readonly offsetTop: number;
|
|
41
33
|
readonly offsetWidth: number;
|
|
42
34
|
outerText: string;
|
|
43
|
-
popover: string;
|
|
44
35
|
spellcheck: boolean;
|
|
45
36
|
title: string;
|
|
46
37
|
translate: boolean;
|
|
47
38
|
attachInternals(): ElementInternals;
|
|
48
39
|
click(): void;
|
|
49
|
-
hidePopover(): void;
|
|
50
|
-
showPopover(): void;
|
|
51
|
-
togglePopover(force?: boolean): boolean;
|
|
52
40
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
53
41
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
54
42
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -57,6 +45,10 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
57
45
|
readonly classList: DOMTokenList;
|
|
58
46
|
className: string;
|
|
59
47
|
readonly clientHeight: number;
|
|
48
|
+
/**
|
|
49
|
+
* Destroys the datasource, resetting it to its initial state.
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
60
52
|
readonly clientLeft: number;
|
|
61
53
|
readonly clientTop: number;
|
|
62
54
|
readonly clientWidth: number;
|
|
@@ -77,33 +69,22 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
77
69
|
slot: string;
|
|
78
70
|
readonly tagName: string;
|
|
79
71
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
80
|
-
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
81
72
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
82
73
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
83
|
-
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
|
|
84
74
|
closest<E extends Element = Element>(selectors: string): E;
|
|
85
|
-
computedStyleMap(): StylePropertyMapReadOnly;
|
|
86
75
|
getAttribute(qualifiedName: string): string;
|
|
87
76
|
getAttributeNS(namespace: string, localName: string): string;
|
|
88
77
|
getAttributeNames(): string[];
|
|
89
|
-
getAttributeNode(qualifiedName: string): Attr;
|
|
90
|
-
* Clears the rowData and columnDefs for the grid.
|
|
91
|
-
* @remarks This is called when `reloadResourceData` happens, on criteria and filters change or full `reset`.
|
|
92
|
-
* @param withColumnDefs - Whether to clear the columnDefs as well. Defaults to true.
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
78
|
+
getAttributeNode(qualifiedName: string): Attr;
|
|
95
79
|
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
96
80
|
getBoundingClientRect(): DOMRect;
|
|
97
81
|
getClientRects(): DOMRectList;
|
|
98
82
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
99
|
-
getElementsByTagName<
|
|
100
|
-
getElementsByTagName<
|
|
101
|
-
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
102
|
-
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
83
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
84
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
103
85
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
104
86
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
105
87
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
106
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
107
88
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
108
89
|
hasAttribute(qualifiedName: string): boolean;
|
|
109
90
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
@@ -160,24 +141,24 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
160
141
|
normalize(): void;
|
|
161
142
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
162
143
|
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
163
|
-
readonly
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
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
|
|
144
|
+
readonly ATTRIBUTE_NODE: number;
|
|
145
|
+
readonly CDATA_SECTION_NODE: number;
|
|
146
|
+
readonly COMMENT_NODE: number;
|
|
147
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
148
|
+
readonly DOCUMENT_NODE: number;
|
|
149
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
150
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
151
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
152
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
153
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
154
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
155
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
|
156
|
+
readonly ELEMENT_NODE: number;
|
|
157
|
+
readonly ENTITY_NODE: number;
|
|
158
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
|
159
|
+
readonly NOTATION_NODE: number;
|
|
160
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
161
|
+
readonly TEXT_NODE: number;
|
|
181
162
|
dispatchEvent(event: Event): boolean;
|
|
182
163
|
ariaAtomic: string;
|
|
183
164
|
ariaAutoComplete: string;
|
|
@@ -185,9 +166,9 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
185
166
|
ariaChecked: string;
|
|
186
167
|
ariaColCount: string;
|
|
187
168
|
ariaColIndex: string;
|
|
169
|
+
ariaColIndexText: string;
|
|
188
170
|
ariaColSpan: string;
|
|
189
171
|
ariaCurrent: string;
|
|
190
|
-
ariaDescription: string;
|
|
191
172
|
ariaDisabled: string;
|
|
192
173
|
ariaExpanded: string;
|
|
193
174
|
ariaHasPopup: string;
|
|
@@ -209,6 +190,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
209
190
|
ariaRoleDescription: string;
|
|
210
191
|
ariaRowCount: string;
|
|
211
192
|
ariaRowIndex: string;
|
|
193
|
+
ariaRowIndexText: string;
|
|
212
194
|
ariaRowSpan: string;
|
|
213
195
|
ariaSelected: string;
|
|
214
196
|
ariaSetSize: string;
|
|
@@ -233,19 +215,17 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
233
215
|
readonly lastElementChild: Element;
|
|
234
216
|
append(...nodes: (string | Node)[]): void;
|
|
235
217
|
prepend(...nodes: (string | Node)[]): void;
|
|
236
|
-
querySelector<
|
|
237
|
-
querySelector<
|
|
238
|
-
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
|
239
|
-
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
|
218
|
+
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
|
219
|
+
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
|
|
240
220
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
241
|
-
querySelectorAll<
|
|
242
|
-
querySelectorAll<
|
|
243
|
-
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
244
|
-
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
221
|
+
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
|
222
|
+
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
|
245
223
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
246
224
|
replaceChildren(...nodes: (string | Node)[]): void;
|
|
247
225
|
readonly assignedSlot: HTMLSlotElement;
|
|
248
|
-
|
|
226
|
+
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
227
|
+
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
228
|
+
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
249
229
|
readonly style: CSSStyleDeclaration;
|
|
250
230
|
contentEditable: string;
|
|
251
231
|
enterKeyHint: string;
|
|
@@ -258,7 +238,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
258
238
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
259
239
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
260
240
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
261
|
-
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
262
241
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
263
242
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
264
243
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -267,9 +246,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
267
246
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
268
247
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
269
248
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
270
|
-
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
271
249
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
272
|
-
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
273
250
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
274
251
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
275
252
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
@@ -302,7 +279,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
302
279
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
303
280
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
304
281
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
305
|
-
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
306
282
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
307
283
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
308
284
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -319,7 +295,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
319
295
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
320
296
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
321
297
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
322
|
-
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
323
298
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
324
299
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
325
300
|
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
|
+
{"version":3,"file":"grid-pro-genesis-datasource.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,WAAW,EAGX,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AAejC,OAAO,EAAqB,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgLvF;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAzKL;;;;GAIG;AACH,qBAGa,wBAAyB,SAAQ,6BAA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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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AU,IAAI,UAAU,CAI3B;IAED;;;;OAIG;IACH,IAAI,iBAAiB,IACjB,wBAAwB,GACxB,2BAA2B,GAC3B,2BAA2B,CAM9B;IAED,IAAI,WAAW,CAAC,OAAO,EAAE,WAAW,EAiGnC;IAED,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,QAAQ;IAehB;;;;;;OAMG;IACH,wBAAwB,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,yBAAyB,UAAQ;IAKhF;;;;;;;;OAQG;IACG,2BAA2B,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,yBAAyB,UAAQ;IAuFzF,IAAI,kBAAkB,aAWrB;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"}
|
|
@@ -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,EA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,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC;AAEvC;;;GAGG;AACH,KAAK,kBAAkB,CAAC,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK;CACpE,CAAC;AAEF;;;GAGG;AACH,KAAK,aAAa,CAAC,CAAC,IAAI;KACrB,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACvD,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC,kBAAkB,CAAC,WAAW,CAAC,CAAC,CAAC"}
|
|
@@ -99,7 +99,7 @@ export const getSelectRendererTemplate = (designSystem = 'foundation') => {
|
|
|
99
99
|
* HTML Element: \<foundation-select-renderer\>
|
|
100
100
|
*/
|
|
101
101
|
export const foundationAgSelectRenderer = SelectRenderer.compose({
|
|
102
|
-
baseName: 'select-renderer',
|
|
102
|
+
baseName: 'select-renderer',
|
|
103
103
|
styles: agSelectRendererStyles,
|
|
104
104
|
template: getSelectRendererTemplate(),
|
|
105
105
|
});
|
|
@@ -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);
|
|
@@ -224,8 +224,8 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
224
224
|
* @internal
|
|
225
225
|
*/
|
|
226
226
|
setRowData(rowData) {
|
|
227
|
+
var _a;
|
|
227
228
|
return __awaiter(this, void 0, void 0, function* () {
|
|
228
|
-
var _a;
|
|
229
229
|
const preSetColumnDefs = (_a = this.agGrid.gridApi) === null || _a === void 0 ? void 0 : _a.getColumnDefs();
|
|
230
230
|
if (!preSetColumnDefs || preSetColumnDefs.length === 0) {
|
|
231
231
|
const agColumnDefs = yield this.getAgColumnDefs(this.datasource.fieldMetadata);
|
|
@@ -258,8 +258,8 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
258
258
|
* @internal
|
|
259
259
|
*/
|
|
260
260
|
reloadResourceData() {
|
|
261
|
+
var _a, _b;
|
|
261
262
|
return __awaiter(this, void 0, void 0, function* () {
|
|
262
|
-
var _a, _b;
|
|
263
263
|
logger.debug('GridProGenesisDatasource.reloadResourceData()', this.resourceName);
|
|
264
264
|
if (this.dataSub) {
|
|
265
265
|
this.dataSub.unsubscribe();
|
|
@@ -278,8 +278,8 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
278
278
|
* @param withFullInit - if true, will call datasource.init() with requiresMetadataFetch = true, fetching fresh metadata
|
|
279
279
|
* @internal
|
|
280
280
|
*/
|
|
281
|
-
loadResourceData() {
|
|
282
|
-
return __awaiter(this,
|
|
281
|
+
loadResourceData(withFullInit = true) {
|
|
282
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
283
283
|
const requiresMetadataFetch = withFullInit || !this.datasource.initialized;
|
|
284
284
|
try {
|
|
285
285
|
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) {
|