@unicom-cloud/ui 0.8.70 → 0.8.71
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 +2 -2
- package/AutoComplete.js +1 -1
- package/BackTop.js +2 -2
- package/Badge.js +2 -2
- package/Breadcrumb.js +2 -2
- package/Button.js +1 -1
- package/Calendar.js +1 -1
- package/Card.js +1 -1
- package/Carousel.js +1 -1
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/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 +2 -2
- 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 +2 -2
- package/Modal.js +1 -1
- package/Notice.js +2 -2
- package/Notification.js +2 -2
- 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 +3 -3
- package/Spin.js +1 -1
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/Switch.js +2 -2
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/Tooltip.js +1 -1
- package/Transfer.js +1 -1
- package/Tree.js +1 -1
- package/Trigger.js +3 -3
- package/affix/index.js +1 -1
- package/alert/index.js +2 -2
- 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 +2 -2
- package/badge/Count.js +1 -1
- package/badge/index.js +2 -2
- package/breadcrumb/index.js +2 -2
- package/button/Group.js +1 -1
- package/button/index.js +1 -1
- package/calendar/index.js +2 -2
- package/card/Grid.js +1 -1
- package/card/Meta.js +1 -1
- package/card/index.js +1 -1
- package/carousel/Arrow.js +1 -1
- package/carousel/Indicator.js +1 -1
- package/carousel/index.js +1 -1
- package/cascader/Cascader.js +2 -2
- package/cascader/index.js +1 -1
- package/cascader/util.js +1 -1
- package/checkbox/Checkbox.js +2 -2
- package/checkbox/Group.js +2 -2
- package/checkbox/index.js +1 -1
- package/chunk/{Cm9BS47C.js → 8V534cS3.js} +3 -3
- package/chunk/{CCv-5KFt.js → BHL-PzAD.js} +149 -152
- package/chunk/{B80D01PB.js → BlElSWJg.js} +2 -2
- package/chunk/{Bh8AO6R8.js → BzPNDYAX.js} +1 -1
- package/chunk/{tIRvN_q7.js → C5X9bDyX.js} +3 -3
- package/chunk/C6AJxF7d.js +1820 -0
- package/chunk/CQTxhsUk.js +170 -0
- package/chunk/{DFf75sXd.js → CUs1AOCZ.js} +2 -2
- package/chunk/{CASwN1hB.js → CZWGeRVA.js} +188 -183
- package/chunk/{C48SmsN-.js → ClaNycDy.js} +27 -18
- package/chunk/{-C2QiGwq.js → D2DSUGNT.js} +1 -1
- package/chunk/{DonYzv30.js → DV7ywe_q.js} +1 -1
- package/chunk/{YUHbzjGj.js → Dm1NCTkX.js} +3 -3
- package/chunk/{CSk3yQDO.js → EHx6bIK_.js} +3 -3
- package/chunk/{iOWILwNv.js → I1dqAgn_.js} +3 -3
- package/chunk/{DzVH9IBy.js → fFjj2KuF.js} +1 -1
- package/chunk/{bgmEVbGy.js → pEI3aB9Z.js} +2 -2
- package/collapse/Collapse.js +2 -2
- package/collapse/Item.js +3 -3
- 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 +1 -1
- package/color-picker/InputRgb.js +1 -1
- package/color-picker/Palette.js +1 -1
- package/color-picker/Panel.js +2 -2
- package/color-picker/index.js +1 -1
- package/comment/index.js +1 -1
- package/config-provider/ConfigProvider.js +1 -1
- package/config-provider/context.js +1 -1
- package/config-provider/index.js +2 -2
- package/copy/index.js +1 -1
- package/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 +3 -3
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +2 -2
- package/empty/index.js +1 -1
- package/form/Form.js +1 -1
- package/form/FormItem.js +2 -2
- package/form/util.js +11 -11
- 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/hooks/index.js +1 -1
- package/hooks/useOverrideRef.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 +4 -4
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +1 -1
- package/image/index.js +1 -1
- package/index.js +16 -16
- 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 +2 -2
- package/layout/Content.js +1 -1
- package/layout/Footer.js +1 -1
- package/layout/Header.js +1 -1
- package/layout/Sider.js +1 -1
- package/layout/index.js +1 -1
- package/link/index.js +1 -1
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +1 -1
- package/locale/en-US.js +1 -1
- package/locale/tr-TR.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 +2 -2
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +4 -4
- package/modal/index.js +1 -1
- package/notice/index.js +2 -2
- package/notification/index.js +2 -2
- package/notification/useNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +1 -1
- package/overflow-ellipsis/index.js +1 -1
- package/package.json +1 -1
- package/page-header/index.js +1 -1
- package/pagination/PageItem.js +1 -1
- package/pagination/PageJumper.js +1 -1
- package/pagination/PageOption.js +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 +39 -39
- 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/switch/index.js +2 -2
- 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 +1 -1
- package/transfer/Item.js +2 -2
- package/transfer/List.js +2 -2
- package/transfer/index.js +1 -1
- package/tree/Animation.js +3 -3
- package/tree/Node.js +3 -3
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +2 -2
- package/tree/index.js +1 -1
- package/tree-select/Select.js +1 -1
- package/trigger/index.js +3 -3
- package/types/locale/en-US.d.ts +12 -12
- package/types/locale/tr-TR.d.ts +12 -12
- package/types/table/interface.d.ts +3 -1
- package/types/utils/react19Adapter.d.ts +1 -0
- package/typography/Base.js +1 -1
- package/typography/Ellipsis.js +11 -11
- package/typography/Paragraph.js +1 -1
- package/typography/Typography.js +1 -1
- package/typography/index.js +11 -11
- package/upload/TriggerNode.js +1 -1
- package/upload/Upload.js +2 -2
- package/upload/Uploader.js +2 -2
- package/utils/CSSTransition.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/index.js +4 -4
- package/utils/react19Adapter.js +3 -0
- package/utils/reactDOM.js +1 -1
- package/verification-code/VerificationCode.js +1 -1
- package/version/index.js +1 -1
- package/virtual-list/VirtualList.js +1 -1
- package/watermark/Watermark.js +1 -1
- package/chunk/DC-pxreh.js +0 -1817
- package/chunk/DcYqcuGl.js +0 -166
package/chunk/DcYqcuGl.js
DELETED
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import { jsx as i, jsxs as z, Fragment as O } from "react/jsx-runtime";
|
|
2
|
-
import j from "lodash/isFunction";
|
|
3
|
-
import w from "lodash/isNil";
|
|
4
|
-
import B, { createContext as H, useContext as G, useRef as L } from "react";
|
|
5
|
-
import { a as A, I as Q } from "./CASwN1hB.js";
|
|
6
|
-
import { u as D } from "./BFTV6myl.js";
|
|
7
|
-
import { u as F } from "./CdaT1b_F.js";
|
|
8
|
-
import { m as I } from "./JPPo5nY_.js";
|
|
9
|
-
import { o as S } from "./BKKEev13.js";
|
|
10
|
-
import T from "lodash/isArray";
|
|
11
|
-
import q from "lodash/isPlainObject";
|
|
12
|
-
import { pickTriggerPropsFromRest as E } from "../utils/constant.js";
|
|
13
|
-
import { a as J } from "./ClqoGc3r.js";
|
|
14
|
-
const _ = {
|
|
15
|
-
type: "radio"
|
|
16
|
-
}, K = {
|
|
17
|
-
type: "radio",
|
|
18
|
-
mode: "outline",
|
|
19
|
-
direction: "horizontal"
|
|
20
|
-
}, x = H(_), ne = ({ children: C }) => /* @__PURE__ */ i(x.Provider, { value: _, children: C });
|
|
21
|
-
function M(C) {
|
|
22
|
-
const {
|
|
23
|
-
getPrefixCls: b,
|
|
24
|
-
size: y,
|
|
25
|
-
componentConfig: d,
|
|
26
|
-
rtl: N
|
|
27
|
-
} = G(A), e = D(
|
|
28
|
-
C,
|
|
29
|
-
K,
|
|
30
|
-
d == null ? void 0 : d["Radio.Group"]
|
|
31
|
-
), {
|
|
32
|
-
style: a,
|
|
33
|
-
className: o,
|
|
34
|
-
name: c,
|
|
35
|
-
children: m,
|
|
36
|
-
direction: p,
|
|
37
|
-
type: v,
|
|
38
|
-
mode: k,
|
|
39
|
-
options: g,
|
|
40
|
-
disabled: s
|
|
41
|
-
} = e, [l, R] = F(void 0, {
|
|
42
|
-
defaultValue: e.defaultValue,
|
|
43
|
-
value: e.value
|
|
44
|
-
}), $ = e.size || y, n = b("radio"), P = I(
|
|
45
|
-
`${n}-group`,
|
|
46
|
-
{
|
|
47
|
-
[`${n}-group-type-button`]: v !== "radio",
|
|
48
|
-
[`${n}-size-${$}`]: !!$,
|
|
49
|
-
[`${n}-mode-${k}`]: !!k,
|
|
50
|
-
[`${n}-group-disabled`]: s,
|
|
51
|
-
[`${n}-group-direction-vertical`]: p === "vertical",
|
|
52
|
-
[`${n}-group-rtl`]: N
|
|
53
|
-
},
|
|
54
|
-
o
|
|
55
|
-
), u = {
|
|
56
|
-
onChangeValue: (r, f) => {
|
|
57
|
-
const { onChange: V } = e;
|
|
58
|
-
r !== l && ("value" in e || R(r), V == null || V(r, f));
|
|
59
|
-
},
|
|
60
|
-
type: v,
|
|
61
|
-
value: l,
|
|
62
|
-
disabled: s,
|
|
63
|
-
group: !0,
|
|
64
|
-
name: c
|
|
65
|
-
};
|
|
66
|
-
return /* @__PURE__ */ i(x.Provider, { value: u, children: /* @__PURE__ */ i(
|
|
67
|
-
"div",
|
|
68
|
-
{
|
|
69
|
-
className: P,
|
|
70
|
-
role: "radiogroup",
|
|
71
|
-
style: a,
|
|
72
|
-
...E(e),
|
|
73
|
-
...J(e),
|
|
74
|
-
children: g && T(g) ? g.map((r, f) => q(r) ? /* @__PURE__ */ i(
|
|
75
|
-
h,
|
|
76
|
-
{
|
|
77
|
-
disabled: s || r.disabled,
|
|
78
|
-
value: r.value,
|
|
79
|
-
children: r.label
|
|
80
|
-
},
|
|
81
|
-
r.value
|
|
82
|
-
) : /* @__PURE__ */ i(h, { value: r, disabled: s, children: r }, f)) : m
|
|
83
|
-
}
|
|
84
|
-
) });
|
|
85
|
-
}
|
|
86
|
-
M.displayName = "RadioGroup";
|
|
87
|
-
function h(C) {
|
|
88
|
-
const b = L(null), { getPrefixCls: y, componentConfig: d, rtl: N } = G(A), e = D(
|
|
89
|
-
C,
|
|
90
|
-
{},
|
|
91
|
-
d == null ? void 0 : d.Radio
|
|
92
|
-
), a = G(x), o = y("radio"), c = { ...e };
|
|
93
|
-
a.group && (c.checked = a.value === e.value, c.disabled = "disabled" in e ? e.disabled : a.disabled);
|
|
94
|
-
const { disabled: m, children: p, value: v, style: k, className: g, ...s } = c, [l, R] = F(!1, {
|
|
95
|
-
value: c.checked,
|
|
96
|
-
defaultValue: c.defaultChecked
|
|
97
|
-
}), $ = I(
|
|
98
|
-
`${o}${a.type === "button" ? "-button" : ""}`,
|
|
99
|
-
{
|
|
100
|
-
[`${o}-checked`]: l,
|
|
101
|
-
[`${o}-disabled`]: m,
|
|
102
|
-
[`${o}-rtl`]: N
|
|
103
|
-
},
|
|
104
|
-
g
|
|
105
|
-
), n = (t) => {
|
|
106
|
-
var f;
|
|
107
|
-
const { onChange: u, value: r } = c;
|
|
108
|
-
m || (a.group ? (f = a.onChangeValue) == null || f.call(a, r, t) : !("checked" in e) && !l && R(!0), !l && (u == null || u(!0, t)));
|
|
109
|
-
}, P = B.useCallback(
|
|
110
|
-
(t) => {
|
|
111
|
-
var u;
|
|
112
|
-
j(e.children) && (t.preventDefault(), b.current && b.current.click()), (u = s.onClick) == null || u.call(s, t);
|
|
113
|
-
},
|
|
114
|
-
[e.children, s.onClick]
|
|
115
|
-
);
|
|
116
|
-
return /* @__PURE__ */ z(
|
|
117
|
-
"label",
|
|
118
|
-
{
|
|
119
|
-
...S(s, ["checked", "onChange"]),
|
|
120
|
-
onClick: P,
|
|
121
|
-
style: k,
|
|
122
|
-
className: $,
|
|
123
|
-
children: [
|
|
124
|
-
/* @__PURE__ */ i(
|
|
125
|
-
"input",
|
|
126
|
-
{
|
|
127
|
-
ref: b,
|
|
128
|
-
disabled: m,
|
|
129
|
-
value: v || "",
|
|
130
|
-
type: "radio",
|
|
131
|
-
...a.name ? { name: a.name } : {},
|
|
132
|
-
checked: l,
|
|
133
|
-
onChange: (t) => {
|
|
134
|
-
t.persist(), n(t);
|
|
135
|
-
},
|
|
136
|
-
onClick: (t) => {
|
|
137
|
-
t.stopPropagation();
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
),
|
|
141
|
-
j(p) ? p({ checked: l }) : a.type === "radio" ? /* @__PURE__ */ z(O, { children: [
|
|
142
|
-
/* @__PURE__ */ i(
|
|
143
|
-
Q,
|
|
144
|
-
{
|
|
145
|
-
prefix: o,
|
|
146
|
-
className: `${o}-mask-wrapper`,
|
|
147
|
-
disabled: l || m,
|
|
148
|
-
children: /* @__PURE__ */ i("div", { className: `${o}-mask` })
|
|
149
|
-
}
|
|
150
|
-
),
|
|
151
|
-
!w(p) && /* @__PURE__ */ i("span", { className: `${o}-text`, children: p })
|
|
152
|
-
] }) : a.type === "button" && /* @__PURE__ */ i("span", { className: `${o}-button-inner`, children: p })
|
|
153
|
-
]
|
|
154
|
-
}
|
|
155
|
-
);
|
|
156
|
-
}
|
|
157
|
-
h.__PQB_RADIO = !0;
|
|
158
|
-
h.displayName = "Radio";
|
|
159
|
-
h.Group = M;
|
|
160
|
-
h.GroupContext = x;
|
|
161
|
-
export {
|
|
162
|
-
ne as C,
|
|
163
|
-
M as G,
|
|
164
|
-
h as R,
|
|
165
|
-
x as a
|
|
166
|
-
};
|