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/package.json
CHANGED
|
@@ -480,16 +480,19 @@ const IntelliTable: React.FC<Props> = (props) => {
|
|
|
480
480
|
noValue
|
|
481
481
|
? (
|
|
482
482
|
<FontAwesomeIcon
|
|
483
|
-
icon={
|
|
483
|
+
icon={faMinus}
|
|
484
484
|
/>
|
|
485
485
|
)
|
|
486
486
|
: (
|
|
487
487
|
<FontAwesomeIcon
|
|
488
|
-
icon={faXmarkCircle}
|
|
488
|
+
icon={fullValue ? faCheckCircle : faXmarkCircle}
|
|
489
489
|
/>
|
|
490
490
|
)
|
|
491
491
|
);
|
|
492
492
|
title = (fullValue ? 'True' : 'False');
|
|
493
|
+
if (noValue) {
|
|
494
|
+
title = 'Empty Cell';
|
|
495
|
+
}
|
|
493
496
|
} else if (column.type === ParamType.Int) {
|
|
494
497
|
fullValue = Number.parseInt(value, 10);
|
|
495
498
|
const noValue = Number.isNaN(fullValue);
|
|
@@ -503,6 +506,9 @@ const IntelliTable: React.FC<Props> = (props) => {
|
|
|
503
506
|
: fullValue
|
|
504
507
|
);
|
|
505
508
|
title = String(fullValue);
|
|
509
|
+
if (noValue) {
|
|
510
|
+
title = 'Empty Cell';
|
|
511
|
+
}
|
|
506
512
|
} else if (column.type === ParamType.Float) {
|
|
507
513
|
fullValue = Number.parseFloat(value);
|
|
508
514
|
const noValue = Number.isNaN(fullValue);
|
|
@@ -516,6 +522,9 @@ const IntelliTable: React.FC<Props> = (props) => {
|
|
|
516
522
|
: roundToNumDecimals(fullValue as number, 2)
|
|
517
523
|
);
|
|
518
524
|
title = String(fullValue);
|
|
525
|
+
if (noValue) {
|
|
526
|
+
title = 'Empty Cell';
|
|
527
|
+
}
|
|
519
528
|
} else if (column.type === ParamType.String) {
|
|
520
529
|
fullValue = String(value).trim();
|
|
521
530
|
const noValue = (
|
|
@@ -533,6 +542,9 @@ const IntelliTable: React.FC<Props> = (props) => {
|
|
|
533
542
|
: fullValue
|
|
534
543
|
);
|
|
535
544
|
title = `"${value}"`;
|
|
545
|
+
if (noValue) {
|
|
546
|
+
title = 'Empty Cell';
|
|
547
|
+
}
|
|
536
548
|
} else if (column.type === ParamType.JSON) {
|
|
537
549
|
fullValue = JSON.stringify(value);
|
|
538
550
|
const noValue = (
|
|
@@ -549,6 +561,7 @@ const IntelliTable: React.FC<Props> = (props) => {
|
|
|
549
561
|
)
|
|
550
562
|
: fullValue
|
|
551
563
|
);
|
|
564
|
+
title="JSON Object"
|
|
552
565
|
}
|
|
553
566
|
|
|
554
567
|
// Create UI
|