@unicom-cloud/ui 0.8.60 → 0.8.62

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 (180) hide show
  1. package/Affix.js +1 -1
  2. package/Alert.js +44 -40
  3. package/Anchor.js +1 -1
  4. package/AutoComplete.js +4 -4
  5. package/Avatar.js +1 -1
  6. package/BackTop.js +7 -7
  7. package/Badge.js +2 -2
  8. package/Breadcrumb.js +22 -22
  9. package/Button.js +2 -2
  10. package/Calendar.js +106 -104
  11. package/Card.js +1 -1
  12. package/Carousel.js +34 -33
  13. package/Cascader.js +1 -1
  14. package/Checkbox.js +1 -1
  15. package/Collapse.js +1 -1
  16. package/ColorPicker.js +12 -12
  17. package/Comment.js +1 -1
  18. package/ConfigProvider.js +2 -2
  19. package/Copy.js +16 -16
  20. package/DatePicker.js +165 -162
  21. package/Descriptions.js +1 -1
  22. package/Divider.js +1 -1
  23. package/Draggable.js +1 -1
  24. package/Drawer.js +1 -1
  25. package/Dropdown.js +9 -9
  26. package/Empty.js +2 -2
  27. package/Form.js +60 -54
  28. package/Grid.js +2 -2
  29. package/Icon.js +1 -1
  30. package/IconHover.js +1 -1
  31. package/Image.js +1 -1
  32. package/Input.js +1 -1
  33. package/InputNumber.js +6 -6
  34. package/InputTag.js +1 -1
  35. package/Layout.js +2 -2
  36. package/Link.js +14 -14
  37. package/List.js +3 -3
  38. package/Mentions.js +3 -3
  39. package/Menu.js +1 -1
  40. package/Message.js +2 -2
  41. package/Modal.js +1 -1
  42. package/Notice.js +9 -3
  43. package/Notification.js +2 -2
  44. package/OverflowEllipsis.js +32 -32
  45. package/PageHeader.js +23 -22
  46. package/Pagination.js +1 -1
  47. package/Picker.js +1 -1
  48. package/Popconfirm.js +7 -7
  49. package/Popover.js +1 -1
  50. package/Progress.js +14 -14
  51. package/Radio.js +2 -2
  52. package/Rate.js +43 -40
  53. package/ResizeBox.js +97 -96
  54. package/Result.js +15 -15
  55. package/Select.js +1 -1
  56. package/SelectView.js +295 -249
  57. package/Skeleton.js +1 -1
  58. package/Slider.js +25 -25
  59. package/Space.js +1 -1
  60. package/SpeechSynthesis.js +32 -29
  61. package/Spin.js +2 -2
  62. package/Statistic.js +1 -1
  63. package/Steps.js +11 -11
  64. package/Switch.js +3 -3
  65. package/Table.js +994 -991
  66. package/Tabs.js +1 -1
  67. package/Tag.js +68 -67
  68. package/TimePicker.js +17 -17
  69. package/Timeline.js +1 -1
  70. package/Tooltip.js +1 -1
  71. package/Transfer.js +47 -46
  72. package/Tree.js +2 -2
  73. package/TreeSelect.js +1 -1
  74. package/Trigger.js +3 -3
  75. package/Typography.js +1 -1
  76. package/Upload.js +2 -2
  77. package/VerificationCode.js +1 -1
  78. package/Version.js +1 -1
  79. package/Watermark.js +1 -1
  80. package/chunk/{V6euPXVB.js → -Z968QpN.js} +257 -251
  81. package/chunk/{IooeSKJJ.js → AqH9yP_J.js} +19 -19
  82. package/chunk/{cZiP8FvM.js → B0oDiPqE.js} +1 -1
  83. package/chunk/{B16KHtX-.js → B4-WpgY2.js} +191 -185
  84. package/chunk/{CuOl4X0X.js → B8SZFOjt.js} +1 -1
  85. package/chunk/{CbiWdbr_.js → BXWxA-tS.js} +35 -34
  86. package/chunk/{DpfUGhi4.js → BlNFmhNa.js} +288 -283
  87. package/chunk/{C1xMmQIZ.js → BmO1y0vr.js} +34 -34
  88. package/chunk/{Kbr6FzOG.js → BnqeQYIZ.js} +210 -186
  89. package/chunk/{BPZ-6HKJ.js → Bp3XomF8.js} +1 -2
  90. package/chunk/BsWphzcT.js +20 -0
  91. package/chunk/{RMBPs_Ry.js → C4eJ9vCf.js} +4 -3
  92. package/chunk/{BNHrEI0Y.js → C6fEFlPt.js} +52 -48
  93. package/chunk/C8o-VGyc.js +376 -0
  94. package/chunk/{eK7lxdak.js → CDJ1EnJ2.js} +8 -8
  95. package/chunk/{C5AQWbC4.js → CHyuuVxl.js} +1 -1
  96. package/chunk/{B2vORJQ8.js → CJnshq6A.js} +13 -13
  97. package/chunk/CT1lZ7ss.js +116 -0
  98. package/chunk/{Bdh4XVuf.js → CV1kLw5Z.js} +290 -281
  99. package/chunk/{DmUhn9ib.js → CazXy0r4.js} +54 -53
  100. package/chunk/{BBVjSFnw.js → Cqyp4qni.js} +23 -19
  101. package/chunk/{BJ_7JTqC.js → D3VMG9V1.js} +1 -1
  102. package/chunk/{D2HkyI6A.js → DGasAUHE.js} +2 -2
  103. package/chunk/{YIlBPVAs.js → DRQ1v6Ux.js} +1 -1
  104. package/chunk/{DhBo0pPJ.js → DRp7voqz.js} +119 -118
  105. package/chunk/{gIbzjQ-X.js → Dtm4BmKB.js} +2 -2
  106. package/chunk/{BEDYCG-I.js → KchYsivk.js} +18 -18
  107. package/chunk/{Cbd50gx8.js → Wum88vrW.js} +33 -33
  108. package/chunk/{BjSHZA0m.js → mfn4EgmQ.js} +1 -1
  109. package/chunk/{BYhtrDV3.js → nbEvdwT0.js} +152 -148
  110. package/chunk/{C1D7T29r.js → qpd2axxs.js} +83 -76
  111. package/chunk/{BVLwPZis.js → tOFzwzpT.js} +31 -30
  112. package/chunk/{DSGRHf-1.js → yESVS-qX.js} +157 -156
  113. package/hooks/useMergeValue.js +1 -1
  114. package/icons.js +4 -6001
  115. package/index.js +420 -392
  116. package/locale/en-US.js +1 -1
  117. package/locale/tr-TR.js +1 -1
  118. package/package.json +1 -1
  119. package/style.css +1 -1
  120. package/types/cascader/panel/Search.d.ts +1 -1
  121. package/types/config-provider/interface.d.ts +1 -1
  122. package/types/form/interface.d.ts +1 -1
  123. package/types/index.d.ts +1 -1
  124. package/types/message/index.d.ts +2 -2
  125. package/types/notification/index.d.ts +2 -2
  126. package/types/notification-base/index.d.ts +2 -2
  127. package/types/select/interface.d.ts +1 -0
  128. package/types/select-view/interface.d.ts +1 -0
  129. package/types/table/interface.d.ts +1 -0
  130. package/types/tree/Context.d.ts +1 -0
  131. package/types/tree/Tree.d.ts +1 -1
  132. package/types/tree/index.d.ts +5 -4
  133. package/types/tree/interface.d.ts +1 -0
  134. package/types/utils/index.d.ts +1 -0
  135. package/types/utils/lodash.d.ts +14 -1
  136. package/types/version/index.d.ts +1 -1
  137. package/utils/CSSTransition.js +1 -1
  138. package/utils/caseName.js +2 -18
  139. package/utils/contextHolder.js +1 -1
  140. package/utils/index.js +220 -191
  141. package/utils/is.js +68 -67
  142. package/utils/lodash.js +32 -6
  143. package/utils/reactDOM.js +1 -1
  144. package/chunk/-LZOUh53.js +0 -29
  145. package/chunk/-jdfq71f.js +0 -23
  146. package/chunk/B0GOLsj_.js +0 -58
  147. package/chunk/B7Zsp3gO.js +0 -29
  148. package/chunk/BDjXkzNj.js +0 -23
  149. package/chunk/BHn4xgbv.js +0 -209
  150. package/chunk/BLSiP_gg.js +0 -32
  151. package/chunk/BMJfSSLX.js +0 -23
  152. package/chunk/B_nfMl0e.js +0 -116
  153. package/chunk/BcS17Pzy.js +0 -66
  154. package/chunk/BdiEwtQO.js +0 -41
  155. package/chunk/Bpug_KxP.js +0 -34
  156. package/chunk/C1u_ckwU.js +0 -29
  157. package/chunk/C43Hv2Bl.js +0 -34
  158. package/chunk/C9vsih_D.js +0 -29
  159. package/chunk/CAfR2wLq.js +0 -41
  160. package/chunk/CAfecMDF.js +0 -46
  161. package/chunk/CKp4rZnD.js +0 -207
  162. package/chunk/CV2Aqv9q.js +0 -52
  163. package/chunk/CYdarMv9.js +0 -32
  164. package/chunk/C_S5Mdvd.js +0 -379
  165. package/chunk/CmB-TL7C.js +0 -46
  166. package/chunk/D-ER56Sf.js +0 -29
  167. package/chunk/D-aYnb6u.js +0 -41
  168. package/chunk/D3xQFJcO.js +0 -23
  169. package/chunk/DJcEys80.js +0 -29
  170. package/chunk/DLIm6rRJ.js +0 -29
  171. package/chunk/DOWEHtqM.js +0 -41
  172. package/chunk/DT37l12z.js +0 -40
  173. package/chunk/DW-B7npC.js +0 -23
  174. package/chunk/D_MTFBb0.js +0 -38
  175. package/chunk/Dx_5J4fO.js +0 -29
  176. package/chunk/Dy487FZ1.js +0 -118
  177. package/chunk/Uz-rNulO.js +0 -98
  178. package/chunk/cDZI_t6o.js +0 -52
  179. package/chunk/sScV-J56.js +0 -206
  180. package/chunk/wI2I1qb0.js +0 -23
