@unicom-cloud/ui 0.8.64 → 0.8.65
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 +2 -2
- package/Anchor.js +1 -1
- package/AutoComplete.js +4 -4
- package/Avatar.js +2 -2
- package/BackTop.js +2 -2
- package/Badge.js +37 -31
- package/Breadcrumb.js +3 -3
- package/Button.js +82 -71
- 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 +5 -5
- package/Comment.js +2 -2
- package/ConfigProvider.js +2 -2
- package/Copy.js +3 -3
- package/DatePicker.js +92 -92
- package/Descriptions.js +2 -2
- package/Divider.js +2 -2
- package/Draggable.js +2 -2
- package/Drawer.js +1 -1
- package/Dropdown.js +2 -2
- package/Empty.js +2 -2
- package/Form.js +4 -4
- package/Grid.js +3 -3
- package/Icon.js +2 -2
- package/IconHover.js +2 -2
- package/Image.js +2 -2
- package/Input.js +3 -3
- package/InputNumber.js +3 -3
- package/InputTag.js +1 -1
- package/Layout.js +3 -3
- package/Link.js +2 -2
- package/List.js +30 -30
- package/Mentions.js +4 -4
- package/Menu.js +2 -2
- package/Message.js +2 -2
- package/Modal.js +1 -1
- package/Notice.js +2 -2
- package/Notification.js +2 -2
- package/OverflowEllipsis.js +2 -2
- package/PageHeader.js +2 -2
- package/Pagination.js +1 -1
- package/Picker.js +1 -1
- package/Popconfirm.js +2 -2
- package/Popover.js +2 -2
- package/Progress.js +2 -2
- package/Radio.js +2 -2
- package/Rate.js +2 -2
- package/ResizeBox.js +155 -154
- package/Result.js +2 -2
- package/Select.js +2 -2
- package/SelectView.js +7 -7
- package/Skeleton.js +2 -2
- package/Slider.js +5 -5
- package/Space.js +2 -2
- package/Spin.js +2 -2
- package/Statistic.js +2 -2
- package/Steps.js +2 -2
- package/Switch.js +3 -3
- package/Table.js +5 -5
- package/Tabs.js +4 -4
- package/Tag.js +2 -2
- package/TimePicker.js +4 -4
- package/Timeline.js +2 -2
- package/Tooltip.js +2 -2
- package/Transfer.js +4 -4
- package/Tree.js +1 -1
- package/TreeSelect.js +2 -2
- package/Trigger.js +43 -42
- package/Typography.js +1 -1
- package/Upload.js +4 -5
- package/VerificationCode.js +1 -1
- package/Version.js +5 -3
- package/Watermark.js +1 -1
- package/chunk/{-IELMT_x.js → 1GQdnTJp.js} +2 -2
- package/chunk/BAWsPQBM.js +11 -0
- package/chunk/{BJSjbYSN.js → BS09tn7B.js} +2 -2
- package/chunk/{oR9TkA35.js → BUCEs557.js} +2 -2
- package/chunk/BqGtwxTi.js +777 -0
- package/chunk/{CtUTlwlQ.js → Bqk6yh16.js} +2 -2
- package/chunk/{DPJEIBKZ.js → BqufsN8i.js} +4 -4
- package/chunk/{CA69nxbj.js → BtlvlGQN.js} +2 -2
- package/chunk/{CAhODOfT.js → CF6p9R93.js} +2 -2
- package/chunk/{D-oHJail.js → CGZ0In1p.js} +178 -175
- package/chunk/{BHnRi7Xh.js → CH1UUxsg.js} +4 -4
- package/chunk/{Yvz-hPQB.js → CIlGCedk.js} +3 -3
- package/chunk/{tW_FgNSv.js → CPcm9Cm5.js} +2 -2
- package/chunk/{Cqyp4qni.js → CSC_V_25.js} +45 -45
- package/chunk/{BtIG250j.js → CWgltRVL.js} +40 -40
- package/chunk/{BCxoi4Kf.js → CsbCHnFk.js} +2 -2
- package/chunk/{Cb_oWoGj.js → CwhPMMWy.js} +14 -14
- package/chunk/{QlYCEvCX.js → DG-epQqF.js} +2 -2
- package/chunk/{CxpFYX4B.js → DIx0qmCq.js} +3 -3
- package/chunk/{D01b7bWX.js → DK4KcodH.js} +176 -175
- package/chunk/{CYQ1EE4h.js → DLvMA1OW.js} +2 -2
- package/chunk/{CAiaqaWc.js → DQDkV47j.js} +2 -2
- package/chunk/{BfHNSLva.js → DTjcKyDN.js} +135 -134
- package/chunk/{BmO1y0vr.js → DUeHQKtx.js} +12 -12
- package/chunk/{CZfGDXaB.js → DXZEpA3t.js} +2 -2
- package/chunk/{CTF5o0OX.js → DjtWv6Wn.js} +1 -1
- package/chunk/{B5GDq8NJ.js → DlLL5JQo.js} +99 -96
- package/chunk/{CBgwLBAC.js → Dnycc1qJ.js} +104 -103
- package/chunk/{B68hRpYG.js → DqFhzTWC.js} +3 -3
- package/chunk/{BwSpYGK-.js → Dv_xRzvR.js} +3 -3
- package/chunk/{DQ561AmR.js → Ek8U5CTN.js} +222 -221
- package/chunk/{BSBJlVZH.js → ewRDIDUz.js} +4 -4
- package/chunk/{pq-36BDW.js → tYXLFPVI.js} +3 -3
- package/hooks/useIntersectionObserver.js +1 -1
- package/hooks/useMergeValue.js +2 -2
- package/index.js +378 -374
- package/locale/en-US.js +1 -1
- package/locale/tr-TR.js +1 -1
- package/package.json +1 -1
- package/style/variable.less +820 -0
- package/style.css +1 -1
- package/types/badge/index.d.ts +2 -2
- package/types/button/index.d.ts +3 -1
- package/types/config-provider/interface.d.ts +1 -1
- package/types/index.d.ts +5 -5
- package/types/select/interface.d.ts +1 -1
- package/types/tabs/Tab.d.ts +1 -1
- package/types/upload/Upload.d.ts +1 -1
- package/types/version/index.d.ts +2 -0
- package/utils/className.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/copy.js +1 -1
- package/utils/index.js +41 -41
- package/utils/is.js +37 -37
- package/utils/reactDOM.js +3 -3
- package/utils/scrollIntoView.js +1 -1
- package/chunk/BzPkh4Zv.js +0 -11
- package/chunk/_m8hLSsx.js +0 -776
package/Descriptions.js
CHANGED
|
@@ -3,9 +3,9 @@ import z from "lodash/isArray";
|
|
|
3
3
|
import T from "lodash/isNumber";
|
|
4
4
|
import V from "lodash/isPlainObject";
|
|
5
5
|
import S, { useContext as q, useState as B, useRef as G, useEffect as J } from "react";
|
|
6
|
-
import { d as K } from "./chunk/
|
|
6
|
+
import { d as K } from "./chunk/DlLL5JQo.js";
|
|
7
7
|
import { useMergeProps as Q } from "./hooks/useMergeProps.js";
|
|
8
|
-
import { y as U } from "./chunk/
|
|
8
|
+
import { y as U } from "./chunk/BAWsPQBM.js";
|
|
9
9
|
import x, { responsiveArray as P } from "./utils/responsiveObserve.js";
|
|
10
10
|
const k = (f) => z(f) ? f.reduce((h, p) => h + (p.span || 1), 0) : 0, W = {
|
|
11
11
|
layout: "horizontal",
|
package/Divider.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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/DlLL5JQo.js";
|
|
4
4
|
import { useMergeProps as h } from "./hooks/useMergeProps.js";
|
|
5
|
-
import { y as v } from "./chunk/
|
|
5
|
+
import { y as v } from "./chunk/BAWsPQBM.js";
|
|
6
6
|
const y = {
|
|
7
7
|
type: "horizontal",
|
|
8
8
|
orientation: "center"
|
package/Draggable.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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/
|
|
4
|
-
import { y as w } from "./chunk/
|
|
3
|
+
import { d as T } from "./chunk/DlLL5JQo.js";
|
|
4
|
+
import { y as w } from "./chunk/BAWsPQBM.js";
|
|
5
5
|
function N(m) {
|
|
6
6
|
const {
|
|
7
7
|
prefixCls: e,
|
package/Drawer.js
CHANGED
package/Dropdown.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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/DlLL5JQo.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";
|
|
8
|
-
import { y as T } from "./chunk/
|
|
8
|
+
import { y as T } from "./chunk/BAWsPQBM.js";
|
|
9
9
|
import { supportRef as Y } from "./utils/is.js";
|
|
10
10
|
import Z from "./utils/omit.js";
|
|
11
11
|
import ee, { pickDataAttributes as F } from "./utils/pick.js";
|
package/Empty.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/DlLL5JQo.js";
|
|
5
5
|
import "./hooks/useMergeProps.js";
|
|
6
|
-
import "./chunk/
|
|
6
|
+
import "./chunk/BAWsPQBM.js";
|
|
7
7
|
export {
|
|
8
8
|
e as default
|
|
9
9
|
};
|
package/Form.js
CHANGED
|
@@ -6,10 +6,10 @@ 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/DlLL5JQo.js";
|
|
10
10
|
import { useCreate as st } from "./hooks/useCreate.js";
|
|
11
11
|
import { useMergeProps as it } from "./hooks/useMergeProps.js";
|
|
12
|
-
import { y as G } from "./chunk/
|
|
12
|
+
import { y as G } from "./chunk/BAWsPQBM.js";
|
|
13
13
|
import _e from "./utils/omit.js";
|
|
14
14
|
import { NOOP as b } from "./utils/constant.js";
|
|
15
15
|
import $ from "lodash/get";
|
|
@@ -19,7 +19,7 @@ import j from "lodash/isFunction";
|
|
|
19
19
|
import nt from "lodash/omit";
|
|
20
20
|
import De from "lodash/setWith";
|
|
21
21
|
import { isExist as $e } from "./utils/is.js";
|
|
22
|
-
import { P as lt } from "./chunk/
|
|
22
|
+
import { P as lt } from "./chunk/DUeHQKtx.js";
|
|
23
23
|
import Ue from "lodash/cloneDeepWith";
|
|
24
24
|
import ot from "lodash/flatten";
|
|
25
25
|
import Oe from "lodash/set";
|
|
@@ -1235,7 +1235,7 @@ const Pe = (s, e) => !te(s) && s >= 0 && s < e.length, He = (s) => {
|
|
|
1235
1235
|
}
|
|
1236
1236
|
const v = ((R = a.getInnerMethods(!0)) == null ? void 0 : R.innerGetFieldValue(e)) || [], y = i.current.id;
|
|
1237
1237
|
i.current.id += 1;
|
|
1238
|
-
const w = v
|
|
1238
|
+
const w = v;
|
|
1239
1239
|
let k = w;
|
|
1240
1240
|
p !== void 0 && p >= 0 && p <= w.length ? (n.splice(p, 0, y), k = [
|
|
1241
1241
|
...w.slice(0, p),
|
package/Grid.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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/Bqk6yh16.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/DlLL5JQo.js";
|
|
6
6
|
import { useMergeProps as K } from "./hooks/useMergeProps.js";
|
|
7
|
-
import { y as L } from "./chunk/
|
|
7
|
+
import { y as L } from "./chunk/BAWsPQBM.js";
|
|
8
8
|
import te from "lodash/isPlainObject";
|
|
9
9
|
import F, { responsiveArray as Q } from "./utils/responsiveObserve.js";
|
|
10
10
|
import se from "lodash/isFunction";
|
package/Icon.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { b as g } from "./chunk/
|
|
4
|
-
import { y as x } from "./chunk/
|
|
3
|
+
import { b as g } from "./chunk/DlLL5JQo.js";
|
|
4
|
+
import { y as x } from "./chunk/BAWsPQBM.js";
|
|
5
5
|
import { isServerRendering as y } from "./utils/dom.js";
|
|
6
6
|
const I = [];
|
|
7
7
|
function P(p = {}) {
|
package/IconHover.js
CHANGED
package/Image.js
CHANGED
package/Input.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I as t } from "./chunk/
|
|
2
|
-
import { G as e, a as s, P as u, S as o, T as I, f as n } from "./chunk/
|
|
3
|
-
import { I as f } from "./chunk/
|
|
1
|
+
import { I as t } from "./chunk/DK4KcodH.js";
|
|
2
|
+
import { G as e, a as s, P as u, S as o, T as I, f as n } from "./chunk/DK4KcodH.js";
|
|
3
|
+
import { I as f } from "./chunk/BqufsN8i.js";
|
|
4
4
|
export {
|
|
5
5
|
e as InputGroup,
|
|
6
6
|
s as InputNumber,
|
package/InputNumber.js
CHANGED
|
@@ -5,10 +5,10 @@ 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/DlLL5JQo.js";
|
|
9
9
|
import "./hooks/useMergeProps.js";
|
|
10
|
-
import { a as b } from "./chunk/
|
|
11
|
-
import "./chunk/
|
|
10
|
+
import { a as b } from "./chunk/DK4KcodH.js";
|
|
11
|
+
import "./chunk/BAWsPQBM.js";
|
|
12
12
|
import "./chunk/C2lIz2F9.js";
|
|
13
13
|
import "./utils/omit.js";
|
|
14
14
|
export {
|
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 L from "lodash/get";
|
|
3
3
|
import S, { forwardRef as u, useContext as f, useState as w } from "react";
|
|
4
|
-
import { d as p } from "./chunk/
|
|
4
|
+
import { d as p } from "./chunk/DlLL5JQo.js";
|
|
5
5
|
import { useMergeProps as M } from "./hooks/useMergeProps.js";
|
|
6
|
-
import { y as d } from "./chunk/
|
|
7
|
-
import { S as b } from "./chunk/
|
|
6
|
+
import { y as d } from "./chunk/BAWsPQBM.js";
|
|
7
|
+
import { S as b } from "./chunk/DQDkV47j.js";
|
|
8
8
|
function j(o, s) {
|
|
9
9
|
const { className: n, children: e, ...r } = o, { getPrefixCls: a } = f(p), 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,10 +1,10 @@
|
|
|
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/DlLL5JQo.js";
|
|
5
5
|
import { useKeyboardEvent as w } from "./hooks/useKeyboardEvent.js";
|
|
6
6
|
import { useMergeProps as K } from "./hooks/useMergeProps.js";
|
|
7
|
-
import { y as N } from "./chunk/
|
|
7
|
+
import { y as N } from "./chunk/BAWsPQBM.js";
|
|
8
8
|
const D = {
|
|
9
9
|
hoverable: !0
|
|
10
10
|
};
|
package/List.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as C, 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/DlLL5JQo.js";
|
|
5
|
+
import { R as mt, C as dt } from "./chunk/Bqk6yh16.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/CH1UUxsg.js";
|
|
8
8
|
import kt from "./Spin.js";
|
|
9
|
-
import { y as M } from "./chunk/
|
|
9
|
+
import { y as M } from "./chunk/BAWsPQBM.js";
|
|
10
10
|
import Bt from "./utils/omit.js";
|
|
11
11
|
import { pickDataAttributes as Gt } from "./utils/pick.js";
|
|
12
12
|
import Ot from "./utils/scrollIntoView.js";
|
|
13
13
|
import { V as Ut } from "./chunk/D3NFxdmG.js";
|
|
14
14
|
function Wt(w, S) {
|
|
15
|
-
const { getPrefixCls: z } = K(Q), { className: y, avatar:
|
|
16
|
-
return /* @__PURE__ */
|
|
17
|
-
x && /* @__PURE__ */ s("div", { className: `${m}-avatar`, children:
|
|
18
|
-
j && /* @__PURE__ */
|
|
19
|
-
|
|
15
|
+
const { getPrefixCls: z } = K(Q), { className: y, avatar: N, title: $, description: d, ...f } = w, m = `${z("list")}-item-meta`, x = !!N, j = !!($ || d);
|
|
16
|
+
return /* @__PURE__ */ C("div", { ref: S, ...f, className: M(m, y), children: [
|
|
17
|
+
x && /* @__PURE__ */ s("div", { className: `${m}-avatar`, children: N }),
|
|
18
|
+
j && /* @__PURE__ */ C("div", { className: `${m}-content`, children: [
|
|
19
|
+
$ && /* @__PURE__ */ s("div", { className: `${m}-title`, children: $ }),
|
|
20
20
|
d && /* @__PURE__ */ s("div", { className: `${m}-description`, children: d })
|
|
21
21
|
] })
|
|
22
22
|
] });
|
|
@@ -27,16 +27,16 @@ const Zt = {
|
|
|
27
27
|
actionLayout: "horizontal"
|
|
28
28
|
};
|
|
29
29
|
function qt(w, S) {
|
|
30
|
-
const { getPrefixCls: z, componentConfig: y } = K(Q),
|
|
30
|
+
const { getPrefixCls: z, componentConfig: y } = K(Q), N = ht(
|
|
31
31
|
w,
|
|
32
32
|
Zt,
|
|
33
33
|
y && y["List.Item"]
|
|
34
|
-
), { children:
|
|
35
|
-
F.Children.forEach(
|
|
34
|
+
), { children: $, className: d, actions: f, extra: c, actionLayout: m, ...x } = N, h = `${z("list")}-item`, L = [], p = [];
|
|
35
|
+
F.Children.forEach($, (t) => {
|
|
36
36
|
t && t.type && t.type === X ? L.push(t) : p.push(t);
|
|
37
37
|
});
|
|
38
38
|
const V = p.length ? /* @__PURE__ */ s("div", { className: `${h}-content`, children: p }) : null, A = c ? /* @__PURE__ */ s("div", { className: `${h}-extra-content`, children: c }) : null, b = f && f.length ? /* @__PURE__ */ s("div", { className: `${h}-action`, children: f.map((t, _) => /* @__PURE__ */ s("li", { children: t }, `${h}-action-${_}`)) }) : null;
|
|
39
|
-
return /* @__PURE__ */
|
|
39
|
+
return /* @__PURE__ */ C(
|
|
40
40
|
"div",
|
|
41
41
|
{
|
|
42
42
|
role: "listitem",
|
|
@@ -44,7 +44,7 @@ function qt(w, S) {
|
|
|
44
44
|
className: M(h, d),
|
|
45
45
|
...x,
|
|
46
46
|
children: [
|
|
47
|
-
/* @__PURE__ */
|
|
47
|
+
/* @__PURE__ */ C("div", { className: `${h}-main`, children: [
|
|
48
48
|
L,
|
|
49
49
|
V,
|
|
50
50
|
m === "vertical" ? b : null
|
|
@@ -69,8 +69,8 @@ function Xt(w, S) {
|
|
|
69
69
|
const {
|
|
70
70
|
getPrefixCls: z,
|
|
71
71
|
loadingElement: y,
|
|
72
|
-
size:
|
|
73
|
-
renderEmpty:
|
|
72
|
+
size: N,
|
|
73
|
+
renderEmpty: $,
|
|
74
74
|
componentConfig: d,
|
|
75
75
|
rtl: f
|
|
76
76
|
} = K(Q), c = ht(
|
|
@@ -103,7 +103,7 @@ function Xt(w, S) {
|
|
|
103
103
|
listRef: Lt,
|
|
104
104
|
onReachBottom: E,
|
|
105
105
|
onListScroll: H
|
|
106
|
-
} = c, Pt = V || (Kt.indexOf(
|
|
106
|
+
} = c, Pt = V || (Kt.indexOf(N) > -1 ? N : "default"), e = z("list"), B = R(null), G = R(null), P = R(null), O = R(null), U = R(!0), [It, wt] = J(
|
|
107
107
|
t && typeof t == "object" && (t.pageSize || t.defaultPageSize) || pt
|
|
108
108
|
), [zt, xt] = J(
|
|
109
109
|
t && typeof t == "object" && (t.current || t.defaultCurrent) || ft
|
|
@@ -123,7 +123,7 @@ function Xt(w, S) {
|
|
|
123
123
|
},
|
|
124
124
|
getRootDOMNode: () => B.current
|
|
125
125
|
}));
|
|
126
|
-
const Z = c.virtualListProps ? c.virtualListProps : c.height ? { height: c.height } : void 0,
|
|
126
|
+
const Z = c.virtualListProps ? c.virtualListProps : c.height ? { height: c.height } : void 0, v = {
|
|
127
127
|
pageSize: It,
|
|
128
128
|
current: zt,
|
|
129
129
|
total: p.length > 0 ? p.length : rt,
|
|
@@ -137,9 +137,9 @@ function Xt(w, S) {
|
|
|
137
137
|
xt(n), t && typeof t == "object" && ((o = t.onChange) == null || o.call(t, n, l));
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
Math.ceil(
|
|
140
|
+
v.current = Math.min(
|
|
141
|
+
v.current,
|
|
142
|
+
Math.ceil(v.total / v.pageSize)
|
|
143
143
|
);
|
|
144
144
|
const nt = !!(H || E), ot = Ht(
|
|
145
145
|
Vt(() => {
|
|
@@ -155,7 +155,7 @@ function Xt(w, S) {
|
|
|
155
155
|
[et, W, H, E]
|
|
156
156
|
), Et = () => {
|
|
157
157
|
const n = (i) => {
|
|
158
|
-
const { current: u, pageSize: a } =
|
|
158
|
+
const { current: u, pageSize: a } = v, r = (u - 1) * a;
|
|
159
159
|
return t && i.length > r ? i.slice(r, r + a) : i;
|
|
160
160
|
}, l = (i, u) => {
|
|
161
161
|
const a = n(i);
|
|
@@ -208,19 +208,19 @@ function Xt(w, S) {
|
|
|
208
208
|
u ? u(r, T) : r
|
|
209
209
|
)) });
|
|
210
210
|
};
|
|
211
|
-
return p.length > 0 && k ? g ? o(p, k) : l(p, k) : rt > 0 ? g ? o(L) : l(L) : D ? null : yt ||
|
|
211
|
+
return p.length > 0 && k ? g ? o(p, k) : l(p, k) : rt > 0 ? g ? o(L) : l(L) : D ? null : yt || $("List");
|
|
212
212
|
}, st = () => {
|
|
213
213
|
const n = Et(), l = Z && Z.threshold !== null && Array.isArray(n), o = t ? /* @__PURE__ */ s(
|
|
214
214
|
_t,
|
|
215
215
|
{
|
|
216
|
-
...
|
|
216
|
+
...v,
|
|
217
217
|
className: M(
|
|
218
218
|
`${e}-pagination`,
|
|
219
|
-
|
|
219
|
+
v.className
|
|
220
220
|
)
|
|
221
221
|
}
|
|
222
222
|
) : null, i = tt ? o : null, u = tt ? null : o, a = D != null ? /* @__PURE__ */ s("div", { className: `${e}-item ${e}-scroll-loading`, children: D }) : null;
|
|
223
|
-
return /* @__PURE__ */
|
|
223
|
+
return /* @__PURE__ */ C(
|
|
224
224
|
"div",
|
|
225
225
|
{
|
|
226
226
|
ref: (r) => {
|
|
@@ -233,7 +233,7 @@ function Xt(w, S) {
|
|
|
233
233
|
h
|
|
234
234
|
),
|
|
235
235
|
children: [
|
|
236
|
-
/* @__PURE__ */
|
|
236
|
+
/* @__PURE__ */ C(
|
|
237
237
|
"div",
|
|
238
238
|
{
|
|
239
239
|
...Gt(c),
|
|
@@ -269,7 +269,7 @@ function Xt(w, S) {
|
|
|
269
269
|
...Z,
|
|
270
270
|
children: (r) => r
|
|
271
271
|
}
|
|
272
|
-
) }) : /* @__PURE__ */
|
|
272
|
+
) }) : /* @__PURE__ */ C(
|
|
273
273
|
"div",
|
|
274
274
|
{
|
|
275
275
|
role: "list",
|
|
@@ -281,7 +281,7 @@ function Xt(w, S) {
|
|
|
281
281
|
]
|
|
282
282
|
}
|
|
283
283
|
),
|
|
284
|
-
A || i ? /* @__PURE__ */
|
|
284
|
+
A || i ? /* @__PURE__ */ C("div", { className: `${e}-footer`, children: [
|
|
285
285
|
A,
|
|
286
286
|
i
|
|
287
287
|
] }) : null
|
package/Mentions.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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/DlLL5JQo.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/
|
|
8
|
-
import { y as ee } from "./chunk/
|
|
6
|
+
import { I as Z } from "./chunk/DK4KcodH.js";
|
|
7
|
+
import { S as _ } from "./chunk/BqGtwxTi.js";
|
|
8
|
+
import { y as ee } from "./chunk/BAWsPQBM.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 }) {
|
|
11
11
|
return !t || i.indexOf(t) === -1;
|
package/Menu.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as u } from "./chunk/
|
|
2
|
-
import { I as o, a as t, S as M, S as m } from "./chunk/
|
|
1
|
+
import { M as u } from "./chunk/CWgltRVL.js";
|
|
2
|
+
import { I as o, a as t, S as M, S as m } from "./chunk/CWgltRVL.js";
|
|
3
3
|
export {
|
|
4
4
|
o as MenuItem,
|
|
5
5
|
t as MenuItemGroup,
|
package/Message.js
CHANGED
|
@@ -2,9 +2,9 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "./chunk/CLBavO5c.js";
|
|
3
3
|
import "lodash/isNumber";
|
|
4
4
|
import "lodash/isUndefined";
|
|
5
|
-
import { M as u, u as f } from "./chunk/
|
|
5
|
+
import { M as u, u as f } from "./chunk/DlLL5JQo.js";
|
|
6
6
|
import "./NotificationBase.js";
|
|
7
|
-
import "./chunk/
|
|
7
|
+
import "./chunk/BAWsPQBM.js";
|
|
8
8
|
import "./utils/reactDOM.js";
|
|
9
9
|
export {
|
|
10
10
|
u as default,
|
package/Modal.js
CHANGED
package/Notice.js
CHANGED
|
@@ -7,8 +7,8 @@ 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 { m as u } from "./chunk/
|
|
11
|
-
import "./chunk/
|
|
10
|
+
import { m as u } from "./chunk/DlLL5JQo.js";
|
|
11
|
+
import "./chunk/BAWsPQBM.js";
|
|
12
12
|
export {
|
|
13
13
|
u as default
|
|
14
14
|
};
|
package/Notification.js
CHANGED
|
@@ -3,9 +3,9 @@ import "./chunk/CLBavO5c.js";
|
|
|
3
3
|
import "lodash/isNumber";
|
|
4
4
|
import "lodash/isUndefined";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import { g as u, h as c } from "./chunk/
|
|
6
|
+
import { g as u, h as c } from "./chunk/DlLL5JQo.js";
|
|
7
7
|
import "./NotificationBase.js";
|
|
8
|
-
import "./chunk/
|
|
8
|
+
import "./chunk/BAWsPQBM.js";
|
|
9
9
|
import "./utils/reactDOM.js";
|
|
10
10
|
export {
|
|
11
11
|
u as default,
|
package/OverflowEllipsis.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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/
|
|
4
|
-
import { y as E } from "./chunk/
|
|
3
|
+
import { d as v } from "./chunk/DlLL5JQo.js";
|
|
4
|
+
import { y as E } from "./chunk/BAWsPQBM.js";
|
|
5
5
|
function _(l) {
|
|
6
6
|
const { getPrefixCls: x } = j(v), i = x("overflow-item"), u = k();
|
|
7
7
|
g(() => {
|
package/PageHeader.js
CHANGED
|
@@ -3,10 +3,10 @@ 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/DlLL5JQo.js";
|
|
7
7
|
import { useKeyboardEvent as G } from "./hooks/useKeyboardEvent.js";
|
|
8
8
|
import { useMergeProps as J } from "./hooks/useMergeProps.js";
|
|
9
|
-
import { y as N } from "./chunk/
|
|
9
|
+
import { y as N } from "./chunk/BAWsPQBM.js";
|
|
10
10
|
import Q from "./utils/omit.js";
|
|
11
11
|
function x(y, b) {
|
|
12
12
|
const { getPrefixCls: v, componentConfig: m, rtl: p } = K(S), n = J(
|
package/Pagination.js
CHANGED
package/Picker.js
CHANGED
package/Popconfirm.js
CHANGED
|
@@ -4,11 +4,11 @@ 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/DlLL5JQo.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";
|
|
11
|
-
import { y as ie } from "./chunk/
|
|
11
|
+
import { y as ie } from "./chunk/BAWsPQBM.js";
|
|
12
12
|
const re = {
|
|
13
13
|
position: "top",
|
|
14
14
|
okType: "primary",
|
package/Popover.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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/DlLL5JQo.js";
|
|
5
5
|
import { useMergeProps as w } from "./hooks/useMergeProps.js";
|
|
6
6
|
import F from "./Tooltip.js";
|
|
7
|
-
import { y as H } from "./chunk/
|
|
7
|
+
import { y as H } from "./chunk/BAWsPQBM.js";
|
|
8
8
|
import { isEmptyReactNode as a } from "./utils/is.js";
|
|
9
9
|
const M = {
|
|
10
10
|
position: "top",
|
package/Progress.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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/DlLL5JQo.js";
|
|
4
4
|
import { useMergeProps as F } from "./hooks/useMergeProps.js";
|
|
5
|
-
import { y as w } from "./chunk/
|
|
5
|
+
import { y as w } from "./chunk/BAWsPQBM.js";
|
|
6
6
|
import G from "./utils/omit.js";
|
|
7
7
|
import b from "@unicom-cloud/icons/IconUiCheck";
|
|
8
8
|
import M from "@unicom-cloud/icons/IconUiExclamation";
|
package/Radio.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as a } from "./chunk/
|
|
2
|
-
import { C as e, G as p, a as d } from "./chunk/
|
|
1
|
+
import { R as a } from "./chunk/CsbCHnFk.js";
|
|
2
|
+
import { C as e, G as p, a as d } from "./chunk/CsbCHnFk.js";
|
|
3
3
|
export {
|
|
4
4
|
e as ClearRadioGroupContext,
|
|
5
5
|
p as RadioGroup,
|
package/Rate.js
CHANGED
|
@@ -5,10 +5,10 @@ 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/DlLL5JQo.js";
|
|
9
9
|
import { useMergeProps as st } from "./hooks/useMergeProps.js";
|
|
10
10
|
import ct from "./Tooltip.js";
|
|
11
|
-
import { y as U } from "./chunk/
|
|
11
|
+
import { y as U } from "./chunk/BAWsPQBM.js";
|
|
12
12
|
import lt from "./utils/omit.js";
|
|
13
13
|
const it = {
|
|
14
14
|
character: /* @__PURE__ */ o(tt, {}),
|