@unicom-cloud/ui 0.8.65 → 0.8.67

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 (358) hide show
  1. package/Affix.js +79 -79
  2. package/Alert.js +46 -46
  3. package/Anchor.js +1 -1
  4. package/AutoComplete.js +74 -74
  5. package/Avatar.js +36 -36
  6. package/BackTop.js +35 -35
  7. package/Badge.js +55 -55
  8. package/Breadcrumb.js +42 -42
  9. package/Button.js +24 -24
  10. package/Calendar.js +230 -230
  11. package/Card.js +18 -18
  12. package/Carousel.js +165 -165
  13. package/Cascader.js +1 -1
  14. package/Checkbox.js +1 -1
  15. package/Collapse.js +1 -1
  16. package/ColorPicker.js +26 -26
  17. package/Comment.js +18 -18
  18. package/ConfigProvider.js +2 -2
  19. package/Copy.js +28 -27
  20. package/DatePicker.js +872 -871
  21. package/Descriptions.js +34 -34
  22. package/Divider.js +19 -19
  23. package/Draggable.js +27 -26
  24. package/Drawer.js +1 -1
  25. package/Dropdown.js +110 -110
  26. package/Empty.js +3 -3
  27. package/Form.js +984 -945
  28. package/Grid.js +34 -34
  29. package/Icon.js +16 -16
  30. package/IconHover.js +2 -2
  31. package/Image.js +2 -2
  32. package/Input.js +7 -6
  33. package/InputNumber.js +6 -6
  34. package/InputTag.js +1 -1
  35. package/Layout.js +24 -24
  36. package/Link.js +30 -30
  37. package/List.js +95 -95
  38. package/Mentions.js +85 -84
  39. package/Menu.js +2 -2
  40. package/Message.js +7 -6
  41. package/Modal.js +1 -1
  42. package/Notice.js +14 -3
  43. package/Notification.js +9 -7
  44. package/OverflowEllipsis.js +64 -62
  45. package/PageHeader.js +73 -73
  46. package/Pagination.js +1 -1
  47. package/Picker.js +1 -1
  48. package/Popconfirm.js +60 -60
  49. package/Popover.js +31 -31
  50. package/Portal.js +23 -31
  51. package/Progress.js +22 -22
  52. package/Radio.js +2 -2
  53. package/Rate.js +24 -24
  54. package/ResizeBox.js +274 -271
  55. package/Result.js +3 -3
  56. package/Select.js +4 -4
  57. package/SelectView.js +257 -237
  58. package/Skeleton.js +46 -46
  59. package/Slider.js +286 -283
  60. package/Space.js +28 -28
  61. package/SpeechSynthesis.js +62 -55
  62. package/Spin.js +23 -23
  63. package/Statistic.js +80 -80
  64. package/Steps.js +67 -67
  65. package/Switch.js +47 -47
  66. package/Table.js +1463 -1395
  67. package/Tabs.js +5 -5
  68. package/Tag.js +45 -45
  69. package/TimePicker.js +154 -154
  70. package/Timeline.js +2 -2
  71. package/Tooltip.js +80 -79
  72. package/Transfer.js +103 -102
  73. package/Tree.js +3 -2
  74. package/TreeSelect.js +2 -2
  75. package/Trigger.js +699 -772
  76. package/Typography.js +756 -6
  77. package/Upload.js +2 -2
  78. package/VerificationCode.js +1 -1
  79. package/Version.js +1 -1
  80. package/VirtualList.js +1 -1
  81. package/Watermark.js +1 -1
  82. package/chunk/{DIx0qmCq.js → -UuKKT0Z.js} +29 -29
  83. package/chunk/{B8QV6E2b.js → AwZqeapI.js} +5 -5
  84. package/chunk/B5gK1Idp.js +19 -0
  85. package/chunk/B7FlazNB.js +24 -0
  86. package/chunk/{DXZEpA3t.js → BBvWDeuZ.js} +67 -67
  87. package/chunk/BCftTxEy.js +626 -0
  88. package/chunk/{CsbCHnFk.js → BGny4zSb.js} +60 -60
  89. package/chunk/BHF15Dog.js +98 -0
  90. package/chunk/BJQ5UNa-.js +1585 -0
  91. package/chunk/BP9sYyk9.js +8 -0
  92. package/chunk/BUdtVdnv.js +38 -0
  93. package/chunk/BVQlOzTS.js +11 -0
  94. package/chunk/B__a_gb_.js +519 -0
  95. package/chunk/BbEYToV1.js +10 -0
  96. package/chunk/BbdDQAnm.js +15 -0
  97. package/chunk/BdUcgWdu.js +11 -0
  98. package/chunk/BfbXSG70.js +26 -0
  99. package/chunk/BndfNLK4.js +186 -0
  100. package/chunk/BoMCZV6K.js +1098 -0
  101. package/chunk/Br0B6y1T.js +18 -0
  102. package/chunk/BrOW642m.js +130 -0
  103. package/chunk/BxUs8_Cr.js +9 -0
  104. package/chunk/{DK4KcodH.js → C42LIMP9.js} +244 -242
  105. package/chunk/C4YkFMzC.js +778 -0
  106. package/chunk/{CF6p9R93.js → C9Wcraj7.js} +21 -21
  107. package/chunk/{4-gvEY5y.js → CANgSlh3.js} +10 -10
  108. package/chunk/CJ_o9tZM.js +5 -0
  109. package/chunk/{Bqk6yh16.js → CK5m7rLl.js} +36 -36
  110. package/chunk/{CANaGbGR.js → CKNyIitu.js} +57 -56
  111. package/chunk/CLiqJm_T.js +10 -0
  112. package/chunk/{DjtWv6Wn.js → CNmmhbCn.js} +32 -32
  113. package/chunk/{BUCEs557.js → CP0odX99.js} +51 -51
  114. package/chunk/CPT-OZH2.js +14 -0
  115. package/chunk/CVSF8p0O.js +698 -0
  116. package/chunk/C_agcwLN.js +31 -0
  117. package/chunk/{DTjcKyDN.js → C_gJWGGh.js} +201 -201
  118. package/chunk/{CPcm9Cm5.js → CaasmWg_.js} +11 -11
  119. package/chunk/Ce1j9KTi.js +6 -0
  120. package/chunk/{D_-UD4vO.js → Cf5QNhkG.js} +18 -18
  121. package/chunk/CkNSv2U7.js +56 -0
  122. package/chunk/Cp2f70gB.js +9 -0
  123. package/chunk/CpegYjdC.js +16 -0
  124. package/chunk/CucI3KZr.js +20 -0
  125. package/chunk/CwoFBTYz.js +11 -0
  126. package/chunk/D2KPqPhV.js +17 -0
  127. package/chunk/D7NyvE5f.js +17 -0
  128. package/chunk/D8oTPQ2H.js +384 -0
  129. package/chunk/{CLBavO5c.js → DC1iHEiy.js} +87 -87
  130. package/chunk/{Dnycc1qJ.js → DFrfrmfK.js} +120 -119
  131. package/chunk/DGTIZ_0O.js +6 -0
  132. package/chunk/DJfpiZn_.js +25 -0
  133. package/chunk/DKr2_PYd.js +34 -0
  134. package/chunk/DNUz6zgo.js +11 -0
  135. package/chunk/DRtM649q.js +11 -0
  136. package/chunk/DS_mUWn6.js +41 -0
  137. package/chunk/DU6bs_19.js +10 -0
  138. package/chunk/DWdbwz22.js +10 -0
  139. package/chunk/DcveZuqd.js +6 -0
  140. package/chunk/DdVFknul.js +24 -0
  141. package/chunk/DgRfikwe.js +16 -0
  142. package/chunk/{DG-epQqF.js → DkyR2EfG.js} +66 -66
  143. package/chunk/{DUeHQKtx.js → DleQ5HwG.js} +42 -42
  144. package/chunk/DnrZEnQ_.js +27 -0
  145. package/chunk/DsRSHWtX.js +1025 -0
  146. package/chunk/Dz5BdmXo.js +270 -0
  147. package/chunk/EANe01DF.js +1030 -0
  148. package/chunk/{CwhPMMWy.js → Ey4YJCkX.js} +7 -7
  149. package/chunk/GoNx5R4F.js +873 -0
  150. package/chunk/HDUQku8d.js +20 -0
  151. package/chunk/HrAP__Hi.js +25 -0
  152. package/chunk/JPPo5nY_.js +9 -0
  153. package/chunk/{CIlGCedk.js → SLWP34OR.js} +90 -85
  154. package/chunk/VVKtwaGf.js +278 -0
  155. package/chunk/WPNpLxSI.js +16 -0
  156. package/chunk/{DLvMA1OW.js → WpO_DsK4.js} +49 -48
  157. package/chunk/fdU3ang6.js +14 -0
  158. package/chunk/{DqFhzTWC.js → fkclKOAL.js} +298 -292
  159. package/chunk/flvYlqx3.js +22 -0
  160. package/chunk/kTDayEpF.js +288 -0
  161. package/chunk/{DQDkV47j.js → pZoNQ75H.js} +31 -31
  162. package/chunk/qFf1w_Jq.js +8 -0
  163. package/chunk/{CH1UUxsg.js → w-kM1L5W.js} +155 -155
  164. package/hooks/index.js +53 -49
  165. package/hooks/useComputedState.js +2 -10
  166. package/hooks/useCreate.js +2 -7
  167. package/hooks/useForceUpdate.js +2 -7
  168. package/hooks/useId.js +2 -10
  169. package/hooks/useInView.js +2 -30
  170. package/hooks/useIntersectionObserver.js +2 -23
  171. package/hooks/useInterval.js +2 -17
  172. package/hooks/useIsFirstRender.js +2 -9
  173. package/hooks/useIsomorphicLayoutEffect.js +2 -5
  174. package/hooks/useKeyboardEvent.js +2 -16
  175. package/hooks/useMedia.js +2 -15
  176. package/hooks/useMergeProps.js +2 -18
  177. package/hooks/useMergeValue.js +2 -19
  178. package/hooks/useOnlineStatus.js +4 -0
  179. package/hooks/useOverflowHidden.js +2 -25
  180. package/hooks/useOverrideRef.js +2 -13
  181. package/hooks/usePersistCallback.js +2 -13
  182. package/hooks/usePrefersColorSchemeDark.js +4 -0
  183. package/hooks/usePrevious.js +2 -9
  184. package/hooks/useRefs.js +2 -9
  185. package/hooks/useResizeObserver.js +2 -15
  186. package/hooks/useStateCallback.js +2 -15
  187. package/hooks/useStateWithPromise.js +2 -24
  188. package/hooks/useUpdateEffect.js +2 -9
  189. package/hooks/useVerificationCode.js +73 -0
  190. package/hooks/useWatch.js +2 -10
  191. package/hooks/{use-watermark.js → useWatermark.js} +27 -26
  192. package/hooks/useWindowSize.js +2 -20
  193. package/index.js +571 -584
  194. package/locale/en-US.js +4 -2
  195. package/locale/interface.js +1 -4
  196. package/locale/ja-JP.js +3 -1
  197. package/locale/tr-TR.js +1 -1
  198. package/locale/zh-CN.js +3 -1
  199. package/locale/zh-HK.js +3 -1
  200. package/locale/zh-TW.js +3 -1
  201. package/package.json +1 -1
  202. package/style.css +1 -1
  203. package/types/anchor/util.d.ts +1 -1
  204. package/types/button/index.d.ts +2 -2
  205. package/types/color-picker/hooks/useColorPicker.d.ts +2 -2
  206. package/types/form/Control-old.d.ts +56 -0
  207. package/types/form/Control.d.ts +6 -54
  208. package/types/form/FormItem.d.ts +1 -1
  209. package/types/form/store.d.ts +0 -1
  210. package/types/hooks/index.d.ts +2 -0
  211. package/types/hooks/useComputedState.d.ts +1 -4
  212. package/types/hooks/useCreate.d.ts +1 -2
  213. package/types/hooks/useForceUpdate.d.ts +1 -2
  214. package/types/hooks/useId.d.ts +1 -2
  215. package/types/hooks/useInView.d.ts +1 -11
  216. package/types/hooks/useIntersectionObserver.d.ts +1 -7
  217. package/types/hooks/useInterval.d.ts +1 -2
  218. package/types/hooks/useIsFirstRender.d.ts +1 -2
  219. package/types/hooks/useIsomorphicLayoutEffect.d.ts +1 -3
  220. package/types/hooks/useKeyboardEvent.d.ts +1 -8
  221. package/types/hooks/useMedia.d.ts +1 -2
  222. package/types/hooks/useMergeProps.d.ts +1 -5
  223. package/types/hooks/useMergeValue.d.ts +1 -6
  224. package/types/hooks/useOnlineStatus.d.ts +1 -0
  225. package/types/hooks/useOverflowHidden.d.ts +1 -5
  226. package/types/hooks/useOverrideRef.d.ts +1 -6
  227. package/types/hooks/usePersistCallback.d.ts +1 -2
  228. package/types/hooks/usePrefersColorSchemeDark.d.ts +1 -0
  229. package/types/hooks/usePrevious.d.ts +1 -3
  230. package/types/hooks/useRefs.d.ts +1 -2
  231. package/types/hooks/useResizeObserver.d.ts +1 -6
  232. package/types/hooks/useStateCallback.d.ts +1 -5
  233. package/types/hooks/useStateWithPromise.d.ts +1 -2
  234. package/types/hooks/useUpdateEffect.d.ts +1 -3
  235. package/types/hooks/useWatch.d.ts +1 -3
  236. package/types/hooks/useWindowSize.d.ts +1 -5
  237. package/types/image/interface.d.ts +1 -0
  238. package/types/index.d.ts +157 -86
  239. package/types/input/Input.d.ts +1 -1
  240. package/types/input/Textarea.d.ts +2 -2
  241. package/types/locale/en-US.d.ts +2 -0
  242. package/types/locale/interface.d.ts +1 -2
  243. package/types/locale/ja-JP.d.ts +2 -0
  244. package/types/locale/zh-CN.d.ts +2 -0
  245. package/types/locale/zh-HK.d.ts +2 -0
  246. package/types/locale/zh-TW.d.ts +2 -0
  247. package/types/menu/context.d.ts +1 -1
  248. package/types/message/index.d.ts +14 -14
  249. package/types/message/interface.d.ts +2 -0
  250. package/types/modal/config.d.ts +0 -1
  251. package/types/modal/interface.d.ts +0 -1
  252. package/types/notice/index.d.ts +2 -27
  253. package/types/notification/index.d.ts +15 -16
  254. package/types/notification/interface.d.ts +2 -0
  255. package/types/notification/withNotification.d.ts +2 -0
  256. package/types/select/util.d.ts +1 -2
  257. package/types/select-view/interface.d.ts +2 -1
  258. package/types/speech-synthesis/index.d.ts +1 -1
  259. package/types/table/constant.d.ts +2 -0
  260. package/types/table/hook/useThResizable.d.ts +7 -0
  261. package/types/table/index.d.ts +10 -1
  262. package/types/table/style/index.d.ts +1 -0
  263. package/types/table/th-resizable/index.d.ts +2 -0
  264. package/types/table/thead/Column.d.ts +1 -2
  265. package/types/tree/Tree.d.ts +12 -67
  266. package/types/tree-select/Select.d.ts +2 -2
  267. package/types/trigger/index.d.ts +2 -120
  268. package/types/trigger/interface.d.ts +2 -1
  269. package/types/utils/CSSTransition.d.ts +2 -3
  270. package/types/utils/caseName.d.ts +1 -1
  271. package/types/utils/className.d.ts +1 -1
  272. package/types/utils/constant.d.ts +2 -2
  273. package/types/utils/copy.d.ts +1 -1
  274. package/types/utils/dayjs.d.ts +1 -21
  275. package/types/utils/dom.d.ts +1 -6
  276. package/types/utils/fileToURL.d.ts +1 -1
  277. package/types/utils/fillNBSP.d.ts +1 -1
  278. package/types/utils/getHighlightText.d.ts +1 -5
  279. package/types/utils/getHotkeyHandler.d.ts +1 -8
  280. package/types/utils/getStringLength.d.ts +1 -1
  281. package/types/utils/include.d.ts +1 -1
  282. package/types/utils/index.d.ts +3 -4
  283. package/types/utils/is.d.ts +1 -16
  284. package/types/utils/keyboardCode.d.ts +3 -0
  285. package/types/utils/lodash.d.ts +1 -17
  286. package/types/utils/mergeProps.d.ts +1 -1
  287. package/types/utils/mergedToString.d.ts +1 -1
  288. package/types/utils/omit.d.ts +1 -1
  289. package/types/utils/pad.d.ts +1 -2
  290. package/types/utils/pick.d.ts +2 -4
  291. package/types/utils/reactDOM.d.ts +1 -7
  292. package/types/utils/resizeObserverEffect.d.ts +2 -0
  293. package/types/utils/saveAs.d.ts +1 -1
  294. package/types/utils/screenfull.d.ts +2 -0
  295. package/types/utils/scrollIntoView.d.ts +1 -2
  296. package/types/utils/style.d.ts +1 -3
  297. package/types/utils/throttleByRaf.d.ts +1 -5
  298. package/types/utils/throttleByRaf2.d.ts +1 -0
  299. package/types/utils/warning.d.ts +1 -2
  300. package/types/version/index.d.ts +1 -1
  301. package/utils/CSSTransition.js +2 -6
  302. package/utils/className.js +2 -2
  303. package/utils/constant.js +8 -9
  304. package/utils/contextHolder.js +1 -1
  305. package/utils/copy.js +1 -1
  306. package/utils/dayjs.js +14 -173
  307. package/utils/dom.js +33 -29
  308. package/utils/fillNBSP.js +2 -4
  309. package/utils/getHighlightText.js +2 -38
  310. package/utils/getHotkeyHandler.js +2 -25
  311. package/utils/getStringLength.js +2 -7
  312. package/utils/include.js +2 -7
  313. package/utils/index.js +237 -240
  314. package/utils/is.js +116 -156
  315. package/utils/keyboardCode.js +27 -0
  316. package/utils/mergeProps.js +2 -9
  317. package/utils/mergedToString.js +2 -13
  318. package/utils/omit.js +2 -9
  319. package/utils/pad.js +12 -12
  320. package/utils/pick.js +4 -15
  321. package/utils/reactDOM.js +3 -54
  322. package/utils/resizeObserverEffect.js +4 -0
  323. package/utils/saveAs.js +1 -1
  324. package/utils/screenfull.js +4 -0
  325. package/utils/scrollIntoView.js +2 -21
  326. package/utils/style.js +12 -11
  327. package/utils/throttleByRaf.js +13 -12
  328. package/utils/throttleByRaf2.js +5 -0
  329. package/utils/warning.js +5 -4
  330. package/NotificationBase.js +0 -53
  331. package/chunk/1GQdnTJp.js +0 -284
  332. package/chunk/BAWsPQBM.js +0 -11
  333. package/chunk/BS09tn7B.js +0 -638
  334. package/chunk/BqGtwxTi.js +0 -777
  335. package/chunk/BqufsN8i.js +0 -376
  336. package/chunk/BtlvlGQN.js +0 -278
  337. package/chunk/C2lIz2F9.js +0 -60
  338. package/chunk/CGZ0In1p.js +0 -776
  339. package/chunk/CWgltRVL.js +0 -698
  340. package/chunk/D3NFxdmG.js +0 -518
  341. package/chunk/DApXtulb.js +0 -1102
  342. package/chunk/DlLL5JQo.js +0 -1501
  343. package/chunk/Dv_xRzvR.js +0 -269
  344. package/chunk/Ek8U5CTN.js +0 -1032
  345. package/chunk/ewRDIDUz.js +0 -995
  346. package/chunk/l0sNRNKZ.js +0 -1
  347. package/chunk/tYXLFPVI.js +0 -871
  348. package/hooks/use-verification-code.js +0 -73
  349. package/types/notification-base/index.d.ts +0 -15
  350. package/types/notification-base/style/index.d.ts +0 -2
  351. package/types/trigger/Portal.d.ts +0 -7
  352. package/types/utils/keyCode.d.ts +0 -45
  353. package/types/utils/raf.d.ts +0 -3
  354. package/types/utils/throttleByRafV2.d.ts +0 -5
  355. package/utils/keyCode.js +0 -12
  356. package/utils/raf.js +0 -19
  357. package/utils/throttleByRafV2.js +0 -16
  358. /package/style/{variable.less → variables.less} +0 -0
