@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.
- package/Affix.js +1 -1
- package/Alert.js +1 -1
- package/AutoComplete.js +1 -1
- package/BackTop.js +1 -1
- package/Badge.js +1 -1
- package/Breadcrumb.js +2 -2
- package/Button.js +1 -1
- package/Calendar.js +1 -1
- package/Card.js +1 -1
- package/Carousel.js +1 -1
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +1 -1
- package/Comment.js +1 -1
- package/ConfigProvider.js +1 -1
- package/Copy.js +1 -1
- package/DatePicker.js +1 -1
- package/Descriptions.js +1 -1
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Dropdown.js +1 -1
- package/Empty.js +1 -1
- package/Icon.js +1 -1
- package/IconHover.js +1 -1
- package/Image.js +1 -1
- package/InputNumber.js +1 -1
- package/Layout.js +1 -1
- package/Link.js +1 -1
- package/List.js +1 -1
- package/Mentions.js +1 -1
- package/Menu.js +1 -1
- package/Message.js +1 -1
- package/Modal.js +1 -1
- package/Notice.js +1 -1
- package/Notification.js +1 -1
- package/OverflowEllipsis.js +1 -1
- package/PageHeader.js +1 -1
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Progress.js +1 -1
- package/Radio.js +1 -1
- package/Rate.js +1 -1
- package/ResizeBox.js +1 -1
- package/Result.js +1 -1
- package/Skeleton.js +1 -1
- package/Slider.js +2 -2
- package/Space.js +1 -1
- package/Spin.js +1 -1
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/Switch.js +1 -1
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/Tooltip.js +1 -1
- package/Transfer.js +1 -1
- package/Tree.js +1 -1
- package/Trigger.js +1 -1
- package/affix/index.js +1 -1
- package/alert/index.js +1 -1
- package/anchor/Anchor.js +1 -1
- package/anchor/Link.js +1 -1
- package/auto-complete/index.js +1 -1
- package/avatar/Avatar.js +1 -1
- package/avatar/Group.js +1 -1
- package/back-top/index.js +1 -1
- package/badge/index.js +1 -1
- package/breadcrumb/index.js +2 -2
- package/button/Group.js +1 -1
- package/button/index.js +1 -1
- package/calendar/index.js +2 -2
- package/card/Grid.js +1 -1
- package/card/Meta.js +1 -1
- package/card/index.js +1 -1
- package/carousel/Arrow.js +1 -1
- package/carousel/Indicator.js +1 -1
- package/carousel/index.js +1 -1
- package/cascader/Cascader.js +3 -3
- package/cascader/index.js +1 -1
- package/cascader/util.js +1 -1
- package/checkbox/Checkbox.js +2 -2
- package/checkbox/Group.js +2 -2
- package/checkbox/index.js +1 -1
- package/chunk/{CpGBWmuz.js → -C2QiGwq.js} +2 -2
- package/chunk/B80D01PB.js +257 -0
- package/chunk/BL9DMeor.js +9 -0
- package/chunk/{Clo26EcR.js → BPD5iNdA.js} +16 -21
- package/chunk/{SSK90wgo.js → Bh8AO6R8.js} +1 -1
- package/chunk/CASwN1hB.js +710 -0
- package/chunk/{BDB0LByj.js → CSk3yQDO.js} +1 -1
- package/chunk/{CKyu68pu.js → Cm9BS47C.js} +2 -2
- package/chunk/{CzQObzKd.js → DC-pxreh.js} +4 -4
- package/chunk/{C98ks5S8.js → DFf75sXd.js} +1 -1
- package/chunk/{CD3AUpzo.js → DcYqcuGl.js} +1 -1
- package/chunk/{BjpUSKM3.js → YUHbzjGj.js} +1 -1
- package/chunk/a3hR6zLw.js +12 -0
- package/chunk/{vmgkWLYf.js → bgmEVbGy.js} +2 -2
- package/chunk/{Bi4UkwOR.js → iOWILwNv.js} +3 -3
- package/chunk/{CgurXnoy.js → tIRvN_q7.js} +2 -2
- package/collapse/Collapse.js +2 -2
- package/collapse/Item.js +2 -2
- package/collapse/index.js +1 -1
- package/color-picker/ControlBar.js +1 -1
- package/color-picker/InputAlpha.js +1 -1
- package/color-picker/InputHex.js +1 -1
- package/color-picker/InputRgb.js +1 -1
- package/color-picker/Palette.js +1 -1
- package/color-picker/Panel.js +2 -2
- package/color-picker/index.js +1 -1
- package/comment/index.js +1 -1
- package/config-provider/ConfigProvider.js +1 -1
- package/config-provider/context.js +1 -1
- package/config-provider/index.js +2 -2
- package/copy/index.js +1 -1
- package/date-picker/Picker.js +2 -2
- package/date-picker/PickerRange.js +3 -3
- package/date-picker/index.js +1 -1
- package/descriptions/index.js +80 -75
- package/divider/index.js +1 -1
- package/draggable/index.js +1 -1
- package/drawer/Drawer.js +1 -1
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +1 -1
- package/empty/index.js +1 -1
- package/form/Control.js +84 -81
- package/form/Form.js +1 -1
- package/form/FormItem.js +1 -1
- package/grid/Col.js +1 -1
- package/grid/Row.js +1 -1
- package/grid/grid-item.js +1 -1
- package/grid/grid.js +1 -1
- package/hooks/index.js +36 -34
- package/hooks/useListenResize.js +4 -0
- package/hooks/useUpdateEffect.js +1 -1
- package/hooks/useWindowSize.js +1 -1
- package/icon/index.js +1 -1
- package/icon-hover/index.js +1 -1
- package/image/Image.js +2 -2
- package/image/ImagePreview.js +3 -3
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +1 -1
- package/image/index.js +1 -1
- package/index.js +567 -565
- package/input/Group.js +1 -1
- package/input/Input.js +1 -1
- package/input/InputElement.js +1 -1
- package/input/Password.js +1 -1
- package/input/Search.js +1 -1
- package/input/Textarea.js +1 -1
- package/input-number/index.js +1 -1
- package/input-tag/InputTag.js +1 -1
- package/layout/Content.js +1 -1
- package/layout/Footer.js +1 -1
- package/layout/Header.js +1 -1
- package/layout/Sider.js +1 -1
- package/layout/index.js +1 -1
- package/link/index.js +1 -1
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +1 -1
- package/mentions/index.js +1 -1
- package/menu/Menu.js +2 -2
- package/menu/OverflowWrap.js +1 -1
- package/menu/index.js +2 -2
- package/message/index.js +1 -1
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +2 -2
- package/modal/index.js +1 -1
- package/notice/index.js +1 -1
- package/notification/index.js +1 -1
- package/notification/useNotification.js +1 -1
- package/notification/withNotification.js +43 -35
- package/overflow-ellipsis/OverflowItem.js +1 -1
- package/overflow-ellipsis/index.js +1 -1
- package/package.json +1 -1
- package/page-header/index.js +1 -1
- package/pagination/PageItem.js +1 -1
- package/pagination/PageJumper.js +1 -1
- package/pagination/PageOption.js +1 -1
- package/pagination/Pagination.js +1 -1
- package/picker/Input.js +1 -1
- package/picker/InputRange.js +1 -1
- package/popconfirm/index.js +1 -1
- package/popover/index.js +1 -1
- package/progress/index.js +1 -1
- package/radio/Group.js +2 -2
- package/radio/Radio.js +2 -2
- package/radio/index.js +2 -2
- package/rate/index.js +1 -1
- package/resize-box/ResizeTrigger.js +1 -1
- package/resize-box/Split.js +1 -1
- package/resize-box/SplitGroup.js +1 -1
- package/resize-box/index.js +1 -1
- package/result/index.js +1 -1
- package/select/Option.js +1 -1
- package/select/Select.js +2 -2
- package/select-view/Core.js +1 -1
- package/skeleton/index.js +1 -1
- package/slider/Button.js +1 -1
- package/slider/index.js +2 -2
- package/space/index.js +20 -20
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +1 -1
- package/statistic/Countdown.js +1 -1
- package/statistic/index.js +1 -1
- package/steps/index.js +1 -1
- package/switch/index.js +1 -1
- package/table/Table.js +3 -3
- package/table/index.js +89 -81
- package/tabs/Tab.js +2 -2
- package/tabs/TabContent.js +2 -2
- package/tabs/TabPane.js +1 -1
- package/tabs/index.js +2 -2
- package/tag/index.js +1 -1
- package/time-picker/Picker.js +2 -2
- package/time-picker/TimePicker.js +1 -1
- package/timeline/Item.js +1 -1
- package/timeline/Timeline.js +1 -1
- package/tooltip/index.js +1 -1
- package/transfer/Item.js +2 -2
- package/transfer/List.js +2 -2
- package/transfer/index.js +1 -1
- package/tree/Animation.js +2 -2
- package/tree/Node.js +3 -3
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +2 -2
- package/tree/index.js +1 -1
- package/tree-select/Select.js +2 -2
- package/trigger/index.js +1 -1
- package/types/hooks/index.d.ts +1 -0
- package/types/hooks/useListenResize.d.ts +1 -0
- package/types/index.d.ts +1 -1
- package/types/message/interface.d.ts +0 -1
- package/types/notification/interface.d.ts +0 -1
- package/types/space/index.d.ts +3 -4
- package/types/table/hook/useThResizable.d.ts +1 -1
- package/types/version/index.d.ts +4 -4
- package/typography/Base.js +2 -2
- package/typography/Ellipsis.js +8 -8
- package/typography/Paragraph.js +1 -1
- package/typography/Typography.js +1 -1
- package/typography/index.js +8 -8
- package/typography/useEllipsis.js +1 -1
- package/upload/TriggerNode.js +1 -1
- package/upload/Upload.js +1 -1
- package/upload/Uploader.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/index.js +2 -2
- package/verification-code/VerificationCode.js +1 -1
- package/version/index.js +5 -5
- package/watermark/Watermark.js +1 -1
- package/chunk/BSCrLtfQ.js +0 -10
- package/chunk/BSaQv6mx.js +0 -251
- 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/
|
|
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/
|
|
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/
|
|
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
package/tree-select/Select.js
CHANGED
|
@@ -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/
|
|
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/
|
|
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/
|
|
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";
|
package/types/hooks/index.d.ts
CHANGED
|
@@ -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 {
|
|
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';
|
package/types/space/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { SpaceProps, SpaceSize } from './interface';
|
|
3
|
-
declare const
|
|
4
|
-
declare function SpaceVertical(props: SpaceProps, ref: any): import("react/jsx-dev-runtime").JSX.Element;
|
|
5
|
-
export
|
|
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 };
|
package/types/version/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export default
|
|
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;
|
package/typography/Base.js
CHANGED
|
@@ -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/
|
|
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/
|
|
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";
|
package/typography/Ellipsis.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../chunk/
|
|
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/
|
|
63
|
-
import "../chunk/
|
|
64
|
-
import "../chunk/
|
|
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/
|
|
83
|
-
import "../chunk/
|
|
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/
|
|
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/
|
|
107
|
+
import "../chunk/bgmEVbGy.js";
|
|
108
108
|
import "../tag/index.js";
|
|
109
109
|
import "../time-picker/index.js";
|
|
110
110
|
import "../timeline/Timeline.js";
|
package/typography/Paragraph.js
CHANGED
|
@@ -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/
|
|
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) {
|
package/typography/Typography.js
CHANGED
|
@@ -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/
|
|
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);
|
package/typography/index.js
CHANGED
|
@@ -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/
|
|
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/
|
|
63
|
-
import "../chunk/
|
|
64
|
-
import "../chunk/
|
|
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/
|
|
83
|
-
import "../chunk/
|
|
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/
|
|
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/
|
|
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/
|
|
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 || {});
|
package/upload/TriggerNode.js
CHANGED
|
@@ -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/
|
|
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/
|
|
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";
|
package/upload/Uploader.js
CHANGED
|
@@ -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/
|
|
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";
|
package/utils/contextHolder.js
CHANGED
package/utils/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as r } from "../chunk/
|
|
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/
|
|
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/
|
|
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-
|
|
1
|
+
const t = "2025-03-26 16:34:11", I = "1742978051167", E = "2.66.0-beta.2";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
E as VERSION,
|
|
4
|
+
t as VERSION_BUILD_DATE,
|
|
5
|
+
I as VERSION_BUILD_TIME,
|
|
6
|
+
E as default
|
|
7
7
|
};
|
package/watermark/Watermark.js
CHANGED
|
@@ -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/
|
|
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
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
|
-
};
|