lingee-ui 0.0.8 → 0.0.9
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/button/index.css +1 -1
- package/dist/{chunk-TO3JLUBX.mjs → chunk-6M7ESUQX.mjs} +1 -1
- package/dist/{chunk-3U36GSZF.js → chunk-C5BDJQIO.js} +1 -1
- package/dist/chunk-H7GT6UT4.mjs +1 -0
- package/dist/{chunk-PKNSR23I.mjs → chunk-IE7TAOTL.mjs} +1 -1
- package/dist/{chunk-AEPAJEIR.js → chunk-QIMQMSJB.js} +1 -1
- package/dist/chunk-WAYZVZQB.js +1 -0
- package/dist/{chunk-AP6UHKTU.mjs → chunk-XG3DE76O.mjs} +1 -1
- package/dist/{chunk-VHOWVMZ3.js → chunk-ZXUYGVWB.js} +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.mts +477 -16
- package/dist/index.d.ts +477 -16
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/dist/input/index.css +1 -1
- 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/textarea/index.css +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.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 +19 -18
- package/skill/SKILL.md +17 -14
- package/skill/VERSION.json +3 -3
- package/skill/references/components/dropdown.md +32 -2
- package/skill/references/components/ellipsis-tooltip.md +44 -0
- package/skill/references/components/sidebar.md +13 -3
- package/skill/references/setup.md +1 -1
- package/skill/references/tokens.md +16 -16
- package/dist/chunk-7TZ6IXXG.js +0 -1
- package/dist/chunk-QBEHOXXU.mjs +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { B as ButtonProps } from './index-7pb5YOcq.js';
|
|
2
2
|
export { a as Button, b as ButtonShape, c as ButtonSize, d as ButtonVariant } from './index-7pb5YOcq.js';
|
|
3
|
+
import * as React$1 from 'react';
|
|
4
|
+
import React__default, { ReactNode, CSSProperties, HTMLAttributes, MouseEvent, ComponentType, Key, ReactElement, UIEventHandler, Ref } from 'react';
|
|
5
|
+
import { TooltipProps } from './tooltip/index.js';
|
|
6
|
+
export { Tooltip, TooltipPlacement } from './tooltip/index.js';
|
|
3
7
|
export { TabItem, Tabs, TabsProps, TabsSize, TabsVariant } from './tabs/index.js';
|
|
4
|
-
export { Tooltip, TooltipPlacement, TooltipProps } from './tooltip/index.js';
|
|
5
8
|
import { PopoverContentProps } from './popover/index.js';
|
|
6
9
|
export { Popover, PopoverAnchor, PopoverAnchorProps, PopoverArrow, PopoverArrowProps, PopoverClose, PopoverCloseProps, PopoverContent, PopoverPlacement, PopoverProps, PopoverTrigger, PopoverTriggerProps } from './popover/index.js';
|
|
7
10
|
export { Switch, SwitchProps, SwitchSize } from './switch/index.js';
|
|
@@ -9,8 +12,6 @@ export { Input, InputProps, InputShape, InputSize } from './input/index.js';
|
|
|
9
12
|
export { Textarea, TextareaProps } from './textarea/index.js';
|
|
10
13
|
export { ToastConfig, ToastGlobalConfig, ToastType, toast } from './toast/index.js';
|
|
11
14
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
12
|
-
import * as React$1 from 'react';
|
|
13
|
-
import React__default, { ReactNode, HTMLAttributes, MouseEvent, CSSProperties, ComponentType, Key, ReactElement, UIEventHandler, Ref } from 'react';
|
|
14
15
|
import { L as LgSize } from './index-B5SLxsZP.js';
|
|
15
16
|
export { a as LgShape, b as LgVariant } from './index-B5SLxsZP.js';
|
|
16
17
|
import { SvgIconProps } from 'lingee-icon';
|
|
@@ -20,6 +21,55 @@ export { Rule } from 'rc-field-form/es/interface';
|
|
|
20
21
|
import { ClassValue } from 'clsx';
|
|
21
22
|
import 'class-variance-authority/types';
|
|
22
23
|
|
|
24
|
+
interface EllipsisTooltipProps extends Omit<TooltipProps, "children" | "content" | "open" | "onOpenChange" | "container"> {
|
|
25
|
+
/** 提示内容。通常与 children 相同,为空时不弹出 */
|
|
26
|
+
content?: ReactNode;
|
|
27
|
+
children?: ReactNode;
|
|
28
|
+
/**
|
|
29
|
+
* 容器标签。默认 span —— 可安全嵌入 button 等仅接受
|
|
30
|
+
* phrasing content 的元素内
|
|
31
|
+
*/
|
|
32
|
+
as?: "span" | "div";
|
|
33
|
+
/**
|
|
34
|
+
* 是否自带单行省略样式,默认 true。
|
|
35
|
+
* 关闭后省略表现由消费方的 className 决定(如多行截断场景)
|
|
36
|
+
*/
|
|
37
|
+
ellipsis?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* 触发阈值(0~1)。文本宽度超过 `容器宽度 × threshold` 时弹出,
|
|
40
|
+
* 默认 1 即真正溢出才弹。调小可在接近溢出时提前提示
|
|
41
|
+
*/
|
|
42
|
+
threshold?: number;
|
|
43
|
+
/**
|
|
44
|
+
* 提示内容的最大字符数,超出截断并追加省略号,默认 2000。
|
|
45
|
+
* 超长文本会让提示浮层占据过大空间
|
|
46
|
+
*/
|
|
47
|
+
maxLength?: number;
|
|
48
|
+
/**
|
|
49
|
+
* 祖先容器的 className。传入后提示浮层的最大宽度对齐该祖先宽度,
|
|
50
|
+
* 用于让提示不超出所在卡片/胶囊的视觉边界
|
|
51
|
+
*/
|
|
52
|
+
anchorClassName?: string;
|
|
53
|
+
/**
|
|
54
|
+
* 浮层挂载容器。接收触发节点并返回容器 ——
|
|
55
|
+
* 用于在 overflow 裁剪的滚动容器内就地挂载
|
|
56
|
+
*/
|
|
57
|
+
getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
|
|
58
|
+
className?: string;
|
|
59
|
+
style?: CSSProperties;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* EllipsisTooltip 省略提示
|
|
64
|
+
*
|
|
65
|
+
* 仅在文本真正被截断时才弹出提示 —— 无条件挂 Tooltip 会让未截断的文本
|
|
66
|
+
* 也弹出重复内容,形成干扰。
|
|
67
|
+
*
|
|
68
|
+
* 用受控 open 而非 Tooltip 的 disabled:disabled 时 Radix Root 不渲染,
|
|
69
|
+
* onOpenChange 不触发,就拿不到 hover 这个测量时机。
|
|
70
|
+
*/
|
|
71
|
+
declare const EllipsisTooltip: React__default.ForwardRefExoticComponent<EllipsisTooltipProps & React__default.RefAttributes<HTMLElement>>;
|
|
72
|
+
|
|
23
73
|
/**
|
|
24
74
|
* 中文语言包(默认语言)
|
|
25
75
|
* 按组件名为 key 组织翻译文案
|
|
@@ -39,6 +89,9 @@ declare const zhCN: {
|
|
|
39
89
|
};
|
|
40
90
|
Dropdown: {
|
|
41
91
|
clear: string;
|
|
92
|
+
loading: string;
|
|
93
|
+
loadError: string;
|
|
94
|
+
empty: string;
|
|
42
95
|
};
|
|
43
96
|
Tabs: {
|
|
44
97
|
scrollLeft: string;
|
|
@@ -148,6 +201,9 @@ declare const enUS: {
|
|
|
148
201
|
};
|
|
149
202
|
Dropdown: {
|
|
150
203
|
clear: string;
|
|
204
|
+
loading: string;
|
|
205
|
+
loadError: string;
|
|
206
|
+
empty: string;
|
|
151
207
|
};
|
|
152
208
|
Tabs: {
|
|
153
209
|
scrollLeft: string;
|
|
@@ -511,6 +567,23 @@ interface DropdownLabelData {
|
|
|
511
567
|
}
|
|
512
568
|
/** items 快捷模式的数据项类型 */
|
|
513
569
|
type DropdownItemData = DropdownMenuItemData | DropdownSeparatorData | DropdownLabelData;
|
|
570
|
+
/** 面板三态。与 Empty.Card 的 status 同名同义 */
|
|
571
|
+
type DropdownStatusType = "loading" | "empty" | "error";
|
|
572
|
+
/** 三态文案覆盖。未提供的键回落到 locale 内置文案 */
|
|
573
|
+
interface DropdownStatusText {
|
|
574
|
+
loading?: ReactNode;
|
|
575
|
+
empty?: ReactNode;
|
|
576
|
+
error?: ReactNode;
|
|
577
|
+
}
|
|
578
|
+
interface DropdownStatusProps {
|
|
579
|
+
status: DropdownStatusType;
|
|
580
|
+
/** 覆盖该状态的默认文案 */
|
|
581
|
+
description?: ReactNode;
|
|
582
|
+
/** 重试回调。仅 status="error" 时生效,传入后占位整体可点击 */
|
|
583
|
+
onRetry?: () => void;
|
|
584
|
+
/** 额外类名 */
|
|
585
|
+
className?: string;
|
|
586
|
+
}
|
|
514
587
|
interface DropdownProps {
|
|
515
588
|
/** 子元素(Trigger + Content),或仅 Trigger 元素(配合 items 快捷模式) */
|
|
516
589
|
children: ReactNode;
|
|
@@ -533,11 +606,22 @@ interface DropdownProps {
|
|
|
533
606
|
contentProps?: Omit<DropdownContentProps, "children">;
|
|
534
607
|
/** 当前选中的 item key 列表,匹配的项会显示勾选图标 */
|
|
535
608
|
selectedKeys?: string[];
|
|
536
|
-
/** 加载中状态,为 true
|
|
609
|
+
/** 加载中状态,为 true 时面板显示加载占位 */
|
|
537
610
|
loading?: boolean;
|
|
538
|
-
/**
|
|
611
|
+
/**
|
|
612
|
+
* 加载失败状态,为 true 时面板显示失败占位。
|
|
613
|
+
* 优先级低于 loading(重试期间应展示加载中而非上一次的失败)
|
|
614
|
+
*/
|
|
615
|
+
loadError?: boolean;
|
|
616
|
+
/** 加载失败时的重试回调,传入后失败占位整体可点击 */
|
|
617
|
+
onRetry?: () => void;
|
|
618
|
+
/** 覆盖三态占位的默认文案,未传的键走 locale 内置文案 */
|
|
619
|
+
statusText?: DropdownStatusText;
|
|
620
|
+
/** 自定义加载中渲染内容,覆盖默认占位 */
|
|
539
621
|
loadingContent?: ReactNode;
|
|
540
|
-
/**
|
|
622
|
+
/** 自定义失败渲染内容,覆盖默认占位 */
|
|
623
|
+
errorContent?: ReactNode;
|
|
624
|
+
/** 自定义空态渲染内容(items 为空数组且非 loading / loadError 时显示) */
|
|
541
625
|
emptyContent?: ReactNode;
|
|
542
626
|
/**
|
|
543
627
|
* 自定义面板渲染,参数 menu 为默认渲染的菜单项列表
|
|
@@ -664,6 +748,11 @@ interface DropdownSubTriggerProps {
|
|
|
664
748
|
disabled?: boolean;
|
|
665
749
|
/** 前置图标 */
|
|
666
750
|
icon?: ReactNode;
|
|
751
|
+
/**
|
|
752
|
+
* 鼠标进入回调,在组件内部展开子菜单的逻辑之后执行。
|
|
753
|
+
* 用于「展开时才拉取数据」这类懒加载场景
|
|
754
|
+
*/
|
|
755
|
+
onMouseEnter?: React__default.MouseEventHandler<HTMLDivElement>;
|
|
667
756
|
}
|
|
668
757
|
interface DropdownSubContentProps extends Pick<PopoverContentProps, "side" | "align" | "sideOffset" | "alignOffset" | "className" | "collisionPadding" | "container"> {
|
|
669
758
|
/** 子菜单面板内容 */
|
|
@@ -708,7 +797,7 @@ interface DropdownButtonProps extends Omit<React__default.ButtonHTMLAttributes<H
|
|
|
708
797
|
|
|
709
798
|
declare const DropdownButton: React__default.ForwardRefExoticComponent<DropdownButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
710
799
|
|
|
711
|
-
declare function Dropdown({ children, open, defaultOpen, onOpenChange, modal, disabled, items, contentProps, selectedKeys, loading, loadingContent, emptyContent, dropdownRender, header, footer, }: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
800
|
+
declare function Dropdown({ children, open, defaultOpen, onOpenChange, modal, disabled, items, contentProps, selectedKeys, loading, loadError, onRetry, statusText, loadingContent, errorContent, emptyContent, dropdownRender, header, footer, }: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
712
801
|
declare namespace Dropdown {
|
|
713
802
|
var displayName: string;
|
|
714
803
|
}
|
|
@@ -729,6 +818,21 @@ declare function DropdownSeparator({ className }: DropdownSeparatorProps): react
|
|
|
729
818
|
declare namespace DropdownSeparator {
|
|
730
819
|
var displayName: string;
|
|
731
820
|
}
|
|
821
|
+
/**
|
|
822
|
+
* 面板内的加载 / 空 / 失败占位。
|
|
823
|
+
*
|
|
824
|
+
* 复用 Empty.Card 的默认块级形态(variant="block" + spacing="normal"):
|
|
825
|
+
* 三态共用同一 min-height,面板在「加载中 → 有数据 / 空 / 失败」之间
|
|
826
|
+
* 切换时高度不变。不要压 spacing —— 去掉留白后图标与文字紧贴,
|
|
827
|
+
* 看起来会像行内轻量提示而非块级占位。
|
|
828
|
+
*
|
|
829
|
+
* 文案不内置在 Empty.Card 层,改由此处从 locale 取默认值,
|
|
830
|
+
* 消费方通过 description 覆盖,这样多语言无需每个调用点重复传参。
|
|
831
|
+
*/
|
|
832
|
+
declare function DropdownStatus({ status, description, onRetry, className }: DropdownStatusProps): react_jsx_runtime.JSX.Element;
|
|
833
|
+
declare namespace DropdownStatus {
|
|
834
|
+
var displayName: string;
|
|
835
|
+
}
|
|
732
836
|
declare function DropdownGroup({ children }: DropdownGroupProps): react_jsx_runtime.JSX.Element;
|
|
733
837
|
declare namespace DropdownGroup {
|
|
734
838
|
var displayName: string;
|
|
@@ -1152,6 +1256,226 @@ declare const Empty: React__default.ForwardRefExoticComponent<EmptyProps & React
|
|
|
1152
1256
|
Card: React__default.ForwardRefExoticComponent<EmptyCardProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1153
1257
|
};
|
|
1154
1258
|
|
|
1259
|
+
/** 附件/截图元信息 */
|
|
1260
|
+
interface FeedbackAttachment {
|
|
1261
|
+
name: string;
|
|
1262
|
+
/** 文件大小(字节) */
|
|
1263
|
+
size?: number;
|
|
1264
|
+
/** 访问 URL(图片用于预览,附件用于下载) */
|
|
1265
|
+
url?: string;
|
|
1266
|
+
/** 是否图片:图片走缩略图预览,其余走附件卡片 */
|
|
1267
|
+
isImage?: boolean;
|
|
1268
|
+
/** MIME 或扩展名,用于取附件图标 */
|
|
1269
|
+
fileType?: string;
|
|
1270
|
+
}
|
|
1271
|
+
/** 反馈处理状态 */
|
|
1272
|
+
type FeedbackStatus = "pending" | "replied";
|
|
1273
|
+
/** 历史列表项 */
|
|
1274
|
+
interface FeedbackHistoryItem {
|
|
1275
|
+
id: string;
|
|
1276
|
+
title: string;
|
|
1277
|
+
status: FeedbackStatus;
|
|
1278
|
+
/**
|
|
1279
|
+
* 回复已读态。false = 有未读回复(画红点);true = 已读;
|
|
1280
|
+
* null/undefined = 未回复或后端未上线 —— 三态必须区分,
|
|
1281
|
+
* 否则未回复的工单会全部亮红点
|
|
1282
|
+
*/
|
|
1283
|
+
replyRead?: boolean | null;
|
|
1284
|
+
}
|
|
1285
|
+
/** 官方回复 */
|
|
1286
|
+
interface FeedbackReply {
|
|
1287
|
+
replyContent?: string;
|
|
1288
|
+
attachments?: FeedbackAttachment[];
|
|
1289
|
+
}
|
|
1290
|
+
/** 相似问题 */
|
|
1291
|
+
interface FeedbackSimilarItem {
|
|
1292
|
+
id: string;
|
|
1293
|
+
title: string;
|
|
1294
|
+
description?: string;
|
|
1295
|
+
voteCount: number;
|
|
1296
|
+
voted?: boolean;
|
|
1297
|
+
attachments?: FeedbackAttachment[];
|
|
1298
|
+
}
|
|
1299
|
+
/** 历史详情 */
|
|
1300
|
+
interface FeedbackHistoryDetail {
|
|
1301
|
+
id: string;
|
|
1302
|
+
description: string;
|
|
1303
|
+
images?: FeedbackAttachment[];
|
|
1304
|
+
attachments?: FeedbackAttachment[];
|
|
1305
|
+
/** 是否允许读取当前对话信息,为真时展示告知卡片 */
|
|
1306
|
+
allowSessionView?: boolean;
|
|
1307
|
+
reply?: FeedbackReply;
|
|
1308
|
+
/** 详情响应携带的是查看前的旧值,据此高亮「新回复」 */
|
|
1309
|
+
replyRead?: boolean | null;
|
|
1310
|
+
similar?: FeedbackSimilarItem[];
|
|
1311
|
+
}
|
|
1312
|
+
type FeedbackTabKey = "submit" | "history";
|
|
1313
|
+
interface SidebarFeedbackModalProps {
|
|
1314
|
+
open: boolean;
|
|
1315
|
+
/** 关闭请求。遮罩点击已禁用,仅右上角关闭按钮与取消触发 */
|
|
1316
|
+
onClose: () => void;
|
|
1317
|
+
activeTab: FeedbackTabKey;
|
|
1318
|
+
onTabChange: (key: FeedbackTabKey) => void;
|
|
1319
|
+
/** 提交页签文案 */
|
|
1320
|
+
submitTabLabel: ReactNode;
|
|
1321
|
+
/** 历史页签文案 */
|
|
1322
|
+
historyTabLabel: ReactNode;
|
|
1323
|
+
/** 历史页签是否显示未读红点 */
|
|
1324
|
+
historyUnread?: boolean;
|
|
1325
|
+
/** 关闭按钮无障碍标签 */
|
|
1326
|
+
closeLabel?: string;
|
|
1327
|
+
/** 提交面板内容 */
|
|
1328
|
+
submitPanel?: ReactNode;
|
|
1329
|
+
/**
|
|
1330
|
+
* 历史面板内容。
|
|
1331
|
+
* 首次切到历史页签后才挂载,避免无谓请求 —— 由消费方控制传入时机
|
|
1332
|
+
*/
|
|
1333
|
+
historyPanel?: ReactNode;
|
|
1334
|
+
className?: string;
|
|
1335
|
+
style?: CSSProperties;
|
|
1336
|
+
}
|
|
1337
|
+
interface SidebarFeedbackSubmitPanelProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
1338
|
+
/** 顶部提示条(会话内打开时的说明),传 null 不渲染 */
|
|
1339
|
+
notice?: ReactNode;
|
|
1340
|
+
/** 表单区内容:由 FeedbackField 组合 */
|
|
1341
|
+
children?: ReactNode;
|
|
1342
|
+
/** 底部按钮区 */
|
|
1343
|
+
footer?: ReactNode;
|
|
1344
|
+
/** 拖拽悬停态,驱动上传区高亮 */
|
|
1345
|
+
dragOver?: boolean;
|
|
1346
|
+
className?: string;
|
|
1347
|
+
style?: CSSProperties;
|
|
1348
|
+
}
|
|
1349
|
+
/** 表单字段容器 */
|
|
1350
|
+
interface SidebarFeedbackFieldProps extends HTMLAttributes<HTMLDivElement> {
|
|
1351
|
+
label?: ReactNode;
|
|
1352
|
+
/** 显示必填星号 */
|
|
1353
|
+
required?: boolean;
|
|
1354
|
+
/** 标签行右侧插槽(如横向翻页箭头) */
|
|
1355
|
+
labelExtra?: ReactNode;
|
|
1356
|
+
/** 字段下方灰色提示 */
|
|
1357
|
+
hint?: ReactNode;
|
|
1358
|
+
children?: ReactNode;
|
|
1359
|
+
className?: string;
|
|
1360
|
+
style?: CSSProperties;
|
|
1361
|
+
}
|
|
1362
|
+
/** 文件墙条目 */
|
|
1363
|
+
interface FeedbackFileWallItem {
|
|
1364
|
+
uid: string;
|
|
1365
|
+
/** 图片走缩略图、附件走图标卡片 */
|
|
1366
|
+
kind: "image" | "attachment";
|
|
1367
|
+
name: string;
|
|
1368
|
+
size?: number;
|
|
1369
|
+
/** 图片预览地址 */
|
|
1370
|
+
url?: string;
|
|
1371
|
+
/** 附件图标地址 */
|
|
1372
|
+
iconUrl?: string;
|
|
1373
|
+
}
|
|
1374
|
+
interface SidebarFeedbackFileWallProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
1375
|
+
items: FeedbackFileWallItem[];
|
|
1376
|
+
/** 移除某项 */
|
|
1377
|
+
onRemove?: (uid: string) => void;
|
|
1378
|
+
/** 点击图片,用于外部预览 */
|
|
1379
|
+
onPreview?: (uid: string) => void;
|
|
1380
|
+
/** 是否显示「截图中」占位卡 */
|
|
1381
|
+
capturing?: boolean;
|
|
1382
|
+
/** 截图中文案 */
|
|
1383
|
+
capturingText?: ReactNode;
|
|
1384
|
+
/** 尾部添加区(通常是 Upload 触发器),达到数量上限时消费方不传 */
|
|
1385
|
+
addSlot?: ReactNode;
|
|
1386
|
+
/** 大小格式化,默认按 B/KB/MB 输出 */
|
|
1387
|
+
formatSize?: (bytes: number) => string;
|
|
1388
|
+
className?: string;
|
|
1389
|
+
style?: CSSProperties;
|
|
1390
|
+
}
|
|
1391
|
+
interface SidebarFeedbackHistoryPanelProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
1392
|
+
/** 左栏顶部工具区(搜索框) */
|
|
1393
|
+
toolbar?: ReactNode;
|
|
1394
|
+
/** 左栏列表内容 */
|
|
1395
|
+
list?: ReactNode;
|
|
1396
|
+
/** 右栏详情内容 */
|
|
1397
|
+
detail?: ReactNode;
|
|
1398
|
+
/** 列表滚动容器 ref,供无限滚动挂载 */
|
|
1399
|
+
listRef?: React.Ref<HTMLDivElement>;
|
|
1400
|
+
className?: string;
|
|
1401
|
+
style?: CSSProperties;
|
|
1402
|
+
}
|
|
1403
|
+
interface SidebarFeedbackHistoryItemProps extends Omit<HTMLAttributes<HTMLButtonElement>, "onSelect"> {
|
|
1404
|
+
item: FeedbackHistoryItem;
|
|
1405
|
+
selected?: boolean;
|
|
1406
|
+
onSelect?: () => void;
|
|
1407
|
+
/** 状态标签文案,由消费方按 status 提供 */
|
|
1408
|
+
statusLabel: ReactNode;
|
|
1409
|
+
/** 时间/关注数等元信息 */
|
|
1410
|
+
meta?: ReactNode;
|
|
1411
|
+
/** 未读红点无障碍标签 */
|
|
1412
|
+
unreadLabel?: string;
|
|
1413
|
+
className?: string;
|
|
1414
|
+
style?: CSSProperties;
|
|
1415
|
+
}
|
|
1416
|
+
interface SidebarFeedbackDetailProps extends Omit<HTMLAttributes<HTMLDivElement>, "children" | "title"> {
|
|
1417
|
+
/** 标题(固定为「反馈描述」这类静态文案,由消费方传入) */
|
|
1418
|
+
title: ReactNode;
|
|
1419
|
+
/** 标题下方元信息 */
|
|
1420
|
+
meta?: ReactNode;
|
|
1421
|
+
/** 反馈描述正文 */
|
|
1422
|
+
description?: ReactNode;
|
|
1423
|
+
/** 描述下方的附件区,通常是 FeedbackAttachmentRow */
|
|
1424
|
+
attachments?: ReactNode;
|
|
1425
|
+
attachmentsLabel?: ReactNode;
|
|
1426
|
+
/** 「已允许读取对话」告知卡片 */
|
|
1427
|
+
notice?: {
|
|
1428
|
+
title: ReactNode;
|
|
1429
|
+
description: ReactNode;
|
|
1430
|
+
} | null;
|
|
1431
|
+
/** 官方回复区 */
|
|
1432
|
+
reply?: ReactNode;
|
|
1433
|
+
/** 相似问题区 */
|
|
1434
|
+
similar?: ReactNode;
|
|
1435
|
+
className?: string;
|
|
1436
|
+
style?: CSSProperties;
|
|
1437
|
+
}
|
|
1438
|
+
interface SidebarFeedbackAttachmentRowProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
1439
|
+
items: FeedbackAttachment[];
|
|
1440
|
+
/** 点击图片:回传本组图片 URL 列表与命中索引,供预览组左右切换 */
|
|
1441
|
+
onPreviewImage?: (urls: string[], index: number) => void;
|
|
1442
|
+
/** 点击附件(下载) */
|
|
1443
|
+
onDownload?: (item: FeedbackAttachment) => void;
|
|
1444
|
+
/** 取附件图标地址 */
|
|
1445
|
+
resolveIcon?: (item: FeedbackAttachment) => string | undefined;
|
|
1446
|
+
formatSize?: (bytes: number) => string;
|
|
1447
|
+
className?: string;
|
|
1448
|
+
style?: CSSProperties;
|
|
1449
|
+
}
|
|
1450
|
+
interface SidebarFeedbackSimilarItemProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
1451
|
+
item: FeedbackSimilarItem;
|
|
1452
|
+
/** 展开态。为空时组件自行维护(默认按是否有描述决定) */
|
|
1453
|
+
expanded?: boolean;
|
|
1454
|
+
onExpandedChange?: (next: boolean) => void;
|
|
1455
|
+
/** 赞同点击。已赞同时组件不再触发 */
|
|
1456
|
+
onVote?: () => void;
|
|
1457
|
+
voteLabel: ReactNode;
|
|
1458
|
+
/** 展开区内的附件区 */
|
|
1459
|
+
attachments?: ReactNode;
|
|
1460
|
+
attachmentsLabel?: ReactNode;
|
|
1461
|
+
className?: string;
|
|
1462
|
+
style?: CSSProperties;
|
|
1463
|
+
}
|
|
1464
|
+
interface SidebarAuthImageProps extends Omit<React.ImgHTMLAttributes<HTMLImageElement>, "onClick" | "onLoad" | "src"> {
|
|
1465
|
+
src?: string;
|
|
1466
|
+
/**
|
|
1467
|
+
* 鉴权 token,拼为 `Authorization: Bearer {token}`。
|
|
1468
|
+
* 由消费方注入 —— 组件库不读取任何运行环境
|
|
1469
|
+
*/
|
|
1470
|
+
token?: string;
|
|
1471
|
+
/** 额外请求头,与 token 合并(同名时以此为准) */
|
|
1472
|
+
headers?: Record<string, string>;
|
|
1473
|
+
/** 加载完成,回传 blob URL 供父组件收集用于预览 */
|
|
1474
|
+
onLoaded?: (blobUrl: string) => void;
|
|
1475
|
+
/** 点击图片,回传已加载的 blob URL */
|
|
1476
|
+
onImageClick?: (blobUrl: string) => void;
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1155
1479
|
interface SidebarRootProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
1156
1480
|
/** 展开宽度(px),默认 280 */
|
|
1157
1481
|
width?: number;
|
|
@@ -1289,7 +1613,7 @@ interface SidebarCollapsibleListItemProps extends Omit<HTMLAttributes<HTMLDivEle
|
|
|
1289
1613
|
className?: string;
|
|
1290
1614
|
style?: CSSProperties;
|
|
1291
1615
|
}
|
|
1292
|
-
interface
|
|
1616
|
+
interface SidebarFooterUserProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
1293
1617
|
/** 头像插槽 */
|
|
1294
1618
|
avatar?: ReactNode;
|
|
1295
1619
|
/** 名称,为空时不渲染身份区 */
|
|
@@ -1298,13 +1622,35 @@ interface SidebarFooterProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
1298
1622
|
nameSuffix?: ReactNode;
|
|
1299
1623
|
/** 用户菜单展开态,驱动触发区高亮与箭头旋转 */
|
|
1300
1624
|
menuOpen?: boolean;
|
|
1625
|
+
/**
|
|
1626
|
+
* 是否显示展开箭头。默认 false —— 触发区整体可点,
|
|
1627
|
+
* 箭头属冗余提示。需要显式指示可展开时开启。
|
|
1628
|
+
*
|
|
1629
|
+
* 开启后:常态隐藏,hover 或菜单打开时显现;
|
|
1630
|
+
* 菜单向上弹出,故默认指向上方,展开后转回向下
|
|
1631
|
+
*/
|
|
1632
|
+
showCaret?: boolean;
|
|
1633
|
+
/**
|
|
1634
|
+
* 姓名超长时是否 hover 出全称提示,默认 true。
|
|
1635
|
+
* 仅在真正溢出时弹出,未溢出不干扰
|
|
1636
|
+
*/
|
|
1637
|
+
nameTooltip?: boolean;
|
|
1301
1638
|
/** 点击触发区。回传触发元素的 DOMRect,便于消费方自行定位浮层 */
|
|
1302
1639
|
onTriggerClick?: (rect: DOMRect) => void;
|
|
1303
|
-
/** 右侧动作区插槽 */
|
|
1304
|
-
actions?: ReactNode;
|
|
1305
1640
|
className?: string;
|
|
1306
1641
|
style?: CSSProperties;
|
|
1307
1642
|
}
|
|
1643
|
+
interface SidebarFooterProps extends Omit<HTMLAttributes<HTMLDivElement>, "children">, SidebarFooterUserProps {
|
|
1644
|
+
/** 右侧动作区插槽 */
|
|
1645
|
+
actions?: ReactNode;
|
|
1646
|
+
/**
|
|
1647
|
+
* 自定义左侧内容,传入时忽略 avatar/name 等。
|
|
1648
|
+
*
|
|
1649
|
+
* 需要外挂用户菜单时用它 —— 把 Sidebar.FooterUser 交给 DropdownTrigger
|
|
1650
|
+
* 单独包裹,避免右侧动作按钮被并入菜单触发区
|
|
1651
|
+
*/
|
|
1652
|
+
children?: ReactNode;
|
|
1653
|
+
}
|
|
1308
1654
|
interface SidebarFooterMenuStaticRowProps extends HTMLAttributes<HTMLDivElement> {
|
|
1309
1655
|
/** 行首图标 */
|
|
1310
1656
|
icon?: ReactNode;
|
|
@@ -1447,13 +1793,24 @@ declare const SidebarListItem: React__default.ForwardRefExoticComponent<SidebarL
|
|
|
1447
1793
|
declare const SidebarCollapsibleListItem: React__default.ForwardRefExoticComponent<SidebarCollapsibleListItemProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1448
1794
|
|
|
1449
1795
|
/**
|
|
1450
|
-
* Sidebar.
|
|
1796
|
+
* Sidebar.FooterUser — 底栏左侧用户区(头像 + 名称 + 后缀徽标 + 展开箭头)
|
|
1797
|
+
*
|
|
1798
|
+
* 单独成件而非塞进 Footer:用户菜单的 DropdownTrigger 必须只包裹这里,
|
|
1799
|
+
* 若包住整个 Footer,右侧动作按钮也会成为触发器的一部分,
|
|
1800
|
+
* 点「反馈」「产物管理」时会连带弹出用户菜单。
|
|
1801
|
+
*
|
|
1802
|
+
* 用 div + role 而非 button:作为 Dropdown trigger 时嵌套 button 是非法结构。
|
|
1803
|
+
*/
|
|
1804
|
+
declare const SidebarFooterUser: React__default.ForwardRefExoticComponent<SidebarFooterUserProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1805
|
+
/**
|
|
1806
|
+
* Sidebar.Footer — 底部条容器
|
|
1451
1807
|
*
|
|
1452
|
-
*
|
|
1453
|
-
* 用户菜单与动作按钮均以插槽传入 —— 各业务的菜单项集合差异极大。
|
|
1808
|
+
* 一行左右结构:左侧 FooterUser 占满剩余宽度,右侧动作区靠右贴边。
|
|
1454
1809
|
*
|
|
1455
|
-
*
|
|
1456
|
-
*
|
|
1810
|
+
* 两种用法:
|
|
1811
|
+
* - 传 avatar/name 等:内部自行渲染 FooterUser(无需外挂菜单时最省事)
|
|
1812
|
+
* - 传 children:完全自定义左侧内容,用于把 FooterUser 单独交给
|
|
1813
|
+
* DropdownTrigger 包裹,使动作按钮不被并入菜单触发区
|
|
1457
1814
|
*/
|
|
1458
1815
|
declare const SidebarFooter: React__default.ForwardRefExoticComponent<SidebarFooterProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1459
1816
|
|
|
@@ -1502,6 +1859,99 @@ declare const SidebarUsagePanel: React__default.ForwardRefExoticComponent<Sideba
|
|
|
1502
1859
|
*/
|
|
1503
1860
|
declare const SidebarUsagePanelSection: React__default.ForwardRefExoticComponent<SidebarUsagePanelSectionProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1504
1861
|
|
|
1862
|
+
/**
|
|
1863
|
+
* Sidebar.FeedbackModal — 问题反馈弹窗骨架
|
|
1864
|
+
*
|
|
1865
|
+
* 只负责「弹窗 + 双页签 + 未读红点 + 关闭」这层外壳,
|
|
1866
|
+
* 两个面板内容由消费方注入 —— 取数、提交、截图能力各端差异极大。
|
|
1867
|
+
*
|
|
1868
|
+
* 历史面板建议首次切换后才传入,避免未打开就发请求。
|
|
1869
|
+
*/
|
|
1870
|
+
declare const SidebarFeedbackModal: React__default.ForwardRefExoticComponent<SidebarFeedbackModalProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1871
|
+
|
|
1872
|
+
/**
|
|
1873
|
+
* Sidebar.FeedbackSubmitPanel — 提交反馈面板
|
|
1874
|
+
*
|
|
1875
|
+
* 内容区滚动、底部按钮固定。拖拽事件由消费方挂在本组件上
|
|
1876
|
+
* (需要访问 dataTransfer 做文件校验,组件库不介入)。
|
|
1877
|
+
*/
|
|
1878
|
+
declare const SidebarFeedbackSubmitPanel: React__default.ForwardRefExoticComponent<SidebarFeedbackSubmitPanelProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1879
|
+
/**
|
|
1880
|
+
* Sidebar.FeedbackField — 表单字段容器
|
|
1881
|
+
*
|
|
1882
|
+
* 统一「标签 + 必填星号 + 右侧插槽 + 控件 + 提示」的间距,
|
|
1883
|
+
* 避免每个字段各写一遍 margin。
|
|
1884
|
+
*/
|
|
1885
|
+
declare const SidebarFeedbackField: React__default.ForwardRefExoticComponent<SidebarFeedbackFieldProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1886
|
+
|
|
1887
|
+
/**
|
|
1888
|
+
* Sidebar.FeedbackFileWall — 横向文件墙
|
|
1889
|
+
*
|
|
1890
|
+
* 图片走缩略图、附件走图标卡片,两者同尺寸同排展示。
|
|
1891
|
+
* 超出宽度时内部横向滚动而非撑破弹窗,翻页箭头由消费方放在
|
|
1892
|
+
* FeedbackField 的 labelExtra 插槽(需要读滚动状态,故不内置)。
|
|
1893
|
+
*
|
|
1894
|
+
* 只负责展示与移除;添加动作以 addSlot 注入(通常是 Upload 触发器),
|
|
1895
|
+
* 因为文件校验与截图能力各端不同。
|
|
1896
|
+
*/
|
|
1897
|
+
declare const SidebarFeedbackFileWall: React__default.ForwardRefExoticComponent<SidebarFeedbackFileWallProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1898
|
+
|
|
1899
|
+
/**
|
|
1900
|
+
* Sidebar.FeedbackHistoryPanel — 历史面板双栏骨架
|
|
1901
|
+
*
|
|
1902
|
+
* 左栏定宽列表、右栏自适应详情,中间竖分割线。
|
|
1903
|
+
* 分页与取数由消费方负责,列表滚动容器通过 listRef 暴露以挂载无限滚动。
|
|
1904
|
+
*/
|
|
1905
|
+
declare const SidebarFeedbackHistoryPanel: React__default.ForwardRefExoticComponent<SidebarFeedbackHistoryPanelProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1906
|
+
/**
|
|
1907
|
+
* Sidebar.FeedbackHistoryItem — 历史列表卡片
|
|
1908
|
+
*
|
|
1909
|
+
* 状态标签与未读红点同行,标题与元信息各占一行。
|
|
1910
|
+
* 未读判定由消费方给出(replyRead 三态需业务语义),此处只按数据渲染。
|
|
1911
|
+
*/
|
|
1912
|
+
declare const SidebarFeedbackHistoryItem: React__default.ForwardRefExoticComponent<SidebarFeedbackHistoryItemProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1913
|
+
|
|
1914
|
+
/**
|
|
1915
|
+
* Sidebar.FeedbackDetail — 反馈详情
|
|
1916
|
+
*
|
|
1917
|
+
* 描述 / 附件 / 授权告知 / 官方回复 / 相似问题五段,
|
|
1918
|
+
* 后两段由消费方按数据决定是否传入,不传即不渲染分割线。
|
|
1919
|
+
*/
|
|
1920
|
+
declare const SidebarFeedbackDetail: React__default.ForwardRefExoticComponent<SidebarFeedbackDetailProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1921
|
+
/**
|
|
1922
|
+
* Sidebar.FeedbackAttachmentRow — 附件行
|
|
1923
|
+
*
|
|
1924
|
+
* 图片渲染缩略图并聚合为一个预览分组(点任意图可左右切换),
|
|
1925
|
+
* 其余渲染为可下载的图标卡片。
|
|
1926
|
+
*/
|
|
1927
|
+
declare const SidebarFeedbackAttachmentRow: React__default.ForwardRefExoticComponent<SidebarFeedbackAttachmentRowProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1928
|
+
/**
|
|
1929
|
+
* Sidebar.FeedbackSimilarItem — 相似问题卡片
|
|
1930
|
+
*
|
|
1931
|
+
* 可折叠 + 赞同。展开态默认按「是否有描述」初始化 ——
|
|
1932
|
+
* 有内容可看时直接展开,避免用户逐个点开。
|
|
1933
|
+
*/
|
|
1934
|
+
declare const SidebarFeedbackSimilarItem: React__default.ForwardRefExoticComponent<SidebarFeedbackSimilarItemProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1935
|
+
|
|
1936
|
+
/**
|
|
1937
|
+
* Sidebar.AuthImage — 带鉴权的图片
|
|
1938
|
+
*
|
|
1939
|
+
* 用 fetch 携带鉴权头拉取图片再转 blob URL 交给 <img>,
|
|
1940
|
+
* 解决 Electron renderer 中 <img src> 不自动带 token 的问题。
|
|
1941
|
+
*
|
|
1942
|
+
* token 由 props 注入而非组件内读取环境:组件库不持有任何运行环境依赖。
|
|
1943
|
+
* Web 端若靠 cookie 鉴权则无需本组件,直接用 <img> 即可。
|
|
1944
|
+
*/
|
|
1945
|
+
declare const SidebarAuthImage: React__default.ForwardRefExoticComponent<SidebarAuthImageProps & React__default.RefAttributes<HTMLImageElement>>;
|
|
1946
|
+
|
|
1947
|
+
/**
|
|
1948
|
+
* 文件大小格式化。
|
|
1949
|
+
*
|
|
1950
|
+
* 与两端既有实现一致:1KB 以下按字节、1MB 以下按 KB,其余按 MB,
|
|
1951
|
+
* 均保留一位小数。
|
|
1952
|
+
*/
|
|
1953
|
+
declare function formatFileSize(bytes: number): string;
|
|
1954
|
+
|
|
1505
1955
|
/**
|
|
1506
1956
|
* Sidebar 侧边栏
|
|
1507
1957
|
*
|
|
@@ -1531,11 +1981,22 @@ declare const Sidebar: {
|
|
|
1531
1981
|
ListItem: React$1.ForwardRefExoticComponent<SidebarListItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1532
1982
|
CollapsibleListItem: React$1.ForwardRefExoticComponent<SidebarCollapsibleListItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1533
1983
|
Footer: React$1.ForwardRefExoticComponent<SidebarFooterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1984
|
+
FooterUser: React$1.ForwardRefExoticComponent<SidebarFooterUserProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1534
1985
|
FooterMenuStaticRow: React$1.ForwardRefExoticComponent<SidebarFooterMenuStaticRowProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1535
1986
|
FooterBadge: React$1.ForwardRefExoticComponent<SidebarFooterBadgeProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1536
1987
|
UsageBar: React$1.ForwardRefExoticComponent<SidebarUsageBarProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1537
1988
|
UsagePanel: React$1.ForwardRefExoticComponent<SidebarUsagePanelProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1538
1989
|
UsagePanelSection: React$1.ForwardRefExoticComponent<SidebarUsagePanelSectionProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1990
|
+
FeedbackModal: React$1.ForwardRefExoticComponent<SidebarFeedbackModalProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1991
|
+
FeedbackSubmitPanel: React$1.ForwardRefExoticComponent<SidebarFeedbackSubmitPanelProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1992
|
+
FeedbackField: React$1.ForwardRefExoticComponent<SidebarFeedbackFieldProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1993
|
+
FeedbackFileWall: React$1.ForwardRefExoticComponent<SidebarFeedbackFileWallProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1994
|
+
FeedbackHistoryPanel: React$1.ForwardRefExoticComponent<SidebarFeedbackHistoryPanelProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1995
|
+
FeedbackHistoryItem: React$1.ForwardRefExoticComponent<SidebarFeedbackHistoryItemProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1996
|
+
FeedbackDetail: React$1.ForwardRefExoticComponent<SidebarFeedbackDetailProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1997
|
+
FeedbackAttachmentRow: React$1.ForwardRefExoticComponent<SidebarFeedbackAttachmentRowProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1998
|
+
FeedbackSimilarItem: React$1.ForwardRefExoticComponent<SidebarFeedbackSimilarItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1999
|
+
AuthImage: React$1.ForwardRefExoticComponent<SidebarAuthImageProps & React$1.RefAttributes<HTMLImageElement>>;
|
|
1539
2000
|
};
|
|
1540
2001
|
|
|
1541
2002
|
/** 主轴方向类型 */
|
|
@@ -2379,4 +2840,4 @@ declare const ScrollBar: React__default.ForwardRefExoticComponent<ScrollBarProps
|
|
|
2379
2840
|
*/
|
|
2380
2841
|
declare function cn(...inputs: ClassValue[]): string;
|
|
2381
2842
|
|
|
2382
|
-
export { Alert, type AlertProps, type AlertType, AvatarWithGroup as Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, ButtonProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, ColorPicker, type ColorPickerProps, type ColorPickerSize, type CoverConfig, type CustomRequestOptions, type CustomRequestReturn, DatePicker, type DatePickerProps, type DatePickerSize, type DateRange, Dialog, type DialogConfirmOptions, type DialogProps, Divider, type DividerOrientation, type DividerProps, type DividerVariant, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, DropdownButton, type DropdownButtonProps, DropdownCheckboxItem, type DropdownCheckboxItemProps, DropdownContent, type DropdownContentProps, DropdownGroup, type DropdownGroupProps, DropdownItem, type DropdownItemData, type DropdownItemProps, DropdownLabel, type DropdownLabelData, type DropdownLabelProps, type DropdownMenuItemData, type DropdownProps, DropdownRadioGroup, type DropdownRadioGroupProps, DropdownRadioItem, type DropdownRadioItemProps, DropdownSeparator, type DropdownSeparatorData, type DropdownSeparatorProps, DropdownSub, DropdownSubContent, type DropdownSubContentProps, type DropdownSubProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, Empty, EmptyCard, type EmptyCardProps, type EmptyCardSpacing, type EmptyCardStatus, type EmptyCardVariant, type EmptyIconComponent, type EmptyProps, type EmptySize, type FileItemActions, Flex, type FlexGapSize, type FlexOrientation, type FlexProps, Form, type FormInstance, type FormItemProps, type FormLayout, type FormProps, Image, type ImagePreviewGroupProps, type ImageProps, type ImgInfo, LgSize, LingeeProvider, type LingeeProviderProps, type Locale, Pagination, type PaginationProps, type PaginationVariant, PopoverContentProps, type PreviewGroupType, type PreviewType, Progress, type ProgressProps, type ProgressStatus, type ProgressType, RadioGroup, type RadioGroupProps, RadioItem, type RadioItemProps, type RadioSize, RangePicker, type RangePickerProps, type RangePickerSize, type RejectReason, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps, Select, type SelectDropdownProps, type SelectMode, type SelectOption, type SelectOptionGroup, type SelectProps, type SelectSize, Sidebar, type SidebarCaretPlacement, SidebarCollapsibleListItem, type SidebarCollapsibleListItemProps, SidebarCollapsibleNavItem, type SidebarCollapsibleNavItemChild, type SidebarCollapsibleNavItemProps, SidebarFooter, SidebarFooterBadge, type SidebarFooterBadgeProps, SidebarFooterMenuStaticRow, type SidebarFooterMenuStaticRowProps, type SidebarFooterProps, SidebarGroupHeader, type SidebarGroupHeaderProps, SidebarHeader, type SidebarHeaderProps, type SidebarIndicatorType, SidebarListItem, type SidebarListItemProps, SidebarNavItem, type SidebarNavItemProps, SidebarRoot, type SidebarRootProps, SidebarTabBar, type SidebarTabBarProps, type SidebarTabItem, SidebarUsageBar, type SidebarUsageBarProps, SidebarUsagePanel, type SidebarUsagePanelProps, SidebarUsagePanelSection, type SidebarUsagePanelSectionProps, type SidebarUsageTone, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonVariant, Slider, type SliderProps, type SliderSize, Spin, type SpinProps, type SpinSize, type StepItem, type StepStatus, Steps, type StepsProps, type StepsSize, type StepsTitlePlacement, Table, type TableColumnType, type TableProps, type TableRowSelection, type TableSize, type TableSorterState, Tag, type TagPresetColor, type TagProps, type TagShape, type TagSize, TimePicker, type TimePickerProps, type TimePickerSize, type TimeValue, type TransformAction, type TransformType, Upload, type UploadFile, type UploadFileStatus, type UploadProps, cn, enUS, useComponentLocale, useLocale, zhCN };
|
|
2843
|
+
export { Alert, type AlertProps, type AlertType, AvatarWithGroup as Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, ButtonProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, ColorPicker, type ColorPickerProps, type ColorPickerSize, type CoverConfig, type CustomRequestOptions, type CustomRequestReturn, DatePicker, type DatePickerProps, type DatePickerSize, type DateRange, Dialog, type DialogConfirmOptions, type DialogProps, Divider, type DividerOrientation, type DividerProps, type DividerVariant, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, DropdownButton, type DropdownButtonProps, DropdownCheckboxItem, type DropdownCheckboxItemProps, DropdownContent, type DropdownContentProps, DropdownGroup, type DropdownGroupProps, DropdownItem, type DropdownItemData, type DropdownItemProps, DropdownLabel, type DropdownLabelData, type DropdownLabelProps, type DropdownMenuItemData, type DropdownProps, DropdownRadioGroup, type DropdownRadioGroupProps, DropdownRadioItem, type DropdownRadioItemProps, DropdownSeparator, type DropdownSeparatorData, type DropdownSeparatorProps, 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 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, Image, type ImagePreviewGroupProps, type ImageProps, type ImgInfo, LgSize, LingeeProvider, type LingeeProviderProps, type Locale, Pagination, type PaginationProps, type PaginationVariant, PopoverContentProps, type PreviewGroupType, type PreviewType, Progress, type ProgressProps, type ProgressStatus, type ProgressType, RadioGroup, type RadioGroupProps, RadioItem, type RadioItemProps, type RadioSize, RangePicker, type RangePickerProps, type RangePickerSize, type RejectReason, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps, Select, type SelectDropdownProps, type SelectMode, type SelectOption, type SelectOptionGroup, type SelectProps, type SelectSize, Sidebar, SidebarAuthImage, type SidebarAuthImageProps, type SidebarCaretPlacement, 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, 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, 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, cn, enUS, formatFileSize, useComponentLocale, useLocale, zhCN };
|