lingee-ui 0.0.20 → 0.0.22

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 (53) 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/chunk-DIBP224Q.mjs +2 -0
  5. package/dist/chunk-EOVPC2E4.js +2 -0
  6. package/dist/{chunk-NLYZRYOJ.mjs → chunk-G5VOLG6L.mjs} +1 -1
  7. package/dist/{chunk-5LB5DYXZ.js → chunk-GUINI25L.js} +1 -1
  8. package/dist/{chunk-V32QRQMP.js → chunk-IBX6LBGA.js} +1 -1
  9. package/dist/chunk-KWRU5RWD.mjs +1 -0
  10. package/dist/chunk-TJMCJSHN.mjs +1 -0
  11. package/dist/chunk-TRDCCPJD.js +1 -0
  12. package/dist/{index-BVXwKHfX.d.mts → index-89atTLPD.d.mts} +3 -3
  13. package/dist/{index-BVXwKHfX.d.ts → index-89atTLPD.d.ts} +3 -3
  14. package/dist/index-B0J-mUew.d.mts +318 -0
  15. package/dist/index-Dmm11UAd.d.ts +318 -0
  16. package/dist/index.css +1 -1
  17. package/dist/index.d.mts +94 -41
  18. package/dist/index.d.ts +94 -41
  19. package/dist/index.js +2 -2
  20. package/dist/index.mjs +2 -2
  21. package/dist/input/index.js +1 -1
  22. package/dist/input/index.mjs +1 -1
  23. package/dist/tabs/index.css +1 -1
  24. package/dist/tabs/index.d.mts +1 -1
  25. package/dist/tabs/index.d.ts +1 -1
  26. package/dist/tabs/index.js +1 -1
  27. package/dist/tabs/index.mjs +1 -1
  28. package/dist/toast/index.js +1 -1
  29. package/dist/toast/index.mjs +1 -1
  30. package/dist/tokens.css +1 -1
  31. package/dist/tooltip/index.css +1 -1
  32. package/dist/tree/index.css +1 -1
  33. package/dist/tree/index.d.mts +3 -229
  34. package/dist/tree/index.d.ts +3 -229
  35. package/dist/tree/index.js +1 -1
  36. package/dist/tree/index.mjs +1 -1
  37. package/package.json +2 -1
  38. package/skill/AGENTS-SNIPPET.md +2 -2
  39. package/skill/SKILL.md +3 -3
  40. package/skill/VERSION.json +3 -3
  41. package/skill/references/components/breadcrumb.md +26 -5
  42. package/skill/references/components/person-picker.md +4 -1
  43. package/skill/references/components/select.md +34 -4
  44. package/skill/references/components/tag.md +16 -7
  45. package/skill/references/components/tree.md +32 -2
  46. package/skill/references/icons.md +1 -1
  47. package/skill/references/setup.md +1 -1
  48. package/skill/references/tokens.md +2 -2
  49. package/dist/chunk-4QG542GX.js +0 -1
  50. package/dist/chunk-67CCJI3Y.mjs +0 -1
  51. package/dist/chunk-ARLTJ7O7.js +0 -2
  52. package/dist/chunk-IBJZAWUP.mjs +0 -1
  53. package/dist/chunk-QIGXWGB4.mjs +0 -2
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
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';
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';
3
3
  import * as React$1 from 'react';
4
4
  import React__default, { ReactNode, MouseEvent, CSSProperties, HTMLAttributes, ComponentType, Key, ReactElement, UIEventHandler, Ref } from 'react';
5
5
  import { TooltipProps } from './tooltip/index.mjs';
@@ -12,10 +12,11 @@ export { Input, InputProps, InputShape, InputSize } from './input/index.mjs';
12
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
+ import { T as TagProps } from './index-B0J-mUew.mjs';
16
+ export { a as TagPresetColor, b as TagShape, c as TagSize, d as TagVariant, e as Tree, f as TreeAllowDropOptions, g as TreeCheckInfo, h as TreeDropInfo, i as TreeExpandAction, j as TreeExpandInfo, k as TreeFieldNames, l as TreeIndentGuide, m as TreeNodeAction, n as TreeNodeData, o as TreeNodeExtra, p as TreeNodeExtraRenderContext, q as TreeNodeItemPresentation, r as TreeNodeState, s as TreeNodeTag, t as TreeProps, u as TreeSelectInfo, v as TreeSize } from './index-B0J-mUew.mjs';
15
17
  import { L as LgSize } from './index-B5SLxsZP.mjs';
