@elevasis/ui 1.17.1 → 1.18.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/api/index.js +2 -2
- package/dist/charts/index.js +2 -2
- package/dist/{chunk-TRVSTJTK.js → chunk-2Z7LYTIX.js} +3 -3
- package/dist/chunk-35UWYH2A.js +41 -0
- package/dist/{chunk-ZGK6XZVY.js → chunk-BVNAC4SQ.js} +1 -1
- package/dist/{chunk-RULQSZYX.js → chunk-JNBHUCKW.js} +1 -1
- package/dist/{chunk-7S5FS7WW.js → chunk-LBY7FVFD.js} +1 -1
- package/dist/{chunk-FCFLBMVI.js → chunk-MBZDE6UT.js} +121 -1
- package/dist/{chunk-F25DUOWI.js → chunk-OCF63OXD.js} +2 -2
- package/dist/{chunk-53GNREDV.js → chunk-UANJP5P7.js} +2 -2
- package/dist/{chunk-XGVD76EL.js → chunk-UTWJZEOJ.js} +3 -3
- package/dist/{chunk-QCEUL5QG.js → chunk-WAPZN2U3.js} +1 -32
- package/dist/components/index.js +13 -13
- package/dist/features/operations/index.d.ts +10 -2
- package/dist/features/operations/index.js +298 -13
- package/dist/hooks/index.js +6 -6
- package/dist/hooks/published.js +5 -5
- package/dist/index.js +6 -6
- package/dist/layout/index.js +2 -2
- package/dist/provider/index.js +4 -4
- package/dist/provider/published.js +3 -3
- package/dist/utils/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-ADSSLKKP.js +0 -10
package/dist/api/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../chunk-XCYKC6OZ.js';
|
|
2
|
-
export { ApiClientProvider, useApiClient, useApiClientContext } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { ApiClientProvider, useApiClient, useApiClientContext } from '../chunk-JNBHUCKW.js';
|
|
3
|
+
import '../chunk-MBZDE6UT.js';
|
|
4
4
|
import '../chunk-DD3CCMCZ.js';
|
package/dist/charts/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-
|
|
1
|
+
export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-LBY7FVFD.js';
|
|
2
2
|
import '../chunk-KBLGVZBD.js';
|
|
3
3
|
import '../chunk-LXHZYSMQ.js';
|
|
4
4
|
import '../chunk-MHW43EOH.js';
|
|
5
5
|
import '../chunk-ELJIFLCB.js';
|
|
6
6
|
import '../chunk-SZHARWKU.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-MBZDE6UT.js';
|
|
8
8
|
import '../chunk-CC3SDRIF.js';
|
|
9
9
|
import '../chunk-ALA56RGZ.js';
|
|
10
10
|
import '../chunk-DVKEEY5J.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { getTimeRangeDates, observabilityKeys } from './chunk-LXHZYSMQ.js';
|
|
2
2
|
import { useSupabase } from './chunk-NJJ3NQ7B.js';
|
|
3
3
|
import { GRAPH_CONSTANTS } from './chunk-F6RBK7NJ.js';
|
|
4
|
-
import { useNotificationAdapter } from './chunk-
|
|
5
|
-
import { HTTP_HEADERS } from './chunk-
|
|
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-
|
|
4
|
+
import { useNotificationAdapter } from './chunk-UANJP5P7.js';
|
|
5
|
+
import { HTTP_HEADERS } from './chunk-JNBHUCKW.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-MBZDE6UT.js';
|
|
7
7
|
import { useStableAccessToken } from './chunk-ALA56RGZ.js';
|
|
8
8
|
import { useElevasisServices } from './chunk-QEPXAWE2.js';
|
|
9
9
|
import { useOrganization } from './chunk-DD3CCMCZ.js';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { useAppearance } from './chunk-QJ2KCHKX.js';
|
|
2
|
+
import { Box, Group, Text, Center } from '@mantine/core';
|
|
3
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
var SubshellSidebarSection = ({
|
|
6
|
+
icon: Icon,
|
|
7
|
+
label,
|
|
8
|
+
rightSection,
|
|
9
|
+
withTopBorder = false
|
|
10
|
+
}) => {
|
|
11
|
+
return /* @__PURE__ */ jsx(
|
|
12
|
+
Box,
|
|
13
|
+
{
|
|
14
|
+
p: "sm",
|
|
15
|
+
style: {
|
|
16
|
+
borderTop: withTopBorder ? "1px solid var(--color-border)" : void 0,
|
|
17
|
+
borderBottom: "1px solid var(--color-border)"
|
|
18
|
+
},
|
|
19
|
+
children: /* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
|
|
20
|
+
/* @__PURE__ */ jsx(Icon, { size: 16, color: "var(--color-text-subtle)" }),
|
|
21
|
+
/* @__PURE__ */ jsx(
|
|
22
|
+
Text,
|
|
23
|
+
{
|
|
24
|
+
size: "sm",
|
|
25
|
+
fw: 600,
|
|
26
|
+
c: "var(--color-text-subtle)",
|
|
27
|
+
style: { fontFamily: "var(--mantine-font-family-headings)", flex: 1 },
|
|
28
|
+
children: label
|
|
29
|
+
}
|
|
30
|
+
),
|
|
31
|
+
rightSection
|
|
32
|
+
] })
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
};
|
|
36
|
+
function SubshellLoader() {
|
|
37
|
+
const { loader } = useAppearance();
|
|
38
|
+
return /* @__PURE__ */ jsx(Center, { mih: "calc(100vh - 70px)", children: loader });
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { SubshellLoader, SubshellSidebarSection };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useCyberColors, GlowDot } from './chunk-
|
|
1
|
+
import { useCyberColors, GlowDot } from './chunk-LBY7FVFD.js';
|
|
2
2
|
import { Graph_module_css_default, useDirectedChainHighlighting, useNodeSelection, useFitViewTrigger } from './chunk-F6RBK7NJ.js';
|
|
3
3
|
import { STATUS_COLORS, getStatusIcon, formatDuration, getStatusColors, AGENT_CONSTANTS, shouldAnimateEdge, TIMELINE_CONSTANTS, calculateBarPosition, CONTAINER_CONSTANTS, useExecutionPath, useUnifiedWorkflowLayout, WORKFLOW_CONSTANTS, useReactFlowAgent } from './chunk-XA34RETF.js';
|
|
4
4
|
import { Paper, Stack, Text, Group, Badge, Box, useComputedColorScheme, Loader, Card, ActionIcon, SegmentedControl } from '@mantine/core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { APIClientError } from './chunk-
|
|
1
|
+
import { APIClientError } from './chunk-MBZDE6UT.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,6 +1,6 @@
|
|
|
1
1
|
import { getTimeRangeLabel, getTimeRangeDates, useErrorTrends, formatBucketTime } from './chunk-LXHZYSMQ.js';
|
|
2
2
|
import { ResourceStatusColors } from './chunk-ELJIFLCB.js';
|
|
3
|
-
import { getErrorInfo, getErrorTitle, getResourceIcon } from './chunk-
|
|
3
|
+
import { getErrorInfo, getErrorTitle, getResourceIcon } from './chunk-MBZDE6UT.js';
|
|
4
4
|
import { useAuthContext } from './chunk-BRJ3QZ4E.js';
|
|
5
5
|
import { useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
6
6
|
import { useRef, useState, useLayoutEffect, useEffect, useMemo, useCallback } from 'react';
|
|
@@ -146,6 +146,126 @@ Request ID: ${requestId}`;
|
|
|
146
146
|
return formatted;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
+
// ../core/src/platform/registry/domains.ts
|
|
150
|
+
var DOMAINS = {
|
|
151
|
+
// Business domains
|
|
152
|
+
INBOUND_PIPELINE: "inbound-pipeline",
|
|
153
|
+
LEAD_GEN_PIPELINE: "lead-gen-pipeline",
|
|
154
|
+
SUPPORT: "support",
|
|
155
|
+
CLIENT_SUPPORT: "client-support",
|
|
156
|
+
DELIVERY: "delivery",
|
|
157
|
+
OPERATIONS: "operations",
|
|
158
|
+
FINANCE: "finance",
|
|
159
|
+
EXECUTIVE: "executive",
|
|
160
|
+
INSTANTLY: "instantly",
|
|
161
|
+
// Technical domains
|
|
162
|
+
TESTING: "testing",
|
|
163
|
+
INTERNAL: "internal",
|
|
164
|
+
INTEGRATION: "integration",
|
|
165
|
+
UTILITY: "utility",
|
|
166
|
+
DIAGNOSTIC: "diagnostic"
|
|
167
|
+
};
|
|
168
|
+
var INBOUND_PIPELINE_DOMAIN = {
|
|
169
|
+
id: DOMAINS.INBOUND_PIPELINE,
|
|
170
|
+
name: "Inbound Pipeline",
|
|
171
|
+
description: "End-to-end inbound client acquisition from first reply to onboarding",
|
|
172
|
+
color: "blue"
|
|
173
|
+
};
|
|
174
|
+
var LEAD_GEN_PIPELINE_DOMAIN = {
|
|
175
|
+
id: DOMAINS.LEAD_GEN_PIPELINE,
|
|
176
|
+
name: "Lead Gen Pipeline",
|
|
177
|
+
description: "Lead scraping, enrichment, qualification, and personalization",
|
|
178
|
+
color: "cyan"
|
|
179
|
+
};
|
|
180
|
+
var SUPPORT_DOMAIN = {
|
|
181
|
+
id: DOMAINS.SUPPORT,
|
|
182
|
+
name: "Customer Support",
|
|
183
|
+
description: "Ticket triage, knowledge base, escalations",
|
|
184
|
+
color: "green"
|
|
185
|
+
};
|
|
186
|
+
var CLIENT_SUPPORT_DOMAIN = {
|
|
187
|
+
id: DOMAINS.CLIENT_SUPPORT,
|
|
188
|
+
name: "Client Support",
|
|
189
|
+
description: "Client change requests, bug reports, and feature requests",
|
|
190
|
+
color: "teal"
|
|
191
|
+
};
|
|
192
|
+
var DELIVERY_DOMAIN = {
|
|
193
|
+
id: DOMAINS.DELIVERY,
|
|
194
|
+
name: "Client Delivery",
|
|
195
|
+
description: "Project execution and milestone tracking",
|
|
196
|
+
color: "orange"
|
|
197
|
+
};
|
|
198
|
+
var OPERATIONS_DOMAIN = {
|
|
199
|
+
id: DOMAINS.OPERATIONS,
|
|
200
|
+
name: "Operations",
|
|
201
|
+
description: "Internal business operations and administration",
|
|
202
|
+
color: "violet"
|
|
203
|
+
};
|
|
204
|
+
var FINANCE_DOMAIN = {
|
|
205
|
+
id: DOMAINS.FINANCE,
|
|
206
|
+
name: "Finance",
|
|
207
|
+
description: "Billing, invoicing, and financial operations",
|
|
208
|
+
color: "pink"
|
|
209
|
+
};
|
|
210
|
+
var EXECUTIVE_DOMAIN = {
|
|
211
|
+
id: DOMAINS.EXECUTIVE,
|
|
212
|
+
name: "Executive Operations",
|
|
213
|
+
description: "High-level business orchestration and decision-making",
|
|
214
|
+
color: "indigo"
|
|
215
|
+
};
|
|
216
|
+
var TESTING_DOMAIN = {
|
|
217
|
+
id: DOMAINS.TESTING,
|
|
218
|
+
name: "Testing",
|
|
219
|
+
description: "Test resources and development workflows",
|
|
220
|
+
color: "gray"
|
|
221
|
+
};
|
|
222
|
+
var INTERNAL_DOMAIN = {
|
|
223
|
+
id: DOMAINS.INTERNAL,
|
|
224
|
+
name: "Internal",
|
|
225
|
+
description: "Internal platform resources",
|
|
226
|
+
color: "dark"
|
|
227
|
+
};
|
|
228
|
+
var INTEGRATION_DOMAIN = {
|
|
229
|
+
id: DOMAINS.INTEGRATION,
|
|
230
|
+
name: "Integration",
|
|
231
|
+
description: "External service integrations",
|
|
232
|
+
color: "teal"
|
|
233
|
+
};
|
|
234
|
+
var INSTANTLY_DOMAIN = {
|
|
235
|
+
id: DOMAINS.INSTANTLY,
|
|
236
|
+
name: "Instantly Toolkit",
|
|
237
|
+
description: "Instantly campaign creation, analytics, and optimization",
|
|
238
|
+
color: "lime"
|
|
239
|
+
};
|
|
240
|
+
var UTILITY_DOMAIN = {
|
|
241
|
+
id: DOMAINS.UTILITY,
|
|
242
|
+
name: "Utility",
|
|
243
|
+
description: "Utility workflows for maintenance and diagnostics",
|
|
244
|
+
color: "grape"
|
|
245
|
+
};
|
|
246
|
+
var DIAGNOSTIC_DOMAIN = {
|
|
247
|
+
id: DOMAINS.DIAGNOSTIC,
|
|
248
|
+
name: "Diagnostic",
|
|
249
|
+
description: "Diagnostic workflows for testing integrations and services",
|
|
250
|
+
color: "yellow"
|
|
251
|
+
};
|
|
252
|
+
var DOMAIN_MAP = {
|
|
253
|
+
[DOMAINS.INBOUND_PIPELINE]: INBOUND_PIPELINE_DOMAIN,
|
|
254
|
+
[DOMAINS.LEAD_GEN_PIPELINE]: LEAD_GEN_PIPELINE_DOMAIN,
|
|
255
|
+
[DOMAINS.SUPPORT]: SUPPORT_DOMAIN,
|
|
256
|
+
[DOMAINS.CLIENT_SUPPORT]: CLIENT_SUPPORT_DOMAIN,
|
|
257
|
+
[DOMAINS.DELIVERY]: DELIVERY_DOMAIN,
|
|
258
|
+
[DOMAINS.OPERATIONS]: OPERATIONS_DOMAIN,
|
|
259
|
+
[DOMAINS.FINANCE]: FINANCE_DOMAIN,
|
|
260
|
+
[DOMAINS.EXECUTIVE]: EXECUTIVE_DOMAIN,
|
|
261
|
+
[DOMAINS.TESTING]: TESTING_DOMAIN,
|
|
262
|
+
[DOMAINS.INTERNAL]: INTERNAL_DOMAIN,
|
|
263
|
+
[DOMAINS.INSTANTLY]: INSTANTLY_DOMAIN,
|
|
264
|
+
[DOMAINS.INTEGRATION]: INTEGRATION_DOMAIN,
|
|
265
|
+
[DOMAINS.UTILITY]: UTILITY_DOMAIN,
|
|
266
|
+
[DOMAINS.DIAGNOSTIC]: DIAGNOSTIC_DOMAIN
|
|
267
|
+
};
|
|
268
|
+
|
|
149
269
|
// ../core/src/platform/registry/resource-metadata.ts
|
|
150
270
|
var resourceTypeIconNames = {
|
|
151
271
|
agent: "IconBrain",
|
|
@@ -244,4 +364,4 @@ function restoreConsole() {
|
|
|
244
364
|
console.warn = originalConsoleWarn;
|
|
245
365
|
}
|
|
246
366
|
|
|
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 };
|
|
367
|
+
export { APIClientError, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DOMAIN_MAP, 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,9 +1,9 @@
|
|
|
1
1
|
import { AppBackground } from './chunk-NUULWBAD.js';
|
|
2
2
|
import { ElevasisLoader } from './chunk-SZHARWKU.js';
|
|
3
3
|
import { PRESETS, getPreset, generateShades, mantineThemeOverride, createCssVariablesResolver, PresetsProvider } from './chunk-UEYUPTAD.js';
|
|
4
|
-
import { ElevasisCoreProvider } from './chunk-
|
|
4
|
+
import { ElevasisCoreProvider } from './chunk-UANJP5P7.js';
|
|
5
5
|
import { AppearanceProvider } from './chunk-QJ2KCHKX.js';
|
|
6
|
-
import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-
|
|
6
|
+
import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-MBZDE6UT.js';
|
|
7
7
|
import { useMemo, useEffect } from 'react';
|
|
8
8
|
import { Loader, mergeThemeOverrides, MantineProvider } from '@mantine/core';
|
|
9
9
|
import '@mantine/core/styles.css';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OrganizationProvider } from './chunk-U2522LSW.js';
|
|
2
|
-
import { ApiClientProvider, useApiClient } from './chunk-
|
|
3
|
-
import { getErrorInfo, getErrorTitle, formatErrorMessage } from './chunk-
|
|
2
|
+
import { ApiClientProvider, useApiClient } from './chunk-JNBHUCKW.js';
|
|
3
|
+
import { getErrorInfo, getErrorTitle, formatErrorMessage } from './chunk-MBZDE6UT.js';
|
|
4
4
|
import { InitializationProvider } from './chunk-DVKEEY5J.js';
|
|
5
5
|
import { ProfileProvider, ElevasisServiceProvider } from './chunk-QEPXAWE2.js';
|
|
6
6
|
import { useOrganization } from './chunk-DD3CCMCZ.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CredentialNameSchema, UuidSchema, useErrorNotification } from './chunk-
|
|
1
|
+
import { CredentialNameSchema, UuidSchema, useErrorNotification } from './chunk-2Z7LYTIX.js';
|
|
2
2
|
import { getTimeRangeDates } from './chunk-LXHZYSMQ.js';
|
|
3
|
-
import { useNotificationAdapter } from './chunk-
|
|
4
|
-
import { GC_TIME_SHORT, STALE_TIME_MONITORING, GC_TIME_MEDIUM, STALE_TIME_DEFAULT, getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-
|
|
3
|
+
import { useNotificationAdapter } from './chunk-UANJP5P7.js';
|
|
4
|
+
import { GC_TIME_SHORT, STALE_TIME_MONITORING, GC_TIME_MEDIUM, STALE_TIME_DEFAULT, getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-MBZDE6UT.js';
|
|
5
5
|
import { useElevasisServices } from './chunk-QEPXAWE2.js';
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
import { create } from 'zustand';
|
|
@@ -1180,37 +1180,6 @@ var SubshellSidebar = ({
|
|
|
1180
1180
|
}
|
|
1181
1181
|
);
|
|
1182
1182
|
};
|
|
1183
|
-
var SubshellSidebarSection = ({
|
|
1184
|
-
icon: Icon,
|
|
1185
|
-
label,
|
|
1186
|
-
rightSection,
|
|
1187
|
-
withTopBorder = false
|
|
1188
|
-
}) => {
|
|
1189
|
-
return /* @__PURE__ */ jsx(
|
|
1190
|
-
Box,
|
|
1191
|
-
{
|
|
1192
|
-
p: "sm",
|
|
1193
|
-
style: {
|
|
1194
|
-
borderTop: withTopBorder ? "1px solid var(--color-border)" : void 0,
|
|
1195
|
-
borderBottom: "1px solid var(--color-border)"
|
|
1196
|
-
},
|
|
1197
|
-
children: /* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
|
|
1198
|
-
/* @__PURE__ */ jsx(Icon, { size: 16, color: "var(--color-text-subtle)" }),
|
|
1199
|
-
/* @__PURE__ */ jsx(
|
|
1200
|
-
Text,
|
|
1201
|
-
{
|
|
1202
|
-
size: "sm",
|
|
1203
|
-
fw: 600,
|
|
1204
|
-
c: "var(--color-text-subtle)",
|
|
1205
|
-
style: { fontFamily: "var(--mantine-font-family-headings)", flex: 1 },
|
|
1206
|
-
children: label
|
|
1207
|
-
}
|
|
1208
|
-
),
|
|
1209
|
-
rightSection
|
|
1210
|
-
] })
|
|
1211
|
-
}
|
|
1212
|
-
);
|
|
1213
|
-
};
|
|
1214
1183
|
|
|
1215
1184
|
// src/components/layout/sub-shell/constants.ts
|
|
1216
1185
|
var subsidebarWidth = 200;
|
|
@@ -1303,4 +1272,4 @@ var Topbar = ({ version, leftContent, children }) => {
|
|
|
1303
1272
|
] });
|
|
1304
1273
|
};
|
|
1305
1274
|
|
|
1306
|
-
export { AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, LinksGroup, PageContainer, Sidebar, SidebarContext, SidebarListItem, SidebarProvider, SubshellContainer, SubshellContentContainer, SubshellRightSideContainer, SubshellSidebar,
|
|
1275
|
+
export { AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, LinksGroup, PageContainer, Sidebar, SidebarContext, SidebarListItem, SidebarProvider, SubshellContainer, SubshellContentContainer, SubshellRightSideContainer, SubshellSidebar, Topbar, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse };
|
package/dist/components/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { SubshellContainer, SubshellSidebar, SubshellRightSideContainer, SubshellContentContainer, PageContainer, AppShellLoader,
|
|
2
|
-
import { BaseNode, useGraphTheme, BaseEdge, GraphBackground, GraphLegend, GraphFitViewButton, GraphFitViewHandler } from '../chunk-
|
|
3
|
-
export { AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, BaseEdge, BaseNode, EmptyVisualizer, ExecutionStats, ExecutionStatusBadge, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, VisualizerContainer, WorkflowExecutionTimeline, getGraphBackgroundStyles, useGraphBackgroundStyles, useGraphTheme } from '../chunk-
|
|
4
|
-
import { SubshellLoader } from '../chunk-
|
|
5
|
-
import { useCyberColors, EmptyState, CyberLegendItem, CyberAreaChart, APIErrorAlert, CardHeader, StatsCardSkeleton, TrendIndicator, DetailCardSkeleton, ContextViewer, JsonViewer, StyledMarkdown, PageTitleCaption, StatCard, CyberDonut, CollapsibleSection, ListSkeleton } from '../chunk-
|
|
6
|
-
export { APIErrorAlert, CardHeader, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, EmptyState, GlowDot, JsonViewer, ListSkeleton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, StyledMarkdown, TabCountBadge, TimeRangeSelector, TrendIndicator, catalogItemToResourceDefinition } from '../chunk-
|
|
1
|
+
import { SubshellContainer, SubshellSidebar, SubshellRightSideContainer, SubshellContentContainer, PageContainer, AppShellLoader, CollapsibleSidebarGroup, SidebarListItem } from '../chunk-WAPZN2U3.js';
|
|
2
|
+
import { BaseNode, useGraphTheme, BaseEdge, GraphBackground, GraphLegend, GraphFitViewButton, GraphFitViewHandler } from '../chunk-BVNAC4SQ.js';
|
|
3
|
+
export { AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, BaseEdge, BaseNode, EmptyVisualizer, ExecutionStats, ExecutionStatusBadge, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, VisualizerContainer, WorkflowExecutionTimeline, getGraphBackgroundStyles, useGraphBackgroundStyles, useGraphTheme } from '../chunk-BVNAC4SQ.js';
|
|
4
|
+
import { SubshellLoader, SubshellSidebarSection } from '../chunk-35UWYH2A.js';
|
|
5
|
+
import { useCyberColors, EmptyState, CyberLegendItem, CyberAreaChart, APIErrorAlert, CardHeader, StatsCardSkeleton, TrendIndicator, DetailCardSkeleton, ContextViewer, JsonViewer, StyledMarkdown, PageTitleCaption, StatCard, CyberDonut, CollapsibleSection, ListSkeleton } from '../chunk-LBY7FVFD.js';
|
|
6
|
+
export { APIErrorAlert, CardHeader, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, EmptyState, GlowDot, JsonViewer, ListSkeleton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, StyledMarkdown, TabCountBadge, TimeRangeSelector, TrendIndicator, catalogItemToResourceDefinition } from '../chunk-LBY7FVFD.js';
|
|
7
7
|
export { NavigationButton } from '../chunk-KBLGVZBD.js';
|
|
8
|
-
import { useUpdateApiKey, useDeleteApiKey, useCreateApiKey, useListApiKeys, useDeleteCredential, useCreateCredential, useCredentials, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments, MEMBERSHIP_STATUS_COLORS, transformMembershipToTableRow, showApiErrorNotification, showSuccessNotification, CredentialSchemas, showErrorNotification } from '../chunk-
|
|
9
|
-
export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-
|
|
10
|
-
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-
|
|
8
|
+
import { useUpdateApiKey, useDeleteApiKey, useCreateApiKey, useListApiKeys, useDeleteCredential, useCreateCredential, useCredentials, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments, MEMBERSHIP_STATUS_COLORS, transformMembershipToTableRow, showApiErrorNotification, showSuccessNotification, CredentialSchemas, showErrorNotification } from '../chunk-UTWJZEOJ.js';
|
|
9
|
+
export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-UTWJZEOJ.js';
|
|
10
|
+
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-2Z7LYTIX.js';
|
|
11
11
|
import { getTimeRangeDates, formatBucketTime } from '../chunk-LXHZYSMQ.js';
|
|
12
12
|
import '../chunk-NJJ3NQ7B.js';
|
|
13
13
|
import '../chunk-MHW43EOH.js';
|
|
@@ -19,16 +19,16 @@ import { ResourceStatusColors, toWorkflowLogMessages } from '../chunk-ELJIFLCB.j
|
|
|
19
19
|
import '../chunk-L4XXM55J.js';
|
|
20
20
|
import '../chunk-SLVC5OJ2.js';
|
|
21
21
|
import '../chunk-RNP5R5I3.js';
|
|
22
|
-
import '../chunk-
|
|
22
|
+
import '../chunk-OCF63OXD.js';
|
|
23
23
|
import '../chunk-NUULWBAD.js';
|
|
24
24
|
export { ElevasisLoader } from '../chunk-SZHARWKU.js';
|
|
25
25
|
import '../chunk-UEYUPTAD.js';
|
|
26
26
|
import '../chunk-7ATCF6UL.js';
|
|
27
|
-
import '../chunk-
|
|
27
|
+
import '../chunk-UANJP5P7.js';
|
|
28
28
|
import { useAppearance } from '../chunk-QJ2KCHKX.js';
|
|
29
29
|
import '../chunk-U2522LSW.js';
|
|
30
|
-
import '../chunk-
|
|
31
|
-
import { getResourceIcon, getResourceColor, PAGE_SIZE_DEFAULT, getErrorInfo, formatErrorMessage, formatDateTime } from '../chunk-
|
|
30
|
+
import '../chunk-JNBHUCKW.js';
|
|
31
|
+
import { getResourceIcon, getResourceColor, PAGE_SIZE_DEFAULT, getErrorInfo, formatErrorMessage, formatDateTime } from '../chunk-MBZDE6UT.js';
|
|
32
32
|
import '../chunk-CC3SDRIF.js';
|
|
33
33
|
import '../chunk-ALA56RGZ.js';
|
|
34
34
|
import { useInitialization } from '../chunk-DVKEEY5J.js';
|
|
@@ -86,5 +86,13 @@ interface ResourcesPageProps {
|
|
|
86
86
|
}
|
|
87
87
|
declare function ResourcesPage({ initialFilter, onTypeChange, timeRange, onResourceClick, pageSize }: ResourcesPageProps): react_jsx_runtime.JSX.Element;
|
|
88
88
|
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
interface ResourcesSidebarProps {
|
|
90
|
+
timeRange: TimeRange;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Resources sidebar - shows execution health donut, domain filters and search
|
|
94
|
+
*/
|
|
95
|
+
declare function ResourcesSidebar({ timeRange }: ResourcesSidebarProps): react_jsx_runtime.JSX.Element;
|
|
96
|
+
|
|
97
|
+
export { ResourcesPage, ResourcesSidebar };
|
|
98
|
+
export type { ResourcesPageProps, ResourcesSidebarProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ExecutionStats } from '../../chunk-
|
|
2
|
-
import { SubshellLoader } from '../../chunk-
|
|
3
|
-
import { PageTitleCaption, TabCountBadge, ResourceCard } from '../../chunk-
|
|
1
|
+
import { ExecutionStats } from '../../chunk-BVNAC4SQ.js';
|
|
2
|
+
import { SubshellLoader, SubshellSidebarSection } from '../../chunk-35UWYH2A.js';
|
|
3
|
+
import { PageTitleCaption, TabCountBadge, ResourceCard, useCyberColors, CyberDonut } from '../../chunk-LBY7FVFD.js';
|
|
4
4
|
import '../../chunk-KBLGVZBD.js';
|
|
5
|
-
import { useStatusFilter, useResourceSearch, useResourcesDomainFilters, filterByDomainFilters } from '../../chunk-
|
|
6
|
-
import { usePaginationState, useResources, useRecentExecutionsByResource } from '../../chunk-
|
|
5
|
+
import { useStatusFilter, useResourceSearch, useResourcesDomainFilters, filterByDomainFilters } from '../../chunk-UTWJZEOJ.js';
|
|
6
|
+
import { usePaginationState, useResources, useRecentExecutionsByResource } from '../../chunk-2Z7LYTIX.js';
|
|
7
7
|
import '../../chunk-LXHZYSMQ.js';
|
|
8
8
|
import '../../chunk-NJJ3NQ7B.js';
|
|
9
9
|
import '../../chunk-MHW43EOH.js';
|
|
@@ -13,16 +13,16 @@ import '../../chunk-ELJIFLCB.js';
|
|
|
13
13
|
import '../../chunk-L4XXM55J.js';
|
|
14
14
|
import '../../chunk-SLVC5OJ2.js';
|
|
15
15
|
import '../../chunk-RNP5R5I3.js';
|
|
16
|
-
import '../../chunk-
|
|
16
|
+
import '../../chunk-OCF63OXD.js';
|
|
17
17
|
import '../../chunk-NUULWBAD.js';
|
|
18
18
|
import '../../chunk-SZHARWKU.js';
|
|
19
19
|
import '../../chunk-UEYUPTAD.js';
|
|
20
20
|
import '../../chunk-7ATCF6UL.js';
|
|
21
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-UANJP5P7.js';
|
|
22
22
|
import '../../chunk-QJ2KCHKX.js';
|
|
23
23
|
import '../../chunk-U2522LSW.js';
|
|
24
|
-
import '../../chunk-
|
|
25
|
-
import { formatRelativeTime } from '../../chunk-
|
|
24
|
+
import '../../chunk-JNBHUCKW.js';
|
|
25
|
+
import { formatRelativeTime, DOMAIN_MAP } from '../../chunk-MBZDE6UT.js';
|
|
26
26
|
import '../../chunk-CC3SDRIF.js';
|
|
27
27
|
import '../../chunk-ALA56RGZ.js';
|
|
28
28
|
import { useInitialization } from '../../chunk-DVKEEY5J.js';
|
|
@@ -30,10 +30,10 @@ import '../../chunk-QEPXAWE2.js';
|
|
|
30
30
|
import '../../chunk-DD3CCMCZ.js';
|
|
31
31
|
import '../../chunk-BRJ3QZ4E.js';
|
|
32
32
|
import '../../chunk-Q7DJKLEN.js';
|
|
33
|
-
import { Stack, Card, Text, Button, Tabs, Group, Pagination } from '@mantine/core';
|
|
34
|
-
import { IconApps, IconRoute, IconBrain } from '@tabler/icons-react';
|
|
33
|
+
import { Stack, Card, Text, Button, Tabs, Group, Pagination, useMantineTheme, Box, Center, Loader, UnstyledButton, TextInput, Divider } from '@mantine/core';
|
|
34
|
+
import { IconApps, IconRoute, IconBrain, IconRefresh, IconAdjustmentsHorizontal, IconSearch, IconChevronDown, IconCircleX, IconCircleCheck, IconCircleDashed } from '@tabler/icons-react';
|
|
35
35
|
import { useState, useEffect, useMemo } from 'react';
|
|
36
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
36
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
37
37
|
|
|
38
38
|
function ResourcesPage({
|
|
39
39
|
initialFilter,
|
|
@@ -237,5 +237,290 @@ function ResourcesPage({
|
|
|
237
237
|
) })
|
|
238
238
|
] });
|
|
239
239
|
}
|
|
240
|
+
var FILTER_STATE_ICONS = {
|
|
241
|
+
neutral: IconCircleDashed,
|
|
242
|
+
include: IconCircleCheck,
|
|
243
|
+
exclude: IconCircleX
|
|
244
|
+
};
|
|
245
|
+
var FILTER_STATE_COLORS = {
|
|
246
|
+
neutral: "var(--color-text-subtle)",
|
|
247
|
+
include: "var(--mantine-color-green-6)",
|
|
248
|
+
exclude: "var(--mantine-color-red-6)"
|
|
249
|
+
};
|
|
250
|
+
var FILTER_STATE_LABELS = {
|
|
251
|
+
neutral: "Not filtered",
|
|
252
|
+
include: "Include only",
|
|
253
|
+
exclude: "Exclude"
|
|
254
|
+
};
|
|
255
|
+
function ResourcesSidebar({ timeRange }) {
|
|
256
|
+
const searchQuery = useResourceSearch((s) => s.query);
|
|
257
|
+
const setSearchQuery = useResourceSearch((s) => s.set);
|
|
258
|
+
const statusFilter = useStatusFilter((s) => s.value);
|
|
259
|
+
const setStatusFilter = useStatusFilter((s) => s.set);
|
|
260
|
+
const [domainsOpen, setDomainsOpen] = useState(true);
|
|
261
|
+
const domainFilters = useResourcesDomainFilters((s) => s.filters);
|
|
262
|
+
const cycleDomainFilter = useResourcesDomainFilters((s) => s.cycle);
|
|
263
|
+
const { organizationReady } = useInitialization();
|
|
264
|
+
const { data: resources, isLoading: isResourcesLoading, error, refetch } = useResources();
|
|
265
|
+
const theme = useMantineTheme();
|
|
266
|
+
const colors = useCyberColors();
|
|
267
|
+
const { data: executionData } = useRecentExecutionsByResource({ timeRange });
|
|
268
|
+
const activeDomains = useMemo(() => {
|
|
269
|
+
if (!resources) return [];
|
|
270
|
+
const allResources = [...resources.workflows || [], ...resources.agents || []];
|
|
271
|
+
const domainSet = /* @__PURE__ */ new Set();
|
|
272
|
+
allResources.forEach((r) => r.domains?.forEach((d) => domainSet.add(d)));
|
|
273
|
+
const bottomDomains = /* @__PURE__ */ new Set(["utility", "diagnostic"]);
|
|
274
|
+
return Array.from(domainSet).sort((a, b) => {
|
|
275
|
+
const aBottom = bottomDomains.has(a) ? 1 : 0;
|
|
276
|
+
const bBottom = bottomDomains.has(b) ? 1 : 0;
|
|
277
|
+
if (aBottom !== bBottom) return aBottom - bBottom;
|
|
278
|
+
return a.localeCompare(b);
|
|
279
|
+
});
|
|
280
|
+
}, [resources]);
|
|
281
|
+
const domainFilteredResources = useMemo(() => {
|
|
282
|
+
if (!resources) return [];
|
|
283
|
+
const allResources = [...resources.workflows || [], ...resources.agents || []];
|
|
284
|
+
return filterByDomainFilters(allResources, domainFilters);
|
|
285
|
+
}, [resources, domainFilters]);
|
|
286
|
+
const { donutSuccessCount, donutFailedCount } = useMemo(() => {
|
|
287
|
+
if (!executionData?.resources || domainFilteredResources.length === 0) {
|
|
288
|
+
return { donutSuccessCount: 0, donutFailedCount: 0 };
|
|
289
|
+
}
|
|
290
|
+
const filteredIds = new Set(domainFilteredResources.map((r) => r.resourceId));
|
|
291
|
+
let success = 0;
|
|
292
|
+
let failed = 0;
|
|
293
|
+
for (const r of executionData.resources) {
|
|
294
|
+
if (filteredIds.has(r.resourceId)) {
|
|
295
|
+
success += r.successCount;
|
|
296
|
+
failed += r.failureCount;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
return { donutSuccessCount: success, donutFailedCount: failed };
|
|
300
|
+
}, [executionData, domainFilteredResources]);
|
|
301
|
+
if (!organizationReady || isResourcesLoading) {
|
|
302
|
+
return /* @__PURE__ */ jsx(Box, { style: { flex: 1, minHeight: 0, padding: theme.spacing.sm }, children: /* @__PURE__ */ jsx(Center, { p: "xl", children: /* @__PURE__ */ jsx(Loader, {}) }) });
|
|
303
|
+
}
|
|
304
|
+
if (error) {
|
|
305
|
+
return /* @__PURE__ */ jsxs(Box, { style: { flex: 1, minHeight: 0, padding: theme.spacing.sm }, children: [
|
|
306
|
+
/* @__PURE__ */ jsx(
|
|
307
|
+
Text,
|
|
308
|
+
{
|
|
309
|
+
size: "xs",
|
|
310
|
+
fw: 600,
|
|
311
|
+
c: "dimmed",
|
|
312
|
+
tt: "uppercase",
|
|
313
|
+
mb: "md",
|
|
314
|
+
style: { fontFamily: "var(--elevasis-font-family-subtitle)" },
|
|
315
|
+
children: "Error Loading Resources"
|
|
316
|
+
}
|
|
317
|
+
),
|
|
318
|
+
/* @__PURE__ */ jsx(Text, { size: "sm", c: "red", mb: "md", children: error instanceof Error ? error.message : "Failed to load resources" }),
|
|
319
|
+
/* @__PURE__ */ jsx(Button, { size: "xs", leftSection: /* @__PURE__ */ jsx(IconRefresh, { size: 14 }), onClick: () => refetch(), variant: "light", children: "Retry" })
|
|
320
|
+
] });
|
|
321
|
+
}
|
|
322
|
+
const totalExecutions = donutSuccessCount + donutFailedCount;
|
|
323
|
+
const successRate = totalExecutions > 0 ? donutSuccessCount / totalExecutions * 100 : 0;
|
|
324
|
+
const healthSegments = [
|
|
325
|
+
{ name: "Completed", value: donutSuccessCount, color: colors.green },
|
|
326
|
+
{ name: "Failed", value: donutFailedCount, color: colors.red }
|
|
327
|
+
];
|
|
328
|
+
const centerValueColor = totalExecutions === 0 ? "var(--mantine-color-dimmed)" : successRate >= 95 ? colors.green : successRate >= 80 ? colors.yellow : colors.red;
|
|
329
|
+
return /* @__PURE__ */ jsxs(Stack, { gap: 0, style: { flex: 1, minHeight: 0, overflow: "hidden" }, children: [
|
|
330
|
+
/* @__PURE__ */ jsx(Box, { p: "sm", pb: 0, children: /* @__PURE__ */ jsx(Box, { pb: "xs", mb: 4, children: /* @__PURE__ */ jsx(
|
|
331
|
+
CyberDonut,
|
|
332
|
+
{
|
|
333
|
+
title: `Execution Health (${timeRange})`,
|
|
334
|
+
segments: healthSegments,
|
|
335
|
+
centerValue: totalExecutions === 0 ? "\u2014" : `${Math.round(successRate)}%`,
|
|
336
|
+
centerLabel: `${totalExecutions} runs`,
|
|
337
|
+
centerValueColor,
|
|
338
|
+
glowId: "resHealthGlow",
|
|
339
|
+
colors
|
|
340
|
+
}
|
|
341
|
+
) }) }),
|
|
342
|
+
/* @__PURE__ */ jsx(
|
|
343
|
+
SubshellSidebarSection,
|
|
344
|
+
{
|
|
345
|
+
icon: IconAdjustmentsHorizontal,
|
|
346
|
+
label: "Resource Filters",
|
|
347
|
+
withTopBorder: true,
|
|
348
|
+
rightSection: /* @__PURE__ */ jsx(UnstyledButton, { title: "Refresh resources", onClick: () => refetch(), children: /* @__PURE__ */ jsx(IconRefresh, { size: 16, color: "var(--color-text-subtle)" }) })
|
|
349
|
+
}
|
|
350
|
+
),
|
|
351
|
+
/* @__PURE__ */ jsxs(Box, { p: "sm", style: { flex: 1, minHeight: 0, display: "flex", flexDirection: "column", overflowY: "auto" }, children: [
|
|
352
|
+
resources && (() => {
|
|
353
|
+
const stats = [
|
|
354
|
+
{
|
|
355
|
+
key: "all",
|
|
356
|
+
label: "All",
|
|
357
|
+
count: domainFilteredResources.length,
|
|
358
|
+
color: "var(--color-text)",
|
|
359
|
+
activeColor: "var(--color-primary)"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
key: "prod",
|
|
363
|
+
label: "Prod",
|
|
364
|
+
count: domainFilteredResources.filter((r) => r.status === "prod").length,
|
|
365
|
+
color: "var(--color-text)",
|
|
366
|
+
activeColor: "var(--color-primary)"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
key: "dev",
|
|
370
|
+
label: "Dev",
|
|
371
|
+
count: domainFilteredResources.filter((r) => r.status === "dev").length,
|
|
372
|
+
color: "var(--color-text)",
|
|
373
|
+
activeColor: "var(--color-primary)"
|
|
374
|
+
}
|
|
375
|
+
];
|
|
376
|
+
return /* @__PURE__ */ jsx(
|
|
377
|
+
Group,
|
|
378
|
+
{
|
|
379
|
+
gap: 0,
|
|
380
|
+
mb: "sm",
|
|
381
|
+
style: {
|
|
382
|
+
flexShrink: 0,
|
|
383
|
+
borderRadius: "var(--mantine-radius-default)",
|
|
384
|
+
border: "1px solid var(--color-border)",
|
|
385
|
+
background: "var(--glass-background)",
|
|
386
|
+
overflow: "hidden"
|
|
387
|
+
},
|
|
388
|
+
children: stats.map((stat, i) => {
|
|
389
|
+
const isActive = statusFilter === stat.key;
|
|
390
|
+
return /* @__PURE__ */ jsx(
|
|
391
|
+
UnstyledButton,
|
|
392
|
+
{
|
|
393
|
+
onClick: () => setStatusFilter(stat.key),
|
|
394
|
+
style: {
|
|
395
|
+
flex: 1,
|
|
396
|
+
borderLeft: i > 0 ? "1px solid var(--color-border)" : void 0,
|
|
397
|
+
background: isActive ? "var(--active-background)" : "transparent",
|
|
398
|
+
boxShadow: isActive ? "inset 0 -2px 0 var(--color-primary)" : "none",
|
|
399
|
+
transition: "all var(--duration-fast) var(--easing)"
|
|
400
|
+
},
|
|
401
|
+
children: /* @__PURE__ */ jsxs(Stack, { gap: 0, align: "center", py: 8, children: [
|
|
402
|
+
/* @__PURE__ */ jsx(
|
|
403
|
+
Text,
|
|
404
|
+
{
|
|
405
|
+
size: "md",
|
|
406
|
+
fw: 700,
|
|
407
|
+
ff: "monospace",
|
|
408
|
+
style: { color: isActive ? stat.activeColor : "var(--color-text)", lineHeight: 1.2 },
|
|
409
|
+
children: stat.count
|
|
410
|
+
}
|
|
411
|
+
),
|
|
412
|
+
/* @__PURE__ */ jsx(
|
|
413
|
+
Text,
|
|
414
|
+
{
|
|
415
|
+
size: "xs",
|
|
416
|
+
c: isActive ? void 0 : "dimmed",
|
|
417
|
+
fw: isActive ? 600 : 400,
|
|
418
|
+
style: { lineHeight: 1.2 },
|
|
419
|
+
children: stat.label
|
|
420
|
+
}
|
|
421
|
+
)
|
|
422
|
+
] })
|
|
423
|
+
},
|
|
424
|
+
stat.key
|
|
425
|
+
);
|
|
426
|
+
})
|
|
427
|
+
}
|
|
428
|
+
);
|
|
429
|
+
})(),
|
|
430
|
+
/* @__PURE__ */ jsx(
|
|
431
|
+
TextInput,
|
|
432
|
+
{
|
|
433
|
+
placeholder: "Filter resources...",
|
|
434
|
+
leftSection: /* @__PURE__ */ jsx(IconSearch, { size: 16 }),
|
|
435
|
+
size: "sm",
|
|
436
|
+
value: searchQuery,
|
|
437
|
+
onChange: (e) => setSearchQuery(e.currentTarget.value),
|
|
438
|
+
mb: "sm",
|
|
439
|
+
style: { flexShrink: 0 }
|
|
440
|
+
}
|
|
441
|
+
),
|
|
442
|
+
activeDomains.length > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
443
|
+
/* @__PURE__ */ jsx(UnstyledButton, { onClick: () => setDomainsOpen((o) => !o), style: { width: "100%", flexShrink: 0 }, mt: 4, children: /* @__PURE__ */ jsxs(Group, { justify: "space-between", children: [
|
|
444
|
+
/* @__PURE__ */ jsx(
|
|
445
|
+
Text,
|
|
446
|
+
{
|
|
447
|
+
size: "sm",
|
|
448
|
+
fw: 600,
|
|
449
|
+
c: "dimmed",
|
|
450
|
+
tt: "uppercase",
|
|
451
|
+
style: { fontFamily: "var(--elevasis-font-family-subtitle)" },
|
|
452
|
+
children: "Domains"
|
|
453
|
+
}
|
|
454
|
+
),
|
|
455
|
+
/* @__PURE__ */ jsx(
|
|
456
|
+
IconChevronDown,
|
|
457
|
+
{
|
|
458
|
+
size: 14,
|
|
459
|
+
style: {
|
|
460
|
+
transform: domainsOpen ? "rotate(180deg)" : "rotate(0deg)",
|
|
461
|
+
transition: "transform var(--duration-fast) var(--easing)",
|
|
462
|
+
color: "var(--color-text-subtle)"
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
)
|
|
466
|
+
] }) }),
|
|
467
|
+
/* @__PURE__ */ jsx(
|
|
468
|
+
"div",
|
|
469
|
+
{
|
|
470
|
+
style: {
|
|
471
|
+
display: "grid",
|
|
472
|
+
gridTemplateRows: domainsOpen ? "1fr" : "0fr",
|
|
473
|
+
transition: "grid-template-rows 200ms cubic-bezier(0.4, 0, 0.2, 1)"
|
|
474
|
+
},
|
|
475
|
+
children: /* @__PURE__ */ jsx("div", { style: { overflow: "hidden" }, children: /* @__PURE__ */ jsx(Stack, { gap: 2, mt: "xs", style: { flexShrink: 0 }, children: activeDomains.map((domainId) => {
|
|
476
|
+
const domain = DOMAIN_MAP[domainId];
|
|
477
|
+
if (!domain) return null;
|
|
478
|
+
const filterState = domainFilters[domainId] || "neutral";
|
|
479
|
+
const StateIcon = FILTER_STATE_ICONS[filterState];
|
|
480
|
+
return /* @__PURE__ */ jsx(
|
|
481
|
+
UnstyledButton,
|
|
482
|
+
{
|
|
483
|
+
title: FILTER_STATE_LABELS[filterState],
|
|
484
|
+
onClick: () => cycleDomainFilter(domainId),
|
|
485
|
+
py: 5,
|
|
486
|
+
px: 6,
|
|
487
|
+
style: {
|
|
488
|
+
transition: "background-color var(--duration-fast) var(--easing)",
|
|
489
|
+
"&:hover": { backgroundColor: "var(--color-surface-hover)" }
|
|
490
|
+
},
|
|
491
|
+
children: /* @__PURE__ */ jsxs(Group, { gap: 10, wrap: "nowrap", children: [
|
|
492
|
+
/* @__PURE__ */ jsx(
|
|
493
|
+
StateIcon,
|
|
494
|
+
{
|
|
495
|
+
size: 16,
|
|
496
|
+
style: {
|
|
497
|
+
color: FILTER_STATE_COLORS[filterState],
|
|
498
|
+
flexShrink: 0,
|
|
499
|
+
transition: "color var(--duration-fast) var(--easing)"
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
),
|
|
503
|
+
/* @__PURE__ */ jsx(
|
|
504
|
+
Text,
|
|
505
|
+
{
|
|
506
|
+
size: "sm",
|
|
507
|
+
truncate: true,
|
|
508
|
+
fw: filterState !== "neutral" ? 500 : 400,
|
|
509
|
+
c: filterState !== "neutral" ? void 0 : "dimmed",
|
|
510
|
+
children: domain.name
|
|
511
|
+
}
|
|
512
|
+
)
|
|
513
|
+
] })
|
|
514
|
+
},
|
|
515
|
+
domainId
|
|
516
|
+
);
|
|
517
|
+
}) }) })
|
|
518
|
+
}
|
|
519
|
+
),
|
|
520
|
+
/* @__PURE__ */ jsx(Divider, { my: "sm", color: "var(--color-border)", style: { flexShrink: 0 } })
|
|
521
|
+
] })
|
|
522
|
+
] })
|
|
523
|
+
] });
|
|
524
|
+
}
|
|
240
525
|
|
|
241
|
-
export { ResourcesPage };
|
|
526
|
+
export { ResourcesPage, ResourcesSidebar };
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
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, 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-
|
|
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-UTWJZEOJ.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-2Z7LYTIX.js';
|
|
3
3
|
export { observabilityKeys, useErrorTrends } from '../chunk-LXHZYSMQ.js';
|
|
4
4
|
import '../chunk-NJJ3NQ7B.js';
|
|
5
5
|
import '../chunk-F6RBK7NJ.js';
|
|
6
6
|
import '../chunk-L4XXM55J.js';
|
|
7
7
|
import '../chunk-RNP5R5I3.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-OCF63OXD.js';
|
|
9
9
|
import '../chunk-NUULWBAD.js';
|
|
10
10
|
import '../chunk-SZHARWKU.js';
|
|
11
11
|
import '../chunk-UEYUPTAD.js';
|
|
12
12
|
import '../chunk-7ATCF6UL.js';
|
|
13
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-UANJP5P7.js';
|
|
14
14
|
import '../chunk-QJ2KCHKX.js';
|
|
15
15
|
import '../chunk-U2522LSW.js';
|
|
16
|
-
import '../chunk-
|
|
17
|
-
export { REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY } from '../chunk-
|
|
16
|
+
import '../chunk-JNBHUCKW.js';
|
|
17
|
+
export { REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY } from '../chunk-MBZDE6UT.js';
|
|
18
18
|
import '../chunk-ALA56RGZ.js';
|
|
19
19
|
import '../chunk-DVKEEY5J.js';
|
|
20
20
|
import '../chunk-QEPXAWE2.js';
|
package/dist/hooks/published.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
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-
|
|
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-2Z7LYTIX.js';
|
|
2
2
|
export { observabilityKeys, useErrorTrends } from '../chunk-LXHZYSMQ.js';
|
|
3
3
|
import '../chunk-NJJ3NQ7B.js';
|
|
4
4
|
import '../chunk-F6RBK7NJ.js';
|
|
5
5
|
import '../chunk-L4XXM55J.js';
|
|
6
6
|
import '../chunk-RNP5R5I3.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-OCF63OXD.js';
|
|
8
8
|
import '../chunk-NUULWBAD.js';
|
|
9
9
|
import '../chunk-SZHARWKU.js';
|
|
10
10
|
import '../chunk-UEYUPTAD.js';
|
|
11
11
|
import '../chunk-7ATCF6UL.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-UANJP5P7.js';
|
|
13
13
|
import '../chunk-QJ2KCHKX.js';
|
|
14
14
|
import '../chunk-U2522LSW.js';
|
|
15
|
-
import '../chunk-
|
|
16
|
-
export { REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY } from '../chunk-
|
|
15
|
+
import '../chunk-JNBHUCKW.js';
|
|
16
|
+
export { REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY } from '../chunk-MBZDE6UT.js';
|
|
17
17
|
import '../chunk-ALA56RGZ.js';
|
|
18
18
|
import '../chunk-DVKEEY5J.js';
|
|
19
19
|
import '../chunk-QEPXAWE2.js';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { useAvailablePresets } from './chunk-RYSPAQGW.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-
|
|
4
|
-
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-
|
|
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-UTWJZEOJ.js';
|
|
4
|
+
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-2Z7LYTIX.js';
|
|
5
5
|
export { observabilityKeys, useErrorTrends } from './chunk-LXHZYSMQ.js';
|
|
6
6
|
import './chunk-NJJ3NQ7B.js';
|
|
7
7
|
export { ScrollToTop, TanStackRouterBridge } from './chunk-MHW43EOH.js';
|
|
@@ -11,16 +11,16 @@ import './chunk-ELJIFLCB.js';
|
|
|
11
11
|
export { OrganizationSwitcher, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from './chunk-L4XXM55J.js';
|
|
12
12
|
export { createUseAppInitialization } from './chunk-SLVC5OJ2.js';
|
|
13
13
|
import './chunk-RNP5R5I3.js';
|
|
14
|
-
export { ElevasisUIProvider } from './chunk-
|
|
14
|
+
export { ElevasisUIProvider } from './chunk-OCF63OXD.js';
|
|
15
15
|
import './chunk-NUULWBAD.js';
|
|
16
16
|
import './chunk-SZHARWKU.js';
|
|
17
17
|
export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, generateShades, getPreset, mantineThemeOverride, PRESETS as presets, usePresetsContext } from './chunk-UEYUPTAD.js';
|
|
18
18
|
import './chunk-7ATCF6UL.js';
|
|
19
|
-
export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from './chunk-
|
|
19
|
+
export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from './chunk-UANJP5P7.js';
|
|
20
20
|
export { AppearanceProvider, useAppearance } from './chunk-QJ2KCHKX.js';
|
|
21
21
|
export { OrganizationProvider } from './chunk-U2522LSW.js';
|
|
22
|
-
export { ApiClientProvider, useApiClient, useApiClientContext } from './chunk-
|
|
23
|
-
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-
|
|
22
|
+
export { ApiClientProvider, useApiClient, useApiClientContext } from './chunk-JNBHUCKW.js';
|
|
23
|
+
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-MBZDE6UT.js';
|
|
24
24
|
export { AdminGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck } from './chunk-CC3SDRIF.js';
|
|
25
25
|
export { useStableAccessToken } from './chunk-ALA56RGZ.js';
|
|
26
26
|
export { InitializationContext, InitializationProvider, useInitialization } from './chunk-DVKEEY5J.js';
|
package/dist/layout/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, LinksGroup, PageContainer, Sidebar, SidebarContext, SidebarListItem, SidebarProvider, SubshellContainer, SubshellContentContainer, SubshellRightSideContainer, SubshellSidebar,
|
|
2
|
-
export { SubshellLoader } from '../chunk-
|
|
1
|
+
export { AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, LinksGroup, PageContainer, Sidebar, SidebarContext, SidebarListItem, SidebarProvider, SubshellContainer, SubshellContentContainer, SubshellRightSideContainer, SubshellSidebar, Topbar, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse } from '../chunk-WAPZN2U3.js';
|
|
2
|
+
export { SubshellLoader, SubshellSidebarSection } from '../chunk-35UWYH2A.js';
|
|
3
3
|
export { sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarListItemIconSize, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, topbarHeight } from '../chunk-KBLGVZBD.js';
|
|
4
4
|
import '../chunk-MHW43EOH.js';
|
|
5
5
|
export { AppBackground } from '../chunk-NUULWBAD.js';
|
package/dist/provider/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { ElevasisUIProvider } from '../chunk-
|
|
1
|
+
export { ElevasisUIProvider } from '../chunk-OCF63OXD.js';
|
|
2
2
|
import '../chunk-NUULWBAD.js';
|
|
3
3
|
import '../chunk-SZHARWKU.js';
|
|
4
4
|
import '../chunk-UEYUPTAD.js';
|
|
5
5
|
import '../chunk-7ATCF6UL.js';
|
|
6
|
-
export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-
|
|
6
|
+
export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-UANJP5P7.js';
|
|
7
7
|
export { AppearanceProvider, useAppearance } from '../chunk-QJ2KCHKX.js';
|
|
8
8
|
import '../chunk-U2522LSW.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-JNBHUCKW.js';
|
|
10
|
+
import '../chunk-MBZDE6UT.js';
|
|
11
11
|
import '../chunk-DVKEEY5J.js';
|
|
12
12
|
export { ElevasisServiceProvider, useElevasisServices } from '../chunk-QEPXAWE2.js';
|
|
13
13
|
import '../chunk-DD3CCMCZ.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-
|
|
1
|
+
export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-UANJP5P7.js';
|
|
2
2
|
export { AppearanceProvider, useAppearance } from '../chunk-QJ2KCHKX.js';
|
|
3
3
|
import '../chunk-U2522LSW.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-JNBHUCKW.js';
|
|
5
|
+
import '../chunk-MBZDE6UT.js';
|
|
6
6
|
import '../chunk-DVKEEY5J.js';
|
|
7
7
|
export { ElevasisServiceProvider, useElevasisServices } from '../chunk-QEPXAWE2.js';
|
|
8
8
|
import '../chunk-DD3CCMCZ.js';
|
package/dist/utils/index.js
CHANGED
|
@@ -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, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, isAPIClientError, restoreConsole, suppressKnownWarnings, validateEmail } from '../chunk-
|
|
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-MBZDE6UT.js';
|
package/package.json
CHANGED
package/dist/chunk-ADSSLKKP.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { useAppearance } from './chunk-QJ2KCHKX.js';
|
|
2
|
-
import { Center } from '@mantine/core';
|
|
3
|
-
import { jsx } from 'react/jsx-runtime';
|
|
4
|
-
|
|
5
|
-
function SubshellLoader() {
|
|
6
|
-
const { loader } = useAppearance();
|
|
7
|
-
return /* @__PURE__ */ jsx(Center, { mih: "calc(100vh - 70px)", children: loader });
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export { SubshellLoader };
|