@churchillliving/se-ui-toolkit 6.52.88 → 6.52.89
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 +8 -2
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/components/base/grid/grid.component.js +9 -3
- package/fesm2015/churchillliving-se-ui-toolkit.js +8 -2
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -3375,7 +3375,7 @@
|
|
|
3375
3375
|
this.onPageChange = new i0.EventEmitter();
|
|
3376
3376
|
// Dispatch output event trigger on edit row
|
|
3377
3377
|
this.onRowUpdate = new i0.EventEmitter();
|
|
3378
|
-
// Dispatch output event trigger
|
|
3378
|
+
// Dispatch output event trigger cancel all rows
|
|
3379
3379
|
this.onCancelAllRows = new i0.EventEmitter();
|
|
3380
3380
|
// Dispatch output event trigger on delete row
|
|
3381
3381
|
this.onRowDelete = new i0.EventEmitter();
|
|
@@ -4516,7 +4516,12 @@
|
|
|
4516
4516
|
if (row.isNew) {
|
|
4517
4517
|
var isNew = row.isNew, newRowObj = __rest(row, ["isNew"]);
|
|
4518
4518
|
delete newRowObj[this.dataKey];
|
|
4519
|
-
this.
|
|
4519
|
+
if (this.saveAllRecord) {
|
|
4520
|
+
this.saveRecordArray.push(newRowObj);
|
|
4521
|
+
}
|
|
4522
|
+
else {
|
|
4523
|
+
this.onRowAdd.emit(newRowObj);
|
|
4524
|
+
}
|
|
4520
4525
|
}
|
|
4521
4526
|
else {
|
|
4522
4527
|
if (this.saveAllRecord) {
|
|
@@ -5283,6 +5288,7 @@
|
|
|
5283
5288
|
finally { if (e_2) throw e_2.error; }
|
|
5284
5289
|
}
|
|
5285
5290
|
Promise.all(records$_1).then(function (response) {
|
|
5291
|
+
console.log("AAAA");
|
|
5286
5292
|
_this.onRowUpdate.emit(_this.saveRecordArray);
|
|
5287
5293
|
_this.saveRecordArray = [];
|
|
5288
5294
|
});
|