@cere/cere-design-system 0.0.23 → 0.0.24
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 +22 -1
- package/dist/index.d.ts +22 -1
- package/dist/index.js +608 -556
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +646 -595
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -1
package/dist/index.js
CHANGED
|
@@ -65,6 +65,7 @@ __export(index_exports, {
|
|
|
65
65
|
ConnectionStatus: () => ConnectionStatus,
|
|
66
66
|
Container: () => import_material36.Container,
|
|
67
67
|
Controls: () => import_reactflow2.Controls,
|
|
68
|
+
DateRangePicker: () => DateRangePicker,
|
|
68
69
|
DecentralizedServerIcon: () => DecentralizedServerIcon,
|
|
69
70
|
DeploymentDashboardCard: () => DeploymentDashboardCard,
|
|
70
71
|
DeploymentDashboardPanel: () => DeploymentDashboardPanel,
|
|
@@ -2376,6 +2377,56 @@ var Radio = ({
|
|
|
2376
2377
|
);
|
|
2377
2378
|
};
|
|
2378
2379
|
|
|
2380
|
+
// src/components/inputs/DateRangePicker/DateRangePicker.tsx
|
|
2381
|
+
var import_Stack = __toESM(require("@mui/material/Stack"));
|
|
2382
|
+
var import_Typography = __toESM(require("@mui/material/Typography"));
|
|
2383
|
+
var import_DatePicker = require("@mui/x-date-pickers/DatePicker");
|
|
2384
|
+
var import_LocalizationProvider = require("@mui/x-date-pickers/LocalizationProvider");
|
|
2385
|
+
var import_AdapterDateFnsV3 = require("@mui/x-date-pickers/AdapterDateFnsV3");
|
|
2386
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
2387
|
+
var DateRangePicker = ({
|
|
2388
|
+
startDate,
|
|
2389
|
+
endDate,
|
|
2390
|
+
onStartDateChange,
|
|
2391
|
+
onEndDateChange,
|
|
2392
|
+
minDate,
|
|
2393
|
+
maxDate,
|
|
2394
|
+
disabled = false,
|
|
2395
|
+
size: size3 = "small"
|
|
2396
|
+
}) => {
|
|
2397
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_LocalizationProvider.LocalizationProvider, { dateAdapter: import_AdapterDateFnsV3.AdapterDateFns, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_Stack.default, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
2398
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2399
|
+
import_DatePicker.DatePicker,
|
|
2400
|
+
{
|
|
2401
|
+
label: "Start date",
|
|
2402
|
+
value: startDate,
|
|
2403
|
+
onChange: onStartDateChange,
|
|
2404
|
+
minDate,
|
|
2405
|
+
maxDate: endDate ?? maxDate,
|
|
2406
|
+
disabled,
|
|
2407
|
+
slotProps: {
|
|
2408
|
+
textField: { size: size3 }
|
|
2409
|
+
}
|
|
2410
|
+
}
|
|
2411
|
+
),
|
|
2412
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_Typography.default, { variant: "body2", color: "text.secondary", children: "\u2013" }),
|
|
2413
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2414
|
+
import_DatePicker.DatePicker,
|
|
2415
|
+
{
|
|
2416
|
+
label: "End date",
|
|
2417
|
+
value: endDate,
|
|
2418
|
+
onChange: onEndDateChange,
|
|
2419
|
+
minDate: startDate ?? minDate,
|
|
2420
|
+
maxDate,
|
|
2421
|
+
disabled,
|
|
2422
|
+
slotProps: {
|
|
2423
|
+
textField: { size: size3 }
|
|
2424
|
+
}
|
|
2425
|
+
}
|
|
2426
|
+
)
|
|
2427
|
+
] }) });
|
|
2428
|
+
};
|
|
2429
|
+
|
|
2379
2430
|
// src/components/navigation/Dropdown/Dropdown.tsx
|
|
2380
2431
|
var import_material6 = require("@mui/material");
|
|
2381
2432
|
var import_react2 = require("react");
|
|
@@ -2384,7 +2435,7 @@ var import_react2 = require("react");
|
|
|
2384
2435
|
var import_react = require("react");
|
|
2385
2436
|
var import_material5 = require("@mui/material");
|
|
2386
2437
|
var import_icons_material = require("@mui/icons-material");
|
|
2387
|
-
var
|
|
2438
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
2388
2439
|
var Clickable = (0, import_material5.styled)(import_material5.Button)({
|
|
2389
2440
|
padding: 0
|
|
2390
2441
|
});
|
|
@@ -2410,16 +2461,16 @@ var Center = (0, import_material5.styled)(import_material5.Typography)(({ theme:
|
|
|
2410
2461
|
color: theme2.palette.text.primary
|
|
2411
2462
|
}));
|
|
2412
2463
|
var DropdownAnchor = (0, import_react.forwardRef)(
|
|
2413
|
-
({ open, label, leftElement, onOpen, variant, ...props }, ref) => /* @__PURE__ */ (0,
|
|
2414
|
-
/* @__PURE__ */ (0,
|
|
2415
|
-
/* @__PURE__ */ (0,
|
|
2416
|
-
variant !== "header" && (open ? /* @__PURE__ */ (0,
|
|
2464
|
+
({ open, label, leftElement, onOpen, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Clickable, { ref, ...props, color: "inherit", variant: "text", onClick: onOpen, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(Anchor, { variant, spacing: 1, direction: "row", alignItems: "stretch", children: [
|
|
2465
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Left, { children: leftElement }),
|
|
2466
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Center, { variant: "body1", children: label }),
|
|
2467
|
+
variant !== "header" && (open ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_icons_material.ArrowDropUp, {}) : /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_icons_material.ArrowDropDown, {}))
|
|
2417
2468
|
] }) })
|
|
2418
2469
|
);
|
|
2419
2470
|
DropdownAnchor.displayName = "DropdownAnchor";
|
|
2420
2471
|
|
|
2421
2472
|
// src/components/navigation/Dropdown/Dropdown.tsx
|
|
2422
|
-
var
|
|
2473
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
2423
2474
|
var Dropdown = ({
|
|
2424
2475
|
open,
|
|
2425
2476
|
label,
|
|
@@ -2431,15 +2482,15 @@ var Dropdown = ({
|
|
|
2431
2482
|
disableGutters = false,
|
|
2432
2483
|
disablePaddings = false,
|
|
2433
2484
|
variant,
|
|
2434
|
-
renderAnchor = ({ ref, open: open2, onOpen }) => /* @__PURE__ */ (0,
|
|
2485
|
+
renderAnchor = ({ ref, open: open2, onOpen }) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(DropdownAnchor, { ref, open: open2, label, leftElement, onOpen, variant })
|
|
2435
2486
|
}) => {
|
|
2436
2487
|
const anchorRef = (0, import_react2.useRef)(null);
|
|
2437
2488
|
const horizontal = direction === "left" ? "right" : "left";
|
|
2438
2489
|
const onOpen = (0, import_react2.useCallback)(() => onToggle?.(true), [onToggle]);
|
|
2439
2490
|
const padding = dense ? 1 : 2;
|
|
2440
|
-
return /* @__PURE__ */ (0,
|
|
2491
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, { children: [
|
|
2441
2492
|
renderAnchor({ ref: anchorRef, onOpen, open }),
|
|
2442
|
-
/* @__PURE__ */ (0,
|
|
2493
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
2443
2494
|
import_material6.Popover,
|
|
2444
2495
|
{
|
|
2445
2496
|
"aria-label": "Overlay",
|
|
@@ -2478,7 +2529,7 @@ var import_material8 = require("@mui/material");
|
|
|
2478
2529
|
|
|
2479
2530
|
// src/components/navigation/SidebarItem.tsx
|
|
2480
2531
|
var import_material7 = require("@mui/material");
|
|
2481
|
-
var
|
|
2532
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
2482
2533
|
var StyledListItemButton = (0, import_material7.styled)(import_material7.ListItemButton, {
|
|
2483
2534
|
shouldForwardProp: (prop) => prop !== "selected" && prop !== "size"
|
|
2484
2535
|
})(({ selected, size: size3 = "medium" }) => {
|
|
@@ -2517,16 +2568,16 @@ var SidebarItem = ({
|
|
|
2517
2568
|
endIcon,
|
|
2518
2569
|
children
|
|
2519
2570
|
}) => {
|
|
2520
|
-
return /* @__PURE__ */ (0,
|
|
2521
|
-
icon && /* @__PURE__ */ (0,
|
|
2522
|
-
/* @__PURE__ */ (0,
|
|
2523
|
-
endIcon && /* @__PURE__ */ (0,
|
|
2571
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(StyledListItemButton, { selected, size: size3, onClick, children: [
|
|
2572
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_material7.ListItemIcon, { children: icon }),
|
|
2573
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_material7.ListItemText, { primary: label }),
|
|
2574
|
+
endIcon && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { style: { marginLeft: "auto" }, children: endIcon }),
|
|
2524
2575
|
children
|
|
2525
2576
|
] });
|
|
2526
2577
|
};
|
|
2527
2578
|
|
|
2528
2579
|
// src/components/navigation/Sidebar.tsx
|
|
2529
|
-
var
|
|
2580
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
2530
2581
|
var StyledDrawer = (0, import_material8.styled)(import_material8.Drawer)(() => ({
|
|
2531
2582
|
"& .MuiDrawer-paper": {
|
|
2532
2583
|
backgroundColor: colors.background.paper,
|
|
@@ -2541,7 +2592,7 @@ var Sidebar = ({
|
|
|
2541
2592
|
onClose,
|
|
2542
2593
|
variant = "permanent"
|
|
2543
2594
|
}) => {
|
|
2544
|
-
return /* @__PURE__ */ (0,
|
|
2595
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2545
2596
|
StyledDrawer,
|
|
2546
2597
|
{
|
|
2547
2598
|
variant,
|
|
@@ -2555,7 +2606,7 @@ var Sidebar = ({
|
|
|
2555
2606
|
boxSizing: "border-box"
|
|
2556
2607
|
}
|
|
2557
2608
|
},
|
|
2558
|
-
children: /* @__PURE__ */ (0,
|
|
2609
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_material8.Box, { sx: { overflow: "auto", padding: "8px 0" }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_material8.List, { children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(SidebarItem, { ...item }, index)) }) })
|
|
2559
2610
|
}
|
|
2560
2611
|
);
|
|
2561
2612
|
};
|
|
@@ -2571,7 +2622,7 @@ var import_Add = __toESM(require("@mui/icons-material/Add"));
|
|
|
2571
2622
|
var import_Check = __toESM(require("@mui/icons-material/Check"));
|
|
2572
2623
|
var import_Settings = __toESM(require("@mui/icons-material/Settings"));
|
|
2573
2624
|
var import_PersonAddAlt = __toESM(require("@mui/icons-material/PersonAddAlt"));
|
|
2574
|
-
var
|
|
2625
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
2575
2626
|
var ServiceSelectorButton = ({
|
|
2576
2627
|
services,
|
|
2577
2628
|
selectedServiceId,
|
|
@@ -2628,8 +2679,8 @@ var ServiceSelectorButton = ({
|
|
|
2628
2679
|
return matchesSearch && matchesArchivedFilter;
|
|
2629
2680
|
});
|
|
2630
2681
|
if (compact) {
|
|
2631
|
-
return /* @__PURE__ */ (0,
|
|
2632
|
-
/* @__PURE__ */ (0,
|
|
2682
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
|
|
2683
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material9.Box, { sx: { position: "relative" }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material9.Tooltip, { title: "Select service", placement: "right", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2633
2684
|
import_material9.IconButton,
|
|
2634
2685
|
{
|
|
2635
2686
|
onClick: handleOpenSelector,
|
|
@@ -2640,7 +2691,7 @@ var ServiceSelectorButton = ({
|
|
|
2640
2691
|
},
|
|
2641
2692
|
...sx
|
|
2642
2693
|
},
|
|
2643
|
-
children: /* @__PURE__ */ (0,
|
|
2694
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2644
2695
|
import_material9.Avatar,
|
|
2645
2696
|
{
|
|
2646
2697
|
sx: {
|
|
@@ -2654,7 +2705,7 @@ var ServiceSelectorButton = ({
|
|
|
2654
2705
|
)
|
|
2655
2706
|
}
|
|
2656
2707
|
) }) }),
|
|
2657
|
-
/* @__PURE__ */ (0,
|
|
2708
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2658
2709
|
ServiceSelectorPanel,
|
|
2659
2710
|
{
|
|
2660
2711
|
open: Boolean(anchorEl),
|
|
@@ -2680,10 +2731,10 @@ var ServiceSelectorButton = ({
|
|
|
2680
2731
|
)
|
|
2681
2732
|
] });
|
|
2682
2733
|
}
|
|
2683
|
-
return /* @__PURE__ */ (0,
|
|
2684
|
-
/* @__PURE__ */ (0,
|
|
2685
|
-
selectedService ? /* @__PURE__ */ (0,
|
|
2686
|
-
isManager ? /* @__PURE__ */ (0,
|
|
2734
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
|
|
2735
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material9.Box, { sx: { display: "flex", alignItems: "center", ...sx }, children: [
|
|
2736
|
+
selectedService ? /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
|
|
2737
|
+
isManager ? /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
2687
2738
|
import_material9.Link,
|
|
2688
2739
|
{
|
|
2689
2740
|
underline: "hover",
|
|
@@ -2697,7 +2748,7 @@ var ServiceSelectorButton = ({
|
|
|
2697
2748
|
mr: 0.5
|
|
2698
2749
|
},
|
|
2699
2750
|
children: [
|
|
2700
|
-
/* @__PURE__ */ (0,
|
|
2751
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2701
2752
|
import_material9.Avatar,
|
|
2702
2753
|
{
|
|
2703
2754
|
sx: {
|
|
@@ -2713,7 +2764,7 @@ var ServiceSelectorButton = ({
|
|
|
2713
2764
|
selectedService.name
|
|
2714
2765
|
]
|
|
2715
2766
|
}
|
|
2716
|
-
) : /* @__PURE__ */ (0,
|
|
2767
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
2717
2768
|
import_material9.Box,
|
|
2718
2769
|
{
|
|
2719
2770
|
sx: {
|
|
@@ -2724,7 +2775,7 @@ var ServiceSelectorButton = ({
|
|
|
2724
2775
|
color: "text.primary"
|
|
2725
2776
|
},
|
|
2726
2777
|
children: [
|
|
2727
|
-
/* @__PURE__ */ (0,
|
|
2778
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2728
2779
|
import_material9.Avatar,
|
|
2729
2780
|
{
|
|
2730
2781
|
sx: {
|
|
@@ -2741,7 +2792,7 @@ var ServiceSelectorButton = ({
|
|
|
2741
2792
|
]
|
|
2742
2793
|
}
|
|
2743
2794
|
),
|
|
2744
|
-
selectedService.archived && /* @__PURE__ */ (0,
|
|
2795
|
+
selectedService.archived && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2745
2796
|
import_material9.Chip,
|
|
2746
2797
|
{
|
|
2747
2798
|
size: "small",
|
|
@@ -2757,7 +2808,7 @@ var ServiceSelectorButton = ({
|
|
|
2757
2808
|
}
|
|
2758
2809
|
}
|
|
2759
2810
|
)
|
|
2760
|
-
] }) : /* @__PURE__ */ (0,
|
|
2811
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2761
2812
|
import_material9.Typography,
|
|
2762
2813
|
{
|
|
2763
2814
|
variant: "body2",
|
|
@@ -2768,7 +2819,7 @@ var ServiceSelectorButton = ({
|
|
|
2768
2819
|
children: "Select Service"
|
|
2769
2820
|
}
|
|
2770
2821
|
),
|
|
2771
|
-
/* @__PURE__ */ (0,
|
|
2822
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2772
2823
|
import_material9.IconButton,
|
|
2773
2824
|
{
|
|
2774
2825
|
onClick: handleOpenSelector,
|
|
@@ -2778,11 +2829,11 @@ var ServiceSelectorButton = ({
|
|
|
2778
2829
|
ml: 0.5,
|
|
2779
2830
|
color: "text.secondary"
|
|
2780
2831
|
},
|
|
2781
|
-
children: /* @__PURE__ */ (0,
|
|
2832
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_KeyboardArrowDown.default, { fontSize: "small" })
|
|
2782
2833
|
}
|
|
2783
2834
|
)
|
|
2784
2835
|
] }),
|
|
2785
|
-
/* @__PURE__ */ (0,
|
|
2836
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2786
2837
|
ServiceSelectorPanel,
|
|
2787
2838
|
{
|
|
2788
2839
|
open: Boolean(anchorEl),
|
|
@@ -2851,7 +2902,7 @@ var ServiceSelectorPanel = ({
|
|
|
2851
2902
|
}
|
|
2852
2903
|
}
|
|
2853
2904
|
};
|
|
2854
|
-
return /* @__PURE__ */ (0,
|
|
2905
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
2855
2906
|
import_material9.Menu,
|
|
2856
2907
|
{
|
|
2857
2908
|
anchorEl,
|
|
@@ -2876,7 +2927,7 @@ var ServiceSelectorPanel = ({
|
|
|
2876
2927
|
}
|
|
2877
2928
|
},
|
|
2878
2929
|
children: [
|
|
2879
|
-
selectedService && /* @__PURE__ */ (0,
|
|
2930
|
+
selectedService && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
2880
2931
|
import_material9.Box,
|
|
2881
2932
|
{
|
|
2882
2933
|
sx: {
|
|
@@ -2888,12 +2939,12 @@ var ServiceSelectorPanel = ({
|
|
|
2888
2939
|
borderColor: "divider"
|
|
2889
2940
|
},
|
|
2890
2941
|
children: [
|
|
2891
|
-
/* @__PURE__ */ (0,
|
|
2942
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material9.Box, { sx: {
|
|
2892
2943
|
display: "flex",
|
|
2893
2944
|
alignItems: "center",
|
|
2894
2945
|
mb: 1.5
|
|
2895
2946
|
}, children: [
|
|
2896
|
-
/* @__PURE__ */ (0,
|
|
2947
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2897
2948
|
import_material9.Avatar,
|
|
2898
2949
|
{
|
|
2899
2950
|
sx: {
|
|
@@ -2906,9 +2957,9 @@ var ServiceSelectorPanel = ({
|
|
|
2906
2957
|
children: selectedService.name.charAt(0)
|
|
2907
2958
|
}
|
|
2908
2959
|
),
|
|
2909
|
-
/* @__PURE__ */ (0,
|
|
2910
|
-
/* @__PURE__ */ (0,
|
|
2911
|
-
/* @__PURE__ */ (0,
|
|
2960
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material9.Box, { sx: { flex: 1 }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material9.Box, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
2961
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material9.Typography, { variant: "subtitle1", sx: { fontWeight: 600, fontSize: "1rem" }, children: selectedService.name }),
|
|
2962
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2912
2963
|
import_material9.Box,
|
|
2913
2964
|
{
|
|
2914
2965
|
sx: {
|
|
@@ -2927,11 +2978,11 @@ var ServiceSelectorPanel = ({
|
|
|
2927
2978
|
)
|
|
2928
2979
|
] }) })
|
|
2929
2980
|
] }),
|
|
2930
|
-
(onOpenSettings || onOpenAddMember) && /* @__PURE__ */ (0,
|
|
2931
|
-
onOpenAddMember && /* @__PURE__ */ (0,
|
|
2981
|
+
(onOpenSettings || onOpenAddMember) && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material9.Box, { sx: { display: "flex", gap: 1 }, children: [
|
|
2982
|
+
onOpenAddMember && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2932
2983
|
import_material9.Button,
|
|
2933
2984
|
{
|
|
2934
|
-
startIcon: /* @__PURE__ */ (0,
|
|
2985
|
+
startIcon: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_PersonAddAlt.default, {}),
|
|
2935
2986
|
variant: "outlined",
|
|
2936
2987
|
size: "small",
|
|
2937
2988
|
onClick: (e) => {
|
|
@@ -2961,10 +3012,10 @@ var ServiceSelectorPanel = ({
|
|
|
2961
3012
|
children: "Add member"
|
|
2962
3013
|
}
|
|
2963
3014
|
),
|
|
2964
|
-
onOpenSettings && /* @__PURE__ */ (0,
|
|
3015
|
+
onOpenSettings && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2965
3016
|
import_material9.Button,
|
|
2966
3017
|
{
|
|
2967
|
-
startIcon: /* @__PURE__ */ (0,
|
|
3018
|
+
startIcon: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Settings.default, {}),
|
|
2968
3019
|
variant: "outlined",
|
|
2969
3020
|
size: "small",
|
|
2970
3021
|
onClick: (e) => {
|
|
@@ -2998,9 +3049,9 @@ var ServiceSelectorPanel = ({
|
|
|
2998
3049
|
]
|
|
2999
3050
|
}
|
|
3000
3051
|
),
|
|
3001
|
-
/* @__PURE__ */ (0,
|
|
3002
|
-
/* @__PURE__ */ (0,
|
|
3003
|
-
/* @__PURE__ */ (0,
|
|
3052
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material9.Box, { sx: { px: 2, pt: 2, pb: 1.5 }, children: [
|
|
3053
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material9.Box, { sx: { display: "flex", alignItems: "center", mb: 1.5 }, children: [
|
|
3054
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
3004
3055
|
import_material9.TextField,
|
|
3005
3056
|
{
|
|
3006
3057
|
size: "small",
|
|
@@ -3009,7 +3060,7 @@ var ServiceSelectorPanel = ({
|
|
|
3009
3060
|
onChange: (e) => setSearchTerm(e.target.value),
|
|
3010
3061
|
sx: { flex: 1 },
|
|
3011
3062
|
InputProps: {
|
|
3012
|
-
startAdornment: /* @__PURE__ */ (0,
|
|
3063
|
+
startAdornment: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material9.InputAdornment, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Search2.default, { fontSize: "small", color: "action" }) }),
|
|
3013
3064
|
sx: {
|
|
3014
3065
|
borderRadius: 1.5,
|
|
3015
3066
|
backgroundColor: "rgba(0, 0, 0, 0.04)",
|
|
@@ -3019,18 +3070,18 @@ var ServiceSelectorPanel = ({
|
|
|
3019
3070
|
}
|
|
3020
3071
|
}
|
|
3021
3072
|
),
|
|
3022
|
-
/* @__PURE__ */ (0,
|
|
3073
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material9.Tooltip, { title: showArchived ? "Show active" : "Show archived", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
3023
3074
|
import_material9.IconButton,
|
|
3024
3075
|
{
|
|
3025
3076
|
size: "small",
|
|
3026
3077
|
onClick: toggleArchived,
|
|
3027
3078
|
color: showArchived ? "primary" : "default",
|
|
3028
3079
|
sx: { ml: 1 },
|
|
3029
|
-
children: showArchived ? /* @__PURE__ */ (0,
|
|
3080
|
+
children: showArchived ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Unarchive.default, { fontSize: "small" }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Archive.default, { fontSize: "small" })
|
|
3030
3081
|
}
|
|
3031
3082
|
) })
|
|
3032
3083
|
] }),
|
|
3033
|
-
/* @__PURE__ */ (0,
|
|
3084
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
3034
3085
|
import_material9.Box,
|
|
3035
3086
|
{
|
|
3036
3087
|
sx: {
|
|
@@ -3038,8 +3089,8 @@ var ServiceSelectorPanel = ({
|
|
|
3038
3089
|
overflow: "auto",
|
|
3039
3090
|
py: 1
|
|
3040
3091
|
},
|
|
3041
|
-
children: loading ? /* @__PURE__ */ (0,
|
|
3042
|
-
/* @__PURE__ */ (0,
|
|
3092
|
+
children: loading ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material9.Box, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material9.Typography, { variant: "body2", color: "text.secondary", children: "Loading services..." }) }) : filteredServices.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material9.Box, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material9.Typography, { variant: "body2", color: "text.secondary", children: searchTerm ? `No ${showArchived ? "archived " : ""}services matching "${searchTerm}"` : showArchived ? "No archived services found" : "No active services found" }) }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
|
|
3093
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
3043
3094
|
import_material9.Typography,
|
|
3044
3095
|
{
|
|
3045
3096
|
variant: "caption",
|
|
@@ -3055,7 +3106,7 @@ var ServiceSelectorPanel = ({
|
|
|
3055
3106
|
},
|
|
3056
3107
|
children: [
|
|
3057
3108
|
"Services",
|
|
3058
|
-
showArchived && /* @__PURE__ */ (0,
|
|
3109
|
+
showArchived && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
3059
3110
|
import_material9.Chip,
|
|
3060
3111
|
{
|
|
3061
3112
|
size: "small",
|
|
@@ -3074,7 +3125,7 @@ var ServiceSelectorPanel = ({
|
|
|
3074
3125
|
]
|
|
3075
3126
|
}
|
|
3076
3127
|
),
|
|
3077
|
-
/* @__PURE__ */ (0,
|
|
3128
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material9.List, { disablePadding: true, children: filteredServices.map((service) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
3078
3129
|
import_material9.ListItem,
|
|
3079
3130
|
{
|
|
3080
3131
|
sx: {
|
|
@@ -3088,7 +3139,7 @@ var ServiceSelectorPanel = ({
|
|
|
3088
3139
|
position: "relative"
|
|
3089
3140
|
},
|
|
3090
3141
|
onClick: () => onSelectService(service.id),
|
|
3091
|
-
secondaryAction: service.id === selectedServiceId ? /* @__PURE__ */ (0,
|
|
3142
|
+
secondaryAction: service.id === selectedServiceId ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
3092
3143
|
import_Check.default,
|
|
3093
3144
|
{
|
|
3094
3145
|
sx: {
|
|
@@ -3098,7 +3149,7 @@ var ServiceSelectorPanel = ({
|
|
|
3098
3149
|
}
|
|
3099
3150
|
) : null,
|
|
3100
3151
|
children: [
|
|
3101
|
-
/* @__PURE__ */ (0,
|
|
3152
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material9.ListItemAvatar, { sx: { minWidth: 40 }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
3102
3153
|
import_material9.Avatar,
|
|
3103
3154
|
{
|
|
3104
3155
|
sx: {
|
|
@@ -3111,10 +3162,10 @@ var ServiceSelectorPanel = ({
|
|
|
3111
3162
|
children: service.name.charAt(0)
|
|
3112
3163
|
}
|
|
3113
3164
|
) }),
|
|
3114
|
-
/* @__PURE__ */ (0,
|
|
3165
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
3115
3166
|
import_material9.ListItemText,
|
|
3116
3167
|
{
|
|
3117
|
-
primary: /* @__PURE__ */ (0,
|
|
3168
|
+
primary: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material9.Box, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
3118
3169
|
import_material9.Typography,
|
|
3119
3170
|
{
|
|
3120
3171
|
variant: "body2",
|
|
@@ -3136,7 +3187,7 @@ var ServiceSelectorPanel = ({
|
|
|
3136
3187
|
] })
|
|
3137
3188
|
}
|
|
3138
3189
|
),
|
|
3139
|
-
/* @__PURE__ */ (0,
|
|
3190
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
3140
3191
|
import_material9.Box,
|
|
3141
3192
|
{
|
|
3142
3193
|
sx: {
|
|
@@ -3146,12 +3197,12 @@ var ServiceSelectorPanel = ({
|
|
|
3146
3197
|
borderTop: 1,
|
|
3147
3198
|
borderColor: "divider"
|
|
3148
3199
|
},
|
|
3149
|
-
children: /* @__PURE__ */ (0,
|
|
3200
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
3150
3201
|
import_material9.Button,
|
|
3151
3202
|
{
|
|
3152
3203
|
fullWidth: true,
|
|
3153
3204
|
variant: "text",
|
|
3154
|
-
startIcon: /* @__PURE__ */ (0,
|
|
3205
|
+
startIcon: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Add.default, {}),
|
|
3155
3206
|
onClick: handleCreateClick,
|
|
3156
3207
|
sx: {
|
|
3157
3208
|
textTransform: "none",
|
|
@@ -3182,7 +3233,7 @@ var import_KeyboardArrowDown2 = __toESM(require("@mui/icons-material/KeyboardArr
|
|
|
3182
3233
|
var import_Search3 = __toESM(require("@mui/icons-material/Search"));
|
|
3183
3234
|
var import_Add2 = __toESM(require("@mui/icons-material/Add"));
|
|
3184
3235
|
var import_Check2 = __toESM(require("@mui/icons-material/Check"));
|
|
3185
|
-
var
|
|
3236
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
3186
3237
|
var WorkspaceSelectorButton = ({
|
|
3187
3238
|
workspaces,
|
|
3188
3239
|
selectedWorkspaceId,
|
|
@@ -3214,9 +3265,9 @@ var WorkspaceSelectorButton = ({
|
|
|
3214
3265
|
if (!workspaces || workspaces.length === 0) {
|
|
3215
3266
|
return null;
|
|
3216
3267
|
}
|
|
3217
|
-
return /* @__PURE__ */ (0,
|
|
3218
|
-
/* @__PURE__ */ (0,
|
|
3219
|
-
selectedWorkspace ? /* @__PURE__ */ (0,
|
|
3268
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_jsx_runtime19.Fragment, { children: [
|
|
3269
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_material10.Box, { sx: { display: "flex", alignItems: "center", ...sx }, children: [
|
|
3270
|
+
selectedWorkspace ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_jsx_runtime19.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
3220
3271
|
import_material10.Link,
|
|
3221
3272
|
{
|
|
3222
3273
|
underline: "hover",
|
|
@@ -3235,7 +3286,7 @@ var WorkspaceSelectorButton = ({
|
|
|
3235
3286
|
mr: 0.5
|
|
3236
3287
|
},
|
|
3237
3288
|
children: [
|
|
3238
|
-
/* @__PURE__ */ (0,
|
|
3289
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
3239
3290
|
import_material10.Avatar,
|
|
3240
3291
|
{
|
|
3241
3292
|
sx: {
|
|
@@ -3251,7 +3302,7 @@ var WorkspaceSelectorButton = ({
|
|
|
3251
3302
|
selectedWorkspace.name
|
|
3252
3303
|
]
|
|
3253
3304
|
}
|
|
3254
|
-
) }) : /* @__PURE__ */ (0,
|
|
3305
|
+
) }) : /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
3255
3306
|
import_material10.Typography,
|
|
3256
3307
|
{
|
|
3257
3308
|
variant: "body2",
|
|
@@ -3262,7 +3313,7 @@ var WorkspaceSelectorButton = ({
|
|
|
3262
3313
|
children: "Select Workspace"
|
|
3263
3314
|
}
|
|
3264
3315
|
),
|
|
3265
|
-
/* @__PURE__ */ (0,
|
|
3316
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
3266
3317
|
import_material10.IconButton,
|
|
3267
3318
|
{
|
|
3268
3319
|
onClick: handleOpenSelector,
|
|
@@ -3272,11 +3323,11 @@ var WorkspaceSelectorButton = ({
|
|
|
3272
3323
|
ml: 0.5,
|
|
3273
3324
|
color: "text.secondary"
|
|
3274
3325
|
},
|
|
3275
|
-
children: /* @__PURE__ */ (0,
|
|
3326
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_KeyboardArrowDown2.default, { fontSize: "small" })
|
|
3276
3327
|
}
|
|
3277
3328
|
)
|
|
3278
3329
|
] }),
|
|
3279
|
-
/* @__PURE__ */ (0,
|
|
3330
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
3280
3331
|
WorkspaceSelectorPanel,
|
|
3281
3332
|
{
|
|
3282
3333
|
open: Boolean(anchorEl),
|
|
@@ -3322,7 +3373,7 @@ var WorkspaceSelectorPanel = ({
|
|
|
3322
3373
|
onSelectWorkspace(workspaceId);
|
|
3323
3374
|
onClose();
|
|
3324
3375
|
};
|
|
3325
|
-
return /* @__PURE__ */ (0,
|
|
3376
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
3326
3377
|
import_material10.Menu,
|
|
3327
3378
|
{
|
|
3328
3379
|
open,
|
|
@@ -3338,8 +3389,8 @@ var WorkspaceSelectorPanel = ({
|
|
|
3338
3389
|
borderRadius: 2
|
|
3339
3390
|
}
|
|
3340
3391
|
},
|
|
3341
|
-
children: /* @__PURE__ */ (0,
|
|
3342
|
-
/* @__PURE__ */ (0,
|
|
3392
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_material10.Box, { children: [
|
|
3393
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material10.Box, { sx: { px: 2, pt: 2, pb: 1.5 }, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
3343
3394
|
import_material10.TextField,
|
|
3344
3395
|
{
|
|
3345
3396
|
fullWidth: true,
|
|
@@ -3348,11 +3399,11 @@ var WorkspaceSelectorPanel = ({
|
|
|
3348
3399
|
value: searchTerm,
|
|
3349
3400
|
onChange: (e) => setSearchTerm(e.target.value),
|
|
3350
3401
|
InputProps: {
|
|
3351
|
-
startAdornment: /* @__PURE__ */ (0,
|
|
3402
|
+
startAdornment: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material10.InputAdornment, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_Search3.default, { fontSize: "small" }) })
|
|
3352
3403
|
}
|
|
3353
3404
|
}
|
|
3354
3405
|
) }),
|
|
3355
|
-
/* @__PURE__ */ (0,
|
|
3406
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material10.Box, { sx: { maxHeight: 400, overflowY: "auto" }, children: loading ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material10.Box, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material10.Typography, { variant: "body2", color: "text.secondary", children: "Loading..." }) }) : filteredWorkspaces.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material10.Box, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material10.Typography, { variant: "body2", color: "text.secondary", children: "No workspaces found" }) }) : /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material10.List, { dense: true, children: filteredWorkspaces.map((workspace) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
3356
3407
|
import_material10.ListItem,
|
|
3357
3408
|
{
|
|
3358
3409
|
onClick: () => handleSelect(workspace.id),
|
|
@@ -3365,19 +3416,19 @@ var WorkspaceSelectorPanel = ({
|
|
|
3365
3416
|
}
|
|
3366
3417
|
},
|
|
3367
3418
|
children: [
|
|
3368
|
-
/* @__PURE__ */ (0,
|
|
3419
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material10.ListItemAvatar, { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
3369
3420
|
import_material10.Avatar,
|
|
3370
3421
|
{
|
|
3371
3422
|
sx: { width: 32, height: 32, bgcolor: "secondary.main" },
|
|
3372
3423
|
children: workspace.name.charAt(0)
|
|
3373
3424
|
}
|
|
3374
3425
|
) }),
|
|
3375
|
-
/* @__PURE__ */ (0,
|
|
3426
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
3376
3427
|
import_material10.ListItemText,
|
|
3377
3428
|
{
|
|
3378
|
-
primary: /* @__PURE__ */ (0,
|
|
3379
|
-
/* @__PURE__ */ (0,
|
|
3380
|
-
workspace.id === selectedWorkspaceId && /* @__PURE__ */ (0,
|
|
3429
|
+
primary: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_material10.Box, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
3430
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material10.Typography, { variant: "body2", fontWeight: 500, children: workspace.name }),
|
|
3431
|
+
workspace.id === selectedWorkspaceId && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_Check2.default, { fontSize: "small", color: "primary" })
|
|
3381
3432
|
] }),
|
|
3382
3433
|
secondary: workspace.description
|
|
3383
3434
|
}
|
|
@@ -3386,7 +3437,7 @@ var WorkspaceSelectorPanel = ({
|
|
|
3386
3437
|
},
|
|
3387
3438
|
workspace.id
|
|
3388
3439
|
)) }) }),
|
|
3389
|
-
/* @__PURE__ */ (0,
|
|
3440
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
3390
3441
|
import_material10.Box,
|
|
3391
3442
|
{
|
|
3392
3443
|
sx: {
|
|
@@ -3396,12 +3447,12 @@ var WorkspaceSelectorPanel = ({
|
|
|
3396
3447
|
borderTop: 1,
|
|
3397
3448
|
borderColor: "divider"
|
|
3398
3449
|
},
|
|
3399
|
-
children: /* @__PURE__ */ (0,
|
|
3450
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
3400
3451
|
import_material10.Button,
|
|
3401
3452
|
{
|
|
3402
3453
|
fullWidth: true,
|
|
3403
3454
|
variant: "text",
|
|
3404
|
-
startIcon: /* @__PURE__ */ (0,
|
|
3455
|
+
startIcon: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_Add2.default, {}),
|
|
3405
3456
|
onClick: handleCreateClick,
|
|
3406
3457
|
sx: {
|
|
3407
3458
|
textTransform: "none",
|
|
@@ -3426,21 +3477,21 @@ var WorkspaceSelectorPanel = ({
|
|
|
3426
3477
|
|
|
3427
3478
|
// src/components/navigation/Stepper.tsx
|
|
3428
3479
|
var import_material11 = require("@mui/material");
|
|
3429
|
-
var
|
|
3480
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
3430
3481
|
var Stepper = (props) => {
|
|
3431
|
-
return /* @__PURE__ */ (0,
|
|
3482
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_material11.Stepper, { ...props });
|
|
3432
3483
|
};
|
|
3433
3484
|
var Step = (props) => {
|
|
3434
|
-
return /* @__PURE__ */ (0,
|
|
3485
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_material11.Step, { ...props });
|
|
3435
3486
|
};
|
|
3436
3487
|
var StepLabel = (props) => {
|
|
3437
|
-
return /* @__PURE__ */ (0,
|
|
3488
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_material11.StepLabel, { ...props });
|
|
3438
3489
|
};
|
|
3439
3490
|
var StepContent = (props) => {
|
|
3440
|
-
return /* @__PURE__ */ (0,
|
|
3491
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_material11.StepContent, { ...props });
|
|
3441
3492
|
};
|
|
3442
3493
|
var StepButton = (props) => {
|
|
3443
|
-
return /* @__PURE__ */ (0,
|
|
3494
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_material11.StepButton, { ...props });
|
|
3444
3495
|
};
|
|
3445
3496
|
|
|
3446
3497
|
// src/components/navigation/SideNav/SideNav.tsx
|
|
@@ -3466,7 +3517,7 @@ var scrollbarStyles = {
|
|
|
3466
3517
|
};
|
|
3467
3518
|
|
|
3468
3519
|
// src/components/navigation/SideNav/SideNav.tsx
|
|
3469
|
-
var
|
|
3520
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
3470
3521
|
var SideNavContext = import_react5.default.createContext({
|
|
3471
3522
|
collapsed: false,
|
|
3472
3523
|
showTooltips: true
|
|
@@ -3516,7 +3567,7 @@ var Header = import_react5.default.memo(({ children, className }) => {
|
|
|
3516
3567
|
}
|
|
3517
3568
|
return child;
|
|
3518
3569
|
});
|
|
3519
|
-
return /* @__PURE__ */ (0,
|
|
3570
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(HeaderSection, { className, "data-testid": "sidenav-header", children: enhancedChildren });
|
|
3520
3571
|
});
|
|
3521
3572
|
Header.displayName = "SideNav.Header";
|
|
3522
3573
|
var Navigation = import_react5.default.memo(({ children, className }) => {
|
|
@@ -3530,7 +3581,7 @@ var Navigation = import_react5.default.memo(({ children, className }) => {
|
|
|
3530
3581
|
}
|
|
3531
3582
|
return child;
|
|
3532
3583
|
});
|
|
3533
|
-
return /* @__PURE__ */ (0,
|
|
3584
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(NavigationSection, { className, "data-testid": "sidenav-navigation", children: enhancedChildren });
|
|
3534
3585
|
});
|
|
3535
3586
|
Navigation.displayName = "SideNav.Navigation";
|
|
3536
3587
|
var Footer = import_react5.default.memo(({ children, className }) => {
|
|
@@ -3543,7 +3594,7 @@ var Footer = import_react5.default.memo(({ children, className }) => {
|
|
|
3543
3594
|
}
|
|
3544
3595
|
return child;
|
|
3545
3596
|
});
|
|
3546
|
-
return /* @__PURE__ */ (0,
|
|
3597
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(FooterSection, { className, "data-testid": "sidenav-footer", children: enhancedChildren });
|
|
3547
3598
|
});
|
|
3548
3599
|
Footer.displayName = "SideNav.Footer";
|
|
3549
3600
|
var SideNav = Object.assign(
|
|
@@ -3579,7 +3630,7 @@ var SideNav = Object.assign(
|
|
|
3579
3630
|
showTooltips,
|
|
3580
3631
|
onToggleCollapse: handleToggleCollapse
|
|
3581
3632
|
};
|
|
3582
|
-
return /* @__PURE__ */ (0,
|
|
3633
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(SideNavContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
3583
3634
|
SideNavContainer,
|
|
3584
3635
|
{
|
|
3585
3636
|
role: "navigation",
|
|
@@ -3610,7 +3661,7 @@ var import_material13 = require("@mui/material");
|
|
|
3610
3661
|
var import_styles11 = require("@mui/material/styles");
|
|
3611
3662
|
var import_ChevronLeft = __toESM(require("@mui/icons-material/ChevronLeft"));
|
|
3612
3663
|
var import_ChevronRight = __toESM(require("@mui/icons-material/ChevronRight"));
|
|
3613
|
-
var
|
|
3664
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
3614
3665
|
var HeaderContainer = (0, import_styles11.styled)(import_material13.Box, {
|
|
3615
3666
|
shouldForwardProp: (prop) => prop !== "isCollapsed"
|
|
3616
3667
|
})(({ theme: theme2, isCollapsed }) => ({
|
|
@@ -3651,8 +3702,8 @@ var SideNavHeader = import_react6.default.memo(({
|
|
|
3651
3702
|
collapsed = false
|
|
3652
3703
|
}) => {
|
|
3653
3704
|
const headerAriaLabel = ariaLabel || `${title} navigation header`;
|
|
3654
|
-
const brandingContent = /* @__PURE__ */ (0,
|
|
3655
|
-
logo && /* @__PURE__ */ (0,
|
|
3705
|
+
const brandingContent = /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
|
|
3706
|
+
logo && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
3656
3707
|
import_material13.Box,
|
|
3657
3708
|
{
|
|
3658
3709
|
sx: {
|
|
@@ -3664,7 +3715,7 @@ var SideNavHeader = import_react6.default.memo(({
|
|
|
3664
3715
|
children: logo
|
|
3665
3716
|
}
|
|
3666
3717
|
),
|
|
3667
|
-
!collapsed && /* @__PURE__ */ (0,
|
|
3718
|
+
!collapsed && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
3668
3719
|
import_material13.Typography,
|
|
3669
3720
|
{
|
|
3670
3721
|
variant: "subtitle1",
|
|
@@ -3679,14 +3730,14 @@ var SideNavHeader = import_react6.default.memo(({
|
|
|
3679
3730
|
}
|
|
3680
3731
|
)
|
|
3681
3732
|
] });
|
|
3682
|
-
return /* @__PURE__ */ (0,
|
|
3733
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
|
|
3683
3734
|
HeaderContainer,
|
|
3684
3735
|
{
|
|
3685
3736
|
"data-testid": "sidenav-header-content",
|
|
3686
3737
|
"aria-label": headerAriaLabel,
|
|
3687
3738
|
isCollapsed: collapsed,
|
|
3688
3739
|
children: [
|
|
3689
|
-
onLogoClick ? /* @__PURE__ */ (0,
|
|
3740
|
+
onLogoClick ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
3690
3741
|
BrandingButton,
|
|
3691
3742
|
{
|
|
3692
3743
|
onClick: onLogoClick,
|
|
@@ -3694,7 +3745,7 @@ var SideNavHeader = import_react6.default.memo(({
|
|
|
3694
3745
|
"data-testid": "sidenav-home-link",
|
|
3695
3746
|
children: brandingContent
|
|
3696
3747
|
}
|
|
3697
|
-
) : /* @__PURE__ */ (0,
|
|
3748
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
3698
3749
|
import_material13.Box,
|
|
3699
3750
|
{
|
|
3700
3751
|
sx: {
|
|
@@ -3706,13 +3757,13 @@ var SideNavHeader = import_react6.default.memo(({
|
|
|
3706
3757
|
children: brandingContent
|
|
3707
3758
|
}
|
|
3708
3759
|
),
|
|
3709
|
-
showCollapseButton && /* @__PURE__ */ (0,
|
|
3760
|
+
showCollapseButton && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
3710
3761
|
import_material13.Tooltip,
|
|
3711
3762
|
{
|
|
3712
3763
|
title: collapsed ? "Expand navigation" : "Collapse navigation",
|
|
3713
3764
|
placement: "right",
|
|
3714
3765
|
arrow: true,
|
|
3715
|
-
children: /* @__PURE__ */ (0,
|
|
3766
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
3716
3767
|
import_material13.IconButton,
|
|
3717
3768
|
{
|
|
3718
3769
|
onClick: onCollapse,
|
|
@@ -3728,7 +3779,7 @@ var SideNavHeader = import_react6.default.memo(({
|
|
|
3728
3779
|
color: "text.primary"
|
|
3729
3780
|
}
|
|
3730
3781
|
},
|
|
3731
|
-
children: collapsed ? /* @__PURE__ */ (0,
|
|
3782
|
+
children: collapsed ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_ChevronRight.default, {}) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_ChevronLeft.default, {})
|
|
3732
3783
|
}
|
|
3733
3784
|
)
|
|
3734
3785
|
}
|
|
@@ -3747,7 +3798,7 @@ var import_material15 = require("@mui/material");
|
|
|
3747
3798
|
var import_react7 = __toESM(require("react"));
|
|
3748
3799
|
var import_material14 = require("@mui/material");
|
|
3749
3800
|
var import_styles12 = require("@mui/material/styles");
|
|
3750
|
-
var
|
|
3801
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
3751
3802
|
var StyledListItemButton2 = (0, import_styles12.styled)(import_material14.ListItemButton, {
|
|
3752
3803
|
shouldForwardProp: (prop) => !["selected", "size", "iconPosition", "isCollapsed"].includes(prop)
|
|
3753
3804
|
})(({ theme: theme2, selected, size: size3, isCollapsed }) => {
|
|
@@ -3831,7 +3882,7 @@ var NavigationItem = import_react7.default.memo(({
|
|
|
3831
3882
|
onClick(id);
|
|
3832
3883
|
}
|
|
3833
3884
|
};
|
|
3834
|
-
const iconElement = icon && /* @__PURE__ */ (0,
|
|
3885
|
+
const iconElement = icon && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
3835
3886
|
import_material14.ListItemIcon,
|
|
3836
3887
|
{
|
|
3837
3888
|
sx: {
|
|
@@ -3845,7 +3896,7 @@ var NavigationItem = import_react7.default.memo(({
|
|
|
3845
3896
|
children: icon
|
|
3846
3897
|
}
|
|
3847
3898
|
);
|
|
3848
|
-
const labelElement = /* @__PURE__ */ (0,
|
|
3899
|
+
const labelElement = /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
3849
3900
|
import_material14.ListItemText,
|
|
3850
3901
|
{
|
|
3851
3902
|
primary: label,
|
|
@@ -3864,7 +3915,7 @@ var NavigationItem = import_react7.default.memo(({
|
|
|
3864
3915
|
}
|
|
3865
3916
|
}
|
|
3866
3917
|
);
|
|
3867
|
-
const buttonContent = /* @__PURE__ */ (0,
|
|
3918
|
+
const buttonContent = /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
3868
3919
|
StyledListItemButton2,
|
|
3869
3920
|
{
|
|
3870
3921
|
selected,
|
|
@@ -3881,7 +3932,7 @@ var NavigationItem = import_react7.default.memo(({
|
|
|
3881
3932
|
icon && iconPosition === "left" && iconElement,
|
|
3882
3933
|
labelElement,
|
|
3883
3934
|
icon && iconPosition === "right" && iconElement,
|
|
3884
|
-
endContent && !collapsed && /* @__PURE__ */ (0,
|
|
3935
|
+
endContent && !collapsed && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
3885
3936
|
import_material14.Box,
|
|
3886
3937
|
{
|
|
3887
3938
|
sx: {
|
|
@@ -3896,7 +3947,7 @@ var NavigationItem = import_react7.default.memo(({
|
|
|
3896
3947
|
}
|
|
3897
3948
|
);
|
|
3898
3949
|
if (collapsed && showTooltip) {
|
|
3899
|
-
return /* @__PURE__ */ (0,
|
|
3950
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
3900
3951
|
import_material14.Tooltip,
|
|
3901
3952
|
{
|
|
3902
3953
|
title: label,
|
|
@@ -3913,7 +3964,7 @@ var NavigationItem = import_react7.default.memo(({
|
|
|
3913
3964
|
NavigationItem.displayName = "NavigationItem";
|
|
3914
3965
|
|
|
3915
3966
|
// src/components/navigation/SideNav/NavigationList.tsx
|
|
3916
|
-
var
|
|
3967
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
3917
3968
|
var NavigationList = import_react8.default.memo(({
|
|
3918
3969
|
items,
|
|
3919
3970
|
selectedId,
|
|
@@ -3936,7 +3987,7 @@ var NavigationList = import_react8.default.memo(({
|
|
|
3936
3987
|
onSelectionChange(id);
|
|
3937
3988
|
}
|
|
3938
3989
|
};
|
|
3939
|
-
return /* @__PURE__ */ (0,
|
|
3990
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
3940
3991
|
import_material15.List,
|
|
3941
3992
|
{
|
|
3942
3993
|
role: "list",
|
|
@@ -3950,7 +4001,7 @@ var NavigationList = import_react8.default.memo(({
|
|
|
3950
4001
|
},
|
|
3951
4002
|
children: items.map((item, index) => {
|
|
3952
4003
|
const isSelected = currentSelectedId === item.id;
|
|
3953
|
-
return /* @__PURE__ */ (0,
|
|
4004
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
3954
4005
|
import_material15.ListItem,
|
|
3955
4006
|
{
|
|
3956
4007
|
role: "listitem",
|
|
@@ -3958,7 +4009,7 @@ var NavigationList = import_react8.default.memo(({
|
|
|
3958
4009
|
padding: 0,
|
|
3959
4010
|
display: "block"
|
|
3960
4011
|
},
|
|
3961
|
-
children: /* @__PURE__ */ (0,
|
|
4012
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
3962
4013
|
NavigationItem,
|
|
3963
4014
|
{
|
|
3964
4015
|
...item,
|
|
@@ -3990,7 +4041,7 @@ var import_react9 = __toESM(require("react"));
|
|
|
3990
4041
|
var import_material16 = require("@mui/material");
|
|
3991
4042
|
var import_styles14 = require("@mui/material/styles");
|
|
3992
4043
|
var import_Power = __toESM(require("@mui/icons-material/Power"));
|
|
3993
|
-
var
|
|
4044
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
3994
4045
|
var StatusPill = (0, import_styles14.styled)(import_material16.Box, {
|
|
3995
4046
|
shouldForwardProp: (prop) => !["variant", "interactive"].includes(prop)
|
|
3996
4047
|
})(({ theme: theme2, variant = "info", interactive }) => {
|
|
@@ -4065,7 +4116,7 @@ var ConnectionStatus = import_react9.default.memo(({
|
|
|
4065
4116
|
onClick();
|
|
4066
4117
|
}
|
|
4067
4118
|
};
|
|
4068
|
-
const statusContent = /* @__PURE__ */ (0,
|
|
4119
|
+
const statusContent = /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
4069
4120
|
StatusPill,
|
|
4070
4121
|
{
|
|
4071
4122
|
role: "status",
|
|
@@ -4076,7 +4127,7 @@ var ConnectionStatus = import_react9.default.memo(({
|
|
|
4076
4127
|
interactive,
|
|
4077
4128
|
onClick: handleClick,
|
|
4078
4129
|
children: [
|
|
4079
|
-
/* @__PURE__ */ (0,
|
|
4130
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
4080
4131
|
import_material16.Box,
|
|
4081
4132
|
{
|
|
4082
4133
|
sx: {
|
|
@@ -4085,15 +4136,15 @@ var ConnectionStatus = import_react9.default.memo(({
|
|
|
4085
4136
|
fontSize: 16,
|
|
4086
4137
|
color: "inherit"
|
|
4087
4138
|
},
|
|
4088
|
-
children: icon || /* @__PURE__ */ (0,
|
|
4139
|
+
children: icon || /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_Power.default, { fontSize: "small" })
|
|
4089
4140
|
}
|
|
4090
4141
|
),
|
|
4091
|
-
/* @__PURE__ */ (0,
|
|
4142
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_material16.Typography, { className: "status-text", variant: "body2", children: compact ? compactText ?? status : status })
|
|
4092
4143
|
]
|
|
4093
4144
|
}
|
|
4094
4145
|
);
|
|
4095
4146
|
if (compact) {
|
|
4096
|
-
return /* @__PURE__ */ (0,
|
|
4147
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
4097
4148
|
import_material16.Box,
|
|
4098
4149
|
{
|
|
4099
4150
|
sx: {
|
|
@@ -4101,11 +4152,11 @@ var ConnectionStatus = import_react9.default.memo(({
|
|
|
4101
4152
|
justifyContent: "center",
|
|
4102
4153
|
padding: 1
|
|
4103
4154
|
},
|
|
4104
|
-
children: /* @__PURE__ */ (0,
|
|
4155
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_material16.Tooltip, { title: status, placement: "right", arrow: true, children: statusContent })
|
|
4105
4156
|
}
|
|
4106
4157
|
);
|
|
4107
4158
|
}
|
|
4108
|
-
return /* @__PURE__ */ (0,
|
|
4159
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
4109
4160
|
import_material16.Box,
|
|
4110
4161
|
{
|
|
4111
4162
|
sx: {
|
|
@@ -4124,7 +4175,7 @@ var import_react10 = __toESM(require("react"));
|
|
|
4124
4175
|
var import_material17 = require("@mui/material");
|
|
4125
4176
|
var import_styles15 = require("@mui/material/styles");
|
|
4126
4177
|
var import_Logout = __toESM(require("@mui/icons-material/Logout"));
|
|
4127
|
-
var
|
|
4178
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
4128
4179
|
var AccountContainer = (0, import_styles15.styled)(import_material17.Box, {
|
|
4129
4180
|
shouldForwardProp: (prop) => !["layout", "isCompact"].includes(prop)
|
|
4130
4181
|
})(({ theme: theme2, layout = "horizontal", isCompact }) => ({
|
|
@@ -4166,14 +4217,14 @@ var AccountSection = import_react10.default.memo(({
|
|
|
4166
4217
|
const initials = user.initials || deriveInitials(user.name);
|
|
4167
4218
|
const avatarSrc = user.avatarUrl;
|
|
4168
4219
|
if (compact) {
|
|
4169
|
-
return /* @__PURE__ */ (0,
|
|
4170
|
-
/* @__PURE__ */ (0,
|
|
4220
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(AccountContainer, { layout, isCompact: true, "aria-label": "Account section", children: [
|
|
4221
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4171
4222
|
import_material17.Tooltip,
|
|
4172
4223
|
{
|
|
4173
4224
|
title: `${user.name}${user.email ? ` (${user.email})` : ""}`,
|
|
4174
4225
|
placement: "right",
|
|
4175
4226
|
arrow: true,
|
|
4176
|
-
children: /* @__PURE__ */ (0,
|
|
4227
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4177
4228
|
import_material17.Avatar,
|
|
4178
4229
|
{
|
|
4179
4230
|
src: avatarSrc,
|
|
@@ -4192,7 +4243,7 @@ var AccountSection = import_react10.default.memo(({
|
|
|
4192
4243
|
)
|
|
4193
4244
|
}
|
|
4194
4245
|
),
|
|
4195
|
-
/* @__PURE__ */ (0,
|
|
4246
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_material17.Tooltip, { title: "Logout", placement: "right", arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4196
4247
|
import_material17.IconButton,
|
|
4197
4248
|
{
|
|
4198
4249
|
onClick: onLogout,
|
|
@@ -4205,13 +4256,13 @@ var AccountSection = import_react10.default.memo(({
|
|
|
4205
4256
|
color: "text.primary"
|
|
4206
4257
|
}
|
|
4207
4258
|
},
|
|
4208
|
-
children: /* @__PURE__ */ (0,
|
|
4259
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_Logout.default, { fontSize: "small" })
|
|
4209
4260
|
}
|
|
4210
4261
|
) })
|
|
4211
4262
|
] });
|
|
4212
4263
|
}
|
|
4213
|
-
return /* @__PURE__ */ (0,
|
|
4214
|
-
/* @__PURE__ */ (0,
|
|
4264
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(AccountContainer, { layout, isCompact: false, "aria-label": "Account section", children: [
|
|
4265
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4215
4266
|
import_material17.Avatar,
|
|
4216
4267
|
{
|
|
4217
4268
|
src: avatarSrc,
|
|
@@ -4227,7 +4278,7 @@ var AccountSection = import_react10.default.memo(({
|
|
|
4227
4278
|
children: initials
|
|
4228
4279
|
}
|
|
4229
4280
|
),
|
|
4230
|
-
/* @__PURE__ */ (0,
|
|
4281
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
4231
4282
|
import_material17.Box,
|
|
4232
4283
|
{
|
|
4233
4284
|
sx: {
|
|
@@ -4239,7 +4290,7 @@ var AccountSection = import_react10.default.memo(({
|
|
|
4239
4290
|
// Allow text truncation
|
|
4240
4291
|
},
|
|
4241
4292
|
children: [
|
|
4242
|
-
/* @__PURE__ */ (0,
|
|
4293
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4243
4294
|
import_material17.Typography,
|
|
4244
4295
|
{
|
|
4245
4296
|
variant: "body2",
|
|
@@ -4253,7 +4304,7 @@ var AccountSection = import_react10.default.memo(({
|
|
|
4253
4304
|
children: user.name
|
|
4254
4305
|
}
|
|
4255
4306
|
),
|
|
4256
|
-
showEmail && user.email && /* @__PURE__ */ (0,
|
|
4307
|
+
showEmail && user.email && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4257
4308
|
import_material17.Typography,
|
|
4258
4309
|
{
|
|
4259
4310
|
variant: "caption",
|
|
@@ -4268,12 +4319,12 @@ var AccountSection = import_react10.default.memo(({
|
|
|
4268
4319
|
children: user.email
|
|
4269
4320
|
}
|
|
4270
4321
|
),
|
|
4271
|
-
/* @__PURE__ */ (0,
|
|
4322
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4272
4323
|
import_material17.Button,
|
|
4273
4324
|
{
|
|
4274
4325
|
onClick: onLogout,
|
|
4275
4326
|
"aria-label": "Logout",
|
|
4276
|
-
startIcon: /* @__PURE__ */ (0,
|
|
4327
|
+
startIcon: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_Logout.default, { fontSize: "small" }),
|
|
4277
4328
|
sx: {
|
|
4278
4329
|
color: "text.secondary",
|
|
4279
4330
|
textTransform: "none",
|
|
@@ -4301,7 +4352,7 @@ AccountSection.displayName = "AccountSection";
|
|
|
4301
4352
|
// src/components/feedback/Badge.tsx
|
|
4302
4353
|
var import_Badge = __toESM(require("@mui/material/Badge"));
|
|
4303
4354
|
var import_styles16 = require("@mui/material/styles");
|
|
4304
|
-
var
|
|
4355
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
4305
4356
|
var getBadgeColor = (variant) => {
|
|
4306
4357
|
switch (variant) {
|
|
4307
4358
|
case "primary":
|
|
@@ -4328,13 +4379,13 @@ var Badge = ({
|
|
|
4328
4379
|
badgeContent,
|
|
4329
4380
|
...props
|
|
4330
4381
|
}) => {
|
|
4331
|
-
return /* @__PURE__ */ (0,
|
|
4382
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(StyledBadge, { badgeVariant: variant, badgeContent, ...props, children });
|
|
4332
4383
|
};
|
|
4333
4384
|
|
|
4334
4385
|
// src/components/feedback/Chip.tsx
|
|
4335
4386
|
var import_Chip = __toESM(require("@mui/material/Chip"));
|
|
4336
4387
|
var import_styles17 = require("@mui/material/styles");
|
|
4337
|
-
var
|
|
4388
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
4338
4389
|
var StyledDefaultChip = (0, import_styles17.styled)(import_Chip.default)({
|
|
4339
4390
|
backgroundColor: colors.grey[100],
|
|
4340
4391
|
color: colors.text.primary,
|
|
@@ -4354,15 +4405,15 @@ var Chip2 = ({
|
|
|
4354
4405
|
...props
|
|
4355
4406
|
}) => {
|
|
4356
4407
|
if (variant === "active") {
|
|
4357
|
-
return /* @__PURE__ */ (0,
|
|
4408
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(StyledActiveChip, { ...props });
|
|
4358
4409
|
}
|
|
4359
|
-
return /* @__PURE__ */ (0,
|
|
4410
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(StyledDefaultChip, { ...props });
|
|
4360
4411
|
};
|
|
4361
4412
|
|
|
4362
4413
|
// src/components/feedback/RoleBadge.tsx
|
|
4363
4414
|
var import_Chip2 = __toESM(require("@mui/material/Chip"));
|
|
4364
4415
|
var import_styles18 = require("@mui/material/styles");
|
|
4365
|
-
var
|
|
4416
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
4366
4417
|
var StyledRoleBadge = (0, import_styles18.styled)(import_Chip2.default)(() => ({
|
|
4367
4418
|
// Pill shape - 100px border radius
|
|
4368
4419
|
borderRadius: "100px",
|
|
@@ -4388,7 +4439,7 @@ var RoleBadge = ({
|
|
|
4388
4439
|
if (!label || label.trim() === "") {
|
|
4389
4440
|
return null;
|
|
4390
4441
|
}
|
|
4391
|
-
return /* @__PURE__ */ (0,
|
|
4442
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
4392
4443
|
StyledRoleBadge,
|
|
4393
4444
|
{
|
|
4394
4445
|
label,
|
|
@@ -4403,13 +4454,13 @@ var RoleBadge = ({
|
|
|
4403
4454
|
// src/components/feedback/IDBlock.tsx
|
|
4404
4455
|
var import_react11 = require("react");
|
|
4405
4456
|
var import_Box = __toESM(require("@mui/material/Box"));
|
|
4406
|
-
var
|
|
4457
|
+
var import_Typography2 = __toESM(require("@mui/material/Typography"));
|
|
4407
4458
|
var import_IconButton2 = __toESM(require("@mui/material/IconButton"));
|
|
4408
4459
|
var import_Snackbar = __toESM(require("@mui/material/Snackbar"));
|
|
4409
4460
|
var import_Alert = __toESM(require("@mui/material/Alert"));
|
|
4410
4461
|
var import_ContentCopy = __toESM(require("@mui/icons-material/ContentCopy"));
|
|
4411
4462
|
var import_styles19 = require("@mui/material/styles");
|
|
4412
|
-
var
|
|
4463
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
4413
4464
|
var IDContainer = (0, import_styles19.styled)(import_Box.default)(() => ({
|
|
4414
4465
|
display: "inline-flex",
|
|
4415
4466
|
alignItems: "center",
|
|
@@ -4445,10 +4496,10 @@ var IDBlock = ({
|
|
|
4445
4496
|
const handleSnackbarClose = () => {
|
|
4446
4497
|
setSnackbar((prev) => ({ ...prev, open: false }));
|
|
4447
4498
|
};
|
|
4448
|
-
return /* @__PURE__ */ (0,
|
|
4449
|
-
/* @__PURE__ */ (0,
|
|
4450
|
-
/* @__PURE__ */ (0,
|
|
4451
|
-
|
|
4499
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_jsx_runtime30.Fragment, { children: [
|
|
4500
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(IDContainer, { children: [
|
|
4501
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
4502
|
+
import_Typography2.default,
|
|
4452
4503
|
{
|
|
4453
4504
|
variant: "body2",
|
|
4454
4505
|
sx: {
|
|
@@ -4462,8 +4513,8 @@ var IDBlock = ({
|
|
|
4462
4513
|
]
|
|
4463
4514
|
}
|
|
4464
4515
|
),
|
|
4465
|
-
/* @__PURE__ */ (0,
|
|
4466
|
-
|
|
4516
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
4517
|
+
import_Typography2.default,
|
|
4467
4518
|
{
|
|
4468
4519
|
variant: "body2",
|
|
4469
4520
|
sx: {
|
|
@@ -4475,7 +4526,7 @@ var IDBlock = ({
|
|
|
4475
4526
|
children: id
|
|
4476
4527
|
}
|
|
4477
4528
|
),
|
|
4478
|
-
/* @__PURE__ */ (0,
|
|
4529
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
4479
4530
|
import_IconButton2.default,
|
|
4480
4531
|
{
|
|
4481
4532
|
onClick: handleCopy,
|
|
@@ -4487,7 +4538,7 @@ var IDBlock = ({
|
|
|
4487
4538
|
backgroundColor: deploymentSurfaceTokens.hoverOverlay
|
|
4488
4539
|
}
|
|
4489
4540
|
},
|
|
4490
|
-
children: /* @__PURE__ */ (0,
|
|
4541
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
4491
4542
|
import_ContentCopy.default,
|
|
4492
4543
|
{
|
|
4493
4544
|
sx: {
|
|
@@ -4499,14 +4550,14 @@ var IDBlock = ({
|
|
|
4499
4550
|
}
|
|
4500
4551
|
)
|
|
4501
4552
|
] }),
|
|
4502
|
-
/* @__PURE__ */ (0,
|
|
4553
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
4503
4554
|
import_Snackbar.default,
|
|
4504
4555
|
{
|
|
4505
4556
|
open: snackbar.open,
|
|
4506
4557
|
autoHideDuration: 3e3,
|
|
4507
4558
|
onClose: handleSnackbarClose,
|
|
4508
4559
|
anchorOrigin: { vertical: "top", horizontal: "center" },
|
|
4509
|
-
children: /* @__PURE__ */ (0,
|
|
4560
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_Alert.default, { onClose: handleSnackbarClose, severity: snackbar.severity, children: snackbar.message })
|
|
4510
4561
|
}
|
|
4511
4562
|
)
|
|
4512
4563
|
] });
|
|
@@ -4515,7 +4566,7 @@ var IDBlock = ({
|
|
|
4515
4566
|
// src/components/feedback/Tooltip.tsx
|
|
4516
4567
|
var import_Tooltip = __toESM(require("@mui/material/Tooltip"));
|
|
4517
4568
|
var import_styles20 = require("@mui/material/styles");
|
|
4518
|
-
var
|
|
4569
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
4519
4570
|
var StyledTooltip = (0, import_styles20.styled)(import_Tooltip.default)({
|
|
4520
4571
|
"& .MuiTooltip-tooltip": {
|
|
4521
4572
|
backgroundColor: colors.grey[800],
|
|
@@ -4529,12 +4580,12 @@ var StyledTooltip = (0, import_styles20.styled)(import_Tooltip.default)({
|
|
|
4529
4580
|
}
|
|
4530
4581
|
});
|
|
4531
4582
|
var Tooltip6 = (props) => {
|
|
4532
|
-
return /* @__PURE__ */ (0,
|
|
4583
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(StyledTooltip, { ...props });
|
|
4533
4584
|
};
|
|
4534
4585
|
|
|
4535
4586
|
// src/components/feedback/Progress.tsx
|
|
4536
4587
|
var import_material18 = require("@mui/material");
|
|
4537
|
-
var
|
|
4588
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
4538
4589
|
var StyledLinearProgress = (0, import_material18.styled)(import_material18.LinearProgress)({
|
|
4539
4590
|
height: 4,
|
|
4540
4591
|
borderRadius: 2,
|
|
@@ -4554,9 +4605,9 @@ var Progress = ({
|
|
|
4554
4605
|
thickness = 4
|
|
4555
4606
|
}) => {
|
|
4556
4607
|
if (variant === "circular") {
|
|
4557
|
-
return /* @__PURE__ */ (0,
|
|
4608
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(StyledCircularProgress, { size: size3, thickness });
|
|
4558
4609
|
}
|
|
4559
|
-
return /* @__PURE__ */ (0,
|
|
4610
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
4560
4611
|
StyledLinearProgress,
|
|
4561
4612
|
{
|
|
4562
4613
|
variant: value !== void 0 ? "determinate" : "indeterminate",
|
|
@@ -4568,7 +4619,7 @@ var Progress = ({
|
|
|
4568
4619
|
// src/components/navigation/Tab.tsx
|
|
4569
4620
|
var import_Tab = __toESM(require("@mui/material/Tab"));
|
|
4570
4621
|
var import_styles21 = require("@mui/material/styles");
|
|
4571
|
-
var
|
|
4622
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
4572
4623
|
var StyledTab = (0, import_styles21.styled)(import_Tab.default)({
|
|
4573
4624
|
textTransform: "none",
|
|
4574
4625
|
minHeight: "48px",
|
|
@@ -4590,14 +4641,14 @@ var Tab = ({
|
|
|
4590
4641
|
label,
|
|
4591
4642
|
...props
|
|
4592
4643
|
}) => {
|
|
4593
|
-
const tabLabel = badge !== void 0 ? /* @__PURE__ */ (0,
|
|
4594
|
-
return /* @__PURE__ */ (0,
|
|
4644
|
+
const tabLabel = badge !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Badge, { variant: badgeVariant, badgeContent: badge, children: label }) : label;
|
|
4645
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(StyledTab, { label: tabLabel, ...props });
|
|
4595
4646
|
};
|
|
4596
4647
|
|
|
4597
4648
|
// src/components/navigation/Menu.tsx
|
|
4598
4649
|
var import_material19 = require("@mui/material");
|
|
4599
4650
|
var import_styles22 = require("@mui/material/styles");
|
|
4600
|
-
var
|
|
4651
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
4601
4652
|
var StyledMenu = (0, import_styles22.styled)(import_material19.Menu)({
|
|
4602
4653
|
"& .MuiPaper-root": {
|
|
4603
4654
|
borderRadius: 8,
|
|
@@ -4612,7 +4663,7 @@ var StyledMenu = (0, import_styles22.styled)(import_material19.Menu)({
|
|
|
4612
4663
|
}
|
|
4613
4664
|
});
|
|
4614
4665
|
var Menu3 = ({ anchorEl, onClose, children, ...props }) => {
|
|
4615
|
-
return /* @__PURE__ */ (0,
|
|
4666
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4616
4667
|
StyledMenu,
|
|
4617
4668
|
{
|
|
4618
4669
|
anchorEl,
|
|
@@ -4638,19 +4689,19 @@ var MenuItem = ({
|
|
|
4638
4689
|
disabled = false,
|
|
4639
4690
|
divider = false
|
|
4640
4691
|
}) => {
|
|
4641
|
-
return /* @__PURE__ */ (0,
|
|
4642
|
-
/* @__PURE__ */ (0,
|
|
4643
|
-
icon && /* @__PURE__ */ (0,
|
|
4644
|
-
/* @__PURE__ */ (0,
|
|
4692
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
|
|
4693
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_material19.MenuItem, { onClick, disabled, children: [
|
|
4694
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_material19.ListItemIcon, { children: icon }),
|
|
4695
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_material19.ListItemText, { children: label })
|
|
4645
4696
|
] }),
|
|
4646
|
-
divider && /* @__PURE__ */ (0,
|
|
4697
|
+
divider && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_material19.Divider, {})
|
|
4647
4698
|
] });
|
|
4648
4699
|
};
|
|
4649
4700
|
|
|
4650
4701
|
// src/components/navigation/Pagination.tsx
|
|
4651
4702
|
var import_Pagination = __toESM(require("@mui/material/Pagination"));
|
|
4652
4703
|
var import_styles23 = require("@mui/material/styles");
|
|
4653
|
-
var
|
|
4704
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
4654
4705
|
var StyledPagination = (0, import_styles23.styled)(import_Pagination.default)({
|
|
4655
4706
|
"& .MuiPaginationItem-root": {
|
|
4656
4707
|
"&.Mui-selected": {
|
|
@@ -4666,7 +4717,7 @@ var StyledPagination = (0, import_styles23.styled)(import_Pagination.default)({
|
|
|
4666
4717
|
}
|
|
4667
4718
|
});
|
|
4668
4719
|
var Pagination = ({ color = "primary", ...props }) => {
|
|
4669
|
-
return /* @__PURE__ */ (0,
|
|
4720
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(StyledPagination, { color, ...props });
|
|
4670
4721
|
};
|
|
4671
4722
|
|
|
4672
4723
|
// src/components/navigation/Selector.tsx
|
|
@@ -4679,7 +4730,7 @@ var import_Add3 = __toESM(require("@mui/icons-material/Add"));
|
|
|
4679
4730
|
// src/components/layout/Link.tsx
|
|
4680
4731
|
var import_Link = __toESM(require("@mui/material/Link"));
|
|
4681
4732
|
var import_styles24 = require("@mui/material/styles");
|
|
4682
|
-
var
|
|
4733
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
4683
4734
|
var StyledLink = (0, import_styles24.styled)(import_Link.default)({
|
|
4684
4735
|
color: colors.primary.main,
|
|
4685
4736
|
"&:hover": {
|
|
@@ -4687,11 +4738,11 @@ var StyledLink = (0, import_styles24.styled)(import_Link.default)({
|
|
|
4687
4738
|
}
|
|
4688
4739
|
});
|
|
4689
4740
|
var Link3 = ({ underline = "hover", ...props }) => {
|
|
4690
|
-
return /* @__PURE__ */ (0,
|
|
4741
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(StyledLink, { underline, ...props });
|
|
4691
4742
|
};
|
|
4692
4743
|
|
|
4693
4744
|
// src/components/navigation/Selector.tsx
|
|
4694
|
-
var
|
|
4745
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
4695
4746
|
var Selector = ({
|
|
4696
4747
|
options: options2,
|
|
4697
4748
|
selectedId,
|
|
@@ -4723,14 +4774,14 @@ var Selector = ({
|
|
|
4723
4774
|
onSelect(id);
|
|
4724
4775
|
handleClose();
|
|
4725
4776
|
};
|
|
4726
|
-
const defaultRenderSelected = (option) => /* @__PURE__ */ (0,
|
|
4727
|
-
option.avatar ? /* @__PURE__ */ (0,
|
|
4728
|
-
/* @__PURE__ */ (0,
|
|
4777
|
+
const defaultRenderSelected = (option) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_material20.Box, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
4778
|
+
option.avatar ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Avatar, { src: option.avatar, sx: { width: 20, height: 20 } }) : option.icon ? option.icon : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Avatar, { sx: { width: 20, height: 20, bgcolor: colors.primary.main, fontSize: "0.7rem" }, children: option.name.charAt(0) }),
|
|
4779
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Typography, { variant: "body2", children: option.name })
|
|
4729
4780
|
] });
|
|
4730
4781
|
if (compact) {
|
|
4731
|
-
return /* @__PURE__ */ (0,
|
|
4732
|
-
/* @__PURE__ */ (0,
|
|
4733
|
-
/* @__PURE__ */ (0,
|
|
4782
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
|
|
4783
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(IconButton, { onClick: handleOpen, size: "small", children: selectedOption ? selectedOption.avatar ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Avatar, { src: selectedOption.avatar, sx: { width: 32, height: 32 } }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Avatar, { sx: { width: 32, height: 32, bgcolor: colors.primary.main }, children: selectedOption.name.charAt(0) }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Avatar, { sx: { width: 32, height: 32, bgcolor: colors.grey[400] }, children: "?" }) }),
|
|
4784
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
4734
4785
|
import_material20.Menu,
|
|
4735
4786
|
{
|
|
4736
4787
|
anchorEl,
|
|
@@ -4739,8 +4790,8 @@ var Selector = ({
|
|
|
4739
4790
|
PaperProps: {
|
|
4740
4791
|
sx: { width, maxHeight: 600, mt: 1 }
|
|
4741
4792
|
},
|
|
4742
|
-
children: loading ? /* @__PURE__ */ (0,
|
|
4743
|
-
options2.length > 5 && /* @__PURE__ */ (0,
|
|
4793
|
+
children: loading ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Box, { sx: { display: "flex", justifyContent: "center", p: 2 }, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.CircularProgress, { size: 24 }) }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
|
|
4794
|
+
options2.length > 5 && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Box, { sx: { p: 1, borderBottom: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
4744
4795
|
TextField,
|
|
4745
4796
|
{
|
|
4746
4797
|
size: "small",
|
|
@@ -4749,31 +4800,31 @@ var Selector = ({
|
|
|
4749
4800
|
value: searchTerm,
|
|
4750
4801
|
onChange: (e) => setSearchTerm(e.target.value),
|
|
4751
4802
|
InputProps: {
|
|
4752
|
-
startAdornment: /* @__PURE__ */ (0,
|
|
4803
|
+
startAdornment: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.InputAdornment, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_Search4.default, { fontSize: "small" }) })
|
|
4753
4804
|
}
|
|
4754
4805
|
}
|
|
4755
4806
|
) }),
|
|
4756
|
-
/* @__PURE__ */ (0,
|
|
4757
|
-
filteredOptions.map((option) => /* @__PURE__ */ (0,
|
|
4807
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_material20.List, { sx: { maxHeight: 400, overflow: "auto" }, children: [
|
|
4808
|
+
filteredOptions.map((option) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
4758
4809
|
import_material20.ListItemButton,
|
|
4759
4810
|
{
|
|
4760
4811
|
selected: option.id === selectedId,
|
|
4761
4812
|
onClick: () => handleSelect(option.id),
|
|
4762
4813
|
disabled: option.disabled,
|
|
4763
4814
|
children: [
|
|
4764
|
-
option.avatar ? /* @__PURE__ */ (0,
|
|
4765
|
-
/* @__PURE__ */ (0,
|
|
4815
|
+
option.avatar ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.ListItemAvatar, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Avatar, { src: option.avatar }) }) : option.icon ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.ListItemAvatar, { children: option.icon }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.ListItemAvatar, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Avatar, { sx: { bgcolor: colors.primary.main }, children: option.name.charAt(0) }) }),
|
|
4816
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.ListItemText, { primary: option.name, secondary: option.description })
|
|
4766
4817
|
]
|
|
4767
4818
|
},
|
|
4768
4819
|
option.id
|
|
4769
4820
|
)),
|
|
4770
|
-
filteredOptions.length === 0 && /* @__PURE__ */ (0,
|
|
4821
|
+
filteredOptions.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Box, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Typography, { variant: "body2", color: "text.secondary", children: emptyMessage }) })
|
|
4771
4822
|
] }),
|
|
4772
|
-
onCreate && /* @__PURE__ */ (0,
|
|
4823
|
+
onCreate && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Box, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
4773
4824
|
Button,
|
|
4774
4825
|
{
|
|
4775
4826
|
fullWidth: true,
|
|
4776
|
-
startIcon: /* @__PURE__ */ (0,
|
|
4827
|
+
startIcon: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_Add3.default, {}),
|
|
4777
4828
|
onClick: () => {
|
|
4778
4829
|
onCreate();
|
|
4779
4830
|
handleClose();
|
|
@@ -4786,12 +4837,12 @@ var Selector = ({
|
|
|
4786
4837
|
)
|
|
4787
4838
|
] });
|
|
4788
4839
|
}
|
|
4789
|
-
return /* @__PURE__ */ (0,
|
|
4790
|
-
/* @__PURE__ */ (0,
|
|
4791
|
-
selectedOption ? renderSelected ? /* @__PURE__ */ (0,
|
|
4792
|
-
/* @__PURE__ */ (0,
|
|
4840
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
|
|
4841
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_material20.Box, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
|
|
4842
|
+
selectedOption ? renderSelected ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Link3, { onClick: handleOpen, underline: "hover", children: renderSelected(selectedOption) }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Link3, { onClick: handleOpen, underline: "hover", children: defaultRenderSelected(selectedOption) }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Typography, { variant: "body2", color: "text.secondary", children: placeholder }),
|
|
4843
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(IconButton, { onClick: handleOpen, size: "small", sx: { p: 0.2, ml: 0.5 }, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_KeyboardArrowDown3.default, { fontSize: "small" }) })
|
|
4793
4844
|
] }),
|
|
4794
|
-
/* @__PURE__ */ (0,
|
|
4845
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
4795
4846
|
import_material20.Menu,
|
|
4796
4847
|
{
|
|
4797
4848
|
anchorEl,
|
|
@@ -4800,8 +4851,8 @@ var Selector = ({
|
|
|
4800
4851
|
PaperProps: {
|
|
4801
4852
|
sx: { width, maxHeight: 600, mt: 1 }
|
|
4802
4853
|
},
|
|
4803
|
-
children: loading ? /* @__PURE__ */ (0,
|
|
4804
|
-
options2.length > 5 && /* @__PURE__ */ (0,
|
|
4854
|
+
children: loading ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Box, { sx: { display: "flex", justifyContent: "center", p: 2 }, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.CircularProgress, { size: 24 }) }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
|
|
4855
|
+
options2.length > 5 && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Box, { sx: { p: 1, borderBottom: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
4805
4856
|
TextField,
|
|
4806
4857
|
{
|
|
4807
4858
|
size: "small",
|
|
@@ -4810,31 +4861,31 @@ var Selector = ({
|
|
|
4810
4861
|
value: searchTerm,
|
|
4811
4862
|
onChange: (e) => setSearchTerm(e.target.value),
|
|
4812
4863
|
InputProps: {
|
|
4813
|
-
startAdornment: /* @__PURE__ */ (0,
|
|
4864
|
+
startAdornment: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.InputAdornment, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_Search4.default, { fontSize: "small" }) })
|
|
4814
4865
|
}
|
|
4815
4866
|
}
|
|
4816
4867
|
) }),
|
|
4817
|
-
/* @__PURE__ */ (0,
|
|
4818
|
-
filteredOptions.map((option) => /* @__PURE__ */ (0,
|
|
4868
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_material20.List, { sx: { maxHeight: 400, overflow: "auto" }, children: [
|
|
4869
|
+
filteredOptions.map((option) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
4819
4870
|
import_material20.ListItemButton,
|
|
4820
4871
|
{
|
|
4821
4872
|
selected: option.id === selectedId,
|
|
4822
4873
|
onClick: () => handleSelect(option.id),
|
|
4823
4874
|
disabled: option.disabled,
|
|
4824
4875
|
children: [
|
|
4825
|
-
option.avatar ? /* @__PURE__ */ (0,
|
|
4826
|
-
/* @__PURE__ */ (0,
|
|
4876
|
+
option.avatar ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.ListItemAvatar, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Avatar, { src: option.avatar }) }) : option.icon ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.ListItemAvatar, { children: option.icon }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.ListItemAvatar, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Avatar, { sx: { bgcolor: colors.primary.main }, children: option.name.charAt(0) }) }),
|
|
4877
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.ListItemText, { primary: option.name, secondary: option.description })
|
|
4827
4878
|
]
|
|
4828
4879
|
},
|
|
4829
4880
|
option.id
|
|
4830
4881
|
)),
|
|
4831
|
-
filteredOptions.length === 0 && /* @__PURE__ */ (0,
|
|
4882
|
+
filteredOptions.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Box, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Typography, { variant: "body2", color: "text.secondary", children: emptyMessage }) })
|
|
4832
4883
|
] }),
|
|
4833
|
-
onCreate && /* @__PURE__ */ (0,
|
|
4884
|
+
onCreate && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Box, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
4834
4885
|
Button,
|
|
4835
4886
|
{
|
|
4836
4887
|
fullWidth: true,
|
|
4837
|
-
startIcon: /* @__PURE__ */ (0,
|
|
4888
|
+
startIcon: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_Add3.default, {}),
|
|
4838
4889
|
onClick: () => {
|
|
4839
4890
|
onCreate();
|
|
4840
4891
|
handleClose();
|
|
@@ -4854,20 +4905,20 @@ var import_material22 = require("@mui/material");
|
|
|
4854
4905
|
// src/components/icons/CereIcon.tsx
|
|
4855
4906
|
var import_react13 = require("react");
|
|
4856
4907
|
var import_material21 = require("@mui/material");
|
|
4857
|
-
var
|
|
4858
|
-
var CereIcon = (0, import_react13.memo)((props) => /* @__PURE__ */ (0,
|
|
4859
|
-
/* @__PURE__ */ (0,
|
|
4908
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
4909
|
+
var CereIcon = (0, import_react13.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_material21.SvgIcon, { ...props, viewBox: "0 0 24 28", children: [
|
|
4910
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("g", { clipPath: "url(#a)", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
4860
4911
|
"path",
|
|
4861
4912
|
{
|
|
4862
4913
|
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",
|
|
4863
4914
|
fill: "currentColor"
|
|
4864
4915
|
}
|
|
4865
4916
|
) }),
|
|
4866
|
-
/* @__PURE__ */ (0,
|
|
4917
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("clipPath", { id: "a", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("path", { fill: "currentColor", transform: "translate(.373 .77)", d: "M0 0h23.615v26.36H0z" }) }) })
|
|
4867
4918
|
] }));
|
|
4868
4919
|
|
|
4869
4920
|
// src/components/layout/Logo.tsx
|
|
4870
|
-
var
|
|
4921
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
4871
4922
|
var sizesMap = {
|
|
4872
4923
|
large: 38,
|
|
4873
4924
|
medium: 32,
|
|
@@ -4878,18 +4929,18 @@ var Container = (0, import_material22.styled)(import_material22.Stack)({
|
|
|
4878
4929
|
fontSize: "inherit"
|
|
4879
4930
|
}
|
|
4880
4931
|
});
|
|
4881
|
-
var Logo = ({ children, size: size3 = "medium", icon = /* @__PURE__ */ (0,
|
|
4932
|
+
var Logo = ({ children, size: size3 = "medium", icon = /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(CereIcon, { color: "primary" }) }) => /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(Container, { direction: "row", alignItems: "center", spacing: 2, fontSize: sizesMap[size3], children: [
|
|
4882
4933
|
icon,
|
|
4883
|
-
children && /* @__PURE__ */ (0,
|
|
4934
|
+
children && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_material22.Stack, { children })
|
|
4884
4935
|
] });
|
|
4885
4936
|
|
|
4886
4937
|
// src/components/layout/EntityHeader/EntityHeader.tsx
|
|
4887
4938
|
var import_Box2 = __toESM(require("@mui/material/Box"));
|
|
4888
|
-
var
|
|
4939
|
+
var import_Typography3 = __toESM(require("@mui/material/Typography"));
|
|
4889
4940
|
var import_IconButton4 = __toESM(require("@mui/material/IconButton"));
|
|
4890
4941
|
var import_Divider = __toESM(require("@mui/material/Divider"));
|
|
4891
4942
|
var import_MoreHoriz = __toESM(require("@mui/icons-material/MoreHoriz"));
|
|
4892
|
-
var
|
|
4943
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
4893
4944
|
var EntityHeader = ({
|
|
4894
4945
|
title,
|
|
4895
4946
|
subtitle,
|
|
@@ -4906,8 +4957,8 @@ var EntityHeader = ({
|
|
|
4906
4957
|
const { label, count } = primaryAction;
|
|
4907
4958
|
return count !== void 0 ? `${label} (${count})` : label;
|
|
4908
4959
|
};
|
|
4909
|
-
return /* @__PURE__ */ (0,
|
|
4910
|
-
/* @__PURE__ */ (0,
|
|
4960
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_Box2.default, { children: [
|
|
4961
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
4911
4962
|
import_Box2.default,
|
|
4912
4963
|
{
|
|
4913
4964
|
sx: {
|
|
@@ -4919,7 +4970,7 @@ var EntityHeader = ({
|
|
|
4919
4970
|
gap: 1
|
|
4920
4971
|
},
|
|
4921
4972
|
children: [
|
|
4922
|
-
/* @__PURE__ */ (0,
|
|
4973
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
4923
4974
|
import_Box2.default,
|
|
4924
4975
|
{
|
|
4925
4976
|
sx: {
|
|
@@ -4929,7 +4980,7 @@ var EntityHeader = ({
|
|
|
4929
4980
|
flexWrap: "wrap"
|
|
4930
4981
|
},
|
|
4931
4982
|
children: [
|
|
4932
|
-
/* @__PURE__ */ (0,
|
|
4983
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
4933
4984
|
import_Box2.default,
|
|
4934
4985
|
{
|
|
4935
4986
|
sx: {
|
|
@@ -4938,8 +4989,8 @@ var EntityHeader = ({
|
|
|
4938
4989
|
gap: 0.5
|
|
4939
4990
|
},
|
|
4940
4991
|
children: [
|
|
4941
|
-
/* @__PURE__ */ (0,
|
|
4942
|
-
|
|
4992
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
4993
|
+
import_Typography3.default,
|
|
4943
4994
|
{
|
|
4944
4995
|
component: headingLevel,
|
|
4945
4996
|
sx: {
|
|
@@ -4952,8 +5003,8 @@ var EntityHeader = ({
|
|
|
4952
5003
|
children: title
|
|
4953
5004
|
}
|
|
4954
5005
|
),
|
|
4955
|
-
subtitle && /* @__PURE__ */ (0,
|
|
4956
|
-
|
|
5006
|
+
subtitle && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
5007
|
+
import_Typography3.default,
|
|
4957
5008
|
{
|
|
4958
5009
|
variant: "body2",
|
|
4959
5010
|
sx: {
|
|
@@ -4969,12 +5020,12 @@ var EntityHeader = ({
|
|
|
4969
5020
|
]
|
|
4970
5021
|
}
|
|
4971
5022
|
),
|
|
4972
|
-
role && /* @__PURE__ */ (0,
|
|
4973
|
-
id && /* @__PURE__ */ (0,
|
|
5023
|
+
role && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(RoleBadge, { label: role, color: "primary", size: "small" }),
|
|
5024
|
+
id && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(IDBlock, { id, label: "ID", entityType: "entity", onCopy: onCopyId })
|
|
4974
5025
|
]
|
|
4975
5026
|
}
|
|
4976
5027
|
),
|
|
4977
|
-
/* @__PURE__ */ (0,
|
|
5028
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
4978
5029
|
import_Box2.default,
|
|
4979
5030
|
{
|
|
4980
5031
|
sx: {
|
|
@@ -4984,7 +5035,7 @@ var EntityHeader = ({
|
|
|
4984
5035
|
flexShrink: 0
|
|
4985
5036
|
},
|
|
4986
5037
|
children: [
|
|
4987
|
-
primaryAction && /* @__PURE__ */ (0,
|
|
5038
|
+
primaryAction && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
4988
5039
|
Button,
|
|
4989
5040
|
{
|
|
4990
5041
|
variant: "primary",
|
|
@@ -4996,7 +5047,7 @@ var EntityHeader = ({
|
|
|
4996
5047
|
children: getPrimaryActionLabel()
|
|
4997
5048
|
}
|
|
4998
5049
|
),
|
|
4999
|
-
onMoreOptions && /* @__PURE__ */ (0,
|
|
5050
|
+
onMoreOptions && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
5000
5051
|
import_IconButton4.default,
|
|
5001
5052
|
{
|
|
5002
5053
|
onClick: onMoreOptions,
|
|
@@ -5011,7 +5062,7 @@ var EntityHeader = ({
|
|
|
5011
5062
|
borderColor: deploymentSurfaceTokens.borderDefault
|
|
5012
5063
|
}
|
|
5013
5064
|
},
|
|
5014
|
-
children: /* @__PURE__ */ (0,
|
|
5065
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
5015
5066
|
import_MoreHoriz.default,
|
|
5016
5067
|
{
|
|
5017
5068
|
sx: {
|
|
@@ -5028,7 +5079,7 @@ var EntityHeader = ({
|
|
|
5028
5079
|
]
|
|
5029
5080
|
}
|
|
5030
5081
|
),
|
|
5031
|
-
divider && /* @__PURE__ */ (0,
|
|
5082
|
+
divider && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
5032
5083
|
import_Divider.default,
|
|
5033
5084
|
{
|
|
5034
5085
|
sx: {
|
|
@@ -5042,7 +5093,7 @@ var EntityHeader = ({
|
|
|
5042
5093
|
// src/components/layout/Dialog.tsx
|
|
5043
5094
|
var import_material23 = require("@mui/material");
|
|
5044
5095
|
var import_Close = __toESM(require("@mui/icons-material/Close"));
|
|
5045
|
-
var
|
|
5096
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
5046
5097
|
var Dialog = ({
|
|
5047
5098
|
open,
|
|
5048
5099
|
title,
|
|
@@ -5066,7 +5117,7 @@ var Dialog = ({
|
|
|
5066
5117
|
if (e) e.stopPropagation();
|
|
5067
5118
|
onClose();
|
|
5068
5119
|
};
|
|
5069
|
-
return /* @__PURE__ */ (0,
|
|
5120
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
5070
5121
|
import_material23.Dialog,
|
|
5071
5122
|
{
|
|
5072
5123
|
open,
|
|
@@ -5083,28 +5134,28 @@ var Dialog = ({
|
|
|
5083
5134
|
...dialogProps.PaperProps
|
|
5084
5135
|
},
|
|
5085
5136
|
children: [
|
|
5086
|
-
/* @__PURE__ */ (0,
|
|
5087
|
-
/* @__PURE__ */ (0,
|
|
5088
|
-
/* @__PURE__ */ (0,
|
|
5137
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_material23.DialogTitle, { sx: { display: "flex", justifyContent: "space-between", alignItems: "center", p: 2 }, children: [
|
|
5138
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material23.Box, { sx: { display: "flex", alignItems: "center" }, children: typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material23.Typography, { variant: "h6", children: title }) : title }),
|
|
5139
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_material23.Box, { sx: { display: "flex", alignItems: "center" }, children: [
|
|
5089
5140
|
headerAction,
|
|
5090
|
-
/* @__PURE__ */ (0,
|
|
5141
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
5091
5142
|
import_material23.IconButton,
|
|
5092
5143
|
{
|
|
5093
5144
|
edge: "end",
|
|
5094
5145
|
color: "inherit",
|
|
5095
5146
|
onClick: handleCloseAttempt,
|
|
5096
5147
|
"aria-label": "close",
|
|
5097
|
-
children: /* @__PURE__ */ (0,
|
|
5148
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_Close.default, {})
|
|
5098
5149
|
}
|
|
5099
5150
|
)
|
|
5100
5151
|
] })
|
|
5101
5152
|
] }),
|
|
5102
|
-
dividers && /* @__PURE__ */ (0,
|
|
5103
|
-
/* @__PURE__ */ (0,
|
|
5104
|
-
(showActions || customActions) && /* @__PURE__ */ (0,
|
|
5105
|
-
dividers && /* @__PURE__ */ (0,
|
|
5106
|
-
/* @__PURE__ */ (0,
|
|
5107
|
-
/* @__PURE__ */ (0,
|
|
5153
|
+
dividers && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material23.Divider, {}),
|
|
5154
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material23.DialogContent, { dividers, children }),
|
|
5155
|
+
(showActions || customActions) && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
|
|
5156
|
+
dividers && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material23.Divider, {}),
|
|
5157
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material23.DialogActions, { children: customActions || /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
|
|
5158
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
5108
5159
|
import_material23.Button,
|
|
5109
5160
|
{
|
|
5110
5161
|
onClick: handleCloseAttempt,
|
|
@@ -5112,14 +5163,14 @@ var Dialog = ({
|
|
|
5112
5163
|
children: cancelLabel
|
|
5113
5164
|
}
|
|
5114
5165
|
),
|
|
5115
|
-
onSubmit && /* @__PURE__ */ (0,
|
|
5166
|
+
onSubmit && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
5116
5167
|
import_material23.Button,
|
|
5117
5168
|
{
|
|
5118
5169
|
variant: "contained",
|
|
5119
5170
|
color: "primary",
|
|
5120
5171
|
onClick: onSubmit,
|
|
5121
5172
|
disabled: disableSubmit || isLoading,
|
|
5122
|
-
startIcon: isLoading ? /* @__PURE__ */ (0,
|
|
5173
|
+
startIcon: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material23.CircularProgress, { size: 20 }) : void 0,
|
|
5123
5174
|
children: submitLabel
|
|
5124
5175
|
}
|
|
5125
5176
|
)
|
|
@@ -5135,7 +5186,7 @@ var import_Drawer = __toESM(require("@mui/material/Drawer"));
|
|
|
5135
5186
|
var import_styles25 = require("@mui/material/styles");
|
|
5136
5187
|
var import_material24 = require("@mui/material");
|
|
5137
5188
|
var import_Close2 = __toESM(require("@mui/icons-material/Close"));
|
|
5138
|
-
var
|
|
5189
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
5139
5190
|
var StyledDrawer2 = (0, import_styles25.styled)(import_Drawer.default, {
|
|
5140
5191
|
shouldForwardProp: (prop) => prop !== "width" && prop !== "miniWidth" && prop !== "collapsed" && prop !== "topOffset"
|
|
5141
5192
|
})(({ theme: theme2, width = 240, miniWidth = 72, collapsed, topOffset = 0 }) => ({
|
|
@@ -5182,7 +5233,7 @@ var Drawer2 = ({
|
|
|
5182
5233
|
const finalWidth = width ?? defaultWidth;
|
|
5183
5234
|
const shouldShowClose = showCloseButton ?? (variant === "temporary" || variant === "persistent");
|
|
5184
5235
|
const hasHeader = title || header || shouldShowClose || tabs;
|
|
5185
|
-
return /* @__PURE__ */ (0,
|
|
5236
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
5186
5237
|
StyledDrawer2,
|
|
5187
5238
|
{
|
|
5188
5239
|
width: finalWidth,
|
|
@@ -5207,8 +5258,8 @@ var Drawer2 = ({
|
|
|
5207
5258
|
},
|
|
5208
5259
|
...props,
|
|
5209
5260
|
children: [
|
|
5210
|
-
hasHeader && /* @__PURE__ */ (0,
|
|
5211
|
-
/* @__PURE__ */ (0,
|
|
5261
|
+
hasHeader && /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
|
|
5262
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
5212
5263
|
import_material24.Box,
|
|
5213
5264
|
{
|
|
5214
5265
|
sx: {
|
|
@@ -5220,9 +5271,9 @@ var Drawer2 = ({
|
|
|
5220
5271
|
borderBottom: 1,
|
|
5221
5272
|
borderColor: "divider"
|
|
5222
5273
|
},
|
|
5223
|
-
children: header || /* @__PURE__ */ (0,
|
|
5224
|
-
/* @__PURE__ */ (0,
|
|
5225
|
-
shouldShowClose && onClose && /* @__PURE__ */ (0,
|
|
5274
|
+
children: header || /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
|
|
5275
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_material24.Box, { sx: { flex: 1 }, children: typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_material24.Typography, { variant: "h6", children: title }) : title }),
|
|
5276
|
+
shouldShowClose && onClose && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
5226
5277
|
import_material24.IconButton,
|
|
5227
5278
|
{
|
|
5228
5279
|
onClick: (e) => {
|
|
@@ -5232,13 +5283,13 @@ var Drawer2 = ({
|
|
|
5232
5283
|
size: "small",
|
|
5233
5284
|
sx: { ml: 1 },
|
|
5234
5285
|
"aria-label": "close",
|
|
5235
|
-
children: /* @__PURE__ */ (0,
|
|
5286
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_Close2.default, {})
|
|
5236
5287
|
}
|
|
5237
5288
|
)
|
|
5238
5289
|
] })
|
|
5239
5290
|
}
|
|
5240
5291
|
),
|
|
5241
|
-
tabs && tabs.length > 0 && /* @__PURE__ */ (0,
|
|
5292
|
+
tabs && tabs.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
5242
5293
|
import_material24.Tabs,
|
|
5243
5294
|
{
|
|
5244
5295
|
value: activeTab,
|
|
@@ -5253,11 +5304,11 @@ var Drawer2 = ({
|
|
|
5253
5304
|
overflow: "auto"
|
|
5254
5305
|
}
|
|
5255
5306
|
},
|
|
5256
|
-
children: tabs.map((tab, index) => /* @__PURE__ */ (0,
|
|
5307
|
+
children: tabs.map((tab, index) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_material24.Tab, { label: tab }, index))
|
|
5257
5308
|
}
|
|
5258
5309
|
)
|
|
5259
5310
|
] }),
|
|
5260
|
-
/* @__PURE__ */ (0,
|
|
5311
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
5261
5312
|
import_material24.Box,
|
|
5262
5313
|
{
|
|
5263
5314
|
sx: {
|
|
@@ -5270,9 +5321,9 @@ var Drawer2 = ({
|
|
|
5270
5321
|
children
|
|
5271
5322
|
}
|
|
5272
5323
|
),
|
|
5273
|
-
footer && /* @__PURE__ */ (0,
|
|
5274
|
-
/* @__PURE__ */ (0,
|
|
5275
|
-
/* @__PURE__ */ (0,
|
|
5324
|
+
footer && /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
|
|
5325
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_material24.Divider, {}),
|
|
5326
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
5276
5327
|
import_material24.Box,
|
|
5277
5328
|
{
|
|
5278
5329
|
sx: {
|
|
@@ -5295,7 +5346,7 @@ var import_CardContent = __toESM(require("@mui/material/CardContent"));
|
|
|
5295
5346
|
var import_CardHeader = __toESM(require("@mui/material/CardHeader"));
|
|
5296
5347
|
var import_CardActions = __toESM(require("@mui/material/CardActions"));
|
|
5297
5348
|
var import_styles26 = require("@mui/material/styles");
|
|
5298
|
-
var
|
|
5349
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
5299
5350
|
var StyledCard = (0, import_styles26.styled)(import_Card.default, {
|
|
5300
5351
|
shouldForwardProp: (prop) => prop !== "hoverable" && prop !== "clickable"
|
|
5301
5352
|
})(({ hoverable, clickable }) => ({
|
|
@@ -5313,24 +5364,24 @@ var StyledCard = (0, import_styles26.styled)(import_Card.default, {
|
|
|
5313
5364
|
}
|
|
5314
5365
|
}));
|
|
5315
5366
|
var Card = ({ hoverable = false, clickable = false, children, ...props }) => {
|
|
5316
|
-
return /* @__PURE__ */ (0,
|
|
5367
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(StyledCard, { hoverable, clickable, ...props, children });
|
|
5317
5368
|
};
|
|
5318
5369
|
var CardContent = (props) => {
|
|
5319
|
-
return /* @__PURE__ */ (0,
|
|
5370
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_CardContent.default, { ...props });
|
|
5320
5371
|
};
|
|
5321
5372
|
var CardHeader = (props) => {
|
|
5322
|
-
return /* @__PURE__ */ (0,
|
|
5373
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_CardHeader.default, { ...props });
|
|
5323
5374
|
};
|
|
5324
5375
|
var CardActions = (props) => {
|
|
5325
|
-
return /* @__PURE__ */ (0,
|
|
5376
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_CardActions.default, { ...props });
|
|
5326
5377
|
};
|
|
5327
5378
|
|
|
5328
5379
|
// src/components/layout/List.tsx
|
|
5329
5380
|
var import_material25 = require("@mui/material");
|
|
5330
5381
|
var import_styles27 = require("@mui/material/styles");
|
|
5331
|
-
var
|
|
5382
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
5332
5383
|
var List6 = (props) => {
|
|
5333
|
-
return /* @__PURE__ */ (0,
|
|
5384
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_material25.List, { ...props });
|
|
5334
5385
|
};
|
|
5335
5386
|
var StyledListItem = (0, import_styles27.styled)(import_material25.ListItem, {
|
|
5336
5387
|
shouldForwardProp: (prop) => prop !== "hoverable"
|
|
@@ -5353,9 +5404,9 @@ var ListItem4 = ({
|
|
|
5353
5404
|
children,
|
|
5354
5405
|
...props
|
|
5355
5406
|
}) => {
|
|
5356
|
-
return /* @__PURE__ */ (0,
|
|
5357
|
-
icon && /* @__PURE__ */ (0,
|
|
5358
|
-
(primary || secondary) && /* @__PURE__ */ (0,
|
|
5407
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(StyledListItem, { hoverable, ...props, children: [
|
|
5408
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_material25.ListItemIcon, { children: icon }),
|
|
5409
|
+
(primary || secondary) && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
5359
5410
|
import_material25.ListItemText,
|
|
5360
5411
|
{
|
|
5361
5412
|
primary,
|
|
@@ -5389,7 +5440,7 @@ function useControlledExpand(controlledExpanded, onToggle, defaultExpanded = fal
|
|
|
5389
5440
|
}
|
|
5390
5441
|
|
|
5391
5442
|
// src/components/layout/DeploymentDashboardCard/DeploymentDashboardCard.tsx
|
|
5392
|
-
var
|
|
5443
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
5393
5444
|
var ENTITY_LABELS = {
|
|
5394
5445
|
workspace: "Workspace",
|
|
5395
5446
|
stream: "Stream",
|
|
@@ -5399,11 +5450,11 @@ var ENTITY_LABELS = {
|
|
|
5399
5450
|
};
|
|
5400
5451
|
var ENTITY_ICON_SIZE = 16;
|
|
5401
5452
|
var ENTITY_ICONS = {
|
|
5402
|
-
workspace: /* @__PURE__ */ (0,
|
|
5403
|
-
stream: /* @__PURE__ */ (0,
|
|
5404
|
-
deployment: /* @__PURE__ */ (0,
|
|
5405
|
-
engagement: /* @__PURE__ */ (0,
|
|
5406
|
-
agent: /* @__PURE__ */ (0,
|
|
5453
|
+
workspace: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_WorkOutline.default, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
5454
|
+
stream: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_Waves.default, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
5455
|
+
deployment: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_RocketLaunchOutlined.default, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
5456
|
+
engagement: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_InsertLink.default, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
5457
|
+
agent: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_SmartToyOutlined.default, { sx: { fontSize: ENTITY_ICON_SIZE } })
|
|
5407
5458
|
};
|
|
5408
5459
|
var STATUS_DOT_COLORS = {
|
|
5409
5460
|
normal: deploymentStatusColors.normal,
|
|
@@ -5433,7 +5484,7 @@ var StatusDot = (0, import_styles28.styled)(import_material26.Box, {
|
|
|
5433
5484
|
backgroundColor: status ? STATUS_DOT_COLORS[status] ?? "transparent" : "transparent",
|
|
5434
5485
|
flexShrink: 0
|
|
5435
5486
|
}));
|
|
5436
|
-
var EntityChip = ({ entityType, color }) => /* @__PURE__ */ (0,
|
|
5487
|
+
var EntityChip = ({ entityType, color }) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
5437
5488
|
import_material26.Box,
|
|
5438
5489
|
{
|
|
5439
5490
|
sx: {
|
|
@@ -5449,8 +5500,8 @@ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ (0, import_jsx_runti
|
|
|
5449
5500
|
flexShrink: 0
|
|
5450
5501
|
},
|
|
5451
5502
|
children: [
|
|
5452
|
-
/* @__PURE__ */ (0,
|
|
5453
|
-
/* @__PURE__ */ (0,
|
|
5503
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_material26.Box, { sx: { color, display: "flex", alignItems: "center" }, children: ENTITY_ICONS[entityType] }),
|
|
5504
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
5454
5505
|
import_material26.Typography,
|
|
5455
5506
|
{
|
|
5456
5507
|
variant: "body2",
|
|
@@ -5467,15 +5518,15 @@ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ (0, import_jsx_runti
|
|
|
5467
5518
|
]
|
|
5468
5519
|
}
|
|
5469
5520
|
);
|
|
5470
|
-
var CapacityBar = ({ value, indented = false }) => /* @__PURE__ */ (0,
|
|
5471
|
-
/* @__PURE__ */ (0,
|
|
5472
|
-
/* @__PURE__ */ (0,
|
|
5473
|
-
/* @__PURE__ */ (0,
|
|
5521
|
+
var CapacityBar = ({ value, indented = false }) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_material26.Box, { sx: { pl: indented ? "40px" : 0, pr: "20px", py: 1 }, children: [
|
|
5522
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_material26.Box, { sx: { display: "flex", justifyContent: "space-between", mb: 1 }, children: [
|
|
5523
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_material26.Typography, { variant: "body2", sx: { color: deploymentSurfaceTokens.textPrimary }, children: "Capacity" }),
|
|
5524
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_material26.Typography, { variant: "body2", sx: { color: deploymentSurfaceTokens.accentBlue }, children: [
|
|
5474
5525
|
value,
|
|
5475
5526
|
"%"
|
|
5476
5527
|
] })
|
|
5477
5528
|
] }),
|
|
5478
|
-
/* @__PURE__ */ (0,
|
|
5529
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
5479
5530
|
import_material26.LinearProgress,
|
|
5480
5531
|
{
|
|
5481
5532
|
variant: "determinate",
|
|
@@ -5515,19 +5566,19 @@ var getActionButtonStyles = (action) => {
|
|
|
5515
5566
|
};
|
|
5516
5567
|
return { ...baseStyles, ...variantStyles };
|
|
5517
5568
|
};
|
|
5518
|
-
var CardAction = ({ action }) => /* @__PURE__ */ (0,
|
|
5569
|
+
var CardAction = ({ action }) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
5519
5570
|
import_material26.Box,
|
|
5520
5571
|
{
|
|
5521
5572
|
component: action.onClick ? "button" : "span",
|
|
5522
5573
|
onClick: action.onClick,
|
|
5523
5574
|
sx: getActionButtonStyles(action),
|
|
5524
5575
|
children: [
|
|
5525
|
-
action.icon && /* @__PURE__ */ (0,
|
|
5526
|
-
action.label && /* @__PURE__ */ (0,
|
|
5576
|
+
action.icon && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_material26.Box, { component: "span", sx: { display: "flex", alignItems: "center" }, children: action.icon }),
|
|
5577
|
+
action.label && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_material26.Typography, { variant: "body2", fontWeight: 500, component: "span", sx: { fontSize: "14px" }, children: action.label })
|
|
5527
5578
|
]
|
|
5528
5579
|
}
|
|
5529
5580
|
);
|
|
5530
|
-
var CardActionList = ({ actions }) => /* @__PURE__ */ (0,
|
|
5581
|
+
var CardActionList = ({ actions }) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_jsx_runtime45.Fragment, { children: actions.map((action) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CardAction, { action }, action.id)) });
|
|
5531
5582
|
var DeploymentDashboardCard = ({
|
|
5532
5583
|
entityType,
|
|
5533
5584
|
title,
|
|
@@ -5560,7 +5611,7 @@ var DeploymentDashboardCard = ({
|
|
|
5560
5611
|
return Math.min(100, Math.max(0, capacity2));
|
|
5561
5612
|
};
|
|
5562
5613
|
const capacityClamped = getClampedCapacity(capacity);
|
|
5563
|
-
return /* @__PURE__ */ (0,
|
|
5614
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
5564
5615
|
import_material26.Paper,
|
|
5565
5616
|
{
|
|
5566
5617
|
className,
|
|
@@ -5577,7 +5628,7 @@ var DeploymentDashboardCard = ({
|
|
|
5577
5628
|
gap: 0
|
|
5578
5629
|
},
|
|
5579
5630
|
children: [
|
|
5580
|
-
/* @__PURE__ */ (0,
|
|
5631
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
5581
5632
|
import_material26.Box,
|
|
5582
5633
|
{
|
|
5583
5634
|
sx: {
|
|
@@ -5587,20 +5638,20 @@ var DeploymentDashboardCard = ({
|
|
|
5587
5638
|
width: "100%"
|
|
5588
5639
|
},
|
|
5589
5640
|
children: [
|
|
5590
|
-
/* @__PURE__ */ (0,
|
|
5591
|
-
/* @__PURE__ */ (0,
|
|
5592
|
-
expandable ? /* @__PURE__ */ (0,
|
|
5641
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_material26.Box, { sx: { display: "flex", flexDirection: "column", gap: 0.5, minWidth: 0 }, children: [
|
|
5642
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_material26.Box, { sx: { display: "flex", gap: 1, alignItems: "center" }, children: [
|
|
5643
|
+
expandable ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
5593
5644
|
import_material26.IconButton,
|
|
5594
5645
|
{
|
|
5595
5646
|
size: "small",
|
|
5596
5647
|
onClick: toggle,
|
|
5597
5648
|
"aria-label": expanded ? "Collapse" : "Expand",
|
|
5598
5649
|
sx: { p: "5px" },
|
|
5599
|
-
children: expanded ? /* @__PURE__ */ (0,
|
|
5650
|
+
children: expanded ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_ExpandMore.default, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } }) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_ChevronRight2.default, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } })
|
|
5600
5651
|
}
|
|
5601
|
-
) : /* @__PURE__ */ (0,
|
|
5602
|
-
/* @__PURE__ */ (0,
|
|
5603
|
-
/* @__PURE__ */ (0,
|
|
5652
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_material26.Box, { sx: { width: 26, flexShrink: 0 } }),
|
|
5653
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(EntityChip, { entityType, color: entityColor }),
|
|
5654
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
5604
5655
|
import_material26.Typography,
|
|
5605
5656
|
{
|
|
5606
5657
|
variant: "subtitle1",
|
|
@@ -5610,9 +5661,9 @@ var DeploymentDashboardCard = ({
|
|
|
5610
5661
|
children: title
|
|
5611
5662
|
}
|
|
5612
5663
|
),
|
|
5613
|
-
idDisplay != null && /* @__PURE__ */ (0,
|
|
5664
|
+
idDisplay != null && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(IDBlock, { id: idDisplay, label: "ID", entityType, onCopy: onCopyId })
|
|
5614
5665
|
] }),
|
|
5615
|
-
(createdAt != null || updatedAt != null) && /* @__PURE__ */ (0,
|
|
5666
|
+
(createdAt != null || updatedAt != null) && /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
5616
5667
|
import_material26.Box,
|
|
5617
5668
|
{
|
|
5618
5669
|
sx: {
|
|
@@ -5622,27 +5673,27 @@ var DeploymentDashboardCard = ({
|
|
|
5622
5673
|
color: deploymentSurfaceTokens.textSecondary
|
|
5623
5674
|
},
|
|
5624
5675
|
children: [
|
|
5625
|
-
createdAt != null && /* @__PURE__ */ (0,
|
|
5676
|
+
createdAt != null && /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_material26.Typography, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
|
|
5626
5677
|
"Created: ",
|
|
5627
5678
|
createdAt
|
|
5628
5679
|
] }),
|
|
5629
|
-
updatedAt != null && /* @__PURE__ */ (0,
|
|
5680
|
+
updatedAt != null && /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_material26.Typography, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
|
|
5630
5681
|
"Last Updated: ",
|
|
5631
5682
|
updatedAt
|
|
5632
5683
|
] })
|
|
5633
5684
|
]
|
|
5634
5685
|
}
|
|
5635
5686
|
),
|
|
5636
|
-
capacityClamped !== void 0 && /* @__PURE__ */ (0,
|
|
5687
|
+
capacityClamped !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CapacityBar, { value: capacityClamped, indented: expandable })
|
|
5637
5688
|
] }),
|
|
5638
|
-
/* @__PURE__ */ (0,
|
|
5639
|
-
statusIndicator != null && /* @__PURE__ */ (0,
|
|
5640
|
-
/* @__PURE__ */ (0,
|
|
5689
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_material26.Box, { sx: { display: "flex", gap: 1, alignItems: "center", flexShrink: 0 }, children: [
|
|
5690
|
+
statusIndicator != null && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(StatusDot, { status: statusIndicator, "aria-hidden": true }),
|
|
5691
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CardActionList, { actions })
|
|
5641
5692
|
] })
|
|
5642
5693
|
]
|
|
5643
5694
|
}
|
|
5644
5695
|
),
|
|
5645
|
-
children && /* @__PURE__ */ (0,
|
|
5696
|
+
children && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_material26.Box, { sx: { mt: 1.5, display: "flex", flexDirection: "column", gap: 1 }, children })
|
|
5646
5697
|
]
|
|
5647
5698
|
}
|
|
5648
5699
|
);
|
|
@@ -5651,7 +5702,7 @@ var DeploymentDashboardCard = ({
|
|
|
5651
5702
|
// src/components/layout/DeploymentEntityContextMenu/DeploymentEntityContextMenu.tsx
|
|
5652
5703
|
var import_material27 = require("@mui/material");
|
|
5653
5704
|
var import_styles29 = require("@mui/material/styles");
|
|
5654
|
-
var
|
|
5705
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
5655
5706
|
var StyledMenu2 = (0, import_styles29.styled)(import_material27.Menu)({
|
|
5656
5707
|
"& .MuiPaper-root": {
|
|
5657
5708
|
borderRadius: 4,
|
|
@@ -5749,7 +5800,7 @@ var DeploymentEntityContextMenu = ({
|
|
|
5749
5800
|
enableChecked = false,
|
|
5750
5801
|
onEnableChange
|
|
5751
5802
|
}) => {
|
|
5752
|
-
return /* @__PURE__ */ (0,
|
|
5803
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
5753
5804
|
StyledMenu2,
|
|
5754
5805
|
{
|
|
5755
5806
|
anchorEl,
|
|
@@ -5761,11 +5812,11 @@ var DeploymentEntityContextMenu = ({
|
|
|
5761
5812
|
children: [
|
|
5762
5813
|
items.map((item) => {
|
|
5763
5814
|
if (item.type === "divider") {
|
|
5764
|
-
return /* @__PURE__ */ (0,
|
|
5815
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(StyledDivider, {}, item.id);
|
|
5765
5816
|
}
|
|
5766
5817
|
if (item.type === "toggle") {
|
|
5767
|
-
return /* @__PURE__ */ (0,
|
|
5768
|
-
onEnableChange && /* @__PURE__ */ (0,
|
|
5818
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(ToggleMenuItem, { disableRipple: true, children: [
|
|
5819
|
+
onEnableChange && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
5769
5820
|
EnableSwitch,
|
|
5770
5821
|
{
|
|
5771
5822
|
size: "small",
|
|
@@ -5774,11 +5825,11 @@ var DeploymentEntityContextMenu = ({
|
|
|
5774
5825
|
inputProps: { "aria-label": item.label }
|
|
5775
5826
|
}
|
|
5776
5827
|
),
|
|
5777
|
-
/* @__PURE__ */ (0,
|
|
5828
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_material27.ListItemText, { primary: item.label })
|
|
5778
5829
|
] }, item.id);
|
|
5779
5830
|
}
|
|
5780
5831
|
const Row = item.highlighted ? HighlightedMenuItem : StyledMenuItem;
|
|
5781
|
-
return /* @__PURE__ */ (0,
|
|
5832
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
5782
5833
|
Row,
|
|
5783
5834
|
{
|
|
5784
5835
|
onClick: () => {
|
|
@@ -5786,17 +5837,17 @@ var DeploymentEntityContextMenu = ({
|
|
|
5786
5837
|
onClose();
|
|
5787
5838
|
},
|
|
5788
5839
|
children: [
|
|
5789
|
-
item.icon && /* @__PURE__ */ (0,
|
|
5790
|
-
/* @__PURE__ */ (0,
|
|
5840
|
+
item.icon && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_material27.ListItemIcon, { children: item.icon }),
|
|
5841
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_material27.ListItemText, { primary: item.label })
|
|
5791
5842
|
]
|
|
5792
5843
|
},
|
|
5793
5844
|
item.id
|
|
5794
5845
|
);
|
|
5795
5846
|
}),
|
|
5796
|
-
enableToggle && /* @__PURE__ */ (0,
|
|
5797
|
-
/* @__PURE__ */ (0,
|
|
5798
|
-
/* @__PURE__ */ (0,
|
|
5799
|
-
onEnableChange && /* @__PURE__ */ (0,
|
|
5847
|
+
enableToggle && /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_jsx_runtime46.Fragment, { children: [
|
|
5848
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(StyledDivider, {}),
|
|
5849
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(ToggleMenuItem, { disableRipple: true, children: [
|
|
5850
|
+
onEnableChange && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
5800
5851
|
EnableSwitch,
|
|
5801
5852
|
{
|
|
5802
5853
|
size: "small",
|
|
@@ -5805,7 +5856,7 @@ var DeploymentEntityContextMenu = ({
|
|
|
5805
5856
|
inputProps: { "aria-label": "Enable" }
|
|
5806
5857
|
}
|
|
5807
5858
|
),
|
|
5808
|
-
/* @__PURE__ */ (0,
|
|
5859
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_material27.ListItemText, { primary: "Enable" })
|
|
5809
5860
|
] })
|
|
5810
5861
|
] })
|
|
5811
5862
|
]
|
|
@@ -5820,48 +5871,48 @@ var import_ContentCopy2 = __toESM(require("@mui/icons-material/ContentCopy"));
|
|
|
5820
5871
|
var import_SmartToyOutlined2 = __toESM(require("@mui/icons-material/SmartToyOutlined"));
|
|
5821
5872
|
var import_Description = __toESM(require("@mui/icons-material/Description"));
|
|
5822
5873
|
var import_Settings2 = __toESM(require("@mui/icons-material/Settings"));
|
|
5823
|
-
var
|
|
5874
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
5824
5875
|
var contextMenuItems = {
|
|
5825
5876
|
/** Add Engagement action (Add Circle icon) */
|
|
5826
5877
|
addEngagement: (onClick) => ({
|
|
5827
5878
|
id: "add-engagement",
|
|
5828
5879
|
label: "Add Engagement",
|
|
5829
|
-
icon: /* @__PURE__ */ (0,
|
|
5880
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_AddCircleOutline.default, {}),
|
|
5830
5881
|
onClick
|
|
5831
5882
|
}),
|
|
5832
5883
|
/** Add Agent action (Add Circle icon) */
|
|
5833
5884
|
addAgent: (onClick) => ({
|
|
5834
5885
|
id: "add-agent",
|
|
5835
5886
|
label: "Add Agent",
|
|
5836
|
-
icon: /* @__PURE__ */ (0,
|
|
5887
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_AddCircleOutline.default, {}),
|
|
5837
5888
|
onClick
|
|
5838
5889
|
}),
|
|
5839
5890
|
/** Add Stream action (Add Circle icon) */
|
|
5840
5891
|
addStream: (onClick) => ({
|
|
5841
5892
|
id: "add-stream",
|
|
5842
5893
|
label: "Add Stream",
|
|
5843
|
-
icon: /* @__PURE__ */ (0,
|
|
5894
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_AddCircleOutline.default, {}),
|
|
5844
5895
|
onClick
|
|
5845
5896
|
}),
|
|
5846
5897
|
/** Edit action (Pen / Edit icon) */
|
|
5847
5898
|
edit: (onClick) => ({
|
|
5848
5899
|
id: "edit",
|
|
5849
5900
|
label: "Edit",
|
|
5850
|
-
icon: /* @__PURE__ */ (0,
|
|
5901
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_Edit.default, {}),
|
|
5851
5902
|
onClick
|
|
5852
5903
|
}),
|
|
5853
5904
|
/** Copy ID action (Copy icon) */
|
|
5854
5905
|
copyId: (onClick) => ({
|
|
5855
5906
|
id: "copy-id",
|
|
5856
5907
|
label: "Copy ID",
|
|
5857
|
-
icon: /* @__PURE__ */ (0,
|
|
5908
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_ContentCopy2.default, {}),
|
|
5858
5909
|
onClick
|
|
5859
5910
|
}),
|
|
5860
5911
|
/** Agent Flow Visualization — highlighted action (SmartToy icon) */
|
|
5861
5912
|
agentFlowVisualization: (onClick) => ({
|
|
5862
5913
|
id: "agent-flow",
|
|
5863
5914
|
label: "Agent Flow Visualization",
|
|
5864
|
-
icon: /* @__PURE__ */ (0,
|
|
5915
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_SmartToyOutlined2.default, {}),
|
|
5865
5916
|
onClick,
|
|
5866
5917
|
highlighted: true
|
|
5867
5918
|
}),
|
|
@@ -5869,7 +5920,7 @@ var contextMenuItems = {
|
|
|
5869
5920
|
viewLogs: (onClick) => ({
|
|
5870
5921
|
id: "view-logs",
|
|
5871
5922
|
label: "View Logs",
|
|
5872
|
-
icon: /* @__PURE__ */ (0,
|
|
5923
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_Description.default, {}),
|
|
5873
5924
|
onClick
|
|
5874
5925
|
}),
|
|
5875
5926
|
/** Horizontal divider between sections */
|
|
@@ -5888,7 +5939,7 @@ var contextMenuItems = {
|
|
|
5888
5939
|
settings: (onClick) => ({
|
|
5889
5940
|
id: "settings",
|
|
5890
5941
|
label: "Settings",
|
|
5891
|
-
icon: /* @__PURE__ */ (0,
|
|
5942
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_Settings2.default, {}),
|
|
5892
5943
|
onClick
|
|
5893
5944
|
})
|
|
5894
5945
|
};
|
|
@@ -5896,7 +5947,7 @@ var contextMenuItems = {
|
|
|
5896
5947
|
// src/components/layout/DeploymentDashboardTree/DeploymentDashboardTree.tsx
|
|
5897
5948
|
var import_material28 = require("@mui/material");
|
|
5898
5949
|
var import_styles30 = require("@mui/material/styles");
|
|
5899
|
-
var
|
|
5950
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
5900
5951
|
var TREE_SP = {
|
|
5901
5952
|
/** Vertical gap between sibling rows (Figma S / sp-8) */
|
|
5902
5953
|
rowGap: 8,
|
|
@@ -5933,9 +5984,9 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
5933
5984
|
const entityColor = deploymentEntityColors[node.entityType] ?? deploymentEntityColors.workspace;
|
|
5934
5985
|
const railOpacity = RAIL_OPACITY[node.entityType] ?? 0.5;
|
|
5935
5986
|
const railColor = (0, import_styles30.alpha)(entityColor, railOpacity);
|
|
5936
|
-
const renderedChildren = hasChildren && expanded ? /* @__PURE__ */ (0,
|
|
5937
|
-
/* @__PURE__ */ (0,
|
|
5938
|
-
/* @__PURE__ */ (0,
|
|
5987
|
+
const renderedChildren = hasChildren && expanded ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_material28.Box, { sx: { display: "flex", gap: `${TREE_SP.railGap}px` }, children: [
|
|
5988
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Rail, { railColor, "aria-hidden": true, "data-rail": true }),
|
|
5989
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
5939
5990
|
import_material28.Box,
|
|
5940
5991
|
{
|
|
5941
5992
|
role: "group",
|
|
@@ -5946,7 +5997,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
5946
5997
|
flexDirection: "column",
|
|
5947
5998
|
gap: `${TREE_SP.rowGap}px`
|
|
5948
5999
|
},
|
|
5949
|
-
children: node.children.map((child) => /* @__PURE__ */ (0,
|
|
6000
|
+
children: node.children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
5950
6001
|
TreeRow,
|
|
5951
6002
|
{
|
|
5952
6003
|
node: child,
|
|
@@ -5960,7 +6011,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
5960
6011
|
}
|
|
5961
6012
|
)
|
|
5962
6013
|
] }) : null;
|
|
5963
|
-
const cardContent = renderCard?.(node) ?? /* @__PURE__ */ (0,
|
|
6014
|
+
const cardContent = renderCard?.(node) ?? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
5964
6015
|
DeploymentDashboardCard,
|
|
5965
6016
|
{
|
|
5966
6017
|
entityType: node.entityType,
|
|
@@ -5978,7 +6029,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
5978
6029
|
children: renderedChildren
|
|
5979
6030
|
}
|
|
5980
6031
|
);
|
|
5981
|
-
return /* @__PURE__ */ (0,
|
|
6032
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_material28.Box, { role: "treeitem", children: cardContent });
|
|
5982
6033
|
};
|
|
5983
6034
|
var DeploymentDashboardTree = ({
|
|
5984
6035
|
nodes,
|
|
@@ -5986,7 +6037,7 @@ var DeploymentDashboardTree = ({
|
|
|
5986
6037
|
onCopyId,
|
|
5987
6038
|
renderCard
|
|
5988
6039
|
}) => {
|
|
5989
|
-
return /* @__PURE__ */ (0,
|
|
6040
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
5990
6041
|
import_material28.Box,
|
|
5991
6042
|
{
|
|
5992
6043
|
role: "tree",
|
|
@@ -5996,7 +6047,7 @@ var DeploymentDashboardTree = ({
|
|
|
5996
6047
|
gap: `${TREE_SP.rowGap}px`,
|
|
5997
6048
|
p: `${TREE_SP.rowGap}px`
|
|
5998
6049
|
},
|
|
5999
|
-
children: nodes.map((node) => /* @__PURE__ */ (0,
|
|
6050
|
+
children: nodes.map((node) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
6000
6051
|
TreeRow,
|
|
6001
6052
|
{
|
|
6002
6053
|
node,
|
|
@@ -6014,7 +6065,7 @@ var DeploymentDashboardTree = ({
|
|
|
6014
6065
|
// src/components/layout/DeploymentDashboardPanel/DeploymentDashboardPanel.tsx
|
|
6015
6066
|
var import_material29 = require("@mui/material");
|
|
6016
6067
|
var import_styles31 = require("@mui/material/styles");
|
|
6017
|
-
var
|
|
6068
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
6018
6069
|
var PANEL_RADIUS = 12;
|
|
6019
6070
|
var PANEL_SHADOW = "0px 1px 3px rgba(0, 0, 0, 0.08)";
|
|
6020
6071
|
var StyledPanel = (0, import_styles31.styled)(import_material29.Box)({
|
|
@@ -6029,13 +6080,13 @@ var DeploymentDashboardPanel = ({
|
|
|
6029
6080
|
className,
|
|
6030
6081
|
padding = 2
|
|
6031
6082
|
}) => {
|
|
6032
|
-
return /* @__PURE__ */ (0,
|
|
6083
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(StyledPanel, { className, sx: { p: padding }, children });
|
|
6033
6084
|
};
|
|
6034
6085
|
|
|
6035
6086
|
// src/components/layout/Avatar.tsx
|
|
6036
6087
|
var import_Avatar = __toESM(require("@mui/material/Avatar"));
|
|
6037
6088
|
var import_styles32 = require("@mui/material/styles");
|
|
6038
|
-
var
|
|
6089
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
6039
6090
|
var sizeMap = {
|
|
6040
6091
|
small: 32,
|
|
6041
6092
|
medium: 40,
|
|
@@ -6052,13 +6103,13 @@ var StyledAvatar = (0, import_styles32.styled)(import_Avatar.default, {
|
|
|
6052
6103
|
}));
|
|
6053
6104
|
var Avatar5 = ({ size: size3 = "medium", ...props }) => {
|
|
6054
6105
|
const avatarSize = typeof size3 === "number" ? size3 : sizeMap[size3];
|
|
6055
|
-
return /* @__PURE__ */ (0,
|
|
6106
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(StyledAvatar, { avatarSize, ...props });
|
|
6056
6107
|
};
|
|
6057
6108
|
|
|
6058
6109
|
// src/components/layout/Table.tsx
|
|
6059
6110
|
var import_material30 = require("@mui/material");
|
|
6060
6111
|
var import_styles33 = require("@mui/material/styles");
|
|
6061
|
-
var
|
|
6112
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
6062
6113
|
var StyledTableContainer = (0, import_styles33.styled)(import_material30.TableContainer)({
|
|
6063
6114
|
borderRadius: 8,
|
|
6064
6115
|
border: `1px solid ${colors.grey[200]}`
|
|
@@ -6071,7 +6122,7 @@ var StyledTableHead = (0, import_styles33.styled)(import_material30.TableHead)({
|
|
|
6071
6122
|
}
|
|
6072
6123
|
});
|
|
6073
6124
|
var Table = ({ stickyHeader = false, children, ...props }) => {
|
|
6074
|
-
return /* @__PURE__ */ (0,
|
|
6125
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(StyledTableContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_material30.Table, { stickyHeader, ...props, children }) });
|
|
6075
6126
|
};
|
|
6076
6127
|
var TableHeader = ({
|
|
6077
6128
|
columns,
|
|
@@ -6079,7 +6130,7 @@ var TableHeader = ({
|
|
|
6079
6130
|
order = "asc",
|
|
6080
6131
|
onSort
|
|
6081
6132
|
}) => {
|
|
6082
|
-
return /* @__PURE__ */ (0,
|
|
6133
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(StyledTableHead, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_material30.TableRow, { children: columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_material30.TableCell, { align: column.align || "left", children: column.sortable && onSort ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
6083
6134
|
import_material30.TableSortLabel,
|
|
6084
6135
|
{
|
|
6085
6136
|
active: orderBy === column.id,
|
|
@@ -6096,9 +6147,9 @@ var import_material31 = require("@mui/material");
|
|
|
6096
6147
|
// src/components/layout/Breadcrumbs.tsx
|
|
6097
6148
|
var import_Breadcrumbs = __toESM(require("@mui/material/Breadcrumbs"));
|
|
6098
6149
|
var import_Link3 = __toESM(require("@mui/material/Link"));
|
|
6099
|
-
var
|
|
6150
|
+
var import_Typography4 = __toESM(require("@mui/material/Typography"));
|
|
6100
6151
|
var import_styles34 = require("@mui/material/styles");
|
|
6101
|
-
var
|
|
6152
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
6102
6153
|
var StyledBreadcrumbs = (0, import_styles34.styled)(import_Breadcrumbs.default)({
|
|
6103
6154
|
"& .MuiBreadcrumbs-ol": {
|
|
6104
6155
|
flexWrap: "nowrap"
|
|
@@ -6115,12 +6166,12 @@ var StyledLink2 = (0, import_styles34.styled)(import_Link3.default)({
|
|
|
6115
6166
|
}
|
|
6116
6167
|
});
|
|
6117
6168
|
var Breadcrumbs = ({ items, ...props }) => {
|
|
6118
|
-
return /* @__PURE__ */ (0,
|
|
6169
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(StyledBreadcrumbs, { ...props, children: items.map((item, index) => {
|
|
6119
6170
|
const isLast = index === items.length - 1;
|
|
6120
6171
|
if (isLast || !item.href && !item.onClick) {
|
|
6121
|
-
return /* @__PURE__ */ (0,
|
|
6172
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_Typography4.default, { color: "text.primary", children: item.label }, index);
|
|
6122
6173
|
}
|
|
6123
|
-
return /* @__PURE__ */ (0,
|
|
6174
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6124
6175
|
StyledLink2,
|
|
6125
6176
|
{
|
|
6126
6177
|
href: item.href,
|
|
@@ -6141,7 +6192,7 @@ var Breadcrumbs = ({ items, ...props }) => {
|
|
|
6141
6192
|
var import_material32 = require("@mui/material");
|
|
6142
6193
|
var import_ExpandMore2 = __toESM(require("@mui/icons-material/ExpandMore"));
|
|
6143
6194
|
var import_styles35 = require("@mui/material/styles");
|
|
6144
|
-
var
|
|
6195
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
6145
6196
|
var StyledAccordion = (0, import_styles35.styled)(import_material32.Accordion)({
|
|
6146
6197
|
borderRadius: 8,
|
|
6147
6198
|
boxShadow: "none",
|
|
@@ -6172,16 +6223,16 @@ var Accordion = ({
|
|
|
6172
6223
|
defaultExpanded = false,
|
|
6173
6224
|
...props
|
|
6174
6225
|
}) => {
|
|
6175
|
-
return /* @__PURE__ */ (0,
|
|
6176
|
-
/* @__PURE__ */ (0,
|
|
6177
|
-
/* @__PURE__ */ (0,
|
|
6226
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(StyledAccordion, { defaultExpanded, ...props, children: [
|
|
6227
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(StyledAccordionSummary, { expandIcon: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_ExpandMore2.default, {}), children: title }),
|
|
6228
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(StyledAccordionDetails, { children })
|
|
6178
6229
|
] });
|
|
6179
6230
|
};
|
|
6180
6231
|
|
|
6181
6232
|
// src/components/layout/Paper.tsx
|
|
6182
6233
|
var import_Paper = __toESM(require("@mui/material/Paper"));
|
|
6183
6234
|
var import_styles36 = require("@mui/material/styles");
|
|
6184
|
-
var
|
|
6235
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
6185
6236
|
var StyledPaper = (0, import_styles36.styled)(import_Paper.default)({
|
|
6186
6237
|
borderRadius: 8,
|
|
6187
6238
|
"&.MuiPaper-elevation": {
|
|
@@ -6193,18 +6244,18 @@ var StyledPaper = (0, import_styles36.styled)(import_Paper.default)({
|
|
|
6193
6244
|
}
|
|
6194
6245
|
});
|
|
6195
6246
|
var Paper2 = ({ variant = "elevation", ...props }) => {
|
|
6196
|
-
return /* @__PURE__ */ (0,
|
|
6247
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(StyledPaper, { variant, elevation: variant === "elevation" ? 1 : 0, ...props });
|
|
6197
6248
|
};
|
|
6198
6249
|
|
|
6199
6250
|
// src/components/layout/Divider.tsx
|
|
6200
6251
|
var import_Divider2 = __toESM(require("@mui/material/Divider"));
|
|
6201
6252
|
var import_styles37 = require("@mui/material/styles");
|
|
6202
|
-
var
|
|
6253
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
6203
6254
|
var StyledDivider2 = (0, import_styles37.styled)(import_Divider2.default)({
|
|
6204
6255
|
borderColor: colors.grey[200]
|
|
6205
6256
|
});
|
|
6206
6257
|
var Divider6 = ({ ...props }) => {
|
|
6207
|
-
return /* @__PURE__ */ (0,
|
|
6258
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(StyledDivider2, { ...props });
|
|
6208
6259
|
};
|
|
6209
6260
|
|
|
6210
6261
|
// src/components/layout/Stack.tsx
|
|
@@ -6222,7 +6273,7 @@ var import_material36 = require("@mui/material");
|
|
|
6222
6273
|
// src/components/layout/AppBar.tsx
|
|
6223
6274
|
var import_material37 = require("@mui/material");
|
|
6224
6275
|
var import_styles38 = require("@mui/material/styles");
|
|
6225
|
-
var
|
|
6276
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
6226
6277
|
var StyledAppBar = (0, import_styles38.styled)(import_material37.AppBar, {
|
|
6227
6278
|
shouldForwardProp: (prop) => prop !== "appBarHeight"
|
|
6228
6279
|
})(({ appBarHeight = 64 }) => ({
|
|
@@ -6239,14 +6290,14 @@ var StyledToolbar = (0, import_styles38.styled)(import_material37.Toolbar)(({ th
|
|
|
6239
6290
|
gap: theme2.spacing(2)
|
|
6240
6291
|
}));
|
|
6241
6292
|
var AppBar = ({ height = 64, children, ...props }) => {
|
|
6242
|
-
return /* @__PURE__ */ (0,
|
|
6293
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(StyledAppBar, { position: "fixed", appBarHeight: height, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(StyledToolbar, { children }) });
|
|
6243
6294
|
};
|
|
6244
6295
|
|
|
6245
6296
|
// src/components/layout/Collapse.tsx
|
|
6246
6297
|
var import_material38 = require("@mui/material");
|
|
6247
|
-
var
|
|
6298
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
6248
6299
|
var Collapse = (props) => {
|
|
6249
|
-
return /* @__PURE__ */ (0,
|
|
6300
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_material38.Collapse, { ...props });
|
|
6250
6301
|
};
|
|
6251
6302
|
|
|
6252
6303
|
// src/components/feedback/Alert.tsx
|
|
@@ -6255,7 +6306,7 @@ var import_Alert2 = __toESM(require("@mui/material/Alert"));
|
|
|
6255
6306
|
var import_material39 = require("@mui/material");
|
|
6256
6307
|
var import_Snackbar2 = __toESM(require("@mui/material/Snackbar"));
|
|
6257
6308
|
var import_styles39 = require("@mui/material/styles");
|
|
6258
|
-
var
|
|
6309
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
6259
6310
|
var StyledAlert = (0, import_styles39.styled)(import_Alert2.default)({
|
|
6260
6311
|
borderRadius: 8,
|
|
6261
6312
|
"&.MuiAlert-filled": {
|
|
@@ -6268,8 +6319,8 @@ var Alert2 = ({
|
|
|
6268
6319
|
children,
|
|
6269
6320
|
...props
|
|
6270
6321
|
}) => {
|
|
6271
|
-
return /* @__PURE__ */ (0,
|
|
6272
|
-
title && /* @__PURE__ */ (0,
|
|
6322
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(StyledAlert, { severity, ...props, children: [
|
|
6323
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_material39.AlertTitle, { children: title }),
|
|
6273
6324
|
children
|
|
6274
6325
|
] });
|
|
6275
6326
|
};
|
|
@@ -6291,7 +6342,7 @@ var Snackbar2 = ({
|
|
|
6291
6342
|
}
|
|
6292
6343
|
onClose?.();
|
|
6293
6344
|
};
|
|
6294
|
-
const content = children || (message ? /* @__PURE__ */ (0,
|
|
6345
|
+
const content = children || (message ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
6295
6346
|
Alert2,
|
|
6296
6347
|
{
|
|
6297
6348
|
onClose: onClose ? handleClose : void 0,
|
|
@@ -6317,7 +6368,7 @@ var Snackbar2 = ({
|
|
|
6317
6368
|
}
|
|
6318
6369
|
);
|
|
6319
6370
|
NoTransition.displayName = "NoTransition";
|
|
6320
|
-
return /* @__PURE__ */ (0,
|
|
6371
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
6321
6372
|
StyledSnackbar,
|
|
6322
6373
|
{
|
|
6323
6374
|
anchorOrigin,
|
|
@@ -6338,14 +6389,14 @@ var Snackbar2 = ({
|
|
|
6338
6389
|
|
|
6339
6390
|
// src/components/feedback/EmptyState.tsx
|
|
6340
6391
|
var import_material40 = require("@mui/material");
|
|
6341
|
-
var
|
|
6392
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
6342
6393
|
var EmptyState = ({
|
|
6343
6394
|
title = "No items found",
|
|
6344
6395
|
description,
|
|
6345
6396
|
icon,
|
|
6346
6397
|
action
|
|
6347
6398
|
}) => {
|
|
6348
|
-
return /* @__PURE__ */ (0,
|
|
6399
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
|
|
6349
6400
|
import_material40.Box,
|
|
6350
6401
|
{
|
|
6351
6402
|
sx: {
|
|
@@ -6358,7 +6409,7 @@ var EmptyState = ({
|
|
|
6358
6409
|
minHeight: 200
|
|
6359
6410
|
},
|
|
6360
6411
|
children: [
|
|
6361
|
-
icon && /* @__PURE__ */ (0,
|
|
6412
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
6362
6413
|
import_material40.Box,
|
|
6363
6414
|
{
|
|
6364
6415
|
sx: {
|
|
@@ -6369,9 +6420,9 @@ var EmptyState = ({
|
|
|
6369
6420
|
children: icon
|
|
6370
6421
|
}
|
|
6371
6422
|
),
|
|
6372
|
-
/* @__PURE__ */ (0,
|
|
6373
|
-
description && /* @__PURE__ */ (0,
|
|
6374
|
-
action && /* @__PURE__ */ (0,
|
|
6423
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_material40.Typography, { variant: "h6", sx: { marginBottom: 1, color: colors.text.primary }, children: title }),
|
|
6424
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_material40.Typography, { variant: "body2", sx: { color: colors.text.secondary, marginBottom: 3 }, children: description }),
|
|
6425
|
+
action && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_material40.Box, { children: action })
|
|
6375
6426
|
]
|
|
6376
6427
|
}
|
|
6377
6428
|
);
|
|
@@ -6379,13 +6430,13 @@ var EmptyState = ({
|
|
|
6379
6430
|
|
|
6380
6431
|
// src/components/feedback/Loading.tsx
|
|
6381
6432
|
var import_material41 = require("@mui/material");
|
|
6382
|
-
var
|
|
6433
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
6383
6434
|
var Loading = ({
|
|
6384
6435
|
message = "Loading...",
|
|
6385
6436
|
size: size3 = 40,
|
|
6386
6437
|
fullScreen = false
|
|
6387
6438
|
}) => {
|
|
6388
|
-
const content = /* @__PURE__ */ (0,
|
|
6439
|
+
const content = /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
6389
6440
|
import_material41.Box,
|
|
6390
6441
|
{
|
|
6391
6442
|
sx: {
|
|
@@ -6408,8 +6459,8 @@ var Loading = ({
|
|
|
6408
6459
|
}
|
|
6409
6460
|
},
|
|
6410
6461
|
children: [
|
|
6411
|
-
/* @__PURE__ */ (0,
|
|
6412
|
-
message && /* @__PURE__ */ (0,
|
|
6462
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_material41.CircularProgress, { size: size3, thickness: 4 }),
|
|
6463
|
+
message && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_material41.Typography, { variant: "body2", color: "text.secondary", children: message })
|
|
6413
6464
|
]
|
|
6414
6465
|
}
|
|
6415
6466
|
);
|
|
@@ -6418,13 +6469,13 @@ var Loading = ({
|
|
|
6418
6469
|
|
|
6419
6470
|
// src/components/feedback/AppLoading.tsx
|
|
6420
6471
|
var import_material42 = require("@mui/material");
|
|
6421
|
-
var
|
|
6472
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
6422
6473
|
var AppLoading = ({
|
|
6423
6474
|
message = "Loading...",
|
|
6424
6475
|
logo = "/icons/logo.png",
|
|
6425
6476
|
sx = {}
|
|
6426
6477
|
}) => {
|
|
6427
|
-
return /* @__PURE__ */ (0,
|
|
6478
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
6428
6479
|
import_material42.Box,
|
|
6429
6480
|
{
|
|
6430
6481
|
sx: {
|
|
@@ -6443,7 +6494,7 @@ var AppLoading = ({
|
|
|
6443
6494
|
...sx
|
|
6444
6495
|
},
|
|
6445
6496
|
children: [
|
|
6446
|
-
logo && /* @__PURE__ */ (0,
|
|
6497
|
+
logo && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
6447
6498
|
import_material42.Box,
|
|
6448
6499
|
{
|
|
6449
6500
|
component: "img",
|
|
@@ -6456,8 +6507,8 @@ var AppLoading = ({
|
|
|
6456
6507
|
}
|
|
6457
6508
|
}
|
|
6458
6509
|
),
|
|
6459
|
-
/* @__PURE__ */ (0,
|
|
6460
|
-
/* @__PURE__ */ (0,
|
|
6510
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_material42.CircularProgress, { size: 40, thickness: 4, sx: { mb: 2 } }),
|
|
6511
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_material42.Typography, { variant: "body1", color: "text.secondary", children: message })
|
|
6461
6512
|
]
|
|
6462
6513
|
}
|
|
6463
6514
|
);
|
|
@@ -6465,22 +6516,22 @@ var AppLoading = ({
|
|
|
6465
6516
|
|
|
6466
6517
|
// src/components/feedback/CircularProgress.tsx
|
|
6467
6518
|
var import_material43 = require("@mui/material");
|
|
6468
|
-
var
|
|
6519
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
6469
6520
|
var CircularProgress6 = ({
|
|
6470
6521
|
size: size3 = 40,
|
|
6471
6522
|
thickness = 4,
|
|
6472
6523
|
...props
|
|
6473
6524
|
}) => {
|
|
6474
|
-
return /* @__PURE__ */ (0,
|
|
6525
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_material43.CircularProgress, { size: size3, thickness, ...props });
|
|
6475
6526
|
};
|
|
6476
6527
|
|
|
6477
6528
|
// src/components/icons/ActivityAppIcon.tsx
|
|
6478
6529
|
var import_react16 = require("react");
|
|
6479
6530
|
var import_material44 = require("@mui/material");
|
|
6480
|
-
var
|
|
6481
|
-
var ActivityAppIcon = (0, import_react16.memo)((props) => /* @__PURE__ */ (0,
|
|
6482
|
-
/* @__PURE__ */ (0,
|
|
6483
|
-
/* @__PURE__ */ (0,
|
|
6531
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
6532
|
+
var ActivityAppIcon = (0, import_react16.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_material44.SvgIcon, { ...props, viewBox: "0 0 36 36", children: [
|
|
6533
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("rect", { fill: "none", stroke: "currentColor", width: 34, height: 34, x: 1, y: 1, strokeWidth: 1.5, rx: 6.8 }),
|
|
6534
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
6484
6535
|
"rect",
|
|
6485
6536
|
{
|
|
6486
6537
|
fill: "none",
|
|
@@ -6493,7 +6544,7 @@ var ActivityAppIcon = (0, import_react16.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
6493
6544
|
rx: 1.7
|
|
6494
6545
|
}
|
|
6495
6546
|
),
|
|
6496
|
-
/* @__PURE__ */ (0,
|
|
6547
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
6497
6548
|
"rect",
|
|
6498
6549
|
{
|
|
6499
6550
|
fill: "none",
|
|
@@ -6506,7 +6557,7 @@ var ActivityAppIcon = (0, import_react16.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
6506
6557
|
rx: 1.7
|
|
6507
6558
|
}
|
|
6508
6559
|
),
|
|
6509
|
-
/* @__PURE__ */ (0,
|
|
6560
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
6510
6561
|
"rect",
|
|
6511
6562
|
{
|
|
6512
6563
|
fill: "none",
|
|
@@ -6523,9 +6574,9 @@ var ActivityAppIcon = (0, import_react16.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
6523
6574
|
|
|
6524
6575
|
// src/components/icons/ArrowLeft.tsx
|
|
6525
6576
|
var import_material45 = require("@mui/material");
|
|
6526
|
-
var
|
|
6577
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
6527
6578
|
var LeftArrowIcon = (props) => {
|
|
6528
|
-
return /* @__PURE__ */ (0,
|
|
6579
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_material45.SvgIcon, { ...props, width: "24", height: "24", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("g", { id: " Arrow Left", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
6529
6580
|
"path",
|
|
6530
6581
|
{
|
|
6531
6582
|
id: "Vector (Stroke)",
|
|
@@ -6539,9 +6590,9 @@ var LeftArrowIcon = (props) => {
|
|
|
6539
6590
|
|
|
6540
6591
|
// src/components/icons/ArrowRight.tsx
|
|
6541
6592
|
var import_material46 = require("@mui/material");
|
|
6542
|
-
var
|
|
6593
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
6543
6594
|
var RightArrowIcon = (props) => {
|
|
6544
|
-
return /* @__PURE__ */ (0,
|
|
6595
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_material46.SvgIcon, { ...props, width: "25", height: "24", viewBox: "0 0 25 24", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
6545
6596
|
"path",
|
|
6546
6597
|
{
|
|
6547
6598
|
fillRule: "evenodd",
|
|
@@ -6554,10 +6605,10 @@ var RightArrowIcon = (props) => {
|
|
|
6554
6605
|
|
|
6555
6606
|
// src/components/icons/AvatarIcon.tsx
|
|
6556
6607
|
var import_material47 = require("@mui/material");
|
|
6557
|
-
var
|
|
6608
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
6558
6609
|
var AvatarIcon = (props) => {
|
|
6559
|
-
return /* @__PURE__ */ (0,
|
|
6560
|
-
/* @__PURE__ */ (0,
|
|
6610
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_material47.SvgIcon, { ...props, viewBox: "0 0 16 16", children: [
|
|
6611
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6561
6612
|
"path",
|
|
6562
6613
|
{
|
|
6563
6614
|
fillRule: "evenodd",
|
|
@@ -6566,7 +6617,7 @@ var AvatarIcon = (props) => {
|
|
|
6566
6617
|
fill: "#1D1B20"
|
|
6567
6618
|
}
|
|
6568
6619
|
),
|
|
6569
|
-
/* @__PURE__ */ (0,
|
|
6620
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6570
6621
|
"path",
|
|
6571
6622
|
{
|
|
6572
6623
|
fillRule: "evenodd",
|
|
@@ -6581,9 +6632,9 @@ var AvatarIcon = (props) => {
|
|
|
6581
6632
|
// src/components/icons/BarTrackingIcon.tsx
|
|
6582
6633
|
var import_react17 = require("react");
|
|
6583
6634
|
var import_material48 = require("@mui/material");
|
|
6584
|
-
var
|
|
6585
|
-
var BarTrackingIcon = (0, import_react17.memo)((props) => /* @__PURE__ */ (0,
|
|
6586
|
-
/* @__PURE__ */ (0,
|
|
6635
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
6636
|
+
var BarTrackingIcon = (0, import_react17.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_material48.SvgIcon, { ...props, viewBox: "0 0 96 97", children: [
|
|
6637
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6587
6638
|
"rect",
|
|
6588
6639
|
{
|
|
6589
6640
|
x: "7.19922",
|
|
@@ -6596,7 +6647,7 @@ var BarTrackingIcon = (0, import_react17.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
6596
6647
|
fill: "none"
|
|
6597
6648
|
}
|
|
6598
6649
|
),
|
|
6599
|
-
/* @__PURE__ */ (0,
|
|
6650
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6600
6651
|
"rect",
|
|
6601
6652
|
{
|
|
6602
6653
|
x: "21.0371",
|
|
@@ -6609,7 +6660,7 @@ var BarTrackingIcon = (0, import_react17.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
6609
6660
|
strokeWidth: "2"
|
|
6610
6661
|
}
|
|
6611
6662
|
),
|
|
6612
|
-
/* @__PURE__ */ (0,
|
|
6663
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6613
6664
|
"rect",
|
|
6614
6665
|
{
|
|
6615
6666
|
x: "40.4746",
|
|
@@ -6622,7 +6673,7 @@ var BarTrackingIcon = (0, import_react17.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
6622
6673
|
strokeWidth: "2"
|
|
6623
6674
|
}
|
|
6624
6675
|
),
|
|
6625
|
-
/* @__PURE__ */ (0,
|
|
6676
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6626
6677
|
"rect",
|
|
6627
6678
|
{
|
|
6628
6679
|
x: "59.8828",
|
|
@@ -6640,8 +6691,8 @@ var BarTrackingIcon = (0, import_react17.memo)((props) => /* @__PURE__ */ (0, im
|
|
|
6640
6691
|
// src/components/icons/ClockIcon.tsx
|
|
6641
6692
|
var import_react18 = require("react");
|
|
6642
6693
|
var import_material49 = require("@mui/material");
|
|
6643
|
-
var
|
|
6644
|
-
var ClockIcon = (0, import_react18.memo)((props) => /* @__PURE__ */ (0,
|
|
6694
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
6695
|
+
var ClockIcon = (0, import_react18.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_material49.SvgIcon, { ...props, viewBox: "0 0 22 22", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
6645
6696
|
"path",
|
|
6646
6697
|
{
|
|
6647
6698
|
fill: "currentColor",
|
|
@@ -6654,9 +6705,9 @@ var ClockIcon = (0, import_react18.memo)((props) => /* @__PURE__ */ (0, import_j
|
|
|
6654
6705
|
// src/components/icons/CloudFlashIcon.tsx
|
|
6655
6706
|
var import_react19 = require("react");
|
|
6656
6707
|
var import_material50 = require("@mui/material");
|
|
6657
|
-
var
|
|
6658
|
-
var CloudFlashIcon = (0, import_react19.memo)((props) => /* @__PURE__ */ (0,
|
|
6659
|
-
/* @__PURE__ */ (0,
|
|
6708
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
6709
|
+
var CloudFlashIcon = (0, import_react19.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_material50.SvgIcon, { ...props, fill: "none", viewBox: "0 0 96 97", children: [
|
|
6710
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6660
6711
|
"path",
|
|
6661
6712
|
{
|
|
6662
6713
|
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",
|
|
@@ -6665,7 +6716,7 @@ var CloudFlashIcon = (0, import_react19.memo)((props) => /* @__PURE__ */ (0, imp
|
|
|
6665
6716
|
strokeWidth: "2"
|
|
6666
6717
|
}
|
|
6667
6718
|
),
|
|
6668
|
-
/* @__PURE__ */ (0,
|
|
6719
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6669
6720
|
"path",
|
|
6670
6721
|
{
|
|
6671
6722
|
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",
|
|
@@ -6679,9 +6730,9 @@ var CloudFlashIcon = (0, import_react19.memo)((props) => /* @__PURE__ */ (0, imp
|
|
|
6679
6730
|
// src/components/icons/DecentralizedServerIcon.tsx
|
|
6680
6731
|
var import_react20 = require("react");
|
|
6681
6732
|
var import_material51 = require("@mui/material");
|
|
6682
|
-
var
|
|
6683
|
-
var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ */ (0,
|
|
6684
|
-
/* @__PURE__ */ (0,
|
|
6733
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
6734
|
+
var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_material51.SvgIcon, { ...props, viewBox: "0 0 96 97", children: [
|
|
6735
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
6685
6736
|
"path",
|
|
6686
6737
|
{
|
|
6687
6738
|
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",
|
|
@@ -6692,7 +6743,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
|
|
|
6692
6743
|
strokeLinejoin: "round"
|
|
6693
6744
|
}
|
|
6694
6745
|
),
|
|
6695
|
-
/* @__PURE__ */ (0,
|
|
6746
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
6696
6747
|
"path",
|
|
6697
6748
|
{
|
|
6698
6749
|
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",
|
|
@@ -6703,7 +6754,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
|
|
|
6703
6754
|
strokeLinejoin: "round"
|
|
6704
6755
|
}
|
|
6705
6756
|
),
|
|
6706
|
-
/* @__PURE__ */ (0,
|
|
6757
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
6707
6758
|
"path",
|
|
6708
6759
|
{
|
|
6709
6760
|
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",
|
|
@@ -6714,7 +6765,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
|
|
|
6714
6765
|
strokeLinejoin: "round"
|
|
6715
6766
|
}
|
|
6716
6767
|
),
|
|
6717
|
-
/* @__PURE__ */ (0,
|
|
6768
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
6718
6769
|
"path",
|
|
6719
6770
|
{
|
|
6720
6771
|
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",
|
|
@@ -6725,7 +6776,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
|
|
|
6725
6776
|
strokeLinejoin: "round"
|
|
6726
6777
|
}
|
|
6727
6778
|
),
|
|
6728
|
-
/* @__PURE__ */ (0,
|
|
6779
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
6729
6780
|
"path",
|
|
6730
6781
|
{
|
|
6731
6782
|
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",
|
|
@@ -6736,7 +6787,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
|
|
|
6736
6787
|
strokeLinejoin: "round"
|
|
6737
6788
|
}
|
|
6738
6789
|
),
|
|
6739
|
-
/* @__PURE__ */ (0,
|
|
6790
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
6740
6791
|
"path",
|
|
6741
6792
|
{
|
|
6742
6793
|
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",
|
|
@@ -6747,7 +6798,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
|
|
|
6747
6798
|
strokeLinejoin: "round"
|
|
6748
6799
|
}
|
|
6749
6800
|
),
|
|
6750
|
-
/* @__PURE__ */ (0,
|
|
6801
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
6751
6802
|
"path",
|
|
6752
6803
|
{
|
|
6753
6804
|
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",
|
|
@@ -6758,7 +6809,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
|
|
|
6758
6809
|
strokeLinejoin: "round"
|
|
6759
6810
|
}
|
|
6760
6811
|
),
|
|
6761
|
-
/* @__PURE__ */ (0,
|
|
6812
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
6762
6813
|
"path",
|
|
6763
6814
|
{
|
|
6764
6815
|
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",
|
|
@@ -6769,7 +6820,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
|
|
|
6769
6820
|
strokeLinejoin: "round"
|
|
6770
6821
|
}
|
|
6771
6822
|
),
|
|
6772
|
-
/* @__PURE__ */ (0,
|
|
6823
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
6773
6824
|
"path",
|
|
6774
6825
|
{
|
|
6775
6826
|
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",
|
|
@@ -6780,7 +6831,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
|
|
|
6780
6831
|
strokeLinejoin: "round"
|
|
6781
6832
|
}
|
|
6782
6833
|
),
|
|
6783
|
-
/* @__PURE__ */ (0,
|
|
6834
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
6784
6835
|
"rect",
|
|
6785
6836
|
{
|
|
6786
6837
|
x: "22.623",
|
|
@@ -6793,7 +6844,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
|
|
|
6793
6844
|
strokeWidth: "2"
|
|
6794
6845
|
}
|
|
6795
6846
|
),
|
|
6796
|
-
/* @__PURE__ */ (0,
|
|
6847
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
6797
6848
|
"rect",
|
|
6798
6849
|
{
|
|
6799
6850
|
x: "22.623",
|
|
@@ -6806,7 +6857,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
|
|
|
6806
6857
|
strokeWidth: "2"
|
|
6807
6858
|
}
|
|
6808
6859
|
),
|
|
6809
|
-
/* @__PURE__ */ (0,
|
|
6860
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
6810
6861
|
"rect",
|
|
6811
6862
|
{
|
|
6812
6863
|
x: "22.623",
|
|
@@ -6819,7 +6870,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
|
|
|
6819
6870
|
strokeWidth: "2"
|
|
6820
6871
|
}
|
|
6821
6872
|
),
|
|
6822
|
-
/* @__PURE__ */ (0,
|
|
6873
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
6823
6874
|
"path",
|
|
6824
6875
|
{
|
|
6825
6876
|
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",
|
|
@@ -6829,7 +6880,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
|
|
|
6829
6880
|
strokeMiterlimit: "10"
|
|
6830
6881
|
}
|
|
6831
6882
|
),
|
|
6832
|
-
/* @__PURE__ */ (0,
|
|
6883
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
6833
6884
|
"path",
|
|
6834
6885
|
{
|
|
6835
6886
|
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",
|
|
@@ -6839,7 +6890,7 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
|
|
|
6839
6890
|
strokeMiterlimit: "10"
|
|
6840
6891
|
}
|
|
6841
6892
|
),
|
|
6842
|
-
/* @__PURE__ */ (0,
|
|
6893
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
6843
6894
|
"path",
|
|
6844
6895
|
{
|
|
6845
6896
|
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",
|
|
@@ -6854,8 +6905,8 @@ var DecentralizedServerIcon = (0, import_react20.memo)((props) => /* @__PURE__ *
|
|
|
6854
6905
|
// src/components/icons/DiscordIcon.tsx
|
|
6855
6906
|
var import_react21 = require("react");
|
|
6856
6907
|
var import_material52 = require("@mui/material");
|
|
6857
|
-
var
|
|
6858
|
-
var DiscordIcon = (0, import_react21.memo)((props) => /* @__PURE__ */ (0,
|
|
6908
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
6909
|
+
var DiscordIcon = (0, import_react21.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_material52.SvgIcon, { ...props, viewBox: "0 0 15 12", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
6859
6910
|
"path",
|
|
6860
6911
|
{
|
|
6861
6912
|
fill: "currentColor",
|
|
@@ -6866,16 +6917,16 @@ var DiscordIcon = (0, import_react21.memo)((props) => /* @__PURE__ */ (0, import
|
|
|
6866
6917
|
// src/components/icons/DownloadIcon.tsx
|
|
6867
6918
|
var import_react22 = require("react");
|
|
6868
6919
|
var import_material53 = require("@mui/material");
|
|
6869
|
-
var
|
|
6870
|
-
var DownloadIcon = (0, import_react22.memo)((props) => /* @__PURE__ */ (0,
|
|
6871
|
-
/* @__PURE__ */ (0,
|
|
6920
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
6921
|
+
var DownloadIcon = (0, import_react22.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(import_material53.SvgIcon, { ...props, viewBox: "0 0 17 16", fill: "none", children: [
|
|
6922
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
6872
6923
|
"path",
|
|
6873
6924
|
{
|
|
6874
6925
|
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",
|
|
6875
6926
|
fill: "currentColor"
|
|
6876
6927
|
}
|
|
6877
6928
|
),
|
|
6878
|
-
/* @__PURE__ */ (0,
|
|
6929
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
6879
6930
|
"path",
|
|
6880
6931
|
{
|
|
6881
6932
|
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",
|
|
@@ -6887,11 +6938,11 @@ var DownloadIcon = (0, import_react22.memo)((props) => /* @__PURE__ */ (0, impor
|
|
|
6887
6938
|
// src/components/icons/FilledFolderIcon.tsx
|
|
6888
6939
|
var import_react23 = require("react");
|
|
6889
6940
|
var import_material54 = require("@mui/material");
|
|
6890
|
-
var
|
|
6891
|
-
var FilledFolderIcon = (0, import_react23.memo)((props) => /* @__PURE__ */ (0,
|
|
6892
|
-
/* @__PURE__ */ (0,
|
|
6893
|
-
/* @__PURE__ */ (0,
|
|
6894
|
-
/* @__PURE__ */ (0,
|
|
6941
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
6942
|
+
var FilledFolderIcon = (0, import_react23.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_material54.SvgIcon, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
|
|
6943
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#FCF8EC" }),
|
|
6944
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E1B43E" }),
|
|
6945
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
6895
6946
|
"path",
|
|
6896
6947
|
{
|
|
6897
6948
|
fillRule: "evenodd",
|
|
@@ -6905,11 +6956,11 @@ var FilledFolderIcon = (0, import_react23.memo)((props) => /* @__PURE__ */ (0, i
|
|
|
6905
6956
|
// src/components/icons/FolderIcon.tsx
|
|
6906
6957
|
var import_react24 = require("react");
|
|
6907
6958
|
var import_material55 = require("@mui/material");
|
|
6908
|
-
var
|
|
6909
|
-
var FolderIcon = (0, import_react24.memo)((props) => /* @__PURE__ */ (0,
|
|
6910
|
-
/* @__PURE__ */ (0,
|
|
6911
|
-
/* @__PURE__ */ (0,
|
|
6912
|
-
/* @__PURE__ */ (0,
|
|
6959
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
6960
|
+
var FolderIcon = (0, import_react24.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_material55.SvgIcon, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
|
|
6961
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#F5F7FA" }),
|
|
6962
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E6E6E6" }),
|
|
6963
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
6913
6964
|
"path",
|
|
6914
6965
|
{
|
|
6915
6966
|
fillRule: "evenodd",
|
|
@@ -6925,16 +6976,16 @@ var FolderIcon = (0, import_react24.memo)((props) => /* @__PURE__ */ (0, import_
|
|
|
6925
6976
|
// src/components/icons/GithubLogoIcon.tsx
|
|
6926
6977
|
var import_react25 = require("react");
|
|
6927
6978
|
var import_material56 = require("@mui/material");
|
|
6928
|
-
var
|
|
6929
|
-
var GithubLogoIcon = (0, import_react25.memo)((props) => /* @__PURE__ */ (0,
|
|
6930
|
-
/* @__PURE__ */ (0,
|
|
6979
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
6980
|
+
var GithubLogoIcon = (0, import_react25.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_material56.SvgIcon, { ...props, viewBox: "0 0 17 16", sx: { fill: "none" }, children: [
|
|
6981
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
6931
6982
|
"path",
|
|
6932
6983
|
{
|
|
6933
6984
|
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",
|
|
6934
6985
|
fill: "white"
|
|
6935
6986
|
}
|
|
6936
6987
|
),
|
|
6937
|
-
/* @__PURE__ */ (0,
|
|
6988
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
6938
6989
|
"path",
|
|
6939
6990
|
{
|
|
6940
6991
|
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",
|
|
@@ -6946,8 +6997,8 @@ var GithubLogoIcon = (0, import_react25.memo)((props) => /* @__PURE__ */ (0, imp
|
|
|
6946
6997
|
// src/components/icons/ShareIcon.tsx
|
|
6947
6998
|
var import_react26 = require("react");
|
|
6948
6999
|
var import_material57 = require("@mui/material");
|
|
6949
|
-
var
|
|
6950
|
-
var ShareIcon = (0, import_react26.memo)((props) => /* @__PURE__ */ (0,
|
|
7000
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
7001
|
+
var ShareIcon = (0, import_react26.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_material57.SvgIcon, { ...props, viewBox: "0 0 17 16", fill: "none", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
6951
7002
|
"path",
|
|
6952
7003
|
{
|
|
6953
7004
|
fillRule: "evenodd",
|
|
@@ -6960,9 +7011,9 @@ var ShareIcon = (0, import_react26.memo)((props) => /* @__PURE__ */ (0, import_j
|
|
|
6960
7011
|
// src/components/icons/StorageAppIcon.tsx
|
|
6961
7012
|
var import_react27 = require("react");
|
|
6962
7013
|
var import_material58 = require("@mui/material");
|
|
6963
|
-
var
|
|
6964
|
-
var StorageAppIcon = (0, import_react27.memo)((props) => /* @__PURE__ */ (0,
|
|
6965
|
-
/* @__PURE__ */ (0,
|
|
7014
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
7015
|
+
var StorageAppIcon = (0, import_react27.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_material58.SvgIcon, { ...props, viewBox: "0 0 38 29", fill: "none", children: [
|
|
7016
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
6966
7017
|
"path",
|
|
6967
7018
|
{
|
|
6968
7019
|
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",
|
|
@@ -6971,7 +7022,7 @@ var StorageAppIcon = (0, import_react27.memo)((props) => /* @__PURE__ */ (0, imp
|
|
|
6971
7022
|
fill: "none"
|
|
6972
7023
|
}
|
|
6973
7024
|
),
|
|
6974
|
-
/* @__PURE__ */ (0,
|
|
7025
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
6975
7026
|
"path",
|
|
6976
7027
|
{
|
|
6977
7028
|
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",
|
|
@@ -6985,8 +7036,8 @@ var StorageAppIcon = (0, import_react27.memo)((props) => /* @__PURE__ */ (0, imp
|
|
|
6985
7036
|
// src/components/icons/UploadFileIcon.tsx
|
|
6986
7037
|
var import_react28 = require("react");
|
|
6987
7038
|
var import_material59 = require("@mui/material");
|
|
6988
|
-
var
|
|
6989
|
-
var UploadFileIcon = (0, import_react28.memo)((props) => /* @__PURE__ */ (0,
|
|
7039
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
7040
|
+
var UploadFileIcon = (0, import_react28.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_material59.SvgIcon, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
6990
7041
|
"path",
|
|
6991
7042
|
{
|
|
6992
7043
|
fillRule: "evenodd",
|
|
@@ -7001,8 +7052,8 @@ var UploadFileIcon = (0, import_react28.memo)((props) => /* @__PURE__ */ (0, imp
|
|
|
7001
7052
|
// src/components/icons/UploadFolderIcon.tsx
|
|
7002
7053
|
var import_react29 = require("react");
|
|
7003
7054
|
var import_material60 = require("@mui/material");
|
|
7004
|
-
var
|
|
7005
|
-
var UploadFolderIcon = (0, import_react29.memo)((props) => /* @__PURE__ */ (0,
|
|
7055
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
7056
|
+
var UploadFolderIcon = (0, import_react29.memo)((props) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_material60.SvgIcon, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
7006
7057
|
"path",
|
|
7007
7058
|
{
|
|
7008
7059
|
fillRule: "evenodd",
|
|
@@ -7021,7 +7072,7 @@ var import_github_markdown_light = require("github-markdown-css/github-markdown-
|
|
|
7021
7072
|
var import_react_markdown = __toESM(require("react-markdown"));
|
|
7022
7073
|
var import_rehype_highlight = __toESM(require("rehype-highlight"));
|
|
7023
7074
|
var import_rehype_raw = __toESM(require("rehype-raw"));
|
|
7024
|
-
var
|
|
7075
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
7025
7076
|
var Content = (0, import_material61.styled)(import_material61.Box)(({ theme: theme2 }) => ({
|
|
7026
7077
|
backgroundColor: "transparent",
|
|
7027
7078
|
...theme2.typography.body1,
|
|
@@ -7039,11 +7090,11 @@ var Content = (0, import_material61.styled)(import_material61.Box)(({ theme: the
|
|
|
7039
7090
|
backgroundColor: theme2.palette.background.paper
|
|
7040
7091
|
}
|
|
7041
7092
|
}));
|
|
7042
|
-
var Markdown = ({ content, children }) => /* @__PURE__ */ (0,
|
|
7093
|
+
var Markdown = ({ content, children }) => /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Content, { className: "markdown-body", children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react_markdown.default, { rehypePlugins: [import_rehype_highlight.default, import_rehype_raw.default], children: content || children }) });
|
|
7043
7094
|
|
|
7044
7095
|
// src/components/utilities/OnboardingProvider/OnboardingProvider.tsx
|
|
7045
7096
|
var import_react30 = require("react");
|
|
7046
|
-
var
|
|
7097
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
7047
7098
|
var OnboardingContext = (0, import_react30.createContext)(void 0);
|
|
7048
7099
|
var useOnboarding = () => {
|
|
7049
7100
|
const context = (0, import_react30.useContext)(OnboardingContext);
|
|
@@ -7068,7 +7119,7 @@ var OnboardingProvider = ({ children }) => {
|
|
|
7068
7119
|
setIsOnboardingActive(false);
|
|
7069
7120
|
setTimeout(() => setIsOnboardingActive(true), 0);
|
|
7070
7121
|
}, []);
|
|
7071
|
-
return /* @__PURE__ */ (0,
|
|
7122
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
7072
7123
|
OnboardingContext.Provider,
|
|
7073
7124
|
{
|
|
7074
7125
|
value: {
|
|
@@ -7083,7 +7134,7 @@ var OnboardingProvider = ({ children }) => {
|
|
|
7083
7134
|
};
|
|
7084
7135
|
|
|
7085
7136
|
// src/components/utilities/Truncate/Truncate.tsx
|
|
7086
|
-
var
|
|
7137
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
7087
7138
|
var getDefaultEndingLength = ({ text, variant, maxLength = text.length }) => {
|
|
7088
7139
|
if (variant === "hex") {
|
|
7089
7140
|
return 4;
|
|
@@ -7107,21 +7158,21 @@ var Truncate = ({
|
|
|
7107
7158
|
const truncated = text.slice(0, maxLength - endingLength);
|
|
7108
7159
|
truncatedText = [truncated, ending].filter(Boolean).join("...");
|
|
7109
7160
|
}
|
|
7110
|
-
return /* @__PURE__ */ (0,
|
|
7161
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { ...props, "data-full": text, children: truncatedText });
|
|
7111
7162
|
};
|
|
7112
7163
|
|
|
7113
7164
|
// src/components/utilities/BytesSize/BytesSize.tsx
|
|
7114
7165
|
var import_byte_size = __toESM(require("byte-size"));
|
|
7115
|
-
var
|
|
7166
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
7116
7167
|
var BytesSize = ({ bytes }) => {
|
|
7117
|
-
return /* @__PURE__ */ (0,
|
|
7168
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_jsx_runtime83.Fragment, { children: (0, import_byte_size.default)(bytes).toString() });
|
|
7118
7169
|
};
|
|
7119
7170
|
|
|
7120
7171
|
// src/components/utilities/QRCode/QRCode.tsx
|
|
7121
7172
|
var import_react31 = require("react");
|
|
7122
7173
|
var import_react_qr_code = __toESM(require("react-qr-code"));
|
|
7123
|
-
var
|
|
7124
|
-
var QRCode = (0, import_react31.forwardRef)(({ size: size3 = 168, ...props }, ref) => /* @__PURE__ */ (0,
|
|
7174
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
7175
|
+
var QRCode = (0, import_react31.forwardRef)(({ size: size3 = 168, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_react_qr_code.default, { ref, size: size3, ...props }));
|
|
7125
7176
|
QRCode.displayName = "QRCode";
|
|
7126
7177
|
|
|
7127
7178
|
// src/components/charts/ChartWidget/ChartWidget.tsx
|
|
@@ -7129,7 +7180,7 @@ var import_material62 = require("@mui/material");
|
|
|
7129
7180
|
var import_x_charts = require("@mui/x-charts");
|
|
7130
7181
|
var import_byte_size2 = __toESM(require("byte-size"));
|
|
7131
7182
|
var import_date_fns = require("date-fns");
|
|
7132
|
-
var
|
|
7183
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
7133
7184
|
var Chart = (0, import_material62.styled)(import_material62.Box)(() => ({
|
|
7134
7185
|
height: 200
|
|
7135
7186
|
}));
|
|
@@ -7140,10 +7191,10 @@ var ChartWidget = ({
|
|
|
7140
7191
|
formatValue = (value2) => (0, import_byte_size2.default)(value2 || 0).toString()
|
|
7141
7192
|
}) => {
|
|
7142
7193
|
const theme2 = (0, import_material62.useTheme)();
|
|
7143
|
-
return /* @__PURE__ */ (0,
|
|
7144
|
-
/* @__PURE__ */ (0,
|
|
7145
|
-
/* @__PURE__ */ (0,
|
|
7146
|
-
/* @__PURE__ */ (0,
|
|
7194
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_material62.Stack, { spacing: 1, children: [
|
|
7195
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_material62.Typography, { variant: "caption", color: "text.secondary", children: title }),
|
|
7196
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_material62.Typography, { fontWeight: "bold", children: value }),
|
|
7197
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Chart, { children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
7147
7198
|
import_x_charts.LineChart,
|
|
7148
7199
|
{
|
|
7149
7200
|
dataset: history || [],
|
|
@@ -7205,7 +7256,7 @@ var import_material64 = require("@mui/material");
|
|
|
7205
7256
|
|
|
7206
7257
|
// src/components/charts/MetricsChart/PeriodSelect.tsx
|
|
7207
7258
|
var import_material63 = require("@mui/material");
|
|
7208
|
-
var
|
|
7259
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
7209
7260
|
var options = [
|
|
7210
7261
|
/**
|
|
7211
7262
|
* TODO: Enable the options below when the backend supports them
|
|
@@ -7215,7 +7266,7 @@ var options = [
|
|
|
7215
7266
|
{ value: "week", label: "1 week" },
|
|
7216
7267
|
{ value: "month", label: "1 month" }
|
|
7217
7268
|
];
|
|
7218
|
-
var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ (0,
|
|
7269
|
+
var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
7219
7270
|
import_material63.TextField,
|
|
7220
7271
|
{
|
|
7221
7272
|
select: true,
|
|
@@ -7223,13 +7274,13 @@ var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ (0, import_jsx_runti
|
|
|
7223
7274
|
value,
|
|
7224
7275
|
defaultValue: options[0].value,
|
|
7225
7276
|
onChange: (e) => onChange?.(e.target.value),
|
|
7226
|
-
children: options.map(({ value: value2, label }) => /* @__PURE__ */ (0,
|
|
7277
|
+
children: options.map(({ value: value2, label }) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_material63.MenuItem, { value: value2, children: label }, value2))
|
|
7227
7278
|
}
|
|
7228
7279
|
);
|
|
7229
7280
|
|
|
7230
7281
|
// src/components/charts/MetricsChart/MetricsChart.tsx
|
|
7231
7282
|
var import_react32 = require("react");
|
|
7232
|
-
var
|
|
7283
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
7233
7284
|
var mapPeriodToFromDate = (period = "month") => {
|
|
7234
7285
|
const date = /* @__PURE__ */ new Date();
|
|
7235
7286
|
if (period === "hour") {
|
|
@@ -7289,15 +7340,15 @@ var MetricsChart = ({ history = [] }) => {
|
|
|
7289
7340
|
const backgroundHeight = textHeight + padding.top + padding.bottom;
|
|
7290
7341
|
const rectX = left + (width - backgroundWidth) / 2;
|
|
7291
7342
|
const rectY = top + (height - backgroundHeight) / 2;
|
|
7292
|
-
return /* @__PURE__ */ (0,
|
|
7293
|
-
/* @__PURE__ */ (0,
|
|
7294
|
-
/* @__PURE__ */ (0,
|
|
7343
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("g", { children: [
|
|
7344
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(NoDataRect, { x: rectX, y: rectY, width: backgroundWidth, height: backgroundHeight }),
|
|
7345
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(LoadingText, { style: { ...theme2.typography.subtitle1 }, x: left + width / 2, y: top + height / 2, children: text })
|
|
7295
7346
|
] });
|
|
7296
7347
|
};
|
|
7297
|
-
return /* @__PURE__ */ (0,
|
|
7298
|
-
/* @__PURE__ */ (0,
|
|
7299
|
-
/* @__PURE__ */ (0,
|
|
7300
|
-
/* @__PURE__ */ (0,
|
|
7348
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material64.Card, { children: [
|
|
7349
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material64.CardHeader, { title: "GET / PUT Requests", action: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(PeriodSelect, { value: period, onChange: setPeriod }) }),
|
|
7350
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material64.CardMedia, { children: [
|
|
7351
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
7301
7352
|
Chart2,
|
|
7302
7353
|
{
|
|
7303
7354
|
skipAnimation: true,
|
|
@@ -7358,35 +7409,35 @@ var MetricsChart = ({ history = [] }) => {
|
|
|
7358
7409
|
]
|
|
7359
7410
|
}
|
|
7360
7411
|
),
|
|
7361
|
-
periodHistory.length > 0 && /* @__PURE__ */ (0,
|
|
7362
|
-
/* @__PURE__ */ (0,
|
|
7363
|
-
/* @__PURE__ */ (0,
|
|
7364
|
-
/* @__PURE__ */ (0,
|
|
7412
|
+
periodHistory.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material64.Stack, { direction: "row", spacing: 2, marginY: 3, justifyContent: "center", children: [
|
|
7413
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material64.Stack, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
7414
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material64.Box, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.primary.main } }),
|
|
7415
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material64.Typography, { variant: "body2", children: "Get" })
|
|
7365
7416
|
] }),
|
|
7366
|
-
/* @__PURE__ */ (0,
|
|
7367
|
-
/* @__PURE__ */ (0,
|
|
7368
|
-
/* @__PURE__ */ (0,
|
|
7417
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material64.Stack, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
7418
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material64.Box, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.success.main } }),
|
|
7419
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material64.Typography, { variant: "body2", children: "Put" })
|
|
7369
7420
|
] })
|
|
7370
7421
|
] })
|
|
7371
7422
|
] }),
|
|
7372
|
-
/* @__PURE__ */ (0,
|
|
7373
|
-
/* @__PURE__ */ (0,
|
|
7374
|
-
/* @__PURE__ */ (0,
|
|
7375
|
-
/* @__PURE__ */ (0,
|
|
7376
|
-
/* @__PURE__ */ (0,
|
|
7377
|
-
/* @__PURE__ */ (0,
|
|
7423
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material64.CardMedia, { children: [
|
|
7424
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material64.Divider, { flexItem: true }),
|
|
7425
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material64.Stack, { direction: "row", spacing: 2, padding: 2, children: [
|
|
7426
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material64.Stack, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
7427
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material64.Typography, { variant: "body2", color: "secondary", children: "GET Requests per account" }),
|
|
7428
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material64.Typography, { variant: "h3", children: total.gets })
|
|
7378
7429
|
] }),
|
|
7379
|
-
/* @__PURE__ */ (0,
|
|
7380
|
-
/* @__PURE__ */ (0,
|
|
7381
|
-
/* @__PURE__ */ (0,
|
|
7430
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material64.Stack, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
7431
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material64.Typography, { variant: "body2", color: "secondary", children: "PUT Requests per account" }),
|
|
7432
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material64.Typography, { variant: "h3", children: total.puts })
|
|
7382
7433
|
] }),
|
|
7383
|
-
/* @__PURE__ */ (0,
|
|
7384
|
-
/* @__PURE__ */ (0,
|
|
7385
|
-
/* @__PURE__ */ (0,
|
|
7434
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material64.Stack, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
7435
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material64.Typography, { variant: "body2", color: "secondary", children: "Total Consumed per account" }),
|
|
7436
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material64.Typography, { variant: "h3", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(BytesSize, { bytes: total.transferredBytes }) })
|
|
7386
7437
|
] }),
|
|
7387
|
-
/* @__PURE__ */ (0,
|
|
7388
|
-
/* @__PURE__ */ (0,
|
|
7389
|
-
/* @__PURE__ */ (0,
|
|
7438
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_material64.Stack, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
7439
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material64.Typography, { variant: "body2", color: "secondary", children: "Total Stored per account" }),
|
|
7440
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_material64.Typography, { variant: "h3", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(BytesSize, { bytes: total.storedBytes }) })
|
|
7390
7441
|
] })
|
|
7391
7442
|
] })
|
|
7392
7443
|
] })
|
|
@@ -7401,8 +7452,8 @@ var import_date_fns3 = require("date-fns");
|
|
|
7401
7452
|
|
|
7402
7453
|
// src/components/charts/TimeSeriesGraph/TimeRangeSelect.tsx
|
|
7403
7454
|
var import_material65 = require("@mui/material");
|
|
7404
|
-
var
|
|
7405
|
-
var TimeRangeSelect = ({ options: options2, value, onChange }) => /* @__PURE__ */ (0,
|
|
7455
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
7456
|
+
var TimeRangeSelect = ({ options: options2, value, onChange }) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
7406
7457
|
import_material65.TextField,
|
|
7407
7458
|
{
|
|
7408
7459
|
select: true,
|
|
@@ -7411,13 +7462,13 @@ var TimeRangeSelect = ({ options: options2, value, onChange }) => /* @__PURE__ *
|
|
|
7411
7462
|
onChange: (e) => onChange?.(e.target.value),
|
|
7412
7463
|
"aria-label": "Time range selector",
|
|
7413
7464
|
sx: { minWidth: 120 },
|
|
7414
|
-
children: options2.map((option) => /* @__PURE__ */ (0,
|
|
7465
|
+
children: options2.map((option) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_material65.MenuItem, { value: option.value, children: option.label }, option.value))
|
|
7415
7466
|
}
|
|
7416
7467
|
);
|
|
7417
7468
|
|
|
7418
7469
|
// src/components/charts/TimeSeriesGraph/SummaryStats.tsx
|
|
7419
7470
|
var import_material66 = require("@mui/material");
|
|
7420
|
-
var
|
|
7471
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
7421
7472
|
var formatSummaryValue = (value, unit) => {
|
|
7422
7473
|
const displayValue = typeof value === "number" ? value.toLocaleString() : value;
|
|
7423
7474
|
return unit ? `${displayValue} ${unit}` : displayValue;
|
|
@@ -7426,7 +7477,7 @@ var SummaryStats = ({ items }) => {
|
|
|
7426
7477
|
if (items.length === 0) {
|
|
7427
7478
|
return null;
|
|
7428
7479
|
}
|
|
7429
|
-
return /* @__PURE__ */ (0,
|
|
7480
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
7430
7481
|
import_material66.Stack,
|
|
7431
7482
|
{
|
|
7432
7483
|
direction: "row",
|
|
@@ -7436,7 +7487,7 @@ var SummaryStats = ({ items }) => {
|
|
|
7436
7487
|
useFlexGap: true,
|
|
7437
7488
|
role: "list",
|
|
7438
7489
|
"aria-label": "Summary statistics",
|
|
7439
|
-
children: items.map((item) => /* @__PURE__ */ (0,
|
|
7490
|
+
children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
|
|
7440
7491
|
import_material66.Stack,
|
|
7441
7492
|
{
|
|
7442
7493
|
direction: "row",
|
|
@@ -7444,8 +7495,8 @@ var SummaryStats = ({ items }) => {
|
|
|
7444
7495
|
spacing: 1,
|
|
7445
7496
|
role: "listitem",
|
|
7446
7497
|
children: [
|
|
7447
|
-
/* @__PURE__ */ (0,
|
|
7448
|
-
/* @__PURE__ */ (0,
|
|
7498
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_material66.Typography, { variant: "body2", color: "text.secondary", children: item.label }),
|
|
7499
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_material66.Typography, { variant: "h5", fontWeight: 600, children: formatSummaryValue(item.value, item.unit) })
|
|
7449
7500
|
]
|
|
7450
7501
|
},
|
|
7451
7502
|
item.label
|
|
@@ -7455,7 +7506,7 @@ var SummaryStats = ({ items }) => {
|
|
|
7455
7506
|
};
|
|
7456
7507
|
|
|
7457
7508
|
// src/components/charts/TimeSeriesGraph/TimeSeriesGraph.tsx
|
|
7458
|
-
var
|
|
7509
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
7459
7510
|
var ChartContainer = (0, import_material67.styled)(import_material67.Box)({
|
|
7460
7511
|
position: "relative",
|
|
7461
7512
|
height: 320
|
|
@@ -7559,9 +7610,9 @@ var TimeSeriesGraph = ({
|
|
|
7559
7610
|
);
|
|
7560
7611
|
const hasData = dataset.length > 0;
|
|
7561
7612
|
const shouldShowSummary = showSummary && summaryItems && summaryItems.length > 0;
|
|
7562
|
-
const headerActionElement = /* @__PURE__ */ (0,
|
|
7613
|
+
const headerActionElement = /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_material67.Stack, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
7563
7614
|
headerAction,
|
|
7564
|
-
timeRangeOptions && timeRangeOptions.length > 0 && /* @__PURE__ */ (0,
|
|
7615
|
+
timeRangeOptions && timeRangeOptions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
7565
7616
|
TimeRangeSelect,
|
|
7566
7617
|
{
|
|
7567
7618
|
options: timeRangeOptions,
|
|
@@ -7571,13 +7622,13 @@ var TimeSeriesGraph = ({
|
|
|
7571
7622
|
)
|
|
7572
7623
|
] });
|
|
7573
7624
|
const showHeader = !!title || !!headerAction || timeRangeOptions && timeRangeOptions.length > 0;
|
|
7574
|
-
return /* @__PURE__ */ (0,
|
|
7625
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
|
|
7575
7626
|
import_material67.Card,
|
|
7576
7627
|
{
|
|
7577
7628
|
"aria-label": title ? `Line chart showing ${title}` : "Line chart",
|
|
7578
7629
|
role: "figure",
|
|
7579
7630
|
children: [
|
|
7580
|
-
showHeader && /* @__PURE__ */ (0,
|
|
7631
|
+
showHeader && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
7581
7632
|
import_material67.CardHeader,
|
|
7582
7633
|
{
|
|
7583
7634
|
title,
|
|
@@ -7588,10 +7639,10 @@ var TimeSeriesGraph = ({
|
|
|
7588
7639
|
action: headerActionElement
|
|
7589
7640
|
}
|
|
7590
7641
|
),
|
|
7591
|
-
/* @__PURE__ */ (0,
|
|
7592
|
-
/* @__PURE__ */ (0,
|
|
7593
|
-
loading && /* @__PURE__ */ (0,
|
|
7594
|
-
/* @__PURE__ */ (0,
|
|
7642
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_material67.CardMedia, { children: [
|
|
7643
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(ChartContainer, { children: [
|
|
7644
|
+
loading && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(LoadingOverlay, { role: "status", "aria-label": "Loading chart data", children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_material67.CircularProgress, { size: 40 }) }),
|
|
7645
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
7595
7646
|
import_x_charts3.LineChart,
|
|
7596
7647
|
{
|
|
7597
7648
|
dataset,
|
|
@@ -7643,7 +7694,7 @@ var TimeSeriesGraph = ({
|
|
|
7643
7694
|
}
|
|
7644
7695
|
)
|
|
7645
7696
|
] }),
|
|
7646
|
-
series.length > 0 && /* @__PURE__ */ (0,
|
|
7697
|
+
series.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
7647
7698
|
import_material67.Stack,
|
|
7648
7699
|
{
|
|
7649
7700
|
direction: "row",
|
|
@@ -7656,7 +7707,7 @@ var TimeSeriesGraph = ({
|
|
|
7656
7707
|
"aria-label": "Chart legend",
|
|
7657
7708
|
children: series.map((s) => {
|
|
7658
7709
|
const isHidden = hiddenSeries.has(s.name);
|
|
7659
|
-
return /* @__PURE__ */ (0,
|
|
7710
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
|
|
7660
7711
|
import_material67.Stack,
|
|
7661
7712
|
{
|
|
7662
7713
|
direction: "row",
|
|
@@ -7673,8 +7724,8 @@ var TimeSeriesGraph = ({
|
|
|
7673
7724
|
"aria-pressed": !isHidden,
|
|
7674
7725
|
"aria-label": `Toggle ${s.name} visibility`,
|
|
7675
7726
|
children: [
|
|
7676
|
-
/* @__PURE__ */ (0,
|
|
7677
|
-
/* @__PURE__ */ (0,
|
|
7727
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(LegendDot, { dotColor: s.color }),
|
|
7728
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_material67.Typography, { variant: "body2", children: s.name })
|
|
7678
7729
|
]
|
|
7679
7730
|
},
|
|
7680
7731
|
s.name
|
|
@@ -7683,9 +7734,9 @@ var TimeSeriesGraph = ({
|
|
|
7683
7734
|
}
|
|
7684
7735
|
)
|
|
7685
7736
|
] }),
|
|
7686
|
-
shouldShowSummary && /* @__PURE__ */ (0,
|
|
7687
|
-
/* @__PURE__ */ (0,
|
|
7688
|
-
/* @__PURE__ */ (0,
|
|
7737
|
+
shouldShowSummary && /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_jsx_runtime90.Fragment, { children: [
|
|
7738
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_material67.Divider, {}),
|
|
7739
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(SummaryStats, { items: summaryItems })
|
|
7689
7740
|
] })
|
|
7690
7741
|
]
|
|
7691
7742
|
}
|
|
@@ -7698,7 +7749,7 @@ var import_reactflow = __toESM(require("reactflow"));
|
|
|
7698
7749
|
var import_material68 = require("@mui/material");
|
|
7699
7750
|
var import_styles40 = require("@mui/material/styles");
|
|
7700
7751
|
var import_reactflow2 = require("reactflow");
|
|
7701
|
-
var
|
|
7752
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
7702
7753
|
var FlowEditor = ({
|
|
7703
7754
|
nodes,
|
|
7704
7755
|
edges,
|
|
@@ -7724,7 +7775,7 @@ var FlowEditor = ({
|
|
|
7724
7775
|
},
|
|
7725
7776
|
[onInit]
|
|
7726
7777
|
);
|
|
7727
|
-
return /* @__PURE__ */ (0,
|
|
7778
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_reactflow.ReactFlowProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
7728
7779
|
import_material68.Box,
|
|
7729
7780
|
{
|
|
7730
7781
|
sx: {
|
|
@@ -7737,7 +7788,7 @@ var FlowEditor = ({
|
|
|
7737
7788
|
...containerProps?.sx
|
|
7738
7789
|
},
|
|
7739
7790
|
...containerProps,
|
|
7740
|
-
children: /* @__PURE__ */ (0,
|
|
7791
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
|
|
7741
7792
|
import_reactflow.default,
|
|
7742
7793
|
{
|
|
7743
7794
|
nodes,
|
|
@@ -7759,7 +7810,7 @@ var FlowEditor = ({
|
|
|
7759
7810
|
},
|
|
7760
7811
|
...reactFlowProps,
|
|
7761
7812
|
children: [
|
|
7762
|
-
showBackground && /* @__PURE__ */ (0,
|
|
7813
|
+
showBackground && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
7763
7814
|
import_reactflow.Background,
|
|
7764
7815
|
{
|
|
7765
7816
|
variant: backgroundVariant,
|
|
@@ -7768,8 +7819,8 @@ var FlowEditor = ({
|
|
|
7768
7819
|
color: theme2.palette.divider
|
|
7769
7820
|
}
|
|
7770
7821
|
),
|
|
7771
|
-
showControls && /* @__PURE__ */ (0,
|
|
7772
|
-
showMinimap && /* @__PURE__ */ (0,
|
|
7822
|
+
showControls && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_reactflow.Controls, {}),
|
|
7823
|
+
showMinimap && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
7773
7824
|
import_reactflow.MiniMap,
|
|
7774
7825
|
{
|
|
7775
7826
|
nodeColor: (node) => {
|
|
@@ -7800,7 +7851,7 @@ var import_FullscreenExit = __toESM(require("@mui/icons-material/FullscreenExit"
|
|
|
7800
7851
|
var import_ErrorOutline = __toESM(require("@mui/icons-material/ErrorOutline"));
|
|
7801
7852
|
var import_ExpandMore3 = __toESM(require("@mui/icons-material/ExpandMore"));
|
|
7802
7853
|
var import_ExpandLess = __toESM(require("@mui/icons-material/ExpandLess"));
|
|
7803
|
-
var
|
|
7854
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
7804
7855
|
var configureTypeScript = (monaco) => {
|
|
7805
7856
|
monaco.languages.typescript.typescriptDefaults.setCompilerOptions({
|
|
7806
7857
|
target: monaco.languages.typescript.ScriptTarget.ES2020,
|
|
@@ -8012,7 +8063,7 @@ var CodeEditor = ({
|
|
|
8012
8063
|
theme: themeProp || "vs",
|
|
8013
8064
|
...options2
|
|
8014
8065
|
};
|
|
8015
|
-
return /* @__PURE__ */ (0,
|
|
8066
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
8016
8067
|
import_material69.Box,
|
|
8017
8068
|
{
|
|
8018
8069
|
sx: {
|
|
@@ -8033,7 +8084,7 @@ var CodeEditor = ({
|
|
|
8033
8084
|
pb: isFullscreen ? 2 : 0,
|
|
8034
8085
|
overflow: isFullscreen ? "hidden" : "visible"
|
|
8035
8086
|
},
|
|
8036
|
-
children: /* @__PURE__ */ (0,
|
|
8087
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
|
|
8037
8088
|
import_material69.Box,
|
|
8038
8089
|
{
|
|
8039
8090
|
sx: {
|
|
@@ -8049,7 +8100,7 @@ var CodeEditor = ({
|
|
|
8049
8100
|
},
|
|
8050
8101
|
...containerProps,
|
|
8051
8102
|
children: [
|
|
8052
|
-
/* @__PURE__ */ (0,
|
|
8103
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_material69.Tooltip, { title: isFullscreen ? "Exit Fullscreen" : "Fullscreen", children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
8053
8104
|
import_material69.IconButton,
|
|
8054
8105
|
{
|
|
8055
8106
|
onClick: toggleFullscreen,
|
|
@@ -8067,10 +8118,10 @@ var CodeEditor = ({
|
|
|
8067
8118
|
},
|
|
8068
8119
|
boxShadow: 1
|
|
8069
8120
|
},
|
|
8070
|
-
children: isFullscreen ? /* @__PURE__ */ (0,
|
|
8121
|
+
children: isFullscreen ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_FullscreenExit.default, { fontSize: "small" }) : /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_Fullscreen.default, { fontSize: "small" })
|
|
8071
8122
|
}
|
|
8072
8123
|
) }),
|
|
8073
|
-
/* @__PURE__ */ (0,
|
|
8124
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
8074
8125
|
import_material69.Box,
|
|
8075
8126
|
{
|
|
8076
8127
|
sx: {
|
|
@@ -8082,7 +8133,7 @@ var CodeEditor = ({
|
|
|
8082
8133
|
position: "relative",
|
|
8083
8134
|
height: isFullscreen ? "100%" : actualHeight
|
|
8084
8135
|
},
|
|
8085
|
-
children: /* @__PURE__ */ (0,
|
|
8136
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
8086
8137
|
import_react36.default,
|
|
8087
8138
|
{
|
|
8088
8139
|
height: "100%",
|
|
@@ -8093,7 +8144,7 @@ var CodeEditor = ({
|
|
|
8093
8144
|
onMount: handleEditorDidMount,
|
|
8094
8145
|
theme: themeProp || "vs",
|
|
8095
8146
|
options: defaultOptions,
|
|
8096
|
-
loading: /* @__PURE__ */ (0,
|
|
8147
|
+
loading: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_material69.Box, { sx: { p: 2, textAlign: "center" }, children: "Loading Monaco Editor..." }),
|
|
8097
8148
|
beforeMount: (monaco) => {
|
|
8098
8149
|
console.log("CodeEditor: beforeMount called", { monaco: !!monaco });
|
|
8099
8150
|
}
|
|
@@ -8101,7 +8152,7 @@ var CodeEditor = ({
|
|
|
8101
8152
|
)
|
|
8102
8153
|
}
|
|
8103
8154
|
),
|
|
8104
|
-
validationErrors.length > 0 && /* @__PURE__ */ (0,
|
|
8155
|
+
validationErrors.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
|
|
8105
8156
|
import_material69.Box,
|
|
8106
8157
|
{
|
|
8107
8158
|
sx: {
|
|
@@ -8115,7 +8166,7 @@ var CodeEditor = ({
|
|
|
8115
8166
|
transition: "max-height 0.2s ease"
|
|
8116
8167
|
},
|
|
8117
8168
|
children: [
|
|
8118
|
-
/* @__PURE__ */ (0,
|
|
8169
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
|
|
8119
8170
|
import_material69.Box,
|
|
8120
8171
|
{
|
|
8121
8172
|
sx: {
|
|
@@ -8130,15 +8181,15 @@ var CodeEditor = ({
|
|
|
8130
8181
|
color: "text.secondary"
|
|
8131
8182
|
},
|
|
8132
8183
|
children: [
|
|
8133
|
-
/* @__PURE__ */ (0,
|
|
8134
|
-
/* @__PURE__ */ (0,
|
|
8135
|
-
/* @__PURE__ */ (0,
|
|
8184
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_ErrorOutline.default, { color: "error", fontSize: "small" }),
|
|
8185
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_material69.Box, { sx: { fontWeight: 600, color: "text.primary" }, children: "Problems" }),
|
|
8186
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_material69.Box, { sx: { ml: 1 }, children: [
|
|
8136
8187
|
validationErrors.length,
|
|
8137
8188
|
" error",
|
|
8138
8189
|
validationErrors.length > 1 ? "s" : ""
|
|
8139
8190
|
] }),
|
|
8140
|
-
/* @__PURE__ */ (0,
|
|
8141
|
-
/* @__PURE__ */ (0,
|
|
8191
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_material69.Box, { sx: { flex: 1 } }),
|
|
8192
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
8142
8193
|
import_material69.IconButton,
|
|
8143
8194
|
{
|
|
8144
8195
|
size: "small",
|
|
@@ -8147,13 +8198,13 @@ var CodeEditor = ({
|
|
|
8147
8198
|
setHasUserToggledProblems(true);
|
|
8148
8199
|
setShowProblems((s) => !s);
|
|
8149
8200
|
},
|
|
8150
|
-
children: showProblems ? /* @__PURE__ */ (0,
|
|
8201
|
+
children: showProblems ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_ExpandMore3.default, { fontSize: "small" }) : /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_ExpandLess.default, { fontSize: "small" })
|
|
8151
8202
|
}
|
|
8152
8203
|
)
|
|
8153
8204
|
]
|
|
8154
8205
|
}
|
|
8155
8206
|
),
|
|
8156
|
-
showProblems && /* @__PURE__ */ (0,
|
|
8207
|
+
showProblems && /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_material69.Box, { sx: { overflow: "auto" }, children: validationErrors.map((error, index) => /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
|
|
8157
8208
|
import_material69.Box,
|
|
8158
8209
|
{
|
|
8159
8210
|
onClick: () => gotoMarker(error),
|
|
@@ -8170,12 +8221,12 @@ var CodeEditor = ({
|
|
|
8170
8221
|
fontSize: "0.85rem"
|
|
8171
8222
|
},
|
|
8172
8223
|
children: [
|
|
8173
|
-
/* @__PURE__ */ (0,
|
|
8174
|
-
/* @__PURE__ */ (0,
|
|
8224
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_ErrorOutline.default, { color: "error", sx: { fontSize: 18 } }),
|
|
8225
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_material69.Box, { sx: { color: "text.secondary", width: 64 }, children: [
|
|
8175
8226
|
"Line ",
|
|
8176
8227
|
error.startLineNumber
|
|
8177
8228
|
] }),
|
|
8178
|
-
/* @__PURE__ */ (0,
|
|
8229
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_material69.Box, { sx: { color: "text.primary", flex: 1, minWidth: 0 }, children: error.message })
|
|
8179
8230
|
]
|
|
8180
8231
|
},
|
|
8181
8232
|
`${error.startLineNumber}-${error.startColumn}-${index}`
|
|
@@ -8229,6 +8280,7 @@ var import_reactflow3 = require("reactflow");
|
|
|
8229
8280
|
ConnectionStatus,
|
|
8230
8281
|
Container,
|
|
8231
8282
|
Controls,
|
|
8283
|
+
DateRangePicker,
|
|
8232
8284
|
DecentralizedServerIcon,
|
|
8233
8285
|
DeploymentDashboardCard,
|
|
8234
8286
|
DeploymentDashboardPanel,
|