@unicom-cloud/ui 0.8.73 → 0.8.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Affix.js +2 -2
- package/Alert.js +3 -3
- package/AutoComplete.js +2 -2
- package/BackTop.js +4 -4
- package/Badge.js +3 -3
- package/Breadcrumb.js +3 -3
- package/Button.js +2 -2
- package/Calendar.js +3 -3
- package/Card.js +2 -2
- package/Carousel.js +2 -2
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +2 -2
- package/Comment.js +2 -2
- package/ConfigProvider.js +1 -1
- package/Copy.js +3 -3
- package/DatePicker.js +1 -1
- package/Descriptions.js +2 -2
- package/Divider.js +2 -2
- package/Draggable.js +2 -2
- package/Dropdown.js +2 -2
- package/Empty.js +2 -2
- package/Icon.js +2 -2
- package/IconHover.js +2 -2
- package/Image.js +1 -1
- package/InputNumber.js +2 -2
- package/Layout.js +2 -2
- package/Link.js +2 -2
- package/List.js +2 -2
- package/Mentions.js +2 -2
- package/Menu.js +1 -1
- package/Message.js +4 -4
- package/Modal.js +1 -1
- package/Notice.js +2 -2
- package/Notification.js +4 -4
- package/OverflowEllipsis.js +2 -2
- package/PageHeader.js +2 -2
- package/Popconfirm.js +2 -2
- package/Popover.js +2 -2
- package/Progress.js +2 -2
- package/Radio.js +1 -1
- package/Rate.js +2 -2
- package/ResizeBox.js +2 -2
- package/Result.js +2 -2
- package/SelectView.js +1 -1
- package/Skeleton.js +2 -2
- package/Slider.js +2 -2
- package/Space.js +2 -2
- package/SpeechSynthesis.js +4 -4
- package/Spin.js +2 -2
- package/Statistic.js +3 -3
- package/Steps.js +2 -2
- package/Switch.js +4 -4
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +2 -2
- package/Tooltip.js +3 -3
- package/Transfer.js +2 -2
- package/Tree.js +1 -1
- package/Trigger.js +3 -3
- package/affix/index.js +2 -2
- package/alert/index.js +9 -9
- package/anchor/Anchor.js +26 -26
- package/anchor/Link.js +2 -2
- package/anchor/util.js +1 -1
- package/auto-complete/index.js +2 -2
- package/avatar/Avatar.js +2 -2
- package/avatar/Group.js +2 -2
- package/back-top/index.js +11 -11
- package/badge/Count.js +7 -7
- package/badge/index.js +9 -9
- package/breadcrumb/Item.js +6 -6
- package/breadcrumb/index.js +3 -3
- package/button/Group.js +2 -2
- package/button/index.js +2 -2
- package/calendar/Month.js +2 -2
- package/calendar/Year.js +1 -1
- package/calendar/index.js +4 -4
- package/card/Grid.js +5 -5
- package/card/Meta.js +4 -4
- package/card/index.js +2 -2
- package/carousel/Arrow.js +2 -2
- package/carousel/Indicator.js +6 -6
- package/carousel/index.js +2 -2
- package/cascader/Cascader.js +3 -3
- package/cascader/index.js +1 -1
- package/cascader/util.js +1 -1
- package/checkbox/Checkbox.js +3 -3
- package/checkbox/Group.js +3 -3
- package/checkbox/index.js +1 -1
- package/chunk/{B0UZ1Ee2.js → 9we0Q8Kh.js} +3 -3
- package/chunk/{DJDOFlqC.js → BDZpJpz-.js} +2 -2
- package/chunk/BFmckYou.js +25 -0
- package/chunk/{Cj2SQJiO.js → BJ9_azwQ.js} +487 -487
- package/chunk/{7HDzVe32.js → Bd9zhOZS.js} +4 -4
- package/chunk/{uKZyjtff.js → BhBEMwvI.js} +21 -20
- package/chunk/{uH6uxyao.js → BoUHPeG7.js} +2 -2
- package/chunk/{Bj4EV0eG.js → BpYX5PN4.js} +1 -1
- package/chunk/{oHDWCJnz.js → Bu8A2l60.js} +3 -3
- package/chunk/CUFsOxJ2.js +10 -0
- package/chunk/CWjvjpyc.js +873 -0
- package/chunk/{Byd0ztYY.js → Crs3isAx.js} +4 -4
- package/chunk/{Ey4YJCkX.js → D0Dlbc2g.js} +2 -1
- package/chunk/{Dg0M2OmF.js → D5UfU6-H.js} +5 -5
- package/chunk/{UDX9U6M7.js → DJ8rDYjb.js} +3 -3
- package/chunk/{AwZqeapI.js → DRTWRsgI.js} +1 -1
- package/chunk/{D2LLXZQX.js → DdT3C0ih.js} +4 -4
- package/chunk/{DejjIa3N.js → Dn7KbmZ7.js} +35 -35
- package/chunk/{DpoumMDw.js → DohlrJ4S.js} +1 -1
- package/chunk/{B7hulkj9.js → NmSLBKjp.js} +2 -2
- package/chunk/{CiY7w1ZO.js → _L2dKF58.js} +3 -3
- package/chunk/{BJ1soa2K.js → uEGHykhe.js} +18 -18
- package/collapse/Collapse.js +3 -3
- package/collapse/Item.js +4 -4
- package/collapse/index.js +1 -1
- package/color-picker/ControlBar.js +2 -2
- package/color-picker/InputAlpha.js +1 -1
- package/color-picker/InputHex.js +2 -2
- package/color-picker/InputRgb.js +2 -2
- package/color-picker/Palette.js +2 -2
- package/color-picker/Panel.js +4 -4
- package/color-picker/colors.js +20 -9
- package/color-picker/index.js +20 -20
- package/color-picker/utils.js +1 -1
- package/comment/index.js +6 -6
- package/config-provider/ConfigProvider.js +2 -2
- package/config-provider/context.js +1 -1
- package/config-provider/index.js +2 -2
- package/copy/index.js +16 -16
- 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 +2 -2
- package/divider/index.js +5 -5
- package/draggable/Item.js +1 -1
- package/draggable/index.js +9 -9
- package/drawer/Drawer.js +3 -3
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +2 -2
- package/empty/index.js +2 -2
- package/form/Control.js +1 -1
- package/form/Form.js +2 -2
- package/form/FormItem.js +3 -3
- package/form/FormLabel.js +9 -9
- package/grid/Col.js +2 -2
- package/grid/Row.js +2 -2
- package/grid/grid-item.js +2 -2
- package/grid/grid.js +8 -8
- package/icon/index.js +11 -11
- package/icon-hover/index.js +2 -2
- package/image/Image.js +4 -4
- package/image/ImageFooter.js +2 -2
- package/image/ImagePreview.js +5 -5
- package/image/ImagePreviewArrow.js +4 -4
- package/image/ImagePreviewGroup.js +1 -1
- package/image/ImagePreviewToolbar.js +1 -1
- package/image/TriggerForToolbar.js +4 -4
- package/image/index.js +1 -1
- package/index.js +565 -575
- package/input/Group.js +4 -4
- package/input/Input.js +45 -45
- package/input/InputElement.js +2 -2
- package/input/Password.js +2 -2
- package/input/Search.js +2 -2
- package/input/Textarea.js +2 -2
- package/input-number/index.js +2 -2
- package/input-tag/InputTag.js +4 -4
- package/layout/Content.js +2 -2
- package/layout/Footer.js +5 -5
- package/layout/Header.js +4 -4
- package/layout/Sider.js +2 -2
- package/layout/index.js +2 -2
- package/link/index.js +5 -5
- package/list/Item.js +2 -2
- package/list/Meta.js +4 -4
- package/list/index.js +2 -2
- package/mentions/index.js +2 -2
- package/menu/Item.js +5 -5
- package/menu/ItemGroup.js +1 -1
- package/menu/Menu.js +3 -3
- package/menu/OverflowWrap.js +2 -2
- package/menu/index.js +2 -2
- package/message/index.js +4 -4
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +4 -4
- package/modal/index.js +1 -1
- package/notice/index.js +2 -2
- package/notification/index.js +4 -4
- package/notification/useNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +6 -6
- package/overflow-ellipsis/index.js +8 -8
- package/package.json +1 -1
- package/page-header/index.js +2 -2
- package/pagination/PageItem.js +2 -2
- package/pagination/PageJumper.js +1 -1
- package/pagination/PageOption.js +1 -1
- package/pagination/Pagination.js +23 -23
- package/picker/Input.js +7 -7
- package/picker/InputRange.js +9 -9
- package/popconfirm/index.js +2 -2
- package/popover/index.js +2 -2
- package/progress/CircleProgress.js +7 -7
- package/progress/LineProgess.js +1 -1
- package/progress/StepProgress.js +7 -7
- package/progress/index.js +8 -8
- package/radio/Group.js +3 -3
- package/radio/Radio.js +3 -3
- package/radio/index.js +2 -2
- package/rate/index.js +2 -2
- package/resize-box/ResizeTrigger.js +10 -10
- package/resize-box/Split.js +12 -12
- package/resize-box/SplitGroup.js +2 -2
- package/resize-box/index.js +2 -2
- package/result/index.js +9 -9
- package/select/Option.js +2 -2
- package/select/Select.js +3 -3
- package/select-view/Core.js +27 -27
- package/select-view/index.js +1 -1
- package/skeleton/Image.js +4 -4
- package/skeleton/Text.js +7 -7
- package/skeleton/index.js +2 -2
- package/slider/Button.js +2 -2
- package/slider/Dot.js +5 -5
- package/slider/Input.js +12 -12
- package/slider/Tick.js +6 -6
- package/slider/index.js +2 -2
- package/space/index.js +12 -12
- package/speech-synthesis/index.js +4 -4
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +2 -2
- package/statistic/Countdown.js +7 -7
- package/statistic/index.js +20 -20
- package/steps/Step.js +1 -1
- package/steps/index.js +2 -2
- package/style.css +1 -1
- package/switch/index.js +4 -4
- package/table/Table.js +4 -4
- package/table/index.js +4 -4
- package/tabs/Tab.js +3 -3
- package/tabs/TabContent.js +3 -3
- package/tabs/TabPane.js +2 -2
- package/tabs/index.js +2 -2
- package/tag/index.js +6 -6
- package/time-picker/Picker.js +2 -2
- package/time-picker/TimeColumn.js +7 -7
- package/time-picker/TimePicker.js +23 -23
- package/time-picker/util.js +5 -5
- package/timeline/Item.js +2 -2
- package/timeline/Timeline.js +2 -2
- package/tooltip/index.js +3 -3
- package/transfer/Item.js +3 -3
- package/transfer/List.js +3 -3
- package/transfer/index.js +2 -2
- package/tree/Animation.js +3 -3
- package/tree/Node.js +4 -4
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +3 -3
- package/tree/index.js +1 -1
- package/tree-select/Select.js +2 -2
- package/trigger/index.js +3 -3
- package/types/color-picker/colors.d.ts +1 -1
- package/types/utils/color.d.ts +1 -1
- package/typography/Base.js +2 -2
- package/typography/EditContent.js +1 -1
- package/typography/Ellipsis.js +14 -15
- package/typography/Paragraph.js +6 -6
- package/typography/Typography.js +5 -5
- package/typography/index.js +12 -13
- package/upload/TriggerNode.js +2 -2
- package/upload/Upload.js +5 -5
- package/upload/Uploader.js +2 -2
- package/utils/PqbCSSTransition.js +1 -1
- package/utils/className.js +3 -3
- package/utils/color.js +2 -116
- package/utils/contextHolder.js +1 -1
- package/utils/copy.js +4 -4
- package/utils/fileToURL.js +1 -1
- package/utils/index.js +299 -309
- package/utils/reactTransitionGroup.js +1 -1
- package/utils/saveAs.js +1 -1
- package/utils/tinycolor.js +12 -12
- package/utils/tween.js +1 -1
- package/verification-code/VerificationCode.js +7 -7
- package/version/index.js +1 -1
- package/watermark/Watermark.js +6 -6
- package/chunk/CCVU-Kst.js +0 -770
- package/chunk/CTxjmYmx.js +0 -19
- package/chunk/JPPo5nY_.js +0 -9
package/menu/Menu.js
CHANGED
|
@@ -3,19 +3,19 @@ import "@unicom-cloud/icons/IconUiMenuFold";
|
|
|
3
3
|
import "@unicom-cloud/icons/IconUiMenuUnfold";
|
|
4
4
|
import "lodash/isPlainObject";
|
|
5
5
|
import "react";
|
|
6
|
-
import "../chunk/
|
|
6
|
+
import "../chunk/Crs3isAx.js";
|
|
7
7
|
import "../chunk/CQ_WOOmf.js";
|
|
8
8
|
import "../chunk/B4YRLi8r.js";
|
|
9
9
|
import "../chunk/XTEsYGuF.js";
|
|
10
10
|
import "../chunk/BFTV6myl.js";
|
|
11
11
|
import "../chunk/DeV0v__J.js";
|
|
12
12
|
import "../layout/Sider.js";
|
|
13
|
-
import "../chunk/
|
|
13
|
+
import "../chunk/CUFsOxJ2.js";
|
|
14
14
|
import "../chunk/BKKEev13.js";
|
|
15
15
|
import "./context.js";
|
|
16
16
|
import { default as I } from "./Item.js";
|
|
17
17
|
import { default as c } from "./ItemGroup.js";
|
|
18
|
-
import { S as h, S as j, M as k } from "../chunk/
|
|
18
|
+
import { S as h, S as j, M as k } from "../chunk/DJ8rDYjb.js";
|
|
19
19
|
import "./util.js";
|
|
20
20
|
export {
|
|
21
21
|
I as MenuItem,
|
package/menu/OverflowWrap.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../chunk/
|
|
3
|
+
import "../chunk/CUFsOxJ2.js";
|
|
4
4
|
import "../chunk/CIRG541s.js";
|
|
5
5
|
import "../utils/style.js";
|
|
6
6
|
import "./context.js";
|
|
7
|
-
import { O as f } from "../chunk/
|
|
7
|
+
import { O as f } from "../chunk/DJ8rDYjb.js";
|
|
8
8
|
export {
|
|
9
9
|
f as default
|
|
10
10
|
};
|
package/menu/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as o } from "../chunk/
|
|
2
|
-
import { S as r, S as a } from "../chunk/
|
|
1
|
+
import { M as o } from "../chunk/DJ8rDYjb.js";
|
|
2
|
+
import { S as r, S as a } from "../chunk/DJ8rDYjb.js";
|
|
3
3
|
import { default as n } from "./Item.js";
|
|
4
4
|
import { default as p } from "./ItemGroup.js";
|
|
5
5
|
export {
|
package/message/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../chunk/
|
|
2
|
+
import "../chunk/BJ9_azwQ.js";
|
|
3
3
|
import "lodash/isNumber";
|
|
4
4
|
import "lodash/isUndefined";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom/client";
|
|
7
|
-
import { M as g, m as M, u as d } from "../chunk/
|
|
7
|
+
import { M as g, m as M, u as d } from "../chunk/Crs3isAx.js";
|
|
8
8
|
import "../notification/withNotification.js";
|
|
9
|
-
import "../chunk/
|
|
10
|
-
import "../chunk/
|
|
9
|
+
import "../chunk/BpYX5PN4.js";
|
|
10
|
+
import "../chunk/CUFsOxJ2.js";
|
|
11
11
|
export {
|
|
12
12
|
g as default,
|
|
13
13
|
M as messageTypes,
|
package/message/useMessage.js
CHANGED
package/modal/Confirm.js
CHANGED
|
@@ -4,8 +4,8 @@ import "@unicom-cloud/icons/IconUiCloseCircleFill";
|
|
|
4
4
|
import "@unicom-cloud/icons/IconUiExclamationCircleFill";
|
|
5
5
|
import "@unicom-cloud/icons/IconUiInfoCircleFill";
|
|
6
6
|
import "react-dom/client";
|
|
7
|
-
import "../chunk/
|
|
8
|
-
import { c as l, n as s } from "../chunk/
|
|
7
|
+
import "../chunk/Crs3isAx.js";
|
|
8
|
+
import { c as l, n as s } from "../chunk/_L2dKF58.js";
|
|
9
9
|
import "./config.js";
|
|
10
10
|
export {
|
|
11
11
|
l as default,
|
package/modal/Modal.js
CHANGED
|
@@ -3,19 +3,19 @@ import "@unicom-cloud/icons/IconUiClose";
|
|
|
3
3
|
import "lodash/isFunction";
|
|
4
4
|
import "react";
|
|
5
5
|
import "../button/index.js";
|
|
6
|
-
import "../chunk/
|
|
6
|
+
import "../chunk/Crs3isAx.js";
|
|
7
7
|
import "../chunk/oopARUrq.js";
|
|
8
8
|
import "../chunk/BFTV6myl.js";
|
|
9
9
|
import "../chunk/DeV0v__J.js";
|
|
10
10
|
import "../chunk/DU1RCDfh.js";
|
|
11
11
|
import "../portal/index.js";
|
|
12
|
-
import "../chunk/
|
|
13
|
-
import "../chunk/
|
|
12
|
+
import "../chunk/BpYX5PN4.js";
|
|
13
|
+
import "../chunk/CUFsOxJ2.js";
|
|
14
14
|
import "../utils/dom.js";
|
|
15
15
|
import "../chunk/BrOW642m.js";
|
|
16
16
|
import "../chunk/BKKEev13.js";
|
|
17
17
|
import "../chunk/Cc_-i0o_.js";
|
|
18
|
-
import { E as k } from "../chunk/
|
|
18
|
+
import { E as k } from "../chunk/_L2dKF58.js";
|
|
19
19
|
import "./config.js";
|
|
20
20
|
export {
|
|
21
21
|
k as default
|
package/modal/index.js
CHANGED
package/notice/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import "@unicom-cloud/icons/IconUiInfoCircleFill";
|
|
|
7
7
|
import "@unicom-cloud/icons/IconUiLoading";
|
|
8
8
|
import "@unicom-cloud/icons/context";
|
|
9
9
|
import "react";
|
|
10
|
-
import { f as v } from "../chunk/
|
|
10
|
+
import { f as v } from "../chunk/Crs3isAx.js";
|
|
11
11
|
import "lodash/isEqualWith";
|
|
12
12
|
import "../chunk/DAAff-FT.js";
|
|
13
13
|
import "lodash/isNumber";
|
|
@@ -18,7 +18,7 @@ import "../chunk/BFTV6myl.js";
|
|
|
18
18
|
import "../chunk/Cc_-i0o_.js";
|
|
19
19
|
import "../chunk/Ce1j9KTi.js";
|
|
20
20
|
import "lodash/debounce";
|
|
21
|
-
import "../chunk/
|
|
21
|
+
import "../chunk/CUFsOxJ2.js";
|
|
22
22
|
export {
|
|
23
23
|
v as default
|
|
24
24
|
};
|
package/notification/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../chunk/
|
|
2
|
+
import "../chunk/BJ9_azwQ.js";
|
|
3
3
|
import "lodash/isNumber";
|
|
4
4
|
import "lodash/isUndefined";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
import "react-dom/client";
|
|
8
|
-
import { N as g, g as u, n as N, c as d } from "../chunk/
|
|
9
|
-
import "../chunk/
|
|
10
|
-
import "../chunk/
|
|
8
|
+
import { N as g, g as u, n as N, c as d } from "../chunk/Crs3isAx.js";
|
|
9
|
+
import "../chunk/BpYX5PN4.js";
|
|
10
|
+
import "../chunk/CUFsOxJ2.js";
|
|
11
11
|
import "./withNotification.js";
|
|
12
12
|
export {
|
|
13
13
|
g as default,
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import u from "lodash/isFunction";
|
|
3
3
|
import { useContext as a, useRef as d, useEffect as i } from "react";
|
|
4
|
-
import { a as l } from "../chunk/
|
|
5
|
-
import {
|
|
4
|
+
import { a as l } from "../chunk/Crs3isAx.js";
|
|
5
|
+
import { p as x } from "../chunk/CUFsOxJ2.js";
|
|
6
6
|
import { r as h } from "../chunk/CIRG541s.js";
|
|
7
7
|
function E(e) {
|
|
8
8
|
const { getPrefixCls: f } = a(l), n = f("overflow-item"), r = d();
|
|
9
9
|
i(() => {
|
|
10
10
|
if (!u(e.onResize)) return;
|
|
11
|
-
const
|
|
11
|
+
const m = h([r.current], (t) => {
|
|
12
12
|
var o;
|
|
13
13
|
e.onResize((o = t == null ? void 0 : t[0]) == null ? void 0 : o.target);
|
|
14
14
|
});
|
|
15
15
|
return () => {
|
|
16
|
-
|
|
16
|
+
m();
|
|
17
17
|
};
|
|
18
18
|
}, [r.current, e.onResize]), i(() => (e.onResize(r.current), () => {
|
|
19
19
|
e.unregister(r.current);
|
|
20
20
|
}), []);
|
|
21
|
-
const
|
|
21
|
+
const c = e.hidden;
|
|
22
22
|
return /* @__PURE__ */ s(
|
|
23
23
|
"div",
|
|
24
24
|
{
|
|
25
25
|
ref: r,
|
|
26
26
|
className: x(n, e.className, {
|
|
27
|
-
[`${n}-hidden`]:
|
|
27
|
+
[`${n}-hidden`]: c
|
|
28
28
|
}),
|
|
29
29
|
children: e.children
|
|
30
30
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as j, jsx as C } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as k, useState as i, useLayoutEffect as N, useRef as b, useEffect as E } from "react";
|
|
3
|
-
import { a as z } from "../chunk/
|
|
4
|
-
import {
|
|
3
|
+
import { a as z } from "../chunk/Crs3isAx.js";
|
|
4
|
+
import { p as I } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
import { r as M } from "../chunk/CIRG541s.js";
|
|
6
6
|
import v from "./OverflowItem.js";
|
|
7
7
|
function q(u) {
|
|
8
|
-
const { getPrefixCls: O } = k(z), f = O("overflow"), { items: a, suffixItems: g } = u, y = u.ellipsisNode || (({ ellipsisCount: e }) => `+${e}`), [d, W] = i(), [
|
|
8
|
+
const { getPrefixCls: O } = k(z), f = O("overflow"), { items: a, suffixItems: g } = u, y = u.ellipsisNode || (({ ellipsisCount: e }) => `+${e}`), [d, W] = i(), [h, _] = i(), [l, m] = i({}), [x, p] = i({}), w = a.length - h, $ = w > 0 ? y({ ellipsisCount: w }) : null;
|
|
9
9
|
N(() => {
|
|
10
10
|
const e = Object.values(l).length;
|
|
11
11
|
let s = Object.values(x).reduce((t, o) => t + ((o == null ? void 0 : o.width) || 0), 0), r = e;
|
|
@@ -32,12 +32,12 @@ function q(u) {
|
|
|
32
32
|
v,
|
|
33
33
|
{
|
|
34
34
|
onResize: (t) => {
|
|
35
|
-
|
|
35
|
+
m((o) => (o[r] = { node: t, width: t.clientWidth }, o));
|
|
36
36
|
},
|
|
37
37
|
unregister: () => {
|
|
38
|
-
|
|
38
|
+
m((t) => (delete t[r], t));
|
|
39
39
|
},
|
|
40
|
-
hidden:
|
|
40
|
+
hidden: h < s + 1,
|
|
41
41
|
children: e
|
|
42
42
|
},
|
|
43
43
|
r
|
|
@@ -52,13 +52,13 @@ function q(u) {
|
|
|
52
52
|
{
|
|
53
53
|
className: `${f}-suffix-item`,
|
|
54
54
|
onResize: (t) => {
|
|
55
|
-
|
|
55
|
+
p((o) => ({
|
|
56
56
|
...o,
|
|
57
57
|
[`${r}`]: { node: t, width: t.clientWidth }
|
|
58
58
|
}));
|
|
59
59
|
},
|
|
60
60
|
unregister: () => {
|
|
61
|
-
|
|
61
|
+
p((t) => (delete t[r], {
|
|
62
62
|
...t
|
|
63
63
|
}));
|
|
64
64
|
},
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@unicom-cloud/ui","version":"0.8.
|
|
1
|
+
{"name":"@unicom-cloud/ui","version":"0.8.74","dependencies":{"@unicom-cloud/icons":"latest"},"peerDependencies":{"dayjs":"^1.11.10","lodash":"^4.17.21","react":"^18.3.1","react-dom":"^18.3.1"},"peerDependenciesMeta":{},"type":"module","types":"types/index.d.ts","main":"./index.js","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}}
|
package/page-header/index.js
CHANGED
|
@@ -3,10 +3,10 @@ import B from "@unicom-cloud/icons/IconUiLeft";
|
|
|
3
3
|
import _ from "@unicom-cloud/icons/IconUiRight";
|
|
4
4
|
import T, { useContext as W, useState as j, useRef as z, useImperativeHandle as K, useEffect as U } from "react";
|
|
5
5
|
import D from "../breadcrumb/index.js";
|
|
6
|
-
import { a as F, I as L } from "../chunk/
|
|
6
|
+
import { a as F, I as L } from "../chunk/Crs3isAx.js";
|
|
7
7
|
import { u as M } from "../chunk/XTEsYGuF.js";
|
|
8
8
|
import { u as O } from "../chunk/BFTV6myl.js";
|
|
9
|
-
import {
|
|
9
|
+
import { p } from "../chunk/CUFsOxJ2.js";
|
|
10
10
|
import { o as S } from "../chunk/BKKEev13.js";
|
|
11
11
|
import { r as q } from "../chunk/CIRG541s.js";
|
|
12
12
|
function $(b, g) {
|
package/pagination/PageItem.js
CHANGED
|
@@ -3,9 +3,9 @@ import S from "@unicom-cloud/icons/IconUiLeft";
|
|
|
3
3
|
import j from "@unicom-cloud/icons/IconUiMore";
|
|
4
4
|
import K from "@unicom-cloud/icons/IconUiRight";
|
|
5
5
|
import U, { useContext as E } from "react";
|
|
6
|
-
import { a as N } from "../chunk/
|
|
6
|
+
import { a as N } from "../chunk/Crs3isAx.js";
|
|
7
7
|
import { u as R } from "../chunk/XTEsYGuF.js";
|
|
8
|
-
import {
|
|
8
|
+
import { p as k } from "../chunk/CUFsOxJ2.js";
|
|
9
9
|
var _ = /* @__PURE__ */ ((t) => (t[t.previous = 0] = "previous", t[t.next = 1] = "next", t))(_ || {});
|
|
10
10
|
function L(t) {
|
|
11
11
|
var m, n, s;
|
package/pagination/PageJumper.js
CHANGED
|
@@ -3,7 +3,7 @@ import I from "lodash/isFunction";
|
|
|
3
3
|
import J from "lodash/isPlainObject";
|
|
4
4
|
import N from "lodash/isUndefined";
|
|
5
5
|
import { useContext as E, useState as R, useRef as T, useEffect as w } from "react";
|
|
6
|
-
import { a as z } from "../chunk/
|
|
6
|
+
import { a as z } from "../chunk/Crs3isAx.js";
|
|
7
7
|
import B from "../input/Input.js";
|
|
8
8
|
function A(n) {
|
|
9
9
|
var d, g;
|
package/pagination/PageOption.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import P, { useRef as d, useContext as C } from "react";
|
|
3
|
-
import { a as O } from "../chunk/
|
|
3
|
+
import { a as O } from "../chunk/Crs3isAx.js";
|
|
4
4
|
import p from "../select/Select.js";
|
|
5
5
|
const x = () => {
|
|
6
6
|
}, z = p.Option, h = [10, 20, 30, 40, 50];
|
package/pagination/Pagination.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsxs as O, jsx as
|
|
1
|
+
import { jsxs as O, jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import H, { forwardRef as $e, useContext as be, useEffect as K, createElement as P } from "react";
|
|
3
|
-
import { a as Me } from "../chunk/
|
|
3
|
+
import { a as Me } from "../chunk/Crs3isAx.js";
|
|
4
4
|
import { u as je } from "../chunk/BFTV6myl.js";
|
|
5
5
|
import { u as Q } from "../chunk/DeV0v__J.js";
|
|
6
|
-
import {
|
|
6
|
+
import { p as ke } from "../chunk/CUFsOxJ2.js";
|
|
7
7
|
import { a as Je } from "../chunk/ClqoGc3r.js";
|
|
8
8
|
import $, { StepPager as b, StepType as m, JumpPager as F } from "./PageItem.js";
|
|
9
9
|
import U from "./PageJumper.js";
|
|
@@ -85,8 +85,8 @@ function Fe(f, d) {
|
|
|
85
85
|
"current" in s || k(t), _(t);
|
|
86
86
|
}, {
|
|
87
87
|
className: ue,
|
|
88
|
-
style:
|
|
89
|
-
pageItemStyle:
|
|
88
|
+
style: pe,
|
|
89
|
+
pageItemStyle: ce,
|
|
90
90
|
activePageItemStyle: fe,
|
|
91
91
|
showTotal: S,
|
|
92
92
|
sizeCanChange: ge,
|
|
@@ -110,7 +110,7 @@ function Fe(f, d) {
|
|
|
110
110
|
ue
|
|
111
111
|
);
|
|
112
112
|
let E;
|
|
113
|
-
const i = [], l = I(g, h),
|
|
113
|
+
const i = [], l = I(g, h), c = Re(s.bufferSize, l);
|
|
114
114
|
if (ze && l <= 1)
|
|
115
115
|
return null;
|
|
116
116
|
const u = {
|
|
@@ -121,15 +121,15 @@ function Fe(f, d) {
|
|
|
121
121
|
allPages: l,
|
|
122
122
|
icons: de,
|
|
123
123
|
disabled: x,
|
|
124
|
-
pageItemStyle:
|
|
124
|
+
pageItemStyle: ce,
|
|
125
125
|
activePageItemStyle: fe,
|
|
126
126
|
itemRender: Ce
|
|
127
127
|
};
|
|
128
128
|
if (y) {
|
|
129
129
|
const t = `${r}-item-simple`;
|
|
130
130
|
E = /* @__PURE__ */ O("ul", { className: `${r}-list`, children: [
|
|
131
|
-
/* @__PURE__ */
|
|
132
|
-
/* @__PURE__ */
|
|
131
|
+
/* @__PURE__ */ p(b, { ...u, type: m.previous }, "previous"),
|
|
132
|
+
/* @__PURE__ */ p("li", { className: `${t}-pager`, children: /* @__PURE__ */ p(
|
|
133
133
|
U,
|
|
134
134
|
{
|
|
135
135
|
disabled: x,
|
|
@@ -143,28 +143,28 @@ function Fe(f, d) {
|
|
|
143
143
|
size: w
|
|
144
144
|
}
|
|
145
145
|
) }),
|
|
146
|
-
/* @__PURE__ */
|
|
146
|
+
/* @__PURE__ */ p(b, { ...u, type: m.next }, "next")
|
|
147
147
|
] });
|
|
148
148
|
} else {
|
|
149
|
-
const t = 3 +
|
|
149
|
+
const t = 3 + c, a = l - 2 - c;
|
|
150
150
|
if (
|
|
151
151
|
// beginPage(1 page) + bufferSize * 2 + endPage(1 page) + ...(2 pages)
|
|
152
|
-
l <= 4 +
|
|
152
|
+
l <= 4 + c * 2 || e === t && e === a
|
|
153
153
|
)
|
|
154
154
|
for (let n = 1; n <= l; n++)
|
|
155
155
|
i.push(/* @__PURE__ */ P($, { ...u, key: n, pageNum: n }));
|
|
156
156
|
else {
|
|
157
157
|
let n = 1, o = l, q = !0, G = !0;
|
|
158
|
-
e > t && e < a ? (o = e +
|
|
158
|
+
e > t && e < a ? (o = e + c, n = e - c) : e <= t ? (q = !1, n = 1, o = Math.max(t, c + e)) : e >= a && (G = !1, o = l, n = Math.min(a, e - c));
|
|
159
159
|
for (let v = n; v <= o; v++)
|
|
160
|
-
i.push(/* @__PURE__ */
|
|
160
|
+
i.push(/* @__PURE__ */ p($, { pageNum: v, ...u }, v));
|
|
161
161
|
const ye = /* @__PURE__ */ P(
|
|
162
162
|
F,
|
|
163
163
|
{
|
|
164
164
|
...u,
|
|
165
165
|
key: n - 1,
|
|
166
166
|
type: m.previous,
|
|
167
|
-
jumpPage: -(
|
|
167
|
+
jumpPage: -(c * 2 + 1)
|
|
168
168
|
}
|
|
169
169
|
), we = /* @__PURE__ */ P(
|
|
170
170
|
F,
|
|
@@ -172,9 +172,9 @@ function Fe(f, d) {
|
|
|
172
172
|
...u,
|
|
173
173
|
key: o + 1,
|
|
174
174
|
type: m.next,
|
|
175
|
-
jumpPage:
|
|
175
|
+
jumpPage: c * 2 + 1
|
|
176
176
|
}
|
|
177
|
-
), Ne = /* @__PURE__ */
|
|
177
|
+
), Ne = /* @__PURE__ */ p($, { pageNum: 1, ...u }, 1), ve = /* @__PURE__ */ P($, { ...u, key: l, pageNum: l });
|
|
178
178
|
q && (i[0] = H.cloneElement(i[0], {
|
|
179
179
|
className: `${r}-item-after-pre`
|
|
180
180
|
}), i.unshift(ye), i.unshift(Ne)), G && (i[i.length - 1] = H.cloneElement(
|
|
@@ -193,24 +193,24 @@ function Fe(f, d) {
|
|
|
193
193
|
...u,
|
|
194
194
|
key: l + 1,
|
|
195
195
|
type: m.next,
|
|
196
|
-
jumpPage:
|
|
196
|
+
jumpPage: c * 2 + 1
|
|
197
197
|
}
|
|
198
198
|
),
|
|
199
|
-
/* @__PURE__ */
|
|
199
|
+
/* @__PURE__ */ p(b, { ...u, type: m.next }, "next")
|
|
200
200
|
] });
|
|
201
201
|
}
|
|
202
202
|
let R = null;
|
|
203
|
-
return typeof S == "boolean" && S && (R = /* @__PURE__ */
|
|
203
|
+
return typeof S == "boolean" && S && (R = /* @__PURE__ */ p("div", { className: `${r}-total-text`, children: (W = (N = (D = C == null ? void 0 : C.Pagination) == null ? void 0 : D.total) == null ? void 0 : N.replace) == null ? void 0 : W.call(N, "{0}", h) })), typeof S == "function" && (R = /* @__PURE__ */ p("div", { className: `${r}-total-text`, children: S(h, [(e - 1) * g + 1, e * g]) })), /* @__PURE__ */ O(
|
|
204
204
|
"div",
|
|
205
205
|
{
|
|
206
206
|
...Je(s),
|
|
207
207
|
className: Se,
|
|
208
|
-
style:
|
|
208
|
+
style: pe,
|
|
209
209
|
ref: d,
|
|
210
210
|
children: [
|
|
211
211
|
R,
|
|
212
212
|
E,
|
|
213
|
-
!!oe && /* @__PURE__ */
|
|
213
|
+
!!oe && /* @__PURE__ */ p(
|
|
214
214
|
Ae,
|
|
215
215
|
{
|
|
216
216
|
disabled: x,
|
|
@@ -223,7 +223,7 @@ function Fe(f, d) {
|
|
|
223
223
|
selectProps: Pe
|
|
224
224
|
}
|
|
225
225
|
),
|
|
226
|
-
!y && A && /* @__PURE__ */
|
|
226
|
+
!y && A && /* @__PURE__ */ p(
|
|
227
227
|
U,
|
|
228
228
|
{
|
|
229
229
|
disabled: x,
|
package/picker/Input.js
CHANGED
|
@@ -2,8 +2,8 @@ import { jsxs as C, jsx as f } from "react/jsx-runtime";
|
|
|
2
2
|
import X from "@unicom-cloud/icons/IconUiClose";
|
|
3
3
|
import Y from "lodash/isArray";
|
|
4
4
|
import { forwardRef as Z, useContext as _, useRef as I, useState as E, useImperativeHandle as P } from "react";
|
|
5
|
-
import { a as p, I as ee } from "../chunk/
|
|
6
|
-
import {
|
|
5
|
+
import { a as p, I as ee } from "../chunk/Crs3isAx.js";
|
|
6
|
+
import { p as k } from "../chunk/CUFsOxJ2.js";
|
|
7
7
|
import { e as ce } from "../chunk/BrOW642m.js";
|
|
8
8
|
import { o as le } from "../chunk/BKKEev13.js";
|
|
9
9
|
function ae({
|
|
@@ -15,7 +15,7 @@ function ae({
|
|
|
15
15
|
error: F,
|
|
16
16
|
disabled: i,
|
|
17
17
|
placeholder: R,
|
|
18
|
-
format:
|
|
18
|
+
format: m,
|
|
19
19
|
size: j,
|
|
20
20
|
onClear: O,
|
|
21
21
|
editable: S,
|
|
@@ -55,8 +55,8 @@ function ae({
|
|
|
55
55
|
var a;
|
|
56
56
|
(a = e == null ? void 0 : e.onChange) == null || a.call(e, c), r == null || r(c);
|
|
57
57
|
}
|
|
58
|
-
let
|
|
59
|
-
$ !== void 0 ?
|
|
58
|
+
let s = "";
|
|
59
|
+
$ !== void 0 ? s = $ : o && !Y(o) && (s = typeof m == "function" ? m(o) : o.locale(M.dayjsLocale).format(m));
|
|
60
60
|
const Q = S ? {} : { readOnly: !0 }, l = g || A("picker"), h = D || (F ? "error" : void 0), T = W || u, V = k(
|
|
61
61
|
l,
|
|
62
62
|
`${l}-size-${q}`,
|
|
@@ -92,7 +92,7 @@ function ae({
|
|
|
92
92
|
disabled: i,
|
|
93
93
|
placeholder: R,
|
|
94
94
|
className: `${l}-start-time`,
|
|
95
|
-
value:
|
|
95
|
+
value: s,
|
|
96
96
|
onKeyDown: G,
|
|
97
97
|
onChange: J,
|
|
98
98
|
...Q,
|
|
@@ -109,7 +109,7 @@ function ae({
|
|
|
109
109
|
}
|
|
110
110
|
),
|
|
111
111
|
/* @__PURE__ */ C("div", { className: `${l}-suffix`, children: [
|
|
112
|
-
w &&
|
|
112
|
+
w && s && /* @__PURE__ */ f(
|
|
113
113
|
ee,
|
|
114
114
|
{
|
|
115
115
|
prefix: l,
|
package/picker/InputRange.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as q, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import fc from "@unicom-cloud/icons/IconUiClose";
|
|
3
3
|
import F from "lodash/isArray";
|
|
4
|
-
import { forwardRef as nc, useContext as sc, useRef as D, useState as
|
|
5
|
-
import { a as uc, I as $c } from "../chunk/
|
|
6
|
-
import {
|
|
4
|
+
import { forwardRef as nc, useContext as sc, useRef as D, useState as ic, useImperativeHandle as mc } from "react";
|
|
5
|
+
import { a as uc, I as $c } from "../chunk/Crs3isAx.js";
|
|
6
|
+
import { p as B } from "../chunk/CUFsOxJ2.js";
|
|
7
7
|
import { e as hc, c as yc } from "../chunk/BrOW642m.js";
|
|
8
8
|
import { o as Cc } from "../chunk/BKKEev13.js";
|
|
9
9
|
function gc({
|
|
@@ -14,9 +14,9 @@ function gc({
|
|
|
14
14
|
className: X,
|
|
15
15
|
disabled: s,
|
|
16
16
|
placeholder: w = [],
|
|
17
|
-
value:
|
|
17
|
+
value: i = [],
|
|
18
18
|
popupVisible: Y,
|
|
19
|
-
format:
|
|
19
|
+
format: m,
|
|
20
20
|
size: Z,
|
|
21
21
|
onClear: _,
|
|
22
22
|
editable: E,
|
|
@@ -39,8 +39,8 @@ function gc({
|
|
|
39
39
|
size: ec,
|
|
40
40
|
locale: oc,
|
|
41
41
|
rtl: lc
|
|
42
|
-
} = sc(uc), g = D(null), N = D(null), K = D(null), [j, O] =
|
|
43
|
-
|
|
42
|
+
} = sc(uc), g = D(null), N = D(null), K = D(null), [j, O] = ic([!1, !1]), k = F(s) ? s[0] : s, v = F(s) ? s[1] : s;
|
|
43
|
+
mc(P, () => ({
|
|
44
44
|
focus(c) {
|
|
45
45
|
var l, r;
|
|
46
46
|
(f === 0 && !k || f === 1 && !v) && ((r = (l = ((typeof c == "number" ? c : f) === 0 ? g : N).current) == null ? void 0 : l.focus) == null || r.call(l));
|
|
@@ -85,7 +85,7 @@ function gc({
|
|
|
85
85
|
},
|
|
86
86
|
X
|
|
87
87
|
), W = (c) => {
|
|
88
|
-
const o =
|
|
88
|
+
const o = i[c] ? i[c].locale(oc.dayjsLocale).format(F(m) ? m[c] : m) : "";
|
|
89
89
|
return z && c === f ? z : o;
|
|
90
90
|
}, b = E ? {} : { readOnly: !0 };
|
|
91
91
|
function d(c) {
|
|
@@ -137,7 +137,7 @@ function gc({
|
|
|
137
137
|
}
|
|
138
138
|
) }),
|
|
139
139
|
/* @__PURE__ */ q("div", { className: `${a}-suffix`, children: [
|
|
140
|
-
G &&
|
|
140
|
+
G && i.length === 2 && /* @__PURE__ */ n(
|
|
141
141
|
$c,
|
|
142
142
|
{
|
|
143
143
|
prefix: a,
|
package/popconfirm/index.js
CHANGED
|
@@ -4,11 +4,11 @@ import N from "lodash/isFunction";
|
|
|
4
4
|
import K from "lodash/isNil";
|
|
5
5
|
import { forwardRef as Q, useContext as X, useState as Y, useImperativeHandle as Z, useEffect as _ } from "react";
|
|
6
6
|
import V from "../button/index.js";
|
|
7
|
-
import { a as ee } from "../chunk/
|
|
7
|
+
import { a as ee } from "../chunk/Crs3isAx.js";
|
|
8
8
|
import { u as oe } from "../chunk/BFTV6myl.js";
|
|
9
9
|
import { u as ne } from "../chunk/DeV0v__J.js";
|
|
10
10
|
import te from "../tooltip/index.js";
|
|
11
|
-
import {
|
|
11
|
+
import { p as ie } from "../chunk/CUFsOxJ2.js";
|
|
12
12
|
const re = {
|
|
13
13
|
position: "top",
|
|
14
14
|
okType: "primary",
|
package/popover/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as j, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import m from "lodash/isFunction";
|
|
3
3
|
import { forwardRef as O, useContext as R } from "react";
|
|
4
|
-
import { a as T } from "../chunk/
|
|
4
|
+
import { a as T } from "../chunk/Crs3isAx.js";
|
|
5
5
|
import { u as w } from "../chunk/BFTV6myl.js";
|
|
6
6
|
import F from "../tooltip/index.js";
|
|
7
|
-
import {
|
|
7
|
+
import { p as H } from "../chunk/CUFsOxJ2.js";
|
|
8
8
|
import { c as u } from "../chunk/DAAff-FT.js";
|
|
9
9
|
const M = {
|
|
10
10
|
position: "top",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as y } from "react/jsx-runtime";
|
|
2
2
|
import w from "@unicom-cloud/icons/IconUiCheck";
|
|
3
3
|
import W from "@unicom-cloud/icons/IconUiExclamation";
|
|
4
4
|
import I from "lodash/isFunction";
|
|
@@ -6,7 +6,7 @@ import T from "lodash/isPlainObject";
|
|
|
6
6
|
import { useCallback as b } from "react";
|
|
7
7
|
import { u as j } from "../chunk/B4YRLi8r.js";
|
|
8
8
|
import S from "../tooltip/index.js";
|
|
9
|
-
import {
|
|
9
|
+
import { p as C } from "../chunk/CUFsOxJ2.js";
|
|
10
10
|
const G = {
|
|
11
11
|
mini: 4,
|
|
12
12
|
small: 3,
|
|
@@ -40,8 +40,8 @@ const G = {
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
[c, o]
|
|
43
|
-
), v = j(`${h}-linear-gradient-`),
|
|
44
|
-
let d = /* @__PURE__ */
|
|
43
|
+
), v = j(`${h}-linear-gradient-`), p = $ ? `url(#${v})` : t.color;
|
|
44
|
+
let d = /* @__PURE__ */ y(
|
|
45
45
|
"div",
|
|
46
46
|
{
|
|
47
47
|
className: `${i}-wrapper`,
|
|
@@ -51,7 +51,7 @@ const G = {
|
|
|
51
51
|
"aria-valuenow": o,
|
|
52
52
|
style: { width: r, height: r },
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ y("svg", { viewBox: `0 0 ${r} ${r}`, className: `${N}`, children: [
|
|
55
55
|
$ && /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("linearGradient", { id: v, x1: "0", y1: "1", x2: "0", y2: "0", children: Object.keys(t.color).sort().map((a) => /* @__PURE__ */ e("stop", { offset: a, stopColor: t.color[a] }, a)) }) }),
|
|
56
56
|
/* @__PURE__ */ e(
|
|
57
57
|
"circle",
|
|
@@ -77,7 +77,7 @@ const G = {
|
|
|
77
77
|
r: m,
|
|
78
78
|
strokeWidth: n,
|
|
79
79
|
style: {
|
|
80
|
-
stroke:
|
|
80
|
+
stroke: p,
|
|
81
81
|
strokeDasharray: k,
|
|
82
82
|
strokeDashoffset: (o > 100 ? 100 : 1 - o / 100) * k
|
|
83
83
|
}
|
|
@@ -96,7 +96,7 @@ const G = {
|
|
|
96
96
|
]
|
|
97
97
|
}
|
|
98
98
|
);
|
|
99
|
-
return s === "mini" && x === "success" && t.type === "circle" && (d = /* @__PURE__ */ e("div", { className: `${i}-wrapper`, style: { width: r, height: r }, children: /* @__PURE__ */ e(w, { style: { fontSize: r - 2, color:
|
|
99
|
+
return s === "mini" && x === "success" && t.type === "circle" && (d = /* @__PURE__ */ e("div", { className: `${i}-wrapper`, style: { width: r, height: r }, children: /* @__PURE__ */ e(w, { style: { fontSize: r - 2, color: p } }) })), s === "mini" && f ? /* @__PURE__ */ e(
|
|
100
100
|
S,
|
|
101
101
|
{
|
|
102
102
|
content: /* @__PURE__ */ e(
|
package/progress/LineProgess.js
CHANGED
|
@@ -3,7 +3,7 @@ import C from "@unicom-cloud/icons/IconUiExclamationCircleFill";
|
|
|
3
3
|
import j from "lodash/isFunction";
|
|
4
4
|
import N from "lodash/isPlainObject";
|
|
5
5
|
import { useCallback as y } from "react";
|
|
6
|
-
import {
|
|
6
|
+
import { p as u } from "../chunk/CUFsOxJ2.js";
|
|
7
7
|
const m = (t, a) => {
|
|
8
8
|
if (N(t)) {
|
|
9
9
|
const s = Object.keys(t).map((e) => `${t[e]} ${e}`).join(","), o = a ? { backgroundSize: `${100 * 100 / a}%` } : {};
|