@@ -1,35 +1,54 @@
1
1
  import { jsxs as Z, jsx as l, Fragment as xt } from "react/jsx-runtime";
2
- import it, { forwardRef as U, useContext as ct, useRef as X, useState as J, useMemo as et, useEffect as z, useCallback as St, useImperativeHandle as vt } from "react";
3
- import { d as pt } from "./Bdh4XVuf.js";
4
- import { useMergeProps as bt } from "../hooks/useMergeProps.js";
2
+ import rt, { forwardRef as U, useContext as lt, useRef as X, useState as J, useMemo as nt, useEffect as z, useCallback as vt, useImperativeHandle as bt } from "react";
3
+ import { d as ct } from "./CV1kLw5Z.js";
4
+ import { useMergeProps as Tt } from "../hooks/useMergeProps.js";
5
5
  import { useMergeValue as gt } from "../hooks/useMergeValue.js";
6
6
  /* empty css */
7
7
  import "lodash/isEqualWith";
8
8
  import "../utils/is.js";
9
- import Tt from "lodash/isNumber";
10
- import "lodash/merge";
11
- import { isServerRendering as Pt } from "../utils/dom.js";
9
+ import Pt from "lodash/isNumber";
10
+ import It from "lodash/merge";
11
+ import { isServerRendering as kt } from "../utils/dom.js";
12
12
  import "../hooks/useIntersectionObserver.js";
13
13
  import "../utils/reactDOM.js";
14
14
  import "./DApXtulb.js";
15
15
  import "./D_-UD4vO.js";
16
- import "./Uz-rNulO.js";
16
+ import "./CT1lZ7ss.js";
17
17
  import "../utils/dayjs.js";
18
+ import "lodash/camelCase";
19
+ import "lodash/capitalize";
18
20
  import "lodash/cloneDeep";
21
+ import "lodash/debounce";
22
+ import "lodash/get";
23
+ import "lodash/has";
24
+ import "lodash/kebabCase";
19
25
  import "lodash/mergeWith";
26
+ import "lodash/set";
27
+ import "lodash/setWith";
28
+ import "lodash/snakeCase";
29
+ import "lodash/startCase";
30
+ import "lodash/throttle";
31
+ import "lodash/uniq";
32
+ import "lodash/upperFirst";
20
33
  import "../utils/raf.js";
34
+ import "lodash/camelCase.js";
35
+ import "lodash/capitalize.js";
36
+ import "lodash/kebabCase.js";
37
+ import "lodash/snakeCase.js";
38
+ import "lodash/startCase.js";
39
+ import "lodash/upperFirst.js";
21
40
  import { y as _ } from "./BzPkh4Zv.js";
22
- import It from "lodash/isString";
23
- import "./BPZ-6HKJ.js";
41
+ import Lt from "lodash/isString";
42
+ import "./Bp3XomF8.js";
24
43
  import "lodash/escapeRegExp";
25
- import kt from "lodash/isArray";
44
+ import Rt from "lodash/isArray";
26
45
  import K from "lodash/isPlainObject";
