@unicom-cloud/ui 0.8.72 → 0.8.74

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 (389) hide show
  1. package/Affix.js +3 -3
  2. package/Alert.js +3 -3
  3. package/AutoComplete.js +3 -3
  4. package/BackTop.js +4 -4
  5. package/Badge.js +3 -3
  6. package/Breadcrumb.js +4 -4
  7. package/Button.js +2 -2
  8. package/Calendar.js +3 -3
  9. package/Card.js +2 -2
  10. package/Carousel.js +2 -2
  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 +2 -2
  16. package/ConfigProvider.js +1 -1
  17. package/Copy.js +3 -3
  18. package/DatePicker.js +1 -1
  19. package/Descriptions.js +2 -2
  20. package/Divider.js +2 -2
  21. package/Draggable.js +2 -2
  22. package/Dropdown.js +5 -5
  23. package/Empty.js +2 -2
  24. package/Icon.js +2 -2
  25. package/IconHover.js +2 -2
  26. package/Image.js +1 -1
  27. package/InputNumber.js +2 -2
  28. package/Layout.js +2 -2
  29. package/Link.js +2 -2
  30. package/List.js +3 -3
  31. package/Mentions.js +3 -3
  32. package/Menu.js +1 -1
  33. package/Message.js +7 -6
  34. package/Modal.js +1 -1
  35. package/Notice.js +5 -5
  36. package/Notification.js +8 -7
  37. package/OverflowEllipsis.js +2 -2
  38. package/PageHeader.js +2 -2
  39. package/Popconfirm.js +3 -3
  40. package/Popover.js +3 -3
  41. package/Progress.js +2 -2
  42. package/Radio.js +1 -1
  43. package/Rate.js +3 -3
  44. package/ResizeBox.js +3 -3
  45. package/Result.js +2 -2
  46. package/SelectView.js +5 -4
  47. package/Skeleton.js +2 -2
  48. package/Slider.js +4 -4
  49. package/Space.js +2 -2
  50. package/SpeechSynthesis.js +21 -21
  51. package/Spin.js +3 -3
  52. package/Statistic.js +3 -3
  53. package/Steps.js +2 -2
  54. package/Switch.js +8 -6
  55. package/Table.js +1 -1
  56. package/Tabs.js +1 -1
  57. package/Tag.js +2 -2
  58. package/Tooltip.js +4 -4
  59. package/Transfer.js +3 -3
  60. package/Tree.js +1 -1
  61. package/Trigger.js +9 -8
  62. package/affix/index.js +3 -3
  63. package/alert/index.js +9 -9
  64. package/anchor/Anchor.js +62 -59
  65. package/anchor/Link.js +2 -2
  66. package/anchor/util.js +2 -2
  67. package/auto-complete/index.js +3 -3
  68. package/avatar/Avatar.js +2 -2
  69. package/avatar/Group.js +2 -2
  70. package/back-top/index.js +11 -11
  71. package/badge/Count.js +7 -7
  72. package/badge/index.js +52 -50
  73. package/breadcrumb/Item.js +6 -6
  74. package/breadcrumb/index.js +4 -4
  75. package/button/Group.js +2 -2
  76. package/button/index.js +2 -2
  77. package/calendar/Month.js +2 -2
  78. package/calendar/Year.js +1 -1
  79. package/calendar/index.js +4 -4
  80. package/card/Grid.js +5 -5
  81. package/card/Meta.js +4 -4
  82. package/card/index.js +2 -2
  83. package/carousel/Arrow.js +2 -2
  84. package/carousel/Indicator.js +6 -6
  85. package/carousel/index.js +2 -2
  86. package/cascader/Cascader.js +5 -5
  87. package/cascader/index.js +1 -1
  88. package/cascader/util.js +1 -1
  89. package/checkbox/Checkbox.js +4 -4
  90. package/checkbox/Group.js +4 -4
  91. package/checkbox/index.js +1 -1
  92. package/chunk/{6nKl68Er.js → 9we0Q8Kh.js} +4 -4
  93. package/chunk/{b1e8awfs.js → B0n0iRhF.js} +1 -1
  94. package/chunk/{Cf4qn5jY.js → BDZpJpz-.js} +3 -3
  95. package/chunk/BFmckYou.js +25 -0
  96. package/chunk/{fFjj2KuF.js → BJ9_azwQ.js} +493 -515
  97. package/chunk/{BnWo0OJ0.js → Bd9zhOZS.js} +9 -9
  98. package/chunk/{uKZyjtff.js → BhBEMwvI.js} +21 -20
  99. package/chunk/{Bfq4YEcr.js → Bmvhjhzq.js} +9 -8
  100. package/chunk/{CdAuhef7.js → BoUHPeG7.js} +2 -2
  101. package/chunk/BpYX5PN4.js +27 -0
  102. package/chunk/{CP7Ac47f.js → Bu8A2l60.js} +4 -4
  103. package/chunk/{URXCKjXr.js → C0pRaDCf.js} +23 -23
  104. package/chunk/CUFsOxJ2.js +10 -0
  105. package/chunk/CWjvjpyc.js +873 -0
  106. package/chunk/{ClaNycDy.js → Cc_-i0o_.js} +2 -2
  107. package/chunk/Coz3rCng.js +33 -0
  108. package/chunk/{BHL-PzAD.js → CplLA01W.js} +17 -17
  109. package/chunk/{Cgbja_v_.js → Crs3isAx.js} +14 -13
  110. package/chunk/{Ey4YJCkX.js → D0Dlbc2g.js} +2 -1
  111. package/chunk/{y9unmTx_.js → D5UfU6-H.js} +127 -127
  112. package/chunk/DAAff-FT.js +59 -0
  113. package/chunk/{rp1MtSd0.js → DJ8rDYjb.js} +4 -4
  114. package/chunk/{AwZqeapI.js → DRTWRsgI.js} +1 -1
  115. package/chunk/DU1RCDfh.js +29 -0
  116. package/chunk/{CAVVFFyZ.js → DdT3C0ih.js} +6 -8
  117. package/chunk/{CdaT1b_F.js → DeV0v__J.js} +2 -2
  118. package/chunk/{IUjEMHU1.js → Dn7KbmZ7.js} +194 -191
  119. package/chunk/{DpoumMDw.js → DohlrJ4S.js} +1 -1
  120. package/chunk/{BDHuWwhT.js → NmSLBKjp.js} +3 -3
  121. package/chunk/{DV7ywe_q.js → RS6OAxzv.js} +2 -2
  122. package/chunk/{Biupwn8l.js → ZrBrCzQX.js} +6 -5
  123. package/chunk/_L2dKF58.js +647 -0
  124. package/chunk/{BJ1soa2K.js → uEGHykhe.js} +18 -18
  125. package/chunk/{D090jlwP.js → xAb6ZgqS.js} +1 -1
  126. package/collapse/Collapse.js +4 -4
  127. package/collapse/Item.js +4 -4
  128. package/collapse/index.js +1 -1
  129. package/color-picker/ControlBar.js +2 -2
  130. package/color-picker/InputAlpha.js +1 -1
  131. package/color-picker/InputHex.js +8 -8
  132. package/color-picker/InputRgb.js +6 -6
  133. package/color-picker/Palette.js +2 -2
  134. package/color-picker/Panel.js +17 -17
  135. package/color-picker/colors.js +20 -9
  136. package/color-picker/index.js +21 -21
  137. package/color-picker/utils.js +1 -1
  138. package/comment/index.js +6 -6
  139. package/config-provider/ConfigProvider.js +2 -2
  140. package/config-provider/context.js +1 -1
  141. package/config-provider/index.js +2 -2
  142. package/copy/index.js +16 -16
  143. package/date-picker/Picker.js +2 -2
  144. package/date-picker/PickerRange.js +3 -3
  145. package/date-picker/index.js +1 -1
  146. package/descriptions/index.js +3 -3
  147. package/divider/index.js +5 -5
  148. package/draggable/Item.js +1 -1
  149. package/draggable/index.js +9 -9
  150. package/drawer/Drawer.js +122 -112
  151. package/dropdown/Button.js +1 -1
  152. package/dropdown/index.js +5 -5
  153. package/empty/index.js +2 -2
  154. package/form/Control.js +1 -1
  155. package/form/Form.js +3 -3
  156. package/form/FormItem.js +3 -3
  157. package/form/FormLabel.js +9 -9
  158. package/form/promisify.js +9 -8
  159. package/form/store.js +1 -1
  160. package/form/util.js +1 -1
  161. package/grid/Col.js +2 -2
  162. package/grid/Row.js +3 -3
  163. package/grid/grid-item.js +3 -3
  164. package/grid/grid.js +9 -9
  165. package/hooks/index.js +5 -5
  166. package/hooks/useInView.js +1 -1
  167. package/hooks/useIntersectionObserver.js +1 -1
  168. package/hooks/useMergeValue.js +1 -1
  169. package/hooks/useOverflowHidden.js +1 -1
  170. package/hooks/useOverrideRef.js +1 -1
  171. package/hooks/useVerificationCode.js +2 -2
  172. package/icon/index.js +11 -11
  173. package/icon-hover/index.js +2 -2
  174. package/image/Image.js +6 -6
  175. package/image/ImageFooter.js +2 -2
  176. package/image/ImagePreview.js +10 -10
  177. package/image/ImagePreviewArrow.js +4 -4
  178. package/image/ImagePreviewGroup.js +2 -2
  179. package/image/ImagePreviewToolbar.js +1 -1
  180. package/image/TriggerForToolbar.js +4 -4
  181. package/image/index.js +1 -1
  182. package/index.js +585 -575
  183. package/input/Group.js +4 -4
  184. package/input/Input.js +5 -4
  185. package/input/InputElement.js +4 -4
  186. package/input/Password.js +3 -3
  187. package/input/Search.js +3 -3
  188. package/input/Textarea.js +7 -6
  189. package/input-number/index.js +2 -2
  190. package/input-tag/InputTag.js +53 -51
  191. package/layout/Content.js +2 -2
  192. package/layout/Footer.js +5 -5
  193. package/layout/Header.js +4 -4
  194. package/layout/Sider.js +4 -4
  195. package/layout/index.js +2 -2
  196. package/link/index.js +5 -5
  197. package/list/Item.js +2 -2
  198. package/list/Meta.js +4 -4
  199. package/list/index.js +3 -3
  200. package/locale/en-US.js +1 -1
  201. package/locale/tr-TR.js +1 -1
  202. package/mentions/index.js +3 -3
  203. package/menu/Item.js +6 -6
  204. package/menu/ItemGroup.js +1 -1
  205. package/menu/Menu.js +4 -4
  206. package/menu/OverflowWrap.js +2 -2
  207. package/menu/index.js +2 -2
  208. package/message/index.js +7 -6
  209. package/message/useMessage.js +1 -1
  210. package/modal/Confirm.js +2 -2
  211. package/modal/Modal.js +9 -8
  212. package/modal/index.js +1 -1
  213. package/notice/index.js +5 -5
  214. package/notification/index.js +8 -7
  215. package/notification/useNotification.js +1 -1
  216. package/overflow-ellipsis/OverflowItem.js +6 -6
  217. package/overflow-ellipsis/index.js +8 -8
  218. package/package.json +1 -1
  219. package/page-header/index.js +2 -2
  220. package/pagination/PageItem.js +2 -2
  221. package/pagination/PageJumper.js +1 -1
  222. package/pagination/PageOption.js +1 -1
  223. package/pagination/Pagination.js +24 -24
  224. package/picker/Input.js +7 -7
  225. package/picker/InputRange.js +9 -9
  226. package/popconfirm/index.js +3 -3
  227. package/popover/index.js +3 -3
  228. package/progress/CircleProgress.js +7 -7
  229. package/progress/LineProgess.js +1 -1
  230. package/progress/StepProgress.js +7 -7
  231. package/progress/index.js +8 -8
  232. package/radio/Group.js +4 -4
  233. package/radio/Radio.js +4 -4
  234. package/radio/index.js +2 -2
  235. package/rate/index.js +27 -27
  236. package/resize-box/ResizeTrigger.js +26 -25
  237. package/resize-box/Split.js +12 -12
  238. package/resize-box/SplitGroup.js +2 -2
  239. package/resize-box/index.js +3 -3
  240. package/result/index.js +9 -9
  241. package/select/Option.js +2 -2
  242. package/select/Select.js +6 -5
  243. package/select/util.js +12 -12
  244. package/select-view/Core.js +29 -29
  245. package/select-view/index.js +3 -2
  246. package/skeleton/Image.js +4 -4
  247. package/skeleton/Text.js +7 -7
  248. package/skeleton/index.js +2 -2
  249. package/slider/Button.js +3 -3
  250. package/slider/Dot.js +5 -5
  251. package/slider/Input.js +12 -12
  252. package/slider/Tick.js +7 -7
  253. package/slider/index.js +20 -20
  254. package/slider/util.js +8 -8
  255. package/space/index.js +12 -12
  256. package/speech-synthesis/index.js +21 -21
  257. package/spin/DotLoading.js +1 -1
  258. package/spin/index.js +3 -3
  259. package/statistic/Countdown.js +7 -7
  260. package/statistic/index.js +20 -20
  261. package/steps/Step.js +1 -1
  262. package/steps/index.js +2 -2
  263. package/style/variables.less +1 -1
  264. package/style.css +1 -1
  265. package/switch/index.js +17 -15
  266. package/table/Table.js +4 -4
  267. package/table/index.js +4 -4
  268. package/tabs/Tab.js +4 -4
  269. package/tabs/TabContent.js +3 -3
  270. package/tabs/TabPane.js +2 -2
  271. package/tabs/index.js +2 -2
  272. package/tag/index.js +6 -6
  273. package/time-picker/Picker.js +2 -2
  274. package/time-picker/TimeColumn.js +7 -7
  275. package/time-picker/TimePicker.js +23 -23
  276. package/time-picker/util.js +5 -5
  277. package/timeline/Item.js +2 -2
  278. package/timeline/Timeline.js +2 -2
  279. package/tooltip/index.js +4 -4
  280. package/transfer/Item.js +3 -3
  281. package/transfer/List.js +3 -3
  282. package/transfer/index.js +3 -3
  283. package/tree/Animation.js +3 -3
  284. package/tree/Node.js +4 -4
  285. package/tree/NodeList.js +2 -2
  286. package/tree/Tree.js +4 -4
  287. package/tree/index.js +1 -1
  288. package/tree-select/Select.js +25 -25
  289. package/trigger/getPopupStyle.js +2 -2
  290. package/trigger/index.js +8 -7
  291. package/types/badge/interface.d.ts +1 -0
  292. package/types/color-picker/colors.d.ts +1 -1
  293. package/types/date-picker/util.d.ts +1 -1
  294. package/types/drawer/interface.d.ts +10 -0
  295. package/types/index.d.ts +0 -7
  296. package/types/modal/Confirm.d.ts +1 -0
  297. package/types/utils/PqbCSSTransition.d.ts +3 -0
  298. package/types/utils/caseName.d.ts +1 -0
  299. package/types/utils/className.d.ts +1 -0
  300. package/types/utils/color.d.ts +1 -0
  301. package/types/utils/computeScrollIntoView.d.ts +1 -0
  302. package/types/utils/contextHolder.d.ts +1 -0
  303. package/types/utils/copy.d.ts +1 -0
  304. package/types/utils/fileToURL.d.ts +1 -0
  305. package/types/utils/fillNBSP.d.ts +1 -0
  306. package/types/utils/getHighlightText.d.ts +1 -0
  307. package/types/utils/getHotkeyHandler.d.ts +1 -0
  308. package/types/utils/getStringLength.d.ts +1 -0
  309. package/types/utils/include.d.ts +1 -0
  310. package/types/utils/index.d.ts +29 -25
  311. package/types/utils/is.d.ts +1 -1
  312. package/types/utils/keyboardCode.d.ts +1 -0
  313. package/types/utils/math.d.ts +1 -0
  314. package/types/utils/mergeProps.d.ts +1 -0
  315. package/types/utils/mergedToString.d.ts +1 -0
  316. package/types/utils/names.d.ts +497 -81
  317. package/types/utils/omit.d.ts +1 -0
  318. package/types/utils/pick.d.ts +1 -1
  319. package/types/utils/reactTransitionGroup.d.ts +1 -0
  320. package/types/utils/responsiveObserve.d.ts +1 -0
  321. package/types/utils/saveAs.d.ts +1 -0
  322. package/types/utils/screenfull.d.ts +1 -0
  323. package/types/utils/scrollIntoView.d.ts +1 -0
  324. package/types/utils/tinycolor.d.ts +1 -0
  325. package/types/utils/tree.d.ts +1 -0
  326. package/types/utils/tween.d.ts +1 -0
  327. package/types/utils/uuid.d.ts +1 -0
  328. package/types/utils/validate.d.ts +1 -0
  329. package/types/version/index.d.ts +1 -1
  330. package/typography/Base.js +7 -6
  331. package/typography/EditContent.js +1 -1
  332. package/typography/Ellipsis.js +28 -28
  333. package/typography/Paragraph.js +6 -6
  334. package/typography/Typography.js +5 -5
  335. package/typography/index.js +28 -28
  336. package/upload/TriggerNode.js +2 -2
  337. package/upload/Upload.js +62 -60
  338. package/upload/Uploader.js +21 -21
  339. package/upload/request_.js +4 -3
  340. package/utils/PqbCSSTransition.js +5 -0
  341. package/utils/caseName.js +3 -2
  342. package/utils/className.js +3 -2
  343. package/utils/color.js +4 -0
  344. package/utils/computeScrollIntoView.js +128 -0
  345. package/utils/contextHolder.js +3 -2
  346. package/utils/copy.js +4 -2
  347. package/utils/fileToURL.js +3 -2
  348. package/utils/fillNBSP.js +2 -1
  349. package/utils/getHighlightText.js +2 -1
  350. package/utils/getHotkeyHandler.js +2 -1
  351. package/utils/getStringLength.js +2 -1
  352. package/utils/include.js +2 -1
  353. package/utils/index.js +299 -256
  354. package/utils/is.js +104 -101
  355. package/utils/keyboardCode.js +2 -1
  356. package/utils/math.js +35 -0
  357. package/utils/mergeProps.js +2 -1
  358. package/utils/mergedToString.js +2 -1
  359. package/utils/names.js +332 -81
  360. package/utils/omit.js +2 -1
  361. package/utils/pick.js +1 -0
  362. package/utils/react19Adapter.js +1 -1
  363. package/utils/reactDOM.js +1 -1
  364. package/utils/reactTransitionGroup.js +10 -0
  365. package/utils/responsiveObserve.js +2 -1
  366. package/utils/saveAs.js +3 -2
  367. package/utils/screenfull.js +2 -1
  368. package/utils/scrollIntoView.js +4 -2
  369. package/utils/tinycolor.js +30 -0
  370. package/utils/tree.js +87 -0
  371. package/utils/tween.js +6 -0
  372. package/utils/uuid.js +5 -0
  373. package/utils/validate.js +7 -0
  374. package/verification-code/VerificationCode.js +7 -7
  375. package/version/index.js +3 -3
  376. package/virtual-list/VirtualList.js +1 -1
  377. package/watermark/Watermark.js +6 -6
  378. package/chunk/B4JiMp8I.js +0 -764
  379. package/chunk/B6X4lnd0.js +0 -116
  380. package/chunk/BibHFOCF.js +0 -34
  381. package/chunk/CTxjmYmx.js +0 -19
  382. package/chunk/CVYWxu00.js +0 -155
  383. package/chunk/CbLaCJmG.js +0 -26
  384. package/chunk/D-TPB2Do.js +0 -56
  385. package/chunk/DVfOiRp-.js +0 -629
  386. package/chunk/DxxOUMSa.js +0 -98
  387. package/chunk/JPPo5nY_.js +0 -9
  388. package/types/utils/CSSTransition.d.ts +0 -2
  389. package/utils/CSSTransition.js +0 -4
