ps-toolkit-ui 1.11.31 → 1.11.33

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.
@@ -1085,6 +1085,8 @@
1085
1085
  return moment.now();
1086
1086
  };
1087
1087
  HelperClass.getInputDate = function (amount, unit) {
1088
+ if (amount === void 0) { amount = 0; }
1089
+ if (unit === void 0) { unit = 'month'; }
1088
1090
  return HelperClass.getMoment().add(amount, unit).locale('en').format('YYYY/MM/DD');
1089
1091
  };
1090
1092
  HelperClass.getMoment = function (i, f) {