lingee-ui 0.0.6 → 0.0.8

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 (108) hide show
  1. package/dist/button/index.css +1 -1
  2. package/dist/button/index.d.mts +1 -1
  3. package/dist/button/index.d.ts +1 -1
  4. package/dist/button/index.js +1 -1
  5. package/dist/button/index.mjs +1 -1
  6. package/dist/chunk-3U36GSZF.js +2 -0
  7. package/dist/chunk-7F53VFM6.mjs +1 -0
  8. package/dist/chunk-7TZ6IXXG.js +1 -0
  9. package/dist/chunk-AEPAJEIR.js +1 -0
  10. package/dist/chunk-AP6UHKTU.mjs +1 -0
  11. package/dist/chunk-JKY43GCS.mjs +1 -0
  12. package/dist/chunk-P56ABRDC.js +1 -0
  13. package/dist/chunk-PKNSR23I.mjs +2 -0
  14. package/dist/chunk-QBEHOXXU.mjs +1 -0
  15. package/dist/{chunk-MUKM5CN4.js → chunk-SXHF5CXB.js} +1 -1
  16. package/dist/chunk-TO3JLUBX.mjs +1 -0
  17. package/dist/chunk-VHOWVMZ3.js +1 -0
  18. package/dist/{index-B4ySDWo5.d.mts → index-7pb5YOcq.d.mts} +3 -3
  19. package/dist/{index-B4ySDWo5.d.ts → index-7pb5YOcq.d.ts} +3 -3
  20. package/dist/index.css +1 -1
  21. package/dist/index.d.mts +596 -119
  22. package/dist/index.d.ts +596 -119
  23. package/dist/index.js +2 -2
  24. package/dist/index.mjs +2 -2
  25. package/dist/input/index.css +1 -1
  26. package/dist/input/index.d.mts +9 -3
  27. package/dist/input/index.d.ts +9 -3
  28. package/dist/input/index.js +1 -1
  29. package/dist/input/index.mjs +1 -1
  30. package/dist/popover/index.d.mts +6 -6
  31. package/dist/popover/index.d.ts +6 -6
  32. package/dist/switch/index.d.mts +2 -2
  33. package/dist/switch/index.d.ts +2 -2
  34. package/dist/tabs/index.css +1 -1
  35. package/dist/tabs/index.d.mts +10 -6
  36. package/dist/tabs/index.d.ts +10 -6
  37. package/dist/tabs/index.js +1 -1
  38. package/dist/tabs/index.mjs +1 -1
  39. package/dist/textarea/index.d.mts +2 -2
  40. package/dist/textarea/index.d.ts +2 -2
  41. package/dist/toast/index.css +1 -1
  42. package/dist/toast/index.js +1 -1
  43. package/dist/toast/index.mjs +1 -1
  44. package/dist/tokens.css +1 -1
  45. package/dist/tooltip/index.css +1 -1
  46. package/dist/tooltip/index.d.mts +6 -1
  47. package/dist/tooltip/index.d.ts +6 -1
  48. package/dist/tooltip/index.js +1 -1
  49. package/dist/tooltip/index.mjs +1 -1
  50. package/dist/tree/index.css +1 -0
  51. package/dist/tree/index.d.mts +229 -0
  52. package/dist/tree/index.d.ts +229 -0
  53. package/dist/tree/index.js +1 -0
  54. package/dist/tree/index.mjs +1 -0
  55. package/package.json +14 -4
  56. package/skill/AGENTS-SNIPPET.md +254 -0
  57. package/skill/SKILL.md +206 -0
  58. package/skill/VERSION.json +7 -0
  59. package/skill/references/components/alert.md +30 -0
  60. package/skill/references/components/avatar.md +45 -0
  61. package/skill/references/components/button.md +40 -0
  62. package/skill/references/components/checkbox.md +39 -0
  63. package/skill/references/components/color-picker.md +40 -0
  64. package/skill/references/components/date-picker.md +46 -0
  65. package/skill/references/components/dialog.md +68 -0
  66. package/skill/references/components/divider.md +30 -0
  67. package/skill/references/components/drawer.md +42 -0
  68. package/skill/references/components/dropdown.md +96 -0
  69. package/skill/references/components/empty.md +54 -0
  70. package/skill/references/components/flex.md +44 -0
  71. package/skill/references/components/form.md +57 -0
  72. package/skill/references/components/image.md +37 -0
  73. package/skill/references/components/input.md +33 -0
  74. package/skill/references/components/pagination.md +42 -0
  75. package/skill/references/components/popover.md +45 -0
  76. package/skill/references/components/progress.md +36 -0
  77. package/skill/references/components/radio.md +43 -0
  78. package/skill/references/components/range-picker.md +49 -0
  79. package/skill/references/components/scroll-area.md +50 -0
  80. package/skill/references/components/select.md +52 -0
  81. package/skill/references/components/sidebar.md +203 -0
  82. package/skill/references/components/skeleton.md +39 -0
  83. package/skill/references/components/slider.md +42 -0
  84. package/skill/references/components/spin.md +25 -0
  85. package/skill/references/components/steps.md +34 -0
  86. package/skill/references/components/switch.md +26 -0
  87. package/skill/references/components/table.md +44 -0
  88. package/skill/references/components/tabs.md +49 -0
  89. package/skill/references/components/tag.md +59 -0
  90. package/skill/references/components/textarea.md +30 -0
  91. package/skill/references/components/time-picker.md +49 -0
  92. package/skill/references/components/toast.md +47 -0
  93. package/skill/references/components/tooltip.md +33 -0
  94. package/skill/references/components/tree.md +118 -0
  95. package/skill/references/components/upload.md +41 -0
  96. package/skill/references/icons.md +1117 -0
  97. package/skill/references/setup.md +133 -0
  98. package/skill/references/tokens.md +201 -0
  99. package/CHANGELOG.md +0 -31
  100. package/dist/chunk-22G7TVQU.mjs +0 -1
  101. package/dist/chunk-3VTWGWRW.mjs +0 -1
  102. package/dist/chunk-BURKV6KR.js +0 -1
  103. package/dist/chunk-EWZCOQ5H.js +0 -1
  104. package/dist/chunk-I5FIN7UX.mjs +0 -1
  105. package/dist/chunk-LGFBC4UA.mjs +0 -1
  106. package/dist/chunk-U5VI5OCN.mjs +0 -1
  107. package/dist/chunk-WJXAQ3RX.js +0 -1
  108. package/dist/chunk-ZXRCMMQM.js +0 -1
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { B as ButtonProps } from './index-B4ySDWo5.js';
2
- export { a as Button, b as ButtonShape, c as ButtonSize, d as ButtonVariant } from './index-B4ySDWo5.js';
1
+ import { B as ButtonProps } from './index-7pb5YOcq.js';
2
+ export { a as Button, b as ButtonShape, c as ButtonSize, d as ButtonVariant } from './index-7pb5YOcq.js';
3
3
  export { TabItem, Tabs, TabsProps, TabsSize, TabsVariant } from './tabs/index.js';
4
4
  export { Tooltip, TooltipPlacement, TooltipProps } from './tooltip/index.js';
5
5
  import { PopoverContentProps } from './popover/index.js';
@@ -9,10 +9,12 @@ export { Input, InputProps, InputShape, InputSize } from './input/index.js';
9
9
  export { Textarea, TextareaProps } from './textarea/index.js';
10
10
  export { ToastConfig, ToastGlobalConfig, ToastType, toast } from './toast/index.js';
11
11
  import * as react_jsx_runtime from 'react/jsx-runtime';
12
- import React$1, { ReactNode, HTMLAttributes, MouseEvent, CSSProperties, ComponentType, Key, ReactElement, UIEventHandler, Ref } from 'react';
12
+ import * as React$1 from 'react';
13
+ import React__default, { ReactNode, HTMLAttributes, MouseEvent, CSSProperties, ComponentType, Key, ReactElement, UIEventHandler, Ref } from 'react';
13
14
  import { L as LgSize } from './index-B5SLxsZP.js';
14
15
  export { a as LgShape, b as LgVariant } from './index-B5SLxsZP.js';
15
16
  import { SvgIconProps } from 'lingee-icon';
17
+ export { Tree, TreeAllowDropOptions, TreeCheckInfo, TreeDropInfo, TreeExpandAction, TreeExpandInfo, TreeFieldNames, TreeIndentGuide, TreeNodeData, TreeNodeState, TreeProps, TreeSelectInfo, TreeSize } from './tree/index.js';
16
18
  import { FormInstance as FormInstance$1, Rule } from 'rc-field-form/es/interface';
17
19
  export { Rule } from 'rc-field-form/es/interface';
18
20
  import { ClassValue } from 'clsx';
@@ -35,6 +37,19 @@ declare const zhCN: {
35
37
  notFound: string;
36
38
  clear: string;
37
39
  };
40
+ Dropdown: {
41
+ clear: string;
42
+ };
43
+ Tabs: {
44
+ scrollLeft: string;
45
+ scrollRight: string;
46
+ };
47
+ Form: {
48
+ /** {label} 为表单项名称 */
49
+ required: string;
50
+ /** label 非字符串(如 ReactNode)或缺省时的兜底文案 */
51
+ requiredNoLabel: string;
52
+ };
38
53
  Tag: {
39
54
  close: string;
40
55
  };