@@ -1,8 +1,8 @@
1
1
  import { Component as n } from "react";
2
2
  import a, { findDOMNode as f } from "react-dom";
3
- import { h as u } from "./D-TPB2Do.js";
3
+ import { g as u } from "./DAAff-FT.js";
4
4
  import s from "../utils/warning.js";
5
- import "./URXCKjXr.js";
5
+ import "./C0pRaDCf.js";
6
6
  import i from "lodash/isFunction.js";
7
7
  const p = a;
8
8
  let c;
@@ -0,0 +1,33 @@
1
+ import { compute as r } from "../utils/computeScrollIntoView.js";
2
+ const f = (t) => t === Object(t) && Object.keys(t).length !== 0, p = (t) => typeof t == "object" ? typeof t.behavior == "function" : !1, d = (t) => t === !1 ? { block: "end", inline: "nearest" } : f(t) ? t : { block: "start", inline: "nearest" }, u = (t) => {
3
+ const o = window.getComputedStyle(t);
4
+ return {
5
+ top: parseFloat(o.scrollMarginTop) || 0,
6
+ right: parseFloat(o.scrollMarginRight) || 0,
7
+ bottom: parseFloat(o.scrollMarginBottom) || 0,
8
+ left: parseFloat(o.scrollMarginLeft) || 0
9
+ };
10
+ }, b = (t) => {
11
+ let o = t;
12
+ for (; o && o.parentNode; ) {
13
+ if (o.parentNode === document)
14
+ return !0;
15
+ o.parentNode instanceof ShadowRoot ? o = o.parentNode.host : o = o.parentNode;
16
+ }
17
+ return !1;
18
+ };
19
+ function g(t, o) {
20
+ if (!t.isConnected || !b(t))
21
+ return;
22
+ const e = u(t);
23
+ if (p(o))
24
+ return o.behavior(r(t, o));
25
+ const n = typeof o == "boolean" || o == null ? void 0 : o.behavior;
26
+ for (const { el: l, top: a, left: i } of r(t, d(o))) {
27
+ const s = a - e.top + e.bottom, c = i - e.left + e.right;
28
+ l.scroll({ top: s, left: c, behavior: n });
29
+ }
30
+ }
31
+ export {
32
+ g as p
33
+ };
@@ -1,12 +1,12 @@
1
- import { H as c, z as x, G as w } from "./URXCKjXr.js";
1
+ import { g as c, y as x, S as w } from "./C0pRaDCf.js";
2
2
  import b from "lodash/isObject.js";
