@axiom-lattice/react-sdk 2.1.103 → 2.1.104
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/index.d.mts +126 -1
- package/dist/index.d.ts +126 -1
- package/dist/index.js +8271 -7318
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8136 -7188
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -983,6 +983,8 @@ interface UseUsersReturn {
|
|
|
983
983
|
declare function useUsers(options: UseUsersOptions): UseUsersReturn;
|
|
984
984
|
|
|
985
985
|
interface ChatErrorBoundaryProps {
|
|
986
|
+
/** Display name for this boundary (shown in error messages) */
|
|
987
|
+
name?: string;
|
|
986
988
|
children: React__default.ReactNode;
|
|
987
989
|
fallback?: React__default.ReactNode;
|
|
988
990
|
onError?: (error: Error, errorInfo: React__default.ErrorInfo) => void;
|
|
@@ -990,6 +992,7 @@ interface ChatErrorBoundaryProps {
|
|
|
990
992
|
interface ChatErrorBoundaryState {
|
|
991
993
|
hasError: boolean;
|
|
992
994
|
error: Error | null;
|
|
995
|
+
errorInfo: React__default.ErrorInfo | null;
|
|
993
996
|
retryKey: number;
|
|
994
997
|
}
|
|
995
998
|
declare class ChatErrorBoundary extends Component<ChatErrorBoundaryProps, ChatErrorBoundaryState> {
|
|
@@ -997,6 +1000,7 @@ declare class ChatErrorBoundary extends Component<ChatErrorBoundaryProps, ChatEr
|
|
|
997
1000
|
static getDerivedStateFromError(error: Error): Partial<ChatErrorBoundaryState>;
|
|
998
1001
|
componentDidCatch(error: Error, errorInfo: React__default.ErrorInfo): void;
|
|
999
1002
|
handleRetry: () => void;
|
|
1003
|
+
handleCopyError: () => void;
|
|
1000
1004
|
render(): React__default.ReactNode;
|
|
1001
1005
|
}
|
|
1002
1006
|
|
|
@@ -1804,6 +1808,8 @@ interface MiddlewareConfigDefinition {
|
|
|
1804
1808
|
description: string;
|
|
1805
1809
|
enabled: boolean;
|
|
1806
1810
|
config: Record<string, any>;
|
|
1811
|
+
/** 可选:限制该中间件暴露的工具列表。不配置则默认暴露所有工具 */
|
|
1812
|
+
allowedTools?: string[];
|
|
1807
1813
|
tools?: MiddlewareToolDefinition[];
|
|
1808
1814
|
}
|
|
1809
1815
|
/**
|
|
@@ -2788,6 +2794,125 @@ interface SkillCategoryPromptsProps {
|
|
|
2788
2794
|
}
|
|
2789
2795
|
declare const SkillCategoryPrompts: React__default.FC<SkillCategoryPromptsProps>;
|
|
2790
2796
|
|
|
2797
|
+
interface ViewToggleOption {
|
|
2798
|
+
mode: string;
|
|
2799
|
+
icon: React__default.ComponentType<{
|
|
2800
|
+
size?: number | string;
|
|
2801
|
+
}>;
|
|
2802
|
+
label?: string;
|
|
2803
|
+
}
|
|
2804
|
+
interface ViewToggleProps {
|
|
2805
|
+
value: string;
|
|
2806
|
+
onChange: (mode: string) => void;
|
|
2807
|
+
options?: ViewToggleOption[];
|
|
2808
|
+
}
|
|
2809
|
+
declare const ViewToggle: React__default.FC<ViewToggleProps>;
|
|
2810
|
+
|
|
2811
|
+
interface EntityAction<T> {
|
|
2812
|
+
key: string;
|
|
2813
|
+
icon: React__default.ComponentType<{
|
|
2814
|
+
size?: number | string;
|
|
2815
|
+
}>;
|
|
2816
|
+
label?: string;
|
|
2817
|
+
onClick: (item: T) => void;
|
|
2818
|
+
danger?: boolean;
|
|
2819
|
+
}
|
|
2820
|
+
type ViewMode = "grid" | "list";
|
|
2821
|
+
type ActionsStyle = "icon" | "button";
|
|
2822
|
+
|
|
2823
|
+
interface EntityCardProps<T> {
|
|
2824
|
+
item: T;
|
|
2825
|
+
onClick?: (item: T) => void;
|
|
2826
|
+
renderIcon?: (item: T) => React__default.ReactNode;
|
|
2827
|
+
renderPrimary: (item: T) => React__default.ReactNode;
|
|
2828
|
+
renderSecondary?: (item: T) => React__default.ReactNode;
|
|
2829
|
+
renderFooter?: (item: T) => React__default.ReactNode;
|
|
2830
|
+
renderHeaderActions?: (item: T) => React__default.ReactNode;
|
|
2831
|
+
renderDetails?: (item: T) => React__default.ReactNode;
|
|
2832
|
+
actions?: EntityAction<T>[];
|
|
2833
|
+
actionsPosition?: "hover" | "always";
|
|
2834
|
+
actionsStyle?: ActionsStyle;
|
|
2835
|
+
className?: string;
|
|
2836
|
+
}
|
|
2837
|
+
declare const EntityCard: <T>({ item, onClick, renderIcon, renderPrimary, renderSecondary, renderFooter, renderHeaderActions, renderDetails, actions, actionsPosition, actionsStyle, className, }: EntityCardProps<T>) => React__default.ReactElement;
|
|
2838
|
+
|
|
2839
|
+
interface EntityRowProps<T> {
|
|
2840
|
+
item: T;
|
|
2841
|
+
onClick?: (item: T) => void;
|
|
2842
|
+
renderIcon?: (item: T) => React__default.ReactNode;
|
|
2843
|
+
renderPrimary: (item: T) => React__default.ReactNode;
|
|
2844
|
+
renderSecondary?: (item: T) => React__default.ReactNode;
|
|
2845
|
+
renderFooter?: (item: T) => React__default.ReactNode;
|
|
2846
|
+
renderHeaderActions?: (item: T) => React__default.ReactNode;
|
|
2847
|
+
renderDetails?: (item: T) => React__default.ReactNode;
|
|
2848
|
+
actions?: EntityAction<T>[];
|
|
2849
|
+
actionsPosition?: "hover" | "always";
|
|
2850
|
+
actionsStyle?: ActionsStyle;
|
|
2851
|
+
className?: string;
|
|
2852
|
+
}
|
|
2853
|
+
declare const EntityRow: <T>({ item, onClick, renderIcon, renderPrimary, renderSecondary, renderFooter, renderHeaderActions, renderDetails, actions, actionsPosition, actionsStyle, className, }: EntityRowProps<T>) => React__default.ReactElement;
|
|
2854
|
+
|
|
2855
|
+
interface EntityCreateTriggerProps {
|
|
2856
|
+
viewMode: ViewMode;
|
|
2857
|
+
label: string;
|
|
2858
|
+
icon?: React__default.ComponentType<{
|
|
2859
|
+
size?: number | string;
|
|
2860
|
+
}>;
|
|
2861
|
+
onClick: () => void;
|
|
2862
|
+
}
|
|
2863
|
+
declare const EntityCreateTrigger: React__default.FC<EntityCreateTriggerProps>;
|
|
2864
|
+
|
|
2865
|
+
interface EntityListShellProps {
|
|
2866
|
+
title: string;
|
|
2867
|
+
subtitle?: React__default.ReactNode;
|
|
2868
|
+
headerLeft?: React__default.ReactNode;
|
|
2869
|
+
headerRight?: React__default.ReactNode;
|
|
2870
|
+
loading: boolean;
|
|
2871
|
+
isEmpty: boolean;
|
|
2872
|
+
renderLoading?: () => React__default.ReactNode;
|
|
2873
|
+
renderEmpty?: () => React__default.ReactNode;
|
|
2874
|
+
emptyIcon?: React__default.ReactNode;
|
|
2875
|
+
emptyTitle?: string;
|
|
2876
|
+
emptyDescription?: string;
|
|
2877
|
+
children: React__default.ReactNode;
|
|
2878
|
+
itemCount?: number;
|
|
2879
|
+
itemName?: string;
|
|
2880
|
+
className?: string;
|
|
2881
|
+
}
|
|
2882
|
+
declare const EntityListShell: React__default.FC<EntityListShellProps>;
|
|
2883
|
+
|
|
2884
|
+
interface EntityListViewProps<T> {
|
|
2885
|
+
items: T[];
|
|
2886
|
+
loading: boolean;
|
|
2887
|
+
keyExtractor: (item: T) => string;
|
|
2888
|
+
title: string;
|
|
2889
|
+
itemName?: string;
|
|
2890
|
+
renderIcon?: (item: T) => React__default.ReactNode;
|
|
2891
|
+
renderPrimary: (item: T) => React__default.ReactNode;
|
|
2892
|
+
renderSecondary?: (item: T) => React__default.ReactNode;
|
|
2893
|
+
renderFooter?: (item: T) => React__default.ReactNode;
|
|
2894
|
+
renderHeaderActions?: (item: T) => React__default.ReactNode;
|
|
2895
|
+
renderDetails?: (item: T) => React__default.ReactNode;
|
|
2896
|
+
onItemClick?: (item: T) => void;
|
|
2897
|
+
itemActions?: EntityAction<T>[];
|
|
2898
|
+
actionsPosition?: "hover" | "always";
|
|
2899
|
+
actionsStyle?: ActionsStyle;
|
|
2900
|
+
createLabel?: string;
|
|
2901
|
+
onCreateClick?: () => void;
|
|
2902
|
+
headerLeft?: React__default.ReactNode;
|
|
2903
|
+
headerRight?: React__default.ReactNode;
|
|
2904
|
+
defaultViewMode?: ViewMode;
|
|
2905
|
+
showViewToggle?: boolean;
|
|
2906
|
+
emptyIcon?: React__default.ReactNode;
|
|
2907
|
+
emptyTitle?: string;
|
|
2908
|
+
emptyDescription?: string;
|
|
2909
|
+
renderEmpty?: () => React__default.ReactNode;
|
|
2910
|
+
renderGridItem?: (item: T) => React__default.ReactNode;
|
|
2911
|
+
renderListItem?: (item: T) => React__default.ReactNode;
|
|
2912
|
+
className?: string;
|
|
2913
|
+
}
|
|
2914
|
+
declare const EntityListView: <T>({ items, loading, keyExtractor, title, itemName, renderIcon, renderPrimary, renderSecondary, renderFooter, renderHeaderActions, renderDetails, onItemClick, itemActions, actionsPosition, actionsStyle, createLabel, onCreateClick, headerLeft, headerRight, defaultViewMode, showViewToggle, emptyIcon, emptyTitle, emptyDescription, renderEmpty, renderGridItem, renderListItem, className, }: EntityListViewProps<T>) => React__default.ReactElement;
|
|
2915
|
+
|
|
2791
2916
|
/**
|
|
2792
2917
|
* Axiom Theme Design Tokens
|
|
2793
2918
|
*
|
|
@@ -3292,4 +3417,4 @@ type IframeMessage = {
|
|
|
3292
3417
|
};
|
|
3293
3418
|
declare function generateIframeSrcdoc(): string;
|
|
3294
3419
|
|
|
3295
|
-
export { type AgentChatProps, AgentConversations, type AgentConversationsProps, type AgentState, AgentThreadProvider, type AgentThreadProviderProps, AssistantContext, AssistantContextProvider, type AssistantContextProviderProps, type AssistantContextValue, AssistantFlow, type AssistantFlowProps, AssistantNode, type AssistantNodeData, type AssistantState, type AttachFile, type AuthContextValue, AuthProvider, AxiomLatticeProvider, type AxiomLatticeProviderProps, type BalanceResult, ChangePasswordModal, type ChangePasswordModalProps, ChannelInstallationsDrawerContent, ChatErrorBoundary, type ChatErrorBoundaryProps, type ChatResponse, ChatSidebar, type ChatSidebarProps, type ChatState, type ChatStateWithAgent, ChatUIContext, ChatUIContextProvider, Chating, type ChatingProps, type ClientConfig, ColumnLayout, type ColumnLayoutProps, ConversationContext, ConversationContextProvider, type ConversationContextProviderProps, type ConversationContextValue, type ConversationThread, CreateAssistantModal, DEFAULT_MENU_ITEMS, DEFAULT_MIDDLEWARE_TYPES, DEFAULT_WORKSPACE_MENU_ITEMS, type ElementMeta, type ElementProps, EvalPanel, EvalRunResults, EvalSuiteCardList, EvalSuiteDetail, type ExplorerFile, FileExplorer, type FileExplorerProps, FilePanelToggle, type IframeMessage, LatticeAgentWorkspace, LatticeChat, LatticeChatShell, type LatticeChatShellConfig, LatticeChatShellContext, LatticeChatShellContextProvider, type LatticeChatShellContextProviderProps, type LatticeChatShellContextValue, type LatticeChatShellProps, LoginForm, type LoginFormProps, LoginPage, MDResponse, MDViewFormItem, MetricsConfigDrawerContent, type MiddlewareConfigDefinition, type MiddlewareConfigSchema, type MiddlewareConfigSchemaProperty, type MiddlewareToolDefinition, type MiddlewareTypeDefinition, type ModelConfig, type ModelInfo, ModelSelector, type ModelSelectorProps, type PanelCard, type PendingMessage, PersonalAssistantChannelModal, PersonalAssistantPage, ProtectedRoute, type ProtectedRouteProps, type QuickPromptCategory, type QuickPromptItem, RegisterForm, type RegisterFormProps, type ResourceFolderConfig, type SanitizerConfig, ScheduleButton, type ScheduleButtonProps, SideAppBrowserContext, type SideAppBrowserContextValue, SideAppViewBrowser, type SideMenuItemConfig, type SideMenuItemType, SkillCategoryPrompts, type SkillCategoryPromptsProps, SkillFlow, type SkillFlowProps, SkillNode, type SkillNodeData, type StreamEventHandlerOptions, type StreamingError, StreamingHTMLRenderer, type StreamingHTMLRendererProps, TenantSelector, type TenantSelectorProps, type ThreadState, type ToolCallData, type UIMessage, type UseAgentStateOptions, type UseAgentStateReturn, type UseApiOptions, type UseApiReturn, type UseAxiomLatticeOptions, type UseChatOptions, type UseTenantsOptions, type UseTenantsReturn, type UseUsersOptions, type UseUsersReturn, UserProfile, type UserProfileProps, type UserTenantInfo, WorkflowAutomationView, WorkflowCanvas, type WorkflowCanvasProps, WorkflowNode, type WorkflowNodeData, WorkspaceResourceManager, type WorkspaceResourceManagerProps, WorkspaceResourceUIContext, animation, axiomAntdTheme, axiomAntdThemeDark, axiomTokens, colors, generateIframeSrcdoc, generateLabelFromMessage, getAxiomAntdTheme, getElement, radius, regsiterElement, shadows, spacing, typography, useAgentChat, useAgentGraph, useAgentState, useAgentThreadContext, useApi, useAssistantContext, useAuth, useAuthOptional, useAxiomLattice, useAxiomTheme, useChat, useChatUIContext, useClient, useConversationContext, useEvalCases, useEvalProjects, useEvalRunStream, useEvalRuns, useEvalSuites, useLatticeChatShellContext, useSideAppBrowser, useSideAppOpener, useTenants, useUsers };
|
|
3420
|
+
export { type AgentChatProps, AgentConversations, type AgentConversationsProps, type AgentState, AgentThreadProvider, type AgentThreadProviderProps, AssistantContext, AssistantContextProvider, type AssistantContextProviderProps, type AssistantContextValue, AssistantFlow, type AssistantFlowProps, AssistantNode, type AssistantNodeData, type AssistantState, type AttachFile, type AuthContextValue, AuthProvider, AxiomLatticeProvider, type AxiomLatticeProviderProps, type BalanceResult, ChangePasswordModal, type ChangePasswordModalProps, ChannelInstallationsDrawerContent, ChatErrorBoundary, type ChatErrorBoundaryProps, type ChatResponse, ChatSidebar, type ChatSidebarProps, type ChatState, type ChatStateWithAgent, ChatUIContext, ChatUIContextProvider, Chating, type ChatingProps, type ClientConfig, ColumnLayout, type ColumnLayoutProps, ConversationContext, ConversationContextProvider, type ConversationContextProviderProps, type ConversationContextValue, type ConversationThread, CreateAssistantModal, DEFAULT_MENU_ITEMS, DEFAULT_MIDDLEWARE_TYPES, DEFAULT_WORKSPACE_MENU_ITEMS, type ElementMeta, type ElementProps, type EntityAction, EntityCard, EntityCreateTrigger, EntityListShell, EntityListView, EntityRow, EvalPanel, EvalRunResults, EvalSuiteCardList, EvalSuiteDetail, type ExplorerFile, FileExplorer, type FileExplorerProps, FilePanelToggle, type IframeMessage, LatticeAgentWorkspace, LatticeChat, LatticeChatShell, type LatticeChatShellConfig, LatticeChatShellContext, LatticeChatShellContextProvider, type LatticeChatShellContextProviderProps, type LatticeChatShellContextValue, type LatticeChatShellProps, LoginForm, type LoginFormProps, LoginPage, MDResponse, MDViewFormItem, MetricsConfigDrawerContent, type MiddlewareConfigDefinition, type MiddlewareConfigSchema, type MiddlewareConfigSchemaProperty, type MiddlewareToolDefinition, type MiddlewareTypeDefinition, type ModelConfig, type ModelInfo, ModelSelector, type ModelSelectorProps, type PanelCard, type PendingMessage, PersonalAssistantChannelModal, PersonalAssistantPage, ProtectedRoute, type ProtectedRouteProps, type QuickPromptCategory, type QuickPromptItem, RegisterForm, type RegisterFormProps, type ResourceFolderConfig, type SanitizerConfig, ScheduleButton, type ScheduleButtonProps, SideAppBrowserContext, type SideAppBrowserContextValue, SideAppViewBrowser, type SideMenuItemConfig, type SideMenuItemType, SkillCategoryPrompts, type SkillCategoryPromptsProps, SkillFlow, type SkillFlowProps, SkillNode, type SkillNodeData, type StreamEventHandlerOptions, type StreamingError, StreamingHTMLRenderer, type StreamingHTMLRendererProps, TenantSelector, type TenantSelectorProps, type ThreadState, type ToolCallData, type UIMessage, type UseAgentStateOptions, type UseAgentStateReturn, type UseApiOptions, type UseApiReturn, type UseAxiomLatticeOptions, type UseChatOptions, type UseTenantsOptions, type UseTenantsReturn, type UseUsersOptions, type UseUsersReturn, UserProfile, type UserProfileProps, type UserTenantInfo, type ViewMode, ViewToggle, WorkflowAutomationView, WorkflowCanvas, type WorkflowCanvasProps, WorkflowNode, type WorkflowNodeData, WorkspaceResourceManager, type WorkspaceResourceManagerProps, WorkspaceResourceUIContext, animation, axiomAntdTheme, axiomAntdThemeDark, axiomTokens, colors, generateIframeSrcdoc, generateLabelFromMessage, getAxiomAntdTheme, getElement, radius, regsiterElement, shadows, spacing, typography, useAgentChat, useAgentGraph, useAgentState, useAgentThreadContext, useApi, useAssistantContext, useAuth, useAuthOptional, useAxiomLattice, useAxiomTheme, useChat, useChatUIContext, useClient, useConversationContext, useEvalCases, useEvalProjects, useEvalRunStream, useEvalRuns, useEvalSuites, useLatticeChatShellContext, useSideAppBrowser, useSideAppOpener, useTenants, useUsers };
|
package/dist/index.d.ts
CHANGED
|
@@ -983,6 +983,8 @@ interface UseUsersReturn {
|
|
|
983
983
|
declare function useUsers(options: UseUsersOptions): UseUsersReturn;
|
|
984
984
|
|
|
985
985
|
interface ChatErrorBoundaryProps {
|
|
986
|
+
/** Display name for this boundary (shown in error messages) */
|
|
987
|
+
name?: string;
|
|
986
988
|
children: React__default.ReactNode;
|
|
987
989
|
fallback?: React__default.ReactNode;
|
|
988
990
|
onError?: (error: Error, errorInfo: React__default.ErrorInfo) => void;
|
|
@@ -990,6 +992,7 @@ interface ChatErrorBoundaryProps {
|
|
|
990
992
|
interface ChatErrorBoundaryState {
|
|
991
993
|
hasError: boolean;
|
|
992
994
|
error: Error | null;
|
|
995
|
+
errorInfo: React__default.ErrorInfo | null;
|
|
993
996
|
retryKey: number;
|
|
994
997
|
}
|
|
995
998
|
declare class ChatErrorBoundary extends Component<ChatErrorBoundaryProps, ChatErrorBoundaryState> {
|
|
@@ -997,6 +1000,7 @@ declare class ChatErrorBoundary extends Component<ChatErrorBoundaryProps, ChatEr
|
|
|
997
1000
|
static getDerivedStateFromError(error: Error): Partial<ChatErrorBoundaryState>;
|
|
998
1001
|
componentDidCatch(error: Error, errorInfo: React__default.ErrorInfo): void;
|
|
999
1002
|
handleRetry: () => void;
|
|
1003
|
+
handleCopyError: () => void;
|
|
1000
1004
|
render(): React__default.ReactNode;
|
|
1001
1005
|
}
|
|
1002
1006
|
|
|
@@ -1804,6 +1808,8 @@ interface MiddlewareConfigDefinition {
|
|
|
1804
1808
|
description: string;
|
|
1805
1809
|
enabled: boolean;
|
|
1806
1810
|
config: Record<string, any>;
|
|
1811
|
+
/** 可选:限制该中间件暴露的工具列表。不配置则默认暴露所有工具 */
|
|
1812
|
+
allowedTools?: string[];
|
|
1807
1813
|
tools?: MiddlewareToolDefinition[];
|
|
1808
1814
|
}
|
|
1809
1815
|
/**
|
|
@@ -2788,6 +2794,125 @@ interface SkillCategoryPromptsProps {
|
|
|
2788
2794
|
}
|
|
2789
2795
|
declare const SkillCategoryPrompts: React__default.FC<SkillCategoryPromptsProps>;
|
|
2790
2796
|
|
|
2797
|
+
interface ViewToggleOption {
|
|
2798
|
+
mode: string;
|
|
2799
|
+
icon: React__default.ComponentType<{
|
|
2800
|
+
size?: number | string;
|
|
2801
|
+
}>;
|
|
2802
|
+
label?: string;
|
|
2803
|
+
}
|
|
2804
|
+
interface ViewToggleProps {
|
|
2805
|
+
value: string;
|
|
2806
|
+
onChange: (mode: string) => void;
|
|
2807
|
+
options?: ViewToggleOption[];
|
|
2808
|
+
}
|
|
2809
|
+
declare const ViewToggle: React__default.FC<ViewToggleProps>;
|
|
2810
|
+
|
|
2811
|
+
interface EntityAction<T> {
|
|
2812
|
+
key: string;
|
|
2813
|
+
icon: React__default.ComponentType<{
|
|
2814
|
+
size?: number | string;
|
|
2815
|
+
}>;
|
|
2816
|
+
label?: string;
|
|
2817
|
+
onClick: (item: T) => void;
|
|
2818
|
+
danger?: boolean;
|
|
2819
|
+
}
|
|
2820
|
+
type ViewMode = "grid" | "list";
|
|
2821
|
+
type ActionsStyle = "icon" | "button";
|
|
2822
|
+
|
|
2823
|
+
interface EntityCardProps<T> {
|
|
2824
|
+
item: T;
|
|
2825
|
+
onClick?: (item: T) => void;
|
|
2826
|
+
renderIcon?: (item: T) => React__default.ReactNode;
|
|
2827
|
+
renderPrimary: (item: T) => React__default.ReactNode;
|
|
2828
|
+
renderSecondary?: (item: T) => React__default.ReactNode;
|
|
2829
|
+
renderFooter?: (item: T) => React__default.ReactNode;
|
|
2830
|
+
renderHeaderActions?: (item: T) => React__default.ReactNode;
|
|
2831
|
+
renderDetails?: (item: T) => React__default.ReactNode;
|
|
2832
|
+
actions?: EntityAction<T>[];
|
|
2833
|
+
actionsPosition?: "hover" | "always";
|
|
2834
|
+
actionsStyle?: ActionsStyle;
|
|
2835
|
+
className?: string;
|
|
2836
|
+
}
|
|
2837
|
+
declare const EntityCard: <T>({ item, onClick, renderIcon, renderPrimary, renderSecondary, renderFooter, renderHeaderActions, renderDetails, actions, actionsPosition, actionsStyle, className, }: EntityCardProps<T>) => React__default.ReactElement;
|
|
2838
|
+
|
|
2839
|
+
interface EntityRowProps<T> {
|
|
2840
|
+
item: T;
|
|
2841
|
+
onClick?: (item: T) => void;
|
|
2842
|
+
renderIcon?: (item: T) => React__default.ReactNode;
|
|
2843
|
+
renderPrimary: (item: T) => React__default.ReactNode;
|
|
2844
|
+
renderSecondary?: (item: T) => React__default.ReactNode;
|
|
2845
|
+
renderFooter?: (item: T) => React__default.ReactNode;
|
|
2846
|
+
renderHeaderActions?: (item: T) => React__default.ReactNode;
|
|
2847
|
+
renderDetails?: (item: T) => React__default.ReactNode;
|
|
2848
|
+
actions?: EntityAction<T>[];
|
|
2849
|
+
actionsPosition?: "hover" | "always";
|
|
2850
|
+
actionsStyle?: ActionsStyle;
|
|
2851
|
+
className?: string;
|
|
2852
|
+
}
|
|
2853
|
+
declare const EntityRow: <T>({ item, onClick, renderIcon, renderPrimary, renderSecondary, renderFooter, renderHeaderActions, renderDetails, actions, actionsPosition, actionsStyle, className, }: EntityRowProps<T>) => React__default.ReactElement;
|
|
2854
|
+
|
|
2855
|
+
interface EntityCreateTriggerProps {
|
|
2856
|
+
viewMode: ViewMode;
|
|
2857
|
+
label: string;
|
|
2858
|
+
icon?: React__default.ComponentType<{
|
|
2859
|
+
size?: number | string;
|
|
2860
|
+
}>;
|
|
2861
|
+
onClick: () => void;
|
|
2862
|
+
}
|
|
2863
|
+
declare const EntityCreateTrigger: React__default.FC<EntityCreateTriggerProps>;
|
|
2864
|
+
|
|
2865
|
+
interface EntityListShellProps {
|
|
2866
|
+
title: string;
|
|
2867
|
+
subtitle?: React__default.ReactNode;
|
|
2868
|
+
headerLeft?: React__default.ReactNode;
|
|
2869
|
+
headerRight?: React__default.ReactNode;
|
|
2870
|
+
loading: boolean;
|
|
2871
|
+
isEmpty: boolean;
|
|
2872
|
+
renderLoading?: () => React__default.ReactNode;
|
|
2873
|
+
renderEmpty?: () => React__default.ReactNode;
|
|
2874
|
+
emptyIcon?: React__default.ReactNode;
|
|
2875
|
+
emptyTitle?: string;
|
|
2876
|
+
emptyDescription?: string;
|
|
2877
|
+
children: React__default.ReactNode;
|
|
2878
|
+
itemCount?: number;
|
|
2879
|
+
itemName?: string;
|
|
2880
|
+
className?: string;
|
|
2881
|
+
}
|
|
2882
|
+
declare const EntityListShell: React__default.FC<EntityListShellProps>;
|
|
2883
|
+
|
|
2884
|
+
interface EntityListViewProps<T> {
|
|
2885
|
+
items: T[];
|
|
2886
|
+
loading: boolean;
|
|
2887
|
+
keyExtractor: (item: T) => string;
|
|
2888
|
+
title: string;
|
|
2889
|
+
itemName?: string;
|
|
2890
|
+
renderIcon?: (item: T) => React__default.ReactNode;
|
|
2891
|
+
renderPrimary: (item: T) => React__default.ReactNode;
|
|
2892
|
+
renderSecondary?: (item: T) => React__default.ReactNode;
|
|
2893
|
+
renderFooter?: (item: T) => React__default.ReactNode;
|
|
2894
|
+
renderHeaderActions?: (item: T) => React__default.ReactNode;
|
|
2895
|
+
renderDetails?: (item: T) => React__default.ReactNode;
|
|
2896
|
+
onItemClick?: (item: T) => void;
|
|
2897
|
+
itemActions?: EntityAction<T>[];
|
|
2898
|
+
actionsPosition?: "hover" | "always";
|
|
2899
|
+
actionsStyle?: ActionsStyle;
|
|
2900
|
+
createLabel?: string;
|
|
2901
|
+
onCreateClick?: () => void;
|
|
2902
|
+
headerLeft?: React__default.ReactNode;
|
|
2903
|
+
headerRight?: React__default.ReactNode;
|
|
2904
|
+
defaultViewMode?: ViewMode;
|
|
2905
|
+
showViewToggle?: boolean;
|
|
2906
|
+
emptyIcon?: React__default.ReactNode;
|
|
2907
|
+
emptyTitle?: string;
|
|
2908
|
+
emptyDescription?: string;
|
|
2909
|
+
renderEmpty?: () => React__default.ReactNode;
|
|
2910
|
+
renderGridItem?: (item: T) => React__default.ReactNode;
|
|
2911
|
+
renderListItem?: (item: T) => React__default.ReactNode;
|
|
2912
|
+
className?: string;
|
|
2913
|
+
}
|
|
2914
|
+
declare const EntityListView: <T>({ items, loading, keyExtractor, title, itemName, renderIcon, renderPrimary, renderSecondary, renderFooter, renderHeaderActions, renderDetails, onItemClick, itemActions, actionsPosition, actionsStyle, createLabel, onCreateClick, headerLeft, headerRight, defaultViewMode, showViewToggle, emptyIcon, emptyTitle, emptyDescription, renderEmpty, renderGridItem, renderListItem, className, }: EntityListViewProps<T>) => React__default.ReactElement;
|
|
2915
|
+
|
|
2791
2916
|
/**
|
|
2792
2917
|
* Axiom Theme Design Tokens
|
|
2793
2918
|
*
|
|
@@ -3292,4 +3417,4 @@ type IframeMessage = {
|
|
|
3292
3417
|
};
|
|
3293
3418
|
declare function generateIframeSrcdoc(): string;
|
|
3294
3419
|
|
|
3295
|
-
export { type AgentChatProps, AgentConversations, type AgentConversationsProps, type AgentState, AgentThreadProvider, type AgentThreadProviderProps, AssistantContext, AssistantContextProvider, type AssistantContextProviderProps, type AssistantContextValue, AssistantFlow, type AssistantFlowProps, AssistantNode, type AssistantNodeData, type AssistantState, type AttachFile, type AuthContextValue, AuthProvider, AxiomLatticeProvider, type AxiomLatticeProviderProps, type BalanceResult, ChangePasswordModal, type ChangePasswordModalProps, ChannelInstallationsDrawerContent, ChatErrorBoundary, type ChatErrorBoundaryProps, type ChatResponse, ChatSidebar, type ChatSidebarProps, type ChatState, type ChatStateWithAgent, ChatUIContext, ChatUIContextProvider, Chating, type ChatingProps, type ClientConfig, ColumnLayout, type ColumnLayoutProps, ConversationContext, ConversationContextProvider, type ConversationContextProviderProps, type ConversationContextValue, type ConversationThread, CreateAssistantModal, DEFAULT_MENU_ITEMS, DEFAULT_MIDDLEWARE_TYPES, DEFAULT_WORKSPACE_MENU_ITEMS, type ElementMeta, type ElementProps, EvalPanel, EvalRunResults, EvalSuiteCardList, EvalSuiteDetail, type ExplorerFile, FileExplorer, type FileExplorerProps, FilePanelToggle, type IframeMessage, LatticeAgentWorkspace, LatticeChat, LatticeChatShell, type LatticeChatShellConfig, LatticeChatShellContext, LatticeChatShellContextProvider, type LatticeChatShellContextProviderProps, type LatticeChatShellContextValue, type LatticeChatShellProps, LoginForm, type LoginFormProps, LoginPage, MDResponse, MDViewFormItem, MetricsConfigDrawerContent, type MiddlewareConfigDefinition, type MiddlewareConfigSchema, type MiddlewareConfigSchemaProperty, type MiddlewareToolDefinition, type MiddlewareTypeDefinition, type ModelConfig, type ModelInfo, ModelSelector, type ModelSelectorProps, type PanelCard, type PendingMessage, PersonalAssistantChannelModal, PersonalAssistantPage, ProtectedRoute, type ProtectedRouteProps, type QuickPromptCategory, type QuickPromptItem, RegisterForm, type RegisterFormProps, type ResourceFolderConfig, type SanitizerConfig, ScheduleButton, type ScheduleButtonProps, SideAppBrowserContext, type SideAppBrowserContextValue, SideAppViewBrowser, type SideMenuItemConfig, type SideMenuItemType, SkillCategoryPrompts, type SkillCategoryPromptsProps, SkillFlow, type SkillFlowProps, SkillNode, type SkillNodeData, type StreamEventHandlerOptions, type StreamingError, StreamingHTMLRenderer, type StreamingHTMLRendererProps, TenantSelector, type TenantSelectorProps, type ThreadState, type ToolCallData, type UIMessage, type UseAgentStateOptions, type UseAgentStateReturn, type UseApiOptions, type UseApiReturn, type UseAxiomLatticeOptions, type UseChatOptions, type UseTenantsOptions, type UseTenantsReturn, type UseUsersOptions, type UseUsersReturn, UserProfile, type UserProfileProps, type UserTenantInfo, WorkflowAutomationView, WorkflowCanvas, type WorkflowCanvasProps, WorkflowNode, type WorkflowNodeData, WorkspaceResourceManager, type WorkspaceResourceManagerProps, WorkspaceResourceUIContext, animation, axiomAntdTheme, axiomAntdThemeDark, axiomTokens, colors, generateIframeSrcdoc, generateLabelFromMessage, getAxiomAntdTheme, getElement, radius, regsiterElement, shadows, spacing, typography, useAgentChat, useAgentGraph, useAgentState, useAgentThreadContext, useApi, useAssistantContext, useAuth, useAuthOptional, useAxiomLattice, useAxiomTheme, useChat, useChatUIContext, useClient, useConversationContext, useEvalCases, useEvalProjects, useEvalRunStream, useEvalRuns, useEvalSuites, useLatticeChatShellContext, useSideAppBrowser, useSideAppOpener, useTenants, useUsers };
|
|
3420
|
+
export { type AgentChatProps, AgentConversations, type AgentConversationsProps, type AgentState, AgentThreadProvider, type AgentThreadProviderProps, AssistantContext, AssistantContextProvider, type AssistantContextProviderProps, type AssistantContextValue, AssistantFlow, type AssistantFlowProps, AssistantNode, type AssistantNodeData, type AssistantState, type AttachFile, type AuthContextValue, AuthProvider, AxiomLatticeProvider, type AxiomLatticeProviderProps, type BalanceResult, ChangePasswordModal, type ChangePasswordModalProps, ChannelInstallationsDrawerContent, ChatErrorBoundary, type ChatErrorBoundaryProps, type ChatResponse, ChatSidebar, type ChatSidebarProps, type ChatState, type ChatStateWithAgent, ChatUIContext, ChatUIContextProvider, Chating, type ChatingProps, type ClientConfig, ColumnLayout, type ColumnLayoutProps, ConversationContext, ConversationContextProvider, type ConversationContextProviderProps, type ConversationContextValue, type ConversationThread, CreateAssistantModal, DEFAULT_MENU_ITEMS, DEFAULT_MIDDLEWARE_TYPES, DEFAULT_WORKSPACE_MENU_ITEMS, type ElementMeta, type ElementProps, type EntityAction, EntityCard, EntityCreateTrigger, EntityListShell, EntityListView, EntityRow, EvalPanel, EvalRunResults, EvalSuiteCardList, EvalSuiteDetail, type ExplorerFile, FileExplorer, type FileExplorerProps, FilePanelToggle, type IframeMessage, LatticeAgentWorkspace, LatticeChat, LatticeChatShell, type LatticeChatShellConfig, LatticeChatShellContext, LatticeChatShellContextProvider, type LatticeChatShellContextProviderProps, type LatticeChatShellContextValue, type LatticeChatShellProps, LoginForm, type LoginFormProps, LoginPage, MDResponse, MDViewFormItem, MetricsConfigDrawerContent, type MiddlewareConfigDefinition, type MiddlewareConfigSchema, type MiddlewareConfigSchemaProperty, type MiddlewareToolDefinition, type MiddlewareTypeDefinition, type ModelConfig, type ModelInfo, ModelSelector, type ModelSelectorProps, type PanelCard, type PendingMessage, PersonalAssistantChannelModal, PersonalAssistantPage, ProtectedRoute, type ProtectedRouteProps, type QuickPromptCategory, type QuickPromptItem, RegisterForm, type RegisterFormProps, type ResourceFolderConfig, type SanitizerConfig, ScheduleButton, type ScheduleButtonProps, SideAppBrowserContext, type SideAppBrowserContextValue, SideAppViewBrowser, type SideMenuItemConfig, type SideMenuItemType, SkillCategoryPrompts, type SkillCategoryPromptsProps, SkillFlow, type SkillFlowProps, SkillNode, type SkillNodeData, type StreamEventHandlerOptions, type StreamingError, StreamingHTMLRenderer, type StreamingHTMLRendererProps, TenantSelector, type TenantSelectorProps, type ThreadState, type ToolCallData, type UIMessage, type UseAgentStateOptions, type UseAgentStateReturn, type UseApiOptions, type UseApiReturn, type UseAxiomLatticeOptions, type UseChatOptions, type UseTenantsOptions, type UseTenantsReturn, type UseUsersOptions, type UseUsersReturn, UserProfile, type UserProfileProps, type UserTenantInfo, type ViewMode, ViewToggle, WorkflowAutomationView, WorkflowCanvas, type WorkflowCanvasProps, WorkflowNode, type WorkflowNodeData, WorkspaceResourceManager, type WorkspaceResourceManagerProps, WorkspaceResourceUIContext, animation, axiomAntdTheme, axiomAntdThemeDark, axiomTokens, colors, generateIframeSrcdoc, generateLabelFromMessage, getAxiomAntdTheme, getElement, radius, regsiterElement, shadows, spacing, typography, useAgentChat, useAgentGraph, useAgentState, useAgentThreadContext, useApi, useAssistantContext, useAuth, useAuthOptional, useAxiomLattice, useAxiomTheme, useChat, useChatUIContext, useClient, useConversationContext, useEvalCases, useEvalProjects, useEvalRunStream, useEvalRuns, useEvalSuites, useLatticeChatShellContext, useSideAppBrowser, useSideAppOpener, useTenants, useUsers };
|