@unicom-cloud/ui 0.8.82 → 0.8.84

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 (1074) hide show
  1. package/Affix.js +1 -1
  2. package/Alert.js +1 -1
  3. package/AutoComplete.js +2 -2
  4. package/BackTop.js +2 -2
  5. package/Badge.js +1 -1
  6. package/Breadcrumb.js +2 -2
  7. package/Button.js +1 -1
  8. package/Calendar.js +4 -4
  9. package/Card.js +1 -1
  10. package/Carousel.js +1 -1
  11. package/Cascader.js +1 -1
  12. package/Checkbox.js +1 -1
  13. package/Collapse.js +1 -1
  14. package/ColorPicker.js +2 -2
  15. package/Comment.js +1 -1
  16. package/ConfigProvider.js +1 -1
  17. package/Copy.js +1 -1
  18. package/DatePicker.js +1 -1
  19. package/Descriptions.js +1 -1
  20. package/Development.js +8 -0
  21. package/Divider.js +1 -1
  22. package/Draggable.js +1 -1
  23. package/Dropdown.js +1 -1
  24. package/Empty.js +2 -4
  25. package/Icon.js +1 -1
  26. package/IconHover.js +1 -1
  27. package/Image.js +1 -1
  28. package/Input.js +9 -9
  29. package/InputNumber.js +1 -1
  30. package/Layout.js +1 -1
  31. package/Link.js +1 -1
  32. package/List.js +2 -2
  33. package/Mentions.js +2 -2
  34. package/Menu.js +1 -1
  35. package/Message.js +1 -1
  36. package/Modal.js +1 -1
  37. package/Notice.js +1 -1
  38. package/Notification.js +1 -1
  39. package/OverflowEllipsis.js +1 -1
  40. package/PageHeader.js +1 -1
  41. package/Pagination.js +1 -1
  42. package/Popconfirm.js +1 -1
  43. package/Popover.js +1 -1
  44. package/Progress.js +1 -1
  45. package/Radio.js +1 -1
  46. package/Rate.js +1 -1
  47. package/ResizeBox.js +1 -1
  48. package/Result.js +1 -1
  49. package/Select.js +1 -1
  50. package/Skeleton.js +1 -1
  51. package/Slider.js +1 -1
  52. package/Space.js +1 -1
  53. package/SpeechSynthesis.js +2 -44
  54. package/Spin.js +1 -1
  55. package/Statistic.js +2 -2
  56. package/Steps.js +1 -1
  57. package/Switch.js +1 -1
  58. package/Table.js +1 -1
  59. package/Tabs.js +1 -1
  60. package/Tag.js +1 -1
  61. package/Tooltip.js +1 -1
  62. package/Transfer.js +2 -2
  63. package/Tree.js +1 -1
  64. package/TreeSelect.js +1 -1
  65. package/Trigger.js +1 -1
  66. package/Typography.js +1 -1
  67. package/affix/index.js +1 -1
  68. package/alert/index.js +1 -1
  69. package/anchor/Anchor.js +1 -1
  70. package/anchor/Link.js +1 -1
  71. package/anchor/util.js +1 -1
  72. package/auto-complete/index.js +2 -2
  73. package/avatar/Avatar.js +1 -1
  74. package/avatar/Group.js +1 -1
  75. package/back-top/index.js +9 -9
  76. package/badge/index.js +1 -1
  77. package/breadcrumb/index.js +2 -2
  78. package/button/Group.js +1 -1
  79. package/button/index.js +1 -1
  80. package/calendar/Month.js +2 -2
  81. package/calendar/Year.js +11 -11
  82. package/calendar/index.js +4 -4
  83. package/card/Grid.js +1 -1
  84. package/card/Meta.js +1 -1
  85. package/card/index.js +1 -1
  86. package/carousel/Arrow.js +1 -1
  87. package/carousel/Indicator.js +1 -1
  88. package/carousel/index.js +1 -1
  89. package/cascader/Cascader.js +2 -2
  90. package/cascader/index.js +1 -1
  91. package/cascader/util.js +1 -1
  92. package/checkbox/Checkbox.js +2 -2
  93. package/checkbox/Group.js +2 -2
  94. package/checkbox/GroupBlock.js +2 -2
  95. package/checkbox/index.js +2 -2
  96. package/chunk/{dKvAiKxr.js → B1kymbJZ.js} +2 -2
  97. package/chunk/B44Hj5ad.js +697 -0
  98. package/chunk/B6r8jPCd.js +6 -0
  99. package/chunk/{BZ9g7J4R.js → BC2OXILt.js} +1 -1
  100. package/chunk/{DfrB26fI.js → BJjotfW6.js} +1 -1
  101. package/chunk/{uKZyjtff.js → BNevupAU.js} +4 -5
  102. package/chunk/BRPQJFSI.js +649 -0
  103. package/chunk/{D0338Pbq.js → BZJwzdhZ.js} +1 -1
  104. package/chunk/C7bohPVD.js +185 -0
  105. package/chunk/{w221i0nK.js → DO3k0z6J.js} +2803 -2791
  106. package/chunk/Doi4-DdV.js +1472 -0
  107. package/chunk/{CQI1gsQs.js → DuWBv5j3.js} +1 -1
  108. package/chunk/DzekwbB4.js +53 -0
  109. package/collapse/Collapse.js +2 -2
  110. package/collapse/Item.js +2 -2
  111. package/collapse/index.js +1 -1
  112. package/color-picker/ControlBar.js +1 -1
  113. package/color-picker/InputAlpha.js +1 -1
  114. package/color-picker/InputHex.js +4 -4
  115. package/color-picker/InputRgb.js +3 -3
  116. package/color-picker/Palette.js +1 -1
  117. package/color-picker/Panel.js +2 -2
  118. package/color-picker/index.js +2 -2
  119. package/comment/index.js +1 -1
  120. package/config-provider/ConfigProvider.js +6 -5
  121. package/config-provider/context.js +1 -1
  122. package/config-provider/index.js +2 -2
  123. package/copy/index.js +1 -1
  124. package/date-picker/Picker.js +2 -2
  125. package/date-picker/RangePicker.js +3 -3
  126. package/date-picker/index.js +1 -1
  127. package/date-picker/util.js +1 -1
  128. package/descriptions/index.js +1 -1
  129. package/development/index.js +42 -0
  130. package/divider/index.js +1 -1
  131. package/draggable/index.js +1 -1
  132. package/drawer/Drawer.js +153 -152
  133. package/dropdown/Button.js +1 -1
  134. package/dropdown/index.js +1 -1
  135. package/empty/index.js +2 -4
  136. package/form/Form.js +1 -1
  137. package/form/FormItem.js +1 -1
  138. package/form/context.js +1 -1
  139. package/grid/Col.js +1 -1
  140. package/grid/Row.js +1 -1
  141. package/grid/grid-item.js +1 -1
  142. package/grid/grid.js +1 -1
  143. package/icon/index.js +1 -1
  144. package/icon-hover/index.js +1 -1
  145. package/image/Image.js +2 -2
  146. package/image/ImagePreview.js +2 -2
  147. package/image/ImagePreviewArrow.js +1 -1
  148. package/image/ImagePreviewGroup.js +1 -1
  149. package/image/index.js +1 -1
  150. package/index.js +447 -442
  151. package/input/Button.js +11 -0
  152. package/input/Group.js +1 -1
  153. package/input/Input.js +456 -400
  154. package/input/InputElement.js +1 -1
  155. package/input/Password.js +1 -1
  156. package/input/Search.js +1 -1
  157. package/input/Textarea.js +1 -1
  158. package/input/index.js +12 -12
  159. package/input-number/index.js +1 -1
  160. package/input-tag/InputTag.js +1 -1
  161. package/layout/Content.js +1 -1
  162. package/layout/Footer.js +1 -1
  163. package/layout/Header.js +1 -1
  164. package/layout/Sider.js +1 -1
  165. package/layout/index.js +1 -1
  166. package/link/index.js +1 -1
  167. package/list/Item.js +1 -1
  168. package/list/Meta.js +1 -1
  169. package/list/index.js +2 -2
  170. package/mentions/index.js +2 -2
  171. package/menu/Menu.js +2 -2
  172. package/menu/OverflowWrap.js +1 -1
  173. package/menu/index.js +2 -2
  174. package/message/index.js +1 -1
  175. package/message/useMessage.js +1 -1
  176. package/modal/Confirm.js +2 -2
  177. package/modal/Modal.js +2 -2
  178. package/modal/index.js +1 -1
  179. package/notice/index.js +1 -1
  180. package/notification/index.js +1 -1
  181. package/notification/useNotification.js +1 -1
  182. package/overflow-ellipsis/OverflowItem.js +1 -1
  183. package/overflow-ellipsis/index.js +1 -1
  184. package/package.json +1 -1
  185. package/page-header/index.js +1 -1
  186. package/pagination/PageItem.js +1 -1
  187. package/pagination/PageJumper.js +4 -4
  188. package/pagination/PageOption.js +2 -2
  189. package/pagination/Pagination.js +2 -2
  190. package/pagination/index.js +1 -1
  191. package/picker/Input.js +1 -1
  192. package/picker/InputRange.js +1 -1
  193. package/popconfirm/index.js +1 -1
  194. package/popover/index.js +1 -1
  195. package/progress/index.js +1 -1
  196. package/radio/Group.js +2 -2
  197. package/radio/GroupBlock.js +2 -2
  198. package/radio/Radio.js +2 -2
  199. package/radio/index.js +2 -2
  200. package/rate/index.js +1 -1
  201. package/resize-box/ResizeTrigger.js +1 -1
  202. package/resize-box/Split.js +1 -1
  203. package/resize-box/SplitGroup.js +1 -1
  204. package/resize-box/index.js +1 -1
  205. package/result/index.js +1 -1
  206. package/select/Option.js +1 -1
  207. package/select/Select.js +2 -2
  208. package/select/index.js +2 -2
  209. package/select/util.js +1 -1
  210. package/select-view/Core.js +77 -77
  211. package/skeleton/index.js +1 -1
  212. package/slider/Button.js +1 -1
  213. package/slider/index.js +59 -59
  214. package/space/index.js +1 -1
  215. package/speech-synthesis/index.js +41 -83
  216. package/spin/DotLoading.js +1 -1
  217. package/spin/index.js +1 -1
  218. package/statistic/Countdown.js +2 -2
  219. package/statistic/index.js +18 -18
  220. package/steps/index.js +1 -1
  221. package/style.css +1 -1
  222. package/switch/index.js +1 -1
  223. package/table/Table.js +3 -3
  224. package/table/index.js +1 -1
  225. package/tabs/Tab.js +2 -2
  226. package/tabs/TabContent.js +2 -2
  227. package/tabs/TabPane.js +1 -1
  228. package/tabs/index.js +2 -2
  229. package/tag/index.js +1 -1
  230. package/time-picker/Picker.js +92 -90
  231. package/time-picker/RangePicker.js +1 -1
  232. package/time-picker/TimePicker.js +2 -2
  233. package/time-picker/util.js +6 -6
  234. package/timeline/Item.js +1 -1
  235. package/timeline/Timeline.js +1 -1
  236. package/tooltip/index.js +1 -1
  237. package/transfer/Item.js +2 -2
  238. package/transfer/List.js +2 -2
  239. package/transfer/index.js +2 -2
  240. package/tree/Animation.js +2 -2
  241. package/tree/Node.js +2 -2
  242. package/tree/NodeList.js +1 -1
  243. package/tree/Tree.js +2 -2
  244. package/tree/index.js +1 -1
  245. package/tree/util.js +34 -34
  246. package/tree-select/List.js +1 -1
  247. package/tree-select/Select.js +2 -2
  248. package/tree-select/index.js +2 -2
  249. package/trigger/index.js +1 -1
  250. package/types/common/assets/hourglass.d.ts +2 -0
  251. package/types/common/development/index.d.ts +2 -0
  252. package/types/common/empty/index.d.ts +4 -0
  253. package/types/common/empty/interface.d.ts +24 -0
  254. package/types/common/higher-order/with-speech-synthesis/index.d.ts +2 -0
  255. package/types/common/hooks/useComputedState.d.ts +4 -0
  256. package/types/common/hooks/useCreate.d.ts +2 -0
  257. package/types/common/hooks/useForceUpdate.d.ts +16 -0
  258. package/types/common/hooks/useId.d.ts +6 -0
  259. package/types/common/hooks/useInView.d.ts +11 -0
  260. package/types/common/hooks/useIntersectionObserver.d.ts +7 -0
  261. package/types/common/hooks/useInterval.d.ts +2 -0
  262. package/types/common/hooks/useIsFirstRender.d.ts +2 -0
  263. package/types/common/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
  264. package/types/common/hooks/useKeyboardEvent.d.ts +8 -0
  265. package/types/common/hooks/useListenResize.d.ts +18 -0
  266. package/types/common/hooks/useMedia.d.ts +2 -0
  267. package/types/common/hooks/useMergeProps.d.ts +5 -0
  268. package/types/common/hooks/useMergeValue.d.ts +6 -0
  269. package/types/common/hooks/useOnlineStatus.d.ts +2 -0
  270. package/types/common/hooks/useOverflowHidden.d.ts +5 -0
  271. package/types/common/hooks/useOverrideRef.d.ts +6 -0
  272. package/types/common/hooks/usePersistCallback.d.ts +2 -0
  273. package/types/common/hooks/usePrefersColorSchemeDark.d.ts +2 -0
  274. package/types/common/hooks/usePrevious.d.ts +3 -0
  275. package/types/common/hooks/useRefs.d.ts +2 -0
  276. package/types/common/hooks/useResizeObserver.d.ts +6 -0
  277. package/types/common/hooks/useStateCallback.d.ts +5 -0
  278. package/types/common/hooks/useStateWithPromise.d.ts +2 -0
  279. package/types/common/hooks/useUpdateEffect.d.ts +19 -0
  280. package/types/common/hooks/useWatch.d.ts +3 -0
  281. package/types/common/hooks/useWindowSize.d.ts +18 -0
  282. package/types/common/utils/PqbCSSTransition.d.ts +4 -0
  283. package/types/common/utils/caseName.d.ts +1 -0
  284. package/types/common/utils/className.d.ts +1 -0
  285. package/types/common/utils/constant.d.ts +2 -0
  286. package/types/{utils → common/utils}/copy.d.ts +1 -1
  287. package/types/common/utils/dayjs.d.ts +22 -0
  288. package/types/common/utils/dom.d.ts +12 -0
  289. package/types/common/utils/fileToURL.d.ts +1 -0
  290. package/types/common/utils/fillNBSP.d.ts +3 -0
  291. package/types/common/utils/getHighlightText.d.ts +7 -0
  292. package/types/common/utils/getHotkeyHandler.d.ts +18 -0
  293. package/types/common/utils/getStringLength.d.ts +3 -0
  294. package/types/common/utils/include.d.ts +3 -0
  295. package/types/common/utils/is.d.ts +17 -0
  296. package/types/common/utils/lodash.d.ts +17 -0
  297. package/types/common/utils/mergeProps.d.ts +3 -0
  298. package/types/common/utils/mergedToString.d.ts +4 -0
  299. package/types/common/utils/omit.d.ts +3 -0
  300. package/types/common/utils/pad.d.ts +2 -0
  301. package/types/common/utils/pick.d.ts +6 -0
  302. package/types/common/utils/react19Adapter.d.ts +1 -0
  303. package/types/common/utils/reactDOM.d.ts +14 -0
  304. package/types/common/utils/resizeObserverEffect.d.ts +2 -0
  305. package/types/common/utils/saveAs.d.ts +1 -0
  306. package/types/common/utils/screenfull.d.ts +1 -0
  307. package/types/common/utils/scrollIntoView.d.ts +4 -0
  308. package/types/common/utils/setTheme.d.ts +2 -0
  309. package/types/common/utils/style.d.ts +3 -0
  310. package/types/common/utils/throttleByRaf.d.ts +6 -0
  311. package/types/common/utils/warning.d.ts +3 -0
  312. package/types/pc/affix/interface.d.ts +52 -0
  313. package/types/pc/alert/interface.d.ts +66 -0
  314. package/types/pc/anchor/interface.d.ts +105 -0
  315. package/types/{anchor → pc/anchor}/util.d.ts +1 -1
  316. package/types/pc/auto-complete/interface.d.ts +127 -0
  317. package/types/pc/avatar/interface.d.ts +95 -0
  318. package/types/pc/back-top/interface.d.ts +42 -0
  319. package/types/pc/badge/interface.d.ts +66 -0
  320. package/types/pc/breadcrumb/interface.d.ts +78 -0
  321. package/types/{button → pc/button}/index.d.ts +2 -2
  322. package/types/pc/button/interface.d.ts +115 -0
  323. package/types/pc/calendar/hook/useCellClassName.d.ts +2 -0
  324. package/types/pc/calendar/interface.d.ts +122 -0
  325. package/types/pc/card/interface.d.ts +99 -0
  326. package/types/pc/carousel/interface.d.ts +144 -0
  327. package/types/{cascader → pc/cascader}/base/node.d.ts +30 -0
  328. package/types/{cascader → pc/cascader}/base/store.d.ts +17 -0
  329. package/types/pc/cascader/interface.d.ts +308 -0
  330. package/types/pc/checkbox/interface.d.ts +102 -0
  331. package/types/{checkbox → pc/checkbox}/useCheckbox.d.ts +9 -0
  332. package/types/pc/collapse/interface.d.ts +111 -0
  333. package/types/{color-picker → pc/color-picker}/hooks/useColorPicker.d.ts +2 -2
  334. package/types/pc/color-picker/interface.d.ts +149 -0
  335. package/types/pc/comment/interface.d.ts +41 -0
  336. package/types/{config-provider → pc/config-provider}/interface.d.ts +71 -0
  337. package/types/pc/date-picker/RangePicker.d.ts +3 -0
  338. package/types/pc/date-picker/hook/useCellClassName.d.ts +2 -0
  339. package/types/pc/date-picker/interface.d.ts +518 -0
  340. package/types/pc/descriptions/interface.d.ts +79 -0
  341. package/types/pc/development/index.d.ts +2 -0
  342. package/types/pc/divider/interface.d.ts +21 -0
  343. package/types/{draggable → pc/draggable}/interface.d.ts +2 -0
  344. package/types/pc/drawer/interface.d.ts +181 -0
  345. package/types/pc/dropdown/interface.d.ts +110 -0
  346. package/types/pc/empty/index.d.ts +4 -0
  347. package/types/pc/empty/interface.d.ts +8 -0
  348. package/types/{form → pc/form}/Control.d.ts +8 -0
  349. package/types/{form → pc/form}/hook/useContext.d.ts +3 -0
  350. package/types/pc/form/interface.d.ts +544 -0
  351. package/types/{form → pc/form}/store.d.ts +10 -0
  352. package/types/pc/grid/interface.d.ts +239 -0
  353. package/types/{hooks → pc/hooks}/use-verification-code/interface.d.ts +41 -0
  354. package/types/pc/hooks/use-watermark/interface.d.ts +81 -0
  355. package/types/pc/hooks/useComputedState.d.ts +1 -0
  356. package/types/pc/hooks/useCreate.d.ts +1 -0
  357. package/types/pc/hooks/useForceUpdate.d.ts +1 -0
  358. package/types/pc/hooks/useId.d.ts +1 -0
  359. package/types/pc/hooks/useInView.d.ts +1 -0
  360. package/types/pc/hooks/useIntersectionObserver.d.ts +1 -0
  361. package/types/pc/hooks/useInterval.d.ts +1 -0
  362. package/types/pc/hooks/useIsFirstRender.d.ts +1 -0
  363. package/types/pc/hooks/useIsomorphicLayoutEffect.d.ts +1 -0
  364. package/types/pc/hooks/useKeyboardEvent.d.ts +1 -0
  365. package/types/pc/hooks/useListenResize.d.ts +1 -0
  366. package/types/pc/hooks/useMedia.d.ts +1 -0
  367. package/types/pc/hooks/useMergeProps.d.ts +2 -0
  368. package/types/pc/hooks/useMergeValue.d.ts +1 -0
  369. package/types/pc/hooks/useOnlineStatus.d.ts +1 -0
  370. package/types/pc/hooks/useOverflowHidden.d.ts +1 -0
  371. package/types/pc/hooks/useOverrideRef.d.ts +1 -0
  372. package/types/pc/hooks/usePersistCallback.d.ts +1 -0
  373. package/types/pc/hooks/usePrefersColorSchemeDark.d.ts +1 -0
  374. package/types/pc/hooks/usePrevious.d.ts +1 -0
  375. package/types/pc/hooks/useRefs.d.ts +1 -0
  376. package/types/pc/hooks/useResizeObserver.d.ts +1 -0
  377. package/types/pc/hooks/useStateCallback.d.ts +1 -0
  378. package/types/pc/hooks/useStateWithPromise.d.ts +1 -0
  379. package/types/pc/hooks/useUpdateEffect.d.ts +1 -0
  380. package/types/pc/hooks/useWatch.d.ts +1 -0
  381. package/types/pc/hooks/useWindowSize.d.ts +1 -0
  382. package/types/pc/image/interface.d.ts +275 -0
  383. package/types/{index.d.ts → pc/index.d.ts} +2 -1
  384. package/types/pc/input/Button.d.ts +5 -0
  385. package/types/{input → pc/input}/Input.d.ts +9 -7
  386. package/types/{input → pc/input}/Textarea.d.ts +3 -0
  387. package/types/{input → pc/input}/index.d.ts +2 -2
  388. package/types/pc/input/interface.d.ts +344 -0
  389. package/types/{input-number → pc/input-number}/decimal.d.ts +5 -0
  390. package/types/pc/input-number/interface.d.ts +141 -0
  391. package/types/{input-number → pc/input-number}/util.d.ts +15 -0
  392. package/types/pc/input-tag/interface.d.ts +215 -0
  393. package/types/pc/layout/interface.d.ts +121 -0
  394. package/types/pc/link/interface.d.ts +30 -0
  395. package/types/pc/list/interface.d.ts +192 -0
  396. package/types/pc/mentions/interface.d.ts +92 -0
  397. package/types/{menu → pc/menu}/context.d.ts +1 -1
  398. package/types/pc/menu/interface.d.ts +233 -0
  399. package/types/pc/message/interface.d.ts +84 -0
  400. package/types/pc/modal/interface.d.ts +186 -0
  401. package/types/pc/notification/interface.d.ts +78 -0
  402. package/types/pc/page-header/interface.d.ts +49 -0
  403. package/types/{pagination → pc/pagination}/PageItem.d.ts +11 -0
  404. package/types/pc/pagination/interface.d.ts +134 -0
  405. package/types/pc/popconfirm/interface.d.ts +114 -0
  406. package/types/{popover → pc/popover}/interface.d.ts +12 -0
  407. package/types/{portal → pc/portal}/Portal.d.ts +1 -0
  408. package/types/{portal → pc/portal}/index.d.ts +1 -0
  409. package/types/pc/progress/interface.d.ts +92 -0
  410. package/types/pc/radio/interface.d.ts +103 -0
  411. package/types/pc/rate/interface.d.ts +70 -0
  412. package/types/{resize-box → pc/resize-box}/ResizeTrigger.d.ts +6 -0
  413. package/types/pc/resize-box/interface.d.ts +264 -0
  414. package/types/pc/result/interface.d.ts +35 -0
  415. package/types/pc/select/interface.d.ts +321 -0
  416. package/types/{select → pc/select}/util.d.ts +2 -1
  417. package/types/pc/select-view/interface.d.ts +151 -0
  418. package/types/{skeleton → pc/skeleton}/interface.d.ts +26 -0
  419. package/types/pc/slider/interface.d.ts +122 -0
  420. package/types/pc/space/interface.d.ts +38 -0
  421. package/types/pc/spin/interface.d.ts +50 -0
  422. package/types/pc/statistic/interface.d.ts +139 -0
  423. package/types/pc/steps/interface.d.ts +124 -0
  424. package/types/pc/switch/interface.d.ts +65 -0
  425. package/types/{table → pc/table}/hook/useThResizable.d.ts +1 -1
  426. package/types/pc/table/interface.d.ts +713 -0
  427. package/types/pc/tabs/interface.d.ts +217 -0
  428. package/types/pc/tag/interface.d.ts +76 -0
  429. package/types/pc/time-picker/interface.d.ts +244 -0
  430. package/types/pc/timeline/interface.d.ts +95 -0
  431. package/types/pc/tooltip/interface.d.ts +92 -0
  432. package/types/pc/transfer/interface.d.ts +225 -0
  433. package/types/pc/tree/interface.d.ts +354 -0
  434. package/types/pc/tree-select/interface.d.ts +211 -0
  435. package/types/pc/trigger/interface.d.ts +247 -0
  436. package/types/pc/typography/interface.d.ts +262 -0
  437. package/types/pc/upload/interface.d.ts +337 -0
  438. package/types/pc/utils/PqbCSSTransition.d.ts +3 -0
  439. package/types/pc/utils/caseName.d.ts +3 -0
  440. package/types/pc/utils/className.d.ts +3 -0
  441. package/types/pc/utils/constant.d.ts +4 -0
  442. package/types/pc/utils/copy.d.ts +3 -0
  443. package/types/{utils → pc/utils}/dayjs.d.ts +1 -1
  444. package/types/{utils → pc/utils}/dom.d.ts +1 -1
  445. package/types/pc/utils/fileToURL.d.ts +3 -0
  446. package/types/pc/utils/fillNBSP.d.ts +3 -0
  447. package/types/pc/utils/getHighlightText.d.ts +3 -0
  448. package/types/pc/utils/getHotkeyHandler.d.ts +4 -0
  449. package/types/pc/utils/getStringLength.d.ts +3 -0
  450. package/types/pc/utils/include.d.ts +3 -0
  451. package/types/{utils → pc/utils}/index.d.ts +1 -0
  452. package/types/{utils → pc/utils}/is.d.ts +1 -1
  453. package/types/pc/utils/keyboardCode.d.ts +4 -0
  454. package/types/{utils → pc/utils}/lodash.d.ts +1 -1
  455. package/types/pc/utils/mergeProps.d.ts +3 -0
  456. package/types/pc/utils/mergedToString.d.ts +3 -0
  457. package/types/{utils → pc/utils}/names.d.ts +6 -0
  458. package/types/pc/utils/omit.d.ts +3 -0
  459. package/types/pc/utils/pad.d.ts +1 -0
  460. package/types/pc/utils/pick.d.ts +3 -0
  461. package/types/pc/utils/react19Adapter.d.ts +1 -0
  462. package/types/pc/utils/reactDOM.d.ts +1 -0
  463. package/types/pc/utils/resizeObserverEffect.d.ts +2 -0
  464. package/types/pc/utils/saveAs.d.ts +3 -0
  465. package/types/pc/utils/screenfull.d.ts +3 -0
  466. package/types/{utils → pc/utils}/scrollIntoView.d.ts +1 -1
  467. package/types/pc/utils/setDarkTheme.d.ts +3 -0
  468. package/types/pc/utils/setPrimaryColor.d.ts +2 -0
  469. package/types/pc/utils/setTheme.d.ts +2 -0
  470. package/types/pc/utils/style.d.ts +1 -0
  471. package/types/pc/utils/throttleByRaf.d.ts +1 -0
  472. package/types/pc/utils/throttleByRaf2.d.ts +1 -0
  473. package/types/pc/utils/tinycolor.d.ts +1 -0
  474. package/types/pc/utils/type.d.ts +1 -0
  475. package/types/pc/utils/warning.d.ts +1 -0
  476. package/types/pc/verification-code/interface.d.ts +80 -0
  477. package/types/{virtual-list → pc/virtual-list}/Filler.d.ts +5 -0
  478. package/types/{virtual-list → pc/virtual-list}/VirtualList.d.ts +1 -0
  479. package/types/pc/virtual-list/util/algorithm.d.ts +23 -0
  480. package/types/{virtual-list → pc/virtual-list}/util/item.d.ts +31 -0
  481. package/types/pc/watermark/interface.d.ts +70 -0
  482. package/typography/Base.js +1 -1
  483. package/typography/Ellipsis.js +11 -10
  484. package/typography/Paragraph.js +1 -1
  485. package/typography/Typography.js +1 -1
  486. package/typography/index.js +1 -1
  487. package/upload/TriggerNode.js +1 -1
  488. package/upload/Upload.js +1 -1
  489. package/upload/request.js +1 -1
  490. package/upload/request_.js +1 -1
  491. package/utils/constant.js +5 -5
  492. package/utils/contextHolder.js +1 -1
  493. package/utils/dayjs.js +1 -1
  494. package/utils/dom.js +1 -1
  495. package/utils/index.js +114 -112
  496. package/utils/names.js +4 -0
  497. package/utils/setDarkTheme.js +23 -22
  498. package/utils/setPrimaryColor.js +21 -20
  499. package/utils/setTheme.js +9 -0
  500. package/utils/tween.js +1 -1
  501. package/utils/type.js +1 -4
  502. package/verification-code/VerificationCode.js +1 -1
  503. package/version/index.js +1 -1
  504. package/watermark/Watermark.js +1 -1
  505. package/chunk/CmMehQON.js +0 -1464
  506. package/chunk/Cplu5dtQ.js +0 -730
  507. package/chunk/D0ZWT7db.js +0 -5
  508. package/chunk/DXDbeIai.js +0 -648
  509. package/chunk/tamGhTJp.js +0 -186
  510. package/types/affix/interface.d.ts +0 -12
  511. package/types/affix/style/index.d.ts +0 -2
  512. package/types/alert/interface.d.ts +0 -17
  513. package/types/alert/style/index.d.ts +0 -2
  514. package/types/anchor/interface.d.ts +0 -24
  515. package/types/anchor/style/index.d.ts +0 -3
  516. package/types/auto-complete/interface.d.ts +0 -36
  517. package/types/auto-complete/style/index.d.ts +0 -4
  518. package/types/avatar/interface.d.ts +0 -24
  519. package/types/avatar/style/index.d.ts +0 -3
  520. package/types/back-top/interface.d.ts +0 -11
  521. package/types/back-top/style/index.d.ts +0 -2
  522. package/types/badge/interface.d.ts +0 -18
  523. package/types/badge/style/index.d.ts +0 -2
  524. package/types/breadcrumb/interface.d.ts +0 -31
  525. package/types/breadcrumb/style/index.d.ts +0 -3
  526. package/types/button/interface.d.ts +0 -37
  527. package/types/button/style/index.d.ts +0 -2
  528. package/types/calendar/hook/useCellClassName.d.ts +0 -2
  529. package/types/calendar/interface.d.ts +0 -41
  530. package/types/calendar/style/index.d.ts +0 -4
  531. package/types/card/interface.d.ts +0 -32
  532. package/types/card/style/index.d.ts +0 -3
  533. package/types/carousel/interface.d.ts +0 -52
  534. package/types/carousel/style/index.d.ts +0 -2
  535. package/types/cascader/interface.d.ts +0 -105
  536. package/types/cascader/style/index.d.ts +0 -6
  537. package/types/checkbox/interface.d.ts +0 -36
  538. package/types/checkbox/style/index.d.ts +0 -2
  539. package/types/collapse/interface.d.ts +0 -27
  540. package/types/collapse/style/index.d.ts +0 -2
  541. package/types/color-picker/interface.d.ts +0 -61
  542. package/types/color-picker/style/index.d.ts +0 -4
  543. package/types/comment/interface.d.ts +0 -14
  544. package/types/comment/style/index.d.ts +0 -2
  545. package/types/config-provider/style/index.d.ts +0 -2
  546. package/types/copy/style/index.d.ts +0 -3
  547. package/types/date-picker/RangePicker.d.ts +0 -3
  548. package/types/date-picker/hook/useCellClassName.d.ts +0 -2
  549. package/types/date-picker/interface.d.ts +0 -167
  550. package/types/date-picker/style/index.d.ts +0 -7
  551. package/types/descriptions/interface.d.ts +0 -29
  552. package/types/descriptions/style/index.d.ts +0 -2
  553. package/types/divider/interface.d.ts +0 -8
  554. package/types/divider/style/index.d.ts +0 -2
  555. package/types/draggable/style/index.d.ts +0 -2
  556. package/types/drawer/interface.d.ts +0 -46
  557. package/types/drawer/style/index.d.ts +0 -3
  558. package/types/dropdown/interface.d.ts +0 -29
  559. package/types/dropdown/style/index.d.ts +0 -4
  560. package/types/empty/index.d.ts +0 -5
  561. package/types/empty/interface.d.ts +0 -8
  562. package/types/empty/style/index.d.ts +0 -2
  563. package/types/form/interface.d.ts +0 -228
  564. package/types/form/style/index.d.ts +0 -3
  565. package/types/grid/interface.d.ts +0 -76
  566. package/types/grid/style/index.d.ts +0 -2
  567. package/types/hooks/use-watermark/interface.d.ts +0 -22
  568. package/types/hooks/useComputedState.d.ts +0 -1
  569. package/types/hooks/useCreate.d.ts +0 -1
  570. package/types/hooks/useForceUpdate.d.ts +0 -1
  571. package/types/hooks/useId.d.ts +0 -1
  572. package/types/hooks/useInView.d.ts +0 -1
  573. package/types/hooks/useIntersectionObserver.d.ts +0 -1
  574. package/types/hooks/useInterval.d.ts +0 -1
  575. package/types/hooks/useIsFirstRender.d.ts +0 -1
  576. package/types/hooks/useIsomorphicLayoutEffect.d.ts +0 -1
  577. package/types/hooks/useKeyboardEvent.d.ts +0 -1
  578. package/types/hooks/useListenResize.d.ts +0 -1
  579. package/types/hooks/useMedia.d.ts +0 -1
  580. package/types/hooks/useMergeProps.d.ts +0 -1
  581. package/types/hooks/useMergeValue.d.ts +0 -1
  582. package/types/hooks/useOnlineStatus.d.ts +0 -1
  583. package/types/hooks/useOverflowHidden.d.ts +0 -1
  584. package/types/hooks/useOverrideRef.d.ts +0 -1
  585. package/types/hooks/usePersistCallback.d.ts +0 -1
  586. package/types/hooks/usePrefersColorSchemeDark.d.ts +0 -1
  587. package/types/hooks/usePrevious.d.ts +0 -1
  588. package/types/hooks/useRefs.d.ts +0 -1
  589. package/types/hooks/useResizeObserver.d.ts +0 -1
  590. package/types/hooks/useStateCallback.d.ts +0 -1
  591. package/types/hooks/useStateWithPromise.d.ts +0 -1
  592. package/types/hooks/useUpdateEffect.d.ts +0 -1
  593. package/types/hooks/useWatch.d.ts +0 -1
  594. package/types/hooks/useWindowSize.d.ts +0 -1
  595. package/types/icon/style/index.d.ts +0 -2
  596. package/types/icon-hover/style/index.d.ts +0 -2
  597. package/types/image/interface.d.ts +0 -59
  598. package/types/image/style/index.d.ts +0 -2
  599. package/types/input/interface.d.ts +0 -93
  600. package/types/input/style/index.d.ts +0 -3
  601. package/types/input-number/interface.d.ts +0 -37
  602. package/types/input-number/style/index.d.ts +0 -3
  603. package/types/input-tag/interface.d.ts +0 -60
  604. package/types/input-tag/style/index.d.ts +0 -3
  605. package/types/layout/interface.d.ts +0 -39
  606. package/types/layout/style/index.d.ts +0 -4
  607. package/types/link/interface.d.ts +0 -9
  608. package/types/link/style/index.d.ts +0 -2
  609. package/types/list/interface.d.ts +0 -57
  610. package/types/list/style/index.d.ts +0 -6
  611. package/types/loading/style/index.d.ts +0 -2
  612. package/types/mentions/interface.d.ts +0 -26
  613. package/types/mentions/style/index.d.ts +0 -2
  614. package/types/menu/interface.d.ts +0 -77
  615. package/types/menu/style/index.d.ts +0 -4
  616. package/types/message/interface.d.ts +0 -31
  617. package/types/message/style/index.d.ts +0 -2
  618. package/types/modal/interface.d.ts +0 -57
  619. package/types/modal/style/index.d.ts +0 -3
  620. package/types/notice/style/index.d.ts +0 -2
  621. package/types/notification/interface.d.ts +0 -27
  622. package/types/notification/style/index.d.ts +0 -2
  623. package/types/page-header/interface.d.ts +0 -14
  624. package/types/page-header/style/index.d.ts +0 -3
  625. package/types/pagination/interface.d.ts +0 -35
  626. package/types/pagination/style/index.d.ts +0 -4
  627. package/types/picker/style/index.d.ts +0 -2
  628. package/types/popconfirm/interface.d.ts +0 -28
  629. package/types/popconfirm/style/index.d.ts +0 -5
  630. package/types/popover/style/index.d.ts +0 -3
  631. package/types/portal/style/index.d.ts +0 -2
  632. package/types/progress/interface.d.ts +0 -22
  633. package/types/progress/style/index.d.ts +0 -3
  634. package/types/radio/interface.d.ts +0 -39
  635. package/types/radio/style/index.d.ts +0 -2
  636. package/types/rate/interface.d.ts +0 -17
  637. package/types/rate/style/index.d.ts +0 -3
  638. package/types/resize-box/interface.d.ts +0 -73
  639. package/types/resize-box/style/index.d.ts +0 -2
  640. package/types/result/interface.d.ts +0 -11
  641. package/types/result/style/index.d.ts +0 -2
  642. package/types/select/interface.d.ts +0 -103
  643. package/types/select/style/index.d.ts +0 -6
  644. package/types/select-view/interface.d.ts +0 -62
  645. package/types/select-view/style/index.d.ts +0 -2
  646. package/types/skeleton/style/index.d.ts +0 -2
  647. package/types/slider/interface.d.ts +0 -32
  648. package/types/slider/style/index.d.ts +0 -5
  649. package/types/space/interface.d.ts +0 -12
  650. package/types/space/style/index.d.ts +0 -2
  651. package/types/spin/interface.d.ts +0 -14
  652. package/types/spin/style/index.d.ts +0 -2
  653. package/types/statistic/interface.d.ts +0 -33
  654. package/types/statistic/style/index.d.ts +0 -3
  655. package/types/steps/interface.d.ts +0 -42
  656. package/types/steps/style/index.d.ts +0 -2
  657. package/types/switch/interface.d.ts +0 -17
  658. package/types/switch/style/index.d.ts +0 -2
  659. package/types/table/interface.d.ts +0 -301
  660. package/types/table/style/index.d.ts +0 -12
  661. package/types/tabs/interface.d.ts +0 -66
  662. package/types/tabs/style/index.d.ts +0 -3
  663. package/types/tag/interface.d.ts +0 -23
  664. package/types/tag/style/index.d.ts +0 -2
  665. package/types/time-picker/interface.d.ts +0 -62
  666. package/types/time-picker/style/index.d.ts +0 -5
  667. package/types/timeline/interface.d.ts +0 -26
  668. package/types/timeline/style/index.d.ts +0 -2
  669. package/types/tooltip/interface.d.ts +0 -23
  670. package/types/tooltip/style/index.d.ts +0 -3
  671. package/types/transfer/interface.d.ts +0 -91
  672. package/types/transfer/style/index.d.ts +0 -6
  673. package/types/tree/interface.d.ts +0 -153
  674. package/types/tree/style/index.d.ts +0 -3
  675. package/types/tree-select/interface.d.ts +0 -79
  676. package/types/tree-select/style/index.d.ts +0 -5
  677. package/types/trigger/interface.d.ts +0 -73
  678. package/types/trigger/style/index.d.ts +0 -2
  679. package/types/typography/interface.d.ts +0 -97
  680. package/types/typography/style/index.d.ts +0 -5
  681. package/types/upload/interface.d.ts +0 -126
  682. package/types/upload/style/index.d.ts +0 -6
  683. package/types/utils/PqbCSSTransition.d.ts +0 -3
  684. package/types/utils/caseName.d.ts +0 -3
  685. package/types/utils/className.d.ts +0 -3
  686. package/types/utils/constant.d.ts +0 -4
  687. package/types/utils/fileToURL.d.ts +0 -3
  688. package/types/utils/fillNBSP.d.ts +0 -3
  689. package/types/utils/getHighlightText.d.ts +0 -3
  690. package/types/utils/getHotkeyHandler.d.ts +0 -3
  691. package/types/utils/getStringLength.d.ts +0 -3
  692. package/types/utils/include.d.ts +0 -3
  693. package/types/utils/mergeProps.d.ts +0 -3
  694. package/types/utils/mergedToString.d.ts +0 -3
  695. package/types/utils/omit.d.ts +0 -3
  696. package/types/utils/pad.d.ts +0 -1
  697. package/types/utils/pick.d.ts +0 -3
  698. package/types/utils/react19Adapter.d.ts +0 -1
  699. package/types/utils/reactDOM.d.ts +0 -1
  700. package/types/utils/resizeObserverEffect.d.ts +0 -2
  701. package/types/utils/saveAs.d.ts +0 -3
  702. package/types/utils/screenfull.d.ts +0 -3
  703. package/types/utils/style.d.ts +0 -1
  704. package/types/utils/throttleByRaf.d.ts +0 -1
  705. package/types/utils/throttleByRaf2.d.ts +0 -1
  706. package/types/utils/warning.d.ts +0 -1
  707. package/types/verification-code/interface.d.ts +0 -25
  708. package/types/verification-code/style/index.d.ts +0 -3
  709. package/types/virtual-list/style/index.d.ts +0 -2
  710. package/types/virtual-list/util/algorithm.d.ts +0 -6
  711. package/types/watermark/interface.d.ts +0 -21
  712. package/types/watermark/style/index.d.ts +0 -1
  713. /package/types/{utils → common/utils}/keyboardCode.d.ts +0 -0
  714. /package/types/{utils → common/utils}/setDarkTheme.d.ts +0 -0
  715. /package/types/{utils → common/utils}/setPrimaryColor.d.ts +0 -0
  716. /package/types/{utils → common/utils}/tinycolor.d.ts +0 -0
  717. /package/types/{utils → common/utils}/type.d.ts +0 -0
  718. /package/types/{affix → pc/affix}/index.d.ts +0 -0
  719. /package/types/{alert → pc/alert}/index.d.ts +0 -0
  720. /package/types/{anchor → pc/anchor}/Anchor.d.ts +0 -0
  721. /package/types/{anchor → pc/anchor}/Link.d.ts +0 -0
  722. /package/types/{anchor → pc/anchor}/context.d.ts +0 -0
  723. /package/types/{anchor → pc/anchor}/index.d.ts +0 -0
  724. /package/types/{auto-complete → pc/auto-complete}/index.d.ts +0 -0
  725. /package/types/{avatar → pc/avatar}/Avatar.d.ts +0 -0
  726. /package/types/{avatar → pc/avatar}/Group.d.ts +0 -0
  727. /package/types/{avatar → pc/avatar}/context.d.ts +0 -0
  728. /package/types/{avatar → pc/avatar}/index.d.ts +0 -0
  729. /package/types/{back-top → pc/back-top}/index.d.ts +0 -0
  730. /package/types/{badge → pc/badge}/Count.d.ts +0 -0
  731. /package/types/{badge → pc/badge}/index.d.ts +0 -0
  732. /package/types/{breadcrumb → pc/breadcrumb}/Item.d.ts +0 -0
  733. /package/types/{breadcrumb → pc/breadcrumb}/index.d.ts +0 -0
  734. /package/types/{button → pc/button}/Group.d.ts +0 -0
  735. /package/types/{calendar → pc/calendar}/Month.d.ts +0 -0
  736. /package/types/{calendar → pc/calendar}/WeekList.d.ts +0 -0
  737. /package/types/{calendar → pc/calendar}/Year.d.ts +0 -0
  738. /package/types/{calendar → pc/calendar}/header/Panel.d.ts +0 -0
  739. /package/types/{calendar → pc/calendar}/header/index.d.ts +0 -0
  740. /package/types/{calendar → pc/calendar}/index.d.ts +0 -0
  741. /package/types/{card → pc/card}/Grid.d.ts +0 -0
  742. /package/types/{card → pc/card}/Meta.d.ts +0 -0
  743. /package/types/{card → pc/card}/index.d.ts +0 -0
  744. /package/types/{carousel → pc/carousel}/Arrow.d.ts +0 -0
  745. /package/types/{carousel → pc/carousel}/Indicator.d.ts +0 -0
  746. /package/types/{carousel → pc/carousel}/index.d.ts +0 -0
  747. /package/types/{cascader → pc/cascader}/Cascader.d.ts +0 -0
  748. /package/types/{cascader → pc/cascader}/hook/useRefCurrent.d.ts +0 -0
  749. /package/types/{cascader → pc/cascader}/index.d.ts +0 -0
  750. /package/types/{cascader → pc/cascader}/panel/List.d.ts +0 -0
  751. /package/types/{cascader → pc/cascader}/panel/Option.d.ts +0 -0
  752. /package/types/{cascader → pc/cascader}/panel/Search.d.ts +0 -0
  753. /package/types/{cascader → pc/cascader}/util.d.ts +0 -0
  754. /package/types/{checkbox → pc/checkbox}/Checkbox.d.ts +0 -0
  755. /package/types/{checkbox → pc/checkbox}/Group.d.ts +0 -0
  756. /package/types/{checkbox → pc/checkbox}/GroupBlock.d.ts +0 -0
  757. /package/types/{checkbox → pc/checkbox}/IconCheck.d.ts +0 -0
  758. /package/types/{checkbox → pc/checkbox}/index.d.ts +0 -0
  759. /package/types/{collapse → pc/collapse}/Collapse.d.ts +0 -0
  760. /package/types/{collapse → pc/collapse}/Item.d.ts +0 -0
  761. /package/types/{collapse → pc/collapse}/index.d.ts +0 -0
  762. /package/types/{color-picker → pc/color-picker}/ControlBar.d.ts +0 -0
  763. /package/types/{color-picker → pc/color-picker}/InputAlpha.d.ts +0 -0
  764. /package/types/{color-picker → pc/color-picker}/InputHex.d.ts +0 -0
  765. /package/types/{color-picker → pc/color-picker}/InputRgb.d.ts +0 -0
  766. /package/types/{color-picker → pc/color-picker}/Mode.d.ts +0 -0
  767. /package/types/{color-picker → pc/color-picker}/Palette.d.ts +0 -0
  768. /package/types/{color-picker → pc/color-picker}/Panel.d.ts +0 -0
  769. /package/types/{color-picker → pc/color-picker}/colors.d.ts +0 -0
  770. /package/types/{color-picker → pc/color-picker}/hooks/useControlBlock.d.ts +0 -0
  771. /package/types/{color-picker → pc/color-picker}/index.d.ts +0 -0
  772. /package/types/{color-picker → pc/color-picker}/utils.d.ts +0 -0
  773. /package/types/{comment → pc/comment}/index.d.ts +0 -0
  774. /package/types/{config-provider → pc/config-provider}/ConfigProvider.d.ts +0 -0
  775. /package/types/{config-provider → pc/config-provider}/context.d.ts +0 -0
  776. /package/types/{config-provider → pc/config-provider}/index.d.ts +0 -0
  777. /package/types/{copy → pc/copy}/index.d.ts +0 -0
  778. /package/types/{copy → pc/copy}/interface.d.ts +0 -0
  779. /package/types/{date-picker → pc/date-picker}/Picker.d.ts +0 -0
  780. /package/types/{date-picker → pc/date-picker}/context.d.ts +0 -0
  781. /package/types/{date-picker → pc/date-picker}/index.d.ts +0 -0
  782. /package/types/{date-picker → pc/date-picker}/panel/Body.d.ts +0 -0
  783. /package/types/{date-picker → pc/date-picker}/panel/Footer.d.ts +0 -0
  784. /package/types/{date-picker → pc/date-picker}/panel/Header.d.ts +0 -0
  785. /package/types/{date-picker → pc/date-picker}/panel/Shortcut.d.ts +0 -0
  786. /package/types/{date-picker → pc/date-picker}/panel/WeekList.d.ts +0 -0
  787. /package/types/{date-picker → pc/date-picker}/panel/date/index.d.ts +0 -0
  788. /package/types/{date-picker → pc/date-picker}/panel/month/index.d.ts +0 -0
  789. /package/types/{date-picker → pc/date-picker}/panel/quarter/index.d.ts +0 -0
  790. /package/types/{date-picker → pc/date-picker}/panel/range/index.d.ts +0 -0
  791. /package/types/{date-picker → pc/date-picker}/panel/week/index.d.ts +0 -0
  792. /package/types/{date-picker → pc/date-picker}/panel/year/index.d.ts +0 -0
  793. /package/types/{date-picker → pc/date-picker}/util.d.ts +0 -0
  794. /package/types/{descriptions → pc/descriptions}/index.d.ts +0 -0
  795. /package/types/{divider → pc/divider}/index.d.ts +0 -0
  796. /package/types/{draggable → pc/draggable}/Item.d.ts +0 -0
  797. /package/types/{draggable → pc/draggable}/index.d.ts +0 -0
  798. /package/types/{drawer → pc/drawer}/Drawer.d.ts +0 -0
  799. /package/types/{drawer → pc/drawer}/index.d.ts +0 -0
  800. /package/types/{dropdown → pc/dropdown}/Button.d.ts +0 -0
  801. /package/types/{dropdown → pc/dropdown}/index.d.ts +0 -0
  802. /package/types/{form → pc/form}/Form.d.ts +0 -0
  803. /package/types/{form → pc/form}/FormItem.d.ts +0 -0
  804. /package/types/{form → pc/form}/FormLabel.d.ts +0 -0
  805. /package/types/{form → pc/form}/FormList.d.ts +0 -0
  806. /package/types/{form → pc/form}/FormProvider.d.ts +0 -0
  807. /package/types/{form → pc/form}/IconSymbol.d.ts +0 -0
  808. /package/types/{form → pc/form}/context.d.ts +0 -0
  809. /package/types/{form → pc/form}/hook/useState.d.ts +0 -0
  810. /package/types/{form → pc/form}/hook/useWatch.d.ts +0 -0
  811. /package/types/{form → pc/form}/index.d.ts +0 -0
  812. /package/types/{form → pc/form}/promisify.d.ts +0 -0
  813. /package/types/{form → pc/form}/useForm.d.ts +0 -0
  814. /package/types/{form → pc/form}/util.d.ts +0 -0
  815. /package/types/{grid → pc/grid}/Col.d.ts +0 -0
  816. /package/types/{grid → pc/grid}/Row.d.ts +0 -0
  817. /package/types/{grid → pc/grid}/context.d.ts +0 -0
  818. /package/types/{grid → pc/grid}/grid-item.d.ts +0 -0
  819. /package/types/{grid → pc/grid}/grid.d.ts +0 -0
  820. /package/types/{grid → pc/grid}/hook/useResponsiveState.d.ts +0 -0
  821. /package/types/{grid → pc/grid}/index.d.ts +0 -0
  822. /package/types/{grid → pc/grid}/util.d.ts +0 -0
  823. /package/types/{hooks → pc/hooks}/index.d.ts +0 -0
  824. /package/types/{hooks → pc/hooks}/use-verification-code/index.d.ts +0 -0
  825. /package/types/{hooks → pc/hooks}/use-watermark/index.d.ts +0 -0
  826. /package/types/{hooks → pc/hooks}/use-watermark/utils.d.ts +0 -0
  827. /package/types/{icon → pc/icon}/addFromIconFontCn.d.ts +0 -0
  828. /package/types/{icon → pc/icon}/index.d.ts +0 -0
  829. /package/types/{icon-hover → pc/icon-hover}/index.d.ts +0 -0
  830. /package/types/{icons.d.ts → pc/icons.d.ts} +0 -0
  831. /package/types/{image → pc/image}/Image.d.ts +0 -0
  832. /package/types/{image → pc/image}/ImageFooter.d.ts +0 -0
  833. /package/types/{image → pc/image}/ImagePreview.d.ts +0 -0
  834. /package/types/{image → pc/image}/ImagePreviewArrow.d.ts +0 -0
  835. /package/types/{image → pc/image}/ImagePreviewGroup.d.ts +0 -0
  836. /package/types/{image → pc/image}/ImagePreviewToolbar.d.ts +0 -0
  837. /package/types/{image → pc/image}/TriggerForToolbar.d.ts +0 -0
  838. /package/types/{image → pc/image}/index.d.ts +0 -0
  839. /package/types/{image → pc/image}/previewGroupContext.d.ts +0 -0
  840. /package/types/{image → pc/image}/util/getFixTranslate.d.ts +0 -0
  841. /package/types/{image → pc/image}/util/getScale.d.ts +0 -0
  842. /package/types/{image → pc/image}/util/hook/useImageStatus.d.ts +0 -0
  843. /package/types/{image → pc/image}/util/hook/useShowFooter.d.ts +0 -0
  844. /package/types/{input → pc/input}/Group.d.ts +0 -0
  845. /package/types/{input → pc/input}/InputElement.d.ts +0 -0
  846. /package/types/{input → pc/input}/Number.d.ts +0 -0
  847. /package/types/{input → pc/input}/Password.d.ts +0 -0
  848. /package/types/{input → pc/input}/Search.d.ts +0 -0
  849. /package/types/{input → pc/input}/Tag.d.ts +0 -0
  850. /package/types/{input → pc/input}/autoSizeTextAreaHeight.d.ts +0 -0
  851. /package/types/{input → pc/input}/useComposition.d.ts +0 -0
  852. /package/types/{input-number → pc/input-number}/index.d.ts +0 -0
  853. /package/types/{input-number → pc/input-number}/useSelectionRange.d.ts +0 -0
  854. /package/types/{input-tag → pc/input-tag}/InputTag.d.ts +0 -0
  855. /package/types/{input-tag → pc/input-tag}/index.d.ts +0 -0
  856. /package/types/{layout → pc/layout}/Content.d.ts +0 -0
  857. /package/types/{layout → pc/layout}/Footer.d.ts +0 -0
  858. /package/types/{layout → pc/layout}/Header.d.ts +0 -0
  859. /package/types/{layout → pc/layout}/Sider.d.ts +0 -0
  860. /package/types/{layout → pc/layout}/index.d.ts +0 -0
  861. /package/types/{link → pc/link}/index.d.ts +0 -0
  862. /package/types/{list → pc/list}/Item.d.ts +0 -0
  863. /package/types/{list → pc/list}/Meta.d.ts +0 -0
  864. /package/types/{list → pc/list}/index.d.ts +0 -0
  865. /package/types/{loading → pc/loading}/index.d.ts +0 -0
  866. /package/types/{locale → pc/locale}/ar-EG.d.ts +0 -0
  867. /package/types/{locale → pc/locale}/de-DE.d.ts +0 -0
  868. /package/types/{locale → pc/locale}/default.d.ts +0 -0
  869. /package/types/{locale → pc/locale}/en-US.d.ts +0 -0
  870. /package/types/{locale → pc/locale}/es-ES.d.ts +0 -0
  871. /package/types/{locale → pc/locale}/fr-FR.d.ts +0 -0
  872. /package/types/{locale → pc/locale}/id-ID.d.ts +0 -0
  873. /package/types/{locale → pc/locale}/interface.d.ts +0 -0
  874. /package/types/{locale → pc/locale}/it-IT.d.ts +0 -0
  875. /package/types/{locale → pc/locale}/ja-JP.d.ts +0 -0
  876. /package/types/{locale → pc/locale}/ko-KR.d.ts +0 -0
  877. /package/types/{locale → pc/locale}/ms-MY.d.ts +0 -0
  878. /package/types/{locale → pc/locale}/pt-BR.d.ts +0 -0
  879. /package/types/{locale → pc/locale}/pt-PT.d.ts +0 -0
  880. /package/types/{locale → pc/locale}/ru-RU.d.ts +0 -0
  881. /package/types/{locale → pc/locale}/th-TH.d.ts +0 -0
  882. /package/types/{locale → pc/locale}/tr-TR.d.ts +0 -0
  883. /package/types/{locale → pc/locale}/vi-VN.d.ts +0 -0
  884. /package/types/{locale → pc/locale}/zh-CN.d.ts +0 -0
  885. /package/types/{locale → pc/locale}/zh-HK.d.ts +0 -0
  886. /package/types/{locale → pc/locale}/zh-TW.d.ts +0 -0
  887. /package/types/{mentions → pc/mentions}/index.d.ts +0 -0
  888. /package/types/{mentions → pc/mentions}/util.d.ts +0 -0
  889. /package/types/{menu → pc/menu}/Indent.d.ts +0 -0
  890. /package/types/{menu → pc/menu}/Item.d.ts +0 -0
  891. /package/types/{menu → pc/menu}/ItemGroup.d.ts +0 -0
  892. /package/types/{menu → pc/menu}/Menu.d.ts +0 -0
  893. /package/types/{menu → pc/menu}/OverflowWrap.d.ts +0 -0
  894. /package/types/{menu → pc/menu}/index.d.ts +0 -0
  895. /package/types/{menu → pc/menu}/sub-menu/Inline.d.ts +0 -0
  896. /package/types/{menu → pc/menu}/sub-menu/Pop.d.ts +0 -0
  897. /package/types/{menu → pc/menu}/sub-menu/index.d.ts +0 -0
  898. /package/types/{menu → pc/menu}/util.d.ts +0 -0
  899. /package/types/{message → pc/message}/index.d.ts +0 -0
  900. /package/types/{message → pc/message}/useMessage.d.ts +0 -0
  901. /package/types/{modal → pc/modal}/Confirm.d.ts +0 -0
  902. /package/types/{modal → pc/modal}/Modal.d.ts +0 -0
  903. /package/types/{modal → pc/modal}/config.d.ts +0 -0
  904. /package/types/{modal → pc/modal}/index.d.ts +0 -0
  905. /package/types/{modal → pc/modal}/use-modal/Hook.d.ts +0 -0
  906. /package/types/{modal → pc/modal}/use-modal/index.d.ts +0 -0
  907. /package/types/{notice → pc/notice}/index.d.ts +0 -0
  908. /package/types/{notification → pc/notification}/index.d.ts +0 -0
  909. /package/types/{notification → pc/notification}/useNotification.d.ts +0 -0
  910. /package/types/{notification → pc/notification}/withNotification.d.ts +0 -0
  911. /package/types/{overflow-ellipsis → pc/overflow-ellipsis}/OverflowItem.d.ts +0 -0
  912. /package/types/{overflow-ellipsis → pc/overflow-ellipsis}/index.d.ts +0 -0
  913. /package/types/{page-header → pc/page-header}/index.d.ts +0 -0
  914. /package/types/{pagination → pc/pagination}/PageJumper.d.ts +0 -0
  915. /package/types/{pagination → pc/pagination}/PageOption.d.ts +0 -0
  916. /package/types/{pagination → pc/pagination}/Pagination.d.ts +0 -0
  917. /package/types/{pagination → pc/pagination}/index.d.ts +0 -0
  918. /package/types/{picker → pc/picker}/Input.d.ts +0 -0
  919. /package/types/{picker → pc/picker}/InputRange.d.ts +0 -0
  920. /package/types/{picker → pc/picker}/index.d.ts +0 -0
  921. /package/types/{popconfirm → pc/popconfirm}/index.d.ts +0 -0
  922. /package/types/{popover → pc/popover}/index.d.ts +0 -0
  923. /package/types/{progress → pc/progress}/CircleProgress.d.ts +0 -0
  924. /package/types/{progress → pc/progress}/LineProgess.d.ts +0 -0
  925. /package/types/{progress → pc/progress}/StepProgress.d.ts +0 -0
  926. /package/types/{progress → pc/progress}/index.d.ts +0 -0
  927. /package/types/{radio → pc/radio}/Group.d.ts +0 -0
  928. /package/types/{radio → pc/radio}/GroupBlock.d.ts +0 -0
  929. /package/types/{radio → pc/radio}/Radio.d.ts +0 -0
  930. /package/types/{radio → pc/radio}/index.d.ts +0 -0
  931. /package/types/{rate → pc/rate}/index.d.ts +0 -0
  932. /package/types/{resize-box → pc/resize-box}/Split.d.ts +0 -0
  933. /package/types/{resize-box → pc/resize-box}/SplitGroup.d.ts +0 -0
  934. /package/types/{resize-box → pc/resize-box}/index.d.ts +0 -0
  935. /package/types/{result → pc/result}/403.d.ts +0 -0
  936. /package/types/{result → pc/result}/404.d.ts +0 -0
  937. /package/types/{result → pc/result}/500.d.ts +0 -0
  938. /package/types/{result → pc/result}/index.d.ts +0 -0
  939. /package/types/{select → pc/select}/OptGroup.d.ts +0 -0
  940. /package/types/{select → pc/select}/Option.d.ts +0 -0
  941. /package/types/{select → pc/select}/Select.d.ts +0 -0
  942. /package/types/{select → pc/select}/index.d.ts +0 -0
  943. /package/types/{select-view → pc/select-view}/Core.d.ts +0 -0
  944. /package/types/{select-view → pc/select-view}/index.d.ts +0 -0
  945. /package/types/{skeleton → pc/skeleton}/Image.d.ts +0 -0
  946. /package/types/{skeleton → pc/skeleton}/Text.d.ts +0 -0
  947. /package/types/{skeleton → pc/skeleton}/index.d.ts +0 -0
  948. /package/types/{slider → pc/slider}/Button.d.ts +0 -0
  949. /package/types/{slider → pc/slider}/Dot.d.ts +0 -0
  950. /package/types/{slider → pc/slider}/Input.d.ts +0 -0
  951. /package/types/{slider → pc/slider}/Mark.d.ts +0 -0
  952. /package/types/{slider → pc/slider}/Tick.d.ts +0 -0
  953. /package/types/{slider → pc/slider}/hook/useInterval.d.ts +0 -0
  954. /package/types/{slider → pc/slider}/hook/useLegalValue.d.ts +0 -0
  955. /package/types/{slider → pc/slider}/index.d.ts +0 -0
  956. /package/types/{slider → pc/slider}/util.d.ts +0 -0
  957. /package/types/{space → pc/space}/index.d.ts +0 -0
  958. /package/types/{space → pc/space}/toArray.d.ts +0 -0
  959. /package/types/{speech-synthesis → pc/speech-synthesis}/index.d.ts +0 -0
  960. /package/types/{speech-synthesis → pc/speech-synthesis}/style/index.d.ts +0 -0
  961. /package/types/{spin → pc/spin}/DotLoading.d.ts +0 -0
  962. /package/types/{spin → pc/spin}/index.d.ts +0 -0
  963. /package/types/{statistic → pc/statistic}/Countdown.d.ts +0 -0
  964. /package/types/{statistic → pc/statistic}/index.d.ts +0 -0
  965. /package/types/{statistic → pc/statistic}/util.d.ts +0 -0
  966. /package/types/{steps → pc/steps}/Step.d.ts +0 -0
  967. /package/types/{steps → pc/steps}/index.d.ts +0 -0
  968. /package/types/{suspense-fallback-test → pc/suspense-fallback-test}/index.d.ts +0 -0
  969. /package/types/{suspense-fallback-test → pc/suspense-fallback-test}/style/index.d.ts +0 -0
  970. /package/types/{switch → pc/switch}/index.d.ts +0 -0
  971. /package/types/{table → pc/table}/ColGroup.d.ts +0 -0
  972. /package/types/{table → pc/table}/Table.d.ts +0 -0
  973. /package/types/{table → pc/table}/constant.d.ts +0 -0
  974. /package/types/{table → pc/table}/hook/useColumns.d.ts +0 -0
  975. /package/types/{table → pc/table}/hook/useComponent.d.ts +0 -0
  976. /package/types/{table → pc/table}/hook/useExpand.d.ts +0 -0
  977. /package/types/{table → pc/table}/hook/useRowSelection.d.ts +0 -0
  978. /package/types/{table → pc/table}/hook/useSorter.d.ts +0 -0
  979. /package/types/{table → pc/table}/hook/useStickyClassNames.d.ts +0 -0
  980. /package/types/{table → pc/table}/hook/useStickyOffsets.d.ts +0 -0
  981. /package/types/{table → pc/table}/index.d.ts +0 -0
  982. /package/types/{table → pc/table}/summary/Cell.d.ts +0 -0
  983. /package/types/{table → pc/table}/summary/Row.d.ts +0 -0
  984. /package/types/{table → pc/table}/summary/context.d.ts +0 -0
  985. /package/types/{table → pc/table}/summary/index.d.ts +0 -0
  986. /package/types/{table → pc/table}/tbody/Td.d.ts +0 -0
  987. /package/types/{table → pc/table}/tbody/Tr.d.ts +0 -0
  988. /package/types/{table → pc/table}/tbody/index.d.ts +0 -0
  989. /package/types/{table → pc/table}/tfoot/index.d.ts +0 -0
  990. /package/types/{table → pc/table}/th-resizable/index.d.ts +0 -0
  991. /package/types/{table → pc/table}/thead/Column.d.ts +0 -0
  992. /package/types/{table → pc/table}/thead/index.d.ts +0 -0
  993. /package/types/{table → pc/table}/util.d.ts +0 -0
  994. /package/types/{tabs → pc/tabs}/Tab.d.ts +0 -0
  995. /package/types/{tabs → pc/tabs}/TabContent.d.ts +0 -0
  996. /package/types/{tabs → pc/tabs}/TabPane.d.ts +0 -0
  997. /package/types/{tabs → pc/tabs}/hook/useDomSize.d.ts +0 -0
  998. /package/types/{tabs → pc/tabs}/hook/useHeaderScroll.d.ts +0 -0
  999. /package/types/{tabs → pc/tabs}/index.d.ts +0 -0
  1000. /package/types/{tabs → pc/tabs}/tab-header/DropdownIcon.d.ts +0 -0
  1001. /package/types/{tabs → pc/tabs}/tab-header/TabInk.d.ts +0 -0
  1002. /package/types/{tabs → pc/tabs}/tab-header/TabNavIcon.d.ts +0 -0
  1003. /package/types/{tabs → pc/tabs}/tab-header/TabTitle.d.ts +0 -0
  1004. /package/types/{tabs → pc/tabs}/tab-header/index.d.ts +0 -0
  1005. /package/types/{tabs → pc/tabs}/util.d.ts +0 -0
  1006. /package/types/{tag → pc/tag}/index.d.ts +0 -0
  1007. /package/types/{time-picker → pc/time-picker}/Picker.d.ts +0 -0
  1008. /package/types/{time-picker → pc/time-picker}/RangePicker.d.ts +0 -0
  1009. /package/types/{time-picker → pc/time-picker}/TimeColumn.d.ts +0 -0
  1010. /package/types/{time-picker → pc/time-picker}/TimePicker.d.ts +0 -0
  1011. /package/types/{time-picker → pc/time-picker}/context.d.ts +0 -0
  1012. /package/types/{time-picker → pc/time-picker}/index.d.ts +0 -0
  1013. /package/types/{time-picker → pc/time-picker}/util.d.ts +0 -0
  1014. /package/types/{timeline → pc/timeline}/Item.d.ts +0 -0
  1015. /package/types/{timeline → pc/timeline}/Timeline.d.ts +0 -0
  1016. /package/types/{timeline → pc/timeline}/index.d.ts +0 -0
  1017. /package/types/{tooltip → pc/tooltip}/index.d.ts +0 -0
  1018. /package/types/{transfer → pc/transfer}/Item.d.ts +0 -0
  1019. /package/types/{transfer → pc/transfer}/List.d.ts +0 -0
  1020. /package/types/{transfer → pc/transfer}/index.d.ts +0 -0
  1021. /package/types/{tree → pc/tree}/Animation.d.ts +0 -0
  1022. /package/types/{tree → pc/tree}/Context.d.ts +0 -0
  1023. /package/types/{tree → pc/tree}/Node.d.ts +0 -0
  1024. /package/types/{tree → pc/tree}/NodeList.d.ts +0 -0
  1025. /package/types/{tree → pc/tree}/Tree.d.ts +0 -0
  1026. /package/types/{tree → pc/tree}/index.d.ts +0 -0
  1027. /package/types/{tree → pc/tree}/util.d.ts +0 -0
  1028. /package/types/{tree-select → pc/tree-select}/List.d.ts +0 -0
  1029. /package/types/{tree-select → pc/tree-select}/Select.d.ts +0 -0
  1030. /package/types/{tree-select → pc/tree-select}/hook/useKeyCache.d.ts +0 -0
  1031. /package/types/{tree-select → pc/tree-select}/hook/useStateValue.d.ts +0 -0
  1032. /package/types/{tree-select → pc/tree-select}/hook/useTreeData.d.ts +0 -0
  1033. /package/types/{tree-select → pc/tree-select}/index.d.ts +0 -0
  1034. /package/types/{tree-select → pc/tree-select}/util.d.ts +0 -0
  1035. /package/types/{trigger → pc/trigger}/getPopupStyle.d.ts +0 -0
  1036. /package/types/{trigger → pc/trigger}/index.d.ts +0 -0
  1037. /package/types/{typography → pc/typography}/Base.d.ts +0 -0
  1038. /package/types/{typography → pc/typography}/EditContent.d.ts +0 -0
  1039. /package/types/{typography → pc/typography}/Ellipsis.d.ts +0 -0
  1040. /package/types/{typography → pc/typography}/Operations.d.ts +0 -0
  1041. /package/types/{typography → pc/typography}/Paragraph.d.ts +0 -0
  1042. /package/types/{typography → pc/typography}/Text.d.ts +0 -0
  1043. /package/types/{typography → pc/typography}/Title.d.ts +0 -0
  1044. /package/types/{typography → pc/typography}/Typography.d.ts +0 -0
  1045. /package/types/{typography → pc/typography}/index.d.ts +0 -0
  1046. /package/types/{typography → pc/typography}/useCssEllipsis.d.ts +0 -0
  1047. /package/types/{typography → pc/typography}/useEllipsis.d.ts +0 -0
  1048. /package/types/{upload → pc/upload}/TriggerNode.d.ts +0 -0
  1049. /package/types/{upload → pc/upload}/Upload.d.ts +0 -0
  1050. /package/types/{upload → pc/upload}/Uploader.d.ts +0 -0
  1051. /package/types/{upload → pc/upload}/index.d.ts +0 -0
  1052. /package/types/{upload → pc/upload}/list/PictureItem.d.ts +0 -0
  1053. /package/types/{upload → pc/upload}/list/TextItem.d.ts +0 -0
  1054. /package/types/{upload → pc/upload}/list/UploadProgress.d.ts +0 -0
  1055. /package/types/{upload → pc/upload}/list/index.d.ts +0 -0
  1056. /package/types/{upload → pc/upload}/request.d.ts +0 -0
  1057. /package/types/{upload → pc/upload}/request_.d.ts +0 -0
  1058. /package/types/{upload → pc/upload}/util.d.ts +0 -0
  1059. /package/types/{utils → pc/utils}/color.d.ts +0 -0
  1060. /package/types/{utils → pc/utils}/computeScrollIntoView.d.ts +0 -0
  1061. /package/types/{utils → pc/utils}/contextHolder.d.ts +0 -0
  1062. /package/types/{utils → pc/utils}/math.d.ts +0 -0
  1063. /package/types/{utils → pc/utils}/reactTransitionGroup.d.ts +0 -0
  1064. /package/types/{utils → pc/utils}/responsiveObserve.d.ts +0 -0
  1065. /package/types/{utils → pc/utils}/tree.d.ts +0 -0
  1066. /package/types/{utils → pc/utils}/tween.d.ts +0 -0
  1067. /package/types/{utils → pc/utils}/uuid.d.ts +0 -0
  1068. /package/types/{utils → pc/utils}/validate.d.ts +0 -0
  1069. /package/types/{verification-code → pc/verification-code}/VerificationCode.d.ts +0 -0
  1070. /package/types/{verification-code → pc/verification-code}/index.d.ts +0 -0
  1071. /package/types/{version → pc/version}/index.d.ts +0 -0
  1072. /package/types/{virtual-list → pc/virtual-list}/index.d.ts +0 -0
  1073. /package/types/{watermark → pc/watermark}/Watermark.d.ts +0 -0
  1074. /package/types/{watermark → pc/watermark}/index.d.ts +0 -0
