@unicom-cloud/ui 0.8.73 → 0.8.74
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/{B0UZ1Ee2.js → 9we0Q8Kh.js} +3 -3
- package/chunk/{DJDOFlqC.js → BDZpJpz-.js} +2 -2
- package/chunk/BFmckYou.js +25 -0
- package/chunk/{Cj2SQJiO.js → BJ9_azwQ.js} +487 -487
- package/chunk/{7HDzVe32.js → Bd9zhOZS.js} +4 -4
- package/chunk/{uKZyjtff.js → BhBEMwvI.js} +21 -20
- package/chunk/{uH6uxyao.js → BoUHPeG7.js} +2 -2
- package/chunk/{Bj4EV0eG.js → BpYX5PN4.js} +1 -1
- package/chunk/{oHDWCJnz.js → Bu8A2l60.js} +3 -3
- package/chunk/CUFsOxJ2.js +10 -0
- package/chunk/CWjvjpyc.js +873 -0
- package/chunk/{Byd0ztYY.js → Crs3isAx.js} +4 -4
- package/chunk/{Ey4YJCkX.js → D0Dlbc2g.js} +2 -1
- package/chunk/{Dg0M2OmF.js → D5UfU6-H.js} +5 -5
- package/chunk/{UDX9U6M7.js → DJ8rDYjb.js} +3 -3
- package/chunk/{AwZqeapI.js → DRTWRsgI.js} +1 -1
- package/chunk/{D2LLXZQX.js → DdT3C0ih.js} +4 -4
- package/chunk/{DejjIa3N.js → Dn7KbmZ7.js} +35 -35
- package/chunk/{DpoumMDw.js → DohlrJ4S.js} +1 -1
- package/chunk/{B7hulkj9.js → NmSLBKjp.js} +2 -2
- package/chunk/{CiY7w1ZO.js → _L2dKF58.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 +2 -2
- package/color-picker/InputRgb.js +2 -2
- package/color-picker/Palette.js +2 -2
- package/color-picker/Panel.js +4 -4
- package/color-picker/colors.js +20 -9
- 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/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 +565 -575
- 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.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/utils/color.d.ts +1 -1
- 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/utils/PqbCSSTransition.js +1 -1
- package/utils/className.js +3 -3
- package/utils/color.js +2 -116
- package/utils/contextHolder.js +1 -1
- package/utils/copy.js +4 -4
- package/utils/fileToURL.js +1 -1
- package/utils/index.js +299 -309
- package/utils/reactTransitionGroup.js +1 -1
- package/utils/saveAs.js +1 -1
- package/utils/tinycolor.js +12 -12
- 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/CCVU-Kst.js +0 -770
- package/chunk/CTxjmYmx.js +0 -19
- package/chunk/JPPo5nY_.js +0 -9
package/Space.js
CHANGED
|
@@ -2,9 +2,9 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "lodash/isArray";
|
|
3
3
|
import "lodash/isNumber";
|
|
4
4
|
import "react";
|
|
5
|
-
import "./chunk/
|
|
5
|
+
import "./chunk/Crs3isAx.js";
|
|
6
6
|
import "./chunk/BFTV6myl.js";
|
|
7
|
-
import "./chunk/
|
|
7
|
+
import "./chunk/CUFsOxJ2.js";
|
|
8
8
|
import "./space/toArray.js";
|
|
9
9
|
import { SpaceVertical as l, default as d } from "./space/index.js";
|
|
10
10
|
export {
|
package/SpeechSynthesis.js
CHANGED
|
@@ -13,9 +13,10 @@ import "lodash/kebabCase.js";
|
|
|
13
13
|
import "lodash/snakeCase.js";
|
|
14
14
|
import "lodash/startCase.js";
|
|
15
15
|
import "lodash/upperFirst.js";
|
|
16
|
-
import "lodash/isPlainObject.js";
|
|
17
16
|
import "lodash/uniq.js";
|
|
18
|
-
import "./
|
|
17
|
+
import "./chunk/C0pRaDCf.js";
|
|
18
|
+
import "lodash/isPlainObject.js";
|
|
19
|
+
import "./chunk/CWjvjpyc.js";
|
|
19
20
|
import "lodash/isString.js";
|
|
20
21
|
import "./chunk/tamGhTJp.js";
|
|
21
22
|
import "lodash/escapeRegExp";
|
|
@@ -39,9 +40,8 @@ import "lodash/uniq";
|
|
|
39
40
|
import "lodash/upperFirst";
|
|
40
41
|
import "./chunk/yl4BU7Sd.js";
|
|
41
42
|
import "lodash/isPlainObject";
|
|
42
|
-
import "./chunk/
|
|
43
|
+
import "./chunk/BJ9_azwQ.js";
|
|
43
44
|
import "./chunk/Bl7BnD1R.js";
|
|
44
|
-
import "lodash/isFunction";
|
|
45
45
|
import "uuid";
|
|
46
46
|
import "./chunk/CplLA01W.js";
|
|
47
47
|
import "./button/index.js";
|
package/Spin.js
CHANGED
|
@@ -2,9 +2,9 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "@unicom-cloud/icons/IconUiLoading";
|
|
3
3
|
import "lodash/debounce";
|
|
4
4
|
import "react";
|
|
5
|
-
import "./chunk/
|
|
5
|
+
import "./chunk/Crs3isAx.js";
|
|
6
6
|
import "./chunk/BFTV6myl.js";
|
|
7
|
-
import "./chunk/
|
|
7
|
+
import "./chunk/CUFsOxJ2.js";
|
|
8
8
|
import "./chunk/DAAff-FT.js";
|
|
9
9
|
import "./spin/DotLoading.js";
|
|
10
10
|
import { default as u } from "./spin/index.js";
|
package/Statistic.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "./chunk/
|
|
2
|
+
import "./chunk/BhBEMwvI.js";
|
|
3
3
|
import "dayjs";
|
|
4
4
|
import "lodash/isFunction";
|
|
5
5
|
import "lodash/isNumber";
|
|
6
6
|
import "react";
|
|
7
|
-
import "./chunk/
|
|
7
|
+
import "./chunk/Crs3isAx.js";
|
|
8
8
|
import "./chunk/BFTV6myl.js";
|
|
9
9
|
import "./skeleton/index.js";
|
|
10
|
-
import "./chunk/
|
|
10
|
+
import "./chunk/CUFsOxJ2.js";
|
|
11
11
|
import "./chunk/BKKEev13.js";
|
|
12
12
|
import { default as s } from "./statistic/Countdown.js";
|
|
13
13
|
import { default as c } from "./statistic/index.js";
|
package/Steps.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "./chunk/
|
|
3
|
+
import "./chunk/Crs3isAx.js";
|
|
4
4
|
import "./chunk/BFTV6myl.js";
|
|
5
|
-
import "./chunk/
|
|
5
|
+
import "./chunk/CUFsOxJ2.js";
|
|
6
6
|
import "./chunk/ClqoGc3r.js";
|
|
7
7
|
import { default as f, default as s } from "./steps/Step.js";
|
|
8
8
|
import { default as l } from "./steps/index.js";
|
package/Switch.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@unicom-cloud/icons/IconUiLoading";
|
|
3
|
-
import "./chunk/
|
|
3
|
+
import "./chunk/BJ9_azwQ.js";
|
|
4
4
|
import "lodash/isArray";
|
|
5
5
|
import "react";
|
|
6
|
-
import "./chunk/
|
|
6
|
+
import "./chunk/Crs3isAx.js";
|
|
7
7
|
import "./chunk/BFTV6myl.js";
|
|
8
|
-
import "./chunk/
|
|
9
|
-
import "./chunk/
|
|
8
|
+
import "./chunk/BpYX5PN4.js";
|
|
9
|
+
import "./chunk/CUFsOxJ2.js";
|
|
10
10
|
import "./chunk/DAAff-FT.js";
|
|
11
11
|
import "./chunk/BKKEev13.js";
|
|
12
12
|
import "./chunk/C0pRaDCf.js";
|
package/Table.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as s, a as l, b as o, c as u, d as t, e as b, f as m } from "./chunk/
|
|
1
|
+
import { u as s, a as l, b as o, c as u, d as t, e as b, f as m } from "./chunk/D5UfU6-H.js";
|
|
2
2
|
import { defaultComponent as r } from "./table/constant.js";
|
|
3
3
|
import { TableSummary as n, TableSummaryCell as p, TableSummaryRow as S, default as C, useTableThResizable as y } from "./table/index.js";
|
|
4
4
|
export {
|
package/Tabs.js
CHANGED
package/Tag.js
CHANGED
|
@@ -3,11 +3,11 @@ import "@unicom-cloud/icons/IconUiClose";
|
|
|
3
3
|
import "@unicom-cloud/icons/IconUiLoading";
|
|
4
4
|
import "lodash/isPlainObject";
|
|
5
5
|
import "react";
|
|
6
|
-
import "./chunk/
|
|
6
|
+
import "./chunk/Crs3isAx.js";
|
|
7
7
|
import "./chunk/XTEsYGuF.js";
|
|
8
8
|
import "./chunk/BFTV6myl.js";
|
|
9
9
|
import "./popconfirm/index.js";
|
|
10
|
-
import "./chunk/
|
|
10
|
+
import "./chunk/CUFsOxJ2.js";
|
|
11
11
|
import "./chunk/BKKEev13.js";
|
|
12
12
|
import { default as b } from "./tag/index.js";
|
|
13
13
|
export {
|
package/Tooltip.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "./chunk/
|
|
2
|
+
import "./chunk/CWjvjpyc.js";
|
|
3
3
|
import "lodash/isFunction";
|
|
4
4
|
import "react";
|
|
5
|
-
import "./chunk/
|
|
5
|
+
import "./chunk/Crs3isAx.js";
|
|
6
6
|
import "./chunk/BFTV6myl.js";
|
|
7
7
|
import "./trigger/index.js";
|
|
8
|
-
import "./chunk/
|
|
8
|
+
import "./chunk/CUFsOxJ2.js";
|
|
9
9
|
import "./chunk/DAAff-FT.js";
|
|
10
10
|
import "./chunk/ClqoGc3r.js";
|
|
11
11
|
import { default as x } from "./tooltip/index.js";
|
package/Transfer.js
CHANGED
|
@@ -4,10 +4,10 @@ import "@unicom-cloud/icons/IconUiRight";
|
|
|
4
4
|
import "lodash/isPlainObject";
|
|
5
5
|
import "react";
|
|
6
6
|
import "./button/index.js";
|
|
7
|
-
import "./chunk/
|
|
7
|
+
import "./chunk/Crs3isAx.js";
|
|
8
8
|
import "./chunk/BFTV6myl.js";
|
|
9
9
|
import "./chunk/DeV0v__J.js";
|
|
10
|
-
import "./chunk/
|
|
10
|
+
import "./chunk/CUFsOxJ2.js";
|
|
11
11
|
import "./chunk/ClqoGc3r.js";
|
|
12
12
|
import "./transfer/List.js";
|
|
13
13
|
import { default as c } from "./transfer/index.js";
|
package/Tree.js
CHANGED
package/Trigger.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "./chunk/
|
|
2
|
+
import "./chunk/BJ9_azwQ.js";
|
|
3
3
|
import "lodash/isArray";
|
|
4
4
|
import "lodash/isFunction";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
|
-
import "./chunk/
|
|
8
|
-
import "./chunk/
|
|
7
|
+
import "./chunk/Crs3isAx.js";
|
|
8
|
+
import "./chunk/CUFsOxJ2.js";
|
|
9
9
|
import "./utils/dom.js";
|
|
10
10
|
import "./chunk/DAAff-FT.js";
|
|
11
11
|
import "./chunk/BrOW642m.js";
|
package/affix/index.js
CHANGED
|
@@ -3,10 +3,10 @@ import y from "lodash/isFunction";
|
|
|
3
3
|
import P from "lodash/isPlainObject";
|
|
4
4
|
import $ from "lodash/isUndefined";
|
|
5
5
|
import { forwardRef as q, useContext as G, useState as J, useRef as R, useCallback as K, useEffect as u, useImperativeHandle as Q } from "react";
|
|
6
|
-
import { a as V } from "../chunk/
|
|
6
|
+
import { a as V } from "../chunk/Crs3isAx.js";
|
|
7
7
|
import { u as X } from "../chunk/B2yFlXke.js";
|
|
8
8
|
import { u as Y } from "../chunk/BFTV6myl.js";
|
|
9
|
-
import {
|
|
9
|
+
import { p as F } from "../chunk/CUFsOxJ2.js";
|
|
10
10
|
import { on as w, off as h } from "../utils/dom.js";
|
|
11
11
|
import { l as Z } from "../chunk/DAAff-FT.js";
|
|
12
12
|
import { r as tt } from "../chunk/CIRG541s.js";
|
package/alert/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
1
|
+
import { jsx as t, jsxs as f } from "react/jsx-runtime";
|
|
2
2
|
import S from "@unicom-cloud/icons/IconUiCheckCircleFill";
|
|
3
3
|
import j from "@unicom-cloud/icons/IconUiClose";
|
|
4
4
|
import k from "@unicom-cloud/icons/IconUiCloseCircleFill";
|
|
5
5
|
import R from "@unicom-cloud/icons/IconUiExclamationCircleFill";
|
|
6
6
|
import T from "@unicom-cloud/icons/IconUiInfoCircleFill";
|
|
7
7
|
import { forwardRef as q, useRef as z, useContext as H, useState as M } from "react";
|
|
8
|
-
import { a as O } from "../chunk/
|
|
8
|
+
import { a as O } from "../chunk/Crs3isAx.js";
|
|
9
9
|
import { u as V } from "../chunk/BFTV6myl.js";
|
|
10
|
-
import {
|
|
11
|
-
import { P as B } from "../chunk/
|
|
10
|
+
import { p as _ } from "../chunk/CUFsOxJ2.js";
|
|
11
|
+
import { P as B } from "../chunk/BpYX5PN4.js";
|
|
12
12
|
const D = {
|
|
13
13
|
showIcon: !0,
|
|
14
14
|
type: "info"
|
|
@@ -26,7 +26,7 @@ function G(d, l) {
|
|
|
26
26
|
type: m = "info",
|
|
27
27
|
title: r,
|
|
28
28
|
content: u,
|
|
29
|
-
icon:
|
|
29
|
+
icon: p,
|
|
30
30
|
showIcon: $,
|
|
31
31
|
closable: x,
|
|
32
32
|
closeable: I,
|
|
@@ -37,8 +37,8 @@ function G(d, l) {
|
|
|
37
37
|
...y
|
|
38
38
|
} = c, e = h("alert"), [P, U] = M(!0);
|
|
39
39
|
function A(i) {
|
|
40
|
-
if (
|
|
41
|
-
return
|
|
40
|
+
if (p)
|
|
41
|
+
return p;
|
|
42
42
|
switch (i) {
|
|
43
43
|
case "info":
|
|
44
44
|
return /* @__PURE__ */ t(T, {});
|
|
@@ -75,7 +75,7 @@ function G(d, l) {
|
|
|
75
75
|
onExited: () => {
|
|
76
76
|
n == null || n();
|
|
77
77
|
},
|
|
78
|
-
children: /* @__PURE__ */
|
|
78
|
+
children: /* @__PURE__ */ f(
|
|
79
79
|
"div",
|
|
80
80
|
{
|
|
81
81
|
ref: l,
|
|
@@ -85,7 +85,7 @@ function G(d, l) {
|
|
|
85
85
|
...y,
|
|
86
86
|
children: [
|
|
87
87
|
$ && /* @__PURE__ */ t("div", { className: `${e}-icon-wrapper`, children: A(m) }),
|
|
88
|
-
/* @__PURE__ */
|
|
88
|
+
/* @__PURE__ */ f("div", { className: `${e}-content-wrapper`, children: [
|
|
89
89
|
r && /* @__PURE__ */ t("div", { className: `${e}-title`, children: r }),
|
|
90
90
|
u && /* @__PURE__ */ t("div", { className: `${e}-content`, children: u })
|
|
91
91
|
] }),
|
package/anchor/Anchor.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsxs as mt, jsx as w } from "react/jsx-runtime";
|
|
2
|
-
import { compute as
|
|
3
|
-
import { p as
|
|
2
|
+
import { compute as pt } from "../utils/computeScrollIntoView.js";
|
|
3
|
+
import { p as dt } from "../chunk/Coz3rCng.js";
|
|
4
4
|
import D from "lodash/isFunction";
|
|
5
5
|
import P from "lodash/isNumber";
|
|
6
6
|
import gt from "lodash/throttle";
|
|
7
|
-
import { forwardRef as ht, useContext as Ct, useRef as x, useState as xt, useEffect as S, useCallback as
|
|
7
|
+
import { forwardRef as ht, useContext as Ct, useRef as x, useState as xt, useEffect as S, useCallback as $, useImperativeHandle as kt } from "react";
|
|
8
8
|
import yt from "../affix/index.js";
|
|
9
|
-
import { a as Lt } from "../chunk/
|
|
9
|
+
import { a as Lt } from "../chunk/Crs3isAx.js";
|
|
10
10
|
import { u as Rt } from "../chunk/oopARUrq.js";
|
|
11
11
|
import { u as wt } from "../chunk/BFTV6myl.js";
|
|
12
12
|
import { u as St } from "../chunk/Duezix3m.js";
|
|
13
|
-
import {
|
|
14
|
-
import { on as
|
|
13
|
+
import { p as $t } from "../chunk/CUFsOxJ2.js";
|
|
14
|
+
import { on as At, off as Tt } from "../utils/dom.js";
|
|
15
15
|
import { l as vt } from "../chunk/DAAff-FT.js";
|
|
16
16
|
import Nt from "./context.js";
|
|
17
17
|
import bt from "./Link.js";
|
|
@@ -23,10 +23,10 @@ const It = {
|
|
|
23
23
|
boundary: "start"
|
|
24
24
|
};
|
|
25
25
|
function Ht(q, G) {
|
|
26
|
-
const { getPrefixCls: J, componentConfig:
|
|
26
|
+
const { getPrefixCls: J, componentConfig: A, rtl: E } = Ct(Lt), K = wt(
|
|
27
27
|
q,
|
|
28
28
|
It,
|
|
29
|
-
|
|
29
|
+
A == null ? void 0 : A.Anchor
|
|
30
30
|
), {
|
|
31
31
|
className: Q,
|
|
32
32
|
style: X,
|
|
@@ -39,26 +39,26 @@ function Ht(q, G) {
|
|
|
39
39
|
offsetTop: nt,
|
|
40
40
|
hash: F = !0,
|
|
41
41
|
boundary: i = "start",
|
|
42
|
-
targetOffset:
|
|
42
|
+
targetOffset: T,
|
|
43
43
|
children: rt,
|
|
44
44
|
direction: y = "vertical",
|
|
45
45
|
onSelect: I,
|
|
46
46
|
onChange: v,
|
|
47
47
|
...ot
|
|
48
|
-
} = K, f = J("anchor"), it =
|
|
48
|
+
} = K, f = J("anchor"), it = $t(f, Q, {
|
|
49
49
|
[`${f}-lineless`]: k,
|
|
50
50
|
[`${f}-rtl`]: E,
|
|
51
51
|
[`${f}-horizontal`]: y === "horizontal"
|
|
52
|
-
}), s = x(null),
|
|
52
|
+
}), s = x(null), p = x(null), a = x(/* @__PURE__ */ new Map()), N = x(!1), d = x(null), [st, H] = xt(0), [o, ct] = St(""), lt = Rt();
|
|
53
53
|
function O() {
|
|
54
54
|
let t = Mt(m);
|
|
55
55
|
return m || (t = Et(s.current)), t;
|
|
56
56
|
}
|
|
57
57
|
S(() => {
|
|
58
58
|
const t = O();
|
|
59
|
-
|
|
59
|
+
d.current = t;
|
|
60
60
|
}, [m]);
|
|
61
|
-
const ft =
|
|
61
|
+
const ft = $(() => O(), [m]);
|
|
62
62
|
kt(
|
|
63
63
|
G,
|
|
64
64
|
() => ({
|
|
@@ -73,7 +73,7 @@ function Ht(q, G) {
|
|
|
73
73
|
function at(t) {
|
|
74
74
|
a.current.delete(t), H(Math.random());
|
|
75
75
|
}
|
|
76
|
-
const L =
|
|
76
|
+
const L = $(
|
|
77
77
|
(t) => {
|
|
78
78
|
if (!t || !s.current)
|
|
79
79
|
return;
|
|
@@ -82,7 +82,7 @@ function Ht(q, G) {
|
|
|
82
82
|
n && z(t, n);
|
|
83
83
|
}
|
|
84
84
|
const e = a.current.get(t);
|
|
85
|
-
e && t !== o && (
|
|
85
|
+
e && t !== o && (dt(e, {
|
|
86
86
|
behavior: "auto",
|
|
87
87
|
block: "nearest",
|
|
88
88
|
scrollMode: "if-needed",
|
|
@@ -92,26 +92,26 @@ function Ht(q, G) {
|
|
|
92
92
|
}));
|
|
93
93
|
},
|
|
94
94
|
[o, v]
|
|
95
|
-
), B =
|
|
95
|
+
), B = $(() => {
|
|
96
96
|
let t;
|
|
97
|
-
const e = P(i) ? i : 0, n =
|
|
97
|
+
const e = P(i) ? i : 0, n = d.current, h = Pt(n).getBoundingClientRect(), R = document.documentElement.clientHeight;
|
|
98
98
|
return [...a.current.keys()].some((b) => {
|
|
99
99
|
const c = M(document, b);
|
|
100
100
|
let u = !1;
|
|
101
101
|
if (c) {
|
|
102
102
|
const { top: r, height: C } = c.getBoundingClientRect();
|
|
103
103
|
if (vt(n)) {
|
|
104
|
-
const l =
|
|
104
|
+
const l = T ?? R / 2;
|
|
105
105
|
u = r >= e && r <= l || r <= e && r + C >= l;
|
|
106
106
|
} else {
|
|
107
|
-
const l = r - h.top - e, j =
|
|
107
|
+
const l = r - h.top - e, j = T ?? h.height / 2;
|
|
108
108
|
u = l >= 0 && l <= j || l <= 0 && l + C >= j;
|
|
109
109
|
}
|
|
110
110
|
u && (t = c);
|
|
111
111
|
}
|
|
112
112
|
return u;
|
|
113
113
|
}), t;
|
|
114
|
-
}, [i,
|
|
114
|
+
}, [i, T]), g = $(
|
|
115
115
|
gt(
|
|
116
116
|
(t) => {
|
|
117
117
|
if (N.current)
|
|
@@ -133,13 +133,13 @@ function Ht(q, G) {
|
|
|
133
133
|
const e = M(document, t);
|
|
134
134
|
if (!e)
|
|
135
135
|
return;
|
|
136
|
-
const n = P(i) ? "start" : i, W = P(i) ? i : 0, h =
|
|
136
|
+
const n = P(i) ? "start" : i, W = P(i) ? i : 0, h = pt(e, { block: n });
|
|
137
137
|
if (!h.length)
|
|
138
138
|
return;
|
|
139
139
|
let R = !1;
|
|
140
140
|
const b = h.map(({ el: c, top: u }) => new Promise((r) => {
|
|
141
141
|
if (!R) {
|
|
142
|
-
c ===
|
|
142
|
+
c === d.current && (R = !0);
|
|
143
143
|
const C = u - W;
|
|
144
144
|
return Y ? Ft(c, C, r) : (F || (c.scrollTop = C), r(null));
|
|
145
145
|
}
|
|
@@ -160,14 +160,14 @@ function Ht(q, G) {
|
|
|
160
160
|
S(() => {
|
|
161
161
|
const t = decodeURIComponent(location.hash);
|
|
162
162
|
t ? (L(t), U(t)) : g(null);
|
|
163
|
-
}, []), S(() => (lt || g(null),
|
|
164
|
-
|
|
163
|
+
}, []), S(() => (lt || g(null), At(d.current, "scroll", g), () => {
|
|
164
|
+
Tt(d.current, "scroll", g);
|
|
165
165
|
}), [m, g]), S(() => {
|
|
166
166
|
const t = a.current.get(o);
|
|
167
|
-
t && !k &&
|
|
167
|
+
t && !k && p.current && (y === "horizontal" ? (p.current.style.left = `${t.offsetLeft}px`, p.current.style.width = `${t.clientWidth}px`) : p.current.style.top = `${t.offsetTop}px`);
|
|
168
168
|
}, [o, k, y, E, st]);
|
|
169
169
|
const V = /* @__PURE__ */ mt("div", { className: it, style: X, ref: s, ...ot, children: [
|
|
170
|
-
!k && o && /* @__PURE__ */ w("div", { className: `${f}-line-slider`, ref:
|
|
170
|
+
!k && o && /* @__PURE__ */ w("div", { className: `${f}-line-slider`, ref: p }),
|
|
171
171
|
/* @__PURE__ */ w(
|
|
172
172
|
Nt.Provider,
|
|
173
173
|
{
|
package/anchor/Link.js
CHANGED
|
@@ -4,9 +4,9 @@ import g from "lodash/isPlainObject";
|
|
|
4
4
|
import E from "lodash/isString";
|
|
5
5
|
import L from "lodash/isUndefined";
|
|
6
6
|
import O, { forwardRef as b, useContext as f, useRef as v, useImperativeHandle as w, useEffect as I, isValidElement as M } from "react";
|
|
7
|
-
import { a as S } from "../chunk/
|
|
7
|
+
import { a as S } from "../chunk/Crs3isAx.js";
|
|
8
8
|
import { u as $ } from "../chunk/BFTV6myl.js";
|
|
9
|
-
import {
|
|
9
|
+
import { p as z } from "../chunk/CUFsOxJ2.js";
|
|
10
10
|
import D from "./context.js";
|
|
11
11
|
const p = "AnchorLink", H = {
|
|
12
12
|
href: "#"
|
package/anchor/util.js
CHANGED
package/auto-complete/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import le from "@unicom-cloud/icons/IconUiLoading";
|
|
3
3
|
import p, { useContext as ne, useState as se, useRef as B, isValidElement as ae, useImperativeHandle as ce } from "react";
|
|
4
|
-
import { a as ie } from "../chunk/
|
|
4
|
+
import { a as ie } from "../chunk/Crs3isAx.js";
|
|
5
5
|
import { u as ue } from "../chunk/BFTV6myl.js";
|
|
6
6
|
import { u as fe } from "../chunk/DeV0v__J.js";
|
|
7
7
|
import me from "../input/Input.js";
|
|
8
8
|
import d from "../select/Select.js";
|
|
9
9
|
import { isSelectOption as pe, isSelectOptGroup as de } from "../select/util.js";
|
|
10
|
-
import {
|
|
10
|
+
import { p as ge } from "../chunk/CUFsOxJ2.js";
|
|
11
11
|
import { e as Ce, o as Oe } from "../chunk/BrOW642m.js";
|
|
12
12
|
import { o as ye } from "../chunk/BKKEev13.js";
|
|
13
13
|
import { a as he } from "../chunk/ClqoGc3r.js";
|
package/avatar/Avatar.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as W, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import j from "lodash/isNumber";
|
|
3
3
|
import y, { forwardRef as E, useContext as v, useRef as C, useImperativeHandle as H, useEffect as T } from "react";
|
|
4
|
-
import { a as D } from "../chunk/
|
|
5
|
-
import {
|
|
4
|
+
import { a as D } from "../chunk/Crs3isAx.js";
|
|
5
|
+
import { p as L } from "../chunk/CUFsOxJ2.js";
|
|
6
6
|
import M from "./context.js";
|
|
7
7
|
const O = {
|
|
8
8
|
shape: "circle",
|
package/avatar/Group.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o, jsxs as _ } from "react/jsx-runtime";
|
|
2
2
|
import I from "lodash/isNumber";
|
|
3
3
|
import R, { forwardRef as $, useContext as b } from "react";
|
|
4
|
-
import { a as j } from "../chunk/
|
|
4
|
+
import { a as j } from "../chunk/Crs3isAx.js";
|
|
5
5
|
import { u as T } from "../chunk/BFTV6myl.js";
|
|
6
6
|
import k from "../popover/index.js";
|
|
7
|
-
import {
|
|
7
|
+
import { p as q } from "../chunk/CUFsOxJ2.js";
|
|
8
8
|
import w from "./Avatar.js";
|
|
9
9
|
import v from "./context.js";
|
|
10
10
|
const L = {
|
package/back-top/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import x from "@unicom-cloud/icons/IconUiToTop";
|
|
3
|
-
import { q as
|
|
3
|
+
import { q as y, y as C } from "../chunk/BhBEMwvI.js";
|
|
4
4
|
import B, { forwardRef as E, useRef as P, useContext as N, useState as R, useEffect as S } from "react";
|
|
5
|
-
import { a as H } from "../chunk/
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { P as
|
|
9
|
-
import {
|
|
5
|
+
import { a as H } from "../chunk/Crs3isAx.js";
|
|
6
|
+
import { u as $ } from "../chunk/XTEsYGuF.js";
|
|
7
|
+
import { u as q } from "../chunk/BFTV6myl.js";
|
|
8
|
+
import { P as D } from "../chunk/BpYX5PN4.js";
|
|
9
|
+
import { p as I } from "../chunk/CUFsOxJ2.js";
|
|
10
10
|
import { on as K, off as U } from "../utils/dom.js";
|
|
11
11
|
import { a as j } from "../chunk/ClqoGc3r.js";
|
|
12
12
|
import A from "../utils/throttleByRaf.js";
|
|
@@ -15,10 +15,10 @@ function M(d, c) {
|
|
|
15
15
|
const g = {
|
|
16
16
|
visibleHeight: 400,
|
|
17
17
|
tween: !0,
|
|
18
|
-
easing:
|
|
18
|
+
easing: y,
|
|
19
19
|
duration: 400,
|
|
20
20
|
target: () => window
|
|
21
|
-
}, { getPrefixCls: T, componentConfig: l, rtl: b } = N(H), w =
|
|
21
|
+
}, { getPrefixCls: T, componentConfig: l, rtl: b } = N(H), w = $(), t = q(
|
|
22
22
|
d,
|
|
23
23
|
g,
|
|
24
24
|
l == null ? void 0 : l.BackTop
|
|
@@ -37,7 +37,7 @@ function M(d, c) {
|
|
|
37
37
|
const f = () => {
|
|
38
38
|
var s, n, u;
|
|
39
39
|
const e = (s = t.target) == null ? void 0 : s.call(t), o = m(e), r = o.scrollTop;
|
|
40
|
-
((n = window.getComputedStyle(o)) == null ? void 0 : n.scrollBehavior) === "smooth" || t.tween === !1 ? o.scrollTo(0, 0) : new
|
|
40
|
+
((n = window.getComputedStyle(o)) == null ? void 0 : n.scrollBehavior) === "smooth" || t.tween === !1 ? o.scrollTo(0, 0) : new C({
|
|
41
41
|
from: { scrollTop: r },
|
|
42
42
|
to: { scrollTop: 0 },
|
|
43
43
|
easing: t.easing,
|
|
@@ -52,7 +52,7 @@ function M(d, c) {
|
|
|
52
52
|
{
|
|
53
53
|
...j(t),
|
|
54
54
|
ref: c,
|
|
55
|
-
className:
|
|
55
|
+
className: I(
|
|
56
56
|
`${a}`,
|
|
57
57
|
{ [`${a}-rtl`]: b },
|
|
58
58
|
t.className
|
|
@@ -63,7 +63,7 @@ function M(d, c) {
|
|
|
63
63
|
onPressEnter: f
|
|
64
64
|
}),
|
|
65
65
|
children: /* @__PURE__ */ i(
|
|
66
|
-
|
|
66
|
+
D,
|
|
67
67
|
{
|
|
68
68
|
in: h,
|
|
69
69
|
timeout: 100,
|
package/badge/Count.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
3
|
-
import { u as
|
|
4
|
-
import { P as f } from "../chunk/
|
|
5
|
-
import {
|
|
2
|
+
import { useState as u } from "react";
|
|
3
|
+
import { u as d } from "../chunk/VSe_Wq1g.js";
|
|
4
|
+
import { P as f } from "../chunk/BpYX5PN4.js";
|
|
5
|
+
import { p as l } from "../chunk/CUFsOxJ2.js";
|
|
6
6
|
function S({ prefixCls: s, maxCount: r, count: e, className: n, style: o }) {
|
|
7
|
-
const [i,
|
|
7
|
+
const [i, a] = u(!1), m = d(e), p = e !== m;
|
|
8
8
|
return /* @__PURE__ */ t(
|
|
9
9
|
f,
|
|
10
10
|
{
|
|
@@ -15,13 +15,13 @@ function S({ prefixCls: s, maxCount: r, count: e, className: n, style: o }) {
|
|
|
15
15
|
mountOnEnter: !0,
|
|
16
16
|
unmountOnExit: !0,
|
|
17
17
|
onEntered: () => {
|
|
18
|
-
|
|
18
|
+
a(!0);
|
|
19
19
|
},
|
|
20
20
|
children: /* @__PURE__ */ t("span", { className: n, style: o, children: /* @__PURE__ */ t(
|
|
21
21
|
"span",
|
|
22
22
|
{
|
|
23
23
|
className: l({
|
|
24
|
-
[`${s}-number-text`]: i &&
|
|
24
|
+
[`${s}-number-text`]: i && p
|
|
25
25
|
}),
|
|
26
26
|
children: r && e > r ? `${r}+` : e
|
|
27
27
|
},
|
package/badge/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as x, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import j from "lodash/isPlainObject";
|
|
3
3
|
import { forwardRef as w, useContext as R } from "react";
|
|
4
|
-
import { a as q } from "../chunk/
|
|
4
|
+
import { a as q } from "../chunk/Crs3isAx.js";
|
|
5
5
|
import { u as G } from "../chunk/BFTV6myl.js";
|
|
6
|
-
import { P as _ } from "../chunk/
|
|
7
|
-
import {
|
|
6
|
+
import { P as _ } from "../chunk/BpYX5PN4.js";
|
|
7
|
+
import { p as a } from "../chunk/CUFsOxJ2.js";
|
|
8
8
|
import k from "./Count.js";
|
|
9
9
|
const $ = [
|
|
10
10
|
"red",
|
|
@@ -23,10 +23,10 @@ const $ = [
|
|
|
23
23
|
maxCount: 99
|
|
24
24
|
};
|
|
25
25
|
function I(y, C) {
|
|
26
|
-
const { getPrefixCls: N, componentConfig:
|
|
26
|
+
const { getPrefixCls: N, componentConfig: c, rtl: b } = R(q), h = G(
|
|
27
27
|
y,
|
|
28
28
|
z,
|
|
29
|
-
|
|
29
|
+
c == null ? void 0 : c.Badge
|
|
30
30
|
), {
|
|
31
31
|
count: o,
|
|
32
32
|
prefixText: u,
|
|
@@ -55,7 +55,7 @@ function I(y, C) {
|
|
|
55
55
|
children: o
|
|
56
56
|
}
|
|
57
57
|
);
|
|
58
|
-
const
|
|
58
|
+
const m = !e || $.indexOf(e) > -1 ? {} : { backgroundColor: e };
|
|
59
59
|
return i && !e && !l ? /* @__PURE__ */ s(
|
|
60
60
|
"span",
|
|
61
61
|
{
|
|
@@ -77,7 +77,7 @@ function I(y, C) {
|
|
|
77
77
|
},
|
|
78
78
|
n
|
|
79
79
|
),
|
|
80
|
-
style: { ...
|
|
80
|
+
style: { ...m, ...r }
|
|
81
81
|
}
|
|
82
82
|
),
|
|
83
83
|
!!i && /* @__PURE__ */ s("span", { className: `${t}-status-text`, children: i })
|
|
@@ -100,7 +100,7 @@ function I(y, C) {
|
|
|
100
100
|
},
|
|
101
101
|
n
|
|
102
102
|
),
|
|
103
|
-
style: { ...
|
|
103
|
+
style: { ...m, ...r }
|
|
104
104
|
}
|
|
105
105
|
)
|
|
106
106
|
}
|
|
@@ -109,7 +109,7 @@ function I(y, C) {
|
|
|
109
109
|
{
|
|
110
110
|
prefixCls: t,
|
|
111
111
|
className: a(`${t}-number`, n),
|
|
112
|
-
style: { ...
|
|
112
|
+
style: { ...m, ...r },
|
|
113
113
|
maxCount: P,
|
|
114
114
|
count: o
|
|
115
115
|
}
|