lingee-ui 0.0.15 → 0.0.17

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 (93) hide show
  1. package/README.md +2 -2
  2. package/dist/button/index.css +1 -1
  3. package/dist/button/index.d.mts +1 -1
  4. package/dist/button/index.d.ts +1 -1
  5. package/dist/button/index.js +1 -1
  6. package/dist/button/index.mjs +1 -1
  7. package/dist/{chunk-7I26V66U.js → chunk-3IO42CRF.js} +1 -1
  8. package/dist/chunk-3RAHZU2C.js +1 -0
  9. package/dist/{chunk-XWFDVFPJ.mjs → chunk-4OLAOR2B.mjs} +1 -1
  10. package/dist/{chunk-P36XWLE4.js → chunk-CW6SU5IY.js} +1 -1
  11. package/dist/chunk-ES5A2ZO6.js +1 -0
  12. package/dist/{chunk-HOX3ZANF.mjs → chunk-H44VO62M.mjs} +1 -1
  13. package/dist/chunk-KSRZSPQR.js +1 -0
  14. package/dist/chunk-L6IXM6OV.mjs +2 -0
  15. package/dist/chunk-N5L3OI7Q.mjs +1 -0
  16. package/dist/{chunk-T4CPHENK.js → chunk-O6LSVS7F.js} +1 -1
  17. package/dist/chunk-QRQE2XPJ.js +2 -0
  18. package/dist/{chunk-YPES54ON.mjs → chunk-TL3WZ5RY.mjs} +1 -1
  19. package/dist/chunk-X2JJ6KOR.mjs +1 -0
  20. package/dist/chunk-XQRQYJIE.mjs +1 -0
  21. package/dist/{index-89atTLPD.d.mts → index-BVXwKHfX.d.mts} +3 -3
  22. package/dist/{index-89atTLPD.d.ts → index-BVXwKHfX.d.ts} +3 -3
  23. package/dist/index-CZhoE8dw.d.mts +36 -0
  24. package/dist/index-CZhoE8dw.d.ts +36 -0
  25. package/dist/index.css +1 -1
  26. package/dist/index.d.mts +114 -7
  27. package/dist/index.d.ts +114 -7
  28. package/dist/index.js +2 -2
  29. package/dist/index.mjs +2 -2
  30. package/dist/input/index.css +1 -1
  31. package/dist/input/index.d.mts +6 -0
  32. package/dist/input/index.d.ts +6 -0
  33. package/dist/input/index.js +1 -1
  34. package/dist/input/index.mjs +1 -1
  35. package/dist/popover/index.css +1 -1
  36. package/dist/switch/index.css +1 -1
  37. package/dist/switch/index.js +1 -1
  38. package/dist/switch/index.mjs +1 -1
  39. package/dist/tabs/index.css +1 -1
  40. package/dist/tabs/index.d.mts +1 -1
  41. package/dist/tabs/index.d.ts +1 -1
  42. package/dist/tabs/index.js +1 -1
  43. package/dist/tabs/index.mjs +1 -1
  44. package/dist/textarea/index.css +1 -1
  45. package/dist/textarea/index.d.mts +2 -22
  46. package/dist/textarea/index.d.ts +2 -22
  47. package/dist/textarea/index.js +1 -1
  48. package/dist/textarea/index.mjs +1 -1
  49. package/dist/toast/index.js +1 -1
  50. package/dist/toast/index.mjs +1 -1
  51. package/dist/tokens.css +1 -1
  52. package/dist/tree/index.css +1 -1
  53. package/dist/tree/index.js +1 -1
  54. package/dist/tree/index.mjs +1 -1
  55. package/package.json +6 -6
  56. package/skill/AGENTS-SNIPPET.md +52 -38
  57. package/skill/SKILL.md +8 -7
  58. package/skill/VERSION.json +5 -5
  59. package/skill/references/components/checkbox.md +2 -0
  60. package/skill/references/components/color-picker.md +2 -0
  61. package/skill/references/components/date-picker.md +3 -0
  62. package/skill/references/components/dialog.md +34 -11
  63. package/skill/references/components/drawer.md +3 -0
  64. package/skill/references/components/dropdown.md +97 -79
  65. package/skill/references/components/ellipsis-tooltip.md +8 -0
  66. package/skill/references/components/empty.md +1 -1
  67. package/skill/references/components/form.md +8 -0
  68. package/skill/references/components/infinite-scroll.md +74 -0
  69. package/skill/references/components/input.md +1 -0
  70. package/skill/references/components/pagination.md +5 -0
  71. package/skill/references/components/popover.md +17 -6
  72. package/skill/references/components/radio.md +5 -1
  73. package/skill/references/components/range-picker.md +8 -0
  74. package/skill/references/components/select.md +3 -0
  75. package/skill/references/components/slider.md +1 -0
  76. package/skill/references/components/steps.md +1 -0
  77. package/skill/references/components/table.md +11 -2
  78. package/skill/references/components/textarea.md +8 -5
  79. package/skill/references/components/time-picker.md +2 -0
  80. package/skill/references/components/toast.md +35 -12
  81. package/skill/references/components/tooltip.md +5 -1
  82. package/skill/references/components/upload.md +3 -0
  83. package/skill/references/icons.md +25 -7
  84. package/skill/references/setup.md +1 -1
  85. package/skill/references/tokens.md +49 -36
  86. package/dist/chunk-E3NN26A5.js +0 -1
  87. package/dist/chunk-K3345E52.mjs +0 -2
  88. package/dist/chunk-K7VTWIZJ.mjs +0 -1
  89. package/dist/chunk-OC42BRM5.mjs +0 -1
  90. package/dist/chunk-R5EGWXDT.mjs +0 -1
  91. package/dist/chunk-TVE57POC.js +0 -1
  92. package/dist/chunk-UGDPRB5F.js +0 -1
  93. package/dist/chunk-XTBZBKJT.js +0 -2
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { B as ButtonProps } from './index-89atTLPD.mjs';
2
- export { a as Button, b as ButtonShape, c as ButtonSize, d as ButtonVariant } from './index-89atTLPD.mjs';
1
+ import { B as ButtonProps } from './index-BVXwKHfX.mjs';
2
+ export { a as Button, b as ButtonShape, c as ButtonSize, d as ButtonVariant } from './index-BVXwKHfX.mjs';
3
3
  import * as React$1 from 'react';
