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.
- package/bundles/ps-toolkit-ui.umd.js +3 -4
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/helper.class.js +3 -3
- package/esm2015/lib/components/table/row/table.row.component.js +2 -3
- package/fesm2015/ps-toolkit-ui.js +3 -4
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/helper.class.d.ts +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -1084,8 +1084,8 @@
|
|
|
1084
1084
|
HelperClass.getNow = function () {
|
|
1085
1085
|
return moment.now();
|
|
1086
1086
|
};
|
|
1087
|
-
HelperClass.
|
|
1088
|
-
return HelperClass.getMoment().add(amount, unit).
|
|
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
|
-
|
|
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) {
|