@elevasis/ui 1.9.3 → 1.10.1

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/api/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import '../chunk-XCYKC6OZ.js';
2
- export { ApiClientProvider, useApiClient, useApiClientContext } from '../chunk-JUPCUF77.js';
3
- import '../chunk-Z4TPHMRD.js';
2
+ export { ApiClientProvider, useApiClient, useApiClientContext } from '../chunk-RULQSZYX.js';
3
+ import '../chunk-FCFLBMVI.js';
4
4
  import '../chunk-DD3CCMCZ.js';
@@ -1,9 +1,9 @@
1
- export { ActivityTrendChart, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-GBMDK3FJ.js';
1
+ export { ActivityTrendChart, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-CC6BRHQK.js';
2
2
  import '../chunk-YGYF6G7W.js';
3
3
  import '../chunk-ARZM3OTI.js';
4
4
  import '../chunk-LHQTTUL2.js';
5
5
  import '../chunk-ELJIFLCB.js';
6
- import '../chunk-Z4TPHMRD.js';
6
+ import '../chunk-FCFLBMVI.js';
7
7
  import '../chunk-6TMW6VQ2.js';
8
8
  import '../chunk-FWZJH3TL.js';
9
9
  import '../chunk-WUQWCUCB.js';
@@ -1,6 +1,6 @@
1
1
  import { OrganizationProvider } from './chunk-2YBPRE6H.js';
2
- import { ApiClientProvider, useApiClient } from './chunk-JUPCUF77.js';
3
- import { getErrorInfo, getErrorTitle, formatErrorMessage } from './chunk-Z4TPHMRD.js';
2
+ import { ApiClientProvider, useApiClient } from './chunk-RULQSZYX.js';
3
+ import { getErrorInfo, getErrorTitle, formatErrorMessage } from './chunk-FCFLBMVI.js';
4
4
  import { InitializationProvider } from './chunk-WUQWCUCB.js';
5
5
  import { ElevasisServiceProvider, ProfileProvider, useElevasisServices } from './chunk-GZVH423C.js';
6
6
  import { useOrganization } from './chunk-DD3CCMCZ.js';
@@ -1,9 +1,9 @@
1
1
  import { getTimeRangeDates, observabilityKeys } from './chunk-ARZM3OTI.js';
2
2
  import { useSupabase } from './chunk-JGJSZ3UE.js';
3
3
  import { GRAPH_CONSTANTS } from './chunk-F6RBK7NJ.js';
4
- import { useNotificationAdapter } from './chunk-JRJW2H57.js';
5
- import { HTTP_HEADERS } from './chunk-JUPCUF77.js';
6
- import { STALE_TIME_MONITORING, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, STALE_TIME_DEFAULT, STALE_TIME_ADMIN } from './chunk-Z4TPHMRD.js';
4
+ import { useNotificationAdapter } from './chunk-564T2YKH.js';
5
+ import { HTTP_HEADERS } from './chunk-RULQSZYX.js';
6
+ import { STALE_TIME_MONITORING, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, STALE_TIME_DEFAULT, STALE_TIME_ADMIN } from './chunk-FCFLBMVI.js';
7
7
  import { useStableAccessToken } from './chunk-FWZJH3TL.js';
8
8
  import { useElevasisServices } from './chunk-GZVH423C.js';
9
9
  import { useOrganization } from './chunk-DD3CCMCZ.js';
@@ -1,6 +1,6 @@
1
1
  import { getTimeRangeLabel, getTimeRangeDates, useErrorTrends, formatBucketTime } from './chunk-ARZM3OTI.js';
2
2
  import { ResourceStatusColors } from './chunk-ELJIFLCB.js';
3
- import { getErrorInfo, getErrorTitle, getResourceIcon } from './chunk-Z4TPHMRD.js';
3
+ import { getErrorInfo, getErrorTitle, getResourceIcon } from './chunk-FCFLBMVI.js';
4
4
  import { useAuthContext } from './chunk-7PLEQFHO.js';
5
5
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
6
6
  import { useMemo, useState, useEffect, useCallback } from 'react';
@@ -1,16 +1,55 @@
1
+ import { formatDistanceToNow } from 'date-fns';
1
2
  import { IconUser, IconExternalLink, IconPlug, IconBolt, IconGitBranch, IconBrain } from '@tabler/icons-react';
2
3
 
3
- // src/utils/formatDate.ts
4
- var formatDate = (dateString) => {
4
+ // src/utils/dateFormatters.ts
5
+ function formatDateTime(dateString) {
6
+ if (!dateString) return "Never";
5
7
  const date = new Date(dateString);
6
8
  return date.toLocaleDateString("en-US", {
7
9
  year: "numeric",
8
- month: "long",
10
+ month: "short",
9
11
  day: "numeric",
10
12
  hour: "2-digit",
11
13
  minute: "2-digit"
12
14
  });
13
- };
15
+ }
16
+ function formatDate(dateString) {
17
+ if (!dateString) return "Never";
18
+ const date = new Date(dateString);
19
+ return date.toLocaleDateString("en-US", {
20
+ year: "numeric",
21
+ month: "short",
22
+ day: "numeric"
23
+ });
24
+ }
25
+ function formatChartAxisDate(dateString) {
26
+ if (!dateString) return "";
27
+ const date = new Date(dateString);
28
+ const month = date.getMonth() + 1;
29
+ const day = date.getDate();
30
+ const hour = date.getHours();
31
+ const period = hour >= 12 ? "PM" : "AM";
32
+ const hour12 = hour % 12 || 12;
33
+ return `${month}/${day}, ${hour12}${period}`;
34
+ }
35
+ function formatRelativeTime(date) {
36
+ if (!date) return "N/A";
37
+ const dateObj = typeof date === "string" ? new Date(date) : date;
38
+ return formatDistanceToNow(dateObj, { addSuffix: true });
39
+ }
40
+ function formatTimeAgo(date) {
41
+ if (!date) return "-";
42
+ const dateObj = typeof date === "string" ? new Date(date) : date;
43
+ const diffMs = Date.now() - dateObj.getTime();
44
+ const diffMinutes = Math.floor(diffMs / (1e3 * 60));
45
+ const diffHours = Math.floor(diffMs / (1e3 * 60 * 60));
46
+ const diffDays = Math.floor(diffMs / (1e3 * 60 * 60 * 24));
47
+ if (diffMinutes < 1) return "Just now";
48
+ if (diffHours < 1) return `${diffMinutes}m ago`;
49
+ if (diffDays < 1) return `${diffHours}h ago`;
50
+ if (diffDays === 1) return "1d ago";
51
+ return `${diffDays}d ago`;
52
+ }
14
53
 
15
54
  // src/utils/validateEmail.ts
16
55
  var validateEmail = (email) => {
@@ -174,29 +213,6 @@ var DEBOUNCE_SLIDER = 500;
174
213
  var OAUTH_POPUP_CHECK_INTERVAL = 500;
175
214
  var OAUTH_FLOW_TIMEOUT = 3e5;
176
215
 
177
- // src/utils/dateFormatters.ts
178
- function formatDateTime(dateString) {
179
- if (!dateString) return "Never";
180
- const date = new Date(dateString);
181
- return date.toLocaleDateString("en-US", {
182
- year: "numeric",
183
- month: "short",
184
- day: "numeric",
185
- hour: "2-digit",
186
- minute: "2-digit"
187
- });
188
- }
189
- function formatChartAxisDate(dateString) {
190
- if (!dateString) return "";
191
- const date = new Date(dateString);
192
- const month = date.getMonth() + 1;
193
- const day = date.getDate();
194
- const hour = date.getHours();
195
- const period = hour >= 12 ? "PM" : "AM";
196
- const hour12 = hour % 12 || 12;
197
- return `${month}/${day}, ${hour12}${period}`;
198
- }
199
-
200
216
  // src/utils/suppress-warnings.ts
201
217
  var SUPPRESSED_WARNINGS = [
202
218
  // Mantine SegmentedControl data-orientation deprecation warnings
@@ -228,4 +244,4 @@ function restoreConsole() {
228
244
  console.warn = originalConsoleWarn;
229
245
  }
230
246
 
231
- export { APIClientError, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, isAPIClientError, restoreConsole, suppressKnownWarnings, validateEmail };
247
+ export { APIClientError, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, isAPIClientError, restoreConsole, suppressKnownWarnings, validateEmail };
@@ -1,7 +1,7 @@
1
- import { CredentialNameSchema, UuidSchema, useErrorNotification } from './chunk-S7AZTQHK.js';
1
+ import { CredentialNameSchema, UuidSchema, useErrorNotification } from './chunk-AQZGGSZZ.js';
2
2
  import { getTimeRangeDates } from './chunk-ARZM3OTI.js';
3
- import { useNotificationAdapter } from './chunk-JRJW2H57.js';
4
- import { GC_TIME_SHORT, STALE_TIME_MONITORING, GC_TIME_MEDIUM, STALE_TIME_DEFAULT, getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-Z4TPHMRD.js';
3
+ import { useNotificationAdapter } from './chunk-564T2YKH.js';
4
+ import { GC_TIME_SHORT, STALE_TIME_MONITORING, GC_TIME_MEDIUM, STALE_TIME_DEFAULT, getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-FCFLBMVI.js';
5
5
  import { useElevasisServices } from './chunk-GZVH423C.js';
6
6
  import { z } from 'zod';
7
7
  import { create } from 'zustand';
@@ -1,6 +1,6 @@
1
1
  import { getPreset, generateShades, mantineThemeOverride, createCssVariablesResolver } from './chunk-KB5NKPTN.js';
2
- import { ElevasisCoreProvider } from './chunk-JRJW2H57.js';
3
- import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-Z4TPHMRD.js';
2
+ import { ElevasisCoreProvider } from './chunk-564T2YKH.js';
3
+ import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-FCFLBMVI.js';
4
4
  import { useMemo, useEffect } from 'react';
5
5
  import { mergeThemeOverrides, MantineProvider } from '@mantine/core';
6
6
  import '@mantine/core/styles.css';
@@ -1,4 +1,4 @@
1
- import { APIClientError } from './chunk-Z4TPHMRD.js';
1
+ import { APIClientError } from './chunk-FCFLBMVI.js';
2
2
  import { OrganizationContext } from './chunk-DD3CCMCZ.js';
3
3
  import { createContext, useContext, useMemo, useCallback } from 'react';
4
4
  import { jsx } from 'react/jsx-runtime';
@@ -1,11 +1,11 @@
1
- import { useCyberColors, EmptyState, CyberLegendItem, CyberAreaChart, APIErrorAlert, CardHeader, StatsCardSkeleton, TrendIndicator, DetailCardSkeleton, ContextViewer, JsonViewer, StyledMarkdown, PageTitleCaption, StatCard, CyberDonut, CollapsibleSection } from '../chunk-GBMDK3FJ.js';
2
- export { APIErrorAlert, CardHeader, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, EmptyState, JsonViewer, ListSkeleton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, StyledMarkdown, TabCountBadge, TimeRangeSelector, TrendIndicator, catalogItemToResourceDefinition } from '../chunk-GBMDK3FJ.js';
1
+ import { useCyberColors, EmptyState, CyberLegendItem, CyberAreaChart, APIErrorAlert, CardHeader, StatsCardSkeleton, TrendIndicator, DetailCardSkeleton, ContextViewer, JsonViewer, StyledMarkdown, PageTitleCaption, StatCard, CyberDonut, CollapsibleSection } from '../chunk-CC6BRHQK.js';
2
+ export { APIErrorAlert, CardHeader, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, EmptyState, JsonViewer, ListSkeleton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, StyledMarkdown, TabCountBadge, TimeRangeSelector, TrendIndicator, catalogItemToResourceDefinition } from '../chunk-CC6BRHQK.js';
3
3
  import { SubshellLoader, SubshellContainer, SubshellSidebar, SubshellRightSideContainer, SubshellContentContainer, PageContainer, AppShellLoader, SubshellSidebarSection, PerspectiveGrid, RadiantGlow, FloatingOrbs, FilmGrain, CollapsibleSidebarGroup, SidebarListItem } from '../chunk-THXI3CDT.js';
4
4
  import { ElevasisLoader } from '../chunk-YGYF6G7W.js';
5
5
  export { ElevasisLoader, NavigationButton } from '../chunk-YGYF6G7W.js';
6
- import { showApiErrorNotification, showSuccessNotification, showErrorNotification } from '../chunk-QQXM4WL5.js';
7
- export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-QQXM4WL5.js';
8
- import { useCommandViewLayout, useResourcesHealth, useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, useMarkAsRead, useMarkAllAsRead, useNotificationCount, useNotifications, useSubmitAction, useDeleteTask, useErrorDetail, useExecution, useDeleteExecution, useRetryExecution, useCancelExecution, useDeploymentDocs, useResources, useCreateSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useCancelSchedule, useDeleteSchedule, useCommandQueueTotals } from '../chunk-S7AZTQHK.js';
6
+ import { showApiErrorNotification, showSuccessNotification, showErrorNotification } from '../chunk-JR6NE3JD.js';
7
+ export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-JR6NE3JD.js';
8
+ import { useCommandViewLayout, useResourcesHealth, useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, useMarkAsRead, useMarkAllAsRead, useNotificationCount, useNotifications, useSubmitAction, useDeleteTask, useErrorDetail, useExecution, useDeleteExecution, useRetryExecution, useCancelExecution, useDeploymentDocs, useResources, useCreateSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useCancelSchedule, useDeleteSchedule, useCommandQueueTotals } from '../chunk-AQZGGSZZ.js';
9
9
  import { getTimeRangeDates, formatBucketTime } from '../chunk-ARZM3OTI.js';
10
10
  import '../chunk-JGJSZ3UE.js';
11
11
  import '../chunk-LHQTTUL2.js';
@@ -17,12 +17,12 @@ import { ResourceStatusColors, toWorkflowLogMessages } from '../chunk-ELJIFLCB.j
17
17
  import '../chunk-3I2LOKQU.js';
18
18
  import '../chunk-3PURTICE.js';
19
19
  import '../chunk-RNP5R5I3.js';
20
- import '../chunk-ESOQEOOX.js';
20
+ import '../chunk-R2TVOBBD.js';
21
21
  import '../chunk-KB5NKPTN.js';
22
- import '../chunk-JRJW2H57.js';
22
+ import '../chunk-564T2YKH.js';
23
23
  import '../chunk-2YBPRE6H.js';
24
- import '../chunk-JUPCUF77.js';
25
- import { getResourceIcon, getResourceColor, formatChartAxisDate, PAGE_SIZE_DEFAULT, getErrorInfo, formatErrorMessage } from '../chunk-Z4TPHMRD.js';
24
+ import '../chunk-RULQSZYX.js';
25
+ import { getResourceIcon, getResourceColor, formatChartAxisDate, PAGE_SIZE_DEFAULT, getErrorInfo, formatErrorMessage } from '../chunk-FCFLBMVI.js';
26
26
  import '../chunk-6TMW6VQ2.js';
27
27
  import '../chunk-FWZJH3TL.js';
28
28
  import { useInitialization } from '../chunk-WUQWCUCB.js';
@@ -1,16 +1,16 @@
1
- export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useOrganizationMembers, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from '../chunk-QQXM4WL5.js';
2
- export { OperationsService, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useArchiveSession, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, 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, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateSchedule, useWarningNotification } from '../chunk-S7AZTQHK.js';
1
+ export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useOrganizationMembers, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from '../chunk-JR6NE3JD.js';
2
+ export { OperationsService, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useArchiveSession, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, 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, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateSchedule, useWarningNotification } from '../chunk-AQZGGSZZ.js';
3
3
  export { observabilityKeys, useErrorTrends } from '../chunk-ARZM3OTI.js';
4
4
  import '../chunk-JGJSZ3UE.js';
5
5
  import '../chunk-F6RBK7NJ.js';
6
6
  import '../chunk-3I2LOKQU.js';
7
7
  import '../chunk-RNP5R5I3.js';
8
- import '../chunk-ESOQEOOX.js';
8
+ import '../chunk-R2TVOBBD.js';
9
9
  import '../chunk-KB5NKPTN.js';
10
- import '../chunk-JRJW2H57.js';
10
+ import '../chunk-564T2YKH.js';
11
11
  import '../chunk-2YBPRE6H.js';
12
- import '../chunk-JUPCUF77.js';
13
- export { REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY } from '../chunk-Z4TPHMRD.js';
12
+ import '../chunk-RULQSZYX.js';
13
+ export { REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY } from '../chunk-FCFLBMVI.js';
14
14
  import '../chunk-FWZJH3TL.js';
15
15
  import '../chunk-WUQWCUCB.js';
16
16
  import '../chunk-GZVH423C.js';
@@ -1,15 +1,15 @@
1
- export { OperationsService, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useArchiveSession, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, 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, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateSchedule, useWarningNotification } from '../chunk-S7AZTQHK.js';
1
+ export { OperationsService, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useArchiveSession, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, 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, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateSchedule, useWarningNotification } from '../chunk-AQZGGSZZ.js';
2
2
  export { observabilityKeys, useErrorTrends } from '../chunk-ARZM3OTI.js';
3
3
  import '../chunk-JGJSZ3UE.js';
4
4
  import '../chunk-F6RBK7NJ.js';
5
5
  import '../chunk-3I2LOKQU.js';
6
6
  import '../chunk-RNP5R5I3.js';
7
- import '../chunk-ESOQEOOX.js';
7
+ import '../chunk-R2TVOBBD.js';
8
8
  import '../chunk-KB5NKPTN.js';
9
- import '../chunk-JRJW2H57.js';
9
+ import '../chunk-564T2YKH.js';
10
10
  import '../chunk-2YBPRE6H.js';
11
- import '../chunk-JUPCUF77.js';
12
- export { REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY } from '../chunk-Z4TPHMRD.js';
11
+ import '../chunk-RULQSZYX.js';
12
+ export { REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY } from '../chunk-FCFLBMVI.js';
13
13
  import '../chunk-FWZJH3TL.js';
14
14
  import '../chunk-WUQWCUCB.js';
15
15
  import '../chunk-GZVH423C.js';
package/dist/index.d.ts CHANGED
@@ -4930,7 +4930,51 @@ declare const WORKFLOW_CONSTANTS: {
4930
4930
  readonly MAX_ZOOM: 2;
4931
4931
  };
4932
4932
 
4933
- declare const formatDate: (dateString: string) => string;
4933
+ /**
4934
+ * Date formatting utilities for consistent date display across the application
4935
+ */
4936
+ /**
4937
+ * Format a date string for display with date and time
4938
+ *
4939
+ * @param dateString - ISO date string or null
4940
+ * @returns Formatted date string (e.g., "Dec 9, 2025, 10:30 AM") or "Never" if null
4941
+ *
4942
+ * @example
4943
+ * formatDateTime('2025-12-09T10:30:00Z') // "Dec 9, 2025, 10:30 AM"
4944
+ * formatDateTime(null) // "Never"
4945
+ */
4946
+ declare function formatDateTime(dateString: string | null): string;
4947
+ /**
4948
+ * Format a date string for display (date only, no time)
4949
+ *
4950
+ * @param dateString - ISO date string or null
4951
+ * @returns Formatted date string (e.g., "Dec 9, 2025") or "Never" if null
4952
+ *
4953
+ * @example
4954
+ * formatDate('2025-12-09T10:30:00Z') // "Dec 9, 2025"
4955
+ * formatDate(null) // "Never"
4956
+ */
4957
+ declare function formatDate(dateString: string | null): string;
4958
+ /**
4959
+ * Format a date string for chart axis labels (compact format)
4960
+ *
4961
+ * @param dateString - ISO date string or null
4962
+ * @returns Compact formatted string (e.g., "12/8, 9PM") or empty string if null
4963
+ *
4964
+ * @example
4965
+ * formatChartAxisDate('2025-12-08T21:00:00.000Z') // "12/8, 9PM"
4966
+ * formatChartAxisDate('2025-12-09T13:00:00.000Z') // "12/9, 1PM"
4967
+ */
4968
+ declare function formatChartAxisDate(dateString: string | null): string;
4969
+
4970
+ /**
4971
+ * Format a date as verbose relative time using date-fns (e.g., "about 2 hours ago")
4972
+ */
4973
+ declare function formatRelativeTime(date: string | Date | null | undefined): string;
4974
+ /**
4975
+ * Format a date as compact relative time without external deps (e.g., "2h ago", "3d ago")
4976
+ */
4977
+ declare function formatTimeAgo(date: string | Date | null | undefined): string;
4934
4978
 
4935
4979
  declare const validateEmail: (email: string) => boolean;
4936
4980
 
@@ -5033,32 +5077,6 @@ declare const OAUTH_POPUP_CHECK_INTERVAL = 500;
5033
5077
  /** OAuth flow maximum duration before timeout (5 min). */
5034
5078
  declare const OAUTH_FLOW_TIMEOUT = 300000;
5035
5079
 
5036
- /**
5037
- * Date formatting utilities for consistent date display across the application
5038
- */
5039
- /**
5040
- * Format a date string for display with date and time
5041
- *
5042
- * @param dateString - ISO date string or null
5043
- * @returns Formatted date string (e.g., "Dec 9, 2025, 10:30 AM") or "Never" if null
5044
- *
5045
- * @example
5046
- * formatDateTime('2025-12-09T10:30:00Z') // "Dec 9, 2025, 10:30 AM"
5047
- * formatDateTime(null) // "Never"
5048
- */
5049
- declare function formatDateTime(dateString: string | null): string;
5050
- /**
5051
- * Format a date string for chart axis labels (compact format)
5052
- *
5053
- * @param dateString - ISO date string or null
5054
- * @returns Compact formatted string (e.g., "12/8, 9PM") or empty string if null
5055
- *
5056
- * @example
5057
- * formatChartAxisDate('2025-12-08T21:00:00.000Z') // "12/8, 9PM"
5058
- * formatChartAxisDate('2025-12-09T13:00:00.000Z') // "12/9, 1PM"
5059
- */
5060
- declare function formatChartAxisDate(dateString: string | null): string;
5061
-
5062
5080
  /**
5063
5081
  * Suppresses known non-critical console warnings in development
5064
5082
  *
@@ -8378,5 +8396,5 @@ declare function InitializationProvider({ children }: {
8378
8396
  children: ReactNode;
8379
8397
  }): react.FunctionComponentElement<react.ProviderProps<AppInitializationState | null>>;
8380
8398
 
8381
- export { AGENT_CONSTANTS, APIClientError, AdminGuard, ApiClientProvider, ApiKeyService, AuthProvider, CONTAINER_CONSTANTS, CredentialService, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DeploymentService, ElevasisCoreProvider, ElevasisProvider, ElevasisServiceProvider, ElevasisUIProvider, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, GRAPH_CONSTANTS, InitializationContext, InitializationProvider, LIMIT_ACTIVITY_FEED, NotificationProvider, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, OperationsService, OrganizationMembershipService, OrganizationProvider, PAGE_SIZE_DEFAULT, ProfileProvider, ProtectedRoute, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, RouterProvider, SHARED_VIZ_CONSTANTS, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, STATUS_COLORS, TIMELINE_CONSTANTS, TOKEN_VAR_MAP, TanStackRouterBridge, UserProfileService, WORKFLOW_CONSTANTS, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, calculateBarPosition, calculateGraphHeight, componentThemes, createCssVariablesResolver, createOrganizationsSlice, createUseAppInitialization, createUseFeatureAccess, createUseOrgInitialization, createUseOrganizations, executionsKeys, filterByDomainFilters, formatChartAxisDate, formatDate, formatDateTime, formatDuration, formatErrorMessage, generateShades, getEdgeColor, getEdgeOpacity, getErrorInfo, getErrorTitle, getPreset, getResourceColor, getResourceIcon, getResourceStatusColor, getStatusColors, getStatusIcon, isAPIClientError, isSessionCapable, mantineNotificationAdapter, mantineThemeOverride, observabilityKeys, operationsKeys, restoreConsole, scheduleKeys, sessionsKeys, shouldAnimateEdge, sortData, suppressKnownWarnings, useActivateDeployment, useActivities, useActivityFilters, useActivityTrend, useAgentIterationData, useApiClient, useApiClientContext, useArchiveSession, useAuthContext, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useConnectionHighlight, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCredential, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteExecution, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeploymentDocs, useDirectedChainHighlighting, useElevasisServices, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionPath, useExecutions, useFitViewTrigger, useGetExecutionHistory, useGetSchedule, useGraphHighlighting, useGraphStats, useInitialization, useListApiKeys, useListDeployments, useListSchedules, useListWebhookEndpoints, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useNodeSelection, useNotificationAdapter, useNotificationCount, useNotifications, useOrganization, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, useProfile, useReactFlowAgent, useReactivateMembership, useRecentExecutionsByResource, useSessionCheck as useRefocusSessionCheck, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRouterContext, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTimeRangeDates, useTimelineData, useTopFailingResources, useUnifiedWorkflowLayout, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useUserProfile, useVisibleResources, useWarningNotification, useWorkflowStepsLayout, validateEmail };
8399
+ export { AGENT_CONSTANTS, APIClientError, AdminGuard, ApiClientProvider, ApiKeyService, AuthProvider, CONTAINER_CONSTANTS, CredentialService, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DeploymentService, ElevasisCoreProvider, ElevasisProvider, ElevasisServiceProvider, ElevasisUIProvider, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, GRAPH_CONSTANTS, InitializationContext, InitializationProvider, LIMIT_ACTIVITY_FEED, NotificationProvider, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, OperationsService, OrganizationMembershipService, OrganizationProvider, PAGE_SIZE_DEFAULT, ProfileProvider, ProtectedRoute, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, RouterProvider, SHARED_VIZ_CONSTANTS, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, STATUS_COLORS, TIMELINE_CONSTANTS, TOKEN_VAR_MAP, TanStackRouterBridge, UserProfileService, WORKFLOW_CONSTANTS, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, calculateBarPosition, calculateGraphHeight, componentThemes, createCssVariablesResolver, createOrganizationsSlice, createUseAppInitialization, createUseFeatureAccess, createUseOrgInitialization, createUseOrganizations, executionsKeys, filterByDomainFilters, formatChartAxisDate, formatDate, formatDateTime, formatDuration, formatErrorMessage, formatRelativeTime, formatTimeAgo, generateShades, getEdgeColor, getEdgeOpacity, getErrorInfo, getErrorTitle, getPreset, getResourceColor, getResourceIcon, getResourceStatusColor, getStatusColors, getStatusIcon, isAPIClientError, isSessionCapable, mantineNotificationAdapter, mantineThemeOverride, observabilityKeys, operationsKeys, restoreConsole, scheduleKeys, sessionsKeys, shouldAnimateEdge, sortData, suppressKnownWarnings, useActivateDeployment, useActivities, useActivityFilters, useActivityTrend, useAgentIterationData, useApiClient, useApiClientContext, useArchiveSession, useAuthContext, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useConnectionHighlight, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCredential, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteExecution, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeploymentDocs, useDirectedChainHighlighting, useElevasisServices, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionPath, useExecutions, useFitViewTrigger, useGetExecutionHistory, useGetSchedule, useGraphHighlighting, useGraphStats, useInitialization, useListApiKeys, useListDeployments, useListSchedules, useListWebhookEndpoints, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useNodeSelection, useNotificationAdapter, useNotificationCount, useNotifications, useOrganization, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, useProfile, useReactFlowAgent, useReactivateMembership, useRecentExecutionsByResource, useSessionCheck as useRefocusSessionCheck, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRouterContext, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTimeRangeDates, useTimelineData, useTopFailingResources, useUnifiedWorkflowLayout, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useUserProfile, useVisibleResources, useWarningNotification, useWorkflowStepsLayout, validateEmail };
8382
8400
  export type { ActivityFilters, ActivityTrendResponse, AdminGuardProps, AgentIterationEdgeData, AgentIterationNodeData, AgentStatus, ApiClientContextValue, ApiClientProviderProps, ApiErrorDetails, ApiKeyConfig, AppInitializationState, AuthConfig, AuthContextValue, AuthKitConfig, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, ColorShadesTuple, CostBreakdownItem, CreateApiKeyRequest, CreateApiKeyResponse, CreateCredentialRequest, CreateCredentialResponse, CreateScheduleInput, CreateSessionResponse, CredentialListItem, DeleteExecutionParams, Deployment, DirectedChainHighlightingOptions, DirectedChainHighlightingResult, DocFile, EdgeColorOptions, EdgeOpacityOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, ExecutionPathState, ExecutionStatus$1 as ExecutionStatus, FailingResource, FrameworkThemeOverrides, GetMessagesResponse, GlowIntensity, GraphHeightOptions, GraphHighlightingResult, GraphMode, GraphThemeColors, InitializationError, LinkProps, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MembershipWithDetails, MessageEvent, MessageType, NodeColorType, NotificationAdapter, OrganizationContextValue, OrganizationsActions, OrganizationsSlice, OrganizationsState, PresetName, ProfileContextValue, ProtectedRouteProps, ResourcesResponse, RetryExecutionParams, RouterAdapter, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, SortDirection, SortState, StatusColorScheme, StatusFilter$1 as StatusFilter, StatusIconColors, StepExecutionData, SubmitActionRequest, SubmitActionResponse, SupabaseUserProfile, TablerIcon, TaskSchedule, ThemePreset, TimelineBarProps, TimelineContainerProps, TimelineRowProps, TopFailingResourcesParams, UnifiedWorkflowEdgeData, UnifiedWorkflowNodeData, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseApiClientReturn, UseBatchedResourcesHealthParams, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseOrgInitializationReturn, UseOrganizationsReturn, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseUserProfileReturn, WebSocketState, WithSchemes, WorkflowEdgeType, WorkflowStepEdgeData, WorkflowStepNodeData, WorkflowStepsLayoutInput };
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import './chunk-ARQRKA6J.js';
2
2
  import './chunk-XCYKC6OZ.js';
3
- export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useOrganizationMembers, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from './chunk-QQXM4WL5.js';
4
- export { OperationsService, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useArchiveSession, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, 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, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateSchedule, useWarningNotification } from './chunk-S7AZTQHK.js';
3
+ export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useOrganizationMembers, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from './chunk-JR6NE3JD.js';
4
+ export { OperationsService, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useArchiveSession, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, 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, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateSchedule, useWarningNotification } from './chunk-AQZGGSZZ.js';
5
5
  export { observabilityKeys, useErrorTrends } from './chunk-ARZM3OTI.js';
6
6
  import './chunk-JGJSZ3UE.js';
7
7
  export { TanStackRouterBridge } from './chunk-LHQTTUL2.js';
@@ -11,12 +11,12 @@ import './chunk-ELJIFLCB.js';
11
11
  export { createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from './chunk-3I2LOKQU.js';
12
12
  export { createUseAppInitialization } from './chunk-3PURTICE.js';
13
13
  import './chunk-RNP5R5I3.js';
14
- export { ElevasisProvider, ElevasisUIProvider, mantineNotificationAdapter } from './chunk-ESOQEOOX.js';
14
+ export { ElevasisProvider, ElevasisUIProvider, mantineNotificationAdapter } from './chunk-R2TVOBBD.js';
15
15
  export { TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, generateShades, getPreset, mantineThemeOverride } from './chunk-KB5NKPTN.js';
16
- export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from './chunk-JRJW2H57.js';
16
+ export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from './chunk-564T2YKH.js';
17
17
  export { OrganizationProvider } from './chunk-2YBPRE6H.js';
18
- export { ApiClientProvider, useApiClient, useApiClientContext } from './chunk-JUPCUF77.js';
19
- export { APIClientError, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, isAPIClientError, restoreConsole, suppressKnownWarnings, validateEmail } from './chunk-Z4TPHMRD.js';
18
+ export { ApiClientProvider, useApiClient, useApiClientContext } from './chunk-RULQSZYX.js';
19
+ export { APIClientError, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, isAPIClientError, restoreConsole, suppressKnownWarnings, validateEmail } from './chunk-FCFLBMVI.js';
20
20
  export { AdminGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck } from './chunk-6TMW6VQ2.js';
21
21
  export { useStableAccessToken } from './chunk-FWZJH3TL.js';
22
22
  export { InitializationContext, InitializationProvider, useInitialization } from './chunk-WUQWCUCB.js';
@@ -1,9 +1,9 @@
1
- export { ElevasisProvider, ElevasisUIProvider, mantineNotificationAdapter } from '../chunk-ESOQEOOX.js';
1
+ export { ElevasisProvider, ElevasisUIProvider, mantineNotificationAdapter } from '../chunk-R2TVOBBD.js';
2
2
  import '../chunk-KB5NKPTN.js';
3
- export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-JRJW2H57.js';
3
+ export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-564T2YKH.js';
4
4
  import '../chunk-2YBPRE6H.js';
5
- import '../chunk-JUPCUF77.js';
6
- import '../chunk-Z4TPHMRD.js';
5
+ import '../chunk-RULQSZYX.js';
6
+ import '../chunk-FCFLBMVI.js';
7
7
  import '../chunk-WUQWCUCB.js';
8
8
  export { ElevasisServiceProvider, useElevasisServices } from '../chunk-GZVH423C.js';
9
9
  import '../chunk-DD3CCMCZ.js';
@@ -1,7 +1,7 @@
1
- export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-JRJW2H57.js';
1
+ export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-564T2YKH.js';
2
2
  import '../chunk-2YBPRE6H.js';
3
- import '../chunk-JUPCUF77.js';
4
- import '../chunk-Z4TPHMRD.js';
3
+ import '../chunk-RULQSZYX.js';
4
+ import '../chunk-FCFLBMVI.js';
5
5
  import '../chunk-WUQWCUCB.js';
6
6
  export { ElevasisServiceProvider, useElevasisServices } from '../chunk-GZVH423C.js';
7
7
  import '../chunk-DD3CCMCZ.js';
@@ -1,6 +1,50 @@
1
1
  import { IconBrain } from '@tabler/icons-react';
2
2
 
3
- declare const formatDate: (dateString: string) => string;
3
+ /**
4
+ * Date formatting utilities for consistent date display across the application
5
+ */
6
+ /**
7
+ * Format a date string for display with date and time
8
+ *
9
+ * @param dateString - ISO date string or null
10
+ * @returns Formatted date string (e.g., "Dec 9, 2025, 10:30 AM") or "Never" if null
11
+ *
12
+ * @example
13
+ * formatDateTime('2025-12-09T10:30:00Z') // "Dec 9, 2025, 10:30 AM"
14
+ * formatDateTime(null) // "Never"
15
+ */
16
+ declare function formatDateTime(dateString: string | null): string;
17
+ /**
18
+ * Format a date string for display (date only, no time)
19
+ *
20
+ * @param dateString - ISO date string or null
21
+ * @returns Formatted date string (e.g., "Dec 9, 2025") or "Never" if null
22
+ *
23
+ * @example
24
+ * formatDate('2025-12-09T10:30:00Z') // "Dec 9, 2025"
25
+ * formatDate(null) // "Never"
26
+ */
27
+ declare function formatDate(dateString: string | null): string;
28
+ /**
29
+ * Format a date string for chart axis labels (compact format)
30
+ *
31
+ * @param dateString - ISO date string or null
32
+ * @returns Compact formatted string (e.g., "12/8, 9PM") or empty string if null
33
+ *
34
+ * @example
35
+ * formatChartAxisDate('2025-12-08T21:00:00.000Z') // "12/8, 9PM"
36
+ * formatChartAxisDate('2025-12-09T13:00:00.000Z') // "12/9, 1PM"
37
+ */
38
+ declare function formatChartAxisDate(dateString: string | null): string;
39
+
40
+ /**
41
+ * Format a date as verbose relative time using date-fns (e.g., "about 2 hours ago")
42
+ */
43
+ declare function formatRelativeTime(date: string | Date | null | undefined): string;
44
+ /**
45
+ * Format a date as compact relative time without external deps (e.g., "2h ago", "3d ago")
46
+ */
47
+ declare function formatTimeAgo(date: string | Date | null | undefined): string;
4
48
 
5
49
  declare const validateEmail: (email: string) => boolean;
6
50
 
@@ -198,32 +242,6 @@ declare const OAUTH_POPUP_CHECK_INTERVAL = 500;
198
242
  /** OAuth flow maximum duration before timeout (5 min). */
199
243
  declare const OAUTH_FLOW_TIMEOUT = 300000;
200
244
 
201
- /**
202
- * Date formatting utilities for consistent date display across the application
203
- */
204
- /**
205
- * Format a date string for display with date and time
206
- *
207
- * @param dateString - ISO date string or null
208
- * @returns Formatted date string (e.g., "Dec 9, 2025, 10:30 AM") or "Never" if null
209
- *
210
- * @example
211
- * formatDateTime('2025-12-09T10:30:00Z') // "Dec 9, 2025, 10:30 AM"
212
- * formatDateTime(null) // "Never"
213
- */
214
- declare function formatDateTime(dateString: string | null): string;
215
- /**
216
- * Format a date string for chart axis labels (compact format)
217
- *
218
- * @param dateString - ISO date string or null
219
- * @returns Compact formatted string (e.g., "12/8, 9PM") or empty string if null
220
- *
221
- * @example
222
- * formatChartAxisDate('2025-12-08T21:00:00.000Z') // "12/8, 9PM"
223
- * formatChartAxisDate('2025-12-09T13:00:00.000Z') // "12/9, 1PM"
224
- */
225
- declare function formatChartAxisDate(dateString: string | null): string;
226
-
227
245
  /**
228
246
  * Suppresses known non-critical console warnings in development
229
247
  *
@@ -243,5 +261,5 @@ declare function suppressKnownWarnings(): void;
243
261
  */
244
262
  declare function restoreConsole(): void;
245
263
 
246
- export { APIClientError, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, isAPIClientError, restoreConsole, suppressKnownWarnings, validateEmail };
264
+ export { APIClientError, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, isAPIClientError, restoreConsole, suppressKnownWarnings, validateEmail };
247
265
  export type { TablerIcon };
@@ -1 +1 @@
1
- export { APIClientError, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, isAPIClientError, restoreConsole, suppressKnownWarnings, validateEmail } from '../chunk-Z4TPHMRD.js';
1
+ export { APIClientError, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, isAPIClientError, restoreConsole, suppressKnownWarnings, validateEmail } from '../chunk-FCFLBMVI.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/ui",
3
- "version": "1.9.3",
3
+ "version": "1.10.1",
4
4
  "description": "UI components and platform-aware hooks for building custom frontends on the Elevasis platform",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -91,6 +91,10 @@
91
91
  "types": "./dist/auth/context.d.ts",
92
92
  "import": "./dist/auth/context.js"
93
93
  },
94
+ "./components/navigation": {
95
+ "types": "./dist/components/navigation/index.d.ts",
96
+ "import": "./dist/components/navigation/index.js"
97
+ },
94
98
  "./components/index.css": "./dist/components/index.css",
95
99
  "./layout/index.css": "./dist/layout/index.css",
96
100
  "./graph/index.css": "./dist/graph/index.css",