@unicom-cloud/ui 0.8.68 → 0.8.70

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 (256) hide show
  1. package/Affix.js +1 -1
  2. package/Alert.js +1 -1
  3. package/AutoComplete.js +1 -1
  4. package/BackTop.js +1 -1
  5. package/Badge.js +1 -1
  6. package/Breadcrumb.js +2 -2
  7. package/Button.js +1 -1
  8. package/Calendar.js +1 -1
  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 +1 -1
  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/Divider.js +1 -1
  21. package/Draggable.js +1 -1
  22. package/Dropdown.js +1 -1
  23. package/Empty.js +1 -1
  24. package/Icon.js +1 -1
  25. package/IconHover.js +1 -1
  26. package/Image.js +1 -1
  27. package/InputNumber.js +1 -1
  28. package/Layout.js +1 -1
  29. package/Link.js +1 -1
  30. package/List.js +1 -1
  31. package/Mentions.js +1 -1
  32. package/Menu.js +1 -1
  33. package/Message.js +1 -1
  34. package/Modal.js +1 -1
  35. package/Notice.js +1 -1
  36. package/Notification.js +1 -1
  37. package/OverflowEllipsis.js +1 -1
  38. package/PageHeader.js +1 -1
  39. package/Popconfirm.js +1 -1
  40. package/Popover.js +1 -1
  41. package/Progress.js +1 -1
  42. package/Radio.js +1 -1
  43. package/Rate.js +1 -1
  44. package/ResizeBox.js +1 -1
  45. package/Result.js +1 -1
  46. package/Skeleton.js +1 -1
  47. package/Slider.js +2 -2
  48. package/Space.js +1 -1
  49. package/Spin.js +1 -1
  50. package/Statistic.js +1 -1
  51. package/Steps.js +1 -1
  52. package/Switch.js +1 -1
  53. package/Table.js +1 -1
  54. package/Tabs.js +1 -1
  55. package/Tag.js +1 -1
  56. package/Tooltip.js +1 -1
  57. package/Transfer.js +1 -1
  58. package/Tree.js +1 -1
  59. package/Trigger.js +1 -1
  60. package/affix/index.js +1 -1
  61. package/alert/index.js +1 -1
  62. package/anchor/Anchor.js +1 -1
  63. package/anchor/Link.js +1 -1
  64. package/auto-complete/index.js +1 -1
  65. package/avatar/Avatar.js +1 -1
  66. package/avatar/Group.js +1 -1
  67. package/back-top/index.js +1 -1
  68. package/badge/index.js +1 -1
  69. package/breadcrumb/index.js +2 -2
  70. package/button/Group.js +1 -1
  71. package/button/index.js +1 -1
  72. package/calendar/index.js +2 -2
  73. package/card/Grid.js +1 -1
  74. package/card/Meta.js +1 -1
  75. package/card/index.js +1 -1
  76. package/carousel/Arrow.js +1 -1
  77. package/carousel/Indicator.js +1 -1
  78. package/carousel/index.js +1 -1
  79. package/cascader/Cascader.js +3 -3
  80. package/cascader/index.js +1 -1
  81. package/cascader/util.js +1 -1
  82. package/checkbox/Checkbox.js +2 -2
  83. package/checkbox/Group.js +2 -2
  84. package/checkbox/index.js +1 -1
  85. package/chunk/{CpGBWmuz.js → -C2QiGwq.js} +2 -2
  86. package/chunk/B80D01PB.js +257 -0
  87. package/chunk/BL9DMeor.js +9 -0
  88. package/chunk/{Clo26EcR.js → BPD5iNdA.js} +16 -21
  89. package/chunk/{SSK90wgo.js → Bh8AO6R8.js} +1 -1
  90. package/chunk/CASwN1hB.js +710 -0
  91. package/chunk/{BDB0LByj.js → CSk3yQDO.js} +1 -1
  92. package/chunk/{CKyu68pu.js → Cm9BS47C.js} +2 -2
  93. package/chunk/{CzQObzKd.js → DC-pxreh.js} +4 -4
  94. package/chunk/{C98ks5S8.js → DFf75sXd.js} +1 -1
  95. package/chunk/{CD3AUpzo.js → DcYqcuGl.js} +1 -1
  96. package/chunk/{BjpUSKM3.js → YUHbzjGj.js} +1 -1
  97. package/chunk/a3hR6zLw.js +12 -0
  98. package/chunk/{vmgkWLYf.js → bgmEVbGy.js} +2 -2
  99. package/chunk/{Bi4UkwOR.js → iOWILwNv.js} +3 -3
  100. package/chunk/{CgurXnoy.js → tIRvN_q7.js} +2 -2
  101. package/collapse/Collapse.js +2 -2
  102. package/collapse/Item.js +2 -2
  103. package/collapse/index.js +1 -1
  104. package/color-picker/ControlBar.js +1 -1
  105. package/color-picker/InputAlpha.js +1 -1
  106. package/color-picker/InputHex.js +1 -1
  107. package/color-picker/InputRgb.js +1 -1
  108. package/color-picker/Palette.js +1 -1
  109. package/color-picker/Panel.js +2 -2
  110. package/color-picker/index.js +1 -1
  111. package/comment/index.js +1 -1
  112. package/config-provider/ConfigProvider.js +1 -1
  113. package/config-provider/context.js +1 -1
  114. package/config-provider/index.js +2 -2
  115. package/copy/index.js +1 -1
  116. package/date-picker/Picker.js +2 -2
  117. package/date-picker/PickerRange.js +3 -3
  118. package/date-picker/index.js +1 -1
  119. package/descriptions/index.js +80 -75
  120. package/divider/index.js +1 -1
  121. package/draggable/index.js +1 -1
  122. package/drawer/Drawer.js +1 -1
  123. package/dropdown/Button.js +1 -1
  124. package/dropdown/index.js +1 -1
  125. package/empty/index.js +1 -1
  126. package/form/Control.js +84 -81
  127. package/form/Form.js +1 -1
  128. package/form/FormItem.js +1 -1
  129. package/grid/Col.js +1 -1
  130. package/grid/Row.js +1 -1
  131. package/grid/grid-item.js +1 -1
  132. package/grid/grid.js +1 -1
  133. package/hooks/index.js +36 -34
  134. package/hooks/useListenResize.js +4 -0
  135. package/hooks/useUpdateEffect.js +1 -1
  136. package/hooks/useWindowSize.js +1 -1
  137. package/icon/index.js +1 -1
  138. package/icon-hover/index.js +1 -1
  139. package/image/Image.js +2 -2
  140. package/image/ImagePreview.js +3 -3
  141. package/image/ImagePreviewArrow.js +1 -1
  142. package/image/ImagePreviewGroup.js +1 -1
  143. package/image/index.js +1 -1
  144. package/index.js +567 -565
  145. package/input/Group.js +1 -1
  146. package/input/Input.js +1 -1
  147. package/input/InputElement.js +1 -1
  148. package/input/Password.js +1 -1
  149. package/input/Search.js +1 -1
  150. package/input/Textarea.js +1 -1
  151. package/input-number/index.js +1 -1
  152. package/input-tag/InputTag.js +1 -1
  153. package/layout/Content.js +1 -1
  154. package/layout/Footer.js +1 -1
  155. package/layout/Header.js +1 -1
  156. package/layout/Sider.js +1 -1
  157. package/layout/index.js +1 -1
  158. package/link/index.js +1 -1
  159. package/list/Item.js +1 -1
  160. package/list/Meta.js +1 -1
  161. package/list/index.js +1 -1
  162. package/mentions/index.js +1 -1
  163. package/menu/Menu.js +2 -2
  164. package/menu/OverflowWrap.js +1 -1
  165. package/menu/index.js +2 -2
  166. package/message/index.js +1 -1
  167. package/message/useMessage.js +1 -1
  168. package/modal/Confirm.js +2 -2
  169. package/modal/Modal.js +2 -2
  170. package/modal/index.js +1 -1
  171. package/notice/index.js +1 -1
  172. package/notification/index.js +1 -1
  173. package/notification/useNotification.js +1 -1
  174. package/notification/withNotification.js +43 -35
  175. package/overflow-ellipsis/OverflowItem.js +1 -1
  176. package/overflow-ellipsis/index.js +1 -1
  177. package/package.json +1 -1
  178. package/page-header/index.js +1 -1
  179. package/pagination/PageItem.js +1 -1
  180. package/pagination/PageJumper.js +1 -1
  181. package/pagination/PageOption.js +1 -1
  182. package/pagination/Pagination.js +1 -1
  183. package/picker/Input.js +1 -1
  184. package/picker/InputRange.js +1 -1
  185. package/popconfirm/index.js +1 -1
  186. package/popover/index.js +1 -1
  187. package/progress/index.js +1 -1
  188. package/radio/Group.js +2 -2
  189. package/radio/Radio.js +2 -2
  190. package/radio/index.js +2 -2
  191. package/rate/index.js +1 -1
  192. package/resize-box/ResizeTrigger.js +1 -1
  193. package/resize-box/Split.js +1 -1
  194. package/resize-box/SplitGroup.js +1 -1
  195. package/resize-box/index.js +1 -1
  196. package/result/index.js +1 -1
  197. package/select/Option.js +1 -1
  198. package/select/Select.js +2 -2
  199. package/select-view/Core.js +1 -1
  200. package/skeleton/index.js +1 -1
  201. package/slider/Button.js +1 -1
  202. package/slider/index.js +2 -2
  203. package/space/index.js +20 -20
  204. package/spin/DotLoading.js +1 -1
  205. package/spin/index.js +1 -1
  206. package/statistic/Countdown.js +1 -1
  207. package/statistic/index.js +1 -1
  208. package/steps/index.js +1 -1
  209. package/switch/index.js +1 -1
  210. package/table/Table.js +3 -3
  211. package/table/index.js +89 -81
  212. package/tabs/Tab.js +2 -2
  213. package/tabs/TabContent.js +2 -2
  214. package/tabs/TabPane.js +1 -1
  215. package/tabs/index.js +2 -2
  216. package/tag/index.js +1 -1
  217. package/time-picker/Picker.js +2 -2
  218. package/time-picker/TimePicker.js +1 -1
  219. package/timeline/Item.js +1 -1
  220. package/timeline/Timeline.js +1 -1
  221. package/tooltip/index.js +1 -1
  222. package/transfer/Item.js +2 -2
  223. package/transfer/List.js +2 -2
  224. package/transfer/index.js +1 -1
  225. package/tree/Animation.js +2 -2
  226. package/tree/Node.js +3 -3
  227. package/tree/NodeList.js +1 -1
  228. package/tree/Tree.js +2 -2
  229. package/tree/index.js +1 -1
  230. package/tree-select/Select.js +2 -2
  231. package/trigger/index.js +1 -1
  232. package/types/hooks/index.d.ts +1 -0
  233. package/types/hooks/useListenResize.d.ts +1 -0
  234. package/types/index.d.ts +1 -1
  235. package/types/message/interface.d.ts +0 -1
  236. package/types/notification/interface.d.ts +0 -1
  237. package/types/space/index.d.ts +3 -4
  238. package/types/table/hook/useThResizable.d.ts +1 -1
  239. package/types/version/index.d.ts +4 -4
  240. package/typography/Base.js +2 -2
  241. package/typography/Ellipsis.js +8 -8
  242. package/typography/Paragraph.js +1 -1
  243. package/typography/Typography.js +1 -1
  244. package/typography/index.js +8 -8
  245. package/typography/useEllipsis.js +1 -1
  246. package/upload/TriggerNode.js +1 -1
  247. package/upload/Upload.js +1 -1
  248. package/upload/Uploader.js +1 -1
  249. package/utils/contextHolder.js +1 -1
  250. package/utils/index.js +2 -2
  251. package/verification-code/VerificationCode.js +1 -1
  252. package/version/index.js +5 -5
  253. package/watermark/Watermark.js +1 -1
  254. package/chunk/BSCrLtfQ.js +0 -10
  255. package/chunk/BSaQv6mx.js +0 -251
  256. package/chunk/ll867Bf3.js +0 -730
