@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
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsxs as I, jsx as
|
|
1
|
+
import { jsxs as I, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import O from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { p as T } from "./CUFsOxJ2.js";
|
|
4
4
|
import { newArray as L } from "../utils/constant.js";
|
|
5
5
|
import { a as B, m as E, d as _ } from "./tamGhTJp.js";
|
|
6
6
|
import { padStart as q } from "../utils/pad.js";
|
|
@@ -18,7 +18,7 @@ function G(n) {
|
|
|
18
18
|
hoverRangeValues: o,
|
|
19
19
|
panel: i,
|
|
20
20
|
isSameTime: s,
|
|
21
|
-
innerMode:
|
|
21
|
+
innerMode: l
|
|
22
22
|
} = n;
|
|
23
23
|
function t(d, a, g) {
|
|
24
24
|
return !a || !g ? !1 : s(d, a) || s(d, g) || d.isBetween(a, g, null, "[]");
|
|
@@ -26,7 +26,7 @@ function G(n) {
|
|
|
26
26
|
return function(a, g) {
|
|
27
27
|
const c = x(y, 0), f = x(y, 1), u = x(o, 0), v = x(o, 1), N = !a.isPrev && !a.isNext, h = N && i, R = h && c && s(a.time, c), S = h && f && s(a.time, f), M = u && c && u.isBefore(c), C = f && v && v.isAfter(f), $ = M && R || C && S;
|
|
28
28
|
let r = s(a.time, B());
|
|
29
|
-
return !i &&
|
|
29
|
+
return !i && l === "year" && (r = B().isSame(a.time, "date")), T(`${e}-cell`, {
|
|
30
30
|
[`${e}-cell-in-view`]: N,
|
|
31
31
|
[`${e}-cell-today`]: r,
|
|
32
32
|
[`${e}-cell-selected`]: w && s(a.time, w),
|
|
@@ -69,16 +69,16 @@ function K(n, e) {
|
|
|
69
69
|
isCurrent: t < o.days,
|
|
70
70
|
isNext: t >= o.days - 1
|
|
71
71
|
};
|
|
72
|
-
const
|
|
72
|
+
const l = L(6).map((t, d, a) => []);
|
|
73
73
|
for (let t = 0; t < 6; t++)
|
|
74
|
-
if (
|
|
75
|
-
const d =
|
|
76
|
-
|
|
74
|
+
if (l[t] = i.slice(t * 7, 7 * (t + 1)), y) {
|
|
75
|
+
const d = l[t][0].time, a = [...l[t]];
|
|
76
|
+
l[t].unshift({
|
|
77
77
|
weekRows: a,
|
|
78
78
|
weekOfYear: d.week()
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
|
-
return
|
|
81
|
+
return l;
|
|
82
82
|
}
|
|
83
83
|
function te(n) {
|
|
84
84
|
const {
|
|
@@ -88,7 +88,7 @@ function te(n) {
|
|
|
88
88
|
pageData: o,
|
|
89
89
|
mergedValue: i,
|
|
90
90
|
isWeek: s,
|
|
91
|
-
disabledDate:
|
|
91
|
+
disabledDate: l,
|
|
92
92
|
selectHandler: t,
|
|
93
93
|
panel: d,
|
|
94
94
|
innerMode: a,
|
|
@@ -106,8 +106,8 @@ function te(n) {
|
|
|
106
106
|
function M($) {
|
|
107
107
|
return $.map((r, V) => {
|
|
108
108
|
if (r.time) {
|
|
109
|
-
const k = typeof
|
|
110
|
-
return /* @__PURE__ */
|
|
109
|
+
const k = typeof l == "function" && l(r.time), A = () => t(r.time, k), P = s ? { onClick: A } : {}, p = s ? {} : { onClick: A };
|
|
110
|
+
return /* @__PURE__ */ m(
|
|
111
111
|
"div",
|
|
112
112
|
{
|
|
113
113
|
className: S(r, k),
|
|
@@ -118,8 +118,8 @@ function te(n) {
|
|
|
118
118
|
g(r.time),
|
|
119
119
|
p
|
|
120
120
|
) : /* @__PURE__ */ I("div", { className: `${e}-date`, ...p, children: [
|
|
121
|
-
/* @__PURE__ */
|
|
122
|
-
!d && a !== "year" && /* @__PURE__ */
|
|
121
|
+
/* @__PURE__ */ m("div", { className: `${e}-date-value`, children: d ? r.date : /* @__PURE__ */ m("div", { className: `${e}-date-circle`, children: r.date }) }),
|
|
122
|
+
!d && a !== "year" && /* @__PURE__ */ m("div", { className: `${e}-date-content`, children: u == null ? void 0 : u(r.time) })
|
|
123
123
|
] })
|
|
124
124
|
},
|
|
125
125
|
V
|
|
@@ -129,14 +129,14 @@ function te(n) {
|
|
|
129
129
|
const k = i && i.year(), A = i && i.month() + 1, P = i && i.week(), p = i && r.weekRows.find(
|
|
130
130
|
(Y) => Y.year === k && Y.month === A
|
|
131
131
|
) && P === r.weekOfYear;
|
|
132
|
-
return /* @__PURE__ */
|
|
132
|
+
return /* @__PURE__ */ m(
|
|
133
133
|
"div",
|
|
134
134
|
{
|
|
135
135
|
className: T(`${e}-cell`, `${e}-cell-week`, {
|
|
136
136
|
[`${e}-cell-selected-week`]: p,
|
|
137
137
|
[`${e}-cell-in-range`]: p
|
|
138
138
|
}),
|
|
139
|
-
children: /* @__PURE__ */
|
|
139
|
+
children: /* @__PURE__ */ m("div", { className: `${e}-date`, children: /* @__PURE__ */ m("div", { className: `${e}-date-value`, children: r.weekOfYear }) })
|
|
140
140
|
},
|
|
141
141
|
V
|
|
142
142
|
);
|
|
@@ -148,7 +148,7 @@ function te(n) {
|
|
|
148
148
|
n,
|
|
149
149
|
_(`${R}-${q(y + 1, 2, "0")}-01`)
|
|
150
150
|
)), /* @__PURE__ */ I("div", { className: w ? `${e}-month-cell` : `${e}-month`, children: [
|
|
151
|
-
/* @__PURE__ */
|
|
151
|
+
/* @__PURE__ */ m(
|
|
152
152
|
z,
|
|
153
153
|
{
|
|
154
154
|
prefixCls: e,
|
|
@@ -159,7 +159,7 @@ function te(n) {
|
|
|
159
159
|
innerMode: a
|
|
160
160
|
}
|
|
161
161
|
),
|
|
162
|
-
/* @__PURE__ */
|
|
162
|
+
/* @__PURE__ */ m("div", { className: `${e}-month-cell-body`, children: C.map(($, r) => /* @__PURE__ */ m(
|
|
163
163
|
"div",
|
|
164
164
|
{
|
|
165
165
|
className: T(`${e}-month-row`, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import x from "lodash/isPlainObject";
|
|
2
2
|
import { useRef as b, useState as l, useEffect as R, useMemo as S } from "react";
|
|
3
|
-
import c,
|
|
3
|
+
import { responsiveObserve as c, responsiveArray as f } from "../utils/responsiveObserve.js";
|
|
4
4
|
function m(e) {
|
|
5
5
|
return x(e);
|
|
6
6
|
}
|
package/collapse/Collapse.js
CHANGED
|
@@ -3,12 +3,12 @@ import "@unicom-cloud/icons/IconUiCaretLeft";
|
|
|
3
3
|
import "@unicom-cloud/icons/IconUiCaretRight";
|
|
4
4
|
import "lodash/isFunction";
|
|
5
5
|
import "react";
|
|
6
|
-
import "../chunk/
|
|
6
|
+
import "../chunk/Crs3isAx.js";
|
|
7
7
|
import "../chunk/BFTV6myl.js";
|
|
8
|
-
import "../chunk/
|
|
9
|
-
import "../chunk/
|
|
8
|
+
import "../chunk/DeV0v__J.js";
|
|
9
|
+
import "../chunk/CUFsOxJ2.js";
|
|
10
10
|
import "../chunk/BKKEev13.js";
|
|
11
|
-
import { a as x, C as d } from "../chunk/
|
|
11
|
+
import { a as x, C as d } from "../chunk/9we0Q8Kh.js";
|
|
12
12
|
export {
|
|
13
13
|
x as CollapseContext,
|
|
14
14
|
d as default
|
package/collapse/Item.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../chunk/
|
|
2
|
+
import "../chunk/BJ9_azwQ.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import "../chunk/
|
|
4
|
+
import "../chunk/Crs3isAx.js";
|
|
5
5
|
import "../chunk/XTEsYGuF.js";
|
|
6
|
-
import "../chunk/
|
|
6
|
+
import "../chunk/CUFsOxJ2.js";
|
|
7
7
|
import "../utils/dom.js";
|
|
8
|
-
import { I as d } from "../chunk/
|
|
8
|
+
import { I as d } from "../chunk/9we0Q8Kh.js";
|
|
9
9
|
export {
|
|
10
10
|
d as default
|
|
11
11
|
};
|
package/collapse/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as b } from "react";
|
|
3
|
-
import { a as l } from "../chunk/
|
|
4
|
-
import {
|
|
3
|
+
import { a as l } from "../chunk/Crs3isAx.js";
|
|
4
|
+
import { p as B } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
import { u as R } from "../chunk/k-OUstoD.js";
|
|
6
6
|
const P = ({
|
|
7
7
|
className: p,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as i } from "react";
|
|
3
|
-
import { a as p } from "../chunk/
|
|
3
|
+
import { a as p } from "../chunk/Crs3isAx.js";
|
|
4
4
|
import { InputNumber as s } from "../input/Input.js";
|
|
5
5
|
const l = ({ value: o, onChange: t }) => {
|
|
6
6
|
const { getPrefixCls: n } = i(p), r = n("color-picker");
|
package/color-picker/InputHex.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as v, jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { a as c } from "../chunk/CWjvjpyc.js";
|
|
3
3
|
import { useContext as I, useState as j, useEffect as D } from "react";
|
|
4
|
-
import { a as E } from "../chunk/
|
|
4
|
+
import { a as E } from "../chunk/Crs3isAx.js";
|
|
5
5
|
import f from "../input/Input.js";
|
|
6
6
|
import { InputAlpha as H } from "./InputAlpha.js";
|
|
7
7
|
const N = ({
|
|
@@ -11,14 +11,14 @@ const N = ({
|
|
|
11
11
|
onAlphaChange: h,
|
|
12
12
|
disabledAlpha: l
|
|
13
13
|
}) => {
|
|
14
|
-
const { getPrefixCls: g } = I(E), s = g("color-picker"), [o,
|
|
14
|
+
const { getPrefixCls: g } = I(E), s = g("color-picker"), [o, a] = j(n.hex);
|
|
15
15
|
D(() => {
|
|
16
|
-
n.hex !== o &&
|
|
16
|
+
n.hex !== o && a(n.hex);
|
|
17
17
|
}, [n]);
|
|
18
|
-
const
|
|
18
|
+
const r = (e) => {
|
|
19
19
|
var p;
|
|
20
20
|
const t = ((p = e.match(/[a-fA-F0-9]*/g)) == null ? void 0 : p.join("")) ?? "";
|
|
21
|
-
t !== o &&
|
|
21
|
+
t !== o && a(t.toUpperCase());
|
|
22
22
|
}, i = () => {
|
|
23
23
|
let e = new c(o);
|
|
24
24
|
e.ok || (e = new c({
|
|
@@ -30,7 +30,7 @@ const N = ({
|
|
|
30
30
|
x(t);
|
|
31
31
|
}, C = (e) => {
|
|
32
32
|
let t = e.clipboardData.getData("Text");
|
|
33
|
-
t.startsWith("#") && (t = t.slice(1)),
|
|
33
|
+
t.startsWith("#") && (t = t.slice(1)), r(t), e.preventDefault();
|
|
34
34
|
};
|
|
35
35
|
return /* @__PURE__ */ v(f.Group, { className: `${s}-input-group`, compact: !0, children: [
|
|
36
36
|
/* @__PURE__ */ m(
|
|
@@ -41,7 +41,7 @@ const N = ({
|
|
|
41
41
|
size: "mini",
|
|
42
42
|
maxLength: 6,
|
|
43
43
|
value: o,
|
|
44
|
-
onChange:
|
|
44
|
+
onChange: r,
|
|
45
45
|
onBlur: i,
|
|
46
46
|
onPressEnter: i,
|
|
47
47
|
onPaste: C
|
package/color-picker/InputRgb.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as h, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { a as x } from "../chunk/CWjvjpyc.js";
|
|
3
3
|
import { useContext as f } from "react";
|
|
4
|
-
import { a as b } from "../chunk/
|
|
4
|
+
import { a as b } from "../chunk/Crs3isAx.js";
|
|
5
5
|
import I, { InputNumber as m } from "../input/Input.js";
|
|
6
6
|
import { InputAlpha as d } from "./InputAlpha.js";
|
|
7
7
|
const E = ({
|
|
8
8
|
color: s,
|
|
9
9
|
alpha: p,
|
|
10
|
-
onHsvChange:
|
|
11
|
-
onAlphaChange:
|
|
10
|
+
onHsvChange: a,
|
|
11
|
+
onAlphaChange: u,
|
|
12
12
|
disabledAlpha: c
|
|
13
13
|
}) => {
|
|
14
14
|
const { getPrefixCls: g } = f(b), C = g("color-picker"), t = (n) => {
|
|
@@ -17,7 +17,7 @@ const E = ({
|
|
|
17
17
|
g: n.g,
|
|
18
18
|
b: n.b
|
|
19
19
|
}).toHsv_();
|
|
20
|
-
|
|
20
|
+
a(l);
|
|
21
21
|
}, { r, g: e, b: i } = s.rgb;
|
|
22
22
|
return /* @__PURE__ */ h(I.Group, { className: `${C}-input-group`, compact: !0, children: [
|
|
23
23
|
/* @__PURE__ */ o(
|
|
@@ -53,7 +53,7 @@ const E = ({
|
|
|
53
53
|
onChange: (n) => t({ r, g: e, b: n })
|
|
54
54
|
}
|
|
55
55
|
),
|
|
56
|
-
!c && /* @__PURE__ */ o(d, { value: p, onChange:
|
|
56
|
+
!c && /* @__PURE__ */ o(d, { value: p, onChange: u })
|
|
57
57
|
] });
|
|
58
58
|
};
|
|
59
59
|
export {
|
package/color-picker/Palette.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { a as C } from "../chunk/CWjvjpyc.js";
|
|
3
3
|
import { useContext as d, useMemo as h } from "react";
|
|
4
|
-
import { a as g } from "../chunk/
|
|
4
|
+
import { a as g } from "../chunk/Crs3isAx.js";
|
|
5
5
|
import { u as x } from "../chunk/k-OUstoD.js";
|
|
6
6
|
const w = ({ color: l, onChange: c }) => {
|
|
7
7
|
const { getPrefixCls: a } = d(g), e = a("color-picker"), { h: r, s: t, v: n } = l.hsv, { blockRef: f, handlerRef: i, onMouseDown: m } = x({
|
package/color-picker/Panel.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { useContext as
|
|
4
|
-
import { a as dr } from "../chunk/
|
|
5
|
-
import { R as x } from "../chunk/
|
|
2
|
+
import { a as d } from "../chunk/CWjvjpyc.js";
|
|
3
|
+
import { useContext as ar, useState as ir, useMemo as sr } from "react";
|
|
4
|
+
import { a as dr } from "../chunk/Crs3isAx.js";
|
|
5
|
+
import { R as x } from "../chunk/BDZpJpz-.js";
|
|
6
6
|
import mr from "../select/Select.js";
|
|
7
7
|
import X from "../tooltip/index.js";
|
|
8
|
-
import {
|
|
8
|
+
import { p as ur } from "../chunk/CUFsOxJ2.js";
|
|
9
9
|
import { ControlBar as y } from "./ControlBar.js";
|
|
10
10
|
import { InputHex as pr } from "./InputHex.js";
|
|
11
11
|
import { InputRgb as gr } from "./InputRgb.js";
|
|
@@ -20,7 +20,7 @@ const hr = x.Group, zr = ({
|
|
|
20
20
|
gradientColors: m,
|
|
21
21
|
activeColorId: K,
|
|
22
22
|
activeColorIdRef: L,
|
|
23
|
-
color:
|
|
23
|
+
color: i,
|
|
24
24
|
alpha: u,
|
|
25
25
|
disabledAlpha: k,
|
|
26
26
|
historyColors: C,
|
|
@@ -37,10 +37,10 @@ const hr = x.Group, zr = ({
|
|
|
37
37
|
onGradientColorsChange: j,
|
|
38
38
|
onActiveColorIdChange: z
|
|
39
39
|
}) => {
|
|
40
|
-
const { getPrefixCls: Q, locale: f } =
|
|
40
|
+
const { getPrefixCls: Q, locale: f } = ar(dr), r = Q("color-picker"), [T, U] = ir("hex"), v = sr(() => {
|
|
41
41
|
const n = new Set(C ?? []);
|
|
42
42
|
return Array.from(n);
|
|
43
|
-
}, [C]), { h: E, s: V, v: W } =
|
|
43
|
+
}, [C]), { h: E, s: V, v: W } = i.hsv, { r: b, g: h, b: $ } = i.rgb, Y = (n) => {
|
|
44
44
|
let c = new d(n);
|
|
45
45
|
c.ok || (c = new d({
|
|
46
46
|
r: 255,
|
|
@@ -72,10 +72,10 @@ const hr = x.Group, zr = ({
|
|
|
72
72
|
));
|
|
73
73
|
}, rr = () => {
|
|
74
74
|
const n = (t) => {
|
|
75
|
-
const o = Math.round(t * 100),
|
|
76
|
-
j(w), z(
|
|
75
|
+
const o = Math.round(t * 100), a = br(m, o), w = F(m.concat(a));
|
|
76
|
+
j(w), z(a.id), s(a.color.hsv), g(a.alpha);
|
|
77
77
|
}, c = (t) => {
|
|
78
|
-
const o = m.find((
|
|
78
|
+
const o = m.find((a) => a.id === t);
|
|
79
79
|
z(t), s(o.color.hsv), g(o.alpha);
|
|
80
80
|
};
|
|
81
81
|
return /* @__PURE__ */ e("div", { className: `${r}-control-bar-gradient`, children: /* @__PURE__ */ e(
|
|
@@ -98,12 +98,12 @@ const hr = x.Group, zr = ({
|
|
|
98
98
|
renderHandlerCenterStyle: (t) => {
|
|
99
99
|
const {
|
|
100
100
|
color: {
|
|
101
|
-
rgb: { r: o, g:
|
|
101
|
+
rgb: { r: o, g: a, b: w }
|
|
102
102
|
},
|
|
103
103
|
alpha: lr
|
|
104
104
|
} = m.find((cr) => cr.id === t);
|
|
105
105
|
return {
|
|
106
|
-
background: new d({ r: o, g:
|
|
106
|
+
background: new d({ r: o, g: a, b: w, a: lr }).toRgbaString()
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
109
|
}
|
|
@@ -111,7 +111,7 @@ const hr = x.Group, zr = ({
|
|
|
111
111
|
}, er = () => T === "rgb" ? /* @__PURE__ */ e(
|
|
112
112
|
gr,
|
|
113
113
|
{
|
|
114
|
-
color:
|
|
114
|
+
color: i,
|
|
115
115
|
alpha: u,
|
|
116
116
|
onHsvChange: s,
|
|
117
117
|
onAlphaChange: g,
|
|
@@ -120,7 +120,7 @@ const hr = x.Group, zr = ({
|
|
|
120
120
|
) : /* @__PURE__ */ e(
|
|
121
121
|
pr,
|
|
122
122
|
{
|
|
123
|
-
color:
|
|
123
|
+
color: i,
|
|
124
124
|
alpha: u,
|
|
125
125
|
onHsvChange: s,
|
|
126
126
|
onAlphaChange: g,
|
|
@@ -168,7 +168,7 @@ const hr = x.Group, zr = ({
|
|
|
168
168
|
/* @__PURE__ */ e(
|
|
169
169
|
fr,
|
|
170
170
|
{
|
|
171
|
-
color:
|
|
171
|
+
color: i,
|
|
172
172
|
onChange: (n, c) => {
|
|
173
173
|
s({ h: E, s: n, v: c });
|
|
174
174
|
}
|
|
@@ -211,7 +211,7 @@ const hr = x.Group, zr = ({
|
|
|
211
211
|
}
|
|
212
212
|
) })
|
|
213
213
|
] }),
|
|
214
|
-
/* @__PURE__ */ e(X, { mini: !0, content:
|
|
214
|
+
/* @__PURE__ */ e(X, { mini: !0, content: i.hex8String, color: i.string, children: /* @__PURE__ */ e(
|
|
215
215
|
"div",
|
|
216
216
|
{
|
|
217
217
|
className: `${r}-preview`,
|
package/color-picker/colors.js
CHANGED
|
@@ -1,13 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
new o("#eee");
|
|
1
|
+
import { a as l, P as t } from "../chunk/CWjvjpyc.js";
|
|
2
|
+
new l("#eee");
|
|
4
3
|
const i = [
|
|
5
|
-
Object.entries(
|
|
6
|
-
Object.entries(
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
Object.entries(t.colors).map(([o, e], r, a) => t.palette({ color: e, level: 4 })),
|
|
5
|
+
Object.entries(t.colors).map(([o, e], r, a) => e)
|
|
6
|
+
// Object.entries(uiColor.colors).map(([k, v], i, a) => {
|
|
7
|
+
// return uiColor.paletteDark({ color: v });
|
|
8
|
+
// }),
|
|
9
|
+
// Object.entries(uiColor.colors).map(([k, v], i, a) => {
|
|
10
|
+
// return uiColor.generate({
|
|
11
|
+
// color: v,
|
|
12
|
+
// });
|
|
13
|
+
// }),
|
|
14
|
+
// Object.entries(uiColor.colors).map(([k, v], i, a) => {
|
|
15
|
+
// return uiColor.generateDark({
|
|
16
|
+
// color: v,
|
|
17
|
+
// });
|
|
18
|
+
// }),
|
|
19
|
+
// new Array(13).fill('').map((v, i, a) => {
|
|
20
|
+
// return tinyColor.darken(i * 8).toHexString();
|
|
21
|
+
// }),
|
|
11
22
|
// '#00B42A',
|
|
12
23
|
// '#3C7EFF',
|
|
13
24
|
// '#FF7D00',
|
package/color-picker/index.js
CHANGED
|
@@ -2,15 +2,15 @@ import { jsx as P, jsxs as K } from "react/jsx-runtime";
|
|
|
2
2
|
import te from "lodash/isFunction";
|
|
3
3
|
import ne from "lodash/isNil";
|
|
4
4
|
import ie, { useState as k, useRef as L, useMemo as q, useCallback as Q, useEffect as D, useContext as se } from "react";
|
|
5
|
-
import { a as ae } from "../chunk/
|
|
5
|
+
import { a as ae } from "../chunk/Crs3isAx.js";
|
|
6
6
|
import le from "../copy/index.js";
|
|
7
7
|
import { u as ce } from "../chunk/BFTV6myl.js";
|
|
8
8
|
import de from "../trigger/index.js";
|
|
9
|
-
import {
|
|
10
|
-
import { colors as
|
|
11
|
-
import {
|
|
12
|
-
import { u as
|
|
13
|
-
import { u as W } from "../chunk/
|
|
9
|
+
import { p as ue } from "../chunk/CUFsOxJ2.js";
|
|
10
|
+
import { colors as fe } from "./colors.js";
|
|
11
|
+
import { a as U } from "../chunk/CWjvjpyc.js";
|
|
12
|
+
import { u as me } from "../chunk/oopARUrq.js";
|
|
13
|
+
import { u as W } from "../chunk/DeV0v__J.js";
|
|
14
14
|
import { ColorPickerMode as w } from "./interface.js";
|
|
15
15
|
import { getModeByValue as ge, isGradientMode as J, isSingleMode as pe } from "./Mode.js";
|
|
16
16
|
import { mapValueToGradientColor as Ce, getColorFromHsv as X, formatRgba as ve, formatHex as he, isEqualsColors as Ae, equalsHsv as be, getRandomId as Y, getGradientString as ye, renderBackground as xe } from "./utils.js";
|
|
@@ -23,7 +23,7 @@ const Ve = (r) => {
|
|
|
23
23
|
format: C,
|
|
24
24
|
onChange: b,
|
|
25
25
|
disabledAlpha: u
|
|
26
|
-
} = r, E =
|
|
26
|
+
} = r, E = me(), [y, M] = W(!1, {
|
|
27
27
|
defaultValue: r.defaultPopupVisible,
|
|
28
28
|
value: r.popupVisible
|
|
29
29
|
}), [l, v] = k(
|
|
@@ -46,11 +46,11 @@ const Ve = (r) => {
|
|
|
46
46
|
(o) => o.id === s
|
|
47
47
|
);
|
|
48
48
|
return e !== -1 ? e : 0;
|
|
49
|
-
}, [t, s]),
|
|
50
|
-
h:
|
|
51
|
-
s:
|
|
52
|
-
v:
|
|
53
|
-
}), [a, I] = k(
|
|
49
|
+
}, [t, s]), f = Array.isArray(i) ? new U(i[c].color).toHsv_() : new U(i).toHsv_(), [m, H] = k({
|
|
50
|
+
h: f.h,
|
|
51
|
+
s: f.s,
|
|
52
|
+
v: f.v
|
|
53
|
+
}), [a, I] = k(f.a), g = q(() => X(m), [m]), V = Q(
|
|
54
54
|
(e, o, d, A) => C === "rgb" ? ve(e, o, d, A) : he(e, o, d, A),
|
|
55
55
|
[C]
|
|
56
56
|
), p = q(() => {
|
|
@@ -73,7 +73,7 @@ const Ve = (r) => {
|
|
|
73
73
|
(e) => {
|
|
74
74
|
var o;
|
|
75
75
|
if (e && i !== p) {
|
|
76
|
-
const { h: d, s: A, v: oe, a: re } =
|
|
76
|
+
const { h: d, s: A, v: oe, a: re } = f;
|
|
77
77
|
H({ h: d, s: A, v: oe }), I(re);
|
|
78
78
|
}
|
|
79
79
|
e !== y && ((o = r.onVisibleChange) == null || o.call(r, e), "popupVisible" in r || M(e));
|
|
@@ -85,13 +85,13 @@ const Ve = (r) => {
|
|
|
85
85
|
I(e);
|
|
86
86
|
};
|
|
87
87
|
return D(() => {
|
|
88
|
-
if (!J(l) || !t.length || be(t[c].color.hsv,
|
|
88
|
+
if (!J(l) || !t.length || be(t[c].color.hsv, m)) return;
|
|
89
89
|
const e = [...t];
|
|
90
90
|
e[c] = {
|
|
91
91
|
...e[c],
|
|
92
|
-
color: X(
|
|
92
|
+
color: X(m)
|
|
93
93
|
}, n(e);
|
|
94
|
-
}, [
|
|
94
|
+
}, [m]), D(() => {
|
|
95
95
|
if (!J(l) || !t.length || t[c].alpha === a) return;
|
|
96
96
|
const e = [...t];
|
|
97
97
|
e[c] = {
|
|
@@ -133,7 +133,7 @@ const Ve = (r) => {
|
|
|
133
133
|
};
|
|
134
134
|
}, Z = {
|
|
135
135
|
size: "default",
|
|
136
|
-
presetColors:
|
|
136
|
+
presetColors: fe
|
|
137
137
|
};
|
|
138
138
|
function Pe(r, N) {
|
|
139
139
|
const {
|
|
@@ -163,8 +163,8 @@ function Pe(r, N) {
|
|
|
163
163
|
value: n,
|
|
164
164
|
activeMode: R,
|
|
165
165
|
gradientColors: c,
|
|
166
|
-
activeColorId:
|
|
167
|
-
activeColorIdRef:
|
|
166
|
+
activeColorId: f,
|
|
167
|
+
activeColorIdRef: m,
|
|
168
168
|
popupVisible: H,
|
|
169
169
|
color: a,
|
|
170
170
|
alpha: I,
|
|
@@ -185,8 +185,8 @@ function Pe(r, N) {
|
|
|
185
185
|
mode: l,
|
|
186
186
|
activeMode: R,
|
|
187
187
|
gradientColors: c,
|
|
188
|
-
activeColorId:
|
|
189
|
-
activeColorIdRef:
|
|
188
|
+
activeColorId: f,
|
|
189
|
+
activeColorIdRef: m,
|
|
190
190
|
color: a,
|
|
191
191
|
alpha: I,
|
|
192
192
|
historyColors: _,
|
package/color-picker/utils.js
CHANGED
package/comment/index.js
CHANGED
|
@@ -2,9 +2,9 @@ import { jsxs as n, jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import g from "lodash/isPlainObject";
|
|
3
3
|
import N from "lodash/isString";
|
|
4
4
|
import { forwardRef as u, useContext as v } from "react";
|
|
5
|
-
import { a as C } from "../chunk/
|
|
5
|
+
import { a as C } from "../chunk/Crs3isAx.js";
|
|
6
6
|
import { u as x } from "../chunk/BFTV6myl.js";
|
|
7
|
-
import {
|
|
7
|
+
import { p as d } from "../chunk/CUFsOxJ2.js";
|
|
8
8
|
import { a as P } from "../chunk/ClqoGc3r.js";
|
|
9
9
|
const j = {
|
|
10
10
|
datetime: "left",
|
|
@@ -17,7 +17,7 @@ function b(f, p) {
|
|
|
17
17
|
f,
|
|
18
18
|
y,
|
|
19
19
|
s == null ? void 0 : s.Comment
|
|
20
|
-
), t = $("comment"), { actions:
|
|
20
|
+
), t = $("comment"), { actions: o, author: r, avatar: i, content: m, datetime: l } = e, c = {
|
|
21
21
|
...j,
|
|
22
22
|
...g(e.align) ? e.align : {
|
|
23
23
|
datetime: e.align,
|
|
@@ -49,12 +49,12 @@ function b(f, p) {
|
|
|
49
49
|
]
|
|
50
50
|
}
|
|
51
51
|
),
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
m && /* @__PURE__ */ a("div", { className: `${t}-content`, children: m }),
|
|
53
|
+
o && /* @__PURE__ */ a(
|
|
54
54
|
"div",
|
|
55
55
|
{
|
|
56
56
|
className: `${t}-actions ${t}-actions-align-${c.actions}`,
|
|
57
|
-
children:
|
|
57
|
+
children: o
|
|
58
58
|
}
|
|
59
59
|
)
|
|
60
60
|
] }),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@unicom-cloud/icons/context";
|
|
3
|
-
import "../chunk/
|
|
3
|
+
import "../chunk/CWjvjpyc.js";
|
|
4
4
|
import "lodash/isPlainObject";
|
|
5
5
|
import "react";
|
|
6
6
|
import "../chunk/BFTV6myl.js";
|
|
7
|
-
import { C as f, a as n, e as g, b as l } from "../chunk/
|
|
7
|
+
import { C as f, a as n, e as g, b as l } from "../chunk/Crs3isAx.js";
|
|
8
8
|
import "../modal/config.js";
|
|
9
9
|
import "../chunk/BKKEev13.js";
|
|
10
10
|
export {
|
package/config-provider/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as r } from "../chunk/
|
|
2
|
-
import { C as s, a as f, e as t } from "../chunk/
|
|
1
|
+
import { b as r } from "../chunk/Crs3isAx.js";
|
|
2
|
+
import { C as s, a as f, e as t } from "../chunk/Crs3isAx.js";
|
|
3
3
|
export {
|
|
4
4
|
s as ConfigConsumer,
|
|
5
5
|
f as ConfigContext,
|