@unicom-cloud/ui 0.8.72 → 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 +3 -3
- package/Alert.js +3 -3
- package/AutoComplete.js +3 -3
- package/BackTop.js +4 -4
- package/Badge.js +3 -3
- package/Breadcrumb.js +4 -4
- 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 +5 -5
- 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 +3 -3
- package/Mentions.js +3 -3
- package/Menu.js +1 -1
- package/Message.js +7 -6
- package/Modal.js +1 -1
- package/Notice.js +5 -5
- package/Notification.js +8 -7
- package/OverflowEllipsis.js +2 -2
- package/PageHeader.js +2 -2
- package/Popconfirm.js +3 -3
- package/Popover.js +3 -3
- package/Progress.js +2 -2
- package/Radio.js +1 -1
- package/Rate.js +3 -3
- package/ResizeBox.js +3 -3
- package/Result.js +2 -2
- package/SelectView.js +5 -4
- package/Skeleton.js +2 -2
- package/Slider.js +4 -4
- package/Space.js +2 -2
- package/SpeechSynthesis.js +21 -21
- package/Spin.js +3 -3
- package/Statistic.js +3 -3
- package/Steps.js +2 -2
- package/Switch.js +8 -6
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +2 -2
- package/Tooltip.js +4 -4
- package/Transfer.js +3 -3
- package/Tree.js +1 -1
- package/Trigger.js +9 -8
- package/affix/index.js +3 -3
- package/alert/index.js +9 -9
- package/anchor/Anchor.js +62 -59
- package/anchor/Link.js +2 -2
- package/anchor/util.js +2 -2
- package/auto-complete/index.js +3 -3
- 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 +52 -50
- package/breadcrumb/Item.js +6 -6
- package/breadcrumb/index.js +4 -4
- 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 +5 -5
- package/cascader/index.js +1 -1
- package/cascader/util.js +1 -1
- package/checkbox/Checkbox.js +4 -4
- package/checkbox/Group.js +4 -4
- package/checkbox/index.js +1 -1
- package/chunk/{6nKl68Er.js → 9we0Q8Kh.js} +4 -4
- package/chunk/{b1e8awfs.js → B0n0iRhF.js} +1 -1
- package/chunk/{Cf4qn5jY.js → BDZpJpz-.js} +3 -3
- package/chunk/BFmckYou.js +25 -0
- package/chunk/{fFjj2KuF.js → BJ9_azwQ.js} +493 -515
- package/chunk/{BnWo0OJ0.js → Bd9zhOZS.js} +9 -9
- package/chunk/{uKZyjtff.js → BhBEMwvI.js} +21 -20
- package/chunk/{Bfq4YEcr.js → Bmvhjhzq.js} +9 -8
- package/chunk/{CdAuhef7.js → BoUHPeG7.js} +2 -2
- package/chunk/BpYX5PN4.js +27 -0
- package/chunk/{CP7Ac47f.js → Bu8A2l60.js} +4 -4
- package/chunk/{URXCKjXr.js → C0pRaDCf.js} +23 -23
- package/chunk/CUFsOxJ2.js +10 -0
- package/chunk/CWjvjpyc.js +873 -0
- package/chunk/{ClaNycDy.js → Cc_-i0o_.js} +2 -2
- package/chunk/Coz3rCng.js +33 -0
- package/chunk/{BHL-PzAD.js → CplLA01W.js} +17 -17
- package/chunk/{Cgbja_v_.js → Crs3isAx.js} +14 -13
- package/chunk/{Ey4YJCkX.js → D0Dlbc2g.js} +2 -1
- package/chunk/{y9unmTx_.js → D5UfU6-H.js} +127 -127
- package/chunk/DAAff-FT.js +59 -0
- package/chunk/{rp1MtSd0.js → DJ8rDYjb.js} +4 -4
- package/chunk/{AwZqeapI.js → DRTWRsgI.js} +1 -1
- package/chunk/DU1RCDfh.js +29 -0
- package/chunk/{CAVVFFyZ.js → DdT3C0ih.js} +6 -8
- package/chunk/{CdaT1b_F.js → DeV0v__J.js} +2 -2
- package/chunk/{IUjEMHU1.js → Dn7KbmZ7.js} +194 -191
- package/chunk/{DpoumMDw.js → DohlrJ4S.js} +1 -1
- package/chunk/{BDHuWwhT.js → NmSLBKjp.js} +3 -3
- package/chunk/{DV7ywe_q.js → RS6OAxzv.js} +2 -2
- package/chunk/{Biupwn8l.js → ZrBrCzQX.js} +6 -5
- package/chunk/_L2dKF58.js +647 -0
- package/chunk/{BJ1soa2K.js → uEGHykhe.js} +18 -18
- package/chunk/{D090jlwP.js → xAb6ZgqS.js} +1 -1
- package/collapse/Collapse.js +4 -4
- 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 +8 -8
- package/color-picker/InputRgb.js +6 -6
- package/color-picker/Palette.js +2 -2
- package/color-picker/Panel.js +17 -17
- package/color-picker/colors.js +20 -9
- package/color-picker/index.js +21 -21
- 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 +3 -3
- package/divider/index.js +5 -5
- package/draggable/Item.js +1 -1
- package/draggable/index.js +9 -9
- package/drawer/Drawer.js +122 -112
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +5 -5
- package/empty/index.js +2 -2
- package/form/Control.js +1 -1
- package/form/Form.js +3 -3
- package/form/FormItem.js +3 -3
- package/form/FormLabel.js +9 -9
- package/form/promisify.js +9 -8
- package/form/store.js +1 -1
- package/form/util.js +1 -1
- package/grid/Col.js +2 -2
- package/grid/Row.js +3 -3
- package/grid/grid-item.js +3 -3
- package/grid/grid.js +9 -9
- 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 +11 -11
- package/icon-hover/index.js +2 -2
- package/image/Image.js +6 -6
- package/image/ImageFooter.js +2 -2
- package/image/ImagePreview.js +10 -10
- package/image/ImagePreviewArrow.js +4 -4
- package/image/ImagePreviewGroup.js +2 -2
- package/image/ImagePreviewToolbar.js +1 -1
- package/image/TriggerForToolbar.js +4 -4
- package/image/index.js +1 -1
- package/index.js +585 -575
- package/input/Group.js +4 -4
- package/input/Input.js +5 -4
- package/input/InputElement.js +4 -4
- package/input/Password.js +3 -3
- package/input/Search.js +3 -3
- package/input/Textarea.js +7 -6
- package/input-number/index.js +2 -2
- package/input-tag/InputTag.js +53 -51
- package/layout/Content.js +2 -2
- package/layout/Footer.js +5 -5
- package/layout/Header.js +4 -4
- package/layout/Sider.js +4 -4
- 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 +3 -3
- package/locale/en-US.js +1 -1
- package/locale/tr-TR.js +1 -1
- package/mentions/index.js +3 -3
- package/menu/Item.js +6 -6
- package/menu/ItemGroup.js +1 -1
- package/menu/Menu.js +4 -4
- package/menu/OverflowWrap.js +2 -2
- package/menu/index.js +2 -2
- package/message/index.js +7 -6
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +9 -8
- package/modal/index.js +1 -1
- package/notice/index.js +5 -5
- package/notification/index.js +8 -7
- 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 +24 -24
- package/picker/Input.js +7 -7
- package/picker/InputRange.js +9 -9
- package/popconfirm/index.js +3 -3
- package/popover/index.js +3 -3
- 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 +4 -4
- package/radio/Radio.js +4 -4
- package/radio/index.js +2 -2
- package/rate/index.js +27 -27
- package/resize-box/ResizeTrigger.js +26 -25
- package/resize-box/Split.js +12 -12
- package/resize-box/SplitGroup.js +2 -2
- package/resize-box/index.js +3 -3
- package/result/index.js +9 -9
- package/select/Option.js +2 -2
- package/select/Select.js +6 -5
- package/select/util.js +12 -12
- package/select-view/Core.js +29 -29
- package/select-view/index.js +3 -2
- package/skeleton/Image.js +4 -4
- package/skeleton/Text.js +7 -7
- package/skeleton/index.js +2 -2
- package/slider/Button.js +3 -3
- package/slider/Dot.js +5 -5
- package/slider/Input.js +12 -12
- package/slider/Tick.js +7 -7
- package/slider/index.js +20 -20
- package/slider/util.js +8 -8
- package/space/index.js +12 -12
- package/speech-synthesis/index.js +21 -21
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +3 -3
- package/statistic/Countdown.js +7 -7
- package/statistic/index.js +20 -20
- package/steps/Step.js +1 -1
- package/steps/index.js +2 -2
- package/style/variables.less +1 -1
- package/style.css +1 -1
- package/switch/index.js +17 -15
- package/table/Table.js +4 -4
- package/table/index.js +4 -4
- package/tabs/Tab.js +4 -4
- 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 +4 -4
- package/transfer/Item.js +3 -3
- package/transfer/List.js +3 -3
- package/transfer/index.js +3 -3
- package/tree/Animation.js +3 -3
- package/tree/Node.js +4 -4
- package/tree/NodeList.js +2 -2
- package/tree/Tree.js +4 -4
- package/tree/index.js +1 -1
- package/tree-select/Select.js +25 -25
- package/trigger/getPopupStyle.js +2 -2
- package/trigger/index.js +8 -7
- 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 +7 -6
- package/typography/EditContent.js +1 -1
- package/typography/Ellipsis.js +28 -28
- package/typography/Paragraph.js +6 -6
- package/typography/Typography.js +5 -5
- package/typography/index.js +28 -28
- package/upload/TriggerNode.js +2 -2
- package/upload/Upload.js +62 -60
- 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/utils/color.js +4 -0
- 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 +299 -256
- 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 +7 -7
- package/version/index.js +3 -3
- package/virtual-list/VirtualList.js +1 -1
- package/watermark/Watermark.js +6 -6
- package/chunk/B4JiMp8I.js +0 -764
- package/chunk/B6X4lnd0.js +0 -116
- package/chunk/BibHFOCF.js +0 -34
- package/chunk/CTxjmYmx.js +0 -19
- 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/chunk/JPPo5nY_.js +0 -9
- package/types/utils/CSSTransition.d.ts +0 -2
- package/utils/CSSTransition.js +0 -4
package/copy/index.js
CHANGED
|
@@ -2,27 +2,27 @@ import { jsx as r, jsxs as T } from "react/jsx-runtime";
|
|
|
2
2
|
import h from "@unicom-cloud/icons/IconUiCheckCircleFill";
|
|
3
3
|
import b from "@unicom-cloud/icons/IconUiCopy";
|
|
4
4
|
import { useContext as P, useState as w, useRef as E, useEffect as k } from "react";
|
|
5
|
-
import { a as v } from "../chunk/
|
|
5
|
+
import { a as v } from "../chunk/Crs3isAx.js";
|
|
6
6
|
import { u as I } from "../chunk/XTEsYGuF.js";
|
|
7
7
|
import N from "../tooltip/index.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { m as
|
|
11
|
-
function
|
|
8
|
+
import { p as $ } from "../chunk/CUFsOxJ2.js";
|
|
9
|
+
import { p as j } from "../chunk/D0Dlbc2g.js";
|
|
10
|
+
import { m as S } from "../chunk/B5RFT17G.js";
|
|
11
|
+
function U(t) {
|
|
12
12
|
var l, u;
|
|
13
|
-
const { children: c } = t,
|
|
13
|
+
const { children: c } = t, y = I(), x = P(v), { getPrefixCls: g, locale: o } = x, s = g("copy"), [e, m] = w(!1), n = E(-1), i = t.tooltips || [
|
|
14
14
|
(l = o == null ? void 0 : o.Typography) == null ? void 0 : l.copy,
|
|
15
15
|
(u = o == null ? void 0 : o.Typography) == null ? void 0 : u.copied
|
|
16
16
|
];
|
|
17
17
|
let a = null;
|
|
18
18
|
t.icon !== null && t.icon !== !1 && (a = e ? /* @__PURE__ */ r(h, {}) : t.icon || /* @__PURE__ */ r(b, {}));
|
|
19
19
|
function f(C) {
|
|
20
|
-
var
|
|
20
|
+
var d;
|
|
21
21
|
if (C.stopPropagation(), e)
|
|
22
22
|
return;
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
const p = t.text !== void 0 ? t.text : S(c);
|
|
24
|
+
j(p), m(!0), (d = t.onCopy) == null || d.call(t, p, C), n.current = window.setTimeout(() => {
|
|
25
|
+
m(!1);
|
|
26
26
|
}, 3e3);
|
|
27
27
|
}
|
|
28
28
|
return k(() => () => {
|
|
@@ -36,16 +36,16 @@ function $(t) {
|
|
|
36
36
|
children: /* @__PURE__ */ T(
|
|
37
37
|
"span",
|
|
38
38
|
{
|
|
39
|
-
className:
|
|
40
|
-
`${
|
|
41
|
-
!!e && `${
|
|
39
|
+
className: $(
|
|
40
|
+
`${s}-copy`,
|
|
41
|
+
!!e && `${s}-copied`,
|
|
42
42
|
t.className
|
|
43
43
|
),
|
|
44
44
|
role: "button",
|
|
45
45
|
"aria-label": i[0],
|
|
46
46
|
tabIndex: 0,
|
|
47
47
|
onClick: f,
|
|
48
|
-
...
|
|
48
|
+
...y({
|
|
49
49
|
onPressEnter: f
|
|
50
50
|
}),
|
|
51
51
|
children: [
|
|
@@ -57,7 +57,7 @@ function $(t) {
|
|
|
57
57
|
}
|
|
58
58
|
);
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
U.displayName = "Copy";
|
|
61
61
|
export {
|
|
62
|
-
|
|
62
|
+
U as default
|
|
63
63
|
};
|
package/date-picker/Picker.js
CHANGED
|
@@ -6,13 +6,13 @@ import Ie from "lodash/isArray";
|
|
|
6
6
|
import bo from "lodash/isPlainObject";
|
|
7
7
|
import ko from "lodash/isUndefined";
|
|
8
8
|
import jo, { forwardRef as To, useContext as Lo, useRef as ie, useImperativeHandle as No, useState as m, useEffect as Ho } from "react";
|
|
9
|
-
import { a as Mo } from "../chunk/
|
|
9
|
+
import { a as Mo } from "../chunk/Crs3isAx.js";
|
|
10
10
|
import { u as Io } from "../chunk/BFTV6myl.js";
|
|
11
11
|
import { u as Ee } from "../chunk/VSe_Wq1g.js";
|
|
12
12
|
import { u as Eo } from "../chunk/a3hR6zLw.js";
|
|
13
13
|
import Oo from "../picker/Input.js";
|
|
14
14
|
import zo from "../trigger/index.js";
|
|
15
|
-
import {
|
|
15
|
+
import { p as Fo } from "../chunk/CUFsOxJ2.js";
|
|
16
16
|
import { g as d, a as T, j as L, k as Ao, e as le, d as Oe, f as $o, m as ze } from "../chunk/tamGhTJp.js";
|
|
17
17
|
import { o as Ro } from "../chunk/BKKEev13.js";
|
|
18
18
|
import { a as Uo } from "../chunk/ClqoGc3r.js";
|
|
@@ -6,18 +6,18 @@ import "lodash/isArray";
|
|
|
6
6
|
import "lodash/isPlainObject";
|
|
7
7
|
import "lodash/isUndefined";
|
|
8
8
|
import "react";
|
|
9
|
-
import "../chunk/
|
|
9
|
+
import "../chunk/Crs3isAx.js";
|
|
10
10
|
import "../chunk/BFTV6myl.js";
|
|
11
11
|
import "../chunk/VSe_Wq1g.js";
|
|
12
12
|
import "../chunk/a3hR6zLw.js";
|
|
13
13
|
import "../picker/InputRange.js";
|
|
14
14
|
import "../trigger/index.js";
|
|
15
|
-
import "../chunk/
|
|
15
|
+
import "../chunk/CUFsOxJ2.js";
|
|
16
16
|
import "../chunk/tamGhTJp.js";
|
|
17
17
|
import "../chunk/ClqoGc3r.js";
|
|
18
18
|
import "./context.js";
|
|
19
19
|
import "../chunk/CC---6jO.js";
|
|
20
|
-
import { P as q } from "../chunk/
|
|
20
|
+
import { P as q } from "../chunk/BoUHPeG7.js";
|
|
21
21
|
import "./util.js";
|
|
22
22
|
export {
|
|
23
23
|
q as default
|
package/date-picker/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import k, { useRef as P, useImperativeHandle as d } from "react";
|
|
3
3
|
import p from "./Picker.js";
|
|
4
|
-
import { P as u, D as f, Q as l, W as y, Y as N, M as $ } from "../chunk/
|
|
4
|
+
import { P as u, D as f, Q as l, W as y, Y as N, M as $ } from "../chunk/BoUHPeG7.js";
|
|
5
5
|
function c(s, i) {
|
|
6
6
|
function o(n, m) {
|
|
7
7
|
const t = P();
|
package/descriptions/index.js
CHANGED
|
@@ -3,10 +3,10 @@ import C from "lodash/isArray";
|
|
|
3
3
|
import V from "lodash/isNumber";
|
|
4
4
|
import q from "lodash/isPlainObject";
|
|
5
5
|
import { useContext as B, useState as G, useRef as J, useEffect as K, Fragment as x } from "react";
|
|
6
|
-
import { a as Q } from "../chunk/
|
|
6
|
+
import { a as Q } from "../chunk/Crs3isAx.js";
|
|
7
7
|
import { u as U } from "../chunk/BFTV6myl.js";
|
|
8
|
-
import {
|
|
9
|
-
import P,
|
|
8
|
+
import { p as W } from "../chunk/CUFsOxJ2.js";
|
|
9
|
+
import { responsiveObserve as P, responsiveArray as k } from "../utils/responsiveObserve.js";
|
|
10
10
|
const z = (f) => C(f) ? f.reduce((h, p) => h + (p.span || 1), 0) : 0, X = {
|
|
11
11
|
layout: "horizontal",
|
|
12
12
|
column: 3,
|
package/divider/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as x, useContext as u } from "react";
|
|
3
|
-
import { a as $ } from "../chunk/
|
|
3
|
+
import { a as $ } from "../chunk/Crs3isAx.js";
|
|
4
4
|
import { u as h } from "../chunk/BFTV6myl.js";
|
|
5
|
-
import {
|
|
5
|
+
import { p as v } from "../chunk/CUFsOxJ2.js";
|
|
6
6
|
const C = {
|
|
7
7
|
type: "horizontal",
|
|
8
8
|
orientation: "center"
|
|
9
9
|
};
|
|
10
10
|
function N(a, n) {
|
|
11
|
-
const { getPrefixCls: l, componentConfig: r } = u($),
|
|
11
|
+
const { getPrefixCls: l, componentConfig: r } = u($), p = h(
|
|
12
12
|
a,
|
|
13
13
|
C,
|
|
14
14
|
r == null ? void 0 : r.Divider
|
|
15
|
-
), { children: e, style:
|
|
15
|
+
), { children: e, style: m, className: c, type: s, orientation: o, ...d } = p, t = l("divider"), f = v(
|
|
16
16
|
t,
|
|
17
17
|
`${t}-${s}`,
|
|
18
18
|
{
|
|
@@ -27,7 +27,7 @@ function N(a, n) {
|
|
|
27
27
|
role: "separator",
|
|
28
28
|
ref: n,
|
|
29
29
|
className: f,
|
|
30
|
-
style:
|
|
30
|
+
style: m,
|
|
31
31
|
...d,
|
|
32
32
|
children: e && s === "horizontal" ? /* @__PURE__ */ i("span", { className: `${t}-text ${t}-text-${o}`, children: e }) : null
|
|
33
33
|
}
|
package/draggable/Item.js
CHANGED
package/draggable/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import x, { useContext as I, useState as C } from "react";
|
|
3
|
-
import { a as D } from "../chunk/
|
|
4
|
-
import {
|
|
3
|
+
import { a as D } from "../chunk/Crs3isAx.js";
|
|
4
|
+
import { p as h } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
import v from "./Item.js";
|
|
6
|
-
function R(
|
|
6
|
+
function R(m) {
|
|
7
7
|
const { getPrefixCls: c } = I(D), r = c("draggable"), {
|
|
8
8
|
className: i,
|
|
9
|
-
children:
|
|
10
|
-
direction:
|
|
9
|
+
children: p,
|
|
10
|
+
direction: f = "vertical",
|
|
11
11
|
onIndexChange: t,
|
|
12
12
|
itemWrapperStyle: d
|
|
13
|
-
} =
|
|
14
|
-
return /* @__PURE__ */
|
|
13
|
+
} = m, [g, n] = C(null);
|
|
14
|
+
return /* @__PURE__ */ s("div", { className: h(r, i), children: x.Children.map(p, (u, e) => /* @__PURE__ */ s(
|
|
15
15
|
v,
|
|
16
16
|
{
|
|
17
17
|
style: d,
|
|
18
18
|
prefixCls: r,
|
|
19
|
-
direction:
|
|
19
|
+
direction: f,
|
|
20
20
|
onDragStart: () => n(e),
|
|
21
21
|
onDragEnd: () => n(null),
|
|
22
22
|
onDrop: (S, o) => {
|
package/drawer/Drawer.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { a as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import
|
|
10
|
-
import { P as
|
|
11
|
-
import {
|
|
12
|
-
import { isServerRendering as
|
|
13
|
-
import { o as
|
|
14
|
-
import { o as
|
|
15
|
-
import { f as
|
|
16
|
-
const
|
|
1
|
+
import { jsxs as N, Fragment as we, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import Ie from "@unicom-cloud/icons/IconUiClose";
|
|
3
|
+
import Pe from "lodash/isFunction";
|
|
4
|
+
import $e, { useContext as Be, useRef as K, useState as d, useCallback as Ee, useMemo as Re, useImperativeHandle as Se, useEffect as U } from "react";
|
|
5
|
+
import _ from "../button/index.js";
|
|
6
|
+
import { a as Oe, I as De, b as A } from "../chunk/Crs3isAx.js";
|
|
7
|
+
import { u as Te } from "../chunk/BFTV6myl.js";
|
|
8
|
+
import { u as ze } from "../chunk/DU1RCDfh.js";
|
|
9
|
+
import Fe from "../portal/index.js";
|
|
10
|
+
import { P as J } from "../chunk/BpYX5PN4.js";
|
|
11
|
+
import { p as g } from "../chunk/CUFsOxJ2.js";
|
|
12
|
+
import { isServerRendering as je, contains as He } from "../utils/dom.js";
|
|
13
|
+
import { o as Me } from "../chunk/BrOW642m.js";
|
|
14
|
+
import { o as Ze } from "../chunk/BKKEev13.js";
|
|
15
|
+
import { f as Le } from "../chunk/Cc_-i0o_.js";
|
|
16
|
+
const We = {
|
|
17
17
|
placement: "right",
|
|
18
18
|
width: 250,
|
|
19
19
|
height: 250,
|
|
@@ -24,158 +24,168 @@ const Se = {
|
|
|
24
24
|
mountOnEnter: !0,
|
|
25
25
|
getPopupContainer: () => document.body
|
|
26
26
|
};
|
|
27
|
-
function
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
function qe(Q, V) {
|
|
28
|
+
var O, D, T, z, F, j, H, M, Z, L, W, q;
|
|
29
|
+
const u = Be(Oe), { locale: v, getPrefixCls: X, componentConfig: m, rtl: Y } = u, t = Te(
|
|
30
|
+
Q,
|
|
31
|
+
We,
|
|
32
|
+
m == null ? void 0 : m.Drawer
|
|
32
33
|
), {
|
|
33
|
-
style:
|
|
34
|
-
className:
|
|
35
|
-
children:
|
|
36
|
-
wrapClassName:
|
|
37
|
-
maskStyle:
|
|
38
|
-
headerStyle:
|
|
39
|
-
bodyStyle:
|
|
34
|
+
style: ee,
|
|
35
|
+
className: te,
|
|
36
|
+
children: ne,
|
|
37
|
+
wrapClassName: oe,
|
|
38
|
+
maskStyle: re,
|
|
39
|
+
headerStyle: ie,
|
|
40
|
+
bodyStyle: le,
|
|
40
41
|
title: p,
|
|
41
|
-
footer:
|
|
42
|
-
okText:
|
|
43
|
-
cancelText:
|
|
44
|
-
width:
|
|
45
|
-
height:
|
|
42
|
+
footer: s,
|
|
43
|
+
okText: se,
|
|
44
|
+
cancelText: ae,
|
|
45
|
+
width: ce,
|
|
46
|
+
height: de,
|
|
46
47
|
placement: c,
|
|
47
48
|
mask: f,
|
|
48
49
|
visible: r,
|
|
49
|
-
closable:
|
|
50
|
-
maskClosable:
|
|
51
|
-
confirmLoading:
|
|
50
|
+
closable: ue,
|
|
51
|
+
maskClosable: me,
|
|
52
|
+
confirmLoading: pe,
|
|
52
53
|
mountOnEnter: h,
|
|
53
|
-
unmountOnExit:
|
|
54
|
-
afterOpen:
|
|
55
|
-
afterClose:
|
|
54
|
+
unmountOnExit: w,
|
|
55
|
+
afterOpen: x,
|
|
56
|
+
afterClose: C,
|
|
56
57
|
getPopupContainer: a,
|
|
57
|
-
escToExit:
|
|
58
|
-
getChildrenPopupContainer:
|
|
59
|
-
okButtonProps:
|
|
60
|
-
cancelButtonProps:
|
|
58
|
+
escToExit: fe,
|
|
59
|
+
getChildrenPopupContainer: I,
|
|
60
|
+
okButtonProps: he,
|
|
61
|
+
cancelButtonProps: xe,
|
|
61
62
|
zIndex: P,
|
|
62
63
|
closeIcon: $,
|
|
63
|
-
...
|
|
64
|
-
} =
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
...Ce
|
|
65
|
+
} = t, l = K(null), B = K(null), [ke, ye] = d(!1), [k, be] = d(), o = X("drawer"), [E, y] = d(!1), [Ke, R] = d(!1), S = /* @__PURE__ */ N(we, { children: [
|
|
66
|
+
((O = t.cancelButton) == null ? void 0 : O.visible) !== !1 && /* @__PURE__ */ n(
|
|
67
|
+
_,
|
|
68
|
+
{
|
|
69
|
+
onClick: t.onCancel,
|
|
70
|
+
...xe,
|
|
71
|
+
...(D = t.cancelButton) == null ? void 0 : D.props,
|
|
72
|
+
children: ((z = (T = t.cancelButton) == null ? void 0 : T.props) == null ? void 0 : z.children) || ((F = t.cancelButton) == null ? void 0 : F.label) || ((j = t.cancelButton) == null ? void 0 : j.text) || ae || v.Drawer.cancelText
|
|
73
|
+
}
|
|
74
|
+
),
|
|
75
|
+
((H = t.okButton) == null ? void 0 : H.visible) !== !1 && /* @__PURE__ */ n(
|
|
76
|
+
_,
|
|
68
77
|
{
|
|
69
78
|
type: "primary",
|
|
70
|
-
loading:
|
|
71
|
-
onClick:
|
|
72
|
-
...
|
|
73
|
-
|
|
79
|
+
loading: pe,
|
|
80
|
+
onClick: t.onOk,
|
|
81
|
+
...he,
|
|
82
|
+
...(M = t.okButton) == null ? void 0 : M.props,
|
|
83
|
+
children: ((L = (Z = t.okButton) == null ? void 0 : Z.props) == null ? void 0 : L.children) || ((W = t.okButton) == null ? void 0 : W.label) || ((q = t.okButton) == null ? void 0 : q.text) || se || v.Drawer.okText
|
|
74
84
|
}
|
|
75
85
|
)
|
|
76
|
-
] }),
|
|
86
|
+
] }), b = Ee(() => {
|
|
77
87
|
const e = a == null ? void 0 : a();
|
|
78
|
-
return
|
|
79
|
-
}, [a]),
|
|
80
|
-
|
|
81
|
-
|
|
88
|
+
return Le(e) || document.body;
|
|
89
|
+
}, [a]), Ne = Re(() => !je && b() === document.body, [
|
|
90
|
+
ke,
|
|
91
|
+
b()
|
|
82
92
|
// 潘启宝修改于2024年11月 4日 星期一 21时22分11秒 CST
|
|
83
93
|
]);
|
|
84
|
-
|
|
85
|
-
r &&
|
|
86
|
-
}, []),
|
|
94
|
+
ze(b, { hidden: (r || E) && f }), Se(V, () => l.current), U(() => {
|
|
95
|
+
r && t.getPopupContainer && ye(!0);
|
|
96
|
+
}, []), U(() => {
|
|
87
97
|
var e, i;
|
|
88
|
-
r &&
|
|
98
|
+
r && He(document.body, l.current) && ((i = (e = l.current) == null ? void 0 : e.focus) == null || i.call(e));
|
|
89
99
|
}, [r]);
|
|
90
|
-
const
|
|
100
|
+
const ge = () => {
|
|
91
101
|
var e;
|
|
92
|
-
if (r &&
|
|
93
|
-
const i = +((e = window.getComputedStyle(
|
|
94
|
-
isNaN(i) ||
|
|
102
|
+
if (r && k === void 0 && l.current) {
|
|
103
|
+
const i = +((e = window.getComputedStyle(l.current, null)) == null ? void 0 : e.zIndex);
|
|
104
|
+
isNaN(i) || be(i + 1);
|
|
95
105
|
}
|
|
96
|
-
},
|
|
97
|
-
p !== null && /* @__PURE__ */ n("div", { className: `${
|
|
98
|
-
|
|
99
|
-
|
|
106
|
+
}, ve = /* @__PURE__ */ N("div", { className: `${o}-scroll`, tabIndex: -1, children: [
|
|
107
|
+
p !== null && /* @__PURE__ */ n("div", { className: `${o}-header`, style: ie, children: /* @__PURE__ */ n("div", { className: `${o}-header-title`, children: p }) }),
|
|
108
|
+
ue && ($ !== void 0 ? /* @__PURE__ */ n("span", { onClick: t.onCancel, className: `${o}-close-icon`, children: $ }) : /* @__PURE__ */ n(
|
|
109
|
+
De,
|
|
100
110
|
{
|
|
101
|
-
onClick:
|
|
102
|
-
className: `${
|
|
103
|
-
children: /* @__PURE__ */ n(
|
|
111
|
+
onClick: t.onCancel,
|
|
112
|
+
className: `${o}-close-icon`,
|
|
113
|
+
children: /* @__PURE__ */ n(Ie, {})
|
|
104
114
|
}
|
|
105
115
|
)),
|
|
106
116
|
/* @__PURE__ */ n(
|
|
107
117
|
"div",
|
|
108
118
|
{
|
|
109
119
|
ref: (e) => {
|
|
110
|
-
|
|
120
|
+
B.current = e, ge();
|
|
111
121
|
},
|
|
112
|
-
style:
|
|
113
|
-
className: g(`${
|
|
114
|
-
[`${
|
|
115
|
-
[`${
|
|
122
|
+
style: le,
|
|
123
|
+
className: g(`${o}-content`, {
|
|
124
|
+
[`${o}-content-nofooter`]: s === null,
|
|
125
|
+
[`${o}-content-noheader`]: p === null
|
|
116
126
|
}),
|
|
117
127
|
children: /* @__PURE__ */ n(
|
|
118
|
-
|
|
128
|
+
A,
|
|
119
129
|
{
|
|
120
|
-
...
|
|
121
|
-
zIndex:
|
|
122
|
-
getPopupContainer: (e) => typeof
|
|
123
|
-
children:
|
|
130
|
+
...u,
|
|
131
|
+
zIndex: k || 1050,
|
|
132
|
+
getPopupContainer: (e) => typeof I == "function" ? I(e) : B.current,
|
|
133
|
+
children: ne
|
|
124
134
|
}
|
|
125
135
|
)
|
|
126
136
|
}
|
|
127
137
|
),
|
|
128
|
-
|
|
138
|
+
s !== null && /* @__PURE__ */ n("div", { className: `${o}-footer`, children: Pe(s) ? s(S) : s || S })
|
|
129
139
|
] });
|
|
130
140
|
return /* @__PURE__ */ n(
|
|
131
|
-
|
|
141
|
+
Fe,
|
|
132
142
|
{
|
|
133
143
|
forceRender: !h,
|
|
134
144
|
visible: r,
|
|
135
145
|
getContainer: a,
|
|
136
|
-
children: /* @__PURE__ */
|
|
146
|
+
children: /* @__PURE__ */ N(
|
|
137
147
|
"div",
|
|
138
148
|
{
|
|
139
|
-
...
|
|
140
|
-
ref:
|
|
149
|
+
...Ze(Ce, ["onCancel", "onOk"]),
|
|
150
|
+
ref: l,
|
|
141
151
|
onKeyDown: (e) => {
|
|
142
|
-
var
|
|
143
|
-
e.key ===
|
|
152
|
+
var G;
|
|
153
|
+
e.key === Me.key && fe && r && ((G = t.onCancel) == null || G.call(t, e));
|
|
144
154
|
},
|
|
145
155
|
className: g(
|
|
146
|
-
`${
|
|
156
|
+
`${o}-wrapper`,
|
|
147
157
|
{
|
|
148
|
-
[`${
|
|
149
|
-
[`${
|
|
158
|
+
[`${o}-no-mask`]: !f,
|
|
159
|
+
[`${o}-wrapper-hide`]: !r
|
|
150
160
|
},
|
|
151
|
-
|
|
161
|
+
oe
|
|
152
162
|
),
|
|
153
|
-
style:
|
|
163
|
+
style: Ne ? { position: "fixed", zIndex: P } : { zIndex: P || "inherit", position: "absolute" },
|
|
154
164
|
children: [
|
|
155
165
|
f ? /* @__PURE__ */ n(
|
|
156
|
-
|
|
166
|
+
J,
|
|
157
167
|
{
|
|
158
168
|
in: r,
|
|
159
169
|
appear: !0,
|
|
160
170
|
timeout: 300,
|
|
161
171
|
classNames: "fadeInStandard",
|
|
162
172
|
mountOnEnter: h,
|
|
163
|
-
unmountOnExit:
|
|
173
|
+
unmountOnExit: w,
|
|
164
174
|
children: /* @__PURE__ */ n(
|
|
165
175
|
"div",
|
|
166
176
|
{
|
|
167
|
-
className: `${
|
|
168
|
-
style:
|
|
177
|
+
className: `${o}-mask`,
|
|
178
|
+
style: re,
|
|
169
179
|
onClick: (e) => {
|
|
170
180
|
var i;
|
|
171
|
-
!
|
|
181
|
+
!E && me && ((i = t.onCancel) == null || i.call(t, e));
|
|
172
182
|
}
|
|
173
183
|
}
|
|
174
184
|
)
|
|
175
185
|
}
|
|
176
186
|
) : null,
|
|
177
187
|
/* @__PURE__ */ n(
|
|
178
|
-
|
|
188
|
+
J,
|
|
179
189
|
{
|
|
180
190
|
in: r,
|
|
181
191
|
appear: !0,
|
|
@@ -187,29 +197,29 @@ function Oe(H, M) {
|
|
|
187
197
|
right: "slideRight"
|
|
188
198
|
}[c],
|
|
189
199
|
mountOnEnter: h,
|
|
190
|
-
unmountOnExit:
|
|
200
|
+
unmountOnExit: w,
|
|
191
201
|
onEnter: (e) => {
|
|
192
|
-
e && (e.parentNode.style.display = "block",
|
|
202
|
+
e && (e.parentNode.style.display = "block", y(!1));
|
|
193
203
|
},
|
|
194
204
|
onEntered: () => {
|
|
195
|
-
|
|
205
|
+
R(!0), x == null || x();
|
|
196
206
|
},
|
|
197
207
|
onExit: () => {
|
|
198
|
-
|
|
208
|
+
R(!1), y(!0);
|
|
199
209
|
},
|
|
200
210
|
onExited: (e) => {
|
|
201
|
-
e && (
|
|
211
|
+
e && (y(!1), e.parentNode.style.display = "", C == null || C());
|
|
202
212
|
},
|
|
203
213
|
children: /* @__PURE__ */ n(
|
|
204
214
|
"div",
|
|
205
215
|
{
|
|
206
|
-
className: g(
|
|
216
|
+
className: g(o, te, { [`${o}-rtl`]: Y }),
|
|
207
217
|
style: Object.assign(
|
|
208
|
-
c === "left" || c === "right" ? { width:
|
|
218
|
+
c === "left" || c === "right" ? { width: ce } : { height: de },
|
|
209
219
|
{ [c]: 0 },
|
|
210
|
-
|
|
220
|
+
ee
|
|
211
221
|
),
|
|
212
|
-
children: /* @__PURE__ */ n("div", { className: `${
|
|
222
|
+
children: /* @__PURE__ */ n("div", { className: `${o}-inner`, children: /* @__PURE__ */ n(A, { ...u, zIndex: k || 1050, children: ve }) })
|
|
213
223
|
}
|
|
214
224
|
)
|
|
215
225
|
}
|
|
@@ -220,8 +230,8 @@ function Oe(H, M) {
|
|
|
220
230
|
}
|
|
221
231
|
);
|
|
222
232
|
}
|
|
223
|
-
const
|
|
224
|
-
|
|
233
|
+
const Ge = $e.forwardRef(qe);
|
|
234
|
+
Ge.displayName = "Drawer";
|
|
225
235
|
export {
|
|
226
|
-
|
|
236
|
+
Ge as default
|
|
227
237
|
};
|
package/dropdown/Button.js
CHANGED
|
@@ -3,7 +3,7 @@ import "@unicom-cloud/icons/IconUiMore";
|
|
|
3
3
|
import "react";
|
|
4
4
|
import { DropdownButton as f } from "./index.js";
|
|
5
5
|
import "../button/index.js";
|
|
6
|
-
import "../chunk/
|
|
6
|
+
import "../chunk/Crs3isAx.js";
|
|
7
7
|
import "../chunk/BFTV6myl.js";
|
|
8
8
|
import "../chunk/ClqoGc3r.js";
|
|
9
9
|
export {
|
package/dropdown/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as s, jsxs as S } from "react/jsx-runtime";
|
|
2
2
|
import A from "lodash/get";
|
|
3
3
|
import l, { forwardRef as W, useContext as z, useRef as j } from "react";
|
|
4
|
-
import { a as F } from "../chunk/
|
|
4
|
+
import { a as F } from "../chunk/Crs3isAx.js";
|
|
5
5
|
import { u as G } from "../chunk/BFTV6myl.js";
|
|
6
|
-
import { u as X } from "../chunk/
|
|
6
|
+
import { u as X } from "../chunk/DeV0v__J.js";
|
|
7
7
|
import Y, { EventsByTriggerNeed as Z } from "../trigger/index.js";
|
|
8
|
-
import {
|
|
9
|
-
import { s as oo } from "../chunk/
|
|
8
|
+
import { p as U } from "../chunk/CUFsOxJ2.js";
|
|
9
|
+
import { s as oo } from "../chunk/DAAff-FT.js";
|
|
10
10
|
import { o as eo } from "../chunk/BKKEev13.js";
|
|
11
11
|
import { a as L, p as to } from "../chunk/ClqoGc3r.js";
|
|
12
|
-
import { f as no } from "../chunk/
|
|
12
|
+
import { f as no } from "../chunk/Cc_-i0o_.js";
|
|
13
13
|
import Q from "@unicom-cloud/icons/IconUiMore";
|
|
14
14
|
import k from "../button/index.js";
|
|
15
15
|
const ro = {
|
package/empty/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@unicom-cloud/icons/IconUiEmpty";
|
|
3
3
|
import "react";
|
|
4
|
-
import { E as e } from "../chunk/
|
|
4
|
+
import { E as e } from "../chunk/Crs3isAx.js";
|
|
5
5
|
import "../chunk/BFTV6myl.js";
|
|
6
|
-
import "../chunk/
|
|
6
|
+
import "../chunk/CUFsOxJ2.js";
|
|
7
7
|
export {
|
|
8
8
|
e as default
|
|
9
9
|
};
|
package/form/Control.js
CHANGED
|
@@ -14,7 +14,7 @@ import F from "lodash/isFunction";
|
|
|
14
14
|
import _ from "lodash/isNil";
|
|
15
15
|
import j from "lodash/set";
|
|
16
16
|
import I, { Component as z, isValidElement as A } from "react";
|
|
17
|
-
import {
|
|
17
|
+
import { p as G } from "../chunk/CUFsOxJ2.js";
|
|
18
18
|
import U from "../utils/warning.js";
|
|
19
19
|
import { FormItemContext as O } from "./context.js";
|
|
20
20
|
import { isFieldMatch as C, schemaValidate as k, isSyntheticEvent as q, ID_SUFFIX as B } from "./util.js";
|
package/form/Form.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import { p as k } from "../chunk/
|
|
2
|
+
import { p as k } from "../chunk/Coz3rCng.js";
|
|
3
3
|
import v from "lodash/isPlainObject";
|
|
4
4
|
import O from "lodash/merge";
|
|
5
5
|
import { forwardRef as A, useContext as $, useRef as _, useEffect as H, useImperativeHandle as U } from "react";
|
|
6
|
-
import { a as W, b as X } from "../chunk/
|
|
6
|
+
import { a as W, b as X } from "../chunk/Crs3isAx.js";
|
|
7
7
|
import { u as B } from "../chunk/5_U1CBIu.js";
|
|
8
8
|
import { u as G } from "../chunk/BFTV6myl.js";
|
|
9
|
-
import {
|
|
9
|
+
import { p as J } from "../chunk/CUFsOxJ2.js";
|
|
10
10
|
import { o as K } from "../chunk/BKKEev13.js";
|
|
11
11
|
import { FormProviderContext as L, FormContext as Q } from "./context.js";
|
|
12
12
|
import Y from "./useForm.js";
|
package/form/FormItem.js
CHANGED
|
@@ -4,11 +4,11 @@ import ge from "lodash/isArray";
|
|
|
4
4
|
import he from "lodash/isFunction";
|
|
5
5
|
import y from "lodash/isPlainObject";
|
|
6
6
|
import w from "lodash/isUndefined";
|
|
7
|
-
import { a as Ce } from "../chunk/
|
|
7
|
+
import { a as Ce } from "../chunk/Crs3isAx.js";
|
|
8
8
|
import Y from "../grid/index.js";
|
|
9
9
|
import { u as ye } from "../chunk/BFTV6myl.js";
|
|
10
|
-
import { P as ve } from "../chunk/
|
|
11
|
-
import {
|
|
10
|
+
import { P as ve } from "../chunk/BpYX5PN4.js";
|
|
11
|
+
import { p as v } from "../chunk/CUFsOxJ2.js";
|
|
12
12
|
import { o as we } from "../chunk/BKKEev13.js";
|
|
13
13
|
import I from "./Control.js";
|
|
14
14
|
import Fe from "./FormLabel.js";
|