package/tree/NodeList.js CHANGED
@@ -2,7 +2,7 @@ import { jsx as L } from "react/jsx-runtime";
2
2
  import { forwardRef as R, useRef as h, useMemo as m, useImperativeHandle as V, createElement as g } from "react";
3
3
  import { s as b } from "../chunk/Bfq4YEcr.js";
4
4
  import P from "../virtual-list/VirtualList.js";
5
- import { N as v } from "../chunk/CKyu68pu.js";
5
+ import { N as v } from "../chunk/Cm9BS47C.js";
6
6
  function H(s) {
7
7
  return s.key || s._key;
8
8
  }
package/tree/Tree.js CHANGED
@@ -7,11 +7,11 @@ import Me from "lodash/isArray";
7
7
  import D from "lodash/isEqualWith";
8
8
  import He from "lodash/isFunction";
9
9
  import re from "lodash/isUndefined";
10
- import { a as $e } from "../chunk/ll867Bf3.js";
10
+ import { a as $e } from "../chunk/CASwN1hB.js";
11
11
  import { m as se } from "../chunk/JPPo5nY_.js";
12
12
  import { a as We } from "../chunk/ClqoGc3r.js";
13
13
  import { TreeContext as Re } from "./Context.js";
14
- import { N as le } from "../chunk/CKyu68pu.js";
14
+ import { N as le } from "../chunk/Cm9BS47C.js";
15
15
  import je from "./NodeList.js";
