@unicom-cloud/ui 0.8.91 → 0.8.92

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 (57) hide show
  1. package/Upload.js +4 -4
  2. package/color-picker/Mode.js +6 -7
  3. package/index.js +171 -171
  4. package/package.json +1 -1
  5. package/tree/Node.js +5 -5
  6. package/tree/Tree.js +287 -283
  7. package/types/common/empty/index.d.ts +1 -1
  8. package/types/common/icons/file/index.d.ts +1 -1
  9. package/types/common/space/index.d.ts +1 -1
  10. package/types/pc/anchor/context.d.ts +1 -1
  11. package/types/pc/color-picker/InputHex.d.ts +1 -1
  12. package/types/pc/color-picker/InputRgb.d.ts +1 -1
  13. package/types/pc/color-picker/Mode.d.ts +1 -1
  14. package/types/pc/color-picker/Palette.d.ts +1 -1
  15. package/types/pc/color-picker/utils.d.ts +1 -1
  16. package/types/pc/config-provider/context.d.ts +1 -1
  17. package/types/pc/date-picker/Picker.d.ts +1 -1
  18. package/types/pc/date-picker/RangePicker.d.ts +1 -1
  19. package/types/pc/grid/context.d.ts +1 -1
  20. package/types/pc/grid/util.d.ts +1 -1
  21. package/types/pc/hooks/use-watermark/index.d.ts +1 -1
  22. package/types/pc/icons/file/index.d.ts +1 -1
  23. package/types/pc/input/index.d.ts +1 -1
  24. package/types/pc/message/index.d.ts +1 -2
  25. package/types/pc/message/useMessage.d.ts +1 -1
  26. package/types/pc/notification/useNotification.d.ts +1 -1
  27. package/types/pc/space/index.d.ts +1 -1
  28. package/types/pc/table/ColGroup.d.ts +1 -1
  29. package/types/pc/table/constant.d.ts +1 -1
  30. package/types/pc/tree/Context.d.ts +2 -2
  31. package/types/pc/tree/index.d.ts +1 -1
  32. package/types/pc/tree/interface.d.ts +5 -1
  33. package/types/pc/trigger/getPopupStyle.d.ts +1 -1
  34. package/types/pc/typography/EditContent.d.ts +1 -1
  35. package/types/pc/typography/Ellipsis.d.ts +1 -1
  36. package/types/pc/typography/Paragraph.d.ts +1 -1
  37. package/types/pc/typography/Title.d.ts +1 -1
  38. package/types/pc/upload/Upload.d.ts +2 -2
  39. package/types/pc/upload/constant.d.ts +4 -0
  40. package/types/pc/upload/index.d.ts +2 -0
  41. package/types/pc/upload/interface.d.ts +0 -3
  42. package/types/pc/upload/request.d.ts +1 -1
  43. package/types/pc/upload/util.d.ts +1 -1
  44. package/types/pc/verification-code/VerificationCode.d.ts +1 -1
  45. package/types/pc/verification-code/index.d.ts +1 -1
  46. package/types/pc/watermark/Watermark.d.ts +1 -1
  47. package/types/pc/watermark/index.d.ts +1 -1
  48. package/upload/Upload.js +52 -53
  49. package/upload/Uploader.js +1 -1
  50. package/upload/constant.js +9 -0
  51. package/upload/index.js +4 -4
  52. package/upload/interface.js +1 -9
  53. package/upload/list/PictureItem.js +1 -1
  54. package/upload/list/TextItem.js +1 -1
  55. package/upload/list/UploadProgress.js +1 -1
  56. package/upload/list/index.js +1 -1
  57. package/version/index.js +1 -1
package/Upload.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { default as t } from "./upload/Upload.js";
2
- import { FileList as a } from "./upload/list/index.js";
3
- import { STATUS as p } from "./upload/interface.js";
2
+ import { STATUS as a } from "./upload/constant.js";
3
+ import { FileList as p } from "./upload/list/index.js";
4
4
  export {
5
- p as UPLOAD_STATUS,
6
- a as UploadList,
5
+ a as UPLOAD_STATUS,
6
+ p as UploadList,
7
7
  t as default
8
8
  };
