@para-ui/core 4.0.0-rc → 4.0.0-rc.2

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 (266) hide show
  1. package/AutoBox/index.d.ts +1 -1
  2. package/AutoBox/index.js +12 -12
  3. package/AutoTips/autoTipsMultiline/index.d.ts +1 -1
  4. package/AutoTips/index.d.ts +2 -2
  5. package/AutoTips/index.js +15 -21
  6. package/Badge/index.d.ts +23 -0
  7. package/Badge/index.js +54 -0
  8. package/Breadcrumbs/index.js +8 -8
  9. package/Button/SplitButton.d.ts +1 -1
  10. package/Button/index.d.ts +1 -1
  11. package/Button/index.js +8 -38
  12. package/Carousel/index.d.ts +6 -6
  13. package/Carousel/index.js +5 -5
  14. package/Cascader/Cascader.d.ts +10 -10
  15. package/Cascader/OptionList/Column.d.ts +3 -3
  16. package/Cascader/OptionList/index.d.ts +2 -2
  17. package/Cascader/index.d.ts +1 -1
  18. package/Cascader/index.js +4 -2
  19. package/Cascader/lang/en_US.d.ts +5 -0
  20. package/Cascader/lang/index.d.ts +11 -0
  21. package/Cascader/lang/zh_CN.d.ts +5 -0
  22. package/Cascader/utils/treeUtil.d.ts +1 -1
  23. package/Checkbox/index.d.ts +1 -1
  24. package/Checkbox/index.js +5 -5
  25. package/CheckboxGroup/index.d.ts +2 -2
  26. package/CheckboxGroup/index.js +4 -4
  27. package/Collapse/index.js +5 -5
  28. package/CollapseBox/index.js +12 -20
  29. package/CollapseLayout/index.js +21 -21
  30. package/ColorPicker/index.js +2 -2
  31. package/ComboSelect/index.js +43 -52
  32. package/ComboSelect/interface.d.ts +3 -3
  33. package/Container/index.d.ts +3 -3
  34. package/Container/index.js +56 -56
  35. package/CopyText/index.d.ts +2 -2
  36. package/CopyText/index.js +3 -3
  37. package/DatePicker/generatePicker/index.d.ts +22 -22
  38. package/DatePicker/index.js +10 -9
  39. package/DatePicker/util.d.ts +1 -1
  40. package/Descriptions/index.d.ts +38 -0
  41. package/Descriptions/index.js +23 -0
  42. package/Desktop/index.d.ts +1 -1
  43. package/Desktop/index.js +18 -13
  44. package/DragVerify/index.d.ts +1 -1
  45. package/DragVerify/index.js +13 -13
  46. package/Drawer/index.js +40 -38
  47. package/Drawer/interface.d.ts +4 -6
  48. package/Dropdown/index.d.ts +1 -1
  49. package/DynamicMultiBox/formItem.d.ts +1 -1
  50. package/DynamicMultiBox/index.d.ts +1 -1
  51. package/DynamicMultiBox/index.js +38 -35
  52. package/DynamicMultiBox/interface.d.ts +8 -8
  53. package/DynamicMultiBox/rowForm.d.ts +3 -1
  54. package/Empty/index.d.ts +1 -1
  55. package/Empty/index.js +3 -3
  56. package/Form/index.d.ts +12 -13
  57. package/Form/index.js +10 -8
  58. package/FormItem/compoments/defaultCompoments/index.d.ts +4 -4
  59. package/FormItem/compoments/formCheckboxGroup/index.d.ts +1 -1
  60. package/FormItem/compoments/formFile/index.d.ts +2 -2
  61. package/FormItem/compoments/formRadioGroup/index.d.ts +1 -1
  62. package/FormItem/compoments/formSelect/index.d.ts +7 -7
  63. package/FormItem/errorTips.d.ts +3 -3
  64. package/FormItem/index.d.ts +5 -5
  65. package/FormItem/index.js +3 -2
  66. package/FormItem/lang/en_US.d.ts +10 -0
  67. package/FormItem/lang/index.d.ts +21 -0
  68. package/FormItem/lang/zh_CN.d.ts +10 -0
  69. package/FormItem/validateFunction.d.ts +1 -1
  70. package/FunctionModal/dialog.d.ts +26 -26
  71. package/FunctionModal/index.d.ts +6 -6
  72. package/FunctionModal/index.js +9 -10
  73. package/FunctionModal/modalContext.d.ts +3 -3
  74. package/GlobalContext/componentsProps.d.ts +7 -7
  75. package/GlobalContext/confirmLocale.d.ts +1 -2
  76. package/GlobalContext/index.d.ts +2 -2
  77. package/GlobalContext/index.js +3 -2
  78. package/GlobalContext/useFormatMessage.d.ts +1 -1
  79. package/Help/index.js +2 -2
  80. package/HelperText/index.js +1 -1
  81. package/InputLang/index.d.ts +2 -2
  82. package/InputLang/index.js +8 -8
  83. package/InputNumber/index.d.ts +4 -2
  84. package/InputNumber/index.js +27 -15
  85. package/Label/index.js +2 -2
  86. package/Loading/index.js +1 -1
  87. package/Menu/index.js +17 -17
  88. package/Menu/interface.d.ts +1 -1
  89. package/Message/index.js +13 -13
  90. package/Modal/Confirm/index.d.ts +3 -3
  91. package/Modal/index.d.ts +1 -1
  92. package/Modal/index.js +20 -17
  93. package/Modal/lang/index.d.ts +8 -0
  94. package/MultiBox/index.d.ts +2 -2
  95. package/MultiBox/index.js +4 -4
  96. package/Notification/index.js +2 -2
  97. package/OperateBtn/index.d.ts +2 -2
  98. package/OperateBtn/index.js +49 -49
  99. package/PageHeader/index.js +45 -34
  100. package/PageHeader/interface.d.ts +1 -1
  101. package/Pagination/index.d.ts +1 -1
  102. package/Pagination/index.js +19 -19
  103. package/PasswordRules/index.js +8 -8
  104. package/PopConfirm/index.js +8 -7
  105. package/Progress/Line.d.ts +10 -10
  106. package/Progress/Steps.d.ts +2 -2
  107. package/Progress/index.d.ts +12 -12
  108. package/Progress/index.js +43 -42
  109. package/Progress/utils.d.ts +4 -4
  110. package/Querying/index.d.ts +1 -1
  111. package/Querying/index.js +3 -3
  112. package/README.md +7 -0
  113. package/Radio/index.d.ts +1 -1
  114. package/Radio/index.js +5 -5
  115. package/RadioGroup/index.d.ts +2 -2
  116. package/RadioGroup/index.js +4 -4
  117. package/Search/index.js +1 -1
  118. package/Select/index.d.ts +3 -3
  119. package/Select/index.js +43 -43
  120. package/SelectInput/index.js +2 -2
  121. package/Selector/index.js +26 -34
  122. package/Selector/interface.d.ts +6 -6
  123. package/SelectorPicker/index.d.ts +4 -4
  124. package/SelectorPicker/index.js +10 -10
  125. package/SingleBox/index.d.ts +2 -2
  126. package/SingleBox/index.js +4 -4
  127. package/Slider/index.js +1 -1
  128. package/Slider/interface.d.ts +1 -1
  129. package/Status/index.d.ts +4 -4
  130. package/Status/index.js +6 -7
  131. package/Stepper/index.d.ts +5 -5
  132. package/Stepper/index.js +23 -23
  133. package/Styles/theme.scss +1 -0
  134. package/Switch/index.d.ts +7 -7
  135. package/Switch/index.js +38 -21
  136. package/Switch/lang/en_US.d.ts +4 -0
  137. package/Switch/lang/index.d.ts +9 -0
  138. package/Switch/lang/zh_CN.d.ts +4 -0
  139. package/Table/index.js +35 -35
  140. package/Table/interface.d.ts +4 -4
  141. package/Table/tableBodyElement/index.d.ts +1 -1
  142. package/Table/tableBodyInterface.d.ts +2 -2
  143. package/Table/tableContainer/index.d.ts +1 -1
  144. package/Table/tableElement/index.d.ts +1 -1
  145. package/Table/tableHeadElement/index.d.ts +1 -1
  146. package/Table/tableHeadInterface.d.ts +1 -1
  147. package/Table/tablePaginationInterface.d.ts +6 -6
  148. package/Table/tdElement/index.d.ts +1 -1
  149. package/Table/thElement/index.d.ts +2 -2
  150. package/Table/trElement/index.d.ts +1 -1
  151. package/Table/util.d.ts +1 -1
  152. package/Tabs/index.d.ts +1 -1
  153. package/Tabs/index.js +27 -19
  154. package/Tag/TagGroup.d.ts +5 -5
  155. package/Tag/index.d.ts +7 -7
  156. package/Tag/index.js +25 -25
  157. package/TextEditor/index.d.ts +2 -2
  158. package/TextEditor/index.js +45 -27
  159. package/TextEditor/lang/en_US.d.ts +4 -0
  160. package/TextEditor/lang/index.d.ts +9 -0
  161. package/TextEditor/lang/zh_CN.d.ts +4 -0
  162. package/TextField/index.d.ts +1 -1
  163. package/TextField/index.js +19 -16
  164. package/TimePicker/index.d.ts +1 -1
  165. package/TimePicker/index.js +2 -2
  166. package/Timeline/TimelineItem.d.ts +1 -1
  167. package/Timeline/index.d.ts +5 -5
  168. package/Timeline/index.js +14 -14
  169. package/Title/index.d.ts +4 -4
  170. package/Title/index.js +3 -3
  171. package/ToggleButton/ToggleButtonGroup.d.ts +1 -1
  172. package/ToggleButton/index.d.ts +5 -1
  173. package/ToggleButton/index.js +18 -11
  174. package/Transfer/box.d.ts +6 -6
  175. package/Transfer/index.js +22 -25
  176. package/Tree/OperateBar/index.d.ts +4 -4
  177. package/Tree/Tree.d.ts +2 -2
  178. package/Tree/index.js +2 -2
  179. package/Tree/interface.d.ts +4 -4
  180. package/Tree/utils/tools.d.ts +1 -1
  181. package/Upload/Dragger/index.d.ts +2 -2
  182. package/Upload/ErroTip/index.d.ts +1 -1
  183. package/Upload/index.d.ts +2 -2
  184. package/Upload/index.js +10 -11
  185. package/Upload/interface.d.ts +1 -1
  186. package/_verture/{index-8469865e.js → index-024bbc9b.js} +3 -3
  187. package/_verture/{index-19947788.js → index-05f7bf11.js} +3 -1
  188. package/_verture/{index-e1b800aa.js → index-50f56891.js} +49 -25
  189. package/_verture/{index-1c8d3e94.js → index-649b450f.js} +102 -48
  190. package/_verture/{index-47297a40.js → index-692e29c1.js} +53 -46
  191. package/_verture/{modalContext-670eab09.js → modalContext-11c51a45.js} +25 -25
  192. package/index.d.ts +4 -0
  193. package/index.js +14 -11
  194. package/locale/en-US.d.ts +19 -0
  195. package/locale/index.d.ts +38 -0
  196. package/locale/index.js +40 -2
  197. package/locale/zh-CN.d.ts +19 -0
  198. package/package.json +4 -2
  199. package/umd/AutoBox.js +1 -1
  200. package/umd/AutoTips.js +1 -1
  201. package/umd/Badge.js +1 -0
  202. package/umd/Breadcrumbs.js +1 -1
  203. package/umd/Button.js +2 -2
  204. package/umd/ButtonGroup.js +2 -2
  205. package/umd/Cascader.js +4 -4
  206. package/umd/Checkbox.js +2 -2
  207. package/umd/CheckboxGroup.js +2 -2
  208. package/umd/Collapse.js +5 -5
  209. package/umd/CollapseBox.js +1 -1
  210. package/umd/CollapseLayout.js +4 -4
  211. package/umd/ColorPicker.js +1 -1
  212. package/umd/ComboSelect.js +4 -4
  213. package/umd/CopyText.js +2 -2
  214. package/umd/DatePicker.js +2 -2
  215. package/umd/Descriptions.js +1 -0
  216. package/umd/Desktop.js +2 -2
  217. package/umd/DragVerify.js +4 -4
  218. package/umd/Drawer.js +2 -2
  219. package/umd/DynamicMultiBox.js +4 -4
  220. package/umd/Empty.js +1 -1
  221. package/umd/Form.js +4 -4
  222. package/umd/FormItem.js +4 -4
  223. package/umd/FunctionModal.js +4 -4
  224. package/umd/GlobalContext.js +1 -1
  225. package/umd/Help.js +2 -2
  226. package/umd/HelperText.js +1 -1
  227. package/umd/InputLang.js +2 -2
  228. package/umd/InputNumber.js +4 -4
  229. package/umd/Label.js +2 -2
  230. package/umd/Loading.js +1 -1
  231. package/umd/Menu.js +3 -3
  232. package/umd/Message.js +2 -2
  233. package/umd/Modal.js +4 -4
  234. package/umd/MultiBox.js +7 -7
  235. package/umd/Notification.js +2 -2
  236. package/umd/OperateBtn.js +4 -4
  237. package/umd/PageHeader.js +4 -4
  238. package/umd/Pagination.js +2 -2
  239. package/umd/PasswordRules.js +4 -4
  240. package/umd/PopConfirm.js +2 -2
  241. package/umd/Progress.js +3 -3
  242. package/umd/Querying.js +1 -1
  243. package/umd/Radio.js +2 -2
  244. package/umd/RadioGroup.js +2 -2
  245. package/umd/Search.js +7 -7
  246. package/umd/Select.js +2 -2
  247. package/umd/SelectInput.js +2 -2
  248. package/umd/Selector.js +2 -2
  249. package/umd/SelectorPicker.js +2 -2
  250. package/umd/SingleBox.js +2 -2
  251. package/umd/Slider.js +1 -1
  252. package/umd/Status.js +2 -2
  253. package/umd/Stepper.js +1 -1
  254. package/umd/Switch.js +5 -5
  255. package/umd/Table.js +6 -6
  256. package/umd/Tabs.js +6 -6
  257. package/umd/Tag.js +1 -1
  258. package/umd/TextEditor.js +3 -3
  259. package/umd/TextField.js +7 -7
  260. package/umd/TimePicker.js +2 -2
  261. package/umd/Title.js +7 -7
  262. package/umd/ToggleButton.js +4 -4
  263. package/umd/Transfer.js +3 -3
  264. package/umd/Tree.js +2 -2
  265. package/umd/Upload.js +2 -2
  266. package/umd/locale.js +1 -1
