@axiom-lattice/react-sdk 2.1.114 → 2.1.116
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 +84 -2
- package/dist/index.d.ts +84 -2
- package/dist/index.js +14021 -12429
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15648 -14050
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -3
package/dist/index.d.mts
CHANGED
|
@@ -657,6 +657,8 @@ interface SideMenuItemConfig {
|
|
|
657
657
|
inlineDefaultExpanded?: boolean;
|
|
658
658
|
/** Component to render in SideApp (for route type) */
|
|
659
659
|
sideAppComponent?: ReactNode;
|
|
660
|
+
/** Badge indicator for the menu item (true = dot, number = count) */
|
|
661
|
+
badge?: boolean | number;
|
|
660
662
|
}
|
|
661
663
|
/**
|
|
662
664
|
* Lattice Chat Shell configuration interface
|
|
@@ -1420,6 +1422,63 @@ interface UseUsersReturn {
|
|
|
1420
1422
|
*/
|
|
1421
1423
|
declare function useUsers(options: UseUsersOptions): UseUsersReturn;
|
|
1422
1424
|
|
|
1425
|
+
interface TenantLogoProps {
|
|
1426
|
+
/** Tenant logo URL (or null if not configured) */
|
|
1427
|
+
logoUrl: string | null;
|
|
1428
|
+
/** Logo size in pixels (default 28, matches Menu's default Cpu size) */
|
|
1429
|
+
size?: number;
|
|
1430
|
+
/** Fallback icon color (default #1677ff to match Menu's Cpu icon) */
|
|
1431
|
+
fallbackColor?: string;
|
|
1432
|
+
/** Tenant name for accessible alt text */
|
|
1433
|
+
tenantName?: string;
|
|
1434
|
+
/** Additional CSS class */
|
|
1435
|
+
className?: string;
|
|
1436
|
+
}
|
|
1437
|
+
/**
|
|
1438
|
+
* Renders a tenant's logo image with fallback to the Building2 icon.
|
|
1439
|
+
*
|
|
1440
|
+
* On image load error, switches to Building2 icon.
|
|
1441
|
+
* When logoUrl changes, resets error state so the new URL is attempted.
|
|
1442
|
+
* When no logoUrl is provided, renders Building2 immediately.
|
|
1443
|
+
*/
|
|
1444
|
+
declare const TenantLogo: React__default.FC<TenantLogoProps>;
|
|
1445
|
+
|
|
1446
|
+
interface TenantBrandingProps {
|
|
1447
|
+
/** Logo + text size preset */
|
|
1448
|
+
size?: "small" | "medium";
|
|
1449
|
+
/** Whether to show the tenant name next to the logo (default true) */
|
|
1450
|
+
showName?: boolean;
|
|
1451
|
+
/** Additional CSS class */
|
|
1452
|
+
className?: string;
|
|
1453
|
+
}
|
|
1454
|
+
/**
|
|
1455
|
+
* Brand bar combining tenant logo and tenant name.
|
|
1456
|
+
*
|
|
1457
|
+
* Uses `useTenantBranding()` internally to read the current tenant's
|
|
1458
|
+
* logo URL. Renders nothing visible when there is no current tenant.
|
|
1459
|
+
*/
|
|
1460
|
+
declare const TenantBranding: React__default.FC<TenantBrandingProps>;
|
|
1461
|
+
|
|
1462
|
+
interface TenantSettingsModalProps {
|
|
1463
|
+
open: boolean;
|
|
1464
|
+
onClose: () => void;
|
|
1465
|
+
}
|
|
1466
|
+
declare const TenantSettingsModal: React__default.FC<TenantSettingsModalProps>;
|
|
1467
|
+
|
|
1468
|
+
interface TenantBrandingData {
|
|
1469
|
+
/** Raw logo URL from tenant metadata, or null if not configured */
|
|
1470
|
+
logoUrl: string | null;
|
|
1471
|
+
/** Current tenant name, or empty string if no tenant selected */
|
|
1472
|
+
tenantName: string;
|
|
1473
|
+
}
|
|
1474
|
+
/**
|
|
1475
|
+
* Reads the current tenant's branding information from AuthContext.
|
|
1476
|
+
* Extracts `metadata.logoUrl` and tenant name for use in UI components.
|
|
1477
|
+
*
|
|
1478
|
+
* @returns Tenant branding data — logo URL and name.
|
|
1479
|
+
*/
|
|
1480
|
+
declare function useTenantBranding(): TenantBrandingData;
|
|
1481
|
+
|
|
1423
1482
|
interface ChatErrorBoundaryProps {
|
|
1424
1483
|
/** Display name for this boundary (shown in error messages) */
|
|
1425
1484
|
name?: string;
|
|
@@ -1759,6 +1818,11 @@ declare const regsiterElement: (language: string, ElementMeta: ElementMeta) => E
|
|
|
1759
1818
|
*
|
|
1760
1819
|
* @param region - Which panel region this browser is attached to.
|
|
1761
1820
|
* `"side"` for the right detail panel (default), `"content"` for the main content area.
|
|
1821
|
+
* @param compact - When `true`, collapses the tab bar into a small floating indicator
|
|
1822
|
+
* at the top center. The full tab strip only appears on hover as a floating overlay.
|
|
1823
|
+
* Default `true` (compact floating indicator).
|
|
1824
|
+
* @param showCloseButton - When `false`, hides the "close all" button that dismisses the
|
|
1825
|
+
* entire panel. Default `true`.
|
|
1762
1826
|
* @returns The tabbed side-app viewer, or an empty state if no tabs are open.
|
|
1763
1827
|
*
|
|
1764
1828
|
* @example
|
|
@@ -1776,6 +1840,8 @@ declare const regsiterElement: (language: string, ElementMeta: ElementMeta) => E
|
|
|
1776
1840
|
*/
|
|
1777
1841
|
declare const SideAppViewBrowser: React__default.FC<{
|
|
1778
1842
|
region?: "side" | "content";
|
|
1843
|
+
compact?: boolean;
|
|
1844
|
+
showCloseButton?: boolean;
|
|
1779
1845
|
}>;
|
|
1780
1846
|
|
|
1781
1847
|
type PanelCardData = Record<string, unknown> & {
|
|
@@ -2256,6 +2322,8 @@ interface ColumnLayoutProps {
|
|
|
2256
2322
|
logo?: React__default.ReactNode;
|
|
2257
2323
|
/** Header bar rendered above the main content area on desktop and mobile. */
|
|
2258
2324
|
header?: React__default.ReactNode;
|
|
2325
|
+
/** Additional inline style applied to the main content container. */
|
|
2326
|
+
mainStyle?: React__default.CSSProperties;
|
|
2259
2327
|
}
|
|
2260
2328
|
/**
|
|
2261
2329
|
* Responsive three-column (plus tools) layout for the chat interface.
|
|
@@ -2874,6 +2942,7 @@ interface ViewToggleProps {
|
|
|
2874
2942
|
value: string;
|
|
2875
2943
|
onChange: (mode: string) => void;
|
|
2876
2944
|
options?: ViewToggleOption[];
|
|
2945
|
+
extraOptions?: ViewToggleOption[];
|
|
2877
2946
|
}
|
|
2878
2947
|
declare const ViewToggle: React__default.FC<ViewToggleProps>;
|
|
2879
2948
|
|
|
@@ -2888,6 +2957,14 @@ interface EntityAction<T> {
|
|
|
2888
2957
|
}
|
|
2889
2958
|
type ViewMode = "grid" | "list";
|
|
2890
2959
|
type ActionsStyle = "icon" | "button";
|
|
2960
|
+
interface ViewModeExtension {
|
|
2961
|
+
mode: string;
|
|
2962
|
+
icon: React__default.ComponentType<{
|
|
2963
|
+
size?: number | string;
|
|
2964
|
+
}>;
|
|
2965
|
+
label?: string;
|
|
2966
|
+
render: () => React__default.ReactNode;
|
|
2967
|
+
}
|
|
2891
2968
|
|
|
2892
2969
|
interface EntityCardProps<T> {
|
|
2893
2970
|
item: T;
|
|
@@ -2998,6 +3075,11 @@ interface EntityListViewProps<T> {
|
|
|
2998
3075
|
renderEmpty?: () => React__default.ReactNode;
|
|
2999
3076
|
renderGridItem?: (item: T) => React__default.ReactNode;
|
|
3000
3077
|
renderListItem?: (item: T) => React__default.ReactNode;
|
|
3078
|
+
/**
|
|
3079
|
+
* Extensions that appear as extra toggle buttons in the ViewToggle.
|
|
3080
|
+
* Each defines a mode key, icon, and what to render when selected.
|
|
3081
|
+
*/
|
|
3082
|
+
viewModeExtensions?: ViewModeExtension[];
|
|
3001
3083
|
className?: string;
|
|
3002
3084
|
/**
|
|
3003
3085
|
* Optional tab filter rendered in the header (below title).
|
|
@@ -3010,7 +3092,7 @@ interface EntityListViewProps<T> {
|
|
|
3010
3092
|
activeTab?: string;
|
|
3011
3093
|
onTabChange?: (key: string) => void;
|
|
3012
3094
|
}
|
|
3013
|
-
declare const EntityListView: <T>({ items, loading, keyExtractor, title, itemName, titleBefore, titleAfter, renderIcon, renderPrimary, renderSecondary, renderFooter, renderHeaderActions, renderDetails, onItemClick, itemActions, actionsPosition, actionsStyle, createLabel, onCreateClick, headerLeft, headerRight, defaultViewMode, showViewToggle, emptyIcon, emptyTitle, emptyDescription, renderEmpty, renderGridItem, renderListItem, className, tabs, activeTab, onTabChange, }: EntityListViewProps<T>) => React__default.ReactElement;
|
|
3095
|
+
declare const EntityListView: <T>({ items, loading, keyExtractor, title, itemName, titleBefore, titleAfter, renderIcon, renderPrimary, renderSecondary, renderFooter, renderHeaderActions, renderDetails, onItemClick, itemActions, actionsPosition, actionsStyle, createLabel, onCreateClick, headerLeft, headerRight, defaultViewMode, showViewToggle, emptyIcon, emptyTitle, emptyDescription, renderEmpty, renderGridItem, renderListItem, viewModeExtensions, className, tabs, activeTab, onTabChange, }: EntityListViewProps<T>) => React__default.ReactElement;
|
|
3014
3096
|
|
|
3015
3097
|
interface ConflictResolverProps {
|
|
3016
3098
|
conflicts: Array<{
|
|
@@ -3553,4 +3635,4 @@ type IframeMessage = {
|
|
|
3553
3635
|
};
|
|
3554
3636
|
declare function generateIframeSrcdoc(): string;
|
|
3555
3637
|
|
|
3556
|
-
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, ConflictResolver, ConnectionConfigDrawerContent, ConnectionListField, ConnectionsHub, 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, ExportStep, FileExplorer, type FileExplorerProps, FilePanelToggle, type IframeMessage, ImportStep, 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, MigrationPage, MigrationPageWrapper, 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, useMiddlewareTypes, useSideAppBrowser, useSideAppOpener, useTenants, useUsers };
|
|
3638
|
+
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, ConflictResolver, ConnectionConfigDrawerContent, ConnectionListField, ConnectionsHub, 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, ExportStep, FileExplorer, type FileExplorerProps, FilePanelToggle, type IframeMessage, ImportStep, 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, MigrationPage, MigrationPageWrapper, 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, TenantBranding, type TenantBrandingData, TenantLogo, TenantSelector, type TenantSelectorProps, TenantSettingsModal, 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, type ViewModeExtension, 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, useMiddlewareTypes, useSideAppBrowser, useSideAppOpener, useTenantBranding, useTenants, useUsers };
|
package/dist/index.d.ts
CHANGED
|
@@ -657,6 +657,8 @@ interface SideMenuItemConfig {
|
|
|
657
657
|
inlineDefaultExpanded?: boolean;
|
|
658
658
|
/** Component to render in SideApp (for route type) */
|
|
659
659
|
sideAppComponent?: ReactNode;
|
|
660
|
+
/** Badge indicator for the menu item (true = dot, number = count) */
|
|
661
|
+
badge?: boolean | number;
|
|
660
662
|
}
|
|
661
663
|
/**
|
|
662
664
|
* Lattice Chat Shell configuration interface
|
|
@@ -1420,6 +1422,63 @@ interface UseUsersReturn {
|
|
|
1420
1422
|
*/
|
|
1421
1423
|
declare function useUsers(options: UseUsersOptions): UseUsersReturn;
|
|
1422
1424
|
|
|
1425
|
+
interface TenantLogoProps {
|
|
1426
|
+
/** Tenant logo URL (or null if not configured) */
|
|
1427
|
+
logoUrl: string | null;
|
|
1428
|
+
/** Logo size in pixels (default 28, matches Menu's default Cpu size) */
|
|
1429
|
+
size?: number;
|
|
1430
|
+
/** Fallback icon color (default #1677ff to match Menu's Cpu icon) */
|
|
1431
|
+
fallbackColor?: string;
|
|
1432
|
+
/** Tenant name for accessible alt text */
|
|
1433
|
+
tenantName?: string;
|
|
1434
|
+
/** Additional CSS class */
|
|
1435
|
+
className?: string;
|
|
1436
|
+
}
|
|
1437
|
+
/**
|
|
1438
|
+
* Renders a tenant's logo image with fallback to the Building2 icon.
|
|
1439
|
+
*
|
|
1440
|
+
* On image load error, switches to Building2 icon.
|
|
1441
|
+
* When logoUrl changes, resets error state so the new URL is attempted.
|
|
1442
|
+
* When no logoUrl is provided, renders Building2 immediately.
|
|
1443
|
+
*/
|
|
1444
|
+
declare const TenantLogo: React__default.FC<TenantLogoProps>;
|
|
1445
|
+
|
|
1446
|
+
interface TenantBrandingProps {
|
|
1447
|
+
/** Logo + text size preset */
|
|
1448
|
+
size?: "small" | "medium";
|
|
1449
|
+
/** Whether to show the tenant name next to the logo (default true) */
|
|
1450
|
+
showName?: boolean;
|
|
1451
|
+
/** Additional CSS class */
|
|
1452
|
+
className?: string;
|
|
1453
|
+
}
|
|
1454
|
+
/**
|
|
1455
|
+
* Brand bar combining tenant logo and tenant name.
|
|
1456
|
+
*
|
|
1457
|
+
* Uses `useTenantBranding()` internally to read the current tenant's
|
|
1458
|
+
* logo URL. Renders nothing visible when there is no current tenant.
|
|
1459
|
+
*/
|
|
1460
|
+
declare const TenantBranding: React__default.FC<TenantBrandingProps>;
|
|
1461
|
+
|
|
1462
|
+
interface TenantSettingsModalProps {
|
|
1463
|
+
open: boolean;
|
|
1464
|
+
onClose: () => void;
|
|
1465
|
+
}
|
|
1466
|
+
declare const TenantSettingsModal: React__default.FC<TenantSettingsModalProps>;
|
|
1467
|
+
|
|
1468
|
+
interface TenantBrandingData {
|
|
1469
|
+
/** Raw logo URL from tenant metadata, or null if not configured */
|
|
1470
|
+
logoUrl: string | null;
|
|
1471
|
+
/** Current tenant name, or empty string if no tenant selected */
|
|
1472
|
+
tenantName: string;
|
|
1473
|
+
}
|
|
1474
|
+
/**
|
|
1475
|
+
* Reads the current tenant's branding information from AuthContext.
|
|
1476
|
+
* Extracts `metadata.logoUrl` and tenant name for use in UI components.
|
|
1477
|
+
*
|
|
1478
|
+
* @returns Tenant branding data — logo URL and name.
|
|
1479
|
+
*/
|
|
1480
|
+
declare function useTenantBranding(): TenantBrandingData;
|
|
1481
|
+
|
|
1423
1482
|
interface ChatErrorBoundaryProps {
|
|
1424
1483
|
/** Display name for this boundary (shown in error messages) */
|
|
1425
1484
|
name?: string;
|
|
@@ -1759,6 +1818,11 @@ declare const regsiterElement: (language: string, ElementMeta: ElementMeta) => E
|
|
|
1759
1818
|
*
|
|
1760
1819
|
* @param region - Which panel region this browser is attached to.
|
|
1761
1820
|
* `"side"` for the right detail panel (default), `"content"` for the main content area.
|
|
1821
|
+
* @param compact - When `true`, collapses the tab bar into a small floating indicator
|
|
1822
|
+
* at the top center. The full tab strip only appears on hover as a floating overlay.
|
|
1823
|
+
* Default `true` (compact floating indicator).
|
|
1824
|
+
* @param showCloseButton - When `false`, hides the "close all" button that dismisses the
|
|
1825
|
+
* entire panel. Default `true`.
|
|
1762
1826
|
* @returns The tabbed side-app viewer, or an empty state if no tabs are open.
|
|
1763
1827
|
*
|
|
1764
1828
|
* @example
|
|
@@ -1776,6 +1840,8 @@ declare const regsiterElement: (language: string, ElementMeta: ElementMeta) => E
|
|
|
1776
1840
|
*/
|
|
1777
1841
|
declare const SideAppViewBrowser: React__default.FC<{
|
|
1778
1842
|
region?: "side" | "content";
|
|
1843
|
+
compact?: boolean;
|
|
1844
|
+
showCloseButton?: boolean;
|
|
1779
1845
|
}>;
|
|
1780
1846
|
|
|
1781
1847
|
type PanelCardData = Record<string, unknown> & {
|
|
@@ -2256,6 +2322,8 @@ interface ColumnLayoutProps {
|
|
|
2256
2322
|
logo?: React__default.ReactNode;
|
|
2257
2323
|
/** Header bar rendered above the main content area on desktop and mobile. */
|
|
2258
2324
|
header?: React__default.ReactNode;
|
|
2325
|
+
/** Additional inline style applied to the main content container. */
|
|
2326
|
+
mainStyle?: React__default.CSSProperties;
|
|
2259
2327
|
}
|
|
2260
2328
|
/**
|
|
2261
2329
|
* Responsive three-column (plus tools) layout for the chat interface.
|
|
@@ -2874,6 +2942,7 @@ interface ViewToggleProps {
|
|
|
2874
2942
|
value: string;
|
|
2875
2943
|
onChange: (mode: string) => void;
|
|
2876
2944
|
options?: ViewToggleOption[];
|
|
2945
|
+
extraOptions?: ViewToggleOption[];
|
|
2877
2946
|
}
|
|
2878
2947
|
declare const ViewToggle: React__default.FC<ViewToggleProps>;
|
|
2879
2948
|
|
|
@@ -2888,6 +2957,14 @@ interface EntityAction<T> {
|
|
|
2888
2957
|
}
|
|
2889
2958
|
type ViewMode = "grid" | "list";
|
|
2890
2959
|
type ActionsStyle = "icon" | "button";
|
|
2960
|
+
interface ViewModeExtension {
|
|
2961
|
+
mode: string;
|
|
2962
|
+
icon: React__default.ComponentType<{
|
|
2963
|
+
size?: number | string;
|
|
2964
|
+
}>;
|
|
2965
|
+
label?: string;
|
|
2966
|
+
render: () => React__default.ReactNode;
|
|
2967
|
+
}
|
|
2891
2968
|
|
|
2892
2969
|
interface EntityCardProps<T> {
|
|
2893
2970
|
item: T;
|
|
@@ -2998,6 +3075,11 @@ interface EntityListViewProps<T> {
|
|
|
2998
3075
|
renderEmpty?: () => React__default.ReactNode;
|
|
2999
3076
|
renderGridItem?: (item: T) => React__default.ReactNode;
|
|
3000
3077
|
renderListItem?: (item: T) => React__default.ReactNode;
|
|
3078
|
+
/**
|
|
3079
|
+
* Extensions that appear as extra toggle buttons in the ViewToggle.
|
|
3080
|
+
* Each defines a mode key, icon, and what to render when selected.
|
|
3081
|
+
*/
|
|
3082
|
+
viewModeExtensions?: ViewModeExtension[];
|
|
3001
3083
|
className?: string;
|
|
3002
3084
|
/**
|
|
3003
3085
|
* Optional tab filter rendered in the header (below title).
|
|
@@ -3010,7 +3092,7 @@ interface EntityListViewProps<T> {
|
|
|
3010
3092
|
activeTab?: string;
|
|
3011
3093
|
onTabChange?: (key: string) => void;
|
|
3012
3094
|
}
|
|
3013
|
-
declare const EntityListView: <T>({ items, loading, keyExtractor, title, itemName, titleBefore, titleAfter, renderIcon, renderPrimary, renderSecondary, renderFooter, renderHeaderActions, renderDetails, onItemClick, itemActions, actionsPosition, actionsStyle, createLabel, onCreateClick, headerLeft, headerRight, defaultViewMode, showViewToggle, emptyIcon, emptyTitle, emptyDescription, renderEmpty, renderGridItem, renderListItem, className, tabs, activeTab, onTabChange, }: EntityListViewProps<T>) => React__default.ReactElement;
|
|
3095
|
+
declare const EntityListView: <T>({ items, loading, keyExtractor, title, itemName, titleBefore, titleAfter, renderIcon, renderPrimary, renderSecondary, renderFooter, renderHeaderActions, renderDetails, onItemClick, itemActions, actionsPosition, actionsStyle, createLabel, onCreateClick, headerLeft, headerRight, defaultViewMode, showViewToggle, emptyIcon, emptyTitle, emptyDescription, renderEmpty, renderGridItem, renderListItem, viewModeExtensions, className, tabs, activeTab, onTabChange, }: EntityListViewProps<T>) => React__default.ReactElement;
|
|
3014
3096
|
|
|
3015
3097
|
interface ConflictResolverProps {
|
|
3016
3098
|
conflicts: Array<{
|
|
@@ -3553,4 +3635,4 @@ type IframeMessage = {
|
|
|
3553
3635
|
};
|
|
3554
3636
|
declare function generateIframeSrcdoc(): string;
|
|
3555
3637
|
|
|
3556
|
-
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, ConflictResolver, ConnectionConfigDrawerContent, ConnectionListField, ConnectionsHub, 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, ExportStep, FileExplorer, type FileExplorerProps, FilePanelToggle, type IframeMessage, ImportStep, 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, MigrationPage, MigrationPageWrapper, 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, useMiddlewareTypes, useSideAppBrowser, useSideAppOpener, useTenants, useUsers };
|
|
3638
|
+
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, ConflictResolver, ConnectionConfigDrawerContent, ConnectionListField, ConnectionsHub, 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, ExportStep, FileExplorer, type FileExplorerProps, FilePanelToggle, type IframeMessage, ImportStep, 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, MigrationPage, MigrationPageWrapper, 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, TenantBranding, type TenantBrandingData, TenantLogo, TenantSelector, type TenantSelectorProps, TenantSettingsModal, 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, type ViewModeExtension, 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, useMiddlewareTypes, useSideAppBrowser, useSideAppOpener, useTenantBranding, useTenants, useUsers };
|