package/input/Input.js CHANGED
@@ -1,463 +1,516 @@
1
- import { jsx as c, jsxs as ee, Fragment as We } from "react/jsx-runtime";
2
- import ie from "lodash/isPlainObject";
3
- import He from "lodash/isString";
4
- import Be from "lodash/isUndefined";
5
- import ue, { useContext as ce, useState as oe, useRef as te, useMemo as le, useImperativeHandle as $e, useCallback as Fe, useEffect as Ne } from "react";
6
- import { a as me, I as _e } from "../chunk/Cplu5dtQ.js";
7
- import { u as Re } from "../chunk/BFTV6myl.js";
8
- import { u as he } from "../chunk/CXPOj2uy.js";
9
- import k from "@unicom-cloud/utils/class-name";
1
+ import { jsx as c, jsxs as te, Fragment as He } from "react/jsx-runtime";
2
+ import ne from "lodash/isPlainObject";
3
+ import Fe from "lodash/isString";
4
+ import _e from "lodash/isUndefined";
5
+ import de, { useContext as ie, useState as se, useRef as re, useMemo as ce, useImperativeHandle as $e, useCallback as Ge, useEffect as xe, forwardRef as je } from "react";
6
+ import { a as le, I as Ke } from "../chunk/B44Hj5ad.js";
7
+ import { u as Ae } from "../chunk/BFTV6myl.js";
8
+ import { u as me } from "../chunk/CXPOj2uy.js";
9
+ import U from "@unicom-cloud/utils/class-name";
10
10
  import { contains as Se } from "../utils/dom.js";
