@genesislcap/grid-pro 14.188.0-FUI-2012-tabulator.2 → 14.188.0-FUI-2012-tabulator.3
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 +1 -1
- package/dist/dts/grid-pro.d.ts +10 -5
- package/dist/dts/grid-pro.d.ts.map +1 -1
- package/dist/esm/grid-pro.js +4 -3
- package/dist/grid-pro.d.ts +10 -5
- package/package.json +13 -13
package/dist/dts/grid-pro.d.ts
CHANGED
|
@@ -217,9 +217,6 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
217
217
|
readonly firstElementChild: Element;
|
|
218
218
|
readonly lastElementChild: Element;
|
|
219
219
|
append(...nodes: (string | Node)[]): void;
|
|
220
|
-
/**
|
|
221
|
-
* @public
|
|
222
|
-
*/
|
|
223
220
|
prepend(...nodes: (string | Node)[]): void;
|
|
224
221
|
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
|
225
222
|
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
|
|
@@ -285,7 +282,15 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
285
282
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
286
283
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
287
284
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
288
|
-
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
285
|
+
onpause: (this: GlobalEventHandlers, ev: Event) => any; /**
|
|
286
|
+
* Will merge templated column definitions with `columnDefs` plus localStorage's column state or `deferredColumnStates`.
|
|
287
|
+
* @public
|
|
288
|
+
* @remarks This will favor the column state from the browser's local storage over the `deferredColumnStates` property on the `grid-pro-genesis-datasource` element.
|
|
289
|
+
* @param columnDefs - The column definitions to apply to the grid.
|
|
290
|
+
* @param deferredColumnDefsOrState - If true, will merge the column definitions with the saved column state or the `deferredColumnStates` property
|
|
291
|
+
* on the `grid-pro-genesis-datasource` element. Defaults to false but `grid-pro-genesis-datasource` will set this to true.
|
|
292
|
+
* @returns The merged column definitions.
|
|
293
|
+
*/
|
|
289
294
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
290
295
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
291
296
|
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
@@ -481,7 +486,7 @@ export declare class GridPro extends GridPro_base {
|
|
|
481
486
|
restoreCachedFilterConfig(): Promise<void>;
|
|
482
487
|
rowData: any[];
|
|
483
488
|
rowDataChanged(oldValue: any, newValue: any): void;
|
|
484
|
-
private
|
|
489
|
+
private _rowDataCache;
|
|
485
490
|
/**
|
|
486
491
|
* @public
|
|
487
492
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro.d.ts","sourceRoot":"","sources":["../../src/grid-pro.ts"],"names":[],"mappings":"AACA,OAAO,EACL,MAAM,EACN,SAAS,EACT,WAAW,EAGX,IAAI,EACJ,OAAO,EACP,WAAW,EAGZ,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,EAKL,cAAc,EAId,iBAAiB,EACjB,eAAe,EAEf,gBAAgB,EAChB,iBAAiB,EAElB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;;;;;;;;;;;;;;;;;;;;;IA0FrD;;OAEG
|
|
1
|
+
{"version":3,"file":"grid-pro.d.ts","sourceRoot":"","sources":["../../src/grid-pro.ts"],"names":[],"mappings":"AACA,OAAO,EACL,M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yB,UAAQ;IAuFzF,IAAI,kBAAkB,aAerB;IAED,0BAA0B,CAAC,OAAO,KAAA,EAAE,QAAQ,KAAA,EAAE,QAAQ,KAAA;IAqBtD,mBAAmB,CAAC,SAAS,KAAA,EAAE,KAAK,KAAA;IAiBpC,OAAO,CAAC,eAAe,CAAa;IAEpC,OAAO,CAAC,cAAc;IAStB,OAAO,CAAC,eAAe;CAMxB;AAED;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B,EAAE,cAA0B,CAAC;AAExE;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;CAEhC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;kBAM5B,CAAC"}
|
package/dist/esm/grid-pro.js
CHANGED
|
@@ -293,7 +293,7 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
293
293
|
this.gridApi.setRowData(newValue);
|
|
294
294
|
}
|
|
295
295
|
else {
|
|
296
|
-
this.
|
|
296
|
+
this._rowDataCache = newValue;
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
299
|
/**
|
|
@@ -331,8 +331,9 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
331
331
|
this.addGridEventListener(type);
|
|
332
332
|
});
|
|
333
333
|
}
|
|
334
|
-
if (this.
|
|
335
|
-
this.gridApi.setRowData(this.
|
|
334
|
+
if (this._rowDataCache) {
|
|
335
|
+
this.gridApi.setRowData(this._rowDataCache);
|
|
336
|
+
this._rowDataCache = null;
|
|
336
337
|
}
|
|
337
338
|
if (onGridReady) {
|
|
338
339
|
onGridReady(event);
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -1646,7 +1646,7 @@ export declare class GridPro extends GridPro_base {
|
|
|
1646
1646
|
restoreCachedFilterConfig(): Promise<void>;
|
|
1647
1647
|
rowData: any[];
|
|
1648
1648
|
rowDataChanged(oldValue: any, newValue: any): void;
|
|
1649
|
-
private
|
|
1649
|
+
private _rowDataCache;
|
|
1650
1650
|
/**
|
|
1651
1651
|
* @public
|
|
1652
1652
|
*/
|
|
@@ -1893,9 +1893,6 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
1893
1893
|
readonly firstElementChild: Element;
|
|
1894
1894
|
readonly lastElementChild: Element;
|
|
1895
1895
|
append(...nodes: (string | Node)[]): void;
|
|
1896
|
-
/**
|
|
1897
|
-
* @public
|
|
1898
|
-
*/
|
|
1899
1896
|
prepend(...nodes: (string | Node)[]): void;
|
|
1900
1897
|
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
|
1901
1898
|
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
|
|
@@ -1961,7 +1958,15 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
1961
1958
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1962
1959
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1963
1960
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1964
|
-
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1961
|
+
onpause: (this: GlobalEventHandlers, ev: Event) => any; /**
|
|
1962
|
+
* Will merge templated column definitions with `columnDefs` plus localStorage's column state or `deferredColumnStates`.
|
|
1963
|
+
* @public
|
|
1964
|
+
* @remarks This will favor the column state from the browser's local storage over the `deferredColumnStates` property on the `grid-pro-genesis-datasource` element.
|
|
1965
|
+
* @param columnDefs - The column definitions to apply to the grid.
|
|
1966
|
+
* @param deferredColumnDefsOrState - If true, will merge the column definitions with the saved column state or the `deferredColumnStates` property
|
|
1967
|
+
* on the `grid-pro-genesis-datasource` element. Defaults to false but `grid-pro-genesis-datasource` will set this to true.
|
|
1968
|
+
* @returns The merged column definitions.
|
|
1969
|
+
*/
|
|
1965
1970
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1966
1971
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1967
1972
|
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/grid-pro",
|
|
3
3
|
"description": "Genesis Foundation AG Grid",
|
|
4
|
-
"version": "14.188.0-FUI-2012-tabulator.
|
|
4
|
+
"version": "14.188.0-FUI-2012-tabulator.3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -38,20 +38,20 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@genesislcap/foundation-testing": "14.188.0-FUI-2012-tabulator.
|
|
42
|
-
"@genesislcap/genx": "14.188.0-FUI-2012-tabulator.
|
|
43
|
-
"@genesislcap/rollup-builder": "14.188.0-FUI-2012-tabulator.
|
|
44
|
-
"@genesislcap/ts-builder": "14.188.0-FUI-2012-tabulator.
|
|
45
|
-
"@genesislcap/uvu-playwright-builder": "14.188.0-FUI-2012-tabulator.
|
|
46
|
-
"@genesislcap/vite-builder": "14.188.0-FUI-2012-tabulator.
|
|
47
|
-
"@genesislcap/webpack-builder": "14.188.0-FUI-2012-tabulator.
|
|
41
|
+
"@genesislcap/foundation-testing": "14.188.0-FUI-2012-tabulator.3",
|
|
42
|
+
"@genesislcap/genx": "14.188.0-FUI-2012-tabulator.3",
|
|
43
|
+
"@genesislcap/rollup-builder": "14.188.0-FUI-2012-tabulator.3",
|
|
44
|
+
"@genesislcap/ts-builder": "14.188.0-FUI-2012-tabulator.3",
|
|
45
|
+
"@genesislcap/uvu-playwright-builder": "14.188.0-FUI-2012-tabulator.3",
|
|
46
|
+
"@genesislcap/vite-builder": "14.188.0-FUI-2012-tabulator.3",
|
|
47
|
+
"@genesislcap/webpack-builder": "14.188.0-FUI-2012-tabulator.3",
|
|
48
48
|
"rimraf": "^5.0.0"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@genesislcap/foundation-comms": "14.188.0-FUI-2012-tabulator.
|
|
52
|
-
"@genesislcap/foundation-logger": "14.188.0-FUI-2012-tabulator.
|
|
53
|
-
"@genesislcap/foundation-ui": "14.188.0-FUI-2012-tabulator.
|
|
54
|
-
"@genesislcap/foundation-utils": "14.188.0-FUI-2012-tabulator.
|
|
51
|
+
"@genesislcap/foundation-comms": "14.188.0-FUI-2012-tabulator.3",
|
|
52
|
+
"@genesislcap/foundation-logger": "14.188.0-FUI-2012-tabulator.3",
|
|
53
|
+
"@genesislcap/foundation-ui": "14.188.0-FUI-2012-tabulator.3",
|
|
54
|
+
"@genesislcap/foundation-utils": "14.188.0-FUI-2012-tabulator.3",
|
|
55
55
|
"@microsoft/fast-colors": "^5.3.1",
|
|
56
56
|
"@microsoft/fast-components": "^2.30.6",
|
|
57
57
|
"@microsoft/fast-element": "^1.12.0",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"access": "public"
|
|
78
78
|
},
|
|
79
79
|
"customElements": "dist/custom-elements.json",
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "8bfd6024bb20faa98b685be48c2b2b659af2e3cd"
|
|
81
81
|
}
|