@unicom-cloud/ui 0.8.66 → 0.8.67
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 +79 -79
- package/Alert.js +46 -46
- package/Anchor.js +1 -1
- package/AutoComplete.js +74 -74
- package/Avatar.js +36 -36
- package/BackTop.js +35 -35
- package/Badge.js +55 -55
- package/Breadcrumb.js +42 -42
- package/Button.js +24 -24
- package/Calendar.js +230 -230
- package/Card.js +18 -18
- package/Carousel.js +165 -165
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +26 -26
- package/Comment.js +18 -18
- package/ConfigProvider.js +2 -2
- package/Copy.js +28 -27
- package/DatePicker.js +872 -871
- package/Descriptions.js +34 -34
- package/Divider.js +19 -19
- package/Draggable.js +27 -26
- package/Drawer.js +1 -1
- package/Dropdown.js +110 -110
- package/Empty.js +3 -3
- package/Form.js +984 -945
- package/Grid.js +34 -34
- package/Icon.js +16 -16
- package/IconHover.js +2 -2
- package/Image.js +2 -2
- package/Input.js +7 -6
- package/InputNumber.js +6 -6
- package/InputTag.js +1 -1
- package/Layout.js +24 -24
- package/Link.js +30 -30
- package/List.js +95 -95
- package/Mentions.js +85 -84
- package/Menu.js +2 -2
- package/Message.js +7 -6
- package/Modal.js +1 -1
- package/Notice.js +14 -3
- package/Notification.js +9 -7
- package/OverflowEllipsis.js +64 -62
- package/PageHeader.js +73 -73
- package/Pagination.js +1 -1
- package/Picker.js +1 -1
- package/Popconfirm.js +60 -60
- package/Popover.js +31 -31
- package/Portal.js +23 -31
- package/Progress.js +22 -22
- package/Radio.js +2 -2
- package/Rate.js +24 -24
- package/ResizeBox.js +274 -271
- package/Result.js +3 -3
- package/Select.js +4 -4
- package/SelectView.js +257 -238
- package/Skeleton.js +46 -46
- package/Slider.js +286 -283
- package/Space.js +28 -28
- package/SpeechSynthesis.js +62 -55
- package/Spin.js +23 -23
- package/Statistic.js +80 -80
- package/Steps.js +67 -67
- package/Switch.js +47 -47
- package/Table.js +1445 -1380
- package/Tabs.js +5 -5
- package/Tag.js +45 -45
- package/TimePicker.js +154 -154
- package/Timeline.js +2 -2
- package/Tooltip.js +80 -79
- package/Transfer.js +103 -102
- package/Tree.js +3 -2
- package/TreeSelect.js +2 -2
- package/Trigger.js +699 -772
- package/Typography.js +756 -6
- package/Upload.js +2 -2
- package/VerificationCode.js +1 -1
- package/Version.js +1 -1
- package/VirtualList.js +1 -1
- package/Watermark.js +1 -1
- package/chunk/{BHgJ5Y3T.js → -UuKKT0Z.js} +29 -29
- package/chunk/{B8QV6E2b.js → AwZqeapI.js} +5 -5
- package/chunk/B5gK1Idp.js +19 -0
- package/chunk/B7FlazNB.js +24 -0
- package/chunk/{DTBtQQ2H.js → BBvWDeuZ.js} +67 -67
- package/chunk/BCftTxEy.js +626 -0
- package/chunk/{CZOP_ZHJ.js → BGny4zSb.js} +60 -60
- package/chunk/BHF15Dog.js +98 -0
- package/chunk/BJQ5UNa-.js +1585 -0
- package/chunk/BP9sYyk9.js +8 -0
- package/chunk/BUdtVdnv.js +38 -0
- package/chunk/BVQlOzTS.js +11 -0
- package/chunk/B__a_gb_.js +519 -0
- package/chunk/BbEYToV1.js +10 -0
- package/chunk/BbdDQAnm.js +15 -0
- package/chunk/BdUcgWdu.js +11 -0
- package/chunk/BfbXSG70.js +26 -0
- package/chunk/BndfNLK4.js +186 -0
- package/chunk/BoMCZV6K.js +1098 -0
- package/chunk/Br0B6y1T.js +18 -0
- package/chunk/BrOW642m.js +130 -0
- package/chunk/BxUs8_Cr.js +9 -0
- package/chunk/{CcV4wQB1.js → C42LIMP9.js} +244 -242
- package/chunk/C4YkFMzC.js +778 -0
- package/chunk/{Bh23P4l7.js → C9Wcraj7.js} +21 -21
- package/chunk/{4-gvEY5y.js → CANgSlh3.js} +10 -10
- package/chunk/CJ_o9tZM.js +5 -0
- package/chunk/{DNAigumg.js → CK5m7rLl.js} +36 -36
- package/chunk/{CANaGbGR.js → CKNyIitu.js} +57 -56
- package/chunk/CLiqJm_T.js +10 -0
- package/chunk/{BnSVm1YC.js → CNmmhbCn.js} +32 -32
- package/chunk/{BFipyA67.js → CP0odX99.js} +51 -51
- package/chunk/CPT-OZH2.js +14 -0
- package/chunk/CVSF8p0O.js +698 -0
- package/chunk/C_agcwLN.js +31 -0
- package/chunk/{jhQQCFMn.js → C_gJWGGh.js} +201 -201
- package/chunk/{Bc7t9jkb.js → CaasmWg_.js} +11 -11
- package/chunk/Ce1j9KTi.js +6 -0
- package/chunk/{D_-UD4vO.js → Cf5QNhkG.js} +18 -18
- package/chunk/CkNSv2U7.js +56 -0
- package/chunk/Cp2f70gB.js +9 -0
- package/chunk/CpegYjdC.js +16 -0
- package/chunk/CucI3KZr.js +20 -0
- package/chunk/CwoFBTYz.js +11 -0
- package/chunk/D2KPqPhV.js +17 -0
- package/chunk/D7NyvE5f.js +17 -0
- package/chunk/D8oTPQ2H.js +384 -0
- package/chunk/{CLBavO5c.js → DC1iHEiy.js} +87 -87
- package/chunk/{DnvO8A0Z.js → DFrfrmfK.js} +120 -119
- package/chunk/DGTIZ_0O.js +6 -0
- package/chunk/DJfpiZn_.js +25 -0
- package/chunk/DKr2_PYd.js +34 -0
- package/chunk/DNUz6zgo.js +11 -0
- package/chunk/DRtM649q.js +11 -0
- package/chunk/DS_mUWn6.js +41 -0
- package/chunk/DU6bs_19.js +10 -0
- package/chunk/DWdbwz22.js +10 -0
- package/chunk/DcveZuqd.js +6 -0
- package/chunk/DdVFknul.js +24 -0
- package/chunk/DgRfikwe.js +16 -0
- package/chunk/{znkyQ-HR.js → DkyR2EfG.js} +66 -66
- package/chunk/{DUeHQKtx.js → DleQ5HwG.js} +42 -42
- package/chunk/DnrZEnQ_.js +27 -0
- package/chunk/DsRSHWtX.js +1025 -0
- package/chunk/Dz5BdmXo.js +270 -0
- package/chunk/EANe01DF.js +1030 -0
- package/chunk/{CwhPMMWy.js → Ey4YJCkX.js} +7 -7
- package/chunk/GoNx5R4F.js +873 -0
- package/chunk/HDUQku8d.js +20 -0
- package/chunk/HrAP__Hi.js +25 -0
- package/chunk/JPPo5nY_.js +9 -0
- package/chunk/{Du-bw6qA.js → SLWP34OR.js} +90 -85
- package/chunk/VVKtwaGf.js +278 -0
- package/chunk/WPNpLxSI.js +16 -0
- package/chunk/{CPvvjMwZ.js → WpO_DsK4.js} +49 -48
- package/chunk/fdU3ang6.js +14 -0
- package/chunk/{DQAot004.js → fkclKOAL.js} +298 -292
- package/chunk/flvYlqx3.js +22 -0
- package/chunk/kTDayEpF.js +288 -0
- package/chunk/{CssIjN1g.js → pZoNQ75H.js} +31 -31
- package/chunk/qFf1w_Jq.js +8 -0
- package/chunk/{CHnFKgbk.js → w-kM1L5W.js} +155 -155
- package/hooks/index.js +53 -49
- package/hooks/useComputedState.js +2 -10
- package/hooks/useCreate.js +2 -7
- package/hooks/useForceUpdate.js +2 -7
- package/hooks/useId.js +2 -10
- package/hooks/useInView.js +2 -30
- package/hooks/useIntersectionObserver.js +2 -23
- package/hooks/useInterval.js +2 -17
- package/hooks/useIsFirstRender.js +2 -9
- package/hooks/useIsomorphicLayoutEffect.js +2 -5
- package/hooks/useKeyboardEvent.js +2 -16
- package/hooks/useMedia.js +2 -15
- package/hooks/useMergeProps.js +2 -18
- package/hooks/useMergeValue.js +2 -19
- package/hooks/useOnlineStatus.js +4 -0
- package/hooks/useOverflowHidden.js +2 -25
- package/hooks/useOverrideRef.js +2 -13
- package/hooks/usePersistCallback.js +2 -13
- package/hooks/usePrefersColorSchemeDark.js +4 -0
- package/hooks/usePrevious.js +2 -9
- package/hooks/useRefs.js +2 -9
- package/hooks/useResizeObserver.js +2 -15
- package/hooks/useStateCallback.js +2 -15
- package/hooks/useStateWithPromise.js +2 -24
- package/hooks/useUpdateEffect.js +2 -9
- package/hooks/useVerificationCode.js +73 -0
- package/hooks/useWatch.js +2 -10
- package/hooks/{use-watermark.js → useWatermark.js} +27 -26
- package/hooks/useWindowSize.js +2 -20
- package/index.js +571 -584
- package/locale/en-US.js +4 -2
- package/locale/interface.js +1 -4
- package/locale/ja-JP.js +3 -1
- package/locale/tr-TR.js +1 -1
- package/locale/zh-CN.js +3 -1
- package/locale/zh-HK.js +3 -1
- package/locale/zh-TW.js +3 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/types/anchor/util.d.ts +1 -1
- package/types/button/index.d.ts +2 -2
- package/types/color-picker/hooks/useColorPicker.d.ts +2 -2
- package/types/form/Control-old.d.ts +56 -0
- package/types/form/Control.d.ts +6 -54
- package/types/form/FormItem.d.ts +1 -1
- package/types/form/store.d.ts +0 -1
- package/types/hooks/index.d.ts +2 -0
- package/types/hooks/useComputedState.d.ts +1 -4
- package/types/hooks/useCreate.d.ts +1 -2
- package/types/hooks/useForceUpdate.d.ts +1 -2
- package/types/hooks/useId.d.ts +1 -2
- package/types/hooks/useInView.d.ts +1 -11
- package/types/hooks/useIntersectionObserver.d.ts +1 -7
- package/types/hooks/useInterval.d.ts +1 -2
- package/types/hooks/useIsFirstRender.d.ts +1 -2
- package/types/hooks/useIsomorphicLayoutEffect.d.ts +1 -3
- package/types/hooks/useKeyboardEvent.d.ts +1 -8
- package/types/hooks/useMedia.d.ts +1 -2
- package/types/hooks/useMergeProps.d.ts +1 -5
- package/types/hooks/useMergeValue.d.ts +1 -6
- package/types/hooks/useOnlineStatus.d.ts +1 -0
- package/types/hooks/useOverflowHidden.d.ts +1 -5
- package/types/hooks/useOverrideRef.d.ts +1 -6
- package/types/hooks/usePersistCallback.d.ts +1 -2
- package/types/hooks/usePrefersColorSchemeDark.d.ts +1 -0
- package/types/hooks/usePrevious.d.ts +1 -3
- package/types/hooks/useRefs.d.ts +1 -2
- package/types/hooks/useResizeObserver.d.ts +1 -6
- package/types/hooks/useStateCallback.d.ts +1 -5
- package/types/hooks/useStateWithPromise.d.ts +1 -2
- package/types/hooks/useUpdateEffect.d.ts +1 -3
- package/types/hooks/useWatch.d.ts +1 -3
- package/types/hooks/useWindowSize.d.ts +1 -5
- package/types/image/interface.d.ts +1 -0
- package/types/index.d.ts +157 -86
- package/types/input/Input.d.ts +1 -1
- package/types/input/Textarea.d.ts +2 -2
- package/types/locale/en-US.d.ts +2 -0
- package/types/locale/interface.d.ts +1 -2
- package/types/locale/ja-JP.d.ts +2 -0
- package/types/locale/zh-CN.d.ts +2 -0
- package/types/locale/zh-HK.d.ts +2 -0
- package/types/locale/zh-TW.d.ts +2 -0
- package/types/menu/context.d.ts +1 -1
- package/types/message/index.d.ts +14 -14
- package/types/message/interface.d.ts +2 -0
- package/types/modal/config.d.ts +0 -1
- package/types/modal/interface.d.ts +0 -1
- package/types/notice/index.d.ts +2 -27
- package/types/notification/index.d.ts +15 -16
- package/types/notification/interface.d.ts +2 -0
- package/types/notification/withNotification.d.ts +2 -0
- package/types/select/util.d.ts +1 -2
- package/types/select-view/interface.d.ts +2 -1
- package/types/speech-synthesis/index.d.ts +1 -1
- package/types/table/constant.d.ts +2 -0
- package/types/table/hook/useThResizable.d.ts +7 -0
- package/types/table/index.d.ts +10 -1
- package/types/table/style/index.d.ts +1 -0
- package/types/table/th-resizable/index.d.ts +2 -0
- package/types/table/thead/Column.d.ts +1 -2
- package/types/tree/Tree.d.ts +12 -67
- package/types/tree-select/Select.d.ts +2 -2
- package/types/trigger/index.d.ts +2 -120
- package/types/trigger/interface.d.ts +2 -1
- package/types/utils/CSSTransition.d.ts +2 -3
- package/types/utils/caseName.d.ts +1 -1
- package/types/utils/className.d.ts +1 -1
- package/types/utils/constant.d.ts +2 -2
- package/types/utils/copy.d.ts +1 -1
- package/types/utils/dayjs.d.ts +1 -21
- package/types/utils/dom.d.ts +1 -6
- package/types/utils/fileToURL.d.ts +1 -1
- package/types/utils/fillNBSP.d.ts +1 -1
- package/types/utils/getHighlightText.d.ts +1 -5
- package/types/utils/getHotkeyHandler.d.ts +1 -8
- package/types/utils/getStringLength.d.ts +1 -1
- package/types/utils/include.d.ts +1 -1
- package/types/utils/index.d.ts +3 -4
- package/types/utils/is.d.ts +1 -16
- package/types/utils/keyboardCode.d.ts +3 -0
- package/types/utils/lodash.d.ts +1 -17
- package/types/utils/mergeProps.d.ts +1 -1
- package/types/utils/mergedToString.d.ts +1 -1
- package/types/utils/omit.d.ts +1 -1
- package/types/utils/pad.d.ts +1 -2
- package/types/utils/pick.d.ts +2 -4
- package/types/utils/reactDOM.d.ts +1 -7
- package/types/utils/resizeObserverEffect.d.ts +2 -0
- package/types/utils/saveAs.d.ts +1 -1
- package/types/utils/screenfull.d.ts +2 -0
- package/types/utils/scrollIntoView.d.ts +1 -2
- package/types/utils/style.d.ts +1 -3
- package/types/utils/throttleByRaf.d.ts +1 -5
- package/types/utils/throttleByRaf2.d.ts +1 -0
- package/types/utils/warning.d.ts +1 -2
- package/types/version/index.d.ts +1 -1
- package/utils/CSSTransition.js +2 -6
- package/utils/className.js +2 -2
- package/utils/constant.js +8 -9
- package/utils/contextHolder.js +1 -1
- package/utils/copy.js +1 -1
- package/utils/dayjs.js +14 -173
- package/utils/dom.js +33 -29
- package/utils/fillNBSP.js +2 -4
- package/utils/getHighlightText.js +2 -38
- package/utils/getHotkeyHandler.js +2 -25
- package/utils/getStringLength.js +2 -7
- package/utils/include.js +2 -7
- package/utils/index.js +237 -240
- package/utils/is.js +116 -156
- package/utils/keyboardCode.js +27 -0
- package/utils/mergeProps.js +2 -9
- package/utils/mergedToString.js +2 -13
- package/utils/omit.js +2 -9
- package/utils/pad.js +12 -12
- package/utils/pick.js +4 -15
- package/utils/reactDOM.js +3 -54
- package/utils/resizeObserverEffect.js +4 -0
- package/utils/saveAs.js +1 -1
- package/utils/screenfull.js +4 -0
- package/utils/scrollIntoView.js +2 -21
- package/utils/style.js +12 -11
- package/utils/throttleByRaf.js +13 -12
- package/utils/throttleByRaf2.js +5 -0
- package/utils/warning.js +5 -4
- package/NotificationBase.js +0 -53
- package/chunk/-zpSUpGE.js +0 -1501
- package/chunk/BAWsPQBM.js +0 -11
- package/chunk/BIT0j3HT.js +0 -269
- package/chunk/BbLKnaNO.js +0 -871
- package/chunk/Bfhv56O2.js +0 -638
- package/chunk/C2lIz2F9.js +0 -60
- package/chunk/C6QWSzsM.js +0 -376
- package/chunk/CVkHTbic.js +0 -995
- package/chunk/CeGEvXby.js +0 -278
- package/chunk/D3NFxdmG.js +0 -518
- package/chunk/DApXtulb.js +0 -1102
- package/chunk/DPByB1ab.js +0 -698
- package/chunk/DV1Ab_cG.js +0 -284
- package/chunk/dBnNCOIU.js +0 -778
- package/chunk/it8qlDZ3.js +0 -1032
- package/chunk/l0sNRNKZ.js +0 -1
- package/chunk/te_43YrB.js +0 -776
- package/hooks/use-verification-code.js +0 -73
- package/types/notification-base/index.d.ts +0 -15
- package/types/notification-base/style/index.d.ts +0 -2
- package/types/trigger/Portal.d.ts +0 -7
- package/types/utils/keyCode.d.ts +0 -45
- package/types/utils/raf.d.ts +0 -3
- package/types/utils/throttleByRafV2.d.ts +0 -5
- package/utils/keyCode.js +0 -12
- package/utils/raf.js +0 -19
- package/utils/throttleByRafV2.js +0 -16
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as P, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import v, { useContext as D, useRef as j, useEffect as k } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { a as S } from "./BJQ5UNa-.js";
|
|
4
|
+
import { c as F } from "./B5gK1Idp.js";
|
|
5
5
|
import E from "../Spin.js";
|
|
6
|
-
import {
|
|
6
|
+
import { m as b } from "./JPPo5nY_.js";
|
|
7
7
|
const L = {
|
|
8
8
|
dotType: "solid",
|
|
9
9
|
lineType: "solid"
|
|
10
10
|
};
|
|
11
|
-
function
|
|
11
|
+
function O(f, u) {
|
|
12
12
|
const { getPrefixCls: d, componentConfig: r } = D(S), i = F(
|
|
13
13
|
f,
|
|
14
14
|
L,
|
|
@@ -18,11 +18,11 @@ function M(f, u) {
|
|
|
18
18
|
className: g,
|
|
19
19
|
style: T,
|
|
20
20
|
label: $,
|
|
21
|
-
position:
|
|
21
|
+
position: x,
|
|
22
22
|
dot: h,
|
|
23
23
|
dotColor: c,
|
|
24
24
|
dotType: a,
|
|
25
|
-
lineType:
|
|
25
|
+
lineType: I,
|
|
26
26
|
lineColor: N,
|
|
27
27
|
direction: p,
|
|
28
28
|
labelPosition: o,
|
|
@@ -38,7 +38,7 @@ function M(f, u) {
|
|
|
38
38
|
m && y();
|
|
39
39
|
}, [i]);
|
|
40
40
|
const R = $ && /* @__PURE__ */ l("div", { className: `${e}-item-label`, children: $ });
|
|
41
|
-
return /* @__PURE__ */
|
|
41
|
+
return /* @__PURE__ */ P(
|
|
42
42
|
"div",
|
|
43
43
|
{
|
|
44
44
|
ref: u,
|
|
@@ -47,20 +47,20 @@ function M(f, u) {
|
|
|
47
47
|
className: b(
|
|
48
48
|
`${e}-item`,
|
|
49
49
|
{
|
|
50
|
-
[`${e}-item-${p}-${
|
|
50
|
+
[`${e}-item-${p}-${x}`]: p,
|
|
51
51
|
[`${e}-item-label-${o}`]: o
|
|
52
52
|
},
|
|
53
53
|
g
|
|
54
54
|
),
|
|
55
55
|
style: T,
|
|
56
56
|
children: [
|
|
57
|
-
/* @__PURE__ */
|
|
57
|
+
/* @__PURE__ */ P("div", { className: `${e}-item-dot-wrapper`, children: [
|
|
58
58
|
/* @__PURE__ */ l(
|
|
59
59
|
"div",
|
|
60
60
|
{
|
|
61
61
|
className: `${e}-item-dot-line ${e}-item-dot-line-is-${p}`,
|
|
62
62
|
style: {
|
|
63
|
-
[`${p === "horizontal" ? "borderTopStyle" : "borderLeftStyle"}`]:
|
|
63
|
+
[`${p === "horizontal" ? "borderTopStyle" : "borderLeftStyle"}`]: I,
|
|
64
64
|
...N ? { borderColor: N } : {}
|
|
65
65
|
}
|
|
66
66
|
}
|
|
@@ -76,7 +76,7 @@ function M(f, u) {
|
|
|
76
76
|
}
|
|
77
77
|
) })
|
|
78
78
|
] }),
|
|
79
|
-
/* @__PURE__ */
|
|
79
|
+
/* @__PURE__ */ P("div", { className: `${e}-item-content-wrapper`, children: [
|
|
80
80
|
n && /* @__PURE__ */ l("div", { className: `${e}-item-content`, children: n }),
|
|
81
81
|
o !== "relative" && R
|
|
82
82
|
] }),
|
|
@@ -85,10 +85,10 @@ function M(f, u) {
|
|
|
85
85
|
}
|
|
86
86
|
);
|
|
87
87
|
}
|
|
88
|
-
const
|
|
88
|
+
const X = v.forwardRef(O), C = X;
|
|
89
89
|
C.displayName = "TimelineItem";
|
|
90
90
|
C.isTimelineItem = !0;
|
|
91
|
-
const
|
|
91
|
+
const Y = (f, u, d, r) => {
|
|
92
92
|
let i = ["left", "right"];
|
|
93
93
|
r === "horizontal" && (i = ["top", "bottom"]);
|
|
94
94
|
const n = d === "alternate" ? f || i[u % 2] : d;
|
|
@@ -99,7 +99,7 @@ const X = (f, u, d, r) => {
|
|
|
99
99
|
pendingDot: /* @__PURE__ */ l(E, { size: 12 }),
|
|
100
100
|
labelPosition: "same"
|
|
101
101
|
};
|
|
102
|
-
function
|
|
102
|
+
function q(f, u) {
|
|
103
103
|
const { getPrefixCls: d, componentConfig: r, rtl: i } = D(S);
|
|
104
104
|
i && (z.mode = "right");
|
|
105
105
|
const n = F(
|
|
@@ -110,14 +110,14 @@ function Y(f, u) {
|
|
|
110
110
|
className: g,
|
|
111
111
|
mode: T,
|
|
112
112
|
reverse: $,
|
|
113
|
-
children:
|
|
113
|
+
children: x,
|
|
114
114
|
style: h,
|
|
115
115
|
direction: c,
|
|
116
116
|
pending: a,
|
|
117
|
-
labelPosition:
|
|
117
|
+
labelPosition: I,
|
|
118
118
|
pendingDot: N,
|
|
119
119
|
...p
|
|
120
|
-
} = n, o = d("timeline"), m = v.Children.map(
|
|
120
|
+
} = n, o = d("timeline"), m = v.Children.map(x, (t) => t && t.type && t.type.isTimelineItem ? t : null) || [];
|
|
121
121
|
return a && m.push(
|
|
122
122
|
/* @__PURE__ */ l(C, { lineType: "dashed", dot: N, children: a === !0 ? "" : a })
|
|
123
123
|
), $ && m.reverse(), /* @__PURE__ */ l(
|
|
@@ -144,8 +144,8 @@ function Y(f, u) {
|
|
|
144
144
|
className: b(t.props.className, {
|
|
145
145
|
[`${o}-item-last`]: m.length - 1 === s
|
|
146
146
|
}),
|
|
147
|
-
labelPosition:
|
|
148
|
-
position:
|
|
147
|
+
labelPosition: I,
|
|
148
|
+
position: Y(e, s, T, c),
|
|
149
149
|
direction: c,
|
|
150
150
|
lineType: y
|
|
151
151
|
});
|
|
@@ -153,7 +153,7 @@ function Y(f, u) {
|
|
|
153
153
|
}
|
|
154
154
|
);
|
|
155
155
|
}
|
|
156
|
-
const
|
|
156
|
+
const A = v.forwardRef(q), W = A;
|
|
157
157
|
W.displayName = "Timeline";
|
|
158
158
|
W.Item = C;
|
|
159
159
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import M from "lodash/isFunction";
|
|
2
2
|
import O from "lodash/isString";
|
|
3
|
-
const
|
|
3
|
+
const h = (t) => (i) => Math.pow(i, t), a = (t) => (i) => 1 - Math.abs(Math.pow(i - 1, t)), o = (t) => (i) => i < 0.5 ? h(t)(i * 2) / 2 : a(t)(i * 2 - 1) / 2 + 0.5, q = (t) => t, y = h(2), b = a(2), g = o(2), F = h(3), k = a(3), w = o(3), P = h(4), S = a(4), T = o(4), A = h(5), D = a(5), U = o(5), x = (t) => 1 + Math.sin(Math.PI / 2 * t - Math.PI / 2), j = (t) => Math.sin(Math.PI / 2 * t), v = (t) => (1 + Math.sin(Math.PI * t - Math.PI / 2)) / 2, u = (t) => t < 1 / 2.75 ? 7.5625 * t * t : t < 2 / 2.75 ? (t -= 1.5 / 2.75, 7.5625 * t * t + 0.75) : t < 2.5 / 2.75 ? (t -= 2.25 / 2.75, 7.5625 * t * t + 0.9375) : (t -= 2.625 / 2.75, 7.5625 * t * t + 0.984375), l = (t) => 1 - u(1 - t), B = (t) => t < 0.5 ? l(t * 2) * 0.5 : u(t * 2 - 1) * 0.5 + 0.5, d = {
|
|
4
4
|
linear: q,
|
|
5
5
|
quadIn: y,
|
|
6
6
|
quadOut: b,
|
|
@@ -14,9 +14,9 @@ const e = (t) => (i) => Math.pow(i, t), a = (t) => (i) => 1 - Math.abs(Math.pow(
|
|
|
14
14
|
quintIn: A,
|
|
15
15
|
quintOut: D,
|
|
16
16
|
quintInOut: U,
|
|
17
|
-
sineIn:
|
|
18
|
-
sineOut:
|
|
19
|
-
sineInOut:
|
|
17
|
+
sineIn: x,
|
|
18
|
+
sineOut: j,
|
|
19
|
+
sineInOut: v,
|
|
20
20
|
bounceOut: u,
|
|
21
21
|
bounceIn: l,
|
|
22
22
|
bounceInOut: B
|
|
@@ -28,16 +28,16 @@ class z {
|
|
|
28
28
|
to: s,
|
|
29
29
|
duration: m,
|
|
30
30
|
delay: c,
|
|
31
|
-
easing:
|
|
31
|
+
easing: r,
|
|
32
32
|
onStart: f,
|
|
33
33
|
onUpdate: p,
|
|
34
34
|
onFinish: I
|
|
35
35
|
} = i;
|
|
36
|
-
for (let
|
|
37
|
-
s[
|
|
38
|
-
for (let
|
|
39
|
-
n[
|
|
40
|
-
this.from = n, this.to = s, this.duration = m || 500, this.delay = c || 0, M(
|
|
36
|
+
for (let e in n)
|
|
37
|
+
s[e] === void 0 && (s[e] = n[e]);
|
|
38
|
+
for (let e in s)
|
|
39
|
+
n[e] === void 0 && (n[e] = s[e]);
|
|
40
|
+
this.from = n, this.to = s, this.duration = m || 500, this.delay = c || 0, M(r) ? this.easing = r : O(r) && (this.easing = d[r]), this.easing || (this.easing = d.linear), this.onStart = f, this.onUpdate = p || function() {
|
|
41
41
|
}, this.onFinish = I, this.startTime = Date.now() + this.delay, this.started = !1, this.finished = !1, this.timer = null, this.keys = {};
|
|
42
42
|
}
|
|
43
43
|
update() {
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import { jsx as z } from "react/jsx-runtime";
|
|
2
2
|
import Q from "lodash/isNumber";
|
|
3
3
|
import U from "lodash/isPlainObject";
|
|
4
|
-
import { createContext as L, forwardRef as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import _ from "
|
|
4
|
+
import { createContext as L, forwardRef as D, useContext as H, useMemo as W, useState as X, useRef as Y, useEffect as Z } from "react";
|
|
5
|
+
import { a as F } from "./BJQ5UNa-.js";
|
|
6
|
+
import { c as M } from "./B5gK1Idp.js";
|
|
7
|
+
import { m as q } from "./JPPo5nY_.js";
|
|
8
|
+
import { c as _ } from "./BdUcgWdu.js";
|
|
9
9
|
import B, { responsiveArray as E } from "../utils/responsiveObserve.js";
|
|
10
10
|
const I = L({}), mt = L({}), yt = L(
|
|
11
11
|
{}
|
|
12
12
|
), tt = {
|
|
13
13
|
span: 24
|
|
14
14
|
};
|
|
15
|
-
function
|
|
15
|
+
function T(a) {
|
|
16
16
|
return typeof a == "string" && /\d+[px|%|em|rem|]{1}/.test(a) ? `0 0 ${a}` : a;
|
|
17
17
|
}
|
|
18
18
|
function rt(a, G) {
|
|
19
|
-
const { getPrefixCls: P, componentConfig:
|
|
19
|
+
const { getPrefixCls: P, componentConfig: l, rtl: S } = H(F), k = M(
|
|
20
20
|
a,
|
|
21
21
|
tt,
|
|
22
|
-
|
|
23
|
-
), { gutter:
|
|
22
|
+
l == null ? void 0 : l["Grid.Col"]
|
|
23
|
+
), { gutter: f, div: m } = H(I), {
|
|
24
24
|
className: N,
|
|
25
25
|
style: y,
|
|
26
26
|
children: A,
|
|
27
27
|
span: j,
|
|
28
28
|
offset: o,
|
|
29
|
-
order:
|
|
30
|
-
pull:
|
|
29
|
+
order: R,
|
|
30
|
+
pull: v,
|
|
31
31
|
push: w,
|
|
32
32
|
xs: g,
|
|
33
33
|
sm: x,
|
|
34
|
-
md:
|
|
34
|
+
md: u,
|
|
35
35
|
lg: C,
|
|
36
|
-
xl:
|
|
36
|
+
xl: c,
|
|
37
37
|
xxl: d,
|
|
38
38
|
xxxl: $,
|
|
39
39
|
flex: t,
|
|
40
40
|
...i
|
|
41
41
|
} = k;
|
|
42
42
|
function b(n, s) {
|
|
43
|
-
const O = { xs: g, sm: x, md:
|
|
43
|
+
const O = { xs: g, sm: x, md: u, lg: C, xl: c, xxl: d, xxxl: $ };
|
|
44
44
|
return Object.keys(O).forEach((p) => {
|
|
45
45
|
const r = O[p];
|
|
46
46
|
Q(r) ? r >= 0 && (s[`${n}-${p}-${r}`] = !0) : U(r) && (s[`${n}-${p}-${r.span}`] = r.span, s[`${n}-${p}-offset-${r.offset}`] = r.offset, s[`${n}-${p}-order-${r.order}`] = r.order, s[`${n}-${p}-pull-${r.pull}`] = r.pull, s[`${n}-${p}-push-${r.push}`] = r.push);
|
|
@@ -49,21 +49,21 @@ function rt(a, G) {
|
|
|
49
49
|
const e = P("col");
|
|
50
50
|
let V = {
|
|
51
51
|
[`${e}`]: !m,
|
|
52
|
-
[`${e}-order-${
|
|
53
|
-
[`${e}-${j}`]: !m && !g && !x && !
|
|
52
|
+
[`${e}-order-${R}`]: R,
|
|
53
|
+
[`${e}-${j}`]: !m && !g && !x && !u && !C && !c && !d && !$,
|
|
54
54
|
[`${e}-offset-${o}`]: o,
|
|
55
|
-
[`${e}-pull-${
|
|
55
|
+
[`${e}-pull-${v}`]: v,
|
|
56
56
|
[`${e}-push-${w}`]: w,
|
|
57
57
|
[`${e}-rtl`]: S
|
|
58
58
|
};
|
|
59
59
|
V = b(e, V);
|
|
60
60
|
const J = q(t ? e : V, N), h = {};
|
|
61
|
-
if (Array.isArray(
|
|
62
|
-
const n =
|
|
61
|
+
if (Array.isArray(f) && !m) {
|
|
62
|
+
const n = f[0] && f[0] / 2 || 0, s = f[1] && f[1] / 2 || 0;
|
|
63
63
|
n && (h.paddingLeft = n, h.paddingRight = n), s && (h.paddingTop = s, h.paddingBottom = s);
|
|
64
64
|
}
|
|
65
65
|
const K = W(
|
|
66
|
-
() =>
|
|
66
|
+
() => T(t) ? { flex: T(t) } : {},
|
|
67
67
|
[t]
|
|
68
68
|
);
|
|
69
69
|
return /* @__PURE__ */ z(
|
|
@@ -81,7 +81,7 @@ function rt(a, G) {
|
|
|
81
81
|
}
|
|
82
82
|
);
|
|
83
83
|
}
|
|
84
|
-
const ot =
|
|
84
|
+
const ot = D(rt);
|
|
85
85
|
ot.displayName = "Col";
|
|
86
86
|
const et = {
|
|
87
87
|
gutter: 0,
|
|
@@ -89,11 +89,11 @@ const et = {
|
|
|
89
89
|
justify: "start"
|
|
90
90
|
};
|
|
91
91
|
function st(a, G) {
|
|
92
|
-
const { getPrefixCls: P, componentConfig:
|
|
92
|
+
const { getPrefixCls: P, componentConfig: l, rtl: S } = H(F), k = M(
|
|
93
93
|
a,
|
|
94
94
|
et,
|
|
95
|
-
|
|
96
|
-
), { className:
|
|
95
|
+
l == null ? void 0 : l["Grid.Row"]
|
|
96
|
+
), { className: f, style: m, children: N, div: y, align: A, justify: j, gutter: o, ...R } = k, [v, w] = X({
|
|
97
97
|
xs: !0,
|
|
98
98
|
sm: !0,
|
|
99
99
|
md: !0,
|
|
@@ -112,7 +112,7 @@ function st(a, G) {
|
|
|
112
112
|
if (typeof t == "object")
|
|
113
113
|
for (let b = 0; b < E.length; b++) {
|
|
114
114
|
const e = E[b];
|
|
115
|
-
if (
|
|
115
|
+
if (v[e] && t[e] !== void 0) {
|
|
116
116
|
i = t[e];
|
|
117
117
|
break;
|
|
118
118
|
}
|
|
@@ -121,29 +121,29 @@ function st(a, G) {
|
|
|
121
121
|
i = t;
|
|
122
122
|
return i;
|
|
123
123
|
}
|
|
124
|
-
const
|
|
124
|
+
const u = P("row"), C = q(
|
|
125
125
|
{
|
|
126
|
-
[`${
|
|
127
|
-
[`${
|
|
128
|
-
[`${
|
|
129
|
-
[`${
|
|
126
|
+
[`${u}`]: !y,
|
|
127
|
+
[`${u}-align-${A}`]: A,
|
|
128
|
+
[`${u}-justify-${j}`]: j,
|
|
129
|
+
[`${u}-rtl`]: S
|
|
130
130
|
},
|
|
131
|
-
|
|
132
|
-
),
|
|
131
|
+
f
|
|
132
|
+
), c = {}, d = x(
|
|
133
133
|
Array.isArray(o) ? o[0] : o
|
|
134
134
|
), $ = x(Array.isArray(o) ? o[1] : 0);
|
|
135
135
|
if ((d || $) && !y) {
|
|
136
136
|
const t = -d / 2, i = -$ / 2;
|
|
137
|
-
t && (
|
|
137
|
+
t && (c.marginLeft = t, c.marginRight = t), i && (c.marginTop = i, c.marginBottom = i);
|
|
138
138
|
}
|
|
139
139
|
return /* @__PURE__ */ z(
|
|
140
140
|
"div",
|
|
141
141
|
{
|
|
142
142
|
ref: G,
|
|
143
|
-
..._(
|
|
143
|
+
..._(R, ["gutter"]),
|
|
144
144
|
style: {
|
|
145
145
|
...m,
|
|
146
|
-
...
|
|
146
|
+
...c
|
|
147
147
|
},
|
|
148
148
|
className: C,
|
|
149
149
|
children: /* @__PURE__ */ z(
|
|
@@ -156,7 +156,7 @@ function st(a, G) {
|
|
|
156
156
|
}
|
|
157
157
|
);
|
|
158
158
|
}
|
|
159
|
-
const nt =
|
|
159
|
+
const nt = D(st);
|
|
160
160
|
nt.displayName = "Row";
|
|
161
161
|
export {
|
|
162
162
|
ot as C,
|
|
@@ -9,13 +9,13 @@ const _ = (t) => typeof t == "object" && t != null && t.nodeType === 1, $ = (t,
|
|
|
9
9
|
}, nt = (t) => {
|
|
10
10
|
const e = ot(t);
|
|
11
11
|
return e ? e.clientHeight < t.scrollHeight || e.clientWidth < t.scrollWidth : !1;
|
|
12
|
-
},
|
|
12
|
+
}, j = (t, e) => {
|
|
13
13
|
if (t.clientHeight < t.scrollHeight || t.clientWidth < t.scrollWidth) {
|
|
14
14
|
const l = getComputedStyle(t, null);
|
|
15
15
|
return $(l.overflowY, e) || $(l.overflowX, e) || nt(t);
|
|
16
16
|
}
|
|
17
17
|
return !1;
|
|
18
|
-
},
|
|
18
|
+
}, L = (t, e, l, h, u, n, r, d) => n < t && r > e || n > t && r < e ? 0 : n <= t && d <= l || r >= e && d >= l ? n - t - h : r > e && d < l || n < t && d > l ? r - e + u : 0, rt = (t) => t.parentElement ?? (t.getRootNode().host || null), lt = (t) => {
|
|
19
19
|
const e = window.getComputedStyle(t);
|
|
20
20
|
return {
|
|
21
21
|
top: parseFloat(e.scrollMarginTop) || 0,
|
|
@@ -27,99 +27,100 @@ const _ = (t) => typeof t == "object" && t != null && t.nodeType === 1, $ = (t,
|
|
|
27
27
|
var l, h;
|
|
28
28
|
if (typeof document > "u")
|
|
29
29
|
return [];
|
|
30
|
-
const { scrollMode:
|
|
30
|
+
const { scrollMode: u, block: n, inline: r, boundary: d, skipOverflowHiddenElements: V } = e, et = typeof d == "function" ? d : (W) => W !== d;
|
|
31
31
|
if (!_(t))
|
|
32
32
|
throw new TypeError("Invalid target");
|
|
33
|
-
const
|
|
34
|
-
let
|
|
35
|
-
for (; _(
|
|
36
|
-
if (
|
|
37
|
-
|
|
33
|
+
const D = document.scrollingElement || document.documentElement, M = [];
|
|
34
|
+
let a = t;
|
|
35
|
+
for (; _(a) && et(a); ) {
|
|
36
|
+
if (a = rt(a), a === D) {
|
|
37
|
+
M.push(a);
|
|
38
38
|
break;
|
|
39
39
|
}
|
|
40
|
-
|
|
40
|
+
a != null && a === document.body && j(a) && !j(document.documentElement) || a != null && j(a, V) && M.push(a);
|
|
41
41
|
}
|
|
42
|
-
const
|
|
42
|
+
const p = ((l = window.visualViewport) == null ? void 0 : l.width) ?? innerWidth, g = ((h = window.visualViewport) == null ? void 0 : h.height) ?? innerHeight, { scrollX: m, scrollY: b } = window, {
|
|
43
43
|
height: w,
|
|
44
44
|
width: y,
|
|
45
|
-
top:
|
|
46
|
-
right:
|
|
47
|
-
bottom:
|
|
48
|
-
left:
|
|
45
|
+
top: H,
|
|
46
|
+
right: O,
|
|
47
|
+
bottom: X,
|
|
48
|
+
left: v
|
|
49
49
|
} = t.getBoundingClientRect(), {
|
|
50
50
|
top: J,
|
|
51
51
|
right: K,
|
|
52
52
|
bottom: P,
|
|
53
53
|
left: Q
|
|
54
54
|
} = lt(t);
|
|
55
|
-
let
|
|
56
|
-
const
|
|
57
|
-
for (let W = 0; W <
|
|
58
|
-
const o =
|
|
59
|
-
if (
|
|
60
|
-
|
|
55
|
+
let c = n === "start" || n === "nearest" ? H - J : n === "end" ? X + P : H + w / 2 - J + P, f = r === "center" ? v + y / 2 - Q + K : r === "end" ? O + K : v - Q;
|
|
56
|
+
const Y = [];
|
|
57
|
+
for (let W = 0; W < M.length; W++) {
|
|
58
|
+
const o = M[W], { height: F, width: C, top: E, right: q, bottom: z, left: R } = o.getBoundingClientRect();
|
|
59
|
+
if (u === "if-needed" && H >= 0 && v >= 0 && X <= g && O <= p && // scrollingElement is added to the frames array even if it's not scrollable, in which case checking its bounds is not required
|
|
60
|
+
(o === D && !j(o) || H >= E && X <= z && v >= R && O <= q))
|
|
61
|
+
return Y;
|
|
61
62
|
const k = getComputedStyle(o), N = parseInt(k.borderLeftWidth, 10), T = parseInt(k.borderTopWidth, 10), x = parseInt(k.borderRightWidth, 10), B = parseInt(k.borderBottomWidth, 10);
|
|
62
63
|
let i = 0, s = 0;
|
|
63
|
-
const I = "offsetWidth" in o ? o.offsetWidth - o.clientWidth - N - x : 0, S = "offsetHeight" in o ? o.offsetHeight - o.clientHeight - T - B : 0,
|
|
64
|
-
if (
|
|
65
|
-
n === "start" ? i =
|
|
64
|
+
const I = "offsetWidth" in o ? o.offsetWidth - o.clientWidth - N - x : 0, S = "offsetHeight" in o ? o.offsetHeight - o.clientHeight - T - B : 0, A = "offsetWidth" in o ? o.offsetWidth === 0 ? 0 : C / o.offsetWidth : 0, G = "offsetHeight" in o ? o.offsetHeight === 0 ? 0 : F / o.offsetHeight : 0;
|
|
65
|
+
if (D === o)
|
|
66
|
+
n === "start" ? i = c : n === "end" ? i = c - g : n === "nearest" ? i = L(
|
|
66
67
|
b,
|
|
67
68
|
b + g,
|
|
68
69
|
g,
|
|
69
70
|
T,
|
|
70
71
|
B,
|
|
71
|
-
b +
|
|
72
|
-
b +
|
|
72
|
+
b + c,
|
|
73
|
+
b + c + w,
|
|
73
74
|
w
|
|
74
|
-
) : i =
|
|
75
|
+
) : i = c - g / 2, r === "start" ? s = f : r === "center" ? s = f - p / 2 : r === "end" ? s = f - p : s = L(
|
|
75
76
|
m,
|
|
76
|
-
m +
|
|
77
|
-
|
|
77
|
+
m + p,
|
|
78
|
+
p,
|
|
78
79
|
N,
|
|
79
80
|
x,
|
|
80
|
-
m +
|
|
81
|
-
m +
|
|
81
|
+
m + f,
|
|
82
|
+
m + f + y,
|
|
82
83
|
y
|
|
83
84
|
), i = Math.max(0, i + b), s = Math.max(0, s + m);
|
|
84
85
|
else {
|
|
85
|
-
n === "start" ? i =
|
|
86
|
+
n === "start" ? i = c - E - T : n === "end" ? i = c - z + B + S : n === "nearest" ? i = L(
|
|
86
87
|
E,
|
|
87
|
-
|
|
88
|
+
z,
|
|
88
89
|
F,
|
|
89
90
|
T,
|
|
90
91
|
B + S,
|
|
91
|
-
|
|
92
|
-
|
|
92
|
+
c,
|
|
93
|
+
c + w,
|
|
93
94
|
w
|
|
94
|
-
) : i =
|
|
95
|
+
) : i = c - (E + F / 2) + S / 2, r === "start" ? s = f - R - N : r === "center" ? s = f - (R + C / 2) + I / 2 : r === "end" ? s = f - q + x + I : s = L(
|
|
95
96
|
R,
|
|
96
|
-
|
|
97
|
+
q,
|
|
97
98
|
C,
|
|
98
99
|
N,
|
|
99
100
|
x + I,
|
|
100
|
-
|
|
101
|
-
|
|
101
|
+
f,
|
|
102
|
+
f + y,
|
|
102
103
|
y
|
|
103
104
|
);
|
|
104
105
|
const { scrollLeft: U, scrollTop: Z } = o;
|
|
105
|
-
i =
|
|
106
|
+
i = G === 0 ? 0 : Math.max(
|
|
106
107
|
0,
|
|
107
108
|
Math.min(
|
|
108
|
-
Z + i /
|
|
109
|
-
o.scrollHeight - F /
|
|
109
|
+
Z + i / G,
|
|
110
|
+
o.scrollHeight - F / G + S
|
|
110
111
|
)
|
|
111
|
-
), s =
|
|
112
|
+
), s = A === 0 ? 0 : Math.max(
|
|
112
113
|
0,
|
|
113
114
|
Math.min(
|
|
114
|
-
U + s /
|
|
115
|
-
o.scrollWidth - C /
|
|
115
|
+
U + s / A,
|
|
116
|
+
o.scrollWidth - C / A + I
|
|
116
117
|
)
|
|
117
|
-
),
|
|
118
|
+
), c += Z - i, f += U - s;
|
|
118
119
|
}
|
|
119
|
-
|
|
120
|
+
Y.push({ el: o, top: i, left: s });
|
|
120
121
|
}
|
|
121
|
-
return
|
|
122
|
-
}, it = (t) => t === Object(t) && Object.keys(t).length !== 0, st = (t) => typeof t == "object" ? typeof t.behavior == "function" : !1,
|
|
122
|
+
return Y;
|
|
123
|
+
}, it = (t) => t === Object(t) && Object.keys(t).length !== 0, st = (t) => typeof t == "object" ? typeof t.behavior == "function" : !1, at = (t) => t === !1 ? { block: "end", inline: "nearest" } : it(t) ? t : { block: "start", inline: "nearest" }, ct = (t) => {
|
|
123
124
|
const e = window.getComputedStyle(t);
|
|
124
125
|
return {
|
|
125
126
|
top: parseFloat(e.scrollMarginTop) || 0,
|
|
@@ -127,7 +128,7 @@ const _ = (t) => typeof t == "object" && t != null && t.nodeType === 1, $ = (t,
|
|
|
127
128
|
bottom: parseFloat(e.scrollMarginBottom) || 0,
|
|
128
129
|
left: parseFloat(e.scrollMarginLeft) || 0
|
|
129
130
|
};
|
|
130
|
-
},
|
|
131
|
+
}, ft = (t) => {
|
|
131
132
|
let e = t;
|
|
132
133
|
for (; e && e.parentNode; ) {
|
|
133
134
|
if (e.parentNode === document)
|
|
@@ -136,19 +137,19 @@ const _ = (t) => typeof t == "object" && t != null && t.nodeType === 1, $ = (t,
|
|
|
136
137
|
}
|
|
137
138
|
return !1;
|
|
138
139
|
};
|
|
139
|
-
function
|
|
140
|
-
if (!t.isConnected || !
|
|
140
|
+
function dt(t, e) {
|
|
141
|
+
if (!t.isConnected || !ft(t))
|
|
141
142
|
return;
|
|
142
|
-
const l =
|
|
143
|
+
const l = ct(t);
|
|
143
144
|
if (st(e))
|
|
144
145
|
return e.behavior(tt(t, e));
|
|
145
146
|
const h = typeof e == "boolean" || e == null ? void 0 : e.behavior;
|
|
146
|
-
for (const { el:
|
|
147
|
-
const
|
|
148
|
-
|
|
147
|
+
for (const { el: u, top: n, left: r } of tt(t, at(e))) {
|
|
148
|
+
const d = n - l.top + l.bottom, V = r - l.left + l.right;
|
|
149
|
+
u.scroll({ top: d, left: V, behavior: h });
|
|
149
150
|
}
|
|
150
151
|
}
|
|
151
152
|
export {
|
|
152
153
|
tt as i,
|
|
153
|
-
|
|
154
|
+
dt as p
|
|
154
155
|
};
|