@unicom-cloud/ui 0.8.69 → 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/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 +582 -580
- 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/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/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 +1 -1
- package/watermark/Watermark.js +1 -1
- package/chunk/BSCrLtfQ.js +0 -10
- package/chunk/BSaQv6mx.js +0 -251
- package/chunk/ll867Bf3.js +0 -730
|
@@ -5,8 +5,8 @@ import Z from "@unicom-cloud/icons/IconUiFile";
|
|
|
5
5
|
import ee from "@unicom-cloud/icons/IconUiLoading";
|
|
6
6
|
import p from "lodash/isFunction";
|
|
7
7
|
import ne, { useContext as _, useRef as j, useEffect as U, useMemo as Y, forwardRef as te, useState as ie, useCallback as S } from "react";
|
|
8
|
-
import { C as ae } from "./
|
|
9
|
-
import { a as B, I as re } from "./
|
|
8
|
+
import { C as ae } from "./Bh8AO6R8.js";
|
|
9
|
+
import { a as B, I as re } from "./CASwN1hB.js";
|
|
10
10
|
import { m as O } from "./JPPo5nY_.js";
|
|
11
11
|
import oe from "../utils/throttleByRaf.js";
|
|
12
12
|
import se from "lodash/isNumber";
|
|
@@ -6,10 +6,10 @@ import ze from "lodash/isNumber";
|
|
|
6
6
|
import te from "lodash/isPlainObject";
|
|
7
7
|
import Kn from "lodash/throttle";
|
|
8
8
|
import Ve, { useMemo as ae, useCallback as Xe, useState as xe, useRef as me, useContext as Qe, useEffect as yt, forwardRef as It, createElement as Je, createContext as On, useImperativeHandle as Dn } from "react";
|
|
9
|
-
import { a as Ze } from "./
|
|
9
|
+
import { a as Ze } from "./CASwN1hB.js";
|
|
10
10
|
import { u as _n } from "./B2yFlXke.js";
|
|
11
11
|
import { u as Xt } from "./BFTV6myl.js";
|
|
12
|
-
import { u as vt } from "./
|
|
12
|
+
import { u as vt } from "./a3hR6zLw.js";
|
|
13
13
|
import Gt from "../pagination/Pagination.js";
|
|
14
14
|
import Bn from "../spin/index.js";
|
|
15
15
|
import { m as Z } from "./JPPo5nY_.js";
|
|
@@ -24,8 +24,8 @@ import Yn from "../virtual-list/VirtualList.js";
|
|
|
24
24
|
import qn from "@unicom-cloud/icons/IconUiMinus";
|
|
25
25
|
import Xn from "@unicom-cloud/icons/IconUiPlus";
|
|
26
26
|
import Ge from "lodash/isString";
|
|
27
|
-
import { C as Pt } from "./
|
|
28
|
-
import { R as on } from "./
|
|
27
|
+
import { C as Pt } from "./Bh8AO6R8.js";
|
|
28
|
+
import { R as on } from "./DcYqcuGl.js";
|
|
29
29
|
import Qt from "lodash/get";
|
|
30
30
|
import mt from "lodash/isFunction";
|
|
31
31
|
import { u as Gn } from "./CQ_WOOmf.js";
|
|
@@ -3,7 +3,7 @@ import Ke from "@unicom-cloud/icons/IconUiMenuFold";
|
|
|
3
3
|
import _e from "@unicom-cloud/icons/IconUiMenuUnfold";
|
|
4
4
|
import Re from "lodash/isPlainObject";
|
|
5
5
|
import F, { useContext as T, useState as fe, forwardRef as he, useEffect as te, useRef as ne, useMemo as Te } from "react";
|
|
6
|
-
import { a as ge } from "./
|
|
6
|
+
import { a as ge } from "./CASwN1hB.js";
|
|
7
7
|
import { u as Ae } from "./CQ_WOOmf.js";
|
|
8
8
|
import { u as oe } from "./B4YRLi8r.js";
|
|
9
9
|
import { u as Ue } from "./XTEsYGuF.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as i, jsxs as z, Fragment as O } from "react/jsx-runtime";
|
|
|
2
2
|
import j from "lodash/isFunction";
|
|
3
3
|
import w from "lodash/isNil";
|
|
4
4
|
import B, { createContext as H, useContext as G, useRef as L } from "react";
|
|
5
|
-
import { a as A, I as Q } from "./
|
|
5
|
+
import { a as A, I as Q } from "./CASwN1hB.js";
|
|
6
6
|
import { u as D } from "./BFTV6myl.js";
|
|
7
7
|
import { u as F } from "./CdaT1b_F.js";
|
|
8
8
|
import { m as I } from "./JPPo5nY_.js";
|
|
@@ -3,7 +3,7 @@ import en from "@unicom-cloud/icons/IconUiClose";
|
|
|
3
3
|
import Ee from "lodash/isFunction";
|
|
4
4
|
import nn, { forwardRef as Pe, useState as P, useImperativeHandle as tn, useRef as b, useContext as on, useCallback as S, useEffect as te } from "react";
|
|
5
5
|
import Me from "../button/index.js";
|
|
6
|
-
import { b as Ie, d as rn, a as ln, I as sn } from "./
|
|
6
|
+
import { b as Ie, d as rn, a as ln, I as sn } from "./CASwN1hB.js";
|
|
7
7
|
import { u as an } from "./BFTV6myl.js";
|
|
8
8
|
import { u as cn } from "./CdaT1b_F.js";
|
|
9
9
|
import { u as un } from "./CbLaCJmG.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as u, jsxs as ee } from "react/jsx-runtime";
|
|
|
2
2
|
import fe from "lodash/isFunction";
|
|
3
3
|
import ke from "lodash/isPlainObject";
|
|
4
4
|
import te, { useContext as ie, useRef as V, useState as we, useEffect as L, useMemo as ae, useCallback as at, useImperativeHandle as ct } from "react";
|
|
5
|
-
import { a as Oe, I as me } from "./
|
|
5
|
+
import { a as Oe, I as me } from "./CASwN1hB.js";
|
|
6
6
|
import { u as st } from "./B4YRLi8r.js";
|
|
7
7
|
import { u as lt } from "./BFTV6myl.js";
|
|
8
8
|
import { u as dt } from "./CdaT1b_F.js";
|
|
@@ -19,7 +19,7 @@ import { setTransformStyle as pt } from "../utils/style.js";
|
|
|
19
19
|
import Ye from "@unicom-cloud/icons/IconUiDown";
|
|
20
20
|
import je from "lodash/isNull";
|
|
21
21
|
import bt from "../dropdown/index.js";
|
|
22
|
-
import { M as Ae } from "./
|
|
22
|
+
import { M as Ae } from "./DFf75sXd.js";
|
|
23
23
|
import gt from "lodash/isEqualWith";
|
|
24
24
|
import vt from "../utils/throttleByRaf.js";
|
|
25
25
|
import Me from "@unicom-cloud/icons/IconUiLeft";
|
|
@@ -12,12 +12,12 @@ import W from "lodash/isFunction";
|
|
|
12
12
|
import oe from "lodash/isPlainObject";
|
|
13
13
|
import Y from "lodash/isString";
|
|
14
14
|
import Je, { useRef as K, useState as le, useCallback as ae, useEffect as Z, forwardRef as Ge, useContext as Qe, useImperativeHandle as Xe } from "react";
|
|
15
|
-
import { a as Ye } from "./
|
|
15
|
+
import { a as Ye } from "./CASwN1hB.js";
|
|
16
16
|
import { u as ue } from "./CQ_WOOmf.js";
|
|
17
17
|
import { u as Ze } from "./B4YRLi8r.js";
|
|
18
18
|
import { u as et } from "./BFTV6myl.js";
|
|
19
19
|
import { u as ve } from "./CdaT1b_F.js";
|
|
20
|
-
import { u as re } from "./
|
|
20
|
+
import { u as re } from "./a3hR6zLw.js";
|
|
21
21
|
import tt from "../select-view/index.js";
|
|
22
22
|
import nt from "../trigger/index.js";
|
|
23
23
|
import { m as q } from "./JPPo5nY_.js";
|
|
@@ -26,7 +26,7 @@ import { b as st, P as it } from "./DzVH9IBy.js";
|
|
|
26
26
|
import me from "lodash/isEqualWith";
|
|
27
27
|
import ee from "lodash/get";
|
|
28
28
|
import { p as ct } from "./CVYWxu00.js";
|
|
29
|
-
import { C as Oe } from "./
|
|
29
|
+
import { C as Oe } from "./Bh8AO6R8.js";
|
|
30
30
|
import { u as ot } from "./oopARUrq.js";
|
|
31
31
|
import { on as Le, off as de } from "../utils/dom.js";
|
|
32
32
|
import "./D-TPB2Do.js";
|
|
@@ -15,7 +15,7 @@ import Pt from "@unicom-cloud/icons/IconUiZoomIn";
|
|
|
15
15
|
import Lt from "@unicom-cloud/icons/IconUiZoomOut";
|
|
16
16
|
import zt from "lodash/isUndefined";
|
|
17
17
|
import { useState as g, forwardRef as Nt, useContext as ke, useRef as x, useMemo as Ce, useImperativeHandle as Mt, useCallback as Tt, useEffect as v } from "react";
|
|
18
|
-
import { a as At, b as Ot } from "./
|
|
18
|
+
import { a as At, b as Ot } from "./CASwN1hB.js";
|
|
19
19
|
import "lodash/isEqualWith";
|
|
20
20
|
import { u as Et } from "./CdaT1b_F.js";
|
|
21
21
|
import "./D-TPB2Do.js";
|
|
@@ -28,7 +28,7 @@ import { u as Vt } from "./BFTV6myl.js";
|
|
|
28
28
|
import { u as Bt } from "./CbLaCJmG.js";
|
|
29
29
|
import { f as Ft } from "./C48SmsN-.js";
|
|
30
30
|
import "./Ce1j9KTi.js";
|
|
31
|
-
import { u as Wt } from "./
|
|
31
|
+
import { u as Wt } from "./a3hR6zLw.js";
|
|
32
32
|
import "lodash/debounce";
|
|
33
33
|
import Zt from "../portal/index.js";
|
|
34
34
|
import { P as Ie } from "./DzVH9IBy.js";
|
package/collapse/Collapse.js
CHANGED
|
@@ -3,12 +3,12 @@ import "@unicom-cloud/icons/IconUiCaretLeft";
|
|
|
3
3
|
import "@unicom-cloud/icons/IconUiCaretRight";
|
|
4
4
|
import "lodash/isFunction";
|
|
5
5
|
import "react";
|
|
6
|
-
import "../chunk/
|
|
6
|
+
import "../chunk/CASwN1hB.js";
|
|
7
7
|
import "../chunk/BFTV6myl.js";
|
|
8
8
|
import "../chunk/CdaT1b_F.js";
|
|
9
9
|
import "../chunk/JPPo5nY_.js";
|
|
10
10
|
import "../chunk/BKKEev13.js";
|
|
11
|
-
import { a as x, C as d } from "../chunk/
|
|
11
|
+
import { a as x, C as d } from "../chunk/B80D01PB.js";
|
|
12
12
|
export {
|
|
13
13
|
x as CollapseContext,
|
|
14
14
|
d as default
|
package/collapse/Item.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../chunk/DzVH9IBy.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import "../chunk/
|
|
4
|
+
import "../chunk/CASwN1hB.js";
|
|
5
5
|
import "../chunk/XTEsYGuF.js";
|
|
6
6
|
import "../chunk/JPPo5nY_.js";
|
|
7
7
|
import "../utils/dom.js";
|
|
8
|
-
import { I as d } from "../chunk/
|
|
8
|
+
import { I as d } from "../chunk/B80D01PB.js";
|
|
9
9
|
export {
|
|
10
10
|
d as default
|
|
11
11
|
};
|
package/collapse/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as b } from "react";
|
|
3
|
-
import { a as l } from "../chunk/
|
|
3
|
+
import { a as l } from "../chunk/CASwN1hB.js";
|
|
4
4
|
import { m as B } from "../chunk/JPPo5nY_.js";
|
|
5
5
|
import { u as R } from "../chunk/k-OUstoD.js";
|
|
6
6
|
const P = ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as i } from "react";
|
|
3
|
-
import { a as p } from "../chunk/
|
|
3
|
+
import { a as p } from "../chunk/CASwN1hB.js";
|
|
4
4
|
import { InputNumber as s } from "../input/Input.js";
|
|
5
5
|
const l = ({ value: o, onChange: t }) => {
|
|
6
6
|
const { getPrefixCls: n } = i(p), r = n("color-picker");
|
package/color-picker/InputHex.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as v, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { n as c } from "../chunk/B4JiMp8I.js";
|
|
3
3
|
import { useContext as I, useState as j, useEffect as D } from "react";
|
|
4
|
-
import { a as E } from "../chunk/
|
|
4
|
+
import { a as E } from "../chunk/CASwN1hB.js";
|
|
5
5
|
import f from "../input/Input.js";
|
|
6
6
|
import { InputAlpha as H } from "./InputAlpha.js";
|
|
7
7
|
const N = ({
|
package/color-picker/InputRgb.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as h, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { n as x } from "../chunk/B4JiMp8I.js";
|
|
3
3
|
import { useContext as f } from "react";
|
|
4
|
-
import { a as b } from "../chunk/
|
|
4
|
+
import { a as b } from "../chunk/CASwN1hB.js";
|
|
5
5
|
import I, { InputNumber as m } from "../input/Input.js";
|
|
6
6
|
import { InputAlpha as d } from "./InputAlpha.js";
|
|
7
7
|
const E = ({
|
package/color-picker/Palette.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { n as C } from "../chunk/B4JiMp8I.js";
|
|
3
3
|
import { useContext as d, useMemo as h } from "react";
|
|
4
|
-
import { a as g } from "../chunk/
|
|
4
|
+
import { a as g } from "../chunk/CASwN1hB.js";
|
|
5
5
|
import { u as x } from "../chunk/k-OUstoD.js";
|
|
6
6
|
const w = ({ color: l, onChange: c }) => {
|
|
7
7
|
const { getPrefixCls: a } = d(g), e = a("color-picker"), { h: r, s: t, v: n } = l.hsv, { blockRef: f, handlerRef: i, onMouseDown: m } = x({
|
package/color-picker/Panel.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { n as d } from "../chunk/B4JiMp8I.js";
|
|
3
3
|
import { useContext as ir, useState as ar, useMemo as sr } from "react";
|
|
4
|
-
import { a as dr } from "../chunk/
|
|
5
|
-
import { R as x } from "../chunk/
|
|
4
|
+
import { a as dr } from "../chunk/CASwN1hB.js";
|
|
5
|
+
import { R as x } from "../chunk/DcYqcuGl.js";
|
|
6
6
|
import mr from "../select/Select.js";
|
|
7
7
|
import X from "../tooltip/index.js";
|
|
8
8
|
import { m as ur } from "../chunk/JPPo5nY_.js";
|
package/color-picker/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as P, jsxs as K } from "react/jsx-runtime";
|
|
|
2
2
|
import te from "lodash/isFunction";
|
|
3
3
|
import ne from "lodash/isNil";
|
|
4
4
|
import ie, { useState as k, useRef as L, useMemo as q, useCallback as Q, useEffect as D, useContext as se } from "react";
|
|
5
|
-
import { a as ae } from "../chunk/
|
|
5
|
+
import { a as ae } from "../chunk/CASwN1hB.js";
|
|
6
6
|
import le from "../copy/index.js";
|
|
7
7
|
import { u as ce } from "../chunk/BFTV6myl.js";
|
|
8
8
|
import de from "../trigger/index.js";
|
package/comment/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as n, jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import g from "lodash/isPlainObject";
|
|
3
3
|
import N from "lodash/isString";
|
|
4
4
|
import { forwardRef as u, useContext as v } from "react";
|
|
5
|
-
import { a as C } from "../chunk/
|
|
5
|
+
import { a as C } from "../chunk/CASwN1hB.js";
|
|
6
6
|
import { u as x } from "../chunk/BFTV6myl.js";
|
|
7
7
|
import { m as d } from "../chunk/JPPo5nY_.js";
|
|
8
8
|
import { a as P } from "../chunk/ClqoGc3r.js";
|
|
@@ -4,7 +4,7 @@ import "../chunk/B4JiMp8I.js";
|
|
|
4
4
|
import "lodash/isPlainObject";
|
|
5
5
|
import "react";
|
|
6
6
|
import "../chunk/BFTV6myl.js";
|
|
7
|
-
import { C as f, a as n, e as g, b as l } from "../chunk/
|
|
7
|
+
import { C as f, a as n, e as g, b as l } from "../chunk/CASwN1hB.js";
|
|
8
8
|
import "../modal/config.js";
|
|
9
9
|
import "../chunk/BKKEev13.js";
|
|
10
10
|
export {
|
package/config-provider/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as r } from "../chunk/
|
|
2
|
-
import { C as s, a as f, e as t } from "../chunk/
|
|
1
|
+
import { b as r } from "../chunk/CASwN1hB.js";
|
|
2
|
+
import { C as s, a as f, e as t } from "../chunk/CASwN1hB.js";
|
|
3
3
|
export {
|
|
4
4
|
s as ConfigConsumer,
|
|
5
5
|
f as ConfigContext,
|
package/copy/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as T } from "react/jsx-runtime";
|
|
|
2
2
|
import h from "@unicom-cloud/icons/IconUiCheckCircleFill";
|
|
3
3
|
import b from "@unicom-cloud/icons/IconUiCopy";
|
|
4
4
|
import { useContext as P, useState as w, useRef as E, useEffect as k } from "react";
|
|
5
|
-
import { a as v } from "../chunk/
|
|
5
|
+
import { a as v } from "../chunk/CASwN1hB.js";
|
|
6
6
|
import { u as I } from "../chunk/XTEsYGuF.js";
|
|
7
7
|
import N from "../tooltip/index.js";
|
|
8
8
|
import { m as j } from "../chunk/JPPo5nY_.js";
|
package/date-picker/Picker.js
CHANGED
|
@@ -6,10 +6,10 @@ import Ie from "lodash/isArray";
|
|
|
6
6
|
import bo from "lodash/isPlainObject";
|
|
7
7
|
import ko from "lodash/isUndefined";
|
|
8
8
|
import jo, { forwardRef as To, useContext as Lo, useRef as ie, useImperativeHandle as No, useState as m, useEffect as Ho } from "react";
|
|
9
|
-
import { a as Mo } from "../chunk/
|
|
9
|
+
import { a as Mo } from "../chunk/CASwN1hB.js";
|
|
10
10
|
import { u as Io } from "../chunk/BFTV6myl.js";
|
|
11
11
|
import { u as Ee } from "../chunk/VSe_Wq1g.js";
|
|
12
|
-
import { u as Eo } from "../chunk/
|
|
12
|
+
import { u as Eo } from "../chunk/a3hR6zLw.js";
|
|
13
13
|
import Oo from "../picker/Input.js";
|
|
14
14
|
import zo from "../trigger/index.js";
|
|
15
15
|
import { m as Fo } from "../chunk/JPPo5nY_.js";
|
|
@@ -6,10 +6,10 @@ import "lodash/isArray";
|
|
|
6
6
|
import "lodash/isPlainObject";
|
|
7
7
|
import "lodash/isUndefined";
|
|
8
8
|
import "react";
|
|
9
|
-
import "../chunk/
|
|
9
|
+
import "../chunk/CASwN1hB.js";
|
|
10
10
|
import "../chunk/BFTV6myl.js";
|
|
11
11
|
import "../chunk/VSe_Wq1g.js";
|
|
12
|
-
import "../chunk/
|
|
12
|
+
import "../chunk/a3hR6zLw.js";
|
|
13
13
|
import "../picker/InputRange.js";
|
|
14
14
|
import "../trigger/index.js";
|
|
15
15
|
import "../chunk/JPPo5nY_.js";
|
|
@@ -17,7 +17,7 @@ import "../chunk/tamGhTJp.js";
|
|
|
17
17
|
import "../chunk/ClqoGc3r.js";
|
|
18
18
|
import "./context.js";
|
|
19
19
|
import "../chunk/CC---6jO.js";
|
|
20
|
-
import { P as q } from "../chunk
|
|
20
|
+
import { P as q } from "../chunk/-C2QiGwq.js";
|
|
21
21
|
import "./util.js";
|
|
22
22
|
export {
|
|
23
23
|
q as default
|
package/date-picker/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import k, { useRef as P, useImperativeHandle as d } from "react";
|
|
3
3
|
import p from "./Picker.js";
|
|
4
|
-
import { P as u, D as f, Q as l, W as y, Y as N, M as $ } from "../chunk
|
|
4
|
+
import { P as u, D as f, Q as l, W as y, Y as N, M as $ } from "../chunk/-C2QiGwq.js";
|
|
5
5
|
function c(s, i) {
|
|
6
6
|
function o(n, m) {
|
|
7
7
|
const t = P();
|
package/descriptions/index.js
CHANGED
|
@@ -1,80 +1,85 @@
|
|
|
1
1
|
import { jsxs as c, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { a as
|
|
7
|
-
import { u as
|
|
8
|
-
import { m as
|
|
9
|
-
import
|
|
10
|
-
const
|
|
2
|
+
import C from "lodash/isArray";
|
|
3
|
+
import V from "lodash/isNumber";
|
|
4
|
+
import q from "lodash/isPlainObject";
|
|
5
|
+
import { useContext as B, useState as G, useRef as J, useEffect as K, Fragment as x } from "react";
|
|
6
|
+
import { a as Q } from "../chunk/CASwN1hB.js";
|
|
7
|
+
import { u as U } from "../chunk/BFTV6myl.js";
|
|
8
|
+
import { m as W } from "../chunk/JPPo5nY_.js";
|
|
9
|
+
import P, { responsiveArray as k } from "../utils/responsiveObserve.js";
|
|
10
|
+
const z = (f) => C(f) ? f.reduce((h, p) => h + (p.span || 1), 0) : 0, X = {
|
|
11
11
|
layout: "horizontal",
|
|
12
12
|
column: 3,
|
|
13
13
|
tableLayout: "auto"
|
|
14
14
|
};
|
|
15
|
-
function
|
|
16
|
-
const {
|
|
15
|
+
function Y(f) {
|
|
16
|
+
const {
|
|
17
|
+
getPrefixCls: h,
|
|
18
|
+
componentConfig: p,
|
|
19
|
+
rtl: I,
|
|
20
|
+
size: v
|
|
21
|
+
} = B(Q), w = U(
|
|
17
22
|
f,
|
|
18
|
-
|
|
23
|
+
X,
|
|
19
24
|
p == null ? void 0 : p.Descriptions
|
|
20
25
|
), {
|
|
21
|
-
style:
|
|
22
|
-
className:
|
|
26
|
+
style: D,
|
|
27
|
+
className: L,
|
|
23
28
|
column: m,
|
|
24
|
-
title:
|
|
29
|
+
title: N,
|
|
25
30
|
data: b,
|
|
26
|
-
border:
|
|
31
|
+
border: O,
|
|
27
32
|
labelStyle: y,
|
|
28
33
|
valueStyle: $,
|
|
29
34
|
colon: d,
|
|
30
35
|
layout: u,
|
|
31
|
-
size:
|
|
32
|
-
tableLayout:
|
|
33
|
-
} =
|
|
34
|
-
|
|
35
|
-
for (let t = 0; t <
|
|
36
|
-
const e =
|
|
37
|
-
if (
|
|
38
|
-
|
|
36
|
+
size: g,
|
|
37
|
+
tableLayout: j
|
|
38
|
+
} = w, s = h("descriptions"), [A, E] = G(), S = J(null);
|
|
39
|
+
K(() => (S.current = P.subscribe((n) => {
|
|
40
|
+
for (let t = 0; t < k.length; t++) {
|
|
41
|
+
const e = k[t];
|
|
42
|
+
if (n[e]) {
|
|
43
|
+
E(e);
|
|
39
44
|
break;
|
|
40
45
|
}
|
|
41
46
|
}
|
|
42
47
|
}), () => {
|
|
43
|
-
|
|
48
|
+
P.unsubscribe(S.current);
|
|
44
49
|
}), []);
|
|
45
|
-
let
|
|
46
|
-
|
|
50
|
+
let l = 3;
|
|
51
|
+
q(m) && (l = m[A] || 3), V(m) && m > 0 && (l = m);
|
|
47
52
|
const o = [];
|
|
48
|
-
if (
|
|
53
|
+
if (C(b) && b.length > 0 && l) {
|
|
49
54
|
b.forEach((e) => {
|
|
50
|
-
const i = o[o.length - 1],
|
|
51
|
-
|
|
55
|
+
const i = o[o.length - 1], a = z(i);
|
|
56
|
+
a === 0 ? o.push([
|
|
52
57
|
{
|
|
53
58
|
...e,
|
|
54
|
-
span: e.span ? e.span >
|
|
59
|
+
span: e.span ? e.span > l ? l : e.span : 1
|
|
55
60
|
}
|
|
56
|
-
]) :
|
|
61
|
+
]) : a === l ? o.push([
|
|
57
62
|
{
|
|
58
63
|
...e,
|
|
59
|
-
span: e.span ? e.span >
|
|
64
|
+
span: e.span ? e.span > l ? l : e.span : 1
|
|
60
65
|
}
|
|
61
66
|
]) : i.push({
|
|
62
67
|
...e,
|
|
63
|
-
span: e.span ? e.span +
|
|
68
|
+
span: e.span ? e.span + a > l ? l - a : e.span : 1
|
|
64
69
|
});
|
|
65
70
|
});
|
|
66
|
-
const
|
|
67
|
-
t <
|
|
71
|
+
const n = o[o.length - 1], t = z(n);
|
|
72
|
+
t < l && (n[n.length - 1].span = n[n.length - 1].span + l - t);
|
|
68
73
|
}
|
|
69
|
-
function
|
|
70
|
-
return /* @__PURE__ */ c(
|
|
71
|
-
/* @__PURE__ */ r("tr", { className: `${
|
|
72
|
-
const
|
|
74
|
+
function F(n, t) {
|
|
75
|
+
return /* @__PURE__ */ c(x, { children: [
|
|
76
|
+
/* @__PURE__ */ r("tr", { className: `${s}-row`, children: n.map((e, i) => {
|
|
77
|
+
const a = e.span > 1 ? { colSpan: e.span } : {};
|
|
73
78
|
return /* @__PURE__ */ c(
|
|
74
79
|
"td",
|
|
75
80
|
{
|
|
76
|
-
className: `${
|
|
77
|
-
...
|
|
81
|
+
className: `${s}-item-label`,
|
|
82
|
+
...a,
|
|
78
83
|
style: y,
|
|
79
84
|
children: [
|
|
80
85
|
e.label,
|
|
@@ -84,13 +89,13 @@ function X(f) {
|
|
|
84
89
|
`${e.key || i}_label`
|
|
85
90
|
);
|
|
86
91
|
}) }),
|
|
87
|
-
/* @__PURE__ */ r("tr", { className: `${
|
|
88
|
-
const
|
|
92
|
+
/* @__PURE__ */ r("tr", { className: `${s}-row`, children: n.map((e, i) => {
|
|
93
|
+
const a = e.span > 1 ? { colSpan: e.span } : {};
|
|
89
94
|
return /* @__PURE__ */ r(
|
|
90
95
|
"td",
|
|
91
96
|
{
|
|
92
|
-
className: `${
|
|
93
|
-
...
|
|
97
|
+
className: `${s}-item-value`,
|
|
98
|
+
...a,
|
|
94
99
|
style: $,
|
|
95
100
|
children: e.value
|
|
96
101
|
},
|
|
@@ -99,19 +104,19 @@ function X(f) {
|
|
|
99
104
|
}) })
|
|
100
105
|
] }, t);
|
|
101
106
|
}
|
|
102
|
-
function
|
|
103
|
-
return /* @__PURE__ */ r("tr", { className: `${
|
|
104
|
-
const
|
|
105
|
-
return /* @__PURE__ */ c(
|
|
106
|
-
/* @__PURE__ */ c("td", { className: `${
|
|
107
|
+
function H(n, t) {
|
|
108
|
+
return /* @__PURE__ */ r("tr", { className: `${s}-row`, children: n.map((e, i) => {
|
|
109
|
+
const a = e.span > 1 ? { colSpan: e.span * 2 - 1 } : {};
|
|
110
|
+
return /* @__PURE__ */ c(x, { children: [
|
|
111
|
+
/* @__PURE__ */ c("td", { className: `${s}-item-label`, style: y, children: [
|
|
107
112
|
e.label,
|
|
108
113
|
d
|
|
109
114
|
] }),
|
|
110
115
|
/* @__PURE__ */ r(
|
|
111
116
|
"td",
|
|
112
117
|
{
|
|
113
|
-
className: `${
|
|
114
|
-
...
|
|
118
|
+
className: `${s}-item-value`,
|
|
119
|
+
...a,
|
|
115
120
|
style: $,
|
|
116
121
|
children: e.value
|
|
117
122
|
}
|
|
@@ -119,19 +124,19 @@ function X(f) {
|
|
|
119
124
|
] }, e.key || i);
|
|
120
125
|
}) }, t);
|
|
121
126
|
}
|
|
122
|
-
function
|
|
123
|
-
return /* @__PURE__ */ r("tr", { className: `${
|
|
124
|
-
const
|
|
127
|
+
function M(n, t) {
|
|
128
|
+
return /* @__PURE__ */ r("tr", { className: `${s}-row`, children: n.map((e, i) => {
|
|
129
|
+
const a = e.span > 1 ? { colSpan: e.span } : {};
|
|
125
130
|
return /* @__PURE__ */ c(
|
|
126
131
|
"td",
|
|
127
132
|
{
|
|
128
|
-
...
|
|
129
|
-
className: `${
|
|
133
|
+
...a,
|
|
134
|
+
className: `${s}-item`,
|
|
130
135
|
children: [
|
|
131
136
|
/* @__PURE__ */ c(
|
|
132
137
|
"div",
|
|
133
138
|
{
|
|
134
|
-
className: `${
|
|
139
|
+
className: `${s}-item-label-inline`,
|
|
135
140
|
style: y,
|
|
136
141
|
children: [
|
|
137
142
|
e.label,
|
|
@@ -142,7 +147,7 @@ function X(f) {
|
|
|
142
147
|
/* @__PURE__ */ r(
|
|
143
148
|
"div",
|
|
144
149
|
{
|
|
145
|
-
className: `${
|
|
150
|
+
className: `${s}-item-value-inline`,
|
|
146
151
|
style: $,
|
|
147
152
|
children: e.value
|
|
148
153
|
}
|
|
@@ -153,26 +158,26 @@ function X(f) {
|
|
|
153
158
|
);
|
|
154
159
|
}) }, t);
|
|
155
160
|
}
|
|
156
|
-
function
|
|
157
|
-
return u === "inline-vertical" || u === "inline-horizontal" ?
|
|
161
|
+
function R(n, t) {
|
|
162
|
+
return u === "inline-vertical" || u === "inline-horizontal" ? M(n, t) : u === "vertical" ? F(n, t) : H(n, t);
|
|
158
163
|
}
|
|
159
|
-
const
|
|
160
|
-
|
|
164
|
+
const T = W(
|
|
165
|
+
s,
|
|
161
166
|
{
|
|
162
|
-
[`${
|
|
163
|
-
[`${
|
|
164
|
-
[`${
|
|
165
|
-
[`${
|
|
166
|
-
[`${
|
|
167
|
+
[`${s}-border`]: O,
|
|
168
|
+
[`${s}-layout-${u}`]: u,
|
|
169
|
+
[`${s}-size-${g || v}`]: g || v,
|
|
170
|
+
[`${s}-table-layout-fixed`]: j === "fixed",
|
|
171
|
+
[`${s}-rtl`]: I
|
|
167
172
|
},
|
|
168
|
-
|
|
173
|
+
L
|
|
169
174
|
);
|
|
170
|
-
return /* @__PURE__ */ c("div", { className:
|
|
171
|
-
|
|
172
|
-
/* @__PURE__ */ r("div", { className: `${
|
|
175
|
+
return /* @__PURE__ */ c("div", { className: T, style: D, children: [
|
|
176
|
+
N && /* @__PURE__ */ r("div", { className: `${s}-title`, children: N }),
|
|
177
|
+
/* @__PURE__ */ r("div", { className: `${s}-body`, children: /* @__PURE__ */ r("table", { className: `${s}-table`, cellPadding: 0, cellSpacing: 0, children: /* @__PURE__ */ r("tbody", { children: o.map((n, t) => R(n, t)) }) }) })
|
|
173
178
|
] });
|
|
174
179
|
}
|
|
175
|
-
|
|
180
|
+
Y.displayName = "Descriptions";
|
|
176
181
|
export {
|
|
177
|
-
|
|
182
|
+
Y as default
|
|
178
183
|
};
|
package/divider/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as x, useContext as u } from "react";
|
|
3
|
-
import { a as $ } from "../chunk/
|
|
3
|
+
import { a as $ } from "../chunk/CASwN1hB.js";
|
|
4
4
|
import { u as h } from "../chunk/BFTV6myl.js";
|
|
5
5
|
import { m as v } from "../chunk/JPPo5nY_.js";
|
|
6
6
|
const C = {
|
package/draggable/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import x, { useContext as I, useState as C } from "react";
|
|
3
|
-
import { a as D } from "../chunk/
|
|
3
|
+
import { a as D } from "../chunk/CASwN1hB.js";
|
|
4
4
|
import { m as h } from "../chunk/JPPo5nY_.js";
|
|
5
5
|
import v from "./Item.js";
|
|
6
6
|
function R(s) {
|
package/drawer/Drawer.js
CHANGED
|
@@ -3,7 +3,7 @@ import pe from "@unicom-cloud/icons/IconUiClose";
|
|
|
3
3
|
import fe from "lodash/isFunction";
|
|
4
4
|
import he, { useContext as Ce, useRef as T, useState as d, useCallback as xe, useMemo as ye, useImperativeHandle as ke, useEffect as z } from "react";
|
|
5
5
|
import F from "../button/index.js";
|
|
6
|
-
import { a as Ne, I as be, b as B } from "../chunk/
|
|
6
|
+
import { a as Ne, I as be, b as B } from "../chunk/CASwN1hB.js";
|
|
7
7
|
import { u as ge } from "../chunk/BFTV6myl.js";
|
|
8
8
|
import { u as we } from "../chunk/CbLaCJmG.js";
|
|
9
9
|
import Ie from "../portal/index.js";
|