@unicom-cloud/ui 0.8.75 → 0.8.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Affix.js +1 -1
- package/Alert.js +1 -1
- package/AutoComplete.js +1 -1
- package/BackTop.js +1 -1
- package/Badge.js +1 -1
- package/Breadcrumb.js +2 -2
- package/Button.js +1 -1
- package/Calendar.js +1 -1
- package/Card.js +1 -1
- package/Carousel.js +1 -1
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +1 -1
- package/Comment.js +1 -1
- package/ConfigProvider.js +1 -1
- package/Copy.js +1 -1
- package/DatePicker.js +1 -1
- package/Descriptions.js +1 -1
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Dropdown.js +1 -1
- package/Empty.js +1 -1
- package/Icon.js +1 -1
- package/IconHover.js +1 -1
- package/Image.js +1 -1
- package/InputNumber.js +1 -1
- package/Layout.js +1 -1
- package/Link.js +1 -1
- package/List.js +1 -1
- package/Mentions.js +1 -1
- package/Menu.js +1 -1
- package/Message.js +1 -1
- package/Modal.js +1 -1
- package/Notice.js +1 -1
- package/Notification.js +1 -1
- package/OverflowEllipsis.js +1 -1
- package/PageHeader.js +1 -1
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Progress.js +1 -1
- package/Radio.js +1 -1
- package/Rate.js +1 -1
- package/ResizeBox.js +1 -1
- package/Result.js +1 -1
- package/Skeleton.js +1 -1
- package/Slider.js +1 -1
- package/Space.js +1 -1
- package/SpeechSynthesis.js +4 -3
- package/Spin.js +1 -1
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/Switch.js +1 -1
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/Tooltip.js +2 -2
- package/Transfer.js +1 -1
- package/Tree.js +1 -1
- package/Trigger.js +1 -1
- package/affix/index.js +86 -82
- package/alert/index.js +1 -1
- package/anchor/Anchor.js +1 -1
- package/anchor/Link.js +1 -1
- package/auto-complete/index.js +1 -1
- package/avatar/Avatar.js +1 -1
- package/avatar/Group.js +1 -1
- package/back-top/index.js +1 -1
- package/badge/index.js +1 -1
- package/breadcrumb/index.js +2 -2
- package/button/Group.js +1 -1
- package/button/index.js +1 -1
- package/calendar/index.js +2 -2
- package/card/Grid.js +1 -1
- package/card/Meta.js +1 -1
- package/card/index.js +1 -1
- package/carousel/Arrow.js +1 -1
- package/carousel/Indicator.js +1 -1
- package/carousel/index.js +1 -1
- package/cascader/Cascader.js +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/index.js +1 -1
- package/chunk/ATwvJ8j2.js +6 -0
- package/chunk/{CWlklVfi.js → BGmWsXl0.js} +1 -1
- package/chunk/{WVoGhvMI.js → ByRETFRI.js} +1 -1
- package/chunk/CBzE-PUr.js +23 -0
- package/chunk/{C9XYyypq.js → CQzKdjhX.js} +226 -225
- package/chunk/{BbqvFW5R.js → CqtaeJXT.js} +109 -109
- package/chunk/{DFcz9ZPP.js → CzaoCNQH.js} +2 -2
- package/chunk/D0ZWT7db.js +5 -0
- package/chunk/{BViFMHr-.js → D0qXkqyq.js} +3 -3
- package/chunk/{CPlPBkN7.js → D9JpbqFT.js} +1 -1
- package/chunk/{0mWCmQHr.js → DM_DBvmG.js} +2 -2
- package/chunk/{BxZ39GzB.js → DQrLGkIG.js} +1 -1
- package/chunk/{Dv6USvVF.js → DezXC21w.js} +1 -1
- package/chunk/{DeCsZrXb.js → J07pQqQ7.js} +2 -2
- package/chunk/{EL5Jmjgr.js → OPbfCome.js} +1 -1
- package/chunk/{B8hkFIar.js → lf-xRLXx.js} +1 -1
- package/collapse/Collapse.js +2 -2
- package/collapse/Item.js +2 -2
- package/collapse/index.js +1 -1
- package/color-picker/ControlBar.js +1 -1
- package/color-picker/InputAlpha.js +1 -1
- package/color-picker/InputHex.js +2 -2
- package/color-picker/InputRgb.js +2 -2
- package/color-picker/Palette.js +2 -2
- package/color-picker/Panel.js +3 -3
- package/color-picker/colors.js +4 -4
- package/color-picker/index.js +2 -2
- package/color-picker/utils.js +1 -1
- package/comment/index.js +1 -1
- package/config-provider/ConfigProvider.js +7 -6
- package/config-provider/context.js +3 -2
- package/config-provider/index.js +2 -2
- package/copy/index.js +1 -1
- package/date-picker/Picker.js +1 -1
- package/date-picker/PickerRange.js +2 -2
- package/date-picker/index.js +1 -1
- package/descriptions/index.js +1 -1
- package/divider/index.js +1 -1
- package/draggable/index.js +1 -1
- package/drawer/Drawer.js +1 -1
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +1 -1
- package/empty/index.js +1 -1
- package/form/Form.js +1 -1
- package/form/FormItem.js +1 -1
- package/form/context.js +1 -1
- package/grid/Col.js +1 -1
- package/grid/Row.js +1 -1
- package/grid/grid-item.js +1 -1
- package/grid/grid.js +1 -1
- package/icon/index.js +1 -1
- package/icon-hover/index.js +1 -1
- package/image/Image.js +2 -2
- package/image/ImagePreview.js +2 -2
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +1 -1
- package/image/index.js +1 -1
- package/index.js +312 -310
- package/input/Group.js +1 -1
- package/input/Input.js +1 -1
- package/input/InputElement.js +1 -1
- package/input/Password.js +1 -1
- package/input/Search.js +1 -1
- package/input/Textarea.js +1 -1
- package/input-number/index.js +1 -1
- package/input-tag/InputTag.js +1 -1
- package/layout/Content.js +1 -1
- package/layout/Footer.js +1 -1
- package/layout/Header.js +1 -1
- package/layout/Sider.js +1 -1
- package/layout/index.js +1 -1
- package/link/index.js +1 -1
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +1 -1
- package/mentions/index.js +1 -1
- package/menu/Menu.js +2 -2
- package/menu/OverflowWrap.js +1 -1
- package/menu/index.js +2 -2
- package/message/index.js +1 -1
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +2 -2
- package/modal/index.js +1 -1
- package/notice/index.js +1 -1
- package/notification/index.js +1 -1
- package/notification/useNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +1 -1
- package/overflow-ellipsis/index.js +1 -1
- package/package.json +1 -1
- package/page-header/index.js +1 -1
- package/pagination/PageItem.js +1 -1
- package/pagination/PageJumper.js +1 -1
- package/pagination/PageOption.js +1 -1
- package/pagination/Pagination.js +1 -1
- package/picker/Input.js +1 -1
- package/picker/InputRange.js +1 -1
- package/popconfirm/index.js +1 -1
- package/popover/index.js +1 -1
- package/progress/index.js +1 -1
- package/radio/Group.js +2 -2
- package/radio/Radio.js +2 -2
- package/radio/index.js +2 -2
- package/rate/index.js +1 -1
- package/resize-box/ResizeTrigger.js +1 -1
- package/resize-box/Split.js +1 -1
- package/resize-box/SplitGroup.js +1 -1
- package/resize-box/index.js +1 -1
- package/result/index.js +1 -1
- package/select/Option.js +1 -1
- package/select/Select.js +2 -2
- package/select-view/Core.js +1 -1
- package/skeleton/index.js +1 -1
- package/slider/Button.js +1 -1
- package/slider/index.js +1 -1
- package/space/index.js +1 -1
- package/speech-synthesis/index.js +4 -3
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +1 -1
- package/statistic/Countdown.js +1 -1
- package/statistic/index.js +1 -1
- package/steps/index.js +1 -1
- package/style/variables.less +0 -484
- package/style.css +1 -1
- package/switch/index.js +1 -1
- package/table/Table.js +2 -2
- package/table/index.js +3 -3
- 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 +2 -2
- package/transfer/Item.js +2 -2
- package/transfer/List.js +2 -2
- package/transfer/index.js +1 -1
- package/tree/Animation.js +2 -2
- package/tree/Node.js +3 -3
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +2 -2
- package/tree/index.js +1 -1
- package/tree-select/Select.js +1 -1
- package/trigger/index.js +1 -1
- package/types/utils/constant.d.ts +2 -1
- package/types/utils/setDarkTheme.d.ts +2 -3
- package/typography/Base.js +1 -1
- package/typography/Ellipsis.js +12 -11
- package/typography/Paragraph.js +1 -1
- package/typography/Typography.js +1 -1
- package/typography/index.js +10 -9
- package/upload/TriggerNode.js +1 -1
- package/upload/Upload.js +1 -1
- package/upload/Uploader.js +1 -1
- package/upload/request.js +1 -1
- package/upload/request_.js +1 -1
- package/utils/caseName.js +1 -1
- package/utils/color.js +1 -1
- package/utils/constant.js +7 -5
- package/utils/contextHolder.js +1 -1
- package/utils/dom.js +1 -1
- package/utils/index.js +156 -154
- package/utils/setDarkTheme.js +33 -5
- package/utils/tinycolor.js +1 -1
- package/verification-code/VerificationCode.js +1 -1
- package/version/index.js +1 -1
- package/watermark/Watermark.js +1 -1
- package/chunk/BsWphzcT.js +0 -20
- package/chunk/CIkPwQlq.js +0 -6
- package/chunk/DskaI8QL.js +0 -25
package/affix/index.js
CHANGED
|
@@ -1,54 +1,57 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { forwardRef as
|
|
6
|
-
import { a as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { p as
|
|
10
|
-
import { on as
|
|
11
|
-
import { l as
|
|
12
|
-
import { r as
|
|
13
|
-
import
|
|
14
|
-
function
|
|
15
|
-
return
|
|
1
|
+
import { jsxs as P, jsx as E } from "react/jsx-runtime";
|
|
2
|
+
import h from "lodash/isFunction";
|
|
3
|
+
import $ from "lodash/isPlainObject";
|
|
4
|
+
import q from "lodash/isUndefined";
|
|
5
|
+
import { forwardRef as G, useContext as J, useState as K, useRef as C, useMemo as Q, useCallback as V, useEffect as m, useImperativeHandle as X } from "react";
|
|
6
|
+
import { a as Y } from "../chunk/CQzKdjhX.js";
|
|
7
|
+
import { u as Z } from "../chunk/B2yFlXke.js";
|
|
8
|
+
import { u as tt } from "../chunk/BFTV6myl.js";
|
|
9
|
+
import { p as M } from "../chunk/CUFsOxJ2.js";
|
|
10
|
+
import { getScrollElements as et, on as A, off as p } from "../utils/dom.js";
|
|
11
|
+
import { l as rt } from "../chunk/DAAff-FT.js";
|
|
12
|
+
import { r as st } from "../chunk/CIRG541s.js";
|
|
13
|
+
import ot from "../utils/throttleByRaf.js";
|
|
14
|
+
function nt(c) {
|
|
15
|
+
return rt(c) ? {
|
|
16
16
|
top: 0,
|
|
17
17
|
bottom: window.innerHeight
|
|
18
18
|
} : c.getBoundingClientRect();
|
|
19
19
|
}
|
|
20
|
-
const
|
|
21
|
-
offsetTop: 0
|
|
22
|
-
target: () => window
|
|
20
|
+
const it = {
|
|
21
|
+
offsetTop: 0
|
|
23
22
|
};
|
|
24
|
-
function
|
|
25
|
-
const { getPrefixCls:
|
|
23
|
+
function ft(c, v) {
|
|
24
|
+
const { getPrefixCls: O, componentConfig: d, rtl: U } = J(Y), _ = tt(
|
|
26
25
|
c,
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
it,
|
|
27
|
+
d == null ? void 0 : d.Affix
|
|
29
28
|
), {
|
|
30
|
-
className:
|
|
31
|
-
style:
|
|
32
|
-
affixClassName:
|
|
33
|
-
affixStyle:
|
|
29
|
+
className: B,
|
|
30
|
+
style: H,
|
|
31
|
+
affixClassName: I,
|
|
32
|
+
affixStyle: b,
|
|
34
33
|
offsetTop: l,
|
|
35
|
-
offsetBottom:
|
|
36
|
-
target:
|
|
37
|
-
targetContainer:
|
|
38
|
-
children:
|
|
39
|
-
onChange:
|
|
40
|
-
...
|
|
41
|
-
} =
|
|
34
|
+
offsetBottom: i,
|
|
35
|
+
target: x,
|
|
36
|
+
targetContainer: a,
|
|
37
|
+
children: j,
|
|
38
|
+
onChange: S,
|
|
39
|
+
...D
|
|
40
|
+
} = _, [g, N] = K({
|
|
42
41
|
status: "MEASURE_DONE",
|
|
43
42
|
isFixed: !1,
|
|
44
43
|
sizeStyles: {},
|
|
45
44
|
fixedStyles: {}
|
|
46
|
-
}), { isFixed:
|
|
47
|
-
{ [
|
|
48
|
-
|
|
49
|
-
),
|
|
50
|
-
|
|
51
|
-
|
|
45
|
+
}), { isFixed: y, sizeStyles: W, fixedStyles: k } = g, z = C(y), F = O("affix"), L = M(
|
|
46
|
+
{ [F]: y, [`${F}-rtl`]: U },
|
|
47
|
+
I
|
|
48
|
+
), r = C(null), s = C(null), R = Q(() => {
|
|
49
|
+
var n, f;
|
|
50
|
+
let e = null;
|
|
51
|
+
return h(x) ? e = x() : e = ((f = (n = et(r.current)) == null ? void 0 : n.at) == null ? void 0 : f.call(n, -1)) || window, e;
|
|
52
|
+
}, [r.current, x]), t = V(
|
|
53
|
+
ot(() => {
|
|
54
|
+
N({
|
|
52
55
|
status: "MEASURE_START",
|
|
53
56
|
isFixed: !1,
|
|
54
57
|
fixedStyles: {},
|
|
@@ -57,70 +60,71 @@ function ot(c, T) {
|
|
|
57
60
|
}),
|
|
58
61
|
[]
|
|
59
62
|
);
|
|
60
|
-
return
|
|
61
|
-
const { status: e } =
|
|
62
|
-
if (e !== "MEASURE_START" || !
|
|
63
|
+
return Z(() => {
|
|
64
|
+
const { status: e } = g;
|
|
65
|
+
if (e !== "MEASURE_START" || !r.current || !s.current)
|
|
63
66
|
return;
|
|
64
|
-
const
|
|
65
|
-
let
|
|
66
|
-
|
|
67
|
+
const n = q(i) ? "top" : "bottom", f = r.current.getBoundingClientRect(), u = nt(s.current);
|
|
68
|
+
let o = !1, w = {};
|
|
69
|
+
n === "top" ? (o = f.top - u.top < (l || 0), w = o ? {
|
|
67
70
|
position: "fixed",
|
|
68
|
-
top:
|
|
69
|
-
} : {}) : (
|
|
71
|
+
top: u.top + (l || 0)
|
|
72
|
+
} : {}) : (o = u.bottom - f.bottom < (i || 0), w = o ? {
|
|
70
73
|
position: "fixed",
|
|
71
|
-
bottom: window.innerHeight -
|
|
74
|
+
bottom: window.innerHeight - u.bottom + (i || 0)
|
|
72
75
|
} : {});
|
|
73
|
-
const
|
|
74
|
-
width:
|
|
75
|
-
height:
|
|
76
|
+
const T = o ? {
|
|
77
|
+
width: r.current.offsetWidth,
|
|
78
|
+
height: r.current.offsetHeight
|
|
76
79
|
} : {};
|
|
77
|
-
|
|
80
|
+
N({
|
|
78
81
|
status: "MEASURE_DONE",
|
|
79
|
-
isFixed:
|
|
80
|
-
sizeStyles:
|
|
81
|
-
fixedStyles: { ...
|
|
82
|
-
}),
|
|
83
|
-
}, [
|
|
82
|
+
isFixed: o,
|
|
83
|
+
sizeStyles: T,
|
|
84
|
+
fixedStyles: { ...w, ...T }
|
|
85
|
+
}), o !== z.current && (z.current = o, h(S) && S(o));
|
|
86
|
+
}, [g, i, l, S]), m(() => (t(), () => {
|
|
84
87
|
var e;
|
|
85
88
|
(e = t == null ? void 0 : t.cancel) == null || e.call(t);
|
|
86
|
-
}), [
|
|
87
|
-
if (
|
|
88
|
-
return
|
|
89
|
-
|
|
89
|
+
}), [R, a, i, l, t]), m(() => {
|
|
90
|
+
if (s.current = R, s.current)
|
|
91
|
+
return A(s.current, "scroll", t), A(s.current, "resize", t), () => {
|
|
92
|
+
p(s.current, "scroll", t), p(s.current, "resize", t);
|
|
90
93
|
};
|
|
91
|
-
}, [
|
|
92
|
-
const e =
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
}, [R, t]), m(() => {
|
|
95
|
+
const e = h(a) ? a() : null;
|
|
96
|
+
return s.current !== window && e ? (A(e, "scroll", t), () => {
|
|
97
|
+
p(e, "scroll", t);
|
|
98
|
+
}) : () => {
|
|
99
|
+
p(e, "scroll", t);
|
|
100
|
+
};
|
|
101
|
+
}, [a, t]), X(v, () => ({
|
|
98
102
|
updatePosition: t,
|
|
99
|
-
getRootDOMNode: () =>
|
|
100
|
-
})),
|
|
101
|
-
const e =
|
|
103
|
+
getRootDOMNode: () => r.current
|
|
104
|
+
})), m(() => {
|
|
105
|
+
const e = st([r.current], t);
|
|
102
106
|
return () => {
|
|
103
107
|
e();
|
|
104
108
|
};
|
|
105
|
-
}, [
|
|
106
|
-
|
|
107
|
-
/* @__PURE__ */
|
|
109
|
+
}, [r.current]), /* @__PURE__ */ P("div", { className: M(B), style: H, ref: r, ...D, children: [
|
|
110
|
+
y && /* @__PURE__ */ E("div", { style: W }),
|
|
111
|
+
/* @__PURE__ */ E(
|
|
108
112
|
"div",
|
|
109
113
|
{
|
|
110
|
-
className:
|
|
114
|
+
className: L,
|
|
111
115
|
style: {
|
|
112
|
-
...
|
|
113
|
-
|
|
116
|
+
...k,
|
|
117
|
+
...$(b) ? b : {}
|
|
114
118
|
},
|
|
115
|
-
children:
|
|
119
|
+
children: j || /* @__PURE__ */ E("span", {})
|
|
116
120
|
}
|
|
117
121
|
)
|
|
118
122
|
] });
|
|
119
123
|
}
|
|
120
|
-
const
|
|
121
|
-
|
|
124
|
+
const ct = G(
|
|
125
|
+
ft
|
|
122
126
|
);
|
|
123
|
-
|
|
127
|
+
ct.displayName = "Affix";
|
|
124
128
|
export {
|
|
125
|
-
|
|
129
|
+
ct as default
|
|
126
130
|
};
|
package/alert/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import k from "@unicom-cloud/icons/IconUiCloseCircleFill";
|
|
|
5
5
|
import R from "@unicom-cloud/icons/IconUiExclamationCircleFill";
|
|
6
6
|
import T from "@unicom-cloud/icons/IconUiInfoCircleFill";
|
|
7
7
|
import { forwardRef as q, useRef as z, useContext as H, useState as M } from "react";
|
|
8
|
-
import { a as O } from "../chunk/
|
|
8
|
+
import { a as O } from "../chunk/CQzKdjhX.js";
|
|
9
9
|
import { u as V } from "../chunk/BFTV6myl.js";
|
|
10
10
|
import { p as _ } from "../chunk/CUFsOxJ2.js";
|
|
11
11
|
import { P as B } from "../chunk/BpYX5PN4.js";
|
package/anchor/Anchor.js
CHANGED
|
@@ -6,7 +6,7 @@ import P from "lodash/isNumber";
|
|
|
6
6
|
import gt from "lodash/throttle";
|
|
7
7
|
import { forwardRef as ht, useContext as Ct, useRef as x, useState as xt, useEffect as S, useCallback as $, useImperativeHandle as kt } from "react";
|
|
8
8
|
import yt from "../affix/index.js";
|
|
9
|
-
import { a as Lt } from "../chunk/
|
|
9
|
+
import { a as Lt } from "../chunk/CQzKdjhX.js";
|
|
10
10
|
import { u as Rt } from "../chunk/oopARUrq.js";
|
|
11
11
|
import { u as wt } from "../chunk/BFTV6myl.js";
|
|
12
12
|
import { u as St } from "../chunk/Duezix3m.js";
|
package/anchor/Link.js
CHANGED
|
@@ -4,7 +4,7 @@ import g from "lodash/isPlainObject";
|
|
|
4
4
|
import E from "lodash/isString";
|
|
5
5
|
import L from "lodash/isUndefined";
|
|
6
6
|
import O, { forwardRef as b, useContext as f, useRef as v, useImperativeHandle as w, useEffect as I, isValidElement as M } from "react";
|
|
7
|
-
import { a as S } from "../chunk/
|
|
7
|
+
import { a as S } from "../chunk/CQzKdjhX.js";
|
|
8
8
|
import { u as $ } from "../chunk/BFTV6myl.js";
|
|
9
9
|
import { p as z } from "../chunk/CUFsOxJ2.js";
|
|
10
10
|
import D from "./context.js";
|
package/auto-complete/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import le from "@unicom-cloud/icons/IconUiLoading";
|
|
3
3
|
import p, { useContext as ne, useState as se, useRef as B, isValidElement as ae, useImperativeHandle as ce } from "react";
|
|
4
|
-
import { a as ie } from "../chunk/
|
|
4
|
+
import { a as ie } from "../chunk/CQzKdjhX.js";
|
|
5
5
|
import { u as ue } from "../chunk/BFTV6myl.js";
|
|
6
6
|
import { u as fe } from "../chunk/DeV0v__J.js";
|
|
7
7
|
import me from "../input/Input.js";
|
package/avatar/Avatar.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as W, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import j from "lodash/isNumber";
|
|
3
3
|
import y, { forwardRef as E, useContext as v, useRef as C, useImperativeHandle as H, useEffect as T } from "react";
|
|
4
|
-
import { a as D } from "../chunk/
|
|
4
|
+
import { a as D } from "../chunk/CQzKdjhX.js";
|
|
5
5
|
import { p as L } from "../chunk/CUFsOxJ2.js";
|
|
6
6
|
import M from "./context.js";
|
|
7
7
|
const O = {
|
package/avatar/Group.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o, jsxs as _ } from "react/jsx-runtime";
|
|
2
2
|
import I from "lodash/isNumber";
|
|
3
3
|
import R, { forwardRef as $, useContext as b } from "react";
|
|
4
|
-
import { a as j } from "../chunk/
|
|
4
|
+
import { a as j } from "../chunk/CQzKdjhX.js";
|
|
5
5
|
import { u as T } from "../chunk/BFTV6myl.js";
|
|
6
6
|
import k from "../popover/index.js";
|
|
7
7
|
import { p as q } from "../chunk/CUFsOxJ2.js";
|
package/back-top/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import x from "@unicom-cloud/icons/IconUiToTop";
|
|
3
3
|
import { q as y, y as C } from "../chunk/BhBEMwvI.js";
|
|
4
4
|
import B, { forwardRef as E, useRef as P, useContext as N, useState as R, useEffect as S } from "react";
|
|
5
|
-
import { a as H } from "../chunk/
|
|
5
|
+
import { a as H } from "../chunk/CQzKdjhX.js";
|
|
6
6
|
import { u as $ } from "../chunk/XTEsYGuF.js";
|
|
7
7
|
import { u as q } from "../chunk/BFTV6myl.js";
|
|
8
8
|
import { P as D } from "../chunk/BpYX5PN4.js";
|
package/badge/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as x, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import j from "lodash/isPlainObject";
|
|
3
3
|
import { forwardRef as w, useContext as R } from "react";
|
|
4
|
-
import { a as q } from "../chunk/
|
|
4
|
+
import { a as q } from "../chunk/CQzKdjhX.js";
|
|
5
5
|
import { u as G } from "../chunk/BFTV6myl.js";
|
|
6
6
|
import { P as _ } from "../chunk/BpYX5PN4.js";
|
|
7
7
|
import { p as a } from "../chunk/CUFsOxJ2.js";
|
package/breadcrumb/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import O from "@unicom-cloud/icons/IconUiObliqueLine";
|
|
3
3
|
import c, { forwardRef as S, useContext as _ } from "react";
|
|
4
|
-
import { a as k } from "../chunk/
|
|
4
|
+
import { a as k } from "../chunk/CQzKdjhX.js";
|
|
5
5
|
import { u as q } from "../chunk/BFTV6myl.js";
|
|
6
|
-
import { M as C } from "../chunk/
|
|
6
|
+
import { M as C } from "../chunk/lf-xRLXx.js";
|
|
7
7
|
import { p as v } from "../chunk/CUFsOxJ2.js";
|
|
8
8
|
import { c as F } from "../chunk/DAAff-FT.js";
|
|
9
9
|
import { o as K } from "../chunk/BKKEev13.js";
|
package/button/Group.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import f, { useContext as i } from "react";
|
|
3
|
-
import { a as l } from "../chunk/
|
|
3
|
+
import { a as l } from "../chunk/CQzKdjhX.js";
|
|
4
4
|
import { p as u } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
function x(o, t) {
|
|
6
6
|
const { className: r, style: s, children: e, ...n } = o, { getPrefixCls: a } = i(l), m = a("btn-group"), p = u(m, r);
|
package/button/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l, jsxs as A, Fragment as M } from "react/jsx-runtime";
|
|
2
2
|
import Q from "@unicom-cloud/icons/IconUiLoading";
|
|
3
3
|
import _, { forwardRef as W, useContext as Y, useState as H, useRef as J, useEffect as K } from "react";
|
|
4
|
-
import { a as V } from "../chunk/
|
|
4
|
+
import { a as V } from "../chunk/CQzKdjhX.js";
|
|
5
5
|
import { u as X } from "../chunk/BFTV6myl.js";
|
|
6
6
|
import { p as Z } from "../chunk/CUFsOxJ2.js";
|
|
7
7
|
import v from "./Group.js";
|
package/calendar/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as M, jsx as e, Fragment as K } from "react/jsx-runtime";
|
|
2
2
|
import he from "lodash/merge";
|
|
3
3
|
import { useMemo as q, useContext as pe, useState as T } from "react";
|
|
4
|
-
import { a as ue } from "../chunk/
|
|
4
|
+
import { a as ue } from "../chunk/CQzKdjhX.js";
|
|
5
5
|
import { u as fe } from "../chunk/BFTV6myl.js";
|
|
6
6
|
import { p as J } from "../chunk/CUFsOxJ2.js";
|
|
7
7
|
import { a as F, g as A, m as V } from "../chunk/tamGhTJp.js";
|
|
@@ -13,7 +13,7 @@ import X from "@unicom-cloud/icons/IconUiRight";
|
|
|
13
13
|
import Z from "lodash/isArray";
|
|
14
14
|
import De from "../button/index.js";
|
|
15
15
|
import { u as we } from "../chunk/XTEsYGuF.js";
|
|
16
|
-
import { R as Ne } from "../chunk/
|
|
16
|
+
import { R as Ne } from "../chunk/OPbfCome.js";
|
|
17
17
|
import _ from "../select/Select.js";
|
|
18
18
|
import be from "@unicom-cloud/icons/IconUiDoubleLeft";
|
|
19
19
|
import Me from "@unicom-cloud/icons/IconUiDoubleRight";
|
package/card/Grid.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import d, { useContext as f } from "react";
|
|
3
|
-
import { a as c } from "../chunk/
|
|
3
|
+
import { a as c } from "../chunk/CQzKdjhX.js";
|
|
4
4
|
import { p as l } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
function p(o, e) {
|
|
6
6
|
const { children: t, style: a, className: s, hoverable: i } = o, { getPrefixCls: n } = f(c), r = n("card-grid");
|
package/card/Meta.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import N, { useContext as v } from "react";
|
|
3
|
-
import { a as h } from "../chunk/
|
|
3
|
+
import { a as h } from "../chunk/CQzKdjhX.js";
|
|
4
4
|
import { p as n } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
function u(c, l) {
|
|
6
6
|
const { className: d, title: a, avatar: e, description: s, actionList: r, ...m } = c, { getPrefixCls: f } = v(h), t = f("card-meta"), p = n(t, d);
|
package/card/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
2
2
|
import l, { useContext as L } from "react";
|
|
3
|
-
import { a as k } from "../chunk/
|
|
3
|
+
import { a as k } from "../chunk/CQzKdjhX.js";
|
|
4
4
|
import { u as q } from "../chunk/BFTV6myl.js";
|
|
5
5
|
import A from "../spin/index.js";
|
|
6
6
|
import { p as C } from "../chunk/CUFsOxJ2.js";
|
package/carousel/Arrow.js
CHANGED
|
@@ -4,7 +4,7 @@ import x from "@unicom-cloud/icons/IconUiLeft";
|
|
|
4
4
|
import u from "@unicom-cloud/icons/IconUiRight";
|
|
5
5
|
import C from "@unicom-cloud/icons/IconUiUp";
|
|
6
6
|
import b, { useContext as y } from "react";
|
|
7
|
-
import { a as I } from "../chunk/
|
|
7
|
+
import { a as I } from "../chunk/CQzKdjhX.js";
|
|
8
8
|
import { u as P } from "../chunk/XTEsYGuF.js";
|
|
9
9
|
import { p as $ } from "../chunk/CUFsOxJ2.js";
|
|
10
10
|
function g(i, c) {
|
package/carousel/Indicator.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import h, { useContext as I } from "react";
|
|
3
|
-
import { a as w } from "../chunk/
|
|
3
|
+
import { a as w } from "../chunk/CQzKdjhX.js";
|
|
4
4
|
import { p as c } from "../chunk/CUFsOxJ2.js";
|
|
5
5
|
function N(f, p) {
|
|
6
6
|
const { getPrefixCls: m } = I(w), {
|
package/carousel/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as ye, jsx as N } from "react/jsx-runtime";
|
|
2
2
|
import P, { useContext as xe, useRef as F, useState as p, useEffect as z, useImperativeHandle as Ie } from "react";
|
|
3
|
-
import { a as Ne } from "../chunk/
|
|
3
|
+
import { a as Ne } from "../chunk/CQzKdjhX.js";
|
|
4
4
|
import { u as Ce } from "../chunk/C4OrxKE6.js";
|
|
5
5
|
import { u as Pe } from "../chunk/BFTV6myl.js";
|
|
6
6
|
import { p as C } from "../chunk/CUFsOxJ2.js";
|
package/cascader/Cascader.js
CHANGED
|
@@ -9,7 +9,7 @@ import "lodash/isFunction";
|
|
|
9
9
|
import "lodash/isPlainObject";
|
|
10
10
|
import "lodash/isString";
|
|
11
11
|
import "react";
|
|
12
|
-
import "../chunk/
|
|
12
|
+
import "../chunk/CQzKdjhX.js";
|
|
13
13
|
import "../chunk/CQ_WOOmf.js";
|
|
14
14
|
import "../chunk/B4YRLi8r.js";
|
|
15
15
|
import "../chunk/BFTV6myl.js";
|
|
@@ -19,7 +19,7 @@ import "../select-view/index.js";
|
|
|
19
19
|
import "../trigger/index.js";
|
|
20
20
|
import "../chunk/CUFsOxJ2.js";
|
|
21
21
|
import "../chunk/BrOW642m.js";
|
|
22
|
-
import { D as k, C as n } from "../chunk/
|
|
22
|
+
import { D as k, C as n } from "../chunk/CzaoCNQH.js";
|
|
23
23
|
export {
|
|
24
24
|
k as DefaultFieldNames,
|
|
25
25
|
n as default
|
package/cascader/index.js
CHANGED
package/cascader/util.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as s, a as t, S as r, V as o, f as l, g as S, c as u, b as V, r as f, t as g, v as m } from "../chunk/
|
|
1
|
+
import { P as s, a as t, S as r, V as o, f as l, g as S, c as u, b as V, r as f, t as g, v as m } from "../chunk/CzaoCNQH.js";
|
|
2
2
|
export {
|
|
3
3
|
s as PANEL_MODE,
|
|
4
4
|
t as SHOW_CHILD,
|
package/checkbox/Checkbox.js
CHANGED
|
@@ -4,12 +4,12 @@ import "@unicom-cloud/icons/IconUiMinus";
|
|
|
4
4
|
import "lodash/isFunction";
|
|
5
5
|
import "lodash/isNil";
|
|
6
6
|
import "react";
|
|
7
|
-
import "../chunk/
|
|
7
|
+
import "../chunk/CQzKdjhX.js";
|
|
8
8
|
import "../chunk/BFTV6myl.js";
|
|
9
9
|
import "../chunk/DeV0v__J.js";
|
|
10
10
|
import "../chunk/CUFsOxJ2.js";
|
|
11
11
|
import "../chunk/BKKEev13.js";
|
|
12
|
-
import { C } from "../chunk/
|
|
12
|
+
import { C } from "../chunk/DQrLGkIG.js";
|
|
13
13
|
import "./useCheckbox.js";
|
|
14
14
|
export {
|
|
15
15
|
C as default
|
package/checkbox/Group.js
CHANGED
|
@@ -2,11 +2,11 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "lodash/isArray";
|
|
3
3
|
import "lodash/isPlainObject";
|
|
4
4
|
import "react";
|
|
5
|
-
import "../chunk/
|
|
5
|
+
import "../chunk/CQzKdjhX.js";
|
|
6
6
|
import "../chunk/DeV0v__J.js";
|
|
7
7
|
import "../chunk/CUFsOxJ2.js";
|
|
8
8
|
import "../utils/constant.js";
|
|
9
|
-
import { a as b, b as s, G as u } from "../chunk/
|
|
9
|
+
import { a as b, b as s, G as u } from "../chunk/DQrLGkIG.js";
|
|
10
10
|
export {
|
|
11
11
|
b as CheckboxGroupContext,
|
|
12
12
|
s as ClearCheckboxGroupContext,
|
package/checkbox/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import U from "@unicom-cloud/icons/IconUiCaretLeft";
|
|
|
3
3
|
import L from "@unicom-cloud/icons/IconUiCaretRight";
|
|
4
4
|
import V from "lodash/isFunction";
|
|
5
5
|
import M, { useContext as K, useRef as A, createContext as B } from "react";
|
|
6
|
-
import { a as T, I as S } from "./
|
|
6
|
+
import { a as T, I as S } from "./CQzKdjhX.js";
|
|
7
7
|
import { u as q } from "./BFTV6myl.js";
|
|
8
8
|
import { u as D } from "./DeV0v__J.js";
|
|
9
9
|
import { p } from "./CUFsOxJ2.js";
|
|
@@ -3,7 +3,7 @@ import ln from "@unicom-cloud/icons/IconUiClose";
|
|
|
3
3
|
import Ie from "lodash/isFunction";
|
|
4
4
|
import sn, { forwardRef as Oe, useState as $, useImperativeHandle as an, useRef as x, useContext as cn, useCallback as U, useEffect as oe } from "react";
|
|
5
5
|
import De from "../button/index.js";
|
|
6
|
-
import { b as Le, d as un, a as dn, I as mn } from "./
|
|
6
|
+
import { b as Le, d as un, a as dn, I as mn } from "./CQzKdjhX.js";
|
|
7
7
|
import { u as fn } from "./oopARUrq.js";
|
|
8
8
|
import { u as pn } from "./BFTV6myl.js";
|
|
9
9
|
import { u as Cn } from "./DeV0v__J.js";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import C from "lodash/camelCase.js";
|
|
2
|
+
import N from "lodash/capitalize.js";
|
|
3
|
+
import n from "lodash/kebabCase.js";
|
|
4
|
+
import c from "lodash/lowerFirst.js";
|
|
5
|
+
import l from "lodash/snakeCase.js";
|
|
6
|
+
import u from "lodash/startCase.js";
|
|
7
|
+
import a from "lodash/upperFirst.js";
|
|
8
|
+
function d(m) {
|
|
9
|
+
const o = n(m), e = l(m), r = C(m), t = N(m), i = u(m), p = c(m), s = a(m), f = a(r);
|
|
10
|
+
return {
|
|
11
|
+
kebabCaseName: o,
|
|
12
|
+
snakeCaseName: e,
|
|
13
|
+
camelCaseName: r,
|
|
14
|
+
capitalizeName: t,
|
|
15
|
+
startCaseName: i,
|
|
16
|
+
lowerFirstCaseName: p,
|
|
17
|
+
upperFirstCaseName: s,
|
|
18
|
+
ComponentCaseName: f
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
d as g
|
|
23
|
+
};
|