@unicom-cloud/ui 0.8.113 → 0.8.115

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. package/Affix.js +2 -2
  2. package/Alert.js +2 -2
  3. package/AutoComplete.js +1 -1
  4. package/BackTop.js +3 -3
  5. package/Badge.js +2 -2
  6. package/Breadcrumb.js +2 -2
  7. package/Button.js +1 -1
  8. package/Calendar.js +1 -1
  9. package/Card.js +1 -1
  10. package/Carousel.js +1 -1
  11. package/Cascader.js +1 -1
  12. package/Checkbox.js +1 -1
  13. package/ColorPicker.js +1 -1
  14. package/Comment.js +1 -1
  15. package/ConfigProvider.js +1 -1
  16. package/Copy.js +1 -1
  17. package/Countdown.js +4 -4
  18. package/DatePicker.js +1 -1
  19. package/Descriptions.js +1 -1
  20. package/Details.js +4 -4
  21. package/Development.js +1 -1
  22. package/Divider.js +1 -1
  23. package/Draggable.js +1 -1
  24. package/Dropdown.js +2 -2
  25. package/Empty.js +1 -1
  26. package/Flex.js +4 -4
  27. package/Form.js +1 -1
  28. package/Icon.js +1 -1
  29. package/IconHover.js +1 -1
  30. package/Image.js +1 -1
  31. package/InputNumber.js +1 -1
  32. package/Layout.js +1 -1
  33. package/Link.js +1 -1
  34. package/LiquidFill.js +4 -4
  35. package/List.js +6 -5
  36. package/Loading.js +4 -4
  37. package/Marquee.js +7 -6
  38. package/Mentions.js +1 -1
  39. package/Menu.js +1 -1
  40. package/Message.js +2 -2
  41. package/Modal.js +1 -1
  42. package/Notice.js +4 -4
  43. package/Notification.js +2 -2
  44. package/OverflowEllipsis.js +1 -1
  45. package/PageHeader.js +1 -1
  46. package/Pagination.js +4 -2
  47. package/Popconfirm.js +1 -1
  48. package/Popover.js +1 -1
  49. package/Progress.js +1 -1
  50. package/QrCode.js +7 -7
  51. package/Radio.js +1 -1
  52. package/Rate.js +1 -1
  53. package/ResizeBox.js +2 -2
  54. package/Result.js +1 -1
  55. package/RichText.js +1 -1
  56. package/Segmented.js +4 -4
  57. package/Skeleton.js +1 -1
  58. package/Slider.js +2 -2
  59. package/Space.js +4 -4
  60. package/Spin.js +1 -1
  61. package/Statistic.js +1 -1
  62. package/Steps.js +1 -1
  63. package/Switch.js +2 -2
  64. package/Table.js +1 -1
  65. package/Tabs.js +1 -1
  66. package/Tag.js +1 -1
  67. package/Tooltip.js +1 -1
  68. package/Tour.js +4 -4
  69. package/Transfer.js +1 -1
  70. package/Tree.js +1 -1
  71. package/TreeSelect.js +1 -1
  72. package/Trigger.js +3 -3
  73. package/affix/index.js +2 -2
  74. package/alert/index.js +2 -2
  75. package/anchor/Anchor.js +2 -2
  76. package/anchor/Link.js +1 -1
  77. package/app/App.js +2 -2
  78. package/auto-complete/index.js +1 -1
  79. package/avatar/Avatar.js +1 -1
  80. package/avatar/Group.js +1 -1
  81. package/back-top/index.js +3 -3
  82. package/badge/Count.js +1 -1
  83. package/badge/index.js +2 -2
  84. package/breadcrumb/index.js +2 -2
  85. package/button/Group.js +1 -1
  86. package/button/index.js +1 -1
  87. package/calendar/index.js +2 -2
  88. package/card/Grid.js +1 -1
  89. package/card/Meta.js +1 -1
  90. package/card/index.js +1 -1
  91. package/carousel/Arrow.js +1 -1
  92. package/carousel/Indicator.js +1 -1
  93. package/carousel/index.js +1 -1
  94. package/cascader/Cascader.js +2 -2
  95. package/cascader/index.js +1 -1
  96. package/cascader/util.js +1 -1
  97. package/checkbox/Checkbox.js +2 -2
  98. package/checkbox/Group.js +2 -2
  99. package/checkbox/GroupBlock.js +2 -2
  100. package/checkbox/index.js +2 -2
  101. package/chunk/{C6A94b7f.js → BcWPf1id.js} +1 -1
  102. package/chunk/BcdTSJks.js +48 -0
  103. package/chunk/{RjJoagzL.js → CEAeR6xB.js} +1 -1
  104. package/chunk/{yWKJUe_w.js → CKojyqln.js} +4 -4
  105. package/chunk/{DrYaod6k.js → CRgtPpMG.js} +1 -1
  106. package/chunk/{3t4FwEoB.js → CVjWKHBo.js} +1 -1
  107. package/chunk/{DB0hUIM1.js → CYPFoLks.js} +4 -4
  108. package/chunk/{D0dVE1v1.js → CcH9qbbg.js} +418 -416
  109. package/chunk/{Bzx5BueA.js → Ch4iApRQ.js} +2 -2
  110. package/chunk/{CbXCgtzv.js → Cs9GrNJa.js} +5 -5
  111. package/chunk/CxbF1opI.js +231 -0
  112. package/chunk/{CRdegvoa.js → D3F0iWPu.js} +1 -1
  113. package/chunk/{DzlfiVe2.js → D6I1_o6O.js} +1 -1
  114. package/chunk/{DA5AMZwY.js → DPDyV8yt.js} +3 -3
  115. package/chunk/{B--6x-RL.js → DQ8_XXrH.js} +1 -1
  116. package/chunk/{hc_ufgVf.js → DmHIX8hU.js} +166 -121
  117. package/chunk/{CYDaUML7.js → DstheLSK.js} +4 -4
  118. package/chunk/{BHAu6wbC.js → HFPyZ48d.js} +37 -35
  119. package/chunk/{Bcl7dWlJ.js → efH9HX0H.js} +3 -3
  120. package/chunk/exc7v_Hl.js +53 -0
  121. package/collapse/Collapse.js +2 -2
  122. package/collapse/Item.js +2 -2
  123. package/color-picker/ControlBar.js +1 -1
  124. package/color-picker/InputAlpha.js +1 -1
  125. package/color-picker/InputHex.js +1 -1
  126. package/color-picker/InputRgb.js +1 -1
  127. package/color-picker/Palette.js +1 -1
  128. package/color-picker/Panel.js +2 -2
  129. package/color-picker/index.js +1 -1
  130. package/comment/index.js +1 -1
  131. package/config-provider/ConfigProvider.js +1 -1
  132. package/config-provider/context.js +1 -1
  133. package/config-provider/index.js +2 -2
  134. package/copy/index.js +1 -1
  135. package/countdown/index.js +4 -4
  136. package/date-picker/Picker.js +1 -1
  137. package/date-picker/RangePicker.js +2 -2
  138. package/date-picker/index.js +1 -1
  139. package/descriptions/index.js +1 -1
  140. package/details/index.js +4 -4
  141. package/development/index.js +1 -1
  142. package/divider/index.js +1 -1
  143. package/draggable/index.js +1 -1
  144. package/drawer/Drawer.js +89 -93
  145. package/dropdown/Button.js +1 -1
  146. package/dropdown/index.js +2 -2
  147. package/empty/index.js +1 -1
  148. package/flex/index.js +4 -4
  149. package/form/Control.js +115 -103
  150. package/form/Form.js +2 -2
  151. package/form/FormItem.js +2 -2
  152. package/form/index.js +1 -1
  153. package/form/promisify.js +10 -19
  154. package/form/store.js +3 -3
  155. package/form/util.js +62 -52
  156. package/grid/Grid.js +1 -1
  157. package/grid/Item.js +1 -1
  158. package/hooks/index.js +3 -3
  159. package/hooks/useInView.js +1 -1
  160. package/hooks/useIntersectionObserver.js +1 -1
  161. package/hooks/useOverrideRef.js +1 -1
  162. package/hooks/useWatermark.js +1 -1
  163. package/icon/addFromIconFontCn.js +1 -1
  164. package/icon/index.js +2 -2
  165. package/icon-hover/index.js +1 -1
  166. package/icons/file.js +1 -1
  167. package/image/Image.js +3 -3
  168. package/image/ImagePreview.js +6 -6
  169. package/image/ImagePreviewArrow.js +1 -1
  170. package/image/ImagePreviewGroup.js +1 -1
  171. package/image/index.js +1 -1
  172. package/index.js +739 -726
  173. package/input/Button.js +1 -1
  174. package/input/Group.js +1 -1
  175. package/input/Input.js +2 -2
  176. package/input/InputElement.js +1 -1
  177. package/input/Password.js +1 -1
  178. package/input/Search.js +1 -1
  179. package/input/Textarea.js +1 -1
  180. package/input/autoSizeTextAreaHeight.js +29 -20
  181. package/input-number/index.js +1 -1
  182. package/input-tag/InputTag.js +2 -2
  183. package/layout/Content.js +1 -1
  184. package/layout/Footer.js +1 -1
  185. package/layout/Header.js +1 -1
  186. package/layout/Sider.js +1 -1
  187. package/layout/index.js +1 -1
  188. package/link/index.js +1 -1
  189. package/liquid-fill/index.js +4 -4
  190. package/list/Item.js +1 -1
  191. package/list/Meta.js +1 -1
  192. package/list/index.js +2 -1
  193. package/loading/index.js +4 -4
  194. package/locale/en-US.js +5 -3
  195. package/locale/tr-TR.js +5 -3
  196. package/marquee/index.js +7 -6
  197. package/marquee-/index.js +7 -6
  198. package/mentions/index.js +1 -1
  199. package/menu/Menu.js +2 -2
  200. package/menu/OverflowWrap.js +1 -1
  201. package/menu/index.js +2 -2
  202. package/message/index.js +2 -2
  203. package/message/useMessage.js +1 -1
  204. package/modal/Confirm.js +2 -2
  205. package/modal/Modal.js +5 -5
  206. package/modal/index.js +2 -2
  207. package/notice/index.js +4 -4
  208. package/notification/index.js +2 -2
  209. package/notification/useNotification.js +1 -1
  210. package/overflow-ellipsis/OverflowItem.js +1 -1
  211. package/overflow-ellipsis/index.js +1 -1
  212. package/package.json +1 -1
  213. package/page-header/index.js +1 -1
  214. package/pagination/PageItem.js +1 -1
  215. package/pagination/PageJumper.js +1 -1
  216. package/pagination/PageOption.js +103 -31
  217. package/pagination/Pagination.js +38 -35
  218. package/pagination/index.js +2 -0
  219. package/picker/Input.js +1 -1
  220. package/picker/InputRange.js +1 -1
  221. package/popconfirm/index.js +1 -1
  222. package/popover/index.js +1 -1
  223. package/progress/index.js +1 -1
  224. package/qr-code/index.js +1233 -45
  225. package/radio/Group.js +2 -2
  226. package/radio/GroupBlock.js +2 -2
  227. package/radio/Radio.js +2 -2
  228. package/radio/index.js +2 -2
  229. package/rate/index.js +1 -1
  230. package/resize-box/ResizeTrigger.js +1 -1
  231. package/resize-box/Split.js +2 -2
  232. package/resize-box/SplitGroup.js +2 -2
  233. package/resize-box/index.js +2 -2
  234. package/result/index.js +1 -1
  235. package/rich-text/index.js +1 -1
  236. package/row-col/Col-.js +1 -1
  237. package/row-col/Col.js +1 -1
  238. package/row-col/Row.js +1 -1
  239. package/segmented/index.js +21 -21
  240. package/select/Option.js +1 -1
  241. package/select/Select.js +2 -2
  242. package/select-view/Core.js +1 -1
  243. package/skeleton/index.js +1 -1
  244. package/slider/Button.js +2 -2
  245. package/slider/index.js +2 -2
  246. package/space/index.js +4 -4
  247. package/spin/DotLoading.js +1 -1
  248. package/spin/index.js +1 -1
  249. package/splitter/Panel.js +1 -1
  250. package/splitter/SplitBar.js +2 -2
  251. package/splitter/Splitter.js +2 -2
  252. package/statistic/index.js +1 -1
  253. package/steps/index.js +1 -1
  254. package/style.css +1 -1
  255. package/switch/index.js +2 -2
  256. package/table/Table.js +5 -4
  257. package/table/index.js +4 -4
  258. package/tabs/Tab.js +2 -2
  259. package/tabs/TabContent.js +2 -2
  260. package/tabs/TabPane.js +1 -1
  261. package/tabs/index.js +2 -2
  262. package/tag/index.js +1 -1
  263. package/time-picker/Picker.js +1 -1
  264. package/time-picker/TimePicker.js +1 -1
  265. package/timeline/Item.js +1 -1
  266. package/timeline/Timeline.js +1 -1
  267. package/tooltip/index.js +1 -1
  268. package/tour/index.js +4 -4
  269. package/transfer/Item.js +2 -2
  270. package/transfer/List.js +2 -2
  271. package/transfer/index.js +1 -1
  272. package/tree/Animation.js +3 -3
  273. package/tree/Node.js +3 -3
  274. package/tree/NodeList.js +1 -1
  275. package/tree/Tree.js +2 -2
  276. package/tree/index.js +1 -1
  277. package/tree-select/Select.js +2 -2
  278. package/tree-select/index.js +1 -1
  279. package/trigger/getPopupStyle.js +1 -1
  280. package/trigger/index.js +145 -145
  281. package/types/common/hooks/useWindowSize.d.ts +4 -4
  282. package/types/common/utils/dom.d.ts +1 -1
  283. package/types/common/utils/lodash.d.ts +2 -1
  284. package/types/common/utils/reactDOM.d.ts +10 -1
  285. package/types/common/utils/validate.d.ts +2 -0
  286. package/types/pc/form/interface.d.ts +6 -1
  287. package/types/pc/form/promisify.d.ts +5 -0
  288. package/types/pc/form/store.d.ts +1 -1
  289. package/types/pc/form/util.d.ts +1 -1
  290. package/types/pc/input/autoSizeTextAreaHeight.d.ts +4 -2
  291. package/types/pc/pagination/PageOption.d.ts +3 -0
  292. package/types/pc/pagination/index.d.ts +2 -0
  293. package/types/pc/pagination/interface.d.ts +5 -0
  294. package/types/pc/qr-code/examples/demo.d.ts +1 -0
  295. package/types/pc/qr-code/examples/download.d.ts +2 -0
  296. package/types/pc/qr-code/examples/full.d.ts +2 -0
  297. package/types/pc/qr-code/examples/image.d.ts +2 -0
  298. package/types/pc/qr-code/index.d.ts +2 -0
  299. package/types/pc/qr-code/src/index.d.ts +116 -0
  300. package/types/pc/qr-code/src/qrcodegen.d.ts +95 -0
  301. package/types/pc/qr-code/src/qrcodegen2.d.ts +325 -0
  302. package/types/pc/utils/validate.d.ts +1 -1
  303. package/typography/Base.js +1 -1
  304. package/typography/Ellipsis.js +2 -2
  305. package/typography/Paragraph.js +1 -1
  306. package/typography/Typography.js +1 -1
  307. package/upload/TriggerNode.js +1 -1
  308. package/upload/Upload.js +2 -2
  309. package/upload/Uploader.js +1 -1
  310. package/upload/request_.js +1972 -41
  311. package/utils/PqbCSSTransition.js +1 -1
  312. package/utils/contextHolder.js +1 -1
  313. package/utils/dom.js +1 -1
  314. package/utils/index.js +247 -235
  315. package/utils/lodash.js +33 -32
  316. package/utils/react19Adapter.js +1 -1
  317. package/utils/reactDOM.js +1 -1
  318. package/utils/validate.js +15 -5
  319. package/verification-code/VerificationCode.js +1 -1
  320. package/version/index.js +1 -1
  321. package/virtual-list/VirtualList.js +1 -1
  322. package/watermark/Watermark.js +1 -1
  323. package/chunk/CXrVhA6-.js +0 -54
  324. package/chunk/De8RLlOK.js +0 -231
  325. package/chunk/d1c9z8T1.js +0 -49
