@churchillliving/se-ui-toolkit 6.53.121 → 6.53.122
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 -11
- 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 -12
- package/fesm2015/churchillliving-se-ui-toolkit.js +4 -11
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/lib/components/base/grid/grid.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3287,9 +3287,6 @@
|
|
|
3287
3287
|
this.inEditMode = false;
|
|
3288
3288
|
this.saveRecordArray = [];
|
|
3289
3289
|
this.disabledSaveBtn = false;
|
|
3290
|
-
// setDialogData:boolean = true;
|
|
3291
|
-
// setDialogField: string = '';
|
|
3292
|
-
// setDialogRow: any = {};
|
|
3293
3290
|
this.editModeChecked = true;
|
|
3294
3291
|
this.editModeunCkecked = false;
|
|
3295
3292
|
this.calendarFormat = 'mm/dd/y';
|
|
@@ -3381,6 +3378,7 @@
|
|
|
3381
3378
|
// Displays total number of records
|
|
3382
3379
|
this.totalRecords = 0;
|
|
3383
3380
|
this.showconfirmDialog = true;
|
|
3381
|
+
this.saveAlldata = false;
|
|
3384
3382
|
this.columnActions = [];
|
|
3385
3383
|
// Decides the grid's behavior either for client side or server side events
|
|
3386
3384
|
this.useServerSideEvents = false;
|
|
@@ -4096,12 +4094,6 @@
|
|
|
4096
4094
|
setTimeout(function () {
|
|
4097
4095
|
var _a, _b, _c;
|
|
4098
4096
|
_this.rowClickData = row;
|
|
4099
|
-
// column['parentDialogData'] = column.data?.data;
|
|
4100
|
-
// if(this.setDialogData || this.setDialogField !== column.field){
|
|
4101
|
-
// // column['parentDialogData'] = column.data?.data;
|
|
4102
|
-
// this.setDialogData = false;
|
|
4103
|
-
// this.setDialogField = column.field;
|
|
4104
|
-
// }
|
|
4105
4097
|
if (column.data && column.data.data && row[column.field + '_obj']) {
|
|
4106
4098
|
column.data.data = (_a = row[column.field + '_obj']) === null || _a === void 0 ? void 0 : _a.dialogData;
|
|
4107
4099
|
}
|
|
@@ -4541,7 +4533,7 @@
|
|
|
4541
4533
|
newRow[column.field] = (_a = newRow[column.field]) === null || _a === void 0 ? void 0 : _a.value;
|
|
4542
4534
|
row = Object.assign({}, newRow);
|
|
4543
4535
|
}
|
|
4544
|
-
if ((column.allowSave === true || column.allowSave === undefined)) {
|
|
4536
|
+
if ((column.allowSave === true || column.allowSave === undefined || _this.saveAlldata)) {
|
|
4545
4537
|
obj[column.field] = row[column.field];
|
|
4546
4538
|
if (column.type === exports.EGridColumnType.DIALOG &&
|
|
4547
4539
|
((_b = column.filter) === null || _b === void 0 ? void 0 : _b.type) === 'calendar') {
|
|
@@ -4566,7 +4558,7 @@
|
|
|
4566
4558
|
}
|
|
4567
4559
|
}
|
|
4568
4560
|
else if (row.isNew &&
|
|
4569
|
-
(column.allowSave === false || column.editable === false)) {
|
|
4561
|
+
(column.allowSave === false || column.editable === false || !_this.saveAlldata)) {
|
|
4570
4562
|
delete row[column.field];
|
|
4571
4563
|
}
|
|
4572
4564
|
});
|
|
@@ -5557,6 +5549,7 @@
|
|
|
5557
5549
|
showCurrentPageReport: [{ type: i0.Input }],
|
|
5558
5550
|
totalRecords: [{ type: i0.Input }],
|
|
5559
5551
|
showconfirmDialog: [{ type: i0.Input }],
|
|
5552
|
+
saveAlldata: [{ type: i0.Input }],
|
|
5560
5553
|
defaultRows: [{ type: i0.Input }],
|
|
5561
5554
|
columnActions: [{ type: i0.Input }],
|
|
5562
5555
|
useServerSideEvents: [{ type: i0.Input }],
|