@elevasis/ui 2.11.0 → 2.13.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/app/index.js +5 -5
- package/dist/{chunk-23PZ57GB.js → chunk-2CGYLRTX.js} +1 -1
- package/dist/{chunk-DJBORKTR.js → chunk-5IBTTMWX.js} +3 -3
- package/dist/{chunk-BLQLWIOW.js → chunk-67BKMKFG.js} +9 -9
- package/dist/{chunk-KDAOCM66.js → chunk-6RWMRQN5.js} +1 -1
- package/dist/{chunk-BDENEI4Q.js → chunk-6WPKE7C3.js} +135 -90
- package/dist/{chunk-L34DFR2K.js → chunk-BSW5MUAQ.js} +4 -4
- package/dist/{chunk-V7XHGJQZ.js → chunk-FL67C3WY.js} +6 -1
- package/dist/{chunk-DOFVHWAP.js → chunk-FT27I4S7.js} +82 -2
- package/dist/{chunk-AQDBRRZD.js → chunk-H333SX3N.js} +1 -1
- package/dist/{chunk-YEX4MQSY.js → chunk-M25JL54Z.js} +3 -3
- package/dist/{chunk-TNOIOBYI.js → chunk-NLFAEJDH.js} +2 -2
- package/dist/{chunk-BSCTPKXM.js → chunk-PCK553L4.js} +8 -3
- package/dist/{chunk-24UMQV5B.js → chunk-R73EHHPN.js} +143 -78
- package/dist/{chunk-XYSMBMAR.js → chunk-T7R5P5JJ.js} +3 -3
- package/dist/{chunk-F4TPY6YL.js → chunk-WLOQ4IBG.js} +9 -3
- package/dist/{chunk-R7WLWGPO.js → chunk-ZB5GAV7J.js} +1 -1
- package/dist/components/index.d.ts +178 -0
- package/dist/components/index.js +19 -19
- package/dist/features/auth/index.d.ts +88 -0
- package/dist/features/auth/index.js +2 -2
- package/dist/features/crm/index.d.ts +90 -0
- package/dist/features/crm/index.js +7 -7
- package/dist/features/dashboard/index.js +8 -8
- package/dist/features/delivery/index.d.ts +135 -26
- package/dist/features/delivery/index.js +7 -7
- package/dist/features/lead-gen/index.js +11 -11
- package/dist/features/monitoring/index.js +9 -9
- package/dist/features/monitoring/requests/index.d.ts +125 -0
- package/dist/features/operations/index.js +10 -10
- package/dist/features/settings/index.d.ts +88 -0
- package/dist/features/settings/index.js +9 -9
- package/dist/hooks/index.d.ts +318 -3
- package/dist/hooks/index.js +6 -6
- package/dist/hooks/published.d.ts +318 -3
- package/dist/hooks/published.js +6 -6
- package/dist/index.d.ts +318 -3
- package/dist/index.js +7 -7
- package/dist/initialization/index.d.ts +88 -0
- package/dist/layout/index.d.ts +9 -2
- package/dist/layout/index.js +2 -2
- package/dist/organization/index.js +1 -1
- package/dist/profile/index.d.ts +88 -0
- package/dist/provider/index.js +5 -5
- package/dist/provider/published.js +2 -2
- package/dist/supabase/index.d.ts +172 -0
- package/dist/theme/index.js +3 -3
- package/dist/types/index.d.ts +89 -1
- package/package.json +7 -3
package/dist/app/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ElevasisUIProvider } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
import { ElevasisUIProvider } from '../chunk-5IBTTMWX.js';
|
|
2
|
+
import '../chunk-R73EHHPN.js';
|
|
3
|
+
import '../chunk-WLOQ4IBG.js';
|
|
4
|
+
import '../chunk-ZB5GAV7J.js';
|
|
5
5
|
import '../chunk-SZHARWKU.js';
|
|
6
6
|
import '../chunk-NVOCKXUQ.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-FL67C3WY.js';
|
|
8
8
|
import '../chunk-QJ2KCHKX.js';
|
|
9
9
|
import '../chunk-IOKL7BKE.js';
|
|
10
10
|
import { useInitialization } from '../chunk-TUXTSEAF.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useCyberColors, CyberLegendItem, CyberAreaChart } from './chunk-STZJ7SY5.js';
|
|
2
|
-
import { useResourcesHealth } from './chunk-
|
|
2
|
+
import { useResourcesHealth } from './chunk-FT27I4S7.js';
|
|
3
3
|
import { getTimeRangeDates, formatBucketTime } from './chunk-LXHZYSMQ.js';
|
|
4
4
|
import { CardHeader, EmptyState } from './chunk-SQQGLGHW.js';
|
|
5
5
|
import { Paper, Center, Loader, Group } from '@mantine/core';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PRESETS, getPreset, generateShades, mantineThemeOverride, createCssVariablesResolver, PresetsProvider } from './chunk-
|
|
2
|
-
import { AppBackground } from './chunk-
|
|
3
|
-
import { ElevasisCoreProvider } from './chunk-
|
|
1
|
+
import { PRESETS, getPreset, generateShades, mantineThemeOverride, createCssVariablesResolver, PresetsProvider } from './chunk-R73EHHPN.js';
|
|
2
|
+
import { AppBackground } from './chunk-WLOQ4IBG.js';
|
|
3
|
+
import { ElevasisCoreProvider } from './chunk-ZB5GAV7J.js';
|
|
4
4
|
import { ElevasisLoader } from './chunk-SZHARWKU.js';
|
|
5
5
|
import { AppearanceProvider } from './chunk-QJ2KCHKX.js';
|
|
6
6
|
import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-IOKL7BKE.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ResourceHealthChart } from './chunk-LGKLC5MG.js';
|
|
2
2
|
import { useCyberColors, HeroStatsRow } from './chunk-STZJ7SY5.js';
|
|
3
|
-
import { AppShellCenteredContainer, AppShellLoader } from './chunk-
|
|
3
|
+
import { AppShellCenteredContainer, AppShellLoader } from './chunk-M25JL54Z.js';
|
|
4
4
|
import { STATUS_COLORS, getStatusIcon, formatDuration, getStatusColors, AGENT_CONSTANTS, shouldAnimateEdge, TIMELINE_CONSTANTS, calculateBarPosition, CONTAINER_CONSTANTS, useExecutionPath, useUnifiedWorkflowLayout, WORKFLOW_CONSTANTS, useReactFlowAgent } from './chunk-GHIPBT5V.js';
|
|
5
|
-
import { useExecuteResource, useDashboardMetrics, useResources, useTimeRangeDates, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from './chunk-
|
|
5
|
+
import { useExecuteResource, useDashboardMetrics, useResources, useTimeRangeDates, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from './chunk-FT27I4S7.js';
|
|
6
6
|
import { getTimeRangeDates } from './chunk-LXHZYSMQ.js';
|
|
7
7
|
import { Graph_module_css_default, useDirectedChainHighlighting, useNodeSelection, useFitViewTrigger } from './chunk-22UVE3RA.js';
|
|
8
|
-
import { glassBase } from './chunk-
|
|
8
|
+
import { glassBase } from './chunk-R73EHHPN.js';
|
|
9
9
|
import { GlowDot, CardHeader, EmptyState, PageTitleCaption, TabCountBadge } from './chunk-SQQGLGHW.js';
|
|
10
10
|
import { ResourceStatusColors } from './chunk-ELJIFLCB.js';
|
|
11
11
|
import { formatTimeAgo, formatRelativeTime } from './chunk-IOKL7BKE.js';
|
|
@@ -16,6 +16,7 @@ import { jsxs, jsx, Fragment as Fragment$1 } from 'react/jsx-runtime';
|
|
|
16
16
|
import { Position, Handle, getSmoothStepPath, BaseEdge as BaseEdge$1, EdgeLabelRenderer, Panel, useReactFlow, Controls, ReactFlowProvider, ReactFlow } from '@xyflow/react';
|
|
17
17
|
import { IconPlayerPlay, IconPlayerStop, IconArrowsSplit, IconSquare, IconFocus2, IconArrowUpRight, IconLayoutDashboard, IconActivity, IconAlertTriangle, IconHandStop, IconCalendarEvent, IconCircleCheck, IconBrain, IconGitBranch } from '@tabler/icons-react';
|
|
18
18
|
import '@xyflow/react/dist/style.css';
|
|
19
|
+
import { z } from 'zod';
|
|
19
20
|
import { notifications } from '@mantine/notifications';
|
|
20
21
|
import { useForm } from '@mantine/form';
|
|
21
22
|
import '@mantine/charts/styles.css';
|
|
@@ -1398,6 +1399,7 @@ function ZodFormRenderer({
|
|
|
1398
1399
|
/* @__PURE__ */ jsx(Button, { type: "submit", loading: isPending, fullWidth: true, children: submitLabel })
|
|
1399
1400
|
] }) });
|
|
1400
1401
|
}
|
|
1402
|
+
var isZodSchema = (value) => value instanceof z.ZodType;
|
|
1401
1403
|
function RunResourceButton({
|
|
1402
1404
|
resourceId,
|
|
1403
1405
|
resourceType,
|
|
@@ -1439,12 +1441,10 @@ function RunResourceButton({
|
|
|
1439
1441
|
);
|
|
1440
1442
|
const handleClick = useCallback(() => {
|
|
1441
1443
|
const result = getInput();
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
defaults: "defaults" in result ? result.defaults : void 0
|
|
1447
|
-
});
|
|
1444
|
+
const maybeSchema = result.schema;
|
|
1445
|
+
if (isZodSchema(maybeSchema)) {
|
|
1446
|
+
const defaults = result.defaults;
|
|
1447
|
+
setModalState({ schema: maybeSchema, defaults });
|
|
1448
1448
|
} else {
|
|
1449
1449
|
void handleExecute(result);
|
|
1450
1450
|
}
|
|
@@ -5,19 +5,92 @@ import { SubshellNavItem } from './chunk-CEWTOKE7.js';
|
|
|
5
5
|
import { SubshellSidebarSection } from './chunk-IIMU5YAJ.js';
|
|
6
6
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
7
7
|
import { CustomModal } from './chunk-GBMNCNHX.js';
|
|
8
|
-
import { useCreateTask, useCreateMilestone, useProjectMilestones, useProjects, useDeleteProject, useTableSort, sortData, usePaginationState, useTableSelection, useProjectRealtime, useProject, useProjectTasks, useProjectNotes, useUpdateMilestone, useProjectActivities, useCreateNote, showApiErrorNotification, projectKeys } from './chunk-
|
|
8
|
+
import { useCreateTask, useCreateMilestone, useProjectMilestones, useUpdateTask, useProjects, useDeleteProject, useTableSort, sortData, usePaginationState, useTableSelection, useProjectRealtime, useProject, useProjectTasks, useProjectNotes, useUpdateMilestone, useProjectActivities, useCreateNote, showApiErrorNotification, projectKeys } from './chunk-FT27I4S7.js';
|
|
9
9
|
import { SubshellContentContainer } from './chunk-RX4UWZZR.js';
|
|
10
10
|
import { StatusBadge, EmptyState, PageTitleCaption, CenteredErrorState, StatCard } from './chunk-SQQGLGHW.js';
|
|
11
11
|
import { PAGE_SIZE_DEFAULT, formatTimeAgo, formatDate, formatRelativeTime } from './chunk-IOKL7BKE.js';
|
|
12
12
|
import { useElevasisServices } from './chunk-QEPXAWE2.js';
|
|
13
13
|
import { useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
14
14
|
import { useState, useMemo, useCallback } from 'react';
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
15
|
+
import { Stack, Text, Group, Checkbox, ActionIcon, TextInput, Button, Modal, Title, Textarea, Select, SimpleGrid, Card, ThemeIcon, RingProgress, Paper, Timeline, Badge, Collapse, Center, Loader, Table, Pagination, Alert, CopyButton, Tooltip, Divider, Tabs, Anchor, Chip } from '@mantine/core';
|
|
16
|
+
import { IconNotes, IconBriefcase, IconChecklist, IconFlag, IconX, IconPlus, IconHeartbeat, IconFileText, IconCalendar, IconInbox, IconLock, IconAlertTriangle, IconCircleCheck, IconClock, IconChevronDown, IconChevronRight, IconDownload, IconListCheck, IconMessageCircle, IconSearch, IconArrowLeft, IconCheck, IconCopy, IconTerminal2, IconCurrencyDollar, IconBuilding } from '@tabler/icons-react';
|
|
17
|
+
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
18
18
|
import { useDisclosure, useClipboard } from '@mantine/hooks';
|
|
19
19
|
import { useQueryClient, useMutation } from '@tanstack/react-query';
|
|
20
20
|
|
|
21
|
+
function Checklist({ items, onToggle, onAdd, onRemove }) {
|
|
22
|
+
const [adding, setAdding] = useState(false);
|
|
23
|
+
const [newItemLabel, setNewItemLabel] = useState("");
|
|
24
|
+
function commitAdd() {
|
|
25
|
+
const label = newItemLabel.trim();
|
|
26
|
+
if (label) onAdd(label);
|
|
27
|
+
setNewItemLabel("");
|
|
28
|
+
}
|
|
29
|
+
const completedCount = items.filter((item) => item.completed).length;
|
|
30
|
+
return /* @__PURE__ */ jsxs(Stack, { gap: "xs", mt: "sm", children: [
|
|
31
|
+
items.length > 0 && /* @__PURE__ */ jsxs(Text, { size: "xs", c: "dimmed", children: [
|
|
32
|
+
completedCount,
|
|
33
|
+
"/",
|
|
34
|
+
items.length,
|
|
35
|
+
" complete"
|
|
36
|
+
] }),
|
|
37
|
+
items.map((item) => /* @__PURE__ */ jsxs(Group, { gap: "xs", wrap: "nowrap", children: [
|
|
38
|
+
/* @__PURE__ */ jsx(
|
|
39
|
+
Checkbox,
|
|
40
|
+
{
|
|
41
|
+
size: "xs",
|
|
42
|
+
checked: item.completed,
|
|
43
|
+
onChange: () => onToggle(item.id),
|
|
44
|
+
label: /* @__PURE__ */ jsx(
|
|
45
|
+
Text,
|
|
46
|
+
{
|
|
47
|
+
size: "sm",
|
|
48
|
+
td: item.completed ? "line-through" : void 0,
|
|
49
|
+
c: item.completed ? "dimmed" : "var(--color-text-subtle)",
|
|
50
|
+
children: item.label
|
|
51
|
+
}
|
|
52
|
+
),
|
|
53
|
+
styles: { input: { cursor: "pointer" }, label: { cursor: "pointer" } }
|
|
54
|
+
}
|
|
55
|
+
),
|
|
56
|
+
/* @__PURE__ */ jsx(ActionIcon, { variant: "subtle", size: "xs", onClick: () => onRemove(item.id), style: { opacity: 0.4 }, children: /* @__PURE__ */ jsx(IconX, { size: 12 }) })
|
|
57
|
+
] }, item.id)),
|
|
58
|
+
adding ? /* @__PURE__ */ jsx(
|
|
59
|
+
TextInput,
|
|
60
|
+
{
|
|
61
|
+
size: "xs",
|
|
62
|
+
placeholder: "Item label...",
|
|
63
|
+
value: newItemLabel,
|
|
64
|
+
onChange: (event) => setNewItemLabel(event.target.value),
|
|
65
|
+
onKeyDown: (event) => {
|
|
66
|
+
if (event.key === "Enter") {
|
|
67
|
+
commitAdd();
|
|
68
|
+
setAdding(false);
|
|
69
|
+
}
|
|
70
|
+
if (event.key === "Escape") {
|
|
71
|
+
setNewItemLabel("");
|
|
72
|
+
setAdding(false);
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
onBlur: () => {
|
|
76
|
+
if (newItemLabel.trim()) commitAdd();
|
|
77
|
+
setAdding(false);
|
|
78
|
+
},
|
|
79
|
+
autoFocus: true,
|
|
80
|
+
style: { maxWidth: 250 }
|
|
81
|
+
}
|
|
82
|
+
) : /* @__PURE__ */ jsx(Group, { children: /* @__PURE__ */ jsx(
|
|
83
|
+
Button,
|
|
84
|
+
{
|
|
85
|
+
variant: "subtle",
|
|
86
|
+
size: "compact-xs",
|
|
87
|
+
leftSection: /* @__PURE__ */ jsx(IconPlus, { size: 12 }),
|
|
88
|
+
onClick: () => setAdding(true),
|
|
89
|
+
children: "Add item"
|
|
90
|
+
}
|
|
91
|
+
) })
|
|
92
|
+
] });
|
|
93
|
+
}
|
|
21
94
|
var TASK_TYPE_OPTIONS = [
|
|
22
95
|
{ value: "documentation", label: "Documentation" },
|
|
23
96
|
{ value: "code", label: "Code" },
|
|
@@ -355,7 +428,20 @@ function MilestoneTimeline({ milestones, tasks }) {
|
|
|
355
428
|
);
|
|
356
429
|
}) }) });
|
|
357
430
|
}
|
|
431
|
+
function parseChecklist(task) {
|
|
432
|
+
const raw = task.checklist;
|
|
433
|
+
if (!Array.isArray(raw)) return [];
|
|
434
|
+
return raw;
|
|
435
|
+
}
|
|
358
436
|
function TaskCard({ task }) {
|
|
437
|
+
const { mutate: updateTask } = useUpdateTask();
|
|
438
|
+
const items = parseChecklist(task);
|
|
439
|
+
function saveChecklist(updated) {
|
|
440
|
+
const updates = {
|
|
441
|
+
checklist: updated
|
|
442
|
+
};
|
|
443
|
+
updateTask({ id: task.id, updates });
|
|
444
|
+
}
|
|
359
445
|
return /* @__PURE__ */ jsx(Card, { withBorder: true, radius: "sm", p: "sm", children: /* @__PURE__ */ jsxs(Stack, { gap: 6, children: [
|
|
360
446
|
/* @__PURE__ */ jsxs(Group, { justify: "space-between", wrap: "nowrap", children: [
|
|
361
447
|
/* @__PURE__ */ jsxs(Group, { gap: 6, wrap: "nowrap", style: { minWidth: 0 }, children: [
|
|
@@ -381,7 +467,22 @@ function TaskCard({ task }) {
|
|
|
381
467
|
task.due_date && /* @__PURE__ */ jsxs(Text, { size: "xs", c: "dimmed", children: [
|
|
382
468
|
"Due ",
|
|
383
469
|
new Date(task.due_date).toLocaleDateString()
|
|
384
|
-
] })
|
|
470
|
+
] }),
|
|
471
|
+
items.length > 0 && /* @__PURE__ */ jsx(
|
|
472
|
+
Checklist,
|
|
473
|
+
{
|
|
474
|
+
items,
|
|
475
|
+
onToggle: (itemId) => {
|
|
476
|
+
saveChecklist(items.map((item) => item.id === itemId ? { ...item, completed: !item.completed } : item));
|
|
477
|
+
},
|
|
478
|
+
onAdd: (label) => {
|
|
479
|
+
saveChecklist([...items, { id: crypto.randomUUID(), label, completed: false }]);
|
|
480
|
+
},
|
|
481
|
+
onRemove: (itemId) => {
|
|
482
|
+
saveChecklist(items.filter((item) => item.id !== itemId));
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
)
|
|
385
486
|
] }) });
|
|
386
487
|
}
|
|
387
488
|
var ProjectsSidebarTop = () => {
|
|
@@ -877,7 +978,9 @@ function InlineResumeContextEditor({ task, projectId }) {
|
|
|
877
978
|
autosize: true,
|
|
878
979
|
value: currentState,
|
|
879
980
|
onChange: (e) => setCurrentState(e.target.value),
|
|
880
|
-
onBlur: () =>
|
|
981
|
+
onBlur: () => {
|
|
982
|
+
if (currentState !== (ctx.current_state ?? "")) save({ current_state: currentState });
|
|
983
|
+
}
|
|
881
984
|
}
|
|
882
985
|
),
|
|
883
986
|
/* @__PURE__ */ jsx(
|
|
@@ -890,7 +993,9 @@ function InlineResumeContextEditor({ task, projectId }) {
|
|
|
890
993
|
autosize: true,
|
|
891
994
|
value: nextSteps,
|
|
892
995
|
onChange: (e) => setNextSteps(e.target.value),
|
|
893
|
-
onBlur: () =>
|
|
996
|
+
onBlur: () => {
|
|
997
|
+
if (nextSteps !== (ctx.next_steps ?? "")) save({ next_steps: nextSteps });
|
|
998
|
+
}
|
|
894
999
|
}
|
|
895
1000
|
),
|
|
896
1001
|
/* @__PURE__ */ jsx(
|
|
@@ -903,7 +1008,10 @@ function InlineResumeContextEditor({ task, projectId }) {
|
|
|
903
1008
|
autosize: true,
|
|
904
1009
|
value: filesModified,
|
|
905
1010
|
onChange: (e) => setFilesModified(e.target.value),
|
|
906
|
-
onBlur: () =>
|
|
1011
|
+
onBlur: () => {
|
|
1012
|
+
const original = typeof ctx.files_modified === "string" ? ctx.files_modified : "";
|
|
1013
|
+
if (filesModified !== original) save({ files_modified: filesModified });
|
|
1014
|
+
}
|
|
907
1015
|
}
|
|
908
1016
|
)
|
|
909
1017
|
] }) })
|
|
@@ -915,16 +1023,14 @@ var noteTypeOptions = [
|
|
|
915
1023
|
{ value: "issue", label: "Issue" },
|
|
916
1024
|
{ value: "blocker", label: "Blocker" }
|
|
917
1025
|
];
|
|
918
|
-
function
|
|
1026
|
+
function parseChecklist2(milestone) {
|
|
919
1027
|
const raw = milestone.checklist;
|
|
920
1028
|
if (!Array.isArray(raw)) return [];
|
|
921
1029
|
return raw;
|
|
922
1030
|
}
|
|
923
1031
|
function MilestoneChecklist({ milestone }) {
|
|
924
|
-
const items =
|
|
1032
|
+
const items = parseChecklist2(milestone);
|
|
925
1033
|
const { mutate: updateMilestone } = useUpdateMilestone();
|
|
926
|
-
const [newItemLabel, setNewItemLabel] = useState("");
|
|
927
|
-
const [adding, setAdding] = useState(false);
|
|
928
1034
|
function saveChecklist(updated) {
|
|
929
1035
|
const allComplete = updated.length > 0 && updated.every((item) => item.completed);
|
|
930
1036
|
const wasComplete = milestone.status === "completed";
|
|
@@ -940,84 +1046,23 @@ function MilestoneChecklist({ milestone }) {
|
|
|
940
1046
|
}
|
|
941
1047
|
updateMilestone({ id: milestone.id, updates });
|
|
942
1048
|
}
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
const completedCount = items.filter((item) => item.completed).length;
|
|
958
|
-
return /* @__PURE__ */ jsxs(Stack, { gap: "xs", mt: "sm", children: [
|
|
959
|
-
items.length > 0 && /* @__PURE__ */ jsxs(Text, { size: "xs", c: "dimmed", children: [
|
|
960
|
-
completedCount,
|
|
961
|
-
"/",
|
|
962
|
-
items.length,
|
|
963
|
-
" complete"
|
|
964
|
-
] }),
|
|
965
|
-
items.map((item) => /* @__PURE__ */ jsxs(Group, { gap: "xs", wrap: "nowrap", children: [
|
|
966
|
-
/* @__PURE__ */ jsx(
|
|
967
|
-
Checkbox,
|
|
968
|
-
{
|
|
969
|
-
size: "xs",
|
|
970
|
-
checked: item.completed,
|
|
971
|
-
onChange: () => toggleItem(item.id),
|
|
972
|
-
label: /* @__PURE__ */ jsx(
|
|
973
|
-
Text,
|
|
974
|
-
{
|
|
975
|
-
size: "sm",
|
|
976
|
-
td: item.completed ? "line-through" : void 0,
|
|
977
|
-
c: item.completed ? "dimmed" : "var(--color-text-subtle)",
|
|
978
|
-
children: item.label
|
|
979
|
-
}
|
|
980
|
-
),
|
|
981
|
-
styles: { input: { cursor: "pointer" }, label: { cursor: "pointer" } }
|
|
982
|
-
}
|
|
983
|
-
),
|
|
984
|
-
/* @__PURE__ */ jsx(ActionIcon, { variant: "subtle", size: "xs", onClick: () => removeItem(item.id), style: { opacity: 0.4 }, children: /* @__PURE__ */ jsx(IconX, { size: 12 }) })
|
|
985
|
-
] }, item.id)),
|
|
986
|
-
adding ? /* @__PURE__ */ jsx(
|
|
987
|
-
TextInput,
|
|
988
|
-
{
|
|
989
|
-
size: "xs",
|
|
990
|
-
placeholder: "Item label...",
|
|
991
|
-
value: newItemLabel,
|
|
992
|
-
onChange: (event) => setNewItemLabel(event.target.value),
|
|
993
|
-
onKeyDown: (event) => {
|
|
994
|
-
if (event.key === "Enter") {
|
|
995
|
-
addItem();
|
|
996
|
-
setAdding(false);
|
|
997
|
-
}
|
|
998
|
-
if (event.key === "Escape") {
|
|
999
|
-
setNewItemLabel("");
|
|
1000
|
-
setAdding(false);
|
|
1001
|
-
}
|
|
1002
|
-
},
|
|
1003
|
-
onBlur: () => {
|
|
1004
|
-
if (newItemLabel.trim()) addItem();
|
|
1005
|
-
setAdding(false);
|
|
1006
|
-
},
|
|
1007
|
-
autoFocus: true,
|
|
1008
|
-
style: { maxWidth: 250 }
|
|
1009
|
-
}
|
|
1010
|
-
) : /* @__PURE__ */ jsx(Group, { children: /* @__PURE__ */ jsx(
|
|
1011
|
-
Button,
|
|
1012
|
-
{
|
|
1013
|
-
variant: "subtle",
|
|
1014
|
-
size: "compact-xs",
|
|
1015
|
-
leftSection: /* @__PURE__ */ jsx(IconPlus, { size: 12 }),
|
|
1016
|
-
onClick: () => setAdding(true),
|
|
1017
|
-
children: "Add item"
|
|
1049
|
+
return /* @__PURE__ */ jsx(
|
|
1050
|
+
Checklist,
|
|
1051
|
+
{
|
|
1052
|
+
items,
|
|
1053
|
+
onToggle: (itemId) => {
|
|
1054
|
+
const updated = items.map((item) => item.id === itemId ? { ...item, completed: !item.completed } : item);
|
|
1055
|
+
saveChecklist(updated);
|
|
1056
|
+
},
|
|
1057
|
+
onAdd: (label) => {
|
|
1058
|
+
const newItem = { id: crypto.randomUUID(), label, completed: false };
|
|
1059
|
+
saveChecklist([...items, newItem]);
|
|
1060
|
+
},
|
|
1061
|
+
onRemove: (itemId) => {
|
|
1062
|
+
saveChecklist(items.filter((item) => item.id !== itemId));
|
|
1018
1063
|
}
|
|
1019
|
-
|
|
1020
|
-
|
|
1064
|
+
}
|
|
1065
|
+
);
|
|
1021
1066
|
}
|
|
1022
1067
|
function AddNoteModal({ opened, onClose, projectId }) {
|
|
1023
1068
|
const [noteType, setNoteType] = useState("call_note");
|
|
@@ -1460,4 +1505,4 @@ function ProjectDetailPage({ projectId, onBack, backLabel = "Projects" }) {
|
|
|
1460
1505
|
] }) }) });
|
|
1461
1506
|
}
|
|
1462
1507
|
|
|
1463
|
-
export { AllTasksPage, CreateDeliveryEntityModal, DELIVERY_COMMUNICATION_ITEMS, DELIVERY_PROJECT_ITEMS, DELIVERY_WORK_ITEMS, HealthStatusCard, MilestoneTimeline, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, TaskCard, UpcomingMilestonesPage, calculateProgress, deliveryManifest, formatStatusLabel, milestoneStatusColors, noteTypeColors, projectStatusColors, taskStatusColors, taskTypeColors };
|
|
1508
|
+
export { AllTasksPage, Checklist, CreateDeliveryEntityModal, DELIVERY_COMMUNICATION_ITEMS, DELIVERY_PROJECT_ITEMS, DELIVERY_WORK_ITEMS, HealthStatusCard, MilestoneTimeline, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, TaskCard, UpcomingMilestonesPage, calculateProgress, deliveryManifest, formatStatusLabel, milestoneStatusColors, noteTypeColors, projectStatusColors, taskStatusColors, taskTypeColors };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ChatHeader, ChatSidebar } from './chunk-ROSMICXG.js';
|
|
2
2
|
import { SubshellLoader } from './chunk-ADSSLKKP.js';
|
|
3
|
-
import { ResourceHealthPanel } from './chunk-
|
|
3
|
+
import { ResourceHealthPanel } from './chunk-2CGYLRTX.js';
|
|
4
4
|
import { PageContainer } from './chunk-BZZCNLT6.js';
|
|
5
5
|
import { SubshellSidebarSection } from './chunk-IIMU5YAJ.js';
|
|
6
6
|
import { CustomModal, ConfirmationModal } from './chunk-GBMNCNHX.js';
|
|
7
|
-
import { BaseNode, useGraphTheme, BaseEdge, FormFieldRenderer, ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline, GraphBackground, GraphFitViewButton, GraphFitViewHandler } from './chunk-
|
|
7
|
+
import { BaseNode, useGraphTheme, BaseEdge, FormFieldRenderer, ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline, GraphBackground, GraphFitViewButton, GraphFitViewHandler } from './chunk-67BKMKFG.js';
|
|
8
8
|
import { useCyberColors, CyberDonut } from './chunk-STZJ7SY5.js';
|
|
9
|
-
import { AppShellLoader } from './chunk-
|
|
9
|
+
import { AppShellLoader } from './chunk-M25JL54Z.js';
|
|
10
10
|
import { getResourceStatusColor, useTimelineData, useAgentIterationData, getStatusIcon } from './chunk-GHIPBT5V.js';
|
|
11
|
-
import { useErrorDetail, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, useCommandQueueTotals, useStatusFilter, useResourceSearch, useResourcesDomainFilters, usePaginationState, useResources, useRecentExecutionsByResource, filterByDomainFilters, useExecuteAsync, useResourceDefinition, isSessionCapable, useDeleteTask, useCommandQueue, useSubmitAction, useCommandViewData, useCommandViewStats, useCommandViewStore, useResourceExecutions, useCheckpointTasks, useExecutionPanelState, useDeleteSession, useCreateSession, useSessions, useSessionExecutions, useSession, showApiErrorNotification, showSuccessNotification, useBulkDeleteExecutions } from './chunk-
|
|
11
|
+
import { useErrorDetail, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, useCommandQueueTotals, useStatusFilter, useResourceSearch, useResourcesDomainFilters, usePaginationState, useResources, useRecentExecutionsByResource, filterByDomainFilters, useExecuteAsync, useResourceDefinition, isSessionCapable, useDeleteTask, useCommandQueue, useSubmitAction, useCommandViewData, useCommandViewStats, useCommandViewStore, useResourceExecutions, useCheckpointTasks, useExecutionPanelState, useDeleteSession, useCreateSession, useSessions, useSessionExecutions, useSession, showApiErrorNotification, showSuccessNotification, useBulkDeleteExecutions } from './chunk-FT27I4S7.js';
|
|
12
12
|
import { useGraphHighlighting, calculateGraphHeight, Graph_module_css_default, GRAPH_CONSTANTS } from './chunk-22UVE3RA.js';
|
|
13
13
|
import { useMergedExecution } from './chunk-3ZMAGTWF.js';
|
|
14
14
|
import { useOptionalElevasisFeatures, useElevasisFeatures } from './chunk-C7BX547M.js';
|
|
@@ -6,7 +6,7 @@ import { useQueryClient } from '@tanstack/react-query';
|
|
|
6
6
|
|
|
7
7
|
function OrganizationProvider({ apiRequest, children }) {
|
|
8
8
|
const { user, organizationId: workosOrgId } = useAuthContext();
|
|
9
|
-
const { profile } = useProfile();
|
|
9
|
+
const { profile, error: profileError } = useProfile();
|
|
10
10
|
const queryClient = useQueryClient();
|
|
11
11
|
const [memberships, setMemberships] = useState([]);
|
|
12
12
|
const [currentWorkOSOrganizationId, setCurrentWorkOSOrganizationId] = useState(null);
|
|
@@ -22,6 +22,11 @@ function OrganizationProvider({ apiRequest, children }) {
|
|
|
22
22
|
setProfileLoaded(true);
|
|
23
23
|
}
|
|
24
24
|
}, [profile]);
|
|
25
|
+
useEffect(() => {
|
|
26
|
+
if (profileError && isInitializing && !hasInitializedRef.current) {
|
|
27
|
+
setIsInitializing(false);
|
|
28
|
+
}
|
|
29
|
+
}, [profileError, isInitializing]);
|
|
25
30
|
useEffect(() => {
|
|
26
31
|
if (!user) {
|
|
27
32
|
setMemberships([]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getTimeRangeDates, observabilityKeys } from './chunk-LXHZYSMQ.js';
|
|
2
2
|
import { useSupabase } from './chunk-BRXELOHC.js';
|
|
3
3
|
import { GRAPH_CONSTANTS } from './chunk-22UVE3RA.js';
|
|
4
|
-
import { useNotificationAdapter } from './chunk-
|
|
4
|
+
import { useNotificationAdapter } from './chunk-ZB5GAV7J.js';
|
|
5
5
|
import { HTTP_HEADERS } from './chunk-NVOCKXUQ.js';
|
|
6
6
|
import { REFETCH_INTERVAL_DASHBOARD, STALE_TIME_MONITORING, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, STALE_TIME_DEFAULT, STALE_TIME_ADMIN, getErrorInfo, formatErrorMessage, getErrorTitle, APIClientError, GC_TIME_MEDIUM, GC_TIME_SHORT } from './chunk-IOKL7BKE.js';
|
|
7
7
|
import { useStableAccessToken } from './chunk-MTJ43R2E.js';
|
|
@@ -2335,6 +2335,65 @@ function usePatchTask() {
|
|
|
2335
2335
|
}
|
|
2336
2336
|
});
|
|
2337
2337
|
}
|
|
2338
|
+
|
|
2339
|
+
// src/hooks/requests/queryKeys.ts
|
|
2340
|
+
var requestsKeys = {
|
|
2341
|
+
all: ["requests"],
|
|
2342
|
+
lists: () => [...requestsKeys.all, "list"],
|
|
2343
|
+
list: (organizationId, filters) => [...requestsKeys.lists(), organizationId, filters],
|
|
2344
|
+
details: () => [...requestsKeys.all, "detail"],
|
|
2345
|
+
detail: (organizationId, id) => [...requestsKeys.details(), organizationId, id]
|
|
2346
|
+
};
|
|
2347
|
+
function useRequestsList(filters = {}) {
|
|
2348
|
+
const { apiRequest, isReady, organizationId } = useElevasisServices();
|
|
2349
|
+
const { type, severity, status, source, limit, offset } = filters;
|
|
2350
|
+
return useQuery({
|
|
2351
|
+
queryKey: requestsKeys.list(organizationId ?? void 0, filters),
|
|
2352
|
+
queryFn: async () => {
|
|
2353
|
+
const params = new URLSearchParams();
|
|
2354
|
+
if (type) params.set("type", type);
|
|
2355
|
+
if (severity) params.set("severity", severity);
|
|
2356
|
+
if (status) params.set("status", status);
|
|
2357
|
+
if (source) params.set("source", source);
|
|
2358
|
+
if (limit !== void 0) params.set("limit", String(limit));
|
|
2359
|
+
if (offset !== void 0) params.set("offset", String(offset));
|
|
2360
|
+
const query = params.toString();
|
|
2361
|
+
const { requests } = await apiRequest(`/requests${query ? "?" + query : ""}`);
|
|
2362
|
+
return requests;
|
|
2363
|
+
},
|
|
2364
|
+
enabled: isReady
|
|
2365
|
+
});
|
|
2366
|
+
}
|
|
2367
|
+
function useRequest(id) {
|
|
2368
|
+
const { apiRequest, isReady, organizationId } = useElevasisServices();
|
|
2369
|
+
return useQuery({
|
|
2370
|
+
queryKey: requestsKeys.detail(organizationId ?? void 0, id),
|
|
2371
|
+
queryFn: async () => {
|
|
2372
|
+
const { request } = await apiRequest(`/requests/${id}`);
|
|
2373
|
+
return request;
|
|
2374
|
+
},
|
|
2375
|
+
enabled: isReady && !!id
|
|
2376
|
+
});
|
|
2377
|
+
}
|
|
2378
|
+
function useUpdateRequestStatus() {
|
|
2379
|
+
const { apiRequest, organizationId } = useElevasisServices();
|
|
2380
|
+
const queryClient = useQueryClient();
|
|
2381
|
+
return useMutation({
|
|
2382
|
+
mutationFn: async ({ id, status }) => {
|
|
2383
|
+
const { request } = await apiRequest(`/requests/${id}`, {
|
|
2384
|
+
method: "PATCH",
|
|
2385
|
+
body: JSON.stringify({ status })
|
|
2386
|
+
});
|
|
2387
|
+
return request;
|
|
2388
|
+
},
|
|
2389
|
+
onSuccess: (_data, { id }) => {
|
|
2390
|
+
queryClient.invalidateQueries({ queryKey: requestsKeys.lists() });
|
|
2391
|
+
queryClient.invalidateQueries({
|
|
2392
|
+
queryKey: requestsKeys.detail(organizationId ?? void 0, id)
|
|
2393
|
+
});
|
|
2394
|
+
}
|
|
2395
|
+
});
|
|
2396
|
+
}
|
|
2338
2397
|
function useExecutionPanelState({
|
|
2339
2398
|
resourceId,
|
|
2340
2399
|
manager,
|
|
@@ -4625,6 +4684,27 @@ function useCreateTask() {
|
|
|
4625
4684
|
}
|
|
4626
4685
|
});
|
|
4627
4686
|
}
|
|
4687
|
+
function useUpdateTask() {
|
|
4688
|
+
const { apiRequest } = useElevasisServices();
|
|
4689
|
+
const queryClient = useQueryClient();
|
|
4690
|
+
return useMutation({
|
|
4691
|
+
mutationFn: async (params) => {
|
|
4692
|
+
const res = await apiRequest(`/project-tasks/${params.id}`, {
|
|
4693
|
+
method: "PATCH",
|
|
4694
|
+
body: JSON.stringify(params.updates)
|
|
4695
|
+
});
|
|
4696
|
+
return res.task;
|
|
4697
|
+
},
|
|
4698
|
+
onSuccess: (data) => {
|
|
4699
|
+
queryClient.invalidateQueries({ queryKey: taskKeys.all });
|
|
4700
|
+
queryClient.invalidateQueries({ queryKey: projectKeys.all });
|
|
4701
|
+
queryClient.invalidateQueries({ queryKey: projectKeys.detail(data.project_id) });
|
|
4702
|
+
},
|
|
4703
|
+
onError: (error) => {
|
|
4704
|
+
showApiErrorNotification(error);
|
|
4705
|
+
}
|
|
4706
|
+
});
|
|
4707
|
+
}
|
|
4628
4708
|
function useDeleteTask2() {
|
|
4629
4709
|
const { apiRequest } = useElevasisServices();
|
|
4630
4710
|
const queryClient = useQueryClient();
|
|
@@ -4645,4 +4725,4 @@ function useDeleteTask2() {
|
|
|
4645
4725
|
});
|
|
4646
4726
|
}
|
|
4647
4727
|
|
|
4648
|
-
export { ApiKeyService, CredentialSchemas, CredentialService, DeploymentService, MEMBERSHIP_STATUS_COLORS, OperationsService, OrganizationMembershipService, WebhookEndpointService, acquisitionListKeys, companyKeys, contactKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, isSessionCapable, milestoneKeys, noteKeys, operationsKeys, projectActivityKeys, projectKeys, scheduleKeys, sessionsKeys, showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, sortData, taskKeys, transformMembershipToTableRow, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateList, useCreateMilestone, useCreateNote, useCreateProject, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDeleteApiKey, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteProject, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteTask2, useDeleteWebhookEndpoint, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useList, useListApiKeys, useListDeployments, useListExecutions, useListProgress, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMilestones, useNotificationCount, useNotifications, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, 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, useSyncDealStage, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateList, useUpdateListConfig, useUpdateMemberConfig, useUpdateMilestone, useUpdateProject, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources, useWarningNotification };
|
|
4728
|
+
export { ApiKeyService, CredentialSchemas, CredentialService, DeploymentService, MEMBERSHIP_STATUS_COLORS, OperationsService, OrganizationMembershipService, WebhookEndpointService, acquisitionListKeys, companyKeys, contactKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, isSessionCapable, milestoneKeys, noteKeys, operationsKeys, projectActivityKeys, projectKeys, requestsKeys, scheduleKeys, sessionsKeys, showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, sortData, taskKeys, transformMembershipToTableRow, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateList, useCreateMilestone, useCreateNote, useCreateProject, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDeleteApiKey, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteProject, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteTask2, useDeleteWebhookEndpoint, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useList, useListApiKeys, useListDeployments, useListExecutions, useListProgress, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMilestones, useNotificationCount, useNotifications, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactivateMembership, useRecentExecutionsByResource, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSuccessNotification, useSyncDealStage, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateList, useUpdateListConfig, useUpdateMemberConfig, useUpdateMilestone, useUpdateProject, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources, useWarningNotification };
|
|
@@ -4,7 +4,7 @@ import { SubshellNavItem } from './chunk-CEWTOKE7.js';
|
|
|
4
4
|
import { SubshellSidebarSection } from './chunk-IIMU5YAJ.js';
|
|
5
5
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
6
6
|
import { CustomModal } from './chunk-GBMNCNHX.js';
|
|
7
|
-
import { useDealTasksDue, useDeals, useCreateDealTask, useDeleteDeal, useTableSort, sortData, usePaginationState, useTableSelection, useDealDetail, useCompany } from './chunk-
|
|
7
|
+
import { useDealTasksDue, useDeals, useCreateDealTask, useDeleteDeal, useTableSort, sortData, usePaginationState, useTableSelection, useDealDetail, useCompany } from './chunk-FT27I4S7.js';
|
|
8
8
|
import { SubshellContentContainer } from './chunk-RX4UWZZR.js';
|
|
9
9
|
import { CenteredErrorState, CardHeader, PageTitleCaption, EmptyState, ActivityTimeline } from './chunk-SQQGLGHW.js';
|
|
10
10
|
import { PAGE_SIZE_DEFAULT, formatTimeAgo } from './chunk-IOKL7BKE.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useAppearance } from './chunk-QJ2KCHKX.js';
|
|
2
2
|
import { topbarHeight } from './chunk-DT3QYZVU.js';
|
|
3
|
-
import { Title, Button } from '@mantine/core';
|
|
3
|
+
import { Stack, Title, Button } from '@mantine/core';
|
|
4
4
|
import { IconAlertCircle } from '@tabler/icons-react';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -27,11 +27,11 @@ var AppShellLoader = () => {
|
|
|
27
27
|
return /* @__PURE__ */ jsx(AppShellCenteredContainer, { children: loader });
|
|
28
28
|
};
|
|
29
29
|
var AppShellError = ({ message, retry }) => {
|
|
30
|
-
return /* @__PURE__ */
|
|
30
|
+
return /* @__PURE__ */ jsx(AppShellCenteredContainer, { children: /* @__PURE__ */ jsxs(Stack, { align: "center", gap: "md", children: [
|
|
31
31
|
/* @__PURE__ */ jsx(IconAlertCircle, { size: 48, color: "var(--color-error)" }),
|
|
32
32
|
/* @__PURE__ */ jsx(Title, { order: 3, c: "dimmed", children: message }),
|
|
33
33
|
retry && /* @__PURE__ */ jsx(Button, { onClick: retry, children: "Retry" })
|
|
34
|
-
] });
|
|
34
|
+
] }) });
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
export { AppShellCenteredContainer, AppShellError, AppShellLoader };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ResourceExecuteDialog } from './chunk-
|
|
1
|
+
import { ResourceExecuteDialog } from './chunk-BSW5MUAQ.js';
|
|
2
2
|
import { TableSelectionToolbar, SortableHeader } from './chunk-TUMSNGTX.js';
|
|
3
3
|
import { PageContainer } from './chunk-BZZCNLT6.js';
|
|
4
4
|
import { SubshellNavItem } from './chunk-CEWTOKE7.js';
|
|
5
5
|
import { SubshellSidebarSection } from './chunk-IIMU5YAJ.js';
|
|
6
6
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
7
7
|
import { CustomModal } from './chunk-GBMNCNHX.js';
|
|
8
|
-
import { showApiErrorNotification, acquisitionListKeys, showSuccessNotification, useListsTelemetry, useLists, useCreateList, useTableSort, sortData, usePaginationState, useTableSelection, useList, useListProgress, useListExecutions, useResourceDefinition, useCompanies, useDeleteCompanies, useContacts, useDeleteContacts } from './chunk-
|
|
8
|
+
import { showApiErrorNotification, acquisitionListKeys, showSuccessNotification, useListsTelemetry, useLists, useCreateList, useTableSort, sortData, usePaginationState, useTableSelection, useList, useListProgress, useListExecutions, useResourceDefinition, useCompanies, useDeleteCompanies, useContacts, useDeleteContacts } from './chunk-FT27I4S7.js';
|
|
9
9
|
import { SubshellContentContainer } from './chunk-RX4UWZZR.js';
|
|
10
10
|
import { PageTitleCaption, CenteredErrorState, StatCard, EmptyState } from './chunk-SQQGLGHW.js';
|
|
11
11
|
import { useElevasisServices } from './chunk-QEPXAWE2.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
2
2
|
import { CustomModal } from './chunk-GBMNCNHX.js';
|
|
3
3
|
import { CyberAreaChart, CostTrendChart, ActivityTrendChart } from './chunk-STZJ7SY5.js';
|
|
4
|
-
import { AppShellLoader } from './chunk-
|
|
4
|
+
import { AppShellLoader } from './chunk-M25JL54Z.js';
|
|
5
5
|
import { formatDuration } from './chunk-GHIPBT5V.js';
|
|
6
|
-
import { useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, useMarkAsRead, useExecutionLogsFilters, useExecutionLogs, useExecutionHealth, useErrorAnalysis, useTimeRangeDates, useErrorDetail, useResolveErrorsByExecution, useResources, useCostTrends, useCostSummary, useCostByModel, useCostBreakdown, useActivityFilters, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead, useTestNotification } from './chunk-
|
|
6
|
+
import { useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, useMarkAsRead, useExecutionLogsFilters, useExecutionLogs, useExecutionHealth, useErrorAnalysis, useTimeRangeDates, useErrorDetail, useResolveErrorsByExecution, useResources, useCostTrends, useCostSummary, useCostByModel, useCostBreakdown, useActivityFilters, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead, useTestNotification } from './chunk-FT27I4S7.js';
|
|
7
7
|
import { formatBucketTime, getTimeRangeDates } from './chunk-LXHZYSMQ.js';
|
|
8
8
|
import { CenteredErrorState, CardHeader, StatsCardSkeleton, TrendIndicator, DetailCardSkeleton, EmptyState, PageTitleCaption, JsonViewer } from './chunk-SQQGLGHW.js';
|
|
9
9
|
import { PAGE_SIZE_DEFAULT } from './chunk-IOKL7BKE.js';
|
|
@@ -1799,7 +1799,12 @@ var monitoringManifest = {
|
|
|
1799
1799
|
{ label: "Execution Logs", link: "/monitoring/execution-logs" },
|
|
1800
1800
|
{ label: "Execution Health", link: "/monitoring/execution-health" },
|
|
1801
1801
|
{ label: "Cost Analytics", link: "/monitoring/cost-analytics" },
|
|
1802
|
-
{ label: "Notifications", link: "/monitoring/notifications" }
|
|
1802
|
+
{ label: "Notifications", link: "/monitoring/notifications" },
|
|
1803
|
+
{
|
|
1804
|
+
label: "Submitted Requests",
|
|
1805
|
+
link: "/monitoring/requests",
|
|
1806
|
+
featureKey: "submitted-requests"
|
|
1807
|
+
}
|
|
1803
1808
|
]
|
|
1804
1809
|
}
|
|
1805
1810
|
};
|