@cere/cere-design-system 0.0.24 → 0.0.25
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 +201 -3
- package/dist/index.d.ts +201 -3
- package/dist/index.js +1155 -308
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1111 -253
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -76,6 +76,27 @@ var deploymentStatusColors = {
|
|
|
76
76
|
disabled: "#ffffff",
|
|
77
77
|
disabledDim: "#ded8e1"
|
|
78
78
|
};
|
|
79
|
+
var workflowNodeColors = {
|
|
80
|
+
start: "#00C950",
|
|
81
|
+
input: "#00A6F4",
|
|
82
|
+
stream: "#00B8DB",
|
|
83
|
+
rafts: "#FF6900",
|
|
84
|
+
cubbies: "#D0C900",
|
|
85
|
+
events: "#F6339A",
|
|
86
|
+
trigger: "#AD46FF",
|
|
87
|
+
action: "#2B7FFF",
|
|
88
|
+
aiModel: "#615FFF",
|
|
89
|
+
aiAgent: "#D0A2FB",
|
|
90
|
+
condition: "#FE9A00",
|
|
91
|
+
output: "#00BC7D",
|
|
92
|
+
end: "#FB2C36"
|
|
93
|
+
};
|
|
94
|
+
var workflowConnectionColors = {
|
|
95
|
+
success: "#22C55E",
|
|
96
|
+
process: "#3B82F6",
|
|
97
|
+
stream: "#06B6D4",
|
|
98
|
+
error: "#EF4444"
|
|
99
|
+
};
|
|
79
100
|
var deploymentSurfaceTokens = {
|
|
80
101
|
/** Surface/high background (Figma #fefcff) */
|
|
81
102
|
surfaceHigh: "#fefcff",
|
|
@@ -309,6 +330,10 @@ var theme = createTheme(baseTheme, {
|
|
|
309
330
|
deployment: {
|
|
310
331
|
entity: deploymentEntityColors,
|
|
311
332
|
status: deploymentStatusColors
|
|
333
|
+
},
|
|
334
|
+
workflow: {
|
|
335
|
+
node: workflowNodeColors,
|
|
336
|
+
connection: workflowConnectionColors
|
|
312
337
|
}
|
|
313
338
|
}
|
|
314
339
|
});
|
|
@@ -6023,10 +6048,306 @@ var DeploymentDashboardPanel = ({
|
|
|
6023
6048
|
return /* @__PURE__ */ jsx49(StyledPanel, { className, sx: { p: padding }, children });
|
|
6024
6049
|
};
|
|
6025
6050
|
|
|
6051
|
+
// src/components/layout/WorkflowNode/WorkflowNode.tsx
|
|
6052
|
+
import { Paper as Paper2, Box as Box17, Typography as Typography14 } from "@mui/material";
|
|
6053
|
+
import PlayCircleOutlineIcon from "@mui/icons-material/PlayCircleOutline";
|
|
6054
|
+
import CloudDownloadIcon from "@mui/icons-material/CloudDownload";
|
|
6055
|
+
import WavesIcon2 from "@mui/icons-material/Waves";
|
|
6056
|
+
import LinkIcon from "@mui/icons-material/Link";
|
|
6057
|
+
import CloudIcon from "@mui/icons-material/Cloud";
|
|
6058
|
+
import BoltIcon from "@mui/icons-material/Bolt";
|
|
6059
|
+
import FlashOnIcon from "@mui/icons-material/FlashOn";
|
|
6060
|
+
import PlayArrowIcon from "@mui/icons-material/PlayArrow";
|
|
6061
|
+
import PsychologyIcon from "@mui/icons-material/Psychology";
|
|
6062
|
+
import SmartToyOutlinedIcon3 from "@mui/icons-material/SmartToyOutlined";
|
|
6063
|
+
import CallSplitIcon from "@mui/icons-material/CallSplit";
|
|
6064
|
+
import SendIcon from "@mui/icons-material/Send";
|
|
6065
|
+
import CheckCircleOutlineIcon from "@mui/icons-material/CheckCircleOutline";
|
|
6066
|
+
import { jsx as jsx50, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
6067
|
+
var WORKFLOW_NODE_LABELS = {
|
|
6068
|
+
start: "Start",
|
|
6069
|
+
input: "Input",
|
|
6070
|
+
stream: "Stream",
|
|
6071
|
+
rafts: "Rafts",
|
|
6072
|
+
cubbies: "Cubbies",
|
|
6073
|
+
events: "Events",
|
|
6074
|
+
trigger: "Trigger",
|
|
6075
|
+
action: "Action",
|
|
6076
|
+
aiModel: "AI Model",
|
|
6077
|
+
aiAgent: "Agent",
|
|
6078
|
+
condition: "Condition",
|
|
6079
|
+
output: "Output",
|
|
6080
|
+
end: "End"
|
|
6081
|
+
};
|
|
6082
|
+
var NODE_ICON_SIZE = 18;
|
|
6083
|
+
var WORKFLOW_NODE_SHADOW = "0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.1)";
|
|
6084
|
+
var WORKFLOW_NODE_ICONS = {
|
|
6085
|
+
start: /* @__PURE__ */ jsx50(PlayCircleOutlineIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6086
|
+
input: /* @__PURE__ */ jsx50(CloudDownloadIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6087
|
+
stream: /* @__PURE__ */ jsx50(WavesIcon2, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6088
|
+
rafts: /* @__PURE__ */ jsx50(LinkIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6089
|
+
cubbies: /* @__PURE__ */ jsx50(CloudIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6090
|
+
events: /* @__PURE__ */ jsx50(BoltIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6091
|
+
trigger: /* @__PURE__ */ jsx50(FlashOnIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6092
|
+
action: /* @__PURE__ */ jsx50(PlayArrowIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6093
|
+
aiModel: /* @__PURE__ */ jsx50(PsychologyIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6094
|
+
aiAgent: /* @__PURE__ */ jsx50(SmartToyOutlinedIcon3, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6095
|
+
condition: /* @__PURE__ */ jsx50(CallSplitIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6096
|
+
output: /* @__PURE__ */ jsx50(SendIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6097
|
+
end: /* @__PURE__ */ jsx50(CheckCircleOutlineIcon, { sx: { fontSize: NODE_ICON_SIZE } })
|
|
6098
|
+
};
|
|
6099
|
+
var WORKFLOW_NODE_STYLE_TOKENS = {
|
|
6100
|
+
start: {
|
|
6101
|
+
cardBorder: "#7BF1A8",
|
|
6102
|
+
badgeBackground: "#F0FDF4",
|
|
6103
|
+
badgeBorder: "#B9F8CF",
|
|
6104
|
+
badgeText: "#008236"
|
|
6105
|
+
},
|
|
6106
|
+
input: {
|
|
6107
|
+
cardBorder: "#74D4FF",
|
|
6108
|
+
badgeBackground: "#F0F9FF",
|
|
6109
|
+
badgeBorder: "#B8E6FE",
|
|
6110
|
+
badgeText: "#0069A8"
|
|
6111
|
+
},
|
|
6112
|
+
stream: {
|
|
6113
|
+
cardBorder: "#53EAFD",
|
|
6114
|
+
badgeBackground: "#ECFEFF",
|
|
6115
|
+
badgeBorder: "#A2F4FD",
|
|
6116
|
+
badgeText: "#007595"
|
|
6117
|
+
},
|
|
6118
|
+
rafts: {
|
|
6119
|
+
cardBorder: "#FFB86A",
|
|
6120
|
+
badgeBackground: "#FFF7ED",
|
|
6121
|
+
badgeBorder: "#FFD6A8",
|
|
6122
|
+
badgeText: "#CA3500"
|
|
6123
|
+
},
|
|
6124
|
+
cubbies: {
|
|
6125
|
+
cardBorder: "#D0C900",
|
|
6126
|
+
badgeBackground: "#FCFFED",
|
|
6127
|
+
badgeBorder: "#D0C900",
|
|
6128
|
+
badgeText: "#747500"
|
|
6129
|
+
},
|
|
6130
|
+
events: {
|
|
6131
|
+
cardBorder: "#FDA5D5",
|
|
6132
|
+
badgeBackground: "#FDF2F8",
|
|
6133
|
+
badgeBorder: "#FCCEE8",
|
|
6134
|
+
badgeText: "#C6005C"
|
|
6135
|
+
},
|
|
6136
|
+
trigger: {
|
|
6137
|
+
cardBorder: "#DAB2FF",
|
|
6138
|
+
badgeBackground: "#FAF5FF",
|
|
6139
|
+
badgeBorder: "#E9D4FF",
|
|
6140
|
+
badgeText: "#8200DB"
|
|
6141
|
+
},
|
|
6142
|
+
action: {
|
|
6143
|
+
cardBorder: "#8EC5FF",
|
|
6144
|
+
badgeBackground: "#EFF6FF",
|
|
6145
|
+
badgeBorder: "#BEDBFF",
|
|
6146
|
+
badgeText: "#1447E6"
|
|
6147
|
+
},
|
|
6148
|
+
aiModel: {
|
|
6149
|
+
cardBorder: "#A3B3FF",
|
|
6150
|
+
badgeBackground: "#EEF2FF",
|
|
6151
|
+
badgeBorder: "#C6D2FF",
|
|
6152
|
+
badgeText: "#432DD7"
|
|
6153
|
+
},
|
|
6154
|
+
aiAgent: {
|
|
6155
|
+
cardBorder: "#D0A2FB",
|
|
6156
|
+
badgeBackground: "#F8EEFF",
|
|
6157
|
+
badgeBorder: "#D9BCF3",
|
|
6158
|
+
badgeText: "#9F40F8"
|
|
6159
|
+
},
|
|
6160
|
+
condition: {
|
|
6161
|
+
cardBorder: "#FFD230",
|
|
6162
|
+
badgeBackground: "#FFFBEB",
|
|
6163
|
+
badgeBorder: "#FEE685",
|
|
6164
|
+
badgeText: "#BB4D00"
|
|
6165
|
+
},
|
|
6166
|
+
output: {
|
|
6167
|
+
cardBorder: "#5EE9B5",
|
|
6168
|
+
badgeBackground: "#ECFDF5",
|
|
6169
|
+
badgeBorder: "#A4F4CF",
|
|
6170
|
+
badgeText: "#007A55"
|
|
6171
|
+
},
|
|
6172
|
+
end: {
|
|
6173
|
+
cardBorder: "#FFA2A2",
|
|
6174
|
+
badgeBackground: "#FEF2F2",
|
|
6175
|
+
badgeBorder: "#FFC9C9",
|
|
6176
|
+
badgeText: "#C10007"
|
|
6177
|
+
}
|
|
6178
|
+
};
|
|
6179
|
+
var BADGE_TYPOGRAPHY = {
|
|
6180
|
+
fontSize: "12px",
|
|
6181
|
+
fontWeight: 500,
|
|
6182
|
+
lineHeight: 1.33
|
|
6183
|
+
};
|
|
6184
|
+
var SideConnectorDot = ({
|
|
6185
|
+
accentColor,
|
|
6186
|
+
side
|
|
6187
|
+
}) => /* @__PURE__ */ jsx50(
|
|
6188
|
+
Box17,
|
|
6189
|
+
{
|
|
6190
|
+
"data-testid": `workflow-node-dot-${side}`,
|
|
6191
|
+
sx: {
|
|
6192
|
+
position: "absolute",
|
|
6193
|
+
top: "50%",
|
|
6194
|
+
[side]: "-4px",
|
|
6195
|
+
transform: "translateY(-50%)",
|
|
6196
|
+
width: "8px",
|
|
6197
|
+
height: "8px",
|
|
6198
|
+
borderRadius: "999px",
|
|
6199
|
+
border: "2px solid #fff",
|
|
6200
|
+
backgroundColor: accentColor,
|
|
6201
|
+
boxShadow: WORKFLOW_NODE_SHADOW,
|
|
6202
|
+
zIndex: 1,
|
|
6203
|
+
pointerEvents: "none"
|
|
6204
|
+
}
|
|
6205
|
+
}
|
|
6206
|
+
);
|
|
6207
|
+
var NodeTypeBadge = ({ nodeType, badgeBackground, badgeBorder, badgeText, icon, label }) => /* @__PURE__ */ jsxs24(
|
|
6208
|
+
Box17,
|
|
6209
|
+
{
|
|
6210
|
+
sx: {
|
|
6211
|
+
display: "inline-flex",
|
|
6212
|
+
alignItems: "center",
|
|
6213
|
+
justifyContent: "center",
|
|
6214
|
+
gap: 1,
|
|
6215
|
+
px: 1,
|
|
6216
|
+
py: 0.5,
|
|
6217
|
+
borderRadius: "999px",
|
|
6218
|
+
backgroundColor: badgeBackground,
|
|
6219
|
+
border: `1px solid ${badgeBorder}`,
|
|
6220
|
+
flexShrink: 0
|
|
6221
|
+
},
|
|
6222
|
+
children: [
|
|
6223
|
+
/* @__PURE__ */ jsx50(Box17, { sx: { color: badgeText, display: "flex", alignItems: "center" }, children: icon ?? WORKFLOW_NODE_ICONS[nodeType] }),
|
|
6224
|
+
/* @__PURE__ */ jsx50(
|
|
6225
|
+
Typography14,
|
|
6226
|
+
{
|
|
6227
|
+
variant: "body2",
|
|
6228
|
+
component: "span",
|
|
6229
|
+
sx: {
|
|
6230
|
+
color: badgeText,
|
|
6231
|
+
fontWeight: BADGE_TYPOGRAPHY.fontWeight,
|
|
6232
|
+
fontSize: BADGE_TYPOGRAPHY.fontSize,
|
|
6233
|
+
lineHeight: BADGE_TYPOGRAPHY.lineHeight
|
|
6234
|
+
},
|
|
6235
|
+
children: label ?? WORKFLOW_NODE_LABELS[nodeType]
|
|
6236
|
+
}
|
|
6237
|
+
)
|
|
6238
|
+
]
|
|
6239
|
+
}
|
|
6240
|
+
);
|
|
6241
|
+
var WorkflowNode = ({
|
|
6242
|
+
nodeType,
|
|
6243
|
+
title,
|
|
6244
|
+
description,
|
|
6245
|
+
icon,
|
|
6246
|
+
badgeLabel,
|
|
6247
|
+
selected = false,
|
|
6248
|
+
className,
|
|
6249
|
+
showSideDots = true,
|
|
6250
|
+
sx,
|
|
6251
|
+
...paperProps
|
|
6252
|
+
}) => {
|
|
6253
|
+
const accentColor = workflowNodeColors[nodeType];
|
|
6254
|
+
const visualTokens = WORKFLOW_NODE_STYLE_TOKENS[nodeType];
|
|
6255
|
+
return /* @__PURE__ */ jsxs24(
|
|
6256
|
+
Paper2,
|
|
6257
|
+
{
|
|
6258
|
+
elevation: 0,
|
|
6259
|
+
className,
|
|
6260
|
+
sx: {
|
|
6261
|
+
display: "flex",
|
|
6262
|
+
flexDirection: "row",
|
|
6263
|
+
position: "relative",
|
|
6264
|
+
overflow: "visible",
|
|
6265
|
+
border: `1px solid ${selected ? accentColor : visualTokens.cardBorder}`,
|
|
6266
|
+
borderRadius: "14px",
|
|
6267
|
+
minWidth: 220,
|
|
6268
|
+
maxWidth: 460,
|
|
6269
|
+
minHeight: "76px",
|
|
6270
|
+
backgroundColor: "#fff",
|
|
6271
|
+
boxShadow: WORKFLOW_NODE_SHADOW,
|
|
6272
|
+
transition: "border-color 0.15s ease",
|
|
6273
|
+
...sx
|
|
6274
|
+
},
|
|
6275
|
+
...paperProps,
|
|
6276
|
+
children: [
|
|
6277
|
+
showSideDots && /* @__PURE__ */ jsx50(SideConnectorDot, { accentColor, side: "left" }),
|
|
6278
|
+
showSideDots && /* @__PURE__ */ jsx50(SideConnectorDot, { accentColor, side: "right" }),
|
|
6279
|
+
/* @__PURE__ */ jsxs24(
|
|
6280
|
+
Box17,
|
|
6281
|
+
{
|
|
6282
|
+
sx: {
|
|
6283
|
+
flex: 1,
|
|
6284
|
+
display: "flex",
|
|
6285
|
+
justifyContent: "space-between",
|
|
6286
|
+
alignItems: "center",
|
|
6287
|
+
gap: 2,
|
|
6288
|
+
px: 2,
|
|
6289
|
+
py: 2,
|
|
6290
|
+
minWidth: 0
|
|
6291
|
+
},
|
|
6292
|
+
children: [
|
|
6293
|
+
/* @__PURE__ */ jsxs24(Box17, { sx: { minWidth: 0, flex: 1 }, children: [
|
|
6294
|
+
/* @__PURE__ */ jsx50(
|
|
6295
|
+
Typography14,
|
|
6296
|
+
{
|
|
6297
|
+
variant: "subtitle2",
|
|
6298
|
+
noWrap: true,
|
|
6299
|
+
sx: {
|
|
6300
|
+
color: "#1E2939",
|
|
6301
|
+
fontSize: "16px",
|
|
6302
|
+
fontWeight: 500,
|
|
6303
|
+
lineHeight: "24px",
|
|
6304
|
+
letterSpacing: "-0.3125px"
|
|
6305
|
+
},
|
|
6306
|
+
children: title
|
|
6307
|
+
}
|
|
6308
|
+
),
|
|
6309
|
+
description && /* @__PURE__ */ jsx50(
|
|
6310
|
+
Typography14,
|
|
6311
|
+
{
|
|
6312
|
+
variant: "body2",
|
|
6313
|
+
sx: {
|
|
6314
|
+
color: "#6A7282",
|
|
6315
|
+
fontSize: "12px",
|
|
6316
|
+
lineHeight: "16px",
|
|
6317
|
+
mt: 0.25,
|
|
6318
|
+
overflow: "hidden",
|
|
6319
|
+
textOverflow: "ellipsis",
|
|
6320
|
+
display: "-webkit-box",
|
|
6321
|
+
WebkitLineClamp: 2,
|
|
6322
|
+
WebkitBoxOrient: "vertical"
|
|
6323
|
+
},
|
|
6324
|
+
children: description
|
|
6325
|
+
}
|
|
6326
|
+
)
|
|
6327
|
+
] }),
|
|
6328
|
+
/* @__PURE__ */ jsx50(
|
|
6329
|
+
NodeTypeBadge,
|
|
6330
|
+
{
|
|
6331
|
+
nodeType,
|
|
6332
|
+
badgeBackground: visualTokens.badgeBackground,
|
|
6333
|
+
badgeBorder: visualTokens.badgeBorder,
|
|
6334
|
+
badgeText: visualTokens.badgeText,
|
|
6335
|
+
icon,
|
|
6336
|
+
label: badgeLabel
|
|
6337
|
+
}
|
|
6338
|
+
)
|
|
6339
|
+
]
|
|
6340
|
+
}
|
|
6341
|
+
)
|
|
6342
|
+
]
|
|
6343
|
+
}
|
|
6344
|
+
);
|
|
6345
|
+
};
|
|
6346
|
+
|
|
6026
6347
|
// src/components/layout/Avatar.tsx
|
|
6027
6348
|
import MuiAvatar from "@mui/material/Avatar";
|
|
6028
6349
|
import { styled as styled34 } from "@mui/material/styles";
|
|
6029
|
-
import { jsx as
|
|
6350
|
+
import { jsx as jsx51 } from "react/jsx-runtime";
|
|
6030
6351
|
var sizeMap = {
|
|
6031
6352
|
small: 32,
|
|
6032
6353
|
medium: 40,
|
|
@@ -6043,7 +6364,7 @@ var StyledAvatar = styled34(MuiAvatar, {
|
|
|
6043
6364
|
}));
|
|
6044
6365
|
var Avatar5 = ({ size: size3 = "medium", ...props }) => {
|
|
6045
6366
|
const avatarSize = typeof size3 === "number" ? size3 : sizeMap[size3];
|
|
6046
|
-
return /* @__PURE__ */
|
|
6367
|
+
return /* @__PURE__ */ jsx51(StyledAvatar, { avatarSize, ...props });
|
|
6047
6368
|
};
|
|
6048
6369
|
|
|
6049
6370
|
// src/components/layout/Table.tsx
|
|
@@ -6057,7 +6378,7 @@ import {
|
|
|
6057
6378
|
TableSortLabel
|
|
6058
6379
|
} from "@mui/material";
|
|
6059
6380
|
import { styled as styled35 } from "@mui/material/styles";
|
|
6060
|
-
import { jsx as
|
|
6381
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
6061
6382
|
var StyledTableContainer = styled35(TableContainer)({
|
|
6062
6383
|
borderRadius: 8,
|
|
6063
6384
|
border: `1px solid ${colors.grey[200]}`
|
|
@@ -6070,7 +6391,7 @@ var StyledTableHead = styled35(TableHead)({
|
|
|
6070
6391
|
}
|
|
6071
6392
|
});
|
|
6072
6393
|
var Table = ({ stickyHeader = false, children, ...props }) => {
|
|
6073
|
-
return /* @__PURE__ */
|
|
6394
|
+
return /* @__PURE__ */ jsx52(StyledTableContainer, { children: /* @__PURE__ */ jsx52(MuiTable, { stickyHeader, ...props, children }) });
|
|
6074
6395
|
};
|
|
6075
6396
|
var TableHeader = ({
|
|
6076
6397
|
columns,
|
|
@@ -6078,7 +6399,7 @@ var TableHeader = ({
|
|
|
6078
6399
|
order = "asc",
|
|
6079
6400
|
onSort
|
|
6080
6401
|
}) => {
|
|
6081
|
-
return /* @__PURE__ */
|
|
6402
|
+
return /* @__PURE__ */ jsx52(StyledTableHead, { children: /* @__PURE__ */ jsx52(TableRow, { children: columns.map((column) => /* @__PURE__ */ jsx52(TableCell, { align: column.align || "left", children: column.sortable && onSort ? /* @__PURE__ */ jsx52(
|
|
6082
6403
|
TableSortLabel,
|
|
6083
6404
|
{
|
|
6084
6405
|
active: orderBy === column.id,
|
|
@@ -6095,9 +6416,9 @@ import { Grid2 } from "@mui/material";
|
|
|
6095
6416
|
// src/components/layout/Breadcrumbs.tsx
|
|
6096
6417
|
import MuiBreadcrumbs from "@mui/material/Breadcrumbs";
|
|
6097
6418
|
import Link4 from "@mui/material/Link";
|
|
6098
|
-
import
|
|
6419
|
+
import Typography15 from "@mui/material/Typography";
|
|
6099
6420
|
import { styled as styled36 } from "@mui/material/styles";
|
|
6100
|
-
import { jsx as
|
|
6421
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
6101
6422
|
var StyledBreadcrumbs = styled36(MuiBreadcrumbs)({
|
|
6102
6423
|
"& .MuiBreadcrumbs-ol": {
|
|
6103
6424
|
flexWrap: "nowrap"
|
|
@@ -6114,12 +6435,12 @@ var StyledLink2 = styled36(Link4)({
|
|
|
6114
6435
|
}
|
|
6115
6436
|
});
|
|
6116
6437
|
var Breadcrumbs = ({ items, ...props }) => {
|
|
6117
|
-
return /* @__PURE__ */
|
|
6438
|
+
return /* @__PURE__ */ jsx53(StyledBreadcrumbs, { ...props, children: items.map((item, index) => {
|
|
6118
6439
|
const isLast = index === items.length - 1;
|
|
6119
6440
|
if (isLast || !item.href && !item.onClick) {
|
|
6120
|
-
return /* @__PURE__ */
|
|
6441
|
+
return /* @__PURE__ */ jsx53(Typography15, { color: "text.primary", children: item.label }, index);
|
|
6121
6442
|
}
|
|
6122
|
-
return /* @__PURE__ */
|
|
6443
|
+
return /* @__PURE__ */ jsx53(
|
|
6123
6444
|
StyledLink2,
|
|
6124
6445
|
{
|
|
6125
6446
|
href: item.href,
|
|
@@ -6144,7 +6465,7 @@ import {
|
|
|
6144
6465
|
} from "@mui/material";
|
|
6145
6466
|
import ExpandMoreIcon2 from "@mui/icons-material/ExpandMore";
|
|
6146
6467
|
import { styled as styled37 } from "@mui/material/styles";
|
|
6147
|
-
import { jsx as
|
|
6468
|
+
import { jsx as jsx54, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
6148
6469
|
var StyledAccordion = styled37(MuiAccordion)({
|
|
6149
6470
|
borderRadius: 8,
|
|
6150
6471
|
boxShadow: "none",
|
|
@@ -6175,16 +6496,16 @@ var Accordion = ({
|
|
|
6175
6496
|
defaultExpanded = false,
|
|
6176
6497
|
...props
|
|
6177
6498
|
}) => {
|
|
6178
|
-
return /* @__PURE__ */
|
|
6179
|
-
/* @__PURE__ */
|
|
6180
|
-
/* @__PURE__ */
|
|
6499
|
+
return /* @__PURE__ */ jsxs25(StyledAccordion, { defaultExpanded, ...props, children: [
|
|
6500
|
+
/* @__PURE__ */ jsx54(StyledAccordionSummary, { expandIcon: /* @__PURE__ */ jsx54(ExpandMoreIcon2, {}), children: title }),
|
|
6501
|
+
/* @__PURE__ */ jsx54(StyledAccordionDetails, { children })
|
|
6181
6502
|
] });
|
|
6182
6503
|
};
|
|
6183
6504
|
|
|
6184
6505
|
// src/components/layout/Paper.tsx
|
|
6185
6506
|
import MuiPaper from "@mui/material/Paper";
|
|
6186
6507
|
import { styled as styled38 } from "@mui/material/styles";
|
|
6187
|
-
import { jsx as
|
|
6508
|
+
import { jsx as jsx55 } from "react/jsx-runtime";
|
|
6188
6509
|
var StyledPaper = styled38(MuiPaper)({
|
|
6189
6510
|
borderRadius: 8,
|
|
6190
6511
|
"&.MuiPaper-elevation": {
|
|
@@ -6195,29 +6516,29 @@ var StyledPaper = styled38(MuiPaper)({
|
|
|
6195
6516
|
boxShadow: "none"
|
|
6196
6517
|
}
|
|
6197
6518
|
});
|
|
6198
|
-
var
|
|
6199
|
-
return /* @__PURE__ */
|
|
6519
|
+
var Paper3 = ({ variant = "elevation", ...props }) => {
|
|
6520
|
+
return /* @__PURE__ */ jsx55(StyledPaper, { variant, elevation: variant === "elevation" ? 1 : 0, ...props });
|
|
6200
6521
|
};
|
|
6201
6522
|
|
|
6202
6523
|
// src/components/layout/Divider.tsx
|
|
6203
6524
|
import MuiDivider from "@mui/material/Divider";
|
|
6204
6525
|
import { styled as styled39 } from "@mui/material/styles";
|
|
6205
|
-
import { jsx as
|
|
6526
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
6206
6527
|
var StyledDivider2 = styled39(MuiDivider)({
|
|
6207
6528
|
borderColor: colors.grey[200]
|
|
6208
6529
|
});
|
|
6209
6530
|
var Divider6 = ({ ...props }) => {
|
|
6210
|
-
return /* @__PURE__ */
|
|
6531
|
+
return /* @__PURE__ */ jsx56(StyledDivider2, { ...props });
|
|
6211
6532
|
};
|
|
6212
6533
|
|
|
6213
6534
|
// src/components/layout/Stack.tsx
|
|
6214
6535
|
import { Stack as Stack4 } from "@mui/material";
|
|
6215
6536
|
|
|
6216
6537
|
// src/components/layout/Box.tsx
|
|
6217
|
-
import { Box as
|
|
6538
|
+
import { Box as Box18 } from "@mui/material";
|
|
6218
6539
|
|
|
6219
6540
|
// src/components/layout/Typography.tsx
|
|
6220
|
-
import { Typography as
|
|
6541
|
+
import { Typography as Typography16 } from "@mui/material";
|
|
6221
6542
|
|
|
6222
6543
|
// src/components/layout/Container.tsx
|
|
6223
6544
|
import { Container as Container2 } from "@mui/material";
|
|
@@ -6228,7 +6549,7 @@ import {
|
|
|
6228
6549
|
Toolbar
|
|
6229
6550
|
} from "@mui/material";
|
|
6230
6551
|
import { styled as styled40 } from "@mui/material/styles";
|
|
6231
|
-
import { jsx as
|
|
6552
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
6232
6553
|
var StyledAppBar = styled40(MuiAppBar, {
|
|
6233
6554
|
shouldForwardProp: (prop) => prop !== "appBarHeight"
|
|
6234
6555
|
})(({ appBarHeight = 64 }) => ({
|
|
@@ -6245,16 +6566,510 @@ var StyledToolbar = styled40(Toolbar)(({ theme: theme2 }) => ({
|
|
|
6245
6566
|
gap: theme2.spacing(2)
|
|
6246
6567
|
}));
|
|
6247
6568
|
var AppBar = ({ height = 64, children, ...props }) => {
|
|
6248
|
-
return /* @__PURE__ */
|
|
6569
|
+
return /* @__PURE__ */ jsx57(StyledAppBar, { position: "fixed", appBarHeight: height, ...props, children: /* @__PURE__ */ jsx57(StyledToolbar, { children }) });
|
|
6570
|
+
};
|
|
6571
|
+
|
|
6572
|
+
// src/components/layout/WorkflowTopBar/WorkflowTopBar.tsx
|
|
6573
|
+
import {
|
|
6574
|
+
Box as Box19,
|
|
6575
|
+
Divider as Divider7,
|
|
6576
|
+
IconButton as IconButton11,
|
|
6577
|
+
InputBase,
|
|
6578
|
+
Typography as Typography17,
|
|
6579
|
+
alpha as alpha2
|
|
6580
|
+
} from "@mui/material";
|
|
6581
|
+
import CloseIcon3 from "@mui/icons-material/Close";
|
|
6582
|
+
import CancelIcon from "@mui/icons-material/Cancel";
|
|
6583
|
+
import { jsx as jsx58, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
6584
|
+
var WorkflowTopBar = ({
|
|
6585
|
+
title = "Agent visualization flow chart",
|
|
6586
|
+
executionId,
|
|
6587
|
+
onExecutionIdChange,
|
|
6588
|
+
onClearExecutionId,
|
|
6589
|
+
submitLabel = "Submit",
|
|
6590
|
+
onSubmit,
|
|
6591
|
+
inspectorLabel = "Inspector",
|
|
6592
|
+
onInspectorToggle,
|
|
6593
|
+
onClose,
|
|
6594
|
+
showInspectorToggle = true,
|
|
6595
|
+
showCloseButton = true,
|
|
6596
|
+
sx,
|
|
6597
|
+
...boxProps
|
|
6598
|
+
}) => {
|
|
6599
|
+
return /* @__PURE__ */ jsxs26(
|
|
6600
|
+
Box19,
|
|
6601
|
+
{
|
|
6602
|
+
sx: {
|
|
6603
|
+
backgroundColor: "#fff",
|
|
6604
|
+
display: "flex",
|
|
6605
|
+
flexDirection: "column",
|
|
6606
|
+
width: "100%",
|
|
6607
|
+
...sx
|
|
6608
|
+
},
|
|
6609
|
+
...boxProps,
|
|
6610
|
+
children: [
|
|
6611
|
+
/* @__PURE__ */ jsxs26(
|
|
6612
|
+
Box19,
|
|
6613
|
+
{
|
|
6614
|
+
sx: {
|
|
6615
|
+
display: "flex",
|
|
6616
|
+
alignItems: "center",
|
|
6617
|
+
justifyContent: "space-between",
|
|
6618
|
+
gap: 2,
|
|
6619
|
+
px: 2,
|
|
6620
|
+
py: 2,
|
|
6621
|
+
minHeight: 72
|
|
6622
|
+
},
|
|
6623
|
+
children: [
|
|
6624
|
+
/* @__PURE__ */ jsx58(
|
|
6625
|
+
Typography17,
|
|
6626
|
+
{
|
|
6627
|
+
variant: "subtitle1",
|
|
6628
|
+
sx: {
|
|
6629
|
+
color: deploymentSurfaceTokens.textPrimary,
|
|
6630
|
+
fontWeight: 500,
|
|
6631
|
+
minWidth: 220
|
|
6632
|
+
},
|
|
6633
|
+
children: title
|
|
6634
|
+
}
|
|
6635
|
+
),
|
|
6636
|
+
/* @__PURE__ */ jsxs26(
|
|
6637
|
+
Box19,
|
|
6638
|
+
{
|
|
6639
|
+
sx: {
|
|
6640
|
+
display: "flex",
|
|
6641
|
+
alignItems: "center",
|
|
6642
|
+
gap: 2,
|
|
6643
|
+
justifyContent: "flex-end",
|
|
6644
|
+
flex: 1,
|
|
6645
|
+
minWidth: 0
|
|
6646
|
+
},
|
|
6647
|
+
children: [
|
|
6648
|
+
/* @__PURE__ */ jsxs26(
|
|
6649
|
+
Box19,
|
|
6650
|
+
{
|
|
6651
|
+
sx: {
|
|
6652
|
+
display: "flex",
|
|
6653
|
+
alignItems: "center",
|
|
6654
|
+
backgroundColor: "#D8D4DD",
|
|
6655
|
+
borderRadius: "4px 4px 0 0",
|
|
6656
|
+
borderBottom: "2px solid #A855F7",
|
|
6657
|
+
px: 2,
|
|
6658
|
+
minWidth: 320,
|
|
6659
|
+
maxWidth: 440,
|
|
6660
|
+
flex: "1 1 auto",
|
|
6661
|
+
minHeight: 56
|
|
6662
|
+
},
|
|
6663
|
+
children: [
|
|
6664
|
+
/* @__PURE__ */ jsxs26(Box19, { sx: { flex: 1, minWidth: 0 }, children: [
|
|
6665
|
+
/* @__PURE__ */ jsx58(
|
|
6666
|
+
Typography17,
|
|
6667
|
+
{
|
|
6668
|
+
variant: "caption",
|
|
6669
|
+
sx: {
|
|
6670
|
+
color: "#6A7282",
|
|
6671
|
+
fontSize: 12,
|
|
6672
|
+
display: "block"
|
|
6673
|
+
},
|
|
6674
|
+
children: "Execution CID"
|
|
6675
|
+
}
|
|
6676
|
+
),
|
|
6677
|
+
/* @__PURE__ */ jsx58(
|
|
6678
|
+
InputBase,
|
|
6679
|
+
{
|
|
6680
|
+
value: executionId,
|
|
6681
|
+
onChange: (event) => onExecutionIdChange?.(event.target.value),
|
|
6682
|
+
inputProps: { "aria-label": "Execution CID value" },
|
|
6683
|
+
sx: {
|
|
6684
|
+
width: "100%",
|
|
6685
|
+
mt: 0.25,
|
|
6686
|
+
"& .MuiInputBase-input": {
|
|
6687
|
+
p: 0,
|
|
6688
|
+
color: "#1D1B20",
|
|
6689
|
+
fontSize: 16,
|
|
6690
|
+
lineHeight: 1.5
|
|
6691
|
+
}
|
|
6692
|
+
}
|
|
6693
|
+
}
|
|
6694
|
+
)
|
|
6695
|
+
] }),
|
|
6696
|
+
/* @__PURE__ */ jsx58(
|
|
6697
|
+
IconButton11,
|
|
6698
|
+
{
|
|
6699
|
+
size: "small",
|
|
6700
|
+
"aria-label": "Clear execution ID",
|
|
6701
|
+
onClick: onClearExecutionId,
|
|
6702
|
+
sx: { color: "#4A4458", ml: 1 },
|
|
6703
|
+
children: /* @__PURE__ */ jsx58(CancelIcon, { fontSize: "small" })
|
|
6704
|
+
}
|
|
6705
|
+
)
|
|
6706
|
+
]
|
|
6707
|
+
}
|
|
6708
|
+
),
|
|
6709
|
+
/* @__PURE__ */ jsx58(
|
|
6710
|
+
Button,
|
|
6711
|
+
{
|
|
6712
|
+
variant: "primary",
|
|
6713
|
+
onClick: onSubmit,
|
|
6714
|
+
sx: {
|
|
6715
|
+
backgroundColor: "#B65FF4",
|
|
6716
|
+
"&:hover": {
|
|
6717
|
+
backgroundColor: "#A855F7"
|
|
6718
|
+
},
|
|
6719
|
+
"&:active": {
|
|
6720
|
+
backgroundColor: "#9333EA"
|
|
6721
|
+
}
|
|
6722
|
+
},
|
|
6723
|
+
children: submitLabel
|
|
6724
|
+
}
|
|
6725
|
+
),
|
|
6726
|
+
showInspectorToggle && /* @__PURE__ */ jsx58(Button, { variant: "secondary", onClick: onInspectorToggle, children: inspectorLabel }),
|
|
6727
|
+
showCloseButton && /* @__PURE__ */ jsx58(
|
|
6728
|
+
IconButton11,
|
|
6729
|
+
{
|
|
6730
|
+
"aria-label": "Close workflow chrome",
|
|
6731
|
+
onClick: onClose,
|
|
6732
|
+
sx: {
|
|
6733
|
+
width: 30,
|
|
6734
|
+
height: 30,
|
|
6735
|
+
backgroundColor: alpha2("#9E9EAE", 0.28),
|
|
6736
|
+
color: "#4A4458"
|
|
6737
|
+
},
|
|
6738
|
+
children: /* @__PURE__ */ jsx58(CloseIcon3, { fontSize: "small" })
|
|
6739
|
+
}
|
|
6740
|
+
)
|
|
6741
|
+
]
|
|
6742
|
+
}
|
|
6743
|
+
)
|
|
6744
|
+
]
|
|
6745
|
+
}
|
|
6746
|
+
),
|
|
6747
|
+
/* @__PURE__ */ jsx58(Divider7, { sx: { borderColor: deploymentSurfaceTokens.strokeOutside } })
|
|
6748
|
+
]
|
|
6749
|
+
}
|
|
6750
|
+
);
|
|
6751
|
+
};
|
|
6752
|
+
|
|
6753
|
+
// src/components/layout/WorkflowSideInspector/WorkflowSideInspector.tsx
|
|
6754
|
+
import {
|
|
6755
|
+
Box as Box20,
|
|
6756
|
+
Divider as Divider8,
|
|
6757
|
+
IconButton as IconButton12,
|
|
6758
|
+
Paper as Paper4,
|
|
6759
|
+
Typography as Typography18,
|
|
6760
|
+
alpha as alpha3
|
|
6761
|
+
} from "@mui/material";
|
|
6762
|
+
import CloseIcon4 from "@mui/icons-material/Close";
|
|
6763
|
+
import ContentCopyOutlinedIcon from "@mui/icons-material/ContentCopyOutlined";
|
|
6764
|
+
import { jsx as jsx59, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
6765
|
+
var INSPECTOR_WIDTH = 320;
|
|
6766
|
+
var DIVIDER_COLOR = "#D6CEDD";
|
|
6767
|
+
var MUTED_TEXT_COLOR = "#938F99";
|
|
6768
|
+
var InfoBlock = ({ label, value }) => /* @__PURE__ */ jsxs27(Box20, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
|
|
6769
|
+
/* @__PURE__ */ jsx59(Typography18, { variant: "body2", sx: { color: MUTED_TEXT_COLOR }, children: label }),
|
|
6770
|
+
/* @__PURE__ */ jsx59(
|
|
6771
|
+
Typography18,
|
|
6772
|
+
{
|
|
6773
|
+
variant: "body2",
|
|
6774
|
+
sx: { color: deploymentSurfaceTokens.textPrimary, whiteSpace: "pre-wrap" },
|
|
6775
|
+
children: value
|
|
6776
|
+
}
|
|
6777
|
+
)
|
|
6778
|
+
] });
|
|
6779
|
+
var WorkflowSideInspector = ({
|
|
6780
|
+
open = true,
|
|
6781
|
+
title = "Inspector",
|
|
6782
|
+
nodeTitle = "Player location cubby",
|
|
6783
|
+
nodeDescription = "Retrieving everything we know about this player so far.",
|
|
6784
|
+
nodeType = "cubbies",
|
|
6785
|
+
inputValue = "Get player topic tree",
|
|
6786
|
+
outputValue = "Topic tree with emotional trends and behavior patterns",
|
|
6787
|
+
cubbyId = "ID:S8787",
|
|
6788
|
+
timestamp = "2026-02-11 14:32:10",
|
|
6789
|
+
duration = "120ms",
|
|
6790
|
+
actionLabel = "View Logs",
|
|
6791
|
+
onClose,
|
|
6792
|
+
onCopyCubbyId,
|
|
6793
|
+
onAction,
|
|
6794
|
+
sx,
|
|
6795
|
+
...paperProps
|
|
6796
|
+
}) => {
|
|
6797
|
+
if (!open) {
|
|
6798
|
+
return null;
|
|
6799
|
+
}
|
|
6800
|
+
const accent = workflowNodeColors[nodeType];
|
|
6801
|
+
return /* @__PURE__ */ jsxs27(
|
|
6802
|
+
Paper4,
|
|
6803
|
+
{
|
|
6804
|
+
elevation: 0,
|
|
6805
|
+
sx: {
|
|
6806
|
+
width: INSPECTOR_WIDTH,
|
|
6807
|
+
minWidth: INSPECTOR_WIDTH,
|
|
6808
|
+
maxWidth: INSPECTOR_WIDTH,
|
|
6809
|
+
p: 3,
|
|
6810
|
+
backgroundColor: "#fff",
|
|
6811
|
+
borderRadius: 0,
|
|
6812
|
+
boxShadow: "0px 5px 8px rgba(0, 3, 11, 0.12), 0px 0px 1px rgba(0, 3, 11, 0.24)",
|
|
6813
|
+
display: "flex",
|
|
6814
|
+
flexDirection: "column",
|
|
6815
|
+
gap: 3,
|
|
6816
|
+
...sx
|
|
6817
|
+
},
|
|
6818
|
+
...paperProps,
|
|
6819
|
+
children: [
|
|
6820
|
+
/* @__PURE__ */ jsxs27(Box20, { sx: { display: "flex", flexDirection: "column", gap: 1.25 }, children: [
|
|
6821
|
+
/* @__PURE__ */ jsxs27(Box20, { sx: { display: "flex", alignItems: "center", justifyContent: "space-between" }, children: [
|
|
6822
|
+
/* @__PURE__ */ jsx59(Typography18, { variant: "subtitle1", sx: { color: deploymentSurfaceTokens.textPrimary }, children: title }),
|
|
6823
|
+
/* @__PURE__ */ jsx59(
|
|
6824
|
+
IconButton12,
|
|
6825
|
+
{
|
|
6826
|
+
"aria-label": "Close inspector",
|
|
6827
|
+
onClick: onClose,
|
|
6828
|
+
sx: {
|
|
6829
|
+
border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
|
|
6830
|
+
borderRadius: 2
|
|
6831
|
+
},
|
|
6832
|
+
children: /* @__PURE__ */ jsx59(CloseIcon4, { fontSize: "small" })
|
|
6833
|
+
}
|
|
6834
|
+
)
|
|
6835
|
+
] }),
|
|
6836
|
+
/* @__PURE__ */ jsx59(Divider8, { sx: { borderColor: DIVIDER_COLOR } })
|
|
6837
|
+
] }),
|
|
6838
|
+
/* @__PURE__ */ jsxs27(Box20, { sx: { display: "flex", flexDirection: "column", gap: 3, flex: 1 }, children: [
|
|
6839
|
+
/* @__PURE__ */ jsxs27(Box20, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
|
|
6840
|
+
/* @__PURE__ */ jsx59(
|
|
6841
|
+
Typography18,
|
|
6842
|
+
{
|
|
6843
|
+
variant: "subtitle1",
|
|
6844
|
+
sx: { color: deploymentSurfaceTokens.textPrimary, fontWeight: 500 },
|
|
6845
|
+
children: nodeTitle
|
|
6846
|
+
}
|
|
6847
|
+
),
|
|
6848
|
+
/* @__PURE__ */ jsx59(Typography18, { variant: "body2", sx: { color: MUTED_TEXT_COLOR }, children: nodeDescription }),
|
|
6849
|
+
/* @__PURE__ */ jsxs27(
|
|
6850
|
+
Box20,
|
|
6851
|
+
{
|
|
6852
|
+
sx: {
|
|
6853
|
+
display: "inline-flex",
|
|
6854
|
+
alignItems: "center",
|
|
6855
|
+
alignSelf: "flex-start",
|
|
6856
|
+
gap: 1,
|
|
6857
|
+
px: 1.25,
|
|
6858
|
+
py: 0.5,
|
|
6859
|
+
borderRadius: "999px",
|
|
6860
|
+
border: `1px solid ${accent}`,
|
|
6861
|
+
backgroundColor: alpha3(accent, 0.12)
|
|
6862
|
+
},
|
|
6863
|
+
children: [
|
|
6864
|
+
/* @__PURE__ */ jsx59(
|
|
6865
|
+
Box20,
|
|
6866
|
+
{
|
|
6867
|
+
sx: {
|
|
6868
|
+
width: 10,
|
|
6869
|
+
height: 10,
|
|
6870
|
+
borderRadius: "50%",
|
|
6871
|
+
backgroundColor: accent
|
|
6872
|
+
}
|
|
6873
|
+
}
|
|
6874
|
+
),
|
|
6875
|
+
/* @__PURE__ */ jsx59(Typography18, { variant: "caption", sx: { color: accent, fontWeight: 500 }, children: WORKFLOW_NODE_LABELS[nodeType] })
|
|
6876
|
+
]
|
|
6877
|
+
}
|
|
6878
|
+
)
|
|
6879
|
+
] }),
|
|
6880
|
+
/* @__PURE__ */ jsx59(Divider8, { sx: { borderColor: DIVIDER_COLOR } }),
|
|
6881
|
+
/* @__PURE__ */ jsxs27(Box20, { sx: { display: "flex", flexDirection: "column", gap: 2 }, children: [
|
|
6882
|
+
/* @__PURE__ */ jsx59(InfoBlock, { label: "Input", value: inputValue }),
|
|
6883
|
+
/* @__PURE__ */ jsx59(InfoBlock, { label: "Output", value: outputValue })
|
|
6884
|
+
] }),
|
|
6885
|
+
/* @__PURE__ */ jsx59(Divider8, { sx: { borderColor: DIVIDER_COLOR } }),
|
|
6886
|
+
/* @__PURE__ */ jsxs27(Box20, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
|
|
6887
|
+
/* @__PURE__ */ jsx59(Typography18, { variant: "body2", sx: { color: MUTED_TEXT_COLOR }, children: "Cubby ID" }),
|
|
6888
|
+
/* @__PURE__ */ jsx59(
|
|
6889
|
+
Button,
|
|
6890
|
+
{
|
|
6891
|
+
variant: "secondary",
|
|
6892
|
+
size: "small",
|
|
6893
|
+
startIcon: /* @__PURE__ */ jsx59(ContentCopyOutlinedIcon, { fontSize: "small" }),
|
|
6894
|
+
onClick: onCopyCubbyId,
|
|
6895
|
+
sx: { alignSelf: "flex-start" },
|
|
6896
|
+
children: cubbyId
|
|
6897
|
+
}
|
|
6898
|
+
)
|
|
6899
|
+
] }),
|
|
6900
|
+
/* @__PURE__ */ jsx59(Divider8, { sx: { borderColor: DIVIDER_COLOR } }),
|
|
6901
|
+
/* @__PURE__ */ jsxs27(Box20, { sx: { display: "flex", flexDirection: "column", gap: 2 }, children: [
|
|
6902
|
+
/* @__PURE__ */ jsx59(InfoBlock, { label: "Timestamp", value: timestamp }),
|
|
6903
|
+
/* @__PURE__ */ jsx59(InfoBlock, { label: "Duration", value: duration })
|
|
6904
|
+
] }),
|
|
6905
|
+
/* @__PURE__ */ jsx59(Divider8, { sx: { borderColor: DIVIDER_COLOR } })
|
|
6906
|
+
] }),
|
|
6907
|
+
/* @__PURE__ */ jsx59(Button, { variant: "primary", fullWidth: true, onClick: onAction, children: actionLabel })
|
|
6908
|
+
]
|
|
6909
|
+
}
|
|
6910
|
+
);
|
|
6911
|
+
};
|
|
6912
|
+
|
|
6913
|
+
// src/components/layout/WorkflowTimeBar/WorkflowTimeBar.tsx
|
|
6914
|
+
import {
|
|
6915
|
+
Box as Box21,
|
|
6916
|
+
Divider as Divider9,
|
|
6917
|
+
IconButton as IconButton13,
|
|
6918
|
+
LinearProgress as LinearProgress3,
|
|
6919
|
+
Typography as Typography19
|
|
6920
|
+
} from "@mui/material";
|
|
6921
|
+
import StopIcon from "@mui/icons-material/Stop";
|
|
6922
|
+
import ChevronLeftIcon2 from "@mui/icons-material/ChevronLeft";
|
|
6923
|
+
import ChevronRightIcon3 from "@mui/icons-material/ChevronRight";
|
|
6924
|
+
import ReplayIcon from "@mui/icons-material/Replay";
|
|
6925
|
+
import { jsx as jsx60, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
6926
|
+
var SpeedButton = ({ value, selected, onClick }) => /* @__PURE__ */ jsx60(
|
|
6927
|
+
Button,
|
|
6928
|
+
{
|
|
6929
|
+
variant: selected ? "primary" : "secondary",
|
|
6930
|
+
size: "small",
|
|
6931
|
+
onClick,
|
|
6932
|
+
sx: {
|
|
6933
|
+
minWidth: 48,
|
|
6934
|
+
px: 1.5,
|
|
6935
|
+
py: 0.25,
|
|
6936
|
+
borderRadius: 1,
|
|
6937
|
+
fontSize: 14,
|
|
6938
|
+
lineHeight: 1.4
|
|
6939
|
+
},
|
|
6940
|
+
children: `${value}x`
|
|
6941
|
+
}
|
|
6942
|
+
);
|
|
6943
|
+
var WorkflowTimeBar = ({
|
|
6944
|
+
elapsedTime = "01m : 12s",
|
|
6945
|
+
progress = 26,
|
|
6946
|
+
currentStep = 1,
|
|
6947
|
+
totalSteps = 16,
|
|
6948
|
+
speedOptions = [0.5, 1, 2, 4],
|
|
6949
|
+
selectedSpeed = 0.5,
|
|
6950
|
+
onStop,
|
|
6951
|
+
onPreviousStep,
|
|
6952
|
+
onNextStep,
|
|
6953
|
+
onSpeedChange,
|
|
6954
|
+
onReset,
|
|
6955
|
+
sx,
|
|
6956
|
+
...boxProps
|
|
6957
|
+
}) => {
|
|
6958
|
+
const boundedProgress = Math.max(0, Math.min(100, progress));
|
|
6959
|
+
const atFirstStep = currentStep <= 1;
|
|
6960
|
+
const atLastStep = currentStep >= totalSteps;
|
|
6961
|
+
return /* @__PURE__ */ jsxs28(
|
|
6962
|
+
Box21,
|
|
6963
|
+
{
|
|
6964
|
+
sx: {
|
|
6965
|
+
width: "100%",
|
|
6966
|
+
backgroundColor: "#fff",
|
|
6967
|
+
px: 2,
|
|
6968
|
+
pb: 2,
|
|
6969
|
+
display: "flex",
|
|
6970
|
+
flexDirection: "column",
|
|
6971
|
+
gap: 2,
|
|
6972
|
+
...sx
|
|
6973
|
+
},
|
|
6974
|
+
...boxProps,
|
|
6975
|
+
children: [
|
|
6976
|
+
/* @__PURE__ */ jsx60(Divider9, { sx: { borderColor: deploymentSurfaceTokens.strokeOutside } }),
|
|
6977
|
+
/* @__PURE__ */ jsxs28(Box21, { sx: { display: "flex", alignItems: "center", gap: 2 }, children: [
|
|
6978
|
+
/* @__PURE__ */ jsx60(
|
|
6979
|
+
IconButton13,
|
|
6980
|
+
{
|
|
6981
|
+
onClick: onStop,
|
|
6982
|
+
"aria-label": "Stop playback",
|
|
6983
|
+
sx: {
|
|
6984
|
+
width: 40,
|
|
6985
|
+
height: 40,
|
|
6986
|
+
border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
|
|
6987
|
+
borderRadius: 1,
|
|
6988
|
+
color: deploymentSurfaceTokens.textPrimary,
|
|
6989
|
+
backgroundColor: deploymentSurfaceTokens.surfaceHigh
|
|
6990
|
+
},
|
|
6991
|
+
children: /* @__PURE__ */ jsx60(StopIcon, { sx: { fontSize: 16 } })
|
|
6992
|
+
}
|
|
6993
|
+
),
|
|
6994
|
+
/* @__PURE__ */ jsxs28(Box21, { sx: { flex: 1, minWidth: 220, px: 1 }, children: [
|
|
6995
|
+
/* @__PURE__ */ jsx60(
|
|
6996
|
+
Typography19,
|
|
6997
|
+
{
|
|
6998
|
+
variant: "body2",
|
|
6999
|
+
sx: { color: deploymentSurfaceTokens.textPrimary, mb: 0.5 },
|
|
7000
|
+
children: elapsedTime
|
|
7001
|
+
}
|
|
7002
|
+
),
|
|
7003
|
+
/* @__PURE__ */ jsx60(
|
|
7004
|
+
LinearProgress3,
|
|
7005
|
+
{
|
|
7006
|
+
variant: "determinate",
|
|
7007
|
+
value: boundedProgress,
|
|
7008
|
+
sx: {
|
|
7009
|
+
height: 3,
|
|
7010
|
+
borderRadius: 999,
|
|
7011
|
+
backgroundColor: "#CEC6D8",
|
|
7012
|
+
"& .MuiLinearProgress-bar": {
|
|
7013
|
+
backgroundColor: "#5865F2"
|
|
7014
|
+
}
|
|
7015
|
+
}
|
|
7016
|
+
}
|
|
7017
|
+
)
|
|
7018
|
+
] }),
|
|
7019
|
+
/* @__PURE__ */ jsxs28(Box21, { sx: { display: "flex", alignItems: "center", gap: 3 }, children: [
|
|
7020
|
+
/* @__PURE__ */ jsxs28(Box21, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
7021
|
+
/* @__PURE__ */ jsx60(Typography19, { variant: "subtitle1", sx: { fontWeight: 500 }, children: "Steps" }),
|
|
7022
|
+
/* @__PURE__ */ jsx60(
|
|
7023
|
+
IconButton13,
|
|
7024
|
+
{
|
|
7025
|
+
size: "small",
|
|
7026
|
+
"aria-label": "Previous step",
|
|
7027
|
+
onClick: onPreviousStep,
|
|
7028
|
+
disabled: atFirstStep,
|
|
7029
|
+
sx: { backgroundColor: "#F5F1F7" },
|
|
7030
|
+
children: /* @__PURE__ */ jsx60(ChevronLeftIcon2, { fontSize: "small" })
|
|
7031
|
+
}
|
|
7032
|
+
),
|
|
7033
|
+
/* @__PURE__ */ jsx60(Typography19, { variant: "subtitle1", sx: { minWidth: 52, textAlign: "center" }, children: `${currentStep} / ${totalSteps}` }),
|
|
7034
|
+
/* @__PURE__ */ jsx60(
|
|
7035
|
+
IconButton13,
|
|
7036
|
+
{
|
|
7037
|
+
size: "small",
|
|
7038
|
+
"aria-label": "Next step",
|
|
7039
|
+
onClick: onNextStep,
|
|
7040
|
+
disabled: atLastStep,
|
|
7041
|
+
sx: { backgroundColor: "#E7E0EC" },
|
|
7042
|
+
children: /* @__PURE__ */ jsx60(ChevronRightIcon3, { fontSize: "small" })
|
|
7043
|
+
}
|
|
7044
|
+
)
|
|
7045
|
+
] }),
|
|
7046
|
+
/* @__PURE__ */ jsxs28(Box21, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
7047
|
+
/* @__PURE__ */ jsx60(Typography19, { variant: "subtitle1", sx: { fontWeight: 500 }, children: "Speed" }),
|
|
7048
|
+
speedOptions.map((option) => /* @__PURE__ */ jsx60(
|
|
7049
|
+
SpeedButton,
|
|
7050
|
+
{
|
|
7051
|
+
value: option,
|
|
7052
|
+
selected: option === selectedSpeed,
|
|
7053
|
+
onClick: () => onSpeedChange?.(option)
|
|
7054
|
+
},
|
|
7055
|
+
option
|
|
7056
|
+
)),
|
|
7057
|
+
/* @__PURE__ */ jsx60(IconButton13, { "aria-label": "Reset playback", onClick: onReset, size: "small", children: /* @__PURE__ */ jsx60(ReplayIcon, { fontSize: "small" }) })
|
|
7058
|
+
] })
|
|
7059
|
+
] })
|
|
7060
|
+
] })
|
|
7061
|
+
]
|
|
7062
|
+
}
|
|
7063
|
+
);
|
|
6249
7064
|
};
|
|
6250
7065
|
|
|
6251
7066
|
// src/components/layout/Collapse.tsx
|
|
6252
7067
|
import {
|
|
6253
7068
|
Collapse as MuiCollapse
|
|
6254
7069
|
} from "@mui/material";
|
|
6255
|
-
import { jsx as
|
|
7070
|
+
import { jsx as jsx61 } from "react/jsx-runtime";
|
|
6256
7071
|
var Collapse = (props) => {
|
|
6257
|
-
return /* @__PURE__ */
|
|
7072
|
+
return /* @__PURE__ */ jsx61(MuiCollapse, { ...props });
|
|
6258
7073
|
};
|
|
6259
7074
|
|
|
6260
7075
|
// src/components/feedback/Alert.tsx
|
|
@@ -6263,7 +7078,7 @@ import MuiAlert from "@mui/material/Alert";
|
|
|
6263
7078
|
import { AlertTitle as MuiAlertTitle } from "@mui/material";
|
|
6264
7079
|
import MuiSnackbar from "@mui/material/Snackbar";
|
|
6265
7080
|
import { styled as styled41 } from "@mui/material/styles";
|
|
6266
|
-
import { jsx as
|
|
7081
|
+
import { jsx as jsx62, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
6267
7082
|
var StyledAlert = styled41(MuiAlert)({
|
|
6268
7083
|
borderRadius: 8,
|
|
6269
7084
|
"&.MuiAlert-filled": {
|
|
@@ -6276,8 +7091,8 @@ var Alert2 = ({
|
|
|
6276
7091
|
children,
|
|
6277
7092
|
...props
|
|
6278
7093
|
}) => {
|
|
6279
|
-
return /* @__PURE__ */
|
|
6280
|
-
title && /* @__PURE__ */
|
|
7094
|
+
return /* @__PURE__ */ jsxs29(StyledAlert, { severity, ...props, children: [
|
|
7095
|
+
title && /* @__PURE__ */ jsx62(MuiAlertTitle, { children: title }),
|
|
6281
7096
|
children
|
|
6282
7097
|
] });
|
|
6283
7098
|
};
|
|
@@ -6299,7 +7114,7 @@ var Snackbar2 = ({
|
|
|
6299
7114
|
}
|
|
6300
7115
|
onClose?.();
|
|
6301
7116
|
};
|
|
6302
|
-
const content = children || (message ? /* @__PURE__ */
|
|
7117
|
+
const content = children || (message ? /* @__PURE__ */ jsx62(
|
|
6303
7118
|
Alert2,
|
|
6304
7119
|
{
|
|
6305
7120
|
onClose: onClose ? handleClose : void 0,
|
|
@@ -6325,7 +7140,7 @@ var Snackbar2 = ({
|
|
|
6325
7140
|
}
|
|
6326
7141
|
);
|
|
6327
7142
|
NoTransition.displayName = "NoTransition";
|
|
6328
|
-
return /* @__PURE__ */
|
|
7143
|
+
return /* @__PURE__ */ jsx62(
|
|
6329
7144
|
StyledSnackbar,
|
|
6330
7145
|
{
|
|
6331
7146
|
anchorOrigin,
|
|
@@ -6345,16 +7160,16 @@ var Snackbar2 = ({
|
|
|
6345
7160
|
};
|
|
6346
7161
|
|
|
6347
7162
|
// src/components/feedback/EmptyState.tsx
|
|
6348
|
-
import { Box as
|
|
6349
|
-
import { jsx as
|
|
7163
|
+
import { Box as Box22, Typography as Typography20 } from "@mui/material";
|
|
7164
|
+
import { jsx as jsx63, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6350
7165
|
var EmptyState = ({
|
|
6351
7166
|
title = "No items found",
|
|
6352
7167
|
description,
|
|
6353
7168
|
icon,
|
|
6354
7169
|
action
|
|
6355
7170
|
}) => {
|
|
6356
|
-
return /* @__PURE__ */
|
|
6357
|
-
|
|
7171
|
+
return /* @__PURE__ */ jsxs30(
|
|
7172
|
+
Box22,
|
|
6358
7173
|
{
|
|
6359
7174
|
sx: {
|
|
6360
7175
|
display: "flex",
|
|
@@ -6366,8 +7181,8 @@ var EmptyState = ({
|
|
|
6366
7181
|
minHeight: 200
|
|
6367
7182
|
},
|
|
6368
7183
|
children: [
|
|
6369
|
-
icon && /* @__PURE__ */
|
|
6370
|
-
|
|
7184
|
+
icon && /* @__PURE__ */ jsx63(
|
|
7185
|
+
Box22,
|
|
6371
7186
|
{
|
|
6372
7187
|
sx: {
|
|
6373
7188
|
color: colors.text.secondary,
|
|
@@ -6377,24 +7192,24 @@ var EmptyState = ({
|
|
|
6377
7192
|
children: icon
|
|
6378
7193
|
}
|
|
6379
7194
|
),
|
|
6380
|
-
/* @__PURE__ */
|
|
6381
|
-
description && /* @__PURE__ */
|
|
6382
|
-
action && /* @__PURE__ */
|
|
7195
|
+
/* @__PURE__ */ jsx63(Typography20, { variant: "h6", sx: { marginBottom: 1, color: colors.text.primary }, children: title }),
|
|
7196
|
+
description && /* @__PURE__ */ jsx63(Typography20, { variant: "body2", sx: { color: colors.text.secondary, marginBottom: 3 }, children: description }),
|
|
7197
|
+
action && /* @__PURE__ */ jsx63(Box22, { children: action })
|
|
6383
7198
|
]
|
|
6384
7199
|
}
|
|
6385
7200
|
);
|
|
6386
7201
|
};
|
|
6387
7202
|
|
|
6388
7203
|
// src/components/feedback/Loading.tsx
|
|
6389
|
-
import { Box as
|
|
6390
|
-
import { jsx as
|
|
7204
|
+
import { Box as Box23, CircularProgress as CircularProgress4, Typography as Typography21 } from "@mui/material";
|
|
7205
|
+
import { jsx as jsx64, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6391
7206
|
var Loading = ({
|
|
6392
7207
|
message = "Loading...",
|
|
6393
7208
|
size: size3 = 40,
|
|
6394
7209
|
fullScreen = false
|
|
6395
7210
|
}) => {
|
|
6396
|
-
const content = /* @__PURE__ */
|
|
6397
|
-
|
|
7211
|
+
const content = /* @__PURE__ */ jsxs31(
|
|
7212
|
+
Box23,
|
|
6398
7213
|
{
|
|
6399
7214
|
sx: {
|
|
6400
7215
|
display: "flex",
|
|
@@ -6416,8 +7231,8 @@ var Loading = ({
|
|
|
6416
7231
|
}
|
|
6417
7232
|
},
|
|
6418
7233
|
children: [
|
|
6419
|
-
/* @__PURE__ */
|
|
6420
|
-
message && /* @__PURE__ */
|
|
7234
|
+
/* @__PURE__ */ jsx64(CircularProgress4, { size: size3, thickness: 4 }),
|
|
7235
|
+
message && /* @__PURE__ */ jsx64(Typography21, { variant: "body2", color: "text.secondary", children: message })
|
|
6421
7236
|
]
|
|
6422
7237
|
}
|
|
6423
7238
|
);
|
|
@@ -6425,15 +7240,15 @@ var Loading = ({
|
|
|
6425
7240
|
};
|
|
6426
7241
|
|
|
6427
7242
|
// src/components/feedback/AppLoading.tsx
|
|
6428
|
-
import { Box as
|
|
6429
|
-
import { jsx as
|
|
7243
|
+
import { Box as Box24, CircularProgress as CircularProgress5, Typography as Typography22 } from "@mui/material";
|
|
7244
|
+
import { jsx as jsx65, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
6430
7245
|
var AppLoading = ({
|
|
6431
7246
|
message = "Loading...",
|
|
6432
7247
|
logo = "/icons/logo.png",
|
|
6433
7248
|
sx = {}
|
|
6434
7249
|
}) => {
|
|
6435
|
-
return /* @__PURE__ */
|
|
6436
|
-
|
|
7250
|
+
return /* @__PURE__ */ jsxs32(
|
|
7251
|
+
Box24,
|
|
6437
7252
|
{
|
|
6438
7253
|
sx: {
|
|
6439
7254
|
display: "flex",
|
|
@@ -6451,8 +7266,8 @@ var AppLoading = ({
|
|
|
6451
7266
|
...sx
|
|
6452
7267
|
},
|
|
6453
7268
|
children: [
|
|
6454
|
-
logo && /* @__PURE__ */
|
|
6455
|
-
|
|
7269
|
+
logo && /* @__PURE__ */ jsx65(
|
|
7270
|
+
Box24,
|
|
6456
7271
|
{
|
|
6457
7272
|
component: "img",
|
|
6458
7273
|
src: logo,
|
|
@@ -6464,8 +7279,8 @@ var AppLoading = ({
|
|
|
6464
7279
|
}
|
|
6465
7280
|
}
|
|
6466
7281
|
),
|
|
6467
|
-
/* @__PURE__ */
|
|
6468
|
-
/* @__PURE__ */
|
|
7282
|
+
/* @__PURE__ */ jsx65(CircularProgress5, { size: 40, thickness: 4, sx: { mb: 2 } }),
|
|
7283
|
+
/* @__PURE__ */ jsx65(Typography22, { variant: "body1", color: "text.secondary", children: message })
|
|
6469
7284
|
]
|
|
6470
7285
|
}
|
|
6471
7286
|
);
|
|
@@ -6475,22 +7290,22 @@ var AppLoading = ({
|
|
|
6475
7290
|
import {
|
|
6476
7291
|
CircularProgress as MuiCircularProgress
|
|
6477
7292
|
} from "@mui/material";
|
|
6478
|
-
import { jsx as
|
|
7293
|
+
import { jsx as jsx66 } from "react/jsx-runtime";
|
|
6479
7294
|
var CircularProgress6 = ({
|
|
6480
7295
|
size: size3 = 40,
|
|
6481
7296
|
thickness = 4,
|
|
6482
7297
|
...props
|
|
6483
7298
|
}) => {
|
|
6484
|
-
return /* @__PURE__ */
|
|
7299
|
+
return /* @__PURE__ */ jsx66(MuiCircularProgress, { size: size3, thickness, ...props });
|
|
6485
7300
|
};
|
|
6486
7301
|
|
|
6487
7302
|
// src/components/icons/ActivityAppIcon.tsx
|
|
6488
7303
|
import { memo as memo2 } from "react";
|
|
6489
7304
|
import { SvgIcon as SvgIcon2 } from "@mui/material";
|
|
6490
|
-
import { jsx as
|
|
6491
|
-
var ActivityAppIcon = memo2((props) => /* @__PURE__ */
|
|
6492
|
-
/* @__PURE__ */
|
|
6493
|
-
/* @__PURE__ */
|
|
7305
|
+
import { jsx as jsx67, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
7306
|
+
var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs33(SvgIcon2, { ...props, viewBox: "0 0 36 36", children: [
|
|
7307
|
+
/* @__PURE__ */ jsx67("rect", { fill: "none", stroke: "currentColor", width: 34, height: 34, x: 1, y: 1, strokeWidth: 1.5, rx: 6.8 }),
|
|
7308
|
+
/* @__PURE__ */ jsx67(
|
|
6494
7309
|
"rect",
|
|
6495
7310
|
{
|
|
6496
7311
|
fill: "none",
|
|
@@ -6503,7 +7318,7 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs29(SvgIcon2, { ...pro
|
|
|
6503
7318
|
rx: 1.7
|
|
6504
7319
|
}
|
|
6505
7320
|
),
|
|
6506
|
-
/* @__PURE__ */
|
|
7321
|
+
/* @__PURE__ */ jsx67(
|
|
6507
7322
|
"rect",
|
|
6508
7323
|
{
|
|
6509
7324
|
fill: "none",
|
|
@@ -6516,7 +7331,7 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs29(SvgIcon2, { ...pro
|
|
|
6516
7331
|
rx: 1.7
|
|
6517
7332
|
}
|
|
6518
7333
|
),
|
|
6519
|
-
/* @__PURE__ */
|
|
7334
|
+
/* @__PURE__ */ jsx67(
|
|
6520
7335
|
"rect",
|
|
6521
7336
|
{
|
|
6522
7337
|
fill: "none",
|
|
@@ -6533,9 +7348,9 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs29(SvgIcon2, { ...pro
|
|
|
6533
7348
|
|
|
6534
7349
|
// src/components/icons/ArrowLeft.tsx
|
|
6535
7350
|
import { SvgIcon as SvgIcon3 } from "@mui/material";
|
|
6536
|
-
import { jsx as
|
|
7351
|
+
import { jsx as jsx68 } from "react/jsx-runtime";
|
|
6537
7352
|
var LeftArrowIcon = (props) => {
|
|
6538
|
-
return /* @__PURE__ */
|
|
7353
|
+
return /* @__PURE__ */ jsx68(SvgIcon3, { ...props, width: "24", height: "24", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx68("g", { id: " Arrow Left", children: /* @__PURE__ */ jsx68(
|
|
6539
7354
|
"path",
|
|
6540
7355
|
{
|
|
6541
7356
|
id: "Vector (Stroke)",
|
|
@@ -6549,9 +7364,9 @@ var LeftArrowIcon = (props) => {
|
|
|
6549
7364
|
|
|
6550
7365
|
// src/components/icons/ArrowRight.tsx
|
|
6551
7366
|
import { SvgIcon as SvgIcon4 } from "@mui/material";
|
|
6552
|
-
import { jsx as
|
|
7367
|
+
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
6553
7368
|
var RightArrowIcon = (props) => {
|
|
6554
|
-
return /* @__PURE__ */
|
|
7369
|
+
return /* @__PURE__ */ jsx69(SvgIcon4, { ...props, width: "25", height: "24", viewBox: "0 0 25 24", children: /* @__PURE__ */ jsx69(
|
|
6555
7370
|
"path",
|
|
6556
7371
|
{
|
|
6557
7372
|
fillRule: "evenodd",
|
|
@@ -6564,10 +7379,10 @@ var RightArrowIcon = (props) => {
|
|
|
6564
7379
|
|
|
6565
7380
|
// src/components/icons/AvatarIcon.tsx
|
|
6566
7381
|
import { SvgIcon as SvgIcon5 } from "@mui/material";
|
|
6567
|
-
import { jsx as
|
|
7382
|
+
import { jsx as jsx70, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
6568
7383
|
var AvatarIcon = (props) => {
|
|
6569
|
-
return /* @__PURE__ */
|
|
6570
|
-
/* @__PURE__ */
|
|
7384
|
+
return /* @__PURE__ */ jsxs34(SvgIcon5, { ...props, viewBox: "0 0 16 16", children: [
|
|
7385
|
+
/* @__PURE__ */ jsx70(
|
|
6571
7386
|
"path",
|
|
6572
7387
|
{
|
|
6573
7388
|
fillRule: "evenodd",
|
|
@@ -6576,7 +7391,7 @@ var AvatarIcon = (props) => {
|
|
|
6576
7391
|
fill: "#1D1B20"
|
|
6577
7392
|
}
|
|
6578
7393
|
),
|
|
6579
|
-
/* @__PURE__ */
|
|
7394
|
+
/* @__PURE__ */ jsx70(
|
|
6580
7395
|
"path",
|
|
6581
7396
|
{
|
|
6582
7397
|
fillRule: "evenodd",
|
|
@@ -6591,9 +7406,9 @@ var AvatarIcon = (props) => {
|
|
|
6591
7406
|
// src/components/icons/BarTrackingIcon.tsx
|
|
6592
7407
|
import { memo as memo3 } from "react";
|
|
6593
7408
|
import { SvgIcon as SvgIcon6 } from "@mui/material";
|
|
6594
|
-
import { jsx as
|
|
6595
|
-
var BarTrackingIcon = memo3((props) => /* @__PURE__ */
|
|
6596
|
-
/* @__PURE__ */
|
|
7409
|
+
import { jsx as jsx71, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
7410
|
+
var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs35(SvgIcon6, { ...props, viewBox: "0 0 96 97", children: [
|
|
7411
|
+
/* @__PURE__ */ jsx71(
|
|
6597
7412
|
"rect",
|
|
6598
7413
|
{
|
|
6599
7414
|
x: "7.19922",
|
|
@@ -6606,7 +7421,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs31(SvgIcon6, { ...pro
|
|
|
6606
7421
|
fill: "none"
|
|
6607
7422
|
}
|
|
6608
7423
|
),
|
|
6609
|
-
/* @__PURE__ */
|
|
7424
|
+
/* @__PURE__ */ jsx71(
|
|
6610
7425
|
"rect",
|
|
6611
7426
|
{
|
|
6612
7427
|
x: "21.0371",
|
|
@@ -6619,7 +7434,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs31(SvgIcon6, { ...pro
|
|
|
6619
7434
|
strokeWidth: "2"
|
|
6620
7435
|
}
|
|
6621
7436
|
),
|
|
6622
|
-
/* @__PURE__ */
|
|
7437
|
+
/* @__PURE__ */ jsx71(
|
|
6623
7438
|
"rect",
|
|
6624
7439
|
{
|
|
6625
7440
|
x: "40.4746",
|
|
@@ -6632,7 +7447,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs31(SvgIcon6, { ...pro
|
|
|
6632
7447
|
strokeWidth: "2"
|
|
6633
7448
|
}
|
|
6634
7449
|
),
|
|
6635
|
-
/* @__PURE__ */
|
|
7450
|
+
/* @__PURE__ */ jsx71(
|
|
6636
7451
|
"rect",
|
|
6637
7452
|
{
|
|
6638
7453
|
x: "59.8828",
|
|
@@ -6650,8 +7465,8 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs31(SvgIcon6, { ...pro
|
|
|
6650
7465
|
// src/components/icons/ClockIcon.tsx
|
|
6651
7466
|
import { memo as memo4 } from "react";
|
|
6652
7467
|
import { SvgIcon as SvgIcon7 } from "@mui/material";
|
|
6653
|
-
import { jsx as
|
|
6654
|
-
var ClockIcon = memo4((props) => /* @__PURE__ */
|
|
7468
|
+
import { jsx as jsx72 } from "react/jsx-runtime";
|
|
7469
|
+
var ClockIcon = memo4((props) => /* @__PURE__ */ jsx72(SvgIcon7, { ...props, viewBox: "0 0 22 22", children: /* @__PURE__ */ jsx72(
|
|
6655
7470
|
"path",
|
|
6656
7471
|
{
|
|
6657
7472
|
fill: "currentColor",
|
|
@@ -6664,9 +7479,9 @@ var ClockIcon = memo4((props) => /* @__PURE__ */ jsx68(SvgIcon7, { ...props, vie
|
|
|
6664
7479
|
// src/components/icons/CloudFlashIcon.tsx
|
|
6665
7480
|
import { memo as memo5 } from "react";
|
|
6666
7481
|
import { SvgIcon as SvgIcon8 } from "@mui/material";
|
|
6667
|
-
import { jsx as
|
|
6668
|
-
var CloudFlashIcon = memo5((props) => /* @__PURE__ */
|
|
6669
|
-
/* @__PURE__ */
|
|
7482
|
+
import { jsx as jsx73, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
7483
|
+
var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs36(SvgIcon8, { ...props, fill: "none", viewBox: "0 0 96 97", children: [
|
|
7484
|
+
/* @__PURE__ */ jsx73(
|
|
6670
7485
|
"path",
|
|
6671
7486
|
{
|
|
6672
7487
|
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",
|
|
@@ -6675,7 +7490,7 @@ var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs32(SvgIcon8, { ...prop
|
|
|
6675
7490
|
strokeWidth: "2"
|
|
6676
7491
|
}
|
|
6677
7492
|
),
|
|
6678
|
-
/* @__PURE__ */
|
|
7493
|
+
/* @__PURE__ */ jsx73(
|
|
6679
7494
|
"path",
|
|
6680
7495
|
{
|
|
6681
7496
|
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",
|
|
@@ -6689,9 +7504,9 @@ var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs32(SvgIcon8, { ...prop
|
|
|
6689
7504
|
// src/components/icons/DecentralizedServerIcon.tsx
|
|
6690
7505
|
import { memo as memo6 } from "react";
|
|
6691
7506
|
import { SvgIcon as SvgIcon9 } from "@mui/material";
|
|
6692
|
-
import { jsx as
|
|
6693
|
-
var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */
|
|
6694
|
-
/* @__PURE__ */
|
|
7507
|
+
import { jsx as jsx74, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
7508
|
+
var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs37(SvgIcon9, { ...props, viewBox: "0 0 96 97", children: [
|
|
7509
|
+
/* @__PURE__ */ jsx74(
|
|
6695
7510
|
"path",
|
|
6696
7511
|
{
|
|
6697
7512
|
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",
|
|
@@ -6702,7 +7517,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
|
|
|
6702
7517
|
strokeLinejoin: "round"
|
|
6703
7518
|
}
|
|
6704
7519
|
),
|
|
6705
|
-
/* @__PURE__ */
|
|
7520
|
+
/* @__PURE__ */ jsx74(
|
|
6706
7521
|
"path",
|
|
6707
7522
|
{
|
|
6708
7523
|
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",
|
|
@@ -6713,7 +7528,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
|
|
|
6713
7528
|
strokeLinejoin: "round"
|
|
6714
7529
|
}
|
|
6715
7530
|
),
|
|
6716
|
-
/* @__PURE__ */
|
|
7531
|
+
/* @__PURE__ */ jsx74(
|
|
6717
7532
|
"path",
|
|
6718
7533
|
{
|
|
6719
7534
|
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",
|
|
@@ -6724,7 +7539,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
|
|
|
6724
7539
|
strokeLinejoin: "round"
|
|
6725
7540
|
}
|
|
6726
7541
|
),
|
|
6727
|
-
/* @__PURE__ */
|
|
7542
|
+
/* @__PURE__ */ jsx74(
|
|
6728
7543
|
"path",
|
|
6729
7544
|
{
|
|
6730
7545
|
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",
|
|
@@ -6735,7 +7550,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
|
|
|
6735
7550
|
strokeLinejoin: "round"
|
|
6736
7551
|
}
|
|
6737
7552
|
),
|
|
6738
|
-
/* @__PURE__ */
|
|
7553
|
+
/* @__PURE__ */ jsx74(
|
|
6739
7554
|
"path",
|
|
6740
7555
|
{
|
|
6741
7556
|
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",
|
|
@@ -6746,7 +7561,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
|
|
|
6746
7561
|
strokeLinejoin: "round"
|
|
6747
7562
|
}
|
|
6748
7563
|
),
|
|
6749
|
-
/* @__PURE__ */
|
|
7564
|
+
/* @__PURE__ */ jsx74(
|
|
6750
7565
|
"path",
|
|
6751
7566
|
{
|
|
6752
7567
|
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",
|
|
@@ -6757,7 +7572,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
|
|
|
6757
7572
|
strokeLinejoin: "round"
|
|
6758
7573
|
}
|
|
6759
7574
|
),
|
|
6760
|
-
/* @__PURE__ */
|
|
7575
|
+
/* @__PURE__ */ jsx74(
|
|
6761
7576
|
"path",
|
|
6762
7577
|
{
|
|
6763
7578
|
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",
|
|
@@ -6768,7 +7583,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
|
|
|
6768
7583
|
strokeLinejoin: "round"
|
|
6769
7584
|
}
|
|
6770
7585
|
),
|
|
6771
|
-
/* @__PURE__ */
|
|
7586
|
+
/* @__PURE__ */ jsx74(
|
|
6772
7587
|
"path",
|
|
6773
7588
|
{
|
|
6774
7589
|
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",
|
|
@@ -6779,7 +7594,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
|
|
|
6779
7594
|
strokeLinejoin: "round"
|
|
6780
7595
|
}
|
|
6781
7596
|
),
|
|
6782
|
-
/* @__PURE__ */
|
|
7597
|
+
/* @__PURE__ */ jsx74(
|
|
6783
7598
|
"path",
|
|
6784
7599
|
{
|
|
6785
7600
|
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",
|
|
@@ -6790,7 +7605,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
|
|
|
6790
7605
|
strokeLinejoin: "round"
|
|
6791
7606
|
}
|
|
6792
7607
|
),
|
|
6793
|
-
/* @__PURE__ */
|
|
7608
|
+
/* @__PURE__ */ jsx74(
|
|
6794
7609
|
"rect",
|
|
6795
7610
|
{
|
|
6796
7611
|
x: "22.623",
|
|
@@ -6803,7 +7618,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
|
|
|
6803
7618
|
strokeWidth: "2"
|
|
6804
7619
|
}
|
|
6805
7620
|
),
|
|
6806
|
-
/* @__PURE__ */
|
|
7621
|
+
/* @__PURE__ */ jsx74(
|
|
6807
7622
|
"rect",
|
|
6808
7623
|
{
|
|
6809
7624
|
x: "22.623",
|
|
@@ -6816,7 +7631,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
|
|
|
6816
7631
|
strokeWidth: "2"
|
|
6817
7632
|
}
|
|
6818
7633
|
),
|
|
6819
|
-
/* @__PURE__ */
|
|
7634
|
+
/* @__PURE__ */ jsx74(
|
|
6820
7635
|
"rect",
|
|
6821
7636
|
{
|
|
6822
7637
|
x: "22.623",
|
|
@@ -6829,7 +7644,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
|
|
|
6829
7644
|
strokeWidth: "2"
|
|
6830
7645
|
}
|
|
6831
7646
|
),
|
|
6832
|
-
/* @__PURE__ */
|
|
7647
|
+
/* @__PURE__ */ jsx74(
|
|
6833
7648
|
"path",
|
|
6834
7649
|
{
|
|
6835
7650
|
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",
|
|
@@ -6839,7 +7654,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
|
|
|
6839
7654
|
strokeMiterlimit: "10"
|
|
6840
7655
|
}
|
|
6841
7656
|
),
|
|
6842
|
-
/* @__PURE__ */
|
|
7657
|
+
/* @__PURE__ */ jsx74(
|
|
6843
7658
|
"path",
|
|
6844
7659
|
{
|
|
6845
7660
|
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",
|
|
@@ -6849,7 +7664,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
|
|
|
6849
7664
|
strokeMiterlimit: "10"
|
|
6850
7665
|
}
|
|
6851
7666
|
),
|
|
6852
|
-
/* @__PURE__ */
|
|
7667
|
+
/* @__PURE__ */ jsx74(
|
|
6853
7668
|
"path",
|
|
6854
7669
|
{
|
|
6855
7670
|
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",
|
|
@@ -6864,8 +7679,8 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9,
|
|
|
6864
7679
|
// src/components/icons/DiscordIcon.tsx
|
|
6865
7680
|
import { memo as memo7 } from "react";
|
|
6866
7681
|
import { SvgIcon as SvgIcon10 } from "@mui/material";
|
|
6867
|
-
import { jsx as
|
|
6868
|
-
var DiscordIcon = memo7((props) => /* @__PURE__ */
|
|
7682
|
+
import { jsx as jsx75 } from "react/jsx-runtime";
|
|
7683
|
+
var DiscordIcon = memo7((props) => /* @__PURE__ */ jsx75(SvgIcon10, { ...props, viewBox: "0 0 15 12", children: /* @__PURE__ */ jsx75(
|
|
6869
7684
|
"path",
|
|
6870
7685
|
{
|
|
6871
7686
|
fill: "currentColor",
|
|
@@ -6876,16 +7691,16 @@ var DiscordIcon = memo7((props) => /* @__PURE__ */ jsx71(SvgIcon10, { ...props,
|
|
|
6876
7691
|
// src/components/icons/DownloadIcon.tsx
|
|
6877
7692
|
import { memo as memo8 } from "react";
|
|
6878
7693
|
import { SvgIcon as SvgIcon11 } from "@mui/material";
|
|
6879
|
-
import { jsx as
|
|
6880
|
-
var DownloadIcon = memo8((props) => /* @__PURE__ */
|
|
6881
|
-
/* @__PURE__ */
|
|
7694
|
+
import { jsx as jsx76, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
7695
|
+
var DownloadIcon = memo8((props) => /* @__PURE__ */ jsxs38(SvgIcon11, { ...props, viewBox: "0 0 17 16", fill: "none", children: [
|
|
7696
|
+
/* @__PURE__ */ jsx76(
|
|
6882
7697
|
"path",
|
|
6883
7698
|
{
|
|
6884
7699
|
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",
|
|
6885
7700
|
fill: "currentColor"
|
|
6886
7701
|
}
|
|
6887
7702
|
),
|
|
6888
|
-
/* @__PURE__ */
|
|
7703
|
+
/* @__PURE__ */ jsx76(
|
|
6889
7704
|
"path",
|
|
6890
7705
|
{
|
|
6891
7706
|
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",
|
|
@@ -6897,11 +7712,11 @@ var DownloadIcon = memo8((props) => /* @__PURE__ */ jsxs34(SvgIcon11, { ...props
|
|
|
6897
7712
|
// src/components/icons/FilledFolderIcon.tsx
|
|
6898
7713
|
import { memo as memo9 } from "react";
|
|
6899
7714
|
import { SvgIcon as SvgIcon12 } from "@mui/material";
|
|
6900
|
-
import { jsx as
|
|
6901
|
-
var FilledFolderIcon = memo9((props) => /* @__PURE__ */
|
|
6902
|
-
/* @__PURE__ */
|
|
6903
|
-
/* @__PURE__ */
|
|
6904
|
-
/* @__PURE__ */
|
|
7715
|
+
import { jsx as jsx77, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
7716
|
+
var FilledFolderIcon = memo9((props) => /* @__PURE__ */ jsxs39(SvgIcon12, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
|
|
7717
|
+
/* @__PURE__ */ jsx77("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#FCF8EC" }),
|
|
7718
|
+
/* @__PURE__ */ jsx77("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E1B43E" }),
|
|
7719
|
+
/* @__PURE__ */ jsx77(
|
|
6905
7720
|
"path",
|
|
6906
7721
|
{
|
|
6907
7722
|
fillRule: "evenodd",
|
|
@@ -6915,11 +7730,11 @@ var FilledFolderIcon = memo9((props) => /* @__PURE__ */ jsxs35(SvgIcon12, { sx:
|
|
|
6915
7730
|
// src/components/icons/FolderIcon.tsx
|
|
6916
7731
|
import { memo as memo10 } from "react";
|
|
6917
7732
|
import { SvgIcon as SvgIcon13 } from "@mui/material";
|
|
6918
|
-
import { jsx as
|
|
6919
|
-
var FolderIcon = memo10((props) => /* @__PURE__ */
|
|
6920
|
-
/* @__PURE__ */
|
|
6921
|
-
/* @__PURE__ */
|
|
6922
|
-
/* @__PURE__ */
|
|
7733
|
+
import { jsx as jsx78, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
7734
|
+
var FolderIcon = memo10((props) => /* @__PURE__ */ jsxs40(SvgIcon13, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
|
|
7735
|
+
/* @__PURE__ */ jsx78("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#F5F7FA" }),
|
|
7736
|
+
/* @__PURE__ */ jsx78("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E6E6E6" }),
|
|
7737
|
+
/* @__PURE__ */ jsx78(
|
|
6923
7738
|
"path",
|
|
6924
7739
|
{
|
|
6925
7740
|
fillRule: "evenodd",
|
|
@@ -6935,16 +7750,16 @@ var FolderIcon = memo10((props) => /* @__PURE__ */ jsxs36(SvgIcon13, { sx: { fil
|
|
|
6935
7750
|
// src/components/icons/GithubLogoIcon.tsx
|
|
6936
7751
|
import { memo as memo11 } from "react";
|
|
6937
7752
|
import { SvgIcon as SvgIcon14 } from "@mui/material";
|
|
6938
|
-
import { jsx as
|
|
6939
|
-
var GithubLogoIcon = memo11((props) => /* @__PURE__ */
|
|
6940
|
-
/* @__PURE__ */
|
|
7753
|
+
import { jsx as jsx79, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
7754
|
+
var GithubLogoIcon = memo11((props) => /* @__PURE__ */ jsxs41(SvgIcon14, { ...props, viewBox: "0 0 17 16", sx: { fill: "none" }, children: [
|
|
7755
|
+
/* @__PURE__ */ jsx79(
|
|
6941
7756
|
"path",
|
|
6942
7757
|
{
|
|
6943
7758
|
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",
|
|
6944
7759
|
fill: "white"
|
|
6945
7760
|
}
|
|
6946
7761
|
),
|
|
6947
|
-
/* @__PURE__ */
|
|
7762
|
+
/* @__PURE__ */ jsx79(
|
|
6948
7763
|
"path",
|
|
6949
7764
|
{
|
|
6950
7765
|
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",
|
|
@@ -6956,8 +7771,8 @@ var GithubLogoIcon = memo11((props) => /* @__PURE__ */ jsxs37(SvgIcon14, { ...pr
|
|
|
6956
7771
|
// src/components/icons/ShareIcon.tsx
|
|
6957
7772
|
import { memo as memo12 } from "react";
|
|
6958
7773
|
import { SvgIcon as SvgIcon15 } from "@mui/material";
|
|
6959
|
-
import { jsx as
|
|
6960
|
-
var ShareIcon = memo12((props) => /* @__PURE__ */
|
|
7774
|
+
import { jsx as jsx80 } from "react/jsx-runtime";
|
|
7775
|
+
var ShareIcon = memo12((props) => /* @__PURE__ */ jsx80(SvgIcon15, { ...props, viewBox: "0 0 17 16", fill: "none", children: /* @__PURE__ */ jsx80(
|
|
6961
7776
|
"path",
|
|
6962
7777
|
{
|
|
6963
7778
|
fillRule: "evenodd",
|
|
@@ -6970,9 +7785,9 @@ var ShareIcon = memo12((props) => /* @__PURE__ */ jsx76(SvgIcon15, { ...props, v
|
|
|
6970
7785
|
// src/components/icons/StorageAppIcon.tsx
|
|
6971
7786
|
import { memo as memo13 } from "react";
|
|
6972
7787
|
import { SvgIcon as SvgIcon16 } from "@mui/material";
|
|
6973
|
-
import { jsx as
|
|
6974
|
-
var StorageAppIcon = memo13((props) => /* @__PURE__ */
|
|
6975
|
-
/* @__PURE__ */
|
|
7788
|
+
import { jsx as jsx81, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
7789
|
+
var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs42(SvgIcon16, { ...props, viewBox: "0 0 38 29", fill: "none", children: [
|
|
7790
|
+
/* @__PURE__ */ jsx81(
|
|
6976
7791
|
"path",
|
|
6977
7792
|
{
|
|
6978
7793
|
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",
|
|
@@ -6981,7 +7796,7 @@ var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs38(SvgIcon16, { ...pr
|
|
|
6981
7796
|
fill: "none"
|
|
6982
7797
|
}
|
|
6983
7798
|
),
|
|
6984
|
-
/* @__PURE__ */
|
|
7799
|
+
/* @__PURE__ */ jsx81(
|
|
6985
7800
|
"path",
|
|
6986
7801
|
{
|
|
6987
7802
|
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",
|
|
@@ -6995,8 +7810,8 @@ var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs38(SvgIcon16, { ...pr
|
|
|
6995
7810
|
// src/components/icons/UploadFileIcon.tsx
|
|
6996
7811
|
import { memo as memo14 } from "react";
|
|
6997
7812
|
import { SvgIcon as SvgIcon17 } from "@mui/material";
|
|
6998
|
-
import { jsx as
|
|
6999
|
-
var UploadFileIcon = memo14((props) => /* @__PURE__ */
|
|
7813
|
+
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
7814
|
+
var UploadFileIcon = memo14((props) => /* @__PURE__ */ jsx82(SvgIcon17, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx82(
|
|
7000
7815
|
"path",
|
|
7001
7816
|
{
|
|
7002
7817
|
fillRule: "evenodd",
|
|
@@ -7011,8 +7826,8 @@ var UploadFileIcon = memo14((props) => /* @__PURE__ */ jsx78(SvgIcon17, { ...pro
|
|
|
7011
7826
|
// src/components/icons/UploadFolderIcon.tsx
|
|
7012
7827
|
import { memo as memo15 } from "react";
|
|
7013
7828
|
import { SvgIcon as SvgIcon18 } from "@mui/material";
|
|
7014
|
-
import { jsx as
|
|
7015
|
-
var UploadFolderIcon = memo15((props) => /* @__PURE__ */
|
|
7829
|
+
import { jsx as jsx83 } from "react/jsx-runtime";
|
|
7830
|
+
var UploadFolderIcon = memo15((props) => /* @__PURE__ */ jsx83(SvgIcon18, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx83(
|
|
7016
7831
|
"path",
|
|
7017
7832
|
{
|
|
7018
7833
|
fillRule: "evenodd",
|
|
@@ -7025,14 +7840,14 @@ var UploadFolderIcon = memo15((props) => /* @__PURE__ */ jsx79(SvgIcon18, { ...p
|
|
|
7025
7840
|
) }));
|
|
7026
7841
|
|
|
7027
7842
|
// src/components/utilities/Markdown/Markdown.tsx
|
|
7028
|
-
import { Box as
|
|
7843
|
+
import { Box as Box25, styled as styled42 } from "@mui/material";
|
|
7029
7844
|
import "highlight.js/styles/github.css";
|
|
7030
7845
|
import "github-markdown-css/github-markdown-light.css";
|
|
7031
7846
|
import MD from "react-markdown";
|
|
7032
7847
|
import highlight from "rehype-highlight";
|
|
7033
7848
|
import rehypeRaw from "rehype-raw";
|
|
7034
|
-
import { jsx as
|
|
7035
|
-
var Content = styled42(
|
|
7849
|
+
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
7850
|
+
var Content = styled42(Box25)(({ theme: theme2 }) => ({
|
|
7036
7851
|
backgroundColor: "transparent",
|
|
7037
7852
|
...theme2.typography.body1,
|
|
7038
7853
|
color: theme2.palette.text.primary,
|
|
@@ -7049,11 +7864,11 @@ var Content = styled42(Box21)(({ theme: theme2 }) => ({
|
|
|
7049
7864
|
backgroundColor: theme2.palette.background.paper
|
|
7050
7865
|
}
|
|
7051
7866
|
}));
|
|
7052
|
-
var Markdown = ({ content, children }) => /* @__PURE__ */
|
|
7867
|
+
var Markdown = ({ content, children }) => /* @__PURE__ */ jsx84(Content, { className: "markdown-body", children: /* @__PURE__ */ jsx84(MD, { rehypePlugins: [highlight, rehypeRaw], children: content || children }) });
|
|
7053
7868
|
|
|
7054
7869
|
// src/components/utilities/OnboardingProvider/OnboardingProvider.tsx
|
|
7055
7870
|
import { createContext, useContext, useState as useState8, useCallback as useCallback5, useEffect } from "react";
|
|
7056
|
-
import { jsx as
|
|
7871
|
+
import { jsx as jsx85 } from "react/jsx-runtime";
|
|
7057
7872
|
var OnboardingContext = createContext(void 0);
|
|
7058
7873
|
var useOnboarding = () => {
|
|
7059
7874
|
const context = useContext(OnboardingContext);
|
|
@@ -7078,7 +7893,7 @@ var OnboardingProvider = ({ children }) => {
|
|
|
7078
7893
|
setIsOnboardingActive(false);
|
|
7079
7894
|
setTimeout(() => setIsOnboardingActive(true), 0);
|
|
7080
7895
|
}, []);
|
|
7081
|
-
return /* @__PURE__ */
|
|
7896
|
+
return /* @__PURE__ */ jsx85(
|
|
7082
7897
|
OnboardingContext.Provider,
|
|
7083
7898
|
{
|
|
7084
7899
|
value: {
|
|
@@ -7093,7 +7908,7 @@ var OnboardingProvider = ({ children }) => {
|
|
|
7093
7908
|
};
|
|
7094
7909
|
|
|
7095
7910
|
// src/components/utilities/Truncate/Truncate.tsx
|
|
7096
|
-
import { jsx as
|
|
7911
|
+
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
7097
7912
|
var getDefaultEndingLength = ({ text, variant, maxLength = text.length }) => {
|
|
7098
7913
|
if (variant === "hex") {
|
|
7099
7914
|
return 4;
|
|
@@ -7117,30 +7932,30 @@ var Truncate = ({
|
|
|
7117
7932
|
const truncated = text.slice(0, maxLength - endingLength);
|
|
7118
7933
|
truncatedText = [truncated, ending].filter(Boolean).join("...");
|
|
7119
7934
|
}
|
|
7120
|
-
return /* @__PURE__ */
|
|
7935
|
+
return /* @__PURE__ */ jsx86("span", { ...props, "data-full": text, children: truncatedText });
|
|
7121
7936
|
};
|
|
7122
7937
|
|
|
7123
7938
|
// src/components/utilities/BytesSize/BytesSize.tsx
|
|
7124
7939
|
import size from "byte-size";
|
|
7125
|
-
import { Fragment as Fragment12, jsx as
|
|
7940
|
+
import { Fragment as Fragment12, jsx as jsx87 } from "react/jsx-runtime";
|
|
7126
7941
|
var BytesSize = ({ bytes }) => {
|
|
7127
|
-
return /* @__PURE__ */
|
|
7942
|
+
return /* @__PURE__ */ jsx87(Fragment12, { children: size(bytes).toString() });
|
|
7128
7943
|
};
|
|
7129
7944
|
|
|
7130
7945
|
// src/components/utilities/QRCode/QRCode.tsx
|
|
7131
7946
|
import { forwardRef as forwardRef2 } from "react";
|
|
7132
7947
|
import QR from "react-qr-code";
|
|
7133
|
-
import { jsx as
|
|
7134
|
-
var QRCode = forwardRef2(({ size: size3 = 168, ...props }, ref) => /* @__PURE__ */
|
|
7948
|
+
import { jsx as jsx88 } from "react/jsx-runtime";
|
|
7949
|
+
var QRCode = forwardRef2(({ size: size3 = 168, ...props }, ref) => /* @__PURE__ */ jsx88(QR, { ref, size: size3, ...props }));
|
|
7135
7950
|
QRCode.displayName = "QRCode";
|
|
7136
7951
|
|
|
7137
7952
|
// src/components/charts/ChartWidget/ChartWidget.tsx
|
|
7138
|
-
import { Box as
|
|
7953
|
+
import { Box as Box26, Stack as Stack5, Typography as Typography23, styled as styled43, useTheme as useTheme3 } from "@mui/material";
|
|
7139
7954
|
import { LineChart } from "@mui/x-charts";
|
|
7140
7955
|
import size2 from "byte-size";
|
|
7141
7956
|
import { format } from "date-fns";
|
|
7142
|
-
import { jsx as
|
|
7143
|
-
var Chart = styled43(
|
|
7957
|
+
import { jsx as jsx89, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
7958
|
+
var Chart = styled43(Box26)(() => ({
|
|
7144
7959
|
height: 200
|
|
7145
7960
|
}));
|
|
7146
7961
|
var ChartWidget = ({
|
|
@@ -7150,10 +7965,10 @@ var ChartWidget = ({
|
|
|
7150
7965
|
formatValue = (value2) => size2(value2 || 0).toString()
|
|
7151
7966
|
}) => {
|
|
7152
7967
|
const theme2 = useTheme3();
|
|
7153
|
-
return /* @__PURE__ */
|
|
7154
|
-
/* @__PURE__ */
|
|
7155
|
-
/* @__PURE__ */
|
|
7156
|
-
/* @__PURE__ */
|
|
7968
|
+
return /* @__PURE__ */ jsxs43(Stack5, { spacing: 1, children: [
|
|
7969
|
+
/* @__PURE__ */ jsx89(Typography23, { variant: "caption", color: "text.secondary", children: title }),
|
|
7970
|
+
/* @__PURE__ */ jsx89(Typography23, { fontWeight: "bold", children: value }),
|
|
7971
|
+
/* @__PURE__ */ jsx89(Chart, { children: /* @__PURE__ */ jsx89(
|
|
7157
7972
|
LineChart,
|
|
7158
7973
|
{
|
|
7159
7974
|
dataset: history || [],
|
|
@@ -7211,11 +8026,11 @@ var ChartWidget = ({
|
|
|
7211
8026
|
import { format as format2, startOfDay, subHours, subWeeks, subMonths } from "date-fns";
|
|
7212
8027
|
import { LineChart as LineChart2 } from "@mui/x-charts";
|
|
7213
8028
|
import { useDrawingArea, useYScale } from "@mui/x-charts/hooks";
|
|
7214
|
-
import { Box as
|
|
8029
|
+
import { Box as Box27, Card as Card2, CardHeader as CardHeader2, CardMedia, Divider as Divider10, Stack as Stack6, styled as styled44, Typography as Typography24, useTheme as useTheme4 } from "@mui/material";
|
|
7215
8030
|
|
|
7216
8031
|
// src/components/charts/MetricsChart/PeriodSelect.tsx
|
|
7217
8032
|
import { MenuItem as MenuItem3, TextField as TextField4 } from "@mui/material";
|
|
7218
|
-
import { jsx as
|
|
8033
|
+
import { jsx as jsx90 } from "react/jsx-runtime";
|
|
7219
8034
|
var options = [
|
|
7220
8035
|
/**
|
|
7221
8036
|
* TODO: Enable the options below when the backend supports them
|
|
@@ -7225,7 +8040,7 @@ var options = [
|
|
|
7225
8040
|
{ value: "week", label: "1 week" },
|
|
7226
8041
|
{ value: "month", label: "1 month" }
|
|
7227
8042
|
];
|
|
7228
|
-
var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */
|
|
8043
|
+
var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ jsx90(
|
|
7229
8044
|
TextField4,
|
|
7230
8045
|
{
|
|
7231
8046
|
select: true,
|
|
@@ -7233,13 +8048,13 @@ var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ jsx86(
|
|
|
7233
8048
|
value,
|
|
7234
8049
|
defaultValue: options[0].value,
|
|
7235
8050
|
onChange: (e) => onChange?.(e.target.value),
|
|
7236
|
-
children: options.map(({ value: value2, label }) => /* @__PURE__ */
|
|
8051
|
+
children: options.map(({ value: value2, label }) => /* @__PURE__ */ jsx90(MenuItem3, { value: value2, children: label }, value2))
|
|
7237
8052
|
}
|
|
7238
8053
|
);
|
|
7239
8054
|
|
|
7240
8055
|
// src/components/charts/MetricsChart/MetricsChart.tsx
|
|
7241
8056
|
import { useMemo, useState as useState9 } from "react";
|
|
7242
|
-
import { jsx as
|
|
8057
|
+
import { jsx as jsx91, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
7243
8058
|
var mapPeriodToFromDate = (period = "month") => {
|
|
7244
8059
|
const date = /* @__PURE__ */ new Date();
|
|
7245
8060
|
if (period === "hour") {
|
|
@@ -7299,15 +8114,15 @@ var MetricsChart = ({ history = [] }) => {
|
|
|
7299
8114
|
const backgroundHeight = textHeight + padding.top + padding.bottom;
|
|
7300
8115
|
const rectX = left + (width - backgroundWidth) / 2;
|
|
7301
8116
|
const rectY = top + (height - backgroundHeight) / 2;
|
|
7302
|
-
return /* @__PURE__ */
|
|
7303
|
-
/* @__PURE__ */
|
|
7304
|
-
/* @__PURE__ */
|
|
8117
|
+
return /* @__PURE__ */ jsxs44("g", { children: [
|
|
8118
|
+
/* @__PURE__ */ jsx91(NoDataRect, { x: rectX, y: rectY, width: backgroundWidth, height: backgroundHeight }),
|
|
8119
|
+
/* @__PURE__ */ jsx91(LoadingText, { style: { ...theme2.typography.subtitle1 }, x: left + width / 2, y: top + height / 2, children: text })
|
|
7305
8120
|
] });
|
|
7306
8121
|
};
|
|
7307
|
-
return /* @__PURE__ */
|
|
7308
|
-
/* @__PURE__ */
|
|
7309
|
-
/* @__PURE__ */
|
|
7310
|
-
/* @__PURE__ */
|
|
8122
|
+
return /* @__PURE__ */ jsxs44(Card2, { children: [
|
|
8123
|
+
/* @__PURE__ */ jsx91(CardHeader2, { title: "GET / PUT Requests", action: /* @__PURE__ */ jsx91(PeriodSelect, { value: period, onChange: setPeriod }) }),
|
|
8124
|
+
/* @__PURE__ */ jsxs44(CardMedia, { children: [
|
|
8125
|
+
/* @__PURE__ */ jsx91(
|
|
7311
8126
|
Chart2,
|
|
7312
8127
|
{
|
|
7313
8128
|
skipAnimation: true,
|
|
@@ -7368,35 +8183,35 @@ var MetricsChart = ({ history = [] }) => {
|
|
|
7368
8183
|
]
|
|
7369
8184
|
}
|
|
7370
8185
|
),
|
|
7371
|
-
periodHistory.length > 0 && /* @__PURE__ */
|
|
7372
|
-
/* @__PURE__ */
|
|
7373
|
-
/* @__PURE__ */
|
|
7374
|
-
/* @__PURE__ */
|
|
8186
|
+
periodHistory.length > 0 && /* @__PURE__ */ jsxs44(Stack6, { direction: "row", spacing: 2, marginY: 3, justifyContent: "center", children: [
|
|
8187
|
+
/* @__PURE__ */ jsxs44(Stack6, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
8188
|
+
/* @__PURE__ */ jsx91(Box27, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.primary.main } }),
|
|
8189
|
+
/* @__PURE__ */ jsx91(Typography24, { variant: "body2", children: "Get" })
|
|
7375
8190
|
] }),
|
|
7376
|
-
/* @__PURE__ */
|
|
7377
|
-
/* @__PURE__ */
|
|
7378
|
-
/* @__PURE__ */
|
|
8191
|
+
/* @__PURE__ */ jsxs44(Stack6, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
8192
|
+
/* @__PURE__ */ jsx91(Box27, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.success.main } }),
|
|
8193
|
+
/* @__PURE__ */ jsx91(Typography24, { variant: "body2", children: "Put" })
|
|
7379
8194
|
] })
|
|
7380
8195
|
] })
|
|
7381
8196
|
] }),
|
|
7382
|
-
/* @__PURE__ */
|
|
7383
|
-
/* @__PURE__ */
|
|
7384
|
-
/* @__PURE__ */
|
|
7385
|
-
/* @__PURE__ */
|
|
7386
|
-
/* @__PURE__ */
|
|
7387
|
-
/* @__PURE__ */
|
|
8197
|
+
/* @__PURE__ */ jsxs44(CardMedia, { children: [
|
|
8198
|
+
/* @__PURE__ */ jsx91(Divider10, { flexItem: true }),
|
|
8199
|
+
/* @__PURE__ */ jsxs44(Stack6, { direction: "row", spacing: 2, padding: 2, children: [
|
|
8200
|
+
/* @__PURE__ */ jsxs44(Stack6, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
8201
|
+
/* @__PURE__ */ jsx91(Typography24, { variant: "body2", color: "secondary", children: "GET Requests per account" }),
|
|
8202
|
+
/* @__PURE__ */ jsx91(Typography24, { variant: "h3", children: total.gets })
|
|
7388
8203
|
] }),
|
|
7389
|
-
/* @__PURE__ */
|
|
7390
|
-
/* @__PURE__ */
|
|
7391
|
-
/* @__PURE__ */
|
|
8204
|
+
/* @__PURE__ */ jsxs44(Stack6, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
8205
|
+
/* @__PURE__ */ jsx91(Typography24, { variant: "body2", color: "secondary", children: "PUT Requests per account" }),
|
|
8206
|
+
/* @__PURE__ */ jsx91(Typography24, { variant: "h3", children: total.puts })
|
|
7392
8207
|
] }),
|
|
7393
|
-
/* @__PURE__ */
|
|
7394
|
-
/* @__PURE__ */
|
|
7395
|
-
/* @__PURE__ */
|
|
8208
|
+
/* @__PURE__ */ jsxs44(Stack6, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
8209
|
+
/* @__PURE__ */ jsx91(Typography24, { variant: "body2", color: "secondary", children: "Total Consumed per account" }),
|
|
8210
|
+
/* @__PURE__ */ jsx91(Typography24, { variant: "h3", children: /* @__PURE__ */ jsx91(BytesSize, { bytes: total.transferredBytes }) })
|
|
7396
8211
|
] }),
|
|
7397
|
-
/* @__PURE__ */
|
|
7398
|
-
/* @__PURE__ */
|
|
7399
|
-
/* @__PURE__ */
|
|
8212
|
+
/* @__PURE__ */ jsxs44(Stack6, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
8213
|
+
/* @__PURE__ */ jsx91(Typography24, { variant: "body2", color: "secondary", children: "Total Stored per account" }),
|
|
8214
|
+
/* @__PURE__ */ jsx91(Typography24, { variant: "h3", children: /* @__PURE__ */ jsx91(BytesSize, { bytes: total.storedBytes }) })
|
|
7400
8215
|
] })
|
|
7401
8216
|
] })
|
|
7402
8217
|
] })
|
|
@@ -7406,14 +8221,14 @@ var MetricsChart = ({ history = [] }) => {
|
|
|
7406
8221
|
// src/components/charts/TimeSeriesGraph/TimeSeriesGraph.tsx
|
|
7407
8222
|
import { useCallback as useCallback6, useMemo as useMemo2, useState as useState10 } from "react";
|
|
7408
8223
|
import {
|
|
7409
|
-
Box as
|
|
8224
|
+
Box as Box28,
|
|
7410
8225
|
Card as Card3,
|
|
7411
8226
|
CardHeader as CardHeader3,
|
|
7412
8227
|
CardMedia as CardMedia2,
|
|
7413
8228
|
CircularProgress as CircularProgress7,
|
|
7414
|
-
Divider as
|
|
8229
|
+
Divider as Divider11,
|
|
7415
8230
|
Stack as Stack8,
|
|
7416
|
-
Typography as
|
|
8231
|
+
Typography as Typography26,
|
|
7417
8232
|
styled as styled45,
|
|
7418
8233
|
useTheme as useTheme5
|
|
7419
8234
|
} from "@mui/material";
|
|
@@ -7422,8 +8237,8 @@ import { format as format3 } from "date-fns";
|
|
|
7422
8237
|
|
|
7423
8238
|
// src/components/charts/TimeSeriesGraph/TimeRangeSelect.tsx
|
|
7424
8239
|
import { MenuItem as MenuItem4, TextField as TextField5 } from "@mui/material";
|
|
7425
|
-
import { jsx as
|
|
7426
|
-
var TimeRangeSelect = ({ options: options2, value, onChange }) => /* @__PURE__ */
|
|
8240
|
+
import { jsx as jsx92 } from "react/jsx-runtime";
|
|
8241
|
+
var TimeRangeSelect = ({ options: options2, value, onChange }) => /* @__PURE__ */ jsx92(
|
|
7427
8242
|
TextField5,
|
|
7428
8243
|
{
|
|
7429
8244
|
select: true,
|
|
@@ -7432,13 +8247,13 @@ var TimeRangeSelect = ({ options: options2, value, onChange }) => /* @__PURE__ *
|
|
|
7432
8247
|
onChange: (e) => onChange?.(e.target.value),
|
|
7433
8248
|
"aria-label": "Time range selector",
|
|
7434
8249
|
sx: { minWidth: 120 },
|
|
7435
|
-
children: options2.map((option) => /* @__PURE__ */
|
|
8250
|
+
children: options2.map((option) => /* @__PURE__ */ jsx92(MenuItem4, { value: option.value, children: option.label }, option.value))
|
|
7436
8251
|
}
|
|
7437
8252
|
);
|
|
7438
8253
|
|
|
7439
8254
|
// src/components/charts/TimeSeriesGraph/SummaryStats.tsx
|
|
7440
|
-
import { Stack as Stack7, Typography as
|
|
7441
|
-
import { jsx as
|
|
8255
|
+
import { Stack as Stack7, Typography as Typography25 } from "@mui/material";
|
|
8256
|
+
import { jsx as jsx93, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
7442
8257
|
var formatSummaryValue = (value, unit) => {
|
|
7443
8258
|
const displayValue = typeof value === "number" ? value.toLocaleString() : value;
|
|
7444
8259
|
return unit ? `${displayValue} ${unit}` : displayValue;
|
|
@@ -7447,7 +8262,7 @@ var SummaryStats = ({ items }) => {
|
|
|
7447
8262
|
if (items.length === 0) {
|
|
7448
8263
|
return null;
|
|
7449
8264
|
}
|
|
7450
|
-
return /* @__PURE__ */
|
|
8265
|
+
return /* @__PURE__ */ jsx93(
|
|
7451
8266
|
Stack7,
|
|
7452
8267
|
{
|
|
7453
8268
|
direction: "row",
|
|
@@ -7457,7 +8272,7 @@ var SummaryStats = ({ items }) => {
|
|
|
7457
8272
|
useFlexGap: true,
|
|
7458
8273
|
role: "list",
|
|
7459
8274
|
"aria-label": "Summary statistics",
|
|
7460
|
-
children: items.map((item) => /* @__PURE__ */
|
|
8275
|
+
children: items.map((item) => /* @__PURE__ */ jsxs45(
|
|
7461
8276
|
Stack7,
|
|
7462
8277
|
{
|
|
7463
8278
|
direction: "row",
|
|
@@ -7465,8 +8280,8 @@ var SummaryStats = ({ items }) => {
|
|
|
7465
8280
|
spacing: 1,
|
|
7466
8281
|
role: "listitem",
|
|
7467
8282
|
children: [
|
|
7468
|
-
/* @__PURE__ */
|
|
7469
|
-
/* @__PURE__ */
|
|
8283
|
+
/* @__PURE__ */ jsx93(Typography25, { variant: "body2", color: "text.secondary", children: item.label }),
|
|
8284
|
+
/* @__PURE__ */ jsx93(Typography25, { variant: "h5", fontWeight: 600, children: formatSummaryValue(item.value, item.unit) })
|
|
7470
8285
|
]
|
|
7471
8286
|
},
|
|
7472
8287
|
item.label
|
|
@@ -7476,12 +8291,12 @@ var SummaryStats = ({ items }) => {
|
|
|
7476
8291
|
};
|
|
7477
8292
|
|
|
7478
8293
|
// src/components/charts/TimeSeriesGraph/TimeSeriesGraph.tsx
|
|
7479
|
-
import { Fragment as Fragment13, jsx as
|
|
7480
|
-
var ChartContainer = styled45(
|
|
8294
|
+
import { Fragment as Fragment13, jsx as jsx94, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
8295
|
+
var ChartContainer = styled45(Box28)({
|
|
7481
8296
|
position: "relative",
|
|
7482
8297
|
height: 320
|
|
7483
8298
|
});
|
|
7484
|
-
var LoadingOverlay = styled45(
|
|
8299
|
+
var LoadingOverlay = styled45(Box28)(({ theme: theme2 }) => ({
|
|
7485
8300
|
position: "absolute",
|
|
7486
8301
|
inset: 0,
|
|
7487
8302
|
display: "flex",
|
|
@@ -7491,7 +8306,7 @@ var LoadingOverlay = styled45(Box24)(({ theme: theme2 }) => ({
|
|
|
7491
8306
|
zIndex: 1,
|
|
7492
8307
|
borderRadius: theme2.shape.borderRadius
|
|
7493
8308
|
}));
|
|
7494
|
-
var LegendDot = styled45(
|
|
8309
|
+
var LegendDot = styled45(Box28, {
|
|
7495
8310
|
shouldForwardProp: (prop) => prop !== "dotColor"
|
|
7496
8311
|
})(({ dotColor }) => ({
|
|
7497
8312
|
width: 14,
|
|
@@ -7580,9 +8395,9 @@ var TimeSeriesGraph = ({
|
|
|
7580
8395
|
);
|
|
7581
8396
|
const hasData = dataset.length > 0;
|
|
7582
8397
|
const shouldShowSummary = showSummary && summaryItems && summaryItems.length > 0;
|
|
7583
|
-
const headerActionElement = /* @__PURE__ */
|
|
8398
|
+
const headerActionElement = /* @__PURE__ */ jsxs46(Stack8, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
7584
8399
|
headerAction,
|
|
7585
|
-
timeRangeOptions && timeRangeOptions.length > 0 && /* @__PURE__ */
|
|
8400
|
+
timeRangeOptions && timeRangeOptions.length > 0 && /* @__PURE__ */ jsx94(
|
|
7586
8401
|
TimeRangeSelect,
|
|
7587
8402
|
{
|
|
7588
8403
|
options: timeRangeOptions,
|
|
@@ -7592,13 +8407,13 @@ var TimeSeriesGraph = ({
|
|
|
7592
8407
|
)
|
|
7593
8408
|
] });
|
|
7594
8409
|
const showHeader = !!title || !!headerAction || timeRangeOptions && timeRangeOptions.length > 0;
|
|
7595
|
-
return /* @__PURE__ */
|
|
8410
|
+
return /* @__PURE__ */ jsxs46(
|
|
7596
8411
|
Card3,
|
|
7597
8412
|
{
|
|
7598
8413
|
"aria-label": title ? `Line chart showing ${title}` : "Line chart",
|
|
7599
8414
|
role: "figure",
|
|
7600
8415
|
children: [
|
|
7601
|
-
showHeader && /* @__PURE__ */
|
|
8416
|
+
showHeader && /* @__PURE__ */ jsx94(
|
|
7602
8417
|
CardHeader3,
|
|
7603
8418
|
{
|
|
7604
8419
|
title,
|
|
@@ -7609,10 +8424,10 @@ var TimeSeriesGraph = ({
|
|
|
7609
8424
|
action: headerActionElement
|
|
7610
8425
|
}
|
|
7611
8426
|
),
|
|
7612
|
-
/* @__PURE__ */
|
|
7613
|
-
/* @__PURE__ */
|
|
7614
|
-
loading && /* @__PURE__ */
|
|
7615
|
-
/* @__PURE__ */
|
|
8427
|
+
/* @__PURE__ */ jsxs46(CardMedia2, { children: [
|
|
8428
|
+
/* @__PURE__ */ jsxs46(ChartContainer, { children: [
|
|
8429
|
+
loading && /* @__PURE__ */ jsx94(LoadingOverlay, { role: "status", "aria-label": "Loading chart data", children: /* @__PURE__ */ jsx94(CircularProgress7, { size: 40 }) }),
|
|
8430
|
+
/* @__PURE__ */ jsx94(
|
|
7616
8431
|
LineChart3,
|
|
7617
8432
|
{
|
|
7618
8433
|
dataset,
|
|
@@ -7664,7 +8479,7 @@ var TimeSeriesGraph = ({
|
|
|
7664
8479
|
}
|
|
7665
8480
|
)
|
|
7666
8481
|
] }),
|
|
7667
|
-
series.length > 0 && /* @__PURE__ */
|
|
8482
|
+
series.length > 0 && /* @__PURE__ */ jsx94(
|
|
7668
8483
|
Stack8,
|
|
7669
8484
|
{
|
|
7670
8485
|
direction: "row",
|
|
@@ -7677,7 +8492,7 @@ var TimeSeriesGraph = ({
|
|
|
7677
8492
|
"aria-label": "Chart legend",
|
|
7678
8493
|
children: series.map((s) => {
|
|
7679
8494
|
const isHidden = hiddenSeries.has(s.name);
|
|
7680
|
-
return /* @__PURE__ */
|
|
8495
|
+
return /* @__PURE__ */ jsxs46(
|
|
7681
8496
|
Stack8,
|
|
7682
8497
|
{
|
|
7683
8498
|
direction: "row",
|
|
@@ -7694,8 +8509,8 @@ var TimeSeriesGraph = ({
|
|
|
7694
8509
|
"aria-pressed": !isHidden,
|
|
7695
8510
|
"aria-label": `Toggle ${s.name} visibility`,
|
|
7696
8511
|
children: [
|
|
7697
|
-
/* @__PURE__ */
|
|
7698
|
-
/* @__PURE__ */
|
|
8512
|
+
/* @__PURE__ */ jsx94(LegendDot, { dotColor: s.color }),
|
|
8513
|
+
/* @__PURE__ */ jsx94(Typography26, { variant: "body2", children: s.name })
|
|
7699
8514
|
]
|
|
7700
8515
|
},
|
|
7701
8516
|
s.name
|
|
@@ -7704,9 +8519,9 @@ var TimeSeriesGraph = ({
|
|
|
7704
8519
|
}
|
|
7705
8520
|
)
|
|
7706
8521
|
] }),
|
|
7707
|
-
shouldShowSummary && /* @__PURE__ */
|
|
7708
|
-
/* @__PURE__ */
|
|
7709
|
-
/* @__PURE__ */
|
|
8522
|
+
shouldShowSummary && /* @__PURE__ */ jsxs46(Fragment13, { children: [
|
|
8523
|
+
/* @__PURE__ */ jsx94(Divider11, {}),
|
|
8524
|
+
/* @__PURE__ */ jsx94(SummaryStats, { items: summaryItems })
|
|
7710
8525
|
] })
|
|
7711
8526
|
]
|
|
7712
8527
|
}
|
|
@@ -7723,10 +8538,10 @@ import ReactFlow, {
|
|
|
7723
8538
|
BackgroundVariant,
|
|
7724
8539
|
ConnectionLineType
|
|
7725
8540
|
} from "reactflow";
|
|
7726
|
-
import { Box as
|
|
8541
|
+
import { Box as Box29 } from "@mui/material";
|
|
7727
8542
|
import { useTheme as useTheme6 } from "@mui/material/styles";
|
|
7728
8543
|
import { Background as Background2, Controls as Controls2, MiniMap as MiniMap2, Panel, BackgroundVariant as BackgroundVariant2, ConnectionLineType as ConnectionLineType2 } from "reactflow";
|
|
7729
|
-
import { jsx as
|
|
8544
|
+
import { jsx as jsx95, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
7730
8545
|
var FlowEditor = ({
|
|
7731
8546
|
nodes,
|
|
7732
8547
|
edges,
|
|
@@ -7752,8 +8567,8 @@ var FlowEditor = ({
|
|
|
7752
8567
|
},
|
|
7753
8568
|
[onInit]
|
|
7754
8569
|
);
|
|
7755
|
-
return /* @__PURE__ */
|
|
7756
|
-
|
|
8570
|
+
return /* @__PURE__ */ jsx95(ReactFlowProvider, { children: /* @__PURE__ */ jsx95(
|
|
8571
|
+
Box29,
|
|
7757
8572
|
{
|
|
7758
8573
|
sx: {
|
|
7759
8574
|
width: "100%",
|
|
@@ -7765,7 +8580,7 @@ var FlowEditor = ({
|
|
|
7765
8580
|
...containerProps?.sx
|
|
7766
8581
|
},
|
|
7767
8582
|
...containerProps,
|
|
7768
|
-
children: /* @__PURE__ */
|
|
8583
|
+
children: /* @__PURE__ */ jsxs47(
|
|
7769
8584
|
ReactFlow,
|
|
7770
8585
|
{
|
|
7771
8586
|
nodes,
|
|
@@ -7787,7 +8602,7 @@ var FlowEditor = ({
|
|
|
7787
8602
|
},
|
|
7788
8603
|
...reactFlowProps,
|
|
7789
8604
|
children: [
|
|
7790
|
-
showBackground && /* @__PURE__ */
|
|
8605
|
+
showBackground && /* @__PURE__ */ jsx95(
|
|
7791
8606
|
Background,
|
|
7792
8607
|
{
|
|
7793
8608
|
variant: backgroundVariant,
|
|
@@ -7796,8 +8611,8 @@ var FlowEditor = ({
|
|
|
7796
8611
|
color: theme2.palette.divider
|
|
7797
8612
|
}
|
|
7798
8613
|
),
|
|
7799
|
-
showControls && /* @__PURE__ */
|
|
7800
|
-
showMinimap && /* @__PURE__ */
|
|
8614
|
+
showControls && /* @__PURE__ */ jsx95(Controls, {}),
|
|
8615
|
+
showMinimap && /* @__PURE__ */ jsx95(
|
|
7801
8616
|
MiniMap,
|
|
7802
8617
|
{
|
|
7803
8618
|
nodeColor: (node) => {
|
|
@@ -7822,13 +8637,13 @@ var FlowEditor = ({
|
|
|
7822
8637
|
// src/components/third-party/CodeEditor.tsx
|
|
7823
8638
|
import { useCallback as useCallback8, useEffect as useEffect2, useState as useState11, useRef as useRef2 } from "react";
|
|
7824
8639
|
import Editor from "@monaco-editor/react";
|
|
7825
|
-
import { Box as
|
|
8640
|
+
import { Box as Box30, IconButton as IconButton14, Tooltip as Tooltip7 } from "@mui/material";
|
|
7826
8641
|
import FullscreenIcon from "@mui/icons-material/Fullscreen";
|
|
7827
8642
|
import FullscreenExitIcon from "@mui/icons-material/FullscreenExit";
|
|
7828
8643
|
import ErrorOutlineIcon from "@mui/icons-material/ErrorOutline";
|
|
7829
8644
|
import ExpandMoreIcon3 from "@mui/icons-material/ExpandMore";
|
|
7830
8645
|
import ExpandLessIcon from "@mui/icons-material/ExpandLess";
|
|
7831
|
-
import { jsx as
|
|
8646
|
+
import { jsx as jsx96, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
7832
8647
|
var configureTypeScript = (monaco) => {
|
|
7833
8648
|
monaco.languages.typescript.typescriptDefaults.setCompilerOptions({
|
|
7834
8649
|
target: monaco.languages.typescript.ScriptTarget.ES2020,
|
|
@@ -8040,8 +8855,8 @@ var CodeEditor = ({
|
|
|
8040
8855
|
theme: themeProp || "vs",
|
|
8041
8856
|
...options2
|
|
8042
8857
|
};
|
|
8043
|
-
return /* @__PURE__ */
|
|
8044
|
-
|
|
8858
|
+
return /* @__PURE__ */ jsx96(
|
|
8859
|
+
Box30,
|
|
8045
8860
|
{
|
|
8046
8861
|
sx: {
|
|
8047
8862
|
display: "flex",
|
|
@@ -8061,8 +8876,8 @@ var CodeEditor = ({
|
|
|
8061
8876
|
pb: isFullscreen ? 2 : 0,
|
|
8062
8877
|
overflow: isFullscreen ? "hidden" : "visible"
|
|
8063
8878
|
},
|
|
8064
|
-
children: /* @__PURE__ */
|
|
8065
|
-
|
|
8879
|
+
children: /* @__PURE__ */ jsxs48(
|
|
8880
|
+
Box30,
|
|
8066
8881
|
{
|
|
8067
8882
|
sx: {
|
|
8068
8883
|
flex: 1,
|
|
@@ -8077,8 +8892,8 @@ var CodeEditor = ({
|
|
|
8077
8892
|
},
|
|
8078
8893
|
...containerProps,
|
|
8079
8894
|
children: [
|
|
8080
|
-
/* @__PURE__ */
|
|
8081
|
-
|
|
8895
|
+
/* @__PURE__ */ jsx96(Tooltip7, { title: isFullscreen ? "Exit Fullscreen" : "Fullscreen", children: /* @__PURE__ */ jsx96(
|
|
8896
|
+
IconButton14,
|
|
8082
8897
|
{
|
|
8083
8898
|
onClick: toggleFullscreen,
|
|
8084
8899
|
size: "small",
|
|
@@ -8095,11 +8910,11 @@ var CodeEditor = ({
|
|
|
8095
8910
|
},
|
|
8096
8911
|
boxShadow: 1
|
|
8097
8912
|
},
|
|
8098
|
-
children: isFullscreen ? /* @__PURE__ */
|
|
8913
|
+
children: isFullscreen ? /* @__PURE__ */ jsx96(FullscreenExitIcon, { fontSize: "small" }) : /* @__PURE__ */ jsx96(FullscreenIcon, { fontSize: "small" })
|
|
8099
8914
|
}
|
|
8100
8915
|
) }),
|
|
8101
|
-
/* @__PURE__ */
|
|
8102
|
-
|
|
8916
|
+
/* @__PURE__ */ jsx96(
|
|
8917
|
+
Box30,
|
|
8103
8918
|
{
|
|
8104
8919
|
sx: {
|
|
8105
8920
|
flex: 1,
|
|
@@ -8110,7 +8925,7 @@ var CodeEditor = ({
|
|
|
8110
8925
|
position: "relative",
|
|
8111
8926
|
height: isFullscreen ? "100%" : actualHeight
|
|
8112
8927
|
},
|
|
8113
|
-
children: /* @__PURE__ */
|
|
8928
|
+
children: /* @__PURE__ */ jsx96(
|
|
8114
8929
|
Editor,
|
|
8115
8930
|
{
|
|
8116
8931
|
height: "100%",
|
|
@@ -8121,7 +8936,7 @@ var CodeEditor = ({
|
|
|
8121
8936
|
onMount: handleEditorDidMount,
|
|
8122
8937
|
theme: themeProp || "vs",
|
|
8123
8938
|
options: defaultOptions,
|
|
8124
|
-
loading: /* @__PURE__ */
|
|
8939
|
+
loading: /* @__PURE__ */ jsx96(Box30, { sx: { p: 2, textAlign: "center" }, children: "Loading Monaco Editor..." }),
|
|
8125
8940
|
beforeMount: (monaco) => {
|
|
8126
8941
|
console.log("CodeEditor: beforeMount called", { monaco: !!monaco });
|
|
8127
8942
|
}
|
|
@@ -8129,8 +8944,8 @@ var CodeEditor = ({
|
|
|
8129
8944
|
)
|
|
8130
8945
|
}
|
|
8131
8946
|
),
|
|
8132
|
-
validationErrors.length > 0 && /* @__PURE__ */
|
|
8133
|
-
|
|
8947
|
+
validationErrors.length > 0 && /* @__PURE__ */ jsxs48(
|
|
8948
|
+
Box30,
|
|
8134
8949
|
{
|
|
8135
8950
|
sx: {
|
|
8136
8951
|
borderTop: 1,
|
|
@@ -8143,8 +8958,8 @@ var CodeEditor = ({
|
|
|
8143
8958
|
transition: "max-height 0.2s ease"
|
|
8144
8959
|
},
|
|
8145
8960
|
children: [
|
|
8146
|
-
/* @__PURE__ */
|
|
8147
|
-
|
|
8961
|
+
/* @__PURE__ */ jsxs48(
|
|
8962
|
+
Box30,
|
|
8148
8963
|
{
|
|
8149
8964
|
sx: {
|
|
8150
8965
|
display: "flex",
|
|
@@ -8158,16 +8973,16 @@ var CodeEditor = ({
|
|
|
8158
8973
|
color: "text.secondary"
|
|
8159
8974
|
},
|
|
8160
8975
|
children: [
|
|
8161
|
-
/* @__PURE__ */
|
|
8162
|
-
/* @__PURE__ */
|
|
8163
|
-
/* @__PURE__ */
|
|
8976
|
+
/* @__PURE__ */ jsx96(ErrorOutlineIcon, { color: "error", fontSize: "small" }),
|
|
8977
|
+
/* @__PURE__ */ jsx96(Box30, { sx: { fontWeight: 600, color: "text.primary" }, children: "Problems" }),
|
|
8978
|
+
/* @__PURE__ */ jsxs48(Box30, { sx: { ml: 1 }, children: [
|
|
8164
8979
|
validationErrors.length,
|
|
8165
8980
|
" error",
|
|
8166
8981
|
validationErrors.length > 1 ? "s" : ""
|
|
8167
8982
|
] }),
|
|
8168
|
-
/* @__PURE__ */
|
|
8169
|
-
/* @__PURE__ */
|
|
8170
|
-
|
|
8983
|
+
/* @__PURE__ */ jsx96(Box30, { sx: { flex: 1 } }),
|
|
8984
|
+
/* @__PURE__ */ jsx96(
|
|
8985
|
+
IconButton14,
|
|
8171
8986
|
{
|
|
8172
8987
|
size: "small",
|
|
8173
8988
|
"aria-label": "Toggle problems panel",
|
|
@@ -8175,14 +8990,14 @@ var CodeEditor = ({
|
|
|
8175
8990
|
setHasUserToggledProblems(true);
|
|
8176
8991
|
setShowProblems((s) => !s);
|
|
8177
8992
|
},
|
|
8178
|
-
children: showProblems ? /* @__PURE__ */
|
|
8993
|
+
children: showProblems ? /* @__PURE__ */ jsx96(ExpandMoreIcon3, { fontSize: "small" }) : /* @__PURE__ */ jsx96(ExpandLessIcon, { fontSize: "small" })
|
|
8179
8994
|
}
|
|
8180
8995
|
)
|
|
8181
8996
|
]
|
|
8182
8997
|
}
|
|
8183
8998
|
),
|
|
8184
|
-
showProblems && /* @__PURE__ */
|
|
8185
|
-
|
|
8999
|
+
showProblems && /* @__PURE__ */ jsx96(Box30, { sx: { overflow: "auto" }, children: validationErrors.map((error, index) => /* @__PURE__ */ jsxs48(
|
|
9000
|
+
Box30,
|
|
8186
9001
|
{
|
|
8187
9002
|
onClick: () => gotoMarker(error),
|
|
8188
9003
|
sx: {
|
|
@@ -8198,12 +9013,12 @@ var CodeEditor = ({
|
|
|
8198
9013
|
fontSize: "0.85rem"
|
|
8199
9014
|
},
|
|
8200
9015
|
children: [
|
|
8201
|
-
/* @__PURE__ */
|
|
8202
|
-
/* @__PURE__ */
|
|
9016
|
+
/* @__PURE__ */ jsx96(ErrorOutlineIcon, { color: "error", sx: { fontSize: 18 } }),
|
|
9017
|
+
/* @__PURE__ */ jsxs48(Box30, { sx: { color: "text.secondary", width: 64 }, children: [
|
|
8203
9018
|
"Line ",
|
|
8204
9019
|
error.startLineNumber
|
|
8205
9020
|
] }),
|
|
8206
|
-
/* @__PURE__ */
|
|
9021
|
+
/* @__PURE__ */ jsx96(Box30, { sx: { color: "text.primary", flex: 1, minWidth: 0 }, children: error.message })
|
|
8207
9022
|
]
|
|
8208
9023
|
},
|
|
8209
9024
|
`${error.startLineNumber}-${error.startColumn}-${index}`
|
|
@@ -8220,6 +9035,40 @@ var CodeEditor = ({
|
|
|
8220
9035
|
|
|
8221
9036
|
// src/index.ts
|
|
8222
9037
|
import { Panel as Panel2 } from "reactflow";
|
|
9038
|
+
|
|
9039
|
+
// src/components/third-party/WorkflowNodeHandle.tsx
|
|
9040
|
+
import { Handle, Position } from "reactflow";
|
|
9041
|
+
import { Fragment as Fragment14, jsx as jsx97, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
9042
|
+
var WorkflowNodeHandle = ({
|
|
9043
|
+
data,
|
|
9044
|
+
selected
|
|
9045
|
+
}) => {
|
|
9046
|
+
const handleColor = workflowNodeColors[data.nodeType];
|
|
9047
|
+
const handleStyle = {
|
|
9048
|
+
width: 8,
|
|
9049
|
+
height: 8,
|
|
9050
|
+
borderRadius: "999px",
|
|
9051
|
+
border: "2px solid #fff",
|
|
9052
|
+
background: handleColor,
|
|
9053
|
+
boxShadow: WORKFLOW_NODE_SHADOW
|
|
9054
|
+
};
|
|
9055
|
+
return /* @__PURE__ */ jsxs49(Fragment14, { children: [
|
|
9056
|
+
/* @__PURE__ */ jsx97(Handle, { type: "target", position: Position.Left, style: handleStyle }),
|
|
9057
|
+
/* @__PURE__ */ jsx97(
|
|
9058
|
+
WorkflowNode,
|
|
9059
|
+
{
|
|
9060
|
+
nodeType: data.nodeType,
|
|
9061
|
+
title: data.title,
|
|
9062
|
+
description: data.description,
|
|
9063
|
+
icon: data.icon,
|
|
9064
|
+
badgeLabel: data.badgeLabel,
|
|
9065
|
+
selected,
|
|
9066
|
+
showSideDots: false
|
|
9067
|
+
}
|
|
9068
|
+
),
|
|
9069
|
+
/* @__PURE__ */ jsx97(Handle, { type: "source", position: Position.Right, style: handleStyle })
|
|
9070
|
+
] });
|
|
9071
|
+
};
|
|
8223
9072
|
export {
|
|
8224
9073
|
Accordion,
|
|
8225
9074
|
AccountSection,
|
|
@@ -8233,7 +9082,7 @@ export {
|
|
|
8233
9082
|
BackgroundVariant2 as BackgroundVariant,
|
|
8234
9083
|
Badge,
|
|
8235
9084
|
BarTrackingIcon,
|
|
8236
|
-
|
|
9085
|
+
Box18 as Box,
|
|
8237
9086
|
Breadcrumbs,
|
|
8238
9087
|
Button,
|
|
8239
9088
|
ButtonGroup,
|
|
@@ -8305,7 +9154,7 @@ export {
|
|
|
8305
9154
|
OnboardingProvider,
|
|
8306
9155
|
Pagination,
|
|
8307
9156
|
Panel2 as Panel,
|
|
8308
|
-
|
|
9157
|
+
Paper3 as Paper,
|
|
8309
9158
|
PeriodSelect,
|
|
8310
9159
|
Progress,
|
|
8311
9160
|
QRCode,
|
|
@@ -8342,9 +9191,16 @@ export {
|
|
|
8342
9191
|
Toolbar,
|
|
8343
9192
|
Tooltip6 as Tooltip,
|
|
8344
9193
|
Truncate,
|
|
8345
|
-
|
|
9194
|
+
Typography16 as Typography,
|
|
8346
9195
|
UploadFileIcon,
|
|
8347
9196
|
UploadFolderIcon,
|
|
9197
|
+
WORKFLOW_NODE_LABELS,
|
|
9198
|
+
WORKFLOW_NODE_SHADOW,
|
|
9199
|
+
WorkflowNode,
|
|
9200
|
+
WorkflowNodeHandle,
|
|
9201
|
+
WorkflowSideInspector,
|
|
9202
|
+
WorkflowTimeBar,
|
|
9203
|
+
WorkflowTopBar,
|
|
8348
9204
|
WorkspaceSelectorButton,
|
|
8349
9205
|
colors,
|
|
8350
9206
|
contextMenuItems,
|
|
@@ -8354,6 +9210,8 @@ export {
|
|
|
8354
9210
|
useIsDesktop,
|
|
8355
9211
|
useIsMobile,
|
|
8356
9212
|
useIsTablet,
|
|
8357
|
-
useOnboarding
|
|
9213
|
+
useOnboarding,
|
|
9214
|
+
workflowConnectionColors,
|
|
9215
|
+
workflowNodeColors
|
|
8358
9216
|
};
|
|
8359
9217
|
//# sourceMappingURL=index.mjs.map
|