@unicom-cloud/ui 0.8.93 → 0.8.95

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 (272) hide show
  1. package/Checkbox.js +5 -4
  2. package/Layout.js +8 -7
  3. package/Message.js +1 -1
  4. package/Notification.js +1 -1
  5. package/Switch.js +1 -1
  6. package/Tooltip.js +1 -1
  7. package/Trigger.js +1 -1
  8. package/back-top/index.js +8 -8
  9. package/badge/index.js +11 -11
  10. package/cascader/panel/List.js +1 -1
  11. package/cascader/panel/Option.js +7 -6
  12. package/cascader/panel/Search.js +17 -16
  13. package/checkbox/index.js +7 -6
  14. package/collapse/Item.js +1 -1
  15. package/color-picker/InputHex.js +1 -1
  16. package/color-picker/InputRgb.js +1 -1
  17. package/color-picker/Mode.js +7 -6
  18. package/color-picker/Palette.js +1 -1
  19. package/color-picker/Panel.js +1 -1
  20. package/color-picker/colors.js +1 -1
  21. package/color-picker/hooks/useColorPicker.js +1 -1
  22. package/color-picker/utils.js +1 -1
  23. package/components/common/empty/index.js +33 -13
  24. package/components/common/space/index.js +4 -3
  25. package/components/common/utils/PqbCSSTransition.js +1 -1
  26. package/components/common/utils/setPrimaryColor.js +21 -21
  27. package/components/common/utils/setTheme.js +23 -23
  28. package/dist/react-transition-group/src/CSSTransition.js +1 -1
  29. package/dist/react-transition-group/src/SwitchTransition.js +1 -1
  30. package/dist/tinycolor/chunk/{DGZSWe7E.js → BOzCVdr0.js} +43 -43
  31. package/dist/tinycolor/customize/index.js +1 -1
  32. package/dist/tween/src/tween.js +25 -24
  33. package/index.js +173 -173
  34. package/input-tag/InputTag.js +1 -1
  35. package/layout/index.js +11 -9
  36. package/message/index.js +1 -1
  37. package/notification/index.js +1 -1
  38. package/package.json +1 -1
  39. package/pagination/PageItem.js +52 -53
  40. package/pagination/Pagination.js +2 -1
  41. package/pagination/interface.js +4 -1
  42. package/select/Option.js +12 -11
  43. package/select/Select.js +1 -0
  44. package/statistic/index.js +16 -16
  45. package/style.css +1 -1
  46. package/switch/index.js +1 -1
  47. package/table/Table.js +153 -153
  48. package/table/tbody/Tr.js +3 -2
  49. package/table/thead/Column.js +3 -2
  50. package/table/thead/index.js +3 -2
  51. package/tag/index.js +24 -24
  52. package/time-picker/util.js +4 -4
  53. package/tooltip/index.js +1 -1
  54. package/transfer/Item.js +17 -16
  55. package/transfer/List.js +12 -11
  56. package/tree/Node.js +43 -41
  57. package/tree/Tree.js +215 -211
  58. package/trigger/index.js +1 -1
  59. package/types/pc/affix/index.d.ts +1 -1
  60. package/types/pc/alert/index.d.ts +1 -1
  61. package/types/pc/anchor/Anchor.d.ts +1 -1
  62. package/types/pc/anchor/Link.d.ts +1 -1
  63. package/types/pc/anchor/context.d.ts +1 -1
  64. package/types/pc/auto-complete/index.d.ts +1 -1
  65. package/types/pc/avatar/Avatar.d.ts +1 -1
  66. package/types/pc/avatar/Group.d.ts +1 -1
  67. package/types/pc/avatar/context.d.ts +1 -1
  68. package/types/pc/back-top/index.d.ts +1 -1
  69. package/types/pc/badge/index.d.ts +2 -2
  70. package/types/pc/badge/interface.d.ts +1 -1
  71. package/types/pc/breadcrumb/Item.d.ts +1 -1
  72. package/types/pc/breadcrumb/index.d.ts +1 -1
  73. package/types/pc/button/Group.d.ts +1 -1
  74. package/types/pc/button/index.d.ts +1 -1
  75. package/types/pc/calendar/Month.d.ts +1 -1
  76. package/types/pc/calendar/Year.d.ts +1 -1
  77. package/types/pc/calendar/index.d.ts +1 -1
  78. package/types/pc/card/Grid.d.ts +1 -1
  79. package/types/pc/card/Meta.d.ts +1 -1
  80. package/types/pc/card/index.d.ts +1 -1
  81. package/types/pc/carousel/Arrow.d.ts +1 -1
  82. package/types/pc/carousel/Indicator.d.ts +1 -1
  83. package/types/pc/carousel/index.d.ts +2 -2
  84. package/types/pc/cascader/Cascader.d.ts +1 -1
  85. package/types/pc/cascader/util.d.ts +1 -1
  86. package/types/pc/checkbox/Checkbox.d.ts +1 -1
  87. package/types/pc/checkbox/Group.d.ts +1 -1
  88. package/types/pc/checkbox/GroupBlock.d.ts +1 -1
  89. package/types/pc/checkbox/index.d.ts +1 -1
  90. package/types/pc/collapse/Collapse.d.ts +1 -1
  91. package/types/pc/collapse/Item.d.ts +1 -1
  92. package/types/pc/color-picker/InputHex.d.ts +1 -1
  93. package/types/pc/color-picker/InputRgb.d.ts +1 -1
  94. package/types/pc/color-picker/Mode.d.ts +1 -1
  95. package/types/pc/color-picker/Palette.d.ts +1 -1
  96. package/types/pc/color-picker/index.d.ts +1 -1
  97. package/types/pc/color-picker/utils.d.ts +1 -1
  98. package/types/pc/comment/index.d.ts +1 -1
  99. package/types/pc/config-provider/ConfigProvider.d.ts +3 -2
  100. package/types/pc/config-provider/context.d.ts +1 -1
  101. package/types/pc/config-provider/interface.d.ts +1 -1
  102. package/types/pc/copy/index.d.ts +1 -1
  103. package/types/pc/date-picker/Picker.d.ts +1 -2
  104. package/types/pc/date-picker/RangePicker.d.ts +1 -1
  105. package/types/pc/date-picker/index.d.ts +1 -1
  106. package/types/pc/descriptions/index.d.ts +1 -1
  107. package/types/pc/details/index.d.ts +1 -1
  108. package/types/pc/divider/index.d.ts +1 -1
  109. package/types/pc/draggable/Item.d.ts +1 -1
  110. package/types/pc/draggable/index.d.ts +1 -1
  111. package/types/pc/drawer/Drawer.d.ts +2 -2
  112. package/types/pc/dropdown/Button.d.ts +1 -1
  113. package/types/pc/dropdown/index.d.ts +1 -1
  114. package/types/pc/empty/index.d.ts +1 -1
  115. package/types/pc/form/Control.d.ts +1 -1
  116. package/types/pc/form/Form.d.ts +1 -1
  117. package/types/pc/form/FormLabel.d.ts +1 -1
  118. package/types/pc/form/FormList.d.ts +1 -1
  119. package/types/pc/form/FormProvider.d.ts +1 -1
  120. package/types/pc/form/context.d.ts +1 -1
  121. package/types/pc/form/hook/useForm.d.ts +1 -1
  122. package/types/pc/form/index.d.ts +1 -1
  123. package/types/pc/form/interface.d.ts +2 -2
  124. package/types/pc/form/store.d.ts +3 -4
  125. package/types/pc/form/util.d.ts +3 -3
  126. package/types/pc/grid/Col.d.ts +1 -1
  127. package/types/pc/grid/Grid.d.ts +1 -1
  128. package/types/pc/grid/GridItem.d.ts +1 -1
  129. package/types/pc/grid/Row.d.ts +1 -1
  130. package/types/pc/grid/context.d.ts +1 -1
  131. package/types/pc/grid/util.d.ts +1 -1
  132. package/types/pc/hooks/use-watermark/index.d.ts +1 -1
  133. package/types/pc/icons/file/index.d.ts +1 -1
  134. package/types/pc/image/Image.d.ts +1 -1
  135. package/types/pc/image/ImageFooter.d.ts +1 -1
  136. package/types/pc/image/ImagePreview.d.ts +1 -1
  137. package/types/pc/image/ImagePreviewGroup.d.ts +1 -1
  138. package/types/pc/image/ImagePreviewToolbar.d.ts +1 -1
  139. package/types/pc/image/index.d.ts +1 -1
  140. package/types/pc/image/previewGroupContext.d.ts +1 -1
  141. package/types/pc/input/Button.d.ts +1 -1
  142. package/types/pc/input/Group.d.ts +1 -1
  143. package/types/pc/input/Input.d.ts +1 -1
  144. package/types/pc/input/InputElement.d.ts +1 -1
  145. package/types/pc/input/Password.d.ts +1 -1
  146. package/types/pc/input/Search.d.ts +1 -1
  147. package/types/pc/input/Textarea.d.ts +1 -1
  148. package/types/pc/input/index.d.ts +1 -1
  149. package/types/pc/input/useComposition.d.ts +1 -1
  150. package/types/pc/input-number/index.d.ts +1 -1
  151. package/types/pc/input-tag/InputTag.d.ts +2 -2
  152. package/types/pc/input-tag/interface.d.ts +2 -2
  153. package/types/pc/layout/Content.d.ts +1 -1
  154. package/types/pc/layout/Footer.d.ts +1 -1
  155. package/types/pc/layout/Header.d.ts +1 -1
  156. package/types/pc/layout/Sider.d.ts +1 -1
  157. package/types/pc/layout/index.d.ts +2 -2
  158. package/types/pc/link/index.d.ts +1 -1
  159. package/types/pc/list/Item.d.ts +1 -1
  160. package/types/pc/list/Meta.d.ts +1 -1
  161. package/types/pc/list/index.d.ts +2 -2
  162. package/types/pc/mentions/index.d.ts +1 -1
  163. package/types/pc/mentions/util.d.ts +1 -1
  164. package/types/pc/menu/Item.d.ts +1 -1
  165. package/types/pc/menu/ItemGroup.d.ts +1 -1
  166. package/types/pc/menu/Menu.d.ts +1 -1
  167. package/types/pc/menu/OverflowWrap.d.ts +1 -1
  168. package/types/pc/menu/context.d.ts +2 -2
  169. package/types/pc/menu/index.d.ts +1 -1
  170. package/types/pc/menu/interface.d.ts +1 -1
  171. package/types/pc/message/index.d.ts +2 -2
  172. package/types/pc/message/useMessage.d.ts +1 -1
  173. package/types/pc/modal/Modal.d.ts +2 -2
  174. package/types/pc/modal/config.d.ts +1 -1
  175. package/types/pc/notification/index.d.ts +2 -2
  176. package/types/pc/notification/useNotification.d.ts +1 -1
  177. package/types/pc/page-header/index.d.ts +2 -2
  178. package/types/pc/pagination/PageItem.d.ts +2 -47
  179. package/types/pc/pagination/Pagination.d.ts +1 -1
  180. package/types/pc/pagination/interface.d.ts +47 -0
  181. package/types/pc/popconfirm/index.d.ts +1 -1
  182. package/types/pc/popover/index.d.ts +1 -1
  183. package/types/pc/popover/interface.d.ts +1 -1
  184. package/types/pc/progress/CircleProgress.d.ts +1 -1
  185. package/types/pc/progress/index.d.ts +1 -1
  186. package/types/pc/radio/Group.d.ts +1 -1
  187. package/types/pc/radio/GroupBlock.d.ts +1 -1
  188. package/types/pc/radio/Radio.d.ts +1 -1
  189. package/types/pc/radio/index.d.ts +1 -1
  190. package/types/pc/rate/index.d.ts +1 -1
  191. package/types/pc/resize-box/Split.d.ts +1 -1
  192. package/types/pc/resize-box/SplitGroup.d.ts +1 -1
  193. package/types/pc/resize-box/index.d.ts +1 -1
  194. package/types/pc/result/index.d.ts +1 -1
  195. package/types/pc/select/OptGroup.d.ts +1 -1
  196. package/types/pc/select/Option.d.ts +1 -1
  197. package/types/pc/select/Select.d.ts +3 -2
  198. package/types/pc/select/index.d.ts +1 -1
  199. package/types/pc/select/util.d.ts +1 -1
  200. package/types/pc/select-view/Core.d.ts +1 -1
  201. package/types/pc/select-view/index.d.ts +1 -1
  202. package/types/pc/skeleton/Image.d.ts +1 -1
  203. package/types/pc/skeleton/Text.d.ts +1 -1
  204. package/types/pc/skeleton/index.d.ts +1 -1
  205. package/types/pc/slider/Button.d.ts +1 -1
  206. package/types/pc/slider/hook/useInterval.d.ts +1 -1
  207. package/types/pc/slider/index.d.ts +1 -1
  208. package/types/pc/space/index.d.ts +1 -1
  209. package/types/pc/space-/index.d.ts +1 -1
  210. package/types/pc/spin/index.d.ts +1 -1
  211. package/types/pc/statistic/Countdown.d.ts +1 -1
  212. package/types/pc/statistic/index.d.ts +2 -2
  213. package/types/pc/steps/Step.d.ts +1 -1
  214. package/types/pc/steps/index.d.ts +1 -1
  215. package/types/pc/switch/index.d.ts +2 -2
  216. package/types/pc/table/ColGroup.d.ts +1 -1
  217. package/types/pc/table/Table.d.ts +1 -1
  218. package/types/pc/table/constant.d.ts +1 -1
  219. package/types/pc/table/interface.d.ts +1 -1
  220. package/types/pc/table/util.d.ts +1 -1
  221. package/types/pc/tabs/Tab.d.ts +1 -1
  222. package/types/pc/tabs/TabPane.d.ts +1 -1
  223. package/types/pc/tabs/index.d.ts +1 -1
  224. package/types/pc/tabs/tab-header/TabNavIcon.d.ts +1 -1
  225. package/types/pc/tabs/tab-header/index.d.ts +1 -1
  226. package/types/pc/tag/index.d.ts +1 -1
  227. package/types/pc/time-picker/Picker.d.ts +1 -1
  228. package/types/pc/time-picker/RangePicker.d.ts +1 -1
  229. package/types/pc/time-picker/TimePicker.d.ts +1 -1
  230. package/types/pc/time-picker/index.d.ts +1 -1
  231. package/types/pc/timeline/Item.d.ts +1 -1
  232. package/types/pc/timeline/Timeline.d.ts +1 -1
  233. package/types/pc/timeline/index.d.ts +1 -1
  234. package/types/pc/tooltip/index.d.ts +2 -2
  235. package/types/pc/transfer/Item.d.ts +1 -1
  236. package/types/pc/transfer/List.d.ts +1 -1
  237. package/types/pc/transfer/index.d.ts +1 -1
  238. package/types/pc/tree/Animation.d.ts +1 -1
  239. package/types/pc/tree/Context.d.ts +1 -1
  240. package/types/pc/tree/Node.d.ts +1 -1
  241. package/types/pc/tree/Tree.d.ts +1 -1
  242. package/types/pc/tree/index.d.ts +2 -2
  243. package/types/pc/tree/interface.d.ts +19 -3
  244. package/types/pc/tree/util.d.ts +1 -1
  245. package/types/pc/tree-select/List.d.ts +1 -1
  246. package/types/pc/trigger/getPopupStyle.d.ts +1 -1
  247. package/types/pc/trigger/index.d.ts +2 -2
  248. package/types/pc/typography/EditContent.d.ts +1 -1
  249. package/types/pc/typography/Ellipsis.d.ts +1 -1
  250. package/types/pc/typography/Operations.d.ts +1 -1
  251. package/types/pc/typography/Paragraph.d.ts +1 -1
  252. package/types/pc/typography/Title.d.ts +1 -1
  253. package/types/pc/typography/Typography.d.ts +1 -1
  254. package/types/pc/typography/useCssEllipsis.d.ts +1 -1
  255. package/types/pc/typography/useEllipsis.d.ts +1 -1
  256. package/types/pc/upload/TriggerNode.d.ts +1 -1
  257. package/types/pc/upload/Upload.d.ts +2 -2
  258. package/types/pc/upload/Uploader.d.ts +1 -1
  259. package/types/pc/upload/request.d.ts +1 -1
  260. package/types/pc/upload/util.d.ts +1 -1
  261. package/types/pc/verification-code/VerificationCode.d.ts +1 -1
  262. package/types/pc/verification-code/index.d.ts +1 -1
  263. package/types/pc/watermark/Watermark.d.ts +1 -1
  264. package/types/pc/watermark/index.d.ts +2 -2
  265. package/typography/Ellipsis.js +7 -5
  266. package/upload/list/index.js +1 -1
  267. package/utils/color.js +1 -1
  268. package/utils/index.js +2 -2
  269. package/utils/reactTransitionGroup.js +1 -1
  270. package/utils/tinycolor.js +1 -1
  271. package/version/index.js +1 -1
  272. /package/dist/react-transition-group/chunk/{CPfP7aNL.js → C6QwjD4L.js} +0 -0
