@unicom-cloud/ui 0.8.75 → 0.8.77
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 +3 -5
- package/BackTop.js +1 -1
- package/Badge.js +1 -1
- package/Breadcrumb.js +2 -2
- package/Button.js +1 -1
- package/Calendar.js +3 -3
- package/Card.js +1 -1
- package/Carousel.js +1 -1
- package/Cascader.js +1 -1
- package/Checkbox.js +6 -2
- package/Collapse.js +1 -1
- package/ColorPicker.js +3 -4
- package/Comment.js +1 -1
- package/ConfigProvider.js +2 -3
- package/Copy.js +1 -1
- package/DatePicker.js +1 -1
- package/Descriptions.js +1 -1
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Dropdown.js +1 -1
- package/Empty.js +1 -1
- package/Icon.js +1 -1
- package/IconHover.js +1 -1
- package/Image.js +1 -1
- package/InputNumber.js +1 -1
- package/Layout.js +1 -1
- package/Link.js +1 -1
- package/List.js +5 -6
- package/Mentions.js +3 -4
- 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 +2 -2
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Progress.js +1 -1
- package/Radio.js +5 -4
- package/Rate.js +1 -1
- package/ResizeBox.js +1 -1
- package/Result.js +1 -1
- package/Select.js +5 -6
- package/Skeleton.js +1 -1
- package/Slider.js +1 -1
- package/Space.js +1 -1
- package/SpeechSynthesis.js +4 -3
- package/Spin.js +1 -1
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/Switch.js +1 -1
- package/Table.js +15 -16
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/Tooltip.js +2 -2
- package/Transfer.js +3 -4
- package/Tree.js +2 -3
- package/TreeSelect.js +3 -3
- package/Trigger.js +1 -1
- package/Typography.js +3 -3
- package/affix/index.js +86 -82
- package/alert/index.js +1 -1
- package/anchor/Anchor.js +1 -1
- package/anchor/Link.js +1 -1
- package/auto-complete/index.js +13 -147
- 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 +12 -318
- 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 +4 -4
- package/cascader/index.js +1 -1
- package/cascader/util.js +8 -8
- package/checkbox/Checkbox.js +7 -4
- package/checkbox/Group.js +5 -5
- package/checkbox/GroupBlock.js +8 -0
- package/checkbox/index.js +7 -2
- package/chunk/{BbqvFW5R.js → 9TSjT7x_.js} +112 -112
- package/chunk/ATwvJ8j2.js +6 -0
- package/chunk/{Dv6USvVF.js → BC5fEyWK.js} +2 -1
- package/chunk/{WVoGhvMI.js → BPQXH_5i.js} +32 -31
- package/chunk/{BPD5iNdA.js → CB4jGw4K.js} +22 -18
- package/chunk/{B8hkFIar.js → CBgu99gQ.js} +1 -1
- package/chunk/CBzE-PUr.js +23 -0
- package/chunk/CNcLypMY.js +723 -0
- package/chunk/{CPlPBkN7.js → C_4I3haT.js} +1 -1
- package/chunk/{0mWCmQHr.js → CjqvxJml.js} +2 -2
- package/chunk/Cwm8LL5p.js +7818 -0
- package/chunk/D0ZWT7db.js +5 -0
- package/chunk/{CWlklVfi.js → tpmioyz1.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 +2 -2
- package/color-picker/InputRgb.js +2 -2
- package/color-picker/Palette.js +2 -2
- package/color-picker/Panel.js +15 -266
- package/color-picker/colors.js +4 -4
- package/color-picker/index.js +13 -268
- package/color-picker/utils.js +1 -1
- package/comment/index.js +1 -1
- package/config-provider/ConfigProvider.js +4 -6
- package/config-provider/context.js +3 -2
- package/config-provider/index.js +4 -5
- package/copy/index.js +1 -1
- package/date-picker/Picker.js +1 -1
- package/date-picker/PickerRange.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 +30 -21
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +1 -1
- package/empty/index.js +1 -1
- package/form/Form.js +10 -10
- 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/hooks/index.js +1 -1
- package/hooks/useWindowSize.js +1 -1
- package/icon/index.js +1 -1
- package/icon-hover/index.js +1 -1
- package/image/Image.js +2 -2
- package/image/ImagePreview.js +2 -2
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +1 -1
- package/image/index.js +1 -1
- package/index.js +453 -463
- package/input/Group.js +1 -1
- package/input/Input.js +1 -1
- package/input/InputElement.js +1 -1
- package/input/Password.js +1 -1
- package/input/Search.js +1 -1
- package/input/Textarea.js +1 -1
- package/input-number/index.js +1 -1
- package/input-tag/InputTag.js +1 -1
- package/layout/Content.js +1 -1
- package/layout/Footer.js +1 -1
- package/layout/Header.js +1 -1
- package/layout/Sider.js +1 -1
- package/layout/index.js +1 -1
- package/link/index.js +1 -1
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +17 -267
- package/mentions/index.js +11 -144
- 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 +5 -45
- package/pagination/Pagination.js +11 -243
- package/pagination/index.js +2 -2
- 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 +5 -5
- package/radio/GroupBlock.js +9 -0
- package/radio/Radio.js +6 -5
- package/radio/index.js +4 -3
- 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 +6 -93
- package/select/Select.js +23 -546
- package/select/index.js +3 -3
- package/select/util.js +18 -139
- 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/speech-synthesis/index.js +4 -3
- 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/variables.less +0 -484
- package/style.css +1 -1
- package/switch/index.js +1 -1
- package/table/Table.js +2 -3
- package/table/index.js +15 -109
- 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 +2 -2
- package/transfer/Item.js +9 -104
- package/transfer/List.js +13 -184
- package/transfer/index.js +13 -180
- package/tree/Animation.js +2 -2
- package/tree/Node.js +3 -4
- package/tree/NodeList.js +6 -80
- package/tree/Tree.js +17 -578
- package/tree/index.js +2 -3
- package/tree-select/List.js +6 -122
- package/tree-select/Select.js +22 -392
- package/tree-select/index.js +3 -3
- package/trigger/index.js +1 -1
- package/types/checkbox/Checkbox.d.ts +5 -2
- package/types/checkbox/GroupBlock.d.ts +7 -0
- package/types/checkbox/index.d.ts +2 -1
- package/types/config-provider/ConfigProvider.d.ts +0 -27
- package/types/config-provider/interface.d.ts +3 -1
- package/types/index.d.ts +2 -2
- package/types/menu/context.d.ts +1 -1
- package/types/radio/GroupBlock.d.ts +7 -0
- package/types/radio/Radio.d.ts +5 -3
- package/types/utils/constant.d.ts +2 -1
- package/types/utils/index.d.ts +1 -0
- package/types/utils/setDarkTheme.d.ts +2 -3
- package/types/utils/setPrimaryColor.d.ts +2 -0
- package/typography/Base.js +1 -1
- package/typography/Ellipsis.js +9 -22
- package/typography/Paragraph.js +1 -1
- package/typography/Typography.js +1 -1
- package/typography/index.js +10 -276
- package/upload/TriggerNode.js +1 -1
- package/upload/Upload.js +1 -1
- package/upload/Uploader.js +43 -44
- package/upload/request.js +1 -1
- package/upload/request_.js +1 -1
- package/utils/caseName.js +1 -1
- package/utils/color.js +1 -1
- package/utils/constant.js +7 -5
- package/utils/contextHolder.js +1 -1
- package/utils/dom.js +1 -1
- package/utils/index.js +199 -195
- package/utils/setDarkTheme.js +34 -5
- package/utils/setPrimaryColor.js +26 -0
- package/utils/tinycolor.js +1 -1
- package/verification-code/VerificationCode.js +1 -1
- package/version/index.js +1 -1
- package/watermark/Watermark.js +1 -1
- package/chunk/BViFMHr-.js +0 -1820
- package/chunk/BsWphzcT.js +0 -20
- package/chunk/BxZ39GzB.js +0 -209
- package/chunk/C9XYyypq.js +0 -713
- package/chunk/CIkPwQlq.js +0 -6
- package/chunk/DFcz9ZPP.js +0 -1020
- package/chunk/DeCsZrXb.js +0 -310
- package/chunk/DskaI8QL.js +0 -25
- package/chunk/EL5Jmjgr.js +0 -170
package/comment/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as n, jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import g from "lodash/isPlainObject";
|
|
3
3
|
import N from "lodash/isString";
|
|
4
4
|
import { forwardRef as u, useContext as v } from "react";
|
|
5
|
-
import { a as C } from "../chunk/
|
|
5
|
+
import { a as C } from "../chunk/CNcLypMY.js";
|
|
6
6
|
import { u as x } from "../chunk/BFTV6myl.js";
|
|
7
7
|
import { p as d } from "../chunk/CUFsOxJ2.js";
|
|
8
8
|
import { a as P } from "../chunk/ClqoGc3r.js";
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@unicom-cloud/icons/context";
|
|
3
|
-
import "../chunk/
|
|
4
|
-
import "
|
|
3
|
+
import { C as f, a as n, b as s } from "../chunk/CNcLypMY.js";
|
|
4
|
+
import "../chunk/ATwvJ8j2.js";
|
|
5
|
+
import "lodash/merge";
|
|
5
6
|
import "react";
|
|
6
7
|
import "../chunk/BFTV6myl.js";
|
|
7
|
-
import { C as f, a as n, e as g, b as l } from "../chunk/C9XYyypq.js";
|
|
8
8
|
import "../modal/config.js";
|
|
9
|
-
import "../chunk/BKKEev13.js";
|
|
10
9
|
export {
|
|
11
10
|
f as ConfigConsumer,
|
|
12
11
|
n as ConfigContext,
|
|
13
|
-
|
|
14
|
-
l as default
|
|
12
|
+
s as default
|
|
15
13
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
+
import "../chunk/ATwvJ8j2.js";
|
|
2
3
|
import "react";
|
|
3
|
-
import { D as
|
|
4
|
+
import { D as m, a as e } from "../chunk/CNcLypMY.js";
|
|
4
5
|
import "../locale/zh-CN.js";
|
|
5
6
|
export {
|
|
6
|
-
|
|
7
|
+
m as DefaultConfigProviderProps,
|
|
7
8
|
e as default
|
|
8
9
|
};
|
package/config-provider/index.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { b as r } from "../chunk/
|
|
2
|
-
import { C as
|
|
1
|
+
import { b as r } from "../chunk/CNcLypMY.js";
|
|
2
|
+
import { C as f, a as t } from "../chunk/CNcLypMY.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
t as colors,
|
|
4
|
+
f as ConfigConsumer,
|
|
5
|
+
t as ConfigContext,
|
|
7
6
|
r as default
|
|
8
7
|
};
|
package/copy/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as T } from "react/jsx-runtime";
|
|
|
2
2
|
import h from "@unicom-cloud/icons/IconUiCheckCircleFill";
|
|
3
3
|
import b from "@unicom-cloud/icons/IconUiCopy";
|
|
4
4
|
import { useContext as P, useState as w, useRef as E, useEffect as k } from "react";
|
|
5
|
-
import { a as v } from "../chunk/
|
|
5
|
+
import { a as v } from "../chunk/CNcLypMY.js";
|
|
6
6
|
import { u as I } from "../chunk/XTEsYGuF.js";
|
|
7
7
|
import N from "../tooltip/index.js";
|
|
8
8
|
import { p as $ } from "../chunk/CUFsOxJ2.js";
|
package/date-picker/Picker.js
CHANGED
|
@@ -6,7 +6,7 @@ import Ie from "lodash/isArray";
|
|
|
6
6
|
import bo from "lodash/isPlainObject";
|
|
7
7
|
import ko from "lodash/isUndefined";
|
|
8
8
|
import jo, { forwardRef as To, useContext as Lo, useRef as ie, useImperativeHandle as No, useState as m, useEffect as Ho } from "react";
|
|
9
|
-
import { a as Mo } from "../chunk/
|
|
9
|
+
import { a as Mo } from "../chunk/CNcLypMY.js";
|
|
10
10
|
import { u as Io } from "../chunk/BFTV6myl.js";
|
|
11
11
|
import { u as Ee } from "../chunk/VSe_Wq1g.js";
|
|
12
12
|
import { u as Eo } from "../chunk/a3hR6zLw.js";
|
|
@@ -6,7 +6,7 @@ import "lodash/isArray";
|
|
|
6
6
|
import "lodash/isPlainObject";
|
|
7
7
|
import "lodash/isUndefined";
|
|
8
8
|
import "react";
|
|
9
|
-
import "../chunk/
|
|
9
|
+
import "../chunk/CNcLypMY.js";
|
|
10
10
|
import "../chunk/BFTV6myl.js";
|
|
11
11
|
import "../chunk/VSe_Wq1g.js";
|
|
12
12
|
import "../chunk/a3hR6zLw.js";
|
|
@@ -17,7 +17,7 @@ import "../chunk/tamGhTJp.js";
|
|
|
17
17
|
import "../chunk/ClqoGc3r.js";
|
|
18
18
|
import "./context.js";
|
|
19
19
|
import "../chunk/CC---6jO.js";
|
|
20
|
-
import { P as q } from "../chunk/
|
|
20
|
+
import { P as q } from "../chunk/C_4I3haT.js";
|
|
21
21
|
import "./util.js";
|
|
22
22
|
export {
|
|
23
23
|
q as default
|
package/date-picker/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import k, { useRef as P, useImperativeHandle as d } from "react";
|
|
3
3
|
import p from "./Picker.js";
|
|
4
|
-
import { P as u, D as f, Q as l, W as y, Y as N, M as $ } from "../chunk/
|
|
4
|
+
import { P as u, D as f, Q as l, W as y, Y as N, M as $ } from "../chunk/C_4I3haT.js";
|
|
5
5
|
function c(s, i) {
|
|
6
6
|
function o(n, m) {
|
|
7
7
|
const t = P();
|
package/descriptions/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import C from "lodash/isArray";
|
|
|
3
3
|
import V from "lodash/isNumber";
|
|
4
4
|
import q from "lodash/isPlainObject";
|
|
5
5
|
import { useContext as B, useState as G, useRef as J, useEffect as K, Fragment as x } from "react";
|
|
6
|
-
import { a as Q } from "../chunk/
|
|
6
|
+
import { a as Q } from "../chunk/CNcLypMY.js";
|
|
7
7
|
import { u as U } from "../chunk/BFTV6myl.js";
|
|
8
8
|
import { p as W } from "../chunk/CUFsOxJ2.js";
|
|
9
9
|
import { responsiveObserve as P, responsiveArray as k } from "../utils/responsiveObserve.js";
|
package/divider/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as x, useContext as u } from "react";
|
|
3
|
-
import { a as $ } from "../chunk/
|
|
3
|
+
import { a as $ } from "../chunk/CNcLypMY.js";
|
|
4
4
|
import { u as h } from "../chunk/BFTV6myl.js";
|
|
5
5
|
import { p as v } from "../chunk/CUFsOxJ2.js";
|
|
6
6
|
const C = {
|
package/draggable/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import x, { useContext as I, useState as C } from "react";
|
|
3
|
-
import { a as D } from "../chunk/
|
|
3
|
+
import { a as D } from "../chunk/CNcLypMY.js";
|
|
4
4
|
import { p as h } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
import v from "./Item.js";
|
|
6
6
|
function R(m) {
|
package/drawer/Drawer.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsxs as N, Fragment as
|
|
1
|
+
import { jsxs as N, Fragment as ve, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import Ie from "@unicom-cloud/icons/IconUiClose";
|
|
3
3
|
import Pe from "lodash/isFunction";
|
|
4
|
-
import $e, { useContext as Be, useRef as K, useState as d, useCallback as Ee, useMemo as
|
|
4
|
+
import $e, { useContext as Be, useRef as K, useState as d, useCallback as Ee, useMemo as De, useImperativeHandle as Re, useEffect as U } from "react";
|
|
5
5
|
import _ from "../button/index.js";
|
|
6
|
-
import { a as
|
|
6
|
+
import { a as Se, I as Oe, b as A } from "../chunk/CNcLypMY.js";
|
|
7
7
|
import { u as Te } from "../chunk/BFTV6myl.js";
|
|
8
8
|
import { u as ze } from "../chunk/DU1RCDfh.js";
|
|
9
9
|
import Fe from "../portal/index.js";
|
|
@@ -25,8 +25,8 @@ const We = {
|
|
|
25
25
|
getPopupContainer: () => document.body
|
|
26
26
|
};
|
|
27
27
|
function qe(Q, V) {
|
|
28
|
-
var
|
|
29
|
-
const u = Be(
|
|
28
|
+
var S, O, T, z, F, j, H, M, Z, L, W, q;
|
|
29
|
+
const u = Be(Se), { locale: w, getPrefixCls: X, componentConfig: m, rtl: Y } = u, t = Te(
|
|
30
30
|
Q,
|
|
31
31
|
We,
|
|
32
32
|
m == null ? void 0 : m.Drawer
|
|
@@ -51,7 +51,7 @@ function qe(Q, V) {
|
|
|
51
51
|
maskClosable: me,
|
|
52
52
|
confirmLoading: pe,
|
|
53
53
|
mountOnEnter: h,
|
|
54
|
-
unmountOnExit:
|
|
54
|
+
unmountOnExit: v,
|
|
55
55
|
afterOpen: x,
|
|
56
56
|
afterClose: C,
|
|
57
57
|
getPopupContainer: a,
|
|
@@ -62,14 +62,14 @@ function qe(Q, V) {
|
|
|
62
62
|
zIndex: P,
|
|
63
63
|
closeIcon: $,
|
|
64
64
|
...Ce
|
|
65
|
-
} = t, l = K(null), B = K(null), [ke, ye] = d(!1), [k, be] = d(), o = X("drawer"), [E, y] = d(!1), [Ke,
|
|
66
|
-
((
|
|
65
|
+
} = t, l = K(null), B = K(null), [ke, ye] = d(!1), [k, be] = d(), o = X("drawer"), [E, y] = d(!1), [Ke, D] = d(!1), R = /* @__PURE__ */ N(ve, { children: [
|
|
66
|
+
((S = t.cancelButton) == null ? void 0 : S.visible) !== !1 && /* @__PURE__ */ n(
|
|
67
67
|
_,
|
|
68
68
|
{
|
|
69
69
|
onClick: t.onCancel,
|
|
70
70
|
...xe,
|
|
71
|
-
...(
|
|
72
|
-
children: ((z = (T = t.cancelButton) == null ? void 0 : T.props) == null ? void 0 : z.children) || ((F = t.cancelButton) == null ? void 0 : F.label) || ((j = t.cancelButton) == null ? void 0 : j.text) || ae ||
|
|
71
|
+
...(O = t.cancelButton) == null ? void 0 : O.props,
|
|
72
|
+
children: ((z = (T = t.cancelButton) == null ? void 0 : T.props) == null ? void 0 : z.children) || ((F = t.cancelButton) == null ? void 0 : F.label) || ((j = t.cancelButton) == null ? void 0 : j.text) || ae || w.Drawer.cancelText
|
|
73
73
|
}
|
|
74
74
|
),
|
|
75
75
|
((H = t.okButton) == null ? void 0 : H.visible) !== !1 && /* @__PURE__ */ n(
|
|
@@ -80,18 +80,18 @@ function qe(Q, V) {
|
|
|
80
80
|
onClick: t.onOk,
|
|
81
81
|
...he,
|
|
82
82
|
...(M = t.okButton) == null ? void 0 : M.props,
|
|
83
|
-
children: ((L = (Z = t.okButton) == null ? void 0 : Z.props) == null ? void 0 : L.children) || ((W = t.okButton) == null ? void 0 : W.label) || ((q = t.okButton) == null ? void 0 : q.text) || se ||
|
|
83
|
+
children: ((L = (Z = t.okButton) == null ? void 0 : Z.props) == null ? void 0 : L.children) || ((W = t.okButton) == null ? void 0 : W.label) || ((q = t.okButton) == null ? void 0 : q.text) || se || w.Drawer.okText
|
|
84
84
|
}
|
|
85
85
|
)
|
|
86
86
|
] }), b = Ee(() => {
|
|
87
87
|
const e = a == null ? void 0 : a();
|
|
88
88
|
return Le(e) || document.body;
|
|
89
|
-
}, [a]), Ne =
|
|
89
|
+
}, [a]), Ne = De(() => !je && b() === document.body, [
|
|
90
90
|
ke,
|
|
91
91
|
b()
|
|
92
92
|
// 潘启宝修改于2024年11月 4日 星期一 21时22分11秒 CST
|
|
93
93
|
]);
|
|
94
|
-
ze(b, { hidden: (r || E) && f }),
|
|
94
|
+
ze(b, { hidden: (r || E) && f }), Re(V, () => l.current), U(() => {
|
|
95
95
|
r && t.getPopupContainer && ye(!0);
|
|
96
96
|
}, []), U(() => {
|
|
97
97
|
var e, i;
|
|
@@ -103,10 +103,10 @@ function qe(Q, V) {
|
|
|
103
103
|
const i = +((e = window.getComputedStyle(l.current, null)) == null ? void 0 : e.zIndex);
|
|
104
104
|
isNaN(i) || be(i + 1);
|
|
105
105
|
}
|
|
106
|
-
},
|
|
106
|
+
}, we = /* @__PURE__ */ N("div", { className: `${o}-scroll`, tabIndex: -1, children: [
|
|
107
107
|
p !== null && /* @__PURE__ */ n("div", { className: `${o}-header`, style: ie, children: /* @__PURE__ */ n("div", { className: `${o}-header-title`, children: p }) }),
|
|
108
108
|
ue && ($ !== void 0 ? /* @__PURE__ */ n("span", { onClick: t.onCancel, className: `${o}-close-icon`, children: $ }) : /* @__PURE__ */ n(
|
|
109
|
-
|
|
109
|
+
Oe,
|
|
110
110
|
{
|
|
111
111
|
onClick: t.onCancel,
|
|
112
112
|
className: `${o}-close-icon`,
|
|
@@ -128,6 +128,7 @@ function qe(Q, V) {
|
|
|
128
128
|
A,
|
|
129
129
|
{
|
|
130
130
|
...u,
|
|
131
|
+
childrenName: "Drawer",
|
|
131
132
|
zIndex: k || 1050,
|
|
132
133
|
getPopupContainer: (e) => typeof I == "function" ? I(e) : B.current,
|
|
133
134
|
children: ne
|
|
@@ -135,7 +136,7 @@ function qe(Q, V) {
|
|
|
135
136
|
)
|
|
136
137
|
}
|
|
137
138
|
),
|
|
138
|
-
s !== null && /* @__PURE__ */ n("div", { className: `${o}-footer`, children: Pe(s) ? s(
|
|
139
|
+
s !== null && /* @__PURE__ */ n("div", { className: `${o}-footer`, children: Pe(s) ? s(R) : s || R })
|
|
139
140
|
] });
|
|
140
141
|
return /* @__PURE__ */ n(
|
|
141
142
|
Fe,
|
|
@@ -170,7 +171,7 @@ function qe(Q, V) {
|
|
|
170
171
|
timeout: 300,
|
|
171
172
|
classNames: "fadeInStandard",
|
|
172
173
|
mountOnEnter: h,
|
|
173
|
-
unmountOnExit:
|
|
174
|
+
unmountOnExit: v,
|
|
174
175
|
children: /* @__PURE__ */ n(
|
|
175
176
|
"div",
|
|
176
177
|
{
|
|
@@ -197,15 +198,15 @@ function qe(Q, V) {
|
|
|
197
198
|
right: "slideRight"
|
|
198
199
|
}[c],
|
|
199
200
|
mountOnEnter: h,
|
|
200
|
-
unmountOnExit:
|
|
201
|
+
unmountOnExit: v,
|
|
201
202
|
onEnter: (e) => {
|
|
202
203
|
e && (e.parentNode.style.display = "block", y(!1));
|
|
203
204
|
},
|
|
204
205
|
onEntered: () => {
|
|
205
|
-
|
|
206
|
+
D(!0), x == null || x();
|
|
206
207
|
},
|
|
207
208
|
onExit: () => {
|
|
208
|
-
|
|
209
|
+
D(!1), y(!0);
|
|
209
210
|
},
|
|
210
211
|
onExited: (e) => {
|
|
211
212
|
e && (y(!1), e.parentNode.style.display = "", C == null || C());
|
|
@@ -219,7 +220,15 @@ function qe(Q, V) {
|
|
|
219
220
|
{ [c]: 0 },
|
|
220
221
|
ee
|
|
221
222
|
),
|
|
222
|
-
children: /* @__PURE__ */ n("div", { className: `${o}-inner`, children: /* @__PURE__ */ n(
|
|
223
|
+
children: /* @__PURE__ */ n("div", { className: `${o}-inner`, children: /* @__PURE__ */ n(
|
|
224
|
+
A,
|
|
225
|
+
{
|
|
226
|
+
...u,
|
|
227
|
+
childrenName: "Drawer",
|
|
228
|
+
zIndex: k || 1050,
|
|
229
|
+
children: we
|
|
230
|
+
}
|
|
231
|
+
) })
|
|
223
232
|
}
|
|
224
233
|
)
|
|
225
234
|
}
|
package/dropdown/Button.js
CHANGED
|
@@ -3,7 +3,7 @@ import "@unicom-cloud/icons/IconUiMore";
|
|
|
3
3
|
import "react";
|
|
4
4
|
import { DropdownButton as f } from "./index.js";
|
|
5
5
|
import "../button/index.js";
|
|
6
|
-
import "../chunk/
|
|
6
|
+
import "../chunk/CNcLypMY.js";
|
|
7
7
|
import "../chunk/BFTV6myl.js";
|
|
8
8
|
import "../chunk/ClqoGc3r.js";
|
|
9
9
|
export {
|
package/dropdown/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s, jsxs as S } from "react/jsx-runtime";
|
|
2
2
|
import A from "lodash/get";
|
|
3
3
|
import l, { forwardRef as W, useContext as z, useRef as j } from "react";
|
|
4
|
-
import { a as F } from "../chunk/
|
|
4
|
+
import { a as F } from "../chunk/CNcLypMY.js";
|
|
5
5
|
import { u as G } from "../chunk/BFTV6myl.js";
|
|
6
6
|
import { u as X } from "../chunk/DeV0v__J.js";
|
|
7
7
|
import Y, { EventsByTriggerNeed as Z } from "../trigger/index.js";
|
package/empty/index.js
CHANGED
package/form/Form.js
CHANGED
|
@@ -3,7 +3,7 @@ import { p as k } from "../chunk/Coz3rCng.js";
|
|
|
3
3
|
import v from "lodash/isPlainObject";
|
|
4
4
|
import O from "lodash/merge";
|
|
5
5
|
import { forwardRef as A, useContext as $, useRef as _, useEffect as H, useImperativeHandle as U } from "react";
|
|
6
|
-
import { a as W, b as X } from "../chunk/
|
|
6
|
+
import { a as W, b as X } from "../chunk/CNcLypMY.js";
|
|
7
7
|
import { u as B } from "../chunk/5_U1CBIu.js";
|
|
8
8
|
import { u as G } from "../chunk/BFTV6myl.js";
|
|
9
9
|
import { p as J } from "../chunk/CUFsOxJ2.js";
|
|
@@ -41,12 +41,12 @@ const ee = {
|
|
|
41
41
|
labelAlign: I,
|
|
42
42
|
disabled: M,
|
|
43
43
|
colon: z,
|
|
44
|
-
className:
|
|
45
|
-
validateTrigger:
|
|
46
|
-
prefixCls:
|
|
47
|
-
validateMessages:
|
|
44
|
+
className: N,
|
|
45
|
+
validateTrigger: T,
|
|
46
|
+
prefixCls: x,
|
|
47
|
+
validateMessages: E,
|
|
48
48
|
...P
|
|
49
|
-
} = e, m =
|
|
49
|
+
} = e, m = x || i.getPrefixCls("form"), q = i.rtl, b = "size" in e ? e.size : i.size, C = l.getInnerMethods(!0);
|
|
50
50
|
B(() => {
|
|
51
51
|
C.innerSetInitialValues(e.initialValues);
|
|
52
52
|
}), H(() => {
|
|
@@ -105,11 +105,11 @@ const ee = {
|
|
|
105
105
|
layout: g,
|
|
106
106
|
store: l,
|
|
107
107
|
prefixCls: m,
|
|
108
|
-
validateTrigger:
|
|
108
|
+
validateTrigger: T,
|
|
109
109
|
validateMessages: O(
|
|
110
110
|
{},
|
|
111
111
|
(S = i.locale.Form) == null ? void 0 : S.validateMessages,
|
|
112
|
-
|
|
112
|
+
E
|
|
113
113
|
),
|
|
114
114
|
getFormElementId: (o) => f(F, o)
|
|
115
115
|
}, j = Q;
|
|
@@ -118,7 +118,7 @@ const ee = {
|
|
|
118
118
|
getRootDOMNode() {
|
|
119
119
|
return p.current;
|
|
120
120
|
}
|
|
121
|
-
})), /* @__PURE__ */ d(X, { ...i, size: b, children: /* @__PURE__ */ d(j.Provider, { value: D, children: /* @__PURE__ */ d(
|
|
121
|
+
})), /* @__PURE__ */ d(X, { ...i, childrenName: "Form", size: b, children: /* @__PURE__ */ d(j.Provider, { value: D, children: /* @__PURE__ */ d(
|
|
122
122
|
R,
|
|
123
123
|
{
|
|
124
124
|
ref: p,
|
|
@@ -140,7 +140,7 @@ const ee = {
|
|
|
140
140
|
`${m}-${g}`,
|
|
141
141
|
`${m}-size-${b}`,
|
|
142
142
|
{ [`${m}-rtl`]: q },
|
|
143
|
-
|
|
143
|
+
N
|
|
144
144
|
),
|
|
145
145
|
style: e.style,
|
|
146
146
|
onSubmit: (o) => {
|
package/form/FormItem.js
CHANGED
|
@@ -4,7 +4,7 @@ import ge from "lodash/isArray";
|
|
|
4
4
|
import he from "lodash/isFunction";
|
|
5
5
|
import y from "lodash/isPlainObject";
|
|
6
6
|
import w from "lodash/isUndefined";
|
|
7
|
-
import { a as Ce } from "../chunk/
|
|
7
|
+
import { a as Ce } from "../chunk/CNcLypMY.js";
|
|
8
8
|
import Y from "../grid/index.js";
|
|
9
9
|
import { u as ye } from "../chunk/BFTV6myl.js";
|
|
10
10
|
import { P as ve } from "../chunk/BpYX5PN4.js";
|
package/form/context.js
CHANGED
package/grid/Col.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as H } from "react/jsx-runtime";
|
|
|
2
2
|
import T from "lodash/isNumber";
|
|
3
3
|
import q from "lodash/isPlainObject";
|
|
4
4
|
import { forwardRef as C, useContext as S, useMemo as D } from "react";
|
|
5
|
-
import { a as I } from "../chunk/
|
|
5
|
+
import { a as I } from "../chunk/CNcLypMY.js";
|
|
6
6
|
import { u as J } from "../chunk/BFTV6myl.js";
|
|
7
7
|
import { p as K } from "../chunk/CUFsOxJ2.js";
|
|
8
8
|
import { RowContext as N } from "./context.js";
|
package/grid/Row.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as S, useContext as z, useState as G, useRef as H, useEffect as V } from "react";
|
|
3
|
-
import { a as B } from "../chunk/
|
|
3
|
+
import { a as B } from "../chunk/CNcLypMY.js";
|
|
4
4
|
import { u as E } from "../chunk/BFTV6myl.js";
|
|
5
5
|
import { p as L } from "../chunk/CUFsOxJ2.js";
|
|
6
6
|
import { o as M } from "../chunk/BKKEev13.js";
|
package/grid/grid-item.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as Q } from "react/jsx-runtime";
|
|
|
2
2
|
import T from "lodash/isFunction";
|
|
3
3
|
import V from "lodash/isString";
|
|
4
4
|
import c, { forwardRef as k, useContext as l, useMemo as u, useEffect as q } from "react";
|
|
5
|
-
import { a as z } from "../chunk/
|
|
5
|
+
import { a as z } from "../chunk/CNcLypMY.js";
|
|
6
6
|
import { u as A } from "../chunk/BFTV6myl.js";
|
|
7
7
|
import { p as H } from "../chunk/CUFsOxJ2.js";
|
|
8
8
|
import { GridContext as J, GridDataCollectorContext as K } from "./context.js";
|
package/grid/grid.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import $ from "lodash/get";
|
|
3
3
|
import f, { forwardRef as h, useState as S, useContext as E } from "react";
|
|
4
|
-
import { a as T } from "../chunk/
|
|
4
|
+
import { a as T } from "../chunk/CNcLypMY.js";
|
|
5
5
|
import { u as b } from "../chunk/BFTV6myl.js";
|
|
6
6
|
import { p as j } from "../chunk/CUFsOxJ2.js";
|
|
7
7
|
import { GridDataCollectorContext as B, GridContext as Q } from "./context.js";
|
package/hooks/index.js
CHANGED
|
@@ -26,7 +26,7 @@ import { u as Y } from "../chunk/hEWZQ8Zi.js";
|
|
|
26
26
|
import { u as _ } from "../chunk/Duezix3m.js";
|
|
27
27
|
import { u as ee } from "../chunk/a3hR6zLw.js";
|
|
28
28
|
import { u as oe } from "../chunk/BKT9BFf4.js";
|
|
29
|
-
import { u as ue } from "../chunk/
|
|
29
|
+
import { u as ue } from "../chunk/CB4jGw4K.js";
|
|
30
30
|
export {
|
|
31
31
|
a as useComputedState,
|
|
32
32
|
m as useCreate,
|
package/hooks/useWindowSize.js
CHANGED
package/icon/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { C as g } from "../chunk/
|
|
3
|
+
import { C as g } from "../chunk/CNcLypMY.js";
|
|
4
4
|
import { p as x } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
import { isServerRendering as y } from "../utils/dom.js";
|
|
6
6
|
const C = [];
|
package/icon-hover/index.js
CHANGED
package/image/Image.js
CHANGED
|
@@ -5,7 +5,7 @@ import E from "lodash/isNumber";
|
|
|
5
5
|
import D from "lodash/isPlainObject";
|
|
6
6
|
import Ne from "lodash/isUndefined";
|
|
7
7
|
import Ve, { useContext as H, useMemo as p, useRef as J, useEffect as g } from "react";
|
|
8
|
-
import { a as xe } from "../chunk/
|
|
8
|
+
import { a as xe } from "../chunk/CNcLypMY.js";
|
|
9
9
|
import { u as Le } from "../chunk/B0n0iRhF.js";
|
|
10
10
|
import { u as ye } from "../chunk/XTEsYGuF.js";
|
|
11
11
|
import { u as Ee } from "../chunk/BFTV6myl.js";
|
|
@@ -13,7 +13,7 @@ import { u as Ge } from "../chunk/DeV0v__J.js";
|
|
|
13
13
|
import { p as Q } from "../chunk/CUFsOxJ2.js";
|
|
14
14
|
import { o as Re } from "../chunk/BKKEev13.js";
|
|
15
15
|
import { u as je, I as Se } from "../chunk/DohlrJ4S.js";
|
|
16
|
-
import { P as W, u as Ue } from "../chunk/
|
|
16
|
+
import { P as W, u as Ue } from "../chunk/BC5fEyWK.js";
|
|
17
17
|
import Fe from "./ImagePreviewGroup.js";
|
|
18
18
|
import { PreviewGroupContext as Me } from "./previewGroupContext.js";
|
|
19
19
|
let G = 0;
|
package/image/ImagePreview.js
CHANGED
|
@@ -12,7 +12,7 @@ import "@unicom-cloud/icons/IconUiZoomIn";
|
|
|
12
12
|
import "@unicom-cloud/icons/IconUiZoomOut";
|
|
13
13
|
import "lodash/isUndefined";
|
|
14
14
|
import "react";
|
|
15
|
-
import "../chunk/
|
|
15
|
+
import "../chunk/CNcLypMY.js";
|
|
16
16
|
import "lodash/isEqualWith";
|
|
17
17
|
import "../chunk/DeV0v__J.js";
|
|
18
18
|
import "../chunk/DAAff-FT.js";
|
|
@@ -35,7 +35,7 @@ import "../chunk/CIRG541s.js";
|
|
|
35
35
|
import "./ImagePreviewArrow.js";
|
|
36
36
|
import "./ImagePreviewToolbar.js";
|
|
37
37
|
import "./previewGroupContext.js";
|
|
38
|
-
import { P as M } from "../chunk/
|
|
38
|
+
import { P as M } from "../chunk/BC5fEyWK.js";
|
|
39
39
|
export {
|
|
40
40
|
M as default
|
|
41
41
|
};
|
|
@@ -2,7 +2,7 @@ import { jsxs as c, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import d from "@unicom-cloud/icons/IconUiLeft";
|
|
3
3
|
import p from "@unicom-cloud/icons/IconUiRight";
|
|
4
4
|
import { useContext as w } from "react";
|
|
5
|
-
import { a as u } from "../chunk/
|
|
5
|
+
import { a as u } from "../chunk/CNcLypMY.js";
|
|
6
6
|
import { p as a } from "../chunk/CUFsOxJ2.js";
|
|
7
7
|
function j(l) {
|
|
8
8
|
const {
|
|
@@ -5,7 +5,7 @@ import Q from "lodash/isUndefined";
|
|
|
5
5
|
import a, { forwardRef as T, useMemo as W, useState as X, useRef as g, useEffect as Y, useImperativeHandle as Z } from "react";
|
|
6
6
|
import { u as $ } from "../chunk/oopARUrq.js";
|
|
7
7
|
import { u as x } from "../chunk/DeV0v__J.js";
|
|
8
|
-
import { P as ee } from "../chunk/
|
|
8
|
+
import { P as ee } from "../chunk/BC5fEyWK.js";
|
|
9
9
|
import { PreviewGroupContext as re } from "./previewGroupContext.js";
|
|
10
10
|
function te(I, C) {
|
|
11
11
|
const {
|
package/image/index.js
CHANGED