wargerm 0.7.66 → 0.7.67

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
@@ -7094,6 +7094,15 @@ var TabelCard = function TabelCard(props, ref) {
7094
7094
  if (item.hiddenInModalForm || item.hideInModalForm) {
7095
7095
  return false;
7096
7096
  }
7097
+ if (item.type === 'group') {
7098
+ var _item$children;
7099
+ item.children = (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.filter(function (itm) {
7100
+ if (itm.hiddenInModalForm || itm.hideInModalForm) {
7101
+ return false;
7102
+ }
7103
+ return true;
7104
+ });
7105
+ }
7097
7106
  if (item.onlyShowInView) {
7098
7107
  if (modalFormConfig.type === '查看') {
7099
7108
  return true;
@@ -7105,8 +7114,8 @@ var TabelCard = function TabelCard(props, ref) {
7105
7114
  }).map(function (item) {
7106
7115
  var _item$renderColumn;
7107
7116
  if (item.type === 'group') {
7108
- var _item$children;
7109
- item.children = (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.map(function (itm) {
7117
+ var _item$children2;
7118
+ item.children = (_item$children2 = item.children) === null || _item$children2 === void 0 ? void 0 : _item$children2.map(function (itm) {
7110
7119
  var _itm$renderColumn;
7111
7120
  return (itm === null || itm === void 0 ? void 0 : (_itm$renderColumn = itm.renderColumn) === null || _itm$renderColumn === void 0 ? void 0 : _itm$renderColumn.call(itm, itm, modalFormConfig)) || itm;
7112
7121
  });
@@ -7117,6 +7126,15 @@ var TabelCard = function TabelCard(props, ref) {
7117
7126
  if (item.hiddenInModalForm || item.hideInModalForm) {
7118
7127
  return false;
7119
7128
  }
7129
+ if (item.type === 'group') {
7130
+ var _item$children3;
7131
+ item.children = (_item$children3 = item.children) === null || _item$children3 === void 0 ? void 0 : _item$children3.filter(function (itm) {
7132
+ if (itm.hiddenInModalForm || itm.hideInModalForm) {
7133
+ return false;
7134
+ }
7135
+ return true;
7136
+ });
7137
+ }
7120
7138
  if (item.onlyShowInView) {
7121
7139
  if (modalFormConfig.type === '查看') {
7122
7140
  return true;
@@ -7128,8 +7146,8 @@ var TabelCard = function TabelCard(props, ref) {
7128
7146
  }).map(function (item) {
7129
7147
  var _item$renderColumn2;
7130
7148
  if (item.type === 'group') {
7131
- var _item$children2;
7132
- item.children = (_item$children2 = item.children) === null || _item$children2 === void 0 ? void 0 : _item$children2.map(function (itm) {
7149
+ var _item$children4;
7150
+ item.children = (_item$children4 = item.children) === null || _item$children4 === void 0 ? void 0 : _item$children4.map(function (itm) {
7133
7151
  var _itm$renderColumn2;
7134
7152
  return (itm === null || itm === void 0 ? void 0 : (_itm$renderColumn2 = itm.renderColumn) === null || _itm$renderColumn2 === void 0 ? void 0 : _itm$renderColumn2.call(itm, itm, modalFormConfig)) || itm;
7135
7153
  });
package/dist/index.js CHANGED
@@ -7138,6 +7138,15 @@ var TabelCard = function TabelCard(props, ref) {
7138
7138
  if (item.hiddenInModalForm || item.hideInModalForm) {
7139
7139
  return false;
7140
7140
  }
7141
+ if (item.type === 'group') {
7142
+ var _item$children;
7143
+ item.children = (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.filter(function (itm) {
7144
+ if (itm.hiddenInModalForm || itm.hideInModalForm) {
7145
+ return false;
7146
+ }
7147
+ return true;
7148
+ });
7149
+ }
7141
7150
  if (item.onlyShowInView) {
7142
7151
  if (modalFormConfig.type === '查看') {
7143
7152
  return true;
@@ -7149,8 +7158,8 @@ var TabelCard = function TabelCard(props, ref) {
7149
7158
  }).map(function (item) {
7150
7159
  var _item$renderColumn;
7151
7160
  if (item.type === 'group') {
7152
- var _item$children;
7153
- item.children = (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.map(function (itm) {
7161
+ var _item$children2;
7162
+ item.children = (_item$children2 = item.children) === null || _item$children2 === void 0 ? void 0 : _item$children2.map(function (itm) {
7154
7163
  var _itm$renderColumn;
7155
7164
  return (itm === null || itm === void 0 ? void 0 : (_itm$renderColumn = itm.renderColumn) === null || _itm$renderColumn === void 0 ? void 0 : _itm$renderColumn.call(itm, itm, modalFormConfig)) || itm;
7156
7165
  });
@@ -7161,6 +7170,15 @@ var TabelCard = function TabelCard(props, ref) {
7161
7170
  if (item.hiddenInModalForm || item.hideInModalForm) {
7162
7171
  return false;
7163
7172
  }
7173
+ if (item.type === 'group') {
7174
+ var _item$children3;
7175
+ item.children = (_item$children3 = item.children) === null || _item$children3 === void 0 ? void 0 : _item$children3.filter(function (itm) {
7176
+ if (itm.hiddenInModalForm || itm.hideInModalForm) {
7177
+ return false;
7178
+ }
7179
+ return true;
7180
+ });
7181
+ }
7164
7182
  if (item.onlyShowInView) {
7165
7183
  if (modalFormConfig.type === '查看') {
7166
7184
  return true;
@@ -7172,8 +7190,8 @@ var TabelCard = function TabelCard(props, ref) {
7172
7190
  }).map(function (item) {
7173
7191
  var _item$renderColumn2;
7174
7192
  if (item.type === 'group') {
7175
- var _item$children2;
7176
- item.children = (_item$children2 = item.children) === null || _item$children2 === void 0 ? void 0 : _item$children2.map(function (itm) {
7193
+ var _item$children4;
7194
+ item.children = (_item$children4 = item.children) === null || _item$children4 === void 0 ? void 0 : _item$children4.map(function (itm) {
7177
7195
  var _itm$renderColumn2;
7178
7196
  return (itm === null || itm === void 0 ? void 0 : (_itm$renderColumn2 = itm.renderColumn) === null || _itm$renderColumn2 === void 0 ? void 0 : _itm$renderColumn2.call(itm, itm, modalFormConfig)) || itm;
7179
7197
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "wargerm",
4
- "version": "0.7.66",
4
+ "version": "0.7.67",
5
5
  "scripts": {
6
6
  "dev": "dumi dev",
7
7
  "docs:build": "dumi build",