@elevasis/ui 1.11.2 → 1.12.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 +2 -1
- package/dist/{chunk-THXI3CDT.js → chunk-7RAT54LF.js} +9 -276
- package/dist/{chunk-AQZGGSZZ.js → chunk-C27QFR3V.js} +25 -3
- package/dist/chunk-HRG3KPL6.js +295 -0
- package/dist/{chunk-564T2YKH.js → chunk-I427OSNH.js} +9 -1
- package/dist/{chunk-7NX3WNBO.js → chunk-MHQ42SD2.js} +2 -2
- package/dist/chunk-SZHARWKU.js +15 -0
- package/dist/{chunk-KPRCFAI4.js → chunk-VUFYYNTF.js} +8 -32
- package/dist/{chunk-YGYF6G7W.js → chunk-YHTK43DV.js} +1 -11
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +57 -15
- package/dist/execution/index.d.ts +2 -0
- package/dist/hooks/index.css +45 -0
- package/dist/hooks/index.d.ts +17 -1
- package/dist/hooks/index.js +6 -4
- package/dist/hooks/published.css +45 -0
- package/dist/hooks/published.d.ts +17 -1
- package/dist/hooks/published.js +5 -3
- package/dist/index.css +45 -0
- package/dist/index.d.ts +44 -35
- package/dist/index.js +6 -4
- package/dist/layout/index.d.ts +6 -2
- package/dist/layout/index.js +4 -2
- package/dist/provider/index.css +45 -0
- package/dist/provider/index.d.ts +28 -35
- package/dist/provider/index.js +4 -2
- package/dist/provider/published.css +44 -0
- package/dist/provider/published.d.ts +28 -9
- package/dist/provider/published.js +3 -1
- package/dist/types/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { AppBackground, AppearanceProvider } from './chunk-HRG3KPL6.js';
|
|
2
|
+
import { ElevasisLoader } from './chunk-SZHARWKU.js';
|
|
1
3
|
import { OrganizationProvider } from './chunk-2YBPRE6H.js';
|
|
2
4
|
import { ApiClientProvider, useApiClient } from './chunk-RULQSZYX.js';
|
|
3
5
|
import { getErrorInfo, getErrorTitle, formatErrorMessage } from './chunk-FCFLBMVI.js';
|
|
@@ -8,6 +10,7 @@ import { useAuthContext } from './chunk-7PLEQFHO.js';
|
|
|
8
10
|
import { createContext, lazy, useContext, Suspense, useRef } from 'react';
|
|
9
11
|
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
10
12
|
import { QueryClientProvider, QueryClient } from '@tanstack/react-query';
|
|
13
|
+
import { Loader } from '@mantine/core';
|
|
11
14
|
|
|
12
15
|
var consoleAdapter = {
|
|
13
16
|
success(title, message) {
|
|
@@ -52,6 +55,7 @@ function ElevasisCoreProvider({
|
|
|
52
55
|
apiUrl,
|
|
53
56
|
onError,
|
|
54
57
|
notifications,
|
|
58
|
+
appearance,
|
|
55
59
|
children
|
|
56
60
|
}) {
|
|
57
61
|
if (auth.mode === "apiKey") {
|
|
@@ -60,9 +64,13 @@ function ElevasisCoreProvider({
|
|
|
60
64
|
);
|
|
61
65
|
}
|
|
62
66
|
const resolvedQueryClient = queryClient ?? getDefaultQueryClient();
|
|
67
|
+
const resolvedAppearance = {
|
|
68
|
+
background: appearance?.background ?? /* @__PURE__ */ jsx(AppBackground, {}),
|
|
69
|
+
loader: appearance?.loader ?? /* @__PURE__ */ jsx(Loader, { size: "lg", loaders: { elevasis: ElevasisLoader }, type: "elevasis" })
|
|
70
|
+
};
|
|
63
71
|
const content = apiUrl ? /* @__PURE__ */ jsx(CoreServiceBridge, { apiUrl, onError, notifications, children }) : children;
|
|
64
72
|
const AuthInner = /* @__PURE__ */ jsx(Suspense, { fallback: null, children: /* @__PURE__ */ jsx(LazyCoreAuthKitInner, { auth, children: content }) });
|
|
65
|
-
return /* @__PURE__ */ jsx(QueryClientProvider, { client: resolvedQueryClient, children: AuthInner });
|
|
73
|
+
return /* @__PURE__ */ jsx(QueryClientProvider, { client: resolvedQueryClient, children: /* @__PURE__ */ jsx(AppearanceProvider, { value: resolvedAppearance, children: AuthInner }) });
|
|
66
74
|
}
|
|
67
75
|
function CoreServiceBridge({
|
|
68
76
|
apiUrl,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CredentialNameSchema, UuidSchema, useErrorNotification } from './chunk-
|
|
1
|
+
import { CredentialNameSchema, UuidSchema, useErrorNotification } from './chunk-C27QFR3V.js';
|
|
2
2
|
import { getTimeRangeDates } from './chunk-ARZM3OTI.js';
|
|
3
|
-
import { useNotificationAdapter } from './chunk-
|
|
3
|
+
import { useNotificationAdapter } from './chunk-I427OSNH.js';
|
|
4
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';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { forwardRef } from 'react';
|
|
2
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
// src/components/display/ElevasisLoader.tsx
|
|
5
|
+
|
|
6
|
+
// src/components/display/ElevasisLoader.module.css.js
|
|
7
|
+
var ElevasisLoader_module_css_default = { "wrapper": "wrapper", "loader": "loader", "chevron": "chevron", "c1": "c1", "c2": "c2", "c3": "c3" };
|
|
8
|
+
var ElevasisLoader = forwardRef(({ style, className, ...others }, ref) => /* @__PURE__ */ jsx("div", { ref, style, className: `${ElevasisLoader_module_css_default.wrapper} ${className ?? ""}`, ...others, children: /* @__PURE__ */ jsxs("svg", { className: ElevasisLoader_module_css_default.loader, viewBox: "-10 -5 60 50", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
9
|
+
/* @__PURE__ */ jsx("polyline", { className: `${ElevasisLoader_module_css_default.chevron} ${ElevasisLoader_module_css_default.c1}`, points: "5,36 20,25 35,36" }),
|
|
10
|
+
/* @__PURE__ */ jsx("polyline", { className: `${ElevasisLoader_module_css_default.chevron} ${ElevasisLoader_module_css_default.c2}`, points: "9,23 20,14 31,23" }),
|
|
11
|
+
/* @__PURE__ */ jsx("polyline", { className: `${ElevasisLoader_module_css_default.chevron} ${ElevasisLoader_module_css_default.c3}`, points: "13,11 20,5 27,11" })
|
|
12
|
+
] }) }));
|
|
13
|
+
ElevasisLoader.displayName = "ElevasisLoader";
|
|
14
|
+
|
|
15
|
+
export { ElevasisLoader };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PRESETS, getPreset, generateShades, mantineThemeOverride, createCssVariablesResolver, PresetsProvider } from './chunk-WNRHQAJA.js';
|
|
2
|
-
import { ElevasisCoreProvider } from './chunk-
|
|
2
|
+
import { ElevasisCoreProvider } from './chunk-I427OSNH.js';
|
|
3
3
|
import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-FCFLBMVI.js';
|
|
4
4
|
import { useMemo, useEffect } from 'react';
|
|
5
5
|
import { mergeThemeOverrides, MantineProvider } from '@mantine/core';
|
|
@@ -8,42 +8,18 @@ import '@mantine/notifications/styles.css';
|
|
|
8
8
|
import { notifications } from '@mantine/notifications';
|
|
9
9
|
import { jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var mantineAdapter = {
|
|
12
12
|
success(title, message) {
|
|
13
|
-
notifications.show({
|
|
14
|
-
title,
|
|
15
|
-
message,
|
|
16
|
-
autoClose: 5e3,
|
|
17
|
-
color: "green",
|
|
18
|
-
position: "top-right"
|
|
19
|
-
});
|
|
13
|
+
notifications.show({ title, message, autoClose: 5e3, color: "green", position: "top-right" });
|
|
20
14
|
},
|
|
21
15
|
error(title, message) {
|
|
22
|
-
notifications.show({
|
|
23
|
-
title,
|
|
24
|
-
message,
|
|
25
|
-
autoClose: 5e3,
|
|
26
|
-
color: "red",
|
|
27
|
-
position: "top-right"
|
|
28
|
-
});
|
|
16
|
+
notifications.show({ title, message, autoClose: 5e3, color: "red", position: "top-right" });
|
|
29
17
|
},
|
|
30
18
|
info(title, message) {
|
|
31
|
-
notifications.show({
|
|
32
|
-
title,
|
|
33
|
-
message,
|
|
34
|
-
autoClose: 5e3,
|
|
35
|
-
color: "blue",
|
|
36
|
-
position: "top-right"
|
|
37
|
-
});
|
|
19
|
+
notifications.show({ title, message, autoClose: 5e3, color: "blue", position: "top-right" });
|
|
38
20
|
},
|
|
39
21
|
warning(title, message) {
|
|
40
|
-
notifications.show({
|
|
41
|
-
title,
|
|
42
|
-
message,
|
|
43
|
-
autoClose: 5e3,
|
|
44
|
-
color: "orange",
|
|
45
|
-
position: "top-right"
|
|
46
|
-
});
|
|
22
|
+
notifications.show({ title, message, autoClose: 5e3, color: "orange", position: "top-right" });
|
|
47
23
|
},
|
|
48
24
|
apiError(error) {
|
|
49
25
|
const { message, code, requestId, fields, retryAfter } = getErrorInfo(error);
|
|
@@ -104,10 +80,10 @@ function ElevasisUIProvider({ theme, children, ...coreProps }) {
|
|
|
104
80
|
theme: resolvedTheme,
|
|
105
81
|
defaultColorScheme: resolvedColorScheme,
|
|
106
82
|
cssVariablesResolver,
|
|
107
|
-
children: /* @__PURE__ */ jsx(PresetsProvider, { value: activePresets, children: /* @__PURE__ */ jsx(ElevasisCoreProvider, { notifications:
|
|
83
|
+
children: /* @__PURE__ */ jsx(PresetsProvider, { value: activePresets, children: /* @__PURE__ */ jsx(ElevasisCoreProvider, { notifications: mantineAdapter, ...coreProps, children }) })
|
|
108
84
|
}
|
|
109
85
|
);
|
|
110
86
|
}
|
|
111
87
|
var ElevasisProvider = ElevasisUIProvider;
|
|
112
88
|
|
|
113
|
-
export { ElevasisProvider, ElevasisUIProvider
|
|
89
|
+
export { ElevasisProvider, ElevasisUIProvider };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { UnstyledButton, Group, Box, ThemeIcon } from '@mantine/core';
|
|
2
2
|
import { IconChevronRight } from '@tabler/icons-react';
|
|
3
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
|
-
import { forwardRef } from 'react';
|
|
5
4
|
|
|
6
5
|
// src/components/display/NavigationButton.tsx
|
|
7
6
|
var NavigationButton = ({
|
|
@@ -117,13 +116,4 @@ var NavigationButton = ({
|
|
|
117
116
|
);
|
|
118
117
|
};
|
|
119
118
|
|
|
120
|
-
|
|
121
|
-
var ElevasisLoader_module_css_default = { "wrapper": "wrapper", "loader": "loader", "chevron": "chevron", "c1": "c1", "c2": "c2", "c3": "c3" };
|
|
122
|
-
var ElevasisLoader = forwardRef(({ style, className, ...others }, ref) => /* @__PURE__ */ jsx("div", { ref, style, className: `${ElevasisLoader_module_css_default.wrapper} ${className ?? ""}`, ...others, children: /* @__PURE__ */ jsxs("svg", { className: ElevasisLoader_module_css_default.loader, viewBox: "-10 -5 60 50", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
123
|
-
/* @__PURE__ */ jsx("polyline", { className: `${ElevasisLoader_module_css_default.chevron} ${ElevasisLoader_module_css_default.c1}`, points: "5,36 20,25 35,36" }),
|
|
124
|
-
/* @__PURE__ */ jsx("polyline", { className: `${ElevasisLoader_module_css_default.chevron} ${ElevasisLoader_module_css_default.c2}`, points: "9,23 20,14 31,23" }),
|
|
125
|
-
/* @__PURE__ */ jsx("polyline", { className: `${ElevasisLoader_module_css_default.chevron} ${ElevasisLoader_module_css_default.c3}`, points: "13,11 20,5 27,11" })
|
|
126
|
-
] }) }));
|
|
127
|
-
ElevasisLoader.displayName = "ElevasisLoader";
|
|
128
|
-
|
|
129
|
-
export { ElevasisLoader, NavigationButton };
|
|
119
|
+
export { NavigationButton };
|
package/dist/components/index.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { useCyberColors, EmptyState, CyberLegendItem, CyberAreaChart, APIErrorAlert, CardHeader, StatsCardSkeleton, TrendIndicator, DetailCardSkeleton, ContextViewer, JsonViewer, StyledMarkdown, PageTitleCaption, StatCard, CyberDonut, CollapsibleSection, ListSkeleton } from '../chunk-CC6BRHQK.js';
|
|
2
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
|
-
import { SubshellLoader, SubshellContainer, SubshellSidebar, SubshellRightSideContainer, SubshellContentContainer, PageContainer, AppShellLoader, SubshellSidebarSection,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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';
|
|
3
|
+
import { SubshellLoader, SubshellContainer, SubshellSidebar, SubshellRightSideContainer, SubshellContentContainer, PageContainer, AppShellLoader, SubshellSidebarSection, CollapsibleSidebarGroup, SidebarListItem } from '../chunk-7RAT54LF.js';
|
|
4
|
+
export { NavigationButton } from '../chunk-YHTK43DV.js';
|
|
5
|
+
import { useUpdateApiKey, useDeleteApiKey, useCreateApiKey, useListApiKeys, useDeleteCredential, useCreateCredential, useCredentials, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments, MEMBERSHIP_STATUS_COLORS, transformMembershipToTableRow, showApiErrorNotification, showSuccessNotification, CredentialSchemas, showErrorNotification } from '../chunk-MHQ42SD2.js';
|
|
6
|
+
export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-MHQ42SD2.js';
|
|
7
|
+
import { useCommandViewLayout, useResourcesHealth, useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, useMarkAsRead, useMarkAllAsRead, useNotificationCount, useNotifications, useSubmitAction, useDeleteTask, useErrorDetail, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, useDeploymentDocs, useResources, useCreateSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useCancelSchedule, useDeleteSchedule, useCommandQueueTotals } from '../chunk-C27QFR3V.js';
|
|
9
8
|
import { getTimeRangeDates, formatBucketTime } from '../chunk-ARZM3OTI.js';
|
|
10
9
|
import '../chunk-JGJSZ3UE.js';
|
|
11
10
|
import '../chunk-LHQTTUL2.js';
|
|
@@ -17,9 +16,12 @@ import { ResourceStatusColors, toWorkflowLogMessages } from '../chunk-ELJIFLCB.j
|
|
|
17
16
|
import '../chunk-3I2LOKQU.js';
|
|
18
17
|
import '../chunk-3PURTICE.js';
|
|
19
18
|
import '../chunk-RNP5R5I3.js';
|
|
20
|
-
import '../chunk-
|
|
19
|
+
import '../chunk-VUFYYNTF.js';
|
|
21
20
|
import '../chunk-WNRHQAJA.js';
|
|
22
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-I427OSNH.js';
|
|
22
|
+
import { useAppearance } from '../chunk-HRG3KPL6.js';
|
|
23
|
+
import { ElevasisLoader } from '../chunk-SZHARWKU.js';
|
|
24
|
+
export { ElevasisLoader } from '../chunk-SZHARWKU.js';
|
|
23
25
|
import '../chunk-2YBPRE6H.js';
|
|
24
26
|
import '../chunk-RULQSZYX.js';
|
|
25
27
|
import { getResourceIcon, getResourceColor, formatChartAxisDate, PAGE_SIZE_DEFAULT, getErrorInfo, formatErrorMessage, formatDateTime } from '../chunk-FCFLBMVI.js';
|
|
@@ -34,7 +36,7 @@ import { z } from 'zod';
|
|
|
34
36
|
import { Paper, Stack, Text, Group, Badge, Box, ThemeIcon, useComputedColorScheme, Card, ActionIcon, Modal, Center, Space, Button, Title, TextInput, Table, Textarea, Radio, Checkbox, Select, NumberInput, Tooltip, Loader, SegmentedControl, NumberFormatter, Alert, Switch, Pagination, UnstyledButton, Divider, ScrollArea, Popover, Indicator, Menu, Accordion, Collapse, SimpleGrid, CopyButton, Code, useMantineTheme, Timeline, RangeSlider, Progress, PasswordInput, Anchor } from '@mantine/core';
|
|
35
37
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
36
38
|
import { memo, forwardRef, useMemo, useImperativeHandle, cloneElement, useState, useEffect, useCallback, Fragment as Fragment$1, useRef } from 'react';
|
|
37
|
-
import { IconPlayerPlay, IconPlayerStop, IconArrowsSplit, IconSquare, IconBrain, IconFileText, IconDatabase, IconMessage, IconAlertCircle, IconCircleX, IconCircleCheck, IconBolt, IconHandClick, IconClock, IconWebhook, IconExternalLink, IconFocus2, IconMail, IconSend, IconArrowUp, IconMessageCircle, IconRocket, IconEye, IconEdit, IconAlertTriangle, IconRefresh, IconX, IconCheck, IconChevronUp, IconChevronDown, IconSelector, IconTrash, IconChartBar, IconThumbDown, IconThumbUp, IconSearch, IconFilterOff, IconArrowUpRight, IconDownload, IconInfoCircle, IconBug, IconChecks, IconCircle, IconCircleFilled, IconBell, IconRobot, IconGitBranch, IconDotsVertical, IconChevronRight, IconTool, IconSettings, IconCpu, IconClockHour4, IconVersions, IconNetwork, IconSitemap, IconCopy, IconReload, IconArrowLeft, IconBook2, IconFileOff, IconList, IconCalendarRepeat, IconCalendarEvent, IconCalendarTime, IconPlus, IconCalendar, IconKey, IconPlayerPause, IconCalendarDue, IconCalendarStats, IconCalendarOff, IconListCheck, IconFilter, IconCategory, IconPencil, IconExclamationMark, IconShieldLock, IconPower, IconTag, IconBuilding, IconUserX, IconUserCheck, IconArrowDown, IconUser, IconFolderOpen, IconFolder } from '@tabler/icons-react';
|
|
39
|
+
import { IconPlayerPlay, IconPlayerStop, IconArrowsSplit, IconSquare, IconBrain, IconFileText, IconDatabase, IconMessage, IconAlertCircle, IconCircleX, IconCircleCheck, IconBolt, IconHandClick, IconClock, IconWebhook, IconExternalLink, IconFocus2, IconMail, IconSend, IconArrowUp, IconMessageCircle, IconRocket, IconEye, IconEdit, IconAlertTriangle, IconRefresh, IconX, IconCheck, IconChevronUp, IconChevronDown, IconSelector, IconTrash, IconChartBar, IconThumbDown, IconThumbUp, IconSearch, IconFilterOff, IconArrowUpRight, IconDownload, IconInfoCircle, IconBug, IconChecks, IconCircle, IconCircleFilled, IconBell, IconRobot, IconGitBranch, IconDotsVertical, IconChevronRight, IconTool, IconSettings, IconCpu, IconClockHour4, IconVersions, IconNetwork, IconSitemap, IconCopy, IconReload, IconArrowLeft, IconBook2, IconFileOff, IconList, IconCalendarRepeat, IconCalendarEvent, IconCalendarTime, IconPlus, IconCalendar, IconKey, IconPlayerPause, IconCalendarDue, IconCalendarStats, IconCalendarOff, IconListCheck, IconFilter, IconCategory, IconPencil, IconExclamationMark, IconShieldLock, IconPower, IconTag, IconBuilding, IconUserX, IconUserCheck, IconArrowDown, IconUser, IconArchive, IconFolderOpen, IconFolder } from '@tabler/icons-react';
|
|
38
40
|
import { AreaChart } from '@mantine/charts';
|
|
39
41
|
import { formatDistanceToNow } from 'date-fns';
|
|
40
42
|
import { useDisclosure, useClipboard } from '@mantine/hooks';
|
|
@@ -4190,6 +4192,31 @@ function ExecutionErrorSection({ executionId, fallbackError }) {
|
|
|
4190
4192
|
}
|
|
4191
4193
|
);
|
|
4192
4194
|
}
|
|
4195
|
+
function ArchivedLogsNotice({ logCount, isLoading, error, onLoad }) {
|
|
4196
|
+
return /* @__PURE__ */ jsx(Paper, { withBorder: true, p: "md", radius: "md", bg: "color-mix(in srgb, var(--color-primary) 5%, transparent)", children: /* @__PURE__ */ jsxs(Stack, { gap: "xs", children: [
|
|
4197
|
+
/* @__PURE__ */ jsxs(Group, { gap: "sm", children: [
|
|
4198
|
+
/* @__PURE__ */ jsx(IconArchive, { size: 18, style: { color: "var(--color-text-dimmed)" } }),
|
|
4199
|
+
/* @__PURE__ */ jsxs(Text, { size: "sm", c: "dimmed", children: [
|
|
4200
|
+
"Logs archived (",
|
|
4201
|
+
logCount.toLocaleString(),
|
|
4202
|
+
" entries)"
|
|
4203
|
+
] })
|
|
4204
|
+
] }),
|
|
4205
|
+
error && /* @__PURE__ */ jsx(Text, { size: "sm", c: "var(--color-error)", children: error }),
|
|
4206
|
+
/* @__PURE__ */ jsx(
|
|
4207
|
+
Button,
|
|
4208
|
+
{
|
|
4209
|
+
variant: "light",
|
|
4210
|
+
size: "xs",
|
|
4211
|
+
leftSection: isLoading ? /* @__PURE__ */ jsx(Loader, { size: 14 }) : /* @__PURE__ */ jsx(IconDownload, { size: 14 }),
|
|
4212
|
+
onClick: onLoad,
|
|
4213
|
+
disabled: isLoading,
|
|
4214
|
+
w: "fit-content",
|
|
4215
|
+
children: isLoading ? "Loading archived logs..." : "Load archived logs"
|
|
4216
|
+
}
|
|
4217
|
+
)
|
|
4218
|
+
] }) });
|
|
4219
|
+
}
|
|
4193
4220
|
function BaseExecutionLogs({
|
|
4194
4221
|
resourceId,
|
|
4195
4222
|
resourceType,
|
|
@@ -4203,7 +4230,15 @@ function BaseExecutionLogs({
|
|
|
4203
4230
|
hideError = false
|
|
4204
4231
|
}) {
|
|
4205
4232
|
const { data: fetchedExecution, isLoading } = useExecution(resourceId, executionId || "");
|
|
4206
|
-
const
|
|
4233
|
+
const baseExecution = externalExecution ?? fetchedExecution;
|
|
4234
|
+
const archivedLogs = useArchivedLogs(baseExecution?.isArchived ? executionId : void 0);
|
|
4235
|
+
const typedExecution = useMemo(() => {
|
|
4236
|
+
if (!baseExecution) return void 0;
|
|
4237
|
+
if (archivedLogs.logs) {
|
|
4238
|
+
return { ...baseExecution, executionLogs: archivedLogs.logs, isArchived: false };
|
|
4239
|
+
}
|
|
4240
|
+
return baseExecution;
|
|
4241
|
+
}, [baseExecution, archivedLogs.logs]);
|
|
4207
4242
|
const [deleteModalOpened, setDeleteModalOpened] = useState(false);
|
|
4208
4243
|
const [retryModalOpened, setRetryModalOpened] = useState(false);
|
|
4209
4244
|
const [cancelModalOpened, setCancelModalOpened] = useState(false);
|
|
@@ -4273,7 +4308,16 @@ function BaseExecutionLogs({
|
|
|
4273
4308
|
}
|
|
4274
4309
|
),
|
|
4275
4310
|
!hideInput && typedExecution.input != null && /* @__PURE__ */ jsx(Paper, { withBorder: true, bg: "none", children: /* @__PURE__ */ jsx(CollapsibleJsonSection, { title: /* @__PURE__ */ jsx(Text, { fw: 500, children: "Input" }), data: typedExecution.input }) }),
|
|
4276
|
-
|
|
4311
|
+
typedExecution.isArchived && /* @__PURE__ */ jsx(
|
|
4312
|
+
ArchivedLogsNotice,
|
|
4313
|
+
{
|
|
4314
|
+
logCount: typedExecution.archivedLogCount ?? 0,
|
|
4315
|
+
isLoading: archivedLogs.isLoading,
|
|
4316
|
+
error: archivedLogs.error,
|
|
4317
|
+
onLoad: archivedLogs.fetch
|
|
4318
|
+
}
|
|
4319
|
+
),
|
|
4320
|
+
!typedExecution.isArchived && renderLogsSection?.(typedExecution),
|
|
4277
4321
|
!hideResult && typedExecution.result != null && /* @__PURE__ */ jsx(Paper, { withBorder: true, children: /* @__PURE__ */ jsx(
|
|
4278
4322
|
CollapsibleJsonSection,
|
|
4279
4323
|
{
|
|
@@ -7724,6 +7768,7 @@ function buildErrorReport(opts) {
|
|
|
7724
7768
|
return sections.filter(Boolean).join("\n");
|
|
7725
7769
|
}
|
|
7726
7770
|
function CrashErrorFallback({ error, componentStack, eventId, appVersion }) {
|
|
7771
|
+
const { background } = useAppearance();
|
|
7727
7772
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
7728
7773
|
const errorStack = error instanceof Error ? error.stack : void 0;
|
|
7729
7774
|
const errorName = getErrorName(error);
|
|
@@ -7743,10 +7788,7 @@ function CrashErrorFallback({ error, componentStack, eventId, appVersion }) {
|
|
|
7743
7788
|
padding: 24
|
|
7744
7789
|
},
|
|
7745
7790
|
children: [
|
|
7746
|
-
|
|
7747
|
-
/* @__PURE__ */ jsx(RadiantGlow, {}),
|
|
7748
|
-
/* @__PURE__ */ jsx(FloatingOrbs, {}),
|
|
7749
|
-
/* @__PURE__ */ jsx(FilmGrain, {}),
|
|
7791
|
+
background,
|
|
7750
7792
|
/* @__PURE__ */ jsx("div", { style: { position: "relative", zIndex: 1, width: "100%", display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ jsx(
|
|
7751
7793
|
ErrorReportCard,
|
|
7752
7794
|
{
|
package/dist/hooks/index.css
CHANGED
|
@@ -1,3 +1,48 @@
|
|
|
1
|
+
/* src/components/display/ElevasisLoader.module.css */
|
|
2
|
+
.wrapper {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
width: var(--loader-size);
|
|
7
|
+
height: var(--loader-size);
|
|
8
|
+
overflow: visible;
|
|
9
|
+
}
|
|
10
|
+
.loader {
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 100%;
|
|
13
|
+
display: block;
|
|
14
|
+
overflow: visible;
|
|
15
|
+
}
|
|
16
|
+
.chevron {
|
|
17
|
+
stroke: var(--loader-color);
|
|
18
|
+
stroke-width: 2;
|
|
19
|
+
stroke-linecap: square;
|
|
20
|
+
stroke-linejoin: miter;
|
|
21
|
+
fill: none;
|
|
22
|
+
opacity: 0.15;
|
|
23
|
+
animation: chevronPulse 2s ease-in-out infinite;
|
|
24
|
+
filter: drop-shadow(0 0 1.5px var(--loader-color));
|
|
25
|
+
}
|
|
26
|
+
.c1 {
|
|
27
|
+
animation-delay: 0s;
|
|
28
|
+
}
|
|
29
|
+
.c2 {
|
|
30
|
+
animation-delay: 0.2s;
|
|
31
|
+
}
|
|
32
|
+
.c3 {
|
|
33
|
+
animation-delay: 0.4s;
|
|
34
|
+
}
|
|
35
|
+
@keyframes chevronPulse {
|
|
36
|
+
0%, 100% {
|
|
37
|
+
opacity: 0.12;
|
|
38
|
+
filter: drop-shadow(0 0 1px var(--loader-color));
|
|
39
|
+
}
|
|
40
|
+
40%, 60% {
|
|
41
|
+
opacity: 1;
|
|
42
|
+
filter: drop-shadow(0 0 3px var(--loader-color));
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
1
46
|
/* src/theme/custom.css */
|
|
2
47
|
.mantine-Accordion-control:hover {
|
|
3
48
|
background-color: var(--color-surface-hover);
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -3945,6 +3945,8 @@ interface APIExecutionDetail$1 extends APIExecutionSummary$1 {
|
|
|
3945
3945
|
apiVersion?: string | null;
|
|
3946
3946
|
resourceVersion?: string | null;
|
|
3947
3947
|
sdkVersion?: string | null;
|
|
3948
|
+
isArchived?: boolean;
|
|
3949
|
+
archivedLogCount?: number;
|
|
3948
3950
|
}
|
|
3949
3951
|
|
|
3950
3952
|
/**
|
|
@@ -4487,6 +4489,8 @@ interface APIExecutionDetail extends APIExecutionSummary {
|
|
|
4487
4489
|
apiVersion?: string | null
|
|
4488
4490
|
resourceVersion?: string | null
|
|
4489
4491
|
sdkVersion?: string | null
|
|
4492
|
+
isArchived?: boolean
|
|
4493
|
+
archivedLogCount?: number
|
|
4490
4494
|
}
|
|
4491
4495
|
|
|
4492
4496
|
// API request/response types
|
|
@@ -4623,6 +4627,18 @@ declare function useResources(): _tanstack_react_query.UseQueryResult<{
|
|
|
4623
4627
|
*/
|
|
4624
4628
|
declare function useResourceDefinition(resourceId: string, enabled?: boolean): _tanstack_react_query.UseQueryResult<AIResourceDefinition, Error>;
|
|
4625
4629
|
|
|
4630
|
+
interface ArchivedLogsState {
|
|
4631
|
+
logs: ExecutionLogMessage$1[] | null;
|
|
4632
|
+
isLoading: boolean;
|
|
4633
|
+
error: string | null;
|
|
4634
|
+
fetch: () => void;
|
|
4635
|
+
}
|
|
4636
|
+
/**
|
|
4637
|
+
* Hook to fetch archived execution logs from storage on demand.
|
|
4638
|
+
* Returns logs as null until explicitly fetched via the fetch() callback.
|
|
4639
|
+
*/
|
|
4640
|
+
declare function useArchivedLogs(executionId: string | undefined): ArchivedLogsState;
|
|
4641
|
+
|
|
4626
4642
|
interface UseActivitiesParams {
|
|
4627
4643
|
limit?: number;
|
|
4628
4644
|
offset?: number;
|
|
@@ -6542,5 +6558,5 @@ interface UseResourceExecutionsOptions {
|
|
|
6542
6558
|
*/
|
|
6543
6559
|
declare function useResourceExecutions({ resourceId, timeRange, enabled }: UseResourceExecutionsOptions): _tanstack_react_query.UseQueryResult<ResourceExecutionsResponse, Error>;
|
|
6544
6560
|
|
|
6545
|
-
export { ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, createUseFeatureAccess, executionsKeys, filterByDomainFilters, isSessionCapable, observabilityKeys, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivateDeployment, useActivities, useActivityFilters, useActivityTrend, useArchiveSession, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCredential, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteExecution, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useListApiKeys, useListDeployments, useListSchedules, useListWebhookEndpoints, useMarkAllAsRead, useMarkAsRead, useNotificationCount, useNotifications, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, useReactivateMembership, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTimeRangeDates, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources, useWarningNotification };
|
|
6561
|
+
export { ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, createUseFeatureAccess, executionsKeys, filterByDomainFilters, isSessionCapable, observabilityKeys, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivateDeployment, useActivities, useActivityFilters, useActivityTrend, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCredential, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteExecution, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useListApiKeys, useListDeployments, useListSchedules, useListWebhookEndpoints, useMarkAllAsRead, useMarkAsRead, useNotificationCount, useNotifications, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, useReactivateMembership, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTimeRangeDates, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources, useWarningNotification };
|
|
6546
6562
|
export type { ActivityFilters, ActivityTrendResponse, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, CostBreakdownItem, CreateApiKeyRequest, CreateApiKeyResponse, CreateCredentialRequest, CreateCredentialResponse, CreateScheduleInput, CreateSessionResponse, CredentialListItem, DeleteExecutionParams, Deployment, DocFile, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, FailingResource, GetMessagesResponse, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MessageEvent, MessageType, ResourcesResponse, RetryExecutionParams, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, SortDirection, SortState, StatusFilter$1 as StatusFilter, SubmitActionRequest, SubmitActionResponse, TaskSchedule, TopFailingResourcesParams, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseBatchedResourcesHealthParams, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, WebSocketState };
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
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-
|
|
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-
|
|
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-MHQ42SD2.js';
|
|
2
|
+
export { OperationsService, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useArchiveSession, useArchivedLogs, 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-C27QFR3V.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-
|
|
8
|
+
import '../chunk-VUFYYNTF.js';
|
|
9
9
|
import '../chunk-WNRHQAJA.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-I427OSNH.js';
|
|
11
|
+
import '../chunk-HRG3KPL6.js';
|
|
12
|
+
import '../chunk-SZHARWKU.js';
|
|
11
13
|
import '../chunk-2YBPRE6H.js';
|
|
12
14
|
import '../chunk-RULQSZYX.js';
|
|
13
15
|
export { REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY } from '../chunk-FCFLBMVI.js';
|
package/dist/hooks/published.css
CHANGED
|
@@ -1,3 +1,48 @@
|
|
|
1
|
+
/* src/components/display/ElevasisLoader.module.css */
|
|
2
|
+
.wrapper {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
width: var(--loader-size);
|
|
7
|
+
height: var(--loader-size);
|
|
8
|
+
overflow: visible;
|
|
9
|
+
}
|
|
10
|
+
.loader {
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 100%;
|
|
13
|
+
display: block;
|
|
14
|
+
overflow: visible;
|
|
15
|
+
}
|
|
16
|
+
.chevron {
|
|
17
|
+
stroke: var(--loader-color);
|
|
18
|
+
stroke-width: 2;
|
|
19
|
+
stroke-linecap: square;
|
|
20
|
+
stroke-linejoin: miter;
|
|
21
|
+
fill: none;
|
|
22
|
+
opacity: 0.15;
|
|
23
|
+
animation: chevronPulse 2s ease-in-out infinite;
|
|
24
|
+
filter: drop-shadow(0 0 1.5px var(--loader-color));
|
|
25
|
+
}
|
|
26
|
+
.c1 {
|
|
27
|
+
animation-delay: 0s;
|
|
28
|
+
}
|
|
29
|
+
.c2 {
|
|
30
|
+
animation-delay: 0.2s;
|
|
31
|
+
}
|
|
32
|
+
.c3 {
|
|
33
|
+
animation-delay: 0.4s;
|
|
34
|
+
}
|
|
35
|
+
@keyframes chevronPulse {
|
|
36
|
+
0%, 100% {
|
|
37
|
+
opacity: 0.12;
|
|
38
|
+
filter: drop-shadow(0 0 1px var(--loader-color));
|
|
39
|
+
}
|
|
40
|
+
40%, 60% {
|
|
41
|
+
opacity: 1;
|
|
42
|
+
filter: drop-shadow(0 0 3px var(--loader-color));
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
1
46
|
/* src/theme/custom.css */
|
|
2
47
|
.mantine-Accordion-control:hover {
|
|
3
48
|
background-color: var(--color-surface-hover);
|
|
@@ -322,6 +322,8 @@ interface APIExecutionDetail$1 extends APIExecutionSummary$1 {
|
|
|
322
322
|
apiVersion?: string | null
|
|
323
323
|
resourceVersion?: string | null
|
|
324
324
|
sdkVersion?: string | null
|
|
325
|
+
isArchived?: boolean
|
|
326
|
+
archivedLogCount?: number
|
|
325
327
|
}
|
|
326
328
|
|
|
327
329
|
// API request/response types
|
|
@@ -4319,6 +4321,8 @@ interface APIExecutionDetail extends APIExecutionSummary {
|
|
|
4319
4321
|
apiVersion?: string | null;
|
|
4320
4322
|
resourceVersion?: string | null;
|
|
4321
4323
|
sdkVersion?: string | null;
|
|
4324
|
+
isArchived?: boolean;
|
|
4325
|
+
archivedLogCount?: number;
|
|
4322
4326
|
}
|
|
4323
4327
|
|
|
4324
4328
|
/**
|
|
@@ -4484,6 +4488,18 @@ declare function useResources(): _tanstack_react_query.UseQueryResult<{
|
|
|
4484
4488
|
*/
|
|
4485
4489
|
declare function useResourceDefinition(resourceId: string, enabled?: boolean): _tanstack_react_query.UseQueryResult<AIResourceDefinition, Error>;
|
|
4486
4490
|
|
|
4491
|
+
interface ArchivedLogsState {
|
|
4492
|
+
logs: ExecutionLogMessage[] | null;
|
|
4493
|
+
isLoading: boolean;
|
|
4494
|
+
error: string | null;
|
|
4495
|
+
fetch: () => void;
|
|
4496
|
+
}
|
|
4497
|
+
/**
|
|
4498
|
+
* Hook to fetch archived execution logs from storage on demand.
|
|
4499
|
+
* Returns logs as null until explicitly fetched via the fetch() callback.
|
|
4500
|
+
*/
|
|
4501
|
+
declare function useArchivedLogs(executionId: string | undefined): ArchivedLogsState;
|
|
4502
|
+
|
|
4487
4503
|
interface UseScheduledTasksOptions {
|
|
4488
4504
|
status?: 'active' | 'paused' | 'completed' | 'cancelled';
|
|
4489
4505
|
targetResourceType?: 'agent' | 'workflow';
|
|
@@ -5987,5 +6003,5 @@ declare function useSessionWebSocket(sessionId: string, apiUrl: string): {
|
|
|
5987
6003
|
lastTokenUsage: SessionTokenUsage | null;
|
|
5988
6004
|
};
|
|
5989
6005
|
|
|
5990
|
-
export { OperationsService, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, createUseFeatureAccess, executionsKeys, isSessionCapable, observabilityKeys, 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, useErrorTrends, 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 };
|
|
6006
|
+
export { OperationsService, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, createUseFeatureAccess, executionsKeys, isSessionCapable, observabilityKeys, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useArchiveSession, useArchivedLogs, 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, useErrorTrends, 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 };
|
|
5991
6007
|
export type { ActivityTrendResponse, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, CostBreakdownItem, CreateScheduleInput, CreateSessionResponse, DeleteExecutionParams, DocFile, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsPageResponse, FailingResource, GetMessagesResponse, ListActivitiesResponse, ListSchedulesFilters, ListSchedulesResponse, MessageEvent, MessageType, ResourcesResponse, RetryExecutionParams, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, SortDirection, SortState, SubmitActionRequest, SubmitActionResponse, TaskSchedule, TopFailingResourcesParams, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseBatchedResourcesHealthParams, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, WebSocketState };
|
package/dist/hooks/published.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
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-
|
|
1
|
+
export { OperationsService, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useArchiveSession, useArchivedLogs, 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-C27QFR3V.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-
|
|
7
|
+
import '../chunk-VUFYYNTF.js';
|
|
8
8
|
import '../chunk-WNRHQAJA.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-I427OSNH.js';
|
|
10
|
+
import '../chunk-HRG3KPL6.js';
|
|
11
|
+
import '../chunk-SZHARWKU.js';
|
|
10
12
|
import '../chunk-2YBPRE6H.js';
|
|
11
13
|
import '../chunk-RULQSZYX.js';
|
|
12
14
|
export { REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY } from '../chunk-FCFLBMVI.js';
|
package/dist/index.css
CHANGED
|
@@ -386,6 +386,51 @@
|
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
388
|
|
|
389
|
+
/* src/components/display/ElevasisLoader.module.css */
|
|
390
|
+
.wrapper {
|
|
391
|
+
display: inline-flex;
|
|
392
|
+
align-items: center;
|
|
393
|
+
justify-content: center;
|
|
394
|
+
width: var(--loader-size);
|
|
395
|
+
height: var(--loader-size);
|
|
396
|
+
overflow: visible;
|
|
397
|
+
}
|
|
398
|
+
.loader {
|
|
399
|
+
width: 100%;
|
|
400
|
+
height: 100%;
|
|
401
|
+
display: block;
|
|
402
|
+
overflow: visible;
|
|
403
|
+
}
|
|
404
|
+
.chevron {
|
|
405
|
+
stroke: var(--loader-color);
|
|
406
|
+
stroke-width: 2;
|
|
407
|
+
stroke-linecap: square;
|
|
408
|
+
stroke-linejoin: miter;
|
|
409
|
+
fill: none;
|
|
410
|
+
opacity: 0.15;
|
|
411
|
+
animation: chevronPulse 2s ease-in-out infinite;
|
|
412
|
+
filter: drop-shadow(0 0 1.5px var(--loader-color));
|
|
413
|
+
}
|
|
414
|
+
.c1 {
|
|
415
|
+
animation-delay: 0s;
|
|
416
|
+
}
|
|
417
|
+
.c2 {
|
|
418
|
+
animation-delay: 0.2s;
|
|
419
|
+
}
|
|
420
|
+
.c3 {
|
|
421
|
+
animation-delay: 0.4s;
|
|
422
|
+
}
|
|
423
|
+
@keyframes chevronPulse {
|
|
424
|
+
0%, 100% {
|
|
425
|
+
opacity: 0.12;
|
|
426
|
+
filter: drop-shadow(0 0 1px var(--loader-color));
|
|
427
|
+
}
|
|
428
|
+
40%, 60% {
|
|
429
|
+
opacity: 1;
|
|
430
|
+
filter: drop-shadow(0 0 3px var(--loader-color));
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
|
|
389
434
|
/* src/theme/custom.css */
|
|
390
435
|
.mantine-Accordion-control:hover {
|
|
391
436
|
background-color: var(--color-surface-hover);
|