@cere/cere-design-system 0.0.38 → 0.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +47 -2
- package/dist/index.d.ts +47 -2
- package/dist/index.js +645 -515
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +729 -602
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.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,
|
|
@@ -5993,15 +5996,52 @@ var ScrollableRow = ({
|
|
|
5993
5996
|
] });
|
|
5994
5997
|
};
|
|
5995
5998
|
|
|
5999
|
+
// src/components/layout/SectionRow.tsx
|
|
6000
|
+
var import_Box6 = __toESM(require("@mui/material/Box"));
|
|
6001
|
+
var import_Typography4 = __toESM(require("@mui/material/Typography"));
|
|
6002
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
6003
|
+
function SectionRow({
|
|
6004
|
+
title,
|
|
6005
|
+
subtitle,
|
|
6006
|
+
action,
|
|
6007
|
+
leftLabel,
|
|
6008
|
+
rightLabel,
|
|
6009
|
+
children
|
|
6010
|
+
}) {
|
|
6011
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_Box6.default, { component: "section", sx: { mb: 4 }, children: [
|
|
6012
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
6013
|
+
import_Box6.default,
|
|
6014
|
+
{
|
|
6015
|
+
component: "header",
|
|
6016
|
+
sx: {
|
|
6017
|
+
display: "flex",
|
|
6018
|
+
alignItems: "flex-end",
|
|
6019
|
+
justifyContent: "space-between",
|
|
6020
|
+
gap: 1.5,
|
|
6021
|
+
mb: 1.5
|
|
6022
|
+
},
|
|
6023
|
+
children: [
|
|
6024
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_Box6.default, { sx: { minWidth: 0 }, children: [
|
|
6025
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_Typography4.default, { component: "h2", variant: "h6", sx: { m: 0 }, children: title }),
|
|
6026
|
+
subtitle && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_Typography4.default, { variant: "caption", sx: { color: "text.secondary" }, children: subtitle })
|
|
6027
|
+
] }),
|
|
6028
|
+
action && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_Box6.default, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: action })
|
|
6029
|
+
]
|
|
6030
|
+
}
|
|
6031
|
+
),
|
|
6032
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ScrollableRow, { leftLabel, rightLabel, children })
|
|
6033
|
+
] });
|
|
6034
|
+
}
|
|
6035
|
+
|
|
5996
6036
|
// src/components/layout/Carousel.tsx
|
|
5997
6037
|
var import_react19 = require("react");
|
|
5998
|
-
var
|
|
6038
|
+
var import_Box7 = __toESM(require("@mui/material/Box"));
|
|
5999
6039
|
var import_IconButton6 = __toESM(require("@mui/material/IconButton"));
|
|
6000
|
-
var
|
|
6040
|
+
var import_Typography5 = __toESM(require("@mui/material/Typography"));
|
|
6001
6041
|
var import_ChevronLeft3 = __toESM(require("@mui/icons-material/ChevronLeft"));
|
|
6002
6042
|
var import_ChevronRight3 = __toESM(require("@mui/icons-material/ChevronRight"));
|
|
6003
6043
|
var import_embla_carousel_react = __toESM(require("embla-carousel-react"));
|
|
6004
|
-
var
|
|
6044
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
6005
6045
|
var pad2 = (n) => String(n).padStart(2, "0");
|
|
6006
6046
|
function Carousel({
|
|
6007
6047
|
slides,
|
|
@@ -6053,8 +6093,8 @@ function Carousel({
|
|
|
6053
6093
|
boxShadow: 1,
|
|
6054
6094
|
"&:hover": { bgcolor: "background.paper" }
|
|
6055
6095
|
};
|
|
6056
|
-
return /* @__PURE__ */ (0,
|
|
6057
|
-
|
|
6096
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
6097
|
+
import_Box7.default,
|
|
6058
6098
|
{
|
|
6059
6099
|
role: "region",
|
|
6060
6100
|
"aria-roledescription": "carousel",
|
|
@@ -6063,8 +6103,8 @@ function Carousel({
|
|
|
6063
6103
|
onPointerLeave: pauseOnHover ? () => setPaused(false) : void 0,
|
|
6064
6104
|
sx: { position: "relative", width: "100%" },
|
|
6065
6105
|
children: [
|
|
6066
|
-
/* @__PURE__ */ (0,
|
|
6067
|
-
|
|
6106
|
+
/* @__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)(
|
|
6107
|
+
import_Box7.default,
|
|
6068
6108
|
{
|
|
6069
6109
|
role: "group",
|
|
6070
6110
|
"aria-roledescription": "slide",
|
|
@@ -6074,28 +6114,28 @@ function Carousel({
|
|
|
6074
6114
|
},
|
|
6075
6115
|
getKey ? getKey(item, i) : i
|
|
6076
6116
|
)) }) }),
|
|
6077
|
-
showControls && showArrows && /* @__PURE__ */ (0,
|
|
6078
|
-
/* @__PURE__ */ (0,
|
|
6117
|
+
showControls && showArrows && /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_jsx_runtime52.Fragment, { children: [
|
|
6118
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6079
6119
|
import_IconButton6.default,
|
|
6080
6120
|
{
|
|
6081
6121
|
"aria-label": "Previous slide",
|
|
6082
6122
|
onClick: () => emblaApi?.scrollPrev(),
|
|
6083
6123
|
sx: [arrowBaseSx, { left: 8 }, ...Array.isArray(arrowSx) ? arrowSx : [arrowSx]],
|
|
6084
|
-
children: /* @__PURE__ */ (0,
|
|
6124
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_ChevronLeft3.default, {})
|
|
6085
6125
|
}
|
|
6086
6126
|
),
|
|
6087
|
-
/* @__PURE__ */ (0,
|
|
6127
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6088
6128
|
import_IconButton6.default,
|
|
6089
6129
|
{
|
|
6090
6130
|
"aria-label": "Next slide",
|
|
6091
6131
|
onClick: () => emblaApi?.scrollNext(),
|
|
6092
6132
|
sx: [arrowBaseSx, { right: 8 }, ...Array.isArray(arrowSx) ? arrowSx : [arrowSx]],
|
|
6093
|
-
children: /* @__PURE__ */ (0,
|
|
6133
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_ChevronRight3.default, {})
|
|
6094
6134
|
}
|
|
6095
6135
|
)
|
|
6096
6136
|
] }),
|
|
6097
|
-
showControls && showCounter && /* @__PURE__ */ (0,
|
|
6098
|
-
|
|
6137
|
+
showControls && showCounter && /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
6138
|
+
import_Typography5.default,
|
|
6099
6139
|
{
|
|
6100
6140
|
variant: "caption",
|
|
6101
6141
|
sx: {
|
|
@@ -6116,8 +6156,8 @@ function Carousel({
|
|
|
6116
6156
|
]
|
|
6117
6157
|
}
|
|
6118
6158
|
),
|
|
6119
|
-
showControls && showDots && /* @__PURE__ */ (0,
|
|
6120
|
-
|
|
6159
|
+
showControls && showDots && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6160
|
+
import_Box7.default,
|
|
6121
6161
|
{
|
|
6122
6162
|
role: "tablist",
|
|
6123
6163
|
"aria-label": "Carousel slides",
|
|
@@ -6130,8 +6170,8 @@ function Carousel({
|
|
|
6130
6170
|
justifyContent: "center",
|
|
6131
6171
|
gap: 1
|
|
6132
6172
|
},
|
|
6133
|
-
children: slides.map((item, i) => /* @__PURE__ */ (0,
|
|
6134
|
-
|
|
6173
|
+
children: slides.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6174
|
+
import_Box7.default,
|
|
6135
6175
|
{
|
|
6136
6176
|
component: "button",
|
|
6137
6177
|
role: "tab",
|
|
@@ -6159,10 +6199,66 @@ function Carousel({
|
|
|
6159
6199
|
);
|
|
6160
6200
|
}
|
|
6161
6201
|
|
|
6202
|
+
// src/components/layout/GradientSurface.tsx
|
|
6203
|
+
var import_Box8 = __toESM(require("@mui/material/Box"));
|
|
6204
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
6205
|
+
var PALETTES = [
|
|
6206
|
+
{ base: "linear-gradient(115deg, #0d0627 0%, #23194b 55%, #8B00EC 130%)", blobA: "#BD32A7", blobB: "#8B00EC" },
|
|
6207
|
+
{ base: "linear-gradient(115deg, #2a1635 0%, #5b2a55 55%, #c75a8a 130%)", blobA: "#ff7ea8", blobB: "#ffd1a8" },
|
|
6208
|
+
{ base: "linear-gradient(115deg, #0e2a2c 0%, #1d5d63 55%, #59c6c4 130%)", blobA: "#59c6c4", blobB: "#2bb0a0" },
|
|
6209
|
+
{ base: "linear-gradient(115deg, #131534 0%, #2c3a8c 55%, #6088e8 130%)", blobA: "#6088e8", blobB: "#3b5db8" },
|
|
6210
|
+
{ base: "linear-gradient(115deg, #1a0f30 0%, #3d2a78 55%, #8a5cf6 130%)", blobA: "#a892ff", blobB: "#6b4cf0" },
|
|
6211
|
+
{ base: "linear-gradient(115deg, #2b1124 0%, #6d2244 55%, #d44a7a 130%)", blobA: "#d44a7a", blobB: "#a8345e" }
|
|
6212
|
+
];
|
|
6213
|
+
var GRADIENT_PALETTE_COUNT = PALETTES.length;
|
|
6214
|
+
function GradientSurface({ index, children, sx }) {
|
|
6215
|
+
const wrapped = (index % GRADIENT_PALETTE_COUNT + GRADIENT_PALETTE_COUNT) % GRADIENT_PALETTE_COUNT;
|
|
6216
|
+
const palette = PALETTES[wrapped];
|
|
6217
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
6218
|
+
import_Box8.default,
|
|
6219
|
+
{
|
|
6220
|
+
"data-gradient-index": wrapped,
|
|
6221
|
+
sx: [
|
|
6222
|
+
{
|
|
6223
|
+
position: "relative",
|
|
6224
|
+
overflow: "hidden",
|
|
6225
|
+
background: palette.base,
|
|
6226
|
+
color: "common.white",
|
|
6227
|
+
"&::before, &::after": {
|
|
6228
|
+
content: '""',
|
|
6229
|
+
position: "absolute",
|
|
6230
|
+
pointerEvents: "none",
|
|
6231
|
+
borderRadius: "50%",
|
|
6232
|
+
filter: "blur(6px)"
|
|
6233
|
+
},
|
|
6234
|
+
"&::before": {
|
|
6235
|
+
width: 460,
|
|
6236
|
+
height: 460,
|
|
6237
|
+
top: -120,
|
|
6238
|
+
right: -120,
|
|
6239
|
+
opacity: 0.7,
|
|
6240
|
+
background: `radial-gradient(circle, ${palette.blobA} 0%, transparent 70%)`
|
|
6241
|
+
},
|
|
6242
|
+
"&::after": {
|
|
6243
|
+
width: 520,
|
|
6244
|
+
height: 520,
|
|
6245
|
+
bottom: -180,
|
|
6246
|
+
left: -160,
|
|
6247
|
+
opacity: 0.55,
|
|
6248
|
+
background: `radial-gradient(circle, ${palette.blobB} 0%, transparent 70%)`
|
|
6249
|
+
}
|
|
6250
|
+
},
|
|
6251
|
+
...Array.isArray(sx) ? sx : [sx]
|
|
6252
|
+
],
|
|
6253
|
+
children
|
|
6254
|
+
}
|
|
6255
|
+
);
|
|
6256
|
+
}
|
|
6257
|
+
|
|
6162
6258
|
// src/components/layout/DefinitionRow.tsx
|
|
6163
|
-
var
|
|
6164
|
-
var
|
|
6165
|
-
var
|
|
6259
|
+
var import_Box9 = __toESM(require("@mui/material/Box"));
|
|
6260
|
+
var import_Typography6 = __toESM(require("@mui/material/Typography"));
|
|
6261
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
6166
6262
|
function DefinitionRow({
|
|
6167
6263
|
icon,
|
|
6168
6264
|
label,
|
|
@@ -6172,8 +6268,8 @@ function DefinitionRow({
|
|
|
6172
6268
|
dense = false,
|
|
6173
6269
|
divider = true
|
|
6174
6270
|
}) {
|
|
6175
|
-
return /* @__PURE__ */ (0,
|
|
6176
|
-
|
|
6271
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
6272
|
+
import_Box9.default,
|
|
6177
6273
|
{
|
|
6178
6274
|
"data-density": dense ? "dense" : "normal",
|
|
6179
6275
|
sx: {
|
|
@@ -6188,13 +6284,13 @@ function DefinitionRow({
|
|
|
6188
6284
|
}
|
|
6189
6285
|
},
|
|
6190
6286
|
children: [
|
|
6191
|
-
icon && /* @__PURE__ */ (0,
|
|
6192
|
-
/* @__PURE__ */ (0,
|
|
6193
|
-
/* @__PURE__ */ (0,
|
|
6194
|
-
sublabel && /* @__PURE__ */ (0,
|
|
6287
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_Box9.default, { sx: { display: "flex", alignItems: "center", color: "text.secondary" }, children: icon }),
|
|
6288
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_Box9.default, { sx: { minWidth: 0, flex: 1 }, children: [
|
|
6289
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_Typography6.default, { variant: "body2", sx: { fontWeight: 500, lineHeight: 1.2 }, children: label }),
|
|
6290
|
+
sublabel && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_Typography6.default, { variant: "caption", sx: { color: "text.secondary" }, children: sublabel })
|
|
6195
6291
|
] }),
|
|
6196
|
-
(value || hint) && /* @__PURE__ */ (0,
|
|
6197
|
-
|
|
6292
|
+
(value || hint) && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
6293
|
+
import_Box9.default,
|
|
6198
6294
|
{
|
|
6199
6295
|
sx: {
|
|
6200
6296
|
display: "flex",
|
|
@@ -6203,8 +6299,8 @@ function DefinitionRow({
|
|
|
6203
6299
|
textAlign: "right"
|
|
6204
6300
|
},
|
|
6205
6301
|
children: [
|
|
6206
|
-
value && /* @__PURE__ */ (0,
|
|
6207
|
-
hint && /* @__PURE__ */ (0,
|
|
6302
|
+
value && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_Typography6.default, { variant: "body2", sx: { color: "text.secondary" }, children: value }),
|
|
6303
|
+
hint && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_Typography6.default, { variant: "caption", sx: { color: "text.disabled" }, children: hint })
|
|
6208
6304
|
]
|
|
6209
6305
|
}
|
|
6210
6306
|
)
|
|
@@ -6217,11 +6313,11 @@ function DefinitionRow({
|
|
|
6217
6313
|
var import_react20 = require("react");
|
|
6218
6314
|
var import_Dialog = __toESM(require("@mui/material/Dialog"));
|
|
6219
6315
|
var import_IconButton7 = __toESM(require("@mui/material/IconButton"));
|
|
6220
|
-
var
|
|
6221
|
-
var
|
|
6316
|
+
var import_Box10 = __toESM(require("@mui/material/Box"));
|
|
6317
|
+
var import_Typography7 = __toESM(require("@mui/material/Typography"));
|
|
6222
6318
|
var import_Slide = __toESM(require("@mui/material/Slide"));
|
|
6223
6319
|
var import_Close3 = __toESM(require("@mui/icons-material/Close"));
|
|
6224
|
-
var
|
|
6320
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
6225
6321
|
var WIDTH_PX = {
|
|
6226
6322
|
sm: 420,
|
|
6227
6323
|
md: 640,
|
|
@@ -6230,12 +6326,12 @@ var WIDTH_PX = {
|
|
|
6230
6326
|
};
|
|
6231
6327
|
var SlideLeft = (0, import_react20.forwardRef)(
|
|
6232
6328
|
function SlideLeft2(props, ref) {
|
|
6233
|
-
return /* @__PURE__ */ (0,
|
|
6329
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_Slide.default, { direction: "left", ref, ...props });
|
|
6234
6330
|
}
|
|
6235
6331
|
);
|
|
6236
6332
|
var SlideUp = (0, import_react20.forwardRef)(
|
|
6237
6333
|
function SlideUp2(props, ref) {
|
|
6238
|
-
return /* @__PURE__ */ (0,
|
|
6334
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_Slide.default, { direction: "up", ref, ...props });
|
|
6239
6335
|
}
|
|
6240
6336
|
);
|
|
6241
6337
|
function PanelDialog({
|
|
@@ -6270,7 +6366,7 @@ function PanelDialog({
|
|
|
6270
6366
|
borderRadius: 0
|
|
6271
6367
|
}
|
|
6272
6368
|
};
|
|
6273
|
-
return /* @__PURE__ */ (0,
|
|
6369
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
6274
6370
|
import_Dialog.default,
|
|
6275
6371
|
{
|
|
6276
6372
|
open,
|
|
@@ -6284,8 +6380,8 @@ function PanelDialog({
|
|
|
6284
6380
|
...backdropSx ? { backdrop: { sx: backdropSx } } : {}
|
|
6285
6381
|
},
|
|
6286
6382
|
children: [
|
|
6287
|
-
!hideHeader && /* @__PURE__ */ (0,
|
|
6288
|
-
|
|
6383
|
+
!hideHeader && /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
6384
|
+
import_Box10.default,
|
|
6289
6385
|
{
|
|
6290
6386
|
sx: {
|
|
6291
6387
|
display: "flex",
|
|
@@ -6298,15 +6394,15 @@ function PanelDialog({
|
|
|
6298
6394
|
borderColor: "divider"
|
|
6299
6395
|
},
|
|
6300
6396
|
children: [
|
|
6301
|
-
/* @__PURE__ */ (0,
|
|
6302
|
-
/* @__PURE__ */ (0,
|
|
6397
|
+
/* @__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 }),
|
|
6398
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_Box10.default, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
6303
6399
|
headerActions,
|
|
6304
|
-
/* @__PURE__ */ (0,
|
|
6400
|
+
/* @__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
6401
|
] })
|
|
6306
6402
|
]
|
|
6307
6403
|
}
|
|
6308
6404
|
),
|
|
6309
|
-
hideHeader && /* @__PURE__ */ (0,
|
|
6405
|
+
hideHeader && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
6310
6406
|
import_IconButton7.default,
|
|
6311
6407
|
{
|
|
6312
6408
|
"aria-label": "Close",
|
|
@@ -6321,10 +6417,10 @@ function PanelDialog({
|
|
|
6321
6417
|
boxShadow: 1,
|
|
6322
6418
|
"&:hover": { bgcolor: "background.paper" }
|
|
6323
6419
|
},
|
|
6324
|
-
children: /* @__PURE__ */ (0,
|
|
6420
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_Close3.default, { fontSize: "small" })
|
|
6325
6421
|
}
|
|
6326
6422
|
),
|
|
6327
|
-
/* @__PURE__ */ (0,
|
|
6423
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_Box10.default, { sx: { flex: 1, overflow: "auto", minHeight: 0 }, children })
|
|
6328
6424
|
]
|
|
6329
6425
|
}
|
|
6330
6426
|
);
|
|
@@ -6337,43 +6433,74 @@ var import_CardHeader = __toESM(require("@mui/material/CardHeader"));
|
|
|
6337
6433
|
var import_CardActions = __toESM(require("@mui/material/CardActions"));
|
|
6338
6434
|
var import_CardMedia = __toESM(require("@mui/material/CardMedia"));
|
|
6339
6435
|
var import_styles30 = require("@mui/material/styles");
|
|
6340
|
-
var
|
|
6341
|
-
var CardMedia = (props) => /* @__PURE__ */ (0,
|
|
6436
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
6437
|
+
var CardMedia = (props) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_CardMedia.default, { ...props });
|
|
6342
6438
|
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
|
-
|
|
6439
|
+
shouldForwardProp: (prop) => prop !== "hoverable" && prop !== "clickable" && prop !== "dsVariant"
|
|
6440
|
+
})(
|
|
6441
|
+
({ theme: theme2, hoverable, clickable, dsVariant }) => ({
|
|
6442
|
+
borderRadius: 8,
|
|
6443
|
+
transition: "all 0.2s ease-in-out",
|
|
6444
|
+
...dsVariant === "standard" && {
|
|
6445
|
+
boxShadow: "0px 1px 3px rgba(0, 0, 0, 0.12)",
|
|
6446
|
+
backgroundColor: theme2.palette.background.paper
|
|
6447
|
+
},
|
|
6448
|
+
...dsVariant === "tinted" && {
|
|
6449
|
+
boxShadow: "none",
|
|
6450
|
+
backgroundColor: theme2.palette.action.hover,
|
|
6451
|
+
border: `1px solid ${theme2.palette.divider}`
|
|
6452
|
+
},
|
|
6453
|
+
...dsVariant === "outlined" && {
|
|
6454
|
+
boxShadow: "none",
|
|
6455
|
+
backgroundColor: theme2.palette.background.paper,
|
|
6456
|
+
border: `1px solid ${theme2.palette.divider}`
|
|
6457
|
+
},
|
|
6458
|
+
...clickable && {
|
|
6459
|
+
cursor: "pointer"
|
|
6460
|
+
},
|
|
6461
|
+
...hoverable && {
|
|
6462
|
+
"&:hover": {
|
|
6463
|
+
boxShadow: "0px 4px 12px rgba(0, 0, 0, 0.15)",
|
|
6464
|
+
transform: "translateY(-2px)"
|
|
6465
|
+
}
|
|
6355
6466
|
}
|
|
6356
|
-
}
|
|
6357
|
-
|
|
6358
|
-
var Card = ({
|
|
6359
|
-
|
|
6467
|
+
})
|
|
6468
|
+
);
|
|
6469
|
+
var Card = ({
|
|
6470
|
+
variant = "standard",
|
|
6471
|
+
hoverable = false,
|
|
6472
|
+
clickable = false,
|
|
6473
|
+
children,
|
|
6474
|
+
...props
|
|
6475
|
+
}) => {
|
|
6476
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
6477
|
+
StyledCard,
|
|
6478
|
+
{
|
|
6479
|
+
dsVariant: variant,
|
|
6480
|
+
hoverable,
|
|
6481
|
+
clickable,
|
|
6482
|
+
variant: "elevation",
|
|
6483
|
+
...props,
|
|
6484
|
+
children
|
|
6485
|
+
}
|
|
6486
|
+
);
|
|
6360
6487
|
};
|
|
6361
6488
|
var CardContent = (props) => {
|
|
6362
|
-
return /* @__PURE__ */ (0,
|
|
6489
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_CardContent.default, { ...props });
|
|
6363
6490
|
};
|
|
6364
6491
|
var CardHeader = (props) => {
|
|
6365
|
-
return /* @__PURE__ */ (0,
|
|
6492
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_CardHeader.default, { ...props });
|
|
6366
6493
|
};
|
|
6367
6494
|
var CardActions = (props) => {
|
|
6368
|
-
return /* @__PURE__ */ (0,
|
|
6495
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_CardActions.default, { ...props });
|
|
6369
6496
|
};
|
|
6370
6497
|
|
|
6371
6498
|
// src/components/layout/List.tsx
|
|
6372
6499
|
var import_material30 = require("@mui/material");
|
|
6373
6500
|
var import_styles31 = require("@mui/material/styles");
|
|
6374
|
-
var
|
|
6501
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
6375
6502
|
var List6 = (props) => {
|
|
6376
|
-
return /* @__PURE__ */ (0,
|
|
6503
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_material30.List, { ...props });
|
|
6377
6504
|
};
|
|
6378
6505
|
var StyledListItem = (0, import_styles31.styled)(import_material30.ListItem, {
|
|
6379
6506
|
shouldForwardProp: (prop) => prop !== "hoverable"
|
|
@@ -6396,9 +6523,9 @@ var ListItem4 = ({
|
|
|
6396
6523
|
children,
|
|
6397
6524
|
...props
|
|
6398
6525
|
}) => {
|
|
6399
|
-
return /* @__PURE__ */ (0,
|
|
6400
|
-
icon && /* @__PURE__ */ (0,
|
|
6401
|
-
(primary || secondary) && /* @__PURE__ */ (0,
|
|
6526
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(StyledListItem, { hoverable, ...props, children: [
|
|
6527
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_material30.ListItemIcon, { children: icon }),
|
|
6528
|
+
(primary || secondary) && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
6402
6529
|
import_material30.ListItemText,
|
|
6403
6530
|
{
|
|
6404
6531
|
primary,
|
|
@@ -6413,7 +6540,7 @@ var ListItem4 = ({
|
|
|
6413
6540
|
// src/components/layout/Avatar.tsx
|
|
6414
6541
|
var import_Avatar = __toESM(require("@mui/material/Avatar"));
|
|
6415
6542
|
var import_styles32 = require("@mui/material/styles");
|
|
6416
|
-
var
|
|
6543
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
6417
6544
|
var sizeMap = {
|
|
6418
6545
|
small: 32,
|
|
6419
6546
|
medium: 40,
|
|
@@ -6430,13 +6557,13 @@ var StyledAvatar = (0, import_styles32.styled)(import_Avatar.default, {
|
|
|
6430
6557
|
}));
|
|
6431
6558
|
var Avatar5 = ({ size: size3 = "medium", ...props }) => {
|
|
6432
6559
|
const avatarSize = typeof size3 === "number" ? size3 : sizeMap[size3];
|
|
6433
|
-
return /* @__PURE__ */ (0,
|
|
6560
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(StyledAvatar, { avatarSize, ...props });
|
|
6434
6561
|
};
|
|
6435
6562
|
|
|
6436
6563
|
// src/components/layout/Table.tsx
|
|
6437
6564
|
var import_material31 = require("@mui/material");
|
|
6438
6565
|
var import_styles33 = require("@mui/material/styles");
|
|
6439
|
-
var
|
|
6566
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
6440
6567
|
var StyledTableContainer = (0, import_styles33.styled)(import_material31.TableContainer)(({ theme: theme2 }) => ({
|
|
6441
6568
|
borderRadius: 8,
|
|
6442
6569
|
border: `1px solid ${theme2.palette.grey[200]}`
|
|
@@ -6449,7 +6576,7 @@ var StyledTableHead = (0, import_styles33.styled)(import_material31.TableHead)((
|
|
|
6449
6576
|
}
|
|
6450
6577
|
}));
|
|
6451
6578
|
var Table = ({ stickyHeader = false, children, ...props }) => {
|
|
6452
|
-
return /* @__PURE__ */ (0,
|
|
6579
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(StyledTableContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_material31.Table, { stickyHeader, ...props, children }) });
|
|
6453
6580
|
};
|
|
6454
6581
|
var TableHeader = ({
|
|
6455
6582
|
columns,
|
|
@@ -6457,7 +6584,7 @@ var TableHeader = ({
|
|
|
6457
6584
|
order = "asc",
|
|
6458
6585
|
onSort
|
|
6459
6586
|
}) => {
|
|
6460
|
-
return /* @__PURE__ */ (0,
|
|
6587
|
+
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
6588
|
import_material31.TableSortLabel,
|
|
6462
6589
|
{
|
|
6463
6590
|
active: orderBy === column.id,
|
|
@@ -6474,9 +6601,9 @@ var import_material32 = require("@mui/material");
|
|
|
6474
6601
|
// src/components/layout/Breadcrumbs.tsx
|
|
6475
6602
|
var import_Breadcrumbs = __toESM(require("@mui/material/Breadcrumbs"));
|
|
6476
6603
|
var import_Link3 = __toESM(require("@mui/material/Link"));
|
|
6477
|
-
var
|
|
6604
|
+
var import_Typography8 = __toESM(require("@mui/material/Typography"));
|
|
6478
6605
|
var import_styles34 = require("@mui/material/styles");
|
|
6479
|
-
var
|
|
6606
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
6480
6607
|
var StyledBreadcrumbs = (0, import_styles34.styled)(import_Breadcrumbs.default)(({ theme: theme2 }) => ({
|
|
6481
6608
|
"& .MuiBreadcrumbs-ol": {
|
|
6482
6609
|
flexWrap: "nowrap"
|
|
@@ -6493,12 +6620,12 @@ var StyledLink2 = (0, import_styles34.styled)(import_Link3.default)(({ theme: th
|
|
|
6493
6620
|
}
|
|
6494
6621
|
}));
|
|
6495
6622
|
var Breadcrumbs = ({ items, ...props }) => {
|
|
6496
|
-
return /* @__PURE__ */ (0,
|
|
6623
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(StyledBreadcrumbs, { ...props, children: items.map((item, index) => {
|
|
6497
6624
|
const isLast = index === items.length - 1;
|
|
6498
6625
|
if (isLast || !item.href && !item.onClick) {
|
|
6499
|
-
return /* @__PURE__ */ (0,
|
|
6626
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_Typography8.default, { color: "text.primary", children: item.label }, index);
|
|
6500
6627
|
}
|
|
6501
|
-
return /* @__PURE__ */ (0,
|
|
6628
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
6502
6629
|
StyledLink2,
|
|
6503
6630
|
{
|
|
6504
6631
|
href: item.href,
|
|
@@ -6519,7 +6646,7 @@ var Breadcrumbs = ({ items, ...props }) => {
|
|
|
6519
6646
|
var import_material33 = require("@mui/material");
|
|
6520
6647
|
var import_ExpandMore = __toESM(require("@mui/icons-material/ExpandMore"));
|
|
6521
6648
|
var import_styles35 = require("@mui/material/styles");
|
|
6522
|
-
var
|
|
6649
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
6523
6650
|
var StyledAccordion = (0, import_styles35.styled)(import_material33.Accordion)(({ theme: theme2 }) => ({
|
|
6524
6651
|
borderRadius: 8,
|
|
6525
6652
|
boxShadow: "none",
|
|
@@ -6550,16 +6677,16 @@ var Accordion = ({
|
|
|
6550
6677
|
defaultExpanded = false,
|
|
6551
6678
|
...props
|
|
6552
6679
|
}) => {
|
|
6553
|
-
return /* @__PURE__ */ (0,
|
|
6554
|
-
/* @__PURE__ */ (0,
|
|
6555
|
-
/* @__PURE__ */ (0,
|
|
6680
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(StyledAccordion, { defaultExpanded, ...props, children: [
|
|
6681
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(StyledAccordionSummary, { expandIcon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_ExpandMore.default, {}), children: title }),
|
|
6682
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(StyledAccordionDetails, { children })
|
|
6556
6683
|
] });
|
|
6557
6684
|
};
|
|
6558
6685
|
|
|
6559
6686
|
// src/components/layout/Paper.tsx
|
|
6560
6687
|
var import_Paper = __toESM(require("@mui/material/Paper"));
|
|
6561
6688
|
var import_styles36 = require("@mui/material/styles");
|
|
6562
|
-
var
|
|
6689
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
6563
6690
|
var StyledPaper = (0, import_styles36.styled)(import_Paper.default)(({ theme: theme2 }) => ({
|
|
6564
6691
|
borderRadius: 8,
|
|
6565
6692
|
"&.MuiPaper-elevation": {
|
|
@@ -6571,18 +6698,18 @@ var StyledPaper = (0, import_styles36.styled)(import_Paper.default)(({ theme: th
|
|
|
6571
6698
|
}
|
|
6572
6699
|
}));
|
|
6573
6700
|
var Paper = ({ variant = "elevation", ...props }) => {
|
|
6574
|
-
return /* @__PURE__ */ (0,
|
|
6701
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(StyledPaper, { variant, elevation: variant === "elevation" ? 1 : 0, ...props });
|
|
6575
6702
|
};
|
|
6576
6703
|
|
|
6577
6704
|
// src/components/layout/Divider.tsx
|
|
6578
6705
|
var import_Divider = __toESM(require("@mui/material/Divider"));
|
|
6579
6706
|
var import_styles37 = require("@mui/material/styles");
|
|
6580
|
-
var
|
|
6707
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
6581
6708
|
var StyledDivider = (0, import_styles37.styled)(import_Divider.default)(({ theme: theme2 }) => ({
|
|
6582
6709
|
borderColor: theme2.palette.grey[200]
|
|
6583
6710
|
}));
|
|
6584
6711
|
var Divider4 = ({ ...props }) => {
|
|
6585
|
-
return /* @__PURE__ */ (0,
|
|
6712
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(StyledDivider, { ...props });
|
|
6586
6713
|
};
|
|
6587
6714
|
|
|
6588
6715
|
// src/components/layout/Stack.tsx
|
|
@@ -6600,7 +6727,7 @@ var import_material37 = require("@mui/material");
|
|
|
6600
6727
|
// src/components/layout/AppBar.tsx
|
|
6601
6728
|
var import_material38 = require("@mui/material");
|
|
6602
6729
|
var import_styles38 = require("@mui/material/styles");
|
|
6603
|
-
var
|
|
6730
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
6604
6731
|
var StyledAppBar = (0, import_styles38.styled)(import_material38.AppBar, {
|
|
6605
6732
|
shouldForwardProp: (prop) => prop !== "appBarHeight"
|
|
6606
6733
|
})(({ appBarHeight = 64, theme: theme2 }) => ({
|
|
@@ -6617,23 +6744,23 @@ var StyledToolbar = (0, import_styles38.styled)(import_material38.Toolbar)(({ th
|
|
|
6617
6744
|
gap: theme2.spacing(2)
|
|
6618
6745
|
}));
|
|
6619
6746
|
var AppBar = ({ height = 64, children, ...props }) => {
|
|
6620
|
-
return /* @__PURE__ */ (0,
|
|
6747
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(StyledAppBar, { position: "fixed", appBarHeight: height, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(StyledToolbar, { children }) });
|
|
6621
6748
|
};
|
|
6622
6749
|
|
|
6623
6750
|
// src/components/layout/Collapse.tsx
|
|
6624
6751
|
var import_material39 = require("@mui/material");
|
|
6625
|
-
var
|
|
6752
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
6626
6753
|
var Collapse = (props) => {
|
|
6627
|
-
return /* @__PURE__ */ (0,
|
|
6754
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_material39.Collapse, { ...props });
|
|
6628
6755
|
};
|
|
6629
6756
|
|
|
6630
6757
|
// src/components/layout/EntityHeader/EntityHeader.tsx
|
|
6631
|
-
var
|
|
6632
|
-
var
|
|
6758
|
+
var import_Box11 = __toESM(require("@mui/material/Box"));
|
|
6759
|
+
var import_Typography9 = __toESM(require("@mui/material/Typography"));
|
|
6633
6760
|
var import_IconButton8 = __toESM(require("@mui/material/IconButton"));
|
|
6634
6761
|
var import_Divider2 = __toESM(require("@mui/material/Divider"));
|
|
6635
6762
|
var import_MoreHoriz = __toESM(require("@mui/icons-material/MoreHoriz"));
|
|
6636
|
-
var
|
|
6763
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
6637
6764
|
var EntityHeader = ({
|
|
6638
6765
|
title,
|
|
6639
6766
|
subtitle,
|
|
@@ -6652,9 +6779,9 @@ var EntityHeader = ({
|
|
|
6652
6779
|
const { label, count } = primaryAction;
|
|
6653
6780
|
return count !== void 0 ? `${label} (${count})` : label;
|
|
6654
6781
|
};
|
|
6655
|
-
return /* @__PURE__ */ (0,
|
|
6656
|
-
/* @__PURE__ */ (0,
|
|
6657
|
-
|
|
6782
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_Box11.default, { children: [
|
|
6783
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
6784
|
+
import_Box11.default,
|
|
6658
6785
|
{
|
|
6659
6786
|
sx: {
|
|
6660
6787
|
display: "flex",
|
|
@@ -6665,8 +6792,8 @@ var EntityHeader = ({
|
|
|
6665
6792
|
gap: 1
|
|
6666
6793
|
},
|
|
6667
6794
|
children: [
|
|
6668
|
-
/* @__PURE__ */ (0,
|
|
6669
|
-
|
|
6795
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
6796
|
+
import_Box11.default,
|
|
6670
6797
|
{
|
|
6671
6798
|
sx: {
|
|
6672
6799
|
display: "flex",
|
|
@@ -6675,8 +6802,8 @@ var EntityHeader = ({
|
|
|
6675
6802
|
flexWrap: "wrap"
|
|
6676
6803
|
},
|
|
6677
6804
|
children: [
|
|
6678
|
-
/* @__PURE__ */ (0,
|
|
6679
|
-
|
|
6805
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
6806
|
+
import_Box11.default,
|
|
6680
6807
|
{
|
|
6681
6808
|
sx: {
|
|
6682
6809
|
display: "flex",
|
|
@@ -6684,8 +6811,8 @@ var EntityHeader = ({
|
|
|
6684
6811
|
gap: 0.5
|
|
6685
6812
|
},
|
|
6686
6813
|
children: [
|
|
6687
|
-
/* @__PURE__ */ (0,
|
|
6688
|
-
|
|
6814
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6815
|
+
import_Typography9.default,
|
|
6689
6816
|
{
|
|
6690
6817
|
component: headingLevel,
|
|
6691
6818
|
sx: {
|
|
@@ -6698,8 +6825,8 @@ var EntityHeader = ({
|
|
|
6698
6825
|
children: title
|
|
6699
6826
|
}
|
|
6700
6827
|
),
|
|
6701
|
-
subtitle && /* @__PURE__ */ (0,
|
|
6702
|
-
|
|
6828
|
+
subtitle && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6829
|
+
import_Typography9.default,
|
|
6703
6830
|
{
|
|
6704
6831
|
variant: "body2",
|
|
6705
6832
|
sx: {
|
|
@@ -6715,13 +6842,13 @@ var EntityHeader = ({
|
|
|
6715
6842
|
]
|
|
6716
6843
|
}
|
|
6717
6844
|
),
|
|
6718
|
-
role && /* @__PURE__ */ (0,
|
|
6719
|
-
id && /* @__PURE__ */ (0,
|
|
6845
|
+
role && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(RoleBadge, { label: role, color: "primary", size: "small" }),
|
|
6846
|
+
id && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(IDBlock, { id, label: "ID", entityType: "entity", onCopy: onCopyId })
|
|
6720
6847
|
]
|
|
6721
6848
|
}
|
|
6722
6849
|
),
|
|
6723
|
-
/* @__PURE__ */ (0,
|
|
6724
|
-
|
|
6850
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
6851
|
+
import_Box11.default,
|
|
6725
6852
|
{
|
|
6726
6853
|
sx: {
|
|
6727
6854
|
display: "flex",
|
|
@@ -6731,7 +6858,7 @@ var EntityHeader = ({
|
|
|
6731
6858
|
},
|
|
6732
6859
|
children: [
|
|
6733
6860
|
startActions,
|
|
6734
|
-
primaryAction && /* @__PURE__ */ (0,
|
|
6861
|
+
primaryAction && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6735
6862
|
Button,
|
|
6736
6863
|
{
|
|
6737
6864
|
variant: "primary",
|
|
@@ -6744,7 +6871,7 @@ var EntityHeader = ({
|
|
|
6744
6871
|
}
|
|
6745
6872
|
),
|
|
6746
6873
|
endActions,
|
|
6747
|
-
onMoreOptions && /* @__PURE__ */ (0,
|
|
6874
|
+
onMoreOptions && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6748
6875
|
import_IconButton8.default,
|
|
6749
6876
|
{
|
|
6750
6877
|
onClick: onMoreOptions,
|
|
@@ -6759,7 +6886,7 @@ var EntityHeader = ({
|
|
|
6759
6886
|
borderColor: deploymentSurfaceTokens.borderDefault
|
|
6760
6887
|
}
|
|
6761
6888
|
},
|
|
6762
|
-
children: /* @__PURE__ */ (0,
|
|
6889
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6763
6890
|
import_MoreHoriz.default,
|
|
6764
6891
|
{
|
|
6765
6892
|
sx: {
|
|
@@ -6776,7 +6903,7 @@ var EntityHeader = ({
|
|
|
6776
6903
|
]
|
|
6777
6904
|
}
|
|
6778
6905
|
),
|
|
6779
|
-
divider && /* @__PURE__ */ (0,
|
|
6906
|
+
divider && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6780
6907
|
import_Divider2.default,
|
|
6781
6908
|
{
|
|
6782
6909
|
sx: {
|
|
@@ -6809,7 +6936,7 @@ function useControlledExpand(controlledExpanded, onToggle, defaultExpanded = fal
|
|
|
6809
6936
|
}
|
|
6810
6937
|
|
|
6811
6938
|
// src/components/layout/DeploymentDashboardCard/DeploymentDashboardCard.tsx
|
|
6812
|
-
var
|
|
6939
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
6813
6940
|
var ENTITY_LABELS = {
|
|
6814
6941
|
workspace: "Workspace",
|
|
6815
6942
|
stream: "Stream",
|
|
@@ -6819,11 +6946,11 @@ var ENTITY_LABELS = {
|
|
|
6819
6946
|
};
|
|
6820
6947
|
var ENTITY_ICON_SIZE = 16;
|
|
6821
6948
|
var ENTITY_ICONS = {
|
|
6822
|
-
workspace: /* @__PURE__ */ (0,
|
|
6823
|
-
stream: /* @__PURE__ */ (0,
|
|
6824
|
-
deployment: /* @__PURE__ */ (0,
|
|
6825
|
-
engagement: /* @__PURE__ */ (0,
|
|
6826
|
-
agent: /* @__PURE__ */ (0,
|
|
6949
|
+
workspace: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_WorkOutline.default, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
6950
|
+
stream: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_Waves.default, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
6951
|
+
deployment: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_RocketLaunchOutlined.default, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
6952
|
+
engagement: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_InsertLink.default, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
6953
|
+
agent: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_SmartToyOutlined.default, { sx: { fontSize: ENTITY_ICON_SIZE } })
|
|
6827
6954
|
};
|
|
6828
6955
|
var STATUS_DOT_COLORS = {
|
|
6829
6956
|
normal: deploymentStatusColors.normal,
|
|
@@ -6853,7 +6980,7 @@ var StatusDot2 = (0, import_styles39.styled)(import_material40.Box, {
|
|
|
6853
6980
|
backgroundColor: status ? STATUS_DOT_COLORS[status] ?? "transparent" : "transparent",
|
|
6854
6981
|
flexShrink: 0
|
|
6855
6982
|
}));
|
|
6856
|
-
var EntityChip = ({ entityType, color }) => /* @__PURE__ */ (0,
|
|
6983
|
+
var EntityChip = ({ entityType, color }) => /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
6857
6984
|
import_material40.Box,
|
|
6858
6985
|
{
|
|
6859
6986
|
sx: {
|
|
@@ -6869,8 +6996,8 @@ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ (0, import_jsx_runti
|
|
|
6869
6996
|
flexShrink: 0
|
|
6870
6997
|
},
|
|
6871
6998
|
children: [
|
|
6872
|
-
/* @__PURE__ */ (0,
|
|
6873
|
-
/* @__PURE__ */ (0,
|
|
6999
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_material40.Box, { sx: { color, display: "flex", alignItems: "center" }, children: ENTITY_ICONS[entityType] }),
|
|
7000
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6874
7001
|
import_material40.Typography,
|
|
6875
7002
|
{
|
|
6876
7003
|
variant: "body2",
|
|
@@ -6887,15 +7014,15 @@ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ (0, import_jsx_runti
|
|
|
6887
7014
|
]
|
|
6888
7015
|
}
|
|
6889
7016
|
);
|
|
6890
|
-
var CapacityBar = ({ value, indented = false }) => /* @__PURE__ */ (0,
|
|
6891
|
-
/* @__PURE__ */ (0,
|
|
6892
|
-
/* @__PURE__ */ (0,
|
|
6893
|
-
/* @__PURE__ */ (0,
|
|
7017
|
+
var CapacityBar = ({ value, indented = false }) => /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_material40.Box, { sx: { pl: indented ? "40px" : 0, pr: "20px", py: 1 }, children: [
|
|
7018
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_material40.Box, { sx: { display: "flex", justifyContent: "space-between", mb: 1 }, children: [
|
|
7019
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_material40.Typography, { variant: "body2", sx: { color: deploymentSurfaceTokens.textPrimary }, children: "Capacity" }),
|
|
7020
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_material40.Typography, { variant: "body2", sx: { color: deploymentSurfaceTokens.accentBlue }, children: [
|
|
6894
7021
|
value,
|
|
6895
7022
|
"%"
|
|
6896
7023
|
] })
|
|
6897
7024
|
] }),
|
|
6898
|
-
/* @__PURE__ */ (0,
|
|
7025
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6899
7026
|
import_material40.LinearProgress,
|
|
6900
7027
|
{
|
|
6901
7028
|
variant: "determinate",
|
|
@@ -6935,19 +7062,19 @@ var getActionButtonStyles = (action) => {
|
|
|
6935
7062
|
};
|
|
6936
7063
|
return { ...baseStyles, ...variantStyles };
|
|
6937
7064
|
};
|
|
6938
|
-
var CardAction = ({ action }) => /* @__PURE__ */ (0,
|
|
7065
|
+
var CardAction = ({ action }) => /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
6939
7066
|
import_material40.Box,
|
|
6940
7067
|
{
|
|
6941
7068
|
component: action.onClick ? "button" : "span",
|
|
6942
7069
|
onClick: action.onClick,
|
|
6943
7070
|
sx: getActionButtonStyles(action),
|
|
6944
7071
|
children: [
|
|
6945
|
-
action.icon && /* @__PURE__ */ (0,
|
|
6946
|
-
action.label && /* @__PURE__ */ (0,
|
|
7072
|
+
action.icon && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_material40.Box, { component: "span", sx: { display: "flex", alignItems: "center" }, children: action.icon }),
|
|
7073
|
+
action.label && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_material40.Typography, { variant: "body2", fontWeight: 500, component: "span", sx: { fontSize: "14px" }, children: action.label })
|
|
6947
7074
|
]
|
|
6948
7075
|
}
|
|
6949
7076
|
);
|
|
6950
|
-
var CardActionList = ({ actions }) => /* @__PURE__ */ (0,
|
|
7077
|
+
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
7078
|
var DeploymentDashboardCard = ({
|
|
6952
7079
|
entityType,
|
|
6953
7080
|
title,
|
|
@@ -6980,7 +7107,7 @@ var DeploymentDashboardCard = ({
|
|
|
6980
7107
|
return Math.min(100, Math.max(0, capacity2));
|
|
6981
7108
|
};
|
|
6982
7109
|
const capacityClamped = getClampedCapacity(capacity);
|
|
6983
|
-
return /* @__PURE__ */ (0,
|
|
7110
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
6984
7111
|
import_material40.Paper,
|
|
6985
7112
|
{
|
|
6986
7113
|
className,
|
|
@@ -6997,7 +7124,7 @@ var DeploymentDashboardCard = ({
|
|
|
6997
7124
|
gap: 0
|
|
6998
7125
|
},
|
|
6999
7126
|
children: [
|
|
7000
|
-
/* @__PURE__ */ (0,
|
|
7127
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
7001
7128
|
import_material40.Box,
|
|
7002
7129
|
{
|
|
7003
7130
|
sx: {
|
|
@@ -7007,20 +7134,20 @@ var DeploymentDashboardCard = ({
|
|
|
7007
7134
|
width: "100%"
|
|
7008
7135
|
},
|
|
7009
7136
|
children: [
|
|
7010
|
-
/* @__PURE__ */ (0,
|
|
7011
|
-
/* @__PURE__ */ (0,
|
|
7012
|
-
expandable ? /* @__PURE__ */ (0,
|
|
7137
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_material40.Box, { sx: { display: "flex", flexDirection: "column", gap: 0.5, minWidth: 0 }, children: [
|
|
7138
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_material40.Box, { sx: { display: "flex", gap: 1, alignItems: "center" }, children: [
|
|
7139
|
+
expandable ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
7013
7140
|
import_material40.IconButton,
|
|
7014
7141
|
{
|
|
7015
7142
|
size: "small",
|
|
7016
7143
|
onClick: toggle,
|
|
7017
7144
|
"aria-label": expanded ? "Collapse" : "Expand",
|
|
7018
7145
|
sx: { p: "5px" },
|
|
7019
|
-
children: expanded ? /* @__PURE__ */ (0,
|
|
7146
|
+
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
7147
|
}
|
|
7021
|
-
) : /* @__PURE__ */ (0,
|
|
7022
|
-
/* @__PURE__ */ (0,
|
|
7023
|
-
/* @__PURE__ */ (0,
|
|
7148
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_material40.Box, { sx: { width: 26, flexShrink: 0 } }),
|
|
7149
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(EntityChip, { entityType, color: entityColor }),
|
|
7150
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
7024
7151
|
import_material40.Typography,
|
|
7025
7152
|
{
|
|
7026
7153
|
variant: "subtitle1",
|
|
@@ -7030,9 +7157,9 @@ var DeploymentDashboardCard = ({
|
|
|
7030
7157
|
children: title
|
|
7031
7158
|
}
|
|
7032
7159
|
),
|
|
7033
|
-
idDisplay != null && /* @__PURE__ */ (0,
|
|
7160
|
+
idDisplay != null && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(IDBlock, { id: idDisplay, label: "ID", entityType, onCopy: onCopyId })
|
|
7034
7161
|
] }),
|
|
7035
|
-
(createdAt != null || updatedAt != null) && /* @__PURE__ */ (0,
|
|
7162
|
+
(createdAt != null || updatedAt != null) && /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
7036
7163
|
import_material40.Box,
|
|
7037
7164
|
{
|
|
7038
7165
|
sx: {
|
|
@@ -7042,27 +7169,27 @@ var DeploymentDashboardCard = ({
|
|
|
7042
7169
|
color: deploymentSurfaceTokens.textSecondary
|
|
7043
7170
|
},
|
|
7044
7171
|
children: [
|
|
7045
|
-
createdAt != null && /* @__PURE__ */ (0,
|
|
7172
|
+
createdAt != null && /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_material40.Typography, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
|
|
7046
7173
|
"Created: ",
|
|
7047
7174
|
createdAt
|
|
7048
7175
|
] }),
|
|
7049
|
-
updatedAt != null && /* @__PURE__ */ (0,
|
|
7176
|
+
updatedAt != null && /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_material40.Typography, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
|
|
7050
7177
|
"Last Updated: ",
|
|
7051
7178
|
updatedAt
|
|
7052
7179
|
] })
|
|
7053
7180
|
]
|
|
7054
7181
|
}
|
|
7055
7182
|
),
|
|
7056
|
-
capacityClamped !== void 0 && /* @__PURE__ */ (0,
|
|
7183
|
+
capacityClamped !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(CapacityBar, { value: capacityClamped, indented: expandable })
|
|
7057
7184
|
] }),
|
|
7058
|
-
/* @__PURE__ */ (0,
|
|
7059
|
-
statusIndicator != null && /* @__PURE__ */ (0,
|
|
7060
|
-
/* @__PURE__ */ (0,
|
|
7185
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_material40.Box, { sx: { display: "flex", gap: 1, alignItems: "center", flexShrink: 0 }, children: [
|
|
7186
|
+
statusIndicator != null && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(StatusDot2, { status: statusIndicator, "aria-hidden": true }),
|
|
7187
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(CardActionList, { actions })
|
|
7061
7188
|
] })
|
|
7062
7189
|
]
|
|
7063
7190
|
}
|
|
7064
7191
|
),
|
|
7065
|
-
children && /* @__PURE__ */ (0,
|
|
7192
|
+
children && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_material40.Box, { sx: { mt: 1.5, display: "flex", flexDirection: "column", gap: 1 }, children })
|
|
7066
7193
|
]
|
|
7067
7194
|
}
|
|
7068
7195
|
);
|
|
@@ -7071,7 +7198,7 @@ var DeploymentDashboardCard = ({
|
|
|
7071
7198
|
// src/components/layout/DeploymentEntityContextMenu/DeploymentEntityContextMenu.tsx
|
|
7072
7199
|
var import_material41 = require("@mui/material");
|
|
7073
7200
|
var import_styles40 = require("@mui/material/styles");
|
|
7074
|
-
var
|
|
7201
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
7075
7202
|
var StyledMenu2 = (0, import_styles40.styled)(import_material41.Menu)({
|
|
7076
7203
|
"& .MuiPaper-root": {
|
|
7077
7204
|
borderRadius: 4,
|
|
@@ -7169,7 +7296,7 @@ var DeploymentEntityContextMenu = ({
|
|
|
7169
7296
|
enableChecked = false,
|
|
7170
7297
|
onEnableChange
|
|
7171
7298
|
}) => {
|
|
7172
|
-
return /* @__PURE__ */ (0,
|
|
7299
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
|
|
7173
7300
|
StyledMenu2,
|
|
7174
7301
|
{
|
|
7175
7302
|
anchorEl,
|
|
@@ -7181,11 +7308,11 @@ var DeploymentEntityContextMenu = ({
|
|
|
7181
7308
|
children: [
|
|
7182
7309
|
items.map((item) => {
|
|
7183
7310
|
if (item.type === "divider") {
|
|
7184
|
-
return /* @__PURE__ */ (0,
|
|
7311
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(StyledDivider2, {}, item.id);
|
|
7185
7312
|
}
|
|
7186
7313
|
if (item.type === "toggle") {
|
|
7187
|
-
return /* @__PURE__ */ (0,
|
|
7188
|
-
onEnableChange && /* @__PURE__ */ (0,
|
|
7314
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(ToggleMenuItem, { disableRipple: true, children: [
|
|
7315
|
+
onEnableChange && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
7189
7316
|
EnableSwitch,
|
|
7190
7317
|
{
|
|
7191
7318
|
size: "small",
|
|
@@ -7194,11 +7321,11 @@ var DeploymentEntityContextMenu = ({
|
|
|
7194
7321
|
inputProps: { "aria-label": item.label }
|
|
7195
7322
|
}
|
|
7196
7323
|
),
|
|
7197
|
-
/* @__PURE__ */ (0,
|
|
7324
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_material41.ListItemText, { primary: item.label })
|
|
7198
7325
|
] }, item.id);
|
|
7199
7326
|
}
|
|
7200
7327
|
const Row = item.highlighted ? HighlightedMenuItem : StyledMenuItem;
|
|
7201
|
-
return /* @__PURE__ */ (0,
|
|
7328
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
|
|
7202
7329
|
Row,
|
|
7203
7330
|
{
|
|
7204
7331
|
onClick: () => {
|
|
@@ -7206,17 +7333,17 @@ var DeploymentEntityContextMenu = ({
|
|
|
7206
7333
|
onClose();
|
|
7207
7334
|
},
|
|
7208
7335
|
children: [
|
|
7209
|
-
item.icon && /* @__PURE__ */ (0,
|
|
7210
|
-
/* @__PURE__ */ (0,
|
|
7336
|
+
item.icon && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_material41.ListItemIcon, { children: item.icon }),
|
|
7337
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_material41.ListItemText, { primary: item.label })
|
|
7211
7338
|
]
|
|
7212
7339
|
},
|
|
7213
7340
|
item.id
|
|
7214
7341
|
);
|
|
7215
7342
|
}),
|
|
7216
|
-
enableToggle && /* @__PURE__ */ (0,
|
|
7217
|
-
/* @__PURE__ */ (0,
|
|
7218
|
-
/* @__PURE__ */ (0,
|
|
7219
|
-
onEnableChange && /* @__PURE__ */ (0,
|
|
7343
|
+
enableToggle && /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_jsx_runtime68.Fragment, { children: [
|
|
7344
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(StyledDivider2, {}),
|
|
7345
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(ToggleMenuItem, { disableRipple: true, children: [
|
|
7346
|
+
onEnableChange && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
7220
7347
|
EnableSwitch,
|
|
7221
7348
|
{
|
|
7222
7349
|
size: "small",
|
|
@@ -7225,7 +7352,7 @@ var DeploymentEntityContextMenu = ({
|
|
|
7225
7352
|
inputProps: { "aria-label": "Enable" }
|
|
7226
7353
|
}
|
|
7227
7354
|
),
|
|
7228
|
-
/* @__PURE__ */ (0,
|
|
7355
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_material41.ListItemText, { primary: "Enable" })
|
|
7229
7356
|
] })
|
|
7230
7357
|
] })
|
|
7231
7358
|
]
|
|
@@ -7240,48 +7367,48 @@ var import_ContentCopy3 = __toESM(require("@mui/icons-material/ContentCopy"));
|
|
|
7240
7367
|
var import_SmartToyOutlined2 = __toESM(require("@mui/icons-material/SmartToyOutlined"));
|
|
7241
7368
|
var import_Description = __toESM(require("@mui/icons-material/Description"));
|
|
7242
7369
|
var import_Settings2 = __toESM(require("@mui/icons-material/Settings"));
|
|
7243
|
-
var
|
|
7370
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
7244
7371
|
var contextMenuItems = {
|
|
7245
7372
|
/** Add Engagement action (Add Circle icon) */
|
|
7246
7373
|
addEngagement: (onClick) => ({
|
|
7247
7374
|
id: "add-engagement",
|
|
7248
7375
|
label: "Add Engagement",
|
|
7249
|
-
icon: /* @__PURE__ */ (0,
|
|
7376
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_AddCircleOutline.default, {}),
|
|
7250
7377
|
onClick
|
|
7251
7378
|
}),
|
|
7252
7379
|
/** Add Agent action (Add Circle icon) */
|
|
7253
7380
|
addAgent: (onClick) => ({
|
|
7254
7381
|
id: "add-agent",
|
|
7255
7382
|
label: "Add Agent",
|
|
7256
|
-
icon: /* @__PURE__ */ (0,
|
|
7383
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_AddCircleOutline.default, {}),
|
|
7257
7384
|
onClick
|
|
7258
7385
|
}),
|
|
7259
7386
|
/** Add Stream action (Add Circle icon) */
|
|
7260
7387
|
addStream: (onClick) => ({
|
|
7261
7388
|
id: "add-stream",
|
|
7262
7389
|
label: "Add Stream",
|
|
7263
|
-
icon: /* @__PURE__ */ (0,
|
|
7390
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_AddCircleOutline.default, {}),
|
|
7264
7391
|
onClick
|
|
7265
7392
|
}),
|
|
7266
7393
|
/** Edit action (Pen / Edit icon) */
|
|
7267
7394
|
edit: (onClick) => ({
|
|
7268
7395
|
id: "edit",
|
|
7269
7396
|
label: "Edit",
|
|
7270
|
-
icon: /* @__PURE__ */ (0,
|
|
7397
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_Edit.default, {}),
|
|
7271
7398
|
onClick
|
|
7272
7399
|
}),
|
|
7273
7400
|
/** Copy ID action (Copy icon) */
|
|
7274
7401
|
copyId: (onClick) => ({
|
|
7275
7402
|
id: "copy-id",
|
|
7276
7403
|
label: "Copy ID",
|
|
7277
|
-
icon: /* @__PURE__ */ (0,
|
|
7404
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_ContentCopy3.default, {}),
|
|
7278
7405
|
onClick
|
|
7279
7406
|
}),
|
|
7280
7407
|
/** Agent Flow Visualization — highlighted action (SmartToy icon) */
|
|
7281
7408
|
agentFlowVisualization: (onClick) => ({
|
|
7282
7409
|
id: "agent-flow",
|
|
7283
7410
|
label: "Agent Flow Visualization",
|
|
7284
|
-
icon: /* @__PURE__ */ (0,
|
|
7411
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_SmartToyOutlined2.default, {}),
|
|
7285
7412
|
onClick,
|
|
7286
7413
|
highlighted: true
|
|
7287
7414
|
}),
|
|
@@ -7289,7 +7416,7 @@ var contextMenuItems = {
|
|
|
7289
7416
|
viewLogs: (onClick) => ({
|
|
7290
7417
|
id: "view-logs",
|
|
7291
7418
|
label: "View Logs",
|
|
7292
|
-
icon: /* @__PURE__ */ (0,
|
|
7419
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_Description.default, {}),
|
|
7293
7420
|
onClick
|
|
7294
7421
|
}),
|
|
7295
7422
|
/** Horizontal divider between sections */
|
|
@@ -7308,7 +7435,7 @@ var contextMenuItems = {
|
|
|
7308
7435
|
settings: (onClick) => ({
|
|
7309
7436
|
id: "settings",
|
|
7310
7437
|
label: "Settings",
|
|
7311
|
-
icon: /* @__PURE__ */ (0,
|
|
7438
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_Settings2.default, {}),
|
|
7312
7439
|
onClick
|
|
7313
7440
|
})
|
|
7314
7441
|
};
|
|
@@ -7316,7 +7443,7 @@ var contextMenuItems = {
|
|
|
7316
7443
|
// src/components/layout/DeploymentDashboardTree/DeploymentDashboardTree.tsx
|
|
7317
7444
|
var import_material42 = require("@mui/material");
|
|
7318
7445
|
var import_styles41 = require("@mui/material/styles");
|
|
7319
|
-
var
|
|
7446
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
7320
7447
|
var TREE_SP = {
|
|
7321
7448
|
/** Vertical gap between sibling rows (Figma S / sp-8) */
|
|
7322
7449
|
rowGap: 8,
|
|
@@ -7353,9 +7480,9 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
7353
7480
|
const entityColor = deploymentEntityColors[node.entityType] ?? deploymentEntityColors.workspace;
|
|
7354
7481
|
const railOpacity = RAIL_OPACITY[node.entityType] ?? 0.5;
|
|
7355
7482
|
const railColor = (0, import_styles41.alpha)(entityColor, railOpacity);
|
|
7356
|
-
const renderedChildren = hasChildren && expanded ? /* @__PURE__ */ (0,
|
|
7357
|
-
/* @__PURE__ */ (0,
|
|
7358
|
-
/* @__PURE__ */ (0,
|
|
7483
|
+
const renderedChildren = hasChildren && expanded ? /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_material42.Box, { sx: { display: "flex", gap: `${TREE_SP.railGap}px` }, children: [
|
|
7484
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Rail, { railColor, "aria-hidden": true, "data-rail": true }),
|
|
7485
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
7359
7486
|
import_material42.Box,
|
|
7360
7487
|
{
|
|
7361
7488
|
role: "group",
|
|
@@ -7366,7 +7493,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
7366
7493
|
flexDirection: "column",
|
|
7367
7494
|
gap: `${TREE_SP.rowGap}px`
|
|
7368
7495
|
},
|
|
7369
|
-
children: node.children.map((child) => /* @__PURE__ */ (0,
|
|
7496
|
+
children: node.children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
7370
7497
|
TreeRow,
|
|
7371
7498
|
{
|
|
7372
7499
|
node: child,
|
|
@@ -7380,7 +7507,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
7380
7507
|
}
|
|
7381
7508
|
)
|
|
7382
7509
|
] }) : null;
|
|
7383
|
-
const cardContent = renderCard?.(node) ?? /* @__PURE__ */ (0,
|
|
7510
|
+
const cardContent = renderCard?.(node) ?? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
7384
7511
|
DeploymentDashboardCard,
|
|
7385
7512
|
{
|
|
7386
7513
|
entityType: node.entityType,
|
|
@@ -7398,7 +7525,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
7398
7525
|
children: renderedChildren
|
|
7399
7526
|
}
|
|
7400
7527
|
);
|
|
7401
|
-
return /* @__PURE__ */ (0,
|
|
7528
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_material42.Box, { role: "treeitem", children: cardContent });
|
|
7402
7529
|
};
|
|
7403
7530
|
var DeploymentDashboardTree = ({
|
|
7404
7531
|
nodes,
|
|
@@ -7406,7 +7533,7 @@ var DeploymentDashboardTree = ({
|
|
|
7406
7533
|
onCopyId,
|
|
7407
7534
|
renderCard
|
|
7408
7535
|
}) => {
|
|
7409
|
-
return /* @__PURE__ */ (0,
|
|
7536
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
7410
7537
|
import_material42.Box,
|
|
7411
7538
|
{
|
|
7412
7539
|
role: "tree",
|
|
@@ -7416,7 +7543,7 @@ var DeploymentDashboardTree = ({
|
|
|
7416
7543
|
gap: `${TREE_SP.rowGap}px`,
|
|
7417
7544
|
p: `${TREE_SP.rowGap}px`
|
|
7418
7545
|
},
|
|
7419
|
-
children: nodes.map((node) => /* @__PURE__ */ (0,
|
|
7546
|
+
children: nodes.map((node) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
7420
7547
|
TreeRow,
|
|
7421
7548
|
{
|
|
7422
7549
|
node,
|
|
@@ -7434,7 +7561,7 @@ var DeploymentDashboardTree = ({
|
|
|
7434
7561
|
// src/components/layout/DeploymentDashboardPanel/DeploymentDashboardPanel.tsx
|
|
7435
7562
|
var import_material43 = require("@mui/material");
|
|
7436
7563
|
var import_styles42 = require("@mui/material/styles");
|
|
7437
|
-
var
|
|
7564
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
7438
7565
|
var PANEL_RADIUS = 12;
|
|
7439
7566
|
var PANEL_SHADOW = "0px 1px 3px rgba(0, 0, 0, 0.08)";
|
|
7440
7567
|
var StyledPanel = (0, import_styles42.styled)(import_material43.Box)({
|
|
@@ -7449,7 +7576,7 @@ var DeploymentDashboardPanel = ({
|
|
|
7449
7576
|
className,
|
|
7450
7577
|
padding = 2
|
|
7451
7578
|
}) => {
|
|
7452
|
-
return /* @__PURE__ */ (0,
|
|
7579
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(StyledPanel, { className, sx: { p: padding }, children });
|
|
7453
7580
|
};
|
|
7454
7581
|
|
|
7455
7582
|
// src/components/layout/WorkflowNode/WorkflowNode.tsx
|
|
@@ -7470,7 +7597,7 @@ var import_CheckCircleOutline = __toESM(require("@mui/icons-material/CheckCircle
|
|
|
7470
7597
|
var import_ForkRight = __toESM(require("@mui/icons-material/ForkRight"));
|
|
7471
7598
|
var import_CallMerge = __toESM(require("@mui/icons-material/CallMerge"));
|
|
7472
7599
|
var import_material45 = require("@mui/material");
|
|
7473
|
-
var
|
|
7600
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
7474
7601
|
var WORKFLOW_NODE_LABELS = {
|
|
7475
7602
|
start: "Start",
|
|
7476
7603
|
input: "Input",
|
|
@@ -7491,21 +7618,21 @@ var WORKFLOW_NODE_LABELS = {
|
|
|
7491
7618
|
var NODE_ICON_SIZE = 18;
|
|
7492
7619
|
var WORKFLOW_NODE_SHADOW = "0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.1)";
|
|
7493
7620
|
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,
|
|
7621
|
+
start: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_PlayCircleOutline.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7622
|
+
input: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_CloudDownload.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7623
|
+
stream: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_Waves2.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7624
|
+
rafts: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_Link4.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7625
|
+
cubbies: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_Cloud.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7626
|
+
events: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_Bolt.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7627
|
+
trigger: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_FlashOn.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7628
|
+
action: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_PlayArrow.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7629
|
+
aiModel: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_Psychology.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7630
|
+
aiAgent: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_SmartToyOutlined3.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7631
|
+
condition: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_CallSplit.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7632
|
+
output: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_Send.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7633
|
+
end: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_CheckCircleOutline.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7634
|
+
parallel: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_ForkRight.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
7635
|
+
merge: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_CallMerge.default, { sx: { fontSize: NODE_ICON_SIZE } })
|
|
7509
7636
|
};
|
|
7510
7637
|
var BADGE_TYPOGRAPHY = {
|
|
7511
7638
|
fontSize: "12px",
|
|
@@ -7515,7 +7642,7 @@ var BADGE_TYPOGRAPHY = {
|
|
|
7515
7642
|
var SideConnectorDot = ({
|
|
7516
7643
|
accentColor,
|
|
7517
7644
|
side
|
|
7518
|
-
}) => /* @__PURE__ */ (0,
|
|
7645
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
7519
7646
|
import_material44.Box,
|
|
7520
7647
|
{
|
|
7521
7648
|
"data-testid": `workflow-node-dot-${side}`,
|
|
@@ -7535,7 +7662,7 @@ var SideConnectorDot = ({
|
|
|
7535
7662
|
})
|
|
7536
7663
|
}
|
|
7537
7664
|
);
|
|
7538
|
-
var NodeTypeBadge = ({ nodeType, badgeBackground, badgeBorder, badgeText, icon, label }) => /* @__PURE__ */ (0,
|
|
7665
|
+
var NodeTypeBadge = ({ nodeType, badgeBackground, badgeBorder, badgeText, icon, label }) => /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
|
|
7539
7666
|
import_material44.Box,
|
|
7540
7667
|
{
|
|
7541
7668
|
sx: {
|
|
@@ -7551,8 +7678,8 @@ var NodeTypeBadge = ({ nodeType, badgeBackground, badgeBorder, badgeText, icon,
|
|
|
7551
7678
|
flexShrink: 0
|
|
7552
7679
|
},
|
|
7553
7680
|
children: [
|
|
7554
|
-
/* @__PURE__ */ (0,
|
|
7555
|
-
/* @__PURE__ */ (0,
|
|
7681
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_material44.Box, { sx: { color: badgeText, display: "flex", alignItems: "center" }, children: icon ?? WORKFLOW_NODE_ICONS[nodeType] }),
|
|
7682
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
7556
7683
|
import_material44.Typography,
|
|
7557
7684
|
{
|
|
7558
7685
|
variant: "body2",
|
|
@@ -7585,7 +7712,7 @@ var WorkflowNode = ({
|
|
|
7585
7712
|
const nodeTokens = theme2.palette.workflow.node[nodeType];
|
|
7586
7713
|
const chrome = theme2.palette.workflow.chrome;
|
|
7587
7714
|
const accentColor = nodeTokens.accent;
|
|
7588
|
-
return /* @__PURE__ */ (0,
|
|
7715
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
|
|
7589
7716
|
import_material44.Paper,
|
|
7590
7717
|
{
|
|
7591
7718
|
elevation: 0,
|
|
@@ -7609,9 +7736,9 @@ var WorkflowNode = ({
|
|
|
7609
7736
|
],
|
|
7610
7737
|
...paperProps,
|
|
7611
7738
|
children: [
|
|
7612
|
-
showSideDots && /* @__PURE__ */ (0,
|
|
7613
|
-
showSideDots && /* @__PURE__ */ (0,
|
|
7614
|
-
/* @__PURE__ */ (0,
|
|
7739
|
+
showSideDots && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(SideConnectorDot, { accentColor, side: "left" }),
|
|
7740
|
+
showSideDots && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(SideConnectorDot, { accentColor, side: "right" }),
|
|
7741
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
|
|
7615
7742
|
import_material44.Box,
|
|
7616
7743
|
{
|
|
7617
7744
|
sx: {
|
|
@@ -7625,8 +7752,8 @@ var WorkflowNode = ({
|
|
|
7625
7752
|
minWidth: 0
|
|
7626
7753
|
},
|
|
7627
7754
|
children: [
|
|
7628
|
-
/* @__PURE__ */ (0,
|
|
7629
|
-
/* @__PURE__ */ (0,
|
|
7755
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(import_material44.Box, { sx: { minWidth: 0, flex: 1 }, children: [
|
|
7756
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
7630
7757
|
import_material44.Typography,
|
|
7631
7758
|
{
|
|
7632
7759
|
variant: "subtitle2",
|
|
@@ -7641,7 +7768,7 @@ var WorkflowNode = ({
|
|
|
7641
7768
|
children: title
|
|
7642
7769
|
}
|
|
7643
7770
|
),
|
|
7644
|
-
description && /* @__PURE__ */ (0,
|
|
7771
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
7645
7772
|
import_material44.Typography,
|
|
7646
7773
|
{
|
|
7647
7774
|
variant: "body2",
|
|
@@ -7660,7 +7787,7 @@ var WorkflowNode = ({
|
|
|
7660
7787
|
}
|
|
7661
7788
|
)
|
|
7662
7789
|
] }),
|
|
7663
|
-
/* @__PURE__ */ (0,
|
|
7790
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
7664
7791
|
NodeTypeBadge,
|
|
7665
7792
|
{
|
|
7666
7793
|
nodeType,
|
|
@@ -7684,7 +7811,7 @@ var import_material46 = require("@mui/material");
|
|
|
7684
7811
|
var import_Close4 = __toESM(require("@mui/icons-material/Close"));
|
|
7685
7812
|
var import_Cancel = __toESM(require("@mui/icons-material/Cancel"));
|
|
7686
7813
|
var import_styles43 = require("@mui/material/styles");
|
|
7687
|
-
var
|
|
7814
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
7688
7815
|
var WorkflowTopBar = ({
|
|
7689
7816
|
title = "Agent visualization flow chart",
|
|
7690
7817
|
executionId,
|
|
@@ -7702,7 +7829,7 @@ var WorkflowTopBar = ({
|
|
|
7702
7829
|
...boxProps
|
|
7703
7830
|
}) => {
|
|
7704
7831
|
const chrome = (0, import_styles43.useTheme)().palette.workflow.chrome;
|
|
7705
|
-
return /* @__PURE__ */ (0,
|
|
7832
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
7706
7833
|
import_material46.Box,
|
|
7707
7834
|
{
|
|
7708
7835
|
sx: [
|
|
@@ -7716,7 +7843,7 @@ var WorkflowTopBar = ({
|
|
|
7716
7843
|
],
|
|
7717
7844
|
...boxProps,
|
|
7718
7845
|
children: [
|
|
7719
|
-
/* @__PURE__ */ (0,
|
|
7846
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
7720
7847
|
import_material46.Box,
|
|
7721
7848
|
{
|
|
7722
7849
|
sx: {
|
|
@@ -7729,7 +7856,7 @@ var WorkflowTopBar = ({
|
|
|
7729
7856
|
minHeight: 72
|
|
7730
7857
|
},
|
|
7731
7858
|
children: [
|
|
7732
|
-
/* @__PURE__ */ (0,
|
|
7859
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
7733
7860
|
import_material46.Typography,
|
|
7734
7861
|
{
|
|
7735
7862
|
variant: "subtitle1",
|
|
@@ -7741,7 +7868,7 @@ var WorkflowTopBar = ({
|
|
|
7741
7868
|
children: title
|
|
7742
7869
|
}
|
|
7743
7870
|
),
|
|
7744
|
-
/* @__PURE__ */ (0,
|
|
7871
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
7745
7872
|
import_material46.Box,
|
|
7746
7873
|
{
|
|
7747
7874
|
sx: {
|
|
@@ -7753,7 +7880,7 @@ var WorkflowTopBar = ({
|
|
|
7753
7880
|
minWidth: 0
|
|
7754
7881
|
},
|
|
7755
7882
|
children: [
|
|
7756
|
-
/* @__PURE__ */ (0,
|
|
7883
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
7757
7884
|
import_material46.Box,
|
|
7758
7885
|
{
|
|
7759
7886
|
sx: {
|
|
@@ -7769,8 +7896,8 @@ var WorkflowTopBar = ({
|
|
|
7769
7896
|
minHeight: 56
|
|
7770
7897
|
},
|
|
7771
7898
|
children: [
|
|
7772
|
-
/* @__PURE__ */ (0,
|
|
7773
|
-
/* @__PURE__ */ (0,
|
|
7899
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_material46.Box, { sx: { flex: 1, minWidth: 0 }, children: [
|
|
7900
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
7774
7901
|
import_material46.Typography,
|
|
7775
7902
|
{
|
|
7776
7903
|
variant: "caption",
|
|
@@ -7782,7 +7909,7 @@ var WorkflowTopBar = ({
|
|
|
7782
7909
|
children: executionIdLabel
|
|
7783
7910
|
}
|
|
7784
7911
|
),
|
|
7785
|
-
/* @__PURE__ */ (0,
|
|
7912
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
7786
7913
|
import_material46.InputBase,
|
|
7787
7914
|
{
|
|
7788
7915
|
value: executionId,
|
|
@@ -7801,20 +7928,20 @@ var WorkflowTopBar = ({
|
|
|
7801
7928
|
}
|
|
7802
7929
|
)
|
|
7803
7930
|
] }),
|
|
7804
|
-
/* @__PURE__ */ (0,
|
|
7931
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
7805
7932
|
import_material46.IconButton,
|
|
7806
7933
|
{
|
|
7807
7934
|
size: "small",
|
|
7808
7935
|
"aria-label": `Clear ${executionIdLabel.toLowerCase()}`,
|
|
7809
7936
|
onClick: onClearExecutionId,
|
|
7810
7937
|
sx: { color: chrome.iconColor, ml: 1 },
|
|
7811
|
-
children: /* @__PURE__ */ (0,
|
|
7938
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_Cancel.default, { fontSize: "small" })
|
|
7812
7939
|
}
|
|
7813
7940
|
)
|
|
7814
7941
|
]
|
|
7815
7942
|
}
|
|
7816
7943
|
),
|
|
7817
|
-
/* @__PURE__ */ (0,
|
|
7944
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
7818
7945
|
Button,
|
|
7819
7946
|
{
|
|
7820
7947
|
variant: "primary",
|
|
@@ -7831,8 +7958,8 @@ var WorkflowTopBar = ({
|
|
|
7831
7958
|
children: submitLabel
|
|
7832
7959
|
}
|
|
7833
7960
|
),
|
|
7834
|
-
showInspectorToggle && /* @__PURE__ */ (0,
|
|
7835
|
-
showCloseButton && /* @__PURE__ */ (0,
|
|
7961
|
+
showInspectorToggle && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Button, { variant: "secondary", onClick: onInspectorToggle, children: inspectorLabel }),
|
|
7962
|
+
showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
7836
7963
|
import_material46.IconButton,
|
|
7837
7964
|
{
|
|
7838
7965
|
"aria-label": "Close workflow chrome",
|
|
@@ -7843,7 +7970,7 @@ var WorkflowTopBar = ({
|
|
|
7843
7970
|
backgroundColor: (0, import_material46.alpha)(chrome.closeBtnBg, 0.28),
|
|
7844
7971
|
color: chrome.iconColor
|
|
7845
7972
|
},
|
|
7846
|
-
children: /* @__PURE__ */ (0,
|
|
7973
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_Close4.default, { fontSize: "small" })
|
|
7847
7974
|
}
|
|
7848
7975
|
)
|
|
7849
7976
|
]
|
|
@@ -7852,7 +7979,7 @@ var WorkflowTopBar = ({
|
|
|
7852
7979
|
]
|
|
7853
7980
|
}
|
|
7854
7981
|
),
|
|
7855
|
-
/* @__PURE__ */ (0,
|
|
7982
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_material46.Divider, { sx: { borderColor: deploymentSurfaceTokens.strokeOutside } })
|
|
7856
7983
|
]
|
|
7857
7984
|
}
|
|
7858
7985
|
);
|
|
@@ -7862,11 +7989,11 @@ var WorkflowTopBar = ({
|
|
|
7862
7989
|
var import_material47 = require("@mui/material");
|
|
7863
7990
|
var import_Close5 = __toESM(require("@mui/icons-material/Close"));
|
|
7864
7991
|
var import_ContentCopyOutlined = __toESM(require("@mui/icons-material/ContentCopyOutlined"));
|
|
7865
|
-
var
|
|
7992
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
7866
7993
|
var INSPECTOR_WIDTH = 320;
|
|
7867
|
-
var InfoBlock = ({ label, value, mutedColor }) => /* @__PURE__ */ (0,
|
|
7868
|
-
/* @__PURE__ */ (0,
|
|
7869
|
-
/* @__PURE__ */ (0,
|
|
7994
|
+
var InfoBlock = ({ label, value, mutedColor }) => /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_material47.Box, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
|
|
7995
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_material47.Typography, { variant: "body2", sx: { color: mutedColor }, children: label }),
|
|
7996
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
7870
7997
|
import_material47.Typography,
|
|
7871
7998
|
{
|
|
7872
7999
|
variant: "body2",
|
|
@@ -7903,7 +8030,7 @@ var WorkflowSideInspector = ({
|
|
|
7903
8030
|
return null;
|
|
7904
8031
|
}
|
|
7905
8032
|
const accent = theme2.palette.workflow.node[nodeType].accent;
|
|
7906
|
-
return /* @__PURE__ */ (0,
|
|
8033
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
|
|
7907
8034
|
import_material47.Paper,
|
|
7908
8035
|
{
|
|
7909
8036
|
elevation: 0,
|
|
@@ -7922,10 +8049,10 @@ var WorkflowSideInspector = ({
|
|
|
7922
8049
|
},
|
|
7923
8050
|
...paperProps,
|
|
7924
8051
|
children: [
|
|
7925
|
-
/* @__PURE__ */ (0,
|
|
7926
|
-
/* @__PURE__ */ (0,
|
|
7927
|
-
/* @__PURE__ */ (0,
|
|
7928
|
-
/* @__PURE__ */ (0,
|
|
8052
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_material47.Box, { sx: { display: "flex", flexDirection: "column", gap: 1.25 }, children: [
|
|
8053
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_material47.Box, { sx: { display: "flex", alignItems: "center", justifyContent: "space-between" }, children: [
|
|
8054
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_material47.Typography, { variant: "subtitle1", sx: { color: deploymentSurfaceTokens.textPrimary }, children: title }),
|
|
8055
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
7929
8056
|
import_material47.IconButton,
|
|
7930
8057
|
{
|
|
7931
8058
|
"aria-label": "Close inspector",
|
|
@@ -7934,15 +8061,15 @@ var WorkflowSideInspector = ({
|
|
|
7934
8061
|
border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
|
|
7935
8062
|
borderRadius: 2
|
|
7936
8063
|
},
|
|
7937
|
-
children: /* @__PURE__ */ (0,
|
|
8064
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_Close5.default, { fontSize: "small" })
|
|
7938
8065
|
}
|
|
7939
8066
|
)
|
|
7940
8067
|
] }),
|
|
7941
|
-
/* @__PURE__ */ (0,
|
|
8068
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_material47.Divider, { sx: { borderColor: chrome.divider } })
|
|
7942
8069
|
] }),
|
|
7943
|
-
/* @__PURE__ */ (0,
|
|
7944
|
-
/* @__PURE__ */ (0,
|
|
7945
|
-
/* @__PURE__ */ (0,
|
|
8070
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_material47.Box, { sx: { display: "flex", flexDirection: "column", gap: 3, flex: 1 }, children: [
|
|
8071
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_material47.Box, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
|
|
8072
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
7946
8073
|
import_material47.Typography,
|
|
7947
8074
|
{
|
|
7948
8075
|
variant: "subtitle1",
|
|
@@ -7950,8 +8077,8 @@ var WorkflowSideInspector = ({
|
|
|
7950
8077
|
children: nodeTitle
|
|
7951
8078
|
}
|
|
7952
8079
|
),
|
|
7953
|
-
/* @__PURE__ */ (0,
|
|
7954
|
-
/* @__PURE__ */ (0,
|
|
8080
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_material47.Typography, { variant: "body2", sx: { color: chrome.mutedText }, children: nodeDescription }),
|
|
8081
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
|
|
7955
8082
|
import_material47.Box,
|
|
7956
8083
|
{
|
|
7957
8084
|
sx: {
|
|
@@ -7966,7 +8093,7 @@ var WorkflowSideInspector = ({
|
|
|
7966
8093
|
backgroundColor: (0, import_material47.alpha)(accent, 0.12)
|
|
7967
8094
|
},
|
|
7968
8095
|
children: [
|
|
7969
|
-
/* @__PURE__ */ (0,
|
|
8096
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
7970
8097
|
import_material47.Box,
|
|
7971
8098
|
{
|
|
7972
8099
|
sx: {
|
|
@@ -7977,43 +8104,43 @@ var WorkflowSideInspector = ({
|
|
|
7977
8104
|
}
|
|
7978
8105
|
}
|
|
7979
8106
|
),
|
|
7980
|
-
/* @__PURE__ */ (0,
|
|
8107
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_material47.Typography, { variant: "caption", sx: { color: accent, fontWeight: 500 }, children: WORKFLOW_NODE_LABELS[nodeType] })
|
|
7981
8108
|
]
|
|
7982
8109
|
}
|
|
7983
8110
|
)
|
|
7984
8111
|
] }),
|
|
7985
|
-
/* @__PURE__ */ (0,
|
|
7986
|
-
(showInput || showOutput) && /* @__PURE__ */ (0,
|
|
7987
|
-
/* @__PURE__ */ (0,
|
|
7988
|
-
showInput && /* @__PURE__ */ (0,
|
|
7989
|
-
showOutput && /* @__PURE__ */ (0,
|
|
8112
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_material47.Divider, { sx: { borderColor: chrome.divider } }),
|
|
8113
|
+
(showInput || showOutput) && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_jsx_runtime74.Fragment, { children: [
|
|
8114
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_material47.Box, { sx: { display: "flex", flexDirection: "column", gap: 2 }, children: [
|
|
8115
|
+
showInput && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(InfoBlock, { label: "Input", value: inputValue, mutedColor: chrome.mutedText }),
|
|
8116
|
+
showOutput && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(InfoBlock, { label: "Output", value: outputValue, mutedColor: chrome.mutedText })
|
|
7990
8117
|
] }),
|
|
7991
|
-
/* @__PURE__ */ (0,
|
|
8118
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_material47.Divider, { sx: { borderColor: chrome.divider } })
|
|
7992
8119
|
] }),
|
|
7993
|
-
/* @__PURE__ */ (0,
|
|
7994
|
-
/* @__PURE__ */ (0,
|
|
7995
|
-
/* @__PURE__ */ (0,
|
|
8120
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_material47.Box, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
|
|
8121
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_material47.Typography, { variant: "body2", sx: { color: chrome.mutedText }, children: "Cubby ID" }),
|
|
8122
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
7996
8123
|
Button,
|
|
7997
8124
|
{
|
|
7998
8125
|
variant: "secondary",
|
|
7999
8126
|
size: "small",
|
|
8000
|
-
startIcon: /* @__PURE__ */ (0,
|
|
8127
|
+
startIcon: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_ContentCopyOutlined.default, { fontSize: "small" }),
|
|
8001
8128
|
onClick: onCopyCubbyId,
|
|
8002
8129
|
sx: { alignSelf: "flex-start" },
|
|
8003
8130
|
children: cubbyId
|
|
8004
8131
|
}
|
|
8005
8132
|
)
|
|
8006
8133
|
] }),
|
|
8007
|
-
/* @__PURE__ */ (0,
|
|
8008
|
-
(showTimestamp || showDuration) && /* @__PURE__ */ (0,
|
|
8009
|
-
/* @__PURE__ */ (0,
|
|
8010
|
-
showTimestamp && /* @__PURE__ */ (0,
|
|
8011
|
-
showDuration && /* @__PURE__ */ (0,
|
|
8134
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_material47.Divider, { sx: { borderColor: chrome.divider } }),
|
|
8135
|
+
(showTimestamp || showDuration) && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_jsx_runtime74.Fragment, { children: [
|
|
8136
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_material47.Box, { sx: { display: "flex", flexDirection: "column", gap: 2 }, children: [
|
|
8137
|
+
showTimestamp && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(InfoBlock, { label: "Timestamp", value: timestamp, mutedColor: chrome.mutedText }),
|
|
8138
|
+
showDuration && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(InfoBlock, { label: "Duration", value: duration, mutedColor: chrome.mutedText })
|
|
8012
8139
|
] }),
|
|
8013
|
-
/* @__PURE__ */ (0,
|
|
8140
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_material47.Divider, { sx: { borderColor: chrome.divider } })
|
|
8014
8141
|
] })
|
|
8015
8142
|
] }),
|
|
8016
|
-
actionLabel && /* @__PURE__ */ (0,
|
|
8143
|
+
actionLabel && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Button, { variant: "primary", fullWidth: true, onClick: onAction, children: actionLabel })
|
|
8017
8144
|
]
|
|
8018
8145
|
}
|
|
8019
8146
|
);
|
|
@@ -8026,8 +8153,8 @@ var import_ChevronLeft4 = __toESM(require("@mui/icons-material/ChevronLeft"));
|
|
|
8026
8153
|
var import_ChevronRight5 = __toESM(require("@mui/icons-material/ChevronRight"));
|
|
8027
8154
|
var import_Replay = __toESM(require("@mui/icons-material/Replay"));
|
|
8028
8155
|
var import_styles44 = require("@mui/material/styles");
|
|
8029
|
-
var
|
|
8030
|
-
var SpeedButton = ({ value, selected, onClick }) => /* @__PURE__ */ (0,
|
|
8156
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
8157
|
+
var SpeedButton = ({ value, selected, onClick }) => /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
8031
8158
|
Button,
|
|
8032
8159
|
{
|
|
8033
8160
|
variant: selected ? "primary" : "secondary",
|
|
@@ -8063,7 +8190,7 @@ var WorkflowTimeBar = ({
|
|
|
8063
8190
|
const boundedProgress = Math.max(0, Math.min(100, progress));
|
|
8064
8191
|
const atFirstStep = currentStep <= 1;
|
|
8065
8192
|
const atLastStep = currentStep >= totalSteps;
|
|
8066
|
-
return /* @__PURE__ */ (0,
|
|
8193
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
|
|
8067
8194
|
import_material48.Box,
|
|
8068
8195
|
{
|
|
8069
8196
|
sx: [
|
|
@@ -8080,9 +8207,9 @@ var WorkflowTimeBar = ({
|
|
|
8080
8207
|
],
|
|
8081
8208
|
...boxProps,
|
|
8082
8209
|
children: [
|
|
8083
|
-
/* @__PURE__ */ (0,
|
|
8084
|
-
/* @__PURE__ */ (0,
|
|
8085
|
-
/* @__PURE__ */ (0,
|
|
8210
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_material48.Divider, { sx: { borderColor: deploymentSurfaceTokens.strokeOutside } }),
|
|
8211
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_material48.Box, { sx: { display: "flex", alignItems: "center", gap: 2 }, children: [
|
|
8212
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
8086
8213
|
import_material48.IconButton,
|
|
8087
8214
|
{
|
|
8088
8215
|
onClick: onStop,
|
|
@@ -8095,11 +8222,11 @@ var WorkflowTimeBar = ({
|
|
|
8095
8222
|
color: deploymentSurfaceTokens.textPrimary,
|
|
8096
8223
|
backgroundColor: deploymentSurfaceTokens.surfaceHigh
|
|
8097
8224
|
},
|
|
8098
|
-
children: /* @__PURE__ */ (0,
|
|
8225
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_Stop.default, { sx: { fontSize: 16 } })
|
|
8099
8226
|
}
|
|
8100
8227
|
),
|
|
8101
|
-
/* @__PURE__ */ (0,
|
|
8102
|
-
/* @__PURE__ */ (0,
|
|
8228
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_material48.Box, { sx: { flex: 1, minWidth: 220, px: 1 }, children: [
|
|
8229
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
8103
8230
|
import_material48.Typography,
|
|
8104
8231
|
{
|
|
8105
8232
|
variant: "body2",
|
|
@@ -8107,7 +8234,7 @@ var WorkflowTimeBar = ({
|
|
|
8107
8234
|
children: elapsedTime
|
|
8108
8235
|
}
|
|
8109
8236
|
),
|
|
8110
|
-
/* @__PURE__ */ (0,
|
|
8237
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
8111
8238
|
import_material48.LinearProgress,
|
|
8112
8239
|
{
|
|
8113
8240
|
variant: "determinate",
|
|
@@ -8123,10 +8250,10 @@ var WorkflowTimeBar = ({
|
|
|
8123
8250
|
}
|
|
8124
8251
|
)
|
|
8125
8252
|
] }),
|
|
8126
|
-
/* @__PURE__ */ (0,
|
|
8127
|
-
/* @__PURE__ */ (0,
|
|
8128
|
-
/* @__PURE__ */ (0,
|
|
8129
|
-
/* @__PURE__ */ (0,
|
|
8253
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_material48.Box, { sx: { display: "flex", alignItems: "center", gap: 3 }, children: [
|
|
8254
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_material48.Box, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
8255
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_material48.Typography, { variant: "subtitle1", sx: { fontWeight: 500 }, children: "Steps" }),
|
|
8256
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
8130
8257
|
import_material48.IconButton,
|
|
8131
8258
|
{
|
|
8132
8259
|
size: "small",
|
|
@@ -8134,11 +8261,11 @@ var WorkflowTimeBar = ({
|
|
|
8134
8261
|
onClick: onPreviousStep,
|
|
8135
8262
|
disabled: atFirstStep,
|
|
8136
8263
|
sx: { backgroundColor: chrome.stepBtnBg },
|
|
8137
|
-
children: /* @__PURE__ */ (0,
|
|
8264
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_ChevronLeft4.default, { fontSize: "small" })
|
|
8138
8265
|
}
|
|
8139
8266
|
),
|
|
8140
|
-
/* @__PURE__ */ (0,
|
|
8141
|
-
/* @__PURE__ */ (0,
|
|
8267
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_material48.Typography, { variant: "subtitle1", sx: { minWidth: 52, textAlign: "center" }, children: `${currentStep} / ${totalSteps}` }),
|
|
8268
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
8142
8269
|
import_material48.IconButton,
|
|
8143
8270
|
{
|
|
8144
8271
|
size: "small",
|
|
@@ -8146,13 +8273,13 @@ var WorkflowTimeBar = ({
|
|
|
8146
8273
|
onClick: onNextStep,
|
|
8147
8274
|
disabled: atLastStep,
|
|
8148
8275
|
sx: { backgroundColor: chrome.stepBtnBgHover },
|
|
8149
|
-
children: /* @__PURE__ */ (0,
|
|
8276
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_ChevronRight5.default, { fontSize: "small" })
|
|
8150
8277
|
}
|
|
8151
8278
|
)
|
|
8152
8279
|
] }),
|
|
8153
|
-
/* @__PURE__ */ (0,
|
|
8154
|
-
/* @__PURE__ */ (0,
|
|
8155
|
-
speedOptions.map((option) => /* @__PURE__ */ (0,
|
|
8280
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_material48.Box, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
8281
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_material48.Typography, { variant: "subtitle1", sx: { fontWeight: 500 }, children: "Speed" }),
|
|
8282
|
+
speedOptions.map((option) => /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
8156
8283
|
SpeedButton,
|
|
8157
8284
|
{
|
|
8158
8285
|
value: option,
|
|
@@ -8161,7 +8288,7 @@ var WorkflowTimeBar = ({
|
|
|
8161
8288
|
},
|
|
8162
8289
|
option
|
|
8163
8290
|
)),
|
|
8164
|
-
/* @__PURE__ */ (0,
|
|
8291
|
+
/* @__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
8292
|
] })
|
|
8166
8293
|
] })
|
|
8167
8294
|
] })
|
|
@@ -8173,10 +8300,10 @@ var WorkflowTimeBar = ({
|
|
|
8173
8300
|
// src/components/icons/ActivityAppIcon.tsx
|
|
8174
8301
|
var import_react22 = require("react");
|
|
8175
8302
|
var import_material49 = require("@mui/material");
|
|
8176
|
-
var
|
|
8177
|
-
var ActivityAppIcon = (0, import_react22.memo)((props) => /* @__PURE__ */ (0,
|
|
8178
|
-
/* @__PURE__ */ (0,
|
|
8179
|
-
/* @__PURE__ */ (0,
|
|
8303
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
8304
|
+
var ActivityAppIcon = (0, import_react22.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_material49.SvgIcon, { ...props, viewBox: "0 0 36 36", children: [
|
|
8305
|
+
/* @__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 }),
|
|
8306
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
8180
8307
|
"rect",
|
|
8181
8308
|
{
|
|
8182
8309
|
fill: "none",
|
|
@@ -8189,7 +8316,7 @@ var ActivityAppIcon = (0, import_react22.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
8189
8316
|
rx: 1.7
|
|
8190
8317
|
}
|
|
8191
8318
|
),
|
|
8192
|
-
/* @__PURE__ */ (0,
|
|
8319
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
8193
8320
|
"rect",
|
|
8194
8321
|
{
|
|
8195
8322
|
fill: "none",
|
|
@@ -8202,7 +8329,7 @@ var ActivityAppIcon = (0, import_react22.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
8202
8329
|
rx: 1.7
|
|
8203
8330
|
}
|
|
8204
8331
|
),
|
|
8205
|
-
/* @__PURE__ */ (0,
|
|
8332
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
8206
8333
|
"rect",
|
|
8207
8334
|
{
|
|
8208
8335
|
fill: "none",
|
|
@@ -8219,9 +8346,9 @@ var ActivityAppIcon = (0, import_react22.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
8219
8346
|
|
|
8220
8347
|
// src/components/icons/ArrowLeft.tsx
|
|
8221
8348
|
var import_material50 = require("@mui/material");
|
|
8222
|
-
var
|
|
8349
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
8223
8350
|
var LeftArrowIcon = (props) => {
|
|
8224
|
-
return /* @__PURE__ */ (0,
|
|
8351
|
+
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
8352
|
"path",
|
|
8226
8353
|
{
|
|
8227
8354
|
id: "Vector (Stroke)",
|
|
@@ -8235,9 +8362,9 @@ var LeftArrowIcon = (props) => {
|
|
|
8235
8362
|
|
|
8236
8363
|
// src/components/icons/ArrowRight.tsx
|
|
8237
8364
|
var import_material51 = require("@mui/material");
|
|
8238
|
-
var
|
|
8365
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
8239
8366
|
var RightArrowIcon = (props) => {
|
|
8240
|
-
return /* @__PURE__ */ (0,
|
|
8367
|
+
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
8368
|
"path",
|
|
8242
8369
|
{
|
|
8243
8370
|
fillRule: "evenodd",
|
|
@@ -8250,10 +8377,10 @@ var RightArrowIcon = (props) => {
|
|
|
8250
8377
|
|
|
8251
8378
|
// src/components/icons/AvatarIcon.tsx
|
|
8252
8379
|
var import_material52 = require("@mui/material");
|
|
8253
|
-
var
|
|
8380
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
8254
8381
|
var AvatarIcon = (props) => {
|
|
8255
|
-
return /* @__PURE__ */ (0,
|
|
8256
|
-
/* @__PURE__ */ (0,
|
|
8382
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_material52.SvgIcon, { ...props, viewBox: "0 0 16 16", children: [
|
|
8383
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
8257
8384
|
"path",
|
|
8258
8385
|
{
|
|
8259
8386
|
fillRule: "evenodd",
|
|
@@ -8262,7 +8389,7 @@ var AvatarIcon = (props) => {
|
|
|
8262
8389
|
fill: "#1D1B20"
|
|
8263
8390
|
}
|
|
8264
8391
|
),
|
|
8265
|
-
/* @__PURE__ */ (0,
|
|
8392
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
8266
8393
|
"path",
|
|
8267
8394
|
{
|
|
8268
8395
|
fillRule: "evenodd",
|
|
@@ -8277,9 +8404,9 @@ var AvatarIcon = (props) => {
|
|
|
8277
8404
|
// src/components/icons/BarTrackingIcon.tsx
|
|
8278
8405
|
var import_react23 = require("react");
|
|
8279
8406
|
var import_material53 = require("@mui/material");
|
|
8280
|
-
var
|
|
8281
|
-
var BarTrackingIcon = (0, import_react23.memo)((props) => /* @__PURE__ */ (0,
|
|
8282
|
-
/* @__PURE__ */ (0,
|
|
8407
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
8408
|
+
var BarTrackingIcon = (0, import_react23.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_material53.SvgIcon, { ...props, viewBox: "0 0 96 97", children: [
|
|
8409
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
8283
8410
|
"rect",
|
|
8284
8411
|
{
|
|
8285
8412
|
x: "7.19922",
|
|
@@ -8292,7 +8419,7 @@ var BarTrackingIcon = (0, import_react23.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
8292
8419
|
fill: "none"
|
|
8293
8420
|
}
|
|
8294
8421
|
),
|
|
8295
|
-
/* @__PURE__ */ (0,
|
|
8422
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
8296
8423
|
"rect",
|
|
8297
8424
|
{
|
|
8298
8425
|
x: "21.0371",
|
|
@@ -8305,7 +8432,7 @@ var BarTrackingIcon = (0, import_react23.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
8305
8432
|
strokeWidth: "2"
|
|
8306
8433
|
}
|
|
8307
8434
|
),
|
|
8308
|
-
/* @__PURE__ */ (0,
|
|
8435
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
8309
8436
|
"rect",
|
|
8310
8437
|
{
|
|
8311
8438
|
x: "40.4746",
|
|
@@ -8318,7 +8445,7 @@ var BarTrackingIcon = (0, import_react23.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
8318
8445
|
strokeWidth: "2"
|
|
8319
8446
|
}
|
|
8320
8447
|
),
|
|
8321
|
-
/* @__PURE__ */ (0,
|
|
8448
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
8322
8449
|
"rect",
|
|
8323
8450
|
{
|
|
8324
8451
|
x: "59.8828",
|
|
@@ -8336,8 +8463,8 @@ var BarTrackingIcon = (0, import_react23.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
8336
8463
|
// src/components/icons/ClockIcon.tsx
|
|
8337
8464
|
var import_react24 = require("react");
|
|
8338
8465
|
var import_material54 = require("@mui/material");
|
|
8339
|
-
var
|
|
8340
|
-
var ClockIcon = (0, import_react24.memo)((props) => /* @__PURE__ */ (0,
|
|
8466
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
8467
|
+
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
8468
|
"path",
|
|
8342
8469
|
{
|
|
8343
8470
|
fill: "currentColor",
|
|
@@ -8350,9 +8477,9 @@ var ClockIcon = (0, import_react24.memo)((props) => /* @__PURE__ */ (0, import_j
|
|
|
8350
8477
|
// src/components/icons/CloudFlashIcon.tsx
|
|
8351
8478
|
var import_react25 = require("react");
|
|
8352
8479
|
var import_material55 = require("@mui/material");
|
|
8353
|
-
var
|
|
8354
|
-
var CloudFlashIcon = (0, import_react25.memo)((props) => /* @__PURE__ */ (0,
|
|
8355
|
-
/* @__PURE__ */ (0,
|
|
8480
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
8481
|
+
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: [
|
|
8482
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
8356
8483
|
"path",
|
|
8357
8484
|
{
|
|
8358
8485
|
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 +8488,7 @@ var CloudFlashIcon = (0, import_react25.memo)((props) => /* @__PURE__ */ (0, imp
|
|
|
8361
8488
|
strokeWidth: "2"
|
|
8362
8489
|
}
|
|
8363
8490
|
),
|
|
8364
|
-
/* @__PURE__ */ (0,
|
|
8491
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
8365
8492
|
"path",
|
|
8366
8493
|
{
|
|
8367
8494
|
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 +8502,9 @@ var CloudFlashIcon = (0, import_react25.memo)((props) => /* @__PURE__ */ (0, imp
|
|
|
8375
8502
|
// src/components/icons/DecentralizedServerIcon.tsx
|
|
8376
8503
|
var import_react26 = require("react");
|
|
8377
8504
|
var import_material56 = require("@mui/material");
|
|
8378
|
-
var
|
|
8379
|
-
var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ */ (0,
|
|
8380
|
-
/* @__PURE__ */ (0,
|
|
8505
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
8506
|
+
var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_material56.SvgIcon, { ...props, viewBox: "0 0 96 97", children: [
|
|
8507
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8381
8508
|
"path",
|
|
8382
8509
|
{
|
|
8383
8510
|
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 +8515,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8388
8515
|
strokeLinejoin: "round"
|
|
8389
8516
|
}
|
|
8390
8517
|
),
|
|
8391
|
-
/* @__PURE__ */ (0,
|
|
8518
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8392
8519
|
"path",
|
|
8393
8520
|
{
|
|
8394
8521
|
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 +8526,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8399
8526
|
strokeLinejoin: "round"
|
|
8400
8527
|
}
|
|
8401
8528
|
),
|
|
8402
|
-
/* @__PURE__ */ (0,
|
|
8529
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8403
8530
|
"path",
|
|
8404
8531
|
{
|
|
8405
8532
|
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 +8537,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8410
8537
|
strokeLinejoin: "round"
|
|
8411
8538
|
}
|
|
8412
8539
|
),
|
|
8413
|
-
/* @__PURE__ */ (0,
|
|
8540
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8414
8541
|
"path",
|
|
8415
8542
|
{
|
|
8416
8543
|
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 +8548,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8421
8548
|
strokeLinejoin: "round"
|
|
8422
8549
|
}
|
|
8423
8550
|
),
|
|
8424
|
-
/* @__PURE__ */ (0,
|
|
8551
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8425
8552
|
"path",
|
|
8426
8553
|
{
|
|
8427
8554
|
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 +8559,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8432
8559
|
strokeLinejoin: "round"
|
|
8433
8560
|
}
|
|
8434
8561
|
),
|
|
8435
|
-
/* @__PURE__ */ (0,
|
|
8562
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8436
8563
|
"path",
|
|
8437
8564
|
{
|
|
8438
8565
|
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 +8570,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8443
8570
|
strokeLinejoin: "round"
|
|
8444
8571
|
}
|
|
8445
8572
|
),
|
|
8446
|
-
/* @__PURE__ */ (0,
|
|
8573
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8447
8574
|
"path",
|
|
8448
8575
|
{
|
|
8449
8576
|
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 +8581,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8454
8581
|
strokeLinejoin: "round"
|
|
8455
8582
|
}
|
|
8456
8583
|
),
|
|
8457
|
-
/* @__PURE__ */ (0,
|
|
8584
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8458
8585
|
"path",
|
|
8459
8586
|
{
|
|
8460
8587
|
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 +8592,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8465
8592
|
strokeLinejoin: "round"
|
|
8466
8593
|
}
|
|
8467
8594
|
),
|
|
8468
|
-
/* @__PURE__ */ (0,
|
|
8595
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8469
8596
|
"path",
|
|
8470
8597
|
{
|
|
8471
8598
|
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 +8603,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8476
8603
|
strokeLinejoin: "round"
|
|
8477
8604
|
}
|
|
8478
8605
|
),
|
|
8479
|
-
/* @__PURE__ */ (0,
|
|
8606
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8480
8607
|
"rect",
|
|
8481
8608
|
{
|
|
8482
8609
|
x: "22.623",
|
|
@@ -8489,7 +8616,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8489
8616
|
strokeWidth: "2"
|
|
8490
8617
|
}
|
|
8491
8618
|
),
|
|
8492
|
-
/* @__PURE__ */ (0,
|
|
8619
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8493
8620
|
"rect",
|
|
8494
8621
|
{
|
|
8495
8622
|
x: "22.623",
|
|
@@ -8502,7 +8629,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8502
8629
|
strokeWidth: "2"
|
|
8503
8630
|
}
|
|
8504
8631
|
),
|
|
8505
|
-
/* @__PURE__ */ (0,
|
|
8632
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8506
8633
|
"rect",
|
|
8507
8634
|
{
|
|
8508
8635
|
x: "22.623",
|
|
@@ -8515,7 +8642,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8515
8642
|
strokeWidth: "2"
|
|
8516
8643
|
}
|
|
8517
8644
|
),
|
|
8518
|
-
/* @__PURE__ */ (0,
|
|
8645
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8519
8646
|
"path",
|
|
8520
8647
|
{
|
|
8521
8648
|
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 +8652,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8525
8652
|
strokeMiterlimit: "10"
|
|
8526
8653
|
}
|
|
8527
8654
|
),
|
|
8528
|
-
/* @__PURE__ */ (0,
|
|
8655
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8529
8656
|
"path",
|
|
8530
8657
|
{
|
|
8531
8658
|
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 +8662,7 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8535
8662
|
strokeMiterlimit: "10"
|
|
8536
8663
|
}
|
|
8537
8664
|
),
|
|
8538
|
-
/* @__PURE__ */ (0,
|
|
8665
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
8539
8666
|
"path",
|
|
8540
8667
|
{
|
|
8541
8668
|
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 +8677,8 @@ var DecentralizedServerIcon = (0, import_react26.memo)((props) => /* @__PURE__ *
|
|
|
8550
8677
|
// src/components/icons/DiscordIcon.tsx
|
|
8551
8678
|
var import_react27 = require("react");
|
|
8552
8679
|
var import_material57 = require("@mui/material");
|
|
8553
|
-
var
|
|
8554
|
-
var DiscordIcon = (0, import_react27.memo)((props) => /* @__PURE__ */ (0,
|
|
8680
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
8681
|
+
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
8682
|
"path",
|
|
8556
8683
|
{
|
|
8557
8684
|
fill: "currentColor",
|
|
@@ -8562,16 +8689,16 @@ var DiscordIcon = (0, import_react27.memo)((props) => /* @__PURE__ */ (0, import
|
|
|
8562
8689
|
// src/components/icons/DownloadIcon.tsx
|
|
8563
8690
|
var import_react28 = require("react");
|
|
8564
8691
|
var import_material58 = require("@mui/material");
|
|
8565
|
-
var
|
|
8566
|
-
var DownloadIcon = (0, import_react28.memo)((props) => /* @__PURE__ */ (0,
|
|
8567
|
-
/* @__PURE__ */ (0,
|
|
8692
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
8693
|
+
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: [
|
|
8694
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
8568
8695
|
"path",
|
|
8569
8696
|
{
|
|
8570
8697
|
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
8698
|
fill: "currentColor"
|
|
8572
8699
|
}
|
|
8573
8700
|
),
|
|
8574
|
-
/* @__PURE__ */ (0,
|
|
8701
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
8575
8702
|
"path",
|
|
8576
8703
|
{
|
|
8577
8704
|
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 +8710,11 @@ var DownloadIcon = (0, import_react28.memo)((props) => /* @__PURE__ */ (0, impor
|
|
|
8583
8710
|
// src/components/icons/FilledFolderIcon.tsx
|
|
8584
8711
|
var import_react29 = require("react");
|
|
8585
8712
|
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,
|
|
8713
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
8714
|
+
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: [
|
|
8715
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#FCF8EC" }),
|
|
8716
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E1B43E" }),
|
|
8717
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
8591
8718
|
"path",
|
|
8592
8719
|
{
|
|
8593
8720
|
fillRule: "evenodd",
|
|
@@ -8601,11 +8728,11 @@ var FilledFolderIcon = (0, import_react29.memo)((props) => /* @__PURE__ */ (0, i
|
|
|
8601
8728
|
// src/components/icons/FolderIcon.tsx
|
|
8602
8729
|
var import_react30 = require("react");
|
|
8603
8730
|
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,
|
|
8731
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
8732
|
+
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: [
|
|
8733
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#F5F7FA" }),
|
|
8734
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E6E6E6" }),
|
|
8735
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
8609
8736
|
"path",
|
|
8610
8737
|
{
|
|
8611
8738
|
fillRule: "evenodd",
|
|
@@ -8621,16 +8748,16 @@ var FolderIcon = (0, import_react30.memo)((props) => /* @__PURE__ */ (0, import_
|
|
|
8621
8748
|
// src/components/icons/GithubLogoIcon.tsx
|
|
8622
8749
|
var import_react31 = require("react");
|
|
8623
8750
|
var import_material61 = require("@mui/material");
|
|
8624
|
-
var
|
|
8625
|
-
var GithubLogoIcon = (0, import_react31.memo)((props) => /* @__PURE__ */ (0,
|
|
8626
|
-
/* @__PURE__ */ (0,
|
|
8751
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
8752
|
+
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: [
|
|
8753
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
8627
8754
|
"path",
|
|
8628
8755
|
{
|
|
8629
8756
|
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
8757
|
fill: "white"
|
|
8631
8758
|
}
|
|
8632
8759
|
),
|
|
8633
|
-
/* @__PURE__ */ (0,
|
|
8760
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
8634
8761
|
"path",
|
|
8635
8762
|
{
|
|
8636
8763
|
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 +8769,8 @@ var GithubLogoIcon = (0, import_react31.memo)((props) => /* @__PURE__ */ (0, imp
|
|
|
8642
8769
|
// src/components/icons/ShareIcon.tsx
|
|
8643
8770
|
var import_react32 = require("react");
|
|
8644
8771
|
var import_material62 = require("@mui/material");
|
|
8645
|
-
var
|
|
8646
|
-
var ShareIcon = (0, import_react32.memo)((props) => /* @__PURE__ */ (0,
|
|
8772
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
8773
|
+
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
8774
|
"path",
|
|
8648
8775
|
{
|
|
8649
8776
|
fillRule: "evenodd",
|
|
@@ -8656,9 +8783,9 @@ var ShareIcon = (0, import_react32.memo)((props) => /* @__PURE__ */ (0, import_j
|
|
|
8656
8783
|
// src/components/icons/StorageAppIcon.tsx
|
|
8657
8784
|
var import_react33 = require("react");
|
|
8658
8785
|
var import_material63 = require("@mui/material");
|
|
8659
|
-
var
|
|
8660
|
-
var StorageAppIcon = (0, import_react33.memo)((props) => /* @__PURE__ */ (0,
|
|
8661
|
-
/* @__PURE__ */ (0,
|
|
8786
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
8787
|
+
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: [
|
|
8788
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
8662
8789
|
"path",
|
|
8663
8790
|
{
|
|
8664
8791
|
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 +8794,7 @@ var StorageAppIcon = (0, import_react33.memo)((props) => /* @__PURE__ */ (0, imp
|
|
|
8667
8794
|
fill: "none"
|
|
8668
8795
|
}
|
|
8669
8796
|
),
|
|
8670
|
-
/* @__PURE__ */ (0,
|
|
8797
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
8671
8798
|
"path",
|
|
8672
8799
|
{
|
|
8673
8800
|
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 +8808,8 @@ var StorageAppIcon = (0, import_react33.memo)((props) => /* @__PURE__ */ (0, imp
|
|
|
8681
8808
|
// src/components/icons/UploadFileIcon.tsx
|
|
8682
8809
|
var import_react34 = require("react");
|
|
8683
8810
|
var import_material64 = require("@mui/material");
|
|
8684
|
-
var
|
|
8685
|
-
var UploadFileIcon = (0, import_react34.memo)((props) => /* @__PURE__ */ (0,
|
|
8811
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
8812
|
+
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
8813
|
"path",
|
|
8687
8814
|
{
|
|
8688
8815
|
fillRule: "evenodd",
|
|
@@ -8697,8 +8824,8 @@ var UploadFileIcon = (0, import_react34.memo)((props) => /* @__PURE__ */ (0, imp
|
|
|
8697
8824
|
// src/components/icons/UploadFolderIcon.tsx
|
|
8698
8825
|
var import_react35 = require("react");
|
|
8699
8826
|
var import_material65 = require("@mui/material");
|
|
8700
|
-
var
|
|
8701
|
-
var UploadFolderIcon = (0, import_react35.memo)((props) => /* @__PURE__ */ (0,
|
|
8827
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
8828
|
+
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
8829
|
"path",
|
|
8703
8830
|
{
|
|
8704
8831
|
fillRule: "evenodd",
|
|
@@ -8717,7 +8844,7 @@ var import_github_markdown_light = require("github-markdown-css/github-markdown-
|
|
|
8717
8844
|
var import_react_markdown = __toESM(require("react-markdown"));
|
|
8718
8845
|
var import_rehype_highlight = __toESM(require("rehype-highlight"));
|
|
8719
8846
|
var import_rehype_raw = __toESM(require("rehype-raw"));
|
|
8720
|
-
var
|
|
8847
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
8721
8848
|
var Content = (0, import_material66.styled)(import_material66.Box)(({ theme: theme2 }) => ({
|
|
8722
8849
|
backgroundColor: "transparent",
|
|
8723
8850
|
...theme2.typography.body1,
|
|
@@ -8735,11 +8862,11 @@ var Content = (0, import_material66.styled)(import_material66.Box)(({ theme: the
|
|
|
8735
8862
|
backgroundColor: theme2.palette.background.paper
|
|
8736
8863
|
}
|
|
8737
8864
|
}));
|
|
8738
|
-
var Markdown = ({ content, children }) => /* @__PURE__ */ (0,
|
|
8865
|
+
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
8866
|
|
|
8740
8867
|
// src/components/utilities/OnboardingProvider/OnboardingProvider.tsx
|
|
8741
8868
|
var import_react36 = require("react");
|
|
8742
|
-
var
|
|
8869
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
8743
8870
|
var OnboardingContext = (0, import_react36.createContext)(void 0);
|
|
8744
8871
|
var useOnboarding = () => {
|
|
8745
8872
|
const context = (0, import_react36.useContext)(OnboardingContext);
|
|
@@ -8764,7 +8891,7 @@ var OnboardingProvider = ({ children }) => {
|
|
|
8764
8891
|
setIsOnboardingActive(false);
|
|
8765
8892
|
setTimeout(() => setIsOnboardingActive(true), 0);
|
|
8766
8893
|
}, []);
|
|
8767
|
-
return /* @__PURE__ */ (0,
|
|
8894
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
8768
8895
|
OnboardingContext.Provider,
|
|
8769
8896
|
{
|
|
8770
8897
|
value: {
|
|
@@ -8779,7 +8906,7 @@ var OnboardingProvider = ({ children }) => {
|
|
|
8779
8906
|
};
|
|
8780
8907
|
|
|
8781
8908
|
// src/components/utilities/Truncate/Truncate.tsx
|
|
8782
|
-
var
|
|
8909
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
8783
8910
|
var getDefaultEndingLength = ({ text, variant, maxLength = text.length }) => {
|
|
8784
8911
|
if (variant === "hex") {
|
|
8785
8912
|
return 4;
|
|
@@ -8803,21 +8930,21 @@ var Truncate = ({
|
|
|
8803
8930
|
const truncated = text.slice(0, maxLength - endingLength);
|
|
8804
8931
|
truncatedText = [truncated, ending].filter(Boolean).join("...");
|
|
8805
8932
|
}
|
|
8806
|
-
return /* @__PURE__ */ (0,
|
|
8933
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { ...props, "data-full": text, children: truncatedText });
|
|
8807
8934
|
};
|
|
8808
8935
|
|
|
8809
8936
|
// src/components/utilities/BytesSize/BytesSize.tsx
|
|
8810
8937
|
var import_byte_size = __toESM(require("byte-size"));
|
|
8811
|
-
var
|
|
8938
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
8812
8939
|
var BytesSize = ({ bytes }) => {
|
|
8813
|
-
return /* @__PURE__ */ (0,
|
|
8940
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_jsx_runtime96.Fragment, { children: (0, import_byte_size.default)(bytes).toString() });
|
|
8814
8941
|
};
|
|
8815
8942
|
|
|
8816
8943
|
// src/components/utilities/QRCode/QRCode.tsx
|
|
8817
8944
|
var import_react37 = require("react");
|
|
8818
8945
|
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,
|
|
8946
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
8947
|
+
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
8948
|
QRCode.displayName = "QRCode";
|
|
8822
8949
|
|
|
8823
8950
|
// src/components/charts/ChartWidget/ChartWidget.tsx
|
|
@@ -8825,7 +8952,7 @@ var import_material67 = require("@mui/material");
|
|
|
8825
8952
|
var import_x_charts = require("@mui/x-charts");
|
|
8826
8953
|
var import_byte_size2 = __toESM(require("byte-size"));
|
|
8827
8954
|
var import_date_fns = require("date-fns");
|
|
8828
|
-
var
|
|
8955
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
8829
8956
|
var Chart = (0, import_material67.styled)(import_material67.Box)(() => ({
|
|
8830
8957
|
height: 200
|
|
8831
8958
|
}));
|
|
@@ -8836,10 +8963,10 @@ var ChartWidget = ({
|
|
|
8836
8963
|
formatValue = (value2) => (0, import_byte_size2.default)(value2 || 0).toString()
|
|
8837
8964
|
}) => {
|
|
8838
8965
|
const theme2 = (0, import_material67.useTheme)();
|
|
8839
|
-
return /* @__PURE__ */ (0,
|
|
8840
|
-
/* @__PURE__ */ (0,
|
|
8841
|
-
/* @__PURE__ */ (0,
|
|
8842
|
-
/* @__PURE__ */ (0,
|
|
8966
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_material67.Stack, { spacing: 1, children: [
|
|
8967
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_material67.Typography, { variant: "caption", color: "text.secondary", children: title }),
|
|
8968
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_material67.Typography, { fontWeight: "bold", children: value }),
|
|
8969
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Chart, { children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
8843
8970
|
import_x_charts.LineChart,
|
|
8844
8971
|
{
|
|
8845
8972
|
dataset: history || [],
|
|
@@ -8901,7 +9028,7 @@ var import_material69 = require("@mui/material");
|
|
|
8901
9028
|
|
|
8902
9029
|
// src/components/charts/MetricsChart/PeriodSelect.tsx
|
|
8903
9030
|
var import_material68 = require("@mui/material");
|
|
8904
|
-
var
|
|
9031
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
8905
9032
|
var options = [
|
|
8906
9033
|
/**
|
|
8907
9034
|
* TODO: Enable the options below when the backend supports them
|
|
@@ -8911,7 +9038,7 @@ var options = [
|
|
|
8911
9038
|
{ value: "week", label: "1 week" },
|
|
8912
9039
|
{ value: "month", label: "1 month" }
|
|
8913
9040
|
];
|
|
8914
|
-
var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ (0,
|
|
9041
|
+
var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
8915
9042
|
import_material68.TextField,
|
|
8916
9043
|
{
|
|
8917
9044
|
select: true,
|
|
@@ -8919,13 +9046,13 @@ var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ (0, import_jsx_runti
|
|
|
8919
9046
|
value,
|
|
8920
9047
|
defaultValue: options[0].value,
|
|
8921
9048
|
onChange: (e) => onChange?.(e.target.value),
|
|
8922
|
-
children: options.map(({ value: value2, label }) => /* @__PURE__ */ (0,
|
|
9049
|
+
children: options.map(({ value: value2, label }) => /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_material68.MenuItem, { value: value2, children: label }, value2))
|
|
8923
9050
|
}
|
|
8924
9051
|
);
|
|
8925
9052
|
|
|
8926
9053
|
// src/components/charts/MetricsChart/MetricsChart.tsx
|
|
8927
9054
|
var import_react38 = require("react");
|
|
8928
|
-
var
|
|
9055
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
8929
9056
|
var mapPeriodToFromDate = (period = "month") => {
|
|
8930
9057
|
const date = /* @__PURE__ */ new Date();
|
|
8931
9058
|
if (period === "hour") {
|
|
@@ -8985,15 +9112,15 @@ var MetricsChart = ({ history = [] }) => {
|
|
|
8985
9112
|
const backgroundHeight = textHeight + padding.top + padding.bottom;
|
|
8986
9113
|
const rectX = left + (width - backgroundWidth) / 2;
|
|
8987
9114
|
const rectY = top + (height - backgroundHeight) / 2;
|
|
8988
|
-
return /* @__PURE__ */ (0,
|
|
8989
|
-
/* @__PURE__ */ (0,
|
|
8990
|
-
/* @__PURE__ */ (0,
|
|
9115
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("g", { children: [
|
|
9116
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(NoDataRect, { x: rectX, y: rectY, width: backgroundWidth, height: backgroundHeight }),
|
|
9117
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(LoadingText, { style: { ...theme2.typography.subtitle1 }, x: left + width / 2, y: top + height / 2, children: text })
|
|
8991
9118
|
] });
|
|
8992
9119
|
};
|
|
8993
|
-
return /* @__PURE__ */ (0,
|
|
8994
|
-
/* @__PURE__ */ (0,
|
|
8995
|
-
/* @__PURE__ */ (0,
|
|
8996
|
-
/* @__PURE__ */ (0,
|
|
9120
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.Card, { children: [
|
|
9121
|
+
/* @__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 }) }),
|
|
9122
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.CardMedia, { children: [
|
|
9123
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
8997
9124
|
Chart2,
|
|
8998
9125
|
{
|
|
8999
9126
|
skipAnimation: true,
|
|
@@ -9054,35 +9181,35 @@ var MetricsChart = ({ history = [] }) => {
|
|
|
9054
9181
|
]
|
|
9055
9182
|
}
|
|
9056
9183
|
),
|
|
9057
|
-
periodHistory.length > 0 && /* @__PURE__ */ (0,
|
|
9058
|
-
/* @__PURE__ */ (0,
|
|
9059
|
-
/* @__PURE__ */ (0,
|
|
9060
|
-
/* @__PURE__ */ (0,
|
|
9184
|
+
periodHistory.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.Stack, { direction: "row", spacing: 2, marginY: 3, justifyContent: "center", children: [
|
|
9185
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.Stack, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
9186
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Box, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.primary.main } }),
|
|
9187
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Typography, { variant: "body2", children: "Get" })
|
|
9061
9188
|
] }),
|
|
9062
|
-
/* @__PURE__ */ (0,
|
|
9063
|
-
/* @__PURE__ */ (0,
|
|
9064
|
-
/* @__PURE__ */ (0,
|
|
9189
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.Stack, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
9190
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Box, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.success.main } }),
|
|
9191
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Typography, { variant: "body2", children: "Put" })
|
|
9065
9192
|
] })
|
|
9066
9193
|
] })
|
|
9067
9194
|
] }),
|
|
9068
|
-
/* @__PURE__ */ (0,
|
|
9069
|
-
/* @__PURE__ */ (0,
|
|
9070
|
-
/* @__PURE__ */ (0,
|
|
9071
|
-
/* @__PURE__ */ (0,
|
|
9072
|
-
/* @__PURE__ */ (0,
|
|
9073
|
-
/* @__PURE__ */ (0,
|
|
9195
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.CardMedia, { children: [
|
|
9196
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Divider, { flexItem: true }),
|
|
9197
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.Stack, { direction: "row", spacing: 2, padding: 2, children: [
|
|
9198
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.Stack, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
9199
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Typography, { variant: "body2", color: "secondary", children: "GET Requests per account" }),
|
|
9200
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Typography, { variant: "h3", children: total.gets })
|
|
9074
9201
|
] }),
|
|
9075
|
-
/* @__PURE__ */ (0,
|
|
9076
|
-
/* @__PURE__ */ (0,
|
|
9077
|
-
/* @__PURE__ */ (0,
|
|
9202
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.Stack, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
9203
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Typography, { variant: "body2", color: "secondary", children: "PUT Requests per account" }),
|
|
9204
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Typography, { variant: "h3", children: total.puts })
|
|
9078
9205
|
] }),
|
|
9079
|
-
/* @__PURE__ */ (0,
|
|
9080
|
-
/* @__PURE__ */ (0,
|
|
9081
|
-
/* @__PURE__ */ (0,
|
|
9206
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_material69.Stack, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
9207
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Typography, { variant: "body2", color: "secondary", children: "Total Consumed per account" }),
|
|
9208
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Typography, { variant: "h3", children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(BytesSize, { bytes: total.transferredBytes }) })
|
|
9082
9209
|
] }),
|
|
9083
|
-
/* @__PURE__ */ (0,
|
|
9084
|
-
/* @__PURE__ */ (0,
|
|
9085
|
-
/* @__PURE__ */ (0,
|
|
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: "Total Stored per account" }),
|
|
9212
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_material69.Typography, { variant: "h3", children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(BytesSize, { bytes: total.storedBytes }) })
|
|
9086
9213
|
] })
|
|
9087
9214
|
] })
|
|
9088
9215
|
] })
|
|
@@ -9097,8 +9224,8 @@ var import_date_fns3 = require("date-fns");
|
|
|
9097
9224
|
|
|
9098
9225
|
// src/components/charts/TimeSeriesGraph/TimeRangeSelect.tsx
|
|
9099
9226
|
var import_material70 = require("@mui/material");
|
|
9100
|
-
var
|
|
9101
|
-
var TimeRangeSelect = ({ options: options2, value, onChange }) => /* @__PURE__ */ (0,
|
|
9227
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
9228
|
+
var TimeRangeSelect = ({ options: options2, value, onChange }) => /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
9102
9229
|
import_material70.TextField,
|
|
9103
9230
|
{
|
|
9104
9231
|
select: true,
|
|
@@ -9107,13 +9234,13 @@ var TimeRangeSelect = ({ options: options2, value, onChange }) => /* @__PURE__ *
|
|
|
9107
9234
|
onChange: (e) => onChange?.(e.target.value),
|
|
9108
9235
|
"aria-label": "Time range selector",
|
|
9109
9236
|
sx: { minWidth: 120 },
|
|
9110
|
-
children: options2.map((option) => /* @__PURE__ */ (0,
|
|
9237
|
+
children: options2.map((option) => /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_material70.MenuItem, { value: option.value, children: option.label }, option.value))
|
|
9111
9238
|
}
|
|
9112
9239
|
);
|
|
9113
9240
|
|
|
9114
9241
|
// src/components/charts/TimeSeriesGraph/SummaryStats.tsx
|
|
9115
9242
|
var import_material71 = require("@mui/material");
|
|
9116
|
-
var
|
|
9243
|
+
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
9117
9244
|
var formatSummaryValue = (value, unit) => {
|
|
9118
9245
|
const displayValue = typeof value === "number" ? value.toLocaleString() : value;
|
|
9119
9246
|
return unit ? `${displayValue} ${unit}` : displayValue;
|
|
@@ -9122,7 +9249,7 @@ var SummaryStats = ({ items }) => {
|
|
|
9122
9249
|
if (items.length === 0) {
|
|
9123
9250
|
return null;
|
|
9124
9251
|
}
|
|
9125
|
-
return /* @__PURE__ */ (0,
|
|
9252
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
9126
9253
|
import_material71.Stack,
|
|
9127
9254
|
{
|
|
9128
9255
|
direction: "row",
|
|
@@ -9132,7 +9259,7 @@ var SummaryStats = ({ items }) => {
|
|
|
9132
9259
|
useFlexGap: true,
|
|
9133
9260
|
role: "list",
|
|
9134
9261
|
"aria-label": "Summary statistics",
|
|
9135
|
-
children: items.map((item) => /* @__PURE__ */ (0,
|
|
9262
|
+
children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(
|
|
9136
9263
|
import_material71.Stack,
|
|
9137
9264
|
{
|
|
9138
9265
|
direction: "row",
|
|
@@ -9140,8 +9267,8 @@ var SummaryStats = ({ items }) => {
|
|
|
9140
9267
|
spacing: 1,
|
|
9141
9268
|
role: "listitem",
|
|
9142
9269
|
children: [
|
|
9143
|
-
/* @__PURE__ */ (0,
|
|
9144
|
-
/* @__PURE__ */ (0,
|
|
9270
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_material71.Typography, { variant: "body2", color: "text.secondary", children: item.label }),
|
|
9271
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_material71.Typography, { variant: "h5", fontWeight: 600, children: formatSummaryValue(item.value, item.unit) })
|
|
9145
9272
|
]
|
|
9146
9273
|
},
|
|
9147
9274
|
item.label
|
|
@@ -9151,7 +9278,7 @@ var SummaryStats = ({ items }) => {
|
|
|
9151
9278
|
};
|
|
9152
9279
|
|
|
9153
9280
|
// src/components/charts/TimeSeriesGraph/TimeSeriesGraph.tsx
|
|
9154
|
-
var
|
|
9281
|
+
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
9155
9282
|
var ChartContainer = (0, import_material72.styled)(import_material72.Box)({
|
|
9156
9283
|
position: "relative",
|
|
9157
9284
|
height: 320
|
|
@@ -9255,9 +9382,9 @@ var TimeSeriesGraph = ({
|
|
|
9255
9382
|
);
|
|
9256
9383
|
const hasData = dataset.length > 0;
|
|
9257
9384
|
const shouldShowSummary = showSummary && summaryItems && summaryItems.length > 0;
|
|
9258
|
-
const headerActionElement = /* @__PURE__ */ (0,
|
|
9385
|
+
const headerActionElement = /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_material72.Stack, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
9259
9386
|
headerAction,
|
|
9260
|
-
timeRangeOptions && timeRangeOptions.length > 0 && /* @__PURE__ */ (0,
|
|
9387
|
+
timeRangeOptions && timeRangeOptions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
9261
9388
|
TimeRangeSelect,
|
|
9262
9389
|
{
|
|
9263
9390
|
options: timeRangeOptions,
|
|
@@ -9267,13 +9394,13 @@ var TimeSeriesGraph = ({
|
|
|
9267
9394
|
)
|
|
9268
9395
|
] });
|
|
9269
9396
|
const showHeader = !!title || !!headerAction || timeRangeOptions && timeRangeOptions.length > 0;
|
|
9270
|
-
return /* @__PURE__ */ (0,
|
|
9397
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(
|
|
9271
9398
|
import_material72.Card,
|
|
9272
9399
|
{
|
|
9273
9400
|
"aria-label": title ? `Line chart showing ${title}` : "Line chart",
|
|
9274
9401
|
role: "figure",
|
|
9275
9402
|
children: [
|
|
9276
|
-
showHeader && /* @__PURE__ */ (0,
|
|
9403
|
+
showHeader && /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
9277
9404
|
import_material72.CardHeader,
|
|
9278
9405
|
{
|
|
9279
9406
|
title,
|
|
@@ -9284,10 +9411,10 @@ var TimeSeriesGraph = ({
|
|
|
9284
9411
|
action: headerActionElement
|
|
9285
9412
|
}
|
|
9286
9413
|
),
|
|
9287
|
-
/* @__PURE__ */ (0,
|
|
9288
|
-
/* @__PURE__ */ (0,
|
|
9289
|
-
loading && /* @__PURE__ */ (0,
|
|
9290
|
-
/* @__PURE__ */ (0,
|
|
9414
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_material72.CardMedia, { children: [
|
|
9415
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(ChartContainer, { children: [
|
|
9416
|
+
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 }) }),
|
|
9417
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
9291
9418
|
import_x_charts3.LineChart,
|
|
9292
9419
|
{
|
|
9293
9420
|
dataset,
|
|
@@ -9339,7 +9466,7 @@ var TimeSeriesGraph = ({
|
|
|
9339
9466
|
}
|
|
9340
9467
|
)
|
|
9341
9468
|
] }),
|
|
9342
|
-
series.length > 0 && /* @__PURE__ */ (0,
|
|
9469
|
+
series.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
9343
9470
|
import_material72.Stack,
|
|
9344
9471
|
{
|
|
9345
9472
|
direction: "row",
|
|
@@ -9352,7 +9479,7 @@ var TimeSeriesGraph = ({
|
|
|
9352
9479
|
"aria-label": "Chart legend",
|
|
9353
9480
|
children: series.map((s) => {
|
|
9354
9481
|
const isHidden = hiddenSeries.has(s.name);
|
|
9355
|
-
return /* @__PURE__ */ (0,
|
|
9482
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(
|
|
9356
9483
|
import_material72.Stack,
|
|
9357
9484
|
{
|
|
9358
9485
|
direction: "row",
|
|
@@ -9369,8 +9496,8 @@ var TimeSeriesGraph = ({
|
|
|
9369
9496
|
"aria-pressed": !isHidden,
|
|
9370
9497
|
"aria-label": `Toggle ${s.name} visibility`,
|
|
9371
9498
|
children: [
|
|
9372
|
-
/* @__PURE__ */ (0,
|
|
9373
|
-
/* @__PURE__ */ (0,
|
|
9499
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(LegendDot, { dotColor: s.color }),
|
|
9500
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_material72.Typography, { variant: "body2", children: s.name })
|
|
9374
9501
|
]
|
|
9375
9502
|
},
|
|
9376
9503
|
s.name
|
|
@@ -9379,9 +9506,9 @@ var TimeSeriesGraph = ({
|
|
|
9379
9506
|
}
|
|
9380
9507
|
)
|
|
9381
9508
|
] }),
|
|
9382
|
-
shouldShowSummary && /* @__PURE__ */ (0,
|
|
9383
|
-
/* @__PURE__ */ (0,
|
|
9384
|
-
/* @__PURE__ */ (0,
|
|
9509
|
+
shouldShowSummary && /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_jsx_runtime103.Fragment, { children: [
|
|
9510
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_material72.Divider, {}),
|
|
9511
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(SummaryStats, { items: summaryItems })
|
|
9385
9512
|
] })
|
|
9386
9513
|
]
|
|
9387
9514
|
}
|
|
@@ -9394,7 +9521,7 @@ var import_reactflow = __toESM(require("reactflow"));
|
|
|
9394
9521
|
var import_material73 = require("@mui/material");
|
|
9395
9522
|
var import_styles45 = require("@mui/material/styles");
|
|
9396
9523
|
var import_reactflow2 = require("reactflow");
|
|
9397
|
-
var
|
|
9524
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
9398
9525
|
var FlowEditor = ({
|
|
9399
9526
|
nodes,
|
|
9400
9527
|
edges,
|
|
@@ -9425,7 +9552,7 @@ var FlowEditor = ({
|
|
|
9425
9552
|
[onInit]
|
|
9426
9553
|
);
|
|
9427
9554
|
const { sx: containerSx, ...restContainerProps } = containerProps ?? {};
|
|
9428
|
-
return /* @__PURE__ */ (0,
|
|
9555
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_reactflow.ReactFlowProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
9429
9556
|
import_material73.Box,
|
|
9430
9557
|
{
|
|
9431
9558
|
sx: [
|
|
@@ -9440,7 +9567,7 @@ var FlowEditor = ({
|
|
|
9440
9567
|
...Array.isArray(containerSx) ? containerSx : [containerSx]
|
|
9441
9568
|
],
|
|
9442
9569
|
...restContainerProps,
|
|
9443
|
-
children: /* @__PURE__ */ (0,
|
|
9570
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(
|
|
9444
9571
|
import_reactflow.default,
|
|
9445
9572
|
{
|
|
9446
9573
|
nodes,
|
|
@@ -9463,7 +9590,7 @@ var FlowEditor = ({
|
|
|
9463
9590
|
},
|
|
9464
9591
|
...reactFlowProps,
|
|
9465
9592
|
children: [
|
|
9466
|
-
showBackground && /* @__PURE__ */ (0,
|
|
9593
|
+
showBackground && /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
9467
9594
|
import_reactflow.Background,
|
|
9468
9595
|
{
|
|
9469
9596
|
variant: backgroundVariant,
|
|
@@ -9472,8 +9599,8 @@ var FlowEditor = ({
|
|
|
9472
9599
|
color: theme2.palette.divider
|
|
9473
9600
|
}
|
|
9474
9601
|
),
|
|
9475
|
-
showControls && /* @__PURE__ */ (0,
|
|
9476
|
-
showMinimap && /* @__PURE__ */ (0,
|
|
9602
|
+
showControls && /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_reactflow.Controls, {}),
|
|
9603
|
+
showMinimap && /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
9477
9604
|
import_reactflow.MiniMap,
|
|
9478
9605
|
{
|
|
9479
9606
|
nodeColor: (node) => {
|
|
@@ -9505,7 +9632,7 @@ var import_FullscreenExit = __toESM(require("@mui/icons-material/FullscreenExit"
|
|
|
9505
9632
|
var import_ErrorOutline = __toESM(require("@mui/icons-material/ErrorOutline"));
|
|
9506
9633
|
var import_ExpandMore3 = __toESM(require("@mui/icons-material/ExpandMore"));
|
|
9507
9634
|
var import_ExpandLess = __toESM(require("@mui/icons-material/ExpandLess"));
|
|
9508
|
-
var
|
|
9635
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
9509
9636
|
var configureTypeScript = (monaco) => {
|
|
9510
9637
|
monaco.languages.typescript.typescriptDefaults.setCompilerOptions({
|
|
9511
9638
|
target: monaco.languages.typescript.ScriptTarget.ES2020,
|
|
@@ -9723,7 +9850,7 @@ var CodeEditor = ({
|
|
|
9723
9850
|
theme: themeProp || "vs",
|
|
9724
9851
|
...options2
|
|
9725
9852
|
};
|
|
9726
|
-
return /* @__PURE__ */ (0,
|
|
9853
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
9727
9854
|
import_material74.Box,
|
|
9728
9855
|
{
|
|
9729
9856
|
sx: {
|
|
@@ -9744,7 +9871,7 @@ var CodeEditor = ({
|
|
|
9744
9871
|
pb: isFullscreen ? 2 : 0,
|
|
9745
9872
|
overflow: isFullscreen ? "hidden" : "visible"
|
|
9746
9873
|
},
|
|
9747
|
-
children: /* @__PURE__ */ (0,
|
|
9874
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(
|
|
9748
9875
|
import_material74.Box,
|
|
9749
9876
|
{
|
|
9750
9877
|
sx: {
|
|
@@ -9760,7 +9887,7 @@ var CodeEditor = ({
|
|
|
9760
9887
|
},
|
|
9761
9888
|
...containerProps,
|
|
9762
9889
|
children: [
|
|
9763
|
-
/* @__PURE__ */ (0,
|
|
9890
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_material74.Tooltip, { title: isFullscreen ? "Exit Fullscreen" : "Fullscreen", children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
9764
9891
|
import_material74.IconButton,
|
|
9765
9892
|
{
|
|
9766
9893
|
onClick: toggleFullscreen,
|
|
@@ -9778,10 +9905,10 @@ var CodeEditor = ({
|
|
|
9778
9905
|
},
|
|
9779
9906
|
boxShadow: 1
|
|
9780
9907
|
},
|
|
9781
|
-
children: isFullscreen ? /* @__PURE__ */ (0,
|
|
9908
|
+
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
9909
|
}
|
|
9783
9910
|
) }),
|
|
9784
|
-
/* @__PURE__ */ (0,
|
|
9911
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
9785
9912
|
import_material74.Box,
|
|
9786
9913
|
{
|
|
9787
9914
|
sx: {
|
|
@@ -9793,7 +9920,7 @@ var CodeEditor = ({
|
|
|
9793
9920
|
position: "relative",
|
|
9794
9921
|
height: isFullscreen ? "100%" : actualHeight
|
|
9795
9922
|
},
|
|
9796
|
-
children: /* @__PURE__ */ (0,
|
|
9923
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
9797
9924
|
import_react42.default,
|
|
9798
9925
|
{
|
|
9799
9926
|
height: "100%",
|
|
@@ -9804,7 +9931,7 @@ var CodeEditor = ({
|
|
|
9804
9931
|
onMount: handleEditorDidMount,
|
|
9805
9932
|
theme: themeProp || "vs",
|
|
9806
9933
|
options: defaultOptions,
|
|
9807
|
-
loading: /* @__PURE__ */ (0,
|
|
9934
|
+
loading: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_material74.Box, { sx: { p: 2, textAlign: "center" }, children: "Loading Monaco Editor..." }),
|
|
9808
9935
|
beforeMount: (monaco) => {
|
|
9809
9936
|
console.log("CodeEditor: beforeMount called", { monaco: !!monaco });
|
|
9810
9937
|
}
|
|
@@ -9812,7 +9939,7 @@ var CodeEditor = ({
|
|
|
9812
9939
|
)
|
|
9813
9940
|
}
|
|
9814
9941
|
),
|
|
9815
|
-
validationErrors.length > 0 && /* @__PURE__ */ (0,
|
|
9942
|
+
validationErrors.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(
|
|
9816
9943
|
import_material74.Box,
|
|
9817
9944
|
{
|
|
9818
9945
|
sx: {
|
|
@@ -9826,7 +9953,7 @@ var CodeEditor = ({
|
|
|
9826
9953
|
transition: "max-height 0.2s ease"
|
|
9827
9954
|
},
|
|
9828
9955
|
children: [
|
|
9829
|
-
/* @__PURE__ */ (0,
|
|
9956
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(
|
|
9830
9957
|
import_material74.Box,
|
|
9831
9958
|
{
|
|
9832
9959
|
sx: {
|
|
@@ -9841,15 +9968,15 @@ var CodeEditor = ({
|
|
|
9841
9968
|
color: "text.secondary"
|
|
9842
9969
|
},
|
|
9843
9970
|
children: [
|
|
9844
|
-
/* @__PURE__ */ (0,
|
|
9845
|
-
/* @__PURE__ */ (0,
|
|
9846
|
-
/* @__PURE__ */ (0,
|
|
9971
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_ErrorOutline.default, { color: "error", fontSize: "small" }),
|
|
9972
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_material74.Box, { sx: { fontWeight: 600, color: "text.primary" }, children: "Problems" }),
|
|
9973
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_material74.Box, { sx: { ml: 1 }, children: [
|
|
9847
9974
|
validationErrors.length,
|
|
9848
9975
|
" error",
|
|
9849
9976
|
validationErrors.length > 1 ? "s" : ""
|
|
9850
9977
|
] }),
|
|
9851
|
-
/* @__PURE__ */ (0,
|
|
9852
|
-
/* @__PURE__ */ (0,
|
|
9978
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_material74.Box, { sx: { flex: 1 } }),
|
|
9979
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
9853
9980
|
import_material74.IconButton,
|
|
9854
9981
|
{
|
|
9855
9982
|
size: "small",
|
|
@@ -9858,13 +9985,13 @@ var CodeEditor = ({
|
|
|
9858
9985
|
setHasUserToggledProblems(true);
|
|
9859
9986
|
setShowProblems((s) => !s);
|
|
9860
9987
|
},
|
|
9861
|
-
children: showProblems ? /* @__PURE__ */ (0,
|
|
9988
|
+
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
9989
|
}
|
|
9863
9990
|
)
|
|
9864
9991
|
]
|
|
9865
9992
|
}
|
|
9866
9993
|
),
|
|
9867
|
-
showProblems && /* @__PURE__ */ (0,
|
|
9994
|
+
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
9995
|
import_material74.Box,
|
|
9869
9996
|
{
|
|
9870
9997
|
onClick: () => gotoMarker(error),
|
|
@@ -9881,12 +10008,12 @@ var CodeEditor = ({
|
|
|
9881
10008
|
fontSize: "0.85rem"
|
|
9882
10009
|
},
|
|
9883
10010
|
children: [
|
|
9884
|
-
/* @__PURE__ */ (0,
|
|
9885
|
-
/* @__PURE__ */ (0,
|
|
10011
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_ErrorOutline.default, { color: "error", sx: { fontSize: 18 } }),
|
|
10012
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_material74.Box, { sx: { color: "text.secondary", width: 64 }, children: [
|
|
9886
10013
|
"Line ",
|
|
9887
10014
|
error.startLineNumber
|
|
9888
10015
|
] }),
|
|
9889
|
-
/* @__PURE__ */ (0,
|
|
10016
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_material74.Box, { sx: { color: "text.primary", flex: 1, minWidth: 0 }, children: error.message })
|
|
9890
10017
|
]
|
|
9891
10018
|
},
|
|
9892
10019
|
`${error.startLineNumber}-${error.startColumn}-${index}`
|
|
@@ -9907,7 +10034,7 @@ var import_reactflow4 = require("reactflow");
|
|
|
9907
10034
|
// src/components/third-party/WorkflowNodeHandle.tsx
|
|
9908
10035
|
var import_reactflow3 = require("reactflow");
|
|
9909
10036
|
var import_material75 = require("@mui/material");
|
|
9910
|
-
var
|
|
10037
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
9911
10038
|
var WorkflowNodeHandle = ({
|
|
9912
10039
|
data,
|
|
9913
10040
|
selected
|
|
@@ -9922,9 +10049,9 @@ var WorkflowNodeHandle = ({
|
|
|
9922
10049
|
background: handleColor,
|
|
9923
10050
|
boxShadow: WORKFLOW_NODE_SHADOW
|
|
9924
10051
|
};
|
|
9925
|
-
return /* @__PURE__ */ (0,
|
|
9926
|
-
/* @__PURE__ */ (0,
|
|
9927
|
-
/* @__PURE__ */ (0,
|
|
10052
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_jsx_runtime106.Fragment, { children: [
|
|
10053
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_reactflow3.Handle, { type: "target", position: import_reactflow3.Position.Left, style: handleStyle }),
|
|
10054
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
9928
10055
|
WorkflowNode,
|
|
9929
10056
|
{
|
|
9930
10057
|
nodeType: data.nodeType,
|
|
@@ -9936,7 +10063,7 @@ var WorkflowNodeHandle = ({
|
|
|
9936
10063
|
showSideDots: false
|
|
9937
10064
|
}
|
|
9938
10065
|
),
|
|
9939
|
-
/* @__PURE__ */ (0,
|
|
10066
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_reactflow3.Handle, { type: "source", position: import_reactflow3.Position.Right, style: handleStyle })
|
|
9940
10067
|
] });
|
|
9941
10068
|
};
|
|
9942
10069
|
|
|
@@ -10221,7 +10348,7 @@ function useCodeEditorWorkspace({
|
|
|
10221
10348
|
var import_react44 = __toESM(require("react"));
|
|
10222
10349
|
var import_material76 = require("@mui/material");
|
|
10223
10350
|
var import_Close6 = __toESM(require("@mui/icons-material/Close"));
|
|
10224
|
-
var
|
|
10351
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
10225
10352
|
var CodeEditorTabs = ({
|
|
10226
10353
|
tabs,
|
|
10227
10354
|
activeTab,
|
|
@@ -10231,7 +10358,7 @@ var CodeEditorTabs = ({
|
|
|
10231
10358
|
containerProps
|
|
10232
10359
|
}) => {
|
|
10233
10360
|
if (tabs.length === 0) return null;
|
|
10234
|
-
return /* @__PURE__ */ (0,
|
|
10361
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
10235
10362
|
import_material76.Box,
|
|
10236
10363
|
{
|
|
10237
10364
|
sx: {
|
|
@@ -10250,14 +10377,14 @@ var CodeEditorTabs = ({
|
|
|
10250
10377
|
const isActive = tab.path === activeTab;
|
|
10251
10378
|
const label = tab.label ?? getFileName(tab.path);
|
|
10252
10379
|
if (renderTab) {
|
|
10253
|
-
return /* @__PURE__ */ (0,
|
|
10380
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_react44.default.Fragment, { children: renderTab({
|
|
10254
10381
|
tab,
|
|
10255
10382
|
isActive,
|
|
10256
10383
|
onSelect: () => onTabSelect?.(tab.path),
|
|
10257
10384
|
onClose: () => onTabClose?.(tab.path)
|
|
10258
10385
|
}) }, tab.path);
|
|
10259
10386
|
}
|
|
10260
|
-
return /* @__PURE__ */ (0,
|
|
10387
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
|
|
10261
10388
|
import_material76.Box,
|
|
10262
10389
|
{
|
|
10263
10390
|
onClick: () => onTabSelect?.(tab.path),
|
|
@@ -10280,7 +10407,7 @@ var CodeEditorTabs = ({
|
|
|
10280
10407
|
transition: "background-color 0.15s ease"
|
|
10281
10408
|
},
|
|
10282
10409
|
children: [
|
|
10283
|
-
tab.isDirty && /* @__PURE__ */ (0,
|
|
10410
|
+
tab.isDirty && /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
10284
10411
|
import_material76.Box,
|
|
10285
10412
|
{
|
|
10286
10413
|
sx: {
|
|
@@ -10292,7 +10419,7 @@ var CodeEditorTabs = ({
|
|
|
10292
10419
|
}
|
|
10293
10420
|
}
|
|
10294
10421
|
),
|
|
10295
|
-
tab.syncStatus && /* @__PURE__ */ (0,
|
|
10422
|
+
tab.syncStatus && /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
10296
10423
|
import_material76.Box,
|
|
10297
10424
|
{
|
|
10298
10425
|
component: "span",
|
|
@@ -10306,7 +10433,7 @@ var CodeEditorTabs = ({
|
|
|
10306
10433
|
children: tab.syncStatus === "new" ? "N" : "M"
|
|
10307
10434
|
}
|
|
10308
10435
|
),
|
|
10309
|
-
/* @__PURE__ */ (0,
|
|
10436
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_material76.Tooltip, { title: tab.path, enterDelay: 600, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
10310
10437
|
import_material76.Typography,
|
|
10311
10438
|
{
|
|
10312
10439
|
variant: "body2",
|
|
@@ -10319,7 +10446,7 @@ var CodeEditorTabs = ({
|
|
|
10319
10446
|
children: label
|
|
10320
10447
|
}
|
|
10321
10448
|
) }),
|
|
10322
|
-
onTabClose && /* @__PURE__ */ (0,
|
|
10449
|
+
onTabClose && /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
10323
10450
|
import_material76.IconButton,
|
|
10324
10451
|
{
|
|
10325
10452
|
size: "small",
|
|
@@ -10336,7 +10463,7 @@ var CodeEditorTabs = ({
|
|
|
10336
10463
|
transition: "opacity 0.15s ease"
|
|
10337
10464
|
},
|
|
10338
10465
|
"aria-label": `Close ${label}`,
|
|
10339
|
-
children: /* @__PURE__ */ (0,
|
|
10466
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_Close6.default, { sx: { fontSize: 14 } })
|
|
10340
10467
|
}
|
|
10341
10468
|
)
|
|
10342
10469
|
]
|
|
@@ -10356,7 +10483,7 @@ var import_FolderOpen = __toESM(require("@mui/icons-material/FolderOpen"));
|
|
|
10356
10483
|
var import_InsertDriveFileOutlined = __toESM(require("@mui/icons-material/InsertDriveFileOutlined"));
|
|
10357
10484
|
var import_ExpandMore4 = __toESM(require("@mui/icons-material/ExpandMore"));
|
|
10358
10485
|
var import_ChevronRight6 = __toESM(require("@mui/icons-material/ChevronRight"));
|
|
10359
|
-
var
|
|
10486
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
10360
10487
|
var STATUS_CONFIG = {
|
|
10361
10488
|
new: { label: "N", color: "success.main" },
|
|
10362
10489
|
modified: { label: "M", color: "warning.main" },
|
|
@@ -10405,7 +10532,7 @@ var CodeEditorFileTree = ({
|
|
|
10405
10532
|
const isExpanded = expandedPaths.has(node.path);
|
|
10406
10533
|
const isSelected = node.path === selectedPath;
|
|
10407
10534
|
if (renderNode) {
|
|
10408
|
-
return /* @__PURE__ */ (0,
|
|
10535
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_react45.default.Fragment, { children: [
|
|
10409
10536
|
renderNode({
|
|
10410
10537
|
node,
|
|
10411
10538
|
depth,
|
|
@@ -10423,8 +10550,8 @@ var CodeEditorFileTree = ({
|
|
|
10423
10550
|
isFolder && isExpanded && node.children?.map((child) => renderTreeNode(child, depth + 1))
|
|
10424
10551
|
] }, node.path);
|
|
10425
10552
|
}
|
|
10426
|
-
return /* @__PURE__ */ (0,
|
|
10427
|
-
/* @__PURE__ */ (0,
|
|
10553
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_react45.default.Fragment, { children: [
|
|
10554
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
|
|
10428
10555
|
import_material77.ListItemButton,
|
|
10429
10556
|
{
|
|
10430
10557
|
selected: isSelected,
|
|
@@ -10445,9 +10572,9 @@ var CodeEditorFileTree = ({
|
|
|
10445
10572
|
}
|
|
10446
10573
|
},
|
|
10447
10574
|
children: [
|
|
10448
|
-
isFolder && /* @__PURE__ */ (0,
|
|
10449
|
-
/* @__PURE__ */ (0,
|
|
10450
|
-
/* @__PURE__ */ (0,
|
|
10575
|
+
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 } }) }),
|
|
10576
|
+
/* @__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" } })) }),
|
|
10577
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
10451
10578
|
import_material77.ListItemText,
|
|
10452
10579
|
{
|
|
10453
10580
|
primary: node.name,
|
|
@@ -10468,7 +10595,7 @@ var CodeEditorFileTree = ({
|
|
|
10468
10595
|
const effectiveStatus = isFolder ? computeFolderStatus(node) : node.status;
|
|
10469
10596
|
if (!effectiveStatus) return null;
|
|
10470
10597
|
const cfg = STATUS_CONFIG[effectiveStatus];
|
|
10471
|
-
return /* @__PURE__ */ (0,
|
|
10598
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
10472
10599
|
import_material77.Box,
|
|
10473
10600
|
{
|
|
10474
10601
|
component: "span",
|
|
@@ -10488,10 +10615,10 @@ var CodeEditorFileTree = ({
|
|
|
10488
10615
|
]
|
|
10489
10616
|
}
|
|
10490
10617
|
),
|
|
10491
|
-
isFolder && /* @__PURE__ */ (0,
|
|
10618
|
+
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
10619
|
] }, node.path);
|
|
10493
10620
|
};
|
|
10494
|
-
return /* @__PURE__ */ (0,
|
|
10621
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
10495
10622
|
import_material77.Box,
|
|
10496
10623
|
{
|
|
10497
10624
|
sx: {
|
|
@@ -10504,14 +10631,14 @@ var CodeEditorFileTree = ({
|
|
|
10504
10631
|
bgcolor: "background.default"
|
|
10505
10632
|
},
|
|
10506
10633
|
...containerProps,
|
|
10507
|
-
children: /* @__PURE__ */ (0,
|
|
10634
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_material77.List, { dense: true, disablePadding: true, children: tree.map((node) => renderTreeNode(node, 0)) })
|
|
10508
10635
|
}
|
|
10509
10636
|
);
|
|
10510
10637
|
};
|
|
10511
10638
|
|
|
10512
10639
|
// src/components/third-party/CodeEditorWorkspace/CodeEditorStatusBar.tsx
|
|
10513
10640
|
var import_material78 = require("@mui/material");
|
|
10514
|
-
var
|
|
10641
|
+
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
10515
10642
|
var LANGUAGE_LABELS = {
|
|
10516
10643
|
typescript: "TypeScript",
|
|
10517
10644
|
javascript: "JavaScript",
|
|
@@ -10535,11 +10662,11 @@ var CodeEditorStatusBar = ({
|
|
|
10535
10662
|
containerProps
|
|
10536
10663
|
}) => {
|
|
10537
10664
|
if (renderStatusBar) {
|
|
10538
|
-
return /* @__PURE__ */ (0,
|
|
10665
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_jsx_runtime109.Fragment, { children: renderStatusBar({ gitInfo, language, cursorPosition, items }) });
|
|
10539
10666
|
}
|
|
10540
10667
|
const leftItems = items?.filter((i) => i.align !== "right") ?? [];
|
|
10541
10668
|
const rightItems = items?.filter((i) => i.align === "right") ?? [];
|
|
10542
|
-
return /* @__PURE__ */ (0,
|
|
10669
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(
|
|
10543
10670
|
import_material78.Box,
|
|
10544
10671
|
{
|
|
10545
10672
|
sx: {
|
|
@@ -10560,8 +10687,8 @@ var CodeEditorStatusBar = ({
|
|
|
10560
10687
|
},
|
|
10561
10688
|
...containerProps,
|
|
10562
10689
|
children: [
|
|
10563
|
-
/* @__PURE__ */ (0,
|
|
10564
|
-
gitInfo && /* @__PURE__ */ (0,
|
|
10690
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_material78.Box, { sx: { display: "flex", alignItems: "center", gap: 1.5, overflow: "hidden" }, children: [
|
|
10691
|
+
gitInfo && /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
10565
10692
|
import_material78.Tooltip,
|
|
10566
10693
|
{
|
|
10567
10694
|
title: [
|
|
@@ -10571,7 +10698,7 @@ var CodeEditorStatusBar = ({
|
|
|
10571
10698
|
gitInfo.behind != null && `\u2193 ${gitInfo.behind} behind`
|
|
10572
10699
|
].filter(Boolean).join(" \xB7 ") || gitInfo.branch,
|
|
10573
10700
|
enterDelay: 400,
|
|
10574
|
-
children: /* @__PURE__ */ (0,
|
|
10701
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(
|
|
10575
10702
|
import_material78.Box,
|
|
10576
10703
|
{
|
|
10577
10704
|
onClick: onBranchClick,
|
|
@@ -10584,7 +10711,7 @@ var CodeEditorStatusBar = ({
|
|
|
10584
10711
|
"&:hover": onBranchClick ? { opacity: 0.8 } : void 0
|
|
10585
10712
|
},
|
|
10586
10713
|
children: [
|
|
10587
|
-
/* @__PURE__ */ (0,
|
|
10714
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
10588
10715
|
"svg",
|
|
10589
10716
|
{
|
|
10590
10717
|
width: "14",
|
|
@@ -10592,7 +10719,7 @@ var CodeEditorStatusBar = ({
|
|
|
10592
10719
|
viewBox: "0 0 16 16",
|
|
10593
10720
|
fill: "currentColor",
|
|
10594
10721
|
style: { flexShrink: 0 },
|
|
10595
|
-
children: /* @__PURE__ */ (0,
|
|
10722
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
10596
10723
|
"path",
|
|
10597
10724
|
{
|
|
10598
10725
|
fillRule: "evenodd",
|
|
@@ -10601,7 +10728,7 @@ var CodeEditorStatusBar = ({
|
|
|
10601
10728
|
)
|
|
10602
10729
|
}
|
|
10603
10730
|
),
|
|
10604
|
-
/* @__PURE__ */ (0,
|
|
10731
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
10605
10732
|
import_material78.Typography,
|
|
10606
10733
|
{
|
|
10607
10734
|
variant: "caption",
|
|
@@ -10618,7 +10745,7 @@ var CodeEditorStatusBar = ({
|
|
|
10618
10745
|
children: gitInfo.branch
|
|
10619
10746
|
}
|
|
10620
10747
|
),
|
|
10621
|
-
gitInfo.isDirty && /* @__PURE__ */ (0,
|
|
10748
|
+
gitInfo.isDirty && /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
10622
10749
|
import_material78.Box,
|
|
10623
10750
|
{
|
|
10624
10751
|
component: "span",
|
|
@@ -10631,11 +10758,11 @@ var CodeEditorStatusBar = ({
|
|
|
10631
10758
|
}
|
|
10632
10759
|
}
|
|
10633
10760
|
),
|
|
10634
|
-
gitInfo.ahead != null && gitInfo.ahead > 0 && /* @__PURE__ */ (0,
|
|
10761
|
+
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
10762
|
"\u2191",
|
|
10636
10763
|
gitInfo.ahead
|
|
10637
10764
|
] }),
|
|
10638
|
-
gitInfo.behind != null && gitInfo.behind > 0 && /* @__PURE__ */ (0,
|
|
10765
|
+
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
10766
|
"\u2193",
|
|
10640
10767
|
gitInfo.behind
|
|
10641
10768
|
] })
|
|
@@ -10644,11 +10771,11 @@ var CodeEditorStatusBar = ({
|
|
|
10644
10771
|
)
|
|
10645
10772
|
}
|
|
10646
10773
|
),
|
|
10647
|
-
leftItems.map((item) => /* @__PURE__ */ (0,
|
|
10774
|
+
leftItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(StatusBarItemElement, { item }, item.id))
|
|
10648
10775
|
] }),
|
|
10649
|
-
/* @__PURE__ */ (0,
|
|
10650
|
-
rightItems.map((item) => /* @__PURE__ */ (0,
|
|
10651
|
-
cursorPosition && /* @__PURE__ */ (0,
|
|
10776
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_material78.Box, { sx: { display: "flex", alignItems: "center", gap: 1.5, overflow: "hidden" }, children: [
|
|
10777
|
+
rightItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(StatusBarItemElement, { item }, item.id)),
|
|
10778
|
+
cursorPosition && /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(
|
|
10652
10779
|
import_material78.Typography,
|
|
10653
10780
|
{
|
|
10654
10781
|
variant: "caption",
|
|
@@ -10661,7 +10788,7 @@ var CodeEditorStatusBar = ({
|
|
|
10661
10788
|
]
|
|
10662
10789
|
}
|
|
10663
10790
|
),
|
|
10664
|
-
language && /* @__PURE__ */ (0,
|
|
10791
|
+
language && /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
10665
10792
|
import_material78.Typography,
|
|
10666
10793
|
{
|
|
10667
10794
|
variant: "caption",
|
|
@@ -10675,7 +10802,7 @@ var CodeEditorStatusBar = ({
|
|
|
10675
10802
|
);
|
|
10676
10803
|
};
|
|
10677
10804
|
var StatusBarItemElement = ({ item }) => {
|
|
10678
|
-
const inner = /* @__PURE__ */ (0,
|
|
10805
|
+
const inner = /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
10679
10806
|
import_material78.Box,
|
|
10680
10807
|
{
|
|
10681
10808
|
onClick: item.onClick,
|
|
@@ -10687,7 +10814,7 @@ var StatusBarItemElement = ({ item }) => {
|
|
|
10687
10814
|
whiteSpace: "nowrap",
|
|
10688
10815
|
"&:hover": item.onClick ? { opacity: 0.8 } : void 0
|
|
10689
10816
|
},
|
|
10690
|
-
children: typeof item.content === "string" ? /* @__PURE__ */ (0,
|
|
10817
|
+
children: typeof item.content === "string" ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
10691
10818
|
import_material78.Typography,
|
|
10692
10819
|
{
|
|
10693
10820
|
variant: "caption",
|
|
@@ -10698,20 +10825,20 @@ var StatusBarItemElement = ({ item }) => {
|
|
|
10698
10825
|
}
|
|
10699
10826
|
);
|
|
10700
10827
|
if (item.tooltip) {
|
|
10701
|
-
return /* @__PURE__ */ (0,
|
|
10828
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_material78.Tooltip, { title: item.tooltip, enterDelay: 400, children: inner });
|
|
10702
10829
|
}
|
|
10703
10830
|
return inner;
|
|
10704
10831
|
};
|
|
10705
10832
|
|
|
10706
10833
|
// src/components/third-party/CodeEditorWorkspace/CodeEditorWelcomeScreen.tsx
|
|
10707
10834
|
var import_material79 = require("@mui/material");
|
|
10708
|
-
var
|
|
10835
|
+
var import_jsx_runtime110 = require("react/jsx-runtime");
|
|
10709
10836
|
var CodeEditorWelcomeScreen = ({
|
|
10710
10837
|
logo,
|
|
10711
10838
|
children,
|
|
10712
10839
|
containerProps
|
|
10713
10840
|
}) => {
|
|
10714
|
-
const defaultLogo = /* @__PURE__ */ (0,
|
|
10841
|
+
const defaultLogo = /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
10715
10842
|
CereIcon,
|
|
10716
10843
|
{
|
|
10717
10844
|
sx: {
|
|
@@ -10721,7 +10848,7 @@ var CodeEditorWelcomeScreen = ({
|
|
|
10721
10848
|
}
|
|
10722
10849
|
}
|
|
10723
10850
|
);
|
|
10724
|
-
return /* @__PURE__ */ (0,
|
|
10851
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(
|
|
10725
10852
|
import_material79.Box,
|
|
10726
10853
|
{
|
|
10727
10854
|
sx: {
|
|
@@ -10737,7 +10864,7 @@ var CodeEditorWelcomeScreen = ({
|
|
|
10737
10864
|
...containerProps,
|
|
10738
10865
|
children: [
|
|
10739
10866
|
logo !== void 0 ? logo : defaultLogo,
|
|
10740
|
-
children && /* @__PURE__ */ (0,
|
|
10867
|
+
children && /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
10741
10868
|
import_material79.Box,
|
|
10742
10869
|
{
|
|
10743
10870
|
sx: {
|
|
@@ -10757,7 +10884,7 @@ var CodeEditorWelcomeScreen = ({
|
|
|
10757
10884
|
// src/components/third-party/CodeEditorWorkspace/CodeEditorWorkspace.tsx
|
|
10758
10885
|
var import_react46 = __toESM(require("react"));
|
|
10759
10886
|
var import_material80 = require("@mui/material");
|
|
10760
|
-
var
|
|
10887
|
+
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
10761
10888
|
var CodeEditorWorkspace = ({
|
|
10762
10889
|
files,
|
|
10763
10890
|
initialOpenPaths,
|
|
@@ -10822,7 +10949,7 @@ var CodeEditorWorkspace = ({
|
|
|
10822
10949
|
onTabSelect: workspace.setActiveFile,
|
|
10823
10950
|
onTabClose: workspace.closeFile
|
|
10824
10951
|
};
|
|
10825
|
-
const tabsElement = showTabs ? renderTabs ? renderTabs({ ...tabsProps, workspace }) : /* @__PURE__ */ (0,
|
|
10952
|
+
const tabsElement = showTabs ? renderTabs ? renderTabs({ ...tabsProps, workspace }) : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(CodeEditorTabs, { ...tabsProps }) : null;
|
|
10826
10953
|
const fileTreeProps = {
|
|
10827
10954
|
tree: fileTree ?? [],
|
|
10828
10955
|
selectedPath: workspace.activeFilePath,
|
|
@@ -10830,7 +10957,7 @@ var CodeEditorWorkspace = ({
|
|
|
10830
10957
|
defaultExpandedPaths,
|
|
10831
10958
|
width: fileTreeWidth
|
|
10832
10959
|
};
|
|
10833
|
-
const fileTreeElement = hasFileTree ? renderFileTree ? renderFileTree({ ...fileTreeProps, workspace }) : /* @__PURE__ */ (0,
|
|
10960
|
+
const fileTreeElement = hasFileTree ? renderFileTree ? renderFileTree({ ...fileTreeProps, workspace }) : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(CodeEditorFileTree, { ...fileTreeProps }) : null;
|
|
10834
10961
|
const statusBarProps = {
|
|
10835
10962
|
gitInfo,
|
|
10836
10963
|
language: workspace.activeFile?.language,
|
|
@@ -10838,9 +10965,9 @@ var CodeEditorWorkspace = ({
|
|
|
10838
10965
|
items: statusBarItems,
|
|
10839
10966
|
onBranchClick
|
|
10840
10967
|
};
|
|
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,
|
|
10968
|
+
const statusBarElement = showStatusBar ? renderStatusBar ? renderStatusBar({ ...statusBarProps, workspace }) : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(CodeEditorStatusBar, { ...statusBarProps }) : null;
|
|
10969
|
+
const welcomeElement = renderWelcomeScreen ? renderWelcomeScreen(workspace) : welcomeScreen !== void 0 ? welcomeScreen : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(CodeEditorWelcomeScreen, { ...welcomeScreenProps });
|
|
10970
|
+
const editorElement = renderEditor ? renderEditor(workspace) : workspace.activeFile ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10844
10971
|
CodeEditor,
|
|
10845
10972
|
{
|
|
10846
10973
|
value: workspace.activeFile.value,
|
|
@@ -10859,7 +10986,7 @@ var CodeEditorWorkspace = ({
|
|
|
10859
10986
|
...editorProps
|
|
10860
10987
|
}
|
|
10861
10988
|
) : welcomeElement;
|
|
10862
|
-
return /* @__PURE__ */ (0,
|
|
10989
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(
|
|
10863
10990
|
import_material80.Box,
|
|
10864
10991
|
{
|
|
10865
10992
|
sx: {
|
|
@@ -10874,9 +11001,9 @@ var CodeEditorWorkspace = ({
|
|
|
10874
11001
|
...containerProps,
|
|
10875
11002
|
children: [
|
|
10876
11003
|
fileTreeElement,
|
|
10877
|
-
/* @__PURE__ */ (0,
|
|
11004
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_material80.Box, { sx: { flex: 1, display: "flex", flexDirection: "column", minWidth: 0, overflow: "hidden" }, children: [
|
|
10878
11005
|
tabsElement,
|
|
10879
|
-
/* @__PURE__ */ (0,
|
|
11006
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_material80.Box, { sx: { flex: 1, overflow: "hidden" }, children: editorElement }),
|
|
10880
11007
|
statusBarElement
|
|
10881
11008
|
] })
|
|
10882
11009
|
]
|
|
@@ -10952,7 +11079,9 @@ var CodeEditorWorkspace = ({
|
|
|
10952
11079
|
FormControlLabel,
|
|
10953
11080
|
FormHelperText,
|
|
10954
11081
|
FormLabel,
|
|
11082
|
+
GRADIENT_PALETTE_COUNT,
|
|
10955
11083
|
GithubLogoIcon,
|
|
11084
|
+
GradientSurface,
|
|
10956
11085
|
Grid,
|
|
10957
11086
|
IDBlock,
|
|
10958
11087
|
IconButton,
|
|
@@ -10991,6 +11120,7 @@ var CodeEditorWorkspace = ({
|
|
|
10991
11120
|
RoleBadge,
|
|
10992
11121
|
ScrollableRow,
|
|
10993
11122
|
SearchField,
|
|
11123
|
+
SectionRow,
|
|
10994
11124
|
Selector,
|
|
10995
11125
|
ServiceSelectorButton,
|
|
10996
11126
|
ShareIcon,
|