@@ -1,10 +1,9 @@
1
- import { ColorPickerMode as t } from "./interface.js";
2
- const i = (r) => Array.isArray(r) && r.length === 1 ? r[0] : r, g = (r) => i(r) === t.Single, A = (r) => i(r) === t.Gradient, o = (r) => Array.isArray(i(r)), s = (r) => o(r) ? t.Gradient : r, c = (r, n, e) => r && Array.isArray(r) ? t.Gradient : r && typeof r == "string" ? t.Single : n && Array.isArray(n) ? t.Gradient : n && typeof n == "string" ? t.Single : s(e);
1
+ const i = (r) => Array.isArray(r) && r.length === 1 ? r[0] : r, s = (r) => i(r) === ColorPickerMode.Single, c = (r) => i(r) === ColorPickerMode.Gradient, t = (r) => Array.isArray(i(r)), n = (r) => t(r) ? ColorPickerMode.Gradient : r, M = (r, e, o) => r && Array.isArray(r) ? ColorPickerMode.Gradient : r && typeof r == "string" ? ColorPickerMode.Single : e && Array.isArray(e) ? ColorPickerMode.Gradient : e && typeof e == "string" ? ColorPickerMode.Single : n(o);
3
2
  export {
4
- s as getInitialActiveMode,
3
+ n as getInitialActiveMode,
5
4
  i as getMode,
6
- c as getModeByValue,
7
- A as isGradientMode,
8
- o as isMultiMode,
9
- g as isSingleMode
5
+ M as getModeByValue,
6
+ c as isGradientMode,
7
+ t as isMultiMode,
8
+ s as isSingleMode
10
9
  };
package/index.js CHANGED
@@ -174,87 +174,87 @@ import { default as Wf, TreeSelectTreeNode as jf } from "./tree-select/Select.js
174
174
  import { default as qf } from "./trigger/index.js";
175
175
  import { default as Kf } from "./typography/index.js";
176
176
  import { default as Qf } from "./upload/Upload.js";
