@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/breadcrumb/Item.js
CHANGED
|
@@ -3,7 +3,7 @@ import w from "@unicom-cloud/icons/IconUiDown";
|
|
|
3
3
|
import V from "lodash/isString";
|
|
4
4
|
import { useState as x } from "react";
|
|
5
5
|
import D from "../dropdown/index.js";
|
|
6
|
-
import {
|
|
6
|
+
import { p as s } from "../chunk/CUFsOxJ2.js";
|
|
7
7
|
import { o as $ } from "../chunk/BKKEev13.js";
|
|
8
8
|
import { a as I } from "../chunk/ClqoGc3r.js";
|
|
9
9
|
function j(l) {
|
|
@@ -14,14 +14,14 @@ function j(l) {
|
|
|
14
14
|
prefixCls: e,
|
|
15
15
|
droplist: t,
|
|
16
16
|
dropdownProps: i,
|
|
17
|
-
href:
|
|
17
|
+
href: r,
|
|
18
18
|
onClick: f,
|
|
19
19
|
tagName: h = "div",
|
|
20
20
|
...u
|
|
21
|
-
} = l, [b, g] = x(!1), C = V(
|
|
21
|
+
} = l, [b, g] = x(!1), C = V(r) ? "a" : h, m = /* @__PURE__ */ N(
|
|
22
22
|
C,
|
|
23
23
|
{
|
|
24
|
-
href:
|
|
24
|
+
href: r,
|
|
25
25
|
onClick: f,
|
|
26
26
|
role: "listitem",
|
|
27
27
|
style: d,
|
|
@@ -57,9 +57,9 @@ function j(l) {
|
|
|
57
57
|
g(a), (n = i == null ? void 0 : i.onVisibleChange) == null || n.call(i, a);
|
|
58
58
|
},
|
|
59
59
|
...$(i, ["onVisibleChange"]),
|
|
60
|
-
children:
|
|
60
|
+
children: m
|
|
61
61
|
}
|
|
62
|
-
) :
|
|
62
|
+
) : m;
|
|
63
63
|
}
|
|
64
64
|
j.displayName = "BreadcrumbItem";
|
|
65
65
|
export {
|
package/breadcrumb/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import O from "@unicom-cloud/icons/IconUiObliqueLine";
|
|
3
3
|
import c, { forwardRef as S, useContext as _ } from "react";
|
|
4
|
-
import { a as k } from "../chunk/
|
|
4
|
+
import { a as k } from "../chunk/C9XYyypq.js";
|
|
5
5
|
import { u as q } from "../chunk/BFTV6myl.js";
|
|
6
|
-
import { M as C } from "../chunk/
|
|
7
|
-
import {
|
|
6
|
+
import { M as C } from "../chunk/B8hkFIar.js";
|
|
7
|
+
import { p as v } from "../chunk/CUFsOxJ2.js";
|
|
8
8
|
import { c as F } from "../chunk/DAAff-FT.js";
|
|
9
9
|
import { o as K } from "../chunk/BKKEev13.js";
|
|
10
10
|
import N from "./Item.js";
|
package/button/Group.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import f, { useContext as i } from "react";
|
|
3
|
-
import { a as l } from "../chunk/
|
|
4
|
-
import {
|
|
3
|
+
import { a as l } from "../chunk/C9XYyypq.js";
|
|
4
|
+
import { p as u } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
function x(o, t) {
|
|
6
6
|
const { className: r, style: s, children: e, ...n } = o, { getPrefixCls: a } = i(l), m = a("btn-group"), p = u(m, r);
|
|
7
7
|
return /* @__PURE__ */ c("div", { ref: t, className: p, style: s, ...n, children: e });
|
package/button/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as l, jsxs as A, Fragment as M } from "react/jsx-runtime";
|
|
2
2
|
import Q from "@unicom-cloud/icons/IconUiLoading";
|
|
3
3
|
import _, { forwardRef as W, useContext as Y, useState as H, useRef as J, useEffect as K } from "react";
|
|
4
|
-
import { a as V } from "../chunk/
|
|
4
|
+
import { a as V } from "../chunk/C9XYyypq.js";
|
|
5
5
|
import { u as X } from "../chunk/BFTV6myl.js";
|
|
6
|
-
import {
|
|
6
|
+
import { p as Z } from "../chunk/CUFsOxJ2.js";
|
|
7
7
|
import v from "./Group.js";
|
|
8
8
|
const tt = /^[\u4e00-\u9fa5]{2}$/;
|
|
9
9
|
function et(u) {
|
package/calendar/Month.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../chunk/
|
|
3
|
+
import "../chunk/CUFsOxJ2.js";
|
|
4
4
|
import "../utils/constant.js";
|
|
5
5
|
import "../chunk/tamGhTJp.js";
|
|
6
6
|
import "../utils/pad.js";
|
|
7
7
|
import "./WeekList.js";
|
|
8
|
-
import { M as s, g as f } from "../chunk/
|
|
8
|
+
import { M as s, g as f } from "../chunk/uEGHykhe.js";
|
|
9
9
|
export {
|
|
10
10
|
s as default,
|
|
11
11
|
f as getAllDaysByTime
|
package/calendar/Year.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as C } from "react/jsx-runtime";
|
|
|
2
2
|
import M from "react";
|
|
3
3
|
import { d as S } from "../chunk/tamGhTJp.js";
|
|
4
4
|
import { padStart as w } from "../utils/pad.js";
|
|
5
|
-
import { u as x, M as D } from "../chunk/
|
|
5
|
+
import { u as x, M as D } from "../chunk/uEGHykhe.js";
|
|
6
6
|
const v = [
|
|
7
7
|
"January",
|
|
8
8
|
"February",
|
package/calendar/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsxs as M, jsx as e, Fragment as K } from "react/jsx-runtime";
|
|
2
2
|
import he from "lodash/merge";
|
|
3
3
|
import { useMemo as q, useContext as pe, useState as T } from "react";
|
|
4
|
-
import { a as ue } from "../chunk/
|
|
4
|
+
import { a as ue } from "../chunk/C9XYyypq.js";
|
|
5
5
|
import { u as fe } from "../chunk/BFTV6myl.js";
|
|
6
|
-
import {
|
|
6
|
+
import { p as J } from "../chunk/CUFsOxJ2.js";
|
|
7
7
|
import { a as F, g as A, m as V } from "../chunk/tamGhTJp.js";
|
|
8
8
|
import { a as ge } from "../chunk/ClqoGc3r.js";
|
|
9
|
-
import { g as ve, M as ye } from "../chunk/
|
|
9
|
+
import { g as ve, M as ye } from "../chunk/uEGHykhe.js";
|
|
10
10
|
import Ce from "./Year.js";
|
|
11
11
|
import Q from "@unicom-cloud/icons/IconUiLeft";
|
|
12
12
|
import X from "@unicom-cloud/icons/IconUiRight";
|
|
13
13
|
import Z from "lodash/isArray";
|
|
14
14
|
import De from "../button/index.js";
|
|
15
15
|
import { u as we } from "../chunk/XTEsYGuF.js";
|
|
16
|
-
import { R as Ne } from "../chunk/
|
|
16
|
+
import { R as Ne } from "../chunk/EL5Jmjgr.js";
|
|
17
17
|
import _ from "../select/Select.js";
|
|
18
18
|
import be from "@unicom-cloud/icons/IconUiDoubleLeft";
|
|
19
19
|
import Me from "@unicom-cloud/icons/IconUiDoubleRight";
|
package/card/Grid.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import d, { useContext as f } from "react";
|
|
3
|
-
import { a as c } from "../chunk/
|
|
4
|
-
import {
|
|
3
|
+
import { a as c } from "../chunk/C9XYyypq.js";
|
|
4
|
+
import { p as l } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
function p(o, e) {
|
|
6
|
-
const { children: t, style: a, className: s, hoverable: i } = o, { getPrefixCls:
|
|
7
|
-
return /* @__PURE__ */
|
|
6
|
+
const { children: t, style: a, className: s, hoverable: i } = o, { getPrefixCls: n } = f(c), r = n("card-grid");
|
|
7
|
+
return /* @__PURE__ */ m(
|
|
8
8
|
"div",
|
|
9
9
|
{
|
|
10
10
|
ref: e,
|
package/card/Meta.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as o, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import N, { useContext as v } from "react";
|
|
3
|
-
import { a as h } from "../chunk/
|
|
4
|
-
import {
|
|
3
|
+
import { a as h } from "../chunk/C9XYyypq.js";
|
|
4
|
+
import { p as n } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
function u(c, l) {
|
|
6
|
-
const { className:
|
|
7
|
-
return /* @__PURE__ */ o("div", { ...
|
|
6
|
+
const { className: d, title: a, avatar: e, description: s, actionList: r, ...m } = c, { getPrefixCls: f } = v(h), t = f("card-meta"), p = n(t, d);
|
|
7
|
+
return /* @__PURE__ */ o("div", { ...m, ref: l, className: p, children: [
|
|
8
8
|
a || s ? /* @__PURE__ */ o("div", { className: `${t}-content`, children: [
|
|
9
9
|
a && /* @__PURE__ */ i("div", { className: `${t}-title`, children: a }),
|
|
10
10
|
s && /* @__PURE__ */ i("div", { className: `${t}-description`, children: s })
|
package/card/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
2
2
|
import l, { useContext as L } from "react";
|
|
3
|
-
import { a as k } from "../chunk/
|
|
3
|
+
import { a as k } from "../chunk/C9XYyypq.js";
|
|
4
4
|
import { u as q } from "../chunk/BFTV6myl.js";
|
|
5
5
|
import A from "../spin/index.js";
|
|
6
|
-
import {
|
|
6
|
+
import { p as C } from "../chunk/CUFsOxJ2.js";
|
|
7
7
|
import $ from "./Grid.js";
|
|
8
8
|
import u from "./Meta.js";
|
|
9
9
|
const B = {
|
package/carousel/Arrow.js
CHANGED
|
@@ -4,9 +4,9 @@ import x from "@unicom-cloud/icons/IconUiLeft";
|
|
|
4
4
|
import u from "@unicom-cloud/icons/IconUiRight";
|
|
5
5
|
import C from "@unicom-cloud/icons/IconUiUp";
|
|
6
6
|
import b, { useContext as y } from "react";
|
|
7
|
-
import { a as I } from "../chunk/
|
|
7
|
+
import { a as I } from "../chunk/C9XYyypq.js";
|
|
8
8
|
import { u as P } from "../chunk/XTEsYGuF.js";
|
|
9
|
-
import {
|
|
9
|
+
import { p as $ } from "../chunk/CUFsOxJ2.js";
|
|
10
10
|
function g(i, c) {
|
|
11
11
|
const {
|
|
12
12
|
className: l,
|
package/carousel/Indicator.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import h, { useContext as I } from "react";
|
|
3
|
-
import { a as w } from "../chunk/
|
|
4
|
-
import {
|
|
5
|
-
function N(f,
|
|
6
|
-
const { getPrefixCls:
|
|
3
|
+
import { a as w } from "../chunk/C9XYyypq.js";
|
|
4
|
+
import { p as c } from "../chunk/CUFsOxJ2.js";
|
|
5
|
+
function N(f, p) {
|
|
6
|
+
const { getPrefixCls: m } = I(w), {
|
|
7
7
|
className: u,
|
|
8
8
|
type: n = "line",
|
|
9
9
|
count: s = 2,
|
|
@@ -11,7 +11,7 @@ function N(f, m) {
|
|
|
11
11
|
position: x = "bottom",
|
|
12
12
|
trigger: g = "click",
|
|
13
13
|
onSelectIndex: l
|
|
14
|
-
} = f, e =
|
|
14
|
+
} = f, e = m("carousel-indicator"), r = [];
|
|
15
15
|
if (n === "slider") {
|
|
16
16
|
const t = 100 / s;
|
|
17
17
|
r.push(
|
|
@@ -39,7 +39,7 @@ function N(f, m) {
|
|
|
39
39
|
)
|
|
40
40
|
);
|
|
41
41
|
const C = {
|
|
42
|
-
ref:
|
|
42
|
+
ref: p,
|
|
43
43
|
className: c(
|
|
44
44
|
e,
|
|
45
45
|
`${e}-${n}`,
|
package/carousel/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as ye, jsx as N } from "react/jsx-runtime";
|
|
2
2
|
import P, { useContext as xe, useRef as F, useState as p, useEffect as z, useImperativeHandle as Ie } from "react";
|
|
3
|
-
import { a as Ne } from "../chunk/
|
|
3
|
+
import { a as Ne } from "../chunk/C9XYyypq.js";
|
|
4
4
|
import { u as Ce } from "../chunk/C4OrxKE6.js";
|
|
5
5
|
import { u as Pe } from "../chunk/BFTV6myl.js";
|
|
6
|
-
import {
|
|
6
|
+
import { p as C } from "../chunk/CUFsOxJ2.js";
|
|
7
7
|
import { o as $e } from "../chunk/BKKEev13.js";
|
|
8
8
|
import { r as be } from "../chunk/CIRG541s.js";
|
|
9
9
|
import Te from "../utils/warning.js";
|
package/cascader/Cascader.js
CHANGED
|
@@ -9,7 +9,7 @@ import "lodash/isFunction";
|
|
|
9
9
|
import "lodash/isPlainObject";
|
|
10
10
|
import "lodash/isString";
|
|
11
11
|
import "react";
|
|
12
|
-
import "../chunk/
|
|
12
|
+
import "../chunk/C9XYyypq.js";
|
|
13
13
|
import "../chunk/CQ_WOOmf.js";
|
|
14
14
|
import "../chunk/B4YRLi8r.js";
|
|
15
15
|
import "../chunk/BFTV6myl.js";
|
|
@@ -17,9 +17,9 @@ import "../chunk/DeV0v__J.js";
|
|
|
17
17
|
import "../chunk/a3hR6zLw.js";
|
|
18
18
|
import "../select-view/index.js";
|
|
19
19
|
import "../trigger/index.js";
|
|
20
|
-
import "../chunk/
|
|
20
|
+
import "../chunk/CUFsOxJ2.js";
|
|
21
21
|
import "../chunk/BrOW642m.js";
|
|
22
|
-
import { D as k, C as n } from "../chunk/
|
|
22
|
+
import { D as k, C as n } from "../chunk/DFcz9ZPP.js";
|
|
23
23
|
export {
|
|
24
24
|
k as DefaultFieldNames,
|
|
25
25
|
n as default
|
package/cascader/index.js
CHANGED
package/cascader/util.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as s, a as t, S as r, V as o, f as l, g as S, c as u, b as V, r as f, t as g, v as m } from "../chunk/
|
|
1
|
+
import { P as s, a as t, S as r, V as o, f as l, g as S, c as u, b as V, r as f, t as g, v as m } from "../chunk/DFcz9ZPP.js";
|
|
2
2
|
export {
|
|
3
3
|
s as PANEL_MODE,
|
|
4
4
|
t as SHOW_CHILD,
|
package/checkbox/Checkbox.js
CHANGED
|
@@ -4,12 +4,12 @@ import "@unicom-cloud/icons/IconUiMinus";
|
|
|
4
4
|
import "lodash/isFunction";
|
|
5
5
|
import "lodash/isNil";
|
|
6
6
|
import "react";
|
|
7
|
-
import "../chunk/
|
|
7
|
+
import "../chunk/C9XYyypq.js";
|
|
8
8
|
import "../chunk/BFTV6myl.js";
|
|
9
9
|
import "../chunk/DeV0v__J.js";
|
|
10
|
-
import "../chunk/
|
|
10
|
+
import "../chunk/CUFsOxJ2.js";
|
|
11
11
|
import "../chunk/BKKEev13.js";
|
|
12
|
-
import { C } from "../chunk/
|
|
12
|
+
import { C } from "../chunk/BxZ39GzB.js";
|
|
13
13
|
import "./useCheckbox.js";
|
|
14
14
|
export {
|
|
15
15
|
C as default
|
package/checkbox/Group.js
CHANGED
|
@@ -2,11 +2,11 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "lodash/isArray";
|
|
3
3
|
import "lodash/isPlainObject";
|
|
4
4
|
import "react";
|
|
5
|
-
import "../chunk/
|
|
5
|
+
import "../chunk/C9XYyypq.js";
|
|
6
6
|
import "../chunk/DeV0v__J.js";
|
|
7
|
-
import "../chunk/
|
|
7
|
+
import "../chunk/CUFsOxJ2.js";
|
|
8
8
|
import "../utils/constant.js";
|
|
9
|
-
import { a as b, b as s, G as u } from "../chunk/
|
|
9
|
+
import { a as b, b as s, G as u } from "../chunk/BxZ39GzB.js";
|
|
10
10
|
export {
|
|
11
11
|
b as CheckboxGroupContext,
|
|
12
12
|
s as ClearCheckboxGroupContext,
|
package/checkbox/index.js
CHANGED
|
@@ -2,11 +2,11 @@ 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 "./C9XYyypq.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 "./DeV0v__J.js";
|
|
9
|
-
import {
|
|
9
|
+
import { p as X } from "./CUFsOxJ2.js";
|
|
10
10
|
import { o as ye } from "./BKKEev13.js";
|
|
11
11
|
import ft from "../tabs/TabPane.js";
|
|
12
12
|
import ut from "@unicom-cloud/icons/IconUiPlus";
|
|
@@ -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 "./B8hkFIar.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";
|
|
@@ -3,14 +3,14 @@ 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 "./C9XYyypq.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";
|
|
10
10
|
import { u as Le } from "./BFTV6myl.js";
|
|
11
11
|
import { u as Z } from "./DeV0v__J.js";
|
|
12
12
|
import { SiderContext as ze } from "../layout/Sider.js";
|
|
13
|
-
import {
|
|
13
|
+
import { p as U } from "./CUFsOxJ2.js";
|
|
14
14
|
import { o as Y } from "./BKKEev13.js";
|
|
15
15
|
import V from "../menu/context.js";
|
|
16
16
|
import Be from "../menu/Item.js";
|
|
@@ -21,7 +21,7 @@ import Me from "@unicom-cloud/icons/IconUiDown";
|
|
|
21
21
|
import { u as We } from "./Duezix3m.js";
|
|
22
22
|
import ye from "../menu/Indent.js";
|
|
23
23
|
import { isChildrenSelected as be, processChildren as we, PROPS_NEED_TO_BE_PASSED_IN_SUBMENU as Fe, generateInfoMap as je } from "../menu/util.js";
|
|
24
|
-
import { P as qe } from "./
|
|
24
|
+
import { P as qe } from "./BpYX5PN4.js";
|
|
25
25
|
import { e as ve, y as Ge, n as Qe } from "./BrOW642m.js";
|
|
26
26
|
import { p as Ye } from "./ClqoGc3r.js";
|
|
27
27
|
import Je from "@unicom-cloud/icons/IconUiLeft";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import "./C0pRaDCf.js";
|
|
2
|
+
import s from "lodash/isString.js";
|
|
3
|
+
function w(r) {
|
|
4
|
+
return new Promise((i, e) => {
|
|
5
|
+
if (r)
|
|
6
|
+
if (s(r.url))
|
|
7
|
+
i(r.url);
|
|
8
|
+
else if (r instanceof File) {
|
|
9
|
+
const a = "文件解析出错", o = new FileReader();
|
|
10
|
+
o.onload = (n) => {
|
|
11
|
+
var l;
|
|
12
|
+
const t = (l = n.target) == null ? void 0 : l.result;
|
|
13
|
+
t ? i(t) : e(new Error(n)), o.abort();
|
|
14
|
+
}, o.onerror = () => {
|
|
15
|
+
e(new Error(a));
|
|
16
|
+
}, o.readAsDataURL(r);
|
|
17
|
+
} else
|
|
18
|
+
e(new Error("file 不是 File 的实例"));
|
|
19
|
+
else
|
|
20
|
+
e(new Error("file 为空"));
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
w as u
|
|
25
|
+
};
|