@unicom-cloud/ui 0.8.77 → 0.8.79
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 +5 -5
- package/BackTop.js +5 -5
- package/Badge.js +3 -3
- package/Breadcrumb.js +4 -4
- package/Button.js +2 -2
- package/Calendar.js +4 -4
- 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 +3 -3
- package/Comment.js +2 -2
- package/ConfigProvider.js +1 -1
- package/Copy.js +4 -4
- 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 +9 -5
- package/IconHover.js +2 -2
- package/Image.js +1 -1
- package/InputNumber.js +3 -3
- package/Layout.js +2 -2
- package/Link.js +3 -3
- package/List.js +4 -4
- package/Mentions.js +5 -5
- package/Menu.js +1 -1
- package/Message.js +3 -3
- package/Modal.js +1 -1
- package/Notice.js +9 -8
- package/Notification.js +3 -3
- package/OverflowEllipsis.js +2 -2
- package/PageHeader.js +3 -3
- package/Pagination.js +1 -1
- 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/Select.js +1 -1
- package/SelectView.js +5 -6
- package/Skeleton.js +2 -2
- package/Slider.js +4 -4
- package/Space.js +2 -2
- package/SpeechSynthesis.js +18 -20
- package/Spin.js +3 -3
- package/Statistic.js +3 -3
- package/Steps.js +2 -2
- package/Switch.js +7 -8
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +3 -3
- package/Tooltip.js +3 -3
- package/Transfer.js +4 -4
- package/Tree.js +1 -1
- package/TreeSelect.js +1 -1
- package/Trigger.js +9 -10
- package/Typography.js +1 -1
- package/affix/index.js +17 -17
- package/alert/index.js +13 -13
- package/anchor/Anchor.js +40 -40
- package/anchor/Link.js +14 -14
- package/anchor/util.js +2 -2
- package/auto-complete/index.js +5 -5
- package/avatar/Avatar.js +17 -17
- package/avatar/Group.js +13 -13
- package/back-top/index.js +13 -13
- package/badge/Count.js +13 -13
- package/badge/index.js +21 -21
- package/breadcrumb/Item.js +25 -25
- package/breadcrumb/index.js +12 -12
- package/button/Group.js +6 -6
- package/button/index.js +30 -30
- package/calendar/Month.js +2 -2
- package/calendar/Year.js +1 -1
- package/calendar/index.js +4 -4
- package/card/Grid.js +13 -13
- package/card/Meta.js +13 -13
- package/card/index.js +29 -29
- package/carousel/Arrow.js +6 -6
- package/carousel/Indicator.js +27 -27
- package/carousel/index.js +24 -24
- package/cascader/Cascader.js +8 -8
- 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/GroupBlock.js +3 -3
- package/checkbox/index.js +2 -2
- package/chunk/{ZrBrCzQX.js → B4WG1mhs.js} +6 -7
- package/chunk/{Cwm8LL5p.js → B4mZh-RK.js} +7245 -7249
- package/chunk/{CjqvxJml.js → BG7YGUsx.js} +32 -32
- package/chunk/{BhBEMwvI.js → BNevupAU.js} +18 -20
- package/chunk/BYdIoY50.js +17 -0
- package/chunk/{Cc_-i0o_.js → BZ3igxQN.js} +6 -7
- package/chunk/{uEGHykhe.js → BZ9g7J4R.js} +1 -1
- package/chunk/BsUZRQDT.js +23 -0
- package/chunk/{CBgu99gQ.js → C5X4hOkx.js} +130 -130
- package/chunk/{B0n0iRhF.js → CCKr5jj1.js} +1 -1
- package/chunk/{CNcLypMY.js → CQvM33Vg.js} +190 -189
- package/chunk/CXPOj2uy.js +19 -0
- package/chunk/{DAAff-FT.js → ClM74To2.js} +9 -10
- package/chunk/{RS6OAxzv.js → D-ap9qEk.js} +2 -2
- package/chunk/{tpmioyz1.js → DEiyXzBZ.js} +28 -28
- package/chunk/{CplLA01W.js → DEuVgCzp.js} +45 -52
- package/chunk/{BPQXH_5i.js → DYspELhF.js} +43 -43
- package/chunk/DxYoPlum.js +50 -0
- package/chunk/{BpYX5PN4.js → NPajzdOv.js} +2 -2
- package/chunk/{BBkdXHrJ.js → rT6qmv-Y.js} +1 -1
- package/chunk/{BC5fEyWK.js → yLRv5RIK.js} +61 -61
- package/chunk/{C_4I3haT.js → yhU2zeeu.js} +96 -96
- package/collapse/Collapse.js +4 -4
- package/collapse/Item.js +4 -4
- package/collapse/index.js +1 -1
- package/color-picker/ControlBar.js +22 -22
- package/color-picker/InputAlpha.js +1 -1
- package/color-picker/InputHex.js +1 -1
- package/color-picker/InputRgb.js +1 -1
- package/color-picker/Palette.js +1 -1
- package/color-picker/Panel.js +4 -4
- package/color-picker/index.js +3 -3
- package/comment/index.js +18 -18
- package/config-provider/ConfigProvider.js +2 -2
- package/config-provider/context.js +2 -2
- package/config-provider/index.js +2 -2
- package/copy/index.js +23 -23
- package/date-picker/Picker.js +41 -41
- package/date-picker/PickerRange.js +3 -3
- package/date-picker/index.js +1 -1
- package/descriptions/index.js +28 -28
- package/divider/index.js +15 -15
- package/draggable/Item.js +11 -11
- package/draggable/index.js +15 -15
- package/drawer/Drawer.js +31 -31
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +22 -22
- package/empty/index.js +2 -2
- package/form/Control.js +46 -46
- package/form/Form.js +12 -12
- package/form/FormItem.js +12 -12
- package/form/FormLabel.js +11 -11
- package/form/context.js +7 -6
- package/form/promisify.js +9 -10
- package/form/store.js +1 -1
- package/form/util.js +1 -1
- package/grid/Col.js +38 -38
- package/grid/Row.js +15 -15
- package/grid/grid-item.js +17 -17
- package/grid/grid.js +28 -28
- package/hooks/index.js +6 -6
- package/hooks/useInView.js +1 -1
- package/hooks/useIntersectionObserver.js +1 -1
- package/hooks/useKeyboardEvent.js +1 -1
- package/hooks/useMergeValue.js +1 -1
- package/hooks/useOverrideRef.js +1 -1
- package/hooks/usePrefersColorSchemeDark.js +1 -1
- package/hooks/useVerificationCode.js +30 -30
- package/icon/index.js +20 -16
- package/icon-hover/index.js +2 -2
- package/image/Image.js +22 -22
- package/image/ImageFooter.js +2 -2
- package/image/ImagePreview.js +11 -11
- package/image/ImagePreviewArrow.js +16 -16
- package/image/ImagePreviewGroup.js +2 -2
- package/image/ImagePreviewToolbar.js +7 -7
- package/image/TriggerForToolbar.js +7 -7
- package/image/index.js +1 -1
- package/index.js +547 -580
- package/input/Group.js +10 -10
- package/input/Input.js +213 -214
- package/input/InputElement.js +10 -11
- package/input/Password.js +4 -4
- package/input/Search.js +3 -3
- package/input/Textarea.js +7 -8
- package/input/useComposition.js +6 -6
- package/input-number/index.js +3 -3
- package/input-tag/InputTag.js +110 -111
- package/layout/Content.js +4 -4
- package/layout/Footer.js +6 -6
- package/layout/Header.js +8 -8
- package/layout/Sider.js +29 -29
- package/layout/index.js +16 -16
- package/link/index.js +27 -27
- package/list/Item.js +5 -5
- package/list/Meta.js +11 -11
- package/list/index.js +4 -4
- package/locale/en-US.js +1 -1
- package/locale/tr-TR.js +1 -1
- package/mentions/index.js +5 -5
- package/menu/Item.js +11 -11
- package/menu/ItemGroup.js +8 -8
- package/menu/Menu.js +5 -5
- package/menu/OverflowWrap.js +2 -2
- package/menu/index.js +2 -2
- package/message/index.js +3 -3
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +7 -7
- package/modal/index.js +1 -1
- package/notice/index.js +9 -8
- package/notification/index.js +3 -3
- package/notification/useNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +6 -6
- package/overflow-ellipsis/index.js +27 -27
- package/package.json +1 -1
- package/page-header/index.js +3 -3
- package/pagination/PageItem.js +7 -7
- package/pagination/PageJumper.js +1 -1
- package/pagination/PageOption.js +3 -3
- package/pagination/Pagination.js +4 -4
- package/pagination/index.js +1 -1
- package/picker/Input.js +7 -7
- package/picker/InputRange.js +77 -77
- package/popconfirm/index.js +11 -11
- package/popover/index.js +21 -21
- package/progress/CircleProgress.js +14 -14
- package/progress/LineProgess.js +14 -14
- package/progress/StepProgress.js +9 -9
- package/progress/index.js +26 -26
- package/radio/Group.js +4 -4
- package/radio/GroupBlock.js +3 -3
- package/radio/Radio.js +4 -4
- package/radio/index.js +2 -2
- package/rate/index.js +16 -16
- package/resize-box/ResizeTrigger.js +27 -28
- package/resize-box/Split.js +21 -21
- package/resize-box/SplitGroup.js +40 -40
- package/resize-box/index.js +23 -23
- package/result/index.js +29 -29
- package/select/Option.js +2 -2
- package/select/Select.js +11 -12
- package/select/index.js +2 -2
- package/select/util.js +5 -5
- package/select-view/Core.js +104 -106
- package/select-view/index.js +22 -23
- package/skeleton/Image.js +14 -14
- package/skeleton/Text.js +16 -16
- package/skeleton/index.js +11 -11
- package/slider/Button.js +4 -4
- package/slider/Dot.js +9 -9
- package/slider/Input.js +20 -20
- package/slider/Tick.js +14 -14
- package/slider/index.js +103 -103
- package/slider/util.js +3 -3
- package/space/index.js +14 -14
- package/speech-synthesis/index.js +26 -28
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +16 -16
- package/statistic/Countdown.js +17 -17
- package/statistic/index.js +32 -32
- package/steps/Step.js +8 -8
- package/steps/index.js +17 -17
- package/style.css +1 -1
- package/switch/index.js +32 -33
- package/table/Table.js +5 -5
- package/table/index.js +1 -1
- package/tabs/Tab.js +4 -4
- package/tabs/TabContent.js +3 -3
- package/tabs/TabPane.js +11 -11
- package/tabs/index.js +2 -2
- package/tabs/util.js +1 -1
- package/tag/index.js +16 -16
- package/time-picker/Picker.js +50 -50
- package/time-picker/TimeColumn.js +8 -8
- package/time-picker/TimePicker.js +32 -32
- package/time-picker/util.js +1 -1
- package/timeline/Item.js +15 -15
- package/timeline/Timeline.js +24 -24
- package/tooltip/index.js +23 -23
- package/transfer/Item.js +4 -4
- package/transfer/List.js +4 -4
- package/transfer/index.js +4 -4
- package/tree/Animation.js +3 -3
- package/tree/Node.js +3 -3
- package/tree/NodeList.js +2 -2
- package/tree/Tree.js +4 -4
- package/tree/index.js +1 -1
- package/tree-select/List.js +2 -2
- package/tree-select/Select.js +8 -9
- package/tree-select/index.js +2 -2
- package/trigger/getPopupStyle.js +18 -19
- package/trigger/index.js +32 -33
- package/types/button/index.d.ts +2 -2
- package/types/color-picker/colors.d.ts +1 -1
- package/types/date-picker/util.d.ts +1 -1
- package/types/icon/index.d.ts +3 -1
- package/types/index.d.ts +1 -1
- package/types/menu/context.d.ts +1 -1
- package/typography/Base.js +33 -35
- package/typography/EditContent.js +16 -16
- package/typography/Ellipsis.js +24 -26
- package/typography/Operations.js +1 -1
- package/typography/Paragraph.js +8 -8
- package/typography/Typography.js +7 -7
- package/typography/index.js +1 -1
- package/upload/TriggerNode.js +8 -8
- package/upload/Upload.js +64 -65
- package/upload/Uploader.js +12 -12
- package/upload/request.js +13 -12
- package/upload/request_.js +5 -6
- package/utils/PqbCSSTransition.js +1 -1
- package/utils/caseName.js +4 -3
- package/utils/className.js +4 -3
- package/utils/constant.js +3 -3
- package/utils/contextHolder.js +1 -1
- package/utils/copy.js +5 -4
- package/utils/fileToURL.js +4 -3
- package/utils/index.js +261 -298
- package/utils/is.js +78 -115
- package/utils/keyboardCode.js +4 -26
- package/utils/math.js +10 -32
- package/utils/react19Adapter.js +1 -1
- package/utils/reactDOM.js +1 -1
- package/utils/saveAs.js +4 -3
- package/utils/screenfull.js +4 -3
- package/utils/scrollIntoView.js +1 -1
- package/utils/setDarkTheme.js +1 -1
- package/utils/tree.js +7 -83
- package/utils/tween.js +1 -1
- package/utils/validate.js +1 -1
- package/verification-code/VerificationCode.js +25 -25
- package/version/index.js +1 -1
- package/virtual-list/VirtualList.js +1 -1
- package/watermark/Watermark.js +8 -8
- package/chunk/ATwvJ8j2.js +0 -6
- package/chunk/BFmckYou.js +0 -25
- package/chunk/Bl7BnD1R.js +0 -119
- package/chunk/Bmvhjhzq.js +0 -24
- package/chunk/BrOW642m.js +0 -130
- package/chunk/C0pRaDCf.js +0 -96
- package/chunk/CBzE-PUr.js +0 -23
- package/chunk/CUFsOxJ2.js +0 -10
- package/chunk/Ce1j9KTi.js +0 -6
- package/chunk/D0Dlbc2g.js +0 -41
- package/chunk/DRTWRsgI.js +0 -34
- package/chunk/DeV0v__J.js +0 -20
- package/chunk/DohlrJ4S.js +0 -50
- package/chunk/XTEsYGuF.js +0 -17
- package/chunk/yl4BU7Sd.js +0 -1068
package/carousel/Indicator.js
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { a as
|
|
4
|
-
import
|
|
5
|
-
function
|
|
6
|
-
const { getPrefixCls:
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import N, { useContext as h } from "react";
|
|
3
|
+
import { a as I } from "../chunk/CQvM33Vg.js";
|
|
4
|
+
import c from "@unicom-cloud/utils/class-name";
|
|
5
|
+
function w(f, m) {
|
|
6
|
+
const { getPrefixCls: p } = h(I), {
|
|
7
7
|
className: u,
|
|
8
|
-
type:
|
|
9
|
-
count:
|
|
10
|
-
activeIndex:
|
|
8
|
+
type: i = "line",
|
|
9
|
+
count: a = 2,
|
|
10
|
+
activeIndex: s = 0,
|
|
11
11
|
position: x = "bottom",
|
|
12
12
|
trigger: g = "click",
|
|
13
13
|
onSelectIndex: l
|
|
14
|
-
} = f, e =
|
|
15
|
-
if (
|
|
16
|
-
const t = 100 /
|
|
17
|
-
|
|
18
|
-
/* @__PURE__ */
|
|
14
|
+
} = f, e = p("carousel-indicator"), n = [];
|
|
15
|
+
if (i === "slider") {
|
|
16
|
+
const t = 100 / a;
|
|
17
|
+
n.push(
|
|
18
|
+
/* @__PURE__ */ r(
|
|
19
19
|
"span",
|
|
20
20
|
{
|
|
21
|
-
style: { width: `${t}%`, left: `${
|
|
21
|
+
style: { width: `${t}%`, left: `${s * t}%` },
|
|
22
22
|
className: c(`${e}-item`, `${e}-item-active`)
|
|
23
23
|
},
|
|
24
24
|
0
|
|
25
25
|
)
|
|
26
26
|
);
|
|
27
27
|
} else
|
|
28
|
-
for (let t = 0; t <
|
|
29
|
-
|
|
30
|
-
/* @__PURE__ */
|
|
28
|
+
for (let t = 0; t < a; t++)
|
|
29
|
+
n.push(
|
|
30
|
+
/* @__PURE__ */ r(
|
|
31
31
|
"span",
|
|
32
32
|
{
|
|
33
33
|
"data-index": t,
|
|
34
34
|
className: c(`${e}-item`, {
|
|
35
|
-
[`${e}-item-active`]: t ===
|
|
35
|
+
[`${e}-item-active`]: t === s
|
|
36
36
|
})
|
|
37
37
|
},
|
|
38
38
|
t
|
|
39
39
|
)
|
|
40
40
|
);
|
|
41
41
|
const C = {
|
|
42
|
-
ref:
|
|
42
|
+
ref: m,
|
|
43
43
|
className: c(
|
|
44
44
|
e,
|
|
45
|
-
`${e}-${
|
|
45
|
+
`${e}-${i}`,
|
|
46
46
|
`${e}-${x}`,
|
|
47
47
|
u
|
|
48
48
|
),
|
|
49
49
|
[g === "click" ? "onClick" : "onMouseMove"]: (t) => {
|
|
50
|
-
if (t.preventDefault(),
|
|
50
|
+
if (t.preventDefault(), i === "slider") {
|
|
51
51
|
if (t.target === t.currentTarget) {
|
|
52
|
-
const { x: o, width: $ } = t.currentTarget.getBoundingClientRect(), d = ~~((t.nativeEvent.clientX - o) / $ *
|
|
53
|
-
d !==
|
|
52
|
+
const { x: o, width: $ } = t.currentTarget.getBoundingClientRect(), d = ~~((t.nativeEvent.clientX - o) / $ * a);
|
|
53
|
+
d !== s && l(d);
|
|
54
54
|
}
|
|
55
55
|
} else {
|
|
56
56
|
const o = t.target.getAttribute("data-index");
|
|
57
|
-
o && +o !==
|
|
57
|
+
o && +o !== s && l(+o);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
|
-
return /* @__PURE__ */
|
|
61
|
+
return /* @__PURE__ */ r("div", { ...C, children: n });
|
|
62
62
|
}
|
|
63
|
-
const y =
|
|
63
|
+
const y = N.forwardRef(w);
|
|
64
64
|
export {
|
|
65
65
|
y as default
|
|
66
66
|
};
|
package/carousel/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsxs as ye, jsx as
|
|
2
|
-
import P, { useContext as xe, useRef as F, useState as
|
|
3
|
-
import { a as
|
|
1
|
+
import { jsxs as ye, jsx as I } from "react/jsx-runtime";
|
|
2
|
+
import P, { useContext as xe, useRef as F, useState as m, useEffect as z, useImperativeHandle as Ne } from "react";
|
|
3
|
+
import { a as Ie } from "../chunk/CQvM33Vg.js";
|
|
4
4
|
import { u as Ce } from "../chunk/C4OrxKE6.js";
|
|
5
5
|
import { u as Pe } from "../chunk/BFTV6myl.js";
|
|
6
|
-
import
|
|
6
|
+
import C from "@unicom-cloud/utils/class-name";
|
|
7
7
|
import { o as $e } from "../chunk/BKKEev13.js";
|
|
8
8
|
import { r as be } from "../chunk/CIRG541s.js";
|
|
9
9
|
import Te from "../utils/warning.js";
|
|
@@ -20,7 +20,7 @@ const we = 3e3, Ae = {
|
|
|
20
20
|
timingFunc: "cubic-bezier(0.34, 0.69, 0.1, 1)"
|
|
21
21
|
};
|
|
22
22
|
function Ee(B, O) {
|
|
23
|
-
const { getPrefixCls: G, componentConfig: $, rtl: V } = xe(
|
|
23
|
+
const { getPrefixCls: G, componentConfig: $, rtl: V } = xe(Ie), h = Pe(
|
|
24
24
|
B,
|
|
25
25
|
Ae,
|
|
26
26
|
$ == null ? void 0 : $.Carousel
|
|
@@ -54,30 +54,30 @@ function Ee(B, O) {
|
|
|
54
54
|
));
|
|
55
55
|
const Y = P.Children.toArray(Q).filter(
|
|
56
56
|
(e) => P.isValidElement(e)
|
|
57
|
-
), d = Y.length,
|
|
57
|
+
), d = Y.length, p = F(null), f = F(null), N = F(null), [w, ae] = m(
|
|
58
58
|
typeof y == "number" ? g(y) : 0
|
|
59
|
-
), [le, ce] =
|
|
59
|
+
), [le, ce] = m(w), [ue, Z] = m(!1), [A, q] = m(!1), [E, de] = m(
|
|
60
60
|
null
|
|
61
|
-
), [X, M] =
|
|
61
|
+
), [X, M] = m({
|
|
62
62
|
sliderWrapper: null,
|
|
63
63
|
indicatorWrapper: null
|
|
64
|
-
}), s = typeof y == "number" ? g(y) : w, R = g(s - 1), j = g(s + 1),
|
|
65
|
-
z(() => () =>
|
|
64
|
+
}), s = typeof y == "number" ? g(y) : w, R = g(s - 1), j = g(s + 1), me = typeof o == "object" && o.interval ? o.interval : we;
|
|
65
|
+
z(() => () => N.current && clearTimeout(N.current), []), z(() => {
|
|
66
66
|
c({
|
|
67
67
|
targetIndex: s
|
|
68
68
|
});
|
|
69
69
|
}, [s]);
|
|
70
|
-
const
|
|
70
|
+
const pe = Ce(
|
|
71
71
|
() => {
|
|
72
72
|
c({
|
|
73
73
|
targetIndex: j
|
|
74
74
|
});
|
|
75
75
|
},
|
|
76
|
-
o && !ue && d > 1 ?
|
|
76
|
+
o && !ue && d > 1 ? me : null
|
|
77
77
|
);
|
|
78
|
-
|
|
79
|
-
dom:
|
|
80
|
-
getRootDOMNode: () =>
|
|
78
|
+
Ne(ie, () => ({
|
|
79
|
+
dom: p.current,
|
|
80
|
+
getRootDOMNode: () => p.current,
|
|
81
81
|
goto: ({ index: e, isNegative: t, isManual: r, resetAutoPlayInterval: i }) => {
|
|
82
82
|
c({
|
|
83
83
|
targetIndex: g(e),
|
|
@@ -97,8 +97,8 @@ function Ee(B, O) {
|
|
|
97
97
|
isManual: r = !1,
|
|
98
98
|
resetAutoPlayInterval: i = !1
|
|
99
99
|
}) {
|
|
100
|
-
!A && e !== s && (q(!0), ae(e), ce(w), de(t ? "negative" : "positive"), S == null || S(e, s, r), o && i &&
|
|
101
|
-
q(!1),
|
|
100
|
+
!A && e !== s && (q(!0), ae(e), ce(w), de(t ? "negative" : "positive"), S == null || S(e, s, r), o && i && pe(), N.current = setTimeout(() => {
|
|
101
|
+
q(!1), N.current = null;
|
|
102
102
|
}, T));
|
|
103
103
|
}
|
|
104
104
|
function fe() {
|
|
@@ -165,22 +165,22 @@ function Ee(B, O) {
|
|
|
165
165
|
})
|
|
166
166
|
];
|
|
167
167
|
return V && ([D, H] = [H, D]), z(() => {
|
|
168
|
-
const e = be([
|
|
168
|
+
const e = be([p.current], fe);
|
|
169
169
|
return () => {
|
|
170
170
|
e();
|
|
171
171
|
};
|
|
172
|
-
}, [
|
|
172
|
+
}, [p.current]), /* @__PURE__ */ ye(
|
|
173
173
|
"div",
|
|
174
174
|
{
|
|
175
175
|
ref: (e) => {
|
|
176
|
-
O = e,
|
|
176
|
+
O = e, p.current = O;
|
|
177
177
|
},
|
|
178
178
|
className: ge,
|
|
179
179
|
style: J,
|
|
180
180
|
...$e(se, ["autoplay", "autoPlaySpeed"]),
|
|
181
181
|
...ve,
|
|
182
182
|
children: [
|
|
183
|
-
/* @__PURE__ */
|
|
183
|
+
/* @__PURE__ */ I(
|
|
184
184
|
"div",
|
|
185
185
|
{
|
|
186
186
|
ref: f,
|
|
@@ -230,7 +230,7 @@ function Ee(B, O) {
|
|
|
230
230
|
})
|
|
231
231
|
}
|
|
232
232
|
),
|
|
233
|
-
k !== "never" && d > 1 && /* @__PURE__ */
|
|
233
|
+
k !== "never" && d > 1 && /* @__PURE__ */ I(
|
|
234
234
|
"div",
|
|
235
235
|
{
|
|
236
236
|
style: X.indicatorWrapper,
|
|
@@ -238,7 +238,7 @@ function Ee(B, O) {
|
|
|
238
238
|
`${n}-indicator-wrapper`,
|
|
239
239
|
`${n}-indicator-wrapper-${W}`
|
|
240
240
|
),
|
|
241
|
-
children: /* @__PURE__ */
|
|
241
|
+
children: /* @__PURE__ */ I(
|
|
242
242
|
Se,
|
|
243
243
|
{
|
|
244
244
|
className: te,
|
|
@@ -256,7 +256,7 @@ function Ee(B, O) {
|
|
|
256
256
|
)
|
|
257
257
|
}
|
|
258
258
|
),
|
|
259
|
-
U !== "never" && d > 1 && /* @__PURE__ */
|
|
259
|
+
U !== "never" && d > 1 && /* @__PURE__ */ I(
|
|
260
260
|
We,
|
|
261
261
|
{
|
|
262
262
|
className: ne,
|
package/cascader/Cascader.js
CHANGED
|
@@ -3,24 +3,24 @@ import "@unicom-cloud/icons/IconUiCheck";
|
|
|
3
3
|
import "@unicom-cloud/icons/IconUiLeft";
|
|
4
4
|
import "@unicom-cloud/icons/IconUiLoading";
|
|
5
5
|
import "@unicom-cloud/icons/IconUiRight";
|
|
6
|
-
import "
|
|
6
|
+
import "@unicom-cloud/utils/is";
|
|
7
7
|
import "lodash/isArray";
|
|
8
8
|
import "lodash/isFunction";
|
|
9
9
|
import "lodash/isPlainObject";
|
|
10
10
|
import "lodash/isString";
|
|
11
11
|
import "react";
|
|
12
|
-
import "../chunk/
|
|
12
|
+
import "../chunk/CQvM33Vg.js";
|
|
13
13
|
import "../chunk/CQ_WOOmf.js";
|
|
14
14
|
import "../chunk/B4YRLi8r.js";
|
|
15
15
|
import "../chunk/BFTV6myl.js";
|
|
16
|
-
import "../chunk/
|
|
16
|
+
import "../chunk/CXPOj2uy.js";
|
|
17
17
|
import "../chunk/a3hR6zLw.js";
|
|
18
18
|
import "../select-view/index.js";
|
|
19
19
|
import "../trigger/index.js";
|
|
20
|
-
import "
|
|
21
|
-
import "
|
|
22
|
-
import {
|
|
20
|
+
import "@unicom-cloud/utils/class-name";
|
|
21
|
+
import "@unicom-cloud/utils/constant/keyboardCode";
|
|
22
|
+
import { X as k, a as n } from "../chunk/B4mZh-RK.js";
|
|
23
23
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
k as DefaultFieldNames,
|
|
25
|
+
n as default
|
|
26
26
|
};
|
package/cascader/index.js
CHANGED
package/cascader/util.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as s, D as t, B as o, V as r, U as l, H as u, W as S, I as V, Q as m, J as f, K as g } from "../chunk/B4mZh-RK.js";
|
|
2
2
|
export {
|
|
3
3
|
s as PANEL_MODE,
|
|
4
4
|
t as SHOW_CHILD,
|
package/checkbox/Checkbox.js
CHANGED
|
@@ -4,12 +4,12 @@ import "@unicom-cloud/icons/IconUiMinus";
|
|
|
4
4
|
import "lodash/isFunction";
|
|
5
5
|
import "lodash/isNil";
|
|
6
6
|
import "react";
|
|
7
|
-
import "../chunk/
|
|
7
|
+
import "../chunk/CQvM33Vg.js";
|
|
8
8
|
import "../chunk/BFTV6myl.js";
|
|
9
|
-
import "../chunk/
|
|
10
|
-
import "
|
|
9
|
+
import "../chunk/CXPOj2uy.js";
|
|
10
|
+
import "@unicom-cloud/utils/class-name";
|
|
11
11
|
import "../chunk/BKKEev13.js";
|
|
12
|
-
import { G as f, c as k, b as h } from "../chunk/
|
|
12
|
+
import { G as f, c as k, b as h } from "../chunk/B4mZh-RK.js";
|
|
13
13
|
import { default as C } from "./useCheckbox.js";
|
|
14
14
|
export {
|
|
15
15
|
f as CheckboxGroup,
|
package/checkbox/Group.js
CHANGED
|
@@ -2,11 +2,11 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "lodash/isArray";
|
|
3
3
|
import "lodash/isPlainObject";
|
|
4
4
|
import "react";
|
|
5
|
-
import "../chunk/
|
|
6
|
-
import "../chunk/
|
|
7
|
-
import "
|
|
5
|
+
import "../chunk/CQvM33Vg.js";
|
|
6
|
+
import "../chunk/CXPOj2uy.js";
|
|
7
|
+
import "@unicom-cloud/utils/class-name";
|
|
8
8
|
import "../utils/constant.js";
|
|
9
|
-
import { y as s, z as u, G } from "../chunk/
|
|
9
|
+
import { y as s, z as u, G } from "../chunk/B4mZh-RK.js";
|
|
10
10
|
export {
|
|
11
11
|
s as CheckboxGroupContext,
|
|
12
12
|
u as ClearCheckboxGroupContext,
|
package/checkbox/GroupBlock.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../chunk/
|
|
4
|
-
import { c as a } from "../chunk/
|
|
5
|
-
import "
|
|
3
|
+
import "../chunk/CQvM33Vg.js";
|
|
4
|
+
import { c as a } from "../chunk/B4mZh-RK.js";
|
|
5
|
+
import "@unicom-cloud/utils/class-name";
|
|
6
6
|
export {
|
|
7
7
|
a as default
|
|
8
8
|
};
|
package/checkbox/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as e } from "../chunk/
|
|
2
|
-
import { G as p, c as t } from "../chunk/
|
|
1
|
+
import { b as e } from "../chunk/B4mZh-RK.js";
|
|
2
|
+
import { G as p, c as t } from "../chunk/B4mZh-RK.js";
|
|
3
3
|
import { default as c } from "./useCheckbox.js";
|
|
4
4
|
export {
|
|
5
5
|
p as CheckboxGroup,
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { useRef as
|
|
2
|
-
import { isServerRendering as
|
|
3
|
-
import "./
|
|
4
|
-
import "
|
|
5
|
-
|
|
6
|
-
const v = !c && !u(window == null ? void 0 : window.IntersectionObserver);
|
|
1
|
+
import { useRef as c } from "react";
|
|
2
|
+
import { isServerRendering as i } from "../utils/dom.js";
|
|
3
|
+
import "./ClM74To2.js";
|
|
4
|
+
import { isUndefined as u } from "@unicom-cloud/utils/is";
|
|
5
|
+
const v = !i && !u(window == null ? void 0 : window.IntersectionObserver);
|
|
7
6
|
function O(t, s = {}) {
|
|
8
|
-
const r =
|
|
7
|
+
const r = c(), e = () => {
|
|
9
8
|
r.current && (r.current.disconnect(), r.current = null);
|
|
10
9
|
}, o = (n) => {
|
|
11
10
|
n && (e(), v && (r.current = new IntersectionObserver(
|