@unicom-cloud/ui 0.8.73 → 0.8.75
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/{oHDWCJnz.js → 0mWCmQHr.js} +3 -3
- package/chunk/{UDX9U6M7.js → B8hkFIar.js} +3 -3
- package/chunk/BFmckYou.js +25 -0
- package/chunk/{Cj2SQJiO.js → BJ9_azwQ.js} +487 -487
- package/chunk/{Dg0M2OmF.js → BViFMHr-.js} +5 -5
- package/chunk/BbqvFW5R.js +927 -0
- package/chunk/{uKZyjtff.js → BhBEMwvI.js} +21 -20
- package/chunk/{Bj4EV0eG.js → BpYX5PN4.js} +1 -1
- package/chunk/{B7hulkj9.js → BxZ39GzB.js} +2 -2
- package/chunk/C9XYyypq.js +713 -0
- package/chunk/CIkPwQlq.js +6 -0
- package/chunk/{uH6uxyao.js → CPlPBkN7.js} +2 -2
- package/chunk/CUFsOxJ2.js +10 -0
- package/chunk/CWlklVfi.js +257 -0
- package/chunk/{Ey4YJCkX.js → D0Dlbc2g.js} +2 -1
- package/chunk/{DejjIa3N.js → DFcz9ZPP.js} +35 -35
- package/chunk/{AwZqeapI.js → DRTWRsgI.js} +1 -1
- package/chunk/{D2LLXZQX.js → DeCsZrXb.js} +4 -4
- package/chunk/{DpoumMDw.js → DohlrJ4S.js} +1 -1
- package/chunk/DskaI8QL.js +25 -0
- package/chunk/{7HDzVe32.js → Dv6USvVF.js} +4 -4
- package/chunk/{DJDOFlqC.js → EL5Jmjgr.js} +2 -2
- package/chunk/{CiY7w1ZO.js → WVoGhvMI.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 +7 -7
- package/color-picker/InputRgb.js +6 -6
- package/color-picker/Palette.js +5 -5
- package/color-picker/Panel.js +4 -4
- package/color-picker/colors.js +7 -12
- 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/form/context.js +1 -1
- 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 +586 -592
- 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/variables.less +375 -710
- 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/config-provider/interface.d.ts +0 -1
- package/types/utils/color.d.ts +1 -1
- package/types/utils/constant.d.ts +1 -1
- package/types/utils/index.d.ts +1 -0
- package/types/utils/setDarkTheme.d.ts +4 -0
- 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/upload/request.js +1 -1
- package/upload/request_.js +1 -1
- package/utils/PqbCSSTransition.js +1 -1
- package/utils/className.js +3 -3
- package/utils/color.js +2 -116
- package/utils/constant.js +3 -2
- package/utils/contextHolder.js +1 -1
- package/utils/copy.js +4 -4
- package/utils/dom.js +1 -1
- package/utils/fileToURL.js +1 -1
- package/utils/index.js +303 -309
- package/utils/reactTransitionGroup.js +1 -1
- package/utils/saveAs.js +1 -1
- package/utils/setDarkTheme.js +7 -0
- package/utils/tinycolor.js +13 -13
- 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/B0UZ1Ee2.js +0 -257
- package/chunk/Byd0ztYY.js +0 -724
- package/chunk/CCVU-Kst.js +0 -770
- package/chunk/CTxjmYmx.js +0 -19
- package/chunk/D0ZWT7db.js +0 -5
- package/chunk/JPPo5nY_.js +0 -9
package/typography/Base.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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/C9XYyypq.js";
|
|
5
5
|
import { u as fe } from "../chunk/DeV0v__J.js";
|
|
6
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
|
-
import {
|
|
9
|
+
import { p as F } from "../chunk/CUFsOxJ2.js";
|
|
10
10
|
import "../chunk/DAAff-FT.js";
|
|
11
11
|
import { m as ge } from "../chunk/B5RFT17G.js";
|
|
12
12
|
import { o as xe } from "../chunk/BKKEev13.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as g, useRef as x, useEffect as $ } from "react";
|
|
3
3
|
import v from "../input/Input.js";
|
|
4
|
-
import {
|
|
4
|
+
import { p as y } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
import { m as N } from "../chunk/B5RFT17G.js";
|
|
6
6
|
function R(c, i) {
|
|
7
7
|
const { prefixCls: o, children: f, setEditing: l, editableConfig: e, style: d } = c, p = y(
|
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/C9XYyypq.js";
|
|
4
4
|
import "../chunk/BFTV6myl.js";
|
|
5
5
|
import "../chunk/DeV0v__J.js";
|
|
6
6
|
import "lodash/isEqualWith";
|
|
@@ -18,8 +18,9 @@ import "lodash/kebabCase.js";
|
|
|
18
18
|
import "lodash/snakeCase.js";
|
|
19
19
|
import "lodash/startCase.js";
|
|
20
20
|
import "lodash/upperFirst.js";
|
|
21
|
-
import "../chunk/
|
|
22
|
-
import "../
|
|
21
|
+
import "../chunk/CUFsOxJ2.js";
|
|
22
|
+
import "../chunk/BbqvFW5R.js";
|
|
23
|
+
import "../chunk/C0pRaDCf.js";
|
|
23
24
|
import "lodash/isString.js";
|
|
24
25
|
import "../chunk/tamGhTJp.js";
|
|
25
26
|
import "lodash/escapeRegExp";
|
|
@@ -41,10 +42,9 @@ import "lodash/uniq";
|
|
|
41
42
|
import "lodash/upperFirst";
|
|
42
43
|
import "../chunk/yl4BU7Sd.js";
|
|
43
44
|
import "lodash/isPlainObject";
|
|
44
|
-
import "../chunk/
|
|
45
|
+
import "../chunk/BJ9_azwQ.js";
|
|
45
46
|
import "../chunk/Bl7BnD1R.js";
|
|
46
47
|
import "../utils/throttleByRaf.js";
|
|
47
|
-
import "lodash/isFunction";
|
|
48
48
|
import "uuid";
|
|
49
49
|
import "../chunk/CplLA01W.js";
|
|
50
50
|
import "../affix/index.js";
|
|
@@ -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/DFcz9ZPP.js";
|
|
63
|
+
import "../chunk/BxZ39GzB.js";
|
|
64
|
+
import "../chunk/CWlklVfi.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/B8hkFIar.js";
|
|
83
|
+
import "../chunk/WVoGhvMI.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/EL5Jmjgr.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/0mWCmQHr.js";
|
|
108
108
|
import "../tag/index.js";
|
|
109
109
|
import "../time-picker/index.js";
|
|
110
110
|
import "../timeline/Timeline.js";
|
|
@@ -113,13 +113,12 @@ import "../transfer/index.js";
|
|
|
113
113
|
import "../tree/Tree.js";
|
|
114
114
|
import "../tree-select/Select.js";
|
|
115
115
|
import "../trigger/index.js";
|
|
116
|
-
import { TypographyEllipsis as
|
|
116
|
+
import { TypographyEllipsis as uo } from "./index.js";
|
|
117
117
|
import "../upload/Upload.js";
|
|
118
118
|
import "../verification-code/VerificationCode.js";
|
|
119
119
|
import "../watermark/Watermark.js";
|
|
120
120
|
import "../chunk/CIRG541s.js";
|
|
121
|
-
import "../chunk/C0pRaDCf.js";
|
|
122
121
|
import "lodash/isPlainObject.js";
|
|
123
122
|
export {
|
|
124
|
-
|
|
123
|
+
uo as default
|
|
125
124
|
};
|
package/typography/Paragraph.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { a as f } from "../chunk/
|
|
4
|
-
import {
|
|
2
|
+
import { forwardRef as m, useContext as c } from "react";
|
|
3
|
+
import { a as f } from "../chunk/C9XYyypq.js";
|
|
4
|
+
import { p as i } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
import l from "./Base.js";
|
|
6
6
|
function g(a, r) {
|
|
7
|
-
const { spacing: s = "default", className: o } = a, { getPrefixCls: t } = c(f), e = t("typography"),
|
|
7
|
+
const { spacing: s = "default", className: o } = a, { getPrefixCls: t } = c(f), e = t("typography"), p = s === "close" ? i(`${e}-spacing-close`, o) : o;
|
|
8
8
|
return /* @__PURE__ */ n(
|
|
9
9
|
l,
|
|
10
10
|
{
|
|
11
11
|
...a,
|
|
12
12
|
ref: r,
|
|
13
13
|
componentType: "Paragraph",
|
|
14
|
-
className:
|
|
14
|
+
className: p
|
|
15
15
|
}
|
|
16
16
|
);
|
|
17
17
|
}
|
|
18
|
-
const x =
|
|
18
|
+
const x = m(
|
|
19
19
|
g
|
|
20
20
|
);
|
|
21
21
|
x.displayName = "Paragraph";
|
package/typography/Typography.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as c, useContext as f } from "react";
|
|
3
|
-
import { a as i } from "../chunk/
|
|
4
|
-
import {
|
|
3
|
+
import { a as i } from "../chunk/C9XYyypq.js";
|
|
4
|
+
import { p as l } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
function y(o, t) {
|
|
6
|
-
const { getPrefixCls: r } = f(i), s = r("typography"), { className: a, style: e, children: p } = o,
|
|
7
|
-
return /* @__PURE__ */
|
|
6
|
+
const { getPrefixCls: r } = f(i), s = r("typography"), { className: a, style: e, children: p } = o, n = l(s, a);
|
|
7
|
+
return /* @__PURE__ */ m("article", { ref: t, style: e, className: n, children: p });
|
|
8
8
|
}
|
|
9
9
|
const g = c(y);
|
|
10
10
|
g.displayName = "Typography";
|
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/C9XYyypq.js";
|
|
4
4
|
import { u as X } from "../chunk/BFTV6myl.js";
|
|
5
5
|
import { u as Y } from "../chunk/DeV0v__J.js";
|
|
6
6
|
import "lodash/isEqualWith";
|
|
@@ -18,8 +18,9 @@ import "lodash/kebabCase.js";
|
|
|
18
18
|
import "lodash/snakeCase.js";
|
|
19
19
|
import "lodash/startCase.js";
|
|
20
20
|
import "lodash/upperFirst.js";
|
|
21
|
-
import {
|
|
22
|
-
import "../
|
|
21
|
+
import { p } from "../chunk/CUFsOxJ2.js";
|
|
22
|
+
import "../chunk/BbqvFW5R.js";
|
|
23
|
+
import "../chunk/C0pRaDCf.js";
|
|
23
24
|
import "lodash/isString.js";
|
|
24
25
|
import "../chunk/tamGhTJp.js";
|
|
25
26
|
import "lodash/escapeRegExp";
|
|
@@ -41,10 +42,9 @@ import "lodash/uniq";
|
|
|
41
42
|
import "lodash/upperFirst";
|
|
42
43
|
import "../chunk/yl4BU7Sd.js";
|
|
43
44
|
import "lodash/isPlainObject";
|
|
44
|
-
import "../chunk/
|
|
45
|
+
import "../chunk/BJ9_azwQ.js";
|
|
45
46
|
import "../chunk/Bl7BnD1R.js";
|
|
46
47
|
import tt from "../utils/throttleByRaf.js";
|
|
47
|
-
import "lodash/isFunction";
|
|
48
48
|
import "uuid";
|
|
49
49
|
import "../chunk/CplLA01W.js";
|
|
50
50
|
import "../affix/index.js";
|
|
@@ -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/DFcz9ZPP.js";
|
|
63
|
+
import "../chunk/BxZ39GzB.js";
|
|
64
|
+
import "../chunk/CWlklVfi.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/B8hkFIar.js";
|
|
83
|
+
import "../chunk/WVoGhvMI.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/EL5Jmjgr.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/0mWCmQHr.js";
|
|
108
108
|
import "../tag/index.js";
|
|
109
109
|
import "../time-picker/index.js";
|
|
110
110
|
import "../timeline/Timeline.js";
|
|
@@ -121,7 +121,6 @@ import "../upload/Upload.js";
|
|
|
121
121
|
import "../verification-code/VerificationCode.js";
|
|
122
122
|
import "../watermark/Watermark.js";
|
|
123
123
|
import { r as mt } from "../chunk/CIRG541s.js";
|
|
124
|
-
import "../chunk/C0pRaDCf.js";
|
|
125
124
|
import V from "lodash/isPlainObject.js";
|
|
126
125
|
const nt = {
|
|
127
126
|
rows: 1,
|
package/upload/TriggerNode.js
CHANGED
|
@@ -3,9 +3,9 @@ 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/C9XYyypq.js";
|
|
7
7
|
import { u as B } from "../chunk/XTEsYGuF.js";
|
|
8
|
-
import {
|
|
8
|
+
import { p as I } from "../chunk/CUFsOxJ2.js";
|
|
9
9
|
import { loopDirectory as H, getFiles as S } from "./util.js";
|
|
10
10
|
const V = (e, T) => {
|
|
11
11
|
const k = B(), { locale: l } = K(R), [c, g] = U(!1), [s, f] = U(0), {
|
package/upload/Upload.js
CHANGED
|
@@ -2,20 +2,20 @@ import { jsxs as C, Fragment as T, jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import w from "lodash/isFunction";
|
|
3
3
|
import le from "lodash/isNumber";
|
|
4
4
|
import { useContext as D, forwardRef as j, useState as F, useEffect as R, isValidElement as re, 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/C9XYyypq.js";
|
|
6
6
|
import { u as se } from "../chunk/BFTV6myl.js";
|
|
7
|
-
import {
|
|
7
|
+
import { p as z } from "../chunk/CUFsOxJ2.js";
|
|
8
8
|
import { o as ce } from "../chunk/BKKEev13.js";
|
|
9
9
|
import M from "../utils/warning.js";
|
|
10
10
|
import { STATUS as g } from "./interface.js";
|
|
11
|
-
import { b as de } from "../chunk/
|
|
11
|
+
import { b as de } from "../chunk/BJ9_azwQ.js";
|
|
12
12
|
import ue from "../image/ImagePreviewGroup.js";
|
|
13
|
-
import { P as W } from "../chunk/
|
|
13
|
+
import { P as W } from "../chunk/BpYX5PN4.js";
|
|
14
14
|
import G from "@unicom-cloud/icons/IconUiDelete";
|
|
15
15
|
import me from "@unicom-cloud/icons/IconUiEye";
|
|
16
16
|
import fe from "@unicom-cloud/icons/IconUiImageClose";
|
|
17
17
|
import J from "@unicom-cloud/icons/IconUiUpload";
|
|
18
|
-
import {
|
|
18
|
+
import { u as Q } from "../chunk/BFmckYou.js";
|
|
19
19
|
import { u as q } from "../chunk/XTEsYGuF.js";
|
|
20
20
|
import "../chunk/DAAff-FT.js";
|
|
21
21
|
import he from "@unicom-cloud/icons/IconUiCheck";
|
package/upload/Uploader.js
CHANGED
|
@@ -4,8 +4,8 @@ import $ 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/
|
|
8
|
-
import { P as it } from "../chunk/
|
|
7
|
+
import { a as et } from "../chunk/C9XYyypq.js";
|
|
8
|
+
import { P as it } from "../chunk/BpYX5PN4.js";
|
|
9
9
|
import nt from "./TriggerNode.js";
|
|
10
10
|
import { STATUS as c } from "./interface.js";
|
|
11
11
|
import ot from "./request.js";
|
package/upload/request.js
CHANGED
package/upload/request_.js
CHANGED
package/utils/className.js
CHANGED
package/utils/color.js
CHANGED
|
@@ -1,118 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const u = 10, s = {
|
|
3
|
-
red: { name: { zh: "浪漫红", en: "Red" }, value: "#F53F3F" },
|
|
4
|
-
orangered: { name: { zh: "晚秋红", en: "Orange Red" }, value: "#FF702E" },
|
|
5
|
-
orange: { name: { zh: "活力橙", en: "Orange" }, value: "#FFA500" },
|
|
6
|
-
gold: { name: { zh: "黄昏", en: "Gold" }, value: "#FFBD14" },
|
|
7
|
-
yellow: { name: { zh: "柠檬黄", en: "Yellow" }, value: "#FFE014" },
|
|
8
|
-
lime: { name: { zh: "新生绿", en: "Lime" }, value: "#A1E619" },
|
|
9
|
-
green: { name: { zh: "仙野绿", en: "Green" }, value: "#00B82B" },
|
|
10
|
-
cyan: { name: { zh: "碧涛青", en: "Cyan" }, value: "#0BD0D0" },
|
|
11
|
-
blue: { name: { zh: "海蔚蓝", en: "Blue" }, value: "#2E8FFF" },
|
|
12
|
-
pqbblue: { name: { zh: "极致蓝", en: "Pqb Blue" }, value: "#1A5EFF" },
|
|
13
|
-
purple: { name: { zh: "暗夜紫", en: "Purple" }, value: "#7126D9" },
|
|
14
|
-
pinkpurple: { name: { zh: "青春紫", en: "Pink Purple" }, value: "#D91AD9" },
|
|
15
|
-
magenta: { name: { zh: "品红", en: "Magenta" }, value: "#FF299F" },
|
|
16
|
-
gray: { name: { zh: "中性灰", en: "Gray" }, value: "#6B6C6D" }
|
|
17
|
-
}, { gray: O, ...f } = s, k = Object.fromEntries(
|
|
18
|
-
Object.entries(f).map(([e, a], l, r) => [e, a.value])
|
|
19
|
-
), d = {
|
|
20
|
-
light: [
|
|
21
|
-
"#F7F8F9",
|
|
22
|
-
"#F2F3F4",
|
|
23
|
-
"#E5E6E7",
|
|
24
|
-
"#C9CACB",
|
|
25
|
-
"#A9ABAC",
|
|
26
|
-
"#868788",
|
|
27
|
-
s.gray.value,
|
|
28
|
-
"#4D4E4F",
|
|
29
|
-
"#28292A",
|
|
30
|
-
"#1E1F20"
|
|
31
|
-
],
|
|
32
|
-
dark: [
|
|
33
|
-
"#121213",
|
|
34
|
-
"#1C1C1D",
|
|
35
|
-
"#404142",
|
|
36
|
-
"#5E5F60",
|
|
37
|
-
"#797A7B",
|
|
38
|
-
"#9C9E9F",
|
|
39
|
-
"#BCBDBE",
|
|
40
|
-
"#D8D9DB",
|
|
41
|
-
"#E4E6E8",
|
|
42
|
-
"#E8EBEE"
|
|
43
|
-
],
|
|
44
|
-
primary: s.gray.value,
|
|
45
|
-
name: s.gray.name
|
|
46
|
-
}, C = Object.fromEntries(
|
|
47
|
-
Object.entries(s).map(([e, a], l, r) => {
|
|
48
|
-
let n = a.value;
|
|
49
|
-
return [
|
|
50
|
-
e,
|
|
51
|
-
{
|
|
52
|
-
light: A({ color: n, length: u }),
|
|
53
|
-
dark: B({ color: n, length: u }),
|
|
54
|
-
primary: n,
|
|
55
|
-
name: a.name
|
|
56
|
-
}
|
|
57
|
-
];
|
|
58
|
-
}).concat([["gray", d]])
|
|
59
|
-
);
|
|
60
|
-
function F(e = {}) {
|
|
61
|
-
const a = ((e == null ? void 0 : e.length) ?? u) / 2 + 1, l = (e == null ? void 0 : e.level) ?? a;
|
|
62
|
-
let r = new v(e == null ? void 0 : e.color);
|
|
63
|
-
const n = r.toHsv(), c = n.h, t = n.s, o = n.v, h = c === 0 && t === 0, E = l < a, m = Math.abs(a - l), z = 1, p = 0.1;
|
|
64
|
-
let g = t;
|
|
65
|
-
g > p && (E ? g = t - (t - p) / (a - 1) * m : g = t + (z - t) / (a - 1) * m), h && (g = t);
|
|
66
|
-
const b = h ? 0.97 : 1, y = 0.1;
|
|
67
|
-
let i = o;
|
|
68
|
-
return i > y && (E ? i = o + (b - o) / (a - 1) * m : i = o - (o - y) / (a - 1) * m), r = new v({
|
|
69
|
-
h: c,
|
|
70
|
-
s: g,
|
|
71
|
-
v: i
|
|
72
|
-
}), e.dark && (r = r.darken(e.amount ?? 10)), r.toHexString();
|
|
73
|
-
}
|
|
74
|
-
function D(e = {}) {
|
|
75
|
-
return F({ ...e, dark: !0 });
|
|
76
|
-
}
|
|
77
|
-
function A(e = {}) {
|
|
78
|
-
return new Array((e == null ? void 0 : e.length) ?? u).fill(0).map((a, l, r) => {
|
|
79
|
-
let n = l + 1;
|
|
80
|
-
return F({ ...e, level: n });
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
function B(e = {}) {
|
|
84
|
-
return new Array((e == null ? void 0 : e.length) ?? u).fill(0).map((a, l, r) => {
|
|
85
|
-
let n = l + 1;
|
|
86
|
-
return D({
|
|
87
|
-
...e,
|
|
88
|
-
level: u - n + 1
|
|
89
|
-
});
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
function P(e) {
|
|
93
|
-
return new v(e).toRgbArrayString();
|
|
94
|
-
}
|
|
95
|
-
const G = {
|
|
96
|
-
LENGTH: u,
|
|
97
|
-
colors: k,
|
|
98
|
-
grayPresets: d,
|
|
99
|
-
colorPresets: C,
|
|
100
|
-
palette: F,
|
|
101
|
-
paletteDark: D,
|
|
102
|
-
generate: A,
|
|
103
|
-
generateDark: B,
|
|
104
|
-
getRgbArrayString: P
|
|
105
|
-
};
|
|
1
|
+
import { R as a } from "../chunk/BbqvFW5R.js";
|
|
106
2
|
export {
|
|
107
|
-
|
|
108
|
-
C as colorPresets,
|
|
109
|
-
k as colors,
|
|
110
|
-
G as default,
|
|
111
|
-
A as generate,
|
|
112
|
-
B as generateDark,
|
|
113
|
-
P as getRgbArrayString,
|
|
114
|
-
d as grayPresets,
|
|
115
|
-
F as palette,
|
|
116
|
-
D as paletteDark,
|
|
117
|
-
G as uiColor
|
|
3
|
+
a as color
|
|
118
4
|
};
|
package/utils/constant.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as r } from "../chunk/ClqoGc3r.js";
|
|
2
|
-
import { N as
|
|
2
|
+
import { N as p, T as s } from "../chunk/CIkPwQlq.js";
|
|
3
3
|
function e(o) {
|
|
4
4
|
return Array.apply(null, Array(o));
|
|
5
5
|
}
|
|
@@ -16,7 +16,8 @@ function t(o) {
|
|
|
16
16
|
]);
|
|
17
17
|
}
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
p as NOOP,
|
|
20
|
+
s as THEME_DARK_CLASS_NAME,
|
|
20
21
|
e as newArray,
|
|
21
22
|
t as pickTriggerPropsFromRest
|
|
22
23
|
};
|
package/utils/contextHolder.js
CHANGED
package/utils/copy.js
CHANGED
package/utils/dom.js
CHANGED
package/utils/fileToURL.js
CHANGED