@@ -74,6 +89,9 @@ declare const zhCN: {
74
89
  Table: {
75
90
  empty: string;
76
91
  };
92
+ Tree: {
93
+ empty: string;
94
+ };
77
95
  Pagination: {
78
96
  total: string;
79
97
  prevPage: string;
@@ -90,6 +108,7 @@ declare const zhCN: {
90
108
  };
91
109
  Input: {
92
110
  clear: string;
111
+ expand: string;
93
112
  };
94
113
  Alert: {
95
114
  close: string;
@@ -127,6 +146,17 @@ declare const enUS: {
127
146
  notFound: string;
128
147
  clear: string;
129
148
  };
149
+ Dropdown: {
150
+ clear: string;
151
+ };
152
+ Tabs: {
153
+ scrollLeft: string;
154
+ scrollRight: string;
155
+ };
156
+ Form: {
157
+ required: string;
158
+ requiredNoLabel: string;
159
+ };
130
160
  Tag: {
131
161
  close: string;
132
162
  };
@@ -166,6 +196,9 @@ declare const enUS: {
166
196
  Table: {
167
197
  empty: string;
168
198
  };
199
+ Tree: {
200
+ empty: string;
201
+ };
169
202
  Pagination: {
170
203
  total: string;
171
204
  prevPage: string;
@@ -182,6 +215,7 @@ declare const enUS: {
182
215
  };
183
216
  Input: {
184
217
  clear: string;
218
+ expand: string;
185
219
  };
186
220
  Alert: {
187
221
  close: string;
@@ -223,18 +257,29 @@ declare function useLocale(): Locale;
223
257
  declare function useComponentLocale<K extends keyof Omit<Locale, "locale">>(componentName: K): Locale[K];
224
258
 
225
259
  /** 预设语义色 */
226
- type TagPresetColor = "primary" | "info" | "success" | "warning" | "danger";
260
+ type TagPresetColor = "primary" | "info" | "success" | "warning" | "danger" | "amber" | "yellow" | "cyan" | "purple";
261
+ /**
262
+ * 视觉变体
263
+ * - tint:纯色浅底,通用标记场景
264
+ * - gradient:渐变浅底,用于提示类徽标(警告 / 建议 / 提示)
265
+ * - glow:渐变底 + 光斑装饰,用于等级类徽标(钻石 / 黄金 / 铂金)
266
+ */
267
+ type TagVariant = "tint" | "gradient" | "glow";
227
268
  /** 标签尺寸 */
228
269
  type TagSize = LgSize;
229
- /** 标签圆角形状 */
270
+ /** 标签圆角形状(仅 variant="tint" 生效,其余变体圆角由变体规范决定) */
230
271
  type TagShape = "pill" | "rounded";
231
272
  interface TagProps extends Omit<HTMLAttributes<HTMLSpanElement>, "color"> {
232
273
  /** 色彩:预设语义色 或 任意 CSS 色值字符串,默认 "info" */
233
274
  color?: TagPresetColor | (string & {});
275
+ /** 视觉变体,默认 "tint" */
276
+ variant?: TagVariant;
234
277
  /** 尺寸,默认 "md"(sm: 20px, md: 24px, lg: 32px) */
235
278
  size?: TagSize;
236
279
  /** 圆角形状,默认 "pill"(pill: 999px, rounded: 8px) */
237
280
  shape?: TagShape;
281
+ /** 前缀图标(尺寸由组件统一控制,无需自行设置宽高) */
282
+ icon?: ReactNode;
238
283
  /** 自定义背景(覆盖默认背景,支持渐变等任意 CSS background 值) */
239
284
  background?: string;
240
285
  /** 是否可关闭(显示关闭按钮) */
@@ -247,9 +292,9 @@ interface TagProps extends Omit<HTMLAttributes<HTMLSpanElement>, "color"> {
247
292
 
248
293
  /**
249
294
  * Tag 标签组件
250
- * 支持预设语义色、自定义色值、自定义背景(渐变)、可关闭等能力
295
+ * 支持预设语义色、自定义色值、渐变 / 光斑变体、前缀图标、可关闭等能力
251
296
  */
252
- declare const Tag: React$1.ForwardRefExoticComponent<TagProps & React$1.RefAttributes<HTMLSpanElement>>;
297
+ declare const Tag: React__default.ForwardRefExoticComponent<TagProps & React__default.RefAttributes<HTMLSpanElement>>;
253
298
 
254
299
  /** 透传给 OK/Cancel 按钮的属性子集(排除 children 和事件,由 Dialog 统一管理) */
255
300
  type DialogButtonProps = Omit<ButtonProps, "children" | "onClick" | "htmlType">;
@@ -288,6 +333,8 @@ interface DialogProps {
288
333
  modal?: boolean;
289
334
  /** 是否显示遮罩层,默认 true */
290
335
  mask?: boolean;
336
+ /** 遮罩层自定义类名(覆盖默认背景/模糊等),仅 mask=true 时生效 */
337
+ maskClassName?: string;
291
338
  /** 关闭后是否销毁子节点,默认 true */
292
339
  destroyOnHidden?: boolean;
293
340
  /** 自定义 z-index */
@@ -303,6 +350,11 @@ interface DialogProps {
303
350
  /** 弹窗内容 */
304
351
  children?: ReactNode;
305
352
  }
353
+ /** confirm contentRender 回调参数 */
354
+ interface ConfirmRenderProps {
355
+ /** 动态设置确认按钮的 disabled 状态 */
356
+ setOkDisabled: (disabled: boolean) => void;
357
+ }
306
358
  /** Dialog.confirm 命令式参数 */
307
359
  interface DialogConfirmOptions extends Omit<DialogProps, "open" | "onOpenChange" | "children"> {
308
360
  /** 描述文案(使用默认布局时展示) */
@@ -311,13 +363,15 @@ interface DialogConfirmOptions extends Omit<DialogProps, "open" | "onOpenChange"
311
363
  icon?: ReactNode;
312
364
  /** 自定义内容,传入后 title/description/icon 不生效 */
313
365
  content?: ReactNode;
366
+ /** 动态内容渲染函数,接收 { setOkDisabled } 可动态控制确认按钮状态 */
367
+ contentRender?: (props: ConfirmRenderProps) => ReactNode;
314
368
  }
315
369
 
316
370
  /**
317
371
  * Dialog 对话框组件
318
372
  * 基于 @radix-ui/react-dialog,提供焦点陷阱、Esc 关闭、aria 属性
319
373
  */
320
- declare const Dialog$1: React$1.FC<DialogProps>;
374
+ declare const Dialog$1: React__default.FC<DialogProps>;
321
375
 
322
376
  /**
323
377
  * 命令式确认弹窗
@@ -357,7 +411,7 @@ interface SelectOptionGroup<T = string> {
357
411
  interface SelectDropdownProps extends Pick<PopoverContentProps, "side" | "align" | "sideOffset" | "alignOffset" | "className" | "collisionPadding" | "container"> {
358
412
  /** 下拉面板宽度,默认与触发器同宽 */
359
413
  width?: number | "auto";
360
- /** 下拉面板最大高度,默认 256 */
414
+ /** 下拉面板最大高度,默认 346(约 10 项) */
361
415
  maxHeight?: number;
362
416
  /**
363
417
  * 自定义下拉面板渲染
@@ -428,8 +482,8 @@ interface SelectProps<T = string> {
428
482
  * 用法:<Select<string> options={...} />
429
483
  */
430
484
  declare const Select: <T = string>(props: SelectProps<T> & {
431
- ref?: React$1.Ref<HTMLDivElement>;
432
- }) => React$1.ReactElement | null;
485
+ ref?: React__default.Ref<HTMLDivElement>;
486
+ }) => React__default.ReactElement | null;
433
487
 
434
488
  interface DropdownMenuItemData {
435
489
  type?: "item";
@@ -439,6 +493,8 @@ interface DropdownMenuItemData {
439
493
  label: ReactNode;
440
494
  /** 前置图标 */
441
495
  icon?: ReactNode;
496
+ /** 副标题描述文本 */
497
+ description?: ReactNode;
442
498
  /** 是否为危险操作 */
443
499
  danger?: boolean;
444
500
  /** 是否禁用 */
@@ -513,6 +569,15 @@ interface DropdownContentProps extends Pick<PopoverContentProps, "side" | "align
513
569
  header?: ReactNode;
514
570
  /** 固定在面板底部的内容(不随列表滚动) */
515
571
  footer?: ReactNode;
572
+ /** 隐藏面板默认描边,默认 false(显示描边) */
573
+ borderless?: boolean;
574
+ /**
575
+ * 打开面板时是否聚焦第一个菜单项
576
+ * 不传时按输入模态自动判断:键盘(Enter / Space / Tab / 方向键)打开则聚焦首项,
577
+ * 鼠标点击打开则把焦点留在菜单容器上,避免首项呈现 hover 态
578
+ * 仅在需要强制某一行为时显式传值
579
+ */
580
+ autoFocusFirstItem?: boolean;
516
581
  }
517
582
  interface DropdownItemProps {
518
583
  /** 菜单项内容 */
@@ -525,6 +590,8 @@ interface DropdownItemProps {
525
590
  danger?: boolean;
526
591
  /** 前置图标 */
527
592
  icon?: ReactNode;
593
+ /** 副标题描述文本(显示在主文本下方,12px 灰色) */
594
+ description?: ReactNode;
528
595
  /** 是否选中(显示勾选图标) */
529
596
  selected?: boolean;
530
597
  /** 选中回调,调用 event.preventDefault() 可阻止面板自动关闭 */
@@ -602,9 +669,15 @@ interface DropdownSubContentProps extends Pick<PopoverContentProps, "side" | "al
602
669
  /** 子菜单面板内容 */
603
670
  children: ReactNode;
604
671
  }
605
- interface DropdownButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "children"> {
672
+ interface DropdownButtonProps extends Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, "children"> {
606
673
  /** 按钮文本内容 */
607
674
  children?: ReactNode;
675
+ /** 按钮变体:default(透明底) | glassy(半透明白底+描边,适用于有色背景) */
676
+ variant?: "default" | "glassy";
677
+ /** 尺寸:sm(28px) | lg(36px),默认 sm */
678
+ size?: "sm" | "lg";
679
+ /** 选中态色系:primary(蓝色,默认) | purple(紫色) */
680
+ selectedVariant?: "primary" | "purple";
608
681
  /** 前置图标 */
609
682
  icon?: ReactNode;
610
683
  /** 是否已有选中内容(蓝色态) */
@@ -620,7 +693,7 @@ interface DropdownButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButt
620
693
  /** 额外类名 */
621
694
  className?: string;
622
695
  /** 清除回调 */
623
- onClear?: (e: React$1.MouseEvent) => void;
696
+ onClear?: (e: React__default.MouseEvent) => void;
624
697
  }
625
698
 
626
699
  /**
@@ -633,21 +706,21 @@ interface DropdownButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButt
633
706
  * 展开时箭头旋转 180°(ChevronDown → ChevronUp 效果)
634
707
  */
635
708
 
636
- declare const DropdownButton: React$1.ForwardRefExoticComponent<DropdownButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
709
+ declare const DropdownButton: React__default.ForwardRefExoticComponent<DropdownButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
637
710
 
638
711
  declare function Dropdown({ children, open, defaultOpen, onOpenChange, modal, disabled, items, contentProps, selectedKeys, loading, loadingContent, emptyContent, dropdownRender, header, footer, }: DropdownProps): react_jsx_runtime.JSX.Element;
639
712
  declare namespace Dropdown {
640
713
  var displayName: string;
641
714
  }
642
- declare const DropdownTrigger: React$1.ForwardRefExoticComponent<DropdownTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
643
- declare const DropdownContent: React$1.ForwardRefExoticComponent<DropdownContentProps & React$1.RefAttributes<HTMLDivElement>>;
644
- declare const DropdownItem: React$1.ForwardRefExoticComponent<DropdownItemProps & React$1.RefAttributes<HTMLDivElement>>;
645
- declare const DropdownCheckboxItem: React$1.ForwardRefExoticComponent<DropdownCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>>;
715
+ declare const DropdownTrigger: React__default.ForwardRefExoticComponent<DropdownTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
716
+ declare const DropdownContent: React__default.ForwardRefExoticComponent<DropdownContentProps & React__default.RefAttributes<HTMLDivElement>>;
717
+ declare const DropdownItem: React__default.ForwardRefExoticComponent<DropdownItemProps & React__default.RefAttributes<HTMLDivElement>>;
718
+ declare const DropdownCheckboxItem: React__default.ForwardRefExoticComponent<DropdownCheckboxItemProps & React__default.RefAttributes<HTMLDivElement>>;
646
719
  declare function DropdownRadioGroup({ children, value, onValueChange }: DropdownRadioGroupProps): react_jsx_runtime.JSX.Element;
647
720
  declare namespace DropdownRadioGroup {
648
721
  var displayName: string;
649
722
  }
650
- declare const DropdownRadioItem: React$1.ForwardRefExoticComponent<DropdownRadioItemProps & React$1.RefAttributes<HTMLDivElement>>;
723
+ declare const DropdownRadioItem: React__default.ForwardRefExoticComponent<DropdownRadioItemProps & React__default.RefAttributes<HTMLDivElement>>;
651
724
  declare function DropdownLabel({ children, className }: DropdownLabelProps): react_jsx_runtime.JSX.Element;
652
725
  declare namespace DropdownLabel {
653
726
  var displayName: string;
@@ -664,8 +737,8 @@ declare function DropdownSub({ children, open, defaultOpen, onOpenChange }: Drop
664
737
  declare namespace DropdownSub {
665
738
  var displayName: string;
666
739
  }
667
- declare const DropdownSubTrigger: React$1.ForwardRefExoticComponent<DropdownSubTriggerProps & React$1.RefAttributes<HTMLDivElement>>;
668
- declare const DropdownSubContent: React$1.ForwardRefExoticComponent<DropdownSubContentProps & React$1.RefAttributes<HTMLDivElement>>;
740
+ declare const DropdownSubTrigger: React__default.ForwardRefExoticComponent<DropdownSubTriggerProps & React__default.RefAttributes<HTMLDivElement>>;
741
+ declare const DropdownSubContent: React__default.ForwardRefExoticComponent<DropdownSubContentProps & React__default.RefAttributes<HTMLDivElement>>;
669
742
 
670
743
  type DatePickerSize = LgSize;
671
744
  interface DatePickerProps {
@@ -713,7 +786,7 @@ interface DatePickerProps {
713
786
  * 单选日期,基于 Popover 弹层 + react-day-picker 日历面板实现。
714
787
  * 支持年/月快速切换面板、今天按钮、日期禁用。
715
788
  */
716
- declare const DatePicker: React$1.ForwardRefExoticComponent<DatePickerProps & React$1.RefAttributes<HTMLDivElement>>;
789
+ declare const DatePicker: React__default.ForwardRefExoticComponent<DatePickerProps & React__default.RefAttributes<HTMLDivElement>>;
717
790
 
718
791
  type RangePickerSize = LgSize;
719
792
  type DateRange = {
@@ -764,7 +837,7 @@ interface RangePickerProps {
764
837
  *
765
838
  * 双面板并排,选择起止日期。
766
839
  */
767
- declare const RangePicker: React$1.ForwardRefExoticComponent<RangePickerProps & React$1.RefAttributes<HTMLDivElement>>;
840
+ declare const RangePicker: React__default.ForwardRefExoticComponent<RangePickerProps & React__default.RefAttributes<HTMLDivElement>>;
768
841
 
769
842
  type TimePickerSize = LgSize;
770
843
  interface TimeValue {
@@ -809,7 +882,7 @@ interface TimePickerProps {
809
882
  * 滚动列选择时间,支持 HH:mm 和 HH:mm:ss 两种模式。
810
883
  * 触发器复用 DatePicker 样式,面板通过 Popover 弹出。
811
884
  */
812
- declare const TimePicker: React$1.ForwardRefExoticComponent<TimePickerProps & React$1.RefAttributes<HTMLDivElement>>;
885
+ declare const TimePicker: React__default.ForwardRefExoticComponent<TimePickerProps & React__default.RefAttributes<HTMLDivElement>>;
813
886
 
814
887
  type RadioSize = LgSize;
815
888
  interface RadioGroupProps {
@@ -849,12 +922,12 @@ interface RadioItemProps {
849
922
  * RadioGroup 单选组
850
923
  * 基于 radix-ui/react-radio-group,支持受控/非受控、禁用、尺寸变体
851
924
  */
852
- declare const RadioGroup: React$1.ForwardRefExoticComponent<RadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
925
+ declare const RadioGroup: React__default.ForwardRefExoticComponent<RadioGroupProps & React__default.RefAttributes<HTMLDivElement>>;
853
926
  /**
854
927
  * RadioItem 单选项
855
928
  * 必须作为 RadioGroup 的子组件使用
856
929
  */
857
- declare const RadioItem: React$1.ForwardRefExoticComponent<RadioItemProps & React$1.RefAttributes<HTMLButtonElement>>;
930
+ declare const RadioItem: React__default.ForwardRefExoticComponent<RadioItemProps & React__default.RefAttributes<HTMLButtonElement>>;
858
931
 
859
932
  type DividerVariant = "default" | "muted" | "emphasis";
860
933
  type DividerOrientation = "horizontal" | "vertical";
@@ -871,7 +944,7 @@ interface DividerProps extends HTMLAttributes<HTMLDivElement> {
871
944
  * Divider 分割线组件
872
945
  * 用于分隔内容区块,支持水平/垂直方向和多种颜色变体
873
946
  */
874
- declare const Divider: React$1.ForwardRefExoticComponent<DividerProps & React$1.RefAttributes<HTMLDivElement>>;
947
+ declare const Divider: React__default.ForwardRefExoticComponent<DividerProps & React__default.RefAttributes<HTMLDivElement>>;
875
948
 
876
949
  type CheckboxSize = LgSize;
877
950
  interface CheckboxProps {
@@ -923,12 +996,12 @@ interface CheckboxGroupProps {
923
996
  * Checkbox 复选框组件
924
997
  * 支持受控/非受控、半选态、禁用、尺寸变体,可独立使用或配合 CheckboxGroup
925
998
  */
926
- declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLInputElement>>;
999
+ declare const Checkbox: React__default.ForwardRefExoticComponent<CheckboxProps & React__default.RefAttributes<HTMLInputElement>>;
927
1000
  /**
928
1001
  * CheckboxGroup 复选框组
929
1002
  * 管理多个 Checkbox 的选中状态
930
1003
  */
931
- declare const CheckboxGroup: React$1.ForwardRefExoticComponent<CheckboxGroupProps & React$1.RefAttributes<HTMLDivElement>>;
1004
+ declare const CheckboxGroup: React__default.ForwardRefExoticComponent<CheckboxGroupProps & React__default.RefAttributes<HTMLDivElement>>;
932
1005
 
933
1006
  /**
934
1007
  * 分页视觉变体
@@ -978,7 +1051,7 @@ interface PaginationProps {
978
1051
  * Pagination 分页组件
979
1052
  * 参考 antd API 设计,通过 variant 区分三种视觉:simple(简单)、bordered(有框)、borderless(无框)
980
1053
  */
981
- declare const Pagination: React$1.ForwardRefExoticComponent<PaginationProps & React$1.RefAttributes<HTMLElement>>;
1054
+ declare const Pagination: React__default.ForwardRefExoticComponent<PaginationProps & React__default.RefAttributes<HTMLElement>>;
982
1055
 
983
1056
  type SpinSize = LgSize;
984
1057
  interface SpinProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
@@ -1000,7 +1073,7 @@ interface SpinProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
1000
1073
  * Spin 加载指示器组件
1001
1074
  * 支持独立使用或作为容器包裹内容,加载时显示遮罩与旋转指示器
1002
1075
  */
1003
- declare const Spin: React$1.ForwardRefExoticComponent<SpinProps & React$1.RefAttributes<HTMLDivElement>>;
1076
+ declare const Spin: React__default.ForwardRefExoticComponent<SpinProps & React__default.RefAttributes<HTMLDivElement>>;
1004
1077
 
1005
1078
  /** 空状态尺寸(复用组件库统一尺寸 LgSize) */
1006
1079
  type EmptySize = LgSize;
@@ -1028,17 +1101,442 @@ interface EmptyProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
1028
1101
  /** 自定义内联样式 */
1029
1102
  style?: CSSProperties;
1030
1103
  }
1104
+ /**
1105
+ * 卡片占位状态。
1106
+ * - loading: 加载中,默认旋转的 LoaderCircle
1107
+ * - empty: 加载结束无数据,默认 Inbox
1108
+ * - error: 加载结束失败,默认 ExclamationCircle
1109
+ */
1110
+ type EmptyCardStatus = "loading" | "empty" | "error";
1111
+ /**
1112
+ * 布局形态。
1113
+ * - block: 块级居中,用于区块级占位
1114
+ * - inline: 行内小字,用于「加载更多」这类轻量提示
1115
+ */
1116
+ type EmptyCardVariant = "block" | "inline";
1117
+ /** 上下留白档位 */
1118
+ type EmptyCardSpacing = "none" | "normal" | "loose";
1119
+ interface EmptyCardProps extends Omit<HTMLAttributes<HTMLDivElement>, "children" | "onClick"> {
1120
+ status: EmptyCardStatus;
1121
+ /** 描述文案。组件不内置文案,由消费方传入 */
1122
+ description: ReactNode;
1123
+ /** 覆盖默认图标;传 null 则不渲染图标 */
1124
+ icon?: ReactNode | null;
1125
+ variant?: EmptyCardVariant;
1126
+ spacing?: EmptyCardSpacing;
1127
+ /** 重试回调。仅 status="error" 时生效,传入后整体渲染为可点击按钮 */
1128
+ onRetry?: () => void;
1129
+ className?: string;
1130
+ style?: CSSProperties;
1131
+ }
1132
+
1133
+ /**
1134
+ * Empty.Card — 等高三态占位
1135
+ *
1136
+ * 统一「加载中 / 加载结束空 / 加载结束失败」三态:图标 + 文案横向排列,
1137
+ * 同一 spacing 档位下三态 min-height 一致,状态切换时容器高度不变,
1138
+ * 避免列表或卡片区域跳动。
1139
+ *
1140
+ * 收敛为单组件的原因:这类占位在列表与折叠区块内散落出现十余处,
1141
+ * 各处自行拼装会导致图标尺寸、间距、灰度层层漂移。
1142
+ */
1143
+ declare const EmptyCard: React__default.ForwardRefExoticComponent<EmptyCardProps & React__default.RefAttributes<HTMLDivElement>>;
1144
+
1145
+ /**
1146
+ * Empty 复合组件。
1147
+ *
1148
+ * 用 Object.assign 而非对象字面量挂载子组件:
1149
+ * 保留 EmptyRoot 的 forwardRef 类型,使 <Empty ref={...} /> 仍可直接使用。
1150
+ */
1151
+ declare const Empty: React__default.ForwardRefExoticComponent<EmptyProps & React__default.RefAttributes<HTMLDivElement>> & {
1152
+ Card: React__default.ForwardRefExoticComponent<EmptyCardProps & React__default.RefAttributes<HTMLDivElement>>;
1153
+ };
1154
+
1155
+ interface SidebarRootProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
1156
+ /** 展开宽度(px),默认 280 */
1157
+ width?: number;
1158
+ /**
1159
+ * 折叠态。
1160
+ * - 传 boolean:启用「外层宽度归 0 + 内容层 absolute」双层结构,宽度带过渡动画
1161
+ * - 不传:单层结构,宽度恒定(折叠由消费方外层布局自行控制)
1162
+ */
1163
+ collapsed?: boolean;
1164
+ /** 顶部安全区高度(px),用于让位固定顶栏 */
1165
+ safeAreaTop?: number;
1166
+ children?: ReactNode;
1167
+ className?: string;
1168
+ style?: CSSProperties;
1169
+ }
1170
+ interface SidebarHeaderProps extends HTMLAttributes<HTMLDivElement> {
1171
+ children?: ReactNode;
1172
+ className?: string;
1173
+ style?: CSSProperties;
1174
+ }
1175
+ interface SidebarTabItem {
1176
+ key: string;
1177
+ label: ReactNode;
1178
+ icon?: ReactNode;
1179
+ disabled?: boolean;
1180
+ /** 无障碍标签,缺省时回退 label */
1181
+ ariaLabel?: string;
1182
+ }
1183
+ interface SidebarTabBarProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
1184
+ items: SidebarTabItem[];
1185
+ activeKey: string;
1186
+ onChange: (key: string) => void;
1187
+ className?: string;
1188
+ style?: CSSProperties;
1189
+ }
1190
+ interface SidebarNavItemProps extends Omit<HTMLAttributes<HTMLButtonElement>, "onClick"> {
1191
+ icon?: ReactNode;
1192
+ label: ReactNode;
1193
+ active?: boolean;
1194
+ disabled?: boolean;
1195
+ /** 右侧徽章插槽(试用标识 / 数字角标等) */
1196
+ badge?: ReactNode;
1197
+ onClick?: () => void;
1198
+ className?: string;
1199
+ style?: CSSProperties;
1200
+ }
1201
+ interface SidebarCollapsibleNavItemChild {
1202
+ key: string;
1203
+ label: ReactNode;
1204
+ active?: boolean;
1205
+ disabled?: boolean;
1206
+ onClick?: () => void;
1207
+ }
1208
+ interface SidebarCollapsibleNavItemProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
1209
+ icon?: ReactNode;
1210
+ label: ReactNode;
1211
+ /** 头部高亮态。内部会与子项 active 做互斥:任一子项 active 时头部不高亮 */
1212
+ active?: boolean;
1213
+ /** 受控展开态 */
1214
+ open?: boolean;
1215
+ /** 非受控初始展开态,open 传入时忽略 */
1216
+ defaultOpen?: boolean;
1217
+ onOpenChange?: (next: boolean) => void;
1218
+ /**
1219
+ * 点击标签区回调。
1220
+ * 传入时标签区与箭头区分离命中:标签只触发本回调,箭头只切换展开;
1221
+ * 不传时整个头部点击都切换展开。
1222
+ */
1223
+ onLabelClick?: () => void;
1224
+ items: SidebarCollapsibleNavItemChild[];
1225
+ /** 头部右侧插槽(徽标等) */
1226
+ extra?: ReactNode;
1227
+ disabled?: boolean;
1228
+ /** 箭头无障碍标签,避免组件内置文案 */
1229
+ expandLabel?: string;
1230
+ collapseLabel?: string;
1231
+ className?: string;
1232
+ style?: CSSProperties;
1233
+ }
1234
+ interface SidebarGroupHeaderProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
1235
+ title: ReactNode;
1236
+ /** 可折叠,默认 false(纯标签模式) */
1237
+ collapsible?: boolean;
1238
+ /** 展开态,仅 collapsible 时生效 */
1239
+ expanded?: boolean;
1240
+ onToggle?: () => void;
1241
+ /** 右侧操作区插槽 */
1242
+ actions?: ReactNode;
1243
+ className?: string;
1244
+ style?: CSSProperties;
1245
+ }
1246
+ /** 会话状态指示器类型 */
1247
+ type SidebarIndicatorType = "running" | "clarification" | "unread";
1248
+ interface SidebarListItemProps extends Omit<HTMLAttributes<HTMLDivElement>, "title" | "onSelect" | "prefix"> {
1249
+ title: ReactNode;
1250
+ active?: boolean;
1251
+ /** 状态指示器小圆点;传 null / 不传则不渲染 */
1252
+ indicator?: SidebarIndicatorType | null;
1253
+ /** 标题前插槽(置顶图钉等) */
1254
+ prefix?: ReactNode;
1255
+ onSelect?: () => void;
1256
+ /**
1257
+ * 右侧「更多」菜单插槽,需自带触发按钮。
1258
+ * 以插槽形式传入,使消费方可自由选择菜单实现。
1259
+ */
1260
+ menu?: ReactNode;
1261
+ className?: string;
1262
+ style?: CSSProperties;
1263
+ }
1264
+ /**
1265
+ * 箭头位置。
1266
+ * - title: 紧跟标题之后(文件夹节点用法,标题短时箭头也靠左)
1267
+ * - end: 恒在行尾(定时任务分组用法)
1268
+ */
1269
+ type SidebarCaretPlacement = "title" | "end";
1270
+ interface SidebarCollapsibleListItemProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
1271
+ /** 头部左侧图标。需随展开态切换图标时由消费方自行传入对应图标 */
1272
+ icon?: ReactNode;
1273
+ title: ReactNode;
1274
+ expanded?: boolean;
1275
+ onToggle?: () => void;
1276
+ /** 箭头位置,默认 title(紧跟标题) */
1277
+ caretPlacement?: SidebarCaretPlacement;
1278
+ /** 头部悬停操作区插槽 */
1279
+ actions?: ReactNode;
1280
+ /** 操作区常显。菜单打开时置 true,避免指针移出后按钮消失 */
1281
+ actionsVisible?: boolean;
1282
+ /** 头部高亮态 */
1283
+ active?: boolean;
1284
+ /** 展开区内容 */
1285
+ children?: ReactNode;
1286
+ /** 箭头无障碍标签 */
1287
+ expandLabel?: string;
1288
+ collapseLabel?: string;
1289
+ className?: string;
1290
+ style?: CSSProperties;
1291
+ }
1292
+ interface SidebarFooterProps extends HTMLAttributes<HTMLDivElement> {
1293
+ /** 头像插槽 */
1294
+ avatar?: ReactNode;
1295
+ /** 名称,为空时不渲染身份区 */
1296
+ name?: ReactNode;
1297
+ /** 名称后插槽(套餐标签等) */
1298
+ nameSuffix?: ReactNode;
1299
+ /** 用户菜单展开态,驱动触发区高亮与箭头旋转 */
1300
+ menuOpen?: boolean;
1301
+ /** 点击触发区。回传触发元素的 DOMRect,便于消费方自行定位浮层 */
1302
+ onTriggerClick?: (rect: DOMRect) => void;
1303
+ /** 右侧动作区插槽 */
1304
+ actions?: ReactNode;
1305
+ className?: string;
1306
+ style?: CSSProperties;
1307
+ }
1308
+ interface SidebarFooterMenuStaticRowProps extends HTMLAttributes<HTMLDivElement> {
1309
+ /** 行首图标 */
1310
+ icon?: ReactNode;
1311
+ children?: ReactNode;
1312
+ className?: string;
1313
+ style?: CSSProperties;
1314
+ }
1315
+ interface SidebarFooterBadgeProps extends HTMLAttributes<HTMLSpanElement> {
1316
+ /** 是否显示未读红点 */
1317
+ dot?: boolean;
1318
+ /** 被包裹的按钮 */
1319
+ children?: ReactNode;
1320
+ className?: string;
1321
+ style?: CSSProperties;
1322
+ }
1323
+ /**
1324
+ * 用量色阶。
1325
+ * - normal: 正常
1326
+ * - warning: 已用 85% 以上
1327
+ * - exhausted: 已用满
1328
+ */
1329
+ type SidebarUsageTone = "normal" | "warning" | "exhausted";
1330
+ interface SidebarUsageBarProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
1331
+ /** 已用量 */
1332
+ used: number;
1333
+ /** 总量。为 0 或负数时视为无额度,进度为 0 */
1334
+ total: number;
1335
+ /**
1336
+ * 数字格式化。千分位与小数位依赖语言环境,
1337
+ * 组件库不持有 locale,故由消费方注入
1338
+ */
1339
+ formatNumber?: (n: number) => string;
1340
+ /** 总量后缀,如「(60%)」 */
1341
+ percentSuffix?: ReactNode;
1342
+ /** 剩余量前缀,如「剩余 」 */
1343
+ remainingPrefix?: ReactNode;
1344
+ /** 进度条无障碍标签 */
1345
+ ariaLabel?: string;
1346
+ className?: string;
1347
+ style?: CSSProperties;
1348
+ }
1349
+ interface SidebarUsagePanelProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
1350
+ /** 面板标题 */
1351
+ title?: ReactNode;
1352
+ /** 加载态,展示骨架屏 */
1353
+ loading?: boolean;
1354
+ /** 各额度分区 */
1355
+ children?: ReactNode;
1356
+ className?: string;
1357
+ style?: CSSProperties;
1358
+ }
1359
+ interface SidebarUsagePanelSectionProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
1360
+ /** 分区标题 */
1361
+ title: ReactNode;
1362
+ /** 标题行右侧附加信息,如到期日 */
1363
+ extra?: ReactNode;
1364
+ /** 分区内容,通常是一个 UsageBar */
1365
+ children?: ReactNode;
1366
+ className?: string;
1367
+ style?: CSSProperties;
1368
+ }
1369
+
1370
+ /**
1371
+ * Sidebar.Root — 侧边栏根容器
1372
+ *
1373
+ * 两种结构由 collapsed 是否传入决定:
1374
+ * - 传入时启用双层(外层收缩宽度 + 内层 absolute 保持内容宽度),
1375
+ * 否则内容会随宽度收缩被挤压变形
1376
+ * - 不传时单层,宽度恒定
1377
+ *
1378
+ * 同时提供 lg-sidebar__scroll / lg-sidebar__sticky 两个作用域类,
1379
+ * 供内部滚动容器与吸顶元素复用,避免消费方各自实现遮罩与吸顶补偿。
1380
+ */
1381
+ declare const SidebarRoot: React__default.ForwardRefExoticComponent<SidebarRootProps & React__default.RefAttributes<HTMLDivElement>>;
1382
+
1383
+ /**
1384
+ * Sidebar.Header — 侧边栏顶部区域
1385
+ *
1386
+ * 纯插槽容器。平台相关处理(如桌面端的窗口拖拽区、系统按钮避让)
1387
+ * 由消费方通过 children 与 style 注入,组件本身不做平台判断。
1388
+ */
1389
+ declare const SidebarHeader: React__default.ForwardRefExoticComponent<SidebarHeaderProps & React__default.RefAttributes<HTMLDivElement>>;
1390
+
1391
+ /**
1392
+ * Sidebar.TabBar — 侧边栏顶部分段页签
1393
+ *
1394
+ * 滑块位置通过测量选中项相对容器的偏移得出,而非按等分计算,
1395
+ * 因为各页签宽度随文案长度变化(且可动态增减)。
1396
+ *
1397
+ * 页签显隐过滤(如权限控制)由消费方在传入 items 前完成,组件不介入。
1398
+ */
1399
+ declare const SidebarTabBar: React__default.ForwardRefExoticComponent<SidebarTabBarProps & React__default.RefAttributes<HTMLDivElement>>;
1400
+
1401
+ /**
1402
+ * Sidebar.NavItem — 单层导航项
1403
+ *
1404
+ * 侧边栏宽度固定且较窄,长文案会被截断,故内置溢出提示,
1405
+ * 消费方无需为每个导航项再包一层 Tooltip。
1406
+ */
1407
+ declare const SidebarNavItem: React__default.ForwardRefExoticComponent<SidebarNavItemProps & React__default.RefAttributes<HTMLButtonElement>>;
1408
+
1409
+ /**
1410
+ * Sidebar.CollapsibleNavItem — 可折叠导航分组
1411
+ *
1412
+ * 交互分两种模式:
1413
+ * - 传 onLabelClick:标签区与箭头区分离命中。分组本身可跳转时,
1414
+ * 点标签导航、点箭头才展开,避免「想跳转却只展开了」
1415
+ * - 不传:整个头部点击都切换展开
1416
+ */
1417
+ declare const SidebarCollapsibleNavItem: React__default.ForwardRefExoticComponent<SidebarCollapsibleNavItemProps & React__default.RefAttributes<HTMLDivElement>>;
1418
+
1419
+ /**
1420
+ * Sidebar.GroupHeader — 列表分组头部
1421
+ *
1422
+ * 两种形态:纯标签(不可折叠)与可折叠标题。
1423
+ * 折叠箭头默认隐藏、悬停显现,避免静态时视觉噪音过多。
1424
+ */
1425
+ declare const SidebarGroupHeader: React__default.ForwardRefExoticComponent<SidebarGroupHeaderProps & React__default.RefAttributes<HTMLDivElement>>;
1426
+
1427
+ /**
1428
+ * Sidebar.ListItem — 列表行
1429
+ *
1430
+ * 菜单以插槽传入而非内置菜单项数据:各业务的操作集合差异较大,
1431
+ * 内置会让组件被业务概念污染。
1432
+ *
1433
+ * 结构上标题是 button、菜单是同级节点,而非菜单嵌在标题内 ——
1434
+ * HTML 不允许 button 嵌套可交互元素。
1435
+ */
1436
+ declare const SidebarListItem: React__default.ForwardRefExoticComponent<SidebarListItemProps & React__default.RefAttributes<HTMLDivElement>>;
1437
+
1438
+ /**
1439
+ * Sidebar.CollapsibleListItem — 可折叠列表行
1440
+ *
1441
+ * 与 CollapsibleNavItem 的区别:子项结构不固定,展开区完全由消费方渲染,
1442
+ * 且操作区悬停才显现(列表项数量多,常显会过于嘈杂)。
1443
+ *
1444
+ * actionsVisible 用于菜单打开期间强制显示操作区 —— 指针移到浮层上后
1445
+ * 头部已失去 hover,若不锁定会导致按钮消失、菜单悬空。
1446
+ */
1447
+ declare const SidebarCollapsibleListItem: React__default.ForwardRefExoticComponent<SidebarCollapsibleListItemProps & React__default.RefAttributes<HTMLDivElement>>;
1448
+
1449
+ /**
1450
+ * Sidebar.Footer — 底部用户信息条
1451
+ *
1452
+ * 只收敛「头像 + 名称 + 后缀徽标 + 展开箭头 + 动作区」骨架,
1453
+ * 用户菜单与动作按钮均以插槽传入 —— 各业务的菜单项集合差异极大。
1454
+ *
1455
+ * onTriggerClick 回传 DOMRect:部分消费方的浮层需要手动定位,
1456
+ * 只给事件对象不足以定位。
1457
+ */
1458
+ declare const SidebarFooter: React__default.ForwardRefExoticComponent<SidebarFooterProps & React__default.RefAttributes<HTMLDivElement>>;
1459
+
1460
+ /**
1461
+ * Sidebar.FooterMenuStaticRow — 底栏菜单中的静态信息行
1462
+ *
1463
+ * 与 DropdownItem 尺寸一致但不可点击,用于「当前租户」这类只读信息 ——
1464
+ * 同一位置在可切换时渲染为二级菜单、不可切换时渲染为此行,
1465
+ * 两种形态必须等高等距,否则菜单会在两种状态间跳动。
1466
+ */
1467
+ declare const SidebarFooterMenuStaticRow: React__default.ForwardRefExoticComponent<SidebarFooterMenuStaticRowProps & React__default.RefAttributes<HTMLDivElement>>;
1468
+
1469
+ /**
1470
+ * Sidebar.FooterBadge — 底栏动作按钮的未读角标
1471
+ *
1472
+ * 包裹按钮而非改按钮自身:角标绝对定位不占位,
1473
+ * 否则会撑开按钮尺寸导致底栏其余元素位移。
1474
+ */
1475
+ declare const SidebarFooterBadge: React__default.ForwardRefExoticComponent<SidebarFooterBadgeProps & React__default.RefAttributes<HTMLSpanElement>>;
1476
+
1477
+ /**
1478
+ * Sidebar.UsageBar — 分段式用量条
1479
+ *
1480
+ * 用离散色块而非连续条:额度类数据的观感需要「格子」的计量意味,
1481
+ * 连续进度条更像任务进度。
1482
+ *
1483
+ * 数字格式化交由消费方通过 formatNumber 注入 —— 千分位与小数位
1484
+ * 依赖当前语言环境,组件库不持有 locale。
1485
+ */
1486
+ declare const SidebarUsageBar: React__default.ForwardRefExoticComponent<SidebarUsageBarProps & React__default.RefAttributes<HTMLDivElement>>;
1031
1487
 
1032
1488
  /**
1033
- * Empty 空状态组件
1034
- * 支持 lg / md / sm 三种尺寸,覆盖搜索无结果、加载中、加载失败等场景
1489
+ * Sidebar.UsagePanel — 用量面板
1035
1490
  *
1036
- * icon 支持三种传法:
1037
- * 1. 传 lingee-icon 组件(如 Search)→ 自动注入 size + fill 渐变
1038
- * 2. 传 ReactNode → 完全自定义渲染(加载中旋转等行为随图标一起传入自行处理)
1039
- * 3. 不传 → 使用默认图标(带渐变)
1491
+ * 用于底栏菜单的二级浮层(如「点数用量」)。只负责骨架与加载骨架屏,
1492
+ * 各额度分区由消费方以 UsagePanel.Section + UsageBar 组合。
1493
+ *
1494
+ * 作为 DropdownSubContent 的内容使用时,需消掉外层浮层自带的
1495
+ * 边框与阴影,避免双层描边(见 README)。
1496
+ */
1497
+ declare const SidebarUsagePanel: React__default.ForwardRefExoticComponent<SidebarUsagePanelProps & React__default.RefAttributes<HTMLDivElement>>;
1498
+ /**
1499
+ * Sidebar.UsagePanelSection — 用量面板中的一个额度分区
1500
+ *
1501
+ * 标题行左侧为分区名、右侧为附加信息(如到期日),下方放 UsageBar。
1040
1502
  */
1041
- declare const Empty: React$1.ForwardRefExoticComponent<EmptyProps & React$1.RefAttributes<HTMLDivElement>>;
1503
+ declare const SidebarUsagePanelSection: React__default.ForwardRefExoticComponent<SidebarUsagePanelSectionProps & React__default.RefAttributes<HTMLDivElement>>;
1504
+
1505
+ /**
1506
+ * Sidebar 侧边栏
1507
+ *
1508
+ * 组合示例:
1509
+ * ```tsx
1510
+ * <Sidebar.Root collapsed={collapsed}>
1511
+ * <Sidebar.Header>{logo}</Sidebar.Header>
1512
+ * <Sidebar.TabBar items={tabs} activeKey={tab} onChange={setTab} />
1513
+ * <ScrollArea className="lg-sidebar__scroll">
1514
+ * <Sidebar.NavItem icon={<NewChat />} label="新任务" active />
1515
+ * <Sidebar.CollapsibleNavItem label="分组" items={items} />
1516
+ * <Sidebar.GroupHeader title="置顶" collapsible expanded onToggle={fn} />
1517
+ * <Sidebar.ListItem title="会话" indicator="running" menu={<Dropdown />} />
1518
+ * <Empty.Card status="empty" description="暂无内容" />
1519
+ * </ScrollArea>
1520
+ * <Sidebar.Footer avatar={avatar} name="用户" actions={actions} />
1521
+ * </Sidebar.Root>
1522
+ * ```
1523
+ */
1524
+ declare const Sidebar: {
1525
+ Root: React$1.ForwardRefExoticComponent<SidebarRootProps & React$1.RefAttributes<HTMLDivElement>>;
1526
+ Header: React$1.ForwardRefExoticComponent<SidebarHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
1527
+ TabBar: React$1.ForwardRefExoticComponent<SidebarTabBarProps & React$1.RefAttributes<HTMLDivElement>>;
1528
+ NavItem: React$1.ForwardRefExoticComponent<SidebarNavItemProps & React$1.RefAttributes<HTMLButtonElement>>;
1529
+ CollapsibleNavItem: React$1.ForwardRefExoticComponent<SidebarCollapsibleNavItemProps & React$1.RefAttributes<HTMLDivElement>>;
1530
+ GroupHeader: React$1.ForwardRefExoticComponent<SidebarGroupHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
1531
+ ListItem: React$1.ForwardRefExoticComponent<SidebarListItemProps & React$1.RefAttributes<HTMLDivElement>>;
1532
+ CollapsibleListItem: React$1.ForwardRefExoticComponent<SidebarCollapsibleListItemProps & React$1.RefAttributes<HTMLDivElement>>;
1533
+ Footer: React$1.ForwardRefExoticComponent<SidebarFooterProps & React$1.RefAttributes<HTMLDivElement>>;
1534
+ FooterMenuStaticRow: React$1.ForwardRefExoticComponent<SidebarFooterMenuStaticRowProps & React$1.RefAttributes<HTMLDivElement>>;
1535
+ FooterBadge: React$1.ForwardRefExoticComponent<SidebarFooterBadgeProps & React$1.RefAttributes<HTMLSpanElement>>;
1536
+ UsageBar: React$1.ForwardRefExoticComponent<SidebarUsageBarProps & React$1.RefAttributes<HTMLDivElement>>;
1537
+ UsagePanel: React$1.ForwardRefExoticComponent<SidebarUsagePanelProps & React$1.RefAttributes<HTMLDivElement>>;
1538
+ UsagePanelSection: React$1.ForwardRefExoticComponent<SidebarUsagePanelSectionProps & React$1.RefAttributes<HTMLDivElement>>;
1539
+ };
1042
1540
 
1043
1541
  /** 主轴方向类型 */
1044
1542
  type FlexOrientation = "horizontal" | "vertical";
@@ -1067,7 +1565,7 @@ interface FlexProps extends HTMLAttributes<HTMLElement> {
1067
1565
  * Flex 弹性布局组件
1068
1566
  * 默认水平方向、主轴起点对齐;可通过属性调整方向、对齐、换行与间隙
1069
1567
  */
1070
- declare const Flex: React$1.ForwardRefExoticComponent<FlexProps & React$1.RefAttributes<HTMLElement>>;
1568
+ declare const Flex: React__default.ForwardRefExoticComponent<FlexProps & React__default.RefAttributes<HTMLElement>>;
1071
1569
 
1072
1570
  /** Alert 类型 */
1073
1571
  type AlertType = "info" | "success" | "warning" | "error" | "default";
@@ -1096,7 +1594,7 @@ interface AlertProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
1096
1594
  * Alert 消息提示组件
1097
1595
  * 用于页面中展示重要的提示信息,支持多种类型和布局变体
1098
1596
  */
1099
- declare const Alert: React$1.ForwardRefExoticComponent<AlertProps & React$1.RefAttributes<HTMLDivElement>>;
1597
+ declare const Alert: React__default.ForwardRefExoticComponent<AlertProps & React__default.RefAttributes<HTMLDivElement>>;
1100
1598
 
1101
1599
  /** 骨架屏形状预设 */
1102
1600
  type SkeletonVariant = "text" | "circle" | "rect";
@@ -1122,50 +1620,7 @@ interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {
1122
1620
  * 在数据加载完成前,通过占位图形展示简单的页面布局。
1123
1621
  * 支持条形(text)、圆形(circle)、方形(rect)三种预设形状,以及 shimmer/pulse 两种动画。
1124
1622
  */
1125
- declare const Skeleton: React$1.ForwardRefExoticComponent<SkeletonProps & React$1.RefAttributes<HTMLDivElement>>;
1126
-
1127
- /** 面包屑尺寸:md=常规(16px/斜杠分隔),sm=小型(13px/尖括号分隔) */
1128
- type BreadcrumbSize = "sm" | "md";
1129
- /** 单个路径项 */
1130
- interface BreadcrumbItem {
1131
- /** 唯一标识(用于 React key,缺省时回退到下标) */
1132
- key?: string | number;
1133
- /** 文字内容 */
1134
- label?: ReactNode;
1135
- /** 链接地址,存在时渲染为 <a> */
1136
- href?: string;
1137
- /** 点击回调(非当前页时可点击;折叠进下拉时同样触发) */
1138
- onClick?: (event?: MouseEvent<HTMLElement>) => void;
1139
- /** 前置图标(如根节点的 House 图标);须传入 lingee-icon 组件 */
1140
- icon?: ReactNode;
1141
- /** 是否禁用(不可点击、置灰) */
1142
- disabled?: boolean;
1143
- }
1144
- interface BreadcrumbProps extends Omit<HTMLAttributes<HTMLElement>, "onClick"> {
1145
- /** 路径项列表 */
1146
- items: BreadcrumbItem[];
1147
- /** 尺寸,默认 "md"(常规)。md=16px+斜杠,sm=13px+尖括号 */
1148
- size?: BreadcrumbSize;
1149
- /** 自定义分隔符,默认按 size:md→"/"(SlashLg),sm→">"(ChevronRight) */
1150
- separator?: ReactNode;
1151
- /** 超过该数量时折叠中间项为 "…" 下拉;0 表示不折叠(默认 0) */
1152
- maxItems?: number;
1153
- /** 折叠时保留的头部项数,默认 1 */
1154
- itemsBeforeCollapse?: number;
1155
- /** 折叠时保留的尾部项数,默认 1 */
1156
- itemsAfterCollapse?: number;
1157
- /** 返回操作;传入后在最前面渲染返回箭头(页面级面包屑用) */
1158
- onBack?: (event?: MouseEvent<HTMLElement>) => void;
1159
- /** 单个链接项最大宽度(px),超出显示省略号;不传则不限制 */
1160
- itemMaxWidth?: number;
1161
- }
1162
-
1163
- /**
1164
- * Breadcrumb 面包屑组件
1165
- * 展示当前页面在系统层级中的位置,支持常规/小型两种尺寸、
1166
- * 前置返回/首页图标、中间层级折叠下拉、超长省略等
1167
- */
1168
- declare const Breadcrumb: React$1.ForwardRefExoticComponent<BreadcrumbProps & React$1.RefAttributes<HTMLElement>>;
1623
+ declare const Skeleton: React__default.ForwardRefExoticComponent<SkeletonProps & React__default.RefAttributes<HTMLDivElement>>;
1169
1624
 
1170
1625
  /**
1171
1626
  * 表格尺寸变体
@@ -1278,8 +1733,8 @@ interface TableProps<RecordType = any> {
1278
1733
  }
1279
1734
 
1280
1735
  declare const Table: <RecordType = any>(props: TableProps<RecordType> & {
1281
- ref?: React$1.Ref<HTMLDivElement>;
1282
- }) => React$1.ReactElement | null;
1736
+ ref?: React__default.Ref<HTMLDivElement>;
1737
+ }) => React__default.ReactElement | null;
1283
1738
 
1284
1739
  /** 预览变换状态 */
1285
1740
  type TransformType = {
@@ -1302,7 +1757,7 @@ interface ImgInfo {
1302
1757
  /** cover 配置(图片上的 hover 蒙层) */
1303
1758
  interface CoverConfig {
1304
1759
  /** 自定义蒙层内容 */
1305
- coverNode?: React$1.ReactNode;
1760
+ coverNode?: React__default.ReactNode;
1306
1761
  /** 蒙层位置 */
1307
1762
  placement?: "top" | "bottom" | "center";
1308
1763
  }
@@ -1315,17 +1770,17 @@ interface PreviewType {
1315
1770
  /** 打开/关闭回调 */
1316
1771
  onOpenChange?: (open: boolean) => void;
1317
1772
  /** 图片上的 hover 蒙层;false 禁用,ReactNode 自定义内容,CoverConfig 对象配置 */
1318
- cover?: false | React$1.ReactNode | CoverConfig;
1773
+ cover?: false | React__default.ReactNode | CoverConfig;
1319
1774
  /** 自定义预览内容 */
1320
- imageRender?: (originalNode: React$1.ReactElement, info: {
1775
+ imageRender?: (originalNode: React__default.ReactElement, info: {
1321
1776
  transform: TransformType;
1322
1777
  image: ImgInfo;
1323
- }) => React$1.ReactNode;
1778
+ }) => React__default.ReactNode;
1324
1779
  /** 自定义工具栏渲染 */
1325
- actionsRender?: (originalNode: React$1.ReactElement, info: {
1780
+ actionsRender?: (originalNode: React__default.ReactElement, info: {
1326
1781
  transform: TransformType;
1327
1782
  actions: Record<string, () => void>;
1328
- }) => React$1.ReactNode;
1783
+ }) => React__default.ReactNode;
1329
1784
  /** 最小缩放 */
1330
1785
  minScale?: number;
1331
1786
  /** 最大缩放 */
@@ -1344,10 +1799,10 @@ interface PreviewType {
1344
1799
  action: TransformAction;
1345
1800
  }) => void;
1346
1801
  /** 自定义关闭图标 */
1347
- closeIcon?: React$1.ReactNode;
1802
+ closeIcon?: React__default.ReactNode;
1348
1803
  }
1349
1804
  /** Image 组件 Props — 对齐 antd 6 Image API */
1350
- interface ImageProps extends Omit<React$1.ImgHTMLAttributes<HTMLImageElement>, "placeholder" | "onClick" | "onKeyDown"> {
1805
+ interface ImageProps extends Omit<React__default.ImgHTMLAttributes<HTMLImageElement>, "placeholder" | "onClick" | "onKeyDown"> {
1351
1806
  /** 图片地址 */
1352
1807
  src?: string;
1353
1808
  /** 加载失败容错地址 */
@@ -1359,7 +1814,7 @@ interface ImageProps extends Omit<React$1.ImgHTMLAttributes<HTMLImageElement>, "
1359
1814
  * - { progress: true }:圆形不确定进度(旋转动画)
1360
1815
  * - { progress: { percent: number } }:圆形确定进度
1361
1816
  */
1362
- placeholder?: boolean | React$1.ReactNode | {
1817
+ placeholder?: boolean | React__default.ReactNode | {
1363
1818
  progress: true | {
1364
1819
  percent: number;
1365
1820
  };
@@ -1369,11 +1824,11 @@ interface ImageProps extends Omit<React$1.ImgHTMLAttributes<HTMLImageElement>, "
1369
1824
  /** 自定义根类名 */
1370
1825
  className?: string;
1371
1826
  /** 自定义根样式 */
1372
- style?: React$1.CSSProperties;
1827
+ style?: React__default.CSSProperties;
1373
1828
  /** 点击回调 */
1374
- onClick?: (e: React$1.MouseEvent<HTMLDivElement>) => void;
1829
+ onClick?: (e: React__default.MouseEvent<HTMLDivElement>) => void;
1375
1830
  /** 加载失败回调 */
1376
- onError?: (e: React$1.SyntheticEvent<HTMLImageElement, Event>) => void;
1831
+ onError?: (e: React__default.SyntheticEvent<HTMLImageElement, Event>) => void;
1377
1832
  }
1378
1833
  /** PreviewGroup 预览配置 */
1379
1834
  interface PreviewGroupType extends Omit<PreviewType, "cover"> {
@@ -1382,7 +1837,7 @@ interface PreviewGroupType extends Omit<PreviewType, "cover"> {
1382
1837
  /** 切换回调 */
1383
1838
  onChange?: (current: number, prevCurrent: number) => void;
1384
1839
  /** 计数自定义渲染 */
1385
- countRender?: (current: number, total: number) => React$1.ReactNode;
1840
+ countRender?: (current: number, total: number) => React__default.ReactNode;
1386
1841
  }
1387
1842
  /** Image.PreviewGroup Props */
1388
1843
  interface ImagePreviewGroupProps {
@@ -1394,7 +1849,7 @@ interface ImagePreviewGroupProps {
1394
1849
  /** 预览配置 */
1395
1850
  preview?: boolean | PreviewGroupType;
1396
1851
  /** 子元素 */
1397
- children?: React$1.ReactNode;
1852
+ children?: React__default.ReactNode;
1398
1853
  }
1399
1854
 
1400
1855
  /**
@@ -1410,9 +1865,9 @@ interface ImagePreviewGroupProps {
1410
1865
  */
1411
1866
 
1412
1867
  /** 多图预览分组 */
1413
- declare const PreviewGroup: React$1.FC<ImagePreviewGroupProps>;
1868
+ declare const PreviewGroup: React__default.FC<ImagePreviewGroupProps>;
1414
1869
  /** Image 图片组件 */
1415
- declare const Image: React$1.FC<ImageProps> & {
1870
+ declare const Image: React__default.FC<ImageProps> & {
1416
1871
  PreviewGroup: typeof PreviewGroup;
1417
1872
  };
1418
1873
 
@@ -1451,7 +1906,7 @@ interface ColorPickerProps {
1451
1906
  * 触发器参考 Input 组件外观,内容展示颜色值,右侧显示色块预览
1452
1907
  * 面板使用 @rc-component/color-picker 提供完整的颜色选取交互
1453
1908
  */
1454
- declare const ColorPicker: React$1.ForwardRefExoticComponent<ColorPickerProps & React$1.RefAttributes<HTMLDivElement>>;
1909
+ declare const ColorPicker: React__default.ForwardRefExoticComponent<ColorPickerProps & React__default.RefAttributes<HTMLDivElement>>;
1455
1910
 
1456
1911
  type ProgressStatus = "normal" | "success" | "error" | "active";
1457
1912
  type ProgressType = "line" | "circle";
@@ -1473,11 +1928,11 @@ interface ProgressProps {
1473
1928
  /** 是否显示百分比文字/状态图标 */
1474
1929
  showInfo?: boolean;
1475
1930
  /** 自定义格式化显示内容 */
1476
- format?: (percent: number) => React$1.ReactNode;
1931
+ format?: (percent: number) => React__default.ReactNode;
1477
1932
  /** 自定义根类名 */
1478
1933
  className?: string;
1479
1934
  /** 自定义根样式 */
1480
- style?: React$1.CSSProperties;
1935
+ style?: React__default.CSSProperties;
1481
1936
  }
1482
1937
 
1483
1938
  /**
@@ -1487,7 +1942,7 @@ interface ProgressProps {
1487
1942
  * percent 不传或为 -1 时为不确定进度(旋转/滑动动画)。
1488
1943
  */
1489
1944
 
1490
- declare const Progress: React$1.FC<ProgressProps>;
1945
+ declare const Progress: React__default.FC<ProgressProps>;
1491
1946
 
1492
1947
  type DrawerPlacement = "left" | "right" | "top" | "bottom";
1493
1948
  interface DrawerProps {
@@ -1527,7 +1982,7 @@ interface DrawerProps {
1527
1982
  * Drawer 抽屉组件
1528
1983
  * 基于 @radix-ui/react-dialog,从屏幕边缘滑入的面板
1529
1984
  */
1530
- declare const Drawer: React$1.FC<DrawerProps>;
1985
+ declare const Drawer: React__default.FC<DrawerProps>;
1531
1986
 
1532
1987
  type SliderSize = "sm" | "md" | "lg";
1533
1988
  interface SliderProps {
@@ -1565,7 +2020,7 @@ interface SliderProps {
1565
2020
  * Slider 滑块组件
1566
2021
  * 基于 @radix-ui/react-slider,支持单值/range、tooltip、键盘操作
1567
2022
  */
1568
- declare const Slider: React$1.ForwardRefExoticComponent<SliderProps & React$1.RefAttributes<HTMLSpanElement>>;
2023
+ declare const Slider: React__default.ForwardRefExoticComponent<SliderProps & React__default.RefAttributes<HTMLSpanElement>>;
1569
2024
 
1570
2025
  type StepStatus = "wait" | "process" | "finish" | "error";
1571
2026
  type StepsSize = "default" | "small";
@@ -1607,7 +2062,7 @@ interface StepsProps {
1607
2062
  * Steps 步骤条组件
1608
2063
  * 纯自研,支持页面级/次级变体,四种状态,标题纵/横排列
1609
2064
  */
1610
- declare const Steps: React$1.FC<StepsProps>;
2065
+ declare const Steps: React__default.FC<StepsProps>;
1611
2066
 
1612
2067
  type FormLayout = "horizontal" | "vertical" | "inline";
1613
2068
  type FormInstance = FormInstance$1;
@@ -1679,7 +2134,7 @@ interface FormItemProps {
1679
2134
  * Form 表单组件
1680
2135
  * 基于 rc-field-form,提供布局和校验能力
1681
2136
  */
1682
- declare const InternalForm: React$1.FC<FormProps>;
2137
+ declare const InternalForm: React__default.FC<FormProps>;
1683
2138
  /** useForm — 创建表单实例 */
1684
2139
  declare function useForm(): [FormInstance];
1685
2140
 
@@ -1687,7 +2142,7 @@ declare function useForm(): [FormInstance];
1687
2142
  * Form.Item 表单项组件
1688
2143
  * 处理 label 布局、校验规则、错误信息展示
1689
2144
  */
1690
- declare const FormItem: React$1.FC<FormItemProps>;
2145
+ declare const FormItem: React__default.FC<FormItemProps>;
1691
2146
 
1692
2147
  type FormType = typeof InternalForm & {
1693
2148
  Item: typeof FormItem;
@@ -1730,12 +2185,12 @@ interface AvatarGroupProps {
1730
2185
  * Avatar 头像组件
1731
2186
  * 支持图片、文字、图标三种展示形态
1732
2187
  */
1733
- declare const Avatar: React$1.ForwardRefExoticComponent<AvatarProps & React$1.RefAttributes<HTMLSpanElement>>;
2188
+ declare const Avatar: React__default.ForwardRefExoticComponent<AvatarProps & React__default.RefAttributes<HTMLSpanElement>>;
1734
2189
  /**
1735
2190
  * Avatar.Group 头像集群
1736
2191
  * 最多显示 max 个头像,超出显示 +N
1737
2192
  */
1738
- declare const AvatarGroup: React$1.FC<AvatarGroupProps>;
2193
+ declare const AvatarGroup: React__default.FC<AvatarGroupProps>;
1739
2194
  type AvatarType = typeof Avatar & {
1740
2195
  Group: typeof AvatarGroup;
1741
2196
  };
@@ -1807,8 +2262,30 @@ interface UploadProps {
1807
2262
  fileList?: UploadFile[];
1808
2263
  /** 非受控默认文件列表 */
1809
2264
  defaultFileList?: UploadFile[];
1810
- /** 自定义上传实现(必传,组件不内置上传逻辑) */
1811
- customRequest: (options: CustomRequestOptions) => CustomRequestReturn | void;
2265
+ /**
2266
+ * 自定义上传实现,组件不内置上传逻辑。传入即「选中后立即上传」。
2267
+ *
2268
+ * 省略则为「仅收集」模式:不发起任何请求,文件入列后直接置为 `done`,
2269
+ * 用于随表单一次性提交的场景 —— 文件先攒在 `fileList` 里,
2270
+ * 由消费方在提交时自行携带。
2271
+ */
2272
+ customRequest?: (options: CustomRequestOptions) => CustomRequestReturn | void;
2273
+ /**
2274
+ * 粘贴上传。开启后监听容器内的 paste 事件,
2275
+ * 取剪贴板中的文件(如截图)走同一套校验与收集流程。
2276
+ *
2277
+ * 默认 false。
2278
+ */
2279
+ pasteable?: boolean;
2280
+ /**
2281
+ * 按 `accept` 校验文件类型,不通过时以 `type` 原因触发 `onReject`。
2282
+ *
2283
+ * 原生 input 的 accept 只约束选择器,拖拽与粘贴可绕过它,
2284
+ * 需要拦住这两条路径时开启。
2285
+ *
2286
+ * 默认 false,保持原有不校验类型的行为不变。
2287
+ */
2288
+ validateAccept?: boolean;
1812
2289
  /** 文件列表变更回调 */
1813
2290
  onChange?: (fileList: UploadFile[]) => void;
1814
2291
  /** 文件校验拒绝回调 */
@@ -1831,7 +2308,7 @@ interface UploadProps {
1831
2308
  * Upload 上传组件
1832
2309
  * 支持点击选择和拖拽上传两种模式,文件校验、进度展示、文件列表管理
1833
2310
  */
1834
- declare const Upload: React$1.ForwardRefExoticComponent<UploadProps & React$1.RefAttributes<HTMLDivElement>>;
2311
+ declare const Upload: React__default.ForwardRefExoticComponent<UploadProps & React__default.RefAttributes<HTMLDivElement>>;
1835
2312
 
1836
2313
  interface ScrollAreaProps {
1837
2314
  /** 子内容 */
@@ -1887,13 +2364,13 @@ interface ScrollBarProps {
1887
2364
  * </ScrollArea>
1888
2365
  * ```
1889
2366
  */
1890
- declare const ScrollArea: React$1.ForwardRefExoticComponent<ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>>;
2367
+ declare const ScrollArea: React__default.ForwardRefExoticComponent<ScrollAreaProps & React__default.RefAttributes<HTMLDivElement>>;
1891
2368
  /**
1892
2369
  * ScrollBar 滚动条子组件
1893
2370
  *
1894
2371
  * 通常由 ScrollArea 内部自动渲染,也可单独使用以获得更精细的控制。
1895
2372
  */
1896
- declare const ScrollBar: React$1.ForwardRefExoticComponent<ScrollBarProps & React$1.RefAttributes<HTMLDivElement>>;
2373
+ declare const ScrollBar: React__default.ForwardRefExoticComponent<ScrollBarProps & React__default.RefAttributes<HTMLDivElement>>;
1897
2374
 
1898
2375
  /**
1899
2376
  * 合并 CSS 类名,支持条件拼接
@@ -1902,4 +2379,4 @@ declare const ScrollBar: React$1.ForwardRefExoticComponent<ScrollBarProps & Reac
1902
2379
  */
1903
2380
  declare function cn(...inputs: ClassValue[]): string;
1904
2381
 
1905
- export { Alert, type AlertProps, type AlertType, AvatarWithGroup as Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, type BreadcrumbSize, ButtonProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, ColorPicker, type ColorPickerProps, type ColorPickerSize, type CoverConfig, type CustomRequestOptions, type CustomRequestReturn, DatePicker, type DatePickerProps, type DatePickerSize, type DateRange, Dialog, type DialogConfirmOptions, type DialogProps, Divider, type DividerOrientation, type DividerProps, type DividerVariant, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, DropdownButton, type DropdownButtonProps, DropdownCheckboxItem, type DropdownCheckboxItemProps, DropdownContent, type DropdownContentProps, DropdownGroup, type DropdownGroupProps, DropdownItem, type DropdownItemData, type DropdownItemProps, DropdownLabel, type DropdownLabelData, type DropdownLabelProps, type DropdownMenuItemData, type DropdownProps, DropdownRadioGroup, type DropdownRadioGroupProps, DropdownRadioItem, type DropdownRadioItemProps, DropdownSeparator, type DropdownSeparatorData, type DropdownSeparatorProps, DropdownSub, DropdownSubContent, type DropdownSubContentProps, type DropdownSubProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, Empty, type EmptyIconComponent, type EmptyProps, type EmptySize, type FileItemActions, Flex, type FlexGapSize, type FlexOrientation, type FlexProps, Form, type FormInstance, type FormItemProps, type FormLayout, type FormProps, Image, type ImagePreviewGroupProps, type ImageProps, type ImgInfo, LgSize, LingeeProvider, type LingeeProviderProps, type Locale, Pagination, type PaginationProps, type PaginationVariant, PopoverContentProps, type PreviewGroupType, type PreviewType, Progress, type ProgressProps, type ProgressStatus, type ProgressType, RadioGroup, type RadioGroupProps, RadioItem, type RadioItemProps, type RadioSize, RangePicker, type RangePickerProps, type RangePickerSize, type RejectReason, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps, Select, type SelectDropdownProps, type SelectMode, type SelectOption, type SelectOptionGroup, type SelectProps, type SelectSize, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonVariant, Slider, type SliderProps, type SliderSize, Spin, type SpinProps, type SpinSize, type StepItem, type StepStatus, Steps, type StepsProps, type StepsSize, type StepsTitlePlacement, Table, type TableColumnType, type TableProps, type TableRowSelection, type TableSize, type TableSorterState, Tag, type TagPresetColor, type TagProps, type TagShape, type TagSize, TimePicker, type TimePickerProps, type TimePickerSize, type TimeValue, type TransformAction, type TransformType, Upload, type UploadFile, type UploadFileStatus, type UploadProps, cn, enUS, useComponentLocale, useLocale, zhCN };
2382
+ export { Alert, type AlertProps, type AlertType, AvatarWithGroup as Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, ButtonProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, ColorPicker, type ColorPickerProps, type ColorPickerSize, type CoverConfig, type CustomRequestOptions, type CustomRequestReturn, DatePicker, type DatePickerProps, type DatePickerSize, type DateRange, Dialog, type DialogConfirmOptions, type DialogProps, Divider, type DividerOrientation, type DividerProps, type DividerVariant, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, DropdownButton, type DropdownButtonProps, DropdownCheckboxItem, type DropdownCheckboxItemProps, DropdownContent, type DropdownContentProps, DropdownGroup, type DropdownGroupProps, DropdownItem, type DropdownItemData, type DropdownItemProps, DropdownLabel, type DropdownLabelData, type DropdownLabelProps, type DropdownMenuItemData, type DropdownProps, DropdownRadioGroup, type DropdownRadioGroupProps, DropdownRadioItem, type DropdownRadioItemProps, DropdownSeparator, type DropdownSeparatorData, type DropdownSeparatorProps, DropdownSub, DropdownSubContent, type DropdownSubContentProps, type DropdownSubProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, Empty, EmptyCard, type EmptyCardProps, type EmptyCardSpacing, type EmptyCardStatus, type EmptyCardVariant, type EmptyIconComponent, type EmptyProps, type EmptySize, type FileItemActions, Flex, type FlexGapSize, type FlexOrientation, type FlexProps, Form, type FormInstance, type FormItemProps, type FormLayout, type FormProps, Image, type ImagePreviewGroupProps, type ImageProps, type ImgInfo, LgSize, LingeeProvider, type LingeeProviderProps, type Locale, Pagination, type PaginationProps, type PaginationVariant, PopoverContentProps, type PreviewGroupType, type PreviewType, Progress, type ProgressProps, type ProgressStatus, type ProgressType, RadioGroup, type RadioGroupProps, RadioItem, type RadioItemProps, type RadioSize, RangePicker, type RangePickerProps, type RangePickerSize, type RejectReason, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps, Select, type SelectDropdownProps, type SelectMode, type SelectOption, type SelectOptionGroup, type SelectProps, type SelectSize, Sidebar, type SidebarCaretPlacement, SidebarCollapsibleListItem, type SidebarCollapsibleListItemProps, SidebarCollapsibleNavItem, type SidebarCollapsibleNavItemChild, type SidebarCollapsibleNavItemProps, SidebarFooter, SidebarFooterBadge, type SidebarFooterBadgeProps, SidebarFooterMenuStaticRow, type SidebarFooterMenuStaticRowProps, type SidebarFooterProps, SidebarGroupHeader, type SidebarGroupHeaderProps, SidebarHeader, type SidebarHeaderProps, type SidebarIndicatorType, SidebarListItem, type SidebarListItemProps, SidebarNavItem, type SidebarNavItemProps, SidebarRoot, type SidebarRootProps, SidebarTabBar, type SidebarTabBarProps, type SidebarTabItem, SidebarUsageBar, type SidebarUsageBarProps, SidebarUsagePanel, type SidebarUsagePanelProps, SidebarUsagePanelSection, type SidebarUsagePanelSectionProps, type SidebarUsageTone, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonVariant, Slider, type SliderProps, type SliderSize, Spin, type SpinProps, type SpinSize, type StepItem, type StepStatus, Steps, type StepsProps, type StepsSize, type StepsTitlePlacement, Table, type TableColumnType, type TableProps, type TableRowSelection, type TableSize, type TableSorterState, Tag, type TagPresetColor, type TagProps, type TagShape, type TagSize, TimePicker, type TimePickerProps, type TimePickerSize, type TimeValue, type TransformAction, type TransformType, Upload, type UploadFile, type UploadFileStatus, type UploadProps, cn, enUS, useComponentLocale, useLocale, zhCN };