@unicom-cloud/ui 0.8.62 → 0.8.63
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 +2 -2
- package/Anchor.js +1 -1
- package/AutoComplete.js +3 -3
- package/Avatar.js +1 -1
- package/BackTop.js +2 -2
- package/Badge.js +2 -2
- 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 +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +4 -4
- package/Comment.js +1 -1
- package/ConfigProvider.js +2 -2
- package/Copy.js +1 -1
- package/DatePicker.js +1026 -1016
- package/Descriptions.js +10 -10
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Drawer.js +1 -1
- package/Dropdown.js +1 -1
- package/Empty.js +1 -1
- package/Form.js +2 -2
- package/Grid.js +2 -2
- package/Icon.js +1 -1
- package/IconHover.js +1 -1
- package/Image.js +1 -1
- package/Input.js +1 -1
- package/InputNumber.js +2 -2
- package/InputTag.js +1 -1
- package/Layout.js +2 -2
- package/Link.js +1 -1
- package/List.js +3 -3
- package/Mentions.js +3 -3
- package/Menu.js +1 -1
- package/Message.js +2 -2
- package/Modal.js +1 -1
- package/Notice.js +1 -1
- package/Notification.js +2 -2
- package/OverflowEllipsis.js +1 -1
- package/PageHeader.js +1 -1
- package/Pagination.js +1 -1
- package/Picker.js +1 -1
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Progress.js +1 -1
- package/Radio.js +2 -2
- package/Rate.js +1 -1
- package/ResizeBox.js +1 -1
- package/Result.js +1 -1
- package/Select.js +1 -1
- package/SelectView.js +3 -3
- package/Skeleton.js +1 -1
- package/Slider.js +2 -2
- package/Space.js +32 -32
- package/Spin.js +1 -1
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/Switch.js +2 -2
- package/Table.js +4 -4
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/TimePicker.js +3 -3
- package/Timeline.js +1 -1
- package/Tooltip.js +1 -1
- package/Transfer.js +3 -3
- package/Tree.js +1 -1
- package/TreeSelect.js +1 -1
- package/Trigger.js +2 -2
- package/Typography.js +1 -1
- package/Upload.js +2 -2
- package/VerificationCode.js +1 -1
- package/Watermark.js +1 -1
- package/chunk/{DRp7voqz.js → B5gIo-hD.js} +3 -3
- package/chunk/{CDJ1EnJ2.js → B9w_puFP.js} +1 -1
- package/chunk/{C4eJ9vCf.js → BEB_A9eY.js} +2 -2
- package/chunk/{B8SZFOjt.js → BLLKKgZJ.js} +1 -1
- package/chunk/{B0oDiPqE.js → BcwdVUDs.js} +1 -1
- package/chunk/{CazXy0r4.js → Bn2-vqTg.js} +3 -3
- package/chunk/{BnqeQYIZ.js → BnLshM9R.js} +23 -23
- package/chunk/{D3VMG9V1.js → BoDdbbF_.js} +1 -1
- package/chunk/{CV1kLw5Z.js → C5S_amaH.js} +1 -1
- package/chunk/{DRQ1v6Ux.js → C6Zb_-OE.js} +1 -1
- package/chunk/{BXWxA-tS.js → CAxIyiy6.js} +2 -2
- package/chunk/{C8o-VGyc.js → CD7dGcUa.js} +3 -3
- package/chunk/{Bp3XomF8.js → CLBavO5c.js} +23 -20
- package/chunk/{CJnshq6A.js → CZ1wrD_H.js} +2 -2
- package/chunk/{BlNFmhNa.js → CfTcP6nF.js} +3 -3
- package/chunk/{C6fEFlPt.js → CfZWOhnc.js} +2 -2
- package/chunk/{mfn4EgmQ.js → CgDayZDE.js} +1 -1
- package/chunk/{nbEvdwT0.js → Co3idurS.js} +2 -2
- package/chunk/{Wum88vrW.js → CvlD3aiv.js} +2 -2
- package/chunk/{AqH9yP_J.js → D3dcFbex.js} +2 -2
- package/chunk/{CHyuuVxl.js → DDDuw0Zi.js} +1 -1
- package/chunk/{Dtm4BmKB.js → DXZ8-ha7.js} +1 -1
- package/chunk/{qpd2axxs.js → DbLgopUR.js} +2 -2
- package/chunk/{tOFzwzpT.js → DbPYtS7-.js} +1 -1
- package/chunk/{-Z968QpN.js → Dk6hL04k.js} +3 -3
- package/chunk/{KchYsivk.js → Dpzgtdt-.js} +1 -1
- package/chunk/{B4-WpgY2.js → JpKOcIfl.js} +3 -3
- package/chunk/{DGasAUHE.js → QFkhCtUr.js} +11 -11
- package/chunk/{CT1lZ7ss.js → aqSmxUbY.js} +1 -1
- package/chunk/{yESVS-qX.js → rlfmXePI.js} +3 -3
- package/index.js +344 -326
- package/locale/zh-CN.js +8 -0
- package/package.json +1 -1
- package/types/color-picker/hooks/useColorPicker.d.ts +3 -8
- package/types/date-picker/index.d.ts +7 -0
- package/types/index.d.ts +2 -2
- package/types/locale/interface.d.ts +1 -0
- package/types/locale/zh-CN.d.ts +14 -0
- package/types/space/index.d.ts +2 -1
- package/types/utils/is.d.ts +2 -0
- package/types/verification-code/VerificationCode.d.ts +2 -1
- package/utils/CSSTransition.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/dayjs.js +50 -49
- package/utils/index.js +161 -148
- package/utils/is.js +125 -112
package/Descriptions.js
CHANGED
|
@@ -2,8 +2,8 @@ import { jsxs as c, jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import z from "lodash/isArray";
|
|
3
3
|
import T from "lodash/isNumber";
|
|
4
4
|
import V from "lodash/isPlainObject";
|
|
5
|
-
import { useContext as q, useState as B, useRef as G, useEffect as J
|
|
6
|
-
import { d as K } from "./chunk/
|
|
5
|
+
import S, { useContext as q, useState as B, useRef as G, useEffect as J } from "react";
|
|
6
|
+
import { d as K } from "./chunk/C5S_amaH.js";
|
|
7
7
|
import { useMergeProps as Q } from "./hooks/useMergeProps.js";
|
|
8
8
|
import { y as U } from "./chunk/BzPkh4Zv.js";
|
|
9
9
|
import x, { responsiveArray as P } from "./utils/responsiveObserve.js";
|
|
@@ -67,7 +67,7 @@ function X(f) {
|
|
|
67
67
|
t < l && (s[s.length - 1].span = s[s.length - 1].span + l - t);
|
|
68
68
|
}
|
|
69
69
|
function E(s, t) {
|
|
70
|
-
return /* @__PURE__ */ c(S, { children: [
|
|
70
|
+
return /* @__PURE__ */ c(S.Fragment, { children: [
|
|
71
71
|
/* @__PURE__ */ a("tr", { className: `${n}-row`, children: s.map((e, i) => {
|
|
72
72
|
const r = e.span > 1 ? { colSpan: e.span } : {};
|
|
73
73
|
return /* @__PURE__ */ c(
|
|
@@ -102,7 +102,7 @@ function X(f) {
|
|
|
102
102
|
function F(s, t) {
|
|
103
103
|
return /* @__PURE__ */ a("tr", { className: `${n}-row`, children: s.map((e, i) => {
|
|
104
104
|
const r = e.span > 1 ? { colSpan: e.span * 2 - 1 } : {};
|
|
105
|
-
return /* @__PURE__ */ c(S, { children: [
|
|
105
|
+
return /* @__PURE__ */ c(S.Fragment, { children: [
|
|
106
106
|
/* @__PURE__ */ c("td", { className: `${n}-item-label`, style: y, children: [
|
|
107
107
|
e.label,
|
|
108
108
|
d
|
|
@@ -119,7 +119,7 @@ function X(f) {
|
|
|
119
119
|
] }, e.key || i);
|
|
120
120
|
}) }, t);
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function R(s, t) {
|
|
123
123
|
return /* @__PURE__ */ a("tr", { className: `${n}-row`, children: s.map((e, i) => {
|
|
124
124
|
const r = e.span > 1 ? { colSpan: e.span } : {};
|
|
125
125
|
return /* @__PURE__ */ c(
|
|
@@ -153,10 +153,10 @@ function X(f) {
|
|
|
153
153
|
);
|
|
154
154
|
}) }, t);
|
|
155
155
|
}
|
|
156
|
-
function
|
|
157
|
-
return u === "inline-vertical" || u === "inline-horizontal" ?
|
|
156
|
+
function H(s, t) {
|
|
157
|
+
return u === "inline-vertical" || u === "inline-horizontal" ? R(s, t) : u === "vertical" ? E(s, t) : F(s, t);
|
|
158
158
|
}
|
|
159
|
-
const
|
|
159
|
+
const M = U(
|
|
160
160
|
n,
|
|
161
161
|
{
|
|
162
162
|
[`${n}-border`]: L,
|
|
@@ -167,9 +167,9 @@ function X(f) {
|
|
|
167
167
|
},
|
|
168
168
|
D
|
|
169
169
|
);
|
|
170
|
-
return /* @__PURE__ */ c("div", { className:
|
|
170
|
+
return /* @__PURE__ */ c("div", { className: M, style: w, children: [
|
|
171
171
|
v && /* @__PURE__ */ a("div", { className: `${n}-title`, children: v }),
|
|
172
|
-
/* @__PURE__ */ a("div", { className: `${n}-body`, children: /* @__PURE__ */ a("table", { className: `${n}-table`, cellPadding: 0, cellSpacing: 0, children: /* @__PURE__ */ a("tbody", { children: o.map((s, t) =>
|
|
172
|
+
/* @__PURE__ */ a("div", { className: `${n}-body`, children: /* @__PURE__ */ a("table", { className: `${n}-table`, cellPadding: 0, cellSpacing: 0, children: /* @__PURE__ */ a("tbody", { children: o.map((s, t) => H(s, t)) }) }) })
|
|
173
173
|
] });
|
|
174
174
|
}
|
|
175
175
|
X.displayName = "Descriptions";
|
package/Divider.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as x, useContext as $ } from "react";
|
|
3
|
-
import { d as u } from "./chunk/
|
|
3
|
+
import { d as u } from "./chunk/C5S_amaH.js";
|
|
4
4
|
import { useMergeProps as h } from "./hooks/useMergeProps.js";
|
|
5
5
|
import { y as v } from "./chunk/BzPkh4Zv.js";
|
|
6
6
|
const y = {
|
package/Draggable.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as I } from "react/jsx-runtime";
|
|
2
2
|
import S, { useRef as P, useState as u, useEffect as $, useContext as O } from "react";
|
|
3
|
-
import { d as T } from "./chunk/
|
|
3
|
+
import { d as T } from "./chunk/C5S_amaH.js";
|
|
4
4
|
import { y as w } from "./chunk/BzPkh4Zv.js";
|
|
5
5
|
function N(m) {
|
|
6
6
|
const {
|
package/Drawer.js
CHANGED
package/Dropdown.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s, jsxs as J } from "react/jsx-runtime";
|
|
2
2
|
import $ from "lodash/get";
|
|
3
3
|
import l, { forwardRef as K, useContext as j, useRef as A } from "react";
|
|
4
|
-
import { d as U } from "./chunk/
|
|
4
|
+
import { d as U } from "./chunk/C5S_amaH.js";
|
|
5
5
|
import { useMergeProps as z } from "./hooks/useMergeProps.js";
|
|
6
6
|
import { useMergeValue as S } from "./hooks/useMergeValue.js";
|
|
7
7
|
import W, { EventsByTriggerNeed as X } from "./Trigger.js";
|
package/Empty.js
CHANGED
package/Form.js
CHANGED
|
@@ -6,7 +6,7 @@ import { p as Ke } from "./chunk/CANaGbGR.js";
|
|
|
6
6
|
import M from "lodash/isPlainObject";
|
|
7
7
|
import Me from "lodash/merge";
|
|
8
8
|
import H, { createContext as ue, useRef as L, forwardRef as Ve, useContext as O, useEffect as ie, useImperativeHandle as et, Component as tt, isValidElement as fe, useState as ce, useMemo as we, createElement as Ee, cloneElement as Te, useCallback as ee } from "react";
|
|
9
|
-
import { d as xe, a as rt } from "./chunk/
|
|
9
|
+
import { d as xe, a as rt } from "./chunk/C5S_amaH.js";
|
|
10
10
|
import { useCreate as st } from "./hooks/useCreate.js";
|
|
11
11
|
import { useMergeProps as it } from "./hooks/useMergeProps.js";
|
|
12
12
|
import { y as G } from "./chunk/BzPkh4Zv.js";
|
|
@@ -33,7 +33,7 @@ import gt from "lodash/isNil";
|
|
|
33
33
|
import re from "./utils/warning.js";
|
|
34
34
|
import te from "lodash/isUndefined";
|
|
35
35
|
import je from "./Grid.js";
|
|
36
|
-
import { P as mt } from "./chunk/
|
|
36
|
+
import { P as mt } from "./chunk/CLBavO5c.js";
|
|
37
37
|
import Ft from "@unicom-cloud/icons/IconUiQuestionCircleFill";
|
|
38
38
|
import ft from "./Tooltip.js";
|
|
39
39
|
import { useForceUpdate as pt } from "./hooks/useForceUpdate.js";
|
package/Grid.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { G as V, a as A, C as Y, R as Z } from "./chunk/
|
|
1
|
+
import { G as V, a as A, C as Y, R as Z } from "./chunk/BcwdVUDs.js";
|
|
2
2
|
import { jsx as M } from "react/jsx-runtime";
|
|
3
3
|
import X from "lodash/get";
|
|
4
4
|
import y, { useRef as ee, useState as q, useEffect as z, useMemo as b, forwardRef as H, useContext as h } from "react";
|
|
5
|
-
import { d as J } from "./chunk/
|
|
5
|
+
import { d as J } from "./chunk/C5S_amaH.js";
|
|
6
6
|
import { useMergeProps as K } from "./hooks/useMergeProps.js";
|
|
7
7
|
import { y as L } from "./chunk/BzPkh4Zv.js";
|
|
8
8
|
import te from "lodash/isPlainObject";
|
package/Icon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { b as g } from "./chunk/
|
|
3
|
+
import { b as g } from "./chunk/C5S_amaH.js";
|
|
4
4
|
import { y as x } from "./chunk/BzPkh4Zv.js";
|
|
5
5
|
import { isServerRendering as y } from "./utils/dom.js";
|
|
6
6
|
const I = [];
|
package/IconHover.js
CHANGED
package/Image.js
CHANGED
package/Input.js
CHANGED
package/InputNumber.js
CHANGED
|
@@ -5,9 +5,9 @@ import "@unicom-cloud/icons/IconUiPlus";
|
|
|
5
5
|
import "@unicom-cloud/icons/IconUiUp";
|
|
6
6
|
import "lodash/isNumber";
|
|
7
7
|
import "react";
|
|
8
|
-
import "./chunk/
|
|
8
|
+
import "./chunk/C5S_amaH.js";
|
|
9
9
|
import "./hooks/useMergeProps.js";
|
|
10
|
-
import { a as b } from "./chunk/
|
|
10
|
+
import { a as b } from "./chunk/Bn2-vqTg.js";
|
|
11
11
|
import "./chunk/BzPkh4Zv.js";
|
|
12
12
|
import "./chunk/C2lIz2F9.js";
|
|
13
13
|
import "./utils/omit.js";
|
package/InputTag.js
CHANGED
package/Layout.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import g from "lodash/get";
|
|
3
3
|
import S, { forwardRef as f, useContext as p, useState as w } from "react";
|
|
4
|
-
import { d as u } from "./chunk/
|
|
4
|
+
import { d as u } from "./chunk/C5S_amaH.js";
|
|
5
5
|
import { useMergeProps as M } from "./hooks/useMergeProps.js";
|
|
6
6
|
import { y as d } from "./chunk/BzPkh4Zv.js";
|
|
7
|
-
import { S as b } from "./chunk/
|
|
7
|
+
import { S as b } from "./chunk/DbPYtS7-.js";
|
|
8
8
|
function j(o, s) {
|
|
9
9
|
const { className: n, children: e, ...r } = o, { getPrefixCls: a } = p(u), t = a("layout-content"), c = d(t, n);
|
|
10
10
|
return /* @__PURE__ */ l("main", { ref: s, ...r, className: c, children: e });
|
package/Link.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as C, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import $ from "@unicom-cloud/icons/IconUiLink";
|
|
3
3
|
import { forwardRef as g, useContext as L } from "react";
|
|
4
|
-
import { d as P } from "./chunk/
|
|
4
|
+
import { d as P } from "./chunk/C5S_amaH.js";
|
|
5
5
|
import { useKeyboardEvent as w } from "./hooks/useKeyboardEvent.js";
|
|
6
6
|
import { useMergeProps as K } from "./hooks/useMergeProps.js";
|
|
7
7
|
import { y as N } from "./chunk/BzPkh4Zv.js";
|
package/List.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as N, jsx as s, Fragment as At } from "react/jsx-runtime";
|
|
2
2
|
import F, { useContext as K, useRef as R, useState as J, useImperativeHandle as Dt, useCallback as Ht, createElement as Tt } from "react";
|
|
3
3
|
import Vt from "lodash/throttle";
|
|
4
|
-
import { d as Q } from "./chunk/
|
|
5
|
-
import { R as mt, C as dt } from "./chunk/
|
|
4
|
+
import { d as Q } from "./chunk/C5S_amaH.js";
|
|
5
|
+
import { R as mt, C as dt } from "./chunk/BcwdVUDs.js";
|
|
6
6
|
import { useMergeProps as ht } from "./hooks/useMergeProps.js";
|
|
7
|
-
import { P as _t } from "./chunk/
|
|
7
|
+
import { P as _t } from "./chunk/B5gIo-hD.js";
|
|
8
8
|
import kt from "./Spin.js";
|
|
9
9
|
import { y as M } from "./chunk/BzPkh4Zv.js";
|
|
10
10
|
import Bt from "./utils/omit.js";
|
package/Mentions.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as P, jsx as M } from "react/jsx-runtime";
|
|
2
2
|
import q, { useContext as z, useRef as T, useState as G, useEffect as J } from "react";
|
|
3
|
-
import { d as Q } from "./chunk/
|
|
3
|
+
import { d as Q } from "./chunk/C5S_amaH.js";
|
|
4
4
|
import { useMergeProps as X } from "./hooks/useMergeProps.js";
|
|
5
5
|
import { useMergeValue as Y } from "./hooks/useMergeValue.js";
|
|
6
|
-
import { I as Z } from "./chunk/
|
|
7
|
-
import { S as _ } from "./chunk/
|
|
6
|
+
import { I as Z } from "./chunk/Bn2-vqTg.js";
|
|
7
|
+
import { S as _ } from "./chunk/Co3idurS.js";
|
|
8
8
|
import { y as ee } from "./chunk/BzPkh4Zv.js";
|
|
9
9
|
import { d as V, E as S, c as w, A as N } from "./chunk/C2lIz2F9.js";
|
|
10
10
|
function te(i, { split: t }) {
|
package/Menu.js
CHANGED
package/Message.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "./chunk/
|
|
2
|
+
import "./chunk/CLBavO5c.js";
|
|
3
3
|
import "lodash/isNumber";
|
|
4
4
|
import "lodash/isUndefined";
|
|
5
|
-
import { M as d } from "./chunk/
|
|
5
|
+
import { M as d } from "./chunk/C5S_amaH.js";
|
|
6
6
|
import "./NotificationBase.js";
|
|
7
7
|
import "./chunk/BzPkh4Zv.js";
|
|
8
8
|
import "./utils/reactDOM.js";
|
package/Modal.js
CHANGED
package/Notice.js
CHANGED
|
@@ -7,7 +7,7 @@ import "@unicom-cloud/icons/IconUiInfoCircleFill";
|
|
|
7
7
|
import "@unicom-cloud/icons/IconUiLoading";
|
|
8
8
|
import "@unicom-cloud/icons/context";
|
|
9
9
|
import "react";
|
|
10
|
-
import { l as u } from "./chunk/
|
|
10
|
+
import { l as u } from "./chunk/C5S_amaH.js";
|
|
11
11
|
import "./chunk/BzPkh4Zv.js";
|
|
12
12
|
export {
|
|
13
13
|
u as default
|
package/Notification.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "./chunk/
|
|
2
|
+
import "./chunk/CLBavO5c.js";
|
|
3
3
|
import "lodash/isNumber";
|
|
4
4
|
import "lodash/isUndefined";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import { g } from "./chunk/
|
|
6
|
+
import { g } from "./chunk/C5S_amaH.js";
|
|
7
7
|
import "./NotificationBase.js";
|
|
8
8
|
import "./chunk/BzPkh4Zv.js";
|
|
9
9
|
import "./utils/reactDOM.js";
|
package/OverflowEllipsis.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as C, jsxs as D } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as j, useRef as k, useEffect as g, useState as m, useLayoutEffect as P } from "react";
|
|
3
|
-
import { d as v } from "./chunk/
|
|
3
|
+
import { d as v } from "./chunk/C5S_amaH.js";
|
|
4
4
|
import { y as E } from "./chunk/BzPkh4Zv.js";
|
|
5
5
|
function _(l) {
|
|
6
6
|
const { getPrefixCls: x } = j(v), i = x("overflow-item"), u = k();
|
package/PageHeader.js
CHANGED
|
@@ -3,7 +3,7 @@ import T from "@unicom-cloud/icons/IconUiLeft";
|
|
|
3
3
|
import W from "@unicom-cloud/icons/IconUiRight";
|
|
4
4
|
import j, { useContext as K, useState as U, useRef as D, useImperativeHandle as F, useEffect as L } from "react";
|
|
5
5
|
import M from "./Breadcrumb.js";
|
|
6
|
-
import { d as S, I as q } from "./chunk/
|
|
6
|
+
import { d as S, I as q } from "./chunk/C5S_amaH.js";
|
|
7
7
|
import { useKeyboardEvent as G } from "./hooks/useKeyboardEvent.js";
|
|
8
8
|
import { useMergeProps as J } from "./hooks/useMergeProps.js";
|
|
9
9
|
import { y as N } from "./chunk/BzPkh4Zv.js";
|
package/Pagination.js
CHANGED
package/Picker.js
CHANGED
package/Popconfirm.js
CHANGED
|
@@ -4,7 +4,7 @@ import y from "lodash/isFunction";
|
|
|
4
4
|
import K from "lodash/isNil";
|
|
5
5
|
import { forwardRef as Q, useContext as X, useState as Y, useImperativeHandle as Z, useEffect as _ } from "react";
|
|
6
6
|
import N from "./Button.js";
|
|
7
|
-
import { d as ee } from "./chunk/
|
|
7
|
+
import { d as ee } from "./chunk/C5S_amaH.js";
|
|
8
8
|
import { useMergeProps as oe } from "./hooks/useMergeProps.js";
|
|
9
9
|
import { useMergeValue as ne } from "./hooks/useMergeValue.js";
|
|
10
10
|
import te from "./Tooltip.js";
|
package/Popover.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as j, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import u from "lodash/isFunction";
|
|
3
3
|
import { forwardRef as O, useContext as R } from "react";
|
|
4
|
-
import { d as T } from "./chunk/
|
|
4
|
+
import { d as T } from "./chunk/C5S_amaH.js";
|
|
5
5
|
import { useMergeProps as w } from "./hooks/useMergeProps.js";
|
|
6
6
|
import F from "./Tooltip.js";
|
|
7
7
|
import { y as H } from "./chunk/BzPkh4Zv.js";
|
package/Progress.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t, jsxs as v } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback as N, forwardRef as I, useContext as j } from "react";
|
|
3
|
-
import { d as _ } from "./chunk/
|
|
3
|
+
import { d as _ } from "./chunk/C5S_amaH.js";
|
|
4
4
|
import { useMergeProps as F } from "./hooks/useMergeProps.js";
|
|
5
5
|
import { y as w } from "./chunk/BzPkh4Zv.js";
|
|
6
6
|
import G from "./utils/omit.js";
|
package/Radio.js
CHANGED
package/Rate.js
CHANGED
|
@@ -5,7 +5,7 @@ import x from "@unicom-cloud/icons/IconUiFaceSmileFill";
|
|
|
5
5
|
import tt from "@unicom-cloud/icons/IconUiStarFill";
|
|
6
6
|
import { o as rt, d as et } from "./chunk/DApXtulb.js";
|
|
7
7
|
import g, { useContext as ot, useState as v } from "react";
|
|
8
|
-
import { d as at } from "./chunk/
|
|
8
|
+
import { d as at } from "./chunk/C5S_amaH.js";
|
|
9
9
|
import { useMergeProps as st } from "./hooks/useMergeProps.js";
|
|
10
10
|
import ct from "./Tooltip.js";
|
|
11
11
|
import { y as U } from "./chunk/BzPkh4Zv.js";
|
package/ResizeBox.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m, jsxs as ft } from "react/jsx-runtime";
|
|
2
2
|
import vt from "lodash/isNumber";
|
|
3
3
|
import Wt, { useContext as ut, useRef as F, useEffect as lt, forwardRef as Ct, useState as ct, useImperativeHandle as zt } from "react";
|
|
4
|
-
import { d as mt } from "./chunk/
|
|
4
|
+
import { d as mt } from "./chunk/C5S_amaH.js";
|
|
5
5
|
import { useMergeProps as Bt } from "./hooks/useMergeProps.js";
|
|
6
6
|
import { useMergeValue as Tt } from "./hooks/useMergeValue.js";
|
|
7
7
|
import { y as P } from "./chunk/BzPkh4Zv.js";
|
package/Result.js
CHANGED
|
@@ -4,7 +4,7 @@ import p from "@unicom-cloud/icons/IconUiClose";
|
|
|
4
4
|
import u from "@unicom-cloud/icons/IconUiExclamation";
|
|
5
5
|
import M from "@unicom-cloud/icons/IconUiInfo";
|
|
6
6
|
import { forwardRef as Z, useContext as v } from "react";
|
|
7
|
-
import { d as R } from "./chunk/
|
|
7
|
+
import { d as R } from "./chunk/C5S_amaH.js";
|
|
8
8
|
import { useMergeProps as $ } from "./hooks/useMergeProps.js";
|
|
9
9
|
import { y as m } from "./chunk/BzPkh4Zv.js";
|
|
10
10
|
function N() {
|
package/Select.js
CHANGED
package/SelectView.js
CHANGED
|
@@ -9,11 +9,11 @@ import ro from "@unicom-cloud/icons/IconUiLoading";
|
|
|
9
9
|
import no from "@unicom-cloud/icons/IconUiSearch";
|
|
10
10
|
import so from "lodash/isFunction";
|
|
11
11
|
import $e from "lodash/isUndefined";
|
|
12
|
-
import { d as ao, I as lo } from "./chunk/
|
|
12
|
+
import { d as ao, I as lo } from "./chunk/C5S_amaH.js";
|
|
13
13
|
import { useForceUpdate as co } from "./hooks/useForceUpdate.js";
|
|
14
14
|
import { usePersistCallback as io } from "./hooks/usePersistCallback.js";
|
|
15
|
-
import { I as uo } from "./chunk/
|
|
16
|
-
import { I as fo } from "./chunk/
|
|
15
|
+
import { I as uo } from "./chunk/CD7dGcUa.js";
|
|
16
|
+
import { I as fo } from "./chunk/DXZ8-ha7.js";
|
|
17
17
|
import po from "./Popover.js";
|
|
18
18
|
import Te from "./Tag.js";
|
|
19
19
|
import ye from "./utils/fillNBSP.js";
|
package/Skeleton.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n, jsxs as P } from "react/jsx-runtime";
|
|
2
2
|
import k from "lodash/isPlainObject";
|
|
3
3
|
import v, { forwardRef as w, useContext as S } from "react";
|
|
4
|
-
import { d as j } from "./chunk/
|
|
4
|
+
import { d as j } from "./chunk/C5S_amaH.js";
|
|
5
5
|
import { useMergeProps as b } from "./hooks/useMergeProps.js";
|
|
6
6
|
import { y as p } from "./chunk/BzPkh4Zv.js";
|
|
7
7
|
import { pickDataAttributes as A } from "./utils/pick.js";
|
package/Slider.js
CHANGED
|
@@ -4,7 +4,7 @@ import he from "lodash/isArray";
|
|
|
4
4
|
import E from "lodash/isFunction";
|
|
5
5
|
import re from "lodash/isPlainObject";
|
|
6
6
|
import _, { useState as Se, useContext as Le, useMemo as Z, useRef as S, useEffect as Ee, createElement as De, useCallback as H, forwardRef as st } from "react";
|
|
7
|
-
import { d as Be } from "./chunk/
|
|
7
|
+
import { d as Be } from "./chunk/C5S_amaH.js";
|
|
8
8
|
import { useMergeProps as at } from "./hooks/useMergeProps.js";
|
|
9
9
|
import { useMergeValue as Fe } from "./hooks/useMergeValue.js";
|
|
10
10
|
import { useUpdateEffect as ut } from "./hooks/useUpdateEffect.js";
|
|
@@ -15,7 +15,7 @@ import ne from "lodash/isNumber";
|
|
|
15
15
|
import ct from "lodash/isString";
|
|
16
16
|
import { useKeyboardEvent as ft } from "./hooks/useKeyboardEvent.js";
|
|
17
17
|
import mt from "./Trigger.js";
|
|
18
|
-
import { a as Te } from "./chunk/
|
|
18
|
+
import { a as Te } from "./chunk/Bn2-vqTg.js";
|
|
19
19
|
import { G as dt } from "./chunk/Cqyp4qni.js";
|
|
20
20
|
import gt from "lodash/isUndefined";
|
|
21
21
|
const pt = { maxWidth: 350 }, ht = {
|
package/Space.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { jsx as d, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { d as
|
|
6
|
-
import { useMergeProps as
|
|
7
|
-
import { y as
|
|
8
|
-
import { isFragment as
|
|
9
|
-
function
|
|
1
|
+
import { jsx as d, jsxs as A } from "react/jsx-runtime";
|
|
2
|
+
import M from "lodash/isArray";
|
|
3
|
+
import P from "lodash/isNumber";
|
|
4
|
+
import v, { forwardRef as b, useContext as j } from "react";
|
|
5
|
+
import { d as k } from "./chunk/C5S_amaH.js";
|
|
6
|
+
import { useMergeProps as F } from "./hooks/useMergeProps.js";
|
|
7
|
+
import { y as D } from "./chunk/BzPkh4Zv.js";
|
|
8
|
+
import { isFragment as E } from "react-is";
|
|
9
|
+
function N(c) {
|
|
10
10
|
let i = [];
|
|
11
|
-
return
|
|
12
|
-
|
|
11
|
+
return v.Children.forEach(c, (e) => {
|
|
12
|
+
E(e) && e.props ? i = i.concat(N(e.props.children)) : e != null && i.push(e);
|
|
13
13
|
}), i;
|
|
14
14
|
}
|
|
15
|
-
const
|
|
15
|
+
const H = {
|
|
16
16
|
size: "small",
|
|
17
17
|
direction: "horizontal"
|
|
18
18
|
};
|
|
19
|
-
function
|
|
20
|
-
const { getPrefixCls: e, componentConfig: l, rtl: y } = j(
|
|
19
|
+
function O(c, i) {
|
|
20
|
+
const { getPrefixCls: e, componentConfig: l, rtl: y } = j(k), C = F(
|
|
21
21
|
c,
|
|
22
|
-
|
|
22
|
+
H,
|
|
23
23
|
l == null ? void 0 : l.Space
|
|
24
24
|
), {
|
|
25
|
-
className:
|
|
26
|
-
style:
|
|
27
|
-
children:
|
|
25
|
+
className: S,
|
|
26
|
+
style: x,
|
|
27
|
+
children: w,
|
|
28
28
|
size: s,
|
|
29
29
|
direction: m,
|
|
30
|
-
align:
|
|
30
|
+
align: B,
|
|
31
31
|
wrap: p,
|
|
32
32
|
split: f,
|
|
33
|
-
...
|
|
34
|
-
} =
|
|
33
|
+
...L
|
|
34
|
+
} = C, n = e("space"), $ = B || (m === "horizontal" ? "center" : ""), R = D(
|
|
35
35
|
n,
|
|
36
36
|
{
|
|
37
37
|
[`${n}-${m}`]: m,
|
|
@@ -39,10 +39,10 @@ function q(c, i) {
|
|
|
39
39
|
[`${n}-wrap`]: p,
|
|
40
40
|
[`${n}-rtl`]: y
|
|
41
41
|
},
|
|
42
|
-
|
|
42
|
+
S
|
|
43
43
|
);
|
|
44
44
|
function u(r) {
|
|
45
|
-
if (
|
|
45
|
+
if (P(r))
|
|
46
46
|
return r;
|
|
47
47
|
switch (r) {
|
|
48
48
|
case "mini":
|
|
@@ -57,8 +57,8 @@ function q(c, i) {
|
|
|
57
57
|
return 8;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
const h =
|
|
61
|
-
function
|
|
60
|
+
const h = N(w);
|
|
61
|
+
function z(r) {
|
|
62
62
|
const o = h.length === r + 1, a = y ? "marginLeft" : "marginRight";
|
|
63
63
|
if (typeof s == "string" || typeof s == "number") {
|
|
64
64
|
const t = u(s);
|
|
@@ -69,7 +69,7 @@ function q(c, i) {
|
|
|
69
69
|
[m === "vertical" ? "marginBottom" : a]: t
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
|
-
if (
|
|
72
|
+
if (M(s)) {
|
|
73
73
|
const t = u(s[0]), g = u(s[1]);
|
|
74
74
|
return p ? o ? { marginBottom: g } : {
|
|
75
75
|
[`${a}`]: t,
|
|
@@ -77,16 +77,16 @@ function q(c, i) {
|
|
|
77
77
|
} : m === "vertical" ? { marginBottom: g } : { [`${a}`]: t };
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
return /* @__PURE__ */ d("div", { ref: i, className:
|
|
80
|
+
return /* @__PURE__ */ d("div", { ref: i, className: R, style: x, ...L, children: h.map((r, o) => {
|
|
81
81
|
const a = (r == null ? void 0 : r.key) || o, t = f != null && o > 0;
|
|
82
|
-
return /* @__PURE__ */
|
|
82
|
+
return /* @__PURE__ */ A(v.Fragment, { children: [
|
|
83
83
|
t && /* @__PURE__ */ d("div", { className: `${n}-item-split`, children: f }),
|
|
84
|
-
/* @__PURE__ */ d("div", { className: `${n}-item`, style:
|
|
84
|
+
/* @__PURE__ */ d("div", { className: `${n}-item`, style: z(o), children: r })
|
|
85
85
|
] }, a);
|
|
86
86
|
}) });
|
|
87
87
|
}
|
|
88
|
-
const
|
|
89
|
-
|
|
88
|
+
const q = b(O);
|
|
89
|
+
q.displayName = "Space";
|
|
90
90
|
export {
|
|
91
|
-
|
|
91
|
+
q as default
|
|
92
92
|
};
|
package/Spin.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as i, jsxs as u, Fragment as x } from "react/jsx-runtime";
|
|
|
2
2
|
import E from "@unicom-cloud/icons/IconUiLoading";
|
|
3
3
|
import P from "lodash/debounce";
|
|
4
4
|
import C, { useContext as b, useState as j, useCallback as _, useRef as A, useImperativeHandle as D, useEffect as F } from "react";
|
|
5
|
-
import { d as L } from "./chunk/
|
|
5
|
+
import { d as L } from "./chunk/C5S_amaH.js";
|
|
6
6
|
import { useMergeProps as H } from "./hooks/useMergeProps.js";
|
|
7
7
|
import { y as v } from "./chunk/BzPkh4Zv.js";
|
|
8
8
|
import { isEmptyReactNode as M } from "./utils/is.js";
|
package/Statistic.js
CHANGED
|
@@ -4,7 +4,7 @@ import L from "dayjs";
|
|
|
4
4
|
import W from "lodash/isFunction";
|
|
5
5
|
import M from "lodash/isNumber";
|
|
6
6
|
import { forwardRef as Y, useContext as q, useState as H, useRef as _, useEffect as z, useImperativeHandle as ne, useMemo as re } from "react";
|
|
7
|
-
import { d as A } from "./chunk/
|
|
7
|
+
import { d as A } from "./chunk/C5S_amaH.js";
|
|
8
8
|
import { useMergeProps as oe } from "./hooks/useMergeProps.js";
|
|
9
9
|
import ie from "./Skeleton.js";
|
|
10
10
|
import { y as B } from "./chunk/BzPkh4Zv.js";
|
package/Steps.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as k, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import E, { forwardRef as I, useContext as L } from "react";
|
|
3
|
-
import { d as M } from "./chunk/
|
|
3
|
+
import { d as M } from "./chunk/C5S_amaH.js";
|
|
4
4
|
import { useMergeProps as W } from "./hooks/useMergeProps.js";
|
|
5
5
|
import { y as R } from "./chunk/BzPkh4Zv.js";
|
|
6
6
|
import { pickDataAttributes as q } from "./utils/pick.js";
|
package/Switch.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as l, jsx as r, Fragment as R } from "react/jsx-runtime";
|
|
2
2
|
import q from "@unicom-cloud/icons/IconUiLoading";
|
|
3
|
-
import { I as A, P as x } from "./chunk/
|
|
3
|
+
import { I as A, P as x } from "./chunk/CLBavO5c.js";
|
|
4
4
|
import B from "lodash/isArray";
|
|
5
5
|
import { forwardRef as L, useContext as M, useState as O } from "react";
|
|
6
|
-
import { d as Q } from "./chunk/
|
|
6
|
+
import { d as Q } from "./chunk/C5S_amaH.js";
|
|
7
7
|
import { useMergeProps as U } from "./hooks/useMergeProps.js";
|
|
8
8
|
import { y as W } from "./chunk/BzPkh4Zv.js";
|
|
9
9
|
import "./utils/is.js";
|