11
- import Ge from "./Group.js";
12
- import je from "./InputElement.js";
13
- import Ke from "@unicom-cloud/icons/IconUiDown";
14
- import qe from "@unicom-cloud/icons/IconUiMinus";
15
- import Ye from "@unicom-cloud/icons/IconUiPlus";
16
- import Je from "@unicom-cloud/icons/IconUiUp";
17
- import xe from "lodash/isNumber";
18
- import Qe from "@unicom-cloud/icons/IconUiEye";
19
- import Xe from "@unicom-cloud/icons/IconUiEyeInvisible";
20
- import { u as Ze } from "../chunk/BYdIoY50.js";
11
+ import Ee from "../button/index.js";
12
+ import qe from "./Group.js";
13
+ import Ye from "./InputElement.js";
14
+ import Je from "@unicom-cloud/icons/IconUiDown";
15
+ import Qe from "@unicom-cloud/icons/IconUiMinus";
16
+ import Xe from "@unicom-cloud/icons/IconUiPlus";
17
+ import Ze from "@unicom-cloud/icons/IconUiUp";
18
+ import Ne from "lodash/isNumber";
19
+ import { ArrowDown as et, ArrowUp as tt } from "@unicom-cloud/utils/constant/keyboardCode";
21
20
  import { o as ve } from "../chunk/BKKEev13.js";
