@unicom-cloud/ui 0.8.73 → 0.8.75
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 +2 -2
- package/Alert.js +3 -3
- package/AutoComplete.js +2 -2
- package/BackTop.js +4 -4
- package/Badge.js +3 -3
- package/Breadcrumb.js +3 -3
- package/Button.js +2 -2
- package/Calendar.js +3 -3
- package/Card.js +2 -2
- package/Carousel.js +2 -2
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +2 -2
- package/Comment.js +2 -2
- package/ConfigProvider.js +1 -1
- package/Copy.js +3 -3
- package/DatePicker.js +1 -1
- package/Descriptions.js +2 -2
- package/Divider.js +2 -2
- package/Draggable.js +2 -2
- package/Dropdown.js +2 -2
- package/Empty.js +2 -2
- package/Icon.js +2 -2
- package/IconHover.js +2 -2
- package/Image.js +1 -1
- package/InputNumber.js +2 -2
- package/Layout.js +2 -2
- package/Link.js +2 -2
- package/List.js +2 -2
- package/Mentions.js +2 -2
- package/Menu.js +1 -1
- package/Message.js +4 -4
- package/Modal.js +1 -1
- package/Notice.js +2 -2
- package/Notification.js +4 -4
- package/OverflowEllipsis.js +2 -2
- package/PageHeader.js +2 -2
- package/Popconfirm.js +2 -2
- package/Popover.js +2 -2
- package/Progress.js +2 -2
- package/Radio.js +1 -1
- package/Rate.js +2 -2
- package/ResizeBox.js +2 -2
- package/Result.js +2 -2
- package/SelectView.js +1 -1
- package/Skeleton.js +2 -2
- package/Slider.js +2 -2
- package/Space.js +2 -2
- package/SpeechSynthesis.js +4 -4
- package/Spin.js +2 -2
- package/Statistic.js +3 -3
- package/Steps.js +2 -2
- package/Switch.js +4 -4
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +2 -2
- package/Tooltip.js +3 -3
- package/Transfer.js +2 -2
- package/Tree.js +1 -1
- package/Trigger.js +3 -3
- package/affix/index.js +2 -2
- package/alert/index.js +9 -9
- package/anchor/Anchor.js +26 -26
- package/anchor/Link.js +2 -2
- package/anchor/util.js +1 -1
- package/auto-complete/index.js +2 -2
- package/avatar/Avatar.js +2 -2
- package/avatar/Group.js +2 -2
- package/back-top/index.js +11 -11
- package/badge/Count.js +7 -7
- package/badge/index.js +9 -9
- package/breadcrumb/Item.js +6 -6
- package/breadcrumb/index.js +3 -3
- package/button/Group.js +2 -2
- package/button/index.js +2 -2
- package/calendar/Month.js +2 -2
- package/calendar/Year.js +1 -1
- package/calendar/index.js +4 -4
- package/card/Grid.js +5 -5
- package/card/Meta.js +4 -4
- package/card/index.js +2 -2
- package/carousel/Arrow.js +2 -2
- package/carousel/Indicator.js +6 -6
- package/carousel/index.js +2 -2
- package/cascader/Cascader.js +3 -3
- package/cascader/index.js +1 -1
- package/cascader/util.js +1 -1
- package/checkbox/Checkbox.js +3 -3
- package/checkbox/Group.js +3 -3
- package/checkbox/index.js +1 -1
- package/chunk/{oHDWCJnz.js → 0mWCmQHr.js} +3 -3
- package/chunk/{UDX9U6M7.js → B8hkFIar.js} +3 -3
- package/chunk/BFmckYou.js +25 -0
- package/chunk/{Cj2SQJiO.js → BJ9_azwQ.js} +487 -487
- package/chunk/{Dg0M2OmF.js → BViFMHr-.js} +5 -5
- package/chunk/BbqvFW5R.js +927 -0
- package/chunk/{uKZyjtff.js → BhBEMwvI.js} +21 -20
- package/chunk/{Bj4EV0eG.js → BpYX5PN4.js} +1 -1
- package/chunk/{B7hulkj9.js → BxZ39GzB.js} +2 -2
- package/chunk/C9XYyypq.js +713 -0
- package/chunk/CIkPwQlq.js +6 -0
- package/chunk/{uH6uxyao.js → CPlPBkN7.js} +2 -2
- package/chunk/CUFsOxJ2.js +10 -0
- package/chunk/CWlklVfi.js +257 -0
- package/chunk/{Ey4YJCkX.js → D0Dlbc2g.js} +2 -1
- package/chunk/{DejjIa3N.js → DFcz9ZPP.js} +35 -35
- package/chunk/{AwZqeapI.js → DRTWRsgI.js} +1 -1
- package/chunk/{D2LLXZQX.js → DeCsZrXb.js} +4 -4
- package/chunk/{DpoumMDw.js → DohlrJ4S.js} +1 -1
- package/chunk/DskaI8QL.js +25 -0
- package/chunk/{7HDzVe32.js → Dv6USvVF.js} +4 -4
- package/chunk/{DJDOFlqC.js → EL5Jmjgr.js} +2 -2
- package/chunk/{CiY7w1ZO.js → WVoGhvMI.js} +3 -3
- package/chunk/{BJ1soa2K.js → uEGHykhe.js} +18 -18
- package/collapse/Collapse.js +3 -3
- package/collapse/Item.js +4 -4
- package/collapse/index.js +1 -1
- package/color-picker/ControlBar.js +2 -2
- package/color-picker/InputAlpha.js +1 -1
- package/color-picker/InputHex.js +7 -7
- package/color-picker/InputRgb.js +6 -6
- package/color-picker/Palette.js +5 -5
- package/color-picker/Panel.js +4 -4
- package/color-picker/colors.js +7 -12
- package/color-picker/index.js +20 -20
- package/color-picker/utils.js +1 -1
- package/comment/index.js +6 -6
- package/config-provider/ConfigProvider.js +2 -2
- package/config-provider/context.js +1 -1
- package/config-provider/index.js +2 -2
- package/copy/index.js +16 -16
- package/date-picker/Picker.js +2 -2
- package/date-picker/PickerRange.js +3 -3
- package/date-picker/index.js +1 -1
- package/descriptions/index.js +2 -2
- package/divider/index.js +5 -5
- package/draggable/Item.js +1 -1
- package/draggable/index.js +9 -9
- package/drawer/Drawer.js +3 -3
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +2 -2
- package/empty/index.js +2 -2
- package/form/Control.js +1 -1
- package/form/Form.js +2 -2
- package/form/FormItem.js +3 -3
- package/form/FormLabel.js +9 -9
- package/form/context.js +1 -1
- package/grid/Col.js +2 -2
- package/grid/Row.js +2 -2
- package/grid/grid-item.js +2 -2
- package/grid/grid.js +8 -8
- package/icon/index.js +11 -11
- package/icon-hover/index.js +2 -2
- package/image/Image.js +4 -4
- package/image/ImageFooter.js +2 -2
- package/image/ImagePreview.js +5 -5
- package/image/ImagePreviewArrow.js +4 -4
- package/image/ImagePreviewGroup.js +1 -1
- package/image/ImagePreviewToolbar.js +1 -1
- package/image/TriggerForToolbar.js +4 -4
- package/image/index.js +1 -1
- package/index.js +586 -592
- package/input/Group.js +4 -4
- package/input/Input.js +45 -45
- package/input/InputElement.js +2 -2
- package/input/Password.js +2 -2
- package/input/Search.js +2 -2
- package/input/Textarea.js +2 -2
- package/input-number/index.js +2 -2
- package/input-tag/InputTag.js +4 -4
- package/layout/Content.js +2 -2
- package/layout/Footer.js +5 -5
- package/layout/Header.js +4 -4
- package/layout/Sider.js +2 -2
- package/layout/index.js +2 -2
- package/link/index.js +5 -5
- package/list/Item.js +2 -2
- package/list/Meta.js +4 -4
- package/list/index.js +2 -2
- package/mentions/index.js +2 -2
- package/menu/Item.js +5 -5
- package/menu/ItemGroup.js +1 -1
- package/menu/Menu.js +3 -3
- package/menu/OverflowWrap.js +2 -2
- package/menu/index.js +2 -2
- package/message/index.js +4 -4
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +4 -4
- package/modal/index.js +1 -1
- package/notice/index.js +2 -2
- package/notification/index.js +4 -4
- package/notification/useNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +6 -6
- package/overflow-ellipsis/index.js +8 -8
- package/package.json +1 -1
- package/page-header/index.js +2 -2
- package/pagination/PageItem.js +2 -2
- package/pagination/PageJumper.js +1 -1
- package/pagination/PageOption.js +1 -1
- package/pagination/Pagination.js +23 -23
- package/picker/Input.js +7 -7
- package/picker/InputRange.js +9 -9
- package/popconfirm/index.js +2 -2
- package/popover/index.js +2 -2
- package/progress/CircleProgress.js +7 -7
- package/progress/LineProgess.js +1 -1
- package/progress/StepProgress.js +7 -7
- package/progress/index.js +8 -8
- package/radio/Group.js +3 -3
- package/radio/Radio.js +3 -3
- package/radio/index.js +2 -2
- package/rate/index.js +2 -2
- package/resize-box/ResizeTrigger.js +10 -10
- package/resize-box/Split.js +12 -12
- package/resize-box/SplitGroup.js +2 -2
- package/resize-box/index.js +2 -2
- package/result/index.js +9 -9
- package/select/Option.js +2 -2
- package/select/Select.js +3 -3
- package/select-view/Core.js +27 -27
- package/select-view/index.js +1 -1
- package/skeleton/Image.js +4 -4
- package/skeleton/Text.js +7 -7
- package/skeleton/index.js +2 -2
- package/slider/Button.js +2 -2
- package/slider/Dot.js +5 -5
- package/slider/Input.js +12 -12
- package/slider/Tick.js +6 -6
- package/slider/index.js +2 -2
- package/space/index.js +12 -12
- package/speech-synthesis/index.js +4 -4
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +2 -2
- package/statistic/Countdown.js +7 -7
- package/statistic/index.js +20 -20
- package/steps/Step.js +1 -1
- package/steps/index.js +2 -2
- package/style/variables.less +375 -710
- package/style.css +1 -1
- package/switch/index.js +4 -4
- package/table/Table.js +4 -4
- package/table/index.js +4 -4
- package/tabs/Tab.js +3 -3
- package/tabs/TabContent.js +3 -3
- package/tabs/TabPane.js +2 -2
- package/tabs/index.js +2 -2
- package/tag/index.js +6 -6
- package/time-picker/Picker.js +2 -2
- package/time-picker/TimeColumn.js +7 -7
- package/time-picker/TimePicker.js +23 -23
- package/time-picker/util.js +5 -5
- package/timeline/Item.js +2 -2
- package/timeline/Timeline.js +2 -2
- package/tooltip/index.js +3 -3
- package/transfer/Item.js +3 -3
- package/transfer/List.js +3 -3
- package/transfer/index.js +2 -2
- package/tree/Animation.js +3 -3
- package/tree/Node.js +4 -4
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +3 -3
- package/tree/index.js +1 -1
- package/tree-select/Select.js +2 -2
- package/trigger/index.js +3 -3
- package/types/color-picker/colors.d.ts +1 -1
- package/types/config-provider/interface.d.ts +0 -1
- package/types/utils/color.d.ts +1 -1
- package/types/utils/constant.d.ts +1 -1
- package/types/utils/index.d.ts +1 -0
- package/types/utils/setDarkTheme.d.ts +4 -0
- package/typography/Base.js +2 -2
- package/typography/EditContent.js +1 -1
- package/typography/Ellipsis.js +14 -15
- package/typography/Paragraph.js +6 -6
- package/typography/Typography.js +5 -5
- package/typography/index.js +12 -13
- package/upload/TriggerNode.js +2 -2
- package/upload/Upload.js +5 -5
- package/upload/Uploader.js +2 -2
- package/upload/request.js +1 -1
- package/upload/request_.js +1 -1
- package/utils/PqbCSSTransition.js +1 -1
- package/utils/className.js +3 -3
- package/utils/color.js +2 -116
- package/utils/constant.js +3 -2
- package/utils/contextHolder.js +1 -1
- package/utils/copy.js +4 -4
- package/utils/dom.js +1 -1
- package/utils/fileToURL.js +1 -1
- package/utils/index.js +303 -309
- package/utils/reactTransitionGroup.js +1 -1
- package/utils/saveAs.js +1 -1
- package/utils/setDarkTheme.js +7 -0
- package/utils/tinycolor.js +13 -13
- package/utils/tween.js +1 -1
- package/verification-code/VerificationCode.js +7 -7
- package/version/index.js +1 -1
- package/watermark/Watermark.js +6 -6
- package/chunk/B0UZ1Ee2.js +0 -257
- package/chunk/Byd0ztYY.js +0 -724
- package/chunk/CCVU-Kst.js +0 -770
- package/chunk/CTxjmYmx.js +0 -19
- package/chunk/D0ZWT7db.js +0 -5
- package/chunk/JPPo5nY_.js +0 -9
package/divider/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as x, useContext as u } from "react";
|
|
3
|
-
import { a as $ } from "../chunk/
|
|
3
|
+
import { a as $ } from "../chunk/C9XYyypq.js";
|
|
4
4
|
import { u as h } from "../chunk/BFTV6myl.js";
|
|
5
|
-
import {
|
|
5
|
+
import { p as v } from "../chunk/CUFsOxJ2.js";
|
|
6
6
|
const C = {
|
|
7
7
|
type: "horizontal",
|
|
8
8
|
orientation: "center"
|
|
9
9
|
};
|
|
10
10
|
function N(a, n) {
|
|
11
|
-
const { getPrefixCls: l, componentConfig: r } = u($),
|
|
11
|
+
const { getPrefixCls: l, componentConfig: r } = u($), p = h(
|
|
12
12
|
a,
|
|
13
13
|
C,
|
|
14
14
|
r == null ? void 0 : r.Divider
|
|
15
|
-
), { children: e, style:
|
|
15
|
+
), { children: e, style: m, className: c, type: s, orientation: o, ...d } = p, t = l("divider"), f = v(
|
|
16
16
|
t,
|
|
17
17
|
`${t}-${s}`,
|
|
18
18
|
{
|
|
@@ -27,7 +27,7 @@ function N(a, n) {
|
|
|
27
27
|
role: "separator",
|
|
28
28
|
ref: n,
|
|
29
29
|
className: f,
|
|
30
|
-
style:
|
|
30
|
+
style: m,
|
|
31
31
|
...d,
|
|
32
32
|
children: e && s === "horizontal" ? /* @__PURE__ */ i("span", { className: `${t}-text ${t}-text-${o}`, children: e }) : null
|
|
33
33
|
}
|
package/draggable/Item.js
CHANGED
package/draggable/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import x, { useContext as I, useState as C } from "react";
|
|
3
|
-
import { a as D } from "../chunk/
|
|
4
|
-
import {
|
|
3
|
+
import { a as D } from "../chunk/C9XYyypq.js";
|
|
4
|
+
import { p as h } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
import v from "./Item.js";
|
|
6
|
-
function R(
|
|
6
|
+
function R(m) {
|
|
7
7
|
const { getPrefixCls: c } = I(D), r = c("draggable"), {
|
|
8
8
|
className: i,
|
|
9
|
-
children:
|
|
10
|
-
direction:
|
|
9
|
+
children: p,
|
|
10
|
+
direction: f = "vertical",
|
|
11
11
|
onIndexChange: t,
|
|
12
12
|
itemWrapperStyle: d
|
|
13
|
-
} =
|
|
14
|
-
return /* @__PURE__ */
|
|
13
|
+
} = m, [g, n] = C(null);
|
|
14
|
+
return /* @__PURE__ */ s("div", { className: h(r, i), children: x.Children.map(p, (u, e) => /* @__PURE__ */ s(
|
|
15
15
|
v,
|
|
16
16
|
{
|
|
17
17
|
style: d,
|
|
18
18
|
prefixCls: r,
|
|
19
|
-
direction:
|
|
19
|
+
direction: f,
|
|
20
20
|
onDragStart: () => n(e),
|
|
21
21
|
onDragEnd: () => n(null),
|
|
22
22
|
onDrop: (S, o) => {
|
package/drawer/Drawer.js
CHANGED
|
@@ -3,12 +3,12 @@ import Ie from "@unicom-cloud/icons/IconUiClose";
|
|
|
3
3
|
import Pe from "lodash/isFunction";
|
|
4
4
|
import $e, { useContext as Be, useRef as K, useState as d, useCallback as Ee, useMemo as Re, useImperativeHandle as Se, useEffect as U } from "react";
|
|
5
5
|
import _ from "../button/index.js";
|
|
6
|
-
import { a as Oe, I as De, b as A } from "../chunk/
|
|
6
|
+
import { a as Oe, I as De, b as A } from "../chunk/C9XYyypq.js";
|
|
7
7
|
import { u as Te } from "../chunk/BFTV6myl.js";
|
|
8
8
|
import { u as ze } from "../chunk/DU1RCDfh.js";
|
|
9
9
|
import Fe from "../portal/index.js";
|
|
10
|
-
import { P as J } from "../chunk/
|
|
11
|
-
import {
|
|
10
|
+
import { P as J } from "../chunk/BpYX5PN4.js";
|
|
11
|
+
import { p as g } from "../chunk/CUFsOxJ2.js";
|
|
12
12
|
import { isServerRendering as je, contains as He } from "../utils/dom.js";
|
|
13
13
|
import { o as Me } from "../chunk/BrOW642m.js";
|
|
14
14
|
import { o as Ze } from "../chunk/BKKEev13.js";
|
package/dropdown/Button.js
CHANGED
|
@@ -3,7 +3,7 @@ import "@unicom-cloud/icons/IconUiMore";
|
|
|
3
3
|
import "react";
|
|
4
4
|
import { DropdownButton as f } from "./index.js";
|
|
5
5
|
import "../button/index.js";
|
|
6
|
-
import "../chunk/
|
|
6
|
+
import "../chunk/C9XYyypq.js";
|
|
7
7
|
import "../chunk/BFTV6myl.js";
|
|
8
8
|
import "../chunk/ClqoGc3r.js";
|
|
9
9
|
export {
|
package/dropdown/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as s, jsxs as S } from "react/jsx-runtime";
|
|
2
2
|
import A from "lodash/get";
|
|
3
3
|
import l, { forwardRef as W, useContext as z, useRef as j } from "react";
|
|
4
|
-
import { a as F } from "../chunk/
|
|
4
|
+
import { a as F } from "../chunk/C9XYyypq.js";
|
|
5
5
|
import { u as G } from "../chunk/BFTV6myl.js";
|
|
6
6
|
import { u as X } from "../chunk/DeV0v__J.js";
|
|
7
7
|
import Y, { EventsByTriggerNeed as Z } from "../trigger/index.js";
|
|
8
|
-
import {
|
|
8
|
+
import { p as U } from "../chunk/CUFsOxJ2.js";
|
|
9
9
|
import { s as oo } from "../chunk/DAAff-FT.js";
|
|
10
10
|
import { o as eo } from "../chunk/BKKEev13.js";
|
|
11
11
|
import { a as L, p as to } from "../chunk/ClqoGc3r.js";
|
package/empty/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@unicom-cloud/icons/IconUiEmpty";
|
|
3
3
|
import "react";
|
|
4
|
-
import { E as e } from "../chunk/
|
|
4
|
+
import { E as e } from "../chunk/C9XYyypq.js";
|
|
5
5
|
import "../chunk/BFTV6myl.js";
|
|
6
|
-
import "../chunk/
|
|
6
|
+
import "../chunk/CUFsOxJ2.js";
|
|
7
7
|
export {
|
|
8
8
|
e as default
|
|
9
9
|
};
|
package/form/Control.js
CHANGED
|
@@ -14,7 +14,7 @@ import F from "lodash/isFunction";
|
|
|
14
14
|
import _ from "lodash/isNil";
|
|
15
15
|
import j from "lodash/set";
|
|
16
16
|
import I, { Component as z, isValidElement as A } from "react";
|
|
17
|
-
import {
|
|
17
|
+
import { p as G } from "../chunk/CUFsOxJ2.js";
|
|
18
18
|
import U from "../utils/warning.js";
|
|
19
19
|
import { FormItemContext as O } from "./context.js";
|
|
20
20
|
import { isFieldMatch as C, schemaValidate as k, isSyntheticEvent as q, ID_SUFFIX as B } from "./util.js";
|
package/form/Form.js
CHANGED
|
@@ -3,10 +3,10 @@ import { p as k } from "../chunk/Coz3rCng.js";
|
|
|
3
3
|
import v from "lodash/isPlainObject";
|
|
4
4
|
import O from "lodash/merge";
|
|
5
5
|
import { forwardRef as A, useContext as $, useRef as _, useEffect as H, useImperativeHandle as U } from "react";
|
|
6
|
-
import { a as W, b as X } from "../chunk/
|
|
6
|
+
import { a as W, b as X } from "../chunk/C9XYyypq.js";
|
|
7
7
|
import { u as B } from "../chunk/5_U1CBIu.js";
|
|
8
8
|
import { u as G } from "../chunk/BFTV6myl.js";
|
|
9
|
-
import {
|
|
9
|
+
import { p as J } from "../chunk/CUFsOxJ2.js";
|
|
10
10
|
import { o as K } from "../chunk/BKKEev13.js";
|
|
11
11
|
import { FormProviderContext as L, FormContext as Q } from "./context.js";
|
|
12
12
|
import Y from "./useForm.js";
|
package/form/FormItem.js
CHANGED
|
@@ -4,11 +4,11 @@ import ge from "lodash/isArray";
|
|
|
4
4
|
import he from "lodash/isFunction";
|
|
5
5
|
import y from "lodash/isPlainObject";
|
|
6
6
|
import w from "lodash/isUndefined";
|
|
7
|
-
import { a as Ce } from "../chunk/
|
|
7
|
+
import { a as Ce } from "../chunk/C9XYyypq.js";
|
|
8
8
|
import Y from "../grid/index.js";
|
|
9
9
|
import { u as ye } from "../chunk/BFTV6myl.js";
|
|
10
|
-
import { P as ve } from "../chunk/
|
|
11
|
-
import {
|
|
10
|
+
import { P as ve } from "../chunk/BpYX5PN4.js";
|
|
11
|
+
import { p as v } from "../chunk/CUFsOxJ2.js";
|
|
12
12
|
import { o as we } from "../chunk/BKKEev13.js";
|
|
13
13
|
import I from "./Control.js";
|
|
14
14
|
import Fe from "./FormLabel.js";
|
package/form/FormLabel.js
CHANGED
|
@@ -4,38 +4,38 @@ import R from "lodash/isArray";
|
|
|
4
4
|
import I from "lodash/isPlainObject";
|
|
5
5
|
import U, { isValidElement as N } from "react";
|
|
6
6
|
import g from "../tooltip/index.js";
|
|
7
|
-
import {
|
|
7
|
+
import { p as x } from "../chunk/CUFsOxJ2.js";
|
|
8
8
|
import y from "./IconSymbol.js";
|
|
9
9
|
import { ID_SUFFIX as C } from "./util.js";
|
|
10
10
|
const X = ({
|
|
11
11
|
htmlFor: s,
|
|
12
|
-
showColon:
|
|
12
|
+
showColon: n,
|
|
13
13
|
label: c,
|
|
14
|
-
requiredSymbol:
|
|
14
|
+
requiredSymbol: i,
|
|
15
15
|
required: F,
|
|
16
16
|
rules: l,
|
|
17
17
|
prefix: a,
|
|
18
18
|
tooltip: o
|
|
19
19
|
}) => {
|
|
20
|
-
const $ = R(l) && l.some((e) => e && e.required), p = I(
|
|
20
|
+
const $ = R(l) && l.some((e) => e && e.required), p = I(i) ? i.position : "end", f = (F || $) && !!i && /* @__PURE__ */ r("strong", { className: `${a}-form-item-symbol`, children: /* @__PURE__ */ r(y, {}) }), b = () => {
|
|
21
21
|
if (!o)
|
|
22
22
|
return null;
|
|
23
23
|
const e = `${a}-form-item-tooltip`;
|
|
24
|
-
let
|
|
24
|
+
let m = {}, d = /* @__PURE__ */ r(P, { className: e });
|
|
25
25
|
if (!I(o) || N(o))
|
|
26
|
-
|
|
26
|
+
m = {
|
|
27
27
|
content: o
|
|
28
28
|
};
|
|
29
29
|
else {
|
|
30
30
|
const { icon: t, ...h } = o;
|
|
31
|
-
|
|
31
|
+
m = h, t && (d = N(t) ? U.cloneElement(t, {
|
|
32
32
|
className: x(
|
|
33
33
|
e,
|
|
34
34
|
t.props.className
|
|
35
35
|
)
|
|
36
36
|
}) : t);
|
|
37
37
|
}
|
|
38
|
-
return /* @__PURE__ */ r(g, { ...
|
|
38
|
+
return /* @__PURE__ */ r(g, { ...m, children: d });
|
|
39
39
|
};
|
|
40
40
|
return c ? /* @__PURE__ */ u("label", { htmlFor: s && `${s}${C}`, children: [
|
|
41
41
|
p !== "end" && f,
|
|
@@ -46,7 +46,7 @@ const X = ({
|
|
|
46
46
|
" ",
|
|
47
47
|
f
|
|
48
48
|
] }),
|
|
49
|
-
|
|
49
|
+
n ? n === !0 ? ":" : n : ""
|
|
50
50
|
] }) : null;
|
|
51
51
|
};
|
|
52
52
|
export {
|
package/form/context.js
CHANGED
package/grid/Col.js
CHANGED
|
@@ -2,9 +2,9 @@ import { jsx as H } from "react/jsx-runtime";
|
|
|
2
2
|
import T from "lodash/isNumber";
|
|
3
3
|
import q from "lodash/isPlainObject";
|
|
4
4
|
import { forwardRef as C, useContext as S, useMemo as D } from "react";
|
|
5
|
-
import { a as I } from "../chunk/
|
|
5
|
+
import { a as I } from "../chunk/C9XYyypq.js";
|
|
6
6
|
import { u as J } from "../chunk/BFTV6myl.js";
|
|
7
|
-
import {
|
|
7
|
+
import { p as K } from "../chunk/CUFsOxJ2.js";
|
|
8
8
|
import { RowContext as N } from "./context.js";
|
|
9
9
|
const Q = {
|
|
10
10
|
span: 24
|
package/grid/Row.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as S, useContext as z, useState as G, useRef as H, useEffect as V } from "react";
|
|
3
|
-
import { a as B } from "../chunk/
|
|
3
|
+
import { a as B } from "../chunk/C9XYyypq.js";
|
|
4
4
|
import { u as E } from "../chunk/BFTV6myl.js";
|
|
5
|
-
import {
|
|
5
|
+
import { p as L } from "../chunk/CUFsOxJ2.js";
|
|
6
6
|
import { o as M } from "../chunk/BKKEev13.js";
|
|
7
7
|
import { responsiveObserve as x, responsiveArray as d } from "../utils/responsiveObserve.js";
|
|
8
8
|
import { RowContext as O } from "./context.js";
|
package/grid/grid-item.js
CHANGED
|
@@ -2,9 +2,9 @@ import { jsx as Q } from "react/jsx-runtime";
|
|
|
2
2
|
import T from "lodash/isFunction";
|
|
3
3
|
import V from "lodash/isString";
|
|
4
4
|
import c, { forwardRef as k, useContext as l, useMemo as u, useEffect as q } from "react";
|
|
5
|
-
import { a as z } from "../chunk/
|
|
5
|
+
import { a as z } from "../chunk/C9XYyypq.js";
|
|
6
6
|
import { u as A } from "../chunk/BFTV6myl.js";
|
|
7
|
-
import {
|
|
7
|
+
import { p as H } from "../chunk/CUFsOxJ2.js";
|
|
8
8
|
import { GridContext as J, GridDataCollectorContext as K } from "./context.js";
|
|
9
9
|
import { u as $ } from "../chunk/xAb6ZgqS.js";
|
|
10
10
|
import { resolveItemData as L } from "./util.js";
|
package/grid/grid.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import $ from "lodash/get";
|
|
3
3
|
import f, { forwardRef as h, useState as S, useContext as E } from "react";
|
|
4
|
-
import { a as T } from "../chunk/
|
|
4
|
+
import { a as T } from "../chunk/C9XYyypq.js";
|
|
5
5
|
import { u as b } from "../chunk/BFTV6myl.js";
|
|
6
|
-
import {
|
|
6
|
+
import { p as j } from "../chunk/CUFsOxJ2.js";
|
|
7
7
|
import { GridDataCollectorContext as B, GridContext as Q } from "./context.js";
|
|
8
8
|
import { u as p } from "../chunk/xAb6ZgqS.js";
|
|
9
9
|
import { setItemVisible as V } from "./util.js";
|
|
@@ -30,12 +30,12 @@ function q(u, x) {
|
|
|
30
30
|
rowGap: y,
|
|
31
31
|
collapsed: n,
|
|
32
32
|
collapsedRows: M
|
|
33
|
-
} = C, s = p(_, 24),
|
|
34
|
-
gap: `${p(y, 0)}px ${
|
|
33
|
+
} = C, s = p(_, 24), c = p(v, 0), P = {
|
|
34
|
+
gap: `${p(y, 0)}px ${c}px`,
|
|
35
35
|
gridTemplateColumns: `repeat(${s}, minmax(0px, 1fr))`
|
|
36
|
-
},
|
|
37
|
-
[`${
|
|
38
|
-
[`${
|
|
36
|
+
}, m = G("grid"), R = {
|
|
37
|
+
[`${m}`]: !0,
|
|
38
|
+
[`${m}-rtl`]: w
|
|
39
39
|
}, L = j(R, g), N = (() => {
|
|
40
40
|
const t = [];
|
|
41
41
|
for (const [o, a] of e.entries())
|
|
@@ -72,7 +72,7 @@ function q(u, x) {
|
|
|
72
72
|
{
|
|
73
73
|
value: {
|
|
74
74
|
cols: s,
|
|
75
|
-
colGap:
|
|
75
|
+
colGap: c,
|
|
76
76
|
collapsed: n,
|
|
77
77
|
overflow: d.overflow,
|
|
78
78
|
displayIndexList: d.displayIndexList
|
package/icon/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { C as g } from "../chunk/
|
|
4
|
-
import {
|
|
3
|
+
import { C as g } from "../chunk/C9XYyypq.js";
|
|
4
|
+
import { p as x } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
import { isServerRendering as y } from "../utils/dom.js";
|
|
6
6
|
const C = [];
|
|
7
7
|
function P(p = {}) {
|
|
@@ -11,14 +11,14 @@ function P(p = {}) {
|
|
|
11
11
|
e.setAttribute("src", r), e.setAttribute("data-namespace", r), C.push(r), document.body.appendChild(e);
|
|
12
12
|
}
|
|
13
13
|
function f(e, d) {
|
|
14
|
-
const { type: n, children: t, ...
|
|
14
|
+
const { type: n, children: t, ...l } = e, o = i.useRef();
|
|
15
15
|
i.useImperativeHandle(d, () => o.current);
|
|
16
16
|
let s;
|
|
17
17
|
return n && (s = /* @__PURE__ */ a("use", { xlinkHref: `#${n}` })), t && (s = t), /* @__PURE__ */ a(
|
|
18
|
-
|
|
18
|
+
m,
|
|
19
19
|
{
|
|
20
20
|
type: n,
|
|
21
|
-
...
|
|
21
|
+
...l,
|
|
22
22
|
...u,
|
|
23
23
|
ref: (c) => {
|
|
24
24
|
o.current = c;
|
|
@@ -29,9 +29,9 @@ function P(p = {}) {
|
|
|
29
29
|
}
|
|
30
30
|
return f.displayName = "Iconfont", i.forwardRef(f);
|
|
31
31
|
}
|
|
32
|
-
const
|
|
32
|
+
const m = i.forwardRef(function(r, u) {
|
|
33
33
|
return /* @__PURE__ */ a(g, { children: (e) => {
|
|
34
|
-
const { className: d, spin: n, children: t, type:
|
|
34
|
+
const { className: d, spin: n, children: t, type: l, ...o } = r, c = {
|
|
35
35
|
...{
|
|
36
36
|
width: "1em",
|
|
37
37
|
height: "1em",
|
|
@@ -40,7 +40,7 @@ const l = i.forwardRef(function(r, u) {
|
|
|
40
40
|
...o
|
|
41
41
|
}, h = e == null ? void 0 : e.getPrefixCls("icon"), I = x(
|
|
42
42
|
h,
|
|
43
|
-
|
|
43
|
+
l,
|
|
44
44
|
{
|
|
45
45
|
[`${h}-loading`]: n
|
|
46
46
|
},
|
|
@@ -49,9 +49,9 @@ const l = i.forwardRef(function(r, u) {
|
|
|
49
49
|
return c.className = I, /* @__PURE__ */ a("svg", { ...c, children: t });
|
|
50
50
|
} });
|
|
51
51
|
});
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
m.displayName = "Icon";
|
|
53
|
+
m.addFromIconFontCn = P;
|
|
54
54
|
export {
|
|
55
55
|
P as addFromIconFontCn,
|
|
56
|
-
|
|
56
|
+
m as default
|
|
57
57
|
};
|
package/icon-hover/index.js
CHANGED
package/image/Image.js
CHANGED
|
@@ -5,15 +5,15 @@ import E from "lodash/isNumber";
|
|
|
5
5
|
import D from "lodash/isPlainObject";
|
|
6
6
|
import Ne from "lodash/isUndefined";
|
|
7
7
|
import Ve, { useContext as H, useMemo as p, useRef as J, useEffect as g } from "react";
|
|
8
|
-
import { a as xe } from "../chunk/
|
|
8
|
+
import { a as xe } from "../chunk/C9XYyypq.js";
|
|
9
9
|
import { u as Le } from "../chunk/B0n0iRhF.js";
|
|
10
10
|
import { u as ye } from "../chunk/XTEsYGuF.js";
|
|
11
11
|
import { u as Ee } from "../chunk/BFTV6myl.js";
|
|
12
12
|
import { u as Ge } from "../chunk/DeV0v__J.js";
|
|
13
|
-
import {
|
|
13
|
+
import { p as Q } from "../chunk/CUFsOxJ2.js";
|
|
14
14
|
import { o as Re } from "../chunk/BKKEev13.js";
|
|
15
|
-
import { u as je, I as Se } from "../chunk/
|
|
16
|
-
import { P as W, u as Ue } from "../chunk/
|
|
15
|
+
import { u as je, I as Se } from "../chunk/DohlrJ4S.js";
|
|
16
|
+
import { P as W, u as Ue } from "../chunk/Dv6USvVF.js";
|
|
17
17
|
import Fe from "./ImagePreviewGroup.js";
|
|
18
18
|
import { PreviewGroupContext as Me } from "./previewGroupContext.js";
|
|
19
19
|
let G = 0;
|
package/image/ImageFooter.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@unicom-cloud/icons/IconUiMore";
|
|
3
|
-
import "../chunk/
|
|
3
|
+
import "../chunk/CUFsOxJ2.js";
|
|
4
4
|
import "./TriggerForToolbar.js";
|
|
5
|
-
import { I as e } from "../chunk/
|
|
5
|
+
import { I as e } from "../chunk/DohlrJ4S.js";
|
|
6
6
|
export {
|
|
7
7
|
e as ImageFooter
|
|
8
8
|
};
|
package/image/ImagePreview.js
CHANGED
|
@@ -12,7 +12,7 @@ import "@unicom-cloud/icons/IconUiZoomIn";
|
|
|
12
12
|
import "@unicom-cloud/icons/IconUiZoomOut";
|
|
13
13
|
import "lodash/isUndefined";
|
|
14
14
|
import "react";
|
|
15
|
-
import "../chunk/
|
|
15
|
+
import "../chunk/C9XYyypq.js";
|
|
16
16
|
import "lodash/isEqualWith";
|
|
17
17
|
import "../chunk/DeV0v__J.js";
|
|
18
18
|
import "../chunk/DAAff-FT.js";
|
|
@@ -28,14 +28,14 @@ import "../chunk/Ce1j9KTi.js";
|
|
|
28
28
|
import "../chunk/a3hR6zLw.js";
|
|
29
29
|
import "lodash/debounce";
|
|
30
30
|
import "../portal/index.js";
|
|
31
|
-
import "../chunk/
|
|
32
|
-
import "../chunk/
|
|
33
|
-
import "../chunk/
|
|
31
|
+
import "../chunk/BpYX5PN4.js";
|
|
32
|
+
import "../chunk/CUFsOxJ2.js";
|
|
33
|
+
import "../chunk/D0Dlbc2g.js";
|
|
34
34
|
import "../chunk/CIRG541s.js";
|
|
35
35
|
import "./ImagePreviewArrow.js";
|
|
36
36
|
import "./ImagePreviewToolbar.js";
|
|
37
37
|
import "./previewGroupContext.js";
|
|
38
|
-
import { P as M } from "../chunk/
|
|
38
|
+
import { P as M } from "../chunk/Dv6USvVF.js";
|
|
39
39
|
export {
|
|
40
40
|
M as default
|
|
41
41
|
};
|
|
@@ -2,8 +2,8 @@ import { jsxs as c, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import d from "@unicom-cloud/icons/IconUiLeft";
|
|
3
3
|
import p from "@unicom-cloud/icons/IconUiRight";
|
|
4
4
|
import { useContext as w } from "react";
|
|
5
|
-
import { a as u } from "../chunk/
|
|
6
|
-
import {
|
|
5
|
+
import { a as u } from "../chunk/C9XYyypq.js";
|
|
6
|
+
import { p as a } from "../chunk/CUFsOxJ2.js";
|
|
7
7
|
function j(l) {
|
|
8
8
|
const {
|
|
9
9
|
current: C,
|
|
@@ -13,8 +13,8 @@ function j(l) {
|
|
|
13
13
|
disableRight: n,
|
|
14
14
|
onPrev: i,
|
|
15
15
|
onNext: t
|
|
16
|
-
} = l, { getPrefixCls:
|
|
17
|
-
return /* @__PURE__ */ c("div", { className:
|
|
16
|
+
} = l, { getPrefixCls: f } = w(u), r = f("image-preview"), m = a(`${r}-arrow`);
|
|
17
|
+
return /* @__PURE__ */ c("div", { className: m, children: [
|
|
18
18
|
/* @__PURE__ */ e(
|
|
19
19
|
"div",
|
|
20
20
|
{
|
|
@@ -5,7 +5,7 @@ import Q from "lodash/isUndefined";
|
|
|
5
5
|
import a, { forwardRef as T, useMemo as W, useState as X, useRef as g, useEffect as Y, useImperativeHandle as Z } from "react";
|
|
6
6
|
import { u as $ } from "../chunk/oopARUrq.js";
|
|
7
7
|
import { u as x } from "../chunk/DeV0v__J.js";
|
|
8
|
-
import { P as ee } from "../chunk/
|
|
8
|
+
import { P as ee } from "../chunk/Dv6USvVF.js";
|
|
9
9
|
import { PreviewGroupContext as re } from "./previewGroupContext.js";
|
|
10
10
|
function te(I, C) {
|
|
11
11
|
const {
|
|
@@ -2,7 +2,7 @@ import { jsx as o, jsxs as k } from "react/jsx-runtime";
|
|
|
2
2
|
import L from "@unicom-cloud/icons/IconUiMore";
|
|
3
3
|
import { forwardRef as O } from "react";
|
|
4
4
|
import P from "../tooltip/index.js";
|
|
5
|
-
import {
|
|
5
|
+
import { p as $ } from "../chunk/CUFsOxJ2.js";
|
|
6
6
|
import { TriggerForToolbar as j } from "./TriggerForToolbar.js";
|
|
7
7
|
const D = (c, v) => {
|
|
8
8
|
const {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import a from "../trigger/index.js";
|
|
3
|
-
import {
|
|
3
|
+
import { p as c } from "../chunk/CUFsOxJ2.js";
|
|
4
4
|
const f = (r) => {
|
|
5
|
-
const { style: o, className: s, prefixCls: e, popup: t, children: m } = r,
|
|
6
|
-
return /* @__PURE__ */
|
|
5
|
+
const { style: o, className: s, prefixCls: e, popup: t, children: m } = r, p = c(`${e}-trigger`, s);
|
|
6
|
+
return /* @__PURE__ */ i(a, { style: o, className: p, popup: t, showArrow: !0, children: m });
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
9
|
f as TriggerForToolbar
|
package/image/index.js
CHANGED