@hpcc-js/dgrid 2.32.21 → 2.32.23
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/index.es6.js +11 -10
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +11 -10
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +5 -5
- package/dist/index.min.js.map +1 -1
- package/package.json +2 -2
- package/src/Table.ts +3 -3
- package/src/__package__.ts +2 -2
- package/types/__package__.d.ts +2 -2
- package/types-3.4/__package__.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hpcc-js/dgrid",
|
|
3
|
-
"version": "2.32.
|
|
3
|
+
"version": "2.32.23",
|
|
4
4
|
"description": "hpcc-js - Viz DGrid",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es6",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"url": "https://github.com/hpcc-systems/Visualization/issues"
|
|
62
62
|
},
|
|
63
63
|
"homepage": "https://github.com/hpcc-systems/Visualization",
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "439240f53a8271d4db8d394d3d93268c39777b52"
|
|
65
65
|
}
|
package/src/Table.ts
CHANGED
|
@@ -57,8 +57,8 @@ export class ColumnFormat extends PropertyExt {
|
|
|
57
57
|
const cellText = defaultFormatter.call(this, cell, row);
|
|
58
58
|
d3Select(cellElement)
|
|
59
59
|
.style("background", background)
|
|
60
|
-
.style("color", Palette.textColor(background))
|
|
61
|
-
.text(cellText
|
|
60
|
+
.style("color", background && Palette.textColor(background))
|
|
61
|
+
.text(cellText?.html ?? cellText ?? cell)
|
|
62
62
|
;
|
|
63
63
|
};
|
|
64
64
|
}
|
|
@@ -184,7 +184,7 @@ export class Table extends Common {
|
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
this._dgrid.set("columns", this._columns);
|
|
187
|
+
this._dgrid.set("columns", this._columns.filter(col => !col.hidden));
|
|
188
188
|
this._colsRefresh = false;
|
|
189
189
|
}
|
|
190
190
|
if (this._colsRefresh || this._dataRefresh) {
|
package/src/__package__.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export const PKG_NAME = "@hpcc-js/dgrid";
|
|
2
|
-
export const PKG_VERSION = "2.32.
|
|
3
|
-
export const BUILD_VERSION = "2.105.
|
|
2
|
+
export const PKG_VERSION = "2.32.23";
|
|
3
|
+
export const BUILD_VERSION = "2.105.14";
|
package/types/__package__.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/dgrid";
|
|
2
|
-
export declare const PKG_VERSION = "2.32.
|
|
3
|
-
export declare const BUILD_VERSION = "2.105.
|
|
2
|
+
export declare const PKG_VERSION = "2.32.23";
|
|
3
|
+
export declare const BUILD_VERSION = "2.105.14";
|
|
4
4
|
//# sourceMappingURL=__package__.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/dgrid";
|
|
2
|
-
export declare const PKG_VERSION = "2.32.
|
|
3
|
-
export declare const BUILD_VERSION = "2.105.
|
|
2
|
+
export declare const PKG_VERSION = "2.32.23";
|
|
3
|
+
export declare const BUILD_VERSION = "2.105.14";
|
|
4
4
|
//# sourceMappingURL=__package__.d.ts.map
|