lingee-ui 0.0.18 → 0.0.19
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.
- package/dist/{chunk-L6IXM6OV.mjs → chunk-37FN2W6S.mjs} +1 -1
- package/dist/{chunk-X2JJ6KOR.mjs → chunk-CCBZCPIY.mjs} +1 -1
- package/dist/{chunk-CW6SU5IY.js → chunk-J3T5XUT2.js} +1 -1
- package/dist/chunk-KNH2LJWY.js +1 -0
- package/dist/chunk-MXUM2V3M.mjs +1 -0
- package/dist/chunk-NRQCG6VR.mjs +1 -0
- package/dist/{chunk-QRQE2XPJ.js → chunk-SBUI6O3Q.js} +1 -1
- package/dist/{chunk-KSRZSPQR.js → chunk-Z3ACF2BM.js} +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.mts +467 -2
- package/dist/index.d.ts +467 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/dist/input/index.js +1 -1
- package/dist/input/index.mjs +1 -1
- package/dist/tabs/index.css +1 -1
- package/dist/tabs/index.js +1 -1
- package/dist/tabs/index.mjs +1 -1
- package/dist/toast/index.js +1 -1
- package/dist/toast/index.mjs +1 -1
- package/dist/tokens.css +1 -1
- package/dist/tree/index.js +1 -1
- package/dist/tree/index.mjs +1 -1
- package/package.json +1 -1
- package/skill/AGENTS-SNIPPET.md +13 -4
- package/skill/SKILL.md +6 -4
- package/skill/VERSION.json +3 -3
- package/skill/references/components/breadcrumb.md +44 -0
- package/skill/references/components/checkbox.md +2 -0
- package/skill/references/components/person-picker.md +174 -0
- package/skill/references/setup.md +1 -1
- package/skill/references/tokens.md +10 -3
- package/dist/chunk-3RAHZU2C.js +0 -1
- package/dist/chunk-4OLAOR2B.mjs +0 -1
- package/dist/chunk-XQRQYJIE.mjs +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { B as ButtonProps } from './index-7pb5YOcq.mjs';
|
|
2
2
|
export { a as Button, b as ButtonShape, c as ButtonSize, d as ButtonVariant } from './index-7pb5YOcq.mjs';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
|
-
import React__default, { ReactNode, CSSProperties, HTMLAttributes,
|
|
4
|
+
import React__default, { ReactNode, MouseEvent, CSSProperties, HTMLAttributes, ComponentType, Key, ReactElement, UIEventHandler, Ref } from 'react';
|
|
5
5
|
import { TooltipProps } from './tooltip/index.mjs';
|
|
6
6
|
export { Tooltip, TooltipPlacement } from './tooltip/index.mjs';
|
|
7
7
|
export { TabItem, Tabs, TabsOverflow, TabsProps, TabsScrollOptions, TabsSize, TabsVariant } from './tabs/index.mjs';
|
|
@@ -21,6 +21,64 @@ export { Rule } from 'rc-field-form/es/interface';
|
|
|
21
21
|
import { ClassValue } from 'clsx';
|
|
22
22
|
import 'class-variance-authority/types';
|
|
23
23
|
|
|
24
|
+
/**
|
|
25
|
+
* 尺寸:
|
|
26
|
+
* - `md` 常规 —— 16px 文字,默认斜杠分隔
|
|
27
|
+
* - `sm` 小型 —— 13px 文字,默认尖括号分隔
|
|
28
|
+
*/
|
|
29
|
+
type BreadcrumbSize = "sm" | "md";
|
|
30
|
+
interface BreadcrumbItem {
|
|
31
|
+
/** 唯一标识 */
|
|
32
|
+
key: string;
|
|
33
|
+
/** 文字内容 */
|
|
34
|
+
label?: ReactNode;
|
|
35
|
+
/** 前置图标 */
|
|
36
|
+
icon?: ReactNode;
|
|
37
|
+
/** 链接地址,渲染为 `<a>` */
|
|
38
|
+
href?: string;
|
|
39
|
+
/**
|
|
40
|
+
* 点击回调,渲染为 `<button>`。
|
|
41
|
+
*
|
|
42
|
+
* SPA 内的层级返回应当用它而非 `href` —— 后者会触发整页导航,
|
|
43
|
+
* 丢失路由状态。两者同时给出时以 `href` 为准。
|
|
44
|
+
*
|
|
45
|
+
* 事件对象可选:该项被 `maxItems` 折叠进下拉菜单后,触发源是菜单项而非
|
|
46
|
+
* 面包屑本身,此时不携带事件对象。
|
|
47
|
+
*/
|
|
48
|
+
onClick?: (event?: MouseEvent<HTMLElement>) => void;
|
|
49
|
+
/** 禁用,不可点击也不触发回调 */
|
|
50
|
+
disabled?: boolean;
|
|
51
|
+
}
|
|
52
|
+
interface BreadcrumbProps {
|
|
53
|
+
/** 面包屑数据,最后一项视为当前页(不可点击) */
|
|
54
|
+
items?: BreadcrumbItem[];
|
|
55
|
+
/** 自定义分隔符,不传时按 `size` 取斜杠或尖括号图标 */
|
|
56
|
+
separator?: ReactNode;
|
|
57
|
+
/** 尺寸,默认 `md` */
|
|
58
|
+
size?: BreadcrumbSize;
|
|
59
|
+
/**
|
|
60
|
+
* 可见单元数上限,超出则把中间项收进下拉菜单。
|
|
61
|
+
*
|
|
62
|
+
* 折叠后保留首项与末尾若干项,可见单元总数(含省略号)等于该值。
|
|
63
|
+
* 小于 3 时不折叠 —— 首项、省略号、末项三者缺一,折叠就失去意义。
|
|
64
|
+
*/
|
|
65
|
+
maxItems?: number;
|
|
66
|
+
/** 单项文字最大宽度(px),超出显示省略号 */
|
|
67
|
+
itemMaxWidth?: number;
|
|
68
|
+
/** 传入后在最前面显示返回箭头,点击触发 */
|
|
69
|
+
onBack?: () => void;
|
|
70
|
+
/** 自定义内容,传入时忽略 `items` */
|
|
71
|
+
children?: ReactNode;
|
|
72
|
+
/** 自定义类名 */
|
|
73
|
+
className?: string;
|
|
74
|
+
/** 自定义样式 */
|
|
75
|
+
style?: CSSProperties;
|
|
76
|
+
/** 导航区域的无障碍标签,默认取语言包文案 */
|
|
77
|
+
"aria-label"?: string;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
declare const Breadcrumb: React__default.ForwardRefExoticComponent<BreadcrumbProps & React__default.RefAttributes<HTMLElement>>;
|
|
81
|
+
|
|
24
82
|
interface EllipsisTooltipProps extends Omit<TooltipProps, "children" | "content" | "open" | "onOpenChange" | "container"> {
|
|
25
83
|
/** 提示内容。通常与 children 相同,为空时不弹出 */
|
|
26
84
|
content?: ReactNode;
|
|
@@ -139,6 +197,8 @@ declare const zhCN: {
|
|
|
139
197
|
Breadcrumb: {
|
|
140
198
|
more: string;
|
|
141
199
|
back: string;
|
|
200
|
+
/** nav 的无障碍标签,屏幕阅读器用于播报导航区域用途 */
|
|
201
|
+
label: string;
|
|
142
202
|
};
|
|
143
203
|
Select: {
|
|
144
204
|
loading: string;
|
|
@@ -261,6 +321,31 @@ declare const zhCN: {
|
|
|
261
321
|
empty: string;
|
|
262
322
|
loadError: string;
|
|
263
323
|
};
|
|
324
|
+
PersonPicker: {
|
|
325
|
+
title: string;
|
|
326
|
+
ok: string;
|
|
327
|
+
cancel: string;
|
|
328
|
+
searchPlaceholder: string;
|
|
329
|
+
tabRecentContacts: string;
|
|
330
|
+
tabRecentGroups: string;
|
|
331
|
+
tabOrganization: string;
|
|
332
|
+
tabPerson: string;
|
|
333
|
+
selectAll: string;
|
|
334
|
+
selectedTitle: string;
|
|
335
|
+
/** 同时用作已选区的分组标题与头部统计标签 */
|
|
336
|
+
groupPerson: string;
|
|
337
|
+
groupGroup: string;
|
|
338
|
+
groupOrg: string;
|
|
339
|
+
remove: string;
|
|
340
|
+
drillDown: string;
|
|
341
|
+
/** 统计锚点的无障碍标签前缀,与分组名拼接 */
|
|
342
|
+
jumpTo: string;
|
|
343
|
+
empty: string;
|
|
344
|
+
searchEmpty: string;
|
|
345
|
+
loadFailed: string;
|
|
346
|
+
loadFailedDetail: string;
|
|
347
|
+
retry: string;
|
|
348
|
+
};
|
|
264
349
|
};
|
|
265
350
|
|
|
266
351
|
/** 语言包类型,由 zh-CN 推导结构 */
|
|
@@ -300,6 +385,7 @@ declare const enUS: {
|
|
|
300
385
|
Breadcrumb: {
|
|
301
386
|
more: string;
|
|
302
387
|
back: string;
|
|
388
|
+
label: string;
|
|
303
389
|
};
|
|
304
390
|
Select: {
|
|
305
391
|
loading: string;
|
|
@@ -415,6 +501,31 @@ declare const enUS: {
|
|
|
415
501
|
empty: string;
|
|
416
502
|
loadError: string;
|
|
417
503
|
};
|
|
504
|
+
PersonPicker: {
|
|
505
|
+
title: string;
|
|
506
|
+
ok: string;
|
|
507
|
+
cancel: string;
|
|
508
|
+
searchPlaceholder: string;
|
|
509
|
+
tabRecentContacts: string;
|
|
510
|
+
tabRecentGroups: string;
|
|
511
|
+
tabOrganization: string;
|
|
512
|
+
tabPerson: string;
|
|
513
|
+
selectAll: string;
|
|
514
|
+
selectedTitle: string;
|
|
515
|
+
/** Doubles as the group heading and the header count label */
|
|
516
|
+
groupPerson: string;
|
|
517
|
+
groupGroup: string;
|
|
518
|
+
groupOrg: string;
|
|
519
|
+
remove: string;
|
|
520
|
+
drillDown: string;
|
|
521
|
+
/** Prefix of the anchor's accessible label, joined with the group name */
|
|
522
|
+
jumpTo: string;
|
|
523
|
+
empty: string;
|
|
524
|
+
searchEmpty: string;
|
|
525
|
+
loadFailed: string;
|
|
526
|
+
loadFailedDetail: string;
|
|
527
|
+
retry: string;
|
|
528
|
+
};
|
|
418
529
|
};
|
|
419
530
|
|
|
420
531
|
interface ComponentConfig {
|
|
@@ -1454,6 +1565,16 @@ interface CheckboxProps {
|
|
|
1454
1565
|
name?: string;
|
|
1455
1566
|
/** 原生 value 属性 */
|
|
1456
1567
|
value?: string;
|
|
1568
|
+
/**
|
|
1569
|
+
* 无障碍名称。
|
|
1570
|
+
*
|
|
1571
|
+
* 勾选框的可访问名称默认取自 `children`;当它只有勾选框本身、文字在组件之外时
|
|
1572
|
+
* (如整行另有点击语义、文字区归外层容器),必须用本属性或 `aria-labelledby`
|
|
1573
|
+
* 补上,否则屏幕阅读器只会播报「复选框,未选中」,听不出选的是哪一项。
|
|
1574
|
+
*/
|
|
1575
|
+
"aria-label"?: string;
|
|
1576
|
+
/** 关联外部文本节点作为无障碍名称,与 `aria-label` 二选一 */
|
|
1577
|
+
"aria-labelledby"?: string;
|
|
1457
1578
|
}
|
|
1458
1579
|
interface CheckboxGroupProps {
|
|
1459
1580
|
/** 当前选中值数组(受控) */
|
|
@@ -3261,6 +3382,350 @@ type AvatarType = typeof Avatar & {
|
|
|
3261
3382
|
};
|
|
3262
3383
|
declare const AvatarWithGroup: AvatarType;
|
|
3263
3384
|
|
|
3385
|
+
/**
|
|
3386
|
+
* 可用的 Tab。
|
|
3387
|
+
*
|
|
3388
|
+
* 组件实现了全部四种形态,由 `tabs` 决定开哪些、以什么顺序排列。
|
|
3389
|
+
* 首期业务只开 `org` 与 `person`,另两个待后端提供数据后再放开,届时组件无需改动。
|
|
3390
|
+
*/
|
|
3391
|
+
type PickerTabKey = "recent-contacts" | "recent-groups" | "org" | "person";
|
|
3392
|
+
/** 可被选中的实体种类,决定行的渲染形态与已选区的归组 */
|
|
3393
|
+
type PickerEntityType = "person" | "group" | "org";
|
|
3394
|
+
/**
|
|
3395
|
+
* 选中项的透传业务字段。
|
|
3396
|
+
*
|
|
3397
|
+
* 限定为原始值而非 `unknown`:选中结果要经 postMessage 跨 iframe / webview 回传给
|
|
3398
|
+
* 消费方,函数、ReactNode、DOM 节点与 class 实例都无法结构化克隆,放宽类型等于
|
|
3399
|
+
* 把运行时的 DataCloneError 留到集成阶段才暴露。
|
|
3400
|
+
*/
|
|
3401
|
+
type PickerExtra = Record<string, string | number | boolean | null>;
|
|
3402
|
+
/**
|
|
3403
|
+
* 统一的实体数据 —— 人员、群组、组织共用一种结构。
|
|
3404
|
+
*
|
|
3405
|
+
* 该对象会原样出现在 `onChange` / `onConfirm` 的回传值里,因此**所有字段都必须
|
|
3406
|
+
* 结构化克隆安全**。新增字段前先确认这一点。
|
|
3407
|
+
*/
|
|
3408
|
+
interface PickerEntity {
|
|
3409
|
+
/** 实体种类 */
|
|
3410
|
+
type: PickerEntityType;
|
|
3411
|
+
/** 唯一标识。同一 `type` 内唯一即可,跨 type 允许重复 */
|
|
3412
|
+
id: string;
|
|
3413
|
+
/** 展示名称 */
|
|
3414
|
+
name: string;
|
|
3415
|
+
/** 头像地址。群组头像由后端直接给出合成图,组件不做多图拼合 */
|
|
3416
|
+
avatar?: string;
|
|
3417
|
+
/** 人员工号,展示在姓名之后 */
|
|
3418
|
+
code?: string;
|
|
3419
|
+
/** 人员所属部门名 */
|
|
3420
|
+
deptName?: string;
|
|
3421
|
+
/** 补充描述,展示在名称之后(组织成员数等) */
|
|
3422
|
+
desc?: string;
|
|
3423
|
+
/**
|
|
3424
|
+
* 已选且不可取消(如发起群聊时已在群内的成员)。
|
|
3425
|
+
*
|
|
3426
|
+
* 与 `disabled` 的区别:`locked` 项恒为选中态且不出删除按钮,
|
|
3427
|
+
* `disabled` 项是不可选中。两者不应同时为 true。
|
|
3428
|
+
*
|
|
3429
|
+
* ⚠️ 组件只负责把它渲染成不可取消,**不会自动并入已选**。
|
|
3430
|
+
* 需要它计入已选数量与右栏列表时,消费方要把它一并放进 `value` / `defaultValue`。
|
|
3431
|
+
*/
|
|
3432
|
+
locked?: boolean;
|
|
3433
|
+
/** 不可选中,勾选框置灰 */
|
|
3434
|
+
disabled?: boolean;
|
|
3435
|
+
/**
|
|
3436
|
+
* 是否可继续下钻(渲染行尾箭头)。**仅 `type="org"` 时有意义。**
|
|
3437
|
+
*
|
|
3438
|
+
* 没有为组织单独定义一套类型:组织勾选后同样要进已选区,用两套结构就得在
|
|
3439
|
+
* 勾选时做一次转换,而转换函数迟早会漏掉新增字段。
|
|
3440
|
+
*/
|
|
3441
|
+
hasChildren?: boolean;
|
|
3442
|
+
/** 业务透传字段,随回传值一并交还消费方 */
|
|
3443
|
+
extra?: PickerExtra;
|
|
3444
|
+
}
|
|
3445
|
+
/**
|
|
3446
|
+
* 列表分节。
|
|
3447
|
+
*
|
|
3448
|
+
* 四种 Tab 的列表形态都用它表达:
|
|
3449
|
+
* - 最近联系人 / 最近群组 / 搜索结果 → 单个无标题分节
|
|
3450
|
+
* - 选择人员 → 「负责人」「部门成员」两个带标题的分节
|
|
3451
|
+
*/
|
|
3452
|
+
interface PickerSection {
|
|
3453
|
+
/** 分节唯一标识 */
|
|
3454
|
+
key: string;
|
|
3455
|
+
/** 分节标题,不传则不渲染标题行(扁平列表场景) */
|
|
3456
|
+
title?: ReactNode;
|
|
3457
|
+
/** 分节内的实体 */
|
|
3458
|
+
items: PickerEntity[];
|
|
3459
|
+
}
|
|
3460
|
+
/**
|
|
3461
|
+
* 左栏当前应渲染的数据。
|
|
3462
|
+
*
|
|
3463
|
+
* 组件不持有数据也不缓存:切 Tab、下钻、搜索都只上报回调,由消费方换这份 `data`。
|
|
3464
|
+
* 这样组件无从知晓分页游标与层级缓存,职责边界清晰。
|
|
3465
|
+
*/
|
|
3466
|
+
interface PickerPaneData {
|
|
3467
|
+
/** 实体分节,按数组顺序渲染 */
|
|
3468
|
+
sections?: PickerSection[];
|
|
3469
|
+
/**
|
|
3470
|
+
* 可下钻的子组织,渲染在 `sections` 之后。
|
|
3471
|
+
*
|
|
3472
|
+
* 这些项既能勾选(作为 `type="org"` 的实体进已选区),也能点击行尾箭头下钻。
|
|
3473
|
+
* `hasChildren` 为 false 时不出箭头,`selectable` 另见 `disabled`。
|
|
3474
|
+
*/
|
|
3475
|
+
orgNodes?: PickerEntity[];
|
|
3476
|
+
/**
|
|
3477
|
+
* 是否渲染「全选」行。
|
|
3478
|
+
*
|
|
3479
|
+
* 只作用于 `sections` 内的实体,不含 `orgNodes` —— 下级组织的成员未加载,
|
|
3480
|
+
* 把它们算进全选会让勾选结果与用户所见不一致。
|
|
3481
|
+
*/
|
|
3482
|
+
selectAll?: boolean;
|
|
3483
|
+
}
|
|
3484
|
+
/** 组织层级路径中的一项,用于面包屑回跳 */
|
|
3485
|
+
interface PickerOrgPathItem {
|
|
3486
|
+
/** 组织 id */
|
|
3487
|
+
id: string;
|
|
3488
|
+
/** 组织名称 */
|
|
3489
|
+
name: string;
|
|
3490
|
+
}
|
|
3491
|
+
/** 选择模式。`single` 下新选中项替换旧值 */
|
|
3492
|
+
type PickerMode = "multiple" | "single";
|
|
3493
|
+
/** `onChange` 的附带信息,便于消费方按变更粒度做增量请求 */
|
|
3494
|
+
interface PickerChangeInfo {
|
|
3495
|
+
/** 触发本次变更的实体。清空全部时为 undefined */
|
|
3496
|
+
entity?: PickerEntity;
|
|
3497
|
+
/** 变更后该实体是否处于选中态 */
|
|
3498
|
+
selected: boolean;
|
|
3499
|
+
}
|
|
3500
|
+
/** 已选数量统计,按实体种类分别计数 */
|
|
3501
|
+
interface PickerSelectedCount {
|
|
3502
|
+
person: number;
|
|
3503
|
+
group: number;
|
|
3504
|
+
org: number;
|
|
3505
|
+
}
|
|
3506
|
+
/**
|
|
3507
|
+
* 内容体属性 —— 不含弹窗外壳。
|
|
3508
|
+
*
|
|
3509
|
+
* 单独抽出是为了接 `hostModal`:客户端 webview 内的遮罩盖不住客户端侧边栏,
|
|
3510
|
+
* 必须由宿主在更外层开窗、加载一条独立承载路由,而承载页只能渲染内容体。
|
|
3511
|
+
*/
|
|
3512
|
+
interface PersonPickerPanelProps {
|
|
3513
|
+
/**
|
|
3514
|
+
* 启用的 Tab 及其顺序,默认 `["org", "person"]`。
|
|
3515
|
+
*
|
|
3516
|
+
* 仅剩一个 Tab 时不渲染 Tab 栏,省出的高度让给列表 —— 单个页签没有切换语义。
|
|
3517
|
+
*/
|
|
3518
|
+
tabs?: PickerTabKey[];
|
|
3519
|
+
/** 当前 Tab(受控) */
|
|
3520
|
+
activeTab?: PickerTabKey;
|
|
3521
|
+
/** 默认 Tab,缺省取 `tabs` 首项 */
|
|
3522
|
+
defaultActiveTab?: PickerTabKey;
|
|
3523
|
+
/** Tab 切换回调 */
|
|
3524
|
+
onTabChange?: (key: PickerTabKey) => void;
|
|
3525
|
+
/** 覆盖 Tab 文案,不传时取语言包 */
|
|
3526
|
+
tabLabels?: Partial<Record<PickerTabKey, ReactNode>>;
|
|
3527
|
+
/** 左栏当前要渲染的数据 */
|
|
3528
|
+
data?: PickerPaneData;
|
|
3529
|
+
/**
|
|
3530
|
+
* 首屏加载中,展示骨架屏。优先级高于 `loadError`。
|
|
3531
|
+
*
|
|
3532
|
+
* ⚠️ **只用于首屏与换批**(首次打开、切页签、下钻、搜索),
|
|
3533
|
+
* 追加下一页时不要置为 true —— 那会让已加载的内容整片消失换成骨架。
|
|
3534
|
+
* 追加的加载态由 `onLoadMore` 返回的 Promise 自动驱动。
|
|
3535
|
+
*/
|
|
3536
|
+
loading?: boolean;
|
|
3537
|
+
/**
|
|
3538
|
+
* 骨架屏的延迟显示毫秒数,默认 200。
|
|
3539
|
+
*
|
|
3540
|
+
* 下钻、切页签这类二次请求往往很快返回,立刻铺骨架会造成一次白闪。
|
|
3541
|
+
* 延迟期内若已有内容就继续显示旧内容,请求在延迟内完成则用户完全看不到骨架;
|
|
3542
|
+
* 当前没有任何内容可展示时(首次打开,或消费方主动清空了 `data`)
|
|
3543
|
+
* 不等延迟、立即显示骨架,避免一段空白。
|
|
3544
|
+
*
|
|
3545
|
+
* 要消除二次请求的闪烁,消费方需在 `loading` 期间**保留上一批 `data`**
|
|
3546
|
+
* (React Query 的 `placeholderData` / `keepPreviousData` 即此行为)。
|
|
3547
|
+
* 传 0 可恢复「立即显示骨架」。
|
|
3548
|
+
*/
|
|
3549
|
+
loadingDelay?: number;
|
|
3550
|
+
/** 加载失败,展示失败占位 */
|
|
3551
|
+
loadError?: boolean;
|
|
3552
|
+
/** 失败重试回调,传入后失败占位可点击 */
|
|
3553
|
+
onRetry?: () => void;
|
|
3554
|
+
/** 列表是否还有下一页 */
|
|
3555
|
+
hasMore?: boolean;
|
|
3556
|
+
/**
|
|
3557
|
+
* 加载下一页,须返回 Promise —— 组件靠它判断加载何时结束,
|
|
3558
|
+
* 进而决定是否继续续拉(首屏未填满时)或进入失败态。
|
|
3559
|
+
*
|
|
3560
|
+
* 分页游标由消费方持有:组件只在滚动触底时发出信号,不参与请求与状态记账。
|
|
3561
|
+
* 切页签、下钻、改搜索词后记得重置游标,否则下一页会接到上一批数据后面。
|
|
3562
|
+
*/
|
|
3563
|
+
onLoadMore?: (isRetry: boolean) => Promise<void>;
|
|
3564
|
+
/** 已选项(受控) */
|
|
3565
|
+
value?: PickerEntity[];
|
|
3566
|
+
/** 默认已选项(非受控) */
|
|
3567
|
+
defaultValue?: PickerEntity[];
|
|
3568
|
+
/** 已选项变化回调 */
|
|
3569
|
+
onChange?: (value: PickerEntity[], info: PickerChangeInfo) => void;
|
|
3570
|
+
/**
|
|
3571
|
+
* 搜索词(受控)。
|
|
3572
|
+
*
|
|
3573
|
+
* 非空即进入搜索态:隐藏 Tab 栏与面包屑,列表直接渲染 `data.sections`。
|
|
3574
|
+
* 不传时组件用内部 state 托管输入值,消费方只需响应 `onSearch`。
|
|
3575
|
+
*/
|
|
3576
|
+
keyword?: string;
|
|
3577
|
+
/** 搜索词变化回调,已按 `searchDebounce` 去抖 */
|
|
3578
|
+
onSearch?: (keyword: string) => void;
|
|
3579
|
+
/** 搜索去抖毫秒数,默认 300 */
|
|
3580
|
+
searchDebounce?: number;
|
|
3581
|
+
/** 搜索框 placeholder,不传时取语言包 */
|
|
3582
|
+
searchPlaceholder?: string;
|
|
3583
|
+
/**
|
|
3584
|
+
* 当前所在的组织层级路径(受控),不含根节点。
|
|
3585
|
+
*
|
|
3586
|
+
* 根节点由组件自绘为房屋图标,消费方只给实际层级。空数组表示停在根层。
|
|
3587
|
+
*/
|
|
3588
|
+
orgPath?: PickerOrgPathItem[];
|
|
3589
|
+
/** 层级变化回调:点面包屑回跳、点行尾箭头下钻都会触发 */
|
|
3590
|
+
onOrgPathChange?: (path: PickerOrgPathItem[]) => void;
|
|
3591
|
+
/** 选择模式,默认 `"multiple"` */
|
|
3592
|
+
mode?: PickerMode;
|
|
3593
|
+
/** 最多可选数量,不传则不限 */
|
|
3594
|
+
max?: number;
|
|
3595
|
+
/** 选中数量将超过 `max` 时触发,此时本次勾选被丢弃 */
|
|
3596
|
+
onExceed?: (max: number) => void;
|
|
3597
|
+
/**
|
|
3598
|
+
* 左右分栏的高度,默认 406(设计稿固定值)。
|
|
3599
|
+
*
|
|
3600
|
+
* - `number` —— 固定像素高
|
|
3601
|
+
* - `"fill"` —— 撑满父容器剩余空间
|
|
3602
|
+
*
|
|
3603
|
+
* `"fill"` 用于**嵌入形态**:内容体作为别人弹窗里的一个区域时(如产物分享弹窗的
|
|
3604
|
+
* 选人区,下方还有权限与有效期表单),面板高度应由外层布局决定,而不是写死一个
|
|
3605
|
+
* 像素值 —— 写死的话外层弹窗尺寸一变就得回来重算。
|
|
3606
|
+
*
|
|
3607
|
+
* ⚠️ `"fill"` 要求**父容器有确定高度**(如 flex 布局中的 `flex: 1` 容器,或
|
|
3608
|
+
* `HostModalPage` 这类铺满视口的容器)。父容器高度由内容决定时会塌成 0。
|
|
3609
|
+
*
|
|
3610
|
+
* 弹窗形态(`PersonPicker`)下不要用 `"fill"`:Dialog 的 body 高度随内容自适应,
|
|
3611
|
+
* 没有可填充的确定高度。
|
|
3612
|
+
*/
|
|
3613
|
+
paneHeight?: number | "fill";
|
|
3614
|
+
/** 自定义类名 */
|
|
3615
|
+
className?: string;
|
|
3616
|
+
/** 自定义样式 */
|
|
3617
|
+
style?: CSSProperties;
|
|
3618
|
+
}
|
|
3619
|
+
/** 带弹窗外壳的完整选人组件属性 */
|
|
3620
|
+
interface PersonPickerProps extends PersonPickerPanelProps {
|
|
3621
|
+
/**
|
|
3622
|
+
* 宿主弹窗配置,透传给内部 `Dialog`。
|
|
3623
|
+
*
|
|
3624
|
+
* 客户端 webview 内的遮罩盖不住客户端侧边栏,传入后由宿主在更外层开窗、加载
|
|
3625
|
+
* `route` 指向的承载路由;浏览器顶层或宿主拒绝承载时自动回退本地渲染。
|
|
3626
|
+
*
|
|
3627
|
+
* ⚠️ **承载模式下本组件完全不产出 DOM**,因此:
|
|
3628
|
+
* - 底部的确认 / 取消按钮不会渲染,需由承载页自绘(参考 `HostModalPage` 的用法)
|
|
3629
|
+
* - `onConfirm` 不会触发,选中结果经 `hostModal.onResult` 回传
|
|
3630
|
+
* - `okText` / `cancelText` / `okLoading` / `okDisabledWhenEmpty` 只作用于回退路径
|
|
3631
|
+
*
|
|
3632
|
+
* 承载页内应使用 `PersonPickerPanel`(不含弹窗外壳)并自行提供底部按钮。
|
|
3633
|
+
*/
|
|
3634
|
+
hostModal?: DialogHostModal;
|
|
3635
|
+
/** 是否打开(受控) */
|
|
3636
|
+
open: boolean;
|
|
3637
|
+
/** 开关状态变化回调 */
|
|
3638
|
+
onOpenChange: (open: boolean) => void;
|
|
3639
|
+
/** 标题,不传时取语言包。「发起群聊」等场景在此覆盖 */
|
|
3640
|
+
title?: ReactNode;
|
|
3641
|
+
/** 确认按钮文案,不传时取语言包 */
|
|
3642
|
+
okText?: string;
|
|
3643
|
+
/** 取消按钮文案,不传时取语言包 */
|
|
3644
|
+
cancelText?: string;
|
|
3645
|
+
/** 确认按钮 loading */
|
|
3646
|
+
okLoading?: boolean;
|
|
3647
|
+
/** 未选中任何项时禁用确认按钮,默认 true */
|
|
3648
|
+
okDisabledWhenEmpty?: boolean;
|
|
3649
|
+
/** 点击确认,回传已选项。返回 Promise 时按钮自动进入 loading */
|
|
3650
|
+
onConfirm?: (value: PickerEntity[]) => void | Promise<void>;
|
|
3651
|
+
/** 点击取消或关闭 */
|
|
3652
|
+
onCancel?: () => void;
|
|
3653
|
+
/** 弹窗宽度,默认 720(设计稿固定值) */
|
|
3654
|
+
width?: number;
|
|
3655
|
+
/** 自定义 z-index */
|
|
3656
|
+
zIndex?: number;
|
|
3657
|
+
}
|
|
3658
|
+
|
|
3659
|
+
/** 首期业务只开组织与人员两个页签,另两个待后端提供数据后由消费方放开 */
|
|
3660
|
+
declare const DEFAULT_TABS: PickerTabKey[];
|
|
3661
|
+
/**
|
|
3662
|
+
* 选人内容体 —— 左右分栏,不含弹窗外壳。
|
|
3663
|
+
*
|
|
3664
|
+
* 单独导出是为了接 `hostModal`:客户端 webview 内的遮罩盖不住客户端侧边栏,
|
|
3665
|
+
* 需由宿主在更外层开窗并加载一条独立承载路由,而承载页只能渲染内容体。
|
|
3666
|
+
*
|
|
3667
|
+
* 组件不发请求、不缓存数据:切页签、下钻、搜索都只上报回调,由消费方替换 `data`。
|
|
3668
|
+
*/
|
|
3669
|
+
declare const PersonPickerPanel: React__default.ForwardRefExoticComponent<PersonPickerPanelProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
3670
|
+
|
|
3671
|
+
/**
|
|
3672
|
+
* 实体唯一键。
|
|
3673
|
+
*
|
|
3674
|
+
* `id` 只保证在同一 `type` 内唯一(人员与组织来自不同的后端表,id 完全可能撞号),
|
|
3675
|
+
* 因此去重、勾选态判定一律用这个复合键,不要直接拿 `id` 比。
|
|
3676
|
+
*/
|
|
3677
|
+
declare function entityKey(entity: Pick<PickerEntity, "type" | "id">): string;
|
|
3678
|
+
/** 已选区的分组顺序,与设计稿一致 */
|
|
3679
|
+
declare const ENTITY_TYPE_ORDER: PickerEntityType[];
|
|
3680
|
+
/** 按实体种类归组后的已选项 */
|
|
3681
|
+
interface PickerGroup {
|
|
3682
|
+
type: PickerEntityType;
|
|
3683
|
+
items: PickerEntity[];
|
|
3684
|
+
}
|
|
3685
|
+
interface UsePickerStateOptions {
|
|
3686
|
+
value?: PickerEntity[];
|
|
3687
|
+
defaultValue?: PickerEntity[];
|
|
3688
|
+
mode: PickerMode;
|
|
3689
|
+
max?: number;
|
|
3690
|
+
onChange?: (value: PickerEntity[], info: PickerChangeInfo) => void;
|
|
3691
|
+
onExceed?: (max: number) => void;
|
|
3692
|
+
}
|
|
3693
|
+
interface PickerState {
|
|
3694
|
+
/** 当前已选项 */
|
|
3695
|
+
selected: PickerEntity[];
|
|
3696
|
+
/** 已选项的复合键集合,用于 O(1) 判定勾选态 */
|
|
3697
|
+
selectedKeys: Set<string>;
|
|
3698
|
+
/** 按种类分组(空组已剔除),顺序为人员 → 群组 → 组织 */
|
|
3699
|
+
groups: PickerGroup[];
|
|
3700
|
+
/** 各种类的已选数量 */
|
|
3701
|
+
count: PickerSelectedCount;
|
|
3702
|
+
/** 勾选 / 取消勾选单项 */
|
|
3703
|
+
toggle: (entity: PickerEntity, next: boolean) => void;
|
|
3704
|
+
/** 批量设置勾选态,用于「全选」行 */
|
|
3705
|
+
toggleMany: (entities: PickerEntity[], next: boolean) => void;
|
|
3706
|
+
/** 从已选区移除 */
|
|
3707
|
+
remove: (entity: PickerEntity) => void;
|
|
3708
|
+
}
|
|
3709
|
+
/**
|
|
3710
|
+
* 已选项状态。受控优先,未传 `value` 时用内部 state 托管。
|
|
3711
|
+
*
|
|
3712
|
+
* 所有写操作都走 `commit`,受控模式下只上报不自改 —— 否则受控值与内部值会分叉,
|
|
3713
|
+
* 表现为消费方拒绝某次变更后 UI 仍显示已变更。
|
|
3714
|
+
*/
|
|
3715
|
+
declare function usePickerState(options: UsePickerStateOptions): PickerState;
|
|
3716
|
+
|
|
3717
|
+
/**
|
|
3718
|
+
* PersonPicker 选人
|
|
3719
|
+
*
|
|
3720
|
+
* 弹窗形态的组织人员选择器:左侧按页签浏览组织、人员、最近联系人与群组,右侧汇总已选项。
|
|
3721
|
+
* 组件只负责视觉与交互,**不发任何请求** —— 列表数据、分页、搜索结果与组织层级全部由
|
|
3722
|
+
* 消费方通过 props 注入,交互意图经回调上报。
|
|
3723
|
+
*
|
|
3724
|
+
* 确认时回传的 `PickerEntity[]` 保证结构化克隆安全,可直接经 postMessage 跨 iframe /
|
|
3725
|
+
* webview 交给宿主。
|
|
3726
|
+
*/
|
|
3727
|
+
declare const PersonPicker: React__default.FC<PersonPickerProps>;
|
|
3728
|
+
|
|
3264
3729
|
/** 文件上传状态 */
|
|
3265
3730
|
type UploadFileStatus = "ready" | "uploading" | "done" | "error";
|
|
3266
3731
|
/** 上传文件对象 */
|
|
@@ -3586,4 +4051,4 @@ declare const Carousel: CarouselComponent;
|
|
|
3586
4051
|
*/
|
|
3587
4052
|
declare function cn(...inputs: ClassValue[]): string;
|
|
3588
4053
|
|
|
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 };
|
|
4054
|
+
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 };
|