@cere/cere-design-system 0.0.19 → 0.0.20
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 +289 -5
- package/dist/index.d.ts +289 -5
- package/dist/index.js +888 -480
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +943 -540
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -92,7 +92,54 @@ var deploymentSurfaceTokens = {
|
|
|
92
92
|
/** Workspace card shadow */
|
|
93
93
|
workspaceShadow: "0px 8px 12px rgba(26, 10, 124, 0.1)",
|
|
94
94
|
/** Hover state for context menu items */
|
|
95
|
-
hoverLight: "#F0F1FF"
|
|
95
|
+
hoverLight: "#F0F1FF",
|
|
96
|
+
/** Generic hover overlay (buttons, icon-buttons, rows) */
|
|
97
|
+
hoverOverlay: "rgba(0, 0, 0, 0.04)",
|
|
98
|
+
/** Blue-50 highlight background for active menu items (Figma blue-50) */
|
|
99
|
+
highlightBg: "#f5f6ff",
|
|
100
|
+
/** Blue-50 highlight background hover state */
|
|
101
|
+
highlightBgHover: "#eceeff",
|
|
102
|
+
/** Blue-100 highlight border for active menu items (Figma blue-100) */
|
|
103
|
+
highlightBorder: "#cbcffb",
|
|
104
|
+
/** Switch track enabled (Figma basic/green #53b96a) */
|
|
105
|
+
switchGreen: "#53b96a",
|
|
106
|
+
/** Switch track disabled/off (Figma neutral track) */
|
|
107
|
+
switchTrackOff: "#e0e0e0"
|
|
108
|
+
};
|
|
109
|
+
var robPrimaryPalette = {
|
|
110
|
+
/** Primary magenta/pink - Figma node 11-1394 */
|
|
111
|
+
fandango: "#BD32A7",
|
|
112
|
+
/** Vivid purple - Figma node 11-1407 */
|
|
113
|
+
electricViolet: "#8B00EC",
|
|
114
|
+
/** Mid-tone purple - Figma node 11-1420 */
|
|
115
|
+
ultraViolet: "#6750A4",
|
|
116
|
+
/** Light lavender - Figma node 11-1433 */
|
|
117
|
+
periwinkle: "#D0BCFF"
|
|
118
|
+
};
|
|
119
|
+
var robPaletteExtended = {
|
|
120
|
+
// Dark shades (6 colors)
|
|
121
|
+
dark1: "#280e61",
|
|
122
|
+
dark2: "#531584",
|
|
123
|
+
dark3: "#710c7a",
|
|
124
|
+
dark4: "#920269",
|
|
125
|
+
dark5: "#c71454",
|
|
126
|
+
dark6: "#ff6341",
|
|
127
|
+
// Bright shades (4 colors)
|
|
128
|
+
bright1: "#5311e3",
|
|
129
|
+
bright2: "#eb03ff",
|
|
130
|
+
bright3: "#ff17ab",
|
|
131
|
+
bright4: "#ff6a85",
|
|
132
|
+
// Light shades (5 colors)
|
|
133
|
+
light1: "#baa0f4",
|
|
134
|
+
light2: "#d399fc",
|
|
135
|
+
light3: "#f79aff",
|
|
136
|
+
light4: "#faabde",
|
|
137
|
+
light5: "#ffc4ce",
|
|
138
|
+
// Near-black shades (4 colors)
|
|
139
|
+
nearBlack1: "#0b0f18",
|
|
140
|
+
nearBlack2: "#0d0627",
|
|
141
|
+
nearBlack3: "#161d30",
|
|
142
|
+
nearBlack4: "#23194b"
|
|
96
143
|
};
|
|
97
144
|
var baseTheme = createTheme({
|
|
98
145
|
palette: {
|
|
@@ -4259,11 +4306,151 @@ var Chip2 = ({
|
|
|
4259
4306
|
return /* @__PURE__ */ jsx28(StyledDefaultChip, { ...props });
|
|
4260
4307
|
};
|
|
4261
4308
|
|
|
4262
|
-
// src/components/feedback/
|
|
4263
|
-
import
|
|
4309
|
+
// src/components/feedback/RoleBadge.tsx
|
|
4310
|
+
import MuiChip2 from "@mui/material/Chip";
|
|
4264
4311
|
import { styled as styled18 } from "@mui/material/styles";
|
|
4265
4312
|
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
4266
|
-
var
|
|
4313
|
+
var StyledRoleBadge = styled18(MuiChip2)(() => ({
|
|
4314
|
+
// Pill shape - 100px border radius
|
|
4315
|
+
borderRadius: "100px",
|
|
4316
|
+
// Typography specifications from Figma
|
|
4317
|
+
fontSize: "13px",
|
|
4318
|
+
fontWeight: 400,
|
|
4319
|
+
lineHeight: "18px",
|
|
4320
|
+
letterSpacing: "0.16px",
|
|
4321
|
+
// Padding specifications from Figma
|
|
4322
|
+
padding: "3px 4px",
|
|
4323
|
+
height: "auto",
|
|
4324
|
+
// Outlined style (no background fill)
|
|
4325
|
+
"& .MuiChip-label": {
|
|
4326
|
+
padding: "0 8px"
|
|
4327
|
+
}
|
|
4328
|
+
}));
|
|
4329
|
+
var RoleBadge = ({
|
|
4330
|
+
label,
|
|
4331
|
+
color = "primary",
|
|
4332
|
+
size: size3 = "small",
|
|
4333
|
+
...props
|
|
4334
|
+
}) => {
|
|
4335
|
+
if (!label || label.trim() === "") {
|
|
4336
|
+
return null;
|
|
4337
|
+
}
|
|
4338
|
+
return /* @__PURE__ */ jsx29(
|
|
4339
|
+
StyledRoleBadge,
|
|
4340
|
+
{
|
|
4341
|
+
label,
|
|
4342
|
+
variant: "outlined",
|
|
4343
|
+
color,
|
|
4344
|
+
size: size3,
|
|
4345
|
+
...props
|
|
4346
|
+
}
|
|
4347
|
+
);
|
|
4348
|
+
};
|
|
4349
|
+
|
|
4350
|
+
// src/components/feedback/IDBlock.tsx
|
|
4351
|
+
import Box9 from "@mui/material/Box";
|
|
4352
|
+
import Typography7 from "@mui/material/Typography";
|
|
4353
|
+
import IconButton6 from "@mui/material/IconButton";
|
|
4354
|
+
import ContentCopyIcon from "@mui/icons-material/ContentCopy";
|
|
4355
|
+
import { styled as styled19 } from "@mui/material/styles";
|
|
4356
|
+
import { jsx as jsx30, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
4357
|
+
var IDContainer = styled19(Box9)(() => ({
|
|
4358
|
+
display: "inline-flex",
|
|
4359
|
+
alignItems: "center",
|
|
4360
|
+
gap: "4px",
|
|
4361
|
+
padding: "8px 16px",
|
|
4362
|
+
backgroundColor: deploymentSurfaceTokens.surfaceHigh,
|
|
4363
|
+
border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
|
|
4364
|
+
borderRadius: "8px"
|
|
4365
|
+
}));
|
|
4366
|
+
var IDBlock = ({
|
|
4367
|
+
id,
|
|
4368
|
+
label = "ID",
|
|
4369
|
+
entityType = "entity",
|
|
4370
|
+
onCopy
|
|
4371
|
+
}) => {
|
|
4372
|
+
const { showMessage } = useMessages();
|
|
4373
|
+
if (!id || id.trim() === "") {
|
|
4374
|
+
return null;
|
|
4375
|
+
}
|
|
4376
|
+
const handleCopy = async () => {
|
|
4377
|
+
try {
|
|
4378
|
+
await navigator.clipboard.writeText(id);
|
|
4379
|
+
showMessage({
|
|
4380
|
+
message: "ID copied to clipboard",
|
|
4381
|
+
appearance: "success",
|
|
4382
|
+
autoDismiss: true
|
|
4383
|
+
});
|
|
4384
|
+
onCopy?.();
|
|
4385
|
+
} catch {
|
|
4386
|
+
showMessage({
|
|
4387
|
+
message: "Failed to copy ID",
|
|
4388
|
+
appearance: "error",
|
|
4389
|
+
autoDismiss: true
|
|
4390
|
+
});
|
|
4391
|
+
}
|
|
4392
|
+
};
|
|
4393
|
+
return /* @__PURE__ */ jsxs12(IDContainer, { children: [
|
|
4394
|
+
/* @__PURE__ */ jsxs12(
|
|
4395
|
+
Typography7,
|
|
4396
|
+
{
|
|
4397
|
+
variant: "body2",
|
|
4398
|
+
sx: {
|
|
4399
|
+
fontSize: "13px",
|
|
4400
|
+
fontWeight: 500,
|
|
4401
|
+
color: deploymentSurfaceTokens.textSecondary
|
|
4402
|
+
},
|
|
4403
|
+
children: [
|
|
4404
|
+
label,
|
|
4405
|
+
":"
|
|
4406
|
+
]
|
|
4407
|
+
}
|
|
4408
|
+
),
|
|
4409
|
+
/* @__PURE__ */ jsx30(
|
|
4410
|
+
Typography7,
|
|
4411
|
+
{
|
|
4412
|
+
variant: "body2",
|
|
4413
|
+
sx: {
|
|
4414
|
+
fontSize: "13px",
|
|
4415
|
+
fontWeight: 500,
|
|
4416
|
+
color: deploymentSurfaceTokens.textPrimary,
|
|
4417
|
+
userSelect: "all"
|
|
4418
|
+
// Allow easy text selection
|
|
4419
|
+
},
|
|
4420
|
+
children: id
|
|
4421
|
+
}
|
|
4422
|
+
),
|
|
4423
|
+
/* @__PURE__ */ jsx30(
|
|
4424
|
+
IconButton6,
|
|
4425
|
+
{
|
|
4426
|
+
onClick: handleCopy,
|
|
4427
|
+
size: "small",
|
|
4428
|
+
"aria-label": `Copy ${entityType} ID ${id}`,
|
|
4429
|
+
sx: {
|
|
4430
|
+
padding: "4px",
|
|
4431
|
+
"&:hover": {
|
|
4432
|
+
backgroundColor: deploymentSurfaceTokens.hoverOverlay
|
|
4433
|
+
}
|
|
4434
|
+
},
|
|
4435
|
+
children: /* @__PURE__ */ jsx30(
|
|
4436
|
+
ContentCopyIcon,
|
|
4437
|
+
{
|
|
4438
|
+
sx: {
|
|
4439
|
+
fontSize: "16px",
|
|
4440
|
+
color: deploymentSurfaceTokens.textSecondary
|
|
4441
|
+
}
|
|
4442
|
+
}
|
|
4443
|
+
)
|
|
4444
|
+
}
|
|
4445
|
+
)
|
|
4446
|
+
] });
|
|
4447
|
+
};
|
|
4448
|
+
|
|
4449
|
+
// src/components/feedback/Tooltip.tsx
|
|
4450
|
+
import MuiTooltip from "@mui/material/Tooltip";
|
|
4451
|
+
import { styled as styled20 } from "@mui/material/styles";
|
|
4452
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
4453
|
+
var StyledTooltip = styled20(MuiTooltip)({
|
|
4267
4454
|
"& .MuiTooltip-tooltip": {
|
|
4268
4455
|
backgroundColor: colors.grey[800],
|
|
4269
4456
|
color: "#FFFFFF",
|
|
@@ -4276,17 +4463,17 @@ var StyledTooltip = styled18(MuiTooltip)({
|
|
|
4276
4463
|
}
|
|
4277
4464
|
});
|
|
4278
4465
|
var Tooltip6 = (props) => {
|
|
4279
|
-
return /* @__PURE__ */
|
|
4466
|
+
return /* @__PURE__ */ jsx31(StyledTooltip, { ...props });
|
|
4280
4467
|
};
|
|
4281
4468
|
|
|
4282
4469
|
// src/components/feedback/Progress.tsx
|
|
4283
4470
|
import {
|
|
4284
4471
|
LinearProgress,
|
|
4285
4472
|
CircularProgress,
|
|
4286
|
-
styled as
|
|
4473
|
+
styled as styled21
|
|
4287
4474
|
} from "@mui/material";
|
|
4288
|
-
import { jsx as
|
|
4289
|
-
var StyledLinearProgress =
|
|
4475
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
4476
|
+
var StyledLinearProgress = styled21(LinearProgress)({
|
|
4290
4477
|
height: 4,
|
|
4291
4478
|
borderRadius: 2,
|
|
4292
4479
|
backgroundColor: colors.grey[200],
|
|
@@ -4295,7 +4482,7 @@ var StyledLinearProgress = styled19(LinearProgress)({
|
|
|
4295
4482
|
borderRadius: 2
|
|
4296
4483
|
}
|
|
4297
4484
|
});
|
|
4298
|
-
var StyledCircularProgress =
|
|
4485
|
+
var StyledCircularProgress = styled21(CircularProgress)({
|
|
4299
4486
|
color: colors.primary.main
|
|
4300
4487
|
});
|
|
4301
4488
|
var Progress = ({
|
|
@@ -4305,9 +4492,9 @@ var Progress = ({
|
|
|
4305
4492
|
thickness = 4
|
|
4306
4493
|
}) => {
|
|
4307
4494
|
if (variant === "circular") {
|
|
4308
|
-
return /* @__PURE__ */
|
|
4495
|
+
return /* @__PURE__ */ jsx32(StyledCircularProgress, { size: size3, thickness });
|
|
4309
4496
|
}
|
|
4310
|
-
return /* @__PURE__ */
|
|
4497
|
+
return /* @__PURE__ */ jsx32(
|
|
4311
4498
|
StyledLinearProgress,
|
|
4312
4499
|
{
|
|
4313
4500
|
variant: value !== void 0 ? "determinate" : "indeterminate",
|
|
@@ -4318,9 +4505,9 @@ var Progress = ({
|
|
|
4318
4505
|
|
|
4319
4506
|
// src/components/navigation/Tab.tsx
|
|
4320
4507
|
import MuiTab from "@mui/material/Tab";
|
|
4321
|
-
import { styled as
|
|
4322
|
-
import { jsx as
|
|
4323
|
-
var StyledTab =
|
|
4508
|
+
import { styled as styled22 } from "@mui/material/styles";
|
|
4509
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
4510
|
+
var StyledTab = styled22(MuiTab)({
|
|
4324
4511
|
textTransform: "none",
|
|
4325
4512
|
minHeight: "48px",
|
|
4326
4513
|
fontWeight: 400,
|
|
@@ -4341,8 +4528,8 @@ var Tab = ({
|
|
|
4341
4528
|
label,
|
|
4342
4529
|
...props
|
|
4343
4530
|
}) => {
|
|
4344
|
-
const tabLabel = badge !== void 0 ? /* @__PURE__ */
|
|
4345
|
-
return /* @__PURE__ */
|
|
4531
|
+
const tabLabel = badge !== void 0 ? /* @__PURE__ */ jsx33(Badge, { variant: badgeVariant, badgeContent: badge, children: label }) : label;
|
|
4532
|
+
return /* @__PURE__ */ jsx33(StyledTab, { label: tabLabel, ...props });
|
|
4346
4533
|
};
|
|
4347
4534
|
|
|
4348
4535
|
// src/components/navigation/Menu.tsx
|
|
@@ -4353,9 +4540,9 @@ import {
|
|
|
4353
4540
|
ListItemText as ListItemText5,
|
|
4354
4541
|
Divider
|
|
4355
4542
|
} from "@mui/material";
|
|
4356
|
-
import { styled as
|
|
4357
|
-
import { Fragment as Fragment5, jsx as
|
|
4358
|
-
var StyledMenu =
|
|
4543
|
+
import { styled as styled23 } from "@mui/material/styles";
|
|
4544
|
+
import { Fragment as Fragment5, jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
4545
|
+
var StyledMenu = styled23(MuiMenu)({
|
|
4359
4546
|
"& .MuiPaper-root": {
|
|
4360
4547
|
borderRadius: 8,
|
|
4361
4548
|
boxShadow: "0px 4px 12px rgba(0, 0, 0, 0.15)",
|
|
@@ -4369,7 +4556,7 @@ var StyledMenu = styled21(MuiMenu)({
|
|
|
4369
4556
|
}
|
|
4370
4557
|
});
|
|
4371
4558
|
var Menu3 = ({ anchorEl, onClose, children, ...props }) => {
|
|
4372
|
-
return /* @__PURE__ */
|
|
4559
|
+
return /* @__PURE__ */ jsx34(
|
|
4373
4560
|
StyledMenu,
|
|
4374
4561
|
{
|
|
4375
4562
|
anchorEl,
|
|
@@ -4395,20 +4582,20 @@ var MenuItem = ({
|
|
|
4395
4582
|
disabled = false,
|
|
4396
4583
|
divider = false
|
|
4397
4584
|
}) => {
|
|
4398
|
-
return /* @__PURE__ */
|
|
4399
|
-
/* @__PURE__ */
|
|
4400
|
-
icon && /* @__PURE__ */
|
|
4401
|
-
/* @__PURE__ */
|
|
4585
|
+
return /* @__PURE__ */ jsxs13(Fragment5, { children: [
|
|
4586
|
+
/* @__PURE__ */ jsxs13(MuiMenuItem, { onClick, disabled, children: [
|
|
4587
|
+
icon && /* @__PURE__ */ jsx34(ListItemIcon3, { children: icon }),
|
|
4588
|
+
/* @__PURE__ */ jsx34(ListItemText5, { children: label })
|
|
4402
4589
|
] }),
|
|
4403
|
-
divider && /* @__PURE__ */
|
|
4590
|
+
divider && /* @__PURE__ */ jsx34(Divider, {})
|
|
4404
4591
|
] });
|
|
4405
4592
|
};
|
|
4406
4593
|
|
|
4407
4594
|
// src/components/navigation/Pagination.tsx
|
|
4408
4595
|
import MuiPagination from "@mui/material/Pagination";
|
|
4409
|
-
import { styled as
|
|
4410
|
-
import { jsx as
|
|
4411
|
-
var StyledPagination =
|
|
4596
|
+
import { styled as styled24 } from "@mui/material/styles";
|
|
4597
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
4598
|
+
var StyledPagination = styled24(MuiPagination)({
|
|
4412
4599
|
"& .MuiPaginationItem-root": {
|
|
4413
4600
|
"&.Mui-selected": {
|
|
4414
4601
|
backgroundColor: colors.primary.main,
|
|
@@ -4423,14 +4610,14 @@ var StyledPagination = styled22(MuiPagination)({
|
|
|
4423
4610
|
}
|
|
4424
4611
|
});
|
|
4425
4612
|
var Pagination = ({ color = "primary", ...props }) => {
|
|
4426
|
-
return /* @__PURE__ */
|
|
4613
|
+
return /* @__PURE__ */ jsx35(StyledPagination, { color, ...props });
|
|
4427
4614
|
};
|
|
4428
4615
|
|
|
4429
4616
|
// src/components/navigation/Selector.tsx
|
|
4430
4617
|
import { useState as useState6 } from "react";
|
|
4431
4618
|
import {
|
|
4432
|
-
Box as
|
|
4433
|
-
Typography as
|
|
4619
|
+
Box as Box10,
|
|
4620
|
+
Typography as Typography8,
|
|
4434
4621
|
Avatar as Avatar4,
|
|
4435
4622
|
Menu as Menu4,
|
|
4436
4623
|
InputAdornment as InputAdornment5,
|
|
@@ -4446,20 +4633,20 @@ import AddIcon3 from "@mui/icons-material/Add";
|
|
|
4446
4633
|
|
|
4447
4634
|
// src/components/layout/Link.tsx
|
|
4448
4635
|
import MuiLink from "@mui/material/Link";
|
|
4449
|
-
import { styled as
|
|
4450
|
-
import { jsx as
|
|
4451
|
-
var StyledLink =
|
|
4636
|
+
import { styled as styled25 } from "@mui/material/styles";
|
|
4637
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
4638
|
+
var StyledLink = styled25(MuiLink)({
|
|
4452
4639
|
color: colors.primary.main,
|
|
4453
4640
|
"&:hover": {
|
|
4454
4641
|
color: colors.primary.light
|
|
4455
4642
|
}
|
|
4456
4643
|
});
|
|
4457
4644
|
var Link3 = ({ underline = "hover", ...props }) => {
|
|
4458
|
-
return /* @__PURE__ */
|
|
4645
|
+
return /* @__PURE__ */ jsx36(StyledLink, { underline, ...props });
|
|
4459
4646
|
};
|
|
4460
4647
|
|
|
4461
4648
|
// src/components/navigation/Selector.tsx
|
|
4462
|
-
import { Fragment as Fragment6, jsx as
|
|
4649
|
+
import { Fragment as Fragment6, jsx as jsx37, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
4463
4650
|
var Selector = ({
|
|
4464
4651
|
options: options2,
|
|
4465
4652
|
selectedId,
|
|
@@ -4491,14 +4678,14 @@ var Selector = ({
|
|
|
4491
4678
|
onSelect(id);
|
|
4492
4679
|
handleClose();
|
|
4493
4680
|
};
|
|
4494
|
-
const defaultRenderSelected = (option) => /* @__PURE__ */
|
|
4495
|
-
option.avatar ? /* @__PURE__ */
|
|
4496
|
-
/* @__PURE__ */
|
|
4681
|
+
const defaultRenderSelected = (option) => /* @__PURE__ */ jsxs14(Box10, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
4682
|
+
option.avatar ? /* @__PURE__ */ jsx37(Avatar4, { src: option.avatar, sx: { width: 20, height: 20 } }) : option.icon ? option.icon : /* @__PURE__ */ jsx37(Avatar4, { sx: { width: 20, height: 20, bgcolor: colors.primary.main, fontSize: "0.7rem" }, children: option.name.charAt(0) }),
|
|
4683
|
+
/* @__PURE__ */ jsx37(Typography8, { variant: "body2", children: option.name })
|
|
4497
4684
|
] });
|
|
4498
4685
|
if (compact) {
|
|
4499
|
-
return /* @__PURE__ */
|
|
4500
|
-
/* @__PURE__ */
|
|
4501
|
-
/* @__PURE__ */
|
|
4686
|
+
return /* @__PURE__ */ jsxs14(Fragment6, { children: [
|
|
4687
|
+
/* @__PURE__ */ jsx37(IconButton, { onClick: handleOpen, size: "small", children: selectedOption ? selectedOption.avatar ? /* @__PURE__ */ jsx37(Avatar4, { src: selectedOption.avatar, sx: { width: 32, height: 32 } }) : /* @__PURE__ */ jsx37(Avatar4, { sx: { width: 32, height: 32, bgcolor: colors.primary.main }, children: selectedOption.name.charAt(0) }) : /* @__PURE__ */ jsx37(Avatar4, { sx: { width: 32, height: 32, bgcolor: colors.grey[400] }, children: "?" }) }),
|
|
4688
|
+
/* @__PURE__ */ jsx37(
|
|
4502
4689
|
Menu4,
|
|
4503
4690
|
{
|
|
4504
4691
|
anchorEl,
|
|
@@ -4507,8 +4694,8 @@ var Selector = ({
|
|
|
4507
4694
|
PaperProps: {
|
|
4508
4695
|
sx: { width, maxHeight: 600, mt: 1 }
|
|
4509
4696
|
},
|
|
4510
|
-
children: loading ? /* @__PURE__ */
|
|
4511
|
-
options2.length > 5 && /* @__PURE__ */
|
|
4697
|
+
children: loading ? /* @__PURE__ */ jsx37(Box10, { sx: { display: "flex", justifyContent: "center", p: 2 }, children: /* @__PURE__ */ jsx37(CircularProgress2, { size: 24 }) }) : /* @__PURE__ */ jsxs14(Fragment6, { children: [
|
|
4698
|
+
options2.length > 5 && /* @__PURE__ */ jsx37(Box10, { sx: { p: 1, borderBottom: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx37(
|
|
4512
4699
|
TextField,
|
|
4513
4700
|
{
|
|
4514
4701
|
size: "small",
|
|
@@ -4517,31 +4704,31 @@ var Selector = ({
|
|
|
4517
4704
|
value: searchTerm,
|
|
4518
4705
|
onChange: (e) => setSearchTerm(e.target.value),
|
|
4519
4706
|
InputProps: {
|
|
4520
|
-
startAdornment: /* @__PURE__ */
|
|
4707
|
+
startAdornment: /* @__PURE__ */ jsx37(InputAdornment5, { position: "start", children: /* @__PURE__ */ jsx37(SearchIcon4, { fontSize: "small" }) })
|
|
4521
4708
|
}
|
|
4522
4709
|
}
|
|
4523
4710
|
) }),
|
|
4524
|
-
/* @__PURE__ */
|
|
4525
|
-
filteredOptions.map((option) => /* @__PURE__ */
|
|
4711
|
+
/* @__PURE__ */ jsxs14(List5, { sx: { maxHeight: 400, overflow: "auto" }, children: [
|
|
4712
|
+
filteredOptions.map((option) => /* @__PURE__ */ jsxs14(
|
|
4526
4713
|
ListItemButton3,
|
|
4527
4714
|
{
|
|
4528
4715
|
selected: option.id === selectedId,
|
|
4529
4716
|
onClick: () => handleSelect(option.id),
|
|
4530
4717
|
disabled: option.disabled,
|
|
4531
4718
|
children: [
|
|
4532
|
-
option.avatar ? /* @__PURE__ */
|
|
4533
|
-
/* @__PURE__ */
|
|
4719
|
+
option.avatar ? /* @__PURE__ */ jsx37(ListItemAvatar3, { children: /* @__PURE__ */ jsx37(Avatar4, { src: option.avatar }) }) : option.icon ? /* @__PURE__ */ jsx37(ListItemAvatar3, { children: option.icon }) : /* @__PURE__ */ jsx37(ListItemAvatar3, { children: /* @__PURE__ */ jsx37(Avatar4, { sx: { bgcolor: colors.primary.main }, children: option.name.charAt(0) }) }),
|
|
4720
|
+
/* @__PURE__ */ jsx37(ListItemText6, { primary: option.name, secondary: option.description })
|
|
4534
4721
|
]
|
|
4535
4722
|
},
|
|
4536
4723
|
option.id
|
|
4537
4724
|
)),
|
|
4538
|
-
filteredOptions.length === 0 && /* @__PURE__ */
|
|
4725
|
+
filteredOptions.length === 0 && /* @__PURE__ */ jsx37(Box10, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx37(Typography8, { variant: "body2", color: "text.secondary", children: emptyMessage }) })
|
|
4539
4726
|
] }),
|
|
4540
|
-
onCreate && /* @__PURE__ */
|
|
4727
|
+
onCreate && /* @__PURE__ */ jsx37(Box10, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx37(
|
|
4541
4728
|
Button,
|
|
4542
4729
|
{
|
|
4543
4730
|
fullWidth: true,
|
|
4544
|
-
startIcon: /* @__PURE__ */
|
|
4731
|
+
startIcon: /* @__PURE__ */ jsx37(AddIcon3, {}),
|
|
4545
4732
|
onClick: () => {
|
|
4546
4733
|
onCreate();
|
|
4547
4734
|
handleClose();
|
|
@@ -4554,12 +4741,12 @@ var Selector = ({
|
|
|
4554
4741
|
)
|
|
4555
4742
|
] });
|
|
4556
4743
|
}
|
|
4557
|
-
return /* @__PURE__ */
|
|
4558
|
-
/* @__PURE__ */
|
|
4559
|
-
selectedOption ? renderSelected ? /* @__PURE__ */
|
|
4560
|
-
/* @__PURE__ */
|
|
4744
|
+
return /* @__PURE__ */ jsxs14(Fragment6, { children: [
|
|
4745
|
+
/* @__PURE__ */ jsxs14(Box10, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
|
|
4746
|
+
selectedOption ? renderSelected ? /* @__PURE__ */ jsx37(Link3, { onClick: handleOpen, underline: "hover", children: renderSelected(selectedOption) }) : /* @__PURE__ */ jsx37(Link3, { onClick: handleOpen, underline: "hover", children: defaultRenderSelected(selectedOption) }) : /* @__PURE__ */ jsx37(Typography8, { variant: "body2", color: "text.secondary", children: placeholder }),
|
|
4747
|
+
/* @__PURE__ */ jsx37(IconButton, { onClick: handleOpen, size: "small", sx: { p: 0.2, ml: 0.5 }, children: /* @__PURE__ */ jsx37(KeyboardArrowDownIcon3, { fontSize: "small" }) })
|
|
4561
4748
|
] }),
|
|
4562
|
-
/* @__PURE__ */
|
|
4749
|
+
/* @__PURE__ */ jsx37(
|
|
4563
4750
|
Menu4,
|
|
4564
4751
|
{
|
|
4565
4752
|
anchorEl,
|
|
@@ -4568,8 +4755,8 @@ var Selector = ({
|
|
|
4568
4755
|
PaperProps: {
|
|
4569
4756
|
sx: { width, maxHeight: 600, mt: 1 }
|
|
4570
4757
|
},
|
|
4571
|
-
children: loading ? /* @__PURE__ */
|
|
4572
|
-
options2.length > 5 && /* @__PURE__ */
|
|
4758
|
+
children: loading ? /* @__PURE__ */ jsx37(Box10, { sx: { display: "flex", justifyContent: "center", p: 2 }, children: /* @__PURE__ */ jsx37(CircularProgress2, { size: 24 }) }) : /* @__PURE__ */ jsxs14(Fragment6, { children: [
|
|
4759
|
+
options2.length > 5 && /* @__PURE__ */ jsx37(Box10, { sx: { p: 1, borderBottom: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx37(
|
|
4573
4760
|
TextField,
|
|
4574
4761
|
{
|
|
4575
4762
|
size: "small",
|
|
@@ -4578,31 +4765,31 @@ var Selector = ({
|
|
|
4578
4765
|
value: searchTerm,
|
|
4579
4766
|
onChange: (e) => setSearchTerm(e.target.value),
|
|
4580
4767
|
InputProps: {
|
|
4581
|
-
startAdornment: /* @__PURE__ */
|
|
4768
|
+
startAdornment: /* @__PURE__ */ jsx37(InputAdornment5, { position: "start", children: /* @__PURE__ */ jsx37(SearchIcon4, { fontSize: "small" }) })
|
|
4582
4769
|
}
|
|
4583
4770
|
}
|
|
4584
4771
|
) }),
|
|
4585
|
-
/* @__PURE__ */
|
|
4586
|
-
filteredOptions.map((option) => /* @__PURE__ */
|
|
4772
|
+
/* @__PURE__ */ jsxs14(List5, { sx: { maxHeight: 400, overflow: "auto" }, children: [
|
|
4773
|
+
filteredOptions.map((option) => /* @__PURE__ */ jsxs14(
|
|
4587
4774
|
ListItemButton3,
|
|
4588
4775
|
{
|
|
4589
4776
|
selected: option.id === selectedId,
|
|
4590
4777
|
onClick: () => handleSelect(option.id),
|
|
4591
4778
|
disabled: option.disabled,
|
|
4592
4779
|
children: [
|
|
4593
|
-
option.avatar ? /* @__PURE__ */
|
|
4594
|
-
/* @__PURE__ */
|
|
4780
|
+
option.avatar ? /* @__PURE__ */ jsx37(ListItemAvatar3, { children: /* @__PURE__ */ jsx37(Avatar4, { src: option.avatar }) }) : option.icon ? /* @__PURE__ */ jsx37(ListItemAvatar3, { children: option.icon }) : /* @__PURE__ */ jsx37(ListItemAvatar3, { children: /* @__PURE__ */ jsx37(Avatar4, { sx: { bgcolor: colors.primary.main }, children: option.name.charAt(0) }) }),
|
|
4781
|
+
/* @__PURE__ */ jsx37(ListItemText6, { primary: option.name, secondary: option.description })
|
|
4595
4782
|
]
|
|
4596
4783
|
},
|
|
4597
4784
|
option.id
|
|
4598
4785
|
)),
|
|
4599
|
-
filteredOptions.length === 0 && /* @__PURE__ */
|
|
4786
|
+
filteredOptions.length === 0 && /* @__PURE__ */ jsx37(Box10, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx37(Typography8, { variant: "body2", color: "text.secondary", children: emptyMessage }) })
|
|
4600
4787
|
] }),
|
|
4601
|
-
onCreate && /* @__PURE__ */
|
|
4788
|
+
onCreate && /* @__PURE__ */ jsx37(Box10, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx37(
|
|
4602
4789
|
Button,
|
|
4603
4790
|
{
|
|
4604
4791
|
fullWidth: true,
|
|
4605
|
-
startIcon: /* @__PURE__ */
|
|
4792
|
+
startIcon: /* @__PURE__ */ jsx37(AddIcon3, {}),
|
|
4606
4793
|
onClick: () => {
|
|
4607
4794
|
onCreate();
|
|
4608
4795
|
handleClose();
|
|
@@ -4617,40 +4804,196 @@ var Selector = ({
|
|
|
4617
4804
|
};
|
|
4618
4805
|
|
|
4619
4806
|
// src/components/layout/Logo.tsx
|
|
4620
|
-
import { Stack as Stack2, styled as
|
|
4807
|
+
import { Stack as Stack2, styled as styled26, svgIconClasses } from "@mui/material";
|
|
4621
4808
|
|
|
4622
4809
|
// src/components/icons/CereIcon.tsx
|
|
4623
4810
|
import { memo } from "react";
|
|
4624
4811
|
import { SvgIcon } from "@mui/material";
|
|
4625
|
-
import { jsx as
|
|
4626
|
-
var CereIcon = memo((props) => /* @__PURE__ */
|
|
4627
|
-
/* @__PURE__ */
|
|
4812
|
+
import { jsx as jsx38, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
4813
|
+
var CereIcon = memo((props) => /* @__PURE__ */ jsxs15(SvgIcon, { ...props, viewBox: "0 0 24 28", children: [
|
|
4814
|
+
/* @__PURE__ */ jsx38("g", { clipPath: "url(#a)", children: /* @__PURE__ */ jsx38(
|
|
4628
4815
|
"path",
|
|
4629
4816
|
{
|
|
4630
4817
|
d: "M12.77 26.848c-5.95 0-10.572-2.88-12.063-7.515l-.334-1.037.978-.471c.103-.051 2.668-1.35 2.509-3.901-.169-2.695-2.339-3.96-2.431-4.012L.475 9.37l.412-1.025C2.838 3.601 7.28.77 12.77.77c4.314 0 8.095 1.698 10.37 4.658l.575.748-4.535 6.146-1.013-.984c-.02-.019-2.175-2.069-4.678-2.08-2.411-.012-3.362.902-3.401.941L8.3 8.473c.164-.175 1.695-1.733 5.199-1.707 2.232.01 4.161 1.084 5.3 1.896l1.778-2.41c-1.845-1.91-4.636-2.99-7.808-2.99-4.095 0-7.459 1.91-9.182 5.155 1.042.879 2.57 2.62 2.742 5.35.185 2.95-1.692 4.806-2.913 5.692 1.445 3.043 4.932 4.895 9.354 4.895 3.063 0 6.198-1.2 8.134-3.053l-2.023-2.55c-1.077.768-2.917 1.764-5.323 1.89-3.416.177-5.436-1.404-5.52-1.471l1.536-1.954c.047.035 1.42 1.065 3.855.936 2.884-.15 4.734-2.012 4.75-2.032l.98-1.002.874 1.094 4.088 5.155-.627.779c-2.3 2.856-6.508 4.702-10.726 4.702Z",
|
|
4631
4818
|
fill: "currentColor"
|
|
4632
4819
|
}
|
|
4633
4820
|
) }),
|
|
4634
|
-
/* @__PURE__ */
|
|
4821
|
+
/* @__PURE__ */ jsx38("defs", { children: /* @__PURE__ */ jsx38("clipPath", { id: "a", children: /* @__PURE__ */ jsx38("path", { fill: "currentColor", transform: "translate(.373 .77)", d: "M0 0h23.615v26.36H0z" }) }) })
|
|
4635
4822
|
] }));
|
|
4636
4823
|
|
|
4637
4824
|
// src/components/layout/Logo.tsx
|
|
4638
|
-
import { jsx as
|
|
4825
|
+
import { jsx as jsx39, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
4639
4826
|
var sizesMap = {
|
|
4640
4827
|
large: 38,
|
|
4641
4828
|
medium: 32,
|
|
4642
4829
|
small: 24
|
|
4643
4830
|
};
|
|
4644
|
-
var Container =
|
|
4831
|
+
var Container = styled26(Stack2)({
|
|
4645
4832
|
[`& .${svgIconClasses.root}`]: {
|
|
4646
4833
|
fontSize: "inherit"
|
|
4647
4834
|
}
|
|
4648
4835
|
});
|
|
4649
|
-
var Logo = ({ children, size: size3 = "medium", icon = /* @__PURE__ */
|
|
4836
|
+
var Logo = ({ children, size: size3 = "medium", icon = /* @__PURE__ */ jsx39(CereIcon, { color: "primary" }) }) => /* @__PURE__ */ jsxs16(Container, { direction: "row", alignItems: "center", spacing: 2, fontSize: sizesMap[size3], children: [
|
|
4650
4837
|
icon,
|
|
4651
|
-
children && /* @__PURE__ */
|
|
4838
|
+
children && /* @__PURE__ */ jsx39(Stack2, { children })
|
|
4652
4839
|
] });
|
|
4653
4840
|
|
|
4841
|
+
// src/components/layout/EntityHeader/EntityHeader.tsx
|
|
4842
|
+
import Box11 from "@mui/material/Box";
|
|
4843
|
+
import Typography9 from "@mui/material/Typography";
|
|
4844
|
+
import IconButton7 from "@mui/material/IconButton";
|
|
4845
|
+
import Divider2 from "@mui/material/Divider";
|
|
4846
|
+
import MoreHorizIcon from "@mui/icons-material/MoreHoriz";
|
|
4847
|
+
import { jsx as jsx40, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
4848
|
+
var EntityHeader = ({
|
|
4849
|
+
title,
|
|
4850
|
+
subtitle,
|
|
4851
|
+
role,
|
|
4852
|
+
id,
|
|
4853
|
+
primaryAction,
|
|
4854
|
+
onCopyId,
|
|
4855
|
+
onMoreOptions,
|
|
4856
|
+
headingLevel = "h2",
|
|
4857
|
+
divider = true
|
|
4858
|
+
}) => {
|
|
4859
|
+
const getPrimaryActionLabel = () => {
|
|
4860
|
+
if (!primaryAction) return "";
|
|
4861
|
+
const { label, count } = primaryAction;
|
|
4862
|
+
return count !== void 0 ? `${label} (${count})` : label;
|
|
4863
|
+
};
|
|
4864
|
+
return /* @__PURE__ */ jsxs17(Box11, { children: [
|
|
4865
|
+
/* @__PURE__ */ jsxs17(
|
|
4866
|
+
Box11,
|
|
4867
|
+
{
|
|
4868
|
+
sx: {
|
|
4869
|
+
display: "flex",
|
|
4870
|
+
alignItems: "center",
|
|
4871
|
+
justifyContent: "space-between",
|
|
4872
|
+
px: 3,
|
|
4873
|
+
py: 2,
|
|
4874
|
+
gap: 1
|
|
4875
|
+
},
|
|
4876
|
+
children: [
|
|
4877
|
+
/* @__PURE__ */ jsxs17(
|
|
4878
|
+
Box11,
|
|
4879
|
+
{
|
|
4880
|
+
sx: {
|
|
4881
|
+
display: "flex",
|
|
4882
|
+
alignItems: "center",
|
|
4883
|
+
gap: 1,
|
|
4884
|
+
flexWrap: "wrap"
|
|
4885
|
+
},
|
|
4886
|
+
children: [
|
|
4887
|
+
/* @__PURE__ */ jsxs17(
|
|
4888
|
+
Box11,
|
|
4889
|
+
{
|
|
4890
|
+
sx: {
|
|
4891
|
+
display: "flex",
|
|
4892
|
+
flexDirection: "column",
|
|
4893
|
+
gap: 0.5
|
|
4894
|
+
},
|
|
4895
|
+
children: [
|
|
4896
|
+
/* @__PURE__ */ jsx40(
|
|
4897
|
+
Typography9,
|
|
4898
|
+
{
|
|
4899
|
+
component: headingLevel,
|
|
4900
|
+
sx: {
|
|
4901
|
+
fontSize: "16px",
|
|
4902
|
+
fontWeight: 500,
|
|
4903
|
+
lineHeight: "24px",
|
|
4904
|
+
letterSpacing: "0.15px",
|
|
4905
|
+
color: deploymentSurfaceTokens.textPrimary
|
|
4906
|
+
},
|
|
4907
|
+
children: title
|
|
4908
|
+
}
|
|
4909
|
+
),
|
|
4910
|
+
subtitle && /* @__PURE__ */ jsx40(
|
|
4911
|
+
Typography9,
|
|
4912
|
+
{
|
|
4913
|
+
variant: "body2",
|
|
4914
|
+
sx: {
|
|
4915
|
+
fontSize: "11px",
|
|
4916
|
+
fontWeight: 500,
|
|
4917
|
+
lineHeight: "16px",
|
|
4918
|
+
letterSpacing: "0.5px",
|
|
4919
|
+
color: deploymentSurfaceTokens.textSecondary
|
|
4920
|
+
},
|
|
4921
|
+
children: subtitle
|
|
4922
|
+
}
|
|
4923
|
+
)
|
|
4924
|
+
]
|
|
4925
|
+
}
|
|
4926
|
+
),
|
|
4927
|
+
role && /* @__PURE__ */ jsx40(RoleBadge, { label: role, color: "primary", size: "small" }),
|
|
4928
|
+
id && /* @__PURE__ */ jsx40(IDBlock, { id, label: "ID", entityType: "entity", onCopy: onCopyId })
|
|
4929
|
+
]
|
|
4930
|
+
}
|
|
4931
|
+
),
|
|
4932
|
+
/* @__PURE__ */ jsxs17(
|
|
4933
|
+
Box11,
|
|
4934
|
+
{
|
|
4935
|
+
sx: {
|
|
4936
|
+
display: "flex",
|
|
4937
|
+
alignItems: "center",
|
|
4938
|
+
gap: 1,
|
|
4939
|
+
flexShrink: 0
|
|
4940
|
+
},
|
|
4941
|
+
children: [
|
|
4942
|
+
primaryAction && /* @__PURE__ */ jsx40(
|
|
4943
|
+
Button,
|
|
4944
|
+
{
|
|
4945
|
+
variant: "primary",
|
|
4946
|
+
startIcon: primaryAction.icon,
|
|
4947
|
+
onClick: primaryAction.onClick,
|
|
4948
|
+
sx: {
|
|
4949
|
+
textTransform: "capitalize"
|
|
4950
|
+
},
|
|
4951
|
+
children: getPrimaryActionLabel()
|
|
4952
|
+
}
|
|
4953
|
+
),
|
|
4954
|
+
onMoreOptions && /* @__PURE__ */ jsx40(
|
|
4955
|
+
IconButton7,
|
|
4956
|
+
{
|
|
4957
|
+
onClick: onMoreOptions,
|
|
4958
|
+
size: "small",
|
|
4959
|
+
"aria-label": "More options",
|
|
4960
|
+
sx: {
|
|
4961
|
+
padding: "8px",
|
|
4962
|
+
border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
|
|
4963
|
+
borderRadius: "8px",
|
|
4964
|
+
"&:hover": {
|
|
4965
|
+
backgroundColor: deploymentSurfaceTokens.hoverOverlay,
|
|
4966
|
+
borderColor: deploymentSurfaceTokens.borderDefault
|
|
4967
|
+
}
|
|
4968
|
+
},
|
|
4969
|
+
children: /* @__PURE__ */ jsx40(
|
|
4970
|
+
MoreHorizIcon,
|
|
4971
|
+
{
|
|
4972
|
+
sx: {
|
|
4973
|
+
fontSize: "20px",
|
|
4974
|
+
color: deploymentSurfaceTokens.textSecondary
|
|
4975
|
+
}
|
|
4976
|
+
}
|
|
4977
|
+
)
|
|
4978
|
+
}
|
|
4979
|
+
)
|
|
4980
|
+
]
|
|
4981
|
+
}
|
|
4982
|
+
)
|
|
4983
|
+
]
|
|
4984
|
+
}
|
|
4985
|
+
),
|
|
4986
|
+
divider && /* @__PURE__ */ jsx40(
|
|
4987
|
+
Divider2,
|
|
4988
|
+
{
|
|
4989
|
+
sx: {
|
|
4990
|
+
borderColor: deploymentSurfaceTokens.strokeOutside
|
|
4991
|
+
}
|
|
4992
|
+
}
|
|
4993
|
+
)
|
|
4994
|
+
] });
|
|
4995
|
+
};
|
|
4996
|
+
|
|
4654
4997
|
// src/components/layout/Dialog.tsx
|
|
4655
4998
|
import {
|
|
4656
4999
|
Dialog as MuiDialog,
|
|
@@ -4658,14 +5001,14 @@ import {
|
|
|
4658
5001
|
DialogContent,
|
|
4659
5002
|
DialogActions,
|
|
4660
5003
|
Button as Button6,
|
|
4661
|
-
IconButton as
|
|
4662
|
-
Box as
|
|
4663
|
-
Typography as
|
|
4664
|
-
Divider as
|
|
5004
|
+
IconButton as IconButton8,
|
|
5005
|
+
Box as Box12,
|
|
5006
|
+
Typography as Typography10,
|
|
5007
|
+
Divider as Divider3,
|
|
4665
5008
|
CircularProgress as CircularProgress3
|
|
4666
5009
|
} from "@mui/material";
|
|
4667
5010
|
import CloseIcon from "@mui/icons-material/Close";
|
|
4668
|
-
import { Fragment as Fragment7, jsx as
|
|
5011
|
+
import { Fragment as Fragment7, jsx as jsx41, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
4669
5012
|
var Dialog = ({
|
|
4670
5013
|
open,
|
|
4671
5014
|
title,
|
|
@@ -4689,7 +5032,7 @@ var Dialog = ({
|
|
|
4689
5032
|
if (e) e.stopPropagation();
|
|
4690
5033
|
onClose();
|
|
4691
5034
|
};
|
|
4692
|
-
return /* @__PURE__ */
|
|
5035
|
+
return /* @__PURE__ */ jsxs18(
|
|
4693
5036
|
MuiDialog,
|
|
4694
5037
|
{
|
|
4695
5038
|
open,
|
|
@@ -4706,28 +5049,28 @@ var Dialog = ({
|
|
|
4706
5049
|
...dialogProps.PaperProps
|
|
4707
5050
|
},
|
|
4708
5051
|
children: [
|
|
4709
|
-
/* @__PURE__ */
|
|
4710
|
-
/* @__PURE__ */
|
|
4711
|
-
/* @__PURE__ */
|
|
5052
|
+
/* @__PURE__ */ jsxs18(DialogTitle, { sx: { display: "flex", justifyContent: "space-between", alignItems: "center", p: 2 }, children: [
|
|
5053
|
+
/* @__PURE__ */ jsx41(Box12, { sx: { display: "flex", alignItems: "center" }, children: typeof title === "string" ? /* @__PURE__ */ jsx41(Typography10, { variant: "h6", children: title }) : title }),
|
|
5054
|
+
/* @__PURE__ */ jsxs18(Box12, { sx: { display: "flex", alignItems: "center" }, children: [
|
|
4712
5055
|
headerAction,
|
|
4713
|
-
/* @__PURE__ */
|
|
4714
|
-
|
|
5056
|
+
/* @__PURE__ */ jsx41(
|
|
5057
|
+
IconButton8,
|
|
4715
5058
|
{
|
|
4716
5059
|
edge: "end",
|
|
4717
5060
|
color: "inherit",
|
|
4718
5061
|
onClick: handleCloseAttempt,
|
|
4719
5062
|
"aria-label": "close",
|
|
4720
|
-
children: /* @__PURE__ */
|
|
5063
|
+
children: /* @__PURE__ */ jsx41(CloseIcon, {})
|
|
4721
5064
|
}
|
|
4722
5065
|
)
|
|
4723
5066
|
] })
|
|
4724
5067
|
] }),
|
|
4725
|
-
dividers && /* @__PURE__ */
|
|
4726
|
-
/* @__PURE__ */
|
|
4727
|
-
(showActions || customActions) && /* @__PURE__ */
|
|
4728
|
-
dividers && /* @__PURE__ */
|
|
4729
|
-
/* @__PURE__ */
|
|
4730
|
-
/* @__PURE__ */
|
|
5068
|
+
dividers && /* @__PURE__ */ jsx41(Divider3, {}),
|
|
5069
|
+
/* @__PURE__ */ jsx41(DialogContent, { dividers, children }),
|
|
5070
|
+
(showActions || customActions) && /* @__PURE__ */ jsxs18(Fragment7, { children: [
|
|
5071
|
+
dividers && /* @__PURE__ */ jsx41(Divider3, {}),
|
|
5072
|
+
/* @__PURE__ */ jsx41(DialogActions, { children: customActions || /* @__PURE__ */ jsxs18(Fragment7, { children: [
|
|
5073
|
+
/* @__PURE__ */ jsx41(
|
|
4731
5074
|
Button6,
|
|
4732
5075
|
{
|
|
4733
5076
|
onClick: handleCloseAttempt,
|
|
@@ -4735,14 +5078,14 @@ var Dialog = ({
|
|
|
4735
5078
|
children: cancelLabel
|
|
4736
5079
|
}
|
|
4737
5080
|
),
|
|
4738
|
-
onSubmit && /* @__PURE__ */
|
|
5081
|
+
onSubmit && /* @__PURE__ */ jsx41(
|
|
4739
5082
|
Button6,
|
|
4740
5083
|
{
|
|
4741
5084
|
variant: "contained",
|
|
4742
5085
|
color: "primary",
|
|
4743
5086
|
onClick: onSubmit,
|
|
4744
5087
|
disabled: disableSubmit || isLoading,
|
|
4745
|
-
startIcon: isLoading ? /* @__PURE__ */
|
|
5088
|
+
startIcon: isLoading ? /* @__PURE__ */ jsx41(CircularProgress3, { size: 20 }) : void 0,
|
|
4746
5089
|
children: submitLabel
|
|
4747
5090
|
}
|
|
4748
5091
|
)
|
|
@@ -4755,11 +5098,11 @@ var Dialog = ({
|
|
|
4755
5098
|
|
|
4756
5099
|
// src/components/layout/Drawer.tsx
|
|
4757
5100
|
import MuiDrawer from "@mui/material/Drawer";
|
|
4758
|
-
import { styled as
|
|
4759
|
-
import { Box as
|
|
5101
|
+
import { styled as styled27 } from "@mui/material/styles";
|
|
5102
|
+
import { Box as Box13, IconButton as IconButton9, Typography as Typography11, Divider as Divider4, Tabs, Tab as Tab2 } from "@mui/material";
|
|
4760
5103
|
import CloseIcon2 from "@mui/icons-material/Close";
|
|
4761
|
-
import { Fragment as Fragment8, jsx as
|
|
4762
|
-
var StyledDrawer2 =
|
|
5104
|
+
import { Fragment as Fragment8, jsx as jsx42, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5105
|
+
var StyledDrawer2 = styled27(MuiDrawer, {
|
|
4763
5106
|
shouldForwardProp: (prop) => prop !== "width" && prop !== "miniWidth" && prop !== "collapsed" && prop !== "topOffset"
|
|
4764
5107
|
})(({ theme: theme2, width = 240, miniWidth = 72, collapsed, topOffset = 0 }) => ({
|
|
4765
5108
|
width: collapsed ? miniWidth : width,
|
|
@@ -4805,7 +5148,7 @@ var Drawer2 = ({
|
|
|
4805
5148
|
const finalWidth = width ?? defaultWidth;
|
|
4806
5149
|
const shouldShowClose = showCloseButton ?? (variant === "temporary" || variant === "persistent");
|
|
4807
5150
|
const hasHeader = title || header || shouldShowClose || tabs;
|
|
4808
|
-
return /* @__PURE__ */
|
|
5151
|
+
return /* @__PURE__ */ jsxs19(
|
|
4809
5152
|
StyledDrawer2,
|
|
4810
5153
|
{
|
|
4811
5154
|
width: finalWidth,
|
|
@@ -4830,9 +5173,9 @@ var Drawer2 = ({
|
|
|
4830
5173
|
},
|
|
4831
5174
|
...props,
|
|
4832
5175
|
children: [
|
|
4833
|
-
hasHeader && /* @__PURE__ */
|
|
4834
|
-
/* @__PURE__ */
|
|
4835
|
-
|
|
5176
|
+
hasHeader && /* @__PURE__ */ jsxs19(Fragment8, { children: [
|
|
5177
|
+
/* @__PURE__ */ jsx42(
|
|
5178
|
+
Box13,
|
|
4836
5179
|
{
|
|
4837
5180
|
sx: {
|
|
4838
5181
|
display: "flex",
|
|
@@ -4843,10 +5186,10 @@ var Drawer2 = ({
|
|
|
4843
5186
|
borderBottom: 1,
|
|
4844
5187
|
borderColor: "divider"
|
|
4845
5188
|
},
|
|
4846
|
-
children: header || /* @__PURE__ */
|
|
4847
|
-
/* @__PURE__ */
|
|
4848
|
-
shouldShowClose && onClose && /* @__PURE__ */
|
|
4849
|
-
|
|
5189
|
+
children: header || /* @__PURE__ */ jsxs19(Fragment8, { children: [
|
|
5190
|
+
/* @__PURE__ */ jsx42(Box13, { sx: { flex: 1 }, children: typeof title === "string" ? /* @__PURE__ */ jsx42(Typography11, { variant: "h6", children: title }) : title }),
|
|
5191
|
+
shouldShowClose && onClose && /* @__PURE__ */ jsx42(
|
|
5192
|
+
IconButton9,
|
|
4850
5193
|
{
|
|
4851
5194
|
onClick: (e) => {
|
|
4852
5195
|
e.stopPropagation();
|
|
@@ -4855,13 +5198,13 @@ var Drawer2 = ({
|
|
|
4855
5198
|
size: "small",
|
|
4856
5199
|
sx: { ml: 1 },
|
|
4857
5200
|
"aria-label": "close",
|
|
4858
|
-
children: /* @__PURE__ */
|
|
5201
|
+
children: /* @__PURE__ */ jsx42(CloseIcon2, {})
|
|
4859
5202
|
}
|
|
4860
5203
|
)
|
|
4861
5204
|
] })
|
|
4862
5205
|
}
|
|
4863
5206
|
),
|
|
4864
|
-
tabs && tabs.length > 0 && /* @__PURE__ */
|
|
5207
|
+
tabs && tabs.length > 0 && /* @__PURE__ */ jsx42(
|
|
4865
5208
|
Tabs,
|
|
4866
5209
|
{
|
|
4867
5210
|
value: activeTab,
|
|
@@ -4876,12 +5219,12 @@ var Drawer2 = ({
|
|
|
4876
5219
|
overflow: "auto"
|
|
4877
5220
|
}
|
|
4878
5221
|
},
|
|
4879
|
-
children: tabs.map((tab, index) => /* @__PURE__ */
|
|
5222
|
+
children: tabs.map((tab, index) => /* @__PURE__ */ jsx42(Tab2, { label: tab }, index))
|
|
4880
5223
|
}
|
|
4881
5224
|
)
|
|
4882
5225
|
] }),
|
|
4883
|
-
/* @__PURE__ */
|
|
4884
|
-
|
|
5226
|
+
/* @__PURE__ */ jsx42(
|
|
5227
|
+
Box13,
|
|
4885
5228
|
{
|
|
4886
5229
|
sx: {
|
|
4887
5230
|
flex: 1,
|
|
@@ -4893,10 +5236,10 @@ var Drawer2 = ({
|
|
|
4893
5236
|
children
|
|
4894
5237
|
}
|
|
4895
5238
|
),
|
|
4896
|
-
footer && /* @__PURE__ */
|
|
4897
|
-
/* @__PURE__ */
|
|
4898
|
-
/* @__PURE__ */
|
|
4899
|
-
|
|
5239
|
+
footer && /* @__PURE__ */ jsxs19(Fragment8, { children: [
|
|
5240
|
+
/* @__PURE__ */ jsx42(Divider4, {}),
|
|
5241
|
+
/* @__PURE__ */ jsx42(
|
|
5242
|
+
Box13,
|
|
4900
5243
|
{
|
|
4901
5244
|
sx: {
|
|
4902
5245
|
p: 2,
|
|
@@ -4917,9 +5260,9 @@ import MuiCard from "@mui/material/Card";
|
|
|
4917
5260
|
import MuiCardContent from "@mui/material/CardContent";
|
|
4918
5261
|
import MuiCardHeader from "@mui/material/CardHeader";
|
|
4919
5262
|
import MuiCardActions from "@mui/material/CardActions";
|
|
4920
|
-
import { styled as
|
|
4921
|
-
import { jsx as
|
|
4922
|
-
var StyledCard =
|
|
5263
|
+
import { styled as styled28 } from "@mui/material/styles";
|
|
5264
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
5265
|
+
var StyledCard = styled28(MuiCard, {
|
|
4923
5266
|
shouldForwardProp: (prop) => prop !== "hoverable" && prop !== "clickable"
|
|
4924
5267
|
})(({ hoverable, clickable }) => ({
|
|
4925
5268
|
borderRadius: 8,
|
|
@@ -4936,16 +5279,16 @@ var StyledCard = styled26(MuiCard, {
|
|
|
4936
5279
|
}
|
|
4937
5280
|
}));
|
|
4938
5281
|
var Card = ({ hoverable = false, clickable = false, children, ...props }) => {
|
|
4939
|
-
return /* @__PURE__ */
|
|
5282
|
+
return /* @__PURE__ */ jsx43(StyledCard, { hoverable, clickable, ...props, children });
|
|
4940
5283
|
};
|
|
4941
5284
|
var CardContent = (props) => {
|
|
4942
|
-
return /* @__PURE__ */
|
|
5285
|
+
return /* @__PURE__ */ jsx43(MuiCardContent, { ...props });
|
|
4943
5286
|
};
|
|
4944
5287
|
var CardHeader = (props) => {
|
|
4945
|
-
return /* @__PURE__ */
|
|
5288
|
+
return /* @__PURE__ */ jsx43(MuiCardHeader, { ...props });
|
|
4946
5289
|
};
|
|
4947
5290
|
var CardActions = (props) => {
|
|
4948
|
-
return /* @__PURE__ */
|
|
5291
|
+
return /* @__PURE__ */ jsx43(MuiCardActions, { ...props });
|
|
4949
5292
|
};
|
|
4950
5293
|
|
|
4951
5294
|
// src/components/layout/List.tsx
|
|
@@ -4956,12 +5299,12 @@ import {
|
|
|
4956
5299
|
ListItemIcon as ListItemIcon4,
|
|
4957
5300
|
ListItemSecondaryAction
|
|
4958
5301
|
} from "@mui/material";
|
|
4959
|
-
import { styled as
|
|
4960
|
-
import { jsx as
|
|
5302
|
+
import { styled as styled29 } from "@mui/material/styles";
|
|
5303
|
+
import { jsx as jsx44, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
4961
5304
|
var List6 = (props) => {
|
|
4962
|
-
return /* @__PURE__ */
|
|
5305
|
+
return /* @__PURE__ */ jsx44(MuiList, { ...props });
|
|
4963
5306
|
};
|
|
4964
|
-
var StyledListItem =
|
|
5307
|
+
var StyledListItem = styled29(MuiListItem, {
|
|
4965
5308
|
shouldForwardProp: (prop) => prop !== "hoverable"
|
|
4966
5309
|
})(({ hoverable = true }) => ({
|
|
4967
5310
|
border: `1px solid ${colors.grey[200]}`,
|
|
@@ -4982,9 +5325,9 @@ var ListItem4 = ({
|
|
|
4982
5325
|
children,
|
|
4983
5326
|
...props
|
|
4984
5327
|
}) => {
|
|
4985
|
-
return /* @__PURE__ */
|
|
4986
|
-
icon && /* @__PURE__ */
|
|
4987
|
-
(primary || secondary) && /* @__PURE__ */
|
|
5328
|
+
return /* @__PURE__ */ jsxs20(StyledListItem, { hoverable, ...props, children: [
|
|
5329
|
+
icon && /* @__PURE__ */ jsx44(ListItemIcon4, { children: icon }),
|
|
5330
|
+
(primary || secondary) && /* @__PURE__ */ jsx44(
|
|
4988
5331
|
ListItemText7,
|
|
4989
5332
|
{
|
|
4990
5333
|
primary,
|
|
@@ -4999,21 +5342,20 @@ var ListItem4 = ({
|
|
|
4999
5342
|
// src/components/layout/DeploymentDashboardCard/DeploymentDashboardCard.tsx
|
|
5000
5343
|
import {
|
|
5001
5344
|
Paper,
|
|
5002
|
-
Box as
|
|
5003
|
-
Typography as
|
|
5004
|
-
IconButton as
|
|
5345
|
+
Box as Box14,
|
|
5346
|
+
Typography as Typography12,
|
|
5347
|
+
IconButton as IconButton10,
|
|
5005
5348
|
useTheme as useTheme2,
|
|
5006
5349
|
LinearProgress as LinearProgress2
|
|
5007
5350
|
} from "@mui/material";
|
|
5008
5351
|
import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
|
|
5009
5352
|
import ChevronRightIcon2 from "@mui/icons-material/ChevronRight";
|
|
5010
|
-
import ContentCopyIcon from "@mui/icons-material/ContentCopy";
|
|
5011
5353
|
import WorkOutlineIcon from "@mui/icons-material/WorkOutline";
|
|
5012
5354
|
import WavesIcon from "@mui/icons-material/Waves";
|
|
5013
5355
|
import RocketLaunchOutlinedIcon from "@mui/icons-material/RocketLaunchOutlined";
|
|
5014
5356
|
import InsertLinkIcon from "@mui/icons-material/InsertLink";
|
|
5015
5357
|
import SmartToyOutlinedIcon from "@mui/icons-material/SmartToyOutlined";
|
|
5016
|
-
import { styled as
|
|
5358
|
+
import { styled as styled30 } from "@mui/material/styles";
|
|
5017
5359
|
|
|
5018
5360
|
// src/hooks/useControlledExpand.ts
|
|
5019
5361
|
import { useState as useState7 } from "react";
|
|
@@ -5026,7 +5368,7 @@ function useControlledExpand(controlledExpanded, onToggle, defaultExpanded = fal
|
|
|
5026
5368
|
}
|
|
5027
5369
|
|
|
5028
5370
|
// src/components/layout/DeploymentDashboardCard/DeploymentDashboardCard.tsx
|
|
5029
|
-
import { Fragment as Fragment9, jsx as
|
|
5371
|
+
import { Fragment as Fragment9, jsx as jsx45, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5030
5372
|
var ENTITY_LABELS = {
|
|
5031
5373
|
workspace: "Workspace",
|
|
5032
5374
|
stream: "Stream",
|
|
@@ -5036,11 +5378,11 @@ var ENTITY_LABELS = {
|
|
|
5036
5378
|
};
|
|
5037
5379
|
var ENTITY_ICON_SIZE = 16;
|
|
5038
5380
|
var ENTITY_ICONS = {
|
|
5039
|
-
workspace: /* @__PURE__ */
|
|
5040
|
-
stream: /* @__PURE__ */
|
|
5041
|
-
deployment: /* @__PURE__ */
|
|
5042
|
-
engagement: /* @__PURE__ */
|
|
5043
|
-
agent: /* @__PURE__ */
|
|
5381
|
+
workspace: /* @__PURE__ */ jsx45(WorkOutlineIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
5382
|
+
stream: /* @__PURE__ */ jsx45(WavesIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
5383
|
+
deployment: /* @__PURE__ */ jsx45(RocketLaunchOutlinedIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
5384
|
+
engagement: /* @__PURE__ */ jsx45(InsertLinkIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
5385
|
+
agent: /* @__PURE__ */ jsx45(SmartToyOutlinedIcon, { sx: { fontSize: ENTITY_ICON_SIZE } })
|
|
5044
5386
|
};
|
|
5045
5387
|
var STATUS_DOT_COLORS = {
|
|
5046
5388
|
normal: deploymentStatusColors.normal,
|
|
@@ -5061,7 +5403,7 @@ var ENTITY_CHIP_TYPOGRAPHY = {
|
|
|
5061
5403
|
lineHeight: 1.33,
|
|
5062
5404
|
letterSpacing: "0.07px"
|
|
5063
5405
|
};
|
|
5064
|
-
var StatusDot =
|
|
5406
|
+
var StatusDot = styled30(Box14, {
|
|
5065
5407
|
shouldForwardProp: (p) => p !== "status"
|
|
5066
5408
|
})(({ status }) => ({
|
|
5067
5409
|
width: 8,
|
|
@@ -5070,8 +5412,8 @@ var StatusDot = styled28(Box12, {
|
|
|
5070
5412
|
backgroundColor: status ? STATUS_DOT_COLORS[status] ?? "transparent" : "transparent",
|
|
5071
5413
|
flexShrink: 0
|
|
5072
5414
|
}));
|
|
5073
|
-
var EntityChip = ({ entityType, color }) => /* @__PURE__ */
|
|
5074
|
-
|
|
5415
|
+
var EntityChip = ({ entityType, color }) => /* @__PURE__ */ jsxs21(
|
|
5416
|
+
Box14,
|
|
5075
5417
|
{
|
|
5076
5418
|
sx: {
|
|
5077
5419
|
display: "inline-flex",
|
|
@@ -5086,9 +5428,9 @@ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ jsxs19(
|
|
|
5086
5428
|
flexShrink: 0
|
|
5087
5429
|
},
|
|
5088
5430
|
children: [
|
|
5089
|
-
/* @__PURE__ */
|
|
5090
|
-
/* @__PURE__ */
|
|
5091
|
-
|
|
5431
|
+
/* @__PURE__ */ jsx45(Box14, { sx: { color, display: "flex", alignItems: "center" }, children: ENTITY_ICONS[entityType] }),
|
|
5432
|
+
/* @__PURE__ */ jsx45(
|
|
5433
|
+
Typography12,
|
|
5092
5434
|
{
|
|
5093
5435
|
variant: "body2",
|
|
5094
5436
|
fontWeight: ENTITY_CHIP_TYPOGRAPHY.fontWeight,
|
|
@@ -5104,46 +5446,15 @@ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ jsxs19(
|
|
|
5104
5446
|
]
|
|
5105
5447
|
}
|
|
5106
5448
|
);
|
|
5107
|
-
var
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
sx: {
|
|
5111
|
-
display: "inline-flex",
|
|
5112
|
-
alignItems: "center",
|
|
5113
|
-
gap: 0.5,
|
|
5114
|
-
px: 2,
|
|
5115
|
-
py: 1,
|
|
5116
|
-
borderRadius: "8px",
|
|
5117
|
-
border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
|
|
5118
|
-
bgcolor: "white",
|
|
5119
|
-
flexShrink: 0
|
|
5120
|
-
},
|
|
5121
|
-
children: [
|
|
5122
|
-
/* @__PURE__ */ jsxs19(
|
|
5123
|
-
Typography10,
|
|
5124
|
-
{
|
|
5125
|
-
variant: "body2",
|
|
5126
|
-
fontWeight: 500,
|
|
5127
|
-
sx: { color: deploymentSurfaceTokens.textPrimary, whiteSpace: "nowrap" },
|
|
5128
|
-
children: [
|
|
5129
|
-
"ID: ",
|
|
5130
|
-
id
|
|
5131
|
-
]
|
|
5132
|
-
}
|
|
5133
|
-
),
|
|
5134
|
-
onCopy && /* @__PURE__ */ jsx42(IconButton8, { size: "small", onClick: onCopy, "aria-label": "Copy ID", sx: { p: 0 }, children: /* @__PURE__ */ jsx42(ContentCopyIcon, { sx: { fontSize: 14, color: deploymentSurfaceTokens.textSecondary } }) })
|
|
5135
|
-
]
|
|
5136
|
-
}
|
|
5137
|
-
);
|
|
5138
|
-
var CapacityBar = ({ value, indented = false }) => /* @__PURE__ */ jsxs19(Box12, { sx: { pl: indented ? "40px" : 0, pr: "20px", py: 1 }, children: [
|
|
5139
|
-
/* @__PURE__ */ jsxs19(Box12, { sx: { display: "flex", justifyContent: "space-between", mb: 1 }, children: [
|
|
5140
|
-
/* @__PURE__ */ jsx42(Typography10, { variant: "body2", sx: { color: deploymentSurfaceTokens.textPrimary }, children: "Capacity" }),
|
|
5141
|
-
/* @__PURE__ */ jsxs19(Typography10, { variant: "body2", sx: { color: deploymentSurfaceTokens.accentBlue }, children: [
|
|
5449
|
+
var CapacityBar = ({ value, indented = false }) => /* @__PURE__ */ jsxs21(Box14, { sx: { pl: indented ? "40px" : 0, pr: "20px", py: 1 }, children: [
|
|
5450
|
+
/* @__PURE__ */ jsxs21(Box14, { sx: { display: "flex", justifyContent: "space-between", mb: 1 }, children: [
|
|
5451
|
+
/* @__PURE__ */ jsx45(Typography12, { variant: "body2", sx: { color: deploymentSurfaceTokens.textPrimary }, children: "Capacity" }),
|
|
5452
|
+
/* @__PURE__ */ jsxs21(Typography12, { variant: "body2", sx: { color: deploymentSurfaceTokens.accentBlue }, children: [
|
|
5142
5453
|
value,
|
|
5143
5454
|
"%"
|
|
5144
5455
|
] })
|
|
5145
5456
|
] }),
|
|
5146
|
-
/* @__PURE__ */
|
|
5457
|
+
/* @__PURE__ */ jsx45(
|
|
5147
5458
|
LinearProgress2,
|
|
5148
5459
|
{
|
|
5149
5460
|
variant: "determinate",
|
|
@@ -5183,19 +5494,19 @@ var getActionButtonStyles = (action) => {
|
|
|
5183
5494
|
};
|
|
5184
5495
|
return { ...baseStyles, ...variantStyles };
|
|
5185
5496
|
};
|
|
5186
|
-
var CardAction = ({ action }) => /* @__PURE__ */
|
|
5187
|
-
|
|
5497
|
+
var CardAction = ({ action }) => /* @__PURE__ */ jsxs21(
|
|
5498
|
+
Box14,
|
|
5188
5499
|
{
|
|
5189
5500
|
component: action.onClick ? "button" : "span",
|
|
5190
5501
|
onClick: action.onClick,
|
|
5191
5502
|
sx: getActionButtonStyles(action),
|
|
5192
5503
|
children: [
|
|
5193
|
-
action.icon && /* @__PURE__ */
|
|
5194
|
-
action.label && /* @__PURE__ */
|
|
5504
|
+
action.icon && /* @__PURE__ */ jsx45(Box14, { component: "span", sx: { display: "flex", alignItems: "center" }, children: action.icon }),
|
|
5505
|
+
action.label && /* @__PURE__ */ jsx45(Typography12, { variant: "body2", fontWeight: 500, component: "span", sx: { fontSize: "14px" }, children: action.label })
|
|
5195
5506
|
]
|
|
5196
5507
|
}
|
|
5197
5508
|
);
|
|
5198
|
-
var CardActionList = ({ actions }) => /* @__PURE__ */
|
|
5509
|
+
var CardActionList = ({ actions }) => /* @__PURE__ */ jsx45(Fragment9, { children: actions.map((action) => /* @__PURE__ */ jsx45(CardAction, { action }, action.id)) });
|
|
5199
5510
|
var DeploymentDashboardCard = ({
|
|
5200
5511
|
entityType,
|
|
5201
5512
|
title,
|
|
@@ -5228,7 +5539,7 @@ var DeploymentDashboardCard = ({
|
|
|
5228
5539
|
return Math.min(100, Math.max(0, capacity2));
|
|
5229
5540
|
};
|
|
5230
5541
|
const capacityClamped = getClampedCapacity(capacity);
|
|
5231
|
-
return /* @__PURE__ */
|
|
5542
|
+
return /* @__PURE__ */ jsxs21(
|
|
5232
5543
|
Paper,
|
|
5233
5544
|
{
|
|
5234
5545
|
className,
|
|
@@ -5245,8 +5556,8 @@ var DeploymentDashboardCard = ({
|
|
|
5245
5556
|
gap: 0
|
|
5246
5557
|
},
|
|
5247
5558
|
children: [
|
|
5248
|
-
/* @__PURE__ */
|
|
5249
|
-
|
|
5559
|
+
/* @__PURE__ */ jsxs21(
|
|
5560
|
+
Box14,
|
|
5250
5561
|
{
|
|
5251
5562
|
sx: {
|
|
5252
5563
|
display: "flex",
|
|
@@ -5255,21 +5566,21 @@ var DeploymentDashboardCard = ({
|
|
|
5255
5566
|
width: "100%"
|
|
5256
5567
|
},
|
|
5257
5568
|
children: [
|
|
5258
|
-
/* @__PURE__ */
|
|
5259
|
-
/* @__PURE__ */
|
|
5260
|
-
expandable ? /* @__PURE__ */
|
|
5261
|
-
|
|
5569
|
+
/* @__PURE__ */ jsxs21(Box14, { sx: { display: "flex", flexDirection: "column", gap: 0.5, minWidth: 0 }, children: [
|
|
5570
|
+
/* @__PURE__ */ jsxs21(Box14, { sx: { display: "flex", gap: 1, alignItems: "center" }, children: [
|
|
5571
|
+
expandable ? /* @__PURE__ */ jsx45(
|
|
5572
|
+
IconButton10,
|
|
5262
5573
|
{
|
|
5263
5574
|
size: "small",
|
|
5264
5575
|
onClick: toggle,
|
|
5265
5576
|
"aria-label": expanded ? "Collapse" : "Expand",
|
|
5266
5577
|
sx: { p: "5px" },
|
|
5267
|
-
children: expanded ? /* @__PURE__ */
|
|
5578
|
+
children: expanded ? /* @__PURE__ */ jsx45(ExpandMoreIcon, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } }) : /* @__PURE__ */ jsx45(ChevronRightIcon2, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } })
|
|
5268
5579
|
}
|
|
5269
|
-
) : /* @__PURE__ */
|
|
5270
|
-
/* @__PURE__ */
|
|
5271
|
-
/* @__PURE__ */
|
|
5272
|
-
|
|
5580
|
+
) : /* @__PURE__ */ jsx45(Box14, { sx: { width: 26, flexShrink: 0 } }),
|
|
5581
|
+
/* @__PURE__ */ jsx45(EntityChip, { entityType, color: entityColor }),
|
|
5582
|
+
/* @__PURE__ */ jsx45(
|
|
5583
|
+
Typography12,
|
|
5273
5584
|
{
|
|
5274
5585
|
variant: "subtitle1",
|
|
5275
5586
|
fontWeight: 500,
|
|
@@ -5278,10 +5589,10 @@ var DeploymentDashboardCard = ({
|
|
|
5278
5589
|
children: title
|
|
5279
5590
|
}
|
|
5280
5591
|
),
|
|
5281
|
-
idDisplay != null && /* @__PURE__ */
|
|
5592
|
+
idDisplay != null && /* @__PURE__ */ jsx45(IDBlock, { id: idDisplay, label: "ID", entityType, onCopy: onCopyId })
|
|
5282
5593
|
] }),
|
|
5283
|
-
(createdAt != null || updatedAt != null) && /* @__PURE__ */
|
|
5284
|
-
|
|
5594
|
+
(createdAt != null || updatedAt != null) && /* @__PURE__ */ jsxs21(
|
|
5595
|
+
Box14,
|
|
5285
5596
|
{
|
|
5286
5597
|
sx: {
|
|
5287
5598
|
display: "flex",
|
|
@@ -5290,57 +5601,124 @@ var DeploymentDashboardCard = ({
|
|
|
5290
5601
|
color: deploymentSurfaceTokens.textSecondary
|
|
5291
5602
|
},
|
|
5292
5603
|
children: [
|
|
5293
|
-
createdAt != null && /* @__PURE__ */
|
|
5604
|
+
createdAt != null && /* @__PURE__ */ jsxs21(Typography12, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
|
|
5294
5605
|
"Created: ",
|
|
5295
5606
|
createdAt
|
|
5296
5607
|
] }),
|
|
5297
|
-
updatedAt != null && /* @__PURE__ */
|
|
5608
|
+
updatedAt != null && /* @__PURE__ */ jsxs21(Typography12, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
|
|
5298
5609
|
"Last Updated: ",
|
|
5299
5610
|
updatedAt
|
|
5300
5611
|
] })
|
|
5301
5612
|
]
|
|
5302
5613
|
}
|
|
5303
5614
|
),
|
|
5304
|
-
capacityClamped !== void 0 && /* @__PURE__ */
|
|
5615
|
+
capacityClamped !== void 0 && /* @__PURE__ */ jsx45(CapacityBar, { value: capacityClamped, indented: expandable })
|
|
5305
5616
|
] }),
|
|
5306
|
-
/* @__PURE__ */
|
|
5307
|
-
statusIndicator != null && /* @__PURE__ */
|
|
5308
|
-
/* @__PURE__ */
|
|
5617
|
+
/* @__PURE__ */ jsxs21(Box14, { sx: { display: "flex", gap: 1, alignItems: "center", flexShrink: 0 }, children: [
|
|
5618
|
+
statusIndicator != null && /* @__PURE__ */ jsx45(StatusDot, { status: statusIndicator, "aria-hidden": true }),
|
|
5619
|
+
/* @__PURE__ */ jsx45(CardActionList, { actions })
|
|
5309
5620
|
] })
|
|
5310
5621
|
]
|
|
5311
5622
|
}
|
|
5312
5623
|
),
|
|
5313
|
-
children && /* @__PURE__ */
|
|
5624
|
+
children && /* @__PURE__ */ jsx45(Box14, { sx: { mt: 1.5, display: "flex", flexDirection: "column", gap: 1 }, children })
|
|
5314
5625
|
]
|
|
5315
5626
|
}
|
|
5316
5627
|
);
|
|
5317
5628
|
};
|
|
5318
5629
|
|
|
5319
5630
|
// src/components/layout/DeploymentEntityContextMenu/DeploymentEntityContextMenu.tsx
|
|
5320
|
-
import { Menu as Menu5, Switch as Switch2 } from "@mui/material";
|
|
5321
|
-
import { styled as
|
|
5322
|
-
import { jsx as
|
|
5323
|
-
var StyledMenu2 =
|
|
5631
|
+
import { Menu as Menu5, MenuItem as MenuItem2, Switch as Switch2, Divider as Divider5, ListItemIcon as ListItemIcon5, ListItemText as ListItemText8 } from "@mui/material";
|
|
5632
|
+
import { styled as styled31 } from "@mui/material/styles";
|
|
5633
|
+
import { Fragment as Fragment10, jsx as jsx46, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5634
|
+
var StyledMenu2 = styled31(Menu5)({
|
|
5324
5635
|
"& .MuiPaper-root": {
|
|
5325
|
-
borderRadius:
|
|
5326
|
-
boxShadow:
|
|
5636
|
+
borderRadius: 4,
|
|
5637
|
+
boxShadow: deploymentSurfaceTokens.workspaceShadow,
|
|
5327
5638
|
minWidth: 220,
|
|
5328
|
-
border:
|
|
5329
|
-
|
|
5639
|
+
border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
|
|
5640
|
+
padding: 8
|
|
5641
|
+
},
|
|
5642
|
+
"& .MuiList-root": {
|
|
5643
|
+
padding: 0
|
|
5330
5644
|
}
|
|
5331
5645
|
});
|
|
5332
|
-
var
|
|
5333
|
-
|
|
5334
|
-
|
|
5646
|
+
var StyledMenuItem = styled31(MenuItem2)({
|
|
5647
|
+
gap: 8,
|
|
5648
|
+
padding: "8px 0",
|
|
5649
|
+
borderRadius: 4,
|
|
5650
|
+
minHeight: "auto",
|
|
5651
|
+
"&:hover": {
|
|
5652
|
+
backgroundColor: deploymentSurfaceTokens.hoverLight
|
|
5335
5653
|
},
|
|
5336
|
-
"& .
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
"
|
|
5340
|
-
|
|
5654
|
+
"& .MuiListItemIcon-root": {
|
|
5655
|
+
minWidth: "auto",
|
|
5656
|
+
color: deploymentSurfaceTokens.textPrimary,
|
|
5657
|
+
"& .MuiSvgIcon-root": {
|
|
5658
|
+
fontSize: 24
|
|
5659
|
+
}
|
|
5660
|
+
},
|
|
5661
|
+
"& .MuiListItemText-root .MuiTypography-root": {
|
|
5662
|
+
fontSize: 16,
|
|
5663
|
+
fontWeight: 500,
|
|
5664
|
+
lineHeight: 1.5,
|
|
5665
|
+
letterSpacing: "0.08px",
|
|
5666
|
+
color: deploymentSurfaceTokens.textPrimary
|
|
5667
|
+
}
|
|
5668
|
+
});
|
|
5669
|
+
var HighlightedMenuItem = styled31(StyledMenuItem)({
|
|
5670
|
+
backgroundColor: deploymentSurfaceTokens.highlightBg,
|
|
5671
|
+
border: `1px solid ${deploymentSurfaceTokens.highlightBorder}`,
|
|
5672
|
+
padding: 8,
|
|
5673
|
+
"&:hover": {
|
|
5674
|
+
backgroundColor: deploymentSurfaceTokens.highlightBgHover
|
|
5675
|
+
}
|
|
5676
|
+
});
|
|
5677
|
+
var ToggleMenuItem = styled31(MenuItem2)({
|
|
5678
|
+
gap: 8,
|
|
5679
|
+
padding: "8px 0",
|
|
5680
|
+
cursor: "default",
|
|
5681
|
+
minHeight: "auto",
|
|
5682
|
+
"&:hover": {
|
|
5683
|
+
backgroundColor: "transparent"
|
|
5684
|
+
},
|
|
5685
|
+
"& .MuiListItemText-root .MuiTypography-root": {
|
|
5686
|
+
fontSize: 16,
|
|
5687
|
+
fontWeight: 500,
|
|
5688
|
+
lineHeight: 1.5,
|
|
5689
|
+
letterSpacing: "0.08px",
|
|
5690
|
+
color: deploymentSurfaceTokens.textPrimary
|
|
5691
|
+
}
|
|
5692
|
+
});
|
|
5693
|
+
var EnableSwitch = styled31(Switch2)({
|
|
5694
|
+
width: 32,
|
|
5695
|
+
height: 20,
|
|
5696
|
+
padding: 0,
|
|
5697
|
+
"& .MuiSwitch-switchBase": {
|
|
5698
|
+
padding: 2,
|
|
5699
|
+
"&.Mui-checked": {
|
|
5700
|
+
transform: "translateX(12px)",
|
|
5701
|
+
color: "#fff",
|
|
5702
|
+
"& + .MuiSwitch-track": {
|
|
5703
|
+
backgroundColor: deploymentSurfaceTokens.switchGreen,
|
|
5704
|
+
opacity: 1
|
|
5705
|
+
}
|
|
5341
5706
|
}
|
|
5707
|
+
},
|
|
5708
|
+
"& .MuiSwitch-thumb": {
|
|
5709
|
+
width: 16,
|
|
5710
|
+
height: 16
|
|
5711
|
+
},
|
|
5712
|
+
"& .MuiSwitch-track": {
|
|
5713
|
+
borderRadius: 100,
|
|
5714
|
+
backgroundColor: deploymentSurfaceTokens.switchTrackOff,
|
|
5715
|
+
opacity: 1
|
|
5342
5716
|
}
|
|
5343
5717
|
});
|
|
5718
|
+
var StyledDivider = styled31(Divider5)({
|
|
5719
|
+
margin: "0 !important",
|
|
5720
|
+
borderColor: deploymentSurfaceTokens.strokeOutside
|
|
5721
|
+
});
|
|
5344
5722
|
var DeploymentEntityContextMenu = ({
|
|
5345
5723
|
open,
|
|
5346
5724
|
anchorEl,
|
|
@@ -5350,7 +5728,7 @@ var DeploymentEntityContextMenu = ({
|
|
|
5350
5728
|
enableChecked = false,
|
|
5351
5729
|
onEnableChange
|
|
5352
5730
|
}) => {
|
|
5353
|
-
return /* @__PURE__ */
|
|
5731
|
+
return /* @__PURE__ */ jsxs22(
|
|
5354
5732
|
StyledMenu2,
|
|
5355
5733
|
{
|
|
5356
5734
|
anchorEl,
|
|
@@ -5359,58 +5737,57 @@ var DeploymentEntityContextMenu = ({
|
|
|
5359
5737
|
anchorOrigin: { vertical: "bottom", horizontal: "right" },
|
|
5360
5738
|
transformOrigin: { vertical: "top", horizontal: "right" },
|
|
5361
5739
|
slotProps: { paper: { "aria-label": "Entity context menu" } },
|
|
5362
|
-
children:
|
|
5363
|
-
items.map(
|
|
5364
|
-
(item
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5740
|
+
children: [
|
|
5741
|
+
items.map((item) => {
|
|
5742
|
+
if (item.type === "divider") {
|
|
5743
|
+
return /* @__PURE__ */ jsx46(StyledDivider, {}, item.id);
|
|
5744
|
+
}
|
|
5745
|
+
if (item.type === "toggle") {
|
|
5746
|
+
return /* @__PURE__ */ jsxs22(ToggleMenuItem, { disableRipple: true, children: [
|
|
5747
|
+
onEnableChange && /* @__PURE__ */ jsx46(
|
|
5748
|
+
EnableSwitch,
|
|
5371
5749
|
{
|
|
5372
5750
|
size: "small",
|
|
5373
5751
|
checked: enableChecked,
|
|
5374
5752
|
onChange: (_, checked) => onEnableChange(checked),
|
|
5375
|
-
|
|
5753
|
+
inputProps: { "aria-label": item.label }
|
|
5376
5754
|
}
|
|
5377
|
-
)
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5755
|
+
),
|
|
5756
|
+
/* @__PURE__ */ jsx46(ListItemText8, { primary: item.label })
|
|
5757
|
+
] }, item.id);
|
|
5758
|
+
}
|
|
5759
|
+
const Row = item.highlighted ? HighlightedMenuItem : StyledMenuItem;
|
|
5760
|
+
return /* @__PURE__ */ jsxs22(
|
|
5761
|
+
Row,
|
|
5384
5762
|
{
|
|
5385
|
-
primary: item.label,
|
|
5386
|
-
icon: item.icon,
|
|
5387
5763
|
onClick: () => {
|
|
5388
5764
|
item.onClick?.();
|
|
5389
5765
|
onClose();
|
|
5390
5766
|
},
|
|
5391
|
-
|
|
5767
|
+
children: [
|
|
5768
|
+
item.icon && /* @__PURE__ */ jsx46(ListItemIcon5, { children: item.icon }),
|
|
5769
|
+
/* @__PURE__ */ jsx46(ListItemText8, { primary: item.label })
|
|
5770
|
+
]
|
|
5392
5771
|
},
|
|
5393
5772
|
item.id
|
|
5394
|
-
)
|
|
5395
|
-
),
|
|
5396
|
-
enableToggle && /* @__PURE__ */
|
|
5397
|
-
|
|
5398
|
-
{
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
Switch2,
|
|
5773
|
+
);
|
|
5774
|
+
}),
|
|
5775
|
+
enableToggle && /* @__PURE__ */ jsxs22(Fragment10, { children: [
|
|
5776
|
+
/* @__PURE__ */ jsx46(StyledDivider, {}),
|
|
5777
|
+
/* @__PURE__ */ jsxs22(ToggleMenuItem, { disableRipple: true, children: [
|
|
5778
|
+
onEnableChange && /* @__PURE__ */ jsx46(
|
|
5779
|
+
EnableSwitch,
|
|
5402
5780
|
{
|
|
5403
5781
|
size: "small",
|
|
5404
5782
|
checked: enableChecked,
|
|
5405
5783
|
onChange: (_, checked) => onEnableChange(checked),
|
|
5406
|
-
|
|
5784
|
+
inputProps: { "aria-label": "Enable" }
|
|
5407
5785
|
}
|
|
5408
|
-
)
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
] }) })
|
|
5786
|
+
),
|
|
5787
|
+
/* @__PURE__ */ jsx46(ListItemText8, { primary: "Enable" })
|
|
5788
|
+
] })
|
|
5789
|
+
] })
|
|
5790
|
+
]
|
|
5414
5791
|
}
|
|
5415
5792
|
);
|
|
5416
5793
|
};
|
|
@@ -5419,65 +5796,86 @@ var DeploymentEntityContextMenu = ({
|
|
|
5419
5796
|
import AddCircleOutlineIcon from "@mui/icons-material/AddCircleOutline";
|
|
5420
5797
|
import EditIcon from "@mui/icons-material/Edit";
|
|
5421
5798
|
import ContentCopyIcon2 from "@mui/icons-material/ContentCopy";
|
|
5422
|
-
import
|
|
5799
|
+
import SmartToyOutlinedIcon2 from "@mui/icons-material/SmartToyOutlined";
|
|
5423
5800
|
import DescriptionIcon from "@mui/icons-material/Description";
|
|
5424
5801
|
import SettingsIcon2 from "@mui/icons-material/Settings";
|
|
5425
|
-
import { jsx as
|
|
5802
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
5426
5803
|
var contextMenuItems = {
|
|
5804
|
+
/** Add Engagement action (Add Circle icon) */
|
|
5427
5805
|
addEngagement: (onClick) => ({
|
|
5428
5806
|
id: "add-engagement",
|
|
5429
5807
|
label: "Add Engagement",
|
|
5430
|
-
icon: /* @__PURE__ */
|
|
5808
|
+
icon: /* @__PURE__ */ jsx47(AddCircleOutlineIcon, {}),
|
|
5431
5809
|
onClick
|
|
5432
5810
|
}),
|
|
5811
|
+
/** Add Agent action (Add Circle icon) */
|
|
5433
5812
|
addAgent: (onClick) => ({
|
|
5434
5813
|
id: "add-agent",
|
|
5435
5814
|
label: "Add Agent",
|
|
5436
|
-
icon: /* @__PURE__ */
|
|
5815
|
+
icon: /* @__PURE__ */ jsx47(AddCircleOutlineIcon, {}),
|
|
5437
5816
|
onClick
|
|
5438
5817
|
}),
|
|
5818
|
+
/** Add Stream action (Add Circle icon) */
|
|
5439
5819
|
addStream: (onClick) => ({
|
|
5440
5820
|
id: "add-stream",
|
|
5441
5821
|
label: "Add Stream",
|
|
5442
|
-
icon: /* @__PURE__ */
|
|
5822
|
+
icon: /* @__PURE__ */ jsx47(AddCircleOutlineIcon, {}),
|
|
5443
5823
|
onClick
|
|
5444
5824
|
}),
|
|
5825
|
+
/** Edit action (Pen / Edit icon) */
|
|
5445
5826
|
edit: (onClick) => ({
|
|
5446
5827
|
id: "edit",
|
|
5447
5828
|
label: "Edit",
|
|
5448
|
-
icon: /* @__PURE__ */
|
|
5829
|
+
icon: /* @__PURE__ */ jsx47(EditIcon, {}),
|
|
5449
5830
|
onClick
|
|
5450
5831
|
}),
|
|
5832
|
+
/** Copy ID action (Copy icon) */
|
|
5451
5833
|
copyId: (onClick) => ({
|
|
5452
5834
|
id: "copy-id",
|
|
5453
5835
|
label: "Copy ID",
|
|
5454
|
-
icon: /* @__PURE__ */
|
|
5836
|
+
icon: /* @__PURE__ */ jsx47(ContentCopyIcon2, {}),
|
|
5455
5837
|
onClick
|
|
5456
5838
|
}),
|
|
5839
|
+
/** Agent Flow Visualization — highlighted action (SmartToy icon) */
|
|
5457
5840
|
agentFlowVisualization: (onClick) => ({
|
|
5458
5841
|
id: "agent-flow",
|
|
5459
5842
|
label: "Agent Flow Visualization",
|
|
5460
|
-
icon: /* @__PURE__ */
|
|
5461
|
-
onClick
|
|
5843
|
+
icon: /* @__PURE__ */ jsx47(SmartToyOutlinedIcon2, {}),
|
|
5844
|
+
onClick,
|
|
5845
|
+
highlighted: true
|
|
5462
5846
|
}),
|
|
5847
|
+
/** View Logs action (Document / Description icon) */
|
|
5463
5848
|
viewLogs: (onClick) => ({
|
|
5464
5849
|
id: "view-logs",
|
|
5465
5850
|
label: "View Logs",
|
|
5466
|
-
icon: /* @__PURE__ */
|
|
5851
|
+
icon: /* @__PURE__ */ jsx47(DescriptionIcon, {}),
|
|
5467
5852
|
onClick
|
|
5468
5853
|
}),
|
|
5854
|
+
/** Horizontal divider between sections */
|
|
5855
|
+
divider: () => ({
|
|
5856
|
+
id: "divider",
|
|
5857
|
+
label: "",
|
|
5858
|
+
type: "divider"
|
|
5859
|
+
}),
|
|
5860
|
+
/** Enable toggle row (switch on left + label) */
|
|
5861
|
+
enable: () => ({
|
|
5862
|
+
id: "enable",
|
|
5863
|
+
label: "Enable",
|
|
5864
|
+
type: "toggle"
|
|
5865
|
+
}),
|
|
5866
|
+
/** Settings action (Settings / Gear icon) */
|
|
5469
5867
|
settings: (onClick) => ({
|
|
5470
5868
|
id: "settings",
|
|
5471
5869
|
label: "Settings",
|
|
5472
|
-
icon: /* @__PURE__ */
|
|
5870
|
+
icon: /* @__PURE__ */ jsx47(SettingsIcon2, {}),
|
|
5473
5871
|
onClick
|
|
5474
5872
|
})
|
|
5475
5873
|
};
|
|
5476
5874
|
|
|
5477
5875
|
// src/components/layout/DeploymentDashboardTree/DeploymentDashboardTree.tsx
|
|
5478
|
-
import { Box as
|
|
5479
|
-
import { styled as
|
|
5480
|
-
import { jsx as
|
|
5876
|
+
import { Box as Box15 } from "@mui/material";
|
|
5877
|
+
import { styled as styled32, alpha } from "@mui/material/styles";
|
|
5878
|
+
import { jsx as jsx48, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5481
5879
|
var TREE_SP = {
|
|
5482
5880
|
/** Vertical gap between sibling rows (Figma S / sp-8) */
|
|
5483
5881
|
rowGap: 8,
|
|
@@ -5495,7 +5893,7 @@ var RAIL_OPACITY = {
|
|
|
5495
5893
|
engagement: 0.4,
|
|
5496
5894
|
agent: 0.4
|
|
5497
5895
|
};
|
|
5498
|
-
var Rail =
|
|
5896
|
+
var Rail = styled32(Box15, {
|
|
5499
5897
|
shouldForwardProp: (p) => p !== "railColor"
|
|
5500
5898
|
})(({ railColor }) => ({
|
|
5501
5899
|
width: TREE_SP.railWidth,
|
|
@@ -5514,10 +5912,10 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
5514
5912
|
const entityColor = deploymentEntityColors[node.entityType] ?? deploymentEntityColors.workspace;
|
|
5515
5913
|
const railOpacity = RAIL_OPACITY[node.entityType] ?? 0.5;
|
|
5516
5914
|
const railColor = alpha(entityColor, railOpacity);
|
|
5517
|
-
const renderedChildren = hasChildren && expanded ? /* @__PURE__ */
|
|
5518
|
-
/* @__PURE__ */
|
|
5519
|
-
/* @__PURE__ */
|
|
5520
|
-
|
|
5915
|
+
const renderedChildren = hasChildren && expanded ? /* @__PURE__ */ jsxs23(Box15, { sx: { display: "flex", gap: `${TREE_SP.railGap}px` }, children: [
|
|
5916
|
+
/* @__PURE__ */ jsx48(Rail, { railColor, "aria-hidden": true, "data-rail": true }),
|
|
5917
|
+
/* @__PURE__ */ jsx48(
|
|
5918
|
+
Box15,
|
|
5521
5919
|
{
|
|
5522
5920
|
role: "group",
|
|
5523
5921
|
sx: {
|
|
@@ -5527,7 +5925,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
5527
5925
|
flexDirection: "column",
|
|
5528
5926
|
gap: `${TREE_SP.rowGap}px`
|
|
5529
5927
|
},
|
|
5530
|
-
children: node.children.map((child) => /* @__PURE__ */
|
|
5928
|
+
children: node.children.map((child) => /* @__PURE__ */ jsx48(
|
|
5531
5929
|
TreeRow,
|
|
5532
5930
|
{
|
|
5533
5931
|
node: child,
|
|
@@ -5541,7 +5939,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
5541
5939
|
}
|
|
5542
5940
|
)
|
|
5543
5941
|
] }) : null;
|
|
5544
|
-
const cardContent = renderCard?.(node) ?? /* @__PURE__ */
|
|
5942
|
+
const cardContent = renderCard?.(node) ?? /* @__PURE__ */ jsx48(
|
|
5545
5943
|
DeploymentDashboardCard,
|
|
5546
5944
|
{
|
|
5547
5945
|
entityType: node.entityType,
|
|
@@ -5559,7 +5957,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
5559
5957
|
children: renderedChildren
|
|
5560
5958
|
}
|
|
5561
5959
|
);
|
|
5562
|
-
return /* @__PURE__ */
|
|
5960
|
+
return /* @__PURE__ */ jsx48(Box15, { role: "treeitem", children: cardContent });
|
|
5563
5961
|
};
|
|
5564
5962
|
var DeploymentDashboardTree = ({
|
|
5565
5963
|
nodes,
|
|
@@ -5567,8 +5965,8 @@ var DeploymentDashboardTree = ({
|
|
|
5567
5965
|
onCopyId,
|
|
5568
5966
|
renderCard
|
|
5569
5967
|
}) => {
|
|
5570
|
-
return /* @__PURE__ */
|
|
5571
|
-
|
|
5968
|
+
return /* @__PURE__ */ jsx48(
|
|
5969
|
+
Box15,
|
|
5572
5970
|
{
|
|
5573
5971
|
role: "tree",
|
|
5574
5972
|
sx: {
|
|
@@ -5577,7 +5975,7 @@ var DeploymentDashboardTree = ({
|
|
|
5577
5975
|
gap: `${TREE_SP.rowGap}px`,
|
|
5578
5976
|
p: `${TREE_SP.rowGap}px`
|
|
5579
5977
|
},
|
|
5580
|
-
children: nodes.map((node) => /* @__PURE__ */
|
|
5978
|
+
children: nodes.map((node) => /* @__PURE__ */ jsx48(
|
|
5581
5979
|
TreeRow,
|
|
5582
5980
|
{
|
|
5583
5981
|
node,
|
|
@@ -5593,12 +5991,12 @@ var DeploymentDashboardTree = ({
|
|
|
5593
5991
|
};
|
|
5594
5992
|
|
|
5595
5993
|
// src/components/layout/DeploymentDashboardPanel/DeploymentDashboardPanel.tsx
|
|
5596
|
-
import { Box as
|
|
5597
|
-
import { styled as
|
|
5598
|
-
import { jsx as
|
|
5994
|
+
import { Box as Box16 } from "@mui/material";
|
|
5995
|
+
import { styled as styled33 } from "@mui/material/styles";
|
|
5996
|
+
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
5599
5997
|
var PANEL_RADIUS = 12;
|
|
5600
5998
|
var PANEL_SHADOW = "0px 1px 3px rgba(0, 0, 0, 0.08)";
|
|
5601
|
-
var StyledPanel =
|
|
5999
|
+
var StyledPanel = styled33(Box16)({
|
|
5602
6000
|
backgroundColor: deploymentSurfaceTokens.surfaceHigh,
|
|
5603
6001
|
border: `1px solid ${deploymentSurfaceTokens.strokeOutside}`,
|
|
5604
6002
|
borderRadius: PANEL_RADIUS,
|
|
@@ -5610,19 +6008,19 @@ var DeploymentDashboardPanel = ({
|
|
|
5610
6008
|
className,
|
|
5611
6009
|
padding = 2
|
|
5612
6010
|
}) => {
|
|
5613
|
-
return /* @__PURE__ */
|
|
6011
|
+
return /* @__PURE__ */ jsx49(StyledPanel, { className, sx: { p: padding }, children });
|
|
5614
6012
|
};
|
|
5615
6013
|
|
|
5616
6014
|
// src/components/layout/Avatar.tsx
|
|
5617
6015
|
import MuiAvatar from "@mui/material/Avatar";
|
|
5618
|
-
import { styled as
|
|
5619
|
-
import { jsx as
|
|
6016
|
+
import { styled as styled34 } from "@mui/material/styles";
|
|
6017
|
+
import { jsx as jsx50 } from "react/jsx-runtime";
|
|
5620
6018
|
var sizeMap = {
|
|
5621
6019
|
small: 32,
|
|
5622
6020
|
medium: 40,
|
|
5623
6021
|
large: 56
|
|
5624
6022
|
};
|
|
5625
|
-
var StyledAvatar =
|
|
6023
|
+
var StyledAvatar = styled34(MuiAvatar, {
|
|
5626
6024
|
shouldForwardProp: (prop) => prop !== "avatarSize"
|
|
5627
6025
|
})(({ avatarSize = 40 }) => ({
|
|
5628
6026
|
width: avatarSize,
|
|
@@ -5633,7 +6031,7 @@ var StyledAvatar = styled32(MuiAvatar, {
|
|
|
5633
6031
|
}));
|
|
5634
6032
|
var Avatar5 = ({ size: size3 = "medium", ...props }) => {
|
|
5635
6033
|
const avatarSize = typeof size3 === "number" ? size3 : sizeMap[size3];
|
|
5636
|
-
return /* @__PURE__ */
|
|
6034
|
+
return /* @__PURE__ */ jsx50(StyledAvatar, { avatarSize, ...props });
|
|
5637
6035
|
};
|
|
5638
6036
|
|
|
5639
6037
|
// src/components/layout/Table.tsx
|
|
@@ -5646,13 +6044,13 @@ import {
|
|
|
5646
6044
|
TableRow,
|
|
5647
6045
|
TableSortLabel
|
|
5648
6046
|
} from "@mui/material";
|
|
5649
|
-
import { styled as
|
|
5650
|
-
import { jsx as
|
|
5651
|
-
var StyledTableContainer =
|
|
6047
|
+
import { styled as styled35 } from "@mui/material/styles";
|
|
6048
|
+
import { jsx as jsx51 } from "react/jsx-runtime";
|
|
6049
|
+
var StyledTableContainer = styled35(TableContainer)({
|
|
5652
6050
|
borderRadius: 8,
|
|
5653
6051
|
border: `1px solid ${colors.grey[200]}`
|
|
5654
6052
|
});
|
|
5655
|
-
var StyledTableHead =
|
|
6053
|
+
var StyledTableHead = styled35(TableHead)({
|
|
5656
6054
|
backgroundColor: colors.grey[50],
|
|
5657
6055
|
"& .MuiTableCell-head": {
|
|
5658
6056
|
fontWeight: 600,
|
|
@@ -5660,7 +6058,7 @@ var StyledTableHead = styled33(TableHead)({
|
|
|
5660
6058
|
}
|
|
5661
6059
|
});
|
|
5662
6060
|
var Table = ({ stickyHeader = false, children, ...props }) => {
|
|
5663
|
-
return /* @__PURE__ */
|
|
6061
|
+
return /* @__PURE__ */ jsx51(StyledTableContainer, { children: /* @__PURE__ */ jsx51(MuiTable, { stickyHeader, ...props, children }) });
|
|
5664
6062
|
};
|
|
5665
6063
|
var TableHeader = ({
|
|
5666
6064
|
columns,
|
|
@@ -5668,7 +6066,7 @@ var TableHeader = ({
|
|
|
5668
6066
|
order = "asc",
|
|
5669
6067
|
onSort
|
|
5670
6068
|
}) => {
|
|
5671
|
-
return /* @__PURE__ */
|
|
6069
|
+
return /* @__PURE__ */ jsx51(StyledTableHead, { children: /* @__PURE__ */ jsx51(TableRow, { children: columns.map((column) => /* @__PURE__ */ jsx51(TableCell, { align: column.align || "left", children: column.sortable && onSort ? /* @__PURE__ */ jsx51(
|
|
5672
6070
|
TableSortLabel,
|
|
5673
6071
|
{
|
|
5674
6072
|
active: orderBy === column.id,
|
|
@@ -5685,10 +6083,10 @@ import { Grid2 } from "@mui/material";
|
|
|
5685
6083
|
// src/components/layout/Breadcrumbs.tsx
|
|
5686
6084
|
import MuiBreadcrumbs from "@mui/material/Breadcrumbs";
|
|
5687
6085
|
import Link4 from "@mui/material/Link";
|
|
5688
|
-
import
|
|
5689
|
-
import { styled as
|
|
5690
|
-
import { jsx as
|
|
5691
|
-
var StyledBreadcrumbs =
|
|
6086
|
+
import Typography13 from "@mui/material/Typography";
|
|
6087
|
+
import { styled as styled36 } from "@mui/material/styles";
|
|
6088
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
6089
|
+
var StyledBreadcrumbs = styled36(MuiBreadcrumbs)({
|
|
5692
6090
|
"& .MuiBreadcrumbs-ol": {
|
|
5693
6091
|
flexWrap: "nowrap"
|
|
5694
6092
|
},
|
|
@@ -5696,7 +6094,7 @@ var StyledBreadcrumbs = styled34(MuiBreadcrumbs)({
|
|
|
5696
6094
|
color: colors.text.secondary
|
|
5697
6095
|
}
|
|
5698
6096
|
});
|
|
5699
|
-
var StyledLink2 =
|
|
6097
|
+
var StyledLink2 = styled36(Link4)({
|
|
5700
6098
|
color: colors.primary.main,
|
|
5701
6099
|
textDecoration: "none",
|
|
5702
6100
|
"&:hover": {
|
|
@@ -5704,12 +6102,12 @@ var StyledLink2 = styled34(Link4)({
|
|
|
5704
6102
|
}
|
|
5705
6103
|
});
|
|
5706
6104
|
var Breadcrumbs = ({ items, ...props }) => {
|
|
5707
|
-
return /* @__PURE__ */
|
|
6105
|
+
return /* @__PURE__ */ jsx52(StyledBreadcrumbs, { ...props, children: items.map((item, index) => {
|
|
5708
6106
|
const isLast = index === items.length - 1;
|
|
5709
6107
|
if (isLast || !item.href && !item.onClick) {
|
|
5710
|
-
return /* @__PURE__ */
|
|
6108
|
+
return /* @__PURE__ */ jsx52(Typography13, { color: "text.primary", children: item.label }, index);
|
|
5711
6109
|
}
|
|
5712
|
-
return /* @__PURE__ */
|
|
6110
|
+
return /* @__PURE__ */ jsx52(
|
|
5713
6111
|
StyledLink2,
|
|
5714
6112
|
{
|
|
5715
6113
|
href: item.href,
|
|
@@ -5733,9 +6131,9 @@ import {
|
|
|
5733
6131
|
AccordionDetails
|
|
5734
6132
|
} from "@mui/material";
|
|
5735
6133
|
import ExpandMoreIcon2 from "@mui/icons-material/ExpandMore";
|
|
5736
|
-
import { styled as
|
|
5737
|
-
import { jsx as
|
|
5738
|
-
var StyledAccordion =
|
|
6134
|
+
import { styled as styled37 } from "@mui/material/styles";
|
|
6135
|
+
import { jsx as jsx53, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
6136
|
+
var StyledAccordion = styled37(MuiAccordion)({
|
|
5739
6137
|
borderRadius: 8,
|
|
5740
6138
|
boxShadow: "none",
|
|
5741
6139
|
border: `1px solid ${colors.grey[200]}`,
|
|
@@ -5746,7 +6144,7 @@ var StyledAccordion = styled35(MuiAccordion)({
|
|
|
5746
6144
|
margin: 0
|
|
5747
6145
|
}
|
|
5748
6146
|
});
|
|
5749
|
-
var StyledAccordionSummary =
|
|
6147
|
+
var StyledAccordionSummary = styled37(AccordionSummary)({
|
|
5750
6148
|
backgroundColor: colors.grey[50],
|
|
5751
6149
|
borderRadius: "8px 8px 0 0",
|
|
5752
6150
|
"&.Mui-expanded": {
|
|
@@ -5756,7 +6154,7 @@ var StyledAccordionSummary = styled35(AccordionSummary)({
|
|
|
5756
6154
|
margin: "12px 0"
|
|
5757
6155
|
}
|
|
5758
6156
|
});
|
|
5759
|
-
var StyledAccordionDetails =
|
|
6157
|
+
var StyledAccordionDetails = styled37(AccordionDetails)({
|
|
5760
6158
|
padding: "16px"
|
|
5761
6159
|
});
|
|
5762
6160
|
var Accordion = ({
|
|
@@ -5765,17 +6163,17 @@ var Accordion = ({
|
|
|
5765
6163
|
defaultExpanded = false,
|
|
5766
6164
|
...props
|
|
5767
6165
|
}) => {
|
|
5768
|
-
return /* @__PURE__ */
|
|
5769
|
-
/* @__PURE__ */
|
|
5770
|
-
/* @__PURE__ */
|
|
6166
|
+
return /* @__PURE__ */ jsxs24(StyledAccordion, { defaultExpanded, ...props, children: [
|
|
6167
|
+
/* @__PURE__ */ jsx53(StyledAccordionSummary, { expandIcon: /* @__PURE__ */ jsx53(ExpandMoreIcon2, {}), children: title }),
|
|
6168
|
+
/* @__PURE__ */ jsx53(StyledAccordionDetails, { children })
|
|
5771
6169
|
] });
|
|
5772
6170
|
};
|
|
5773
6171
|
|
|
5774
6172
|
// src/components/layout/Paper.tsx
|
|
5775
6173
|
import MuiPaper from "@mui/material/Paper";
|
|
5776
|
-
import { styled as
|
|
5777
|
-
import { jsx as
|
|
5778
|
-
var StyledPaper =
|
|
6174
|
+
import { styled as styled38 } from "@mui/material/styles";
|
|
6175
|
+
import { jsx as jsx54 } from "react/jsx-runtime";
|
|
6176
|
+
var StyledPaper = styled38(MuiPaper)({
|
|
5779
6177
|
borderRadius: 8,
|
|
5780
6178
|
"&.MuiPaper-elevation": {
|
|
5781
6179
|
boxShadow: "0px 2px 8px rgba(0, 0, 0, 0.08)"
|
|
@@ -5786,28 +6184,28 @@ var StyledPaper = styled36(MuiPaper)({
|
|
|
5786
6184
|
}
|
|
5787
6185
|
});
|
|
5788
6186
|
var Paper2 = ({ variant = "elevation", ...props }) => {
|
|
5789
|
-
return /* @__PURE__ */
|
|
6187
|
+
return /* @__PURE__ */ jsx54(StyledPaper, { variant, elevation: variant === "elevation" ? 1 : 0, ...props });
|
|
5790
6188
|
};
|
|
5791
6189
|
|
|
5792
6190
|
// src/components/layout/Divider.tsx
|
|
5793
6191
|
import MuiDivider from "@mui/material/Divider";
|
|
5794
|
-
import { styled as
|
|
5795
|
-
import { jsx as
|
|
5796
|
-
var
|
|
6192
|
+
import { styled as styled39 } from "@mui/material/styles";
|
|
6193
|
+
import { jsx as jsx55 } from "react/jsx-runtime";
|
|
6194
|
+
var StyledDivider2 = styled39(MuiDivider)({
|
|
5797
6195
|
borderColor: colors.grey[200]
|
|
5798
6196
|
});
|
|
5799
|
-
var
|
|
5800
|
-
return /* @__PURE__ */
|
|
6197
|
+
var Divider6 = ({ ...props }) => {
|
|
6198
|
+
return /* @__PURE__ */ jsx55(StyledDivider2, { ...props });
|
|
5801
6199
|
};
|
|
5802
6200
|
|
|
5803
6201
|
// src/components/layout/Stack.tsx
|
|
5804
6202
|
import { Stack as Stack3 } from "@mui/material";
|
|
5805
6203
|
|
|
5806
6204
|
// src/components/layout/Box.tsx
|
|
5807
|
-
import { Box as
|
|
6205
|
+
import { Box as Box17 } from "@mui/material";
|
|
5808
6206
|
|
|
5809
6207
|
// src/components/layout/Typography.tsx
|
|
5810
|
-
import { Typography as
|
|
6208
|
+
import { Typography as Typography14 } from "@mui/material";
|
|
5811
6209
|
|
|
5812
6210
|
// src/components/layout/Container.tsx
|
|
5813
6211
|
import { Container as Container2 } from "@mui/material";
|
|
@@ -5817,9 +6215,9 @@ import {
|
|
|
5817
6215
|
AppBar as MuiAppBar,
|
|
5818
6216
|
Toolbar
|
|
5819
6217
|
} from "@mui/material";
|
|
5820
|
-
import { styled as
|
|
5821
|
-
import { jsx as
|
|
5822
|
-
var StyledAppBar =
|
|
6218
|
+
import { styled as styled40 } from "@mui/material/styles";
|
|
6219
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
6220
|
+
var StyledAppBar = styled40(MuiAppBar, {
|
|
5823
6221
|
shouldForwardProp: (prop) => prop !== "appBarHeight"
|
|
5824
6222
|
})(({ appBarHeight = 64 }) => ({
|
|
5825
6223
|
backgroundColor: colors.background.paper,
|
|
@@ -5828,23 +6226,23 @@ var StyledAppBar = styled38(MuiAppBar, {
|
|
|
5828
6226
|
height: appBarHeight,
|
|
5829
6227
|
zIndex: 1300
|
|
5830
6228
|
}));
|
|
5831
|
-
var StyledToolbar =
|
|
6229
|
+
var StyledToolbar = styled40(Toolbar)(({ theme: theme2 }) => ({
|
|
5832
6230
|
height: "100%",
|
|
5833
6231
|
paddingLeft: theme2.spacing(2),
|
|
5834
6232
|
paddingRight: theme2.spacing(2),
|
|
5835
6233
|
gap: theme2.spacing(2)
|
|
5836
6234
|
}));
|
|
5837
6235
|
var AppBar = ({ height = 64, children, ...props }) => {
|
|
5838
|
-
return /* @__PURE__ */
|
|
6236
|
+
return /* @__PURE__ */ jsx56(StyledAppBar, { position: "fixed", appBarHeight: height, ...props, children: /* @__PURE__ */ jsx56(StyledToolbar, { children }) });
|
|
5839
6237
|
};
|
|
5840
6238
|
|
|
5841
6239
|
// src/components/layout/Collapse.tsx
|
|
5842
6240
|
import {
|
|
5843
6241
|
Collapse as MuiCollapse
|
|
5844
6242
|
} from "@mui/material";
|
|
5845
|
-
import { jsx as
|
|
6243
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
5846
6244
|
var Collapse = (props) => {
|
|
5847
|
-
return /* @__PURE__ */
|
|
6245
|
+
return /* @__PURE__ */ jsx57(MuiCollapse, { ...props });
|
|
5848
6246
|
};
|
|
5849
6247
|
|
|
5850
6248
|
// src/components/feedback/Alert.tsx
|
|
@@ -5852,9 +6250,9 @@ import React10 from "react";
|
|
|
5852
6250
|
import MuiAlert from "@mui/material/Alert";
|
|
5853
6251
|
import { AlertTitle as MuiAlertTitle } from "@mui/material";
|
|
5854
6252
|
import MuiSnackbar from "@mui/material/Snackbar";
|
|
5855
|
-
import { styled as
|
|
5856
|
-
import { jsx as
|
|
5857
|
-
var StyledAlert =
|
|
6253
|
+
import { styled as styled41 } from "@mui/material/styles";
|
|
6254
|
+
import { jsx as jsx58, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
6255
|
+
var StyledAlert = styled41(MuiAlert)({
|
|
5858
6256
|
borderRadius: 8,
|
|
5859
6257
|
"&.MuiAlert-filled": {
|
|
5860
6258
|
borderRadius: 8
|
|
@@ -5866,12 +6264,12 @@ var Alert2 = ({
|
|
|
5866
6264
|
children,
|
|
5867
6265
|
...props
|
|
5868
6266
|
}) => {
|
|
5869
|
-
return /* @__PURE__ */
|
|
5870
|
-
title && /* @__PURE__ */
|
|
6267
|
+
return /* @__PURE__ */ jsxs25(StyledAlert, { severity, ...props, children: [
|
|
6268
|
+
title && /* @__PURE__ */ jsx58(MuiAlertTitle, { children: title }),
|
|
5871
6269
|
children
|
|
5872
6270
|
] });
|
|
5873
6271
|
};
|
|
5874
|
-
var StyledSnackbar =
|
|
6272
|
+
var StyledSnackbar = styled41(MuiSnackbar)({});
|
|
5875
6273
|
var Snackbar2 = ({
|
|
5876
6274
|
message,
|
|
5877
6275
|
severity = "info",
|
|
@@ -5889,7 +6287,7 @@ var Snackbar2 = ({
|
|
|
5889
6287
|
}
|
|
5890
6288
|
onClose?.();
|
|
5891
6289
|
};
|
|
5892
|
-
const content = children || (message ? /* @__PURE__ */
|
|
6290
|
+
const content = children || (message ? /* @__PURE__ */ jsx58(
|
|
5893
6291
|
Alert2,
|
|
5894
6292
|
{
|
|
5895
6293
|
onClose: onClose ? handleClose : void 0,
|
|
@@ -5915,7 +6313,7 @@ var Snackbar2 = ({
|
|
|
5915
6313
|
}
|
|
5916
6314
|
);
|
|
5917
6315
|
NoTransition.displayName = "NoTransition";
|
|
5918
|
-
return /* @__PURE__ */
|
|
6316
|
+
return /* @__PURE__ */ jsx58(
|
|
5919
6317
|
StyledSnackbar,
|
|
5920
6318
|
{
|
|
5921
6319
|
anchorOrigin,
|
|
@@ -5935,16 +6333,16 @@ var Snackbar2 = ({
|
|
|
5935
6333
|
};
|
|
5936
6334
|
|
|
5937
6335
|
// src/components/feedback/EmptyState.tsx
|
|
5938
|
-
import { Box as
|
|
5939
|
-
import { jsx as
|
|
6336
|
+
import { Box as Box18, Typography as Typography15 } from "@mui/material";
|
|
6337
|
+
import { jsx as jsx59, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
5940
6338
|
var EmptyState = ({
|
|
5941
6339
|
title = "No items found",
|
|
5942
6340
|
description,
|
|
5943
6341
|
icon,
|
|
5944
6342
|
action
|
|
5945
6343
|
}) => {
|
|
5946
|
-
return /* @__PURE__ */
|
|
5947
|
-
|
|
6344
|
+
return /* @__PURE__ */ jsxs26(
|
|
6345
|
+
Box18,
|
|
5948
6346
|
{
|
|
5949
6347
|
sx: {
|
|
5950
6348
|
display: "flex",
|
|
@@ -5956,8 +6354,8 @@ var EmptyState = ({
|
|
|
5956
6354
|
minHeight: 200
|
|
5957
6355
|
},
|
|
5958
6356
|
children: [
|
|
5959
|
-
icon && /* @__PURE__ */
|
|
5960
|
-
|
|
6357
|
+
icon && /* @__PURE__ */ jsx59(
|
|
6358
|
+
Box18,
|
|
5961
6359
|
{
|
|
5962
6360
|
sx: {
|
|
5963
6361
|
color: colors.text.secondary,
|
|
@@ -5967,24 +6365,24 @@ var EmptyState = ({
|
|
|
5967
6365
|
children: icon
|
|
5968
6366
|
}
|
|
5969
6367
|
),
|
|
5970
|
-
/* @__PURE__ */
|
|
5971
|
-
description && /* @__PURE__ */
|
|
5972
|
-
action && /* @__PURE__ */
|
|
6368
|
+
/* @__PURE__ */ jsx59(Typography15, { variant: "h6", sx: { marginBottom: 1, color: colors.text.primary }, children: title }),
|
|
6369
|
+
description && /* @__PURE__ */ jsx59(Typography15, { variant: "body2", sx: { color: colors.text.secondary, marginBottom: 3 }, children: description }),
|
|
6370
|
+
action && /* @__PURE__ */ jsx59(Box18, { children: action })
|
|
5973
6371
|
]
|
|
5974
6372
|
}
|
|
5975
6373
|
);
|
|
5976
6374
|
};
|
|
5977
6375
|
|
|
5978
6376
|
// src/components/feedback/Loading.tsx
|
|
5979
|
-
import { Box as
|
|
5980
|
-
import { jsx as
|
|
6377
|
+
import { Box as Box19, CircularProgress as CircularProgress4, Typography as Typography16 } from "@mui/material";
|
|
6378
|
+
import { jsx as jsx60, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
5981
6379
|
var Loading = ({
|
|
5982
6380
|
message = "Loading...",
|
|
5983
6381
|
size: size3 = 40,
|
|
5984
6382
|
fullScreen = false
|
|
5985
6383
|
}) => {
|
|
5986
|
-
const content = /* @__PURE__ */
|
|
5987
|
-
|
|
6384
|
+
const content = /* @__PURE__ */ jsxs27(
|
|
6385
|
+
Box19,
|
|
5988
6386
|
{
|
|
5989
6387
|
sx: {
|
|
5990
6388
|
display: "flex",
|
|
@@ -6006,8 +6404,8 @@ var Loading = ({
|
|
|
6006
6404
|
}
|
|
6007
6405
|
},
|
|
6008
6406
|
children: [
|
|
6009
|
-
/* @__PURE__ */
|
|
6010
|
-
message && /* @__PURE__ */
|
|
6407
|
+
/* @__PURE__ */ jsx60(CircularProgress4, { size: size3, thickness: 4 }),
|
|
6408
|
+
message && /* @__PURE__ */ jsx60(Typography16, { variant: "body2", color: "text.secondary", children: message })
|
|
6011
6409
|
]
|
|
6012
6410
|
}
|
|
6013
6411
|
);
|
|
@@ -6015,15 +6413,15 @@ var Loading = ({
|
|
|
6015
6413
|
};
|
|
6016
6414
|
|
|
6017
6415
|
// src/components/feedback/AppLoading.tsx
|
|
6018
|
-
import { Box as
|
|
6019
|
-
import { jsx as
|
|
6416
|
+
import { Box as Box20, CircularProgress as CircularProgress5, Typography as Typography17 } from "@mui/material";
|
|
6417
|
+
import { jsx as jsx61, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
6020
6418
|
var AppLoading = ({
|
|
6021
6419
|
message = "Loading...",
|
|
6022
6420
|
logo = "/icons/logo.png",
|
|
6023
6421
|
sx = {}
|
|
6024
6422
|
}) => {
|
|
6025
|
-
return /* @__PURE__ */
|
|
6026
|
-
|
|
6423
|
+
return /* @__PURE__ */ jsxs28(
|
|
6424
|
+
Box20,
|
|
6027
6425
|
{
|
|
6028
6426
|
sx: {
|
|
6029
6427
|
display: "flex",
|
|
@@ -6041,8 +6439,8 @@ var AppLoading = ({
|
|
|
6041
6439
|
...sx
|
|
6042
6440
|
},
|
|
6043
6441
|
children: [
|
|
6044
|
-
logo && /* @__PURE__ */
|
|
6045
|
-
|
|
6442
|
+
logo && /* @__PURE__ */ jsx61(
|
|
6443
|
+
Box20,
|
|
6046
6444
|
{
|
|
6047
6445
|
component: "img",
|
|
6048
6446
|
src: logo,
|
|
@@ -6054,8 +6452,8 @@ var AppLoading = ({
|
|
|
6054
6452
|
}
|
|
6055
6453
|
}
|
|
6056
6454
|
),
|
|
6057
|
-
/* @__PURE__ */
|
|
6058
|
-
/* @__PURE__ */
|
|
6455
|
+
/* @__PURE__ */ jsx61(CircularProgress5, { size: 40, thickness: 4, sx: { mb: 2 } }),
|
|
6456
|
+
/* @__PURE__ */ jsx61(Typography17, { variant: "body1", color: "text.secondary", children: message })
|
|
6059
6457
|
]
|
|
6060
6458
|
}
|
|
6061
6459
|
);
|
|
@@ -6065,22 +6463,22 @@ var AppLoading = ({
|
|
|
6065
6463
|
import {
|
|
6066
6464
|
CircularProgress as MuiCircularProgress
|
|
6067
6465
|
} from "@mui/material";
|
|
6068
|
-
import { jsx as
|
|
6466
|
+
import { jsx as jsx62 } from "react/jsx-runtime";
|
|
6069
6467
|
var CircularProgress6 = ({
|
|
6070
6468
|
size: size3 = 40,
|
|
6071
6469
|
thickness = 4,
|
|
6072
6470
|
...props
|
|
6073
6471
|
}) => {
|
|
6074
|
-
return /* @__PURE__ */
|
|
6472
|
+
return /* @__PURE__ */ jsx62(MuiCircularProgress, { size: size3, thickness, ...props });
|
|
6075
6473
|
};
|
|
6076
6474
|
|
|
6077
6475
|
// src/components/icons/ActivityAppIcon.tsx
|
|
6078
6476
|
import { memo as memo2 } from "react";
|
|
6079
6477
|
import { SvgIcon as SvgIcon2 } from "@mui/material";
|
|
6080
|
-
import { jsx as
|
|
6081
|
-
var ActivityAppIcon = memo2((props) => /* @__PURE__ */
|
|
6082
|
-
/* @__PURE__ */
|
|
6083
|
-
/* @__PURE__ */
|
|
6478
|
+
import { jsx as jsx63, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
6479
|
+
var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs29(SvgIcon2, { ...props, viewBox: "0 0 36 36", children: [
|
|
6480
|
+
/* @__PURE__ */ jsx63("rect", { fill: "none", stroke: "currentColor", width: 34, height: 34, x: 1, y: 1, strokeWidth: 1.5, rx: 6.8 }),
|
|
6481
|
+
/* @__PURE__ */ jsx63(
|
|
6084
6482
|
"rect",
|
|
6085
6483
|
{
|
|
6086
6484
|
fill: "none",
|
|
@@ -6093,7 +6491,7 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs27(SvgIcon2, { ...pro
|
|
|
6093
6491
|
rx: 1.7
|
|
6094
6492
|
}
|
|
6095
6493
|
),
|
|
6096
|
-
/* @__PURE__ */
|
|
6494
|
+
/* @__PURE__ */ jsx63(
|
|
6097
6495
|
"rect",
|
|
6098
6496
|
{
|
|
6099
6497
|
fill: "none",
|
|
@@ -6106,7 +6504,7 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs27(SvgIcon2, { ...pro
|
|
|
6106
6504
|
rx: 1.7
|
|
6107
6505
|
}
|
|
6108
6506
|
),
|
|
6109
|
-
/* @__PURE__ */
|
|
6507
|
+
/* @__PURE__ */ jsx63(
|
|
6110
6508
|
"rect",
|
|
6111
6509
|
{
|
|
6112
6510
|
fill: "none",
|
|
@@ -6123,9 +6521,9 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs27(SvgIcon2, { ...pro
|
|
|
6123
6521
|
|
|
6124
6522
|
// src/components/icons/ArrowLeft.tsx
|
|
6125
6523
|
import { SvgIcon as SvgIcon3 } from "@mui/material";
|
|
6126
|
-
import { jsx as
|
|
6524
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
6127
6525
|
var LeftArrowIcon = (props) => {
|
|
6128
|
-
return /* @__PURE__ */
|
|
6526
|
+
return /* @__PURE__ */ jsx64(SvgIcon3, { ...props, width: "24", height: "24", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx64("g", { id: " Arrow Left", children: /* @__PURE__ */ jsx64(
|
|
6129
6527
|
"path",
|
|
6130
6528
|
{
|
|
6131
6529
|
id: "Vector (Stroke)",
|
|
@@ -6139,9 +6537,9 @@ var LeftArrowIcon = (props) => {
|
|
|
6139
6537
|
|
|
6140
6538
|
// src/components/icons/ArrowRight.tsx
|
|
6141
6539
|
import { SvgIcon as SvgIcon4 } from "@mui/material";
|
|
6142
|
-
import { jsx as
|
|
6540
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
6143
6541
|
var RightArrowIcon = (props) => {
|
|
6144
|
-
return /* @__PURE__ */
|
|
6542
|
+
return /* @__PURE__ */ jsx65(SvgIcon4, { ...props, width: "25", height: "24", viewBox: "0 0 25 24", children: /* @__PURE__ */ jsx65(
|
|
6145
6543
|
"path",
|
|
6146
6544
|
{
|
|
6147
6545
|
fillRule: "evenodd",
|
|
@@ -6154,10 +6552,10 @@ var RightArrowIcon = (props) => {
|
|
|
6154
6552
|
|
|
6155
6553
|
// src/components/icons/AvatarIcon.tsx
|
|
6156
6554
|
import { SvgIcon as SvgIcon5 } from "@mui/material";
|
|
6157
|
-
import { jsx as
|
|
6555
|
+
import { jsx as jsx66, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6158
6556
|
var AvatarIcon = (props) => {
|
|
6159
|
-
return /* @__PURE__ */
|
|
6160
|
-
/* @__PURE__ */
|
|
6557
|
+
return /* @__PURE__ */ jsxs30(SvgIcon5, { ...props, viewBox: "0 0 16 16", children: [
|
|
6558
|
+
/* @__PURE__ */ jsx66(
|
|
6161
6559
|
"path",
|
|
6162
6560
|
{
|
|
6163
6561
|
fillRule: "evenodd",
|
|
@@ -6166,7 +6564,7 @@ var AvatarIcon = (props) => {
|
|
|
6166
6564
|
fill: "#1D1B20"
|
|
6167
6565
|
}
|
|
6168
6566
|
),
|
|
6169
|
-
/* @__PURE__ */
|
|
6567
|
+
/* @__PURE__ */ jsx66(
|
|
6170
6568
|
"path",
|
|
6171
6569
|
{
|
|
6172
6570
|
fillRule: "evenodd",
|
|
@@ -6181,9 +6579,9 @@ var AvatarIcon = (props) => {
|
|
|
6181
6579
|
// src/components/icons/BarTrackingIcon.tsx
|
|
6182
6580
|
import { memo as memo3 } from "react";
|
|
6183
6581
|
import { SvgIcon as SvgIcon6 } from "@mui/material";
|
|
6184
|
-
import { jsx as
|
|
6185
|
-
var BarTrackingIcon = memo3((props) => /* @__PURE__ */
|
|
6186
|
-
/* @__PURE__ */
|
|
6582
|
+
import { jsx as jsx67, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6583
|
+
var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs31(SvgIcon6, { ...props, viewBox: "0 0 96 97", children: [
|
|
6584
|
+
/* @__PURE__ */ jsx67(
|
|
6187
6585
|
"rect",
|
|
6188
6586
|
{
|
|
6189
6587
|
x: "7.19922",
|
|
@@ -6196,7 +6594,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs29(SvgIcon6, { ...pro
|
|
|
6196
6594
|
fill: "none"
|
|
6197
6595
|
}
|
|
6198
6596
|
),
|
|
6199
|
-
/* @__PURE__ */
|
|
6597
|
+
/* @__PURE__ */ jsx67(
|
|
6200
6598
|
"rect",
|
|
6201
6599
|
{
|
|
6202
6600
|
x: "21.0371",
|
|
@@ -6209,7 +6607,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs29(SvgIcon6, { ...pro
|
|
|
6209
6607
|
strokeWidth: "2"
|
|
6210
6608
|
}
|
|
6211
6609
|
),
|
|
6212
|
-
/* @__PURE__ */
|
|
6610
|
+
/* @__PURE__ */ jsx67(
|
|
6213
6611
|
"rect",
|
|
6214
6612
|
{
|
|
6215
6613
|
x: "40.4746",
|
|
@@ -6222,7 +6620,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs29(SvgIcon6, { ...pro
|
|
|
6222
6620
|
strokeWidth: "2"
|
|
6223
6621
|
}
|
|
6224
6622
|
),
|
|
6225
|
-
/* @__PURE__ */
|
|
6623
|
+
/* @__PURE__ */ jsx67(
|
|
6226
6624
|
"rect",
|
|
6227
6625
|
{
|
|
6228
6626
|
x: "59.8828",
|
|
@@ -6240,8 +6638,8 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs29(SvgIcon6, { ...pro
|
|
|
6240
6638
|
// src/components/icons/ClockIcon.tsx
|
|
6241
6639
|
import { memo as memo4 } from "react";
|
|
6242
6640
|
import { SvgIcon as SvgIcon7 } from "@mui/material";
|
|
6243
|
-
import { jsx as
|
|
6244
|
-
var ClockIcon = memo4((props) => /* @__PURE__ */
|
|
6641
|
+
import { jsx as jsx68 } from "react/jsx-runtime";
|
|
6642
|
+
var ClockIcon = memo4((props) => /* @__PURE__ */ jsx68(SvgIcon7, { ...props, viewBox: "0 0 22 22", children: /* @__PURE__ */ jsx68(
|
|
6245
6643
|
"path",
|
|
6246
6644
|
{
|
|
6247
6645
|
fill: "currentColor",
|
|
@@ -6254,9 +6652,9 @@ var ClockIcon = memo4((props) => /* @__PURE__ */ jsx65(SvgIcon7, { ...props, vie
|
|
|
6254
6652
|
// src/components/icons/CloudFlashIcon.tsx
|
|
6255
6653
|
import { memo as memo5 } from "react";
|
|
6256
6654
|
import { SvgIcon as SvgIcon8 } from "@mui/material";
|
|
6257
|
-
import { jsx as
|
|
6258
|
-
var CloudFlashIcon = memo5((props) => /* @__PURE__ */
|
|
6259
|
-
/* @__PURE__ */
|
|
6655
|
+
import { jsx as jsx69, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
6656
|
+
var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs32(SvgIcon8, { ...props, fill: "none", viewBox: "0 0 96 97", children: [
|
|
6657
|
+
/* @__PURE__ */ jsx69(
|
|
6260
6658
|
"path",
|
|
6261
6659
|
{
|
|
6262
6660
|
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",
|
|
@@ -6265,7 +6663,7 @@ var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs30(SvgIcon8, { ...prop
|
|
|
6265
6663
|
strokeWidth: "2"
|
|
6266
6664
|
}
|
|
6267
6665
|
),
|
|
6268
|
-
/* @__PURE__ */
|
|
6666
|
+
/* @__PURE__ */ jsx69(
|
|
6269
6667
|
"path",
|
|
6270
6668
|
{
|
|
6271
6669
|
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",
|
|
@@ -6279,9 +6677,9 @@ var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs30(SvgIcon8, { ...prop
|
|
|
6279
6677
|
// src/components/icons/DecentralizedServerIcon.tsx
|
|
6280
6678
|
import { memo as memo6 } from "react";
|
|
6281
6679
|
import { SvgIcon as SvgIcon9 } from "@mui/material";
|
|
6282
|
-
import { jsx as
|
|
6283
|
-
var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */
|
|
6284
|
-
/* @__PURE__ */
|
|
6680
|
+
import { jsx as jsx70, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
6681
|
+
var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9, { ...props, viewBox: "0 0 96 97", children: [
|
|
6682
|
+
/* @__PURE__ */ jsx70(
|
|
6285
6683
|
"path",
|
|
6286
6684
|
{
|
|
6287
6685
|
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",
|
|
@@ -6292,7 +6690,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
|
|
|
6292
6690
|
strokeLinejoin: "round"
|
|
6293
6691
|
}
|
|
6294
6692
|
),
|
|
6295
|
-
/* @__PURE__ */
|
|
6693
|
+
/* @__PURE__ */ jsx70(
|
|
6296
6694
|
"path",
|
|
6297
6695
|
{
|
|
6298
6696
|
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",
|
|
@@ -6303,7 +6701,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
|
|
|
6303
6701
|
strokeLinejoin: "round"
|
|
6304
6702
|
}
|
|
6305
6703
|
),
|
|
6306
|
-
/* @__PURE__ */
|
|
6704
|
+
/* @__PURE__ */ jsx70(
|
|
6307
6705
|
"path",
|
|
6308
6706
|
{
|
|
6309
6707
|
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",
|
|
@@ -6314,7 +6712,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
|
|
|
6314
6712
|
strokeLinejoin: "round"
|
|
6315
6713
|
}
|
|
6316
6714
|
),
|
|
6317
|
-
/* @__PURE__ */
|
|
6715
|
+
/* @__PURE__ */ jsx70(
|
|
6318
6716
|
"path",
|
|
6319
6717
|
{
|
|
6320
6718
|
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",
|
|
@@ -6325,7 +6723,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
|
|
|
6325
6723
|
strokeLinejoin: "round"
|
|
6326
6724
|
}
|
|
6327
6725
|
),
|
|
6328
|
-
/* @__PURE__ */
|
|
6726
|
+
/* @__PURE__ */ jsx70(
|
|
6329
6727
|
"path",
|
|
6330
6728
|
{
|
|
6331
6729
|
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",
|
|
@@ -6336,7 +6734,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
|
|
|
6336
6734
|
strokeLinejoin: "round"
|
|
6337
6735
|
}
|
|
6338
6736
|
),
|
|
6339
|
-
/* @__PURE__ */
|
|
6737
|
+
/* @__PURE__ */ jsx70(
|
|
6340
6738
|
"path",
|
|
6341
6739
|
{
|
|
6342
6740
|
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",
|
|
@@ -6347,7 +6745,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
|
|
|
6347
6745
|
strokeLinejoin: "round"
|
|
6348
6746
|
}
|
|
6349
6747
|
),
|
|
6350
|
-
/* @__PURE__ */
|
|
6748
|
+
/* @__PURE__ */ jsx70(
|
|
6351
6749
|
"path",
|
|
6352
6750
|
{
|
|
6353
6751
|
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",
|
|
@@ -6358,7 +6756,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
|
|
|
6358
6756
|
strokeLinejoin: "round"
|
|
6359
6757
|
}
|
|
6360
6758
|
),
|
|
6361
|
-
/* @__PURE__ */
|
|
6759
|
+
/* @__PURE__ */ jsx70(
|
|
6362
6760
|
"path",
|
|
6363
6761
|
{
|
|
6364
6762
|
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",
|
|
@@ -6369,7 +6767,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
|
|
|
6369
6767
|
strokeLinejoin: "round"
|
|
6370
6768
|
}
|
|
6371
6769
|
),
|
|
6372
|
-
/* @__PURE__ */
|
|
6770
|
+
/* @__PURE__ */ jsx70(
|
|
6373
6771
|
"path",
|
|
6374
6772
|
{
|
|
6375
6773
|
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",
|
|
@@ -6380,7 +6778,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
|
|
|
6380
6778
|
strokeLinejoin: "round"
|
|
6381
6779
|
}
|
|
6382
6780
|
),
|
|
6383
|
-
/* @__PURE__ */
|
|
6781
|
+
/* @__PURE__ */ jsx70(
|
|
6384
6782
|
"rect",
|
|
6385
6783
|
{
|
|
6386
6784
|
x: "22.623",
|
|
@@ -6393,7 +6791,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
|
|
|
6393
6791
|
strokeWidth: "2"
|
|
6394
6792
|
}
|
|
6395
6793
|
),
|
|
6396
|
-
/* @__PURE__ */
|
|
6794
|
+
/* @__PURE__ */ jsx70(
|
|
6397
6795
|
"rect",
|
|
6398
6796
|
{
|
|
6399
6797
|
x: "22.623",
|
|
@@ -6406,7 +6804,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
|
|
|
6406
6804
|
strokeWidth: "2"
|
|
6407
6805
|
}
|
|
6408
6806
|
),
|
|
6409
|
-
/* @__PURE__ */
|
|
6807
|
+
/* @__PURE__ */ jsx70(
|
|
6410
6808
|
"rect",
|
|
6411
6809
|
{
|
|
6412
6810
|
x: "22.623",
|
|
@@ -6419,7 +6817,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
|
|
|
6419
6817
|
strokeWidth: "2"
|
|
6420
6818
|
}
|
|
6421
6819
|
),
|
|
6422
|
-
/* @__PURE__ */
|
|
6820
|
+
/* @__PURE__ */ jsx70(
|
|
6423
6821
|
"path",
|
|
6424
6822
|
{
|
|
6425
6823
|
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",
|
|
@@ -6429,7 +6827,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
|
|
|
6429
6827
|
strokeMiterlimit: "10"
|
|
6430
6828
|
}
|
|
6431
6829
|
),
|
|
6432
|
-
/* @__PURE__ */
|
|
6830
|
+
/* @__PURE__ */ jsx70(
|
|
6433
6831
|
"path",
|
|
6434
6832
|
{
|
|
6435
6833
|
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",
|
|
@@ -6439,7 +6837,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
|
|
|
6439
6837
|
strokeMiterlimit: "10"
|
|
6440
6838
|
}
|
|
6441
6839
|
),
|
|
6442
|
-
/* @__PURE__ */
|
|
6840
|
+
/* @__PURE__ */ jsx70(
|
|
6443
6841
|
"path",
|
|
6444
6842
|
{
|
|
6445
6843
|
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",
|
|
@@ -6454,8 +6852,8 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs31(SvgIcon9,
|
|
|
6454
6852
|
// src/components/icons/DiscordIcon.tsx
|
|
6455
6853
|
import { memo as memo7 } from "react";
|
|
6456
6854
|
import { SvgIcon as SvgIcon10 } from "@mui/material";
|
|
6457
|
-
import { jsx as
|
|
6458
|
-
var DiscordIcon = memo7((props) => /* @__PURE__ */
|
|
6855
|
+
import { jsx as jsx71 } from "react/jsx-runtime";
|
|
6856
|
+
var DiscordIcon = memo7((props) => /* @__PURE__ */ jsx71(SvgIcon10, { ...props, viewBox: "0 0 15 12", children: /* @__PURE__ */ jsx71(
|
|
6459
6857
|
"path",
|
|
6460
6858
|
{
|
|
6461
6859
|
fill: "currentColor",
|
|
@@ -6466,16 +6864,16 @@ var DiscordIcon = memo7((props) => /* @__PURE__ */ jsx68(SvgIcon10, { ...props,
|
|
|
6466
6864
|
// src/components/icons/DownloadIcon.tsx
|
|
6467
6865
|
import { memo as memo8 } from "react";
|
|
6468
6866
|
import { SvgIcon as SvgIcon11 } from "@mui/material";
|
|
6469
|
-
import { jsx as
|
|
6470
|
-
var DownloadIcon = memo8((props) => /* @__PURE__ */
|
|
6471
|
-
/* @__PURE__ */
|
|
6867
|
+
import { jsx as jsx72, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
6868
|
+
var DownloadIcon = memo8((props) => /* @__PURE__ */ jsxs34(SvgIcon11, { ...props, viewBox: "0 0 17 16", fill: "none", children: [
|
|
6869
|
+
/* @__PURE__ */ jsx72(
|
|
6472
6870
|
"path",
|
|
6473
6871
|
{
|
|
6474
6872
|
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",
|
|
6475
6873
|
fill: "currentColor"
|
|
6476
6874
|
}
|
|
6477
6875
|
),
|
|
6478
|
-
/* @__PURE__ */
|
|
6876
|
+
/* @__PURE__ */ jsx72(
|
|
6479
6877
|
"path",
|
|
6480
6878
|
{
|
|
6481
6879
|
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",
|
|
@@ -6487,11 +6885,11 @@ var DownloadIcon = memo8((props) => /* @__PURE__ */ jsxs32(SvgIcon11, { ...props
|
|
|
6487
6885
|
// src/components/icons/FilledFolderIcon.tsx
|
|
6488
6886
|
import { memo as memo9 } from "react";
|
|
6489
6887
|
import { SvgIcon as SvgIcon12 } from "@mui/material";
|
|
6490
|
-
import { jsx as
|
|
6491
|
-
var FilledFolderIcon = memo9((props) => /* @__PURE__ */
|
|
6492
|
-
/* @__PURE__ */
|
|
6493
|
-
/* @__PURE__ */
|
|
6494
|
-
/* @__PURE__ */
|
|
6888
|
+
import { jsx as jsx73, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
6889
|
+
var FilledFolderIcon = memo9((props) => /* @__PURE__ */ jsxs35(SvgIcon12, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
|
|
6890
|
+
/* @__PURE__ */ jsx73("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#FCF8EC" }),
|
|
6891
|
+
/* @__PURE__ */ jsx73("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E1B43E" }),
|
|
6892
|
+
/* @__PURE__ */ jsx73(
|
|
6495
6893
|
"path",
|
|
6496
6894
|
{
|
|
6497
6895
|
fillRule: "evenodd",
|
|
@@ -6505,11 +6903,11 @@ var FilledFolderIcon = memo9((props) => /* @__PURE__ */ jsxs33(SvgIcon12, { sx:
|
|
|
6505
6903
|
// src/components/icons/FolderIcon.tsx
|
|
6506
6904
|
import { memo as memo10 } from "react";
|
|
6507
6905
|
import { SvgIcon as SvgIcon13 } from "@mui/material";
|
|
6508
|
-
import { jsx as
|
|
6509
|
-
var FolderIcon = memo10((props) => /* @__PURE__ */
|
|
6510
|
-
/* @__PURE__ */
|
|
6511
|
-
/* @__PURE__ */
|
|
6512
|
-
/* @__PURE__ */
|
|
6906
|
+
import { jsx as jsx74, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
6907
|
+
var FolderIcon = memo10((props) => /* @__PURE__ */ jsxs36(SvgIcon13, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
|
|
6908
|
+
/* @__PURE__ */ jsx74("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#F5F7FA" }),
|
|
6909
|
+
/* @__PURE__ */ jsx74("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E6E6E6" }),
|
|
6910
|
+
/* @__PURE__ */ jsx74(
|
|
6513
6911
|
"path",
|
|
6514
6912
|
{
|
|
6515
6913
|
fillRule: "evenodd",
|
|
@@ -6525,16 +6923,16 @@ var FolderIcon = memo10((props) => /* @__PURE__ */ jsxs34(SvgIcon13, { sx: { fil
|
|
|
6525
6923
|
// src/components/icons/GithubLogoIcon.tsx
|
|
6526
6924
|
import { memo as memo11 } from "react";
|
|
6527
6925
|
import { SvgIcon as SvgIcon14 } from "@mui/material";
|
|
6528
|
-
import { jsx as
|
|
6529
|
-
var GithubLogoIcon = memo11((props) => /* @__PURE__ */
|
|
6530
|
-
/* @__PURE__ */
|
|
6926
|
+
import { jsx as jsx75, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
6927
|
+
var GithubLogoIcon = memo11((props) => /* @__PURE__ */ jsxs37(SvgIcon14, { ...props, viewBox: "0 0 17 16", sx: { fill: "none" }, children: [
|
|
6928
|
+
/* @__PURE__ */ jsx75(
|
|
6531
6929
|
"path",
|
|
6532
6930
|
{
|
|
6533
6931
|
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",
|
|
6534
6932
|
fill: "white"
|
|
6535
6933
|
}
|
|
6536
6934
|
),
|
|
6537
|
-
/* @__PURE__ */
|
|
6935
|
+
/* @__PURE__ */ jsx75(
|
|
6538
6936
|
"path",
|
|
6539
6937
|
{
|
|
6540
6938
|
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",
|
|
@@ -6546,8 +6944,8 @@ var GithubLogoIcon = memo11((props) => /* @__PURE__ */ jsxs35(SvgIcon14, { ...pr
|
|
|
6546
6944
|
// src/components/icons/ShareIcon.tsx
|
|
6547
6945
|
import { memo as memo12 } from "react";
|
|
6548
6946
|
import { SvgIcon as SvgIcon15 } from "@mui/material";
|
|
6549
|
-
import { jsx as
|
|
6550
|
-
var ShareIcon = memo12((props) => /* @__PURE__ */
|
|
6947
|
+
import { jsx as jsx76 } from "react/jsx-runtime";
|
|
6948
|
+
var ShareIcon = memo12((props) => /* @__PURE__ */ jsx76(SvgIcon15, { ...props, viewBox: "0 0 17 16", fill: "none", children: /* @__PURE__ */ jsx76(
|
|
6551
6949
|
"path",
|
|
6552
6950
|
{
|
|
6553
6951
|
fillRule: "evenodd",
|
|
@@ -6560,9 +6958,9 @@ var ShareIcon = memo12((props) => /* @__PURE__ */ jsx73(SvgIcon15, { ...props, v
|
|
|
6560
6958
|
// src/components/icons/StorageAppIcon.tsx
|
|
6561
6959
|
import { memo as memo13 } from "react";
|
|
6562
6960
|
import { SvgIcon as SvgIcon16 } from "@mui/material";
|
|
6563
|
-
import { jsx as
|
|
6564
|
-
var StorageAppIcon = memo13((props) => /* @__PURE__ */
|
|
6565
|
-
/* @__PURE__ */
|
|
6961
|
+
import { jsx as jsx77, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
6962
|
+
var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs38(SvgIcon16, { ...props, viewBox: "0 0 38 29", fill: "none", children: [
|
|
6963
|
+
/* @__PURE__ */ jsx77(
|
|
6566
6964
|
"path",
|
|
6567
6965
|
{
|
|
6568
6966
|
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",
|
|
@@ -6571,7 +6969,7 @@ var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs36(SvgIcon16, { ...pr
|
|
|
6571
6969
|
fill: "none"
|
|
6572
6970
|
}
|
|
6573
6971
|
),
|
|
6574
|
-
/* @__PURE__ */
|
|
6972
|
+
/* @__PURE__ */ jsx77(
|
|
6575
6973
|
"path",
|
|
6576
6974
|
{
|
|
6577
6975
|
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",
|
|
@@ -6585,8 +6983,8 @@ var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs36(SvgIcon16, { ...pr
|
|
|
6585
6983
|
// src/components/icons/UploadFileIcon.tsx
|
|
6586
6984
|
import { memo as memo14 } from "react";
|
|
6587
6985
|
import { SvgIcon as SvgIcon17 } from "@mui/material";
|
|
6588
|
-
import { jsx as
|
|
6589
|
-
var UploadFileIcon = memo14((props) => /* @__PURE__ */
|
|
6986
|
+
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
6987
|
+
var UploadFileIcon = memo14((props) => /* @__PURE__ */ jsx78(SvgIcon17, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx78(
|
|
6590
6988
|
"path",
|
|
6591
6989
|
{
|
|
6592
6990
|
fillRule: "evenodd",
|
|
@@ -6601,8 +6999,8 @@ var UploadFileIcon = memo14((props) => /* @__PURE__ */ jsx75(SvgIcon17, { ...pro
|
|
|
6601
6999
|
// src/components/icons/UploadFolderIcon.tsx
|
|
6602
7000
|
import { memo as memo15 } from "react";
|
|
6603
7001
|
import { SvgIcon as SvgIcon18 } from "@mui/material";
|
|
6604
|
-
import { jsx as
|
|
6605
|
-
var UploadFolderIcon = memo15((props) => /* @__PURE__ */
|
|
7002
|
+
import { jsx as jsx79 } from "react/jsx-runtime";
|
|
7003
|
+
var UploadFolderIcon = memo15((props) => /* @__PURE__ */ jsx79(SvgIcon18, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx79(
|
|
6606
7004
|
"path",
|
|
6607
7005
|
{
|
|
6608
7006
|
fillRule: "evenodd",
|
|
@@ -6615,14 +7013,14 @@ var UploadFolderIcon = memo15((props) => /* @__PURE__ */ jsx76(SvgIcon18, { ...p
|
|
|
6615
7013
|
) }));
|
|
6616
7014
|
|
|
6617
7015
|
// src/components/utilities/Markdown/Markdown.tsx
|
|
6618
|
-
import { Box as
|
|
7016
|
+
import { Box as Box21, styled as styled42 } from "@mui/material";
|
|
6619
7017
|
import "highlight.js/styles/github.css";
|
|
6620
7018
|
import "github-markdown-css/github-markdown-light.css";
|
|
6621
7019
|
import MD from "react-markdown";
|
|
6622
7020
|
import highlight from "rehype-highlight";
|
|
6623
7021
|
import rehypeRaw from "rehype-raw";
|
|
6624
|
-
import { jsx as
|
|
6625
|
-
var Content =
|
|
7022
|
+
import { jsx as jsx80 } from "react/jsx-runtime";
|
|
7023
|
+
var Content = styled42(Box21)(({ theme: theme2 }) => ({
|
|
6626
7024
|
backgroundColor: "transparent",
|
|
6627
7025
|
...theme2.typography.body1,
|
|
6628
7026
|
color: theme2.palette.text.primary,
|
|
@@ -6639,11 +7037,11 @@ var Content = styled40(Box19)(({ theme: theme2 }) => ({
|
|
|
6639
7037
|
backgroundColor: theme2.palette.background.paper
|
|
6640
7038
|
}
|
|
6641
7039
|
}));
|
|
6642
|
-
var Markdown = ({ content, children }) => /* @__PURE__ */
|
|
7040
|
+
var Markdown = ({ content, children }) => /* @__PURE__ */ jsx80(Content, { className: "markdown-body", children: /* @__PURE__ */ jsx80(MD, { rehypePlugins: [highlight, rehypeRaw], children: content || children }) });
|
|
6643
7041
|
|
|
6644
7042
|
// src/components/utilities/OnboardingProvider/OnboardingProvider.tsx
|
|
6645
7043
|
import { createContext as createContext2, useContext as useContext2, useState as useState8, useCallback as useCallback6, useEffect as useEffect2 } from "react";
|
|
6646
|
-
import { jsx as
|
|
7044
|
+
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
6647
7045
|
var OnboardingContext = createContext2(void 0);
|
|
6648
7046
|
var useOnboarding = () => {
|
|
6649
7047
|
const context = useContext2(OnboardingContext);
|
|
@@ -6668,7 +7066,7 @@ var OnboardingProvider = ({ children }) => {
|
|
|
6668
7066
|
setIsOnboardingActive(false);
|
|
6669
7067
|
setTimeout(() => setIsOnboardingActive(true), 0);
|
|
6670
7068
|
}, []);
|
|
6671
|
-
return /* @__PURE__ */
|
|
7069
|
+
return /* @__PURE__ */ jsx81(
|
|
6672
7070
|
OnboardingContext.Provider,
|
|
6673
7071
|
{
|
|
6674
7072
|
value: {
|
|
@@ -6683,7 +7081,7 @@ var OnboardingProvider = ({ children }) => {
|
|
|
6683
7081
|
};
|
|
6684
7082
|
|
|
6685
7083
|
// src/components/utilities/Truncate/Truncate.tsx
|
|
6686
|
-
import { jsx as
|
|
7084
|
+
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
6687
7085
|
var getDefaultEndingLength = ({ text, variant, maxLength = text.length }) => {
|
|
6688
7086
|
if (variant === "hex") {
|
|
6689
7087
|
return 4;
|
|
@@ -6707,30 +7105,30 @@ var Truncate = ({
|
|
|
6707
7105
|
const truncated = text.slice(0, maxLength - endingLength);
|
|
6708
7106
|
truncatedText = [truncated, ending].filter(Boolean).join("...");
|
|
6709
7107
|
}
|
|
6710
|
-
return /* @__PURE__ */
|
|
7108
|
+
return /* @__PURE__ */ jsx82("span", { ...props, "data-full": text, children: truncatedText });
|
|
6711
7109
|
};
|
|
6712
7110
|
|
|
6713
7111
|
// src/components/utilities/BytesSize/BytesSize.tsx
|
|
6714
7112
|
import size from "byte-size";
|
|
6715
|
-
import { Fragment as
|
|
7113
|
+
import { Fragment as Fragment11, jsx as jsx83 } from "react/jsx-runtime";
|
|
6716
7114
|
var BytesSize = ({ bytes }) => {
|
|
6717
|
-
return /* @__PURE__ */
|
|
7115
|
+
return /* @__PURE__ */ jsx83(Fragment11, { children: size(bytes).toString() });
|
|
6718
7116
|
};
|
|
6719
7117
|
|
|
6720
7118
|
// src/components/utilities/QRCode/QRCode.tsx
|
|
6721
7119
|
import { forwardRef as forwardRef2 } from "react";
|
|
6722
7120
|
import QR from "react-qr-code";
|
|
6723
|
-
import { jsx as
|
|
6724
|
-
var QRCode = forwardRef2(({ size: size3 = 168, ...props }, ref) => /* @__PURE__ */
|
|
7121
|
+
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
7122
|
+
var QRCode = forwardRef2(({ size: size3 = 168, ...props }, ref) => /* @__PURE__ */ jsx84(QR, { ref, size: size3, ...props }));
|
|
6725
7123
|
QRCode.displayName = "QRCode";
|
|
6726
7124
|
|
|
6727
7125
|
// src/components/charts/ChartWidget/ChartWidget.tsx
|
|
6728
|
-
import { Box as
|
|
7126
|
+
import { Box as Box22, Stack as Stack4, Typography as Typography18, styled as styled43, useTheme as useTheme3 } from "@mui/material";
|
|
6729
7127
|
import { LineChart } from "@mui/x-charts";
|
|
6730
7128
|
import size2 from "byte-size";
|
|
6731
7129
|
import { format } from "date-fns";
|
|
6732
|
-
import { jsx as
|
|
6733
|
-
var Chart =
|
|
7130
|
+
import { jsx as jsx85, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
7131
|
+
var Chart = styled43(Box22)(() => ({
|
|
6734
7132
|
height: 200
|
|
6735
7133
|
}));
|
|
6736
7134
|
var ChartWidget = ({
|
|
@@ -6740,10 +7138,10 @@ var ChartWidget = ({
|
|
|
6740
7138
|
formatValue = (value2) => size2(value2 || 0).toString()
|
|
6741
7139
|
}) => {
|
|
6742
7140
|
const theme2 = useTheme3();
|
|
6743
|
-
return /* @__PURE__ */
|
|
6744
|
-
/* @__PURE__ */
|
|
6745
|
-
/* @__PURE__ */
|
|
6746
|
-
/* @__PURE__ */
|
|
7141
|
+
return /* @__PURE__ */ jsxs39(Stack4, { spacing: 1, children: [
|
|
7142
|
+
/* @__PURE__ */ jsx85(Typography18, { variant: "caption", color: "text.secondary", children: title }),
|
|
7143
|
+
/* @__PURE__ */ jsx85(Typography18, { fontWeight: "bold", children: value }),
|
|
7144
|
+
/* @__PURE__ */ jsx85(Chart, { children: /* @__PURE__ */ jsx85(
|
|
6747
7145
|
LineChart,
|
|
6748
7146
|
{
|
|
6749
7147
|
dataset: history || [],
|
|
@@ -6801,11 +7199,11 @@ var ChartWidget = ({
|
|
|
6801
7199
|
import { format as format2, startOfDay, subHours, subWeeks, subMonths } from "date-fns";
|
|
6802
7200
|
import { LineChart as LineChart2 } from "@mui/x-charts";
|
|
6803
7201
|
import { useDrawingArea, useYScale } from "@mui/x-charts/hooks";
|
|
6804
|
-
import { Box as
|
|
7202
|
+
import { Box as Box23, Card as Card2, CardHeader as CardHeader2, CardMedia, Divider as Divider7, Stack as Stack5, styled as styled44, Typography as Typography19, useTheme as useTheme4 } from "@mui/material";
|
|
6805
7203
|
|
|
6806
7204
|
// src/components/charts/MetricsChart/PeriodSelect.tsx
|
|
6807
|
-
import { MenuItem as
|
|
6808
|
-
import { jsx as
|
|
7205
|
+
import { MenuItem as MenuItem3, TextField as TextField4 } from "@mui/material";
|
|
7206
|
+
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
6809
7207
|
var options = [
|
|
6810
7208
|
/**
|
|
6811
7209
|
* TODO: Enable the options below when the backend supports them
|
|
@@ -6815,7 +7213,7 @@ var options = [
|
|
|
6815
7213
|
{ value: "week", label: "1 week" },
|
|
6816
7214
|
{ value: "month", label: "1 month" }
|
|
6817
7215
|
];
|
|
6818
|
-
var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */
|
|
7216
|
+
var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ jsx86(
|
|
6819
7217
|
TextField4,
|
|
6820
7218
|
{
|
|
6821
7219
|
select: true,
|
|
@@ -6823,13 +7221,13 @@ var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ jsx83(
|
|
|
6823
7221
|
value,
|
|
6824
7222
|
defaultValue: options[0].value,
|
|
6825
7223
|
onChange: (e) => onChange?.(e.target.value),
|
|
6826
|
-
children: options.map(({ value: value2, label }) => /* @__PURE__ */
|
|
7224
|
+
children: options.map(({ value: value2, label }) => /* @__PURE__ */ jsx86(MenuItem3, { value: value2, children: label }, value2))
|
|
6827
7225
|
}
|
|
6828
7226
|
);
|
|
6829
7227
|
|
|
6830
7228
|
// src/components/charts/MetricsChart/MetricsChart.tsx
|
|
6831
7229
|
import { useMemo, useState as useState9 } from "react";
|
|
6832
|
-
import { jsx as
|
|
7230
|
+
import { jsx as jsx87, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
6833
7231
|
var mapPeriodToFromDate = (period = "month") => {
|
|
6834
7232
|
const date = /* @__PURE__ */ new Date();
|
|
6835
7233
|
if (period === "hour") {
|
|
@@ -6843,14 +7241,14 @@ var mapPeriodToFromDate = (period = "month") => {
|
|
|
6843
7241
|
}
|
|
6844
7242
|
return startOfDay(subMonths(date, 1));
|
|
6845
7243
|
};
|
|
6846
|
-
var Chart2 =
|
|
7244
|
+
var Chart2 = styled44(LineChart2)({
|
|
6847
7245
|
height: 320,
|
|
6848
7246
|
marginBottom: 16
|
|
6849
7247
|
});
|
|
6850
|
-
var NoDataRect =
|
|
7248
|
+
var NoDataRect = styled44("rect")({
|
|
6851
7249
|
fill: "#F5F6FF"
|
|
6852
7250
|
});
|
|
6853
|
-
var LoadingText =
|
|
7251
|
+
var LoadingText = styled44("text")(({ theme: theme2 }) => ({
|
|
6854
7252
|
stroke: "none",
|
|
6855
7253
|
fill: theme2.palette.text.primary,
|
|
6856
7254
|
shapeRendering: "crispEdges",
|
|
@@ -6889,15 +7287,15 @@ var MetricsChart = ({ history = [] }) => {
|
|
|
6889
7287
|
const backgroundHeight = textHeight + padding.top + padding.bottom;
|
|
6890
7288
|
const rectX = left + (width - backgroundWidth) / 2;
|
|
6891
7289
|
const rectY = top + (height - backgroundHeight) / 2;
|
|
6892
|
-
return /* @__PURE__ */
|
|
6893
|
-
/* @__PURE__ */
|
|
6894
|
-
/* @__PURE__ */
|
|
7290
|
+
return /* @__PURE__ */ jsxs40("g", { children: [
|
|
7291
|
+
/* @__PURE__ */ jsx87(NoDataRect, { x: rectX, y: rectY, width: backgroundWidth, height: backgroundHeight }),
|
|
7292
|
+
/* @__PURE__ */ jsx87(LoadingText, { style: { ...theme2.typography.subtitle1 }, x: left + width / 2, y: top + height / 2, children: text })
|
|
6895
7293
|
] });
|
|
6896
7294
|
};
|
|
6897
|
-
return /* @__PURE__ */
|
|
6898
|
-
/* @__PURE__ */
|
|
6899
|
-
/* @__PURE__ */
|
|
6900
|
-
/* @__PURE__ */
|
|
7295
|
+
return /* @__PURE__ */ jsxs40(Card2, { children: [
|
|
7296
|
+
/* @__PURE__ */ jsx87(CardHeader2, { title: "GET / PUT Requests", action: /* @__PURE__ */ jsx87(PeriodSelect, { value: period, onChange: setPeriod }) }),
|
|
7297
|
+
/* @__PURE__ */ jsxs40(CardMedia, { children: [
|
|
7298
|
+
/* @__PURE__ */ jsx87(
|
|
6901
7299
|
Chart2,
|
|
6902
7300
|
{
|
|
6903
7301
|
skipAnimation: true,
|
|
@@ -6958,35 +7356,35 @@ var MetricsChart = ({ history = [] }) => {
|
|
|
6958
7356
|
]
|
|
6959
7357
|
}
|
|
6960
7358
|
),
|
|
6961
|
-
periodHistory.length > 0 && /* @__PURE__ */
|
|
6962
|
-
/* @__PURE__ */
|
|
6963
|
-
/* @__PURE__ */
|
|
6964
|
-
/* @__PURE__ */
|
|
7359
|
+
periodHistory.length > 0 && /* @__PURE__ */ jsxs40(Stack5, { direction: "row", spacing: 2, marginY: 3, justifyContent: "center", children: [
|
|
7360
|
+
/* @__PURE__ */ jsxs40(Stack5, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
7361
|
+
/* @__PURE__ */ jsx87(Box23, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.primary.main } }),
|
|
7362
|
+
/* @__PURE__ */ jsx87(Typography19, { variant: "body2", children: "Get" })
|
|
6965
7363
|
] }),
|
|
6966
|
-
/* @__PURE__ */
|
|
6967
|
-
/* @__PURE__ */
|
|
6968
|
-
/* @__PURE__ */
|
|
7364
|
+
/* @__PURE__ */ jsxs40(Stack5, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
7365
|
+
/* @__PURE__ */ jsx87(Box23, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.success.main } }),
|
|
7366
|
+
/* @__PURE__ */ jsx87(Typography19, { variant: "body2", children: "Put" })
|
|
6969
7367
|
] })
|
|
6970
7368
|
] })
|
|
6971
7369
|
] }),
|
|
6972
|
-
/* @__PURE__ */
|
|
6973
|
-
/* @__PURE__ */
|
|
6974
|
-
/* @__PURE__ */
|
|
6975
|
-
/* @__PURE__ */
|
|
6976
|
-
/* @__PURE__ */
|
|
6977
|
-
/* @__PURE__ */
|
|
7370
|
+
/* @__PURE__ */ jsxs40(CardMedia, { children: [
|
|
7371
|
+
/* @__PURE__ */ jsx87(Divider7, { flexItem: true }),
|
|
7372
|
+
/* @__PURE__ */ jsxs40(Stack5, { direction: "row", spacing: 2, padding: 2, children: [
|
|
7373
|
+
/* @__PURE__ */ jsxs40(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
7374
|
+
/* @__PURE__ */ jsx87(Typography19, { variant: "body2", color: "secondary", children: "GET Requests per account" }),
|
|
7375
|
+
/* @__PURE__ */ jsx87(Typography19, { variant: "h3", children: total.gets })
|
|
6978
7376
|
] }),
|
|
6979
|
-
/* @__PURE__ */
|
|
6980
|
-
/* @__PURE__ */
|
|
6981
|
-
/* @__PURE__ */
|
|
7377
|
+
/* @__PURE__ */ jsxs40(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
7378
|
+
/* @__PURE__ */ jsx87(Typography19, { variant: "body2", color: "secondary", children: "PUT Requests per account" }),
|
|
7379
|
+
/* @__PURE__ */ jsx87(Typography19, { variant: "h3", children: total.puts })
|
|
6982
7380
|
] }),
|
|
6983
|
-
/* @__PURE__ */
|
|
6984
|
-
/* @__PURE__ */
|
|
6985
|
-
/* @__PURE__ */
|
|
7381
|
+
/* @__PURE__ */ jsxs40(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
7382
|
+
/* @__PURE__ */ jsx87(Typography19, { variant: "body2", color: "secondary", children: "Total Consumed per account" }),
|
|
7383
|
+
/* @__PURE__ */ jsx87(Typography19, { variant: "h3", children: /* @__PURE__ */ jsx87(BytesSize, { bytes: total.transferredBytes }) })
|
|
6986
7384
|
] }),
|
|
6987
|
-
/* @__PURE__ */
|
|
6988
|
-
/* @__PURE__ */
|
|
6989
|
-
/* @__PURE__ */
|
|
7385
|
+
/* @__PURE__ */ jsxs40(Stack5, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
7386
|
+
/* @__PURE__ */ jsx87(Typography19, { variant: "body2", color: "secondary", children: "Total Stored per account" }),
|
|
7387
|
+
/* @__PURE__ */ jsx87(Typography19, { variant: "h3", children: /* @__PURE__ */ jsx87(BytesSize, { bytes: total.storedBytes }) })
|
|
6990
7388
|
] })
|
|
6991
7389
|
] })
|
|
6992
7390
|
] })
|
|
@@ -7003,10 +7401,10 @@ import ReactFlow, {
|
|
|
7003
7401
|
BackgroundVariant,
|
|
7004
7402
|
ConnectionLineType
|
|
7005
7403
|
} from "reactflow";
|
|
7006
|
-
import { Box as
|
|
7404
|
+
import { Box as Box24 } from "@mui/material";
|
|
7007
7405
|
import { useTheme as useTheme5 } from "@mui/material/styles";
|
|
7008
7406
|
import { Background as Background2, Controls as Controls2, MiniMap as MiniMap2, Panel, BackgroundVariant as BackgroundVariant2, ConnectionLineType as ConnectionLineType2 } from "reactflow";
|
|
7009
|
-
import { jsx as
|
|
7407
|
+
import { jsx as jsx88, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
7010
7408
|
var FlowEditor = ({
|
|
7011
7409
|
nodes,
|
|
7012
7410
|
edges,
|
|
@@ -7032,8 +7430,8 @@ var FlowEditor = ({
|
|
|
7032
7430
|
},
|
|
7033
7431
|
[onInit]
|
|
7034
7432
|
);
|
|
7035
|
-
return /* @__PURE__ */
|
|
7036
|
-
|
|
7433
|
+
return /* @__PURE__ */ jsx88(ReactFlowProvider, { children: /* @__PURE__ */ jsx88(
|
|
7434
|
+
Box24,
|
|
7037
7435
|
{
|
|
7038
7436
|
sx: {
|
|
7039
7437
|
width: "100%",
|
|
@@ -7045,7 +7443,7 @@ var FlowEditor = ({
|
|
|
7045
7443
|
...containerProps?.sx
|
|
7046
7444
|
},
|
|
7047
7445
|
...containerProps,
|
|
7048
|
-
children: /* @__PURE__ */
|
|
7446
|
+
children: /* @__PURE__ */ jsxs41(
|
|
7049
7447
|
ReactFlow,
|
|
7050
7448
|
{
|
|
7051
7449
|
nodes,
|
|
@@ -7067,7 +7465,7 @@ var FlowEditor = ({
|
|
|
7067
7465
|
},
|
|
7068
7466
|
...reactFlowProps,
|
|
7069
7467
|
children: [
|
|
7070
|
-
showBackground && /* @__PURE__ */
|
|
7468
|
+
showBackground && /* @__PURE__ */ jsx88(
|
|
7071
7469
|
Background,
|
|
7072
7470
|
{
|
|
7073
7471
|
variant: backgroundVariant,
|
|
@@ -7076,8 +7474,8 @@ var FlowEditor = ({
|
|
|
7076
7474
|
color: theme2.palette.divider
|
|
7077
7475
|
}
|
|
7078
7476
|
),
|
|
7079
|
-
showControls && /* @__PURE__ */
|
|
7080
|
-
showMinimap && /* @__PURE__ */
|
|
7477
|
+
showControls && /* @__PURE__ */ jsx88(Controls, {}),
|
|
7478
|
+
showMinimap && /* @__PURE__ */ jsx88(
|
|
7081
7479
|
MiniMap,
|
|
7082
7480
|
{
|
|
7083
7481
|
nodeColor: (node) => {
|
|
@@ -7102,13 +7500,13 @@ var FlowEditor = ({
|
|
|
7102
7500
|
// src/components/third-party/CodeEditor.tsx
|
|
7103
7501
|
import { useCallback as useCallback8, useEffect as useEffect3, useState as useState10, useRef as useRef2 } from "react";
|
|
7104
7502
|
import Editor from "@monaco-editor/react";
|
|
7105
|
-
import { Box as
|
|
7503
|
+
import { Box as Box25, IconButton as IconButton11, Tooltip as Tooltip7 } from "@mui/material";
|
|
7106
7504
|
import FullscreenIcon from "@mui/icons-material/Fullscreen";
|
|
7107
7505
|
import FullscreenExitIcon from "@mui/icons-material/FullscreenExit";
|
|
7108
7506
|
import ErrorOutlineIcon from "@mui/icons-material/ErrorOutline";
|
|
7109
7507
|
import ExpandMoreIcon3 from "@mui/icons-material/ExpandMore";
|
|
7110
7508
|
import ExpandLessIcon from "@mui/icons-material/ExpandLess";
|
|
7111
|
-
import { jsx as
|
|
7509
|
+
import { jsx as jsx89, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
7112
7510
|
var configureTypeScript = (monaco) => {
|
|
7113
7511
|
monaco.languages.typescript.typescriptDefaults.setCompilerOptions({
|
|
7114
7512
|
target: monaco.languages.typescript.ScriptTarget.ES2020,
|
|
@@ -7320,8 +7718,8 @@ var CodeEditor = ({
|
|
|
7320
7718
|
theme: themeProp || "vs",
|
|
7321
7719
|
...options2
|
|
7322
7720
|
};
|
|
7323
|
-
return /* @__PURE__ */
|
|
7324
|
-
|
|
7721
|
+
return /* @__PURE__ */ jsx89(
|
|
7722
|
+
Box25,
|
|
7325
7723
|
{
|
|
7326
7724
|
sx: {
|
|
7327
7725
|
display: "flex",
|
|
@@ -7341,8 +7739,8 @@ var CodeEditor = ({
|
|
|
7341
7739
|
pb: isFullscreen ? 2 : 0,
|
|
7342
7740
|
overflow: isFullscreen ? "hidden" : "visible"
|
|
7343
7741
|
},
|
|
7344
|
-
children: /* @__PURE__ */
|
|
7345
|
-
|
|
7742
|
+
children: /* @__PURE__ */ jsxs42(
|
|
7743
|
+
Box25,
|
|
7346
7744
|
{
|
|
7347
7745
|
sx: {
|
|
7348
7746
|
flex: 1,
|
|
@@ -7357,8 +7755,8 @@ var CodeEditor = ({
|
|
|
7357
7755
|
},
|
|
7358
7756
|
...containerProps,
|
|
7359
7757
|
children: [
|
|
7360
|
-
/* @__PURE__ */
|
|
7361
|
-
|
|
7758
|
+
/* @__PURE__ */ jsx89(Tooltip7, { title: isFullscreen ? "Exit Fullscreen" : "Fullscreen", children: /* @__PURE__ */ jsx89(
|
|
7759
|
+
IconButton11,
|
|
7362
7760
|
{
|
|
7363
7761
|
onClick: toggleFullscreen,
|
|
7364
7762
|
size: "small",
|
|
@@ -7375,11 +7773,11 @@ var CodeEditor = ({
|
|
|
7375
7773
|
},
|
|
7376
7774
|
boxShadow: 1
|
|
7377
7775
|
},
|
|
7378
|
-
children: isFullscreen ? /* @__PURE__ */
|
|
7776
|
+
children: isFullscreen ? /* @__PURE__ */ jsx89(FullscreenExitIcon, { fontSize: "small" }) : /* @__PURE__ */ jsx89(FullscreenIcon, { fontSize: "small" })
|
|
7379
7777
|
}
|
|
7380
7778
|
) }),
|
|
7381
|
-
/* @__PURE__ */
|
|
7382
|
-
|
|
7779
|
+
/* @__PURE__ */ jsx89(
|
|
7780
|
+
Box25,
|
|
7383
7781
|
{
|
|
7384
7782
|
sx: {
|
|
7385
7783
|
flex: 1,
|
|
@@ -7390,7 +7788,7 @@ var CodeEditor = ({
|
|
|
7390
7788
|
position: "relative",
|
|
7391
7789
|
height: isFullscreen ? "100%" : actualHeight
|
|
7392
7790
|
},
|
|
7393
|
-
children: /* @__PURE__ */
|
|
7791
|
+
children: /* @__PURE__ */ jsx89(
|
|
7394
7792
|
Editor,
|
|
7395
7793
|
{
|
|
7396
7794
|
height: "100%",
|
|
@@ -7401,7 +7799,7 @@ var CodeEditor = ({
|
|
|
7401
7799
|
onMount: handleEditorDidMount,
|
|
7402
7800
|
theme: themeProp || "vs",
|
|
7403
7801
|
options: defaultOptions,
|
|
7404
|
-
loading: /* @__PURE__ */
|
|
7802
|
+
loading: /* @__PURE__ */ jsx89(Box25, { sx: { p: 2, textAlign: "center" }, children: "Loading Monaco Editor..." }),
|
|
7405
7803
|
beforeMount: (monaco) => {
|
|
7406
7804
|
console.log("CodeEditor: beforeMount called", { monaco: !!monaco });
|
|
7407
7805
|
}
|
|
@@ -7409,8 +7807,8 @@ var CodeEditor = ({
|
|
|
7409
7807
|
)
|
|
7410
7808
|
}
|
|
7411
7809
|
),
|
|
7412
|
-
validationErrors.length > 0 && /* @__PURE__ */
|
|
7413
|
-
|
|
7810
|
+
validationErrors.length > 0 && /* @__PURE__ */ jsxs42(
|
|
7811
|
+
Box25,
|
|
7414
7812
|
{
|
|
7415
7813
|
sx: {
|
|
7416
7814
|
borderTop: 1,
|
|
@@ -7423,8 +7821,8 @@ var CodeEditor = ({
|
|
|
7423
7821
|
transition: "max-height 0.2s ease"
|
|
7424
7822
|
},
|
|
7425
7823
|
children: [
|
|
7426
|
-
/* @__PURE__ */
|
|
7427
|
-
|
|
7824
|
+
/* @__PURE__ */ jsxs42(
|
|
7825
|
+
Box25,
|
|
7428
7826
|
{
|
|
7429
7827
|
sx: {
|
|
7430
7828
|
display: "flex",
|
|
@@ -7438,16 +7836,16 @@ var CodeEditor = ({
|
|
|
7438
7836
|
color: "text.secondary"
|
|
7439
7837
|
},
|
|
7440
7838
|
children: [
|
|
7441
|
-
/* @__PURE__ */
|
|
7442
|
-
/* @__PURE__ */
|
|
7443
|
-
/* @__PURE__ */
|
|
7839
|
+
/* @__PURE__ */ jsx89(ErrorOutlineIcon, { color: "error", fontSize: "small" }),
|
|
7840
|
+
/* @__PURE__ */ jsx89(Box25, { sx: { fontWeight: 600, color: "text.primary" }, children: "Problems" }),
|
|
7841
|
+
/* @__PURE__ */ jsxs42(Box25, { sx: { ml: 1 }, children: [
|
|
7444
7842
|
validationErrors.length,
|
|
7445
7843
|
" error",
|
|
7446
7844
|
validationErrors.length > 1 ? "s" : ""
|
|
7447
7845
|
] }),
|
|
7448
|
-
/* @__PURE__ */
|
|
7449
|
-
/* @__PURE__ */
|
|
7450
|
-
|
|
7846
|
+
/* @__PURE__ */ jsx89(Box25, { sx: { flex: 1 } }),
|
|
7847
|
+
/* @__PURE__ */ jsx89(
|
|
7848
|
+
IconButton11,
|
|
7451
7849
|
{
|
|
7452
7850
|
size: "small",
|
|
7453
7851
|
"aria-label": "Toggle problems panel",
|
|
@@ -7455,14 +7853,14 @@ var CodeEditor = ({
|
|
|
7455
7853
|
setHasUserToggledProblems(true);
|
|
7456
7854
|
setShowProblems((s) => !s);
|
|
7457
7855
|
},
|
|
7458
|
-
children: showProblems ? /* @__PURE__ */
|
|
7856
|
+
children: showProblems ? /* @__PURE__ */ jsx89(ExpandMoreIcon3, { fontSize: "small" }) : /* @__PURE__ */ jsx89(ExpandLessIcon, { fontSize: "small" })
|
|
7459
7857
|
}
|
|
7460
7858
|
)
|
|
7461
7859
|
]
|
|
7462
7860
|
}
|
|
7463
7861
|
),
|
|
7464
|
-
showProblems && /* @__PURE__ */
|
|
7465
|
-
|
|
7862
|
+
showProblems && /* @__PURE__ */ jsx89(Box25, { sx: { overflow: "auto" }, children: validationErrors.map((error, index) => /* @__PURE__ */ jsxs42(
|
|
7863
|
+
Box25,
|
|
7466
7864
|
{
|
|
7467
7865
|
onClick: () => gotoMarker(error),
|
|
7468
7866
|
sx: {
|
|
@@ -7478,12 +7876,12 @@ var CodeEditor = ({
|
|
|
7478
7876
|
fontSize: "0.85rem"
|
|
7479
7877
|
},
|
|
7480
7878
|
children: [
|
|
7481
|
-
/* @__PURE__ */
|
|
7482
|
-
/* @__PURE__ */
|
|
7879
|
+
/* @__PURE__ */ jsx89(ErrorOutlineIcon, { color: "error", sx: { fontSize: 18 } }),
|
|
7880
|
+
/* @__PURE__ */ jsxs42(Box25, { sx: { color: "text.secondary", width: 64 }, children: [
|
|
7483
7881
|
"Line ",
|
|
7484
7882
|
error.startLineNumber
|
|
7485
7883
|
] }),
|
|
7486
|
-
/* @__PURE__ */
|
|
7884
|
+
/* @__PURE__ */ jsx89(Box25, { sx: { color: "text.primary", flex: 1, minWidth: 0 }, children: error.message })
|
|
7487
7885
|
]
|
|
7488
7886
|
},
|
|
7489
7887
|
`${error.startLineNumber}-${error.startColumn}-${index}`
|
|
@@ -7513,7 +7911,7 @@ export {
|
|
|
7513
7911
|
BackgroundVariant2 as BackgroundVariant,
|
|
7514
7912
|
Badge,
|
|
7515
7913
|
BarTrackingIcon,
|
|
7516
|
-
|
|
7914
|
+
Box17 as Box,
|
|
7517
7915
|
Breadcrumbs,
|
|
7518
7916
|
Button,
|
|
7519
7917
|
ButtonGroup,
|
|
@@ -7543,12 +7941,13 @@ export {
|
|
|
7543
7941
|
DeploymentEntityContextMenu,
|
|
7544
7942
|
Dialog,
|
|
7545
7943
|
DiscordIcon,
|
|
7546
|
-
|
|
7944
|
+
Divider6 as Divider,
|
|
7547
7945
|
DownloadIcon,
|
|
7548
7946
|
Drawer2 as Drawer,
|
|
7549
7947
|
Dropdown,
|
|
7550
7948
|
DropdownAnchor,
|
|
7551
7949
|
EmptyState,
|
|
7950
|
+
EntityHeader,
|
|
7552
7951
|
FilledFolderIcon,
|
|
7553
7952
|
FlowEditor,
|
|
7554
7953
|
FolderIcon,
|
|
@@ -7558,6 +7957,7 @@ export {
|
|
|
7558
7957
|
FormLabel,
|
|
7559
7958
|
GithubLogoIcon,
|
|
7560
7959
|
Grid2 as Grid,
|
|
7960
|
+
IDBlock,
|
|
7561
7961
|
IconButton,
|
|
7562
7962
|
InputAdornment2 as InputAdornment,
|
|
7563
7963
|
InputLabel,
|
|
@@ -7590,6 +7990,7 @@ export {
|
|
|
7590
7990
|
Radio,
|
|
7591
7991
|
RadioGroup,
|
|
7592
7992
|
RightArrowIcon,
|
|
7993
|
+
RoleBadge,
|
|
7593
7994
|
SearchField,
|
|
7594
7995
|
Selector,
|
|
7595
7996
|
ServiceSelectorButton,
|
|
@@ -7616,12 +8017,14 @@ export {
|
|
|
7616
8017
|
Toolbar,
|
|
7617
8018
|
Tooltip6 as Tooltip,
|
|
7618
8019
|
Truncate,
|
|
7619
|
-
|
|
8020
|
+
Typography14 as Typography,
|
|
7620
8021
|
UploadFileIcon,
|
|
7621
8022
|
UploadFolderIcon,
|
|
7622
8023
|
WorkspaceSelectorButton,
|
|
7623
8024
|
colors,
|
|
7624
8025
|
contextMenuItems,
|
|
8026
|
+
robPaletteExtended,
|
|
8027
|
+
robPrimaryPalette,
|
|
7625
8028
|
theme,
|
|
7626
8029
|
useIsDesktop,
|
|
7627
8030
|
useIsMobile,
|