package/index.js CHANGED
@@ -1,20 +1,22 @@
1
1
  export { AutoBox } from './AutoBox/index.js';
2
2
  export { default as AutoTips, AutoTipsMultiline } from './AutoTips/index.js';
3
+ export { Badge } from './Badge/index.js';
3
4
  export { Breadcrumbs } from './Breadcrumbs/index.js';
4
5
  export { Button } from './Button/index.js';
5
6
  export { ButtonGroup } from './ButtonGroup/index.js';
6
7
  export { Carousel } from './Carousel/index.js';
7
- export { C as Cascader } from './_verture/index-e1b800aa.js';
8
+ export { C as Cascader } from './_verture/index-50f56891.js';
8
9
  export { Checkbox } from './Checkbox/index.js';
9
10
  export { CheckboxGroup } from './CheckboxGroup/index.js';
10
11
  export { Collapse } from './Collapse/index.js';
11
12
  export { default as CollapseBox } from './CollapseBox/index.js';
12
13
  export { default as CollapseLayout } from './CollapseLayout/index.js';
13
- export { C as ChromePicker, S as ColorPicker, a as CompactPicker, b as SwatchesPicker } from './_verture/index-8469865e.js';
14
+ export { C as ChromePicker, S as ColorPicker, a as CompactPicker, b as SwatchesPicker } from './_verture/index-024bbc9b.js';
14
15
  export { ComboSelect } from './ComboSelect/index.js';
15
16
  export { Container } from './Container/index.js';
16
17
  export { default as CopyText } from './CopyText/index.js';
17
18
  export { default as DatePicker } from './DatePicker/index.js';
19
+ export { default as Descriptions } from './Descriptions/index.js';
18
20
  export { Desktop } from './Desktop/index.js';
19
21
  export { DragVerify } from './DragVerify/index.js';
20
22
  export { Drawer } from './Drawer/index.js';
@@ -22,8 +24,8 @@ export { D as Dropdown } from './_verture/index-e9007d6a.js';
22
24
  export { default as DynamicMultiBox } from './DynamicMultiBox/index.js';
23
25
  export { default as Empty } from './Empty/index.js';
24
26
  export { default as Form } from './Form/index.js';
25
- export { F as FormItem } from './_verture/index-1c8d3e94.js';
26
- export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-670eab09.js';
27
+ export { F as FormItem } from './_verture/index-649b450f.js';
28
+ export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-11c51a45.js';
27
29
  export { default as GlobalContext, changeConfirmLocale, getConfirmLocale } from './GlobalContext/index.js';
28
30
  export { default as Help } from './Help/index.js';
29
31
  export { default as HelperText } from './HelperText/index.js';
@@ -68,7 +70,7 @@ export { Title } from './Title/index.js';
68
70
  export { ToggleButton, ToggleButtonGroup } from './ToggleButton/index.js';
69
71
  export { Tooltip } from './Tooltip/index.js';
70
72
  export { SSortablejs, Transfer } from './Transfer/index.js';
71
- export { T as Tree } from './_verture/index-47297a40.js';
73
+ export { T as Tree } from './_verture/index-692e29c1.js';
72
74
  export { default as Upload } from './Upload/index.js';
73
75
  export { default as locale } from './locale/index.js';
74
76
  import './_verture/slicedToArray-a8206399.js';
@@ -80,16 +82,16 @@ import '@paraview/lib';
80
82
  import './_verture/constant-0d9802f7.js';
81
83
  import '@para-ui/icons/More';
82
84
  import './_verture/style-inject.es-300983ab.js';
85
+ import './_verture/typeof-adeedc13.js';
86
+ import 'clsx';
83
87
  import './_verture/toConsumableArray-8f4c9589.js';
84
88
  import '@para-ui/icons/Return';
85
89
  import './_verture/useFormatMessage-703f8b20.js';
86
90
  import '@para-ui/core/GlobalContext';
87
- import './_verture/typeof-adeedc13.js';
88
91
  import './_verture/tslib.es6-55ed4bd2.js';
89
- import 'clsx';
90
92
  import '@para-ui/icons/LoadingF';
91
- import '@para-ui/icons/Forbid';
92
93
  import '@para-ui/icons/Down';
94
+ import '@para-ui/icons/Forbid';
93
95
  import './_verture/defineProperty-1d116156.js';
94
96
  import 'react-slick';
95
97
  import '@para-ui/icons/RightCircleF';
@@ -113,7 +115,7 @@ import '@para-ui/icons/Close';
113
115
  import './_verture/utils-06d86594.js';
114
116
  import './_verture/useGlobalProps-1b846a65.js';
115
117
  import '@para-ui/icons/Copy';
116
- import '@para-ui/icons/Check';
118
+ import '@para-ui/icons/CheckS';
117
119
  import 'rc-picker/es/generate/dayjs';
118
120
  import 'rc-picker';
119
121
  import '@para-ui/icons/Calendar';
@@ -122,6 +124,7 @@ import 'rc-picker/lib/locale/en_US';
122
124
  import 'rc-picker/lib/locale/zh_CN';
123
125
  import '@para-ui/icons/SortRight';
124
126
  import '@para-ui/icons/Left';
127
+ import '@para-ui/icons/Check';
125
128
  import '@para-ui/icons/Refresh';
126
129
  import 'rc-drawer';
127
130
  import 'rc-dropdown';
@@ -135,7 +138,7 @@ import './_verture/sortable.esm-49896035.js';
135
138
  import '@para-ui/icons/LinkGroup';
136
139
  import '@para-ui/icons/UploadFile';
137
140
  import './_verture/intl-5c1ec055.js';
138
- import './_verture/index-19947788.js';
141
+ import './_verture/index-05f7bf11.js';
139
142
  import '@para-ui/icons/Help';
140
143
  import '@para-ui/icons/Internet';