@@ -3,7 +3,7 @@ import Ke from "@unicom-cloud/icons/IconUiMenuFold";
3
3
  import De from "@unicom-cloud/icons/IconUiMenuUnfold";
4
4
  import Re from "lodash/isPlainObject";
5
5
  import H, { useContext as A, useState as me, forwardRef as fe, useEffect as oe, useRef as ne, useMemo as _e } from "react";
6
- import { a as he } from "./CYDaUML7.js";
6
+ import { a as he } from "./DstheLSK.js";
7
7
  import { u as Ae } from "./BJeTDXdz.js";
8
8
  import { u as te } from "./gJsdBcpG.js";
9
9
  import { u as Te } from "./Bvxzb1wd.js";
@@ -21,7 +21,7 @@ import ge from "@unicom-cloud/icons/IconUiDown";
21
21
  import { u as Ve } from "./Cy26_CKq.js";
22
22
  import Ce from "../menu/Indent.js";
23
23
  import { isChildrenSelected as Me, processChildren as ye, PROPS_NEED_TO_BE_PASSED_IN_SUBMENU as We, generateInfoMap as Fe } from "../menu/util.js";
24
- import { P as je } from "./B--6x-RL.js";
24
+ import { P as je } from "./DQ8_XXrH.js";
25
25
  import { Enter as be, ArrowLeft as qe, ArrowRight as Ge } from "@unicom-cloud/utils/constant/keyboardCode";