4
4
  import React__default, { ReactNode, CSSProperties, HTMLAttributes, MouseEvent, ComponentType, Key, ReactElement, UIEventHandler, Ref } from 'react';
5
5
  import { TooltipProps } from './tooltip/index.mjs';
@@ -9,7 +9,7 @@ import { PopoverContentProps } from './popover/index.mjs';
9
9
  export { Popover, PopoverAnchor, PopoverAnchorProps, PopoverArrow, PopoverArrowProps, PopoverClose, PopoverCloseProps, PopoverContent, PopoverPlacement, PopoverProps, PopoverTrigger, PopoverTriggerAction, PopoverTriggerProps } from './popover/index.mjs';
10
10
  export { Switch, SwitchProps, SwitchSize } from './switch/index.mjs';
11
11
  export { Input, InputProps, InputShape, InputSize } from './input/index.mjs';
12
- export { Textarea, TextareaProps } from './textarea/index.mjs';
12
+ export { T as Textarea, a as TextareaAutoSizeConfig, b as TextareaProps } from './index-CZhoE8dw.mjs';
13
13
  export { ToastConfig, ToastGlobalConfig, ToastType, toast } from './toast/index.mjs';
14
14
  import * as react_jsx_runtime from 'react/jsx-runtime';
15
15
  import { L as LgSize } from './index-B5SLxsZP.mjs';
@@ -208,7 +208,10 @@ declare const zhCN: {
208
208
  placeholderFull: string;
209
209
  };
210
210
  Table: {
211
+ loading: string;
211
212
  empty: string;
213
+ /** 传入 onRetry 时由 Empty.Card 追加「重试」,故此处不含引导语 */
214
+ loadError: string;
212
215
  };
