@zat-design/sisyphus-react 3.4.2 → 3.4.3

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.
Files changed (204) hide show
  1. package/dist/index.esm.css +286 -240
  2. package/dist/less.esm.css +5022 -0
  3. package/dist/less.esm.js +3 -0
  4. package/es/ProConfigProvider/index.js +2 -1
  5. package/es/ProEditLabel/style/index.less +1 -1
  6. package/es/ProEditTable/components/RenderField/index.js +28 -20
  7. package/es/ProEditTable/index.js +3 -3
  8. package/es/ProEditTable/propsType.d.ts +1 -1
  9. package/es/ProEditTable/style/index.less +1 -1
  10. package/es/ProEditTable/utils/config.js +5 -5
  11. package/es/ProEditTable/utils/index.js +67 -30
  12. package/es/ProEditTable/utils/tools.js +3 -1
  13. package/es/ProEnum/components/Group.d.ts +2 -0
  14. package/es/ProEnum/components/Group.js +26 -8
  15. package/es/ProEnum/index.js +4 -3
  16. package/es/ProEnum/style/index.less +12 -3
  17. package/es/ProForm/components/base/DatePicker/index.js +2 -2
  18. package/es/ProForm/components/combination/FormList/index.js +6 -3
  19. package/es/ProForm/components/combination/FormList/utils.d.ts +2 -1
  20. package/es/ProForm/components/combination/FormList/utils.js +5 -3
  21. package/es/ProForm/components/combination/Group/index.js +28 -15
  22. package/es/ProForm/components/combination/Group/propsType.d.ts +6 -0
  23. package/es/ProForm/components/combination/Group/style/index.less +4 -4
  24. package/es/ProForm/components/combination/Group/utils.d.ts +2 -0
  25. package/es/ProForm/components/combination/Group/utils.js +10 -0
  26. package/es/ProForm/components/combination/ProTimeLimit/index.js +8 -2
  27. package/es/ProForm/components/combination/ProTimeLimit/style/index.less +1 -1
  28. package/es/ProForm/components/index.d.ts +0 -1
  29. package/es/ProForm/components/index.js +1 -1
  30. package/es/ProForm/components/render/ConfirmWrapper.js +1 -1
  31. package/es/ProForm/components/render/Render.js +21 -13
  32. package/es/ProForm/components/render/RenderFields.d.ts +2 -1
  33. package/es/ProForm/components/render/RenderFields.js +7 -3
  34. package/es/ProForm/components/render/propsType.d.ts +1 -4
  35. package/es/ProForm/index.js +8 -6
  36. package/es/ProForm/propsType.d.ts +5 -1
  37. package/es/ProForm/style/index.less +17 -13
  38. package/es/ProForm/utils/{contrastOriginal.d.ts → diffOriginal.d.ts} +2 -1
  39. package/es/ProForm/utils/diffOriginal.js +61 -0
  40. package/es/ProForm/utils/index.d.ts +1 -1
  41. package/es/ProForm/utils/index.js +1 -1
  42. package/es/ProForm/utils/transformNames.d.ts +1 -1
  43. package/es/ProForm/utils/transformNames.js +11 -4
  44. package/es/ProForm/utils/transformValue.js +2 -2
  45. package/es/ProForm/utils/useChanged.js +4 -3
  46. package/es/ProForm/utils/useListChanged.d.ts +1 -1
  47. package/es/ProForm/utils/useListChanged.js +5 -3
  48. package/es/ProForm/utils/valueType.d.ts +10 -5
  49. package/es/ProForm/utils/valueType.js +20 -10
  50. package/es/ProIcon/config/index.d.ts +2 -1
  51. package/es/ProIcon/config/index.js +191 -133
  52. package/es/ProIcon/index.d.ts +0 -1
  53. package/es/ProIcon/index.js +21 -36
  54. package/es/ProIcon/propsTypes.d.ts +2 -1
  55. package/es/ProLayout/components/Layout/Header/style/index.less +1 -1
  56. package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +58 -55
  57. package/es/ProLayout/components/Layout/Menu/SideMenu/style/index.less +25 -20
  58. package/es/ProLayout/components/Layout/Menu/style/index.less +52 -56
  59. package/es/ProLayout/components/ProCollapse/PropTypes.d.ts +5 -0
  60. package/es/ProLayout/components/ProCollapse/index.js +22 -3
  61. package/es/ProLayout/components/ProCollapse/style/index.less +29 -11
  62. package/es/ProLayout/components/ProFooter/index.js +1 -1
  63. package/es/ProLayout/components/ProFooter/style/index.less +1 -1
  64. package/es/ProLayout/components/ProHeader/style/index.less +6 -5
  65. package/es/ProLayout/style/index.less +176 -88
  66. package/es/ProStep/components/Item/index.js +2 -1
  67. package/es/ProStep/style/index.less +71 -70
  68. package/es/ProTable/components/RenderColumn/index.d.ts +1 -1
  69. package/es/ProTable/components/RenderColumn/index.js +3 -3
  70. package/es/ProTable/propsType.d.ts +1 -1
  71. package/es/ProTable/style/index.less +2 -2
  72. package/es/ProTable/utils.js +9 -9
  73. package/es/ProTabs/style/index.less +3 -1
  74. package/es/ProThemeTools/component/PrdTools/index.d.ts +1 -1
  75. package/es/ProThemeTools/component/PrdTools/index.js +2 -2
  76. package/es/ProThemeTools/component/PrdTools/style/index.less +1 -1
  77. package/es/ProThemeTools/index.js +21 -28
  78. package/es/ProThemeTools/propsType.d.ts +1 -1
  79. package/es/ProThemeTools/style/index.less +25 -8
  80. package/es/{ProTreeSelect → ProTree/components/ProTreeSelect}/index.js +7 -11
  81. package/es/{ProTreeSelect → ProTree/components/ProTreeSelect}/propsType.d.ts +1 -1
  82. package/es/ProTree/index.js +1 -1
  83. package/es/ProTreeModal/style/index.less +2 -2
  84. package/es/ProUpload/style/fileItem.less +2 -2
  85. package/es/ProUpload/style/index.less +2 -2
  86. package/es/assets/catalog.svg +30 -1
  87. package/es/assets/fold.svg +27 -0
  88. package/es/assets/setting.svg +14 -0
  89. package/es/locale/en_US.d.ts +3 -0
  90. package/es/locale/en_US.js +3 -0
  91. package/es/locale/zh_CN.d.ts +3 -0
  92. package/es/locale/zh_CN.js +3 -0
  93. package/es/style/components.less +0 -1
  94. package/es/style/less.less +2 -0
  95. package/es/style/theme/antd.less +1 -2
  96. package/es/style/theme/index.less +2 -2
  97. package/es/style/theme/tokens.less +2 -2
  98. package/es/tokens.js +2 -2
  99. package/lib/ProConfigProvider/index.js +2 -1
  100. package/lib/ProEditLabel/style/index.less +1 -1
  101. package/lib/ProEditTable/components/RenderField/index.js +27 -19
  102. package/lib/ProEditTable/index.js +3 -3
  103. package/lib/ProEditTable/propsType.d.ts +1 -1
  104. package/lib/ProEditTable/style/index.less +1 -1
  105. package/lib/ProEditTable/utils/config.js +5 -5
  106. package/lib/ProEditTable/utils/index.js +67 -30
  107. package/lib/ProEditTable/utils/tools.js +3 -1
  108. package/lib/ProEnum/components/Group.d.ts +2 -0
  109. package/lib/ProEnum/components/Group.js +26 -8
  110. package/lib/ProEnum/index.js +4 -3
  111. package/lib/ProEnum/style/index.less +12 -3
  112. package/lib/ProForm/components/base/DatePicker/index.js +1 -1
  113. package/lib/ProForm/components/combination/FormList/index.js +6 -3
  114. package/lib/ProForm/components/combination/FormList/utils.d.ts +2 -1
  115. package/lib/ProForm/components/combination/FormList/utils.js +5 -3
  116. package/lib/ProForm/components/combination/Group/index.js +25 -12
  117. package/lib/ProForm/components/combination/Group/propsType.d.ts +6 -0
  118. package/lib/ProForm/components/combination/Group/style/index.less +4 -4
  119. package/lib/ProForm/components/combination/Group/utils.d.ts +2 -0
  120. package/lib/ProForm/components/combination/Group/utils.js +11 -1
  121. package/lib/ProForm/components/combination/ProTimeLimit/index.js +7 -1
  122. package/lib/ProForm/components/combination/ProTimeLimit/style/index.less +1 -1
  123. package/lib/ProForm/components/index.d.ts +0 -1
  124. package/lib/ProForm/components/index.js +0 -7
  125. package/lib/ProForm/components/render/ConfirmWrapper.js +1 -1
  126. package/lib/ProForm/components/render/Render.js +21 -13
  127. package/lib/ProForm/components/render/RenderFields.d.ts +2 -1
  128. package/lib/ProForm/components/render/RenderFields.js +7 -3
  129. package/lib/ProForm/components/render/propsType.d.ts +1 -4
  130. package/lib/ProForm/index.js +7 -5
  131. package/lib/ProForm/propsType.d.ts +5 -1
  132. package/lib/ProForm/style/index.less +17 -13
  133. package/lib/ProForm/utils/{contrastOriginal.d.ts → diffOriginal.d.ts} +2 -1
  134. package/lib/ProForm/utils/diffOriginal.js +68 -0
  135. package/lib/ProForm/utils/index.d.ts +1 -1
  136. package/lib/ProForm/utils/index.js +2 -2
  137. package/lib/ProForm/utils/transformNames.d.ts +1 -1
  138. package/lib/ProForm/utils/transformNames.js +10 -3
  139. package/lib/ProForm/utils/transformValue.js +1 -1
  140. package/lib/ProForm/utils/useChanged.js +4 -3
  141. package/lib/ProForm/utils/useListChanged.d.ts +1 -1
  142. package/lib/ProForm/utils/useListChanged.js +5 -3
  143. package/lib/ProForm/utils/valueType.d.ts +10 -5
  144. package/lib/ProForm/utils/valueType.js +20 -10
  145. package/lib/ProIcon/config/index.d.ts +2 -1
  146. package/lib/ProIcon/config/index.js +191 -133
  147. package/lib/ProIcon/index.d.ts +0 -1
  148. package/lib/ProIcon/index.js +21 -37
  149. package/lib/ProIcon/propsTypes.d.ts +2 -1
  150. package/lib/ProLayout/components/Layout/Header/style/index.less +1 -1
  151. package/lib/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +58 -55
  152. package/lib/ProLayout/components/Layout/Menu/SideMenu/style/index.less +25 -20
  153. package/lib/ProLayout/components/Layout/Menu/style/index.less +52 -56
  154. package/lib/ProLayout/components/ProCollapse/PropTypes.d.ts +5 -0
  155. package/lib/ProLayout/components/ProCollapse/index.js +20 -3
  156. package/lib/ProLayout/components/ProCollapse/style/index.less +29 -11
  157. package/lib/ProLayout/components/ProFooter/index.js +1 -1
  158. package/lib/ProLayout/components/ProFooter/style/index.less +1 -1
  159. package/lib/ProLayout/components/ProHeader/style/index.less +6 -5
  160. package/lib/ProLayout/style/index.less +176 -88
  161. package/lib/ProStep/components/Item/index.js +2 -1
  162. package/lib/ProStep/style/index.less +71 -70
  163. package/lib/ProTable/components/RenderColumn/index.d.ts +1 -1
  164. package/lib/ProTable/components/RenderColumn/index.js +3 -3
  165. package/lib/ProTable/propsType.d.ts +1 -1
  166. package/lib/ProTable/style/index.less +2 -2
  167. package/lib/ProTable/utils.js +9 -9
  168. package/lib/ProTabs/style/index.less +3 -1
  169. package/lib/ProThemeTools/component/PrdTools/index.d.ts +1 -1
  170. package/lib/ProThemeTools/component/PrdTools/index.js +2 -2
  171. package/lib/ProThemeTools/component/PrdTools/style/index.less +1 -1
  172. package/lib/ProThemeTools/index.js +19 -27
  173. package/lib/ProThemeTools/propsType.d.ts +1 -1
  174. package/lib/ProThemeTools/style/index.less +25 -8
  175. package/lib/{ProTreeSelect → ProTree/components/ProTreeSelect}/index.js +7 -11
  176. package/lib/{ProTreeSelect → ProTree/components/ProTreeSelect}/propsType.d.ts +1 -1
  177. package/lib/ProTree/index.js +1 -1
  178. package/lib/ProTreeModal/style/index.less +2 -2
  179. package/lib/ProUpload/style/fileItem.less +2 -2
  180. package/lib/ProUpload/style/index.less +2 -2
  181. package/lib/assets/catalog.svg +30 -1
  182. package/lib/assets/fold.svg +27 -0
  183. package/lib/assets/setting.svg +14 -0
  184. package/lib/locale/en_US.d.ts +3 -0
  185. package/lib/locale/en_US.js +3 -0
  186. package/lib/locale/zh_CN.d.ts +3 -0
  187. package/lib/locale/zh_CN.js +3 -0
  188. package/lib/style/components.less +0 -1
  189. package/lib/style/less.less +2 -0
  190. package/lib/style/theme/antd.less +1 -2
  191. package/lib/style/theme/index.less +2 -2
  192. package/lib/style/theme/tokens.less +2 -2
  193. package/lib/tokens.js +2 -2
  194. package/package.json +1 -1
  195. package/es/ProForm/utils/contrastOriginal.js +0 -24
  196. package/es/ProIcon/symbolIcon.js +0 -43
  197. package/lib/ProForm/utils/contrastOriginal.js +0 -30
  198. package/lib/ProIcon/symbolIcon.js +0 -45
  199. /package/es/{ProTreeSelect → ProTree/components/ProTreeSelect}/index.d.ts +0 -0
  200. /package/es/{ProTreeSelect → ProTree/components/ProTreeSelect}/propsType.js +0 -0
  201. /package/es/{ProTreeSelect → ProTree/components/ProTreeSelect}/style/index.less +0 -0
  202. /package/lib/{ProTreeSelect → ProTree/components/ProTreeSelect}/index.d.ts +0 -0
  203. /package/lib/{ProTreeSelect → ProTree/components/ProTreeSelect}/propsType.js +0 -0
  204. /package/lib/{ProTreeSelect → ProTree/components/ProTreeSelect}/style/index.less +0 -0