22
- import et from "@unicom-cloud/icons/IconUiLoading";
23
- import Ve from "@unicom-cloud/icons/IconUiSearch";
24
- import tt from "../button/index.js";
25
- import Ae from "../input-tag/InputTag.js";
26
- import nt from "@unicom-cloud/icons/IconUiClose";
27
- import { u as rt } from "../chunk/B2yFlXke.js";
21
+ import { getDecimal as oe } from "../input-number/decimal.js";
22
+ import nt from "../input-number/useSelectionRange.js";
23
+ import rt from "@unicom-cloud/icons/IconUiEye";
24
+ import at from "@unicom-cloud/icons/IconUiEyeInvisible";
25
+ import { u as ot } from "../chunk/BYdIoY50.js";
26
+ import st from "@unicom-cloud/icons/IconUiLoading";
27
+ import Le from "@unicom-cloud/icons/IconUiSearch";
28
+ import De from "../input-tag/InputTag.js";
29
+ import it from "@unicom-cloud/icons/IconUiClose";
30
+ import { u as lt } from "../chunk/B2yFlXke.js";
28
31
  import "../chunk/ClM74To2.js";
29
- import ot from "./autoSizeTextAreaHeight.js";
30
- import st from "./useComposition.js";
31
- import { isPlainObject as Ee } from "@unicom-cloud/utils/is";
32
- import { ArrowDown as at, ArrowUp as it } from "@unicom-cloud/utils/constant/keyboardCode";
33
- import { getDecimal as re } from "../input-number/decimal.js";
34
- import lt from "../input-number/useSelectionRange.js";
35
- const ut = 200, ct = 1e3, mt = {
32
+ import ut from "./autoSizeTextAreaHeight.js";
33
+ import ct from "./useComposition.js";
34
+ import { isPlainObject as Re } from "@unicom-cloud/utils/is";
35
+ const be = de.forwardRef(
36
+ (e, $) => {
37
+ const { getPrefixCls: l } = ie(le), {
38
+ className: M,
39
+ style: b,
40
+ placeholder: T,
41
+ disabled: n,
42
+ loading: y,
43
+ defaultValue: g,
44
+ addAfter: A,
45
+ buttonProps: v,
46
+ onCallback: E,
47
+ ...p
48
+ } = e, S = l == null ? void 0 : l("input-button"), P = U(S, `${S}-button`, M), I = ne(e.maxLength) ? e.maxLength.length : e.maxLength, x = ne(e.maxLength) && e.maxLength.errorOnly ? void 0 : I, [C, u] = me("", {
49
+ defaultValue: "defaultValue" in e ? Q(e.defaultValue, x) : void 0,
50
+ value: "value" in e ? Q(e.value, x) : void 0
51
+ });
52
+ return /* @__PURE__ */ c(
53
+ R,
54
+ {
55
+ ...p,
56
+ disabled: n,
57
+ className: P,
58
+ style: b,
59
+ ref: $,
60
+ placeholder: T,
61
+ addAfter: A !== void 0 ? A : /* @__PURE__ */ c(
62
+ Ee,
63
+ {
64
+ disabled: n,
65
+ size: p.size,
66
+ className: `${S}-btn`,
67
+ type: "primary",
68
+ onClick: (d) => {
69
+ var a;
70
+ E == null || E(C), (a = e.onClick) == null || a.call(e, d);
71
+ },
72
+ loading: y,
73
+ loadingFixedWidth: !0,
74
+ ...v,
75
+ children: e.label ?? "确定"
76
+ }
77
+ ),
78
+ defaultValue: g,
79
+ onChange: (d, a) => {
80
+ var m;
81
+ u(d), (m = e.onChange) == null || m.call(e, d, a);
82
+ }
83
+ }
84
+ );
85
+ }
86
+ );
87
+ be.displayName = "Input.Button";
88
+ const dt = 200, mt = 1e3, ft = {
36
89
  max: 1 / 0,
37
90
  min: -1 / 0,
38
91
  step: 1,
39
92
  mode: "embed",
40
93
  parser: (e) => (e == null ? void 0 : e.replace(/[^\w.-]+/g, "")) || ""
41
94
  };
42
- function ft(e, b) {
43
- var Ce;
95
+ function gt(e, $) {
96
+ var Ve;
44
97
  const {
45
- getPrefixCls: m,
46
- size: D,
47
- componentConfig: I,
48
- rtl: L
49
- } = ce(me), n = Re(
98
+ getPrefixCls: l,
99
+ size: M,
100
+ componentConfig: b,
101
+ rtl: T
102
+ } = ie(le), n = Ae(
50
103
  e,
51
- mt,
52
- I == null ? void 0 : I.InputNumber
104
+ ft,
105
+ b == null ? void 0 : b.InputNumber
53
106
  ), {
54
- className: x,
107
+ className: y,
55
108
  style: g,
56
- defaultValue: T,
57
- disabled: y,
58
- error: z,
59
- readOnly: h,
60
- strictMode: M,
109
+ defaultValue: A,
110
+ disabled: v,
111
+ error: E,
112
+ readOnly: p,
113
+ strictMode: S,
61
114
  placeholder: P,
62
- hideControl: w,
63
- suffix: C,
64
- prefix: V,
65
- icons: l,
115
+ hideControl: I,
116
+ suffix: x,
117
+ prefix: C,
118
+ icons: u,
66
119
  mode: d,
67
- size: i,
68
- step: f,
69
- precision: U,
70
- min: p,
71
- max: O,
120
+ size: a,
121
+ step: m,
122
+ precision: k,
123
+ min: h,
124
+ max: z,
72
125
  parser: G,
73
126
  formatter: W,
74
- onBlur: S,
127
+ onBlur: L,
75
128
  onFocus: j,
76
- onChange: H,
77
- onKeyDown: B,
78
- ...Q
79
- } = n, N = m == null ? void 0 : m("input-number"), r = i || D, R = (() => {
80
- if (xe(U)) {
81
- const t = `${f}`.split(".")[1], u = t && t.length || 0;
82
- return Math.max(u, U);
129
+ onChange: B,
130
+ onKeyDown: H,
131
+ ...X
132
+ } = n, w = l == null ? void 0 : l("input-number"), r = a || M, O = (() => {
133
+ if (Ne(k)) {
134
+ const t = `${m}`.split(".")[1], f = t && t.length || 0;
135
+ return Math.max(f, k);
83
136
  }
84
137
  return null;
85
- })(), [q, K] = oe(() => re(
86
- "value" in n ? n.value : "defaultValue" in n ? T : void 0
87
- )), [E, X] = oe(""), [ne, Y] = oe(!1), [J, F] = oe(!1), a = te(null), o = te(null), v = te(!1), s = le(() => "value" in n ? re(n.value) : q, [n.value, q]), [_, Z] = le(() => [re(O), re(p)], [O, p]);
88
- $e(b, () => o.current, []);
89
- const fe = (t, u) => {
90
- if (K(t), !t.equals(s) && H) {
91
- const $ = t.toString({
138
+ })(), [q, K] = se(() => oe(
139
+ "value" in n ? n.value : "defaultValue" in n ? A : void 0
140
+ )), [D, Z] = se(""), [ae, Y] = se(!1), [J, F] = se(!1), i = re(null), o = re(null), N = re(!1), s = ce(() => "value" in n ? oe(n.value) : q, [n.value, q]), [_, ee] = ce(() => [oe(z), oe(h)], [z, h]);
141
+ $e($, () => o.current, []);
142
+ const fe = (t, f) => {
143
+ if (K(t), !t.equals(s) && B) {
144
+ const V = t.toString({
92
145
  safe: !0,
93
- precision: R
146
+ precision: O
94
147
  });
95
- H(
96
- t.isEmpty ? void 0 : M ? $ : t.isNaN ? NaN : Number($),
97
- u
148
+ B(
149
+ t.isEmpty ? void 0 : S ? V : t.isNaN ? NaN : Number(V),
150
+ f
98
151
  );
99
152
  }
100
- }, de = () => {
101
- a.current && clearTimeout(a.current), a.current = null;
102
- }, ae = Fe(
153
+ }, ge = () => {
154
+ i.current && clearTimeout(i.current), i.current = null;
155
+ }, ue = Ge(
103
156
  (t) => {
104
- let u = t;
105
- return u.less(Z) ? u = Z : _.less(u) && (u = _), u;
157
+ let f = t;
158
+ return f.less(ee) ? f = ee : _.less(f) && (f = _), f;
106
159
  },
107
- [Z, _]
160
+ [ee, _]
108
161
  );
109
- Ne(() => () => de(), []), Ne(() => {
110
- v.current = !1;
111
- }, [n.value]), Ne(() => {
112
- const t = s.less(Z) || _.less(s);
113
- t && v.current && fe(ae(s), "outOfRange"), Y(t);
114
- }, [Z, _, s, ae]);
115
- const ye = (t, u, $ = !1) => {
116
- if (t.persist(), t.preventDefault(), F(!1), y || h)
162
+ xe(() => () => ge(), []), xe(() => {
163
+ N.current = !1;
164
+ }, [n.value]), xe(() => {
165
+ const t = s.less(ee) || _.less(s);
166
+ t && N.current && fe(ue(s), "outOfRange"), Y(t);
167
+ }, [ee, _, s, ue]);
168
+ const ye = (t, f, V = !1) => {
169
+ if (t.persist(), t.preventDefault(), F(!1), v || p)
117
170
  return;
118
- const ke = s.isInvalid ? re(p === -1 / 0 || p <= 0 && O >= 0 ? 0 : p) : s.add(u === "plus" ? f : -f);
171
+ const We = s.isInvalid ? oe(h === -1 / 0 || h <= 0 && z >= 0 ? 0 : h) : s.add(f === "plus" ? m : -m);
119
172
  if (fe(
120
- ae(ke),
121
- u === "plus" ? "increase" : "decrease"
122
- ), o.current && o.current.focus(), $) {
123
- const ze = a.current === null;
124
- a.current = setTimeout(
173
+ ue(We),
174
+ f === "plus" ? "increase" : "decrease"
175
+ ), o.current && o.current.focus(), V) {
176
+ const Be = i.current === null;
177
+ i.current = setTimeout(
125
178
  () => t.target.dispatchEvent(t.nativeEvent),
126
- ze ? ct : ut
179
+ Be ? mt : dt
127
180
  );
128
181
  }
129
- }, Ie = le(() => {
182
+ }, we = ce(() => {
130
183
  let t;
131
- return J ? t = G ? `${G(E)}` : E : xe(R) ? t = s.toString({ safe: !0, precision: R }) : s.isInvalid ? t = "" : t = s.toString(), W ? W(t, { userTyping: J, input: E }) : t;
132
- }, [s, E, J, R, G, W]), Me = lt({
133
- inputElement: (Ce = o.current) == null ? void 0 : Ce.dom,
134
- inputValue: Ie
135
- }), Pe = {
136
- onChange: (t, u) => {
184
+ return J ? t = G ? `${G(D)}` : D : Ne(O) ? t = s.toString({ safe: !0, precision: O }) : s.isInvalid ? t = "" : t = s.toString(), W ? W(t, { userTyping: J, input: D }) : t;
185
+ }, [s, D, J, O, G, W]), Oe = nt({
186
+ inputElement: (Ve = o.current) == null ? void 0 : Ve.dom,
187
+ inputValue: we
188
+ }), Ue = {
189
+ onChange: (t, f) => {
137
190
  F(!0), t = t.trim().replace(/。/g, ".");
138
- const $ = G ? G(t) : t;
139
- (xe(+$) || $ === "-" || !$ || $ === ".") && (X(t), fe(ae(re($)), "manual"), Me(u));
191
+ const V = G ? G(t) : t;
192
+ (Ne(+V) || V === "-" || !V || V === ".") && (Z(t), fe(ue(oe(V)), "manual"), Oe(f));
140
193
  },
141
194
  onKeyDown: (t) => {
142
- const u = t.key;
143
- u === at.key ? (t.stopPropagation(), ye(t, "minus")) : u === it.key && (t.stopPropagation(), ye(t, "plus")), de(), B == null || B(t);
195
+ const f = t.key;
196
+ f === et.key ? (t.stopPropagation(), ye(t, "minus")) : f === tt.key && (t.stopPropagation(), ye(t, "plus")), ge(), H == null || H(t);
144
197
  },
145
198
  onFocus: (t) => {
146
- var u, $;
147
- v.current = !0, X(($ = (u = o.current) == null ? void 0 : u.dom) == null ? void 0 : $.value), j == null || j(t);
199
+ var f, V;
200
+ N.current = !0, Z((V = (f = o.current) == null ? void 0 : f.dom) == null ? void 0 : V.value), j == null || j(t);
148
201
  },
149
202
  onBlur: (t) => {
150
- fe(ae(s), "outOfRange"), F(!1), S == null || S(t);
203
+ fe(ue(s), "outOfRange"), F(!1), L == null || L(t);
151
204
  }
152
- }, Ue = (t) => h ? {} : {
153
- onMouseDown: (u) => ye(u, t, !0)
154
- }, we = !w && d === "button", Oe = !w && !h && d === "embed", pe = (t, u) => {
155
- const $ = !y && (s.isInvalid || (t === "plus" ? _.isInvalid || s.less(_) : Z.isInvalid || Z.less(s)));
205
+ }, ke = (t) => p ? {} : {
206
+ onMouseDown: (f) => ye(f, t, !0)
207
+ }, Ce = !I && d === "button", ze = !I && !p && d === "embed", pe = (t, f) => {
208
+ const V = !v && (s.isInvalid || (t === "plus" ? _.isInvalid || s.less(_) : ee.isInvalid || ee.less(s)));
156
209
  return /* @__PURE__ */ c(
157
210
  "div",
158
211
  {
159
- className: k(`${N}-step-button`, {
160
- [`${N}-step-button-disabled`]: !$
212
+ className: U(`${w}-step-button`, {
213
+ [`${w}-step-button-disabled`]: !V
161
214
  }),
162
- onMouseLeave: de,
163
- onMouseUp: de,
164
- ...$ ? Ue(t) : {},
165
- children: u
215
+ onMouseLeave: ge,
216
+ onMouseUp: ge,
217
+ ...V ? ke(t) : {},
218
+ children: f
166
219
  }
167
220
  );
168
221
  };
169
222
  return /* @__PURE__ */ c(
170
- A,
223
+ R,
171
224
  {
172
225
  _ignorePropsFromGlobal: !0,
173
226
  role: "spinbutton",
174
- "aria-valuemax": O,
175
- "aria-valuemin": p,
227
+ "aria-valuemax": z,
228
+ "aria-valuemin": h,
176
229
  "aria-valuenow": s.isEmpty ? void 0 : s.toNumber(),
177
- ...ve(Q, ["allowClear"]),
178
- ...Pe,
230
+ ...ve(X, ["allowClear"]),
231
+ ...Ue,
179
232
  style: g,
180
- className: k(
181
- N,
182
- `${N}-mode-${d}`,
183
- `${N}-size-${r}`,
233
+ className: U(
234
+ w,
235
+ `${w}-mode-${d}`,
236
+ `${w}-size-${r}`,
184
237
  {
185
- [`${N}-rtl`]: L,
186
- [`${N}-readonly`]: h,
187
- [`${N}-illegal-value`]: !s.isEmpty && ne
238
+ [`${w}-rtl`]: T,
239
+ [`${w}-readonly`]: p,
240
+ [`${w}-illegal-value`]: !s.isEmpty && ae
188
241
  },
189
- x
242
+ y
190
243
  ),
191
244
  ref: o,
192
245
  size: r,
193
- error: z,
194
- disabled: y,
195
- readOnly: h,
196
- value: Ie,
246
+ error: E,
247
+ disabled: v,
248
+ readOnly: p,
249
+ value: we,
197
250
  placeholder: P,
198
- prefix: V && /* @__PURE__ */ c("div", { className: `${N}-prefix`, children: V }),
199
- suffix: /* @__PURE__ */ ee(We, { children: [
200
- Oe && /* @__PURE__ */ ee("div", { className: `${N}-step-layer`, children: [
251
+ prefix: C && /* @__PURE__ */ c("div", { className: `${w}-prefix`, children: C }),
252
+ suffix: /* @__PURE__ */ te(He, { children: [
253
+ ze && /* @__PURE__ */ te("div", { className: `${w}-step-layer`, children: [
201
254
  pe(
202
255
  "plus",
203
- l && l.up ? l.up : /* @__PURE__ */ c(Je, {})
256
+ u && u.up ? u.up : /* @__PURE__ */ c(Ze, {})
204
257
  ),
205
258
  pe(
206
259
  "minus",
207
- l && l.down ? l.down : /* @__PURE__ */ c(Ke, {})
260
+ u && u.down ? u.down : /* @__PURE__ */ c(Je, {})
208
261
  )
209
262
  ] }),
210
- C && /* @__PURE__ */ c("div", { className: `${N}-suffix`, children: C })
263
+ x && /* @__PURE__ */ c("div", { className: `${w}-suffix`, children: x })
211
264
  ] }),
212
- addBefore: we && pe(
265
+ addBefore: Ce && pe(
213
266
  "minus",
214
- l && l.minus ? l.minus : /* @__PURE__ */ c(qe, {})
267
+ u && u.minus ? u.minus : /* @__PURE__ */ c(Qe, {})
215
268
  ),
216
- addAfter: we && pe(
269
+ addAfter: Ce && pe(
217
270
  "plus",
218
- l && l.plus ? l.plus : /* @__PURE__ */ c(Ye, {})
271
+ u && u.plus ? u.plus : /* @__PURE__ */ c(Xe, {})
219
272
  )
220
273
  }
221
274
  );
222
275
  }
223
- const be = ue.forwardRef(
224
- ft
276
+ const Ie = de.forwardRef(
277
+ gt
225
278
  );
226
- be.displayName = "InputNumber";
227
- const De = ue.forwardRef(
228
- (e, b) => {
229
- const [m, D] = he(!1, {
279
+ Ie.displayName = "InputNumber";
280
+ const Me = de.forwardRef(
281
+ (e, $) => {
282
+ const [l, M] = me(!1, {
230
283
  defaultValue: e.defaultVisibility,
231
284
  value: e.visibility
232
- }), { getPrefixCls: I } = ce(me), L = Ze(), {
285
+ }), { getPrefixCls: b } = ie(le), T = ot(), {
233
286
  className: n,
234
- visibilityToggle: x = !0,
287
+ visibilityToggle: y = !0,
235
288
  onVisibilityChange: g,
236
- ...T
237
- } = e, y = I == null ? void 0 : I("input-password"), z = k(
238
- y,
289
+ ...A
290
+ } = e, v = b == null ? void 0 : b("input-password"), E = U(
291
+ v,
239
292
  {
240
- [`${y}-visibility`]: x
293
+ [`${v}-visibility`]: y
241
294
  },
242
295
  n
243
- ), h = (w) => {
244
- "visibility" in e || D(w), g == null || g(w);
296
+ ), p = (I) => {
297
+ "visibility" in e || M(I), g == null || g(I);
245
298
  };
246
- let M = e.suffix;
299
+ let S = e.suffix;
247
300
  const P = () => {
248
- h(!m);
301
+ p(!l);
249
302
  };
250
- if (x) {
251
- const w = {
303
+ if (y) {
304
+ const I = {
252
305
  onClick: P,
253
306
  // 预防focus丢失
254
- onMouseDown: (C) => C.preventDefault(),
255
- onMouseUp: (C) => C.preventDefault(),
256
- ...L({
307
+ onMouseDown: (x) => x.preventDefault(),
308
+ onMouseUp: (x) => x.preventDefault(),
309
+ ...T({
257
310
  onPressEnter: P
258
311
  })
259
312
  };
260
- e.suffix ? M = /* @__PURE__ */ c("span", { ...w, children: e.suffix }) : M = /* @__PURE__ */ c(
261
- m ? Qe : Xe,
313
+ e.suffix ? S = /* @__PURE__ */ c("span", { ...I, children: e.suffix }) : S = /* @__PURE__ */ c(
314
+ l ? rt : at,
262
315
  {
263
- ...w,
316
+ ...I,
264
317
  focusable: void 0,
265
318
  "aria-hidden": void 0,
266
319
  // tabIndex: 0,
267
- className: `${y}-visibility-icon`
320
+ className: `${v}-visibility-icon`
268
321
  }
269
322
  );
270
323
  }
271
324
  return /* @__PURE__ */ c(
272
- A,
325
+ R,
273
326
  {
274
- ...ve(T, ["visibility", "defaultVisibility"]),
275
- type: m ? "text" : "password",
276
- className: z,
277
- ref: b,
278
- suffix: M
327
+ ...ve(A, ["visibility", "defaultVisibility"]),
328
+ type: l ? "text" : "password",
329
+ className: E,
330
+ ref: $,
331
+ suffix: S
279
332
  }
280
333
  );
281
334
  }
282
335
  );
283
- De.displayName = "Password";
284
- const Le = ue.forwardRef(
285
- (e, b) => {
286
- const { getPrefixCls: m } = ce(me), {
287
- className: D,
288
- style: I,
289
- placeholder: L,
336
+ Me.displayName = "Password";
337
+ const Te = de.forwardRef(
338
+ (e, $) => {
339
+ const { getPrefixCls: l } = ie(le), {
340
+ className: M,
341
+ style: b,
342
+ placeholder: T,
290
343
  disabled: n,
291
- searchButton: x,
344
+ searchButton: y,
292
345
  loading: g,
293
- defaultValue: T,
294
- addAfter: y,
295
- suffix: z,
296
- ...h
297
- } = e, M = ie(e.maxLength) ? e.maxLength.length : e.maxLength, P = ie(e.maxLength) && e.maxLength.errorOnly ? void 0 : M, [w, C] = he("", {
298
- defaultValue: "defaultValue" in e ? se(e.defaultValue, P) : void 0,
299
- value: "value" in e ? se(e.value, P) : void 0
300
- }), V = m == null ? void 0 : m("input-search"), l = k(
301
- V,
346
+ defaultValue: A,
347
+ addAfter: v,
348
+ suffix: E,
349
+ ...p
350
+ } = e, S = ne(e.maxLength) ? e.maxLength.length : e.maxLength, P = ne(e.maxLength) && e.maxLength.errorOnly ? void 0 : S, [I, x] = me("", {
351
+ defaultValue: "defaultValue" in e ? Q(e.defaultValue, P) : void 0,
352
+ value: "value" in e ? Q(e.value, P) : void 0
353
+ }), C = l == null ? void 0 : l("input-search"), u = U(
354
+ C,
302
355
  {
303
- [`${V}-button`]: x
356
+ [`${C}-button`]: y
304
357
  },
305
- D
358
+ M
306
359
  ), d = () => {
307
- var i;
308
- !n && ((i = e.onSearch) == null || i.call(e, w));
360
+ var a;
361
+ !n && ((a = e.onSearch) == null || a.call(e, I));
309
362
  };
310
363
  return /* @__PURE__ */ c(
311
- A,
364
+ R,
312
365
  {
313
- ...ve(h, ["onSearch"]),
366
+ ...ve(p, ["onSearch"]),
314
367
  disabled: n,
315
- className: l,
316
- style: I,
317
- ref: b,
318
- placeholder: L,
319
- addAfter: y !== void 0 ? y : x ? /* @__PURE__ */ c(
320
- tt,
368
+ className: u,
369
+ style: b,
370
+ ref: $,
371
+ placeholder: T,
372
+ addAfter: v !== void 0 ? v : y ? /* @__PURE__ */ c(
373
+ Ee,
321
374
  {
322
375
  disabled: n,
323
- size: h.size,
324
- className: `${V}-btn`,
376
+ size: p.size,
377
+ className: `${C}-btn`,
325
378
  type: "primary",
326
379
  onClick: d,
327
380
  loading: g,
328
381
  loadingFixedWidth: !0,
329
- icon: x === !0 && !g && /* @__PURE__ */ c(Ve, {}),
382
+ icon: y === !0 && !g && /* @__PURE__ */ c(Le, {}),
330
383
  ...e == null ? void 0 : e.searchButtonProps,
331
- children: x !== !0 && x
384
+ children: y !== !0 && y
332
385
  }
333
386
  ) : null,
334
- suffix: z !== void 0 ? z : !x && (g ? /* @__PURE__ */ c(et, {}) : /* @__PURE__ */ c(Ve, { onClick: d })),
335
- onChange: (i, f) => {
336
- var U;
337
- C(i), (U = e.onChange) == null || U.call(e, i, f);
387
+ suffix: E !== void 0 ? E : !y && (g ? /* @__PURE__ */ c(st, {}) : /* @__PURE__ */ c(Le, { onClick: d })),
388
+ onChange: (a, m) => {
389
+ var k;
390
+ x(a), (k = e.onChange) == null || k.call(e, a, m);
338
391
  },
339
- defaultValue: T,
340
- onPressEnter: (i) => {
341
- var f;
342
- d(), (f = e.onPressEnter) == null || f.call(e, i);
392
+ defaultValue: A,
393
+ onPressEnter: (a) => {
394
+ var m;
395
+ d(), (m = e.onPressEnter) == null || m.call(e, a);
343
396
  }
344
397
  }
345
398
  );
346
399
  }
347
400
  );
348
- Le.displayName = "Search";
349
- const dt = (e, b) => {
401
+ Te.displayName = "Search";
402
+ const pt = (e, $) => {
350
403
  const {
351
- className: m,
352
- style: D,
353
- wrapperStyle: I,
354
- placeholder: L,
404
+ className: l,
405
+ style: M,
406
+ wrapperStyle: b,
407
+ placeholder: T,
355
408
  disabled: n,
356
- error: x,
409
+ error: y,
357
410
  maxLength: g,
358
- showWordLimit: T,
359
- allowClear: y,
360
- onChange: z,
361
- onClear: h,
362
- onKeyDown: M,
411
+ showWordLimit: A,
412
+ allowClear: v,
413
+ onChange: E,
414
+ onClear: p,
415
+ onKeyDown: S,
363
416
  onPressEnter: P,
364
- status: w,
365
- clearIcon: C,
366
- ...V
367
- } = e, l = Ee(g) ? g.length : g, d = Ee(g) ? g.errorOnly ? void 0 : g.length : g, i = te(), [f, U] = oe({}), [p, O] = he("", {
368
- defaultValue: "defaultValue" in e ? se(e.defaultValue, d) : void 0,
369
- value: "value" in e ? se(e.value, d) : void 0
417
+ status: I,
418
+ clearIcon: x,
419
+ ...C
420
+ } = e, u = Re(g) ? g.length : g, d = Re(g) ? g.errorOnly ? void 0 : g.length : g, a = re(), [m, k] = se({}), [h, z] = me("", {
421
+ defaultValue: "defaultValue" in e ? Q(e.defaultValue, d) : void 0,
422
+ value: "value" in e ? Q(e.value, d) : void 0
370
423
  }), {
371
424
  compositionValue: G,
372
425
  compositionHandler: W,
373
- valueChangeHandler: S,
426
+ valueChangeHandler: L,
374
427
  keyDownHandler: j,
375
- triggerValueChangeCallback: H
376
- } = st({
377
- value: p,
428
+ triggerValueChangeCallback: B
429
+ } = ct({
430
+ value: h,
378
431
  maxLength: d,
379
- onChange: z,
380
- onKeyDown: M,
432
+ onChange: E,
433
+ onKeyDown: S,
381
434
  onPressEnter: P,
382
- beforeTriggerValueChangeCallback: (a) => {
383
- !("value" in e) && (d === void 0 || a.length <= d) && O(a);
435
+ beforeTriggerValueChangeCallback: (i) => {
436
+ !("value" in e) && (d === void 0 || i.length <= d) && z(i);
384
437
  }
385
- }), B = G || p || "", { getPrefixCls: Q, rtl: N } = ce(me), r = Q == null ? void 0 : Q("textarea");
386
- n && (f.resize = "none");
387
- const R = () => {
388
- if (i.current && i.current.focus) {
389
- if (i.current.setSelectionRange) {
390
- const a = i.current.textContent.length;
391
- i.current.setSelectionRange(a, a);
438
+ }), H = G || h || "", { getPrefixCls: X, rtl: w } = ie(le), r = X == null ? void 0 : X("textarea");
439
+ n && (m.resize = "none");
440
+ const O = () => {
441
+ if (a.current && a.current.focus) {
442
+ if (a.current.setSelectionRange) {
443
+ const i = a.current.textContent.length;
444
+ a.current.setSelectionRange(i, i);
392
445
  }
393
- i.current.focus();
446
+ a.current.focus();
394
447
  }
395
448
  }, q = () => {
396
- const a = ot(
449
+ const i = ut(
397
450
  e.autoSize,
398
- i.current
451
+ a.current
399
452
  );
400
- a && U(a);
401
- }, K = (a) => {
402
- a.stopPropagation(), R(), H("", a), h == null || h();
453
+ i && k(i);
454
+ }, K = (i) => {
455
+ i.stopPropagation(), O(), B("", i), p == null || p();
403
456
  };
404
- rt(() => {
457
+ lt(() => {
405
458
  q();
406
- }, [B]), $e(
407
- b,
459
+ }, [H]), $e(
460
+ $,
408
461
  () => ({
409
- dom: i.current,
462
+ dom: a.current,
410
463
  focus: () => {
411
- R();
464
+ O();
412
465
  },
413
466
  blur: () => {
414
- var a, o;
415
- (o = (a = i.current) == null ? void 0 : a.blur) == null || o.call(a);
467
+ var i, o;
468
+ (o = (i = a.current) == null ? void 0 : i.blur) == null || o.call(i);
416
469
  },
417
- getRootDOMNode: () => i.current
470
+ getRootDOMNode: () => a.current
418
471
  }),
419
472
  []
420
473
  );
421
- const E = p ? p.length : 0, X = l && T || y, ne = le(() => !d && l ? E > l : !1, [E, l, d]), Y = w || (x || ne ? "error" : void 0), J = k(
474
+ const D = h ? h.length : 0, Z = u && A || v, ae = ce(() => !d && u ? D > u : !1, [D, u, d]), Y = I || (y || ae ? "error" : void 0), J = U(
422
475
  r,
423
476
  {
424
477
  [`${r}-${Y}`]: Y,
425
478
  // [`${prefixCls}-error`]: error || lengthError || status === 'error',
426
479
  [`${r}-disabled`]: n,
427
- [`${r}-rtl`]: N
480
+ [`${r}-rtl`]: w
428
481
  },
429
- m
482
+ l
430
483
  ), F = /* @__PURE__ */ c(
431
484
  "textarea",
432
485
  {
433
- ...ve(V, ["autoSize", "defaultValue"]),
486
+ ...ve(C, ["autoSize", "defaultValue"]),
434
487
  maxLength: d,
435
- ref: i,
436
- style: { ...D, ...f },
488
+ ref: a,
489
+ style: { ...M, ...m },
437
490
  className: J,
438
- placeholder: L,
491
+ placeholder: T,
439
492
  disabled: n,
440
- value: B,
441
- onChange: S,
493
+ value: H,
494
+ onChange: L,
442
495
  onKeyDown: j,
443
496
  onCompositionStart: W,
444
497
  onCompositionUpdate: W,
445
498
  onCompositionEnd: W
446
499
  }
447
500
  );
448
- if (X) {
449
- const a = !n && y && p, [o, v] = N ? [l, E] : [E, l];
450
- return /* @__PURE__ */ ee(
501
+ if (Z) {
502
+ const i = !n && v && h, [o, N] = w ? [u, D] : [D, u];
503
+ return /* @__PURE__ */ te(
451
504
  "div",
452
505
  {
453
- className: k(`${r}-wrapper`, {
454
- [`${r}-clear-wrapper`]: y,
455
- [`${r}-wrapper-rtl`]: N
506
+ className: U(`${r}-wrapper`, {
507
+ [`${r}-clear-wrapper`]: v,
508
+ [`${r}-wrapper-rtl`]: w
456
509
  }),
457
- style: I,
510
+ style: b,
458
511
  children: [
459
512
  F,
460
- a ? C !== void 0 ? /* @__PURE__ */ c(
513
+ i ? x !== void 0 ? /* @__PURE__ */ c(
461
514
  "span",
462
515
  {
463
516
  className: `${r}-clear-icon`,
@@ -465,10 +518,10 @@ const dt = (e, b) => {
465
518
  onMouseDown: (s) => {
466
519
  s.preventDefault();
467
520
  },
468
- children: C
521
+ children: x
469
522
  }
470
- ) : /* @__PURE__ */ c(_e, { className: `${r}-clear-icon`, children: /* @__PURE__ */ c(
471
- nt,
523
+ ) : /* @__PURE__ */ c(Ke, { className: `${r}-clear-icon`, children: /* @__PURE__ */ c(
524
+ it,
472
525
  {
473
526
  onClick: K,
474
527
  onMouseDown: (s) => {
@@ -476,16 +529,16 @@ const dt = (e, b) => {
476
529
  }
477
530
  }
478
531
  ) }) : null,
479
- l && T && /* @__PURE__ */ ee(
532
+ u && A && /* @__PURE__ */ te(
480
533
  "span",
481
534
  {
482
- className: k(`${r}-word-limit`, {
483
- [`${r}-word-limit-error`]: ne
535
+ className: U(`${r}-word-limit`, {
536
+ [`${r}-word-limit-error`]: ae
484
537
  }),
485
538
  children: [
486
539
  o,
487
540
  "/",
488
- v
541
+ N
489
542
  ]
490
543
  }
491
544
  )
@@ -494,195 +547,198 @@ const dt = (e, b) => {
494
547
  );
495
548
  }
496
549
  return F;
497
- }, Te = ue.forwardRef(dt);
498
- Te.displayName = "TextArea";
499
- const pt = (e) => {
500
- e.target.tagName !== "INPUT" && e.preventDefault();
501
- }, ge = (e, b, m = {}, D) => b ? /* @__PURE__ */ c("span", { style: m, className: e, onClick: D, children: b }) : null;
502
- function se(e, b) {
503
- const m = e !== null && !Be(e) && !He(e) ? String(e) : e || "";
504
- return b ? m.slice(0, b) : m;
550
+ }, Pe = de.forwardRef(pt);
551
+ Pe.displayName = "TextArea";
552
+ const ht = (e) => {
553
+ e.target.tagName === "INPUT" || e.preventDefault();
554
+ }, he = (e, $, l = {}, M) => $ ? /* @__PURE__ */ c("span", { style: l, className: e, onClick: M, children: $ }) : null;
555
+ function Q(e, $) {
556
+ const l = e !== null && !_e(e) && !Fe(e) ? String(e) : e || "";
557
+ return $ ? l.slice(0, $) : l;
505
558
  }
506
- function gt(e, b) {
559
+ function vt(e, $) {
507
560
  const {
508
- getPrefixCls: m,
509
- size: D,
510
- componentConfig: I,
511
- rtl: L
512
- } = ce(me), n = Re(
561
+ getPrefixCls: l,
562
+ size: M,
563
+ componentConfig: b,
564
+ rtl: T
565
+ } = ie(le), n = Ae(
513
566
  e,
514
567
  {},
515
- I == null ? void 0 : I.Input
568
+ b == null ? void 0 : b.Input
516
569
  ), {
517
- className: x,
570
+ className: y,
518
571
  style: g,
519
- addBefore: T,
520
- addAfter: y,
521
- suffix: z,
522
- prefix: h,
523
- beforeStyle: M,
572
+ addBefore: A,
573
+ addAfter: v,
574
+ suffix: E,
575
+ prefix: p,
576
+ beforeStyle: S,
524
577
  afterStyle: P,
525
- height: w,
526
- disabled: C,
527
- maxLength: V,
528
- showWordLimit: l,
578
+ height: I,
579
+ disabled: x,
580
+ maxLength: C,
581
+ showWordLimit: u,
529
582
  allowClear: d,
530
- autoWidth: i
531
- } = n, f = i ? {
583
+ autoWidth: a
584
+ } = n, m = a ? {
532
585
  minWidth: 0,
533
586
  maxWidth: "100%",
534
- ...ie(i) ? i : {}
535
- } : null, U = {
536
- minWidth: f == null ? void 0 : f.minWidth,
537
- maxWidth: f == null ? void 0 : f.maxWidth,
538
- width: f && "auto",
587
+ ...ne(a) ? a : {}
588
+ } : null, k = {
589
+ minWidth: m == null ? void 0 : m.minWidth,
590
+ maxWidth: m == null ? void 0 : m.maxWidth,
591
+ width: m && "auto",
539
592
  ...g
540
- }, p = ie(V) ? V.length : V, O = ie(V) && V.errorOnly ? void 0 : p, [G, W] = oe(!1), S = te(), j = te(), H = te(), [B, Q] = he("", {
541
- defaultValue: "defaultValue" in n ? se(n.defaultValue, O) : void 0,
542
- value: "value" in n ? se(n.value, O) : void 0
593
+ }, h = ne(C) ? C.length : C, z = ne(C) && C.errorOnly ? void 0 : h, [G, W] = se(!1), L = re(), j = re(), B = re(), [H, X] = me("", {
594
+ defaultValue: "defaultValue" in n ? Q(n.defaultValue, z) : void 0,
595
+ value: "value" in n ? Q(n.value, z) : void 0
543
596
  });
544
597
  $e(
545
- b,
598
+ $,
546
599
  () => {
547
- var o, v, s;
600
+ var o, N, s;
548
601
  return {
549
- focus: (o = S.current) == null ? void 0 : o.focus,
550
- blur: (v = S.current) == null ? void 0 : v.blur,
551
- dom: (s = S.current) == null ? void 0 : s.dom,
602
+ focus: (o = L.current) == null ? void 0 : o.focus,
603
+ blur: (N = L.current) == null ? void 0 : N.blur,
604
+ dom: (s = L.current) == null ? void 0 : s.dom,
552
605
  // 保持之前逻辑
553
606
  getRootDOMNode: () => {
554
607
  var _;
555
- return j.current || ((_ = S.current) == null ? void 0 : _.dom);
608
+ return j.current || ((_ = L.current) == null ? void 0 : _.dom);
556
609
  }
557
610
  };
558
611
  },
559
612
  []
560
613
  );
561
- const N = (o, v) => {
614
+ const w = (o, N) => {
562
615
  var s;
563
- "value" in n || Q(o), (s = n.onChange) == null || s.call(n, o, v);
564
- }, r = m == null ? void 0 : m("input"), R = n.size || D, q = "height" in n;
565
- let K = z;
566
- const E = B ? B.length : 0, X = le(() => !O && p ? E > p : !1, [E, p, O]);
567
- if (p && l) {
568
- const [o, v] = L ? [p, E] : [E, p];
569
- K = /* @__PURE__ */ ee(
616
+ "value" in n || X(o), (s = n.onChange) == null || s.call(n, o, N);
617
+ }, r = l == null ? void 0 : l("input"), O = n.size || M, q = "height" in n;
618
+ let K = E;
619
+ const D = H ? H.length : 0, Z = ce(() => !z && h ? D > h : !1, [D, h, z]);
620
+ if (h && u) {
621
+ const [o, N] = T ? [h, D] : [D, h];
622
+ K = /* @__PURE__ */ te(
570
623
  "span",
571
624
  {
572
- className: k(`${r}-word-limit`, {
573
- [`${r}-word-limit-error`]: X
625
+ className: U(`${r}-word-limit`, {
626
+ [`${r}-word-limit-error`]: Z
574
627
  }),
575
628
  children: [
576
629
  o,
577
630
  "/",
578
- v
631
+ N
579
632
  ]
580
633
  }
581
634
  );
582
635
  }
583
- const ne = k(
636
+ const ae = U(
584
637
  `${r}-group-wrapper`,
585
- `${r}-group-wrapper-${R}`,
638
+ `${r}-group-wrapper-${O}`,
586
639
  {
587
640
  [`${r}-custom-height`]: q,
588
641
  [`${r}-has-suffix`]: K,
589
- [`${r}-group-wrapper-disabled`]: C,
590
- [`${r}-group-wrapper-rtl`]: L,
591
- [`${r}-group-wrapper-autowidth`]: f
642
+ [`${r}-group-wrapper-disabled`]: x,
643
+ [`${r}-group-wrapper-rtl`]: T,
644
+ [`${r}-group-wrapper-autowidth`]: m
592
645
  },
593
- x
594
- ), Y = n.status || (n.error || X ? "error" : void 0), J = T || y || K || h, F = /* @__PURE__ */ c(
595
- je,
646
+ y
647
+ ), Y = n.status || (n.error || Z ? "error" : void 0), J = A || v || K || p, F = /* @__PURE__ */ c(
648
+ Ye,
596
649
  {
597
- ref: S,
650
+ ref: L,
598
651
  ...n,
599
- autoFitWidth: !!f,
600
- style: U,
652
+ autoFitWidth: !!m,
653
+ style: k,
601
654
  status: Y,
602
655
  onFocus: (o) => {
603
- var v;
604
- W(!0), (v = n.onFocus) == null || v.call(n, o);
656
+ var N;
657
+ W(!0), (N = n.onFocus) == null || N.call(n, o);
605
658
  },
606
659
  onBlur: (o) => {
607
- var v;
608
- W(!1), (v = n.onBlur) == null || v.call(n, o);
660
+ var N;
661
+ W(!1), (N = n.onBlur) == null || N.call(n, o);
609
662
  },
610
- onChange: N,
663
+ onChange: w,
611
664
  prefixCls: r,
612
- value: B,
665
+ value: H,
613
666
  hasParent: !!J || d,
614
- size: R
667
+ size: O
615
668
  }
616
- ), a = k(`${r}-inner-wrapper`, {
669
+ ), i = U(`${r}-inner-wrapper`, {
617
670
  [`${r}-inner-wrapper-${Y}`]: Y,
618
- [`${r}-inner-wrapper-disabled`]: C,
671
+ [`${r}-inner-wrapper-disabled`]: x,
619
672
  [`${r}-inner-wrapper-focus`]: G,
620
- [`${r}-inner-wrapper-has-prefix`]: h,
621
- [`${r}-inner-wrapper-${R}`]: R,
673
+ [`${r}-inner-wrapper-has-prefix`]: p,
674
+ [`${r}-inner-wrapper-${O}`]: O,
622
675
  [`${r}-clear-wrapper`]: d,
623
- [`${r}-inner-wrapper-rtl`]: L
676
+ [`${r}-inner-wrapper-rtl`]: T
624
677
  });
625
678
  return J ? /* @__PURE__ */ c(
626
679
  "div",
627
680
  {
628
681
  ref: j,
629
- className: ne,
630
- style: { ...U, ...q ? { height: w } : {} },
631
- children: /* @__PURE__ */ ee("span", { className: `${r}-group`, children: [
632
- ge(`${r}-group-addbefore`, T, M),
633
- /* @__PURE__ */ ee(
682
+ className: ae,
683
+ style: { ...k, ...q ? { height: I } : {} },
684
+ children: /* @__PURE__ */ te("span", { className: `${r}-group`, children: [
685
+ he(`${r}-group-addbefore`, A, S),
686
+ /* @__PURE__ */ te(
634
687
  "span",
635
688
  {
636
- className: a,
637
- ref: H,
689
+ className: i,
690
+ ref: B,
638
691
  onMouseDown: (o) => {
639
- o.target.tagName !== "INPUT" && H.current && Se(H.current, o.target) && o.preventDefault();
692
+ o.target.tagName !== "INPUT" && B.current && Se(B.current, o.target) && o.preventDefault();
640
693
  },
641
694
  onClick: (o) => {
642
- H.current && Se(H.current, o.target) && S.current && S.current.focus();
695
+ B.current && Se(B.current, o.target) && L.current && L.current.focus();
643
696
  },
644
697
  children: [
645
- ge(`${r}-group-prefix`, h),
698
+ he(`${r}-group-prefix`, p),
646
699
  F,
647
- ge(`${r}-group-suffix`, K)
700
+ he(`${r}-group-suffix`, K)
648
701
  ]
649
702
  }
650
703
  ),
651
- ge(`${r}-group-addafter`, y, P)
704
+ he(`${r}-group-addafter`, v, P)
652
705
  ] })
653
706
  }
654
707
  ) : d ? /* @__PURE__ */ c(
655
708
  "span",
656
709
  {
657
710
  ref: j,
658
- className: k(x, a),
659
- style: { ...U, ...q ? { height: w } : {} },
660
- onMouseDown: pt,
711
+ className: U(y, i),
712
+ style: { ...k, ...q ? { height: I } : {} },
713
+ onMouseDown: ht,
661
714
  onClick: () => {
662
- S.current && S.current.focus();
715
+ L.current && L.current.focus();
663
716
  },
664
717
  children: F
665
718
  }
666
719
  ) : F;
667
720
  }
668
- const A = ue.forwardRef(gt);
669
- A.displayName = "Input";
670
- A.Search = Le;
671
- A.TextArea = Te;
672
- A.Password = De;
673
- A.Number = be;
674
- A.InputNumber = be;
675
- A.Tag = Ae;
676
- A.InputTag = Ae;
677
- A.Group = Ge;
721
+ const yt = je(vt), R = yt;
722
+ R.displayName = "Input";
723
+ R.Search = Te;
724
+ R.Button = be;
725
+ R.InputButton = be;
726
+ R.TextArea = Pe;
727
+ R.Password = Me;
728
+ R.Number = Ie;
729
+ R.InputNumber = Ie;
730
+ R.Tag = De;
731
+ R.InputTag = De;
732
+ R.Group = qe;
678
733
  export {
679
- Ge as InputGroup,
680
- be as InputNumber,
681
- De as InputPassword,
682
- Le as InputSearch,
683
- Ae as InputTag,
684
- Te as InputTextArea,
685
- Te as TextArea,
686
- A as default,
687
- se as formatValue
734
+ be as InputButton,
735
+ qe as InputGroup,
736
+ Ie as InputNumber,
737
+ Me as InputPassword,
738
+ Te as InputSearch,
739
+ De as InputTag,
740
+ Pe as InputTextArea,
741
+ Pe as TextArea,
742
+ R as default,
743
+ Q as formatValue
688
744
  };