@unicom-cloud/ui 0.8.68 → 0.8.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Affix.js +1 -1
- package/Alert.js +1 -1
- package/AutoComplete.js +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 +1 -1
- 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 +1 -1
- package/Comment.js +1 -1
- package/ConfigProvider.js +1 -1
- package/Copy.js +1 -1
- package/DatePicker.js +1 -1
- package/Descriptions.js +1 -1
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Dropdown.js +1 -1
- package/Empty.js +1 -1
- package/Icon.js +1 -1
- package/IconHover.js +1 -1
- package/Image.js +1 -1
- package/InputNumber.js +1 -1
- package/Layout.js +1 -1
- package/Link.js +1 -1
- package/List.js +1 -1
- package/Mentions.js +1 -1
- package/Menu.js +1 -1
- package/Message.js +1 -1
- package/Modal.js +1 -1
- package/Notice.js +1 -1
- package/Notification.js +1 -1
- package/OverflowEllipsis.js +1 -1
- package/PageHeader.js +1 -1
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Progress.js +1 -1
- package/Radio.js +1 -1
- package/Rate.js +1 -1
- package/ResizeBox.js +1 -1
- package/Result.js +1 -1
- 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 +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/Tooltip.js +1 -1
- package/Transfer.js +1 -1
- package/Tree.js +1 -1
- package/Trigger.js +1 -1
- package/affix/index.js +1 -1
- package/alert/index.js +1 -1
- package/anchor/Anchor.js +1 -1
- package/anchor/Link.js +1 -1
- package/auto-complete/index.js +1 -1
- package/avatar/Avatar.js +1 -1
- package/avatar/Group.js +1 -1
- package/back-top/index.js +1 -1
- package/badge/index.js +1 -1
- package/breadcrumb/index.js +2 -2
- package/button/Group.js +1 -1
- package/button/index.js +1 -1
- package/calendar/index.js +2 -2
- package/card/Grid.js +1 -1
- package/card/Meta.js +1 -1
- package/card/index.js +1 -1
- package/carousel/Arrow.js +1 -1
- package/carousel/Indicator.js +1 -1
- package/carousel/index.js +1 -1
- package/cascader/Cascader.js +3 -3
- package/cascader/index.js +1 -1
- package/cascader/util.js +1 -1
- package/checkbox/Checkbox.js +2 -2
- package/checkbox/Group.js +2 -2
- package/checkbox/index.js +1 -1
- package/chunk/{CpGBWmuz.js → -C2QiGwq.js} +2 -2
- package/chunk/B80D01PB.js +257 -0
- package/chunk/BL9DMeor.js +9 -0
- package/chunk/{Clo26EcR.js → BPD5iNdA.js} +16 -21
- package/chunk/{SSK90wgo.js → Bh8AO6R8.js} +1 -1
- package/chunk/CASwN1hB.js +710 -0
- package/chunk/{BDB0LByj.js → CSk3yQDO.js} +1 -1
- package/chunk/{CKyu68pu.js → Cm9BS47C.js} +2 -2
- package/chunk/{CzQObzKd.js → DC-pxreh.js} +4 -4
- package/chunk/{C98ks5S8.js → DFf75sXd.js} +1 -1
- package/chunk/{CD3AUpzo.js → DcYqcuGl.js} +1 -1
- package/chunk/{BjpUSKM3.js → YUHbzjGj.js} +1 -1
- package/chunk/a3hR6zLw.js +12 -0
- package/chunk/{vmgkWLYf.js → bgmEVbGy.js} +2 -2
- package/chunk/{Bi4UkwOR.js → iOWILwNv.js} +3 -3
- package/chunk/{CgurXnoy.js → tIRvN_q7.js} +2 -2
- package/collapse/Collapse.js +2 -2
- package/collapse/Item.js +2 -2
- package/collapse/index.js +1 -1
- package/color-picker/ControlBar.js +1 -1
- package/color-picker/InputAlpha.js +1 -1
- package/color-picker/InputHex.js +1 -1
- package/color-picker/InputRgb.js +1 -1
- package/color-picker/Palette.js +1 -1
- package/color-picker/Panel.js +2 -2
- package/color-picker/index.js +1 -1
- package/comment/index.js +1 -1
- package/config-provider/ConfigProvider.js +1 -1
- package/config-provider/context.js +1 -1
- package/config-provider/index.js +2 -2
- package/copy/index.js +1 -1
- 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 +80 -75
- package/divider/index.js +1 -1
- package/draggable/index.js +1 -1
- package/drawer/Drawer.js +1 -1
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +1 -1
- package/empty/index.js +1 -1
- package/form/Control.js +84 -81
- package/form/Form.js +1 -1
- package/form/FormItem.js +1 -1
- package/grid/Col.js +1 -1
- package/grid/Row.js +1 -1
- package/grid/grid-item.js +1 -1
- package/grid/grid.js +1 -1
- package/hooks/index.js +36 -34
- package/hooks/useListenResize.js +4 -0
- package/hooks/useUpdateEffect.js +1 -1
- package/hooks/useWindowSize.js +1 -1
- package/icon/index.js +1 -1
- package/icon-hover/index.js +1 -1
- package/image/Image.js +2 -2
- package/image/ImagePreview.js +3 -3
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +1 -1
- package/image/index.js +1 -1
- package/index.js +567 -565
- package/input/Group.js +1 -1
- package/input/Input.js +1 -1
- package/input/InputElement.js +1 -1
- package/input/Password.js +1 -1
- package/input/Search.js +1 -1
- package/input/Textarea.js +1 -1
- package/input-number/index.js +1 -1
- package/input-tag/InputTag.js +1 -1
- package/layout/Content.js +1 -1
- package/layout/Footer.js +1 -1
- package/layout/Header.js +1 -1
- package/layout/Sider.js +1 -1
- package/layout/index.js +1 -1
- package/link/index.js +1 -1
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +1 -1
- package/mentions/index.js +1 -1
- package/menu/Menu.js +2 -2
- package/menu/OverflowWrap.js +1 -1
- package/menu/index.js +2 -2
- package/message/index.js +1 -1
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +2 -2
- package/modal/index.js +1 -1
- package/notice/index.js +1 -1
- package/notification/index.js +1 -1
- package/notification/useNotification.js +1 -1
- package/notification/withNotification.js +43 -35
- package/overflow-ellipsis/OverflowItem.js +1 -1
- package/overflow-ellipsis/index.js +1 -1
- package/package.json +1 -1
- package/page-header/index.js +1 -1
- package/pagination/PageItem.js +1 -1
- package/pagination/PageJumper.js +1 -1
- package/pagination/PageOption.js +1 -1
- package/pagination/Pagination.js +1 -1
- package/picker/Input.js +1 -1
- package/picker/InputRange.js +1 -1
- package/popconfirm/index.js +1 -1
- package/popover/index.js +1 -1
- package/progress/index.js +1 -1
- package/radio/Group.js +2 -2
- package/radio/Radio.js +2 -2
- package/radio/index.js +2 -2
- package/rate/index.js +1 -1
- package/resize-box/ResizeTrigger.js +1 -1
- package/resize-box/Split.js +1 -1
- package/resize-box/SplitGroup.js +1 -1
- package/resize-box/index.js +1 -1
- package/result/index.js +1 -1
- package/select/Option.js +1 -1
- package/select/Select.js +2 -2
- package/select-view/Core.js +1 -1
- package/skeleton/index.js +1 -1
- package/slider/Button.js +1 -1
- package/slider/index.js +2 -2
- package/space/index.js +20 -20
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +1 -1
- package/statistic/Countdown.js +1 -1
- package/statistic/index.js +1 -1
- package/steps/index.js +1 -1
- package/switch/index.js +1 -1
- package/table/Table.js +3 -3
- package/table/index.js +89 -81
- package/tabs/Tab.js +2 -2
- package/tabs/TabContent.js +2 -2
- package/tabs/TabPane.js +1 -1
- package/tabs/index.js +2 -2
- package/tag/index.js +1 -1
- package/time-picker/Picker.js +2 -2
- package/time-picker/TimePicker.js +1 -1
- package/timeline/Item.js +1 -1
- package/timeline/Timeline.js +1 -1
- package/tooltip/index.js +1 -1
- package/transfer/Item.js +2 -2
- package/transfer/List.js +2 -2
- package/transfer/index.js +1 -1
- package/tree/Animation.js +2 -2
- package/tree/Node.js +3 -3
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +2 -2
- package/tree/index.js +1 -1
- package/tree-select/Select.js +2 -2
- package/trigger/index.js +1 -1
- package/types/hooks/index.d.ts +1 -0
- package/types/hooks/useListenResize.d.ts +1 -0
- package/types/index.d.ts +1 -1
- package/types/message/interface.d.ts +0 -1
- package/types/notification/interface.d.ts +0 -1
- package/types/space/index.d.ts +3 -4
- package/types/table/hook/useThResizable.d.ts +1 -1
- package/types/version/index.d.ts +4 -4
- package/typography/Base.js +2 -2
- package/typography/Ellipsis.js +8 -8
- package/typography/Paragraph.js +1 -1
- package/typography/Typography.js +1 -1
- package/typography/index.js +8 -8
- package/typography/useEllipsis.js +1 -1
- package/upload/TriggerNode.js +1 -1
- package/upload/Upload.js +1 -1
- package/upload/Uploader.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/index.js +2 -2
- package/verification-code/VerificationCode.js +1 -1
- package/version/index.js +5 -5
- package/watermark/Watermark.js +1 -1
- package/chunk/BSCrLtfQ.js +0 -10
- package/chunk/BSaQv6mx.js +0 -251
- package/chunk/ll867Bf3.js +0 -730
package/input/Group.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import f, { useContext as l } from "react";
|
|
3
|
-
import { a as u } from "../chunk/
|
|
3
|
+
import { a as u } from "../chunk/CASwN1hB.js";
|
|
4
4
|
import { m as x } from "../chunk/JPPo5nY_.js";
|
|
5
5
|
const d = f.forwardRef((o, s) => {
|
|
6
6
|
const { getPrefixCls: r } = l(u), { className: e, style: a, children: m, compact: c, ...p } = o, t = r("input-group"), n = x(
|
package/input/Input.js
CHANGED
|
@@ -3,7 +3,7 @@ import ie from "lodash/isPlainObject";
|
|
|
3
3
|
import He from "lodash/isString";
|
|
4
4
|
import Be from "lodash/isUndefined";
|
|
5
5
|
import ue, { useContext as ce, useState as re, useRef as ee, useMemo as le, useImperativeHandle as Ne, useCallback as Fe, useEffect as ye } from "react";
|
|
6
|
-
import { a as fe, I as _e } from "../chunk/
|
|
6
|
+
import { a as fe, I as _e } from "../chunk/CASwN1hB.js";
|
|
7
7
|
import { u as Ee } from "../chunk/BFTV6myl.js";
|
|
8
8
|
import { u as he } from "../chunk/CdaT1b_F.js";
|
|
9
9
|
import { m as O } from "../chunk/JPPo5nY_.js";
|
package/input/InputElement.js
CHANGED
|
@@ -3,7 +3,7 @@ import Y from "@unicom-cloud/icons/IconUiClose";
|
|
|
3
3
|
import Z from "lodash/isFunction";
|
|
4
4
|
import _, { useState as ee, useRef as I, useImperativeHandle as te, useEffect as O } from "react";
|
|
5
5
|
import { u as oe } from "../chunk/XTEsYGuF.js";
|
|
6
|
-
import { I as ne } from "../chunk/
|
|
6
|
+
import { I as ne } from "../chunk/CASwN1hB.js";
|
|
7
7
|
import { m as k } from "../chunk/JPPo5nY_.js";
|
|
8
8
|
import { f as re } from "../chunk/CftuXmo_.js";
|
|
9
9
|
import "../chunk/D-TPB2Do.js";
|
package/input/Password.js
CHANGED
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "@unicom-cloud/icons/IconUiEye";
|
|
3
3
|
import "@unicom-cloud/icons/IconUiEyeInvisible";
|
|
4
4
|
import "react";
|
|
5
|
-
import "../chunk/
|
|
5
|
+
import "../chunk/CASwN1hB.js";
|
|
6
6
|
import "../chunk/XTEsYGuF.js";
|
|
7
7
|
import "../chunk/CdaT1b_F.js";
|
|
8
8
|
import "../chunk/JPPo5nY_.js";
|
package/input/Search.js
CHANGED
|
@@ -4,7 +4,7 @@ import "@unicom-cloud/icons/IconUiSearch";
|
|
|
4
4
|
import "lodash/isPlainObject";
|
|
5
5
|
import "react";
|
|
6
6
|
import "../button/index.js";
|
|
7
|
-
import "../chunk/
|
|
7
|
+
import "../chunk/CASwN1hB.js";
|
|
8
8
|
import "../chunk/CdaT1b_F.js";
|
|
9
9
|
import "../chunk/JPPo5nY_.js";
|
|
10
10
|
import "../chunk/BKKEev13.js";
|
package/input/Textarea.js
CHANGED
package/input-number/index.js
CHANGED
|
@@ -5,7 +5,7 @@ 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/CASwN1hB.js";
|
|
9
9
|
import "../chunk/BFTV6myl.js";
|
|
10
10
|
import { InputNumber as I } from "../input/Input.js";
|
|
11
11
|
import "../chunk/JPPo5nY_.js";
|
package/input-tag/InputTag.js
CHANGED
|
@@ -3,7 +3,7 @@ import Ge from "@unicom-cloud/icons/IconUiClose";
|
|
|
3
3
|
import { P as ye, b as Ke } from "../chunk/DzVH9IBy.js";
|
|
4
4
|
import $e from "lodash/isArray";
|
|
5
5
|
import Ce, { useContext as qe, useRef as C, useState as Xe, useImperativeHandle as Ye, useMemo as Je, useEffect as Qe } from "react";
|
|
6
|
-
import { a as Ze, I as et } from "../chunk/
|
|
6
|
+
import { a as Ze, I as et } from "../chunk/CASwN1hB.js";
|
|
7
7
|
import tt from "../draggable/index.js";
|
|
8
8
|
import { u as ot } from "../chunk/BFTV6myl.js";
|
|
9
9
|
import { u as Ie } from "../chunk/CdaT1b_F.js";
|
package/layout/Content.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as f, useContext as i } from "react";
|
|
3
|
-
import { a as l } from "../chunk/
|
|
3
|
+
import { a as l } from "../chunk/CASwN1hB.js";
|
|
4
4
|
import { m as p } from "../chunk/JPPo5nY_.js";
|
|
5
5
|
function C(t, o) {
|
|
6
6
|
const { className: n, children: e, ...s } = t, { getPrefixCls: r } = i(l), a = r("layout-content"), m = p(a, n);
|
package/layout/Footer.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as c, useContext as i } from "react";
|
|
3
|
-
import { a as l } from "../chunk/
|
|
3
|
+
import { a as l } from "../chunk/CASwN1hB.js";
|
|
4
4
|
import { m as p } from "../chunk/JPPo5nY_.js";
|
|
5
5
|
function u(o, t) {
|
|
6
6
|
const { className: e, children: r, ...s } = o, { getPrefixCls: a } = i(l), m = a("layout-footer"), n = p(m, e);
|
package/layout/Header.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as c, useContext as i } from "react";
|
|
3
|
-
import { a as d } from "../chunk/
|
|
3
|
+
import { a as d } from "../chunk/CASwN1hB.js";
|
|
4
4
|
import { m as l } from "../chunk/JPPo5nY_.js";
|
|
5
5
|
function p(e, o) {
|
|
6
6
|
const { getPrefixCls: r } = i(d), { className: t, children: a, ...s } = e, m = r("layout-header"), n = l(m, t);
|
package/layout/Sider.js
CHANGED
|
@@ -4,7 +4,7 @@ import q from "@unicom-cloud/icons/IconUiRight";
|
|
|
4
4
|
import X from "lodash/isArray";
|
|
5
5
|
import N 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 "../chunk/
|
|
7
|
+
import { a as ie } from "../chunk/CASwN1hB.js";
|
|
8
8
|
import { u as se } from "../chunk/CdaT1b_F.js";
|
|
9
9
|
import oe from "../resize-box/index.js";
|
|
10
10
|
import { m as H } from "../chunk/JPPo5nY_.js";
|
package/layout/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as x } from "react/jsx-runtime";
|
|
2
2
|
import i from "lodash/get";
|
|
3
3
|
import p, { forwardRef as N, useContext as _, useState as F } from "react";
|
|
4
|
-
import { a as H } from "../chunk/
|
|
4
|
+
import { a as H } from "../chunk/CASwN1hB.js";
|
|
5
5
|
import { u as P } from "../chunk/BFTV6myl.js";
|
|
6
6
|
import { m as R } from "../chunk/JPPo5nY_.js";
|
|
7
7
|
import h from "./Content.js";
|
package/link/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as $, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import y from "@unicom-cloud/icons/IconUiLink";
|
|
3
3
|
import { forwardRef as g, useContext as L } from "react";
|
|
4
|
-
import { a as P } from "../chunk/
|
|
4
|
+
import { a as P } from "../chunk/CASwN1hB.js";
|
|
5
5
|
import { u as w } from "../chunk/XTEsYGuF.js";
|
|
6
6
|
import { u as K } from "../chunk/BFTV6myl.js";
|
|
7
7
|
import { m as N } from "../chunk/JPPo5nY_.js";
|
package/list/Item.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n, jsxs as m } from "react/jsx-runtime";
|
|
2
2
|
import p, { useContext as L } from "react";
|
|
3
|
-
import { a as M } from "../chunk/
|
|
3
|
+
import { a as M } from "../chunk/CASwN1hB.js";
|
|
4
4
|
import { u as P } from "../chunk/BFTV6myl.js";
|
|
5
5
|
import { m as R } from "../chunk/JPPo5nY_.js";
|
|
6
6
|
import f from "./Meta.js";
|
package/list/Meta.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import p, { useContext as C } from "react";
|
|
3
|
-
import { a as h } from "../chunk/
|
|
3
|
+
import { a as h } from "../chunk/CASwN1hB.js";
|
|
4
4
|
import { m as v } from "../chunk/JPPo5nY_.js";
|
|
5
5
|
function x(r, n) {
|
|
6
6
|
const { getPrefixCls: c } = C(h), { className: m, avatar: i, title: e, description: s, ...l } = r, t = `${c("list")}-item-meta`, d = !!i, f = !!(e || s);
|
package/list/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as c, jsxs as P, Fragment as Rt } from "react/jsx-runtime";
|
|
2
2
|
import tt, { useContext as jt, useRef as C, useState as x, useImperativeHandle as xt, useCallback as Dt, createElement as Ft } from "react";
|
|
3
3
|
import At from "lodash/throttle";
|
|
4
|
-
import { a as Mt } from "../chunk/
|
|
4
|
+
import { a as Mt } from "../chunk/CASwN1hB.js";
|
|
5
5
|
import K from "../grid/Col.js";
|
|
6
6
|
import Q from "../grid/Row.js";
|
|
7
7
|
import { u as Ht } from "../chunk/BFTV6myl.js";
|
package/mentions/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as P, jsx as k } from "react/jsx-runtime";
|
|
2
2
|
import q, { useContext as z, useRef as $, useState as G, useEffect as J } from "react";
|
|
3
|
-
import { a as Q } from "../chunk/
|
|
3
|
+
import { a as Q } from "../chunk/CASwN1hB.js";
|
|
4
4
|
import { u as X } from "../chunk/BFTV6myl.js";
|
|
5
5
|
import { u as Y } from "../chunk/CdaT1b_F.js";
|
|
6
6
|
import Z from "../input/Input.js";
|
package/menu/Menu.js
CHANGED
|
@@ -3,7 +3,7 @@ import "@unicom-cloud/icons/IconUiMenuFold";
|
|
|
3
3
|
import "@unicom-cloud/icons/IconUiMenuUnfold";
|
|
4
4
|
import "lodash/isPlainObject";
|
|
5
5
|
import "react";
|
|
6
|
-
import "../chunk/
|
|
6
|
+
import "../chunk/CASwN1hB.js";
|
|
7
7
|
import "../chunk/CQ_WOOmf.js";
|
|
8
8
|
import "../chunk/B4YRLi8r.js";
|
|
9
9
|
import "../chunk/XTEsYGuF.js";
|
|
@@ -15,7 +15,7 @@ import "../chunk/BKKEev13.js";
|
|
|
15
15
|
import "./context.js";
|
|
16
16
|
import { default as I } from "./Item.js";
|
|
17
17
|
import { default as c } from "./ItemGroup.js";
|
|
18
|
-
import { S as h, S as j, M as k } from "../chunk/
|
|
18
|
+
import { S as h, S as j, M as k } from "../chunk/DFf75sXd.js";
|
|
19
19
|
import "./util.js";
|
|
20
20
|
export {
|
|
21
21
|
I as MenuItem,
|
package/menu/OverflowWrap.js
CHANGED
package/menu/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as o } from "../chunk/
|
|
2
|
-
import { S as r, S as a } from "../chunk/
|
|
1
|
+
import { M as o } from "../chunk/DFf75sXd.js";
|
|
2
|
+
import { S as r, S as a } from "../chunk/DFf75sXd.js";
|
|
3
3
|
import { default as n } from "./Item.js";
|
|
4
4
|
import { default as p } from "./ItemGroup.js";
|
|
5
5
|
export {
|
package/message/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import "lodash/isNumber";
|
|
|
4
4
|
import "lodash/isUndefined";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom/client";
|
|
7
|
-
import { M as f, m as g, u as M } from "../chunk/
|
|
7
|
+
import { M as f, m as g, u as M } from "../chunk/CASwN1hB.js";
|
|
8
8
|
import "../notification/withNotification.js";
|
|
9
9
|
import "../chunk/JPPo5nY_.js";
|
|
10
10
|
export {
|
package/message/useMessage.js
CHANGED
package/modal/Confirm.js
CHANGED
|
@@ -4,8 +4,8 @@ import "@unicom-cloud/icons/IconUiCloseCircleFill";
|
|
|
4
4
|
import "@unicom-cloud/icons/IconUiExclamationCircleFill";
|
|
5
5
|
import "@unicom-cloud/icons/IconUiInfoCircleFill";
|
|
6
6
|
import "react-dom/client";
|
|
7
|
-
import "../chunk/
|
|
8
|
-
import { c as l, n as s } from "../chunk/
|
|
7
|
+
import "../chunk/CASwN1hB.js";
|
|
8
|
+
import { c as l, n as s } from "../chunk/YUHbzjGj.js";
|
|
9
9
|
import "./config.js";
|
|
10
10
|
export {
|
|
11
11
|
l as default,
|
package/modal/Modal.js
CHANGED
|
@@ -3,7 +3,7 @@ import "@unicom-cloud/icons/IconUiClose";
|
|
|
3
3
|
import "lodash/isFunction";
|
|
4
4
|
import "react";
|
|
5
5
|
import "../button/index.js";
|
|
6
|
-
import "../chunk/
|
|
6
|
+
import "../chunk/CASwN1hB.js";
|
|
7
7
|
import "../chunk/BFTV6myl.js";
|
|
8
8
|
import "../chunk/CdaT1b_F.js";
|
|
9
9
|
import "../chunk/CbLaCJmG.js";
|
|
@@ -14,7 +14,7 @@ import "../utils/dom.js";
|
|
|
14
14
|
import "../chunk/BrOW642m.js";
|
|
15
15
|
import "../chunk/BKKEev13.js";
|
|
16
16
|
import "../chunk/C48SmsN-.js";
|
|
17
|
-
import { E as j } from "../chunk/
|
|
17
|
+
import { E as j } from "../chunk/YUHbzjGj.js";
|
|
18
18
|
import "./config.js";
|
|
19
19
|
export {
|
|
20
20
|
j as default
|
package/modal/index.js
CHANGED
package/notice/index.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 { f as v } from "../chunk/
|
|
10
|
+
import { f as v } from "../chunk/CASwN1hB.js";
|
|
11
11
|
import "lodash/isEqualWith";
|
|
12
12
|
import "../chunk/D-TPB2Do.js";
|
|
13
13
|
import "lodash/isNumber";
|
package/notification/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import "lodash/isUndefined";
|
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
import "react-dom/client";
|
|
8
|
-
import { N as c, g, n as u, c as N } from "../chunk/
|
|
8
|
+
import { N as c, g, n as u, c as N } from "../chunk/CASwN1hB.js";
|
|
9
9
|
import "../chunk/JPPo5nY_.js";
|
|
10
10
|
import "./withNotification.js";
|
|
11
11
|
export {
|
|
@@ -1,49 +1,57 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { v4 as
|
|
4
|
-
function
|
|
5
|
-
function
|
|
6
|
-
const [
|
|
1
|
+
import { jsx as v } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as x, useState as _, useCallback as d, useImperativeHandle as b, useEffect as C } from "react";
|
|
3
|
+
import { v4 as I } from "uuid";
|
|
4
|
+
function E(l) {
|
|
5
|
+
function c(i, h) {
|
|
6
|
+
const [n, u] = _(
|
|
7
7
|
(i == null ? void 0 : i.notices) ?? []
|
|
8
|
-
)
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
8
|
+
), s = d(
|
|
9
|
+
(t) => {
|
|
10
|
+
const r = (t == null ? void 0 : t.id) ?? `pqb_notice_id_${I()}`;
|
|
11
|
+
return t.id && n.findIndex((e) => e.id === t.id) !== -1 ? f(t) : u((e) => [
|
|
12
|
+
...e,
|
|
13
|
+
{
|
|
14
|
+
...t,
|
|
15
|
+
id: r
|
|
16
|
+
}
|
|
17
|
+
]), r;
|
|
18
|
+
},
|
|
19
|
+
[n]
|
|
20
|
+
), f = d((t) => {
|
|
21
|
+
u((r) => r.map((e) => t.id === e.id ? (delete e.update, t) : e));
|
|
22
|
+
}, []), a = d(() => {
|
|
23
|
+
u((t) => {
|
|
24
|
+
const r = [...t];
|
|
25
|
+
return r.shift(), r;
|
|
23
26
|
});
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
}, []), o = d((t) => {
|
|
28
|
+
u((r) => r.filter((e) => e.id !== t));
|
|
29
|
+
}, []), m = d(() => {
|
|
30
|
+
u((t) => []);
|
|
31
|
+
}, []);
|
|
32
|
+
return b(h, () => ({
|
|
33
|
+
notices: n,
|
|
34
|
+
add: s,
|
|
35
|
+
update: f,
|
|
36
|
+
shift: a,
|
|
37
|
+
remove: o,
|
|
38
|
+
clear: m
|
|
39
|
+
}), [n, s, f, a, o, m]), C(() => () => {
|
|
40
|
+
}, [n]), /* @__PURE__ */ v(
|
|
33
41
|
l,
|
|
34
42
|
{
|
|
35
43
|
...i,
|
|
36
|
-
notices:
|
|
37
|
-
add:
|
|
44
|
+
notices: n,
|
|
45
|
+
add: s,
|
|
38
46
|
update: f,
|
|
39
47
|
shift: a,
|
|
40
|
-
remove:
|
|
48
|
+
remove: o,
|
|
41
49
|
clear: m
|
|
42
50
|
}
|
|
43
51
|
);
|
|
44
52
|
}
|
|
45
|
-
return
|
|
53
|
+
return x(c);
|
|
46
54
|
}
|
|
47
55
|
export {
|
|
48
|
-
|
|
56
|
+
E as default
|
|
49
57
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import u from "lodash/isFunction";
|
|
3
3
|
import { useContext as a, useRef as d, useEffect as i } from "react";
|
|
4
|
-
import { a as l } from "../chunk/
|
|
4
|
+
import { a as l } from "../chunk/CASwN1hB.js";
|
|
5
5
|
import { m as x } from "../chunk/JPPo5nY_.js";
|
|
6
6
|
import { r as h } from "../chunk/CIRG541s.js";
|
|
7
7
|
function E(e) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as j, jsx as C } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as k, useState as i, useLayoutEffect as N, useRef as b, useEffect as E } from "react";
|
|
3
|
-
import { a as z } from "../chunk/
|
|
3
|
+
import { a as z } from "../chunk/CASwN1hB.js";
|
|
4
4
|
import { m as I } from "../chunk/JPPo5nY_.js";
|
|
5
5
|
import { r as M } from "../chunk/CIRG541s.js";
|
|
6
6
|
import v from "./OverflowItem.js";
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@unicom-cloud/ui","version":"0.8.
|
|
1
|
+
{"name":"@unicom-cloud/ui","version":"0.8.70","dependencies":{"@unicom-cloud/icons":"latest"},"peerDependencies":{"dayjs":"^1.11.10","lodash":"^4.17.21","react":"^18.3.1","react-dom":"^18.3.1"},"peerDependenciesMeta":{},"type":"module","types":"types/index.d.ts","main":"./index.js","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}}
|
package/page-header/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import B from "@unicom-cloud/icons/IconUiLeft";
|
|
|
3
3
|
import _ from "@unicom-cloud/icons/IconUiRight";
|
|
4
4
|
import T, { useContext as W, useState as j, useRef as z, useImperativeHandle as K, useEffect as U } from "react";
|
|
5
5
|
import D from "../breadcrumb/index.js";
|
|
6
|
-
import { a as F, I as L } from "../chunk/
|
|
6
|
+
import { a as F, I as L } from "../chunk/CASwN1hB.js";
|
|
7
7
|
import { u as M } from "../chunk/XTEsYGuF.js";
|
|
8
8
|
import { u as O } from "../chunk/BFTV6myl.js";
|
|
9
9
|
import { m as p } from "../chunk/JPPo5nY_.js";
|
package/pagination/PageItem.js
CHANGED
|
@@ -3,7 +3,7 @@ import S from "@unicom-cloud/icons/IconUiLeft";
|
|
|
3
3
|
import j from "@unicom-cloud/icons/IconUiMore";
|
|
4
4
|
import K from "@unicom-cloud/icons/IconUiRight";
|
|
5
5
|
import U, { useContext as E } from "react";
|
|
6
|
-
import { a as N } from "../chunk/
|
|
6
|
+
import { a as N } from "../chunk/CASwN1hB.js";
|
|
7
7
|
import { u as R } from "../chunk/XTEsYGuF.js";
|
|
8
8
|
import { m as k } from "../chunk/JPPo5nY_.js";
|
|
9
9
|
var _ = /* @__PURE__ */ ((t) => (t[t.previous = 0] = "previous", t[t.next = 1] = "next", t))(_ || {});
|
package/pagination/PageJumper.js
CHANGED
|
@@ -3,7 +3,7 @@ import I from "lodash/isFunction";
|
|
|
3
3
|
import J from "lodash/isPlainObject";
|
|
4
4
|
import N from "lodash/isUndefined";
|
|
5
5
|
import { useContext as E, useState as R, useRef as T, useEffect as w } from "react";
|
|
6
|
-
import { a as z } from "../chunk/
|
|
6
|
+
import { a as z } from "../chunk/CASwN1hB.js";
|
|
7
7
|
import B from "../input/Input.js";
|
|
8
8
|
function A(n) {
|
|
9
9
|
var d, g;
|
package/pagination/PageOption.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import P, { useRef as d, useContext as C } from "react";
|
|
3
|
-
import { a as O } from "../chunk/
|
|
3
|
+
import { a as O } from "../chunk/CASwN1hB.js";
|
|
4
4
|
import p from "../select/Select.js";
|
|
5
5
|
const x = () => {
|
|
6
6
|
}, z = p.Option, h = [10, 20, 30, 40, 50];
|
package/pagination/Pagination.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as O, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import H, { forwardRef as $e, useContext as be, useEffect as K, createElement as P } from "react";
|
|
3
|
-
import { a as Me } from "../chunk/
|
|
3
|
+
import { a as Me } from "../chunk/CASwN1hB.js";
|
|
4
4
|
import { u as je } from "../chunk/BFTV6myl.js";
|
|
5
5
|
import { u as Q } from "../chunk/CdaT1b_F.js";
|
|
6
6
|
import { m as ke } from "../chunk/JPPo5nY_.js";
|
package/picker/Input.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as C, jsx as f } from "react/jsx-runtime";
|
|
|
2
2
|
import X from "@unicom-cloud/icons/IconUiClose";
|
|
3
3
|
import Y from "lodash/isArray";
|
|
4
4
|
import { forwardRef as Z, useContext as _, useRef as I, useState as E, useImperativeHandle as P } from "react";
|
|
5
|
-
import { a as p, I as ee } from "../chunk/
|
|
5
|
+
import { a as p, I as ee } from "../chunk/CASwN1hB.js";
|
|
6
6
|
import { m as k } from "../chunk/JPPo5nY_.js";
|
|
7
7
|
import { e as ce } from "../chunk/BrOW642m.js";
|
|
8
8
|
import { o as le } from "../chunk/BKKEev13.js";
|
package/picker/InputRange.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as q, jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import fc from "@unicom-cloud/icons/IconUiClose";
|
|
3
3
|
import F from "lodash/isArray";
|
|
4
4
|
import { forwardRef as nc, useContext as sc, useRef as D, useState as mc, useImperativeHandle as ic } from "react";
|
|
5
|
-
import { a as uc, I as $c } from "../chunk/
|
|
5
|
+
import { a as uc, I as $c } from "../chunk/CASwN1hB.js";
|
|
6
6
|
import { m as B } from "../chunk/JPPo5nY_.js";
|
|
7
7
|
import { e as hc, c as yc } from "../chunk/BrOW642m.js";
|
|
8
8
|
import { o as Cc } from "../chunk/BKKEev13.js";
|
package/popconfirm/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import N 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 V from "../button/index.js";
|
|
7
|
-
import { a as ee } from "../chunk/
|
|
7
|
+
import { a as ee } from "../chunk/CASwN1hB.js";
|
|
8
8
|
import { u as oe } from "../chunk/BFTV6myl.js";
|
|
9
9
|
import { u as ne } from "../chunk/CdaT1b_F.js";
|
|
10
10
|
import te from "../tooltip/index.js";
|
package/popover/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as j, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import m from "lodash/isFunction";
|
|
3
3
|
import { forwardRef as O, useContext as R } from "react";
|
|
4
|
-
import { a as T } from "../chunk/
|
|
4
|
+
import { a as T } from "../chunk/CASwN1hB.js";
|
|
5
5
|
import { u as w } from "../chunk/BFTV6myl.js";
|
|
6
6
|
import F from "../tooltip/index.js";
|
|
7
7
|
import { m as H } from "../chunk/JPPo5nY_.js";
|
package/progress/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as w, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as y, useContext as $ } from "react";
|
|
3
|
-
import { a as k } from "../chunk/
|
|
3
|
+
import { a as k } from "../chunk/CASwN1hB.js";
|
|
4
4
|
import { u as S } from "../chunk/BFTV6myl.js";
|
|
5
5
|
import { m as T } from "../chunk/JPPo5nY_.js";
|
|
6
6
|
import { o as N } from "../chunk/BKKEev13.js";
|
package/radio/Group.js
CHANGED
|
@@ -2,13 +2,13 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "lodash/isArray";
|
|
3
3
|
import "lodash/isPlainObject";
|
|
4
4
|
import "react";
|
|
5
|
-
import "../chunk/
|
|
5
|
+
import "../chunk/CASwN1hB.js";
|
|
6
6
|
import "../chunk/BFTV6myl.js";
|
|
7
7
|
import "../chunk/CdaT1b_F.js";
|
|
8
8
|
import "../chunk/JPPo5nY_.js";
|
|
9
9
|
import "../utils/constant.js";
|
|
10
10
|
import "../chunk/ClqoGc3r.js";
|
|
11
|
-
import { C as x, a as G, G as f } from "../chunk/
|
|
11
|
+
import { C as x, a as G, G as f } from "../chunk/DcYqcuGl.js";
|
|
12
12
|
export {
|
|
13
13
|
x as ClearRadioGroupContext,
|
|
14
14
|
G as RadioGroupContext,
|
package/radio/Radio.js
CHANGED
|
@@ -2,12 +2,12 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "lodash/isFunction";
|
|
3
3
|
import "lodash/isNil";
|
|
4
4
|
import "react";
|
|
5
|
-
import "../chunk/
|
|
5
|
+
import "../chunk/CASwN1hB.js";
|
|
6
6
|
import "../chunk/BFTV6myl.js";
|
|
7
7
|
import "../chunk/CdaT1b_F.js";
|
|
8
8
|
import "../chunk/JPPo5nY_.js";
|
|
9
9
|
import "../chunk/BKKEev13.js";
|
|
10
|
-
import { G, a as R, R as f } from "../chunk/
|
|
10
|
+
import { G, a as R, R as f } from "../chunk/DcYqcuGl.js";
|
|
11
11
|
export {
|
|
12
12
|
G as RadioGroup,
|
|
13
13
|
R as RadioGroupContext,
|
package/radio/index.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/DcYqcuGl.js";
|
|
2
|
+
import { C as e, G as p, a as d } from "../chunk/DcYqcuGl.js";
|
|
3
3
|
export {
|
|
4
4
|
e as ClearRadioGroupContext,
|
|
5
5
|
p as RadioGroup,
|
package/rate/index.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/BibHFOCF.js";
|
|
7
7
|
import g, { useContext as ot, useState as y } from "react";
|
|
8
|
-
import { a as at } from "../chunk/
|
|
8
|
+
import { a as at } from "../chunk/CASwN1hB.js";
|
|
9
9
|
import { u as st } from "../chunk/BFTV6myl.js";
|
|
10
10
|
import ct from "../tooltip/index.js";
|
|
11
11
|
import { m as U } from "../chunk/JPPo5nY_.js";
|
|
@@ -7,7 +7,7 @@ import L from "@unicom-cloud/icons/IconUiDragDot";
|
|
|
7
7
|
import M from "@unicom-cloud/icons/IconUiDragDotVertical";
|
|
8
8
|
import g from "lodash/isFunction";
|
|
9
9
|
import { useContext as V, useRef as q, useEffect as A } from "react";
|
|
10
|
-
import { a as B } from "../chunk/
|
|
10
|
+
import { a as B } from "../chunk/CASwN1hB.js";
|
|
11
11
|
import { m as o } from "../chunk/JPPo5nY_.js";
|
|
12
12
|
import "../chunk/D-TPB2Do.js";
|
|
13
13
|
import { o as G } from "../chunk/BKKEev13.js";
|
package/resize-box/Split.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as y, jsxs as ie } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as ce, useContext as ae, useState as D, useRef as T, useImperativeHandle as fe, useEffect as ue } from "react";
|
|
3
|
-
import { a as me } from "../chunk/
|
|
3
|
+
import { a as me } from "../chunk/CASwN1hB.js";
|
|
4
4
|
import { u as le } from "../chunk/B2yFlXke.js";
|
|
5
5
|
import { m as $ } from "../chunk/JPPo5nY_.js";
|
|
6
6
|
import { on as m, off as l } from "../utils/dom.js";
|
package/resize-box/SplitGroup.js
CHANGED
|
@@ -5,7 +5,7 @@ import S from "lodash/isPlainObject";
|
|
|
5
5
|
import Ot from "lodash/isString";
|
|
6
6
|
import W from "lodash/isUndefined";
|
|
7
7
|
import Ct, { forwardRef as xt, useContext as St, useRef as z, useState as y, useEffect as L, useImperativeHandle as zt } from "react";
|
|
8
|
-
import { a as Pt } from "../chunk/
|
|
8
|
+
import { a as Pt } from "../chunk/CASwN1hB.js";
|
|
9
9
|
import { m as Rt } from "../chunk/JPPo5nY_.js";
|
|
10
10
|
import { on as P, off as R } from "../utils/dom.js";
|
|
11
11
|
import { o as Nt } from "../chunk/BKKEev13.js";
|
package/resize-box/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as ot, jsx as rt } from "react/jsx-runtime";
|
|
2
2
|
import B from "lodash/isNumber";
|
|
3
3
|
import { forwardRef as nt, useContext as st, useState as it, useRef as E, useImperativeHandle as ct } from "react";
|
|
4
|
-
import { a as at } from "../chunk/
|
|
4
|
+
import { a as at } from "../chunk/CASwN1hB.js";
|
|
5
5
|
import { u as ut } from "../chunk/BFTV6myl.js";
|
|
6
6
|
import { u as W } from "../chunk/CdaT1b_F.js";
|
|
7
7
|
import { m as mt } from "../chunk/JPPo5nY_.js";
|