26
26
  import { p as Qe } from "./ClqoGc3r.js";
27
27
  import Ye from "@unicom-cloud/icons/IconUiLeft";
@@ -12,7 +12,7 @@ import Ct from "@unicom-cloud/icons/IconUiZoomIn";
12
12
  import It from "@unicom-cloud/icons/IconUiZoomOut";
13
13
  import St from "lodash/isUndefined";
14
14
  import { useState as p, forwardRef as wt, useContext as ge, useRef as x, useMemo as he, useImperativeHandle as Pt, useCallback as Lt, useEffect as v } from "react";
15
- import { a as Nt, b as zt } from "./CYDaUML7.js";
15
+ import { a as Nt, b as zt } from "./DstheLSK.js";
16
16
  import "./DsaQZE4X.js";
17
17
  import "@unicom-cloud/utils/constant/platform";
18
18
  import "./CdXR6dj7.js";
@@ -31,14 +31,14 @@ import { u as At } from "./2vdCeheu.js";
31
31
  import { ArrowDown as Tt, ArrowUp as Et, ArrowLeft as Ot, ArrowRight as $t, Esc as Rt } from "@unicom-cloud/utils/constant/keyboardCode";
32
32
  import "lodash/isNumber";
33
33
  import "lodash/merge";
34
- import { a as Ut, b as j, o as H } from "./d1c9z8T1.js";
35
- import "./RjJoagzL.js";
34
+ import { a as Ut, b as j, o as H } from "./BcdTSJks.js";
35
+ import "./CEAeR6xB.js";
36
36
  import { u as Dt } from "./FgWHhRFz.js";