213
216
  Tree: {
214
217
  empty: string;
@@ -244,6 +247,12 @@ declare const zhCN: {
244
247
  /** 错误态传入 onRetry 后,固定追加在 description 之后的重试引导 */
245
248
  retry: string;
246
249
  };
250
+ InfiniteScroll: {
251
+ loading: string;
252
+ noMore: string;
253
+ /** 「重试」引导语由 Empty.Card 依 onRetry 自动追加,此处不含 */
254
+ loadFailed: string;
255
+ };
247
256
  Sidebar: {
248
257
  expand: string;
249
258
  collapse: string;
@@ -356,7 +365,9 @@ declare const enUS: {
356
365
  placeholderFull: string;
357
366
  };
358
367
  Table: {
368
+ loading: string;
359
369
  empty: string;
370
+ loadError: string;
360
371
  };
361
372
  Tree: {
362
373
  empty: string;
@@ -391,6 +402,12 @@ declare const enUS: {
391
402
  Empty: {
392
403
  retry: string;
393
404
  };
405
+ InfiniteScroll: {
406
+ loading: string;
407
+ noMore: string;
408
+ /** Retry hint is appended by Empty.Card via onRetry, not included here */
409
+ loadFailed: string;
410
+ };
394
411
  Sidebar: {
395
412
  expand: string;
396
413
  collapse: string;
@@ -1546,7 +1563,15 @@ declare const Spin: React__default.ForwardRefExoticComponent<SpinProps & React__
1546
1563
  type EmptySize = LgSize;
1547
1564
  /** lingee-icon 组件类型 */
1548
1565
  type EmptyIconComponent = ComponentType<SvgIconProps>;
1549
- interface EmptyProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
1566
+ interface EmptyProps extends HTMLAttributes<HTMLDivElement> {
1567
+ /**
1568
+ * 描述下方的自定义内容,通常是引导用户下一步的操作按钮。
1569
+ *
1570
+ * 早先类型上用 `Omit` 排除了 children,但文档、示例与实际用法一直在传
1571
+ * (靠 restProps 展开到根节点才得以显示)。此处显式声明并在组件内定点渲染,
1572
+ * 使类型、实现与文档三者一致。
1573
+ */
1574
+ children?: ReactNode;
1550
1575
  /**
1551
1576
  * 尺寸,默认 "md"
1552
1577
  * - lg: 页面级缺省,图标 56px + 文字 16px,垂直居中
@@ -1641,6 +1666,66 @@ declare const Empty: React$1.ForwardRefExoticComponent<EmptyProps & React$1.RefA
1641
1666
  Card: React$1.ForwardRefExoticComponent<EmptyCardProps & React$1.RefAttributes<HTMLDivElement>>;
1642
1667
  };
1643
1668
 
1669
+ /**
1670
+ * 滚动容器指定方式。
1671
+ *
1672
+ * 缺省时组件自动向上查找最近的可滚动祖先。配合 `ScrollArea` 时建议显式传入
1673
+ * 其 viewport(`() => viewportRef.current`)—— 自动查找会命中第一个
1674
+ * `overflow: auto | scroll` 的祖先,若组件被放到了 ScrollArea 之外,
1675
+ * 可能落到更外层的容器上(例如 Dialog 的 body)。
1676
+ *
1677
+ * 用函数形态是因为 ref 在首次渲染时还是 null,直接传值会永远拿不到元素。
1678
+ */
1679
+ type InfiniteScrollTarget = HTMLElement | Window | null | (() => HTMLElement | Window | null);
1680
+ interface InfiniteScrollProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
1681
+ /**
1682
+ * 加载下一页。必须返回 Promise —— 组件靠它判断加载何时结束,
1683
+ * 进而决定是否继续续拉(首屏未填满时)或进入失败态。
1684
+ *
1685
+ * @param isRetry 由用户点击重试触发时为 true,可用于区分自动加载与手动重试
1686
+ */
1687
+ loadMore: (isRetry: boolean) => Promise<void>;
1688
+ /** 是否还有更多数据。为 false 时停止观测并渲染「没有更多」态 */
1689
+ hasMore: boolean;
1690
+ /**
1691
+ * 距容器底部多少像素时触发,默认 80。
1692
+ *
1693
+ * 不取 antd-mobile 的 250 —— 那是移动端整页滚动的尺度,
1694
+ * 用在弹窗内的列表上会导致刚滚一点就触发。
1695
+ */
1696
+ threshold?: number;
1697
+ /** 滚动容器,缺省自动查找 */
1698
+ scrollTarget?: InfiniteScrollTarget;
1699
+ /** 加载中的自定义内容,传 null 则不渲染 */
1700
+ loading?: ReactNode;
1701
+ /** 无更多数据时的自定义内容,传 null 则不渲染 */
1702
+ noMore?: ReactNode;
1703
+ /**
1704
+ * 加载失败时的自定义内容,传 null 则不渲染。
1705
+ * 函数形态可拿到重试句柄,用于自绘重试入口。
1706
+ */
1707
+ error?: ReactNode | ((retry: () => void) => ReactNode);
1708
+ /** 自定义类名 */
1709
+ className?: string;
1710
+ /** 自定义行内样式 */
1711
+ style?: CSSProperties;
1712
+ }
1713
+
1714
+ /**
1715
+ * InfiniteScroll 无限滚动
1716
+ *
1717
+ * 作为哨兵放在滚动内容的末尾,进入容器底部阈值范围时调用 `loadMore`。
1718
+ * 自身只负责「何时该加载」与「底部状态行」,不持有列表数据 —— 各调用点的
1719
+ * 数据层差异很大(React Query / 原生 state / 自定义分页器),持有状态必然处处开逃生口。
1720
+ *
1721
+ * 四个基础问题在组件内解决,调用方无需重复处理:
1722
+ * - **并发重入**:`loadMore` 返回的 Promise 未结束前丢弃重复触发
1723
+ * - **首屏未填满**:每次渲染后重新判定,不足一屏会继续拉直到填满或 `hasMore` 为 false
1724
+ * - **失败熔断**:失败后停止自动触发,避免「失败 → 仍在视口 → 立刻重试」的死循环
1725
+ * - **隐藏态误触**:祖先链上有 `display: none` 时跳过(keep-alive 面板、未激活页签)
1726
+ */
1727
+ declare const InfiniteScroll: React__default.ForwardRefExoticComponent<InfiniteScrollProps & React__default.RefAttributes<HTMLDivElement>>;
1728
+
1644
1729
  /** 附件/截图元信息 */
1645
1730
  interface FeedbackAttachment {
1646
1731
  name: string;
@@ -2645,6 +2730,14 @@ interface TableSorterState {
2645
2730
  columnKey: Key;
2646
2731
  order: "ascend" | "descend" | null;
2647
2732
  }
2733
+ /** 表格三态。与 Empty.Card 的 status 同名同义 */
2734
+ type TableStatusType = "loading" | "empty" | "error";
2735
+ /** 三态文案覆盖。未提供的键回落到 locale 内置文案 */
2736
+ interface TableStatusText {
2737
+ loading?: ReactNode;
2738
+ empty?: ReactNode;
2739
+ error?: ReactNode;
2740
+ }
2648
2741
  /**
2649
2742
  * Table 组件 Props
2650
2743
  */
@@ -2659,8 +2752,20 @@ interface TableProps<RecordType = any> {
2659
2752
  size?: TableSize;
2660
2753
  /** 是否显示边框 */
2661
2754
  bordered?: boolean;
2662
- /** 加载状态 */
2755
+ /**
2756
+ * 加载状态。
2757
+ * 无数据时占位区展示加载中缺省态;已有数据时展示半透明遮罩,保留原内容不跳动
2758
+ */
2663
2759
  loading?: boolean;
2760
+ /**
2761
+ * 加载失败状态,为 true 时表体展示失败缺省态。
2762
+ * 优先级低于 loading(重试期间应展示加载中而非上一次的失败)
2763
+ */
2764
+ loadError?: boolean;
2765
+ /** 加载失败时的重试回调,传入后失败缺省态整体可点击 */
2766
+ onRetry?: () => void;
2767
+ /** 覆盖三态缺省态的默认文案,未传的键走 locale 内置文案 */
2768
+ statusText?: TableStatusText;
2664
2769
  /** 横向滚动宽度 */
2665
2770
  scroll?: {
2666
2771
  x?: number | string;
@@ -2672,8 +2777,10 @@ interface TableProps<RecordType = any> {
2672
2777
  onSortChange?: (sorter: TableSorterState) => void;
2673
2778
  /** 行点击 */
2674
2779
  onRow?: (record: RecordType, index: number) => Record<string, any>;
2675
- /** 空数据展示 */
2780
+ /** 空数据展示,覆盖内置空缺省态 */
2676
2781
  empty?: ReactNode;
2782
+ /** 自定义失败渲染内容,覆盖内置失败缺省态 */
2783
+ errorContent?: ReactNode;
2677
2784
  /** 表格标题 */
2678
2785
  title?: ReactNode | (() => ReactNode);
2679
2786
  /** 表格底部 */
@@ -3479,4 +3586,4 @@ declare const Carousel: CarouselComponent;
3479
3586
  */
3480
3587
  declare function cn(...inputs: ClassValue[]): string;
3481
3588
 
3482
- export { Alert, type AlertProps, type AlertType, AvatarWithGroup as Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, ButtonProps, Carousel, type CarouselApi, type CarouselDotsPlacement, CarouselItem, type CarouselItemProps, type CarouselProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, ColorPicker, type ColorPickerProps, type ColorPickerSize, type ComponentConfig, type CoverConfig, type CustomRequestOptions, type CustomRequestReturn, DatePicker, type DatePickerProps, type DatePickerSize, type DateRange, Dialog, type DialogConfig, type DialogConfirmOptions, type DialogHostModal, type DialogProps, Divider, type DividerOrientation, type DividerProps, type DividerVariant, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, DropdownButton, type DropdownButtonProps, DropdownCheckboxItem, type DropdownCheckboxItemProps, DropdownContent, type DropdownContentProps, type DropdownEllipsisTooltip, 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, DropdownStatus, type DropdownStatusProps, type DropdownStatusText, type DropdownStatusType, DropdownSub, DropdownSubContent, type DropdownSubContentProps, type DropdownSubProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, EllipsisTooltip, type EllipsisTooltipProps, Empty, EmptyCard, type EmptyCardAlign, type EmptyCardProps, type EmptyCardSpacing, type EmptyCardStatus, type EmptyCardVariant, type EmptyIconComponent, type EmptyProps, type EmptySize, type FeedbackAttachment, type FeedbackFileWallItem, type FeedbackHistoryDetail, type FeedbackHistoryItem, type FeedbackReply, type FeedbackSimilarItem, type FeedbackStatus, type FeedbackTabKey, type FileItemActions, Flex, type FlexGapSize, type FlexOrientation, type FlexProps, Form, type FormInstance, type FormItemProps, type FormLayout, type FormProps, HostModalPage, type HostModalPageProps, type HostToastLevel, Image, type ImagePreviewGroupProps, type ImageProps, type ImgInfo, LgSize, LingeeProvider, type LingeeProviderProps, type LingeeSite, 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, SidebarAuthImage, type SidebarAuthImageProps, type SidebarCaretPlacement, type SidebarCaretTone, SidebarCollapsibleListItem, type SidebarCollapsibleListItemProps, SidebarCollapsibleNavItem, type SidebarCollapsibleNavItemChild, type SidebarCollapsibleNavItemProps, SidebarFeedbackAttachmentRow, type SidebarFeedbackAttachmentRowProps, SidebarFeedbackDetail, type SidebarFeedbackDetailProps, SidebarFeedbackField, type SidebarFeedbackFieldProps, SidebarFeedbackFileWall, type SidebarFeedbackFileWallProps, SidebarFeedbackHistoryItem, type SidebarFeedbackHistoryItemProps, SidebarFeedbackHistoryPanel, type SidebarFeedbackHistoryPanelProps, SidebarFeedbackModal, type SidebarFeedbackModalProps, SidebarFeedbackSimilarItem, type SidebarFeedbackSimilarItemProps, SidebarFeedbackSubmitPanel, type SidebarFeedbackSubmitPanelProps, SidebarFolderNode, type SidebarFolderNodeProps, SidebarFolderSection, type SidebarFolderSectionProps, type SidebarFolderStatus, type SidebarFolderStatusText, SidebarFooter, SidebarFooterBadge, type SidebarFooterBadgeProps, SidebarFooterMenuStaticRow, type SidebarFooterMenuStaticRowProps, type SidebarFooterProps, SidebarFooterUser, type SidebarFooterUserProps, SidebarGroupHeader, type SidebarGroupHeaderProps, SidebarHeader, type SidebarHeaderProps, type SidebarIndicatorType, SidebarListItem, type SidebarListItemProps, SidebarNavItem, type SidebarNavItemProps, SidebarRoot, type SidebarRootProps, SidebarStickyHeader, type SidebarStickyHeaderProps, 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, TooltipProps, type TransformAction, type TransformType, Upload, type UploadFile, type UploadFileStatus, type UploadProps, closeHostModal, cn, enUS, formatFileSize, getHostModalParams, isInHostModal, notifyHostModalReady, useComponentConfig, useComponentLocale, useLocale, useSite, zhCN };
3589
+ export { Alert, type AlertProps, type AlertType, AvatarWithGroup as Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, ButtonProps, Carousel, type CarouselApi, type CarouselDotsPlacement, CarouselItem, type CarouselItemProps, type CarouselProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, ColorPicker, type ColorPickerProps, type ColorPickerSize, type ComponentConfig, type CoverConfig, type CustomRequestOptions, type CustomRequestReturn, DatePicker, type DatePickerProps, type DatePickerSize, type DateRange, Dialog, type DialogConfig, type DialogConfirmOptions, type DialogHostModal, type DialogProps, Divider, type DividerOrientation, type DividerProps, type DividerVariant, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, DropdownButton, type DropdownButtonProps, DropdownCheckboxItem, type DropdownCheckboxItemProps, DropdownContent, type DropdownContentProps, type DropdownEllipsisTooltip, 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, DropdownStatus, type DropdownStatusProps, type DropdownStatusText, type DropdownStatusType, DropdownSub, DropdownSubContent, type DropdownSubContentProps, type DropdownSubProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, EllipsisTooltip, type EllipsisTooltipProps, Empty, EmptyCard, type EmptyCardAlign, type EmptyCardProps, type EmptyCardSpacing, type EmptyCardStatus, type EmptyCardVariant, type EmptyIconComponent, type EmptyProps, type EmptySize, type FeedbackAttachment, type FeedbackFileWallItem, type FeedbackHistoryDetail, type FeedbackHistoryItem, type FeedbackReply, type FeedbackSimilarItem, type FeedbackStatus, type FeedbackTabKey, type FileItemActions, Flex, type FlexGapSize, type FlexOrientation, type FlexProps, Form, type FormInstance, type FormItemProps, type FormLayout, type FormProps, HostModalPage, type HostModalPageProps, type HostToastLevel, Image, type ImagePreviewGroupProps, type ImageProps, type ImgInfo, InfiniteScroll, type InfiniteScrollProps, type InfiniteScrollTarget, LgSize, LingeeProvider, type LingeeProviderProps, type LingeeSite, 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, SidebarAuthImage, type SidebarAuthImageProps, type SidebarCaretPlacement, type SidebarCaretTone, SidebarCollapsibleListItem, type SidebarCollapsibleListItemProps, SidebarCollapsibleNavItem, type SidebarCollapsibleNavItemChild, type SidebarCollapsibleNavItemProps, SidebarFeedbackAttachmentRow, type SidebarFeedbackAttachmentRowProps, SidebarFeedbackDetail, type SidebarFeedbackDetailProps, SidebarFeedbackField, type SidebarFeedbackFieldProps, SidebarFeedbackFileWall, type SidebarFeedbackFileWallProps, SidebarFeedbackHistoryItem, type SidebarFeedbackHistoryItemProps, SidebarFeedbackHistoryPanel, type SidebarFeedbackHistoryPanelProps, SidebarFeedbackModal, type SidebarFeedbackModalProps, SidebarFeedbackSimilarItem, type SidebarFeedbackSimilarItemProps, SidebarFeedbackSubmitPanel, type SidebarFeedbackSubmitPanelProps, SidebarFolderNode, type SidebarFolderNodeProps, SidebarFolderSection, type SidebarFolderSectionProps, type SidebarFolderStatus, type SidebarFolderStatusText, SidebarFooter, SidebarFooterBadge, type SidebarFooterBadgeProps, SidebarFooterMenuStaticRow, type SidebarFooterMenuStaticRowProps, type SidebarFooterProps, SidebarFooterUser, type SidebarFooterUserProps, SidebarGroupHeader, type SidebarGroupHeaderProps, SidebarHeader, type SidebarHeaderProps, type SidebarIndicatorType, SidebarListItem, type SidebarListItemProps, SidebarNavItem, type SidebarNavItemProps, SidebarRoot, type SidebarRootProps, SidebarStickyHeader, type SidebarStickyHeaderProps, 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, type TableStatusText, type TableStatusType, Tag, type TagPresetColor, type TagProps, type TagShape, type TagSize, TimePicker, type TimePickerProps, type TimePickerSize, type TimeValue, TooltipProps, type TransformAction, type TransformType, Upload, type UploadFile, type UploadFileStatus, type UploadProps, closeHostModal, cn, enUS, formatFileSize, getHostModalParams, isInHostModal, notifyHostModalReady, useComponentConfig, useComponentLocale, useLocale, useSite, zhCN };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { B as ButtonProps } from './index-89atTLPD.js';
2
- export { a as Button, b as ButtonShape, c as ButtonSize, d as ButtonVariant } from './index-89atTLPD.js';
1
+ import { B as ButtonProps } from './index-BVXwKHfX.js';
2
+ export { a as Button, b as ButtonShape, c as ButtonSize, d as ButtonVariant } from './index-BVXwKHfX.js';
3
3
  import * as React$1 from 'react';
4
4
  import React__default, { ReactNode, CSSProperties, HTMLAttributes, MouseEvent, ComponentType, Key, ReactElement, UIEventHandler, Ref } from 'react';
5
5
  import { TooltipProps } from './tooltip/index.js';
@@ -9,7 +9,7 @@ import { PopoverContentProps } from './popover/index.js';
9
9
  export { Popover, PopoverAnchor, PopoverAnchorProps, PopoverArrow, PopoverArrowProps, PopoverClose, PopoverCloseProps, PopoverContent, PopoverPlacement, PopoverProps, PopoverTrigger, PopoverTriggerAction, PopoverTriggerProps } from './popover/index.js';
10
10
  export { Switch, SwitchProps, SwitchSize } from './switch/index.js';
11
11
  export { Input, InputProps, InputShape, InputSize } from './input/index.js';
12
- export { Textarea, TextareaProps } from './textarea/index.js';
12
+ export { T as Textarea, a as TextareaAutoSizeConfig, b as TextareaProps } from './index-CZhoE8dw.js';
13
13
  export { ToastConfig, ToastGlobalConfig, ToastType, toast } from './toast/index.js';
14
14
  import * as react_jsx_runtime from 'react/jsx-runtime';
15
15
  import { L as LgSize } from './index-B5SLxsZP.js';
@@ -208,7 +208,10 @@ declare const zhCN: {
208
208
  placeholderFull: string;
209
209
  };
210
210
  Table: {
211
+ loading: string;
211
212
  empty: string;
213
+ /** 传入 onRetry 时由 Empty.Card 追加「重试」,故此处不含引导语 */
214
+ loadError: string;
212
215
  };
213
216
  Tree: {
214
217
  empty: string;
@@ -244,6 +247,12 @@ declare const zhCN: {
244
247
  /** 错误态传入 onRetry 后,固定追加在 description 之后的重试引导 */
245
248
  retry: string;
246
249
  };
250
+ InfiniteScroll: {
251
+ loading: string;
252
+ noMore: string;
253
+ /** 「重试」引导语由 Empty.Card 依 onRetry 自动追加,此处不含 */
254
+ loadFailed: string;
255
+ };
247
256
  Sidebar: {
248
257
  expand: string;
249
258
  collapse: string;
@@ -356,7 +365,9 @@ declare const enUS: {
356
365
  placeholderFull: string;
357
366
  };
358
367
  Table: {
368
+ loading: string;
359
369
  empty: string;
370
+ loadError: string;
360
371
  };
361
372
  Tree: {
362
373
  empty: string;
@@ -391,6 +402,12 @@ declare const enUS: {
391
402
  Empty: {
392
403
  retry: string;
393
404
  };
405
+ InfiniteScroll: {
406
+ loading: string;
407
+ noMore: string;
408
+ /** Retry hint is appended by Empty.Card via onRetry, not included here */
409
+ loadFailed: string;
410
+ };
394
411
  Sidebar: {
395
412
  expand: string;
396
413
  collapse: string;
@@ -1546,7 +1563,15 @@ declare const Spin: React__default.ForwardRefExoticComponent<SpinProps & React__
1546
1563
  type EmptySize = LgSize;
1547
1564
  /** lingee-icon 组件类型 */
1548
1565
  type EmptyIconComponent = ComponentType<SvgIconProps>;
1549
- interface EmptyProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
1566
+ interface EmptyProps extends HTMLAttributes<HTMLDivElement> {
1567
+ /**
1568
+ * 描述下方的自定义内容,通常是引导用户下一步的操作按钮。
1569
+ *
1570
+ * 早先类型上用 `Omit` 排除了 children,但文档、示例与实际用法一直在传
1571
+ * (靠 restProps 展开到根节点才得以显示)。此处显式声明并在组件内定点渲染,
1572
+ * 使类型、实现与文档三者一致。
1573
+ */
1574
+ children?: ReactNode;
1550
1575
  /**
1551
1576
  * 尺寸,默认 "md"
1552
1577
  * - lg: 页面级缺省,图标 56px + 文字 16px,垂直居中
@@ -1641,6 +1666,66 @@ declare const Empty: React$1.ForwardRefExoticComponent<EmptyProps & React$1.RefA
1641
1666
  Card: React$1.ForwardRefExoticComponent<EmptyCardProps & React$1.RefAttributes<HTMLDivElement>>;
1642
1667
  };
1643
1668
 
1669
+ /**
1670
+ * 滚动容器指定方式。
1671
+ *
1672
+ * 缺省时组件自动向上查找最近的可滚动祖先。配合 `ScrollArea` 时建议显式传入
1673
+ * 其 viewport(`() => viewportRef.current`)—— 自动查找会命中第一个
1674
+ * `overflow: auto | scroll` 的祖先,若组件被放到了 ScrollArea 之外,
1675
+ * 可能落到更外层的容器上(例如 Dialog 的 body)。
1676
+ *
1677
+ * 用函数形态是因为 ref 在首次渲染时还是 null,直接传值会永远拿不到元素。
1678
+ */
1679
+ type InfiniteScrollTarget = HTMLElement | Window | null | (() => HTMLElement | Window | null);
1680
+ interface InfiniteScrollProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
1681
+ /**
1682
+ * 加载下一页。必须返回 Promise —— 组件靠它判断加载何时结束,
1683
+ * 进而决定是否继续续拉(首屏未填满时)或进入失败态。
1684
+ *
1685
+ * @param isRetry 由用户点击重试触发时为 true,可用于区分自动加载与手动重试
1686
+ */
1687
+ loadMore: (isRetry: boolean) => Promise<void>;
1688
+ /** 是否还有更多数据。为 false 时停止观测并渲染「没有更多」态 */
1689
+ hasMore: boolean;
1690
+ /**
1691
+ * 距容器底部多少像素时触发,默认 80。
1692
+ *
1693
+ * 不取 antd-mobile 的 250 —— 那是移动端整页滚动的尺度,
1694
+ * 用在弹窗内的列表上会导致刚滚一点就触发。
1695
+ */
1696
+ threshold?: number;
1697
+ /** 滚动容器,缺省自动查找 */
1698
+ scrollTarget?: InfiniteScrollTarget;
1699
+ /** 加载中的自定义内容,传 null 则不渲染 */
1700
+ loading?: ReactNode;
1701
+ /** 无更多数据时的自定义内容,传 null 则不渲染 */
1702
+ noMore?: ReactNode;
1703
+ /**
1704
+ * 加载失败时的自定义内容,传 null 则不渲染。
1705
+ * 函数形态可拿到重试句柄,用于自绘重试入口。
1706
+ */
1707
+ error?: ReactNode | ((retry: () => void) => ReactNode);
1708
+ /** 自定义类名 */
1709
+ className?: string;
1710
+ /** 自定义行内样式 */
1711
+ style?: CSSProperties;
1712
+ }
1713
+
1714
+ /**
1715
+ * InfiniteScroll 无限滚动
1716
+ *
1717
+ * 作为哨兵放在滚动内容的末尾,进入容器底部阈值范围时调用 `loadMore`。
1718
+ * 自身只负责「何时该加载」与「底部状态行」,不持有列表数据 —— 各调用点的
1719
+ * 数据层差异很大(React Query / 原生 state / 自定义分页器),持有状态必然处处开逃生口。
1720
+ *
1721
+ * 四个基础问题在组件内解决,调用方无需重复处理:
1722
+ * - **并发重入**:`loadMore` 返回的 Promise 未结束前丢弃重复触发
1723
+ * - **首屏未填满**:每次渲染后重新判定,不足一屏会继续拉直到填满或 `hasMore` 为 false
1724
+ * - **失败熔断**:失败后停止自动触发,避免「失败 → 仍在视口 → 立刻重试」的死循环
1725
+ * - **隐藏态误触**:祖先链上有 `display: none` 时跳过(keep-alive 面板、未激活页签)
1726
+ */
1727
+ declare const InfiniteScroll: React__default.ForwardRefExoticComponent<InfiniteScrollProps & React__default.RefAttributes<HTMLDivElement>>;
1728
+
1644
1729
  /** 附件/截图元信息 */
1645
1730
  interface FeedbackAttachment {
1646
1731
  name: string;
@@ -2645,6 +2730,14 @@ interface TableSorterState {
2645
2730
  columnKey: Key;
2646
2731
  order: "ascend" | "descend" | null;
2647
2732
  }
2733
+ /** 表格三态。与 Empty.Card 的 status 同名同义 */
2734
+ type TableStatusType = "loading" | "empty" | "error";
2735
+ /** 三态文案覆盖。未提供的键回落到 locale 内置文案 */
2736
+ interface TableStatusText {
2737
+ loading?: ReactNode;
2738
+ empty?: ReactNode;
2739
+ error?: ReactNode;
2740
+ }
2648
2741
  /**
2649
2742
  * Table 组件 Props
2650
2743
  */
@@ -2659,8 +2752,20 @@ interface TableProps<RecordType = any> {
2659
2752
  size?: TableSize;
2660
2753
  /** 是否显示边框 */
2661
2754
  bordered?: boolean;
2662
- /** 加载状态 */
2755
+ /**
2756
+ * 加载状态。
2757
+ * 无数据时占位区展示加载中缺省态;已有数据时展示半透明遮罩,保留原内容不跳动
2758
+ */
2663
2759
  loading?: boolean;
2760
+ /**
2761
+ * 加载失败状态,为 true 时表体展示失败缺省态。
2762
+ * 优先级低于 loading(重试期间应展示加载中而非上一次的失败)
2763
+ */
2764
+ loadError?: boolean;
2765
+ /** 加载失败时的重试回调,传入后失败缺省态整体可点击 */
2766
+ onRetry?: () => void;
2767
+ /** 覆盖三态缺省态的默认文案,未传的键走 locale 内置文案 */
2768
+ statusText?: TableStatusText;
2664
2769
  /** 横向滚动宽度 */
2665
2770
  scroll?: {
2666
2771
  x?: number | string;
@@ -2672,8 +2777,10 @@ interface TableProps<RecordType = any> {
2672
2777
  onSortChange?: (sorter: TableSorterState) => void;
2673
2778
  /** 行点击 */
2674
2779
  onRow?: (record: RecordType, index: number) => Record<string, any>;
2675
- /** 空数据展示 */
2780
+ /** 空数据展示,覆盖内置空缺省态 */
2676
2781
  empty?: ReactNode;
2782
+ /** 自定义失败渲染内容,覆盖内置失败缺省态 */
2783
+ errorContent?: ReactNode;
2677
2784
  /** 表格标题 */
2678
2785
  title?: ReactNode | (() => ReactNode);
2679
2786
  /** 表格底部 */
@@ -3479,4 +3586,4 @@ declare const Carousel: CarouselComponent;
3479
3586
  */
3480
3587
  declare function cn(...inputs: ClassValue[]): string;
3481
3588
 
3482
- export { Alert, type AlertProps, type AlertType, AvatarWithGroup as Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, ButtonProps, Carousel, type CarouselApi, type CarouselDotsPlacement, CarouselItem, type CarouselItemProps, type CarouselProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, ColorPicker, type ColorPickerProps, type ColorPickerSize, type ComponentConfig, type CoverConfig, type CustomRequestOptions, type CustomRequestReturn, DatePicker, type DatePickerProps, type DatePickerSize, type DateRange, Dialog, type DialogConfig, type DialogConfirmOptions, type DialogHostModal, type DialogProps, Divider, type DividerOrientation, type DividerProps, type DividerVariant, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, DropdownButton, type DropdownButtonProps, DropdownCheckboxItem, type DropdownCheckboxItemProps, DropdownContent, type DropdownContentProps, type DropdownEllipsisTooltip, 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, DropdownStatus, type DropdownStatusProps, type DropdownStatusText, type DropdownStatusType, DropdownSub, DropdownSubContent, type DropdownSubContentProps, type DropdownSubProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, EllipsisTooltip, type EllipsisTooltipProps, Empty, EmptyCard, type EmptyCardAlign, type EmptyCardProps, type EmptyCardSpacing, type EmptyCardStatus, type EmptyCardVariant, type EmptyIconComponent, type EmptyProps, type EmptySize, type FeedbackAttachment, type FeedbackFileWallItem, type FeedbackHistoryDetail, type FeedbackHistoryItem, type FeedbackReply, type FeedbackSimilarItem, type FeedbackStatus, type FeedbackTabKey, type FileItemActions, Flex, type FlexGapSize, type FlexOrientation, type FlexProps, Form, type FormInstance, type FormItemProps, type FormLayout, type FormProps, HostModalPage, type HostModalPageProps, type HostToastLevel, Image, type ImagePreviewGroupProps, type ImageProps, type ImgInfo, LgSize, LingeeProvider, type LingeeProviderProps, type LingeeSite, 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, SidebarAuthImage, type SidebarAuthImageProps, type SidebarCaretPlacement, type SidebarCaretTone, SidebarCollapsibleListItem, type SidebarCollapsibleListItemProps, SidebarCollapsibleNavItem, type SidebarCollapsibleNavItemChild, type SidebarCollapsibleNavItemProps, SidebarFeedbackAttachmentRow, type SidebarFeedbackAttachmentRowProps, SidebarFeedbackDetail, type SidebarFeedbackDetailProps, SidebarFeedbackField, type SidebarFeedbackFieldProps, SidebarFeedbackFileWall, type SidebarFeedbackFileWallProps, SidebarFeedbackHistoryItem, type SidebarFeedbackHistoryItemProps, SidebarFeedbackHistoryPanel, type SidebarFeedbackHistoryPanelProps, SidebarFeedbackModal, type SidebarFeedbackModalProps, SidebarFeedbackSimilarItem, type SidebarFeedbackSimilarItemProps, SidebarFeedbackSubmitPanel, type SidebarFeedbackSubmitPanelProps, SidebarFolderNode, type SidebarFolderNodeProps, SidebarFolderSection, type SidebarFolderSectionProps, type SidebarFolderStatus, type SidebarFolderStatusText, SidebarFooter, SidebarFooterBadge, type SidebarFooterBadgeProps, SidebarFooterMenuStaticRow, type SidebarFooterMenuStaticRowProps, type SidebarFooterProps, SidebarFooterUser, type SidebarFooterUserProps, SidebarGroupHeader, type SidebarGroupHeaderProps, SidebarHeader, type SidebarHeaderProps, type SidebarIndicatorType, SidebarListItem, type SidebarListItemProps, SidebarNavItem, type SidebarNavItemProps, SidebarRoot, type SidebarRootProps, SidebarStickyHeader, type SidebarStickyHeaderProps, 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, TooltipProps, type TransformAction, type TransformType, Upload, type UploadFile, type UploadFileStatus, type UploadProps, closeHostModal, cn, enUS, formatFileSize, getHostModalParams, isInHostModal, notifyHostModalReady, useComponentConfig, useComponentLocale, useLocale, useSite, zhCN };
3589
+ export { Alert, type AlertProps, type AlertType, AvatarWithGroup as Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, ButtonProps, Carousel, type CarouselApi, type CarouselDotsPlacement, CarouselItem, type CarouselItemProps, type CarouselProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, ColorPicker, type ColorPickerProps, type ColorPickerSize, type ComponentConfig, type CoverConfig, type CustomRequestOptions, type CustomRequestReturn, DatePicker, type DatePickerProps, type DatePickerSize, type DateRange, Dialog, type DialogConfig, type DialogConfirmOptions, type DialogHostModal, type DialogProps, Divider, type DividerOrientation, type DividerProps, type DividerVariant, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, DropdownButton, type DropdownButtonProps, DropdownCheckboxItem, type DropdownCheckboxItemProps, DropdownContent, type DropdownContentProps, type DropdownEllipsisTooltip, 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, DropdownStatus, type DropdownStatusProps, type DropdownStatusText, type DropdownStatusType, DropdownSub, DropdownSubContent, type DropdownSubContentProps, type DropdownSubProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, EllipsisTooltip, type EllipsisTooltipProps, Empty, EmptyCard, type EmptyCardAlign, type EmptyCardProps, type EmptyCardSpacing, type EmptyCardStatus, type EmptyCardVariant, type EmptyIconComponent, type EmptyProps, type EmptySize, type FeedbackAttachment, type FeedbackFileWallItem, type FeedbackHistoryDetail, type FeedbackHistoryItem, type FeedbackReply, type FeedbackSimilarItem, type FeedbackStatus, type FeedbackTabKey, type FileItemActions, Flex, type FlexGapSize, type FlexOrientation, type FlexProps, Form, type FormInstance, type FormItemProps, type FormLayout, type FormProps, HostModalPage, type HostModalPageProps, type HostToastLevel, Image, type ImagePreviewGroupProps, type ImageProps, type ImgInfo, InfiniteScroll, type InfiniteScrollProps, type InfiniteScrollTarget, LgSize, LingeeProvider, type LingeeProviderProps, type LingeeSite, 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, SidebarAuthImage, type SidebarAuthImageProps, type SidebarCaretPlacement, type SidebarCaretTone, SidebarCollapsibleListItem, type SidebarCollapsibleListItemProps, SidebarCollapsibleNavItem, type SidebarCollapsibleNavItemChild, type SidebarCollapsibleNavItemProps, SidebarFeedbackAttachmentRow, type SidebarFeedbackAttachmentRowProps, SidebarFeedbackDetail, type SidebarFeedbackDetailProps, SidebarFeedbackField, type SidebarFeedbackFieldProps, SidebarFeedbackFileWall, type SidebarFeedbackFileWallProps, SidebarFeedbackHistoryItem, type SidebarFeedbackHistoryItemProps, SidebarFeedbackHistoryPanel, type SidebarFeedbackHistoryPanelProps, SidebarFeedbackModal, type SidebarFeedbackModalProps, SidebarFeedbackSimilarItem, type SidebarFeedbackSimilarItemProps, SidebarFeedbackSubmitPanel, type SidebarFeedbackSubmitPanelProps, SidebarFolderNode, type SidebarFolderNodeProps, SidebarFolderSection, type SidebarFolderSectionProps, type SidebarFolderStatus, type SidebarFolderStatusText, SidebarFooter, SidebarFooterBadge, type SidebarFooterBadgeProps, SidebarFooterMenuStaticRow, type SidebarFooterMenuStaticRowProps, type SidebarFooterProps, SidebarFooterUser, type SidebarFooterUserProps, SidebarGroupHeader, type SidebarGroupHeaderProps, SidebarHeader, type SidebarHeaderProps, type SidebarIndicatorType, SidebarListItem, type SidebarListItemProps, SidebarNavItem, type SidebarNavItemProps, SidebarRoot, type SidebarRootProps, SidebarStickyHeader, type SidebarStickyHeaderProps, 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, type TableStatusText, type TableStatusType, Tag, type TagPresetColor, type TagProps, type TagShape, type TagSize, TimePicker, type TimePickerProps, type TimePickerSize, type TimeValue, TooltipProps, type TransformAction, type TransformType, Upload, type UploadFile, type UploadFileStatus, type UploadProps, closeHostModal, cn, enUS, formatFileSize, getHostModalParams, isInHostModal, notifyHostModalReady, useComponentConfig, useComponentLocale, useLocale, useSite, zhCN };