27
46
  import yt from "../utils/throttleByRaf.js";
28
47
  import "lodash/isFunction";
29
- import "./C1xMmQIZ.js";
48
+ import "./BmO1y0vr.js";
30
49
  import "../Affix.js";
31
50
  import "../Alert.js";
32
- import "./C5AQWbC4.js";
51
+ import "./CHyuuVxl.js";
33
52
  import "../AutoComplete.js";
34
53
  import "../Avatar.js";
35
54
  import "../BackTop.js";
@@ -39,96 +58,97 @@ import "../Button.js";
39
58
  import "../Calendar.js";
40
59
  import "../Card.js";
41
60
  import "../Carousel.js";
42
- import "./DSGRHf-1.js";
43
- import "./eK7lxdak.js";
44
- import "./RMBPs_Ry.js";
61
+ import "./yESVS-qX.js";
62
+ import "./CDJ1EnJ2.js";
63
+ import "./C4eJ9vCf.js";
45
64
  import "../Comment.js";
46
- import Lt from "../Copy.js";
65
+ import Mt from "../Copy.js";
47
66
  import "../DatePicker.js";
48
67
  import "../Descriptions.js";
49
68
  import "../Divider.js";
50
- import "./B2vORJQ8.js";
69
+ import "./CJnshq6A.js";
51
70
  import "../Dropdown.js";
52
71
  import "../Form.js";
53
72
  import "../Grid.js";
54
73
  import "../Icon.js";
55
- import "./IooeSKJJ.js";
56
- import { I as Rt } from "./DmUhn9ib.js";
57
- import "./C_S5Mdvd.js";
74
+ import "./AqH9yP_J.js";
75
+ import { I as Wt } from "./CazXy0r4.js";
76
+ import "./C8o-VGyc.js";
58
77
  import "../Layout.js";
59
78
  import "../Link.js";
60
79
  import "../List.js";
61
80
  import "../Mentions.js";
62
- import "./B16KHtX-.js";
63
- import "./BNHrEI0Y.js";
81
+ import "./B4-WpgY2.js";
82
+ import "./C6fEFlPt.js";
64
83
  import "../PageHeader.js";
65
- import "./DhBo0pPJ.js";
84
+ import "./DRp7voqz.js";
66
85
  import "../Popconfirm.js";
67
- import Mt from "../Popover.js";
86
+ import Bt from "../Popover.js";
68
87
  import "../Portal.js";
69
88
  import "../Progress.js";
70
89
  import "../ColorPicker.js";
71
90
  import "../Loading.js";
72
- import "./CuOl4X0X.js";
91
+ import "./B8SZFOjt.js";
73
92
  import "../Rate.js";
74
93
  import "../ResizeBox.js";
75
94
  import "../Result.js";
76
- import "./BYhtrDV3.js";
95
+ import "./nbEvdwT0.js";
77
96
  import "../Skeleton.js";
78
97
  import "../Slider.js";
79
98
  import "../Space.js";
80
99
  import "./l0sNRNKZ.js";
81
- import "./Dy487FZ1.js";
100
+ import "@unicom-cloud/icons/IconUiMute";
101
+ import "@unicom-cloud/icons/IconUiPauseCircleFill";
102
+ import "@unicom-cloud/icons/IconUiPlayCircleFill";
103
+ import "@unicom-cloud/icons/IconUiSound";
82
104
  import "../Spin.js";
83
105
  import "../Statistic.js";
84
106
  import "../Steps.js";
85
107
  import "../SuspenseFallbackTest.js";
86
108
  import "../Switch.js";
87
109
  import "../Table.js";
88
- import "./CbiWdbr_.js";
110
+ import "./BXWxA-tS.js";
89
111
  import "../Tag.js";
90
112
  import "../TimePicker.js";
91
- import "./BJ_7JTqC.js";
92
- import ft from "../Tooltip.js";
113
+ import "./D3VMG9V1.js";
114
+ import ut from "../Tooltip.js";
93
115
  import "../Transfer.js";
94
- import "./BBVjSFnw.js";
95
- import "lodash/get";
96
- import "lodash/has";
97
- import ut from "lodash/isUndefined";
98
- import "./DpfUGhi4.js";
99
- import "./Cbd50gx8.js";
116
+ import "./Cqyp4qni.js";
117
+ import ft from "lodash/isUndefined";
118
+ import "./BlNFmhNa.js";
119
+ import "./Wum88vrW.js";
100
120
  import "lodash/isEqual";
101
121
  import "react-dom";
102
122
  import { useUpdateEffect as Et } from "../hooks/useUpdateEffect.js";
103
- import lt from "../utils/mergedToString.js";
104
- import Wt from "../utils/omit.js";
105
- import Bt from "../utils/throttleByRafV2.js";
106
- import { I as Ht } from "./D-ER56Sf.js";
107
- import { useKeyboardEvent as Dt } from "../hooks/useKeyboardEvent.js";
123
+ import st from "../utils/mergedToString.js";
124
+ import Ht from "../utils/omit.js";
125
+ import Dt from "../utils/throttleByRafV2.js";
126
+ import _t from "@unicom-cloud/icons/IconUiEdit";
127
+ import { useKeyboardEvent as Vt } from "../hooks/useKeyboardEvent.js";
108
128
  import { useIsomorphicLayoutEffect as dt } from "../hooks/useIsomorphicLayoutEffect.js";
109
- import "./V6euPXVB.js";
110
- import "./D2HkyI6A.js";
111
- import "./BjSHZA0m.js";
129
+ import "./-Z968QpN.js";
130
+ import "./DGasAUHE.js";
131
+ import "./mfn4EgmQ.js";
112
132
  const I = [];
113
133
  for (let t = 0; t < 256; ++t)
114
134
  I.push((t + 256).toString(16).slice(1));
