@genesislcap/grid-tabulator 14.188.0-FUI-2012-tabulator.1 → 14.188.0-FUI-2012-tabulator.2
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.
|
@@ -286,6 +286,14 @@
|
|
|
286
286
|
}
|
|
287
287
|
]
|
|
288
288
|
},
|
|
289
|
+
{
|
|
290
|
+
"kind": "field",
|
|
291
|
+
"name": "_rowData",
|
|
292
|
+
"type": {
|
|
293
|
+
"text": "any[]"
|
|
294
|
+
},
|
|
295
|
+
"privacy": "private"
|
|
296
|
+
},
|
|
289
297
|
{
|
|
290
298
|
"kind": "field",
|
|
291
299
|
"name": "autoCellRendererByType",
|
|
@@ -1217,6 +1225,12 @@
|
|
|
1217
1225
|
}
|
|
1218
1226
|
]
|
|
1219
1227
|
},
|
|
1228
|
+
{
|
|
1229
|
+
"kind": "javascript-module",
|
|
1230
|
+
"path": "src/column/index.ts",
|
|
1231
|
+
"declarations": [],
|
|
1232
|
+
"exports": []
|
|
1233
|
+
},
|
|
1220
1234
|
{
|
|
1221
1235
|
"kind": "javascript-module",
|
|
1222
1236
|
"path": "src/datasource/client-side.datasource.ts",
|
|
@@ -2044,12 +2058,6 @@
|
|
|
2044
2058
|
}
|
|
2045
2059
|
]
|
|
2046
2060
|
},
|
|
2047
|
-
{
|
|
2048
|
-
"kind": "javascript-module",
|
|
2049
|
-
"path": "src/column/index.ts",
|
|
2050
|
-
"declarations": [],
|
|
2051
|
-
"exports": []
|
|
2052
|
-
},
|
|
2053
2061
|
{
|
|
2054
2062
|
"kind": "javascript-module",
|
|
2055
2063
|
"path": "src/external/fonts.ts",
|
|
@@ -336,6 +336,7 @@ export declare class GridTabulator extends GridTabulator_base {
|
|
|
336
336
|
classNames: string;
|
|
337
337
|
rowData: any[];
|
|
338
338
|
rowDataChanged(oldValue: any, newValue: any): void;
|
|
339
|
+
private _rowData;
|
|
339
340
|
autoCellRendererByType: boolean;
|
|
340
341
|
onlyTemplateColDefs: boolean;
|
|
341
342
|
persistColumnStateKey: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-tabulator.d.ts","sourceRoot":"","sources":["../../src/grid-tabulator.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,EACL,eAAe,EACf,YAAY,EACZ,OAAO,EACP,cAAc,EACd,aAAa,IAAI,SAAS,EAC3B,MAAM,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiB1B;;;GAGG;AACH,qBAAa,aAAc,SAAQ,kBAAiC;IACtD,IAAI,EAAE,SAAS,GAAG,SAAS,CAAC;IAC5B,OAAO,EAAE,cAAc,CAAC;IAExB,YAAY,SAAgC;IAC5C,UAAU,EAAE,MAAM,CAAC;IAEnB,OAAO,EAAE,GAAG,EAAE,CAAC;IAC3B,cAAc,CAAC,QAAQ,KAAA,EAAE,QAAQ,KAAA;
|
|
1
|
+
{"version":3,"file":"grid-tabulator.d.ts","sourceRoot":"","sources":["../../src/grid-tabulator.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,EACL,eAAe,EACf,YAAY,EACZ,OAAO,EACP,cAAc,EACd,aAAa,IAAI,SAAS,EAC3B,MAAM,kBAAkB,CAAC;;;;;;;;;;;;;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AE,YAAY;IAItF;;;;;;;;;OASG;IACH,cAAc,CACZ,IAAI,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,EAC7B,QAAQ,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,eAAe,EACxB,MAAM,CAAC,EAAE,cAAc;IAKzB,OAAO,CAAC,eAAe,CAAa;IAEpC,OAAO,CAAC,cAAc;IAStB,OAAO,CAAC,eAAe;CAMxB;AAGD,eAAO,MAAM,0BAA0B,EAAE,cAA0B,CAAC;AAEpE,eAAO,MAAM,0BAA0B;;CAEtC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;wBAMlC,CAAC"}
|
|
@@ -34,6 +34,9 @@ export class GridTabulator extends LifecycleMixin(FoundationElement) {
|
|
|
34
34
|
if (this.grid) {
|
|
35
35
|
this.grid.updateData(newValue);
|
|
36
36
|
}
|
|
37
|
+
else {
|
|
38
|
+
this._rowData = newValue;
|
|
39
|
+
}
|
|
37
40
|
}
|
|
38
41
|
themeChanged(oldValue, newValue) {
|
|
39
42
|
if (!newValue) {
|
|
@@ -63,8 +66,8 @@ export class GridTabulator extends LifecycleMixin(FoundationElement) {
|
|
|
63
66
|
set gridOptions(options) {
|
|
64
67
|
DOM.queueUpdate(() => {
|
|
65
68
|
this.grid = new Tabulator(this.gridDiv, Object.assign({ rowHeight: this.rowHeight }, options));
|
|
66
|
-
if (this.
|
|
67
|
-
this.grid.updateData(this.
|
|
69
|
+
if (this._rowData) {
|
|
70
|
+
this.grid.updateData(this._rowData);
|
|
68
71
|
}
|
|
69
72
|
this.grid.on('tableBuilt', () => {
|
|
70
73
|
const tabulatorDatasource = this.querySelector('grid-tabulator-client-side-datasource');
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/grid-tabulator",
|
|
3
3
|
"description": "Genesis Foundation Grid Tabulator",
|
|
4
|
-
"version": "14.188.0-FUI-2012-tabulator.
|
|
4
|
+
"version": "14.188.0-FUI-2012-tabulator.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -39,21 +39,21 @@
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@genesislcap/foundation-testing": "14.188.0-FUI-2012-tabulator.
|
|
43
|
-
"@genesislcap/genx": "14.188.0-FUI-2012-tabulator.
|
|
44
|
-
"@genesislcap/rollup-builder": "14.188.0-FUI-2012-tabulator.
|
|
45
|
-
"@genesislcap/ts-builder": "14.188.0-FUI-2012-tabulator.
|
|
46
|
-
"@genesislcap/uvu-playwright-builder": "14.188.0-FUI-2012-tabulator.
|
|
47
|
-
"@genesislcap/vite-builder": "14.188.0-FUI-2012-tabulator.
|
|
48
|
-
"@genesislcap/webpack-builder": "14.188.0-FUI-2012-tabulator.
|
|
42
|
+
"@genesislcap/foundation-testing": "14.188.0-FUI-2012-tabulator.2",
|
|
43
|
+
"@genesislcap/genx": "14.188.0-FUI-2012-tabulator.2",
|
|
44
|
+
"@genesislcap/rollup-builder": "14.188.0-FUI-2012-tabulator.2",
|
|
45
|
+
"@genesislcap/ts-builder": "14.188.0-FUI-2012-tabulator.2",
|
|
46
|
+
"@genesislcap/uvu-playwright-builder": "14.188.0-FUI-2012-tabulator.2",
|
|
47
|
+
"@genesislcap/vite-builder": "14.188.0-FUI-2012-tabulator.2",
|
|
48
|
+
"@genesislcap/webpack-builder": "14.188.0-FUI-2012-tabulator.2",
|
|
49
49
|
"@types/tabulator-tables": "^6.2.0",
|
|
50
50
|
"rimraf": "^5.0.0"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@genesislcap/foundation-comms": "14.188.0-FUI-2012-tabulator.
|
|
54
|
-
"@genesislcap/foundation-logger": "14.188.0-FUI-2012-tabulator.
|
|
55
|
-
"@genesislcap/foundation-ui": "14.188.0-FUI-2012-tabulator.
|
|
56
|
-
"@genesislcap/foundation-utils": "14.188.0-FUI-2012-tabulator.
|
|
53
|
+
"@genesislcap/foundation-comms": "14.188.0-FUI-2012-tabulator.2",
|
|
54
|
+
"@genesislcap/foundation-logger": "14.188.0-FUI-2012-tabulator.2",
|
|
55
|
+
"@genesislcap/foundation-ui": "14.188.0-FUI-2012-tabulator.2",
|
|
56
|
+
"@genesislcap/foundation-utils": "14.188.0-FUI-2012-tabulator.2",
|
|
57
57
|
"@microsoft/fast-colors": "^5.3.1",
|
|
58
58
|
"@microsoft/fast-components": "^2.30.6",
|
|
59
59
|
"@microsoft/fast-element": "^1.12.0",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
76
|
"customElements": "dist/custom-elements.json",
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "9ae04c76af3465f40001c4de1918f289389708c3"
|
|
78
78
|
}
|