@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/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/DstheLSK.js";
|
|
6
6
|
import "../chunk/FgWHhRFz.js";
|
|
7
7
|
import "../chunk/2vdCeheu.js";
|
|
8
8
|
import "@unicom-cloud/utils/class-name";
|
|
9
9
|
import "../utils/constant.js";
|
|
10
10
|
import "../chunk/ClqoGc3r.js";
|
|
11
|
-
import { C as x, b as G, G as f } from "../chunk/
|
|
11
|
+
import { C as x, b as G, G as f } from "../chunk/CxbF1opI.js";
|
|
12
12
|
export {
|
|
13
13
|
x as ClearRadioGroupContext,
|
|
14
14
|
G as RadioGroupContext,
|
package/radio/GroupBlock.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../chunk/
|
|
3
|
+
import "../chunk/DstheLSK.js";
|
|
4
4
|
import "../chunk/FgWHhRFz.js";
|
|
5
5
|
import "../typography/index.js";
|
|
6
6
|
import "@unicom-cloud/utils/class-name";
|
|
7
|
-
import { a as f } from "../chunk/
|
|
7
|
+
import { a as f } from "../chunk/CxbF1opI.js";
|
|
8
8
|
export {
|
|
9
9
|
f as default
|
|
10
10
|
};
|
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/DstheLSK.js";
|
|
6
6
|
import "../chunk/FgWHhRFz.js";
|
|
7
7
|
import "../chunk/2vdCeheu.js";
|
|
8
8
|
import "@unicom-cloud/utils/class-name";
|
|
9
9
|
import "../chunk/BKKEev13.js";
|
|
10
|
-
import { G as R, a as e, b as f, R as l } from "../chunk/
|
|
10
|
+
import { G as R, a as e, b as f, R as l } from "../chunk/CxbF1opI.js";
|
|
11
11
|
export {
|
|
12
12
|
R as RadioGroup,
|
|
13
13
|
e as RadioGroupBlock,
|
package/radio/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as a } from "../chunk/
|
|
2
|
-
import { C as p, G as d, a as e, b as i } from "../chunk/
|
|
1
|
+
import { R as a } from "../chunk/CxbF1opI.js";
|
|
2
|
+
import { C as p, G as d, a as e, b as i } from "../chunk/CxbF1opI.js";
|
|
3
3
|
export {
|
|
4
4
|
p as ClearRadioGroupContext,
|
|
5
5
|
d as RadioGroup,
|
package/rate/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import x from "@unicom-cloud/icons/IconUiFaceSmileFill";
|
|
|
5
5
|
import ee from "@unicom-cloud/icons/IconUiStarFill";
|
|
6
6
|
import { times as oe, div as te } from "@unicom-cloud/utils/math";
|
|
7
7
|
import E, { useContext as re, useState as d } from "react";
|
|
8
|
-
import { a as ae } from "../chunk/
|
|
8
|
+
import { a as ae } from "../chunk/DstheLSK.js";
|
|
9
9
|
import { u as se } from "../chunk/FgWHhRFz.js";
|
|
10
10
|
import ne from "../tooltip/index.js";
|
|
11
11
|
import k from "@unicom-cloud/utils/class-name";
|
|
@@ -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/DstheLSK.js";
|
|
11
11
|
import o from "@unicom-cloud/utils/class-name";
|
|
12
12
|
import "../chunk/DsaQZE4X.js";
|
|
13
13
|
import { o as G } from "../chunk/BKKEev13.js";
|
package/resize-box/Split.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as N, jsxs as ie } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as ce, useContext as ae, useState as D, useRef as z, useImperativeHandle as fe, useEffect as ue } from "react";
|
|
3
|
-
import { a as le } from "../chunk/
|
|
3
|
+
import { a as le } from "../chunk/DstheLSK.js";
|
|
4
4
|
import { u as me } from "../chunk/CAA93JLq.js";
|
|
5
5
|
import $ from "@unicom-cloud/utils/class-name";
|
|
6
|
-
import { b as f, o as u } from "../chunk/
|
|
6
|
+
import { b as f, o as u } from "../chunk/BcdTSJks.js";
|
|
7
7
|
import de from "./ResizeTrigger.js";
|
|
8
8
|
const y = "horizontal", W = "vertical";
|
|
9
9
|
function ge(c, A) {
|
package/resize-box/SplitGroup.js
CHANGED
|
@@ -5,9 +5,9 @@ import x from "lodash/isPlainObject";
|
|
|
5
5
|
import wt from "lodash/isString";
|
|
6
6
|
import G from "lodash/isUndefined";
|
|
7
7
|
import dt, { forwardRef as Mt, useContext as Ot, useRef as S, useState as $, useEffect as V, useImperativeHandle as Ct } from "react";
|
|
8
|
-
import { a as xt } from "../chunk/
|
|
8
|
+
import { a as xt } from "../chunk/DstheLSK.js";
|
|
9
9
|
import St from "@unicom-cloud/utils/class-name";
|
|
10
|
-
import { b as z, o as P } from "../chunk/
|
|
10
|
+
import { b as z, o as P } from "../chunk/BcdTSJks.js";
|
|
11
11
|
import { o as zt } from "../chunk/BKKEev13.js";
|
|
12
12
|
import Pt from "./ResizeTrigger.js";
|
|
13
13
|
const D = "horizontal", W = "vertical";
|
package/resize-box/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as et, jsx as ot } from "react/jsx-runtime";
|
|
2
2
|
import O from "lodash/isNumber";
|
|
3
3
|
import { forwardRef as rt, useContext as nt, useState as st, useRef as D, useImperativeHandle as it } from "react";
|
|
4
|
-
import { a as ct } from "../chunk/
|
|
4
|
+
import { a as ct } from "../chunk/DstheLSK.js";
|
|
5
5
|
import { u as at } from "../chunk/FgWHhRFz.js";
|
|
6
6
|
import { u as B } from "../chunk/2vdCeheu.js";
|
|
7
7
|
import ut from "@unicom-cloud/utils/class-name";
|
|
8
|
-
import { b as u, o as m } from "../chunk/
|
|
8
|
+
import { b as u, o as m } from "../chunk/BcdTSJks.js";
|
|
9
9
|
import { o as mt } from "../chunk/BKKEev13.js";
|
|
10
10
|
import dt from "./ResizeTrigger.js";
|
|
11
11
|
import pt from "./Split.js";
|
package/result/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import C from "@unicom-cloud/icons/IconUiClose";
|
|
|
4
4
|
import v from "@unicom-cloud/icons/IconUiExclamation";
|
|
5
5
|
import R from "@unicom-cloud/icons/IconUiInfo";
|
|
6
6
|
import { forwardRef as U, useContext as P } from "react";
|
|
7
|
-
import { a as b } from "../chunk/
|
|
7
|
+
import { a as b } from "../chunk/DstheLSK.js";
|
|
8
8
|
import { u as j } from "../chunk/FgWHhRFz.js";
|
|
9
9
|
import m from "@unicom-cloud/utils/class-name";
|
|
10
10
|
import w from "./403.js";
|
package/rich-text/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as Fs } from "react/jsx-runtime";
|
|
2
2
|
import ns from "lodash/defaultsDeep";
|
|
3
3
|
import { forwardRef as zs, useContext as Vs, useRef as Ce, useEffect as Mt, useImperativeHandle as Ks } from "react";
|
|
4
|
-
import { a as Ws } from "../chunk/
|
|
4
|
+
import { a as Ws } from "../chunk/DstheLSK.js";
|
|
5
5
|
import { u as Zs } from "../chunk/FgWHhRFz.js";
|
|
6
6
|
import Gs from "@unicom-cloud/utils/class-name";
|
|
7
7
|
import ht from "lodash/merge";
|
package/row-col/Col-.js
CHANGED
|
@@ -3,7 +3,7 @@ import G from "lodash/isArray";
|
|
|
3
3
|
import H from "lodash/isNumber";
|
|
4
4
|
import T from "lodash/isPlainObject";
|
|
5
5
|
import { forwardRef as q, useContext as j, useMemo as D } from "react";
|
|
6
|
-
import { a as I } from "../chunk/
|
|
6
|
+
import { a as I } from "../chunk/DstheLSK.js";
|
|
7
7
|
import { COLS as J } from "../constant/index.js";
|
|
8
8
|
import { u as K } from "../chunk/FgWHhRFz.js";
|
|
9
9
|
import Q from "@unicom-cloud/utils/class-name";
|
package/row-col/Col.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as T } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as U, useContext as E, useMemo as x, useEffect as W } from "react";
|
|
3
|
-
import { a as X } from "../chunk/
|
|
3
|
+
import { a as X } from "../chunk/DstheLSK.js";
|
|
4
4
|
import { COLS as b } from "../constant/index.js";
|
|
5
5
|
import { u as Y } from "../chunk/FgWHhRFz.js";
|
|
6
6
|
import { useResponsive as Z, isResponsiveValue as ee } from "../hooks/useResponsiveState.js";
|
package/row-col/Row.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as N, useContext as h, useEffect as v } from "react";
|
|
3
|
-
import { a as P } from "../chunk/
|
|
3
|
+
import { a as P } from "../chunk/DstheLSK.js";
|
|
4
4
|
import { u as j } from "../chunk/FgWHhRFz.js";
|
|
5
5
|
import { useResponsiveState as c } from "../hooks/useResponsiveState.js";
|
|
6
6
|
import z from "@unicom-cloud/utils/class-name";
|
package/segmented/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as h, jsxs as H, Fragment as $e } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as he, useContext as ye, useMemo as ze, useState as xe, useRef as L, useEffect as K, useImperativeHandle as ve } from "react";
|
|
3
|
-
import { a as we } from "../chunk/
|
|
3
|
+
import { a as we } from "../chunk/DstheLSK.js";
|
|
4
4
|
import "../chunk/DsaQZE4X.js";
|
|
5
5
|
import "@unicom-cloud/utils/constant/platform";
|
|
6
6
|
import "../chunk/CdXR6dj7.js";
|
|
@@ -19,10 +19,10 @@ import "lodash/isEqualWith";
|
|
|
19
19
|
import "@unicom-cloud/utils/constant/keyboardCode";
|
|
20
20
|
import "lodash/isNumber";
|
|
21
21
|
import "lodash/merge";
|
|
22
|
-
import "../chunk/
|
|
23
|
-
import "../chunk/
|
|
22
|
+
import "../chunk/BcdTSJks.js";
|
|
23
|
+
import "../chunk/CEAeR6xB.js";
|
|
24
24
|
import { u as Ce } from "../chunk/FgWHhRFz.js";
|
|
25
|
-
import "../chunk/
|
|
25
|
+
import "../chunk/exc7v_Hl.js";
|
|
26
26
|
import "@unicom-cloud/utils/constant";
|
|
27
27
|
import M from "@unicom-cloud/utils/class-name";
|
|
28
28
|
import { isString as Ie, isNumber as T, isFunction as W } from "@unicom-cloud/utils/is";
|
|
@@ -79,7 +79,7 @@ const G = {
|
|
|
79
79
|
keyboardSwitch: !0,
|
|
80
80
|
animationDuration: 300
|
|
81
81
|
};
|
|
82
|
-
function
|
|
82
|
+
function qe(B, J) {
|
|
83
83
|
const { getPrefixCls: Q, componentConfig: X, rtl: k } = ye(we), f = Ce(
|
|
84
84
|
B,
|
|
85
85
|
Ne,
|
|
@@ -97,12 +97,12 @@ function Oe(B, J) {
|
|
|
97
97
|
block: N = !1,
|
|
98
98
|
split: oe,
|
|
99
99
|
direction: x = "horizontal",
|
|
100
|
-
showIndicator:
|
|
101
|
-
keyboardSwitch:
|
|
102
|
-
animationDuration:
|
|
103
|
-
name:
|
|
100
|
+
showIndicator: q = !0,
|
|
101
|
+
keyboardSwitch: A = !0,
|
|
102
|
+
animationDuration: O = 300,
|
|
103
|
+
name: P,
|
|
104
104
|
immediateTrigger: te = !1,
|
|
105
|
-
onChange:
|
|
105
|
+
onChange: D,
|
|
106
106
|
...ie
|
|
107
107
|
} = f, R = Se(), o = Q?.("segmented"), ne = x === "vertical", V = z === "pill", U = "value" in f, r = ze(() => C.map((e) => Ie(e) || T(e) ? { value: e, label: e } : e), [C]), [re, se] = xe(_), E = L(null), v = L([]), a = U ? ee : re, d = G[y] || G.medium;
|
|
108
108
|
function ae() {
|
|
@@ -125,8 +125,8 @@ function Oe(B, J) {
|
|
|
125
125
|
padding: d.root.padding,
|
|
126
126
|
...Y
|
|
127
127
|
};
|
|
128
|
-
if (e["--gap"] = T(u) ? `${u}px` : u, V && (e.borderRadius = `calc(${d.option.size} / 2)`),
|
|
129
|
-
b.borderRadius && (e["--before-border-radius"] = b.borderRadius),
|
|
128
|
+
if (e["--gap"] = T(u) ? `${u}px` : u, V && (e.borderRadius = `calc(${d.option.size} / 2)`), q) {
|
|
129
|
+
b.borderRadius && (e["--before-border-radius"] = b.borderRadius), O && (e["--before-transition-duration"] = `${O}ms`);
|
|
130
130
|
const i = r.findIndex((n) => n?.value === a), t = v.current[i];
|
|
131
131
|
t && (e["--before-width"] = `${t.offsetWidth}px`, e["--before-height"] = `${t.offsetHeight}px`, ne ? e["--before-top"] = `${t.offsetTop}px` : e["--before-left"] = `${t.offsetLeft}px`);
|
|
132
132
|
}
|
|
@@ -135,13 +135,13 @@ function Oe(B, J) {
|
|
|
135
135
|
const le = pe();
|
|
136
136
|
function g(e, i, t) {
|
|
137
137
|
const n = t || r.find((l) => l.value === e);
|
|
138
|
-
U || se(e), W(
|
|
138
|
+
U || se(e), W(D) && D(e, n);
|
|
139
139
|
}
|
|
140
140
|
function ce(e, i, t, n) {
|
|
141
141
|
n || m || g(e, i, t);
|
|
142
142
|
}
|
|
143
143
|
function fe(e) {
|
|
144
|
-
if (e.preventDefault(), !
|
|
144
|
+
if (e.preventDefault(), !A || m)
|
|
145
145
|
return;
|
|
146
146
|
const i = r.findIndex((p) => p?.value === a);
|
|
147
147
|
let t = i;
|
|
@@ -220,11 +220,11 @@ function Oe(B, J) {
|
|
|
220
220
|
},
|
|
221
221
|
...be,
|
|
222
222
|
children: [
|
|
223
|
-
!!
|
|
223
|
+
!!P && /* @__PURE__ */ h(
|
|
224
224
|
"input",
|
|
225
225
|
{
|
|
226
226
|
type: "radio",
|
|
227
|
-
name:
|
|
227
|
+
name: P,
|
|
228
228
|
value: s,
|
|
229
229
|
checked: c,
|
|
230
230
|
className: `${o}-input`,
|
|
@@ -266,7 +266,7 @@ function Oe(B, J) {
|
|
|
266
266
|
[`${o}-rtl`]: k,
|
|
267
267
|
[`${o}-block`]: N,
|
|
268
268
|
[`${o}-disabled`]: m,
|
|
269
|
-
[`${o}-indicator`]:
|
|
269
|
+
[`${o}-indicator`]: q
|
|
270
270
|
},
|
|
271
271
|
`${o}-mode-${z}`,
|
|
272
272
|
`${o}-direction-${x}`,
|
|
@@ -274,15 +274,15 @@ function Oe(B, J) {
|
|
|
274
274
|
Z
|
|
275
275
|
),
|
|
276
276
|
role: "radiogroup",
|
|
277
|
-
onKeyDown:
|
|
277
|
+
onKeyDown: A ? (e) => {
|
|
278
278
|
fe(e);
|
|
279
279
|
} : void 0,
|
|
280
280
|
children: r.map(me)
|
|
281
281
|
}
|
|
282
282
|
);
|
|
283
283
|
}
|
|
284
|
-
const
|
|
285
|
-
|
|
284
|
+
const Ae = he(qe);
|
|
285
|
+
Ae.displayName = "Segmented";
|
|
286
286
|
export {
|
|
287
|
-
|
|
287
|
+
Ae as default
|
|
288
288
|
};
|
package/select/Option.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as w, jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import E from "react";
|
|
3
|
-
import { C as L } from "../chunk/
|
|
3
|
+
import { C as L } from "../chunk/CRgtPpMG.js";
|
|
4
4
|
import f from "@unicom-cloud/utils/class-name";
|
|
5
5
|
import { o as j } from "../chunk/BKKEev13.js";
|
|
6
6
|
function y(c, _) {
|
package/select/Select.js
CHANGED
|
@@ -2,8 +2,8 @@ import { jsx as E, jsxs as Ot } from "react/jsx-runtime";
|
|
|
2
2
|
import m from "lodash/isArray";
|
|
3
3
|
import vt from "lodash/isFunction";
|
|
4
4
|
import bt, { useContext as Vt, useState as j, useMemo as Ee, useRef as V, useCallback as oe, useEffect as O, useImperativeHandle as yt } from "react";
|
|
5
|
-
import { C as wt } from "../chunk/
|
|
6
|
-
import { a as kt } from "../chunk/
|
|
5
|
+
import { C as wt } from "../chunk/CRgtPpMG.js";
|
|
6
|
+
import { a as kt } from "../chunk/DstheLSK.js";
|
|
7
7
|
import { u as xt } from "../chunk/gJsdBcpG.js";
|
|
8
8
|
import { u as St } from "../chunk/FgWHhRFz.js";
|
|
9
9
|
import { u as Me } from "../chunk/2vdCeheu.js";
|
package/select-view/Core.js
CHANGED
|
@@ -6,7 +6,7 @@ import oo from "@unicom-cloud/icons/IconUiLoading";
|
|
|
6
6
|
import no from "@unicom-cloud/icons/IconUiSearch";
|
|
7
7
|
import to from "lodash/isFunction";
|
|
8
8
|
import le from "lodash/isUndefined";
|
|
9
|
-
import { a as ro, I as so } from "../chunk/
|
|
9
|
+
import { a as ro, I as so } from "../chunk/DstheLSK.js";
|
|
10
10
|
import { u as ao } from "../chunk/BJeTDXdz.js";
|
|
11
11
|
import { u as co } from "../chunk/Ca6eMq_Y.js";
|
|
12
12
|
import lo from "../input-tag/InputTag.js";
|
package/skeleton/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e, jsxs as $ } from "react/jsx-runtime";
|
|
2
2
|
import k from "lodash/isPlainObject";
|
|
3
3
|
import S, { forwardRef as j, useContext as v } from "react";
|
|
4
|
-
import { a as b } from "../chunk/
|
|
4
|
+
import { a as b } from "../chunk/DstheLSK.js";
|
|
5
5
|
import { u as y } from "../chunk/FgWHhRFz.js";
|
|
6
6
|
import R from "@unicom-cloud/utils/class-name";
|
|
7
7
|
import { a as w } from "../chunk/ClqoGc3r.js";
|
package/slider/Button.js
CHANGED
|
@@ -3,12 +3,12 @@ import p from "lodash/isFunction";
|
|
|
3
3
|
import W from "lodash/isNumber";
|
|
4
4
|
import q from "lodash/isString";
|
|
5
5
|
import G, { useState as H, useContext as J, useMemo as N, useRef as v, useEffect as Q } from "react";
|
|
6
|
-
import { a as Z } from "../chunk/
|
|
6
|
+
import { a as Z } from "../chunk/DstheLSK.js";
|
|
7
7
|
import { u as _ } from "../chunk/Bvxzb1wd.js";
|
|
8
8
|
import { u as tt } from "../chunk/2vdCeheu.js";
|
|
9
9
|
import et from "../trigger/index.js";
|
|
10
10
|
import B from "@unicom-cloud/utils/class-name";
|
|
11
|
-
import { b as u, o as a } from "../chunk/
|
|
11
|
+
import { b as u, o as a } from "../chunk/BcdTSJks.js";
|
|
12
12
|
const ot = { maxWidth: 350 }, nt = {
|
|
13
13
|
enter: 300,
|
|
14
14
|
exit: 100
|
package/slider/index.js
CHANGED
|
@@ -4,12 +4,12 @@ import _ from "lodash/isArray";
|
|
|
4
4
|
import ee from "lodash/isFunction";
|
|
5
5
|
import te from "lodash/isPlainObject";
|
|
6
6
|
import Ge, { useMemo as ne, useCallback as T, forwardRef as He, useContext as Qe, useRef as $ } from "react";
|
|
7
|
-
import { a as Ze } from "../chunk/
|
|
7
|
+
import { a as Ze } from "../chunk/DstheLSK.js";
|
|
8
8
|
import { u as _e } from "../chunk/FgWHhRFz.js";
|
|
9
9
|
import { u as et } from "../chunk/2vdCeheu.js";
|
|
10
10
|
import { u as tt } from "../chunk/DfChiMIE.js";
|
|
11
11
|
import ve from "@unicom-cloud/utils/class-name";
|
|
12
|
-
import { b as be, o as we } from "../chunk/
|
|
12
|
+
import { b as be, o as we } from "../chunk/BcdTSJks.js";
|
|
13
13
|
import { o as nt } from "../chunk/BKKEev13.js";
|
|
14
14
|
import ot from "./Button.js";
|
|
15
15
|
import rt from "./Dot.js";
|
package/space/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as a, useContext as u } from "react";
|
|
3
|
-
import { a as C, S as x } from "../chunk/
|
|
3
|
+
import { a as C, S as x } from "../chunk/DstheLSK.js";
|
|
4
4
|
import "../chunk/DsaQZE4X.js";
|
|
5
5
|
import "@unicom-cloud/utils/constant/platform";
|
|
6
6
|
import "../chunk/CdXR6dj7.js";
|
|
@@ -17,10 +17,10 @@ import "lodash/isEqualWith";
|
|
|
17
17
|
import "@unicom-cloud/utils/constant/keyboardCode";
|
|
18
18
|
import "lodash/isNumber";
|
|
19
19
|
import "lodash/merge";
|
|
20
|
-
import "../chunk/
|
|
21
|
-
import "../chunk/
|
|
20
|
+
import "../chunk/BcdTSJks.js";
|
|
21
|
+
import "../chunk/CEAeR6xB.js";
|
|
22
22
|
import { u as N } from "../chunk/FgWHhRFz.js";
|
|
23
|
-
import "../chunk/
|
|
23
|
+
import "../chunk/exc7v_Hl.js";
|
|
24
24
|
import "@unicom-cloud/utils/constant";
|
|
25
25
|
import g from "@unicom-cloud/utils/class-name";
|
|
26
26
|
const $ = {
|
package/spin/DotLoading.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import a from "lodash/isNumber";
|
|
3
3
|
import { useContext as m } from "react";
|
|
4
|
-
import { a as l } from "../chunk/
|
|
4
|
+
import { a as l } from "../chunk/DstheLSK.js";
|
|
5
5
|
function x(t) {
|
|
6
6
|
const { getPrefixCls: r } = m(l), i = `${r?.("spin")}-dot`, n = {
|
|
7
7
|
width: t.size,
|
package/spin/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import F from "@unicom-cloud/icons/IconUiLoadingRing";
|
|
|
6
6
|
import H from "@unicom-cloud/icons/IconUiLoadingSpinner";
|
|
7
7
|
import M from "lodash/debounce";
|
|
8
8
|
import h, { useContext as q, useState as A, useCallback as B, useRef as G, useImperativeHandle as J, useEffect as K } from "react";
|
|
9
|
-
import { a as O } from "../chunk/
|
|
9
|
+
import { a as O } from "../chunk/DstheLSK.js";
|
|
10
10
|
import { u as Q } from "../chunk/FgWHhRFz.js";
|
|
11
11
|
import f from "@unicom-cloud/utils/class-name";
|
|
12
12
|
import { b as T } from "../chunk/DsaQZE4X.js";
|
package/splitter/Panel.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import p, { forwardRef as x } from "react";
|
|
3
|
-
import { a as d } from "../chunk/
|
|
3
|
+
import { a as d } from "../chunk/DstheLSK.js";
|
|
4
4
|
import C from "@unicom-cloud/utils/class-name";
|
|
5
5
|
const N = x((o, t) => {
|
|
6
6
|
const { getPrefixCls: l } = p.useContext(d), {
|
package/splitter/SplitBar.js
CHANGED
|
@@ -4,9 +4,9 @@ import "@unicom-cloud/icons/IconUiLeft";
|
|
|
4
4
|
import "@unicom-cloud/icons/IconUiRight";
|
|
5
5
|
import "@unicom-cloud/icons/IconUiUp";
|
|
6
6
|
import "react";
|
|
7
|
-
import "../chunk/
|
|
7
|
+
import "../chunk/DstheLSK.js";
|
|
8
8
|
import "@unicom-cloud/utils/class-name";
|
|
9
|
-
import { S as l } from "../chunk/
|
|
9
|
+
import { S as l } from "../chunk/D6I1_o6O.js";
|
|
10
10
|
export {
|
|
11
11
|
l as default
|
|
12
12
|
};
|
package/splitter/Splitter.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as Y, jsx as L } from "react/jsx-runtime";
|
|
2
2
|
import p, { useState as ae, useRef as ce, useEffect as le, useImperativeHandle as fe } from "react";
|
|
3
|
-
import { a as ue } from "../chunk/
|
|
3
|
+
import { a as ue } from "../chunk/DstheLSK.js";
|
|
4
4
|
import { u as me } from "../chunk/FgWHhRFz.js";
|
|
5
5
|
import pe from "@unicom-cloud/utils/class-name";
|
|
6
6
|
import { r as ze } from "../chunk/CHQ8c547.js";
|
|
7
|
-
import { u as D, S as Se } from "../chunk/
|
|
7
|
+
import { u as D, S as Se } from "../chunk/D6I1_o6O.js";
|
|
8
8
|
import { t as de } from "../chunk/CTMmW21t.js";
|
|
9
9
|
import { InternalPanel as Ce } from "./Panel.js";
|
|
10
10
|
function ge(t) {
|
package/statistic/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import W from "dayjs";
|
|
|
4
4
|
import X from "lodash/isFunction";
|
|
5
5
|
import c from "lodash/isNumber";
|
|
6
6
|
import { forwardRef as z, useContext as B, useRef as w, useState as G, useEffect as J, useImperativeHandle as K, useMemo as Q } from "react";
|
|
7
|
-
import { a as Y } from "../chunk/
|
|
7
|
+
import { a as Y } from "../chunk/DstheLSK.js";
|
|
8
8
|
import Z from "../countdown/index.js";
|
|
9
9
|
import { u as ee } from "../chunk/FgWHhRFz.js";
|
|
10
10
|
import te from "../skeleton/index.js";
|
package/steps/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as D } from "react/jsx-runtime";
|
|
2
2
|
import d, { forwardRef as R, useContext as k } from "react";
|
|
3
|
-
import { a as A } from "../chunk/
|
|
3
|
+
import { a as A } from "../chunk/DstheLSK.js";
|
|
4
4
|
import { u as E } from "../chunk/FgWHhRFz.js";
|
|
5
5
|
import I from "@unicom-cloud/utils/class-name";
|
|
6
6
|
import { a as j } from "../chunk/ClqoGc3r.js";
|