@churchillliving/se-ui-toolkit 6.53.13 → 6.53.15
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 -9
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/components/base/grid/grid.component.js +9 -10
- package/fesm2015/churchillliving-se-ui-toolkit.js +8 -9
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -4055,21 +4055,21 @@
|
|
|
4055
4055
|
var _this = this;
|
|
4056
4056
|
this.onClickEvent(column, row);
|
|
4057
4057
|
setTimeout(function () {
|
|
4058
|
-
var _a, _b, _c;
|
|
4058
|
+
var _a, _b, _c, _d;
|
|
4059
4059
|
if (_this.setDialogData) {
|
|
4060
|
-
column['parentDialogData'] = column.data.data;
|
|
4060
|
+
column['parentDialogData'] = (_a = column.data) === null || _a === void 0 ? void 0 : _a.data;
|
|
4061
4061
|
_this.setDialogData = false;
|
|
4062
4062
|
}
|
|
4063
4063
|
if (column.data && column.data.data && row[column.field + '_obj']) {
|
|
4064
|
-
column.data.data = (
|
|
4064
|
+
column.data.data = (_b = row[column.field + '_obj']) === null || _b === void 0 ? void 0 : _b.dialogData;
|
|
4065
4065
|
}
|
|
4066
4066
|
if (column.component && column.data && _this.rowClickData) {
|
|
4067
4067
|
var keys = Object.keys(_this.rowClickData);
|
|
4068
4068
|
column.data.data = autoSetLookupData(column.parentDialogData, _this.rowClickData);
|
|
4069
4069
|
var ref = _this.dialogService.open(column.component, column.data);
|
|
4070
|
-
var componentName = (
|
|
4070
|
+
var componentName = (_c = column.component) === null || _c === void 0 ? void 0 : _c.name;
|
|
4071
4071
|
if (componentName) {
|
|
4072
|
-
_this.pageLoggerService.savePageLoggerInfo((
|
|
4072
|
+
_this.pageLoggerService.savePageLoggerInfo((_d = _this.router.url) === null || _d === void 0 ? void 0 : _d.substring(1), componentName);
|
|
4073
4073
|
}
|
|
4074
4074
|
ref.onClose.subscribe(function (data) {
|
|
4075
4075
|
if (data && column.onReturn) {
|
|
@@ -4536,11 +4536,10 @@
|
|
|
4536
4536
|
this.rowActionEvents(selectedRow);
|
|
4537
4537
|
this.browserCloseEvent(false);
|
|
4538
4538
|
if (row.isNew) {
|
|
4539
|
-
if (this.addDataKeyValue) {
|
|
4540
|
-
row['id'] = selectedRow['id'];
|
|
4541
|
-
}
|
|
4542
4539
|
var isNew = row.isNew, newRowObj = __rest(row, ["isNew"]);
|
|
4543
|
-
|
|
4540
|
+
if (!this.addDataKeyValue) {
|
|
4541
|
+
delete newRowObj[this.dataKey];
|
|
4542
|
+
}
|
|
4544
4543
|
if (this.saveAllRecord) {
|
|
4545
4544
|
this.saveRecordArray.push(newRowObj);
|
|
4546
4545
|
}
|