3
3
  import p from "lodash/isArray.js";
4
4
  import M from "lodash/isString.js";
5
5
  import _ from "lodash/isNumber.js";
6
6
  import E from "lodash/isEqual.js";
7
7
  import O from "lodash/isBoolean.js";
8
- import z from "lodash/isFunction.js";
9
- const S = {
8
+ import S from "lodash/isFunction.js";
9
+ const k = {
10
10
  required: "#{field} 是必填项",
11
11
  type: {
12
12
  string: "#{field} 不是合法的文本类型",
@@ -60,7 +60,7 @@ const S = {
60
60
  ...n
61
61
  } : n || s;
62
62
  }), e;
63
- }, k = (r, t) => {
63
+ }, z = (r, t) => {
64
64
  const e = t.split(".");
65
65
  let i = r;
66
66
  for (let s = 0; s < e.length; s++)
@@ -77,8 +77,8 @@ class m {
77
77
  value: this.obj,
78
78
  field: this.field,
79
79
  type: this.type
80
- }, a = k(this.validateMessages, i);
81
- return z(a) ? a(n) : M(a) ? a.replace(/#\{.+?\}/g, (g) => {
80
+ }, a = z(this.validateMessages, i);
81
+ return S(a) ? a(n) : M(a) ? a.replace(/#\{.+?\}/g, (g) => {
82
82
  const d = g.slice(2, -1);
83
83
  if (d in n) {
84
84
  if (b(n[d]) || p(n[d]))
@@ -92,7 +92,7 @@ class m {
92
92
  return g;
93
93
  }) : a;
94
94
  }), b(e) && M(t) && e.trim ? this.obj = t.trim() : b(e) && e.ignoreEmptyString && t === "" ? this.obj = void 0 : this.obj = t, this.message = e.message, this.type = e.type, this.error = null, this.field = e.field || e.type, this.validateMessages = V(
95
- S,
95
+ k,
96
96
  e.validateMessages
97
97
  );
