@genesislcap/grid-tabulator 14.188.0-FUI-2012-tabulator.4 → 14.188.0-FUI-2012-tabulator.7
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.
|
@@ -19,6 +19,16 @@ declare const GridTabulator_base: (new (...args: any[]) => {
|
|
|
19
19
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
20
20
|
accessKey: string;
|
|
21
21
|
readonly accessKeyLabel: string;
|
|
22
|
+
/**
|
|
23
|
+
* Download the Grid data as a file of the specified type.
|
|
24
|
+
* @public
|
|
25
|
+
* @privateRemarks
|
|
26
|
+
* See https://tabulator.info/docs/5.5/download#overview, xlsx/pdf require extra libraries.
|
|
27
|
+
* @param type - csv | json | html
|
|
28
|
+
* @param fileName - name of the file to download
|
|
29
|
+
* @param params - optional download params
|
|
30
|
+
* @param filter - optional row range lookup filter
|
|
31
|
+
*/
|
|
22
32
|
autocapitalize: string;
|
|
23
33
|
dir: string;
|
|
24
34
|
draggable: boolean;
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;IAmKxB;;;;;;;;;OASG;;;;;;;;;;;;;;;;;;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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"}
|
|
@@ -32,7 +32,7 @@ export class GridTabulator extends LifecycleMixin(FoundationElement) {
|
|
|
32
32
|
}
|
|
33
33
|
rowDataChanged(oldValue, newValue) {
|
|
34
34
|
if (this.grid) {
|
|
35
|
-
this.grid.
|
|
35
|
+
this.grid.setData(newValue);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
themeChanged(oldValue, newValue) {
|
|
@@ -63,14 +63,14 @@ export class GridTabulator extends LifecycleMixin(FoundationElement) {
|
|
|
63
63
|
set gridOptions(options) {
|
|
64
64
|
DOM.queueUpdate(() => {
|
|
65
65
|
this.grid = new Tabulator(this.gridDiv, Object.assign({ rowHeight: this.rowHeight }, options));
|
|
66
|
-
if (this._rowData) {
|
|
67
|
-
this.grid.updateData(this._rowData);
|
|
68
|
-
}
|
|
69
66
|
this.grid.on('tableBuilt', () => {
|
|
70
67
|
const tabulatorDatasource = this.querySelector('grid-tabulator-client-side-datasource');
|
|
71
68
|
if (tabulatorDatasource) {
|
|
72
69
|
tabulatorDatasource.loadResourceData();
|
|
73
70
|
}
|
|
71
|
+
else if (this._rowData) {
|
|
72
|
+
this.grid.setData(this._rowData);
|
|
73
|
+
}
|
|
74
74
|
// TODO: Move to a better place + make sure they're deinit'd
|
|
75
75
|
if (!this.statePersistanceEnabled)
|
|
76
76
|
return;
|
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.7",
|
|
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.7",
|
|
43
|
+
"@genesislcap/genx": "14.188.0-FUI-2012-tabulator.7",
|
|
44
|
+
"@genesislcap/rollup-builder": "14.188.0-FUI-2012-tabulator.7",
|
|
45
|
+
"@genesislcap/ts-builder": "14.188.0-FUI-2012-tabulator.7",
|
|
46
|
+
"@genesislcap/uvu-playwright-builder": "14.188.0-FUI-2012-tabulator.7",
|
|
47
|
+
"@genesislcap/vite-builder": "14.188.0-FUI-2012-tabulator.7",
|
|
48
|
+
"@genesislcap/webpack-builder": "14.188.0-FUI-2012-tabulator.7",
|
|
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.7",
|
|
54
|
+
"@genesislcap/foundation-logger": "14.188.0-FUI-2012-tabulator.7",
|
|
55
|
+
"@genesislcap/foundation-ui": "14.188.0-FUI-2012-tabulator.7",
|
|
56
|
+
"@genesislcap/foundation-utils": "14.188.0-FUI-2012-tabulator.7",
|
|
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": "cf5b0a682e558a3d1a97c8b55fcb746d0bd7ba29"
|
|
78
78
|
}
|