ps-toolkit-ui 1.11.29 → 1.11.31

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.
@@ -1084,8 +1084,8 @@
1084
1084
  HelperClass.getNow = function () {
1085
1085
  return moment.now();
1086
1086
  };
1087
- HelperClass.getDateAdd = function (amount, unit) {
1088
- return HelperClass.getMoment().add(amount, unit).unix() * 1000;
1087
+ HelperClass.getInputDate = function (amount, unit) {
1088
+ return HelperClass.getMoment().add(amount, unit).locale('en').format('YYYY/MM/DD');
1089
1089
  };
1090
1090
  HelperClass.getMoment = function (i, f) {
1091
1091
  if (i === void 0) { i = null; }
@@ -3039,8 +3039,7 @@
3039
3039
  TableRowComponent.prototype.getCell = function (col) {
3040
3040
  console.log('getCell');
3041
3041
  var cv = _.get(this.row.Data, col.name);
3042
- console.log(cv, col.name);
3043
- if (cv === null || cv === undefined) {
3042
+ if (cv === null) {
3044
3043
  return col.default ? col.default : '';
3045
3044
  }
3046
3045
  else if (col.fun != null) {