@pactor-app/ui 1.24.0 → 1.26.0
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-WYRFTFYQ.js → chunk-HSQJWJDS.js} +1217 -746
- package/dist/components/index.cjs +1640 -1166
- package/dist/components/index.d.cts +158 -6
- package/dist/components/index.d.ts +158 -6
- package/dist/components/index.js +7 -1
- package/dist/index.cjs +1790 -1316
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -1
- package/package.json +6 -6
- package/styles.css +345 -0
|
@@ -989,6 +989,8 @@ interface FieldProps {
|
|
|
989
989
|
label?: string;
|
|
990
990
|
/** 必填标记(label 前渲染红色 `*`;仅视觉标记,校验仍由 Form rules 承担) */
|
|
991
991
|
required?: boolean;
|
|
992
|
+
/** label 行右侧的提示文字(如「创建后不可修改」),右对齐小字弱化展示 */
|
|
993
|
+
labelHint?: string;
|
|
992
994
|
/** 辅助说明文案 */
|
|
993
995
|
description?: string;
|
|
994
996
|
/** 错误文案(声明式展示,如校验失败信息) */
|
|
@@ -1002,6 +1004,9 @@ interface FieldProps {
|
|
|
1002
1004
|
/** label 节点 class / style(必填星号随 label 节点) */
|
|
1003
1005
|
labelClassName?: string;
|
|
1004
1006
|
labelStyle?: CSSProperties;
|
|
1007
|
+
/** label 行右侧提示节点 class / style */
|
|
1008
|
+
labelHintClassName?: string;
|
|
1009
|
+
labelHintStyle?: CSSProperties;
|
|
1005
1010
|
/** 控件容器(label 下方)class / style;缺省有 label 时容器自带 mt-2 */
|
|
1006
1011
|
controlClassName?: string;
|
|
1007
1012
|
controlStyle?: CSSProperties;
|
|
@@ -1014,12 +1019,13 @@ interface FieldProps {
|
|
|
1014
1019
|
}
|
|
1015
1020
|
/**
|
|
1016
1021
|
* Field 适配器(shadcn kit):通用表单项容器(Base UI Field 封装,
|
|
1017
|
-
* 上下结构:label 在上、控件容器在下);label /
|
|
1018
|
-
*
|
|
1019
|
-
*
|
|
1020
|
-
*
|
|
1022
|
+
* 上下结构:label 在上、控件容器在下);label / labelHint / description /
|
|
1023
|
+
* error 为框架级 props,error 声明式强制展示;`required` 在 label 前渲染
|
|
1024
|
+
* 必填星号(对齐 antd Form.Item required 语义);`labelHint` 与 label 同行
|
|
1025
|
+
* 右对齐(弱化为小字);label 与控件容器之间默认 mt-2,五个节点
|
|
1026
|
+
* (label / labelHint / 控件容器 / description / error)均可独立加样式。
|
|
1021
1027
|
*/
|
|
1022
|
-
declare function Field({ label, required, description, error, children, className, style, labelClassName, labelStyle, controlClassName, controlStyle, descriptionClassName, descriptionStyle, errorClassName, errorStyle, }: FieldProps): React.JSX.Element;
|
|
1028
|
+
declare function Field({ label, required, labelHint, description, error, children, className, style, labelClassName, labelStyle, labelHintClassName, labelHintStyle, controlClassName, controlStyle, descriptionClassName, descriptionStyle, errorClassName, errorStyle, }: FieldProps): React.JSX.Element;
|
|
1023
1029
|
|
|
1024
1030
|
/** 文件类别(缺省按 fileType / name 扩展名推断) */
|
|
1025
1031
|
type FilePreviewKind = 'image' | 'text' | 'video' | 'audio' | 'other';
|
|
@@ -1140,6 +1146,39 @@ interface FormProps {
|
|
|
1140
1146
|
*/
|
|
1141
1147
|
declare function Form({ name, layout, initialValues, className, style, children, onSubmit, onValuesChange, }: FormProps): React.JSX.Element;
|
|
1142
1148
|
|
|
1149
|
+
interface ForProps {
|
|
1150
|
+
/** 循环数据源(表达式解析后的数组);非数组时不渲染 */
|
|
1151
|
+
items?: unknown[];
|
|
1152
|
+
/** 行唯一键字段(React key);缺省按下标 */
|
|
1153
|
+
keyField?: string;
|
|
1154
|
+
/**
|
|
1155
|
+
* 网格列数:设置后由 For 承担网格容器(每行包一层 grid-item),
|
|
1156
|
+
* 语义同 Grid。注意必须如此——Grid 按 React children 逐个包装单元格,
|
|
1157
|
+
* 循环体若作为 Grid 子节点会被整体当成一格。
|
|
1158
|
+
*/
|
|
1159
|
+
columns?: number;
|
|
1160
|
+
/** 网格栏间距(px);未指定时应用默认间距令牌 `--grid-gap` */
|
|
1161
|
+
gap?: number;
|
|
1162
|
+
/** 网格首格内容(DSL 子树),如列表页的「新建」静态卡 */
|
|
1163
|
+
before?: DslChildren;
|
|
1164
|
+
/** 通用:根节点 class(与内置样式合并;平铺模式无根节点,不生效) */
|
|
1165
|
+
className?: string;
|
|
1166
|
+
/** 通用:根节点内联样式(网格模式) */
|
|
1167
|
+
style?: CSSProperties;
|
|
1168
|
+
/** withScope 注入:原始 DSL children(行模板),不对外声明 */
|
|
1169
|
+
dslChildren?: DslChildren;
|
|
1170
|
+
}
|
|
1171
|
+
/**
|
|
1172
|
+
* For 循环渲染(shadcn kit):对 items 逐项渲染 DSL children 模板。
|
|
1173
|
+
* 以 withScope 注册——原始 DSL children 以 dslChildren 传入,逐项经
|
|
1174
|
+
* useRenderer().renderChildren 渲染,作用域注入 `{ row, rowIndex }`
|
|
1175
|
+
* (与 Table cell 模板一致,设计决策 D4)。
|
|
1176
|
+
*
|
|
1177
|
+
* 不设 columns 时输出平铺 Fragment(排列由外层布局承担);
|
|
1178
|
+
* 设置 columns 时自带网格容器(见 columns 注释)。
|
|
1179
|
+
*/
|
|
1180
|
+
declare function For({ items, keyField, columns, gap, before, className, style, dslChildren, }: ForProps): React.JSX.Element;
|
|
1181
|
+
|
|
1143
1182
|
interface GridProps {
|
|
1144
1183
|
/** 列数,默认 1;每列等宽(columns 取整下限 1) */
|
|
1145
1184
|
columns?: number;
|
|
@@ -3631,6 +3670,33 @@ interface SenderProps {
|
|
|
3631
3670
|
/** Sender 适配器(shadcn kit):消息发送方行——头像 + 名称 + 角色 + 时间 */
|
|
3632
3671
|
declare function Sender({ name, avatar, avatarText, role, time, align, className, style }: SenderProps): React.JSX.Element;
|
|
3633
3672
|
|
|
3673
|
+
interface StepsPanelItemData {
|
|
3674
|
+
title: string;
|
|
3675
|
+
description?: string;
|
|
3676
|
+
/** done 已完成 / running 进行中 / pending 待执行(缺省 pending) */
|
|
3677
|
+
status?: 'done' | 'running' | 'pending';
|
|
3678
|
+
duration?: string;
|
|
3679
|
+
}
|
|
3680
|
+
interface StepsPanelProps {
|
|
3681
|
+
/** 面板标题(缺省「执行步骤」) */
|
|
3682
|
+
title?: string;
|
|
3683
|
+
/** 步骤列表(DSL 绑定 ${data.steps}) */
|
|
3684
|
+
steps?: StepsPanelItemData[];
|
|
3685
|
+
/** 空态文案(steps 为空时展示) */
|
|
3686
|
+
emptyText?: string;
|
|
3687
|
+
/** 通用:根节点 class(与内置样式合并) */
|
|
3688
|
+
className?: string;
|
|
3689
|
+
/** 通用:根节点内联样式 */
|
|
3690
|
+
style?: CSSProperties;
|
|
3691
|
+
}
|
|
3692
|
+
/**
|
|
3693
|
+
* StepsPanel 执行步骤面板(chat 目录):纵向时间线展示任务执行步骤,
|
|
3694
|
+
* 状态图标区分已完成 / 进行中 / 待执行。典型用法是作为 ChatPage
|
|
3695
|
+
* 对话图标栏 popover 项的 content(`type: "StepsPanel"`),
|
|
3696
|
+
* 样式全走语义令牌(深浅色/换肤自适应)。
|
|
3697
|
+
*/
|
|
3698
|
+
declare function StepsPanel({ title, steps, emptyText, className, style, }: StepsPanelProps): React.JSX.Element;
|
|
3699
|
+
|
|
3634
3700
|
interface StreamingTextProps {
|
|
3635
3701
|
/** 文本内容(流式场景由数据源持续追加) */
|
|
3636
3702
|
content?: string;
|
|
@@ -4270,6 +4336,86 @@ interface TreeChartProps {
|
|
|
4270
4336
|
}
|
|
4271
4337
|
declare function TreeChart({ data, title, orient, edgeShape, initialTreeDepth, height, onSelect, className, style, }: TreeChartProps): React.JSX.Element;
|
|
4272
4338
|
|
|
4339
|
+
/**
|
|
4340
|
+
* 结构模式(对应《登录页产品结构设计》的容器关系):
|
|
4341
|
+
* - `split`(默认,01–04、12)左右分栏:比例、方向、认证区容器均可配置
|
|
4342
|
+
* - `centered`(05/07)居中认证区
|
|
4343
|
+
* - `brand-card`(06)品牌区为独立卡片 + 右侧裸表单
|
|
4344
|
+
* - `overlap`(08)品牌卡片与登录卡片局部叠加
|
|
4345
|
+
* - `backdrop`(11)整页渐变品牌背景 + 悬浮认证卡片
|
|
4346
|
+
* (10 扫码登录不在组件范围内)
|
|
4347
|
+
*/
|
|
4348
|
+
type LoginVariant = 'split' | 'centered' | 'brand-card' | 'overlap' | 'backdrop';
|
|
4349
|
+
interface LoginBrandInfo {
|
|
4350
|
+
/** Logo 图片地址 */
|
|
4351
|
+
logo?: string;
|
|
4352
|
+
/** 品牌/产品名称 */
|
|
4353
|
+
name?: string;
|
|
4354
|
+
/** 品牌主标题 / Slogan */
|
|
4355
|
+
title?: string;
|
|
4356
|
+
/** 品牌副标题 / 说明 */
|
|
4357
|
+
description?: string;
|
|
4358
|
+
/** 品牌展示插画地址(窄屏不展示);缺省展示内置默认插画,传空字符串可隐藏 */
|
|
4359
|
+
illustration?: string;
|
|
4360
|
+
}
|
|
4361
|
+
interface LoginLink {
|
|
4362
|
+
text: string;
|
|
4363
|
+
/** 配置后渲染为链接直接跳转;缺省时点击触发对应 DSL 事件 */
|
|
4364
|
+
href?: string;
|
|
4365
|
+
}
|
|
4366
|
+
interface LoginProps {
|
|
4367
|
+
/** 结构模式,默认 split */
|
|
4368
|
+
layout?: LoginVariant;
|
|
4369
|
+
/** 品牌区方向(仅 split),默认 left;right 即文档 12「左表单 + 右概念展示」 */
|
|
4370
|
+
brandSide?: 'left' | 'right';
|
|
4371
|
+
/** 品牌区分栏占比 0–1(仅 split),默认 0.5;0.6 即文档 04 的品牌大区 */
|
|
4372
|
+
brandRatio?: number;
|
|
4373
|
+
/**
|
|
4374
|
+
* 认证区容器(split / centered 生效):
|
|
4375
|
+
* `plain` 裸表单(320–380px);`card` 常规卡片(默认,400px);
|
|
4376
|
+
* `float` 大尺寸悬浮卡片(440px + 大留白 + 强阴影,即文档 03)
|
|
4377
|
+
*/
|
|
4378
|
+
authVariant?: 'plain' | 'card' | 'float';
|
|
4379
|
+
/** split 品牌面板是否带渐变背景,默认 true */
|
|
4380
|
+
brandPanelBackground?: boolean;
|
|
4381
|
+
/** 是否渲染默认背景装饰(圆斑/圆环/点阵/流线),默认 true */
|
|
4382
|
+
decor?: boolean;
|
|
4383
|
+
/** 品牌区配置;居中布局下仅展示 logo+name(配置了才渲染) */
|
|
4384
|
+
brand?: LoginBrandInfo;
|
|
4385
|
+
/** 认证区标题 */
|
|
4386
|
+
title?: string;
|
|
4387
|
+
/** 认证区说明 */
|
|
4388
|
+
subtitle?: string;
|
|
4389
|
+
usernameLabel?: string;
|
|
4390
|
+
usernamePlaceholder?: string;
|
|
4391
|
+
passwordLabel?: string;
|
|
4392
|
+
passwordPlaceholder?: string;
|
|
4393
|
+
/** 提交按钮文案 */
|
|
4394
|
+
submitText?: string;
|
|
4395
|
+
/** 注册入口(未配置不渲染) */
|
|
4396
|
+
registerLink?: LoginLink;
|
|
4397
|
+
/** 找回密码入口(未配置不渲染) */
|
|
4398
|
+
forgotLink?: LoginLink;
|
|
4399
|
+
/** 页脚文案(版权/协议行,未配置不渲染) */
|
|
4400
|
+
footer?: string;
|
|
4401
|
+
/** 通用:根节点 class(与内置样式合并) */
|
|
4402
|
+
className?: string;
|
|
4403
|
+
/** 通用:根节点内联样式 */
|
|
4404
|
+
style?: CSSProperties;
|
|
4405
|
+
/** 校验通过后触发,参数为 { username, password };登录请求与跳转由 DSL 编排 */
|
|
4406
|
+
onSubmit?: (values: Record<string, unknown>) => void;
|
|
4407
|
+
onRegisterClick?: () => void;
|
|
4408
|
+
onForgotClick?: () => void;
|
|
4409
|
+
}
|
|
4410
|
+
/**
|
|
4411
|
+
* Login 登录业务组件(business 目录):
|
|
4412
|
+
* 品牌区 + 认证区 + 辅助入口 + 页脚的整页组合,内部复用 Form/Input/Button。
|
|
4413
|
+
* 结构模式(layout)与修饰配置(方向/比例/卡片样式/背景/装饰)正交组合;
|
|
4414
|
+
* 样式全部走语义令牌(深浅色/换肤自适应);文案缺省走 i18n(pactor.login.*),
|
|
4415
|
+
* 同名 props 优先。组件不内置登录请求。
|
|
4416
|
+
*/
|
|
4417
|
+
declare function Login({ layout, brandSide, brandRatio, authVariant, brandPanelBackground, decor, brand, title, subtitle, usernameLabel, usernamePlaceholder, passwordLabel, passwordPlaceholder, submitText, registerLink, forgotLink, footer, className, style, onSubmit, onRegisterClick, onForgotClick, }: LoginProps): React.JSX.Element;
|
|
4418
|
+
|
|
4273
4419
|
/**
|
|
4274
4420
|
* 内置组件表:DSL 类型名 → 组件适配器。
|
|
4275
4421
|
* 类型名集合即 spec: builtin-components 的内置组件清单;
|
|
@@ -4278,6 +4424,10 @@ declare function TreeChart({ data, title, orient, edgeShape, initialTreeDepth, h
|
|
|
4278
4424
|
declare const builtinComponents: {
|
|
4279
4425
|
readonly Page: typeof Page;
|
|
4280
4426
|
readonly Grid: typeof Grid;
|
|
4427
|
+
readonly For: {
|
|
4428
|
+
readonly component: typeof For;
|
|
4429
|
+
readonly withScope: true;
|
|
4430
|
+
};
|
|
4281
4431
|
readonly Flex: typeof Flex;
|
|
4282
4432
|
readonly Card: typeof Card;
|
|
4283
4433
|
readonly Button: typeof Button;
|
|
@@ -4408,6 +4558,7 @@ declare const builtinComponents: {
|
|
|
4408
4558
|
readonly MessageList: typeof MessageList;
|
|
4409
4559
|
readonly Composer: typeof Composer;
|
|
4410
4560
|
readonly ConversationList: typeof ConversationList;
|
|
4561
|
+
readonly StepsPanel: typeof StepsPanel;
|
|
4411
4562
|
readonly MetricCard: typeof MetricCard;
|
|
4412
4563
|
readonly LineChart: typeof LineChart;
|
|
4413
4564
|
readonly ColumnChart: typeof ColumnChart;
|
|
@@ -4425,6 +4576,7 @@ declare const builtinComponents: {
|
|
|
4425
4576
|
readonly SankeyChart: typeof SankeyChart;
|
|
4426
4577
|
readonly MapChart: typeof MapChart;
|
|
4427
4578
|
readonly ComposedChart: typeof ComposedChart;
|
|
4579
|
+
readonly Login: typeof Login;
|
|
4428
4580
|
};
|
|
4429
4581
|
/** 把全部 V1 内置组件按 DSL 类型名注册到给定 ComponentRegistry */
|
|
4430
4582
|
declare function registerBuiltinComponents(registry: ComponentRegistry): void;
|
|
@@ -4471,4 +4623,4 @@ interface FormContextValue {
|
|
|
4471
4623
|
/** 在字段组件内探测 Form 上下文;不在 Form 内时返回 null */
|
|
4472
4624
|
declare function useFormContext(): FormContextValue | null;
|
|
4473
4625
|
|
|
4474
|
-
export { Accordion, type AccordionItemData, type AccordionProps, Affix, type AffixProps, AgentStatus, type AgentStatusProps, type AgentStatusType, Alert, AlertDialog, type AlertDialogProps, type AlertProps, type AlertVariant, Anchor, type AnchorItemData, type AnchorProps, AreaChart, type AreaChartProps, ArtifactPanel, type ArtifactPanelProps, type ArtifactTreeNode, type ArtifactViewer, type ArtifactViewers, AspectRatio, type AspectRatioProps, Attachment, type AttachmentItemData, type AttachmentProps, Audio, type AudioProps, Avatar, type AvatarProps, BackTop, type BackTopProps, Badge, type BadgeProps, type BadgeVariant, BarChart, type BarChartProps, Breadcrumb, type BreadcrumbItemData, type BreadcrumbProps, Bubble, BubbleChart, type BubbleChartProps, type BubbleProps, type BubbleVariant, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarProps, Card, type CardProps, Carousel, type CarouselImage, type CarouselItemData, type CarouselProps, Cascader, type CascaderOption, type CascaderProps, type ChartSelectPayload, ChatInput, type ChatInputProps, ChatMessage, type ChatMessageActionItem, type ChatMessageAgent, type ChatMessagePart, type ChatMessageProps, type ChatMessageStatus, ChatPage, type ChatPageArtifact, type ChatPageBrand, type ChatPageMenuItem, type ChatPageProps, Checkbox, type CheckboxProps, Citation, type CitationItem, type CitationProps, CodeBlock, type CodeBlockProps, Collapsible, type CollapsibleProps, ColorPicker, type ColorPickerProps, ColumnChart, type ColumnChartProps, Combobox, type ComboboxOption, type ComboboxProps, Command, type CommandGroupData, type CommandItemData, type CommandProps, ComposedChart, type ComposedChartProps, type ComposedSeriesItem, Composer, type ComposerContextItem, type ComposerContextSource, type ComposerModelOption, type ComposerProps, Container, type ContainerProps, type ContainerSize, Content, type ContentProps, ContextMenu, type ContextMenuItemData, type ContextMenuProps, type ConversationItemData, ConversationList, type ConversationListProps, type ConversationRailItem, DataTable, type DataTableColumn, type DataTablePagination, type DataTableProps, type DataTableSort, type DataTableSortOrder, DatePicker, type DatePickerPreset, type DatePickerPresetKey, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DateRangeValue, Descriptions, type DescriptionsItemData, type DescriptionsProps, Dialog, type DialogProps, DiffViewer, type DiffViewerProps, type DocumentPageData, DocumentPreview, type DocumentPreviewProps, DonutChart, type DonutChartProps, Drawer, type DrawerPlacement, type DrawerProps, DropdownMenu, type DropdownMenuItemData, type DropdownMenuProps, EChartBase, type EChartBaseProps, Empty, type EmptyProps, Field, type FieldProps, type FieldRule, FilePreview, type FilePreviewKind, type FilePreviewProps, Flex, type FlexProps, Footer, type FooterProps, Form, type FormContextValue, type FormProps, FunnelChart, type FunnelChartProps, Gallery, type GalleryItemData, type GalleryProps, GaugeChart, type GaugeChartProps, Grid, type GridProps, Header, type HeaderBrandPosition, type HeaderDropdown, type HeaderDropdownItem, type HeaderLocale, type HeaderMenuItem, type HeaderProps, type HeaderTheme, type HeaderUser, type HeaderUserItem, Heatmap, type HeatmapProps, HoverCard, type HoverCardProps, ICONS, Icon, type IconProps, type IconSize, Image, ImageLightbox, type ImageLightboxProps, type ImageProps, ImageViewer, type ImageViewerProps, Input, InputGroup, type InputGroupProps, InputOTP, type InputOTPProps, type InputProps, Item, type ItemProps, JSONViewer, type JSONViewerProps, Kbd, type KbdProps, Label, type LabelProps, Layout, type LayoutProps, LineChart, type LineChartProps, Link, type LinkProps, List, type ListItemData, type ListProps, LoadingOverlay, type LoadingOverlayProps, MapChart, type MapChartProps, type MentionOption, Mentions, type MentionsProps, Menu, type MenuItem, type MenuProps, Menubar, type MenubarLeafItem, type MenubarMenuData, type MenubarProps, Message, MessageList, type MessageListItem, type MessageListProps, type MessageProps, MetricCard, type MetricCardProps, NavigationMenu, type NavigationMenuChildItem, type NavigationMenuItemData, type NavigationMenuProps, Notification, type NotificationProps, NumberInput, type NumberInputProps, Page, type PageProps, Pagination, type PaginationProps, PieChart, type PieChartProps, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, Progress, type ProgressProps, Prompt, type PromptProps, QRCode, type QRCodeProps, RadarChart, type RadarChartProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, RailTooltip, Rate, type RateProps, Resizable, type ResizablePanelData, type ResizableProps, Result, type ResultProps, type ResultStatus, RichText, type RichTextProps, SankeyChart, type SankeyChartProps, ScatterChart, type ScatterChartProps, ScrollArea, type ScrollAreaProps, Segmented, type SegmentedOption, type SegmentedProps, Select, type SelectOption, type SelectProps, Sender, type SenderProps, Separator, type SeparatorProps, Sheet, type SheetProps, type SheetSide, Sidebar, type SidebarBrand, type SidebarNavItem, type SidebarProps, Sider, type SiderProps, Skeleton, type SkeletonProps, type SkeletonShape, Slider, type SliderProps, Sonner, type SonnerProps, Space, type SpaceProps, Spinner, type SpinnerProps, type SpinnerSize, Statistic, type StatisticProps, Status, type StatusProps, type StatusType, type StepItemData, type StepStatus, Steps, type StepsProps, StreamingText, type StreamingTextProps, Suggestion, type SuggestionItem, type SuggestionProps, Switch, type SwitchProps, type TabItem, Table, type TableColumn, type TablePagination, type TablePaginationInfo, type TableProps, Tabs, type TabsProps, Tag, type TagColor, type TagProps, Text, type TextProps, type TextType, Textarea, type TextareaProps, Thinking, type ThinkingProps, type ThinkingStatus, TimePicker, type TimePickerProps, Timeline, type TimelineItemData, type TimelineProps, Toggle, ToggleGroup, type ToggleGroupOption, type ToggleGroupProps, type ToggleProps, ToolCall, type ToolCallProps, type ToolCallStatus, Tooltip, type TooltipProps, Tour, type TourProps, type TourStep, Transfer, type TransferOption, type TransferProps, Tree, TreeChart, type TreeChartProps, type TreeNodeData, type TreeProps, TreeSelect, type TreeSelectOption, type TreeSelectProps, Typography, type TypographyProps, type TypographyVariant, Upload, type UploadFileMeta, type UploadProps, Video, type VideoProps, Watermark, type WatermarkProps, Welcome, type WelcomePromptItem, type WelcomeProps, buildArtifactTree, builtinComponents, createComponentRegistry, diffLines, inferKind, normalizeIconName, registerBuiltinComponents, useFormContext, useSidebarDrawer };
|
|
4626
|
+
export { Accordion, type AccordionItemData, type AccordionProps, Affix, type AffixProps, AgentStatus, type AgentStatusProps, type AgentStatusType, Alert, AlertDialog, type AlertDialogProps, type AlertProps, type AlertVariant, Anchor, type AnchorItemData, type AnchorProps, AreaChart, type AreaChartProps, ArtifactPanel, type ArtifactPanelProps, type ArtifactTreeNode, type ArtifactViewer, type ArtifactViewers, AspectRatio, type AspectRatioProps, Attachment, type AttachmentItemData, type AttachmentProps, Audio, type AudioProps, Avatar, type AvatarProps, BackTop, type BackTopProps, Badge, type BadgeProps, type BadgeVariant, BarChart, type BarChartProps, Breadcrumb, type BreadcrumbItemData, type BreadcrumbProps, Bubble, BubbleChart, type BubbleChartProps, type BubbleProps, type BubbleVariant, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarProps, Card, type CardProps, Carousel, type CarouselImage, type CarouselItemData, type CarouselProps, Cascader, type CascaderOption, type CascaderProps, type ChartSelectPayload, ChatInput, type ChatInputProps, ChatMessage, type ChatMessageActionItem, type ChatMessageAgent, type ChatMessagePart, type ChatMessageProps, type ChatMessageStatus, ChatPage, type ChatPageArtifact, type ChatPageBrand, type ChatPageMenuItem, type ChatPageProps, Checkbox, type CheckboxProps, Citation, type CitationItem, type CitationProps, CodeBlock, type CodeBlockProps, Collapsible, type CollapsibleProps, ColorPicker, type ColorPickerProps, ColumnChart, type ColumnChartProps, Combobox, type ComboboxOption, type ComboboxProps, Command, type CommandGroupData, type CommandItemData, type CommandProps, ComposedChart, type ComposedChartProps, type ComposedSeriesItem, Composer, type ComposerContextItem, type ComposerContextSource, type ComposerModelOption, type ComposerProps, Container, type ContainerProps, type ContainerSize, Content, type ContentProps, ContextMenu, type ContextMenuItemData, type ContextMenuProps, type ConversationItemData, ConversationList, type ConversationListProps, type ConversationRailItem, DataTable, type DataTableColumn, type DataTablePagination, type DataTableProps, type DataTableSort, type DataTableSortOrder, DatePicker, type DatePickerPreset, type DatePickerPresetKey, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DateRangeValue, Descriptions, type DescriptionsItemData, type DescriptionsProps, Dialog, type DialogProps, DiffViewer, type DiffViewerProps, type DocumentPageData, DocumentPreview, type DocumentPreviewProps, DonutChart, type DonutChartProps, Drawer, type DrawerPlacement, type DrawerProps, DropdownMenu, type DropdownMenuItemData, type DropdownMenuProps, EChartBase, type EChartBaseProps, Empty, type EmptyProps, Field, type FieldProps, type FieldRule, FilePreview, type FilePreviewKind, type FilePreviewProps, Flex, type FlexProps, Footer, type FooterProps, For, type ForProps, Form, type FormContextValue, type FormProps, FunnelChart, type FunnelChartProps, Gallery, type GalleryItemData, type GalleryProps, GaugeChart, type GaugeChartProps, Grid, type GridProps, Header, type HeaderBrandPosition, type HeaderDropdown, type HeaderDropdownItem, type HeaderLocale, type HeaderMenuItem, type HeaderProps, type HeaderTheme, type HeaderUser, type HeaderUserItem, Heatmap, type HeatmapProps, HoverCard, type HoverCardProps, ICONS, Icon, type IconProps, type IconSize, Image, ImageLightbox, type ImageLightboxProps, type ImageProps, ImageViewer, type ImageViewerProps, Input, InputGroup, type InputGroupProps, InputOTP, type InputOTPProps, type InputProps, Item, type ItemProps, JSONViewer, type JSONViewerProps, Kbd, type KbdProps, Label, type LabelProps, Layout, type LayoutProps, LineChart, type LineChartProps, Link, type LinkProps, List, type ListItemData, type ListProps, LoadingOverlay, type LoadingOverlayProps, Login, type LoginBrandInfo, type LoginLink, type LoginProps, type LoginVariant, MapChart, type MapChartProps, type MentionOption, Mentions, type MentionsProps, Menu, type MenuItem, type MenuProps, Menubar, type MenubarLeafItem, type MenubarMenuData, type MenubarProps, Message, MessageList, type MessageListItem, type MessageListProps, type MessageProps, MetricCard, type MetricCardProps, NavigationMenu, type NavigationMenuChildItem, type NavigationMenuItemData, type NavigationMenuProps, Notification, type NotificationProps, NumberInput, type NumberInputProps, Page, type PageProps, Pagination, type PaginationProps, PieChart, type PieChartProps, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, Progress, type ProgressProps, Prompt, type PromptProps, QRCode, type QRCodeProps, RadarChart, type RadarChartProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, RailTooltip, Rate, type RateProps, Resizable, type ResizablePanelData, type ResizableProps, Result, type ResultProps, type ResultStatus, RichText, type RichTextProps, SankeyChart, type SankeyChartProps, ScatterChart, type ScatterChartProps, ScrollArea, type ScrollAreaProps, Segmented, type SegmentedOption, type SegmentedProps, Select, type SelectOption, type SelectProps, Sender, type SenderProps, Separator, type SeparatorProps, Sheet, type SheetProps, type SheetSide, Sidebar, type SidebarBrand, type SidebarNavItem, type SidebarProps, Sider, type SiderProps, Skeleton, type SkeletonProps, type SkeletonShape, Slider, type SliderProps, Sonner, type SonnerProps, Space, type SpaceProps, Spinner, type SpinnerProps, type SpinnerSize, Statistic, type StatisticProps, Status, type StatusProps, type StatusType, type StepItemData, type StepStatus, Steps, StepsPanel, type StepsPanelItemData, type StepsPanelProps, type StepsProps, StreamingText, type StreamingTextProps, Suggestion, type SuggestionItem, type SuggestionProps, Switch, type SwitchProps, type TabItem, Table, type TableColumn, type TablePagination, type TablePaginationInfo, type TableProps, Tabs, type TabsProps, Tag, type TagColor, type TagProps, Text, type TextProps, type TextType, Textarea, type TextareaProps, Thinking, type ThinkingProps, type ThinkingStatus, TimePicker, type TimePickerProps, Timeline, type TimelineItemData, type TimelineProps, Toggle, ToggleGroup, type ToggleGroupOption, type ToggleGroupProps, type ToggleProps, ToolCall, type ToolCallProps, type ToolCallStatus, Tooltip, type TooltipProps, Tour, type TourProps, type TourStep, Transfer, type TransferOption, type TransferProps, Tree, TreeChart, type TreeChartProps, type TreeNodeData, type TreeProps, TreeSelect, type TreeSelectOption, type TreeSelectProps, Typography, type TypographyProps, type TypographyVariant, Upload, type UploadFileMeta, type UploadProps, Video, type VideoProps, Watermark, type WatermarkProps, Welcome, type WelcomePromptItem, type WelcomeProps, buildArtifactTree, builtinComponents, createComponentRegistry, diffLines, inferKind, normalizeIconName, registerBuiltinComponents, useFormContext, useSidebarDrawer };
|
|
@@ -989,6 +989,8 @@ interface FieldProps {
|
|
|
989
989
|
label?: string;
|
|
990
990
|
/** 必填标记(label 前渲染红色 `*`;仅视觉标记,校验仍由 Form rules 承担) */
|
|
991
991
|
required?: boolean;
|
|
992
|
+
/** label 行右侧的提示文字(如「创建后不可修改」),右对齐小字弱化展示 */
|
|
993
|
+
labelHint?: string;
|
|
992
994
|
/** 辅助说明文案 */
|
|
993
995
|
description?: string;
|
|
994
996
|
/** 错误文案(声明式展示,如校验失败信息) */
|
|
@@ -1002,6 +1004,9 @@ interface FieldProps {
|
|
|
1002
1004
|
/** label 节点 class / style(必填星号随 label 节点) */
|
|
1003
1005
|
labelClassName?: string;
|
|
1004
1006
|
labelStyle?: CSSProperties;
|
|
1007
|
+
/** label 行右侧提示节点 class / style */
|
|
1008
|
+
labelHintClassName?: string;
|
|
1009
|
+
labelHintStyle?: CSSProperties;
|
|
1005
1010
|
/** 控件容器(label 下方)class / style;缺省有 label 时容器自带 mt-2 */
|
|
1006
1011
|
controlClassName?: string;
|
|
1007
1012
|
controlStyle?: CSSProperties;
|
|
@@ -1014,12 +1019,13 @@ interface FieldProps {
|
|
|
1014
1019
|
}
|
|
1015
1020
|
/**
|
|
1016
1021
|
* Field 适配器(shadcn kit):通用表单项容器(Base UI Field 封装,
|
|
1017
|
-
* 上下结构:label 在上、控件容器在下);label /
|
|
1018
|
-
*
|
|
1019
|
-
*
|
|
1020
|
-
*
|
|
1022
|
+
* 上下结构:label 在上、控件容器在下);label / labelHint / description /
|
|
1023
|
+
* error 为框架级 props,error 声明式强制展示;`required` 在 label 前渲染
|
|
1024
|
+
* 必填星号(对齐 antd Form.Item required 语义);`labelHint` 与 label 同行
|
|
1025
|
+
* 右对齐(弱化为小字);label 与控件容器之间默认 mt-2,五个节点
|
|
1026
|
+
* (label / labelHint / 控件容器 / description / error)均可独立加样式。
|
|
1021
1027
|
*/
|
|
1022
|
-
declare function Field({ label, required, description, error, children, className, style, labelClassName, labelStyle, controlClassName, controlStyle, descriptionClassName, descriptionStyle, errorClassName, errorStyle, }: FieldProps): React.JSX.Element;
|
|
1028
|
+
declare function Field({ label, required, labelHint, description, error, children, className, style, labelClassName, labelStyle, labelHintClassName, labelHintStyle, controlClassName, controlStyle, descriptionClassName, descriptionStyle, errorClassName, errorStyle, }: FieldProps): React.JSX.Element;
|
|
1023
1029
|
|
|
1024
1030
|
/** 文件类别(缺省按 fileType / name 扩展名推断) */
|
|
1025
1031
|
type FilePreviewKind = 'image' | 'text' | 'video' | 'audio' | 'other';
|
|
@@ -1140,6 +1146,39 @@ interface FormProps {
|
|
|
1140
1146
|
*/
|
|
1141
1147
|
declare function Form({ name, layout, initialValues, className, style, children, onSubmit, onValuesChange, }: FormProps): React.JSX.Element;
|
|
1142
1148
|
|
|
1149
|
+
interface ForProps {
|
|
1150
|
+
/** 循环数据源(表达式解析后的数组);非数组时不渲染 */
|
|
1151
|
+
items?: unknown[];
|
|
1152
|
+
/** 行唯一键字段(React key);缺省按下标 */
|
|
1153
|
+
keyField?: string;
|
|
1154
|
+
/**
|
|
1155
|
+
* 网格列数:设置后由 For 承担网格容器(每行包一层 grid-item),
|
|
1156
|
+
* 语义同 Grid。注意必须如此——Grid 按 React children 逐个包装单元格,
|
|
1157
|
+
* 循环体若作为 Grid 子节点会被整体当成一格。
|
|
1158
|
+
*/
|
|
1159
|
+
columns?: number;
|
|
1160
|
+
/** 网格栏间距(px);未指定时应用默认间距令牌 `--grid-gap` */
|
|
1161
|
+
gap?: number;
|
|
1162
|
+
/** 网格首格内容(DSL 子树),如列表页的「新建」静态卡 */
|
|
1163
|
+
before?: DslChildren;
|
|
1164
|
+
/** 通用:根节点 class(与内置样式合并;平铺模式无根节点,不生效) */
|
|
1165
|
+
className?: string;
|
|
1166
|
+
/** 通用:根节点内联样式(网格模式) */
|
|
1167
|
+
style?: CSSProperties;
|
|
1168
|
+
/** withScope 注入:原始 DSL children(行模板),不对外声明 */
|
|
1169
|
+
dslChildren?: DslChildren;
|
|
1170
|
+
}
|
|
1171
|
+
/**
|
|
1172
|
+
* For 循环渲染(shadcn kit):对 items 逐项渲染 DSL children 模板。
|
|
1173
|
+
* 以 withScope 注册——原始 DSL children 以 dslChildren 传入,逐项经
|
|
1174
|
+
* useRenderer().renderChildren 渲染,作用域注入 `{ row, rowIndex }`
|
|
1175
|
+
* (与 Table cell 模板一致,设计决策 D4)。
|
|
1176
|
+
*
|
|
1177
|
+
* 不设 columns 时输出平铺 Fragment(排列由外层布局承担);
|
|
1178
|
+
* 设置 columns 时自带网格容器(见 columns 注释)。
|
|
1179
|
+
*/
|
|
1180
|
+
declare function For({ items, keyField, columns, gap, before, className, style, dslChildren, }: ForProps): React.JSX.Element;
|
|
1181
|
+
|
|
1143
1182
|
interface GridProps {
|
|
1144
1183
|
/** 列数,默认 1;每列等宽(columns 取整下限 1) */
|
|
1145
1184
|
columns?: number;
|
|
@@ -3631,6 +3670,33 @@ interface SenderProps {
|
|
|
3631
3670
|
/** Sender 适配器(shadcn kit):消息发送方行——头像 + 名称 + 角色 + 时间 */
|
|
3632
3671
|
declare function Sender({ name, avatar, avatarText, role, time, align, className, style }: SenderProps): React.JSX.Element;
|
|
3633
3672
|
|
|
3673
|
+
interface StepsPanelItemData {
|
|
3674
|
+
title: string;
|
|
3675
|
+
description?: string;
|
|
3676
|
+
/** done 已完成 / running 进行中 / pending 待执行(缺省 pending) */
|
|
3677
|
+
status?: 'done' | 'running' | 'pending';
|
|
3678
|
+
duration?: string;
|
|
3679
|
+
}
|
|
3680
|
+
interface StepsPanelProps {
|
|
3681
|
+
/** 面板标题(缺省「执行步骤」) */
|
|
3682
|
+
title?: string;
|
|
3683
|
+
/** 步骤列表(DSL 绑定 ${data.steps}) */
|
|
3684
|
+
steps?: StepsPanelItemData[];
|
|
3685
|
+
/** 空态文案(steps 为空时展示) */
|
|
3686
|
+
emptyText?: string;
|
|
3687
|
+
/** 通用:根节点 class(与内置样式合并) */
|
|
3688
|
+
className?: string;
|
|
3689
|
+
/** 通用:根节点内联样式 */
|
|
3690
|
+
style?: CSSProperties;
|
|
3691
|
+
}
|
|
3692
|
+
/**
|
|
3693
|
+
* StepsPanel 执行步骤面板(chat 目录):纵向时间线展示任务执行步骤,
|
|
3694
|
+
* 状态图标区分已完成 / 进行中 / 待执行。典型用法是作为 ChatPage
|
|
3695
|
+
* 对话图标栏 popover 项的 content(`type: "StepsPanel"`),
|
|
3696
|
+
* 样式全走语义令牌(深浅色/换肤自适应)。
|
|
3697
|
+
*/
|
|
3698
|
+
declare function StepsPanel({ title, steps, emptyText, className, style, }: StepsPanelProps): React.JSX.Element;
|
|
3699
|
+
|
|
3634
3700
|
interface StreamingTextProps {
|
|
3635
3701
|
/** 文本内容(流式场景由数据源持续追加) */
|
|
3636
3702
|
content?: string;
|
|
@@ -4270,6 +4336,86 @@ interface TreeChartProps {
|
|
|
4270
4336
|
}
|
|
4271
4337
|
declare function TreeChart({ data, title, orient, edgeShape, initialTreeDepth, height, onSelect, className, style, }: TreeChartProps): React.JSX.Element;
|
|
4272
4338
|
|
|
4339
|
+
/**
|
|
4340
|
+
* 结构模式(对应《登录页产品结构设计》的容器关系):
|
|
4341
|
+
* - `split`(默认,01–04、12)左右分栏:比例、方向、认证区容器均可配置
|
|
4342
|
+
* - `centered`(05/07)居中认证区
|
|
4343
|
+
* - `brand-card`(06)品牌区为独立卡片 + 右侧裸表单
|
|
4344
|
+
* - `overlap`(08)品牌卡片与登录卡片局部叠加
|
|
4345
|
+
* - `backdrop`(11)整页渐变品牌背景 + 悬浮认证卡片
|
|
4346
|
+
* (10 扫码登录不在组件范围内)
|
|
4347
|
+
*/
|
|
4348
|
+
type LoginVariant = 'split' | 'centered' | 'brand-card' | 'overlap' | 'backdrop';
|
|
4349
|
+
interface LoginBrandInfo {
|
|
4350
|
+
/** Logo 图片地址 */
|
|
4351
|
+
logo?: string;
|
|
4352
|
+
/** 品牌/产品名称 */
|
|
4353
|
+
name?: string;
|
|
4354
|
+
/** 品牌主标题 / Slogan */
|
|
4355
|
+
title?: string;
|
|
4356
|
+
/** 品牌副标题 / 说明 */
|
|
4357
|
+
description?: string;
|
|
4358
|
+
/** 品牌展示插画地址(窄屏不展示);缺省展示内置默认插画,传空字符串可隐藏 */
|
|
4359
|
+
illustration?: string;
|
|
4360
|
+
}
|
|
4361
|
+
interface LoginLink {
|
|
4362
|
+
text: string;
|
|
4363
|
+
/** 配置后渲染为链接直接跳转;缺省时点击触发对应 DSL 事件 */
|
|
4364
|
+
href?: string;
|
|
4365
|
+
}
|
|
4366
|
+
interface LoginProps {
|
|
4367
|
+
/** 结构模式,默认 split */
|
|
4368
|
+
layout?: LoginVariant;
|
|
4369
|
+
/** 品牌区方向(仅 split),默认 left;right 即文档 12「左表单 + 右概念展示」 */
|
|
4370
|
+
brandSide?: 'left' | 'right';
|
|
4371
|
+
/** 品牌区分栏占比 0–1(仅 split),默认 0.5;0.6 即文档 04 的品牌大区 */
|
|
4372
|
+
brandRatio?: number;
|
|
4373
|
+
/**
|
|
4374
|
+
* 认证区容器(split / centered 生效):
|
|
4375
|
+
* `plain` 裸表单(320–380px);`card` 常规卡片(默认,400px);
|
|
4376
|
+
* `float` 大尺寸悬浮卡片(440px + 大留白 + 强阴影,即文档 03)
|
|
4377
|
+
*/
|
|
4378
|
+
authVariant?: 'plain' | 'card' | 'float';
|
|
4379
|
+
/** split 品牌面板是否带渐变背景,默认 true */
|
|
4380
|
+
brandPanelBackground?: boolean;
|
|
4381
|
+
/** 是否渲染默认背景装饰(圆斑/圆环/点阵/流线),默认 true */
|
|
4382
|
+
decor?: boolean;
|
|
4383
|
+
/** 品牌区配置;居中布局下仅展示 logo+name(配置了才渲染) */
|
|
4384
|
+
brand?: LoginBrandInfo;
|
|
4385
|
+
/** 认证区标题 */
|
|
4386
|
+
title?: string;
|
|
4387
|
+
/** 认证区说明 */
|
|
4388
|
+
subtitle?: string;
|
|
4389
|
+
usernameLabel?: string;
|
|
4390
|
+
usernamePlaceholder?: string;
|
|
4391
|
+
passwordLabel?: string;
|
|
4392
|
+
passwordPlaceholder?: string;
|
|
4393
|
+
/** 提交按钮文案 */
|
|
4394
|
+
submitText?: string;
|
|
4395
|
+
/** 注册入口(未配置不渲染) */
|
|
4396
|
+
registerLink?: LoginLink;
|
|
4397
|
+
/** 找回密码入口(未配置不渲染) */
|
|
4398
|
+
forgotLink?: LoginLink;
|
|
4399
|
+
/** 页脚文案(版权/协议行,未配置不渲染) */
|
|
4400
|
+
footer?: string;
|
|
4401
|
+
/** 通用:根节点 class(与内置样式合并) */
|
|
4402
|
+
className?: string;
|
|
4403
|
+
/** 通用:根节点内联样式 */
|
|
4404
|
+
style?: CSSProperties;
|
|
4405
|
+
/** 校验通过后触发,参数为 { username, password };登录请求与跳转由 DSL 编排 */
|
|
4406
|
+
onSubmit?: (values: Record<string, unknown>) => void;
|
|
4407
|
+
onRegisterClick?: () => void;
|
|
4408
|
+
onForgotClick?: () => void;
|
|
4409
|
+
}
|
|
4410
|
+
/**
|
|
4411
|
+
* Login 登录业务组件(business 目录):
|
|
4412
|
+
* 品牌区 + 认证区 + 辅助入口 + 页脚的整页组合,内部复用 Form/Input/Button。
|
|
4413
|
+
* 结构模式(layout)与修饰配置(方向/比例/卡片样式/背景/装饰)正交组合;
|
|
4414
|
+
* 样式全部走语义令牌(深浅色/换肤自适应);文案缺省走 i18n(pactor.login.*),
|
|
4415
|
+
* 同名 props 优先。组件不内置登录请求。
|
|
4416
|
+
*/
|
|
4417
|
+
declare function Login({ layout, brandSide, brandRatio, authVariant, brandPanelBackground, decor, brand, title, subtitle, usernameLabel, usernamePlaceholder, passwordLabel, passwordPlaceholder, submitText, registerLink, forgotLink, footer, className, style, onSubmit, onRegisterClick, onForgotClick, }: LoginProps): React.JSX.Element;
|
|
4418
|
+
|
|
4273
4419
|
/**
|
|
4274
4420
|
* 内置组件表:DSL 类型名 → 组件适配器。
|
|
4275
4421
|
* 类型名集合即 spec: builtin-components 的内置组件清单;
|
|
@@ -4278,6 +4424,10 @@ declare function TreeChart({ data, title, orient, edgeShape, initialTreeDepth, h
|
|
|
4278
4424
|
declare const builtinComponents: {
|
|
4279
4425
|
readonly Page: typeof Page;
|
|
4280
4426
|
readonly Grid: typeof Grid;
|
|
4427
|
+
readonly For: {
|
|
4428
|
+
readonly component: typeof For;
|
|
4429
|
+
readonly withScope: true;
|
|
4430
|
+
};
|
|
4281
4431
|
readonly Flex: typeof Flex;
|
|
4282
4432
|
readonly Card: typeof Card;
|
|
4283
4433
|
readonly Button: typeof Button;
|
|
@@ -4408,6 +4558,7 @@ declare const builtinComponents: {
|
|
|
4408
4558
|
readonly MessageList: typeof MessageList;
|
|
4409
4559
|
readonly Composer: typeof Composer;
|
|
4410
4560
|
readonly ConversationList: typeof ConversationList;
|
|
4561
|
+
readonly StepsPanel: typeof StepsPanel;
|
|
4411
4562
|
readonly MetricCard: typeof MetricCard;
|
|
4412
4563
|
readonly LineChart: typeof LineChart;
|
|
4413
4564
|
readonly ColumnChart: typeof ColumnChart;
|
|
@@ -4425,6 +4576,7 @@ declare const builtinComponents: {
|
|
|
4425
4576
|
readonly SankeyChart: typeof SankeyChart;
|
|
4426
4577
|
readonly MapChart: typeof MapChart;
|
|
4427
4578
|
readonly ComposedChart: typeof ComposedChart;
|
|
4579
|
+
readonly Login: typeof Login;
|
|
4428
4580
|
};
|
|
4429
4581
|
/** 把全部 V1 内置组件按 DSL 类型名注册到给定 ComponentRegistry */
|
|
4430
4582
|
declare function registerBuiltinComponents(registry: ComponentRegistry): void;
|
|
@@ -4471,4 +4623,4 @@ interface FormContextValue {
|
|
|
4471
4623
|
/** 在字段组件内探测 Form 上下文;不在 Form 内时返回 null */
|
|
4472
4624
|
declare function useFormContext(): FormContextValue | null;
|
|
4473
4625
|
|
|
4474
|
-
export { Accordion, type AccordionItemData, type AccordionProps, Affix, type AffixProps, AgentStatus, type AgentStatusProps, type AgentStatusType, Alert, AlertDialog, type AlertDialogProps, type AlertProps, type AlertVariant, Anchor, type AnchorItemData, type AnchorProps, AreaChart, type AreaChartProps, ArtifactPanel, type ArtifactPanelProps, type ArtifactTreeNode, type ArtifactViewer, type ArtifactViewers, AspectRatio, type AspectRatioProps, Attachment, type AttachmentItemData, type AttachmentProps, Audio, type AudioProps, Avatar, type AvatarProps, BackTop, type BackTopProps, Badge, type BadgeProps, type BadgeVariant, BarChart, type BarChartProps, Breadcrumb, type BreadcrumbItemData, type BreadcrumbProps, Bubble, BubbleChart, type BubbleChartProps, type BubbleProps, type BubbleVariant, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarProps, Card, type CardProps, Carousel, type CarouselImage, type CarouselItemData, type CarouselProps, Cascader, type CascaderOption, type CascaderProps, type ChartSelectPayload, ChatInput, type ChatInputProps, ChatMessage, type ChatMessageActionItem, type ChatMessageAgent, type ChatMessagePart, type ChatMessageProps, type ChatMessageStatus, ChatPage, type ChatPageArtifact, type ChatPageBrand, type ChatPageMenuItem, type ChatPageProps, Checkbox, type CheckboxProps, Citation, type CitationItem, type CitationProps, CodeBlock, type CodeBlockProps, Collapsible, type CollapsibleProps, ColorPicker, type ColorPickerProps, ColumnChart, type ColumnChartProps, Combobox, type ComboboxOption, type ComboboxProps, Command, type CommandGroupData, type CommandItemData, type CommandProps, ComposedChart, type ComposedChartProps, type ComposedSeriesItem, Composer, type ComposerContextItem, type ComposerContextSource, type ComposerModelOption, type ComposerProps, Container, type ContainerProps, type ContainerSize, Content, type ContentProps, ContextMenu, type ContextMenuItemData, type ContextMenuProps, type ConversationItemData, ConversationList, type ConversationListProps, type ConversationRailItem, DataTable, type DataTableColumn, type DataTablePagination, type DataTableProps, type DataTableSort, type DataTableSortOrder, DatePicker, type DatePickerPreset, type DatePickerPresetKey, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DateRangeValue, Descriptions, type DescriptionsItemData, type DescriptionsProps, Dialog, type DialogProps, DiffViewer, type DiffViewerProps, type DocumentPageData, DocumentPreview, type DocumentPreviewProps, DonutChart, type DonutChartProps, Drawer, type DrawerPlacement, type DrawerProps, DropdownMenu, type DropdownMenuItemData, type DropdownMenuProps, EChartBase, type EChartBaseProps, Empty, type EmptyProps, Field, type FieldProps, type FieldRule, FilePreview, type FilePreviewKind, type FilePreviewProps, Flex, type FlexProps, Footer, type FooterProps, Form, type FormContextValue, type FormProps, FunnelChart, type FunnelChartProps, Gallery, type GalleryItemData, type GalleryProps, GaugeChart, type GaugeChartProps, Grid, type GridProps, Header, type HeaderBrandPosition, type HeaderDropdown, type HeaderDropdownItem, type HeaderLocale, type HeaderMenuItem, type HeaderProps, type HeaderTheme, type HeaderUser, type HeaderUserItem, Heatmap, type HeatmapProps, HoverCard, type HoverCardProps, ICONS, Icon, type IconProps, type IconSize, Image, ImageLightbox, type ImageLightboxProps, type ImageProps, ImageViewer, type ImageViewerProps, Input, InputGroup, type InputGroupProps, InputOTP, type InputOTPProps, type InputProps, Item, type ItemProps, JSONViewer, type JSONViewerProps, Kbd, type KbdProps, Label, type LabelProps, Layout, type LayoutProps, LineChart, type LineChartProps, Link, type LinkProps, List, type ListItemData, type ListProps, LoadingOverlay, type LoadingOverlayProps, MapChart, type MapChartProps, type MentionOption, Mentions, type MentionsProps, Menu, type MenuItem, type MenuProps, Menubar, type MenubarLeafItem, type MenubarMenuData, type MenubarProps, Message, MessageList, type MessageListItem, type MessageListProps, type MessageProps, MetricCard, type MetricCardProps, NavigationMenu, type NavigationMenuChildItem, type NavigationMenuItemData, type NavigationMenuProps, Notification, type NotificationProps, NumberInput, type NumberInputProps, Page, type PageProps, Pagination, type PaginationProps, PieChart, type PieChartProps, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, Progress, type ProgressProps, Prompt, type PromptProps, QRCode, type QRCodeProps, RadarChart, type RadarChartProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, RailTooltip, Rate, type RateProps, Resizable, type ResizablePanelData, type ResizableProps, Result, type ResultProps, type ResultStatus, RichText, type RichTextProps, SankeyChart, type SankeyChartProps, ScatterChart, type ScatterChartProps, ScrollArea, type ScrollAreaProps, Segmented, type SegmentedOption, type SegmentedProps, Select, type SelectOption, type SelectProps, Sender, type SenderProps, Separator, type SeparatorProps, Sheet, type SheetProps, type SheetSide, Sidebar, type SidebarBrand, type SidebarNavItem, type SidebarProps, Sider, type SiderProps, Skeleton, type SkeletonProps, type SkeletonShape, Slider, type SliderProps, Sonner, type SonnerProps, Space, type SpaceProps, Spinner, type SpinnerProps, type SpinnerSize, Statistic, type StatisticProps, Status, type StatusProps, type StatusType, type StepItemData, type StepStatus, Steps, type StepsProps, StreamingText, type StreamingTextProps, Suggestion, type SuggestionItem, type SuggestionProps, Switch, type SwitchProps, type TabItem, Table, type TableColumn, type TablePagination, type TablePaginationInfo, type TableProps, Tabs, type TabsProps, Tag, type TagColor, type TagProps, Text, type TextProps, type TextType, Textarea, type TextareaProps, Thinking, type ThinkingProps, type ThinkingStatus, TimePicker, type TimePickerProps, Timeline, type TimelineItemData, type TimelineProps, Toggle, ToggleGroup, type ToggleGroupOption, type ToggleGroupProps, type ToggleProps, ToolCall, type ToolCallProps, type ToolCallStatus, Tooltip, type TooltipProps, Tour, type TourProps, type TourStep, Transfer, type TransferOption, type TransferProps, Tree, TreeChart, type TreeChartProps, type TreeNodeData, type TreeProps, TreeSelect, type TreeSelectOption, type TreeSelectProps, Typography, type TypographyProps, type TypographyVariant, Upload, type UploadFileMeta, type UploadProps, Video, type VideoProps, Watermark, type WatermarkProps, Welcome, type WelcomePromptItem, type WelcomeProps, buildArtifactTree, builtinComponents, createComponentRegistry, diffLines, inferKind, normalizeIconName, registerBuiltinComponents, useFormContext, useSidebarDrawer };
|
|
4626
|
+
export { Accordion, type AccordionItemData, type AccordionProps, Affix, type AffixProps, AgentStatus, type AgentStatusProps, type AgentStatusType, Alert, AlertDialog, type AlertDialogProps, type AlertProps, type AlertVariant, Anchor, type AnchorItemData, type AnchorProps, AreaChart, type AreaChartProps, ArtifactPanel, type ArtifactPanelProps, type ArtifactTreeNode, type ArtifactViewer, type ArtifactViewers, AspectRatio, type AspectRatioProps, Attachment, type AttachmentItemData, type AttachmentProps, Audio, type AudioProps, Avatar, type AvatarProps, BackTop, type BackTopProps, Badge, type BadgeProps, type BadgeVariant, BarChart, type BarChartProps, Breadcrumb, type BreadcrumbItemData, type BreadcrumbProps, Bubble, BubbleChart, type BubbleChartProps, type BubbleProps, type BubbleVariant, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarProps, Card, type CardProps, Carousel, type CarouselImage, type CarouselItemData, type CarouselProps, Cascader, type CascaderOption, type CascaderProps, type ChartSelectPayload, ChatInput, type ChatInputProps, ChatMessage, type ChatMessageActionItem, type ChatMessageAgent, type ChatMessagePart, type ChatMessageProps, type ChatMessageStatus, ChatPage, type ChatPageArtifact, type ChatPageBrand, type ChatPageMenuItem, type ChatPageProps, Checkbox, type CheckboxProps, Citation, type CitationItem, type CitationProps, CodeBlock, type CodeBlockProps, Collapsible, type CollapsibleProps, ColorPicker, type ColorPickerProps, ColumnChart, type ColumnChartProps, Combobox, type ComboboxOption, type ComboboxProps, Command, type CommandGroupData, type CommandItemData, type CommandProps, ComposedChart, type ComposedChartProps, type ComposedSeriesItem, Composer, type ComposerContextItem, type ComposerContextSource, type ComposerModelOption, type ComposerProps, Container, type ContainerProps, type ContainerSize, Content, type ContentProps, ContextMenu, type ContextMenuItemData, type ContextMenuProps, type ConversationItemData, ConversationList, type ConversationListProps, type ConversationRailItem, DataTable, type DataTableColumn, type DataTablePagination, type DataTableProps, type DataTableSort, type DataTableSortOrder, DatePicker, type DatePickerPreset, type DatePickerPresetKey, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DateRangeValue, Descriptions, type DescriptionsItemData, type DescriptionsProps, Dialog, type DialogProps, DiffViewer, type DiffViewerProps, type DocumentPageData, DocumentPreview, type DocumentPreviewProps, DonutChart, type DonutChartProps, Drawer, type DrawerPlacement, type DrawerProps, DropdownMenu, type DropdownMenuItemData, type DropdownMenuProps, EChartBase, type EChartBaseProps, Empty, type EmptyProps, Field, type FieldProps, type FieldRule, FilePreview, type FilePreviewKind, type FilePreviewProps, Flex, type FlexProps, Footer, type FooterProps, For, type ForProps, Form, type FormContextValue, type FormProps, FunnelChart, type FunnelChartProps, Gallery, type GalleryItemData, type GalleryProps, GaugeChart, type GaugeChartProps, Grid, type GridProps, Header, type HeaderBrandPosition, type HeaderDropdown, type HeaderDropdownItem, type HeaderLocale, type HeaderMenuItem, type HeaderProps, type HeaderTheme, type HeaderUser, type HeaderUserItem, Heatmap, type HeatmapProps, HoverCard, type HoverCardProps, ICONS, Icon, type IconProps, type IconSize, Image, ImageLightbox, type ImageLightboxProps, type ImageProps, ImageViewer, type ImageViewerProps, Input, InputGroup, type InputGroupProps, InputOTP, type InputOTPProps, type InputProps, Item, type ItemProps, JSONViewer, type JSONViewerProps, Kbd, type KbdProps, Label, type LabelProps, Layout, type LayoutProps, LineChart, type LineChartProps, Link, type LinkProps, List, type ListItemData, type ListProps, LoadingOverlay, type LoadingOverlayProps, Login, type LoginBrandInfo, type LoginLink, type LoginProps, type LoginVariant, MapChart, type MapChartProps, type MentionOption, Mentions, type MentionsProps, Menu, type MenuItem, type MenuProps, Menubar, type MenubarLeafItem, type MenubarMenuData, type MenubarProps, Message, MessageList, type MessageListItem, type MessageListProps, type MessageProps, MetricCard, type MetricCardProps, NavigationMenu, type NavigationMenuChildItem, type NavigationMenuItemData, type NavigationMenuProps, Notification, type NotificationProps, NumberInput, type NumberInputProps, Page, type PageProps, Pagination, type PaginationProps, PieChart, type PieChartProps, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, Progress, type ProgressProps, Prompt, type PromptProps, QRCode, type QRCodeProps, RadarChart, type RadarChartProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, RailTooltip, Rate, type RateProps, Resizable, type ResizablePanelData, type ResizableProps, Result, type ResultProps, type ResultStatus, RichText, type RichTextProps, SankeyChart, type SankeyChartProps, ScatterChart, type ScatterChartProps, ScrollArea, type ScrollAreaProps, Segmented, type SegmentedOption, type SegmentedProps, Select, type SelectOption, type SelectProps, Sender, type SenderProps, Separator, type SeparatorProps, Sheet, type SheetProps, type SheetSide, Sidebar, type SidebarBrand, type SidebarNavItem, type SidebarProps, Sider, type SiderProps, Skeleton, type SkeletonProps, type SkeletonShape, Slider, type SliderProps, Sonner, type SonnerProps, Space, type SpaceProps, Spinner, type SpinnerProps, type SpinnerSize, Statistic, type StatisticProps, Status, type StatusProps, type StatusType, type StepItemData, type StepStatus, Steps, StepsPanel, type StepsPanelItemData, type StepsPanelProps, type StepsProps, StreamingText, type StreamingTextProps, Suggestion, type SuggestionItem, type SuggestionProps, Switch, type SwitchProps, type TabItem, Table, type TableColumn, type TablePagination, type TablePaginationInfo, type TableProps, Tabs, type TabsProps, Tag, type TagColor, type TagProps, Text, type TextProps, type TextType, Textarea, type TextareaProps, Thinking, type ThinkingProps, type ThinkingStatus, TimePicker, type TimePickerProps, Timeline, type TimelineItemData, type TimelineProps, Toggle, ToggleGroup, type ToggleGroupOption, type ToggleGroupProps, type ToggleProps, ToolCall, type ToolCallProps, type ToolCallStatus, Tooltip, type TooltipProps, Tour, type TourProps, type TourStep, Transfer, type TransferOption, type TransferProps, Tree, TreeChart, type TreeChartProps, type TreeNodeData, type TreeProps, TreeSelect, type TreeSelectOption, type TreeSelectProps, Typography, type TypographyProps, type TypographyVariant, Upload, type UploadFileMeta, type UploadProps, Video, type VideoProps, Watermark, type WatermarkProps, Welcome, type WelcomePromptItem, type WelcomeProps, buildArtifactTree, builtinComponents, createComponentRegistry, diffLines, inferKind, normalizeIconName, registerBuiltinComponents, useFormContext, useSidebarDrawer };
|
package/dist/components/index.js
CHANGED
|
@@ -55,6 +55,7 @@ import {
|
|
|
55
55
|
FilePreview,
|
|
56
56
|
Flex,
|
|
57
57
|
Footer,
|
|
58
|
+
For,
|
|
58
59
|
Form,
|
|
59
60
|
FunnelChart,
|
|
60
61
|
Gallery,
|
|
@@ -78,6 +79,7 @@ import {
|
|
|
78
79
|
Link,
|
|
79
80
|
List,
|
|
80
81
|
LoadingOverlay,
|
|
82
|
+
Login,
|
|
81
83
|
MapChart,
|
|
82
84
|
MarkdownDslComponent,
|
|
83
85
|
Mentions,
|
|
@@ -119,6 +121,7 @@ import {
|
|
|
119
121
|
Statistic,
|
|
120
122
|
Status,
|
|
121
123
|
Steps,
|
|
124
|
+
StepsPanel,
|
|
122
125
|
StreamingText,
|
|
123
126
|
Suggestion,
|
|
124
127
|
Switch,
|
|
@@ -151,7 +154,7 @@ import {
|
|
|
151
154
|
inferKind,
|
|
152
155
|
registerBuiltinComponents,
|
|
153
156
|
useFormContext
|
|
154
|
-
} from "../chunk-
|
|
157
|
+
} from "../chunk-HSQJWJDS.js";
|
|
155
158
|
import {
|
|
156
159
|
ICONS,
|
|
157
160
|
Icon,
|
|
@@ -222,6 +225,7 @@ export {
|
|
|
222
225
|
FilePreview,
|
|
223
226
|
Flex,
|
|
224
227
|
Footer,
|
|
228
|
+
For,
|
|
225
229
|
Form,
|
|
226
230
|
FunnelChart,
|
|
227
231
|
Gallery,
|
|
@@ -247,6 +251,7 @@ export {
|
|
|
247
251
|
Link,
|
|
248
252
|
List,
|
|
249
253
|
LoadingOverlay,
|
|
254
|
+
Login,
|
|
250
255
|
MapChart,
|
|
251
256
|
MarkdownDslComponent as Markdown,
|
|
252
257
|
Mentions,
|
|
@@ -291,6 +296,7 @@ export {
|
|
|
291
296
|
Statistic,
|
|
292
297
|
Status,
|
|
293
298
|
Steps,
|
|
299
|
+
StepsPanel,
|
|
294
300
|
StreamingText,
|
|
295
301
|
Suggestion,
|
|
296
302
|
Switch,
|