@churchillliving/se-ui-toolkit 6.52.85 → 6.52.87
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/churchillliving-se-ui-toolkit.umd.js +11 -4
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/components/base/grid/grid.component.js +12 -5
- package/fesm2015/churchillliving-se-ui-toolkit.js +11 -4
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -4111,13 +4111,13 @@
|
|
|
4111
4111
|
var format = '';
|
|
4112
4112
|
if (column.format) {
|
|
4113
4113
|
if (column.format === exports.EGridFormatType.SMALLDATE) {
|
|
4114
|
-
format = 'MM/dd/
|
|
4114
|
+
format = 'MM/dd/yy';
|
|
4115
4115
|
}
|
|
4116
4116
|
else if (column.format === exports.EGridFormatType.SHORTDATE) {
|
|
4117
|
-
format = 'MM/dd/
|
|
4117
|
+
format = 'MM/dd/yyyy';
|
|
4118
4118
|
}
|
|
4119
4119
|
}
|
|
4120
|
-
value = this.datePipe.transform((newValue === null || newValue === void 0 ? void 0 : newValue.toString()) === "Invalid Date" ? null : newValue, format ? format : 'MM/dd/
|
|
4120
|
+
value = this.datePipe.transform((newValue === null || newValue === void 0 ? void 0 : newValue.toString()) === "Invalid Date" ? null : newValue, format ? format : 'MM/dd/yy');
|
|
4121
4121
|
}
|
|
4122
4122
|
}
|
|
4123
4123
|
}
|
|
@@ -4511,7 +4511,12 @@
|
|
|
4511
4511
|
if (row.isNew) {
|
|
4512
4512
|
var isNew = row.isNew, newRowObj = __rest(row, ["isNew"]);
|
|
4513
4513
|
delete newRowObj[this.dataKey];
|
|
4514
|
-
this.
|
|
4514
|
+
if (this.saveAllRecord) {
|
|
4515
|
+
this.saveRecordArray.push(newRowObj);
|
|
4516
|
+
}
|
|
4517
|
+
else {
|
|
4518
|
+
this.onRowAdd.emit(newRowObj);
|
|
4519
|
+
}
|
|
4515
4520
|
}
|
|
4516
4521
|
else {
|
|
4517
4522
|
if (this.saveAllRecord) {
|
|
@@ -5287,6 +5292,7 @@
|
|
|
5287
5292
|
finally { if (e_2) throw e_2.error; }
|
|
5288
5293
|
}
|
|
5289
5294
|
Promise.all(records$_1).then(function (response) {
|
|
5295
|
+
console.log("AAAA");
|
|
5290
5296
|
_this.onRowUpdate.emit(_this.saveRecordArray);
|
|
5291
5297
|
_this.saveRecordArray = [];
|
|
5292
5298
|
});
|
|
@@ -5392,6 +5398,7 @@
|
|
|
5392
5398
|
_this.calendarFormat = 'mm/dd/y';
|
|
5393
5399
|
}
|
|
5394
5400
|
});
|
|
5401
|
+
// console.log("AAA",this.calendarFormat);
|
|
5395
5402
|
};
|
|
5396
5403
|
return GridComponent;
|
|
5397
5404
|
}());
|