@unicom-cloud/ui 0.8.69 → 0.8.71
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 +2 -2
- package/AutoComplete.js +1 -1
- package/BackTop.js +2 -2
- package/Badge.js +2 -2
- package/Breadcrumb.js +2 -2
- package/Button.js +1 -1
- package/Calendar.js +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- package/Mentions.js +1 -1
- package/Menu.js +1 -1
- package/Message.js +2 -2
- package/Modal.js +1 -1
- package/Notice.js +2 -2
- package/Notification.js +2 -2
- package/OverflowEllipsis.js +1 -1
- package/PageHeader.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/Skeleton.js +1 -1
- package/Slider.js +2 -2
- package/Space.js +1 -1
- package/SpeechSynthesis.js +3 -3
- package/Spin.js +1 -1
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/Switch.js +2 -2
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/Tooltip.js +1 -1
- package/Transfer.js +1 -1
- package/Tree.js +1 -1
- package/Trigger.js +3 -3
- package/affix/index.js +1 -1
- package/alert/index.js +2 -2
- package/anchor/Anchor.js +1 -1
- package/anchor/Link.js +1 -1
- package/auto-complete/index.js +1 -1
- package/avatar/Avatar.js +1 -1
- package/avatar/Group.js +1 -1
- package/back-top/index.js +2 -2
- package/badge/Count.js +1 -1
- package/badge/index.js +2 -2
- 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 +3 -3
- 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/index.js +1 -1
- package/chunk/{CKyu68pu.js → 8V534cS3.js} +3 -3
- package/chunk/{CCv-5KFt.js → BHL-PzAD.js} +149 -152
- package/chunk/BL9DMeor.js +9 -0
- package/chunk/{Clo26EcR.js → BPD5iNdA.js} +16 -21
- package/chunk/BlElSWJg.js +257 -0
- package/chunk/{SSK90wgo.js → BzPNDYAX.js} +1 -1
- package/chunk/{CgurXnoy.js → C5X9bDyX.js} +4 -4
- package/chunk/C6AJxF7d.js +1820 -0
- package/chunk/CQTxhsUk.js +170 -0
- package/chunk/{C98ks5S8.js → CUs1AOCZ.js} +2 -2
- package/chunk/CZWGeRVA.js +715 -0
- package/chunk/{C48SmsN-.js → ClaNycDy.js} +27 -18
- package/chunk/{CpGBWmuz.js → D2DSUGNT.js} +2 -2
- package/chunk/{DonYzv30.js → DV7ywe_q.js} +1 -1
- package/chunk/{BjpUSKM3.js → Dm1NCTkX.js} +3 -3
- package/chunk/{BDB0LByj.js → EHx6bIK_.js} +3 -3
- package/chunk/{Bi4UkwOR.js → I1dqAgn_.js} +4 -4
- package/chunk/a3hR6zLw.js +12 -0
- package/chunk/{DzVH9IBy.js → fFjj2KuF.js} +1 -1
- package/chunk/{vmgkWLYf.js → pEI3aB9Z.js} +2 -2
- package/collapse/Collapse.js +2 -2
- package/collapse/Item.js +3 -3
- 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 +1 -1
- package/comment/index.js +1 -1
- package/config-provider/ConfigProvider.js +1 -1
- 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 +2 -2
- package/date-picker/PickerRange.js +3 -3
- package/date-picker/index.js +1 -1
- package/descriptions/index.js +80 -75
- package/divider/index.js +1 -1
- package/draggable/index.js +1 -1
- package/drawer/Drawer.js +3 -3
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +2 -2
- package/empty/index.js +1 -1
- package/form/Form.js +1 -1
- package/form/FormItem.js +2 -2
- package/form/util.js +11 -11
- 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 +36 -34
- package/hooks/useListenResize.js +4 -0
- package/hooks/useOverrideRef.js +1 -1
- package/hooks/useUpdateEffect.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 +5 -5
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +1 -1
- package/image/index.js +1 -1
- package/index.js +582 -580
- 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 +2 -2
- 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 +1 -1
- package/locale/en-US.js +1 -1
- package/locale/tr-TR.js +1 -1
- package/mentions/index.js +1 -1
- package/menu/Menu.js +2 -2
- package/menu/OverflowWrap.js +1 -1
- package/menu/index.js +2 -2
- package/message/index.js +2 -2
- 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 +2 -2
- package/notification/useNotification.js +1 -1
- package/notification/withNotification.js +43 -35
- 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 +1 -1
- package/pagination/Pagination.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/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-view/Core.js +1 -1
- package/skeleton/index.js +1 -1
- package/slider/Button.js +1 -1
- package/slider/index.js +2 -2
- package/space/index.js +20 -20
- package/speech-synthesis/index.js +39 -39
- 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/switch/index.js +2 -2
- package/table/Table.js +3 -3
- package/table/index.js +89 -81
- 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 +2 -2
- 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 +1 -1
- package/tree/Animation.js +3 -3
- package/tree/Node.js +3 -3
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +2 -2
- package/tree/index.js +1 -1
- package/tree-select/Select.js +2 -2
- package/trigger/index.js +3 -3
- package/types/hooks/index.d.ts +1 -0
- package/types/hooks/useListenResize.d.ts +1 -0
- package/types/locale/en-US.d.ts +12 -12
- package/types/locale/tr-TR.d.ts +12 -12
- package/types/message/interface.d.ts +0 -1
- package/types/notification/interface.d.ts +0 -1
- package/types/space/index.d.ts +3 -4
- package/types/table/hook/useThResizable.d.ts +1 -1
- package/types/table/interface.d.ts +3 -1
- package/types/utils/react19Adapter.d.ts +1 -0
- package/typography/Base.js +2 -2
- package/typography/Ellipsis.js +11 -11
- package/typography/Paragraph.js +1 -1
- package/typography/Typography.js +1 -1
- package/typography/index.js +11 -11
- package/typography/useEllipsis.js +1 -1
- package/upload/TriggerNode.js +1 -1
- package/upload/Upload.js +2 -2
- package/upload/Uploader.js +2 -2
- package/utils/CSSTransition.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/index.js +4 -4
- package/utils/react19Adapter.js +3 -0
- package/utils/reactDOM.js +1 -1
- package/verification-code/VerificationCode.js +1 -1
- package/version/index.js +1 -1
- package/virtual-list/VirtualList.js +1 -1
- package/watermark/Watermark.js +1 -1
- package/chunk/BSCrLtfQ.js +0 -10
- package/chunk/BSaQv6mx.js +0 -251
- package/chunk/CD3AUpzo.js +0 -166
- package/chunk/CzQObzKd.js +0 -1817
- package/chunk/ll867Bf3.js +0 -730
|
@@ -7,7 +7,7 @@ import L from "@unicom-cloud/icons/IconUiDragDot";
|
|
|
7
7
|
import M from "@unicom-cloud/icons/IconUiDragDotVertical";
|
|
8
8
|
import g from "lodash/isFunction";
|
|
9
9
|
import { useContext as V, useRef as q, useEffect as A } from "react";
|
|
10
|
-
import { a as B } from "../chunk/
|
|
10
|
+
import { a as B } from "../chunk/CZWGeRVA.js";
|
|
11
11
|
import { m as o } from "../chunk/JPPo5nY_.js";
|
|
12
12
|
import "../chunk/D-TPB2Do.js";
|
|
13
13
|
import { o as G } from "../chunk/BKKEev13.js";
|
package/resize-box/Split.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as y, jsxs as ie } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as ce, useContext as ae, useState as D, useRef as T, useImperativeHandle as fe, useEffect as ue } from "react";
|
|
3
|
-
import { a as me } from "../chunk/
|
|
3
|
+
import { a as me } from "../chunk/CZWGeRVA.js";
|
|
4
4
|
import { u as le } from "../chunk/B2yFlXke.js";
|
|
5
5
|
import { m as $ } from "../chunk/JPPo5nY_.js";
|
|
6
6
|
import { on as m, off as l } from "../utils/dom.js";
|
package/resize-box/SplitGroup.js
CHANGED
|
@@ -5,7 +5,7 @@ import S from "lodash/isPlainObject";
|
|
|
5
5
|
import Ot from "lodash/isString";
|
|
6
6
|
import W from "lodash/isUndefined";
|
|
7
7
|
import Ct, { forwardRef as xt, useContext as St, useRef as z, useState as y, useEffect as L, useImperativeHandle as zt } from "react";
|
|
8
|
-
import { a as Pt } from "../chunk/
|
|
8
|
+
import { a as Pt } from "../chunk/CZWGeRVA.js";
|
|
9
9
|
import { m as Rt } from "../chunk/JPPo5nY_.js";
|
|
10
10
|
import { on as P, off as R } from "../utils/dom.js";
|
|
11
11
|
import { o as Nt } from "../chunk/BKKEev13.js";
|
package/resize-box/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as ot, jsx as rt } from "react/jsx-runtime";
|
|
2
2
|
import B from "lodash/isNumber";
|
|
3
3
|
import { forwardRef as nt, useContext as st, useState as it, useRef as E, useImperativeHandle as ct } from "react";
|
|
4
|
-
import { a as at } from "../chunk/
|
|
4
|
+
import { a as at } from "../chunk/CZWGeRVA.js";
|
|
5
5
|
import { u as ut } from "../chunk/BFTV6myl.js";
|
|
6
6
|
import { u as W } from "../chunk/CdaT1b_F.js";
|
|
7
7
|
import { m as mt } from "../chunk/JPPo5nY_.js";
|
package/result/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import v from "@unicom-cloud/icons/IconUiClose";
|
|
|
4
4
|
import C from "@unicom-cloud/icons/IconUiExclamation";
|
|
5
5
|
import R from "@unicom-cloud/icons/IconUiInfo";
|
|
6
6
|
import { forwardRef as U, useContext as P } from "react";
|
|
7
|
-
import { a as b } from "../chunk/
|
|
7
|
+
import { a as b } from "../chunk/CZWGeRVA.js";
|
|
8
8
|
import { u as j } from "../chunk/BFTV6myl.js";
|
|
9
9
|
import { m as l } from "../chunk/JPPo5nY_.js";
|
|
10
10
|
import w from "./403.js";
|
package/select/Option.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as j, jsx as C } from "react/jsx-runtime";
|
|
2
2
|
import y from "react";
|
|
3
|
-
import { C as E } from "../chunk/
|
|
3
|
+
import { C as E } from "../chunk/BzPNDYAX.js";
|
|
4
4
|
import { m as v } from "../chunk/JPPo5nY_.js";
|
|
5
5
|
import { o as L } from "../chunk/BKKEev13.js";
|
|
6
6
|
function P(l, _) {
|
package/select/Select.js
CHANGED
|
@@ -2,8 +2,8 @@ import { jsx as _, jsxs as gt } from "react/jsx-runtime";
|
|
|
2
2
|
import U from "lodash/isArray";
|
|
3
3
|
import Ot from "lodash/isFunction";
|
|
4
4
|
import ht, { useContext as Ct, useState as W, useMemo as De, useRef as b, useCallback as pe, useEffect as V, useImperativeHandle as vt } from "react";
|
|
5
|
-
import { C as yt } from "../chunk/
|
|
6
|
-
import { a as bt } from "../chunk/
|
|
5
|
+
import { C as yt } from "../chunk/BzPNDYAX.js";
|
|
6
|
+
import { a as bt } from "../chunk/CZWGeRVA.js";
|
|
7
7
|
import { u as Vt } from "../chunk/B4YRLi8r.js";
|
|
8
8
|
import { u as kt } from "../chunk/BFTV6myl.js";
|
|
9
9
|
import { u as Re } from "../chunk/CdaT1b_F.js";
|
package/select-view/Core.js
CHANGED
|
@@ -6,7 +6,7 @@ import oo from "@unicom-cloud/icons/IconUiLoading";
|
|
|
6
6
|
import ro from "@unicom-cloud/icons/IconUiSearch";
|
|
7
7
|
import no from "lodash/isFunction";
|
|
8
8
|
import fe from "lodash/isUndefined";
|
|
9
|
-
import { a as to, I as so } from "../chunk/
|
|
9
|
+
import { a as to, I as so } from "../chunk/CZWGeRVA.js";
|
|
10
10
|
import { u as ao } from "../chunk/CQ_WOOmf.js";
|
|
11
11
|
import { u as lo } from "../chunk/BsY85n3_.js";
|
|
12
12
|
import co from "../input-tag/InputTag.js";
|
package/skeleton/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e, jsxs as N } from "react/jsx-runtime";
|
|
2
2
|
import $ from "lodash/isPlainObject";
|
|
3
3
|
import S, { forwardRef as j, useContext as v } from "react";
|
|
4
|
-
import { a as b } from "../chunk/
|
|
4
|
+
import { a as b } from "../chunk/CZWGeRVA.js";
|
|
5
5
|
import { u as y } from "../chunk/BFTV6myl.js";
|
|
6
6
|
import { m as R } from "../chunk/JPPo5nY_.js";
|
|
7
7
|
import { a as w } from "../chunk/ClqoGc3r.js";
|
package/slider/Button.js
CHANGED
|
@@ -3,7 +3,7 @@ import w from "lodash/isFunction";
|
|
|
3
3
|
import W from "lodash/isNumber";
|
|
4
4
|
import q from "lodash/isString";
|
|
5
5
|
import G, { useState as H, useContext as J, useMemo as B, useRef as g, useEffect as Q } from "react";
|
|
6
|
-
import { a as Z } from "../chunk/
|
|
6
|
+
import { a as Z } from "../chunk/CZWGeRVA.js";
|
|
7
7
|
import { u as _ } from "../chunk/XTEsYGuF.js";
|
|
8
8
|
import { u as tt } from "../chunk/CdaT1b_F.js";
|
|
9
9
|
import et from "../trigger/index.js";
|
package/slider/index.js
CHANGED
|
@@ -4,10 +4,10 @@ import _ from "lodash/isArray";
|
|
|
4
4
|
import ee from "lodash/isFunction";
|
|
5
5
|
import te from "lodash/isPlainObject";
|
|
6
6
|
import ze, { useMemo as ne, useCallback as T, forwardRef as He, useContext as Qe, useRef as B } from "react";
|
|
7
|
-
import { a as Ze } from "../chunk/
|
|
7
|
+
import { a as Ze } from "../chunk/CZWGeRVA.js";
|
|
8
8
|
import { u as _e } from "../chunk/BFTV6myl.js";
|
|
9
9
|
import { u as et } from "../chunk/CdaT1b_F.js";
|
|
10
|
-
import { u as tt } from "../chunk/
|
|
10
|
+
import { u as tt } from "../chunk/a3hR6zLw.js";
|
|
11
11
|
import { m as ve } from "../chunk/JPPo5nY_.js";
|
|
12
12
|
import { on as we, off as be } from "../utils/dom.js";
|
|
13
13
|
import { o as nt } from "../chunk/BKKEev13.js";
|
package/space/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a, jsxs as A } from "react/jsx-runtime";
|
|
2
2
|
import L from "lodash/isArray";
|
|
3
3
|
import M from "lodash/isNumber";
|
|
4
4
|
import P, { forwardRef as b, useContext as j } from "react";
|
|
5
|
-
import { a as k } from "../chunk/
|
|
5
|
+
import { a as k } from "../chunk/CZWGeRVA.js";
|
|
6
6
|
import { u as D } from "../chunk/BFTV6myl.js";
|
|
7
7
|
import { m as F } from "../chunk/JPPo5nY_.js";
|
|
8
8
|
import H from "./toArray.js";
|
|
@@ -20,22 +20,22 @@ function V(c, m) {
|
|
|
20
20
|
style: x,
|
|
21
21
|
children: C,
|
|
22
22
|
size: i,
|
|
23
|
-
direction:
|
|
23
|
+
direction: s,
|
|
24
24
|
align: w,
|
|
25
|
-
wrap:
|
|
26
|
-
split:
|
|
25
|
+
wrap: u,
|
|
26
|
+
split: f,
|
|
27
27
|
...B
|
|
28
|
-
} = N, e = v("space"), $ = w || (
|
|
28
|
+
} = N, e = v("space"), $ = w || (s === "horizontal" ? "center" : ""), R = F(
|
|
29
29
|
e,
|
|
30
30
|
{
|
|
31
|
-
[`${e}-${
|
|
31
|
+
[`${e}-${s}`]: s,
|
|
32
32
|
[`${e}-align-${$}`]: $,
|
|
33
|
-
[`${e}-wrap`]:
|
|
33
|
+
[`${e}-wrap`]: u,
|
|
34
34
|
[`${e}-rtl`]: d
|
|
35
35
|
},
|
|
36
36
|
S
|
|
37
37
|
);
|
|
38
|
-
function
|
|
38
|
+
function p(r) {
|
|
39
39
|
if (M(r))
|
|
40
40
|
return r;
|
|
41
41
|
switch (r) {
|
|
@@ -55,34 +55,34 @@ function V(c, m) {
|
|
|
55
55
|
function z(r) {
|
|
56
56
|
const n = y.length === r + 1, o = d ? "marginLeft" : "marginRight";
|
|
57
57
|
if (typeof i == "string" || typeof i == "number") {
|
|
58
|
-
const t =
|
|
59
|
-
return
|
|
58
|
+
const t = p(i);
|
|
59
|
+
return u ? n ? { marginBottom: t } : {
|
|
60
60
|
[`${o}`]: t,
|
|
61
61
|
marginBottom: t
|
|
62
62
|
} : n ? {} : {
|
|
63
|
-
[
|
|
63
|
+
[s === "vertical" ? "marginBottom" : o]: t
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
if (L(i)) {
|
|
67
|
-
const t =
|
|
68
|
-
return
|
|
67
|
+
const t = p(i[0]), g = p(i[1]);
|
|
68
|
+
return u ? n ? { marginBottom: g } : {
|
|
69
69
|
[`${o}`]: t,
|
|
70
70
|
marginBottom: g
|
|
71
|
-
} :
|
|
71
|
+
} : s === "vertical" ? { marginBottom: g } : { [`${o}`]: t };
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
return /* @__PURE__ */
|
|
75
|
-
const o = (r == null ? void 0 : r.key) || n, t =
|
|
74
|
+
return /* @__PURE__ */ a("div", { ref: m, className: R, style: x, ...B, children: y.map((r, n) => {
|
|
75
|
+
const o = (r == null ? void 0 : r.key) || n, t = f != null && n > 0;
|
|
76
76
|
return /* @__PURE__ */ A(P.Fragment, { children: [
|
|
77
|
-
t && /* @__PURE__ */
|
|
78
|
-
/* @__PURE__ */
|
|
77
|
+
t && /* @__PURE__ */ a("div", { className: `${e}-item-split`, children: f }),
|
|
78
|
+
/* @__PURE__ */ a("div", { className: `${e}-item`, style: z(n), children: r })
|
|
79
79
|
] }, o);
|
|
80
80
|
}) });
|
|
81
81
|
}
|
|
82
82
|
const h = b(V);
|
|
83
83
|
h.displayName = "Space";
|
|
84
84
|
function U(c, m) {
|
|
85
|
-
return /* @__PURE__ */
|
|
85
|
+
return /* @__PURE__ */ a(h, { ref: m, direction: "vertical", children: c.children });
|
|
86
86
|
}
|
|
87
87
|
export {
|
|
88
88
|
U as SpaceVertical,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { memo as
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { memo as C, forwardRef as I, useState as x, useEffect as S, useImperativeHandle as U } from "react";
|
|
3
3
|
import "../chunk/Biupwn8l.js";
|
|
4
4
|
import "../utils/dom.js";
|
|
5
5
|
import "../chunk/D-TPB2Do.js";
|
|
6
|
-
import "
|
|
6
|
+
import "../chunk/ClaNycDy.js";
|
|
7
7
|
import "../chunk/Ce1j9KTi.js";
|
|
8
8
|
import "lodash/debounce";
|
|
9
9
|
import "../chunk/yl4BU7Sd.js";
|
|
@@ -33,7 +33,7 @@ import "lodash/upperFirst.js";
|
|
|
33
33
|
import "lodash/isPlainObject.js";
|
|
34
34
|
import "lodash/uniq.js";
|
|
35
35
|
import "lodash/isString.js";
|
|
36
|
-
import "../chunk/
|
|
36
|
+
import "../chunk/fFjj2KuF.js";
|
|
37
37
|
import "lodash/escapeRegExp";
|
|
38
38
|
import "lodash/isArray";
|
|
39
39
|
import "lodash/isNumber";
|
|
@@ -41,23 +41,23 @@ import "lodash/isString";
|
|
|
41
41
|
import "lodash/isPlainObject";
|
|
42
42
|
import "../chunk/Bl7BnD1R.js";
|
|
43
43
|
import "lodash/isFunction";
|
|
44
|
-
import "../chunk/
|
|
44
|
+
import "../chunk/BHL-PzAD.js";
|
|
45
45
|
import "uuid";
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
function
|
|
52
|
-
function
|
|
53
|
-
const { useButton:
|
|
46
|
+
import g from "@unicom-cloud/icons/IconUiMute";
|
|
47
|
+
import v from "@unicom-cloud/icons/IconUiPauseCircleFill";
|
|
48
|
+
import B from "@unicom-cloud/icons/IconUiPlayCircleFill";
|
|
49
|
+
import F from "@unicom-cloud/icons/IconUiSound";
|
|
50
|
+
import H from "../button/index.js";
|
|
51
|
+
function R(a) {
|
|
52
|
+
function m(d, y) {
|
|
53
|
+
const { useButton: k = !0, buttonProps: e, ...o } = d ?? {}, [s, n] = x(!1);
|
|
54
54
|
function u() {
|
|
55
|
-
var
|
|
56
|
-
(t = (
|
|
55
|
+
var i, t;
|
|
56
|
+
(t = (i = window.speechSynthesis) == null ? void 0 : i.cancel) == null || t.call(i);
|
|
57
57
|
}
|
|
58
|
-
function
|
|
59
|
-
var
|
|
60
|
-
let
|
|
58
|
+
function w() {
|
|
59
|
+
var c, r, h;
|
|
60
|
+
let i = ((c = o.getText) == null ? void 0 : c.call(o)) || o.text, t = new SpeechSynthesisUtterance(i);
|
|
61
61
|
t.onstart = function() {
|
|
62
62
|
n(!0);
|
|
63
63
|
}, t.onerror = () => {
|
|
@@ -70,40 +70,40 @@ function v(l) {
|
|
|
70
70
|
}, t.onboundary = () => {
|
|
71
71
|
}, t.onend = () => {
|
|
72
72
|
n(!1);
|
|
73
|
-
}, (
|
|
73
|
+
}, (h = (r = window.speechSynthesis) == null ? void 0 : r.speak) == null || h.call(r, t);
|
|
74
74
|
}
|
|
75
|
-
function
|
|
76
|
-
var t
|
|
77
|
-
u(),
|
|
75
|
+
function f(i) {
|
|
76
|
+
var t;
|
|
77
|
+
u(), s || w(), (t = e == null ? void 0 : e.onClick) == null || t.call(e, i);
|
|
78
78
|
}
|
|
79
|
-
let
|
|
79
|
+
let l;
|
|
80
80
|
if (window.speechSynthesis && window.SpeechSynthesisUtterance)
|
|
81
|
-
if (
|
|
82
|
-
let { label:
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
if (k) {
|
|
82
|
+
let { label: i, text: t, children: c, ...r } = e ?? {};
|
|
83
|
+
l = /* @__PURE__ */ p(
|
|
84
|
+
a,
|
|
85
85
|
{
|
|
86
|
-
...
|
|
86
|
+
...o,
|
|
87
87
|
type: "text",
|
|
88
88
|
size: "mini",
|
|
89
|
-
icon:
|
|
89
|
+
icon: s ? /* @__PURE__ */ p(g, {}) : /* @__PURE__ */ p(F, {}),
|
|
90
90
|
...r,
|
|
91
|
-
onClick:
|
|
92
|
-
children:
|
|
91
|
+
onClick: f,
|
|
92
|
+
children: i || t || c
|
|
93
93
|
}
|
|
94
94
|
);
|
|
95
95
|
} else
|
|
96
|
-
|
|
97
|
-
return
|
|
96
|
+
l = /* @__PURE__ */ p(s ? v : B, { ...o.iconProps, onClick: f });
|
|
97
|
+
return S(() => () => {
|
|
98
98
|
u();
|
|
99
|
-
}, []),
|
|
99
|
+
}, []), U(y, () => ({})), l;
|
|
100
100
|
}
|
|
101
|
-
return
|
|
101
|
+
return C(I(m));
|
|
102
102
|
}
|
|
103
|
-
const
|
|
104
|
-
return
|
|
105
|
-
}, []), /* @__PURE__ */
|
|
103
|
+
const Bt = R(function(m) {
|
|
104
|
+
return S(() => () => {
|
|
105
|
+
}, []), /* @__PURE__ */ p(H, { ...m, children: m.children });
|
|
106
106
|
});
|
|
107
107
|
export {
|
|
108
|
-
|
|
108
|
+
Bt as default
|
|
109
109
|
};
|
package/spin/DotLoading.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import m from "lodash/isNumber";
|
|
3
3
|
import { useContext as a } from "react";
|
|
4
|
-
import { a as l } from "../chunk/
|
|
4
|
+
import { a as l } from "../chunk/CZWGeRVA.js";
|
|
5
5
|
function g(t) {
|
|
6
6
|
const { getPrefixCls: r } = a(l), i = `${r("spin")}-dot`, n = {
|
|
7
7
|
width: t.size,
|
package/spin/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as n, jsxs as c, Fragment as h } from "react/jsx-runtime";
|
|
|
2
2
|
import E from "@unicom-cloud/icons/IconUiLoading";
|
|
3
3
|
import I from "lodash/debounce";
|
|
4
4
|
import $, { useContext as j, useState as w, useCallback as P, useRef as D, useImperativeHandle as F, useEffect as H } from "react";
|
|
5
|
-
import { a as M } from "../chunk/
|
|
5
|
+
import { a as M } from "../chunk/CZWGeRVA.js";
|
|
6
6
|
import { u as U } from "../chunk/BFTV6myl.js";
|
|
7
7
|
import { m as N } from "../chunk/JPPo5nY_.js";
|
|
8
8
|
import { a as _ } from "../chunk/D-TPB2Do.js";
|
package/statistic/Countdown.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as M, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import T from "dayjs";
|
|
3
3
|
import _ from "lodash/isFunction";
|
|
4
4
|
import { forwardRef as E, useContext as F, useState as d, useRef as O, useEffect as P } from "react";
|
|
5
|
-
import { a as b } from "../chunk/
|
|
5
|
+
import { a as b } from "../chunk/CZWGeRVA.js";
|
|
6
6
|
import { m as k } from "../chunk/JPPo5nY_.js";
|
|
7
7
|
import { g as v, a as w } from "../chunk/tamGhTJp.js";
|
|
8
8
|
import { getDateString as h } from "./util.js";
|
package/statistic/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import A from "dayjs";
|
|
|
4
4
|
import B from "lodash/isFunction";
|
|
5
5
|
import c from "lodash/isNumber";
|
|
6
6
|
import { forwardRef as G, useContext as J, useRef as b, useState as K, useEffect as Q, useImperativeHandle as T, useMemo as X } from "react";
|
|
7
|
-
import { a as Y } from "../chunk/
|
|
7
|
+
import { a as Y } from "../chunk/CZWGeRVA.js";
|
|
8
8
|
import { u as Z } from "../chunk/BFTV6myl.js";
|
|
9
9
|
import tt from "../skeleton/index.js";
|
|
10
10
|
import { m as et } from "../chunk/JPPo5nY_.js";
|
package/steps/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as w } from "react/jsx-runtime";
|
|
2
2
|
import d, { forwardRef as D, useContext as R } from "react";
|
|
3
|
-
import { a as k } from "../chunk/
|
|
3
|
+
import { a as k } from "../chunk/CZWGeRVA.js";
|
|
4
4
|
import { u as A } from "../chunk/BFTV6myl.js";
|
|
5
5
|
import { m as E } from "../chunk/JPPo5nY_.js";
|
|
6
6
|
import { a as j } from "../chunk/ClqoGc3r.js";
|
package/switch/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as l, jsx as r, Fragment as R } from "react/jsx-runtime";
|
|
2
2
|
import q from "@unicom-cloud/icons/IconUiLoading";
|
|
3
|
-
import { h as A, P as x } from "../chunk/
|
|
3
|
+
import { h as A, P as x } from "../chunk/fFjj2KuF.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/CZWGeRVA.js";
|
|
7
7
|
import { u as U } from "../chunk/BFTV6myl.js";
|
|
8
8
|
import { m as W } from "../chunk/JPPo5nY_.js";
|
|
9
9
|
import "../chunk/D-TPB2Do.js";
|
package/table/Table.js
CHANGED
|
@@ -6,10 +6,10 @@ import "lodash/isNumber";
|
|
|
6
6
|
import "lodash/isPlainObject";
|
|
7
7
|
import "lodash/throttle";
|
|
8
8
|
import "react";
|
|
9
|
-
import "../chunk/
|
|
9
|
+
import "../chunk/CZWGeRVA.js";
|
|
10
10
|
import "../chunk/B2yFlXke.js";
|
|
11
11
|
import "../chunk/BFTV6myl.js";
|
|
12
|
-
import "../chunk/
|
|
12
|
+
import "../chunk/a3hR6zLw.js";
|
|
13
13
|
import "../pagination/Pagination.js";
|
|
14
14
|
import "../spin/index.js";
|
|
15
15
|
import "../chunk/JPPo5nY_.js";
|
|
@@ -17,7 +17,7 @@ import "../utils/dom.js";
|
|
|
17
17
|
import "../chunk/ClqoGc3r.js";
|
|
18
18
|
import "../chunk/CIRG541s.js";
|
|
19
19
|
import "./ColGroup.js";
|
|
20
|
-
import { T as q } from "../chunk/
|
|
20
|
+
import { T as q } from "../chunk/C6AJxF7d.js";
|
|
21
21
|
import "./util.js";
|
|
22
22
|
export {
|
|
23
23
|
q as default
|
package/table/index.js
CHANGED
|
@@ -1,103 +1,111 @@
|
|
|
1
|
-
import { S as X, T as D } from "../chunk/
|
|
2
|
-
import { u as
|
|
1
|
+
import { S as X, T as D } from "../chunk/C6AJxF7d.js";
|
|
2
|
+
import { u as le, a as ae, b as ue, c as ce, d as ie, e as me, f as fe } from "../chunk/C6AJxF7d.js";
|
|
3
3
|
import { defaultComponent as I } from "./constant.js";
|
|
4
|
-
import y, {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
4
|
+
import y, { useRef as g, useContext as w, useCallback as f, useEffect as A, useState as O } from "react";
|
|
5
|
+
import { jsx as T, jsxs as U } from "react/jsx-runtime";
|
|
6
|
+
import j from "lodash/isFunction";
|
|
7
|
+
import { a as E } from "../chunk/CZWGeRVA.js";
|
|
8
|
+
import { m as P } from "../chunk/JPPo5nY_.js";
|
|
9
|
+
import { on as M, off as N } from "../utils/dom.js";
|
|
9
10
|
import { o as q } from "../chunk/BKKEev13.js";
|
|
10
|
-
import
|
|
11
|
-
function H(
|
|
12
|
-
let { className: r, children:
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}, []),
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
11
|
+
import $ from "lodash/get";
|
|
12
|
+
function H(u) {
|
|
13
|
+
let { className: r, children: o, column: p, onResize: i, ...d } = u;
|
|
14
|
+
const n = I.header.th, a = g(null), C = g(null), l = g({}), { getPrefixCls: s } = w(E), b = s("table-th-resizable");
|
|
15
|
+
if (!j(i)) return /* @__PURE__ */ T(n, { ref: a, ...d, className: r, children: o });
|
|
16
|
+
const t = f((e) => {
|
|
17
|
+
l.current.boundingClientRect = a.current.getBoundingClientRect(), l.current.pageX = (e == null ? void 0 : e.pageX) ?? 0, S();
|
|
18
|
+
}, []), m = f((e) => {
|
|
19
|
+
x();
|
|
20
|
+
}, []), c = f((e) => {
|
|
21
|
+
let h = l.current.boundingClientRect.width + (((e == null ? void 0 : e.pageX) ?? 0) - l.current.pageX);
|
|
22
|
+
h < 0 || (p.width = h, i == null || i({
|
|
23
|
+
column: p,
|
|
24
|
+
width: h,
|
|
25
|
+
widthOrigin: l.current.boundingClientRect.width
|
|
23
26
|
}));
|
|
24
|
-
}, []),
|
|
25
|
-
|
|
26
|
-
}, []),
|
|
27
|
-
|
|
28
|
-
}, [])
|
|
29
|
-
return
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
27
|
+
}, []), S = f((e) => {
|
|
28
|
+
M(document, "mousemove", c), M(document, "mouseup", m);
|
|
29
|
+
}, []), x = f((e) => {
|
|
30
|
+
N(document, "mousemove", c), N(document, "mouseup", m);
|
|
31
|
+
}, []);
|
|
32
|
+
return r = P(r, b), A(() => (t(), c(), m(), () => {
|
|
33
|
+
x();
|
|
34
|
+
}), []), /* @__PURE__ */ U(n, { ref: a, ...d, className: r, children: [
|
|
35
|
+
o,
|
|
36
|
+
/* @__PURE__ */ T(
|
|
37
|
+
"div",
|
|
38
|
+
{
|
|
39
|
+
ref: C,
|
|
40
|
+
className: `${b}-cursor`,
|
|
41
|
+
onMouseDown: t
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
] });
|
|
35
45
|
}
|
|
36
|
-
function
|
|
37
|
-
const r =
|
|
38
|
-
column:
|
|
39
|
-
onResize(
|
|
40
|
-
const { column:
|
|
41
|
-
|
|
42
|
-
const
|
|
43
|
-
return
|
|
46
|
+
function se(u = {}) {
|
|
47
|
+
const r = f((n, a) => ({
|
|
48
|
+
column: n,
|
|
49
|
+
onResize(l) {
|
|
50
|
+
const { column: s = {}, width: b } = l ?? {};
|
|
51
|
+
d((t) => {
|
|
52
|
+
const m = t.find((c) => c === s || c.dataIndex === s.dataIndex && c.title == s.title);
|
|
53
|
+
return m ? (m.width = b ?? s.width, o(t)) : t;
|
|
44
54
|
});
|
|
45
55
|
}
|
|
46
|
-
}), []),
|
|
47
|
-
const
|
|
48
|
-
return
|
|
49
|
-
}), []),
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
const s = a.columns;
|
|
53
|
-
return s ? t(s) : [];
|
|
56
|
+
}), []), o = f((n) => n.map((a, C, l) => {
|
|
57
|
+
const s = a;
|
|
58
|
+
return C < l.length - 1 && a.resizable !== !1 && !a.fixed && (s.onHeaderCell = r), s;
|
|
59
|
+
}), []), p = f((n) => d(o(n)), []), [i, d] = O(() => {
|
|
60
|
+
const n = u.columns;
|
|
61
|
+
return n ? o(n) : [];
|
|
54
62
|
});
|
|
55
|
-
return
|
|
63
|
+
return A(() => () => {
|
|
56
64
|
}, []), {
|
|
57
|
-
columns:
|
|
58
|
-
setColumns:
|
|
65
|
+
columns: i,
|
|
66
|
+
setColumns: p,
|
|
59
67
|
ThResizable: H
|
|
60
68
|
};
|
|
61
69
|
}
|
|
62
|
-
function
|
|
63
|
-
const { children: r, ...
|
|
64
|
-
return /* @__PURE__ */
|
|
70
|
+
function v(u) {
|
|
71
|
+
const { children: r, ...o } = u;
|
|
72
|
+
return /* @__PURE__ */ T("td", { ...q(o, ["$$PqbTableSummaryCell"]), children: r });
|
|
65
73
|
}
|
|
66
|
-
|
|
67
|
-
function Q(
|
|
68
|
-
const { rtl: r } =
|
|
69
|
-
|
|
70
|
-
(
|
|
71
|
-
),
|
|
72
|
-
var
|
|
73
|
-
const
|
|
74
|
-
return
|
|
75
|
-
...
|
|
76
|
-
className:
|
|
77
|
-
style: { ...
|
|
78
|
-
}) :
|
|
74
|
+
v.__PQB_TABLE_SUMMARY_CELL__ = !0;
|
|
75
|
+
function Q(u) {
|
|
76
|
+
const { rtl: r } = w(E), { columns: o, stickyOffsets: p, stickyClassNames: i, prefixCls: d } = w(X), { children: n, ...a } = u, C = y.Children.map(
|
|
77
|
+
n,
|
|
78
|
+
(s) => s.props.colSpan || 1
|
|
79
|
+
), l = y.Children.map(n, (s, b) => {
|
|
80
|
+
var k, L;
|
|
81
|
+
const t = s, m = $(t, "type.__PQB_TABLE_SUMMARY_CELL__") || $(t, "props.$$PqbTableSummaryCell"), c = (k = t == null ? void 0 : t.props) == null ? void 0 : k.style, S = (L = t == null ? void 0 : t.props) == null ? void 0 : L.className, e = C.slice(0, b).reduce((z, B) => z + B, 0), R = o[e].fixed === "left" ? { [r ? "right" : "left"]: p[e] } : o[e].fixed === "right" ? { [r ? "left" : "right"]: p[e] } : {}, h = o[e].fixed === "left" || o[e].fixed === "right" ? i[e] : "";
|
|
82
|
+
return m ? y.cloneElement(t, {
|
|
83
|
+
...t.props,
|
|
84
|
+
className: P(`${d}-td`, h, S),
|
|
85
|
+
style: { ...c, ...R }
|
|
86
|
+
}) : s;
|
|
79
87
|
});
|
|
80
|
-
return /* @__PURE__ */
|
|
88
|
+
return /* @__PURE__ */ T("tr", { ...a, children: l });
|
|
81
89
|
}
|
|
82
|
-
function
|
|
83
|
-
return
|
|
90
|
+
function _(u) {
|
|
91
|
+
return u.children;
|
|
84
92
|
}
|
|
85
|
-
|
|
86
|
-
|
|
93
|
+
_.Row = Q;
|
|
94
|
+
_.Cell = v;
|
|
87
95
|
const Y = D;
|
|
88
|
-
Y.Summary =
|
|
96
|
+
Y.Summary = _;
|
|
89
97
|
export {
|
|
90
|
-
|
|
91
|
-
|
|
98
|
+
_ as TableSummary,
|
|
99
|
+
v as TableSummaryCell,
|
|
92
100
|
Q as TableSummaryRow,
|
|
93
101
|
Y as default,
|
|
94
102
|
I as tableDefaultComponent,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
103
|
+
le as useTableColumns,
|
|
104
|
+
ae as useTableComponent,
|
|
105
|
+
ue as useTableExpand,
|
|
98
106
|
ce as useTableRowSelection,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
107
|
+
ie as useTableSorter,
|
|
108
|
+
me as useTableStickyClassNames,
|
|
109
|
+
fe as useTableStickyOffsets,
|
|
110
|
+
se as useTableThResizable
|
|
103
111
|
};
|
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/CZWGeRVA.js";
|
|
6
6
|
import "../chunk/B4YRLi8r.js";
|
|
7
7
|
import "../chunk/BFTV6myl.js";
|
|
8
8
|
import "../chunk/CdaT1b_F.js";
|
|
9
9
|
import "../chunk/JPPo5nY_.js";
|
|
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/pEI3aB9Z.js";
|
|
12
12
|
import { default as u, default as x } from "./TabPane.js";
|
|
13
13
|
export {
|
|
14
14
|
u as TabPane,
|