141
144
  import 'rc-input-number';
@@ -145,9 +148,9 @@ import '@para-ui/icons/IndentLeftFill';
145
148
  import '@para-ui/icons/WarningCircleF';
146
149
  import '@para-ui/icons/CheckCircleF';
147
150
  import 'rc-dialog';
148
- import '@para-ui/icons/WarningCircle';
149
151
  import 'rc-notification';
150
152
  import 'rc-pagination';
153
+ import '@para-ui/icons/WarningCircle';
151
154
  import 'rc-progress';
152
155
  import 'rc-slider';
153
156
  import './_verture/tinycolor-ece3542d.js';
package/locale/en-US.d.ts CHANGED
@@ -5,6 +5,10 @@ declare const _default: {
5
5
  Button: {
6
6
  moreActions: string;
7
7
  };
8
+ Cascader: {
9
+ placeholder: string;
10
+ disableTilte: string;
11
+ };
8
12
  ComboSelect: {
9
13
  searchPlaceholder: string;
10
14
  cancel: string;
@@ -66,6 +70,15 @@ declare const _default: {
66
70
  click: string;
67
71
  refresh: string;
68
72
  };
73
+ FormItem: {
74
+ choseFile: string;
75
+ unEmpty: string;
76
+ maxLength: string;
77
+ minLength: string;
78
+ unRule: string;
79
+ minValue: string;
80
+ maxValue: string;
81
+ };
69
82
  Modal: {
70
83
  cancel: string;
71
84
  ok: string;
@@ -113,6 +126,9 @@ declare const _default: {
113
126
  SingleBox: {
114
127
  add: string;
115
128
  };
129
+ Switch: {
130
+ ing: string;
131
+ };
116
132
  Table: {
117
133
  empty: string;
118
134
  determine: string;
@@ -126,6 +142,9 @@ declare const _default: {
126
142
  Tabs: {
127
143
  confirmDelete: string;
128
144
  };
145
+ TextEditor: {
146
+ pleaseEnter: string;
147
+ };
129
148
  Transfer: {
130
149
  left: string;
131
150
  right: string;
package/locale/index.d.ts CHANGED
@@ -6,6 +6,10 @@ declare const _default: {
6
6
  Button: {
7
7
  moreActions: string;
8
8
  };
9
+ Cascader: {
10
+ placeholder: string;
11
+ disableTilte: string;
12
+ };
9
13
  ComboSelect: {
10
14
  searchPlaceholder: string;
11
15
  cancel: string;
@@ -67,6 +71,15 @@ declare const _default: {
67
71
  click: string;
68
72
  refresh: string;
69
73
  };
74
+ FormItem: {
75
+ choseFile: string;
76
+ unEmpty: string;
77
+ maxLength: string;
78
+ minLength: string;
79
+ unRule: string;
80
+ minValue: string;
81
+ maxValue: string;
82
+ };
70
83
  Modal: {
71
84
  cancel: string;
72
85
  ok: string;
@@ -114,6 +127,9 @@ declare const _default: {
114
127
  SingleBox: {
115
128
  add: string;
116
129
  };
130
+ Switch: {
131
+ ing: string;
132
+ };
117
133
  Table: {
118
134
  empty: string;
119
135
  determine: string;
@@ -127,6 +143,9 @@ declare const _default: {
127
143
  Tabs: {
128
144
  confirmDelete: string;
129
145
  };
146
+ TextEditor: {
147
+ pleaseEnter: string;
148
+ };
130
149
  Transfer: {
131
150
  left: string;
132
151
  right: string;
@@ -162,6 +181,10 @@ declare const _default: {
162
181
  Button: {
163
182
  moreActions: string;
164
183
  };
184
+ Cascader: {
185
+ placeholder: string;
186
+ disableTilte: string;
187
+ };
165
188
  ComboSelect: {
166
189
  searchPlaceholder: string;
167
190
  cancel: string;
@@ -223,6 +246,15 @@ declare const _default: {
223
246
  click: string;
224
247
  refresh: string;
225
248
  };
249
+ FormItem: {
250
+ choseFile: string;
251
+ unEmpty: string;
252
+ maxLength: string;
253
+ minLength: string;
254
+ unRule: string;
255
+ minValue: string;
256
+ maxValue: string;
257
+ };
226
258
  Modal: {
227
259
  cancel: string;
228
260
  ok: string;
@@ -270,6 +302,9 @@ declare const _default: {
270
302
  SingleBox: {
271
303
  add: string;
272
304
  };
305
+ Switch: {
306
+ ing: string;
307
+ };
273
308
  Table: {
274
309
  empty: string;
275
310
  determine: string;
@@ -283,6 +318,9 @@ declare const _default: {
283
318
  Tabs: {
284
319
  confirmDelete: string;
285
320
  };
321
+ TextEditor: {
322
+ pleaseEnter: string;
323
+ };
286
324
  Transfer: {
287
325
  left: string;
288
326
  right: string;
package/locale/index.js CHANGED
@@ -5,6 +5,10 @@ var enUS = {
5
5
  "Button": {
6
6
  "moreActions": "More actions"
7
7
  },
8
+ "Cascader": {
9
+ "placeholder": "Please Choose",
10
+ "disableTilte": "Disable"
11
+ },
8
12
  "ComboSelect": {
9
13
  "searchPlaceholder": "Please enter",
10
14
  "cancel": "Cancel",
@@ -66,6 +70,15 @@ var enUS = {
66
70
  "click": ",Click to ",
67
71
  "refresh": "refresh"
68
72
  },
73
+ "FormItem": {
74
+ "choseFile": "Chose File",
75
+ "unEmpty": "{label} Cannot be empty",
76
+ "maxLength": "The maximum length cannot be exceeded{len}",
77
+ "minLength": "The minimum length cannot be exceeded{len}",
78
+ "unRule": "The parameter does not comply with the validation rule {rule}",
79
+ "minValue": "The minimum value is {val}",
80
+ "maxValue": "The maximum value is {val}"
81
+ },
69
82
  "Modal": {
70
83
  "cancel": "Cancel",
71
84
  "ok": "Ok"
@@ -78,7 +91,7 @@ var enUS = {
78
91
  },
79
92
  "Pagination": {
80
93
  "total": "Total {total}",
81
- "barPage": "Bar/Page",
94
+ "barPage": " / page",
82
95
  "prevPage": "Prev",
83
96
  "nextPage": "Next",
84
97
  "jumpTo": "Go to",
@@ -113,6 +126,9 @@ var enUS = {
113
126
  "SingleBox": {
114
127
  "add": "Newly Added"
115
128
  },
129
+ "Switch": {
130
+ "ing": "In Progress"
131
+ },
116
132
  "Table": {
117
133
  "empty": "Empty",
118
134
  "determine": "Ok",
@@ -126,6 +142,9 @@ var enUS = {
126
142
  "Tabs": {
127
143
  "confirmDelete": "Are you sure delete?"
128
144
  },
145
+ "TextEditor": {
146
+ "pleaseEnter": "Please Enter"
147
+ },
129
148
  "Transfer": {
130
149
  "left": "Left",
131
150
  "right": "Right",
@@ -162,6 +181,10 @@ var zhCN = {
162
181
  "Button": {
163
182
  "moreActions": "更多操作"
164
183
  },
184
+ "Cascader": {
185
+ "placeholder": "请选择",
186
+ "disableTilte": "禁用"
187
+ },
165
188
  "ComboSelect": {
166
189
  "searchPlaceholder": "请输入",
167
190
  "cancel": "取消",
@@ -223,6 +246,15 @@ var zhCN = {
223
246
  "click": ",点击",
224
247
  "refresh": "刷新"
225
248
  },
249
+ "FormItem": {
250
+ "choseFile": "选择文件",
251
+ "unEmpty": "{label}不能为空",
252
+ "maxLength": "最大长度不能超过{len}",
253
+ "minLength": "最小长度为{len}",
254
+ "unRule": "参数不符合校验规则{rule}",
255
+ "minValue": "最小值为{val}",
256
+ "maxValue": "最大值为{val}"
257
+ },
226
258
  "Modal": {
227
259
  "cancel": "取 消",
228
260
  "ok": "确 定"
@@ -243,7 +275,7 @@ var zhCN = {
243
275
  },
244
276
  "PopConfirm": {
245
277
  "cancel": "取消",
246
- "ok": "确定"
278
+ "ok": "确认"
247
279
  },
248
280
  "Querying": {
249
281
  "querying": "数据查询中"
@@ -270,6 +302,9 @@ var zhCN = {
270
302
  "SingleBox": {
271
303
  "add": "新增"
272
304
  },
305
+ "Switch": {
306
+ "ing": "正在进行中"
307
+ },
273
308
  "Table": {
274
309
  "empty": "清空",
275
310
  "determine": "确定",
@@ -283,6 +318,9 @@ var zhCN = {
283
318
  "Tabs": {
284
319
  "confirmDelete": "确定删除吗?"
285
320
  },
321
+ "TextEditor": {
322
+ "pleaseEnter": "请输入内容"
323
+ },
286
324
  "Transfer": {
287
325
  "left": "左侧",
288
326
  "right": "右侧",
package/locale/zh-CN.d.ts CHANGED
@@ -5,6 +5,10 @@ declare const _default: {
5
5
  Button: {
6
6
  moreActions: string;
7
7
  };
8
+ Cascader: {
9
+ placeholder: string;
10
+ disableTilte: string;
11
+ };
8
12
  ComboSelect: {
9
13
  searchPlaceholder: string;
10
14
  cancel: string;
@@ -66,6 +70,15 @@ declare const _default: {
66
70
  click: string;
67
71
  refresh: string;
68
72
  };
73
+ FormItem: {
74
+ choseFile: string;
75
+ unEmpty: string;
76
+ maxLength: string;
77
+ minLength: string;
78
+ unRule: string;
79
+ minValue: string;
80
+ maxValue: string;
81
+ };
69
82
  Modal: {
70
83
  cancel: string;
71
84
  ok: string;
@@ -113,6 +126,9 @@ declare const _default: {
113
126
  SingleBox: {
114
127
  add: string;
115
128
  };
129
+ Switch: {
130
+ ing: string;
131
+ };
116
132
  Table: {
117
133
  empty: string;
118
134
  determine: string;
@@ -126,6 +142,9 @@ declare const _default: {
126
142
  Tabs: {
127
143
  confirmDelete: string;
128
144
  };
145
+ TextEditor: {
146
+ pleaseEnter: string;
147
+ };
129
148
  Transfer: {
130
149
  left: string;
131
150
  right: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@para-ui/core",
3
3
  "private": false,
4
- "version": "4.0.0-rc",
4
+ "version": "4.0.0-rc.2",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
7
7
  "description": "Powered by Para FED",
@@ -16,7 +16,7 @@
16
16
  "build:umd": "webpack --config=./config/webpack.umd.config.js",
17
17
  "npm:publish": "./publish.sh",
18
18
  "test": "jest",
19
- "test:hnj": "jest __tests__/component/Tree/OperateBar.test.tsx",
19
+ "test:hnj": "jest __tests__/component/Switch/switch.test.tsx",
20
20
  "coverage": "jest --coverage",
21
21
  "lint:script": "git diff --name-only --diff-filter=d | grep -E '(.ts$|.tsx$|.jsx$)' | xargs eslint --fix",
22
22
  "lint:style": "git diff --name-only --diff-filter=d | grep -E '(.css$|.scss$)' | xargs stylelint --fix",
@@ -28,6 +28,7 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@monaco-editor/react": "^4.6.0",
31
+ "monaco-editor": "^0.44.0",
31
32
  "@para-ui/core": "4.0.0-alpha",
32
33
  "@paraview/lib": "^2.0.3",
33
34
  "@wangeditor/editor": "^5.1.15",
@@ -71,6 +72,7 @@
71
72
  "@babel/core": "^7.18.6",
72
73
  "@babel/plugin-proposal-decorators": "^7.18.6",
73
74
  "@babel/plugin-transform-runtime": "^7.18.6",
75
+ "monaco-editor-webpack-plugin": "^7.1.0",
74
76
  "@babel/preset-env": "^7.18.6",
75
77
  "@babel/preset-react": "^7.18.6",
76
78
  "@babel/preset-typescript": "^7.18.6",
package/umd/AutoBox.js CHANGED
@@ -39,4 +39,4 @@ Xt=function(){return e};var t,e={},n=Object.prototype,o=n.hasOwnProperty,r=Objec
39
39
  *
40
40
  * This source code is licensed under the MIT license found in the
41
41
  * LICENSE file in the root directory of this source tree.
42
- */n(27418);var o=n(8156),r=60103;if(e.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;r=i("react.element"),e.Fragment=i("react.fragment")}var a=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function s(t,e,n){var o,i={},s=null,l=null;for(o in void 0!==n&&(s=""+n),void 0!==e.key&&(s=""+e.key),void 0!==e.ref&&(l=e.ref),e)u.call(e,o)&&!c.hasOwnProperty(o)&&(i[o]=e[o]);if(t&&t.defaultProps)for(o in e=t.defaultProps)void 0===i[o]&&(i[o]=e[o]);return{$$typeof:r,type:t,key:s,ref:l,props:i,_owner:a.current}}e.jsx=s,e.jsxs=s},85893:function(t,e,n){"use strict";t.exports=n(75251)},91033:function(t,e,n){"use strict";var o=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,o){return t[0]===e&&(n=o,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),o=this.__entries__[n];return o&&o[1]},e.prototype.set=function(e,n){var o=t(this.__entries__,e);~o?this.__entries__[o][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,o=t(n,e);~o&&n.splice(o,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,o=this.__entries__;n<o.length;n++){var r=o[n];t.call(e,r[1],r[0])}},e}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var u=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,s=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,o=!1,r=0;function i(){n&&(n=!1,t()),o&&c()}function u(){a(i)}function c(){var t=Date.now();if(n){if(t-r<2)return;o=!0}else n=!0,o=!1,setTimeout(u,e);r=t}return c}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;u.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),l=function(t,e){for(var n=0,o=Object.keys(e);n<o.length;n++){var r=o[n];Object.defineProperty(t,r,{value:e[r],enumerable:!1,writable:!1,configurable:!0})}return t},f=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},p=g(0,0,0,0);function d(t){return parseFloat(t)||0}function v(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+d(t["border-"+n+"-width"])}),0)}function m(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return p;var o=f(t).getComputedStyle(t),r=function(t){for(var e={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],i=t["padding-"+r];e[r]=d(i)}return e}(o),i=r.left+r.right,a=r.top+r.bottom,u=d(o.width),c=d(o.height);if("border-box"===o.boxSizing&&(Math.round(u+i)!==e&&(u-=v(o,"left","right")+i),Math.round(c+a)!==n&&(c-=v(o,"top","bottom")+a)),!function(t){return t===f(t).document.documentElement}(t)){var s=Math.round(u+i)-e,l=Math.round(c+a)-n;1!==Math.abs(s)&&(u-=s),1!==Math.abs(l)&&(c-=l)}return g(r.left,r.top,u,c)}var h="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof f(t).SVGGraphicsElement}:function(t){return t instanceof f(t).SVGElement&&"function"==typeof t.getBBox};function y(t){return r?h(t)?function(t){var e=t.getBBox();return g(0,0,e.width,e.height)}(t):m(t):p}function g(t,e,n,o){return{x:t,y:e,width:n,height:o}}var b=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=y(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),w=function(t,e){var n,o,r,i,a,u,c,s=(o=(n=e).x,r=n.y,i=n.width,a=n.height,u="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(u.prototype),l(c,{x:o,y:r,width:i,height:a,top:r,right:o+i,bottom:a+r,left:o}),c);l(this,{target:t,contentRect:s})},O=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new o,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new b(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new w(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),x="undefined"!=typeof WeakMap?new WeakMap:new o,Z=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=s.getInstance(),o=new O(e,n,this);x.set(this,o)};["observe","unobserve","disconnect"].forEach((function(t){Z.prototype[t]=function(){var e;return(e=x.get(this))[t].apply(e,arguments)}}));var E=void 0!==i.ResizeObserver?i.ResizeObserver:Z;e.default=E},43753:function(t,e,n){var o=n(93379),r=n(7388);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);t.exports=r.locals||{}},24895:function(t,e,n){var o=n(93379),r=n(95845);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);t.exports=r.locals||{}},42560:function(t,e,n){var o=n(93379),r=n(9929);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);t.exports=r.locals||{}},93379:function(t,e,n){"use strict";var o,r=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},i=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),a=[];function u(t){for(var e=-1,n=0;n<a.length;n++)if(a[n].identifier===t){e=n;break}return e}function c(t,e){for(var n={},o=[],r=0;r<t.length;r++){var i=t[r],c=e.base?i[0]+e.base:i[0],s=n[c]||0,l="".concat(c," ").concat(s);n[c]=s+1;var f=u(l),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:l,updater:h(p,e),references:1}),o.push(l)}return o}function s(t){var e=document.createElement("style"),o=t.attributes||{};if(void 0===o.nonce){var r=n.nc;r&&(o.nonce=r)}if(Object.keys(o).forEach((function(t){e.setAttribute(t,o[t])})),"function"==typeof t.insert)t.insert(e);else{var a=i(t.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var l,f=(l=[],function(t,e){return l[t]=e,l.filter(Boolean).join("\n")});function p(t,e,n,o){var r=n?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(t.styleSheet)t.styleSheet.cssText=f(e,r);else{var i=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function d(t,e,n){var o=n.css,r=n.media,i=n.sourceMap;if(r?t.setAttribute("media",r):t.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleSheet)t.styleSheet.cssText=o;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(o))}}var v=null,m=0;function h(t,e){var n,o,r;if(e.singleton){var i=m++;n=v||(v=s(e)),o=p.bind(null,n,i,!1),r=p.bind(null,n,i,!0)}else n=s(e),o=d.bind(null,n,e),r=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else r()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=r());var n=c(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var o=0;o<n.length;o++){var r=u(n[o]);a[r].references--}for(var i=c(t,e),s=0;s<n.length;s++){var l=u(n[s]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=i}}}},37464:function(t,e,n){"use strict";n.d(e,{W:function(){return o},Z:function(){return r}});var o="paraui-v4",r="component"},30356:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var o=n(8156),r=n.n(o);function i(t){var e,n,o,r,a,u,c,s,l,f=t.parentNode||t.ownerDocument,p=(null==f||null===(e=f.nodeName)||void 0===e?void 0:e.toLowerCase())||"";return["html","body","#document"].includes(p)?null==t||null===(n=t.ownerDocument)||void 0===n?void 0:n.body:(s=f,(null!=(l=window.HTMLElement)&&"undefined"!=typeof Symbol&&l[Symbol.hasInstance]?l[Symbol.hasInstance](s):s instanceof l)&&(o=f,r=window.getComputedStyle(o),a=r.overflow,u=r.overflowX,c=r.overflowY,/auto|scroll|overlay/.test(a+c+u))?f:i(f))}function a(t,e){var n=r().useRef();return r().useEffect((function(){return function(){n.current&&(n.current.style.position="")}}),[]),function(o){var r;if(e)r=e(o)||document.body;else{var a,u,c,s,l=null===(u=t.current)||void 0===u||null===(a=u.getRootDomNode)||void 0===a?void 0:a.call(u);if(l)(r=i(l)).scrollHeight<=r.clientHeight&&(r=document.body);else r=document.body;if("body"!==(null===(c=r.nodeName)||void 0===c?void 0:c.toLowerCase()))"static"===(null===(s=window.getComputedStyle(r))||void 0===s?void 0:s.position)&&(r.style.position="relative");n.current=r}return r}}},36668:function(t,e,n){"use strict";var o=n(8156),r=n.n(o),i=n(77918),a=n(37464),u=n(30356),c=n(86010);n(24895);function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t}function f(t,e){if(null==t)return{};var n,o,r=function(t,e){if(null==t)return{};var n,o,r={},i=Object.keys(t);for(o=0;o<i.length;o++)n=i[o],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)n=i[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}var p=r().forwardRef((function(t,e){var n=t.title,o=t.content,p=f(t,["title","content"]),d=r().useRef(),v=(0,u.Z)(d,t.getPopupContainer),m="".concat(a.Z,"-popover");return r().createElement(i.default,l(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){s(t,e,n[e])}))}return t}({},p),{isPopover:!0,prefixCls:m,overlayClassName:(0,c.Z)("".concat(a.W,"-popover"),t.overlayClassName),ref:d,title:function(t){return n||o?r().createElement(r().Fragment,null,n&&r().createElement("div",{className:"".concat(t,"-title")},n),r().createElement("div",{className:"".concat(t,"-inner-content")},o)):null}(m),transitionName:"".concat(a.Z,"-popover-zoom-big"),getPopupContainer:v}))}));p.displayName="Popover",p.defaultProps={placement:"bottom",trigger:"click",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrow:!1},e.default=p},77918:function(t,e,n){"use strict";n.d(e,{default:function(){return j}});var o=n(8156),r=n.n(o),i=n(79483),a=n(24375),u=n(86010),c=n(37464);function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){s(t,e,n[e])}))}return t}function f(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t}var p={adjustX:1,adjustY:1},d={adjustX:0,adjustY:0};function v(t){return"boolean"==typeof t?t?p:d:l({},d,t)}function m(t){var e=r().isValidElement(t)?t:r().createElement("span",null,t);if("button"===e.type&&e.props.disabled){var n=function(t,e){var n={},o=l({},t);return e.forEach((function(e){t&&e in t&&(n[e]=t[e],delete o[e])})),{picked:n,omitted:o}}(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),o=n.picked,i=n.omitted,a=f(l({display:"inline-block"},o),{cursor:"not-allowed",width:e.props.block?"100%":null}),s=f(l({},i),{pointerEvents:"none"}),p=r().cloneElement(e,{style:s,className:null});return r().createElement("span",{style:a,className:(0,u.Z)(e.props.className,"".concat(c.Z,"-tooltip-disabled-compatible-wrapper"))},p)}return e}function h(t){return{"bottom-end":"bottomRight","bottom-start":"bottomLeft","left-end":"leftBottom","left-start":"leftTop","right-end":"rightBottom","right-start":"rightTop","top-end":"topRight","top-start":"topLeft"}[t]||t}var y=n(30465);n(42560);function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){b(t,e,n[e])}))}return t}function O(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t}function x(t,e){if(null==t)return{};var n,o,r=function(t,e){if(null==t)return{};var n,o,r={},i=Object.keys(t);for(o=0;o<i.length;o++)n=i[o],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)n=i[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function Z(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(i.push(o.value),!e||i.length!==e);a=!0);}catch(t){u=!0,r=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw r}}return i}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var E=r().forwardRef((function(t,e){var n,o=Z(r().useState(t.defaultVisible),2),s=o[0],p=o[1],d=r().useRef(),g=r().useRef(),b=Z(r().useState([0,0]),2),E=b[0],j=b[1];r().useEffect((function(){var e;("visible"in t||"open"in t)&&p(!!(null!==(e=t.visible)&&void 0!==e?e:t.open))}),[null!==(n=t.visible)&&void 0!==n?n:t.open]);var P=function(){var e=t.title;return!e&&0!==e},C=function(){var e=t.builtinPlacements,n=t.autoAdjustOverflow;return e||function(t){var e=t.horizontalArrowShift,n=void 0===e?16:e,o=t.verticalArrowShift,r=void 0===o?8:o,i=t.autoAdjustOverflow,u={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tc"],offset:[-n,-8]},leftTop:{points:["tr","cl"],offset:[-8,-r]},topRight:{points:["br","tc"],offset:[n,-8]},rightTop:{points:["tl","cr"],offset:[8,-r]},bottomRight:{points:["tr","bc"],offset:[n,8]},rightBottom:{points:["bl","cr"],offset:[8,r]},bottomLeft:{points:["tl","bc"],offset:[-n,8]},leftBottom:{points:["br","cl"],offset:[-8,r]}};return Object.keys(u).forEach((function(t){var e,n;u[t]=f(l({},a.Ct[t]),{offset:(e=t,n=h(e),{left:{offset:[-8,0]},right:{offset:[8,0]},top:{offset:[0,-8]},bottom:{offset:[0,8]},topLeft:{offset:[0,-8]},leftTop:{offset:[-8,0]},topRight:{offset:[0,-8]},rightTop:{offset:[8,0]},bottomRight:{offset:[0,8]},rightBottom:{offset:[8,0]},bottomLeft:{offset:[0,8]},leftBottom:{offset:[-8,0]}}[n]).offset,overflow:v(i)}),u[t].ignoreShake=!0})),u}({autoAdjustOverflow:n})},S=t.prefixCls,k=void 0===S?"".concat(c.Z,"-tooltip"):S,T=t.getPopupContainer,M=t.overlayClassName,_=t.overlayInnerStyle,D=t.overlayStyle,L=t.children,A=t.title,R=t.placement,N=t.isPopover,z=t.followCursor,H=t.maxWidth,V=t.disabled,B=x(t,["prefixCls","getPopupContainer","overlayClassName","overlayInnerStyle","overlayStyle","children","title","placement","isPopover","followCursor","maxWidth","disabled"]),I=s;"visible"in t||"open"in t||!P()||(I=!1);var W=(0,u.Z)(!N&&"".concat(c.W,"-tooltip"),M),F=w({},D);return H&&(F.maxWidth=H),r().createElement(i.Z,O(w({},B),{prefixCls:k,placement:z?"top":h(R),overlayClassName:W,getTooltipContainer:T,ref:e||g,builtinPlacements:C(),overlay:r().createElement(r().Fragment,null,V&&r().createElement(y.Z,{className:"disabled-svg"}),A),visible:I,align:{targetOffset:E},onVisibleChange:function(e){var n;("visible"in t||"open"in t||p(!P()&&e),P())||(null===(n=t.onVisibleChange)||void 0===n||n.call(t,e))},onPopupAlign:function(t,e){var n=C(),o=Object.keys(n).find((function(t){return n[t].points[0]===e.points[0]&&n[t].points[1]===e.points[1]}));if(o){var r=t.getBoundingClientRect(),i={top:"50%",left:"50%"};o.indexOf("top")>=0||o.indexOf("Bottom")>=0?i.top="".concat(r.height-e.offset[1],"px"):(o.indexOf("Top")>=0||o.indexOf("bottom")>=0)&&(i.top="".concat(-e.offset[1],"px")),o.indexOf("left")>=0||o.indexOf("Right")>=0?i.left="".concat(r.width-e.offset[0],"px"):(o.indexOf("right")>=0||o.indexOf("Left")>=0)&&(i.left="".concat(-e.offset[0],"px")),t.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayStyle:F,overlayInnerStyle:_,arrowContent:null,motion:{motionName:"".concat(c.Z,"-tooltip-zoom-big-fast"),motionDeadline:1e3}}),z?r().createElement("div",{style:{display:"inline-block"},ref:d,onMouseMove:function(t){if(d.current){var e,n,o,r,i=(null===(r=g.current)||void 0===r||null===(o=r.popupRef)||void 0===o||null===(n=o.current)||void 0===n||null===(e=n.getElement())||void 0===e?void 0:e.offsetHeight)||0,a=0===i?60:30,u=d.current.getBoundingClientRect(),c=u.x,s=u.y,l=u.width,f=t.clientX-(c+l/2),p=t.clientY-s+i+a;setTimeout((function(){j([-f,-p])}))}}},m(L)):m(L))}));E.displayName="Tooltip",E.defaultProps={placement:"topLeft",mouseEnterDelay:.1,mouseLeaveDelay:.1,autoAdjustOverflow:!0,defaultVisible:!1,followCursor:!1,maxWidth:500};var j=E},58543:function(t){"use strict";t.exports=n},8156:function(e){"use strict";e.exports=t},47111:function(t){"use strict";t.exports=e},30907:function(t,e,n){"use strict";function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}n.d(e,{Z:function(){return o}})},83878:function(t,e,n){"use strict";function o(t){if(Array.isArray(t))return t}n.d(e,{Z:function(){return o}})},97326:function(t,e,n){"use strict";function o(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,{Z:function(){return o}})},15861:function(t,e,n){"use strict";function o(t,e,n,o,r,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(o,r)}function r(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function u(t){o(a,r,i,u,c,"next",t)}function c(t){o(a,r,i,u,c,"throw",t)}u(void 0)}))}}n.d(e,{Z:function(){return r}})},15671:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,{Z:function(){return o}})},43144:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var o=n(67343);function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(0,o.Z)(r.key),r)}}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}},29388:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var o=n(61120),r=n(78814),i=n(82963);function a(t){var e=(0,r.Z)();return function(){var n,r=(0,o.Z)(t);if(e){var a=(0,o.Z)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,i.Z)(this,n)}}},4942:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var o=n(67343);function r(t,e,n){return(e=(0,o.Z)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},87462:function(t,e,n){"use strict";function o(){return o=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},o.apply(this,arguments)}n.d(e,{Z:function(){return o}})},61120:function(t,e,n){"use strict";function o(t){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},o(t)}n.d(e,{Z:function(){return o}})},60136:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var o=n(89611);function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&(0,o.Z)(t,e)}},78814:function(t,e,n){"use strict";function o(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}n.d(e,{Z:function(){return o}})},31902:function(t,e,n){"use strict";function o(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(u.push(o.value),u.length!==e);c=!0);}catch(t){s=!0,r=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return u}}n.d(e,{Z:function(){return o}})},25267:function(t,e,n){"use strict";function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(e,{Z:function(){return o}})},1413:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var o=n(4942);function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},45987:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var o=n(63366);function r(t,e){if(null==t)return{};var n,r,i=(0,o.Z)(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}},63366:function(t,e,n){"use strict";function o(t,e){if(null==t)return{};var n,o,r={},i=Object.keys(t);for(o=0;o<i.length;o++)n=i[o],e.indexOf(n)>=0||(r[n]=t[n]);return r}n.d(e,{Z:function(){return o}})},82963:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var o=n(71002),r=n(97326);function i(t,e){if(e&&("object"===(0,o.Z)(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(t)}},89611:function(t,e,n){"use strict";function o(t,e){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},o(t,e)}n.d(e,{Z:function(){return o}})},93324:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var o=n(83878),r=n(31902),i=n(40181),a=n(25267);function u(t,e){return(0,o.Z)(t)||(0,r.Z)(t,e)||(0,i.Z)(t,e)||(0,a.Z)()}},35512:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var o=n(71002);function r(t,e){if("object"!==(0,o.Z)(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==(0,o.Z)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}},67343:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var o=n(71002),r=n(35512);function i(t){var e=(0,r.Z)(t,"string");return"symbol"===(0,o.Z)(e)?e:String(e)}},71002:function(t,e,n){"use strict";function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}n.d(e,{Z:function(){return o}})},40181:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var o=n(30907);function r(t,e){if(t){if("string"==typeof t)return(0,o.Z)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,o.Z)(t,e):void 0}}}},r={};function i(t){var e=r[t];if(void 0!==e)return e.exports;var n=r[t]={id:t,exports:{}};return o[t](n,n.exports,i),n.exports}i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nc=void 0;var a={};return function(){"use strict";i.r(a),i.d(a,{AutoBox:function(){return h},default:function(){return y}});var t=i(8156),e=i.n(t),n=i(36668),o=i(47111),r=i(58543),u=i(37464);function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function s(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(i.push(o.value),!e||i.length!==e);a=!0);}catch(t){u=!0,r=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw r}}return i}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var l=function(n){var i=n.children,a=n.className,c=n.anchorEl,l=n.onClose,f=s((0,t.useState)({}),2),p=f[0],d=f[1],v=(0,t.useRef)({uuid:u.W+"-protal-box-content-"+(0,r.UUID)()}),m=(0,t.useRef)(),h=(0,t.useRef)();(0,t.useEffect)((function(){return b(),window.addEventListener("click",g),function(){m&&m.current&&m.current.remove(),window.removeEventListener("click",g)}}),[]);var y,g=function(t){v.current&&(function(t,e){for(var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;t&&!n.call(t,e);)t=t.parentElement;return t}(t.target,"."+v.current.uuid)||l&&l())},b=function(){if(c&&h.current){var t=c.getBoundingClientRect(),e=h.current.getBoundingClientRect(),n={opacity:1,left:t.left,top:t.top+t.height},o=window.innerHeight,r=window.innerWidth;n.left+e.width>r&&(n.left=r-e.width-8,n.left<0&&(n.left=0)),n.top+e.height>o&&(n.top=o-e.height-8,n.top<0&&(n.top=0)),d(n)}};return e().createElement(e().Fragment,null,(0,o.createPortal)(e().createElement("div",{className:(y=u.W+"-protal-box",a&&(y+=" "+a),y),ref:m},e().createElement("div",{className:"protal-mask"}),e().createElement("div",{className:"protal-content "+v.current.uuid,style:p,ref:h},i)),document.getElementsByTagName("body")[0]))},f=i(85893),p=i(97435),d=function(t){return(0,f.jsx)(p.l,Object.assign({dataName:"More",viewBox:"0 0 24 24",path:(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)("g",Object.assign({id:"More",transform:"translate(-140 -354)"},{children:[(0,f.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(140 354)",fill:"none"}),(0,f.jsx)("path",{id:"icon",d:"M14.8,1.6a1.6,1.6,0,1,1,1.6,1.6A1.6,1.6,0,0,1,14.8,1.6Zm-7.4,0A1.6,1.6,0,1,1,9,3.2,1.6,1.6,0,0,1,7.4,1.6ZM0,1.6A1.6,1.6,0,1,1,1.6,3.2,1.6,1.6,0,0,1,0,1.6Z",transform:"translate(143 364.4)"})]}))})},t))};i(43753);function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function m(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(i.push(o.value),!e||i.length!==e);a=!0);}catch(t){u=!0,r=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw r}}return i}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return v(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var h=function(o){var r=o.className,i=o.list,a=void 0===i?[]:i,c=o.popoverClassName,s=o.moreCustomize,f=o.anchorEl,p=o.hideMore,v=void 0!==p&&p,h=o.showNum,y=o.onCloseMore,g=o.onShowMore,b=o.style,w=o.trigger,O=void 0===w?"click":w,x=o.placement,Z=void 0===x?"bottomLeft":x,E=(0,t.useRef)(null),j=m((0,t.useState)(null),2),P=j[0],C=j[1],S=m((0,t.useState)(!1),2),k=S[0],T=S[1],M=m((0,t.useState)({}),1)[0],_=(0,t.useRef)();(0,t.useEffect)((function(){void 0!==o.openMore&&T(o.openMore)}),[o.openMore]),(0,t.useEffect)((function(){if(void 0===o.showNum)return N(),window.addEventListener("resize",N),function(){window.removeEventListener("resize",N),clearTimeout(M.timer)}}),[a]),(0,t.useEffect)((function(){void 0!==h&&(C(h),window.removeEventListener("resize",N))}),[h]),(0,t.useEffect)((function(){null!==P&&a.length>P?g&&g(!0):g&&g(!1)}),[a,P,g]);var D,L=function(t){if(t)return T(!0);A()},A=function(){T(!1),y&&y()},R=function(t){if(null!==t&&0!==t){void 0===t&&(t=a.length);var e=E.current;if(e)if(e.scrollWidth>e.clientWidth){var n=Number(t)-1;C(n),R(n)}else a.length<=t&&A()}},N=function(){clearTimeout(M.timer),A(),M.timer=setTimeout((function(){C(a.length),R()}),100)},z=function(){var t=u.W+"-auto-box-popover";return c&&(t+=" "+c),t},H=function(){return e().createElement("div",{className:"auto-box-popover-content"},a&&a.map((function(n,o){return null!==P&&P>o?null:e().createElement(t.Fragment,{key:o},n)})))};return e().createElement("div",{className:(D=u.W+"-auto-box",r&&(D+=" "+r),D),style:b,ref:E},a.map((function(n,o){return null!==P&&P<=o?null:e().createElement(t.Fragment,{key:o},n)})),function(){if(null!==P&&a.length>P&&!v){return e().createElement(n.default,{open:k,content:H(),overlayClassName:z(),placement:Z,trigger:O,onVisibleChange:L},e().createElement("div",{className:"auto-box-more",ref:_},s?"function"==typeof s?s(P):s:e().createElement(d,null)))}}(),function(){if(f&&k)return e().createElement(l,{className:z(),anchorEl:f,onClose:A},H())}())},y=h}(),a}()}));
42
+ */n(27418);var o=n(8156),r=60103;if(e.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;r=i("react.element"),e.Fragment=i("react.fragment")}var a=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function s(t,e,n){var o,i={},s=null,l=null;for(o in void 0!==n&&(s=""+n),void 0!==e.key&&(s=""+e.key),void 0!==e.ref&&(l=e.ref),e)u.call(e,o)&&!c.hasOwnProperty(o)&&(i[o]=e[o]);if(t&&t.defaultProps)for(o in e=t.defaultProps)void 0===i[o]&&(i[o]=e[o]);return{$$typeof:r,type:t,key:s,ref:l,props:i,_owner:a.current}}e.jsx=s,e.jsxs=s},85893:function(t,e,n){"use strict";t.exports=n(75251)},91033:function(t,e,n){"use strict";var o=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,o){return t[0]===e&&(n=o,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),o=this.__entries__[n];return o&&o[1]},e.prototype.set=function(e,n){var o=t(this.__entries__,e);~o?this.__entries__[o][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,o=t(n,e);~o&&n.splice(o,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,o=this.__entries__;n<o.length;n++){var r=o[n];t.call(e,r[1],r[0])}},e}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var u=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,s=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,o=!1,r=0;function i(){n&&(n=!1,t()),o&&c()}function u(){a(i)}function c(){var t=Date.now();if(n){if(t-r<2)return;o=!0}else n=!0,o=!1,setTimeout(u,e);r=t}return c}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;u.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),l=function(t,e){for(var n=0,o=Object.keys(e);n<o.length;n++){var r=o[n];Object.defineProperty(t,r,{value:e[r],enumerable:!1,writable:!1,configurable:!0})}return t},f=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},p=g(0,0,0,0);function d(t){return parseFloat(t)||0}function v(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+d(t["border-"+n+"-width"])}),0)}function m(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return p;var o=f(t).getComputedStyle(t),r=function(t){for(var e={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],i=t["padding-"+r];e[r]=d(i)}return e}(o),i=r.left+r.right,a=r.top+r.bottom,u=d(o.width),c=d(o.height);if("border-box"===o.boxSizing&&(Math.round(u+i)!==e&&(u-=v(o,"left","right")+i),Math.round(c+a)!==n&&(c-=v(o,"top","bottom")+a)),!function(t){return t===f(t).document.documentElement}(t)){var s=Math.round(u+i)-e,l=Math.round(c+a)-n;1!==Math.abs(s)&&(u-=s),1!==Math.abs(l)&&(c-=l)}return g(r.left,r.top,u,c)}var h="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof f(t).SVGGraphicsElement}:function(t){return t instanceof f(t).SVGElement&&"function"==typeof t.getBBox};function y(t){return r?h(t)?function(t){var e=t.getBBox();return g(0,0,e.width,e.height)}(t):m(t):p}function g(t,e,n,o){return{x:t,y:e,width:n,height:o}}var b=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=y(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),w=function(t,e){var n,o,r,i,a,u,c,s=(o=(n=e).x,r=n.y,i=n.width,a=n.height,u="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(u.prototype),l(c,{x:o,y:r,width:i,height:a,top:r,right:o+i,bottom:a+r,left:o}),c);l(this,{target:t,contentRect:s})},O=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new o,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new b(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new w(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),x="undefined"!=typeof WeakMap?new WeakMap:new o,Z=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=s.getInstance(),o=new O(e,n,this);x.set(this,o)};["observe","unobserve","disconnect"].forEach((function(t){Z.prototype[t]=function(){var e;return(e=x.get(this))[t].apply(e,arguments)}}));var E=void 0!==i.ResizeObserver?i.ResizeObserver:Z;e.default=E},43753:function(t,e,n){var o=n(93379),r=n(7388);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);t.exports=r.locals||{}},24895:function(t,e,n){var o=n(93379),r=n(95845);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);t.exports=r.locals||{}},42560:function(t,e,n){var o=n(93379),r=n(9929);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);t.exports=r.locals||{}},93379:function(t,e,n){"use strict";var o,r=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},i=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),a=[];function u(t){for(var e=-1,n=0;n<a.length;n++)if(a[n].identifier===t){e=n;break}return e}function c(t,e){for(var n={},o=[],r=0;r<t.length;r++){var i=t[r],c=e.base?i[0]+e.base:i[0],s=n[c]||0,l="".concat(c," ").concat(s);n[c]=s+1;var f=u(l),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:l,updater:h(p,e),references:1}),o.push(l)}return o}function s(t){var e=document.createElement("style"),o=t.attributes||{};if(void 0===o.nonce){var r=n.nc;r&&(o.nonce=r)}if(Object.keys(o).forEach((function(t){e.setAttribute(t,o[t])})),"function"==typeof t.insert)t.insert(e);else{var a=i(t.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var l,f=(l=[],function(t,e){return l[t]=e,l.filter(Boolean).join("\n")});function p(t,e,n,o){var r=n?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(t.styleSheet)t.styleSheet.cssText=f(e,r);else{var i=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function d(t,e,n){var o=n.css,r=n.media,i=n.sourceMap;if(r?t.setAttribute("media",r):t.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleSheet)t.styleSheet.cssText=o;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(o))}}var v=null,m=0;function h(t,e){var n,o,r;if(e.singleton){var i=m++;n=v||(v=s(e)),o=p.bind(null,n,i,!1),r=p.bind(null,n,i,!0)}else n=s(e),o=d.bind(null,n,e),r=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else r()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=r());var n=c(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var o=0;o<n.length;o++){var r=u(n[o]);a[r].references--}for(var i=c(t,e),s=0;s<n.length;s++){var l=u(n[s]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=i}}}},37464:function(t,e,n){"use strict";n.d(e,{W:function(){return o},Z:function(){return r}});var o="paraui-v4",r="component"},30356:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var o=n(8156),r=n.n(o);function i(t){var e,n,o,r,a,u,c,s,l,f=t.parentNode||t.ownerDocument,p=(null==f||null===(e=f.nodeName)||void 0===e?void 0:e.toLowerCase())||"";return["html","body","#document"].includes(p)?null==t||null===(n=t.ownerDocument)||void 0===n?void 0:n.body:(s=f,(null!=(l=window.HTMLElement)&&"undefined"!=typeof Symbol&&l[Symbol.hasInstance]?l[Symbol.hasInstance](s):s instanceof l)&&(o=f,r=window.getComputedStyle(o),a=r.overflow,u=r.overflowX,c=r.overflowY,/auto|scroll|overlay/.test(a+c+u))?f:i(f))}function a(t,e){var n=r().useRef();return r().useEffect((function(){return function(){n.current&&(n.current.style.position="")}}),[]),function(o){var r;if(e)r=e(o)||document.body;else{var a,u,c,s,l=null===(u=t.current)||void 0===u||null===(a=u.getRootDomNode)||void 0===a?void 0:a.call(u);if(l)(r=i(l)).scrollHeight<=r.clientHeight&&(r=document.body);else r=document.body;if("body"!==(null===(c=r.nodeName)||void 0===c?void 0:c.toLowerCase()))"static"===(null===(s=window.getComputedStyle(r))||void 0===s?void 0:s.position)&&(r.style.position="relative");n.current=r}return r}}},36668:function(t,e,n){"use strict";var o=n(8156),r=n.n(o),i=n(77918),a=n(37464),u=n(30356),c=n(86010);n(24895);function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t}function f(t,e){if(null==t)return{};var n,o,r=function(t,e){if(null==t)return{};var n,o,r={},i=Object.keys(t);for(o=0;o<i.length;o++)n=i[o],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)n=i[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}var p=r().forwardRef((function(t,e){var n=t.title,o=t.content,p=f(t,["title","content"]),d=r().useRef(),v=(0,u.Z)(d,t.getPopupContainer),m="".concat(a.Z,"-popover");return r().createElement(i.default,l(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){s(t,e,n[e])}))}return t}({},p),{isPopover:!0,prefixCls:m,overlayClassName:(0,c.Z)("".concat(a.W,"-popover"),t.overlayClassName),ref:d,title:function(t){return n||o?r().createElement(r().Fragment,null,n&&r().createElement("div",{className:"".concat(t,"-title")},n),r().createElement("div",{className:"".concat(t,"-inner-content")},o)):null}(m),transitionName:"".concat(a.Z,"-popover-zoom-big"),getPopupContainer:v}))}));p.displayName="Popover",p.defaultProps={placement:"bottom",trigger:"click",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrow:!1},e.default=p},77918:function(t,e,n){"use strict";n.d(e,{default:function(){return j}});var o=n(8156),r=n.n(o),i=n(79483),a=n(24375),u=n(86010),c=n(37464);function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){s(t,e,n[e])}))}return t}function f(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t}var p={adjustX:1,adjustY:1},d={adjustX:0,adjustY:0};function v(t){return"boolean"==typeof t?t?p:d:l({},d,t)}function m(t){var e=r().isValidElement(t)?t:r().createElement("span",null,t);if("button"===e.type&&e.props.disabled){var n=function(t,e){var n={},o=l({},t);return e.forEach((function(e){t&&e in t&&(n[e]=t[e],delete o[e])})),{picked:n,omitted:o}}(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),o=n.picked,i=n.omitted,a=f(l({display:"inline-block"},o),{cursor:"not-allowed",width:e.props.block?"100%":null}),s=f(l({},i),{pointerEvents:"none"}),p=r().cloneElement(e,{style:s,className:null});return r().createElement("span",{style:a,className:(0,u.Z)(e.props.className,"".concat(c.Z,"-tooltip-disabled-compatible-wrapper"))},p)}return e}function h(t){return{"bottom-end":"bottomRight","bottom-start":"bottomLeft","left-end":"leftBottom","left-start":"leftTop","right-end":"rightBottom","right-start":"rightTop","top-end":"topRight","top-start":"topLeft"}[t]||t}var y=n(30465);n(42560);function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){b(t,e,n[e])}))}return t}function O(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t}function x(t,e){if(null==t)return{};var n,o,r=function(t,e){if(null==t)return{};var n,o,r={},i=Object.keys(t);for(o=0;o<i.length;o++)n=i[o],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)n=i[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function Z(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(i.push(o.value),!e||i.length!==e);a=!0);}catch(t){u=!0,r=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw r}}return i}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var E=r().forwardRef((function(t,e){var n,o=Z(r().useState(t.defaultVisible),2),s=o[0],p=o[1],d=r().useRef(),g=r().useRef(),b=Z(r().useState([0,0]),2),E=b[0],j=b[1];r().useEffect((function(){var e;("visible"in t||"open"in t)&&p(!!(null!==(e=t.visible)&&void 0!==e?e:t.open))}),[null!==(n=t.visible)&&void 0!==n?n:t.open]);var P=function(){var e=t.title;return!e&&0!==e},C=function(){var e=t.builtinPlacements,n=t.autoAdjustOverflow;return e||function(t){var e=t.horizontalArrowShift,n=void 0===e?16:e,o=t.verticalArrowShift,r=void 0===o?8:o,i=t.autoAdjustOverflow,u={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tc"],offset:[-n,-8]},leftTop:{points:["tr","cl"],offset:[-8,-r]},topRight:{points:["br","tc"],offset:[n,-8]},rightTop:{points:["tl","cr"],offset:[8,-r]},bottomRight:{points:["tr","bc"],offset:[n,8]},rightBottom:{points:["bl","cr"],offset:[8,r]},bottomLeft:{points:["tl","bc"],offset:[-n,8]},leftBottom:{points:["br","cl"],offset:[-8,r]}};return Object.keys(u).forEach((function(t){var e,n;u[t]=f(l({},a.Ct[t]),{offset:(e=t,n=h(e),{left:{offset:[-8,0]},right:{offset:[8,0]},top:{offset:[0,-8]},bottom:{offset:[0,8]},topLeft:{offset:[0,-8]},leftTop:{offset:[-8,0]},topRight:{offset:[0,-8]},rightTop:{offset:[8,0]},bottomRight:{offset:[0,8]},rightBottom:{offset:[8,0]},bottomLeft:{offset:[0,8]},leftBottom:{offset:[-8,0]}}[n]).offset,overflow:v(i)}),u[t].ignoreShake=!0})),u}({autoAdjustOverflow:n})},S=t.prefixCls,k=void 0===S?"".concat(c.Z,"-tooltip"):S,T=t.getPopupContainer,M=t.overlayClassName,_=t.overlayInnerStyle,D=t.overlayStyle,L=t.children,A=t.title,R=t.placement,N=t.isPopover,z=t.followCursor,H=t.maxWidth,V=t.disabled,B=x(t,["prefixCls","getPopupContainer","overlayClassName","overlayInnerStyle","overlayStyle","children","title","placement","isPopover","followCursor","maxWidth","disabled"]),I=s;"visible"in t||"open"in t||!P()||(I=!1);var W=(0,u.Z)(!N&&"".concat(c.W,"-tooltip"),M),F=w({},D);return H&&(F.maxWidth=H),r().createElement(i.Z,O(w({},B),{prefixCls:k,placement:z?"top":h(R),overlayClassName:W,getTooltipContainer:T,ref:e||g,builtinPlacements:C(),overlay:r().createElement(r().Fragment,null,V&&r().createElement(y.Z,{className:"disabled-svg"}),A),visible:I,align:{targetOffset:E},onVisibleChange:function(e){var n;("visible"in t||"open"in t||p(!P()&&e),P())||(null===(n=t.onVisibleChange)||void 0===n||n.call(t,e))},onPopupAlign:function(t,e){var n=C(),o=Object.keys(n).find((function(t){return n[t].points[0]===e.points[0]&&n[t].points[1]===e.points[1]}));if(o){var r=t.getBoundingClientRect(),i={top:"50%",left:"50%"};o.indexOf("top")>=0||o.indexOf("Bottom")>=0?i.top="".concat(r.height-e.offset[1],"px"):(o.indexOf("Top")>=0||o.indexOf("bottom")>=0)&&(i.top="".concat(-e.offset[1],"px")),o.indexOf("left")>=0||o.indexOf("Right")>=0?i.left="".concat(r.width-e.offset[0],"px"):(o.indexOf("right")>=0||o.indexOf("Left")>=0)&&(i.left="".concat(-e.offset[0],"px")),t.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayStyle:F,overlayInnerStyle:_,arrowContent:null,motion:{motionName:"".concat(c.Z,"-tooltip-zoom-big-fast"),motionDeadline:1e3}}),z?r().createElement("div",{style:{display:"inline-block"},ref:d,onMouseMove:function(t){if(d.current){var e,n,o,r,i=(null===(r=g.current)||void 0===r||null===(o=r.popupRef)||void 0===o||null===(n=o.current)||void 0===n||null===(e=n.getElement())||void 0===e?void 0:e.offsetHeight)||0,a=0===i?60:30,u=d.current.getBoundingClientRect(),c=u.x,s=u.y,l=u.width,f=t.clientX-(c+l/2),p=t.clientY-s+i+a;setTimeout((function(){j([-f,-p])}))}}},m(L)):m(L))}));E.displayName="Tooltip",E.defaultProps={placement:"topLeft",mouseEnterDelay:.1,mouseLeaveDelay:.1,autoAdjustOverflow:!0,defaultVisible:!1,followCursor:!1,maxWidth:500};var j=E},58543:function(t){"use strict";t.exports=n},8156:function(e){"use strict";e.exports=t},47111:function(t){"use strict";t.exports=e},30907:function(t,e,n){"use strict";function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}n.d(e,{Z:function(){return o}})},83878:function(t,e,n){"use strict";function o(t){if(Array.isArray(t))return t}n.d(e,{Z:function(){return o}})},97326:function(t,e,n){"use strict";function o(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,{Z:function(){return o}})},15861:function(t,e,n){"use strict";function o(t,e,n,o,r,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(o,r)}function r(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function u(t){o(a,r,i,u,c,"next",t)}function c(t){o(a,r,i,u,c,"throw",t)}u(void 0)}))}}n.d(e,{Z:function(){return r}})},15671:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,{Z:function(){return o}})},43144:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var o=n(67343);function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(0,o.Z)(r.key),r)}}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}},29388:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var o=n(61120),r=n(78814),i=n(82963);function a(t){var e=(0,r.Z)();return function(){var n,r=(0,o.Z)(t);if(e){var a=(0,o.Z)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,i.Z)(this,n)}}},4942:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var o=n(67343);function r(t,e,n){return(e=(0,o.Z)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},87462:function(t,e,n){"use strict";function o(){return o=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},o.apply(this,arguments)}n.d(e,{Z:function(){return o}})},61120:function(t,e,n){"use strict";function o(t){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},o(t)}n.d(e,{Z:function(){return o}})},60136:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var o=n(89611);function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&(0,o.Z)(t,e)}},78814:function(t,e,n){"use strict";function o(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}n.d(e,{Z:function(){return o}})},31902:function(t,e,n){"use strict";function o(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(u.push(o.value),u.length!==e);c=!0);}catch(t){s=!0,r=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return u}}n.d(e,{Z:function(){return o}})},25267:function(t,e,n){"use strict";function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(e,{Z:function(){return o}})},1413:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var o=n(4942);function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},45987:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var o=n(63366);function r(t,e){if(null==t)return{};var n,r,i=(0,o.Z)(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}},63366:function(t,e,n){"use strict";function o(t,e){if(null==t)return{};var n,o,r={},i=Object.keys(t);for(o=0;o<i.length;o++)n=i[o],e.indexOf(n)>=0||(r[n]=t[n]);return r}n.d(e,{Z:function(){return o}})},82963:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var o=n(71002),r=n(97326);function i(t,e){if(e&&("object"===(0,o.Z)(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(t)}},89611:function(t,e,n){"use strict";function o(t,e){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},o(t,e)}n.d(e,{Z:function(){return o}})},93324:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var o=n(83878),r=n(31902),i=n(40181),a=n(25267);function u(t,e){return(0,o.Z)(t)||(0,r.Z)(t,e)||(0,i.Z)(t,e)||(0,a.Z)()}},35512:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var o=n(71002);function r(t,e){if("object"!==(0,o.Z)(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==(0,o.Z)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}},67343:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var o=n(71002),r=n(35512);function i(t){var e=(0,r.Z)(t,"string");return"symbol"===(0,o.Z)(e)?e:String(e)}},71002:function(t,e,n){"use strict";function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}n.d(e,{Z:function(){return o}})},40181:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var o=n(30907);function r(t,e){if(t){if("string"==typeof t)return(0,o.Z)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,o.Z)(t,e):void 0}}}},r={};function i(t){var e=r[t];if(void 0!==e)return e.exports;var n=r[t]={id:t,exports:{}};return o[t](n,n.exports,i),n.exports}i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nc=void 0;var a={};return function(){"use strict";i.r(a),i.d(a,{AutoBox:function(){return h},default:function(){return y}});var t=i(8156),e=i.n(t),n=i(36668),o=i(47111),r=i(58543),u=i(37464);function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function s(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(i.push(o.value),!e||i.length!==e);a=!0);}catch(t){u=!0,r=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw r}}return i}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var l=function(n){var i=n.children,a=n.className,c=n.anchorEl,l=n.onClose,f=s((0,t.useState)({}),2),p=f[0],d=f[1],v=(0,t.useRef)({uuid:"".concat(u.W,"-protal-box-content-").concat((0,r.UUID)())}),m=(0,t.useRef)(),h=(0,t.useRef)();(0,t.useEffect)((function(){return b(),window.addEventListener("click",g),function(){m&&m.current&&m.current.remove(),window.removeEventListener("click",g)}}),[]);var y,g=function(t){v.current&&(function(t,e){for(var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;t&&!n.call(t,e);)t=t.parentElement;return t}(t.target,".".concat(v.current.uuid))||l&&l())},b=function(){if(c&&h.current){var t=c.getBoundingClientRect(),e=h.current.getBoundingClientRect(),n={opacity:1,left:t.left,top:t.top+t.height},o=window.innerHeight,r=window.innerWidth;n.left+e.width>r&&(n.left=r-e.width-8,n.left<0&&(n.left=0)),n.top+e.height>o&&(n.top=o-e.height-8,n.top<0&&(n.top=0)),d(n)}};return e().createElement(e().Fragment,null,(0,o.createPortal)(e().createElement("div",{className:(y="".concat(u.W,"-protal-box"),a&&(y+=" ".concat(a)),y),ref:m},e().createElement("div",{className:"protal-mask"}),e().createElement("div",{className:"protal-content ".concat(v.current.uuid),style:p,ref:h},i)),document.getElementsByTagName("body")[0]))},f=i(85893),p=i(97435),d=function(t){return(0,f.jsx)(p.l,Object.assign({dataName:"More",viewBox:"0 0 24 24",path:(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)("g",Object.assign({id:"More",transform:"translate(-140 -354)"},{children:[(0,f.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(140 354)",fill:"none"}),(0,f.jsx)("path",{id:"icon",d:"M14.8,1.6a1.6,1.6,0,1,1,1.6,1.6A1.6,1.6,0,0,1,14.8,1.6Zm-7.4,0A1.6,1.6,0,1,1,9,3.2,1.6,1.6,0,0,1,7.4,1.6ZM0,1.6A1.6,1.6,0,1,1,1.6,3.2,1.6,1.6,0,0,1,0,1.6Z",transform:"translate(143 364.4)"})]}))})},t))};i(43753);function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function m(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(i.push(o.value),!e||i.length!==e);a=!0);}catch(t){u=!0,r=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw r}}return i}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return v(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var h=function(o){var r=o.className,i=o.list,a=void 0===i?[]:i,c=o.popoverClassName,s=o.moreCustomize,f=o.anchorEl,p=o.hideMore,v=void 0!==p&&p,h=o.showNum,y=o.onCloseMore,g=o.onShowMore,b=o.style,w=o.trigger,O=void 0===w?"click":w,x=o.placement,Z=void 0===x?"bottomLeft":x,E=(0,t.useRef)(null),j=m((0,t.useState)(null),2),P=j[0],C=j[1],S=m((0,t.useState)(!1),2),k=S[0],T=S[1],M=m((0,t.useState)({}),1)[0],_=(0,t.useRef)();(0,t.useEffect)((function(){void 0!==o.openMore&&T(o.openMore)}),[o.openMore]),(0,t.useEffect)((function(){if(void 0===o.showNum)return N(),window.addEventListener("resize",N),function(){window.removeEventListener("resize",N),clearTimeout(M.timer)}}),[a]),(0,t.useEffect)((function(){void 0!==h&&(C(h),window.removeEventListener("resize",N))}),[h]),(0,t.useEffect)((function(){null!==P&&a.length>P?g&&g(!0):g&&g(!1)}),[a,P,g]);var D,L=function(t){if(t)return T(!0);A()},A=function(){T(!1),y&&y()},R=function(t){if(null!==t&&0!==t){void 0===t&&(t=a.length);var e=E.current;if(e)if(e.scrollWidth>e.clientWidth){var n=Number(t)-1;C(n),R(n)}else a.length<=t&&A()}},N=function(){clearTimeout(M.timer),A(),M.timer=setTimeout((function(){C(a.length),R()}),100)},z=function(){var t="".concat(u.W,"-auto-box-popover");return c&&(t+=" ".concat(c)),t},H=function(){return e().createElement("div",{className:"auto-box-popover-content"},a&&a.map((function(n,o){return null!==P&&P>o?null:e().createElement(t.Fragment,{key:o},n)})))};return e().createElement("div",{className:(D="".concat(u.W,"-auto-box"),r&&(D+=" ".concat(r)),D),style:b,ref:E},a.map((function(n,o){return null!==P&&P<=o?null:e().createElement(t.Fragment,{key:o},n)})),function(){if(null!==P&&a.length>P&&!v){return e().createElement(n.default,{open:k,content:H(),overlayClassName:z(),placement:Z,trigger:O,onVisibleChange:L},e().createElement("div",{className:"auto-box-more",ref:_},s?"function"==typeof s?s(P):s:e().createElement(d,null)))}}(),function(){if(f&&k)return e().createElement(l,{className:z(),anchorEl:f,onClose:A},H())}())},y=h}(),a}()}));