@elevasis/ui 1.27.0 → 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.
- package/dist/charts/index.js +1 -1
- package/dist/{chunk-MHW43EOH.js → chunk-2IFYDILW.js} +2 -1
- package/dist/{chunk-Y2SYGFRF.js → chunk-37NT4BNV.js} +2 -2
- package/dist/{chunk-WLNEJ6JJ.js → chunk-7CJ5QBN2.js} +2 -2
- package/dist/{chunk-TLAIQC7B.js → chunk-C4WOXS2C.js} +270 -6
- package/dist/{chunk-5JSR6TL5.js → chunk-D25AE46Q.js} +1 -1
- package/dist/{chunk-RCQPWA5X.js → chunk-EBCIUZVV.js} +1 -1
- package/dist/{chunk-ITCEULI5.js → chunk-KLG4H5NM.js} +11 -2
- package/dist/{chunk-BAGYETKM.js → chunk-S4S6K4MV.js} +2 -2
- package/dist/{chunk-P5EWG45B.js → chunk-ZUJ7WMGV.js} +1 -1
- package/dist/{chunk-WJ7W7JU4.js → chunk-ZXBD5SBV.js} +2 -2
- package/dist/components/index.d.ts +7 -1
- package/dist/components/index.js +12 -12
- package/dist/features/dashboard/index.js +6 -6
- package/dist/features/monitoring/index.js +7 -7
- package/dist/features/operations/index.d.ts +7 -1
- package/dist/features/operations/index.js +7 -7
- package/dist/features/settings/index.js +6 -6
- package/dist/hooks/index.js +5 -5
- package/dist/hooks/published.js +4 -4
- package/dist/index.d.ts +79 -72
- package/dist/index.js +5 -5
- package/dist/layout/index.js +1 -1
- package/dist/provider/index.d.ts +83 -1
- package/dist/provider/index.js +3 -3
- package/dist/provider/published.d.ts +83 -1
- package/dist/provider/published.js +2 -2
- package/dist/router/context.d.ts +1 -0
- package/dist/router/index.d.ts +1 -0
- package/dist/router/index.js +1 -1
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
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, operationsManifest } from '../../chunk-
|
|
1
|
+
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 } from '../../chunk-C4WOXS2C.js';
|
|
2
2
|
import '../../chunk-ROSMICXG.js';
|
|
3
3
|
import '../../chunk-2IJCM3VQ.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-ZUJ7WMGV.js';
|
|
5
5
|
import '../../chunk-GBMNCNHX.js';
|
|
6
6
|
import '../../chunk-F2J7675J.js';
|
|
7
7
|
import '../../chunk-JHVKGZ2P.js';
|
|
@@ -9,20 +9,20 @@ import '../../chunk-MCA6LOGM.js';
|
|
|
9
9
|
import '../../chunk-3KMDHCAR.js';
|
|
10
10
|
import '../../chunk-NNKKBSJN.js';
|
|
11
11
|
import '../../chunk-YYBM5LNJ.js';
|
|
12
|
-
import '../../chunk-
|
|
13
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-7CJ5QBN2.js';
|
|
13
|
+
import '../../chunk-EBCIUZVV.js';
|
|
14
14
|
import '../../chunk-LXHZYSMQ.js';
|
|
15
15
|
import '../../chunk-F6RBK7NJ.js';
|
|
16
16
|
import '../../chunk-XA34RETF.js';
|
|
17
17
|
import '../../chunk-ELJIFLCB.js';
|
|
18
|
-
import '../../chunk-
|
|
18
|
+
import '../../chunk-D25AE46Q.js';
|
|
19
19
|
import '../../chunk-SZHARWKU.js';
|
|
20
20
|
import '../../chunk-TXPUIHX2.js';
|
|
21
21
|
import '../../chunk-CYXZHBP4.js';
|
|
22
|
-
import '../../chunk-
|
|
22
|
+
import '../../chunk-KLG4H5NM.js';
|
|
23
23
|
import '../../chunk-5COLSYBE.js';
|
|
24
24
|
import '../../chunk-NVOCKXUQ.js';
|
|
25
|
-
import '../../chunk-
|
|
25
|
+
import '../../chunk-2IFYDILW.js';
|
|
26
26
|
import '../../chunk-W4VYXIN7.js';
|
|
27
27
|
import '../../chunk-QJ2KCHKX.js';
|
|
28
28
|
import '../../chunk-QJ2S46NI.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberConfigModal, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-
|
|
1
|
+
export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberConfigModal, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-ZXBD5SBV.js';
|
|
2
2
|
import '../../chunk-PDHTXPSF.js';
|
|
3
3
|
import '../../chunk-GBMNCNHX.js';
|
|
4
4
|
import '../../chunk-MCA6LOGM.js';
|
|
@@ -6,19 +6,19 @@ import '../../chunk-3KMDHCAR.js';
|
|
|
6
6
|
import '../../chunk-NNKKBSJN.js';
|
|
7
7
|
import '../../chunk-YYBM5LNJ.js';
|
|
8
8
|
import '../../chunk-QTD5HPKD.js';
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-7CJ5QBN2.js';
|
|
10
|
+
import '../../chunk-EBCIUZVV.js';
|
|
11
11
|
import '../../chunk-LXHZYSMQ.js';
|
|
12
12
|
import '../../chunk-F6RBK7NJ.js';
|
|
13
13
|
import '../../chunk-ELJIFLCB.js';
|
|
14
|
-
import '../../chunk-
|
|
14
|
+
import '../../chunk-D25AE46Q.js';
|
|
15
15
|
import '../../chunk-SZHARWKU.js';
|
|
16
16
|
import '../../chunk-TXPUIHX2.js';
|
|
17
17
|
import '../../chunk-CYXZHBP4.js';
|
|
18
|
-
import '../../chunk-
|
|
18
|
+
import '../../chunk-KLG4H5NM.js';
|
|
19
19
|
import '../../chunk-5COLSYBE.js';
|
|
20
20
|
import '../../chunk-NVOCKXUQ.js';
|
|
21
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-2IFYDILW.js';
|
|
22
22
|
import '../../chunk-W4VYXIN7.js';
|
|
23
23
|
import '../../chunk-QJ2KCHKX.js';
|
|
24
24
|
import '../../chunk-QJ2S46NI.js';
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, milestoneKeys, noteKeys, projectKeys, taskKeys, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateProject as useCreateDeliveryProject, useCreateMilestone, useCreateNote, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteMilestone, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useMilestones, useOrganizationMembers, useProject, useProjectNotes, useProjects, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTasks, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateMemberConfig, useUpdateMilestone, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from '../chunk-
|
|
2
|
-
export { OperationsService, calibrationKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompleteDealTask, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateDealNote, useCreateDealTask, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDeleteDeal, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useSyncDealStage, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification } from '../chunk-
|
|
1
|
+
export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, milestoneKeys, noteKeys, projectKeys, taskKeys, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateProject as useCreateDeliveryProject, useCreateMilestone, useCreateNote, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteMilestone, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useMilestones, useOrganizationMembers, useProject, useProjectNotes, useProjects, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTasks, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateMemberConfig, useUpdateMilestone, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from '../chunk-7CJ5QBN2.js';
|
|
2
|
+
export { OperationsService, calibrationKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompleteDealTask, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateDealNote, useCreateDealTask, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDeleteDeal, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useSyncDealStage, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification } from '../chunk-EBCIUZVV.js';
|
|
3
3
|
export { observabilityKeys, useErrorTrends } from '../chunk-LXHZYSMQ.js';
|
|
4
4
|
import '../chunk-F6RBK7NJ.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-D25AE46Q.js';
|
|
6
6
|
import '../chunk-SZHARWKU.js';
|
|
7
7
|
import '../chunk-TXPUIHX2.js';
|
|
8
8
|
import '../chunk-CYXZHBP4.js';
|
|
9
|
-
export { createUseFeatureAccess } from '../chunk-
|
|
9
|
+
export { createUseFeatureAccess } from '../chunk-KLG4H5NM.js';
|
|
10
10
|
import '../chunk-5COLSYBE.js';
|
|
11
11
|
import '../chunk-NVOCKXUQ.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-2IFYDILW.js';
|
|
13
13
|
import '../chunk-W4VYXIN7.js';
|
|
14
14
|
import '../chunk-QJ2KCHKX.js';
|
|
15
15
|
import '../chunk-QJ2S46NI.js';
|
package/dist/hooks/published.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { OperationsService, calibrationKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompleteDealTask, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateDealNote, useCreateDealTask, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDeleteDeal, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useSyncDealStage, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification } from '../chunk-
|
|
1
|
+
export { OperationsService, calibrationKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompleteDealTask, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateDealNote, useCreateDealTask, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDeleteDeal, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useSyncDealStage, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification } from '../chunk-EBCIUZVV.js';
|
|
2
2
|
export { observabilityKeys, useErrorTrends } from '../chunk-LXHZYSMQ.js';
|
|
3
3
|
import '../chunk-F6RBK7NJ.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-D25AE46Q.js';
|
|
5
5
|
import '../chunk-SZHARWKU.js';
|
|
6
6
|
import '../chunk-TXPUIHX2.js';
|
|
7
7
|
import '../chunk-CYXZHBP4.js';
|
|
8
|
-
export { createUseFeatureAccess } from '../chunk-
|
|
8
|
+
export { createUseFeatureAccess } from '../chunk-KLG4H5NM.js';
|
|
9
9
|
import '../chunk-5COLSYBE.js';
|
|
10
10
|
import '../chunk-NVOCKXUQ.js';
|
|
11
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-2IFYDILW.js';
|
|
12
12
|
import '../chunk-W4VYXIN7.js';
|
|
13
13
|
import '../chunk-QJ2KCHKX.js';
|
|
14
14
|
import '../chunk-QJ2S46NI.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -6767,6 +6767,7 @@ interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
|
6767
6767
|
}
|
|
6768
6768
|
interface RouterAdapter {
|
|
6769
6769
|
currentPath: string;
|
|
6770
|
+
currentSearch?: string;
|
|
6770
6771
|
navigate: (to: string) => void;
|
|
6771
6772
|
Link: ElementType<LinkProps>;
|
|
6772
6773
|
}
|
|
@@ -6822,6 +6823,77 @@ declare function ScrollToTop(): react_jsx_runtime.JSX.Element;
|
|
|
6822
6823
|
*/
|
|
6823
6824
|
declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications, children }: ElevasisCoreProviderProps): react_jsx_runtime.JSX.Element;
|
|
6824
6825
|
|
|
6826
|
+
interface EventSourceMessage {
|
|
6827
|
+
id: string;
|
|
6828
|
+
event: string;
|
|
6829
|
+
data: string;
|
|
6830
|
+
retry?: number;
|
|
6831
|
+
}
|
|
6832
|
+
|
|
6833
|
+
interface FetchEventSourceWithTokenRefreshOptions {
|
|
6834
|
+
url: string;
|
|
6835
|
+
getToken: () => Promise<string | undefined>;
|
|
6836
|
+
headers?: Record<string, string>;
|
|
6837
|
+
signal: AbortSignal;
|
|
6838
|
+
/** Delay in ms before reconnecting after token refresh. Defaults to 2000. */
|
|
6839
|
+
tokenRefreshDelayMs?: number;
|
|
6840
|
+
onopen?: (response: Response) => void | Promise<void>;
|
|
6841
|
+
onmessage?: (event: EventSourceMessage) => void;
|
|
6842
|
+
onerror?: (error: unknown) => void;
|
|
6843
|
+
onclose?: () => void;
|
|
6844
|
+
}
|
|
6845
|
+
|
|
6846
|
+
interface SSEConnectionManagerOptions {
|
|
6847
|
+
/** Grace period in ms before closing idle connections. Defaults to 5000. */
|
|
6848
|
+
closeGracePeriodMs?: number;
|
|
6849
|
+
}
|
|
6850
|
+
/**
|
|
6851
|
+
* SSE Connection Manager
|
|
6852
|
+
*
|
|
6853
|
+
* Ensures only ONE SSE connection exists per endpoint, preventing duplicate
|
|
6854
|
+
* connections when components re-render or remount.
|
|
6855
|
+
*
|
|
6856
|
+
* Benefits:
|
|
6857
|
+
* - Prevents resource waste from duplicate connections
|
|
6858
|
+
* - Eliminates race conditions from overlapping connections
|
|
6859
|
+
* - Automatically manages connection lifecycle
|
|
6860
|
+
* - Shares single connection across multiple subscribers
|
|
6861
|
+
*/
|
|
6862
|
+
declare class SSEConnectionManager {
|
|
6863
|
+
private connections;
|
|
6864
|
+
private closeGracePeriodMs;
|
|
6865
|
+
constructor(options?: SSEConnectionManagerOptions);
|
|
6866
|
+
/**
|
|
6867
|
+
* Subscribe to an SSE endpoint
|
|
6868
|
+
*
|
|
6869
|
+
* If a connection already exists for this endpoint, reuses it.
|
|
6870
|
+
* Otherwise, creates a new connection.
|
|
6871
|
+
*
|
|
6872
|
+
* @param key - Unique identifier for the connection (e.g., 'notifications', 'resource-executive-agent')
|
|
6873
|
+
* @param subscriberId - Unique identifier for this subscriber (usually component instance)
|
|
6874
|
+
* @param options - SSE connection options
|
|
6875
|
+
* @returns Unsubscribe function to call when component unmounts
|
|
6876
|
+
*/
|
|
6877
|
+
subscribe(key: string, subscriberId: string, options: Omit<FetchEventSourceWithTokenRefreshOptions, 'signal'>): () => void;
|
|
6878
|
+
/**
|
|
6879
|
+
* Unsubscribe from an SSE endpoint
|
|
6880
|
+
*
|
|
6881
|
+
* If this is the last subscriber, closes the connection after grace period.
|
|
6882
|
+
*/
|
|
6883
|
+
private unsubscribe;
|
|
6884
|
+
/**
|
|
6885
|
+
* Force close a connection and all its subscribers
|
|
6886
|
+
*/
|
|
6887
|
+
closeConnection(key: string): void;
|
|
6888
|
+
/**
|
|
6889
|
+
* Get current connection status
|
|
6890
|
+
*/
|
|
6891
|
+
getConnectionInfo(): Map<string, {
|
|
6892
|
+
url: string;
|
|
6893
|
+
subscribers: number;
|
|
6894
|
+
}>;
|
|
6895
|
+
}
|
|
6896
|
+
|
|
6825
6897
|
interface FeatureNavLink {
|
|
6826
6898
|
label: string;
|
|
6827
6899
|
link: string;
|
|
@@ -6850,18 +6922,24 @@ interface FeatureRegistry {
|
|
|
6850
6922
|
}
|
|
6851
6923
|
interface ElevasisFeaturesProviderProps {
|
|
6852
6924
|
features: FeatureModule[];
|
|
6925
|
+
timeRange?: TimeRange;
|
|
6926
|
+
operationsApiUrl?: string;
|
|
6927
|
+
operationsSSEManager?: SSEConnectionManager;
|
|
6853
6928
|
children: ReactNode;
|
|
6854
6929
|
}
|
|
6855
6930
|
interface ElevasisFeaturesContextValue {
|
|
6856
6931
|
navItems: FeatureNavEntry[];
|
|
6857
6932
|
enabledFeatures: FeatureModule[];
|
|
6858
6933
|
allFeatures: FeatureModule[];
|
|
6934
|
+
timeRange?: TimeRange;
|
|
6935
|
+
operationsApiUrl?: string;
|
|
6936
|
+
operationsSSEManager?: SSEConnectionManager;
|
|
6859
6937
|
isFeatureEnabled: (key: string) => boolean;
|
|
6860
6938
|
getFeature: (key: string) => FeatureModule | undefined;
|
|
6861
6939
|
}
|
|
6862
6940
|
|
|
6863
6941
|
declare function useElevasisFeatures(): ElevasisFeaturesContextValue;
|
|
6864
|
-
declare function ElevasisFeaturesProvider({ features, children }: ElevasisFeaturesProviderProps): react_jsx_runtime.JSX.Element;
|
|
6942
|
+
declare function ElevasisFeaturesProvider({ features, timeRange, operationsApiUrl, operationsSSEManager, children }: ElevasisFeaturesProviderProps): react_jsx_runtime.JSX.Element;
|
|
6865
6943
|
|
|
6866
6944
|
declare function FeatureShell({ children }: {
|
|
6867
6945
|
children: ReactNode;
|
|
@@ -11063,77 +11141,6 @@ declare function createUseFeatureAccess({ useInitialization, useOrganization }:
|
|
|
11063
11141
|
isReady: boolean;
|
|
11064
11142
|
};
|
|
11065
11143
|
|
|
11066
|
-
interface EventSourceMessage {
|
|
11067
|
-
id: string;
|
|
11068
|
-
event: string;
|
|
11069
|
-
data: string;
|
|
11070
|
-
retry?: number;
|
|
11071
|
-
}
|
|
11072
|
-
|
|
11073
|
-
interface FetchEventSourceWithTokenRefreshOptions {
|
|
11074
|
-
url: string;
|
|
11075
|
-
getToken: () => Promise<string | undefined>;
|
|
11076
|
-
headers?: Record<string, string>;
|
|
11077
|
-
signal: AbortSignal;
|
|
11078
|
-
/** Delay in ms before reconnecting after token refresh. Defaults to 2000. */
|
|
11079
|
-
tokenRefreshDelayMs?: number;
|
|
11080
|
-
onopen?: (response: Response) => void | Promise<void>;
|
|
11081
|
-
onmessage?: (event: EventSourceMessage) => void;
|
|
11082
|
-
onerror?: (error: unknown) => void;
|
|
11083
|
-
onclose?: () => void;
|
|
11084
|
-
}
|
|
11085
|
-
|
|
11086
|
-
interface SSEConnectionManagerOptions {
|
|
11087
|
-
/** Grace period in ms before closing idle connections. Defaults to 5000. */
|
|
11088
|
-
closeGracePeriodMs?: number;
|
|
11089
|
-
}
|
|
11090
|
-
/**
|
|
11091
|
-
* SSE Connection Manager
|
|
11092
|
-
*
|
|
11093
|
-
* Ensures only ONE SSE connection exists per endpoint, preventing duplicate
|
|
11094
|
-
* connections when components re-render or remount.
|
|
11095
|
-
*
|
|
11096
|
-
* Benefits:
|
|
11097
|
-
* - Prevents resource waste from duplicate connections
|
|
11098
|
-
* - Eliminates race conditions from overlapping connections
|
|
11099
|
-
* - Automatically manages connection lifecycle
|
|
11100
|
-
* - Shares single connection across multiple subscribers
|
|
11101
|
-
*/
|
|
11102
|
-
declare class SSEConnectionManager {
|
|
11103
|
-
private connections;
|
|
11104
|
-
private closeGracePeriodMs;
|
|
11105
|
-
constructor(options?: SSEConnectionManagerOptions);
|
|
11106
|
-
/**
|
|
11107
|
-
* Subscribe to an SSE endpoint
|
|
11108
|
-
*
|
|
11109
|
-
* If a connection already exists for this endpoint, reuses it.
|
|
11110
|
-
* Otherwise, creates a new connection.
|
|
11111
|
-
*
|
|
11112
|
-
* @param key - Unique identifier for the connection (e.g., 'notifications', 'resource-executive-agent')
|
|
11113
|
-
* @param subscriberId - Unique identifier for this subscriber (usually component instance)
|
|
11114
|
-
* @param options - SSE connection options
|
|
11115
|
-
* @returns Unsubscribe function to call when component unmounts
|
|
11116
|
-
*/
|
|
11117
|
-
subscribe(key: string, subscriberId: string, options: Omit<FetchEventSourceWithTokenRefreshOptions, 'signal'>): () => void;
|
|
11118
|
-
/**
|
|
11119
|
-
* Unsubscribe from an SSE endpoint
|
|
11120
|
-
*
|
|
11121
|
-
* If this is the last subscriber, closes the connection after grace period.
|
|
11122
|
-
*/
|
|
11123
|
-
private unsubscribe;
|
|
11124
|
-
/**
|
|
11125
|
-
* Force close a connection and all its subscribers
|
|
11126
|
-
*/
|
|
11127
|
-
closeConnection(key: string): void;
|
|
11128
|
-
/**
|
|
11129
|
-
* Get current connection status
|
|
11130
|
-
*/
|
|
11131
|
-
getConnectionInfo(): Map<string, {
|
|
11132
|
-
url: string;
|
|
11133
|
-
subscribers: number;
|
|
11134
|
-
}>;
|
|
11135
|
-
}
|
|
11136
|
-
|
|
11137
11144
|
interface UseSSEConnectionOptions {
|
|
11138
11145
|
manager: SSEConnectionManager;
|
|
11139
11146
|
/** Shared connection key — all subscribers with the same key share ONE connection. */
|
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import './chunk-XCYKC6OZ.js';
|
|
2
2
|
export { useAvailablePresets } from './chunk-QTD5HPKD.js';
|
|
3
|
-
export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, milestoneKeys, noteKeys, projectKeys, taskKeys, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateProject as useCreateDeliveryProject, useCreateMilestone, useCreateNote, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteMilestone, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useMilestones, useOrganizationMembers, useProject, useProjectNotes, useProjects, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTasks, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateMemberConfig, useUpdateMilestone, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from './chunk-
|
|
4
|
-
export { OperationsService, calibrationKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompleteDealTask, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateDealNote, useCreateDealTask, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDeleteDeal, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useSyncDealStage, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification } from './chunk-
|
|
3
|
+
export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, milestoneKeys, noteKeys, projectKeys, taskKeys, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateProject as useCreateDeliveryProject, useCreateMilestone, useCreateNote, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteMilestone, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useMilestones, useOrganizationMembers, useProject, useProjectNotes, useProjects, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTasks, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateMemberConfig, useUpdateMilestone, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from './chunk-7CJ5QBN2.js';
|
|
4
|
+
export { OperationsService, calibrationKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompleteDealTask, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateDealNote, useCreateDealTask, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDeleteDeal, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useSyncDealStage, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification } from './chunk-EBCIUZVV.js';
|
|
5
5
|
export { observabilityKeys, useErrorTrends } from './chunk-LXHZYSMQ.js';
|
|
6
6
|
export { GRAPH_CONSTANTS, calculateGraphHeight, useConnectionHighlight, useDirectedChainHighlighting, useFitViewTrigger, useGraphHighlighting, useNodeSelection } from './chunk-F6RBK7NJ.js';
|
|
7
7
|
export { AGENT_CONSTANTS, CONTAINER_CONSTANTS, SHARED_VIZ_CONSTANTS, STATUS_COLORS, TIMELINE_CONSTANTS, WORKFLOW_CONSTANTS, calculateBarPosition, formatDuration, getEdgeColor, getEdgeOpacity, getResourceStatusColor, getStatusColors, getStatusIcon, shouldAnimateEdge, useAgentIterationData, useExecutionPath, useMergedExecution, useReactFlowAgent, useTimelineData, useUnifiedWorkflowLayout, useWorkflowStepsLayout } from './chunk-XA34RETF.js';
|
|
8
8
|
import './chunk-ELJIFLCB.js';
|
|
9
|
-
export { ElevasisUIProvider } from './chunk-
|
|
9
|
+
export { ElevasisUIProvider } from './chunk-D25AE46Q.js';
|
|
10
10
|
import './chunk-SZHARWKU.js';
|
|
11
11
|
export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, generateShades, getPreset, mantineThemeOverride, PRESETS as presets, usePresetsContext } from './chunk-TXPUIHX2.js';
|
|
12
12
|
import './chunk-CYXZHBP4.js';
|
|
13
|
-
export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, createUseFeatureAccess, useElevasisFeatures, useNotificationAdapter } from './chunk-
|
|
13
|
+
export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, createUseFeatureAccess, useElevasisFeatures, useNotificationAdapter } from './chunk-KLG4H5NM.js';
|
|
14
14
|
import './chunk-5COLSYBE.js';
|
|
15
15
|
export { ApiClientProvider, useApiClient, useApiClientContext } from './chunk-NVOCKXUQ.js';
|
|
16
|
-
export { ScrollToTop, TanStackRouterBridge } from './chunk-
|
|
16
|
+
export { ScrollToTop, TanStackRouterBridge } from './chunk-2IFYDILW.js';
|
|
17
17
|
export { OrganizationProvider, OrganizationSwitcher, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from './chunk-W4VYXIN7.js';
|
|
18
18
|
export { AppearanceProvider, useAppearance } from './chunk-QJ2KCHKX.js';
|
|
19
19
|
import './chunk-QJ2S46NI.js';
|
package/dist/layout/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import '../chunk-NNKKBSJN.js';
|
|
|
4
4
|
export { AppShellCenteredContainer, AppShellError, AppShellLoader } from '../chunk-YYBM5LNJ.js';
|
|
5
5
|
export { AmbientBloomGrid, AppBackground, CyberBackground, FilmGrain, FloatingMotes, FloatingOrbs, PerspectiveGrid, RadiantGlow, WaveBackground } from '../chunk-CYXZHBP4.js';
|
|
6
6
|
export { SubshellContainer, SubshellContentContainer, SubshellRightSideContainer, SubshellSidebar } from '../chunk-5COLSYBE.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-2IFYDILW.js';
|
|
8
8
|
import '../chunk-QJ2KCHKX.js';
|
|
9
9
|
export { sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarListItemIconSize, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, topbarHeight } from '../chunk-QJ2S46NI.js';
|
|
10
10
|
import '../chunk-Q7DJKLEN.js';
|
package/dist/provider/index.d.ts
CHANGED
|
@@ -272,6 +272,82 @@ interface ElevasisServiceProviderProps {
|
|
|
272
272
|
*/
|
|
273
273
|
declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications, children }: ElevasisCoreProviderProps): react_jsx_runtime.JSX.Element;
|
|
274
274
|
|
|
275
|
+
/**
|
|
276
|
+
* Time range selector for dashboard metrics
|
|
277
|
+
*/
|
|
278
|
+
type TimeRange = '1h' | '24h' | '7d' | '30d';
|
|
279
|
+
|
|
280
|
+
interface EventSourceMessage {
|
|
281
|
+
id: string;
|
|
282
|
+
event: string;
|
|
283
|
+
data: string;
|
|
284
|
+
retry?: number;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
interface FetchEventSourceWithTokenRefreshOptions {
|
|
288
|
+
url: string;
|
|
289
|
+
getToken: () => Promise<string | undefined>;
|
|
290
|
+
headers?: Record<string, string>;
|
|
291
|
+
signal: AbortSignal;
|
|
292
|
+
/** Delay in ms before reconnecting after token refresh. Defaults to 2000. */
|
|
293
|
+
tokenRefreshDelayMs?: number;
|
|
294
|
+
onopen?: (response: Response) => void | Promise<void>;
|
|
295
|
+
onmessage?: (event: EventSourceMessage) => void;
|
|
296
|
+
onerror?: (error: unknown) => void;
|
|
297
|
+
onclose?: () => void;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
interface SSEConnectionManagerOptions {
|
|
301
|
+
/** Grace period in ms before closing idle connections. Defaults to 5000. */
|
|
302
|
+
closeGracePeriodMs?: number;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* SSE Connection Manager
|
|
306
|
+
*
|
|
307
|
+
* Ensures only ONE SSE connection exists per endpoint, preventing duplicate
|
|
308
|
+
* connections when components re-render or remount.
|
|
309
|
+
*
|
|
310
|
+
* Benefits:
|
|
311
|
+
* - Prevents resource waste from duplicate connections
|
|
312
|
+
* - Eliminates race conditions from overlapping connections
|
|
313
|
+
* - Automatically manages connection lifecycle
|
|
314
|
+
* - Shares single connection across multiple subscribers
|
|
315
|
+
*/
|
|
316
|
+
declare class SSEConnectionManager {
|
|
317
|
+
private connections;
|
|
318
|
+
private closeGracePeriodMs;
|
|
319
|
+
constructor(options?: SSEConnectionManagerOptions);
|
|
320
|
+
/**
|
|
321
|
+
* Subscribe to an SSE endpoint
|
|
322
|
+
*
|
|
323
|
+
* If a connection already exists for this endpoint, reuses it.
|
|
324
|
+
* Otherwise, creates a new connection.
|
|
325
|
+
*
|
|
326
|
+
* @param key - Unique identifier for the connection (e.g., 'notifications', 'resource-executive-agent')
|
|
327
|
+
* @param subscriberId - Unique identifier for this subscriber (usually component instance)
|
|
328
|
+
* @param options - SSE connection options
|
|
329
|
+
* @returns Unsubscribe function to call when component unmounts
|
|
330
|
+
*/
|
|
331
|
+
subscribe(key: string, subscriberId: string, options: Omit<FetchEventSourceWithTokenRefreshOptions, 'signal'>): () => void;
|
|
332
|
+
/**
|
|
333
|
+
* Unsubscribe from an SSE endpoint
|
|
334
|
+
*
|
|
335
|
+
* If this is the last subscriber, closes the connection after grace period.
|
|
336
|
+
*/
|
|
337
|
+
private unsubscribe;
|
|
338
|
+
/**
|
|
339
|
+
* Force close a connection and all its subscribers
|
|
340
|
+
*/
|
|
341
|
+
closeConnection(key: string): void;
|
|
342
|
+
/**
|
|
343
|
+
* Get current connection status
|
|
344
|
+
*/
|
|
345
|
+
getConnectionInfo(): Map<string, {
|
|
346
|
+
url: string;
|
|
347
|
+
subscribers: number;
|
|
348
|
+
}>;
|
|
349
|
+
}
|
|
350
|
+
|
|
275
351
|
interface FeatureNavLink {
|
|
276
352
|
label: string;
|
|
277
353
|
link: string;
|
|
@@ -300,18 +376,24 @@ interface FeatureRegistry {
|
|
|
300
376
|
}
|
|
301
377
|
interface ElevasisFeaturesProviderProps {
|
|
302
378
|
features: FeatureModule[];
|
|
379
|
+
timeRange?: TimeRange;
|
|
380
|
+
operationsApiUrl?: string;
|
|
381
|
+
operationsSSEManager?: SSEConnectionManager;
|
|
303
382
|
children: ReactNode;
|
|
304
383
|
}
|
|
305
384
|
interface ElevasisFeaturesContextValue {
|
|
306
385
|
navItems: FeatureNavEntry[];
|
|
307
386
|
enabledFeatures: FeatureModule[];
|
|
308
387
|
allFeatures: FeatureModule[];
|
|
388
|
+
timeRange?: TimeRange;
|
|
389
|
+
operationsApiUrl?: string;
|
|
390
|
+
operationsSSEManager?: SSEConnectionManager;
|
|
309
391
|
isFeatureEnabled: (key: string) => boolean;
|
|
310
392
|
getFeature: (key: string) => FeatureModule | undefined;
|
|
311
393
|
}
|
|
312
394
|
|
|
313
395
|
declare function useElevasisFeatures(): ElevasisFeaturesContextValue;
|
|
314
|
-
declare function ElevasisFeaturesProvider({ features, children }: ElevasisFeaturesProviderProps): react_jsx_runtime.JSX.Element;
|
|
396
|
+
declare function ElevasisFeaturesProvider({ features, timeRange, operationsApiUrl, operationsSSEManager, children }: ElevasisFeaturesProviderProps): react_jsx_runtime.JSX.Element;
|
|
315
397
|
|
|
316
398
|
declare function FeatureShell({ children }: {
|
|
317
399
|
children: ReactNode;
|
package/dist/provider/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ElevasisUIProvider } from '../chunk-
|
|
1
|
+
export { ElevasisUIProvider } from '../chunk-D25AE46Q.js';
|
|
2
2
|
import '../chunk-SZHARWKU.js';
|
|
3
3
|
import '../chunk-TXPUIHX2.js';
|
|
4
4
|
import '../chunk-CYXZHBP4.js';
|
|
5
|
-
export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, useElevasisFeatures, useNotificationAdapter } from '../chunk-
|
|
5
|
+
export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, useElevasisFeatures, useNotificationAdapter } from '../chunk-KLG4H5NM.js';
|
|
6
6
|
import '../chunk-5COLSYBE.js';
|
|
7
7
|
import '../chunk-NVOCKXUQ.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-2IFYDILW.js';
|
|
9
9
|
import '../chunk-W4VYXIN7.js';
|
|
10
10
|
export { AppearanceProvider, useAppearance } from '../chunk-QJ2KCHKX.js';
|
|
11
11
|
import '../chunk-QJ2S46NI.js';
|
|
@@ -271,6 +271,82 @@ interface ElevasisServiceProviderProps {
|
|
|
271
271
|
*/
|
|
272
272
|
declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications, children }: ElevasisCoreProviderProps): react_jsx_runtime.JSX.Element;
|
|
273
273
|
|
|
274
|
+
/**
|
|
275
|
+
* Time range selector for dashboard metrics
|
|
276
|
+
*/
|
|
277
|
+
type TimeRange = '1h' | '24h' | '7d' | '30d';
|
|
278
|
+
|
|
279
|
+
interface EventSourceMessage {
|
|
280
|
+
id: string;
|
|
281
|
+
event: string;
|
|
282
|
+
data: string;
|
|
283
|
+
retry?: number;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
interface FetchEventSourceWithTokenRefreshOptions {
|
|
287
|
+
url: string;
|
|
288
|
+
getToken: () => Promise<string | undefined>;
|
|
289
|
+
headers?: Record<string, string>;
|
|
290
|
+
signal: AbortSignal;
|
|
291
|
+
/** Delay in ms before reconnecting after token refresh. Defaults to 2000. */
|
|
292
|
+
tokenRefreshDelayMs?: number;
|
|
293
|
+
onopen?: (response: Response) => void | Promise<void>;
|
|
294
|
+
onmessage?: (event: EventSourceMessage) => void;
|
|
295
|
+
onerror?: (error: unknown) => void;
|
|
296
|
+
onclose?: () => void;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
interface SSEConnectionManagerOptions {
|
|
300
|
+
/** Grace period in ms before closing idle connections. Defaults to 5000. */
|
|
301
|
+
closeGracePeriodMs?: number;
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* SSE Connection Manager
|
|
305
|
+
*
|
|
306
|
+
* Ensures only ONE SSE connection exists per endpoint, preventing duplicate
|
|
307
|
+
* connections when components re-render or remount.
|
|
308
|
+
*
|
|
309
|
+
* Benefits:
|
|
310
|
+
* - Prevents resource waste from duplicate connections
|
|
311
|
+
* - Eliminates race conditions from overlapping connections
|
|
312
|
+
* - Automatically manages connection lifecycle
|
|
313
|
+
* - Shares single connection across multiple subscribers
|
|
314
|
+
*/
|
|
315
|
+
declare class SSEConnectionManager {
|
|
316
|
+
private connections;
|
|
317
|
+
private closeGracePeriodMs;
|
|
318
|
+
constructor(options?: SSEConnectionManagerOptions);
|
|
319
|
+
/**
|
|
320
|
+
* Subscribe to an SSE endpoint
|
|
321
|
+
*
|
|
322
|
+
* If a connection already exists for this endpoint, reuses it.
|
|
323
|
+
* Otherwise, creates a new connection.
|
|
324
|
+
*
|
|
325
|
+
* @param key - Unique identifier for the connection (e.g., 'notifications', 'resource-executive-agent')
|
|
326
|
+
* @param subscriberId - Unique identifier for this subscriber (usually component instance)
|
|
327
|
+
* @param options - SSE connection options
|
|
328
|
+
* @returns Unsubscribe function to call when component unmounts
|
|
329
|
+
*/
|
|
330
|
+
subscribe(key: string, subscriberId: string, options: Omit<FetchEventSourceWithTokenRefreshOptions, 'signal'>): () => void;
|
|
331
|
+
/**
|
|
332
|
+
* Unsubscribe from an SSE endpoint
|
|
333
|
+
*
|
|
334
|
+
* If this is the last subscriber, closes the connection after grace period.
|
|
335
|
+
*/
|
|
336
|
+
private unsubscribe;
|
|
337
|
+
/**
|
|
338
|
+
* Force close a connection and all its subscribers
|
|
339
|
+
*/
|
|
340
|
+
closeConnection(key: string): void;
|
|
341
|
+
/**
|
|
342
|
+
* Get current connection status
|
|
343
|
+
*/
|
|
344
|
+
getConnectionInfo(): Map<string, {
|
|
345
|
+
url: string;
|
|
346
|
+
subscribers: number;
|
|
347
|
+
}>;
|
|
348
|
+
}
|
|
349
|
+
|
|
274
350
|
interface FeatureNavLink {
|
|
275
351
|
label: string;
|
|
276
352
|
link: string;
|
|
@@ -299,18 +375,24 @@ interface FeatureRegistry {
|
|
|
299
375
|
}
|
|
300
376
|
interface ElevasisFeaturesProviderProps {
|
|
301
377
|
features: FeatureModule[];
|
|
378
|
+
timeRange?: TimeRange;
|
|
379
|
+
operationsApiUrl?: string;
|
|
380
|
+
operationsSSEManager?: SSEConnectionManager;
|
|
302
381
|
children: ReactNode;
|
|
303
382
|
}
|
|
304
383
|
interface ElevasisFeaturesContextValue {
|
|
305
384
|
navItems: FeatureNavEntry[];
|
|
306
385
|
enabledFeatures: FeatureModule[];
|
|
307
386
|
allFeatures: FeatureModule[];
|
|
387
|
+
timeRange?: TimeRange;
|
|
388
|
+
operationsApiUrl?: string;
|
|
389
|
+
operationsSSEManager?: SSEConnectionManager;
|
|
308
390
|
isFeatureEnabled: (key: string) => boolean;
|
|
309
391
|
getFeature: (key: string) => FeatureModule | undefined;
|
|
310
392
|
}
|
|
311
393
|
|
|
312
394
|
declare function useElevasisFeatures(): ElevasisFeaturesContextValue;
|
|
313
|
-
declare function ElevasisFeaturesProvider({ features, children }: ElevasisFeaturesProviderProps): react_jsx_runtime.JSX.Element;
|
|
395
|
+
declare function ElevasisFeaturesProvider({ features, timeRange, operationsApiUrl, operationsSSEManager, children }: ElevasisFeaturesProviderProps): react_jsx_runtime.JSX.Element;
|
|
314
396
|
|
|
315
397
|
declare function FeatureShell({ children }: {
|
|
316
398
|
children: ReactNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, useElevasisFeatures, useNotificationAdapter } from '../chunk-
|
|
1
|
+
export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, useElevasisFeatures, useNotificationAdapter } from '../chunk-KLG4H5NM.js';
|
|
2
2
|
import '../chunk-5COLSYBE.js';
|
|
3
3
|
import '../chunk-NVOCKXUQ.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-2IFYDILW.js';
|
|
5
5
|
import '../chunk-W4VYXIN7.js';
|
|
6
6
|
export { AppearanceProvider, useAppearance } from '../chunk-QJ2KCHKX.js';
|
|
7
7
|
import '../chunk-QJ2S46NI.js';
|
package/dist/router/context.d.ts
CHANGED
package/dist/router/index.d.ts
CHANGED
package/dist/router/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ScrollToTop, TanStackRouterBridge } from '../chunk-
|
|
1
|
+
export { ScrollToTop, TanStackRouterBridge } from '../chunk-2IFYDILW.js';
|
|
2
2
|
export { RouterProvider, useRouterContext } from '../chunk-Q7DJKLEN.js';
|