@guiexpert/demo-table-models 1.0.46 → 1.1.56
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/index.js +7 -10
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -1626,12 +1626,11 @@ class f {
|
|
|
1626
1626
|
e.columnDefs,
|
|
1627
1627
|
e.defaultRowHeights.body
|
|
1628
1628
|
);
|
|
1629
|
-
else
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
) : e.bodyAreaModel = new Z("body");
|
|
1629
|
+
else e.bodyData ? e.bodyAreaModel = new S(
|
|
1630
|
+
"body",
|
|
1631
|
+
e.bodyData,
|
|
1632
|
+
e.defaultRowHeights.body
|
|
1633
|
+
) : e.bodyAreaModel = new Z("body");
|
|
1635
1634
|
return e.fixedLeftColumnCount === void 0 && (e.fixedLeftColumnCount = 0), e.fixedRightColumnCount === void 0 && (e.fixedRightColumnCount = 0), e.rowCheckboxVisible === void 0 && (e.rowCheckboxVisible = !1), e.overridingColumnWidth === void 0 && (e.overridingColumnWidth = -1), !e.getSelectionModel && ((v = e.tableOptions) != null && v.getSelectionModel) && (e.getSelectionModel = (k = e.tableOptions) == null ? void 0 : k.getSelectionModel), new W(
|
|
1636
1635
|
e.headerAreaModel,
|
|
1637
1636
|
e.bodyAreaModel,
|
|
@@ -220104,8 +220103,7 @@ class fr extends te {
|
|
|
220104
220103
|
return;
|
|
220105
220104
|
r--;
|
|
220106
220105
|
const a = Q[r], t = H[e];
|
|
220107
|
-
if (!P[a] || !P[a][t])
|
|
220108
|
-
return;
|
|
220106
|
+
if (!P[a] || !P[a][t]) return;
|
|
220109
220107
|
const n = P[a][t].temperature, m = new K(67, 1, 84), d = new K(31, 144, 141), i = new K(250, 230, 37), u = (Ne + be) / 2, p = new er(be, m, u, d, Ne, i);
|
|
220110
220108
|
return {
|
|
220111
220109
|
background: U.getThreeColorGradientRGB(n, p),
|
|
@@ -222880,8 +222878,7 @@ class Ar extends te {
|
|
|
222880
222878
|
return r === 0 ? "id" + e : r === 1 ? this.nf.format(e) : e;
|
|
222881
222879
|
}
|
|
222882
222880
|
getCellRenderer(e, r) {
|
|
222883
|
-
if (r == 2)
|
|
222884
|
-
return this.barRenderer;
|
|
222881
|
+
if (r == 2) return this.barRenderer;
|
|
222885
222882
|
}
|
|
222886
222883
|
getYPosByRowIndex(e) {
|
|
222887
222884
|
return e * this.getRowHeight(0);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@guiexpert/demo-table-models",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.56",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"tslib": "^2.3.0",
|
|
21
|
-
"@guiexpert/table": "^1.1.
|
|
21
|
+
"@guiexpert/table": "^1.1.56"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/node": "^20.11.17",
|
|
25
|
-
"vite": "
|
|
25
|
+
"vite": "6.3.4",
|
|
26
26
|
"vite-plugin-dts": "^3.7.2",
|
|
27
27
|
"vite-plugin-eslint": "^1.8.1",
|
|
28
28
|
"vite-plugin-static-copy": "^0.17.0",
|