@unicom-cloud/ui 0.8.72 → 0.8.73
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 +2 -2
- package/AutoComplete.js +2 -2
- package/BackTop.js +2 -2
- package/Badge.js +2 -2
- package/Breadcrumb.js +3 -3
- 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 +4 -4
- 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 +2 -2
- package/Mentions.js +2 -2
- package/Menu.js +1 -1
- package/Message.js +6 -5
- package/Modal.js +1 -1
- package/Notice.js +4 -4
- package/Notification.js +7 -6
- package/OverflowEllipsis.js +1 -1
- package/PageHeader.js +1 -1
- package/Popconfirm.js +2 -2
- package/Popover.js +2 -2
- package/Progress.js +1 -1
- package/Radio.js +1 -1
- package/Rate.js +2 -2
- package/ResizeBox.js +2 -2
- package/Result.js +1 -1
- package/SelectView.js +4 -3
- package/Skeleton.js +1 -1
- package/Slider.js +3 -3
- package/Space.js +1 -1
- package/SpeechSynthesis.js +20 -20
- package/Spin.js +2 -2
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/Switch.js +7 -5
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/Tooltip.js +3 -3
- package/Transfer.js +2 -2
- package/Tree.js +1 -1
- package/Trigger.js +8 -7
- package/affix/index.js +2 -2
- package/alert/index.js +2 -2
- package/anchor/Anchor.js +53 -50
- package/anchor/Link.js +1 -1
- package/anchor/util.js +1 -1
- package/auto-complete/index.js +2 -2
- package/avatar/Avatar.js +1 -1
- package/avatar/Group.js +1 -1
- package/back-top/index.js +2 -2
- package/badge/Count.js +1 -1
- package/badge/index.js +50 -48
- package/breadcrumb/index.js +3 -3
- 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 +4 -4
- 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/{BnWo0OJ0.js → 7HDzVe32.js} +7 -7
- package/chunk/{6nKl68Er.js → B0UZ1Ee2.js} +3 -3
- package/chunk/{b1e8awfs.js → B0n0iRhF.js} +1 -1
- package/chunk/{BDHuWwhT.js → B7hulkj9.js} +2 -2
- package/chunk/Bj4EV0eG.js +27 -0
- package/chunk/{Bfq4YEcr.js → Bmvhjhzq.js} +9 -8
- package/chunk/{Cgbja_v_.js → Byd0ztYY.js} +13 -12
- package/chunk/{URXCKjXr.js → C0pRaDCf.js} +23 -23
- package/chunk/{B4JiMp8I.js → CCVU-Kst.js} +8 -2
- package/chunk/{ClaNycDy.js → Cc_-i0o_.js} +2 -2
- package/chunk/CiY7w1ZO.js +647 -0
- package/chunk/{fFjj2KuF.js → Cj2SQJiO.js} +392 -414
- package/chunk/Coz3rCng.js +33 -0
- package/chunk/{BHL-PzAD.js → CplLA01W.js} +17 -17
- package/chunk/{CAVVFFyZ.js → D2LLXZQX.js} +5 -7
- package/chunk/DAAff-FT.js +59 -0
- package/chunk/{Cf4qn5jY.js → DJDOFlqC.js} +2 -2
- package/chunk/DU1RCDfh.js +29 -0
- package/chunk/{CdaT1b_F.js → DeV0v__J.js} +2 -2
- package/chunk/{IUjEMHU1.js → DejjIa3N.js} +176 -173
- package/chunk/{y9unmTx_.js → Dg0M2OmF.js} +125 -125
- package/chunk/{DV7ywe_q.js → RS6OAxzv.js} +2 -2
- package/chunk/{rp1MtSd0.js → UDX9U6M7.js} +3 -3
- package/chunk/{Biupwn8l.js → ZrBrCzQX.js} +6 -5
- package/chunk/{CP7Ac47f.js → oHDWCJnz.js} +3 -3
- package/chunk/{CdAuhef7.js → uH6uxyao.js} +1 -1
- package/chunk/{D090jlwP.js → xAb6ZgqS.js} +1 -1
- package/collapse/Collapse.js +3 -3
- 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 +8 -8
- package/color-picker/InputRgb.js +6 -6
- package/color-picker/Palette.js +2 -2
- package/color-picker/Panel.js +16 -16
- package/color-picker/colors.js +4 -4
- package/color-picker/index.js +3 -3
- package/color-picker/utils.js +1 -1
- package/comment/index.js +1 -1
- 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 +1 -1
- package/date-picker/Picker.js +1 -1
- package/date-picker/PickerRange.js +2 -2
- package/date-picker/index.js +1 -1
- package/descriptions/index.js +2 -2
- package/divider/index.js +1 -1
- package/draggable/index.js +1 -1
- package/drawer/Drawer.js +121 -111
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +4 -4
- package/empty/index.js +1 -1
- package/form/Form.js +2 -2
- package/form/FormItem.js +2 -2
- package/form/promisify.js +9 -8
- package/form/store.js +1 -1
- package/form/util.js +1 -1
- package/grid/Col.js +1 -1
- package/grid/Row.js +2 -2
- package/grid/grid-item.js +2 -2
- package/grid/grid.js +2 -2
- package/hooks/index.js +5 -5
- package/hooks/useInView.js +1 -1
- package/hooks/useIntersectionObserver.js +1 -1
- package/hooks/useMergeValue.js +1 -1
- package/hooks/useOverflowHidden.js +1 -1
- package/hooks/useOverrideRef.js +1 -1
- package/hooks/useVerificationCode.js +2 -2
- package/icon/index.js +1 -1
- package/icon-hover/index.js +1 -1
- package/image/Image.js +4 -4
- package/image/ImagePreview.js +8 -8
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +2 -2
- package/image/index.js +1 -1
- package/index.js +591 -571
- package/input/Group.js +1 -1
- package/input/Input.js +47 -46
- package/input/InputElement.js +3 -3
- package/input/Password.js +2 -2
- package/input/Search.js +2 -2
- package/input/Textarea.js +6 -5
- package/input-number/index.js +1 -1
- package/input-tag/InputTag.js +52 -50
- package/layout/Content.js +1 -1
- package/layout/Footer.js +1 -1
- package/layout/Header.js +1 -1
- package/layout/Sider.js +3 -3
- package/layout/index.js +1 -1
- package/link/index.js +1 -1
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +2 -2
- package/locale/en-US.js +1 -1
- package/locale/tr-TR.js +1 -1
- package/mentions/index.js +2 -2
- package/menu/Item.js +1 -1
- package/menu/Menu.js +3 -3
- package/menu/OverflowWrap.js +1 -1
- package/menu/index.js +2 -2
- package/message/index.js +6 -5
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +8 -7
- package/modal/index.js +1 -1
- package/notice/index.js +4 -4
- package/notification/index.js +7 -6
- package/notification/useNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +1 -1
- package/overflow-ellipsis/index.js +1 -1
- package/package.json +1 -1
- package/page-header/index.js +1 -1
- package/pagination/PageItem.js +1 -1
- package/pagination/PageJumper.js +1 -1
- package/pagination/PageOption.js +1 -1
- package/pagination/Pagination.js +2 -2
- package/picker/Input.js +1 -1
- package/picker/InputRange.js +1 -1
- package/popconfirm/index.js +2 -2
- package/popover/index.js +2 -2
- package/progress/index.js +1 -1
- package/radio/Group.js +3 -3
- package/radio/Radio.js +3 -3
- package/radio/index.js +2 -2
- package/rate/index.js +26 -26
- package/resize-box/ResizeTrigger.js +21 -20
- package/resize-box/Split.js +1 -1
- package/resize-box/SplitGroup.js +1 -1
- package/resize-box/index.js +2 -2
- package/result/index.js +1 -1
- package/select/Option.js +1 -1
- package/select/Select.js +5 -4
- package/select/util.js +12 -12
- package/select-view/Core.js +3 -3
- package/select-view/index.js +2 -1
- package/skeleton/index.js +1 -1
- package/slider/Button.js +2 -2
- package/slider/Tick.js +1 -1
- package/slider/index.js +19 -19
- package/slider/util.js +8 -8
- package/space/index.js +1 -1
- package/speech-synthesis/index.js +20 -20
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +2 -2
- package/statistic/Countdown.js +1 -1
- package/statistic/index.js +1 -1
- package/steps/index.js +1 -1
- package/style/variables.less +1 -1
- package/style.css +1 -1
- package/switch/index.js +16 -14
- package/table/Table.js +2 -2
- package/table/index.js +3 -3
- package/tabs/Tab.js +3 -3
- package/tabs/TabContent.js +2 -2
- package/tabs/TabPane.js +1 -1
- package/tabs/index.js +2 -2
- package/tag/index.js +1 -1
- package/time-picker/Picker.js +1 -1
- package/time-picker/TimePicker.js +1 -1
- package/timeline/Item.js +1 -1
- package/timeline/Timeline.js +1 -1
- package/tooltip/index.js +3 -3
- package/transfer/Item.js +2 -2
- package/transfer/List.js +2 -2
- package/transfer/index.js +2 -2
- package/tree/Animation.js +3 -3
- package/tree/Node.js +3 -3
- package/tree/NodeList.js +2 -2
- package/tree/Tree.js +3 -3
- package/tree/index.js +1 -1
- package/tree-select/Select.js +25 -25
- package/trigger/getPopupStyle.js +2 -2
- package/trigger/index.js +7 -6
- package/types/badge/interface.d.ts +1 -0
- package/types/color-picker/colors.d.ts +1 -1
- package/types/date-picker/util.d.ts +1 -1
- package/types/drawer/interface.d.ts +10 -0
- package/types/index.d.ts +0 -7
- package/types/modal/Confirm.d.ts +1 -0
- package/types/utils/PqbCSSTransition.d.ts +3 -0
- package/types/utils/caseName.d.ts +1 -0
- package/types/utils/className.d.ts +1 -0
- package/types/utils/color.d.ts +1 -0
- package/types/utils/computeScrollIntoView.d.ts +1 -0
- package/types/utils/contextHolder.d.ts +1 -0
- package/types/utils/copy.d.ts +1 -0
- package/types/utils/fileToURL.d.ts +1 -0
- package/types/utils/fillNBSP.d.ts +1 -0
- package/types/utils/getHighlightText.d.ts +1 -0
- package/types/utils/getHotkeyHandler.d.ts +1 -0
- package/types/utils/getStringLength.d.ts +1 -0
- package/types/utils/include.d.ts +1 -0
- package/types/utils/index.d.ts +29 -25
- package/types/utils/is.d.ts +1 -1
- package/types/utils/keyboardCode.d.ts +1 -0
- package/types/utils/math.d.ts +1 -0
- package/types/utils/mergeProps.d.ts +1 -0
- package/types/utils/mergedToString.d.ts +1 -0
- package/types/utils/names.d.ts +497 -81
- package/types/utils/omit.d.ts +1 -0
- package/types/utils/pick.d.ts +1 -1
- package/types/utils/reactTransitionGroup.d.ts +1 -0
- package/types/utils/responsiveObserve.d.ts +1 -0
- package/types/utils/saveAs.d.ts +1 -0
- package/types/utils/screenfull.d.ts +1 -0
- package/types/utils/scrollIntoView.d.ts +1 -0
- package/types/utils/tinycolor.d.ts +1 -0
- package/types/utils/tree.d.ts +1 -0
- package/types/utils/tween.d.ts +1 -0
- package/types/utils/uuid.d.ts +1 -0
- package/types/utils/validate.d.ts +1 -0
- package/types/version/index.d.ts +1 -1
- package/typography/Base.js +6 -5
- package/typography/Ellipsis.js +30 -29
- package/typography/Paragraph.js +1 -1
- package/typography/Typography.js +1 -1
- package/typography/index.js +28 -27
- package/upload/TriggerNode.js +1 -1
- package/upload/Upload.js +60 -58
- package/upload/Uploader.js +21 -21
- package/upload/request_.js +4 -3
- package/utils/PqbCSSTransition.js +5 -0
- package/utils/caseName.js +3 -2
- package/utils/className.js +3 -2
- package/{chunk/B6X4lnd0.js → utils/color.js} +55 -53
- package/utils/computeScrollIntoView.js +128 -0
- package/utils/contextHolder.js +3 -2
- package/utils/copy.js +4 -2
- package/utils/fileToURL.js +3 -2
- package/utils/fillNBSP.js +2 -1
- package/utils/getHighlightText.js +2 -1
- package/utils/getHotkeyHandler.js +2 -1
- package/utils/getStringLength.js +2 -1
- package/utils/include.js +2 -1
- package/utils/index.js +302 -249
- package/utils/is.js +104 -101
- package/utils/keyboardCode.js +2 -1
- package/utils/math.js +35 -0
- package/utils/mergeProps.js +2 -1
- package/utils/mergedToString.js +2 -1
- package/utils/names.js +332 -81
- package/utils/omit.js +2 -1
- package/utils/pick.js +1 -0
- package/utils/react19Adapter.js +1 -1
- package/utils/reactDOM.js +1 -1
- package/utils/reactTransitionGroup.js +10 -0
- package/utils/responsiveObserve.js +2 -1
- package/utils/saveAs.js +3 -2
- package/utils/screenfull.js +2 -1
- package/utils/scrollIntoView.js +4 -2
- package/utils/tinycolor.js +30 -0
- package/utils/tree.js +87 -0
- package/utils/tween.js +6 -0
- package/utils/uuid.js +5 -0
- package/utils/validate.js +7 -0
- package/verification-code/VerificationCode.js +1 -1
- package/version/index.js +3 -3
- package/virtual-list/VirtualList.js +1 -1
- package/watermark/Watermark.js +1 -1
- package/chunk/BibHFOCF.js +0 -34
- package/chunk/CVYWxu00.js +0 -155
- package/chunk/CbLaCJmG.js +0 -26
- package/chunk/D-TPB2Do.js +0 -56
- package/chunk/DVfOiRp-.js +0 -629
- package/chunk/DxxOUMSa.js +0 -98
- package/types/utils/CSSTransition.d.ts +0 -2
- package/utils/CSSTransition.js +0 -4
package/SpeechSynthesis.js
CHANGED
|
@@ -1,15 +1,27 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import { default as W } from "./speech-synthesis/index.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import "./chunk/
|
|
4
|
+
import "./chunk/ZrBrCzQX.js";
|
|
5
5
|
import "./utils/dom.js";
|
|
6
|
-
import "./chunk/
|
|
7
|
-
import "./chunk/
|
|
6
|
+
import "./chunk/DAAff-FT.js";
|
|
7
|
+
import "./chunk/Cc_-i0o_.js";
|
|
8
8
|
import "./chunk/Ce1j9KTi.js";
|
|
9
9
|
import "lodash/debounce";
|
|
10
|
-
import "
|
|
11
|
-
import "
|
|
10
|
+
import "lodash/camelCase.js";
|
|
11
|
+
import "lodash/capitalize.js";
|
|
12
|
+
import "lodash/kebabCase.js";
|
|
13
|
+
import "lodash/snakeCase.js";
|
|
14
|
+
import "lodash/startCase.js";
|
|
15
|
+
import "lodash/upperFirst.js";
|
|
16
|
+
import "lodash/isPlainObject.js";
|
|
17
|
+
import "lodash/uniq.js";
|
|
18
|
+
import "./utils/color.js";
|
|
19
|
+
import "lodash/isString.js";
|
|
12
20
|
import "./chunk/tamGhTJp.js";
|
|
21
|
+
import "lodash/escapeRegExp";
|
|
22
|
+
import "lodash/isArray";
|
|
23
|
+
import "lodash/isNumber";
|
|
24
|
+
import "lodash/isString";
|
|
13
25
|
import "lodash/camelCase";
|
|
14
26
|
import "lodash/capitalize";
|
|
15
27
|
import "lodash/cloneDeep";
|
|
@@ -25,25 +37,13 @@ import "lodash/startCase";
|
|
|
25
37
|
import "lodash/throttle";
|
|
26
38
|
import "lodash/uniq";
|
|
27
39
|
import "lodash/upperFirst";
|
|
28
|
-
import "
|
|
29
|
-
import "lodash/capitalize.js";
|
|
30
|
-
import "lodash/kebabCase.js";
|
|
31
|
-
import "lodash/snakeCase.js";
|
|
32
|
-
import "lodash/startCase.js";
|
|
33
|
-
import "lodash/upperFirst.js";
|
|
34
|
-
import "lodash/isPlainObject.js";
|
|
35
|
-
import "lodash/uniq.js";
|
|
36
|
-
import "lodash/isString.js";
|
|
37
|
-
import "./chunk/fFjj2KuF.js";
|
|
38
|
-
import "lodash/escapeRegExp";
|
|
39
|
-
import "lodash/isArray";
|
|
40
|
-
import "lodash/isNumber";
|
|
41
|
-
import "lodash/isString";
|
|
40
|
+
import "./chunk/yl4BU7Sd.js";
|
|
42
41
|
import "lodash/isPlainObject";
|
|
42
|
+
import "./chunk/Cj2SQJiO.js";
|
|
43
43
|
import "./chunk/Bl7BnD1R.js";
|
|
44
44
|
import "lodash/isFunction";
|
|
45
|
-
import "./chunk/BHL-PzAD.js";
|
|
46
45
|
import "uuid";
|
|
46
|
+
import "./chunk/CplLA01W.js";
|
|
47
47
|
import "./button/index.js";
|
|
48
48
|
export {
|
|
49
49
|
W as default
|
package/Spin.js
CHANGED
|
@@ -2,10 +2,10 @@ 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/Byd0ztYY.js";
|
|
6
6
|
import "./chunk/BFTV6myl.js";
|
|
7
7
|
import "./chunk/JPPo5nY_.js";
|
|
8
|
-
import "./chunk/
|
|
8
|
+
import "./chunk/DAAff-FT.js";
|
|
9
9
|
import "./spin/DotLoading.js";
|
|
10
10
|
import { default as u } from "./spin/index.js";
|
|
11
11
|
export {
|
package/Statistic.js
CHANGED
package/Steps.js
CHANGED
package/Switch.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@unicom-cloud/icons/IconUiLoading";
|
|
3
|
-
import "./chunk/
|
|
3
|
+
import "./chunk/Cj2SQJiO.js";
|
|
4
4
|
import "lodash/isArray";
|
|
5
5
|
import "react";
|
|
6
|
-
import "./chunk/
|
|
6
|
+
import "./chunk/Byd0ztYY.js";
|
|
7
7
|
import "./chunk/BFTV6myl.js";
|
|
8
|
+
import "./chunk/Bj4EV0eG.js";
|
|
8
9
|
import "./chunk/JPPo5nY_.js";
|
|
9
|
-
import "./chunk/
|
|
10
|
+
import "./chunk/DAAff-FT.js";
|
|
10
11
|
import "./chunk/BKKEev13.js";
|
|
12
|
+
import "./chunk/C0pRaDCf.js";
|
|
11
13
|
import "lodash/isPlainObject.js";
|
|
12
|
-
import { default as
|
|
14
|
+
import { default as g } from "./switch/index.js";
|
|
13
15
|
export {
|
|
14
|
-
|
|
16
|
+
g as default
|
|
15
17
|
};
|
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/Dg0M2OmF.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,7 +3,7 @@ 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/Byd0ztYY.js";
|
|
7
7
|
import "./chunk/XTEsYGuF.js";
|
|
8
8
|
import "./chunk/BFTV6myl.js";
|
|
9
9
|
import "./popconfirm/index.js";
|
package/Tooltip.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "./chunk/
|
|
2
|
+
import "./chunk/CCVU-Kst.js";
|
|
3
3
|
import "lodash/isFunction";
|
|
4
4
|
import "react";
|
|
5
|
-
import "./chunk/
|
|
5
|
+
import "./chunk/Byd0ztYY.js";
|
|
6
6
|
import "./chunk/BFTV6myl.js";
|
|
7
7
|
import "./trigger/index.js";
|
|
8
8
|
import "./chunk/JPPo5nY_.js";
|
|
9
|
-
import "./chunk/
|
|
9
|
+
import "./chunk/DAAff-FT.js";
|
|
10
10
|
import "./chunk/ClqoGc3r.js";
|
|
11
11
|
import { default as x } from "./tooltip/index.js";
|
|
12
12
|
export {
|
package/Transfer.js
CHANGED
|
@@ -4,9 +4,9 @@ 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/Byd0ztYY.js";
|
|
8
8
|
import "./chunk/BFTV6myl.js";
|
|
9
|
-
import "./chunk/
|
|
9
|
+
import "./chunk/DeV0v__J.js";
|
|
10
10
|
import "./chunk/JPPo5nY_.js";
|
|
11
11
|
import "./chunk/ClqoGc3r.js";
|
|
12
12
|
import "./transfer/List.js";
|
package/Tree.js
CHANGED
package/Trigger.js
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "./chunk/
|
|
2
|
+
import "./chunk/Cj2SQJiO.js";
|
|
3
3
|
import "lodash/isArray";
|
|
4
4
|
import "lodash/isFunction";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
|
-
import "./chunk/
|
|
7
|
+
import "./chunk/Byd0ztYY.js";
|
|
8
8
|
import "./chunk/JPPo5nY_.js";
|
|
9
9
|
import "./utils/dom.js";
|
|
10
|
-
import "./chunk/
|
|
10
|
+
import "./chunk/DAAff-FT.js";
|
|
11
11
|
import "./chunk/BrOW642m.js";
|
|
12
12
|
import "./chunk/DH7HTOV_.js";
|
|
13
13
|
import "./chunk/ClqoGc3r.js";
|
|
14
|
-
import "./chunk/
|
|
14
|
+
import "./chunk/Cc_-i0o_.js";
|
|
15
15
|
import "./chunk/CIRG541s.js";
|
|
16
16
|
import "./utils/throttleByRaf.js";
|
|
17
17
|
import "./trigger/getPopupStyle.js";
|
|
18
|
+
import "./chunk/C0pRaDCf.js";
|
|
18
19
|
import "lodash/isPlainObject.js";
|
|
19
|
-
import { EventsByTriggerNeed as
|
|
20
|
+
import { EventsByTriggerNeed as T, default as b } from "./trigger/index.js";
|
|
20
21
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
T as EventsByTriggerNeed,
|
|
23
|
+
b as default
|
|
23
24
|
};
|
package/affix/index.js
CHANGED
|
@@ -3,12 +3,12 @@ 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/Byd0ztYY.js";
|
|
7
7
|
import { u as X } from "../chunk/B2yFlXke.js";
|
|
8
8
|
import { u as Y } from "../chunk/BFTV6myl.js";
|
|
9
9
|
import { m as F } from "../chunk/JPPo5nY_.js";
|
|
10
10
|
import { on as w, off as h } from "../utils/dom.js";
|
|
11
|
-
import {
|
|
11
|
+
import { l as Z } from "../chunk/DAAff-FT.js";
|
|
12
12
|
import { r as tt } from "../chunk/CIRG541s.js";
|
|
13
13
|
import et from "../utils/throttleByRaf.js";
|
|
14
14
|
function rt(c) {
|
package/alert/index.js
CHANGED
|
@@ -5,10 +5,10 @@ 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/Byd0ztYY.js";
|
|
9
9
|
import { u as V } from "../chunk/BFTV6myl.js";
|
|
10
10
|
import { m as _ } from "../chunk/JPPo5nY_.js";
|
|
11
|
-
import { P as B } from "../chunk/
|
|
11
|
+
import { P as B } from "../chunk/Bj4EV0eG.js";
|
|
12
12
|
const D = {
|
|
13
13
|
showIcon: !0,
|
|
14
14
|
type: "info"
|
package/anchor/Anchor.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { jsxs as mt, jsx as w } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { compute as dt } from "../utils/computeScrollIntoView.js";
|
|
3
|
+
import { p as pt } from "../chunk/Coz3rCng.js";
|
|
3
4
|
import D from "lodash/isFunction";
|
|
4
5
|
import P from "lodash/isNumber";
|
|
5
6
|
import gt from "lodash/throttle";
|
|
6
7
|
import { forwardRef as ht, useContext as Ct, useRef as x, useState as xt, useEffect as S, useCallback as A, useImperativeHandle as kt } from "react";
|
|
7
8
|
import yt from "../affix/index.js";
|
|
8
|
-
import { a as Lt } from "../chunk/
|
|
9
|
+
import { a as Lt } from "../chunk/Byd0ztYY.js";
|
|
9
10
|
import { u as Rt } from "../chunk/oopARUrq.js";
|
|
10
11
|
import { u as wt } from "../chunk/BFTV6myl.js";
|
|
11
12
|
import { u as St } from "../chunk/Duezix3m.js";
|
|
12
13
|
import { m as At } from "../chunk/JPPo5nY_.js";
|
|
13
|
-
import { on as
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
14
|
+
import { on as Tt, off as $t } from "../utils/dom.js";
|
|
15
|
+
import { l as vt } from "../chunk/DAAff-FT.js";
|
|
16
|
+
import Nt from "./context.js";
|
|
16
17
|
import bt from "./Link.js";
|
|
17
18
|
import { findNode as M, getContainerElement as Pt, getContainer as Mt, getScrollParent as Et, slide as Ft } from "./util.js";
|
|
18
19
|
const It = {
|
|
@@ -22,10 +23,10 @@ const It = {
|
|
|
22
23
|
boundary: "start"
|
|
23
24
|
};
|
|
24
25
|
function Ht(q, G) {
|
|
25
|
-
const { getPrefixCls: J, componentConfig:
|
|
26
|
+
const { getPrefixCls: J, componentConfig: T, rtl: E } = Ct(Lt), K = wt(
|
|
26
27
|
q,
|
|
27
28
|
It,
|
|
28
|
-
|
|
29
|
+
T == null ? void 0 : T.Anchor
|
|
29
30
|
), {
|
|
30
31
|
className: Q,
|
|
31
32
|
style: X,
|
|
@@ -37,21 +38,21 @@ function Ht(q, G) {
|
|
|
37
38
|
offsetBottom: et,
|
|
38
39
|
offsetTop: nt,
|
|
39
40
|
hash: F = !0,
|
|
40
|
-
boundary:
|
|
41
|
-
targetOffset:
|
|
41
|
+
boundary: i = "start",
|
|
42
|
+
targetOffset: $,
|
|
42
43
|
children: rt,
|
|
43
44
|
direction: y = "vertical",
|
|
44
45
|
onSelect: I,
|
|
45
|
-
onChange:
|
|
46
|
+
onChange: v,
|
|
46
47
|
...ot
|
|
47
48
|
} = K, f = J("anchor"), it = At(f, Q, {
|
|
48
49
|
[`${f}-lineless`]: k,
|
|
49
50
|
[`${f}-rtl`]: E,
|
|
50
51
|
[`${f}-horizontal`]: y === "horizontal"
|
|
51
|
-
}),
|
|
52
|
+
}), s = x(null), d = x(null), a = x(/* @__PURE__ */ new Map()), N = x(!1), p = x(null), [st, H] = xt(0), [o, ct] = St(""), lt = Rt();
|
|
52
53
|
function O() {
|
|
53
54
|
let t = Mt(m);
|
|
54
|
-
return m || (t = Et(
|
|
55
|
+
return m || (t = Et(s.current)), t;
|
|
55
56
|
}
|
|
56
57
|
S(() => {
|
|
57
58
|
const t = O();
|
|
@@ -61,8 +62,8 @@ function Ht(q, G) {
|
|
|
61
62
|
kt(
|
|
62
63
|
G,
|
|
63
64
|
() => ({
|
|
64
|
-
dom:
|
|
65
|
-
getRootDOMNode: () =>
|
|
65
|
+
dom: s.current,
|
|
66
|
+
getRootDOMNode: () => s.current
|
|
66
67
|
}),
|
|
67
68
|
[]
|
|
68
69
|
);
|
|
@@ -74,51 +75,51 @@ function Ht(q, G) {
|
|
|
74
75
|
}
|
|
75
76
|
const L = A(
|
|
76
77
|
(t) => {
|
|
77
|
-
if (!t || !
|
|
78
|
+
if (!t || !s.current)
|
|
78
79
|
return;
|
|
79
80
|
if (!a.current.has(t)) {
|
|
80
|
-
const
|
|
81
|
-
|
|
81
|
+
const n = M(s.current, `a[data-href='${t}']`);
|
|
82
|
+
n && z(t, n);
|
|
82
83
|
}
|
|
83
84
|
const e = a.current.get(t);
|
|
84
|
-
e && t !==
|
|
85
|
+
e && t !== o && (pt(e, {
|
|
85
86
|
behavior: "auto",
|
|
86
87
|
block: "nearest",
|
|
87
88
|
scrollMode: "if-needed",
|
|
88
|
-
boundary:
|
|
89
|
+
boundary: s.current
|
|
89
90
|
}), ct(t).then(() => {
|
|
90
|
-
D(
|
|
91
|
+
D(v) && v(t, o);
|
|
91
92
|
}));
|
|
92
93
|
},
|
|
93
|
-
[
|
|
94
|
+
[o, v]
|
|
94
95
|
), B = A(() => {
|
|
95
96
|
let t;
|
|
96
|
-
const e = P(
|
|
97
|
+
const e = P(i) ? i : 0, n = p.current, h = Pt(n).getBoundingClientRect(), R = document.documentElement.clientHeight;
|
|
97
98
|
return [...a.current.keys()].some((b) => {
|
|
98
99
|
const c = M(document, b);
|
|
99
100
|
let u = !1;
|
|
100
101
|
if (c) {
|
|
101
|
-
const { top:
|
|
102
|
-
if (
|
|
103
|
-
const l =
|
|
104
|
-
u =
|
|
102
|
+
const { top: r, height: C } = c.getBoundingClientRect();
|
|
103
|
+
if (vt(n)) {
|
|
104
|
+
const l = $ ?? R / 2;
|
|
105
|
+
u = r >= e && r <= l || r <= e && r + C >= l;
|
|
105
106
|
} else {
|
|
106
|
-
const l =
|
|
107
|
+
const l = r - h.top - e, j = $ ?? h.height / 2;
|
|
107
108
|
u = l >= 0 && l <= j || l <= 0 && l + C >= j;
|
|
108
109
|
}
|
|
109
110
|
u && (t = c);
|
|
110
111
|
}
|
|
111
112
|
return u;
|
|
112
113
|
}), t;
|
|
113
|
-
}, [
|
|
114
|
+
}, [i, $]), g = A(
|
|
114
115
|
gt(
|
|
115
|
-
() => {
|
|
116
|
-
if (
|
|
116
|
+
(t) => {
|
|
117
|
+
if (N.current)
|
|
117
118
|
return;
|
|
118
|
-
const
|
|
119
|
-
if (
|
|
120
|
-
const
|
|
121
|
-
L(
|
|
119
|
+
const e = B();
|
|
120
|
+
if (e && e.id) {
|
|
121
|
+
const n = `#${e.id}`;
|
|
122
|
+
L(n);
|
|
122
123
|
}
|
|
123
124
|
},
|
|
124
125
|
30,
|
|
@@ -132,45 +133,47 @@ function Ht(q, G) {
|
|
|
132
133
|
const e = M(document, t);
|
|
133
134
|
if (!e)
|
|
134
135
|
return;
|
|
135
|
-
const
|
|
136
|
+
const n = P(i) ? "start" : i, W = P(i) ? i : 0, h = dt(e, { block: n });
|
|
136
137
|
if (!h.length)
|
|
137
138
|
return;
|
|
138
139
|
let R = !1;
|
|
139
|
-
const b = h.map(({ el: c, top: u }) => new Promise((
|
|
140
|
+
const b = h.map(({ el: c, top: u }) => new Promise((r) => {
|
|
140
141
|
if (!R) {
|
|
141
142
|
c === p.current && (R = !0);
|
|
142
143
|
const C = u - W;
|
|
143
|
-
return Y ? Ft(c, C,
|
|
144
|
+
return Y ? Ft(c, C, r) : (F || (c.scrollTop = C), r(null));
|
|
144
145
|
}
|
|
145
|
-
|
|
146
|
+
r(null);
|
|
146
147
|
}));
|
|
147
|
-
|
|
148
|
-
|
|
148
|
+
N.current = !0, Promise.all(b).then(() => {
|
|
149
|
+
setTimeout(() => {
|
|
150
|
+
N.current = !1;
|
|
151
|
+
}, 27);
|
|
149
152
|
});
|
|
150
153
|
} catch (e) {
|
|
151
154
|
console.error(e);
|
|
152
155
|
}
|
|
153
156
|
}
|
|
154
157
|
function ut(t, e) {
|
|
155
|
-
F || t.preventDefault(), L(e), U(e), D(I) && I(e,
|
|
158
|
+
F || t.preventDefault(), L(e), U(e), D(I) && I(e, o);
|
|
156
159
|
}
|
|
157
160
|
S(() => {
|
|
158
161
|
const t = decodeURIComponent(location.hash);
|
|
159
|
-
t ? (L(t), U(t)) : g();
|
|
160
|
-
}, []), S(() => (lt || g(),
|
|
161
|
-
|
|
162
|
+
t ? (L(t), U(t)) : g(null);
|
|
163
|
+
}, []), S(() => (lt || g(null), Tt(p.current, "scroll", g), () => {
|
|
164
|
+
$t(p.current, "scroll", g);
|
|
162
165
|
}), [m, g]), S(() => {
|
|
163
|
-
const t = a.current.get(
|
|
166
|
+
const t = a.current.get(o);
|
|
164
167
|
t && !k && d.current && (y === "horizontal" ? (d.current.style.left = `${t.offsetLeft}px`, d.current.style.width = `${t.clientWidth}px`) : d.current.style.top = `${t.offsetTop}px`);
|
|
165
|
-
}, [
|
|
166
|
-
const V = /* @__PURE__ */ mt("div", { className: it, style: X, ref:
|
|
167
|
-
!k &&
|
|
168
|
+
}, [o, k, y, E, st]);
|
|
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: d }),
|
|
168
171
|
/* @__PURE__ */ w(
|
|
169
|
-
|
|
172
|
+
Nt.Provider,
|
|
170
173
|
{
|
|
171
174
|
value: {
|
|
172
175
|
direction: y,
|
|
173
|
-
currentLink:
|
|
176
|
+
currentLink: o,
|
|
174
177
|
addLink: z,
|
|
175
178
|
removeLink: at,
|
|
176
179
|
onLinkClick: ut
|
package/anchor/Link.js
CHANGED
|
@@ -4,7 +4,7 @@ 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/Byd0ztYY.js";
|
|
8
8
|
import { u as $ } from "../chunk/BFTV6myl.js";
|
|
9
9
|
import { m as z } from "../chunk/JPPo5nY_.js";
|
|
10
10
|
import D from "./context.js";
|
package/anchor/util.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { I as l, q as u } from "../chunk/uKZyjtff.js";
|
|
2
2
|
import i from "lodash/isString";
|
|
3
|
-
import { c } from "../chunk/
|
|
3
|
+
import { l as c } from "../chunk/DAAff-FT.js";
|
|
4
4
|
function d(o, n) {
|
|
5
5
|
const r = i(n) && n[0] === "#" ? `[id='${n.replace("#", "")}']` : n;
|
|
6
6
|
try {
|
package/auto-complete/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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/Byd0ztYY.js";
|
|
5
5
|
import { u as ue } from "../chunk/BFTV6myl.js";
|
|
6
|
-
import { u as fe } from "../chunk/
|
|
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";
|
package/avatar/Avatar.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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/
|
|
4
|
+
import { a as D } from "../chunk/Byd0ztYY.js";
|
|
5
5
|
import { m as L } from "../chunk/JPPo5nY_.js";
|
|
6
6
|
import M from "./context.js";
|
|
7
7
|
const O = {
|
package/avatar/Group.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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/Byd0ztYY.js";
|
|
5
5
|
import { u as T } from "../chunk/BFTV6myl.js";
|
|
6
6
|
import k from "../popover/index.js";
|
|
7
7
|
import { m as q } from "../chunk/JPPo5nY_.js";
|
package/back-top/index.js
CHANGED
|
@@ -2,10 +2,10 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import x from "@unicom-cloud/icons/IconUiToTop";
|
|
3
3
|
import { q as C, I as y } from "../chunk/uKZyjtff.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/
|
|
5
|
+
import { a as H } from "../chunk/Byd0ztYY.js";
|
|
6
6
|
import { u as I } from "../chunk/XTEsYGuF.js";
|
|
7
7
|
import { u as $ } from "../chunk/BFTV6myl.js";
|
|
8
|
-
import { P as q } from "../chunk/
|
|
8
|
+
import { P as q } from "../chunk/Bj4EV0eG.js";
|
|
9
9
|
import { m as D } from "../chunk/JPPo5nY_.js";
|
|
10
10
|
import { on as K, off as U } from "../utils/dom.js";
|
|
11
11
|
import { a as j } from "../chunk/ClqoGc3r.js";
|
package/badge/Count.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as d } from "react";
|
|
3
3
|
import { u as p } from "../chunk/VSe_Wq1g.js";
|
|
4
|
-
import { P as f } from "../chunk/
|
|
4
|
+
import { P as f } from "../chunk/Bj4EV0eG.js";
|
|
5
5
|
import { m as l } from "../chunk/JPPo5nY_.js";
|
|
6
6
|
function S({ prefixCls: s, maxCount: r, count: e, className: n, style: o }) {
|
|
7
7
|
const [i, m] = d(!1), a = p(e), u = e !== a;
|