@unicom-cloud/ui 0.8.53 → 0.8.55
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/Anchor.js +1 -1
- package/AutoComplete.js +3 -3
- package/Avatar.js +1 -1
- 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 +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +3 -3
- package/Comment.js +1 -1
- package/ConfigProvider.js +2 -2
- package/Copy.js +1 -1
- package/DatePicker.js +3 -3
- package/Descriptions.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/Modal.js +1 -1
- package/Notice.js +2 -2
- package/Notification.js +1 -1
- 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 +1 -1
- package/Spin.js +1 -1
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/Switch.js +1 -1
- 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 +1 -1
- package/Typography.js +22 -22
- package/Upload.js +1 -1
- package/VerificationCode.js +1 -1
- package/Watermark.js +1 -1
- package/chunk/{CmEyvBdT.js → BC0PujUD.js} +2 -2
- package/chunk/{B8IzaBdN.js → BH5fVprw.js} +1 -1
- package/chunk/{CyVLxv_U.js → BUQBof6z.js} +3 -3
- package/chunk/{CBaVCRtG.js → BdJcAQ0Q.js} +1 -1
- package/chunk/{BOUZ7hSf.js → BmtF7P8U.js} +2 -2
- package/chunk/{CccPQyYX.js → BzMYgxgO.js} +1 -1
- package/chunk/{DfMf16uZ.js → BzqZZHGK.js} +2 -2
- package/chunk/{CLU6Le34.js → C3I_L73_.js} +1 -1
- package/chunk/{8hWViek4.js → CIc4yo9k.js} +1 -1
- package/chunk/{COWsswcW.js → CK0H_Yi4.js} +2 -2
- package/chunk/{PRN8SqRA.js → CTSIr-Pr.js} +1 -1
- package/chunk/CZ8iz63Z.js +641 -0
- package/chunk/{DY9WA4bf.js → CqcZfQQ4.js} +1 -1
- package/chunk/{Cwp65v9h.js → CzTYWtfa.js} +1 -1
- package/chunk/{D3pUE3-b.js → DG7VgAhL.js} +3 -3
- package/chunk/{DdVbiC4t.js → DTgc2wl4.js} +2 -2
- package/chunk/{D6BMh1k4.js → DZGcv_9A.js} +1 -1
- package/chunk/{-sV-N67P.js → DbtCtriE.js} +1 -1
- package/chunk/{BEiJmFHq.js → DdtfPvgk.js} +1 -1
- package/chunk/{Cz65nXZD.js → Dki1RB5p.js} +2 -2
- package/chunk/{CYyPBcnp.js → Niaq_og8.js} +2 -2
- package/chunk/{BEVtQ2QL.js → PuuHmqnW.js} +2 -2
- package/chunk/{DGK45cuc.js → RL1SNlng.js} +1 -1
- package/chunk/{DNyP-r9G.js → RRWbBHK-.js} +2 -2
- package/chunk/{CRxPui7e.js → ShWkfsJd.js} +2 -2
- package/chunk/{bcn23eHi.js → i1A7W8Qt.js} +1 -1
- package/chunk/{Lyg-9NEt.js → xPzFRQJn.js} +19 -18
- package/index.js +22 -22
- package/package.json +1 -1
- package/types/modal/config.d.ts +1 -0
- package/types/modal/interface.d.ts +1 -0
- package/utils/contextHolder.js +1 -1
- package/chunk/BYMRs7t5.js +0 -607
|
@@ -4,7 +4,7 @@ import q from "@unicom-cloud/icons/IconUiRight";
|
|
|
4
4
|
import X from "lodash/isArray";
|
|
5
5
|
import w from "lodash/isNumber";
|
|
6
6
|
import { createContext as Y, forwardRef as Z, useContext as ee, useState as re, useRef as A, useEffect as F, useMemo as te } from "react";
|
|
7
|
-
import { a as ie } from "./
|
|
7
|
+
import { a as ie } from "./xPzFRQJn.js";
|
|
8
8
|
import se from "../hooks/useMergeValue.js";
|
|
9
9
|
import oe from "../ResizeBox.js";
|
|
10
10
|
import H from "@unicom-cloud/utils/class-name";
|
|
@@ -5,7 +5,7 @@ import Y from "lodash/isNumber";
|
|
|
5
5
|
import Tt from "lodash/throttle";
|
|
6
6
|
import Rt, { createContext as St, forwardRef as st, useContext as _, useRef as w, useImperativeHandle as ct, useEffect as b, isValidElement as vt, useState as Pt, useCallback as j } from "react";
|
|
7
7
|
import Et from "../Affix.js";
|
|
8
|
-
import { a as lt } from "./
|
|
8
|
+
import { a as lt } from "./xPzFRQJn.js";
|
|
9
9
|
import Mt from "../hooks/useIsFirstRender.js";
|
|
10
10
|
import at from "../hooks/useMergeProps.js";
|
|
11
11
|
import Ot from "../hooks/useStateWithPromise.js";
|
|
@@ -12,7 +12,7 @@ import W from "lodash/isFunction";
|
|
|
12
12
|
import oe from "lodash/isPlainObject";
|
|
13
13
|
import Y from "lodash/isString";
|
|
14
14
|
import Je, { useRef as z, useState as le, useCallback as se, useEffect as Z, forwardRef as Ge, useContext as Qe, useImperativeHandle as Xe } from "react";
|
|
15
|
-
import { a as Ye } from "./
|
|
15
|
+
import { a as Ye } from "./xPzFRQJn.js";
|
|
16
16
|
import ue from "../hooks/useForceUpdate.js";
|
|
17
17
|
import Ze from "../hooks/useId.js";
|
|
18
18
|
import et from "../hooks/useMergeProps.js";
|
|
@@ -26,7 +26,7 @@ import { b as at, P as it } from "./DQ3uFRJD.js";
|
|
|
26
26
|
import me from "lodash/isEqualWith";
|
|
27
27
|
import ee from "lodash/get";
|
|
28
28
|
import { y as ct } from "./CiZVOdJ3.js";
|
|
29
|
-
import { C as Le } from "./
|
|
29
|
+
import { C as Le } from "./BH5fVprw.js";
|
|
30
30
|
import ot from "../hooks/useIsFirstRender.js";
|
|
31
31
|
import { on as Pe, off as de } from "../utils/dom.js";
|
|
32
32
|
import "../utils/is.js";
|
|
@@ -2,13 +2,13 @@ import { jsxs as L, Fragment as B, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import F from "lodash/isFunction";
|
|
3
3
|
import fe from "lodash/isNumber";
|
|
4
4
|
import ee, { useContext as z, forwardRef as W, isValidElement as xe, useState as G, useMemo as $e, useEffect as Ie, useRef as te, useImperativeHandle as ge } from "react";
|
|
5
|
-
import { a as J, I as ye } from "./
|
|
5
|
+
import { a as J, I as ye } from "./xPzFRQJn.js";
|
|
6
6
|
import we from "../hooks/useMergeProps.js";
|
|
7
7
|
import K from "@unicom-cloud/utils/class-name";
|
|
8
8
|
import Pe from "../utils/omit.js";
|
|
9
9
|
import de from "../utils/warning.js";
|
|
10
10
|
import { b as Ne, P as ie } from "./DQ3uFRJD.js";
|
|
11
|
-
import { a as Re } from "./
|
|
11
|
+
import { a as Re } from "./CTSIr-Pr.js";
|
|
12
12
|
import he from "@unicom-cloud/icons/IconUiDelete";
|
|
13
13
|
import Le from "@unicom-cloud/icons/IconUiEye";
|
|
14
14
|
import Ce from "@unicom-cloud/icons/IconUiImageClose";
|
|
@@ -2,8 +2,8 @@ import { jsx as x, jsxs as it, Fragment as kt } from "react/jsx-runtime";
|
|
|
2
2
|
import ee from "lodash/isArray";
|
|
3
3
|
import St from "lodash/isFunction";
|
|
4
4
|
import te, { useContext as Vt, useState as ye, useMemo as ze, useRef as j, useCallback as Ue, useEffect as K, useImperativeHandle as At } from "react";
|
|
5
|
-
import { C as st } from "./
|
|
6
|
-
import { a as Et } from "./
|
|
5
|
+
import { C as st } from "./BH5fVprw.js";
|
|
6
|
+
import { a as Et } from "./xPzFRQJn.js";
|
|
7
7
|
import Lt from "../hooks/useId.js";
|
|
8
8
|
import $t from "../hooks/useMergeProps.js";
|
|
9
9
|
import et from "../hooks/useMergeValue.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as g, useContext as u, useRef as p, useCallback as d, useEffect as C } from "react";
|
|
3
|
-
import { a as h } from "./
|
|
3
|
+
import { a as h } from "./xPzFRQJn.js";
|
|
4
4
|
import x from "../hooks/use-watermark.js";
|
|
5
5
|
import k from "../hooks/useMergeProps.js";
|
|
6
6
|
import w from "@unicom-cloud/utils/class-name";
|
|
@@ -2,7 +2,7 @@ import { jsx as u, jsxs as et } from "react/jsx-runtime";
|
|
|
2
2
|
import ft from "lodash/isFunction";
|
|
3
3
|
import kt from "lodash/isPlainObject";
|
|
4
4
|
import F, { useContext as nt, useRef as j, useState as wt, useEffect as Y, useMemo as at, useCallback as ce, useImperativeHandle as le } from "react";
|
|
5
|
-
import { a as mt, I as pt } from "./
|
|
5
|
+
import { a as mt, I as pt } from "./xPzFRQJn.js";
|
|
6
6
|
import se from "../hooks/useId.js";
|
|
7
7
|
import fe from "../hooks/useMergeProps.js";
|
|
8
8
|
import de from "../hooks/useMergeValue.js";
|
|
@@ -17,7 +17,7 @@ import { setTransformStyle as me } from "../utils/style.js";
|
|
|
17
17
|
import jt from "@unicom-cloud/icons/IconUiDown";
|
|
18
18
|
import Ut from "lodash/isNull";
|
|
19
19
|
import pe from "../Dropdown.js";
|
|
20
|
-
import { M as Mt } from "./
|
|
20
|
+
import { M as Mt } from "./BC0PujUD.js";
|
|
21
21
|
import ge from "lodash/isEqualWith";
|
|
22
22
|
import be from "../utils/throttleByRaf.js";
|
|
23
23
|
import Et from "@unicom-cloud/icons/IconUiLeft";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as N, jsxs as b } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as w, useContext as R, useRef as F, Fragment as j, createElement as z } from "react";
|
|
3
|
-
import { a as D } from "./
|
|
3
|
+
import { a as D } from "./xPzFRQJn.js";
|
|
4
4
|
import E from "../hooks/useMergeProps.js";
|
|
5
|
-
import { I as K } from "./
|
|
5
|
+
import { I as K } from "./CzTYWtfa.js";
|
|
6
6
|
import u from "@unicom-cloud/utils/class-name";
|
|
7
7
|
import L from "../hooks/use-verification-code.js";
|
|
8
8
|
const M = {
|
|
@@ -2,7 +2,7 @@ import { jsxs as W, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import oe from "@unicom-cloud/icons/IconUiClose";
|
|
3
3
|
import A from "lodash/isArray";
|
|
4
4
|
import { forwardRef as fe, useContext as se, useRef as U, useState as te, useImperativeHandle as ne } from "react";
|
|
5
|
-
import { a as me, I as re } from "./
|
|
5
|
+
import { a as me, I as re } from "./xPzFRQJn.js";
|
|
6
6
|
import q from "@unicom-cloud/utils/class-name";
|
|
7
7
|
import { Enter as ie, Tab as de } from "../utils/keyCode.js";
|
|
8
8
|
import $e from "../utils/omit.js";
|
|
@@ -5,7 +5,7 @@ import { jsx as c, jsxs as k } from "react/jsx-runtime";
|
|
|
5
5
|
import S from "@unicom-cloud/icons/context";
|
|
6
6
|
import he from "@unicom-cloud/utils/tinycolor";
|
|
7
7
|
import Ce from "lodash/isPlainObject";
|
|
8
|
-
import D, { forwardRef as Z, useContext as z, createContext as ge, useRef as G, useImperativeHandle as _, Component as xe, createRef as ve, useState as be, useEffect as
|
|
8
|
+
import D, { forwardRef as Z, useContext as z, createContext as ge, useRef as G, useImperativeHandle as _, Component as xe, createRef as ve, useState as be, useEffect as q } from "react";
|
|
9
9
|
import ee from "../hooks/useMergeProps.js";
|
|
10
10
|
import { b as te, P as re } from "./DQ3uFRJD.js";
|
|
11
11
|
import T from "lodash/isNumber";
|
|
@@ -24,7 +24,7 @@ import we from "@unicom-cloud/icons/IconUiEmpty";
|
|
|
24
24
|
import Re from "../locale/zh-CN.js";
|
|
25
25
|
import Te from "../utils/omit.js";
|
|
26
26
|
import Me from "lodash/isString";
|
|
27
|
-
function
|
|
27
|
+
function Le(d, m) {
|
|
28
28
|
const {
|
|
29
29
|
getPrefixCls: e,
|
|
30
30
|
locale: t,
|
|
@@ -39,13 +39,13 @@ function qe(d, m) {
|
|
|
39
39
|
/* @__PURE__ */ c("div", { className: `${h}-description`, children: u || C })
|
|
40
40
|
] }) });
|
|
41
41
|
}
|
|
42
|
-
const ne = Z(
|
|
42
|
+
const ne = Z(Le);
|
|
43
43
|
ne.displayName = "Empty";
|
|
44
|
-
const
|
|
44
|
+
const qe = D.memo(ne);
|
|
45
45
|
function Oe(d) {
|
|
46
46
|
switch (d) {
|
|
47
47
|
default:
|
|
48
|
-
return /* @__PURE__ */ c(
|
|
48
|
+
return /* @__PURE__ */ c(qe, {});
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
const ie = {
|
|
@@ -188,9 +188,9 @@ class U extends xe {
|
|
|
188
188
|
);
|
|
189
189
|
let y = "closable" in this.props ? a : !0, b = s;
|
|
190
190
|
o === "normal" && !n && (b = !1);
|
|
191
|
-
const
|
|
192
|
-
if (x && (
|
|
193
|
-
return y = a, /* @__PURE__ */ c(j, { ...
|
|
191
|
+
const L = { ...this.context };
|
|
192
|
+
if (x && (L.prefixCls = x), h === "message")
|
|
193
|
+
return y = a, /* @__PURE__ */ c(j, { ...L, children: /* @__PURE__ */ c(
|
|
194
194
|
"div",
|
|
195
195
|
{
|
|
196
196
|
style: { textAlign: "center" },
|
|
@@ -220,7 +220,7 @@ class U extends xe {
|
|
|
220
220
|
}
|
|
221
221
|
) });
|
|
222
222
|
if (h === "notification")
|
|
223
|
-
return /* @__PURE__ */ c(j, { ...
|
|
223
|
+
return /* @__PURE__ */ c(j, { ...L, children: /* @__PURE__ */ c(
|
|
224
224
|
"div",
|
|
225
225
|
{
|
|
226
226
|
ref: this.rootDOMRef,
|
|
@@ -483,7 +483,7 @@ const ut = (d) => {
|
|
|
483
483
|
...F,
|
|
484
484
|
...d
|
|
485
485
|
};
|
|
486
|
-
}, ht = () => F, Ct = [];
|
|
486
|
+
}, ht = () => F, Ct = [], gt = [];
|
|
487
487
|
function He(d = {}) {
|
|
488
488
|
const {
|
|
489
489
|
maxCount: m,
|
|
@@ -692,7 +692,7 @@ function j(d) {
|
|
|
692
692
|
effectGlobalNotice: u = !0,
|
|
693
693
|
effectGlobalModal: n = !0
|
|
694
694
|
} = m, r = window.document.body;
|
|
695
|
-
|
|
695
|
+
q(() => {
|
|
696
696
|
Ce(e) && Object.entries(Ae).forEach(([C, i], x, v) => {
|
|
697
697
|
let y = e == null ? void 0 : e[C];
|
|
698
698
|
if (y) {
|
|
@@ -700,9 +700,9 @@ function j(d) {
|
|
|
700
700
|
r.style.setProperty(i.default, b.lighten(0).toRgbArrayString()), e != null && e[`${C}Hover`] || r.style.setProperty(i.hover, b.lighten(10).toRgbArrayString()), e != null && e[`${C}Active`] || r.style.setProperty(i.active, b.lighten(-10).toRgbArrayString());
|
|
701
701
|
}
|
|
702
702
|
});
|
|
703
|
-
}, [e]),
|
|
703
|
+
}, [e]), q(() => {
|
|
704
704
|
t && (t === "dark" ? r.setAttribute("pqb-theme", "dark") : r.removeAttribute("pqb-theme"));
|
|
705
|
-
}, [t]),
|
|
705
|
+
}, [t]), q(() => {
|
|
706
706
|
u && ($.config({ prefixCls: s, rtl: o }), w.config({ prefixCls: s, rtl: o }));
|
|
707
707
|
}, [s, o, u]);
|
|
708
708
|
function a(C, i) {
|
|
@@ -712,7 +712,7 @@ function j(d) {
|
|
|
712
712
|
...Te(m, ["children"]),
|
|
713
713
|
getPrefixCls: a
|
|
714
714
|
};
|
|
715
|
-
|
|
715
|
+
q(() => {
|
|
716
716
|
n && je({ locale: l, prefixCls: s, rtl: o });
|
|
717
717
|
}, [l, s, o, n]);
|
|
718
718
|
let g = p;
|
|
@@ -720,10 +720,10 @@ function j(d) {
|
|
|
720
720
|
}
|
|
721
721
|
j.ConfigContext = R;
|
|
722
722
|
j.displayName = "ConfigProvider";
|
|
723
|
-
const
|
|
723
|
+
const xt = R.Consumer;
|
|
724
724
|
export {
|
|
725
|
-
|
|
726
|
-
|
|
725
|
+
xt as C,
|
|
726
|
+
qe as E,
|
|
727
727
|
W as I,
|
|
728
728
|
$ as M,
|
|
729
729
|
w as N,
|
|
@@ -734,6 +734,7 @@ export {
|
|
|
734
734
|
ht as e,
|
|
735
735
|
ce as f,
|
|
736
736
|
pt as g,
|
|
737
|
-
|
|
737
|
+
gt as h,
|
|
738
|
+
U as i,
|
|
738
739
|
ut as s
|
|
739
740
|
};
|
package/index.js
CHANGED
|
@@ -127,7 +127,7 @@ import { isClassComponent as jr, isDOMElement as Gr, isDayjs as Kr, isEmptyReact
|
|
|
127
127
|
import { default as ea } from "@unicom-cloud/utils/class-name";
|
|
128
128
|
import { default as oa } from "./Affix.js";
|
|
129
129
|
import { default as aa } from "./Alert.js";
|
|
130
|
-
import { A as fa } from "./chunk/
|
|
130
|
+
import { A as fa } from "./chunk/DdtfPvgk.js";
|
|
131
131
|
import { default as pa } from "./AutoComplete.js";
|
|
132
132
|
import { default as ma } from "./Avatar.js";
|
|
133
133
|
import { default as xa } from "./BackTop.js";
|
|
@@ -137,43 +137,43 @@ import { default as Ca } from "./Button.js";
|
|
|
137
137
|
import { default as Ta } from "./Calendar.js";
|
|
138
138
|
import { default as Ma } from "./Card.js";
|
|
139
139
|
import { default as Ea } from "./Carousel.js";
|
|
140
|
-
import { C as ha } from "./chunk/
|
|
141
|
-
import { C as Ia } from "./chunk/
|
|
142
|
-
import { C as ka } from "./chunk/
|
|
140
|
+
import { C as ha } from "./chunk/Dki1RB5p.js";
|
|
141
|
+
import { C as Ia } from "./chunk/BH5fVprw.js";
|
|
142
|
+
import { C as ka } from "./chunk/C3I_L73_.js";
|
|
143
143
|
import { default as Da } from "./Comment.js";
|
|
144
|
-
import { C as Na, a as Fa, b as Oa, E as Wa, I as Ba, M as Va, N as Ua } from "./chunk/
|
|
144
|
+
import { C as Na, a as Fa, b as Oa, E as Wa, I as Ba, M as Va, N as Ua } from "./chunk/xPzFRQJn.js";
|
|
145
145
|
import { default as ja } from "./Copy.js";
|
|
146
146
|
import { default as Ka } from "./DatePicker.js";
|
|
147
147
|
import { default as qa } from "./Descriptions.js";
|
|
148
148
|
import { default as Qa } from "./Divider.js";
|
|
149
|
-
import { D as Xa } from "./chunk/
|
|
149
|
+
import { D as Xa } from "./chunk/BdJcAQ0Q.js";
|
|
150
150
|
import { default as _a } from "./Dropdown.js";
|
|
151
151
|
import { default as es } from "./Form.js";
|
|
152
152
|
import { default as os } from "./Grid.js";
|
|
153
|
-
import { C as as, R as ss } from "./chunk/
|
|
153
|
+
import { C as as, R as ss } from "./chunk/DZGcv_9A.js";
|
|
154
154
|
import { default as us } from "./Icon.js";
|
|
155
|
-
import { I as ls } from "./chunk/
|
|
156
|
-
import { I as ds, a as xs } from "./chunk/
|
|
157
|
-
import { I as ns } from "./chunk/
|
|
155
|
+
import { I as ls } from "./chunk/DTgc2wl4.js";
|
|
156
|
+
import { I as ds, a as xs } from "./chunk/BUQBof6z.js";
|
|
157
|
+
import { I as ns } from "./chunk/CK0H_Yi4.js";
|
|
158
158
|
import { default as Ss } from "./Layout.js";
|
|
159
159
|
import { default as Cs } from "./Link.js";
|
|
160
160
|
import { default as Ts } from "./List.js";
|
|
161
161
|
import { default as Ms } from "./Mentions.js";
|
|
162
|
-
import { M as Es } from "./chunk/
|
|
163
|
-
import { E as hs } from "./chunk/
|
|
162
|
+
import { M as Es } from "./chunk/BC0PujUD.js";
|
|
163
|
+
import { E as hs } from "./chunk/CZ8iz63Z.js";
|
|
164
164
|
import { default as Is } from "./PageHeader.js";
|
|
165
|
-
import { P as ks } from "./chunk/
|
|
165
|
+
import { P as ks } from "./chunk/DG7VgAhL.js";
|
|
166
166
|
import { default as Ds } from "./Popconfirm.js";
|
|
167
167
|
import { default as Ns } from "./Popover.js";
|
|
168
168
|
import { default as Os } from "./Portal.js";
|
|
169
169
|
import { default as Bs } from "./Progress.js";
|
|
170
170
|
import { default as Us } from "./ColorPicker.js";
|
|
171
171
|
import { default as js } from "./Loading.js";
|
|
172
|
-
import { R as Ks } from "./chunk/
|
|
172
|
+
import { R as Ks } from "./chunk/CIc4yo9k.js";
|
|
173
173
|
import { default as qs } from "./Rate.js";
|
|
174
174
|
import { default as Qs } from "./ResizeBox.js";
|
|
175
175
|
import { default as Xs } from "./Result.js";
|
|
176
|
-
import { S as _s } from "./chunk/
|
|
176
|
+
import { S as _s } from "./chunk/PuuHmqnW.js";
|
|
177
177
|
import { default as ef } from "./Skeleton.js";
|
|
178
178
|
import { default as of } from "./Slider.js";
|
|
179
179
|
import { default as af } from "./Space.js";
|
|
@@ -184,20 +184,20 @@ import { default as xf } from "./Steps.js";
|
|
|
184
184
|
import { default as cf } from "./SuspenseFallbackTest.js";
|
|
185
185
|
import { default as yf } from "./Switch.js";
|
|
186
186
|
import { default as gf } from "./Table.js";
|
|
187
|
-
import { T as bf } from "./chunk/
|
|
187
|
+
import { T as bf } from "./chunk/RRWbBHK-.js";
|
|
188
188
|
import { default as Rf } from "./Tag.js";
|
|
189
189
|
import { default as Pf } from "./TimePicker.js";
|
|
190
|
-
import { T as vf } from "./chunk/
|
|
190
|
+
import { T as vf } from "./chunk/BzMYgxgO.js";
|
|
191
191
|
import { default as Lf } from "./Tooltip.js";
|
|
192
192
|
import { default as Af } from "./Transfer.js";
|
|
193
|
-
import { T as wf } from "./chunk/
|
|
194
|
-
import { T as Ff } from "./chunk/
|
|
193
|
+
import { T as wf } from "./chunk/BzqZZHGK.js";
|
|
194
|
+
import { T as Ff } from "./chunk/BmtF7P8U.js";
|
|
195
195
|
import { default as Wf } from "./Trigger.js";
|
|
196
196
|
import { default as Vf } from "./Typography.js";
|
|
197
|
-
import { U as Hf } from "./chunk/
|
|
198
|
-
import { V as Gf } from "./chunk/
|
|
197
|
+
import { U as Hf } from "./chunk/Niaq_og8.js";
|
|
198
|
+
import { V as Gf } from "./chunk/ShWkfsJd.js";
|
|
199
199
|
import { version as zf } from "./Version.js";
|
|
200
|
-
import { W as Jf } from "./chunk/
|
|
200
|
+
import { W as Jf } from "./chunk/RL1SNlng.js";
|
|
201
201
|
import { isArguments as Zf, isArray as Xf, isArrayBuffer as Yf, isArrayLike as _f, isArrayLikeObject as $f, isBlob as eu, isBoolean as tu, isBuffer as ou, isColor as ru, isColor2 as au, isDate as su, isElement as fu, isEmpty as uu, isEmptyArray as pu, isEmptyObject as lu, isEmptyValue as mu, isEqual as du, isEqualWith as xu, isError as iu, isFile as nu, isFinite as cu, isFunction as Su, isInteger as yu, isJSON as Cu, isLength as gu, isMap as Tu, isMatch as bu, isMatchWith as Mu, isNaN as Ru, isNative as Eu, isNil as Pu, isNull as hu, isNumber as vu, isObject as Iu, isObjectLike as Lu, isPlainObject as ku, isReadableByteStreamControllerSupported as Au, isReadableStream as Du, isReadableStreamSupported as wu, isReadableStreamSymbolAsyncIteratorSupported as Nu, isRegExp as Fu, isSafeInteger as Ou, isSet as Wu, isString as Bu, isSymbol as Vu, isTypedArray as Uu, isUndefined as Hu, isWeakMap as ju, isWeakSet as Gu } from "@unicom-cloud/utils/is";
|
|
202
202
|
export {
|
|
203
203
|
oa as Affix,
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@unicom-cloud/ui","version":"0.8.
|
|
1
|
+
{"name":"@unicom-cloud/ui","version":"0.8.55","dependencies":{"@unicom-cloud/icons":"latest","@unicom-cloud/utils":"latest"},"peerDependencies":{"dayjs":"^1.11.10","lodash":"^4.17.21","react":"^18.3.1","react-dom":"^18.3.1"},"peerDependenciesMeta":{},"main":"index.js","module":"index.js","type":"module","types":"types/index.d.ts","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}}
|
package/types/modal/config.d.ts
CHANGED
|
@@ -8,3 +8,4 @@ export type ModalConfigType = {
|
|
|
8
8
|
export declare const setModalConfig: (config: ModalConfigType) => void;
|
|
9
9
|
export declare const getModalConfig: () => ModalConfigType;
|
|
10
10
|
export declare const destroyList: Array<Function>;
|
|
11
|
+
export declare const showList: Array<HTMLElement>;
|
package/utils/contextHolder.js
CHANGED