@cere/cere-design-system 0.0.38 → 0.0.40
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/index.d.mts +47 -2
- package/dist/index.d.ts +47 -2
- package/dist/index.js +645 -515
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +729 -602
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5893,15 +5893,52 @@ var ScrollableRow = ({
|
|
|
5893
5893
|
] });
|
|
5894
5894
|
};
|
|
5895
5895
|
|
|
5896
|
+
// src/components/layout/SectionRow.tsx
|
|
5897
|
+
import Box20 from "@mui/material/Box";
|
|
5898
|
+
import Typography16 from "@mui/material/Typography";
|
|
5899
|
+
import { jsx as jsx51, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
5900
|
+
function SectionRow({
|
|
5901
|
+
title,
|
|
5902
|
+
subtitle,
|
|
5903
|
+
action,
|
|
5904
|
+
leftLabel,
|
|
5905
|
+
rightLabel,
|
|
5906
|
+
children
|
|
5907
|
+
}) {
|
|
5908
|
+
return /* @__PURE__ */ jsxs27(Box20, { component: "section", sx: { mb: 4 }, children: [
|
|
5909
|
+
/* @__PURE__ */ jsxs27(
|
|
5910
|
+
Box20,
|
|
5911
|
+
{
|
|
5912
|
+
component: "header",
|
|
5913
|
+
sx: {
|
|
5914
|
+
display: "flex",
|
|
5915
|
+
alignItems: "flex-end",
|
|
5916
|
+
justifyContent: "space-between",
|
|
5917
|
+
gap: 1.5,
|
|
5918
|
+
mb: 1.5
|
|
5919
|
+
},
|
|
5920
|
+
children: [
|
|
5921
|
+
/* @__PURE__ */ jsxs27(Box20, { sx: { minWidth: 0 }, children: [
|
|
5922
|
+
/* @__PURE__ */ jsx51(Typography16, { component: "h2", variant: "h6", sx: { m: 0 }, children: title }),
|
|
5923
|
+
subtitle && /* @__PURE__ */ jsx51(Typography16, { variant: "caption", sx: { color: "text.secondary" }, children: subtitle })
|
|
5924
|
+
] }),
|
|
5925
|
+
action && /* @__PURE__ */ jsx51(Box20, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: action })
|
|
5926
|
+
]
|
|
5927
|
+
}
|
|
5928
|
+
),
|
|
5929
|
+
/* @__PURE__ */ jsx51(ScrollableRow, { leftLabel, rightLabel, children })
|
|
5930
|
+
] });
|
|
5931
|
+
}
|
|
5932
|
+
|
|
5896
5933
|
// src/components/layout/Carousel.tsx
|
|
5897
5934
|
import { useEffect as useEffect5, useState as useState10 } from "react";
|
|
5898
|
-
import
|
|
5935
|
+
import Box21 from "@mui/material/Box";
|
|
5899
5936
|
import IconButton10 from "@mui/material/IconButton";
|
|
5900
|
-
import
|
|
5937
|
+
import Typography17 from "@mui/material/Typography";
|
|
5901
5938
|
import ChevronLeftIcon3 from "@mui/icons-material/ChevronLeft";
|
|
5902
5939
|
import ChevronRightIcon3 from "@mui/icons-material/ChevronRight";
|
|
5903
5940
|
import useEmblaCarousel from "embla-carousel-react";
|
|
5904
|
-
import { Fragment as Fragment10, jsx as
|
|
5941
|
+
import { Fragment as Fragment10, jsx as jsx52, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
5905
5942
|
var pad2 = (n) => String(n).padStart(2, "0");
|
|
5906
5943
|
function Carousel({
|
|
5907
5944
|
slides,
|
|
@@ -5953,8 +5990,8 @@ function Carousel({
|
|
|
5953
5990
|
boxShadow: 1,
|
|
5954
5991
|
"&:hover": { bgcolor: "background.paper" }
|
|
5955
5992
|
};
|
|
5956
|
-
return /* @__PURE__ */
|
|
5957
|
-
|
|
5993
|
+
return /* @__PURE__ */ jsxs28(
|
|
5994
|
+
Box21,
|
|
5958
5995
|
{
|
|
5959
5996
|
role: "region",
|
|
5960
5997
|
"aria-roledescription": "carousel",
|
|
@@ -5963,8 +6000,8 @@ function Carousel({
|
|
|
5963
6000
|
onPointerLeave: pauseOnHover ? () => setPaused(false) : void 0,
|
|
5964
6001
|
sx: { position: "relative", width: "100%" },
|
|
5965
6002
|
children: [
|
|
5966
|
-
/* @__PURE__ */
|
|
5967
|
-
|
|
6003
|
+
/* @__PURE__ */ jsx52(Box21, { ref: emblaRef, sx: { overflow: "hidden" }, children: /* @__PURE__ */ jsx52(Box21, { sx: { display: "flex" }, children: slides.map((item, i) => /* @__PURE__ */ jsx52(
|
|
6004
|
+
Box21,
|
|
5968
6005
|
{
|
|
5969
6006
|
role: "group",
|
|
5970
6007
|
"aria-roledescription": "slide",
|
|
@@ -5974,28 +6011,28 @@ function Carousel({
|
|
|
5974
6011
|
},
|
|
5975
6012
|
getKey ? getKey(item, i) : i
|
|
5976
6013
|
)) }) }),
|
|
5977
|
-
showControls && showArrows && /* @__PURE__ */
|
|
5978
|
-
/* @__PURE__ */
|
|
6014
|
+
showControls && showArrows && /* @__PURE__ */ jsxs28(Fragment10, { children: [
|
|
6015
|
+
/* @__PURE__ */ jsx52(
|
|
5979
6016
|
IconButton10,
|
|
5980
6017
|
{
|
|
5981
6018
|
"aria-label": "Previous slide",
|
|
5982
6019
|
onClick: () => emblaApi?.scrollPrev(),
|
|
5983
6020
|
sx: [arrowBaseSx, { left: 8 }, ...Array.isArray(arrowSx) ? arrowSx : [arrowSx]],
|
|
5984
|
-
children: /* @__PURE__ */
|
|
6021
|
+
children: /* @__PURE__ */ jsx52(ChevronLeftIcon3, {})
|
|
5985
6022
|
}
|
|
5986
6023
|
),
|
|
5987
|
-
/* @__PURE__ */
|
|
6024
|
+
/* @__PURE__ */ jsx52(
|
|
5988
6025
|
IconButton10,
|
|
5989
6026
|
{
|
|
5990
6027
|
"aria-label": "Next slide",
|
|
5991
6028
|
onClick: () => emblaApi?.scrollNext(),
|
|
5992
6029
|
sx: [arrowBaseSx, { right: 8 }, ...Array.isArray(arrowSx) ? arrowSx : [arrowSx]],
|
|
5993
|
-
children: /* @__PURE__ */
|
|
6030
|
+
children: /* @__PURE__ */ jsx52(ChevronRightIcon3, {})
|
|
5994
6031
|
}
|
|
5995
6032
|
)
|
|
5996
6033
|
] }),
|
|
5997
|
-
showControls && showCounter && /* @__PURE__ */
|
|
5998
|
-
|
|
6034
|
+
showControls && showCounter && /* @__PURE__ */ jsxs28(
|
|
6035
|
+
Typography17,
|
|
5999
6036
|
{
|
|
6000
6037
|
variant: "caption",
|
|
6001
6038
|
sx: {
|
|
@@ -6016,8 +6053,8 @@ function Carousel({
|
|
|
6016
6053
|
]
|
|
6017
6054
|
}
|
|
6018
6055
|
),
|
|
6019
|
-
showControls && showDots && /* @__PURE__ */
|
|
6020
|
-
|
|
6056
|
+
showControls && showDots && /* @__PURE__ */ jsx52(
|
|
6057
|
+
Box21,
|
|
6021
6058
|
{
|
|
6022
6059
|
role: "tablist",
|
|
6023
6060
|
"aria-label": "Carousel slides",
|
|
@@ -6030,8 +6067,8 @@ function Carousel({
|
|
|
6030
6067
|
justifyContent: "center",
|
|
6031
6068
|
gap: 1
|
|
6032
6069
|
},
|
|
6033
|
-
children: slides.map((item, i) => /* @__PURE__ */
|
|
6034
|
-
|
|
6070
|
+
children: slides.map((item, i) => /* @__PURE__ */ jsx52(
|
|
6071
|
+
Box21,
|
|
6035
6072
|
{
|
|
6036
6073
|
component: "button",
|
|
6037
6074
|
role: "tab",
|
|
@@ -6059,10 +6096,66 @@ function Carousel({
|
|
|
6059
6096
|
);
|
|
6060
6097
|
}
|
|
6061
6098
|
|
|
6099
|
+
// src/components/layout/GradientSurface.tsx
|
|
6100
|
+
import Box22 from "@mui/material/Box";
|
|
6101
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
6102
|
+
var PALETTES = [
|
|
6103
|
+
{ base: "linear-gradient(115deg, #0d0627 0%, #23194b 55%, #8B00EC 130%)", blobA: "#BD32A7", blobB: "#8B00EC" },
|
|
6104
|
+
{ base: "linear-gradient(115deg, #2a1635 0%, #5b2a55 55%, #c75a8a 130%)", blobA: "#ff7ea8", blobB: "#ffd1a8" },
|
|
6105
|
+
{ base: "linear-gradient(115deg, #0e2a2c 0%, #1d5d63 55%, #59c6c4 130%)", blobA: "#59c6c4", blobB: "#2bb0a0" },
|
|
6106
|
+
{ base: "linear-gradient(115deg, #131534 0%, #2c3a8c 55%, #6088e8 130%)", blobA: "#6088e8", blobB: "#3b5db8" },
|
|
6107
|
+
{ base: "linear-gradient(115deg, #1a0f30 0%, #3d2a78 55%, #8a5cf6 130%)", blobA: "#a892ff", blobB: "#6b4cf0" },
|
|
6108
|
+
{ base: "linear-gradient(115deg, #2b1124 0%, #6d2244 55%, #d44a7a 130%)", blobA: "#d44a7a", blobB: "#a8345e" }
|
|
6109
|
+
];
|
|
6110
|
+
var GRADIENT_PALETTE_COUNT = PALETTES.length;
|
|
6111
|
+
function GradientSurface({ index, children, sx }) {
|
|
6112
|
+
const wrapped = (index % GRADIENT_PALETTE_COUNT + GRADIENT_PALETTE_COUNT) % GRADIENT_PALETTE_COUNT;
|
|
6113
|
+
const palette = PALETTES[wrapped];
|
|
6114
|
+
return /* @__PURE__ */ jsx53(
|
|
6115
|
+
Box22,
|
|
6116
|
+
{
|
|
6117
|
+
"data-gradient-index": wrapped,
|
|
6118
|
+
sx: [
|
|
6119
|
+
{
|
|
6120
|
+
position: "relative",
|
|
6121
|
+
overflow: "hidden",
|
|
6122
|
+
background: palette.base,
|
|
6123
|
+
color: "common.white",
|
|
6124
|
+
"&::before, &::after": {
|
|
6125
|
+
content: '""',
|
|
6126
|
+
position: "absolute",
|
|
6127
|
+
pointerEvents: "none",
|
|
6128
|
+
borderRadius: "50%",
|
|
6129
|
+
filter: "blur(6px)"
|
|
6130
|
+
},
|
|
6131
|
+
"&::before": {
|
|
6132
|
+
width: 460,
|
|
6133
|
+
height: 460,
|
|
6134
|
+
top: -120,
|
|
6135
|
+
right: -120,
|
|
6136
|
+
opacity: 0.7,
|
|
6137
|
+
background: `radial-gradient(circle, ${palette.blobA} 0%, transparent 70%)`
|
|
6138
|
+
},
|
|
6139
|
+
"&::after": {
|
|
6140
|
+
width: 520,
|
|
6141
|
+
height: 520,
|
|
6142
|
+
bottom: -180,
|
|
6143
|
+
left: -160,
|
|
6144
|
+
opacity: 0.55,
|
|
6145
|
+
background: `radial-gradient(circle, ${palette.blobB} 0%, transparent 70%)`
|
|
6146
|
+
}
|
|
6147
|
+
},
|
|
6148
|
+
...Array.isArray(sx) ? sx : [sx]
|
|
6149
|
+
],
|
|
6150
|
+
children
|
|
6151
|
+
}
|
|
6152
|
+
);
|
|
6153
|
+
}
|
|
6154
|
+
|
|
6062
6155
|
// src/components/layout/DefinitionRow.tsx
|
|
6063
|
-
import
|
|
6064
|
-
import
|
|
6065
|
-
import { jsx as
|
|
6156
|
+
import Box23 from "@mui/material/Box";
|
|
6157
|
+
import Typography18 from "@mui/material/Typography";
|
|
6158
|
+
import { jsx as jsx54, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
6066
6159
|
function DefinitionRow({
|
|
6067
6160
|
icon,
|
|
6068
6161
|
label,
|
|
@@ -6072,8 +6165,8 @@ function DefinitionRow({
|
|
|
6072
6165
|
dense = false,
|
|
6073
6166
|
divider = true
|
|
6074
6167
|
}) {
|
|
6075
|
-
return /* @__PURE__ */
|
|
6076
|
-
|
|
6168
|
+
return /* @__PURE__ */ jsxs29(
|
|
6169
|
+
Box23,
|
|
6077
6170
|
{
|
|
6078
6171
|
"data-density": dense ? "dense" : "normal",
|
|
6079
6172
|
sx: {
|
|
@@ -6088,13 +6181,13 @@ function DefinitionRow({
|
|
|
6088
6181
|
}
|
|
6089
6182
|
},
|
|
6090
6183
|
children: [
|
|
6091
|
-
icon && /* @__PURE__ */
|
|
6092
|
-
/* @__PURE__ */
|
|
6093
|
-
/* @__PURE__ */
|
|
6094
|
-
sublabel && /* @__PURE__ */
|
|
6184
|
+
icon && /* @__PURE__ */ jsx54(Box23, { sx: { display: "flex", alignItems: "center", color: "text.secondary" }, children: icon }),
|
|
6185
|
+
/* @__PURE__ */ jsxs29(Box23, { sx: { minWidth: 0, flex: 1 }, children: [
|
|
6186
|
+
/* @__PURE__ */ jsx54(Typography18, { variant: "body2", sx: { fontWeight: 500, lineHeight: 1.2 }, children: label }),
|
|
6187
|
+
sublabel && /* @__PURE__ */ jsx54(Typography18, { variant: "caption", sx: { color: "text.secondary" }, children: sublabel })
|
|
6095
6188
|
] }),
|
|
6096
|
-
(value || hint) && /* @__PURE__ */
|
|
6097
|
-
|
|
6189
|
+
(value || hint) && /* @__PURE__ */ jsxs29(
|
|
6190
|
+
Box23,
|
|
6098
6191
|
{
|
|
6099
6192
|
sx: {
|
|
6100
6193
|
display: "flex",
|
|
@@ -6103,8 +6196,8 @@ function DefinitionRow({
|
|
|
6103
6196
|
textAlign: "right"
|
|
6104
6197
|
},
|
|
6105
6198
|
children: [
|
|
6106
|
-
value && /* @__PURE__ */
|
|
6107
|
-
hint && /* @__PURE__ */
|
|
6199
|
+
value && /* @__PURE__ */ jsx54(Typography18, { variant: "body2", sx: { color: "text.secondary" }, children: value }),
|
|
6200
|
+
hint && /* @__PURE__ */ jsx54(Typography18, { variant: "caption", sx: { color: "text.disabled" }, children: hint })
|
|
6108
6201
|
]
|
|
6109
6202
|
}
|
|
6110
6203
|
)
|
|
@@ -6117,11 +6210,11 @@ function DefinitionRow({
|
|
|
6117
6210
|
import { forwardRef as forwardRef2 } from "react";
|
|
6118
6211
|
import MuiDialog2 from "@mui/material/Dialog";
|
|
6119
6212
|
import IconButton11 from "@mui/material/IconButton";
|
|
6120
|
-
import
|
|
6121
|
-
import
|
|
6213
|
+
import Box24 from "@mui/material/Box";
|
|
6214
|
+
import Typography19 from "@mui/material/Typography";
|
|
6122
6215
|
import Slide from "@mui/material/Slide";
|
|
6123
6216
|
import CloseIcon3 from "@mui/icons-material/Close";
|
|
6124
|
-
import { jsx as
|
|
6217
|
+
import { jsx as jsx55, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6125
6218
|
var WIDTH_PX = {
|
|
6126
6219
|
sm: 420,
|
|
6127
6220
|
md: 640,
|
|
@@ -6130,12 +6223,12 @@ var WIDTH_PX = {
|
|
|
6130
6223
|
};
|
|
6131
6224
|
var SlideLeft = forwardRef2(
|
|
6132
6225
|
function SlideLeft2(props, ref) {
|
|
6133
|
-
return /* @__PURE__ */
|
|
6226
|
+
return /* @__PURE__ */ jsx55(Slide, { direction: "left", ref, ...props });
|
|
6134
6227
|
}
|
|
6135
6228
|
);
|
|
6136
6229
|
var SlideUp = forwardRef2(
|
|
6137
6230
|
function SlideUp2(props, ref) {
|
|
6138
|
-
return /* @__PURE__ */
|
|
6231
|
+
return /* @__PURE__ */ jsx55(Slide, { direction: "up", ref, ...props });
|
|
6139
6232
|
}
|
|
6140
6233
|
);
|
|
6141
6234
|
function PanelDialog({
|
|
@@ -6170,7 +6263,7 @@ function PanelDialog({
|
|
|
6170
6263
|
borderRadius: 0
|
|
6171
6264
|
}
|
|
6172
6265
|
};
|
|
6173
|
-
return /* @__PURE__ */
|
|
6266
|
+
return /* @__PURE__ */ jsxs30(
|
|
6174
6267
|
MuiDialog2,
|
|
6175
6268
|
{
|
|
6176
6269
|
open,
|
|
@@ -6184,8 +6277,8 @@ function PanelDialog({
|
|
|
6184
6277
|
...backdropSx ? { backdrop: { sx: backdropSx } } : {}
|
|
6185
6278
|
},
|
|
6186
6279
|
children: [
|
|
6187
|
-
!hideHeader && /* @__PURE__ */
|
|
6188
|
-
|
|
6280
|
+
!hideHeader && /* @__PURE__ */ jsxs30(
|
|
6281
|
+
Box24,
|
|
6189
6282
|
{
|
|
6190
6283
|
sx: {
|
|
6191
6284
|
display: "flex",
|
|
@@ -6198,15 +6291,15 @@ function PanelDialog({
|
|
|
6198
6291
|
borderColor: "divider"
|
|
6199
6292
|
},
|
|
6200
6293
|
children: [
|
|
6201
|
-
/* @__PURE__ */
|
|
6202
|
-
/* @__PURE__ */
|
|
6294
|
+
/* @__PURE__ */ jsx55(Box24, { sx: { display: "flex", alignItems: "center", minWidth: 0 }, children: typeof title === "string" ? /* @__PURE__ */ jsx55(Typography19, { variant: "h6", noWrap: true, children: title }) : title }),
|
|
6295
|
+
/* @__PURE__ */ jsxs30(Box24, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
6203
6296
|
headerActions,
|
|
6204
|
-
/* @__PURE__ */
|
|
6297
|
+
/* @__PURE__ */ jsx55(IconButton11, { "aria-label": "Close", onClick: onClose, edge: "end", size: "small", children: /* @__PURE__ */ jsx55(CloseIcon3, { fontSize: "small" }) })
|
|
6205
6298
|
] })
|
|
6206
6299
|
]
|
|
6207
6300
|
}
|
|
6208
6301
|
),
|
|
6209
|
-
hideHeader && /* @__PURE__ */
|
|
6302
|
+
hideHeader && /* @__PURE__ */ jsx55(
|
|
6210
6303
|
IconButton11,
|
|
6211
6304
|
{
|
|
6212
6305
|
"aria-label": "Close",
|
|
@@ -6221,10 +6314,10 @@ function PanelDialog({
|
|
|
6221
6314
|
boxShadow: 1,
|
|
6222
6315
|
"&:hover": { bgcolor: "background.paper" }
|
|
6223
6316
|
},
|
|
6224
|
-
children: /* @__PURE__ */
|
|
6317
|
+
children: /* @__PURE__ */ jsx55(CloseIcon3, { fontSize: "small" })
|
|
6225
6318
|
}
|
|
6226
6319
|
),
|
|
6227
|
-
/* @__PURE__ */
|
|
6320
|
+
/* @__PURE__ */ jsx55(Box24, { sx: { flex: 1, overflow: "auto", minHeight: 0 }, children })
|
|
6228
6321
|
]
|
|
6229
6322
|
}
|
|
6230
6323
|
);
|
|
@@ -6237,35 +6330,66 @@ import MuiCardHeader from "@mui/material/CardHeader";
|
|
|
6237
6330
|
import MuiCardActions from "@mui/material/CardActions";
|
|
6238
6331
|
import MuiCardMedia from "@mui/material/CardMedia";
|
|
6239
6332
|
import { styled as styled30 } from "@mui/material/styles";
|
|
6240
|
-
import { jsx as
|
|
6241
|
-
var CardMedia = (props) => /* @__PURE__ */
|
|
6333
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
6334
|
+
var CardMedia = (props) => /* @__PURE__ */ jsx56(MuiCardMedia, { ...props });
|
|
6242
6335
|
var StyledCard = styled30(MuiCard, {
|
|
6243
|
-
shouldForwardProp: (prop) => prop !== "hoverable" && prop !== "clickable"
|
|
6244
|
-
})(
|
|
6245
|
-
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
"
|
|
6253
|
-
boxShadow: "
|
|
6254
|
-
|
|
6336
|
+
shouldForwardProp: (prop) => prop !== "hoverable" && prop !== "clickable" && prop !== "dsVariant"
|
|
6337
|
+
})(
|
|
6338
|
+
({ theme: theme2, hoverable, clickable, dsVariant }) => ({
|
|
6339
|
+
borderRadius: 8,
|
|
6340
|
+
transition: "all 0.2s ease-in-out",
|
|
6341
|
+
...dsVariant === "standard" && {
|
|
6342
|
+
boxShadow: "0px 1px 3px rgba(0, 0, 0, 0.12)",
|
|
6343
|
+
backgroundColor: theme2.palette.background.paper
|
|
6344
|
+
},
|
|
6345
|
+
...dsVariant === "tinted" && {
|
|
6346
|
+
boxShadow: "none",
|
|
6347
|
+
backgroundColor: theme2.palette.action.hover,
|
|
6348
|
+
border: `1px solid ${theme2.palette.divider}`
|
|
6349
|
+
},
|
|
6350
|
+
...dsVariant === "outlined" && {
|
|
6351
|
+
boxShadow: "none",
|
|
6352
|
+
backgroundColor: theme2.palette.background.paper,
|
|
6353
|
+
border: `1px solid ${theme2.palette.divider}`
|
|
6354
|
+
},
|
|
6355
|
+
...clickable && {
|
|
6356
|
+
cursor: "pointer"
|
|
6357
|
+
},
|
|
6358
|
+
...hoverable && {
|
|
6359
|
+
"&:hover": {
|
|
6360
|
+
boxShadow: "0px 4px 12px rgba(0, 0, 0, 0.15)",
|
|
6361
|
+
transform: "translateY(-2px)"
|
|
6362
|
+
}
|
|
6255
6363
|
}
|
|
6256
|
-
}
|
|
6257
|
-
|
|
6258
|
-
var Card = ({
|
|
6259
|
-
|
|
6364
|
+
})
|
|
6365
|
+
);
|
|
6366
|
+
var Card = ({
|
|
6367
|
+
variant = "standard",
|
|
6368
|
+
hoverable = false,
|
|
6369
|
+
clickable = false,
|
|
6370
|
+
children,
|
|
6371
|
+
...props
|
|
6372
|
+
}) => {
|
|
6373
|
+
return /* @__PURE__ */ jsx56(
|
|
6374
|
+
StyledCard,
|
|
6375
|
+
{
|
|
6376
|
+
dsVariant: variant,
|
|
6377
|
+
hoverable,
|
|
6378
|
+
clickable,
|
|
6379
|
+
variant: "elevation",
|
|
6380
|
+
...props,
|
|
6381
|
+
children
|
|
6382
|
+
}
|
|
6383
|
+
);
|
|
6260
6384
|
};
|
|
6261
6385
|
var CardContent = (props) => {
|
|
6262
|
-
return /* @__PURE__ */
|
|
6386
|
+
return /* @__PURE__ */ jsx56(MuiCardContent, { ...props });
|
|
6263
6387
|
};
|
|
6264
6388
|
var CardHeader = (props) => {
|
|
6265
|
-
return /* @__PURE__ */
|
|
6389
|
+
return /* @__PURE__ */ jsx56(MuiCardHeader, { ...props });
|
|
6266
6390
|
};
|
|
6267
6391
|
var CardActions = (props) => {
|
|
6268
|
-
return /* @__PURE__ */
|
|
6392
|
+
return /* @__PURE__ */ jsx56(MuiCardActions, { ...props });
|
|
6269
6393
|
};
|
|
6270
6394
|
|
|
6271
6395
|
// src/components/layout/List.tsx
|
|
@@ -6277,9 +6401,9 @@ import {
|
|
|
6277
6401
|
ListItemSecondaryAction
|
|
6278
6402
|
} from "@mui/material";
|
|
6279
6403
|
import { styled as styled31 } from "@mui/material/styles";
|
|
6280
|
-
import { jsx as
|
|
6404
|
+
import { jsx as jsx57, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6281
6405
|
var List6 = (props) => {
|
|
6282
|
-
return /* @__PURE__ */
|
|
6406
|
+
return /* @__PURE__ */ jsx57(MuiList, { ...props });
|
|
6283
6407
|
};
|
|
6284
6408
|
var StyledListItem = styled31(MuiListItem, {
|
|
6285
6409
|
shouldForwardProp: (prop) => prop !== "hoverable"
|
|
@@ -6302,9 +6426,9 @@ var ListItem4 = ({
|
|
|
6302
6426
|
children,
|
|
6303
6427
|
...props
|
|
6304
6428
|
}) => {
|
|
6305
|
-
return /* @__PURE__ */
|
|
6306
|
-
icon && /* @__PURE__ */
|
|
6307
|
-
(primary || secondary) && /* @__PURE__ */
|
|
6429
|
+
return /* @__PURE__ */ jsxs31(StyledListItem, { hoverable, ...props, children: [
|
|
6430
|
+
icon && /* @__PURE__ */ jsx57(ListItemIcon4, { children: icon }),
|
|
6431
|
+
(primary || secondary) && /* @__PURE__ */ jsx57(
|
|
6308
6432
|
ListItemText7,
|
|
6309
6433
|
{
|
|
6310
6434
|
primary,
|
|
@@ -6319,7 +6443,7 @@ var ListItem4 = ({
|
|
|
6319
6443
|
// src/components/layout/Avatar.tsx
|
|
6320
6444
|
import MuiAvatar from "@mui/material/Avatar";
|
|
6321
6445
|
import { styled as styled32 } from "@mui/material/styles";
|
|
6322
|
-
import { jsx as
|
|
6446
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
6323
6447
|
var sizeMap = {
|
|
6324
6448
|
small: 32,
|
|
6325
6449
|
medium: 40,
|
|
@@ -6336,7 +6460,7 @@ var StyledAvatar = styled32(MuiAvatar, {
|
|
|
6336
6460
|
}));
|
|
6337
6461
|
var Avatar5 = ({ size: size3 = "medium", ...props }) => {
|
|
6338
6462
|
const avatarSize = typeof size3 === "number" ? size3 : sizeMap[size3];
|
|
6339
|
-
return /* @__PURE__ */
|
|
6463
|
+
return /* @__PURE__ */ jsx58(StyledAvatar, { avatarSize, ...props });
|
|
6340
6464
|
};
|
|
6341
6465
|
|
|
6342
6466
|
// src/components/layout/Table.tsx
|
|
@@ -6350,7 +6474,7 @@ import {
|
|
|
6350
6474
|
TableSortLabel
|
|
6351
6475
|
} from "@mui/material";
|
|
6352
6476
|
import { styled as styled33 } from "@mui/material/styles";
|
|
6353
|
-
import { jsx as
|
|
6477
|
+
import { jsx as jsx59 } from "react/jsx-runtime";
|
|
6354
6478
|
var StyledTableContainer = styled33(TableContainer)(({ theme: theme2 }) => ({
|
|
6355
6479
|
borderRadius: 8,
|
|
6356
6480
|
border: `1px solid ${theme2.palette.grey[200]}`
|
|
@@ -6363,7 +6487,7 @@ var StyledTableHead = styled33(TableHead)(({ theme: theme2 }) => ({
|
|
|
6363
6487
|
}
|
|
6364
6488
|
}));
|
|
6365
6489
|
var Table = ({ stickyHeader = false, children, ...props }) => {
|
|
6366
|
-
return /* @__PURE__ */
|
|
6490
|
+
return /* @__PURE__ */ jsx59(StyledTableContainer, { children: /* @__PURE__ */ jsx59(MuiTable, { stickyHeader, ...props, children }) });
|
|
6367
6491
|
};
|
|
6368
6492
|
var TableHeader = ({
|
|
6369
6493
|
columns,
|
|
@@ -6371,7 +6495,7 @@ var TableHeader = ({
|
|
|
6371
6495
|
order = "asc",
|
|
6372
6496
|
onSort
|
|
6373
6497
|
}) => {
|
|
6374
|
-
return /* @__PURE__ */
|
|
6498
|
+
return /* @__PURE__ */ jsx59(StyledTableHead, { children: /* @__PURE__ */ jsx59(TableRow, { children: columns.map((column) => /* @__PURE__ */ jsx59(TableCell, { align: column.align || "left", children: column.sortable && onSort ? /* @__PURE__ */ jsx59(
|
|
6375
6499
|
TableSortLabel,
|
|
6376
6500
|
{
|
|
6377
6501
|
active: orderBy === column.id,
|
|
@@ -6388,9 +6512,9 @@ import { Grid2 } from "@mui/material";
|
|
|
6388
6512
|
// src/components/layout/Breadcrumbs.tsx
|
|
6389
6513
|
import MuiBreadcrumbs from "@mui/material/Breadcrumbs";
|
|
6390
6514
|
import Link4 from "@mui/material/Link";
|
|
6391
|
-
import
|
|
6515
|
+
import Typography20 from "@mui/material/Typography";
|
|
6392
6516
|
import { styled as styled34 } from "@mui/material/styles";
|
|
6393
|
-
import { jsx as
|
|
6517
|
+
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
6394
6518
|
var StyledBreadcrumbs = styled34(MuiBreadcrumbs)(({ theme: theme2 }) => ({
|
|
6395
6519
|
"& .MuiBreadcrumbs-ol": {
|
|
6396
6520
|
flexWrap: "nowrap"
|
|
@@ -6407,12 +6531,12 @@ var StyledLink2 = styled34(Link4)(({ theme: theme2 }) => ({
|
|
|
6407
6531
|
}
|
|
6408
6532
|
}));
|
|
6409
6533
|
var Breadcrumbs = ({ items, ...props }) => {
|
|
6410
|
-
return /* @__PURE__ */
|
|
6534
|
+
return /* @__PURE__ */ jsx60(StyledBreadcrumbs, { ...props, children: items.map((item, index) => {
|
|
6411
6535
|
const isLast = index === items.length - 1;
|
|
6412
6536
|
if (isLast || !item.href && !item.onClick) {
|
|
6413
|
-
return /* @__PURE__ */
|
|
6537
|
+
return /* @__PURE__ */ jsx60(Typography20, { color: "text.primary", children: item.label }, index);
|
|
6414
6538
|
}
|
|
6415
|
-
return /* @__PURE__ */
|
|
6539
|
+
return /* @__PURE__ */ jsx60(
|
|
6416
6540
|
StyledLink2,
|
|
6417
6541
|
{
|
|
6418
6542
|
href: item.href,
|
|
@@ -6437,7 +6561,7 @@ import {
|
|
|
6437
6561
|
} from "@mui/material";
|
|
6438
6562
|
import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
|
|
6439
6563
|
import { styled as styled35 } from "@mui/material/styles";
|
|
6440
|
-
import { jsx as
|
|
6564
|
+
import { jsx as jsx61, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
6441
6565
|
var StyledAccordion = styled35(MuiAccordion)(({ theme: theme2 }) => ({
|
|
6442
6566
|
borderRadius: 8,
|
|
6443
6567
|
boxShadow: "none",
|
|
@@ -6468,16 +6592,16 @@ var Accordion = ({
|
|
|
6468
6592
|
defaultExpanded = false,
|
|
6469
6593
|
...props
|
|
6470
6594
|
}) => {
|
|
6471
|
-
return /* @__PURE__ */
|
|
6472
|
-
/* @__PURE__ */
|
|
6473
|
-
/* @__PURE__ */
|
|
6595
|
+
return /* @__PURE__ */ jsxs32(StyledAccordion, { defaultExpanded, ...props, children: [
|
|
6596
|
+
/* @__PURE__ */ jsx61(StyledAccordionSummary, { expandIcon: /* @__PURE__ */ jsx61(ExpandMoreIcon, {}), children: title }),
|
|
6597
|
+
/* @__PURE__ */ jsx61(StyledAccordionDetails, { children })
|
|
6474
6598
|
] });
|
|
6475
6599
|
};
|
|
6476
6600
|
|
|
6477
6601
|
// src/components/layout/Paper.tsx
|
|
6478
6602
|
import MuiPaper from "@mui/material/Paper";
|
|
6479
6603
|
import { styled as styled36 } from "@mui/material/styles";
|
|
6480
|
-
import { jsx as
|
|
6604
|
+
import { jsx as jsx62 } from "react/jsx-runtime";
|
|
6481
6605
|
var StyledPaper = styled36(MuiPaper)(({ theme: theme2 }) => ({
|
|
6482
6606
|
borderRadius: 8,
|
|
6483
6607
|
"&.MuiPaper-elevation": {
|
|
@@ -6489,28 +6613,28 @@ var StyledPaper = styled36(MuiPaper)(({ theme: theme2 }) => ({
|
|
|
6489
6613
|
}
|
|
6490
6614
|
}));
|
|
6491
6615
|
var Paper = ({ variant = "elevation", ...props }) => {
|
|
6492
|
-
return /* @__PURE__ */
|
|
6616
|
+
return /* @__PURE__ */ jsx62(StyledPaper, { variant, elevation: variant === "elevation" ? 1 : 0, ...props });
|
|
6493
6617
|
};
|
|
6494
6618
|
|
|
6495
6619
|
// src/components/layout/Divider.tsx
|
|
6496
6620
|
import MuiDivider from "@mui/material/Divider";
|
|
6497
6621
|
import { styled as styled37 } from "@mui/material/styles";
|
|
6498
|
-
import { jsx as
|
|
6622
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
6499
6623
|
var StyledDivider = styled37(MuiDivider)(({ theme: theme2 }) => ({
|
|
6500
6624
|
borderColor: theme2.palette.grey[200]
|
|
6501
6625
|
}));
|
|
6502
6626
|
var Divider4 = ({ ...props }) => {
|
|
6503
|
-
return /* @__PURE__ */
|
|
6627
|
+
return /* @__PURE__ */ jsx63(StyledDivider, { ...props });
|
|
6504
6628
|
};
|
|
6505
6629
|
|
|
6506
6630
|
// src/components/layout/Stack.tsx
|
|
6507
6631
|
import { Stack as Stack4 } from "@mui/material";
|
|
6508
6632
|
|
|
6509
6633
|
// src/components/layout/Box.tsx
|
|
6510
|
-
import { Box as
|
|
6634
|
+
import { Box as Box25 } from "@mui/material";
|
|
6511
6635
|
|
|
6512
6636
|
// src/components/layout/Typography.tsx
|
|
6513
|
-
import { Typography as
|
|
6637
|
+
import { Typography as Typography21 } from "@mui/material";
|
|
6514
6638
|
|
|
6515
6639
|
// src/components/layout/Container.tsx
|
|
6516
6640
|
import { Container as Container2 } from "@mui/material";
|
|
@@ -6521,7 +6645,7 @@ import {
|
|
|
6521
6645
|
Toolbar
|
|
6522
6646
|
} from "@mui/material";
|
|
6523
6647
|
import { styled as styled38 } from "@mui/material/styles";
|
|
6524
|
-
import { jsx as
|
|
6648
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
6525
6649
|
var StyledAppBar = styled38(MuiAppBar, {
|
|
6526
6650
|
shouldForwardProp: (prop) => prop !== "appBarHeight"
|
|
6527
6651
|
})(({ appBarHeight = 64, theme: theme2 }) => ({
|
|
@@ -6538,25 +6662,25 @@ var StyledToolbar = styled38(Toolbar)(({ theme: theme2 }) => ({
|
|
|
6538
6662
|
gap: theme2.spacing(2)
|
|
6539
6663
|
}));
|
|
6540
6664
|
var AppBar = ({ height = 64, children, ...props }) => {
|
|
6541
|
-
return /* @__PURE__ */
|
|
6665
|
+
return /* @__PURE__ */ jsx64(StyledAppBar, { position: "fixed", appBarHeight: height, ...props, children: /* @__PURE__ */ jsx64(StyledToolbar, { children }) });
|
|
6542
6666
|
};
|
|
6543
6667
|
|
|
6544
6668
|
// src/components/layout/Collapse.tsx
|
|
6545
6669
|
import {
|
|
6546
6670
|
Collapse as MuiCollapse
|
|
6547
6671
|
} from "@mui/material";
|
|
6548
|
-
import { jsx as
|
|
6672
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
6549
6673
|
var Collapse = (props) => {
|
|
6550
|
-
return /* @__PURE__ */
|
|
6674
|
+
return /* @__PURE__ */ jsx65(MuiCollapse, { ...props });
|
|
6551
6675
|
};
|
|
6552
6676
|
|
|
6553
6677
|
// src/components/layout/EntityHeader/EntityHeader.tsx
|
|
6554
|
-
import
|
|
6555
|
-
import
|
|
6678
|
+
import Box26 from "@mui/material/Box";
|
|
6679
|
+
import Typography22 from "@mui/material/Typography";
|
|
6556
6680
|
import IconButton12 from "@mui/material/IconButton";
|
|
6557
6681
|
import Divider5 from "@mui/material/Divider";
|
|
6558
6682
|
import MoreHorizIcon from "@mui/icons-material/MoreHoriz";
|
|
6559
|
-
import { jsx as
|
|
6683
|
+
import { jsx as jsx66, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
6560
6684
|
var EntityHeader = ({
|
|
6561
6685
|
title,
|
|
6562
6686
|
subtitle,
|
|
@@ -6575,9 +6699,9 @@ var EntityHeader = ({
|
|
|
6575
6699
|
const { label, count } = primaryAction;
|
|
6576
6700
|
return count !== void 0 ? `${label} (${count})` : label;
|
|
6577
6701
|
};
|
|
6578
|
-
return /* @__PURE__ */
|
|
6579
|
-
/* @__PURE__ */
|
|
6580
|
-
|
|
6702
|
+
return /* @__PURE__ */ jsxs33(Box26, { children: [
|
|
6703
|
+
/* @__PURE__ */ jsxs33(
|
|
6704
|
+
Box26,
|
|
6581
6705
|
{
|
|
6582
6706
|
sx: {
|
|
6583
6707
|
display: "flex",
|
|
@@ -6588,8 +6712,8 @@ var EntityHeader = ({
|
|
|
6588
6712
|
gap: 1
|
|
6589
6713
|
},
|
|
6590
6714
|
children: [
|
|
6591
|
-
/* @__PURE__ */
|
|
6592
|
-
|
|
6715
|
+
/* @__PURE__ */ jsxs33(
|
|
6716
|
+
Box26,
|
|
6593
6717
|
{
|
|
6594
6718
|
sx: {
|
|
6595
6719
|
display: "flex",
|
|
@@ -6598,8 +6722,8 @@ var EntityHeader = ({
|
|
|
6598
6722
|
flexWrap: "wrap"
|
|
6599
6723
|
},
|
|
6600
6724
|
children: [
|
|
6601
|
-
/* @__PURE__ */
|
|
6602
|
-
|
|
6725
|
+
/* @__PURE__ */ jsxs33(
|
|
6726
|
+
Box26,
|
|
6603
6727
|
{
|
|
6604
6728
|
sx: {
|
|
6605
6729
|
display: "flex",
|
|
@@ -6607,8 +6731,8 @@ var EntityHeader = ({
|
|
|
6607
6731
|
gap: 0.5
|
|
6608
6732
|
},
|
|
6609
6733
|
children: [
|
|
6610
|
-
/* @__PURE__ */
|
|
6611
|
-
|
|
6734
|
+
/* @__PURE__ */ jsx66(
|
|
6735
|
+
Typography22,
|
|
6612
6736
|
{
|
|
6613
6737
|
component: headingLevel,
|
|
6614
6738
|
sx: {
|
|
@@ -6621,8 +6745,8 @@ var EntityHeader = ({
|
|
|
6621
6745
|
children: title
|
|
6622
6746
|
}
|
|
6623
6747
|
),
|
|
6624
|
-
subtitle && /* @__PURE__ */
|
|
6625
|
-
|
|
6748
|
+
subtitle && /* @__PURE__ */ jsx66(
|
|
6749
|
+
Typography22,
|
|
6626
6750
|
{
|
|
6627
6751
|
variant: "body2",
|
|
6628
6752
|
sx: {
|
|
@@ -6638,13 +6762,13 @@ var EntityHeader = ({
|
|
|
6638
6762
|
]
|
|
6639
6763
|
}
|
|
6640
6764
|
),
|
|
6641
|
-
role && /* @__PURE__ */
|
|
6642
|
-
id && /* @__PURE__ */
|
|
6765
|
+
role && /* @__PURE__ */ jsx66(RoleBadge, { label: role, color: "primary", size: "small" }),
|
|
6766
|
+
id && /* @__PURE__ */ jsx66(IDBlock, { id, label: "ID", entityType: "entity", onCopy: onCopyId })
|
|
6643
6767
|
]
|
|
6644
6768
|
}
|
|
6645
6769
|
),
|
|
6646
|
-
/* @__PURE__ */
|
|
6647
|
-
|
|
6770
|
+
/* @__PURE__ */ jsxs33(
|
|
6771
|
+
Box26,
|
|
6648
6772
|
{
|
|
6649
6773
|
sx: {
|
|
6650
6774
|
display: "flex",
|
|
@@ -6654,7 +6778,7 @@ var EntityHeader = ({
|
|
|
6654
6778
|
},
|
|
6655
6779
|
children: [
|
|
6656
6780
|
startActions,
|
|
6657
|
-
primaryAction && /* @__PURE__ */
|
|
6781
|
+
primaryAction && /* @__PURE__ */ jsx66(
|
|
6658
6782
|
Button,
|
|
6659
6783
|
{
|
|
6660
6784
|
variant: "primary",
|
|
@@ -6667,7 +6791,7 @@ var EntityHeader = ({
|
|
|
6667
6791
|
}
|
|
6668
6792
|
),
|
|
6669
6793
|
endActions,
|
|
6670
|
-
onMoreOptions && /* @__PURE__ */
|
|
6794
|
+
onMoreOptions && /* @__PURE__ */ jsx66(
|
|
6671
6795
|
IconButton12,
|
|
6672
6796
|
{
|
|
6673
6797
|
onClick: onMoreOptions,
|
|
@@ -6682,7 +6806,7 @@ var EntityHeader = ({
|
|
|
6682
6806
|
borderColor: deploymentSurfaceTokens.borderDefault
|
|
6683
6807
|
}
|
|
6684
6808
|
},
|
|
6685
|
-
children: /* @__PURE__ */
|
|
6809
|
+
children: /* @__PURE__ */ jsx66(
|
|
6686
6810
|
MoreHorizIcon,
|
|
6687
6811
|
{
|
|
6688
6812
|
sx: {
|
|
@@ -6699,7 +6823,7 @@ var EntityHeader = ({
|
|
|
6699
6823
|
]
|
|
6700
6824
|
}
|
|
6701
6825
|
),
|
|
6702
|
-
divider && /* @__PURE__ */
|
|
6826
|
+
divider && /* @__PURE__ */ jsx66(
|
|
6703
6827
|
Divider5,
|
|
6704
6828
|
{
|
|
6705
6829
|
sx: {
|
|
@@ -6713,8 +6837,8 @@ var EntityHeader = ({
|
|
|
6713
6837
|
// src/components/layout/DeploymentDashboardCard/DeploymentDashboardCard.tsx
|
|
6714
6838
|
import {
|
|
6715
6839
|
Paper as Paper2,
|
|
6716
|
-
Box as
|
|
6717
|
-
Typography as
|
|
6840
|
+
Box as Box27,
|
|
6841
|
+
Typography as Typography23,
|
|
6718
6842
|
IconButton as IconButton13,
|
|
6719
6843
|
useTheme as useTheme4,
|
|
6720
6844
|
LinearProgress as LinearProgress2
|
|
@@ -6739,7 +6863,7 @@ function useControlledExpand(controlledExpanded, onToggle, defaultExpanded = fal
|
|
|
6739
6863
|
}
|
|
6740
6864
|
|
|
6741
6865
|
// src/components/layout/DeploymentDashboardCard/DeploymentDashboardCard.tsx
|
|
6742
|
-
import { Fragment as Fragment11, jsx as
|
|
6866
|
+
import { Fragment as Fragment11, jsx as jsx67, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
6743
6867
|
var ENTITY_LABELS = {
|
|
6744
6868
|
workspace: "Workspace",
|
|
6745
6869
|
stream: "Stream",
|
|
@@ -6749,11 +6873,11 @@ var ENTITY_LABELS = {
|
|
|
6749
6873
|
};
|
|
6750
6874
|
var ENTITY_ICON_SIZE = 16;
|
|
6751
6875
|
var ENTITY_ICONS = {
|
|
6752
|
-
workspace: /* @__PURE__ */
|
|
6753
|
-
stream: /* @__PURE__ */
|
|
6754
|
-
deployment: /* @__PURE__ */
|
|
6755
|
-
engagement: /* @__PURE__ */
|
|
6756
|
-
agent: /* @__PURE__ */
|
|
6876
|
+
workspace: /* @__PURE__ */ jsx67(WorkOutlineIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
6877
|
+
stream: /* @__PURE__ */ jsx67(WavesIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
6878
|
+
deployment: /* @__PURE__ */ jsx67(RocketLaunchOutlinedIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
6879
|
+
engagement: /* @__PURE__ */ jsx67(InsertLinkIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
6880
|
+
agent: /* @__PURE__ */ jsx67(SmartToyOutlinedIcon, { sx: { fontSize: ENTITY_ICON_SIZE } })
|
|
6757
6881
|
};
|
|
6758
6882
|
var STATUS_DOT_COLORS = {
|
|
6759
6883
|
normal: deploymentStatusColors.normal,
|
|
@@ -6774,7 +6898,7 @@ var ENTITY_CHIP_TYPOGRAPHY = {
|
|
|
6774
6898
|
lineHeight: 1.33,
|
|
6775
6899
|
letterSpacing: "0.07px"
|
|
6776
6900
|
};
|
|
6777
|
-
var StatusDot2 = styled39(
|
|
6901
|
+
var StatusDot2 = styled39(Box27, {
|
|
6778
6902
|
shouldForwardProp: (p) => p !== "status"
|
|
6779
6903
|
})(({ status }) => ({
|
|
6780
6904
|
width: 8,
|
|
@@ -6783,8 +6907,8 @@ var StatusDot2 = styled39(Box25, {
|
|
|
6783
6907
|
backgroundColor: status ? STATUS_DOT_COLORS[status] ?? "transparent" : "transparent",
|
|
6784
6908
|
flexShrink: 0
|
|
6785
6909
|
}));
|
|
6786
|
-
var EntityChip = ({ entityType, color }) => /* @__PURE__ */
|
|
6787
|
-
|
|
6910
|
+
var EntityChip = ({ entityType, color }) => /* @__PURE__ */ jsxs34(
|
|
6911
|
+
Box27,
|
|
6788
6912
|
{
|
|
6789
6913
|
sx: {
|
|
6790
6914
|
display: "inline-flex",
|
|
@@ -6799,9 +6923,9 @@ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ jsxs33(
|
|
|
6799
6923
|
flexShrink: 0
|
|
6800
6924
|
},
|
|
6801
6925
|
children: [
|
|
6802
|
-
/* @__PURE__ */
|
|
6803
|
-
/* @__PURE__ */
|
|
6804
|
-
|
|
6926
|
+
/* @__PURE__ */ jsx67(Box27, { sx: { color, display: "flex", alignItems: "center" }, children: ENTITY_ICONS[entityType] }),
|
|
6927
|
+
/* @__PURE__ */ jsx67(
|
|
6928
|
+
Typography23,
|
|
6805
6929
|
{
|
|
6806
6930
|
variant: "body2",
|
|
6807
6931
|
fontWeight: ENTITY_CHIP_TYPOGRAPHY.fontWeight,
|
|
@@ -6817,15 +6941,15 @@ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ jsxs33(
|
|
|
6817
6941
|
]
|
|
6818
6942
|
}
|
|
6819
6943
|
);
|
|
6820
|
-
var CapacityBar = ({ value, indented = false }) => /* @__PURE__ */
|
|
6821
|
-
/* @__PURE__ */
|
|
6822
|
-
/* @__PURE__ */
|
|
6823
|
-
/* @__PURE__ */
|
|
6944
|
+
var CapacityBar = ({ value, indented = false }) => /* @__PURE__ */ jsxs34(Box27, { sx: { pl: indented ? "40px" : 0, pr: "20px", py: 1 }, children: [
|
|
6945
|
+
/* @__PURE__ */ jsxs34(Box27, { sx: { display: "flex", justifyContent: "space-between", mb: 1 }, children: [
|
|
6946
|
+
/* @__PURE__ */ jsx67(Typography23, { variant: "body2", sx: { color: deploymentSurfaceTokens.textPrimary }, children: "Capacity" }),
|
|
6947
|
+
/* @__PURE__ */ jsxs34(Typography23, { variant: "body2", sx: { color: deploymentSurfaceTokens.accentBlue }, children: [
|
|
6824
6948
|
value,
|
|
6825
6949
|
"%"
|
|
6826
6950
|
] })
|
|
6827
6951
|
] }),
|
|
6828
|
-
/* @__PURE__ */
|
|
6952
|
+
/* @__PURE__ */ jsx67(
|
|
6829
6953
|
LinearProgress2,
|
|
6830
6954
|
{
|
|
6831
6955
|
variant: "determinate",
|
|
@@ -6865,19 +6989,19 @@ var getActionButtonStyles = (action) => {
|
|
|
6865
6989
|
};
|
|
6866
6990
|
return { ...baseStyles, ...variantStyles };
|
|
6867
6991
|
};
|
|
6868
|
-
var CardAction = ({ action }) => /* @__PURE__ */
|
|
6869
|
-
|
|
6992
|
+
var CardAction = ({ action }) => /* @__PURE__ */ jsxs34(
|
|
6993
|
+
Box27,
|
|
6870
6994
|
{
|
|
6871
6995
|
component: action.onClick ? "button" : "span",
|
|
6872
6996
|
onClick: action.onClick,
|
|
6873
6997
|
sx: getActionButtonStyles(action),
|
|
6874
6998
|
children: [
|
|
6875
|
-
action.icon && /* @__PURE__ */
|
|
6876
|
-
action.label && /* @__PURE__ */
|
|
6999
|
+
action.icon && /* @__PURE__ */ jsx67(Box27, { component: "span", sx: { display: "flex", alignItems: "center" }, children: action.icon }),
|
|
7000
|
+
action.label && /* @__PURE__ */ jsx67(Typography23, { variant: "body2", fontWeight: 500, component: "span", sx: { fontSize: "14px" }, children: action.label })
|
|
6877
7001
|
]
|
|
6878
7002
|
}
|
|
6879
7003
|
);
|
|
6880
|
-
var CardActionList = ({ actions }) => /* @__PURE__ */
|
|
7004
|
+
var CardActionList = ({ actions }) => /* @__PURE__ */ jsx67(Fragment11, { children: actions.map((action) => /* @__PURE__ */ jsx67(CardAction, { action }, action.id)) });
|
|
6881
7005
|
var DeploymentDashboardCard = ({
|
|
6882
7006
|
entityType,
|
|
6883
7007
|
title,
|
|
@@ -6910,7 +7034,7 @@ var DeploymentDashboardCard = ({
|
|
|
6910
7034
|
return Math.min(100, Math.max(0, capacity2));
|
|
6911
7035
|
};
|
|
6912
7036
|
const capacityClamped = getClampedCapacity(capacity);
|
|
6913
|
-
return /* @__PURE__ */
|
|
7037
|
+
return /* @__PURE__ */ jsxs34(
|
|
6914
7038
|
Paper2,
|
|
6915
7039
|
{
|
|
6916
7040
|
className,
|
|
@@ -6927,8 +7051,8 @@ var DeploymentDashboardCard = ({
|
|
|
6927
7051
|
gap: 0
|
|
6928
7052
|
},
|
|
6929
7053
|
children: [
|
|
6930
|
-
/* @__PURE__ */
|
|
6931
|
-
|
|
7054
|
+
/* @__PURE__ */ jsxs34(
|
|
7055
|
+
Box27,
|
|
6932
7056
|
{
|
|
6933
7057
|
sx: {
|
|
6934
7058
|
display: "flex",
|
|
@@ -6937,21 +7061,21 @@ var DeploymentDashboardCard = ({
|
|
|
6937
7061
|
width: "100%"
|
|
6938
7062
|
},
|
|
6939
7063
|
children: [
|
|
6940
|
-
/* @__PURE__ */
|
|
6941
|
-
/* @__PURE__ */
|
|
6942
|
-
expandable ? /* @__PURE__ */
|
|
7064
|
+
/* @__PURE__ */ jsxs34(Box27, { sx: { display: "flex", flexDirection: "column", gap: 0.5, minWidth: 0 }, children: [
|
|
7065
|
+
/* @__PURE__ */ jsxs34(Box27, { sx: { display: "flex", gap: 1, alignItems: "center" }, children: [
|
|
7066
|
+
expandable ? /* @__PURE__ */ jsx67(
|
|
6943
7067
|
IconButton13,
|
|
6944
7068
|
{
|
|
6945
7069
|
size: "small",
|
|
6946
7070
|
onClick: toggle,
|
|
6947
7071
|
"aria-label": expanded ? "Collapse" : "Expand",
|
|
6948
7072
|
sx: { p: "5px" },
|
|
6949
|
-
children: expanded ? /* @__PURE__ */
|
|
7073
|
+
children: expanded ? /* @__PURE__ */ jsx67(ExpandMoreIcon2, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } }) : /* @__PURE__ */ jsx67(ChevronRightIcon4, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } })
|
|
6950
7074
|
}
|
|
6951
|
-
) : /* @__PURE__ */
|
|
6952
|
-
/* @__PURE__ */
|
|
6953
|
-
/* @__PURE__ */
|
|
6954
|
-
|
|
7075
|
+
) : /* @__PURE__ */ jsx67(Box27, { sx: { width: 26, flexShrink: 0 } }),
|
|
7076
|
+
/* @__PURE__ */ jsx67(EntityChip, { entityType, color: entityColor }),
|
|
7077
|
+
/* @__PURE__ */ jsx67(
|
|
7078
|
+
Typography23,
|
|
6955
7079
|
{
|
|
6956
7080
|
variant: "subtitle1",
|
|
6957
7081
|
fontWeight: 500,
|
|
@@ -6960,10 +7084,10 @@ var DeploymentDashboardCard = ({
|
|
|
6960
7084
|
children: title
|
|
6961
7085
|
}
|
|
6962
7086
|
),
|
|
6963
|
-
idDisplay != null && /* @__PURE__ */
|
|
7087
|
+
idDisplay != null && /* @__PURE__ */ jsx67(IDBlock, { id: idDisplay, label: "ID", entityType, onCopy: onCopyId })
|
|
6964
7088
|
] }),
|
|
6965
|
-
(createdAt != null || updatedAt != null) && /* @__PURE__ */
|
|
6966
|
-
|
|
7089
|
+
(createdAt != null || updatedAt != null) && /* @__PURE__ */ jsxs34(
|
|
7090
|
+
Box27,
|
|
6967
7091
|
{
|
|
6968
7092
|
sx: {
|
|
6969
7093
|
display: "flex",
|
|
@@ -6972,27 +7096,27 @@ var DeploymentDashboardCard = ({
|
|
|
6972
7096
|
color: deploymentSurfaceTokens.textSecondary
|
|
6973
7097
|
},
|
|
6974
7098
|
children: [
|
|
6975
|
-
createdAt != null && /* @__PURE__ */
|
|
7099
|
+
createdAt != null && /* @__PURE__ */ jsxs34(Typography23, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
|
|
6976
7100
|
"Created: ",
|
|
6977
7101
|
createdAt
|
|
6978
7102
|
] }),
|
|
6979
|
-
updatedAt != null && /* @__PURE__ */
|
|
7103
|
+
updatedAt != null && /* @__PURE__ */ jsxs34(Typography23, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
|
|
6980
7104
|
"Last Updated: ",
|
|
6981
7105
|
updatedAt
|
|
6982
7106
|
] })
|
|
6983
7107
|
]
|
|
6984
7108
|
}
|
|
6985
7109
|
),
|
|
6986
|
-
capacityClamped !== void 0 && /* @__PURE__ */
|
|
7110
|
+
capacityClamped !== void 0 && /* @__PURE__ */ jsx67(CapacityBar, { value: capacityClamped, indented: expandable })
|
|
6987
7111
|
] }),
|
|
6988
|
-
/* @__PURE__ */
|
|
6989
|
-
statusIndicator != null && /* @__PURE__ */
|
|
6990
|
-
/* @__PURE__ */
|
|
7112
|
+
/* @__PURE__ */ jsxs34(Box27, { sx: { display: "flex", gap: 1, alignItems: "center", flexShrink: 0 }, children: [
|
|
7113
|
+
statusIndicator != null && /* @__PURE__ */ jsx67(StatusDot2, { status: statusIndicator, "aria-hidden": true }),
|
|
7114
|
+
/* @__PURE__ */ jsx67(CardActionList, { actions })
|
|
6991
7115
|
] })
|
|
6992
7116
|
]
|
|
6993
7117
|
}
|
|
6994
7118
|
),
|
|
6995
|
-
children && /* @__PURE__ */
|
|
7119
|
+
children && /* @__PURE__ */ jsx67(Box27, { sx: { mt: 1.5, display: "flex", flexDirection: "column", gap: 1 }, children })
|
|
6996
7120
|
]
|
|
6997
7121
|
}
|
|
6998
7122
|
);
|
|
@@ -7001,7 +7125,7 @@ var DeploymentDashboardCard = ({
|
|
|
7001
7125
|
// src/components/layout/DeploymentEntityContextMenu/DeploymentEntityContextMenu.tsx
|
|
7002
7126
|
import { Menu as Menu5, MenuItem as MenuItem2, Switch as Switch2, Divider as Divider6, ListItemIcon as ListItemIcon5, ListItemText as ListItemText8 } from "@mui/material";
|
|
7003
7127
|
import { styled as styled40 } from "@mui/material/styles";
|
|
7004
|
-
import { Fragment as Fragment12, jsx as
|
|
7128
|
+
import { Fragment as Fragment12, jsx as jsx68, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
7005
7129
|
var StyledMenu2 = styled40(Menu5)({
|
|
7006
7130
|
"& .MuiPaper-root": {
|
|
7007
7131
|
borderRadius: 4,
|
|
@@ -7099,7 +7223,7 @@ var DeploymentEntityContextMenu = ({
|
|
|
7099
7223
|
enableChecked = false,
|
|
7100
7224
|
onEnableChange
|
|
7101
7225
|
}) => {
|
|
7102
|
-
return /* @__PURE__ */
|
|
7226
|
+
return /* @__PURE__ */ jsxs35(
|
|
7103
7227
|
StyledMenu2,
|
|
7104
7228
|
{
|
|
7105
7229
|
anchorEl,
|
|
@@ -7111,11 +7235,11 @@ var DeploymentEntityContextMenu = ({
|
|
|
7111
7235
|
children: [
|
|
7112
7236
|
items.map((item) => {
|
|
7113
7237
|
if (item.type === "divider") {
|
|
7114
|
-
return /* @__PURE__ */
|
|
7238
|
+
return /* @__PURE__ */ jsx68(StyledDivider2, {}, item.id);
|
|
7115
7239
|
}
|
|
7116
7240
|
if (item.type === "toggle") {
|
|
7117
|
-
return /* @__PURE__ */
|
|
7118
|
-
onEnableChange && /* @__PURE__ */
|
|
7241
|
+
return /* @__PURE__ */ jsxs35(ToggleMenuItem, { disableRipple: true, children: [
|
|
7242
|
+
onEnableChange && /* @__PURE__ */ jsx68(
|
|
7119
7243
|
EnableSwitch,
|
|
7120
7244
|
{
|
|
7121
7245
|
size: "small",
|
|
@@ -7124,11 +7248,11 @@ var DeploymentEntityContextMenu = ({
|
|
|
7124
7248
|
inputProps: { "aria-label": item.label }
|
|
7125
7249
|
}
|
|
7126
7250
|
),
|
|
7127
|
-
/* @__PURE__ */
|
|
7251
|
+
/* @__PURE__ */ jsx68(ListItemText8, { primary: item.label })
|
|
7128
7252
|
] }, item.id);
|
|
7129
7253
|
}
|
|
7130
7254
|
const Row = item.highlighted ? HighlightedMenuItem : StyledMenuItem;
|
|
7131
|
-
return /* @__PURE__ */
|
|
7255
|
+
return /* @__PURE__ */ jsxs35(
|
|
7132
7256
|
Row,
|
|
7133
7257
|
{
|
|
7134
7258
|
onClick: () => {
|
|
@@ -7136,17 +7260,17 @@ var DeploymentEntityContextMenu = ({
|
|
|
7136
7260
|
onClose();
|
|
7137
7261
|
},
|
|
7138
7262
|
children: [
|
|
7139
|
-
item.icon && /* @__PURE__ */
|
|
7140
|
-
/* @__PURE__ */
|
|
7263
|
+
item.icon && /* @__PURE__ */ jsx68(ListItemIcon5, { children: item.icon }),
|
|
7264
|
+
/* @__PURE__ */ jsx68(ListItemText8, { primary: item.label })
|
|
7141
7265
|
]
|
|
7142
7266
|
},
|
|
7143
7267
|
item.id
|
|
7144
7268
|
);
|
|
7145
7269
|
}),
|
|
7146
|
-
enableToggle && /* @__PURE__ */
|
|
7147
|
-
/* @__PURE__ */
|
|
7148
|
-
/* @__PURE__ */
|
|
7149
|
-
onEnableChange && /* @__PURE__ */
|
|
7270
|
+
enableToggle && /* @__PURE__ */ jsxs35(Fragment12, { children: [
|
|
7271
|
+
/* @__PURE__ */ jsx68(StyledDivider2, {}),
|
|
7272
|
+
/* @__PURE__ */ jsxs35(ToggleMenuItem, { disableRipple: true, children: [
|
|
7273
|
+
onEnableChange && /* @__PURE__ */ jsx68(
|
|
7150
7274
|
EnableSwitch,
|
|
7151
7275
|
{
|
|
7152
7276
|
size: "small",
|
|
@@ -7155,7 +7279,7 @@ var DeploymentEntityContextMenu = ({
|
|
|
7155
7279
|
inputProps: { "aria-label": "Enable" }
|
|
7156
7280
|
}
|
|
7157
7281
|
),
|
|
7158
|
-
/* @__PURE__ */
|
|
7282
|
+
/* @__PURE__ */ jsx68(ListItemText8, { primary: "Enable" })
|
|
7159
7283
|
] })
|
|
7160
7284
|
] })
|
|
7161
7285
|
]
|
|
@@ -7170,48 +7294,48 @@ import ContentCopyIcon3 from "@mui/icons-material/ContentCopy";
|
|
|
7170
7294
|
import SmartToyOutlinedIcon2 from "@mui/icons-material/SmartToyOutlined";
|
|
7171
7295
|
import DescriptionIcon from "@mui/icons-material/Description";
|
|
7172
7296
|
import SettingsIcon2 from "@mui/icons-material/Settings";
|
|
7173
|
-
import { jsx as
|
|
7297
|
+
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
7174
7298
|
var contextMenuItems = {
|
|
7175
7299
|
/** Add Engagement action (Add Circle icon) */
|
|
7176
7300
|
addEngagement: (onClick) => ({
|
|
7177
7301
|
id: "add-engagement",
|
|
7178
7302
|
label: "Add Engagement",
|
|
7179
|
-
icon: /* @__PURE__ */
|
|
7303
|
+
icon: /* @__PURE__ */ jsx69(AddCircleOutlineIcon, {}),
|
|
7180
7304
|
onClick
|
|
7181
7305
|
}),
|
|
7182
7306
|
/** Add Agent action (Add Circle icon) */
|
|
7183
7307
|
addAgent: (onClick) => ({
|
|
7184
7308
|
id: "add-agent",
|
|
7185
7309
|
label: "Add Agent",
|
|
7186
|
-
icon: /* @__PURE__ */
|
|
7310
|
+
icon: /* @__PURE__ */ jsx69(AddCircleOutlineIcon, {}),
|
|
7187
7311
|
onClick
|
|
7188
7312
|
}),
|
|
7189
7313
|
/** Add Stream action (Add Circle icon) */
|
|
7190
7314
|
addStream: (onClick) => ({
|
|
7191
7315
|
id: "add-stream",
|
|
7192
7316
|
label: "Add Stream",
|
|
7193
|
-
icon: /* @__PURE__ */
|
|
7317
|
+
icon: /* @__PURE__ */ jsx69(AddCircleOutlineIcon, {}),
|
|
7194
7318
|
onClick
|
|
7195
7319
|
}),
|
|
7196
7320
|
/** Edit action (Pen / Edit icon) */
|
|
7197
7321
|
edit: (onClick) => ({
|
|
7198
7322
|
id: "edit",
|
|
7199
7323
|
label: "Edit",
|
|
7200
|
-
icon: /* @__PURE__ */
|
|
7324
|
+
icon: /* @__PURE__ */ jsx69(EditIcon, {}),
|
|
7201
7325
|
onClick
|
|
7202
7326
|
}),
|
|
7203
7327
|
/** Copy ID action (Copy icon) */
|
|
7204
7328
|
copyId: (onClick) => ({
|
|
7205
7329
|
id: "copy-id",
|
|
7206
7330
|
label: "Copy ID",
|
|
7207
|
-
icon: /* @__PURE__ */
|
|
7331
|
+
icon: /* @__PURE__ */ jsx69(ContentCopyIcon3, {}),
|
|
7208
7332
|
onClick
|
|
7209
7333
|
}),
|
|
7210
7334
|
/** Agent Flow Visualization — highlighted action (SmartToy icon) */
|
|
7211
7335
|
agentFlowVisualization: (onClick) => ({
|
|
7212
7336
|
id: "agent-flow",
|
|
7213
7337
|
label: "Agent Flow Visualization",
|
|
7214
|
-
icon: /* @__PURE__ */
|
|
7338
|
+
icon: /* @__PURE__ */ jsx69(SmartToyOutlinedIcon2, {}),
|
|
7215
7339
|
onClick,
|
|
7216
7340
|
highlighted: true
|
|
7217
7341
|
}),
|
|
@@ -7219,7 +7343,7 @@ var contextMenuItems = {
|
|
|
7219
7343
|
viewLogs: (onClick) => ({
|
|
7220
7344
|
id: "view-logs",
|
|
7221
7345
|
label: "View Logs",
|
|
7222
|
-
icon: /* @__PURE__ */
|
|
7346
|
+
icon: /* @__PURE__ */ jsx69(DescriptionIcon, {}),
|
|
7223
7347
|
onClick
|
|
7224
7348
|
}),
|
|
7225
7349
|
/** Horizontal divider between sections */
|
|
@@ -7238,15 +7362,15 @@ var contextMenuItems = {
|
|
|
7238
7362
|
settings: (onClick) => ({
|
|
7239
7363
|
id: "settings",
|
|
7240
7364
|
label: "Settings",
|
|
7241
|
-
icon: /* @__PURE__ */
|
|
7365
|
+
icon: /* @__PURE__ */ jsx69(SettingsIcon2, {}),
|
|
7242
7366
|
onClick
|
|
7243
7367
|
})
|
|
7244
7368
|
};
|
|
7245
7369
|
|
|
7246
7370
|
// src/components/layout/DeploymentDashboardTree/DeploymentDashboardTree.tsx
|
|
7247
|
-
import { Box as
|
|
7371
|
+
import { Box as Box28 } from "@mui/material";
|
|
7248
7372
|
import { styled as styled41, alpha } from "@mui/material/styles";
|
|
7249
|
-
import { jsx as
|
|
7373
|
+
import { jsx as jsx70, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
7250
7374
|
var TREE_SP = {
|
|
7251
7375
|
/** Vertical gap between sibling rows (Figma S / sp-8) */
|
|
7252
7376
|
rowGap: 8,
|
|
@@ -7264,7 +7388,7 @@ var RAIL_OPACITY = {
|
|
|
7264
7388
|
engagement: 0.4,
|
|
7265
7389
|
agent: 0.4
|
|
7266
7390
|
};
|
|
7267
|
-
var Rail = styled41(
|
|
7391
|
+
var Rail = styled41(Box28, {
|
|
7268
7392
|
shouldForwardProp: (p) => p !== "railColor"
|
|
7269
7393
|
})(({ railColor }) => ({
|
|
7270
7394
|
width: TREE_SP.railWidth,
|
|
@@ -7283,10 +7407,10 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
7283
7407
|
const entityColor = deploymentEntityColors[node.entityType] ?? deploymentEntityColors.workspace;
|
|
7284
7408
|
const railOpacity = RAIL_OPACITY[node.entityType] ?? 0.5;
|
|
7285
7409
|
const railColor = alpha(entityColor, railOpacity);
|
|
7286
|
-
const renderedChildren = hasChildren && expanded ? /* @__PURE__ */
|
|
7287
|
-
/* @__PURE__ */
|
|
7288
|
-
/* @__PURE__ */
|
|
7289
|
-
|
|
7410
|
+
const renderedChildren = hasChildren && expanded ? /* @__PURE__ */ jsxs36(Box28, { sx: { display: "flex", gap: `${TREE_SP.railGap}px` }, children: [
|
|
7411
|
+
/* @__PURE__ */ jsx70(Rail, { railColor, "aria-hidden": true, "data-rail": true }),
|
|
7412
|
+
/* @__PURE__ */ jsx70(
|
|
7413
|
+
Box28,
|
|
7290
7414
|
{
|
|
7291
7415
|
role: "group",
|
|
7292
7416
|
sx: {
|
|
@@ -7296,7 +7420,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
7296
7420
|
flexDirection: "column",
|
|
7297
7421
|
gap: `${TREE_SP.rowGap}px`
|
|
7298
7422
|
},
|
|
7299
|
-
children: node.children.map((child) => /* @__PURE__ */
|
|
7423
|
+
children: node.children.map((child) => /* @__PURE__ */ jsx70(
|
|
7300
7424
|
TreeRow,
|
|
7301
7425
|
{
|
|
7302
7426
|
node: child,
|
|
@@ -7310,7 +7434,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
7310
7434
|
}
|
|
7311
7435
|
)
|
|
7312
7436
|
] }) : null;
|
|
7313
|
-
const cardContent = renderCard?.(node) ?? /* @__PURE__ */
|
|
7437
|
+
const cardContent = renderCard?.(node) ?? /* @__PURE__ */ jsx70(
|
|
7314
7438
|
DeploymentDashboardCard,
|
|
7315
7439
|
{
|
|
7316
7440
|
entityType: node.entityType,
|
|
@@ -7328,7 +7452,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
7328
7452
|
children: renderedChildren
|
|
7329
7453
|
}
|
|
7330
7454
|
);
|
|
7331
|
-
return /* @__PURE__ */
|
|
7455
|
+
return /* @__PURE__ */ jsx70(Box28, { role: "treeitem", children: cardContent });
|
|
7332
7456
|
};
|
|
7333
7457
|
var DeploymentDashboardTree = ({
|
|
7334
7458
|
nodes,
|
|
@@ -7336,8 +7460,8 @@ var DeploymentDashboardTree = ({
|
|
|
7336
7460
|
onCopyId,
|
|
7337
7461
|
renderCard
|
|
7338
7462
|
}) => {
|
|
7339
|
-
return /* @__PURE__ */
|
|
7340
|
-
|
|
7463
|
+
return /* @__PURE__ */ jsx70(
|
|
7464
|
+
Box28,
|
|
7341
7465
|
{
|
|
7342
7466
|
role: "tree",
|
|
7343
7467
|
sx: {
|
|
@@ -7346,7 +7470,7 @@ var DeploymentDashboardTree = ({
|
|
|
7346
7470
|
gap: `${TREE_SP.rowGap}px`,
|
|
7347
7471
|
p: `${TREE_SP.rowGap}px`
|
|
7348
7472
|
},
|
|
7349
|
-
children: nodes.map((node) => /* @__PURE__ */
|
|
7473
|
+
children: nodes.map((node) => /* @__PURE__ */ jsx70(
|
|
7350
7474
|
TreeRow,
|
|
7351
7475
|
{
|
|
7352
7476
|
node,
|
|
@@ -7362,12 +7486,12 @@ var DeploymentDashboardTree = ({
|
|
|
7362
7486
|
};
|
|
7363
7487
|
|
|
7364
7488
|
// src/components/layout/DeploymentDashboardPanel/DeploymentDashboardPanel.tsx
|
|
7365
|
-
import { Box as
|
|
7489
|
+
import { Box as Box29 } from "@mui/material";
|
|
7366
7490
|
import { styled as styled42 } from "@mui/material/styles";
|
|
7367
|
-
import { jsx as
|
|
7491
|
+
import { jsx as jsx71 } from "react/jsx-runtime";
|
|
7368
7492
|
var PANEL_RADIUS = 12;
|
|
7369
7493
|
var PANEL_SHADOW = "0px 1px 3px rgba(0, 0, 0, 0.08)";
|
|
7370
|
-
var StyledPanel = styled42(
|
|
7494
|
+
var StyledPanel = styled42(Box29)({
|
|
7371
7495
|
backgroundColor: deploymentSurfaceTokens.surfaceHigh,
|
|
7372
7496
|
border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
|
|
7373
7497
|
borderRadius: PANEL_RADIUS,
|
|
@@ -7379,11 +7503,11 @@ var DeploymentDashboardPanel = ({
|
|
|
7379
7503
|
className,
|
|
7380
7504
|
padding = 2
|
|
7381
7505
|
}) => {
|
|
7382
|
-
return /* @__PURE__ */
|
|
7506
|
+
return /* @__PURE__ */ jsx71(StyledPanel, { className, sx: { p: padding }, children });
|
|
7383
7507
|
};
|
|
7384
7508
|
|
|
7385
7509
|
// src/components/layout/WorkflowNode/WorkflowNode.tsx
|
|
7386
|
-
import { Paper as Paper3, Box as
|
|
7510
|
+
import { Paper as Paper3, Box as Box30, Typography as Typography24 } from "@mui/material";
|
|
7387
7511
|
import PlayCircleOutlineIcon from "@mui/icons-material/PlayCircleOutline";
|
|
7388
7512
|
import CloudDownloadIcon from "@mui/icons-material/CloudDownload";
|
|
7389
7513
|
import WavesIcon2 from "@mui/icons-material/Waves";
|
|
@@ -7400,7 +7524,7 @@ import CheckCircleOutlineIcon from "@mui/icons-material/CheckCircleOutline";
|
|
|
7400
7524
|
import ForkRightIcon from "@mui/icons-material/ForkRight";
|
|
7401
7525
|
import CallMergeIcon from "@mui/icons-material/CallMerge";
|
|
7402
7526
|
import { useTheme as useTheme5 } from "@mui/material";
|
|
7403
|
-
import { jsx as
|
|
7527
|
+
import { jsx as jsx72, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
7404
7528
|
var WORKFLOW_NODE_LABELS = {
|
|
7405
7529
|
start: "Start",
|
|
7406
7530
|
input: "Input",
|
|
@@ -7421,21 +7545,21 @@ var WORKFLOW_NODE_LABELS = {
|
|
|
7421
7545
|
var NODE_ICON_SIZE = 18;
|
|
7422
7546
|
var WORKFLOW_NODE_SHADOW = "0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.1)";
|
|
7423
7547
|
var WORKFLOW_NODE_ICONS = {
|
|
7424
|
-
start: /* @__PURE__ */
|
|
7425
|
-
input: /* @__PURE__ */
|
|
7426
|
-
stream: /* @__PURE__ */
|
|
7427
|
-
rafts: /* @__PURE__ */
|
|
7428
|
-
cubbies: /* @__PURE__ */
|
|
7429
|
-
events: /* @__PURE__ */
|
|
7430
|
-
trigger: /* @__PURE__ */
|
|
7431
|
-
action: /* @__PURE__ */
|
|
7432
|
-
aiModel: /* @__PURE__ */
|
|
7433
|
-
aiAgent: /* @__PURE__ */
|
|
7434
|
-
condition: /* @__PURE__ */
|
|
7435
|
-
output: /* @__PURE__ */
|
|
7436
|
-
end: /* @__PURE__ */
|
|
7437
|
-
parallel: /* @__PURE__ */
|
|
7438
|
-
merge: /* @__PURE__ */
|
|
7548
|
+
start: /* @__PURE__ */ jsx72(PlayCircleOutlineIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7549
|
+
input: /* @__PURE__ */ jsx72(CloudDownloadIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7550
|
+
stream: /* @__PURE__ */ jsx72(WavesIcon2, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7551
|
+
rafts: /* @__PURE__ */ jsx72(LinkIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7552
|
+
cubbies: /* @__PURE__ */ jsx72(CloudIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7553
|
+
events: /* @__PURE__ */ jsx72(BoltIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7554
|
+
trigger: /* @__PURE__ */ jsx72(FlashOnIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7555
|
+
action: /* @__PURE__ */ jsx72(PlayArrowIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7556
|
+
aiModel: /* @__PURE__ */ jsx72(PsychologyIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7557
|
+
aiAgent: /* @__PURE__ */ jsx72(SmartToyOutlinedIcon3, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7558
|
+
condition: /* @__PURE__ */ jsx72(CallSplitIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7559
|
+
output: /* @__PURE__ */ jsx72(SendIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7560
|
+
end: /* @__PURE__ */ jsx72(CheckCircleOutlineIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7561
|
+
parallel: /* @__PURE__ */ jsx72(ForkRightIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7562
|
+
merge: /* @__PURE__ */ jsx72(CallMergeIcon, { sx: { fontSize: NODE_ICON_SIZE } })
|
|
7439
7563
|
};
|
|
7440
7564
|
var BADGE_TYPOGRAPHY = {
|
|
7441
7565
|
fontSize: "12px",
|
|
@@ -7445,8 +7569,8 @@ var BADGE_TYPOGRAPHY = {
|
|
|
7445
7569
|
var SideConnectorDot = ({
|
|
7446
7570
|
accentColor,
|
|
7447
7571
|
side
|
|
7448
|
-
}) => /* @__PURE__ */
|
|
7449
|
-
|
|
7572
|
+
}) => /* @__PURE__ */ jsx72(
|
|
7573
|
+
Box30,
|
|
7450
7574
|
{
|
|
7451
7575
|
"data-testid": `workflow-node-dot-${side}`,
|
|
7452
7576
|
sx: (theme2) => ({
|
|
@@ -7465,8 +7589,8 @@ var SideConnectorDot = ({
|
|
|
7465
7589
|
})
|
|
7466
7590
|
}
|
|
7467
7591
|
);
|
|
7468
|
-
var NodeTypeBadge = ({ nodeType, badgeBackground, badgeBorder, badgeText, icon, label }) => /* @__PURE__ */
|
|
7469
|
-
|
|
7592
|
+
var NodeTypeBadge = ({ nodeType, badgeBackground, badgeBorder, badgeText, icon, label }) => /* @__PURE__ */ jsxs37(
|
|
7593
|
+
Box30,
|
|
7470
7594
|
{
|
|
7471
7595
|
sx: {
|
|
7472
7596
|
display: "inline-flex",
|
|
@@ -7481,9 +7605,9 @@ var NodeTypeBadge = ({ nodeType, badgeBackground, badgeBorder, badgeText, icon,
|
|
|
7481
7605
|
flexShrink: 0
|
|
7482
7606
|
},
|
|
7483
7607
|
children: [
|
|
7484
|
-
/* @__PURE__ */
|
|
7485
|
-
/* @__PURE__ */
|
|
7486
|
-
|
|
7608
|
+
/* @__PURE__ */ jsx72(Box30, { sx: { color: badgeText, display: "flex", alignItems: "center" }, children: icon ?? WORKFLOW_NODE_ICONS[nodeType] }),
|
|
7609
|
+
/* @__PURE__ */ jsx72(
|
|
7610
|
+
Typography24,
|
|
7487
7611
|
{
|
|
7488
7612
|
variant: "body2",
|
|
7489
7613
|
component: "span",
|
|
@@ -7515,7 +7639,7 @@ var WorkflowNode = ({
|
|
|
7515
7639
|
const nodeTokens = theme2.palette.workflow.node[nodeType];
|
|
7516
7640
|
const chrome = theme2.palette.workflow.chrome;
|
|
7517
7641
|
const accentColor = nodeTokens.accent;
|
|
7518
|
-
return /* @__PURE__ */
|
|
7642
|
+
return /* @__PURE__ */ jsxs37(
|
|
7519
7643
|
Paper3,
|
|
7520
7644
|
{
|
|
7521
7645
|
elevation: 0,
|
|
@@ -7539,10 +7663,10 @@ var WorkflowNode = ({
|
|
|
7539
7663
|
],
|
|
7540
7664
|
...paperProps,
|
|
7541
7665
|
children: [
|
|
7542
|
-
showSideDots && /* @__PURE__ */
|
|
7543
|
-
showSideDots && /* @__PURE__ */
|
|
7544
|
-
/* @__PURE__ */
|
|
7545
|
-
|
|
7666
|
+
showSideDots && /* @__PURE__ */ jsx72(SideConnectorDot, { accentColor, side: "left" }),
|
|
7667
|
+
showSideDots && /* @__PURE__ */ jsx72(SideConnectorDot, { accentColor, side: "right" }),
|
|
7668
|
+
/* @__PURE__ */ jsxs37(
|
|
7669
|
+
Box30,
|
|
7546
7670
|
{
|
|
7547
7671
|
sx: {
|
|
7548
7672
|
flex: 1,
|
|
@@ -7555,9 +7679,9 @@ var WorkflowNode = ({
|
|
|
7555
7679
|
minWidth: 0
|
|
7556
7680
|
},
|
|
7557
7681
|
children: [
|
|
7558
|
-
/* @__PURE__ */
|
|
7559
|
-
/* @__PURE__ */
|
|
7560
|
-
|
|
7682
|
+
/* @__PURE__ */ jsxs37(Box30, { sx: { minWidth: 0, flex: 1 }, children: [
|
|
7683
|
+
/* @__PURE__ */ jsx72(
|
|
7684
|
+
Typography24,
|
|
7561
7685
|
{
|
|
7562
7686
|
variant: "subtitle2",
|
|
7563
7687
|
noWrap: true,
|
|
@@ -7571,8 +7695,8 @@ var WorkflowNode = ({
|
|
|
7571
7695
|
children: title
|
|
7572
7696
|
}
|
|
7573
7697
|
),
|
|
7574
|
-
description && /* @__PURE__ */
|
|
7575
|
-
|
|
7698
|
+
description && /* @__PURE__ */ jsx72(
|
|
7699
|
+
Typography24,
|
|
7576
7700
|
{
|
|
7577
7701
|
variant: "body2",
|
|
7578
7702
|
sx: {
|
|
@@ -7590,7 +7714,7 @@ var WorkflowNode = ({
|
|
|
7590
7714
|
}
|
|
7591
7715
|
)
|
|
7592
7716
|
] }),
|
|
7593
|
-
/* @__PURE__ */
|
|
7717
|
+
/* @__PURE__ */ jsx72(
|
|
7594
7718
|
NodeTypeBadge,
|
|
7595
7719
|
{
|
|
7596
7720
|
nodeType,
|
|
@@ -7611,17 +7735,17 @@ var WorkflowNode = ({
|
|
|
7611
7735
|
|
|
7612
7736
|
// src/components/layout/WorkflowTopBar/WorkflowTopBar.tsx
|
|
7613
7737
|
import {
|
|
7614
|
-
Box as
|
|
7738
|
+
Box as Box31,
|
|
7615
7739
|
Divider as Divider7,
|
|
7616
7740
|
IconButton as IconButton14,
|
|
7617
7741
|
InputBase,
|
|
7618
|
-
Typography as
|
|
7742
|
+
Typography as Typography25,
|
|
7619
7743
|
alpha as alpha2
|
|
7620
7744
|
} from "@mui/material";
|
|
7621
7745
|
import CloseIcon4 from "@mui/icons-material/Close";
|
|
7622
7746
|
import CancelIcon from "@mui/icons-material/Cancel";
|
|
7623
7747
|
import { useTheme as useTheme6 } from "@mui/material/styles";
|
|
7624
|
-
import { jsx as
|
|
7748
|
+
import { jsx as jsx73, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
7625
7749
|
var WorkflowTopBar = ({
|
|
7626
7750
|
title = "Agent visualization flow chart",
|
|
7627
7751
|
executionId,
|
|
@@ -7639,8 +7763,8 @@ var WorkflowTopBar = ({
|
|
|
7639
7763
|
...boxProps
|
|
7640
7764
|
}) => {
|
|
7641
7765
|
const chrome = useTheme6().palette.workflow.chrome;
|
|
7642
|
-
return /* @__PURE__ */
|
|
7643
|
-
|
|
7766
|
+
return /* @__PURE__ */ jsxs38(
|
|
7767
|
+
Box31,
|
|
7644
7768
|
{
|
|
7645
7769
|
sx: [
|
|
7646
7770
|
{
|
|
@@ -7653,8 +7777,8 @@ var WorkflowTopBar = ({
|
|
|
7653
7777
|
],
|
|
7654
7778
|
...boxProps,
|
|
7655
7779
|
children: [
|
|
7656
|
-
/* @__PURE__ */
|
|
7657
|
-
|
|
7780
|
+
/* @__PURE__ */ jsxs38(
|
|
7781
|
+
Box31,
|
|
7658
7782
|
{
|
|
7659
7783
|
sx: {
|
|
7660
7784
|
display: "flex",
|
|
@@ -7666,8 +7790,8 @@ var WorkflowTopBar = ({
|
|
|
7666
7790
|
minHeight: 72
|
|
7667
7791
|
},
|
|
7668
7792
|
children: [
|
|
7669
|
-
/* @__PURE__ */
|
|
7670
|
-
|
|
7793
|
+
/* @__PURE__ */ jsx73(
|
|
7794
|
+
Typography25,
|
|
7671
7795
|
{
|
|
7672
7796
|
variant: "subtitle1",
|
|
7673
7797
|
sx: {
|
|
@@ -7678,8 +7802,8 @@ var WorkflowTopBar = ({
|
|
|
7678
7802
|
children: title
|
|
7679
7803
|
}
|
|
7680
7804
|
),
|
|
7681
|
-
/* @__PURE__ */
|
|
7682
|
-
|
|
7805
|
+
/* @__PURE__ */ jsxs38(
|
|
7806
|
+
Box31,
|
|
7683
7807
|
{
|
|
7684
7808
|
sx: {
|
|
7685
7809
|
display: "flex",
|
|
@@ -7690,8 +7814,8 @@ var WorkflowTopBar = ({
|
|
|
7690
7814
|
minWidth: 0
|
|
7691
7815
|
},
|
|
7692
7816
|
children: [
|
|
7693
|
-
/* @__PURE__ */
|
|
7694
|
-
|
|
7817
|
+
/* @__PURE__ */ jsxs38(
|
|
7818
|
+
Box31,
|
|
7695
7819
|
{
|
|
7696
7820
|
sx: {
|
|
7697
7821
|
display: "flex",
|
|
@@ -7706,9 +7830,9 @@ var WorkflowTopBar = ({
|
|
|
7706
7830
|
minHeight: 56
|
|
7707
7831
|
},
|
|
7708
7832
|
children: [
|
|
7709
|
-
/* @__PURE__ */
|
|
7710
|
-
/* @__PURE__ */
|
|
7711
|
-
|
|
7833
|
+
/* @__PURE__ */ jsxs38(Box31, { sx: { flex: 1, minWidth: 0 }, children: [
|
|
7834
|
+
/* @__PURE__ */ jsx73(
|
|
7835
|
+
Typography25,
|
|
7712
7836
|
{
|
|
7713
7837
|
variant: "caption",
|
|
7714
7838
|
sx: {
|
|
@@ -7719,7 +7843,7 @@ var WorkflowTopBar = ({
|
|
|
7719
7843
|
children: executionIdLabel
|
|
7720
7844
|
}
|
|
7721
7845
|
),
|
|
7722
|
-
/* @__PURE__ */
|
|
7846
|
+
/* @__PURE__ */ jsx73(
|
|
7723
7847
|
InputBase,
|
|
7724
7848
|
{
|
|
7725
7849
|
value: executionId,
|
|
@@ -7738,20 +7862,20 @@ var WorkflowTopBar = ({
|
|
|
7738
7862
|
}
|
|
7739
7863
|
)
|
|
7740
7864
|
] }),
|
|
7741
|
-
/* @__PURE__ */
|
|
7865
|
+
/* @__PURE__ */ jsx73(
|
|
7742
7866
|
IconButton14,
|
|
7743
7867
|
{
|
|
7744
7868
|
size: "small",
|
|
7745
7869
|
"aria-label": `Clear ${executionIdLabel.toLowerCase()}`,
|
|
7746
7870
|
onClick: onClearExecutionId,
|
|
7747
7871
|
sx: { color: chrome.iconColor, ml: 1 },
|
|
7748
|
-
children: /* @__PURE__ */
|
|
7872
|
+
children: /* @__PURE__ */ jsx73(CancelIcon, { fontSize: "small" })
|
|
7749
7873
|
}
|
|
7750
7874
|
)
|
|
7751
7875
|
]
|
|
7752
7876
|
}
|
|
7753
7877
|
),
|
|
7754
|
-
/* @__PURE__ */
|
|
7878
|
+
/* @__PURE__ */ jsx73(
|
|
7755
7879
|
Button,
|
|
7756
7880
|
{
|
|
7757
7881
|
variant: "primary",
|
|
@@ -7768,8 +7892,8 @@ var WorkflowTopBar = ({
|
|
|
7768
7892
|
children: submitLabel
|
|
7769
7893
|
}
|
|
7770
7894
|
),
|
|
7771
|
-
showInspectorToggle && /* @__PURE__ */
|
|
7772
|
-
showCloseButton && /* @__PURE__ */
|
|
7895
|
+
showInspectorToggle && /* @__PURE__ */ jsx73(Button, { variant: "secondary", onClick: onInspectorToggle, children: inspectorLabel }),
|
|
7896
|
+
showCloseButton && /* @__PURE__ */ jsx73(
|
|
7773
7897
|
IconButton14,
|
|
7774
7898
|
{
|
|
7775
7899
|
"aria-label": "Close workflow chrome",
|
|
@@ -7780,7 +7904,7 @@ var WorkflowTopBar = ({
|
|
|
7780
7904
|
backgroundColor: alpha2(chrome.closeBtnBg, 0.28),
|
|
7781
7905
|
color: chrome.iconColor
|
|
7782
7906
|
},
|
|
7783
|
-
children: /* @__PURE__ */
|
|
7907
|
+
children: /* @__PURE__ */ jsx73(CloseIcon4, { fontSize: "small" })
|
|
7784
7908
|
}
|
|
7785
7909
|
)
|
|
7786
7910
|
]
|
|
@@ -7789,7 +7913,7 @@ var WorkflowTopBar = ({
|
|
|
7789
7913
|
]
|
|
7790
7914
|
}
|
|
7791
7915
|
),
|
|
7792
|
-
/* @__PURE__ */
|
|
7916
|
+
/* @__PURE__ */ jsx73(Divider7, { sx: { borderColor: deploymentSurfaceTokens.strokeOutside } })
|
|
7793
7917
|
]
|
|
7794
7918
|
}
|
|
7795
7919
|
);
|
|
@@ -7797,22 +7921,22 @@ var WorkflowTopBar = ({
|
|
|
7797
7921
|
|
|
7798
7922
|
// src/components/layout/WorkflowSideInspector/WorkflowSideInspector.tsx
|
|
7799
7923
|
import {
|
|
7800
|
-
Box as
|
|
7924
|
+
Box as Box32,
|
|
7801
7925
|
Divider as Divider8,
|
|
7802
7926
|
IconButton as IconButton15,
|
|
7803
7927
|
Paper as Paper4,
|
|
7804
|
-
Typography as
|
|
7928
|
+
Typography as Typography26,
|
|
7805
7929
|
alpha as alpha3,
|
|
7806
7930
|
useTheme as useTheme7
|
|
7807
7931
|
} from "@mui/material";
|
|
7808
7932
|
import CloseIcon5 from "@mui/icons-material/Close";
|
|
7809
7933
|
import ContentCopyOutlinedIcon from "@mui/icons-material/ContentCopyOutlined";
|
|
7810
|
-
import { Fragment as Fragment13, jsx as
|
|
7934
|
+
import { Fragment as Fragment13, jsx as jsx74, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
7811
7935
|
var INSPECTOR_WIDTH = 320;
|
|
7812
|
-
var InfoBlock = ({ label, value, mutedColor }) => /* @__PURE__ */
|
|
7813
|
-
/* @__PURE__ */
|
|
7814
|
-
/* @__PURE__ */
|
|
7815
|
-
|
|
7936
|
+
var InfoBlock = ({ label, value, mutedColor }) => /* @__PURE__ */ jsxs39(Box32, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
|
|
7937
|
+
/* @__PURE__ */ jsx74(Typography26, { variant: "body2", sx: { color: mutedColor }, children: label }),
|
|
7938
|
+
/* @__PURE__ */ jsx74(
|
|
7939
|
+
Typography26,
|
|
7816
7940
|
{
|
|
7817
7941
|
variant: "body2",
|
|
7818
7942
|
sx: { color: deploymentSurfaceTokens.textPrimary, whiteSpace: "pre-wrap" },
|
|
@@ -7848,7 +7972,7 @@ var WorkflowSideInspector = ({
|
|
|
7848
7972
|
return null;
|
|
7849
7973
|
}
|
|
7850
7974
|
const accent = theme2.palette.workflow.node[nodeType].accent;
|
|
7851
|
-
return /* @__PURE__ */
|
|
7975
|
+
return /* @__PURE__ */ jsxs39(
|
|
7852
7976
|
Paper4,
|
|
7853
7977
|
{
|
|
7854
7978
|
elevation: 0,
|
|
@@ -7867,10 +7991,10 @@ var WorkflowSideInspector = ({
|
|
|
7867
7991
|
},
|
|
7868
7992
|
...paperProps,
|
|
7869
7993
|
children: [
|
|
7870
|
-
/* @__PURE__ */
|
|
7871
|
-
/* @__PURE__ */
|
|
7872
|
-
/* @__PURE__ */
|
|
7873
|
-
/* @__PURE__ */
|
|
7994
|
+
/* @__PURE__ */ jsxs39(Box32, { sx: { display: "flex", flexDirection: "column", gap: 1.25 }, children: [
|
|
7995
|
+
/* @__PURE__ */ jsxs39(Box32, { sx: { display: "flex", alignItems: "center", justifyContent: "space-between" }, children: [
|
|
7996
|
+
/* @__PURE__ */ jsx74(Typography26, { variant: "subtitle1", sx: { color: deploymentSurfaceTokens.textPrimary }, children: title }),
|
|
7997
|
+
/* @__PURE__ */ jsx74(
|
|
7874
7998
|
IconButton15,
|
|
7875
7999
|
{
|
|
7876
8000
|
"aria-label": "Close inspector",
|
|
@@ -7879,25 +8003,25 @@ var WorkflowSideInspector = ({
|
|
|
7879
8003
|
border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
|
|
7880
8004
|
borderRadius: 2
|
|
7881
8005
|
},
|
|
7882
|
-
children: /* @__PURE__ */
|
|
8006
|
+
children: /* @__PURE__ */ jsx74(CloseIcon5, { fontSize: "small" })
|
|
7883
8007
|
}
|
|
7884
8008
|
)
|
|
7885
8009
|
] }),
|
|
7886
|
-
/* @__PURE__ */
|
|
8010
|
+
/* @__PURE__ */ jsx74(Divider8, { sx: { borderColor: chrome.divider } })
|
|
7887
8011
|
] }),
|
|
7888
|
-
/* @__PURE__ */
|
|
7889
|
-
/* @__PURE__ */
|
|
7890
|
-
/* @__PURE__ */
|
|
7891
|
-
|
|
8012
|
+
/* @__PURE__ */ jsxs39(Box32, { sx: { display: "flex", flexDirection: "column", gap: 3, flex: 1 }, children: [
|
|
8013
|
+
/* @__PURE__ */ jsxs39(Box32, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
|
|
8014
|
+
/* @__PURE__ */ jsx74(
|
|
8015
|
+
Typography26,
|
|
7892
8016
|
{
|
|
7893
8017
|
variant: "subtitle1",
|
|
7894
8018
|
sx: { color: deploymentSurfaceTokens.textPrimary, fontWeight: 500 },
|
|
7895
8019
|
children: nodeTitle
|
|
7896
8020
|
}
|
|
7897
8021
|
),
|
|
7898
|
-
/* @__PURE__ */
|
|
7899
|
-
/* @__PURE__ */
|
|
7900
|
-
|
|
8022
|
+
/* @__PURE__ */ jsx74(Typography26, { variant: "body2", sx: { color: chrome.mutedText }, children: nodeDescription }),
|
|
8023
|
+
/* @__PURE__ */ jsxs39(
|
|
8024
|
+
Box32,
|
|
7901
8025
|
{
|
|
7902
8026
|
sx: {
|
|
7903
8027
|
display: "inline-flex",
|
|
@@ -7911,8 +8035,8 @@ var WorkflowSideInspector = ({
|
|
|
7911
8035
|
backgroundColor: alpha3(accent, 0.12)
|
|
7912
8036
|
},
|
|
7913
8037
|
children: [
|
|
7914
|
-
/* @__PURE__ */
|
|
7915
|
-
|
|
8038
|
+
/* @__PURE__ */ jsx74(
|
|
8039
|
+
Box32,
|
|
7916
8040
|
{
|
|
7917
8041
|
sx: {
|
|
7918
8042
|
width: 10,
|
|
@@ -7922,43 +8046,43 @@ var WorkflowSideInspector = ({
|
|
|
7922
8046
|
}
|
|
7923
8047
|
}
|
|
7924
8048
|
),
|
|
7925
|
-
/* @__PURE__ */
|
|
8049
|
+
/* @__PURE__ */ jsx74(Typography26, { variant: "caption", sx: { color: accent, fontWeight: 500 }, children: WORKFLOW_NODE_LABELS[nodeType] })
|
|
7926
8050
|
]
|
|
7927
8051
|
}
|
|
7928
8052
|
)
|
|
7929
8053
|
] }),
|
|
7930
|
-
/* @__PURE__ */
|
|
7931
|
-
(showInput || showOutput) && /* @__PURE__ */
|
|
7932
|
-
/* @__PURE__ */
|
|
7933
|
-
showInput && /* @__PURE__ */
|
|
7934
|
-
showOutput && /* @__PURE__ */
|
|
8054
|
+
/* @__PURE__ */ jsx74(Divider8, { sx: { borderColor: chrome.divider } }),
|
|
8055
|
+
(showInput || showOutput) && /* @__PURE__ */ jsxs39(Fragment13, { children: [
|
|
8056
|
+
/* @__PURE__ */ jsxs39(Box32, { sx: { display: "flex", flexDirection: "column", gap: 2 }, children: [
|
|
8057
|
+
showInput && /* @__PURE__ */ jsx74(InfoBlock, { label: "Input", value: inputValue, mutedColor: chrome.mutedText }),
|
|
8058
|
+
showOutput && /* @__PURE__ */ jsx74(InfoBlock, { label: "Output", value: outputValue, mutedColor: chrome.mutedText })
|
|
7935
8059
|
] }),
|
|
7936
|
-
/* @__PURE__ */
|
|
8060
|
+
/* @__PURE__ */ jsx74(Divider8, { sx: { borderColor: chrome.divider } })
|
|
7937
8061
|
] }),
|
|
7938
|
-
/* @__PURE__ */
|
|
7939
|
-
/* @__PURE__ */
|
|
7940
|
-
/* @__PURE__ */
|
|
8062
|
+
/* @__PURE__ */ jsxs39(Box32, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
|
|
8063
|
+
/* @__PURE__ */ jsx74(Typography26, { variant: "body2", sx: { color: chrome.mutedText }, children: "Cubby ID" }),
|
|
8064
|
+
/* @__PURE__ */ jsx74(
|
|
7941
8065
|
Button,
|
|
7942
8066
|
{
|
|
7943
8067
|
variant: "secondary",
|
|
7944
8068
|
size: "small",
|
|
7945
|
-
startIcon: /* @__PURE__ */
|
|
8069
|
+
startIcon: /* @__PURE__ */ jsx74(ContentCopyOutlinedIcon, { fontSize: "small" }),
|
|
7946
8070
|
onClick: onCopyCubbyId,
|
|
7947
8071
|
sx: { alignSelf: "flex-start" },
|
|
7948
8072
|
children: cubbyId
|
|
7949
8073
|
}
|
|
7950
8074
|
)
|
|
7951
8075
|
] }),
|
|
7952
|
-
/* @__PURE__ */
|
|
7953
|
-
(showTimestamp || showDuration) && /* @__PURE__ */
|
|
7954
|
-
/* @__PURE__ */
|
|
7955
|
-
showTimestamp && /* @__PURE__ */
|
|
7956
|
-
showDuration && /* @__PURE__ */
|
|
8076
|
+
/* @__PURE__ */ jsx74(Divider8, { sx: { borderColor: chrome.divider } }),
|
|
8077
|
+
(showTimestamp || showDuration) && /* @__PURE__ */ jsxs39(Fragment13, { children: [
|
|
8078
|
+
/* @__PURE__ */ jsxs39(Box32, { sx: { display: "flex", flexDirection: "column", gap: 2 }, children: [
|
|
8079
|
+
showTimestamp && /* @__PURE__ */ jsx74(InfoBlock, { label: "Timestamp", value: timestamp, mutedColor: chrome.mutedText }),
|
|
8080
|
+
showDuration && /* @__PURE__ */ jsx74(InfoBlock, { label: "Duration", value: duration, mutedColor: chrome.mutedText })
|
|
7957
8081
|
] }),
|
|
7958
|
-
/* @__PURE__ */
|
|
8082
|
+
/* @__PURE__ */ jsx74(Divider8, { sx: { borderColor: chrome.divider } })
|
|
7959
8083
|
] })
|
|
7960
8084
|
] }),
|
|
7961
|
-
actionLabel && /* @__PURE__ */
|
|
8085
|
+
actionLabel && /* @__PURE__ */ jsx74(Button, { variant: "primary", fullWidth: true, onClick: onAction, children: actionLabel })
|
|
7962
8086
|
]
|
|
7963
8087
|
}
|
|
7964
8088
|
);
|
|
@@ -7966,19 +8090,19 @@ var WorkflowSideInspector = ({
|
|
|
7966
8090
|
|
|
7967
8091
|
// src/components/layout/WorkflowTimeBar/WorkflowTimeBar.tsx
|
|
7968
8092
|
import {
|
|
7969
|
-
Box as
|
|
8093
|
+
Box as Box33,
|
|
7970
8094
|
Divider as Divider9,
|
|
7971
8095
|
IconButton as IconButton16,
|
|
7972
8096
|
LinearProgress as LinearProgress3,
|
|
7973
|
-
Typography as
|
|
8097
|
+
Typography as Typography27
|
|
7974
8098
|
} from "@mui/material";
|
|
7975
8099
|
import StopIcon from "@mui/icons-material/Stop";
|
|
7976
8100
|
import ChevronLeftIcon4 from "@mui/icons-material/ChevronLeft";
|
|
7977
8101
|
import ChevronRightIcon5 from "@mui/icons-material/ChevronRight";
|
|
7978
8102
|
import ReplayIcon from "@mui/icons-material/Replay";
|
|
7979
8103
|
import { useTheme as useTheme8 } from "@mui/material/styles";
|
|
7980
|
-
import { jsx as
|
|
7981
|
-
var SpeedButton = ({ value, selected, onClick }) => /* @__PURE__ */
|
|
8104
|
+
import { jsx as jsx75, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
8105
|
+
var SpeedButton = ({ value, selected, onClick }) => /* @__PURE__ */ jsx75(
|
|
7982
8106
|
Button,
|
|
7983
8107
|
{
|
|
7984
8108
|
variant: selected ? "primary" : "secondary",
|
|
@@ -8014,8 +8138,8 @@ var WorkflowTimeBar = ({
|
|
|
8014
8138
|
const boundedProgress = Math.max(0, Math.min(100, progress));
|
|
8015
8139
|
const atFirstStep = currentStep <= 1;
|
|
8016
8140
|
const atLastStep = currentStep >= totalSteps;
|
|
8017
|
-
return /* @__PURE__ */
|
|
8018
|
-
|
|
8141
|
+
return /* @__PURE__ */ jsxs40(
|
|
8142
|
+
Box33,
|
|
8019
8143
|
{
|
|
8020
8144
|
sx: [
|
|
8021
8145
|
{
|
|
@@ -8031,9 +8155,9 @@ var WorkflowTimeBar = ({
|
|
|
8031
8155
|
],
|
|
8032
8156
|
...boxProps,
|
|
8033
8157
|
children: [
|
|
8034
|
-
/* @__PURE__ */
|
|
8035
|
-
/* @__PURE__ */
|
|
8036
|
-
/* @__PURE__ */
|
|
8158
|
+
/* @__PURE__ */ jsx75(Divider9, { sx: { borderColor: deploymentSurfaceTokens.strokeOutside } }),
|
|
8159
|
+
/* @__PURE__ */ jsxs40(Box33, { sx: { display: "flex", alignItems: "center", gap: 2 }, children: [
|
|
8160
|
+
/* @__PURE__ */ jsx75(
|
|
8037
8161
|
IconButton16,
|
|
8038
8162
|
{
|
|
8039
8163
|
onClick: onStop,
|
|
@@ -8046,19 +8170,19 @@ var WorkflowTimeBar = ({
|
|
|
8046
8170
|
color: deploymentSurfaceTokens.textPrimary,
|
|
8047
8171
|
backgroundColor: deploymentSurfaceTokens.surfaceHigh
|
|
8048
8172
|
},
|
|
8049
|
-
children: /* @__PURE__ */
|
|
8173
|
+
children: /* @__PURE__ */ jsx75(StopIcon, { sx: { fontSize: 16 } })
|
|
8050
8174
|
}
|
|
8051
8175
|
),
|
|
8052
|
-
/* @__PURE__ */
|
|
8053
|
-
/* @__PURE__ */
|
|
8054
|
-
|
|
8176
|
+
/* @__PURE__ */ jsxs40(Box33, { sx: { flex: 1, minWidth: 220, px: 1 }, children: [
|
|
8177
|
+
/* @__PURE__ */ jsx75(
|
|
8178
|
+
Typography27,
|
|
8055
8179
|
{
|
|
8056
8180
|
variant: "body2",
|
|
8057
8181
|
sx: { color: deploymentSurfaceTokens.textPrimary, mb: 0.5 },
|
|
8058
8182
|
children: elapsedTime
|
|
8059
8183
|
}
|
|
8060
8184
|
),
|
|
8061
|
-
/* @__PURE__ */
|
|
8185
|
+
/* @__PURE__ */ jsx75(
|
|
8062
8186
|
LinearProgress3,
|
|
8063
8187
|
{
|
|
8064
8188
|
variant: "determinate",
|
|
@@ -8074,10 +8198,10 @@ var WorkflowTimeBar = ({
|
|
|
8074
8198
|
}
|
|
8075
8199
|
)
|
|
8076
8200
|
] }),
|
|
8077
|
-
/* @__PURE__ */
|
|
8078
|
-
/* @__PURE__ */
|
|
8079
|
-
/* @__PURE__ */
|
|
8080
|
-
/* @__PURE__ */
|
|
8201
|
+
/* @__PURE__ */ jsxs40(Box33, { sx: { display: "flex", alignItems: "center", gap: 3 }, children: [
|
|
8202
|
+
/* @__PURE__ */ jsxs40(Box33, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
8203
|
+
/* @__PURE__ */ jsx75(Typography27, { variant: "subtitle1", sx: { fontWeight: 500 }, children: "Steps" }),
|
|
8204
|
+
/* @__PURE__ */ jsx75(
|
|
8081
8205
|
IconButton16,
|
|
8082
8206
|
{
|
|
8083
8207
|
size: "small",
|
|
@@ -8085,11 +8209,11 @@ var WorkflowTimeBar = ({
|
|
|
8085
8209
|
onClick: onPreviousStep,
|
|
8086
8210
|
disabled: atFirstStep,
|
|
8087
8211
|
sx: { backgroundColor: chrome.stepBtnBg },
|
|
8088
|
-
children: /* @__PURE__ */
|
|
8212
|
+
children: /* @__PURE__ */ jsx75(ChevronLeftIcon4, { fontSize: "small" })
|
|
8089
8213
|
}
|
|
8090
8214
|
),
|
|
8091
|
-
/* @__PURE__ */
|
|
8092
|
-
/* @__PURE__ */
|
|
8215
|
+
/* @__PURE__ */ jsx75(Typography27, { variant: "subtitle1", sx: { minWidth: 52, textAlign: "center" }, children: `${currentStep} / ${totalSteps}` }),
|
|
8216
|
+
/* @__PURE__ */ jsx75(
|
|
8093
8217
|
IconButton16,
|
|
8094
8218
|
{
|
|
8095
8219
|
size: "small",
|
|
@@ -8097,13 +8221,13 @@ var WorkflowTimeBar = ({
|
|
|
8097
8221
|
onClick: onNextStep,
|
|
8098
8222
|
disabled: atLastStep,
|
|
8099
8223
|
sx: { backgroundColor: chrome.stepBtnBgHover },
|
|
8100
|
-
children: /* @__PURE__ */
|
|
8224
|
+
children: /* @__PURE__ */ jsx75(ChevronRightIcon5, { fontSize: "small" })
|
|
8101
8225
|
}
|
|
8102
8226
|
)
|
|
8103
8227
|
] }),
|
|
8104
|
-
/* @__PURE__ */
|
|
8105
|
-
/* @__PURE__ */
|
|
8106
|
-
speedOptions.map((option) => /* @__PURE__ */
|
|
8228
|
+
/* @__PURE__ */ jsxs40(Box33, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
8229
|
+
/* @__PURE__ */ jsx75(Typography27, { variant: "subtitle1", sx: { fontWeight: 500 }, children: "Speed" }),
|
|
8230
|
+
speedOptions.map((option) => /* @__PURE__ */ jsx75(
|
|
8107
8231
|
SpeedButton,
|
|
8108
8232
|
{
|
|
8109
8233
|
value: option,
|
|
@@ -8112,7 +8236,7 @@ var WorkflowTimeBar = ({
|
|
|
8112
8236
|
},
|
|
8113
8237
|
option
|
|
8114
8238
|
)),
|
|
8115
|
-
/* @__PURE__ */
|
|
8239
|
+
/* @__PURE__ */ jsx75(IconButton16, { "aria-label": "Reset playback", onClick: onReset, size: "small", children: /* @__PURE__ */ jsx75(ReplayIcon, { fontSize: "small" }) })
|
|
8116
8240
|
] })
|
|
8117
8241
|
] })
|
|
8118
8242
|
] })
|
|
@@ -8124,10 +8248,10 @@ var WorkflowTimeBar = ({
|
|
|
8124
8248
|
// src/components/icons/ActivityAppIcon.tsx
|
|
8125
8249
|
import { memo as memo2 } from "react";
|
|
8126
8250
|
import { SvgIcon as SvgIcon2 } from "@mui/material";
|
|
8127
|
-
import { jsx as
|
|
8128
|
-
var ActivityAppIcon = memo2((props) => /* @__PURE__ */
|
|
8129
|
-
/* @__PURE__ */
|
|
8130
|
-
/* @__PURE__ */
|
|
8251
|
+
import { jsx as jsx76, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
8252
|
+
var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs41(SvgIcon2, { ...props, viewBox: "0 0 36 36", children: [
|
|
8253
|
+
/* @__PURE__ */ jsx76("rect", { fill: "none", stroke: "currentColor", width: 34, height: 34, x: 1, y: 1, strokeWidth: 1.5, rx: 6.8 }),
|
|
8254
|
+
/* @__PURE__ */ jsx76(
|
|
8131
8255
|
"rect",
|
|
8132
8256
|
{
|
|
8133
8257
|
fill: "none",
|
|
@@ -8140,7 +8264,7 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs40(SvgIcon2, { ...pro
|
|
|
8140
8264
|
rx: 1.7
|
|
8141
8265
|
}
|
|
8142
8266
|
),
|
|
8143
|
-
/* @__PURE__ */
|
|
8267
|
+
/* @__PURE__ */ jsx76(
|
|
8144
8268
|
"rect",
|
|
8145
8269
|
{
|
|
8146
8270
|
fill: "none",
|
|
@@ -8153,7 +8277,7 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs40(SvgIcon2, { ...pro
|
|
|
8153
8277
|
rx: 1.7
|
|
8154
8278
|
}
|
|
8155
8279
|
),
|
|
8156
|
-
/* @__PURE__ */
|
|
8280
|
+
/* @__PURE__ */ jsx76(
|
|
8157
8281
|
"rect",
|
|
8158
8282
|
{
|
|
8159
8283
|
fill: "none",
|
|
@@ -8170,9 +8294,9 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs40(SvgIcon2, { ...pro
|
|
|
8170
8294
|
|
|
8171
8295
|
// src/components/icons/ArrowLeft.tsx
|
|
8172
8296
|
import { SvgIcon as SvgIcon3 } from "@mui/material";
|
|
8173
|
-
import { jsx as
|
|
8297
|
+
import { jsx as jsx77 } from "react/jsx-runtime";
|
|
8174
8298
|
var LeftArrowIcon = (props) => {
|
|
8175
|
-
return /* @__PURE__ */
|
|
8299
|
+
return /* @__PURE__ */ jsx77(SvgIcon3, { ...props, width: "24", height: "24", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx77("g", { id: " Arrow Left", children: /* @__PURE__ */ jsx77(
|
|
8176
8300
|
"path",
|
|
8177
8301
|
{
|
|
8178
8302
|
id: "Vector (Stroke)",
|
|
@@ -8186,9 +8310,9 @@ var LeftArrowIcon = (props) => {
|
|
|
8186
8310
|
|
|
8187
8311
|
// src/components/icons/ArrowRight.tsx
|
|
8188
8312
|
import { SvgIcon as SvgIcon4 } from "@mui/material";
|
|
8189
|
-
import { jsx as
|
|
8313
|
+
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
8190
8314
|
var RightArrowIcon = (props) => {
|
|
8191
|
-
return /* @__PURE__ */
|
|
8315
|
+
return /* @__PURE__ */ jsx78(SvgIcon4, { ...props, width: "25", height: "24", viewBox: "0 0 25 24", children: /* @__PURE__ */ jsx78(
|
|
8192
8316
|
"path",
|
|
8193
8317
|
{
|
|
8194
8318
|
fillRule: "evenodd",
|
|
@@ -8201,10 +8325,10 @@ var RightArrowIcon = (props) => {
|
|
|
8201
8325
|
|
|
8202
8326
|
// src/components/icons/AvatarIcon.tsx
|
|
8203
8327
|
import { SvgIcon as SvgIcon5 } from "@mui/material";
|
|
8204
|
-
import { jsx as
|
|
8328
|
+
import { jsx as jsx79, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
8205
8329
|
var AvatarIcon = (props) => {
|
|
8206
|
-
return /* @__PURE__ */
|
|
8207
|
-
/* @__PURE__ */
|
|
8330
|
+
return /* @__PURE__ */ jsxs42(SvgIcon5, { ...props, viewBox: "0 0 16 16", children: [
|
|
8331
|
+
/* @__PURE__ */ jsx79(
|
|
8208
8332
|
"path",
|
|
8209
8333
|
{
|
|
8210
8334
|
fillRule: "evenodd",
|
|
@@ -8213,7 +8337,7 @@ var AvatarIcon = (props) => {
|
|
|
8213
8337
|
fill: "#1D1B20"
|
|
8214
8338
|
}
|
|
8215
8339
|
),
|
|
8216
|
-
/* @__PURE__ */
|
|
8340
|
+
/* @__PURE__ */ jsx79(
|
|
8217
8341
|
"path",
|
|
8218
8342
|
{
|
|
8219
8343
|
fillRule: "evenodd",
|
|
@@ -8228,9 +8352,9 @@ var AvatarIcon = (props) => {
|
|
|
8228
8352
|
// src/components/icons/BarTrackingIcon.tsx
|
|
8229
8353
|
import { memo as memo3 } from "react";
|
|
8230
8354
|
import { SvgIcon as SvgIcon6 } from "@mui/material";
|
|
8231
|
-
import { jsx as
|
|
8232
|
-
var BarTrackingIcon = memo3((props) => /* @__PURE__ */
|
|
8233
|
-
/* @__PURE__ */
|
|
8355
|
+
import { jsx as jsx80, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
8356
|
+
var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs43(SvgIcon6, { ...props, viewBox: "0 0 96 97", children: [
|
|
8357
|
+
/* @__PURE__ */ jsx80(
|
|
8234
8358
|
"rect",
|
|
8235
8359
|
{
|
|
8236
8360
|
x: "7.19922",
|
|
@@ -8243,7 +8367,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs42(SvgIcon6, { ...pro
|
|
|
8243
8367
|
fill: "none"
|
|
8244
8368
|
}
|
|
8245
8369
|
),
|
|
8246
|
-
/* @__PURE__ */
|
|
8370
|
+
/* @__PURE__ */ jsx80(
|
|
8247
8371
|
"rect",
|
|
8248
8372
|
{
|
|
8249
8373
|
x: "21.0371",
|
|
@@ -8256,7 +8380,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs42(SvgIcon6, { ...pro
|
|
|
8256
8380
|
strokeWidth: "2"
|
|
8257
8381
|
}
|
|
8258
8382
|
),
|
|
8259
|
-
/* @__PURE__ */
|
|
8383
|
+
/* @__PURE__ */ jsx80(
|
|
8260
8384
|
"rect",
|
|
8261
8385
|
{
|
|
8262
8386
|
x: "40.4746",
|
|
@@ -8269,7 +8393,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs42(SvgIcon6, { ...pro
|
|
|
8269
8393
|
strokeWidth: "2"
|
|
8270
8394
|
}
|
|
8271
8395
|
),
|
|
8272
|
-
/* @__PURE__ */
|
|
8396
|
+
/* @__PURE__ */ jsx80(
|
|
8273
8397
|
"rect",
|
|
8274
8398
|
{
|
|
8275
8399
|
x: "59.8828",
|
|
@@ -8287,8 +8411,8 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs42(SvgIcon6, { ...pro
|
|
|
8287
8411
|
// src/components/icons/ClockIcon.tsx
|
|
8288
8412
|
import { memo as memo4 } from "react";
|
|
8289
8413
|
import { SvgIcon as SvgIcon7 } from "@mui/material";
|
|
8290
|
-
import { jsx as
|
|
8291
|
-
var ClockIcon = memo4((props) => /* @__PURE__ */
|
|
8414
|
+
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
8415
|
+
var ClockIcon = memo4((props) => /* @__PURE__ */ jsx81(SvgIcon7, { ...props, viewBox: "0 0 22 22", children: /* @__PURE__ */ jsx81(
|
|
8292
8416
|
"path",
|
|
8293
8417
|
{
|
|
8294
8418
|
fill: "currentColor",
|
|
@@ -8301,9 +8425,9 @@ var ClockIcon = memo4((props) => /* @__PURE__ */ jsx79(SvgIcon7, { ...props, vie
|
|
|
8301
8425
|
// src/components/icons/CloudFlashIcon.tsx
|
|
8302
8426
|
import { memo as memo5 } from "react";
|
|
8303
8427
|
import { SvgIcon as SvgIcon8 } from "@mui/material";
|
|
8304
|
-
import { jsx as
|
|
8305
|
-
var CloudFlashIcon = memo5((props) => /* @__PURE__ */
|
|
8306
|
-
/* @__PURE__ */
|
|
8428
|
+
import { jsx as jsx82, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
8429
|
+
var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs44(SvgIcon8, { ...props, fill: "none", viewBox: "0 0 96 97", children: [
|
|
8430
|
+
/* @__PURE__ */ jsx82(
|
|
8307
8431
|
"path",
|
|
8308
8432
|
{
|
|
8309
8433
|
d: "M18.8029 43.3396V43.2933H19.8029C20.3752 43.2933 20.9384 43.328 21.4908 43.3937C21.9111 39.4438 22.9817 34.2181 25.6601 29.8138C28.6259 24.937 33.5595 21.0898 41.5689 21.0898C46.9417 21.0898 50.8839 22.9055 53.7292 25.6773C56.5498 28.4249 58.2303 32.0495 59.2307 35.5901C60.1768 38.9386 60.5315 42.2718 60.6446 44.8476C60.891 44.4671 61.1651 44.0792 61.4696 43.691C63.7235 40.8178 67.6089 37.9824 74.0317 37.9824C77.222 37.9824 79.8196 38.6871 81.9219 39.7574L81.9232 39.7581C86.8327 42.2671 89.793 47.4136 89.793 52.8846V54.7368C89.793 65.644 80.9404 74.4889 70.0269 74.4889H18.865C11.867 74.4889 6.19295 68.8202 6.19295 61.8256V57.184C6.19295 49.9845 11.6911 43.8799 18.8029 43.3396Z",
|
|
@@ -8312,7 +8436,7 @@ var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs43(SvgIcon8, { ...prop
|
|
|
8312
8436
|
strokeWidth: "2"
|
|
8313
8437
|
}
|
|
8314
8438
|
),
|
|
8315
|
-
/* @__PURE__ */
|
|
8439
|
+
/* @__PURE__ */ jsx82(
|
|
8316
8440
|
"path",
|
|
8317
8441
|
{
|
|
8318
8442
|
d: "M79.1804 45.7001C79.1804 45.7001 60.7908 47.259 60.7908 10.0898C60.7908 10.0898 60.9856 45.7768 43.1934 45.7768C43.1934 45.7768 61.1933 48.1151 61.1933 67.6899C61.1933 67.6899 61.1933 45.7001 79.1934 45.7001H79.1804Z",
|
|
@@ -8326,9 +8450,9 @@ var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs43(SvgIcon8, { ...prop
|
|
|
8326
8450
|
// src/components/icons/DecentralizedServerIcon.tsx
|
|
8327
8451
|
import { memo as memo6 } from "react";
|
|
8328
8452
|
import { SvgIcon as SvgIcon9 } from "@mui/material";
|
|
8329
|
-
import { jsx as
|
|
8330
|
-
var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */
|
|
8331
|
-
/* @__PURE__ */
|
|
8453
|
+
import { jsx as jsx83, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
8454
|
+
var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs45(SvgIcon9, { ...props, viewBox: "0 0 96 97", children: [
|
|
8455
|
+
/* @__PURE__ */ jsx83(
|
|
8332
8456
|
"path",
|
|
8333
8457
|
{
|
|
8334
8458
|
d: "M14.5706 15.0858L48.016 8.29688L81.3694 15.0858L88.2242 48.3742L81.3694 81.6556L48.016 88.4445L14.5706 81.6556L7.80078 48.3742L14.5706 15.0858Z",
|
|
@@ -8339,7 +8463,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs44(SvgIcon9,
|
|
|
8339
8463
|
strokeLinejoin: "round"
|
|
8340
8464
|
}
|
|
8341
8465
|
),
|
|
8342
|
-
/* @__PURE__ */
|
|
8466
|
+
/* @__PURE__ */ jsx83(
|
|
8343
8467
|
"path",
|
|
8344
8468
|
{
|
|
8345
8469
|
d: "M48.0118 11.2609C49.6622 11.2609 51.0001 9.92755 51.0001 8.28279C51.0001 6.63803 49.6622 5.30469 48.0118 5.30469C46.3614 5.30469 45.0234 6.63803 45.0234 8.28279C45.0234 9.92755 46.3614 11.2609 48.0118 11.2609Z",
|
|
@@ -8350,7 +8474,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs44(SvgIcon9,
|
|
|
8350
8474
|
strokeLinejoin: "round"
|
|
8351
8475
|
}
|
|
8352
8476
|
),
|
|
8353
|
-
/* @__PURE__ */
|
|
8477
|
+
/* @__PURE__ */ jsx83(
|
|
8354
8478
|
"path",
|
|
8355
8479
|
{
|
|
8356
8480
|
d: "M48.0118 91.4132C49.6622 91.4132 51.0001 90.0799 51.0001 88.4351C51.0001 86.7904 49.6622 85.457 48.0118 85.457C46.3614 85.457 45.0234 86.7904 45.0234 88.4351C45.0234 90.0799 46.3614 91.4132 48.0118 91.4132Z",
|
|
@@ -8361,7 +8485,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs44(SvgIcon9,
|
|
|
8361
8485
|
strokeLinejoin: "round"
|
|
8362
8486
|
}
|
|
8363
8487
|
),
|
|
8364
|
-
/* @__PURE__ */
|
|
8488
|
+
/* @__PURE__ */ jsx83(
|
|
8365
8489
|
"path",
|
|
8366
8490
|
{
|
|
8367
8491
|
d: "M7.79304 51.339C9.44346 51.339 10.7814 50.0057 10.7814 48.3609C10.7814 46.7162 9.44346 45.3828 7.79304 45.3828C6.14262 45.3828 4.80469 46.7162 4.80469 48.3609C4.80469 50.0057 6.14262 51.339 7.79304 51.339Z",
|
|
@@ -8372,7 +8496,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs44(SvgIcon9,
|
|
|
8372
8496
|
strokeLinejoin: "round"
|
|
8373
8497
|
}
|
|
8374
8498
|
),
|
|
8375
|
-
/* @__PURE__ */
|
|
8499
|
+
/* @__PURE__ */ jsx83(
|
|
8376
8500
|
"path",
|
|
8377
8501
|
{
|
|
8378
8502
|
d: "M88.2247 51.339C89.8751 51.339 91.213 50.0057 91.213 48.3609C91.213 46.7162 89.8751 45.3828 88.2247 45.3828C86.5743 45.3828 85.2363 46.7162 85.2363 48.3609C85.2363 50.0057 86.5743 51.339 88.2247 51.339Z",
|
|
@@ -8383,7 +8507,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs44(SvgIcon9,
|
|
|
8383
8507
|
strokeLinejoin: "round"
|
|
8384
8508
|
}
|
|
8385
8509
|
),
|
|
8386
|
-
/* @__PURE__ */
|
|
8510
|
+
/* @__PURE__ */ jsx83(
|
|
8387
8511
|
"path",
|
|
8388
8512
|
{
|
|
8389
8513
|
d: "M81.3477 18.0539C82.9982 18.0539 84.3361 16.7205 84.3361 15.0758C84.3361 13.431 82.9982 12.0977 81.3477 12.0977C79.6973 12.0977 78.3594 13.431 78.3594 15.0758C78.3594 16.7205 79.6973 18.0539 81.3477 18.0539Z",
|
|
@@ -8394,7 +8518,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs44(SvgIcon9,
|
|
|
8394
8518
|
strokeLinejoin: "round"
|
|
8395
8519
|
}
|
|
8396
8520
|
),
|
|
8397
|
-
/* @__PURE__ */
|
|
8521
|
+
/* @__PURE__ */ jsx83(
|
|
8398
8522
|
"path",
|
|
8399
8523
|
{
|
|
8400
8524
|
d: "M14.5508 84.6203C16.2013 84.6203 17.5392 83.2869 17.5392 81.6422C17.5392 79.9974 16.2013 78.6641 14.5508 78.6641C12.9004 78.6641 11.5625 79.9974 11.5625 81.6422C11.5625 83.2869 12.9004 84.6203 14.5508 84.6203Z",
|
|
@@ -8405,7 +8529,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs44(SvgIcon9,
|
|
|
8405
8529
|
strokeLinejoin: "round"
|
|
8406
8530
|
}
|
|
8407
8531
|
),
|
|
8408
|
-
/* @__PURE__ */
|
|
8532
|
+
/* @__PURE__ */ jsx83(
|
|
8409
8533
|
"path",
|
|
8410
8534
|
{
|
|
8411
8535
|
d: "M81.3477 84.6203C82.9982 84.6203 84.3361 83.2869 84.3361 81.6422C84.3361 79.9974 82.9982 78.6641 81.3477 78.6641C79.6973 78.6641 78.3594 79.9974 78.3594 81.6422C78.3594 83.2869 79.6973 84.6203 81.3477 84.6203Z",
|
|
@@ -8416,7 +8540,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs44(SvgIcon9,
|
|
|
8416
8540
|
strokeLinejoin: "round"
|
|
8417
8541
|
}
|
|
8418
8542
|
),
|
|
8419
|
-
/* @__PURE__ */
|
|
8543
|
+
/* @__PURE__ */ jsx83(
|
|
8420
8544
|
"path",
|
|
8421
8545
|
{
|
|
8422
8546
|
d: "M14.5508 18.0539C16.2013 18.0539 17.5392 16.7205 17.5392 15.0758C17.5392 13.431 16.2013 12.0977 14.5508 12.0977C12.9004 12.0977 11.5625 13.431 11.5625 15.0758C11.5625 16.7205 12.9004 18.0539 14.5508 18.0539Z",
|
|
@@ -8427,7 +8551,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs44(SvgIcon9,
|
|
|
8427
8551
|
strokeLinejoin: "round"
|
|
8428
8552
|
}
|
|
8429
8553
|
),
|
|
8430
|
-
/* @__PURE__ */
|
|
8554
|
+
/* @__PURE__ */ jsx83(
|
|
8431
8555
|
"rect",
|
|
8432
8556
|
{
|
|
8433
8557
|
x: "22.623",
|
|
@@ -8440,7 +8564,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs44(SvgIcon9,
|
|
|
8440
8564
|
strokeWidth: "2"
|
|
8441
8565
|
}
|
|
8442
8566
|
),
|
|
8443
|
-
/* @__PURE__ */
|
|
8567
|
+
/* @__PURE__ */ jsx83(
|
|
8444
8568
|
"rect",
|
|
8445
8569
|
{
|
|
8446
8570
|
x: "22.623",
|
|
@@ -8453,7 +8577,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs44(SvgIcon9,
|
|
|
8453
8577
|
strokeWidth: "2"
|
|
8454
8578
|
}
|
|
8455
8579
|
),
|
|
8456
|
-
/* @__PURE__ */
|
|
8580
|
+
/* @__PURE__ */ jsx83(
|
|
8457
8581
|
"rect",
|
|
8458
8582
|
{
|
|
8459
8583
|
x: "22.623",
|
|
@@ -8466,7 +8590,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs44(SvgIcon9,
|
|
|
8466
8590
|
strokeWidth: "2"
|
|
8467
8591
|
}
|
|
8468
8592
|
),
|
|
8469
|
-
/* @__PURE__ */
|
|
8593
|
+
/* @__PURE__ */ jsx83(
|
|
8470
8594
|
"path",
|
|
8471
8595
|
{
|
|
8472
8596
|
d: "M29.612 37.1542C31.2803 37.1542 32.634 35.8026 32.634 34.1337C32.634 32.4649 31.2803 31.1133 29.612 31.1133C27.9437 31.1133 26.5901 32.4649 26.5901 34.1337C26.5901 35.8026 27.9437 37.1542 29.612 37.1542Z",
|
|
@@ -8476,7 +8600,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs44(SvgIcon9,
|
|
|
8476
8600
|
strokeMiterlimit: "10"
|
|
8477
8601
|
}
|
|
8478
8602
|
),
|
|
8479
|
-
/* @__PURE__ */
|
|
8603
|
+
/* @__PURE__ */ jsx83(
|
|
8480
8604
|
"path",
|
|
8481
8605
|
{
|
|
8482
8606
|
d: "M40.3464 37.1542C42.0147 37.1542 43.3684 35.8026 43.3684 34.1337C43.3684 32.4649 42.0147 31.1133 40.3464 31.1133C38.6782 31.1133 37.3245 32.4649 37.3245 34.1337C37.3245 35.8026 38.6782 37.1542 40.3464 37.1542Z",
|
|
@@ -8486,7 +8610,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs44(SvgIcon9,
|
|
|
8486
8610
|
strokeMiterlimit: "10"
|
|
8487
8611
|
}
|
|
8488
8612
|
),
|
|
8489
|
-
/* @__PURE__ */
|
|
8613
|
+
/* @__PURE__ */ jsx83(
|
|
8490
8614
|
"path",
|
|
8491
8615
|
{
|
|
8492
8616
|
d: "M51.0808 37.1542C52.7491 37.1542 54.1028 35.8026 54.1028 34.1337C54.1028 32.4649 52.7491 31.1133 51.0808 31.1133C49.4125 31.1133 48.0588 32.4649 48.0588 34.1337C48.0588 35.8026 49.4125 37.1542 51.0808 37.1542Z",
|
|
@@ -8501,8 +8625,8 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs44(SvgIcon9,
|
|
|
8501
8625
|
// src/components/icons/DiscordIcon.tsx
|
|
8502
8626
|
import { memo as memo7 } from "react";
|
|
8503
8627
|
import { SvgIcon as SvgIcon10 } from "@mui/material";
|
|
8504
|
-
import { jsx as
|
|
8505
|
-
var DiscordIcon = memo7((props) => /* @__PURE__ */
|
|
8628
|
+
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
8629
|
+
var DiscordIcon = memo7((props) => /* @__PURE__ */ jsx84(SvgIcon10, { ...props, viewBox: "0 0 15 12", children: /* @__PURE__ */ jsx84(
|
|
8506
8630
|
"path",
|
|
8507
8631
|
{
|
|
8508
8632
|
fill: "currentColor",
|
|
@@ -8513,16 +8637,16 @@ var DiscordIcon = memo7((props) => /* @__PURE__ */ jsx82(SvgIcon10, { ...props,
|
|
|
8513
8637
|
// src/components/icons/DownloadIcon.tsx
|
|
8514
8638
|
import { memo as memo8 } from "react";
|
|
8515
8639
|
import { SvgIcon as SvgIcon11 } from "@mui/material";
|
|
8516
|
-
import { jsx as
|
|
8517
|
-
var DownloadIcon = memo8((props) => /* @__PURE__ */
|
|
8518
|
-
/* @__PURE__ */
|
|
8640
|
+
import { jsx as jsx85, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
8641
|
+
var DownloadIcon = memo8((props) => /* @__PURE__ */ jsxs46(SvgIcon11, { ...props, viewBox: "0 0 17 16", fill: "none", children: [
|
|
8642
|
+
/* @__PURE__ */ jsx85(
|
|
8519
8643
|
"path",
|
|
8520
8644
|
{
|
|
8521
8645
|
d: "M8.86902 11.0041C8.77429 11.1077 8.64038 11.1667 8.5 11.1667C8.35962 11.1667 8.22571 11.1077 8.13099 11.0041L5.46432 8.08738C5.27799 7.88358 5.29215 7.56732 5.49595 7.38099C5.69975 7.19465 6.01602 7.20881 6.20235 7.41262L8 9.3788V2C8 1.72386 8.22386 1.5 8.5 1.5C8.77614 1.5 9 1.72386 9 2V9.3788L10.7977 7.41262C10.984 7.20881 11.3003 7.19465 11.5041 7.38099C11.7079 7.56732 11.722 7.88358 11.5357 8.08738L8.86902 11.0041Z",
|
|
8522
8646
|
fill: "currentColor"
|
|
8523
8647
|
}
|
|
8524
8648
|
),
|
|
8525
|
-
/* @__PURE__ */
|
|
8649
|
+
/* @__PURE__ */ jsx85(
|
|
8526
8650
|
"path",
|
|
8527
8651
|
{
|
|
8528
8652
|
d: "M3 10C3 9.72386 2.77614 9.5 2.5 9.5C2.22386 9.5 2 9.72386 2 10V10.0366C1.99999 10.9483 1.99998 11.6832 2.07768 12.2612C2.15836 12.8612 2.33096 13.3665 2.73223 13.7678C3.13351 14.169 3.63876 14.3416 4.23883 14.4223C4.81681 14.5 5.55169 14.5 6.46342 14.5H10.5366C11.4483 14.5 12.1832 14.5 12.7612 14.4223C13.3612 14.3416 13.8665 14.169 14.2678 13.7678C14.669 13.3665 14.8416 12.8612 14.9223 12.2612C15 11.6832 15 10.9483 15 10.0366V10C15 9.72386 14.7761 9.5 14.5 9.5C14.2239 9.5 14 9.72386 14 10C14 10.9569 13.9989 11.6244 13.9312 12.1279C13.8655 12.6171 13.7452 12.8762 13.5607 13.0607C13.3762 13.2452 13.1171 13.3655 12.6279 13.4312C12.1244 13.4989 11.4569 13.5 10.5 13.5H6.5C5.54306 13.5 4.87565 13.4989 4.37208 13.4312C3.8829 13.3655 3.62385 13.2452 3.43934 13.0607C3.25483 12.8762 3.13453 12.6171 3.06877 12.1279C3.00106 11.6244 3 10.9569 3 10Z",
|
|
@@ -8534,11 +8658,11 @@ var DownloadIcon = memo8((props) => /* @__PURE__ */ jsxs45(SvgIcon11, { ...props
|
|
|
8534
8658
|
// src/components/icons/FilledFolderIcon.tsx
|
|
8535
8659
|
import { memo as memo9 } from "react";
|
|
8536
8660
|
import { SvgIcon as SvgIcon12 } from "@mui/material";
|
|
8537
|
-
import { jsx as
|
|
8538
|
-
var FilledFolderIcon = memo9((props) => /* @__PURE__ */
|
|
8539
|
-
/* @__PURE__ */
|
|
8540
|
-
/* @__PURE__ */
|
|
8541
|
-
/* @__PURE__ */
|
|
8661
|
+
import { jsx as jsx86, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
8662
|
+
var FilledFolderIcon = memo9((props) => /* @__PURE__ */ jsxs47(SvgIcon12, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
|
|
8663
|
+
/* @__PURE__ */ jsx86("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#FCF8EC" }),
|
|
8664
|
+
/* @__PURE__ */ jsx86("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E1B43E" }),
|
|
8665
|
+
/* @__PURE__ */ jsx86(
|
|
8542
8666
|
"path",
|
|
8543
8667
|
{
|
|
8544
8668
|
fillRule: "evenodd",
|
|
@@ -8552,11 +8676,11 @@ var FilledFolderIcon = memo9((props) => /* @__PURE__ */ jsxs46(SvgIcon12, { sx:
|
|
|
8552
8676
|
// src/components/icons/FolderIcon.tsx
|
|
8553
8677
|
import { memo as memo10 } from "react";
|
|
8554
8678
|
import { SvgIcon as SvgIcon13 } from "@mui/material";
|
|
8555
|
-
import { jsx as
|
|
8556
|
-
var FolderIcon = memo10((props) => /* @__PURE__ */
|
|
8557
|
-
/* @__PURE__ */
|
|
8558
|
-
/* @__PURE__ */
|
|
8559
|
-
/* @__PURE__ */
|
|
8679
|
+
import { jsx as jsx87, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
8680
|
+
var FolderIcon = memo10((props) => /* @__PURE__ */ jsxs48(SvgIcon13, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
|
|
8681
|
+
/* @__PURE__ */ jsx87("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#F5F7FA" }),
|
|
8682
|
+
/* @__PURE__ */ jsx87("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E6E6E6" }),
|
|
8683
|
+
/* @__PURE__ */ jsx87(
|
|
8560
8684
|
"path",
|
|
8561
8685
|
{
|
|
8562
8686
|
fillRule: "evenodd",
|
|
@@ -8572,16 +8696,16 @@ var FolderIcon = memo10((props) => /* @__PURE__ */ jsxs47(SvgIcon13, { sx: { fil
|
|
|
8572
8696
|
// src/components/icons/GithubLogoIcon.tsx
|
|
8573
8697
|
import { memo as memo11 } from "react";
|
|
8574
8698
|
import { SvgIcon as SvgIcon14 } from "@mui/material";
|
|
8575
|
-
import { jsx as
|
|
8576
|
-
var GithubLogoIcon = memo11((props) => /* @__PURE__ */
|
|
8577
|
-
/* @__PURE__ */
|
|
8699
|
+
import { jsx as jsx88, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
8700
|
+
var GithubLogoIcon = memo11((props) => /* @__PURE__ */ jsxs49(SvgIcon14, { ...props, viewBox: "0 0 17 16", sx: { fill: "none" }, children: [
|
|
8701
|
+
/* @__PURE__ */ jsx88(
|
|
8578
8702
|
"path",
|
|
8579
8703
|
{
|
|
8580
8704
|
d: "M8.79754 0C4.268 0 0.595032 3.67233 0.595032 8.20251C0.595032 11.8267 2.9453 14.9013 6.20443 15.9859C6.61435 16.0618 6.76488 15.808 6.76488 15.5913C6.76488 15.3957 6.75723 14.7495 6.75375 14.0642C4.47174 14.5603 3.99022 13.0964 3.99022 13.0964C3.61711 12.1483 3.07949 11.8962 3.07949 11.8962C2.33531 11.3871 3.13559 11.3975 3.13559 11.3975C3.95928 11.4554 4.393 12.2428 4.393 12.2428C5.12457 13.4968 6.31186 13.1343 6.77993 12.9247C6.85353 12.3945 7.06614 12.0327 7.30069 11.8279C5.47884 11.6204 3.56358 10.9171 3.56358 7.77413C3.56358 6.87865 3.88401 6.14688 4.40876 5.57247C4.32359 5.36584 4.04285 4.5316 4.48821 3.40175C4.48821 3.40175 5.177 3.18129 6.74449 4.24256C7.39873 4.06076 8.10045 3.96967 8.79754 3.96658C9.49463 3.96967 10.1969 4.06076 10.8524 4.24256C12.418 3.18129 13.1059 3.40175 13.1059 3.40175C13.5523 4.5316 13.2714 5.36584 13.1863 5.57247C13.7122 6.14688 14.0304 6.87858 14.0304 7.77413C14.0304 10.9245 12.1116 11.6183 10.2851 11.8213C10.5793 12.0759 10.8414 12.5751 10.8414 13.3403C10.8414 14.4378 10.8319 15.3211 10.8319 15.5913C10.8319 15.8096 10.9795 16.0654 11.3954 15.9848C14.6527 14.899 17 11.8254 17 8.20251C17 3.67233 13.3275 0 8.79754 0Z",
|
|
8581
8705
|
fill: "white"
|
|
8582
8706
|
}
|
|
8583
8707
|
),
|
|
8584
|
-
/* @__PURE__ */
|
|
8708
|
+
/* @__PURE__ */ jsx88(
|
|
8585
8709
|
"path",
|
|
8586
8710
|
{
|
|
8587
8711
|
d: "M3.66696 11.6845C3.64895 11.7252 3.58474 11.7374 3.5264 11.7095C3.46689 11.6828 3.43344 11.6272 3.45274 11.5863C3.47043 11.5443 3.53463 11.5326 3.59401 11.5608C3.65364 11.5875 3.68761 11.6436 3.66696 11.6845ZM4.07044 12.0445C4.03133 12.0808 3.95484 12.0639 3.90292 12.0066C3.84927 11.9494 3.83924 11.873 3.87893 11.8361C3.91926 11.7999 3.99344 11.8168 4.04722 11.8741C4.10087 11.9319 4.11129 12.0079 4.07038 12.0446M4.34726 12.5051C4.29695 12.54 4.21474 12.5073 4.16398 12.4343C4.11374 12.3615 4.11374 12.274 4.16507 12.2389C4.21602 12.2038 4.29695 12.2354 4.34842 12.3077C4.39859 12.3819 4.39859 12.4694 4.34719 12.5052M4.81533 13.0386C4.77036 13.0881 4.67464 13.0749 4.60452 13.0072C4.53285 12.9411 4.51285 12.8472 4.55794 12.7976C4.60342 12.748 4.69973 12.7619 4.77036 12.829C4.84158 12.895 4.86332 12.9896 4.81539 13.0386M5.4203 13.2187C5.40055 13.2829 5.3083 13.3121 5.2154 13.2849C5.12264 13.2568 5.06191 13.1815 5.08063 13.1166C5.09993 13.0519 5.19257 13.0215 5.28617 13.0507C5.37881 13.0787 5.43966 13.1534 5.42036 13.2187M6.1089 13.2951C6.11121 13.3628 6.03241 13.4189 5.93488 13.4201C5.83678 13.4222 5.75746 13.3675 5.75643 13.3009C5.75643 13.2326 5.83343 13.177 5.93147 13.1754C6.029 13.1735 6.1089 13.2279 6.1089 13.2951ZM6.78527 13.2692C6.79698 13.3352 6.72918 13.403 6.63236 13.421C6.53715 13.4384 6.44901 13.3976 6.43686 13.3322C6.42502 13.2645 6.49411 13.1968 6.58913 13.1792C6.68614 13.1624 6.77292 13.2021 6.78527 13.2692Z",
|
|
@@ -8593,8 +8717,8 @@ var GithubLogoIcon = memo11((props) => /* @__PURE__ */ jsxs48(SvgIcon14, { ...pr
|
|
|
8593
8717
|
// src/components/icons/ShareIcon.tsx
|
|
8594
8718
|
import { memo as memo12 } from "react";
|
|
8595
8719
|
import { SvgIcon as SvgIcon15 } from "@mui/material";
|
|
8596
|
-
import { jsx as
|
|
8597
|
-
var ShareIcon = memo12((props) => /* @__PURE__ */
|
|
8720
|
+
import { jsx as jsx89 } from "react/jsx-runtime";
|
|
8721
|
+
var ShareIcon = memo12((props) => /* @__PURE__ */ jsx89(SvgIcon15, { ...props, viewBox: "0 0 17 16", fill: "none", children: /* @__PURE__ */ jsx89(
|
|
8598
8722
|
"path",
|
|
8599
8723
|
{
|
|
8600
8724
|
fillRule: "evenodd",
|
|
@@ -8607,9 +8731,9 @@ var ShareIcon = memo12((props) => /* @__PURE__ */ jsx87(SvgIcon15, { ...props, v
|
|
|
8607
8731
|
// src/components/icons/StorageAppIcon.tsx
|
|
8608
8732
|
import { memo as memo13 } from "react";
|
|
8609
8733
|
import { SvgIcon as SvgIcon16 } from "@mui/material";
|
|
8610
|
-
import { jsx as
|
|
8611
|
-
var StorageAppIcon = memo13((props) => /* @__PURE__ */
|
|
8612
|
-
/* @__PURE__ */
|
|
8734
|
+
import { jsx as jsx90, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
8735
|
+
var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs50(SvgIcon16, { ...props, viewBox: "0 0 38 29", fill: "none", children: [
|
|
8736
|
+
/* @__PURE__ */ jsx90(
|
|
8613
8737
|
"path",
|
|
8614
8738
|
{
|
|
8615
8739
|
d: "M6.25415 13.3371V13.2515H7.25415C7.31809 13.2515 7.38176 13.2524 7.44516 13.2543C7.66366 11.6446 8.14354 9.64623 9.19625 7.91521C10.5234 5.73296 12.756 4 16.3233 4C18.7076 4 20.4981 4.81149 21.7972 6.07693C23.0714 7.31823 23.8108 8.93436 24.2437 10.4665C24.4895 11.3363 24.6426 12.2007 24.7362 12.9909C25.8141 11.9297 27.4506 11.0385 29.8495 11.0385C31.2681 11.0385 32.4415 11.3528 33.4017 11.8416L33.4031 11.8423C35.655 12.9932 37 15.3454 37 17.8312V18.6029C37 23.4701 33.0499 27.4163 28.1808 27.4163H6.86335C3.62577 27.4163 1 24.7935 1 21.5565V19.6226C1 16.5122 3.24401 13.8341 6.25415 13.3371Z",
|
|
@@ -8618,7 +8742,7 @@ var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs49(SvgIcon16, { ...pr
|
|
|
8618
8742
|
fill: "none"
|
|
8619
8743
|
}
|
|
8620
8744
|
),
|
|
8621
|
-
/* @__PURE__ */
|
|
8745
|
+
/* @__PURE__ */ jsx90(
|
|
8622
8746
|
"path",
|
|
8623
8747
|
{
|
|
8624
8748
|
d: "M31.9946 14.8376C31.9946 14.8376 24.3322 15.4871 24.3322 0C24.3322 0 24.4134 14.8696 17 14.8696C17 14.8696 24.5 15.8438 24.5 24C24.5 24 24.5 14.8376 32 14.8376H31.9946Z",
|
|
@@ -8632,8 +8756,8 @@ var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs49(SvgIcon16, { ...pr
|
|
|
8632
8756
|
// src/components/icons/UploadFileIcon.tsx
|
|
8633
8757
|
import { memo as memo14 } from "react";
|
|
8634
8758
|
import { SvgIcon as SvgIcon17 } from "@mui/material";
|
|
8635
|
-
import { jsx as
|
|
8636
|
-
var UploadFileIcon = memo14((props) => /* @__PURE__ */
|
|
8759
|
+
import { jsx as jsx91 } from "react/jsx-runtime";
|
|
8760
|
+
var UploadFileIcon = memo14((props) => /* @__PURE__ */ jsx91(SvgIcon17, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx91(
|
|
8637
8761
|
"path",
|
|
8638
8762
|
{
|
|
8639
8763
|
fillRule: "evenodd",
|
|
@@ -8648,8 +8772,8 @@ var UploadFileIcon = memo14((props) => /* @__PURE__ */ jsx89(SvgIcon17, { ...pro
|
|
|
8648
8772
|
// src/components/icons/UploadFolderIcon.tsx
|
|
8649
8773
|
import { memo as memo15 } from "react";
|
|
8650
8774
|
import { SvgIcon as SvgIcon18 } from "@mui/material";
|
|
8651
|
-
import { jsx as
|
|
8652
|
-
var UploadFolderIcon = memo15((props) => /* @__PURE__ */
|
|
8775
|
+
import { jsx as jsx92 } from "react/jsx-runtime";
|
|
8776
|
+
var UploadFolderIcon = memo15((props) => /* @__PURE__ */ jsx92(SvgIcon18, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx92(
|
|
8653
8777
|
"path",
|
|
8654
8778
|
{
|
|
8655
8779
|
fillRule: "evenodd",
|
|
@@ -8662,14 +8786,14 @@ var UploadFolderIcon = memo15((props) => /* @__PURE__ */ jsx90(SvgIcon18, { ...p
|
|
|
8662
8786
|
) }));
|
|
8663
8787
|
|
|
8664
8788
|
// src/components/utilities/Markdown/Markdown.tsx
|
|
8665
|
-
import { Box as
|
|
8789
|
+
import { Box as Box34, styled as styled43 } from "@mui/material";
|
|
8666
8790
|
import "highlight.js/styles/github.css";
|
|
8667
8791
|
import "github-markdown-css/github-markdown-light.css";
|
|
8668
8792
|
import MD from "react-markdown";
|
|
8669
8793
|
import highlight from "rehype-highlight";
|
|
8670
8794
|
import rehypeRaw from "rehype-raw";
|
|
8671
|
-
import { jsx as
|
|
8672
|
-
var Content = styled43(
|
|
8795
|
+
import { jsx as jsx93 } from "react/jsx-runtime";
|
|
8796
|
+
var Content = styled43(Box34)(({ theme: theme2 }) => ({
|
|
8673
8797
|
backgroundColor: "transparent",
|
|
8674
8798
|
...theme2.typography.body1,
|
|
8675
8799
|
color: theme2.palette.text.primary,
|
|
@@ -8686,11 +8810,11 @@ var Content = styled43(Box32)(({ theme: theme2 }) => ({
|
|
|
8686
8810
|
backgroundColor: theme2.palette.background.paper
|
|
8687
8811
|
}
|
|
8688
8812
|
}));
|
|
8689
|
-
var Markdown = ({ content, children }) => /* @__PURE__ */
|
|
8813
|
+
var Markdown = ({ content, children }) => /* @__PURE__ */ jsx93(Content, { className: "markdown-body", children: /* @__PURE__ */ jsx93(MD, { rehypePlugins: [highlight, rehypeRaw], children: content || children }) });
|
|
8690
8814
|
|
|
8691
8815
|
// src/components/utilities/OnboardingProvider/OnboardingProvider.tsx
|
|
8692
8816
|
import { createContext, useContext, useState as useState12, useCallback as useCallback5, useEffect as useEffect6 } from "react";
|
|
8693
|
-
import { jsx as
|
|
8817
|
+
import { jsx as jsx94 } from "react/jsx-runtime";
|
|
8694
8818
|
var OnboardingContext = createContext(void 0);
|
|
8695
8819
|
var useOnboarding = () => {
|
|
8696
8820
|
const context = useContext(OnboardingContext);
|
|
@@ -8715,7 +8839,7 @@ var OnboardingProvider = ({ children }) => {
|
|
|
8715
8839
|
setIsOnboardingActive(false);
|
|
8716
8840
|
setTimeout(() => setIsOnboardingActive(true), 0);
|
|
8717
8841
|
}, []);
|
|
8718
|
-
return /* @__PURE__ */
|
|
8842
|
+
return /* @__PURE__ */ jsx94(
|
|
8719
8843
|
OnboardingContext.Provider,
|
|
8720
8844
|
{
|
|
8721
8845
|
value: {
|
|
@@ -8730,7 +8854,7 @@ var OnboardingProvider = ({ children }) => {
|
|
|
8730
8854
|
};
|
|
8731
8855
|
|
|
8732
8856
|
// src/components/utilities/Truncate/Truncate.tsx
|
|
8733
|
-
import { jsx as
|
|
8857
|
+
import { jsx as jsx95 } from "react/jsx-runtime";
|
|
8734
8858
|
var getDefaultEndingLength = ({ text, variant, maxLength = text.length }) => {
|
|
8735
8859
|
if (variant === "hex") {
|
|
8736
8860
|
return 4;
|
|
@@ -8754,30 +8878,30 @@ var Truncate = ({
|
|
|
8754
8878
|
const truncated = text.slice(0, maxLength - endingLength);
|
|
8755
8879
|
truncatedText = [truncated, ending].filter(Boolean).join("...");
|
|
8756
8880
|
}
|
|
8757
|
-
return /* @__PURE__ */
|
|
8881
|
+
return /* @__PURE__ */ jsx95("span", { ...props, "data-full": text, children: truncatedText });
|
|
8758
8882
|
};
|
|
8759
8883
|
|
|
8760
8884
|
// src/components/utilities/BytesSize/BytesSize.tsx
|
|
8761
8885
|
import size from "byte-size";
|
|
8762
|
-
import { Fragment as Fragment14, jsx as
|
|
8886
|
+
import { Fragment as Fragment14, jsx as jsx96 } from "react/jsx-runtime";
|
|
8763
8887
|
var BytesSize = ({ bytes }) => {
|
|
8764
|
-
return /* @__PURE__ */
|
|
8888
|
+
return /* @__PURE__ */ jsx96(Fragment14, { children: size(bytes).toString() });
|
|
8765
8889
|
};
|
|
8766
8890
|
|
|
8767
8891
|
// src/components/utilities/QRCode/QRCode.tsx
|
|
8768
8892
|
import { forwardRef as forwardRef3 } from "react";
|
|
8769
8893
|
import QR from "react-qr-code";
|
|
8770
|
-
import { jsx as
|
|
8771
|
-
var QRCode = forwardRef3(({ size: size3 = 168, ...props }, ref) => /* @__PURE__ */
|
|
8894
|
+
import { jsx as jsx97 } from "react/jsx-runtime";
|
|
8895
|
+
var QRCode = forwardRef3(({ size: size3 = 168, ...props }, ref) => /* @__PURE__ */ jsx97(QR, { ref, size: size3, ...props }));
|
|
8772
8896
|
QRCode.displayName = "QRCode";
|
|
8773
8897
|
|
|
8774
8898
|
// src/components/charts/ChartWidget/ChartWidget.tsx
|
|
8775
|
-
import { Box as
|
|
8899
|
+
import { Box as Box35, Stack as Stack5, Typography as Typography28, styled as styled44, useTheme as useTheme9 } from "@mui/material";
|
|
8776
8900
|
import { LineChart } from "@mui/x-charts";
|
|
8777
8901
|
import size2 from "byte-size";
|
|
8778
8902
|
import { format } from "date-fns";
|
|
8779
|
-
import { jsx as
|
|
8780
|
-
var Chart = styled44(
|
|
8903
|
+
import { jsx as jsx98, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
8904
|
+
var Chart = styled44(Box35)(() => ({
|
|
8781
8905
|
height: 200
|
|
8782
8906
|
}));
|
|
8783
8907
|
var ChartWidget = ({
|
|
@@ -8787,10 +8911,10 @@ var ChartWidget = ({
|
|
|
8787
8911
|
formatValue = (value2) => size2(value2 || 0).toString()
|
|
8788
8912
|
}) => {
|
|
8789
8913
|
const theme2 = useTheme9();
|
|
8790
|
-
return /* @__PURE__ */
|
|
8791
|
-
/* @__PURE__ */
|
|
8792
|
-
/* @__PURE__ */
|
|
8793
|
-
/* @__PURE__ */
|
|
8914
|
+
return /* @__PURE__ */ jsxs51(Stack5, { spacing: 1, children: [
|
|
8915
|
+
/* @__PURE__ */ jsx98(Typography28, { variant: "caption", color: "text.secondary", children: title }),
|
|
8916
|
+
/* @__PURE__ */ jsx98(Typography28, { fontWeight: "bold", children: value }),
|
|
8917
|
+
/* @__PURE__ */ jsx98(Chart, { children: /* @__PURE__ */ jsx98(
|
|
8794
8918
|
LineChart,
|
|
8795
8919
|
{
|
|
8796
8920
|
dataset: history || [],
|
|
@@ -8848,11 +8972,11 @@ var ChartWidget = ({
|
|
|
8848
8972
|
import { format as format2, startOfDay, subHours, subWeeks, subMonths } from "date-fns";
|
|
8849
8973
|
import { LineChart as LineChart2 } from "@mui/x-charts";
|
|
8850
8974
|
import { useDrawingArea, useYScale } from "@mui/x-charts/hooks";
|
|
8851
|
-
import { Box as
|
|
8975
|
+
import { Box as Box36, Card as Card2, CardHeader as CardHeader2, CardMedia as CardMedia2, Divider as Divider10, Stack as Stack6, styled as styled45, Typography as Typography29, useTheme as useTheme10 } from "@mui/material";
|
|
8852
8976
|
|
|
8853
8977
|
// src/components/charts/MetricsChart/PeriodSelect.tsx
|
|
8854
8978
|
import { MenuItem as MenuItem3, TextField as TextField4 } from "@mui/material";
|
|
8855
|
-
import { jsx as
|
|
8979
|
+
import { jsx as jsx99 } from "react/jsx-runtime";
|
|
8856
8980
|
var options = [
|
|
8857
8981
|
/**
|
|
8858
8982
|
* TODO: Enable the options below when the backend supports them
|
|
@@ -8862,7 +8986,7 @@ var options = [
|
|
|
8862
8986
|
{ value: "week", label: "1 week" },
|
|
8863
8987
|
{ value: "month", label: "1 month" }
|
|
8864
8988
|
];
|
|
8865
|
-
var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */
|
|
8989
|
+
var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ jsx99(
|
|
8866
8990
|
TextField4,
|
|
8867
8991
|
{
|
|
8868
8992
|
select: true,
|
|
@@ -8870,13 +8994,13 @@ var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ jsx97(
|
|
|
8870
8994
|
value,
|
|
8871
8995
|
defaultValue: options[0].value,
|
|
8872
8996
|
onChange: (e) => onChange?.(e.target.value),
|
|
8873
|
-
children: options.map(({ value: value2, label }) => /* @__PURE__ */
|
|
8997
|
+
children: options.map(({ value: value2, label }) => /* @__PURE__ */ jsx99(MenuItem3, { value: value2, children: label }, value2))
|
|
8874
8998
|
}
|
|
8875
8999
|
);
|
|
8876
9000
|
|
|
8877
9001
|
// src/components/charts/MetricsChart/MetricsChart.tsx
|
|
8878
9002
|
import { useMemo, useState as useState13 } from "react";
|
|
8879
|
-
import { jsx as
|
|
9003
|
+
import { jsx as jsx100, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
8880
9004
|
var mapPeriodToFromDate = (period = "month") => {
|
|
8881
9005
|
const date = /* @__PURE__ */ new Date();
|
|
8882
9006
|
if (period === "hour") {
|
|
@@ -8936,15 +9060,15 @@ var MetricsChart = ({ history = [] }) => {
|
|
|
8936
9060
|
const backgroundHeight = textHeight + padding.top + padding.bottom;
|
|
8937
9061
|
const rectX = left + (width - backgroundWidth) / 2;
|
|
8938
9062
|
const rectY = top + (height - backgroundHeight) / 2;
|
|
8939
|
-
return /* @__PURE__ */
|
|
8940
|
-
/* @__PURE__ */
|
|
8941
|
-
/* @__PURE__ */
|
|
9063
|
+
return /* @__PURE__ */ jsxs52("g", { children: [
|
|
9064
|
+
/* @__PURE__ */ jsx100(NoDataRect, { x: rectX, y: rectY, width: backgroundWidth, height: backgroundHeight }),
|
|
9065
|
+
/* @__PURE__ */ jsx100(LoadingText, { style: { ...theme2.typography.subtitle1 }, x: left + width / 2, y: top + height / 2, children: text })
|
|
8942
9066
|
] });
|
|
8943
9067
|
};
|
|
8944
|
-
return /* @__PURE__ */
|
|
8945
|
-
/* @__PURE__ */
|
|
8946
|
-
/* @__PURE__ */
|
|
8947
|
-
/* @__PURE__ */
|
|
9068
|
+
return /* @__PURE__ */ jsxs52(Card2, { children: [
|
|
9069
|
+
/* @__PURE__ */ jsx100(CardHeader2, { title: "GET / PUT Requests", action: /* @__PURE__ */ jsx100(PeriodSelect, { value: period, onChange: setPeriod }) }),
|
|
9070
|
+
/* @__PURE__ */ jsxs52(CardMedia2, { children: [
|
|
9071
|
+
/* @__PURE__ */ jsx100(
|
|
8948
9072
|
Chart2,
|
|
8949
9073
|
{
|
|
8950
9074
|
skipAnimation: true,
|
|
@@ -9005,35 +9129,35 @@ var MetricsChart = ({ history = [] }) => {
|
|
|
9005
9129
|
]
|
|
9006
9130
|
}
|
|
9007
9131
|
),
|
|
9008
|
-
periodHistory.length > 0 && /* @__PURE__ */
|
|
9009
|
-
/* @__PURE__ */
|
|
9010
|
-
/* @__PURE__ */
|
|
9011
|
-
/* @__PURE__ */
|
|
9132
|
+
periodHistory.length > 0 && /* @__PURE__ */ jsxs52(Stack6, { direction: "row", spacing: 2, marginY: 3, justifyContent: "center", children: [
|
|
9133
|
+
/* @__PURE__ */ jsxs52(Stack6, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
9134
|
+
/* @__PURE__ */ jsx100(Box36, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.primary.main } }),
|
|
9135
|
+
/* @__PURE__ */ jsx100(Typography29, { variant: "body2", children: "Get" })
|
|
9012
9136
|
] }),
|
|
9013
|
-
/* @__PURE__ */
|
|
9014
|
-
/* @__PURE__ */
|
|
9015
|
-
/* @__PURE__ */
|
|
9137
|
+
/* @__PURE__ */ jsxs52(Stack6, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
9138
|
+
/* @__PURE__ */ jsx100(Box36, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.success.main } }),
|
|
9139
|
+
/* @__PURE__ */ jsx100(Typography29, { variant: "body2", children: "Put" })
|
|
9016
9140
|
] })
|
|
9017
9141
|
] })
|
|
9018
9142
|
] }),
|
|
9019
|
-
/* @__PURE__ */
|
|
9020
|
-
/* @__PURE__ */
|
|
9021
|
-
/* @__PURE__ */
|
|
9022
|
-
/* @__PURE__ */
|
|
9023
|
-
/* @__PURE__ */
|
|
9024
|
-
/* @__PURE__ */
|
|
9143
|
+
/* @__PURE__ */ jsxs52(CardMedia2, { children: [
|
|
9144
|
+
/* @__PURE__ */ jsx100(Divider10, { flexItem: true }),
|
|
9145
|
+
/* @__PURE__ */ jsxs52(Stack6, { direction: "row", spacing: 2, padding: 2, children: [
|
|
9146
|
+
/* @__PURE__ */ jsxs52(Stack6, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
9147
|
+
/* @__PURE__ */ jsx100(Typography29, { variant: "body2", color: "secondary", children: "GET Requests per account" }),
|
|
9148
|
+
/* @__PURE__ */ jsx100(Typography29, { variant: "h3", children: total.gets })
|
|
9025
9149
|
] }),
|
|
9026
|
-
/* @__PURE__ */
|
|
9027
|
-
/* @__PURE__ */
|
|
9028
|
-
/* @__PURE__ */
|
|
9150
|
+
/* @__PURE__ */ jsxs52(Stack6, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
9151
|
+
/* @__PURE__ */ jsx100(Typography29, { variant: "body2", color: "secondary", children: "PUT Requests per account" }),
|
|
9152
|
+
/* @__PURE__ */ jsx100(Typography29, { variant: "h3", children: total.puts })
|
|
9029
9153
|
] }),
|
|
9030
|
-
/* @__PURE__ */
|
|
9031
|
-
/* @__PURE__ */
|
|
9032
|
-
/* @__PURE__ */
|
|
9154
|
+
/* @__PURE__ */ jsxs52(Stack6, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
9155
|
+
/* @__PURE__ */ jsx100(Typography29, { variant: "body2", color: "secondary", children: "Total Consumed per account" }),
|
|
9156
|
+
/* @__PURE__ */ jsx100(Typography29, { variant: "h3", children: /* @__PURE__ */ jsx100(BytesSize, { bytes: total.transferredBytes }) })
|
|
9033
9157
|
] }),
|
|
9034
|
-
/* @__PURE__ */
|
|
9035
|
-
/* @__PURE__ */
|
|
9036
|
-
/* @__PURE__ */
|
|
9158
|
+
/* @__PURE__ */ jsxs52(Stack6, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
9159
|
+
/* @__PURE__ */ jsx100(Typography29, { variant: "body2", color: "secondary", children: "Total Stored per account" }),
|
|
9160
|
+
/* @__PURE__ */ jsx100(Typography29, { variant: "h3", children: /* @__PURE__ */ jsx100(BytesSize, { bytes: total.storedBytes }) })
|
|
9037
9161
|
] })
|
|
9038
9162
|
] })
|
|
9039
9163
|
] })
|
|
@@ -9043,14 +9167,14 @@ var MetricsChart = ({ history = [] }) => {
|
|
|
9043
9167
|
// src/components/charts/TimeSeriesGraph/TimeSeriesGraph.tsx
|
|
9044
9168
|
import { useCallback as useCallback6, useMemo as useMemo2, useState as useState14 } from "react";
|
|
9045
9169
|
import {
|
|
9046
|
-
Box as
|
|
9170
|
+
Box as Box37,
|
|
9047
9171
|
Card as Card3,
|
|
9048
9172
|
CardHeader as CardHeader3,
|
|
9049
9173
|
CardMedia as CardMedia3,
|
|
9050
9174
|
CircularProgress as CircularProgress7,
|
|
9051
9175
|
Divider as Divider11,
|
|
9052
9176
|
Stack as Stack8,
|
|
9053
|
-
Typography as
|
|
9177
|
+
Typography as Typography31,
|
|
9054
9178
|
styled as styled46,
|
|
9055
9179
|
useTheme as useTheme11
|
|
9056
9180
|
} from "@mui/material";
|
|
@@ -9059,8 +9183,8 @@ import { format as format3 } from "date-fns";
|
|
|
9059
9183
|
|
|
9060
9184
|
// src/components/charts/TimeSeriesGraph/TimeRangeSelect.tsx
|
|
9061
9185
|
import { MenuItem as MenuItem4, TextField as TextField5 } from "@mui/material";
|
|
9062
|
-
import { jsx as
|
|
9063
|
-
var TimeRangeSelect = ({ options: options2, value, onChange }) => /* @__PURE__ */
|
|
9186
|
+
import { jsx as jsx101 } from "react/jsx-runtime";
|
|
9187
|
+
var TimeRangeSelect = ({ options: options2, value, onChange }) => /* @__PURE__ */ jsx101(
|
|
9064
9188
|
TextField5,
|
|
9065
9189
|
{
|
|
9066
9190
|
select: true,
|
|
@@ -9069,13 +9193,13 @@ var TimeRangeSelect = ({ options: options2, value, onChange }) => /* @__PURE__ *
|
|
|
9069
9193
|
onChange: (e) => onChange?.(e.target.value),
|
|
9070
9194
|
"aria-label": "Time range selector",
|
|
9071
9195
|
sx: { minWidth: 120 },
|
|
9072
|
-
children: options2.map((option) => /* @__PURE__ */
|
|
9196
|
+
children: options2.map((option) => /* @__PURE__ */ jsx101(MenuItem4, { value: option.value, children: option.label }, option.value))
|
|
9073
9197
|
}
|
|
9074
9198
|
);
|
|
9075
9199
|
|
|
9076
9200
|
// src/components/charts/TimeSeriesGraph/SummaryStats.tsx
|
|
9077
|
-
import { Stack as Stack7, Typography as
|
|
9078
|
-
import { jsx as
|
|
9201
|
+
import { Stack as Stack7, Typography as Typography30 } from "@mui/material";
|
|
9202
|
+
import { jsx as jsx102, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
9079
9203
|
var formatSummaryValue = (value, unit) => {
|
|
9080
9204
|
const displayValue = typeof value === "number" ? value.toLocaleString() : value;
|
|
9081
9205
|
return unit ? `${displayValue} ${unit}` : displayValue;
|
|
@@ -9084,7 +9208,7 @@ var SummaryStats = ({ items }) => {
|
|
|
9084
9208
|
if (items.length === 0) {
|
|
9085
9209
|
return null;
|
|
9086
9210
|
}
|
|
9087
|
-
return /* @__PURE__ */
|
|
9211
|
+
return /* @__PURE__ */ jsx102(
|
|
9088
9212
|
Stack7,
|
|
9089
9213
|
{
|
|
9090
9214
|
direction: "row",
|
|
@@ -9094,7 +9218,7 @@ var SummaryStats = ({ items }) => {
|
|
|
9094
9218
|
useFlexGap: true,
|
|
9095
9219
|
role: "list",
|
|
9096
9220
|
"aria-label": "Summary statistics",
|
|
9097
|
-
children: items.map((item) => /* @__PURE__ */
|
|
9221
|
+
children: items.map((item) => /* @__PURE__ */ jsxs53(
|
|
9098
9222
|
Stack7,
|
|
9099
9223
|
{
|
|
9100
9224
|
direction: "row",
|
|
@@ -9102,8 +9226,8 @@ var SummaryStats = ({ items }) => {
|
|
|
9102
9226
|
spacing: 1,
|
|
9103
9227
|
role: "listitem",
|
|
9104
9228
|
children: [
|
|
9105
|
-
/* @__PURE__ */
|
|
9106
|
-
/* @__PURE__ */
|
|
9229
|
+
/* @__PURE__ */ jsx102(Typography30, { variant: "body2", color: "text.secondary", children: item.label }),
|
|
9230
|
+
/* @__PURE__ */ jsx102(Typography30, { variant: "h5", fontWeight: 600, children: formatSummaryValue(item.value, item.unit) })
|
|
9107
9231
|
]
|
|
9108
9232
|
},
|
|
9109
9233
|
item.label
|
|
@@ -9113,12 +9237,12 @@ var SummaryStats = ({ items }) => {
|
|
|
9113
9237
|
};
|
|
9114
9238
|
|
|
9115
9239
|
// src/components/charts/TimeSeriesGraph/TimeSeriesGraph.tsx
|
|
9116
|
-
import { Fragment as Fragment15, jsx as
|
|
9117
|
-
var ChartContainer = styled46(
|
|
9240
|
+
import { Fragment as Fragment15, jsx as jsx103, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
9241
|
+
var ChartContainer = styled46(Box37)({
|
|
9118
9242
|
position: "relative",
|
|
9119
9243
|
height: 320
|
|
9120
9244
|
});
|
|
9121
|
-
var LoadingOverlay = styled46(
|
|
9245
|
+
var LoadingOverlay = styled46(Box37)(({ theme: theme2 }) => ({
|
|
9122
9246
|
position: "absolute",
|
|
9123
9247
|
inset: 0,
|
|
9124
9248
|
display: "flex",
|
|
@@ -9128,7 +9252,7 @@ var LoadingOverlay = styled46(Box35)(({ theme: theme2 }) => ({
|
|
|
9128
9252
|
zIndex: 1,
|
|
9129
9253
|
borderRadius: theme2.shape.borderRadius
|
|
9130
9254
|
}));
|
|
9131
|
-
var LegendDot = styled46(
|
|
9255
|
+
var LegendDot = styled46(Box37, {
|
|
9132
9256
|
shouldForwardProp: (prop) => prop !== "dotColor"
|
|
9133
9257
|
})(({ dotColor }) => ({
|
|
9134
9258
|
width: 14,
|
|
@@ -9217,9 +9341,9 @@ var TimeSeriesGraph = ({
|
|
|
9217
9341
|
);
|
|
9218
9342
|
const hasData = dataset.length > 0;
|
|
9219
9343
|
const shouldShowSummary = showSummary && summaryItems && summaryItems.length > 0;
|
|
9220
|
-
const headerActionElement = /* @__PURE__ */
|
|
9344
|
+
const headerActionElement = /* @__PURE__ */ jsxs54(Stack8, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
9221
9345
|
headerAction,
|
|
9222
|
-
timeRangeOptions && timeRangeOptions.length > 0 && /* @__PURE__ */
|
|
9346
|
+
timeRangeOptions && timeRangeOptions.length > 0 && /* @__PURE__ */ jsx103(
|
|
9223
9347
|
TimeRangeSelect,
|
|
9224
9348
|
{
|
|
9225
9349
|
options: timeRangeOptions,
|
|
@@ -9229,13 +9353,13 @@ var TimeSeriesGraph = ({
|
|
|
9229
9353
|
)
|
|
9230
9354
|
] });
|
|
9231
9355
|
const showHeader = !!title || !!headerAction || timeRangeOptions && timeRangeOptions.length > 0;
|
|
9232
|
-
return /* @__PURE__ */
|
|
9356
|
+
return /* @__PURE__ */ jsxs54(
|
|
9233
9357
|
Card3,
|
|
9234
9358
|
{
|
|
9235
9359
|
"aria-label": title ? `Line chart showing ${title}` : "Line chart",
|
|
9236
9360
|
role: "figure",
|
|
9237
9361
|
children: [
|
|
9238
|
-
showHeader && /* @__PURE__ */
|
|
9362
|
+
showHeader && /* @__PURE__ */ jsx103(
|
|
9239
9363
|
CardHeader3,
|
|
9240
9364
|
{
|
|
9241
9365
|
title,
|
|
@@ -9246,10 +9370,10 @@ var TimeSeriesGraph = ({
|
|
|
9246
9370
|
action: headerActionElement
|
|
9247
9371
|
}
|
|
9248
9372
|
),
|
|
9249
|
-
/* @__PURE__ */
|
|
9250
|
-
/* @__PURE__ */
|
|
9251
|
-
loading && /* @__PURE__ */
|
|
9252
|
-
/* @__PURE__ */
|
|
9373
|
+
/* @__PURE__ */ jsxs54(CardMedia3, { children: [
|
|
9374
|
+
/* @__PURE__ */ jsxs54(ChartContainer, { children: [
|
|
9375
|
+
loading && /* @__PURE__ */ jsx103(LoadingOverlay, { role: "status", "aria-label": "Loading chart data", children: /* @__PURE__ */ jsx103(CircularProgress7, { size: 40 }) }),
|
|
9376
|
+
/* @__PURE__ */ jsx103(
|
|
9253
9377
|
LineChart3,
|
|
9254
9378
|
{
|
|
9255
9379
|
dataset,
|
|
@@ -9301,7 +9425,7 @@ var TimeSeriesGraph = ({
|
|
|
9301
9425
|
}
|
|
9302
9426
|
)
|
|
9303
9427
|
] }),
|
|
9304
|
-
series.length > 0 && /* @__PURE__ */
|
|
9428
|
+
series.length > 0 && /* @__PURE__ */ jsx103(
|
|
9305
9429
|
Stack8,
|
|
9306
9430
|
{
|
|
9307
9431
|
direction: "row",
|
|
@@ -9314,7 +9438,7 @@ var TimeSeriesGraph = ({
|
|
|
9314
9438
|
"aria-label": "Chart legend",
|
|
9315
9439
|
children: series.map((s) => {
|
|
9316
9440
|
const isHidden = hiddenSeries.has(s.name);
|
|
9317
|
-
return /* @__PURE__ */
|
|
9441
|
+
return /* @__PURE__ */ jsxs54(
|
|
9318
9442
|
Stack8,
|
|
9319
9443
|
{
|
|
9320
9444
|
direction: "row",
|
|
@@ -9331,8 +9455,8 @@ var TimeSeriesGraph = ({
|
|
|
9331
9455
|
"aria-pressed": !isHidden,
|
|
9332
9456
|
"aria-label": `Toggle ${s.name} visibility`,
|
|
9333
9457
|
children: [
|
|
9334
|
-
/* @__PURE__ */
|
|
9335
|
-
/* @__PURE__ */
|
|
9458
|
+
/* @__PURE__ */ jsx103(LegendDot, { dotColor: s.color }),
|
|
9459
|
+
/* @__PURE__ */ jsx103(Typography31, { variant: "body2", children: s.name })
|
|
9336
9460
|
]
|
|
9337
9461
|
},
|
|
9338
9462
|
s.name
|
|
@@ -9341,9 +9465,9 @@ var TimeSeriesGraph = ({
|
|
|
9341
9465
|
}
|
|
9342
9466
|
)
|
|
9343
9467
|
] }),
|
|
9344
|
-
shouldShowSummary && /* @__PURE__ */
|
|
9345
|
-
/* @__PURE__ */
|
|
9346
|
-
/* @__PURE__ */
|
|
9468
|
+
shouldShowSummary && /* @__PURE__ */ jsxs54(Fragment15, { children: [
|
|
9469
|
+
/* @__PURE__ */ jsx103(Divider11, {}),
|
|
9470
|
+
/* @__PURE__ */ jsx103(SummaryStats, { items: summaryItems })
|
|
9347
9471
|
] })
|
|
9348
9472
|
]
|
|
9349
9473
|
}
|
|
@@ -9360,10 +9484,10 @@ import ReactFlow, {
|
|
|
9360
9484
|
BackgroundVariant,
|
|
9361
9485
|
ConnectionLineType
|
|
9362
9486
|
} from "reactflow";
|
|
9363
|
-
import { Box as
|
|
9487
|
+
import { Box as Box38 } from "@mui/material";
|
|
9364
9488
|
import { useTheme as useTheme12 } from "@mui/material/styles";
|
|
9365
9489
|
import { Background as Background2, Controls as Controls2, MiniMap as MiniMap2, Panel, BackgroundVariant as BackgroundVariant2, ConnectionLineType as ConnectionLineType2 } from "reactflow";
|
|
9366
|
-
import { jsx as
|
|
9490
|
+
import { jsx as jsx104, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
9367
9491
|
var FlowEditor = ({
|
|
9368
9492
|
nodes,
|
|
9369
9493
|
edges,
|
|
@@ -9394,8 +9518,8 @@ var FlowEditor = ({
|
|
|
9394
9518
|
[onInit]
|
|
9395
9519
|
);
|
|
9396
9520
|
const { sx: containerSx, ...restContainerProps } = containerProps ?? {};
|
|
9397
|
-
return /* @__PURE__ */
|
|
9398
|
-
|
|
9521
|
+
return /* @__PURE__ */ jsx104(ReactFlowProvider, { children: /* @__PURE__ */ jsx104(
|
|
9522
|
+
Box38,
|
|
9399
9523
|
{
|
|
9400
9524
|
sx: [
|
|
9401
9525
|
{
|
|
@@ -9409,7 +9533,7 @@ var FlowEditor = ({
|
|
|
9409
9533
|
...Array.isArray(containerSx) ? containerSx : [containerSx]
|
|
9410
9534
|
],
|
|
9411
9535
|
...restContainerProps,
|
|
9412
|
-
children: /* @__PURE__ */
|
|
9536
|
+
children: /* @__PURE__ */ jsxs55(
|
|
9413
9537
|
ReactFlow,
|
|
9414
9538
|
{
|
|
9415
9539
|
nodes,
|
|
@@ -9432,7 +9556,7 @@ var FlowEditor = ({
|
|
|
9432
9556
|
},
|
|
9433
9557
|
...reactFlowProps,
|
|
9434
9558
|
children: [
|
|
9435
|
-
showBackground && /* @__PURE__ */
|
|
9559
|
+
showBackground && /* @__PURE__ */ jsx104(
|
|
9436
9560
|
Background,
|
|
9437
9561
|
{
|
|
9438
9562
|
variant: backgroundVariant,
|
|
@@ -9441,8 +9565,8 @@ var FlowEditor = ({
|
|
|
9441
9565
|
color: theme2.palette.divider
|
|
9442
9566
|
}
|
|
9443
9567
|
),
|
|
9444
|
-
showControls && /* @__PURE__ */
|
|
9445
|
-
showMinimap && /* @__PURE__ */
|
|
9568
|
+
showControls && /* @__PURE__ */ jsx104(Controls, {}),
|
|
9569
|
+
showMinimap && /* @__PURE__ */ jsx104(
|
|
9446
9570
|
MiniMap,
|
|
9447
9571
|
{
|
|
9448
9572
|
nodeColor: (node) => {
|
|
@@ -9468,13 +9592,13 @@ var FlowEditor = ({
|
|
|
9468
9592
|
// src/components/third-party/CodeEditor.tsx
|
|
9469
9593
|
import { useCallback as useCallback8, useEffect as useEffect7, useState as useState15, useRef as useRef4 } from "react";
|
|
9470
9594
|
import Editor from "@monaco-editor/react";
|
|
9471
|
-
import { Box as
|
|
9595
|
+
import { Box as Box39, IconButton as IconButton17, Tooltip as Tooltip8 } from "@mui/material";
|
|
9472
9596
|
import FullscreenIcon from "@mui/icons-material/Fullscreen";
|
|
9473
9597
|
import FullscreenExitIcon from "@mui/icons-material/FullscreenExit";
|
|
9474
9598
|
import ErrorOutlineIcon from "@mui/icons-material/ErrorOutline";
|
|
9475
9599
|
import ExpandMoreIcon3 from "@mui/icons-material/ExpandMore";
|
|
9476
9600
|
import ExpandLessIcon from "@mui/icons-material/ExpandLess";
|
|
9477
|
-
import { jsx as
|
|
9601
|
+
import { jsx as jsx105, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
9478
9602
|
var configureTypeScript = (monaco) => {
|
|
9479
9603
|
monaco.languages.typescript.typescriptDefaults.setCompilerOptions({
|
|
9480
9604
|
target: monaco.languages.typescript.ScriptTarget.ES2020,
|
|
@@ -9692,8 +9816,8 @@ var CodeEditor = ({
|
|
|
9692
9816
|
theme: themeProp || "vs",
|
|
9693
9817
|
...options2
|
|
9694
9818
|
};
|
|
9695
|
-
return /* @__PURE__ */
|
|
9696
|
-
|
|
9819
|
+
return /* @__PURE__ */ jsx105(
|
|
9820
|
+
Box39,
|
|
9697
9821
|
{
|
|
9698
9822
|
sx: {
|
|
9699
9823
|
display: "flex",
|
|
@@ -9713,8 +9837,8 @@ var CodeEditor = ({
|
|
|
9713
9837
|
pb: isFullscreen ? 2 : 0,
|
|
9714
9838
|
overflow: isFullscreen ? "hidden" : "visible"
|
|
9715
9839
|
},
|
|
9716
|
-
children: /* @__PURE__ */
|
|
9717
|
-
|
|
9840
|
+
children: /* @__PURE__ */ jsxs56(
|
|
9841
|
+
Box39,
|
|
9718
9842
|
{
|
|
9719
9843
|
sx: {
|
|
9720
9844
|
flex: 1,
|
|
@@ -9729,7 +9853,7 @@ var CodeEditor = ({
|
|
|
9729
9853
|
},
|
|
9730
9854
|
...containerProps,
|
|
9731
9855
|
children: [
|
|
9732
|
-
/* @__PURE__ */
|
|
9856
|
+
/* @__PURE__ */ jsx105(Tooltip8, { title: isFullscreen ? "Exit Fullscreen" : "Fullscreen", children: /* @__PURE__ */ jsx105(
|
|
9733
9857
|
IconButton17,
|
|
9734
9858
|
{
|
|
9735
9859
|
onClick: toggleFullscreen,
|
|
@@ -9747,11 +9871,11 @@ var CodeEditor = ({
|
|
|
9747
9871
|
},
|
|
9748
9872
|
boxShadow: 1
|
|
9749
9873
|
},
|
|
9750
|
-
children: isFullscreen ? /* @__PURE__ */
|
|
9874
|
+
children: isFullscreen ? /* @__PURE__ */ jsx105(FullscreenExitIcon, { fontSize: "small" }) : /* @__PURE__ */ jsx105(FullscreenIcon, { fontSize: "small" })
|
|
9751
9875
|
}
|
|
9752
9876
|
) }),
|
|
9753
|
-
/* @__PURE__ */
|
|
9754
|
-
|
|
9877
|
+
/* @__PURE__ */ jsx105(
|
|
9878
|
+
Box39,
|
|
9755
9879
|
{
|
|
9756
9880
|
sx: {
|
|
9757
9881
|
flex: 1,
|
|
@@ -9762,7 +9886,7 @@ var CodeEditor = ({
|
|
|
9762
9886
|
position: "relative",
|
|
9763
9887
|
height: isFullscreen ? "100%" : actualHeight
|
|
9764
9888
|
},
|
|
9765
|
-
children: /* @__PURE__ */
|
|
9889
|
+
children: /* @__PURE__ */ jsx105(
|
|
9766
9890
|
Editor,
|
|
9767
9891
|
{
|
|
9768
9892
|
height: "100%",
|
|
@@ -9773,7 +9897,7 @@ var CodeEditor = ({
|
|
|
9773
9897
|
onMount: handleEditorDidMount,
|
|
9774
9898
|
theme: themeProp || "vs",
|
|
9775
9899
|
options: defaultOptions,
|
|
9776
|
-
loading: /* @__PURE__ */
|
|
9900
|
+
loading: /* @__PURE__ */ jsx105(Box39, { sx: { p: 2, textAlign: "center" }, children: "Loading Monaco Editor..." }),
|
|
9777
9901
|
beforeMount: (monaco) => {
|
|
9778
9902
|
console.log("CodeEditor: beforeMount called", { monaco: !!monaco });
|
|
9779
9903
|
}
|
|
@@ -9781,8 +9905,8 @@ var CodeEditor = ({
|
|
|
9781
9905
|
)
|
|
9782
9906
|
}
|
|
9783
9907
|
),
|
|
9784
|
-
validationErrors.length > 0 && /* @__PURE__ */
|
|
9785
|
-
|
|
9908
|
+
validationErrors.length > 0 && /* @__PURE__ */ jsxs56(
|
|
9909
|
+
Box39,
|
|
9786
9910
|
{
|
|
9787
9911
|
sx: {
|
|
9788
9912
|
borderTop: 1,
|
|
@@ -9795,8 +9919,8 @@ var CodeEditor = ({
|
|
|
9795
9919
|
transition: "max-height 0.2s ease"
|
|
9796
9920
|
},
|
|
9797
9921
|
children: [
|
|
9798
|
-
/* @__PURE__ */
|
|
9799
|
-
|
|
9922
|
+
/* @__PURE__ */ jsxs56(
|
|
9923
|
+
Box39,
|
|
9800
9924
|
{
|
|
9801
9925
|
sx: {
|
|
9802
9926
|
display: "flex",
|
|
@@ -9810,15 +9934,15 @@ var CodeEditor = ({
|
|
|
9810
9934
|
color: "text.secondary"
|
|
9811
9935
|
},
|
|
9812
9936
|
children: [
|
|
9813
|
-
/* @__PURE__ */
|
|
9814
|
-
/* @__PURE__ */
|
|
9815
|
-
/* @__PURE__ */
|
|
9937
|
+
/* @__PURE__ */ jsx105(ErrorOutlineIcon, { color: "error", fontSize: "small" }),
|
|
9938
|
+
/* @__PURE__ */ jsx105(Box39, { sx: { fontWeight: 600, color: "text.primary" }, children: "Problems" }),
|
|
9939
|
+
/* @__PURE__ */ jsxs56(Box39, { sx: { ml: 1 }, children: [
|
|
9816
9940
|
validationErrors.length,
|
|
9817
9941
|
" error",
|
|
9818
9942
|
validationErrors.length > 1 ? "s" : ""
|
|
9819
9943
|
] }),
|
|
9820
|
-
/* @__PURE__ */
|
|
9821
|
-
/* @__PURE__ */
|
|
9944
|
+
/* @__PURE__ */ jsx105(Box39, { sx: { flex: 1 } }),
|
|
9945
|
+
/* @__PURE__ */ jsx105(
|
|
9822
9946
|
IconButton17,
|
|
9823
9947
|
{
|
|
9824
9948
|
size: "small",
|
|
@@ -9827,14 +9951,14 @@ var CodeEditor = ({
|
|
|
9827
9951
|
setHasUserToggledProblems(true);
|
|
9828
9952
|
setShowProblems((s) => !s);
|
|
9829
9953
|
},
|
|
9830
|
-
children: showProblems ? /* @__PURE__ */
|
|
9954
|
+
children: showProblems ? /* @__PURE__ */ jsx105(ExpandMoreIcon3, { fontSize: "small" }) : /* @__PURE__ */ jsx105(ExpandLessIcon, { fontSize: "small" })
|
|
9831
9955
|
}
|
|
9832
9956
|
)
|
|
9833
9957
|
]
|
|
9834
9958
|
}
|
|
9835
9959
|
),
|
|
9836
|
-
showProblems && /* @__PURE__ */
|
|
9837
|
-
|
|
9960
|
+
showProblems && /* @__PURE__ */ jsx105(Box39, { sx: { overflow: "auto" }, children: validationErrors.map((error, index) => /* @__PURE__ */ jsxs56(
|
|
9961
|
+
Box39,
|
|
9838
9962
|
{
|
|
9839
9963
|
onClick: () => gotoMarker(error),
|
|
9840
9964
|
sx: {
|
|
@@ -9850,12 +9974,12 @@ var CodeEditor = ({
|
|
|
9850
9974
|
fontSize: "0.85rem"
|
|
9851
9975
|
},
|
|
9852
9976
|
children: [
|
|
9853
|
-
/* @__PURE__ */
|
|
9854
|
-
/* @__PURE__ */
|
|
9977
|
+
/* @__PURE__ */ jsx105(ErrorOutlineIcon, { color: "error", sx: { fontSize: 18 } }),
|
|
9978
|
+
/* @__PURE__ */ jsxs56(Box39, { sx: { color: "text.secondary", width: 64 }, children: [
|
|
9855
9979
|
"Line ",
|
|
9856
9980
|
error.startLineNumber
|
|
9857
9981
|
] }),
|
|
9858
|
-
/* @__PURE__ */
|
|
9982
|
+
/* @__PURE__ */ jsx105(Box39, { sx: { color: "text.primary", flex: 1, minWidth: 0 }, children: error.message })
|
|
9859
9983
|
]
|
|
9860
9984
|
},
|
|
9861
9985
|
`${error.startLineNumber}-${error.startColumn}-${index}`
|
|
@@ -9876,7 +10000,7 @@ import { Panel as Panel2 } from "reactflow";
|
|
|
9876
10000
|
// src/components/third-party/WorkflowNodeHandle.tsx
|
|
9877
10001
|
import { Handle, Position } from "reactflow";
|
|
9878
10002
|
import { useTheme as useTheme13 } from "@mui/material";
|
|
9879
|
-
import { Fragment as Fragment16, jsx as
|
|
10003
|
+
import { Fragment as Fragment16, jsx as jsx106, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
9880
10004
|
var WorkflowNodeHandle = ({
|
|
9881
10005
|
data,
|
|
9882
10006
|
selected
|
|
@@ -9891,9 +10015,9 @@ var WorkflowNodeHandle = ({
|
|
|
9891
10015
|
background: handleColor,
|
|
9892
10016
|
boxShadow: WORKFLOW_NODE_SHADOW
|
|
9893
10017
|
};
|
|
9894
|
-
return /* @__PURE__ */
|
|
9895
|
-
/* @__PURE__ */
|
|
9896
|
-
/* @__PURE__ */
|
|
10018
|
+
return /* @__PURE__ */ jsxs57(Fragment16, { children: [
|
|
10019
|
+
/* @__PURE__ */ jsx106(Handle, { type: "target", position: Position.Left, style: handleStyle }),
|
|
10020
|
+
/* @__PURE__ */ jsx106(
|
|
9897
10021
|
WorkflowNode,
|
|
9898
10022
|
{
|
|
9899
10023
|
nodeType: data.nodeType,
|
|
@@ -9905,7 +10029,7 @@ var WorkflowNodeHandle = ({
|
|
|
9905
10029
|
showSideDots: false
|
|
9906
10030
|
}
|
|
9907
10031
|
),
|
|
9908
|
-
/* @__PURE__ */
|
|
10032
|
+
/* @__PURE__ */ jsx106(Handle, { type: "source", position: Position.Right, style: handleStyle })
|
|
9909
10033
|
] });
|
|
9910
10034
|
};
|
|
9911
10035
|
|
|
@@ -10188,9 +10312,9 @@ function useCodeEditorWorkspace({
|
|
|
10188
10312
|
|
|
10189
10313
|
// src/components/third-party/CodeEditorWorkspace/CodeEditorTabs.tsx
|
|
10190
10314
|
import React17 from "react";
|
|
10191
|
-
import { Box as
|
|
10315
|
+
import { Box as Box40, IconButton as IconButton18, Tooltip as Tooltip9, Typography as Typography32 } from "@mui/material";
|
|
10192
10316
|
import CloseIcon6 from "@mui/icons-material/Close";
|
|
10193
|
-
import { jsx as
|
|
10317
|
+
import { jsx as jsx107, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
10194
10318
|
var CodeEditorTabs = ({
|
|
10195
10319
|
tabs,
|
|
10196
10320
|
activeTab,
|
|
@@ -10200,8 +10324,8 @@ var CodeEditorTabs = ({
|
|
|
10200
10324
|
containerProps
|
|
10201
10325
|
}) => {
|
|
10202
10326
|
if (tabs.length === 0) return null;
|
|
10203
|
-
return /* @__PURE__ */
|
|
10204
|
-
|
|
10327
|
+
return /* @__PURE__ */ jsx107(
|
|
10328
|
+
Box40,
|
|
10205
10329
|
{
|
|
10206
10330
|
sx: {
|
|
10207
10331
|
display: "flex",
|
|
@@ -10219,15 +10343,15 @@ var CodeEditorTabs = ({
|
|
|
10219
10343
|
const isActive = tab.path === activeTab;
|
|
10220
10344
|
const label = tab.label ?? getFileName(tab.path);
|
|
10221
10345
|
if (renderTab) {
|
|
10222
|
-
return /* @__PURE__ */
|
|
10346
|
+
return /* @__PURE__ */ jsx107(React17.Fragment, { children: renderTab({
|
|
10223
10347
|
tab,
|
|
10224
10348
|
isActive,
|
|
10225
10349
|
onSelect: () => onTabSelect?.(tab.path),
|
|
10226
10350
|
onClose: () => onTabClose?.(tab.path)
|
|
10227
10351
|
}) }, tab.path);
|
|
10228
10352
|
}
|
|
10229
|
-
return /* @__PURE__ */
|
|
10230
|
-
|
|
10353
|
+
return /* @__PURE__ */ jsxs58(
|
|
10354
|
+
Box40,
|
|
10231
10355
|
{
|
|
10232
10356
|
onClick: () => onTabSelect?.(tab.path),
|
|
10233
10357
|
sx: {
|
|
@@ -10249,8 +10373,8 @@ var CodeEditorTabs = ({
|
|
|
10249
10373
|
transition: "background-color 0.15s ease"
|
|
10250
10374
|
},
|
|
10251
10375
|
children: [
|
|
10252
|
-
tab.isDirty && /* @__PURE__ */
|
|
10253
|
-
|
|
10376
|
+
tab.isDirty && /* @__PURE__ */ jsx107(
|
|
10377
|
+
Box40,
|
|
10254
10378
|
{
|
|
10255
10379
|
sx: {
|
|
10256
10380
|
width: 6,
|
|
@@ -10261,8 +10385,8 @@ var CodeEditorTabs = ({
|
|
|
10261
10385
|
}
|
|
10262
10386
|
}
|
|
10263
10387
|
),
|
|
10264
|
-
tab.syncStatus && /* @__PURE__ */
|
|
10265
|
-
|
|
10388
|
+
tab.syncStatus && /* @__PURE__ */ jsx107(
|
|
10389
|
+
Box40,
|
|
10266
10390
|
{
|
|
10267
10391
|
component: "span",
|
|
10268
10392
|
sx: {
|
|
@@ -10275,8 +10399,8 @@ var CodeEditorTabs = ({
|
|
|
10275
10399
|
children: tab.syncStatus === "new" ? "N" : "M"
|
|
10276
10400
|
}
|
|
10277
10401
|
),
|
|
10278
|
-
/* @__PURE__ */
|
|
10279
|
-
|
|
10402
|
+
/* @__PURE__ */ jsx107(Tooltip9, { title: tab.path, enterDelay: 600, children: /* @__PURE__ */ jsx107(
|
|
10403
|
+
Typography32,
|
|
10280
10404
|
{
|
|
10281
10405
|
variant: "body2",
|
|
10282
10406
|
sx: {
|
|
@@ -10288,7 +10412,7 @@ var CodeEditorTabs = ({
|
|
|
10288
10412
|
children: label
|
|
10289
10413
|
}
|
|
10290
10414
|
) }),
|
|
10291
|
-
onTabClose && /* @__PURE__ */
|
|
10415
|
+
onTabClose && /* @__PURE__ */ jsx107(
|
|
10292
10416
|
IconButton18,
|
|
10293
10417
|
{
|
|
10294
10418
|
size: "small",
|
|
@@ -10305,7 +10429,7 @@ var CodeEditorTabs = ({
|
|
|
10305
10429
|
transition: "opacity 0.15s ease"
|
|
10306
10430
|
},
|
|
10307
10431
|
"aria-label": `Close ${label}`,
|
|
10308
|
-
children: /* @__PURE__ */
|
|
10432
|
+
children: /* @__PURE__ */ jsx107(CloseIcon6, { sx: { fontSize: 14 } })
|
|
10309
10433
|
}
|
|
10310
10434
|
)
|
|
10311
10435
|
]
|
|
@@ -10319,13 +10443,13 @@ var CodeEditorTabs = ({
|
|
|
10319
10443
|
|
|
10320
10444
|
// src/components/third-party/CodeEditorWorkspace/CodeEditorFileTree.tsx
|
|
10321
10445
|
import React18, { useCallback as useCallback10, useState as useState17 } from "react";
|
|
10322
|
-
import { Box as
|
|
10446
|
+
import { Box as Box41, Collapse as Collapse2, List as List7, ListItemButton as ListItemButton4, ListItemIcon as ListItemIcon6, ListItemText as ListItemText9 } from "@mui/material";
|
|
10323
10447
|
import FolderIcon2 from "@mui/icons-material/Folder";
|
|
10324
10448
|
import FolderOpenIcon from "@mui/icons-material/FolderOpen";
|
|
10325
10449
|
import InsertDriveFileOutlinedIcon from "@mui/icons-material/InsertDriveFileOutlined";
|
|
10326
10450
|
import ExpandMoreIcon4 from "@mui/icons-material/ExpandMore";
|
|
10327
10451
|
import ChevronRightIcon6 from "@mui/icons-material/ChevronRight";
|
|
10328
|
-
import { jsx as
|
|
10452
|
+
import { jsx as jsx108, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
10329
10453
|
var STATUS_CONFIG = {
|
|
10330
10454
|
new: { label: "N", color: "success.main" },
|
|
10331
10455
|
modified: { label: "M", color: "warning.main" },
|
|
@@ -10374,7 +10498,7 @@ var CodeEditorFileTree = ({
|
|
|
10374
10498
|
const isExpanded = expandedPaths.has(node.path);
|
|
10375
10499
|
const isSelected = node.path === selectedPath;
|
|
10376
10500
|
if (renderNode) {
|
|
10377
|
-
return /* @__PURE__ */
|
|
10501
|
+
return /* @__PURE__ */ jsxs59(React18.Fragment, { children: [
|
|
10378
10502
|
renderNode({
|
|
10379
10503
|
node,
|
|
10380
10504
|
depth,
|
|
@@ -10392,8 +10516,8 @@ var CodeEditorFileTree = ({
|
|
|
10392
10516
|
isFolder && isExpanded && node.children?.map((child) => renderTreeNode(child, depth + 1))
|
|
10393
10517
|
] }, node.path);
|
|
10394
10518
|
}
|
|
10395
|
-
return /* @__PURE__ */
|
|
10396
|
-
/* @__PURE__ */
|
|
10519
|
+
return /* @__PURE__ */ jsxs59(React18.Fragment, { children: [
|
|
10520
|
+
/* @__PURE__ */ jsxs59(
|
|
10397
10521
|
ListItemButton4,
|
|
10398
10522
|
{
|
|
10399
10523
|
selected: isSelected,
|
|
@@ -10414,9 +10538,9 @@ var CodeEditorFileTree = ({
|
|
|
10414
10538
|
}
|
|
10415
10539
|
},
|
|
10416
10540
|
children: [
|
|
10417
|
-
isFolder && /* @__PURE__ */
|
|
10418
|
-
/* @__PURE__ */
|
|
10419
|
-
/* @__PURE__ */
|
|
10541
|
+
isFolder && /* @__PURE__ */ jsx108(ListItemIcon6, { sx: { minWidth: 20 }, children: isExpanded ? /* @__PURE__ */ jsx108(ExpandMoreIcon4, { sx: { fontSize: 16 } }) : /* @__PURE__ */ jsx108(ChevronRightIcon6, { sx: { fontSize: 16 } }) }),
|
|
10542
|
+
/* @__PURE__ */ jsx108(ListItemIcon6, { sx: { minWidth: 24 }, children: node.icon ?? (isFolder ? isExpanded ? /* @__PURE__ */ jsx108(FolderOpenIcon, { sx: { fontSize: 16, color: "warning.main" } }) : /* @__PURE__ */ jsx108(FolderIcon2, { sx: { fontSize: 16, color: "warning.main" } }) : /* @__PURE__ */ jsx108(InsertDriveFileOutlinedIcon, { sx: { fontSize: 16, color: "text.secondary" } })) }),
|
|
10543
|
+
/* @__PURE__ */ jsx108(
|
|
10420
10544
|
ListItemText9,
|
|
10421
10545
|
{
|
|
10422
10546
|
primary: node.name,
|
|
@@ -10437,8 +10561,8 @@ var CodeEditorFileTree = ({
|
|
|
10437
10561
|
const effectiveStatus = isFolder ? computeFolderStatus(node) : node.status;
|
|
10438
10562
|
if (!effectiveStatus) return null;
|
|
10439
10563
|
const cfg = STATUS_CONFIG[effectiveStatus];
|
|
10440
|
-
return /* @__PURE__ */
|
|
10441
|
-
|
|
10564
|
+
return /* @__PURE__ */ jsx108(
|
|
10565
|
+
Box41,
|
|
10442
10566
|
{
|
|
10443
10567
|
component: "span",
|
|
10444
10568
|
sx: {
|
|
@@ -10457,11 +10581,11 @@ var CodeEditorFileTree = ({
|
|
|
10457
10581
|
]
|
|
10458
10582
|
}
|
|
10459
10583
|
),
|
|
10460
|
-
isFolder && /* @__PURE__ */
|
|
10584
|
+
isFolder && /* @__PURE__ */ jsx108(Collapse2, { in: isExpanded, timeout: "auto", unmountOnExit: true, children: node.children?.map((child) => renderTreeNode(child, depth + 1)) })
|
|
10461
10585
|
] }, node.path);
|
|
10462
10586
|
};
|
|
10463
|
-
return /* @__PURE__ */
|
|
10464
|
-
|
|
10587
|
+
return /* @__PURE__ */ jsx108(
|
|
10588
|
+
Box41,
|
|
10465
10589
|
{
|
|
10466
10590
|
sx: {
|
|
10467
10591
|
width: typeof width === "number" ? `${width}px` : width,
|
|
@@ -10473,14 +10597,14 @@ var CodeEditorFileTree = ({
|
|
|
10473
10597
|
bgcolor: "background.default"
|
|
10474
10598
|
},
|
|
10475
10599
|
...containerProps,
|
|
10476
|
-
children: /* @__PURE__ */
|
|
10600
|
+
children: /* @__PURE__ */ jsx108(List7, { dense: true, disablePadding: true, children: tree.map((node) => renderTreeNode(node, 0)) })
|
|
10477
10601
|
}
|
|
10478
10602
|
);
|
|
10479
10603
|
};
|
|
10480
10604
|
|
|
10481
10605
|
// src/components/third-party/CodeEditorWorkspace/CodeEditorStatusBar.tsx
|
|
10482
|
-
import { Box as
|
|
10483
|
-
import { Fragment as Fragment17, jsx as
|
|
10606
|
+
import { Box as Box42, Tooltip as Tooltip10, Typography as Typography33 } from "@mui/material";
|
|
10607
|
+
import { Fragment as Fragment17, jsx as jsx109, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
10484
10608
|
var LANGUAGE_LABELS = {
|
|
10485
10609
|
typescript: "TypeScript",
|
|
10486
10610
|
javascript: "JavaScript",
|
|
@@ -10504,12 +10628,12 @@ var CodeEditorStatusBar = ({
|
|
|
10504
10628
|
containerProps
|
|
10505
10629
|
}) => {
|
|
10506
10630
|
if (renderStatusBar) {
|
|
10507
|
-
return /* @__PURE__ */
|
|
10631
|
+
return /* @__PURE__ */ jsx109(Fragment17, { children: renderStatusBar({ gitInfo, language, cursorPosition, items }) });
|
|
10508
10632
|
}
|
|
10509
10633
|
const leftItems = items?.filter((i) => i.align !== "right") ?? [];
|
|
10510
10634
|
const rightItems = items?.filter((i) => i.align === "right") ?? [];
|
|
10511
|
-
return /* @__PURE__ */
|
|
10512
|
-
|
|
10635
|
+
return /* @__PURE__ */ jsxs60(
|
|
10636
|
+
Box42,
|
|
10513
10637
|
{
|
|
10514
10638
|
sx: {
|
|
10515
10639
|
display: "flex",
|
|
@@ -10529,8 +10653,8 @@ var CodeEditorStatusBar = ({
|
|
|
10529
10653
|
},
|
|
10530
10654
|
...containerProps,
|
|
10531
10655
|
children: [
|
|
10532
|
-
/* @__PURE__ */
|
|
10533
|
-
gitInfo && /* @__PURE__ */
|
|
10656
|
+
/* @__PURE__ */ jsxs60(Box42, { sx: { display: "flex", alignItems: "center", gap: 1.5, overflow: "hidden" }, children: [
|
|
10657
|
+
gitInfo && /* @__PURE__ */ jsx109(
|
|
10534
10658
|
Tooltip10,
|
|
10535
10659
|
{
|
|
10536
10660
|
title: [
|
|
@@ -10540,8 +10664,8 @@ var CodeEditorStatusBar = ({
|
|
|
10540
10664
|
gitInfo.behind != null && `\u2193 ${gitInfo.behind} behind`
|
|
10541
10665
|
].filter(Boolean).join(" \xB7 ") || gitInfo.branch,
|
|
10542
10666
|
enterDelay: 400,
|
|
10543
|
-
children: /* @__PURE__ */
|
|
10544
|
-
|
|
10667
|
+
children: /* @__PURE__ */ jsxs60(
|
|
10668
|
+
Box42,
|
|
10545
10669
|
{
|
|
10546
10670
|
onClick: onBranchClick,
|
|
10547
10671
|
sx: {
|
|
@@ -10553,7 +10677,7 @@ var CodeEditorStatusBar = ({
|
|
|
10553
10677
|
"&:hover": onBranchClick ? { opacity: 0.8 } : void 0
|
|
10554
10678
|
},
|
|
10555
10679
|
children: [
|
|
10556
|
-
/* @__PURE__ */
|
|
10680
|
+
/* @__PURE__ */ jsx109(
|
|
10557
10681
|
"svg",
|
|
10558
10682
|
{
|
|
10559
10683
|
width: "14",
|
|
@@ -10561,7 +10685,7 @@ var CodeEditorStatusBar = ({
|
|
|
10561
10685
|
viewBox: "0 0 16 16",
|
|
10562
10686
|
fill: "currentColor",
|
|
10563
10687
|
style: { flexShrink: 0 },
|
|
10564
|
-
children: /* @__PURE__ */
|
|
10688
|
+
children: /* @__PURE__ */ jsx109(
|
|
10565
10689
|
"path",
|
|
10566
10690
|
{
|
|
10567
10691
|
fillRule: "evenodd",
|
|
@@ -10570,8 +10694,8 @@ var CodeEditorStatusBar = ({
|
|
|
10570
10694
|
)
|
|
10571
10695
|
}
|
|
10572
10696
|
),
|
|
10573
|
-
/* @__PURE__ */
|
|
10574
|
-
|
|
10697
|
+
/* @__PURE__ */ jsx109(
|
|
10698
|
+
Typography33,
|
|
10575
10699
|
{
|
|
10576
10700
|
variant: "caption",
|
|
10577
10701
|
sx: {
|
|
@@ -10587,8 +10711,8 @@ var CodeEditorStatusBar = ({
|
|
|
10587
10711
|
children: gitInfo.branch
|
|
10588
10712
|
}
|
|
10589
10713
|
),
|
|
10590
|
-
gitInfo.isDirty && /* @__PURE__ */
|
|
10591
|
-
|
|
10714
|
+
gitInfo.isDirty && /* @__PURE__ */ jsx109(
|
|
10715
|
+
Box42,
|
|
10592
10716
|
{
|
|
10593
10717
|
component: "span",
|
|
10594
10718
|
sx: {
|
|
@@ -10600,11 +10724,11 @@ var CodeEditorStatusBar = ({
|
|
|
10600
10724
|
}
|
|
10601
10725
|
}
|
|
10602
10726
|
),
|
|
10603
|
-
gitInfo.ahead != null && gitInfo.ahead > 0 && /* @__PURE__ */
|
|
10727
|
+
gitInfo.ahead != null && gitInfo.ahead > 0 && /* @__PURE__ */ jsxs60(Typography33, { variant: "caption", sx: { fontSize: "inherit", fontFamily: "inherit", color: "inherit", lineHeight: 1, opacity: 0.85 }, children: [
|
|
10604
10728
|
"\u2191",
|
|
10605
10729
|
gitInfo.ahead
|
|
10606
10730
|
] }),
|
|
10607
|
-
gitInfo.behind != null && gitInfo.behind > 0 && /* @__PURE__ */
|
|
10731
|
+
gitInfo.behind != null && gitInfo.behind > 0 && /* @__PURE__ */ jsxs60(Typography33, { variant: "caption", sx: { fontSize: "inherit", fontFamily: "inherit", color: "inherit", lineHeight: 1, opacity: 0.85 }, children: [
|
|
10608
10732
|
"\u2193",
|
|
10609
10733
|
gitInfo.behind
|
|
10610
10734
|
] })
|
|
@@ -10613,12 +10737,12 @@ var CodeEditorStatusBar = ({
|
|
|
10613
10737
|
)
|
|
10614
10738
|
}
|
|
10615
10739
|
),
|
|
10616
|
-
leftItems.map((item) => /* @__PURE__ */
|
|
10740
|
+
leftItems.map((item) => /* @__PURE__ */ jsx109(StatusBarItemElement, { item }, item.id))
|
|
10617
10741
|
] }),
|
|
10618
|
-
/* @__PURE__ */
|
|
10619
|
-
rightItems.map((item) => /* @__PURE__ */
|
|
10620
|
-
cursorPosition && /* @__PURE__ */
|
|
10621
|
-
|
|
10742
|
+
/* @__PURE__ */ jsxs60(Box42, { sx: { display: "flex", alignItems: "center", gap: 1.5, overflow: "hidden" }, children: [
|
|
10743
|
+
rightItems.map((item) => /* @__PURE__ */ jsx109(StatusBarItemElement, { item }, item.id)),
|
|
10744
|
+
cursorPosition && /* @__PURE__ */ jsxs60(
|
|
10745
|
+
Typography33,
|
|
10622
10746
|
{
|
|
10623
10747
|
variant: "caption",
|
|
10624
10748
|
sx: { fontSize: "inherit", fontFamily: "inherit", color: "inherit", lineHeight: 1, whiteSpace: "nowrap" },
|
|
@@ -10630,8 +10754,8 @@ var CodeEditorStatusBar = ({
|
|
|
10630
10754
|
]
|
|
10631
10755
|
}
|
|
10632
10756
|
),
|
|
10633
|
-
language && /* @__PURE__ */
|
|
10634
|
-
|
|
10757
|
+
language && /* @__PURE__ */ jsx109(
|
|
10758
|
+
Typography33,
|
|
10635
10759
|
{
|
|
10636
10760
|
variant: "caption",
|
|
10637
10761
|
sx: { fontSize: "inherit", fontFamily: "inherit", color: "inherit", lineHeight: 1, whiteSpace: "nowrap" },
|
|
@@ -10644,8 +10768,8 @@ var CodeEditorStatusBar = ({
|
|
|
10644
10768
|
);
|
|
10645
10769
|
};
|
|
10646
10770
|
var StatusBarItemElement = ({ item }) => {
|
|
10647
|
-
const inner = /* @__PURE__ */
|
|
10648
|
-
|
|
10771
|
+
const inner = /* @__PURE__ */ jsx109(
|
|
10772
|
+
Box42,
|
|
10649
10773
|
{
|
|
10650
10774
|
onClick: item.onClick,
|
|
10651
10775
|
sx: {
|
|
@@ -10656,8 +10780,8 @@ var StatusBarItemElement = ({ item }) => {
|
|
|
10656
10780
|
whiteSpace: "nowrap",
|
|
10657
10781
|
"&:hover": item.onClick ? { opacity: 0.8 } : void 0
|
|
10658
10782
|
},
|
|
10659
|
-
children: typeof item.content === "string" ? /* @__PURE__ */
|
|
10660
|
-
|
|
10783
|
+
children: typeof item.content === "string" ? /* @__PURE__ */ jsx109(
|
|
10784
|
+
Typography33,
|
|
10661
10785
|
{
|
|
10662
10786
|
variant: "caption",
|
|
10663
10787
|
sx: { fontSize: "inherit", fontFamily: "inherit", color: "inherit", lineHeight: 1 },
|
|
@@ -10667,20 +10791,20 @@ var StatusBarItemElement = ({ item }) => {
|
|
|
10667
10791
|
}
|
|
10668
10792
|
);
|
|
10669
10793
|
if (item.tooltip) {
|
|
10670
|
-
return /* @__PURE__ */
|
|
10794
|
+
return /* @__PURE__ */ jsx109(Tooltip10, { title: item.tooltip, enterDelay: 400, children: inner });
|
|
10671
10795
|
}
|
|
10672
10796
|
return inner;
|
|
10673
10797
|
};
|
|
10674
10798
|
|
|
10675
10799
|
// src/components/third-party/CodeEditorWorkspace/CodeEditorWelcomeScreen.tsx
|
|
10676
|
-
import { Box as
|
|
10677
|
-
import { jsx as
|
|
10800
|
+
import { Box as Box43 } from "@mui/material";
|
|
10801
|
+
import { jsx as jsx110, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
10678
10802
|
var CodeEditorWelcomeScreen = ({
|
|
10679
10803
|
logo,
|
|
10680
10804
|
children,
|
|
10681
10805
|
containerProps
|
|
10682
10806
|
}) => {
|
|
10683
|
-
const defaultLogo = /* @__PURE__ */
|
|
10807
|
+
const defaultLogo = /* @__PURE__ */ jsx110(
|
|
10684
10808
|
CereIcon,
|
|
10685
10809
|
{
|
|
10686
10810
|
sx: {
|
|
@@ -10690,8 +10814,8 @@ var CodeEditorWelcomeScreen = ({
|
|
|
10690
10814
|
}
|
|
10691
10815
|
}
|
|
10692
10816
|
);
|
|
10693
|
-
return /* @__PURE__ */
|
|
10694
|
-
|
|
10817
|
+
return /* @__PURE__ */ jsxs61(
|
|
10818
|
+
Box43,
|
|
10695
10819
|
{
|
|
10696
10820
|
sx: {
|
|
10697
10821
|
flex: 1,
|
|
@@ -10706,8 +10830,8 @@ var CodeEditorWelcomeScreen = ({
|
|
|
10706
10830
|
...containerProps,
|
|
10707
10831
|
children: [
|
|
10708
10832
|
logo !== void 0 ? logo : defaultLogo,
|
|
10709
|
-
children && /* @__PURE__ */
|
|
10710
|
-
|
|
10833
|
+
children && /* @__PURE__ */ jsx110(
|
|
10834
|
+
Box43,
|
|
10711
10835
|
{
|
|
10712
10836
|
sx: {
|
|
10713
10837
|
display: "flex",
|
|
@@ -10725,8 +10849,8 @@ var CodeEditorWelcomeScreen = ({
|
|
|
10725
10849
|
|
|
10726
10850
|
// src/components/third-party/CodeEditorWorkspace/CodeEditorWorkspace.tsx
|
|
10727
10851
|
import React19 from "react";
|
|
10728
|
-
import { Box as
|
|
10729
|
-
import { jsx as
|
|
10852
|
+
import { Box as Box44 } from "@mui/material";
|
|
10853
|
+
import { jsx as jsx111, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
10730
10854
|
var CodeEditorWorkspace = ({
|
|
10731
10855
|
files,
|
|
10732
10856
|
initialOpenPaths,
|
|
@@ -10791,7 +10915,7 @@ var CodeEditorWorkspace = ({
|
|
|
10791
10915
|
onTabSelect: workspace.setActiveFile,
|
|
10792
10916
|
onTabClose: workspace.closeFile
|
|
10793
10917
|
};
|
|
10794
|
-
const tabsElement = showTabs ? renderTabs ? renderTabs({ ...tabsProps, workspace }) : /* @__PURE__ */
|
|
10918
|
+
const tabsElement = showTabs ? renderTabs ? renderTabs({ ...tabsProps, workspace }) : /* @__PURE__ */ jsx111(CodeEditorTabs, { ...tabsProps }) : null;
|
|
10795
10919
|
const fileTreeProps = {
|
|
10796
10920
|
tree: fileTree ?? [],
|
|
10797
10921
|
selectedPath: workspace.activeFilePath,
|
|
@@ -10799,7 +10923,7 @@ var CodeEditorWorkspace = ({
|
|
|
10799
10923
|
defaultExpandedPaths,
|
|
10800
10924
|
width: fileTreeWidth
|
|
10801
10925
|
};
|
|
10802
|
-
const fileTreeElement = hasFileTree ? renderFileTree ? renderFileTree({ ...fileTreeProps, workspace }) : /* @__PURE__ */
|
|
10926
|
+
const fileTreeElement = hasFileTree ? renderFileTree ? renderFileTree({ ...fileTreeProps, workspace }) : /* @__PURE__ */ jsx111(CodeEditorFileTree, { ...fileTreeProps }) : null;
|
|
10803
10927
|
const statusBarProps = {
|
|
10804
10928
|
gitInfo,
|
|
10805
10929
|
language: workspace.activeFile?.language,
|
|
@@ -10807,9 +10931,9 @@ var CodeEditorWorkspace = ({
|
|
|
10807
10931
|
items: statusBarItems,
|
|
10808
10932
|
onBranchClick
|
|
10809
10933
|
};
|
|
10810
|
-
const statusBarElement = showStatusBar ? renderStatusBar ? renderStatusBar({ ...statusBarProps, workspace }) : /* @__PURE__ */
|
|
10811
|
-
const welcomeElement = renderWelcomeScreen ? renderWelcomeScreen(workspace) : welcomeScreen !== void 0 ? welcomeScreen : /* @__PURE__ */
|
|
10812
|
-
const editorElement = renderEditor ? renderEditor(workspace) : workspace.activeFile ? /* @__PURE__ */
|
|
10934
|
+
const statusBarElement = showStatusBar ? renderStatusBar ? renderStatusBar({ ...statusBarProps, workspace }) : /* @__PURE__ */ jsx111(CodeEditorStatusBar, { ...statusBarProps }) : null;
|
|
10935
|
+
const welcomeElement = renderWelcomeScreen ? renderWelcomeScreen(workspace) : welcomeScreen !== void 0 ? welcomeScreen : /* @__PURE__ */ jsx111(CodeEditorWelcomeScreen, { ...welcomeScreenProps });
|
|
10936
|
+
const editorElement = renderEditor ? renderEditor(workspace) : workspace.activeFile ? /* @__PURE__ */ jsx111(
|
|
10813
10937
|
CodeEditor,
|
|
10814
10938
|
{
|
|
10815
10939
|
value: workspace.activeFile.value,
|
|
@@ -10828,8 +10952,8 @@ var CodeEditorWorkspace = ({
|
|
|
10828
10952
|
...editorProps
|
|
10829
10953
|
}
|
|
10830
10954
|
) : welcomeElement;
|
|
10831
|
-
return /* @__PURE__ */
|
|
10832
|
-
|
|
10955
|
+
return /* @__PURE__ */ jsxs62(
|
|
10956
|
+
Box44,
|
|
10833
10957
|
{
|
|
10834
10958
|
sx: {
|
|
10835
10959
|
display: "flex",
|
|
@@ -10843,9 +10967,9 @@ var CodeEditorWorkspace = ({
|
|
|
10843
10967
|
...containerProps,
|
|
10844
10968
|
children: [
|
|
10845
10969
|
fileTreeElement,
|
|
10846
|
-
/* @__PURE__ */
|
|
10970
|
+
/* @__PURE__ */ jsxs62(Box44, { sx: { flex: 1, display: "flex", flexDirection: "column", minWidth: 0, overflow: "hidden" }, children: [
|
|
10847
10971
|
tabsElement,
|
|
10848
|
-
/* @__PURE__ */
|
|
10972
|
+
/* @__PURE__ */ jsx111(Box44, { sx: { flex: 1, overflow: "hidden" }, children: editorElement }),
|
|
10849
10973
|
statusBarElement
|
|
10850
10974
|
] })
|
|
10851
10975
|
]
|
|
@@ -10865,7 +10989,7 @@ export {
|
|
|
10865
10989
|
BackgroundVariant2 as BackgroundVariant,
|
|
10866
10990
|
Badge,
|
|
10867
10991
|
BarTrackingIcon,
|
|
10868
|
-
|
|
10992
|
+
Box25 as Box,
|
|
10869
10993
|
Breadcrumbs,
|
|
10870
10994
|
Button,
|
|
10871
10995
|
ButtonGroup,
|
|
@@ -10920,7 +11044,9 @@ export {
|
|
|
10920
11044
|
FormControlLabel,
|
|
10921
11045
|
FormHelperText,
|
|
10922
11046
|
FormLabel,
|
|
11047
|
+
GRADIENT_PALETTE_COUNT,
|
|
10923
11048
|
GithubLogoIcon,
|
|
11049
|
+
GradientSurface,
|
|
10924
11050
|
Grid2 as Grid,
|
|
10925
11051
|
IDBlock,
|
|
10926
11052
|
IconButton,
|
|
@@ -10959,6 +11085,7 @@ export {
|
|
|
10959
11085
|
RoleBadge,
|
|
10960
11086
|
ScrollableRow,
|
|
10961
11087
|
SearchField,
|
|
11088
|
+
SectionRow,
|
|
10962
11089
|
Selector,
|
|
10963
11090
|
ServiceSelectorButton,
|
|
10964
11091
|
ShareIcon,
|
|
@@ -10988,7 +11115,7 @@ export {
|
|
|
10988
11115
|
Toolbar,
|
|
10989
11116
|
Tooltip7 as Tooltip,
|
|
10990
11117
|
Truncate,
|
|
10991
|
-
|
|
11118
|
+
Typography21 as Typography,
|
|
10992
11119
|
UploadFileIcon,
|
|
10993
11120
|
UploadFolderIcon,
|
|
10994
11121
|
WORKFLOW_NODE_LABELS,
|