@elevasis/ui 1.19.0 → 1.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/index.js +2 -2
- package/dist/auth/index.js +3 -3
- package/dist/charts/index.css +14 -0
- package/dist/charts/index.js +8 -6
- package/dist/{chunk-7ATCF6UL.js → chunk-3DIU726S.js} +11 -4
- package/dist/chunk-4SY4EQSK.js +68 -0
- package/dist/{chunk-2Z7LYTIX.js → chunk-AQ5MQDSS.js} +30 -17
- package/dist/chunk-AWMZCYKH.js +639 -0
- package/dist/{chunk-BVNAC4SQ.js → chunk-C7AD6N23.js} +38 -48
- package/dist/{chunk-ZFCG5SHW.js → chunk-COTI2QPO.js} +1 -1
- package/dist/{chunk-WAPZN2U3.js → chunk-EMN755L5.js} +7 -41
- package/dist/{chunk-LBY7FVFD.js → chunk-ERVB3QJQ.js} +31 -715
- package/dist/chunk-GBMNCNHX.js +105 -0
- package/dist/{chunk-MBZDE6UT.js → chunk-IOKL7BKE.js} +9 -1
- package/dist/{chunk-35UWYH2A.js → chunk-JFRG2JJE.js} +8 -2
- package/dist/chunk-JIABC3AE.js +2622 -0
- package/dist/chunk-JZEXFQ6N.js +671 -0
- package/dist/chunk-LGKLC5MG.js +44 -0
- package/dist/chunk-MG3NF7QL.js +63 -0
- package/dist/{chunk-KBLGVZBD.js → chunk-NNKKBSJN.js} +2 -22
- package/dist/{chunk-JNBHUCKW.js → chunk-NVOCKXUQ.js} +1 -1
- package/dist/chunk-OFAXUZPZ.js +2411 -0
- package/dist/chunk-PDHTXPSF.js +12 -0
- package/dist/chunk-QJ2S46NI.js +23 -0
- package/dist/{chunk-NUULWBAD.js → chunk-R3R367QY.js} +1 -1
- package/dist/{chunk-UANJP5P7.js → chunk-R7WLWGPO.js} +5 -5
- package/dist/{chunk-CC3SDRIF.js → chunk-RWQIFKMJ.js} +1 -1
- package/dist/chunk-UMFPUM7Q.js +1281 -0
- package/dist/{chunk-KNJKCD73.js → chunk-VLTVZXP6.js} +4 -4
- package/dist/chunk-WWEMNIHW.js +37 -0
- package/dist/{chunk-UTWJZEOJ.js → chunk-XOTN3X3Z.js} +3 -3
- package/dist/components/index.css +14 -0
- package/dist/components/index.d.ts +41 -7
- package/dist/components/index.js +564 -5023
- package/dist/components/navigation/index.js +2 -63
- package/dist/features/auth/index.css +579 -0
- package/dist/features/auth/index.d.ts +2557 -0
- package/dist/features/auth/index.js +125 -0
- package/dist/features/dashboard/index.css +579 -0
- package/dist/features/dashboard/index.d.ts +244 -0
- package/dist/features/dashboard/index.js +650 -0
- package/dist/features/monitoring/index.css +579 -0
- package/dist/features/monitoring/index.d.ts +121 -0
- package/dist/features/monitoring/index.js +538 -0
- package/dist/features/operations/index.css +14 -0
- package/dist/features/operations/index.d.ts +1675 -2
- package/dist/features/operations/index.js +2148 -28
- package/dist/features/settings/index.css +579 -0
- package/dist/features/settings/index.d.ts +2589 -0
- package/dist/features/settings/index.js +1437 -0
- package/dist/hooks/index.css +14 -0
- package/dist/hooks/index.d.ts +29 -11
- package/dist/hooks/index.js +13 -13
- package/dist/hooks/published.css +14 -0
- package/dist/hooks/published.d.ts +29 -11
- package/dist/hooks/published.js +12 -12
- package/dist/index.css +14 -0
- package/dist/index.d.ts +41 -12
- package/dist/index.js +15 -15
- package/dist/initialization/index.js +2 -2
- package/dist/layout/index.d.ts +7 -1
- package/dist/layout/index.js +7 -5
- package/dist/organization/index.js +2 -2
- package/dist/provider/index.css +14 -0
- package/dist/provider/index.d.ts +1 -1
- package/dist/provider/index.js +10 -10
- package/dist/provider/published.d.ts +1 -1
- package/dist/provider/published.js +6 -6
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/index.js +3 -3
- package/dist/theme/presets/__tests__/getPreset.test.d.ts +2 -0
- package/dist/theme/presets/__tests__/getPreset.test.d.ts.map +1 -0
- package/dist/theme/presets/__tests__/getPreset.test.js +92 -0
- package/dist/theme/presets/cyber-volt.d.ts +12 -0
- package/dist/theme/presets/cyber-volt.d.ts.map +1 -0
- package/dist/theme/presets/cyber-volt.js +70 -0
- package/dist/theme/presets/regal.d.ts +8 -0
- package/dist/theme/presets/regal.d.ts.map +1 -0
- package/dist/theme/presets/regal.js +69 -0
- package/dist/theme/presets/rose-gold.d.ts +12 -0
- package/dist/theme/presets/rose-gold.d.ts.map +1 -0
- package/dist/theme/presets/rose-gold.js +76 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/utils/index.d.ts +12 -1
- package/dist/utils/index.js +1 -1
- package/dist/zustand/index.d.ts +80 -0
- package/dist/zustand/index.js +105 -0
- package/package.json +55 -4
- package/dist/chunk-2YW3LDFT.js +0 -1542
- package/dist/theme/presets/cyber-void.d.ts +0 -12
- package/dist/theme/presets/cyber-void.d.ts.map +0 -1
- package/dist/theme/presets/cyber-void.js +0 -75
- package/dist/{chunk-DVKEEY5J.js → chunk-TUXTSEAF.js} +1 -1
- package/dist/{chunk-U2522LSW.js → chunk-V7XHGJQZ.js} +1 -1
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { useCyberColors
|
|
1
|
+
import { useCyberColors } from './chunk-ERVB3QJQ.js';
|
|
2
|
+
import { GlowDot } from './chunk-AWMZCYKH.js';
|
|
2
3
|
import { Graph_module_css_default, useDirectedChainHighlighting, useNodeSelection, useFitViewTrigger } from './chunk-F6RBK7NJ.js';
|
|
3
4
|
import { STATUS_COLORS, getStatusIcon, formatDuration, getStatusColors, AGENT_CONSTANTS, shouldAnimateEdge, TIMELINE_CONSTANTS, calculateBarPosition, CONTAINER_CONSTANTS, useExecutionPath, useUnifiedWorkflowLayout, WORKFLOW_CONSTANTS, useReactFlowAgent } from './chunk-XA34RETF.js';
|
|
5
|
+
import { glassBase } from './chunk-OFAXUZPZ.js';
|
|
4
6
|
import { Paper, Stack, Text, Group, Badge, Box, useComputedColorScheme, Loader, Card, ActionIcon, SegmentedControl } from '@mantine/core';
|
|
5
7
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
8
|
import { memo, useMemo, useEffect, useState, useCallback, Fragment } from 'react';
|
|
@@ -287,48 +289,6 @@ function TimelineRow({
|
|
|
287
289
|
}
|
|
288
290
|
);
|
|
289
291
|
}
|
|
290
|
-
var VisualizerContainer = ({ children, handleContainerClick, height }) => {
|
|
291
|
-
const containerHeight = height ?? CONTAINER_CONSTANTS.CONTAINER_HEIGHT;
|
|
292
|
-
return /* @__PURE__ */ jsx(
|
|
293
|
-
Box,
|
|
294
|
-
{
|
|
295
|
-
bg: "var(--color-background)",
|
|
296
|
-
onClick: handleContainerClick,
|
|
297
|
-
style: {
|
|
298
|
-
// borderBottom: '1px solid var(--color-border)',
|
|
299
|
-
// borderRadius: 'var(--mantine-radius-default)'
|
|
300
|
-
},
|
|
301
|
-
children: /* @__PURE__ */ jsx(
|
|
302
|
-
"div",
|
|
303
|
-
{
|
|
304
|
-
style: {
|
|
305
|
-
width: "100%",
|
|
306
|
-
height: `${containerHeight}px`,
|
|
307
|
-
overflow: "hidden"
|
|
308
|
-
},
|
|
309
|
-
children
|
|
310
|
-
}
|
|
311
|
-
)
|
|
312
|
-
}
|
|
313
|
-
);
|
|
314
|
-
};
|
|
315
|
-
var EmptyVisualizer = ({ message = "Select an execution to view timeline" }) => {
|
|
316
|
-
return /* @__PURE__ */ jsx(
|
|
317
|
-
Box,
|
|
318
|
-
{
|
|
319
|
-
h: CONTAINER_CONSTANTS.CONTAINER_HEIGHT,
|
|
320
|
-
bg: "var(--color-background)",
|
|
321
|
-
style: {
|
|
322
|
-
borderBottom: "1px solid var(--color-border)",
|
|
323
|
-
borderRadius: "var(--mantine-radius-default)",
|
|
324
|
-
display: "flex",
|
|
325
|
-
alignItems: "center",
|
|
326
|
-
justifyContent: "center"
|
|
327
|
-
},
|
|
328
|
-
children: /* @__PURE__ */ jsx(Text, { size: "sm", c: "dimmed", children: message })
|
|
329
|
-
}
|
|
330
|
-
);
|
|
331
|
-
};
|
|
332
292
|
var DOMAIN_COLORS = {
|
|
333
293
|
primary: "var(--color-primary)",
|
|
334
294
|
agent: "#8b5cf6",
|
|
@@ -558,10 +518,11 @@ var BaseNode = memo(function BaseNode2({
|
|
|
558
518
|
className: `${Graph_module_css_default.nodeCard} ${selected ? Graph_module_css_default.nodeCardSelected : ""}`,
|
|
559
519
|
style: {
|
|
560
520
|
width,
|
|
521
|
+
...glassBase,
|
|
561
522
|
border: `1px solid ${selected ? `var(--mantine-color-${color}-5)` : "var(--color-border)"}`,
|
|
562
|
-
backgroundColor: "var(--
|
|
523
|
+
backgroundColor: "var(--glass-background)",
|
|
563
524
|
cursor: "pointer",
|
|
564
|
-
boxShadow: selected ? `0 0 15px var(--mantine-color-${color}-5),
|
|
525
|
+
boxShadow: selected ? `0 0 15px var(--mantine-color-${color}-5), var(--standard-box-shadow)` : "var(--standard-box-shadow)"
|
|
565
526
|
},
|
|
566
527
|
children
|
|
567
528
|
}
|
|
@@ -674,6 +635,38 @@ var BaseEdge = memo(function BaseEdge2({
|
|
|
674
635
|
) })
|
|
675
636
|
] });
|
|
676
637
|
});
|
|
638
|
+
var VisualizerContainer = ({ children, handleContainerClick, height }) => {
|
|
639
|
+
const containerHeight = height ?? CONTAINER_CONSTANTS.CONTAINER_HEIGHT;
|
|
640
|
+
return /* @__PURE__ */ jsx(Box, { onClick: handleContainerClick, children: /* @__PURE__ */ jsx(
|
|
641
|
+
"div",
|
|
642
|
+
{
|
|
643
|
+
className: Graph_module_css_default.graphContainer,
|
|
644
|
+
style: {
|
|
645
|
+
width: "100%",
|
|
646
|
+
height: `${containerHeight}px`,
|
|
647
|
+
overflow: "hidden"
|
|
648
|
+
},
|
|
649
|
+
children
|
|
650
|
+
}
|
|
651
|
+
) });
|
|
652
|
+
};
|
|
653
|
+
var EmptyVisualizer = ({ message = "Select an execution to view timeline" }) => {
|
|
654
|
+
return /* @__PURE__ */ jsx(
|
|
655
|
+
Box,
|
|
656
|
+
{
|
|
657
|
+
h: CONTAINER_CONSTANTS.CONTAINER_HEIGHT,
|
|
658
|
+
bg: "var(--color-background)",
|
|
659
|
+
style: {
|
|
660
|
+
borderBottom: "1px solid var(--color-border)",
|
|
661
|
+
borderRadius: "var(--mantine-radius-default)",
|
|
662
|
+
display: "flex",
|
|
663
|
+
alignItems: "center",
|
|
664
|
+
justifyContent: "center"
|
|
665
|
+
},
|
|
666
|
+
children: /* @__PURE__ */ jsx(Text, { size: "sm", c: "dimmed", children: message })
|
|
667
|
+
}
|
|
668
|
+
);
|
|
669
|
+
};
|
|
677
670
|
var UnifiedWorkflowNode = memo(function UnifiedWorkflowNode2({ data }) {
|
|
678
671
|
const selected = data.isSelected ?? false;
|
|
679
672
|
const primaryColor = data.isEntryPoint ? "teal" : data.isEndNode ? "violet" : data.isConditional ? "orange" : "blue";
|
|
@@ -866,7 +859,6 @@ function UnifiedWorkflowGraph({
|
|
|
866
859
|
selectNodesOnDrag: false,
|
|
867
860
|
zoomOnScroll: true,
|
|
868
861
|
panOnDrag: true,
|
|
869
|
-
className: Graph_module_css_default.graphContainer,
|
|
870
862
|
children: [
|
|
871
863
|
/* @__PURE__ */ jsx(GraphBackground, {}),
|
|
872
864
|
/* @__PURE__ */ jsx(Panel, { position: "top-right", style: { marginTop: 12, marginRight: 12 }, children: /* @__PURE__ */ jsx(
|
|
@@ -942,7 +934,6 @@ var AgentIterationNode = memo(function AgentIterationNode2({ data, selected }) {
|
|
|
942
934
|
width: AGENT_CONSTANTS.CIRCLE_SIZE,
|
|
943
935
|
height: AGENT_CONSTANTS.CIRCLE_SIZE,
|
|
944
936
|
borderRadius: "50%",
|
|
945
|
-
backgroundColor: "var(--color-surface)",
|
|
946
937
|
border: `2px solid ${colors.color}`,
|
|
947
938
|
display: "flex",
|
|
948
939
|
alignItems: "center",
|
|
@@ -1116,7 +1107,6 @@ function AgentExecutionVisualizer({
|
|
|
1116
1107
|
selectNodesOnDrag: false,
|
|
1117
1108
|
zoomOnScroll: false,
|
|
1118
1109
|
panOnDrag: false,
|
|
1119
|
-
className: Graph_module_css_default.graphContainer,
|
|
1120
1110
|
children: [
|
|
1121
1111
|
/* @__PURE__ */ jsx(GraphBackground, {}),
|
|
1122
1112
|
/* @__PURE__ */ jsx(GraphFitViewButton, { padding: AGENT_CONSTANTS.FIT_VIEW_PADDING, variant: "mantine", duration: 300 }),
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NavigationButton } from './chunk-NNKKBSJN.js';
|
|
2
|
+
import { sidebarItemGap, sidebarSubLinkPaddingY, sidebarSubLinkPaddingX, sidebarSubLinkIndent, sidebarHoverDelay, sidebarTransitionDuration, sidebarCollapsedWidth, sidebarWidth, topbarHeight, sidebarToggleIconSize, sidebarSectionPadding, sidebarGroupChevronSize, sidebarIconInnerSize, sidebarListItemIconSize, sidebarBottomSectionHeight } from './chunk-QJ2S46NI.js';
|
|
2
3
|
import { useAppearance } from './chunk-QJ2KCHKX.js';
|
|
3
4
|
import { useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
4
5
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
|
-
import { Collapse, HoverCard, Stack, Group, Text, UnstyledButton, Tooltip, ScrollArea, Menu, Avatar, Container, Title, Button, Box, useMantineColorScheme, Switch, Code } from '@mantine/core';
|
|
6
|
-
import { IconLayoutSidebarLeftExpand, IconLayoutSidebarLeftCollapse, IconUser, IconLogout, IconAlertCircle, IconChevronDown, IconChevronRight, IconMoonStars, IconSun } from '@tabler/icons-react';
|
|
7
6
|
import { createContext, memo, useEffect, createElement, useContext, useRef, useLayoutEffect, useState } from 'react';
|
|
7
|
+
import { Collapse, HoverCard, Stack, Group, Text, UnstyledButton, Tooltip, ScrollArea, Menu, Avatar, Box, useMantineColorScheme, Switch, Code } from '@mantine/core';
|
|
8
|
+
import { IconLayoutSidebarLeftExpand, IconLayoutSidebarLeftCollapse, IconUser, IconLogout, IconChevronDown, IconChevronRight, IconMoonStars, IconSun } from '@tabler/icons-react';
|
|
8
9
|
|
|
9
10
|
function Vignette({ strength = 0.35, className }) {
|
|
10
11
|
return /* @__PURE__ */ jsx(
|
|
@@ -80,45 +81,10 @@ var AppShellContentContainer = ({ children }) => {
|
|
|
80
81
|
}
|
|
81
82
|
);
|
|
82
83
|
};
|
|
83
|
-
var PageContainer = ({ children }) => {
|
|
84
|
-
return (
|
|
85
|
-
// Add padding to the top of the container to adjust for the topbar height
|
|
86
|
-
/* @__PURE__ */ jsx(Container, { size: "xl", p: 0, w: "100%", children: /* @__PURE__ */ jsx(Stack, { children }) })
|
|
87
|
-
);
|
|
88
|
-
};
|
|
89
84
|
var AppTopbarAdjusterWrapper = ({ children }) => {
|
|
90
85
|
const padding = `${topbarHeight}px`;
|
|
91
86
|
return /* @__PURE__ */ jsx("div", { style: { paddingTop: padding }, children });
|
|
92
87
|
};
|
|
93
|
-
var standardMdSpacing = 16;
|
|
94
|
-
var topAndBottomSpacing = standardMdSpacing * 2;
|
|
95
|
-
var AppShellCenteredContainer = ({ children }) => {
|
|
96
|
-
return /* @__PURE__ */ jsx(
|
|
97
|
-
"div",
|
|
98
|
-
{
|
|
99
|
-
style: {
|
|
100
|
-
display: "flex",
|
|
101
|
-
alignItems: "center",
|
|
102
|
-
justifyContent: "center",
|
|
103
|
-
margin: "auto auto",
|
|
104
|
-
height: `calc(100vh - ${topbarHeight + topAndBottomSpacing}px)`,
|
|
105
|
-
textAlign: "center"
|
|
106
|
-
},
|
|
107
|
-
children
|
|
108
|
-
}
|
|
109
|
-
);
|
|
110
|
-
};
|
|
111
|
-
var AppShellLoader = () => {
|
|
112
|
-
const { loader } = useAppearance();
|
|
113
|
-
return /* @__PURE__ */ jsx(AppShellCenteredContainer, { children: loader });
|
|
114
|
-
};
|
|
115
|
-
var AppShellError = ({ message, retry }) => {
|
|
116
|
-
return /* @__PURE__ */ jsxs(AppShellCenteredContainer, { children: [
|
|
117
|
-
/* @__PURE__ */ jsx(IconAlertCircle, { size: 48, color: "var(--color-error)" }),
|
|
118
|
-
/* @__PURE__ */ jsx(Title, { order: 3, c: "dimmed", children: message }),
|
|
119
|
-
retry && /* @__PURE__ */ jsx(Button, { onClick: retry, children: "Retry" })
|
|
120
|
-
] });
|
|
121
|
-
};
|
|
122
88
|
var SidebarContext = createContext(void 0);
|
|
123
89
|
var SIDEBAR_COLLAPSED_KEY = "sidebar-collapsed";
|
|
124
90
|
var SidebarProvider = ({ children }) => {
|
|
@@ -225,7 +191,7 @@ var SubLinkItem = ({ linkItem, currentPath }) => {
|
|
|
225
191
|
color: isActive ? activeColor3 : defaultColor2,
|
|
226
192
|
backgroundColor: isActive ? activeColorBg : "transparent",
|
|
227
193
|
padding: `${sidebarSubLinkPaddingY}px ${sidebarSubLinkPaddingX}px ${sidebarSubLinkPaddingY}px ${sidebarSubLinkIndent}px`,
|
|
228
|
-
borderRadius: "var(--mantine-radius-
|
|
194
|
+
borderRadius: "var(--mantine-radius-default)",
|
|
229
195
|
transition: `all var(--duration-fast) var(--easing)`,
|
|
230
196
|
fontWeight: isActive ? 600 : 400
|
|
231
197
|
},
|
|
@@ -908,7 +874,7 @@ var SidebarListItem = ({
|
|
|
908
874
|
width: "100%",
|
|
909
875
|
padding: "var(--mantine-spacing-xs)",
|
|
910
876
|
backgroundColor: isActive ? activeBg2 : "transparent",
|
|
911
|
-
borderRadius: "var(--mantine-radius-
|
|
877
|
+
borderRadius: "var(--mantine-radius-default)",
|
|
912
878
|
transition: `all var(--duration-fast) var(--easing)`,
|
|
913
879
|
cursor: disabled ? "not-allowed" : "pointer",
|
|
914
880
|
opacity: disabled ? 0.5 : 1
|
|
@@ -1272,4 +1238,4 @@ var Topbar = ({ version, leftContent, children }) => {
|
|
|
1272
1238
|
] });
|
|
1273
1239
|
};
|
|
1274
1240
|
|
|
1275
|
-
export {
|
|
1241
|
+
export { AppShellContainer, AppShellContentContainer, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, LinksGroup, Sidebar, SidebarContext, SidebarListItem, SidebarProvider, SubshellContainer, SubshellContentContainer, SubshellRightSideContainer, SubshellSidebar, Topbar, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse };
|