16
16
  import { getTreeDataFromTreeChildren as Fe, getCheckedKeysByInitKeys as ze, getAllCheckedKeysByCheck as qe } from "./util.js";
17
17
  const de = {
package/tree/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { default as r } from "./Tree.js";
2
- import { N as t } from "../chunk/CKyu68pu.js";
2
+ import { N as t } from "../chunk/Cm9BS47C.js";
3
3
  export {
4
4
  t as TreeNode,
5
5
  r as default
@@ -5,7 +5,7 @@ import B from "lodash/isArray";
5
5
  import R from "lodash/isFunction";
6
6
  import Se from "lodash/isNil";
7
7
  import { useContext as ce, useRef as P, useState as G, useCallback as T, forwardRef as Ve, useEffect as re, useMemo as ve, useImperativeHandle as Pe } from "react";
8
- import { a as se } from "../chunk/ll867Bf3.js";
8
+ import { a as se } from "../chunk/CASwN1hB.js";
9
9
  import { u as Ie } from "../chunk/B4YRLi8r.js";
10
10
  import { u as Ke } from "../chunk/oopARUrq.js";
11
11
  import { u as Oe } from "../chunk/BFTV6myl.js";
@@ -19,7 +19,7 @@ import "../chunk/D-TPB2Do.js";
19
19
  import we from "./List.js";
20
20
  import v from "lodash/get";
21
21
  import { u as Le } from "../chunk/CQ_WOOmf.js";
22
- import { u as J } from "../chunk/BSCrLtfQ.js";
22
+ import { u as J } from "../chunk/a3hR6zLw.js";
23
23
  import { DefaultFieldNames as ue } from "./interface.js";
24
24
  import le from "lodash/isEqualWith";
25
25
  import Ne from "lodash/isPlainObject";
package/trigger/index.js CHANGED
@@ -4,7 +4,7 @@ import ct from "lodash/isArray";
4
4
  import M from "lodash/isFunction";
5
5
  import { forwardRef as lt, useContext as pt, useRef as R, useState as at, Children as He, useCallback as be, cloneElement as Ie, useImperativeHandle as ft, useLayoutEffect as dt, useEffect as g, Fragment as mt } from "react";
6
6
  import { createPortal as gt } from "react-dom";
7
- import { a as yt } from "../chunk/ll867Bf3.js";
7
+ import { a as yt } from "../chunk/CASwN1hB.js";
8
8
  import { m as te } from "../chunk/JPPo5nY_.js";
9
9
  import { on as oe, off as ne, getScrollElements as Tt, isScrollElement as Ct, contains as Le } from "../utils/dom.js";
10
10
  import { s as ht } from "../chunk/D-TPB2Do.js";
@@ -10,6 +10,7 @@ export { default as useInView } from "./useInView";
10
10
  export { default as useIsFirstRender } from "./useIsFirstRender";
11
11
  export { default as useIsomorphicLayoutEffect } from "./useIsomorphicLayoutEffect";
12
12
  export { default as useKeyboardEvent } from "./useKeyboardEvent";
13
+ export { default as useListenResize } from "./useListenResize";
13
14
  export { default as useMedia } from "./useMedia";
14
15
  export { default as useMergeProps } from "./useMergeProps";
15
16
  export { default as useMergeValue } from "./useMergeValue";
@@ -0,0 +1 @@
1
+ export { default } from '@unicom-cloud/ui-common/hooks/useListenResize';
package/types/index.d.ts CHANGED
@@ -151,6 +151,6 @@ export { default as Upload, UPLOAD_STATUS, UploadList } from './upload';
151
151
  export type { UploadProps } from './upload/interface';
152
152
  export { default as VerificationCode } from './verification-code';
153
153
  export type { VerificationCodeProps } from './verification-code/interface';
154
- export { buildDate, buildTime, default as version } from './version';
154
+ export { VERSION, VERSION_BUILD_DATE, VERSION_BUILD_TIME } from './version';
155
155
  export { default as Watermark } from './watermark';
156
156
  export type { WatermarkProps } from './watermark/interface';
@@ -18,7 +18,6 @@ export interface MessageProps {
18
18
  closable?: boolean;
19
19
  closeIcon?: ReactNode;
20
20
  type?: string;
21
- callback?: () => void;
22
21
  }
23
22
  type messageHookFunction = (config: MessageProps | string) => MessageType;
24
23
  export type MessageHookReturnType = {
@@ -14,7 +14,6 @@ export interface NotificationProps {
14
14
  closable?: boolean;
15
15
  closeIcon?: ReactNode;
16
16
  type?: string;
17
- callback?: () => void;
18
17
  }
19
18
  type notificationHookFunction = (config: NotificationProps) => ReactInstance;
20
19
  export type NotificationHookReturnType = {
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { SpaceProps, SpaceSize } from './interface';
3
- declare const SpaceComponent: React.ForwardRefExoticComponent<SpaceProps & React.RefAttributes<unknown>>;
4
- declare function SpaceVertical(props: SpaceProps, ref: any): import("react/jsx-dev-runtime").JSX.Element;
5
- export { SpaceVertical };
6
- export default SpaceComponent;
3
+ declare const Space: React.ForwardRefExoticComponent<SpaceProps & React.RefAttributes<unknown>>;
4
+ export declare function SpaceVertical(props: SpaceProps, ref: any): import("react/jsx-dev-runtime").JSX.Element;
5
+ export default Space;
7
6
  export type { SpaceProps, SpaceSize };
@@ -1,5 +1,5 @@
1
1
  export default useThResizable;
2
- declare function useThResizable(params?: {}): {
2
+ declare function useThResizable(props?: {}): {
3
3
  columns: any;
4
4
  setColumns: (columns_: any) => void;
5
5
  ThResizable: typeof ThResizable;
@@ -1,4 +1,4 @@
1
- export declare const buildDate: any;
2
- export declare const buildTime: any;
3
- export declare const version = "2.66.0-beta.2";
4
- export default version;
1
+ export declare const VERSION_BUILD_DATE: any;
2
+ export declare const VERSION_BUILD_TIME: any;
3
+ export declare const VERSION = "2.66.0-beta.2";
4
+ export default VERSION;
@@ -1,9 +1,9 @@
1
1
  import { jsx as c, jsxs as ie, Fragment as re } from "react/jsx-runtime";
2
2
  import le from "lodash/merge";
3
3
  import R, { forwardRef as ce, useContext as ae, useRef as W, useState as q, useEffect as pe, useImperativeHandle as me } from "react";
4
- import { a as de } from "../chunk/ll867Bf3.js";
4
+ import { a as de } from "../chunk/CASwN1hB.js";
5
5
  import { u as fe } from "../chunk/CdaT1b_F.js";
6
- import { u as ue } from "../chunk/BSCrLtfQ.js";
6
+ import { u as ue } from "../chunk/a3hR6zLw.js";
7
7
  import he from "../popover/index.js";
8
8
  import Ee from "../tooltip/index.js";
9
9
  import { m as F } from "../chunk/JPPo5nY_.js";
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import "../chunk/ll867Bf3.js";
3
+ import "../chunk/CASwN1hB.js";
4
4
  import "../chunk/BFTV6myl.js";
5
5
  import "../chunk/CdaT1b_F.js";
6
6
  import "lodash/isEqualWith";
@@ -59,9 +59,9 @@ import "../button/index.js";
59
59
  import "../calendar/index.js";
60
60
  import "../card/index.js";
61
61
  import "../carousel/index.js";
62
- import "../chunk/Bi4UkwOR.js";
63
- import "../chunk/SSK90wgo.js";
64
- import "../chunk/BSaQv6mx.js";
62
+ import "../chunk/iOWILwNv.js";
63
+ import "../chunk/Bh8AO6R8.js";
64
+ import "../chunk/B80D01PB.js";
65
65
  import "../comment/index.js";
66
66
  import "../copy/index.js";
67
67
  import "../date-picker/index.js";
@@ -79,8 +79,8 @@ import "../layout/index.js";
79
79
  import "../link/index.js";
80
80
  import "../list/index.js";
81
81
  import "../mentions/index.js";
82
- import "../chunk/C98ks5S8.js";
83
- import "../chunk/BjpUSKM3.js";
82
+ import "../chunk/DFf75sXd.js";
83
+ import "../chunk/YUHbzjGj.js";
84
84
  import "../page-header/index.js";
85
85
  import "../pagination/Pagination.js";
86
86
  import "../popconfirm/index.js";
@@ -89,7 +89,7 @@ import "../portal/index.js";
89
89
  import "../progress/index.js";
90
90
  import "../color-picker/index.js";
91
91
  import "../loading/index.js";
92
- import "../chunk/CD3AUpzo.js";
92
+ import "../chunk/DcYqcuGl.js";
93
93
  import "../rate/index.js";
94
94
  import "../resize-box/index.js";
95
95
  import "../result/index.js";
@@ -104,7 +104,7 @@ import "../steps/index.js";
104
104
  import "../suspense-fallback-test/index.js";
105
105
  import "../switch/index.js";
106
106
  import "../table/index.js";
107
- import "../chunk/vmgkWLYf.js";
107
+ import "../chunk/bgmEVbGy.js";
108
108
  import "../tag/index.js";
109
109
  import "../time-picker/index.js";
110
110
  import "../timeline/Timeline.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
2
  import { forwardRef as p, useContext as c } from "react";
3
- import { a as f } from "../chunk/ll867Bf3.js";
3
+ import { a as f } from "../chunk/CASwN1hB.js";
4
4
  import { m as i } from "../chunk/JPPo5nY_.js";
5
5
  import l from "./Base.js";
6
6
  function g(a, r) {
@@ -1,6 +1,6 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
2
  import { forwardRef as c, useContext as f } from "react";
3
- import { a as i } from "../chunk/ll867Bf3.js";
3
+ import { a as i } from "../chunk/CASwN1hB.js";
4
4
  import { m as l } from "../chunk/JPPo5nY_.js";
5
5
  function y(o, t) {
6
6
  const { getPrefixCls: r } = f(i), s = r("typography"), { className: a, style: e, children: p } = o, m = l(s, a);
@@ -1,6 +1,6 @@
1
1
  import { jsxs as N, jsx as o } from "react/jsx-runtime";
2
2
  import { forwardRef as J, useContext as K, useRef as y, useState as O, useMemo as z, useEffect as E, useCallback as Q } from "react";
3
- import { a as U } from "../chunk/ll867Bf3.js";
3
+ import { a as U } from "../chunk/CASwN1hB.js";
4
4
  import { u as X } from "../chunk/BFTV6myl.js";
5
5
  import { u as Y } from "../chunk/CdaT1b_F.js";
6
6
  import "lodash/isEqualWith";
@@ -59,9 +59,9 @@ import "../button/index.js";
59
59
  import "../calendar/index.js";
60
60
  import "../card/index.js";
61
61
  import "../carousel/index.js";
62
- import "../chunk/Bi4UkwOR.js";
63
- import "../chunk/SSK90wgo.js";
64
- import "../chunk/BSaQv6mx.js";
62
+ import "../chunk/iOWILwNv.js";
63
+ import "../chunk/Bh8AO6R8.js";
64
+ import "../chunk/B80D01PB.js";
65
65
  import "../comment/index.js";
66
66
  import "../copy/index.js";
67
67
  import "../date-picker/index.js";
@@ -79,8 +79,8 @@ import "../layout/index.js";
79
79
  import "../link/index.js";
80
80
  import "../list/index.js";
81
81
  import "../mentions/index.js";
82
- import "../chunk/C98ks5S8.js";
83
- import "../chunk/BjpUSKM3.js";
82
+ import "../chunk/DFf75sXd.js";
83
+ import "../chunk/YUHbzjGj.js";
84
84
  import "../page-header/index.js";
85
85
  import "../pagination/Pagination.js";
86
86
  import "../popconfirm/index.js";
@@ -89,7 +89,7 @@ import "../portal/index.js";
89
89
  import "../progress/index.js";
90
90
  import "../color-picker/index.js";
91
91
  import "../loading/index.js";
92
- import "../chunk/CD3AUpzo.js";
92
+ import "../chunk/DcYqcuGl.js";
93
93
  import "../rate/index.js";
94
94
  import "../resize-box/index.js";
95
95
  import "../result/index.js";
@@ -104,7 +104,7 @@ import "../steps/index.js";
104
104
  import "../suspense-fallback-test/index.js";
105
105
  import "../switch/index.js";
106
106
  import "../table/index.js";
107
- import "../chunk/vmgkWLYf.js";
107
+ import "../chunk/bgmEVbGy.js";
108
108
  import "../tag/index.js";
109
109
  import "../time-picker/index.js";
110
110
  import "../timeline/Timeline.js";
@@ -3,7 +3,7 @@ import T from "lodash/isNumber";
3
3
  import tt from "lodash/isString";
4
4
  import et, { useRef as S, useState as v, useMemo as X } from "react";
5
5
  import { u as j } from "../chunk/B2yFlXke.js";
6
- import { u as ot } from "../chunk/BSCrLtfQ.js";
6
+ import { u as ot } from "../chunk/a3hR6zLw.js";
7
7
  import st from "../utils/throttleByRaf.js";
8
8
  const rt = "hxj";
9
9
  var it = /* @__PURE__ */ ((e) => (e[e.INIT = 0] = "INIT", e[e.BEFORE_MEASURE = 1] = "BEFORE_MEASURE", e[e.MEASURING = 2] = "MEASURING", e[e.MEASURE_END = 3] = "MEASURE_END", e[e.NO_NEED_ELLIPSIS = 4] = "NO_NEED_ELLIPSIS", e))(it || {});
@@ -3,7 +3,7 @@ import y from "@unicom-cloud/icons/IconUiPlus";
3
3
  import A from "@unicom-cloud/icons/IconUiUpload";
4
4
  import C, { forwardRef as G, useContext as K, useState as U, useEffect as L } from "react";
5
5
  import O from "../button/index.js";
6
- import { a as R } from "../chunk/ll867Bf3.js";
6
+ import { a as R } from "../chunk/CASwN1hB.js";
7
7
  import { u as B } from "../chunk/XTEsYGuF.js";
8
8
  import { m as I } from "../chunk/JPPo5nY_.js";
9
9
  import { loopDirectory as H, getFiles as S } from "./util.js";
package/upload/Upload.js CHANGED
@@ -2,7 +2,7 @@ import { jsxs as C, Fragment as T, jsx as t } from "react/jsx-runtime";
2
2
  import w from "lodash/isFunction";
3
3
  import re from "lodash/isNumber";
4
4
  import { useContext as D, forwardRef as j, useState as F, useEffect as R, isValidElement as le, useRef as K, useImperativeHandle as oe } from "react";
5
- import { a as V, I as ae } from "../chunk/ll867Bf3.js";
5
+ import { a as V, I as ae } from "../chunk/CASwN1hB.js";
6
6
  import { u as se } from "../chunk/BFTV6myl.js";
7
7
  import { m as z } from "../chunk/JPPo5nY_.js";
8
8
  import { o as ce } from "../chunk/BKKEev13.js";
@@ -4,7 +4,7 @@ import j from "lodash/isFunction";
4
4
  import Q from "lodash/isNumber";
5
5
  import W from "lodash/isPlainObject";
6
6
  import X, { useContext as Y, useRef as Z, useState as _, useImperativeHandle as tt } from "react";
7
- import { a as et } from "../chunk/ll867Bf3.js";
7
+ import { a as et } from "../chunk/CASwN1hB.js";
8
8
  import { P as it } from "../chunk/DzVH9IBy.js";
9
9
  import nt from "./TriggerNode.js";
10
10
  import { STATUS as c } from "./interface.js";
@@ -1,5 +1,5 @@
1
1
  import "react";
2
- import { d as a } from "../chunk/ll867Bf3.js";
2
+ import { d as a } from "../chunk/CASwN1hB.js";
3
3
  export {
4
4
  a as default
5
5
  };
package/utils/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { g as r } from "../chunk/BDB0LByj.js";
1
+ import { g as r } from "../chunk/CSk3yQDO.js";
2
2
  import { s as t, r as o, d as f, l as i, i as m, c as l, u as p, m as d, o as x } from "../chunk/BibHFOCF.js";
3
3
  import { w as n, k as g, z as c, A as y, G as S, D as b, s as C, b as h, P as R } from "../chunk/B6X4lnd0.js";
4
4
  import { newArray as E, pickTriggerPropsFromRest as N } from "./constant.js";
@@ -29,7 +29,7 @@ import { responsiveArray as Xe, responsiveMap as Ye, default as Ze } from "./res
29
29
  import { fixedWidth as ea, getStyle as aa, setTransformStyle as ra } from "./style.js";
30
30
  import { d as ta } from "../chunk/BsWphzcT.js";
31
31
  import { m as fa } from "../chunk/JPPo5nY_.js";
32
- import { d as ma } from "../chunk/ll867Bf3.js";
32
+ import { d as ma } from "../chunk/CASwN1hB.js";
33
33
  import { s as pa, s as da } from "../chunk/Ey4YJCkX.js";
34
34
  import { P as ua } from "../chunk/DzVH9IBy.js";
35
35
  import { l as ga } from "../chunk/CTxjmYmx.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx as R, jsxs as b } from "react/jsx-runtime";
2
2
  import w, { forwardRef as N, useContext as F, useRef as j, createElement as z } from "react";
3
- import { a as D } from "../chunk/ll867Bf3.js";
3
+ import { a as D } from "../chunk/CASwN1hB.js";
4
4
  import { u as E } from "../chunk/BFTV6myl.js";
5
5
  import K from "../input/InputElement.js";
6
6
  import { m as p } from "../chunk/JPPo5nY_.js";
package/version/index.js CHANGED
@@ -1,7 +1,7 @@
1
- const t = "2025-03-18 09:18:21", e = "1742260701948", o = "2.66.0-beta.2";
1
+ const t = "2025-03-26 16:34:11", I = "1742978051167", E = "2.66.0-beta.2";
2
2
  export {
3
- t as buildDate,
4
- e as buildTime,
5
- o as default,
6
- o as version
3
+ E as VERSION,
4
+ t as VERSION_BUILD_DATE,
5
+ I as VERSION_BUILD_TIME,
6
+ E as default
7
7
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
2
  import { forwardRef as g, useContext as u, useRef as p, useCallback as d, useEffect as C } from "react";
3
- import { a as h } from "../chunk/ll867Bf3.js";
3
+ import { a as h } from "../chunk/CASwN1hB.js";
4
4
  import { useWatermark as x } from "../hooks/useWatermark.js";
5
5
  import { u as k } from "../chunk/BFTV6myl.js";
6
6
  import { m as w } from "../chunk/JPPo5nY_.js";
package/chunk/BSCrLtfQ.js DELETED
@@ -1,10 +0,0 @@
1
- import { useRef as u, useEffect as r } from "react";
2
- function c(t, f = []) {
3
- const e = u(!1);
4
- r(() => {
5
- e.current ? t() : e.current = !0;
6
- }, f);
7
- }
8
- export {
9
- c as u
10
- };
package/chunk/BSaQv6mx.js DELETED
@@ -1,251 +0,0 @@
1
- import { jsxs as w, jsx as r } from "react/jsx-runtime";
2
- import U from "@unicom-cloud/icons/IconUiCaretLeft";
3
- import L from "@unicom-cloud/icons/IconUiCaretRight";
4
- import V from "lodash/isFunction";
5
- import M, { useContext as K, useRef as A, createContext as B } from "react";
6
- import { a as T, I as S } from "./ll867Bf3.js";
7
- import { u as q } from "./BFTV6myl.js";
8
- import { u as D } from "./CdaT1b_F.js";
9
- import { m as g } from "./JPPo5nY_.js";
10
- import { o as G } from "./BKKEev13.js";
11
- import { u as J } from "./DzVH9IBy.js";
12
- import { u as Q } from "./XTEsYGuF.js";
13
- import { off as W, on as X } from "../utils/dom.js";
14
- function Y(l, h) {
15
- var C;
16
- const { getPrefixCls: u } = K(T), o = K(j), I = Q(), {
17
- children: i,
18
- name: s,
19
- header: $,
20
- className: H,
21
- style: E,
22
- contentStyle: b,
23
- extra: x,
24
- disabled: a,
25
- destroyOnHide: y,
26
- expandIcon: v,
27
- showExpandIcon: N = !0,
28
- ...P
29
- } = l, t = A(null), d = A(null), n = u("collapse-item"), c = ((C = o.activeKeys) == null ? void 0 : C.indexOf(s)) > -1, p = N ? "expandIcon" in l ? v : o.expandIcon : null, f = (e, m) => {
30
- var O;
31
- if (a)
32
- return;
33
- const { triggerRegion: R } = o;
34
- (m === (R === "icon" ? 0 : R === "header" ? 1 : 2) || // When triggerRegion is set to header, clicking icon should trigger onChange as well
35
- R === "header" && [0, 1].includes(m)) && ((O = o.onToggle) == null || O.call(o, s, e));
36
- };
37
- return /* @__PURE__ */ w(
38
- "div",
39
- {
40
- ref: h,
41
- ...P,
42
- className: g(
43
- n,
44
- {
45
- [`${n}-active`]: c,
46
- [`${n}-no-icon`]: !p,
47
- [`${n}-disabled`]: a
48
- },
49
- H
50
- ),
51
- style: E,
52
- children: [
53
- /* @__PURE__ */ w(
54
- "div",
55
- {
56
- role: "button",
57
- "aria-disabled": a,
58
- "aria-expanded": c,
59
- "data-active-region": o.triggerRegion,
60
- tabIndex: a ? -1 : 0,
61
- className: g(
62
- `${n}-header`,
63
- `${n}-header-${o.expandIconPosition}`,
64
- {
65
- [`${n}-header-disabled`]: a
66
- }
67
- ),
68
- onClick: (e) => f(e, 2),
69
- ...I({
70
- onPressEnter: (e) => {
71
- !a && o.onToggle(s, e);
72
- }
73
- }),
74
- children: [
75
- p && /* @__PURE__ */ r(
76
- S,
77
- {
78
- prefix: n,
79
- disabled: a,
80
- className: g({
81
- [`${n}-icon-hover-right`]: o.expandIconPosition === "right",
82
- [`${n}-header-icon-right`]: o.expandIconPosition === "right"
83
- }),
84
- onClick: (e) => f(e, 0),
85
- children: /* @__PURE__ */ r(
86
- "span",
87
- {
88
- className: g(`${n}-header-icon`, {
89
- [`${n}-header-icon-down`]: c
90
- }),
91
- children: p
92
- }
93
- )
94
- }
95
- ),
96
- /* @__PURE__ */ r(
97
- "div",
98
- {
99
- className: `${n}-header-title`,
100
- onClick: (e) => f(e, 1),
101
- children: $
102
- }
103
- ),
104
- x && /* @__PURE__ */ r(
105
- "div",
106
- {
107
- className: `${n}-header-extra`,
108
- onClick: (e) => {
109
- e.stopPropagation();
110
- },
111
- children: x
112
- }
113
- )
114
- ]
115
- }
116
- ),
117
- /* @__PURE__ */ r(
118
- J,
119
- {
120
- nodeRef: t,
121
- in: c,
122
- addEndListener: (e) => {
123
- W(t.current, "transitionend", e), X(t.current, "transitionend", e);
124
- },
125
- mountOnEnter: "destroyOnHide" in l ? y : o.destroyOnHide || o.lazyload,
126
- unmountOnExit: "destroyOnHide" in l ? y : o.destroyOnHide,
127
- onEnter: (e) => {
128
- t.current.style.height = 0, t.current.style.display = "block";
129
- },
130
- onEntering: (e) => {
131
- t.current.style.height = `${Math.max(t.current.scrollHeight, d.current.scrollHeight)}px`;
132
- },
133
- onEntered: (e) => {
134
- t.current.style.height = "auto";
135
- },
136
- onExit: (e) => {
137
- d.current.offsetHeight, t.current.offsetHeight, t.current.style.display = "block", t.current.style.height = `${Math.max(t.current.offsetHeight, d.current.offsetHeight)}px`, t.current.offsetHeight, d.current.offsetHeight;
138
- },
139
- onExiting: (e) => {
140
- t.current.style.height = 0;
141
- },
142
- onExited: (e) => {
143
- t.current.style.display = "none", t.current.style.height = "auto";
144
- },
145
- children: /* @__PURE__ */ r(
146
- "div",
147
- {
148
- ref: t,
149
- role: "region",
150
- className: g(`${n}-content`, {
151
- [`${n}-content-expanded`]: c
152
- }),
153
- children: /* @__PURE__ */ r(
154
- "div",
155
- {
156
- ref: d,
157
- style: b,
158
- className: `${n}-content-box`,
159
- children: i
160
- }
161
- )
162
- }
163
- )
164
- }
165
- )
166
- ]
167
- }
168
- );
169
- }
170
- const z = M.forwardRef(
171
- Y
172
- );
173
- z.displayName = "CollapseItem";
174
- const k = (l, h) => {
175
- const u = [].concat(l);
176
- return h ? u.slice(0, 1) : u;
177
- }, Z = {
178
- bordered: !0,
179
- lazyload: !0,
180
- expandIconPosition: "left"
181
- }, j = B({
182
- expandIconPosition: "left",
183
- expandIcon: /* @__PURE__ */ r(L, {}),
184
- activeKeys: [],
185
- onToggle: () => {
186
- }
187
- });
188
- function _(l, h) {
189
- const { getPrefixCls: u, componentConfig: o, rtl: I } = K(T), i = q(
190
- l,
191
- Z,
192
- o == null ? void 0 : o.Collapse
193
- ), [s, $] = D([], {
194
- defaultValue: "defaultActiveKey" in i ? k(i.defaultActiveKey, i.accordion) : void 0,
195
- value: "activeKey" in i ? k(i.activeKey, i.accordion) : void 0
196
- }), {
197
- children: H,
198
- className: E,
199
- style: b,
200
- bordered: x,
201
- lazyload: a,
202
- expandIcon: y,
203
- expandIconPosition: v,
204
- destroyOnHide: N,
205
- accordion: P,
206
- triggerRegion: t,
207
- onChange: d,
208
- ...n
209
- } = i, c = u("collapse"), p = (f, C) => {
210
- let e = [...s || []];
211
- const m = s == null ? void 0 : s.indexOf(f);
212
- m > -1 ? e.splice(m, 1) : P ? e = [f] : e.push(f), "activeKey" in i || $(e), V(d) && d(f, e, C);
213
- };
214
- return /* @__PURE__ */ r(
215
- j.Provider,
216
- {
217
- value: {
218
- activeKeys: s,
219
- triggerRegion: t,
220
- lazyload: a,
221
- destroyOnHide: N,
222
- expandIconPosition: v,
223
- onToggle: p,
224
- expandIcon: "expandIcon" in i ? y : v === "right" ? /* @__PURE__ */ r(U, {}) : /* @__PURE__ */ r(L, {})
225
- },
226
- children: /* @__PURE__ */ r(
227
- "div",
228
- {
229
- ref: h,
230
- ...G(n, ["activeKey", "defaultActiveKey"]),
231
- className: g(
232
- c,
233
- `${c}-${x ? "border" : "borderless"}`,
234
- { [`${c}-rtl`]: I },
235
- E
236
- ),
237
- style: b,
238
- children: H
239
- }
240
- )
241
- }
242
- );
243
- }
244
- const ee = M.forwardRef(_), F = ee;
245
- F.displayName = "Collapse";
246
- F.Item = z;
247
- export {
248
- F as C,
249
- z as I,
250
- j as a
251
- };