@churchillliving/se-ui-toolkit 6.53.122 → 6.53.123
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 +4 -4
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/churchillliving-se-ui-toolkit.metadata.json +1 -1
- package/esm2015/lib/components/base/grid/grid.component.js +5 -5
- package/fesm2015/churchillliving-se-ui-toolkit.js +4 -4
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/lib/components/base/grid/grid.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3378,7 +3378,7 @@
|
|
|
3378
3378
|
// Displays total number of records
|
|
3379
3379
|
this.totalRecords = 0;
|
|
3380
3380
|
this.showconfirmDialog = true;
|
|
3381
|
-
this.
|
|
3381
|
+
this.saveAllData = false;
|
|
3382
3382
|
this.columnActions = [];
|
|
3383
3383
|
// Decides the grid's behavior either for client side or server side events
|
|
3384
3384
|
this.useServerSideEvents = false;
|
|
@@ -4533,7 +4533,7 @@
|
|
|
4533
4533
|
newRow[column.field] = (_a = newRow[column.field]) === null || _a === void 0 ? void 0 : _a.value;
|
|
4534
4534
|
row = Object.assign({}, newRow);
|
|
4535
4535
|
}
|
|
4536
|
-
if ((column.allowSave === true || column.allowSave === undefined || _this.
|
|
4536
|
+
if ((column.allowSave === true || column.allowSave === undefined || _this.saveAllData)) {
|
|
4537
4537
|
obj[column.field] = row[column.field];
|
|
4538
4538
|
if (column.type === exports.EGridColumnType.DIALOG &&
|
|
4539
4539
|
((_b = column.filter) === null || _b === void 0 ? void 0 : _b.type) === 'calendar') {
|
|
@@ -4558,7 +4558,7 @@
|
|
|
4558
4558
|
}
|
|
4559
4559
|
}
|
|
4560
4560
|
else if (row.isNew &&
|
|
4561
|
-
(column.allowSave === false || column.editable === false || !_this.
|
|
4561
|
+
(column.allowSave === false || column.editable === false || !_this.saveAllData)) {
|
|
4562
4562
|
delete row[column.field];
|
|
4563
4563
|
}
|
|
4564
4564
|
});
|
|
@@ -5549,7 +5549,7 @@
|
|
|
5549
5549
|
showCurrentPageReport: [{ type: i0.Input }],
|
|
5550
5550
|
totalRecords: [{ type: i0.Input }],
|
|
5551
5551
|
showconfirmDialog: [{ type: i0.Input }],
|
|
5552
|
-
|
|
5552
|
+
saveAllData: [{ type: i0.Input }],
|
|
5553
5553
|
defaultRows: [{ type: i0.Input }],
|
|
5554
5554
|
columnActions: [{ type: i0.Input }],
|
|
5555
5555
|
useServerSideEvents: [{ type: i0.Input }],
|