98
98
  }
@@ -271,7 +271,7 @@ class D extends m {
271
271
  return c(this.obj) ? this : this.validate(this.obj < 0, this.getValidateMsg("number.negative"));
272
272
  }
273
273
  }
274
- class H extends m {
274
+ class I extends m {
275
275
  constructor(t, e) {
276
276
  super(t, {
277
277
  ...e,
@@ -300,7 +300,7 @@ class H extends m {
300
300
  );
301
301
  }
302
302
  }
303
- class I extends m {
303
+ class T extends m {
304
304
  constructor(t, e) {
305
305
  super(t, {
306
306
  ...e,
@@ -348,11 +348,11 @@ class I extends m {
348
348
  ) : this;
349
349
  }
350
350
  }
351
- const T = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, Z = new RegExp(
351
+ const Z = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, A = new RegExp(
352
352
  "^(?!mailto:)(?:(?:http|https|ftp)://)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$",
353
353
  "i"
354
- ), $ = /^(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})(\.(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})){3}$/;
355
- class A extends m {
354
+ ), U = /^(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})(\.(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})){3}$/;
355
+ class $ extends m {
356
356
  constructor(t, e) {
357
357
  super(t, {
358
358
  ...e,
@@ -361,19 +361,19 @@ class A extends m {
361
361
  }
362
362
  get email() {
363
363
  return this.type = "email", this.validate(
364
- this.obj === void 0 || T.test(this.obj),
364
+ this.obj === void 0 || Z.test(this.obj),
365
365
  this.getValidateMsg("type.email")
366
366
  );
367
367
  }
368
368
  get url() {
369
369
  return this.type = "url", this.validate(
370
- this.obj === void 0 || Z.test(this.obj),
370
+ this.obj === void 0 || A.test(this.obj),
371
371
  this.getValidateMsg("type.url")
372
372
  );
373
373
  }
374
374
  get ip() {
375
375
  return this.type = "ip", this.validate(
376
- this.obj === void 0 || $.test(this.obj),
376
+ this.obj === void 0 || U.test(this.obj),
377
377
  this.getValidateMsg("type.ip")
378
378
  );
379
379
  }
@@ -394,7 +394,7 @@ class q {
394
394
  e.validateMessages
395
395
  )
396
396
  };
397
- this.string = new I(t, s), this.number = new D(t, s), this.array = new R(t, s), this.object = new H(t, s), this.boolean = new K(t, s), this.type = new A(t, s), this.custom = new P(t, s);
397
+ this.string = new T(t, s), this.number = new D(t, s), this.array = new R(t, s), this.object = new I(t, s), this.boolean = new K(t, s), this.type = new $(t, s), this.custom = new P(t, s);
398
398
  }
399
399
  }
400
400
  class X {
@@ -460,6 +460,6 @@ class X {
460
460
  }
461
461
  export {
462
462
  X as H,
463
- S as e,
463
+ k as e,
464
464
  f as m
465
465
  };
@@ -1,13 +1,13 @@
1
1
  import Q, { forwardRef as Z, useContext as D, createContext as He, useRef as k, useImperativeHandle as ee, useEffect as I, useMemo as De, useState as Se } from "react";
2
2
  import { jsx as r, jsxs as G, Fragment as fe } from "react/jsx-runtime";
3
3
  import W from "@unicom-cloud/icons/context";
4
- import { n as Ue } from "./B4JiMp8I.js";
4
+ import { a as Ue } from "./CWjvjpyc.js";
5
5
  import Fe from "lodash/isPlainObject";
6
6
  import { u as te } from "./BFTV6myl.js";
7
- import { b as me, P as pe } from "./fFjj2KuF.js";
7
+ import { b as me } from "./BJ9_azwQ.js";
8
8
  import _ from "lodash/isNumber";
9
9
  import H from "lodash/isUndefined";
10
- import { createRoot as Ce } from "react-dom/client";
10
+ import { createRoot as pe } from "react-dom/client";
11
11
  import Le from "@unicom-cloud/icons/IconUiCheckCircleFill";
12
12
  import de from "@unicom-cloud/icons/IconUiClose";
13
13
  import Ae from "@unicom-cloud/icons/IconUiCloseCircleFill";
@@ -15,17 +15,18 @@ import ze from "@unicom-cloud/icons/IconUiExclamationCircleFill";
15
15
  import Ge from "@unicom-cloud/icons/IconUiInfoCircleFill";
16
16
  import Qe from "@unicom-cloud/icons/IconUiLoading";
17
17
  import Be from "@unicom-cloud/icons/IconUiEmpty";
18
- import { m as U } from "./JPPo5nY_.js";
18
+ import { p as U } from "./CUFsOxJ2.js";
19
19
  import Je from "../locale/zh-CN.js";
20
20
  import "lodash/isEqualWith";
21
- import "./D-TPB2Do.js";
21
+ import "./DAAff-FT.js";
22
22
  import "lodash/merge";
23
23
  import "../utils/dom.js";
24
- import "./Biupwn8l.js";
25
- import "./ClaNycDy.js";
24
+ import "./ZrBrCzQX.js";
25
+ import "./Cc_-i0o_.js";
26
26
  import "./Ce1j9KTi.js";
27
27
  import "lodash/debounce";
28
28
  import { createPortal as Ke } from "react-dom";
29
+ import { P as Ce } from "./BpYX5PN4.js";
29
30
  import ge from "../notification/withNotification.js";
30
31
  import Ve from "lodash/isString";
31
32
  import { setConfigProviderProps as We } from "../modal/config.js";
@@ -329,7 +330,7 @@ function it(e) {
329
330
  e.clear();
330
331
  }), []);
331
332
  const b = /* @__PURE__ */ r("div", { className: f, children: /* @__PURE__ */ r(me, { component: null, children: c.map((m) => /* @__PURE__ */ r(
332
- pe,
333
+ Ce,
333
334
  {
334
335
  timeout: {
335
336
  enter: 400,
@@ -400,7 +401,7 @@ $.addInstance = (e) => {
400
401
  }
401
402
  if (t === null && A.push(e), t === void 0) {
402
403
  const c = document.createElement("div");
403
- (X || document.body).appendChild(c), Ce(c).render(
404
+ (X || document.body).appendChild(c), pe(c).render(
404
405
  /* @__PURE__ */ r(
405
406
  $,
406
407
  {
@@ -507,7 +508,7 @@ function ct(e) {
507
508
  `${g}-wrapper-${d}`
508
509
  );
509
510
  return /* @__PURE__ */ r("div", { className: m, children: /* @__PURE__ */ r(me, { component: null, children: l.map((n) => /* @__PURE__ */ r(
510
- pe,
511
+ Ce,
511
512
  {
512
513
  timeout: b,
513
514
  classNames: o || "fadeMessage",
@@ -570,7 +571,7 @@ E.addInstance = (e) => {
570
571
  }
571
572
  if (l === null && z.push(e), l === void 0) {
572
573
  const s = document.createElement("div");
573
- (Y || document.body).appendChild(s), Ce(s).render(
574
+ (Y || document.body).appendChild(s), pe(s).render(
574
575
  /* @__PURE__ */ r(
575
576
  E,
576
577
  {
@@ -678,7 +679,7 @@ function ne(e) {
678
679
  }
679
680
  ne.ConfigContext = R;
680
681
  ne.displayName = "ConfigProvider";
681
- const zt = R.Consumer;
682
+ const Gt = R.Consumer;
682
683
  function Me(e, o) {
683
684
  const t = D(R), [u, c] = Se([]);
684
685
  function i(s) {
@@ -704,7 +705,7 @@ function Me(e, o) {
704
705
  Me.displayName = "ContextHolderElement";
705
706
  const ke = Z(Me);
706
707
  export {
707
- zt as C,
708
+ Gt as C,
708
709
  xe as D,
709
710
  Ze as E,
710
711
  ue as I,
@@ -1,3 +1,4 @@
1
+ import "./C0pRaDCf.js";
1
2
  import r from "lodash/isString.js";
2
3
  function n() {
3
4
  return new DOMException("The request is not allowed", "NotAllowedError");
@@ -36,5 +37,5 @@ async function s(t) {
36
37
  }
37
38
  }
38
39
  export {
39
- s
40
+ s as p
40
41
  };