@zat-design/sisyphus-react 3.7.3-beta.13 → 3.7.3-beta.14

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 (163) hide show
  1. package/dist/index.esm.css +12 -1
  2. package/dist/less.esm.css +12 -1
  3. package/es/ProAction/index.js +4 -4
  4. package/es/ProDownload/index.d.ts +1 -1
  5. package/es/ProEditTable/components/ActionButton/index.d.ts +1 -1
  6. package/es/ProEditTable/components/RcTable/BaseTable.d.ts +1 -1
  7. package/es/ProEditTable/components/RcTable/DraggableTable.d.ts +1 -1
  8. package/es/ProEditTable/components/RcTable/VirtualTable.d.ts +1 -1
  9. package/es/ProEditTable/components/RenderField/index.d.ts +1 -1
  10. package/es/ProEditTable/components/RenderToolbar/index.d.ts +1 -1
  11. package/es/ProEditTable/components/Summary/index.d.ts +1 -1
  12. package/es/ProEditTable/utils/config.d.ts +1 -1
  13. package/es/ProEditTable/utils/tools.js +3 -3
  14. package/es/ProEnum/components/Group.d.ts +1 -1
  15. package/es/ProEnum/components/Tag.d.ts +1 -1
  16. package/es/ProEnum/index.d.ts +2 -2
  17. package/es/ProEnum/utils/eventCenter.js +2 -1
  18. package/es/ProEnum/utils/getEnumLabel.d.ts +1 -1
  19. package/es/ProForm/components/base/Input/index.d.ts +1 -1
  20. package/es/ProForm/components/combination/ProCascader/index.d.ts +1 -1
  21. package/es/ProForm/components/combination/ProCascader/index.js +7 -7
  22. package/es/ProForm/components/combination/ProModalSelect/index.js +29 -24
  23. package/es/ProForm/components/old/InputRange/index.d.ts +1 -1
  24. package/es/ProForm/components/old/InputWithSuffix/index.d.ts +1 -1
  25. package/es/ProForm/components/old/ProAddress/index.d.ts +2 -1
  26. package/es/ProForm/components/old/ProRangeBox/index.d.ts +2 -1
  27. package/es/ProForm/utils/index.js +10 -14
  28. package/es/ProIcon/utils/index.js +3 -4
  29. package/es/ProLayout/components/Layout/Menu/OpenMenu/index.d.ts +1 -1
  30. package/es/ProLayout/components/Layout/Menu/OpenMenu/index.js +3 -3
  31. package/es/ProLayout/components/ProCollapse/index.d.ts +1 -1
  32. package/es/ProLayout/components/ProFooter/index.d.ts +1 -1
  33. package/es/ProLayout/components/ProHeader/components/Copy/index.d.ts +1 -1
  34. package/es/ProLayout/components/ProHeader/index.d.ts +1 -1
  35. package/es/ProLayout/index.d.ts +4 -4
  36. package/es/ProLayout/utils/index.js +9 -9
  37. package/es/ProSelect/components/AdaptiveTooltip.d.ts +1 -1
  38. package/es/ProSelect/index.d.ts +1 -1
  39. package/es/ProStep/components/Anchor/index.d.ts +1 -1
  40. package/es/ProStep/components/Item/index.d.ts +1 -1
  41. package/es/ProStep/components/Step/index.d.ts +1 -1
  42. package/es/ProStep/index.d.ts +2 -2
  43. package/es/ProTable/components/FormatColumn/index.d.ts +7 -1
  44. package/es/ProTable/components/FormatColumn/index.js +17 -11
  45. package/es/ProTable/components/RcTable/components/BaseTable/index.d.ts +1 -1
  46. package/es/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/utils/index.js +8 -9
  47. package/es/ProTable/components/RcTable/components/DraggableTable/index.d.ts +1 -1
  48. package/es/ProTable/components/RenderFooter/index.d.ts +1 -1
  49. package/es/ProTable/components/RenderTableHeader/index.d.ts +1 -1
  50. package/es/ProTable/components/TableResizable/index.d.ts +1 -1
  51. package/es/ProTable/index.d.ts +1 -1
  52. package/es/ProTable/index.js +30 -13
  53. package/es/ProTable/propsType.d.ts +14 -1
  54. package/es/ProTable/style/index.less +1 -1
  55. package/es/ProTabs/components/Card/index.d.ts +1 -1
  56. package/es/ProThemeTools/component/ProTools/index.d.ts +1 -1
  57. package/es/ProThemeTools/index.d.ts +1 -1
  58. package/es/ProTooltip/index.d.ts +1 -1
  59. package/es/ProTree/components/AdaptiveTooltip.d.ts +4 -0
  60. package/es/ProTree/components/AdaptiveTooltip.js +55 -0
  61. package/es/ProTree/components/CloseIcon.d.ts +2 -1
  62. package/es/ProTree/components/List.d.ts +1 -1
  63. package/es/ProTree/components/List.js +15 -3
  64. package/es/ProTree/components/ProTree.d.ts +1 -1
  65. package/es/ProTree/components/ProTreeSelect/index.d.ts +1 -1
  66. package/es/ProTree/components/ProTreeSelect/index.js +38 -18
  67. package/es/ProTree/components/ProTreeSelect/propsType.d.ts +2 -0
  68. package/es/ProTree/components/SearchTitle.d.ts +2 -1
  69. package/es/ProTree/components/SearchTitle.js +7 -8
  70. package/es/ProTree/components/Tree.d.ts +1 -1
  71. package/es/ProTree/components/Tree.js +3 -3
  72. package/es/ProTree/index.d.ts +1 -1
  73. package/es/ProTree/style/index.less +14 -0
  74. package/es/ProTree/utils.js +11 -12
  75. package/es/ProTreeModal/components/Cascader.d.ts +1 -1
  76. package/es/ProTreeModal/components/CloseIcon.d.ts +2 -1
  77. package/es/ProTreeModal/components/SearchTitle.d.ts +1 -1
  78. package/es/ProTreeModal/components/Tree.js +6 -6
  79. package/es/ProTreeModal/components/Trigger.d.ts +1 -1
  80. package/es/ProTreeModal/index.d.ts +1 -1
  81. package/es/ProTreeModal/utils.js +11 -12
  82. package/es/ProUpload/components/DraggableUploadListItem.d.ts +1 -1
  83. package/lib/ProAction/index.js +4 -4
  84. package/lib/ProDownload/index.d.ts +1 -1
  85. package/lib/ProEditTable/components/ActionButton/index.d.ts +1 -1
  86. package/lib/ProEditTable/components/RcTable/BaseTable.d.ts +1 -1
  87. package/lib/ProEditTable/components/RcTable/DraggableTable.d.ts +1 -1
  88. package/lib/ProEditTable/components/RcTable/VirtualTable.d.ts +1 -1
  89. package/lib/ProEditTable/components/RenderField/index.d.ts +1 -1
  90. package/lib/ProEditTable/components/RenderToolbar/index.d.ts +1 -1
  91. package/lib/ProEditTable/components/Summary/index.d.ts +1 -1
  92. package/lib/ProEditTable/utils/config.d.ts +1 -1
  93. package/lib/ProEditTable/utils/tools.js +3 -3
  94. package/lib/ProEnum/components/Group.d.ts +1 -1
  95. package/lib/ProEnum/components/Tag.d.ts +1 -1
  96. package/lib/ProEnum/index.d.ts +2 -2
  97. package/lib/ProEnum/utils/eventCenter.js +2 -1
  98. package/lib/ProEnum/utils/getEnumLabel.d.ts +1 -1
  99. package/lib/ProForm/components/base/Input/index.d.ts +1 -1
  100. package/lib/ProForm/components/combination/ProCascader/index.d.ts +1 -1
  101. package/lib/ProForm/components/combination/ProCascader/index.js +7 -7
  102. package/lib/ProForm/components/combination/ProModalSelect/index.js +29 -24
  103. package/lib/ProForm/components/old/InputRange/index.d.ts +1 -1
  104. package/lib/ProForm/components/old/InputWithSuffix/index.d.ts +1 -1
  105. package/lib/ProForm/components/old/ProAddress/index.d.ts +2 -1
  106. package/lib/ProForm/components/old/ProRangeBox/index.d.ts +2 -1
  107. package/lib/ProForm/utils/index.js +10 -10
  108. package/lib/ProIcon/utils/index.js +3 -3
  109. package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.d.ts +1 -1
  110. package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.js +3 -3
  111. package/lib/ProLayout/components/ProCollapse/index.d.ts +1 -1
  112. package/lib/ProLayout/components/ProFooter/index.d.ts +1 -1
  113. package/lib/ProLayout/components/ProHeader/components/Copy/index.d.ts +1 -1
  114. package/lib/ProLayout/components/ProHeader/index.d.ts +1 -1
  115. package/lib/ProLayout/index.d.ts +4 -4
  116. package/lib/ProLayout/utils/index.js +9 -9
  117. package/lib/ProSelect/components/AdaptiveTooltip.d.ts +1 -1
  118. package/lib/ProSelect/index.d.ts +1 -1
  119. package/lib/ProStep/components/Anchor/index.d.ts +1 -1
  120. package/lib/ProStep/components/Item/index.d.ts +1 -1
  121. package/lib/ProStep/components/Step/index.d.ts +1 -1
  122. package/lib/ProStep/index.d.ts +2 -2
  123. package/lib/ProTable/components/FormatColumn/index.d.ts +7 -1
  124. package/lib/ProTable/components/FormatColumn/index.js +17 -11
  125. package/lib/ProTable/components/RcTable/components/BaseTable/index.d.ts +1 -1
  126. package/lib/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/utils/index.js +8 -8
  127. package/lib/ProTable/components/RcTable/components/DraggableTable/index.d.ts +1 -1
  128. package/lib/ProTable/components/RenderFooter/index.d.ts +1 -1
  129. package/lib/ProTable/components/RenderTableHeader/index.d.ts +1 -1
  130. package/lib/ProTable/components/TableResizable/index.d.ts +1 -1
  131. package/lib/ProTable/index.d.ts +1 -1
  132. package/lib/ProTable/index.js +30 -13
  133. package/lib/ProTable/propsType.d.ts +14 -1
  134. package/lib/ProTable/style/index.less +1 -1
  135. package/lib/ProTabs/components/Card/index.d.ts +1 -1
  136. package/lib/ProThemeTools/component/ProTools/index.d.ts +1 -1
  137. package/lib/ProThemeTools/index.d.ts +1 -1
  138. package/lib/ProTooltip/index.d.ts +1 -1
  139. package/lib/ProTree/components/AdaptiveTooltip.d.ts +4 -0
  140. package/lib/ProTree/components/AdaptiveTooltip.js +61 -0
  141. package/lib/ProTree/components/CloseIcon.d.ts +2 -1
  142. package/lib/ProTree/components/List.d.ts +1 -1
  143. package/lib/ProTree/components/List.js +15 -3
  144. package/lib/ProTree/components/ProTree.d.ts +1 -1
  145. package/lib/ProTree/components/ProTreeSelect/index.d.ts +1 -1
  146. package/lib/ProTree/components/ProTreeSelect/index.js +38 -18
  147. package/lib/ProTree/components/ProTreeSelect/propsType.d.ts +2 -0
  148. package/lib/ProTree/components/SearchTitle.d.ts +2 -1
  149. package/lib/ProTree/components/SearchTitle.js +8 -7
  150. package/lib/ProTree/components/Tree.d.ts +1 -1
  151. package/lib/ProTree/components/Tree.js +3 -3
  152. package/lib/ProTree/index.d.ts +1 -1
  153. package/lib/ProTree/style/index.less +14 -0
  154. package/lib/ProTree/utils.js +11 -11
  155. package/lib/ProTreeModal/components/Cascader.d.ts +1 -1
  156. package/lib/ProTreeModal/components/CloseIcon.d.ts +2 -1
  157. package/lib/ProTreeModal/components/SearchTitle.d.ts +1 -1
  158. package/lib/ProTreeModal/components/Tree.js +6 -6
  159. package/lib/ProTreeModal/components/Trigger.d.ts +1 -1
  160. package/lib/ProTreeModal/index.d.ts +1 -1
  161. package/lib/ProTreeModal/utils.js +11 -11
  162. package/lib/ProUpload/components/DraggableUploadListItem.d.ts +1 -1
  163. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { IProDownloadProps } from './propsType';
