@pactor-app/ui 1.23.0 → 1.25.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.
@@ -1140,6 +1140,39 @@ interface FormProps {
1140
1140
  */
1141
1141
  declare function Form({ name, layout, initialValues, className, style, children, onSubmit, onValuesChange, }: FormProps): React.JSX.Element;
1142
1142
 
1143
+ interface ForProps {
1144
+ /** 循环数据源(表达式解析后的数组);非数组时不渲染 */
1145
+ items?: unknown[];
1146
+ /** 行唯一键字段(React key);缺省按下标 */
1147
+ keyField?: string;
1148
+ /**
1149
+ * 网格列数:设置后由 For 承担网格容器(每行包一层 grid-item),
1150
+ * 语义同 Grid。注意必须如此——Grid 按 React children 逐个包装单元格,
1151
+ * 循环体若作为 Grid 子节点会被整体当成一格。
1152
+ */
1153
+ columns?: number;
1154
+ /** 网格栏间距(px);未指定时应用默认间距令牌 `--grid-gap` */
1155
+ gap?: number;
1156
+ /** 网格首格内容(DSL 子树),如列表页的「新建」静态卡 */
1157
+ before?: DslChildren;
1158
+ /** 通用:根节点 class(与内置样式合并;平铺模式无根节点,不生效) */
1159
+ className?: string;
1160
+ /** 通用:根节点内联样式(网格模式) */
1161
+ style?: CSSProperties;
1162
+ /** withScope 注入:原始 DSL children(行模板),不对外声明 */
1163
+ dslChildren?: DslChildren;
1164
+ }
1165
+ /**
1166
+ * For 循环渲染(shadcn kit):对 items 逐项渲染 DSL children 模板。
1167
+ * 以 withScope 注册——原始 DSL children 以 dslChildren 传入,逐项经
1168
+ * useRenderer().renderChildren 渲染,作用域注入 `{ row, rowIndex }`
1169
+ * (与 Table cell 模板一致,设计决策 D4)。
1170
+ *
1171
+ * 不设 columns 时输出平铺 Fragment(排列由外层布局承担);
1172
+ * 设置 columns 时自带网格容器(见 columns 注释)。
1173
+ */
1174
+ declare function For({ items, keyField, columns, gap, before, className, style, dslChildren, }: ForProps): React.JSX.Element;
1175
+
1143
1176
  interface GridProps {
1144
1177
  /** 列数,默认 1;每列等宽(columns 取整下限 1) */
1145
1178
  columns?: number;
@@ -3381,6 +3414,20 @@ interface ChatPageMenuItem {
3381
3414
  /** 图标名(Icon 白名单) */
3382
3415
  icon?: string;
3383
3416
  }
3417
+ /** 对话图标栏项:点击 toggle 展示当前对话的附加内容(产物 / 执行步骤等) */
3418
+ interface ConversationRailItem {
3419
+ key: string;
3420
+ /** 提示文案(hover tooltip) */
3421
+ label?: string;
3422
+ /** 图标名(Icon 白名单) */
3423
+ icon?: string;
3424
+ /** 呈现形态:popover(图标栏旁悬浮弹框,缺省)/ panel(产物栏式右侧固定宽栏) */
3425
+ display?: 'panel' | 'popover';
3426
+ /** 附加内容(React 元素或 DslNode;缺省时点击仅触发状态事件,不渲染内容层) */
3427
+ content?: DslNode | ReactNode;
3428
+ /** 隐藏该项(如按当前会话有无对应内容动态显隐);隐藏时激活态一并失效 */
3429
+ hidden?: boolean;
3430
+ }
3384
3431
  /** 品牌区(展开菜单区标题 / 版本) */
3385
3432
  interface ChatPageBrand {
3386
3433
  title: string;
@@ -3436,9 +3483,8 @@ interface ChatPageProps {
3436
3483
  /** 对话区头部标题(通常为当前会话标题) */
3437
3484
  conversationTitle?: string;
3438
3485
  /**
3439
- * 对话区头部右侧自定义操作(图标 + 提示);提供时替换缺省的产物区
3440
- * 开关钮,点击经 onConversationHeaderAction 传出(产物区开关可经
3441
- * 受控 artifactOpen + onArtifactOpenChange 自行接线)
3486
+ * 对话区头部右侧自定义操作(图标 + 提示);提供才渲染(未配置时
3487
+ * header 不渲染任何按钮),点击经 onConversationHeaderAction 传出
3442
3488
  */
3443
3489
  conversationHeaderAction?: {
3444
3490
  icon?: string;
@@ -3447,6 +3493,17 @@ interface ChatPageProps {
3447
3493
  };
3448
3494
  /** 对话区头部右侧自定义操作点击事件 */
3449
3495
  onConversationHeaderAction?: () => void;
3496
+ /**
3497
+ * 对话图标栏附加项(header 下方、对话区右缘纵向排列,产物内置项
3498
+ * 之后按序展示);点击 toggle 展示对应附加内容
3499
+ */
3500
+ conversationRailItems?: ConversationRailItem[];
3501
+ /** 隐藏图标栏内置产物入口(缺省 false:产物开关为图标栏首项) */
3502
+ hideArtifactRailItem?: boolean;
3503
+ /** 图标栏激活项 key(提供即受控,配合 onConversationRailChange 闭环;null 为全部收起) */
3504
+ activeConversationRailKey?: string | null;
3505
+ /** 图标栏激活项变化事件,传出 key 或 null */
3506
+ onConversationRailChange?: (key: string | null) => void;
3450
3507
  messages?: MessageListItem[];
3451
3508
  /** 发送中(禁用 Composer 发送钮,由调用方完成后复位) */
3452
3509
  sending?: boolean;
@@ -3526,13 +3583,16 @@ interface ChatPageProps {
3526
3583
  * 行内提及(contexts:输入触发符在光标处弹菜单,选中替换为行内提及块,
3527
3584
  * 退格整体删除;受控 contextItems)、附件
3528
3585
  * 入口(onAttachFiles + 受控 attachments)与 composerFooter /
3529
- * composerBottom 槽位)、最右产物区(ArtifactPanel:内建产物预览、
3586
+ * composerBottom 槽位)、对话图标栏(header 下方、对话区右缘纵向
3587
+ * 图标列:内置产物入口 + conversationRailItems 附加项,点击 toggle
3588
+ * 展示附加内容——popover 悬浮弹框或 panel 右侧分栏,与产物区互斥)、
3589
+ * 最右产物区(ArtifactPanel:内建产物预览、
3530
3590
  * 目录树与下载,可显隐;展示时经 Resizable 拖拽调节与对话区的宽度)。
3531
3591
  * 数据与行为全部经 props / events 进出,
3532
- * 本组件不持有业务状态(产物区开关与分区折叠缺省非受控,均可经
3533
- * 受控 prop + change 事件闭环)。
3592
+ * 本组件不持有业务状态(产物区开关、图标栏激活项与分区折叠缺省非受控,
3593
+ * 均可经受控 prop + change 事件闭环)。
3534
3594
  */
3535
- declare function ChatPage({ brand, menuItems, activeMenuKey, railItems, railFooterItems, menuAction, onMenuSelect, onMenuAction, conversationSectionTitle, conversationSectionCollapsed, defaultConversationSectionCollapsed, onConversationSectionToggle, conversations, activeConversationId, onSelectConversation, onDeleteConversation, moreLabel, onMore, footerSectionTitle, footerItems, footerSectionCollapsed, defaultFooterSectionCollapsed, onFooterSectionToggle, conversationTitle, conversationHeaderAction, onConversationHeaderAction, messages, sending, composerPlaceholder, welcome, onSend, onMessageAction, models, model, onModelChange, contexts, contextItems, onContextItemsChange, attachments, onAttachFiles, onRemoveAttachment, onRetryAttachment, composerFooter, composerBottom, artifactTitle, artifacts, activeArtifactId, onSelectArtifact, artifactEmptyText, safeRegistry, user, artifactViewers, onDownloadArtifact, artifactOpen, defaultArtifactOpen, onArtifactOpenChange, className, style, }: ChatPageProps): React.JSX.Element;
3595
+ declare function ChatPage({ brand, menuItems, activeMenuKey, railItems, railFooterItems, menuAction, onMenuSelect, onMenuAction, conversationSectionTitle, conversationSectionCollapsed, defaultConversationSectionCollapsed, onConversationSectionToggle, conversations, activeConversationId, onSelectConversation, onDeleteConversation, moreLabel, onMore, footerSectionTitle, footerItems, footerSectionCollapsed, defaultFooterSectionCollapsed, onFooterSectionToggle, conversationTitle, conversationHeaderAction, onConversationHeaderAction, conversationRailItems, hideArtifactRailItem, activeConversationRailKey, onConversationRailChange, messages, sending, composerPlaceholder, welcome, onSend, onMessageAction, models, model, onModelChange, contexts, contextItems, onContextItemsChange, attachments, onAttachFiles, onRemoveAttachment, onRetryAttachment, composerFooter, composerBottom, artifactTitle, artifacts, activeArtifactId, onSelectArtifact, artifactEmptyText, safeRegistry, user, artifactViewers, onDownloadArtifact, artifactOpen, defaultArtifactOpen, onArtifactOpenChange, className, style, }: ChatPageProps): React.JSX.Element;
3536
3596
 
3537
3597
  /** 引用来源项 */
3538
3598
  interface CitationItem {
@@ -3604,6 +3664,33 @@ interface SenderProps {
3604
3664
  /** Sender 适配器(shadcn kit):消息发送方行——头像 + 名称 + 角色 + 时间 */
3605
3665
  declare function Sender({ name, avatar, avatarText, role, time, align, className, style }: SenderProps): React.JSX.Element;
3606
3666
 
3667
+ interface StepsPanelItemData {
3668
+ title: string;
3669
+ description?: string;
3670
+ /** done 已完成 / running 进行中 / pending 待执行(缺省 pending) */
3671
+ status?: 'done' | 'running' | 'pending';
3672
+ duration?: string;
3673
+ }
3674
+ interface StepsPanelProps {
3675
+ /** 面板标题(缺省「执行步骤」) */
3676
+ title?: string;
3677
+ /** 步骤列表(DSL 绑定 ${data.steps}) */
3678
+ steps?: StepsPanelItemData[];
3679
+ /** 空态文案(steps 为空时展示) */
3680
+ emptyText?: string;
3681
+ /** 通用:根节点 class(与内置样式合并) */
3682
+ className?: string;
3683
+ /** 通用:根节点内联样式 */
3684
+ style?: CSSProperties;
3685
+ }
3686
+ /**
3687
+ * StepsPanel 执行步骤面板(chat 目录):纵向时间线展示任务执行步骤,
3688
+ * 状态图标区分已完成 / 进行中 / 待执行。典型用法是作为 ChatPage
3689
+ * 对话图标栏 popover 项的 content(`type: "StepsPanel"`),
3690
+ * 样式全走语义令牌(深浅色/换肤自适应)。
3691
+ */
3692
+ declare function StepsPanel({ title, steps, emptyText, className, style, }: StepsPanelProps): React.JSX.Element;
3693
+
3607
3694
  interface StreamingTextProps {
3608
3695
  /** 文本内容(流式场景由数据源持续追加) */
3609
3696
  content?: string;
@@ -4243,6 +4330,86 @@ interface TreeChartProps {
4243
4330
  }
4244
4331
  declare function TreeChart({ data, title, orient, edgeShape, initialTreeDepth, height, onSelect, className, style, }: TreeChartProps): React.JSX.Element;
4245
4332
 
4333
+ /**
4334
+ * 结构模式(对应《登录页产品结构设计》的容器关系):
4335
+ * - `split`(默认,01–04、12)左右分栏:比例、方向、认证区容器均可配置
4336
+ * - `centered`(05/07)居中认证区
4337
+ * - `brand-card`(06)品牌区为独立卡片 + 右侧裸表单
4338
+ * - `overlap`(08)品牌卡片与登录卡片局部叠加
4339
+ * - `backdrop`(11)整页渐变品牌背景 + 悬浮认证卡片
4340
+ * (10 扫码登录不在组件范围内)
4341
+ */
4342
+ type LoginVariant = 'split' | 'centered' | 'brand-card' | 'overlap' | 'backdrop';
4343
+ interface LoginBrandInfo {
4344
+ /** Logo 图片地址 */
4345
+ logo?: string;
4346
+ /** 品牌/产品名称 */
4347
+ name?: string;
4348
+ /** 品牌主标题 / Slogan */
4349
+ title?: string;
4350
+ /** 品牌副标题 / 说明 */
4351
+ description?: string;
4352
+ /** 品牌展示插画地址(窄屏不展示);缺省展示内置默认插画,传空字符串可隐藏 */
4353
+ illustration?: string;
4354
+ }
4355
+ interface LoginLink {
4356
+ text: string;
4357
+ /** 配置后渲染为链接直接跳转;缺省时点击触发对应 DSL 事件 */
4358
+ href?: string;
4359
+ }
4360
+ interface LoginProps {
4361
+ /** 结构模式,默认 split */
4362
+ layout?: LoginVariant;
4363
+ /** 品牌区方向(仅 split),默认 left;right 即文档 12「左表单 + 右概念展示」 */
4364
+ brandSide?: 'left' | 'right';
4365
+ /** 品牌区分栏占比 0–1(仅 split),默认 0.5;0.6 即文档 04 的品牌大区 */
4366
+ brandRatio?: number;
4367
+ /**
4368
+ * 认证区容器(split / centered 生效):
4369
+ * `plain` 裸表单(320–380px);`card` 常规卡片(默认,400px);
4370
+ * `float` 大尺寸悬浮卡片(440px + 大留白 + 强阴影,即文档 03)
4371
+ */
4372
+ authVariant?: 'plain' | 'card' | 'float';
4373
+ /** split 品牌面板是否带渐变背景,默认 true */
4374
+ brandPanelBackground?: boolean;
4375
+ /** 是否渲染默认背景装饰(圆斑/圆环/点阵/流线),默认 true */
4376
+ decor?: boolean;
4377
+ /** 品牌区配置;居中布局下仅展示 logo+name(配置了才渲染) */
4378
+ brand?: LoginBrandInfo;
4379
+ /** 认证区标题 */
4380
+ title?: string;
4381
+ /** 认证区说明 */
4382
+ subtitle?: string;
4383
+ usernameLabel?: string;
4384
+ usernamePlaceholder?: string;
4385
+ passwordLabel?: string;
4386
+ passwordPlaceholder?: string;
4387
+ /** 提交按钮文案 */
4388
+ submitText?: string;
4389
+ /** 注册入口(未配置不渲染) */
4390
+ registerLink?: LoginLink;
4391
+ /** 找回密码入口(未配置不渲染) */
4392
+ forgotLink?: LoginLink;
4393
+ /** 页脚文案(版权/协议行,未配置不渲染) */
4394
+ footer?: string;
4395
+ /** 通用:根节点 class(与内置样式合并) */
4396
+ className?: string;
4397
+ /** 通用:根节点内联样式 */
4398
+ style?: CSSProperties;
4399
+ /** 校验通过后触发,参数为 { username, password };登录请求与跳转由 DSL 编排 */
4400
+ onSubmit?: (values: Record<string, unknown>) => void;
4401
+ onRegisterClick?: () => void;
4402
+ onForgotClick?: () => void;
4403
+ }
4404
+ /**
4405
+ * Login 登录业务组件(business 目录):
4406
+ * 品牌区 + 认证区 + 辅助入口 + 页脚的整页组合,内部复用 Form/Input/Button。
4407
+ * 结构模式(layout)与修饰配置(方向/比例/卡片样式/背景/装饰)正交组合;
4408
+ * 样式全部走语义令牌(深浅色/换肤自适应);文案缺省走 i18n(pactor.login.*),
4409
+ * 同名 props 优先。组件不内置登录请求。
4410
+ */
4411
+ 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;
4412
+
4246
4413
  /**
4247
4414
  * 内置组件表:DSL 类型名 → 组件适配器。
4248
4415
  * 类型名集合即 spec: builtin-components 的内置组件清单;
@@ -4251,6 +4418,10 @@ declare function TreeChart({ data, title, orient, edgeShape, initialTreeDepth, h
4251
4418
  declare const builtinComponents: {
4252
4419
  readonly Page: typeof Page;
4253
4420
  readonly Grid: typeof Grid;
4421
+ readonly For: {
4422
+ readonly component: typeof For;
4423
+ readonly withScope: true;
4424
+ };
4254
4425
  readonly Flex: typeof Flex;
4255
4426
  readonly Card: typeof Card;
4256
4427
  readonly Button: typeof Button;
@@ -4381,6 +4552,7 @@ declare const builtinComponents: {
4381
4552
  readonly MessageList: typeof MessageList;
4382
4553
  readonly Composer: typeof Composer;
4383
4554
  readonly ConversationList: typeof ConversationList;
4555
+ readonly StepsPanel: typeof StepsPanel;
4384
4556
  readonly MetricCard: typeof MetricCard;
4385
4557
  readonly LineChart: typeof LineChart;
4386
4558
  readonly ColumnChart: typeof ColumnChart;
@@ -4398,6 +4570,7 @@ declare const builtinComponents: {
4398
4570
  readonly SankeyChart: typeof SankeyChart;
4399
4571
  readonly MapChart: typeof MapChart;
4400
4572
  readonly ComposedChart: typeof ComposedChart;
4573
+ readonly Login: typeof Login;
4401
4574
  };
4402
4575
  /** 把全部 V1 内置组件按 DSL 类型名注册到给定 ComponentRegistry */
4403
4576
  declare function registerBuiltinComponents(registry: ComponentRegistry): void;
@@ -4444,4 +4617,4 @@ interface FormContextValue {
4444
4617
  /** 在字段组件内探测 Form 上下文;不在 Form 内时返回 null */
4445
4618
  declare function useFormContext(): FormContextValue | null;
4446
4619
 
4447
- 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, 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 };
4620
+ 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 };
@@ -1140,6 +1140,39 @@ interface FormProps {
1140
1140
  */
1141
1141
  declare function Form({ name, layout, initialValues, className, style, children, onSubmit, onValuesChange, }: FormProps): React.JSX.Element;
1142
1142
 
1143
+ interface ForProps {
1144
+ /** 循环数据源(表达式解析后的数组);非数组时不渲染 */
1145
+ items?: unknown[];
1146
+ /** 行唯一键字段(React key);缺省按下标 */
1147
+ keyField?: string;
1148
+ /**
1149
+ * 网格列数:设置后由 For 承担网格容器(每行包一层 grid-item),
1150
+ * 语义同 Grid。注意必须如此——Grid 按 React children 逐个包装单元格,
1151
+ * 循环体若作为 Grid 子节点会被整体当成一格。
1152
+ */
1153
+ columns?: number;
1154
+ /** 网格栏间距(px);未指定时应用默认间距令牌 `--grid-gap` */
1155
+ gap?: number;
1156
+ /** 网格首格内容(DSL 子树),如列表页的「新建」静态卡 */
1157
+ before?: DslChildren;
1158
+ /** 通用:根节点 class(与内置样式合并;平铺模式无根节点,不生效) */
1159
+ className?: string;
1160
+ /** 通用:根节点内联样式(网格模式) */
1161
+ style?: CSSProperties;
1162
+ /** withScope 注入:原始 DSL children(行模板),不对外声明 */
1163
+ dslChildren?: DslChildren;
1164
+ }
1165
+ /**
1166
+ * For 循环渲染(shadcn kit):对 items 逐项渲染 DSL children 模板。
1167
+ * 以 withScope 注册——原始 DSL children 以 dslChildren 传入,逐项经
1168
+ * useRenderer().renderChildren 渲染,作用域注入 `{ row, rowIndex }`
1169
+ * (与 Table cell 模板一致,设计决策 D4)。
1170
+ *
1171
+ * 不设 columns 时输出平铺 Fragment(排列由外层布局承担);
1172
+ * 设置 columns 时自带网格容器(见 columns 注释)。
1173
+ */
1174
+ declare function For({ items, keyField, columns, gap, before, className, style, dslChildren, }: ForProps): React.JSX.Element;
1175
+
1143
1176
  interface GridProps {
1144
1177
  /** 列数,默认 1;每列等宽(columns 取整下限 1) */
1145
1178
  columns?: number;
@@ -3381,6 +3414,20 @@ interface ChatPageMenuItem {
3381
3414
  /** 图标名(Icon 白名单) */
3382
3415
  icon?: string;
3383
3416
  }
3417
+ /** 对话图标栏项:点击 toggle 展示当前对话的附加内容(产物 / 执行步骤等) */
3418
+ interface ConversationRailItem {
3419
+ key: string;
3420
+ /** 提示文案(hover tooltip) */
3421
+ label?: string;
3422
+ /** 图标名(Icon 白名单) */
3423
+ icon?: string;
3424
+ /** 呈现形态:popover(图标栏旁悬浮弹框,缺省)/ panel(产物栏式右侧固定宽栏) */
3425
+ display?: 'panel' | 'popover';
3426
+ /** 附加内容(React 元素或 DslNode;缺省时点击仅触发状态事件,不渲染内容层) */
3427
+ content?: DslNode | ReactNode;
3428
+ /** 隐藏该项(如按当前会话有无对应内容动态显隐);隐藏时激活态一并失效 */
3429
+ hidden?: boolean;
3430
+ }
3384
3431
  /** 品牌区(展开菜单区标题 / 版本) */
3385
3432
  interface ChatPageBrand {
3386
3433
  title: string;
@@ -3436,9 +3483,8 @@ interface ChatPageProps {
3436
3483
  /** 对话区头部标题(通常为当前会话标题) */
3437
3484
  conversationTitle?: string;
3438
3485
  /**
3439
- * 对话区头部右侧自定义操作(图标 + 提示);提供时替换缺省的产物区
3440
- * 开关钮,点击经 onConversationHeaderAction 传出(产物区开关可经
3441
- * 受控 artifactOpen + onArtifactOpenChange 自行接线)
3486
+ * 对话区头部右侧自定义操作(图标 + 提示);提供才渲染(未配置时
3487
+ * header 不渲染任何按钮),点击经 onConversationHeaderAction 传出
3442
3488
  */
3443
3489
  conversationHeaderAction?: {
3444
3490
  icon?: string;
@@ -3447,6 +3493,17 @@ interface ChatPageProps {
3447
3493
  };
3448
3494
  /** 对话区头部右侧自定义操作点击事件 */
3449
3495
  onConversationHeaderAction?: () => void;
3496
+ /**
3497
+ * 对话图标栏附加项(header 下方、对话区右缘纵向排列,产物内置项
3498
+ * 之后按序展示);点击 toggle 展示对应附加内容
3499
+ */
3500
+ conversationRailItems?: ConversationRailItem[];
3501
+ /** 隐藏图标栏内置产物入口(缺省 false:产物开关为图标栏首项) */
3502
+ hideArtifactRailItem?: boolean;
3503
+ /** 图标栏激活项 key(提供即受控,配合 onConversationRailChange 闭环;null 为全部收起) */
3504
+ activeConversationRailKey?: string | null;
3505
+ /** 图标栏激活项变化事件,传出 key 或 null */
3506
+ onConversationRailChange?: (key: string | null) => void;
3450
3507
  messages?: MessageListItem[];
3451
3508
  /** 发送中(禁用 Composer 发送钮,由调用方完成后复位) */
3452
3509
  sending?: boolean;
@@ -3526,13 +3583,16 @@ interface ChatPageProps {
3526
3583
  * 行内提及(contexts:输入触发符在光标处弹菜单,选中替换为行内提及块,
3527
3584
  * 退格整体删除;受控 contextItems)、附件
3528
3585
  * 入口(onAttachFiles + 受控 attachments)与 composerFooter /
3529
- * composerBottom 槽位)、最右产物区(ArtifactPanel:内建产物预览、
3586
+ * composerBottom 槽位)、对话图标栏(header 下方、对话区右缘纵向
3587
+ * 图标列:内置产物入口 + conversationRailItems 附加项,点击 toggle
3588
+ * 展示附加内容——popover 悬浮弹框或 panel 右侧分栏,与产物区互斥)、
3589
+ * 最右产物区(ArtifactPanel:内建产物预览、
3530
3590
  * 目录树与下载,可显隐;展示时经 Resizable 拖拽调节与对话区的宽度)。
3531
3591
  * 数据与行为全部经 props / events 进出,
3532
- * 本组件不持有业务状态(产物区开关与分区折叠缺省非受控,均可经
3533
- * 受控 prop + change 事件闭环)。
3592
+ * 本组件不持有业务状态(产物区开关、图标栏激活项与分区折叠缺省非受控,
3593
+ * 均可经受控 prop + change 事件闭环)。
3534
3594
  */
3535
- declare function ChatPage({ brand, menuItems, activeMenuKey, railItems, railFooterItems, menuAction, onMenuSelect, onMenuAction, conversationSectionTitle, conversationSectionCollapsed, defaultConversationSectionCollapsed, onConversationSectionToggle, conversations, activeConversationId, onSelectConversation, onDeleteConversation, moreLabel, onMore, footerSectionTitle, footerItems, footerSectionCollapsed, defaultFooterSectionCollapsed, onFooterSectionToggle, conversationTitle, conversationHeaderAction, onConversationHeaderAction, messages, sending, composerPlaceholder, welcome, onSend, onMessageAction, models, model, onModelChange, contexts, contextItems, onContextItemsChange, attachments, onAttachFiles, onRemoveAttachment, onRetryAttachment, composerFooter, composerBottom, artifactTitle, artifacts, activeArtifactId, onSelectArtifact, artifactEmptyText, safeRegistry, user, artifactViewers, onDownloadArtifact, artifactOpen, defaultArtifactOpen, onArtifactOpenChange, className, style, }: ChatPageProps): React.JSX.Element;
3595
+ declare function ChatPage({ brand, menuItems, activeMenuKey, railItems, railFooterItems, menuAction, onMenuSelect, onMenuAction, conversationSectionTitle, conversationSectionCollapsed, defaultConversationSectionCollapsed, onConversationSectionToggle, conversations, activeConversationId, onSelectConversation, onDeleteConversation, moreLabel, onMore, footerSectionTitle, footerItems, footerSectionCollapsed, defaultFooterSectionCollapsed, onFooterSectionToggle, conversationTitle, conversationHeaderAction, onConversationHeaderAction, conversationRailItems, hideArtifactRailItem, activeConversationRailKey, onConversationRailChange, messages, sending, composerPlaceholder, welcome, onSend, onMessageAction, models, model, onModelChange, contexts, contextItems, onContextItemsChange, attachments, onAttachFiles, onRemoveAttachment, onRetryAttachment, composerFooter, composerBottom, artifactTitle, artifacts, activeArtifactId, onSelectArtifact, artifactEmptyText, safeRegistry, user, artifactViewers, onDownloadArtifact, artifactOpen, defaultArtifactOpen, onArtifactOpenChange, className, style, }: ChatPageProps): React.JSX.Element;
3536
3596
 
3537
3597
  /** 引用来源项 */
3538
3598
  interface CitationItem {
@@ -3604,6 +3664,33 @@ interface SenderProps {
3604
3664
  /** Sender 适配器(shadcn kit):消息发送方行——头像 + 名称 + 角色 + 时间 */
3605
3665
  declare function Sender({ name, avatar, avatarText, role, time, align, className, style }: SenderProps): React.JSX.Element;
3606
3666
 
3667
+ interface StepsPanelItemData {
3668
+ title: string;
3669
+ description?: string;
3670
+ /** done 已完成 / running 进行中 / pending 待执行(缺省 pending) */
3671
+ status?: 'done' | 'running' | 'pending';
3672
+ duration?: string;
3673
+ }
3674
+ interface StepsPanelProps {
3675
+ /** 面板标题(缺省「执行步骤」) */
3676
+ title?: string;
3677
+ /** 步骤列表(DSL 绑定 ${data.steps}) */
3678
+ steps?: StepsPanelItemData[];
3679
+ /** 空态文案(steps 为空时展示) */
3680
+ emptyText?: string;
3681
+ /** 通用:根节点 class(与内置样式合并) */
3682
+ className?: string;
3683
+ /** 通用:根节点内联样式 */
3684
+ style?: CSSProperties;
3685
+ }
3686
+ /**
3687
+ * StepsPanel 执行步骤面板(chat 目录):纵向时间线展示任务执行步骤,
3688
+ * 状态图标区分已完成 / 进行中 / 待执行。典型用法是作为 ChatPage
3689
+ * 对话图标栏 popover 项的 content(`type: "StepsPanel"`),
3690
+ * 样式全走语义令牌(深浅色/换肤自适应)。
3691
+ */
3692
+ declare function StepsPanel({ title, steps, emptyText, className, style, }: StepsPanelProps): React.JSX.Element;
3693
+
3607
3694
  interface StreamingTextProps {
3608
3695
  /** 文本内容(流式场景由数据源持续追加) */
3609
3696
  content?: string;
@@ -4243,6 +4330,86 @@ interface TreeChartProps {
4243
4330
  }
4244
4331
  declare function TreeChart({ data, title, orient, edgeShape, initialTreeDepth, height, onSelect, className, style, }: TreeChartProps): React.JSX.Element;
4245
4332
 
4333
+ /**
4334
+ * 结构模式(对应《登录页产品结构设计》的容器关系):
4335
+ * - `split`(默认,01–04、12)左右分栏:比例、方向、认证区容器均可配置
4336
+ * - `centered`(05/07)居中认证区
4337
+ * - `brand-card`(06)品牌区为独立卡片 + 右侧裸表单
4338
+ * - `overlap`(08)品牌卡片与登录卡片局部叠加
4339
+ * - `backdrop`(11)整页渐变品牌背景 + 悬浮认证卡片
4340
+ * (10 扫码登录不在组件范围内)
4341
+ */
4342
+ type LoginVariant = 'split' | 'centered' | 'brand-card' | 'overlap' | 'backdrop';
4343
+ interface LoginBrandInfo {
4344
+ /** Logo 图片地址 */
4345
+ logo?: string;
4346
+ /** 品牌/产品名称 */
4347
+ name?: string;
4348
+ /** 品牌主标题 / Slogan */
4349
+ title?: string;
4350
+ /** 品牌副标题 / 说明 */
4351
+ description?: string;
4352
+ /** 品牌展示插画地址(窄屏不展示);缺省展示内置默认插画,传空字符串可隐藏 */
4353
+ illustration?: string;
4354
+ }
4355
+ interface LoginLink {
4356
+ text: string;
4357
+ /** 配置后渲染为链接直接跳转;缺省时点击触发对应 DSL 事件 */
4358
+ href?: string;
4359
+ }
4360
+ interface LoginProps {
4361
+ /** 结构模式,默认 split */
4362
+ layout?: LoginVariant;
4363
+ /** 品牌区方向(仅 split),默认 left;right 即文档 12「左表单 + 右概念展示」 */
4364
+ brandSide?: 'left' | 'right';
4365
+ /** 品牌区分栏占比 0–1(仅 split),默认 0.5;0.6 即文档 04 的品牌大区 */
4366
+ brandRatio?: number;
4367
+ /**
4368
+ * 认证区容器(split / centered 生效):
4369
+ * `plain` 裸表单(320–380px);`card` 常规卡片(默认,400px);
4370
+ * `float` 大尺寸悬浮卡片(440px + 大留白 + 强阴影,即文档 03)
4371
+ */
4372
+ authVariant?: 'plain' | 'card' | 'float';
4373
+ /** split 品牌面板是否带渐变背景,默认 true */
4374
+ brandPanelBackground?: boolean;
4375
+ /** 是否渲染默认背景装饰(圆斑/圆环/点阵/流线),默认 true */
4376
+ decor?: boolean;
4377
+ /** 品牌区配置;居中布局下仅展示 logo+name(配置了才渲染) */
4378
+ brand?: LoginBrandInfo;
4379
+ /** 认证区标题 */
4380
+ title?: string;
4381
+ /** 认证区说明 */
4382
+ subtitle?: string;
4383
+ usernameLabel?: string;
4384
+ usernamePlaceholder?: string;
4385
+ passwordLabel?: string;
4386
+ passwordPlaceholder?: string;
4387
+ /** 提交按钮文案 */
4388
+ submitText?: string;
4389
+ /** 注册入口(未配置不渲染) */
4390
+ registerLink?: LoginLink;
4391
+ /** 找回密码入口(未配置不渲染) */
4392
+ forgotLink?: LoginLink;
4393
+ /** 页脚文案(版权/协议行,未配置不渲染) */
4394
+ footer?: string;
4395
+ /** 通用:根节点 class(与内置样式合并) */
4396
+ className?: string;
4397
+ /** 通用:根节点内联样式 */
4398
+ style?: CSSProperties;
4399
+ /** 校验通过后触发,参数为 { username, password };登录请求与跳转由 DSL 编排 */
4400
+ onSubmit?: (values: Record<string, unknown>) => void;
4401
+ onRegisterClick?: () => void;
4402
+ onForgotClick?: () => void;
4403
+ }
4404
+ /**
4405
+ * Login 登录业务组件(business 目录):
4406
+ * 品牌区 + 认证区 + 辅助入口 + 页脚的整页组合,内部复用 Form/Input/Button。
4407
+ * 结构模式(layout)与修饰配置(方向/比例/卡片样式/背景/装饰)正交组合;
4408
+ * 样式全部走语义令牌(深浅色/换肤自适应);文案缺省走 i18n(pactor.login.*),
4409
+ * 同名 props 优先。组件不内置登录请求。
4410
+ */
4411
+ 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;
4412
+
4246
4413
  /**
4247
4414
  * 内置组件表:DSL 类型名 → 组件适配器。
4248
4415
  * 类型名集合即 spec: builtin-components 的内置组件清单;
@@ -4251,6 +4418,10 @@ declare function TreeChart({ data, title, orient, edgeShape, initialTreeDepth, h
4251
4418
  declare const builtinComponents: {
4252
4419
  readonly Page: typeof Page;
4253
4420
  readonly Grid: typeof Grid;
4421
+ readonly For: {
4422
+ readonly component: typeof For;
4423
+ readonly withScope: true;
4424
+ };
4254
4425
  readonly Flex: typeof Flex;
4255
4426
  readonly Card: typeof Card;
4256
4427
  readonly Button: typeof Button;
@@ -4381,6 +4552,7 @@ declare const builtinComponents: {
4381
4552
  readonly MessageList: typeof MessageList;
4382
4553
  readonly Composer: typeof Composer;
4383
4554
  readonly ConversationList: typeof ConversationList;
4555
+ readonly StepsPanel: typeof StepsPanel;
4384
4556
  readonly MetricCard: typeof MetricCard;
4385
4557
  readonly LineChart: typeof LineChart;
4386
4558
  readonly ColumnChart: typeof ColumnChart;
@@ -4398,6 +4570,7 @@ declare const builtinComponents: {
4398
4570
  readonly SankeyChart: typeof SankeyChart;
4399
4571
  readonly MapChart: typeof MapChart;
4400
4572
  readonly ComposedChart: typeof ComposedChart;
4573
+ readonly Login: typeof Login;
4401
4574
  };
4402
4575
  /** 把全部 V1 内置组件按 DSL 类型名注册到给定 ComponentRegistry */
4403
4576
  declare function registerBuiltinComponents(registry: ComponentRegistry): void;
@@ -4444,4 +4617,4 @@ interface FormContextValue {
4444
4617
  /** 在字段组件内探测 Form 上下文;不在 Form 内时返回 null */
4445
4618
  declare function useFormContext(): FormContextValue | null;
4446
4619
 
4447
- 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, 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 };
4620
+ 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 };
@@ -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-VTCNWVKQ.js";
157
+ } from "../chunk-7VQS23L5.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,