@unicom-cloud/ui 0.8.82 → 0.8.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Affix.js +1 -1
- package/Alert.js +1 -1
- package/AutoComplete.js +2 -2
- package/BackTop.js +1 -1
- package/Badge.js +1 -1
- package/Breadcrumb.js +2 -2
- package/Button.js +1 -1
- package/Calendar.js +2 -2
- package/Card.js +1 -1
- package/Carousel.js +1 -1
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +2 -2
- package/Comment.js +1 -1
- package/ConfigProvider.js +1 -1
- package/Copy.js +1 -1
- package/DatePicker.js +1 -1
- package/Descriptions.js +1 -1
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Dropdown.js +1 -1
- package/Empty.js +1 -1
- package/Icon.js +1 -1
- package/IconHover.js +1 -1
- package/Image.js +1 -1
- package/Input.js +11 -10
- package/InputNumber.js +1 -1
- package/Layout.js +1 -1
- package/Link.js +1 -1
- package/List.js +2 -2
- package/Mentions.js +2 -2
- package/Menu.js +1 -1
- package/Message.js +1 -1
- package/Modal.js +1 -1
- package/Notice.js +1 -1
- package/Notification.js +1 -1
- package/OverflowEllipsis.js +1 -1
- package/PageHeader.js +1 -1
- package/Pagination.js +1 -1
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Progress.js +1 -1
- package/Radio.js +1 -1
- package/Rate.js +1 -1
- package/ResizeBox.js +1 -1
- package/Result.js +1 -1
- package/Select.js +1 -1
- package/Skeleton.js +1 -1
- package/Slider.js +1 -1
- package/Space.js +1 -1
- package/Spin.js +1 -1
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/Switch.js +1 -1
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/Tooltip.js +1 -1
- package/Transfer.js +2 -2
- package/Tree.js +1 -1
- package/TreeSelect.js +1 -1
- package/Trigger.js +1 -1
- package/Typography.js +1 -1
- package/affix/index.js +1 -1
- package/alert/index.js +1 -1
- package/anchor/Anchor.js +1 -1
- package/anchor/Link.js +1 -1
- package/auto-complete/index.js +2 -2
- package/avatar/Avatar.js +1 -1
- package/avatar/Group.js +1 -1
- package/back-top/index.js +1 -1
- package/badge/index.js +1 -1
- package/breadcrumb/index.js +2 -2
- package/button/Group.js +1 -1
- package/button/index.js +1 -1
- package/calendar/index.js +2 -2
- package/card/Grid.js +1 -1
- package/card/Meta.js +1 -1
- package/card/index.js +1 -1
- package/carousel/Arrow.js +1 -1
- package/carousel/Indicator.js +1 -1
- package/carousel/index.js +1 -1
- package/cascader/Cascader.js +2 -2
- package/cascader/index.js +1 -1
- package/cascader/util.js +1 -1
- package/checkbox/Checkbox.js +2 -2
- package/checkbox/Group.js +2 -2
- package/checkbox/GroupBlock.js +2 -2
- package/checkbox/index.js +2 -2
- package/chunk/B6r8jPCd.js +6 -0
- package/chunk/{w221i0nK.js → BmulTYLW.js} +14 -13
- package/chunk/C9oo3EJI.js +692 -0
- package/chunk/{D0338Pbq.js → CVSWh4ZZ.js} +1 -1
- package/chunk/{CmMehQON.js → DILUZgXW.js} +1 -1
- package/chunk/DSRHFFrc.js +53 -0
- package/chunk/{CQI1gsQs.js → DdJVL_4g.js} +1 -1
- package/chunk/{DXDbeIai.js → DlHiTTJO.js} +1 -1
- package/chunk/{dKvAiKxr.js → R-uQJib2.js} +2 -2
- package/chunk/{DfrB26fI.js → ev6oHWqY.js} +1 -1
- package/collapse/Collapse.js +2 -2
- package/collapse/Item.js +2 -2
- package/collapse/index.js +1 -1
- package/color-picker/ControlBar.js +1 -1
- package/color-picker/InputAlpha.js +1 -1
- package/color-picker/InputHex.js +1 -1
- package/color-picker/InputRgb.js +1 -1
- package/color-picker/Palette.js +1 -1
- package/color-picker/Panel.js +2 -2
- package/color-picker/index.js +2 -2
- package/comment/index.js +1 -1
- package/config-provider/ConfigProvider.js +6 -5
- package/config-provider/context.js +1 -1
- package/config-provider/index.js +2 -2
- package/copy/index.js +1 -1
- package/date-picker/Picker.js +1 -1
- package/date-picker/RangePicker.js +2 -2
- package/date-picker/index.js +1 -1
- package/descriptions/index.js +1 -1
- package/divider/index.js +1 -1
- package/draggable/index.js +1 -1
- package/drawer/Drawer.js +1 -1
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +1 -1
- package/empty/index.js +1 -1
- package/form/Form.js +1 -1
- package/form/FormItem.js +1 -1
- package/form/context.js +1 -1
- package/grid/Col.js +1 -1
- package/grid/Row.js +1 -1
- package/grid/grid-item.js +1 -1
- package/grid/grid.js +1 -1
- package/icon/index.js +1 -1
- package/icon-hover/index.js +1 -1
- package/image/Image.js +2 -2
- package/image/ImagePreview.js +2 -2
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +1 -1
- package/image/index.js +1 -1
- package/index.js +448 -445
- package/input/Button.js +11 -0
- package/input/Group.js +1 -1
- package/input/Input.js +451 -397
- package/input/InputElement.js +1 -1
- package/input/Password.js +1 -1
- package/input/Search.js +1 -1
- package/input/Textarea.js +1 -1
- package/input/index.js +9 -8
- package/input-number/index.js +1 -1
- package/input-tag/InputTag.js +1 -1
- package/layout/Content.js +1 -1
- package/layout/Footer.js +1 -1
- package/layout/Header.js +1 -1
- package/layout/Sider.js +1 -1
- package/layout/index.js +1 -1
- package/link/index.js +1 -1
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +2 -2
- package/mentions/index.js +2 -2
- package/menu/Menu.js +2 -2
- package/menu/OverflowWrap.js +1 -1
- package/menu/index.js +2 -2
- package/message/index.js +1 -1
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +2 -2
- package/modal/index.js +1 -1
- package/notice/index.js +1 -1
- package/notification/index.js +1 -1
- package/notification/useNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +1 -1
- package/overflow-ellipsis/index.js +1 -1
- package/package.json +1 -1
- package/page-header/index.js +1 -1
- package/pagination/PageItem.js +1 -1
- package/pagination/PageJumper.js +1 -1
- package/pagination/PageOption.js +2 -2
- package/pagination/Pagination.js +2 -2
- package/pagination/index.js +1 -1
- package/picker/Input.js +1 -1
- package/picker/InputRange.js +1 -1
- package/popconfirm/index.js +1 -1
- package/popover/index.js +1 -1
- package/progress/index.js +1 -1
- package/radio/Group.js +2 -2
- package/radio/GroupBlock.js +2 -2
- package/radio/Radio.js +2 -2
- package/radio/index.js +2 -2
- package/rate/index.js +1 -1
- package/resize-box/ResizeTrigger.js +1 -1
- package/resize-box/Split.js +1 -1
- package/resize-box/SplitGroup.js +1 -1
- package/resize-box/index.js +1 -1
- package/result/index.js +1 -1
- package/select/Option.js +1 -1
- package/select/Select.js +2 -2
- package/select/index.js +2 -2
- package/select/util.js +1 -1
- package/select-view/Core.js +1 -1
- package/skeleton/index.js +1 -1
- package/slider/Button.js +1 -1
- package/slider/index.js +1 -1
- package/space/index.js +1 -1
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +1 -1
- package/statistic/Countdown.js +1 -1
- package/statistic/index.js +1 -1
- package/steps/index.js +1 -1
- package/style.css +1 -1
- package/switch/index.js +1 -1
- package/table/Table.js +2 -2
- package/table/index.js +1 -1
- package/tabs/Tab.js +2 -2
- package/tabs/TabContent.js +2 -2
- package/tabs/TabPane.js +1 -1
- package/tabs/index.js +2 -2
- package/tag/index.js +1 -1
- package/time-picker/Picker.js +1 -1
- package/time-picker/TimePicker.js +1 -1
- package/timeline/Item.js +1 -1
- package/timeline/Timeline.js +1 -1
- package/tooltip/index.js +1 -1
- package/transfer/Item.js +2 -2
- package/transfer/List.js +2 -2
- package/transfer/index.js +2 -2
- package/tree/Animation.js +2 -2
- package/tree/Node.js +2 -2
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +2 -2
- package/tree/index.js +1 -1
- package/tree-select/List.js +1 -1
- package/tree-select/Select.js +2 -2
- package/tree-select/index.js +2 -2
- package/trigger/index.js +1 -1
- package/types/index.d.ts +1 -1
- package/types/input/Button.d.ts +5 -0
- package/types/input/Input.d.ts +4 -1
- package/types/input/interface.d.ts +7 -0
- package/types/utils/index.d.ts +1 -0
- package/types/utils/setTheme.d.ts +2 -0
- package/typography/Base.js +1 -1
- package/typography/Ellipsis.js +8 -7
- package/typography/Paragraph.js +1 -1
- package/typography/Typography.js +1 -1
- package/typography/index.js +1 -1
- package/upload/TriggerNode.js +1 -1
- package/upload/Upload.js +1 -1
- package/upload/request.js +1 -1
- package/upload/request_.js +1 -1
- package/utils/constant.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/dom.js +1 -1
- package/utils/index.js +110 -108
- package/utils/setDarkTheme.js +23 -22
- package/utils/setPrimaryColor.js +20 -19
- package/utils/setTheme.js +9 -0
- package/verification-code/VerificationCode.js +1 -1
- package/version/index.js +1 -1
- package/watermark/Watermark.js +1 -1
- package/chunk/Cplu5dtQ.js +0 -730
- package/chunk/D0ZWT7db.js +0 -5
package/switch/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import q from "@unicom-cloud/icons/IconUiLoading";
|
|
|
3
3
|
import { h as A } from "../chunk/BJ9_azwQ.js";
|
|
4
4
|
import B from "lodash/isArray";
|
|
5
5
|
import { forwardRef as L, useContext as M, useState as O } from "react";
|
|
6
|
-
import { a as Q } from "../chunk/
|
|
6
|
+
import { a as Q } from "../chunk/C9oo3EJI.js";
|
|
7
7
|
import { u as U } from "../chunk/BFTV6myl.js";
|
|
8
8
|
import { P as N } from "../chunk/NPajzdOv.js";
|
|
9
9
|
import W from "@unicom-cloud/utils/class-name";
|
package/table/Table.js
CHANGED
|
@@ -6,11 +6,11 @@ import "lodash/isNumber";
|
|
|
6
6
|
import "lodash/isPlainObject";
|
|
7
7
|
import "lodash/throttle";
|
|
8
8
|
import "react";
|
|
9
|
-
import "../chunk/
|
|
9
|
+
import "../chunk/C9oo3EJI.js";
|
|
10
10
|
import "../chunk/B2yFlXke.js";
|
|
11
11
|
import "../chunk/BFTV6myl.js";
|
|
12
12
|
import "../chunk/a3hR6zLw.js";
|
|
13
|
-
import { _ as n } from "../chunk/
|
|
13
|
+
import { _ as n } from "../chunk/BmulTYLW.js";
|
|
14
14
|
import "../spin/index.js";
|
|
15
15
|
import "@unicom-cloud/utils/class-name";
|
|
16
16
|
import "../utils/dom.js";
|
package/table/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as s, i as l, j as o, T as u, u as m, k as t, l as b, m as T, n, o as r, p as f, q as p } from "../chunk/
|
|
1
|
+
import { h as s, i as l, j as o, T as u, u as m, k as t, l as b, m as T, n, o as r, p as f, q as p } from "../chunk/BmulTYLW.js";
|
|
2
2
|
import { defaultComponent as C } from "./constant.js";
|
|
3
3
|
export {
|
|
4
4
|
s as TableSummary,
|
package/tabs/Tab.js
CHANGED
|
@@ -2,13 +2,13 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "lodash/isFunction";
|
|
3
3
|
import "lodash/isPlainObject";
|
|
4
4
|
import "react";
|
|
5
|
-
import "../chunk/
|
|
5
|
+
import "../chunk/C9oo3EJI.js";
|
|
6
6
|
import "../chunk/B4YRLi8r.js";
|
|
7
7
|
import "../chunk/BFTV6myl.js";
|
|
8
8
|
import "../chunk/CXPOj2uy.js";
|
|
9
9
|
import "@unicom-cloud/utils/class-name";
|
|
10
10
|
import "../chunk/BKKEev13.js";
|
|
11
|
-
import { a as d, T as l } from "../chunk/
|
|
11
|
+
import { a as d, T as l } from "../chunk/R-uQJib2.js";
|
|
12
12
|
import { default as u, default as x } from "./TabPane.js";
|
|
13
13
|
export {
|
|
14
14
|
u as TabPane,
|
package/tabs/TabContent.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../chunk/
|
|
3
|
+
import "../chunk/C9oo3EJI.js";
|
|
4
4
|
import "@unicom-cloud/utils/class-name";
|
|
5
|
-
import { b as a } from "../chunk/
|
|
5
|
+
import { b as a } from "../chunk/R-uQJib2.js";
|
|
6
6
|
export {
|
|
7
7
|
a as default
|
|
8
8
|
};
|
package/tabs/TabPane.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import d, { useRef as p, useContext as b } from "react";
|
|
3
|
-
import { a as N } from "../chunk/
|
|
3
|
+
import { a as N } from "../chunk/C9oo3EJI.js";
|
|
4
4
|
import R from "@unicom-cloud/utils/class-name";
|
|
5
5
|
import { o as x } from "../chunk/BKKEev13.js";
|
|
6
6
|
function y(s, o) {
|
package/tabs/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as e } from "../chunk/
|
|
2
|
-
import { a as s } from "../chunk/
|
|
1
|
+
import { T as e } from "../chunk/R-uQJib2.js";
|
|
2
|
+
import { a as s } from "../chunk/R-uQJib2.js";
|
|
3
3
|
import { default as f, default as T } from "./TabPane.js";
|
|
4
4
|
export {
|
|
5
5
|
f as TabPane,
|
package/tag/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import Q from "@unicom-cloud/icons/IconUiClose";
|
|
|
3
3
|
import W from "@unicom-cloud/icons/IconUiLoading";
|
|
4
4
|
import v from "lodash/isPlainObject";
|
|
5
5
|
import { forwardRef as X, useContext as Y, useState as N } from "react";
|
|
6
|
-
import { a as Z, I as S } from "../chunk/
|
|
6
|
+
import { a as Z, I as S } from "../chunk/C9oo3EJI.js";
|
|
7
7
|
import { u as ee } from "../chunk/BYdIoY50.js";
|
|
8
8
|
import { u as oe } from "../chunk/BFTV6myl.js";
|
|
9
9
|
import ne from "../popconfirm/index.js";
|
package/time-picker/Picker.js
CHANGED
|
@@ -3,7 +3,7 @@ import De from "@unicom-cloud/icons/IconUiClockCircle";
|
|
|
3
3
|
import { isDayjs as Se } from "dayjs";
|
|
4
4
|
import l from "lodash/isArray";
|
|
5
5
|
import Te, { useContext as je, useState as I, useRef as we } from "react";
|
|
6
|
-
import { a as Ae } from "../chunk/
|
|
6
|
+
import { a as Ae } from "../chunk/C9oo3EJI.js";
|
|
7
7
|
import { u as Ee } from "../chunk/BFTV6myl.js";
|
|
8
8
|
import { u as Z } from "../chunk/VSe_Wq1g.js";
|
|
9
9
|
import { u as He } from "../chunk/a3hR6zLw.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as G, Fragment as hn, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as W, useCallback as X } from "react";
|
|
3
3
|
import Y from "../button/index.js";
|
|
4
|
-
import { a as xn } from "../chunk/
|
|
4
|
+
import { a as xn } from "../chunk/C9oo3EJI.js";
|
|
5
5
|
import $n from "@unicom-cloud/utils/class-name";
|
|
6
6
|
import { g as On, a as Z, d as $, j as V } from "../chunk/tamGhTJp.js";
|
|
7
7
|
import { padStart as d } from "../utils/pad.js";
|
package/timeline/Item.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import z, { useContext as F, useRef as W, useEffect as j } from "react";
|
|
3
|
-
import { a as D } from "../chunk/
|
|
3
|
+
import { a as D } from "../chunk/C9oo3EJI.js";
|
|
4
4
|
import { u as P } from "../chunk/BFTV6myl.js";
|
|
5
5
|
import h from "@unicom-cloud/utils/class-name";
|
|
6
6
|
const g = {
|
package/timeline/Timeline.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import d, { useContext as w } from "react";
|
|
3
|
-
import { a as z } from "../chunk/
|
|
3
|
+
import { a as z } from "../chunk/C9oo3EJI.js";
|
|
4
4
|
import { u as j } from "../chunk/BFTV6myl.js";
|
|
5
5
|
import k from "../spin/index.js";
|
|
6
6
|
import y from "@unicom-cloud/utils/class-name";
|
package/tooltip/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as c } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as I } from "../chunk/9TSjT7x_.js";
|
|
3
3
|
import S from "lodash/isFunction";
|
|
4
4
|
import { forwardRef as j, useContext as z, useRef as B, useImperativeHandle as W, useMemo as q } from "react";
|
|
5
|
-
import { a as G } from "../chunk/
|
|
5
|
+
import { a as G } from "../chunk/C9oo3EJI.js";
|
|
6
6
|
import { u as J } from "../chunk/BFTV6myl.js";
|
|
7
7
|
import K, { EventsByTriggerNeed as Q } from "../trigger/index.js";
|
|
8
8
|
import h from "@unicom-cloud/utils/class-name";
|
package/transfer/Item.js
CHANGED
|
@@ -2,9 +2,9 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "@unicom-cloud/icons/IconUiClose";
|
|
3
3
|
import "@unicom-cloud/icons/IconUiDragDotVertical";
|
|
4
4
|
import "react";
|
|
5
|
-
import { $ as d } from "../chunk/
|
|
5
|
+
import { $ as d } from "../chunk/BmulTYLW.js";
|
|
6
6
|
import "../chunk/BYdIoY50.js";
|
|
7
|
-
import "../chunk/
|
|
7
|
+
import "../chunk/C9oo3EJI.js";
|
|
8
8
|
import "@unicom-cloud/utils/class-name";
|
|
9
9
|
export {
|
|
10
10
|
d as default
|
package/transfer/List.js
CHANGED
|
@@ -4,8 +4,8 @@ import "@unicom-cloud/icons/IconUiSearch";
|
|
|
4
4
|
import "lodash/isPlainObject";
|
|
5
5
|
import "react";
|
|
6
6
|
import "../button/index.js";
|
|
7
|
-
import { a0 as n, a1 as u } from "../chunk/
|
|
8
|
-
import "../chunk/
|
|
7
|
+
import { a0 as n, a1 as u } from "../chunk/BmulTYLW.js";
|
|
8
|
+
import "../chunk/C9oo3EJI.js";
|
|
9
9
|
import "../chunk/BYdIoY50.js";
|
|
10
10
|
import "../input/Input.js";
|
|
11
11
|
import "@unicom-cloud/utils/class-name";
|
package/transfer/index.js
CHANGED
|
@@ -4,12 +4,12 @@ import "@unicom-cloud/icons/IconUiRight";
|
|
|
4
4
|
import "lodash/isPlainObject";
|
|
5
5
|
import "react";
|
|
6
6
|
import "../button/index.js";
|
|
7
|
-
import "../chunk/
|
|
7
|
+
import "../chunk/C9oo3EJI.js";
|
|
8
8
|
import "../chunk/BFTV6myl.js";
|
|
9
9
|
import "../chunk/CXPOj2uy.js";
|
|
10
10
|
import "@unicom-cloud/utils/class-name";
|
|
11
11
|
import "../chunk/ClqoGc3r.js";
|
|
12
|
-
import { r as x } from "../chunk/
|
|
12
|
+
import { r as x } from "../chunk/BmulTYLW.js";
|
|
13
13
|
export {
|
|
14
14
|
x as default
|
|
15
15
|
};
|
package/tree/Animation.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "lodash/isNumber";
|
|
3
3
|
import "react";
|
|
4
|
-
import "../chunk/
|
|
4
|
+
import "../chunk/C9oo3EJI.js";
|
|
5
5
|
import "../chunk/NPajzdOv.js";
|
|
6
6
|
import "../virtual-list/VirtualList.js";
|
|
7
7
|
import "./Context.js";
|
|
8
|
-
import { a2 as d } from "../chunk/
|
|
8
|
+
import { a2 as d } from "../chunk/BmulTYLW.js";
|
|
9
9
|
export {
|
|
10
10
|
d as default
|
|
11
11
|
};
|
package/tree/Node.js
CHANGED
|
@@ -5,8 +5,8 @@ import "@unicom-cloud/icons/IconUiFile";
|
|
|
5
5
|
import "@unicom-cloud/icons/IconUiLoading";
|
|
6
6
|
import "lodash/isFunction";
|
|
7
7
|
import "react";
|
|
8
|
-
import { N as x } from "../chunk/
|
|
9
|
-
import "../chunk/
|
|
8
|
+
import { N as x } from "../chunk/BmulTYLW.js";
|
|
9
|
+
import "../chunk/C9oo3EJI.js";
|
|
10
10
|
import "@unicom-cloud/utils/class-name";
|
|
11
11
|
import "../utils/throttleByRaf.js";
|
|
12
12
|
import "./Context.js";
|
package/tree/NodeList.js
CHANGED
package/tree/Tree.js
CHANGED
|
@@ -7,11 +7,11 @@ import "lodash/isArray";
|
|
|
7
7
|
import "lodash/isEqualWith";
|
|
8
8
|
import "lodash/isFunction";
|
|
9
9
|
import "lodash/isUndefined";
|
|
10
|
-
import "../chunk/
|
|
10
|
+
import "../chunk/C9oo3EJI.js";
|
|
11
11
|
import "@unicom-cloud/utils/class-name";
|
|
12
12
|
import "../chunk/ClqoGc3r.js";
|
|
13
13
|
import "./Context.js";
|
|
14
|
-
import { N as b, s as c } from "../chunk/
|
|
14
|
+
import { N as b, s as c } from "../chunk/BmulTYLW.js";
|
|
15
15
|
import "./util.js";
|
|
16
16
|
export {
|
|
17
17
|
b as TreeNode,
|
package/tree/index.js
CHANGED
package/tree-select/List.js
CHANGED
package/tree-select/Select.js
CHANGED
|
@@ -5,13 +5,13 @@ import "lodash/isArray";
|
|
|
5
5
|
import "lodash/isFunction";
|
|
6
6
|
import "lodash/isNil";
|
|
7
7
|
import "react";
|
|
8
|
-
import "../chunk/
|
|
8
|
+
import "../chunk/C9oo3EJI.js";
|
|
9
9
|
import "../chunk/B4YRLi8r.js";
|
|
10
10
|
import "../chunk/oopARUrq.js";
|
|
11
11
|
import "../chunk/BFTV6myl.js";
|
|
12
12
|
import "../chunk/CXPOj2uy.js";
|
|
13
13
|
import "../select-view/index.js";
|
|
14
|
-
import { v as h, t as j } from "../chunk/
|
|
14
|
+
import { v as h, t as j } from "../chunk/BmulTYLW.js";
|
|
15
15
|
import "../tree/util.js";
|
|
16
16
|
import "../trigger/index.js";
|
|
17
17
|
import "@unicom-cloud/utils/class-name";
|
package/tree-select/index.js
CHANGED
package/trigger/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import ct from "lodash/isArray";
|
|
|
4
4
|
import S from "lodash/isFunction";
|
|
5
5
|
import { forwardRef as lt, useContext as pt, useRef as R, useState as at, Children as He, useCallback as be, cloneElement as Ie, useImperativeHandle as ft, useLayoutEffect as dt, useEffect as g, Fragment as mt } from "react";
|
|
6
6
|
import { createPortal as gt } from "react-dom";
|
|
7
|
-
import { a as yt } from "../chunk/
|
|
7
|
+
import { a as yt } from "../chunk/C9oo3EJI.js";
|
|
8
8
|
import te from "@unicom-cloud/utils/class-name";
|
|
9
9
|
import { on as oe, off as ne, getScrollElements as Tt, isScrollElement as Ct, contains as Le } from "../utils/dom.js";
|
|
10
10
|
import { s as ht } from "../chunk/ClM74To2.js";
|
package/types/index.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export { default as Form, FormControl, FormItem, FormList, FormProvider, useForm
|
|
|
28
28
|
export { Col, default as Grid, GridItem, Row } from './grid';
|
|
29
29
|
export { addFromIconFontCn, default as Icon, IconContext, useIconProps, } from './icon';
|
|
30
30
|
export { default as Image, ImagePreview, ImagePreviewGroup } from './image';
|
|
31
|
-
export { default as Input, InputGroup, InputPassword, InputSearch, InputTextArea, TextArea, } from './input';
|
|
31
|
+
export { default as Input, InputButton, InputGroup, InputPassword, InputSearch, InputTextArea, TextArea, } from './input';
|
|
32
32
|
export { default as InputNumber } from './input-number';
|
|
33
33
|
export { default as InputTag } from './input-tag';
|
|
34
34
|
export { default as Layout, LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, } from './layout';
|
package/types/input/Input.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { ForwardRefExoticComponent } from 'react';
|
|
2
2
|
import { MergePropsOptions } from '../hooks/useMergeProps';
|
|
3
|
+
import InputButton from './Button';
|
|
3
4
|
import Group from './Group';
|
|
4
5
|
import InputNumber from './Number';
|
|
5
6
|
import Password from './Password';
|
|
@@ -10,6 +11,8 @@ import type { InputProps, RefInputType } from './interface';
|
|
|
10
11
|
export declare function formatValue(value: any, maxLength: any): any;
|
|
11
12
|
type InputRefType = ForwardRefExoticComponent<InputProps & React.RefAttributes<RefInputType> & MergePropsOptions> & {
|
|
12
13
|
Search: typeof Search;
|
|
14
|
+
Button: typeof InputButton;
|
|
15
|
+
InputButton: typeof InputButton;
|
|
13
16
|
TextArea: typeof TextArea;
|
|
14
17
|
Password: typeof Password;
|
|
15
18
|
Number: typeof InputNumber;
|
|
@@ -20,5 +23,5 @@ type InputRefType = ForwardRefExoticComponent<InputProps & React.RefAttributes<R
|
|
|
20
23
|
};
|
|
21
24
|
declare const InputElement: InputRefType;
|
|
22
25
|
export type InputRef = InputRefType;
|
|
23
|
-
export { Group as InputGroup, InputNumber, Password as InputPassword, Search as InputSearch, InputTag, TextArea as InputTextArea, TextArea, };
|
|
26
|
+
export { InputButton, Group as InputGroup, InputNumber, Password as InputPassword, Search as InputSearch, InputTag, TextArea as InputTextArea, TextArea, };
|
|
24
27
|
export default InputElement;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, InputHTMLAttributes, ReactNode, TextareaHTMLAttributes } from 'react';
|
|
2
|
+
import { ButtonProps } from '../button';
|
|
2
3
|
import { Omit } from '../utils/type';
|
|
3
4
|
export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'prefix' | 'className' | 'size' | 'height' | 'maxLength'> {
|
|
4
5
|
style?: CSSProperties;
|
|
@@ -70,6 +71,12 @@ export interface InputSearchProps extends InputProps {
|
|
|
70
71
|
onSearch?: (value: string) => void;
|
|
71
72
|
searchButton?: boolean | ReactNode;
|
|
72
73
|
}
|
|
74
|
+
export interface InputButtonProps extends InputProps {
|
|
75
|
+
buttonProps: ButtonProps;
|
|
76
|
+
label: string;
|
|
77
|
+
loading?: boolean;
|
|
78
|
+
onCallback?: (value: string) => void;
|
|
79
|
+
}
|
|
73
80
|
export interface InputPasswordProps extends InputProps {
|
|
74
81
|
visibilityToggle?: boolean;
|
|
75
82
|
defaultVisibility?: boolean;
|
package/types/utils/index.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export * from './screenfull';
|
|
|
31
31
|
export * from './scrollIntoView';
|
|
32
32
|
export * from './setDarkTheme';
|
|
33
33
|
export * from './setPrimaryColor';
|
|
34
|
+
export * from './setTheme';
|
|
34
35
|
export * from './style';
|
|
35
36
|
export * from './throttleByRaf';
|
|
36
37
|
export * from './tinycolor';
|
package/typography/Base.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a, jsxs as ie, Fragment as re } from "react/jsx-runtime";
|
|
2
2
|
import le from "lodash/merge";
|
|
3
3
|
import O, { forwardRef as ae, useContext as ce, useRef as q, useState as F, useEffect as pe, useImperativeHandle as me } from "react";
|
|
4
|
-
import { a as de } from "../chunk/
|
|
4
|
+
import { a as de } from "../chunk/C9oo3EJI.js";
|
|
5
5
|
import { u as fe } from "../chunk/CXPOj2uy.js";
|
|
6
6
|
import { u as ue } from "../chunk/a3hR6zLw.js";
|
|
7
7
|
import he from "../popover/index.js";
|
package/typography/Ellipsis.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../chunk/
|
|
3
|
+
import "../chunk/C9oo3EJI.js";
|
|
4
4
|
import "../chunk/BFTV6myl.js";
|
|
5
5
|
import "../chunk/CXPOj2uy.js";
|
|
6
6
|
import "lodash/isEqualWith";
|
|
@@ -42,6 +42,7 @@ import "lodash/isPlainObject";
|
|
|
42
42
|
import "../chunk/BJ9_azwQ.js";
|
|
43
43
|
import "@unicom-cloud/utils/file/saveAs";
|
|
44
44
|
import "@unicom-cloud/utils/screenfull";
|
|
45
|
+
import "@unicom-cloud/utils/constant/ui.js";
|
|
45
46
|
import "../utils/throttleByRaf.js";
|
|
46
47
|
import "@unicom-cloud/utils/tree";
|
|
47
48
|
import "lodash/isFunction";
|
|
@@ -50,7 +51,7 @@ import "../chunk/DEuVgCzp.js";
|
|
|
50
51
|
import "../affix/index.js";
|
|
51
52
|
import "../alert/index.js";
|
|
52
53
|
import "../anchor/Anchor.js";
|
|
53
|
-
import { E as
|
|
54
|
+
import { E as tr } from "../chunk/BmulTYLW.js";
|
|
54
55
|
import "../avatar/index.js";
|
|
55
56
|
import "../back-top/index.js";
|
|
56
57
|
import "../badge/index.js";
|
|
@@ -58,7 +59,7 @@ import "../breadcrumb/index.js";
|
|
|
58
59
|
import "../button/index.js";
|
|
59
60
|
import "../card/index.js";
|
|
60
61
|
import "../carousel/index.js";
|
|
61
|
-
import "../chunk/
|
|
62
|
+
import "../chunk/ev6oHWqY.js";
|
|
62
63
|
import "../comment/index.js";
|
|
63
64
|
import "../copy/index.js";
|
|
64
65
|
import "../date-picker/index.js";
|
|
@@ -74,8 +75,8 @@ import "../input/Input.js";
|
|
|
74
75
|
import "../input-tag/InputTag.js";
|
|
75
76
|
import "../layout/index.js";
|
|
76
77
|
import "../link/index.js";
|
|
77
|
-
import "../chunk/
|
|
78
|
-
import "../chunk/
|
|
78
|
+
import "../chunk/CVSWh4ZZ.js";
|
|
79
|
+
import "../chunk/DlHiTTJO.js";
|
|
79
80
|
import "../page-header/index.js";
|
|
80
81
|
import "../popconfirm/index.js";
|
|
81
82
|
import "../popover/index.js";
|
|
@@ -94,7 +95,7 @@ import "../statistic/index.js";
|
|
|
94
95
|
import "../steps/index.js";
|
|
95
96
|
import "../suspense-fallback-test/index.js";
|
|
96
97
|
import "../switch/index.js";
|
|
97
|
-
import "../chunk/
|
|
98
|
+
import "../chunk/R-uQJib2.js";
|
|
98
99
|
import "../tag/index.js";
|
|
99
100
|
import "../time-picker/index.js";
|
|
100
101
|
import "../timeline/Timeline.js";
|
|
@@ -106,5 +107,5 @@ import "../watermark/Watermark.js";
|
|
|
106
107
|
import "../chunk/CIRG541s.js";
|
|
107
108
|
import "@unicom-cloud/utils/is";
|
|
108
109
|
export {
|
|
109
|
-
|
|
110
|
+
tr as default
|
|
110
111
|
};
|
package/typography/Paragraph.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as p, useContext as c } from "react";
|
|
3
|
-
import { a as f } from "../chunk/
|
|
3
|
+
import { a as f } from "../chunk/C9oo3EJI.js";
|
|
4
4
|
import i from "@unicom-cloud/utils/class-name";
|
|
5
5
|
import l from "./Base.js";
|
|
6
6
|
function g(o, r) {
|
package/typography/Typography.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as c, useContext as l } from "react";
|
|
3
|
-
import { a as y } from "../chunk/
|
|
3
|
+
import { a as y } from "../chunk/C9oo3EJI.js";
|
|
4
4
|
import f from "@unicom-cloud/utils/class-name";
|
|
5
5
|
function i(a, s) {
|
|
6
6
|
const { getPrefixCls: o } = l(y), t = o == null ? void 0 : o("typography"), { className: r, style: e, children: p } = a, m = f(t, r);
|
package/typography/index.js
CHANGED
package/upload/TriggerNode.js
CHANGED
|
@@ -3,7 +3,7 @@ import y from "@unicom-cloud/icons/IconUiPlus";
|
|
|
3
3
|
import A from "@unicom-cloud/icons/IconUiUpload";
|
|
4
4
|
import C, { forwardRef as G, useContext as K, useState as U, useEffect as L } from "react";
|
|
5
5
|
import O from "../button/index.js";
|
|
6
|
-
import { a as R } from "../chunk/
|
|
6
|
+
import { a as R } from "../chunk/C9oo3EJI.js";
|
|
7
7
|
import { u as B } from "../chunk/BYdIoY50.js";
|
|
8
8
|
import I from "@unicom-cloud/utils/class-name";
|
|
9
9
|
import { loopDirectory as H, getFiles as S } from "./util.js";
|
package/upload/Upload.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as P, Fragment as T, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import w from "lodash/isFunction";
|
|
3
3
|
import re from "lodash/isNumber";
|
|
4
4
|
import { useContext as D, forwardRef as j, useState as R, useEffect as F, isValidElement as oe, useRef as K, useImperativeHandle as le } from "react";
|
|
5
|
-
import { a as V, I as ae } from "../chunk/
|
|
5
|
+
import { a as V, I as ae } from "../chunk/C9oo3EJI.js";
|
|
6
6
|
import { u as se } from "../chunk/BFTV6myl.js";
|
|
7
7
|
import z from "@unicom-cloud/utils/class-name";
|
|
8
8
|
import { o as ce } from "../chunk/BKKEev13.js";
|
package/upload/request.js
CHANGED
package/upload/request_.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import C from "axios";
|
|
2
|
-
import { N as r } from "../chunk/
|
|
2
|
+
import { N as r } from "../chunk/B6r8jPCd.js";
|
|
3
3
|
import "@unicom-cloud/utils/constant/ui";
|
|
4
4
|
import "../chunk/ClM74To2.js";
|
|
5
5
|
import { isPlainObject as N, isFunction as j } from "@unicom-cloud/utils/is";
|
package/utils/constant.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as r } from "../chunk/ClqoGc3r.js";
|
|
2
|
-
import { N as a } from "../chunk/
|
|
2
|
+
import { N as a } from "../chunk/B6r8jPCd.js";
|
|
3
3
|
import { UI_PC_KEY as i, UI_PC_THEME_DARK_CLASS_NAME as M } from "@unicom-cloud/utils/constant/ui";
|
|
4
4
|
function e(o) {
|
|
5
5
|
return Array.apply(null, Array(o));
|
package/utils/contextHolder.js
CHANGED
package/utils/dom.js
CHANGED