115
- function cn(t, o = 0) {
135
+ function kn(t, o = 0) {
116
136
  return (I[t[o + 0]] + I[t[o + 1]] + I[t[o + 2]] + I[t[o + 3]] + "-" + I[t[o + 4]] + I[t[o + 5]] + "-" + I[t[o + 6]] + I[t[o + 7]] + "-" + I[t[o + 8]] + I[t[o + 9]] + "-" + I[t[o + 10]] + I[t[o + 11]] + I[t[o + 12]] + I[t[o + 13]] + I[t[o + 14]] + I[t[o + 15]]).toLowerCase();
117
137
  }
118
- const _t = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), pn = { randomUUID: _t }, Vt = {
138
+ const jt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Ln = { randomUUID: jt }, Ot = {
119
139
  rows: 1,
120
140
  expandable: !0,
121
141
  defaultExpanded: !1
122
- }, jt = (t, o) => {
123
- var h;
124
- const s = ct(pt), c = bt(
142
+ }, Ft = (t, o) => {
143
+ var x;
144
+ const s = lt(ct), c = Tt(
125
145
  t,
126
- Vt,
127
- (h = s.componentConfig) == null ? void 0 : h["Typography.Ellipsis"]
146
+ Ot,
147
+ (x = s.componentConfig) == null ? void 0 : x["Typography.Ellipsis"]
128
148
  ), {
129
149
  className: N,
130
150
  style: p,
131
- rows: u,
151
+ rows: f,
132
152
  disabled: y,
133
153
  showTooltip: k,
134
154
  children: d,
@@ -136,10 +156,10 @@ const _t = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(cr
136
156
  expandRender: V,
137
157
  onExpand: $,
138
158
  onEllipsis: i
139
- } = c, { locale: x } = s, R = Pt ? !1 : /^((?!chrome|android).)*safari/i.test((navigator == null ? void 0 : navigator.userAgent) ?? ""), T = X(null), M = X(null), [E, L] = J(""), [j, W] = J(!1), S = X(null), C = X(null), [r, B] = gt(!1, {
159
+ } = c, { locale: u } = s, R = kt ? !1 : /^((?!chrome|android).)*safari/i.test((navigator == null ? void 0 : navigator.userAgent) ?? ""), T = X(null), M = X(null), [E, L] = J(""), [j, W] = J(!1), S = X(null), C = X(null), [r, B] = gt(!1, {
140
160
  defaultValue: c.defaultExpanded,
141
161
  value: c.expanded
142
- }), [f, G] = J(!1), O = et(() => K(b) ? !b.single && u === 1 : u === 1, [u, b]), v = et(() => K(k) ? {
162
+ }), [h, G] = J(!1), O = nt(() => K(b) ? !b.single && f === 1 : f === 1, [f, b]), v = nt(() => K(k) ? {
143
163
  tooltip: !0,
144
164
  tooltipProps: k
145
165
  } : {
@@ -152,7 +172,7 @@ const _t = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(cr
152
172
  e && L(e);
153
173
  }
154
174
  }, [d, M]);
155
- const a = s.getPrefixCls("ellipsis"), Q = () => V ? V(r) : /* @__PURE__ */ l("span", { className: `${a}-action-text`, children: r ? x.Typography.fold : x.Typography.unfold }), H = () => b && f ? /* @__PURE__ */ l(
175
+ const a = s.getPrefixCls("ellipsis"), Q = () => V ? V(r) : /* @__PURE__ */ l("span", { className: `${a}-action-text`, children: r ? u.Typography.fold : u.Typography.unfold }), H = () => b && h ? /* @__PURE__ */ l(
156
176
  "div",
157
177
  {
158
178
  className: _(`${a}-action`, {
@@ -163,11 +183,11 @@ const _t = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(cr
163
183
  },
164
184
  children: Q()
165
185
  }
166
- ) : null, A = St(
186
+ ) : null, A = vt(
167
187
  yt(() => {
168
- C.current && S.current && ((O ? C.current.offsetWidth > S.current.offsetWidth : C.current.offsetHeight > S.current.offsetHeight) ? f === !1 && (G(!0), i == null || i(!0)) : f === !0 && (G(!1), i == null || i(!1)));
188
+ C.current && S.current && ((O ? C.current.offsetWidth > S.current.offsetWidth : C.current.offsetHeight > S.current.offsetHeight) ? h === !1 && (G(!0), i == null || i(!0)) : h === !0 && (G(!1), i == null || i(!1)));
169
189
  }),
170
- [f, O]
190
+ [h, O]
171
191
  );
172
192
  z(() => {
173
193
  let e;
@@ -193,7 +213,7 @@ const _t = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(cr
193
213
  style: {
194
214
  WebkitBoxOrient: "vertical",
195
215
  MozBoxOrient: "vertical",
196
- WebkitLineClamp: u
216
+ WebkitLineClamp: f
197
217
  },
198
218
  ref: S,
199
219
  children: /* @__PURE__ */ l("span", { ref: C, className: `${a}-text`, children: d })
@@ -202,7 +222,7 @@ const _t = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(cr
202
222
  "div",
203
223
  {
204
224
  className: _(`${a}-content`, `${a}-multiple`),
205
- title: !v.tooltip && f && !r ? E : void 0,
225
+ title: !v.tooltip && h && !r ? E : void 0,
206
226
  children: [
207
227
  !r && H(),
208
228
  /* @__PURE__ */ l(
@@ -215,7 +235,7 @@ const _t = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(cr
215
235
  style: {
216
236
  WebkitBoxOrient: "vertical",
217
237
  MozBoxOrient: "vertical",
218
- WebkitLineClamp: u
238
+ WebkitLineClamp: f
219
239
  },
220
240
  children: d
221
241
  }
@@ -232,9 +252,9 @@ const _t = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(cr
232
252
  style: {
233
253
  WebkitBoxOrient: "vertical",
234
254
  MozBoxOrient: "vertical",
235
- WebkitLineClamp: u
255
+ WebkitLineClamp: f
236
256
  },
237
- title: !v.tooltip && f && !r ? E : void 0,
257
+ title: !v.tooltip && h && !r ? E : void 0,
238
258
  children: [
239
259
  !r && H(),
240
260
  /* @__PURE__ */ l("span", { ref: M, className: `${a}-text`, children: d }),
@@ -242,16 +262,16 @@ const _t = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(cr
242
262
  ]
243
263
  }
244
264
  ), D = () => y ? /* @__PURE__ */ l("div", { className: `${a}-content`, children: /* @__PURE__ */ l("span", { ref: M, className: `${a}-text`, children: d }) }) : v.tooltip ? /* @__PURE__ */ l(
245
- ft,
265
+ ut,
246
266
  {
247
267
  content: E,
248
268
  popupVisible: j,
249
- disabled: !f || r,
269
+ disabled: !h || r,
250
270
  triggerProps: {
251
271
  mouseEnterDelay: 100
252
272
  },
253
273
  onVisibleChange: (e) => {
254
- e ? f && !r && W(!0) : W(!1);
274
+ e ? h && !r && W(!0) : W(!1);
255
275
  },
256
276
  ...v.tooltipProps,
257
277
  children: F()
@@ -261,16 +281,16 @@ const _t = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(cr
261
281
  tt(),
262
282
  D()
263
283
  ] });
264
- }, Ot = U(jt);
265
- function Ft(t, o) {
266
- const { prefixCls: s, children: c, setEditing: N, editableConfig: p, style: u } = t, y = _(
284
+ }, Gt = U(Ft);
285
+ function qt(t, o) {
286
+ const { prefixCls: s, children: c, setEditing: N, editableConfig: p, style: f } = t, y = _(
267
287
  `${s}-typography`,
268
288
  `${s}-edit-content`,
269
289
  t.className
270
- ), k = lt(c), d = X(null);
290
+ ), k = st(c), d = X(null);
271
291
  z(() => {
272
- var i, x;
273
- if (d.current && ((x = (i = d.current).focus) == null || x.call(i)), d.current && d.current.dom) {
292
+ var i, u;
293
+ if (d.current && ((u = (i = d.current).focus) == null || u.call(i)), d.current && d.current.dom) {
274
294
  const { length: R } = d.current.dom.value;
275
295
  d.current.dom.setSelectionRange(R, R);
276
296
  }
@@ -280,14 +300,14 @@ function Ft(t, o) {
280
300
  N(!1), (i = p.onEnd) == null || i.call(p, k);
281
301
  }
282
302
  function V(i) {
283
- var x;
284
- (x = p.onChange) == null || x.call(p, i);
303
+ var u;
304
+ (u = p.onChange) == null || u.call(p, i);
285
305
  }
286
306
  function $() {
287
307
  b();
288
308
  }
289
- return /* @__PURE__ */ l("div", { className: y, style: u, ref: o, children: /* @__PURE__ */ l(
290
- Rt.TextArea,
309
+ return /* @__PURE__ */ l("div", { className: y, style: f, ref: o, children: /* @__PURE__ */ l(
310
+ Wt.TextArea,
291
311
  {
292
312
  className: `${s}-edit-content-textarea`,
293
313
  onBlur: $,
@@ -299,34 +319,34 @@ function Ft(t, o) {
299
319
  }
300
320
  ) });
301
321
  }
302
- const Gt = U(Ft);
303
- function qt(t) {
304
- var C, r, B, f, G;
322
+ const Kt = U(qt);
323
+ function Xt(t) {
324
+ var C, r, B, h, G;
305
325
  const {
306
326
  children: o,
307
327
  copyable: s,
308
328
  editable: c,
309
329
  ellipsis: N,
310
330
  expanding: p,
311
- setEditing: u,
331
+ setEditing: f,
312
332
  onClickExpand: y,
313
333
  forceShowExpand: k,
314
334
  isEllipsis: d,
315
335
  currentContext: b = {}
316
- } = t, V = Dt(), { getPrefixCls: $, locale: i } = b, x = $("typography"), R = K(N) ? N : {}, T = K(c) ? c : {}, M = kt(R.expandNodes) ? R.expandNodes : [(C = i == null ? void 0 : i.Typography) == null ? void 0 : C.fold, (r = i == null ? void 0 : i.Typography) == null ? void 0 : r.unfold], E = (O) => {
336
+ } = t, V = Vt(), { getPrefixCls: $, locale: i } = b, u = $("typography"), R = K(N) ? N : {}, T = K(c) ? c : {}, M = Rt(R.expandNodes) ? R.expandNodes : [(C = i == null ? void 0 : i.Typography) == null ? void 0 : C.fold, (r = i == null ? void 0 : i.Typography) == null ? void 0 : r.unfold], E = (O) => {
317
337
  var v;
318
- (v = T.onStart) == null || v.call(T, lt(o), O), u(!0);
338
+ (v = T.onStart) == null || v.call(T, st(o), O), f(!0);
319
339
  }, L = K(s) ? { ...s } : {};
320
- L.text === void 0 && (L.text = lt(o));
340
+ L.text === void 0 && (L.text = st(o));
321
341
  const j = !!s && /* @__PURE__ */ l(
322
- Lt,
342
+ Mt,
323
343
  {
324
344
  ...L,
325
- className: `${x}-operation-copy`,
345
+ className: `${u}-operation-copy`,
326
346
  tooltipProps: L.tooltipProps
327
347
  }
328
348
  ), W = c && /* @__PURE__ */ l(
329
- ft,
349
+ ut,
330
350
  {
331
351
  content: (B = i == null ? void 0 : i.Typography) == null ? void 0 : B.edit,
332
352
  ...T.tooltipProps,
@@ -334,21 +354,21 @@ function qt(t) {
334
354
  "span",
335
355
  {
336
356
  tabIndex: 0,
337
- "aria-label": (f = i == null ? void 0 : i.Typography) == null ? void 0 : f.edit,
357
+ "aria-label": (h = i == null ? void 0 : i.Typography) == null ? void 0 : h.edit,
338
358
  role: "button",
339
- className: `${x}-operation-edit`,
359
+ className: `${u}-operation-edit`,
340
360
  onClick: E,
341
361
  ...V({
342
362
  onPressEnter: E
343
363
  }),
344
- children: /* @__PURE__ */ l(Ht, {})
364
+ children: /* @__PURE__ */ l(_t, {})
345
365
  }
346
366
  )
347
367
  }
348
368
  ), S = k || R.expandable && d ? /* @__PURE__ */ l(
349
369
  "a",
350
370
  {
351
- className: `${x}-operation-expand`,
371
+ className: `${u}-operation-expand`,
352
372
  onClick: y,
353
373
  role: "button",
354
374
  tabIndex: 0,
@@ -366,22 +386,22 @@ function qt(t) {
366
386
  j
367
387
  ] });
368
388
  }
369
- const Kt = (t, o) => {
389
+ const At = (t, o) => {
370
390
  if (typeof window < "u" && window.CSS && window.CSS.supports)
371
- return ut(o) ? window.CSS.supports(t) : window.CSS.supports(t, o);
391
+ return ft(o) ? window.CSS.supports(t) : window.CSS.supports(t, o);
372
392
  if (typeof document < "u" && document.createElement) {
373
393
  const s = document.createElement("div");
374
394
  return s.setAttribute("style", `${t}:${o};`), typeof s.style[t] < "u";
375
395
  }
376
396
  return !1;
377
- }, Xt = {
397
+ }, Jt = {
378
398
  display: " -webkit-box",
379
399
  "-webkit-line-clamp": 2
380
- }, At = () => Object.entries(Xt).every(
381
- ([t, o]) => Kt(t, o)
400
+ }, Qt = () => Object.entries(Jt).every(
401
+ ([t, o]) => At(t, o)
382
402
  );
383
- function Jt(t) {
384
- const { cssEllipsis: o, ellipsisStr: s = "...", suffix: c, rows: N } = t, p = et(() => !o || N > 1 && !At() ? !1 : s === "..." && !c, [s, o, N, c]), u = {
403
+ function Yt(t) {
404
+ const { cssEllipsis: o, ellipsisStr: s = "...", suffix: c, rows: N } = t, p = nt(() => !o || N > 1 && !Qt() ? !1 : s === "..." && !c, [s, o, N, c]), f = {
385
405
  textOverflow: "ellipsis",
386
406
  whiteSpace: "nowrap",
387
407
  overflow: "hidden"
@@ -395,59 +415,59 @@ function Jt(t) {
395
415
  };
396
416
  return {
397
417
  simpleEllipsis: p,
398
- ellipsisStyle: p ? t.rows > 1 ? y : u : {}
418
+ ellipsisStyle: p ? t.rows > 1 ? y : f : {}
399
419
  };
400
420
  }
401
- const Qt = "hxj";
402
- var st = /* @__PURE__ */ ((t) => (t[t.INIT = 0] = "INIT", t[t.BEFORE_MEASURE = 1] = "BEFORE_MEASURE", t[t.MEASURING = 2] = "MEASURING", t[t.MEASURE_END = 3] = "MEASURE_END", t[t.NO_NEED_ELLIPSIS = 4] = "NO_NEED_ELLIPSIS", t))(st || {});
403
- function Yt(t) {
421
+ const Zt = "hxj";
422
+ var it = /* @__PURE__ */ ((t) => (t[t.INIT = 0] = "INIT", t[t.BEFORE_MEASURE = 1] = "BEFORE_MEASURE", t[t.MEASURING = 2] = "MEASURING", t[t.MEASURE_END = 3] = "MEASURE_END", t[t.NO_NEED_ELLIPSIS = 4] = "NO_NEED_ELLIPSIS", t))(it || {});
423
+ function Ut(t) {
404
424
  const {
405
425
  children: o,
406
426
  rows: s = 1,
407
427
  width: c,
408
428
  expanding: N,
409
429
  renderMeasureContent: p,
410
- simpleEllipsis: u,
430
+ simpleEllipsis: f,
411
431
  onEllipsis: y,
412
432
  suffix: k,
413
433
  expandNodes: d,
414
434
  expandable: b,
415
435
  ellipsisStr: V
416
- } = t, $ = X(), i = X(), [x, R] = J([0, 0, 0]), [T, M] = J(0), [E, L] = J(
436
+ } = t, $ = X(), i = X(), [u, R] = J([0, 0, 0]), [T, M] = J(0), [E, L] = J(
417
437
  4
418
438
  /* NO_NEED_ELLIPSIS */
419
- ), [j, W, S] = x, [C, r] = J(!1), B = et(() => it.Children.toArray(o), [o]), f = X(0);
439
+ ), [j, W, S] = u, [C, r] = J(!1), B = nt(() => rt.Children.toArray(o), [o]), h = X(0);
420
440
  Et(() => {
421
441
  y == null || y(C);
422
442
  }, [C]);
423
- const G = (h) => It(h) || Tt(h), O = (h) => {
443
+ const G = (x) => Lt(x) || Pt(x), O = (x) => {
424
444
  let e = 0;
425
- return h.forEach((g) => {
445
+ return x.forEach((g) => {
426
446
  G(g) ? e += String(g).length : e += 1;
427
447
  }), e;
428
- }, v = et(() => O(B), [B]), a = yt(
429
- (h) => R(h)
430
- ), Q = (h) => {
448
+ }, v = nt(() => O(B), [B]), a = yt(
449
+ (x) => R(x)
450
+ ), Q = (x) => {
431
451
  const e = [];
432
452
  let g = 0;
433
- if (h >= v)
453
+ if (x >= v)
434
454
  return B;
435
455
  for (const P in B) {
436
456
  const n = B[P];
437
- if (g >= h)
457
+ if (g >= x)
438
458
  return e;
439
459
  const m = G(n) ? String(n).length : 1;
440
- if (m > h - g)
441
- return e.push(String(n).slice(0, h - g)), g = h, e;
460
+ if (m > x - g)
461
+ return e.push(String(n).slice(0, x - g)), g = x, e;
442
462
  g += m, e.push(n);
443
463
  }
444
464
  return e;
445
465
  }, H = () => {
446
- var h, e, g;
466
+ var x, e, g;
447
467
  if (T) {
448
468
  if (E === 0) {
449
- const P = s * T, m = ((h = i.current) == null ? void 0 : h.offsetHeight) > P;
450
- !m || u || N ? (L(
469
+ const P = s * T, m = ((x = i.current) == null ? void 0 : x.offsetHeight) > P;
470
+ !m || f || N ? (L(
451
471
  3
452
472
  /* MEASURE_END */
453
473
  ), r(m), R([0, v, v])) : (r(!0), L(
@@ -457,10 +477,10 @@ function Yt(t) {
457
477
  } else if (E === 1) {
458
478
  const P = (e = $ == null ? void 0 : $.current) == null ? void 0 : e.offsetWidth, n = s * c;
459
479
  if (P > s * c) {
460
- const m = Math.max(n / P - 0.1, 0), w = Math.min(n / P + 0.1, 1), q = Math.floor(m * v), Y = Math.ceil(w * v), ot = Math.floor(
480
+ const m = Math.max(n / P - 0.1, 0), w = Math.min(n / P + 0.1, 1), q = Math.floor(m * v), Y = Math.ceil(w * v), et = Math.floor(
461
481
  (q + Y) / 2
462
482
  );
463
- f.current = ot;
483
+ h.current = et;
464
484
  }
465
485
  L(
466
486
  2
@@ -490,7 +510,7 @@ function Yt(t) {
490
510
  );
491
511
  }, [
492
512
  v,
493
- u,
513
+ f,
494
514
  N,
495
515
  c,
496
516
  k,
@@ -500,8 +520,8 @@ function Yt(t) {
500
520
  t.rows
501
521
  ]), dt(() => {
502
522
  if ($.current && E === 0) {
503
- const h = $.current.offsetHeight;
504
- M(h);
523
+ const x = $.current.offsetHeight;
524
+ M(x);
505
525
  }
506
526
  }, [E]), dt(() => {
507
527
  H();
@@ -515,84 +535,84 @@ function Yt(t) {
515
535
  }, tt = {
516
536
  whiteSpace: "nowrap",
517
537
  ...A
518
- }, F = u ? {
538
+ }, F = f ? {
519
539
  textOverflow: "clip",
520
540
  ...A
521
541
  } : A;
522
542
  let D;
523
543
  if (E === 0 || E === 1)
524
544
  D = /* @__PURE__ */ Z("div", { children: [
525
- /* @__PURE__ */ l("div", { ref: $, style: tt, children: E === 0 ? Qt : p(o, !1) }),
545
+ /* @__PURE__ */ l("div", { ref: $, style: tt, children: E === 0 ? Zt : p(o, !1) }),
526
546
  /* @__PURE__ */ l("div", { ref: i, style: { width: c, ...F }, children: p(o, C) })
527
547
  ] }), D = D.props.children;
528
548
  else if (E === 2) {
529
- const h = {
549
+ const x = {
530
550
  height: T * s,
531
551
  overflow: "hidden"
532
552
  };
533
553
  D = /* @__PURE__ */ Z("div", { children: [
534
554
  /* @__PURE__ */ l("div", { ref: i, style: { width: c, ...F }, children: p(Q(W), C) }),
535
- /* @__PURE__ */ l("div", { style: h, children: Q(f.current) })
555
+ /* @__PURE__ */ l("div", { style: x, children: Q(h.current) })
536
556
  ] }), D = D.props.children;
537
557
  } else E === 3 ? D = p(Q(W), C) : E === 4 && (D = p(o, !1));
538
558
  return { ellipsisNode: D, isEllipsis: C, measureStatus: E };
539
559
  }
540
- function Zt(t, o) {
560
+ function zt(t, o) {
541
561
  const {
542
562
  type: s,
543
563
  bold: c,
544
564
  disabled: N,
545
565
  mark: p,
546
- underline: u,
566
+ underline: f,
547
567
  delete: y,
548
568
  code: k
549
569
  } = t, d = [], b = [];
550
- return s && b.push(`${o}-${s}`), N && b.push(`${o}-disabled`), c && d.push("b"), u && d.push("u"), y && d.push("del"), k && d.push("code"), p && d.push("mark"), {
570
+ return s && b.push(`${o}-${s}`), N && b.push(`${o}-disabled`), c && d.push("b"), f && d.push("u"), y && d.push("del"), k && d.push("code"), p && d.push("mark"), {
551
571
  component: d,
552
572
  className: b
553
573
  };
554
574
  }
555
- function Ut(t, o) {
575
+ function te(t, o) {
556
576
  const {
557
577
  componentType: s,
558
578
  style: c,
559
579
  className: N,
560
580
  children: p,
561
- editable: u,
581
+ editable: f,
562
582
  ellipsis: y,
563
583
  heading: k,
564
584
  blockquote: d,
565
585
  ...b
566
- } = t, V = ct(pt), { getPrefixCls: $, rtl: i } = V, x = $("typography"), R = X(), { component: T, className: M } = Zt(t, x), [E, L] = J(!1), [j, W] = J(0), S = K(u) ? u : {}, C = "editing" in S ? S.editing : E, r = y ? {
586
+ } = t, V = lt(ct), { getPrefixCls: $, rtl: i } = V, u = $("typography"), R = X(), { component: T, className: M } = zt(t, u), [E, L] = J(!1), [j, W] = J(0), S = K(f) ? f : {}, C = "editing" in S ? S.editing : E, r = y ? {
567
587
  rows: 1,
568
588
  ellipsisStr: "...",
569
589
  cssEllipsis: !1,
570
590
  ...K(y) ? y : {}
571
- } : {}, B = r.wrapper || it.Fragment, [f, G] = gt(!1, {
591
+ } : {}, B = r.wrapper || rt.Fragment, [h, G] = gt(!1, {
572
592
  defaultValue: r.defaultExpanded,
573
593
  value: r.expanded
574
- }), { simpleEllipsis: O, ellipsisStyle: v } = Jt(r), a = (n, m) => {
575
- const w = ut(r.ellipsisStr) ? "..." : r.ellipsisStr, q = !ut(r.suffix) && r.suffix;
594
+ }), { simpleEllipsis: O, ellipsisStyle: v } = Yt(r), a = (n, m) => {
595
+ const w = ft(r.ellipsisStr) ? "..." : r.ellipsisStr, q = !ft(r.suffix) && r.suffix;
576
596
  return /* @__PURE__ */ Z(B, { children: [
577
597
  n,
578
- m && !f && !O ? w : "",
598
+ m && !h && !O ? w : "",
579
599
  q,
580
600
  D(m)
581
601
  ] });
582
- }, { ellipsisNode: Q, isEllipsis: H, measureStatus: A } = Yt({
602
+ }, { ellipsisNode: Q, isEllipsis: H, measureStatus: A } = Ut({
583
603
  ...r,
584
604
  children: p,
585
- expanding: f,
605
+ expanding: h,
586
606
  width: j,
587
607
  renderMeasureContent: a,
588
- simpleEllipsis: O || f
589
- }), tt = Bt((n) => {
608
+ simpleEllipsis: O || h
609
+ }), tt = Dt((n) => {
590
610
  const { contentRect: m } = n == null ? void 0 : n[0];
591
611
  if (m) {
592
612
  const w = T.includes("code") ? m.width - 18 : m.width;
593
613
  [
594
- st.NO_NEED_ELLIPSIS,
595
- st.MEASURE_END
614
+ it.NO_NEED_ELLIPSIS,
615
+ it.MEASURE_END
596
616
  ].includes(A) && W(w);
597
617
  }
598
618
  }), F = X(null);
@@ -605,50 +625,54 @@ function Ut(t, o) {
605
625
  }, [F.current]);
606
626
  function D(n) {
607
627
  return /* @__PURE__ */ l(xt, { children: /* @__PURE__ */ l(
608
- qt,
628
+ Xt,
609
629
  {
610
630
  ...t,
611
631
  setEditing: L,
612
- onClickExpand: h,
613
- expanding: f,
632
+ onClickExpand: x,
633
+ expanding: h,
614
634
  isEllipsis: n,
615
635
  currentContext: V
616
636
  }
617
637
  ) });
618
638
  }
619
- function h(n) {
639
+ function x(n) {
620
640
  var m, w;
621
- G(!f), (m = t.onClickExpand) == null || m.call(t, n), (w = r.onExpand) == null || w.call(r, !f, n);
641
+ G(!h), (m = t.onClickExpand) == null || m.call(t, n), (w = r.onExpand) == null || w.call(r, !h, n);
622
642
  }
623
643
  Et(() => {
624
644
  var n;
625
645
  (n = r.onEllipsis) == null || n.call(r, H);
626
- }, [H]), vt(o, () => R.current);
646
+ }, [H]), bt(o, () => R.current);
627
647
  function e(n, m, w, q = {}) {
628
648
  let Y = n;
629
- return m.forEach((ot, mt) => {
630
- const nt = mt === 0 ? q : {}, rt = K(w.mark) && w.mark.color ? { style: { backgroundColor: w.mark.color }, ...nt } : { ...nt };
631
- Y = it.createElement(ot, { ...rt }, Y);
649
+ return m.forEach((et, at) => {
650
+ const mt = { className: `${u}-${et}` }, ot = at === 0 ? q : {}, St = K(w.mark) && w.mark.color ? { style: { backgroundColor: w.mark.color }, ...ot } : { ...ot };
651
+ Y = rt.createElement(
652
+ et,
653
+ It({ ...St }, mt),
654
+ Y
655
+ );
632
656
  }), Y;
633
657
  }
634
658
  let g;
635
659
  s === "Paragraph" ? g = d ? "blockquote" : "div" : s === "Title" ? g = `h${k}` : s === "Text" && (g = y ? "div" : "span");
636
660
  function P() {
637
- const n = lt(it.Children.toArray(p)), m = r.showTooltip, w = K(r.showTooltip) && r.showTooltip.type === "popover" ? "popover" : "tooltip", q = K(r.showTooltip) ? r.showTooltip.props || {} : {}, Y = w === "popover" ? Mt : ft, mt = {
661
+ const n = st(rt.Children.toArray(p)), m = r.showTooltip, w = K(r.showTooltip) && r.showTooltip.type === "popover" ? "popover" : "tooltip", q = K(r.showTooltip) ? r.showTooltip.props || {} : {}, Y = w === "popover" ? Bt : ut, at = {
638
662
  style: c,
639
- ...H && !m && !f ? { title: n } : {}
640
- }, nt = H && m && !f, rt = /* @__PURE__ */ l(
663
+ ...H && !m && !h ? { title: n } : {}
664
+ }, mt = H && m && !h, ot = /* @__PURE__ */ l(
641
665
  g,
642
666
  {
643
667
  ref: R,
644
668
  className: _(
645
- x,
669
+ u,
646
670
  M,
647
- { [`${x}-rtl`]: i },
671
+ { [`${u}-rtl`]: i },
648
672
  N
649
673
  ),
650
- ...mt,
651
- ...Wt(b, [
674
+ ...at,
675
+ ...Ht(b, [
652
676
  "spacing",
653
677
  "type",
654
678
  "close",
@@ -665,7 +689,7 @@ function Ut(t, o) {
665
689
  "setEditing",
666
690
  "forceShowExpand"
667
691
  ]),
668
- children: O && A !== st.INIT && !f && H ? e(
692
+ children: O && A !== it.INIT && !h && H ? e(
669
693
  // CSS folding style, need to wrap the text separately.
670
694
  a(
671
695
  /* @__PURE__ */ l("span", { style: v, children: p }),
@@ -675,71 +699,71 @@ function Ut(t, o) {
675
699
  t,
676
700
  // The simple-ellipsis class ensures that the ReactNode after the text is displayed correctly (no line breaks)
677
701
  // Need to act on the immediate parent node of the text
678
- { className: `${x}-simple-ellipsis` }
702
+ { className: `${u}-simple-ellipsis` }
679
703
  ) : e(Q, T, t)
680
704
  }
681
705
  );
682
- return nt ? /* @__PURE__ */ l(Y, { content: n, ...q, children: /* @__PURE__ */ l("span", { children: rt }) }) : rt;
706
+ return mt ? /* @__PURE__ */ l(Y, { content: n, ...q, children: /* @__PURE__ */ l("span", { children: ot }) }) : ot;
683
707
  }
684
708
  return C ? /* @__PURE__ */ l(
685
- Gt,
709
+ Kt,
686
710
  {
687
711
  ref: o,
688
712
  ...t,
689
713
  className: _(
690
- x,
714
+ u,
691
715
  M,
692
- { [`${x}-rtl`]: i },
693
- `${x}-${g}`,
716
+ { [`${u}-rtl`]: i },
717
+ `${u}-${g}`,
694
718
  N
695
719
  ),
696
- prefixCls: x,
720
+ prefixCls: u,
697
721
  setEditing: L,
698
722
  editableConfig: S
699
723
  }
700
724
  ) : P();
701
725
  }
702
- const ht = U(Ut);
703
- function zt(t, o) {
704
- const { spacing: s = "default", className: c } = t, { getPrefixCls: N } = ct(pt), p = N("typography"), u = s === "close" ? _(`${p}-spacing-close`, c) : c;
726
+ const ht = U(te);
727
+ function ee(t, o) {
728
+ const { spacing: s = "default", className: c } = t, { getPrefixCls: N } = lt(ct), p = N("typography"), f = s === "close" ? _(`${p}-spacing-close`, c) : c;
705
729
  return /* @__PURE__ */ l(
706
730
  ht,
707
731
  {
708
732
  ...t,
709
733
  ref: o,
710
734
  componentType: "Paragraph",
711
- className: u
735
+ className: f
712
736
  }
713
737
  );
714
738
  }
715
739
  const Nt = U(
716
- zt
740
+ ee
717
741
  );
718
742
  Nt.displayName = "Paragraph";
719
- function te(t, o) {
743
+ function oe(t, o) {
720
744
  return /* @__PURE__ */ l(ht, { ...t, componentType: "Text", ref: o });
721
745
  }
722
- const Ct = U(te);
746
+ const Ct = U(oe);
723
747
  Ct.displayName = "Text";
724
- function ee(t, o) {
748
+ function ne(t, o) {
725
749
  const { heading: s = 1, ...c } = t;
726
750
  return /* @__PURE__ */ l(ht, { heading: s, ...c, componentType: "Title", ref: o });
727
751
  }
728
- const wt = U(ee);
752
+ const wt = U(ne);
729
753
  wt.displayName = "Title";
730
- function oe(t, o) {
731
- const { getPrefixCls: s } = ct(pt), c = s("typography"), { className: N, style: p, children: u } = t, y = _(c, N);
732
- return /* @__PURE__ */ l("article", { ref: o, style: p, className: y, children: u });
754
+ function re(t, o) {
755
+ const { getPrefixCls: s } = lt(ct), c = s("typography"), { className: N, style: p, children: f } = t, y = _(c, N);
756
+ return /* @__PURE__ */ l("article", { ref: o, style: p, className: y, children: f });
733
757
  }
734
- const $t = U(oe);
758
+ const $t = U(re);
735
759
  $t.displayName = "Typography";
736
- const at = $t;
737
- at.Title = wt;
738
- at.Text = Ct;
739
- at.Paragraph = Nt;
740
- at.Ellipsis = Ot;
760
+ const pt = $t;
761
+ pt.Title = wt;
762
+ pt.Text = Ct;
763
+ pt.Paragraph = Nt;
764
+ pt.Ellipsis = Gt;
741
765
  export {
742
- at as T,
743
- cn as l,
744
- pn as t
766
+ pt as T,
767
+ kn as l,
768
+ Ln as t
745
769
  };