177
- import { default as Zf } from "./verification-code/VerificationCode.js";
178
- import { VERSION as el, VERSION_BUILD_DATE as tl, VERSION_BUILD_TIME as ol } from "./version/index.js";
179
- import { default as al } from "./virtual-list/VirtualList.js";
180
- import { default as fl } from "./watermark/Watermark.js";
181
- import { default as pl } from "./anchor/Link.js";
182
- import { default as ul } from "./avatar/Group.js";
183
- import { default as il } from "./badge/Count.js";
184
- import { default as nl } from "./breadcrumb/Item.js";
185
- import { default as Tl } from "./button/Group.js";
186
- import { default as Cl } from "./calendar/Month.js";
187
- import { default as yl } from "./calendar/Year.js";
188
- import { default as Rl } from "./card/Grid.js";
189
- import { default as Pl } from "./card/Meta.js";
190
- import { default as kl } from "./checkbox/Group.js";
191
- import { default as Al } from "./checkbox/GroupBlock.js";
192
- import { default as vl } from "./checkbox/useCheckbox.js";
193
- import { default as Bl } from "./collapse/Item.js";
194
- import { default as Nl, ConfigProviderDefaultProps as Ll } from "./config-provider/context.js";
195
- import { default as wl } from "./date-picker/RangePicker.js";
196
- import { default as Gl } from "./dropdown/Button.js";
197
- import { default as Ul } from "./form/Control.js";
198
- import { default as Wl } from "./form/FormItem.js";
199
- import { default as zl } from "./form/FormList.js";
200
- import { default as Yl } from "./form/FormProvider.js";
201
- import { default as Jl } from "./form/hook/useForm.js";
202
- import { default as Xl } from "./form/hook/useContext.js";
203
- import { default as $l } from "./form/hook/useState.js";
204
- import { default as tp } from "./form/hook/useWatch.js";
205
- import { default as rp, default as ap } from "./grid/Col.js";
206
- import { default as fp } from "./grid/GridItem.js";
207
- import { default as pp, default as mp } from "./grid/Row.js";
208
- import { default as dp } from "./icon/addFromIconFontCn.js";
209
- import { default as xp } from "./image/ImagePreview.js";
210
- import { default as cp } from "./image/ImagePreviewGroup.js";
211
- import { default as Sp } from "./input/Button.js";
212
- import { default as gp } from "./input/Group.js";
213
- import { default as bp } from "./input/Password.js";
214
- import { default as Ip } from "./input/Search.js";
215
- import { default as hp, default as kp } from "./input/Textarea.js";
216
- import { default as Ap } from "./layout/Content.js";
217
- import { default as vp } from "./layout/Footer.js";
218
- import { default as Bp } from "./layout/Header.js";
219
- import { default as Np } from "./layout/Sider.js";
220
- import { default as Fp } from "./list/Item.js";
221
- import { default as Vp } from "./menu/Item.js";
222
- import { default as _p } from "./menu/ItemGroup.js";
223
- import { default as Hp, default as Wp } from "./menu/sub-menu/index.js";
224
- import { default as zp } from "./message/useMessage.js";
225
- import { default as Yp } from "./notification/useNotification.js";
226
- import { default as Jp } from "./radio/GroupBlock.js";
227
- import { default as Xp } from "./resize-box/Split.js";
228
- import { default as $p } from "./resize-box/SplitGroup.js";
229
- import { default as tm } from "./select/Option.js";
230
- import { default as rm } from "./select/OptGroup.js";
231
- import { default as sm } from "./statistic/Countdown.js";
232
- import { default as lm, default as pm } from "./steps/Step.js";
233
- import { default as um } from "./table/summary/index.js";
234
- import { default as im } from "./table/summary/Cell.js";
235
- import { default as nm } from "./table/summary/Row.js";
236
- import { default as Tm } from "./table/hook/useColumns.js";
237
- import { default as Cm } from "./table/hook/useComponent.js";
238
- import { default as ym } from "./table/hook/useExpand.js";
239
- import { default as Rm } from "./table/hook/useRowSelection.js";
240
- import { default as Pm } from "./table/hook/useSorter.js";
241
- import { default as km } from "./table/hook/useStickyClassNames.js";
242
- import { default as Am } from "./table/hook/useStickyOffsets.js";
243
- import { default as vm } from "./table/hook/useThResizable.js";
244
- import { default as Bm, default as Om } from "./tabs/TabPane.js";
245
- import { default as Lm } from "./timeline/Item.js";
246
- import { default as wm } from "./typography/Ellipsis.js";
247
- import { default as Gm } from "./typography/Paragraph.js";
248
- import { default as Um } from "./typography/Text.js";
249
- import { default as Wm } from "./typography/Title.js";
250
- import { FileList as zm } from "./upload/list/index.js";
251
- import { default as Ym } from "@unicom-cloud/icons/context";
252
- import { default as Jm } from "@unicom-cloud/icons/useProps";
253
- import { Panel as Xm } from "./color-picker/Panel.js";
254
- import { SpaceVertical as $m } from "./components/common/space/index.js";
255
- import { defaultComponent as tu } from "./table/constant.js";
256
- import { default as ru } from "./tree/Node.js";
257
- import { STATUS as su } from "./upload/interface.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";
192
+ import { default as vl } from "./checkbox/GroupBlock.js";
193
+ import { default as Bl } from "./checkbox/useCheckbox.js";
194
+ import { default as Nl } from "./collapse/Item.js";
195
+ import { default as Fl, ConfigProviderDefaultProps as wl } from "./config-provider/context.js";
196
+ import { default as Gl } from "./date-picker/RangePicker.js";
197
+ import { default as Ul } from "./dropdown/Button.js";
198
+ import { default as Wl } from "./form/Control.js";
199
+ import { default as zl } from "./form/FormItem.js";
200
+ import { default as Yl } from "./form/FormList.js";
201
+ import { default as Jl } from "./form/FormProvider.js";
202
+ import { default as Xl } from "./form/hook/useForm.js";
203
+ import { default as $l } from "./form/hook/useContext.js";
204
+ import { default as tp } from "./form/hook/useState.js";
205
+ import { default as rp } from "./form/hook/useWatch.js";
206
+ import { default as sp, default as fp } from "./grid/Col.js";
207
+ import { default as pp } from "./grid/GridItem.js";
208
+ import { default as up, default as dp } from "./grid/Row.js";
209
+ import { default as xp } from "./icon/addFromIconFontCn.js";
210
+ import { default as cp } from "./image/ImagePreview.js";
211
+ import { default as Sp } from "./image/ImagePreviewGroup.js";
212
+ import { default as gp } from "./input/Button.js";
213
+ import { default as bp } from "./input/Group.js";
214
+ import { default as Ip } from "./input/Password.js";
215
+ import { default as hp } from "./input/Search.js";
216
+ import { default as Dp, default as Ap } from "./input/Textarea.js";
217
+ import { default as vp } from "./layout/Content.js";
218
+ import { default as Bp } from "./layout/Footer.js";
219
+ import { default as Np } from "./layout/Header.js";
220
+ import { default as Fp } from "./layout/Sider.js";
221
+ import { default as Vp } from "./list/Item.js";
222
+ import { default as _p } from "./menu/Item.js";
223
+ import { default as Hp } from "./menu/ItemGroup.js";
224
+ import { default as jp, default as zp } from "./menu/sub-menu/index.js";
225
+ import { default as Yp } from "./message/useMessage.js";
226
+ import { default as Jp } from "./notification/useNotification.js";
227
+ import { default as Xp } from "./radio/GroupBlock.js";
228
+ import { default as $p } from "./resize-box/Split.js";
229
+ import { default as tm } from "./resize-box/SplitGroup.js";
230
+ import { default as rm } from "./select/Option.js";
231
+ import { default as sm } from "./select/OptGroup.js";
232
+ import { default as lm } from "./statistic/Countdown.js";
233
+ import { default as mm, default as um } from "./steps/Step.js";
234
+ import { default as im } from "./table/summary/index.js";
235
+ import { default as nm } from "./table/summary/Cell.js";
236
+ import { default as Tm } from "./table/summary/Row.js";
237
+ import { default as Cm } from "./table/hook/useColumns.js";
238
+ import { default as ym } from "./table/hook/useComponent.js";
239
+ import { default as Rm } from "./table/hook/useExpand.js";
240
+ import { default as Pm } from "./table/hook/useRowSelection.js";
241
+ import { default as km } from "./table/hook/useSorter.js";
242
+ import { default as Am } from "./table/hook/useStickyClassNames.js";
243
+ import { default as vm } from "./table/hook/useStickyOffsets.js";
244
+ import { default as Bm } from "./table/hook/useThResizable.js";
245
+ import { default as Nm, default as Lm } from "./tabs/TabPane.js";
246
+ import { default as wm } from "./timeline/Item.js";
247
+ import { default as Gm } from "./typography/Ellipsis.js";
248
+ import { default as Um } from "./typography/Paragraph.js";
249
+ import { default as Wm } from "./typography/Text.js";
250
+ import { default as zm } from "./typography/Title.js";
251
+ import { FileList as Ym } from "./upload/list/index.js";
252
+ import { default as Jm } from "@unicom-cloud/icons/context";
253
+ import { default as Xm } from "@unicom-cloud/icons/useProps";
254
+ import { Panel as $m } from "./color-picker/Panel.js";
255
+ import { SpaceVertical as tu } from "./components/common/space/index.js";
256
+ import { defaultComponent as ru } from "./table/constant.js";
257
+ import { default as su } from "./tree/Node.js";
258
258
  import { UI_PC_KEY as lu, UI_PC_THEME_DARK_CLASS_NAME as pu } from "@unicom-cloud/utils/constant/ui";
