@genesislcap/grid-tabulator 14.191.0 → 14.192.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.
|
@@ -267,6 +267,25 @@
|
|
|
267
267
|
"text": "string"
|
|
268
268
|
}
|
|
269
269
|
},
|
|
270
|
+
{
|
|
271
|
+
"kind": "field",
|
|
272
|
+
"name": "rowData",
|
|
273
|
+
"type": {
|
|
274
|
+
"text": "any[]"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"kind": "method",
|
|
279
|
+
"name": "rowDataChanged",
|
|
280
|
+
"parameters": [
|
|
281
|
+
{
|
|
282
|
+
"name": "oldValue"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"name": "newValue"
|
|
286
|
+
}
|
|
287
|
+
]
|
|
288
|
+
},
|
|
270
289
|
{
|
|
271
290
|
"kind": "field",
|
|
272
291
|
"name": "autoCellRendererByType",
|
|
@@ -1198,6 +1217,12 @@
|
|
|
1198
1217
|
}
|
|
1199
1218
|
]
|
|
1200
1219
|
},
|
|
1220
|
+
{
|
|
1221
|
+
"kind": "javascript-module",
|
|
1222
|
+
"path": "src/column/index.ts",
|
|
1223
|
+
"declarations": [],
|
|
1224
|
+
"exports": []
|
|
1225
|
+
},
|
|
1201
1226
|
{
|
|
1202
1227
|
"kind": "javascript-module",
|
|
1203
1228
|
"path": "src/datasource/client-side.datasource.ts",
|
|
@@ -2025,12 +2050,6 @@
|
|
|
2025
2050
|
}
|
|
2026
2051
|
]
|
|
2027
2052
|
},
|
|
2028
|
-
{
|
|
2029
|
-
"kind": "javascript-module",
|
|
2030
|
-
"path": "src/column/index.ts",
|
|
2031
|
-
"declarations": [],
|
|
2032
|
-
"exports": []
|
|
2033
|
-
},
|
|
2034
2053
|
{
|
|
2035
2054
|
"kind": "javascript-module",
|
|
2036
2055
|
"path": "src/external/fonts.ts",
|
|
@@ -334,6 +334,8 @@ export declare class GridTabulator extends GridTabulator_base {
|
|
|
334
334
|
gridDiv: HTMLDivElement;
|
|
335
335
|
gridFontFace: string;
|
|
336
336
|
classNames: string;
|
|
337
|
+
rowData: any[];
|
|
338
|
+
rowDataChanged(oldValue: any, newValue: any): void;
|
|
337
339
|
autoCellRendererByType: boolean;
|
|
338
340
|
onlyTemplateColDefs: boolean;
|
|
339
341
|
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;
|
|
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,OAA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E,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,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"}
|
|
@@ -30,6 +30,11 @@ export class GridTabulator extends LifecycleMixin(FoundationElement) {
|
|
|
30
30
|
this.theme = 'modern';
|
|
31
31
|
this.rehydrationAttempted = false;
|
|
32
32
|
}
|
|
33
|
+
rowDataChanged(oldValue, newValue) {
|
|
34
|
+
if (this.grid) {
|
|
35
|
+
this.grid.setData(newValue);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
33
38
|
themeChanged(oldValue, newValue) {
|
|
34
39
|
if (!newValue) {
|
|
35
40
|
this.classNames = '';
|
|
@@ -63,6 +68,9 @@ export class GridTabulator extends LifecycleMixin(FoundationElement) {
|
|
|
63
68
|
if (tabulatorDatasource) {
|
|
64
69
|
tabulatorDatasource.loadResourceData();
|
|
65
70
|
}
|
|
71
|
+
if (this.rowData) {
|
|
72
|
+
this.grid.setData(this.rowData);
|
|
73
|
+
}
|
|
66
74
|
// TODO: Move to a better place + make sure they're deinit'd
|
|
67
75
|
if (!this.statePersistanceEnabled)
|
|
68
76
|
return;
|
|
@@ -161,6 +169,9 @@ __decorate([
|
|
|
161
169
|
__decorate([
|
|
162
170
|
observable
|
|
163
171
|
], GridTabulator.prototype, "classNames", void 0);
|
|
172
|
+
__decorate([
|
|
173
|
+
observable
|
|
174
|
+
], GridTabulator.prototype, "rowData", void 0);
|
|
164
175
|
__decorate([
|
|
165
176
|
attr({ attribute: 'auto-cell-renderer-by-type', mode: 'boolean' })
|
|
166
177
|
], GridTabulator.prototype, "autoCellRendererByType", void 0);
|
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.
|
|
4
|
+
"version": "14.192.0",
|
|
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.
|
|
43
|
-
"@genesislcap/genx": "14.
|
|
44
|
-
"@genesislcap/rollup-builder": "14.
|
|
45
|
-
"@genesislcap/ts-builder": "14.
|
|
46
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
47
|
-
"@genesislcap/vite-builder": "14.
|
|
48
|
-
"@genesislcap/webpack-builder": "14.
|
|
42
|
+
"@genesislcap/foundation-testing": "14.192.0",
|
|
43
|
+
"@genesislcap/genx": "14.192.0",
|
|
44
|
+
"@genesislcap/rollup-builder": "14.192.0",
|
|
45
|
+
"@genesislcap/ts-builder": "14.192.0",
|
|
46
|
+
"@genesislcap/uvu-playwright-builder": "14.192.0",
|
|
47
|
+
"@genesislcap/vite-builder": "14.192.0",
|
|
48
|
+
"@genesislcap/webpack-builder": "14.192.0",
|
|
49
49
|
"@types/tabulator-tables": "^6.2.0",
|
|
50
50
|
"rimraf": "^5.0.0"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@genesislcap/foundation-comms": "14.
|
|
54
|
-
"@genesislcap/foundation-logger": "14.
|
|
55
|
-
"@genesislcap/foundation-ui": "14.
|
|
56
|
-
"@genesislcap/foundation-utils": "14.
|
|
53
|
+
"@genesislcap/foundation-comms": "14.192.0",
|
|
54
|
+
"@genesislcap/foundation-logger": "14.192.0",
|
|
55
|
+
"@genesislcap/foundation-ui": "14.192.0",
|
|
56
|
+
"@genesislcap/foundation-utils": "14.192.0",
|
|
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": "655e23ada5211eb8986f1bead581ea9d0b772732"
|
|
78
78
|
}
|