@unicom-cloud/ui 0.8.75 → 0.8.77
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 +1 -1
- package/Alert.js +1 -1
- package/AutoComplete.js +3 -5
- package/BackTop.js +1 -1
- package/Badge.js +1 -1
- package/Breadcrumb.js +2 -2
- package/Button.js +1 -1
- package/Calendar.js +3 -3
- package/Card.js +1 -1
- package/Carousel.js +1 -1
- package/Cascader.js +1 -1
- package/Checkbox.js +6 -2
- package/Collapse.js +1 -1
- package/ColorPicker.js +3 -4
- package/Comment.js +1 -1
- package/ConfigProvider.js +2 -3
- package/Copy.js +1 -1
- package/DatePicker.js +1 -1
- package/Descriptions.js +1 -1
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Dropdown.js +1 -1
- package/Empty.js +1 -1
- package/Icon.js +1 -1
- package/IconHover.js +1 -1
- package/Image.js +1 -1
- package/InputNumber.js +1 -1
- package/Layout.js +1 -1
- package/Link.js +1 -1
- package/List.js +5 -6
- package/Mentions.js +3 -4
- package/Menu.js +1 -1
- package/Message.js +1 -1
- package/Modal.js +1 -1
- package/Notice.js +1 -1
- package/Notification.js +1 -1
- package/OverflowEllipsis.js +1 -1
- package/PageHeader.js +1 -1
- package/Pagination.js +2 -2
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Progress.js +1 -1
- package/Radio.js +5 -4
- package/Rate.js +1 -1
- package/ResizeBox.js +1 -1
- package/Result.js +1 -1
- package/Select.js +5 -6
- package/Skeleton.js +1 -1
- package/Slider.js +1 -1
- package/Space.js +1 -1
- package/SpeechSynthesis.js +4 -3
- package/Spin.js +1 -1
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/Switch.js +1 -1
- package/Table.js +15 -16
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/Tooltip.js +2 -2
- package/Transfer.js +3 -4
- package/Tree.js +2 -3
- package/TreeSelect.js +3 -3
- package/Trigger.js +1 -1
- package/Typography.js +3 -3
- package/affix/index.js +86 -82
- package/alert/index.js +1 -1
- package/anchor/Anchor.js +1 -1
- package/anchor/Link.js +1 -1
- package/auto-complete/index.js +13 -147
- package/avatar/Avatar.js +1 -1
- package/avatar/Group.js +1 -1
- package/back-top/index.js +1 -1
- package/badge/index.js +1 -1
- package/breadcrumb/index.js +2 -2
- package/button/Group.js +1 -1
- package/button/index.js +1 -1
- package/calendar/index.js +12 -318
- package/card/Grid.js +1 -1
- package/card/Meta.js +1 -1
- package/card/index.js +1 -1
- package/carousel/Arrow.js +1 -1
- package/carousel/Indicator.js +1 -1
- package/carousel/index.js +1 -1
- package/cascader/Cascader.js +4 -4
- package/cascader/index.js +1 -1
- package/cascader/util.js +8 -8
- package/checkbox/Checkbox.js +7 -4
- package/checkbox/Group.js +5 -5
- package/checkbox/GroupBlock.js +8 -0
- package/checkbox/index.js +7 -2
- package/chunk/{BbqvFW5R.js → 9TSjT7x_.js} +112 -112
- package/chunk/ATwvJ8j2.js +6 -0
- package/chunk/{Dv6USvVF.js → BC5fEyWK.js} +2 -1
- package/chunk/{WVoGhvMI.js → BPQXH_5i.js} +32 -31
- package/chunk/{BPD5iNdA.js → CB4jGw4K.js} +22 -18
- package/chunk/{B8hkFIar.js → CBgu99gQ.js} +1 -1
- package/chunk/CBzE-PUr.js +23 -0
- package/chunk/CNcLypMY.js +723 -0
- package/chunk/{CPlPBkN7.js → C_4I3haT.js} +1 -1
- package/chunk/{0mWCmQHr.js → CjqvxJml.js} +2 -2
- package/chunk/Cwm8LL5p.js +7818 -0
- package/chunk/D0ZWT7db.js +5 -0
- package/chunk/{CWlklVfi.js → tpmioyz1.js} +1 -1
- package/collapse/Collapse.js +2 -2
- package/collapse/Item.js +2 -2
- package/collapse/index.js +1 -1
- package/color-picker/ControlBar.js +1 -1
- package/color-picker/InputAlpha.js +1 -1
- package/color-picker/InputHex.js +2 -2
- package/color-picker/InputRgb.js +2 -2
- package/color-picker/Palette.js +2 -2
- package/color-picker/Panel.js +15 -266
- package/color-picker/colors.js +4 -4
- package/color-picker/index.js +13 -268
- package/color-picker/utils.js +1 -1
- package/comment/index.js +1 -1
- package/config-provider/ConfigProvider.js +4 -6
- package/config-provider/context.js +3 -2
- package/config-provider/index.js +4 -5
- package/copy/index.js +1 -1
- package/date-picker/Picker.js +1 -1
- package/date-picker/PickerRange.js +2 -2
- package/date-picker/index.js +1 -1
- package/descriptions/index.js +1 -1
- package/divider/index.js +1 -1
- package/draggable/index.js +1 -1
- package/drawer/Drawer.js +30 -21
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +1 -1
- package/empty/index.js +1 -1
- package/form/Form.js +10 -10
- package/form/FormItem.js +1 -1
- package/form/context.js +1 -1
- package/grid/Col.js +1 -1
- package/grid/Row.js +1 -1
- package/grid/grid-item.js +1 -1
- package/grid/grid.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/useWindowSize.js +1 -1
- package/icon/index.js +1 -1
- package/icon-hover/index.js +1 -1
- package/image/Image.js +2 -2
- package/image/ImagePreview.js +2 -2
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +1 -1
- package/image/index.js +1 -1
- package/index.js +453 -463
- package/input/Group.js +1 -1
- package/input/Input.js +1 -1
- package/input/InputElement.js +1 -1
- package/input/Password.js +1 -1
- package/input/Search.js +1 -1
- package/input/Textarea.js +1 -1
- package/input-number/index.js +1 -1
- package/input-tag/InputTag.js +1 -1
- package/layout/Content.js +1 -1
- package/layout/Footer.js +1 -1
- package/layout/Header.js +1 -1
- package/layout/Sider.js +1 -1
- package/layout/index.js +1 -1
- package/link/index.js +1 -1
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +17 -267
- package/mentions/index.js +11 -144
- package/menu/Menu.js +2 -2
- package/menu/OverflowWrap.js +1 -1
- package/menu/index.js +2 -2
- package/message/index.js +1 -1
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +2 -2
- package/modal/index.js +1 -1
- package/notice/index.js +1 -1
- package/notification/index.js +1 -1
- package/notification/useNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +1 -1
- package/overflow-ellipsis/index.js +1 -1
- package/package.json +1 -1
- package/page-header/index.js +1 -1
- package/pagination/PageItem.js +1 -1
- package/pagination/PageJumper.js +1 -1
- package/pagination/PageOption.js +5 -45
- package/pagination/Pagination.js +11 -243
- package/pagination/index.js +2 -2
- package/picker/Input.js +1 -1
- package/picker/InputRange.js +1 -1
- package/popconfirm/index.js +1 -1
- package/popover/index.js +1 -1
- package/progress/index.js +1 -1
- package/radio/Group.js +5 -5
- package/radio/GroupBlock.js +9 -0
- package/radio/Radio.js +6 -5
- package/radio/index.js +4 -3
- package/rate/index.js +1 -1
- package/resize-box/ResizeTrigger.js +1 -1
- package/resize-box/Split.js +1 -1
- package/resize-box/SplitGroup.js +1 -1
- package/resize-box/index.js +1 -1
- package/result/index.js +1 -1
- package/select/Option.js +6 -93
- package/select/Select.js +23 -546
- package/select/index.js +3 -3
- package/select/util.js +18 -139
- package/select-view/Core.js +1 -1
- package/skeleton/index.js +1 -1
- package/slider/Button.js +1 -1
- package/slider/index.js +1 -1
- package/space/index.js +1 -1
- package/speech-synthesis/index.js +4 -3
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +1 -1
- package/statistic/Countdown.js +1 -1
- package/statistic/index.js +1 -1
- package/steps/index.js +1 -1
- package/style/variables.less +0 -484
- package/style.css +1 -1
- package/switch/index.js +1 -1
- package/table/Table.js +2 -3
- package/table/index.js +15 -109
- package/tabs/Tab.js +2 -2
- package/tabs/TabContent.js +2 -2
- package/tabs/TabPane.js +1 -1
- package/tabs/index.js +2 -2
- package/tag/index.js +1 -1
- package/time-picker/Picker.js +1 -1
- package/time-picker/TimePicker.js +1 -1
- package/timeline/Item.js +1 -1
- package/timeline/Timeline.js +1 -1
- package/tooltip/index.js +2 -2
- package/transfer/Item.js +9 -104
- package/transfer/List.js +13 -184
- package/transfer/index.js +13 -180
- package/tree/Animation.js +2 -2
- package/tree/Node.js +3 -4
- package/tree/NodeList.js +6 -80
- package/tree/Tree.js +17 -578
- package/tree/index.js +2 -3
- package/tree-select/List.js +6 -122
- package/tree-select/Select.js +22 -392
- package/tree-select/index.js +3 -3
- package/trigger/index.js +1 -1
- package/types/checkbox/Checkbox.d.ts +5 -2
- package/types/checkbox/GroupBlock.d.ts +7 -0
- package/types/checkbox/index.d.ts +2 -1
- package/types/config-provider/ConfigProvider.d.ts +0 -27
- package/types/config-provider/interface.d.ts +3 -1
- package/types/index.d.ts +2 -2
- package/types/menu/context.d.ts +1 -1
- package/types/radio/GroupBlock.d.ts +7 -0
- package/types/radio/Radio.d.ts +5 -3
- package/types/utils/constant.d.ts +2 -1
- package/types/utils/index.d.ts +1 -0
- package/types/utils/setDarkTheme.d.ts +2 -3
- package/types/utils/setPrimaryColor.d.ts +2 -0
- package/typography/Base.js +1 -1
- package/typography/Ellipsis.js +9 -22
- package/typography/Paragraph.js +1 -1
- package/typography/Typography.js +1 -1
- package/typography/index.js +10 -276
- package/upload/TriggerNode.js +1 -1
- package/upload/Upload.js +1 -1
- package/upload/Uploader.js +43 -44
- package/upload/request.js +1 -1
- package/upload/request_.js +1 -1
- package/utils/caseName.js +1 -1
- package/utils/color.js +1 -1
- package/utils/constant.js +7 -5
- package/utils/contextHolder.js +1 -1
- package/utils/dom.js +1 -1
- package/utils/index.js +199 -195
- package/utils/setDarkTheme.js +34 -5
- package/utils/setPrimaryColor.js +26 -0
- package/utils/tinycolor.js +1 -1
- package/verification-code/VerificationCode.js +1 -1
- package/version/index.js +1 -1
- package/watermark/Watermark.js +1 -1
- package/chunk/BViFMHr-.js +0 -1820
- package/chunk/BsWphzcT.js +0 -20
- package/chunk/BxZ39GzB.js +0 -209
- package/chunk/C9XYyypq.js +0 -713
- package/chunk/CIkPwQlq.js +0 -6
- package/chunk/DFcz9ZPP.js +0 -1020
- package/chunk/DeCsZrXb.js +0 -310
- package/chunk/DskaI8QL.js +0 -25
- package/chunk/EL5Jmjgr.js +0 -170
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { RadioGroupContextProps, RadioGroupProps } from './interface';
|
|
2
|
+
declare function RadioGroupBlock(baseProps: any): import("react/jsx-dev-runtime").JSX.Element;
|
|
3
|
+
declare namespace RadioGroupBlock {
|
|
4
|
+
var displayName: string;
|
|
5
|
+
}
|
|
6
|
+
export default RadioGroupBlock;
|
|
7
|
+
export type { RadioGroupContextProps, RadioGroupProps };
|
package/types/radio/Radio.d.ts
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import RadioGroup, { RadioGroupContext } from './Group';
|
|
3
|
+
import RadioGroupBlock from './GroupBlock';
|
|
3
4
|
import type { RadioProps } from './interface';
|
|
4
5
|
declare function Radio(baseProps: RadioProps): import("react/jsx-dev-runtime").JSX.Element;
|
|
5
6
|
declare namespace Radio {
|
|
6
7
|
var __PQB_RADIO: boolean;
|
|
7
8
|
var displayName: string;
|
|
8
|
-
var Group: typeof
|
|
9
|
+
var Group: typeof RadioGroup;
|
|
10
|
+
var GroupBlock: typeof RadioGroupBlock;
|
|
9
11
|
var GroupContext: React.Context<import("./interface").RadioGroupContextProps>;
|
|
10
12
|
}
|
|
11
|
-
export {
|
|
13
|
+
export { RadioGroup, RadioGroupBlock, RadioGroupContext };
|
|
12
14
|
export default Radio;
|
|
13
15
|
export type { RadioProps };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export { NOOP
|
|
1
|
+
export { NOOP } from '@unicom-cloud/ui-common/utils/constant';
|
|
2
|
+
export { UI_PC_KEY, UI_PC_THEME_DARK_CLASS_NAME, } from '@unicom-cloud/utils/constant/ui';
|
|
2
3
|
export declare function newArray(length: number): unknown[];
|
|
3
4
|
export declare function pickTriggerPropsFromRest(rest: any): {};
|
package/types/utils/index.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ export * from './saveAs';
|
|
|
30
30
|
export * from './screenfull';
|
|
31
31
|
export * from './scrollIntoView';
|
|
32
32
|
export * from './setDarkTheme';
|
|
33
|
+
export * from './setPrimaryColor';
|
|
33
34
|
export * from './style';
|
|
34
35
|
export * from './throttleByRaf';
|
|
35
36
|
export * from './tinycolor';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export default setDarkTheme;
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { removeDarkTheme, setDarkTheme };
|
|
2
|
+
export function removeDarkTheme(params: any): void;
|
|
3
|
+
export function setDarkTheme(params: any): () => void;
|
package/typography/Base.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as c, jsxs as ie, Fragment as re } from "react/jsx-runtime";
|
|
2
2
|
import le from "lodash/merge";
|
|
3
3
|
import R, { forwardRef as ce, useContext as ae, useRef as W, useState as q, useEffect as pe, useImperativeHandle as me } from "react";
|
|
4
|
-
import { a as de } from "../chunk/
|
|
4
|
+
import { a as de } from "../chunk/CNcLypMY.js";
|
|
5
5
|
import { u as fe } from "../chunk/DeV0v__J.js";
|
|
6
6
|
import { u as ue } from "../chunk/a3hR6zLw.js";
|
|
7
7
|
import he from "../popover/index.js";
|
package/typography/Ellipsis.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../chunk/
|
|
3
|
+
import "../chunk/CNcLypMY.js";
|
|
4
4
|
import "../chunk/BFTV6myl.js";
|
|
5
5
|
import "../chunk/DeV0v__J.js";
|
|
6
6
|
import "lodash/isEqualWith";
|
|
@@ -15,11 +15,12 @@ import "lodash/debounce";
|
|
|
15
15
|
import "lodash/camelCase.js";
|
|
16
16
|
import "lodash/capitalize.js";
|
|
17
17
|
import "lodash/kebabCase.js";
|
|
18
|
+
import "lodash/lowerFirst.js";
|
|
18
19
|
import "lodash/snakeCase.js";
|
|
19
20
|
import "lodash/startCase.js";
|
|
20
21
|
import "lodash/upperFirst.js";
|
|
21
22
|
import "../chunk/CUFsOxJ2.js";
|
|
22
|
-
import "../chunk/
|
|
23
|
+
import "../chunk/9TSjT7x_.js";
|
|
23
24
|
import "../chunk/C0pRaDCf.js";
|
|
24
25
|
import "lodash/isString.js";
|
|
25
26
|
import "../chunk/tamGhTJp.js";
|
|
@@ -50,18 +51,15 @@ import "../chunk/CplLA01W.js";
|
|
|
50
51
|
import "../affix/index.js";
|
|
51
52
|
import "../alert/index.js";
|
|
52
53
|
import "../anchor/Anchor.js";
|
|
53
|
-
import "../
|
|
54
|
+
import { E as tr } from "../chunk/Cwm8LL5p.js";
|
|
54
55
|
import "../avatar/index.js";
|
|
55
56
|
import "../back-top/index.js";
|
|
56
57
|
import "../badge/index.js";
|
|
57
58
|
import "../breadcrumb/index.js";
|
|
58
59
|
import "../button/index.js";
|
|
59
|
-
import "../calendar/index.js";
|
|
60
60
|
import "../card/index.js";
|
|
61
61
|
import "../carousel/index.js";
|
|
62
|
-
import "../chunk/
|
|
63
|
-
import "../chunk/BxZ39GzB.js";
|
|
64
|
-
import "../chunk/CWlklVfi.js";
|
|
62
|
+
import "../chunk/tpmioyz1.js";
|
|
65
63
|
import "../comment/index.js";
|
|
66
64
|
import "../copy/index.js";
|
|
67
65
|
import "../date-picker/index.js";
|
|
@@ -77,23 +75,17 @@ import "../input/Input.js";
|
|
|
77
75
|
import "../input-tag/InputTag.js";
|
|
78
76
|
import "../layout/index.js";
|
|
79
77
|
import "../link/index.js";
|
|
80
|
-
import "../
|
|
81
|
-
import "../
|
|
82
|
-
import "../chunk/B8hkFIar.js";
|
|
83
|
-
import "../chunk/WVoGhvMI.js";
|
|
78
|
+
import "../chunk/CBgu99gQ.js";
|
|
79
|
+
import "../chunk/BPQXH_5i.js";
|
|
84
80
|
import "../page-header/index.js";
|
|
85
|
-
import "../pagination/Pagination.js";
|
|
86
81
|
import "../popconfirm/index.js";
|
|
87
82
|
import "../popover/index.js";
|
|
88
83
|
import "../portal/index.js";
|
|
89
84
|
import "../progress/index.js";
|
|
90
|
-
import "../color-picker/index.js";
|
|
91
85
|
import "../loading/index.js";
|
|
92
|
-
import "../chunk/EL5Jmjgr.js";
|
|
93
86
|
import "../rate/index.js";
|
|
94
87
|
import "../resize-box/index.js";
|
|
95
88
|
import "../result/index.js";
|
|
96
|
-
import "../select/Select.js";
|
|
97
89
|
import "../skeleton/index.js";
|
|
98
90
|
import "../slider/index.js";
|
|
99
91
|
import "../space/index.js";
|
|
@@ -103,22 +95,17 @@ import "../statistic/index.js";
|
|
|
103
95
|
import "../steps/index.js";
|
|
104
96
|
import "../suspense-fallback-test/index.js";
|
|
105
97
|
import "../switch/index.js";
|
|
106
|
-
import "../
|
|
107
|
-
import "../chunk/0mWCmQHr.js";
|
|
98
|
+
import "../chunk/CjqvxJml.js";
|
|
108
99
|
import "../tag/index.js";
|
|
109
100
|
import "../time-picker/index.js";
|
|
110
101
|
import "../timeline/Timeline.js";
|
|
111
102
|
import "../tooltip/index.js";
|
|
112
|
-
import "../transfer/index.js";
|
|
113
|
-
import "../tree/Tree.js";
|
|
114
|
-
import "../tree-select/Select.js";
|
|
115
103
|
import "../trigger/index.js";
|
|
116
|
-
import { TypographyEllipsis as uo } from "./index.js";
|
|
117
104
|
import "../upload/Upload.js";
|
|
118
105
|
import "../verification-code/VerificationCode.js";
|
|
119
106
|
import "../watermark/Watermark.js";
|
|
120
107
|
import "../chunk/CIRG541s.js";
|
|
121
108
|
import "lodash/isPlainObject.js";
|
|
122
109
|
export {
|
|
123
|
-
|
|
110
|
+
tr as default
|
|
124
111
|
};
|
package/typography/Paragraph.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as m, useContext as c } from "react";
|
|
3
|
-
import { a as f } from "../chunk/
|
|
3
|
+
import { a as f } from "../chunk/CNcLypMY.js";
|
|
4
4
|
import { p as i } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
import l from "./Base.js";
|
|
6
6
|
function g(a, r) {
|
package/typography/Typography.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as c, useContext as f } from "react";
|
|
3
|
-
import { a as i } from "../chunk/
|
|
3
|
+
import { a as i } from "../chunk/CNcLypMY.js";
|
|
4
4
|
import { p as l } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
function y(o, t) {
|
|
6
6
|
const { getPrefixCls: r } = f(i), s = r("typography"), { className: a, style: e, children: p } = o, n = l(s, a);
|
package/typography/index.js
CHANGED
|
@@ -1,278 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import "lodash/isEqualWith";
|
|
7
|
-
import "../chunk/DAAff-FT.js";
|
|
8
|
-
import "lodash/isNumber";
|
|
9
|
-
import "lodash/merge";
|
|
10
|
-
import { isServerRendering as Z } from "../utils/dom.js";
|
|
11
|
-
import "../chunk/ZrBrCzQX.js";
|
|
12
|
-
import "../chunk/Cc_-i0o_.js";
|
|
13
|
-
import "../chunk/Ce1j9KTi.js";
|
|
14
|
-
import "lodash/debounce";
|
|
15
|
-
import "lodash/camelCase.js";
|
|
16
|
-
import "lodash/capitalize.js";
|
|
17
|
-
import "lodash/kebabCase.js";
|
|
18
|
-
import "lodash/snakeCase.js";
|
|
19
|
-
import "lodash/startCase.js";
|
|
20
|
-
import "lodash/upperFirst.js";
|
|
21
|
-
import { p } from "../chunk/CUFsOxJ2.js";
|
|
22
|
-
import "../chunk/BbqvFW5R.js";
|
|
23
|
-
import "../chunk/C0pRaDCf.js";
|
|
24
|
-
import "lodash/isString.js";
|
|
25
|
-
import "../chunk/tamGhTJp.js";
|
|
26
|
-
import "lodash/escapeRegExp";
|
|
27
|
-
import "lodash/isArray";
|
|
28
|
-
import "lodash/isString";
|
|
29
|
-
import "lodash/camelCase";
|
|
30
|
-
import "lodash/capitalize";
|
|
31
|
-
import "lodash/cloneDeep";
|
|
32
|
-
import "lodash/get";
|
|
33
|
-
import "lodash/has";
|
|
34
|
-
import "lodash/kebabCase";
|
|
35
|
-
import "lodash/mergeWith";
|
|
36
|
-
import "lodash/set";
|
|
37
|
-
import "lodash/setWith";
|
|
38
|
-
import "lodash/snakeCase";
|
|
39
|
-
import "lodash/startCase";
|
|
40
|
-
import "lodash/throttle";
|
|
41
|
-
import "lodash/uniq";
|
|
42
|
-
import "lodash/upperFirst";
|
|
43
|
-
import "../chunk/yl4BU7Sd.js";
|
|
44
|
-
import "lodash/isPlainObject";
|
|
45
|
-
import "../chunk/BJ9_azwQ.js";
|
|
46
|
-
import "../chunk/Bl7BnD1R.js";
|
|
47
|
-
import tt from "../utils/throttleByRaf.js";
|
|
48
|
-
import "uuid";
|
|
49
|
-
import "../chunk/CplLA01W.js";
|
|
50
|
-
import "../affix/index.js";
|
|
51
|
-
import "../alert/index.js";
|
|
52
|
-
import "../anchor/Anchor.js";
|
|
53
|
-
import "../auto-complete/index.js";
|
|
54
|
-
import "../avatar/index.js";
|
|
55
|
-
import "../back-top/index.js";
|
|
56
|
-
import "../badge/index.js";
|
|
57
|
-
import "../breadcrumb/index.js";
|
|
58
|
-
import "../button/index.js";
|
|
59
|
-
import "../calendar/index.js";
|
|
60
|
-
import "../card/index.js";
|
|
61
|
-
import "../carousel/index.js";
|
|
62
|
-
import "../chunk/DFcz9ZPP.js";
|
|
63
|
-
import "../chunk/BxZ39GzB.js";
|
|
64
|
-
import "../chunk/CWlklVfi.js";
|
|
65
|
-
import "../comment/index.js";
|
|
66
|
-
import "../copy/index.js";
|
|
67
|
-
import "../date-picker/index.js";
|
|
68
|
-
import "../descriptions/index.js";
|
|
69
|
-
import "../divider/index.js";
|
|
70
|
-
import "../drawer/Drawer.js";
|
|
71
|
-
import "../dropdown/index.js";
|
|
72
|
-
import "../form/index.js";
|
|
73
|
-
import "../grid/index.js";
|
|
74
|
-
import "../icon/index.js";
|
|
75
|
-
import "../image/Image.js";
|
|
76
|
-
import "../input/Input.js";
|
|
77
|
-
import "../input-tag/InputTag.js";
|
|
78
|
-
import "../layout/index.js";
|
|
79
|
-
import "../link/index.js";
|
|
80
|
-
import "../list/index.js";
|
|
81
|
-
import "../mentions/index.js";
|
|
82
|
-
import "../chunk/B8hkFIar.js";
|
|
83
|
-
import "../chunk/WVoGhvMI.js";
|
|
84
|
-
import "../page-header/index.js";
|
|
85
|
-
import "../pagination/Pagination.js";
|
|
86
|
-
import "../popconfirm/index.js";
|
|
87
|
-
import "../popover/index.js";
|
|
88
|
-
import "../portal/index.js";
|
|
89
|
-
import "../progress/index.js";
|
|
90
|
-
import "../color-picker/index.js";
|
|
91
|
-
import "../loading/index.js";
|
|
92
|
-
import "../chunk/EL5Jmjgr.js";
|
|
93
|
-
import "../rate/index.js";
|
|
94
|
-
import "../resize-box/index.js";
|
|
95
|
-
import "../result/index.js";
|
|
96
|
-
import "../select/Select.js";
|
|
97
|
-
import "../skeleton/index.js";
|
|
98
|
-
import "../slider/index.js";
|
|
99
|
-
import "../space/index.js";
|
|
100
|
-
import "../speech-synthesis/index.js";
|
|
101
|
-
import "../spin/index.js";
|
|
102
|
-
import "../statistic/index.js";
|
|
103
|
-
import "../steps/index.js";
|
|
104
|
-
import "../suspense-fallback-test/index.js";
|
|
105
|
-
import "../switch/index.js";
|
|
106
|
-
import "../table/index.js";
|
|
107
|
-
import "../chunk/0mWCmQHr.js";
|
|
108
|
-
import "../tag/index.js";
|
|
109
|
-
import "../time-picker/index.js";
|
|
110
|
-
import "../timeline/Timeline.js";
|
|
111
|
-
import rt from "../tooltip/index.js";
|
|
112
|
-
import "../transfer/index.js";
|
|
113
|
-
import "../tree/Tree.js";
|
|
114
|
-
import "../tree-select/Select.js";
|
|
115
|
-
import "../trigger/index.js";
|
|
116
|
-
import ot from "./Paragraph.js";
|
|
117
|
-
import et from "./Text.js";
|
|
118
|
-
import it from "./Title.js";
|
|
119
|
-
import pt from "./Typography.js";
|
|
120
|
-
import "../upload/Upload.js";
|
|
121
|
-
import "../verification-code/VerificationCode.js";
|
|
122
|
-
import "../watermark/Watermark.js";
|
|
123
|
-
import { r as mt } from "../chunk/CIRG541s.js";
|
|
124
|
-
import V from "lodash/isPlainObject.js";
|
|
125
|
-
const nt = {
|
|
126
|
-
rows: 1,
|
|
127
|
-
expandable: !0,
|
|
128
|
-
defaultExpanded: !1
|
|
129
|
-
}, st = (j, at) => {
|
|
130
|
-
var M;
|
|
131
|
-
const $ = K(U), T = X(
|
|
132
|
-
j,
|
|
133
|
-
nt,
|
|
134
|
-
(M = $.componentConfig) == null ? void 0 : M["Typography.Ellipsis"]
|
|
135
|
-
), {
|
|
136
|
-
className: A,
|
|
137
|
-
style: L,
|
|
138
|
-
rows: n,
|
|
139
|
-
disabled: P,
|
|
140
|
-
showTooltip: u,
|
|
141
|
-
children: s,
|
|
142
|
-
expandable: d,
|
|
143
|
-
expandRender: R,
|
|
144
|
-
onExpand: l,
|
|
145
|
-
onEllipsis: a
|
|
146
|
-
} = T, { locale: w } = $, S = Z ? !1 : /^((?!chrome|android).)*safari/i.test((navigator == null ? void 0 : navigator.userAgent) ?? ""), D = y(null), m = y(null), [C, H] = O(""), [_, b] = O(!1), c = y(null), f = y(null), [r, W] = Y(!1, {
|
|
147
|
-
defaultValue: T.defaultExpanded,
|
|
148
|
-
value: T.expanded
|
|
149
|
-
}), [i, k] = O(!1), x = z(() => V(d) ? !d.single && n === 1 : n === 1, [n, d]), h = z(() => V(u) ? {
|
|
150
|
-
tooltip: !0,
|
|
151
|
-
tooltipProps: u
|
|
152
|
-
} : {
|
|
153
|
-
tooltip: !!u,
|
|
154
|
-
tooltipProps: u
|
|
155
|
-
}, [u]);
|
|
156
|
-
E(() => {
|
|
157
|
-
if (m.current) {
|
|
158
|
-
const e = m.current.textContent;
|
|
159
|
-
e && H(e);
|
|
160
|
-
}
|
|
161
|
-
}, [s, m]);
|
|
162
|
-
const t = $.getPrefixCls("ellipsis"), q = () => R ? R(r) : /* @__PURE__ */ o("span", { className: `${t}-action-text`, children: r ? w.Typography.fold : w.Typography.unfold }), g = () => d && i ? /* @__PURE__ */ o(
|
|
163
|
-
"div",
|
|
164
|
-
{
|
|
165
|
-
className: p(`${t}-action`, {
|
|
166
|
-
[`${t}-action-collapsed`]: !r
|
|
167
|
-
}),
|
|
168
|
-
onClick: (e) => {
|
|
169
|
-
r ? (W(!1), l == null || l(!1, e)) : (W(!0), b(!1), l == null || l(!0, e));
|
|
170
|
-
},
|
|
171
|
-
children: q()
|
|
172
|
-
}
|
|
173
|
-
) : null, F = Q(
|
|
174
|
-
tt(() => {
|
|
175
|
-
f.current && c.current && ((x ? f.current.offsetWidth > c.current.offsetWidth : f.current.offsetHeight > c.current.offsetHeight) ? i === !1 && (k(!0), a == null || a(!0)) : i === !0 && (k(!1), a == null || a(!1)));
|
|
176
|
-
}),
|
|
177
|
-
[i, x]
|
|
178
|
-
);
|
|
179
|
-
E(() => {
|
|
180
|
-
const e = mt(
|
|
181
|
-
[c.current, f.current],
|
|
182
|
-
F
|
|
183
|
-
);
|
|
184
|
-
return () => {
|
|
185
|
-
e();
|
|
186
|
-
};
|
|
187
|
-
}, [c.current, f.current]);
|
|
188
|
-
const G = () => P ? null : /* @__PURE__ */ o(
|
|
189
|
-
"div",
|
|
190
|
-
{
|
|
191
|
-
className: x ? p(`${t}-content-mirror`, `${t}-single`) : p(
|
|
192
|
-
`${t}-content-mirror`,
|
|
193
|
-
`${t}-multiple`,
|
|
194
|
-
`${t}-collapsed`
|
|
195
|
-
),
|
|
196
|
-
style: {
|
|
197
|
-
WebkitBoxOrient: "vertical",
|
|
198
|
-
MozBoxOrient: "vertical",
|
|
199
|
-
WebkitLineClamp: n
|
|
200
|
-
},
|
|
201
|
-
ref: c,
|
|
202
|
-
children: /* @__PURE__ */ o("span", { ref: f, className: `${t}-text`, children: s })
|
|
203
|
-
}
|
|
204
|
-
), B = () => x ? /* @__PURE__ */ o("div", { className: p(`${t}-content`, `${t}-single`), children: /* @__PURE__ */ o("span", { ref: m, className: `${t}-text`, children: s }) }) : S ? /* @__PURE__ */ N(
|
|
205
|
-
"div",
|
|
206
|
-
{
|
|
207
|
-
className: p(`${t}-content`, `${t}-multiple`),
|
|
208
|
-
title: !h.tooltip && i && !r ? C : void 0,
|
|
209
|
-
children: [
|
|
210
|
-
!r && g(),
|
|
211
|
-
/* @__PURE__ */ o(
|
|
212
|
-
"span",
|
|
213
|
-
{
|
|
214
|
-
ref: m,
|
|
215
|
-
className: p(`${t}-text`, {
|
|
216
|
-
[`${t}-collapsed`]: !r
|
|
217
|
-
}),
|
|
218
|
-
style: {
|
|
219
|
-
WebkitBoxOrient: "vertical",
|
|
220
|
-
MozBoxOrient: "vertical",
|
|
221
|
-
WebkitLineClamp: n
|
|
222
|
-
},
|
|
223
|
-
children: s
|
|
224
|
-
}
|
|
225
|
-
),
|
|
226
|
-
r && g()
|
|
227
|
-
]
|
|
228
|
-
}
|
|
229
|
-
) : /* @__PURE__ */ N(
|
|
230
|
-
"div",
|
|
231
|
-
{
|
|
232
|
-
className: p(`${t}-content`, `${t}-multiple`, {
|
|
233
|
-
[`${t}-collapsed`]: !r
|
|
234
|
-
}),
|
|
235
|
-
style: {
|
|
236
|
-
WebkitBoxOrient: "vertical",
|
|
237
|
-
MozBoxOrient: "vertical",
|
|
238
|
-
WebkitLineClamp: n
|
|
239
|
-
},
|
|
240
|
-
title: !h.tooltip && i && !r ? C : void 0,
|
|
241
|
-
children: [
|
|
242
|
-
!r && g(),
|
|
243
|
-
/* @__PURE__ */ o("span", { ref: m, className: `${t}-text`, children: s }),
|
|
244
|
-
r && g()
|
|
245
|
-
]
|
|
246
|
-
}
|
|
247
|
-
), I = () => P ? /* @__PURE__ */ o("div", { className: `${t}-content`, children: /* @__PURE__ */ o("span", { ref: m, className: `${t}-text`, children: s }) }) : h.tooltip ? /* @__PURE__ */ o(
|
|
248
|
-
rt,
|
|
249
|
-
{
|
|
250
|
-
content: C,
|
|
251
|
-
popupVisible: _,
|
|
252
|
-
disabled: !i || r,
|
|
253
|
-
triggerProps: {
|
|
254
|
-
mouseEnterDelay: 100
|
|
255
|
-
},
|
|
256
|
-
onVisibleChange: (e) => {
|
|
257
|
-
e ? i && !r && b(!0) : b(!1);
|
|
258
|
-
},
|
|
259
|
-
...h.tooltipProps,
|
|
260
|
-
children: B()
|
|
261
|
-
}
|
|
262
|
-
) : B();
|
|
263
|
-
return /* @__PURE__ */ N("div", { ref: D, className: p(t, A), style: L, children: [
|
|
264
|
-
G(),
|
|
265
|
-
I()
|
|
266
|
-
] });
|
|
267
|
-
}, lt = J(st), v = pt;
|
|
268
|
-
v.Title = it;
|
|
269
|
-
v.Text = et;
|
|
270
|
-
v.Paragraph = ot;
|
|
271
|
-
v.Ellipsis = lt;
|
|
1
|
+
import { E as o, w as t } from "../chunk/Cwm8LL5p.js";
|
|
2
|
+
import { default as f } from "./Paragraph.js";
|
|
3
|
+
import { default as l } from "./Text.js";
|
|
4
|
+
import { default as T } from "./Title.js";
|
|
5
|
+
import "./Typography.js";
|
|
272
6
|
export {
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
7
|
+
o as TypographyEllipsis,
|
|
8
|
+
f as TypographyParagraph,
|
|
9
|
+
l as TypographyText,
|
|
10
|
+
T as TypographyTitle,
|
|
11
|
+
t as default
|
|
278
12
|
};
|
package/upload/TriggerNode.js
CHANGED
|
@@ -3,7 +3,7 @@ import y from "@unicom-cloud/icons/IconUiPlus";
|
|
|
3
3
|
import A from "@unicom-cloud/icons/IconUiUpload";
|
|
4
4
|
import C, { forwardRef as G, useContext as K, useState as U, useEffect as L } from "react";
|
|
5
5
|
import O from "../button/index.js";
|
|
6
|
-
import { a as R } from "../chunk/
|
|
6
|
+
import { a as R } from "../chunk/CNcLypMY.js";
|
|
7
7
|
import { u as B } from "../chunk/XTEsYGuF.js";
|
|
8
8
|
import { p as I } from "../chunk/CUFsOxJ2.js";
|
|
9
9
|
import { loopDirectory as H, getFiles as S } from "./util.js";
|
package/upload/Upload.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as C, Fragment as T, jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import w from "lodash/isFunction";
|
|
3
3
|
import le from "lodash/isNumber";
|
|
4
4
|
import { useContext as D, forwardRef as j, useState as F, useEffect as R, isValidElement as re, useRef as K, useImperativeHandle as oe } from "react";
|
|
5
|
-
import { a as V, I as ae } from "../chunk/
|
|
5
|
+
import { a as V, I as ae } from "../chunk/CNcLypMY.js";
|
|
6
6
|
import { u as se } from "../chunk/BFTV6myl.js";
|
|
7
7
|
import { p as z } from "../chunk/CUFsOxJ2.js";
|
|
8
8
|
import { o as ce } from "../chunk/BKKEev13.js";
|