package/index.js CHANGED
@@ -34,7 +34,7 @@ import { names as De } from "./dist/tinycolor/src/css-color-names.js";
34
34
  import { inputToRGB as Ee, isValidCSSUnit as ve, stringInputToObject as Me } from "./dist/tinycolor/src/format-input.js";
35
35
  import { compareColorByRange as Oe } from "./dist/tinycolor/customize/index.js";
36
36
  import { TinyColor as Le } from "./dist/tinycolor/src/index.js";
37
- import { a as we } from "./dist/tinycolor/chunk/DGZSWe7E.js";
37
+ import { a as we } from "./dist/tinycolor/chunk/BOzCVdr0.js";
38
38
  import { compute as Ge, compute as _e } from "./dist/compute-scroll-into-view/src/index.js";
39
39
  import { newArray as He, pickTriggerPropsFromRest as We } from "./utils/constant.js";
40
40
  import { ContextHolderElement as ze } from "./utils/contextHolder.js";
@@ -76,7 +76,7 @@ import { callbackOriginRef as No, findDOMNode_ as Lo } from "./components/common
76
76
  import { default as wo } from "./dist/react-transition-group/src/CSSTransition.js";
77
77
  import { default as Go } from "./dist/react-transition-group/src/ReplaceTransition.js";
