@churchillliving/se-ui-toolkit 6.53.12 → 6.53.13
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 -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 +10 -5
- 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 -4
- 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);
|
|
@@ -4535,6 +4536,9 @@
|
|
|
4535
4536
|
this.rowActionEvents(selectedRow);
|
|
4536
4537
|
this.browserCloseEvent(false);
|
|
4537
4538
|
if (row.isNew) {
|
|
4539
|
+
if (this.addDataKeyValue) {
|
|
4540
|
+
row['id'] = selectedRow['id'];
|
|
4541
|
+
}
|
|
4538
4542
|
var isNew = row.isNew, newRowObj = __rest(row, ["isNew"]);
|
|
4539
4543
|
delete newRowObj[this.dataKey];
|
|
4540
4544
|
if (this.saveAllRecord) {
|
|
@@ -5450,6 +5454,7 @@
|
|
|
5450
5454
|
activeTestMode: [{ type: i0.Input }],
|
|
5451
5455
|
table: [{ type: i0.ViewChild, args: ['dt',] }],
|
|
5452
5456
|
selectedRows: [{ type: i0.Input }],
|
|
5457
|
+
addDataKeyValue: [{ type: i0.Input }],
|
|
5453
5458
|
horizontalScroll: [{ type: i0.Input }],
|
|
5454
5459
|
loading: [{ type: i0.Input }],
|
|
5455
5460
|
autoLoadData: [{ type: i0.Input }],
|