@unicom-cloud/ui 0.8.113 → 0.8.115
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/AutoComplete.js +1 -1
- package/BackTop.js +3 -3
- package/Badge.js +2 -2
- 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/ColorPicker.js +1 -1
- package/Comment.js +1 -1
- package/ConfigProvider.js +1 -1
- package/Copy.js +1 -1
- package/Countdown.js +4 -4
- package/DatePicker.js +1 -1
- package/Descriptions.js +1 -1
- package/Details.js +4 -4
- package/Development.js +1 -1
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Dropdown.js +2 -2
- package/Empty.js +1 -1
- package/Flex.js +4 -4
- package/Form.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/LiquidFill.js +4 -4
- package/List.js +6 -5
- package/Loading.js +4 -4
- package/Marquee.js +7 -6
- package/Mentions.js +1 -1
- package/Menu.js +1 -1
- package/Message.js +2 -2
- package/Modal.js +1 -1
- package/Notice.js +4 -4
- package/Notification.js +2 -2
- package/OverflowEllipsis.js +1 -1
- package/PageHeader.js +1 -1
- package/Pagination.js +4 -2
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Progress.js +1 -1
- package/QrCode.js +7 -7
- package/Radio.js +1 -1
- package/Rate.js +1 -1
- package/ResizeBox.js +2 -2
- package/Result.js +1 -1
- package/RichText.js +1 -1
- package/Segmented.js +4 -4
- package/Skeleton.js +1 -1
- package/Slider.js +2 -2
- package/Space.js +4 -4
- package/Spin.js +1 -1
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/Switch.js +2 -2
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/Tooltip.js +1 -1
- package/Tour.js +4 -4
- package/Transfer.js +1 -1
- package/Tree.js +1 -1
- package/TreeSelect.js +1 -1
- package/Trigger.js +3 -3
- package/affix/index.js +2 -2
- package/alert/index.js +2 -2
- package/anchor/Anchor.js +2 -2
- package/anchor/Link.js +1 -1
- package/app/App.js +2 -2
- package/auto-complete/index.js +1 -1
- package/avatar/Avatar.js +1 -1
- package/avatar/Group.js +1 -1
- package/back-top/index.js +3 -3
- package/badge/Count.js +1 -1
- package/badge/index.js +2 -2
- 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 +2 -2
- 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/GroupBlock.js +2 -2
- package/checkbox/index.js +2 -2
- package/chunk/{C6A94b7f.js → BcWPf1id.js} +1 -1
- package/chunk/BcdTSJks.js +48 -0
- package/chunk/{RjJoagzL.js → CEAeR6xB.js} +1 -1
- package/chunk/{yWKJUe_w.js → CKojyqln.js} +4 -4
- package/chunk/{DrYaod6k.js → CRgtPpMG.js} +1 -1
- package/chunk/{3t4FwEoB.js → CVjWKHBo.js} +1 -1
- package/chunk/{DB0hUIM1.js → CYPFoLks.js} +4 -4
- package/chunk/{D0dVE1v1.js → CcH9qbbg.js} +418 -416
- package/chunk/{Bzx5BueA.js → Ch4iApRQ.js} +2 -2
- package/chunk/{CbXCgtzv.js → Cs9GrNJa.js} +5 -5
- package/chunk/CxbF1opI.js +231 -0
- package/chunk/{CRdegvoa.js → D3F0iWPu.js} +1 -1
- package/chunk/{DzlfiVe2.js → D6I1_o6O.js} +1 -1
- package/chunk/{DA5AMZwY.js → DPDyV8yt.js} +3 -3
- package/chunk/{B--6x-RL.js → DQ8_XXrH.js} +1 -1
- package/chunk/{hc_ufgVf.js → DmHIX8hU.js} +166 -121
- package/chunk/{CYDaUML7.js → DstheLSK.js} +4 -4
- package/chunk/{BHAu6wbC.js → HFPyZ48d.js} +37 -35
- package/chunk/{Bcl7dWlJ.js → efH9HX0H.js} +3 -3
- package/chunk/exc7v_Hl.js +53 -0
- package/collapse/Collapse.js +2 -2
- package/collapse/Item.js +2 -2
- 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/countdown/index.js +4 -4
- package/date-picker/Picker.js +1 -1
- package/date-picker/RangePicker.js +2 -2
- package/date-picker/index.js +1 -1
- package/descriptions/index.js +1 -1
- package/details/index.js +4 -4
- package/development/index.js +1 -1
- package/divider/index.js +1 -1
- package/draggable/index.js +1 -1
- package/drawer/Drawer.js +89 -93
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +2 -2
- package/empty/index.js +1 -1
- package/flex/index.js +4 -4
- package/form/Control.js +115 -103
- package/form/Form.js +2 -2
- package/form/FormItem.js +2 -2
- package/form/index.js +1 -1
- package/form/promisify.js +10 -19
- package/form/store.js +3 -3
- package/form/util.js +62 -52
- package/grid/Grid.js +1 -1
- package/grid/Item.js +1 -1
- package/hooks/index.js +3 -3
- package/hooks/useInView.js +1 -1
- package/hooks/useIntersectionObserver.js +1 -1
- package/hooks/useOverrideRef.js +1 -1
- package/hooks/useWatermark.js +1 -1
- package/icon/addFromIconFontCn.js +1 -1
- package/icon/index.js +2 -2
- package/icon-hover/index.js +1 -1
- package/icons/file.js +1 -1
- package/image/Image.js +3 -3
- package/image/ImagePreview.js +6 -6
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +1 -1
- package/image/index.js +1 -1
- package/index.js +739 -726
- package/input/Button.js +1 -1
- package/input/Group.js +1 -1
- package/input/Input.js +2 -2
- 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/autoSizeTextAreaHeight.js +29 -20
- package/input-number/index.js +1 -1
- package/input-tag/InputTag.js +2 -2
- 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/liquid-fill/index.js +4 -4
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +2 -1
- package/loading/index.js +4 -4
- package/locale/en-US.js +5 -3
- package/locale/tr-TR.js +5 -3
- package/marquee/index.js +7 -6
- package/marquee-/index.js +7 -6
- 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 +2 -2
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +5 -5
- package/modal/index.js +2 -2
- package/notice/index.js +4 -4
- package/notification/index.js +2 -2
- package/notification/useNotification.js +1 -1
- 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 +103 -31
- package/pagination/Pagination.js +38 -35
- package/pagination/index.js +2 -0
- 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/qr-code/index.js +1233 -45
- package/radio/Group.js +2 -2
- package/radio/GroupBlock.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 +2 -2
- package/resize-box/SplitGroup.js +2 -2
- package/resize-box/index.js +2 -2
- package/result/index.js +1 -1
- package/rich-text/index.js +1 -1
- package/row-col/Col-.js +1 -1
- package/row-col/Col.js +1 -1
- package/row-col/Row.js +1 -1
- package/segmented/index.js +21 -21
- 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 +2 -2
- package/slider/index.js +2 -2
- package/space/index.js +4 -4
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +1 -1
- package/splitter/Panel.js +1 -1
- package/splitter/SplitBar.js +2 -2
- package/splitter/Splitter.js +2 -2
- package/statistic/index.js +1 -1
- package/steps/index.js +1 -1
- package/style.css +1 -1
- package/switch/index.js +2 -2
- package/table/Table.js +5 -4
- package/table/index.js +4 -4
- 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 +1 -1
- 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/tour/index.js +4 -4
- package/transfer/Item.js +2 -2
- package/transfer/List.js +2 -2
- package/transfer/index.js +1 -1
- package/tree/Animation.js +3 -3
- 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/tree-select/index.js +1 -1
- package/trigger/getPopupStyle.js +1 -1
- package/trigger/index.js +145 -145
- package/types/common/hooks/useWindowSize.d.ts +4 -4
- package/types/common/utils/dom.d.ts +1 -1
- package/types/common/utils/lodash.d.ts +2 -1
- package/types/common/utils/reactDOM.d.ts +10 -1
- package/types/common/utils/validate.d.ts +2 -0
- package/types/pc/form/interface.d.ts +6 -1
- package/types/pc/form/promisify.d.ts +5 -0
- package/types/pc/form/store.d.ts +1 -1
- package/types/pc/form/util.d.ts +1 -1
- package/types/pc/input/autoSizeTextAreaHeight.d.ts +4 -2
- package/types/pc/pagination/PageOption.d.ts +3 -0
- package/types/pc/pagination/index.d.ts +2 -0
- package/types/pc/pagination/interface.d.ts +5 -0
- package/types/pc/qr-code/examples/demo.d.ts +1 -0
- package/types/pc/qr-code/examples/download.d.ts +2 -0
- package/types/pc/qr-code/examples/full.d.ts +2 -0
- package/types/pc/qr-code/examples/image.d.ts +2 -0
- package/types/pc/qr-code/index.d.ts +2 -0
- package/types/pc/qr-code/src/index.d.ts +116 -0
- package/types/pc/qr-code/src/qrcodegen.d.ts +95 -0
- package/types/pc/qr-code/src/qrcodegen2.d.ts +325 -0
- package/types/pc/utils/validate.d.ts +1 -1
- package/typography/Base.js +1 -1
- package/typography/Ellipsis.js +2 -2
- package/typography/Paragraph.js +1 -1
- package/typography/Typography.js +1 -1
- package/upload/TriggerNode.js +1 -1
- package/upload/Upload.js +2 -2
- package/upload/Uploader.js +1 -1
- package/upload/request_.js +1972 -41
- package/utils/PqbCSSTransition.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/dom.js +1 -1
- package/utils/index.js +247 -235
- package/utils/lodash.js +33 -32
- package/utils/react19Adapter.js +1 -1
- package/utils/reactDOM.js +1 -1
- package/utils/validate.js +15 -5
- package/verification-code/VerificationCode.js +1 -1
- package/version/index.js +1 -1
- package/virtual-list/VirtualList.js +1 -1
- package/watermark/Watermark.js +1 -1
- package/chunk/CXrVhA6-.js +0 -54
- package/chunk/De8RLlOK.js +0 -231
- package/chunk/d1c9z8T1.js +0 -49
package/checkbox/GroupBlock.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../chunk/
|
|
3
|
+
import "../chunk/DstheLSK.js";
|
|
4
4
|
import "../typography/index.js";
|
|
5
5
|
import "@unicom-cloud/utils/class-name";
|
|
6
|
-
import { a as e } from "../chunk/
|
|
6
|
+
import { a as e } from "../chunk/CRgtPpMG.js";
|
|
7
7
|
export {
|
|
8
8
|
e as default
|
|
9
9
|
};
|
package/checkbox/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as e } from "../chunk/
|
|
2
|
-
import { G as t, a as x, b as C } from "../chunk/
|
|
1
|
+
import { C as e } from "../chunk/CRgtPpMG.js";
|
|
2
|
+
import { G as t, a as x, b as C } from "../chunk/CRgtPpMG.js";
|
|
3
3
|
import { default as s } from "./useCheckbox.js";
|
|
4
4
|
export {
|
|
5
5
|
t as CheckboxGroup,
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { isBrowser as h } from "@unicom-cloud/utils/constant/platform";
|
|
2
|
+
import { N as s } from "./CjNkKiBA.js";
|
|
3
|
+
const l = !h, w = Reflect.apply(
|
|
4
|
+
() => l ? s : function(t, e, n, o) {
|
|
5
|
+
t?.addEventListener?.(e, n, o || !1);
|
|
6
|
+
},
|
|
7
|
+
void 0,
|
|
8
|
+
[]
|
|
9
|
+
), E = Reflect.apply(
|
|
10
|
+
() => l ? s : function(t, e, n, o) {
|
|
11
|
+
t?.removeEventListener?.(e, n, o || !1);
|
|
12
|
+
},
|
|
13
|
+
void 0,
|
|
14
|
+
[]
|
|
15
|
+
), v = function(t, e) {
|
|
16
|
+
if (!t)
|
|
17
|
+
return !1;
|
|
18
|
+
if (t.contains)
|
|
19
|
+
return t.contains(e);
|
|
20
|
+
let n = e;
|
|
21
|
+
for (; n; ) {
|
|
22
|
+
if (n === t)
|
|
23
|
+
return !0;
|
|
24
|
+
n = n.parentNode;
|
|
25
|
+
}
|
|
26
|
+
return !1;
|
|
27
|
+
};
|
|
28
|
+
function m(t) {
|
|
29
|
+
if (!(t instanceof HTMLElement) || t === document.documentElement || t === window)
|
|
30
|
+
return !1;
|
|
31
|
+
const e = t === document.documentElement ? t.clientHeight : t.offsetHeight, n = t === document.documentElement ? t.clientWidth : t.offsetWidth, o = t.scrollHeight, i = t.scrollWidth, r = window.getComputedStyle(t), f = r.getPropertyValue("overflow-x"), u = r.getPropertyValue("overflow-y"), c = ["scroll", "auto"], a = o > e && c.includes(u), d = i > n && c.includes(f);
|
|
32
|
+
return a || d;
|
|
33
|
+
}
|
|
34
|
+
const y = (t, e = document.documentElement) => {
|
|
35
|
+
const n = [];
|
|
36
|
+
let o = t;
|
|
37
|
+
for (; o && o !== e; )
|
|
38
|
+
m(o) && n.push(o), o = o.parentElement;
|
|
39
|
+
return n;
|
|
40
|
+
};
|
|
41
|
+
export {
|
|
42
|
+
l as a,
|
|
43
|
+
w as b,
|
|
44
|
+
v as c,
|
|
45
|
+
y as g,
|
|
46
|
+
m as i,
|
|
47
|
+
E as o
|
|
48
|
+
};
|
|
@@ -9,7 +9,7 @@ import j from "lodash/isFunction";
|
|
|
9
9
|
import ae from "lodash/isPlainObject";
|
|
10
10
|
import G from "lodash/isString";
|
|
11
11
|
import ze, { useRef as U, useState as ne, useCallback as se, useEffect as Q, forwardRef as Ke, useContext as qe, useImperativeHandle as Je } from "react";
|
|
12
|
-
import { a as Ge } from "./
|
|
12
|
+
import { a as Ge } from "./DstheLSK.js";
|
|
13
13
|
import { u as de } from "./BJeTDXdz.js";
|
|
14
14
|
import { u as Qe } from "./gJsdBcpG.js";
|
|
15
15
|
import { u as Xe } from "./FgWHhRFz.js";
|
|
@@ -24,12 +24,12 @@ import fe from "lodash/isEqualWith";
|
|
|
24
24
|
import "./DsaQZE4X.js";
|
|
25
25
|
import Y from "lodash/get";
|
|
26
26
|
import { b as rt } from "./-PX9OR3r.js";
|
|
27
|
-
import { C as we } from "./
|
|
27
|
+
import { C as we } from "./CRgtPpMG.js";
|
|
28
28
|
import { u as it } from "./oopARUrq.js";
|
|
29
|
-
import { b as _e, o as oe } from "./
|
|
29
|
+
import { b as _e, o as oe } from "./BcdTSJks.js";
|
|
30
30
|
import Oe from "../virtual-list/VirtualList.js";
|
|
31
31
|
import { u as lt } from "./CsqGBZv1.js";
|
|
32
|
-
import { P as at } from "./
|
|
32
|
+
import { P as at } from "./DQ8_XXrH.js";
|
|
33
33
|
function ct(t, i) {
|
|
34
34
|
const o = U(null), h = de();
|
|
35
35
|
return o.current || (o.current = t()), te(() => {
|
|
@@ -4,7 +4,7 @@ import W from "@unicom-cloud/icons/IconUiMinus";
|
|
|
4
4
|
import B from "lodash/isFunction";
|
|
5
5
|
import q from "lodash/isNil";
|
|
6
6
|
import V, { createContext as J, useState as K, useContext as P, useCallback as M, useRef as Q, useEffect as X } from "react";
|
|
7
|
-
import { a as I, I as Y } from "./
|
|
7
|
+
import { a as I, I as Y } from "./DstheLSK.js";
|
|
8
8
|
import { u as Z } from "./FgWHhRFz.js";
|
|
9
9
|
import { u as S } from "./2vdCeheu.js";
|
|
10
10
|
import w from "@unicom-cloud/utils/class-name";
|
|
@@ -6,7 +6,7 @@ import G from "lodash/isArray";
|
|
|
6
6
|
import Je from "lodash/isPlainObject";
|
|
7
7
|
import An from "lodash/isUndefined";
|
|
8
8
|
import { useContext as ie, useMemo as an, forwardRef as On, useRef as Le, useImperativeHandle as Mn, useState as se, useEffect as Ke } from "react";
|
|
9
|
-
import { a as Re } from "./
|
|
9
|
+
import { a as Re } from "./DstheLSK.js";
|
|
10
10
|
import { u as Hn } from "./FgWHhRFz.js";
|
|
11
11
|
import { u as Kt } from "./8w-ItYb1.js";
|
|
12
12
|
import { u as Qt } from "./DfChiMIE.js";
|
|
@@ -3,18 +3,18 @@ import ln from "@unicom-cloud/icons/IconUiClose";
|
|
|
3
3
|
import sn from "lodash/isFunction";
|
|
4
4
|
import { forwardRef as Me, useState as w, useImperativeHandle as an, useRef as h, useContext as cn, useCallback as un, useEffect as ee } from "react";
|
|
5
5
|
import ve from "../button/index.js";
|
|
6
|
-
import { b as we, e as dn, a as fn, I as mn } from "./
|
|
6
|
+
import { b as we, e as dn, a as fn, I as mn } from "./DstheLSK.js";
|
|
7
7
|
import { u as pn } from "./oopARUrq.js";
|
|
8
8
|
import { u as Cn } from "./FgWHhRFz.js";
|
|
9
9
|
import { u as gn } from "./2vdCeheu.js";
|
|
10
10
|
import { u as hn } from "./BqWBaRtM.js";
|
|
11
11
|
import bn from "../portal/index.js";
|
|
12
|
-
import { P as xe } from "./
|
|
12
|
+
import { P as xe } from "./DQ8_XXrH.js";
|
|
13
13
|
import ne from "@unicom-cloud/utils/class-name";
|
|
14
|
-
import { c as vn, a as xn } from "./
|
|
14
|
+
import { c as vn, a as xn } from "./BcdTSJks.js";
|
|
15
15
|
import { Esc as kn } from "@unicom-cloud/utils/constant/keyboardCode";
|
|
16
16
|
import { o as Mn } from "./BKKEev13.js";
|
|
17
|
-
import { f as wn } from "./
|
|
17
|
+
import { f as wn } from "./exc7v_Hl.js";
|
|
18
18
|
import En from "@unicom-cloud/icons/IconUiCheckCircleFill";
|
|
19
19
|
import Tn from "@unicom-cloud/icons/IconUiCloseCircleFill";
|
|
20
20
|
import ke from "@unicom-cloud/icons/IconUiExclamationCircleFill";
|