@pactor-app/ui 1.20.0 → 1.22.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-COMLXFWS.js → chunk-44DAGWXZ.js} +13 -3
- package/dist/chunk-EDUMGNT6.js +10951 -0
- package/dist/{chunk-XA6OJ54X.js → chunk-JWZHJEUS.js} +368 -283
- package/dist/{chunk-IMRMBMHI.js → chunk-QQBAMERO.js} +1 -1
- package/dist/components/index.cjs +8738 -1507
- package/dist/components/index.d.cts +2439 -40
- package/dist/components/index.d.ts +2439 -40
- package/dist/components/index.js +163 -5
- package/dist/index.cjs +8865 -1634
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +164 -6
- package/dist/layout/index.cjs +7 -2
- package/dist/layout/index.js +2 -2
- package/dist/{typography-BYDh5oku.d.cts → typography-BYdZkkP5.d.cts} +27 -2
- package/dist/{typography-BYDh5oku.d.ts → typography-BYdZkkP5.d.ts} +27 -2
- package/dist/ui/index.cjs +335 -371
- package/dist/ui/index.d.cts +6 -38
- package/dist/ui/index.d.ts +6 -38
- package/dist/ui/index.js +12 -128
- package/package.json +10 -6
- package/styles.css +652 -2
- package/dist/chunk-MHM7LTV2.js +0 -3820
package/dist/index.d.cts
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
export { Accordion, AccordionItemData, AccordionProps, Alert, AlertDialog, AlertDialogProps, AlertProps, AlertVariant, AspectRatio, AspectRatioProps, Avatar, AvatarProps, Badge, BadgeProps, BadgeVariant, Breadcrumb, BreadcrumbItemData, BreadcrumbProps, Button, ButtonGroup, ButtonGroupProps, ButtonProps, ButtonSize, ButtonVariant, Calendar, CalendarProps, Card, CardProps, Carousel, CarouselImage, CarouselItemData, CarouselProps,
|
|
1
|
+
export { Accordion, AccordionItemData, AccordionProps, Affix, AffixProps, AgentStatus, AgentStatusProps, AgentStatusType, Alert, AlertDialog, AlertDialogProps, AlertProps, AlertVariant, Anchor, AnchorItemData, AnchorProps, AreaChart, AreaChartProps, ArtifactPanel, ArtifactPanelProps, ArtifactTreeNode, ArtifactViewer, ArtifactViewers, AspectRatio, AspectRatioProps, Attachment, AttachmentItemData, AttachmentProps, Audio, AudioProps, Avatar, AvatarProps, BackTop, BackTopProps, Badge, BadgeProps, BadgeVariant, BarChart, BarChartProps, Breadcrumb, BreadcrumbItemData, BreadcrumbProps, Bubble, BubbleChart, BubbleChartProps, BubbleProps, BubbleVariant, Button, ButtonGroup, ButtonGroupProps, ButtonProps, ButtonSize, ButtonVariant, Calendar, CalendarProps, Card, CardProps, Carousel, CarouselImage, CarouselItemData, CarouselProps, Cascader, CascaderOption, CascaderProps, ChartSelectPayload, ChatInput, ChatInputProps, ChatMessage, ChatMessageActionItem, ChatMessageAgent, ChatMessagePart, ChatMessageProps, ChatMessageStatus, ChatPage, ChatPageArtifact, ChatPageBrand, ChatPageMenuItem, ChatPageProps, Checkbox, CheckboxProps, Citation, CitationItem, CitationProps, CodeBlock, CodeBlockProps, Collapsible, CollapsibleProps, ColorPicker, ColorPickerProps, ColumnChart, ColumnChartProps, Combobox, ComboboxOption, ComboboxProps, Command, CommandGroupData, CommandItemData, CommandProps, ComposedChart, ComposedChartProps, ComposedSeriesItem, Composer, ComposerContextItem, ComposerContextSource, ComposerModelOption, ComposerProps, Container, ContainerProps, ContainerSize, Content, ContentProps, ContextMenu, ContextMenuItemData, ContextMenuProps, ConversationItemData, ConversationList, ConversationListProps, DataTable, DataTableColumn, DataTablePagination, DataTableProps, DataTableSort, DataTableSortOrder, DatePicker, DatePickerPreset, DatePickerPresetKey, DatePickerProps, DatePickerRangeProps, DatePickerSingleProps, DateRangeValue, Descriptions, DescriptionsItemData, DescriptionsProps, Dialog, DialogProps, DiffViewer, DiffViewerProps, DocumentPageData, DocumentPreview, DocumentPreviewProps, DonutChart, DonutChartProps, Drawer, DrawerPlacement, DrawerProps, DropdownMenu, DropdownMenuItemData, DropdownMenuProps, EChartBase, EChartBaseProps, Empty, EmptyProps, Field, FieldProps, FieldRule, FilePreview, FilePreviewKind, FilePreviewProps, Flex, FlexProps, Footer, FooterProps, Form, FormContextValue, FormProps, FunnelChart, FunnelChartProps, Gallery, GalleryItemData, GalleryProps, GaugeChart, GaugeChartProps, Grid, GridProps, Header, HeaderBrandPosition, HeaderDropdown, HeaderDropdownItem, HeaderLocale, HeaderMenuItem, HeaderProps, HeaderTheme, HeaderUser, HeaderUserItem, Heatmap, HeatmapProps, HoverCard, HoverCardProps, ICONS, Icon, IconProps, IconSize, Image, ImageLightbox, ImageLightboxProps, ImageProps, ImageViewer, ImageViewerProps, Input, InputGroup, InputGroupProps, InputOTP, InputOTPProps, InputProps, Item, ItemProps, JSONViewer, JSONViewerProps, Kbd, KbdProps, Label, LabelProps, Layout, LayoutProps, LineChart, LineChartProps, Link, LinkProps, List, ListItemData, ListProps, LoadingOverlay, LoadingOverlayProps, MapChart, MapChartProps, MentionOption, Mentions, MentionsProps, Menu, MenuItem, MenuProps, Menubar, MenubarLeafItem, MenubarMenuData, MenubarProps, Message, MessageList, MessageListItem, MessageListProps, MessageProps, MetricCard, MetricCardProps, NavigationMenu, NavigationMenuChildItem, NavigationMenuItemData, NavigationMenuProps, Notification, NotificationProps, NumberInput, NumberInputProps, Page, PageProps, Pagination, PaginationProps, PieChart, PieChartProps, Popconfirm, PopconfirmProps, Popover, PopoverProps, Progress, ProgressProps, Prompt, PromptProps, QRCode, QRCodeProps, RadarChart, RadarChartProps, RadioGroup, RadioGroupOption, RadioGroupProps, RailTooltip, Rate, RateProps, Resizable, ResizablePanelData, ResizableProps, Result, ResultProps, ResultStatus, RichText, RichTextProps, SankeyChart, SankeyChartProps, ScatterChart, ScatterChartProps, ScrollArea, ScrollAreaProps, Segmented, SegmentedOption, SegmentedProps, Select, SelectOption, SelectProps, Sender, SenderProps, Separator, SeparatorProps, Sheet, SheetProps, SheetSide, Sidebar, SidebarBrand, SidebarNavItem, SidebarProps, Sider, SiderProps, Skeleton, SkeletonProps, SkeletonShape, Slider, SliderProps, Sonner, SonnerProps, Space, SpaceProps, Spinner, SpinnerProps, SpinnerSize, Statistic, StatisticProps, Status, StatusProps, StatusType, StepItemData, StepStatus, Steps, StepsProps, StreamingText, StreamingTextProps, Suggestion, SuggestionItem, SuggestionProps, Switch, SwitchProps, TabItem, Table, TableColumn, TablePagination, TablePaginationInfo, TableProps, Tabs, TabsProps, Tag, TagColor, TagProps, Text, TextProps, TextType, Textarea, TextareaProps, Thinking, ThinkingProps, ThinkingStatus, TimePicker, TimePickerProps, Timeline, TimelineItemData, TimelineProps, Toggle, ToggleGroup, ToggleGroupOption, ToggleGroupProps, ToggleProps, ToolCall, ToolCallProps, ToolCallStatus, Tooltip, TooltipProps, Tour, TourProps, TourStep, Transfer, TransferOption, TransferProps, Tree, TreeChart, TreeChartProps, TreeNodeData, TreeProps, TreeSelect, TreeSelectOption, TreeSelectProps, Typography, TypographyProps, TypographyVariant, Upload, UploadFileMeta, UploadProps, Video, VideoProps, Watermark, WatermarkProps, Welcome, WelcomePromptItem, WelcomeProps, buildArtifactTree, builtinComponents, createComponentRegistry, diffLines, inferKind, normalizeIconName, registerBuiltinComponents, useFormContext, useSidebarDrawer } from './components/index.cjs';
|
|
2
|
+
export { MarkdownDslComponent as Markdown, MarkdownDslComponentProps as MarkdownProps } from '@pactor-app/markdown';
|
|
2
3
|
export { AdminBrand, AdminLayout, AdminLayoutBreakpoint, AdminLayoutConfig, AdminLayoutMode, AdminLayoutProps, BlankLayout, BlankLayoutProps, ChatLayout, ChatLayoutBrand, ChatLayoutMenuItem, ChatLayoutProps, LandingLayout, LandingLayoutProps, LayoutComponent, LayoutRegistry, LoginBrand, LoginLayout, LoginLayoutProps, collectDefaultOpenKeys, createLayoutRegistry, findMenuChain, registerBuiltinLayouts, resolveLayout } from './layout/index.cjs';
|
|
3
4
|
export { InteractionProvider, InteractionProviderProps, OVERLAY_CANCEL_PAYLOAD, OverlayConfig, OverlayEntry, OverlayHost, OverlayHostProps, OverlayListener, OverlayManager, ResolvePageFn, UiBridge, UiMessage, UiModal, createUiBridge, registerInteractionActions } from './interaction/index.cjs';
|
|
4
5
|
import '@pactor-app/runtime';
|
|
5
6
|
import 'react';
|
|
6
7
|
import '@pactor-app/core';
|
|
7
|
-
import './typography-
|
|
8
|
+
import './typography-BYdZkkP5.cjs';
|
|
9
|
+
import '@base-ui/react';
|
|
8
10
|
import 'class-variance-authority/types';
|
|
9
11
|
import '@base-ui/react/toggle';
|
|
10
12
|
import 'class-variance-authority';
|
|
11
13
|
import 'lucide-react';
|
|
14
|
+
import 'echarts/core';
|
|
12
15
|
import '@pactor-app/permission';
|
|
13
16
|
import '@pactor-app/router';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
export { Accordion, AccordionItemData, AccordionProps, Alert, AlertDialog, AlertDialogProps, AlertProps, AlertVariant, AspectRatio, AspectRatioProps, Avatar, AvatarProps, Badge, BadgeProps, BadgeVariant, Breadcrumb, BreadcrumbItemData, BreadcrumbProps, Button, ButtonGroup, ButtonGroupProps, ButtonProps, ButtonSize, ButtonVariant, Calendar, CalendarProps, Card, CardProps, Carousel, CarouselImage, CarouselItemData, CarouselProps,
|
|
1
|
+
export { Accordion, AccordionItemData, AccordionProps, Affix, AffixProps, AgentStatus, AgentStatusProps, AgentStatusType, Alert, AlertDialog, AlertDialogProps, AlertProps, AlertVariant, Anchor, AnchorItemData, AnchorProps, AreaChart, AreaChartProps, ArtifactPanel, ArtifactPanelProps, ArtifactTreeNode, ArtifactViewer, ArtifactViewers, AspectRatio, AspectRatioProps, Attachment, AttachmentItemData, AttachmentProps, Audio, AudioProps, Avatar, AvatarProps, BackTop, BackTopProps, Badge, BadgeProps, BadgeVariant, BarChart, BarChartProps, Breadcrumb, BreadcrumbItemData, BreadcrumbProps, Bubble, BubbleChart, BubbleChartProps, BubbleProps, BubbleVariant, Button, ButtonGroup, ButtonGroupProps, ButtonProps, ButtonSize, ButtonVariant, Calendar, CalendarProps, Card, CardProps, Carousel, CarouselImage, CarouselItemData, CarouselProps, Cascader, CascaderOption, CascaderProps, ChartSelectPayload, ChatInput, ChatInputProps, ChatMessage, ChatMessageActionItem, ChatMessageAgent, ChatMessagePart, ChatMessageProps, ChatMessageStatus, ChatPage, ChatPageArtifact, ChatPageBrand, ChatPageMenuItem, ChatPageProps, Checkbox, CheckboxProps, Citation, CitationItem, CitationProps, CodeBlock, CodeBlockProps, Collapsible, CollapsibleProps, ColorPicker, ColorPickerProps, ColumnChart, ColumnChartProps, Combobox, ComboboxOption, ComboboxProps, Command, CommandGroupData, CommandItemData, CommandProps, ComposedChart, ComposedChartProps, ComposedSeriesItem, Composer, ComposerContextItem, ComposerContextSource, ComposerModelOption, ComposerProps, Container, ContainerProps, ContainerSize, Content, ContentProps, ContextMenu, ContextMenuItemData, ContextMenuProps, ConversationItemData, ConversationList, ConversationListProps, DataTable, DataTableColumn, DataTablePagination, DataTableProps, DataTableSort, DataTableSortOrder, DatePicker, DatePickerPreset, DatePickerPresetKey, DatePickerProps, DatePickerRangeProps, DatePickerSingleProps, DateRangeValue, Descriptions, DescriptionsItemData, DescriptionsProps, Dialog, DialogProps, DiffViewer, DiffViewerProps, DocumentPageData, DocumentPreview, DocumentPreviewProps, DonutChart, DonutChartProps, Drawer, DrawerPlacement, DrawerProps, DropdownMenu, DropdownMenuItemData, DropdownMenuProps, EChartBase, EChartBaseProps, Empty, EmptyProps, Field, FieldProps, FieldRule, FilePreview, FilePreviewKind, FilePreviewProps, Flex, FlexProps, Footer, FooterProps, Form, FormContextValue, FormProps, FunnelChart, FunnelChartProps, Gallery, GalleryItemData, GalleryProps, GaugeChart, GaugeChartProps, Grid, GridProps, Header, HeaderBrandPosition, HeaderDropdown, HeaderDropdownItem, HeaderLocale, HeaderMenuItem, HeaderProps, HeaderTheme, HeaderUser, HeaderUserItem, Heatmap, HeatmapProps, HoverCard, HoverCardProps, ICONS, Icon, IconProps, IconSize, Image, ImageLightbox, ImageLightboxProps, ImageProps, ImageViewer, ImageViewerProps, Input, InputGroup, InputGroupProps, InputOTP, InputOTPProps, InputProps, Item, ItemProps, JSONViewer, JSONViewerProps, Kbd, KbdProps, Label, LabelProps, Layout, LayoutProps, LineChart, LineChartProps, Link, LinkProps, List, ListItemData, ListProps, LoadingOverlay, LoadingOverlayProps, MapChart, MapChartProps, MentionOption, Mentions, MentionsProps, Menu, MenuItem, MenuProps, Menubar, MenubarLeafItem, MenubarMenuData, MenubarProps, Message, MessageList, MessageListItem, MessageListProps, MessageProps, MetricCard, MetricCardProps, NavigationMenu, NavigationMenuChildItem, NavigationMenuItemData, NavigationMenuProps, Notification, NotificationProps, NumberInput, NumberInputProps, Page, PageProps, Pagination, PaginationProps, PieChart, PieChartProps, Popconfirm, PopconfirmProps, Popover, PopoverProps, Progress, ProgressProps, Prompt, PromptProps, QRCode, QRCodeProps, RadarChart, RadarChartProps, RadioGroup, RadioGroupOption, RadioGroupProps, RailTooltip, Rate, RateProps, Resizable, ResizablePanelData, ResizableProps, Result, ResultProps, ResultStatus, RichText, RichTextProps, SankeyChart, SankeyChartProps, ScatterChart, ScatterChartProps, ScrollArea, ScrollAreaProps, Segmented, SegmentedOption, SegmentedProps, Select, SelectOption, SelectProps, Sender, SenderProps, Separator, SeparatorProps, Sheet, SheetProps, SheetSide, Sidebar, SidebarBrand, SidebarNavItem, SidebarProps, Sider, SiderProps, Skeleton, SkeletonProps, SkeletonShape, Slider, SliderProps, Sonner, SonnerProps, Space, SpaceProps, Spinner, SpinnerProps, SpinnerSize, Statistic, StatisticProps, Status, StatusProps, StatusType, StepItemData, StepStatus, Steps, StepsProps, StreamingText, StreamingTextProps, Suggestion, SuggestionItem, SuggestionProps, Switch, SwitchProps, TabItem, Table, TableColumn, TablePagination, TablePaginationInfo, TableProps, Tabs, TabsProps, Tag, TagColor, TagProps, Text, TextProps, TextType, Textarea, TextareaProps, Thinking, ThinkingProps, ThinkingStatus, TimePicker, TimePickerProps, Timeline, TimelineItemData, TimelineProps, Toggle, ToggleGroup, ToggleGroupOption, ToggleGroupProps, ToggleProps, ToolCall, ToolCallProps, ToolCallStatus, Tooltip, TooltipProps, Tour, TourProps, TourStep, Transfer, TransferOption, TransferProps, Tree, TreeChart, TreeChartProps, TreeNodeData, TreeProps, TreeSelect, TreeSelectOption, TreeSelectProps, Typography, TypographyProps, TypographyVariant, Upload, UploadFileMeta, UploadProps, Video, VideoProps, Watermark, WatermarkProps, Welcome, WelcomePromptItem, WelcomeProps, buildArtifactTree, builtinComponents, createComponentRegistry, diffLines, inferKind, normalizeIconName, registerBuiltinComponents, useFormContext, useSidebarDrawer } from './components/index.js';
|
|
2
|
+
export { MarkdownDslComponent as Markdown, MarkdownDslComponentProps as MarkdownProps } from '@pactor-app/markdown';
|
|
2
3
|
export { AdminBrand, AdminLayout, AdminLayoutBreakpoint, AdminLayoutConfig, AdminLayoutMode, AdminLayoutProps, BlankLayout, BlankLayoutProps, ChatLayout, ChatLayoutBrand, ChatLayoutMenuItem, ChatLayoutProps, LandingLayout, LandingLayoutProps, LayoutComponent, LayoutRegistry, LoginBrand, LoginLayout, LoginLayoutProps, collectDefaultOpenKeys, createLayoutRegistry, findMenuChain, registerBuiltinLayouts, resolveLayout } from './layout/index.js';
|
|
3
4
|
export { InteractionProvider, InteractionProviderProps, OVERLAY_CANCEL_PAYLOAD, OverlayConfig, OverlayEntry, OverlayHost, OverlayHostProps, OverlayListener, OverlayManager, ResolvePageFn, UiBridge, UiMessage, UiModal, createUiBridge, registerInteractionActions } from './interaction/index.js';
|
|
4
5
|
import '@pactor-app/runtime';
|
|
5
6
|
import 'react';
|
|
6
7
|
import '@pactor-app/core';
|
|
7
|
-
import './typography-
|
|
8
|
+
import './typography-BYdZkkP5.js';
|
|
9
|
+
import '@base-ui/react';
|
|
8
10
|
import 'class-variance-authority/types';
|
|
9
11
|
import '@base-ui/react/toggle';
|
|
10
12
|
import 'class-variance-authority';
|
|
11
13
|
import 'lucide-react';
|
|
14
|
+
import 'echarts/core';
|
|
12
15
|
import '@pactor-app/permission';
|
|
13
16
|
import '@pactor-app/router';
|
package/dist/index.js
CHANGED
|
@@ -1,78 +1,157 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Accordion,
|
|
3
|
+
Affix,
|
|
4
|
+
AgentStatus,
|
|
3
5
|
Alert,
|
|
4
6
|
AlertDialog,
|
|
7
|
+
Anchor,
|
|
8
|
+
AreaChart,
|
|
9
|
+
ArtifactPanel,
|
|
5
10
|
AspectRatio,
|
|
11
|
+
Attachment,
|
|
12
|
+
Audio,
|
|
6
13
|
Avatar,
|
|
14
|
+
BackTop,
|
|
7
15
|
Badge,
|
|
16
|
+
BarChart,
|
|
8
17
|
Breadcrumb,
|
|
18
|
+
Bubble,
|
|
19
|
+
BubbleChart,
|
|
9
20
|
Button,
|
|
10
21
|
ButtonGroup,
|
|
11
22
|
Calendar,
|
|
12
23
|
Card,
|
|
13
24
|
Carousel,
|
|
14
|
-
|
|
25
|
+
Cascader,
|
|
15
26
|
ChatInput,
|
|
27
|
+
ChatMessage,
|
|
28
|
+
ChatPage,
|
|
16
29
|
Checkbox,
|
|
30
|
+
Citation,
|
|
31
|
+
CodeBlock,
|
|
17
32
|
Collapsible,
|
|
33
|
+
ColorPicker,
|
|
34
|
+
ColumnChart,
|
|
18
35
|
Combobox,
|
|
19
36
|
Command,
|
|
37
|
+
ComposedChart,
|
|
38
|
+
Composer,
|
|
39
|
+
Container,
|
|
20
40
|
Content,
|
|
21
41
|
ContextMenu,
|
|
42
|
+
ConversationList,
|
|
22
43
|
DataTable,
|
|
23
44
|
DatePicker,
|
|
45
|
+
Descriptions,
|
|
24
46
|
Dialog,
|
|
47
|
+
DiffViewer,
|
|
48
|
+
DocumentPreview,
|
|
49
|
+
DonutChart,
|
|
25
50
|
Drawer,
|
|
26
51
|
DropdownMenu,
|
|
52
|
+
EChartBase,
|
|
27
53
|
Empty,
|
|
28
54
|
Field,
|
|
55
|
+
FilePreview,
|
|
29
56
|
Flex,
|
|
30
57
|
Footer,
|
|
31
58
|
Form,
|
|
59
|
+
FunnelChart,
|
|
60
|
+
Gallery,
|
|
61
|
+
GaugeChart,
|
|
32
62
|
Grid,
|
|
33
63
|
Header,
|
|
64
|
+
Heatmap,
|
|
34
65
|
HoverCard,
|
|
66
|
+
Image,
|
|
67
|
+
ImageLightbox,
|
|
68
|
+
ImageViewer,
|
|
35
69
|
Input,
|
|
36
70
|
InputGroup,
|
|
37
71
|
InputOTP,
|
|
38
72
|
Item,
|
|
73
|
+
JSONViewer,
|
|
39
74
|
Kbd,
|
|
40
75
|
Label,
|
|
41
76
|
Layout,
|
|
77
|
+
LineChart,
|
|
42
78
|
Link,
|
|
79
|
+
List,
|
|
80
|
+
LoadingOverlay,
|
|
81
|
+
MapChart,
|
|
82
|
+
MarkdownDslComponent,
|
|
83
|
+
Mentions,
|
|
43
84
|
Menubar,
|
|
85
|
+
Message,
|
|
86
|
+
MessageList,
|
|
87
|
+
MetricCard,
|
|
44
88
|
NavigationMenu,
|
|
89
|
+
Notification,
|
|
45
90
|
NumberInput,
|
|
46
91
|
Page,
|
|
47
92
|
Pagination,
|
|
93
|
+
PieChart,
|
|
94
|
+
Popconfirm,
|
|
48
95
|
Popover,
|
|
49
96
|
Progress,
|
|
97
|
+
Prompt,
|
|
98
|
+
QRCode,
|
|
99
|
+
RadarChart,
|
|
50
100
|
RadioGroup,
|
|
101
|
+
Rate,
|
|
51
102
|
Resizable,
|
|
103
|
+
Result,
|
|
104
|
+
RichText,
|
|
105
|
+
SankeyChart,
|
|
106
|
+
ScatterChart,
|
|
52
107
|
ScrollArea,
|
|
108
|
+
Segmented,
|
|
53
109
|
Select,
|
|
110
|
+
Sender,
|
|
54
111
|
Separator,
|
|
55
112
|
Sheet,
|
|
56
113
|
Sider,
|
|
57
114
|
Skeleton,
|
|
58
115
|
Slider,
|
|
59
116
|
Sonner,
|
|
117
|
+
Space,
|
|
60
118
|
Spinner,
|
|
61
119
|
Statistic,
|
|
120
|
+
Status,
|
|
121
|
+
Steps,
|
|
122
|
+
StreamingText,
|
|
123
|
+
Suggestion,
|
|
62
124
|
Switch,
|
|
63
125
|
Table,
|
|
64
126
|
Tabs,
|
|
127
|
+
Tag,
|
|
65
128
|
Text,
|
|
66
129
|
Textarea,
|
|
130
|
+
Thinking,
|
|
131
|
+
TimePicker,
|
|
132
|
+
Timeline,
|
|
67
133
|
Toggle,
|
|
68
134
|
ToggleGroup,
|
|
135
|
+
ToolCall,
|
|
69
136
|
Tooltip,
|
|
137
|
+
Tour,
|
|
138
|
+
Transfer,
|
|
139
|
+
Tree,
|
|
140
|
+
TreeChart,
|
|
141
|
+
TreeSelect,
|
|
70
142
|
Typography,
|
|
143
|
+
Upload,
|
|
144
|
+
Video,
|
|
145
|
+
Watermark,
|
|
146
|
+
Welcome,
|
|
147
|
+
buildArtifactTree,
|
|
71
148
|
builtinComponents,
|
|
72
149
|
createComponentRegistry,
|
|
150
|
+
diffLines,
|
|
151
|
+
inferKind,
|
|
73
152
|
registerBuiltinComponents,
|
|
74
153
|
useFormContext
|
|
75
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-EDUMGNT6.js";
|
|
76
155
|
import {
|
|
77
156
|
InteractionProvider,
|
|
78
157
|
OVERLAY_CANCEL_PAYLOAD,
|
|
@@ -92,7 +171,7 @@ import {
|
|
|
92
171
|
findMenuChain,
|
|
93
172
|
registerBuiltinLayouts,
|
|
94
173
|
resolveLayout
|
|
95
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-QQBAMERO.js";
|
|
96
175
|
import {
|
|
97
176
|
ICONS,
|
|
98
177
|
Icon,
|
|
@@ -101,77 +180,134 @@ import {
|
|
|
101
180
|
Sidebar,
|
|
102
181
|
normalizeIconName,
|
|
103
182
|
useSidebarDrawer
|
|
104
|
-
} from "./chunk-
|
|
105
|
-
import "./chunk-
|
|
183
|
+
} from "./chunk-44DAGWXZ.js";
|
|
184
|
+
import "./chunk-JWZHJEUS.js";
|
|
106
185
|
import "./chunk-XUHJ5YSG.js";
|
|
107
186
|
import "./chunk-RB7RCKAX.js";
|
|
108
187
|
import "./chunk-WKJUCGV4.js";
|
|
109
188
|
export {
|
|
110
189
|
Accordion,
|
|
111
190
|
AdminLayout,
|
|
191
|
+
Affix,
|
|
192
|
+
AgentStatus,
|
|
112
193
|
Alert,
|
|
113
194
|
AlertDialog,
|
|
195
|
+
Anchor,
|
|
196
|
+
AreaChart,
|
|
197
|
+
ArtifactPanel,
|
|
114
198
|
AspectRatio,
|
|
199
|
+
Attachment,
|
|
200
|
+
Audio,
|
|
115
201
|
Avatar,
|
|
202
|
+
BackTop,
|
|
116
203
|
Badge,
|
|
204
|
+
BarChart,
|
|
117
205
|
BlankLayout,
|
|
118
206
|
Breadcrumb,
|
|
207
|
+
Bubble,
|
|
208
|
+
BubbleChart,
|
|
119
209
|
Button,
|
|
120
210
|
ButtonGroup,
|
|
121
211
|
Calendar,
|
|
122
212
|
Card,
|
|
123
213
|
Carousel,
|
|
124
|
-
|
|
214
|
+
Cascader,
|
|
125
215
|
ChatInput,
|
|
126
216
|
ChatLayout,
|
|
217
|
+
ChatMessage,
|
|
218
|
+
ChatPage,
|
|
127
219
|
Checkbox,
|
|
220
|
+
Citation,
|
|
221
|
+
CodeBlock,
|
|
128
222
|
Collapsible,
|
|
223
|
+
ColorPicker,
|
|
224
|
+
ColumnChart,
|
|
129
225
|
Combobox,
|
|
130
226
|
Command,
|
|
227
|
+
ComposedChart,
|
|
228
|
+
Composer,
|
|
229
|
+
Container,
|
|
131
230
|
Content,
|
|
132
231
|
ContextMenu,
|
|
232
|
+
ConversationList,
|
|
133
233
|
DataTable,
|
|
134
234
|
DatePicker,
|
|
235
|
+
Descriptions,
|
|
135
236
|
Dialog,
|
|
237
|
+
DiffViewer,
|
|
238
|
+
DocumentPreview,
|
|
239
|
+
DonutChart,
|
|
136
240
|
Drawer,
|
|
137
241
|
DropdownMenu,
|
|
242
|
+
EChartBase,
|
|
138
243
|
Empty,
|
|
139
244
|
Field,
|
|
245
|
+
FilePreview,
|
|
140
246
|
Flex,
|
|
141
247
|
Footer,
|
|
142
248
|
Form,
|
|
249
|
+
FunnelChart,
|
|
250
|
+
Gallery,
|
|
251
|
+
GaugeChart,
|
|
143
252
|
Grid,
|
|
144
253
|
Header,
|
|
254
|
+
Heatmap,
|
|
145
255
|
HoverCard,
|
|
146
256
|
ICONS,
|
|
147
257
|
Icon,
|
|
258
|
+
Image,
|
|
259
|
+
ImageLightbox,
|
|
260
|
+
ImageViewer,
|
|
148
261
|
Input,
|
|
149
262
|
InputGroup,
|
|
150
263
|
InputOTP,
|
|
151
264
|
InteractionProvider,
|
|
152
265
|
Item,
|
|
266
|
+
JSONViewer,
|
|
153
267
|
Kbd,
|
|
154
268
|
Label,
|
|
155
269
|
LandingLayout,
|
|
156
270
|
Layout,
|
|
271
|
+
LineChart,
|
|
157
272
|
Link,
|
|
273
|
+
List,
|
|
274
|
+
LoadingOverlay,
|
|
158
275
|
LoginLayout,
|
|
276
|
+
MapChart,
|
|
277
|
+
MarkdownDslComponent as Markdown,
|
|
278
|
+
Mentions,
|
|
159
279
|
Menu,
|
|
160
280
|
Menubar,
|
|
281
|
+
Message,
|
|
282
|
+
MessageList,
|
|
283
|
+
MetricCard,
|
|
161
284
|
NavigationMenu,
|
|
285
|
+
Notification,
|
|
162
286
|
NumberInput,
|
|
163
287
|
OVERLAY_CANCEL_PAYLOAD,
|
|
164
288
|
OverlayHost,
|
|
165
289
|
OverlayManager,
|
|
166
290
|
Page,
|
|
167
291
|
Pagination,
|
|
292
|
+
PieChart,
|
|
293
|
+
Popconfirm,
|
|
168
294
|
Popover,
|
|
169
295
|
Progress,
|
|
296
|
+
Prompt,
|
|
297
|
+
QRCode,
|
|
298
|
+
RadarChart,
|
|
170
299
|
RadioGroup,
|
|
171
300
|
RailTooltip,
|
|
301
|
+
Rate,
|
|
172
302
|
Resizable,
|
|
303
|
+
Result,
|
|
304
|
+
RichText,
|
|
305
|
+
SankeyChart,
|
|
306
|
+
ScatterChart,
|
|
173
307
|
ScrollArea,
|
|
308
|
+
Segmented,
|
|
174
309
|
Select,
|
|
310
|
+
Sender,
|
|
175
311
|
Separator,
|
|
176
312
|
Sheet,
|
|
177
313
|
Sidebar,
|
|
@@ -179,23 +315,45 @@ export {
|
|
|
179
315
|
Skeleton,
|
|
180
316
|
Slider,
|
|
181
317
|
Sonner,
|
|
318
|
+
Space,
|
|
182
319
|
Spinner,
|
|
183
320
|
Statistic,
|
|
321
|
+
Status,
|
|
322
|
+
Steps,
|
|
323
|
+
StreamingText,
|
|
324
|
+
Suggestion,
|
|
184
325
|
Switch,
|
|
185
326
|
Table,
|
|
186
327
|
Tabs,
|
|
328
|
+
Tag,
|
|
187
329
|
Text,
|
|
188
330
|
Textarea,
|
|
331
|
+
Thinking,
|
|
332
|
+
TimePicker,
|
|
333
|
+
Timeline,
|
|
189
334
|
Toggle,
|
|
190
335
|
ToggleGroup,
|
|
336
|
+
ToolCall,
|
|
191
337
|
Tooltip,
|
|
338
|
+
Tour,
|
|
339
|
+
Transfer,
|
|
340
|
+
Tree,
|
|
341
|
+
TreeChart,
|
|
342
|
+
TreeSelect,
|
|
192
343
|
Typography,
|
|
344
|
+
Upload,
|
|
345
|
+
Video,
|
|
346
|
+
Watermark,
|
|
347
|
+
Welcome,
|
|
348
|
+
buildArtifactTree,
|
|
193
349
|
builtinComponents,
|
|
194
350
|
collectDefaultOpenKeys,
|
|
195
351
|
createComponentRegistry,
|
|
196
352
|
createLayoutRegistry,
|
|
197
353
|
createUiBridge,
|
|
354
|
+
diffLines,
|
|
198
355
|
findMenuChain,
|
|
356
|
+
inferKind,
|
|
199
357
|
normalizeIconName,
|
|
200
358
|
registerBuiltinComponents,
|
|
201
359
|
registerBuiltinLayouts,
|
package/dist/layout/index.cjs
CHANGED
|
@@ -321,6 +321,7 @@ var ICONS = {
|
|
|
321
321
|
"file-text": import_lucide_react2.FileText,
|
|
322
322
|
"panel-left": import_lucide_react2.PanelLeft,
|
|
323
323
|
"panel-right-open": import_lucide_react2.PanelRightOpen,
|
|
324
|
+
"panel-right-close": import_lucide_react2.PanelRightClose,
|
|
324
325
|
square: import_lucide_react2.Square,
|
|
325
326
|
history: import_lucide_react2.History,
|
|
326
327
|
"rotate-ccw": import_lucide_react2.RotateCcw,
|
|
@@ -347,7 +348,11 @@ var ICONS = {
|
|
|
347
348
|
ellipsis: import_lucide_react2.Ellipsis,
|
|
348
349
|
"ellipsis-vertical": import_lucide_react2.EllipsisVertical,
|
|
349
350
|
"message-circle": import_lucide_react2.MessageCircle,
|
|
350
|
-
"lock-open": import_lucide_react2.LockOpen
|
|
351
|
+
"lock-open": import_lucide_react2.LockOpen,
|
|
352
|
+
"zoom-in": import_lucide_react2.ZoomIn,
|
|
353
|
+
"zoom-out": import_lucide_react2.ZoomOut,
|
|
354
|
+
video: import_lucide_react2.Video,
|
|
355
|
+
music: import_lucide_react2.Music
|
|
351
356
|
};
|
|
352
357
|
function normalizeIconName(name) {
|
|
353
358
|
return name.replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/[_\s]+/g, "-").toLowerCase();
|
|
@@ -1852,7 +1857,7 @@ function MenuEntry({
|
|
|
1852
1857
|
"flex w-full items-center gap-2 rounded-md text-sm transition-colors",
|
|
1853
1858
|
mode === "horizontal" ? "px-3 py-2" : "px-3 py-2 text-left",
|
|
1854
1859
|
collapsed && "justify-center px-0",
|
|
1855
|
-
selected ? "bg-(--menu-active-background) font-medium text-(--menu-active-foreground)" : "cursor-pointer text-
|
|
1860
|
+
selected ? "bg-(--menu-active-background) font-medium text-(--menu-active-foreground)" : "cursor-pointer text-foreground hover:bg-(--menu-hover-background)/50",
|
|
1856
1861
|
item.disabled && "cursor-not-allowed opacity-50 hover:bg-transparent hover:text-muted-foreground"
|
|
1857
1862
|
),
|
|
1858
1863
|
style: mode === "inline" && depth > 0 && !collapsed ? { paddingLeft: 12 + depth * 16 } : void 0,
|
package/dist/layout/index.js
CHANGED
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
findMenuChain,
|
|
10
10
|
registerBuiltinLayouts,
|
|
11
11
|
resolveLayout
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-QQBAMERO.js";
|
|
13
|
+
import "../chunk-44DAGWXZ.js";
|
|
14
14
|
import "../chunk-RB7RCKAX.js";
|
|
15
15
|
import "../chunk-WKJUCGV4.js";
|
|
16
16
|
export {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import * as _base_ui_react from '@base-ui/react';
|
|
2
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
4
|
import { Toggle as Toggle$1 } from '@base-ui/react/toggle';
|
|
4
5
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -16,6 +17,30 @@ declare function CardAction({ className, ...props }: React.ComponentProps<'div'>
|
|
|
16
17
|
declare function CardContent({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
17
18
|
declare function CardFooter({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
18
19
|
|
|
20
|
+
/**
|
|
21
|
+
* shadcn/ui Sonner 等价物(vendored 封装,Base UI Toast 原语):
|
|
22
|
+
* 模块级共享 ToastManager + Toaster 挂载点 + 命令式 `toast()` API。
|
|
23
|
+
* variant(success/error/info/warning)落在 ToastObject.type 上,经语义
|
|
24
|
+
* 令牌色条区分(与 InteractionProvider 的 message 四态视觉同源)。
|
|
25
|
+
*/
|
|
26
|
+
type ToastVariant = 'success' | 'error' | 'info' | 'warning';
|
|
27
|
+
interface ToastOptions {
|
|
28
|
+
/** 辅助说明文案(Sonner 风格 description) */
|
|
29
|
+
description?: unknown;
|
|
30
|
+
/** 语义类型,缺省 info */
|
|
31
|
+
variant?: ToastVariant;
|
|
32
|
+
/** 自动关闭时长(ms),透传 ToastObject.timeout;0 表示不自动关闭 */
|
|
33
|
+
duration?: number;
|
|
34
|
+
}
|
|
35
|
+
/** 模块级共享 ToastManager:Toaster 挂载点与命令式 API 共用同一实例 */
|
|
36
|
+
declare const toastManager: _base_ui_react.ToastManager<any>;
|
|
37
|
+
/** 命令式 toast 调用(DSL 动作层入口的最终落点) */
|
|
38
|
+
declare function toast(message: unknown, options?: ToastOptions): string;
|
|
39
|
+
/** Sonner 挂载点:渲染共享 manager 的 Toast Provider + Viewport */
|
|
40
|
+
declare function Toaster({ className }: {
|
|
41
|
+
className?: string;
|
|
42
|
+
}): React.JSX.Element;
|
|
43
|
+
|
|
19
44
|
/** shadcn/ui Toggle(vendored 源码,Base UI 原语):按下态切换按钮 */
|
|
20
45
|
declare const toggleVariants: (props?: ({
|
|
21
46
|
variant?: "default" | "outline" | null | undefined;
|
|
@@ -28,10 +53,10 @@ declare function Toggle({ className, variant, size, ...props }: Toggle$1.Props &
|
|
|
28
53
|
* 按 variant 渲染对应语义标签与排版样式。
|
|
29
54
|
*/
|
|
30
55
|
declare const typographyVariants: (props?: ({
|
|
31
|
-
variant?: "blockquote" | "h1" | "h2" | "h3" | "h4" | "p" | "small" | "list" | "
|
|
56
|
+
variant?: "blockquote" | "h1" | "h2" | "h3" | "h4" | "p" | "small" | "list" | "muted" | "inline-code" | "lead" | null | undefined;
|
|
32
57
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
33
58
|
interface TypographyProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof typographyVariants> {
|
|
34
59
|
}
|
|
35
60
|
declare function Typography({ className, variant, ...props }: TypographyProps): React.JSX.Element;
|
|
36
61
|
|
|
37
|
-
export { Card as C,
|
|
62
|
+
export { Card as C, type ToastOptions as T, CardAction as a, CardContent as b, CardDescription as c, CardFooter as d, CardHeader as e, CardTitle as f, type ToastVariant as g, Toaster as h, Toggle as i, Typography as j, toast as k, toastManager as l, typographyVariants as m, type CardRounded as n, toggleVariants as t };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import * as _base_ui_react from '@base-ui/react';
|
|
2
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
4
|
import { Toggle as Toggle$1 } from '@base-ui/react/toggle';
|
|
4
5
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -16,6 +17,30 @@ declare function CardAction({ className, ...props }: React.ComponentProps<'div'>
|
|
|
16
17
|
declare function CardContent({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
17
18
|
declare function CardFooter({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
18
19
|
|
|
20
|
+
/**
|
|
21
|
+
* shadcn/ui Sonner 等价物(vendored 封装,Base UI Toast 原语):
|
|
22
|
+
* 模块级共享 ToastManager + Toaster 挂载点 + 命令式 `toast()` API。
|
|
23
|
+
* variant(success/error/info/warning)落在 ToastObject.type 上,经语义
|
|
24
|
+
* 令牌色条区分(与 InteractionProvider 的 message 四态视觉同源)。
|
|
25
|
+
*/
|
|
26
|
+
type ToastVariant = 'success' | 'error' | 'info' | 'warning';
|
|
27
|
+
interface ToastOptions {
|
|
28
|
+
/** 辅助说明文案(Sonner 风格 description) */
|
|
29
|
+
description?: unknown;
|
|
30
|
+
/** 语义类型,缺省 info */
|
|
31
|
+
variant?: ToastVariant;
|
|
32
|
+
/** 自动关闭时长(ms),透传 ToastObject.timeout;0 表示不自动关闭 */
|
|
33
|
+
duration?: number;
|
|
34
|
+
}
|
|
35
|
+
/** 模块级共享 ToastManager:Toaster 挂载点与命令式 API 共用同一实例 */
|
|
36
|
+
declare const toastManager: _base_ui_react.ToastManager<any>;
|
|
37
|
+
/** 命令式 toast 调用(DSL 动作层入口的最终落点) */
|
|
38
|
+
declare function toast(message: unknown, options?: ToastOptions): string;
|
|
39
|
+
/** Sonner 挂载点:渲染共享 manager 的 Toast Provider + Viewport */
|
|
40
|
+
declare function Toaster({ className }: {
|
|
41
|
+
className?: string;
|
|
42
|
+
}): React.JSX.Element;
|
|
43
|
+
|
|
19
44
|
/** shadcn/ui Toggle(vendored 源码,Base UI 原语):按下态切换按钮 */
|
|
20
45
|
declare const toggleVariants: (props?: ({
|
|
21
46
|
variant?: "default" | "outline" | null | undefined;
|
|
@@ -28,10 +53,10 @@ declare function Toggle({ className, variant, size, ...props }: Toggle$1.Props &
|
|
|
28
53
|
* 按 variant 渲染对应语义标签与排版样式。
|
|
29
54
|
*/
|
|
30
55
|
declare const typographyVariants: (props?: ({
|
|
31
|
-
variant?: "blockquote" | "h1" | "h2" | "h3" | "h4" | "p" | "small" | "list" | "
|
|
56
|
+
variant?: "blockquote" | "h1" | "h2" | "h3" | "h4" | "p" | "small" | "list" | "muted" | "inline-code" | "lead" | null | undefined;
|
|
32
57
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
33
58
|
interface TypographyProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof typographyVariants> {
|
|
34
59
|
}
|
|
35
60
|
declare function Typography({ className, variant, ...props }: TypographyProps): React.JSX.Element;
|
|
36
61
|
|
|
37
|
-
export { Card as C,
|
|
62
|
+
export { Card as C, type ToastOptions as T, CardAction as a, CardContent as b, CardDescription as c, CardFooter as d, CardHeader as e, CardTitle as f, type ToastVariant as g, Toaster as h, Toggle as i, Typography as j, toast as k, toastManager as l, typographyVariants as m, type CardRounded as n, toggleVariants as t };
|