2
2
  declare const ProDownload: {
3
- (props: IProDownloadProps): import("react/jsx-runtime").JSX.Element;
3
+ (props: IProDownloadProps): JSX.Element;
4
4
  downLoadRequest: import("./utils").DownloadRequestProps;
5
5
  };
6
6
  export default ProDownload;
@@ -1,2 +1,2 @@
1
- declare const ActionButton: ({ record, index, config, btnConfig }: any) => import("react/jsx-runtime").JSX.Element;
1
+ declare const ActionButton: ({ record, index, config, btnConfig }: any) => JSX.Element;
2
2
  export default ActionButton;
@@ -2,5 +2,5 @@
2
2
  declare const _default: import("react").MemoExoticComponent<({ tableProps, ...resetProps }: {
3
3
  [x: string]: any;
4
4
  tableProps: any;
5
- }) => import("react/jsx-runtime").JSX.Element>;
5
+ }) => JSX.Element>;
6
6
  export default _default;
@@ -3,5 +3,5 @@ declare const _default: React.MemoExoticComponent<({ tableProps, draggableProps,
3
3
  [x: string]: any;
4
4
  tableProps: any;
5
5
  draggableProps: any;
6
- }) => import("react/jsx-runtime").JSX.Element>;
6
+ }) => JSX.Element>;
7
7
  export default _default;
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  declare const _default: React.MemoExoticComponent<({ tableProps, ...resetProps }: {
3
3
  [x: string]: any;
4
4
  tableProps: any;
5
- }) => import("react/jsx-runtime").JSX.Element>;
5
+ }) => JSX.Element>;
6
6
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const RenderField: ({ text: value, record, index, column, config }: any) => import("react/jsx-runtime").JSX.Element;
1
+ declare const RenderField: ({ text: value, record, index, column, config }: any) => JSX.Element;
2
2
  export default RenderField;
