@unicom-cloud/ui 0.8.83 → 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 (1070) 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 +8 -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/{R-uQJib2.js → B1kymbJZ.js} +2 -2
  97. package/chunk/B44Hj5ad.js +697 -0
  98. package/chunk/{BZ9g7J4R.js → BC2OXILt.js} +1 -1
  99. package/chunk/{ev6oHWqY.js → BJjotfW6.js} +1 -1
  100. package/chunk/{uKZyjtff.js → BNevupAU.js} +4 -5
  101. package/chunk/BRPQJFSI.js +649 -0
  102. package/chunk/{CVSWh4ZZ.js → BZJwzdhZ.js} +1 -1
  103. package/chunk/C7bohPVD.js +185 -0
  104. package/chunk/{BmulTYLW.js → DO3k0z6J.js} +2802 -2791
  105. package/chunk/Doi4-DdV.js +1472 -0
  106. package/chunk/{DdJVL_4g.js → DuWBv5j3.js} +1 -1
  107. package/chunk/{DSRHFFrc.js → DzekwbB4.js} +1 -1
  108. package/collapse/Collapse.js +2 -2
  109. package/collapse/Item.js +2 -2
  110. package/collapse/index.js +1 -1
  111. package/color-picker/ControlBar.js +1 -1
  112. package/color-picker/InputAlpha.js +1 -1
  113. package/color-picker/InputHex.js +4 -4
  114. package/color-picker/InputRgb.js +3 -3
  115. package/color-picker/Palette.js +1 -1
  116. package/color-picker/Panel.js +2 -2
  117. package/color-picker/index.js +2 -2
  118. package/comment/index.js +1 -1
  119. package/config-provider/ConfigProvider.js +2 -2
  120. package/config-provider/context.js +1 -1
  121. package/config-provider/index.js +2 -2
  122. package/copy/index.js +1 -1
  123. package/date-picker/Picker.js +2 -2
  124. package/date-picker/RangePicker.js +3 -3
  125. package/date-picker/index.js +1 -1
  126. package/date-picker/util.js +1 -1
  127. package/descriptions/index.js +1 -1
  128. package/development/index.js +42 -0
  129. package/divider/index.js +1 -1
  130. package/draggable/index.js +1 -1
  131. package/drawer/Drawer.js +153 -152
  132. package/dropdown/Button.js +1 -1
  133. package/dropdown/index.js +1 -1
  134. package/empty/index.js +2 -4
  135. package/form/Form.js +1 -1
  136. package/form/FormItem.js +1 -1
  137. package/form/context.js +1 -1
  138. package/grid/Col.js +1 -1
  139. package/grid/Row.js +1 -1
  140. package/grid/grid-item.js +1 -1
  141. package/grid/grid.js +1 -1
  142. package/icon/index.js +1 -1
  143. package/icon-hover/index.js +1 -1
  144. package/image/Image.js +2 -2
  145. package/image/ImagePreview.js +2 -2
  146. package/image/ImagePreviewArrow.js +1 -1
  147. package/image/ImagePreviewGroup.js +1 -1
  148. package/image/index.js +1 -1
  149. package/index.js +310 -308
  150. package/input/Button.js +1 -1
  151. package/input/Group.js +1 -1
  152. package/input/Input.js +332 -330
  153. package/input/InputElement.js +1 -1
  154. package/input/Password.js +1 -1
  155. package/input/Search.js +1 -1
  156. package/input/Textarea.js +1 -1
  157. package/input/index.js +7 -8
  158. package/input-number/index.js +1 -1
  159. package/input-tag/InputTag.js +1 -1
  160. package/layout/Content.js +1 -1
  161. package/layout/Footer.js +1 -1
  162. package/layout/Header.js +1 -1
  163. package/layout/Sider.js +1 -1
  164. package/layout/index.js +1 -1
  165. package/link/index.js +1 -1
  166. package/list/Item.js +1 -1
  167. package/list/Meta.js +1 -1
  168. package/list/index.js +2 -2
  169. package/mentions/index.js +2 -2
  170. package/menu/Menu.js +2 -2
  171. package/menu/OverflowWrap.js +1 -1
  172. package/menu/index.js +2 -2
  173. package/message/index.js +1 -1
  174. package/message/useMessage.js +1 -1
  175. package/modal/Confirm.js +2 -2
  176. package/modal/Modal.js +2 -2
  177. package/modal/index.js +1 -1
  178. package/notice/index.js +1 -1
  179. package/notification/index.js +1 -1
  180. package/notification/useNotification.js +1 -1
  181. package/overflow-ellipsis/OverflowItem.js +1 -1
  182. package/overflow-ellipsis/index.js +1 -1
  183. package/package.json +1 -1
  184. package/page-header/index.js +1 -1
  185. package/pagination/PageItem.js +1 -1
  186. package/pagination/PageJumper.js +4 -4
  187. package/pagination/PageOption.js +2 -2
  188. package/pagination/Pagination.js +2 -2
  189. package/pagination/index.js +1 -1
  190. package/picker/Input.js +1 -1
  191. package/picker/InputRange.js +1 -1
  192. package/popconfirm/index.js +1 -1
  193. package/popover/index.js +1 -1
  194. package/progress/index.js +1 -1
  195. package/radio/Group.js +2 -2
  196. package/radio/GroupBlock.js +2 -2
  197. package/radio/Radio.js +2 -2
  198. package/radio/index.js +2 -2
  199. package/rate/index.js +1 -1
  200. package/resize-box/ResizeTrigger.js +1 -1
  201. package/resize-box/Split.js +1 -1
  202. package/resize-box/SplitGroup.js +1 -1
  203. package/resize-box/index.js +1 -1
  204. package/result/index.js +1 -1
  205. package/select/Option.js +1 -1
  206. package/select/Select.js +2 -2
  207. package/select/index.js +2 -2
  208. package/select/util.js +1 -1
  209. package/select-view/Core.js +77 -77
  210. package/skeleton/index.js +1 -1
  211. package/slider/Button.js +1 -1
  212. package/slider/index.js +59 -59
  213. package/space/index.js +1 -1
  214. package/speech-synthesis/index.js +41 -83
  215. package/spin/DotLoading.js +1 -1
  216. package/spin/index.js +1 -1
  217. package/statistic/Countdown.js +2 -2
  218. package/statistic/index.js +18 -18
  219. package/steps/index.js +1 -1
  220. package/style.css +1 -1
  221. package/switch/index.js +1 -1
  222. package/table/Table.js +3 -3
  223. package/table/index.js +1 -1
  224. package/tabs/Tab.js +2 -2
  225. package/tabs/TabContent.js +2 -2
  226. package/tabs/TabPane.js +1 -1
  227. package/tabs/index.js +2 -2
  228. package/tag/index.js +1 -1
  229. package/time-picker/Picker.js +92 -90
  230. package/time-picker/RangePicker.js +1 -1
  231. package/time-picker/TimePicker.js +2 -2
  232. package/time-picker/util.js +6 -6
  233. package/timeline/Item.js +1 -1
  234. package/timeline/Timeline.js +1 -1
  235. package/tooltip/index.js +1 -1
  236. package/transfer/Item.js +2 -2
  237. package/transfer/List.js +2 -2
  238. package/transfer/index.js +2 -2
  239. package/tree/Animation.js +2 -2
  240. package/tree/Node.js +2 -2
  241. package/tree/NodeList.js +1 -1
  242. package/tree/Tree.js +2 -2
  243. package/tree/index.js +1 -1
  244. package/tree/util.js +34 -34
  245. package/tree-select/List.js +1 -1
  246. package/tree-select/Select.js +2 -2
  247. package/tree-select/index.js +2 -2
  248. package/trigger/index.js +1 -1
  249. package/types/common/assets/hourglass.d.ts +2 -0
  250. package/types/common/development/index.d.ts +2 -0
  251. package/types/common/empty/index.d.ts +4 -0
  252. package/types/common/empty/interface.d.ts +24 -0
  253. package/types/common/higher-order/with-speech-synthesis/index.d.ts +2 -0
  254. package/types/common/hooks/useComputedState.d.ts +4 -0
  255. package/types/common/hooks/useCreate.d.ts +2 -0
  256. package/types/common/hooks/useForceUpdate.d.ts +16 -0
  257. package/types/common/hooks/useId.d.ts +6 -0
  258. package/types/common/hooks/useInView.d.ts +11 -0
  259. package/types/common/hooks/useIntersectionObserver.d.ts +7 -0
  260. package/types/common/hooks/useInterval.d.ts +2 -0
  261. package/types/common/hooks/useIsFirstRender.d.ts +2 -0
  262. package/types/common/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
  263. package/types/common/hooks/useKeyboardEvent.d.ts +8 -0
  264. package/types/common/hooks/useListenResize.d.ts +18 -0
  265. package/types/common/hooks/useMedia.d.ts +2 -0
  266. package/types/common/hooks/useMergeProps.d.ts +5 -0
  267. package/types/common/hooks/useMergeValue.d.ts +6 -0
  268. package/types/common/hooks/useOnlineStatus.d.ts +2 -0
  269. package/types/common/hooks/useOverflowHidden.d.ts +5 -0
  270. package/types/common/hooks/useOverrideRef.d.ts +6 -0
  271. package/types/common/hooks/usePersistCallback.d.ts +2 -0
  272. package/types/common/hooks/usePrefersColorSchemeDark.d.ts +2 -0
  273. package/types/common/hooks/usePrevious.d.ts +3 -0
  274. package/types/common/hooks/useRefs.d.ts +2 -0
  275. package/types/common/hooks/useResizeObserver.d.ts +6 -0
  276. package/types/common/hooks/useStateCallback.d.ts +5 -0
  277. package/types/common/hooks/useStateWithPromise.d.ts +2 -0
  278. package/types/common/hooks/useUpdateEffect.d.ts +19 -0
  279. package/types/common/hooks/useWatch.d.ts +3 -0
  280. package/types/common/hooks/useWindowSize.d.ts +18 -0
  281. package/types/common/utils/PqbCSSTransition.d.ts +4 -0
  282. package/types/common/utils/caseName.d.ts +1 -0
  283. package/types/common/utils/className.d.ts +1 -0
  284. package/types/common/utils/constant.d.ts +2 -0
  285. package/types/{utils → common/utils}/copy.d.ts +1 -1
  286. package/types/common/utils/dayjs.d.ts +22 -0
  287. package/types/common/utils/dom.d.ts +12 -0
  288. package/types/common/utils/fileToURL.d.ts +1 -0
  289. package/types/common/utils/fillNBSP.d.ts +3 -0
  290. package/types/common/utils/getHighlightText.d.ts +7 -0
  291. package/types/common/utils/getHotkeyHandler.d.ts +18 -0
  292. package/types/common/utils/getStringLength.d.ts +3 -0
  293. package/types/common/utils/include.d.ts +3 -0
  294. package/types/common/utils/is.d.ts +17 -0
  295. package/types/common/utils/lodash.d.ts +17 -0
  296. package/types/common/utils/mergeProps.d.ts +3 -0
  297. package/types/common/utils/mergedToString.d.ts +4 -0
  298. package/types/common/utils/omit.d.ts +3 -0
  299. package/types/common/utils/pad.d.ts +2 -0
  300. package/types/common/utils/pick.d.ts +6 -0
  301. package/types/common/utils/react19Adapter.d.ts +1 -0
  302. package/types/common/utils/reactDOM.d.ts +14 -0
  303. package/types/common/utils/resizeObserverEffect.d.ts +2 -0
  304. package/types/common/utils/saveAs.d.ts +1 -0
  305. package/types/common/utils/screenfull.d.ts +1 -0
  306. package/types/common/utils/scrollIntoView.d.ts +4 -0
  307. package/types/common/utils/style.d.ts +3 -0
  308. package/types/common/utils/throttleByRaf.d.ts +6 -0
  309. package/types/common/utils/warning.d.ts +3 -0
  310. package/types/pc/affix/interface.d.ts +52 -0
  311. package/types/pc/alert/interface.d.ts +66 -0
  312. package/types/pc/anchor/interface.d.ts +105 -0
  313. package/types/{anchor → pc/anchor}/util.d.ts +1 -1
  314. package/types/pc/auto-complete/interface.d.ts +127 -0
  315. package/types/pc/avatar/interface.d.ts +95 -0
  316. package/types/pc/back-top/interface.d.ts +42 -0
  317. package/types/pc/badge/interface.d.ts +66 -0
  318. package/types/pc/breadcrumb/interface.d.ts +78 -0
  319. package/types/{button → pc/button}/index.d.ts +2 -2
  320. package/types/pc/button/interface.d.ts +115 -0
  321. package/types/pc/calendar/hook/useCellClassName.d.ts +2 -0
  322. package/types/pc/calendar/interface.d.ts +122 -0
  323. package/types/pc/card/interface.d.ts +99 -0
  324. package/types/pc/carousel/interface.d.ts +144 -0
  325. package/types/{cascader → pc/cascader}/base/node.d.ts +30 -0
  326. package/types/{cascader → pc/cascader}/base/store.d.ts +17 -0
  327. package/types/pc/cascader/interface.d.ts +308 -0
  328. package/types/pc/checkbox/interface.d.ts +102 -0
  329. package/types/{checkbox → pc/checkbox}/useCheckbox.d.ts +9 -0
  330. package/types/pc/collapse/interface.d.ts +111 -0
  331. package/types/{color-picker → pc/color-picker}/hooks/useColorPicker.d.ts +2 -2
  332. package/types/pc/color-picker/interface.d.ts +149 -0
  333. package/types/pc/comment/interface.d.ts +41 -0
  334. package/types/{config-provider → pc/config-provider}/interface.d.ts +71 -0
  335. package/types/pc/date-picker/RangePicker.d.ts +3 -0
  336. package/types/pc/date-picker/hook/useCellClassName.d.ts +2 -0
  337. package/types/pc/date-picker/interface.d.ts +518 -0
  338. package/types/pc/descriptions/interface.d.ts +79 -0
  339. package/types/pc/development/index.d.ts +2 -0
  340. package/types/pc/divider/interface.d.ts +21 -0
  341. package/types/{draggable → pc/draggable}/interface.d.ts +2 -0
  342. package/types/pc/drawer/interface.d.ts +181 -0
  343. package/types/pc/dropdown/interface.d.ts +110 -0
  344. package/types/pc/empty/index.d.ts +4 -0
  345. package/types/pc/empty/interface.d.ts +8 -0
  346. package/types/{form → pc/form}/Control.d.ts +8 -0
  347. package/types/{form → pc/form}/hook/useContext.d.ts +3 -0
  348. package/types/pc/form/interface.d.ts +544 -0
  349. package/types/{form → pc/form}/store.d.ts +10 -0
  350. package/types/pc/grid/interface.d.ts +239 -0
  351. package/types/{hooks → pc/hooks}/use-verification-code/interface.d.ts +41 -0
  352. package/types/pc/hooks/use-watermark/interface.d.ts +81 -0
  353. package/types/pc/hooks/useComputedState.d.ts +1 -0
  354. package/types/pc/hooks/useCreate.d.ts +1 -0
  355. package/types/pc/hooks/useForceUpdate.d.ts +1 -0
  356. package/types/pc/hooks/useId.d.ts +1 -0
  357. package/types/pc/hooks/useInView.d.ts +1 -0
  358. package/types/pc/hooks/useIntersectionObserver.d.ts +1 -0
  359. package/types/pc/hooks/useInterval.d.ts +1 -0
  360. package/types/pc/hooks/useIsFirstRender.d.ts +1 -0
  361. package/types/pc/hooks/useIsomorphicLayoutEffect.d.ts +1 -0
  362. package/types/pc/hooks/useKeyboardEvent.d.ts +1 -0
  363. package/types/pc/hooks/useListenResize.d.ts +1 -0
  364. package/types/pc/hooks/useMedia.d.ts +1 -0
  365. package/types/pc/hooks/useMergeProps.d.ts +2 -0
  366. package/types/pc/hooks/useMergeValue.d.ts +1 -0
  367. package/types/pc/hooks/useOnlineStatus.d.ts +1 -0
  368. package/types/pc/hooks/useOverflowHidden.d.ts +1 -0
  369. package/types/pc/hooks/useOverrideRef.d.ts +1 -0
  370. package/types/pc/hooks/usePersistCallback.d.ts +1 -0
  371. package/types/pc/hooks/usePrefersColorSchemeDark.d.ts +1 -0
  372. package/types/pc/hooks/usePrevious.d.ts +1 -0
  373. package/types/pc/hooks/useRefs.d.ts +1 -0
  374. package/types/pc/hooks/useResizeObserver.d.ts +1 -0
  375. package/types/pc/hooks/useStateCallback.d.ts +1 -0
  376. package/types/pc/hooks/useStateWithPromise.d.ts +1 -0
  377. package/types/pc/hooks/useUpdateEffect.d.ts +1 -0
  378. package/types/pc/hooks/useWatch.d.ts +1 -0
  379. package/types/pc/hooks/useWindowSize.d.ts +1 -0
  380. package/types/pc/image/interface.d.ts +275 -0
  381. package/types/{index.d.ts → pc/index.d.ts} +1 -0
  382. package/types/{input → pc/input}/Input.d.ts +7 -8
  383. package/types/{input → pc/input}/Textarea.d.ts +3 -0
  384. package/types/{input → pc/input}/index.d.ts +2 -2
  385. package/types/pc/input/interface.d.ts +344 -0
  386. package/types/{input-number → pc/input-number}/decimal.d.ts +5 -0
  387. package/types/pc/input-number/interface.d.ts +141 -0
  388. package/types/{input-number → pc/input-number}/util.d.ts +15 -0
  389. package/types/pc/input-tag/interface.d.ts +215 -0
  390. package/types/pc/layout/interface.d.ts +121 -0
  391. package/types/pc/link/interface.d.ts +30 -0
  392. package/types/pc/list/interface.d.ts +192 -0
  393. package/types/pc/mentions/interface.d.ts +92 -0
  394. package/types/{menu → pc/menu}/context.d.ts +1 -1
  395. package/types/pc/menu/interface.d.ts +233 -0
  396. package/types/pc/message/interface.d.ts +84 -0
  397. package/types/pc/modal/interface.d.ts +186 -0
  398. package/types/pc/notification/interface.d.ts +78 -0
  399. package/types/pc/page-header/interface.d.ts +49 -0
  400. package/types/{pagination → pc/pagination}/PageItem.d.ts +11 -0
  401. package/types/pc/pagination/interface.d.ts +134 -0
  402. package/types/pc/popconfirm/interface.d.ts +114 -0
  403. package/types/{popover → pc/popover}/interface.d.ts +12 -0
  404. package/types/{portal → pc/portal}/Portal.d.ts +1 -0
  405. package/types/{portal → pc/portal}/index.d.ts +1 -0
  406. package/types/pc/progress/interface.d.ts +92 -0
  407. package/types/pc/radio/interface.d.ts +103 -0
  408. package/types/pc/rate/interface.d.ts +70 -0
  409. package/types/{resize-box → pc/resize-box}/ResizeTrigger.d.ts +6 -0
  410. package/types/pc/resize-box/interface.d.ts +264 -0
  411. package/types/pc/result/interface.d.ts +35 -0
  412. package/types/pc/select/interface.d.ts +321 -0
  413. package/types/{select → pc/select}/util.d.ts +2 -1
  414. package/types/pc/select-view/interface.d.ts +151 -0
  415. package/types/{skeleton → pc/skeleton}/interface.d.ts +26 -0
  416. package/types/pc/slider/interface.d.ts +122 -0
  417. package/types/pc/space/interface.d.ts +38 -0
  418. package/types/pc/spin/interface.d.ts +50 -0
  419. package/types/pc/statistic/interface.d.ts +139 -0
  420. package/types/pc/steps/interface.d.ts +124 -0
  421. package/types/pc/switch/interface.d.ts +65 -0
  422. package/types/{table → pc/table}/hook/useThResizable.d.ts +1 -1
  423. package/types/pc/table/interface.d.ts +713 -0
  424. package/types/pc/tabs/interface.d.ts +217 -0
  425. package/types/pc/tag/interface.d.ts +76 -0
  426. package/types/pc/time-picker/interface.d.ts +244 -0
  427. package/types/pc/timeline/interface.d.ts +95 -0
  428. package/types/pc/tooltip/interface.d.ts +92 -0
  429. package/types/pc/transfer/interface.d.ts +225 -0
  430. package/types/pc/tree/interface.d.ts +354 -0
  431. package/types/pc/tree-select/interface.d.ts +211 -0
  432. package/types/pc/trigger/interface.d.ts +247 -0
  433. package/types/pc/typography/interface.d.ts +262 -0
  434. package/types/pc/upload/interface.d.ts +337 -0
  435. package/types/pc/utils/PqbCSSTransition.d.ts +3 -0
  436. package/types/pc/utils/caseName.d.ts +3 -0
  437. package/types/pc/utils/className.d.ts +3 -0
  438. package/types/pc/utils/constant.d.ts +4 -0
  439. package/types/pc/utils/copy.d.ts +3 -0
  440. package/types/{utils → pc/utils}/dayjs.d.ts +1 -1
  441. package/types/{utils → pc/utils}/dom.d.ts +1 -1
  442. package/types/pc/utils/fileToURL.d.ts +3 -0
  443. package/types/pc/utils/fillNBSP.d.ts +3 -0
  444. package/types/pc/utils/getHighlightText.d.ts +3 -0
  445. package/types/pc/utils/getHotkeyHandler.d.ts +4 -0
  446. package/types/pc/utils/getStringLength.d.ts +3 -0
  447. package/types/pc/utils/include.d.ts +3 -0
  448. package/types/{utils → pc/utils}/is.d.ts +1 -1
  449. package/types/pc/utils/keyboardCode.d.ts +4 -0
  450. package/types/{utils → pc/utils}/lodash.d.ts +1 -1
  451. package/types/pc/utils/mergeProps.d.ts +3 -0
  452. package/types/pc/utils/mergedToString.d.ts +3 -0
  453. package/types/{utils → pc/utils}/names.d.ts +6 -0
  454. package/types/pc/utils/omit.d.ts +3 -0
  455. package/types/pc/utils/pad.d.ts +1 -0
  456. package/types/pc/utils/pick.d.ts +3 -0
  457. package/types/pc/utils/react19Adapter.d.ts +1 -0
  458. package/types/pc/utils/reactDOM.d.ts +1 -0
  459. package/types/pc/utils/resizeObserverEffect.d.ts +2 -0
  460. package/types/pc/utils/saveAs.d.ts +3 -0
  461. package/types/pc/utils/screenfull.d.ts +3 -0
  462. package/types/{utils → pc/utils}/scrollIntoView.d.ts +1 -1
  463. package/types/pc/utils/setDarkTheme.d.ts +3 -0
  464. package/types/pc/utils/setPrimaryColor.d.ts +2 -0
  465. package/types/pc/utils/setTheme.d.ts +2 -0
  466. package/types/pc/utils/style.d.ts +1 -0
  467. package/types/pc/utils/throttleByRaf.d.ts +1 -0
  468. package/types/pc/utils/throttleByRaf2.d.ts +1 -0
  469. package/types/pc/utils/tinycolor.d.ts +1 -0
  470. package/types/pc/utils/type.d.ts +1 -0
  471. package/types/pc/utils/warning.d.ts +1 -0
  472. package/types/pc/verification-code/interface.d.ts +80 -0
  473. package/types/{virtual-list → pc/virtual-list}/Filler.d.ts +5 -0
  474. package/types/{virtual-list → pc/virtual-list}/VirtualList.d.ts +1 -0
  475. package/types/pc/virtual-list/util/algorithm.d.ts +23 -0
  476. package/types/{virtual-list → pc/virtual-list}/util/item.d.ts +31 -0
  477. package/types/pc/watermark/interface.d.ts +70 -0
  478. package/typography/Base.js +1 -1
  479. package/typography/Ellipsis.js +9 -9
  480. package/typography/Paragraph.js +1 -1
  481. package/typography/Typography.js +1 -1
  482. package/typography/index.js +1 -1
  483. package/upload/TriggerNode.js +1 -1
  484. package/upload/Upload.js +1 -1
  485. package/upload/request.js +1 -1
  486. package/upload/request_.js +1 -1
  487. package/utils/constant.js +5 -5
  488. package/utils/contextHolder.js +1 -1
  489. package/utils/dayjs.js +1 -1
  490. package/utils/index.js +20 -20
  491. package/utils/names.js +4 -0
  492. package/utils/setPrimaryColor.js +14 -14
  493. package/utils/setTheme.js +3 -3
  494. package/utils/tween.js +1 -1
  495. package/utils/type.js +1 -4
  496. package/verification-code/VerificationCode.js +1 -1
  497. package/version/index.js +1 -1
  498. package/watermark/Watermark.js +1 -1
  499. package/chunk/C9oo3EJI.js +0 -692
  500. package/chunk/DILUZgXW.js +0 -1464
  501. package/chunk/DlHiTTJO.js +0 -648
  502. package/chunk/tamGhTJp.js +0 -186
  503. package/types/affix/interface.d.ts +0 -12
  504. package/types/affix/style/index.d.ts +0 -2
  505. package/types/alert/interface.d.ts +0 -17
  506. package/types/alert/style/index.d.ts +0 -2
  507. package/types/anchor/interface.d.ts +0 -24
  508. package/types/anchor/style/index.d.ts +0 -3
  509. package/types/auto-complete/interface.d.ts +0 -36
  510. package/types/auto-complete/style/index.d.ts +0 -4
  511. package/types/avatar/interface.d.ts +0 -24
  512. package/types/avatar/style/index.d.ts +0 -3
  513. package/types/back-top/interface.d.ts +0 -11
  514. package/types/back-top/style/index.d.ts +0 -2
  515. package/types/badge/interface.d.ts +0 -18
  516. package/types/badge/style/index.d.ts +0 -2
  517. package/types/breadcrumb/interface.d.ts +0 -31
  518. package/types/breadcrumb/style/index.d.ts +0 -3
  519. package/types/button/interface.d.ts +0 -37
  520. package/types/button/style/index.d.ts +0 -2
  521. package/types/calendar/hook/useCellClassName.d.ts +0 -2
  522. package/types/calendar/interface.d.ts +0 -41
  523. package/types/calendar/style/index.d.ts +0 -4
  524. package/types/card/interface.d.ts +0 -32
  525. package/types/card/style/index.d.ts +0 -3
  526. package/types/carousel/interface.d.ts +0 -52
  527. package/types/carousel/style/index.d.ts +0 -2
  528. package/types/cascader/interface.d.ts +0 -105
  529. package/types/cascader/style/index.d.ts +0 -6
  530. package/types/checkbox/interface.d.ts +0 -36
  531. package/types/checkbox/style/index.d.ts +0 -2
  532. package/types/collapse/interface.d.ts +0 -27
  533. package/types/collapse/style/index.d.ts +0 -2
  534. package/types/color-picker/interface.d.ts +0 -61
  535. package/types/color-picker/style/index.d.ts +0 -4
  536. package/types/comment/interface.d.ts +0 -14
  537. package/types/comment/style/index.d.ts +0 -2
  538. package/types/config-provider/style/index.d.ts +0 -2
  539. package/types/copy/style/index.d.ts +0 -3
  540. package/types/date-picker/RangePicker.d.ts +0 -3
  541. package/types/date-picker/hook/useCellClassName.d.ts +0 -2
  542. package/types/date-picker/interface.d.ts +0 -167
  543. package/types/date-picker/style/index.d.ts +0 -7
  544. package/types/descriptions/interface.d.ts +0 -29
  545. package/types/descriptions/style/index.d.ts +0 -2
  546. package/types/divider/interface.d.ts +0 -8
  547. package/types/divider/style/index.d.ts +0 -2
  548. package/types/draggable/style/index.d.ts +0 -2
  549. package/types/drawer/interface.d.ts +0 -46
  550. package/types/drawer/style/index.d.ts +0 -3
  551. package/types/dropdown/interface.d.ts +0 -29
  552. package/types/dropdown/style/index.d.ts +0 -4
  553. package/types/empty/index.d.ts +0 -5
  554. package/types/empty/interface.d.ts +0 -8
  555. package/types/empty/style/index.d.ts +0 -2
  556. package/types/form/interface.d.ts +0 -228
  557. package/types/form/style/index.d.ts +0 -3
  558. package/types/grid/interface.d.ts +0 -76
  559. package/types/grid/style/index.d.ts +0 -2
  560. package/types/hooks/use-watermark/interface.d.ts +0 -22
  561. package/types/hooks/useComputedState.d.ts +0 -1
  562. package/types/hooks/useCreate.d.ts +0 -1
  563. package/types/hooks/useForceUpdate.d.ts +0 -1
  564. package/types/hooks/useId.d.ts +0 -1
  565. package/types/hooks/useInView.d.ts +0 -1
  566. package/types/hooks/useIntersectionObserver.d.ts +0 -1
  567. package/types/hooks/useInterval.d.ts +0 -1
  568. package/types/hooks/useIsFirstRender.d.ts +0 -1
  569. package/types/hooks/useIsomorphicLayoutEffect.d.ts +0 -1
  570. package/types/hooks/useKeyboardEvent.d.ts +0 -1
  571. package/types/hooks/useListenResize.d.ts +0 -1
  572. package/types/hooks/useMedia.d.ts +0 -1
  573. package/types/hooks/useMergeProps.d.ts +0 -1
  574. package/types/hooks/useMergeValue.d.ts +0 -1
  575. package/types/hooks/useOnlineStatus.d.ts +0 -1
  576. package/types/hooks/useOverflowHidden.d.ts +0 -1
  577. package/types/hooks/useOverrideRef.d.ts +0 -1
  578. package/types/hooks/usePersistCallback.d.ts +0 -1
  579. package/types/hooks/usePrefersColorSchemeDark.d.ts +0 -1
  580. package/types/hooks/usePrevious.d.ts +0 -1
  581. package/types/hooks/useRefs.d.ts +0 -1
  582. package/types/hooks/useResizeObserver.d.ts +0 -1
  583. package/types/hooks/useStateCallback.d.ts +0 -1
  584. package/types/hooks/useStateWithPromise.d.ts +0 -1
  585. package/types/hooks/useUpdateEffect.d.ts +0 -1
  586. package/types/hooks/useWatch.d.ts +0 -1
  587. package/types/hooks/useWindowSize.d.ts +0 -1
  588. package/types/icon/style/index.d.ts +0 -2
  589. package/types/icon-hover/style/index.d.ts +0 -2
  590. package/types/image/interface.d.ts +0 -59
  591. package/types/image/style/index.d.ts +0 -2
  592. package/types/input/interface.d.ts +0 -100
  593. package/types/input/style/index.d.ts +0 -3
  594. package/types/input-number/interface.d.ts +0 -37
  595. package/types/input-number/style/index.d.ts +0 -3
  596. package/types/input-tag/interface.d.ts +0 -60
  597. package/types/input-tag/style/index.d.ts +0 -3
  598. package/types/layout/interface.d.ts +0 -39
  599. package/types/layout/style/index.d.ts +0 -4
  600. package/types/link/interface.d.ts +0 -9
  601. package/types/link/style/index.d.ts +0 -2
  602. package/types/list/interface.d.ts +0 -57
  603. package/types/list/style/index.d.ts +0 -6
  604. package/types/loading/style/index.d.ts +0 -2
  605. package/types/mentions/interface.d.ts +0 -26
  606. package/types/mentions/style/index.d.ts +0 -2
  607. package/types/menu/interface.d.ts +0 -77
  608. package/types/menu/style/index.d.ts +0 -4
  609. package/types/message/interface.d.ts +0 -31
  610. package/types/message/style/index.d.ts +0 -2
  611. package/types/modal/interface.d.ts +0 -57
  612. package/types/modal/style/index.d.ts +0 -3
  613. package/types/notice/style/index.d.ts +0 -2
  614. package/types/notification/interface.d.ts +0 -27
  615. package/types/notification/style/index.d.ts +0 -2
  616. package/types/page-header/interface.d.ts +0 -14
  617. package/types/page-header/style/index.d.ts +0 -3
  618. package/types/pagination/interface.d.ts +0 -35
  619. package/types/pagination/style/index.d.ts +0 -4
  620. package/types/picker/style/index.d.ts +0 -2
  621. package/types/popconfirm/interface.d.ts +0 -28
  622. package/types/popconfirm/style/index.d.ts +0 -5
  623. package/types/popover/style/index.d.ts +0 -3
  624. package/types/portal/style/index.d.ts +0 -2
  625. package/types/progress/interface.d.ts +0 -22
  626. package/types/progress/style/index.d.ts +0 -3
  627. package/types/radio/interface.d.ts +0 -39
  628. package/types/radio/style/index.d.ts +0 -2
  629. package/types/rate/interface.d.ts +0 -17
  630. package/types/rate/style/index.d.ts +0 -3
  631. package/types/resize-box/interface.d.ts +0 -73
  632. package/types/resize-box/style/index.d.ts +0 -2
  633. package/types/result/interface.d.ts +0 -11
  634. package/types/result/style/index.d.ts +0 -2
  635. package/types/select/interface.d.ts +0 -103
  636. package/types/select/style/index.d.ts +0 -6
  637. package/types/select-view/interface.d.ts +0 -62
  638. package/types/select-view/style/index.d.ts +0 -2
  639. package/types/skeleton/style/index.d.ts +0 -2
  640. package/types/slider/interface.d.ts +0 -32
  641. package/types/slider/style/index.d.ts +0 -5
  642. package/types/space/interface.d.ts +0 -12
  643. package/types/space/style/index.d.ts +0 -2
  644. package/types/spin/interface.d.ts +0 -14
  645. package/types/spin/style/index.d.ts +0 -2
  646. package/types/statistic/interface.d.ts +0 -33
  647. package/types/statistic/style/index.d.ts +0 -3
  648. package/types/steps/interface.d.ts +0 -42
  649. package/types/steps/style/index.d.ts +0 -2
  650. package/types/switch/interface.d.ts +0 -17
  651. package/types/switch/style/index.d.ts +0 -2
  652. package/types/table/interface.d.ts +0 -301
  653. package/types/table/style/index.d.ts +0 -12
  654. package/types/tabs/interface.d.ts +0 -66
  655. package/types/tabs/style/index.d.ts +0 -3
  656. package/types/tag/interface.d.ts +0 -23
  657. package/types/tag/style/index.d.ts +0 -2
  658. package/types/time-picker/interface.d.ts +0 -62
  659. package/types/time-picker/style/index.d.ts +0 -5
  660. package/types/timeline/interface.d.ts +0 -26
  661. package/types/timeline/style/index.d.ts +0 -2
  662. package/types/tooltip/interface.d.ts +0 -23
  663. package/types/tooltip/style/index.d.ts +0 -3
  664. package/types/transfer/interface.d.ts +0 -91
  665. package/types/transfer/style/index.d.ts +0 -6
  666. package/types/tree/interface.d.ts +0 -153
  667. package/types/tree/style/index.d.ts +0 -3
  668. package/types/tree-select/interface.d.ts +0 -79
  669. package/types/tree-select/style/index.d.ts +0 -5
  670. package/types/trigger/interface.d.ts +0 -73
  671. package/types/trigger/style/index.d.ts +0 -2
  672. package/types/typography/interface.d.ts +0 -97
  673. package/types/typography/style/index.d.ts +0 -5
  674. package/types/upload/interface.d.ts +0 -126
  675. package/types/upload/style/index.d.ts +0 -6
  676. package/types/utils/PqbCSSTransition.d.ts +0 -3
  677. package/types/utils/caseName.d.ts +0 -3
  678. package/types/utils/className.d.ts +0 -3
  679. package/types/utils/constant.d.ts +0 -4
  680. package/types/utils/fileToURL.d.ts +0 -3
  681. package/types/utils/fillNBSP.d.ts +0 -3
  682. package/types/utils/getHighlightText.d.ts +0 -3
  683. package/types/utils/getHotkeyHandler.d.ts +0 -3
  684. package/types/utils/getStringLength.d.ts +0 -3
  685. package/types/utils/include.d.ts +0 -3
  686. package/types/utils/mergeProps.d.ts +0 -3
  687. package/types/utils/mergedToString.d.ts +0 -3
  688. package/types/utils/omit.d.ts +0 -3
  689. package/types/utils/pad.d.ts +0 -1
  690. package/types/utils/pick.d.ts +0 -3
  691. package/types/utils/react19Adapter.d.ts +0 -1
  692. package/types/utils/reactDOM.d.ts +0 -1
  693. package/types/utils/resizeObserverEffect.d.ts +0 -2
  694. package/types/utils/saveAs.d.ts +0 -3
  695. package/types/utils/screenfull.d.ts +0 -3
  696. package/types/utils/style.d.ts +0 -1
  697. package/types/utils/throttleByRaf.d.ts +0 -1
  698. package/types/utils/throttleByRaf2.d.ts +0 -1
  699. package/types/utils/warning.d.ts +0 -1
  700. package/types/verification-code/interface.d.ts +0 -25
  701. package/types/verification-code/style/index.d.ts +0 -3
  702. package/types/virtual-list/style/index.d.ts +0 -2
  703. package/types/virtual-list/util/algorithm.d.ts +0 -6
  704. package/types/watermark/interface.d.ts +0 -21
  705. package/types/watermark/style/index.d.ts +0 -1
  706. /package/types/{utils → common/utils}/keyboardCode.d.ts +0 -0
  707. /package/types/{utils → common/utils}/setDarkTheme.d.ts +0 -0
  708. /package/types/{utils → common/utils}/setPrimaryColor.d.ts +0 -0
  709. /package/types/{utils → common/utils}/setTheme.d.ts +0 -0
  710. /package/types/{utils → common/utils}/tinycolor.d.ts +0 -0
  711. /package/types/{utils → common/utils}/type.d.ts +0 -0
  712. /package/types/{affix → pc/affix}/index.d.ts +0 -0
  713. /package/types/{alert → pc/alert}/index.d.ts +0 -0
  714. /package/types/{anchor → pc/anchor}/Anchor.d.ts +0 -0
  715. /package/types/{anchor → pc/anchor}/Link.d.ts +0 -0
  716. /package/types/{anchor → pc/anchor}/context.d.ts +0 -0
  717. /package/types/{anchor → pc/anchor}/index.d.ts +0 -0
  718. /package/types/{auto-complete → pc/auto-complete}/index.d.ts +0 -0
  719. /package/types/{avatar → pc/avatar}/Avatar.d.ts +0 -0
  720. /package/types/{avatar → pc/avatar}/Group.d.ts +0 -0
  721. /package/types/{avatar → pc/avatar}/context.d.ts +0 -0
  722. /package/types/{avatar → pc/avatar}/index.d.ts +0 -0
  723. /package/types/{back-top → pc/back-top}/index.d.ts +0 -0
  724. /package/types/{badge → pc/badge}/Count.d.ts +0 -0
  725. /package/types/{badge → pc/badge}/index.d.ts +0 -0
  726. /package/types/{breadcrumb → pc/breadcrumb}/Item.d.ts +0 -0
  727. /package/types/{breadcrumb → pc/breadcrumb}/index.d.ts +0 -0
  728. /package/types/{button → pc/button}/Group.d.ts +0 -0
  729. /package/types/{calendar → pc/calendar}/Month.d.ts +0 -0
  730. /package/types/{calendar → pc/calendar}/WeekList.d.ts +0 -0
  731. /package/types/{calendar → pc/calendar}/Year.d.ts +0 -0
  732. /package/types/{calendar → pc/calendar}/header/Panel.d.ts +0 -0
  733. /package/types/{calendar → pc/calendar}/header/index.d.ts +0 -0
  734. /package/types/{calendar → pc/calendar}/index.d.ts +0 -0
  735. /package/types/{card → pc/card}/Grid.d.ts +0 -0
  736. /package/types/{card → pc/card}/Meta.d.ts +0 -0
  737. /package/types/{card → pc/card}/index.d.ts +0 -0
  738. /package/types/{carousel → pc/carousel}/Arrow.d.ts +0 -0
  739. /package/types/{carousel → pc/carousel}/Indicator.d.ts +0 -0
  740. /package/types/{carousel → pc/carousel}/index.d.ts +0 -0
  741. /package/types/{cascader → pc/cascader}/Cascader.d.ts +0 -0
  742. /package/types/{cascader → pc/cascader}/hook/useRefCurrent.d.ts +0 -0
  743. /package/types/{cascader → pc/cascader}/index.d.ts +0 -0
  744. /package/types/{cascader → pc/cascader}/panel/List.d.ts +0 -0
  745. /package/types/{cascader → pc/cascader}/panel/Option.d.ts +0 -0
  746. /package/types/{cascader → pc/cascader}/panel/Search.d.ts +0 -0
  747. /package/types/{cascader → pc/cascader}/util.d.ts +0 -0
  748. /package/types/{checkbox → pc/checkbox}/Checkbox.d.ts +0 -0
  749. /package/types/{checkbox → pc/checkbox}/Group.d.ts +0 -0
  750. /package/types/{checkbox → pc/checkbox}/GroupBlock.d.ts +0 -0
  751. /package/types/{checkbox → pc/checkbox}/IconCheck.d.ts +0 -0
  752. /package/types/{checkbox → pc/checkbox}/index.d.ts +0 -0
  753. /package/types/{collapse → pc/collapse}/Collapse.d.ts +0 -0
  754. /package/types/{collapse → pc/collapse}/Item.d.ts +0 -0
  755. /package/types/{collapse → pc/collapse}/index.d.ts +0 -0
  756. /package/types/{color-picker → pc/color-picker}/ControlBar.d.ts +0 -0
  757. /package/types/{color-picker → pc/color-picker}/InputAlpha.d.ts +0 -0
  758. /package/types/{color-picker → pc/color-picker}/InputHex.d.ts +0 -0
  759. /package/types/{color-picker → pc/color-picker}/InputRgb.d.ts +0 -0
  760. /package/types/{color-picker → pc/color-picker}/Mode.d.ts +0 -0
  761. /package/types/{color-picker → pc/color-picker}/Palette.d.ts +0 -0
  762. /package/types/{color-picker → pc/color-picker}/Panel.d.ts +0 -0
  763. /package/types/{color-picker → pc/color-picker}/colors.d.ts +0 -0
  764. /package/types/{color-picker → pc/color-picker}/hooks/useControlBlock.d.ts +0 -0
  765. /package/types/{color-picker → pc/color-picker}/index.d.ts +0 -0
  766. /package/types/{color-picker → pc/color-picker}/utils.d.ts +0 -0
  767. /package/types/{comment → pc/comment}/index.d.ts +0 -0
  768. /package/types/{config-provider → pc/config-provider}/ConfigProvider.d.ts +0 -0
  769. /package/types/{config-provider → pc/config-provider}/context.d.ts +0 -0
  770. /package/types/{config-provider → pc/config-provider}/index.d.ts +0 -0
  771. /package/types/{copy → pc/copy}/index.d.ts +0 -0
  772. /package/types/{copy → pc/copy}/interface.d.ts +0 -0
  773. /package/types/{date-picker → pc/date-picker}/Picker.d.ts +0 -0
  774. /package/types/{date-picker → pc/date-picker}/context.d.ts +0 -0
  775. /package/types/{date-picker → pc/date-picker}/index.d.ts +0 -0
  776. /package/types/{date-picker → pc/date-picker}/panel/Body.d.ts +0 -0
  777. /package/types/{date-picker → pc/date-picker}/panel/Footer.d.ts +0 -0
  778. /package/types/{date-picker → pc/date-picker}/panel/Header.d.ts +0 -0
  779. /package/types/{date-picker → pc/date-picker}/panel/Shortcut.d.ts +0 -0
  780. /package/types/{date-picker → pc/date-picker}/panel/WeekList.d.ts +0 -0
  781. /package/types/{date-picker → pc/date-picker}/panel/date/index.d.ts +0 -0
  782. /package/types/{date-picker → pc/date-picker}/panel/month/index.d.ts +0 -0
  783. /package/types/{date-picker → pc/date-picker}/panel/quarter/index.d.ts +0 -0
  784. /package/types/{date-picker → pc/date-picker}/panel/range/index.d.ts +0 -0
  785. /package/types/{date-picker → pc/date-picker}/panel/week/index.d.ts +0 -0
  786. /package/types/{date-picker → pc/date-picker}/panel/year/index.d.ts +0 -0
  787. /package/types/{date-picker → pc/date-picker}/util.d.ts +0 -0
  788. /package/types/{descriptions → pc/descriptions}/index.d.ts +0 -0
  789. /package/types/{divider → pc/divider}/index.d.ts +0 -0
  790. /package/types/{draggable → pc/draggable}/Item.d.ts +0 -0
  791. /package/types/{draggable → pc/draggable}/index.d.ts +0 -0
  792. /package/types/{drawer → pc/drawer}/Drawer.d.ts +0 -0
  793. /package/types/{drawer → pc/drawer}/index.d.ts +0 -0
  794. /package/types/{dropdown → pc/dropdown}/Button.d.ts +0 -0
  795. /package/types/{dropdown → pc/dropdown}/index.d.ts +0 -0
  796. /package/types/{form → pc/form}/Form.d.ts +0 -0
  797. /package/types/{form → pc/form}/FormItem.d.ts +0 -0
  798. /package/types/{form → pc/form}/FormLabel.d.ts +0 -0
  799. /package/types/{form → pc/form}/FormList.d.ts +0 -0
  800. /package/types/{form → pc/form}/FormProvider.d.ts +0 -0
  801. /package/types/{form → pc/form}/IconSymbol.d.ts +0 -0
  802. /package/types/{form → pc/form}/context.d.ts +0 -0
  803. /package/types/{form → pc/form}/hook/useState.d.ts +0 -0
  804. /package/types/{form → pc/form}/hook/useWatch.d.ts +0 -0
  805. /package/types/{form → pc/form}/index.d.ts +0 -0
  806. /package/types/{form → pc/form}/promisify.d.ts +0 -0
  807. /package/types/{form → pc/form}/useForm.d.ts +0 -0
  808. /package/types/{form → pc/form}/util.d.ts +0 -0
  809. /package/types/{grid → pc/grid}/Col.d.ts +0 -0
  810. /package/types/{grid → pc/grid}/Row.d.ts +0 -0
  811. /package/types/{grid → pc/grid}/context.d.ts +0 -0
  812. /package/types/{grid → pc/grid}/grid-item.d.ts +0 -0
  813. /package/types/{grid → pc/grid}/grid.d.ts +0 -0
  814. /package/types/{grid → pc/grid}/hook/useResponsiveState.d.ts +0 -0
  815. /package/types/{grid → pc/grid}/index.d.ts +0 -0
  816. /package/types/{grid → pc/grid}/util.d.ts +0 -0
  817. /package/types/{hooks → pc/hooks}/index.d.ts +0 -0
  818. /package/types/{hooks → pc/hooks}/use-verification-code/index.d.ts +0 -0
  819. /package/types/{hooks → pc/hooks}/use-watermark/index.d.ts +0 -0
  820. /package/types/{hooks → pc/hooks}/use-watermark/utils.d.ts +0 -0
  821. /package/types/{icon → pc/icon}/addFromIconFontCn.d.ts +0 -0
  822. /package/types/{icon → pc/icon}/index.d.ts +0 -0
  823. /package/types/{icon-hover → pc/icon-hover}/index.d.ts +0 -0
  824. /package/types/{icons.d.ts → pc/icons.d.ts} +0 -0
  825. /package/types/{image → pc/image}/Image.d.ts +0 -0
  826. /package/types/{image → pc/image}/ImageFooter.d.ts +0 -0
  827. /package/types/{image → pc/image}/ImagePreview.d.ts +0 -0
  828. /package/types/{image → pc/image}/ImagePreviewArrow.d.ts +0 -0
  829. /package/types/{image → pc/image}/ImagePreviewGroup.d.ts +0 -0
  830. /package/types/{image → pc/image}/ImagePreviewToolbar.d.ts +0 -0
  831. /package/types/{image → pc/image}/TriggerForToolbar.d.ts +0 -0
  832. /package/types/{image → pc/image}/index.d.ts +0 -0
  833. /package/types/{image → pc/image}/previewGroupContext.d.ts +0 -0
  834. /package/types/{image → pc/image}/util/getFixTranslate.d.ts +0 -0
  835. /package/types/{image → pc/image}/util/getScale.d.ts +0 -0
  836. /package/types/{image → pc/image}/util/hook/useImageStatus.d.ts +0 -0
  837. /package/types/{image → pc/image}/util/hook/useShowFooter.d.ts +0 -0
  838. /package/types/{input → pc/input}/Button.d.ts +0 -0
  839. /package/types/{input → pc/input}/Group.d.ts +0 -0
  840. /package/types/{input → pc/input}/InputElement.d.ts +0 -0
  841. /package/types/{input → pc/input}/Number.d.ts +0 -0
  842. /package/types/{input → pc/input}/Password.d.ts +0 -0
  843. /package/types/{input → pc/input}/Search.d.ts +0 -0
  844. /package/types/{input → pc/input}/Tag.d.ts +0 -0
  845. /package/types/{input → pc/input}/autoSizeTextAreaHeight.d.ts +0 -0
  846. /package/types/{input → pc/input}/useComposition.d.ts +0 -0
  847. /package/types/{input-number → pc/input-number}/index.d.ts +0 -0
  848. /package/types/{input-number → pc/input-number}/useSelectionRange.d.ts +0 -0
  849. /package/types/{input-tag → pc/input-tag}/InputTag.d.ts +0 -0
  850. /package/types/{input-tag → pc/input-tag}/index.d.ts +0 -0
  851. /package/types/{layout → pc/layout}/Content.d.ts +0 -0
  852. /package/types/{layout → pc/layout}/Footer.d.ts +0 -0
  853. /package/types/{layout → pc/layout}/Header.d.ts +0 -0
  854. /package/types/{layout → pc/layout}/Sider.d.ts +0 -0
  855. /package/types/{layout → pc/layout}/index.d.ts +0 -0
  856. /package/types/{link → pc/link}/index.d.ts +0 -0
  857. /package/types/{list → pc/list}/Item.d.ts +0 -0
  858. /package/types/{list → pc/list}/Meta.d.ts +0 -0
  859. /package/types/{list → pc/list}/index.d.ts +0 -0
  860. /package/types/{loading → pc/loading}/index.d.ts +0 -0
  861. /package/types/{locale → pc/locale}/ar-EG.d.ts +0 -0
  862. /package/types/{locale → pc/locale}/de-DE.d.ts +0 -0
  863. /package/types/{locale → pc/locale}/default.d.ts +0 -0
  864. /package/types/{locale → pc/locale}/en-US.d.ts +0 -0
  865. /package/types/{locale → pc/locale}/es-ES.d.ts +0 -0
  866. /package/types/{locale → pc/locale}/fr-FR.d.ts +0 -0
  867. /package/types/{locale → pc/locale}/id-ID.d.ts +0 -0
  868. /package/types/{locale → pc/locale}/interface.d.ts +0 -0
  869. /package/types/{locale → pc/locale}/it-IT.d.ts +0 -0
  870. /package/types/{locale → pc/locale}/ja-JP.d.ts +0 -0
  871. /package/types/{locale → pc/locale}/ko-KR.d.ts +0 -0
  872. /package/types/{locale → pc/locale}/ms-MY.d.ts +0 -0
  873. /package/types/{locale → pc/locale}/pt-BR.d.ts +0 -0
  874. /package/types/{locale → pc/locale}/pt-PT.d.ts +0 -0
  875. /package/types/{locale → pc/locale}/ru-RU.d.ts +0 -0
  876. /package/types/{locale → pc/locale}/th-TH.d.ts +0 -0
  877. /package/types/{locale → pc/locale}/tr-TR.d.ts +0 -0
  878. /package/types/{locale → pc/locale}/vi-VN.d.ts +0 -0
  879. /package/types/{locale → pc/locale}/zh-CN.d.ts +0 -0
  880. /package/types/{locale → pc/locale}/zh-HK.d.ts +0 -0
  881. /package/types/{locale → pc/locale}/zh-TW.d.ts +0 -0
  882. /package/types/{mentions → pc/mentions}/index.d.ts +0 -0
  883. /package/types/{mentions → pc/mentions}/util.d.ts +0 -0
  884. /package/types/{menu → pc/menu}/Indent.d.ts +0 -0
  885. /package/types/{menu → pc/menu}/Item.d.ts +0 -0
  886. /package/types/{menu → pc/menu}/ItemGroup.d.ts +0 -0
  887. /package/types/{menu → pc/menu}/Menu.d.ts +0 -0
  888. /package/types/{menu → pc/menu}/OverflowWrap.d.ts +0 -0
  889. /package/types/{menu → pc/menu}/index.d.ts +0 -0
  890. /package/types/{menu → pc/menu}/sub-menu/Inline.d.ts +0 -0
  891. /package/types/{menu → pc/menu}/sub-menu/Pop.d.ts +0 -0
  892. /package/types/{menu → pc/menu}/sub-menu/index.d.ts +0 -0
  893. /package/types/{menu → pc/menu}/util.d.ts +0 -0
  894. /package/types/{message → pc/message}/index.d.ts +0 -0
  895. /package/types/{message → pc/message}/useMessage.d.ts +0 -0
  896. /package/types/{modal → pc/modal}/Confirm.d.ts +0 -0
  897. /package/types/{modal → pc/modal}/Modal.d.ts +0 -0
  898. /package/types/{modal → pc/modal}/config.d.ts +0 -0
  899. /package/types/{modal → pc/modal}/index.d.ts +0 -0
  900. /package/types/{modal → pc/modal}/use-modal/Hook.d.ts +0 -0
  901. /package/types/{modal → pc/modal}/use-modal/index.d.ts +0 -0
  902. /package/types/{notice → pc/notice}/index.d.ts +0 -0
  903. /package/types/{notification → pc/notification}/index.d.ts +0 -0
  904. /package/types/{notification → pc/notification}/useNotification.d.ts +0 -0
  905. /package/types/{notification → pc/notification}/withNotification.d.ts +0 -0
  906. /package/types/{overflow-ellipsis → pc/overflow-ellipsis}/OverflowItem.d.ts +0 -0
  907. /package/types/{overflow-ellipsis → pc/overflow-ellipsis}/index.d.ts +0 -0
  908. /package/types/{page-header → pc/page-header}/index.d.ts +0 -0
  909. /package/types/{pagination → pc/pagination}/PageJumper.d.ts +0 -0
  910. /package/types/{pagination → pc/pagination}/PageOption.d.ts +0 -0
  911. /package/types/{pagination → pc/pagination}/Pagination.d.ts +0 -0
  912. /package/types/{pagination → pc/pagination}/index.d.ts +0 -0
  913. /package/types/{picker → pc/picker}/Input.d.ts +0 -0
  914. /package/types/{picker → pc/picker}/InputRange.d.ts +0 -0
  915. /package/types/{picker → pc/picker}/index.d.ts +0 -0
  916. /package/types/{popconfirm → pc/popconfirm}/index.d.ts +0 -0
  917. /package/types/{popover → pc/popover}/index.d.ts +0 -0
  918. /package/types/{progress → pc/progress}/CircleProgress.d.ts +0 -0
  919. /package/types/{progress → pc/progress}/LineProgess.d.ts +0 -0
  920. /package/types/{progress → pc/progress}/StepProgress.d.ts +0 -0
  921. /package/types/{progress → pc/progress}/index.d.ts +0 -0
  922. /package/types/{radio → pc/radio}/Group.d.ts +0 -0
  923. /package/types/{radio → pc/radio}/GroupBlock.d.ts +0 -0
  924. /package/types/{radio → pc/radio}/Radio.d.ts +0 -0
  925. /package/types/{radio → pc/radio}/index.d.ts +0 -0
  926. /package/types/{rate → pc/rate}/index.d.ts +0 -0
  927. /package/types/{resize-box → pc/resize-box}/Split.d.ts +0 -0
  928. /package/types/{resize-box → pc/resize-box}/SplitGroup.d.ts +0 -0
  929. /package/types/{resize-box → pc/resize-box}/index.d.ts +0 -0
  930. /package/types/{result → pc/result}/403.d.ts +0 -0
  931. /package/types/{result → pc/result}/404.d.ts +0 -0
  932. /package/types/{result → pc/result}/500.d.ts +0 -0
  933. /package/types/{result → pc/result}/index.d.ts +0 -0
  934. /package/types/{select → pc/select}/OptGroup.d.ts +0 -0
  935. /package/types/{select → pc/select}/Option.d.ts +0 -0
  936. /package/types/{select → pc/select}/Select.d.ts +0 -0
  937. /package/types/{select → pc/select}/index.d.ts +0 -0
  938. /package/types/{select-view → pc/select-view}/Core.d.ts +0 -0
  939. /package/types/{select-view → pc/select-view}/index.d.ts +0 -0
  940. /package/types/{skeleton → pc/skeleton}/Image.d.ts +0 -0
  941. /package/types/{skeleton → pc/skeleton}/Text.d.ts +0 -0
  942. /package/types/{skeleton → pc/skeleton}/index.d.ts +0 -0
  943. /package/types/{slider → pc/slider}/Button.d.ts +0 -0
  944. /package/types/{slider → pc/slider}/Dot.d.ts +0 -0
  945. /package/types/{slider → pc/slider}/Input.d.ts +0 -0
  946. /package/types/{slider → pc/slider}/Mark.d.ts +0 -0
  947. /package/types/{slider → pc/slider}/Tick.d.ts +0 -0
  948. /package/types/{slider → pc/slider}/hook/useInterval.d.ts +0 -0
  949. /package/types/{slider → pc/slider}/hook/useLegalValue.d.ts +0 -0
  950. /package/types/{slider → pc/slider}/index.d.ts +0 -0
  951. /package/types/{slider → pc/slider}/util.d.ts +0 -0
  952. /package/types/{space → pc/space}/index.d.ts +0 -0
  953. /package/types/{space → pc/space}/toArray.d.ts +0 -0
  954. /package/types/{speech-synthesis → pc/speech-synthesis}/index.d.ts +0 -0
  955. /package/types/{speech-synthesis → pc/speech-synthesis}/style/index.d.ts +0 -0
  956. /package/types/{spin → pc/spin}/DotLoading.d.ts +0 -0
  957. /package/types/{spin → pc/spin}/index.d.ts +0 -0
  958. /package/types/{statistic → pc/statistic}/Countdown.d.ts +0 -0
  959. /package/types/{statistic → pc/statistic}/index.d.ts +0 -0
  960. /package/types/{statistic → pc/statistic}/util.d.ts +0 -0
  961. /package/types/{steps → pc/steps}/Step.d.ts +0 -0
  962. /package/types/{steps → pc/steps}/index.d.ts +0 -0
  963. /package/types/{suspense-fallback-test → pc/suspense-fallback-test}/index.d.ts +0 -0
  964. /package/types/{suspense-fallback-test → pc/suspense-fallback-test}/style/index.d.ts +0 -0
  965. /package/types/{switch → pc/switch}/index.d.ts +0 -0
  966. /package/types/{table → pc/table}/ColGroup.d.ts +0 -0
  967. /package/types/{table → pc/table}/Table.d.ts +0 -0
  968. /package/types/{table → pc/table}/constant.d.ts +0 -0
  969. /package/types/{table → pc/table}/hook/useColumns.d.ts +0 -0
  970. /package/types/{table → pc/table}/hook/useComponent.d.ts +0 -0
  971. /package/types/{table → pc/table}/hook/useExpand.d.ts +0 -0
  972. /package/types/{table → pc/table}/hook/useRowSelection.d.ts +0 -0
  973. /package/types/{table → pc/table}/hook/useSorter.d.ts +0 -0
  974. /package/types/{table → pc/table}/hook/useStickyClassNames.d.ts +0 -0
  975. /package/types/{table → pc/table}/hook/useStickyOffsets.d.ts +0 -0
  976. /package/types/{table → pc/table}/index.d.ts +0 -0
  977. /package/types/{table → pc/table}/summary/Cell.d.ts +0 -0
  978. /package/types/{table → pc/table}/summary/Row.d.ts +0 -0
  979. /package/types/{table → pc/table}/summary/context.d.ts +0 -0
  980. /package/types/{table → pc/table}/summary/index.d.ts +0 -0
  981. /package/types/{table → pc/table}/tbody/Td.d.ts +0 -0
  982. /package/types/{table → pc/table}/tbody/Tr.d.ts +0 -0
  983. /package/types/{table → pc/table}/tbody/index.d.ts +0 -0
  984. /package/types/{table → pc/table}/tfoot/index.d.ts +0 -0
  985. /package/types/{table → pc/table}/th-resizable/index.d.ts +0 -0
  986. /package/types/{table → pc/table}/thead/Column.d.ts +0 -0
  987. /package/types/{table → pc/table}/thead/index.d.ts +0 -0
  988. /package/types/{table → pc/table}/util.d.ts +0 -0
  989. /package/types/{tabs → pc/tabs}/Tab.d.ts +0 -0
  990. /package/types/{tabs → pc/tabs}/TabContent.d.ts +0 -0
  991. /package/types/{tabs → pc/tabs}/TabPane.d.ts +0 -0
  992. /package/types/{tabs → pc/tabs}/hook/useDomSize.d.ts +0 -0
  993. /package/types/{tabs → pc/tabs}/hook/useHeaderScroll.d.ts +0 -0
  994. /package/types/{tabs → pc/tabs}/index.d.ts +0 -0
  995. /package/types/{tabs → pc/tabs}/tab-header/DropdownIcon.d.ts +0 -0
  996. /package/types/{tabs → pc/tabs}/tab-header/TabInk.d.ts +0 -0
  997. /package/types/{tabs → pc/tabs}/tab-header/TabNavIcon.d.ts +0 -0
  998. /package/types/{tabs → pc/tabs}/tab-header/TabTitle.d.ts +0 -0
  999. /package/types/{tabs → pc/tabs}/tab-header/index.d.ts +0 -0
  1000. /package/types/{tabs → pc/tabs}/util.d.ts +0 -0
  1001. /package/types/{tag → pc/tag}/index.d.ts +0 -0
  1002. /package/types/{time-picker → pc/time-picker}/Picker.d.ts +0 -0
  1003. /package/types/{time-picker → pc/time-picker}/RangePicker.d.ts +0 -0
  1004. /package/types/{time-picker → pc/time-picker}/TimeColumn.d.ts +0 -0
  1005. /package/types/{time-picker → pc/time-picker}/TimePicker.d.ts +0 -0
  1006. /package/types/{time-picker → pc/time-picker}/context.d.ts +0 -0
  1007. /package/types/{time-picker → pc/time-picker}/index.d.ts +0 -0
  1008. /package/types/{time-picker → pc/time-picker}/util.d.ts +0 -0
  1009. /package/types/{timeline → pc/timeline}/Item.d.ts +0 -0
  1010. /package/types/{timeline → pc/timeline}/Timeline.d.ts +0 -0
  1011. /package/types/{timeline → pc/timeline}/index.d.ts +0 -0
  1012. /package/types/{tooltip → pc/tooltip}/index.d.ts +0 -0
  1013. /package/types/{transfer → pc/transfer}/Item.d.ts +0 -0
  1014. /package/types/{transfer → pc/transfer}/List.d.ts +0 -0
  1015. /package/types/{transfer → pc/transfer}/index.d.ts +0 -0
  1016. /package/types/{tree → pc/tree}/Animation.d.ts +0 -0
  1017. /package/types/{tree → pc/tree}/Context.d.ts +0 -0
  1018. /package/types/{tree → pc/tree}/Node.d.ts +0 -0
  1019. /package/types/{tree → pc/tree}/NodeList.d.ts +0 -0
  1020. /package/types/{tree → pc/tree}/Tree.d.ts +0 -0
  1021. /package/types/{tree → pc/tree}/index.d.ts +0 -0
  1022. /package/types/{tree → pc/tree}/util.d.ts +0 -0
  1023. /package/types/{tree-select → pc/tree-select}/List.d.ts +0 -0
  1024. /package/types/{tree-select → pc/tree-select}/Select.d.ts +0 -0
  1025. /package/types/{tree-select → pc/tree-select}/hook/useKeyCache.d.ts +0 -0
  1026. /package/types/{tree-select → pc/tree-select}/hook/useStateValue.d.ts +0 -0
  1027. /package/types/{tree-select → pc/tree-select}/hook/useTreeData.d.ts +0 -0
  1028. /package/types/{tree-select → pc/tree-select}/index.d.ts +0 -0
  1029. /package/types/{tree-select → pc/tree-select}/util.d.ts +0 -0
  1030. /package/types/{trigger → pc/trigger}/getPopupStyle.d.ts +0 -0
  1031. /package/types/{trigger → pc/trigger}/index.d.ts +0 -0
  1032. /package/types/{typography → pc/typography}/Base.d.ts +0 -0
  1033. /package/types/{typography → pc/typography}/EditContent.d.ts +0 -0
  1034. /package/types/{typography → pc/typography}/Ellipsis.d.ts +0 -0
  1035. /package/types/{typography → pc/typography}/Operations.d.ts +0 -0
  1036. /package/types/{typography → pc/typography}/Paragraph.d.ts +0 -0
  1037. /package/types/{typography → pc/typography}/Text.d.ts +0 -0
  1038. /package/types/{typography → pc/typography}/Title.d.ts +0 -0
  1039. /package/types/{typography → pc/typography}/Typography.d.ts +0 -0
  1040. /package/types/{typography → pc/typography}/index.d.ts +0 -0
  1041. /package/types/{typography → pc/typography}/useCssEllipsis.d.ts +0 -0
  1042. /package/types/{typography → pc/typography}/useEllipsis.d.ts +0 -0
  1043. /package/types/{upload → pc/upload}/TriggerNode.d.ts +0 -0
  1044. /package/types/{upload → pc/upload}/Upload.d.ts +0 -0
  1045. /package/types/{upload → pc/upload}/Uploader.d.ts +0 -0
  1046. /package/types/{upload → pc/upload}/index.d.ts +0 -0
  1047. /package/types/{upload → pc/upload}/list/PictureItem.d.ts +0 -0
  1048. /package/types/{upload → pc/upload}/list/TextItem.d.ts +0 -0
  1049. /package/types/{upload → pc/upload}/list/UploadProgress.d.ts +0 -0
  1050. /package/types/{upload → pc/upload}/list/index.d.ts +0 -0
  1051. /package/types/{upload → pc/upload}/request.d.ts +0 -0
  1052. /package/types/{upload → pc/upload}/request_.d.ts +0 -0
  1053. /package/types/{upload → pc/upload}/util.d.ts +0 -0
  1054. /package/types/{utils → pc/utils}/color.d.ts +0 -0
  1055. /package/types/{utils → pc/utils}/computeScrollIntoView.d.ts +0 -0
  1056. /package/types/{utils → pc/utils}/contextHolder.d.ts +0 -0
  1057. /package/types/{utils → pc/utils}/index.d.ts +0 -0
  1058. /package/types/{utils → pc/utils}/math.d.ts +0 -0
  1059. /package/types/{utils → pc/utils}/reactTransitionGroup.d.ts +0 -0
  1060. /package/types/{utils → pc/utils}/responsiveObserve.d.ts +0 -0
  1061. /package/types/{utils → pc/utils}/tree.d.ts +0 -0
  1062. /package/types/{utils → pc/utils}/tween.d.ts +0 -0
  1063. /package/types/{utils → pc/utils}/uuid.d.ts +0 -0
  1064. /package/types/{utils → pc/utils}/validate.d.ts +0 -0
  1065. /package/types/{verification-code → pc/verification-code}/VerificationCode.d.ts +0 -0
  1066. /package/types/{verification-code → pc/verification-code}/index.d.ts +0 -0
  1067. /package/types/{version → pc/version}/index.d.ts +0 -0
  1068. /package/types/{virtual-list → pc/virtual-list}/index.d.ts +0 -0
  1069. /package/types/{watermark → pc/watermark}/Watermark.d.ts +0 -0
  1070. /package/types/{watermark → pc/watermark}/index.d.ts +0 -0
