@unicom-cloud/ui 0.8.73 → 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.
Files changed (290) hide show
  1. package/Affix.js +2 -2
  2. package/Alert.js +3 -3
  3. package/AutoComplete.js +2 -2
  4. package/BackTop.js +4 -4
  5. package/Badge.js +3 -3
  6. package/Breadcrumb.js +3 -3
  7. package/Button.js +2 -2
  8. package/Calendar.js +3 -3
  9. package/Card.js +2 -2
  10. package/Carousel.js +2 -2
  11. package/Cascader.js +1 -1
  12. package/Checkbox.js +1 -1
  13. package/Collapse.js +1 -1
  14. package/ColorPicker.js +2 -2
  15. package/Comment.js +2 -2
  16. package/ConfigProvider.js +1 -1
  17. package/Copy.js +3 -3
  18. package/DatePicker.js +1 -1
  19. package/Descriptions.js +2 -2
  20. package/Divider.js +2 -2
  21. package/Draggable.js +2 -2
  22. package/Dropdown.js +2 -2
  23. package/Empty.js +2 -2
  24. package/Icon.js +2 -2
  25. package/IconHover.js +2 -2
  26. package/Image.js +1 -1
  27. package/InputNumber.js +2 -2
  28. package/Layout.js +2 -2
  29. package/Link.js +2 -2
  30. package/List.js +2 -2
  31. package/Mentions.js +2 -2
  32. package/Menu.js +1 -1
  33. package/Message.js +4 -4
  34. package/Modal.js +1 -1
  35. package/Notice.js +2 -2
  36. package/Notification.js +4 -4
  37. package/OverflowEllipsis.js +2 -2
  38. package/PageHeader.js +2 -2
  39. package/Popconfirm.js +2 -2
  40. package/Popover.js +2 -2
  41. package/Progress.js +2 -2
  42. package/Radio.js +1 -1
  43. package/Rate.js +2 -2
  44. package/ResizeBox.js +2 -2
  45. package/Result.js +2 -2
  46. package/SelectView.js +1 -1
  47. package/Skeleton.js +2 -2
  48. package/Slider.js +2 -2
  49. package/Space.js +2 -2
  50. package/SpeechSynthesis.js +4 -4
  51. package/Spin.js +2 -2
  52. package/Statistic.js +3 -3
  53. package/Steps.js +2 -2
  54. package/Switch.js +4 -4
  55. package/Table.js +1 -1
  56. package/Tabs.js +1 -1
  57. package/Tag.js +2 -2
  58. package/Tooltip.js +3 -3
  59. package/Transfer.js +2 -2
  60. package/Tree.js +1 -1
  61. package/Trigger.js +3 -3
  62. package/affix/index.js +2 -2
  63. package/alert/index.js +9 -9
  64. package/anchor/Anchor.js +26 -26
  65. package/anchor/Link.js +2 -2
  66. package/anchor/util.js +1 -1
  67. package/auto-complete/index.js +2 -2
  68. package/avatar/Avatar.js +2 -2
  69. package/avatar/Group.js +2 -2
  70. package/back-top/index.js +11 -11
  71. package/badge/Count.js +7 -7
  72. package/badge/index.js +9 -9
  73. package/breadcrumb/Item.js +6 -6
  74. package/breadcrumb/index.js +3 -3
  75. package/button/Group.js +2 -2
  76. package/button/index.js +2 -2
  77. package/calendar/Month.js +2 -2
  78. package/calendar/Year.js +1 -1
  79. package/calendar/index.js +4 -4
  80. package/card/Grid.js +5 -5
  81. package/card/Meta.js +4 -4
  82. package/card/index.js +2 -2
  83. package/carousel/Arrow.js +2 -2
  84. package/carousel/Indicator.js +6 -6
  85. package/carousel/index.js +2 -2
  86. package/cascader/Cascader.js +3 -3
  87. package/cascader/index.js +1 -1
  88. package/cascader/util.js +1 -1
  89. package/checkbox/Checkbox.js +3 -3
  90. package/checkbox/Group.js +3 -3
  91. package/checkbox/index.js +1 -1
  92. package/chunk/{B0UZ1Ee2.js → 9we0Q8Kh.js} +3 -3
  93. package/chunk/{DJDOFlqC.js → BDZpJpz-.js} +2 -2
  94. package/chunk/BFmckYou.js +25 -0
  95. package/chunk/{Cj2SQJiO.js → BJ9_azwQ.js} +487 -487
  96. package/chunk/{7HDzVe32.js → Bd9zhOZS.js} +4 -4
  97. package/chunk/{uKZyjtff.js → BhBEMwvI.js} +21 -20
  98. package/chunk/{uH6uxyao.js → BoUHPeG7.js} +2 -2
  99. package/chunk/{Bj4EV0eG.js → BpYX5PN4.js} +1 -1
  100. package/chunk/{oHDWCJnz.js → Bu8A2l60.js} +3 -3
  101. package/chunk/CUFsOxJ2.js +10 -0
  102. package/chunk/CWjvjpyc.js +873 -0
  103. package/chunk/{Byd0ztYY.js → Crs3isAx.js} +4 -4
  104. package/chunk/{Ey4YJCkX.js → D0Dlbc2g.js} +2 -1
  105. package/chunk/{Dg0M2OmF.js → D5UfU6-H.js} +5 -5
  106. package/chunk/{UDX9U6M7.js → DJ8rDYjb.js} +3 -3
  107. package/chunk/{AwZqeapI.js → DRTWRsgI.js} +1 -1
  108. package/chunk/{D2LLXZQX.js → DdT3C0ih.js} +4 -4
  109. package/chunk/{DejjIa3N.js → Dn7KbmZ7.js} +35 -35
  110. package/chunk/{DpoumMDw.js → DohlrJ4S.js} +1 -1
  111. package/chunk/{B7hulkj9.js → NmSLBKjp.js} +2 -2
  112. package/chunk/{CiY7w1ZO.js → _L2dKF58.js} +3 -3
  113. package/chunk/{BJ1soa2K.js → uEGHykhe.js} +18 -18
  114. package/collapse/Collapse.js +3 -3
  115. package/collapse/Item.js +4 -4
  116. package/collapse/index.js +1 -1
  117. package/color-picker/ControlBar.js +2 -2
  118. package/color-picker/InputAlpha.js +1 -1
  119. package/color-picker/InputHex.js +2 -2
  120. package/color-picker/InputRgb.js +2 -2
  121. package/color-picker/Palette.js +2 -2
  122. package/color-picker/Panel.js +4 -4
  123. package/color-picker/colors.js +20 -9
  124. package/color-picker/index.js +20 -20
  125. package/color-picker/utils.js +1 -1
  126. package/comment/index.js +6 -6
  127. package/config-provider/ConfigProvider.js +2 -2
  128. package/config-provider/context.js +1 -1
  129. package/config-provider/index.js +2 -2
  130. package/copy/index.js +16 -16
  131. package/date-picker/Picker.js +2 -2
  132. package/date-picker/PickerRange.js +3 -3
  133. package/date-picker/index.js +1 -1
  134. package/descriptions/index.js +2 -2
  135. package/divider/index.js +5 -5
  136. package/draggable/Item.js +1 -1
  137. package/draggable/index.js +9 -9
  138. package/drawer/Drawer.js +3 -3
  139. package/dropdown/Button.js +1 -1
  140. package/dropdown/index.js +2 -2
  141. package/empty/index.js +2 -2
  142. package/form/Control.js +1 -1
  143. package/form/Form.js +2 -2
  144. package/form/FormItem.js +3 -3
  145. package/form/FormLabel.js +9 -9
  146. package/grid/Col.js +2 -2
  147. package/grid/Row.js +2 -2
  148. package/grid/grid-item.js +2 -2
  149. package/grid/grid.js +8 -8
  150. package/icon/index.js +11 -11
  151. package/icon-hover/index.js +2 -2
  152. package/image/Image.js +4 -4
  153. package/image/ImageFooter.js +2 -2
  154. package/image/ImagePreview.js +5 -5
  155. package/image/ImagePreviewArrow.js +4 -4
  156. package/image/ImagePreviewGroup.js +1 -1
  157. package/image/ImagePreviewToolbar.js +1 -1
  158. package/image/TriggerForToolbar.js +4 -4
  159. package/image/index.js +1 -1
  160. package/index.js +565 -575
  161. package/input/Group.js +4 -4
  162. package/input/Input.js +45 -45
  163. package/input/InputElement.js +2 -2
  164. package/input/Password.js +2 -2
  165. package/input/Search.js +2 -2
  166. package/input/Textarea.js +2 -2
  167. package/input-number/index.js +2 -2
  168. package/input-tag/InputTag.js +4 -4
  169. package/layout/Content.js +2 -2
  170. package/layout/Footer.js +5 -5
  171. package/layout/Header.js +4 -4
  172. package/layout/Sider.js +2 -2
  173. package/layout/index.js +2 -2
  174. package/link/index.js +5 -5
  175. package/list/Item.js +2 -2
  176. package/list/Meta.js +4 -4
  177. package/list/index.js +2 -2
  178. package/mentions/index.js +2 -2
  179. package/menu/Item.js +5 -5
  180. package/menu/ItemGroup.js +1 -1
  181. package/menu/Menu.js +3 -3
  182. package/menu/OverflowWrap.js +2 -2
  183. package/menu/index.js +2 -2
  184. package/message/index.js +4 -4
  185. package/message/useMessage.js +1 -1
  186. package/modal/Confirm.js +2 -2
  187. package/modal/Modal.js +4 -4
  188. package/modal/index.js +1 -1
  189. package/notice/index.js +2 -2
  190. package/notification/index.js +4 -4
  191. package/notification/useNotification.js +1 -1
  192. package/overflow-ellipsis/OverflowItem.js +6 -6
  193. package/overflow-ellipsis/index.js +8 -8
  194. package/package.json +1 -1
  195. package/page-header/index.js +2 -2
  196. package/pagination/PageItem.js +2 -2
  197. package/pagination/PageJumper.js +1 -1
  198. package/pagination/PageOption.js +1 -1
  199. package/pagination/Pagination.js +23 -23
  200. package/picker/Input.js +7 -7
  201. package/picker/InputRange.js +9 -9
  202. package/popconfirm/index.js +2 -2
  203. package/popover/index.js +2 -2
  204. package/progress/CircleProgress.js +7 -7
  205. package/progress/LineProgess.js +1 -1
  206. package/progress/StepProgress.js +7 -7
  207. package/progress/index.js +8 -8
  208. package/radio/Group.js +3 -3
  209. package/radio/Radio.js +3 -3
  210. package/radio/index.js +2 -2
  211. package/rate/index.js +2 -2
  212. package/resize-box/ResizeTrigger.js +10 -10
  213. package/resize-box/Split.js +12 -12
  214. package/resize-box/SplitGroup.js +2 -2
  215. package/resize-box/index.js +2 -2
  216. package/result/index.js +9 -9
  217. package/select/Option.js +2 -2
  218. package/select/Select.js +3 -3
  219. package/select-view/Core.js +27 -27
  220. package/select-view/index.js +1 -1
  221. package/skeleton/Image.js +4 -4
  222. package/skeleton/Text.js +7 -7
  223. package/skeleton/index.js +2 -2
  224. package/slider/Button.js +2 -2
  225. package/slider/Dot.js +5 -5
  226. package/slider/Input.js +12 -12
  227. package/slider/Tick.js +6 -6
  228. package/slider/index.js +2 -2
  229. package/space/index.js +12 -12
  230. package/speech-synthesis/index.js +4 -4
  231. package/spin/DotLoading.js +1 -1
  232. package/spin/index.js +2 -2
  233. package/statistic/Countdown.js +7 -7
  234. package/statistic/index.js +20 -20
  235. package/steps/Step.js +1 -1
  236. package/steps/index.js +2 -2
  237. package/style.css +1 -1
  238. package/switch/index.js +4 -4
  239. package/table/Table.js +4 -4
  240. package/table/index.js +4 -4
  241. package/tabs/Tab.js +3 -3
  242. package/tabs/TabContent.js +3 -3
  243. package/tabs/TabPane.js +2 -2
  244. package/tabs/index.js +2 -2
  245. package/tag/index.js +6 -6
  246. package/time-picker/Picker.js +2 -2
  247. package/time-picker/TimeColumn.js +7 -7
  248. package/time-picker/TimePicker.js +23 -23
  249. package/time-picker/util.js +5 -5
  250. package/timeline/Item.js +2 -2
  251. package/timeline/Timeline.js +2 -2
  252. package/tooltip/index.js +3 -3
  253. package/transfer/Item.js +3 -3
  254. package/transfer/List.js +3 -3
  255. package/transfer/index.js +2 -2
  256. package/tree/Animation.js +3 -3
  257. package/tree/Node.js +4 -4
  258. package/tree/NodeList.js +1 -1
  259. package/tree/Tree.js +3 -3
  260. package/tree/index.js +1 -1
  261. package/tree-select/Select.js +2 -2
  262. package/trigger/index.js +3 -3
  263. package/types/color-picker/colors.d.ts +1 -1
  264. package/types/utils/color.d.ts +1 -1
  265. package/typography/Base.js +2 -2
  266. package/typography/EditContent.js +1 -1
  267. package/typography/Ellipsis.js +14 -15
  268. package/typography/Paragraph.js +6 -6
  269. package/typography/Typography.js +5 -5
  270. package/typography/index.js +12 -13
  271. package/upload/TriggerNode.js +2 -2
  272. package/upload/Upload.js +5 -5
  273. package/upload/Uploader.js +2 -2
  274. package/utils/PqbCSSTransition.js +1 -1
  275. package/utils/className.js +3 -3
  276. package/utils/color.js +2 -116
  277. package/utils/contextHolder.js +1 -1
  278. package/utils/copy.js +4 -4
  279. package/utils/fileToURL.js +1 -1
  280. package/utils/index.js +299 -309
  281. package/utils/reactTransitionGroup.js +1 -1
  282. package/utils/saveAs.js +1 -1
  283. package/utils/tinycolor.js +12 -12
  284. package/utils/tween.js +1 -1
  285. package/verification-code/VerificationCode.js +7 -7
  286. package/version/index.js +1 -1
  287. package/watermark/Watermark.js +6 -6
  288. package/chunk/CCVU-Kst.js +0 -770
  289. package/chunk/CTxjmYmx.js +0 -19
  290. package/chunk/JPPo5nY_.js +0 -9
