@sd-angular/core 1.1.30 → 1.1.31
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/sd-angular-core-grid-material.umd.js +25 -3
- package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
- package/esm2015/grid-material/src/lib/pipes/editor-handler-column.pipe.js +26 -4
- package/fesm2015/sd-angular-core-grid-material.js +25 -3
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/package.json +1 -1
- package/{sd-angular-core-1.1.30.tgz → sd-angular-core-1.1.31.tgz} +0 -0
|
@@ -4046,8 +4046,16 @@
|
|
|
4046
4046
|
if (column.type === 'children' || column.type === 'children-col') {
|
|
4047
4047
|
return;
|
|
4048
4048
|
}
|
|
4049
|
+
var sdId = item.sdId, editorHandlerColumn = item.editorHandlerColumn, expandDetail = item.expandDetail, isExpanded = item.isExpanded, isExpanding = item.isExpanding, isSelected = item.isSelected, sdGroup = item.sdGroup, selectable = item.selectable, actions = item.actions, editorHandlerRow = item.editorHandlerRow, groupedActions = item.groupedActions, originItem = item.originItem, editorErrorMessage = item.editorErrorMessage, remain = __rest(item, ["sdId", "editorHandlerColumn", "expandDetail", "isExpanded", "isExpanding", "isSelected", "sdGroup", "selectable", "actions", "editorHandlerRow", "groupedActions", "originItem", "editorErrorMessage"]);
|
|
4050
|
+
var key = hash__default['default'](remain);
|
|
4051
|
+
if (item.sdId === sdId) {
|
|
4052
|
+
return;
|
|
4053
|
+
}
|
|
4049
4054
|
item.editorHandlerColumn = item.editorHandlerColumn || {};
|
|
4050
|
-
item.editorHandlerColumn[column.field] =
|
|
4055
|
+
// item.editorHandlerColumn[column.field] = {
|
|
4056
|
+
// ...item.editorHandlerColumn[column.field],
|
|
4057
|
+
// visible: this.#visible(column, item)
|
|
4058
|
+
// }
|
|
4051
4059
|
var columns = gridOption.columns;
|
|
4052
4060
|
try {
|
|
4053
4061
|
for (var columns_1 = __values(columns), columns_1_1 = columns_1.next(); !columns_1_1.done; columns_1_1 = columns_1.next()) {
|
|
@@ -4063,8 +4071,22 @@
|
|
|
4063
4071
|
finally { if (e_1) throw e_1.error; }
|
|
4064
4072
|
}
|
|
4065
4073
|
// const { sdId, editorHandlerColumn, ...remain } = item;
|
|
4066
|
-
|
|
4067
|
-
|
|
4074
|
+
// const {
|
|
4075
|
+
// sdId,
|
|
4076
|
+
// editorHandlerColumn,
|
|
4077
|
+
// expandDetail,
|
|
4078
|
+
// isExpanded,
|
|
4079
|
+
// isExpanding,
|
|
4080
|
+
// isSelected,
|
|
4081
|
+
// sdGroup,
|
|
4082
|
+
// selectable,
|
|
4083
|
+
// actions,
|
|
4084
|
+
// editorHandlerRow,
|
|
4085
|
+
// groupedActions,
|
|
4086
|
+
// originItem,
|
|
4087
|
+
// editorErrorMessage,
|
|
4088
|
+
// ...remain } = item;
|
|
4089
|
+
item.sdId = sdId;
|
|
4068
4090
|
return true;
|
|
4069
4091
|
};
|
|
4070
4092
|
return SdEditorHandlerColumnPipe;
|