ps-toolkit-ui 0.2.33 → 0.2.34

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.
@@ -794,6 +794,7 @@
794
794
  TableCollType[TableCollType["FileSize"] = 12] = "FileSize";
795
795
  TableCollType[TableCollType["Bool"] = 13] = "Bool";
796
796
  TableCollType[TableCollType["Options"] = 14] = "Options";
797
+ TableCollType[TableCollType["Color"] = 15] = "Color";
797
798
  })(exports.TableCollType || (exports.TableCollType = {}));
798
799
  (function (UserType) {
799
800
  UserType[UserType["All"] = 0] = "All";
@@ -2818,6 +2819,9 @@
2818
2819
  else if (col.type === exports.TableCollType.Time) {
2819
2820
  return HelperClass.getTime(cv);
2820
2821
  }
2822
+ else if (col.type === exports.TableCollType.Color) {
2823
+ return '<div style="float: right; padding: 0 10px; border-radius: var(--border-radius-base); background-color: ' + cv + '">' + cv + '</div>';
2824
+ }
2821
2825
  else if (col.type === exports.TableCollType.Url) {
2822
2826
  return '<a target="_blank" href="' + cv + '">' + cv + '</a>';
2823
2827
  }