@unicom-cloud/ui 0.8.73 → 0.8.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Affix.js +2 -2
- package/Alert.js +3 -3
- package/AutoComplete.js +2 -2
- package/BackTop.js +4 -4
- package/Badge.js +3 -3
- package/Breadcrumb.js +3 -3
- package/Button.js +2 -2
- package/Calendar.js +3 -3
- package/Card.js +2 -2
- package/Carousel.js +2 -2
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +2 -2
- package/Comment.js +2 -2
- package/ConfigProvider.js +1 -1
- package/Copy.js +3 -3
- package/DatePicker.js +1 -1
- package/Descriptions.js +2 -2
- package/Divider.js +2 -2
- package/Draggable.js +2 -2
- package/Dropdown.js +2 -2
- package/Empty.js +2 -2
- package/Icon.js +2 -2
- package/IconHover.js +2 -2
- package/Image.js +1 -1
- package/InputNumber.js +2 -2
- package/Layout.js +2 -2
- package/Link.js +2 -2
- package/List.js +2 -2
- package/Mentions.js +2 -2
- package/Menu.js +1 -1
- package/Message.js +4 -4
- package/Modal.js +1 -1
- package/Notice.js +2 -2
- package/Notification.js +4 -4
- package/OverflowEllipsis.js +2 -2
- package/PageHeader.js +2 -2
- package/Popconfirm.js +2 -2
- package/Popover.js +2 -2
- package/Progress.js +2 -2
- package/Radio.js +1 -1
- package/Rate.js +2 -2
- package/ResizeBox.js +2 -2
- package/Result.js +2 -2
- package/SelectView.js +1 -1
- package/Skeleton.js +2 -2
- package/Slider.js +2 -2
- package/Space.js +2 -2
- package/SpeechSynthesis.js +4 -4
- package/Spin.js +2 -2
- package/Statistic.js +3 -3
- package/Steps.js +2 -2
- package/Switch.js +4 -4
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +2 -2
- package/Tooltip.js +3 -3
- package/Transfer.js +2 -2
- package/Tree.js +1 -1
- package/Trigger.js +3 -3
- package/affix/index.js +2 -2
- package/alert/index.js +9 -9
- package/anchor/Anchor.js +26 -26
- package/anchor/Link.js +2 -2
- package/anchor/util.js +1 -1
- package/auto-complete/index.js +2 -2
- package/avatar/Avatar.js +2 -2
- package/avatar/Group.js +2 -2
- package/back-top/index.js +11 -11
- package/badge/Count.js +7 -7
- package/badge/index.js +9 -9
- package/breadcrumb/Item.js +6 -6
- package/breadcrumb/index.js +3 -3
- package/button/Group.js +2 -2
- package/button/index.js +2 -2
- package/calendar/Month.js +2 -2
- package/calendar/Year.js +1 -1
- package/calendar/index.js +4 -4
- package/card/Grid.js +5 -5
- package/card/Meta.js +4 -4
- package/card/index.js +2 -2
- package/carousel/Arrow.js +2 -2
- package/carousel/Indicator.js +6 -6
- package/carousel/index.js +2 -2
- package/cascader/Cascader.js +3 -3
- package/cascader/index.js +1 -1
- package/cascader/util.js +1 -1
- package/checkbox/Checkbox.js +3 -3
- package/checkbox/Group.js +3 -3
- package/checkbox/index.js +1 -1
- package/chunk/{oHDWCJnz.js → 0mWCmQHr.js} +3 -3
- package/chunk/{UDX9U6M7.js → B8hkFIar.js} +3 -3
- package/chunk/BFmckYou.js +25 -0
- package/chunk/{Cj2SQJiO.js → BJ9_azwQ.js} +487 -487
- package/chunk/{Dg0M2OmF.js → BViFMHr-.js} +5 -5
- package/chunk/BbqvFW5R.js +927 -0
- package/chunk/{uKZyjtff.js → BhBEMwvI.js} +21 -20
- package/chunk/{Bj4EV0eG.js → BpYX5PN4.js} +1 -1
- package/chunk/{B7hulkj9.js → BxZ39GzB.js} +2 -2
- package/chunk/C9XYyypq.js +713 -0
- package/chunk/CIkPwQlq.js +6 -0
- package/chunk/{uH6uxyao.js → CPlPBkN7.js} +2 -2
- package/chunk/CUFsOxJ2.js +10 -0
- package/chunk/CWlklVfi.js +257 -0
- package/chunk/{Ey4YJCkX.js → D0Dlbc2g.js} +2 -1
- package/chunk/{DejjIa3N.js → DFcz9ZPP.js} +35 -35
- package/chunk/{AwZqeapI.js → DRTWRsgI.js} +1 -1
- package/chunk/{D2LLXZQX.js → DeCsZrXb.js} +4 -4
- package/chunk/{DpoumMDw.js → DohlrJ4S.js} +1 -1
- package/chunk/DskaI8QL.js +25 -0
- package/chunk/{7HDzVe32.js → Dv6USvVF.js} +4 -4
- package/chunk/{DJDOFlqC.js → EL5Jmjgr.js} +2 -2
- package/chunk/{CiY7w1ZO.js → WVoGhvMI.js} +3 -3
- package/chunk/{BJ1soa2K.js → uEGHykhe.js} +18 -18
- package/collapse/Collapse.js +3 -3
- package/collapse/Item.js +4 -4
- package/collapse/index.js +1 -1
- package/color-picker/ControlBar.js +2 -2
- package/color-picker/InputAlpha.js +1 -1
- package/color-picker/InputHex.js +7 -7
- package/color-picker/InputRgb.js +6 -6
- package/color-picker/Palette.js +5 -5
- package/color-picker/Panel.js +4 -4
- package/color-picker/colors.js +7 -12
- package/color-picker/index.js +20 -20
- package/color-picker/utils.js +1 -1
- package/comment/index.js +6 -6
- package/config-provider/ConfigProvider.js +2 -2
- package/config-provider/context.js +1 -1
- package/config-provider/index.js +2 -2
- package/copy/index.js +16 -16
- package/date-picker/Picker.js +2 -2
- package/date-picker/PickerRange.js +3 -3
- package/date-picker/index.js +1 -1
- package/descriptions/index.js +2 -2
- package/divider/index.js +5 -5
- package/draggable/Item.js +1 -1
- package/draggable/index.js +9 -9
- package/drawer/Drawer.js +3 -3
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +2 -2
- package/empty/index.js +2 -2
- package/form/Control.js +1 -1
- package/form/Form.js +2 -2
- package/form/FormItem.js +3 -3
- package/form/FormLabel.js +9 -9
- package/form/context.js +1 -1
- package/grid/Col.js +2 -2
- package/grid/Row.js +2 -2
- package/grid/grid-item.js +2 -2
- package/grid/grid.js +8 -8
- package/icon/index.js +11 -11
- package/icon-hover/index.js +2 -2
- package/image/Image.js +4 -4
- package/image/ImageFooter.js +2 -2
- package/image/ImagePreview.js +5 -5
- package/image/ImagePreviewArrow.js +4 -4
- package/image/ImagePreviewGroup.js +1 -1
- package/image/ImagePreviewToolbar.js +1 -1
- package/image/TriggerForToolbar.js +4 -4
- package/image/index.js +1 -1
- package/index.js +586 -592
- package/input/Group.js +4 -4
- package/input/Input.js +45 -45
- package/input/InputElement.js +2 -2
- package/input/Password.js +2 -2
- package/input/Search.js +2 -2
- package/input/Textarea.js +2 -2
- package/input-number/index.js +2 -2
- package/input-tag/InputTag.js +4 -4
- package/layout/Content.js +2 -2
- package/layout/Footer.js +5 -5
- package/layout/Header.js +4 -4
- package/layout/Sider.js +2 -2
- package/layout/index.js +2 -2
- package/link/index.js +5 -5
- package/list/Item.js +2 -2
- package/list/Meta.js +4 -4
- package/list/index.js +2 -2
- package/mentions/index.js +2 -2
- package/menu/Item.js +5 -5
- package/menu/ItemGroup.js +1 -1
- package/menu/Menu.js +3 -3
- package/menu/OverflowWrap.js +2 -2
- package/menu/index.js +2 -2
- package/message/index.js +4 -4
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +4 -4
- package/modal/index.js +1 -1
- package/notice/index.js +2 -2
- package/notification/index.js +4 -4
- package/notification/useNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +6 -6
- package/overflow-ellipsis/index.js +8 -8
- package/package.json +1 -1
- package/page-header/index.js +2 -2
- package/pagination/PageItem.js +2 -2
- package/pagination/PageJumper.js +1 -1
- package/pagination/PageOption.js +1 -1
- package/pagination/Pagination.js +23 -23
- package/picker/Input.js +7 -7
- package/picker/InputRange.js +9 -9
- package/popconfirm/index.js +2 -2
- package/popover/index.js +2 -2
- package/progress/CircleProgress.js +7 -7
- package/progress/LineProgess.js +1 -1
- package/progress/StepProgress.js +7 -7
- package/progress/index.js +8 -8
- package/radio/Group.js +3 -3
- package/radio/Radio.js +3 -3
- package/radio/index.js +2 -2
- package/rate/index.js +2 -2
- package/resize-box/ResizeTrigger.js +10 -10
- package/resize-box/Split.js +12 -12
- package/resize-box/SplitGroup.js +2 -2
- package/resize-box/index.js +2 -2
- package/result/index.js +9 -9
- package/select/Option.js +2 -2
- package/select/Select.js +3 -3
- package/select-view/Core.js +27 -27
- package/select-view/index.js +1 -1
- package/skeleton/Image.js +4 -4
- package/skeleton/Text.js +7 -7
- package/skeleton/index.js +2 -2
- package/slider/Button.js +2 -2
- package/slider/Dot.js +5 -5
- package/slider/Input.js +12 -12
- package/slider/Tick.js +6 -6
- package/slider/index.js +2 -2
- package/space/index.js +12 -12
- package/speech-synthesis/index.js +4 -4
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +2 -2
- package/statistic/Countdown.js +7 -7
- package/statistic/index.js +20 -20
- package/steps/Step.js +1 -1
- package/steps/index.js +2 -2
- package/style/variables.less +375 -710
- package/style.css +1 -1
- package/switch/index.js +4 -4
- package/table/Table.js +4 -4
- package/table/index.js +4 -4
- package/tabs/Tab.js +3 -3
- package/tabs/TabContent.js +3 -3
- package/tabs/TabPane.js +2 -2
- package/tabs/index.js +2 -2
- package/tag/index.js +6 -6
- package/time-picker/Picker.js +2 -2
- package/time-picker/TimeColumn.js +7 -7
- package/time-picker/TimePicker.js +23 -23
- package/time-picker/util.js +5 -5
- package/timeline/Item.js +2 -2
- package/timeline/Timeline.js +2 -2
- package/tooltip/index.js +3 -3
- package/transfer/Item.js +3 -3
- package/transfer/List.js +3 -3
- package/transfer/index.js +2 -2
- package/tree/Animation.js +3 -3
- package/tree/Node.js +4 -4
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +3 -3
- package/tree/index.js +1 -1
- package/tree-select/Select.js +2 -2
- package/trigger/index.js +3 -3
- package/types/color-picker/colors.d.ts +1 -1
- package/types/config-provider/interface.d.ts +0 -1
- package/types/utils/color.d.ts +1 -1
- package/types/utils/constant.d.ts +1 -1
- package/types/utils/index.d.ts +1 -0
- package/types/utils/setDarkTheme.d.ts +4 -0
- package/typography/Base.js +2 -2
- package/typography/EditContent.js +1 -1
- package/typography/Ellipsis.js +14 -15
- package/typography/Paragraph.js +6 -6
- package/typography/Typography.js +5 -5
- package/typography/index.js +12 -13
- package/upload/TriggerNode.js +2 -2
- package/upload/Upload.js +5 -5
- package/upload/Uploader.js +2 -2
- package/upload/request.js +1 -1
- package/upload/request_.js +1 -1
- package/utils/PqbCSSTransition.js +1 -1
- package/utils/className.js +3 -3
- package/utils/color.js +2 -116
- package/utils/constant.js +3 -2
- package/utils/contextHolder.js +1 -1
- package/utils/copy.js +4 -4
- package/utils/dom.js +1 -1
- package/utils/fileToURL.js +1 -1
- package/utils/index.js +303 -309
- package/utils/reactTransitionGroup.js +1 -1
- package/utils/saveAs.js +1 -1
- package/utils/setDarkTheme.js +7 -0
- package/utils/tinycolor.js +13 -13
- package/utils/tween.js +1 -1
- package/verification-code/VerificationCode.js +7 -7
- package/version/index.js +1 -1
- package/watermark/Watermark.js +6 -6
- package/chunk/B0UZ1Ee2.js +0 -257
- package/chunk/Byd0ztYY.js +0 -724
- package/chunk/CCVU-Kst.js +0 -770
- package/chunk/CTxjmYmx.js +0 -19
- package/chunk/D0ZWT7db.js +0 -5
- package/chunk/JPPo5nY_.js +0 -9
package/switch/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as l, jsx as n, Fragment as R } from "react/jsx-runtime";
|
|
2
2
|
import q from "@unicom-cloud/icons/IconUiLoading";
|
|
3
|
-
import { h as A } from "../chunk/
|
|
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/C9XYyypq.js";
|
|
7
7
|
import { u as U } from "../chunk/BFTV6myl.js";
|
|
8
|
-
import { P as x } from "../chunk/
|
|
9
|
-
import {
|
|
8
|
+
import { P as x } from "../chunk/BpYX5PN4.js";
|
|
9
|
+
import { p as W } from "../chunk/CUFsOxJ2.js";
|
|
10
10
|
import "../chunk/DAAff-FT.js";
|
|
11
11
|
import { o as D } from "../chunk/BKKEev13.js";
|
|
12
12
|
import "../chunk/C0pRaDCf.js";
|
package/table/Table.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../chunk/
|
|
2
|
+
import "../chunk/BhBEMwvI.js";
|
|
3
3
|
import "lodash/debounce";
|
|
4
4
|
import "lodash/isArray";
|
|
5
5
|
import "lodash/isNumber";
|
|
6
6
|
import "lodash/isPlainObject";
|
|
7
7
|
import "lodash/throttle";
|
|
8
8
|
import "react";
|
|
9
|
-
import "../chunk/
|
|
9
|
+
import "../chunk/C9XYyypq.js";
|
|
10
10
|
import "../chunk/B2yFlXke.js";
|
|
11
11
|
import "../chunk/BFTV6myl.js";
|
|
12
12
|
import "../chunk/a3hR6zLw.js";
|
|
13
13
|
import "../pagination/Pagination.js";
|
|
14
14
|
import "../spin/index.js";
|
|
15
|
-
import "../chunk/
|
|
15
|
+
import "../chunk/CUFsOxJ2.js";
|
|
16
16
|
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/BViFMHr-.js";
|
|
21
21
|
import "./util.js";
|
|
22
22
|
export {
|
|
23
23
|
q as default
|
package/table/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { S as X, T as D } from "../chunk/
|
|
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/
|
|
1
|
+
import { S as X, T as D } from "../chunk/BViFMHr-.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/BViFMHr-.js";
|
|
3
3
|
import { defaultComponent as I } from "./constant.js";
|
|
4
4
|
import y, { useRef as g, useContext as w, useCallback as f, useEffect as A, useState as O } from "react";
|
|
5
5
|
import { jsx as T, jsxs as U } from "react/jsx-runtime";
|
|
6
6
|
import j from "lodash/isFunction";
|
|
7
|
-
import { a as E } from "../chunk/
|
|
8
|
-
import {
|
|
7
|
+
import { a as E } from "../chunk/C9XYyypq.js";
|
|
8
|
+
import { p as P } from "../chunk/CUFsOxJ2.js";
|
|
9
9
|
import { on as M, off as N } from "../utils/dom.js";
|
|
10
10
|
import { o as q } from "../chunk/BKKEev13.js";
|
|
11
11
|
import $ from "lodash/get";
|
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/C9XYyypq.js";
|
|
6
6
|
import "../chunk/B4YRLi8r.js";
|
|
7
7
|
import "../chunk/BFTV6myl.js";
|
|
8
8
|
import "../chunk/DeV0v__J.js";
|
|
9
|
-
import "../chunk/
|
|
9
|
+
import "../chunk/CUFsOxJ2.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/0mWCmQHr.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/
|
|
4
|
-
import "../chunk/
|
|
5
|
-
import { b as a } from "../chunk/
|
|
3
|
+
import "../chunk/C9XYyypq.js";
|
|
4
|
+
import "../chunk/CUFsOxJ2.js";
|
|
5
|
+
import { b as a } from "../chunk/0mWCmQHr.js";
|
|
6
6
|
export {
|
|
7
7
|
a as default
|
|
8
8
|
};
|
package/tabs/TabPane.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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 x } from "../chunk/
|
|
4
|
-
import {
|
|
3
|
+
import { a as x } from "../chunk/C9XYyypq.js";
|
|
4
|
+
import { p as C } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
import { o as P } from "../chunk/BKKEev13.js";
|
|
6
6
|
function R(r, a) {
|
|
7
7
|
const e = p(!1), { getPrefixCls: o } = b(x), { children: s, className: n, style: i, lazyload: c, isActive: f, ...l } = r, m = o("tabs");
|
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/0mWCmQHr.js";
|
|
2
|
+
import { a as s } from "../chunk/0mWCmQHr.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,11 +3,11 @@ import Q from "@unicom-cloud/icons/IconUiClose";
|
|
|
3
3
|
import W from "@unicom-cloud/icons/IconUiLoading";
|
|
4
4
|
import b from "lodash/isPlainObject";
|
|
5
5
|
import { forwardRef as X, useContext as Y, useState as v } from "react";
|
|
6
|
-
import { a as Z, I as S } from "../chunk/
|
|
6
|
+
import { a as Z, I as S } from "../chunk/C9XYyypq.js";
|
|
7
7
|
import { u as ee } from "../chunk/XTEsYGuF.js";
|
|
8
8
|
import { u as oe } from "../chunk/BFTV6myl.js";
|
|
9
9
|
import ne from "../popconfirm/index.js";
|
|
10
|
-
import {
|
|
10
|
+
import { p as ie } from "../chunk/CUFsOxJ2.js";
|
|
11
11
|
import { o as re } from "../chunk/BKKEev13.js";
|
|
12
12
|
const te = [
|
|
13
13
|
"red",
|
|
@@ -40,8 +40,8 @@ function ce(_, j) {
|
|
|
40
40
|
checkable: l,
|
|
41
41
|
defaultChecked: R,
|
|
42
42
|
size: N,
|
|
43
|
-
onClose:
|
|
44
|
-
onCheck:
|
|
43
|
+
onClose: p,
|
|
44
|
+
onCheck: f,
|
|
45
45
|
icon: P,
|
|
46
46
|
closeIcon: h,
|
|
47
47
|
bordered: U,
|
|
@@ -53,7 +53,7 @@ function ce(_, j) {
|
|
|
53
53
|
"checked" in r ? r.checked : R
|
|
54
54
|
), [u, g] = v(), O = "checked" in r ? r.checked : M, B = "visible" in r ? r.visible : F;
|
|
55
55
|
function k(n) {
|
|
56
|
-
const i =
|
|
56
|
+
const i = p == null ? void 0 : p(n);
|
|
57
57
|
i && i.then ? (g(!0), i.then(() => {
|
|
58
58
|
g(!1), I(!1);
|
|
59
59
|
}).catch(() => {
|
|
@@ -62,7 +62,7 @@ function ce(_, j) {
|
|
|
62
62
|
}
|
|
63
63
|
function D() {
|
|
64
64
|
const n = !O;
|
|
65
|
-
"checked" in r || A(n),
|
|
65
|
+
"checked" in r || A(n), f == null || f(n);
|
|
66
66
|
}
|
|
67
67
|
const d = t && te.indexOf(t) !== -1 ? t : "", C = l ? O : !0, G = ie(
|
|
68
68
|
o,
|
package/time-picker/Picker.js
CHANGED
|
@@ -3,14 +3,14 @@ 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/C9XYyypq.js";
|
|
7
7
|
import { u as Ee } from "../chunk/BFTV6myl.js";
|
|
8
8
|
import { u as Y } from "../chunk/VSe_Wq1g.js";
|
|
9
9
|
import { u as He } from "../chunk/a3hR6zLw.js";
|
|
10
10
|
import ze from "../picker/Input.js";
|
|
11
11
|
import Oe from "../picker/InputRange.js";
|
|
12
12
|
import Fe from "../trigger/index.js";
|
|
13
|
-
import {
|
|
13
|
+
import { p as Re } from "../chunk/CUFsOxJ2.js";
|
|
14
14
|
import { g as S, j as c, k as Z, h as O, b as Ne, i as Ue, f as Le } from "../chunk/tamGhTJp.js";
|
|
15
15
|
import { a as Me } from "../chunk/ClqoGc3r.js";
|
|
16
16
|
import $e from "./context.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import C from "lodash/debounce";
|
|
3
3
|
import { useRef as n, useEffect as d, useCallback as H } from "react";
|
|
4
4
|
import { u as S } from "../chunk/VSe_Wq1g.js";
|
|
5
|
-
import {
|
|
5
|
+
import { p as T } from "../chunk/CUFsOxJ2.js";
|
|
6
6
|
import { scrollTo as b } from "./util.js";
|
|
7
7
|
function V(g) {
|
|
8
8
|
const {
|
|
@@ -10,10 +10,10 @@ function V(g) {
|
|
|
10
10
|
list: l,
|
|
11
11
|
value: s,
|
|
12
12
|
onHandleSelect: u,
|
|
13
|
-
unit:
|
|
13
|
+
unit: h,
|
|
14
14
|
popupVisible: o,
|
|
15
15
|
scrollSticky: $
|
|
16
|
-
} = g, a = n(/* @__PURE__ */ new Map()), r = n(null),
|
|
16
|
+
} = g, a = n(/* @__PURE__ */ new Map()), r = n(null), m = n(), v = n(0), f = S(o), p = n(
|
|
17
17
|
r.current && r.current.scrollTop
|
|
18
18
|
);
|
|
19
19
|
d(() => {
|
|
@@ -25,14 +25,14 @@ function V(g) {
|
|
|
25
25
|
e && (b(r.current, e.offsetTop, 0), p.current = e.offsetTop);
|
|
26
26
|
}
|
|
27
27
|
}, [o, f]), d(() => {
|
|
28
|
-
l.length <= 1 || (v.current = (
|
|
28
|
+
l.length <= 1 || (v.current = (m.current.clientHeight - r.current.clientHeight) / (l.length - 1));
|
|
29
29
|
}, [l.length]);
|
|
30
30
|
const x = H(
|
|
31
31
|
C(() => {
|
|
32
32
|
const t = (r.current.scrollTop - p.current > 0 ? Math.ceil : Math.floor)(
|
|
33
33
|
r.current.scrollTop / v.current
|
|
34
34
|
);
|
|
35
|
-
t !== s && l[t] && !l[t].disabled && u(l[t].value,
|
|
35
|
+
t !== s && l[t] && !l[t].disabled && u(l[t].value, h);
|
|
36
36
|
}, 100),
|
|
37
37
|
[u]
|
|
38
38
|
);
|
|
@@ -42,14 +42,14 @@ function V(g) {
|
|
|
42
42
|
className: T(`${c}-list`),
|
|
43
43
|
ref: r,
|
|
44
44
|
onWheel: $ ? x : void 0,
|
|
45
|
-
children: /* @__PURE__ */ i("ul", { ref:
|
|
45
|
+
children: /* @__PURE__ */ i("ul", { ref: m, children: l.map((e) => /* @__PURE__ */ i(
|
|
46
46
|
"li",
|
|
47
47
|
{
|
|
48
48
|
className: T(`${c}-cell`, {
|
|
49
49
|
[`${c}-cell-disabled`]: e.disabled,
|
|
50
50
|
[`${c}-cell-selected`]: e.selected
|
|
51
51
|
}),
|
|
52
|
-
onClick: () => !e.disabled && u(e.value,
|
|
52
|
+
onClick: () => !e.disabled && u(e.value, h),
|
|
53
53
|
ref: (t) => {
|
|
54
54
|
a.current.set(e.value, t);
|
|
55
55
|
},
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as I, Fragment as pe, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as Q, useCallback as W } from "react";
|
|
3
3
|
import X from "../button/index.js";
|
|
4
|
-
import { a as he } from "../chunk/
|
|
5
|
-
import {
|
|
4
|
+
import { a as he } from "../chunk/C9XYyypq.js";
|
|
5
|
+
import { p as xe } from "../chunk/CUFsOxJ2.js";
|
|
6
6
|
import { g as $e, a as Y, d as $, j as Z } from "../chunk/tamGhTJp.js";
|
|
7
|
-
import { padStart as
|
|
7
|
+
import { padStart as m } from "../utils/pad.js";
|
|
8
8
|
import j from "./TimeColumn.js";
|
|
9
9
|
import Oe from "./context.js";
|
|
10
10
|
import { getColumnsFromFormat as D } from "./util.js";
|
|
@@ -56,27 +56,27 @@ function Me(w) {
|
|
|
56
56
|
(n) => {
|
|
57
57
|
switch (n) {
|
|
58
58
|
case "hour":
|
|
59
|
-
return typeof p == "function" ?
|
|
59
|
+
return typeof p == "function" ? m(
|
|
60
60
|
N.find((o) => p().indexOf(o) === -1) || 0,
|
|
61
61
|
2,
|
|
62
62
|
"0"
|
|
63
|
-
) :
|
|
63
|
+
) : m(N[0], 2, "0");
|
|
64
64
|
case "minute":
|
|
65
|
-
return typeof c == "function" ?
|
|
65
|
+
return typeof c == "function" ? m(
|
|
66
66
|
H.find(
|
|
67
67
|
(o) => c(t).indexOf(o) === -1
|
|
68
68
|
) || 0,
|
|
69
69
|
2,
|
|
70
70
|
"0"
|
|
71
|
-
) :
|
|
71
|
+
) : m(H[0], 2, "0");
|
|
72
72
|
case "second":
|
|
73
|
-
return typeof r == "function" ?
|
|
73
|
+
return typeof r == "function" ? m(
|
|
74
74
|
h.find(
|
|
75
75
|
(o) => r(t, y).indexOf(o) === -1
|
|
76
76
|
) || 0,
|
|
77
77
|
2,
|
|
78
78
|
"0"
|
|
79
|
-
) :
|
|
79
|
+
) : m(h[0], 2, "0");
|
|
80
80
|
default:
|
|
81
81
|
return "00";
|
|
82
82
|
}
|
|
@@ -101,30 +101,30 @@ function Me(w) {
|
|
|
101
101
|
);
|
|
102
102
|
let s = P.hour(), i = P.minute(), x = P.second();
|
|
103
103
|
const _ = e ? g.toUpperCase() : g;
|
|
104
|
-
let
|
|
105
|
-
l && (e ?
|
|
104
|
+
let d = "HH:mm:ss", u;
|
|
105
|
+
l && (e ? d = `${d} A` : d = `${d} a`), l && (s = s > 12 ? s - 12 : s), o === "hour" && (typeof c == "function" && c(n).includes(i) && (i = H.find(
|
|
106
106
|
(U) => c(n).indexOf(U) === -1
|
|
107
107
|
) ?? 0), typeof r == "function" && r(n, i).includes(x) && (x = h.find(
|
|
108
108
|
(U) => r(n, i).indexOf(U) === -1
|
|
109
109
|
) ?? 0), u = $(
|
|
110
110
|
`${n}:${i}:${x} ${_}`,
|
|
111
|
-
|
|
111
|
+
d,
|
|
112
112
|
"en"
|
|
113
113
|
)), o === "minute" && (typeof r == "function" && r(s, n).includes(x) && (x = h.find(
|
|
114
114
|
(U) => r(s, n).indexOf(U) === -1
|
|
115
115
|
) ?? 0), u = $(
|
|
116
116
|
`${s}:${n}:${x} ${_}`,
|
|
117
|
-
|
|
117
|
+
d,
|
|
118
118
|
"en"
|
|
119
119
|
)), o === "second" && (u = $(
|
|
120
120
|
`${s}:${i}:${n} ${_}`,
|
|
121
|
-
|
|
121
|
+
d,
|
|
122
122
|
"en"
|
|
123
123
|
)), o === "ampm" && (u = $(
|
|
124
124
|
`${s}:${i}:${x} ${e ? n.toUpperCase() : n}`,
|
|
125
|
-
|
|
125
|
+
d,
|
|
126
126
|
"en"
|
|
127
|
-
)), u = $(u,
|
|
127
|
+
)), u = $(u, d).locale($.locale()), C == null || C(
|
|
128
128
|
Z(u, B, E).format(O),
|
|
129
129
|
Z(u, B, E)
|
|
130
130
|
), M || (b == null || b(u), k && S(u));
|
|
@@ -144,7 +144,7 @@ function Me(w) {
|
|
|
144
144
|
};
|
|
145
145
|
function ce() {
|
|
146
146
|
const o = (z && typeof p == "function" ? N.filter((e) => p().indexOf(e) === -1) : N).map((e) => ({
|
|
147
|
-
label:
|
|
147
|
+
label: m(`${e}`, 2, "0"),
|
|
148
148
|
value: e,
|
|
149
149
|
selected: t !== void 0 && t === e,
|
|
150
150
|
disabled: typeof p == "function" && p().indexOf(e) !== -1
|
|
@@ -161,7 +161,7 @@ function Me(w) {
|
|
|
161
161
|
}
|
|
162
162
|
function ue() {
|
|
163
163
|
const o = (z && typeof c == "function" ? H.filter((e) => c(t).indexOf(e) === -1) : H).map((e) => ({
|
|
164
|
-
label:
|
|
164
|
+
label: m(`${e}`, 2, "0"),
|
|
165
165
|
value: e,
|
|
166
166
|
selected: t !== void 0 && y === e,
|
|
167
167
|
disabled: typeof c == "function" && c(t).indexOf(e) !== -1
|
|
@@ -176,11 +176,11 @@ function Me(w) {
|
|
|
176
176
|
}
|
|
177
177
|
);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function de() {
|
|
180
180
|
const o = (z && typeof r == "function" ? h.filter(
|
|
181
181
|
(e) => r(t, y).indexOf(e) === -1
|
|
182
182
|
) : h).map((e) => ({
|
|
183
|
-
label:
|
|
183
|
+
label: m(`${e}`, 2, "0"),
|
|
184
184
|
value: e,
|
|
185
185
|
selected: t !== void 0 && K === e,
|
|
186
186
|
disabled: typeof r == "function" && r(t, y).indexOf(e) !== -1
|
|
@@ -195,7 +195,7 @@ function Me(w) {
|
|
|
195
195
|
}
|
|
196
196
|
);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function me() {
|
|
199
199
|
const n = D(O).list.indexOf("A") !== -1, o = Ce.map((e) => ({
|
|
200
200
|
label: n ? e.toUpperCase() : e,
|
|
201
201
|
value: e,
|
|
@@ -216,8 +216,8 @@ function Me(w) {
|
|
|
216
216
|
/* @__PURE__ */ I("div", { className: le, children: [
|
|
217
217
|
(F.indexOf("H") !== -1 || F.indexOf("h") !== -1) && ce(),
|
|
218
218
|
F.indexOf("m") !== -1 && ue(),
|
|
219
|
-
F.indexOf("s") !== -1 &&
|
|
220
|
-
l &&
|
|
219
|
+
F.indexOf("s") !== -1 && de(),
|
|
220
|
+
l && me()
|
|
221
221
|
] }),
|
|
222
222
|
q && /* @__PURE__ */ a("div", { className: `${T}-footer-extra-wrapper`, children: q }),
|
|
223
223
|
!ae && /* @__PURE__ */ I("div", { className: `${T}-footer-btn-wrapper`, children: [
|
package/time-picker/util.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { y as l, b as i } from "../chunk/BhBEMwvI.js";
|
|
2
2
|
import { isDayjs as m } from "dayjs";
|
|
3
3
|
import { d as f, m as c } from "../chunk/tamGhTJp.js";
|
|
4
4
|
function T(o) {
|
|
@@ -12,7 +12,7 @@ function T(o) {
|
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
14
|
const e = /* @__PURE__ */ new Map();
|
|
15
|
-
function
|
|
15
|
+
function y(o, s, r) {
|
|
16
16
|
e.get(o) && cancelAnimationFrame(e.get(o)), r <= 0 && (o.scrollTop = s), e.set(
|
|
17
17
|
o,
|
|
18
18
|
requestAnimationFrame(() => {
|
|
@@ -28,7 +28,7 @@ function h(o, s, r) {
|
|
|
28
28
|
})
|
|
29
29
|
);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function h(o) {
|
|
32
32
|
const s = f(), r = s.year(), a = s.month(), t = s.date();
|
|
33
33
|
if (m(o)) {
|
|
34
34
|
let n = o;
|
|
@@ -38,6 +38,6 @@ function y(o) {
|
|
|
38
38
|
}
|
|
39
39
|
export {
|
|
40
40
|
T as getColumnsFromFormat,
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
h as getFormatTime,
|
|
42
|
+
y as scrollTo
|
|
43
43
|
};
|
package/timeline/Item.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import S, { useContext as g, useRef as z, useEffect as F } from "react";
|
|
3
|
-
import { a as W } from "../chunk/
|
|
3
|
+
import { a as W } from "../chunk/C9XYyypq.js";
|
|
4
4
|
import { u as j } from "../chunk/BFTV6myl.js";
|
|
5
|
-
import {
|
|
5
|
+
import { p as h } from "../chunk/CUFsOxJ2.js";
|
|
6
6
|
const D = {
|
|
7
7
|
dotType: "solid",
|
|
8
8
|
lineType: "solid"
|
package/timeline/Timeline.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import d, { useContext as R } from "react";
|
|
3
|
-
import { a as w } from "../chunk/
|
|
3
|
+
import { a as w } from "../chunk/C9XYyypq.js";
|
|
4
4
|
import { u as z } from "../chunk/BFTV6myl.js";
|
|
5
5
|
import j from "../spin/index.js";
|
|
6
|
-
import {
|
|
6
|
+
import { p as y } from "../chunk/CUFsOxJ2.js";
|
|
7
7
|
import h from "./Item.js";
|
|
8
8
|
const k = (p, a, s, i) => {
|
|
9
9
|
let t = ["left", "right"];
|
package/tooltip/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { c as I } from "../chunk/BbqvFW5R.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/C9XYyypq.js";
|
|
6
6
|
import { u as J } from "../chunk/BFTV6myl.js";
|
|
7
7
|
import K, { EventsByTriggerNeed as Q } from "../trigger/index.js";
|
|
8
|
-
import {
|
|
8
|
+
import { p as b } from "../chunk/CUFsOxJ2.js";
|
|
9
9
|
import { c as U } from "../chunk/DAAff-FT.js";
|
|
10
10
|
import { a as X, p as Y } from "../chunk/ClqoGc3r.js";
|
|
11
11
|
const Z = {
|
package/transfer/Item.js
CHANGED
|
@@ -2,10 +2,10 @@ import { jsxs as P, jsx as r, Fragment as F } from "react/jsx-runtime";
|
|
|
2
2
|
import H from "@unicom-cloud/icons/IconUiClose";
|
|
3
3
|
import V from "@unicom-cloud/icons/IconUiDragDotVertical";
|
|
4
4
|
import { useRef as N, useState as h, useEffect as T } from "react";
|
|
5
|
-
import { C as q } from "../chunk/
|
|
5
|
+
import { C as q } from "../chunk/BxZ39GzB.js";
|
|
6
6
|
import { u as z } from "../chunk/XTEsYGuF.js";
|
|
7
|
-
import { I as A } from "../chunk/
|
|
8
|
-
import {
|
|
7
|
+
import { I as A } from "../chunk/C9XYyypq.js";
|
|
8
|
+
import { p as G } from "../chunk/CUFsOxJ2.js";
|
|
9
9
|
function te(w) {
|
|
10
10
|
const {
|
|
11
11
|
className: E,
|
package/transfer/List.js
CHANGED
|
@@ -4,12 +4,12 @@ import ce from "@unicom-cloud/icons/IconUiSearch";
|
|
|
4
4
|
import B from "lodash/isPlainObject";
|
|
5
5
|
import ie, { useContext as de, useState as L, useEffect as me } from "react";
|
|
6
6
|
import fe from "../button/index.js";
|
|
7
|
-
import { C as A } from "../chunk/
|
|
8
|
-
import { a as he, I as pe } from "../chunk/
|
|
7
|
+
import { C as A } from "../chunk/BxZ39GzB.js";
|
|
8
|
+
import { a as he, I as pe } from "../chunk/C9XYyypq.js";
|
|
9
9
|
import { u as ue } from "../chunk/XTEsYGuF.js";
|
|
10
10
|
import Ce from "../input/Input.js";
|
|
11
11
|
import Ie from "../list/index.js";
|
|
12
|
-
import {
|
|
12
|
+
import { p as ge } from "../chunk/CUFsOxJ2.js";
|
|
13
13
|
import xe from "./Item.js";
|
|
14
14
|
const be = (q, G) => {
|
|
15
15
|
const J = ue(), {
|
package/transfer/index.js
CHANGED
|
@@ -4,10 +4,10 @@ import Y from "@unicom-cloud/icons/IconUiRight";
|
|
|
4
4
|
import Z from "lodash/isPlainObject";
|
|
5
5
|
import ee, { useContext as te, useMemo as w } from "react";
|
|
6
6
|
import se from "../button/index.js";
|
|
7
|
-
import { a as re } from "../chunk/
|
|
7
|
+
import { a as re } from "../chunk/C9XYyypq.js";
|
|
8
8
|
import { u as ae } from "../chunk/BFTV6myl.js";
|
|
9
9
|
import { u as L } from "../chunk/DeV0v__J.js";
|
|
10
|
-
import {
|
|
10
|
+
import { p as R } from "../chunk/CUFsOxJ2.js";
|
|
11
11
|
import { a as oe } from "../chunk/ClqoGc3r.js";
|
|
12
12
|
import le from "./List.js";
|
|
13
13
|
const ce = {
|
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/
|
|
5
|
-
import "../chunk/
|
|
4
|
+
import "../chunk/C9XYyypq.js";
|
|
5
|
+
import "../chunk/BpYX5PN4.js";
|
|
6
6
|
import "../virtual-list/VirtualList.js";
|
|
7
7
|
import "./Context.js";
|
|
8
|
-
import { T as d } from "../chunk/
|
|
8
|
+
import { T as d } from "../chunk/DeCsZrXb.js";
|
|
9
9
|
export {
|
|
10
10
|
d as default
|
|
11
11
|
};
|
package/tree/Node.js
CHANGED
|
@@ -5,11 +5,11 @@ import "@unicom-cloud/icons/IconUiFile";
|
|
|
5
5
|
import "@unicom-cloud/icons/IconUiLoading";
|
|
6
6
|
import "lodash/isFunction";
|
|
7
7
|
import "react";
|
|
8
|
-
import "../chunk/
|
|
9
|
-
import "../chunk/
|
|
10
|
-
import "../chunk/
|
|
8
|
+
import "../chunk/BxZ39GzB.js";
|
|
9
|
+
import "../chunk/C9XYyypq.js";
|
|
10
|
+
import "../chunk/CUFsOxJ2.js";
|
|
11
11
|
import "../utils/throttleByRaf.js";
|
|
12
|
-
import { N } from "../chunk/
|
|
12
|
+
import { N } from "../chunk/DeCsZrXb.js";
|
|
13
13
|
import "./Context.js";
|
|
14
14
|
export {
|
|
15
15
|
N as default
|
package/tree/NodeList.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as L } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as R, useRef as h, useMemo as m, useImperativeHandle as V, createElement as g } from "react";
|
|
3
3
|
import { s as b } from "../chunk/Bmvhjhzq.js";
|
|
4
4
|
import P from "../virtual-list/VirtualList.js";
|
|
5
|
-
import { N as v } from "../chunk/
|
|
5
|
+
import { N as v } from "../chunk/DeCsZrXb.js";
|
|
6
6
|
function H(s) {
|
|
7
7
|
return s.key || s._key;
|
|
8
8
|
}
|
package/tree/Tree.js
CHANGED
|
@@ -7,11 +7,11 @@ import Me from "lodash/isArray";
|
|
|
7
7
|
import D from "lodash/isEqualWith";
|
|
8
8
|
import He from "lodash/isFunction";
|
|
9
9
|
import re from "lodash/isUndefined";
|
|
10
|
-
import { a as $e } from "../chunk/
|
|
11
|
-
import {
|
|
10
|
+
import { a as $e } from "../chunk/C9XYyypq.js";
|
|
11
|
+
import { p as se } from "../chunk/CUFsOxJ2.js";
|
|
12
12
|
import { a as We } from "../chunk/ClqoGc3r.js";
|
|
13
13
|
import { TreeContext as Re } from "./Context.js";
|
|
14
|
-
import { N as le } from "../chunk/
|
|
14
|
+
import { N as le } from "../chunk/DeCsZrXb.js";
|
|
15
15
|
import je from "./NodeList.js";
|
|
16
16
|
import { getTreeDataFromTreeChildren as Fe, getCheckedKeysByInitKeys as ze, getAllCheckedKeysByCheck as qe } from "./util.js";
|
|
17
17
|
const de = {
|
package/tree/index.js
CHANGED
package/tree-select/Select.js
CHANGED
|
@@ -5,7 +5,7 @@ import q from "lodash/isArray";
|
|
|
5
5
|
import R from "lodash/isFunction";
|
|
6
6
|
import Se from "lodash/isNil";
|
|
7
7
|
import { useContext as ce, useRef as P, useState as J, useCallback as T, forwardRef as Ve, useEffect as re, useMemo as ve, useImperativeHandle as Pe } from "react";
|
|
8
|
-
import { a as se } from "../chunk/
|
|
8
|
+
import { a as se } from "../chunk/C9XYyypq.js";
|
|
9
9
|
import { u as Ie } from "../chunk/B4YRLi8r.js";
|
|
10
10
|
import { u as Ke } from "../chunk/oopARUrq.js";
|
|
11
11
|
import { u as Oe } from "../chunk/BFTV6myl.js";
|
|
@@ -14,7 +14,7 @@ import Te from "../select-view/index.js";
|
|
|
14
14
|
import V from "../tree/Tree.js";
|
|
15
15
|
import { getCheckedKeysByInitKeys as _e, getTreeDataFromTreeChildren as He, getAllCheckedKeysByCheck as De } from "../tree/util.js";
|
|
16
16
|
import Re from "../trigger/index.js";
|
|
17
|
-
import {
|
|
17
|
+
import { p as z } from "../chunk/CUFsOxJ2.js";
|
|
18
18
|
import "../chunk/DAAff-FT.js";
|
|
19
19
|
import we from "./List.js";
|
|
20
20
|
import v from "lodash/get";
|
package/trigger/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as D, jsxs as Ne } from "react/jsx-runtime";
|
|
2
|
-
import { c as ut } from "../chunk/
|
|
2
|
+
import { c as ut } from "../chunk/BJ9_azwQ.js";
|
|
3
3
|
import ct from "lodash/isArray";
|
|
4
4
|
import M 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/
|
|
8
|
-
import {
|
|
7
|
+
import { a as yt } from "../chunk/C9XYyypq.js";
|
|
8
|
+
import { p as te } from "../chunk/CUFsOxJ2.js";
|
|
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/DAAff-FT.js";
|
|
11
11
|
import { o as Be } from "../chunk/BrOW642m.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const colors: FlatArray<
|
|
1
|
+
export declare const colors: FlatArray<string[], 0 | 1 | 17 | 18 | 2 | 13 | 8 | 9 | 20 | 16 | 6 | -1 | 3 | 4 | 5 | 7 | 10 | 11 | 12 | 14 | 15 | 19>[];
|
|
2
2
|
export default colors;
|
|
@@ -153,7 +153,6 @@ export interface ConfigProviderProps {
|
|
|
153
153
|
componentConfig?: ComponentConfig;
|
|
154
154
|
locale?: Locale;
|
|
155
155
|
theme?: ThemeConfig;
|
|
156
|
-
themeMode?: 'light' | 'dark';
|
|
157
156
|
size?: 'mini' | 'small' | 'default' | 'large';
|
|
158
157
|
prefixCls?: string;
|
|
159
158
|
getPrefixCls?: (componentName: string, customPrefix?: string) => string;
|
package/types/utils/color.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { uiColor as color } from '@unicom-cloud/tinycolor';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { NOOP } from '@unicom-cloud/ui-common/utils/constant';
|
|
1
|
+
export { NOOP, THEME_DARK_CLASS_NAME, } from '@unicom-cloud/ui-common/utils/constant';
|
|
2
2
|
export declare function newArray(length: number): unknown[];
|
|
3
3
|
export declare function pickTriggerPropsFromRest(rest: any): {};
|
package/types/utils/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export * from './responsiveObserve';
|
|
|
29
29
|
export * from './saveAs';
|
|
30
30
|
export * from './screenfull';
|
|
31
31
|
export * from './scrollIntoView';
|
|
32
|
+
export * from './setDarkTheme';
|
|
32
33
|
export * from './style';
|
|
33
34
|
export * from './throttleByRaf';
|
|
34
35
|
export * from './tinycolor';
|