37
37
  import { u as Vt } from "./BqWBaRtM.js";
38
- import { f as Yt } from "./CXrVhA6-.js";
38
+ import { f as Yt } from "./exc7v_Hl.js";
39
39
  import "@unicom-cloud/utils/constant";
40
40
  import Xt from "../portal/index.js";
41
- import { P as ve } from "./B--6x-RL.js";
41
+ import { P as ve } from "./DQ8_XXrH.js";
42
42
  import be from "@unicom-cloud/utils/class-name";
43
43
  import Bt from "@unicom-cloud/utils/clipboard-copy";
44
44
  import { r as Ft } from "./CHQ8c547.js";
@@ -0,0 +1,231 @@
1
+ import { jsx as a, jsxs as v, Fragment as L } from "react/jsx-runtime";
2
+ import _ from "lodash/isFunction";
3
+ import Q from "lodash/isNil";
4
+ import S, { createContext as q, useContext as y, useRef as J } from "react";
5
+ import { a as w, I as K } from "./DstheLSK.js";
6
+ import { u as B } from "./FgWHhRFz.js";
7
+ import { u as A } from "./2vdCeheu.js";
8
+ import R from "@unicom-cloud/utils/class-name";
9
+ import { o as U } from "./BKKEev13.js";
10
+ import W from "lodash/isArray";
11
+ import X from "lodash/isPlainObject";
12
+ import { pickTriggerPropsFromRest as Y } from "../utils/constant.js";
13
+ import { a as Z } from "./ClqoGc3r.js";
14
+ import j from "../typography/index.js";
15
+ const D = {
16
+ type: "radio"
17
+ }, ee = {
18
+ type: "radio",
19
+ mode: "outline",
20
+ direction: "horizontal"
21
+ }, P = q(D), Ce = ({ children: m }) => /* @__PURE__ */ a(P.Provider, { value: D, children: m });
22
+ function F(m) {
23
+ const {
24
+ getPrefixCls: f,
25
+ size: $,
26
+ componentConfig: k,
27
+ rtl: C
28
+ } = y(w), e = B(
29
+ m,
30
+ ee,
31
+ k?.RadioGroup
32
+ ), {
33
+ style: t,
34
+ className: s,
35
+ name: o,
36
+ children: r,
37
+ direction: n,
38
+ type: b,
39
+ mode: g,
40
+ options: h,
41
+ disabled: p
42
+ } = e, [d, G] = A(void 0, {
43
+ defaultValue: e.defaultValue,
44
+ value: e.value
45
+ }), N = e.size || $, l = f?.("radio"), V = R(
46
+ `${l}-group`,
47
+ {
48
+ [`${l}-group-type-button`]: b !== "radio",
49
+ [`${l}-size-${N}`]: !!N,
50
+ [`${l}-mode-${g}`]: !!g,
51
+ [`${l}-group-disabled`]: p,
52
+ [`${l}-group-direction-horizontal`]: n === "horizontal",
53
+ // 潘启宝添加
54
+ [`${l}-group-direction-vertical`]: n === "vertical",
55
+ [`${l}-group-rtl`]: C
56
+ },
57
+ s
58
+ ), z = {
59
+ onChangeValue: (c, x) => {
60
+ const { onChange: E } = e;
61
+ c !== d && ("value" in e || G(c), E?.(c, x));
62
+ },
63
+ type: b,
64
+ value: d,
65
+ disabled: p,
66
+ group: !0,
67
+ name: o
68
+ };
69
+ return /* @__PURE__ */ a(P.Provider, { value: z, children: /* @__PURE__ */ a(
70
+ "div",
71
+ {
72
+ className: V,
73
+ role: "radiogroup",
74
+ style: t,
75
+ ...Y(e),
76
+ ...Z(e),
77
+ children: h && W(h) ? h.map((c, x, E) => {
78
+ const { value: T, label: M, disabled: O, ...H } = c;
79
+ return X(c) ? /* @__PURE__ */ a(
80
+ u,
81
+ {
82
+ ...H,
83
+ disabled: p || O,
84
+ value: T,
85
+ children: M
86
+ },
87
+ T + x
88
+ ) : /* @__PURE__ */ a(u, { value: c, disabled: p, children: c }, x);
89
+ }) : r
90
+ }
91
+ ) });
92
+ }
93
+ F.displayName = "RadioGroup";
94
+ const oe = {};
95
+ function I(m) {
96
+ const { getPrefixCls: f, componentConfig: $, rtl: k } = y(w), C = B(
97
+ m,
98
+ oe,
99
+ $?.["Radio.Block"]
100
+ ), { className: e, options: t, ...s } = C, o = f?.("radio-group-block");
101
+ return /* @__PURE__ */ a(
102
+ u.Group,
103
+ {
104
+ className: R(`${o}`, e),
105
+ ...s,
106
+ onChange: (r, n) => {
107
+ C.onChange?.(r, n);
108
+ },
109
+ children: t.map((r, n, b) => /* @__PURE__ */ a(u, { value: r.value, children: ({ checked: g }) => /* @__PURE__ */ v(
110
+ "div",
111
+ {
112
+ style: { width: r.width },
113
+ className: R(
114
+ `${o}-card`,
115
+ g && `${o}-card-checked`
116
+ ),
117
+ children: [
118
+ /* @__PURE__ */ a("div", { className: `${o}-card-mask`, children: /* @__PURE__ */ a("div", { className: `${o}-card-mask-dot` }) }),
119
+ /* @__PURE__ */ v("div", { className: `${o}-card-content`, children: [
120
+ /* @__PURE__ */ a(
121
+ j.Ellipsis,
122
+ {
123
+ className: `${o}-card-content-title`,
124
+ rows: 1,
125
+ showTooltip: !0,
126
+ expandable: !1,
127
+ onExpand: (h) => {
128
+ },
129
+ children: r.title
130
+ }
131
+ ),
132
+ /* @__PURE__ */ a(
133
+ j.Ellipsis,
134
+ {
135
+ className: `${o}-card-content-desc`,
136
+ rows: 1,
137
+ showTooltip: !0,
138
+ expandable: !1,
139
+ onExpand: (h) => {
140
+ },
141
+ children: r.desc
142
+ }
143
+ )
144
+ ] })
145
+ ]
146
+ }
147
+ ) }, (r.title ?? "") + n))
148
+ }
149
+ );
150
+ }
151
+ I.displayName = "RadioGroupBlock";
152
+ function u(m) {
153
+ const f = J(null), { getPrefixCls: $, componentConfig: k, rtl: C } = y(w), e = B(
154
+ m,
155
+ {},
156
+ k?.Radio
157
+ ), t = y(P), s = $?.("radio"), o = { ...e };
158
+ t.group && (o.checked = t.value === e.value, o.disabled = "disabled" in e ? e.disabled : t.disabled);
159
+ const { disabled: r, children: n, value: b, style: g, className: h, ...p } = o, [d, G] = A(!1, {
160
+ value: o.checked,
161
+ defaultValue: o.defaultChecked
162
+ }), N = R(
163
+ `${s}${t.type === "button" ? "-button" : ""}`,
164
+ {
165
+ [`${s}-checked`]: d,
166
+ [`${s}-disabled`]: r,
167
+ [`${s}-rtl`]: C
168
+ },
169
+ h
170
+ ), l = (i) => {
171
+ const { onChange: z, value: c } = o;
172
+ r || (t.group ? t.onChangeValue?.(c, i) : !("checked" in e) && !d && G(!0), !d && z?.(!0, i));
173
+ }, V = S.useCallback(
174
+ (i) => {
175
+ _(e.children) && (i.preventDefault(), f.current && f.current.click()), p.onClick?.(i);
176
+ },
177
+ [e.children, p.onClick]
178
+ );
179
+ return /* @__PURE__ */ v(
180
+ "label",
181
+ {
182
+ ...U(p, ["checked", "onChange"]),
183
+ onClick: V,
184
+ style: g,
185
+ className: N,
186
+ children: [
187
+ /* @__PURE__ */ a(
188
+ "input",
189
+ {
190
+ ref: f,
191
+ disabled: r,
192
+ value: b || "",
193
+ type: "radio",
194
+ ...t.name ? { name: t.name } : {},
195
+ checked: d,
196
+ onChange: (i) => {
197
+ i.persist(), l(i);
198
+ },
199
+ onClick: (i) => {
200
+ i.stopPropagation();
201
+ }
202
+ }
203
+ ),
204
+ _(n) ? n({ checked: d }) : t.type === "radio" ? /* @__PURE__ */ v(L, { children: [
205
+ /* @__PURE__ */ a(
206
+ K,
207
+ {
208
+ prefix: s,
209
+ className: `${s}-mask-wrapper`,
210
+ disabled: d || r,
211
+ children: /* @__PURE__ */ a("div", { className: `${s}-mask` })
212
+ }
213
+ ),
214
+ !Q(n) && /* @__PURE__ */ a("span", { className: `${s}-text`, children: n })
215
+ ] }) : t.type === "button" && /* @__PURE__ */ a("span", { className: `${s}-button-inner`, children: n })
216
+ ]
217
+ }
218
+ );
219
+ }
220
+ u.__PQB_RADIO = !0;
221
+ u.displayName = "Radio";
222
+ u.Group = F;
223
+ u.GroupBlock = I;
224
+ u.GroupContext = P;
225
+ export {
226
+ Ce as C,
227
+ F as G,
228
+ u as R,
229
+ I as a,
230
+ P as b
231
+ };
@@ -1,6 +1,6 @@
1
1
  import f, { useCallback as s, isValidElement as u, cloneElement as c } from "react";
