dce-reactkit 3.2.2-beta.40 → 3.2.2-beta.41
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/cjs/index.js
CHANGED
|
@@ -2562,9 +2562,12 @@ const IntelliTable = (props) => {
|
|
|
2562
2562
|
const noValue = (value === undefined
|
|
2563
2563
|
|| value === null);
|
|
2564
2564
|
visibleValue = (noValue
|
|
2565
|
-
? (React__default["default"].createElement(reactFontawesome.FontAwesomeIcon, { icon: freeSolidSvgIcons.
|
|
2566
|
-
: (React__default["default"].createElement(reactFontawesome.FontAwesomeIcon, { icon: freeSolidSvgIcons.faXmarkCircle })));
|
|
2565
|
+
? (React__default["default"].createElement(reactFontawesome.FontAwesomeIcon, { icon: freeSolidSvgIcons.faMinus }))
|
|
2566
|
+
: (React__default["default"].createElement(reactFontawesome.FontAwesomeIcon, { icon: fullValue ? freeSolidSvgIcons.faCheckCircle : freeSolidSvgIcons.faXmarkCircle })));
|
|
2567
2567
|
title = (fullValue ? 'True' : 'False');
|
|
2568
|
+
if (noValue) {
|
|
2569
|
+
title = 'Empty Cell';
|
|
2570
|
+
}
|
|
2568
2571
|
}
|
|
2569
2572
|
else if (column.type === ParamType$1.Int) {
|
|
2570
2573
|
fullValue = Number.parseInt(value, 10);
|
|
@@ -2573,6 +2576,9 @@ const IntelliTable = (props) => {
|
|
|
2573
2576
|
? (React__default["default"].createElement(reactFontawesome.FontAwesomeIcon, { icon: freeSolidSvgIcons.faMinus }))
|
|
2574
2577
|
: fullValue);
|
|
2575
2578
|
title = String(fullValue);
|
|
2579
|
+
if (noValue) {
|
|
2580
|
+
title = 'Empty Cell';
|
|
2581
|
+
}
|
|
2576
2582
|
}
|
|
2577
2583
|
else if (column.type === ParamType$1.Float) {
|
|
2578
2584
|
fullValue = Number.parseFloat(value);
|
|
@@ -2581,6 +2587,9 @@ const IntelliTable = (props) => {
|
|
|
2581
2587
|
? (React__default["default"].createElement(reactFontawesome.FontAwesomeIcon, { icon: freeSolidSvgIcons.faMinus }))
|
|
2582
2588
|
: roundToNumDecimals(fullValue, 2));
|
|
2583
2589
|
title = String(fullValue);
|
|
2590
|
+
if (noValue) {
|
|
2591
|
+
title = 'Empty Cell';
|
|
2592
|
+
}
|
|
2584
2593
|
}
|
|
2585
2594
|
else if (column.type === ParamType$1.String) {
|
|
2586
2595
|
fullValue = String(value).trim();
|
|
@@ -2591,6 +2600,9 @@ const IntelliTable = (props) => {
|
|
|
2591
2600
|
? (React__default["default"].createElement(reactFontawesome.FontAwesomeIcon, { icon: freeSolidSvgIcons.faMinus }))
|
|
2592
2601
|
: fullValue);
|
|
2593
2602
|
title = `"${value}"`;
|
|
2603
|
+
if (noValue) {
|
|
2604
|
+
title = 'Empty Cell';
|
|
2605
|
+
}
|
|
2594
2606
|
}
|
|
2595
2607
|
else if (column.type === ParamType$1.JSON) {
|
|
2596
2608
|
fullValue = JSON.stringify(value);
|
|
@@ -2600,6 +2612,7 @@ const IntelliTable = (props) => {
|
|
|
2600
2612
|
visibleValue = (noValue
|
|
2601
2613
|
? (React__default["default"].createElement(reactFontawesome.FontAwesomeIcon, { icon: freeSolidSvgIcons.faMinus }))
|
|
2602
2614
|
: fullValue);
|
|
2615
|
+
title = "JSON Object";
|
|
2603
2616
|
}
|
|
2604
2617
|
// Create UI
|
|
2605
2618
|
return (React__default["default"].createElement("td", { key: `${datum.id}-${column.param}`, title: title, style: {
|
|
@@ -3481,7 +3494,7 @@ const LogReviewer = (props) => {
|
|
|
3481
3494
|
// Filters UI
|
|
3482
3495
|
const filters = (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
3483
3496
|
filterToggles,
|
|
3484
|
-
filterDrawer && (React__default["default"].createElement(Drawer,
|
|
3497
|
+
filterDrawer && (React__default["default"].createElement(Drawer, { customBackgroundColor: "#eee" }, filterDrawer))));
|
|
3485
3498
|
// Actually filter the logs
|
|
3486
3499
|
// > Perform filters
|
|
3487
3500
|
const logs = [];
|