@@ -1,2 +1,2 @@
1
- declare const RenderToolbar: (config: any) => import("react/jsx-runtime").JSX.Element;
1
+ declare const RenderToolbar: (config: any) => JSX.Element;
2
2
  export default RenderToolbar;
@@ -8,5 +8,5 @@ interface SummaryProps<T = any> {
8
8
  };
9
9
  rowSelection: any;
10
10
  }
11
- declare const Summary: ({ data, summary, rowSelection, }: SummaryProps) => import("react/jsx-runtime").JSX.Element;
11
+ declare const Summary: ({ data, summary, rowSelection, }: SummaryProps) => JSX.Element;
12
12
  export default Summary;
@@ -9,7 +9,7 @@ export declare const defaultBtnNameMap: {
9
9
  custom: any;
10
10
  };
11
11
  export declare const iconMap: {
12
- add: import("react/jsx-runtime").JSX.Element;
12
+ add: JSX.Element;
13
13
  };
14
14
  export declare const defaultSingleActionKeys: string[];
15
15
  export declare const defaultMultipleActionKeys: string[];
@@ -14,14 +14,14 @@ var getRandom = exports.getRandom = function getRandom() {
14
14
  };
15
15
  // 深层次对比两个对象且取出来差异值
16
16
  var difference = exports.difference = function difference(object, base) {
17
- var _changes = function changes(object, base) {
17
+ var changes = function changes(object, base) {
18
18
  return (0, _lodash.transform)(object, function (result, value, key) {
19
19
  if (!(0, _lodash.isEqual)(value, base[key])) {
20
- result[key] = (0, _lodash.isObject)(value) && (0, _lodash.isObject)(base[key]) ? _changes(value, base[key]) : value;
20
+ result[key] = (0, _lodash.isObject)(value) && (0, _lodash.isObject)(base[key]) ? changes(value, base[key]) : value;
21
21
  }
22
22
  });
23
23
  };
24
- return _changes(object, base);
24
+ return changes(object, base);
25
25
  };
26
26
  // 数组字段循环校验,解决validateFields无法批量校验的问题
27
27
  var customValidate = exports.customValidate = function customValidate(validateKeys, form, rowName) {
@@ -6,5 +6,5 @@ interface Props extends Pick<ProEnum, 'id' | 'value' | 'onChange' | 'dataSource'
6
6
  allowClear?: boolean;
7
7
  button?: boolean;
8
8
  }
9
- declare const Group: (props: Props) => import("react/jsx-runtime").JSX.Element;
9
+ declare const Group: (props: Props) => JSX.Element;
10
10
  export default Group;
@@ -3,5 +3,5 @@ interface Props extends Pick<ProEnum, 'id' | 'value' | 'onChange' | 'dataSource'
3
3
  fieldValue: string;
4
4
  fieldLabel: string;
5
5
  }
6
- declare const ProEnumTag: (props: Props) => import("react/jsx-runtime").JSX.Element;
6
+ declare const ProEnumTag: (props: Props) => JSX.Element;
7
7
  export default ProEnumTag;
@@ -2,8 +2,8 @@ import useEnum from './hooks/useEnum';
2
2
  import { ProEnumProps } from './propsType';
3
3
  import './style/index.less';
4
4
  declare const ProEnum: {
5
- (props: ProEnumProps): import("react/jsx-runtime").JSX.Element;
6
- getEnumLabel: (code: string | string[], value: any, compose?: boolean, fieldNameLabel?: string, fieldNameValue?: string) => import("react/jsx-runtime").JSX.Element;
5
+ (props: ProEnumProps): JSX.Element;
6
+ getEnumLabel: (code: string | string[], value: any, compose?: boolean, fieldNameLabel?: string, fieldNameValue?: string) => JSX.Element;
7
7
  useEnum: typeof useEnum;
8
8
  };
9
9
  export default ProEnum;
