@unicom-cloud/ui 0.8.71 → 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/{C5X9bDyX.js → 7HDzVe32.js} +7 -7
- package/chunk/{BlElSWJg.js → B0UZ1Ee2.js} +3 -3
- package/chunk/{b1e8awfs.js → B0n0iRhF.js} +1 -1
- package/chunk/{BzPNDYAX.js → B7hulkj9.js} +2 -2
- package/chunk/Bj4EV0eG.js +27 -0
- package/chunk/{Bfq4YEcr.js → Bmvhjhzq.js} +9 -8
- package/chunk/Byd0ztYY.js +724 -0
- 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/{8V534cS3.js → D2LLXZQX.js} +5 -7
- package/chunk/DAAff-FT.js +59 -0
- package/chunk/{CQTxhsUk.js → DJDOFlqC.js} +2 -2
- package/chunk/DU1RCDfh.js +29 -0
- package/chunk/{CdaT1b_F.js → DeV0v__J.js} +2 -2
- package/chunk/{I1dqAgn_.js → DejjIa3N.js} +176 -173
- package/chunk/{C6AJxF7d.js → Dg0M2OmF.js} +125 -125
- package/chunk/{DV7ywe_q.js → RS6OAxzv.js} +2 -2
- package/chunk/{CUs1AOCZ.js → UDX9U6M7.js} +3 -3
- package/chunk/{Biupwn8l.js → ZrBrCzQX.js} +6 -5
- package/chunk/{pEI3aB9Z.js → oHDWCJnz.js} +3 -3
- package/chunk/{D2DSUGNT.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/CZWGeRVA.js +0 -715
- package/chunk/CbLaCJmG.js +0 -26
- package/chunk/D-TPB2Do.js +0 -56
- package/chunk/Dm1NCTkX.js +0 -629
- package/chunk/EHx6bIK_.js +0 -98
- package/types/utils/CSSTransition.d.ts +0 -2
- package/utils/CSSTransition.js +0 -4
package/switch/index.js
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { jsxs as l, jsx as
|
|
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
|
|
3
|
+
import { h as A } from "../chunk/Cj2SQJiO.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/Byd0ztYY.js";
|
|
7
7
|
import { u as U } from "../chunk/BFTV6myl.js";
|
|
8
|
+
import { P as x } from "../chunk/Bj4EV0eG.js";
|
|
8
9
|
import { m as W } from "../chunk/JPPo5nY_.js";
|
|
9
|
-
import "../chunk/
|
|
10
|
+
import "../chunk/DAAff-FT.js";
|
|
10
11
|
import { o as D } from "../chunk/BKKEev13.js";
|
|
12
|
+
import "../chunk/C0pRaDCf.js";
|
|
11
13
|
import G from "lodash/isPlainObject.js";
|
|
12
14
|
const J = {
|
|
13
15
|
type: "circle"
|
|
@@ -33,15 +35,15 @@ function K(S, $) {
|
|
|
33
35
|
type: h,
|
|
34
36
|
checkedText: v,
|
|
35
37
|
uncheckedText: z,
|
|
36
|
-
checkedIcon:
|
|
37
|
-
uncheckedIcon:
|
|
38
|
+
checkedIcon: p,
|
|
39
|
+
uncheckedIcon: k,
|
|
38
40
|
...T
|
|
39
41
|
} = i, e = y("switch"), f = I || N, [j, _] = O(
|
|
40
42
|
i.value ?? // 潘启宝添加,接收 FormItem 里传来的数据
|
|
41
43
|
i.defaultChecked
|
|
42
|
-
), c = "checked" in i ? i.checked : j, E = (
|
|
44
|
+
), c = "checked" in i ? i.checked : j, E = (r) => {
|
|
43
45
|
var u;
|
|
44
|
-
d || ((u = i.onClick) == null || u.call(i,
|
|
46
|
+
d || ((u = i.onClick) == null || u.call(i, r), "checked" in i || _(!c), m == null || m(!c, r));
|
|
45
47
|
}, F = W(
|
|
46
48
|
e,
|
|
47
49
|
f === "small" ? `${e}-${f}` : void 0,
|
|
@@ -55,9 +57,9 @@ function K(S, $) {
|
|
|
55
57
|
);
|
|
56
58
|
let o = v, s = z;
|
|
57
59
|
t && B(t) ? (o = t.find(
|
|
58
|
-
(
|
|
60
|
+
(r) => r.key === "open"
|
|
59
61
|
), s = t.find(
|
|
60
|
-
(
|
|
62
|
+
(r) => r.key === "close"
|
|
61
63
|
)) : t && G(t) && (t.key === "open" ? o = t : t.key === "close" && (s = t));
|
|
62
64
|
const H = D(T, ["onChange", "checked", "error"]);
|
|
63
65
|
return /* @__PURE__ */ l(
|
|
@@ -75,23 +77,23 @@ function K(S, $) {
|
|
|
75
77
|
type: "button",
|
|
76
78
|
children: [
|
|
77
79
|
/* @__PURE__ */ l("div", { className: `${e}-dot`, children: [
|
|
78
|
-
!d && (
|
|
80
|
+
!d && (p || k) && /* @__PURE__ */ n(A, { children: /* @__PURE__ */ n(
|
|
79
81
|
x,
|
|
80
82
|
{
|
|
81
83
|
classNames: "fadeIn",
|
|
82
84
|
timeout: 200,
|
|
83
|
-
children: /* @__PURE__ */
|
|
85
|
+
children: /* @__PURE__ */ n("span", { className: `${e}-dot-icon`, children: c ? p : k })
|
|
84
86
|
},
|
|
85
87
|
c ? "checked" : "unchecked"
|
|
86
88
|
) }),
|
|
87
|
-
d && /* @__PURE__ */
|
|
89
|
+
d && /* @__PURE__ */ n("span", { className: `${e}-dot-icon`, children: /* @__PURE__ */ n(q, {}) })
|
|
88
90
|
] }),
|
|
89
91
|
f !== "small" && h !== "line" && (o || s) && /* @__PURE__ */ l(R, { children: [
|
|
90
92
|
/* @__PURE__ */ l("div", { className: `${e}-text-holder`, children: [
|
|
91
93
|
o && c && o,
|
|
92
94
|
s && !c && s
|
|
93
95
|
] }),
|
|
94
|
-
/* @__PURE__ */
|
|
96
|
+
/* @__PURE__ */ n(
|
|
95
97
|
x,
|
|
96
98
|
{
|
|
97
99
|
in: c,
|
package/table/Table.js
CHANGED
|
@@ -6,7 +6,7 @@ import "lodash/isNumber";
|
|
|
6
6
|
import "lodash/isPlainObject";
|
|
7
7
|
import "lodash/throttle";
|
|
8
8
|
import "react";
|
|
9
|
-
import "../chunk/
|
|
9
|
+
import "../chunk/Byd0ztYY.js";
|
|
10
10
|
import "../chunk/B2yFlXke.js";
|
|
11
11
|
import "../chunk/BFTV6myl.js";
|
|
12
12
|
import "../chunk/a3hR6zLw.js";
|
|
@@ -17,7 +17,7 @@ import "../utils/dom.js";
|
|
|
17
17
|
import "../chunk/ClqoGc3r.js";
|
|
18
18
|
import "../chunk/CIRG541s.js";
|
|
19
19
|
import "./ColGroup.js";
|
|
20
|
-
import { T as q } from "../chunk/
|
|
20
|
+
import { T as q } from "../chunk/Dg0M2OmF.js";
|
|
21
21
|
import "./util.js";
|
|
22
22
|
export {
|
|
23
23
|
q as default
|
package/table/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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/Dg0M2OmF.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/Dg0M2OmF.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/
|
|
7
|
+
import { a as E } from "../chunk/Byd0ztYY.js";
|
|
8
8
|
import { m as P } from "../chunk/JPPo5nY_.js";
|
|
9
9
|
import { on as M, off as N } from "../utils/dom.js";
|
|
10
10
|
import { o as q } from "../chunk/BKKEev13.js";
|
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/Byd0ztYY.js";
|
|
6
6
|
import "../chunk/B4YRLi8r.js";
|
|
7
7
|
import "../chunk/BFTV6myl.js";
|
|
8
|
-
import "../chunk/
|
|
8
|
+
import "../chunk/DeV0v__J.js";
|
|
9
9
|
import "../chunk/JPPo5nY_.js";
|
|
10
10
|
import "../chunk/BKKEev13.js";
|
|
11
|
-
import { a as d, T as l } from "../chunk/
|
|
11
|
+
import { a as d, T as l } from "../chunk/oHDWCJnz.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/
|
|
3
|
+
import "../chunk/Byd0ztYY.js";
|
|
4
4
|
import "../chunk/JPPo5nY_.js";
|
|
5
|
-
import { b as a } from "../chunk/
|
|
5
|
+
import { b as a } from "../chunk/oHDWCJnz.js";
|
|
6
6
|
export {
|
|
7
7
|
a as default
|
|
8
8
|
};
|
package/tabs/TabPane.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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/
|
|
3
|
+
import { a as x } from "../chunk/Byd0ztYY.js";
|
|
4
4
|
import { m as C } from "../chunk/JPPo5nY_.js";
|
|
5
5
|
import { o as P } from "../chunk/BKKEev13.js";
|
|
6
6
|
function R(r, a) {
|
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/oHDWCJnz.js";
|
|
2
|
+
import { a as s } from "../chunk/oHDWCJnz.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,7 +3,7 @@ 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/Byd0ztYY.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";
|
package/time-picker/Picker.js
CHANGED
|
@@ -3,7 +3,7 @@ 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/Byd0ztYY.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";
|
|
@@ -1,7 +1,7 @@
|
|
|
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/
|
|
4
|
+
import { a as he } from "../chunk/Byd0ztYY.js";
|
|
5
5
|
import { m as xe } from "../chunk/JPPo5nY_.js";
|
|
6
6
|
import { g as $e, a as Y, d as $, j as Z } from "../chunk/tamGhTJp.js";
|
|
7
7
|
import { padStart as d } from "../utils/pad.js";
|
package/timeline/Item.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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/Byd0ztYY.js";
|
|
4
4
|
import { u as j } from "../chunk/BFTV6myl.js";
|
|
5
5
|
import { m as h } from "../chunk/JPPo5nY_.js";
|
|
6
6
|
const D = {
|
package/timeline/Timeline.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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/Byd0ztYY.js";
|
|
4
4
|
import { u as z } from "../chunk/BFTV6myl.js";
|
|
5
5
|
import j from "../spin/index.js";
|
|
6
6
|
import { m as y } from "../chunk/JPPo5nY_.js";
|
package/tooltip/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { a as I } from "../chunk/CCVU-Kst.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/Byd0ztYY.js";
|
|
6
6
|
import { u as J } from "../chunk/BFTV6myl.js";
|
|
7
7
|
import K, { EventsByTriggerNeed as Q } from "../trigger/index.js";
|
|
8
8
|
import { m as b } from "../chunk/JPPo5nY_.js";
|
|
9
|
-
import {
|
|
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 = {
|
|
12
12
|
position: "top",
|
package/transfer/Item.js
CHANGED
|
@@ -2,9 +2,9 @@ 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/B7hulkj9.js";
|
|
6
6
|
import { u as z } from "../chunk/XTEsYGuF.js";
|
|
7
|
-
import { I as A } from "../chunk/
|
|
7
|
+
import { I as A } from "../chunk/Byd0ztYY.js";
|
|
8
8
|
import { m as G } from "../chunk/JPPo5nY_.js";
|
|
9
9
|
function te(w) {
|
|
10
10
|
const {
|
package/transfer/List.js
CHANGED
|
@@ -4,8 +4,8 @@ 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/B7hulkj9.js";
|
|
8
|
+
import { a as he, I as pe } from "../chunk/Byd0ztYY.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";
|
package/transfer/index.js
CHANGED
|
@@ -4,9 +4,9 @@ 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/Byd0ztYY.js";
|
|
8
8
|
import { u as ae } from "../chunk/BFTV6myl.js";
|
|
9
|
-
import { u as L } from "../chunk/
|
|
9
|
+
import { u as L } from "../chunk/DeV0v__J.js";
|
|
10
10
|
import { m as R } from "../chunk/JPPo5nY_.js";
|
|
11
11
|
import { a as oe } from "../chunk/ClqoGc3r.js";
|
|
12
12
|
import le from "./List.js";
|
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/Byd0ztYY.js";
|
|
5
|
+
import "../chunk/Bj4EV0eG.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/D2LLXZQX.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/
|
|
8
|
+
import "../chunk/B7hulkj9.js";
|
|
9
|
+
import "../chunk/Byd0ztYY.js";
|
|
10
10
|
import "../chunk/JPPo5nY_.js";
|
|
11
11
|
import "../utils/throttleByRaf.js";
|
|
12
|
-
import { N } from "../chunk/
|
|
12
|
+
import { N } from "../chunk/D2LLXZQX.js";
|
|
13
13
|
import "./Context.js";
|
|
14
14
|
export {
|
|
15
15
|
N as default
|
package/tree/NodeList.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
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
|
-
import { s as b } from "../chunk/
|
|
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/D2LLXZQX.js";
|
|
6
6
|
function H(s) {
|
|
7
7
|
return s.key || s._key;
|
|
8
8
|
}
|
package/tree/Tree.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as ce } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as Oe, useContext as Se, useRef as O, useState as ve, useImperativeHandle as Te, useEffect as F, createElement as Ae } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { S as Ie } from "../chunk/C0pRaDCf.js";
|
|
4
4
|
import b from "lodash/get";
|
|
5
5
|
import z from "lodash/has";
|
|
6
6
|
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/
|
|
10
|
+
import { a as $e } from "../chunk/Byd0ztYY.js";
|
|
11
11
|
import { m as se } from "../chunk/JPPo5nY_.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/D2LLXZQX.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
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { jsx as D } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { g as be, y as ye, S as Ce } from "../chunk/C0pRaDCf.js";
|
|
3
3
|
import ke from "lodash/debounce";
|
|
4
|
-
import
|
|
4
|
+
import q from "lodash/isArray";
|
|
5
5
|
import R from "lodash/isFunction";
|
|
6
6
|
import Se from "lodash/isNil";
|
|
7
|
-
import { useContext as ce, useRef as P, useState as
|
|
8
|
-
import { a as se } from "../chunk/
|
|
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/Byd0ztYY.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";
|
|
12
|
-
import { u as ne } from "../chunk/
|
|
12
|
+
import { u as ne } from "../chunk/DeV0v__J.js";
|
|
13
13
|
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 { m as
|
|
18
|
-
import "../chunk/
|
|
17
|
+
import { m as z } from "../chunk/JPPo5nY_.js";
|
|
18
|
+
import "../chunk/DAAff-FT.js";
|
|
19
19
|
import we from "./List.js";
|
|
20
20
|
import v from "lodash/get";
|
|
21
21
|
import { u as Le } from "../chunk/CQ_WOOmf.js";
|
|
22
|
-
import { u as
|
|
22
|
+
import { u as G } from "../chunk/a3hR6zLw.js";
|
|
23
23
|
import { DefaultFieldNames as ue } from "./interface.js";
|
|
24
24
|
import le from "lodash/isEqualWith";
|
|
25
25
|
import Ne from "lodash/isPlainObject";
|
|
@@ -49,7 +49,7 @@ const ie = (r, u, o) => {
|
|
|
49
49
|
_level: c._level || 0,
|
|
50
50
|
_index: f++
|
|
51
51
|
};
|
|
52
|
-
return p === y + 1 && (s.className =
|
|
52
|
+
return p === y + 1 && (s.className = z(
|
|
53
53
|
`${u}-node-is-tail`,
|
|
54
54
|
s.className
|
|
55
55
|
)), a[m] = s, g && g.length && (a[m].children = i(g, {
|
|
@@ -67,15 +67,15 @@ const ie = (r, u, o) => {
|
|
|
67
67
|
}, f = Le(), i = o("tree"), e = P(
|
|
68
68
|
ie(r, i, a)
|
|
69
69
|
);
|
|
70
|
-
return
|
|
70
|
+
return G(() => {
|
|
71
71
|
e.current = ie(r, i, a), f();
|
|
72
72
|
}, [r]), e.current;
|
|
73
|
-
}, x = (r, u, o) => r == null ? [] : (
|
|
73
|
+
}, x = (r, u, o) => r == null ? [] : (q(r) ? r : [r]).map((f) => {
|
|
74
74
|
let i = Ne(f) ? { ...f } : { value: f, label: void 0 };
|
|
75
75
|
const e = u[i.value];
|
|
76
76
|
if (e)
|
|
77
77
|
i.label = i.label || e.title, i.disabled = e.disabled;
|
|
78
|
-
else if (
|
|
78
|
+
else if (q(o)) {
|
|
79
79
|
const c = o.find((p) => p.value === i.value);
|
|
80
80
|
i = {
|
|
81
81
|
...i,
|
|
@@ -119,10 +119,10 @@ const ie = (r, u, o) => {
|
|
|
119
119
|
);
|
|
120
120
|
}
|
|
121
121
|
return x(n, u);
|
|
122
|
-
}, [i, e] =
|
|
122
|
+
}, [i, e] = J(f), c = (n) => {
|
|
123
123
|
a.current = n, e(n);
|
|
124
124
|
};
|
|
125
|
-
|
|
125
|
+
G(() => {
|
|
126
126
|
const n = f();
|
|
127
127
|
"value" in r && (r.labelInValue ? le(
|
|
128
128
|
W(i),
|
|
@@ -153,8 +153,8 @@ const ie = (r, u, o) => {
|
|
|
153
153
|
return [i, p];
|
|
154
154
|
};
|
|
155
155
|
function $e(r) {
|
|
156
|
-
const u = Fe(r) || {}, o = () => r.treeData || He(r.children), [a, f] =
|
|
157
|
-
return
|
|
156
|
+
const u = Fe(r) || {}, o = () => r.treeData || He(r.children), [a, f] = J(o());
|
|
157
|
+
return G(() => {
|
|
158
158
|
(r.treeData !== u.treeData || r.children !== u.children) && f(o());
|
|
159
159
|
}, [r]), [a];
|
|
160
160
|
}
|
|
@@ -167,7 +167,7 @@ const Me = {
|
|
|
167
167
|
r,
|
|
168
168
|
Me,
|
|
169
169
|
f == null ? void 0 : f.TreeSelect
|
|
170
|
-
), c = Ke(), p = P(), n = P(null), y = P(null), g = P([]), [m] = $e(e), s = We(m, e.fieldNames), [I, _] =
|
|
170
|
+
), c = Ke(), p = P(), n = P(null), y = P(null), g = P([]), [m] = $e(e), s = We(m, e.fieldNames), [I, _] = J(), [K, ae] = ne(!1, {
|
|
171
171
|
value: e.popupVisible
|
|
172
172
|
}), [b, fe] = ne(
|
|
173
173
|
void 0,
|
|
@@ -246,7 +246,7 @@ const Me = {
|
|
|
246
246
|
re(() => {
|
|
247
247
|
b !== void 0 && de(b), b !== L.current && (L.current = b);
|
|
248
248
|
}, [b]);
|
|
249
|
-
const
|
|
249
|
+
const B = ve(() => {
|
|
250
250
|
let t = [];
|
|
251
251
|
if (b)
|
|
252
252
|
for (const l in s) {
|
|
@@ -273,8 +273,8 @@ const Me = {
|
|
|
273
273
|
}
|
|
274
274
|
}));
|
|
275
275
|
const he = T(
|
|
276
|
-
(t) => M ?
|
|
277
|
-
[M,
|
|
276
|
+
(t) => M ? B.indexOf(t._key) > -1 : !0,
|
|
277
|
+
[M, B]
|
|
278
278
|
), pe = T(
|
|
279
279
|
(t) => {
|
|
280
280
|
const { disabled: l, value: d } = t || {};
|
|
@@ -300,13 +300,13 @@ const Me = {
|
|
|
300
300
|
popupAlign: Ue,
|
|
301
301
|
unmountOnExit: e.unmountOnExit,
|
|
302
302
|
...e.triggerProps,
|
|
303
|
-
className:
|
|
303
|
+
className: z(
|
|
304
304
|
`${O}-trigger`,
|
|
305
305
|
e.triggerProps && e.triggerProps.className
|
|
306
306
|
),
|
|
307
307
|
popup: () => {
|
|
308
308
|
var h, k, S;
|
|
309
|
-
const l = e.dropdownRender, d = M && j(
|
|
309
|
+
const l = e.dropdownRender, d = M && j(B) || j(m) ? e.notFoundContent || (a == null ? void 0 : a("TreeSelect")) : /* @__PURE__ */ D(
|
|
310
310
|
we,
|
|
311
311
|
{
|
|
312
312
|
prefixCls: O,
|
|
@@ -324,7 +324,7 @@ const Me = {
|
|
|
324
324
|
"div",
|
|
325
325
|
{
|
|
326
326
|
id: X,
|
|
327
|
-
className:
|
|
327
|
+
className: z(`${O}-popup`, {
|
|
328
328
|
[`${O}-rtl-popup`]: i
|
|
329
329
|
}),
|
|
330
330
|
style: {
|
|
@@ -357,7 +357,7 @@ const Me = {
|
|
|
357
357
|
ariaControls: X,
|
|
358
358
|
...e,
|
|
359
359
|
popupVisible: K,
|
|
360
|
-
value: !H &&
|
|
360
|
+
value: !H && q(C) ? C[0] : C,
|
|
361
361
|
inputValue: b,
|
|
362
362
|
isEmptyValue: j(C),
|
|
363
363
|
prefixCls: O,
|
|
@@ -382,7 +382,7 @@ const Me = {
|
|
|
382
382
|
renderView: ee
|
|
383
383
|
}
|
|
384
384
|
) : ee(te);
|
|
385
|
-
},
|
|
385
|
+
}, Be = Ve(je), w = Be;
|
|
386
386
|
w.displayName = "TreeSelect";
|
|
387
387
|
w.Node = V.Node;
|
|
388
388
|
w.SHOW_ALL = V.SHOW_ALL;
|
package/trigger/getPopupStyle.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isServerRendering as C } from "../utils/dom.js";
|
|
2
|
-
import "../chunk/
|
|
3
|
-
import "../chunk/
|
|
2
|
+
import "../chunk/DAAff-FT.js";
|
|
3
|
+
import "../chunk/C0pRaDCf.js";
|
|
4
4
|
import X from "lodash/isArray.js";
|
|
5
5
|
const L = 0, v = (n, o) => {
|
|
6
6
|
const { position: i } = o, { width: c, height: p, left: g, right: m, top: M, bottom: N } = n.getBoundingClientRect(), t = o.boundaryDistance || {}, k = "left" in t && t.left || L, r = "top" in t && t.top || L;
|
package/trigger/index.js
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
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/Cj2SQJiO.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/
|
|
7
|
+
import { a as yt } from "../chunk/Byd0ztYY.js";
|
|
8
8
|
import { m as te } from "../chunk/JPPo5nY_.js";
|
|
9
9
|
import { on as oe, off as ne, getScrollElements as Tt, isScrollElement as Ct, contains as Le } from "../utils/dom.js";
|
|
10
|
-
import { s as ht } from "../chunk/
|
|
10
|
+
import { s as ht } from "../chunk/DAAff-FT.js";
|
|
11
11
|
import { o as Be } from "../chunk/BrOW642m.js";
|
|
12
12
|
import { m as Et } from "../chunk/DH7HTOV_.js";
|
|
13
13
|
import { a as Dt } from "../chunk/ClqoGc3r.js";
|
|
14
|
-
import { c as wt, f as Pt } from "../chunk/
|
|
14
|
+
import { c as wt, f as Pt } from "../chunk/Cc_-i0o_.js";
|
|
15
15
|
import { r as re } from "../chunk/CIRG541s.js";
|
|
16
16
|
import Ve from "../utils/throttleByRaf.js";
|
|
17
17
|
import xt, { getBoundingClientRect as Mt } from "./getPopupStyle.js";
|
|
18
|
+
import "../chunk/C0pRaDCf.js";
|
|
18
19
|
import ie from "lodash/isPlainObject.js";
|
|
19
20
|
function St(d, I) {
|
|
20
21
|
if (!d)
|
|
@@ -27,7 +28,7 @@ function St(d, I) {
|
|
|
27
28
|
right: Y
|
|
28
29
|
};
|
|
29
30
|
}
|
|
30
|
-
const
|
|
31
|
+
const qt = [
|
|
31
32
|
"onClick",
|
|
32
33
|
"onMouseEnter",
|
|
33
34
|
"onMouseLeave",
|
|
@@ -621,6 +622,6 @@ function $t(d, I) {
|
|
|
621
622
|
const Nt = lt($t);
|
|
622
623
|
Nt.displayName = "Trigger";
|
|
623
624
|
export {
|
|
624
|
-
|
|
625
|
+
qt as EventsByTriggerNeed,
|
|
625
626
|
Nt as default
|
|
626
627
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const colors: FlatArray<boolean | string[], 0 | 1 |
|
|
1
|
+
export declare const colors: FlatArray<boolean | 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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Dayjs } from 'dayjs';
|
|
2
2
|
export declare function isTimeArrayChange(prevTime: Dayjs[], nextTime: Dayjs[]): boolean;
|
|
3
|
-
export declare function getAvailableDayjsLength(value: any):
|
|
3
|
+
export declare function getAvailableDayjsLength(value: any): 0 | 1 | 2;
|
|
4
4
|
export declare function isDisabledDate(cellDate: any, disabledDate: any, mode: any): boolean;
|
|
5
5
|
type WeekStartType = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
6
6
|
export declare function getDefaultWeekStart(dayjsLocale: string): WeekStartType;
|
|
@@ -14,7 +14,17 @@ export interface DrawerProps {
|
|
|
14
14
|
okText?: ReactNode;
|
|
15
15
|
cancelText?: ReactNode;
|
|
16
16
|
okButtonProps?: ButtonProps;
|
|
17
|
+
okButton?: {
|
|
18
|
+
visible?: boolean;
|
|
19
|
+
text?: string;
|
|
20
|
+
props?: ButtonProps;
|
|
21
|
+
};
|
|
17
22
|
cancelButtonProps?: ButtonProps;
|
|
23
|
+
cancelButton?: {
|
|
24
|
+
visible?: boolean;
|
|
25
|
+
text?: string;
|
|
26
|
+
props?: ButtonProps;
|
|
27
|
+
};
|
|
18
28
|
placement?: 'top' | 'right' | 'bottom' | 'left';
|
|
19
29
|
width?: string | number;
|
|
20
30
|
height?: string | number;
|
package/types/index.d.ts
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
export * from './hooks';
|
|
2
2
|
export * from './utils';
|
|
3
|
-
export { compute, default as computeScrollIntoView, } from '@unicom-cloud/compute-scroll-into-view';
|
|
4
|
-
export { CSSTransition, ReplaceTransition, SwitchTransition, Transition, TransitionGroup, } from '@unicom-cloud/react-transition-group';
|
|
5
|
-
export { default as scrollIntoView, default as scrollIntoViewIfNeeded, } from '@unicom-cloud/scroll-into-view-if-needed';
|
|
6
|
-
export { compareColorByRange, convertDecimalToHex, convertHexToDecimal, hslToRgb, hsvToRgb, numberInputToObject, parseIntFromHex, rgbaToArgbHex, rgbaToHex, rgbToHex, rgbToHsl, rgbToHsv, rgbToRgb, default as TinyColor, } from '@unicom-cloud/tinycolor';
|
|
7
|
-
export { easing, default as tween } from '@unicom-cloud/tween';
|
|
8
|
-
export { DefaultValidateMessage, Schema, default as validate, } from '@unicom-cloud/validate';
|
|
9
|
-
export { v4 as uuid, v4 as uuidv4 } from 'uuid';
|
|
10
3
|
export { default as Affix } from './affix';
|
|
11
4
|
export { default as Alert } from './alert';
|
|
12
5
|
export { default as Anchor } from './anchor';
|
package/types/modal/Confirm.d.ts
CHANGED
|
@@ -10,5 +10,6 @@ export declare const normalizeConfig: (_config: ConfirmProps) => ConfirmProps;
|
|
|
10
10
|
declare function confirm(config: ConfirmProps, renderFunc?: (props: ConfirmProps) => void): {
|
|
11
11
|
close: () => void;
|
|
12
12
|
update: (newConfig: ConfirmProps) => void;
|
|
13
|
+
destroy: () => void;
|
|
13
14
|
};
|
|
14
15
|
export default confirm;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { colorPresets, colors, default, generate, generateDark, getRgbArrayString, grayPresets, LENGTH, palette, paletteDark, default as uiColor, } from '@unicom-cloud/utils/ui/color';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { compute, default as computeScrollIntoView, default, } from '@unicom-cloud/compute-scroll-into-view';
|