78
78
  import { default as Uo } from "./dist/react-transition-group/src/SwitchTransition.js";
79
- import { T as Wo } from "./dist/react-transition-group/chunk/CPfP7aNL.js";
79
+ import { T as Wo } from "./dist/react-transition-group/chunk/C6QwjD4L.js";
80
80
  import { default as zo, default as qo } from "./dist/react-transition-group/src/TransitionGroup.js";
81
81
  import { responsiveArray as Ko, responsiveMap as Jo, responsiveObserve as Qo } from "./utils/responsiveObserve.js";
82
82
  import { default as Zo } from "@unicom-cloud/utils/file/saveAs";
@@ -109,86 +109,86 @@ import { default as ia } from "./card/index.js";
109
109
  import { default as na } from "./carousel/index.js";
110
110
  import { default as Ta } from "./cascader/Cascader.js";
111
111
  import { default as Ca } from "./checkbox/Checkbox.js";
112
- import { default as ya } from "./collapse/Collapse.js";
113
- import { default as Ra } from "./comment/index.js";
114
- import { ConfigConsumer as Pa, default as ha } from "./config-provider/ConfigProvider.js";
115
- import { default as Da } from "./copy/index.js";
116
- import { default as Ea, DatePickerMonth as va, DatePickerQuarter as Ma, DatePickerWeek as Ba, DatePickerYear as Oa } from "./date-picker/index.js";
117
- import { default as La } from "./descriptions/index.js";
118
- import { default as wa } from "./details/index.js";
119
- import { default as Ga } from "./development/index.js";
120
- import { default as Ua } from "./divider/index.js";
121
- import { default as Wa } from "./drawer/Drawer.js";
122
- import { default as za } from "./dropdown/index.js";
123
- import { default as Ya } from "./empty/index.js";
124
- import { default as Ja } from "./form/index.js";
125
- import { default as Xa } from "./grid/index.js";
126
- import { default as $a } from "./icon/index.js";
127
- import { default as ts } from "./icons/file.js";
128
- import { default as rs } from "./image/Image.js";
129
- import { default as ss } from "./input/Input.js";
130
- import { default as ls } from "./input-number/index.js";
131
- import { default as ms } from "./input-tag/InputTag.js";
132
- import { default as ds } from "./layout/index.js";
133
- import { default as xs } from "./link/index.js";
134
- import { default as cs } from "./list/index.js";
135
- import { default as Ss } from "./mentions/index.js";
136
- import { default as gs } from "./menu/Menu.js";
137
- import { default as bs } from "./message/index.js";
138
- import { default as Is } from "./modal/Modal.js";
139
- import { default as hs } from "./notification/index.js";
140
- import { default as Ds } from "./page-header/index.js";
141
- import { default as Es } from "./pagination/Pagination.js";
142
- import { default as Ms } from "./popconfirm/index.js";
143
- import { default as Os } from "./popover/index.js";
144
- import { default as Ls } from "./portal/index.js";
145
- import { default as ws } from "./progress/index.js";
146
- import { default as Gs } from "./color-picker/index.js";
147
- import { default as Us } from "./icon-hover/index.js";
148
- import { default as Ws } from "./loading/index.js";
149
- import { default as zs } from "./radio/Radio.js";
150
- import { default as Ys, RadioGroupContext as Ks } from "./radio/Group.js";
151
- import { default as Qs } from "./rate/index.js";
152
- import { default as Zs } from "./resize-box/index.js";
153
- import { default as ef } from "./result/index.js";
154
- import { default as of } from "./select/Select.js";
155
- import { default as af } from "./skeleton/index.js";
156
- import { default as ff } from "./slider/index.js";
157
- import { default as pf } from "./space/index.js";
158
- import { SpaceVertical as uf, default as df } from "./space-/index.js";
159
- import { default as nf } from "./speech-synthesis/index.js";
160
- import { default as Tf } from "./spin/index.js";
161
- import { default as Cf } from "./statistic/index.js";
162
- import { default as yf } from "./steps/index.js";
163
- import { default as Rf } from "./suspense-fallback-test/index.js";
164
- import { default as Pf } from "./switch/index.js";
165
- import { default as kf } from "./table/index.js";
166
- import { default as Af } from "./tabs/Tab.js";
167
- import { default as vf } from "./tag/index.js";
168
- import { default as Bf, TimePickerRange as Of } from "./time-picker/index.js";
169
- import { default as Lf } from "./timeline/Timeline.js";
170
- import { default as wf } from "./tooltip/index.js";
171
- import { default as Gf } from "./transfer/index.js";
172
- import { default as Uf } from "./tree/Tree.js";
173
- import { default as Wf, TreeSelectTreeNode as jf } from "./tree-select/Select.js";
174
- import { default as qf } from "./trigger/index.js";
175
- import { default as Kf } from "./typography/index.js";
176
- import { default as Qf } from "./upload/Upload.js";
177
- import { STATUS as Zf } from "./upload/constant.js";
178
- import { default as el } from "./verification-code/VerificationCode.js";
179
- import { VERSION as ol, VERSION_BUILD_DATE as rl, VERSION_BUILD_TIME as al } from "./version/index.js";
180
- import { default as fl } from "./virtual-list/VirtualList.js";
181
- import { default as pl } from "./watermark/Watermark.js";
182
- import { default as ul } from "./anchor/Link.js";
183
- import { default as il } from "./avatar/Group.js";
184
- import { default as nl } from "./badge/Count.js";
185
- import { default as Tl } from "./breadcrumb/Item.js";
186
- import { default as Cl } from "./button/Group.js";
187
- import { default as yl } from "./calendar/Month.js";
188
- import { default as Rl } from "./calendar/Year.js";
189
- import { default as Pl } from "./card/Grid.js";
190
- import { default as kl } from "./card/Meta.js";
191
- import { default as Al } from "./checkbox/Group.js";
112
+ import { default as ya } from "./checkbox/Group.js";
113
+ import { default as Ra } from "./collapse/Collapse.js";
114
+ import { default as Pa } from "./comment/index.js";
115
+ import { ConfigConsumer as ka, default as Da } from "./config-provider/ConfigProvider.js";
116
+ import { default as Ea } from "./copy/index.js";
117
+ import { default as Ma, DatePickerMonth as Ba, DatePickerQuarter as Oa, DatePickerWeek as Na, DatePickerYear as La } from "./date-picker/index.js";
118
+ import { default as wa } from "./descriptions/index.js";
119
+ import { default as Ga } from "./details/index.js";
120
+ import { default as Ua } from "./development/index.js";
121
+ import { default as Wa } from "./divider/index.js";
122
+ import { default as za } from "./drawer/Drawer.js";
123
+ import { default as Ya } from "./dropdown/index.js";
124
+ import { default as Ja } from "./empty/index.js";
125
+ import { default as Xa } from "./form/index.js";
126
+ import { default as $a } from "./grid/index.js";
127
+ import { default as ts } from "./icon/index.js";
128
+ import { default as rs } from "./icons/file.js";
129
+ import { default as ss } from "./image/Image.js";
130
+ import { default as ls } from "./input/Input.js";
131
+ import { default as ms } from "./input-number/index.js";
132
+ import { default as ds } from "./input-tag/InputTag.js";
133
+ import { default as xs } from "./layout/index.js";
134
+ import { default as cs } from "./link/index.js";
135
+ import { default as Ss } from "./list/index.js";
136
+ import { default as gs } from "./mentions/index.js";
137
+ import { default as bs } from "./menu/Menu.js";
138
+ import { default as Is } from "./message/index.js";
139
+ import { default as hs } from "./modal/Modal.js";
140
+ import { default as Ds } from "./notification/index.js";
141
+ import { default as Es } from "./page-header/index.js";
142
+ import { default as Ms } from "./pagination/Pagination.js";
143
+ import { default as Os } from "./popconfirm/index.js";
144
+ import { default as Ls } from "./popover/index.js";
145
+ import { default as ws } from "./portal/index.js";
146
+ import { default as Gs } from "./progress/index.js";
147
+ import { default as Us } from "./color-picker/index.js";
148
+ import { default as Ws } from "./icon-hover/index.js";
149
+ import { default as zs } from "./loading/index.js";
150
+ import { default as Ys } from "./radio/Radio.js";
151
+ import { default as Js, RadioGroupContext as Qs } from "./radio/Group.js";
152
+ import { default as Zs } from "./rate/index.js";
153
+ import { default as ef } from "./resize-box/index.js";
154
+ import { default as of } from "./result/index.js";
155
+ import { default as af } from "./select/Select.js";
156
+ import { default as ff } from "./skeleton/index.js";
157
+ import { default as pf } from "./slider/index.js";
158
+ import { default as uf } from "./space/index.js";
159
+ import { SpaceVertical as xf, default as nf } from "./space-/index.js";
160
+ import { default as Tf } from "./speech-synthesis/index.js";
161
+ import { default as Cf } from "./spin/index.js";
162
+ import { default as yf } from "./statistic/index.js";
163
+ import { default as Rf } from "./steps/index.js";
164
+ import { default as Pf } from "./suspense-fallback-test/index.js";
165
+ import { default as kf } from "./switch/index.js";
166
+ import { default as Af } from "./table/index.js";
167
+ import { default as vf } from "./tabs/Tab.js";
168
+ import { default as Bf } from "./tag/index.js";
169
+ import { default as Nf, TimePickerRange as Lf } from "./time-picker/index.js";
170
+ import { default as wf } from "./timeline/Timeline.js";
171
+ import { default as Gf } from "./tooltip/index.js";
172
+ import { default as Uf } from "./transfer/index.js";
173
+ import { default as Wf } from "./tree/Tree.js";
174
+ import { default as zf, TreeSelectTreeNode as qf } from "./tree-select/Select.js";
175
+ import { default as Kf } from "./trigger/index.js";
176
+ import { default as Qf } from "./typography/index.js";
177
+ import { default as Zf } from "./upload/Upload.js";
178
+ import { STATUS as el } from "./upload/constant.js";
179
+ import { default as ol } from "./verification-code/VerificationCode.js";
180
+ import { VERSION as al, VERSION_BUILD_DATE as sl, VERSION_BUILD_TIME as fl } from "./version/index.js";
181
+ import { default as pl } from "./virtual-list/VirtualList.js";
182
+ import { default as ul } from "./watermark/Watermark.js";
183
+ import { default as il } from "./anchor/Link.js";
184
+ import { default as nl } from "./avatar/Group.js";
185
+ import { default as Tl } from "./badge/Count.js";
186
+ import { default as Cl } from "./breadcrumb/Item.js";
187
+ import { default as yl } from "./button/Group.js";
188
+ import { default as Rl } from "./calendar/Month.js";
189
+ import { default as Pl } from "./calendar/Year.js";
190
+ import { default as kl } from "./card/Grid.js";
191
+ import { default as Al } from "./card/Meta.js";
192
192
  import { default as vl } from "./checkbox/GroupBlock.js";