259
259
  import { NOOP as uu } from "./components/common/utils/constant.js";
260
260
  import { isArguments as iu, isArray as xu, isArrayBuffer as nu, isArrayLike as cu, isArrayLikeObject as Tu, isBlob as Su, isBoolean as Cu, isBuffer as gu, isColor as yu, isColor2 as bu, isDate as Ru, isElement as Iu, isEmpty as Pu, isEmptyArray as hu, isEmptyObject as ku, isEmptyValue as Du, isEqual as Au, isEqualWith as Eu, isError as vu, isFile as Mu, isFinite as Bu, isFunction as Ou, isInteger as Nu, isJSON as Lu, isLength as Fu, isMap as wu, isMatch as Vu, isMatchWith as Gu, isNaN as _u, isNative as Uu, isNil as Hu, isNull as Wu, isNumber as ju, isObject as zu, isObjectLike as qu, isPlainObject as Yu, isPromise as Ku, isReadableByteStreamControllerSupported as Ju, isReadableStream as Qu, isReadableStreamDefaultControllerSupported as Xu, isReadableStreamSupported as Zu, isReadableStreamSymbolAsyncIteratorSupported as $u, isRegExp as ed, isSafeInteger as td, isSet as od, isString as rd, isSymbol as ad, isTypedArray as sd, isUndefined as fd, isValidColor as ld, isWeakMap as pd, isWeakSet as md } from "@unicom-cloud/utils/is";