package/List.js CHANGED
@@ -1,22 +1,22 @@
1
- import { jsxs as C, jsx as s, Fragment as At } from "react/jsx-runtime";
1
+ import { jsxs as $, jsx as s, Fragment as At } from "react/jsx-runtime";
2
2
  import F, { useContext as K, useRef as R, useState as J, useImperativeHandle as Dt, useCallback as Ht, createElement as Tt } from "react";
3
3
  import Vt from "lodash/throttle";
4
- import { d as Q } from "./chunk/DlLL5JQo.js";
5
- import { R as mt, C as dt } from "./chunk/Bqk6yh16.js";
6
- import { useMergeProps as ht } from "./hooks/useMergeProps.js";
7
- import { P as _t } from "./chunk/CH1UUxsg.js";
4
+ import { a as Q } from "./chunk/BJQ5UNa-.js";
5
+ import { R as mt, C as dt } from "./chunk/CK5m7rLl.js";
6
+ import { c as ht } from "./chunk/B5gK1Idp.js";
7
+ import { P as _t } from "./chunk/w-kM1L5W.js";
8
8
  import kt from "./Spin.js";
9
- import { y as M } from "./chunk/BAWsPQBM.js";
10
- import Bt from "./utils/omit.js";
11
- import { pickDataAttributes as Gt } from "./utils/pick.js";
12
- import Ot from "./utils/scrollIntoView.js";
13
- import { V as Ut } from "./chunk/D3NFxdmG.js";
14
- function Wt(w, S) {
15
- const { getPrefixCls: z } = K(Q), { className: y, avatar: N, title: $, description: d, ...f } = w, m = `${z("list")}-item-meta`, x = !!N, j = !!($ || d);
16
- return /* @__PURE__ */ C("div", { ref: S, ...f, className: M(m, y), children: [
9
+ import { m as M } from "./chunk/JPPo5nY_.js";
10
+ import { c as Bt } from "./chunk/BdUcgWdu.js";
11
+ import { r as Gt } from "./chunk/D7NyvE5f.js";
12
+ import { f as Ot } from "./chunk/DdVFknul.js";
13
+ import { V as Ut } from "./chunk/B__a_gb_.js";
14
+ function Wt(w, v) {
15
+ const { getPrefixCls: z } = K(Q), { className: y, avatar: N, title: S, description: d, ...f } = w, m = `${z("list")}-item-meta`, x = !!N, j = !!(S || d);
16
+ return /* @__PURE__ */ $("div", { ref: v, ...f, className: M(m, y), children: [
17
17
  x && /* @__PURE__ */ s("div", { className: `${m}-avatar`, children: N }),
18
- j && /* @__PURE__ */ C("div", { className: `${m}-content`, children: [
19
- $ && /* @__PURE__ */ s("div", { className: `${m}-title`, children: $ }),
18
+ j && /* @__PURE__ */ $("div", { className: `${m}-content`, children: [
19
+ S && /* @__PURE__ */ s("div", { className: `${m}-title`, children: S }),
20
20
  d && /* @__PURE__ */ s("div", { className: `${m}-description`, children: d })
21
21
  ] })
22
22
  ] });
@@ -26,30 +26,30 @@ X.displayName = "ListItemMeta";
26
26
  const Zt = {
27
27
  actionLayout: "horizontal"
28
28
  };
29
- function qt(w, S) {
29
+ function qt(w, v) {
30
30
  const { getPrefixCls: z, componentConfig: y } = K(Q), N = ht(
31
31
  w,
32
32
  Zt,
33
33
  y && y["List.Item"]
34
- ), { children: $, className: d, actions: f, extra: c, actionLayout: m, ...x } = N, h = `${z("list")}-item`, L = [], p = [];
35
- F.Children.forEach($, (t) => {
34
+ ), { children: S, className: d, actions: f, extra: i, actionLayout: m, ...x } = N, h = `${z("list")}-item`, L = [], p = [];
35
+ F.Children.forEach(S, (t) => {
36
36
  t && t.type && t.type === X ? L.push(t) : p.push(t);
37
37
  });
38
- const V = p.length ? /* @__PURE__ */ s("div", { className: `${h}-content`, children: p }) : null, A = c ? /* @__PURE__ */ s("div", { className: `${h}-extra-content`, children: c }) : null, b = f && f.length ? /* @__PURE__ */ s("div", { className: `${h}-action`, children: f.map((t, _) => /* @__PURE__ */ s("li", { children: t }, `${h}-action-${_}`)) }) : null;
39
- return /* @__PURE__ */ C(
38
+ const V = p.length ? /* @__PURE__ */ s("div", { className: `${h}-content`, children: p }) : null, A = i ? /* @__PURE__ */ s("div", { className: `${h}-extra-content`, children: i }) : null, E = f && f.length ? /* @__PURE__ */ s("div", { className: `${h}-action`, children: f.map((t, _) => /* @__PURE__ */ s("li", { children: t }, `${h}-action-${_}`)) }) : null;
39
+ return /* @__PURE__ */ $(
40
40
  "div",
41
41
  {
42
42
  role: "listitem",
43
- ref: S,
43
+ ref: v,
44
44
  className: M(h, d),
45
45
  ...x,
46
46
  children: [
47
- /* @__PURE__ */ C("div", { className: `${h}-main`, children: [
47
+ /* @__PURE__ */ $("div", { className: `${h}-main`, children: [
48
48
  L,
49
49
  V,
50
- m === "vertical" ? b : null
50
+ m === "vertical" ? E : null
51
51
  ] }),
52
- m === "horizontal" ? b : null,
52
+ m === "horizontal" ? E : null,
53
53
  A
54
54
  ]
55
55
  }
@@ -65,15 +65,15 @@ const pt = 10, ft = 1, Kt = ["small", "default", "large"], Qt = {
65
65
  offsetBottom: 0,
66
66
  throttleDelay: 500
67
67
  };
68
- function Xt(w, S) {
68
+ function Xt(w, v) {
69
69
  const {
70
70
  getPrefixCls: z,
71
71
  loadingElement: y,
72
72
  size: N,
73
- renderEmpty: $,
73
+ renderEmpty: S,
74
74
  componentConfig: d,
75
75
  rtl: f
76
- } = K(Q), c = ht(
76
+ } = K(Q), i = ht(
77
77
  w,
78
78
  Qt,
79
79
  d == null ? void 0 : d.List
@@ -86,35 +86,35 @@ function Xt(w, S) {
86
86
  dataSource: p = [],
87
87
  size: V,
88
88
  footer: A,
89
- header: b,
89
+ header: E,
90
90
  pagination: t,
91
91
  bordered: _,
92
92
  split: Ct,
93
93
  render: k,
94
94
  grid: g,
95
- loading: Nt,
96
- hoverable: $t,
95
+ loading: $t,
96
+ hoverable: Nt,
97
97
  scrollLoading: D,
98
98
  paginationInFooter: tt,
99
- offsetBottom: vt,
99
+ offsetBottom: St,
100
100
  throttleDelay: et,
101
- defaultCurrent: St,
101
+ defaultCurrent: vt,
102
102
  noDataElement: yt,
103
103
  listRef: Lt,
104
- onReachBottom: E,
104
+ onReachBottom: b,
105
105
  onListScroll: H
106
- } = c, Pt = V || (Kt.indexOf(N) > -1 ? N : "default"), e = z("list"), B = R(null), G = R(null), P = R(null), O = R(null), U = R(!0), [It, wt] = J(
106
+ } = i, Pt = V || (Kt.indexOf(N) > -1 ? N : "default"), e = z("list"), B = R(null), G = R(null), P = R(null), O = R(null), U = R(!0), [It, wt] = J(
107
107
  t && typeof t == "object" && (t.pageSize || t.defaultPageSize) || pt
108
108
  ), [zt, xt] = J(
109
109
  t && typeof t == "object" && (t.current || t.defaultCurrent) || ft
110
- ), [W, bt] = J(St), rt = F.Children.count(L);
110
+ ), [W, Et] = J(vt), nt = F.Children.count(L);
111
111
  Dt(Lt, () => ({
112
112
  dom: B.current,
113
- scrollIntoView: (n, l) => {
113
+ scrollIntoView: (r, l) => {
114
114
  if (G.current)
115
- G.current.scrollTo({ index: n, options: l });
115
+ G.current.scrollTo({ index: r, options: l });
116
116
  else if (O.current) {
117
- const o = O.current.children[n];
117
+ const o = O.current.children[r];
118
118
  o && Ot(o, {
119
119
  boundary: P.current,
120
120
  ...l
@@ -123,25 +123,25 @@ function Xt(w, S) {
123
123
  },
124
124
  getRootDOMNode: () => B.current
125
125
  }));
126
- const Z = c.virtualListProps ? c.virtualListProps : c.height ? { height: c.height } : void 0, v = {
126
+ const Z = i.virtualListProps ? i.virtualListProps : i.height ? { height: i.height } : void 0, C = {
127
127
  pageSize: It,
128
128
  current: zt,
129
- total: p.length > 0 ? p.length : rt,
129
+ total: p.length > 0 ? p.length : nt,
130
130
  ...typeof t == "object" ? t : {},
131
- onPageSizeChange: (n, l) => {
131
+ onPageSizeChange: (r, l) => {
132
132
  var o;
133
- wt(n), t && typeof t == "object" && ((o = t.onPageSizeChange) == null || o.call(t, n, l));
133
+ wt(r), t && typeof t == "object" && ((o = t.onPageSizeChange) == null || o.call(t, r, l));
134
134
  },
135
- onChange: (n, l) => {
135
+ onChange: (r, l) => {
136
136
  var o;
137
- xt(n), t && typeof t == "object" && ((o = t.onChange) == null || o.call(t, n, l));
137
+ xt(r), t && typeof t == "object" && ((o = t.onChange) == null || o.call(t, r, l));
138
138
  }
139
139
  };
140
- v.current = Math.min(
141
- v.current,
142
- Math.ceil(v.total / v.pageSize)
140
+ C.current = Math.min(
141
+ C.current,
142
+ Math.ceil(C.total / C.pageSize)
143
143
  );
144
- const nt = !!(H || E), ot = Ht(
144
+ const rt = !!(H || b), ot = Ht(
145
145
  Vt(() => {
146
146
  if (H) {
147
147
  H(P.current);
@@ -149,21 +149,21 @@ function Xt(w, S) {
149
149
  }
150
150
  if (!P.current)
151
151
  return;
152
- const { scrollTop: n, scrollHeight: l, clientHeight: o } = P.current, i = l - (n + o);
153
- Math.abs(i) < vt + 1 ? U.current && (bt(W + 1), E == null || E(W + 1), U.current = !1) : U.current = !0;
152
+ const { scrollTop: r, scrollHeight: l, clientHeight: o } = P.current, c = l - (r + o);
153
+ Math.abs(c) < St + 1 ? U.current && (Et(W + 1), b == null || b(W + 1), U.current = !1) : U.current = !0;
154
154
  }, et),
155
- [et, W, H, E]
156
- ), Et = () => {
157
- const n = (i) => {
158
- const { current: u, pageSize: a } = v, r = (u - 1) * a;
159
- return t && i.length > r ? i.slice(r, r + a) : i;
160
- }, l = (i, u) => {
161
- const a = n(i);
155
+ [et, W, H, b]
156
+ ), bt = () => {
157
+ const r = (c) => {
158
+ const { current: u, pageSize: a } = C, n = (u - 1) * a;
159
+ return t && c.length > n ? c.slice(n, n + a) : c;
160
+ }, l = (c, u) => {
161
+ const a = r(c);
162
162
  return u ? a.map(u) : a;
163
- }, o = (i, u) => {
164
- const a = n(i);
163
+ }, o = (c, u) => {
164
+ const a = r(c);
165
165
  if (g.column || g.span) {
166
- const r = [], {
166
+ const n = [], {
167
167
  gutter: T,
168
168
  justify: Rt,
169
169
  align: Mt,
@@ -172,8 +172,8 @@ function Xt(w, S) {
172
172
  } = g, q = Ft || Math.floor(24 / g.span), jt = lt.span || Math.floor(24 / q);
173
173
  let I = 0;
174
174
  for (; I < a.length; ) {
175
- const at = I + q, it = ~~(I / q);
176
- r.push(
175
+ const at = I + q, ct = ~~(I / q);
176
+ n.push(
177
177
  /* @__PURE__ */ s(
178
178
  mt,
179
179
  {
@@ -181,50 +181,50 @@ function Xt(w, S) {
181
181
  gutter: T,
182
182
  justify: Rt,
183
183
  align: Mt,
184
- children: a.slice(I, at).map((ct, ut) => /* @__PURE__ */ s(
184
+ children: a.slice(I, at).map((it, ut) => /* @__PURE__ */ s(
185
185
  dt,
186
186
  {
187
187
  className: `${e}-row-col`,
188
188
  ...lt,
189
189
  span: jt,
190
- children: u ? u(ct, I + ut) : ct
190
+ children: u ? u(it, I + ut) : it
191
191
  },
192
- `${it}_${ut}`
192
+ `${ct}_${ut}`
193
193
  ))
194
194
  },
195
- it
195
+ ct
196
196
  )
197
197
  ), I = at;
198
198
  }
199
- return r;
199
+ return n;
200
200
  }
201
- return /* @__PURE__ */ s(mt, { className: `${e}-row`, gutter: g.gutter, children: a.map((r, T) => /* @__PURE__ */ Tt(
201
+ return /* @__PURE__ */ s(mt, { className: `${e}-row`, gutter: g.gutter, children: a.map((n, T) => /* @__PURE__ */ Tt(
202
202
  dt,
203
203
  {
204
204
  className: `${e}-row-col`,
205
205
  ...Bt(g, ["gutter"]),
206
206
  key: T
207
207
  },
208
- u ? u(r, T) : r
208
+ u ? u(n, T) : n
209
209
  )) });
210
210
  };
211
- return p.length > 0 && k ? g ? o(p, k) : l(p, k) : rt > 0 ? g ? o(L) : l(L) : D ? null : yt || $("List");
211
+ return p.length > 0 && k ? g ? o(p, k) : l(p, k) : nt > 0 ? g ? o(L) : l(L) : D ? null : yt || S("List");
212
212
  }, st = () => {
213
- const n = Et(), l = Z && Z.threshold !== null && Array.isArray(n), o = t ? /* @__PURE__ */ s(
213
+ const r = bt(), l = Z && Z.threshold !== null && Array.isArray(r), o = t ? /* @__PURE__ */ s(
214
214
  _t,
215
215
  {
216
- ...v,
216
+ ...C,
217
217
  className: M(
218
218
  `${e}-pagination`,
219
- v.className
219
+ C && C.className
220
220
  )
221
221
  }
222
- ) : null, i = tt ? o : null, u = tt ? null : o, a = D != null ? /* @__PURE__ */ s("div", { className: `${e}-item ${e}-scroll-loading`, children: D }) : null;
223
- return /* @__PURE__ */ C(
222
+ ) : null, c = tt ? o : null, u = tt ? null : o, a = D != null ? /* @__PURE__ */ s("div", { className: `${e}-item ${e}-scroll-loading`, children: D }) : null;
223
+ return /* @__PURE__ */ $(
224
224
  "div",
225
225
  {
226
- ref: (r) => {
227
- S = r, B.current = S;
226
+ ref: (n) => {
227
+ v = n, B.current = v;
228
228
  },
229
229
  style: x,
230
230
  className: M(
@@ -233,10 +233,10 @@ function Xt(w, S) {
233
233
  h
234
234
  ),
235
235
  children: [
236
- /* @__PURE__ */ C(
236
+ /* @__PURE__ */ $(
237
237
  "div",
238
238
  {
239
- ...Gt(c),
239
+ ...Gt(i),
240
240
  style: m,
241
241
  className: M(
242
242
  e,
@@ -244,46 +244,46 @@ function Xt(w, S) {
244
244
  {
245
245
  [`${e}-no-border`]: !_,
246
246
  [`${e}-no-split`]: !Ct,
247
- [`${e}-hoverable`]: $t,
247
+ [`${e}-hoverable`]: Nt,
248
248
  [`${e}-rtl`]: f
249
249
  },
250
250
  j
251
251
  ),
252
- ref: (r) => {
253
- l || (P.current = r);
252
+ ref: (n) => {
253
+ l || (P.current = n);
254
254
  },
255
- onScroll: !l && nt ? ot : void 0,
255
+ onScroll: !l && rt ? ot : void 0,
256
256
  children: [
257
- b ? /* @__PURE__ */ s("div", { className: `${e}-header`, children: b }) : null,
257
+ E ? /* @__PURE__ */ s("div", { className: `${e}-header`, children: E }) : null,
258
258
  l ? /* @__PURE__ */ s(At, { children: /* @__PURE__ */ s(
259
259
  Ut,
260
260
  {
261
261
  role: "list",
262
- ref: (r) => {
263
- r && (G.current = r, P.current = r.dom);
262
+ ref: (n) => {
263
+ n && (G.current = n, P.current = n.dom);
264
264
  },
265
265
  className: `${e}-content ${e}-virtual`,
266
- data: a ? n.concat(a) : n,
266
+ data: a ? r.concat(a) : r,
267
267
  isStaticItemHeight: !1,
268
- onScroll: nt ? ot : void 0,
268
+ onScroll: rt ? ot : void 0,
269
269
  ...Z,
270
- children: (r) => r
270
+ children: (n) => n
271
271
  }
272
- ) }) : /* @__PURE__ */ C(
272
+ ) }) : /* @__PURE__ */ $(
273
273
  "div",
274
274
  {
275
275
  role: "list",
276
276
  className: `${e}-content`,
277
277
  ref: O,
278
278
  children: [
279
- n,
279
+ r,
280
280
  a
281
281
  ]
282
282
  }
283
283
  ),
284
- A || i ? /* @__PURE__ */ C("div", { className: `${e}-footer`, children: [
284
+ A || c ? /* @__PURE__ */ $("div", { className: `${e}-footer`, children: [
285
285
  A,
286
- i
286
+ c
287
287
  ] }) : null
288
288
  ]
289
289
  }
@@ -293,11 +293,11 @@ function Xt(w, S) {
293
293
  }
294
294
  );
295
295
  };
296
- return "loading" in c ? /* @__PURE__ */ s(
296
+ return "loading" in i ? /* @__PURE__ */ s(
297
297
  kt,
298
298
  {
299
299
  style: { display: "block" },
300
- loading: Nt,
300
+ loading: $t,
301
301
  element: y,
302
302
  children: st()
303
303
  }
package/Mentions.js CHANGED
@@ -1,153 +1,154 @@
1
- import { jsxs as P, jsx as M } from "react/jsx-runtime";
2
- import q, { useContext as z, useRef as T, useState as G, useEffect as J } from "react";
3
- import { d as Q } from "./chunk/DlLL5JQo.js";
4
- import { useMergeProps as X } from "./hooks/useMergeProps.js";
5
- import { useMergeValue as Y } from "./hooks/useMergeValue.js";
6
- import { I as Z } from "./chunk/DK4KcodH.js";
7
- import { S as _ } from "./chunk/BqGtwxTi.js";
8
- import { y as ee } from "./chunk/BAWsPQBM.js";
9
- import { d as V, E as S, c as w, A as N } from "./chunk/C2lIz2F9.js";
10
- function te(i, { split: t }) {
11
- return !t || i.indexOf(t) === -1;
1
+ import { jsxs as A, jsx as C } from "react/jsx-runtime";
2
+ import q, { useContext as z, useRef as I, useState as G, useEffect as J } from "react";
3
+ import { a as Q } from "./chunk/BJQ5UNa-.js";
4
+ import { c as X } from "./chunk/B5gK1Idp.js";
5
+ import { R as Y } from "./chunk/HDUQku8d.js";
6
+ import { I as Z } from "./chunk/C42LIMP9.js";
7
+ import { S as _ } from "./chunk/C4YkFMzC.js";
8
+ import { m as ee } from "./chunk/JPPo5nY_.js";
9
+ import { o as N, e as v, d as E, r as O } from "./chunk/BrOW642m.js";
10
+ function te(a, { split: n }) {
11
+ return !n || a.indexOf(n) === -1;
12
12
  }
13
- function re({
14
- value: i,
15
- selectionStart: t
13
+ function ne({
14
+ value: a,
15
+ selectionStart: n
16
16
  }) {
17
- return i.slice(0, t);
17
+ return a.slice(0, n);
18
18
  }
19
- function ne(i, t = "") {
20
- return (Array.isArray(t) ? t : [t]).reduce(
21
- (c, d) => {
22
- const a = i.lastIndexOf(d);
23
- return a > c.location ? {
24
- location: a,
19
+ function re(a, n = "") {
20
+ return (Array.isArray(n) ? n : [n]).reduce(
21
+ (f, d) => {
22
+ const l = a.lastIndexOf(d);
23
+ return l > f.location ? {
24
+ location: l,
25
25
  prefix: d
26
- } : c;
26
+ } : f;
27
27
  },
28
28
  { location: -1, prefix: "" }
29
29
  );
30
30
  }
31
- const oe = Z.TextArea, se = [V.key, S.key, w.key, N.key], ie = {
31
+ const oe = Z.TextArea, se = [N.key, v.key, E.key, O.key], ie = {
32
32
  prefix: "@",
33
33
  split: " ",
34
34
  rows: 1,
35
35
  position: "bl",
36
36
  alignTextarea: !0
37
37
  };
38
- function ae(i, t) {
39
- const { getPrefixCls: v, componentConfig: c, rtl: d } = z(Q), a = X(
40
- i,
38
+ function ae(a, n) {
39
+ const { getPrefixCls: M, componentConfig: f, rtl: d } = z(Q), l = X(
40
+ a,
41
41
  ie,
42
- c == null ? void 0 : c.Mentions
42
+ f == null ? void 0 : f.Mentions
43
43
  ), {
44
- style: O,
45
- className: W,
46
- options: L,
44
+ style: W,
45
+ className: L,
46
+ options: R,
47
47
  prefix: b,
48
48
  split: g,
49
- position: B,
50
- alignTextarea: C,
51
- filterOption: D,
49
+ position: w,
50
+ alignTextarea: P,
51
+ filterOption: B,
52
52
  triggerProps: K,
53
- getPopupContainer: R,
54
- onChange: u,
55
- onSearch: y,
56
- notFoundContent: j,
53
+ getPopupContainer: j,
54
+ onChange: p,
55
+ onSearch: h,
56
+ notFoundContent: D,
57
57
  ...F
58
- } = a, f = v("mentions"), h = T(null), k = T(null), m = T(null), [x, E] = Y("", {
59
- value: a.value,
60
- defaultValue: a.defaultValue
61
- }), [e, I] = G({
58
+ } = l, m = M("mentions"), k = I(null), $ = I(null), y = I(null), [x, S] = Y("", {
59
+ value: l.value,
60
+ defaultValue: l.defaultValue
61
+ }), [e, V] = G({
62
62
  measuring: !1,
63
63
  location: 0,
64
64
  text: "",
65
65
  prefix: ""
66
66
  });
67
67
  J(() => {
68
- m.current && k.current && (k.current.scrollTop = m.current.dom.scrollTop);
68
+ y.current && $.current && ($.current.scrollTop = y.current.dom.scrollTop);
69
69
  });
70
- const $ = () => {
71
- I({
70
+ const T = () => {
71
+ V({
72
72
  ...e,
73
73
  measuring: !1,
74
74
  location: 0,
75
75
  text: ""
76
76
  });
77
77
  }, H = (r) => {
78
- const o = e.location, A = e.location + e.text.length;
79
- let s = x.slice(0, o), n = x.slice(A + 1);
80
- s += !s || s.endsWith(g) || s.endsWith(`
81
- `) ? "" : g, n = (!n || n.startsWith(g) || n.startsWith(`
82
- `) ? "" : g) + n;
83
- const p = `${e.prefix}${r}`, l = `${s}${p}${n}`;
84
- E(l), $(), u == null || u(l);
78
+ const s = e.location, i = e.location + e.text.length;
79
+ let t = x.slice(0, s), o = x.slice(i + 1);
80
+ t += !t || t.endsWith(g) || t.endsWith(`
81
+ `) ? "" : g, o = (!o || o.startsWith(g) || o.startsWith(`
82
+ `) ? "" : g) + o;
83
+ const c = `${e.prefix}${r}`, u = `${t}${c}${o}`;
84
+ S(u), T(), p == null || p(u);
85
85
  }, U = {
86
86
  onChange: (r) => {
87
- E(r), u == null || u(r);
87
+ S(r), p == null || p(r);
88
88
  },
89
89
  onKeyDown: (r) => {
90
- const o = r.key;
91
- o === V.key && m.current && m.current.blur(), h.current && (h.current.hotkeyHandler(r), (o === S.key || o === w.key || o === N.key) && r.preventDefault());
90
+ var i, t;
91
+ const s = r.key;
92
+ s === N.key && ((t = (i = y.current) == null ? void 0 : i.blur) == null || t.call(i)), k.current && (k.current.hotkeyHandler(r), (s === v.key || s === E.key || s === O.key) && r.preventDefault());
92
93
  },
93
94
  onKeyUp: (r) => {
94
- const { key: o, target: A } = r;
95
- if (~se.indexOf(o))
95
+ const { key: s, target: i } = r;
96
+ if (~se.indexOf(s))
96
97
  return;
97
- const s = re(A), { location: n, prefix: p } = ne(s, b), l = s.slice(
98
- n + p.length
98
+ const t = ne(i), { location: o, prefix: c } = re(t, b), u = t.slice(
99
+ o + c.length
99
100
  );
100
- n > -1 && te(l, a) ? ((o === p || e.measuring || l !== e.text) && I({
101
+ o > -1 && te(u, l) ? ((s === c || e.measuring || u !== e.text || t.includes(c)) && V({
101
102
  measuring: !0,
102
- text: l,
103
- prefix: p,
104
- location: n
105
- }), y == null || y(l, p)) : e.measuring && $();
103
+ text: u,
104
+ prefix: c,
105
+ location: o
106
+ }), h == null || h(u, c)) : e.measuring && T();
106
107
  },
107
- onBlur: $
108
+ onBlur: T
108
109
  };
109
- return /* @__PURE__ */ P(
110
+ return /* @__PURE__ */ A(
110
111
  "div",
111
112
  {
112
- ref: t,
113
- style: O,
113
+ ref: n,
114
+ style: W,
114
115
  className: ee(
115
- `${f}`,
116
+ `${m}`,
116
117
  {
117
- [`${f}-align-textarea`]: C,
118
- [`${f}-rtl`]: d
118
+ [`${m}-align-textarea`]: P,
119
+ [`${m}-rtl`]: d
119
120
  },
120
- W
121
+ L
121
122
  ),
122
123
  children: [
123
- /* @__PURE__ */ M(
124
+ /* @__PURE__ */ C(
124
125
  oe,
125
126
  {
126
- ref: m,
127
- className: `${f}-textarea`,
127
+ ref: y,
128
+ className: `${m}-textarea`,
128
129
  value: x,
129
130
  ...U,
130
131
  ...F
131
132
  }
132
133
  ),
133
- /* @__PURE__ */ P("div", { ref: k, className: `${f}-measure`, children: [
134
+ /* @__PURE__ */ A("div", { ref: $, className: `${m}-measure`, children: [
134
135
  x.slice(0, e.location),
135
- /* @__PURE__ */ M(
136
+ /* @__PURE__ */ C(
136
137
  _,
137
138
  {
138
- ref: h,
139
- options: L,
139
+ ref: k,
140
+ options: R,
140
141
  inputValue: e.text,
141
- notFoundContent: j,
142
- triggerElement: /* @__PURE__ */ M("span", { className: `${f}-measure-trigger`, children: e.prefix }),
142
+ notFoundContent: D,
143
+ triggerElement: /* @__PURE__ */ C("span", { className: `${m}-measure-trigger`, children: e.prefix }),
143
144
  triggerProps: {
144
145
  popupVisible: e.measuring,
145
- autoAlignPopupWidth: C,
146
- position: B,
146
+ autoAlignPopupWidth: P,
147
+ position: w,
147
148
  ...K
148
149
  },
149
- filterOption: D,
150
- getPopupContainer: R,
150
+ filterOption: B,
151
+ getPopupContainer: j,
151
152
  value: void 0,
152
153
  onChange: H
153
154
  }
package/Menu.js CHANGED
@@ -1,5 +1,5 @@
1
- import { M as u } from "./chunk/CWgltRVL.js";
2
- import { I as o, a as t, S as M, S as m } from "./chunk/CWgltRVL.js";
1
+ import { M as u } from "./chunk/CVSF8p0O.js";
2
+ import { I as o, a as t, S as M, S as m } from "./chunk/CVSF8p0O.js";
3
3
  export {
4
4
  o as MenuItem,
5
5
  t as MenuItemGroup,
package/Message.js CHANGED
@@ -1,12 +1,13 @@
1
1
  import "react/jsx-runtime";
2
- import "./chunk/CLBavO5c.js";
2
+ import "./chunk/DC1iHEiy.js";
3
3
  import "lodash/isNumber";
4
4
  import "lodash/isUndefined";
5
- import { M as u, u as f } from "./chunk/DlLL5JQo.js";
6
- import "./NotificationBase.js";
7
- import "./chunk/BAWsPQBM.js";
8
- import "./utils/reactDOM.js";
5
+ import "react";
6
+ import "react-dom/client";
7
+ import { M as u, p as f, u as g } from "./chunk/BJQ5UNa-.js";
8
+ import "./chunk/JPPo5nY_.js";
9
9
  export {
10
10
  u as default,
11
- f as useMessage
11
+ f as messageTypes,
12
+ g as useMessage
12
13
  };
package/Modal.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E as t } from "./chunk/BS09tn7B.js";
1
+ import { E as t } from "./chunk/BCftTxEy.js";
2
2
  export {
3
3
  t as default
4
4
  };