@cere/cere-design-system 0.0.38 → 0.0.42
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/.specify/memory/constitution.md +1 -1
- package/dist/index.d.mts +50 -5
- package/dist/index.d.ts +50 -5
- package/dist/index.js +659 -517
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +743 -604
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -97,7 +97,9 @@ __export(index_exports, {
|
|
|
97
97
|
FormControlLabel: () => import_material3.FormControlLabel,
|
|
98
98
|
FormHelperText: () => import_material3.FormHelperText,
|
|
99
99
|
FormLabel: () => import_material3.FormLabel,
|
|
100
|
+
GRADIENT_PALETTE_COUNT: () => GRADIENT_PALETTE_COUNT,
|
|
100
101
|
GithubLogoIcon: () => GithubLogoIcon,
|
|
102
|
+
GradientSurface: () => GradientSurface,
|
|
101
103
|
Grid: () => import_material32.Grid2,
|
|
102
104
|
IDBlock: () => IDBlock,
|
|
103
105
|
IconButton: () => IconButton,
|
|
@@ -136,6 +138,7 @@ __export(index_exports, {
|
|
|
136
138
|
RoleBadge: () => RoleBadge,
|
|
137
139
|
ScrollableRow: () => ScrollableRow,
|
|
138
140
|
SearchField: () => SearchField,
|
|
141
|
+
SectionRow: () => SectionRow,
|
|
139
142
|
Selector: () => Selector,
|
|
140
143
|
ServiceSelectorButton: () => ServiceSelectorButton,
|
|
141
144
|
ShareIcon: () => ShareIcon,
|
|
@@ -201,6 +204,18 @@ var import_styles = require("@mui/material/styles");
|
|
|
201
204
|
|
|
202
205
|
// src/theme/primitives.ts
|
|
203
206
|
var primitives = {
|
|
207
|
+
/**
|
|
208
|
+
* Cere brand violet — the company's primary action color across web
|
|
209
|
+
* surfaces. Use via `semantic.action.primary` rather than reaching for
|
|
210
|
+
* raw hex.
|
|
211
|
+
*/
|
|
212
|
+
violet: {
|
|
213
|
+
100: "#f0e0fb",
|
|
214
|
+
300: "#d0bcff",
|
|
215
|
+
500: "#aa44f2",
|
|
216
|
+
600: "#7c59ac"
|
|
217
|
+
},
|
|
218
|
+
/** Legacy MUI blue. Retained for code paths that still reach for blue tokens by name (e.g. ROB highlights). Not the brand primary. */
|
|
204
219
|
blue: {
|
|
205
220
|
500: "#1976d2",
|
|
206
221
|
600: "#1565c0"
|
|
@@ -342,8 +357,8 @@ var workflowConnectionColors = {
|
|
|
342
357
|
// src/theme/semantic.ts
|
|
343
358
|
var semantic = {
|
|
344
359
|
action: {
|
|
345
|
-
primary: primitives.
|
|
346
|
-
primaryHover: primitives.
|
|
360
|
+
primary: primitives.violet[500],
|
|
361
|
+
primaryHover: primitives.violet[600],
|
|
347
362
|
disabled: primitives.grey[400]
|
|
348
363
|
},
|
|
349
364
|
surface: {
|
|
@@ -5993,15 +6008,52 @@ var ScrollableRow = ({
|
|
|
5993
6008
|
] });
|
|
5994
6009
|
};
|
|
5995
6010
|
|
|
6011
|
+
// src/components/layout/SectionRow.tsx
|
|
6012
|
+
var import_Box6 = __toESM(require("@mui/material/Box"));
|
|
6013
|
+
var import_Typography4 = __toESM(require("@mui/material/Typography"));
|
|
6014
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
6015
|
+
function SectionRow({
|
|
6016
|
+
title,
|
|
6017
|
+
subtitle,
|
|
6018
|
+
action,
|
|
6019
|
+
leftLabel,
|
|
6020
|
+
rightLabel,
|
|
6021
|
+
children
|
|
6022
|
+
}) {
|
|
6023
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_Box6.default, { component: "section", sx: { mb: 4 }, children: [
|
|
6024
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
6025
|
+
import_Box6.default,
|
|
6026
|
+
{
|
|
6027
|
+
component: "header",
|
|
6028
|
+
sx: {
|
|
6029
|
+
display: "flex",
|
|
6030
|
+
alignItems: "flex-end",
|
|
6031
|
+
justifyContent: "space-between",
|
|
6032
|
+
gap: 1.5,
|
|
6033
|
+
mb: 1.5
|
|
6034
|
+
},
|
|
6035
|
+
children: [
|
|
6036
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_Box6.default, { sx: { minWidth: 0 }, children: [
|
|
6037
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_Typography4.default, { component: "h2", variant: "h6", sx: { m: 0 }, children: title }),
|
|
6038
|
+
subtitle && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_Typography4.default, { variant: "caption", sx: { color: "text.secondary" }, children: subtitle })
|
|
6039
|
+
] }),
|
|
6040
|
+
action && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_Box6.default, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: action })
|
|
6041
|
+
]
|
|
6042
|
+
}
|
|
6043
|
+
),
|
|
6044
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ScrollableRow, { leftLabel, rightLabel, children })
|
|
6045
|
+
] });
|
|
6046
|
+
}
|
|
6047
|
+
|
|
5996
6048
|
// src/components/layout/Carousel.tsx
|
|
5997
6049
|
var import_react19 = require("react");
|
|
5998
|
-
var
|
|
6050
|
+
var import_Box7 = __toESM(require("@mui/material/Box"));
|
|
5999
6051
|
var import_IconButton6 = __toESM(require("@mui/material/IconButton"));
|
|
6000
|
-
var
|
|
6052
|
+
var import_Typography5 = __toESM(require("@mui/material/Typography"));
|
|
6001
6053
|
var import_ChevronLeft3 = __toESM(require("@mui/icons-material/ChevronLeft"));
|
|
6002
6054
|
var import_ChevronRight3 = __toESM(require("@mui/icons-material/ChevronRight"));
|
|
6003
6055
|
var import_embla_carousel_react = __toESM(require("embla-carousel-react"));
|
|
6004
|
-
var
|
|
6056
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
6005
6057
|
var pad2 = (n) => String(n).padStart(2, "0");
|
|
6006
6058
|
function Carousel({
|
|
6007
6059
|
slides,
|
|
@@ -6053,8 +6105,8 @@ function Carousel({
|
|
|
6053
6105
|
boxShadow: 1,
|
|
6054
6106
|
"&:hover": { bgcolor: "background.paper" }
|
|
6055
6107
|
};
|
|
6056
|
-
return /* @__PURE__ */ (0,
|
|
6057
|
-
|
|
6108
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
6109
|
+
import_Box7.default,
|
|
6058
6110
|
{
|
|
6059
6111
|
role: "region",
|
|
6060
6112
|
"aria-roledescription": "carousel",
|
|
@@ -6063,8 +6115,8 @@ function Carousel({
|
|
|
6063
6115
|
onPointerLeave: pauseOnHover ? () => setPaused(false) : void 0,
|
|
6064
6116
|
sx: { position: "relative", width: "100%" },
|
|
6065
6117
|
children: [
|
|
6066
|
-
/* @__PURE__ */ (0,
|
|
6067
|
-
|
|
6118
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_Box7.default, { ref: emblaRef, sx: { overflow: "hidden" }, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_Box7.default, { sx: { display: "flex" }, children: slides.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6119
|
+
import_Box7.default,
|
|
6068
6120
|
{
|
|
6069
6121
|
role: "group",
|
|
6070
6122
|
"aria-roledescription": "slide",
|
|
@@ -6074,28 +6126,28 @@ function Carousel({
|
|
|
6074
6126
|
},
|
|
6075
6127
|
getKey ? getKey(item, i) : i
|
|
6076
6128
|
)) }) }),
|
|
6077
|
-
showControls && showArrows && /* @__PURE__ */ (0,
|
|
6078
|
-
/* @__PURE__ */ (0,
|
|
6129
|
+
showControls && showArrows && /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_jsx_runtime52.Fragment, { children: [
|
|
6130
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6079
6131
|
import_IconButton6.default,
|
|
6080
6132
|
{
|
|
6081
6133
|
"aria-label": "Previous slide",
|
|
6082
6134
|
onClick: () => emblaApi?.scrollPrev(),
|
|
6083
6135
|
sx: [arrowBaseSx, { left: 8 }, ...Array.isArray(arrowSx) ? arrowSx : [arrowSx]],
|
|
6084
|
-
children: /* @__PURE__ */ (0,
|
|
6136
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_ChevronLeft3.default, {})
|
|
6085
6137
|
}
|
|
6086
6138
|
),
|
|
6087
|
-
/* @__PURE__ */ (0,
|
|
6139
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6088
6140
|
import_IconButton6.default,
|
|
6089
6141
|
{
|
|
6090
6142
|
"aria-label": "Next slide",
|
|
6091
6143
|
onClick: () => emblaApi?.scrollNext(),
|
|
6092
6144
|
sx: [arrowBaseSx, { right: 8 }, ...Array.isArray(arrowSx) ? arrowSx : [arrowSx]],
|
|
6093
|
-
children: /* @__PURE__ */ (0,
|
|
6145
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_ChevronRight3.default, {})
|
|
6094
6146
|
}
|
|
6095
6147
|
)
|
|
6096
6148
|
] }),
|
|
6097
|
-
showControls && showCounter && /* @__PURE__ */ (0,
|
|
6098
|
-
|
|
6149
|
+
showControls && showCounter && /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
6150
|
+
import_Typography5.default,
|
|
6099
6151
|
{
|
|
6100
6152
|
variant: "caption",
|
|
6101
6153
|
sx: {
|
|
@@ -6116,8 +6168,8 @@ function Carousel({
|
|
|
6116
6168
|
]
|
|
6117
6169
|
}
|
|
6118
6170
|
),
|
|
6119
|
-
showControls && showDots && /* @__PURE__ */ (0,
|
|
6120
|
-
|
|
6171
|
+
showControls && showDots && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6172
|
+
import_Box7.default,
|
|
6121
6173
|
{
|
|
6122
6174
|
role: "tablist",
|
|
6123
6175
|
"aria-label": "Carousel slides",
|
|
@@ -6130,8 +6182,8 @@ function Carousel({
|
|
|
6130
6182
|
justifyContent: "center",
|
|
6131
6183
|
gap: 1
|
|
6132
6184
|
},
|
|
6133
|
-
children: slides.map((item, i) => /* @__PURE__ */ (0,
|
|
6134
|
-
|
|
6185
|
+
children: slides.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6186
|
+
import_Box7.default,
|
|
6135
6187
|
{
|
|
6136
6188
|
component: "button",
|
|
6137
6189
|
role: "tab",
|
|
@@ -6159,10 +6211,66 @@ function Carousel({
|
|
|
6159
6211
|
);
|
|
6160
6212
|
}
|
|
6161
6213
|
|
|
6214
|
+
// src/components/layout/GradientSurface.tsx
|
|
6215
|
+
var import_Box8 = __toESM(require("@mui/material/Box"));
|
|
6216
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
6217
|
+
var PALETTES = [
|
|
6218
|
+
{ base: "linear-gradient(115deg, #0d0627 0%, #23194b 55%, #8B00EC 130%)", blobA: "#BD32A7", blobB: "#8B00EC" },
|
|
6219
|
+
{ base: "linear-gradient(115deg, #2a1635 0%, #5b2a55 55%, #c75a8a 130%)", blobA: "#ff7ea8", blobB: "#ffd1a8" },
|
|
6220
|
+
{ base: "linear-gradient(115deg, #0e2a2c 0%, #1d5d63 55%, #59c6c4 130%)", blobA: "#59c6c4", blobB: "#2bb0a0" },
|
|
6221
|
+
{ base: "linear-gradient(115deg, #131534 0%, #2c3a8c 55%, #6088e8 130%)", blobA: "#6088e8", blobB: "#3b5db8" },
|
|
6222
|
+
{ base: "linear-gradient(115deg, #1a0f30 0%, #3d2a78 55%, #8a5cf6 130%)", blobA: "#a892ff", blobB: "#6b4cf0" },
|
|
6223
|
+
{ base: "linear-gradient(115deg, #2b1124 0%, #6d2244 55%, #d44a7a 130%)", blobA: "#d44a7a", blobB: "#a8345e" }
|
|
6224
|
+
];
|
|
6225
|
+
var GRADIENT_PALETTE_COUNT = PALETTES.length;
|
|
6226
|
+
function GradientSurface({ index, children, sx }) {
|
|
6227
|
+
const wrapped = (index % GRADIENT_PALETTE_COUNT + GRADIENT_PALETTE_COUNT) % GRADIENT_PALETTE_COUNT;
|
|
6228
|
+
const palette = PALETTES[wrapped];
|
|
6229
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
6230
|
+
import_Box8.default,
|
|
6231
|
+
{
|
|
6232
|
+
"data-gradient-index": wrapped,
|
|
6233
|
+
sx: [
|
|
6234
|
+
{
|
|
6235
|
+
position: "relative",
|
|
6236
|
+
overflow: "hidden",
|
|
6237
|
+
background: palette.base,
|
|
6238
|
+
color: "common.white",
|
|
6239
|
+
"&::before, &::after": {
|
|
6240
|
+
content: '""',
|
|
6241
|
+
position: "absolute",
|
|
6242
|
+
pointerEvents: "none",
|
|
6243
|
+
borderRadius: "50%",
|
|
6244
|
+
filter: "blur(6px)"
|
|
6245
|
+
},
|
|
6246
|
+
"&::before": {
|
|
6247
|
+
width: 460,
|
|
6248
|
+
height: 460,
|
|
6249
|
+
top: -120,
|
|
6250
|
+
right: -120,
|
|
6251
|
+
opacity: 0.7,
|
|
6252
|
+
background: `radial-gradient(circle, ${palette.blobA} 0%, transparent 70%)`
|
|
6253
|
+
},
|
|
6254
|
+
"&::after": {
|
|
6255
|
+
width: 520,
|
|
6256
|
+
height: 520,
|
|
6257
|
+
bottom: -180,
|
|
6258
|
+
left: -160,
|
|
6259
|
+
opacity: 0.55,
|
|
6260
|
+
background: `radial-gradient(circle, ${palette.blobB} 0%, transparent 70%)`
|
|
6261
|
+
}
|
|
6262
|
+
},
|
|
6263
|
+
...Array.isArray(sx) ? sx : [sx]
|
|
6264
|
+
],
|
|
6265
|
+
children
|
|
6266
|
+
}
|
|
6267
|
+
);
|
|
6268
|
+
}
|
|
6269
|
+
|
|
6162
6270
|
// src/components/layout/DefinitionRow.tsx
|
|
6163
|
-
var
|
|
6164
|
-
var
|
|
6165
|
-
var
|
|
6271
|
+
var import_Box9 = __toESM(require("@mui/material/Box"));
|
|
6272
|
+
var import_Typography6 = __toESM(require("@mui/material/Typography"));
|
|
6273
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
6166
6274
|
function DefinitionRow({
|
|
6167
6275
|
icon,
|
|
6168
6276
|
label,
|
|
@@ -6172,8 +6280,8 @@ function DefinitionRow({
|
|
|
6172
6280
|
dense = false,
|
|
6173
6281
|
divider = true
|
|
6174
6282
|
}) {
|
|
6175
|
-
return /* @__PURE__ */ (0,
|
|
6176
|
-
|
|
6283
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
6284
|
+
import_Box9.default,
|
|
6177
6285
|
{
|
|
6178
6286
|
"data-density": dense ? "dense" : "normal",
|
|
6179
6287
|
sx: {
|
|
@@ -6188,13 +6296,13 @@ function DefinitionRow({
|
|
|
6188
6296
|
}
|
|
6189
6297
|
},
|
|
6190
6298
|
children: [
|
|
6191
|
-
icon && /* @__PURE__ */ (0,
|
|
6192
|
-
/* @__PURE__ */ (0,
|
|
6193
|
-
/* @__PURE__ */ (0,
|
|
6194
|
-
sublabel && /* @__PURE__ */ (0,
|
|
6299
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_Box9.default, { sx: { display: "flex", alignItems: "center", color: "text.secondary" }, children: icon }),
|
|
6300
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_Box9.default, { sx: { minWidth: 0, flex: 1 }, children: [
|
|
6301
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_Typography6.default, { variant: "body2", sx: { fontWeight: 500, lineHeight: 1.2 }, children: label }),
|
|
6302
|
+
sublabel && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_Typography6.default, { variant: "caption", sx: { color: "text.secondary" }, children: sublabel })
|
|
6195
6303
|
] }),
|
|
6196
|
-
(value || hint) && /* @__PURE__ */ (0,
|
|
6197
|
-
|
|
6304
|
+
(value || hint) && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
6305
|
+
import_Box9.default,
|
|
6198
6306
|
{
|
|
6199
6307
|
sx: {
|
|
6200
6308
|
display: "flex",
|
|
@@ -6203,8 +6311,8 @@ function DefinitionRow({
|
|
|
6203
6311
|
textAlign: "right"
|
|
6204
6312
|
},
|
|
6205
6313
|
children: [
|
|
6206
|
-
value && /* @__PURE__ */ (0,
|
|
6207
|
-
hint && /* @__PURE__ */ (0,
|
|
6314
|
+
value && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_Typography6.default, { variant: "body2", sx: { color: "text.secondary" }, children: value }),
|
|
6315
|
+
hint && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_Typography6.default, { variant: "caption", sx: { color: "text.disabled" }, children: hint })
|
|
6208
6316
|
]
|
|
6209
6317
|
}
|
|
6210
6318
|
)
|
|
@@ -6217,11 +6325,11 @@ function DefinitionRow({
|
|
|
6217
6325
|
var import_react20 = require("react");
|
|
6218
6326
|
var import_Dialog = __toESM(require("@mui/material/Dialog"));
|
|
6219
6327
|
var import_IconButton7 = __toESM(require("@mui/material/IconButton"));
|
|
6220
|
-
var
|
|
6221
|
-
var
|
|
6328
|
+
var import_Box10 = __toESM(require("@mui/material/Box"));
|
|
6329
|
+
var import_Typography7 = __toESM(require("@mui/material/Typography"));
|
|
6222
6330
|
var import_Slide = __toESM(require("@mui/material/Slide"));
|
|
6223
6331
|
var import_Close3 = __toESM(require("@mui/icons-material/Close"));
|
|
6224
|
-
var
|
|
6332
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
6225
6333
|
var WIDTH_PX = {
|
|
6226
6334
|
sm: 420,
|
|
6227
6335
|
md: 640,
|
|
@@ -6230,12 +6338,12 @@ var WIDTH_PX = {
|
|
|
6230
6338
|
};
|
|
6231
6339
|
var SlideLeft = (0, import_react20.forwardRef)(
|
|
6232
6340
|
function SlideLeft2(props, ref) {
|
|
6233
|
-
return /* @__PURE__ */ (0,
|
|
6341
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_Slide.default, { direction: "left", ref, ...props });
|
|
6234
6342
|
}
|
|
6235
6343
|
);
|
|
6236
6344
|
var SlideUp = (0, import_react20.forwardRef)(
|
|
6237
6345
|
function SlideUp2(props, ref) {
|
|
6238
|
-
return /* @__PURE__ */ (0,
|
|
6346
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_Slide.default, { direction: "up", ref, ...props });
|
|
6239
6347
|
}
|
|
6240
6348
|
);
|
|
6241
6349
|
function PanelDialog({
|
|
@@ -6270,7 +6378,7 @@ function PanelDialog({
|
|
|
6270
6378
|
borderRadius: 0
|
|
6271
6379
|
}
|
|
6272
6380
|
};
|
|
6273
|
-
return /* @__PURE__ */ (0,
|
|
6381
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
6274
6382
|
import_Dialog.default,
|
|
6275
6383
|
{
|
|
6276
6384
|
open,
|
|
@@ -6284,8 +6392,8 @@ function PanelDialog({
|
|
|
6284
6392
|
...backdropSx ? { backdrop: { sx: backdropSx } } : {}
|
|
6285
6393
|
},
|
|
6286
6394
|
children: [
|
|
6287
|
-
!hideHeader && /* @__PURE__ */ (0,
|
|
6288
|
-
|
|
6395
|
+
!hideHeader && /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
6396
|
+
import_Box10.default,
|
|
6289
6397
|
{
|
|
6290
6398
|
sx: {
|
|
6291
6399
|
display: "flex",
|
|
@@ -6298,15 +6406,15 @@ function PanelDialog({
|
|
|
6298
6406
|
borderColor: "divider"
|
|
6299
6407
|
},
|
|
6300
6408
|
children: [
|
|
6301
|
-
/* @__PURE__ */ (0,
|
|
6302
|
-
/* @__PURE__ */ (0,
|
|
6409
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_Box10.default, { sx: { display: "flex", alignItems: "center", minWidth: 0 }, children: typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_Typography7.default, { variant: "h6", noWrap: true, children: title }) : title }),
|
|
6410
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_Box10.default, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
6303
6411
|
headerActions,
|
|
6304
|
-
/* @__PURE__ */ (0,
|
|
6412
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_IconButton7.default, { "aria-label": "Close", onClick: onClose, edge: "end", size: "small", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_Close3.default, { fontSize: "small" }) })
|
|
6305
6413
|
] })
|
|
6306
6414
|
]
|
|
6307
6415
|
}
|
|
6308
6416
|
),
|
|
6309
|
-
hideHeader && /* @__PURE__ */ (0,
|
|
6417
|
+
hideHeader && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
6310
6418
|
import_IconButton7.default,
|
|
6311
6419
|
{
|
|
6312
6420
|
"aria-label": "Close",
|
|
@@ -6321,10 +6429,10 @@ function PanelDialog({
|
|
|
6321
6429
|
boxShadow: 1,
|
|
6322
6430
|
"&:hover": { bgcolor: "background.paper" }
|
|
6323
6431
|
},
|
|
6324
|
-
children: /* @__PURE__ */ (0,
|
|
6432
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_Close3.default, { fontSize: "small" })
|
|
6325
6433
|
}
|
|
6326
6434
|
),
|
|
6327
|
-
/* @__PURE__ */ (0,
|
|
6435
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_Box10.default, { sx: { flex: 1, overflow: "auto", minHeight: 0 }, children })
|
|
6328
6436
|
]
|
|
6329
6437
|
}
|
|
6330
6438
|
);
|
|
@@ -6337,43 +6445,74 @@ var import_CardHeader = __toESM(require("@mui/material/CardHeader"));
|
|
|
6337
6445
|
var import_CardActions = __toESM(require("@mui/material/CardActions"));
|
|
6338
6446
|
var import_CardMedia = __toESM(require("@mui/material/CardMedia"));
|
|
6339
6447
|
var import_styles30 = require("@mui/material/styles");
|
|
6340
|
-
var
|
|
6341
|
-
var CardMedia = (props) => /* @__PURE__ */ (0,
|
|
6448
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
6449
|
+
var CardMedia = (props) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_CardMedia.default, { ...props });
|
|
6342
6450
|
var StyledCard = (0, import_styles30.styled)(import_Card.default, {
|
|
6343
|
-
shouldForwardProp: (prop) => prop !== "hoverable" && prop !== "clickable"
|
|
6344
|
-
})(
|
|
6345
|
-
|
|
6346
|
-
|
|
6347
|
-
|
|
6348
|
-
|
|
6349
|
-
|
|
6350
|
-
|
|
6351
|
-
|
|
6352
|
-
"
|
|
6353
|
-
boxShadow: "
|
|
6354
|
-
|
|
6451
|
+
shouldForwardProp: (prop) => prop !== "hoverable" && prop !== "clickable" && prop !== "dsVariant"
|
|
6452
|
+
})(
|
|
6453
|
+
({ theme: theme2, hoverable, clickable, dsVariant }) => ({
|
|
6454
|
+
borderRadius: 8,
|
|
6455
|
+
transition: "all 0.2s ease-in-out",
|
|
6456
|
+
...dsVariant === "standard" && {
|
|
6457
|
+
boxShadow: "0px 1px 3px rgba(0, 0, 0, 0.12)",
|
|
6458
|
+
backgroundColor: theme2.palette.background.paper
|
|
6459
|
+
},
|
|
6460
|
+
...dsVariant === "tinted" && {
|
|
6461
|
+
boxShadow: "none",
|
|
6462
|
+
backgroundColor: theme2.palette.action.hover,
|
|
6463
|
+
border: `1px solid ${theme2.palette.divider}`
|
|
6464
|
+
},
|
|
6465
|
+
...dsVariant === "outlined" && {
|
|
6466
|
+
boxShadow: "none",
|
|
6467
|
+
backgroundColor: theme2.palette.background.paper,
|
|
6468
|
+
border: `1px solid ${theme2.palette.divider}`
|
|
6469
|
+
},
|
|
6470
|
+
...clickable && {
|
|
6471
|
+
cursor: "pointer"
|
|
6472
|
+
},
|
|
6473
|
+
...hoverable && {
|
|
6474
|
+
"&:hover": {
|
|
6475
|
+
boxShadow: "0px 4px 12px rgba(0, 0, 0, 0.15)",
|
|
6476
|
+
transform: "translateY(-2px)"
|
|
6477
|
+
}
|
|
6355
6478
|
}
|
|
6356
|
-
}
|
|
6357
|
-
|
|
6358
|
-
var Card = ({
|
|
6359
|
-
|
|
6479
|
+
})
|
|
6480
|
+
);
|
|
6481
|
+
var Card = ({
|
|
6482
|
+
variant = "standard",
|
|
6483
|
+
hoverable = false,
|
|
6484
|
+
clickable = false,
|
|
6485
|
+
children,
|
|
6486
|
+
...props
|
|
6487
|
+
}) => {
|
|
6488
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
6489
|
+
StyledCard,
|
|
6490
|
+
{
|
|
6491
|
+
dsVariant: variant,
|
|
6492
|
+
hoverable,
|
|
6493
|
+
clickable,
|
|
6494
|
+
variant: "elevation",
|
|
6495
|
+
...props,
|
|
6496
|
+
children
|
|
6497
|
+
}
|
|
6498
|
+
);
|
|
6360
6499
|
};
|
|
6361
6500
|
var CardContent = (props) => {
|
|
6362
|
-
return /* @__PURE__ */ (0,
|
|
6501
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_CardContent.default, { ...props });
|
|
6363
6502
|
};
|
|
6364
6503
|
var CardHeader = (props) => {
|
|
6365
|
-
return /* @__PURE__ */ (0,
|
|
6504
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_CardHeader.default, { ...props });
|
|
6366
6505
|
};
|
|
6367
6506
|
var CardActions = (props) => {
|
|
6368
|
-
return /* @__PURE__ */ (0,
|
|
6507
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_CardActions.default, { ...props });
|
|
6369
6508
|
};
|
|
6370
6509
|
|
|
6371
6510
|
// src/components/layout/List.tsx
|
|
6372
6511
|
var import_material30 = require("@mui/material");
|
|
6373
6512
|
var import_styles31 = require("@mui/material/styles");
|
|
6374
|
-
var
|
|
6513
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
6375
6514
|
var List6 = (props) => {
|
|
6376
|
-
return /* @__PURE__ */ (0,
|
|
6515
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_material30.List, { ...props });
|
|
6377
6516
|
};
|
|
6378
6517
|
var StyledListItem = (0, import_styles31.styled)(import_material30.ListItem, {
|
|
6379
6518
|
shouldForwardProp: (prop) => prop !== "hoverable"
|
|
@@ -6396,9 +6535,9 @@ var ListItem4 = ({
|
|
|
6396
6535
|
children,
|
|
6397
6536
|
...props
|
|
6398
6537
|
}) => {
|
|
6399
|
-
return /* @__PURE__ */ (0,
|
|
6400
|
-
icon && /* @__PURE__ */ (0,
|
|
6401
|
-
(primary || secondary) && /* @__PURE__ */ (0,
|
|
6538
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(StyledListItem, { hoverable, ...props, children: [
|
|
6539
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_material30.ListItemIcon, { children: icon }),
|
|
6540
|
+
(primary || secondary) && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
6402
6541
|
import_material30.ListItemText,
|
|
6403
6542
|
{
|
|
6404
6543
|
primary,
|
|
@@ -6413,7 +6552,7 @@ var ListItem4 = ({
|
|
|
6413
6552
|
// src/components/layout/Avatar.tsx
|
|
6414
6553
|
var import_Avatar = __toESM(require("@mui/material/Avatar"));
|
|
6415
6554
|
var import_styles32 = require("@mui/material/styles");
|
|
6416
|
-
var
|
|
6555
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
6417
6556
|
var sizeMap = {
|
|
6418
6557
|
small: 32,
|
|
6419
6558
|
medium: 40,
|
|
@@ -6430,13 +6569,13 @@ var StyledAvatar = (0, import_styles32.styled)(import_Avatar.default, {
|
|
|
6430
6569
|
}));
|
|
6431
6570
|
var Avatar5 = ({ size: size3 = "medium", ...props }) => {
|
|
6432
6571
|
const avatarSize = typeof size3 === "number" ? size3 : sizeMap[size3];
|
|
6433
|
-
return /* @__PURE__ */ (0,
|
|
6572
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(StyledAvatar, { avatarSize, ...props });
|
|
6434
6573
|
};
|
|
6435
6574
|
|
|
6436
6575
|
// src/components/layout/Table.tsx
|
|
6437
6576
|
var import_material31 = require("@mui/material");
|
|
6438
6577
|
var import_styles33 = require("@mui/material/styles");
|
|
6439
|
-
var
|
|
6578
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
6440
6579
|
var StyledTableContainer = (0, import_styles33.styled)(import_material31.TableContainer)(({ theme: theme2 }) => ({
|
|
6441
6580
|
borderRadius: 8,
|
|
6442
6581
|
border: `1px solid ${theme2.palette.grey[200]}`
|
|
@@ -6449,7 +6588,7 @@ var StyledTableHead = (0, import_styles33.styled)(import_material31.TableHead)((
|
|
|
6449
6588
|
}
|
|
6450
6589
|
}));
|
|
6451
6590
|
var Table = ({ stickyHeader = false, children, ...props }) => {
|
|
6452
|
-
return /* @__PURE__ */ (0,
|
|
6591
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(StyledTableContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_material31.Table, { stickyHeader, ...props, children }) });
|
|
6453
6592
|
};
|
|
6454
6593
|
var TableHeader = ({
|
|
6455
6594
|
columns,
|
|
@@ -6457,7 +6596,7 @@ var TableHeader = ({
|
|
|
6457
6596
|
order = "asc",
|
|
6458
6597
|
onSort
|
|
6459
6598
|
}) => {
|
|
6460
|
-
return /* @__PURE__ */ (0,
|
|
6599
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(StyledTableHead, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_material31.TableRow, { children: columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_material31.TableCell, { align: column.align || "left", children: column.sortable && onSort ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
6461
6600
|
import_material31.TableSortLabel,
|
|
6462
6601
|
{
|
|
6463
6602
|
active: orderBy === column.id,
|
|
@@ -6474,9 +6613,9 @@ var import_material32 = require("@mui/material");
|
|
|
6474
6613
|
// src/components/layout/Breadcrumbs.tsx
|
|
6475
6614
|
var import_Breadcrumbs = __toESM(require("@mui/material/Breadcrumbs"));
|
|
6476
6615
|
var import_Link3 = __toESM(require("@mui/material/Link"));
|
|
6477
|
-
var
|
|
6616
|
+
var import_Typography8 = __toESM(require("@mui/material/Typography"));
|
|
6478
6617
|
var import_styles34 = require("@mui/material/styles");
|
|
6479
|
-
var
|
|
6618
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
6480
6619
|
var StyledBreadcrumbs = (0, import_styles34.styled)(import_Breadcrumbs.default)(({ theme: theme2 }) => ({
|
|
6481
6620
|
"& .MuiBreadcrumbs-ol": {
|
|
6482
6621
|
flexWrap: "nowrap"
|
|
@@ -6493,12 +6632,12 @@ var StyledLink2 = (0, import_styles34.styled)(import_Link3.default)(({ theme: th
|
|
|
6493
6632
|
}
|
|
6494
6633
|
}));
|
|
6495
6634
|
var Breadcrumbs = ({ items, ...props }) => {
|
|
6496
|
-
return /* @__PURE__ */ (0,
|
|
6635
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(StyledBreadcrumbs, { ...props, children: items.map((item, index) => {
|
|
6497
6636
|
const isLast = index === items.length - 1;
|
|
6498
6637
|
if (isLast || !item.href && !item.onClick) {
|
|
6499
|
-
return /* @__PURE__ */ (0,
|
|
6638
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_Typography8.default, { color: "text.primary", children: item.label }, index);
|
|
6500
6639
|
}
|
|
6501
|
-
return /* @__PURE__ */ (0,
|
|
6640
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
6502
6641
|
StyledLink2,
|
|
6503
6642
|
{
|
|
6504
6643
|
href: item.href,
|
|
@@ -6519,7 +6658,7 @@ var Breadcrumbs = ({ items, ...props }) => {
|
|
|
6519
6658
|
var import_material33 = require("@mui/material");
|
|
6520
6659
|
var import_ExpandMore = __toESM(require("@mui/icons-material/ExpandMore"));
|
|
6521
6660
|
var import_styles35 = require("@mui/material/styles");
|
|
6522
|
-
var
|
|
6661
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
6523
6662
|
var StyledAccordion = (0, import_styles35.styled)(import_material33.Accordion)(({ theme: theme2 }) => ({
|
|
6524
6663
|
borderRadius: 8,
|
|
6525
6664
|
boxShadow: "none",
|
|
@@ -6550,16 +6689,16 @@ var Accordion = ({
|
|
|
6550
6689
|
defaultExpanded = false,
|
|
6551
6690
|
...props
|
|
6552
6691
|
}) => {
|
|
6553
|
-
return /* @__PURE__ */ (0,
|
|
6554
|
-
/* @__PURE__ */ (0,
|
|
6555
|
-
/* @__PURE__ */ (0,
|
|
6692
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(StyledAccordion, { defaultExpanded, ...props, children: [
|
|
6693
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(StyledAccordionSummary, { expandIcon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_ExpandMore.default, {}), children: title }),
|
|
6694
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(StyledAccordionDetails, { children })
|
|
6556
6695
|
] });
|
|
6557
6696
|
};
|
|
6558
6697
|
|
|
6559
6698
|
// src/components/layout/Paper.tsx
|
|
6560
6699
|
var import_Paper = __toESM(require("@mui/material/Paper"));
|
|
6561
6700
|
var import_styles36 = require("@mui/material/styles");
|
|
6562
|
-
var
|
|
6701
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
6563
6702
|
var StyledPaper = (0, import_styles36.styled)(import_Paper.default)(({ theme: theme2 }) => ({
|
|
6564
6703
|
borderRadius: 8,
|
|
6565
6704
|
"&.MuiPaper-elevation": {
|
|
@@ -6571,18 +6710,18 @@ var StyledPaper = (0, import_styles36.styled)(import_Paper.default)(({ theme: th
|
|
|
6571
6710
|
}
|
|
6572
6711
|
}));
|
|
6573
6712
|
var Paper = ({ variant = "elevation", ...props }) => {
|
|
6574
|
-
return /* @__PURE__ */ (0,
|
|
6713
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(StyledPaper, { variant, elevation: variant === "elevation" ? 1 : 0, ...props });
|
|
6575
6714
|
};
|
|
6576
6715
|
|
|
6577
6716
|
// src/components/layout/Divider.tsx
|
|
6578
6717
|
var import_Divider = __toESM(require("@mui/material/Divider"));
|
|
6579
6718
|
var import_styles37 = require("@mui/material/styles");
|
|
6580
|
-
var
|
|
6719
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
6581
6720
|
var StyledDivider = (0, import_styles37.styled)(import_Divider.default)(({ theme: theme2 }) => ({
|
|
6582
6721
|
borderColor: theme2.palette.grey[200]
|
|
6583
6722
|
}));
|
|
6584
6723
|
var Divider4 = ({ ...props }) => {
|
|
6585
|
-
return /* @__PURE__ */ (0,
|
|
6724
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(StyledDivider, { ...props });
|
|
6586
6725
|
};
|
|
6587
6726
|
|
|
6588
6727
|
// src/components/layout/Stack.tsx
|
|
@@ -6600,7 +6739,7 @@ var import_material37 = require("@mui/material");
|
|
|
6600
6739
|
// src/components/layout/AppBar.tsx
|
|
6601
6740
|
var import_material38 = require("@mui/material");
|
|
6602
6741
|
var import_styles38 = require("@mui/material/styles");
|
|
6603
|
-
var
|
|
6742
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
6604
6743
|
var StyledAppBar = (0, import_styles38.styled)(import_material38.AppBar, {
|
|
6605
6744
|
shouldForwardProp: (prop) => prop !== "appBarHeight"
|
|
6606
6745
|
})(({ appBarHeight = 64, theme: theme2 }) => ({
|
|
@@ -6617,23 +6756,23 @@ var StyledToolbar = (0, import_styles38.styled)(import_material38.Toolbar)(({ th
|
|
|
6617
6756
|
gap: theme2.spacing(2)
|
|
6618
6757
|
}));
|
|
6619
6758
|
var AppBar = ({ height = 64, children, ...props }) => {
|
|
6620
|
-
return /* @__PURE__ */ (0,
|
|
6759
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(StyledAppBar, { position: "fixed", appBarHeight: height, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(StyledToolbar, { children }) });
|
|
6621
6760
|
};
|
|
6622
6761
|
|
|
6623
6762
|
// src/components/layout/Collapse.tsx
|
|
6624
6763
|
var import_material39 = require("@mui/material");
|
|
6625
|
-
var
|
|
6764
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
6626
6765
|
var Collapse = (props) => {
|
|
6627
|
-
return /* @__PURE__ */ (0,
|
|
6766
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_material39.Collapse, { ...props });
|
|
6628
6767
|
};
|
|
6629
6768
|
|
|
6630
6769
|
// src/components/layout/EntityHeader/EntityHeader.tsx
|
|
6631
|
-
var
|
|
6632
|
-
var
|
|
6770
|
+
var import_Box11 = __toESM(require("@mui/material/Box"));
|
|
6771
|
+
var import_Typography9 = __toESM(require("@mui/material/Typography"));
|
|
6633
6772
|
var import_IconButton8 = __toESM(require("@mui/material/IconButton"));
|
|
6634
6773
|
var import_Divider2 = __toESM(require("@mui/material/Divider"));
|
|
6635
6774
|
var import_MoreHoriz = __toESM(require("@mui/icons-material/MoreHoriz"));
|
|
6636
|
-
var
|
|
6775
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
6637
6776
|
var EntityHeader = ({
|
|
6638
6777
|
title,
|
|
6639
6778
|
subtitle,
|
|
@@ -6652,9 +6791,9 @@ var EntityHeader = ({
|
|
|
6652
6791
|
const { label, count } = primaryAction;
|
|
6653
6792
|
return count !== void 0 ? `${label} (${count})` : label;
|
|
6654
6793
|
};
|
|
6655
|
-
return /* @__PURE__ */ (0,
|
|
6656
|
-
/* @__PURE__ */ (0,
|
|
6657
|
-
|
|
6794
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_Box11.default, { children: [
|
|
6795
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
6796
|
+
import_Box11.default,
|
|
6658
6797
|
{
|
|
6659
6798
|
sx: {
|
|
6660
6799
|
display: "flex",
|
|
@@ -6665,8 +6804,8 @@ var EntityHeader = ({
|
|
|
6665
6804
|
gap: 1
|
|
6666
6805
|
},
|
|
6667
6806
|
children: [
|
|
6668
|
-
/* @__PURE__ */ (0,
|
|
6669
|
-
|
|
6807
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
6808
|
+
import_Box11.default,
|
|
6670
6809
|
{
|
|
6671
6810
|
sx: {
|
|
6672
6811
|
display: "flex",
|
|
@@ -6675,8 +6814,8 @@ var EntityHeader = ({
|
|
|
6675
6814
|
flexWrap: "wrap"
|
|
6676
6815
|
},
|
|
6677
6816
|
children: [
|
|
6678
|
-
/* @__PURE__ */ (0,
|
|
6679
|
-
|
|
6817
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
6818
|
+
import_Box11.default,
|
|
6680
6819
|
{
|
|
6681
6820
|
sx: {
|
|
6682
6821
|
display: "flex",
|
|
@@ -6684,8 +6823,8 @@ var EntityHeader = ({
|
|
|
6684
6823
|
gap: 0.5
|
|
6685
6824
|
},
|
|
6686
6825
|
children: [
|
|
6687
|
-
/* @__PURE__ */ (0,
|
|
6688
|
-
|
|
6826
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6827
|
+
import_Typography9.default,
|
|
6689
6828
|
{
|
|
6690
6829
|
component: headingLevel,
|
|
6691
6830
|
sx: {
|
|
@@ -6698,8 +6837,8 @@ var EntityHeader = ({
|
|
|
6698
6837
|
children: title
|
|
6699
6838
|
}
|
|
6700
6839
|
),
|
|
6701
|
-
subtitle && /* @__PURE__ */ (0,
|
|
6702
|
-
|
|
6840
|
+
subtitle && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6841
|
+
import_Typography9.default,
|
|
6703
6842
|
{
|
|
6704
6843
|
variant: "body2",
|
|
6705
6844
|
sx: {
|
|
@@ -6715,13 +6854,13 @@ var EntityHeader = ({
|
|
|
6715
6854
|
]
|
|
6716
6855
|
}
|
|
6717
6856
|
),
|
|
6718
|
-
role && /* @__PURE__ */ (0,
|
|
6719
|
-
id && /* @__PURE__ */ (0,
|
|
6857
|
+
role && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(RoleBadge, { label: role, color: "primary", size: "small" }),
|
|
6858
|
+
id && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(IDBlock, { id, label: "ID", entityType: "entity", onCopy: onCopyId })
|
|
6720
6859
|
]
|
|
6721
6860
|
}
|
|
6722
6861
|
),
|
|
6723
|
-
/* @__PURE__ */ (0,
|
|
6724
|
-
|
|
6862
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
6863
|
+
import_Box11.default,
|
|
6725
6864
|
{
|
|
6726
6865
|
sx: {
|
|
6727
6866
|
display: "flex",
|
|
@@ -6731,7 +6870,7 @@ var EntityHeader = ({
|
|
|
6731
6870
|
},
|
|
6732
6871
|
children: [
|
|
6733
6872
|
startActions,
|
|
6734
|
-
primaryAction && /* @__PURE__ */ (0,
|
|
6873
|
+
primaryAction && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6735
6874
|
Button,
|
|
6736
6875
|
{
|
|
6737
6876
|
variant: "primary",
|
|
@@ -6744,7 +6883,7 @@ var EntityHeader = ({
|
|
|
6744
6883
|
}
|
|
6745
6884
|
),
|
|
6746
6885
|
endActions,
|
|
6747
|
-
onMoreOptions && /* @__PURE__ */ (0,
|
|
6886
|
+
onMoreOptions && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6748
6887
|
import_IconButton8.default,
|
|
6749
6888
|
{
|
|
6750
6889
|
onClick: onMoreOptions,
|
|
@@ -6759,7 +6898,7 @@ var EntityHeader = ({
|
|
|
6759
6898
|
borderColor: deploymentSurfaceTokens.borderDefault
|
|
6760
6899
|
}
|
|
6761
6900
|
},
|
|
6762
|
-
children: /* @__PURE__ */ (0,
|
|
6901
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6763
6902
|
import_MoreHoriz.default,
|
|
6764
6903
|
{
|
|
6765
6904
|
sx: {
|
|
@@ -6776,7 +6915,7 @@ var EntityHeader = ({
|
|
|
6776
6915
|
]
|
|
6777
6916
|
}
|
|
6778
6917
|
),
|
|
6779
|
-
divider && /* @__PURE__ */ (0,
|
|
6918
|
+
divider && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6780
6919
|
import_Divider2.default,
|
|
6781
6920
|
{
|
|
6782
6921
|
sx: {
|
|
@@ -6809,7 +6948,7 @@ function useControlledExpand(controlledExpanded, onToggle, defaultExpanded = fal
|
|
|
6809
6948
|
}
|
|
6810
6949
|
|
|
6811
6950
|
// src/components/layout/DeploymentDashboardCard/DeploymentDashboardCard.tsx
|
|
6812
|
-
var
|
|
6951
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
6813
6952
|
var ENTITY_LABELS = {
|
|
6814
6953
|
workspace: "Workspace",
|
|
6815
6954
|
stream: "Stream",
|
|
@@ -6819,11 +6958,11 @@ var ENTITY_LABELS = {
|
|
|
6819
6958
|
};
|
|
6820
6959
|
var ENTITY_ICON_SIZE = 16;
|
|
6821
6960
|
var ENTITY_ICONS = {
|
|
6822
|
-
workspace: /* @__PURE__ */ (0,
|
|
6823
|
-
stream: /* @__PURE__ */ (0,
|
|
6824
|
-
deployment: /* @__PURE__ */ (0,
|
|
6825
|
-
engagement: /* @__PURE__ */ (0,
|
|
6826
|
-
agent: /* @__PURE__ */ (0,
|
|
6961
|
+
workspace: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_WorkOutline.default, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
6962
|
+
stream: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_Waves.default, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
6963
|
+
deployment: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_RocketLaunchOutlined.default, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
6964
|
+
engagement: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_InsertLink.default, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
6965
|
+
agent: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_SmartToyOutlined.default, { sx: { fontSize: ENTITY_ICON_SIZE } })
|
|
6827
6966
|
};
|
|
6828
6967
|
var STATUS_DOT_COLORS = {
|
|
6829
6968
|
normal: deploymentStatusColors.normal,
|
|
@@ -6853,7 +6992,7 @@ var StatusDot2 = (0, import_styles39.styled)(import_material40.Box, {
|
|
|
6853
6992
|
backgroundColor: status ? STATUS_DOT_COLORS[status] ?? "transparent" : "transparent",
|
|
6854
6993
|
flexShrink: 0
|
|
6855
6994
|
}));
|
|
6856
|
-
var EntityChip = ({ entityType, color }) => /* @__PURE__ */ (0,
|
|
6995
|
+
var EntityChip = ({ entityType, color }) => /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
6857
6996
|
import_material40.Box,
|
|
6858
6997
|
{
|
|
6859
6998
|
sx: {
|
|
@@ -6869,8 +7008,8 @@ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ (0, import_jsx_runti
|
|
|
6869
7008
|
flexShrink: 0
|
|
6870
7009
|
},
|
|
6871
7010
|
children: [
|
|
6872
|
-
/* @__PURE__ */ (0,
|
|
6873
|
-
/* @__PURE__ */ (0,
|
|
7011
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_material40.Box, { sx: { color, display: "flex", alignItems: "center" }, children: ENTITY_ICONS[entityType] }),
|
|
7012
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6874
7013
|
import_material40.Typography,
|
|
6875
7014
|
{
|
|
6876
7015
|
variant: "body2",
|
|
@@ -6887,15 +7026,15 @@ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ (0, import_jsx_runti
|
|
|
6887
7026
|
]
|
|
6888
7027
|
}
|
|
6889
7028
|
);
|
|
6890
|
-
var CapacityBar = ({ value, indented = false }) => /* @__PURE__ */ (0,
|
|
6891
|
-
/* @__PURE__ */ (0,
|
|
6892
|
-
/* @__PURE__ */ (0,
|
|
6893
|
-
/* @__PURE__ */ (0,
|
|
7029
|
+
var CapacityBar = ({ value, indented = false }) => /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_material40.Box, { sx: { pl: indented ? "40px" : 0, pr: "20px", py: 1 }, children: [
|
|
7030
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_material40.Box, { sx: { display: "flex", justifyContent: "space-between", mb: 1 }, children: [
|
|
7031
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_material40.Typography, { variant: "body2", sx: { color: deploymentSurfaceTokens.textPrimary }, children: "Capacity" }),
|
|
7032
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_material40.Typography, { variant: "body2", sx: { color: deploymentSurfaceTokens.accentBlue }, children: [
|
|
6894
7033
|
value,
|
|
6895
7034
|
"%"
|
|
6896
7035
|
] })
|
|
6897
7036
|
] }),
|
|
6898
|
-
/* @__PURE__ */ (0,
|
|
7037
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6899
7038
|
import_material40.LinearProgress,
|
|
6900
7039
|
{
|
|
6901
7040
|
variant: "determinate",
|
|
@@ -6935,19 +7074,19 @@ var getActionButtonStyles = (action) => {
|
|
|
6935
7074
|
};
|
|
6936
7075
|
return { ...baseStyles, ...variantStyles };
|
|
6937
7076
|
};
|
|
6938
|
-
var CardAction = ({ action }) => /* @__PURE__ */ (0,
|
|
7077
|
+
var CardAction = ({ action }) => /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
6939
7078
|
import_material40.Box,
|
|
6940
7079
|
{
|
|
6941
7080
|
component: action.onClick ? "button" : "span",
|
|
6942
7081
|
onClick: action.onClick,
|
|
6943
7082
|
sx: getActionButtonStyles(action),
|
|
6944
7083
|
children: [
|
|
6945
|
-
action.icon && /* @__PURE__ */ (0,
|
|
6946
|
-
action.label && /* @__PURE__ */ (0,
|
|
7084
|
+
action.icon && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_material40.Box, { component: "span", sx: { display: "flex", alignItems: "center" }, children: action.icon }),
|
|
7085
|
+
action.label && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_material40.Typography, { variant: "body2", fontWeight: 500, component: "span", sx: { fontSize: "14px" }, children: action.label })
|
|
6947
7086
|
]
|
|
6948
7087
|
}
|
|
6949
7088
|
);
|
|
6950
|
-
var CardActionList = ({ actions }) => /* @__PURE__ */ (0,
|
|
7089
|
+
var CardActionList = ({ actions }) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_jsx_runtime67.Fragment, { children: actions.map((action) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(CardAction, { action }, action.id)) });
|
|
6951
7090
|
var DeploymentDashboardCard = ({
|
|
6952
7091
|
entityType,
|
|
6953
7092
|
title,
|
|
@@ -6980,7 +7119,7 @@ var DeploymentDashboardCard = ({
|
|
|
6980
7119
|
return Math.min(100, Math.max(0, capacity2));
|
|
6981
7120
|
};
|
|
6982
7121
|
const capacityClamped = getClampedCapacity(capacity);
|
|
6983
|
-
return /* @__PURE__ */ (0,
|
|
7122
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
6984
7123
|
import_material40.Paper,
|
|
6985
7124
|
{
|
|
6986
7125
|
className,
|
|
@@ -6997,7 +7136,7 @@ var DeploymentDashboardCard = ({
|
|
|
6997
7136
|
gap: 0
|
|
6998
7137
|
},
|
|
6999
7138
|
children: [
|
|
7000
|
-
/* @__PURE__ */ (0,
|
|
7139
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
7001
7140
|
import_material40.Box,
|
|
7002
7141
|
{
|
|
7003
7142
|
sx: {
|
|
@@ -7007,20 +7146,20 @@ var DeploymentDashboardCard = ({
|
|
|
7007
7146
|
width: "100%"
|
|
7008
7147
|
},
|
|
7009
7148
|
children: [
|
|
7010
|
-
/* @__PURE__ */ (0,
|
|
7011
|
-
/* @__PURE__ */ (0,
|
|
7012
|
-
expandable ? /* @__PURE__ */ (0,
|
|
7149
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_material40.Box, { sx: { display: "flex", flexDirection: "column", gap: 0.5, minWidth: 0 }, children: [
|
|
7150
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_material40.Box, { sx: { display: "flex", gap: 1, alignItems: "center" }, children: [
|
|
7151
|
+
expandable ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
7013
7152
|
import_material40.IconButton,
|
|
7014
7153
|
{
|
|
7015
7154
|
size: "small",
|
|
7016
7155
|
onClick: toggle,
|
|
7017
7156
|
"aria-label": expanded ? "Collapse" : "Expand",
|
|
7018
7157
|
sx: { p: "5px" },
|
|
7019
|
-
children: expanded ? /* @__PURE__ */ (0,
|
|
7158
|
+
children: expanded ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_ExpandMore2.default, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } }) : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_ChevronRight4.default, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } })
|
|
7020
7159
|
}
|
|
7021
|
-
) : /* @__PURE__ */ (0,
|
|
7022
|
-
/* @__PURE__ */ (0,
|
|
7023
|
-
/* @__PURE__ */ (0,
|
|
7160
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_material40.Box, { sx: { width: 26, flexShrink: 0 } }),
|
|
7161
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(EntityChip, { entityType, color: entityColor }),
|
|
7162
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
7024
7163
|
import_material40.Typography,
|
|
7025
7164
|
{
|
|
7026
7165
|
variant: "subtitle1",
|
|
@@ -7030,9 +7169,9 @@ var DeploymentDashboardCard = ({
|
|
|
7030
7169
|
children: title
|
|
7031
7170
|
}
|
|
7032
7171
|
),
|
|
7033
|
-
idDisplay != null && /* @__PURE__ */ (0,
|
|
7172
|
+
idDisplay != null && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(IDBlock, { id: idDisplay, label: "ID", entityType, onCopy: onCopyId })
|
|
7034
7173
|
] }),
|
|
7035
|
-
(createdAt != null || updatedAt != null) && /* @__PURE__ */ (0,
|
|
7174
|
+
(createdAt != null || updatedAt != null) && /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
7036
7175
|
import_material40.Box,
|
|
7037
7176
|
{
|
|
7038
7177
|
sx: {
|
|
@@ -7042,27 +7181,27 @@ var DeploymentDashboardCard = ({
|
|
|
7042
7181
|
color: deploymentSurfaceTokens.textSecondary
|
|
7043
7182
|
},
|
|
7044
7183
|
children: [
|
|
7045
|
-
createdAt != null && /* @__PURE__ */ (0,
|
|
7184
|
+
createdAt != null && /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_material40.Typography, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
|
|
7046
7185
|
"Created: ",
|
|
7047
7186
|
createdAt
|
|
7048
7187
|
] }),
|
|
7049
|
-
updatedAt != null && /* @__PURE__ */ (0,
|
|
7188
|
+
updatedAt != null && /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_material40.Typography, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
|
|
7050
7189
|
"Last Updated: ",
|
|
7051
7190
|
updatedAt
|
|
7052
7191
|
] })
|
|
7053
7192
|
]
|
|
7054
7193
|
}
|
|
7055
7194
|
),
|
|
7056
|
-
capacityClamped !== void 0 && /* @__PURE__ */ (0,
|
|
7195
|
+
capacityClamped !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(CapacityBar, { value: capacityClamped, indented: expandable })
|
|
7057
7196
|
] }),
|
|
7058
|
-
/* @__PURE__ */ (0,
|
|
7059
|
-
statusIndicator != null && /* @__PURE__ */ (0,
|
|
7060
|
-
/* @__PURE__ */ (0,
|
|
7197
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_material40.Box, { sx: { display: "flex", gap: 1, alignItems: "center", flexShrink: 0 }, children: [
|
|
7198
|
+
statusIndicator != null && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(StatusDot2, { status: statusIndicator, "aria-hidden": true }),
|
|
7199
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(CardActionList, { actions })
|
|
7061
7200
|
] })
|
|
7062
7201
|
]
|
|
7063
7202
|
}
|
|
7064
7203
|
),
|
|
7065
|
-
children && /* @__PURE__ */ (0,
|
|
7204
|
+
children && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_material40.Box, { sx: { mt: 1.5, display: "flex", flexDirection: "column", gap: 1 }, children })
|
|
7066
7205
|
]
|
|
7067
7206
|
}
|
|
7068
7207
|
);
|
|
@@ -7071,7 +7210,7 @@ var DeploymentDashboardCard = ({
|
|
|
7071
7210
|
// src/components/layout/DeploymentEntityContextMenu/DeploymentEntityContextMenu.tsx
|
|
7072
7211
|
var import_material41 = require("@mui/material");
|
|
7073
7212
|
var import_styles40 = require("@mui/material/styles");
|
|
7074
|
-
var
|
|
7213
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
7075
7214
|
var StyledMenu2 = (0, import_styles40.styled)(import_material41.Menu)({
|
|
7076
7215
|
"& .MuiPaper-root": {
|
|
7077
7216
|
borderRadius: 4,
|
|
@@ -7169,7 +7308,7 @@ var DeploymentEntityContextMenu = ({
|
|
|
7169
7308
|
enableChecked = false,
|
|
7170
7309
|
onEnableChange
|
|
7171
7310
|
}) => {
|
|
7172
|
-
return /* @__PURE__ */ (0,
|
|
7311
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
|
|
7173
7312
|
StyledMenu2,
|
|
7174
7313
|
{
|
|
7175
7314
|
anchorEl,
|
|
@@ -7181,11 +7320,11 @@ var DeploymentEntityContextMenu = ({
|
|
|
7181
7320
|
children: [
|
|
7182
7321
|
items.map((item) => {
|
|
7183
7322
|
if (item.type === "divider") {
|
|
7184
|
-
return /* @__PURE__ */ (0,
|
|
7323
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(StyledDivider2, {}, item.id);
|
|
7185
7324
|
}
|
|
7186
7325
|
if (item.type === "toggle") {
|
|
7187
|
-
return /* @__PURE__ */ (0,
|
|
7188
|
-
onEnableChange && /* @__PURE__ */ (0,
|
|
7326
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(ToggleMenuItem, { disableRipple: true, children: [
|
|
7327
|
+
onEnableChange && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
7189
7328
|
EnableSwitch,
|
|
7190
7329
|
{
|
|
7191
7330
|
size: "small",
|
|
@@ -7194,11 +7333,11 @@ var DeploymentEntityContextMenu = ({
|
|
|
7194
7333
|
inputProps: { "aria-label": item.label }
|
|
7195
7334
|
}
|
|
7196
7335
|
),
|
|
7197
|
-
/* @__PURE__ */ (0,
|
|
7336
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_material41.ListItemText, { primary: item.label })
|
|
7198
7337
|
] }, item.id);
|
|
7199
7338
|
}
|
|
7200
7339
|
const Row = item.highlighted ? HighlightedMenuItem : StyledMenuItem;
|
|
7201
|
-
return /* @__PURE__ */ (0,
|
|
7340
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
|
|
7202
7341
|
Row,
|
|
7203
7342
|
{
|
|
7204
7343
|
onClick: () => {
|
|
@@ -7206,17 +7345,17 @@ var DeploymentEntityContextMenu = ({
|
|
|
7206
7345
|
onClose();
|
|
7207
7346
|
},
|
|
7208
7347
|
children: [
|
|
7209
|
-
item.icon && /* @__PURE__ */ (0,
|
|
7210
|
-
/* @__PURE__ */ (0,
|
|
7348
|
+
item.icon && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_material41.ListItemIcon, { children: item.icon }),
|
|
7349
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_material41.ListItemText, { primary: item.label })
|
|
7211
7350
|
]
|
|
7212
7351
|
},
|
|
7213
7352
|
item.id
|
|
7214
7353
|
);
|
|
7215
7354
|
}),
|
|
7216
|
-
enableToggle && /* @__PURE__ */ (0,
|
|
7217
|
-
/* @__PURE__ */ (0,
|
|
7218
|
-
/* @__PURE__ */ (0,
|
|
7219
|
-
onEnableChange && /* @__PURE__ */ (0,
|
|
7355
|
+
enableToggle && /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_jsx_runtime68.Fragment, { children: [
|
|
7356
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(StyledDivider2, {}),
|
|
7357
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(ToggleMenuItem, { disableRipple: true, children: [
|
|
7358
|
+
onEnableChange && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
7220
7359
|
EnableSwitch,
|
|
7221
7360
|
{
|
|
7222
7361
|
size: "small",
|
|
@@ -7225,7 +7364,7 @@ var DeploymentEntityContextMenu = ({
|
|
|
7225
7364
|
inputProps: { "aria-label": "Enable" }
|
|
7226
7365
|
}
|
|
7227
7366
|
),
|
|
7228
|
-
/* @__PURE__ */ (0,
|
|
7367
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_material41.ListItemText, { primary: "Enable" })
|
|
7229
7368
|
] })
|
|
7230
7369
|
] })
|
|
7231
7370
|
]
|
|
@@ -7240,48 +7379,48 @@ var import_ContentCopy3 = __toESM(require("@mui/icons-material/ContentCopy"));
|
|
|
7240
7379
|
var import_SmartToyOutlined2 = __toESM(require("@mui/icons-material/SmartToyOutlined"));
|
|
7241
7380
|
var import_Description = __toESM(require("@mui/icons-material/Description"));
|
|
7242
7381
|
var import_Settings2 = __toESM(require("@mui/icons-material/Settings"));
|
|
7243
|
-
var
|
|
7382
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
7244
7383
|
var contextMenuItems = {
|
|
7245
7384
|
/** Add Engagement action (Add Circle icon) */
|
|
7246
7385
|
addEngagement: (onClick) => ({
|
|
7247
7386
|
id: "add-engagement",
|
|
7248
7387
|
label: "Add Engagement",
|
|
7249
|
-
icon: /* @__PURE__ */ (0,
|
|
7388
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_AddCircleOutline.default, {}),
|
|
7250
7389
|
onClick
|
|
7251
7390
|
}),
|
|
7252
7391
|
/** Add Agent action (Add Circle icon) */
|
|
7253
7392
|
addAgent: (onClick) => ({
|
|
7254
7393
|
id: "add-agent",
|
|
7255
7394
|
label: "Add Agent",
|
|
7256
|
-
icon: /* @__PURE__ */ (0,
|
|
7395
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_AddCircleOutline.default, {}),
|
|
7257
7396
|
onClick
|
|
7258
7397
|
}),
|
|
7259
7398
|
/** Add Stream action (Add Circle icon) */
|
|
7260
7399
|
addStream: (onClick) => ({
|
|
7261
7400
|
id: "add-stream",
|
|
7262
7401
|
label: "Add Stream",
|
|
7263
|
-
icon: /* @__PURE__ */ (0,
|
|
7402
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_AddCircleOutline.default, {}),
|
|
7264
7403
|
onClick
|
|
7265
7404
|
}),
|
|
7266
7405
|
/** Edit action (Pen / Edit icon) */
|
|
7267
7406
|
edit: (onClick) => ({
|
|
7268
7407
|
id: "edit",
|
|
7269
7408
|
label: "Edit",
|
|
7270
|
-
icon: /* @__PURE__ */ (0,
|
|
7409
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_Edit.default, {}),
|
|
7271
7410
|
onClick
|
|
7272
7411
|
}),
|
|
7273
7412
|
/** Copy ID action (Copy icon) */
|
|
7274
7413
|
copyId: (onClick) => ({
|
|
7275
7414
|
id: "copy-id",
|
|
7276
7415
|
label: "Copy ID",
|
|
7277
|
-
icon: /* @__PURE__ */ (0,
|
|
7416
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_ContentCopy3.default, {}),
|
|
7278
7417
|
onClick
|
|
7279
7418
|
}),
|
|
7280
7419
|
/** Agent Flow Visualization — highlighted action (SmartToy icon) */
|
|
7281
7420
|
agentFlowVisualization: (onClick) => ({
|
|
7282
7421
|
id: "agent-flow",
|
|
7283
7422
|
label: "Agent Flow Visualization",
|
|
7284
|
-
icon: /* @__PURE__ */ (0,
|
|
7423
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_SmartToyOutlined2.default, {}),
|
|
7285
7424
|
onClick,
|
|
7286
7425
|
highlighted: true
|
|
7287
7426
|
}),
|
|
@@ -7289,7 +7428,7 @@ var contextMenuItems = {
|
|
|
7289
7428
|
viewLogs: (onClick) => ({
|
|
7290
7429
|
id: "view-logs",
|
|
7291
7430
|
label: "View Logs",
|
|
7292
|
-
icon: /* @__PURE__ */ (0,
|
|
7431
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_Description.default, {}),
|
|
7293
7432
|
onClick
|
|
7294
7433
|
}),
|
|
7295
7434
|
/** Horizontal divider between sections */
|
|
@@ -7308,7 +7447,7 @@ var contextMenuItems = {
|
|
|
7308
7447
|
settings: (onClick) => ({
|
|
7309
7448
|
id: "settings",
|
|
7310
7449
|
label: "Settings",
|
|
7311
|
-
icon: /* @__PURE__ */ (0,
|
|
7450
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_Settings2.default, {}),
|
|
7312
7451
|
onClick
|
|
7313
7452
|
})
|
|
7314
7453
|
};
|
|
@@ -7316,7 +7455,7 @@ var contextMenuItems = {
|
|
|
7316
7455
|
// src/components/layout/DeploymentDashboardTree/DeploymentDashboardTree.tsx
|
|
7317
7456
|
var import_material42 = require("@mui/material");
|
|
7318
7457
|
var import_styles41 = require("@mui/material/styles");
|
|
7319
|
-
var
|
|
7458
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
7320
7459
|
var TREE_SP = {
|
|
7321
7460
|
/** Vertical gap between sibling rows (Figma S / sp-8) */
|
|
7322
7461
|
rowGap: 8,
|
|
@@ -7353,9 +7492,9 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
7353
7492
|
const entityColor = deploymentEntityColors[node.entityType] ?? deploymentEntityColors.workspace;
|
|
7354
7493
|
const railOpacity = RAIL_OPACITY[node.entityType] ?? 0.5;
|
|
7355
7494
|
const railColor = (0, import_styles41.alpha)(entityColor, railOpacity);
|
|
7356
|
-
const renderedChildren = hasChildren && expanded ? /* @__PURE__ */ (0,
|
|
7357
|
-
/* @__PURE__ */ (0,
|
|
7358
|
-
/* @__PURE__ */ (0,
|
|
7495
|
+
const renderedChildren = hasChildren && expanded ? /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_material42.Box, { sx: { display: "flex", gap: `${TREE_SP.railGap}px` }, children: [
|
|
7496
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Rail, { railColor, "aria-hidden": true, "data-rail": true }),
|
|
7497
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
7359
7498
|
import_material42.Box,
|
|
7360
7499
|
{
|
|
7361
7500
|
role: "group",
|
|
@@ -7366,7 +7505,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
7366
7505
|
flexDirection: "column",
|
|
7367
7506
|
gap: `${TREE_SP.rowGap}px`
|
|
7368
7507
|
},
|
|
7369
|
-
children: node.children.map((child) => /* @__PURE__ */ (0,
|
|
7508
|
+
children: node.children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
7370
7509
|
TreeRow,
|
|
7371
7510
|
{
|
|
7372
7511
|
node: child,
|
|
@@ -7380,7 +7519,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
7380
7519
|
}
|
|
7381
7520
|
)
|
|
7382
7521
|
] }) : null;
|
|
7383
|
-
const cardContent = renderCard?.(node) ?? /* @__PURE__ */ (0,
|
|
7522
|
+
const cardContent = renderCard?.(node) ?? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
7384
7523
|
DeploymentDashboardCard,
|
|
7385
7524
|
{
|
|
7386
7525
|
entityType: node.entityType,
|
|
@@ -7398,7 +7537,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
7398
7537
|
children: renderedChildren
|
|
7399
7538
|
}
|
|
7400
7539
|
);
|
|
7401
|
-
return /* @__PURE__ */ (0,
|
|
7540
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_material42.Box, { role: "treeitem", children: cardContent });
|
|
7402
7541
|
};
|
|
7403
7542
|
var DeploymentDashboardTree = ({
|
|
7404
7543
|
nodes,
|
|
@@ -7406,7 +7545,7 @@ var DeploymentDashboardTree = ({
|
|
|
7406
7545
|
onCopyId,
|
|
7407
7546
|
renderCard
|
|
7408
7547
|
}) => {
|
|
7409
|
-
return /* @__PURE__ */ (0,
|
|
7548
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
7410
7549
|
import_material42.Box,
|
|
7411
7550
|
{
|
|
7412
7551
|
role: "tree",
|
|
@@ -7416,7 +7555,7 @@ var DeploymentDashboardTree = ({
|
|
|
7416
7555
|
gap: `${TREE_SP.rowGap}px`,
|
|
7417
7556
|
p: `${TREE_SP.rowGap}px`
|
|
7418
7557
|
},
|
|
7419
|
-
children: nodes.map((node) => /* @__PURE__ */ (0,
|
|
7558
|
+
children: nodes.map((node) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
7420
7559
|
TreeRow,
|
|
7421
7560
|
{
|
|
7422
7561
|
node,
|
|
@@ -7434,7 +7573,7 @@ var DeploymentDashboardTree = ({
|
|
|
7434
7573
|
// src/components/layout/DeploymentDashboardPanel/DeploymentDashboardPanel.tsx
|
|
7435
7574
|
var import_material43 = require("@mui/material");
|
|
7436
7575
|
var import_styles42 = require("@mui/material/styles");
|
|
7437
|
-
var
|
|
7576
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
7438
7577
|
var PANEL_RADIUS = 12;
|
|
7439
7578
|
var PANEL_SHADOW = "0px 1px 3px rgba(0, 0, 0, 0.08)";
|
|
7440
7579
|
var StyledPanel = (0, import_styles42.styled)(import_material43.Box)({
|
|
@@ -7449,7 +7588,7 @@ var DeploymentDashboardPanel = ({
|
|
|
7449
7588
|
className,
|
|
7450
7589
|
padding = 2
|
|
7451
7590
|
}) => {
|
|
7452
|
-
return /* @__PURE__ */ (0,
|
|
7591
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(StyledPanel, { className, sx: { p: padding }, children });
|
|
7453
7592
|
};
|
|
7454
7593
|
|
|
7455
7594
|
// src/components/layout/WorkflowNode/WorkflowNode.tsx
|
|
@@ -7470,7 +7609,7 @@ var import_CheckCircleOutline = __toESM(require("@mui/icons-material/CheckCircle
|
|
|
7470
7609
|
var import_ForkRight = __toESM(require("@mui/icons-material/ForkRight"));
|
|
7471
7610
|
var import_CallMerge = __toESM(require("@mui/icons-material/CallMerge"));
|
|
7472
7611
|
var import_material45 = require("@mui/material");
|
|
7473
|
-
var
|
|
7612
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
7474
7613
|
var WORKFLOW_NODE_LABELS = {
|
|
7475
7614
|
start: "Start",
|
|
7476
7615
|
input: "Input",
|
|
@@ -7491,21 +7630,21 @@ var WORKFLOW_NODE_LABELS = {
|
|
|
7491
7630
|
var NODE_ICON_SIZE = 18;
|
|
7492
7631
|
var WORKFLOW_NODE_SHADOW = "0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.1)";
|
|
7493
7632
|
var WORKFLOW_NODE_ICONS = {
|
|
7494
|
-
start: /* @__PURE__ */ (0,
|
|
7495
|
-
input: /* @__PURE__ */ (0,
|
|
7496
|
-
stream: /* @__PURE__ */ (0,
|
|
7497
|
-
rafts: /* @__PURE__ */ (0,
|
|
7498
|
-
cubbies: /* @__PURE__ */ (0,
|
|
7499
|
-
events: /* @__PURE__ */ (0,
|
|
7500
|
-
trigger: /* @__PURE__ */ (0,
|
|
7501
|
-
action: /* @__PURE__ */ (0,
|
|
7502
|
-
aiModel: /* @__PURE__ */ (0,
|
|
7503
|
-
aiAgent: /* @__PURE__ */ (0,
|
|
7504
|
-
condition: /* @__PURE__ */ (0,
|
|
7505
|
-
output: /* @__PURE__ */ (0,
|
|
7506
|
-
end: /* @__PURE__ */ (0,
|
|
7507
|
-
parallel: /* @__PURE__ */ (0,
|
|
7508
|
-
merge: /* @__PURE__ */ (0,
|
|
7633
|
+
start: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_PlayCircleOutline.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7634
|
+
input: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_CloudDownload.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7635
|
+
stream: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_Waves2.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7636
|
+
rafts: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_Link4.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7637
|
+
cubbies: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_Cloud.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7638
|
+
events: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_Bolt.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7639
|
+
trigger: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_FlashOn.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7640
|
+
action: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_PlayArrow.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7641
|
+
aiModel: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_Psychology.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7642
|
+
aiAgent: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_SmartToyOutlined3.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7643
|
+
condition: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_CallSplit.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7644
|
+
output: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_Send.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7645
|
+
end: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_CheckCircleOutline.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7646
|
+
parallel: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_ForkRight.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7647
|
+
merge: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_CallMerge.default, { sx: { fontSize: NODE_ICON_SIZE } })
|
|
7509
7648
|
};
|
|
7510
7649
|
var BADGE_TYPOGRAPHY = {
|
|
7511
7650
|
fontSize: "12px",
|
|
@@ -7515,7 +7654,7 @@ var BADGE_TYPOGRAPHY = {
|
|
|
7515
7654
|
var SideConnectorDot = ({
|
|
7516
7655
|
accentColor,
|
|
7517
7656
|
side
|
|
7518
|
-
}) => /* @__PURE__ */ (0,
|
|
7657
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
7519
7658
|
import_material44.Box,
|
|
7520
7659
|
{
|
|
7521
7660
|
"data-testid": `workflow-node-dot-${side}`,
|
|
@@ -7535,7 +7674,7 @@ var SideConnectorDot = ({
|
|
|
7535
7674
|
})
|
|
7536
7675
|
}
|
|
7537
7676
|
);
|
|
7538
|
-
var NodeTypeBadge = ({ nodeType, badgeBackground, badgeBorder, badgeText, icon, label }) => /* @__PURE__ */ (0,
|
|
7677
|
+
var NodeTypeBadge = ({ nodeType, badgeBackground, badgeBorder, badgeText, icon, label }) => /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
|
|
7539
7678
|
import_material44.Box,
|
|
7540
7679
|
{
|
|
7541
7680
|
sx: {
|
|
@@ -7551,8 +7690,8 @@ var NodeTypeBadge = ({ nodeType, badgeBackground, badgeBorder, badgeText, icon,
|
|
|
7551
7690
|
flexShrink: 0
|
|
7552
7691
|
},
|
|
7553
7692
|
children: [
|
|
7554
|
-
/* @__PURE__ */ (0,
|
|
7555
|
-
/* @__PURE__ */ (0,
|
|
7693
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_material44.Box, { sx: { color: badgeText, display: "flex", alignItems: "center" }, children: icon ?? WORKFLOW_NODE_ICONS[nodeType] }),
|
|
7694
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
7556
7695
|
import_material44.Typography,
|
|
7557
7696
|
{
|
|
7558
7697
|
variant: "body2",
|
|
@@ -7585,7 +7724,7 @@ var WorkflowNode = ({
|
|
|
7585
7724
|
const nodeTokens = theme2.palette.workflow.node[nodeType];
|
|
7586
7725
|
const chrome = theme2.palette.workflow.chrome;
|
|
7587
7726
|
const accentColor = nodeTokens.accent;
|
|
7588
|
-
return /* @__PURE__ */ (0,
|
|
7727
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
|
|
7589
7728
|
import_material44.Paper,
|
|
7590
7729
|
{
|
|
7591
7730
|
elevation: 0,
|
|
@@ -7609,9 +7748,9 @@ var WorkflowNode = ({
|
|
|
7609
7748
|
],
|
|
7610
7749
|
...paperProps,
|
|
7611
7750
|
children: [
|
|
7612
|
-
showSideDots && /* @__PURE__ */ (0,
|
|
7613
|
-
showSideDots && /* @__PURE__ */ (0,
|
|
7614
|
-
/* @__PURE__ */ (0,
|
|
7751
|
+
showSideDots && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(SideConnectorDot, { accentColor, side: "left" }),
|
|
7752
|
+
showSideDots && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(SideConnectorDot, { accentColor, side: "right" }),
|
|
7753
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
|
|
7615
7754
|
import_material44.Box,
|
|
7616
7755
|
{
|
|
7617
7756
|
sx: {
|
|
@@ -7625,8 +7764,8 @@ var WorkflowNode = ({
|
|
|
7625
7764
|
minWidth: 0
|
|
7626
7765
|
},
|
|
7627
7766
|
children: [
|
|
7628
|
-
/* @__PURE__ */ (0,
|
|
7629
|
-
/* @__PURE__ */ (0,
|
|
7767
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(import_material44.Box, { sx: { minWidth: 0, flex: 1 }, children: [
|
|
7768
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
7630
7769
|
import_material44.Typography,
|
|
7631
7770
|
{
|
|
7632
7771
|
variant: "subtitle2",
|
|
@@ -7641,7 +7780,7 @@ var WorkflowNode = ({
|
|
|
7641
7780
|
children: title
|
|
7642
7781
|
}
|
|
7643
7782
|
),
|
|
7644
|
-
description && /* @__PURE__ */ (0,
|
|
7783
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
7645
7784
|
import_material44.Typography,
|
|
7646
7785
|
{
|
|
7647
7786
|
variant: "body2",
|
|
@@ -7660,7 +7799,7 @@ var WorkflowNode = ({
|
|
|
7660
7799
|
}
|
|
7661
7800
|
)
|
|
7662
7801
|
] }),
|
|
7663
|
-
/* @__PURE__ */ (0,
|
|
7802
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
7664
7803
|
NodeTypeBadge,
|
|
7665
7804
|
{
|
|
7666
7805
|
nodeType,
|
|
@@ -7684,7 +7823,7 @@ var import_material46 = require("@mui/material");
|
|
|
7684
7823
|
var import_Close4 = __toESM(require("@mui/icons-material/Close"));
|
|
7685
7824
|
var import_Cancel = __toESM(require("@mui/icons-material/Cancel"));
|
|
7686
7825
|
var import_styles43 = require("@mui/material/styles");
|
|
7687
|
-
var
|
|
7826
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
7688
7827
|
var WorkflowTopBar = ({
|
|
7689
7828
|
title = "Agent visualization flow chart",
|
|
7690
7829
|
executionId,
|
|
@@ -7702,7 +7841,7 @@ var WorkflowTopBar = ({
|
|
|
7702
7841
|
...boxProps
|
|
7703
7842
|
}) => {
|
|
7704
7843
|
const chrome = (0, import_styles43.useTheme)().palette.workflow.chrome;
|
|
7705
|
-
return /* @__PURE__ */ (0,
|
|
7844
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
7706
7845
|
import_material46.Box,
|
|
7707
7846
|
{
|
|
7708
7847
|
sx: [
|
|
@@ -7716,7 +7855,7 @@ var WorkflowTopBar = ({
|
|
|
7716
7855
|
],
|
|
7717
7856
|
...boxProps,
|
|
7718
7857
|
children: [
|
|
7719
|
-
/* @__PURE__ */ (0,
|
|
7858
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
7720
7859
|
import_material46.Box,
|
|
7721
7860
|
{
|
|
7722
7861
|
sx: {
|
|
@@ -7729,7 +7868,7 @@ var WorkflowTopBar = ({
|
|
|
7729
7868
|
minHeight: 72
|
|
7730
7869
|
},
|
|
7731
7870
|
children: [
|
|
7732
|
-
/* @__PURE__ */ (0,
|
|
7871
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
7733
7872
|
import_material46.Typography,
|
|
7734
7873
|
{
|
|
7735
7874
|
variant: "subtitle1",
|
|
@@ -7741,7 +7880,7 @@ var WorkflowTopBar = ({
|
|
|
7741
7880
|
children: title
|
|
7742
7881
|
}
|
|
7743
7882
|
),
|
|
7744
|
-
/* @__PURE__ */ (0,
|
|
7883
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
7745
7884
|
import_material46.Box,
|
|
7746
7885
|
{
|
|
7747
7886
|
sx: {
|
|
@@ -7753,7 +7892,7 @@ var WorkflowTopBar = ({
|
|
|
7753
7892
|
minWidth: 0
|
|
7754
7893
|
},
|
|
7755
7894
|
children: [
|
|
7756
|
-
/* @__PURE__ */ (0,
|
|
7895
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
7757
7896
|
import_material46.Box,
|
|
7758
7897
|
{
|
|
7759
7898
|
sx: {
|
|
@@ -7769,8 +7908,8 @@ var WorkflowTopBar = ({
|
|
|
7769
7908
|
minHeight: 56
|
|
7770
7909
|
},
|
|
7771
7910
|
children: [
|
|
7772
|
-
/* @__PURE__ */ (0,
|
|
7773
|
-
/* @__PURE__ */ (0,
|
|
7911
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_material46.Box, { sx: { flex: 1, minWidth: 0 }, children: [
|
|
7912
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
7774
7913
|
import_material46.Typography,
|
|
7775
7914
|
{
|
|
7776
7915
|
variant: "caption",
|
|
@@ -7782,7 +7921,7 @@ var WorkflowTopBar = ({
|
|
|
7782
7921
|
children: executionIdLabel
|
|
7783
7922
|
}
|
|
7784
7923
|
),
|
|
7785
|
-
/* @__PURE__ */ (0,
|
|
7924
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
7786
7925
|
import_material46.InputBase,
|
|
7787
7926
|
{
|
|
7788
7927
|
value: executionId,
|
|
@@ -7801,20 +7940,20 @@ var WorkflowTopBar = ({
|
|
|
7801
7940
|
}
|
|
7802
7941
|
)
|
|
7803
7942
|
] }),
|
|
7804
|
-
/* @__PURE__ */ (0,
|
|
7943
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
7805
7944
|
import_material46.IconButton,
|
|
7806
7945
|
{
|
|
7807
7946
|
size: "small",
|
|
7808
7947
|
"aria-label": `Clear ${executionIdLabel.toLowerCase()}`,
|
|
7809
7948
|
onClick: onClearExecutionId,
|
|
7810
7949
|
sx: { color: chrome.iconColor, ml: 1 },
|
|
7811
|
-
children: /* @__PURE__ */ (0,
|
|
7950
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_Cancel.default, { fontSize: "small" })
|
|
7812
7951
|
}
|
|
7813
7952
|
)
|
|
7814
7953
|
]
|
|
7815
7954
|
}
|
|
7816
7955
|
),
|
|
7817
|
-
/* @__PURE__ */ (0,
|
|
7956
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
7818
7957
|
Button,
|
|
7819
7958
|
{
|
|
7820
7959
|
variant: "primary",
|
|
@@ -7831,8 +7970,8 @@ var WorkflowTopBar = ({
|
|
|
7831
7970
|
children: submitLabel
|
|
7832
7971
|
}
|
|
7833
7972
|
),
|
|
7834
|
-
showInspectorToggle && /* @__PURE__ */ (0,
|
|
7835
|
-
showCloseButton && /* @__PURE__ */ (0,
|
|
7973
|
+
showInspectorToggle && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Button, { variant: "secondary", onClick: onInspectorToggle, children: inspectorLabel }),
|
|
7974
|
+
showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
7836
7975
|
import_material46.IconButton,
|
|
7837
7976
|
{
|
|
7838
7977
|
"aria-label": "Close workflow chrome",
|
|
@@ -7843,7 +7982,7 @@ var WorkflowTopBar = ({
|
|
|
7843
7982
|
backgroundColor: (0, import_material46.alpha)(chrome.closeBtnBg, 0.28),
|
|
7844
7983
|
color: chrome.iconColor
|
|
7845
7984
|
},
|
|
7846
|
-
children: /* @__PURE__ */ (0,
|
|
7985
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_Close4.default, { fontSize: "small" })
|
|
7847
7986
|
}
|
|
7848
7987
|
)
|
|
7849
7988
|
]
|
|
@@ -7852,7 +7991,7 @@ var WorkflowTopBar = ({
|
|
|
7852
7991
|
]
|
|
7853
7992
|
}
|
|
7854
7993
|
),
|
|
7855
|
-
/* @__PURE__ */ (0,
|
|
7994
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_material46.Divider, { sx: { borderColor: deploymentSurfaceTokens.strokeOutside } })
|
|
7856
7995
|
]
|
|
7857
7996
|
}
|
|
7858
7997
|
);
|
|
@@ -7862,11 +8001,11 @@ var WorkflowTopBar = ({
|
|
|
7862
8001
|
var import_material47 = require("@mui/material");
|
|
7863
8002
|
var import_Close5 = __toESM(require("@mui/icons-material/Close"));
|
|
7864
8003
|
var import_ContentCopyOutlined = __toESM(require("@mui/icons-material/ContentCopyOutlined"));
|
|
7865
|
-
var
|
|
8004
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
7866
8005
|
var INSPECTOR_WIDTH = 320;
|
|
7867
|
-
var InfoBlock = ({ label, value, mutedColor }) => /* @__PURE__ */ (0,
|
|
7868
|
-
/* @__PURE__ */ (0,
|
|
7869
|
-
/* @__PURE__ */ (0,
|
|
8006
|
+
var InfoBlock = ({ label, value, mutedColor }) => /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_material47.Box, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
|
|
8007
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_material47.Typography, { variant: "body2", sx: { color: mutedColor }, children: label }),
|
|
8008
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
7870
8009
|
import_material47.Typography,
|
|
7871
8010
|
{
|
|
7872
8011
|
variant: "body2",
|
|
@@ -7903,7 +8042,7 @@ var WorkflowSideInspector = ({
|
|
|
7903
8042
|
return null;
|
|
7904
8043
|
}
|
|
7905
8044
|
const accent = theme2.palette.workflow.node[nodeType].accent;
|
|
7906
|
-
return /* @__PURE__ */ (0,
|
|
8045
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
|
|
7907
8046
|
import_material47.Paper,
|
|
7908
8047
|
{
|
|
7909
8048
|
elevation: 0,
|
|
@@ -7922,10 +8061,10 @@ var WorkflowSideInspector = ({
|
|
|
7922
8061
|
},
|
|
7923
8062
|
...paperProps,
|
|
7924
8063
|
children: [
|
|
7925
|
-
/* @__PURE__ */ (0,
|
|
7926
|
-
/* @__PURE__ */ (0,
|
|
7927
|
-
/* @__PURE__ */ (0,
|
|
7928
|
-
/* @__PURE__ */ (0,
|
|
8064
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_material47.Box, { sx: { display: "flex", flexDirection: "column", gap: 1.25 }, children: [
|
|
8065
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_material47.Box, { sx: { display: "flex", alignItems: "center", justifyContent: "space-between" }, children: [
|
|
8066
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_material47.Typography, { variant: "subtitle1", sx: { color: deploymentSurfaceTokens.textPrimary }, children: title }),
|
|
8067
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
7929
8068
|
import_material47.IconButton,
|
|
7930
8069
|
{
|
|
7931
8070
|
"aria-label": "Close inspector",
|
|
@@ -7934,15 +8073,15 @@ var WorkflowSideInspector = ({
|
|
|
7934
8073
|
border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
|
|
7935
8074
|
borderRadius: 2
|
|
7936
8075
|
},
|
|
7937
|
-
children: /* @__PURE__ */ (0,
|
|
8076
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_Close5.default, { fontSize: "small" })
|
|
7938
8077
|
}
|
|
7939
8078
|
)
|
|
7940
8079
|
] }),
|
|
7941
|
-
/* @__PURE__ */ (0,
|
|
8080
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_material47.Divider, { sx: { borderColor: chrome.divider } })
|
|
7942
8081
|
] }),
|
|
7943
|
-
/* @__PURE__ */ (0,
|
|
7944
|
-
/* @__PURE__ */ (0,
|
|
7945
|
-
/* @__PURE__ */ (0,
|
|
8082
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_material47.Box, { sx: { display: "flex", flexDirection: "column", gap: 3, flex: 1 }, children: [
|
|
8083
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_material47.Box, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
|
|
8084
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
7946
8085
|
import_material47.Typography,
|
|
7947
8086
|
{
|
|
7948
8087
|
variant: "subtitle1",
|
|
@@ -7950,8 +8089,8 @@ var WorkflowSideInspector = ({
|
|
|
7950
8089
|
children: nodeTitle
|
|
7951
8090
|
}
|
|
7952
8091
|
),
|
|
7953
|
-
/* @__PURE__ */ (0,
|
|
7954
|
-
/* @__PURE__ */ (0,
|
|
8092
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_material47.Typography, { variant: "body2", sx: { color: chrome.mutedText }, children: nodeDescription }),
|
|
8093
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
|
|
7955
8094
|
import_material47.Box,
|
|
7956
8095
|
{
|
|
7957
8096
|
sx: {
|
|
@@ -7966,7 +8105,7 @@ var WorkflowSideInspector = ({
|
|
|
7966
8105
|
backgroundColor: (0, import_material47.alpha)(accent, 0.12)
|
|
7967
8106
|
},
|
|
7968
8107
|
children: [
|
|
7969
|
-
/* @__PURE__ */ (0,
|
|
8108
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
7970
8109
|
import_material47.Box,
|
|
7971
8110
|
{
|
|
7972
8111
|
sx: {
|
|
@@ -7977,43 +8116,43 @@ var WorkflowSideInspector = ({
|
|
|
7977
8116
|
}
|
|
7978
8117
|
}
|
|
7979
8118
|
),
|
|
7980
|
-
/* @__PURE__ */ (0,
|
|
8119
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_material47.Typography, { variant: "caption", sx: { color: accent, fontWeight: 500 }, children: WORKFLOW_NODE_LABELS[nodeType] })
|
|
7981
8120
|
]
|
|
7982
8121
|
}
|
|
7983
8122
|
)
|
|
7984
8123
|
] }),
|
|
7985
|
-
/* @__PURE__ */ (0,
|
|
7986
|
-
(showInput || showOutput) && /* @__PURE__ */ (0,
|
|
7987
|
-
/* @__PURE__ */ (0,
|
|
7988
|
-
showInput && /* @__PURE__ */ (0,
|
|
7989
|
-
showOutput && /* @__PURE__ */ (0,
|
|
8124
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_material47.Divider, { sx: { borderColor: chrome.divider } }),
|
|
8125
|
+
(showInput || showOutput) && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_jsx_runtime74.Fragment, { children: [
|
|
8126
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_material47.Box, { sx: { display: "flex", flexDirection: "column", gap: 2 }, children: [
|
|
8127
|
+
showInput && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(InfoBlock, { label: "Input", value: inputValue, mutedColor: chrome.mutedText }),
|
|
8128
|
+
showOutput && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(InfoBlock, { label: "Output", value: outputValue, mutedColor: chrome.mutedText })
|
|
7990
8129
|
] }),
|
|
7991
|
-
/* @__PURE__ */ (0,
|
|
8130
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_material47.Divider, { sx: { borderColor: chrome.divider } })
|
|
7992
8131
|
] }),
|
|
7993
|
-
/* @__PURE__ */ (0,
|
|
7994
|
-
/* @__PURE__ */ (0,
|
|
7995
|
-
/* @__PURE__ */ (0,
|
|
8132
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_material47.Box, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
|
|
8133
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_material47.Typography, { variant: "body2", sx: { color: chrome.mutedText }, children: "Cubby ID" }),
|
|
8134
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
7996
8135
|
Button,
|
|
7997
8136
|
{
|
|
7998
8137
|
variant: "secondary",
|
|
7999
8138
|
size: "small",
|
|
8000
|
-
startIcon: /* @__PURE__ */ (0,
|
|
8139
|
+
startIcon: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_ContentCopyOutlined.default, { fontSize: "small" }),
|
|
8001
8140
|
onClick: onCopyCubbyId,
|
|
8002
8141
|
sx: { alignSelf: "flex-start" },
|
|
8003
8142
|
children: cubbyId
|
|
8004
8143
|
}
|
|
8005
8144
|
)
|
|
8006
8145
|
] }),
|
|
8007
|
-
/* @__PURE__ */ (0,
|
|
8008
|
-
(showTimestamp || showDuration) && /* @__PURE__ */ (0,
|
|
8009
|
-
/* @__PURE__ */ (0,
|
|
8010
|
-
showTimestamp && /* @__PURE__ */ (0,
|
|
8011
|
-
showDuration && /* @__PURE__ */ (0,
|
|
8146
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_material47.Divider, { sx: { borderColor: chrome.divider } }),
|
|
8147
|
+
(showTimestamp || showDuration) && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_jsx_runtime74.Fragment, { children: [
|
|
8148
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_material47.Box, { sx: { display: "flex", flexDirection: "column", gap: 2 }, children: [
|
|
8149
|
+
showTimestamp && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(InfoBlock, { label: "Timestamp", value: timestamp, mutedColor: chrome.mutedText }),
|
|
8150
|
+
showDuration && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(InfoBlock, { label: "Duration", value: duration, mutedColor: chrome.mutedText })
|
|
8012
8151
|
] }),
|
|
8013
|
-
/* @__PURE__ */ (0,
|
|
8152
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_material47.Divider, { sx: { borderColor: chrome.divider } })
|
|
8014
8153
|
] })
|
|
8015
8154
|
] }),
|
|
8016
|
-
actionLabel && /* @__PURE__ */ (0,
|
|
8155
|
+
actionLabel && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Button, { variant: "primary", fullWidth: true, onClick: onAction, children: actionLabel })
|
|
8017
8156
|
]
|
|
8018
8157
|
}
|
|
8019
8158
|
);
|
|
@@ -8026,8 +8165,8 @@ var import_ChevronLeft4 = __toESM(require("@mui/icons-material/ChevronLeft"));
|
|
|
8026
8165
|
var import_ChevronRight5 = __toESM(require("@mui/icons-material/ChevronRight"));
|
|
8027
8166
|
var import_Replay = __toESM(require("@mui/icons-material/Replay"));
|
|
8028
8167
|
var import_styles44 = require("@mui/material/styles");
|
|
8029
|
-
var
|
|
8030
|
-
var SpeedButton = ({ value, selected, onClick }) => /* @__PURE__ */ (0,
|
|
8168
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
8169
|
+
var SpeedButton = ({ value, selected, onClick }) => /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
8031
8170
|
Button,
|
|
8032
8171
|
{
|
|
8033
8172
|
variant: selected ? "primary" : "secondary",
|
|
@@ -8063,7 +8202,7 @@ var WorkflowTimeBar = ({
|
|
|
8063
8202
|
const boundedProgress = Math.max(0, Math.min(100, progress));
|
|
8064
8203
|
const atFirstStep = currentStep <= 1;
|
|
8065
8204
|
const atLastStep = currentStep >= totalSteps;
|
|
8066
|
-
return /* @__PURE__ */ (0,
|
|
8205
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
|
|
8067
8206
|
import_material48.Box,
|
|
8068
8207
|
{
|
|
8069
8208
|
sx: [
|
|
@@ -8080,9 +8219,9 @@ var WorkflowTimeBar = ({
|
|
|
8080
8219
|
],
|
|
8081
8220
|
...boxProps,
|
|
8082
8221
|
children: [
|
|
8083
|
-
/* @__PURE__ */ (0,
|
|
8084
|
-
/* @__PURE__ */ (0,
|
|
8085
|
-
/* @__PURE__ */ (0,
|
|
8222
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_material48.Divider, { sx: { borderColor: deploymentSurfaceTokens.strokeOutside } }),
|
|
8223
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_material48.Box, { sx: { display: "flex", alignItems: "center", gap: 2 }, children: [
|
|
8224
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
8086
8225
|
import_material48.IconButton,
|
|
8087
8226
|
{
|
|
8088
8227
|
onClick: onStop,
|
|
@@ -8095,11 +8234,11 @@ var WorkflowTimeBar = ({
|
|
|
8095
8234
|
color: deploymentSurfaceTokens.textPrimary,
|
|
8096
8235
|
backgroundColor: deploymentSurfaceTokens.surfaceHigh
|
|
8097
8236
|
},
|
|
8098
|
-
children: /* @__PURE__ */ (0,
|
|
8237
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_Stop.default, { sx: { fontSize: 16 } })
|
|
8099
8238
|
}
|
|
8100
8239
|
),
|
|
8101
|
-
/* @__PURE__ */ (0,
|
|
8102
|
-
/* @__PURE__ */ (0,
|
|
8240
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_material48.Box, { sx: { flex: 1, minWidth: 220, px: 1 }, children: [
|
|
8241
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
8103
8242
|
import_material48.Typography,
|
|
8104
8243
|
{
|
|
8105
8244
|
variant: "body2",
|
|
@@ -8107,7 +8246,7 @@ var WorkflowTimeBar = ({
|
|
|
8107
8246
|
children: elapsedTime
|
|
8108
8247
|
}
|
|
8109
8248
|
),
|
|
8110
|
-
/* @__PURE__ */ (0,
|
|
8249
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
8111
8250
|
import_material48.LinearProgress,
|
|
8112
8251
|
{
|
|
8113
8252
|
variant: "determinate",
|
|
@@ -8123,10 +8262,10 @@ var WorkflowTimeBar = ({
|
|
|
8123
8262
|
}
|
|
8124
8263
|
)
|
|
8125
8264
|
] }),
|
|
8126
|
-
/* @__PURE__ */ (0,
|
|
8127
|
-
/* @__PURE__ */ (0,
|
|
8128
|
-
/* @__PURE__ */ (0,
|
|
8129
|
-
/* @__PURE__ */ (0,
|
|
8265
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_material48.Box, { sx: { display: "flex", alignItems: "center", gap: 3 }, children: [
|
|
8266
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_material48.Box, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
8267
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_material48.Typography, { variant: "subtitle1", sx: { fontWeight: 500 }, children: "Steps" }),
|
|
8268
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
8130
8269
|
import_material48.IconButton,
|
|
8131
8270
|
{
|
|
8132
8271
|
size: "small",
|
|
@@ -8134,11 +8273,11 @@ var WorkflowTimeBar = ({
|
|
|
8134
8273
|
onClick: onPreviousStep,
|
|
8135
8274
|
disabled: atFirstStep,
|
|
8136
8275
|
sx: { backgroundColor: chrome.stepBtnBg },
|
|
8137
|
-
children: /* @__PURE__ */ (0,
|
|
8276
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_ChevronLeft4.default, { fontSize: "small" })
|
|
8138
8277
|
}
|
|
8139
8278
|
),
|
|
8140
|
-
/* @__PURE__ */ (0,
|
|
8141
|
-
/* @__PURE__ */ (0,
|
|
8279
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_material48.Typography, { variant: "subtitle1", sx: { minWidth: 52, textAlign: "center" }, children: `${currentStep} / ${totalSteps}` }),
|
|
8280
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
8142
8281
|
import_material48.IconButton,
|
|
8143
8282
|
{
|
|
8144
8283
|
size: "small",
|
|
@@ -8146,13 +8285,13 @@ var WorkflowTimeBar = ({
|
|
|
8146
8285
|
onClick: onNextStep,
|
|
8147
8286
|
disabled: atLastStep,
|
|
8148
8287
|
sx: { backgroundColor: chrome.stepBtnBgHover },
|
|
8149
|
-
children: /* @__PURE__ */ (0,
|
|
8288
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_ChevronRight5.default, { fontSize: "small" })
|
|
8150
8289
|
}
|
|
8151
8290
|
)
|
|
8152
8291
|
] }),
|
|
8153
|
-
/* @__PURE__ */ (0,
|
|
8154
|
-
/* @__PURE__ */ (0,
|
|
8155
|
-
speedOptions.map((option) => /* @__PURE__ */ (0,
|
|
8292
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_material48.Box, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
8293
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_material48.Typography, { variant: "subtitle1", sx: { fontWeight: 500 }, children: "Speed" }),
|
|
8294
|
+
speedOptions.map((option) => /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
8156
8295
|
SpeedButton,
|
|
8157
8296
|
{
|
|
8158
8297
|
value: option,
|
|
@@ -8161,7 +8300,7 @@ var WorkflowTimeBar = ({
|
|
|
8161
8300
|
},
|
|
8162
8301
|
option
|
|
8163
8302
|
)),
|
|
8164
|
-
/* @__PURE__ */ (0,
|
|
8303
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_material48.IconButton, { "aria-label": "Reset playback", onClick: onReset, size: "small", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_Replay.default, { fontSize: "small" }) })
|
|
8165
8304
|
] })
|
|
8166
8305
|
] })
|
|
8167
8306
|
] })
|
|
@@ -8173,10 +8312,10 @@ var WorkflowTimeBar = ({
|
|
|
8173
8312
|
// src/components/icons/ActivityAppIcon.tsx
|
|
8174
8313
|
var import_react22 = require("react");
|
|
8175
8314
|
var import_material49 = require("@mui/material");
|
|
8176
|
-
var
|
|
8177
|
-
var ActivityAppIcon = (0, import_react22.memo)((props) => /* @__PURE__ */ (0,
|
|
8178
|
-
/* @__PURE__ */ (0,
|
|
8179
|
-
/* @__PURE__ */ (0,
|
|
8315
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
8316
|
+
var ActivityAppIcon = (0, import_react22.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_material49.SvgIcon, { ...props, viewBox: "0 0 36 36", children: [
|
|
8317
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("rect", { fill: "none", stroke: "currentColor", width: 34, height: 34, x: 1, y: 1, strokeWidth: 1.5, rx: 6.8 }),
|
|
8318
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
8180
8319
|
"rect",
|
|
8181
8320
|
{
|
|
8182
8321
|
fill: "none",
|
|
@@ -8189,7 +8328,7 @@ var ActivityAppIcon = (0, import_react22.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
8189
8328
|
rx: 1.7
|
|
8190
8329
|
}
|
|
8191
8330
|
),
|
|
8192
|
-
/* @__PURE__ */ (0,
|
|
8331
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
8193
8332
|
"rect",
|
|
8194
8333
|
{
|
|
8195
8334
|
fill: "none",
|
|
@@ -8202,7 +8341,7 @@ var ActivityAppIcon = (0, import_react22.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
8202
8341
|
rx: 1.7
|
|
8203
8342
|
}
|
|
8204
8343
|
),
|
|
8205
|
-
/* @__PURE__ */ (0,
|
|
8344
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
8206
8345
|
"rect",
|
|
8207
8346
|
{
|
|
8208
8347
|
fill: "none",
|
|
@@ -8219,9 +8358,9 @@ var ActivityAppIcon = (0, import_react22.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
8219
8358
|
|
|
8220
8359
|
// src/components/icons/ArrowLeft.tsx
|
|
8221
8360
|
var import_material50 = require("@mui/material");
|
|
8222
|
-
var
|
|
8361
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
8223
8362
|
var LeftArrowIcon = (props) => {
|
|
8224
|
-
return /* @__PURE__ */ (0,
|
|
8363
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_material50.SvgIcon, { ...props, width: "24", height: "24", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("g", { id: " Arrow Left", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
8225
8364
|
"path",
|
|
8226
8365
|
{
|
|
8227
8366
|
id: "Vector (Stroke)",
|
|
@@ -8235,9 +8374,9 @@ var LeftArrowIcon = (props) => {
|
|
|
8235
8374
|
|
|
8236
8375
|
// src/components/icons/ArrowRight.tsx
|
|
8237
8376
|
var import_material51 = require("@mui/material");
|
|
8238
|
-
var
|
|
8377
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
8239
8378
|
var RightArrowIcon = (props) => {
|
|
8240
|
-
return /* @__PURE__ */ (0,
|
|
8379
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_material51.SvgIcon, { ...props, width: "25", height: "24", viewBox: "0 0 25 24", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
8241
8380
|
"path",
|
|
8242
8381
|
{
|
|
8243
8382
|
fillRule: "evenodd",
|
|
@@ -8250,10 +8389,10 @@ var RightArrowIcon = (props) => {
|
|
|
8250
8389
|
|
|
8251
8390
|
// src/components/icons/AvatarIcon.tsx
|
|
8252
8391
|
var import_material52 = require("@mui/material");
|
|
8253
|
-
var
|
|
8392
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
8254
8393
|
var AvatarIcon = (props) => {
|
|
8255
|
-
return /* @__PURE__ */ (0,
|
|
8256
|
-
/* @__PURE__ */ (0,
|
|
8394
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_material52.SvgIcon, { ...props, viewBox: "0 0 16 16", children: [
|
|
8395
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
8257
8396
|
"path",
|
|
8258
8397
|
{
|
|
8259
8398
|
fillRule: "evenodd",
|
|
@@ -8262,7 +8401,7 @@ var AvatarIcon = (props) => {
|
|
|
8262
8401
|
fill: "#1D1B20"
|
|
8263
8402
|
}
|
|
8264
8403
|
),
|
|
8265
|
-
/* @__PURE__ */ (0,
|
|
8404
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
8266
8405
|
"path",
|
|
8267
8406
|
{
|
|
8268
8407
|
fillRule: "evenodd",
|
|
@@ -8277,9 +8416,9 @@ var AvatarIcon = (props) => {
|
|
|
8277
8416
|
// src/components/icons/BarTrackingIcon.tsx
|
|
8278
8417
|
var import_react23 = require("react");
|
|
8279
8418
|
var import_material53 = require("@mui/material");
|
|
8280
|
-
var
|
|
8281
|
-
var BarTrackingIcon = (0, import_react23.memo)((props) => /* @__PURE__ */ (0,
|
|
8282
|
-
/* @__PURE__ */ (0,
|
|
8419
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
8420
|
+
var BarTrackingIcon = (0, import_react23.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_material53.SvgIcon, { ...props, viewBox: "0 0 96 97", children: [
|
|
8421
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
8283
8422
|
"rect",
|
|
8284
8423
|
{
|
|
8285
8424
|
x: "7.19922",
|
|
@@ -8292,7 +8431,7 @@ var BarTrackingIcon = (0, import_react23.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
8292
8431
|
fill: "none"
|
|
8293
8432
|
}
|
|
8294
8433
|
),
|
|
8295
|
-
/* @__PURE__ */ (0,
|
|
8434
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
8296
8435
|
"rect",
|
|
8297
8436
|
{
|
|
8298
8437
|
x: "21.0371",
|
|
@@ -8305,7 +8444,7 @@ var BarTrackingIcon = (0, import_react23.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
8305
8444
|
strokeWidth: "2"
|
|
8306
8445
|
}
|
|
8307
8446
|
),
|
|
8308
|
-
/* @__PURE__ */ (0,
|
|
8447
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
8309
8448
|
"rect",
|
|
8310
8449
|
{
|
|
8311
8450
|
x: "40.4746",
|
|
@@ -8318,7 +8457,7 @@ var BarTrackingIcon = (0, import_react23.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
8318
8457
|
strokeWidth: "2"
|
|
8319
8458
|
}
|
|
8320
8459
|
),
|
|
8321
|
-
/* @__PURE__ */ (0,
|
|
8460
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
8322
8461
|
"rect",
|
|
8323
8462
|
{
|
|
8324
8463
|
x: "59.8828",
|
|
@@ -8336,8 +8475,8 @@ var BarTrackingIcon = (0, import_react23.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
8336
8475
|
// src/components/icons/ClockIcon.tsx
|
|
8337
8476
|
var import_react24 = require("react");
|
|
8338
8477
|
var import_material54 = require("@mui/material");
|
|
8339
|
-
var
|
|
8340
|
-
var ClockIcon = (0, import_react24.memo)((props) => /* @__PURE__ */ (0,
|
|
8478
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
8479
|
+
var ClockIcon = (0, import_react24.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_material54.SvgIcon, { ...props, viewBox: "0 0 22 22", children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
8341
8480
|
"path",
|
|
8342
8481
|
{
|
|
8343
8482
|
fill: "currentColor",
|
|
@@ -8350,9 +8489,9 @@ var ClockIcon = (0, import_react24.memo)((props) => /* @__PURE__ */ (0, import_j
|
|
|
8350
8489
|
// src/components/icons/CloudFlashIcon.tsx
|
|
8351
8490
|
var import_react25 = require("react");
|
|
8352
8491
|
var import_material55 = require("@mui/material");
|
|
8353
|
-
var
|
|
8354
|
-
var CloudFlashIcon = (0, import_react25.memo)((props) => /* @__PURE__ */ (0,
|
|
8355
|
-
/* @__PURE__ */ (0,
|
|
8492
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
8493
|
+
var CloudFlashIcon = (0, import_react25.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(import_material55.SvgIcon, { ...props, fill: "none", viewBox: "0 0 96 97", children: [
|
|
8494
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
8356
8495
|
"path",
|
|
8357
8496
|
{
|
|
8358
8497
|
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",
|
|
@@ -8361,7 +8500,7 @@ var CloudFlashIcon = (0, import_react25.memo)((props) => /* @__PURE__ */ (0, imp
|
|
|
8361
8500
|
strokeWidth: "2"
|
|
8362
8501
|
}
|
|
8363
8502
|
),
|
|
8364
|
-
/* @__PURE__ */ (0,
|
|
8503
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
8365
8504
|
"path",
|
|
8366
8505
|
{
|
|
8367
8506
|
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",
|
|
@@ -8375,9 +8514,9 @@ var CloudFlashIcon = (0, import_react25.memo)((props) => /* @__PURE__ */ (0, imp
|
|
|
8375
8514
|
// src/components/icons/DecentralizedServerIcon.tsx
|
|
8376
8515
|
var import_react26 = require("react");
|
|
8377
8516
|
var import_material56 = require("@mui/material");
|
|
8378
|
-
var
|
|
8379
|
-
var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ */ (0,
|
|
8380
|
-
/* @__PURE__ */ (0,
|
|
8517
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
8518
|
+
var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_material56.SvgIcon, { ...props, viewBox: "0 0 96 97", children: [
|
|
8519
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8381
8520
|
"path",
|
|
8382
8521
|
{
|
|
8383
8522
|
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",
|
|
@@ -8388,7 +8527,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8388
8527
|
strokeLinejoin: "round"
|
|
8389
8528
|
}
|
|
8390
8529
|
),
|
|
8391
|
-
/* @__PURE__ */ (0,
|
|
8530
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8392
8531
|
"path",
|
|
8393
8532
|
{
|
|
8394
8533
|
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",
|
|
@@ -8399,7 +8538,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8399
8538
|
strokeLinejoin: "round"
|
|
8400
8539
|
}
|
|
8401
8540
|
),
|
|
8402
|
-
/* @__PURE__ */ (0,
|
|
8541
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8403
8542
|
"path",
|
|
8404
8543
|
{
|
|
8405
8544
|
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",
|
|
@@ -8410,7 +8549,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8410
8549
|
strokeLinejoin: "round"
|
|
8411
8550
|
}
|
|
8412
8551
|
),
|
|
8413
|
-
/* @__PURE__ */ (0,
|
|
8552
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8414
8553
|
"path",
|
|
8415
8554
|
{
|
|
8416
8555
|
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",
|
|
@@ -8421,7 +8560,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8421
8560
|
strokeLinejoin: "round"
|
|
8422
8561
|
}
|
|
8423
8562
|
),
|
|
8424
|
-
/* @__PURE__ */ (0,
|
|
8563
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8425
8564
|
"path",
|
|
8426
8565
|
{
|
|
8427
8566
|
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",
|
|
@@ -8432,7 +8571,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8432
8571
|
strokeLinejoin: "round"
|
|
8433
8572
|
}
|
|
8434
8573
|
),
|
|
8435
|
-
/* @__PURE__ */ (0,
|
|
8574
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8436
8575
|
"path",
|
|
8437
8576
|
{
|
|
8438
8577
|
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",
|
|
@@ -8443,7 +8582,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8443
8582
|
strokeLinejoin: "round"
|
|
8444
8583
|
}
|
|
8445
8584
|
),
|
|
8446
|
-
/* @__PURE__ */ (0,
|
|
8585
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8447
8586
|
"path",
|
|
8448
8587
|
{
|
|
8449
8588
|
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",
|
|
@@ -8454,7 +8593,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8454
8593
|
strokeLinejoin: "round"
|
|
8455
8594
|
}
|
|
8456
8595
|
),
|
|
8457
|
-
/* @__PURE__ */ (0,
|
|
8596
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8458
8597
|
"path",
|
|
8459
8598
|
{
|
|
8460
8599
|
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",
|
|
@@ -8465,7 +8604,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8465
8604
|
strokeLinejoin: "round"
|
|
8466
8605
|
}
|
|
8467
8606
|
),
|
|
8468
|
-
/* @__PURE__ */ (0,
|
|
8607
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8469
8608
|
"path",
|
|
8470
8609
|
{
|
|
8471
8610
|
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",
|
|
@@ -8476,7 +8615,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8476
8615
|
strokeLinejoin: "round"
|
|
8477
8616
|
}
|
|
8478
8617
|
),
|
|
8479
|
-
/* @__PURE__ */ (0,
|
|
8618
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8480
8619
|
"rect",
|
|
8481
8620
|
{
|
|
8482
8621
|
x: "22.623",
|
|
@@ -8489,7 +8628,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8489
8628
|
strokeWidth: "2"
|
|
8490
8629
|
}
|
|
8491
8630
|
),
|
|
8492
|
-
/* @__PURE__ */ (0,
|
|
8631
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8493
8632
|
"rect",
|
|
8494
8633
|
{
|
|
8495
8634
|
x: "22.623",
|
|
@@ -8502,7 +8641,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8502
8641
|
strokeWidth: "2"
|
|
8503
8642
|
}
|
|
8504
8643
|
),
|
|
8505
|
-
/* @__PURE__ */ (0,
|
|
8644
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8506
8645
|
"rect",
|
|
8507
8646
|
{
|
|
8508
8647
|
x: "22.623",
|
|
@@ -8515,7 +8654,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8515
8654
|
strokeWidth: "2"
|
|
8516
8655
|
}
|
|
8517
8656
|
),
|
|
8518
|
-
/* @__PURE__ */ (0,
|
|
8657
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8519
8658
|
"path",
|
|
8520
8659
|
{
|
|
8521
8660
|
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",
|
|
@@ -8525,7 +8664,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8525
8664
|
strokeMiterlimit: "10"
|
|
8526
8665
|
}
|
|
8527
8666
|
),
|
|
8528
|
-
/* @__PURE__ */ (0,
|
|
8667
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8529
8668
|
"path",
|
|
8530
8669
|
{
|
|
8531
8670
|
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",
|
|
@@ -8535,7 +8674,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8535
8674
|
strokeMiterlimit: "10"
|
|
8536
8675
|
}
|
|
8537
8676
|
),
|
|
8538
|
-
/* @__PURE__ */ (0,
|
|
8677
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8539
8678
|
"path",
|
|
8540
8679
|
{
|
|
8541
8680
|
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",
|
|
@@ -8550,8 +8689,8 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8550
8689
|
// src/components/icons/DiscordIcon.tsx
|
|
8551
8690
|
var import_react27 = require("react");
|
|
8552
8691
|
var import_material57 = require("@mui/material");
|
|
8553
|
-
var
|
|
8554
|
-
var DiscordIcon = (0, import_react27.memo)((props) => /* @__PURE__ */ (0,
|
|
8692
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
8693
|
+
var DiscordIcon = (0, import_react27.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_material57.SvgIcon, { ...props, viewBox: "0 0 15 12", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
8555
8694
|
"path",
|
|
8556
8695
|
{
|
|
8557
8696
|
fill: "currentColor",
|
|
@@ -8562,16 +8701,16 @@ var DiscordIcon = (0, import_react27.memo)((props) => /* @__PURE__ */ (0, import
|
|
|
8562
8701
|
// src/components/icons/DownloadIcon.tsx
|
|
8563
8702
|
var import_react28 = require("react");
|
|
8564
8703
|
var import_material58 = require("@mui/material");
|
|
8565
|
-
var
|
|
8566
|
-
var DownloadIcon = (0, import_react28.memo)((props) => /* @__PURE__ */ (0,
|
|
8567
|
-
/* @__PURE__ */ (0,
|
|
8704
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
8705
|
+
var DownloadIcon = (0, import_react28.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_material58.SvgIcon, { ...props, viewBox: "0 0 17 16", fill: "none", children: [
|
|
8706
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
8568
8707
|
"path",
|
|
8569
8708
|
{
|
|
8570
8709
|
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",
|
|
8571
8710
|
fill: "currentColor"
|
|
8572
8711
|
}
|
|
8573
8712
|
),
|
|
8574
|
-
/* @__PURE__ */ (0,
|
|
8713
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
8575
8714
|
"path",
|
|
8576
8715
|
{
|
|
8577
8716
|
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",
|
|
@@ -8583,11 +8722,11 @@ var DownloadIcon = (0, import_react28.memo)((props) => /* @__PURE__ */ (0, impor
|
|
|
8583
8722
|
// src/components/icons/FilledFolderIcon.tsx
|
|
8584
8723
|
var import_react29 = require("react");
|
|
8585
8724
|
var import_material59 = require("@mui/material");
|
|
8586
|
-
var
|
|
8587
|
-
var FilledFolderIcon = (0, import_react29.memo)((props) => /* @__PURE__ */ (0,
|
|
8588
|
-
/* @__PURE__ */ (0,
|
|
8589
|
-
/* @__PURE__ */ (0,
|
|
8590
|
-
/* @__PURE__ */ (0,
|
|
8725
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
8726
|
+
var FilledFolderIcon = (0, import_react29.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_material59.SvgIcon, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
|
|
8727
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#FCF8EC" }),
|
|
8728
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E1B43E" }),
|
|
8729
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
8591
8730
|
"path",
|
|
8592
8731
|
{
|
|
8593
8732
|
fillRule: "evenodd",
|
|
@@ -8601,11 +8740,11 @@ var FilledFolderIcon = (0, import_react29.memo)((props) => /* @__PURE__ */ (0, i
|
|
|
8601
8740
|
// src/components/icons/FolderIcon.tsx
|
|
8602
8741
|
var import_react30 = require("react");
|
|
8603
8742
|
var import_material60 = require("@mui/material");
|
|
8604
|
-
var
|
|
8605
|
-
var FolderIcon = (0, import_react30.memo)((props) => /* @__PURE__ */ (0,
|
|
8606
|
-
/* @__PURE__ */ (0,
|
|
8607
|
-
/* @__PURE__ */ (0,
|
|
8608
|
-
/* @__PURE__ */ (0,
|
|
8743
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
8744
|
+
var FolderIcon = (0, import_react30.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material60.SvgIcon, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
|
|
8745
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#F5F7FA" }),
|
|
8746
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E6E6E6" }),
|
|
8747
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
8609
8748
|
"path",
|
|
8610
8749
|
{
|
|
8611
8750
|
fillRule: "evenodd",
|
|
@@ -8621,16 +8760,16 @@ var FolderIcon = (0, import_react30.memo)((props) => /* @__PURE__ */ (0, import_
|
|
|
8621
8760
|
// src/components/icons/GithubLogoIcon.tsx
|
|
8622
8761
|
var import_react31 = require("react");
|
|
8623
8762
|
var import_material61 = require("@mui/material");
|
|
8624
|
-
var
|
|
8625
|
-
var GithubLogoIcon = (0, import_react31.memo)((props) => /* @__PURE__ */ (0,
|
|
8626
|
-
/* @__PURE__ */ (0,
|
|
8763
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
8764
|
+
var GithubLogoIcon = (0, import_react31.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_material61.SvgIcon, { ...props, viewBox: "0 0 17 16", sx: { fill: "none" }, children: [
|
|
8765
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
8627
8766
|
"path",
|
|
8628
8767
|
{
|
|
8629
8768
|
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",
|
|
8630
8769
|
fill: "white"
|
|
8631
8770
|
}
|
|
8632
8771
|
),
|
|
8633
|
-
/* @__PURE__ */ (0,
|
|
8772
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
8634
8773
|
"path",
|
|
8635
8774
|
{
|
|
8636
8775
|
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",
|
|
@@ -8642,8 +8781,8 @@ var GithubLogoIcon = (0, import_react31.memo)((props) => /* @__PURE__ */ (0, imp
|
|
|
8642
8781
|
// src/components/icons/ShareIcon.tsx
|
|
8643
8782
|
var import_react32 = require("react");
|
|
8644
8783
|
var import_material62 = require("@mui/material");
|
|
8645
|
-
var
|
|
8646
|
-
var ShareIcon = (0, import_react32.memo)((props) => /* @__PURE__ */ (0,
|
|
8784
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
8785
|
+
var ShareIcon = (0, import_react32.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_material62.SvgIcon, { ...props, viewBox: "0 0 17 16", fill: "none", children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
8647
8786
|
"path",
|
|
8648
8787
|
{
|
|
8649
8788
|
fillRule: "evenodd",
|
|
@@ -8656,9 +8795,9 @@ var ShareIcon = (0, import_react32.memo)((props) => /* @__PURE__ */ (0, import_j
|
|
|
8656
8795
|
// src/components/icons/StorageAppIcon.tsx
|
|
8657
8796
|
var import_react33 = require("react");
|
|
8658
8797
|
var import_material63 = require("@mui/material");
|
|
8659
|
-
var
|
|
8660
|
-
var StorageAppIcon = (0, import_react33.memo)((props) => /* @__PURE__ */ (0,
|
|
8661
|
-
/* @__PURE__ */ (0,
|
|
8798
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
8799
|
+
var StorageAppIcon = (0, import_react33.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_material63.SvgIcon, { ...props, viewBox: "0 0 38 29", fill: "none", children: [
|
|
8800
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
8662
8801
|
"path",
|
|
8663
8802
|
{
|
|
8664
8803
|
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",
|
|
@@ -8667,7 +8806,7 @@ var StorageAppIcon = (0, import_react33.memo)((props) => /* @__PURE__ */ (0, imp
|
|
|
8667
8806
|
fill: "none"
|
|
8668
8807
|
}
|
|
8669
8808
|
),
|
|
8670
|
-
/* @__PURE__ */ (0,
|
|
8809
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
8671
8810
|
"path",
|
|
8672
8811
|
{
|
|
8673
8812
|
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",
|
|
@@ -8681,8 +8820,8 @@ var StorageAppIcon = (0, import_react33.memo)((props) => /* @__PURE__ */ (0, imp
|
|
|
8681
8820
|
// src/components/icons/UploadFileIcon.tsx
|
|
8682
8821
|
var import_react34 = require("react");
|
|
8683
8822
|
var import_material64 = require("@mui/material");
|
|
8684
|
-
var
|
|
8685
|
-
var UploadFileIcon = (0, import_react34.memo)((props) => /* @__PURE__ */ (0,
|
|
8823
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
8824
|
+
var UploadFileIcon = (0, import_react34.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_material64.SvgIcon, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
8686
8825
|
"path",
|
|
8687
8826
|
{
|
|
8688
8827
|
fillRule: "evenodd",
|
|
@@ -8697,8 +8836,8 @@ var UploadFileIcon = (0, import_react34.memo)((props) => /* @__PURE__ */ (0, imp
|
|
|
8697
8836
|
// src/components/icons/UploadFolderIcon.tsx
|
|
8698
8837
|
var import_react35 = require("react");
|
|
8699
8838
|
var import_material65 = require("@mui/material");
|
|
8700
|
-
var
|
|
8701
|
-
var UploadFolderIcon = (0, import_react35.memo)((props) => /* @__PURE__ */ (0,
|
|
8839
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
8840
|
+
var UploadFolderIcon = (0, import_react35.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_material65.SvgIcon, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
8702
8841
|
"path",
|
|
8703
8842
|
{
|
|
8704
8843
|
fillRule: "evenodd",
|
|
@@ -8717,7 +8856,7 @@ var import_github_markdown_light = require("github-markdown-css/github-markdown-
|
|
|
8717
8856
|
var import_react_markdown = __toESM(require("react-markdown"));
|
|
8718
8857
|
var import_rehype_highlight = __toESM(require("rehype-highlight"));
|
|
8719
8858
|
var import_rehype_raw = __toESM(require("rehype-raw"));
|
|
8720
|
-
var
|
|
8859
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
8721
8860
|
var Content = (0, import_material66.styled)(import_material66.Box)(({ theme: theme2 }) => ({
|
|
8722
8861
|
backgroundColor: "transparent",
|
|
8723
8862
|
...theme2.typography.body1,
|
|
@@ -8735,11 +8874,11 @@ var Content = (0, import_material66.styled)(import_material66.Box)(({ theme: the
|
|
|
8735
8874
|
backgroundColor: theme2.palette.background.paper
|
|
8736
8875
|
}
|
|
8737
8876
|
}));
|
|
8738
|
-
var Markdown = ({ content, children }) => /* @__PURE__ */ (0,
|
|
8877
|
+
var Markdown = ({ content, children }) => /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Content, { className: "markdown-body", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_react_markdown.default, { rehypePlugins: [import_rehype_highlight.default, import_rehype_raw.default], children: content || children }) });
|
|
8739
8878
|
|
|
8740
8879
|
// src/components/utilities/OnboardingProvider/OnboardingProvider.tsx
|
|
8741
8880
|
var import_react36 = require("react");
|
|
8742
|
-
var
|
|
8881
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
8743
8882
|
var OnboardingContext = (0, import_react36.createContext)(void 0);
|
|
8744
8883
|
var useOnboarding = () => {
|
|
8745
8884
|
const context = (0, import_react36.useContext)(OnboardingContext);
|
|
@@ -8764,7 +8903,7 @@ var OnboardingProvider = ({ children }) => {
|
|
|
8764
8903
|
setIsOnboardingActive(false);
|
|
8765
8904
|
setTimeout(() => setIsOnboardingActive(true), 0);
|
|
8766
8905
|
}, []);
|
|
8767
|
-
return /* @__PURE__ */ (0,
|
|
8906
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
8768
8907
|
OnboardingContext.Provider,
|
|
8769
8908
|
{
|
|
8770
8909
|
value: {
|
|
@@ -8779,7 +8918,7 @@ var OnboardingProvider = ({ children }) => {
|
|
|
8779
8918
|
};
|
|
8780
8919
|
|
|
8781
8920
|
// src/components/utilities/Truncate/Truncate.tsx
|
|
8782
|
-
var
|
|
8921
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
8783
8922
|
var getDefaultEndingLength = ({ text, variant, maxLength = text.length }) => {
|
|
8784
8923
|
if (variant === "hex") {
|
|
8785
8924
|
return 4;
|
|
@@ -8803,21 +8942,21 @@ var Truncate = ({
|
|
|
8803
8942
|
const truncated = text.slice(0, maxLength - endingLength);
|
|
8804
8943
|
truncatedText = [truncated, ending].filter(Boolean).join("...");
|
|
8805
8944
|
}
|
|
8806
|
-
return /* @__PURE__ */ (0,
|
|
8945
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { ...props, "data-full": text, children: truncatedText });
|
|
8807
8946
|
};
|
|
8808
8947
|
|
|
8809
8948
|
// src/components/utilities/BytesSize/BytesSize.tsx
|
|
8810
8949
|
var import_byte_size = __toESM(require("byte-size"));
|
|
8811
|
-
var
|
|
8950
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
8812
8951
|
var BytesSize = ({ bytes }) => {
|
|
8813
|
-
return /* @__PURE__ */ (0,
|
|
8952
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_jsx_runtime96.Fragment, { children: (0, import_byte_size.default)(bytes).toString() });
|
|
8814
8953
|
};
|
|
8815
8954
|
|
|
8816
8955
|
// src/components/utilities/QRCode/QRCode.tsx
|
|
8817
8956
|
var import_react37 = require("react");
|
|
8818
8957
|
var import_react_qr_code = __toESM(require("react-qr-code"));
|
|
8819
|
-
var
|
|
8820
|
-
var QRCode = (0, import_react37.forwardRef)(({ size: size3 = 168, ...props }, ref) => /* @__PURE__ */ (0,
|
|
8958
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
8959
|
+
var QRCode = (0, import_react37.forwardRef)(({ size: size3 = 168, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_react_qr_code.default, { ref, size: size3, ...props }));
|
|
8821
8960
|
QRCode.displayName = "QRCode";
|
|
8822
8961
|
|
|
8823
8962
|
// src/components/charts/ChartWidget/ChartWidget.tsx
|
|
@@ -8825,7 +8964,7 @@ var import_material67 = require("@mui/material");
|
|
|
8825
8964
|
var import_x_charts = require("@mui/x-charts");
|
|
8826
8965
|
var import_byte_size2 = __toESM(require("byte-size"));
|
|
8827
8966
|
var import_date_fns = require("date-fns");
|
|
8828
|
-
var
|
|
8967
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
8829
8968
|
var Chart = (0, import_material67.styled)(import_material67.Box)(() => ({
|
|
8830
8969
|
height: 200
|
|
8831
8970
|
}));
|
|
@@ -8836,10 +8975,10 @@ var ChartWidget = ({
|
|
|
8836
8975
|
formatValue = (value2) => (0, import_byte_size2.default)(value2 || 0).toString()
|
|
8837
8976
|
}) => {
|
|
8838
8977
|
const theme2 = (0, import_material67.useTheme)();
|
|
8839
|
-
return /* @__PURE__ */ (0,
|
|
8840
|
-
/* @__PURE__ */ (0,
|
|
8841
|
-
/* @__PURE__ */ (0,
|
|
8842
|
-
/* @__PURE__ */ (0,
|
|
8978
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_material67.Stack, { spacing: 1, children: [
|
|
8979
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_material67.Typography, { variant: "caption", color: "text.secondary", children: title }),
|
|
8980
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_material67.Typography, { fontWeight: "bold", children: value }),
|
|
8981
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Chart, { children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
8843
8982
|
import_x_charts.LineChart,
|
|
8844
8983
|
{
|
|
8845
8984
|
dataset: history || [],
|
|
@@ -8901,7 +9040,7 @@ var import_material69 = require("@mui/material");
|
|
|
8901
9040
|
|
|
8902
9041
|
// src/components/charts/MetricsChart/PeriodSelect.tsx
|
|
8903
9042
|
var import_material68 = require("@mui/material");
|
|
8904
|
-
var
|
|
9043
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
8905
9044
|
var options = [
|
|
8906
9045
|
/**
|
|
8907
9046
|
* TODO: Enable the options below when the backend supports them
|
|
@@ -8911,7 +9050,7 @@ var options = [
|
|
|
8911
9050
|
{ value: "week", label: "1 week" },
|
|
8912
9051
|
{ value: "month", label: "1 month" }
|
|
8913
9052
|
];
|
|
8914
|
-
var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ (0,
|
|
9053
|
+
var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
8915
9054
|
import_material68.TextField,
|
|
8916
9055
|
{
|
|
8917
9056
|
select: true,
|
|
@@ -8919,13 +9058,13 @@ var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ (0, import_jsx_runti
|
|
|
8919
9058
|
value,
|
|
8920
9059
|
defaultValue: options[0].value,
|
|
8921
9060
|
onChange: (e) => onChange?.(e.target.value),
|
|
8922
|
-
children: options.map(({ value: value2, label }) => /* @__PURE__ */ (0,
|
|
9061
|
+
children: options.map(({ value: value2, label }) => /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_material68.MenuItem, { value: value2, children: label }, value2))
|
|
8923
9062
|
}
|
|
8924
9063
|
);
|
|
8925
9064
|
|
|
8926
9065
|
// src/components/charts/MetricsChart/MetricsChart.tsx
|
|
8927
9066
|
var import_react38 = require("react");
|
|
8928
|
-
var
|
|
9067
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
8929
9068
|
var mapPeriodToFromDate = (period = "month") => {
|
|
8930
9069
|
const date = /* @__PURE__ */ new Date();
|
|
8931
9070
|
if (period === "hour") {
|
|
@@ -8985,15 +9124,15 @@ var MetricsChart = ({ history = [] }) => {
|
|
|
8985
9124
|
const backgroundHeight = textHeight + padding.top + padding.bottom;
|
|
8986
9125
|
const rectX = left + (width - backgroundWidth) / 2;
|
|
8987
9126
|
const rectY = top + (height - backgroundHeight) / 2;
|
|
8988
|
-
return /* @__PURE__ */ (0,
|
|
8989
|
-
/* @__PURE__ */ (0,
|
|
8990
|
-
/* @__PURE__ */ (0,
|
|
9127
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("g", { children: [
|
|
9128
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(NoDataRect, { x: rectX, y: rectY, width: backgroundWidth, height: backgroundHeight }),
|
|
9129
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(LoadingText, { style: { ...theme2.typography.subtitle1 }, x: left + width / 2, y: top + height / 2, children: text })
|
|
8991
9130
|
] });
|
|
8992
9131
|
};
|
|
8993
|
-
return /* @__PURE__ */ (0,
|
|
8994
|
-
/* @__PURE__ */ (0,
|
|
8995
|
-
/* @__PURE__ */ (0,
|
|
8996
|
-
/* @__PURE__ */ (0,
|
|
9132
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.Card, { children: [
|
|
9133
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.CardHeader, { title: "GET / PUT Requests", action: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(PeriodSelect, { value: period, onChange: setPeriod }) }),
|
|
9134
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.CardMedia, { children: [
|
|
9135
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
8997
9136
|
Chart2,
|
|
8998
9137
|
{
|
|
8999
9138
|
skipAnimation: true,
|
|
@@ -9054,35 +9193,35 @@ var MetricsChart = ({ history = [] }) => {
|
|
|
9054
9193
|
]
|
|
9055
9194
|
}
|
|
9056
9195
|
),
|
|
9057
|
-
periodHistory.length > 0 && /* @__PURE__ */ (0,
|
|
9058
|
-
/* @__PURE__ */ (0,
|
|
9059
|
-
/* @__PURE__ */ (0,
|
|
9060
|
-
/* @__PURE__ */ (0,
|
|
9196
|
+
periodHistory.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.Stack, { direction: "row", spacing: 2, marginY: 3, justifyContent: "center", children: [
|
|
9197
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.Stack, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
9198
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Box, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.primary.main } }),
|
|
9199
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Typography, { variant: "body2", children: "Get" })
|
|
9061
9200
|
] }),
|
|
9062
|
-
/* @__PURE__ */ (0,
|
|
9063
|
-
/* @__PURE__ */ (0,
|
|
9064
|
-
/* @__PURE__ */ (0,
|
|
9201
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.Stack, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
9202
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Box, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.success.main } }),
|
|
9203
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Typography, { variant: "body2", children: "Put" })
|
|
9065
9204
|
] })
|
|
9066
9205
|
] })
|
|
9067
9206
|
] }),
|
|
9068
|
-
/* @__PURE__ */ (0,
|
|
9069
|
-
/* @__PURE__ */ (0,
|
|
9070
|
-
/* @__PURE__ */ (0,
|
|
9071
|
-
/* @__PURE__ */ (0,
|
|
9072
|
-
/* @__PURE__ */ (0,
|
|
9073
|
-
/* @__PURE__ */ (0,
|
|
9207
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.CardMedia, { children: [
|
|
9208
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Divider, { flexItem: true }),
|
|
9209
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.Stack, { direction: "row", spacing: 2, padding: 2, children: [
|
|
9210
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.Stack, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
9211
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Typography, { variant: "body2", color: "secondary", children: "GET Requests per account" }),
|
|
9212
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Typography, { variant: "h3", children: total.gets })
|
|
9074
9213
|
] }),
|
|
9075
|
-
/* @__PURE__ */ (0,
|
|
9076
|
-
/* @__PURE__ */ (0,
|
|
9077
|
-
/* @__PURE__ */ (0,
|
|
9214
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.Stack, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
9215
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Typography, { variant: "body2", color: "secondary", children: "PUT Requests per account" }),
|
|
9216
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Typography, { variant: "h3", children: total.puts })
|
|
9078
9217
|
] }),
|
|
9079
|
-
/* @__PURE__ */ (0,
|
|
9080
|
-
/* @__PURE__ */ (0,
|
|
9081
|
-
/* @__PURE__ */ (0,
|
|
9218
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.Stack, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
9219
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Typography, { variant: "body2", color: "secondary", children: "Total Consumed per account" }),
|
|
9220
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Typography, { variant: "h3", children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(BytesSize, { bytes: total.transferredBytes }) })
|
|
9082
9221
|
] }),
|
|
9083
|
-
/* @__PURE__ */ (0,
|
|
9084
|
-
/* @__PURE__ */ (0,
|
|
9085
|
-
/* @__PURE__ */ (0,
|
|
9222
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.Stack, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
9223
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Typography, { variant: "body2", color: "secondary", children: "Total Stored per account" }),
|
|
9224
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Typography, { variant: "h3", children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(BytesSize, { bytes: total.storedBytes }) })
|
|
9086
9225
|
] })
|
|
9087
9226
|
] })
|
|
9088
9227
|
] })
|
|
@@ -9097,8 +9236,8 @@ var import_date_fns3 = require("date-fns");
|
|
|
9097
9236
|
|
|
9098
9237
|
// src/components/charts/TimeSeriesGraph/TimeRangeSelect.tsx
|
|
9099
9238
|
var import_material70 = require("@mui/material");
|
|
9100
|
-
var
|
|
9101
|
-
var TimeRangeSelect = ({ options: options2, value, onChange }) => /* @__PURE__ */ (0,
|
|
9239
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
9240
|
+
var TimeRangeSelect = ({ options: options2, value, onChange }) => /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
9102
9241
|
import_material70.TextField,
|
|
9103
9242
|
{
|
|
9104
9243
|
select: true,
|
|
@@ -9107,13 +9246,13 @@ var TimeRangeSelect = ({ options: options2, value, onChange }) => /* @__PURE__ *
|
|
|
9107
9246
|
onChange: (e) => onChange?.(e.target.value),
|
|
9108
9247
|
"aria-label": "Time range selector",
|
|
9109
9248
|
sx: { minWidth: 120 },
|
|
9110
|
-
children: options2.map((option) => /* @__PURE__ */ (0,
|
|
9249
|
+
children: options2.map((option) => /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_material70.MenuItem, { value: option.value, children: option.label }, option.value))
|
|
9111
9250
|
}
|
|
9112
9251
|
);
|
|
9113
9252
|
|
|
9114
9253
|
// src/components/charts/TimeSeriesGraph/SummaryStats.tsx
|
|
9115
9254
|
var import_material71 = require("@mui/material");
|
|
9116
|
-
var
|
|
9255
|
+
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
9117
9256
|
var formatSummaryValue = (value, unit) => {
|
|
9118
9257
|
const displayValue = typeof value === "number" ? value.toLocaleString() : value;
|
|
9119
9258
|
return unit ? `${displayValue} ${unit}` : displayValue;
|
|
@@ -9122,7 +9261,7 @@ var SummaryStats = ({ items }) => {
|
|
|
9122
9261
|
if (items.length === 0) {
|
|
9123
9262
|
return null;
|
|
9124
9263
|
}
|
|
9125
|
-
return /* @__PURE__ */ (0,
|
|
9264
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
9126
9265
|
import_material71.Stack,
|
|
9127
9266
|
{
|
|
9128
9267
|
direction: "row",
|
|
@@ -9132,7 +9271,7 @@ var SummaryStats = ({ items }) => {
|
|
|
9132
9271
|
useFlexGap: true,
|
|
9133
9272
|
role: "list",
|
|
9134
9273
|
"aria-label": "Summary statistics",
|
|
9135
|
-
children: items.map((item) => /* @__PURE__ */ (0,
|
|
9274
|
+
children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(
|
|
9136
9275
|
import_material71.Stack,
|
|
9137
9276
|
{
|
|
9138
9277
|
direction: "row",
|
|
@@ -9140,8 +9279,8 @@ var SummaryStats = ({ items }) => {
|
|
|
9140
9279
|
spacing: 1,
|
|
9141
9280
|
role: "listitem",
|
|
9142
9281
|
children: [
|
|
9143
|
-
/* @__PURE__ */ (0,
|
|
9144
|
-
/* @__PURE__ */ (0,
|
|
9282
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_material71.Typography, { variant: "body2", color: "text.secondary", children: item.label }),
|
|
9283
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_material71.Typography, { variant: "h5", fontWeight: 600, children: formatSummaryValue(item.value, item.unit) })
|
|
9145
9284
|
]
|
|
9146
9285
|
},
|
|
9147
9286
|
item.label
|
|
@@ -9151,7 +9290,7 @@ var SummaryStats = ({ items }) => {
|
|
|
9151
9290
|
};
|
|
9152
9291
|
|
|
9153
9292
|
// src/components/charts/TimeSeriesGraph/TimeSeriesGraph.tsx
|
|
9154
|
-
var
|
|
9293
|
+
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
9155
9294
|
var ChartContainer = (0, import_material72.styled)(import_material72.Box)({
|
|
9156
9295
|
position: "relative",
|
|
9157
9296
|
height: 320
|
|
@@ -9255,9 +9394,9 @@ var TimeSeriesGraph = ({
|
|
|
9255
9394
|
);
|
|
9256
9395
|
const hasData = dataset.length > 0;
|
|
9257
9396
|
const shouldShowSummary = showSummary && summaryItems && summaryItems.length > 0;
|
|
9258
|
-
const headerActionElement = /* @__PURE__ */ (0,
|
|
9397
|
+
const headerActionElement = /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_material72.Stack, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
9259
9398
|
headerAction,
|
|
9260
|
-
timeRangeOptions && timeRangeOptions.length > 0 && /* @__PURE__ */ (0,
|
|
9399
|
+
timeRangeOptions && timeRangeOptions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
9261
9400
|
TimeRangeSelect,
|
|
9262
9401
|
{
|
|
9263
9402
|
options: timeRangeOptions,
|
|
@@ -9267,13 +9406,13 @@ var TimeSeriesGraph = ({
|
|
|
9267
9406
|
)
|
|
9268
9407
|
] });
|
|
9269
9408
|
const showHeader = !!title || !!headerAction || timeRangeOptions && timeRangeOptions.length > 0;
|
|
9270
|
-
return /* @__PURE__ */ (0,
|
|
9409
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(
|
|
9271
9410
|
import_material72.Card,
|
|
9272
9411
|
{
|
|
9273
9412
|
"aria-label": title ? `Line chart showing ${title}` : "Line chart",
|
|
9274
9413
|
role: "figure",
|
|
9275
9414
|
children: [
|
|
9276
|
-
showHeader && /* @__PURE__ */ (0,
|
|
9415
|
+
showHeader && /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
9277
9416
|
import_material72.CardHeader,
|
|
9278
9417
|
{
|
|
9279
9418
|
title,
|
|
@@ -9284,10 +9423,10 @@ var TimeSeriesGraph = ({
|
|
|
9284
9423
|
action: headerActionElement
|
|
9285
9424
|
}
|
|
9286
9425
|
),
|
|
9287
|
-
/* @__PURE__ */ (0,
|
|
9288
|
-
/* @__PURE__ */ (0,
|
|
9289
|
-
loading && /* @__PURE__ */ (0,
|
|
9290
|
-
/* @__PURE__ */ (0,
|
|
9426
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_material72.CardMedia, { children: [
|
|
9427
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(ChartContainer, { children: [
|
|
9428
|
+
loading && /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(LoadingOverlay, { role: "status", "aria-label": "Loading chart data", children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_material72.CircularProgress, { size: 40 }) }),
|
|
9429
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
9291
9430
|
import_x_charts3.LineChart,
|
|
9292
9431
|
{
|
|
9293
9432
|
dataset,
|
|
@@ -9339,7 +9478,7 @@ var TimeSeriesGraph = ({
|
|
|
9339
9478
|
}
|
|
9340
9479
|
)
|
|
9341
9480
|
] }),
|
|
9342
|
-
series.length > 0 && /* @__PURE__ */ (0,
|
|
9481
|
+
series.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
9343
9482
|
import_material72.Stack,
|
|
9344
9483
|
{
|
|
9345
9484
|
direction: "row",
|
|
@@ -9352,7 +9491,7 @@ var TimeSeriesGraph = ({
|
|
|
9352
9491
|
"aria-label": "Chart legend",
|
|
9353
9492
|
children: series.map((s) => {
|
|
9354
9493
|
const isHidden = hiddenSeries.has(s.name);
|
|
9355
|
-
return /* @__PURE__ */ (0,
|
|
9494
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(
|
|
9356
9495
|
import_material72.Stack,
|
|
9357
9496
|
{
|
|
9358
9497
|
direction: "row",
|
|
@@ -9369,8 +9508,8 @@ var TimeSeriesGraph = ({
|
|
|
9369
9508
|
"aria-pressed": !isHidden,
|
|
9370
9509
|
"aria-label": `Toggle ${s.name} visibility`,
|
|
9371
9510
|
children: [
|
|
9372
|
-
/* @__PURE__ */ (0,
|
|
9373
|
-
/* @__PURE__ */ (0,
|
|
9511
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(LegendDot, { dotColor: s.color }),
|
|
9512
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_material72.Typography, { variant: "body2", children: s.name })
|
|
9374
9513
|
]
|
|
9375
9514
|
},
|
|
9376
9515
|
s.name
|
|
@@ -9379,9 +9518,9 @@ var TimeSeriesGraph = ({
|
|
|
9379
9518
|
}
|
|
9380
9519
|
)
|
|
9381
9520
|
] }),
|
|
9382
|
-
shouldShowSummary && /* @__PURE__ */ (0,
|
|
9383
|
-
/* @__PURE__ */ (0,
|
|
9384
|
-
/* @__PURE__ */ (0,
|
|
9521
|
+
shouldShowSummary && /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_jsx_runtime103.Fragment, { children: [
|
|
9522
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_material72.Divider, {}),
|
|
9523
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(SummaryStats, { items: summaryItems })
|
|
9385
9524
|
] })
|
|
9386
9525
|
]
|
|
9387
9526
|
}
|
|
@@ -9394,7 +9533,7 @@ var import_reactflow = __toESM(require("reactflow"));
|
|
|
9394
9533
|
var import_material73 = require("@mui/material");
|
|
9395
9534
|
var import_styles45 = require("@mui/material/styles");
|
|
9396
9535
|
var import_reactflow2 = require("reactflow");
|
|
9397
|
-
var
|
|
9536
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
9398
9537
|
var FlowEditor = ({
|
|
9399
9538
|
nodes,
|
|
9400
9539
|
edges,
|
|
@@ -9425,7 +9564,7 @@ var FlowEditor = ({
|
|
|
9425
9564
|
[onInit]
|
|
9426
9565
|
);
|
|
9427
9566
|
const { sx: containerSx, ...restContainerProps } = containerProps ?? {};
|
|
9428
|
-
return /* @__PURE__ */ (0,
|
|
9567
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_reactflow.ReactFlowProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
9429
9568
|
import_material73.Box,
|
|
9430
9569
|
{
|
|
9431
9570
|
sx: [
|
|
@@ -9440,7 +9579,7 @@ var FlowEditor = ({
|
|
|
9440
9579
|
...Array.isArray(containerSx) ? containerSx : [containerSx]
|
|
9441
9580
|
],
|
|
9442
9581
|
...restContainerProps,
|
|
9443
|
-
children: /* @__PURE__ */ (0,
|
|
9582
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(
|
|
9444
9583
|
import_reactflow.default,
|
|
9445
9584
|
{
|
|
9446
9585
|
nodes,
|
|
@@ -9463,7 +9602,7 @@ var FlowEditor = ({
|
|
|
9463
9602
|
},
|
|
9464
9603
|
...reactFlowProps,
|
|
9465
9604
|
children: [
|
|
9466
|
-
showBackground && /* @__PURE__ */ (0,
|
|
9605
|
+
showBackground && /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
9467
9606
|
import_reactflow.Background,
|
|
9468
9607
|
{
|
|
9469
9608
|
variant: backgroundVariant,
|
|
@@ -9472,8 +9611,8 @@ var FlowEditor = ({
|
|
|
9472
9611
|
color: theme2.palette.divider
|
|
9473
9612
|
}
|
|
9474
9613
|
),
|
|
9475
|
-
showControls && /* @__PURE__ */ (0,
|
|
9476
|
-
showMinimap && /* @__PURE__ */ (0,
|
|
9614
|
+
showControls && /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_reactflow.Controls, {}),
|
|
9615
|
+
showMinimap && /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
9477
9616
|
import_reactflow.MiniMap,
|
|
9478
9617
|
{
|
|
9479
9618
|
nodeColor: (node) => {
|
|
@@ -9505,7 +9644,7 @@ var import_FullscreenExit = __toESM(require("@mui/icons-material/FullscreenExit"
|
|
|
9505
9644
|
var import_ErrorOutline = __toESM(require("@mui/icons-material/ErrorOutline"));
|
|
9506
9645
|
var import_ExpandMore3 = __toESM(require("@mui/icons-material/ExpandMore"));
|
|
9507
9646
|
var import_ExpandLess = __toESM(require("@mui/icons-material/ExpandLess"));
|
|
9508
|
-
var
|
|
9647
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
9509
9648
|
var configureTypeScript = (monaco) => {
|
|
9510
9649
|
monaco.languages.typescript.typescriptDefaults.setCompilerOptions({
|
|
9511
9650
|
target: monaco.languages.typescript.ScriptTarget.ES2020,
|
|
@@ -9723,7 +9862,7 @@ var CodeEditor = ({
|
|
|
9723
9862
|
theme: themeProp || "vs",
|
|
9724
9863
|
...options2
|
|
9725
9864
|
};
|
|
9726
|
-
return /* @__PURE__ */ (0,
|
|
9865
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
9727
9866
|
import_material74.Box,
|
|
9728
9867
|
{
|
|
9729
9868
|
sx: {
|
|
@@ -9744,7 +9883,7 @@ var CodeEditor = ({
|
|
|
9744
9883
|
pb: isFullscreen ? 2 : 0,
|
|
9745
9884
|
overflow: isFullscreen ? "hidden" : "visible"
|
|
9746
9885
|
},
|
|
9747
|
-
children: /* @__PURE__ */ (0,
|
|
9886
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(
|
|
9748
9887
|
import_material74.Box,
|
|
9749
9888
|
{
|
|
9750
9889
|
sx: {
|
|
@@ -9760,7 +9899,7 @@ var CodeEditor = ({
|
|
|
9760
9899
|
},
|
|
9761
9900
|
...containerProps,
|
|
9762
9901
|
children: [
|
|
9763
|
-
/* @__PURE__ */ (0,
|
|
9902
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_material74.Tooltip, { title: isFullscreen ? "Exit Fullscreen" : "Fullscreen", children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
9764
9903
|
import_material74.IconButton,
|
|
9765
9904
|
{
|
|
9766
9905
|
onClick: toggleFullscreen,
|
|
@@ -9778,10 +9917,10 @@ var CodeEditor = ({
|
|
|
9778
9917
|
},
|
|
9779
9918
|
boxShadow: 1
|
|
9780
9919
|
},
|
|
9781
|
-
children: isFullscreen ? /* @__PURE__ */ (0,
|
|
9920
|
+
children: isFullscreen ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_FullscreenExit.default, { fontSize: "small" }) : /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_Fullscreen.default, { fontSize: "small" })
|
|
9782
9921
|
}
|
|
9783
9922
|
) }),
|
|
9784
|
-
/* @__PURE__ */ (0,
|
|
9923
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
9785
9924
|
import_material74.Box,
|
|
9786
9925
|
{
|
|
9787
9926
|
sx: {
|
|
@@ -9793,7 +9932,7 @@ var CodeEditor = ({
|
|
|
9793
9932
|
position: "relative",
|
|
9794
9933
|
height: isFullscreen ? "100%" : actualHeight
|
|
9795
9934
|
},
|
|
9796
|
-
children: /* @__PURE__ */ (0,
|
|
9935
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
9797
9936
|
import_react42.default,
|
|
9798
9937
|
{
|
|
9799
9938
|
height: "100%",
|
|
@@ -9804,7 +9943,7 @@ var CodeEditor = ({
|
|
|
9804
9943
|
onMount: handleEditorDidMount,
|
|
9805
9944
|
theme: themeProp || "vs",
|
|
9806
9945
|
options: defaultOptions,
|
|
9807
|
-
loading: /* @__PURE__ */ (0,
|
|
9946
|
+
loading: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_material74.Box, { sx: { p: 2, textAlign: "center" }, children: "Loading Monaco Editor..." }),
|
|
9808
9947
|
beforeMount: (monaco) => {
|
|
9809
9948
|
console.log("CodeEditor: beforeMount called", { monaco: !!monaco });
|
|
9810
9949
|
}
|
|
@@ -9812,7 +9951,7 @@ var CodeEditor = ({
|
|
|
9812
9951
|
)
|
|
9813
9952
|
}
|
|
9814
9953
|
),
|
|
9815
|
-
validationErrors.length > 0 && /* @__PURE__ */ (0,
|
|
9954
|
+
validationErrors.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(
|
|
9816
9955
|
import_material74.Box,
|
|
9817
9956
|
{
|
|
9818
9957
|
sx: {
|
|
@@ -9826,7 +9965,7 @@ var CodeEditor = ({
|
|
|
9826
9965
|
transition: "max-height 0.2s ease"
|
|
9827
9966
|
},
|
|
9828
9967
|
children: [
|
|
9829
|
-
/* @__PURE__ */ (0,
|
|
9968
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(
|
|
9830
9969
|
import_material74.Box,
|
|
9831
9970
|
{
|
|
9832
9971
|
sx: {
|
|
@@ -9841,15 +9980,15 @@ var CodeEditor = ({
|
|
|
9841
9980
|
color: "text.secondary"
|
|
9842
9981
|
},
|
|
9843
9982
|
children: [
|
|
9844
|
-
/* @__PURE__ */ (0,
|
|
9845
|
-
/* @__PURE__ */ (0,
|
|
9846
|
-
/* @__PURE__ */ (0,
|
|
9983
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_ErrorOutline.default, { color: "error", fontSize: "small" }),
|
|
9984
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_material74.Box, { sx: { fontWeight: 600, color: "text.primary" }, children: "Problems" }),
|
|
9985
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_material74.Box, { sx: { ml: 1 }, children: [
|
|
9847
9986
|
validationErrors.length,
|
|
9848
9987
|
" error",
|
|
9849
9988
|
validationErrors.length > 1 ? "s" : ""
|
|
9850
9989
|
] }),
|
|
9851
|
-
/* @__PURE__ */ (0,
|
|
9852
|
-
/* @__PURE__ */ (0,
|
|
9990
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_material74.Box, { sx: { flex: 1 } }),
|
|
9991
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
9853
9992
|
import_material74.IconButton,
|
|
9854
9993
|
{
|
|
9855
9994
|
size: "small",
|
|
@@ -9858,13 +9997,13 @@ var CodeEditor = ({
|
|
|
9858
9997
|
setHasUserToggledProblems(true);
|
|
9859
9998
|
setShowProblems((s) => !s);
|
|
9860
9999
|
},
|
|
9861
|
-
children: showProblems ? /* @__PURE__ */ (0,
|
|
10000
|
+
children: showProblems ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_ExpandMore3.default, { fontSize: "small" }) : /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_ExpandLess.default, { fontSize: "small" })
|
|
9862
10001
|
}
|
|
9863
10002
|
)
|
|
9864
10003
|
]
|
|
9865
10004
|
}
|
|
9866
10005
|
),
|
|
9867
|
-
showProblems && /* @__PURE__ */ (0,
|
|
10006
|
+
showProblems && /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_material74.Box, { sx: { overflow: "auto" }, children: validationErrors.map((error, index) => /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(
|
|
9868
10007
|
import_material74.Box,
|
|
9869
10008
|
{
|
|
9870
10009
|
onClick: () => gotoMarker(error),
|
|
@@ -9881,12 +10020,12 @@ var CodeEditor = ({
|
|
|
9881
10020
|
fontSize: "0.85rem"
|
|
9882
10021
|
},
|
|
9883
10022
|
children: [
|
|
9884
|
-
/* @__PURE__ */ (0,
|
|
9885
|
-
/* @__PURE__ */ (0,
|
|
10023
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_ErrorOutline.default, { color: "error", sx: { fontSize: 18 } }),
|
|
10024
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_material74.Box, { sx: { color: "text.secondary", width: 64 }, children: [
|
|
9886
10025
|
"Line ",
|
|
9887
10026
|
error.startLineNumber
|
|
9888
10027
|
] }),
|
|
9889
|
-
/* @__PURE__ */ (0,
|
|
10028
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_material74.Box, { sx: { color: "text.primary", flex: 1, minWidth: 0 }, children: error.message })
|
|
9890
10029
|
]
|
|
9891
10030
|
},
|
|
9892
10031
|
`${error.startLineNumber}-${error.startColumn}-${index}`
|
|
@@ -9907,7 +10046,7 @@ var import_reactflow4 = require("reactflow");
|
|
|
9907
10046
|
// src/components/third-party/WorkflowNodeHandle.tsx
|
|
9908
10047
|
var import_reactflow3 = require("reactflow");
|
|
9909
10048
|
var import_material75 = require("@mui/material");
|
|
9910
|
-
var
|
|
10049
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
9911
10050
|
var WorkflowNodeHandle = ({
|
|
9912
10051
|
data,
|
|
9913
10052
|
selected
|
|
@@ -9922,9 +10061,9 @@ var WorkflowNodeHandle = ({
|
|
|
9922
10061
|
background: handleColor,
|
|
9923
10062
|
boxShadow: WORKFLOW_NODE_SHADOW
|
|
9924
10063
|
};
|
|
9925
|
-
return /* @__PURE__ */ (0,
|
|
9926
|
-
/* @__PURE__ */ (0,
|
|
9927
|
-
/* @__PURE__ */ (0,
|
|
10064
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_jsx_runtime106.Fragment, { children: [
|
|
10065
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_reactflow3.Handle, { type: "target", position: import_reactflow3.Position.Left, style: handleStyle }),
|
|
10066
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
9928
10067
|
WorkflowNode,
|
|
9929
10068
|
{
|
|
9930
10069
|
nodeType: data.nodeType,
|
|
@@ -9936,7 +10075,7 @@ var WorkflowNodeHandle = ({
|
|
|
9936
10075
|
showSideDots: false
|
|
9937
10076
|
}
|
|
9938
10077
|
),
|
|
9939
|
-
/* @__PURE__ */ (0,
|
|
10078
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_reactflow3.Handle, { type: "source", position: import_reactflow3.Position.Right, style: handleStyle })
|
|
9940
10079
|
] });
|
|
9941
10080
|
};
|
|
9942
10081
|
|
|
@@ -10221,7 +10360,7 @@ function useCodeEditorWorkspace({
|
|
|
10221
10360
|
var import_react44 = __toESM(require("react"));
|
|
10222
10361
|
var import_material76 = require("@mui/material");
|
|
10223
10362
|
var import_Close6 = __toESM(require("@mui/icons-material/Close"));
|
|
10224
|
-
var
|
|
10363
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
10225
10364
|
var CodeEditorTabs = ({
|
|
10226
10365
|
tabs,
|
|
10227
10366
|
activeTab,
|
|
@@ -10231,7 +10370,7 @@ var CodeEditorTabs = ({
|
|
|
10231
10370
|
containerProps
|
|
10232
10371
|
}) => {
|
|
10233
10372
|
if (tabs.length === 0) return null;
|
|
10234
|
-
return /* @__PURE__ */ (0,
|
|
10373
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
10235
10374
|
import_material76.Box,
|
|
10236
10375
|
{
|
|
10237
10376
|
sx: {
|
|
@@ -10250,14 +10389,14 @@ var CodeEditorTabs = ({
|
|
|
10250
10389
|
const isActive = tab.path === activeTab;
|
|
10251
10390
|
const label = tab.label ?? getFileName(tab.path);
|
|
10252
10391
|
if (renderTab) {
|
|
10253
|
-
return /* @__PURE__ */ (0,
|
|
10392
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_react44.default.Fragment, { children: renderTab({
|
|
10254
10393
|
tab,
|
|
10255
10394
|
isActive,
|
|
10256
10395
|
onSelect: () => onTabSelect?.(tab.path),
|
|
10257
10396
|
onClose: () => onTabClose?.(tab.path)
|
|
10258
10397
|
}) }, tab.path);
|
|
10259
10398
|
}
|
|
10260
|
-
return /* @__PURE__ */ (0,
|
|
10399
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
|
|
10261
10400
|
import_material76.Box,
|
|
10262
10401
|
{
|
|
10263
10402
|
onClick: () => onTabSelect?.(tab.path),
|
|
@@ -10280,7 +10419,7 @@ var CodeEditorTabs = ({
|
|
|
10280
10419
|
transition: "background-color 0.15s ease"
|
|
10281
10420
|
},
|
|
10282
10421
|
children: [
|
|
10283
|
-
tab.isDirty && /* @__PURE__ */ (0,
|
|
10422
|
+
tab.isDirty && /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
10284
10423
|
import_material76.Box,
|
|
10285
10424
|
{
|
|
10286
10425
|
sx: {
|
|
@@ -10292,7 +10431,7 @@ var CodeEditorTabs = ({
|
|
|
10292
10431
|
}
|
|
10293
10432
|
}
|
|
10294
10433
|
),
|
|
10295
|
-
tab.syncStatus && /* @__PURE__ */ (0,
|
|
10434
|
+
tab.syncStatus && /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
10296
10435
|
import_material76.Box,
|
|
10297
10436
|
{
|
|
10298
10437
|
component: "span",
|
|
@@ -10306,7 +10445,7 @@ var CodeEditorTabs = ({
|
|
|
10306
10445
|
children: tab.syncStatus === "new" ? "N" : "M"
|
|
10307
10446
|
}
|
|
10308
10447
|
),
|
|
10309
|
-
/* @__PURE__ */ (0,
|
|
10448
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_material76.Tooltip, { title: tab.path, enterDelay: 600, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
10310
10449
|
import_material76.Typography,
|
|
10311
10450
|
{
|
|
10312
10451
|
variant: "body2",
|
|
@@ -10319,7 +10458,7 @@ var CodeEditorTabs = ({
|
|
|
10319
10458
|
children: label
|
|
10320
10459
|
}
|
|
10321
10460
|
) }),
|
|
10322
|
-
onTabClose && /* @__PURE__ */ (0,
|
|
10461
|
+
onTabClose && /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
10323
10462
|
import_material76.IconButton,
|
|
10324
10463
|
{
|
|
10325
10464
|
size: "small",
|
|
@@ -10336,7 +10475,7 @@ var CodeEditorTabs = ({
|
|
|
10336
10475
|
transition: "opacity 0.15s ease"
|
|
10337
10476
|
},
|
|
10338
10477
|
"aria-label": `Close ${label}`,
|
|
10339
|
-
children: /* @__PURE__ */ (0,
|
|
10478
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_Close6.default, { sx: { fontSize: 14 } })
|
|
10340
10479
|
}
|
|
10341
10480
|
)
|
|
10342
10481
|
]
|
|
@@ -10356,7 +10495,7 @@ var import_FolderOpen = __toESM(require("@mui/icons-material/FolderOpen"));
|
|
|
10356
10495
|
var import_InsertDriveFileOutlined = __toESM(require("@mui/icons-material/InsertDriveFileOutlined"));
|
|
10357
10496
|
var import_ExpandMore4 = __toESM(require("@mui/icons-material/ExpandMore"));
|
|
10358
10497
|
var import_ChevronRight6 = __toESM(require("@mui/icons-material/ChevronRight"));
|
|
10359
|
-
var
|
|
10498
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
10360
10499
|
var STATUS_CONFIG = {
|
|
10361
10500
|
new: { label: "N", color: "success.main" },
|
|
10362
10501
|
modified: { label: "M", color: "warning.main" },
|
|
@@ -10405,7 +10544,7 @@ var CodeEditorFileTree = ({
|
|
|
10405
10544
|
const isExpanded = expandedPaths.has(node.path);
|
|
10406
10545
|
const isSelected = node.path === selectedPath;
|
|
10407
10546
|
if (renderNode) {
|
|
10408
|
-
return /* @__PURE__ */ (0,
|
|
10547
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_react45.default.Fragment, { children: [
|
|
10409
10548
|
renderNode({
|
|
10410
10549
|
node,
|
|
10411
10550
|
depth,
|
|
@@ -10423,8 +10562,8 @@ var CodeEditorFileTree = ({
|
|
|
10423
10562
|
isFolder && isExpanded && node.children?.map((child) => renderTreeNode(child, depth + 1))
|
|
10424
10563
|
] }, node.path);
|
|
10425
10564
|
}
|
|
10426
|
-
return /* @__PURE__ */ (0,
|
|
10427
|
-
/* @__PURE__ */ (0,
|
|
10565
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_react45.default.Fragment, { children: [
|
|
10566
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
|
|
10428
10567
|
import_material77.ListItemButton,
|
|
10429
10568
|
{
|
|
10430
10569
|
selected: isSelected,
|
|
@@ -10445,9 +10584,9 @@ var CodeEditorFileTree = ({
|
|
|
10445
10584
|
}
|
|
10446
10585
|
},
|
|
10447
10586
|
children: [
|
|
10448
|
-
isFolder && /* @__PURE__ */ (0,
|
|
10449
|
-
/* @__PURE__ */ (0,
|
|
10450
|
-
/* @__PURE__ */ (0,
|
|
10587
|
+
isFolder && /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_material77.ListItemIcon, { sx: { minWidth: 20 }, children: isExpanded ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_ExpandMore4.default, { sx: { fontSize: 16 } }) : /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_ChevronRight6.default, { sx: { fontSize: 16 } }) }),
|
|
10588
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_material77.ListItemIcon, { sx: { minWidth: 24 }, children: node.icon ?? (isFolder ? isExpanded ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_FolderOpen.default, { sx: { fontSize: 16, color: "warning.main" } }) : /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_Folder.default, { sx: { fontSize: 16, color: "warning.main" } }) : /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_InsertDriveFileOutlined.default, { sx: { fontSize: 16, color: "text.secondary" } })) }),
|
|
10589
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
10451
10590
|
import_material77.ListItemText,
|
|
10452
10591
|
{
|
|
10453
10592
|
primary: node.name,
|
|
@@ -10468,7 +10607,7 @@ var CodeEditorFileTree = ({
|
|
|
10468
10607
|
const effectiveStatus = isFolder ? computeFolderStatus(node) : node.status;
|
|
10469
10608
|
if (!effectiveStatus) return null;
|
|
10470
10609
|
const cfg = STATUS_CONFIG[effectiveStatus];
|
|
10471
|
-
return /* @__PURE__ */ (0,
|
|
10610
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
10472
10611
|
import_material77.Box,
|
|
10473
10612
|
{
|
|
10474
10613
|
component: "span",
|
|
@@ -10488,10 +10627,10 @@ var CodeEditorFileTree = ({
|
|
|
10488
10627
|
]
|
|
10489
10628
|
}
|
|
10490
10629
|
),
|
|
10491
|
-
isFolder && /* @__PURE__ */ (0,
|
|
10630
|
+
isFolder && /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_material77.Collapse, { in: isExpanded, timeout: "auto", unmountOnExit: true, children: node.children?.map((child) => renderTreeNode(child, depth + 1)) })
|
|
10492
10631
|
] }, node.path);
|
|
10493
10632
|
};
|
|
10494
|
-
return /* @__PURE__ */ (0,
|
|
10633
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
10495
10634
|
import_material77.Box,
|
|
10496
10635
|
{
|
|
10497
10636
|
sx: {
|
|
@@ -10504,14 +10643,14 @@ var CodeEditorFileTree = ({
|
|
|
10504
10643
|
bgcolor: "background.default"
|
|
10505
10644
|
},
|
|
10506
10645
|
...containerProps,
|
|
10507
|
-
children: /* @__PURE__ */ (0,
|
|
10646
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_material77.List, { dense: true, disablePadding: true, children: tree.map((node) => renderTreeNode(node, 0)) })
|
|
10508
10647
|
}
|
|
10509
10648
|
);
|
|
10510
10649
|
};
|
|
10511
10650
|
|
|
10512
10651
|
// src/components/third-party/CodeEditorWorkspace/CodeEditorStatusBar.tsx
|
|
10513
10652
|
var import_material78 = require("@mui/material");
|
|
10514
|
-
var
|
|
10653
|
+
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
10515
10654
|
var LANGUAGE_LABELS = {
|
|
10516
10655
|
typescript: "TypeScript",
|
|
10517
10656
|
javascript: "JavaScript",
|
|
@@ -10535,11 +10674,11 @@ var CodeEditorStatusBar = ({
|
|
|
10535
10674
|
containerProps
|
|
10536
10675
|
}) => {
|
|
10537
10676
|
if (renderStatusBar) {
|
|
10538
|
-
return /* @__PURE__ */ (0,
|
|
10677
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_jsx_runtime109.Fragment, { children: renderStatusBar({ gitInfo, language, cursorPosition, items }) });
|
|
10539
10678
|
}
|
|
10540
10679
|
const leftItems = items?.filter((i) => i.align !== "right") ?? [];
|
|
10541
10680
|
const rightItems = items?.filter((i) => i.align === "right") ?? [];
|
|
10542
|
-
return /* @__PURE__ */ (0,
|
|
10681
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(
|
|
10543
10682
|
import_material78.Box,
|
|
10544
10683
|
{
|
|
10545
10684
|
sx: {
|
|
@@ -10560,8 +10699,8 @@ var CodeEditorStatusBar = ({
|
|
|
10560
10699
|
},
|
|
10561
10700
|
...containerProps,
|
|
10562
10701
|
children: [
|
|
10563
|
-
/* @__PURE__ */ (0,
|
|
10564
|
-
gitInfo && /* @__PURE__ */ (0,
|
|
10702
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_material78.Box, { sx: { display: "flex", alignItems: "center", gap: 1.5, overflow: "hidden" }, children: [
|
|
10703
|
+
gitInfo && /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
10565
10704
|
import_material78.Tooltip,
|
|
10566
10705
|
{
|
|
10567
10706
|
title: [
|
|
@@ -10571,7 +10710,7 @@ var CodeEditorStatusBar = ({
|
|
|
10571
10710
|
gitInfo.behind != null && `\u2193 ${gitInfo.behind} behind`
|
|
10572
10711
|
].filter(Boolean).join(" \xB7 ") || gitInfo.branch,
|
|
10573
10712
|
enterDelay: 400,
|
|
10574
|
-
children: /* @__PURE__ */ (0,
|
|
10713
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(
|
|
10575
10714
|
import_material78.Box,
|
|
10576
10715
|
{
|
|
10577
10716
|
onClick: onBranchClick,
|
|
@@ -10584,7 +10723,7 @@ var CodeEditorStatusBar = ({
|
|
|
10584
10723
|
"&:hover": onBranchClick ? { opacity: 0.8 } : void 0
|
|
10585
10724
|
},
|
|
10586
10725
|
children: [
|
|
10587
|
-
/* @__PURE__ */ (0,
|
|
10726
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
10588
10727
|
"svg",
|
|
10589
10728
|
{
|
|
10590
10729
|
width: "14",
|
|
@@ -10592,7 +10731,7 @@ var CodeEditorStatusBar = ({
|
|
|
10592
10731
|
viewBox: "0 0 16 16",
|
|
10593
10732
|
fill: "currentColor",
|
|
10594
10733
|
style: { flexShrink: 0 },
|
|
10595
|
-
children: /* @__PURE__ */ (0,
|
|
10734
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
10596
10735
|
"path",
|
|
10597
10736
|
{
|
|
10598
10737
|
fillRule: "evenodd",
|
|
@@ -10601,7 +10740,7 @@ var CodeEditorStatusBar = ({
|
|
|
10601
10740
|
)
|
|
10602
10741
|
}
|
|
10603
10742
|
),
|
|
10604
|
-
/* @__PURE__ */ (0,
|
|
10743
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
10605
10744
|
import_material78.Typography,
|
|
10606
10745
|
{
|
|
10607
10746
|
variant: "caption",
|
|
@@ -10618,7 +10757,7 @@ var CodeEditorStatusBar = ({
|
|
|
10618
10757
|
children: gitInfo.branch
|
|
10619
10758
|
}
|
|
10620
10759
|
),
|
|
10621
|
-
gitInfo.isDirty && /* @__PURE__ */ (0,
|
|
10760
|
+
gitInfo.isDirty && /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
10622
10761
|
import_material78.Box,
|
|
10623
10762
|
{
|
|
10624
10763
|
component: "span",
|
|
@@ -10631,11 +10770,11 @@ var CodeEditorStatusBar = ({
|
|
|
10631
10770
|
}
|
|
10632
10771
|
}
|
|
10633
10772
|
),
|
|
10634
|
-
gitInfo.ahead != null && gitInfo.ahead > 0 && /* @__PURE__ */ (0,
|
|
10773
|
+
gitInfo.ahead != null && gitInfo.ahead > 0 && /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_material78.Typography, { variant: "caption", sx: { fontSize: "inherit", fontFamily: "inherit", color: "inherit", lineHeight: 1, opacity: 0.85 }, children: [
|
|
10635
10774
|
"\u2191",
|
|
10636
10775
|
gitInfo.ahead
|
|
10637
10776
|
] }),
|
|
10638
|
-
gitInfo.behind != null && gitInfo.behind > 0 && /* @__PURE__ */ (0,
|
|
10777
|
+
gitInfo.behind != null && gitInfo.behind > 0 && /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_material78.Typography, { variant: "caption", sx: { fontSize: "inherit", fontFamily: "inherit", color: "inherit", lineHeight: 1, opacity: 0.85 }, children: [
|
|
10639
10778
|
"\u2193",
|
|
10640
10779
|
gitInfo.behind
|
|
10641
10780
|
] })
|
|
@@ -10644,11 +10783,11 @@ var CodeEditorStatusBar = ({
|
|
|
10644
10783
|
)
|
|
10645
10784
|
}
|
|
10646
10785
|
),
|
|
10647
|
-
leftItems.map((item) => /* @__PURE__ */ (0,
|
|
10786
|
+
leftItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(StatusBarItemElement, { item }, item.id))
|
|
10648
10787
|
] }),
|
|
10649
|
-
/* @__PURE__ */ (0,
|
|
10650
|
-
rightItems.map((item) => /* @__PURE__ */ (0,
|
|
10651
|
-
cursorPosition && /* @__PURE__ */ (0,
|
|
10788
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_material78.Box, { sx: { display: "flex", alignItems: "center", gap: 1.5, overflow: "hidden" }, children: [
|
|
10789
|
+
rightItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(StatusBarItemElement, { item }, item.id)),
|
|
10790
|
+
cursorPosition && /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(
|
|
10652
10791
|
import_material78.Typography,
|
|
10653
10792
|
{
|
|
10654
10793
|
variant: "caption",
|
|
@@ -10661,7 +10800,7 @@ var CodeEditorStatusBar = ({
|
|
|
10661
10800
|
]
|
|
10662
10801
|
}
|
|
10663
10802
|
),
|
|
10664
|
-
language && /* @__PURE__ */ (0,
|
|
10803
|
+
language && /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
10665
10804
|
import_material78.Typography,
|
|
10666
10805
|
{
|
|
10667
10806
|
variant: "caption",
|
|
@@ -10675,7 +10814,7 @@ var CodeEditorStatusBar = ({
|
|
|
10675
10814
|
);
|
|
10676
10815
|
};
|
|
10677
10816
|
var StatusBarItemElement = ({ item }) => {
|
|
10678
|
-
const inner = /* @__PURE__ */ (0,
|
|
10817
|
+
const inner = /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
10679
10818
|
import_material78.Box,
|
|
10680
10819
|
{
|
|
10681
10820
|
onClick: item.onClick,
|
|
@@ -10687,7 +10826,7 @@ var StatusBarItemElement = ({ item }) => {
|
|
|
10687
10826
|
whiteSpace: "nowrap",
|
|
10688
10827
|
"&:hover": item.onClick ? { opacity: 0.8 } : void 0
|
|
10689
10828
|
},
|
|
10690
|
-
children: typeof item.content === "string" ? /* @__PURE__ */ (0,
|
|
10829
|
+
children: typeof item.content === "string" ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
10691
10830
|
import_material78.Typography,
|
|
10692
10831
|
{
|
|
10693
10832
|
variant: "caption",
|
|
@@ -10698,20 +10837,20 @@ var StatusBarItemElement = ({ item }) => {
|
|
|
10698
10837
|
}
|
|
10699
10838
|
);
|
|
10700
10839
|
if (item.tooltip) {
|
|
10701
|
-
return /* @__PURE__ */ (0,
|
|
10840
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_material78.Tooltip, { title: item.tooltip, enterDelay: 400, children: inner });
|
|
10702
10841
|
}
|
|
10703
10842
|
return inner;
|
|
10704
10843
|
};
|
|
10705
10844
|
|
|
10706
10845
|
// src/components/third-party/CodeEditorWorkspace/CodeEditorWelcomeScreen.tsx
|
|
10707
10846
|
var import_material79 = require("@mui/material");
|
|
10708
|
-
var
|
|
10847
|
+
var import_jsx_runtime110 = require("react/jsx-runtime");
|
|
10709
10848
|
var CodeEditorWelcomeScreen = ({
|
|
10710
10849
|
logo,
|
|
10711
10850
|
children,
|
|
10712
10851
|
containerProps
|
|
10713
10852
|
}) => {
|
|
10714
|
-
const defaultLogo = /* @__PURE__ */ (0,
|
|
10853
|
+
const defaultLogo = /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
10715
10854
|
CereIcon,
|
|
10716
10855
|
{
|
|
10717
10856
|
sx: {
|
|
@@ -10721,7 +10860,7 @@ var CodeEditorWelcomeScreen = ({
|
|
|
10721
10860
|
}
|
|
10722
10861
|
}
|
|
10723
10862
|
);
|
|
10724
|
-
return /* @__PURE__ */ (0,
|
|
10863
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(
|
|
10725
10864
|
import_material79.Box,
|
|
10726
10865
|
{
|
|
10727
10866
|
sx: {
|
|
@@ -10737,7 +10876,7 @@ var CodeEditorWelcomeScreen = ({
|
|
|
10737
10876
|
...containerProps,
|
|
10738
10877
|
children: [
|
|
10739
10878
|
logo !== void 0 ? logo : defaultLogo,
|
|
10740
|
-
children && /* @__PURE__ */ (0,
|
|
10879
|
+
children && /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
10741
10880
|
import_material79.Box,
|
|
10742
10881
|
{
|
|
10743
10882
|
sx: {
|
|
@@ -10757,7 +10896,7 @@ var CodeEditorWelcomeScreen = ({
|
|
|
10757
10896
|
// src/components/third-party/CodeEditorWorkspace/CodeEditorWorkspace.tsx
|
|
10758
10897
|
var import_react46 = __toESM(require("react"));
|
|
10759
10898
|
var import_material80 = require("@mui/material");
|
|
10760
|
-
var
|
|
10899
|
+
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
10761
10900
|
var CodeEditorWorkspace = ({
|
|
10762
10901
|
files,
|
|
10763
10902
|
initialOpenPaths,
|
|
@@ -10822,7 +10961,7 @@ var CodeEditorWorkspace = ({
|
|
|
10822
10961
|
onTabSelect: workspace.setActiveFile,
|
|
10823
10962
|
onTabClose: workspace.closeFile
|
|
10824
10963
|
};
|
|
10825
|
-
const tabsElement = showTabs ? renderTabs ? renderTabs({ ...tabsProps, workspace }) : /* @__PURE__ */ (0,
|
|
10964
|
+
const tabsElement = showTabs ? renderTabs ? renderTabs({ ...tabsProps, workspace }) : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(CodeEditorTabs, { ...tabsProps }) : null;
|
|
10826
10965
|
const fileTreeProps = {
|
|
10827
10966
|
tree: fileTree ?? [],
|
|
10828
10967
|
selectedPath: workspace.activeFilePath,
|
|
@@ -10830,7 +10969,7 @@ var CodeEditorWorkspace = ({
|
|
|
10830
10969
|
defaultExpandedPaths,
|
|
10831
10970
|
width: fileTreeWidth
|
|
10832
10971
|
};
|
|
10833
|
-
const fileTreeElement = hasFileTree ? renderFileTree ? renderFileTree({ ...fileTreeProps, workspace }) : /* @__PURE__ */ (0,
|
|
10972
|
+
const fileTreeElement = hasFileTree ? renderFileTree ? renderFileTree({ ...fileTreeProps, workspace }) : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(CodeEditorFileTree, { ...fileTreeProps }) : null;
|
|
10834
10973
|
const statusBarProps = {
|
|
10835
10974
|
gitInfo,
|
|
10836
10975
|
language: workspace.activeFile?.language,
|
|
@@ -10838,9 +10977,9 @@ var CodeEditorWorkspace = ({
|
|
|
10838
10977
|
items: statusBarItems,
|
|
10839
10978
|
onBranchClick
|
|
10840
10979
|
};
|
|
10841
|
-
const statusBarElement = showStatusBar ? renderStatusBar ? renderStatusBar({ ...statusBarProps, workspace }) : /* @__PURE__ */ (0,
|
|
10842
|
-
const welcomeElement = renderWelcomeScreen ? renderWelcomeScreen(workspace) : welcomeScreen !== void 0 ? welcomeScreen : /* @__PURE__ */ (0,
|
|
10843
|
-
const editorElement = renderEditor ? renderEditor(workspace) : workspace.activeFile ? /* @__PURE__ */ (0,
|
|
10980
|
+
const statusBarElement = showStatusBar ? renderStatusBar ? renderStatusBar({ ...statusBarProps, workspace }) : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(CodeEditorStatusBar, { ...statusBarProps }) : null;
|
|
10981
|
+
const welcomeElement = renderWelcomeScreen ? renderWelcomeScreen(workspace) : welcomeScreen !== void 0 ? welcomeScreen : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(CodeEditorWelcomeScreen, { ...welcomeScreenProps });
|
|
10982
|
+
const editorElement = renderEditor ? renderEditor(workspace) : workspace.activeFile ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10844
10983
|
CodeEditor,
|
|
10845
10984
|
{
|
|
10846
10985
|
value: workspace.activeFile.value,
|
|
@@ -10859,7 +10998,7 @@ var CodeEditorWorkspace = ({
|
|
|
10859
10998
|
...editorProps
|
|
10860
10999
|
}
|
|
10861
11000
|
) : welcomeElement;
|
|
10862
|
-
return /* @__PURE__ */ (0,
|
|
11001
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(
|
|
10863
11002
|
import_material80.Box,
|
|
10864
11003
|
{
|
|
10865
11004
|
sx: {
|
|
@@ -10874,9 +11013,9 @@ var CodeEditorWorkspace = ({
|
|
|
10874
11013
|
...containerProps,
|
|
10875
11014
|
children: [
|
|
10876
11015
|
fileTreeElement,
|
|
10877
|
-
/* @__PURE__ */ (0,
|
|
11016
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_material80.Box, { sx: { flex: 1, display: "flex", flexDirection: "column", minWidth: 0, overflow: "hidden" }, children: [
|
|
10878
11017
|
tabsElement,
|
|
10879
|
-
/* @__PURE__ */ (0,
|
|
11018
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_material80.Box, { sx: { flex: 1, overflow: "hidden" }, children: editorElement }),
|
|
10880
11019
|
statusBarElement
|
|
10881
11020
|
] })
|
|
10882
11021
|
]
|
|
@@ -10952,7 +11091,9 @@ var CodeEditorWorkspace = ({
|
|
|
10952
11091
|
FormControlLabel,
|
|
10953
11092
|
FormHelperText,
|
|
10954
11093
|
FormLabel,
|
|
11094
|
+
GRADIENT_PALETTE_COUNT,
|
|
10955
11095
|
GithubLogoIcon,
|
|
11096
|
+
GradientSurface,
|
|
10956
11097
|
Grid,
|
|
10957
11098
|
IDBlock,
|
|
10958
11099
|
IconButton,
|
|
@@ -10991,6 +11132,7 @@ var CodeEditorWorkspace = ({
|
|
|
10991
11132
|
RoleBadge,
|
|
10992
11133
|
ScrollableRow,
|
|
10993
11134
|
SearchField,
|
|
11135
|
+
SectionRow,
|
|
10994
11136
|
Selector,
|
|
10995
11137
|
ServiceSelectorButton,
|
|
10996
11138
|
ShareIcon,
|