@@ -264,52 +264,52 @@ export {
264
264
  _r as Affix,
265
265
  Hr as Alert,
266
266
  jr as Anchor,
267
- pl as AnchorLink,
267
+ ul as AnchorLink,
268
268
  qr as AutoComplete,
269
269
  Yr as AutoCompleteOptGroup,
270
270
  Kr as AutoCompleteOption,
271
271
  Qr as Avatar,
272
- ul as AvatarGroup,
272
+ il 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
- il as BadgeCount,
279
+ nl as BadgeCount,
280
280
  aa as Breadcrumb,
281
- nl as BreadcrumbItem,
281
+ Tl as BreadcrumbItem,
282
282
  pa as Button,
283
- Tl as ButtonGroup,
283
+ Cl as ButtonGroup,
284
284
  Ro as COMPONENT_NAMES,
285
285
  wo as CSSTransition,
286
286
  ua as Calendar,
287
- Cl as CalendarMonth,
288
- yl as CalendarYear,
287
+ yl as CalendarMonth,
288
+ Rl as CalendarYear,
289
289
  ia as Card,
290
- Rl as CardGrid,
291
- Pl as CardMeta,
290
+ Pl as CardGrid,
291
+ kl as CardMeta,
292
292
  na as Carousel,
293
293
  Ta as Cascader,
294
294
  Ca as Checkbox,
295
- kl as CheckboxGroup,
296
- Al as CheckboxGroupBlock,
297
- rp as Col,
295
+ Al as CheckboxGroup,
296
+ vl as CheckboxGroupBlock,
297
+ sp as Col,
298
298
  ya as Collapse,
299
- Bl as CollapseItem,
299
+ Nl as CollapseItem,
300
300
  Gs as ColorPicker,
301
- Xm as ColorPickerPanel,
301
+ $m as ColorPickerPanel,
302
302
  Ra as Comment,
303
303
  Pa as ConfigConsumer,
304
- Nl as ConfigContext,
304
+ Fl as ConfigContext,
305
305
  ha as ConfigProvider,
306
- Ll as ConfigProviderDefaultProps,
306
+ wl as ConfigProviderDefaultProps,
307
307
  ze as ContextHolderElement,
308
308
  Da as Copy,
309
309
  Ea as DatePicker,
310
310
  va as DatePickerMonth,
311
311
  Ma as DatePickerQuarter,
312
- wl as DatePickerRange,
312
+ Gl as DatePickerRange,
313
313
  Ba as DatePickerWeek,
314
314
  Oa as DatePickerYear,
315
315
  Fr as DefaultValidateMessage,
@@ -319,46 +319,46 @@ export {
319
319
  Ua as Divider,
320
320
  Wa as Drawer,
321
321
  za as Dropdown,
322
- Gl as DropdownButton,
322
+ Ul as DropdownButton,
323
323
  Ya as Empty,
324
324
  Ja as Form,
325
- Ul as FormControl,
326
- Wl as FormItem,
327
- zl as FormList,
328
- Yl as FormProvider,
325
+ Wl as FormControl,
326
+ zl as FormItem,
327
+ Yl as FormList,
328
+ Jl as FormProvider,
329
329
  Xa as Grid,
330
- ap as GridCol,
331
- fp as GridItem,
332
- pp as GridRow,
330
+ fp as GridCol,
331
+ pp as GridItem,
332
+ up as GridRow,
333
333
  $a as Icon,
334
- Ym as IconContext,
334
+ Jm as IconContext,
335
335
  ts as IconFile,
336
336
  Us as IconHover,
337
337
  rs as Image,
338
- xp as ImagePreview,
339
- cp as ImagePreviewGroup,
338
+ cp as ImagePreview,
339
+ Sp as ImagePreviewGroup,
340
340
  ss as Input,
341
- Sp as InputButton,
342
- gp as InputGroup,
341
+ gp as InputButton,
342
+ bp as InputGroup,
343
343
  ls as InputNumber,
344
- bp as InputPassword,
345
- Ip as InputSearch,
344
+ Ip as InputPassword,
345
+ hp as InputSearch,
346
346
  ms as InputTag,
347
- hp as InputTextArea,
347
+ Dp as InputTextArea,
348
348
  ds as Layout,
349
- Ap as LayoutContent,
350
- vp as LayoutFooter,
351
- Bp as LayoutHeader,
352
- Np as LayoutSider,
349
+ vp as LayoutContent,
350
+ Bp as LayoutFooter,
351
+ Np as LayoutHeader,
352
+ Fp as LayoutSider,
353
353
  xs as Link,
354
354
  cs as List,
355
- Fp as ListItem,
355
+ Vp as ListItem,
356
356
  Ws as Loading,
357
357
  Ss as Mentions,
358
358
  gs as Menu,
359
- Vp as MenuItem,
360
- _p as MenuItemGroup,
361
- Hp as MenuSubMenu,
359
+ _p as MenuItem,
360
+ Hp as MenuItemGroup,
361
+ jp as MenuSubMenu,
362
362
  bs as Message,
363
363
  Is as Modal,
364
364
  uu as NOOP,
@@ -372,77 +372,77 @@ export {
372
372
  ws as Progress,
373
373
  zs as Radio,
374
374
  Ys as RadioGroup,
375
- Jp as RadioGroupBlock,
375
+ Xp as RadioGroupBlock,
376
376
  Ks as RadioGroupContext,
377
377
  Qs as Rate,
378
378
  Go as ReplaceTransition,
379
379
  Zs as ResizeBox,
380
- Xp as ResizeBoxSplit,
381
- $p as ResizeBoxSplitGroup,
380
+ $p as ResizeBoxSplit,
381
+ tm as ResizeBoxSplitGroup,
382
382
  ef as Result,
383
- mp as Row,
383
+ dp as Row,
384
384
  Or as Schema,
385
385
  of as Select,
386
- tm as SelectOption,
387
- rm as SelectOptionGroup,
386
+ rm as SelectOption,
387
+ sm as SelectOptionGroup,
388
388
  af as Skeleton,
389
389
  ff as Slider,
390
390
  pf as Space,
391
- $m as SpaceVertical,
391
+ tu as SpaceVertical,
392
392
  uf as SpaceVertical_,
393
393
  df as Space_,
394
394
  nf as SpeechSynthesis,
395
395
  Tf as Spin,
396
396
  Cf as Statistic,
397
- sm as StatisticCountdown,
397
+ lm as StatisticCountdown,
398
398
  yf as Steps,
399
- lm as StepsItem,
400
- pm as StepsStep,
401
- Wp as SubMenu,
399
+ mm as StepsItem,
400
+ um as StepsStep,
401
+ zp as SubMenu,
402
402
  Rf as SuspenseFallbackTest,
403
403
  Pf as Switch,
404
404
  Uo as SwitchTransition,
405
- Bm as TabPane,
405
+ Nm as TabPane,
406
406
  kf as Table,
407
- um as TableSummary,
408
- im as TableSummaryCell,
409
- nm as TableSummaryRow,
407
+ im as TableSummary,
408
+ nm as TableSummaryCell,
409
+ Tm as TableSummaryRow,
410
410
  Af as Tabs,
411
- Om as TabsTabPane,
411
+ Lm as TabsTabPane,
412
412
  vf as Tag,
413
- kp as TextArea,
413
+ Ap as TextArea,
414
414
  Bf as TimePicker,
415
415
  Of as TimePickerRange,
416
416
  Lf as Timeline,
417
- Lm as TimelineItem,
417
+ wm as TimelineItem,
418
418
  Le as TinyColor,
419
419
  wf as Tooltip,
420
420
  Gf as Transfer,
421
421
  Wo as Transition,
422
422
  zo as TransitionGroup,
423
423
  Uf as Tree,
424
- ru as TreeNode,
424
+ su as TreeNode,
425
425
  Wf as TreeSelect,
426
426
  jf as TreeSelectTreeNode,
427
427
  qf as Trigger,
428
428
  Kf as Typography,
429
- wm as TypographyEllipsis,
430
- Gm as TypographyParagraph,
431
- Um as TypographyText,
432
- Wm as TypographyTitle,
429
+ Gm as TypographyEllipsis,
430
+ Um as TypographyParagraph,
431
+ Wm as TypographyText,
432
+ zm as TypographyTitle,
433
433
  lu as UI_PC_KEY,
434
434
  pu as UI_PC_THEME_DARK_CLASS_NAME,
435
- su as UPLOAD_STATUS,
435
+ Zf as UPLOAD_STATUS,
436
436
  Qf as Upload,
437
- zm as UploadList,
438
- el as VERSION,
439
- tl as VERSION_BUILD_DATE,
440
- ol as VERSION_BUILD_TIME,
441
- Zf as VerificationCode,
442
- al as VirtualList,
443
- fl as Watermark,
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,
444
444
  lo as add,
445
- dp as addFromIconFontCn,
445
+ xp as addFromIconFontCn,
446
446
  No as callbackOriginRef,
447
447
  Et as camelCase,
448
448
  Mt as capitalize,
@@ -626,7 +626,7 @@ export {
626
626
  Me as stringInputToObject,
627
627
  co as subtract,
628
628
  Id as supportRef,
629
- tu as tableDefaultComponent,
629
+ ru as tableDefaultComponent,
630
630
  to as throttle,
631
631
  Tr as throttleByRaf,
632
632
  To as times,
@@ -636,15 +636,15 @@ export {
636
636
  kr as tween,
637
637
  ro as uniq,
638
638
  so as upperFirst,
639
- vl as useCheckbox,
639
+ Bl as useCheckbox,
640
640
  p as useComputedState,
641
641
  u as useCreate,
642
642
  i as useForceUpdate,
643
- Jl as useForm,
644
- Xl as useFormContext,
645
- $l as useFormState,
646
- tp as useFormWatch,
647
- Jm as useIconProps,
643
+ Xl as useForm,
644
+ $l as useFormContext,
645
+ tp as useFormState,
646
+ rp as useFormWatch,
647
+ Xm as useIconProps,
648
648
  n as useId,
649
649
  y as useInView,
650
650
  T as useIntersectionObserver,
@@ -656,8 +656,8 @@ export {
656
656
  v as useMedia,
657
657
  B as useMergeProps,
658
658
  N as useMergeValue,
659
- zp as useMessage,
660
- Yp as useNotification,
659
+ Yp as useMessage,
660
+ Jp as useNotification,
661
661
  F as useOnlineStatus,
662
662
  V as useOverflowHidden,
663
663
  _ as useOverrideRef,
@@ -668,14 +668,14 @@ export {
668
668
  Q as useResizeObserver,
669
669
  Z as useStateCallback,
670
670
  ee as useStateWithPromise,
671
- Tm as useTableColumns,
672
- Cm as useTableComponent,
673
- ym as useTableExpand,
674
- Rm as useTableRowSelection,
675
- Pm as useTableSorter,
676
- km as useTableStickyClassNames,
677
- Am as useTableStickyOffsets,
678
- vm as useTableThResizable,
671
+ Cm as useTableColumns,
672
+ ym as useTableComponent,
673
+ Rm as useTableExpand,
674
+ Pm as useTableRowSelection,
675
+ km as useTableSorter,
676
+ Am as useTableStickyClassNames,
677
+ vm as useTableStickyOffsets,
678
+ Bm as useTableThResizable,
679
679
  oe as useUpdateEffect,
680
680
  a as useVerificationCode,
681
681
  ae as useWatch,
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@unicom-cloud/ui","version":"0.8.91","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.92","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"}}
package/tree/Node.js CHANGED
@@ -4,7 +4,7 @@ import G from "@unicom-cloud/icons/IconUiDragDotVertical";
4
4
  import J from "@unicom-cloud/icons/IconUiFile";
5
5
  import K from "@unicom-cloud/icons/IconUiLoading";
6
6
  import u from "lodash/isFunction";
7
- import Q, { forwardRef as W, useContext as C, useRef as X, useState as Z, useCallback as I } from "react";
7
+ import Q, { forwardRef as W, useContext as _, useRef as X, useState as Z, useCallback as I } from "react";
8
8
  import ee from "../checkbox/Checkbox.js";
9
9
  import "../config-provider/ConfigProvider.js";
10
10
  import ae from "../icon-hover/index.js";
@@ -14,7 +14,7 @@ import ie from "./Animation.js";
14
14
  import { TreeContext as oe } from "./Context.js";
15
15
  import te from "../config-provider/context.js";
16
16
  function re(i, U) {
17
- const a = C(oe), { getPrefixCls: $ } = C(te), x = X(), [t, f] = Z({
17
+ const a = _(oe), { getPrefixCls: $ } = _(te), x = X(), [t, f] = Z({
18
18
  isAllowDrop: !0,
19
19
  isDragOver: !1,
20
20
  dragPosition: 0,
@@ -81,7 +81,7 @@ function re(i, U) {
81
81
  ), n ? /* @__PURE__ */ s(ae, { prefix: o, children: e }) : e;
82
82
  }, D = I(
83
83
  ne((e) => {
84
- var _;
84
+ var C;
85
85
  const n = x.current;
86
86
  if (!n)
87
87
  return;
@@ -91,7 +91,7 @@ function re(i, U) {
91
91
  isAllowDrop: V,
92
92
  isDragOver: !0,
93
93
  dragPosition: k
94
- }), (_ = a.onNodeDragOver) == null || _.call(a, e, i, k);
94
+ }), (C = a.onNodeDragOver) == null || C.call(a, e, i, k);
95
95
  }),
96
96
  [a.onNodeDragOver]
97
97
  );
@@ -154,7 +154,7 @@ function re(i, U) {
154
154
  [`${o}-title-block`]: i.blockNode
155
155
  }),
156
156
  onClick: (e) => {
157
- const { onSelect: n, onNodeClick: r, actionOnClick: h } = a;
157
+ const { onSelect: n, onNodeSelect: r, actionOnClick: h } = a;
158
158
  if (!i.disabled) {
159
159
  const l = [].concat(h);
160
160
  T && l.indexOf("select") > -1 && (n == null || n(m, e)), l.indexOf("expand") > -1 && A(), p && l.indexOf("check") > -1 && E(!i.checked, e), r == null || r(m, i.dataRef, i);