@ibiz-template/runtime 0.3.6-dev.0 → 0.4.0

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/dist/index.esm.js CHANGED
@@ -6425,7 +6425,9 @@ var MethodDto = class _MethodDto {
6425
6425
  }
6426
6426
  case "DTOS": {
6427
6427
  if (field.listMap) {
6428
- params[key] = data[key] && data[key].length > 0 ? this.convertArrayToListMap(data[key]) : null;
6428
+ if (data[key]) {
6429
+ params[key] = data[key].length === 0 ? null : this.convertArrayToListMap(data[key]);
6430
+ }
6429
6431
  } else {
6430
6432
  if (data[key] !== void 0) {
6431
6433
  break;
@@ -21129,7 +21131,7 @@ var GridController = class extends MDControlController {
21129
21131
  this.providers[column.codeName] = provider;
21130
21132
  const controller = await provider.createController(column, this);
21131
21133
  this.columns[column.codeName] = controller;
21132
- if (column.columnType === "DEFGRIDCOLUMN") {
21134
+ if (column.columnType === "DEFGRIDCOLUMN" || column.columnType === "DEFTREEGRIDCOLUMN") {
21133
21135
  this.fieldColumns[column.codeName] = controller;
21134
21136
  if (column.enableRowEdit) {
21135
21137
  this.editColumns[column.codeName] = controller;