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/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import React, { useState, useRef, useEffect, useReducer } from 'react';
2
2
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
3
- import { faExclamationTriangle, faCircle, faDotCircle, faCheckSquare, faHourglass, faClipboard, faChevronDown, faChevronRight, faCloudDownloadAlt, faCheckCircle, faXmarkCircle, faMinus, faSort, faSortDown, faSortUp, faCalendar, faTag, faHammer, faList, faTimes } from '@fortawesome/free-solid-svg-icons';
3
+ import { faExclamationTriangle, faCircle, faDotCircle, faCheckSquare, faHourglass, faClipboard, faChevronDown, faChevronRight, faCloudDownloadAlt, faMinus, faCheckCircle, faXmarkCircle, faSort, faSortDown, faSortUp, faCalendar, faTag, faHammer, faList, faTimes } from '@fortawesome/free-solid-svg-icons';
4
4
  import { faCircle as faCircle$1, faSquareMinus, faSquare } from '@fortawesome/free-regular-svg-icons';
5
5
 
6
6
  /******************************************************************************
@@ -2554,9 +2554,12 @@ const IntelliTable = (props) => {
2554
2554
  const noValue = (value === undefined
2555
2555
  || value === null);
2556
2556
  visibleValue = (noValue
2557
- ? (React.createElement(FontAwesomeIcon, { icon: faCheckCircle }))
2558
- : (React.createElement(FontAwesomeIcon, { icon: faXmarkCircle })));
2557
+ ? (React.createElement(FontAwesomeIcon, { icon: faMinus }))
2558
+ : (React.createElement(FontAwesomeIcon, { icon: fullValue ? faCheckCircle : faXmarkCircle })));
2559
2559
  title = (fullValue ? 'True' : 'False');
2560
+ if (noValue) {
2561
+ title = 'Empty Cell';
2562
+ }
2560
2563
  }
2561
2564
  else if (column.type === ParamType$1.Int) {
2562
2565
  fullValue = Number.parseInt(value, 10);
@@ -2565,6 +2568,9 @@ const IntelliTable = (props) => {
2565
2568
  ? (React.createElement(FontAwesomeIcon, { icon: faMinus }))
2566
2569
  : fullValue);
2567
2570
  title = String(fullValue);
2571
+ if (noValue) {
2572
+ title = 'Empty Cell';
2573
+ }
2568
2574
  }
2569
2575
  else if (column.type === ParamType$1.Float) {
2570
2576
  fullValue = Number.parseFloat(value);
@@ -2573,6 +2579,9 @@ const IntelliTable = (props) => {
2573
2579
  ? (React.createElement(FontAwesomeIcon, { icon: faMinus }))
2574
2580
  : roundToNumDecimals(fullValue, 2));
2575
2581
  title = String(fullValue);
2582
+ if (noValue) {
2583
+ title = 'Empty Cell';
2584
+ }
2576
2585
  }
2577
2586
  else if (column.type === ParamType$1.String) {
2578
2587
  fullValue = String(value).trim();
@@ -2583,6 +2592,9 @@ const IntelliTable = (props) => {
2583
2592
  ? (React.createElement(FontAwesomeIcon, { icon: faMinus }))
2584
2593
  : fullValue);
2585
2594
  title = `"${value}"`;
2595
+ if (noValue) {
2596
+ title = 'Empty Cell';
2597
+ }
2586
2598
  }
2587
2599
  else if (column.type === ParamType$1.JSON) {
2588
2600
  fullValue = JSON.stringify(value);
@@ -2592,6 +2604,7 @@ const IntelliTable = (props) => {
2592
2604
  visibleValue = (noValue
2593
2605
  ? (React.createElement(FontAwesomeIcon, { icon: faMinus }))
2594
2606
  : fullValue);
2607
+ title = "JSON Object";
2595
2608
  }
2596
2609
  // Create UI
2597
2610
  return (React.createElement("td", { key: `${datum.id}-${column.param}`, title: title, style: {
@@ -3473,7 +3486,7 @@ const LogReviewer = (props) => {
3473
3486
  // Filters UI
3474
3487
  const filters = (React.createElement(React.Fragment, null,
3475
3488
  filterToggles,
3476
- filterDrawer && (React.createElement(Drawer, null, filterDrawer))));
3489
+ filterDrawer && (React.createElement(Drawer, { customBackgroundColor: "#eee" }, filterDrawer))));
3477
3490
  // Actually filter the logs
3478
3491
  // > Perform filters
3479
3492
  const logs = [];