@elevasis/ui 1.26.1 → 1.28.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.
Files changed (57) hide show
  1. package/dist/charts/index.js +2 -2
  2. package/dist/{chunk-MHW43EOH.js → chunk-2IFYDILW.js} +2 -1
  3. package/dist/{chunk-AWT255UH.js → chunk-2IJCM3VQ.js} +37 -37
  4. package/dist/{chunk-4INR75ZS.js → chunk-37NT4BNV.js} +589 -65
  5. package/dist/chunk-5COLSYBE.js +199 -0
  6. package/dist/{chunk-YNGQ7U5H.js → chunk-7CJ5QBN2.js} +2 -2
  7. package/dist/{chunk-L3GVDMCA.js → chunk-C27LLJM6.js} +3 -195
  8. package/dist/chunk-C4WOXS2C.js +6646 -0
  9. package/dist/{chunk-RMPXGBNI.js → chunk-D25AE46Q.js} +2 -2
  10. package/dist/{chunk-ZVJKIJFG.js → chunk-EBCIUZVV.js} +13 -42
  11. package/dist/{chunk-O4UB5DQQ.js → chunk-F2J7675J.js} +1 -1
  12. package/dist/chunk-KLG4H5NM.js +247 -0
  13. package/dist/{chunk-BS4J2LAW.js → chunk-QTD5HPKD.js} +1 -1
  14. package/dist/chunk-S4S6K4MV.js +635 -0
  15. package/dist/{chunk-FEZZ3IDU.js → chunk-TXPUIHX2.js} +10 -10
  16. package/dist/{chunk-L4XXM55J.js → chunk-W4VYXIN7.js} +142 -3
  17. package/dist/{chunk-4WKWLFBZ.js → chunk-ZUJ7WMGV.js} +1 -1
  18. package/dist/chunk-ZXBD5SBV.js +2115 -0
  19. package/dist/components/index.d.ts +339 -73
  20. package/dist/components/index.js +840 -688
  21. package/dist/features/auth/index.d.ts +125 -0
  22. package/dist/features/auth/index.js +2 -2
  23. package/dist/features/dashboard/index.d.ts +28 -2
  24. package/dist/features/dashboard/index.js +21 -635
  25. package/dist/features/monitoring/index.d.ts +28 -1
  26. package/dist/features/monitoring/index.js +19 -529
  27. package/dist/features/operations/index.d.ts +57 -8
  28. package/dist/features/operations/index.js +25 -3760
  29. package/dist/features/settings/index.d.ts +153 -1
  30. package/dist/features/settings/index.js +19 -1438
  31. package/dist/hooks/index.d.ts +262 -25
  32. package/dist/hooks/index.js +12 -8
  33. package/dist/hooks/published.d.ts +137 -25
  34. package/dist/hooks/published.js +11 -7
  35. package/dist/index.d.ts +388 -99
  36. package/dist/index.js +12 -11
  37. package/dist/initialization/index.d.ts +125 -0
  38. package/dist/layout/index.d.ts +2 -0
  39. package/dist/layout/index.js +6 -5
  40. package/dist/organization/index.js +1 -2
  41. package/dist/profile/index.d.ts +125 -0
  42. package/dist/provider/index.d.ts +130 -3
  43. package/dist/provider/index.js +10 -4
  44. package/dist/provider/published.d.ts +130 -3
  45. package/dist/provider/published.js +8 -2
  46. package/dist/router/context.d.ts +1 -0
  47. package/dist/router/index.d.ts +1 -0
  48. package/dist/router/index.js +1 -1
  49. package/dist/supabase/index.d.ts +242 -0
  50. package/dist/theme/index.js +2 -2
  51. package/dist/types/index.d.ts +126 -1
  52. package/package.json +1 -1
  53. package/dist/chunk-LR4WVA7W.js +0 -682
  54. package/dist/chunk-R7WLWGPO.js +0 -126
  55. package/dist/chunk-TCKIAHDC.js +0 -2626
  56. package/dist/chunk-V7XHGJQZ.js +0 -145
  57. package/dist/{chunk-WWEMNIHW.js → chunk-YYBM5LNJ.js} +1 -1
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { z } from 'zod';
3
- import { ReactNode } from 'react';
3
+ import { ReactNode, ComponentType } from 'react';
4
4
 