package/chunk/DILUZgXW.js DELETED
@@ -1,1464 +0,0 @@
1
- import { jsx as o, jsxs as Z, Fragment as ye } from "react/jsx-runtime";
2
- import Mn from "@unicom-cloud/icons/IconUiCalendar";
3
- import Hn from "@unicom-cloud/icons/IconUiCalendarClock";
4
- import { isDayjs as Gt } from "dayjs";
5
- import G from "lodash/isArray";
6
- import Ge from "lodash/isPlainObject";
7
- import Fn from "lodash/isUndefined";
8
- import _n, { useContext as ce, useMemo as un, forwardRef as Wn, useRef as Le, useImperativeHandle as Bn, useState as ie, useEffect as Ke } from "react";
9
- import { a as xe } from "./C9oo3EJI.js";
10
- import { u as zn } from "./BFTV6myl.js";
11
- import { u as Xt } from "./VSe_Wq1g.js";
12
- import { u as Zt } from "./a3hR6zLw.js";
13
- import qn from "../picker/InputRange.js";
14
- import Un from "../trigger/index.js";
15
- import ge from "@unicom-cloud/utils/class-name";
16
- import { b as Me, a as te, d as Ct, c as jn, g as oe, m as X, k as en, j as Pt, e as Je, h as Qn, i as Kn } from "./tamGhTJp.js";
17
- import { a as Jn } from "./ClqoGc3r.js";
18
- import Ye from "../date-picker/context.js";
19
- import { F as Gn, S as Xn } from "./CC---6jO.js";
20
- import et from "lodash/merge";
21
- import { getAvailableDayjsLength as Xe, isDisabledDate as Zn, getFormatByIndex as he, getDefaultWeekStart as eo, getLocaleDayjsValue as yt } from "../date-picker/util.js";
22
- import tn from "@unicom-cloud/icons/IconUiDoubleLeft";
23
- import nn from "@unicom-cloud/icons/IconUiDoubleRight";
24
- import on from "@unicom-cloud/icons/IconUiLeft";
25
- import rn from "@unicom-cloud/icons/IconUiRight";
26
- import { newArray as Ze } from "../utils/constant.js";
27
- import { padStart as dn } from "../utils/pad.js";
28
- import to from "../time-picker/TimePicker.js";
29
- import { o as no } from "./BKKEev13.js";
30
- function Re(u, n) {
31
- if (u && G(u))
32
- return u[n];
33
- }
34
- function oo(u) {
35
- const {
36
- prefixCls: n,
37
- value: d,
38
- rangeValues: a,
39
- valueShowHover: i,
40
- isSameTime: l,
41
- mode: g,
42
- hideNotInViewDates: s
43
- } = u, c = Xe(a), I = Xe(i), k = c !== 2 && I === 2 ? Me(i) : a, R = c === 2 ? Me(i) : [];
44
- function b(v, w, x) {
45
- if (w && x)
46
- return l(v, w) || l(v, x) || v.isBetween(w, x, null);
47
- }
48
- return function(w, x, W, $) {
49
- const p = Re(k, 0), y = Re(k, 1), f = Re(R, 0), N = Re(R, 1), m = !w.isPrev && !w.isNext, z = d && l(w.time, d);
50
- let C = l(w.time, te(W, $));
51
- const V = g !== "week" ? m : !0;
52
- g === "week" && (C = te(W, $).isSame(w.time, "date")), g === "quarter" && (C = te(W, $).isSame(w.time, "quarter"));
53
- function E(D) {
54
- return V && !x && D && l(w.time, D);
55
- }
56
- const J = E(p), h = E(y), T = E(
57
- Re(a, 0)
58
- ), K = E(
59
- Re(a, 1)
60
- ), M = E(f), H = E(N);
61
- let F = !1;
62
- J ? F = f && p && f.isBefore(p) && b(p, f, N) : h && (F = N && y && N.isAfter(y) && b(y, f, N));
63
- let P = !1;
64
- return M ? P = f && p && p.isBefore(f) && b(f, p, y) : H && (P = N && y && y.isAfter(N) && b(N, p, y)), ge(`${n}-cell`, {
65
- [`${n}-cell-disabled`]: x,
66
- [`${n}-cell-hidden`]: s && !m,
67
- [`${n}-cell-in-view`]: m,
68
- [`${n}-cell-today`]: C && m,
69
- [`${n}-cell-selected`]: z || T || K,
70
- [`${n}-cell-range-start`]: J,
71
- [`${n}-cell-range-end`]: h,
72
- [`${n}-cell-in-range`]: V && !x && b(w.time, p, y),
73
- [`${n}-cell-hover-range-start`]: M,
74
- [`${n}-cell-hover-range-end`]: H,
75
- [`${n}-cell-hover-in-range`]: V && !x && b(w.time, f, N),
76
- [`${n}-cell-range-edge-in-hover-range`]: F,
77
- [`${n}-cell-hover-range-edge-in-range`]: P
78
- });
79
- };
80
- }
81
- function ro(u) {
82
- const { prefixCls: n, weekStart: d, isWeek: a, CALENDAR_LOCALE: i } = u;
83
- let l = [
84
- "sunday",
85
- "monday",
86
- "tuesday",
87
- "wednesday",
88
- "thursday",
89
- "friday",
90
- "saturday"
91
- ];
92
- l = l.slice(d).concat(l.slice(0, d)), a && l.unshift("");
93
- const g = i.week.short;
94
- return /* @__PURE__ */ o("div", { className: `${n}-week-list`, children: l.map((s) => /* @__PURE__ */ o("div", { className: `${n}-week-list-item`, children: s && g[s] }, s)) });
95
- }
96
- function tt(u) {
97
- const {
98
- prefixCls: n,
99
- isWeek: d,
100
- disabledDate: a,
101
- onSelectDate: i,
102
- dateRender: l,
103
- onMouseEnterCell: g,
104
- onMouseLeaveCell: s,
105
- CALENDAR_LOCALE: c,
106
- rows: I,
107
- showWeekList: k,
108
- isSameTime: R,
109
- format: b,
110
- mode: v
111
- } = u, { utcOffset: w, timezone: x, weekStart: W } = ce(Ye), $ = oo({
112
- ...u,
113
- isSameTime: R
114
- });
115
- function p(y) {
116
- return y.map((f, N) => {
117
- if (f.time) {
118
- const m = Zn(f.time, a, v), z = () => !m && i(f.time.format(b), f.time);
119
- return /* @__PURE__ */ o(
120
- "div",
121
- {
122
- className: $(f, m, w, x),
123
- onMouseEnter: () => g == null ? void 0 : g(f.time, m),
124
- onMouseLeave: () => s == null ? void 0 : s(f.time, m),
125
- onClick: z,
126
- children: l ? _n.cloneElement(l(f.time)) : /* @__PURE__ */ o("div", { className: `${n}-date`, children: /* @__PURE__ */ o("div", { className: `${n}-date-value`, children: f.name }) })
127
- },
128
- N
129
- );
130
- }
131
- if ("weekOfYear" in f)
132
- return /* @__PURE__ */ o(
133
- "div",
134
- {
135
- className: ge(`${n}-cell`, `${n}-cell-week`),
136
- children: /* @__PURE__ */ o("div", { className: `${n}-date`, children: /* @__PURE__ */ o("div", { className: `${n}-date-value`, children: f.weekOfYear }) })
137
- },
138
- N
139
- );
140
- });
141
- }
142
- return /* @__PURE__ */ Z(ye, { children: [
143
- k && /* @__PURE__ */ o(
144
- ro,
145
- {
146
- prefixCls: n,
147
- weekStart: W,
148
- isWeek: d,
149
- CALENDAR_LOCALE: c
150
- }
151
- ),
152
- /* @__PURE__ */ o("div", { className: `${n}-body`, children: I.map((y, f) => /* @__PURE__ */ o(
153
- "div",
154
- {
155
- className: ge(`${n}-row`, {
156
- [`${n}-row-week`]: d
157
- }),
158
- children: p(y)
159
- },
160
- f
161
- )) })
162
- ] });
163
- }
164
- function nt(u) {
165
- const {
166
- prefixCls: n,
167
- title: d,
168
- onPrev: a,
169
- onNext: i,
170
- onSuperPrev: l,
171
- onSuperNext: g,
172
- mode: s,
173
- value: c,
174
- onChangePanel: I,
175
- icons: k = {},
176
- rtl: R,
177
- DATEPICKER_LOCALE: b
178
- } = u, v = typeof a == "function", w = typeof l == "function", x = typeof i == "function", W = typeof g == "function", $ = (z) => ge(`${n}-header-icon`, {
179
- [`${n}-header-icon-hidden`]: !z
180
- });
181
- function p() {
182
- const { monthBeforeYear: z, monthFormat: C, yearFormat: V } = (b == null ? void 0 : b.Calendar) || {};
183
- if (d)
184
- return d;
185
- if (s === "date" || s === "week") {
186
- const E = /* @__PURE__ */ o(
187
- "span",
188
- {
189
- className: `${n}-header-label`,
190
- onClick: () => I("year"),
191
- children: c.format(V || "YYYY")
192
- },
193
- "year-node"
194
- ), J = /* @__PURE__ */ o(
195
- "span",
196
- {
197
- className: `${n}-header-label`,
198
- onClick: () => I("month"),
199
- children: c.format(C || "MM")
200
- },
201
- "month-node"
202
- );
203
- return z ? [J, E] : [E, J];
204
- }
205
- if (s === "month" || s === "quarter")
206
- return /* @__PURE__ */ o(
207
- "span",
208
- {
209
- className: `${n}-header-label`,
210
- onClick: () => I("year"),
211
- children: c.format(V || "YYYY")
212
- }
213
- );
214
- }
215
- const y = k.prevDouble === null, f = k.prev === null, N = k.next === null, m = k.nextDouble === null;
216
- return /* @__PURE__ */ Z("div", { className: `${n}-header`, children: [
217
- !y && /* @__PURE__ */ o("div", { className: $(w), onClick: l, children: w && (y ? null : k.prevDouble || (R ? /* @__PURE__ */ o(nn, {}) : /* @__PURE__ */ o(tn, {}))) }),
218
- !f && /* @__PURE__ */ o("div", { className: $(v), onClick: a, children: v && (f ? null : k.prev || (R ? /* @__PURE__ */ o(rn, {}) : /* @__PURE__ */ o(on, {}))) }),
219
- /* @__PURE__ */ o("div", { className: `${n}-header-value`, children: p() }),
220
- !N && /* @__PURE__ */ o("div", { className: $(x), onClick: i, children: x && (N ? null : k.next || (R ? /* @__PURE__ */ o(on, {}) : /* @__PURE__ */ o(rn, {}))) }),
221
- !m && /* @__PURE__ */ o("div", { className: $(W), onClick: g, children: W && (m ? null : k.nextDouble || (R ? /* @__PURE__ */ o(tn, {}) : /* @__PURE__ */ o(nn, {}))) })
222
- ] });
223
- }
224
- function He(u) {
225
- const {
226
- pageShowDate: n,
227
- style: d,
228
- onMouseEnterCell: a,
229
- onMouseLeaveCell: i,
230
- dateRender: l,
231
- disabledDate: g,
232
- value: s,
233
- locale: c,
234
- isRangePicker: I,
235
- onSelect: k,
236
- rangeValues: R,
237
- onSuperPrev: b,
238
- onSuperNext: v,
239
- format: w,
240
- icons: x,
241
- ...W
242
- } = u, { locale: $, getPrefixCls: p, rtl: y } = ce(xe), N = et($.DatePicker, c).Calendar, { utcOffset: m, timezone: z } = ce(Ye), C = p == null ? void 0 : p("panel-year"), V = ge(C), E = I ? { rangeValues: R } : { value: s }, J = n ? n.year() : te(m, z).year(), h = Math.floor(J / 10) * 10 - 1, T = Ze(3).map((F) => ""), K = Ze(4).map((F) => T).map((F, P) => F.map((D, B) => ({
243
- name: h + P * 3 + B,
244
- time: Ct(`${h + P * 3 + B}`, "YYYY").endOf("year"),
245
- isPrev: P === 0 && B === 0,
246
- isNext: P === 3 && B === 2
247
- })));
248
- function M() {
249
- return /* @__PURE__ */ o(
250
- tt,
251
- {
252
- ...W,
253
- ...E,
254
- prefixCls: p == null ? void 0 : p("picker"),
255
- rows: K,
256
- onSelectDate: k,
257
- isSameTime: (F, P) => F.isSame(P, "year"),
258
- onMouseEnterCell: a,
259
- onMouseLeaveCell: i,
260
- dateRender: l,
261
- disabledDate: g,
262
- CALENDAR_LOCALE: N,
263
- mode: "year",
264
- format: w
265
- }
266
- );
267
- }
268
- const H = { onSuperPrev: b, onSuperNext: v };
269
- return /* @__PURE__ */ Z("div", { className: V, style: d, children: [
270
- /* @__PURE__ */ o(
271
- nt,
272
- {
273
- prefixCls: p == null ? void 0 : p("picker"),
274
- icons: x,
275
- title: `${K[0][1].name} - ${K[3][2].name}`,
276
- rtl: y,
277
- ...H
278
- }
279
- ),
280
- M()
281
- ] });
282
- }
283
- function Dt(u) {
284
- const {
285
- pageShowDate: n,
286
- style: d,
287
- onMouseEnterCell: a,
288
- onMouseLeaveCell: i,
289
- dateRender: l,
290
- disabledDate: g,
291
- value: s,
292
- locale: c,
293
- isRangePicker: I,
294
- onSelect: k,
295
- rangeValues: R,
296
- onSuperPrev: b,
297
- onSuperNext: v,
298
- format: w,
299
- getHeaderOperations: x,
300
- setPageShowDate: W,
301
- icons: $,
302
- panelMode: p,
303
- setPanelMode: y,
304
- ...f
305
- } = u, { locale: N, getPrefixCls: m, rtl: z } = ce(xe), C = et(N.DatePicker, c), V = C.Calendar, E = m == null ? void 0 : m("panel-month"), J = ge(E), h = I ? { rangeValues: R } : { value: s }, T = n.year(), K = un(() => {
306
- const P = [
307
- "January",
308
- "February",
309
- "March",
310
- "April",
311
- "May",
312
- "June",
313
- "July",
314
- "August",
315
- "September",
316
- "October",
317
- "November",
318
- "December"
319
- ].map((B, re) => ({
320
- name: V.month.short[B],
321
- time: Ct(
322
- `${T}-${dn(re + 1, 2, "0")}`,
323
- "YYYY-MM"
324
- ).endOf("month")
325
- })), D = Array(4);
326
- for (let B = 0; B < 4; B++)
327
- D[B] = P.slice(B * 3, 3 * (B + 1));
328
- return D;
329
- }, [T, V]);
330
- function M() {
331
- return /* @__PURE__ */ o(
332
- tt,
333
- {
334
- ...f,
335
- ...h,
336
- prefixCls: m == null ? void 0 : m("picker"),
337
- rows: K,
338
- onSelectDate: k,
339
- isSameTime: (P, D) => P.isSame(D, "month"),
340
- onMouseEnterCell: a,
341
- onMouseLeaveCell: i,
342
- dateRender: l,
343
- disabledDate: g,
344
- CALENDAR_LOCALE: V,
345
- mode: "month",
346
- format: w
347
- }
348
- );
349
- }
350
- const H = { onSuperPrev: b, onSuperNext: v };
351
- function F(P) {
352
- y(P);
353
- }
354
- return p === "year" ? /* @__PURE__ */ o(
355
- He,
356
- {
357
- ...x(p),
358
- pageShowDate: n,
359
- onSelect: (P, D) => {
360
- y("month"), W(D);
361
- },
362
- disabledDate: g
363
- }
364
- ) : /* @__PURE__ */ Z("div", { className: J, style: d, children: [
365
- /* @__PURE__ */ o(
366
- nt,
367
- {
368
- ...H,
369
- DATEPICKER_LOCALE: C,
370
- icons: $,
371
- prefixCls: m == null ? void 0 : m("picker"),
372
- value: n,
373
- mode: p,
374
- onChangePanel: F,
375
- rtl: z
376
- }
377
- ),
378
- M()
379
- ] });
380
- }
381
- const an = 6 * 7, bt = (u) => ({
382
- year: u.year(),
383
- month: u.month() + 1,
384
- day: u.day(),
385
- name: u.date(),
386
- time: u
387
- }), ao = (u) => ({
388
- ...bt(X.startOf(u, "month")),
389
- days: u.daysInMonth()
390
- });
391
- function so(u, n) {
392
- const { dayStartOfWeek: d, isWeek: a } = u, i = ao(n), l = Ze(an).map((c, I, k) => ({})), g = i.day - d < 0 ? 7 + (i.day - d) : i.day - d;
393
- l[g] = {
394
- ...i
395
- };
396
- for (let c = 0; c < g; c++)
397
- l[g - c - 1] = {
398
- ...bt(X.subtract(i.time, c + 1, "day")),
399
- isPrev: !0
400
- };
401
- for (let c = 0; c < an - g - 1; c++)
402
- l[g + c + 1] = {
403
- ...bt(X.add(i.time, c + 1, "day")),
404
- isNext: c >= i.days - 1
405
- };
406
- const s = Ze(6).map((c, I, k) => []);
407
- for (let c = 0; c < 6; c++)
408
- if (s[c] = l.slice(c * 7, 7 * (c + 1)), a) {
409
- const I = s[c][0].time, k = [...s[c]];
410
- s[c].unshift({
411
- weekRows: k,
412
- weekOfYear: I.week()
413
- });
414
- }
415
- return s;
416
- }
417
- function Nt(u) {
418
- const {
419
- isWeek: n,
420
- popupVisible: d,
421
- format: a,
422
- pageShowDate: i,
423
- showTime: l,
424
- style: g,
425
- timepickerProps: s,
426
- onMouseEnterCell: c,
427
- onMouseLeaveCell: I,
428
- dateRender: k,
429
- disabledDate: R,
430
- disabledTime: b,
431
- value: v,
432
- rangeValues: w,
433
- locale: x,
434
- isRangePicker: W,
435
- onSelect: $,
436
- onTimePickerSelect: p,
437
- onPrev: y,
438
- onNext: f,
439
- onSuperPrev: N,
440
- onSuperNext: m,
441
- isSameTime: z,
442
- index: C,
443
- getHeaderOperations: V,
444
- setPageShowDate: E,
445
- timeValue: J,
446
- hideNotInViewDates: h,
447
- icons: T,
448
- isTimePanel: K,
449
- panelMode: M,
450
- setPanelMode: H,
451
- ...F
452
- } = u, { locale: P, getPrefixCls: D, rtl: B } = ce(xe), { utcOffset: re, timezone: ae, weekStart: fe } = ce(Ye), le = et(P.DatePicker, x), L = D == null ? void 0 : D(n ? "panel-week" : "panel-date"), A = ge(L), Ie = W ? { rangeValues: w } : { value: v }, ue = Ge(l) && l.format || jn(a), U = P.dayjsLocale, ne = un(() => so(
453
- { ...u, dayStartOfWeek: fe },
454
- i.locale(U)
455
- ), [i.toString(), fe, U]);
456
- let _;
457
- W ? _ = typeof b == "function" ? b(
458
- w[C],
459
- C === 0 ? "start" : "end"
460
- ) : {} : _ = typeof b == "function" ? b(oe(v, a)) : {};
461
- function q() {
462
- return /* @__PURE__ */ o(
463
- tt,
464
- {
465
- ...F,
466
- ...Ie,
467
- showWeekList: !0,
468
- isWeek: n,
469
- prefixCls: D == null ? void 0 : D("picker"),
470
- rows: ne,
471
- isSameTime: z || ((Y, ke) => Y.isSame(ke, "day")),
472
- onSelectDate: $,
473
- onMouseEnterCell: c,
474
- onMouseLeaveCell: I,
475
- dateRender: k,
476
- disabledDate: R,
477
- CALENDAR_LOCALE: le.Calendar,
478
- mode: n ? "week" : "date",
479
- format: a,
480
- hideNotInViewDates: h
481
- }
482
- );
483
- }
484
- function de() {
485
- const Y = Ge(l) ? l : {};
486
- return /* @__PURE__ */ Z("div", { className: `${L}-timepicker`, children: [
487
- /* @__PURE__ */ o("header", { className: `${L}-timepicker-title`, children: le.selectTime }),
488
- /* @__PURE__ */ o(
489
- to,
490
- {
491
- ...no(s, ["disableConfirm"]),
492
- ...Y,
493
- ..._,
494
- hideFooter: !0,
495
- format: ue,
496
- valueShow: J.format(ue),
497
- onSelect: p,
498
- popupVisible: d,
499
- utcOffset: re,
500
- timezone: ae
501
- }
502
- )
503
- ] });
504
- }
505
- const O = {
506
- onPrev: y,
507
- onSuperPrev: N,
508
- onNext: f,
509
- onSuperNext: m,
510
- DATEPICKER_LOCALE: le
511
- };
512
- function pe(Y) {
513
- H(Y);
514
- }
515
- return M === "year" ? /* @__PURE__ */ o(
516
- He,
517
- {
518
- ...V(M),
519
- pageShowDate: i,
520
- onSelect: (Y, ke) => {
521
- H("month"), E(ke);
522
- },
523
- disabledDate: R
524
- }
525
- ) : M === "month" ? /* @__PURE__ */ o(
526
- Dt,
527
- {
528
- ...V(M),
529
- setPageShowDate: E,
530
- pageShowDate: i,
531
- panelMode: M,
532
- getHeaderOperations: V,
533
- onSelect: (Y, ke) => {
534
- H("date"), E(ke);
535
- },
536
- disabledDate: R,
537
- setPanelMode: H
538
- }
539
- ) : /* @__PURE__ */ o("div", { className: A, style: g, children: l && K ? de() : /* @__PURE__ */ Z("div", { className: `${L}-inner`, children: [
540
- /* @__PURE__ */ o(
541
- nt,
542
- {
543
- ...O,
544
- icons: T,
545
- prefixCls: D == null ? void 0 : D("picker"),
546
- value: i,
547
- mode: M,
548
- onChangePanel: pe,
549
- rtl: B
550
- }
551
- ),
552
- q()
553
- ] }) });
554
- }
555
- function sn(u) {
556
- const {
557
- pageShowDate: n,
558
- style: d,
559
- onMouseEnterCell: a,
560
- onMouseLeaveCell: i,
561
- dateRender: l,
562
- disabledDate: g,
563
- value: s,
564
- locale: c,
565
- isRangePicker: I,
566
- onSelect: k,
567
- rangeValues: R,
568
- onSuperPrev: b,
569
- onSuperNext: v,
570
- format: w,
571
- getHeaderOperations: x,
572
- setPageShowDate: W,
573
- icons: $,
574
- panelMode: p,
575
- setPanelMode: y,
576
- ...f
577
- } = u, { locale: N, getPrefixCls: m, rtl: z } = ce(xe), C = et(N.DatePicker, c), V = C.Calendar, E = m == null ? void 0 : m("panel-quarter"), J = ge(E), h = I ? { rangeValues: R } : { value: s }, T = n.year(), K = [
578
- [1, 2, 3, 4].map((P, D, B) => {
579
- var re;
580
- return {
581
- name: ((re = V.quarter) == null ? void 0 : re[`q${P}`]) || `Q${P}`,
582
- // 潘启宝修改 2024年12月23日 星期一 15时21分14秒 CST
583
- time: Ct(`${T}-${dn((P - 1) * 3 + 1, 2, "0")}-01`)
584
- };
585
- })
586
- ];
587
- function M() {
588
- return /* @__PURE__ */ o(
589
- tt,
590
- {
591
- ...f,
592
- ...h,
593
- prefixCls: m == null ? void 0 : m("picker"),
594
- rows: K,
595
- onSelectDate: k,
596
- isSameTime: (P, D) => P.isSame(D, "month"),
597
- onMouseEnterCell: a,
598
- onMouseLeaveCell: i,
599
- dateRender: l,
600
- disabledDate: g,
601
- CALENDAR_LOCALE: V,
602
- mode: "quarter",
603
- format: w
604
- }
605
- );
606
- }
607
- const H = { onSuperPrev: b, onSuperNext: v };
608
- function F(P) {
609
- y(P);
610
- }
611
- return p === "year" ? /* @__PURE__ */ o(
612
- He,
613
- {
614
- ...x(p),
615
- pageShowDate: n,
616
- onSelect: (P, D) => {
617
- y("quarter"), W(D);
618
- },
619
- disabledDate: g
620
- }
621
- ) : /* @__PURE__ */ Z("div", { className: J, style: d, children: [
622
- /* @__PURE__ */ o(
623
- nt,
624
- {
625
- ...H,
626
- icons: $,
627
- prefixCls: m == null ? void 0 : m("picker"),
628
- value: n,
629
- mode: p,
630
- onChangePanel: F,
631
- DATEPICKER_LOCALE: C,
632
- rtl: z
633
- }
634
- ),
635
- /* @__PURE__ */ o("div", { className: `${E}-wrapper`, children: M() })
636
- ] });
637
- }
638
- function cn(u) {
639
- const {
640
- value: n,
641
- isRangePicker: d,
642
- rangeValues: a,
643
- onPrev: i,
644
- onNext: l,
645
- onSuperPrev: g,
646
- onSuperNext: s,
647
- localeName: c,
648
- ...I
649
- } = u, { weekStart: k } = ce(Ye), R = d ? { rangeValues: a } : { value: n }, b = { onPrev: i, onNext: l, onSuperPrev: g, onSuperNext: s };
650
- function v(w, x) {
651
- return X.isSameWeek(w, x, k, c);
652
- }
653
- return /* @__PURE__ */ o(
654
- Nt,
655
- {
656
- ...I,
657
- ...R,
658
- ...b,
659
- isWeek: !0,
660
- isSameTime: v,
661
- isRangePicker: d
662
- }
663
- );
664
- }
665
- function kt(u, n) {
666
- const d = [];
667
- for (let a = u; a < n; a++)
668
- d.push(a);
669
- return d;
670
- }
671
- function io(u) {
672
- const {
673
- mode: n = "date",
674
- showTime: d,
675
- disabledDate: a,
676
- disabledTime: i,
677
- format: l,
678
- dateRender: g,
679
- value: s,
680
- timeValues: c,
681
- icons: I,
682
- locale: k,
683
- pageShowDates: R,
684
- onMouseEnterCell: b,
685
- onMouseLeaveCell: v,
686
- onTimePickerSelect: w,
687
- onSelectPanel: x,
688
- onPrev: W,
689
- onSuperPrev: $,
690
- onNext: p,
691
- onSuperNext: y,
692
- localeName: f,
693
- popupVisible: N,
694
- timepickerProps: m,
695
- getHeaderOperations: z,
696
- setRangePageShowDates: C,
697
- disabledTimePickerIndex: V,
698
- hideNotInViewDates: E,
699
- isTimePanel: J,
700
- valueShowHover: h,
701
- panelModes: T,
702
- setPanelModes: K
703
- } = u, { getPrefixCls: M } = ce(xe), H = M == null ? void 0 : M("picker-range"), { utcOffset: F, timezone: P } = ce(Ye), D = R[0] || te(F, P), B = R[1] || te(F, P), ae = {
704
- isRangePicker: !0,
705
- rangeValues: oe(s, l),
706
- onMouseEnterCell: b,
707
- onMouseLeaveCell: v,
708
- locale: k,
709
- disabledDate: a,
710
- onSelect: x,
711
- dateRender: g,
712
- getHeaderOperations: z,
713
- icons: I,
714
- valueShowHover: h
715
- }, fe = {
716
- pageShowDate: D,
717
- panelMode: T[0],
718
- setPanelMode: (U) => K([U, T[1]]),
719
- format: he(l, 0)
720
- }, le = {
721
- pageShowDate: B,
722
- panelMode: T[1],
723
- setPanelMode: (U) => K([T[0], U]),
724
- format: he(l, 1)
725
- };
726
- function L() {
727
- const U = {
728
- onPrev: W,
729
- onSuperPrev: $
730
- }, ne = {
731
- onNext: p,
732
- onSuperNext: y
733
- }, _ = {
734
- ...ae,
735
- localeName: f,
736
- popupVisible: N,
737
- timepickerProps: m,
738
- getHeaderOperations: z,
739
- hideNotInViewDates: E,
740
- isTimePanel: J
741
- };
742
- if (n === "week")
743
- return /* @__PURE__ */ Z(ye, { children: [
744
- /* @__PURE__ */ o(
745
- cn,
746
- {
747
- setPageShowDate: (O) => C([O, O], 0),
748
- ...U,
749
- ..._,
750
- ...fe
751
- }
752
- ),
753
- /* @__PURE__ */ o(
754
- cn,
755
- {
756
- setPageShowDate: (O) => C([X.subtract(O, 1, "month"), O], 1),
757
- ...ne,
758
- ..._,
759
- ...le
760
- }
761
- )
762
- ] });
763
- const q = {
764
- disabledTime: i,
765
- showTime: d
766
- }, de = {};
767
- if (typeof V == "number" && (de.disabledTime = () => ({
768
- disabledHours: () => kt(0, 24),
769
- disabledMinutes: () => kt(0, 60),
770
- disabledSeconds: () => kt(0, 60)
771
- }), Ge(d))) {
772
- const O = { ...d, defaultValue: void 0 };
773
- de.showTime = {
774
- ...O,
775
- hideDisabledOptions: !1
776
- };
777
- }
778
- return /* @__PURE__ */ Z(ye, { children: [
779
- /* @__PURE__ */ o(
780
- Nt,
781
- {
782
- ...U,
783
- ..._,
784
- ...q,
785
- ...V === 0 ? de : {},
786
- onTimePickerSelect: (O, pe) => {
787
- w(0, O, pe);
788
- },
789
- index: 0,
790
- setPageShowDate: (O) => C([O, O], 0),
791
- timeValue: c[0],
792
- ...fe
793
- }
794
- ),
795
- /* @__PURE__ */ o(
796
- Nt,
797
- {
798
- ...ne,
799
- ..._,
800
- ...q,
801
- ...V === 1 ? de : {},
802
- onTimePickerSelect: (O, pe) => {
803
- w(1, O, pe);
804
- },
805
- index: 1,
806
- setPageShowDate: (O) => C([X.subtract(O, 1, "month"), O], 1),
807
- timeValue: c[1],
808
- ...le
809
- }
810
- )
811
- ] });
812
- }
813
- function A() {
814
- const U = {
815
- onSuperPrev: $
816
- }, ne = {
817
- onSuperNext: y
818
- }, _ = ae;
819
- return /* @__PURE__ */ Z(ye, { children: [
820
- /* @__PURE__ */ o(
821
- Dt,
822
- {
823
- setPageShowDate: (q) => C([q, q], 0),
824
- ...U,
825
- ..._,
826
- ...fe
827
- }
828
- ),
829
- /* @__PURE__ */ o(
830
- Dt,
831
- {
832
- setPageShowDate: (q) => C([X.subtract(q, 1, "year"), q], 1),
833
- ...ne,
834
- ..._,
835
- ...le
836
- }
837
- )
838
- ] });
839
- }
840
- function Ie() {
841
- const U = {
842
- onSuperPrev: $
843
- }, ne = {
844
- onSuperNext: y
845
- }, _ = ae;
846
- return /* @__PURE__ */ Z(ye, { children: [
847
- /* @__PURE__ */ o(
848
- He,
849
- {
850
- ...U,
851
- ..._,
852
- pageShowDate: D
853
- }
854
- ),
855
- /* @__PURE__ */ o(
856
- He,
857
- {
858
- ...ne,
859
- ..._,
860
- pageShowDate: B
861
- }
862
- )
863
- ] });
864
- }
865
- function ue() {
866
- const U = {
867
- onSuperPrev: $
868
- }, ne = {
869
- onSuperNext: y
870
- }, _ = ae;
871
- return /* @__PURE__ */ Z(ye, { children: [
872
- /* @__PURE__ */ o(
873
- sn,
874
- {
875
- setPageShowDate: (q) => C([q, q], 0),
876
- ...U,
877
- ..._,
878
- ...fe
879
- }
880
- ),
881
- /* @__PURE__ */ o(
882
- sn,
883
- {
884
- setPageShowDate: (q) => C([X.subtract(q, 1, "year"), q], 1),
885
- ...ne,
886
- ..._,
887
- ...le
888
- }
889
- )
890
- ] });
891
- }
892
- return /* @__PURE__ */ o("div", { className: H, children: /* @__PURE__ */ Z("div", { className: `${H}-wrapper`, children: [
893
- (n === "date" || n === "week") && L(),
894
- n === "month" && A(),
895
- n === "year" && Ie(),
896
- n === "quarter" && ue()
897
- ] }) });
898
- }
899
- function co(u) {
900
- const { format: n, showTime: d, mode: a } = u;
901
- let i;
902
- switch (a) {
903
- case "date":
904
- i = d ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD";
905
- break;
906
- case "month":
907
- i = "YYYY-MM";
908
- break;
909
- case "year":
910
- i = "YYYY";
911
- break;
912
- case "week":
913
- i = "YYYY-wo";
914
- break;
915
- case "quarter":
916
- i = "YYYY-[Q]Q";
917
- break;
918
- default:
919
- i = "YYYY-MM-DD";
920
- }
921
- return n && (i = n), i;
922
- }
923
- const ln = {
924
- allowClear: !0,
925
- unmountOnExit: !0,
926
- position: "bl",
927
- editable: !0,
928
- mode: "date"
929
- }, lo = { bottom: 4 }, uo = (u, n) => {
930
- var jt, Qt, Kt, Jt;
931
- const {
932
- getPrefixCls: d,
933
- locale: a,
934
- size: i,
935
- componentConfig: l,
936
- rtl: g
937
- } = ce(xe);
938
- g && (ln.position = "br");
939
- const s = zn(
940
- u,
941
- ln,
942
- l == null ? void 0 : l.DatePicker
943
- ), {
944
- allowClear: c,
945
- className: I,
946
- style: k,
947
- placeholder: R,
948
- getPopupContainer: b,
949
- disabled: v,
950
- position: w,
951
- error: x,
952
- status: W,
953
- unmountOnExit: $,
954
- editable: p,
955
- triggerProps: y,
956
- shortcuts: f,
957
- onSelect: N,
958
- onVisibleChange: m,
959
- value: z,
960
- onChange: C,
961
- icons: V,
962
- disabledDate: E,
963
- disabledTime: J,
964
- mode: h,
965
- showTime: T,
966
- onSelectShortcut: K,
967
- extra: M,
968
- shortcutsPlacementLeft: H,
969
- onOk: F,
970
- defaultPickerValue: P,
971
- pickerValue: D,
972
- panelRender: B,
973
- onPickerValueChange: re,
974
- triggerElement: ae,
975
- clearRangeOnReselect: fe,
976
- separator: le,
977
- utcOffset: L,
978
- timezone: A,
979
- inputProps: Ie
980
- } = s, ue = d == null ? void 0 : d("picker-range"), U = a == null ? void 0 : a.DatePicker, ne = Fn(s.dayStartOfWeek) ? eo(a == null ? void 0 : a.dayjsLocale) : s.dayStartOfWeek, _ = Le(null), q = Le(null), de = Le(null), O = Le(null), pe = Le(null);
981
- Bn(
982
- n,
983
- () => ({
984
- focus(e) {
985
- var t, r;
986
- (r = (t = _.current) == null ? void 0 : t.focus) == null || r.call(t, e);
987
- },
988
- blur() {
989
- $t();
990
- }
991
- }),
992
- []
993
- );
994
- const Y = ((Qt = (jt = U.Calendar) == null ? void 0 : jt[h]) == null ? void 0 : Qt.format) || co(s);
995
- function ke() {
996
- if (G(v)) {
997
- if (v[0] && !v[1])
998
- return 1;
999
- if (v[1] && !v[0])
1000
- return 0;
1001
- }
1002
- }
1003
- const De = ke(), me = typeof De == "number", mn = me ? 1 ^ De : void 0, [ee, ot] = ie(
1004
- me ? De : 0
1005
- );
1006
- Ke(() => {
1007
- me && ot(De);
1008
- }, [v]);
1009
- const Fe = 1 ^ ee, [_e, be] = ie(), [Tt, We] = ie(), [rt, at] = ie(Sn()), [Se, Ce] = ie(), [fn, $e] = ie(), [Vt, st] = ie(), [pn, hn] = ie(() => !!s.popupVisible), [it, ct] = ie([h, h]), [lt, Lt] = ie(!1), ve = s.popupVisible ?? pn, Ne = oe(
1010
- z,
1011
- Y,
1012
- L,
1013
- A
1014
- ), we = "value" in s ? Ne : rt, j = Vt || Se || we || [], se = Xe(Se || we), Ee = Le(!0), ut = te(), Rt = en(ut, L, A);
1015
- function gn() {
1016
- const e = [], t = Ge(T) && T.defaultValue ? oe(T.defaultValue, T.format || "HH:mm:ss") : [];
1017
- return e[0] = j[0] || t[0] || Rt, e[1] = j[1] || t[1] || Rt, e;
1018
- }
1019
- const Be = gn(), xt = me ? (e) => De === 0 ? e.isAfter(j[1], h) : e.isBefore(j[0], h) : void 0, dt = ae !== void 0, mt = dt || fe;
1020
- function Sn() {
1021
- let e;
1022
- if (s.value ? e = oe(s.value, Y, L, A) : e = oe(s.defaultValue, Y, L, A), me && (!e || e && !e[Fe])) {
1023
- const t = [];
1024
- return t[Fe] = te(L, A), t;
1025
- }
1026
- return e;
1027
- }
1028
- const ft = we || oe(P, Y) || [ut, ut], [Yt, ze] = ie(
1029
- Te(ft)
1030
- ), qe = Te(
1031
- oe(D, Y, L, A)
1032
- ) || Yt, pt = Xt(L), ht = Xt(A);
1033
- Zt(() => {
1034
- if (G(rt) && (pt !== L || A !== ht)) {
1035
- const t = rt.map(
1036
- (r) => Pt(r, pt, ht)
1037
- ).map(
1038
- (r) => en(r, L, A)
1039
- );
1040
- at(t);
1041
- }
1042
- }, [L, pt, A, ht]), Zt(() => {
1043
- ze(Te(ft));
1044
- }, [h]), Ke(() => {
1045
- ct([h, h]);
1046
- }, [h]), Ke(() => {
1047
- if (We(void 0), be(void 0), ve) {
1048
- const e = Te(ft);
1049
- Lt(!1), ct([h, h]), ze(e), gt(e), Ce(we), H && de.current && q.current && (de.current.style.maxHeight = `${q.current.clientHeight}px`);
1050
- } else
1051
- Ce(void 0), $e(void 0), st(void 0), $t();
1052
- Ee.current = ve;
1053
- }, [ve]);
1054
- const vn = (Kt = Ne == null ? void 0 : Ne[0]) == null ? void 0 : Kt.format(he(Y, 0)), wn = (Jt = Ne == null ? void 0 : Ne[1]) == null ? void 0 : Jt.format(he(Y, 1));
1055
- Ke(() => {
1056
- Ce(void 0), $e(void 0);
1057
- }, [vn, wn]);
1058
- function Ae(e, t = ee) {
1059
- const r = Te(e, t);
1060
- ze(r), gt(r);
1061
- }
1062
- function gt(e) {
1063
- It([e[0], Yt[0]], h) || re == null || re(
1064
- G(e) ? e.map((t, r) => t && t.format(he(Y, r))) : void 0,
1065
- e
1066
- );
1067
- }
1068
- function Te(e, t = ee) {
1069
- const r = t === 0 || It(e, h);
1070
- if (G(e) && e.length < 2)
1071
- return Ue(
1072
- e[0] || te(L, A),
1073
- h,
1074
- "prev"
1075
- );
1076
- if (G(e) && e.length === 2)
1077
- return e[t] ? Ue(
1078
- e[t],
1079
- h,
1080
- r ? "prev" : "next"
1081
- ) : Ue(
1082
- e[t === 0 ? 1 : 0] || te(L, A),
1083
- h,
1084
- r && !e[t === 0 ? 1 : 0] ? "prev" : "next"
1085
- );
1086
- }
1087
- function It(e, t) {
1088
- if ((e == null ? void 0 : e.length) === 2 && Wt(e))
1089
- return (t === "date" || t === "week") && e[0].isSame(e[1], "month") || (t === "month" || t === "quarter") && e[0].isSame(e[1], "year") || t === "year" && Math.floor(e[0].year() / 10) === Math.floor(e[1].year() / 10);
1090
- }
1091
- function Ue(e = te(L, A), t = h, r = "prev") {
1092
- const S = r === "prev";
1093
- switch (t) {
1094
- case "date":
1095
- case "week":
1096
- return S ? [e, X.add(e, 1, "month")] : [X.subtract(e, 1, "month"), e];
1097
- case "month":
1098
- case "quarter":
1099
- return S ? [e, X.add(e, 1, "year")] : [X.subtract(e, 1, "year"), e];
1100
- case "year":
1101
- return S ? [e, X.add(e, 10, "year")] : [X.subtract(e, 10, "year"), e];
1102
- default:
1103
- return [];
1104
- }
1105
- }
1106
- function St(e) {
1107
- var t, r;
1108
- (r = (t = _.current) == null ? void 0 : t.focus) == null || r.call(t, me ? De : e);
1109
- }
1110
- function $t() {
1111
- var e, t;
1112
- (t = (e = _.current) == null ? void 0 : e.blur) == null || t.call(e);
1113
- }
1114
- function je(e) {
1115
- m == null || m(e), hn(e);
1116
- }
1117
- function Pn(e) {
1118
- var r;
1119
- e.stopPropagation();
1120
- let t = [...j];
1121
- me ? t[De] = void 0 : t = void 0, at(t), Ce(t), Mt(t), (r = s.onClear) == null || r.call(s);
1122
- }
1123
- function Et(e, t) {
1124
- if (ot(e), j && j.length && !t) {
1125
- const r = Te(j, e);
1126
- ze(r), gt(r);
1127
- }
1128
- }
1129
- function At(e) {
1130
- const t = typeof xt == "function" ? xt(e) : !1;
1131
- return (typeof E == "function" ? E(e) : !1) || t;
1132
- }
1133
- function Ot(e) {
1134
- return Qn(e, Y, ee) && !At(oe(e, Y));
1135
- }
1136
- function yn(e) {
1137
- const t = [...j || []], r = e.target.value;
1138
- be(r), ve || je(!0), Ot(r) && (t[ee] = oe(r, Y), Ce(t), Ae(t), be(void 0));
1139
- }
1140
- function kn() {
1141
- _e && be(void 0);
1142
- }
1143
- function Mt(e) {
1144
- if (Kn(we, e)) {
1145
- const t = G(e) ? e.map(
1146
- (r) => yt(
1147
- Pt(r, L, A),
1148
- a == null ? void 0 : a.dayjsLocale
1149
- )
1150
- ) : void 0;
1151
- C == null || C(
1152
- G(t) ? t.map((r, S) => r && r.format(he(Y, S))) : void 0,
1153
- t
1154
- );
1155
- }
1156
- }
1157
- function Dn() {
1158
- G(Se) && Se.length ? _e && !Ot(_e) ? be(void 0) : se !== 2 ? Qe() : se === 2 && Ve(Se) : ve && je(!1);
1159
- }
1160
- function Ve(e, t) {
1161
- const r = e || j;
1162
- if (!r || !r[0] || !r[1])
1163
- return;
1164
- const S = Me(r);
1165
- at(S), Mt(S), ae === null || t || je(!1);
1166
- }
1167
- function bn() {
1168
- Ve();
1169
- const e = j.map(
1170
- (t) => yt(t, a == null ? void 0 : a.dayjsLocale)
1171
- );
1172
- F == null || F(
1173
- e.map(
1174
- (t, r) => t && t.format(he(Y, r))
1175
- ),
1176
- e
1177
- );
1178
- }
1179
- function Ht() {
1180
- switch (h) {
1181
- case "date":
1182
- case "week":
1183
- return "date";
1184
- case "month":
1185
- return "month";
1186
- case "year":
1187
- return "year";
1188
- default:
1189
- return;
1190
- }
1191
- }
1192
- function Ft(e) {
1193
- if (se !== 2)
1194
- return !1;
1195
- const t = Se || we;
1196
- return !!(ee === 0 && e.isAfter(t[1], Ht()) || ee === 1 && e.isBefore(t[0], Ht()));
1197
- }
1198
- function Nn(e, t) {
1199
- const r = Ft(t) && Ee.current, S = mt && se === 2 && !me ? [] : [...j], Q = dt ? se === 0 || se === 2 ? 0 : 1 : ee, Oe = T ? Je(t, Be[Q]) : t;
1200
- r ? (S[Q] = Oe, S[1 ^ Q] = void 0) : S[Q] = Oe;
1201
- const vt = Me(S);
1202
- _t(vt), be(void 0), We(void 0);
1203
- const wt = Xe(S);
1204
- mt ? se === 0 || se === 2 && !me ? dt ? ot(1) : Qe(!0) : T || Ve(S) : wt <= 1 ? Qe(!0) : se === 2 && Ee.current && !me ? (Ee.current = !1, Qe(!0), !T && !r && Ve(S, !0)) : (Ee.current = !1, !T && !r && Ve(S));
1205
- }
1206
- function Cn(e, t, r) {
1207
- const S = G(j) ? [...j] : [], Q = Je(
1208
- S[e] || te(L, A),
1209
- r
1210
- );
1211
- S[e] = Q, _t(S);
1212
- }
1213
- function _t(e) {
1214
- Ce(e), $e(void 0);
1215
- const r = Me(e).map(
1216
- (S) => yt(
1217
- Pt(S, L, A),
1218
- a == null ? void 0 : a.dayjsLocale
1219
- )
1220
- );
1221
- N == null || N(
1222
- r.map((S, Q) => S && S.format(he(Y, Q))),
1223
- r,
1224
- { type: ee === 1 ? "end" : "start" }
1225
- );
1226
- }
1227
- function Qe(e) {
1228
- Et(Fe, e), setTimeout(() => St(Fe));
1229
- }
1230
- function Tn(e, t) {
1231
- const r = [...j || []];
1232
- if (!t && (mt ? se === 1 : se !== 0) && !Ft(e) && (r[ee] = Je(
1233
- e,
1234
- Be[ee]
1235
- ), $e(r), be(void 0)), !t) {
1236
- const Q = T ? Je(e, Be[ee]) : e;
1237
- We(
1238
- Q.locale(a == null ? void 0 : a.dayjsLocale).format(he(Y, ee))
1239
- );
1240
- }
1241
- }
1242
- function Vn() {
1243
- $e(void 0), We(void 0);
1244
- }
1245
- function Wt(e) {
1246
- return e && G(e) && e.length === 2 && Gt(e[0]) && Gt(e[1]);
1247
- }
1248
- function Bt(e) {
1249
- const t = typeof e.value == "function" && e.value();
1250
- return Wt(t);
1251
- }
1252
- function zt() {
1253
- clearTimeout(O.current), clearTimeout(pe.current), O.current = null, pe.current = null;
1254
- }
1255
- function Ln(e) {
1256
- zt(), O.current = setTimeout(() => {
1257
- if (Bt(e)) {
1258
- const t = oe(
1259
- e.value(),
1260
- Y,
1261
- L,
1262
- A
1263
- );
1264
- st(t), Ae(t);
1265
- }
1266
- }, 50);
1267
- }
1268
- function Rn() {
1269
- zt(), pe.current = setTimeout(() => {
1270
- st(void 0), Ae(
1271
- Se || we || [
1272
- te(L, A),
1273
- te(L, A)
1274
- ]
1275
- );
1276
- }, 50);
1277
- }
1278
- function xn(e) {
1279
- if (K == null || K(e), Bt(e)) {
1280
- const t = oe(
1281
- e.value(),
1282
- Y,
1283
- L,
1284
- A
1285
- );
1286
- Ve(t);
1287
- }
1288
- }
1289
- function Pe(e, t, r = 1) {
1290
- const S = e === "prev" ? 0 : 1;
1291
- let Q = [...qe];
1292
- e === "prev" && (Q[S] = X.subtract(
1293
- qe[S],
1294
- r,
1295
- t
1296
- )), e === "next" && (Q[S] = X.add(
1297
- qe[S],
1298
- r,
1299
- t
1300
- )), Q = Ue(
1301
- Q[S],
1302
- h,
1303
- e
1304
- ), Ae(Q);
1305
- }
1306
- function qt(e = h) {
1307
- if (e === "date" || e === "week")
1308
- return {
1309
- onPrev: () => Pe("prev", "month"),
1310
- onNext: () => Pe("next", "month"),
1311
- onSuperPrev: () => Pe("prev", "year"),
1312
- onSuperNext: () => Pe("next", "year")
1313
- };
1314
- if (e === "month" || e === "quarter")
1315
- return {
1316
- onSuperPrev: () => Pe("prev", "year"),
1317
- onSuperNext: () => Pe("next", "year")
1318
- };
1319
- if (e === "year")
1320
- return {
1321
- onSuperPrev: () => Pe("prev", "year", 10),
1322
- onSuperNext: () => Pe("next", "year", 10)
1323
- };
1324
- }
1325
- function Yn() {
1326
- Lt(!lt);
1327
- }
1328
- function Ut(e) {
1329
- const t = ge(
1330
- `${ue}-container`,
1331
- {
1332
- [`${ue}-panel-only`]: e,
1333
- [`${ue}-container-shortcuts-placement-left`]: G(f) && H,
1334
- [`${ue}-container-rtl`]: g
1335
- },
1336
- e ? I : ""
1337
- ), r = {
1338
- prefixCls: d == null ? void 0 : d("picker"),
1339
- showTime: T,
1340
- shortcuts: f,
1341
- onMouseEnterShortcut: Ln,
1342
- onMouseLeaveShortcut: Rn,
1343
- onSelectShortcut: xn
1344
- }, S = T && it[0] === "date" && it[1] === "date" || M || G(f) && f.length && !H, Q = /* @__PURE__ */ Z(ye, { children: [
1345
- /* @__PURE__ */ o(
1346
- io,
1347
- {
1348
- ...s,
1349
- ...qt(),
1350
- getHeaderOperations: qt,
1351
- setRangePageShowDates: Ae,
1352
- pageShowDates: qe,
1353
- value: j,
1354
- format: Y,
1355
- onSelectPanel: Nn,
1356
- onMouseEnterCell: Tn,
1357
- onMouseLeaveCell: Vn,
1358
- disabledDate: (wt) => At(wt),
1359
- disabledTime: J,
1360
- mode: h,
1361
- localeName: a == null ? void 0 : a.dayjsLocale,
1362
- showTime: T,
1363
- timeValues: Vt || Be,
1364
- onTimePickerSelect: Cn,
1365
- popupVisible: ve,
1366
- disabledTimePickerIndex: mn,
1367
- isTimePanel: lt,
1368
- valueShowHover: fn,
1369
- panelModes: it,
1370
- setPanelModes: ct
1371
- }
1372
- ),
1373
- !!S && /* @__PURE__ */ o(
1374
- Gn,
1375
- {
1376
- ...r,
1377
- DATEPICKER_LOCALE: U,
1378
- disabled: !(G(j) && j[0] && j[1]),
1379
- onClickConfirmBtn: bn,
1380
- extra: M,
1381
- shortcutsPlacementLeft: H,
1382
- onClickSelectTimeBtn: Yn,
1383
- isTimePanel: lt
1384
- }
1385
- )
1386
- ] }), Oe = H ? /* @__PURE__ */ Z(ye, { children: [
1387
- /* @__PURE__ */ o(Xn, { ref: de, ...r }),
1388
- /* @__PURE__ */ o("div", { ref: q, className: `${ue}-panel-wrapper`, children: Q })
1389
- ] }) : Q, vt = typeof B == "function" ? B(Oe) : Oe;
1390
- return /* @__PURE__ */ o(
1391
- "div",
1392
- {
1393
- className: t,
1394
- onClick: () => St(),
1395
- style: e ? k : {},
1396
- children: vt
1397
- }
1398
- );
1399
- }
1400
- const In = s.size || i, $n = G(R) ? R : U.placeholders[h], En = V && V.inputSuffix === null ? null : V && V.inputSuffix || (T ? /* @__PURE__ */ o(Hn, {}) : /* @__PURE__ */ o(Mn, {})), An = {
1401
- style: k,
1402
- className: I,
1403
- popupVisible: ve,
1404
- format: Y,
1405
- disabled: v,
1406
- error: x,
1407
- status: W,
1408
- size: In,
1409
- onPressEnter: Dn,
1410
- onClear: Pn,
1411
- suffixIcon: En,
1412
- editable: p,
1413
- allowClear: c,
1414
- prefix: s.prefix
1415
- }, On = G(v) ? v[0] && v[1] : v;
1416
- return /* @__PURE__ */ o(Ye.Provider, { value: { utcOffset: L, timezone: A, weekStart: ne }, children: ae === null ? Ut(!0) : /* @__PURE__ */ o(
1417
- Un,
1418
- {
1419
- popup: Ut,
1420
- trigger: "click",
1421
- clickToClose: !1,
1422
- position: w,
1423
- disabled: On,
1424
- popupAlign: lo,
1425
- getPopupContainer: b,
1426
- onVisibleChange: (e) => {
1427
- e && setTimeout(() => {
1428
- St();
1429
- }), je(!!e);
1430
- },
1431
- popupVisible: ve,
1432
- classNames: "slideDynamicOrigin",
1433
- unmountOnExit: $,
1434
- ...y,
1435
- children: ae || /* @__PURE__ */ o(
1436
- qn,
1437
- {
1438
- ...Jn(s),
1439
- ...An,
1440
- inputProps: Ie,
1441
- ref: _,
1442
- placeholder: $n,
1443
- value: Se || we,
1444
- onChange: yn,
1445
- inputValue: Tt || _e,
1446
- changeFocusedInputIndex: Et,
1447
- focusedInputIndex: ee,
1448
- isPlaceholder: !!Tt,
1449
- separator: le,
1450
- onBlur: kn
1451
- }
1452
- )
1453
- }
1454
- ) });
1455
- }, mo = Wn(uo);
1456
- mo.displayName = "RangePicker";
1457
- export {
1458
- Nt as D,
1459
- Dt as M,
1460
- mo as P,
1461
- sn as Q,
1462
- cn as W,
1463
- He as Y
1464
- };