@@ -2,7 +2,7 @@ import { jsxs as n, jsx as s } from "react/jsx-runtime";
2
2
  import g from "@unicom-cloud/icons/IconUiExclamationCircleFill";
3
3
  import C from "lodash/isFunction";
4
4
  import { useCallback as k } from "react";
5
- import { m as c } from "../chunk/JPPo5nY_.js";
5
+ import { p as c } from "../chunk/CUFsOxJ2.js";
6
6
  const F = (r) => {
7
7
  const {
8
8
  prefixCls: m,
@@ -11,11 +11,11 @@ const F = (r) => {
11
11
  type: d,
12
12
  formatText: a,
13
13
  trailColor: f,
14
- showText: x = !0,
15
- inlineText: h = !1,
16
- size: p = "default",
14
+ showText: p = !0,
15
+ inlineText: x = !1,
16
+ size: h = "default",
17
17
  status: i = "normal"
18
- } = r, $ = r.strokeWidth || (p === "small" ? 8 : 4), e = `${m}-${d}`, v = $, w = k(() => {
18
+ } = r, $ = r.strokeWidth || (h === "small" ? 8 : 4), e = `${m}-${d}`, v = $, w = k(() => {
19
19
  if (C(a))
20
20
  return a(t);
21
21
  switch (i) {
@@ -56,12 +56,12 @@ const F = (r) => {
56
56
  })
57
57
  }
58
58
  ),
59
- x && /* @__PURE__ */ s(
59
+ p && /* @__PURE__ */ s(
60
60
  "div",
61
61
  {
62
62
  className: c(`${e}-text`, {
63
63
  [`${e}-text-with-icon`]: i,
64
- [`${e}-text-inline`]: h
64
+ [`${e}-text-inline`]: x
65
65
  }),
66
66
  children: w()
67
67
  }
package/progress/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { jsxs as w, jsx as i } from "react/jsx-runtime";
2
2
  import { forwardRef as y, useContext as $ } from "react";
3
- import { a as k } from "../chunk/Byd0ztYY.js";
3
+ import { a as k } from "../chunk/Crs3isAx.js";
4
4
  import { u as S } from "../chunk/BFTV6myl.js";
5
- import { m as T } from "../chunk/JPPo5nY_.js";
5
+ import { p as T } from "../chunk/CUFsOxJ2.js";
6
6
  import { o as N } from "../chunk/BKKEev13.js";
7
7
  import m from "./CircleProgress.js";
8
8
  import W from "./LineProgess.js";
@@ -24,12 +24,12 @@ function z(f, c) {
24
24
  style: x,
25
25
  size: a,
26
26
  width: o,
27
- strokeWidth: p,
27
+ strokeWidth: n,
28
28
  steps: g,
29
29
  percent: C,
30
30
  ...P
31
- } = t, s = g && t.type !== "circle" ? "steps" : t.type, r = h("progress"), e = "status" in t ? t.status : C >= 100 ? "success" : "normal", n = { width: o };
32
- return a === "mini" && s === "line" && (n.width = o || 16, n.height = o || 16), /* @__PURE__ */ w(
31
+ } = t, s = g && t.type !== "circle" ? "steps" : t.type, r = h("progress"), e = "status" in t ? t.status : C >= 100 ? "success" : "normal", p = { width: o };
32
+ return a === "mini" && s === "line" && (p.width = o || 16, p.height = o || 16), /* @__PURE__ */ w(
33
33
  "div",
34
34
  {
35
35
  ref: c,
@@ -43,7 +43,7 @@ function z(f, c) {
43
43
  },
44
44
  u
45
45
  ),
46
- style: { ...n, ...x },
46
+ style: { ...p, ...x },
47
47
  ...N(P, [
48
48
  "type",
49
49
  "animation",
@@ -81,9 +81,9 @@ function z(f, c) {
81
81
  {
82
82
  pathStrokeColor: t.trailColor,
83
83
  ...t,
84
- pathStrokeWidth: p || 4,
84
+ pathStrokeWidth: n || 4,
85
85
  width: o || 16,
86
- strokeWidth: p || 4,
86
+ strokeWidth: n || 4,
87
87
  prefixCls: r,
88
88
  status: e
89
89
  }
package/radio/Group.js CHANGED
@@ -2,13 +2,13 @@ import "react/jsx-runtime";
2
2
  import "lodash/isArray";
3
3
  import "lodash/isPlainObject";
4
4
  import "react";
5
- import "../chunk/Byd0ztYY.js";
5
+ import "../chunk/Crs3isAx.js";
6
6
  import "../chunk/BFTV6myl.js";
7
7
  import "../chunk/DeV0v__J.js";
8
- import "../chunk/JPPo5nY_.js";
8
+ import "../chunk/CUFsOxJ2.js";
9
9
  import "../utils/constant.js";
10
10
  import "../chunk/ClqoGc3r.js";
11
- import { C as x, a as G, G as f } from "../chunk/DJDOFlqC.js";
11
+ import { C as x, a as G, G as f } from "../chunk/BDZpJpz-.js";
12
12
  export {
13
13
  x as ClearRadioGroupContext,
14
14
  G as RadioGroupContext,
package/radio/Radio.js CHANGED
@@ -2,12 +2,12 @@ import "react/jsx-runtime";
2
2
  import "lodash/isFunction";
3
3
  import "lodash/isNil";
4
4
  import "react";
5
- import "../chunk/Byd0ztYY.js";
5
+ import "../chunk/Crs3isAx.js";
6
6
  import "../chunk/BFTV6myl.js";
7
7
  import "../chunk/DeV0v__J.js";
8
- import "../chunk/JPPo5nY_.js";
8
+ import "../chunk/CUFsOxJ2.js";
9
9
  import "../chunk/BKKEev13.js";
10
- import { G, a as R, R as f } from "../chunk/DJDOFlqC.js";
10
+ import { G, a as R, R as f } from "../chunk/BDZpJpz-.js";
11
11
  export {
12
12
  G as RadioGroup,
13
13
  R as RadioGroupContext,
package/radio/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { R as a } from "../chunk/DJDOFlqC.js";
2
- import { C as e, G as p, a as d } from "../chunk/DJDOFlqC.js";
1
+ import { R as a } from "../chunk/BDZpJpz-.js";
2
+ import { C as e, G as p, a as d } from "../chunk/BDZpJpz-.js";
3
3
  export {
4
4
  e as ClearRadioGroupContext,
5
5
  p as RadioGroup,
package/rate/index.js CHANGED
@@ -5,10 +5,10 @@ import x from "@unicom-cloud/icons/IconUiFaceSmileFill";
5
5
  import tt from "@unicom-cloud/icons/IconUiStarFill";
6
6
  import { times as et, divide as rt } from "../utils/math.js";
7
7
  import g, { useContext as ot, useState as y } from "react";
8
- import { a as at } from "../chunk/Byd0ztYY.js";
8
+ import { a as at } from "../chunk/Crs3isAx.js";
9
9
  import { u as st } from "../chunk/BFTV6myl.js";
10
10
  import ct from "../tooltip/index.js";
11
- import { m as U } from "../chunk/JPPo5nY_.js";
11
+ import { p as U } from "../chunk/CUFsOxJ2.js";
12
12
  import { o as lt } from "../chunk/BKKEev13.js";
13
13
  const it = {
14
14
  character: /* @__PURE__ */ o(tt, {}),
@@ -7,8 +7,8 @@ import L from "@unicom-cloud/icons/IconUiDragDot";
7
7
  import M from "@unicom-cloud/icons/IconUiDragDotVertical";
8
8
  import g from "lodash/isFunction";
9
9
  import { useContext as V, useRef as q, useEffect as A } from "react";
10
- import { a as B } from "../chunk/Byd0ztYY.js";
11
- import { m as o } from "../chunk/JPPo5nY_.js";
10
+ import { a as B } from "../chunk/Crs3isAx.js";
11
+ import { p as o } from "../chunk/CUFsOxJ2.js";
12
12
  import "../chunk/DAAff-FT.js";
13
13
  import { o as G } from "../chunk/BKKEev13.js";
14
14
  import { r as J } from "../chunk/CIRG541s.js";
@@ -32,7 +32,7 @@ function ar(I) {
32
32
  { [`${e}-not-resizable`]: !l },
33
33
  { [`${e}-rtl`]: C },
34
34
  D
35
- ), m = q(), v = y ? [/* @__PURE__ */ r(h, {}, "prev"), /* @__PURE__ */ r(N, {}, "next")] : [/* @__PURE__ */ r(N, {}, "prev"), /* @__PURE__ */ r(h, {}, "next")], i = z(n.prev) ? {
35
+ ), p = q(), v = y ? [/* @__PURE__ */ r(h, {}, "prev"), /* @__PURE__ */ r(N, {}, "next")] : [/* @__PURE__ */ r(N, {}, "prev"), /* @__PURE__ */ r(h, {}, "next")], i = z(n.prev) ? {
36
36
  ...n.prev,
37
37
  icon: n.prev.icon || (t ? /* @__PURE__ */ r(H, {}) : v[0])
38
38
  } : {}, s = z(n.next) ? {
@@ -52,27 +52,27 @@ function ar(I) {
52
52
  onClick: s.onClick,
53
53
  children: s.icon
54
54
  }
55
- ) : /* @__PURE__ */ r("span", { className: o(`${e}-icon-empty`) }), P = () => l ? /* @__PURE__ */ r("span", { className: `${e}-icon`, children: b || (t ? /* @__PURE__ */ r(L, {}) : /* @__PURE__ */ r(M, {})) }) : /* @__PURE__ */ r("span", { className: o(`${e}-icon-empty`) }), p = j(), f = P(), d = w(), $ = () => /* @__PURE__ */ O("div", { className: `${e}-icon-wrapper`, children: [
56
- p,
55
+ ) : /* @__PURE__ */ r("span", { className: o(`${e}-icon-empty`) }), P = () => l ? /* @__PURE__ */ r("span", { className: `${e}-icon`, children: b || (t ? /* @__PURE__ */ r(L, {}) : /* @__PURE__ */ r(M, {})) }) : /* @__PURE__ */ r("span", { className: o(`${e}-icon-empty`) }), m = j(), f = P(), d = w(), $ = () => /* @__PURE__ */ O("div", { className: `${e}-icon-wrapper`, children: [
56
+ m,
57
57
  f,
58
58
  d
59
59
  ] });
60
60
  return l ? (A(() => {
61
61
  if (!g(a)) return;
62
- const E = J([m.current], a);
62
+ const E = J([p.current], a);
63
63
  return () => {
64
64
  E();
65
65
  };
66
- }, [m.current, a]), /* @__PURE__ */ r(
66
+ }, [p.current, a]), /* @__PURE__ */ r(
67
67
  "div",
68
68
  {
69
- ref: m,
69
+ ref: p,
70
70
  ...G(T, ["style"]),
71
71
  className: x,
72
72
  onMouseDown: R,
73
- children: g(c) ? c(p, f, d) : u || $()
73
+ children: g(c) ? c(m, f, d) : u || $()
74
74
  }
75
- )) : /* @__PURE__ */ r("div", { className: x, children: g(c) ? c(p, f, d) : u || $() });
75
+ )) : /* @__PURE__ */ r("div", { className: x, children: g(c) ? c(m, f, d) : u || $() });
76
76
  }
77
77
  export {
78
78
  ar as default
@@ -1,9 +1,9 @@
1
1
  import { jsx as y, jsxs as ie } from "react/jsx-runtime";
2
2
  import { forwardRef as ce, useContext as ae, useState as D, useRef as T, useImperativeHandle as fe, useEffect as ue } from "react";
3
- import { a as me } from "../chunk/Byd0ztYY.js";
4
- import { u as le } from "../chunk/B2yFlXke.js";
5
- import { m as $ } from "../chunk/JPPo5nY_.js";
6
- import { on as m, off as l } from "../utils/dom.js";
3
+ import { a as le } from "../chunk/Crs3isAx.js";
4
+ import { u as me } from "../chunk/B2yFlXke.js";
5
+ import { p as $ } from "../chunk/CUFsOxJ2.js";
6
+ import { on as l, off as m } from "../utils/dom.js";
7
7
  import de from "./ResizeTrigger.js";
8
8
  const C = "horizontal", W = "vertical";
9
9
  function ge(n, A) {
@@ -11,7 +11,7 @@ function ge(n, A) {
11
11
  style: L,
12
12
  className: V,
13
13
  component: j = "div",
14
- direction: H = "horizontal",
14
+ direction: p = "horizontal",
15
15
  icon: B,
16
16
  size: d = 0.5,
17
17
  min: v,
@@ -19,10 +19,10 @@ function ge(n, A) {
19
19
  panes: _,
20
20
  disabled: Z,
21
21
  trigger: k
22
- } = n, { getPrefixCls: q, rtl: I } = ae(me), s = q("resizebox-split"), g = H.includes(C), p = H.includes("reverse"), G = g && I, R = !g, J = $(
22
+ } = n, { getPrefixCls: q, rtl: H } = ae(le), s = q("resizebox-split"), g = p.includes(C), I = p.includes("reverse"), G = g && H, R = !g, J = $(
23
23
  s,
24
24
  `${s}-${g ? C : W}`,
25
- { [`${s}-rtl`]: I },
25
+ { [`${s}-rtl`]: H },
26
26
  V
27
27
  ), [K, Q] = _, i = typeof d == "string", [c, E] = D(parseFloat(d)), [F, U] = D(0), t = T({
28
28
  startX: 0,
@@ -38,7 +38,7 @@ function ge(n, A) {
38
38
  }
39
39
  function M(e, o, r, f) {
40
40
  const X = typeof v == "string" ? z(parseFloat(v), e) : v || 0, Y = typeof x == "string" ? z(parseFloat(x), e) : x || 1;
41
- let N = p ? -1 : 1;
41
+ let N = I ? -1 : 1;
42
42
  N *= G ? -1 : 1;
43
43
  let u = i ? o + (f - r) * N : z(
44
44
  e * o + (f - r) * N,
@@ -49,7 +49,7 @@ function ge(n, A) {
49
49
  }
50
50
  function ee(e) {
51
51
  var o, r, f;
52
- (o = n.onMovingStart) == null || o.call(n), t.current.moving = !0, t.current.startX = e.pageX, t.current.startY = e.pageY, t.current.startWidth = (r = w.current) == null ? void 0 : r.offsetWidth, t.current.startHeight = (f = w.current) == null ? void 0 : f.offsetHeight, t.current.startOffset = c, m(window, "mousemove", h), m(window, "touchmove", h), m(window, "mouseup", a), m(window, "touchend", a), m(window, "contextmenu", a), document.body.style.cursor = R ? "row-resize" : "col-resize";
52
+ (o = n.onMovingStart) == null || o.call(n), t.current.moving = !0, t.current.startX = e.pageX, t.current.startY = e.pageY, t.current.startWidth = (r = w.current) == null ? void 0 : r.offsetWidth, t.current.startHeight = (f = w.current) == null ? void 0 : f.offsetHeight, t.current.startOffset = c, l(window, "mousemove", h), l(window, "touchmove", h), l(window, "mouseup", a), l(window, "touchend", a), l(window, "contextmenu", a), document.body.style.cursor = R ? "row-resize" : "col-resize";
53
53
  }
54
54
  function h(e) {
55
55
  var o;
@@ -70,7 +70,7 @@ function ge(n, A) {
70
70
  }
71
71
  function a() {
72
72
  var e;
73
- t.current.moving = !1, l(window, "mousemove", h), l(window, "touchmove", h), l(window, "mouseup", a), l(window, "touchend", a), l(window, "contextmenu", a), document.body.style.cursor = "default", (e = n.onMovingEnd) == null || e.call(n);
73
+ t.current.moving = !1, m(window, "mousemove", h), m(window, "touchmove", h), m(window, "mouseup", a), m(window, "touchend", a), m(window, "contextmenu", a), document.body.style.cursor = "default", (e = n.onMovingEnd) == null || e.call(n);
74
74
  }
75
75
  function te(e) {
76
76
  const { contentRect: o } = e[0], r = o[R ? "height" : "width"];
@@ -83,7 +83,7 @@ function ge(n, A) {
83
83
  ue(() => {
84
84
  var e;
85
85
  (e = n.onPaneResize) == null || e.call(n, O.current);
86
- }, [c, F]), le(() => {
86
+ }, [c, F]), me(() => {
87
87
  const e = parseFloat(d);
88
88
  c !== e && E(e);
89
89
  }, [d]);
@@ -106,7 +106,7 @@ function ge(n, A) {
106
106
  },
107
107
  children: Q
108
108
  }
109
- ), S = p ? [P, b] : [b, P];
109
+ ), S = I ? [P, b] : [b, P];
110
110
  return /* @__PURE__ */ ie(oe, { style: L, className: J, ref: w, children: [
111
111
  S[0],
112
112
  !Z && /* @__PURE__ */ y(
@@ -5,8 +5,8 @@ import S from "lodash/isPlainObject";
5
5
  import Ot from "lodash/isString";
6
6
  import W from "lodash/isUndefined";
7
7
  import Ct, { forwardRef as xt, useContext as St, useRef as z, useState as y, useEffect as L, useImperativeHandle as zt } from "react";
8
- import { a as Pt } from "../chunk/Byd0ztYY.js";
9
- import { m as Rt } from "../chunk/JPPo5nY_.js";
8
+ import { a as Pt } from "../chunk/Crs3isAx.js";
9
+ import { p as Rt } from "../chunk/CUFsOxJ2.js";
10
10
  import { on as P, off as R } from "../utils/dom.js";
11
11
  import { o as Nt } from "../chunk/BKKEev13.js";
12
12
  import pt from "./ResizeTrigger.js";
@@ -1,10 +1,10 @@
1
1
  import { jsxs as ot, jsx as rt } from "react/jsx-runtime";
2
2
  import B from "lodash/isNumber";
3
3
  import { forwardRef as nt, useContext as st, useState as it, useRef as E, useImperativeHandle as ct } from "react";
4
- import { a as at } from "../chunk/Byd0ztYY.js";
4
+ import { a as at } from "../chunk/Crs3isAx.js";
5
5
  import { u as ut } from "../chunk/BFTV6myl.js";
6
6
  import { u as W } from "../chunk/DeV0v__J.js";
7
- import { m as mt } from "../chunk/JPPo5nY_.js";
7
+ import { p as mt } from "../chunk/CUFsOxJ2.js";
8
8
  import { on as g, off as l } from "../utils/dom.js";
9
9
  import { o as dt } from "../chunk/BKKEev13.js";
10
10
  import gt from "./ResizeTrigger.js";
package/result/index.js CHANGED
@@ -4,9 +4,9 @@ import v from "@unicom-cloud/icons/IconUiClose";
4
4
  import C from "@unicom-cloud/icons/IconUiExclamation";
5
5
  import R from "@unicom-cloud/icons/IconUiInfo";
6
6
  import { forwardRef as U, useContext as P } from "react";
7
- import { a as b } from "../chunk/Byd0ztYY.js";
7
+ import { a as b } from "../chunk/Crs3isAx.js";
8
8
  import { u as j } from "../chunk/BFTV6myl.js";
9
- import { m as l } from "../chunk/JPPo5nY_.js";
9
+ import { p as m } from "../chunk/CUFsOxJ2.js";
10
10
  import w from "./403.js";
11
11
  import y from "./404.js";
12
12
  import k from "./500.js";
@@ -33,15 +33,15 @@ function T(f, p) {
33
33
  title: i,
34
34
  subTitle: c,
35
35
  extra: n,
36
- children: m,
36
+ children: a,
37
37
  icon: I,
38
38
  ...N
39
- } = e, s = u("result"), a = "icon" in e ? I : E[t];
39
+ } = e, s = u("result"), l = "icon" in e ? I : E[t];
40
40
  return /* @__PURE__ */ h(
41
41
  "div",
42
42
  {
43
43
  ref: p,
44
- className: l(
44
+ className: m(
45
45
  s,
46
46
  {
47
47
  [`${s}-is-${t}`]: t,
@@ -52,20 +52,20 @@ function T(f, p) {
52
52
  style: x,
53
53
  ...N,
54
54
  children: [
55
- a && /* @__PURE__ */ o("div", { className: `${s}-icon`, children: /* @__PURE__ */ o(
55
+ l && /* @__PURE__ */ o("div", { className: `${s}-icon`, children: /* @__PURE__ */ o(
56
56
  "span",
57
57
  {
58
- className: l(`${s}-icon-tip`, {
58
+ className: m(`${s}-icon-tip`, {
59
59
  [`${s}-icon-${t}`]: t,
60
60
  [`${s}-icon-custom`]: t === null
61
61
  }),
62
- children: a
62
+ children: l
63
63
  }
64
64
  ) }),
65
65
  i && /* @__PURE__ */ o("div", { className: `${s}-title`, children: i }),
66
66
  c && /* @__PURE__ */ o("div", { className: `${s}-subtitle`, children: c }),
67
67
  n && /* @__PURE__ */ o("div", { className: `${s}-extra`, children: n }),
68
- m && /* @__PURE__ */ o("div", { className: `${s}-content`, children: m })
68
+ a && /* @__PURE__ */ o("div", { className: `${s}-content`, children: a })
69
69
  ]
70
70
  }
71
71
  );
package/select/Option.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs as j, jsx as C } from "react/jsx-runtime";
2
2
  import y from "react";
3
- import { C as E } from "../chunk/B7hulkj9.js";
4
- import { m as v } from "../chunk/JPPo5nY_.js";
3
+ import { C as E } from "../chunk/NmSLBKjp.js";
4
+ import { p as v } from "../chunk/CUFsOxJ2.js";
5
5
  import { o as L } from "../chunk/BKKEev13.js";
6
6
  function P(l, _) {
7
7
  const {
package/select/Select.js CHANGED
@@ -2,14 +2,14 @@ import { jsx as _, jsxs as gt } from "react/jsx-runtime";
2
2
  import U from "lodash/isArray";
3
3
  import Ot from "lodash/isFunction";
4
4
  import ht, { useContext as Ct, useState as W, useMemo as De, useRef as b, useCallback as pe, useEffect as V, useImperativeHandle as vt } from "react";
5
- import { C as yt } from "../chunk/B7hulkj9.js";
6
- import { a as bt } from "../chunk/Byd0ztYY.js";
5
+ import { C as yt } from "../chunk/NmSLBKjp.js";
6
+ import { a as bt } from "../chunk/Crs3isAx.js";
7
7
  import { u as Vt } from "../chunk/B4YRLi8r.js";
8
8
  import { u as kt } from "../chunk/BFTV6myl.js";
9
9
  import { u as Re } from "../chunk/DeV0v__J.js";
10
10
  import xt from "../select-view/index.js";
11
11
  import wt from "../trigger/index.js";
12
- import { m as fe } from "../chunk/JPPo5nY_.js";
12
+ import { p as fe } from "../chunk/CUFsOxJ2.js";
13
13
  import { g as St } from "../chunk/Dh7Osrvr.js";
14
14
  import "../chunk/DAAff-FT.js";
15
15
  import { o as At, e as He, c as $e, d as It, r as _t } from "../chunk/BrOW642m.js";
@@ -5,19 +5,19 @@ import eo from "@unicom-cloud/icons/IconUiDown";
5
5
  import oo from "@unicom-cloud/icons/IconUiLoading";
6
6
  import ro from "@unicom-cloud/icons/IconUiSearch";
7
7
  import no from "lodash/isFunction";
8
- import fe from "lodash/isUndefined";
9
- import { a as to, I as so } from "../chunk/Byd0ztYY.js";
8
+ import pe from "lodash/isUndefined";
9
+ import { a as to, I as so } from "../chunk/Crs3isAx.js";
10
10
  import { u as ao } from "../chunk/CQ_WOOmf.js";
11
11
  import { u as lo } from "../chunk/BsY85n3_.js";
12
12
  import co from "../input-tag/InputTag.js";
13
13
  import io from "../input/InputElement.js";
14
14
  import uo from "../popover/index.js";
15
- import pe from "../tag/index.js";
16
- import { m as k } from "../chunk/JPPo5nY_.js";
15
+ import fe from "../tag/index.js";
16
+ import { p as k } from "../chunk/CUFsOxJ2.js";
17
17
  import { f as me } from "../chunk/CftuXmo_.js";
18
- import { i as fo } from "../chunk/CYhxqVkn.js";
18
+ import { i as po } from "../chunk/CYhxqVkn.js";
19
19
  import "../chunk/DAAff-FT.js";
20
- import { e as po, t as mo } from "../chunk/BrOW642m.js";
20
+ import { e as fo, t as mo } from "../chunk/BrOW642m.js";
21
21
  import "../chunk/C0pRaDCf.js";
22
22
  import C from "lodash/isPlainObject.js";
23
23
  import he from "lodash/isNumber.js";
@@ -47,7 +47,7 @@ const J = "__pqb_value_tag_placeholder", I = {
47
47
  renderText: ee,
48
48
  value: g,
49
49
  inputValue: F,
50
- popupVisible: p,
50
+ popupVisible: f,
51
51
  maxTagCount: l,
52
52
  isMultiple: w,
53
53
  isEmptyValue: O,
@@ -66,29 +66,29 @@ const J = "__pqb_value_tag_placeholder", I = {
66
66
  onRemoveCheckedItem: z,
67
67
  onSort: B,
68
68
  ...Oe
69
- } = v, N = ue(null), m = ue(null), { size: Re, getPrefixCls: re } = qe(to), [Me, ne] = de(I.NONE), [L, te] = de(!1), Ae = ao(), T = "showSearch" in v ? v.showSearch : w, f = T || Ne, S = ve || Re, j = L || p, _e = C(T) && T.retainInputValue, b = !w && g !== void 0 ? ee(g).text : "", H = (e) => {
69
+ } = v, N = ue(null), m = ue(null), { size: Re, getPrefixCls: re } = qe(to), [Me, ne] = de(I.NONE), [L, te] = de(!1), Ae = ao(), T = "showSearch" in v ? v.showSearch : w, p = T || Ne, S = ve || Re, j = L || f, _e = C(T) && T.retainInputValue, b = !w && g !== void 0 ? ee(g).text : "", H = (e) => {
70
70
  var o;
71
71
  (o = e == null ? void 0 : e.preventDefault) == null || o.call(e);
72
72
  }, G = (e) => {
73
- const o = f ? N.current : m.current;
73
+ const o = p ? N.current : m.current;
74
74
  o && (e === "focus" ? o.focus() : o.blur());
75
75
  }, y = (e, o) => {
76
- f && o.target === m.current || (e === "focus" ? (te(!0), U == null || U(o)) : (te(!1), V == null || V(o)));
76
+ p && o.target === m.current || (e === "focus" ? (te(!0), U == null || U(o)) : (te(!1), V == null || V(o)));
77
77
  }, se = (e) => {
78
- if (f && e.currentTarget === m.current)
78
+ if (p && e.currentTarget === m.current)
79
79
  return;
80
- e.key === po.key && e.preventDefault(), A == null || A(e);
80
+ e.key === fo.key && e.preventDefault(), A == null || A(e);
81
81
  };
82
82
  Xe(() => {
83
- G(p ? "focus" : "blur"), f && ne(p ? I.BEFORE : I.NONE);
84
- }, [p]), Je(ge, () => ({
83
+ G(f ? "focus" : "blur"), p && ne(f ? I.BEFORE : I.NONE);
84
+ }, [f]), Je(ge, () => ({
85
85
  dom: m.current,
86
86
  getRootDOMNode: () => m.current,
87
87
  focus: G.bind(null, "focus"),
88
88
  blur: G.bind(null, "blur"),
89
89
  getWidth: () => m.current && m.current.clientWidth
90
90
  }));
91
- const Ue = "arrowIcon" in v ? Y === null ? null : /* @__PURE__ */ t("div", { className: `${r}-arrow-icon`, children: Y }) : /* @__PURE__ */ t("div", { className: `${r}-arrow-icon`, children: /* @__PURE__ */ t(eo, {}) }), Ve = $e ? /* @__PURE__ */ t("span", { className: `${r}-loading-icon`, children: /* @__PURE__ */ t(oo, {}) }) : Q ? /* @__PURE__ */ t("span", { className: `${r}-suffix-icon`, children: Q }) : v.showSearch && p ? /* @__PURE__ */ t("div", { className: `${r}-search-icon`, children: /* @__PURE__ */ t(ro, {}) }) : Ue, i = {
91
+ const Ue = "arrowIcon" in v ? Y === null ? null : /* @__PURE__ */ t("div", { className: `${r}-arrow-icon`, children: Y }) : /* @__PURE__ */ t("div", { className: `${r}-arrow-icon`, children: /* @__PURE__ */ t(eo, {}) }), Ve = $e ? /* @__PURE__ */ t("span", { className: `${r}-loading-icon`, children: /* @__PURE__ */ t(oo, {}) }) : Q ? /* @__PURE__ */ t("span", { className: `${r}-suffix-icon`, children: Q }) : v.showSearch && f ? /* @__PURE__ */ t("div", { className: `${r}-search-icon`, children: /* @__PURE__ */ t(ro, {}) }) : Ue, i = {
92
92
  paste: De,
93
93
  keyDown: se,
94
94
  focus: (e) => {
@@ -113,14 +113,14 @@ const J = "__pqb_value_tag_placeholder", I = {
113
113
  e = b;
114
114
  break;
115
115
  }
116
- const o = !!(j && f || O), s = {
116
+ const o = !!(j && p || O), s = {
117
117
  style: { width: "100%" },
118
118
  // _inputValue after renderText(value) may be rich text, but the value of <input> cannot be object
119
119
  value: o && typeof e != "object" ? e : "",
120
120
  // Allow placeholder to display the selected value first when searching
121
- placeholder: f && b && typeof b != "object" ? b : Z
121
+ placeholder: p && b && typeof b != "object" ? b : Z
122
122
  };
123
- return f ? (s.onPaste = i.paste, s.onKeyDown = i.keyDown, s.onFocus = i.focus, s.onBlur = i.blur, s.onChange = i.change) : (s.tabIndex = -1, s.style.pointerEvents = "none"), /* @__PURE__ */ E("span", { className: `${r}-view-selector`, children: [
123
+ return p ? (s.onPaste = i.paste, s.onKeyDown = i.keyDown, s.onFocus = i.focus, s.onBlur = i.blur, s.onChange = i.change) : (s.tabIndex = -1, s.style.pointerEvents = "none"), /* @__PURE__ */ E("span", { className: `${r}-view-selector`, children: [
124
124
  /* @__PURE__ */ t(
125
125
  io,
126
126
  {
@@ -150,11 +150,11 @@ const J = "__pqb_value_tag_placeholder", I = {
150
150
  }, W = Qe(() => {
151
151
  if (!w)
152
152
  return [];
153
- const e = fe(g) ? [] : [].concat(g);
153
+ const e = pe(g) ? [] : [].concat(g);
154
154
  return (he(ae) ? e.slice(0, ae) : e).map((P) => le(P));
155
155
  }, [g, w, l, K]), Be = () => {
156
156
  const e = C(l) ? l.count : l, o = C(l) && l.showPopover, s = re("input-tag"), P = (n) => C(l) && no(l.render) ? l.render(n) : e === "responsive" ? /* @__PURE__ */ E(
157
- pe,
157
+ fe,
158
158
  {
159
159
  className: `${s}-tag`,
160
160
  children: [
@@ -164,7 +164,7 @@ const J = "__pqb_value_tag_placeholder", I = {
164
164
  ]
165
165
  },
166
166
  J
167
- ) : `+${n}...`, x = fe(g) ? [] : [].concat(g), He = () => {
167
+ ) : `+${n}...`, x = pe(g) ? [] : [].concat(g), He = () => {
168
168
  for (let n = x.length - 1; n >= 0; n--) {
169
169
  const c = x[n];
170
170
  if (!K(c).disabled)
@@ -212,7 +212,7 @@ const J = "__pqb_value_tag_placeholder", I = {
212
212
  a.index,
213
213
  W.concat(c)
214
214
  ) : /* @__PURE__ */ Ye(
215
- pe,
215
+ fe,
216
216
  {
217
217
  ...d,
218
218
  key: d.value,
@@ -297,7 +297,7 @@ const J = "__pqb_value_tag_placeholder", I = {
297
297
  `${r}-${w ? "multiple" : "single"}`,
298
298
  {
299
299
  [`${r}-show-search`]: T,
300
- [`${r}-open`]: p,
300
+ [`${r}-open`]: f,
301
301
  [`${r}-size-${S}`]: S,
302
302
  [`${r}-focused`]: j,
303
303
  [`${r}-${ce}`]: ce,
@@ -313,10 +313,10 @@ const J = "__pqb_value_tag_placeholder", I = {
313
313
  role: "combobox",
314
314
  "aria-haspopup": "listbox",
315
315
  "aria-autocomplete": "list",
316
- "aria-expanded": p,
316
+ "aria-expanded": f,
317
317
  "aria-disabled": h,
318
318
  "aria-controls": Pe,
319
- ...fo(Oe, ["onClick", "onMouseEnter", "onMouseLeave"]),
319
+ ...po(Oe, ["onClick", "onMouseEnter", "onMouseLeave"]),
320
320
  ...ke,
321
321
  ref: m,
322
322
  tabIndex: h ? -1 : 0,
@@ -325,7 +325,7 @@ const J = "__pqb_value_tag_placeholder", I = {
325
325
  className: je,
326
326
  onKeyDown: se,
327
327
  onFocus: (e) => {
328
- !h && !oe && (f ? N.current && N.current.focus() : y("focus", e));
328
+ !h && !oe && (p ? N.current && N.current.focus() : y("focus", e));
329
329
  },
330
330
  onBlur: (e) => y("blur", e),
331
331
  children: /* @__PURE__ */ E(
@@ -335,7 +335,7 @@ const J = "__pqb_value_tag_placeholder", I = {
335
335
  className: k(`${r}-view`, {
336
336
  [`${r}-view-with-prefix`]: R
337
337
  }),
338
- onClick: (e) => p && f && e.stopPropagation(),
338
+ onClick: (e) => f && p && e.stopPropagation(),
339
339
  children: [
340
340
  R && /* @__PURE__ */ t(
341
341
  "div",
@@ -1,6 +1,6 @@
1
1
  import { jsx as p, jsxs as N } from "react/jsx-runtime";
2
2
  import y, { useRef as V, useImperativeHandle as W } from "react";
3
- import { m as b } from "../chunk/JPPo5nY_.js";
3
+ import { p as b } from "../chunk/CUFsOxJ2.js";
4
4
  import "../chunk/DAAff-FT.js";
5
5
  import { a as x } from "../chunk/ClqoGc3r.js";
6
6
  import C from "./Core.js";
package/skeleton/Image.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
- import { m as $ } from "../chunk/JPPo5nY_.js";
3
- function n(m) {
2
+ import { p } from "../chunk/CUFsOxJ2.js";
3
+ function f(m) {
4
4
  const {
5
5
  style: t,
6
6
  shape: s = "square",
@@ -8,7 +8,7 @@ function n(m) {
8
8
  position: i = "left",
9
9
  className: o,
10
10
  prefixCls: e
11
- } = m, r = $(
11
+ } = m, r = p(
12
12
  `${e}-image`,
13
13
  {
14
14
  [`${e}-image-${i}`]: i,
@@ -20,5 +20,5 @@ function n(m) {
20
20
  return /* @__PURE__ */ l("div", { className: r, style: t });
21
21
  }
22
22
  export {
23
- n as default
23
+ f as default
24
24
  };
package/skeleton/Text.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import f from "lodash/isArray";
3
- import { m as u } from "../chunk/JPPo5nY_.js";
2
+ import m from "lodash/isArray";
3
+ import { p as u } from "../chunk/CUFsOxJ2.js";
4
4
  function h(l) {
5
- const { style: n, width: r = "60%", rows: s = 3, className: a, prefixCls: e } = l, m = u(`${e}-text`, a), o = [];
6
- function c(t) {
7
- if (f(r))
5
+ const { style: n, width: r = "60%", rows: s = 3, className: a, prefixCls: e } = l, c = u(`${e}-text`, a), o = [];
6
+ function f(t) {
7
+ if (m(r))
8
8
  return r[t];
9
9
  if (s - 1 === t)
10
10
  return r;
@@ -15,12 +15,12 @@ function h(l) {
15
15
  "li",
16
16
  {
17
17
  className: `${e}-text-row`,
18
- style: { width: c(t) }
18
+ style: { width: f(t) }
19
19
  },
20
20
  t
21
21
  )
22
22
  );
23
- return /* @__PURE__ */ i("ul", { className: m, style: n, children: o });
23
+ return /* @__PURE__ */ i("ul", { className: c, style: n, children: o });
24
24
  }
25
25
  export {
26
26
  h as default
package/skeleton/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsx as e, jsxs as N } from "react/jsx-runtime";
2
2
  import $ from "lodash/isPlainObject";
3
3
  import S, { forwardRef as j, useContext as v } from "react";
4
- import { a as b } from "../chunk/Byd0ztYY.js";
4
+ import { a as b } from "../chunk/Crs3isAx.js";
5
5
  import { u as y } from "../chunk/BFTV6myl.js";
6
- import { m as R } from "../chunk/JPPo5nY_.js";
6
+ import { p as R } from "../chunk/CUFsOxJ2.js";
7
7
  import { a as w } from "../chunk/ClqoGc3r.js";
8
8
  import A from "./Image.js";
9
9
  import D from "./Text.js";