@churchillliving/se-ui-toolkit 6.53.12 → 6.53.14
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 +9 -5
- 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 +10 -6
- package/esm2015/lib/components/base/grid/grid.component.ngfactory.js +1 -1
- package/esm2015/lib/components/base/grid/grid.component.ngsummary.json +1 -1
- package/fesm2015/churchillliving-se-ui-toolkit.js +9 -5
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/lib/components/base/grid/grid.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -3267,6 +3267,7 @@
|
|
|
3267
3267
|
this.inEditMode = false;
|
|
3268
3268
|
this.saveRecordArray = [];
|
|
3269
3269
|
this.disabledSaveBtn = false;
|
|
3270
|
+
this.setDialogData = true;
|
|
3270
3271
|
this.editModeChecked = true;
|
|
3271
3272
|
this.editModeunCkecked = false;
|
|
3272
3273
|
this.calendarFormat = 'mm/dd/y';
|
|
@@ -3289,6 +3290,7 @@
|
|
|
3289
3290
|
this.editingRowKeys = {};
|
|
3290
3291
|
// Selects items in the grid based on passed on data
|
|
3291
3292
|
this.selectedRows = [];
|
|
3293
|
+
this.addDataKeyValue = false;
|
|
3292
3294
|
this.globalData = [];
|
|
3293
3295
|
this.sortDisabled = false;
|
|
3294
3296
|
// Stores selected columns
|
|
@@ -3394,10 +3396,6 @@
|
|
|
3394
3396
|
// set the row When adding the new Row on Grid
|
|
3395
3397
|
this.onGridRowAdd = new i0.EventEmitter();
|
|
3396
3398
|
this.isGridHidden = false;
|
|
3397
|
-
/**
|
|
3398
|
-
* open Dialog in grid
|
|
3399
|
-
*/
|
|
3400
|
-
this.setDialogData = true;
|
|
3401
3399
|
}
|
|
3402
3400
|
Object.defineProperty(GridComponent.prototype, "activeTestMode", {
|
|
3403
3401
|
set: function (val) {
|
|
@@ -4050,6 +4048,9 @@
|
|
|
4050
4048
|
this.sortDisabled = true;
|
|
4051
4049
|
this.onGridRowAdd.emit(row);
|
|
4052
4050
|
};
|
|
4051
|
+
/**
|
|
4052
|
+
* open Dialog in grid
|
|
4053
|
+
*/
|
|
4053
4054
|
GridComponent.prototype.openGridDialog = function (column, row) {
|
|
4054
4055
|
var _this = this;
|
|
4055
4056
|
this.onClickEvent(column, row);
|
|
@@ -4536,7 +4537,9 @@
|
|
|
4536
4537
|
this.browserCloseEvent(false);
|
|
4537
4538
|
if (row.isNew) {
|
|
4538
4539
|
var isNew = row.isNew, newRowObj = __rest(row, ["isNew"]);
|
|
4539
|
-
|
|
4540
|
+
if (!this.addDataKeyValue) {
|
|
4541
|
+
delete newRowObj[this.dataKey];
|
|
4542
|
+
}
|
|
4540
4543
|
if (this.saveAllRecord) {
|
|
4541
4544
|
this.saveRecordArray.push(newRowObj);
|
|
4542
4545
|
}
|
|
@@ -5450,6 +5453,7 @@
|
|
|
5450
5453
|
activeTestMode: [{ type: i0.Input }],
|
|
5451
5454
|
table: [{ type: i0.ViewChild, args: ['dt',] }],
|
|
5452
5455
|
selectedRows: [{ type: i0.Input }],
|
|
5456
|
+
addDataKeyValue: [{ type: i0.Input }],
|
|
5453
5457
|
horizontalScroll: [{ type: i0.Input }],
|
|
5454
5458
|
loading: [{ type: i0.Input }],
|
|
5455
5459
|
autoLoadData: [{ type: i0.Input }],
|