193
193
  import { default as Bl } from "./checkbox/useCheckbox.js";
194
194
  import { default as Nl } from "./collapse/Item.js";
@@ -264,183 +264,183 @@ export {
264
264
  _r as Affix,
265
265
  Hr as Alert,
266
266
  jr as Anchor,
267
- ul as AnchorLink,
267
+ il as AnchorLink,
268
268
  qr as AutoComplete,
269
269
  Yr as AutoCompleteOptGroup,
270
270
  Kr as AutoCompleteOption,
271
271
  Qr as Avatar,
272
- il as AvatarGroup,
272
+ nl as AvatarGroup,
273
273
  ea as BADGE_COLORS,
274
274
  ta as BADGE_STATUS,
275
275
  fa as BUTTON_STATUS,
276
276
  la as BUTTON_TYPE,
277
277
  Zr as BackTop,
278
278
  oa as Badge,
279
- nl as BadgeCount,
279
+ Tl as BadgeCount,
280
280
  aa as Breadcrumb,
281
- Tl as BreadcrumbItem,
281
+ Cl as BreadcrumbItem,
282
282
  pa as Button,
283
- Cl as ButtonGroup,
283
+ yl as ButtonGroup,
284
284
  Ro as COMPONENT_NAMES,
285
285
  wo as CSSTransition,
286
286
  ua as Calendar,
287
- yl as CalendarMonth,
288
- Rl as CalendarYear,
287
+ Rl as CalendarMonth,
288
+ Pl as CalendarYear,
289
289
  ia as Card,
290
- Pl as CardGrid,
291
- kl as CardMeta,
290
+ kl as CardGrid,
291
+ Al as CardMeta,
292
292
  na as Carousel,
293
293
  Ta as Cascader,
294
294
  Ca as Checkbox,
295
- Al as CheckboxGroup,
295
+ ya as CheckboxGroup,
296
296
  vl as CheckboxGroupBlock,
297
297
  sp as Col,
298
- ya as Collapse,
298
+ Ra as Collapse,
299
299
  Nl as CollapseItem,
300
- Gs as ColorPicker,
300
+ Us as ColorPicker,
301
301
  $m as ColorPickerPanel,
302
- Ra as Comment,
303
- Pa as ConfigConsumer,
302
+ Pa as Comment,
303
+ ka as ConfigConsumer,
304
304
  Fl as ConfigContext,
305
- ha as ConfigProvider,
305
+ Da as ConfigProvider,
306
306
  wl as ConfigProviderDefaultProps,
307
307
  ze as ContextHolderElement,
308
- Da as Copy,
309
- Ea as DatePicker,
310
- va as DatePickerMonth,
311
- Ma as DatePickerQuarter,
308
+ Ea as Copy,
309
+ Ma as DatePicker,
310
+ Ba as DatePickerMonth,
311
+ Oa as DatePickerQuarter,
312
312
  Gl as DatePickerRange,
313
- Ba as DatePickerWeek,
314
- Oa as DatePickerYear,
313
+ Na as DatePickerWeek,
314
+ La as DatePickerYear,
315
315
  Fr as DefaultValidateMessage,
316
- La as Descriptions,
317
- wa as Details,
318
- Ga as Development,
319
- Ua as Divider,
320
- Wa as Drawer,
321
- za as Dropdown,
316
+ wa as Descriptions,
317
+ Ga as Details,
318
+ Ua as Development,
319
+ Wa as Divider,
320
+ za as Drawer,
321
+ Ya as Dropdown,
322
322
  Ul as DropdownButton,
323
- Ya as Empty,
324
- Ja as Form,
323
+ Ja as Empty,
324
+ Xa as Form,
325
325
  Wl as FormControl,
326
326
  zl as FormItem,
327
327
  Yl as FormList,
328
328
  Jl as FormProvider,
329
- Xa as Grid,
329
+ $a as Grid,
330
330
  fp as GridCol,
331
331
  pp as GridItem,
332
332
  up as GridRow,
333
- $a as Icon,
333
+ ts as Icon,
334
334
  Jm as IconContext,
335
- ts as IconFile,
336
- Us as IconHover,
337
- rs as Image,
335
+ rs as IconFile,
336
+ Ws as IconHover,
337
+ ss as Image,
338
338
  cp as ImagePreview,
339
339
  Sp as ImagePreviewGroup,
340
- ss as Input,
340
+ ls as Input,
341
341
  gp as InputButton,
342
342
  bp as InputGroup,
343
- ls as InputNumber,
343
+ ms as InputNumber,
344
344
  Ip as InputPassword,
345
345
  hp as InputSearch,
346
- ms as InputTag,
346
+ ds as InputTag,
347
347
  Dp as InputTextArea,
348
- ds as Layout,
348
+ xs as Layout,
349
349
  vp as LayoutContent,
350
350
  Bp as LayoutFooter,
351
351
  Np as LayoutHeader,
352
352
  Fp as LayoutSider,
353
- xs as Link,
354
- cs as List,
353
+ cs as Link,
354
+ Ss as List,
355
355
  Vp as ListItem,
356
- Ws as Loading,
357
- Ss as Mentions,
358
- gs as Menu,
356
+ zs as Loading,
357
+ gs as Mentions,
358
+ bs as Menu,
359
359
  _p as MenuItem,
360
360
  Hp as MenuItemGroup,
361
361
  jp as MenuSubMenu,
362
- bs as Message,
363
- Is as Modal,
362
+ Is as Message,
363
+ hs as Modal,
364
364
  uu as NOOP,
365
- hs as Notification,
366
- Ds as PageHeader,
367
- Es as Pagination,
368
- Ms as Popconfirm,
369
- Os as Popover,
370
- Ls as Portal,
365
+ Ds as Notification,
366
+ Es as PageHeader,
367
+ Ms as Pagination,
368
+ Os as Popconfirm,
369
+ Ls as Popover,
370
+ ws as Portal,
371
371
  Bo as PqbCSSTransition,
372
- ws as Progress,
373
- zs as Radio,
374
- Ys as RadioGroup,
372
+ Gs as Progress,
373
+ Ys as Radio,
374
+ Js as RadioGroup,
375
375
  Xp as RadioGroupBlock,
376
- Ks as RadioGroupContext,
377
- Qs as Rate,
376
+ Qs as RadioGroupContext,
377
+ Zs as Rate,
378
378
  Go as ReplaceTransition,
379
- Zs as ResizeBox,
379
+ ef as ResizeBox,
380
380
  $p as ResizeBoxSplit,
381
381
  tm as ResizeBoxSplitGroup,
382
- ef as Result,
382
+ of as Result,
383
383
  dp as Row,
384
384
  Or as Schema,
385
- of as Select,
385
+ af as Select,
386
386
  rm as SelectOption,
387
387
  sm as SelectOptionGroup,
388
- af as Skeleton,
389
- ff as Slider,
390
- pf as Space,
388
+ ff as Skeleton,
389
+ pf as Slider,
390
+ uf as Space,
391
391
  tu as SpaceVertical,
392
- uf as SpaceVertical_,
393
- df as Space_,
394
- nf as SpeechSynthesis,
395
- Tf as Spin,
396
- Cf as Statistic,
392
+ xf as SpaceVertical_,
393
+ nf as Space_,
394
+ Tf as SpeechSynthesis,
395
+ Cf as Spin,
396
+ yf as Statistic,
397
397
  lm as StatisticCountdown,
398
- yf as Steps,
398
+ Rf as Steps,
399
399
  mm as StepsItem,
400
400
  um as StepsStep,
401
401
  zp as SubMenu,
402
- Rf as SuspenseFallbackTest,
403
- Pf as Switch,
402
+ Pf as SuspenseFallbackTest,
403
+ kf as Switch,
404
404
  Uo as SwitchTransition,
405
405
  Nm as TabPane,
406
- kf as Table,
406
+ Af as Table,
407
407
  im as TableSummary,
408
408
  nm as TableSummaryCell,
409
409
  Tm as TableSummaryRow,
410
- Af as Tabs,
410
+ vf as Tabs,
411
411
  Lm as TabsTabPane,
412
- vf as Tag,
412
+ Bf as Tag,
413
413
  Ap as TextArea,
414
- Bf as TimePicker,
415
- Of as TimePickerRange,
416
- Lf as Timeline,
414
+ Nf as TimePicker,
415
+ Lf as TimePickerRange,
416
+ wf as Timeline,
417
417
  wm as TimelineItem,
418
418
  Le as TinyColor,
419
- wf as Tooltip,
420
- Gf as Transfer,
419
+ Gf as Tooltip,
420
+ Uf as Transfer,
421
421
  Wo as Transition,
422
422
  zo as TransitionGroup,
423
- Uf as Tree,
423
+ Wf as Tree,
424
424
  su as TreeNode,
425
- Wf as TreeSelect,
426
- jf as TreeSelectTreeNode,
427
- qf as Trigger,
428
- Kf as Typography,
425
+ zf as TreeSelect,
426
+ qf as TreeSelectTreeNode,
427
+ Kf as Trigger,
428
+ Qf as Typography,
429
429
  Gm as TypographyEllipsis,
430
430
  Um as TypographyParagraph,
431
431
  Wm as TypographyText,
432
432
  zm as TypographyTitle,
433
433
  lu as UI_PC_KEY,
434
434
  pu as UI_PC_THEME_DARK_CLASS_NAME,
435
- Zf as UPLOAD_STATUS,
436
- Qf as Upload,
435
+ el as UPLOAD_STATUS,
436
+ Zf as Upload,
437
437
  Ym as UploadList,
438
- ol as VERSION,
439
- rl as VERSION_BUILD_DATE,
440
- al as VERSION_BUILD_TIME,
441
- el as VerificationCode,
442
- fl as VirtualList,
443
- pl as Watermark,
438
+ al as VERSION,
439
+ sl as VERSION_BUILD_DATE,
440
+ fl as VERSION_BUILD_TIME,
441
+ ol as VerificationCode,
442
+ pl as VirtualList,
443
+ ul as Watermark,
444
444
  lo as add,
445
445
  xp as addFromIconFontCn,
446
446
  No as callbackOriginRef,
@@ -3,7 +3,7 @@ import Ge from "@unicom-cloud/icons/IconUiClose";
3
3
  import "../dist/react-transition-group/src/CSSTransition.js";
4
4
  import "../dist/react-transition-group/src/ReplaceTransition.js";
5
5
  import "../dist/react-transition-group/src/SwitchTransition.js";
6
- import "../dist/react-transition-group/chunk/CPfP7aNL.js";
6
+ import "../dist/react-transition-group/chunk/C6QwjD4L.js";
7
7
  import Ke from "../dist/react-transition-group/src/TransitionGroup.js";
8
8
  import Te from "lodash/isArray";
9
9
  import Ce, { useContext as qe, useRef as C, useState as Xe, useImperativeHandle as Ye, useMemo as Je, useEffect as Qe } from "react";
package/layout/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { jsx as _ } from "react/jsx-runtime";
1
+ import { jsx as x } from "react/jsx-runtime";
2
2
  import p from "lodash/get";
3
- import u, { forwardRef as g, useContext as x, useState as F } from "react";
3
+ import u, { forwardRef as _, useContext as g, useState as F } from "react";
4
4
  import "../config-provider/ConfigProvider.js";
5
5
  import H from "../components/common/hooks/useMergeProps.js";
6
6
  import R from "@unicom-cloud/utils/class-name";
@@ -8,28 +8,29 @@ import h from "./Content.js";
8
8
  import w from "./Footer.js";
9
9
  import M from "./Header.js";
10
10
  import $ from "./Sider.js";
11
+ import { SiderContext as K } from "./Sider.js";
11
12
  import b from "../config-provider/context.js";
12
- function j(f, c) {
13
- const { getPrefixCls: e, componentConfig: r } = x(b), d = H(
13
+ function j(f, d) {
14
+ const { getPrefixCls: e, componentConfig: r } = g(b), c = H(
14
15
  f,
15
16
  {},
16
17
  r == null ? void 0 : r.Layout
17
- ), { className: y, hasSider: a, children: l, ...C } = d, [n, m] = F([]), i = e == null ? void 0 : e("layout"), L = R(
18
+ ), { className: y, hasSider: a, children: l, ...C } = c, [n, m] = F([]), i = e == null ? void 0 : e("layout"), S = R(
18
19
  i,
19
20
  {
20
21
  [`${i}-has-sider`]: typeof a == "boolean" ? a : n.length > 0
21
22
  },
22
23
  y
23
24
  );
24
- return /* @__PURE__ */ _("section", { ref: c, ...C, className: L, children: u.Children.map(l, (o) => {
25
- const S = p(o, "type.__PQB_SIGN__") || p(o, "props.sign");
26
- return o && S === "sider" ? u.cloneElement(o, {
25
+ return /* @__PURE__ */ x("section", { ref: d, ...C, className: S, children: u.Children.map(l, (o) => {
26
+ const L = p(o, "type.__PQB_SIGN__") || p(o, "props.sign");
27
+ return o && L === "sider" ? u.cloneElement(o, {
27
28
  onSiderMount: (s) => m([...n, s]),
28
29
  onSiderUnmount: (s) => m(n.filter((N) => N !== s))
29
30
  }) : o;
30
31
  }) });
31
32
  }
32
- const B = g(j), t = B;
33
+ const B = _(j), t = B;
33
34
  t.displayName = "Layout";
34
35
  t.Sider = $;
35
36
  t.Header = M;
@@ -40,5 +41,6 @@ export {
40
41
  w as LayoutFooter,
41
42
  M as LayoutHeader,
42
43
  $ as LayoutSider,
44
+ K as SiderContext,
43
45
  t as default
44
46
  };
package/message/index.js CHANGED
@@ -2,7 +2,7 @@ import { jsx as u } from "react/jsx-runtime";
2
2
  import "../dist/react-transition-group/src/CSSTransition.js";
3
3
  import "../dist/react-transition-group/src/ReplaceTransition.js";
4
4
  import "../dist/react-transition-group/src/SwitchTransition.js";
5
- import "../dist/react-transition-group/chunk/CPfP7aNL.js";
5
+ import "../dist/react-transition-group/chunk/C6QwjD4L.js";
6
6
  import O from "../dist/react-transition-group/src/TransitionGroup.js";
7
7
  import C from "lodash/isNumber";
8
8
  import y from "lodash/isUndefined";
@@ -2,7 +2,7 @@ import { jsx as s } from "react/jsx-runtime";
2
2
  import "../dist/react-transition-group/src/CSSTransition.js";
3
3
  import "../dist/react-transition-group/src/ReplaceTransition.js";
4
4
  import "../dist/react-transition-group/src/SwitchTransition.js";
5
- import "../dist/react-transition-group/chunk/CPfP7aNL.js";
5
+ import "../dist/react-transition-group/chunk/C6QwjD4L.js";
6
6
  import L from "../dist/react-transition-group/src/TransitionGroup.js";
7
7
  import b from "lodash/isNumber";
8
8
  import y from "lodash/isUndefined";
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@unicom-cloud/ui","version":"0.8.93","dependencies":{"@unicom-cloud/icons":"latest"},"peerDependencies":{"dayjs":"^1.11.10","lodash":"^4.17.21","react":"^18.3.1","react-dom":"^18.3.1"},"peerDependenciesMeta":{},"type":"module","types":"types/pc/index.d.ts","main":"./index.js","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}}
1
+ {"name":"@unicom-cloud/ui","version":"0.8.95","dependencies":{"@unicom-cloud/icons":"latest"},"peerDependencies":{"dayjs":"^1.11.10","lodash":"^4.17.21","react":"^18.3.1","react-dom":"^18.3.1"},"peerDependenciesMeta":{},"type":"module","types":"types/pc/index.d.ts","main":"./index.js","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}}