16
18
  export { a as LgShape, b as LgVariant } from './index-B5SLxsZP.mjs';
17
19
  import { SvgIconProps } from 'lingee-icon';
18
- export { Tree, TreeAllowDropOptions, TreeCheckInfo, TreeDropInfo, TreeExpandAction, TreeExpandInfo, TreeFieldNames, TreeIndentGuide, TreeNodeData, TreeNodeState, TreeProps, TreeSelectInfo, TreeSize } from './tree/index.mjs';
19
20
  import { FormInstance as FormInstance$1, Rule } from 'rc-field-form/es/interface';
20
21
  export { Rule } from 'rc-field-form/es/interface';
21
22
  import { ClassValue } from 'clsx';
@@ -27,6 +28,22 @@ import 'class-variance-authority/types';
27
28
  * - `sm` 小型 —— 13px 文字,默认尖括号分隔
28
29
  */
29
30
  type BreadcrumbSize = "sm" | "md";
31
+ /**
32
+ * 宽度不足时的处理策略:
33
+ * - `ellipsis` 收缩省略(默认)—— 首项最先省略、最少保留一个字,其次中间项,最后当前页;
34
+ * `maxItems` 折叠出的省略号始终完整,不参与收缩
35
+ * - `scroll` 横向滚动 —— 全部层级完整展示、不折叠,溢出时两端出现箭头
36
+ */
37
+ type BreadcrumbOverflow = "ellipsis" | "scroll";
38
+ /** 滚动细节配置,仅 `overflow="scroll"` 下有意义 */
39
+ interface BreadcrumbScrollOptions {
40
+ /** 箭头显示策略:`true` 溢出即显示 / `"hover"` 悬浮或键盘聚焦时显示 / `false` 不显示,默认 `true` */
41
+ arrows?: boolean | "hover";
42
+ /** 点击箭头单次滚动距离(px),默认 200 */
43
+ step?: number;
44
+ /** 是否显示边缘渐隐,默认 `true` */
45
+ fade?: boolean;
46
+ }
30
47
  interface BreadcrumbItem {
31
48
  /** 唯一标识 */
32
49
  key: string;
@@ -61,13 +78,19 @@ interface BreadcrumbProps {
61
78
  *
62
79
  * 折叠后保留首项与末尾若干项,可见单元总数(含省略号)等于该值。
63
80
  * 小于 3 时不折叠 —— 首项、省略号、末项三者缺一,折叠就失去意义。
81
+ *
82
+ * `overflow="scroll"` 下不生效:滚动模式承诺完整展示全部层级。
64
83
  */
65
84
  maxItems?: number;
66
- /** 单项文字最大宽度(px),超出显示省略号 */
85
+ /** 单项文字最大宽度(px),超出显示省略号。`overflow="scroll"` 下不生效 */
67
86
  itemMaxWidth?: number;
87
+ /** 宽度不足时的处理策略,默认 `ellipsis` */
88
+ overflow?: BreadcrumbOverflow;
89
+ /** 滚动细节配置,仅 `overflow="scroll"` 生效 */
90
+ scrollOptions?: BreadcrumbScrollOptions;
68
91
  /** 传入后在最前面显示返回箭头,点击触发 */
69
92
  onBack?: () => void;
70
- /** 自定义内容,传入时忽略 `items` */
93
+ /** 自定义内容,传入时忽略 `items`(`overflow` 同样不生效) */
71
94
  children?: ReactNode;
72
95
  /** 自定义类名 */
73
96
  className?: string;
@@ -199,6 +222,9 @@ declare const zhCN: {
199
222
  back: string;
200
223
  /** nav 的无障碍标签,屏幕阅读器用于播报导航区域用途 */
201
224
  label: string;
225
+ /** overflow="scroll" 两端箭头的提示与无障碍标签 */
226
+ scrollLeft: string;
227
+ scrollRight: string;
202
228
  };
203
229
  Select: {
204
230
  loading: string;
@@ -386,6 +412,8 @@ declare const enUS: {
386
412
  more: string;
387
413
  back: string;
388
414
  label: string;
415
+ scrollLeft: string;
416
+ scrollRight: string;
389
417
  };
390
418
  Select: {
391
419
  loading: string;
@@ -566,43 +594,9 @@ declare function useComponentLocale<K extends keyof Omit<Locale, "locale">>(comp
566
594
  */
567
595
  declare function useSite(): LingeeSite | undefined;
568
596
 
569
- /** 预设语义色 */
570
- type TagPresetColor = "primary" | "info" | "success" | "warning" | "danger" | "amber" | "yellow" | "cyan" | "purple";
571
- /**
572
- * 视觉变体
573
- * - tint:纯色浅底,通用标记场景
574
- * - gradient:渐变浅底,用于提示类徽标(警告 / 建议 / 提示)
575
- * - glow:渐变底 + 光斑装饰,用于等级类徽标(钻石 / 黄金 / 铂金)
576
- */
577
- type TagVariant = "tint" | "gradient" | "glow";
578
- /** 标签尺寸 */
579
- type TagSize = LgSize;
580
- /** 标签圆角形状(仅 variant="tint" 生效,其余变体圆角由变体规范决定) */
581
- type TagShape = "pill" | "rounded";
582
- interface TagProps extends Omit<HTMLAttributes<HTMLSpanElement>, "color"> {
583
- /** 色彩:预设语义色 或 任意 CSS 色值字符串,默认 "info" */
584
- color?: TagPresetColor | (string & {});
585
- /** 视觉变体,默认 "tint" */
586
- variant?: TagVariant;
587
- /** 尺寸,默认 "md"(sm: 20px, md: 24px, lg: 32px) */
588
- size?: TagSize;
589
- /** 圆角形状,默认 "pill"(pill: 999px, rounded: 8px) */
590
- shape?: TagShape;
591
- /** 前缀图标(尺寸由组件统一控制,无需自行设置宽高) */
592
- icon?: ReactNode;
593
- /** 自定义背景(覆盖默认背景,支持渐变等任意 CSS background 值) */
594
- background?: string;
595
- /** 是否可关闭(显示关闭按钮) */
596
- closable?: boolean;
597
- /** 关闭回调 */
598
- onClose?: (e: MouseEvent<HTMLSpanElement>) => void;
599
- /** 子内容(文字、图标自由组合) */
600
- children?: ReactNode;
601
- }
602
-
603
597
  /**
604
598
  * Tag 标签组件
605
- * 支持预设语义色、自定义色值、渐变 / 光斑变体、前缀图标、可关闭等能力
599
+ * 支持预设语义色、自定义色值、文字 / 实底 / 描边 / 渐变 / 光斑变体、前缀图标、可关闭等能力
606
600
  */
607
601
  declare const Tag: React__default.ForwardRefExoticComponent<TagProps & React__default.RefAttributes<HTMLSpanElement>>;
608
602
 
@@ -3505,6 +3499,19 @@ interface PickerPaneData {
3505
3499
  */
3506
3500
  selectAll?: boolean;
3507
3501
  }
3502
+ /**
3503
+ * 页签切换的上下文,交给 `resetPathOnTabChange` 的函数形态判断是否回根层。
3504
+ *
3505
+ * 用对象而非位置参数:以后要补字段不会破坏既有调用方的签名。
3506
+ */
3507
+ interface PickerTabChangeContext {
3508
+ /** 切换前所在的页签 */
3509
+ prevTab: PickerTabKey;
3510
+ /** 即将切到的页签 */
3511
+ nextTab: PickerTabKey;
3512
+ /** 切换前所处的层级路径,空数组表示已在根层 */
3513
+ orgPath: PickerOrgPathItem[];
3514
+ }
3508
3515
  /** 组织层级路径中的一项,用于面包屑回跳 */
3509
3516
  interface PickerOrgPathItem {
3510
3517
  /** 组织 id */
@@ -3612,6 +3619,31 @@ interface PersonPickerPanelProps {
3612
3619
  orgPath?: PickerOrgPathItem[];
3613
3620
  /** 层级变化回调:点面包屑回跳、点行尾箭头下钻都会触发 */
3614
3621
  onOrgPathChange?: (path: PickerOrgPathItem[]) => void;
3622
+ /**
3623
+ * 切换页签时是否回到根层,默认 `true`。
3624
+ *
3625
+ * 两个组织类页签看的虽是同一棵组织树,层级却不一定互通 —— 消费方完全可以只在
3626
+ * `person` 页签提供某些节点(例如「无组织」这类根本不属于组织树的虚拟层级)。
3627
+ * 停在那种层级上切到 `org`,会得到一个列不出任何内容的空列表,用户只能点面包屑
3628
+ * 的根节点自己退回来。默认回根层就是为了不把人卡在这种死路上。
3629
+ *
3630
+ * - `true`(默认)—— 一律回根层
3631
+ * - `false` —— 一律保留。两个页签的层级**完全互通**时更连贯(切过去仍停在同一
3632
+ * 部门,只是从「看子部门」变成「看部门里的人」)
3633
+ * - 函数 —— 逐次决定,用于「只有某些层级需要回根层」。组件不认识业务上的虚拟
3634
+ * 层级,这个判断只能由消费方做:
3635
+ *
3636
+ * ```tsx
3637
+ * // 只有停在「无组织」这类虚拟层级时才回根层,其余保留下钻位置
3638
+ * resetPathOnTabChange={({ orgPath }) =>
3639
+ * orgPath.some((item) => item.id === UNASSIGNED_ORG_ID)
3640
+ * }
3641
+ * ```
3642
+ *
3643
+ * 受控用法(传了 `orgPath`)下组件不直接改值,而是调 `onOrgPathChange([])` 请求
3644
+ * 消费方重置 —— 与 `value` / `onChange` 同一套受控约定。
3645
+ */
3646
+ resetPathOnTabChange?: boolean | ((context: PickerTabChangeContext) => boolean);
3615
3647
  /**
3616
3648
  * 把组织展开为其下全部人员(含子组织,递归)。
3617
3649
  *
@@ -3633,6 +3665,27 @@ interface PersonPickerPanelProps {
3633
3665
  * 看不出是失败还是没数据。
3634
3666
  */
3635
3667
  onExpandOrgError?: (org: PickerEntity, error: unknown) => void;
3668
+ /**
3669
+ * 「全选」时拉取**当前范围的全部实体**。
3670
+ *
3671
+ * 列表是分页的,已加载的往往只是第一页。不传本属性时全选只覆盖已加载项 —— 用户
3672
+ * 在一个 370 人的层级里点全选,实际只选中 20 个,而全选框却是选中态,他完全看不出
3673
+ * 漏了 350 人。传入后改为先拉全量再整批选中,与「勾选组织即选中其下所有人」
3674
+ * (`onExpandOrg`)保持同一个心理模型。
3675
+ *
3676
+ * 「当前范围」由消费方自己掌握(当前页签、层级、搜索词决定查询条件),组件只负责
3677
+ * 在该调的时候调。结果按范围缓存,同一范围内重复点全选不会重复请求;切层级、
3678
+ * 切页签、改搜索词后缓存自动作废。
3679
+ *
3680
+ * 拉取期间全选框替换为加载指示器 —— 它可能要翻好几页。
3681
+ */
3682
+ onSelectAll?: () => Promise<PickerEntity[]>;
3683
+ /**
3684
+ * `onSelectAll` 失败时触发。
3685
+ *
3686
+ * 组件内没有提示能力,必须由消费方告知用户,否则点了全选毫无反应。
3687
+ */
3688
+ onSelectAllError?: (error: unknown) => void;
3636
3689
  /** 选择模式,默认 `"multiple"` */
3637
3690
  mode?: PickerMode;
3638
3691
  /** 最多可选数量,不传则不限 */
@@ -4096,4 +4149,4 @@ declare const Carousel: CarouselComponent;
4096
4149
  */
4097
4150
  declare function cn(...inputs: ClassValue[]): string;
4098
4151
 
4099
- export { Alert, type AlertProps, type AlertType, AvatarWithGroup as Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, type BreadcrumbSize, 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, DEFAULT_TABS as PERSON_PICKER_DEFAULT_TABS, ENTITY_TYPE_ORDER as PERSON_PICKER_TYPE_ORDER, Pagination, type PaginationProps, type PaginationVariant, PersonPicker, PersonPickerPanel, type PersonPickerPanelProps, type PersonPickerProps, type PickerChangeInfo, type PickerEntity, type PickerEntityType, type PickerExtra, type PickerGroup, type PickerMode, type PickerOrgPathItem, type PickerPaneData, type PickerSection, type PickerSelectedCount, type PickerState, type PickerTabKey, 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, type UsePickerStateOptions, closeHostModal, cn, enUS, formatFileSize, getHostModalParams, isInHostModal, notifyHostModalReady, entityKey as personPickerEntityKey, useComponentConfig, useComponentLocale, useLocale, usePickerState as usePersonPickerState, useSite, zhCN };
4152
+ export { Alert, type AlertProps, type AlertType, AvatarWithGroup as Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbOverflow, type BreadcrumbProps, type BreadcrumbScrollOptions, type BreadcrumbSize, 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, DEFAULT_TABS as PERSON_PICKER_DEFAULT_TABS, ENTITY_TYPE_ORDER as PERSON_PICKER_TYPE_ORDER, Pagination, type PaginationProps, type PaginationVariant, PersonPicker, PersonPickerPanel, type PersonPickerPanelProps, type PersonPickerProps, type PickerChangeInfo, type PickerEntity, type PickerEntityType, type PickerExtra, type PickerGroup, type PickerMode, type PickerOrgPathItem, type PickerPaneData, type PickerSection, type PickerSelectedCount, type PickerState, type PickerTabChangeContext, type PickerTabKey, 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, TagProps, TimePicker, type TimePickerProps, type TimePickerSize, type TimeValue, TooltipProps, type TransformAction, type TransformType, Upload, type UploadFile, type UploadFileStatus, type UploadProps, type UsePickerStateOptions, closeHostModal, cn, enUS, formatFileSize, getHostModalParams, isInHostModal, notifyHostModalReady, entityKey as personPickerEntityKey, useComponentConfig, useComponentLocale, useLocale, usePickerState as usePersonPickerState, useSite, zhCN };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
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';
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';
3
3
  import * as React$1 from 'react';
4
4
  import React__default, { ReactNode, MouseEvent, CSSProperties, HTMLAttributes, ComponentType, Key, ReactElement, UIEventHandler, Ref } from 'react';
5
5
  import { TooltipProps } from './tooltip/index.js';
@@ -12,10 +12,11 @@ export { Input, InputProps, InputShape, InputSize } from './input/index.js';
12
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
+ import { T as TagProps } from './index-Dmm11UAd.js';
16
+ export { a as TagPresetColor, b as TagShape, c as TagSize, d as TagVariant, e as Tree, f as TreeAllowDropOptions, g as TreeCheckInfo, h as TreeDropInfo, i as TreeExpandAction, j as TreeExpandInfo, k as TreeFieldNames, l as TreeIndentGuide, m as TreeNodeAction, n as TreeNodeData, o as TreeNodeExtra, p as TreeNodeExtraRenderContext, q as TreeNodeItemPresentation, r as TreeNodeState, s as TreeNodeTag, t as TreeProps, u as TreeSelectInfo, v as TreeSize } from './index-Dmm11UAd.js';
15
17
  import { L as LgSize } from './index-B5SLxsZP.js';
16
18
  export { a as LgShape, b as LgVariant } from './index-B5SLxsZP.js';
17
19
  import { SvgIconProps } from 'lingee-icon';
18
- export { Tree, TreeAllowDropOptions, TreeCheckInfo, TreeDropInfo, TreeExpandAction, TreeExpandInfo, TreeFieldNames, TreeIndentGuide, TreeNodeData, TreeNodeState, TreeProps, TreeSelectInfo, TreeSize } from './tree/index.js';
19
20
  import { FormInstance as FormInstance$1, Rule } from 'rc-field-form/es/interface';
20
21
  export { Rule } from 'rc-field-form/es/interface';
21
22
  import { ClassValue } from 'clsx';
@@ -27,6 +28,22 @@ import 'class-variance-authority/types';
27
28
  * - `sm` 小型 —— 13px 文字,默认尖括号分隔
28
29
  */
29
30
  type BreadcrumbSize = "sm" | "md";
31
+ /**
32
+ * 宽度不足时的处理策略:
33
+ * - `ellipsis` 收缩省略(默认)—— 首项最先省略、最少保留一个字,其次中间项,最后当前页;
34
+ * `maxItems` 折叠出的省略号始终完整,不参与收缩
35
+ * - `scroll` 横向滚动 —— 全部层级完整展示、不折叠,溢出时两端出现箭头
36
+ */
37
+ type BreadcrumbOverflow = "ellipsis" | "scroll";
38
+ /** 滚动细节配置,仅 `overflow="scroll"` 下有意义 */
39
+ interface BreadcrumbScrollOptions {
40
+ /** 箭头显示策略:`true` 溢出即显示 / `"hover"` 悬浮或键盘聚焦时显示 / `false` 不显示,默认 `true` */
41
+ arrows?: boolean | "hover";
42
+ /** 点击箭头单次滚动距离(px),默认 200 */
43
+ step?: number;
44
+ /** 是否显示边缘渐隐,默认 `true` */
45
+ fade?: boolean;
46
+ }
30
47
  interface BreadcrumbItem {
31
48
  /** 唯一标识 */
32
49
  key: string;
@@ -61,13 +78,19 @@ interface BreadcrumbProps {
61
78
  *
62
79
  * 折叠后保留首项与末尾若干项,可见单元总数(含省略号)等于该值。
63
80
  * 小于 3 时不折叠 —— 首项、省略号、末项三者缺一,折叠就失去意义。
81
+ *
82
+ * `overflow="scroll"` 下不生效:滚动模式承诺完整展示全部层级。
64
83
  */
65
84
  maxItems?: number;
66
- /** 单项文字最大宽度(px),超出显示省略号 */
85
+ /** 单项文字最大宽度(px),超出显示省略号。`overflow="scroll"` 下不生效 */
67
86
  itemMaxWidth?: number;
87
+ /** 宽度不足时的处理策略,默认 `ellipsis` */
88
+ overflow?: BreadcrumbOverflow;
89
+ /** 滚动细节配置,仅 `overflow="scroll"` 生效 */
90
+ scrollOptions?: BreadcrumbScrollOptions;
68
91
  /** 传入后在最前面显示返回箭头,点击触发 */
69
92
  onBack?: () => void;
70
- /** 自定义内容,传入时忽略 `items` */
93
+ /** 自定义内容,传入时忽略 `items`(`overflow` 同样不生效) */
71
94
  children?: ReactNode;
72
95
  /** 自定义类名 */
73
96
  className?: string;
@@ -199,6 +222,9 @@ declare const zhCN: {
199
222
  back: string;
200
223
  /** nav 的无障碍标签,屏幕阅读器用于播报导航区域用途 */
201
224
  label: string;
225
+ /** overflow="scroll" 两端箭头的提示与无障碍标签 */
226
+ scrollLeft: string;
227
+ scrollRight: string;
202
228
  };
203
229
  Select: {
204
230
  loading: string;
@@ -386,6 +412,8 @@ declare const enUS: {
386
412
  more: string;
387
413
  back: string;
388
414
  label: string;
415
+ scrollLeft: string;
416
+ scrollRight: string;
389
417
  };
390
418
  Select: {
391
419
  loading: string;
@@ -566,43 +594,9 @@ declare function useComponentLocale<K extends keyof Omit<Locale, "locale">>(comp
566
594
  */
567
595
  declare function useSite(): LingeeSite | undefined;
568
596
 
569
- /** 预设语义色 */
570
- type TagPresetColor = "primary" | "info" | "success" | "warning" | "danger" | "amber" | "yellow" | "cyan" | "purple";
571
- /**
572
- * 视觉变体
573
- * - tint:纯色浅底,通用标记场景
574
- * - gradient:渐变浅底,用于提示类徽标(警告 / 建议 / 提示)
575
- * - glow:渐变底 + 光斑装饰,用于等级类徽标(钻石 / 黄金 / 铂金)
576
- */
577
- type TagVariant = "tint" | "gradient" | "glow";
578
- /** 标签尺寸 */
579
- type TagSize = LgSize;
580
- /** 标签圆角形状(仅 variant="tint" 生效,其余变体圆角由变体规范决定) */
581
- type TagShape = "pill" | "rounded";
582
- interface TagProps extends Omit<HTMLAttributes<HTMLSpanElement>, "color"> {
583
- /** 色彩:预设语义色 或 任意 CSS 色值字符串,默认 "info" */
584
- color?: TagPresetColor | (string & {});
585
- /** 视觉变体,默认 "tint" */
586
- variant?: TagVariant;
587
- /** 尺寸,默认 "md"(sm: 20px, md: 24px, lg: 32px) */
588
- size?: TagSize;
589
- /** 圆角形状,默认 "pill"(pill: 999px, rounded: 8px) */
590
- shape?: TagShape;
591
- /** 前缀图标(尺寸由组件统一控制,无需自行设置宽高) */
592
- icon?: ReactNode;
593
- /** 自定义背景(覆盖默认背景,支持渐变等任意 CSS background 值) */
594
- background?: string;
595
- /** 是否可关闭(显示关闭按钮) */
596
- closable?: boolean;
597
- /** 关闭回调 */
598
- onClose?: (e: MouseEvent<HTMLSpanElement>) => void;
599
- /** 子内容(文字、图标自由组合) */
600
- children?: ReactNode;
601
- }
602
-
603
597
  /**
604
598
  * Tag 标签组件
605
- * 支持预设语义色、自定义色值、渐变 / 光斑变体、前缀图标、可关闭等能力
599
+ * 支持预设语义色、自定义色值、文字 / 实底 / 描边 / 渐变 / 光斑变体、前缀图标、可关闭等能力
606
600
  */
607
601
  declare const Tag: React__default.ForwardRefExoticComponent<TagProps & React__default.RefAttributes<HTMLSpanElement>>;
608
602
 
@@ -3505,6 +3499,19 @@ interface PickerPaneData {
3505
3499
  */
3506
3500
  selectAll?: boolean;
3507
3501
  }
3502
+ /**
3503
+ * 页签切换的上下文,交给 `resetPathOnTabChange` 的函数形态判断是否回根层。
3504
+ *
3505
+ * 用对象而非位置参数:以后要补字段不会破坏既有调用方的签名。
3506
+ */
3507
+ interface PickerTabChangeContext {
3508
+ /** 切换前所在的页签 */
3509
+ prevTab: PickerTabKey;
3510
+ /** 即将切到的页签 */
3511
+ nextTab: PickerTabKey;
3512
+ /** 切换前所处的层级路径,空数组表示已在根层 */
3513
+ orgPath: PickerOrgPathItem[];
3514
+ }
3508
3515
  /** 组织层级路径中的一项,用于面包屑回跳 */
3509
3516
  interface PickerOrgPathItem {
3510
3517
  /** 组织 id */
@@ -3612,6 +3619,31 @@ interface PersonPickerPanelProps {
3612
3619
  orgPath?: PickerOrgPathItem[];
3613
3620
  /** 层级变化回调:点面包屑回跳、点行尾箭头下钻都会触发 */
3614
3621
  onOrgPathChange?: (path: PickerOrgPathItem[]) => void;
3622
+ /**
3623
+ * 切换页签时是否回到根层,默认 `true`。
3624
+ *
3625
+ * 两个组织类页签看的虽是同一棵组织树,层级却不一定互通 —— 消费方完全可以只在
3626
+ * `person` 页签提供某些节点(例如「无组织」这类根本不属于组织树的虚拟层级)。
3627
+ * 停在那种层级上切到 `org`,会得到一个列不出任何内容的空列表,用户只能点面包屑
3628
+ * 的根节点自己退回来。默认回根层就是为了不把人卡在这种死路上。
3629
+ *
3630
+ * - `true`(默认)—— 一律回根层
3631
+ * - `false` —— 一律保留。两个页签的层级**完全互通**时更连贯(切过去仍停在同一
3632
+ * 部门,只是从「看子部门」变成「看部门里的人」)
3633
+ * - 函数 —— 逐次决定,用于「只有某些层级需要回根层」。组件不认识业务上的虚拟
3634
+ * 层级,这个判断只能由消费方做:
3635
+ *
3636
+ * ```tsx
3637
+ * // 只有停在「无组织」这类虚拟层级时才回根层,其余保留下钻位置
3638
+ * resetPathOnTabChange={({ orgPath }) =>
3639
+ * orgPath.some((item) => item.id === UNASSIGNED_ORG_ID)
3640
+ * }
3641
+ * ```
3642
+ *
3643
+ * 受控用法(传了 `orgPath`)下组件不直接改值,而是调 `onOrgPathChange([])` 请求
3644
+ * 消费方重置 —— 与 `value` / `onChange` 同一套受控约定。
3645
+ */
3646
+ resetPathOnTabChange?: boolean | ((context: PickerTabChangeContext) => boolean);
3615
3647
  /**
3616
3648
  * 把组织展开为其下全部人员(含子组织,递归)。
3617
3649
  *
@@ -3633,6 +3665,27 @@ interface PersonPickerPanelProps {
3633
3665
  * 看不出是失败还是没数据。
3634
3666
  */
3635
3667
  onExpandOrgError?: (org: PickerEntity, error: unknown) => void;
3668
+ /**
3669
+ * 「全选」时拉取**当前范围的全部实体**。
3670
+ *
3671
+ * 列表是分页的,已加载的往往只是第一页。不传本属性时全选只覆盖已加载项 —— 用户
3672
+ * 在一个 370 人的层级里点全选,实际只选中 20 个,而全选框却是选中态,他完全看不出
3673
+ * 漏了 350 人。传入后改为先拉全量再整批选中,与「勾选组织即选中其下所有人」
3674
+ * (`onExpandOrg`)保持同一个心理模型。
3675
+ *
3676
+ * 「当前范围」由消费方自己掌握(当前页签、层级、搜索词决定查询条件),组件只负责
3677
+ * 在该调的时候调。结果按范围缓存,同一范围内重复点全选不会重复请求;切层级、
3678
+ * 切页签、改搜索词后缓存自动作废。
3679
+ *
3680
+ * 拉取期间全选框替换为加载指示器 —— 它可能要翻好几页。
3681
+ */
3682
+ onSelectAll?: () => Promise<PickerEntity[]>;
3683
+ /**
3684
+ * `onSelectAll` 失败时触发。
3685
+ *
3686
+ * 组件内没有提示能力,必须由消费方告知用户,否则点了全选毫无反应。
3687
+ */
3688
+ onSelectAllError?: (error: unknown) => void;
3636
3689
  /** 选择模式,默认 `"multiple"` */
3637
3690
  mode?: PickerMode;
3638
3691
  /** 最多可选数量,不传则不限 */
@@ -4096,4 +4149,4 @@ declare const Carousel: CarouselComponent;
4096
4149
  */
4097
4150
  declare function cn(...inputs: ClassValue[]): string;
4098
4151
 
4099
- export { Alert, type AlertProps, type AlertType, AvatarWithGroup as Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, type BreadcrumbSize, 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, DEFAULT_TABS as PERSON_PICKER_DEFAULT_TABS, ENTITY_TYPE_ORDER as PERSON_PICKER_TYPE_ORDER, Pagination, type PaginationProps, type PaginationVariant, PersonPicker, PersonPickerPanel, type PersonPickerPanelProps, type PersonPickerProps, type PickerChangeInfo, type PickerEntity, type PickerEntityType, type PickerExtra, type PickerGroup, type PickerMode, type PickerOrgPathItem, type PickerPaneData, type PickerSection, type PickerSelectedCount, type PickerState, type PickerTabKey, 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, type UsePickerStateOptions, closeHostModal, cn, enUS, formatFileSize, getHostModalParams, isInHostModal, notifyHostModalReady, entityKey as personPickerEntityKey, useComponentConfig, useComponentLocale, useLocale, usePickerState as usePersonPickerState, useSite, zhCN };
4152
+ export { Alert, type AlertProps, type AlertType, AvatarWithGroup as Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbOverflow, type BreadcrumbProps, type BreadcrumbScrollOptions, type BreadcrumbSize, 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, DEFAULT_TABS as PERSON_PICKER_DEFAULT_TABS, ENTITY_TYPE_ORDER as PERSON_PICKER_TYPE_ORDER, Pagination, type PaginationProps, type PaginationVariant, PersonPicker, PersonPickerPanel, type PersonPickerPanelProps, type PersonPickerProps, type PickerChangeInfo, type PickerEntity, type PickerEntityType, type PickerExtra, type PickerGroup, type PickerMode, type PickerOrgPathItem, type PickerPaneData, type PickerSection, type PickerSelectedCount, type PickerState, type PickerTabChangeContext, type PickerTabKey, 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, TagProps, TimePicker, type TimePickerProps, type TimePickerSize, type TimeValue, TooltipProps, type TransformAction, type TransformType, Upload, type UploadFile, type UploadFileStatus, type UploadProps, type UsePickerStateOptions, closeHostModal, cn, enUS, formatFileSize, getHostModalParams, isInHostModal, notifyHostModalReady, entityKey as personPickerEntityKey, useComponentConfig, useComponentLocale, useLocale, usePickerState as usePersonPickerState, useSite, zhCN };