@@ -2,6 +2,8 @@ import { ProEnum } from '../propsType';
2
2
  interface Props extends Pick<ProEnum, 'value' | 'onChange' | 'dataSource'> {
3
3
  fieldValue: string;
4
4
  fieldLabel: string;
5
+ disabled?: boolean;
6
+ allowClear?: boolean;
5
7
  }
6
8
  declare const Group: (props: Props) => JSX.Element;
7
9
  export default Group;
@@ -15,7 +15,10 @@ var Group = function Group(props) {
15
15
  onChange = props.onChange,
16
16
  dataSource = props.dataSource,
17
17
  fieldValue = props.fieldValue,
18
- fieldLabel = props.fieldLabel;
18
+ fieldLabel = props.fieldLabel,
19
+ disabled = props.disabled,
20
+ _props$allowClear = props.allowClear,
21
+ allowClear = _props$allowClear === void 0 ? true : _props$allowClear;
19
22
  var idx = (0, _react.useRef)(-1);
20
23
  var _useSetState = (0, _ahooks.useSetState)({
21
24
  checked: ''
@@ -27,13 +30,28 @@ var Group = function Group(props) {
27
30
  setState({
28
31
  checked: value
29
32
  });
30
- }, [value]);
31
- var handleClick = function handleClick(val, index) {
32
- setState({
33
- checked: val
33
+ var index = dataSource.findIndex(function (item) {
34
+ return item[fieldValue] === value;
34
35
  });
35
36
  idx.current = index;
36
- onChange === null || onChange === void 0 ? void 0 : onChange(val);
37
+ }, [value]);
38
+ var handleClick = function handleClick(val, index) {
39
+ if (state.checked === val) {
40
+ if (!allowClear) {
41
+ return false;
42
+ }
43
+ setState({
44
+ checked: ''
45
+ });
46
+ onChange === null || onChange === void 0 ? void 0 : onChange('');
47
+ idx.current = -1;
48
+ } else {
49
+ setState({
50
+ checked: val
51
+ });
52
+ idx.current = index;
53
+ onChange === null || onChange === void 0 ? void 0 : onChange(val);
54
+ }
37
55
  };
38
56
  if (dataSource.length === 0) {
39
57
  return (0, _jsxRuntime.jsx)("span", {
@@ -41,11 +59,11 @@ var Group = function Group(props) {
41
59
  });
42
60
  }
43
61
  return (0, _jsxRuntime.jsx)("div", {
44
- className: "pro-enum-group-root",
62
+ className: (0, _classnames.default)('pro-enum-group-root', disabled ? 'pro-enum-group-root-disabled' : ''),
45
63
  children: dataSource.map(function (item, index) {
46
64
  return (0, _jsxRuntime.jsx)("div", {
47
65
  onClick: function onClick() {
48
- if (!item.disabled) {
66
+ if (!item.disabled && !disabled) {
49
67
  handleClick(item[fieldValue], index);
50
68
  }
51
69
  },
@@ -42,7 +42,8 @@ var ProEnum = function ProEnum(props) {
42
42
  enumProps = (0, _objectWithoutProperties2.default)(props, _excluded);
43
43
  var _ref = otherProps || {},
44
44
  isView = _ref.isView,
45
- viewEmpty = _ref.viewEmpty;
45
+ viewEmpty = _ref.viewEmpty,
46
+ disabled = _ref.disabled;
46
47
  var _ref2 = (0, _ProConfigProvider.useProConfig)('ProEnum') || {},
47
48
  fieldNames = _ref2.fieldNames,
48
49
  _ref2$clear = _ref2.clear,
@@ -208,13 +209,13 @@ var ProEnum = function ProEnum(props) {
208
209
  dataSource: list
209
210
  });
210
211
  case 'Group':
211
- return (0, _jsxRuntime.jsx)(_Group.default, {
212
+ return (0, _jsxRuntime.jsx)(_Group.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, enumProps), {}, {
212
213
  value: value,
213
214
  onChange: onChange,
214
215
  fieldLabel: label,
215
216
  fieldValue: fieldValue,
216
217
  dataSource: list
217
- });
218
+ }));
218
219
  default:
219
220
  return null;
220
221
  }
@@ -7,12 +7,17 @@
7
7
  flex-direction: row;
8
8
  flex-wrap: wrap;
9
9
  }
10
+ &-group-root-disabled {
11
+ color: rgba(0, 0, 0, 0.25);
12
+ .pro-enum-group-item{
13
+ cursor: not-allowed !important;
14
+ }
15
+ }
10
16
  &-tag-item {
11
17
  display: flex;
12
18
  align-items: center;
13
19
  justify-content: center;
14
20
  margin-right: var(--zaui-space-size-sm);
15
- margin-bottom: calc(var(--zaui-space-size-sm; 8px) * var(--zaui-size; 1));
16
21
  padding: var(--zaui-space-size-xs) 10px;
17
22
  background-color: #f5f5f5;
18
23
  border-radius: var(--zaui-space-size-xs);
@@ -38,8 +43,7 @@
38
43
  display: flex;
39
44
  align-items: center;
40
45
  justify-content: center;
41
- margin-bottom: calc(var(--zaui-space-size-sm; 8px) * var(--zaui-size; 1));
42
- padding: var(--zaui-space-size-sm) var(--zaui-space-border);
46
+ padding: 6px var(--zaui-space-border);
43
47
  line-height: 18px;
44
48
  background-color: #f1f3f6ff;
45
49
  border: 1px solid transparent;
@@ -72,6 +76,7 @@
72
76
 
73
77
  .pro-enum-group-item-selected {
74
78
  color: var(--zaui-brand);
79
+ background: #fff;
75
80
  border: 1px solid var(--zaui-brand);
76
81
  &::after {
77
82
  background: transparent;
@@ -88,4 +93,8 @@
88
93
  cursor: not-allowed;
89
94
  }
90
95
  }
96
+
97
+ &-group-root-disabled {
98
+ opacity: 0.7;
99
+ }
91
100
  }
@@ -36,7 +36,7 @@ var DatePicker = function DatePicker(props) {
36
36
  var viewChildren = null;
37
37
  if (!value) {
38
38
  viewChildren = null;
39
- } else if (typeof format === 'string' && _moment.default.isMoment(value)) {
39
+ } else if (typeof format === 'string' && (0, _lodash.isObject)(value)) {
40
40
  viewChildren = value.format(format);
41
41
  } else if ((0, _lodash.isFunction)(format)) {
42
42
  viewChildren = format(value);
@@ -47,17 +47,20 @@ var FormList = function FormList(props, ref) {
47
47
  // names的name处理
48
48
  var _name = Array.isArray(item === null || item === void 0 ? void 0 : item.names) ? [fieldName, (0, _utils2.namesPathTransform)({
49
49
  names: item === null || item === void 0 ? void 0 : item.names,
50
- prefixNamePath: namePath
50
+ prefixNamePath: namePath,
51
+ type: item.type
51
52
  })] : [fieldName].concat((0, _toConsumableArray2.default)((0, _utils.toArray)(item.name)));
52
- return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, item), {}, {
53
+ var column = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, item), {}, {
53
54
  name: _name,
54
55
  names: (item === null || item === void 0 ? void 0 : item.names) ? item.names.map(function (nameItem) {
55
- return [].concat((0, _toConsumableArray2.default)(namePath), (0, _toConsumableArray2.default)((0, _utils.toArray)(nameItem)));
56
+ // 传给Group的names会被渲染成真实FormItem 不能传完整name
57
+ return item.type === 'Group' ? [fieldName].concat((0, _toConsumableArray2.default)((0, _utils.toArray)(nameItem))) : [].concat((0, _toConsumableArray2.default)(namePath), (0, _toConsumableArray2.default)((0, _utils.toArray)(nameItem)));
56
58
  }) : item.names,
57
59
  index: fieldName,
58
60
  namePath: namePath,
59
61
  label: mode === 'less' ? undefined : item.label
60
62
  });
63
+ return column;
61
64
  });
62
65
  }, [columns]);
63
66
  (0, _react.useImperativeHandle)(ref, function () {
@@ -4,7 +4,8 @@
4
4
  * @param prefixNamePath formList的name前缀
5
5
  * @returns list_0_min-list_0_max
6
6
  */
7
- export declare const namesPathTransform: ({ names, prefixNamePath, }: {
7
+ export declare const namesPathTransform: ({ names, prefixNamePath, type, }: {
8
8
  names: any[];
9
9
  prefixNamePath: any[];
10
+ type: string;
10
11
  }) => string;
@@ -12,12 +12,14 @@ exports.namesPathTransform = void 0;
12
12
  */
13
13
  var namesPathTransform = exports.namesPathTransform = function namesPathTransform(_ref) {
14
14
  var names = _ref.names,
15
- prefixNamePath = _ref.prefixNamePath;
16
- if (!Array.isArray(names) || !Array.isArray(prefixNamePath)) {
15
+ prefixNamePath = _ref.prefixNamePath,
16
+ type = _ref.type;
17
+ if (!Array.isArray(names) || type !== 'Group' && !Array.isArray(prefixNamePath)) {
17
18
  return '';
18
19
  }
20
+ var _prefixNamePath = type === 'Group' ? '' : prefixNamePath;
19
21
  var newNamePath = names.map(function (val) {
20
- return prefixNamePath.concat(val);
22
+ return _prefixNamePath.concat(val);
21
23
  });
22
24
  return newNamePath === null || newNamePath === void 0 ? void 0 : newNamePath.map(function (name) {
23
25
  return Array.isArray(name) ? name.join('_') : name;
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
9
  var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
10
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
11
10
  var _jsxRuntime = require("react/jsx-runtime");
12
11
  var _antd = require("antd");
13
12
  var _react = require("react");
@@ -27,15 +26,16 @@ var Group = function Group(props) {
27
26
  } : _props$space,
28
27
  id = props.id,
29
28
  value = props.value,
30
- onFieldChange = props.onFieldChange;
31
- var _useCounter = (0, _ahooks.useCounter)(0),
32
- _useCounter2 = (0, _slicedToArray2.default)(_useCounter, 2),
33
- num = _useCounter2[0],
34
- inc = _useCounter2[1].inc;
29
+ isView = props.isView,
30
+ index = props.index,
31
+ onFieldChange = props.onFieldChange,
32
+ namePath = props.namePath;
35
33
  var _ref = _ProForm.default.useFieldProps() || {},
36
34
  names = _ref.names,
37
35
  name = _ref.name,
38
- form = _ref.form;
36
+ form = _ref.form,
37
+ _namePath = _ref.namePath;
38
+ var newNamePath = namePath || _namePath || [];
39
39
  if (!Array.isArray(names)) {
40
40
  console.error('Warning: Composite form components whose type is Group must be configured with names');
41
41
  }
@@ -45,8 +45,10 @@ var Group = function Group(props) {
45
45
  return (0, _objectSpread2.default)((0, _objectSpread2.default)({
46
46
  disabled: Boolean(props === null || props === void 0 ? void 0 : props.disabled)
47
47
  }, item), {}, {
48
+ isView: isView !== null && isView !== void 0 ? isView : item.isView,
48
49
  noStyle: (space === null || space === void 0 ? void 0 : space.compact) || (space === null || space === void 0 ? void 0 : space.separator),
49
- parentNames: id
50
+ parentNames: id,
51
+ namePath: newNamePath
50
52
  });
51
53
  });
52
54
  var node = (0, _jsxRuntime.jsx)(_antd.Button, {
@@ -68,14 +70,25 @@ var Group = function Group(props) {
68
70
  return ['Radio', 'Checkbox', 'Switch'].includes(item.type);
69
71
  })
70
72
  }, "".concat(className), className));
73
+ // 用于formList场景下names移除掉了前缀,需要再次合并回来
74
+ var _names = names.map(function (item) {
75
+ if ((0, _lodash.isNumber)(item === null || item === void 0 ? void 0 : item[0])) {
76
+ return (0, _lodash.union)(newNamePath, item);
77
+ }
78
+ return item;
79
+ });
71
80
  (0, _ahooks.useDeepCompareEffect)(function () {
81
+ var _document, _document$activeEleme;
82
+ // 焦点激活的表单
83
+ var touchName = ((_document = document) === null || _document === void 0 ? void 0 : (_document$activeEleme = _document.activeElement) === null || _document$activeEleme === void 0 ? void 0 : _document$activeEleme.id) || '';
72
84
  // 模拟change,初始化不执行onFieldChange
73
- if ((0, _lodash.isFunction)(onFieldChange) && num >= 1) {
74
- onFieldChange(value, form.getFieldsValue(), {
75
- form: form
85
+ if ((0, _lodash.isFunction)(onFieldChange) && form.isFieldsTouched(_names) && (0, _utils.transformNamesString)(_names).includes(touchName)) {
86
+ onFieldChange(value, (newNamePath === null || newNamePath === void 0 ? void 0 : newNamePath.length) ? form.getFieldValue(newNamePath, true) : form.getFieldsValue(), {
87
+ form: form,
88
+ namePath: newNamePath,
89
+ index: index
76
90
  });
77
91
  }
78
- inc();
79
92
  }, [value]);
80
93
  return (0, _jsxRuntime.jsx)("div", {
81
94
  className: _className,
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { RowProps, SpaceProps } from 'antd';
3
3
  import { FormInstance } from 'antd/es/form/Form';
4
+ import { NamePath } from 'antd/lib/form/interface';
4
5
  import { ProColumnProps, ProFormOtherProps } from '../../../propsType';
5
6
  export interface SpaceType extends SpaceProps {
6
7
  /**
@@ -23,7 +24,12 @@ export interface GroupProps {
23
24
  value?: any;
24
25
  id?: string;
25
26
  disabled?: boolean | (() => void);
27
+ isView?: boolean;
28
+ namePath?: NamePath;
29
+ index?: number;
26
30
  onFieldChange?: (value: any[] | null, record: any, { form, }: {
27
31
  form: FormInstance;
32
+ namePath?: NamePath;
33
+ index?: number;
28
34
  }) => any;
29
35
  }
@@ -9,13 +9,13 @@
9
9
  }
10
10
 
11
11
  .start-radius() {
12
- border-start-start-radius: var(--zaui-border-radius, 4px);
13
- border-end-start-radius: var(--zaui-border-radius, 4px);
12
+ border-start-start-radius: 4px;
13
+ border-end-start-radius: 4px;
14
14
  }
15
15
 
16
16
  .end-radius() {
17
- border-start-end-radius: var(--zaui-border-radius, 4px);
18
- border-end-end-radius: var(--zaui-border-radius, 4px);
17
+ border-start-end-radius: 4px;
18
+ border-end-end-radius: 4px;
19
19
  }
20
20
 
21
21
  .pro-group {
@@ -6,3 +6,5 @@ import { SpaceType } from './propsType';
6
6
  * @returns
7
7
  */
8
8
  export declare const insertSeparator: (columns: any, space?: SpaceType, separatorNode?: ReactNode, otherProps?: any) => any;
9
+ /** 转换names */
10
+ export declare const transformNamesString: (arr: (string | string[])[]) => (string | string[])[];
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.insertSeparator = void 0;
7
+ exports.transformNamesString = exports.insertSeparator = void 0;
8
8
  var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
9
9
  /**
10
10
  * 插入间隔符
@@ -40,4 +40,14 @@ var insertSeparator = exports.insertSeparator = function insertSeparator(columns
40
40
  }
41
41
  return result;
42
42
  }, []);
43
+ };
44
+ /** 转换names */
45
+ var transformNamesString = exports.transformNamesString = function transformNamesString(arr) {
46
+ var result = arr.map(function (subArr) {
47
+ if (Array.isArray(subArr)) {
48
+ return subArr.join('_');
49
+ }
50
+ return subArr;
51
+ });
52
+ return result;
43
53
  };
@@ -55,7 +55,7 @@ var ProTimeLimit = exports.ProTimeLimit = function ProTimeLimit(props) {
55
55
  onChange = _useControlled2[1];
56
56
  var initialConfig = (0, _ProConfigProvider.useProConfig)('ProTimeLimit');
57
57
  var isForever = (0, _react.useMemo)(function () {
58
- if (_moment.default.isMoment(value)) {
58
+ if ((0, _lodash.isObject)(value)) {
59
59
  return foreverMoment.format(format) === value.format(format);
60
60
  }
61
61
  return false;
@@ -75,6 +75,12 @@ var ProTimeLimit = exports.ProTimeLimit = function ProTimeLimit(props) {
75
75
  children: foreverText
76
76
  });
77
77
  }
78
+ if ((0, _lodash.isObject)(value)) {
79
+ return (0, _jsxRuntime.jsx)(_Container.default, {
80
+ viewEmpty: viewEmpty,
81
+ children: value.format(format)
82
+ });
83
+ }
78
84
  return (0, _jsxRuntime.jsx)(_Container.default, {
79
85
  viewEmpty: viewEmpty,
80
86
  children: props.value
@@ -6,7 +6,7 @@
6
6
  ~ .forever-checkbox:not(.@{ant-prefix}-input-disabled):not(
7
7
  .@{ant-prefix}-input-borderless
8
8
  ).@{ant-prefix}-input {
9
- background: @zaui-base-bg;
9
+ // background: @zaui-base-bg;
10
10
  border-color: var(--ant-error-color);
11
11
  }
12
12
  .forever-checkbox:not(.@{ant-prefix}-input-disabled):not(
@@ -24,7 +24,6 @@ export { default as Container } from './combination/Container';
24
24
  export { default as ProEnum } from '../../ProEnum';
25
25
  export { default as ProSelect } from '../../ProSelect';
26
26
  export { default as ProUpload } from '../../ProUpload';
27
- export { default as ProTreeSelect } from '../../ProTreeSelect';
28
27
  export { default as ProTreeModal } from '../../ProTreeModal';
29
28
  export { default as ProTree } from '../../ProTree';
30
29
  export { default as FormFooter } from './FormFooter';
@@ -167,12 +167,6 @@ Object.defineProperty(exports, "ProTreeModal", {
167
167
  return _ProTreeModal.default;
168
168
  }
169
169
  });
170
- Object.defineProperty(exports, "ProTreeSelect", {
171
- enumerable: true,
172
- get: function get() {
173
- return _ProTreeSelect.default;
174
- }
175
- });
176
170
  Object.defineProperty(exports, "ProUpload", {
177
171
  enumerable: true,
178
172
  get: function get() {
@@ -252,7 +246,6 @@ var _Container = _interopRequireDefault(require("./combination/Container"));
252
246
  var _ProEnum = _interopRequireDefault(require("../../ProEnum"));
253
247
  var _ProSelect = _interopRequireDefault(require("../../ProSelect"));
254
248
  var _ProUpload = _interopRequireDefault(require("../../ProUpload"));
255
- var _ProTreeSelect = _interopRequireDefault(require("../../ProTreeSelect"));
256
249
  var _ProTreeModal = _interopRequireDefault(require("../../ProTreeModal"));
257
250
  var _ProTree = _interopRequireDefault(require("../../ProTree"));
258
251
  var _FormFooter = _interopRequireDefault(require("./FormFooter"));
@@ -39,7 +39,7 @@ var ConfirmWrapper = function ConfirmWrapper(props) {
39
39
  return;
40
40
  }
41
41
  if ((0, _lodash.isObject)(confirmProps)) {
42
- _antd.Modal.confirm((0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, defaultConfirmProps), confirmProps), {}, {
42
+ _antd.Modal.confirm((0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, 'title' in confirmProps || 'content' in confirmProps ? {} : defaultConfirmProps), confirmProps), {}, {
43
43
  onOk: function onOk() {
44
44
  var _confirmProps$onOk;
45
45
  for (var _len2 = arguments.length, arg = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
@@ -32,7 +32,7 @@ var _excluded = ["labelWidth", "hiddenNames", "trim", "upperCase", "className",
32
32
  /* eslint-disable prefer-destructuring */
33
33
  // 这个组件只管渲染, 参数的整理在外部处理
34
34
  var Render = function Render(props) {
35
- var _ref2, _ref3, _otherProps$names2;
35
+ var _ref2, _ref3, _ref4, _ref5, _otherProps$names2;
36
36
  var component = props.component,
37
37
  originComponent = props.originComponent,
38
38
  _props$formItemProps = props.formItemProps,
@@ -50,8 +50,9 @@ var Render = function Render(props) {
50
50
  originalValues = props.originalValues,
51
51
  equalWith = props.equalWith,
52
52
  requiredOnView = props.requiredOnView,
53
- originalTip = props.originalTip,
54
- confirm = props.confirm;
53
+ originalDiffTip = props.originalDiffTip,
54
+ confirm = props.confirm,
55
+ globalControl = props.globalControl;
55
56
  var colProps = props.colProps;
56
57
  // 剔除一些不是FormItem的属性, 防止控制台报warning
57
58
  var labelWidth = formItemProps.labelWidth,
@@ -147,7 +148,7 @@ var Render = function Render(props) {
147
148
  */
148
149
  var transforms = Array.isArray(otherProps === null || otherProps === void 0 ? void 0 : otherProps.names) ? (0, _transformNames.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, otherFormItemProps), valueTypeTransform()),
149
150
  // 合并valueType的transform
150
- form, otherProps.names, namesStr) : valueTypeTransform();
151
+ form, otherProps.names, namesStr, otherProps.type) : valueTypeTransform();
151
152
  // ↑↑↑↑↑↑ formItem参数整理 ↑↑↑↑↑↑
152
153
  Object.assign(otherFormItemProps, transforms, {
153
154
  names: otherProps.names
@@ -167,8 +168,12 @@ var Render = function Render(props) {
167
168
  }
168
169
  /** 移除多余参数,防止透传给formItem报错 */
169
170
  var _otherFormItemProps = (0, _lodash.omit)(otherFormItemProps, ['component', 'names', 'format', 'toISOString', 'switchValue', 'precision', 'clearNotShow']);
170
- // 优先级 formitem上【column.disabled】 > 组件上【fieldProps.disabled】 > 全局【formDisabled】
171
- var lastDisabled = (_ref2 = (_ref3 = _disabled !== null && _disabled !== void 0 ? _disabled : _fieldProps === null || _fieldProps === void 0 ? void 0 : _fieldProps.disabled) !== null && _ref3 !== void 0 ? _ref3 : componentProps === null || componentProps === void 0 ? void 0 : componentProps.disabled) !== null && _ref2 !== void 0 ? _ref2 : formDisabled;
171
+ /**
172
+ * globalControl 全局控制优先
173
+ * globalControl true时,优先级 全局【formDisabled】> formitem上【column.disabled】 > 组件上【fieldProps.disabled】
174
+ * globalControl false时,优先级 组件上【fieldProps.disabled】 > formitem上【column.disabled】 > 全局【formDisabled】
175
+ */
176
+ var lastDisabled = globalControl ? (_ref2 = (_ref3 = formDisabled !== null && formDisabled !== void 0 ? formDisabled : _disabled) !== null && _ref3 !== void 0 ? _ref3 : _fieldProps === null || _fieldProps === void 0 ? void 0 : _fieldProps.disabled) !== null && _ref2 !== void 0 ? _ref2 : componentProps === null || componentProps === void 0 ? void 0 : componentProps.disabled : (_ref4 = (_ref5 = _disabled !== null && _disabled !== void 0 ? _disabled : _fieldProps === null || _fieldProps === void 0 ? void 0 : _fieldProps.disabled) !== null && _ref5 !== void 0 ? _ref5 : componentProps === null || componentProps === void 0 ? void 0 : componentProps.disabled) !== null && _ref4 !== void 0 ? _ref4 : formDisabled;
172
177
  /**
173
178
  * 最新fieldProps: 更新后的组件Props
174
179
  */
@@ -196,8 +201,8 @@ var Render = function Render(props) {
196
201
  var functionArgs = function functionArgs(args) {
197
202
  var _otherFormItemProps$n;
198
203
  var _args = (0, _toConsumableArray2.default)(args);
199
- var _ref4 = otherProps || {},
200
- valueType = _ref4.valueType;
204
+ var _ref6 = otherProps || {},
205
+ valueType = _ref6.valueType;
201
206
  _args[1] = form.getFieldsValue();
202
207
  _args[2] = {
203
208
  form: form
@@ -264,7 +269,7 @@ var Render = function Render(props) {
264
269
  }, 60);
265
270
  }
266
271
  // ProTreeSelect返回option
267
- if (['ProTreeSelect', 'ProTree'].includes(type)) {
272
+ if (['ProTree'].includes(type)) {
268
273
  var _args2, _args2$;
269
274
  _args[2].option = (0, _index.findOptionByValue)(lastComponentProps === null || lastComponentProps === void 0 ? void 0 : lastComponentProps.dataSource, (_args2 = _args) === null || _args2 === void 0 ? void 0 : (_args2$ = _args2[0]) === null || _args2$ === void 0 ? void 0 : _args2$[0]);
270
275
  }
@@ -274,7 +279,7 @@ var Render = function Render(props) {
274
279
  * onBlur参数重置 (value, record, { form, index, namePath, option }) => void
275
280
  */
276
281
  var handleBlur = /*#__PURE__*/function () {
277
- var _ref5 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
282
+ var _ref7 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
278
283
  var _len2,
279
284
  args,
280
285
  _key2,
@@ -301,7 +306,7 @@ var Render = function Render(props) {
301
306
  }, _callee);
302
307
  }));
303
308
  return function handleBlur() {
304
- return _ref5.apply(this, arguments);
309
+ return _ref7.apply(this, arguments);
305
310
  };
306
311
  }();
307
312
  var renderItem = function renderItem() {
@@ -378,7 +383,7 @@ var Render = function Render(props) {
378
383
  };
379
384
  }
380
385
  // 需要过滤掉的form_item的key
381
- var filterFormItemKey = ['onFieldChange', 'shouldUpdate', 'namePath', 'isView', 'parentNames', 'space', 'before', 'after'];
386
+ var filterFormItemKey = ['onFieldChange', 'shouldUpdate', 'namePath', 'isView', 'parentNames', 'space', 'before', 'after', 'globalControl'];
382
387
  if (type === 'FormList') {
383
388
  lastComponentProps.disabled = lastDisabled;
384
389
  var lessMode = lastComponentProps.mode === 'less';
@@ -427,7 +432,7 @@ var Render = function Render(props) {
427
432
  });
428
433
  }
429
434
  // 不渲染tooltip
430
- if (!originalTip || ['FormList', 'ProEditTable'].includes(type)) {
435
+ if (!originalDiffTip || ['FormList', 'ProEditTable'].includes(type)) {
431
436
  return formItem;
432
437
  }
433
438
  var title = (0, _jsxRuntime.jsxs)(_antd.Space, {
@@ -440,6 +445,9 @@ var Render = function Render(props) {
440
445
  return (0, _jsxRuntime.jsx)(_antd.Tooltip, {
441
446
  title: title,
442
447
  visible: changed ? undefined : false,
448
+ getPopupContainer: function getPopupContainer(target) {
449
+ return target.parentElement;
450
+ },
443
451
  children: formItem
444
452
  });
445
453
  };
@@ -17,7 +17,8 @@ interface Props<T = any> {
17
17
  clearNotShow?: boolean;
18
18
  requiredOnView?: boolean;
19
19
  required?: boolean | (() => boolean);
20
- originalTip?: boolean;
20
+ originalDiffTip?: boolean;
21
+ globalControl?: boolean;
21
22
  }
22
23
  declare const RenderFields: React.FC<Props>;
23
24
  export default RenderFields;
@@ -33,7 +33,8 @@ var RenderFields = function RenderFields(props) {
33
33
  outerClearNotShow = props.clearNotShow,
34
34
  requiredOnView = props.requiredOnView,
35
35
  required = props.required,
36
- originalTip = props.originalTip;
36
+ originalDiffTip = props.originalDiffTip,
37
+ globalControl = props.globalControl;
37
38
  // 是否包含隐藏字段
38
39
  var hiddenData = columns.filter(function (item) {
39
40
  return Array.isArray(item.hiddenNames);
@@ -183,7 +184,9 @@ var RenderFields = function RenderFields(props) {
183
184
  form: form,
184
185
  type: _type,
185
186
  hiddenNames: column.hiddenNames,
186
- colProps: _colProps
187
+ colProps: _colProps,
188
+ mode: componentProps.mode,
189
+ namePath: column.namePath
187
190
  };
188
191
  if (outerClearNotShow !== false && show === false && (column === null || column === void 0 ? void 0 : column.name) && form.getFieldValue(column === null || column === void 0 ? void 0 : column.name)) {
189
192
  setTimeout(function () {
@@ -212,7 +215,8 @@ var RenderFields = function RenderFields(props) {
212
215
  originalValues: originalValues,
213
216
  equalWith: equalWith,
214
217
  requiredOnView: requiredOnView,
215
- originalTip: originalTip
218
+ originalDiffTip: originalDiffTip,
219
+ globalControl: globalControl
216
220
  })
217
221
  }, "".concat(_formItemProps.name || _formItemProps.label).concat(index));
218
222
  });
@@ -26,7 +26,6 @@ import { Props as ProRangeLimitProps } from '../combination/ProRangeLimit';
26
26
  import { CheckboxPropsMap, ProEnum, PropProSelectsMap, PropRadioPropsMap } from '../../../ProEnum/propsType';
27
27
  import { PropSelectProps as ProSelectProps } from '../../../ProSelect/propsType';
28
28
  import { ProEditTableProps } from '../../../ProEditTable/propsType';
29
- import { PropTreeSelectProps } from '../../../ProTreeSelect/propsType';
30
29
  import { ProTreeModalProps } from '../../../ProTreeModal/propsType';
31
30
  import { ProUploadProps } from '../../../ProUpload/propsType';
32
31
  import { ProTreeProps } from '../../../ProTree/propsType';
@@ -150,9 +149,6 @@ export type ColumnPropsMap<Values = any, T = 'ProForm'> = {
150
149
  } | {
151
150
  type?: 'ProEditTable';
152
151
  fieldProps?: FieldProps<ProEditTableProps, Values, T>;
153
- } | {
154
- type?: 'ProTreeSelect';
155
- fieldProps?: FieldProps<PropTreeSelectProps, Values, T>;
156
152
  } | {
157
153
  type?: 'ProTreeModal';
158
154
  fieldProps?: FieldProps<ProTreeModalProps, Values, T>;
@@ -270,6 +266,7 @@ export interface RenderProps<Values = any> {
270
266
  originalValues?: Values;
271
267
  requiredOnView?: boolean;
272
268
  confirm?: ProFormColumnProps['confirm'];
269
+ globalControl?: boolean;
273
270
  [name: string]: any;
274
271
  }
275
272
  export {};
@@ -25,7 +25,7 @@ var _index = require("./utils/index");
25
25
  var _useForm3 = require("./utils/useForm");
26
26
  var _useFieldProps = require("./utils/useFieldProps");
27
27
  var _locale = _interopRequireDefault(require("../locale"));
28
- var _excluded = ["mode", "span", "disabled", "isView", "columns", "footer", "onOk", "okText", "onCancel", "confirmLoading", "cancelText", "form", "children", "rowProps", "className", "expand", "expandOpen", "expandOpenChange", "viewEmpty", "labelAlign", "labelWidth", "onValuesChange", "onFinish", "originalValues", "submitOnEnter", "clearNotShow", "initialValues", "requiredOnView", "formId", "required", "originalTip", "formKey"];
28
+ var _excluded = ["mode", "span", "disabled", "isView", "columns", "footer", "onOk", "okText", "onCancel", "confirmLoading", "cancelText", "form", "children", "rowProps", "className", "expand", "expandOpen", "expandOpenChange", "viewEmpty", "labelAlign", "labelWidth", "onValuesChange", "onFinish", "originalValues", "submitOnEnter", "clearNotShow", "initialValues", "requiredOnView", "formId", "required", "originalDiffTip", "formKey", "globalControl"];
29
29
  var ProForm = function ProForm(props, ref) {
30
30
  var _forms$formKey, _localStorage;
31
31
  var _props$mode = props.mode,
@@ -64,9 +64,10 @@ var ProForm = function ProForm(props, ref) {
64
64
  requiredOnView = _props$requiredOnView === void 0 ? true : _props$requiredOnView,
65
65
  formId = props.formId,
66
66
  required = props.required,
67
- _props$originalTip = props.originalTip,
68
- originalTip = _props$originalTip === void 0 ? true : _props$originalTip,
67
+ _props$originalDiffTi = props.originalDiffTip,
68
+ originalDiffTip = _props$originalDiffTi === void 0 ? true : _props$originalDiffTi,
69
69
  formKey = props.formKey,
70
+ globalControl = props.globalControl,
70
71
  otherProps = (0, _objectWithoutProperties2.default)(props, _excluded);
71
72
  var _useProConfig = (0, _ProConfigProvider.useProConfig)(),
72
73
  state = _useProConfig.state,
@@ -254,7 +255,8 @@ var ProForm = function ProForm(props, ref) {
254
255
  clearNotShow: clearNotShow,
255
256
  requiredOnView: requiredOnView,
256
257
  required: required,
257
- originalTip: originalTip
258
+ originalDiffTip: originalDiffTip,
259
+ globalControl: globalControl
258
260
  }), children, footerRender()]
259
261
  }))
260
262
  }));
@@ -319,7 +321,7 @@ ProFormForward.ProNumberRange = _components.ProNumberRange;
319
321
  ProFormForward.ProModalSelect = _components.ProModalSelect;
320
322
  ProFormForward.ProTimeLimit = _components.ProTimeLimit;
321
323
  ProFormForward.ProUpload = _components.ProUpload;
322
- ProFormForward.ProTreeSelect = _components.ProTreeSelect;
324
+ // ProFormForward.ProTreeSelect = ProTreeSelect;
323
325
  ProFormForward.ProTreeModal = _components.ProTreeModal;
324
326
  ProFormForward.ProTree = _components.ProTree;
325
327
  // 待废弃