@unicom-cloud/ui 0.8.72 → 0.8.74
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 +3 -3
- package/Alert.js +3 -3
- package/AutoComplete.js +3 -3
- package/BackTop.js +4 -4
- package/Badge.js +3 -3
- package/Breadcrumb.js +4 -4
- package/Button.js +2 -2
- package/Calendar.js +3 -3
- package/Card.js +2 -2
- package/Carousel.js +2 -2
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +2 -2
- package/Comment.js +2 -2
- package/ConfigProvider.js +1 -1
- package/Copy.js +3 -3
- package/DatePicker.js +1 -1
- package/Descriptions.js +2 -2
- package/Divider.js +2 -2
- package/Draggable.js +2 -2
- package/Dropdown.js +5 -5
- package/Empty.js +2 -2
- package/Icon.js +2 -2
- package/IconHover.js +2 -2
- package/Image.js +1 -1
- package/InputNumber.js +2 -2
- package/Layout.js +2 -2
- package/Link.js +2 -2
- package/List.js +3 -3
- package/Mentions.js +3 -3
- package/Menu.js +1 -1
- package/Message.js +7 -6
- package/Modal.js +1 -1
- package/Notice.js +5 -5
- package/Notification.js +8 -7
- package/OverflowEllipsis.js +2 -2
- package/PageHeader.js +2 -2
- package/Popconfirm.js +3 -3
- package/Popover.js +3 -3
- package/Progress.js +2 -2
- package/Radio.js +1 -1
- package/Rate.js +3 -3
- package/ResizeBox.js +3 -3
- package/Result.js +2 -2
- package/SelectView.js +5 -4
- package/Skeleton.js +2 -2
- package/Slider.js +4 -4
- package/Space.js +2 -2
- package/SpeechSynthesis.js +21 -21
- package/Spin.js +3 -3
- package/Statistic.js +3 -3
- package/Steps.js +2 -2
- package/Switch.js +8 -6
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +2 -2
- package/Tooltip.js +4 -4
- package/Transfer.js +3 -3
- package/Tree.js +1 -1
- package/Trigger.js +9 -8
- package/affix/index.js +3 -3
- package/alert/index.js +9 -9
- package/anchor/Anchor.js +62 -59
- package/anchor/Link.js +2 -2
- package/anchor/util.js +2 -2
- package/auto-complete/index.js +3 -3
- package/avatar/Avatar.js +2 -2
- package/avatar/Group.js +2 -2
- package/back-top/index.js +11 -11
- package/badge/Count.js +7 -7
- package/badge/index.js +52 -50
- package/breadcrumb/Item.js +6 -6
- package/breadcrumb/index.js +4 -4
- package/button/Group.js +2 -2
- package/button/index.js +2 -2
- package/calendar/Month.js +2 -2
- package/calendar/Year.js +1 -1
- package/calendar/index.js +4 -4
- package/card/Grid.js +5 -5
- package/card/Meta.js +4 -4
- package/card/index.js +2 -2
- package/carousel/Arrow.js +2 -2
- package/carousel/Indicator.js +6 -6
- package/carousel/index.js +2 -2
- package/cascader/Cascader.js +5 -5
- package/cascader/index.js +1 -1
- package/cascader/util.js +1 -1
- package/checkbox/Checkbox.js +4 -4
- package/checkbox/Group.js +4 -4
- package/checkbox/index.js +1 -1
- package/chunk/{6nKl68Er.js → 9we0Q8Kh.js} +4 -4
- package/chunk/{b1e8awfs.js → B0n0iRhF.js} +1 -1
- package/chunk/{Cf4qn5jY.js → BDZpJpz-.js} +3 -3
- package/chunk/BFmckYou.js +25 -0
- package/chunk/{fFjj2KuF.js → BJ9_azwQ.js} +493 -515
- package/chunk/{BnWo0OJ0.js → Bd9zhOZS.js} +9 -9
- package/chunk/{uKZyjtff.js → BhBEMwvI.js} +21 -20
- package/chunk/{Bfq4YEcr.js → Bmvhjhzq.js} +9 -8
- package/chunk/{CdAuhef7.js → BoUHPeG7.js} +2 -2
- package/chunk/BpYX5PN4.js +27 -0
- package/chunk/{CP7Ac47f.js → Bu8A2l60.js} +4 -4
- package/chunk/{URXCKjXr.js → C0pRaDCf.js} +23 -23
- package/chunk/CUFsOxJ2.js +10 -0
- package/chunk/CWjvjpyc.js +873 -0
- package/chunk/{ClaNycDy.js → Cc_-i0o_.js} +2 -2
- package/chunk/Coz3rCng.js +33 -0
- package/chunk/{BHL-PzAD.js → CplLA01W.js} +17 -17
- package/chunk/{Cgbja_v_.js → Crs3isAx.js} +14 -13
- package/chunk/{Ey4YJCkX.js → D0Dlbc2g.js} +2 -1
- package/chunk/{y9unmTx_.js → D5UfU6-H.js} +127 -127
- package/chunk/DAAff-FT.js +59 -0
- package/chunk/{rp1MtSd0.js → DJ8rDYjb.js} +4 -4
- package/chunk/{AwZqeapI.js → DRTWRsgI.js} +1 -1
- package/chunk/DU1RCDfh.js +29 -0
- package/chunk/{CAVVFFyZ.js → DdT3C0ih.js} +6 -8
- package/chunk/{CdaT1b_F.js → DeV0v__J.js} +2 -2
- package/chunk/{IUjEMHU1.js → Dn7KbmZ7.js} +194 -191
- package/chunk/{DpoumMDw.js → DohlrJ4S.js} +1 -1
- package/chunk/{BDHuWwhT.js → NmSLBKjp.js} +3 -3
- package/chunk/{DV7ywe_q.js → RS6OAxzv.js} +2 -2
- package/chunk/{Biupwn8l.js → ZrBrCzQX.js} +6 -5
- package/chunk/_L2dKF58.js +647 -0
- package/chunk/{BJ1soa2K.js → uEGHykhe.js} +18 -18
- package/chunk/{D090jlwP.js → xAb6ZgqS.js} +1 -1
- package/collapse/Collapse.js +4 -4
- package/collapse/Item.js +4 -4
- package/collapse/index.js +1 -1
- package/color-picker/ControlBar.js +2 -2
- package/color-picker/InputAlpha.js +1 -1
- package/color-picker/InputHex.js +8 -8
- package/color-picker/InputRgb.js +6 -6
- package/color-picker/Palette.js +2 -2
- package/color-picker/Panel.js +17 -17
- package/color-picker/colors.js +20 -9
- package/color-picker/index.js +21 -21
- package/color-picker/utils.js +1 -1
- package/comment/index.js +6 -6
- package/config-provider/ConfigProvider.js +2 -2
- package/config-provider/context.js +1 -1
- package/config-provider/index.js +2 -2
- package/copy/index.js +16 -16
- 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 +3 -3
- package/divider/index.js +5 -5
- package/draggable/Item.js +1 -1
- package/draggable/index.js +9 -9
- package/drawer/Drawer.js +122 -112
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +5 -5
- package/empty/index.js +2 -2
- package/form/Control.js +1 -1
- package/form/Form.js +3 -3
- package/form/FormItem.js +3 -3
- package/form/FormLabel.js +9 -9
- package/form/promisify.js +9 -8
- package/form/store.js +1 -1
- package/form/util.js +1 -1
- package/grid/Col.js +2 -2
- package/grid/Row.js +3 -3
- package/grid/grid-item.js +3 -3
- package/grid/grid.js +9 -9
- package/hooks/index.js +5 -5
- package/hooks/useInView.js +1 -1
- package/hooks/useIntersectionObserver.js +1 -1
- package/hooks/useMergeValue.js +1 -1
- package/hooks/useOverflowHidden.js +1 -1
- package/hooks/useOverrideRef.js +1 -1
- package/hooks/useVerificationCode.js +2 -2
- package/icon/index.js +11 -11
- package/icon-hover/index.js +2 -2
- package/image/Image.js +6 -6
- package/image/ImageFooter.js +2 -2
- package/image/ImagePreview.js +10 -10
- package/image/ImagePreviewArrow.js +4 -4
- package/image/ImagePreviewGroup.js +2 -2
- package/image/ImagePreviewToolbar.js +1 -1
- package/image/TriggerForToolbar.js +4 -4
- package/image/index.js +1 -1
- package/index.js +585 -575
- package/input/Group.js +4 -4
- package/input/Input.js +5 -4
- package/input/InputElement.js +4 -4
- package/input/Password.js +3 -3
- package/input/Search.js +3 -3
- package/input/Textarea.js +7 -6
- package/input-number/index.js +2 -2
- package/input-tag/InputTag.js +53 -51
- package/layout/Content.js +2 -2
- package/layout/Footer.js +5 -5
- package/layout/Header.js +4 -4
- package/layout/Sider.js +4 -4
- package/layout/index.js +2 -2
- package/link/index.js +5 -5
- package/list/Item.js +2 -2
- package/list/Meta.js +4 -4
- package/list/index.js +3 -3
- package/locale/en-US.js +1 -1
- package/locale/tr-TR.js +1 -1
- package/mentions/index.js +3 -3
- package/menu/Item.js +6 -6
- package/menu/ItemGroup.js +1 -1
- package/menu/Menu.js +4 -4
- package/menu/OverflowWrap.js +2 -2
- package/menu/index.js +2 -2
- package/message/index.js +7 -6
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +9 -8
- package/modal/index.js +1 -1
- package/notice/index.js +5 -5
- package/notification/index.js +8 -7
- package/notification/useNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +6 -6
- package/overflow-ellipsis/index.js +8 -8
- package/package.json +1 -1
- package/page-header/index.js +2 -2
- package/pagination/PageItem.js +2 -2
- package/pagination/PageJumper.js +1 -1
- package/pagination/PageOption.js +1 -1
- package/pagination/Pagination.js +24 -24
- package/picker/Input.js +7 -7
- package/picker/InputRange.js +9 -9
- package/popconfirm/index.js +3 -3
- package/popover/index.js +3 -3
- package/progress/CircleProgress.js +7 -7
- package/progress/LineProgess.js +1 -1
- package/progress/StepProgress.js +7 -7
- package/progress/index.js +8 -8
- package/radio/Group.js +4 -4
- package/radio/Radio.js +4 -4
- package/radio/index.js +2 -2
- package/rate/index.js +27 -27
- package/resize-box/ResizeTrigger.js +26 -25
- package/resize-box/Split.js +12 -12
- package/resize-box/SplitGroup.js +2 -2
- package/resize-box/index.js +3 -3
- package/result/index.js +9 -9
- package/select/Option.js +2 -2
- package/select/Select.js +6 -5
- package/select/util.js +12 -12
- package/select-view/Core.js +29 -29
- package/select-view/index.js +3 -2
- package/skeleton/Image.js +4 -4
- package/skeleton/Text.js +7 -7
- package/skeleton/index.js +2 -2
- package/slider/Button.js +3 -3
- package/slider/Dot.js +5 -5
- package/slider/Input.js +12 -12
- package/slider/Tick.js +7 -7
- package/slider/index.js +20 -20
- package/slider/util.js +8 -8
- package/space/index.js +12 -12
- package/speech-synthesis/index.js +21 -21
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +3 -3
- package/statistic/Countdown.js +7 -7
- package/statistic/index.js +20 -20
- package/steps/Step.js +1 -1
- package/steps/index.js +2 -2
- package/style/variables.less +1 -1
- package/style.css +1 -1
- package/switch/index.js +17 -15
- package/table/Table.js +4 -4
- package/table/index.js +4 -4
- package/tabs/Tab.js +4 -4
- package/tabs/TabContent.js +3 -3
- package/tabs/TabPane.js +2 -2
- package/tabs/index.js +2 -2
- package/tag/index.js +6 -6
- package/time-picker/Picker.js +2 -2
- package/time-picker/TimeColumn.js +7 -7
- package/time-picker/TimePicker.js +23 -23
- package/time-picker/util.js +5 -5
- package/timeline/Item.js +2 -2
- package/timeline/Timeline.js +2 -2
- package/tooltip/index.js +4 -4
- package/transfer/Item.js +3 -3
- package/transfer/List.js +3 -3
- package/transfer/index.js +3 -3
- package/tree/Animation.js +3 -3
- package/tree/Node.js +4 -4
- package/tree/NodeList.js +2 -2
- package/tree/Tree.js +4 -4
- package/tree/index.js +1 -1
- package/tree-select/Select.js +25 -25
- package/trigger/getPopupStyle.js +2 -2
- package/trigger/index.js +8 -7
- package/types/badge/interface.d.ts +1 -0
- package/types/color-picker/colors.d.ts +1 -1
- package/types/date-picker/util.d.ts +1 -1
- package/types/drawer/interface.d.ts +10 -0
- package/types/index.d.ts +0 -7
- package/types/modal/Confirm.d.ts +1 -0
- package/types/utils/PqbCSSTransition.d.ts +3 -0
- package/types/utils/caseName.d.ts +1 -0
- package/types/utils/className.d.ts +1 -0
- package/types/utils/color.d.ts +1 -0
- package/types/utils/computeScrollIntoView.d.ts +1 -0
- package/types/utils/contextHolder.d.ts +1 -0
- package/types/utils/copy.d.ts +1 -0
- package/types/utils/fileToURL.d.ts +1 -0
- package/types/utils/fillNBSP.d.ts +1 -0
- package/types/utils/getHighlightText.d.ts +1 -0
- package/types/utils/getHotkeyHandler.d.ts +1 -0
- package/types/utils/getStringLength.d.ts +1 -0
- package/types/utils/include.d.ts +1 -0
- package/types/utils/index.d.ts +29 -25
- package/types/utils/is.d.ts +1 -1
- package/types/utils/keyboardCode.d.ts +1 -0
- package/types/utils/math.d.ts +1 -0
- package/types/utils/mergeProps.d.ts +1 -0
- package/types/utils/mergedToString.d.ts +1 -0
- package/types/utils/names.d.ts +497 -81
- package/types/utils/omit.d.ts +1 -0
- package/types/utils/pick.d.ts +1 -1
- package/types/utils/reactTransitionGroup.d.ts +1 -0
- package/types/utils/responsiveObserve.d.ts +1 -0
- package/types/utils/saveAs.d.ts +1 -0
- package/types/utils/screenfull.d.ts +1 -0
- package/types/utils/scrollIntoView.d.ts +1 -0
- package/types/utils/tinycolor.d.ts +1 -0
- package/types/utils/tree.d.ts +1 -0
- package/types/utils/tween.d.ts +1 -0
- package/types/utils/uuid.d.ts +1 -0
- package/types/utils/validate.d.ts +1 -0
- package/types/version/index.d.ts +1 -1
- package/typography/Base.js +7 -6
- package/typography/EditContent.js +1 -1
- package/typography/Ellipsis.js +28 -28
- package/typography/Paragraph.js +6 -6
- package/typography/Typography.js +5 -5
- package/typography/index.js +28 -28
- package/upload/TriggerNode.js +2 -2
- package/upload/Upload.js +62 -60
- package/upload/Uploader.js +21 -21
- package/upload/request_.js +4 -3
- package/utils/PqbCSSTransition.js +5 -0
- package/utils/caseName.js +3 -2
- package/utils/className.js +3 -2
- package/utils/color.js +4 -0
- package/utils/computeScrollIntoView.js +128 -0
- package/utils/contextHolder.js +3 -2
- package/utils/copy.js +4 -2
- package/utils/fileToURL.js +3 -2
- package/utils/fillNBSP.js +2 -1
- package/utils/getHighlightText.js +2 -1
- package/utils/getHotkeyHandler.js +2 -1
- package/utils/getStringLength.js +2 -1
- package/utils/include.js +2 -1
- package/utils/index.js +299 -256
- package/utils/is.js +104 -101
- package/utils/keyboardCode.js +2 -1
- package/utils/math.js +35 -0
- package/utils/mergeProps.js +2 -1
- package/utils/mergedToString.js +2 -1
- package/utils/names.js +332 -81
- package/utils/omit.js +2 -1
- package/utils/pick.js +1 -0
- package/utils/react19Adapter.js +1 -1
- package/utils/reactDOM.js +1 -1
- package/utils/reactTransitionGroup.js +10 -0
- package/utils/responsiveObserve.js +2 -1
- package/utils/saveAs.js +3 -2
- package/utils/screenfull.js +2 -1
- package/utils/scrollIntoView.js +4 -2
- package/utils/tinycolor.js +30 -0
- package/utils/tree.js +87 -0
- package/utils/tween.js +6 -0
- package/utils/uuid.js +5 -0
- package/utils/validate.js +7 -0
- package/verification-code/VerificationCode.js +7 -7
- package/version/index.js +3 -3
- package/virtual-list/VirtualList.js +1 -1
- package/watermark/Watermark.js +6 -6
- package/chunk/B4JiMp8I.js +0 -764
- package/chunk/B6X4lnd0.js +0 -116
- package/chunk/BibHFOCF.js +0 -34
- package/chunk/CTxjmYmx.js +0 -19
- package/chunk/CVYWxu00.js +0 -155
- package/chunk/CbLaCJmG.js +0 -26
- package/chunk/D-TPB2Do.js +0 -56
- package/chunk/DVfOiRp-.js +0 -629
- package/chunk/DxxOUMSa.js +0 -98
- package/chunk/JPPo5nY_.js +0 -9
- package/types/utils/CSSTransition.d.ts +0 -2
- package/utils/CSSTransition.js +0 -4
package/input/Group.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
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/
|
|
4
|
-
import {
|
|
3
|
+
import { a as u } from "../chunk/Crs3isAx.js";
|
|
4
|
+
import { p as x } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
const d = f.forwardRef((o, s) => {
|
|
6
|
-
const { getPrefixCls: r } = l(u), { className: e, style: a, children:
|
|
6
|
+
const { getPrefixCls: r } = l(u), { className: e, style: a, children: p, compact: c, ...m } = o, t = r("input-group"), n = x(
|
|
7
7
|
t,
|
|
8
8
|
{
|
|
9
9
|
[`${t}-compact`]: c
|
|
10
10
|
},
|
|
11
11
|
e
|
|
12
12
|
);
|
|
13
|
-
return /* @__PURE__ */ i("div", { ref: s, className: n, style: a, ...
|
|
13
|
+
return /* @__PURE__ */ i("div", { ref: s, className: n, style: a, ...m, children: p });
|
|
14
14
|
});
|
|
15
15
|
d.displayName = "InputGroup";
|
|
16
16
|
export {
|
package/input/Input.js
CHANGED
|
@@ -3,10 +3,10 @@ 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/Crs3isAx.js";
|
|
7
7
|
import { u as Ee } from "../chunk/BFTV6myl.js";
|
|
8
|
-
import { u as he } from "../chunk/
|
|
9
|
-
import {
|
|
8
|
+
import { u as he } from "../chunk/DeV0v__J.js";
|
|
9
|
+
import { p as O } from "../chunk/CUFsOxJ2.js";
|
|
10
10
|
import { contains as Se } from "../utils/dom.js";
|
|
11
11
|
import Ge from "./Group.js";
|
|
12
12
|
import Ke from "./InputElement.js";
|
|
@@ -25,9 +25,10 @@ import tt from "../button/index.js";
|
|
|
25
25
|
import Re from "../input-tag/InputTag.js";
|
|
26
26
|
import nt from "@unicom-cloud/icons/IconUiClose";
|
|
27
27
|
import { u as rt } from "../chunk/B2yFlXke.js";
|
|
28
|
-
import "../chunk/
|
|
28
|
+
import "../chunk/DAAff-FT.js";
|
|
29
29
|
import ot from "./autoSizeTextAreaHeight.js";
|
|
30
30
|
import st from "./useComposition.js";
|
|
31
|
+
import "../chunk/C0pRaDCf.js";
|
|
31
32
|
import Pe from "lodash/isPlainObject.js";
|
|
32
33
|
import { r as at, d as it } from "../chunk/BrOW642m.js";
|
|
33
34
|
import { getDecimal as ne } from "../input-number/decimal.js";
|
package/input/InputElement.js
CHANGED
|
@@ -3,14 +3,14 @@ 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/
|
|
7
|
-
import {
|
|
6
|
+
import { I as ne } from "../chunk/Crs3isAx.js";
|
|
7
|
+
import { p as k } from "../chunk/CUFsOxJ2.js";
|
|
8
8
|
import { f as re } from "../chunk/CftuXmo_.js";
|
|
9
|
-
import "../chunk/
|
|
9
|
+
import "../chunk/DAAff-FT.js";
|
|
10
10
|
import { o as ie } from "../chunk/BKKEev13.js";
|
|
11
11
|
import { r as ae } from "../chunk/CIRG541s.js";
|
|
12
12
|
import se from "./useComposition.js";
|
|
13
|
-
import "../chunk/
|
|
13
|
+
import "../chunk/C0pRaDCf.js";
|
|
14
14
|
import h from "lodash/isPlainObject.js";
|
|
15
15
|
const le = 2, ue = (o) => {
|
|
16
16
|
if (!o)
|
package/input/Password.js
CHANGED
|
@@ -2,10 +2,10 @@ 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/Crs3isAx.js";
|
|
6
6
|
import "../chunk/XTEsYGuF.js";
|
|
7
|
-
import "../chunk/
|
|
8
|
-
import "../chunk/
|
|
7
|
+
import "../chunk/DeV0v__J.js";
|
|
8
|
+
import "../chunk/CUFsOxJ2.js";
|
|
9
9
|
import "../chunk/BKKEev13.js";
|
|
10
10
|
import { InputPassword as u } from "./Input.js";
|
|
11
11
|
export {
|
package/input/Search.js
CHANGED
|
@@ -4,9 +4,9 @@ import "@unicom-cloud/icons/IconUiSearch";
|
|
|
4
4
|
import "lodash/isPlainObject";
|
|
5
5
|
import "react";
|
|
6
6
|
import "../button/index.js";
|
|
7
|
-
import "../chunk/
|
|
8
|
-
import "../chunk/
|
|
9
|
-
import "../chunk/
|
|
7
|
+
import "../chunk/Crs3isAx.js";
|
|
8
|
+
import "../chunk/DeV0v__J.js";
|
|
9
|
+
import "../chunk/CUFsOxJ2.js";
|
|
10
10
|
import "../chunk/BKKEev13.js";
|
|
11
11
|
import { InputSearch as h } from "./Input.js";
|
|
12
12
|
export {
|
package/input/Textarea.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@unicom-cloud/icons/IconUiClose";
|
|
3
3
|
import "react";
|
|
4
|
-
import "../chunk/
|
|
4
|
+
import "../chunk/Crs3isAx.js";
|
|
5
5
|
import "../chunk/B2yFlXke.js";
|
|
6
|
-
import "../chunk/
|
|
7
|
-
import "../chunk/
|
|
8
|
-
import "../chunk/
|
|
6
|
+
import "../chunk/DeV0v__J.js";
|
|
7
|
+
import "../chunk/CUFsOxJ2.js";
|
|
8
|
+
import "../chunk/DAAff-FT.js";
|
|
9
9
|
import "../chunk/BKKEev13.js";
|
|
10
|
-
import { InputTextArea as
|
|
10
|
+
import { InputTextArea as A } from "./Input.js";
|
|
11
11
|
import "./autoSizeTextAreaHeight.js";
|
|
12
12
|
import "./useComposition.js";
|
|
13
|
+
import "../chunk/C0pRaDCf.js";
|
|
13
14
|
import "lodash/isPlainObject.js";
|
|
14
15
|
export {
|
|
15
|
-
|
|
16
|
+
A as default
|
|
16
17
|
};
|
package/input-number/index.js
CHANGED
|
@@ -5,10 +5,10 @@ import "@unicom-cloud/icons/IconUiPlus";
|
|
|
5
5
|
import "@unicom-cloud/icons/IconUiUp";
|
|
6
6
|
import "lodash/isNumber";
|
|
7
7
|
import "react";
|
|
8
|
-
import "../chunk/
|
|
8
|
+
import "../chunk/Crs3isAx.js";
|
|
9
9
|
import "../chunk/BFTV6myl.js";
|
|
10
10
|
import { InputNumber as I } from "../input/Input.js";
|
|
11
|
-
import "../chunk/
|
|
11
|
+
import "../chunk/CUFsOxJ2.js";
|
|
12
12
|
import "../chunk/BrOW642m.js";
|
|
13
13
|
import "../chunk/BKKEev13.js";
|
|
14
14
|
import "./decimal.js";
|
package/input-tag/InputTag.js
CHANGED
|
@@ -1,47 +1,49 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as c, jsxs as _, Fragment as Be } from "react/jsx-runtime";
|
|
2
2
|
import Ge from "@unicom-cloud/icons/IconUiClose";
|
|
3
|
-
import {
|
|
3
|
+
import { b as Ke } from "../chunk/BJ9_azwQ.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/Crs3isAx.js";
|
|
7
7
|
import tt from "../draggable/index.js";
|
|
8
8
|
import { u as ot } from "../chunk/BFTV6myl.js";
|
|
9
|
-
import { u as
|
|
9
|
+
import { u as ye } from "../chunk/DeV0v__J.js";
|
|
10
10
|
import at from "../input/InputElement.js";
|
|
11
11
|
import rt from "../overflow-ellipsis/index.js";
|
|
12
12
|
import nt from "../popover/index.js";
|
|
13
13
|
import st from "../tag/index.js";
|
|
14
|
-
import {
|
|
14
|
+
import { p as A } from "../chunk/CUFsOxJ2.js";
|
|
15
15
|
import { f as lt } from "../chunk/CftuXmo_.js";
|
|
16
|
-
import { g as
|
|
17
|
-
import "../chunk/
|
|
18
|
-
import { t as
|
|
16
|
+
import { g as it } from "../chunk/Dh7Osrvr.js";
|
|
17
|
+
import "../chunk/DAAff-FT.js";
|
|
18
|
+
import { t as ct } from "../chunk/BrOW642m.js";
|
|
19
19
|
import { o as ut } from "../chunk/BKKEev13.js";
|
|
20
|
+
import { P as Ie } from "../chunk/BpYX5PN4.js";
|
|
21
|
+
import "../chunk/C0pRaDCf.js";
|
|
20
22
|
import Pe from "lodash/isPlainObject.js";
|
|
21
23
|
const X = 300, pt = "responsive", ft = `__input_${Math.random().toFixed(10).slice(2)}`, $ = (s) => s == null, M = (s) => {
|
|
22
24
|
s.target.tagName !== "INPUT" && s.preventDefault();
|
|
23
|
-
}, Ne = (s) => $e(s) ? s.map((
|
|
24
|
-
...
|
|
25
|
-
label: "label" in
|
|
26
|
-
value:
|
|
27
|
-
closable:
|
|
25
|
+
}, Ne = (s) => $e(s) ? s.map((i) => Pe(i) ? {
|
|
26
|
+
...i,
|
|
27
|
+
label: "label" in i ? i.label : i.value,
|
|
28
|
+
value: i.value,
|
|
29
|
+
closable: i.closable
|
|
28
30
|
} : {
|
|
29
|
-
label:
|
|
30
|
-
value:
|
|
31
|
+
label: i,
|
|
32
|
+
value: i
|
|
31
33
|
}) : [], dt = (s) => {
|
|
32
|
-
const
|
|
34
|
+
const i = C(0), d = C(s.length);
|
|
33
35
|
return Qe(() => {
|
|
34
|
-
|
|
35
|
-
}, [s]),
|
|
36
|
+
i.current = s.length === 0 && d.current > 0 ? X : 0, d.current = s.length;
|
|
37
|
+
}, [s]), i;
|
|
36
38
|
}, Te = ({
|
|
37
39
|
prefixCls: s,
|
|
38
|
-
children:
|
|
40
|
+
children: i,
|
|
39
41
|
animation: d
|
|
40
|
-
}) => /* @__PURE__ */
|
|
42
|
+
}) => /* @__PURE__ */ c("div", { className: `${s}-inner`, children: d ? /* @__PURE__ */ c(Ke, { component: null, children: i }) : i }), mt = {
|
|
41
43
|
animation: !0,
|
|
42
|
-
validate: (s,
|
|
44
|
+
validate: (s, i) => s && i.every((d) => d.value !== s)
|
|
43
45
|
};
|
|
44
|
-
function gt(s,
|
|
46
|
+
function gt(s, i) {
|
|
45
47
|
const {
|
|
46
48
|
getPrefixCls: d,
|
|
47
49
|
size: Ve,
|
|
@@ -86,13 +88,13 @@ function gt(s, c) {
|
|
|
86
88
|
onClear: U,
|
|
87
89
|
onClick: re,
|
|
88
90
|
...ze
|
|
89
|
-
} = f, o = d("input-tag"), V = "size" in f ? f.size : Ve, y = typeof m == "object" ? m.count : m, I = C(), B = C(null), G = C(), [w, ne] = Xe(!1), [a, Oe] =
|
|
91
|
+
} = f, o = d("input-tag"), V = "size" in f ? f.size : Ve, y = typeof m == "object" ? m.count : m, I = C(), B = C(null), G = C(), [w, ne] = Xe(!1), [a, Oe] = ye([], {
|
|
90
92
|
defaultValue: "defaultValue" in f ? Ne(f.defaultValue) : void 0,
|
|
91
93
|
value: "value" in f ? Ne(f.value) : void 0
|
|
92
|
-
}), [N, S] =
|
|
94
|
+
}), [N, S] = ye("", {
|
|
93
95
|
value: f.inputValue
|
|
94
96
|
}), Fe = dt(a), je = !!(xe && !g && !h);
|
|
95
|
-
Ye(
|
|
97
|
+
Ye(i, () => {
|
|
96
98
|
var e, t;
|
|
97
99
|
return {
|
|
98
100
|
blur: (e = I.current) == null ? void 0 : e.blur,
|
|
@@ -107,10 +109,10 @@ function gt(s, c) {
|
|
|
107
109
|
[...a.slice(0, t), ...a.slice(t + 1)],
|
|
108
110
|
"remove"
|
|
109
111
|
);
|
|
110
|
-
}, He =
|
|
112
|
+
}, He = it(
|
|
111
113
|
/* @__PURE__ */ new Map([
|
|
112
114
|
[
|
|
113
|
-
|
|
115
|
+
ct.key,
|
|
114
116
|
(e) => {
|
|
115
117
|
if (!e.target.value && a.length)
|
|
116
118
|
for (let t = a.length - 1; t >= 0; t--) {
|
|
@@ -136,14 +138,14 @@ function gt(s, c) {
|
|
|
136
138
|
} catch (e) {
|
|
137
139
|
console.error(e);
|
|
138
140
|
}
|
|
139
|
-
},
|
|
141
|
+
}, ie = (e, t, r = !1) => {
|
|
140
142
|
const n = e.value;
|
|
141
143
|
let l = e.label, u = !g && !h && e.closable !== !1;
|
|
142
144
|
const p = typeof n == "object" ? t : n, v = (Ue) => {
|
|
143
145
|
se(e, t, Ue);
|
|
144
146
|
};
|
|
145
147
|
if (!r && typeof y == "number" && t >= y)
|
|
146
|
-
return t === a.length - 1 ? (l =
|
|
148
|
+
return t === a.length - 1 ? (l = ce(a.length - Number(y)), u = !1, { valueKey: p, dom: l }) : { valueKey: p, dom: null };
|
|
147
149
|
if (oe)
|
|
148
150
|
return {
|
|
149
151
|
valueKey: p,
|
|
@@ -172,20 +174,20 @@ function gt(s, c) {
|
|
|
172
174
|
}),
|
|
173
175
|
title: typeof l == "string" ? l : void 0
|
|
174
176
|
};
|
|
175
|
-
return { valueKey: p, dom: /* @__PURE__ */
|
|
177
|
+
return { valueKey: p, dom: /* @__PURE__ */ c(st, { ...Le }, `${p}-tag`) };
|
|
176
178
|
};
|
|
177
|
-
function
|
|
179
|
+
function ce(e) {
|
|
178
180
|
const t = typeof m == "object" && m.render ? m.render : () => /* @__PURE__ */ _("span", { className: `${o}-tag-ellipsis`, children: [
|
|
179
181
|
"+",
|
|
180
182
|
e
|
|
181
183
|
] }), r = Pe(m) && m.popoverProps;
|
|
182
|
-
return /* @__PURE__ */
|
|
184
|
+
return /* @__PURE__ */ c(
|
|
183
185
|
nt,
|
|
184
186
|
{
|
|
185
|
-
content: /* @__PURE__ */
|
|
187
|
+
content: /* @__PURE__ */ c(Be, { children: a.map((n, l) => ({ tagValue: n, tagIndex: l })).slice(-e).map(
|
|
186
188
|
({ tagValue: n, tagIndex: l }) => {
|
|
187
189
|
var u;
|
|
188
|
-
return (u =
|
|
190
|
+
return (u = ie(n, l, !0)) == null ? void 0 : u.dom;
|
|
189
191
|
}
|
|
190
192
|
) }),
|
|
191
193
|
...r || {},
|
|
@@ -212,7 +214,7 @@ function gt(s, c) {
|
|
|
212
214
|
), r.length && T(a.concat(r), "add");
|
|
213
215
|
}
|
|
214
216
|
}
|
|
215
|
-
}, pe = _e && !h && !g && a.length ? /* @__PURE__ */
|
|
217
|
+
}, pe = _e && !h && !g && a.length ? /* @__PURE__ */ c(
|
|
216
218
|
et,
|
|
217
219
|
{
|
|
218
220
|
size: V,
|
|
@@ -221,7 +223,7 @@ function gt(s, c) {
|
|
|
221
223
|
var t;
|
|
222
224
|
e.stopPropagation(), T([], "clear"), w || (t = I.current) == null || t.focus(), U == null || U();
|
|
223
225
|
},
|
|
224
|
-
children: b && b.clearIcon || /* @__PURE__ */
|
|
226
|
+
children: b && b.clearIcon || /* @__PURE__ */ c(Ge, {})
|
|
225
227
|
},
|
|
226
228
|
"clearIcon"
|
|
227
229
|
) : null, fe = h || Ee, K = Je(() => {
|
|
@@ -229,9 +231,9 @@ function gt(s, c) {
|
|
|
229
231
|
return a.map((r, n) => {
|
|
230
232
|
const l = e[r.value] || 0, u = l >= 1;
|
|
231
233
|
e[r.value] = l + 1;
|
|
232
|
-
const { dom: p, valueKey: v } =
|
|
233
|
-
return Ce.isValidElement(p) ? /* @__PURE__ */
|
|
234
|
-
|
|
234
|
+
const { dom: p, valueKey: v } = ie(r, n);
|
|
235
|
+
return Ce.isValidElement(p) ? /* @__PURE__ */ c(
|
|
236
|
+
Ie,
|
|
235
237
|
{
|
|
236
238
|
timeout: X,
|
|
237
239
|
classNames: "zoomIn",
|
|
@@ -241,12 +243,12 @@ function gt(s, c) {
|
|
|
241
243
|
) : p;
|
|
242
244
|
});
|
|
243
245
|
}, [a]), q = [
|
|
244
|
-
/* @__PURE__ */
|
|
245
|
-
|
|
246
|
+
/* @__PURE__ */ c(
|
|
247
|
+
Ie,
|
|
246
248
|
{
|
|
247
249
|
timeout: X,
|
|
248
250
|
classNames: "zoomIn",
|
|
249
|
-
children: /* @__PURE__ */
|
|
251
|
+
children: /* @__PURE__ */ c(
|
|
250
252
|
at,
|
|
251
253
|
{
|
|
252
254
|
autoComplete: "off",
|
|
@@ -294,7 +296,7 @@ function gt(s, c) {
|
|
|
294
296
|
[`${o}-has-suffix`]: de,
|
|
295
297
|
[`${o}-has-placeholder`]: !a.length,
|
|
296
298
|
[`${o}-rtl`]: Y
|
|
297
|
-
}), R = { style: Se, className: we }, be = /* @__PURE__ */
|
|
299
|
+
}), R = { style: Se, className: we }, be = /* @__PURE__ */ c(
|
|
298
300
|
"div",
|
|
299
301
|
{
|
|
300
302
|
...ut(ze, ["status", "size", "defaultValue", "value", "inputValue"]),
|
|
@@ -309,13 +311,13 @@ function gt(s, c) {
|
|
|
309
311
|
},
|
|
310
312
|
ref: D ? void 0 : G,
|
|
311
313
|
children: /* @__PURE__ */ _("div", { className: `${o}-view`, children: [
|
|
312
|
-
We && /* @__PURE__ */
|
|
313
|
-
je ? /* @__PURE__ */
|
|
314
|
+
We && /* @__PURE__ */ c("div", { className: `${o}-prefix`, onMouseDown: M, children: Q }),
|
|
315
|
+
je ? /* @__PURE__ */ c(
|
|
314
316
|
Te,
|
|
315
317
|
{
|
|
316
318
|
prefixCls: o,
|
|
317
319
|
animation: J,
|
|
318
|
-
children: /* @__PURE__ */
|
|
320
|
+
children: /* @__PURE__ */ c(
|
|
319
321
|
tt,
|
|
320
322
|
{
|
|
321
323
|
itemWrapperStyle: { display: "inline-block" },
|
|
@@ -332,17 +334,17 @@ function gt(s, c) {
|
|
|
332
334
|
)
|
|
333
335
|
},
|
|
334
336
|
"transitionGroupWithDrag"
|
|
335
|
-
) : /* @__PURE__ */
|
|
337
|
+
) : /* @__PURE__ */ c(
|
|
336
338
|
Te,
|
|
337
339
|
{
|
|
338
340
|
prefixCls: o,
|
|
339
341
|
animation: J,
|
|
340
|
-
children: y === pt ? /* @__PURE__ */
|
|
342
|
+
children: y === pt ? /* @__PURE__ */ c(
|
|
341
343
|
rt,
|
|
342
344
|
{
|
|
343
345
|
items: K,
|
|
344
346
|
suffixItems: q,
|
|
345
|
-
ellipsisNode: ({ ellipsisCount: e }) =>
|
|
347
|
+
ellipsisNode: ({ ellipsisCount: e }) => ce(e)
|
|
346
348
|
}
|
|
347
349
|
) : K.concat(q)
|
|
348
350
|
},
|
|
@@ -368,9 +370,9 @@ function gt(s, c) {
|
|
|
368
370
|
),
|
|
369
371
|
ref: G,
|
|
370
372
|
children: [
|
|
371
|
-
me && /* @__PURE__ */
|
|
373
|
+
me && /* @__PURE__ */ c("div", { className: `${o}-addbefore`, children: ee }),
|
|
372
374
|
be,
|
|
373
|
-
ge && /* @__PURE__ */
|
|
375
|
+
ge && /* @__PURE__ */ c("div", { className: `${o}-addafter`, children: te })
|
|
374
376
|
]
|
|
375
377
|
}
|
|
376
378
|
) : be;
|
package/layout/Content.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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/
|
|
4
|
-
import {
|
|
3
|
+
import { a as l } from "../chunk/Crs3isAx.js";
|
|
4
|
+
import { p } from "../chunk/CUFsOxJ2.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);
|
|
7
7
|
return /* @__PURE__ */ c("main", { ref: o, ...s, className: m, children: e });
|
package/layout/Footer.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as c, useContext as i } from "react";
|
|
3
|
-
import { a as l } from "../chunk/
|
|
4
|
-
import {
|
|
3
|
+
import { a as l } from "../chunk/Crs3isAx.js";
|
|
4
|
+
import { p } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
function u(o, t) {
|
|
6
|
-
const { className: e, children: r, ...s } = o, { getPrefixCls: a } = i(l),
|
|
7
|
-
return /* @__PURE__ */
|
|
6
|
+
const { className: e, children: r, ...s } = o, { getPrefixCls: a } = i(l), n = a("layout-footer"), f = p(n, e);
|
|
7
|
+
return /* @__PURE__ */ m("footer", { ref: t, ...s, className: f, children: r });
|
|
8
8
|
}
|
|
9
9
|
const x = c(u);
|
|
10
10
|
x.displayName = "LayoutFooter";
|
package/layout/Header.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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/
|
|
4
|
-
import {
|
|
3
|
+
import { a as d } from "../chunk/Crs3isAx.js";
|
|
4
|
+
import { p as l } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
function p(e, o) {
|
|
6
|
-
const { getPrefixCls: r } = i(d), { className: t, children: a, ...s } = e,
|
|
7
|
-
return /* @__PURE__ */ f("header", { ref: o, ...s, className:
|
|
6
|
+
const { getPrefixCls: r } = i(d), { className: t, children: a, ...s } = e, n = r("layout-header"), m = l(n, t);
|
|
7
|
+
return /* @__PURE__ */ f("header", { ref: o, ...s, className: m, children: a });
|
|
8
8
|
}
|
|
9
9
|
const u = c(p);
|
|
10
10
|
u.displayName = "LayoutHeader";
|
package/layout/Sider.js
CHANGED
|
@@ -4,11 +4,11 @@ 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/
|
|
8
|
-
import { u as se } from "../chunk/
|
|
7
|
+
import { a as ie } from "../chunk/Crs3isAx.js";
|
|
8
|
+
import { u as se } from "../chunk/DeV0v__J.js";
|
|
9
9
|
import oe from "../resize-box/index.js";
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
10
|
+
import { p as H } from "../chunk/CUFsOxJ2.js";
|
|
11
|
+
import { responsiveMap as ne, responsiveObserve as L } from "../utils/responsiveObserve.js";
|
|
12
12
|
const le = Y({
|
|
13
13
|
siderCollapsed: !1,
|
|
14
14
|
collapsedWidth: 64
|
package/layout/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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/Crs3isAx.js";
|
|
5
5
|
import { u as P } from "../chunk/BFTV6myl.js";
|
|
6
|
-
import {
|
|
6
|
+
import { p as R } from "../chunk/CUFsOxJ2.js";
|
|
7
7
|
import h from "./Content.js";
|
|
8
8
|
import w from "./Footer.js";
|
|
9
9
|
import M from "./Header.js";
|
package/link/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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/Crs3isAx.js";
|
|
5
5
|
import { u as w } from "../chunk/XTEsYGuF.js";
|
|
6
6
|
import { u as K } from "../chunk/BFTV6myl.js";
|
|
7
|
-
import {
|
|
7
|
+
import { p as N } from "../chunk/CUFsOxJ2.js";
|
|
8
8
|
const D = {
|
|
9
9
|
hoverable: !0
|
|
10
10
|
};
|
|
11
11
|
function E(f, m) {
|
|
12
|
-
const { getPrefixCls:
|
|
12
|
+
const { getPrefixCls: p, componentConfig: n, rtl: d } = L(P), o = K(
|
|
13
13
|
f,
|
|
14
14
|
D,
|
|
15
15
|
n == null ? void 0 : n.Link
|
|
@@ -22,7 +22,7 @@ function E(f, m) {
|
|
|
22
22
|
disabled: r,
|
|
23
23
|
hoverable: x,
|
|
24
24
|
...b
|
|
25
|
-
} = o, v = w({ onKeyDown: o.onKeyDown }), e =
|
|
25
|
+
} = o, v = w({ onKeyDown: o.onKeyDown }), e = p("link"), C = "href" in o ? "a" : "span", a = (t) => {
|
|
26
26
|
var l;
|
|
27
27
|
r ? (t.preventDefault(), t.stopPropagation()) : (l = o.onClick) == null || l.call(o, t);
|
|
28
28
|
};
|
|
@@ -36,7 +36,7 @@ function E(f, m) {
|
|
|
36
36
|
[`${e}-is-${i}`]: i,
|
|
37
37
|
[`${e}-with-icon`]: s,
|
|
38
38
|
[`${e}-hoverless`]: !x,
|
|
39
|
-
[`${e}-rtl`]:
|
|
39
|
+
[`${e}-rtl`]: d
|
|
40
40
|
},
|
|
41
41
|
u
|
|
42
42
|
),
|
package/list/Item.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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/Crs3isAx.js";
|
|
4
4
|
import { u as P } from "../chunk/BFTV6myl.js";
|
|
5
|
-
import {
|
|
5
|
+
import { p as R } from "../chunk/CUFsOxJ2.js";
|
|
6
6
|
import f from "./Meta.js";
|
|
7
7
|
const j = {
|
|
8
8
|
actionLayout: "horizontal"
|
package/list/Meta.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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/
|
|
4
|
-
import {
|
|
3
|
+
import { a as h } from "../chunk/Crs3isAx.js";
|
|
4
|
+
import { p as v } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
function x(r, n) {
|
|
6
|
-
const { getPrefixCls: c } = C(h), { className:
|
|
7
|
-
return /* @__PURE__ */ o("div", { ref: n, ...
|
|
6
|
+
const { getPrefixCls: c } = C(h), { className: l, avatar: i, title: e, description: s, ...m } = r, t = `${c("list")}-item-meta`, d = !!i, f = !!(e || s);
|
|
7
|
+
return /* @__PURE__ */ o("div", { ref: n, ...m, className: v(t, l), children: [
|
|
8
8
|
d && /* @__PURE__ */ a("div", { className: `${t}-avatar`, children: i }),
|
|
9
9
|
f && /* @__PURE__ */ o("div", { className: `${t}-content`, children: [
|
|
10
10
|
e && /* @__PURE__ */ a("div", { className: `${t}-title`, children: e }),
|
package/list/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
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/Crs3isAx.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";
|
|
8
8
|
import Tt from "../pagination/Pagination.js";
|
|
9
9
|
import Vt from "../spin/index.js";
|
|
10
|
-
import {
|
|
10
|
+
import { p as D } from "../chunk/CUFsOxJ2.js";
|
|
11
11
|
import { o as _t } from "../chunk/BKKEev13.js";
|
|
12
12
|
import { a as kt } from "../chunk/ClqoGc3r.js";
|
|
13
|
-
import { s as Bt } from "../chunk/
|
|
13
|
+
import { s as Bt } from "../chunk/Bmvhjhzq.js";
|
|
14
14
|
import Gt from "../virtual-list/VirtualList.js";
|
|
15
15
|
import Ot from "./Item.js";
|
|
16
16
|
const X = 10, Y = 1, Ut = ["small", "default", "large"], Wt = {
|
package/locale/en-US.js
CHANGED
package/locale/tr-TR.js
CHANGED
package/mentions/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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/Crs3isAx.js";
|
|
4
4
|
import { u as X } from "../chunk/BFTV6myl.js";
|
|
5
|
-
import { u as Y } from "../chunk/
|
|
5
|
+
import { u as Y } from "../chunk/DeV0v__J.js";
|
|
6
6
|
import Z from "../input/Input.js";
|
|
7
7
|
import _ from "../select/Select.js";
|
|
8
|
-
import {
|
|
8
|
+
import { p as ee } from "../chunk/CUFsOxJ2.js";
|
|
9
9
|
import { o as V, e as S, d as v, r as N } from "../chunk/BrOW642m.js";
|
|
10
10
|
import { getBeforeSelectionText as te, getLastMeasureIndex as re, isValidSearch as oe } from "./util.js";
|
|
11
11
|
const ne = Z.TextArea, se = [V.key, S.key, v.key, N.key], ie = {
|
package/menu/Item.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as k, jsx as o, Fragment as D } from "react/jsx-runtime";
|
|
2
|
-
import { p as F } from "../chunk/
|
|
2
|
+
import { p as F } from "../chunk/Coz3rCng.js";
|
|
3
3
|
import { forwardRef as O, useContext as j, useRef as B, useEffect as K } from "react";
|
|
4
4
|
import { u as U } from "../chunk/oopARUrq.js";
|
|
5
5
|
import z from "../tooltip/index.js";
|
|
6
|
-
import {
|
|
6
|
+
import { p as A } from "../chunk/CUFsOxJ2.js";
|
|
7
7
|
import { e as H } from "../chunk/BrOW642m.js";
|
|
8
8
|
import { o as x } from "../chunk/BKKEev13.js";
|
|
9
9
|
import V from "./Indent.js";
|
|
@@ -16,8 +16,8 @@ function G(T, p) {
|
|
|
16
16
|
level: m,
|
|
17
17
|
disabled: l,
|
|
18
18
|
className: _,
|
|
19
|
-
style:
|
|
20
|
-
wrapper:
|
|
19
|
+
style: $,
|
|
20
|
+
wrapper: S = "div",
|
|
21
21
|
onClick: c,
|
|
22
22
|
renderItemInTooltip: u,
|
|
23
23
|
...w
|
|
@@ -51,14 +51,14 @@ function G(T, p) {
|
|
|
51
51
|
const N = (e) => {
|
|
52
52
|
l || (a == null || a(f, e), c == null || c(e));
|
|
53
53
|
}, b = /* @__PURE__ */ k(
|
|
54
|
-
|
|
54
|
+
S,
|
|
55
55
|
{
|
|
56
56
|
tabIndex: l ? -1 : 0,
|
|
57
57
|
role: "menuitem",
|
|
58
58
|
ref: (e) => {
|
|
59
59
|
p = e, n.current = p;
|
|
60
60
|
},
|
|
61
|
-
style:
|
|
61
|
+
style: $,
|
|
62
62
|
className: A(
|
|
63
63
|
`${t}-item`,
|
|
64
64
|
{
|
package/menu/ItemGroup.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as f, useContext as h } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { p as v } from "../chunk/CUFsOxJ2.js";
|
|
4
4
|
import x from "./context.js";
|
|
5
5
|
import I from "./Indent.js";
|
|
6
6
|
import { processChildren as C } from "./util.js";
|