5
5
  /**
6
6
  * Workflow-specific logging types and utilities
@@ -1636,8 +1636,46 @@ declare class SSEConnectionManager {
1636
1636
  }>;
1637
1637
  }
1638
1638
 
1639
+ interface UseExecutionPanelStateOptions {
1640
+ resourceId: string;
1641
+ manager: SSEConnectionManager;
1642
+ /**
1643
+ * Base URL of the API server (e.g. 'https://api.elevasis.io' or 'http://localhost:5170').
1644
+ * Provided by the consuming app -- the library does not read environment variables directly.
1645
+ */
1646
+ apiUrl: string;
1647
+ limit?: number;
1648
+ onConnectionStatus?: (connected: boolean, runningCount: number) => void;
1649
+ selectedId?: string | null;
1650
+ onSelectedIdChange?: (id: string | null) => void;
1651
+ }
1652
+
1639
1653
  type TaskFilterStatus = 'all' | 'pending' | 'completed' | 'expired';
1640
1654
 
1655
+ interface FeatureNavLink {
1656
+ label: string;
1657
+ link: string;
1658
+ featureKey?: string;
1659
+ onClick?: () => void;
1660
+ }
1661
+ interface FeatureNavEntry {
1662
+ label: string;
1663
+ icon: ComponentType;
1664
+ link?: string;
1665
+ featureKey?: string;
1666
+ requiresAdmin?: boolean;
1667
+ dataOnboardingTourId?: string;
1668
+ links?: FeatureNavLink[];
1669
+ }
1670
+ type FeatureSidebarComponent = ComponentType;
1671
+ interface FeatureModule {
1672
+ key: string;
1673
+ label?: string;
1674
+ navEntry?: FeatureNavEntry;
1675
+ sidebar?: FeatureSidebarComponent;
1676
+ subshellRoutes?: string[];
1677
+ }
1678
+
1641
1679
  interface CommandQueuePageProps {
1642
1680
  timeRange: TimeRange;
1643
1681
  pageSize?: number;
@@ -1797,7 +1835,8 @@ interface CalibrationSidebarProps {
1797
1835
  */
1798
1836
  declare function CalibrationSidebar({ currentProjectId, currentRunId, currentPath, onProjectClick, onRunClick }: CalibrationSidebarProps): react_jsx_runtime.JSX.Element;
1799
1837
 
1800
- interface ExecutionPanelProps {
1838
+ type ExecutionSelectionControlProps$2 = Pick<UseExecutionPanelStateOptions, 'selectedId' | 'onSelectedIdChange'>;
1839
+ interface ExecutionPanelProps extends ExecutionSelectionControlProps$2 {
1801
1840
  resourceId: string;
1802
1841
  resourceType: ResourceType$1;
1803
1842
  resourceName?: string;
@@ -1806,9 +1845,10 @@ interface ExecutionPanelProps {
1806
1845
  apiUrl: string;
1807
1846
  onConnectionStatus?: (connected: boolean, runningCount: number) => void;
1808
1847
  }
1809
- declare function ExecutionPanel({ resourceId, resourceType, resourceName, resourceDefinition, sseManager, apiUrl, onConnectionStatus }: ExecutionPanelProps): react_jsx_runtime.JSX.Element;
1848
+ declare function ExecutionPanel({ resourceId, resourceType, resourceName, resourceDefinition, sseManager, apiUrl, onConnectionStatus, selectedId, onSelectedIdChange }: ExecutionPanelProps): react_jsx_runtime.JSX.Element;
1810
1849
 
1811
- interface WorkflowExecutionPanelProps {
1850
+ type ExecutionSelectionControlProps$1 = Pick<UseExecutionPanelStateOptions, 'selectedId' | 'onSelectedIdChange'>;
1851
+ interface WorkflowExecutionPanelProps extends ExecutionSelectionControlProps$1 {
1812
1852
  resourceId: string;
1813
1853
  resourceName?: string;
1814
1854
  resourceDefinition: SerializedWorkflowDefinition;
@@ -1816,9 +1856,10 @@ interface WorkflowExecutionPanelProps {
1816
1856
  apiUrl: string;
1817
1857
  onConnectionStatus?: (connected: boolean, runningCount: number) => void;
1818
1858
  }
1819
- declare function WorkflowExecutionPanel({ resourceId, resourceDefinition, sseManager, apiUrl, onConnectionStatus }: WorkflowExecutionPanelProps): react_jsx_runtime.JSX.Element;
1859
+ declare function WorkflowExecutionPanel({ resourceId, resourceDefinition, sseManager, apiUrl, onConnectionStatus, selectedId: controlledSelectedId, onSelectedIdChange }: WorkflowExecutionPanelProps): react_jsx_runtime.JSX.Element;
1820
1860
 
1821
- interface AgentExecutionPanelProps {
1861
+ type ExecutionSelectionControlProps = Pick<UseExecutionPanelStateOptions, 'selectedId' | 'onSelectedIdChange'>;
1862
+ interface AgentExecutionPanelProps extends ExecutionSelectionControlProps {
1822
1863
  resourceId: string;
1823
1864
  resourceName?: string;
1824
1865
  resourceDefinition: SerializedAgentDefinition;
@@ -1826,7 +1867,7 @@ interface AgentExecutionPanelProps {
1826
1867
  apiUrl: string;
1827
1868
  onConnectionStatus?: (connected: boolean, runningCount: number) => void;
1828
1869
  }
1829
- declare function AgentExecutionPanel({ resourceId, resourceDefinition, sseManager, apiUrl, onConnectionStatus }: AgentExecutionPanelProps): react_jsx_runtime.JSX.Element;
1870
+ declare function AgentExecutionPanel({ resourceId, resourceDefinition, sseManager, apiUrl, onConnectionStatus, selectedId: controlledSelectedId, onSelectedIdChange }: AgentExecutionPanelProps): react_jsx_runtime.JSX.Element;
1830
1871
 
1831
1872
  interface ExecuteWorkflowModalResource {
1832
1873
  resourceId: string;
@@ -2066,5 +2107,13 @@ interface SessionsSidebarProps {
2066
2107
  */
2067
2108
  declare function SessionsSidebar({ isReady, onAgentClick, buildSessionDetailUrl, sessionId, agentParam }: SessionsSidebarProps): react_jsx_runtime.JSX.Element;
2068
2109
 
2069
- export { AgentExecutionPanel, AgentSessionGroup, CalibrationPage, CalibrationProgress, CalibrationProjectDetailPage, CalibrationProjectsPage, CalibrationRunDetailPage, CalibrationSidebar, CommandQueueDetailPage, CommandQueuePage, CommandViewPage, CommandViewSidebarContent, ExecuteWorkflowModal, ExecutionPanel, ResourceDetailPage, ResourceExecuteDialog, ResourceExecuteForm, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, WorkflowExecutionPanel };
2110
+ declare const OperationsSidebar: () => react_jsx_runtime.JSX.Element;
2111
+
2112
+ declare const OperationsSidebarTop: () => react_jsx_runtime.JSX.Element | null;
2113
+
2114
+ declare const OperationsSidebarMiddle: () => react_jsx_runtime.JSX.Element;
2115
+
2116
+ declare const operationsManifest: FeatureModule;
2117
+
2118
+ export { AgentExecutionPanel, AgentSessionGroup, CalibrationPage, CalibrationProgress, CalibrationProjectDetailPage, CalibrationProjectsPage, CalibrationRunDetailPage, CalibrationSidebar, CommandQueueDetailPage, CommandQueuePage, CommandViewPage, CommandViewSidebarContent, ExecuteWorkflowModal, ExecutionPanel, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, ResourceDetailPage, ResourceExecuteDialog, ResourceExecuteForm, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, WorkflowExecutionPanel, operationsManifest };
2070
2119
  export type { AgentExecutionPanelProps, AgentSessionGroupProps, CalibrationPageProps, CalibrationProgressProps, CalibrationProjectDetailPageProps, CalibrationProjectDetailPageRenderCreateModalArgs, CalibrationProjectDetailPageRenderRunCardArgs, CalibrationProjectsPageProps, CalibrationRunDetailPageProps, CalibrationSidebarProps, CommandQueueDetailPageProps, CommandQueueDetailPageRichTextArgs, CommandQueuePageProps, CommandViewPageProps, CommandViewSidebarContentProps, ConversationViewSlotArgs, ExecuteWorkflowModalProps, ExecuteWorkflowModalResource, ExecutionPanelProps, ResourceDetailPageProps, ResourceDetailPageRenderExecutionPanelArgs, ResourceExecuteDialogProps, ResourceExecuteFormProps, ResourcesPageProps, ResourcesSidebarProps, SessionChatAreaProps, SessionChatInterfaceProps, SessionChatPageProps, SessionDetailsSidebarProps, SessionExecutionLogsProps, SessionHeaderProps, SessionListItemProps, SessionsPageProps, SessionsSidebarProps, WorkflowExecutionPanelProps };