@@ -10,7 +10,7 @@ var SimpleEventCenter = /*#__PURE__*/function () {
10
10
  this.events = void 0;
11
11
  this.events = new Map();
12
12
  }
13
- return (0, _createClass2.default)(SimpleEventCenter, [{
13
+ (0, _createClass2.default)(SimpleEventCenter, [{
14
14
  key: "subscribe",
15
15
  value: function subscribe(eventName, callback) {
16
16
  if (!this.events.has(eventName)) {
@@ -37,5 +37,6 @@ var SimpleEventCenter = /*#__PURE__*/function () {
37
37
  }
38
38
  }
39
39
  }]);
40
+ return SimpleEventCenter;
40
41
  }(); // 将 eventCenter 实例添加到 window 对象上
41
42
  window.eventCenter = new SimpleEventCenter();
@@ -1,2 +1,2 @@
1
- declare const getEnumLabel: (code: string | string[], value: any, compose?: boolean, fieldNameLabel?: string, fieldNameValue?: string) => import("react/jsx-runtime").JSX.Element;
1
+ declare const getEnumLabel: (code: string | string[], value: any, compose?: boolean, fieldNameLabel?: string, fieldNameValue?: string) => JSX.Element;
2
2
  export default getEnumLabel;
@@ -1,3 +1,3 @@
1
1
  import { IProps } from './propsType';
2
- declare const Input: (props: IProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Input: (props: IProps) => JSX.Element;
3
3
  export default Input;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ProCascaderProps } from './propsType';
3
- declare const _default: import("react").MemoExoticComponent<(props: ProCascaderProps) => import("react/jsx-runtime").JSX.Element>;
3
+ declare const _default: import("react").MemoExoticComponent<(props: ProCascaderProps) => JSX.Element>;
4
4
  export default _default;
@@ -29,9 +29,9 @@ var defaultFieldNames = {
29
29
  value: 'code',
30
30
  children: 'children'
31
31
  };
32
- var _filterDataSource = function filterDataSource(dataSource, level, fieldNames) {
32
+ var filterDataSource = function filterDataSource(dataSource, level, fieldNames) {
33
33
  return dataSource === null || dataSource === void 0 ? void 0 : dataSource.map(function (item) {
34
- return (0, _objectSpread3.default)((0, _objectSpread3.default)({}, item), {}, (0, _defineProperty2.default)({}, (fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.children) || 'children', level === 1 ? [] : _filterDataSource(item === null || item === void 0 ? void 0 : item[(fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.children) || 'children'], level - 1, fieldNames)));
34
+ return (0, _objectSpread3.default)((0, _objectSpread3.default)({}, item), {}, (0, _defineProperty2.default)({}, (fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.children) || 'children', level === 1 ? [] : filterDataSource(item === null || item === void 0 ? void 0 : item[(fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.children) || 'children'], level - 1, fieldNames)));
35
35
  });
36
36
  };
37
37
  var getViewLabel = function getViewLabel(_ref) {
@@ -96,7 +96,7 @@ var ProCascader = function ProCascader(props) {
96
96
  enumDataSource = _ref5$ === void 0 ? [] : _ref5$;
97
97
  var realDataSource = (0, _react.useMemo)(function () {
98
98
  var innerDataSource = dataSource || (addressCode ? enumDataSource : []);
99
- var result = isAddressMode && realLevel === 2 ? _filterDataSource(innerDataSource, level, fieldNames) : innerDataSource;
99
+ var result = isAddressMode && realLevel === 2 ? filterDataSource(innerDataSource, level, fieldNames) : innerDataSource;
100
100
  return (0, _index.transformDataName)(result, fieldNames);
101
101
  }, [isAddressMode, addressCode, realLevel, dataSource, enumDataSource === null || enumDataSource === void 0 ? void 0 : enumDataSource.length]);
102
102
  var _useRequest = (0, _objectSpread3.default)({}, useRequest),
@@ -131,7 +131,7 @@ var ProCascader = function ProCascader(props) {
131
131
  value: fieldNames.value,
132
132
  children: (fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.children) || 'children'
133
133
  });
134
- serviceData = isAddressMode && realLevel === 2 ? _filterDataSource(transFormData, level, fieldNames) : transFormData;
134
+ serviceData = isAddressMode && realLevel === 2 ? filterDataSource(transFormData, level, fieldNames) : transFormData;
135
135
  setServiceData(serviceData);
136
136
  case 9:
137
137
  case "end":
@@ -196,7 +196,7 @@ var ProCascader = function ProCascader(props) {
196
196
  })) === null || _ref7$filter === void 0 ? void 0 : _ref7$filter.join(separator)) || '-' : (defaultLabel === null || defaultLabel === void 0 ? void 0 : (_defaultLabel$filter = defaultLabel.filter(function (item) {
197
197
  return !!item;
198
198
  })) === null || _defaultLabel$filter === void 0 ? void 0 : _defaultLabel$filter.join(separator)) || '-';
199
- var _findSelectedOptions = function findSelectedOptions(options, value) {
199
+ var findSelectedOptions = function findSelectedOptions(options, value) {
200
200
  var path = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
201
201
  var _value = value !== null && value !== void 0 ? value : [];
202
202
  // 基准情况:如果 value 数组为空,且 path 不为空,说明找到了完整的路径
@@ -215,7 +215,7 @@ var ProCascader = function ProCascader(props) {
215
215
  if (foundOption) {
216
216
  // 如果找到了匹配的选项,并且还有更多的 value 需要匹配,递归地在子选项中查找
217
217
  if (_value.length > 1 && foundOption.children) {
218
- return _findSelectedOptions(foundOption.children, _value.slice(1), [].concat((0, _toConsumableArray2.default)(path), [foundOption]));
218
+ return findSelectedOptions(foundOption.children, _value.slice(1), [].concat((0, _toConsumableArray2.default)(path), [foundOption]));
219
219
  }
220
220
  // 如果没有更多的 value 需要匹配,返回当前选项(以及之前的路径)
221
221
  return [].concat((0, _toConsumableArray2.default)(path), [foundOption]);
@@ -224,7 +224,7 @@ var ProCascader = function ProCascader(props) {
224
224
  return null;
225
225
  };
226
226
  var _selectedOptions = (0, _react.useMemo)(function () {
227
- return _findSelectedOptions(service ? serviceData : realDataSource, addressValue);
227
+ return findSelectedOptions(service ? serviceData : realDataSource, addressValue);
228
228
  }, [service, serviceData, realDataSource, addressValue]);
229
229
  var handleAddressChange = function handleAddressChange(e) {
230
230
  var cascaderValue = value === null || value === void 0 ? void 0 : value.slice(0, realLevel);
@@ -611,32 +611,37 @@ var ProModalSelect = function ProModalSelect(props, ref) {
611
611
  }
612
612
  }, [onOff, visible, value]);
613
613
  (0, _react.useEffect)(function () {
614
- if (value && !visible && isInit) {
615
- if (readOnly) {
616
- // 加定时器 修复依赖数据同步更新未取到问题
617
- setTimeout(function () {
618
- var _useRequest$options7, _useRequest$options8;
619
- var initParams = useRequest === null || useRequest === void 0 ? void 0 : useRequest.initParams;
620
- if (typeof (useRequest === null || useRequest === void 0 ? void 0 : useRequest.initParams) === 'function') {
621
- var _contentForm$getField2;
622
- initParams = useRequest === null || useRequest === void 0 ? void 0 : useRequest.initParams(value, contentForm === null || contentForm === void 0 ? void 0 : (_contentForm$getField2 = contentForm.getFieldsValue) === null || _contentForm$getField2 === void 0 ? void 0 : _contentForm$getField2.call(contentForm));
623
- }
624
- var params = withPagination ? {
625
- pageNum: 1,
626
- pageSize: 50,
627
- queryBean: (0, _objectSpread3.default)((0, _objectSpread3.default)({}, useRequest === null || useRequest === void 0 ? void 0 : (_useRequest$options7 = useRequest.options) === null || _useRequest$options7 === void 0 ? void 0 : _useRequest$options7.defaultParams), initParams)
628
- } : (0, _objectSpread3.default)((0, _objectSpread3.default)({}, useRequest === null || useRequest === void 0 ? void 0 : (_useRequest$options8 = useRequest.options) === null || _useRequest$options8 === void 0 ? void 0 : _useRequest$options8.defaultParams), initParams);
629
- var nextParams = transformParams ? transformParams(params) : params;
630
- run(nextParams);
631
- setState({
632
- isInit: false
633
- });
634
- }, 300);
635
- } else {
636
- getInitValues();
637
- }
614
+ if (value && !visible && isInit && !readOnly) {
615
+ getInitValues();
638
616
  }
639
617
  }, [value, visible, isInit, useRequest]);
618
+ (0, _react.useEffect)(function () {
619
+ if (value && !visible && readOnly) {
620
+ var _options$some;
621
+ var isHasValue = options === null || options === void 0 ? void 0 : (_options$some = options.some) === null || _options$some === void 0 ? void 0 : _options$some.call(options, function (item) {
622
+ return item[valueKey] === value;
623
+ });
624
+ if (isHasValue) {
625
+ return;
626
+ }
627
+ // 加定时器 修复依赖数据同步更新未取到问题
628
+ setTimeout(function () {
629
+ var _useRequest$options7, _useRequest$options8;
630
+ var initParams = useRequest === null || useRequest === void 0 ? void 0 : useRequest.initParams;
631
+ if (typeof (useRequest === null || useRequest === void 0 ? void 0 : useRequest.initParams) === 'function') {
632
+ var _contentForm$getField2;
633
+ initParams = useRequest === null || useRequest === void 0 ? void 0 : useRequest.initParams(value, contentForm === null || contentForm === void 0 ? void 0 : (_contentForm$getField2 = contentForm.getFieldsValue) === null || _contentForm$getField2 === void 0 ? void 0 : _contentForm$getField2.call(contentForm));
634
+ }
635
+ var params = withPagination ? {
636
+ pageNum: 1,
637
+ pageSize: 50,
638
+ queryBean: (0, _objectSpread3.default)((0, _objectSpread3.default)({}, useRequest === null || useRequest === void 0 ? void 0 : (_useRequest$options7 = useRequest.options) === null || _useRequest$options7 === void 0 ? void 0 : _useRequest$options7.defaultParams), initParams)
639
+ } : (0, _objectSpread3.default)((0, _objectSpread3.default)({}, useRequest === null || useRequest === void 0 ? void 0 : (_useRequest$options8 = useRequest.options) === null || _useRequest$options8 === void 0 ? void 0 : _useRequest$options8.defaultParams), initParams);
640
+ var nextParams = transformParams ? transformParams(params) : params;
641
+ run(nextParams);
642
+ }, 300);
643
+ }
644
+ }, [value, options, visible, useRequest]);
640
645
  (0, _react.useEffect)(function () {
641
646
  if (!value) {
642
647
  if (defaultOne) {
@@ -12,5 +12,5 @@ export interface InputRangeProps {
12
12
  isPositiveInteger?: boolean;
13
13
  precision?: number;
14
14
  }
15
- declare const InputRange: ({ value, onChange, min, max, group, disabled, precision, isPositiveInteger, }: InputRangeProps) => import("react/jsx-runtime").JSX.Element;
15
+ declare const InputRange: ({ value, onChange, min, max, group, disabled, precision, isPositiveInteger, }: InputRangeProps) => JSX.Element;
16
16
  export default InputRange;
@@ -1,3 +1,3 @@
1
1
  import { comPropsType } from './propsTypes';
2
- declare const InputWithSuffix: (props: comPropsType) => import("react/jsx-runtime").JSX.Element;
2
+ declare const InputWithSuffix: (props: comPropsType) => JSX.Element;
3
3
  export default InputWithSuffix;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProAddressPropsType } from './propsTypes';
2
3
  export declare const transferAddressInfoToRegion: () => {
3
4
  normalize: (value: any) => {
@@ -23,5 +24,5 @@ export declare const transferAddressInfoToRegion: () => {
23
24
  };
24
25
  };
25
26
  };
26
- export declare function ProAddress({ ...props }: ProAddressPropsType): import("react/jsx-runtime").JSX.Element;
27
+ export declare function ProAddress({ ...props }: ProAddressPropsType): JSX.Element;
27
28
  export default ProAddress;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { ProRangeBoxPropsType } from './propsType';
2
- export default function ProRangeBox({ configOption }: ProRangeBoxPropsType): import("react/jsx-runtime").JSX.Element;
3
+ export default function ProRangeBox({ configOption }: ProRangeBoxPropsType): JSX.Element;
@@ -136,7 +136,7 @@ var splitNameStr = exports.splitNameStr = function splitNameStr(name) {
136
136
  });
137
137
  };
138
138
  // 过滤掉字段名中包含 '-' 的字段
139
- var _filterInternalFields = exports.filterInternalFields = function filterInternalFields(values, optimize) {
139
+ var filterInternalFields = exports.filterInternalFields = function filterInternalFields(values, optimize) {
140
140
  if (optimize) {
141
141
  return values;
142
142
  }
@@ -150,20 +150,20 @@ var _filterInternalFields = exports.filterInternalFields = function filterIntern
150
150
  }
151
151
  if (Array.isArray(nextValues)) {
152
152
  return nextValues.map(function (item) {
153
- return _filterInternalFields(item);
153
+ return filterInternalFields(item);
154
154
  });
155
155
  }
156
156
  if ((0, _lodash.isObject)(nextValues)) {
157
157
  var result = {};
158
158
  Object.keys(nextValues).forEach(function (key) {
159
159
  if (key.includes('-')) return;
160
- result[key] = _filterInternalFields(nextValues[key]);
160
+ result[key] = filterInternalFields(nextValues[key]);
161
161
  });
162
162
  return result;
163
163
  }
164
164
  return nextValues;
165
165
  };
166
- var _getAllNamePath = exports.getAllNamePath = function getAllNamePath(object) {
166
+ var getAllNamePath = exports.getAllNamePath = function getAllNamePath(object) {
167
167
  var currentPath = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
168
168
  var keys = Object.keys(object);
169
169
  var resultKeys = [];
@@ -177,7 +177,7 @@ var _getAllNamePath = exports.getAllNamePath = function getAllNamePath(object) {
177
177
  }
178
178
  // 深度获取对象key
179
179
  if ((0, _lodash.isObject)(value)) {
180
- resultKeys.concat(_getAllNamePath(value, [].concat((0, _toConsumableArray2.default)(currentPath), [key])));
180
+ resultKeys.concat(getAllNamePath(value, [].concat((0, _toConsumableArray2.default)(currentPath), [key])));
181
181
  }
182
182
  resultKeys.push([].concat((0, _toConsumableArray2.default)(currentPath), [key]));
183
183
  });
@@ -320,7 +320,7 @@ var customEqualForFun = exports.customEqualForFun = function customEqualForFun(v
320
320
  /**
321
321
  * 查询数据中是否包含rowKey
322
322
  */
323
- var _hasRowKey = exports.hasRowKey = function hasRowKey(obj) {
323
+ var hasRowKey = exports.hasRowKey = function hasRowKey(obj) {
324
324
  if ((0, _typeof2.default)(obj) !== 'object' || obj === null) {
325
325
  return false;
326
326
  }
@@ -330,7 +330,7 @@ var _hasRowKey = exports.hasRowKey = function hasRowKey(obj) {
330
330
  return true;
331
331
  }
332
332
  return keys.some(function (key) {
333
- return _hasRowKey(obj[key]);
333
+ return hasRowKey(obj[key]);
334
334
  });
335
335
  };
336
336
  /**
@@ -346,7 +346,7 @@ var view = exports.view = function view(obj) {
346
346
  return true;
347
347
  }
348
348
  return keys.some(function (key) {
349
- return _hasRowKey(obj[key]);
349
+ return hasRowKey(obj[key]);
350
350
  });
351
351
  };
352
352
  /**
@@ -382,7 +382,7 @@ var deleteForPath = exports.deleteForPath = function deleteForPath(values, nameP
382
382
  * @param value 选中值
383
383
  * @returns {}
384
384
  */
385
- var _findOptionByValue = exports.findOptionByValue = function findOptionByValue(treeData, value, fieldNames) {
385
+ var findOptionByValue = exports.findOptionByValue = function findOptionByValue(treeData, value, fieldNames) {
386
386
  if ((0, _lodash.isObject)(value)) {
387
387
  return value;
388
388
  }
@@ -392,7 +392,7 @@ var _findOptionByValue = exports.findOptionByValue = function findOptionByValue(
392
392
  return (0, _lodash.omit)(node, ['children', fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.children]);
393
393
  }
394
394
  if (node.children) {
395
- var foundNode = _findOptionByValue(node[(fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.children) || 'children'], value, fieldNames);
395
+ var foundNode = findOptionByValue(node[(fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.children) || 'children'], value, fieldNames);
396
396
  if (foundNode) {
397
397
  return (0, _lodash.omit)(foundNode, ['children', fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.children]);
398
398
  }
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.recurseGetNodes = exports.onBeforeInjection = void 0;
8
8
  var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
9
9
  var _config = require("../config");
10
- var _recurseGetNodes = exports.recurseGetNodes = function recurseGetNodes(type, node, queue) {
10
+ var recurseGetNodes = exports.recurseGetNodes = function recurseGetNodes(type, node, queue) {
11
11
  switch (type) {
12
12
  // 渐变
13
13
  case 'gradation':
@@ -26,7 +26,7 @@ var _recurseGetNodes = exports.recurseGetNodes = function recurseGetNodes(type,
26
26
  }
27
27
  if (node.childNodes) {
28
28
  for (var i = 0; i < node.childNodes.length; i++) {
29
- _recurseGetNodes(type, node.childNodes[i], queue);
29
+ recurseGetNodes(type, node.childNodes[i], queue);
30
30
  }
31
31
  }
32
32
  };
@@ -56,7 +56,7 @@ var onBeforeInjection = exports.onBeforeInjection = function onBeforeInjection(_
56
56
  // 目前只支持处理渐变及fill填充
57
57
  var types = Reflect.ownKeys(nodeMap !== null && nodeMap !== void 0 ? nodeMap : {});
58
58
  types.forEach(function (typeKey) {
59
- _recurseGetNodes(typeKey, svg, nodeMap[typeKey]);
59
+ recurseGetNodes(typeKey, svg, nodeMap[typeKey]);
60
60
  });
61
61
  if ((gradList === null || gradList === void 0 ? void 0 : gradList.length) > 0) {
62
62
  nodeMap.gradation.forEach(function (item, index) {
@@ -1,3 +1,3 @@
1
1
  import type { OpenMenuPropsType } from './propsType';
2
- declare const OpenMenu: (props: OpenMenuPropsType) => import("react/jsx-runtime").JSX.Element;
2
+ declare const OpenMenu: (props: OpenMenuPropsType) => JSX.Element;
3
3
  export default OpenMenu;
@@ -56,7 +56,7 @@ var OpenMenu = function OpenMenu(props) {
56
56
  if (!Array.isArray(result) || !result.length) {
57
57
  return [];
58
58
  }
59
- var _menuDeep = function menuDeep(data) {
59
+ var menuDeep = function menuDeep(data) {
60
60
  data.forEach(function (item) {
61
61
  var _item$keyIdPath, _item$keyIdPath2, _item$children;
62
62
  // 是否是第一级菜单,展开模式一级菜单有icon, 收起模式二级菜单有icon
@@ -97,7 +97,7 @@ var OpenMenu = function OpenMenu(props) {
97
97
  if ((_item === null || _item === void 0 ? void 0 : _item.hideInMenu) || ['TAB', 'QUERY', 'BUTTON'].includes(_item === null || _item === void 0 ? void 0 : _item.type)) {
98
98
  delete item.children;
99
99
  } else {
100
- _menuDeep(item.children);
100
+ menuDeep(item.children);
101
101
  }
102
102
  } else {
103
103
  delete item.children;
@@ -105,7 +105,7 @@ var OpenMenu = function OpenMenu(props) {
105
105
  });
106
106
  return data;
107
107
  };
108
- _menuDeep(result);
108
+ menuDeep(result);
109
109
  return result;
110
110
  }, [dataSource]);
111
111
  (0, _ahooks.useDeepCompareEffect)(function () {
@@ -1,3 +1,3 @@
1
1
  import { ProCollapseProps } from './PropTypes';
2
- declare const ProCollapse: (props: ProCollapseProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const ProCollapse: (props: ProCollapseProps) => JSX.Element;
3
3
  export default ProCollapse;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ProFooterProps } from './PropTypes';
3
- declare const _default: import("react").MemoExoticComponent<(props: ProFooterProps) => import("react/jsx-runtime").JSX.Element>;
3
+ declare const _default: import("react").MemoExoticComponent<(props: ProFooterProps) => JSX.Element>;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
1
  declare const Copy: ({ text }: {
2
2
  text: any;
3
- }) => import("react/jsx-runtime").JSX.Element;
3
+ }) => JSX.Element;
4
4
  export default Copy;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import type { ProHeaderProps } from './PropTypes';
3
- declare const _default: React.MemoExoticComponent<(props: ProHeaderProps) => import("react/jsx-runtime").JSX.Element>;
3
+ declare const _default: React.MemoExoticComponent<(props: ProHeaderProps) => JSX.Element>;
4
4
  export default _default;
@@ -5,7 +5,7 @@ export declare const LayoutContext: import("react").Context<{
5
5
  onSelected: (params: any) => void;
6
6
  }>;
7
7
  declare const ProLayout: {
8
- (props: ProLayoutProps): import("react/jsx-runtime").JSX.Element;
8
+ (props: ProLayoutProps): JSX.Element;
9
9
  defaultProps: {
10
10
  menus: any[];
11
11
  iconfontUrl: string;
@@ -17,8 +17,8 @@ declare const ProLayout: {
17
17
  headerHeight: number;
18
18
  contentStyle: {};
19
19
  };
20
- ProCollapse: (props: import("./components/ProCollapse/PropTypes").ProCollapseProps) => import("react/jsx-runtime").JSX.Element;
21
- ProFooter: import("react").MemoExoticComponent<(props: import("./components/ProFooter/PropTypes").ProFooterProps) => import("react/jsx-runtime").JSX.Element>;
22
- ProHeader: import("react").MemoExoticComponent<(props: import("./components/ProHeader/PropTypes").ProHeaderProps) => import("react/jsx-runtime").JSX.Element>;
20
+ ProCollapse: (props: import("./components/ProCollapse/PropTypes").ProCollapseProps) => JSX.Element;
21
+ ProFooter: import("react").MemoExoticComponent<(props: import("./components/ProFooter/PropTypes").ProFooterProps) => JSX.Element>;
22
+ ProHeader: import("react").MemoExoticComponent<(props: import("./components/ProHeader/PropTypes").ProHeaderProps) => JSX.Element>;
23
23
  };
24
24
  export default ProLayout;
@@ -25,7 +25,7 @@ var getIdsByPathName = exports.getIdsByPathName = function getIdsByPathName(menu
25
25
  _pathName = activeMenu;
26
26
  }
27
27
  var result;
28
- var _menuDeep = function menuDeep(menuDeepItem) {
28
+ var menuDeep = function menuDeep(menuDeepItem) {
29
29
  for (var i = 0; i <= menuDeepItem.length - 1; i++) {
30
30
  var item = menuDeepItem[i];
31
31
  // 只包含一级菜单时,解决URL:/endorsement/demo/123无法选中问题
@@ -34,7 +34,7 @@ var getIdsByPathName = exports.getIdsByPathName = function getIdsByPathName(menu
34
34
  break;
35
35
  }
36
36
  if (Array.isArray(item.children) && item.children.length) {
37
- _menuDeep(item.children);
37
+ menuDeep(item.children);
38
38
  } else if (((item === null || item === void 0 ? void 0 : item.url) && _pathName.includes(item.url.split('?')[0]) || (item === null || item === void 0 ? void 0 : item.redirectUrl) && _pathName.includes(item.redirectUrl.split('?')[0])) && !result) {
39
39
  // 当循环到最后一层时判断URL是否包含最后一层的URL,解决URL在URL中不存在的场景
40
40
  result = item.keyIdPath;
@@ -42,7 +42,7 @@ var getIdsByPathName = exports.getIdsByPathName = function getIdsByPathName(menu
42
42
  }
43
43
  }
44
44
  };
45
- _menuDeep(menus);
45
+ menuDeep(menus);
46
46
  return result || [];
47
47
  };
48
48
  /**
@@ -52,7 +52,7 @@ var getIdsByPathName = exports.getIdsByPathName = function getIdsByPathName(menu
52
52
  */
53
53
  var transformMenu = exports.transformMenu = function transformMenu(menuData, pathPrefix) {
54
54
  var data = (0, _toConsumableArray2.default)(menuData);
55
- var _menuDeep2 = function menuDeep(menuDeepItem) {
55
+ var menuDeep = function menuDeep(menuDeepItem) {
56
56
  if (!Array.isArray(menuDeepItem) || !menuDeepItem.length) {
57
57
  return [];
58
58
  }
@@ -85,11 +85,11 @@ var transformMenu = exports.transformMenu = function transformMenu(menuData, pat
85
85
  childrenItem.keyUrlPath = (0, _toConsumableArray2.default)(item.keyUrlPath);
86
86
  childrenItem.keyIdPath = (0, _toConsumableArray2.default)(item.keyIdPath);
87
87
  });
88
- _menuDeep2(item.children);
88
+ menuDeep(item.children);
89
89
  }
90
90
  });
91
91
  };
92
- _menuDeep2(data);
92
+ menuDeep(data);
93
93
  return data;
94
94
  };
95
95
  /**
@@ -144,7 +144,7 @@ var getPathNameKey = exports.getPathNameKey = function getPathNameKey(_ref) {
144
144
  var menus = _ref.menus,
145
145
  pathName = _ref.pathName;
146
146
  var result;
147
- var _menuDeep3 = function menuDeep(menuDeepItem) {
147
+ var menuDeep = function menuDeep(menuDeepItem) {
148
148
  if (!Array.isArray(menuDeepItem) || !menuDeepItem.length) {
149
149
  return [];
150
150
  }
@@ -158,7 +158,7 @@ var getPathNameKey = exports.getPathNameKey = function getPathNameKey(_ref) {
158
158
  break;
159
159
  }
160
160
  if (Array.isArray(item.children) && item.children.length) {
161
- _menuDeep3(item.children);
161
+ menuDeep(item.children);
162
162
  } else if (((item === null || item === void 0 ? void 0 : item.url) && pathName.includes(item.url.split('?')[0]) || (item === null || item === void 0 ? void 0 : item.redirectUrl) && pathName.includes(item.redirectUrl.split('?')[0])) && !result) {
163
163
  // URL未匹配时,循环到最后一层时判断URL是否包含最后一层的URL,解决URL在URL中不存在的场景
164
164
  result = item.keyIdPath;
@@ -166,6 +166,6 @@ var getPathNameKey = exports.getPathNameKey = function getPathNameKey(_ref) {
166
166
  }
167
167
  }
168
168
  };
169
- _menuDeep3(menus);
169
+ menuDeep(menus);
170
170
  return result;
171
171
  };
@@ -1,4 +1,4 @@
1
1
  declare const AdaptiveTooltip: ({ children }: {
2
2
  children: any;
3
- }) => import("react/jsx-runtime").JSX.Element;
3
+ }) => JSX.Element;
4
4
  export default AdaptiveTooltip;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { PropSelectProps, ProSelectAction } from './propsType';
3
3
  import './index.less';
4
- export declare const ProSelect: (props: PropSelectProps, ref: React.Ref<ProSelectAction> | undefined) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const ProSelect: (props: PropSelectProps, ref: React.Ref<ProSelectAction> | undefined) => JSX.Element;
5
5
  declare const _default: React.ForwardRefExoticComponent<PropSelectProps & React.RefAttributes<ProSelectAction>>;
6
6
  export default _default;
@@ -1,2 +1,2 @@
1
- export declare const MenuItem: (props: any) => import("react/jsx-runtime").JSX.Element;
1
+ export declare const MenuItem: (props: any) => JSX.Element;
2
2
  export default MenuItem;
@@ -1,3 +1,3 @@
1
1
  import { ProStepItem } from '../../propsType';
2
- declare const _default: ({ id, title, collapse: collapseItem, children, ...restProps }: ProStepItem) => import("react/jsx-runtime").JSX.Element;
2
+ declare const _default: ({ id, title, collapse: collapseItem, children, ...restProps }: ProStepItem) => JSX.Element;
3
3
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { ProStepPropsType } from '../../propsType';
2
2
  export declare const Step: ({ fixedTop, dataSource, activeKey, errorCollection, style, targetOffset, scrollToError, }: ProStepPropsType & {
3
3
  errorCollection: object;
4
- }) => import("react/jsx-runtime").JSX.Element;
4
+ }) => JSX.Element;
5
5
  export default Step;
@@ -4,9 +4,9 @@ import './style/index.less';
4
4
  export declare const ProStepContext: import("react").Context<any>;
5
5
  export declare const useStep: () => any;
6
6
  declare const ProStep: {
7
- ({ children, ...resetProps }: ProStepPropsType): import("react/jsx-runtime").JSX.Element;
7
+ ({ children, ...resetProps }: ProStepPropsType): JSX.Element;
8
8
  useStep: () => any;
9
- Item: ({ id, title, collapse: collapseItem, children, ...restProps }: import("./propsType").ProStepItem) => import("react/jsx-runtime").JSX.Element;
9
+ Item: ({ id, title, collapse: collapseItem, children, ...restProps }: import("./propsType").ProStepItem) => JSX.Element;
10
10
  Listener: ({ children, delayTime, excludes, ...props }: any) => import("react").DetailedReactHTMLElement<any, HTMLElement>;
11
11
  };
12
12
  export default ProStep;