@elevasis/ui 2.15.0 → 2.17.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 +3 -2
- package/dist/app/index.js +9 -7
- package/dist/auth/index.js +4 -3
- package/dist/charts/index.js +11 -10
- package/dist/{chunk-C7BX547M.js → chunk-2TDZBYXI.js} +9 -3
- package/dist/{chunk-5IBTTMWX.js → chunk-34NQLV2W.js} +2 -2
- package/dist/{chunk-FL67C3WY.js → chunk-6IA2OMAE.js} +1 -1
- package/dist/{chunk-L4XXM55J.js → chunk-7YQKVWSD.js} +1 -1
- package/dist/{chunk-XJ7KC54A.js → chunk-ABUDMATM.js} +7 -8
- package/dist/{chunk-TUXTSEAF.js → chunk-DK2HVHCY.js} +1 -1
- package/dist/{chunk-GHIPBT5V.js → chunk-E4WQGJNS.js} +1 -1
- package/dist/{chunk-5SXYCICG.js → chunk-FNWWVX5N.js} +8 -6
- package/dist/{chunk-IOKL7BKE.js → chunk-GCBWGGI6.js} +133 -1
- package/dist/chunk-GRGRBWIO.js +383 -0
- package/dist/{chunk-SLVC5OJ2.js → chunk-HQ7M6PBW.js} +1 -1
- package/dist/chunk-IRW7JMQ4.js +28 -0
- package/dist/{chunk-YNPVQDNB.js → chunk-JU6UB4YA.js} +4 -4
- package/dist/{chunk-SFW573HS.js → chunk-MDO4UCEJ.js} +4 -4
- package/dist/{chunk-STZJ7SY5.js → chunk-MJ6YV2B5.js} +3 -2
- package/dist/{chunk-D7HBX5US.js → chunk-MUZIYL5Q.js} +5 -4
- package/dist/{chunk-DKQQK3WX.js → chunk-OCCZRPER.js} +1 -1
- package/dist/{chunk-FFXHKADZ.js → chunk-OXWQQCDR.js} +13 -32
- package/dist/{chunk-ZB5GAV7J.js → chunk-P3TFNFZS.js} +6 -5
- package/dist/{chunk-QEPXAWE2.js → chunk-QHSW4WHM.js} +3 -26
- package/dist/{chunk-LXHZYSMQ.js → chunk-QSTH6T77.js} +2 -52
- package/dist/{chunk-U2RXVZGY.js → chunk-R7GKX4HW.js} +66 -461
- package/dist/{chunk-X75JEGHS.js → chunk-S6CYH4RI.js} +7 -6
- package/dist/{chunk-MTJ43R2E.js → chunk-SLH2QLKV.js} +1 -1
- package/dist/{chunk-32NXXCQU.js → chunk-TP5NMF6K.js} +6 -7
- package/dist/{chunk-SQQGLGHW.js → chunk-TTP62HWW.js} +3 -3
- package/dist/{chunk-NVOCKXUQ.js → chunk-VDM6DQES.js} +1 -1
- package/dist/chunk-ZTWA5H77.js +94 -0
- package/dist/components/index.d.ts +2640 -2640
- package/dist/components/index.js +38 -35
- package/dist/execution/index.js +2 -2
- package/dist/features/auth/index.js +5 -4
- package/dist/features/crm/index.d.ts +51 -51
- package/dist/features/crm/index.js +21 -19
- package/dist/features/dashboard/index.js +23 -21
- package/dist/features/delivery/index.d.ts +2604 -2604
- package/dist/features/delivery/index.js +21 -19
- package/dist/features/lead-gen/index.js +29 -26
- package/dist/features/monitoring/index.js +26 -24
- package/dist/features/monitoring/requests/index.d.ts +26 -26
- package/dist/features/monitoring/requests/index.js +21 -19
- package/dist/features/operations/index.d.ts +10 -10
- package/dist/features/operations/index.js +28 -25
- package/dist/features/seo/index.js +1 -1
- package/dist/features/settings/index.d.ts +34 -34
- package/dist/features/settings/index.js +22 -20
- package/dist/hooks/delivery/index.css +589 -0
- package/dist/hooks/delivery/index.d.ts +3044 -0
- package/dist/hooks/delivery/index.js +4 -0
- package/dist/hooks/index.d.ts +3103 -3120
- package/dist/hooks/index.js +20 -18
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +506 -0
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.js +1 -0
- package/dist/hooks/published.d.ts +3103 -3120
- package/dist/hooks/published.js +20 -18
- package/dist/index.d.ts +3409 -3361
- package/dist/index.js +21 -19
- package/dist/initialization/index.js +4 -3
- package/dist/layout/index.js +3 -3
- package/dist/organization/index.js +4 -3
- package/dist/profile/index.js +2 -1
- package/dist/provider/ElevasisServiceContext.d.ts +54 -0
- package/dist/provider/ElevasisServiceContext.js +1 -0
- package/dist/provider/index.d.ts +244 -240
- package/dist/provider/index.js +17 -16
- package/dist/provider/published.d.ts +244 -240
- package/dist/provider/published.js +15 -14
- package/dist/types/index.d.ts +2349 -2332
- package/dist/utils/index.d.ts +73 -1
- package/dist/utils/index.js +2 -1
- package/dist/zustand/index.d.ts +7 -7
- package/package.json +3 -3
- package/dist/{chunk-4BF74JVD.js → chunk-6GUW5GGF.js} +1 -1
- package/dist/{chunk-ELJIFLCB.js → chunk-KRWALB24.js} +6 -6
|
@@ -1,13 +1,12 @@
|
|
|
1
|
+
import { CyberAreaChart, CostTrendChart, ActivityTrendChart } from './chunk-MJ6YV2B5.js';
|
|
2
|
+
import { AppShellLoader } from './chunk-M25JL54Z.js';
|
|
1
3
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
2
4
|
import { CustomModal } from './chunk-GBMNCNHX.js';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
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-U2RXVZGY.js';
|
|
7
|
-
import { formatBucketTime, getTimeRangeDates } from './chunk-LXHZYSMQ.js';
|
|
8
|
-
import { CenteredErrorState, CardHeader, StatsCardSkeleton, TrendIndicator, DetailCardSkeleton, EmptyState, PageTitleCaption, JsonViewer } from './chunk-SQQGLGHW.js';
|
|
9
|
-
import { PAGE_SIZE_DEFAULT } from './chunk-IOKL7BKE.js';
|
|
5
|
+
import { formatDuration } from './chunk-E4WQGJNS.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-R7GKX4HW.js';
|
|
7
|
+
import { CenteredErrorState, CardHeader, StatsCardSkeleton, TrendIndicator, DetailCardSkeleton, EmptyState, PageTitleCaption, JsonViewer } from './chunk-TTP62HWW.js';
|
|
10
8
|
import { useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
9
|
+
import { formatBucketTime, PAGE_SIZE_DEFAULT, getTimeRangeDates } from './chunk-GCBWGGI6.js';
|
|
11
10
|
import { useState, useMemo, useCallback } from 'react';
|
|
12
11
|
import { Table, Text, Badge, Tooltip, Card, Group, Select, SegmentedControl, Button, TextInput, Stack, Paper, Center, Loader, ActionIcon, NumberFormatter, Box, Alert, Switch, Pagination, UnstyledButton, Title, Divider, Code, CopyButton, Accordion } from '@mantine/core';
|
|
13
12
|
import { IconActivity, IconFilterOff, IconCircleCheck, IconThumbDown, IconThumbUp, IconClock, IconCircleX, IconSearch, IconArrowUpRight, IconAlertTriangle, IconAlertCircle, IconExternalLink, IconChartPie, IconHeartbeat, IconDownload, IconCpu, IconTrendingUp, IconChartBar, IconCash, IconInfoCircle, IconExclamationCircle, IconBug, IconChecks, IconCircle, IconCircleFilled, IconCheck, IconCopy, IconCircleDashed, IconPlus, IconArrowUp, IconArrowDown, IconFileOff, IconRobot, IconKey, IconUser } from '@tabler/icons-react';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { StyledMarkdown } from './chunk-3KMDHCAR.js';
|
|
2
|
-
import { ResourceStatusColors } from './chunk-ELJIFLCB.js';
|
|
3
|
-
import { getErrorInfo, getErrorTitle, getResourceIcon, formatTimeAgo } from './chunk-IOKL7BKE.js';
|
|
4
|
-
import { useAuthContext } from './chunk-BRJ3QZ4E.js';
|
|
5
2
|
import { useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
3
|
+
import { getErrorInfo, getErrorTitle, getResourceIcon, formatTimeAgo } from './chunk-GCBWGGI6.js';
|
|
4
|
+
import { ResourceStatusColors } from './chunk-KRWALB24.js';
|
|
5
|
+
import { useAuthContext } from './chunk-BRJ3QZ4E.js';
|
|
6
6
|
import { Center, Stack, Title, Text, Button, Box, Loader, Badge, Group, Collapse, ScrollArea, Card, Select, Alert, Code, ThemeIcon, Paper, Grid, Timeline, Space } from '@mantine/core';
|
|
7
7
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
8
8
|
import { IconMinus, IconTrendingUp, IconTrendingDown, IconChevronUp, IconChevronDown, IconAlertCircle, IconClock, IconInfoCircle, IconBan, IconChevronRight, IconInbox, IconHeartHandshake, IconUserOff, IconMailForward, IconBell, IconCalendarEvent, IconCalendarCancel, IconMessageReply, IconCircleCheck, IconCreditCard, IconX, IconEye, IconSend, IconFileText, IconArrowRight, IconPlus, IconActivity } from '@tabler/icons-react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { APIClientError } from './chunk-
|
|
1
|
+
import { APIClientError } from './chunk-GCBWGGI6.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';
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
// src/hooks/operations/command-view/utils/transformCommandViewData.ts
|
|
2
|
+
function transformCommandViewData(data) {
|
|
3
|
+
const nodes = [
|
|
4
|
+
// Map triggers (resourceId -> id)
|
|
5
|
+
...data.triggers.map((trigger) => ({
|
|
6
|
+
id: trigger.resourceId,
|
|
7
|
+
type: "trigger",
|
|
8
|
+
name: trigger.name,
|
|
9
|
+
description: trigger.description,
|
|
10
|
+
status: trigger.status,
|
|
11
|
+
triggerType: trigger.triggerType,
|
|
12
|
+
webhookPath: trigger.webhookPath,
|
|
13
|
+
schedule: trigger.schedule
|
|
14
|
+
})),
|
|
15
|
+
// Map agents (resourceId -> id)
|
|
16
|
+
...data.agents.map((agent) => {
|
|
17
|
+
const agentWithStats = agent;
|
|
18
|
+
return {
|
|
19
|
+
id: agent.resourceId,
|
|
20
|
+
type: "agent",
|
|
21
|
+
name: agent.name,
|
|
22
|
+
description: agent.description,
|
|
23
|
+
status: agent.status,
|
|
24
|
+
modelProvider: agent.modelProvider,
|
|
25
|
+
modelId: agent.modelId,
|
|
26
|
+
toolCount: agent.toolCount,
|
|
27
|
+
hasKnowledgeMap: agent.hasKnowledgeMap,
|
|
28
|
+
hasMemory: agent.hasMemory,
|
|
29
|
+
stats: agentWithStats.stats || null
|
|
30
|
+
// Preserve stats if present
|
|
31
|
+
};
|
|
32
|
+
}),
|
|
33
|
+
// Map workflows (resourceId -> id)
|
|
34
|
+
...data.workflows.map((workflow) => {
|
|
35
|
+
const workflowWithStats = workflow;
|
|
36
|
+
return {
|
|
37
|
+
id: workflow.resourceId,
|
|
38
|
+
type: "workflow",
|
|
39
|
+
name: workflow.name,
|
|
40
|
+
description: workflow.description,
|
|
41
|
+
status: workflow.status,
|
|
42
|
+
stepCount: workflow.stepCount,
|
|
43
|
+
entryPoint: workflow.entryPoint,
|
|
44
|
+
stats: workflowWithStats.stats || null
|
|
45
|
+
// Preserve stats if present
|
|
46
|
+
};
|
|
47
|
+
}),
|
|
48
|
+
// Map integrations (resourceId -> id)
|
|
49
|
+
...data.integrations.map((integration) => ({
|
|
50
|
+
id: integration.resourceId,
|
|
51
|
+
type: "integration",
|
|
52
|
+
name: integration.name,
|
|
53
|
+
description: integration.description,
|
|
54
|
+
status: integration.status,
|
|
55
|
+
provider: integration.provider,
|
|
56
|
+
connectionStatus: "connected",
|
|
57
|
+
// Default - runtime status not yet available
|
|
58
|
+
credentialName: integration.credentialName
|
|
59
|
+
})),
|
|
60
|
+
// Map external resources (resourceId -> id)
|
|
61
|
+
...(data.externalResources ?? []).map((external) => ({
|
|
62
|
+
id: external.resourceId,
|
|
63
|
+
type: "external",
|
|
64
|
+
name: external.name,
|
|
65
|
+
description: external.description,
|
|
66
|
+
status: external.status,
|
|
67
|
+
platform: external.platform,
|
|
68
|
+
platformUrl: external.platformUrl,
|
|
69
|
+
externalId: external.externalId
|
|
70
|
+
})),
|
|
71
|
+
// Map human checkpoints to human nodes (resourceId -> id)
|
|
72
|
+
...(data.humanCheckpoints ?? []).map((humanCheckpoint) => {
|
|
73
|
+
const checkpointWithStats = humanCheckpoint;
|
|
74
|
+
return {
|
|
75
|
+
id: humanCheckpoint.resourceId,
|
|
76
|
+
type: "human",
|
|
77
|
+
name: humanCheckpoint.name,
|
|
78
|
+
description: humanCheckpoint.description ?? "",
|
|
79
|
+
status: humanCheckpoint.status,
|
|
80
|
+
stats: checkpointWithStats.stats || null
|
|
81
|
+
// Preserve stats if present
|
|
82
|
+
};
|
|
83
|
+
})
|
|
84
|
+
];
|
|
85
|
+
const edges = data.edges.map((edge, index) => ({
|
|
86
|
+
id: edge.id || `edge-${index}`,
|
|
87
|
+
source: edge.source,
|
|
88
|
+
target: edge.target,
|
|
89
|
+
relationship: edge.relationship
|
|
90
|
+
}));
|
|
91
|
+
return { nodes, edges };
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export { transformCommandViewData };
|