@unicom-cloud/ui 0.8.78 → 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/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/chunk/Bl7BnD1R.js
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
const o = [
|
|
2
|
-
[
|
|
3
|
-
"requestFullscreen",
|
|
4
|
-
"exitFullscreen",
|
|
5
|
-
"fullscreenElement",
|
|
6
|
-
"fullscreenEnabled",
|
|
7
|
-
"fullscreenchange",
|
|
8
|
-
"fullscreenerror"
|
|
9
|
-
],
|
|
10
|
-
// New WebKit
|
|
11
|
-
[
|
|
12
|
-
"webkitRequestFullscreen",
|
|
13
|
-
"webkitExitFullscreen",
|
|
14
|
-
"webkitFullscreenElement",
|
|
15
|
-
"webkitFullscreenEnabled",
|
|
16
|
-
"webkitfullscreenchange",
|
|
17
|
-
"webkitfullscreenerror"
|
|
18
|
-
]
|
|
19
|
-
// Old WebKit
|
|
20
|
-
// [
|
|
21
|
-
// 'webkitRequestFullScreen',
|
|
22
|
-
// 'webkitCancelFullScreen',
|
|
23
|
-
// 'webkitCurrentFullScreenElement',
|
|
24
|
-
// 'webkitCancelFullScreen',
|
|
25
|
-
// 'webkitfullscreenchange',
|
|
26
|
-
// 'webkitfullscreenerror',
|
|
27
|
-
// ],
|
|
28
|
-
// [
|
|
29
|
-
// 'mozRequestFullScreen',
|
|
30
|
-
// 'mozCancelFullScreen',
|
|
31
|
-
// 'mozFullScreenElement',
|
|
32
|
-
// 'mozFullScreenEnabled',
|
|
33
|
-
// 'mozfullscreenchange',
|
|
34
|
-
// 'mozfullscreenerror',
|
|
35
|
-
// ],
|
|
36
|
-
// [
|
|
37
|
-
// 'msRequestFullscreen',
|
|
38
|
-
// 'msExitFullscreen',
|
|
39
|
-
// 'msFullscreenElement',
|
|
40
|
-
// 'msFullscreenEnabled',
|
|
41
|
-
// 'MSFullscreenChange',
|
|
42
|
-
// 'MSFullscreenError',
|
|
43
|
-
// ],
|
|
44
|
-
], e = Reflect.apply(
|
|
45
|
-
() => {
|
|
46
|
-
if (typeof document > "u")
|
|
47
|
-
return !1;
|
|
48
|
-
const l = o[0], t = {};
|
|
49
|
-
for (const n of o)
|
|
50
|
-
if ((n == null ? void 0 : n[1]) in document) {
|
|
51
|
-
for (const [c, s] of n.entries())
|
|
52
|
-
t[l[c]] = s;
|
|
53
|
-
return t;
|
|
54
|
-
}
|
|
55
|
-
return !1;
|
|
56
|
-
},
|
|
57
|
-
void 0,
|
|
58
|
-
[]
|
|
59
|
-
), i = {
|
|
60
|
-
change: e == null ? void 0 : e.fullscreenchange,
|
|
61
|
-
error: e == null ? void 0 : e.fullscreenerror
|
|
62
|
-
};
|
|
63
|
-
let r = {
|
|
64
|
-
request(l = document.documentElement, t) {
|
|
65
|
-
return new Promise((n, c) => {
|
|
66
|
-
const s = () => {
|
|
67
|
-
r.off("change", s), n();
|
|
68
|
-
};
|
|
69
|
-
r.on("change", s);
|
|
70
|
-
const u = l[e == null ? void 0 : e.requestFullscreen](t);
|
|
71
|
-
u instanceof Promise && u.then(s).catch(c);
|
|
72
|
-
});
|
|
73
|
-
},
|
|
74
|
-
exit() {
|
|
75
|
-
return new Promise((l, t) => {
|
|
76
|
-
if (!r.isFullscreen) {
|
|
77
|
-
l();
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
const n = () => {
|
|
81
|
-
r.off("change", n), l();
|
|
82
|
-
};
|
|
83
|
-
r.on("change", n);
|
|
84
|
-
const c = document[e == null ? void 0 : e.exitFullscreen]();
|
|
85
|
-
c instanceof Promise && c.then(n).catch(t);
|
|
86
|
-
});
|
|
87
|
-
},
|
|
88
|
-
toggle(l, t) {
|
|
89
|
-
return r.isFullscreen ? r.exit() : r.request(l, t);
|
|
90
|
-
},
|
|
91
|
-
on(l, t) {
|
|
92
|
-
const n = i[l];
|
|
93
|
-
n && document.addEventListener(n, t, !1);
|
|
94
|
-
},
|
|
95
|
-
off(l, t) {
|
|
96
|
-
const n = i[l];
|
|
97
|
-
n && document.removeEventListener(n, t, !1);
|
|
98
|
-
},
|
|
99
|
-
raw: e
|
|
100
|
-
};
|
|
101
|
-
Object.defineProperties(r, {
|
|
102
|
-
isFullscreen: {
|
|
103
|
-
get: () => !!document[e == null ? void 0 : e.fullscreenElement]
|
|
104
|
-
},
|
|
105
|
-
element: {
|
|
106
|
-
enumerable: !0,
|
|
107
|
-
get: () => document[e == null ? void 0 : e.fullscreenElement] ?? void 0
|
|
108
|
-
},
|
|
109
|
-
isEnabled: {
|
|
110
|
-
enumerable: !0,
|
|
111
|
-
// Coerce to boolean in case of old WebKit.
|
|
112
|
-
get: () => !!document[e == null ? void 0 : e.fullscreenEnabled]
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
|
-
e || (r = { isEnabled: !1 });
|
|
116
|
-
const f = r;
|
|
117
|
-
export {
|
|
118
|
-
f as d
|
|
119
|
-
};
|
package/chunk/Bmvhjhzq.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { p as c } from "./Coz3rCng.js";
|
|
2
|
-
import "./DAAff-FT.js";
|
|
3
|
-
import "./C0pRaDCf.js";
|
|
4
|
-
import a from "lodash/isFunction.js";
|
|
5
|
-
function h(t, r) {
|
|
6
|
-
if (t) {
|
|
7
|
-
c(t, {
|
|
8
|
-
block: "start",
|
|
9
|
-
behavior: "auto",
|
|
10
|
-
scrollMode: "if-needed",
|
|
11
|
-
...r
|
|
12
|
-
});
|
|
13
|
-
const o = t.offsetHeight, { height: e } = t.getBoundingClientRect();
|
|
14
|
-
if (r && r.boundary && o !== e) {
|
|
15
|
-
const i = a(r.boundary) ? r.boundary(t) : r.boundary;
|
|
16
|
-
i.scrollTop = Math.round(
|
|
17
|
-
i.scrollTop * (o / e)
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
export {
|
|
23
|
-
h as s
|
|
24
|
-
};
|
package/chunk/BrOW642m.js
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
key: "Enter",
|
|
3
|
-
code: "Enter",
|
|
4
|
-
keyCode: 13
|
|
5
|
-
}, o = {
|
|
6
|
-
key: "Escape",
|
|
7
|
-
code: "Escape",
|
|
8
|
-
keyCode: 27
|
|
9
|
-
}, t = {
|
|
10
|
-
key: "Backspace",
|
|
11
|
-
code: "Backspace",
|
|
12
|
-
keyCode: 8
|
|
13
|
-
}, k = {
|
|
14
|
-
key: "Tab",
|
|
15
|
-
code: "Tab",
|
|
16
|
-
keyCode: 9
|
|
17
|
-
}, y = {
|
|
18
|
-
key: " ",
|
|
19
|
-
code: "Space",
|
|
20
|
-
keyCode: 32
|
|
21
|
-
}, r = {
|
|
22
|
-
key: "ArrowLeft",
|
|
23
|
-
code: "ArrowLeft",
|
|
24
|
-
keyCode: 37
|
|
25
|
-
}, d = {
|
|
26
|
-
key: "ArrowUp",
|
|
27
|
-
code: "ArrowUp",
|
|
28
|
-
keyCode: 38
|
|
29
|
-
}, c = {
|
|
30
|
-
key: "ArrowRight",
|
|
31
|
-
code: "ArrowRight",
|
|
32
|
-
keyCode: 39
|
|
33
|
-
}, C = {
|
|
34
|
-
key: "ArrowDown",
|
|
35
|
-
code: "ArrowDown",
|
|
36
|
-
keyCode: 40
|
|
37
|
-
}, a = {
|
|
38
|
-
key: "CapsLock",
|
|
39
|
-
code: "CapsLock",
|
|
40
|
-
keyCode: 20
|
|
41
|
-
}, f = {
|
|
42
|
-
key: "Meta"
|
|
43
|
-
}, i = {
|
|
44
|
-
key: "Meta",
|
|
45
|
-
code: "MetaLeft",
|
|
46
|
-
keyCode: 91
|
|
47
|
-
}, l = {
|
|
48
|
-
key: "Meta",
|
|
49
|
-
code: "MetaRight",
|
|
50
|
-
keyCode: 93
|
|
51
|
-
}, A = {
|
|
52
|
-
key: "Control"
|
|
53
|
-
}, h = {
|
|
54
|
-
key: "Control",
|
|
55
|
-
code: "ControlLeft",
|
|
56
|
-
keyCode: 17
|
|
57
|
-
}, n = {
|
|
58
|
-
key: "Control",
|
|
59
|
-
code: "ControlRight",
|
|
60
|
-
keyCode: 17
|
|
61
|
-
}, p = {
|
|
62
|
-
key: "Alt"
|
|
63
|
-
}, w = {
|
|
64
|
-
key: "Alt",
|
|
65
|
-
code: "AltLeft",
|
|
66
|
-
keyCode: 18
|
|
67
|
-
}, L = {
|
|
68
|
-
key: "Alt",
|
|
69
|
-
code: "AltRight",
|
|
70
|
-
keyCode: 18
|
|
71
|
-
}, g = {
|
|
72
|
-
key: "Shift"
|
|
73
|
-
}, s = {
|
|
74
|
-
key: "Shift",
|
|
75
|
-
code: "ShiftLeft",
|
|
76
|
-
keyCode: 16
|
|
77
|
-
}, R = {
|
|
78
|
-
key: "Shift",
|
|
79
|
-
code: "ShiftRight",
|
|
80
|
-
keyCode: 16
|
|
81
|
-
}, S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82
|
-
__proto__: null,
|
|
83
|
-
Alt: p,
|
|
84
|
-
AltLeft: w,
|
|
85
|
-
AltRight: L,
|
|
86
|
-
ArrowDown: C,
|
|
87
|
-
ArrowLeft: r,
|
|
88
|
-
ArrowRight: c,
|
|
89
|
-
ArrowUp: d,
|
|
90
|
-
Backspace: t,
|
|
91
|
-
CapsLock: a,
|
|
92
|
-
Control: A,
|
|
93
|
-
ControlLeft: h,
|
|
94
|
-
ControlRight: n,
|
|
95
|
-
Enter: e,
|
|
96
|
-
Esc: o,
|
|
97
|
-
Meta: f,
|
|
98
|
-
MetaLeft: i,
|
|
99
|
-
MetaRight: l,
|
|
100
|
-
Shift: g,
|
|
101
|
-
ShiftLeft: s,
|
|
102
|
-
ShiftRight: R,
|
|
103
|
-
Space: y,
|
|
104
|
-
Tab: k
|
|
105
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
106
|
-
export {
|
|
107
|
-
l as A,
|
|
108
|
-
f as C,
|
|
109
|
-
g as L,
|
|
110
|
-
R,
|
|
111
|
-
i as a,
|
|
112
|
-
y as b,
|
|
113
|
-
k as c,
|
|
114
|
-
d,
|
|
115
|
-
e,
|
|
116
|
-
A as f,
|
|
117
|
-
s as g,
|
|
118
|
-
h,
|
|
119
|
-
n as i,
|
|
120
|
-
S as k,
|
|
121
|
-
p as l,
|
|
122
|
-
c as n,
|
|
123
|
-
o,
|
|
124
|
-
L as p,
|
|
125
|
-
C as r,
|
|
126
|
-
a as s,
|
|
127
|
-
t,
|
|
128
|
-
w,
|
|
129
|
-
r as y
|
|
130
|
-
};
|
package/chunk/C0pRaDCf.js
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import "lodash/isArguments.js";
|
|
2
|
-
import p from "lodash/isArray.js";
|
|
3
|
-
import "lodash/isArrayBuffer.js";
|
|
4
|
-
import "lodash/isArrayLike.js";
|
|
5
|
-
import "lodash/isArrayLikeObject.js";
|
|
6
|
-
import "lodash/isBoolean.js";
|
|
7
|
-
import "lodash/isBuffer.js";
|
|
8
|
-
import "lodash/isDate.js";
|
|
9
|
-
import "lodash/isElement.js";
|
|
10
|
-
import e from "lodash/isEmpty.js";
|
|
11
|
-
import "lodash/isEqual.js";
|
|
12
|
-
import "lodash/isEqualWith.js";
|
|
13
|
-
import "lodash/isError.js";
|
|
14
|
-
import "lodash/isFinite.js";
|
|
15
|
-
import "lodash/isFunction.js";
|
|
16
|
-
import "lodash/isInteger.js";
|
|
17
|
-
import "lodash/isLength.js";
|
|
18
|
-
import "lodash/isMap.js";
|
|
19
|
-
import "lodash/isMatch.js";
|
|
20
|
-
import "lodash/isMatchWith.js";
|
|
21
|
-
import "lodash/isNaN.js";
|
|
22
|
-
import "lodash/isNative.js";
|
|
23
|
-
import c from "lodash/isNil.js";
|
|
24
|
-
import "lodash/isNull.js";
|
|
25
|
-
import "lodash/isNumber.js";
|
|
26
|
-
import a from "lodash/isObject.js";
|
|
27
|
-
import "lodash/isObjectLike.js";
|
|
28
|
-
import "lodash/isPlainObject.js";
|
|
29
|
-
import "lodash/isRegExp.js";
|
|
30
|
-
import "lodash/isSafeInteger.js";
|
|
31
|
-
import "lodash/isSet.js";
|
|
32
|
-
import "lodash/isString.js";
|
|
33
|
-
import "lodash/isSymbol.js";
|
|
34
|
-
import "lodash/isTypedArray.js";
|
|
35
|
-
import "lodash/isUndefined.js";
|
|
36
|
-
import "lodash/isWeakMap.js";
|
|
37
|
-
import "lodash/isWeakSet.js";
|
|
38
|
-
function W(t) {
|
|
39
|
-
return t instanceof Promise;
|
|
40
|
-
}
|
|
41
|
-
function X(t) {
|
|
42
|
-
return p(t) && e(t);
|
|
43
|
-
}
|
|
44
|
-
function Y(t) {
|
|
45
|
-
return a(t) && e(t);
|
|
46
|
-
}
|
|
47
|
-
function Z(t) {
|
|
48
|
-
return c(t) || t === "";
|
|
49
|
-
}
|
|
50
|
-
function _(t) {
|
|
51
|
-
return Object.prototype.toString.call(t) === "[object File]";
|
|
52
|
-
}
|
|
53
|
-
function tt(t) {
|
|
54
|
-
return Object.prototype.toString.call(t) === "[object Blob]";
|
|
55
|
-
}
|
|
56
|
-
function rt(t) {
|
|
57
|
-
return Object.prototype.toString.call(t) === "[object ReadableStream]";
|
|
58
|
-
}
|
|
59
|
-
const l = typeof ReadableStream == "function", ot = typeof ReadableStreamDefaultController == "function", et = typeof ReadableByteStreamController == "function", it = l && new ReadableStream()[Symbol.asyncIterator];
|
|
60
|
-
function nt(t) {
|
|
61
|
-
let r = !0;
|
|
62
|
-
try {
|
|
63
|
-
JSON.parse(t);
|
|
64
|
-
} catch (o) {
|
|
65
|
-
r = !1, console.error(o);
|
|
66
|
-
}
|
|
67
|
-
return r;
|
|
68
|
-
}
|
|
69
|
-
function mt(t) {
|
|
70
|
-
const r = /^#(?:[0-9a-fA-F]{3}){1,2}$/, o = /^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/, i = /^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(1|0|0?\.\d+)\)$/, n = /^hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)$/, m = /^hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*(1|0|0?\.\d+)\)$/;
|
|
71
|
-
return r.test(t) || o.test(t) || i.test(t) || n.test(t) || m.test(t);
|
|
72
|
-
}
|
|
73
|
-
function s(t) {
|
|
74
|
-
const r = document.createElement("div");
|
|
75
|
-
return r.style.color = t, r.style.color !== "";
|
|
76
|
-
}
|
|
77
|
-
function pt(t) {
|
|
78
|
-
return s(t);
|
|
79
|
-
}
|
|
80
|
-
export {
|
|
81
|
-
it as A,
|
|
82
|
-
mt as B,
|
|
83
|
-
pt as C,
|
|
84
|
-
rt as E,
|
|
85
|
-
nt as N,
|
|
86
|
-
ot as O,
|
|
87
|
-
et as R,
|
|
88
|
-
Y as S,
|
|
89
|
-
W as b,
|
|
90
|
-
s as d,
|
|
91
|
-
Z as g,
|
|
92
|
-
tt as h,
|
|
93
|
-
_ as j,
|
|
94
|
-
l as n,
|
|
95
|
-
X as y
|
|
96
|
-
};
|
package/chunk/CBzE-PUr.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import C from "lodash/camelCase.js";
|
|
2
|
-
import N from "lodash/capitalize.js";
|
|
3
|
-
import n from "lodash/kebabCase.js";
|
|
4
|
-
import c from "lodash/lowerFirst.js";
|
|
5
|
-
import l from "lodash/snakeCase.js";
|
|
6
|
-
import u from "lodash/startCase.js";
|
|
7
|
-
import a from "lodash/upperFirst.js";
|
|
8
|
-
function d(m) {
|
|
9
|
-
const o = n(m), e = l(m), r = C(m), t = N(m), i = u(m), p = c(m), s = a(m), f = a(r);
|
|
10
|
-
return {
|
|
11
|
-
kebabCaseName: o,
|
|
12
|
-
snakeCaseName: e,
|
|
13
|
-
camelCaseName: r,
|
|
14
|
-
capitalizeName: t,
|
|
15
|
-
startCaseName: i,
|
|
16
|
-
lowerFirstCaseName: p,
|
|
17
|
-
upperFirstCaseName: s,
|
|
18
|
-
ComponentCaseName: f
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
export {
|
|
22
|
-
d as g
|
|
23
|
-
};
|
package/chunk/CUFsOxJ2.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import l from "lodash/uniq.js";
|
|
2
|
-
import "./C0pRaDCf.js";
|
|
3
|
-
import n from "lodash/isPlainObject.js";
|
|
4
|
-
function j(...e) {
|
|
5
|
-
const i = " ", r = e.map((o, f, p) => n(o) ? Object.keys(o).filter((t) => o[t]) : o).flat(1 / 0).filter(Boolean).join(i).split(i).filter(Boolean);
|
|
6
|
-
return l(r).join(i);
|
|
7
|
-
}
|
|
8
|
-
export {
|
|
9
|
-
j as p
|
|
10
|
-
};
|
package/chunk/Ce1j9KTi.js
DELETED
package/chunk/D0Dlbc2g.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import "./C0pRaDCf.js";
|
|
2
|
-
import r from "lodash/isString.js";
|
|
3
|
-
function n() {
|
|
4
|
-
return new DOMException("The request is not allowed", "NotAllowedError");
|
|
5
|
-
}
|
|
6
|
-
async function i(t) {
|
|
7
|
-
if (!navigator.clipboard)
|
|
8
|
-
throw n();
|
|
9
|
-
return navigator.clipboard.writeText(t);
|
|
10
|
-
}
|
|
11
|
-
async function l(t) {
|
|
12
|
-
const e = document.createElement("span");
|
|
13
|
-
e.textContent = t, e.style.whiteSpace = "pre", e.style.webkitUserSelect = "auto", e.style.userSelect = "all", document.body.appendChild(e);
|
|
14
|
-
const o = window.getSelection(), a = window.document.createRange();
|
|
15
|
-
o.removeAllRanges(), a.selectNode(e), o.addRange(a);
|
|
16
|
-
let c = !1;
|
|
17
|
-
try {
|
|
18
|
-
c = window.document.execCommand("copy");
|
|
19
|
-
} finally {
|
|
20
|
-
o.removeAllRanges(), window.document.body.removeChild(e);
|
|
21
|
-
}
|
|
22
|
-
if (!c) throw n();
|
|
23
|
-
}
|
|
24
|
-
async function s(t) {
|
|
25
|
-
try {
|
|
26
|
-
r(t) || (t = JSON.stringify(t) ?? t);
|
|
27
|
-
} catch {
|
|
28
|
-
}
|
|
29
|
-
try {
|
|
30
|
-
await i(t);
|
|
31
|
-
} catch (e) {
|
|
32
|
-
try {
|
|
33
|
-
await l(t);
|
|
34
|
-
} catch (o) {
|
|
35
|
-
throw o || e || n();
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
export {
|
|
40
|
-
s as p
|
|
41
|
-
};
|
package/chunk/DRTWRsgI.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { u as r } from "./BFmckYou.js";
|
|
2
|
-
function t(o) {
|
|
3
|
-
return new XMLHttpRequest();
|
|
4
|
-
}
|
|
5
|
-
function s(o, n) {
|
|
6
|
-
const e = t();
|
|
7
|
-
e.open("GET", o), e.responseType = "blob", e.onload = () => {
|
|
8
|
-
i(e.response, n);
|
|
9
|
-
}, e.onerror = () => {
|
|
10
|
-
console.error("无法下载文件");
|
|
11
|
-
}, e.send();
|
|
12
|
-
}
|
|
13
|
-
function c(o) {
|
|
14
|
-
const n = t();
|
|
15
|
-
n.open("HEAD", o, !1);
|
|
16
|
-
try {
|
|
17
|
-
n.send();
|
|
18
|
-
} catch (e) {
|
|
19
|
-
console.error(e);
|
|
20
|
-
}
|
|
21
|
-
return n.status >= 200 && n.status <= 299;
|
|
22
|
-
}
|
|
23
|
-
async function a(o, n) {
|
|
24
|
-
const e = document.createElementNS("http://www.w3.org/1999/xhtml", "a");
|
|
25
|
-
e.rel = "noopener", typeof o == "string" && (e.href = o, e.origin === location.origin || (c(o) ? s(o, n) : e.target = "_blank")), o instanceof Blob && (e.href = await r(o)), o instanceof File && (n || (n = o.name)), n || (n = "download"), e.download = n, setTimeout(() => {
|
|
26
|
-
e.dispatchEvent(new MouseEvent("click"));
|
|
27
|
-
}, 0);
|
|
28
|
-
}
|
|
29
|
-
function i(o, n) {
|
|
30
|
-
a(o, n);
|
|
31
|
-
}
|
|
32
|
-
export {
|
|
33
|
-
i as c
|
|
34
|
-
};
|
package/chunk/DeV0v__J.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { useRef as i, useState as l, useEffect as m } from "react";
|
|
2
|
-
import "./DAAff-FT.js";
|
|
3
|
-
import { u as c } from "./VSe_Wq1g.js";
|
|
4
|
-
import "./C0pRaDCf.js";
|
|
5
|
-
import t from "lodash/isUndefined.js";
|
|
6
|
-
function P(a, f) {
|
|
7
|
-
const { defaultValue: r, value: e } = f || {}, u = i(!0), n = c(e), [s, o] = l(
|
|
8
|
-
t(e) ? t(r) ? a : r : e
|
|
9
|
-
);
|
|
10
|
-
return m(() => {
|
|
11
|
-
if (u.current) {
|
|
12
|
-
u.current = !1;
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
e === void 0 && n !== e && o(e);
|
|
16
|
-
}, [e]), [t(e) ? s : e, o, s];
|
|
17
|
-
}
|
|
18
|
-
export {
|
|
19
|
-
P as u
|
|
20
|
-
};
|
package/chunk/DohlrJ4S.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { jsxs as p, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import g from "@unicom-cloud/icons/IconUiMore";
|
|
3
|
-
import { p as n } from "./CUFsOxJ2.js";
|
|
4
|
-
import { TriggerForToolbar as F } from "../image/TriggerForToolbar.js";
|
|
5
|
-
function x(r) {
|
|
6
|
-
const { title: a, description: l, actions: t } = r, i = a || l, e = t && t.length;
|
|
7
|
-
return [i || e, i, e];
|
|
8
|
-
}
|
|
9
|
-
const j = (r) => {
|
|
10
|
-
const { style: a, className: l, title: t, description: i, actions: e, prefixCls: o, simple: m } = r, [$, f, d] = x({
|
|
11
|
-
title: t,
|
|
12
|
-
description: i,
|
|
13
|
-
actions: e
|
|
14
|
-
});
|
|
15
|
-
if (!$)
|
|
16
|
-
return null;
|
|
17
|
-
const c = `${o}-footer`, u = n(c, l, {
|
|
18
|
-
[`${c}-with-actions`]: d
|
|
19
|
-
}), N = () => {
|
|
20
|
-
const h = /* @__PURE__ */ s("div", { className: `${o}-actions-list`, children: e.map((v, w) => /* @__PURE__ */ s("div", { className: `${o}-actions-item`, children: v }, `${w}`)) });
|
|
21
|
-
return m ? /* @__PURE__ */ s("div", { className: `${o}-actions-list`, children: /* @__PURE__ */ s(F, { prefixCls: o, popup: () => h, children: /* @__PURE__ */ s(
|
|
22
|
-
"div",
|
|
23
|
-
{
|
|
24
|
-
className: n(
|
|
25
|
-
`${o}-actions-item`,
|
|
26
|
-
`${o}-actions-item-trigger`
|
|
27
|
-
),
|
|
28
|
-
children: /* @__PURE__ */ s("span", { children: /* @__PURE__ */ s(g, {}) })
|
|
29
|
-
}
|
|
30
|
-
) }) }) : h;
|
|
31
|
-
};
|
|
32
|
-
return /* @__PURE__ */ p("div", { className: u, style: a, children: [
|
|
33
|
-
f && /* @__PURE__ */ p("div", { className: n(`${c}-block`, `${o}-caption`), children: [
|
|
34
|
-
t && /* @__PURE__ */ s("div", { className: `${o}-caption-title`, title: t, children: t }),
|
|
35
|
-
i && !m && /* @__PURE__ */ s(
|
|
36
|
-
"div",
|
|
37
|
-
{
|
|
38
|
-
className: `${o}-caption-description`,
|
|
39
|
-
title: i,
|
|
40
|
-
children: i
|
|
41
|
-
}
|
|
42
|
-
)
|
|
43
|
-
] }),
|
|
44
|
-
d && /* @__PURE__ */ s("div", { className: n(`${c}-block`, `${o}-actions`), children: N() })
|
|
45
|
-
] });
|
|
46
|
-
};
|
|
47
|
-
export {
|
|
48
|
-
j as I,
|
|
49
|
-
x as u
|
|
50
|
-
};
|
package/chunk/XTEsYGuF.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { useCallback as m } from "react";
|
|
2
|
-
import { e as A, r as E, y as g, n as v, d as D } from "./BrOW642m.js";
|
|
3
|
-
function h(t) {
|
|
4
|
-
return m(
|
|
5
|
-
(n) => ({
|
|
6
|
-
onKeyDown(e) {
|
|
7
|
-
var r, i, y, f, w, u;
|
|
8
|
-
const o = e.key;
|
|
9
|
-
o === A.key && ((r = n.onPressEnter) == null || r.call(n, e)), o === E.key && ((i = n.onArrowDown) == null || i.call(n, e)), o === g.key && ((y = n.onArrowLeft) == null || y.call(n, e)), o === v.key && ((f = n.onArrowRight) == null || f.call(n, e)), o === D.key && ((w = n.onArrowUp) == null || w.call(n, e)), (u = t == null ? void 0 : t.onKeyDown) == null || u.call(t, e);
|
|
10
|
-
}
|
|
11
|
-
}),
|
|
12
|
-
[]
|
|
13
|
-
);
|
|
14
|
-
}
|
|
15
|
-
export {
|
|
16
|
-
h as u
|
|
17
|
-
};
|