@genesislcap/grid-pro 14.237.1 → 14.237.2-alpha-78ebbc0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dts/column/column.d.ts +46 -29
- package/dist/dts/column/column.d.ts.map +1 -1
- package/dist/dts/datasource/base.datasource.d.ts +45 -29
- package/dist/dts/datasource/base.datasource.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.datasource.d.ts +46 -29
- 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 +53 -30
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
- package/dist/dts/grid-pro.d.ts +49 -36
- 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 +1303 -317
- package/dist/grid-pro.d.ts +238 -154
- package/docs/api/grid-pro.agthemefontsid.md +13 -1
- package/docs/api/grid-pro.agthemetokenmapclassname.md +13 -1
- package/docs/api/grid-pro.agthemetokenmapcss.md +14 -1
- package/docs/api/grid-pro.converttokebabcase.md +14 -1
- package/docs/api/grid-pro.formatdateextra.md +34 -0
- package/docs/api/grid-pro.foundationagbooleanrenderer.md +11 -1
- package/docs/api/grid-pro.foundationageditablerenderer.md +11 -1
- package/docs/api/grid-pro.foundationagselectrenderer.md +11 -1
- package/docs/api/grid-pro.foundationagtextfieldrenderer.md +11 -1
- package/docs/api/grid-pro.foundationagtextrenderer.md +11 -1
- package/docs/api/grid-pro.foundationdateeditor.md +11 -1
- package/docs/api/grid-pro.foundationgridpro.md +11 -1
- package/docs/api/grid-pro.foundationgridproactionrenderer.md +11 -1
- package/docs/api/grid-pro.foundationgridproactionsmenurenderer.md +11 -1
- package/docs/api/grid-pro.foundationmultiselecteditor.md +11 -1
- package/docs/api/grid-pro.foundationnumbereditor.md +11 -1
- package/docs/api/grid-pro.foundationselecteditor.md +11 -1
- package/docs/api/grid-pro.foundationstringeditor.md +11 -1
- package/docs/api/grid-pro.getactionsmenudef.md +17 -1
- package/docs/api/grid-pro.getagbooleanrenderertemplate.md +14 -1
- package/docs/api/grid-pro.getageditablerenderertemplate.md +14 -1
- package/docs/api/grid-pro.getcolumntype.md +33 -0
- package/docs/api/grid-pro.getdateeditortemplate.md +14 -1
- package/docs/api/grid-pro.getfilterbyfieldtype.md +33 -0
- package/docs/api/grid-pro.getgridprotemplate.md +14 -1
- package/docs/api/grid-pro.getmultiselecteditortemplate.md +14 -1
- package/docs/api/grid-pro.getnumbereditortemplate.md +14 -1
- package/docs/api/grid-pro.getselecteditortemplate.md +14 -1
- package/docs/api/grid-pro.getselectrenderertemplate.md +14 -1
- package/docs/api/grid-pro.getstringeditortemplate.md +14 -1
- package/docs/api/grid-pro.gettextfieldrenderertemplate.md +14 -1
- package/docs/api/grid-pro.gettextrenderertemplate.md +12 -1
- package/docs/api/grid-pro.gridpro.md +1 -1
- package/docs/api/grid-pro.gridproserversidedatasource.applyasyncfuncname.md +14 -0
- package/docs/api/grid-pro.gridproserversidedatasource.applyfuncname.md +14 -0
- package/docs/api/grid-pro.gridproserversidedatasource.liveupdates.md +21 -0
- package/docs/api/grid-pro.gridproserversidedatasource.md +35 -0
- package/docs/api/grid-pro.gridproserversidedatasource.pagination.md +14 -0
- package/docs/api/grid-pro.gridproserversidedatasource.params.md +14 -0
- package/docs/api/grid-pro.gridproserversidedatasource.request.md +14 -0
- package/docs/api/grid-pro.gridproserversidedatasource.rowmodel.md +14 -0
- package/docs/api/grid-pro.gridproserversidedatasource.zerobasedviewnumber.md +21 -0
- package/docs/api/grid-pro.md +33 -29
- package/docs/{api-report.md → api-report.md.api.md} +3 -1
- package/package.json +14 -14
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
import { ColDef, ColumnState, RowDataTransaction, RowNodeTransaction } from '@ag-grid-community/core';
|
|
2
3
|
import { GridProBaseDatasource } from '../datasource/base.datasource';
|
|
3
4
|
declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
@@ -12,7 +13,13 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
12
13
|
readonly shouldRunConnect: boolean;
|
|
13
14
|
"__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
|
|
14
15
|
"__#1@#_tryFindContainingLayout"(e: Element): import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
15
|
-
connectedCallback(): void;
|
|
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
|
+
*/
|
|
16
23
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
17
24
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
|
|
18
25
|
disconnectedCallback(): void;
|
|
@@ -32,11 +39,15 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
32
39
|
readonly offsetTop: number;
|
|
33
40
|
readonly offsetWidth: number;
|
|
34
41
|
outerText: string;
|
|
42
|
+
popover: string;
|
|
35
43
|
spellcheck: boolean;
|
|
36
44
|
title: string;
|
|
37
45
|
translate: boolean;
|
|
38
46
|
attachInternals(): ElementInternals;
|
|
39
47
|
click(): void;
|
|
48
|
+
hidePopover(): void;
|
|
49
|
+
showPopover(): void;
|
|
50
|
+
togglePopover(force?: boolean): boolean;
|
|
40
51
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
41
52
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
42
53
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -65,9 +76,12 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
65
76
|
slot: string;
|
|
66
77
|
readonly tagName: string;
|
|
67
78
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
79
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
68
80
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
69
81
|
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];
|
|
70
83
|
closest<E extends Element = Element>(selectors: string): E;
|
|
84
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
71
85
|
getAttribute(qualifiedName: string): string;
|
|
72
86
|
getAttributeNS(namespace: string, localName: string): string;
|
|
73
87
|
getAttributeNames(): string[];
|
|
@@ -76,11 +90,14 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
76
90
|
getBoundingClientRect(): DOMRect;
|
|
77
91
|
getClientRects(): DOMRectList;
|
|
78
92
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
79
|
-
getElementsByTagName<
|
|
80
|
-
getElementsByTagName<
|
|
93
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
94
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
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]>;
|
|
81
97
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
82
98
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
83
99
|
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>;
|
|
84
101
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
85
102
|
hasAttribute(qualifiedName: string): boolean;
|
|
86
103
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
@@ -137,24 +154,24 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
137
154
|
normalize(): void;
|
|
138
155
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
139
156
|
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
140
|
-
readonly
|
|
141
|
-
readonly
|
|
142
|
-
readonly
|
|
143
|
-
readonly
|
|
144
|
-
readonly
|
|
145
|
-
readonly
|
|
146
|
-
readonly
|
|
147
|
-
readonly
|
|
148
|
-
readonly
|
|
149
|
-
readonly
|
|
150
|
-
readonly
|
|
151
|
-
readonly
|
|
152
|
-
readonly
|
|
153
|
-
readonly
|
|
154
|
-
readonly
|
|
155
|
-
readonly
|
|
156
|
-
readonly
|
|
157
|
-
readonly
|
|
157
|
+
readonly ELEMENT_NODE: 1;
|
|
158
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
159
|
+
readonly TEXT_NODE: 3;
|
|
160
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
161
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
162
|
+
readonly ENTITY_NODE: 6;
|
|
163
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
164
|
+
readonly COMMENT_NODE: 8;
|
|
165
|
+
readonly DOCUMENT_NODE: 9;
|
|
166
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
167
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
168
|
+
readonly NOTATION_NODE: 12;
|
|
169
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
170
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
171
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
172
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
173
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
174
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
158
175
|
dispatchEvent(event: Event): boolean;
|
|
159
176
|
ariaAtomic: string;
|
|
160
177
|
ariaAutoComplete: string;
|
|
@@ -162,9 +179,9 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
162
179
|
ariaChecked: string;
|
|
163
180
|
ariaColCount: string;
|
|
164
181
|
ariaColIndex: string;
|
|
165
|
-
ariaColIndexText: string;
|
|
166
182
|
ariaColSpan: string;
|
|
167
183
|
ariaCurrent: string;
|
|
184
|
+
ariaDescription: string;
|
|
168
185
|
ariaDisabled: string;
|
|
169
186
|
ariaExpanded: string;
|
|
170
187
|
ariaHasPopup: string;
|
|
@@ -186,7 +203,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
186
203
|
ariaRoleDescription: string;
|
|
187
204
|
ariaRowCount: string;
|
|
188
205
|
ariaRowIndex: string;
|
|
189
|
-
ariaRowIndexText: string;
|
|
190
206
|
ariaRowSpan: string;
|
|
191
207
|
ariaSelected: string;
|
|
192
208
|
ariaSetSize: string;
|
|
@@ -211,17 +227,19 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
211
227
|
readonly lastElementChild: Element;
|
|
212
228
|
append(...nodes: (string | Node)[]): void;
|
|
213
229
|
prepend(...nodes: (string | Node)[]): void;
|
|
214
|
-
querySelector<
|
|
215
|
-
querySelector<
|
|
230
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
|
|
231
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
|
|
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];
|
|
216
234
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
217
|
-
querySelectorAll<
|
|
218
|
-
querySelectorAll<
|
|
235
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
236
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
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]>;
|
|
219
239
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
220
240
|
replaceChildren(...nodes: (string | Node)[]): void;
|
|
221
241
|
readonly assignedSlot: HTMLSlotElement;
|
|
222
|
-
|
|
223
|
-
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
224
|
-
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
242
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
225
243
|
readonly style: CSSStyleDeclaration;
|
|
226
244
|
contentEditable: string;
|
|
227
245
|
enterKeyHint: string;
|
|
@@ -234,6 +252,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
234
252
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
235
253
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
236
254
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
255
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
237
256
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
238
257
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
239
258
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -242,7 +261,9 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
242
261
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
243
262
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
244
263
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
264
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
245
265
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
266
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
246
267
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
247
268
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
248
269
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
@@ -275,6 +296,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
275
296
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
276
297
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
277
298
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
299
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
278
300
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
279
301
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
280
302
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -291,6 +313,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
291
313
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
292
314
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
293
315
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
316
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
294
317
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
295
318
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
296
319
|
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":"AAAA,OAAO,EACL,MAAM,EACN,WAAW,EAGX,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AAejC,OAAO,EAAqB,qBAAqB,EAAE,MAAM,+BAA+B,CAAC
|
|
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;;;;;;;;;;;;;+BA+HvF;;;;;;OAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA3HL;;;;GAIG;AACH,qBAGa,wBAAyB,SAAQ,6BAAqC;IACjF,aAAa,SAAsB;IACnC,kBAAkB,SAA2B;IAGvC,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IAS9D,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM;IAQrD,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAKW,qBAAqB,UAAS;IAG/F,yBAAyB,UAAS;IAElC,OAAO,CAAC,OAAO,CAAe;IAC9B,OAAO,CAAC,SAAS,CAAe;IAChC,OAAO,CAAC,aAAa,CAAe;IAEpC,OAAO,CAAC,6BAA6B,CAAQ;IAE7C,iBAAiB;IAuBjB,oBAAoB;IAWX,SAAS,IAAI,IAAI;IAqB1B,OAAO,CAAC,gBAAgB;IAgBxB;;;;;;OAMG;IACG,IAAI,CAAC,iBAAiB,CAAC,EAAE,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,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
import { ColumnState, Grid } from '@ag-grid-community/core';
|
|
2
3
|
import type { ColDef, ColumnApi, GridApi, GridOptions, GridParams } from '@ag-grid-community/core';
|
|
3
4
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
@@ -21,6 +22,9 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
21
22
|
cloneNode(deep?: boolean): Node;
|
|
22
23
|
deepClone(): Node;
|
|
23
24
|
readonly shouldRunDisconnect: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* The index to add new rows to when using `applyTransaction` or `applyTransactionAsync`
|
|
27
|
+
*/
|
|
24
28
|
readonly shouldRunConnect: boolean;
|
|
25
29
|
"__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
|
|
26
30
|
"__#1@#_tryFindContainingLayout"(e: Element): import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
@@ -33,9 +37,6 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
33
37
|
readonly accessKeyLabel: string;
|
|
34
38
|
autocapitalize: string;
|
|
35
39
|
dir: string;
|
|
36
|
-
/**
|
|
37
|
-
* If true, will enable row flashing for all rows for `add` async transactions
|
|
38
|
-
*/
|
|
39
40
|
draggable: boolean;
|
|
40
41
|
hidden: boolean;
|
|
41
42
|
inert: boolean;
|
|
@@ -47,11 +48,15 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
47
48
|
readonly offsetTop: number;
|
|
48
49
|
readonly offsetWidth: number;
|
|
49
50
|
outerText: string;
|
|
51
|
+
popover: string;
|
|
50
52
|
spellcheck: boolean;
|
|
51
53
|
title: string;
|
|
52
54
|
translate: boolean;
|
|
53
55
|
attachInternals(): ElementInternals;
|
|
54
56
|
click(): void;
|
|
57
|
+
hidePopover(): void;
|
|
58
|
+
showPopover(): void;
|
|
59
|
+
togglePopover(force?: boolean): boolean;
|
|
55
60
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
56
61
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
57
62
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -80,9 +85,12 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
80
85
|
slot: string;
|
|
81
86
|
readonly tagName: string;
|
|
82
87
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
88
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
83
89
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
84
90
|
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];
|
|
85
92
|
closest<E extends Element = Element>(selectors: string): E;
|
|
93
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
86
94
|
getAttribute(qualifiedName: string): string;
|
|
87
95
|
getAttributeNS(namespace: string, localName: string): string;
|
|
88
96
|
getAttributeNames(): string[];
|
|
@@ -91,11 +99,14 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
91
99
|
getBoundingClientRect(): DOMRect;
|
|
92
100
|
getClientRects(): DOMRectList;
|
|
93
101
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
94
|
-
getElementsByTagName<
|
|
95
|
-
getElementsByTagName<
|
|
102
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
103
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
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]>;
|
|
96
106
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
97
107
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
98
108
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
109
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
99
110
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
100
111
|
hasAttribute(qualifiedName: string): boolean;
|
|
101
112
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
@@ -152,24 +163,24 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
152
163
|
normalize(): void;
|
|
153
164
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
154
165
|
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
155
|
-
readonly
|
|
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
|
|
166
|
+
readonly ELEMENT_NODE: 1;
|
|
167
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
168
|
+
readonly TEXT_NODE: 3;
|
|
169
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
170
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
171
|
+
readonly ENTITY_NODE: 6;
|
|
172
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
173
|
+
readonly COMMENT_NODE: 8;
|
|
174
|
+
readonly DOCUMENT_NODE: 9;
|
|
175
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
176
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
177
|
+
readonly NOTATION_NODE: 12;
|
|
178
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
179
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
180
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
181
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
182
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
183
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
173
184
|
dispatchEvent(event: Event): boolean;
|
|
174
185
|
ariaAtomic: string;
|
|
175
186
|
ariaAutoComplete: string;
|
|
@@ -177,9 +188,9 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
177
188
|
ariaChecked: string;
|
|
178
189
|
ariaColCount: string;
|
|
179
190
|
ariaColIndex: string;
|
|
180
|
-
ariaColIndexText: string;
|
|
181
191
|
ariaColSpan: string;
|
|
182
192
|
ariaCurrent: string;
|
|
193
|
+
ariaDescription: string;
|
|
183
194
|
ariaDisabled: string;
|
|
184
195
|
ariaExpanded: string;
|
|
185
196
|
ariaHasPopup: string;
|
|
@@ -199,13 +210,8 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
199
210
|
ariaReadOnly: string;
|
|
200
211
|
ariaRequired: string;
|
|
201
212
|
ariaRoleDescription: string;
|
|
202
|
-
/**
|
|
203
|
-
* If {@link @genesislcap/grid-pro#GridPro.gridAutosizingEnabled} is true, will remove the widths from the column states.
|
|
204
|
-
* @internal
|
|
205
|
-
*/
|
|
206
213
|
ariaRowCount: string;
|
|
207
214
|
ariaRowIndex: string;
|
|
208
|
-
ariaRowIndexText: string;
|
|
209
215
|
ariaRowSpan: string;
|
|
210
216
|
ariaSelected: string;
|
|
211
217
|
ariaSetSize: string;
|
|
@@ -230,17 +236,19 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
230
236
|
readonly lastElementChild: Element;
|
|
231
237
|
append(...nodes: (string | Node)[]): void;
|
|
232
238
|
prepend(...nodes: (string | Node)[]): void;
|
|
233
|
-
querySelector<
|
|
234
|
-
querySelector<
|
|
239
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
|
|
240
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
|
|
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];
|
|
235
243
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
236
|
-
querySelectorAll<
|
|
237
|
-
querySelectorAll<
|
|
244
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
245
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
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]>;
|
|
238
248
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
239
249
|
replaceChildren(...nodes: (string | Node)[]): void;
|
|
240
250
|
readonly assignedSlot: HTMLSlotElement;
|
|
241
|
-
|
|
242
|
-
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
243
|
-
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
251
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
244
252
|
readonly style: CSSStyleDeclaration;
|
|
245
253
|
contentEditable: string;
|
|
246
254
|
enterKeyHint: string;
|
|
@@ -253,6 +261,7 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
253
261
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
254
262
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
255
263
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
264
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
256
265
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
257
266
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
258
267
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -261,7 +270,9 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
261
270
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
262
271
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
263
272
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
273
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
264
274
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
275
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
265
276
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
266
277
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
267
278
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
@@ -294,6 +305,7 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
294
305
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
295
306
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
296
307
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
308
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
297
309
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
298
310
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
299
311
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -310,6 +322,7 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
310
322
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
311
323
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
312
324
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
325
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
313
326
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
314
327
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
315
328
|
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -1 +1 @@
|
|
|
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;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OAAO,CAAC,4BAA4B;YAItB,eAAe;IAc7B;;;;;OAKG;IACG,mBAAmB,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC;YAUrC,kBAAkB;IAYhC,OAAO,CAAC,iBAAiB;IAInB,yBAAyB,IAAI,OAAO,CAAC,IAAI,CAAC;IAShD;;OAEG;IACH,IAAI,WAAW,IAAI,WAAW,CAE7B;IAED;;OAEG;IACH,IAAI,UAAU,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",// TODO: textField :(
|
|
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/D,0CAA0C,yDAAyD;IACnG,kCAAkC,gDAAgD;IAClF,8BAA8B,4CAA4C;IAC1E,+BAA+B,6CAA6C;IAC5E,mBAAmB,+BAA+B;IAClD,WAAW,sBAAsB;IACjC,oBAAoB,gCAAgC;IACpD,cAAc,0BAA0B;IACxC,0BAA0B,uCAAuC;IACjE,6BAA6B,2CAA2C;IACxE,gBAAgB,4BAA4B;IAC5C,wBAAwB,qCAAqC;IAC7D,4BAA4B,yCAAyC;IACrE,uBAAuB,mCAAmC;IAC1D,oBAAoB,gCAAgC;IACpD,sBAAsB,kCAAkC;IACxD,0BAA0B,sCAAsC;IAChE,0BAA0B,wCAAwC;IAClE,8BA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,CAAA;CAAE,EAAE,CAAC;AAEvF;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,iBAAiB,CAAC;AAE/D;;;GAGG;AACH,MAAM,WAAW,gBAAgB,CAAC,0BAA0B;IAC1D,MAAM,EAAE,0BAA0B,CAAC;IACnC,IAAI,EAAE,iBAAiB,CAAC;CACzB;AAED;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GACzB,kCAAkC,GAClC,WAAW,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"}
|
|
@@ -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', // TODO: others have 'grid-pro' in the name, why not this one?
|
|
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;
|
|
84
83
|
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;
|
|
187
186
|
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() {
|
|
252
|
+
return __awaiter(this, arguments, void 0, function* (existingParams = null) {
|
|
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() {
|
|
258
|
+
return __awaiter(this, arguments, void 0, function* (existingParams = null) {
|
|
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;
|
|
38
37
|
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;
|
|
114
113
|
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;
|
|
20
19
|
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;
|
|
234
233
|
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;
|
|
268
267
|
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() {
|
|
288
|
+
return __awaiter(this, arguments, void 0, function* (withFullInit = true) {
|
|
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;
|
|
285
284
|
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;
|
|
302
301
|
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_1) {
|
|
430
|
+
return __awaiter(this, arguments, void 0, function* (columnDefs, deferredColumnDefsOrState = false) {
|
|
431
|
+
var _a;
|
|
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;
|
|
11
10
|
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;
|
|
33
32
|
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;
|
|
54
53
|
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) {
|