2
2
  import { s as l } from "./DsaQZE4X.js";
3
- import { c as a } from "./CXrVhA6-.js";
3
+ import { c as a } from "./exc7v_Hl.js";
4
4
  function R() {
5
5
  const r = f.useRef(null);
6
6
  return [s((e) => u(e) && l(e) ? c(e, {
@@ -4,7 +4,7 @@ import K from "@unicom-cloud/icons/IconUiLeft";
4
4
  import Q from "@unicom-cloud/icons/IconUiRight";
5
5
  import W from "@unicom-cloud/icons/IconUiUp";
6
6
  import Y, { useContext as Z, useState as I, useEffect as _ } from "react";
7
- import { a as ee } from "./CYDaUML7.js";
7
+ import { a as ee } from "./DstheLSK.js";
8
8
  import d from "@unicom-cloud/utils/class-name";
9
9
  function z(a) {
10
10
  const u = Y.useRef();
@@ -2,7 +2,7 @@ import { jsx as f, jsxs as K } from "react/jsx-runtime";
2
2
  import se from "lodash/isFunction";
3
3
  import ye from "lodash/isPlainObject";
4
4
  import q, { useContext as te, useRef as U, useState as ve, useEffect as B, useMemo as ne, useCallback as at, useImperativeHandle as st } from "react";
5
- import { a as Te, I as de } from "./CYDaUML7.js";
5
+ import { a as Te, I as de } from "./DstheLSK.js";
6
6
  import { u as ct } from "./gJsdBcpG.js";
7
7
  import { u as lt } from "./FgWHhRFz.js";
8
8
  import { u as dt } from "./2vdCeheu.js";
@@ -12,14 +12,14 @@ import ft from "../tabs/TabPane.js";
12
12
  import ut from "@unicom-cloud/icons/IconUiPlus";
13
13
  import ge from "lodash/isNumber";
14
14
  import ht from "lodash/throttle";
15
- import { b as ie, o as Ae } from "./d1c9z8T1.js";
15
+ import { b as ie, o as Ae } from "./BcdTSJks.js";
16
16
  import { getRectDiff as xe, getKeyDownEvent as Xe, updateScrollOffset as pt } from "../tabs/util.js";
17
17
  import { r as ae } from "./CHQ8c547.js";
18
18
  import { setTransformStyle as mt } from "../utils/style.js";
19
19
  import Ye from "@unicom-cloud/icons/IconUiDown";
20
20
  import je from "lodash/isNull";
21
21
  import bt from "../dropdown/index.js";
22
- import { M as We } from "./Bzx5BueA.js";
22
+ import { M as We } from "./Ch4iApRQ.js";
23
23
  import gt from "lodash/isEqualWith";
24
24
  import vt from "../utils/throttleByRaf.js";
25
25
  import Ee from "@unicom-cloud/icons/IconUiLeft";
@@ -2,7 +2,7 @@ import { jsx as m } from "react/jsx-runtime";
2
2
  import { c as u } from "./BJ9_azwQ.js";
3
3
  import { useRef as f, useMemo as s, isValidElement as a, cloneElement as l } from "react";
4
4
  import { s as E } from "./DsaQZE4X.js";
5
- import { f as R, c as x } from "./CXrVhA6-.js";
5
+ import { f as R, c as x } from "./exc7v_Hl.js";
6
6
  function O(r) {
7
7
  const { children: e, ...i } = r, t = f(void 0), o = f(void 0), c = s(() => r.nodeRef === void 0 && E(e) && a(e) ? (o.current = !0, l(e, {
8
8
  ref(n) {