@cere/cere-design-system 0.0.22 → 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 +30 -2
- package/dist/index.d.ts +30 -2
- package/dist/index.js +621 -558
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +659 -597
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -1
package/dist/index.mjs
CHANGED
|
@@ -2220,19 +2220,69 @@ var Radio = ({
|
|
|
2220
2220
|
);
|
|
2221
2221
|
};
|
|
2222
2222
|
|
|
2223
|
+
// src/components/inputs/DateRangePicker/DateRangePicker.tsx
|
|
2224
|
+
import Stack from "@mui/material/Stack";
|
|
2225
|
+
import Typography from "@mui/material/Typography";
|
|
2226
|
+
import { DatePicker } from "@mui/x-date-pickers/DatePicker";
|
|
2227
|
+
import { LocalizationProvider } from "@mui/x-date-pickers/LocalizationProvider";
|
|
2228
|
+
import { AdapterDateFns } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
2229
|
+
import { jsx as jsx13, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
2230
|
+
var DateRangePicker = ({
|
|
2231
|
+
startDate,
|
|
2232
|
+
endDate,
|
|
2233
|
+
onStartDateChange,
|
|
2234
|
+
onEndDateChange,
|
|
2235
|
+
minDate,
|
|
2236
|
+
maxDate,
|
|
2237
|
+
disabled = false,
|
|
2238
|
+
size: size3 = "small"
|
|
2239
|
+
}) => {
|
|
2240
|
+
return /* @__PURE__ */ jsx13(LocalizationProvider, { dateAdapter: AdapterDateFns, children: /* @__PURE__ */ jsxs2(Stack, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
2241
|
+
/* @__PURE__ */ jsx13(
|
|
2242
|
+
DatePicker,
|
|
2243
|
+
{
|
|
2244
|
+
label: "Start date",
|
|
2245
|
+
value: startDate,
|
|
2246
|
+
onChange: onStartDateChange,
|
|
2247
|
+
minDate,
|
|
2248
|
+
maxDate: endDate ?? maxDate,
|
|
2249
|
+
disabled,
|
|
2250
|
+
slotProps: {
|
|
2251
|
+
textField: { size: size3 }
|
|
2252
|
+
}
|
|
2253
|
+
}
|
|
2254
|
+
),
|
|
2255
|
+
/* @__PURE__ */ jsx13(Typography, { variant: "body2", color: "text.secondary", children: "\u2013" }),
|
|
2256
|
+
/* @__PURE__ */ jsx13(
|
|
2257
|
+
DatePicker,
|
|
2258
|
+
{
|
|
2259
|
+
label: "End date",
|
|
2260
|
+
value: endDate,
|
|
2261
|
+
onChange: onEndDateChange,
|
|
2262
|
+
minDate: startDate ?? minDate,
|
|
2263
|
+
maxDate,
|
|
2264
|
+
disabled,
|
|
2265
|
+
slotProps: {
|
|
2266
|
+
textField: { size: size3 }
|
|
2267
|
+
}
|
|
2268
|
+
}
|
|
2269
|
+
)
|
|
2270
|
+
] }) });
|
|
2271
|
+
};
|
|
2272
|
+
|
|
2223
2273
|
// src/components/navigation/Dropdown/Dropdown.tsx
|
|
2224
2274
|
import { Popover } from "@mui/material";
|
|
2225
2275
|
import { useCallback, useRef } from "react";
|
|
2226
2276
|
|
|
2227
2277
|
// src/components/navigation/Dropdown/DropdownAnchor.tsx
|
|
2228
2278
|
import { forwardRef } from "react";
|
|
2229
|
-
import { Stack, styled as styled8, avatarClasses, Typography, Button as Button2 } from "@mui/material";
|
|
2279
|
+
import { Stack as Stack2, styled as styled8, avatarClasses, Typography as Typography2, Button as Button2 } from "@mui/material";
|
|
2230
2280
|
import { ArrowDropUp, ArrowDropDown } from "@mui/icons-material";
|
|
2231
|
-
import { jsx as
|
|
2281
|
+
import { jsx as jsx14, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
2232
2282
|
var Clickable = styled8(Button2)({
|
|
2233
2283
|
padding: 0
|
|
2234
2284
|
});
|
|
2235
|
-
var Anchor = styled8(
|
|
2285
|
+
var Anchor = styled8(Stack2)(({ theme: theme2, variant }) => ({
|
|
2236
2286
|
height: 40,
|
|
2237
2287
|
borderRadius: 25,
|
|
2238
2288
|
padding: theme2.spacing(1),
|
|
@@ -2249,21 +2299,21 @@ var Left = styled8("div")(({ theme: theme2 }) => ({
|
|
|
2249
2299
|
borderColor: theme2.palette.background.paper
|
|
2250
2300
|
}
|
|
2251
2301
|
}));
|
|
2252
|
-
var Center = styled8(
|
|
2302
|
+
var Center = styled8(Typography2)(({ theme: theme2 }) => ({
|
|
2253
2303
|
fontWeight: theme2.typography.fontWeightBold,
|
|
2254
2304
|
color: theme2.palette.text.primary
|
|
2255
2305
|
}));
|
|
2256
2306
|
var DropdownAnchor = forwardRef(
|
|
2257
|
-
({ open, label, leftElement, onOpen, variant, ...props }, ref) => /* @__PURE__ */
|
|
2258
|
-
/* @__PURE__ */
|
|
2259
|
-
/* @__PURE__ */
|
|
2260
|
-
variant !== "header" && (open ? /* @__PURE__ */
|
|
2307
|
+
({ open, label, leftElement, onOpen, variant, ...props }, ref) => /* @__PURE__ */ jsx14(Clickable, { ref, ...props, color: "inherit", variant: "text", onClick: onOpen, children: /* @__PURE__ */ jsxs3(Anchor, { variant, spacing: 1, direction: "row", alignItems: "stretch", children: [
|
|
2308
|
+
/* @__PURE__ */ jsx14(Left, { children: leftElement }),
|
|
2309
|
+
/* @__PURE__ */ jsx14(Center, { variant: "body1", children: label }),
|
|
2310
|
+
variant !== "header" && (open ? /* @__PURE__ */ jsx14(ArrowDropUp, {}) : /* @__PURE__ */ jsx14(ArrowDropDown, {}))
|
|
2261
2311
|
] }) })
|
|
2262
2312
|
);
|
|
2263
2313
|
DropdownAnchor.displayName = "DropdownAnchor";
|
|
2264
2314
|
|
|
2265
2315
|
// src/components/navigation/Dropdown/Dropdown.tsx
|
|
2266
|
-
import { Fragment, jsx as
|
|
2316
|
+
import { Fragment, jsx as jsx15, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
2267
2317
|
var Dropdown = ({
|
|
2268
2318
|
open,
|
|
2269
2319
|
label,
|
|
@@ -2275,15 +2325,15 @@ var Dropdown = ({
|
|
|
2275
2325
|
disableGutters = false,
|
|
2276
2326
|
disablePaddings = false,
|
|
2277
2327
|
variant,
|
|
2278
|
-
renderAnchor = ({ ref, open: open2, onOpen }) => /* @__PURE__ */
|
|
2328
|
+
renderAnchor = ({ ref, open: open2, onOpen }) => /* @__PURE__ */ jsx15(DropdownAnchor, { ref, open: open2, label, leftElement, onOpen, variant })
|
|
2279
2329
|
}) => {
|
|
2280
2330
|
const anchorRef = useRef(null);
|
|
2281
2331
|
const horizontal = direction === "left" ? "right" : "left";
|
|
2282
2332
|
const onOpen = useCallback(() => onToggle?.(true), [onToggle]);
|
|
2283
2333
|
const padding = dense ? 1 : 2;
|
|
2284
|
-
return /* @__PURE__ */
|
|
2334
|
+
return /* @__PURE__ */ jsxs4(Fragment, { children: [
|
|
2285
2335
|
renderAnchor({ ref: anchorRef, onOpen, open }),
|
|
2286
|
-
/* @__PURE__ */
|
|
2336
|
+
/* @__PURE__ */ jsx15(
|
|
2287
2337
|
Popover,
|
|
2288
2338
|
{
|
|
2289
2339
|
"aria-label": "Overlay",
|
|
@@ -2332,7 +2382,7 @@ import {
|
|
|
2332
2382
|
ListItemText,
|
|
2333
2383
|
styled as styled9
|
|
2334
2384
|
} from "@mui/material";
|
|
2335
|
-
import { jsx as
|
|
2385
|
+
import { jsx as jsx16, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
2336
2386
|
var StyledListItemButton = styled9(ListItemButton, {
|
|
2337
2387
|
shouldForwardProp: (prop) => prop !== "selected" && prop !== "size"
|
|
2338
2388
|
})(({ selected, size: size3 = "medium" }) => {
|
|
@@ -2371,16 +2421,16 @@ var SidebarItem = ({
|
|
|
2371
2421
|
endIcon,
|
|
2372
2422
|
children
|
|
2373
2423
|
}) => {
|
|
2374
|
-
return /* @__PURE__ */
|
|
2375
|
-
icon && /* @__PURE__ */
|
|
2376
|
-
/* @__PURE__ */
|
|
2377
|
-
endIcon && /* @__PURE__ */
|
|
2424
|
+
return /* @__PURE__ */ jsxs5(StyledListItemButton, { selected, size: size3, onClick, children: [
|
|
2425
|
+
icon && /* @__PURE__ */ jsx16(ListItemIcon, { children: icon }),
|
|
2426
|
+
/* @__PURE__ */ jsx16(ListItemText, { primary: label }),
|
|
2427
|
+
endIcon && /* @__PURE__ */ jsx16("div", { style: { marginLeft: "auto" }, children: endIcon }),
|
|
2378
2428
|
children
|
|
2379
2429
|
] });
|
|
2380
2430
|
};
|
|
2381
2431
|
|
|
2382
2432
|
// src/components/navigation/Sidebar.tsx
|
|
2383
|
-
import { jsx as
|
|
2433
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
2384
2434
|
var StyledDrawer = styled10(Drawer)(() => ({
|
|
2385
2435
|
"& .MuiDrawer-paper": {
|
|
2386
2436
|
backgroundColor: colors.background.paper,
|
|
@@ -2395,7 +2445,7 @@ var Sidebar = ({
|
|
|
2395
2445
|
onClose,
|
|
2396
2446
|
variant = "permanent"
|
|
2397
2447
|
}) => {
|
|
2398
|
-
return /* @__PURE__ */
|
|
2448
|
+
return /* @__PURE__ */ jsx17(
|
|
2399
2449
|
StyledDrawer,
|
|
2400
2450
|
{
|
|
2401
2451
|
variant,
|
|
@@ -2409,7 +2459,7 @@ var Sidebar = ({
|
|
|
2409
2459
|
boxSizing: "border-box"
|
|
2410
2460
|
}
|
|
2411
2461
|
},
|
|
2412
|
-
children: /* @__PURE__ */
|
|
2462
|
+
children: /* @__PURE__ */ jsx17(Box, { sx: { overflow: "auto", padding: "8px 0" }, children: /* @__PURE__ */ jsx17(List, { children: items.map((item, index) => /* @__PURE__ */ jsx17(SidebarItem, { ...item }, index)) }) })
|
|
2413
2463
|
}
|
|
2414
2464
|
);
|
|
2415
2465
|
};
|
|
@@ -2418,7 +2468,7 @@ var Sidebar = ({
|
|
|
2418
2468
|
import { useState, useCallback as useCallback2 } from "react";
|
|
2419
2469
|
import {
|
|
2420
2470
|
Box as Box2,
|
|
2421
|
-
Typography as
|
|
2471
|
+
Typography as Typography3,
|
|
2422
2472
|
Avatar,
|
|
2423
2473
|
Tooltip,
|
|
2424
2474
|
IconButton as IconButton2,
|
|
@@ -2441,7 +2491,7 @@ import AddIcon from "@mui/icons-material/Add";
|
|
|
2441
2491
|
import CheckIcon from "@mui/icons-material/Check";
|
|
2442
2492
|
import SettingsIcon from "@mui/icons-material/Settings";
|
|
2443
2493
|
import PersonAddAltIcon from "@mui/icons-material/PersonAddAlt";
|
|
2444
|
-
import { Fragment as Fragment2, jsx as
|
|
2494
|
+
import { Fragment as Fragment2, jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
2445
2495
|
var ServiceSelectorButton = ({
|
|
2446
2496
|
services,
|
|
2447
2497
|
selectedServiceId,
|
|
@@ -2498,8 +2548,8 @@ var ServiceSelectorButton = ({
|
|
|
2498
2548
|
return matchesSearch && matchesArchivedFilter;
|
|
2499
2549
|
});
|
|
2500
2550
|
if (compact) {
|
|
2501
|
-
return /* @__PURE__ */
|
|
2502
|
-
/* @__PURE__ */
|
|
2551
|
+
return /* @__PURE__ */ jsxs6(Fragment2, { children: [
|
|
2552
|
+
/* @__PURE__ */ jsx18(Box2, { sx: { position: "relative" }, children: /* @__PURE__ */ jsx18(Tooltip, { title: "Select service", placement: "right", children: /* @__PURE__ */ jsx18(
|
|
2503
2553
|
IconButton2,
|
|
2504
2554
|
{
|
|
2505
2555
|
onClick: handleOpenSelector,
|
|
@@ -2510,7 +2560,7 @@ var ServiceSelectorButton = ({
|
|
|
2510
2560
|
},
|
|
2511
2561
|
...sx
|
|
2512
2562
|
},
|
|
2513
|
-
children: /* @__PURE__ */
|
|
2563
|
+
children: /* @__PURE__ */ jsx18(
|
|
2514
2564
|
Avatar,
|
|
2515
2565
|
{
|
|
2516
2566
|
sx: {
|
|
@@ -2524,7 +2574,7 @@ var ServiceSelectorButton = ({
|
|
|
2524
2574
|
)
|
|
2525
2575
|
}
|
|
2526
2576
|
) }) }),
|
|
2527
|
-
/* @__PURE__ */
|
|
2577
|
+
/* @__PURE__ */ jsx18(
|
|
2528
2578
|
ServiceSelectorPanel,
|
|
2529
2579
|
{
|
|
2530
2580
|
open: Boolean(anchorEl),
|
|
@@ -2550,10 +2600,10 @@ var ServiceSelectorButton = ({
|
|
|
2550
2600
|
)
|
|
2551
2601
|
] });
|
|
2552
2602
|
}
|
|
2553
|
-
return /* @__PURE__ */
|
|
2554
|
-
/* @__PURE__ */
|
|
2555
|
-
selectedService ? /* @__PURE__ */
|
|
2556
|
-
isManager ? /* @__PURE__ */
|
|
2603
|
+
return /* @__PURE__ */ jsxs6(Fragment2, { children: [
|
|
2604
|
+
/* @__PURE__ */ jsxs6(Box2, { sx: { display: "flex", alignItems: "center", ...sx }, children: [
|
|
2605
|
+
selectedService ? /* @__PURE__ */ jsxs6(Fragment2, { children: [
|
|
2606
|
+
isManager ? /* @__PURE__ */ jsxs6(
|
|
2557
2607
|
Link,
|
|
2558
2608
|
{
|
|
2559
2609
|
underline: "hover",
|
|
@@ -2567,7 +2617,7 @@ var ServiceSelectorButton = ({
|
|
|
2567
2617
|
mr: 0.5
|
|
2568
2618
|
},
|
|
2569
2619
|
children: [
|
|
2570
|
-
/* @__PURE__ */
|
|
2620
|
+
/* @__PURE__ */ jsx18(
|
|
2571
2621
|
Avatar,
|
|
2572
2622
|
{
|
|
2573
2623
|
sx: {
|
|
@@ -2583,7 +2633,7 @@ var ServiceSelectorButton = ({
|
|
|
2583
2633
|
selectedService.name
|
|
2584
2634
|
]
|
|
2585
2635
|
}
|
|
2586
|
-
) : /* @__PURE__ */
|
|
2636
|
+
) : /* @__PURE__ */ jsxs6(
|
|
2587
2637
|
Box2,
|
|
2588
2638
|
{
|
|
2589
2639
|
sx: {
|
|
@@ -2594,7 +2644,7 @@ var ServiceSelectorButton = ({
|
|
|
2594
2644
|
color: "text.primary"
|
|
2595
2645
|
},
|
|
2596
2646
|
children: [
|
|
2597
|
-
/* @__PURE__ */
|
|
2647
|
+
/* @__PURE__ */ jsx18(
|
|
2598
2648
|
Avatar,
|
|
2599
2649
|
{
|
|
2600
2650
|
sx: {
|
|
@@ -2611,7 +2661,7 @@ var ServiceSelectorButton = ({
|
|
|
2611
2661
|
]
|
|
2612
2662
|
}
|
|
2613
2663
|
),
|
|
2614
|
-
selectedService.archived && /* @__PURE__ */
|
|
2664
|
+
selectedService.archived && /* @__PURE__ */ jsx18(
|
|
2615
2665
|
Chip,
|
|
2616
2666
|
{
|
|
2617
2667
|
size: "small",
|
|
@@ -2627,8 +2677,8 @@ var ServiceSelectorButton = ({
|
|
|
2627
2677
|
}
|
|
2628
2678
|
}
|
|
2629
2679
|
)
|
|
2630
|
-
] }) : /* @__PURE__ */
|
|
2631
|
-
|
|
2680
|
+
] }) : /* @__PURE__ */ jsx18(
|
|
2681
|
+
Typography3,
|
|
2632
2682
|
{
|
|
2633
2683
|
variant: "body2",
|
|
2634
2684
|
color: "text.secondary",
|
|
@@ -2638,7 +2688,7 @@ var ServiceSelectorButton = ({
|
|
|
2638
2688
|
children: "Select Service"
|
|
2639
2689
|
}
|
|
2640
2690
|
),
|
|
2641
|
-
/* @__PURE__ */
|
|
2691
|
+
/* @__PURE__ */ jsx18(
|
|
2642
2692
|
IconButton2,
|
|
2643
2693
|
{
|
|
2644
2694
|
onClick: handleOpenSelector,
|
|
@@ -2648,11 +2698,11 @@ var ServiceSelectorButton = ({
|
|
|
2648
2698
|
ml: 0.5,
|
|
2649
2699
|
color: "text.secondary"
|
|
2650
2700
|
},
|
|
2651
|
-
children: /* @__PURE__ */
|
|
2701
|
+
children: /* @__PURE__ */ jsx18(KeyboardArrowDownIcon, { fontSize: "small" })
|
|
2652
2702
|
}
|
|
2653
2703
|
)
|
|
2654
2704
|
] }),
|
|
2655
|
-
/* @__PURE__ */
|
|
2705
|
+
/* @__PURE__ */ jsx18(
|
|
2656
2706
|
ServiceSelectorPanel,
|
|
2657
2707
|
{
|
|
2658
2708
|
open: Boolean(anchorEl),
|
|
@@ -2721,7 +2771,7 @@ var ServiceSelectorPanel = ({
|
|
|
2721
2771
|
}
|
|
2722
2772
|
}
|
|
2723
2773
|
};
|
|
2724
|
-
return /* @__PURE__ */
|
|
2774
|
+
return /* @__PURE__ */ jsxs6(
|
|
2725
2775
|
Menu,
|
|
2726
2776
|
{
|
|
2727
2777
|
anchorEl,
|
|
@@ -2746,7 +2796,7 @@ var ServiceSelectorPanel = ({
|
|
|
2746
2796
|
}
|
|
2747
2797
|
},
|
|
2748
2798
|
children: [
|
|
2749
|
-
selectedService && /* @__PURE__ */
|
|
2799
|
+
selectedService && /* @__PURE__ */ jsxs6(
|
|
2750
2800
|
Box2,
|
|
2751
2801
|
{
|
|
2752
2802
|
sx: {
|
|
@@ -2758,12 +2808,12 @@ var ServiceSelectorPanel = ({
|
|
|
2758
2808
|
borderColor: "divider"
|
|
2759
2809
|
},
|
|
2760
2810
|
children: [
|
|
2761
|
-
/* @__PURE__ */
|
|
2811
|
+
/* @__PURE__ */ jsxs6(Box2, { sx: {
|
|
2762
2812
|
display: "flex",
|
|
2763
2813
|
alignItems: "center",
|
|
2764
2814
|
mb: 1.5
|
|
2765
2815
|
}, children: [
|
|
2766
|
-
/* @__PURE__ */
|
|
2816
|
+
/* @__PURE__ */ jsx18(
|
|
2767
2817
|
Avatar,
|
|
2768
2818
|
{
|
|
2769
2819
|
sx: {
|
|
@@ -2776,9 +2826,9 @@ var ServiceSelectorPanel = ({
|
|
|
2776
2826
|
children: selectedService.name.charAt(0)
|
|
2777
2827
|
}
|
|
2778
2828
|
),
|
|
2779
|
-
/* @__PURE__ */
|
|
2780
|
-
/* @__PURE__ */
|
|
2781
|
-
/* @__PURE__ */
|
|
2829
|
+
/* @__PURE__ */ jsx18(Box2, { sx: { flex: 1 }, children: /* @__PURE__ */ jsxs6(Box2, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
2830
|
+
/* @__PURE__ */ jsx18(Typography3, { variant: "subtitle1", sx: { fontWeight: 600, fontSize: "1rem" }, children: selectedService.name }),
|
|
2831
|
+
/* @__PURE__ */ jsx18(
|
|
2782
2832
|
Box2,
|
|
2783
2833
|
{
|
|
2784
2834
|
sx: {
|
|
@@ -2797,11 +2847,11 @@ var ServiceSelectorPanel = ({
|
|
|
2797
2847
|
)
|
|
2798
2848
|
] }) })
|
|
2799
2849
|
] }),
|
|
2800
|
-
(onOpenSettings || onOpenAddMember) && /* @__PURE__ */
|
|
2801
|
-
onOpenAddMember && /* @__PURE__ */
|
|
2850
|
+
(onOpenSettings || onOpenAddMember) && /* @__PURE__ */ jsxs6(Box2, { sx: { display: "flex", gap: 1 }, children: [
|
|
2851
|
+
onOpenAddMember && /* @__PURE__ */ jsx18(
|
|
2802
2852
|
Button3,
|
|
2803
2853
|
{
|
|
2804
|
-
startIcon: /* @__PURE__ */
|
|
2854
|
+
startIcon: /* @__PURE__ */ jsx18(PersonAddAltIcon, {}),
|
|
2805
2855
|
variant: "outlined",
|
|
2806
2856
|
size: "small",
|
|
2807
2857
|
onClick: (e) => {
|
|
@@ -2831,10 +2881,10 @@ var ServiceSelectorPanel = ({
|
|
|
2831
2881
|
children: "Add member"
|
|
2832
2882
|
}
|
|
2833
2883
|
),
|
|
2834
|
-
onOpenSettings && /* @__PURE__ */
|
|
2884
|
+
onOpenSettings && /* @__PURE__ */ jsx18(
|
|
2835
2885
|
Button3,
|
|
2836
2886
|
{
|
|
2837
|
-
startIcon: /* @__PURE__ */
|
|
2887
|
+
startIcon: /* @__PURE__ */ jsx18(SettingsIcon, {}),
|
|
2838
2888
|
variant: "outlined",
|
|
2839
2889
|
size: "small",
|
|
2840
2890
|
onClick: (e) => {
|
|
@@ -2868,9 +2918,9 @@ var ServiceSelectorPanel = ({
|
|
|
2868
2918
|
]
|
|
2869
2919
|
}
|
|
2870
2920
|
),
|
|
2871
|
-
/* @__PURE__ */
|
|
2872
|
-
/* @__PURE__ */
|
|
2873
|
-
/* @__PURE__ */
|
|
2921
|
+
/* @__PURE__ */ jsxs6(Box2, { sx: { px: 2, pt: 2, pb: 1.5 }, children: [
|
|
2922
|
+
/* @__PURE__ */ jsxs6(Box2, { sx: { display: "flex", alignItems: "center", mb: 1.5 }, children: [
|
|
2923
|
+
/* @__PURE__ */ jsx18(
|
|
2874
2924
|
TextField2,
|
|
2875
2925
|
{
|
|
2876
2926
|
size: "small",
|
|
@@ -2879,7 +2929,7 @@ var ServiceSelectorPanel = ({
|
|
|
2879
2929
|
onChange: (e) => setSearchTerm(e.target.value),
|
|
2880
2930
|
sx: { flex: 1 },
|
|
2881
2931
|
InputProps: {
|
|
2882
|
-
startAdornment: /* @__PURE__ */
|
|
2932
|
+
startAdornment: /* @__PURE__ */ jsx18(InputAdornment3, { position: "start", children: /* @__PURE__ */ jsx18(SearchIcon2, { fontSize: "small", color: "action" }) }),
|
|
2883
2933
|
sx: {
|
|
2884
2934
|
borderRadius: 1.5,
|
|
2885
2935
|
backgroundColor: "rgba(0, 0, 0, 0.04)",
|
|
@@ -2889,18 +2939,18 @@ var ServiceSelectorPanel = ({
|
|
|
2889
2939
|
}
|
|
2890
2940
|
}
|
|
2891
2941
|
),
|
|
2892
|
-
/* @__PURE__ */
|
|
2942
|
+
/* @__PURE__ */ jsx18(Tooltip, { title: showArchived ? "Show active" : "Show archived", children: /* @__PURE__ */ jsx18(
|
|
2893
2943
|
IconButton2,
|
|
2894
2944
|
{
|
|
2895
2945
|
size: "small",
|
|
2896
2946
|
onClick: toggleArchived,
|
|
2897
2947
|
color: showArchived ? "primary" : "default",
|
|
2898
2948
|
sx: { ml: 1 },
|
|
2899
|
-
children: showArchived ? /* @__PURE__ */
|
|
2949
|
+
children: showArchived ? /* @__PURE__ */ jsx18(UnarchiveIcon, { fontSize: "small" }) : /* @__PURE__ */ jsx18(ArchiveIcon, { fontSize: "small" })
|
|
2900
2950
|
}
|
|
2901
2951
|
) })
|
|
2902
2952
|
] }),
|
|
2903
|
-
/* @__PURE__ */
|
|
2953
|
+
/* @__PURE__ */ jsx18(
|
|
2904
2954
|
Box2,
|
|
2905
2955
|
{
|
|
2906
2956
|
sx: {
|
|
@@ -2908,9 +2958,9 @@ var ServiceSelectorPanel = ({
|
|
|
2908
2958
|
overflow: "auto",
|
|
2909
2959
|
py: 1
|
|
2910
2960
|
},
|
|
2911
|
-
children: loading ? /* @__PURE__ */
|
|
2912
|
-
/* @__PURE__ */
|
|
2913
|
-
|
|
2961
|
+
children: loading ? /* @__PURE__ */ jsx18(Box2, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx18(Typography3, { variant: "body2", color: "text.secondary", children: "Loading services..." }) }) : filteredServices.length === 0 ? /* @__PURE__ */ jsx18(Box2, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx18(Typography3, { variant: "body2", color: "text.secondary", children: searchTerm ? `No ${showArchived ? "archived " : ""}services matching "${searchTerm}"` : showArchived ? "No archived services found" : "No active services found" }) }) : /* @__PURE__ */ jsxs6(Fragment2, { children: [
|
|
2962
|
+
/* @__PURE__ */ jsxs6(
|
|
2963
|
+
Typography3,
|
|
2914
2964
|
{
|
|
2915
2965
|
variant: "caption",
|
|
2916
2966
|
sx: {
|
|
@@ -2925,7 +2975,7 @@ var ServiceSelectorPanel = ({
|
|
|
2925
2975
|
},
|
|
2926
2976
|
children: [
|
|
2927
2977
|
"Services",
|
|
2928
|
-
showArchived && /* @__PURE__ */
|
|
2978
|
+
showArchived && /* @__PURE__ */ jsx18(
|
|
2929
2979
|
Chip,
|
|
2930
2980
|
{
|
|
2931
2981
|
size: "small",
|
|
@@ -2944,7 +2994,7 @@ var ServiceSelectorPanel = ({
|
|
|
2944
2994
|
]
|
|
2945
2995
|
}
|
|
2946
2996
|
),
|
|
2947
|
-
/* @__PURE__ */
|
|
2997
|
+
/* @__PURE__ */ jsx18(List2, { disablePadding: true, children: filteredServices.map((service) => /* @__PURE__ */ jsxs6(
|
|
2948
2998
|
ListItem,
|
|
2949
2999
|
{
|
|
2950
3000
|
sx: {
|
|
@@ -2958,7 +3008,7 @@ var ServiceSelectorPanel = ({
|
|
|
2958
3008
|
position: "relative"
|
|
2959
3009
|
},
|
|
2960
3010
|
onClick: () => onSelectService(service.id),
|
|
2961
|
-
secondaryAction: service.id === selectedServiceId ? /* @__PURE__ */
|
|
3011
|
+
secondaryAction: service.id === selectedServiceId ? /* @__PURE__ */ jsx18(
|
|
2962
3012
|
CheckIcon,
|
|
2963
3013
|
{
|
|
2964
3014
|
sx: {
|
|
@@ -2968,7 +3018,7 @@ var ServiceSelectorPanel = ({
|
|
|
2968
3018
|
}
|
|
2969
3019
|
) : null,
|
|
2970
3020
|
children: [
|
|
2971
|
-
/* @__PURE__ */
|
|
3021
|
+
/* @__PURE__ */ jsx18(ListItemAvatar, { sx: { minWidth: 40 }, children: /* @__PURE__ */ jsx18(
|
|
2972
3022
|
Avatar,
|
|
2973
3023
|
{
|
|
2974
3024
|
sx: {
|
|
@@ -2981,11 +3031,11 @@ var ServiceSelectorPanel = ({
|
|
|
2981
3031
|
children: service.name.charAt(0)
|
|
2982
3032
|
}
|
|
2983
3033
|
) }),
|
|
2984
|
-
/* @__PURE__ */
|
|
3034
|
+
/* @__PURE__ */ jsx18(
|
|
2985
3035
|
ListItemText2,
|
|
2986
3036
|
{
|
|
2987
|
-
primary: /* @__PURE__ */
|
|
2988
|
-
|
|
3037
|
+
primary: /* @__PURE__ */ jsx18(Box2, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: /* @__PURE__ */ jsx18(
|
|
3038
|
+
Typography3,
|
|
2989
3039
|
{
|
|
2990
3040
|
variant: "body2",
|
|
2991
3041
|
sx: {
|
|
@@ -3006,7 +3056,7 @@ var ServiceSelectorPanel = ({
|
|
|
3006
3056
|
] })
|
|
3007
3057
|
}
|
|
3008
3058
|
),
|
|
3009
|
-
/* @__PURE__ */
|
|
3059
|
+
/* @__PURE__ */ jsx18(
|
|
3010
3060
|
Box2,
|
|
3011
3061
|
{
|
|
3012
3062
|
sx: {
|
|
@@ -3016,12 +3066,12 @@ var ServiceSelectorPanel = ({
|
|
|
3016
3066
|
borderTop: 1,
|
|
3017
3067
|
borderColor: "divider"
|
|
3018
3068
|
},
|
|
3019
|
-
children: /* @__PURE__ */
|
|
3069
|
+
children: /* @__PURE__ */ jsx18(
|
|
3020
3070
|
Button3,
|
|
3021
3071
|
{
|
|
3022
3072
|
fullWidth: true,
|
|
3023
3073
|
variant: "text",
|
|
3024
|
-
startIcon: /* @__PURE__ */
|
|
3074
|
+
startIcon: /* @__PURE__ */ jsx18(AddIcon, {}),
|
|
3025
3075
|
onClick: handleCreateClick,
|
|
3026
3076
|
sx: {
|
|
3027
3077
|
textTransform: "none",
|
|
@@ -3049,7 +3099,7 @@ var ServiceSelectorPanel = ({
|
|
|
3049
3099
|
import React2, { useState as useState2, useCallback as useCallback3 } from "react";
|
|
3050
3100
|
import {
|
|
3051
3101
|
Box as Box3,
|
|
3052
|
-
Typography as
|
|
3102
|
+
Typography as Typography4,
|
|
3053
3103
|
Avatar as Avatar2,
|
|
3054
3104
|
IconButton as IconButton3,
|
|
3055
3105
|
Link as Link2,
|
|
@@ -3066,7 +3116,7 @@ import KeyboardArrowDownIcon2 from "@mui/icons-material/KeyboardArrowDown";
|
|
|
3066
3116
|
import SearchIcon3 from "@mui/icons-material/Search";
|
|
3067
3117
|
import AddIcon2 from "@mui/icons-material/Add";
|
|
3068
3118
|
import CheckIcon2 from "@mui/icons-material/Check";
|
|
3069
|
-
import { Fragment as Fragment3, jsx as
|
|
3119
|
+
import { Fragment as Fragment3, jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
3070
3120
|
var WorkspaceSelectorButton = ({
|
|
3071
3121
|
workspaces,
|
|
3072
3122
|
selectedWorkspaceId,
|
|
@@ -3098,9 +3148,9 @@ var WorkspaceSelectorButton = ({
|
|
|
3098
3148
|
if (!workspaces || workspaces.length === 0) {
|
|
3099
3149
|
return null;
|
|
3100
3150
|
}
|
|
3101
|
-
return /* @__PURE__ */
|
|
3102
|
-
/* @__PURE__ */
|
|
3103
|
-
selectedWorkspace ? /* @__PURE__ */
|
|
3151
|
+
return /* @__PURE__ */ jsxs7(Fragment3, { children: [
|
|
3152
|
+
/* @__PURE__ */ jsxs7(Box3, { sx: { display: "flex", alignItems: "center", ...sx }, children: [
|
|
3153
|
+
selectedWorkspace ? /* @__PURE__ */ jsx19(Fragment3, { children: /* @__PURE__ */ jsxs7(
|
|
3104
3154
|
Link2,
|
|
3105
3155
|
{
|
|
3106
3156
|
underline: "hover",
|
|
@@ -3119,7 +3169,7 @@ var WorkspaceSelectorButton = ({
|
|
|
3119
3169
|
mr: 0.5
|
|
3120
3170
|
},
|
|
3121
3171
|
children: [
|
|
3122
|
-
/* @__PURE__ */
|
|
3172
|
+
/* @__PURE__ */ jsx19(
|
|
3123
3173
|
Avatar2,
|
|
3124
3174
|
{
|
|
3125
3175
|
sx: {
|
|
@@ -3135,8 +3185,8 @@ var WorkspaceSelectorButton = ({
|
|
|
3135
3185
|
selectedWorkspace.name
|
|
3136
3186
|
]
|
|
3137
3187
|
}
|
|
3138
|
-
) }) : /* @__PURE__ */
|
|
3139
|
-
|
|
3188
|
+
) }) : /* @__PURE__ */ jsx19(
|
|
3189
|
+
Typography4,
|
|
3140
3190
|
{
|
|
3141
3191
|
variant: "body2",
|
|
3142
3192
|
color: "text.secondary",
|
|
@@ -3146,7 +3196,7 @@ var WorkspaceSelectorButton = ({
|
|
|
3146
3196
|
children: "Select Workspace"
|
|
3147
3197
|
}
|
|
3148
3198
|
),
|
|
3149
|
-
/* @__PURE__ */
|
|
3199
|
+
/* @__PURE__ */ jsx19(
|
|
3150
3200
|
IconButton3,
|
|
3151
3201
|
{
|
|
3152
3202
|
onClick: handleOpenSelector,
|
|
@@ -3156,11 +3206,11 @@ var WorkspaceSelectorButton = ({
|
|
|
3156
3206
|
ml: 0.5,
|
|
3157
3207
|
color: "text.secondary"
|
|
3158
3208
|
},
|
|
3159
|
-
children: /* @__PURE__ */
|
|
3209
|
+
children: /* @__PURE__ */ jsx19(KeyboardArrowDownIcon2, { fontSize: "small" })
|
|
3160
3210
|
}
|
|
3161
3211
|
)
|
|
3162
3212
|
] }),
|
|
3163
|
-
/* @__PURE__ */
|
|
3213
|
+
/* @__PURE__ */ jsx19(
|
|
3164
3214
|
WorkspaceSelectorPanel,
|
|
3165
3215
|
{
|
|
3166
3216
|
open: Boolean(anchorEl),
|
|
@@ -3206,7 +3256,7 @@ var WorkspaceSelectorPanel = ({
|
|
|
3206
3256
|
onSelectWorkspace(workspaceId);
|
|
3207
3257
|
onClose();
|
|
3208
3258
|
};
|
|
3209
|
-
return /* @__PURE__ */
|
|
3259
|
+
return /* @__PURE__ */ jsx19(
|
|
3210
3260
|
Menu2,
|
|
3211
3261
|
{
|
|
3212
3262
|
open,
|
|
@@ -3222,8 +3272,8 @@ var WorkspaceSelectorPanel = ({
|
|
|
3222
3272
|
borderRadius: 2
|
|
3223
3273
|
}
|
|
3224
3274
|
},
|
|
3225
|
-
children: /* @__PURE__ */
|
|
3226
|
-
/* @__PURE__ */
|
|
3275
|
+
children: /* @__PURE__ */ jsxs7(Box3, { children: [
|
|
3276
|
+
/* @__PURE__ */ jsx19(Box3, { sx: { px: 2, pt: 2, pb: 1.5 }, children: /* @__PURE__ */ jsx19(
|
|
3227
3277
|
TextField3,
|
|
3228
3278
|
{
|
|
3229
3279
|
fullWidth: true,
|
|
@@ -3232,11 +3282,11 @@ var WorkspaceSelectorPanel = ({
|
|
|
3232
3282
|
value: searchTerm,
|
|
3233
3283
|
onChange: (e) => setSearchTerm(e.target.value),
|
|
3234
3284
|
InputProps: {
|
|
3235
|
-
startAdornment: /* @__PURE__ */
|
|
3285
|
+
startAdornment: /* @__PURE__ */ jsx19(InputAdornment4, { position: "start", children: /* @__PURE__ */ jsx19(SearchIcon3, { fontSize: "small" }) })
|
|
3236
3286
|
}
|
|
3237
3287
|
}
|
|
3238
3288
|
) }),
|
|
3239
|
-
/* @__PURE__ */
|
|
3289
|
+
/* @__PURE__ */ jsx19(Box3, { sx: { maxHeight: 400, overflowY: "auto" }, children: loading ? /* @__PURE__ */ jsx19(Box3, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx19(Typography4, { variant: "body2", color: "text.secondary", children: "Loading..." }) }) : filteredWorkspaces.length === 0 ? /* @__PURE__ */ jsx19(Box3, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx19(Typography4, { variant: "body2", color: "text.secondary", children: "No workspaces found" }) }) : /* @__PURE__ */ jsx19(List3, { dense: true, children: filteredWorkspaces.map((workspace) => /* @__PURE__ */ jsxs7(
|
|
3240
3290
|
ListItem2,
|
|
3241
3291
|
{
|
|
3242
3292
|
onClick: () => handleSelect(workspace.id),
|
|
@@ -3249,19 +3299,19 @@ var WorkspaceSelectorPanel = ({
|
|
|
3249
3299
|
}
|
|
3250
3300
|
},
|
|
3251
3301
|
children: [
|
|
3252
|
-
/* @__PURE__ */
|
|
3302
|
+
/* @__PURE__ */ jsx19(ListItemAvatar2, { children: /* @__PURE__ */ jsx19(
|
|
3253
3303
|
Avatar2,
|
|
3254
3304
|
{
|
|
3255
3305
|
sx: { width: 32, height: 32, bgcolor: "secondary.main" },
|
|
3256
3306
|
children: workspace.name.charAt(0)
|
|
3257
3307
|
}
|
|
3258
3308
|
) }),
|
|
3259
|
-
/* @__PURE__ */
|
|
3309
|
+
/* @__PURE__ */ jsx19(
|
|
3260
3310
|
ListItemText3,
|
|
3261
3311
|
{
|
|
3262
|
-
primary: /* @__PURE__ */
|
|
3263
|
-
/* @__PURE__ */
|
|
3264
|
-
workspace.id === selectedWorkspaceId && /* @__PURE__ */
|
|
3312
|
+
primary: /* @__PURE__ */ jsxs7(Box3, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
3313
|
+
/* @__PURE__ */ jsx19(Typography4, { variant: "body2", fontWeight: 500, children: workspace.name }),
|
|
3314
|
+
workspace.id === selectedWorkspaceId && /* @__PURE__ */ jsx19(CheckIcon2, { fontSize: "small", color: "primary" })
|
|
3265
3315
|
] }),
|
|
3266
3316
|
secondary: workspace.description
|
|
3267
3317
|
}
|
|
@@ -3270,7 +3320,7 @@ var WorkspaceSelectorPanel = ({
|
|
|
3270
3320
|
},
|
|
3271
3321
|
workspace.id
|
|
3272
3322
|
)) }) }),
|
|
3273
|
-
/* @__PURE__ */
|
|
3323
|
+
/* @__PURE__ */ jsx19(
|
|
3274
3324
|
Box3,
|
|
3275
3325
|
{
|
|
3276
3326
|
sx: {
|
|
@@ -3280,12 +3330,12 @@ var WorkspaceSelectorPanel = ({
|
|
|
3280
3330
|
borderTop: 1,
|
|
3281
3331
|
borderColor: "divider"
|
|
3282
3332
|
},
|
|
3283
|
-
children: /* @__PURE__ */
|
|
3333
|
+
children: /* @__PURE__ */ jsx19(
|
|
3284
3334
|
Button4,
|
|
3285
3335
|
{
|
|
3286
3336
|
fullWidth: true,
|
|
3287
3337
|
variant: "text",
|
|
3288
|
-
startIcon: /* @__PURE__ */
|
|
3338
|
+
startIcon: /* @__PURE__ */ jsx19(AddIcon2, {}),
|
|
3289
3339
|
onClick: handleCreateClick,
|
|
3290
3340
|
sx: {
|
|
3291
3341
|
textTransform: "none",
|
|
@@ -3316,21 +3366,21 @@ import {
|
|
|
3316
3366
|
StepContent as MuiStepContent,
|
|
3317
3367
|
StepButton as MuiStepButton
|
|
3318
3368
|
} from "@mui/material";
|
|
3319
|
-
import { jsx as
|
|
3369
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
3320
3370
|
var Stepper = (props) => {
|
|
3321
|
-
return /* @__PURE__ */
|
|
3371
|
+
return /* @__PURE__ */ jsx20(MuiStepper, { ...props });
|
|
3322
3372
|
};
|
|
3323
3373
|
var Step = (props) => {
|
|
3324
|
-
return /* @__PURE__ */
|
|
3374
|
+
return /* @__PURE__ */ jsx20(MuiStep, { ...props });
|
|
3325
3375
|
};
|
|
3326
3376
|
var StepLabel = (props) => {
|
|
3327
|
-
return /* @__PURE__ */
|
|
3377
|
+
return /* @__PURE__ */ jsx20(MuiStepLabel, { ...props });
|
|
3328
3378
|
};
|
|
3329
3379
|
var StepContent = (props) => {
|
|
3330
|
-
return /* @__PURE__ */
|
|
3380
|
+
return /* @__PURE__ */ jsx20(MuiStepContent, { ...props });
|
|
3331
3381
|
};
|
|
3332
3382
|
var StepButton = (props) => {
|
|
3333
|
-
return /* @__PURE__ */
|
|
3383
|
+
return /* @__PURE__ */ jsx20(MuiStepButton, { ...props });
|
|
3334
3384
|
};
|
|
3335
3385
|
|
|
3336
3386
|
// src/components/navigation/SideNav/SideNav.tsx
|
|
@@ -3356,7 +3406,7 @@ var scrollbarStyles = {
|
|
|
3356
3406
|
};
|
|
3357
3407
|
|
|
3358
3408
|
// src/components/navigation/SideNav/SideNav.tsx
|
|
3359
|
-
import { jsx as
|
|
3409
|
+
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
3360
3410
|
var SideNavContext = React3.createContext({
|
|
3361
3411
|
collapsed: false,
|
|
3362
3412
|
showTooltips: true
|
|
@@ -3406,7 +3456,7 @@ var Header = React3.memo(({ children, className }) => {
|
|
|
3406
3456
|
}
|
|
3407
3457
|
return child;
|
|
3408
3458
|
});
|
|
3409
|
-
return /* @__PURE__ */
|
|
3459
|
+
return /* @__PURE__ */ jsx21(HeaderSection, { className, "data-testid": "sidenav-header", children: enhancedChildren });
|
|
3410
3460
|
});
|
|
3411
3461
|
Header.displayName = "SideNav.Header";
|
|
3412
3462
|
var Navigation = React3.memo(({ children, className }) => {
|
|
@@ -3420,7 +3470,7 @@ var Navigation = React3.memo(({ children, className }) => {
|
|
|
3420
3470
|
}
|
|
3421
3471
|
return child;
|
|
3422
3472
|
});
|
|
3423
|
-
return /* @__PURE__ */
|
|
3473
|
+
return /* @__PURE__ */ jsx21(NavigationSection, { className, "data-testid": "sidenav-navigation", children: enhancedChildren });
|
|
3424
3474
|
});
|
|
3425
3475
|
Navigation.displayName = "SideNav.Navigation";
|
|
3426
3476
|
var Footer = React3.memo(({ children, className }) => {
|
|
@@ -3433,7 +3483,7 @@ var Footer = React3.memo(({ children, className }) => {
|
|
|
3433
3483
|
}
|
|
3434
3484
|
return child;
|
|
3435
3485
|
});
|
|
3436
|
-
return /* @__PURE__ */
|
|
3486
|
+
return /* @__PURE__ */ jsx21(FooterSection, { className, "data-testid": "sidenav-footer", children: enhancedChildren });
|
|
3437
3487
|
});
|
|
3438
3488
|
Footer.displayName = "SideNav.Footer";
|
|
3439
3489
|
var SideNav = Object.assign(
|
|
@@ -3469,7 +3519,7 @@ var SideNav = Object.assign(
|
|
|
3469
3519
|
showTooltips,
|
|
3470
3520
|
onToggleCollapse: handleToggleCollapse
|
|
3471
3521
|
};
|
|
3472
|
-
return /* @__PURE__ */
|
|
3522
|
+
return /* @__PURE__ */ jsx21(SideNavContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx21(
|
|
3473
3523
|
SideNavContainer,
|
|
3474
3524
|
{
|
|
3475
3525
|
role: "navigation",
|
|
@@ -3496,11 +3546,11 @@ SideNav.displayName = "SideNav";
|
|
|
3496
3546
|
|
|
3497
3547
|
// src/components/navigation/SideNav/SideNavHeader.tsx
|
|
3498
3548
|
import React4 from "react";
|
|
3499
|
-
import { Box as Box5, Typography as
|
|
3549
|
+
import { Box as Box5, Typography as Typography5, IconButton as IconButton4, Tooltip as Tooltip2, ButtonBase } from "@mui/material";
|
|
3500
3550
|
import { styled as styled12 } from "@mui/material/styles";
|
|
3501
3551
|
import ChevronLeftIcon from "@mui/icons-material/ChevronLeft";
|
|
3502
3552
|
import ChevronRightIcon from "@mui/icons-material/ChevronRight";
|
|
3503
|
-
import { Fragment as Fragment4, jsx as
|
|
3553
|
+
import { Fragment as Fragment4, jsx as jsx22, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
3504
3554
|
var HeaderContainer = styled12(Box5, {
|
|
3505
3555
|
shouldForwardProp: (prop) => prop !== "isCollapsed"
|
|
3506
3556
|
})(({ theme: theme2, isCollapsed }) => ({
|
|
@@ -3541,8 +3591,8 @@ var SideNavHeader = React4.memo(({
|
|
|
3541
3591
|
collapsed = false
|
|
3542
3592
|
}) => {
|
|
3543
3593
|
const headerAriaLabel = ariaLabel || `${title} navigation header`;
|
|
3544
|
-
const brandingContent = /* @__PURE__ */
|
|
3545
|
-
logo && /* @__PURE__ */
|
|
3594
|
+
const brandingContent = /* @__PURE__ */ jsxs8(Fragment4, { children: [
|
|
3595
|
+
logo && /* @__PURE__ */ jsx22(
|
|
3546
3596
|
Box5,
|
|
3547
3597
|
{
|
|
3548
3598
|
sx: {
|
|
@@ -3554,8 +3604,8 @@ var SideNavHeader = React4.memo(({
|
|
|
3554
3604
|
children: logo
|
|
3555
3605
|
}
|
|
3556
3606
|
),
|
|
3557
|
-
!collapsed && /* @__PURE__ */
|
|
3558
|
-
|
|
3607
|
+
!collapsed && /* @__PURE__ */ jsx22(
|
|
3608
|
+
Typography5,
|
|
3559
3609
|
{
|
|
3560
3610
|
variant: "subtitle1",
|
|
3561
3611
|
sx: {
|
|
@@ -3569,14 +3619,14 @@ var SideNavHeader = React4.memo(({
|
|
|
3569
3619
|
}
|
|
3570
3620
|
)
|
|
3571
3621
|
] });
|
|
3572
|
-
return /* @__PURE__ */
|
|
3622
|
+
return /* @__PURE__ */ jsxs8(
|
|
3573
3623
|
HeaderContainer,
|
|
3574
3624
|
{
|
|
3575
3625
|
"data-testid": "sidenav-header-content",
|
|
3576
3626
|
"aria-label": headerAriaLabel,
|
|
3577
3627
|
isCollapsed: collapsed,
|
|
3578
3628
|
children: [
|
|
3579
|
-
onLogoClick ? /* @__PURE__ */
|
|
3629
|
+
onLogoClick ? /* @__PURE__ */ jsx22(
|
|
3580
3630
|
BrandingButton,
|
|
3581
3631
|
{
|
|
3582
3632
|
onClick: onLogoClick,
|
|
@@ -3584,7 +3634,7 @@ var SideNavHeader = React4.memo(({
|
|
|
3584
3634
|
"data-testid": "sidenav-home-link",
|
|
3585
3635
|
children: brandingContent
|
|
3586
3636
|
}
|
|
3587
|
-
) : /* @__PURE__ */
|
|
3637
|
+
) : /* @__PURE__ */ jsx22(
|
|
3588
3638
|
Box5,
|
|
3589
3639
|
{
|
|
3590
3640
|
sx: {
|
|
@@ -3596,13 +3646,13 @@ var SideNavHeader = React4.memo(({
|
|
|
3596
3646
|
children: brandingContent
|
|
3597
3647
|
}
|
|
3598
3648
|
),
|
|
3599
|
-
showCollapseButton && /* @__PURE__ */
|
|
3649
|
+
showCollapseButton && /* @__PURE__ */ jsx22(
|
|
3600
3650
|
Tooltip2,
|
|
3601
3651
|
{
|
|
3602
3652
|
title: collapsed ? "Expand navigation" : "Collapse navigation",
|
|
3603
3653
|
placement: "right",
|
|
3604
3654
|
arrow: true,
|
|
3605
|
-
children: /* @__PURE__ */
|
|
3655
|
+
children: /* @__PURE__ */ jsx22(
|
|
3606
3656
|
IconButton4,
|
|
3607
3657
|
{
|
|
3608
3658
|
onClick: onCollapse,
|
|
@@ -3618,7 +3668,7 @@ var SideNavHeader = React4.memo(({
|
|
|
3618
3668
|
color: "text.primary"
|
|
3619
3669
|
}
|
|
3620
3670
|
},
|
|
3621
|
-
children: collapsed ? /* @__PURE__ */
|
|
3671
|
+
children: collapsed ? /* @__PURE__ */ jsx22(ChevronRightIcon, {}) : /* @__PURE__ */ jsx22(ChevronLeftIcon, {})
|
|
3622
3672
|
}
|
|
3623
3673
|
)
|
|
3624
3674
|
}
|
|
@@ -3643,7 +3693,7 @@ import {
|
|
|
3643
3693
|
Tooltip as Tooltip3
|
|
3644
3694
|
} from "@mui/material";
|
|
3645
3695
|
import { styled as styled13 } from "@mui/material/styles";
|
|
3646
|
-
import { jsx as
|
|
3696
|
+
import { jsx as jsx23, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
3647
3697
|
var StyledListItemButton2 = styled13(ListItemButton2, {
|
|
3648
3698
|
shouldForwardProp: (prop) => !["selected", "size", "iconPosition", "isCollapsed"].includes(prop)
|
|
3649
3699
|
})(({ theme: theme2, selected, size: size3, isCollapsed }) => {
|
|
@@ -3727,7 +3777,7 @@ var NavigationItem = React5.memo(({
|
|
|
3727
3777
|
onClick(id);
|
|
3728
3778
|
}
|
|
3729
3779
|
};
|
|
3730
|
-
const iconElement = icon && /* @__PURE__ */
|
|
3780
|
+
const iconElement = icon && /* @__PURE__ */ jsx23(
|
|
3731
3781
|
ListItemIcon2,
|
|
3732
3782
|
{
|
|
3733
3783
|
sx: {
|
|
@@ -3741,7 +3791,7 @@ var NavigationItem = React5.memo(({
|
|
|
3741
3791
|
children: icon
|
|
3742
3792
|
}
|
|
3743
3793
|
);
|
|
3744
|
-
const labelElement = /* @__PURE__ */
|
|
3794
|
+
const labelElement = /* @__PURE__ */ jsx23(
|
|
3745
3795
|
ListItemText4,
|
|
3746
3796
|
{
|
|
3747
3797
|
primary: label,
|
|
@@ -3760,7 +3810,7 @@ var NavigationItem = React5.memo(({
|
|
|
3760
3810
|
}
|
|
3761
3811
|
}
|
|
3762
3812
|
);
|
|
3763
|
-
const buttonContent = /* @__PURE__ */
|
|
3813
|
+
const buttonContent = /* @__PURE__ */ jsxs9(
|
|
3764
3814
|
StyledListItemButton2,
|
|
3765
3815
|
{
|
|
3766
3816
|
selected,
|
|
@@ -3777,7 +3827,7 @@ var NavigationItem = React5.memo(({
|
|
|
3777
3827
|
icon && iconPosition === "left" && iconElement,
|
|
3778
3828
|
labelElement,
|
|
3779
3829
|
icon && iconPosition === "right" && iconElement,
|
|
3780
|
-
endContent && !collapsed && /* @__PURE__ */
|
|
3830
|
+
endContent && !collapsed && /* @__PURE__ */ jsx23(
|
|
3781
3831
|
Box6,
|
|
3782
3832
|
{
|
|
3783
3833
|
sx: {
|
|
@@ -3792,7 +3842,7 @@ var NavigationItem = React5.memo(({
|
|
|
3792
3842
|
}
|
|
3793
3843
|
);
|
|
3794
3844
|
if (collapsed && showTooltip) {
|
|
3795
|
-
return /* @__PURE__ */
|
|
3845
|
+
return /* @__PURE__ */ jsx23(
|
|
3796
3846
|
Tooltip3,
|
|
3797
3847
|
{
|
|
3798
3848
|
title: label,
|
|
@@ -3809,7 +3859,7 @@ var NavigationItem = React5.memo(({
|
|
|
3809
3859
|
NavigationItem.displayName = "NavigationItem";
|
|
3810
3860
|
|
|
3811
3861
|
// src/components/navigation/SideNav/NavigationList.tsx
|
|
3812
|
-
import { jsx as
|
|
3862
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
3813
3863
|
var NavigationList = React6.memo(({
|
|
3814
3864
|
items,
|
|
3815
3865
|
selectedId,
|
|
@@ -3832,7 +3882,7 @@ var NavigationList = React6.memo(({
|
|
|
3832
3882
|
onSelectionChange(id);
|
|
3833
3883
|
}
|
|
3834
3884
|
};
|
|
3835
|
-
return /* @__PURE__ */
|
|
3885
|
+
return /* @__PURE__ */ jsx24(
|
|
3836
3886
|
List4,
|
|
3837
3887
|
{
|
|
3838
3888
|
role: "list",
|
|
@@ -3846,7 +3896,7 @@ var NavigationList = React6.memo(({
|
|
|
3846
3896
|
},
|
|
3847
3897
|
children: items.map((item, index) => {
|
|
3848
3898
|
const isSelected = currentSelectedId === item.id;
|
|
3849
|
-
return /* @__PURE__ */
|
|
3899
|
+
return /* @__PURE__ */ jsx24(
|
|
3850
3900
|
ListItem3,
|
|
3851
3901
|
{
|
|
3852
3902
|
role: "listitem",
|
|
@@ -3854,7 +3904,7 @@ var NavigationList = React6.memo(({
|
|
|
3854
3904
|
padding: 0,
|
|
3855
3905
|
display: "block"
|
|
3856
3906
|
},
|
|
3857
|
-
children: /* @__PURE__ */
|
|
3907
|
+
children: /* @__PURE__ */ jsx24(
|
|
3858
3908
|
NavigationItem,
|
|
3859
3909
|
{
|
|
3860
3910
|
...item,
|
|
@@ -3883,10 +3933,10 @@ NavigationList.displayName = "NavigationList";
|
|
|
3883
3933
|
|
|
3884
3934
|
// src/components/navigation/SideNav/ConnectionStatus.tsx
|
|
3885
3935
|
import React7 from "react";
|
|
3886
|
-
import { Box as Box7, Typography as
|
|
3936
|
+
import { Box as Box7, Typography as Typography6, Tooltip as Tooltip4 } from "@mui/material";
|
|
3887
3937
|
import { styled as styled14 } from "@mui/material/styles";
|
|
3888
3938
|
import PowerIcon from "@mui/icons-material/Power";
|
|
3889
|
-
import { jsx as
|
|
3939
|
+
import { jsx as jsx25, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
3890
3940
|
var StatusPill = styled14(Box7, {
|
|
3891
3941
|
shouldForwardProp: (prop) => !["variant", "interactive"].includes(prop)
|
|
3892
3942
|
})(({ theme: theme2, variant = "info", interactive }) => {
|
|
@@ -3961,7 +4011,7 @@ var ConnectionStatus = React7.memo(({
|
|
|
3961
4011
|
onClick();
|
|
3962
4012
|
}
|
|
3963
4013
|
};
|
|
3964
|
-
const statusContent = /* @__PURE__ */
|
|
4014
|
+
const statusContent = /* @__PURE__ */ jsxs10(
|
|
3965
4015
|
StatusPill,
|
|
3966
4016
|
{
|
|
3967
4017
|
role: "status",
|
|
@@ -3972,7 +4022,7 @@ var ConnectionStatus = React7.memo(({
|
|
|
3972
4022
|
interactive,
|
|
3973
4023
|
onClick: handleClick,
|
|
3974
4024
|
children: [
|
|
3975
|
-
/* @__PURE__ */
|
|
4025
|
+
/* @__PURE__ */ jsx25(
|
|
3976
4026
|
Box7,
|
|
3977
4027
|
{
|
|
3978
4028
|
sx: {
|
|
@@ -3981,15 +4031,15 @@ var ConnectionStatus = React7.memo(({
|
|
|
3981
4031
|
fontSize: 16,
|
|
3982
4032
|
color: "inherit"
|
|
3983
4033
|
},
|
|
3984
|
-
children: icon || /* @__PURE__ */
|
|
4034
|
+
children: icon || /* @__PURE__ */ jsx25(PowerIcon, { fontSize: "small" })
|
|
3985
4035
|
}
|
|
3986
4036
|
),
|
|
3987
|
-
/* @__PURE__ */
|
|
4037
|
+
/* @__PURE__ */ jsx25(Typography6, { className: "status-text", variant: "body2", children: compact ? compactText ?? status : status })
|
|
3988
4038
|
]
|
|
3989
4039
|
}
|
|
3990
4040
|
);
|
|
3991
4041
|
if (compact) {
|
|
3992
|
-
return /* @__PURE__ */
|
|
4042
|
+
return /* @__PURE__ */ jsx25(
|
|
3993
4043
|
Box7,
|
|
3994
4044
|
{
|
|
3995
4045
|
sx: {
|
|
@@ -3997,11 +4047,11 @@ var ConnectionStatus = React7.memo(({
|
|
|
3997
4047
|
justifyContent: "center",
|
|
3998
4048
|
padding: 1
|
|
3999
4049
|
},
|
|
4000
|
-
children: /* @__PURE__ */
|
|
4050
|
+
children: /* @__PURE__ */ jsx25(Tooltip4, { title: status, placement: "right", arrow: true, children: statusContent })
|
|
4001
4051
|
}
|
|
4002
4052
|
);
|
|
4003
4053
|
}
|
|
4004
|
-
return /* @__PURE__ */
|
|
4054
|
+
return /* @__PURE__ */ jsx25(
|
|
4005
4055
|
Box7,
|
|
4006
4056
|
{
|
|
4007
4057
|
sx: {
|
|
@@ -4017,10 +4067,10 @@ ConnectionStatus.displayName = "ConnectionStatus";
|
|
|
4017
4067
|
|
|
4018
4068
|
// src/components/navigation/SideNav/AccountSection.tsx
|
|
4019
4069
|
import React8 from "react";
|
|
4020
|
-
import { Box as Box8, Avatar as Avatar3, Typography as
|
|
4070
|
+
import { Box as Box8, Avatar as Avatar3, Typography as Typography7, Button as Button5, IconButton as IconButton5, Tooltip as Tooltip5 } from "@mui/material";
|
|
4021
4071
|
import { styled as styled15 } from "@mui/material/styles";
|
|
4022
4072
|
import LogoutIcon from "@mui/icons-material/Logout";
|
|
4023
|
-
import { jsx as
|
|
4073
|
+
import { jsx as jsx26, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
4024
4074
|
var AccountContainer = styled15(Box8, {
|
|
4025
4075
|
shouldForwardProp: (prop) => !["layout", "isCompact"].includes(prop)
|
|
4026
4076
|
})(({ theme: theme2, layout = "horizontal", isCompact }) => ({
|
|
@@ -4062,14 +4112,14 @@ var AccountSection = React8.memo(({
|
|
|
4062
4112
|
const initials = user.initials || deriveInitials(user.name);
|
|
4063
4113
|
const avatarSrc = user.avatarUrl;
|
|
4064
4114
|
if (compact) {
|
|
4065
|
-
return /* @__PURE__ */
|
|
4066
|
-
/* @__PURE__ */
|
|
4115
|
+
return /* @__PURE__ */ jsxs11(AccountContainer, { layout, isCompact: true, "aria-label": "Account section", children: [
|
|
4116
|
+
/* @__PURE__ */ jsx26(
|
|
4067
4117
|
Tooltip5,
|
|
4068
4118
|
{
|
|
4069
4119
|
title: `${user.name}${user.email ? ` (${user.email})` : ""}`,
|
|
4070
4120
|
placement: "right",
|
|
4071
4121
|
arrow: true,
|
|
4072
|
-
children: /* @__PURE__ */
|
|
4122
|
+
children: /* @__PURE__ */ jsx26(
|
|
4073
4123
|
Avatar3,
|
|
4074
4124
|
{
|
|
4075
4125
|
src: avatarSrc,
|
|
@@ -4088,7 +4138,7 @@ var AccountSection = React8.memo(({
|
|
|
4088
4138
|
)
|
|
4089
4139
|
}
|
|
4090
4140
|
),
|
|
4091
|
-
/* @__PURE__ */
|
|
4141
|
+
/* @__PURE__ */ jsx26(Tooltip5, { title: "Logout", placement: "right", arrow: true, children: /* @__PURE__ */ jsx26(
|
|
4092
4142
|
IconButton5,
|
|
4093
4143
|
{
|
|
4094
4144
|
onClick: onLogout,
|
|
@@ -4101,13 +4151,13 @@ var AccountSection = React8.memo(({
|
|
|
4101
4151
|
color: "text.primary"
|
|
4102
4152
|
}
|
|
4103
4153
|
},
|
|
4104
|
-
children: /* @__PURE__ */
|
|
4154
|
+
children: /* @__PURE__ */ jsx26(LogoutIcon, { fontSize: "small" })
|
|
4105
4155
|
}
|
|
4106
4156
|
) })
|
|
4107
4157
|
] });
|
|
4108
4158
|
}
|
|
4109
|
-
return /* @__PURE__ */
|
|
4110
|
-
/* @__PURE__ */
|
|
4159
|
+
return /* @__PURE__ */ jsxs11(AccountContainer, { layout, isCompact: false, "aria-label": "Account section", children: [
|
|
4160
|
+
/* @__PURE__ */ jsx26(
|
|
4111
4161
|
Avatar3,
|
|
4112
4162
|
{
|
|
4113
4163
|
src: avatarSrc,
|
|
@@ -4123,7 +4173,7 @@ var AccountSection = React8.memo(({
|
|
|
4123
4173
|
children: initials
|
|
4124
4174
|
}
|
|
4125
4175
|
),
|
|
4126
|
-
/* @__PURE__ */
|
|
4176
|
+
/* @__PURE__ */ jsxs11(
|
|
4127
4177
|
Box8,
|
|
4128
4178
|
{
|
|
4129
4179
|
sx: {
|
|
@@ -4135,8 +4185,8 @@ var AccountSection = React8.memo(({
|
|
|
4135
4185
|
// Allow text truncation
|
|
4136
4186
|
},
|
|
4137
4187
|
children: [
|
|
4138
|
-
/* @__PURE__ */
|
|
4139
|
-
|
|
4188
|
+
/* @__PURE__ */ jsx26(
|
|
4189
|
+
Typography7,
|
|
4140
4190
|
{
|
|
4141
4191
|
variant: "body2",
|
|
4142
4192
|
sx: {
|
|
@@ -4149,8 +4199,8 @@ var AccountSection = React8.memo(({
|
|
|
4149
4199
|
children: user.name
|
|
4150
4200
|
}
|
|
4151
4201
|
),
|
|
4152
|
-
showEmail && user.email && /* @__PURE__ */
|
|
4153
|
-
|
|
4202
|
+
showEmail && user.email && /* @__PURE__ */ jsx26(
|
|
4203
|
+
Typography7,
|
|
4154
4204
|
{
|
|
4155
4205
|
variant: "caption",
|
|
4156
4206
|
sx: {
|
|
@@ -4164,12 +4214,12 @@ var AccountSection = React8.memo(({
|
|
|
4164
4214
|
children: user.email
|
|
4165
4215
|
}
|
|
4166
4216
|
),
|
|
4167
|
-
/* @__PURE__ */
|
|
4217
|
+
/* @__PURE__ */ jsx26(
|
|
4168
4218
|
Button5,
|
|
4169
4219
|
{
|
|
4170
4220
|
onClick: onLogout,
|
|
4171
4221
|
"aria-label": "Logout",
|
|
4172
|
-
startIcon: /* @__PURE__ */
|
|
4222
|
+
startIcon: /* @__PURE__ */ jsx26(LogoutIcon, { fontSize: "small" }),
|
|
4173
4223
|
sx: {
|
|
4174
4224
|
color: "text.secondary",
|
|
4175
4225
|
textTransform: "none",
|
|
@@ -4197,7 +4247,7 @@ AccountSection.displayName = "AccountSection";
|
|
|
4197
4247
|
// src/components/feedback/Badge.tsx
|
|
4198
4248
|
import MuiBadge from "@mui/material/Badge";
|
|
4199
4249
|
import { styled as styled16 } from "@mui/material/styles";
|
|
4200
|
-
import { jsx as
|
|
4250
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
4201
4251
|
var getBadgeColor = (variant) => {
|
|
4202
4252
|
switch (variant) {
|
|
4203
4253
|
case "primary":
|
|
@@ -4224,13 +4274,13 @@ var Badge = ({
|
|
|
4224
4274
|
badgeContent,
|
|
4225
4275
|
...props
|
|
4226
4276
|
}) => {
|
|
4227
|
-
return /* @__PURE__ */
|
|
4277
|
+
return /* @__PURE__ */ jsx27(StyledBadge, { badgeVariant: variant, badgeContent, ...props, children });
|
|
4228
4278
|
};
|
|
4229
4279
|
|
|
4230
4280
|
// src/components/feedback/Chip.tsx
|
|
4231
4281
|
import MuiChip from "@mui/material/Chip";
|
|
4232
4282
|
import { styled as styled17 } from "@mui/material/styles";
|
|
4233
|
-
import { jsx as
|
|
4283
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
4234
4284
|
var StyledDefaultChip = styled17(MuiChip)({
|
|
4235
4285
|
backgroundColor: colors.grey[100],
|
|
4236
4286
|
color: colors.text.primary,
|
|
@@ -4250,15 +4300,15 @@ var Chip2 = ({
|
|
|
4250
4300
|
...props
|
|
4251
4301
|
}) => {
|
|
4252
4302
|
if (variant === "active") {
|
|
4253
|
-
return /* @__PURE__ */
|
|
4303
|
+
return /* @__PURE__ */ jsx28(StyledActiveChip, { ...props });
|
|
4254
4304
|
}
|
|
4255
|
-
return /* @__PURE__ */
|
|
4305
|
+
return /* @__PURE__ */ jsx28(StyledDefaultChip, { ...props });
|
|
4256
4306
|
};
|
|
4257
4307
|
|
|
4258
4308
|
// src/components/feedback/RoleBadge.tsx
|
|
4259
4309
|
import MuiChip2 from "@mui/material/Chip";
|
|
4260
4310
|
import { styled as styled18 } from "@mui/material/styles";
|
|
4261
|
-
import { jsx as
|
|
4311
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
4262
4312
|
var StyledRoleBadge = styled18(MuiChip2)(() => ({
|
|
4263
4313
|
// Pill shape - 100px border radius
|
|
4264
4314
|
borderRadius: "100px",
|
|
@@ -4284,7 +4334,7 @@ var RoleBadge = ({
|
|
|
4284
4334
|
if (!label || label.trim() === "") {
|
|
4285
4335
|
return null;
|
|
4286
4336
|
}
|
|
4287
|
-
return /* @__PURE__ */
|
|
4337
|
+
return /* @__PURE__ */ jsx29(
|
|
4288
4338
|
StyledRoleBadge,
|
|
4289
4339
|
{
|
|
4290
4340
|
label,
|
|
@@ -4299,13 +4349,13 @@ var RoleBadge = ({
|
|
|
4299
4349
|
// src/components/feedback/IDBlock.tsx
|
|
4300
4350
|
import { useState as useState5 } from "react";
|
|
4301
4351
|
import Box9 from "@mui/material/Box";
|
|
4302
|
-
import
|
|
4352
|
+
import Typography8 from "@mui/material/Typography";
|
|
4303
4353
|
import IconButton6 from "@mui/material/IconButton";
|
|
4304
4354
|
import Snackbar from "@mui/material/Snackbar";
|
|
4305
4355
|
import Alert from "@mui/material/Alert";
|
|
4306
4356
|
import ContentCopyIcon from "@mui/icons-material/ContentCopy";
|
|
4307
4357
|
import { styled as styled19 } from "@mui/material/styles";
|
|
4308
|
-
import { Fragment as Fragment5, jsx as
|
|
4358
|
+
import { Fragment as Fragment5, jsx as jsx30, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
4309
4359
|
var IDContainer = styled19(Box9)(() => ({
|
|
4310
4360
|
display: "inline-flex",
|
|
4311
4361
|
alignItems: "center",
|
|
@@ -4341,10 +4391,10 @@ var IDBlock = ({
|
|
|
4341
4391
|
const handleSnackbarClose = () => {
|
|
4342
4392
|
setSnackbar((prev) => ({ ...prev, open: false }));
|
|
4343
4393
|
};
|
|
4344
|
-
return /* @__PURE__ */
|
|
4345
|
-
/* @__PURE__ */
|
|
4346
|
-
/* @__PURE__ */
|
|
4347
|
-
|
|
4394
|
+
return /* @__PURE__ */ jsxs12(Fragment5, { children: [
|
|
4395
|
+
/* @__PURE__ */ jsxs12(IDContainer, { children: [
|
|
4396
|
+
/* @__PURE__ */ jsxs12(
|
|
4397
|
+
Typography8,
|
|
4348
4398
|
{
|
|
4349
4399
|
variant: "body2",
|
|
4350
4400
|
sx: {
|
|
@@ -4358,8 +4408,8 @@ var IDBlock = ({
|
|
|
4358
4408
|
]
|
|
4359
4409
|
}
|
|
4360
4410
|
),
|
|
4361
|
-
/* @__PURE__ */
|
|
4362
|
-
|
|
4411
|
+
/* @__PURE__ */ jsx30(
|
|
4412
|
+
Typography8,
|
|
4363
4413
|
{
|
|
4364
4414
|
variant: "body2",
|
|
4365
4415
|
sx: {
|
|
@@ -4371,7 +4421,7 @@ var IDBlock = ({
|
|
|
4371
4421
|
children: id
|
|
4372
4422
|
}
|
|
4373
4423
|
),
|
|
4374
|
-
/* @__PURE__ */
|
|
4424
|
+
/* @__PURE__ */ jsx30(
|
|
4375
4425
|
IconButton6,
|
|
4376
4426
|
{
|
|
4377
4427
|
onClick: handleCopy,
|
|
@@ -4383,7 +4433,7 @@ var IDBlock = ({
|
|
|
4383
4433
|
backgroundColor: deploymentSurfaceTokens.hoverOverlay
|
|
4384
4434
|
}
|
|
4385
4435
|
},
|
|
4386
|
-
children: /* @__PURE__ */
|
|
4436
|
+
children: /* @__PURE__ */ jsx30(
|
|
4387
4437
|
ContentCopyIcon,
|
|
4388
4438
|
{
|
|
4389
4439
|
sx: {
|
|
@@ -4395,14 +4445,14 @@ var IDBlock = ({
|
|
|
4395
4445
|
}
|
|
4396
4446
|
)
|
|
4397
4447
|
] }),
|
|
4398
|
-
/* @__PURE__ */
|
|
4448
|
+
/* @__PURE__ */ jsx30(
|
|
4399
4449
|
Snackbar,
|
|
4400
4450
|
{
|
|
4401
4451
|
open: snackbar.open,
|
|
4402
4452
|
autoHideDuration: 3e3,
|
|
4403
4453
|
onClose: handleSnackbarClose,
|
|
4404
4454
|
anchorOrigin: { vertical: "top", horizontal: "center" },
|
|
4405
|
-
children: /* @__PURE__ */
|
|
4455
|
+
children: /* @__PURE__ */ jsx30(Alert, { onClose: handleSnackbarClose, severity: snackbar.severity, children: snackbar.message })
|
|
4406
4456
|
}
|
|
4407
4457
|
)
|
|
4408
4458
|
] });
|
|
@@ -4411,7 +4461,7 @@ var IDBlock = ({
|
|
|
4411
4461
|
// src/components/feedback/Tooltip.tsx
|
|
4412
4462
|
import MuiTooltip from "@mui/material/Tooltip";
|
|
4413
4463
|
import { styled as styled20 } from "@mui/material/styles";
|
|
4414
|
-
import { jsx as
|
|
4464
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
4415
4465
|
var StyledTooltip = styled20(MuiTooltip)({
|
|
4416
4466
|
"& .MuiTooltip-tooltip": {
|
|
4417
4467
|
backgroundColor: colors.grey[800],
|
|
@@ -4425,7 +4475,7 @@ var StyledTooltip = styled20(MuiTooltip)({
|
|
|
4425
4475
|
}
|
|
4426
4476
|
});
|
|
4427
4477
|
var Tooltip6 = (props) => {
|
|
4428
|
-
return /* @__PURE__ */
|
|
4478
|
+
return /* @__PURE__ */ jsx31(StyledTooltip, { ...props });
|
|
4429
4479
|
};
|
|
4430
4480
|
|
|
4431
4481
|
// src/components/feedback/Progress.tsx
|
|
@@ -4434,7 +4484,7 @@ import {
|
|
|
4434
4484
|
CircularProgress,
|
|
4435
4485
|
styled as styled21
|
|
4436
4486
|
} from "@mui/material";
|
|
4437
|
-
import { jsx as
|
|
4487
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
4438
4488
|
var StyledLinearProgress = styled21(LinearProgress)({
|
|
4439
4489
|
height: 4,
|
|
4440
4490
|
borderRadius: 2,
|
|
@@ -4454,9 +4504,9 @@ var Progress = ({
|
|
|
4454
4504
|
thickness = 4
|
|
4455
4505
|
}) => {
|
|
4456
4506
|
if (variant === "circular") {
|
|
4457
|
-
return /* @__PURE__ */
|
|
4507
|
+
return /* @__PURE__ */ jsx32(StyledCircularProgress, { size: size3, thickness });
|
|
4458
4508
|
}
|
|
4459
|
-
return /* @__PURE__ */
|
|
4509
|
+
return /* @__PURE__ */ jsx32(
|
|
4460
4510
|
StyledLinearProgress,
|
|
4461
4511
|
{
|
|
4462
4512
|
variant: value !== void 0 ? "determinate" : "indeterminate",
|
|
@@ -4468,7 +4518,7 @@ var Progress = ({
|
|
|
4468
4518
|
// src/components/navigation/Tab.tsx
|
|
4469
4519
|
import MuiTab from "@mui/material/Tab";
|
|
4470
4520
|
import { styled as styled22 } from "@mui/material/styles";
|
|
4471
|
-
import { jsx as
|
|
4521
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
4472
4522
|
var StyledTab = styled22(MuiTab)({
|
|
4473
4523
|
textTransform: "none",
|
|
4474
4524
|
minHeight: "48px",
|
|
@@ -4490,8 +4540,8 @@ var Tab = ({
|
|
|
4490
4540
|
label,
|
|
4491
4541
|
...props
|
|
4492
4542
|
}) => {
|
|
4493
|
-
const tabLabel = badge !== void 0 ? /* @__PURE__ */
|
|
4494
|
-
return /* @__PURE__ */
|
|
4543
|
+
const tabLabel = badge !== void 0 ? /* @__PURE__ */ jsx33(Badge, { variant: badgeVariant, badgeContent: badge, children: label }) : label;
|
|
4544
|
+
return /* @__PURE__ */ jsx33(StyledTab, { label: tabLabel, ...props });
|
|
4495
4545
|
};
|
|
4496
4546
|
|
|
4497
4547
|
// src/components/navigation/Menu.tsx
|
|
@@ -4503,7 +4553,7 @@ import {
|
|
|
4503
4553
|
Divider
|
|
4504
4554
|
} from "@mui/material";
|
|
4505
4555
|
import { styled as styled23 } from "@mui/material/styles";
|
|
4506
|
-
import { Fragment as Fragment6, jsx as
|
|
4556
|
+
import { Fragment as Fragment6, jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
4507
4557
|
var StyledMenu = styled23(MuiMenu)({
|
|
4508
4558
|
"& .MuiPaper-root": {
|
|
4509
4559
|
borderRadius: 8,
|
|
@@ -4518,7 +4568,7 @@ var StyledMenu = styled23(MuiMenu)({
|
|
|
4518
4568
|
}
|
|
4519
4569
|
});
|
|
4520
4570
|
var Menu3 = ({ anchorEl, onClose, children, ...props }) => {
|
|
4521
|
-
return /* @__PURE__ */
|
|
4571
|
+
return /* @__PURE__ */ jsx34(
|
|
4522
4572
|
StyledMenu,
|
|
4523
4573
|
{
|
|
4524
4574
|
anchorEl,
|
|
@@ -4544,19 +4594,19 @@ var MenuItem = ({
|
|
|
4544
4594
|
disabled = false,
|
|
4545
4595
|
divider = false
|
|
4546
4596
|
}) => {
|
|
4547
|
-
return /* @__PURE__ */
|
|
4548
|
-
/* @__PURE__ */
|
|
4549
|
-
icon && /* @__PURE__ */
|
|
4550
|
-
/* @__PURE__ */
|
|
4597
|
+
return /* @__PURE__ */ jsxs13(Fragment6, { children: [
|
|
4598
|
+
/* @__PURE__ */ jsxs13(MuiMenuItem, { onClick, disabled, children: [
|
|
4599
|
+
icon && /* @__PURE__ */ jsx34(ListItemIcon3, { children: icon }),
|
|
4600
|
+
/* @__PURE__ */ jsx34(ListItemText5, { children: label })
|
|
4551
4601
|
] }),
|
|
4552
|
-
divider && /* @__PURE__ */
|
|
4602
|
+
divider && /* @__PURE__ */ jsx34(Divider, {})
|
|
4553
4603
|
] });
|
|
4554
4604
|
};
|
|
4555
4605
|
|
|
4556
4606
|
// src/components/navigation/Pagination.tsx
|
|
4557
4607
|
import MuiPagination from "@mui/material/Pagination";
|
|
4558
4608
|
import { styled as styled24 } from "@mui/material/styles";
|
|
4559
|
-
import { jsx as
|
|
4609
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
4560
4610
|
var StyledPagination = styled24(MuiPagination)({
|
|
4561
4611
|
"& .MuiPaginationItem-root": {
|
|
4562
4612
|
"&.Mui-selected": {
|
|
@@ -4572,14 +4622,14 @@ var StyledPagination = styled24(MuiPagination)({
|
|
|
4572
4622
|
}
|
|
4573
4623
|
});
|
|
4574
4624
|
var Pagination = ({ color = "primary", ...props }) => {
|
|
4575
|
-
return /* @__PURE__ */
|
|
4625
|
+
return /* @__PURE__ */ jsx35(StyledPagination, { color, ...props });
|
|
4576
4626
|
};
|
|
4577
4627
|
|
|
4578
4628
|
// src/components/navigation/Selector.tsx
|
|
4579
4629
|
import { useState as useState6 } from "react";
|
|
4580
4630
|
import {
|
|
4581
4631
|
Box as Box10,
|
|
4582
|
-
Typography as
|
|
4632
|
+
Typography as Typography9,
|
|
4583
4633
|
Avatar as Avatar4,
|
|
4584
4634
|
Menu as Menu4,
|
|
4585
4635
|
InputAdornment as InputAdornment5,
|
|
@@ -4596,7 +4646,7 @@ import AddIcon3 from "@mui/icons-material/Add";
|
|
|
4596
4646
|
// src/components/layout/Link.tsx
|
|
4597
4647
|
import MuiLink from "@mui/material/Link";
|
|
4598
4648
|
import { styled as styled25 } from "@mui/material/styles";
|
|
4599
|
-
import { jsx as
|
|
4649
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
4600
4650
|
var StyledLink = styled25(MuiLink)({
|
|
4601
4651
|
color: colors.primary.main,
|
|
4602
4652
|
"&:hover": {
|
|
@@ -4604,11 +4654,11 @@ var StyledLink = styled25(MuiLink)({
|
|
|
4604
4654
|
}
|
|
4605
4655
|
});
|
|
4606
4656
|
var Link3 = ({ underline = "hover", ...props }) => {
|
|
4607
|
-
return /* @__PURE__ */
|
|
4657
|
+
return /* @__PURE__ */ jsx36(StyledLink, { underline, ...props });
|
|
4608
4658
|
};
|
|
4609
4659
|
|
|
4610
4660
|
// src/components/navigation/Selector.tsx
|
|
4611
|
-
import { Fragment as Fragment7, jsx as
|
|
4661
|
+
import { Fragment as Fragment7, jsx as jsx37, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
4612
4662
|
var Selector = ({
|
|
4613
4663
|
options: options2,
|
|
4614
4664
|
selectedId,
|
|
@@ -4640,14 +4690,14 @@ var Selector = ({
|
|
|
4640
4690
|
onSelect(id);
|
|
4641
4691
|
handleClose();
|
|
4642
4692
|
};
|
|
4643
|
-
const defaultRenderSelected = (option) => /* @__PURE__ */
|
|
4644
|
-
option.avatar ? /* @__PURE__ */
|
|
4645
|
-
/* @__PURE__ */
|
|
4693
|
+
const defaultRenderSelected = (option) => /* @__PURE__ */ jsxs14(Box10, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
4694
|
+
option.avatar ? /* @__PURE__ */ jsx37(Avatar4, { src: option.avatar, sx: { width: 20, height: 20 } }) : option.icon ? option.icon : /* @__PURE__ */ jsx37(Avatar4, { sx: { width: 20, height: 20, bgcolor: colors.primary.main, fontSize: "0.7rem" }, children: option.name.charAt(0) }),
|
|
4695
|
+
/* @__PURE__ */ jsx37(Typography9, { variant: "body2", children: option.name })
|
|
4646
4696
|
] });
|
|
4647
4697
|
if (compact) {
|
|
4648
|
-
return /* @__PURE__ */
|
|
4649
|
-
/* @__PURE__ */
|
|
4650
|
-
/* @__PURE__ */
|
|
4698
|
+
return /* @__PURE__ */ jsxs14(Fragment7, { children: [
|
|
4699
|
+
/* @__PURE__ */ jsx37(IconButton, { onClick: handleOpen, size: "small", children: selectedOption ? selectedOption.avatar ? /* @__PURE__ */ jsx37(Avatar4, { src: selectedOption.avatar, sx: { width: 32, height: 32 } }) : /* @__PURE__ */ jsx37(Avatar4, { sx: { width: 32, height: 32, bgcolor: colors.primary.main }, children: selectedOption.name.charAt(0) }) : /* @__PURE__ */ jsx37(Avatar4, { sx: { width: 32, height: 32, bgcolor: colors.grey[400] }, children: "?" }) }),
|
|
4700
|
+
/* @__PURE__ */ jsx37(
|
|
4651
4701
|
Menu4,
|
|
4652
4702
|
{
|
|
4653
4703
|
anchorEl,
|
|
@@ -4656,8 +4706,8 @@ var Selector = ({
|
|
|
4656
4706
|
PaperProps: {
|
|
4657
4707
|
sx: { width, maxHeight: 600, mt: 1 }
|
|
4658
4708
|
},
|
|
4659
|
-
children: loading ? /* @__PURE__ */
|
|
4660
|
-
options2.length > 5 && /* @__PURE__ */
|
|
4709
|
+
children: loading ? /* @__PURE__ */ jsx37(Box10, { sx: { display: "flex", justifyContent: "center", p: 2 }, children: /* @__PURE__ */ jsx37(CircularProgress2, { size: 24 }) }) : /* @__PURE__ */ jsxs14(Fragment7, { children: [
|
|
4710
|
+
options2.length > 5 && /* @__PURE__ */ jsx37(Box10, { sx: { p: 1, borderBottom: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx37(
|
|
4661
4711
|
TextField,
|
|
4662
4712
|
{
|
|
4663
4713
|
size: "small",
|
|
@@ -4666,31 +4716,31 @@ var Selector = ({
|
|
|
4666
4716
|
value: searchTerm,
|
|
4667
4717
|
onChange: (e) => setSearchTerm(e.target.value),
|
|
4668
4718
|
InputProps: {
|
|
4669
|
-
startAdornment: /* @__PURE__ */
|
|
4719
|
+
startAdornment: /* @__PURE__ */ jsx37(InputAdornment5, { position: "start", children: /* @__PURE__ */ jsx37(SearchIcon4, { fontSize: "small" }) })
|
|
4670
4720
|
}
|
|
4671
4721
|
}
|
|
4672
4722
|
) }),
|
|
4673
|
-
/* @__PURE__ */
|
|
4674
|
-
filteredOptions.map((option) => /* @__PURE__ */
|
|
4723
|
+
/* @__PURE__ */ jsxs14(List5, { sx: { maxHeight: 400, overflow: "auto" }, children: [
|
|
4724
|
+
filteredOptions.map((option) => /* @__PURE__ */ jsxs14(
|
|
4675
4725
|
ListItemButton3,
|
|
4676
4726
|
{
|
|
4677
4727
|
selected: option.id === selectedId,
|
|
4678
4728
|
onClick: () => handleSelect(option.id),
|
|
4679
4729
|
disabled: option.disabled,
|
|
4680
4730
|
children: [
|
|
4681
|
-
option.avatar ? /* @__PURE__ */
|
|
4682
|
-
/* @__PURE__ */
|
|
4731
|
+
option.avatar ? /* @__PURE__ */ jsx37(ListItemAvatar3, { children: /* @__PURE__ */ jsx37(Avatar4, { src: option.avatar }) }) : option.icon ? /* @__PURE__ */ jsx37(ListItemAvatar3, { children: option.icon }) : /* @__PURE__ */ jsx37(ListItemAvatar3, { children: /* @__PURE__ */ jsx37(Avatar4, { sx: { bgcolor: colors.primary.main }, children: option.name.charAt(0) }) }),
|
|
4732
|
+
/* @__PURE__ */ jsx37(ListItemText6, { primary: option.name, secondary: option.description })
|
|
4683
4733
|
]
|
|
4684
4734
|
},
|
|
4685
4735
|
option.id
|
|
4686
4736
|
)),
|
|
4687
|
-
filteredOptions.length === 0 && /* @__PURE__ */
|
|
4737
|
+
filteredOptions.length === 0 && /* @__PURE__ */ jsx37(Box10, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx37(Typography9, { variant: "body2", color: "text.secondary", children: emptyMessage }) })
|
|
4688
4738
|
] }),
|
|
4689
|
-
onCreate && /* @__PURE__ */
|
|
4739
|
+
onCreate && /* @__PURE__ */ jsx37(Box10, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx37(
|
|
4690
4740
|
Button,
|
|
4691
4741
|
{
|
|
4692
4742
|
fullWidth: true,
|
|
4693
|
-
startIcon: /* @__PURE__ */
|
|
4743
|
+
startIcon: /* @__PURE__ */ jsx37(AddIcon3, {}),
|
|
4694
4744
|
onClick: () => {
|
|
4695
4745
|
onCreate();
|
|
4696
4746
|
handleClose();
|
|
@@ -4703,12 +4753,12 @@ var Selector = ({
|
|
|
4703
4753
|
)
|
|
4704
4754
|
] });
|
|
4705
4755
|
}
|
|
4706
|
-
return /* @__PURE__ */
|
|
4707
|
-
/* @__PURE__ */
|
|
4708
|
-
selectedOption ? renderSelected ? /* @__PURE__ */
|
|
4709
|
-
/* @__PURE__ */
|
|
4756
|
+
return /* @__PURE__ */ jsxs14(Fragment7, { children: [
|
|
4757
|
+
/* @__PURE__ */ jsxs14(Box10, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
|
|
4758
|
+
selectedOption ? renderSelected ? /* @__PURE__ */ jsx37(Link3, { onClick: handleOpen, underline: "hover", children: renderSelected(selectedOption) }) : /* @__PURE__ */ jsx37(Link3, { onClick: handleOpen, underline: "hover", children: defaultRenderSelected(selectedOption) }) : /* @__PURE__ */ jsx37(Typography9, { variant: "body2", color: "text.secondary", children: placeholder }),
|
|
4759
|
+
/* @__PURE__ */ jsx37(IconButton, { onClick: handleOpen, size: "small", sx: { p: 0.2, ml: 0.5 }, children: /* @__PURE__ */ jsx37(KeyboardArrowDownIcon3, { fontSize: "small" }) })
|
|
4710
4760
|
] }),
|
|
4711
|
-
/* @__PURE__ */
|
|
4761
|
+
/* @__PURE__ */ jsx37(
|
|
4712
4762
|
Menu4,
|
|
4713
4763
|
{
|
|
4714
4764
|
anchorEl,
|
|
@@ -4717,8 +4767,8 @@ var Selector = ({
|
|
|
4717
4767
|
PaperProps: {
|
|
4718
4768
|
sx: { width, maxHeight: 600, mt: 1 }
|
|
4719
4769
|
},
|
|
4720
|
-
children: loading ? /* @__PURE__ */
|
|
4721
|
-
options2.length > 5 && /* @__PURE__ */
|
|
4770
|
+
children: loading ? /* @__PURE__ */ jsx37(Box10, { sx: { display: "flex", justifyContent: "center", p: 2 }, children: /* @__PURE__ */ jsx37(CircularProgress2, { size: 24 }) }) : /* @__PURE__ */ jsxs14(Fragment7, { children: [
|
|
4771
|
+
options2.length > 5 && /* @__PURE__ */ jsx37(Box10, { sx: { p: 1, borderBottom: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx37(
|
|
4722
4772
|
TextField,
|
|
4723
4773
|
{
|
|
4724
4774
|
size: "small",
|
|
@@ -4727,31 +4777,31 @@ var Selector = ({
|
|
|
4727
4777
|
value: searchTerm,
|
|
4728
4778
|
onChange: (e) => setSearchTerm(e.target.value),
|
|
4729
4779
|
InputProps: {
|
|
4730
|
-
startAdornment: /* @__PURE__ */
|
|
4780
|
+
startAdornment: /* @__PURE__ */ jsx37(InputAdornment5, { position: "start", children: /* @__PURE__ */ jsx37(SearchIcon4, { fontSize: "small" }) })
|
|
4731
4781
|
}
|
|
4732
4782
|
}
|
|
4733
4783
|
) }),
|
|
4734
|
-
/* @__PURE__ */
|
|
4735
|
-
filteredOptions.map((option) => /* @__PURE__ */
|
|
4784
|
+
/* @__PURE__ */ jsxs14(List5, { sx: { maxHeight: 400, overflow: "auto" }, children: [
|
|
4785
|
+
filteredOptions.map((option) => /* @__PURE__ */ jsxs14(
|
|
4736
4786
|
ListItemButton3,
|
|
4737
4787
|
{
|
|
4738
4788
|
selected: option.id === selectedId,
|
|
4739
4789
|
onClick: () => handleSelect(option.id),
|
|
4740
4790
|
disabled: option.disabled,
|
|
4741
4791
|
children: [
|
|
4742
|
-
option.avatar ? /* @__PURE__ */
|
|
4743
|
-
/* @__PURE__ */
|
|
4792
|
+
option.avatar ? /* @__PURE__ */ jsx37(ListItemAvatar3, { children: /* @__PURE__ */ jsx37(Avatar4, { src: option.avatar }) }) : option.icon ? /* @__PURE__ */ jsx37(ListItemAvatar3, { children: option.icon }) : /* @__PURE__ */ jsx37(ListItemAvatar3, { children: /* @__PURE__ */ jsx37(Avatar4, { sx: { bgcolor: colors.primary.main }, children: option.name.charAt(0) }) }),
|
|
4793
|
+
/* @__PURE__ */ jsx37(ListItemText6, { primary: option.name, secondary: option.description })
|
|
4744
4794
|
]
|
|
4745
4795
|
},
|
|
4746
4796
|
option.id
|
|
4747
4797
|
)),
|
|
4748
|
-
filteredOptions.length === 0 && /* @__PURE__ */
|
|
4798
|
+
filteredOptions.length === 0 && /* @__PURE__ */ jsx37(Box10, { sx: { p: 2, textAlign: "center" }, children: /* @__PURE__ */ jsx37(Typography9, { variant: "body2", color: "text.secondary", children: emptyMessage }) })
|
|
4749
4799
|
] }),
|
|
4750
|
-
onCreate && /* @__PURE__ */
|
|
4800
|
+
onCreate && /* @__PURE__ */ jsx37(Box10, { sx: { p: 1, borderTop: `1px solid ${colors.grey[200]}` }, children: /* @__PURE__ */ jsx37(
|
|
4751
4801
|
Button,
|
|
4752
4802
|
{
|
|
4753
4803
|
fullWidth: true,
|
|
4754
|
-
startIcon: /* @__PURE__ */
|
|
4804
|
+
startIcon: /* @__PURE__ */ jsx37(AddIcon3, {}),
|
|
4755
4805
|
onClick: () => {
|
|
4756
4806
|
onCreate();
|
|
4757
4807
|
handleClose();
|
|
@@ -4766,47 +4816,47 @@ var Selector = ({
|
|
|
4766
4816
|
};
|
|
4767
4817
|
|
|
4768
4818
|
// src/components/layout/Logo.tsx
|
|
4769
|
-
import { Stack as
|
|
4819
|
+
import { Stack as Stack3, styled as styled26, svgIconClasses } from "@mui/material";
|
|
4770
4820
|
|
|
4771
4821
|
// src/components/icons/CereIcon.tsx
|
|
4772
4822
|
import { memo } from "react";
|
|
4773
4823
|
import { SvgIcon } from "@mui/material";
|
|
4774
|
-
import { jsx as
|
|
4775
|
-
var CereIcon = memo((props) => /* @__PURE__ */
|
|
4776
|
-
/* @__PURE__ */
|
|
4824
|
+
import { jsx as jsx38, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
4825
|
+
var CereIcon = memo((props) => /* @__PURE__ */ jsxs15(SvgIcon, { ...props, viewBox: "0 0 24 28", children: [
|
|
4826
|
+
/* @__PURE__ */ jsx38("g", { clipPath: "url(#a)", children: /* @__PURE__ */ jsx38(
|
|
4777
4827
|
"path",
|
|
4778
4828
|
{
|
|
4779
4829
|
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",
|
|
4780
4830
|
fill: "currentColor"
|
|
4781
4831
|
}
|
|
4782
4832
|
) }),
|
|
4783
|
-
/* @__PURE__ */
|
|
4833
|
+
/* @__PURE__ */ jsx38("defs", { children: /* @__PURE__ */ jsx38("clipPath", { id: "a", children: /* @__PURE__ */ jsx38("path", { fill: "currentColor", transform: "translate(.373 .77)", d: "M0 0h23.615v26.36H0z" }) }) })
|
|
4784
4834
|
] }));
|
|
4785
4835
|
|
|
4786
4836
|
// src/components/layout/Logo.tsx
|
|
4787
|
-
import { jsx as
|
|
4837
|
+
import { jsx as jsx39, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
4788
4838
|
var sizesMap = {
|
|
4789
4839
|
large: 38,
|
|
4790
4840
|
medium: 32,
|
|
4791
4841
|
small: 24
|
|
4792
4842
|
};
|
|
4793
|
-
var Container = styled26(
|
|
4843
|
+
var Container = styled26(Stack3)({
|
|
4794
4844
|
[`& .${svgIconClasses.root}`]: {
|
|
4795
4845
|
fontSize: "inherit"
|
|
4796
4846
|
}
|
|
4797
4847
|
});
|
|
4798
|
-
var Logo = ({ children, size: size3 = "medium", icon = /* @__PURE__ */
|
|
4848
|
+
var Logo = ({ children, size: size3 = "medium", icon = /* @__PURE__ */ jsx39(CereIcon, { color: "primary" }) }) => /* @__PURE__ */ jsxs16(Container, { direction: "row", alignItems: "center", spacing: 2, fontSize: sizesMap[size3], children: [
|
|
4799
4849
|
icon,
|
|
4800
|
-
children && /* @__PURE__ */
|
|
4850
|
+
children && /* @__PURE__ */ jsx39(Stack3, { children })
|
|
4801
4851
|
] });
|
|
4802
4852
|
|
|
4803
4853
|
// src/components/layout/EntityHeader/EntityHeader.tsx
|
|
4804
4854
|
import Box11 from "@mui/material/Box";
|
|
4805
|
-
import
|
|
4855
|
+
import Typography10 from "@mui/material/Typography";
|
|
4806
4856
|
import IconButton7 from "@mui/material/IconButton";
|
|
4807
4857
|
import Divider2 from "@mui/material/Divider";
|
|
4808
4858
|
import MoreHorizIcon from "@mui/icons-material/MoreHoriz";
|
|
4809
|
-
import { jsx as
|
|
4859
|
+
import { jsx as jsx40, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
4810
4860
|
var EntityHeader = ({
|
|
4811
4861
|
title,
|
|
4812
4862
|
subtitle,
|
|
@@ -4823,8 +4873,8 @@ var EntityHeader = ({
|
|
|
4823
4873
|
const { label, count } = primaryAction;
|
|
4824
4874
|
return count !== void 0 ? `${label} (${count})` : label;
|
|
4825
4875
|
};
|
|
4826
|
-
return /* @__PURE__ */
|
|
4827
|
-
/* @__PURE__ */
|
|
4876
|
+
return /* @__PURE__ */ jsxs17(Box11, { children: [
|
|
4877
|
+
/* @__PURE__ */ jsxs17(
|
|
4828
4878
|
Box11,
|
|
4829
4879
|
{
|
|
4830
4880
|
sx: {
|
|
@@ -4836,7 +4886,7 @@ var EntityHeader = ({
|
|
|
4836
4886
|
gap: 1
|
|
4837
4887
|
},
|
|
4838
4888
|
children: [
|
|
4839
|
-
/* @__PURE__ */
|
|
4889
|
+
/* @__PURE__ */ jsxs17(
|
|
4840
4890
|
Box11,
|
|
4841
4891
|
{
|
|
4842
4892
|
sx: {
|
|
@@ -4846,7 +4896,7 @@ var EntityHeader = ({
|
|
|
4846
4896
|
flexWrap: "wrap"
|
|
4847
4897
|
},
|
|
4848
4898
|
children: [
|
|
4849
|
-
/* @__PURE__ */
|
|
4899
|
+
/* @__PURE__ */ jsxs17(
|
|
4850
4900
|
Box11,
|
|
4851
4901
|
{
|
|
4852
4902
|
sx: {
|
|
@@ -4855,8 +4905,8 @@ var EntityHeader = ({
|
|
|
4855
4905
|
gap: 0.5
|
|
4856
4906
|
},
|
|
4857
4907
|
children: [
|
|
4858
|
-
/* @__PURE__ */
|
|
4859
|
-
|
|
4908
|
+
/* @__PURE__ */ jsx40(
|
|
4909
|
+
Typography10,
|
|
4860
4910
|
{
|
|
4861
4911
|
component: headingLevel,
|
|
4862
4912
|
sx: {
|
|
@@ -4869,8 +4919,8 @@ var EntityHeader = ({
|
|
|
4869
4919
|
children: title
|
|
4870
4920
|
}
|
|
4871
4921
|
),
|
|
4872
|
-
subtitle && /* @__PURE__ */
|
|
4873
|
-
|
|
4922
|
+
subtitle && /* @__PURE__ */ jsx40(
|
|
4923
|
+
Typography10,
|
|
4874
4924
|
{
|
|
4875
4925
|
variant: "body2",
|
|
4876
4926
|
sx: {
|
|
@@ -4886,12 +4936,12 @@ var EntityHeader = ({
|
|
|
4886
4936
|
]
|
|
4887
4937
|
}
|
|
4888
4938
|
),
|
|
4889
|
-
role && /* @__PURE__ */
|
|
4890
|
-
id && /* @__PURE__ */
|
|
4939
|
+
role && /* @__PURE__ */ jsx40(RoleBadge, { label: role, color: "primary", size: "small" }),
|
|
4940
|
+
id && /* @__PURE__ */ jsx40(IDBlock, { id, label: "ID", entityType: "entity", onCopy: onCopyId })
|
|
4891
4941
|
]
|
|
4892
4942
|
}
|
|
4893
4943
|
),
|
|
4894
|
-
/* @__PURE__ */
|
|
4944
|
+
/* @__PURE__ */ jsxs17(
|
|
4895
4945
|
Box11,
|
|
4896
4946
|
{
|
|
4897
4947
|
sx: {
|
|
@@ -4901,7 +4951,7 @@ var EntityHeader = ({
|
|
|
4901
4951
|
flexShrink: 0
|
|
4902
4952
|
},
|
|
4903
4953
|
children: [
|
|
4904
|
-
primaryAction && /* @__PURE__ */
|
|
4954
|
+
primaryAction && /* @__PURE__ */ jsx40(
|
|
4905
4955
|
Button,
|
|
4906
4956
|
{
|
|
4907
4957
|
variant: "primary",
|
|
@@ -4913,7 +4963,7 @@ var EntityHeader = ({
|
|
|
4913
4963
|
children: getPrimaryActionLabel()
|
|
4914
4964
|
}
|
|
4915
4965
|
),
|
|
4916
|
-
onMoreOptions && /* @__PURE__ */
|
|
4966
|
+
onMoreOptions && /* @__PURE__ */ jsx40(
|
|
4917
4967
|
IconButton7,
|
|
4918
4968
|
{
|
|
4919
4969
|
onClick: onMoreOptions,
|
|
@@ -4928,7 +4978,7 @@ var EntityHeader = ({
|
|
|
4928
4978
|
borderColor: deploymentSurfaceTokens.borderDefault
|
|
4929
4979
|
}
|
|
4930
4980
|
},
|
|
4931
|
-
children: /* @__PURE__ */
|
|
4981
|
+
children: /* @__PURE__ */ jsx40(
|
|
4932
4982
|
MoreHorizIcon,
|
|
4933
4983
|
{
|
|
4934
4984
|
sx: {
|
|
@@ -4945,7 +4995,7 @@ var EntityHeader = ({
|
|
|
4945
4995
|
]
|
|
4946
4996
|
}
|
|
4947
4997
|
),
|
|
4948
|
-
divider && /* @__PURE__ */
|
|
4998
|
+
divider && /* @__PURE__ */ jsx40(
|
|
4949
4999
|
Divider2,
|
|
4950
5000
|
{
|
|
4951
5001
|
sx: {
|
|
@@ -4965,12 +5015,12 @@ import {
|
|
|
4965
5015
|
Button as Button6,
|
|
4966
5016
|
IconButton as IconButton8,
|
|
4967
5017
|
Box as Box12,
|
|
4968
|
-
Typography as
|
|
5018
|
+
Typography as Typography11,
|
|
4969
5019
|
Divider as Divider3,
|
|
4970
5020
|
CircularProgress as CircularProgress3
|
|
4971
5021
|
} from "@mui/material";
|
|
4972
5022
|
import CloseIcon from "@mui/icons-material/Close";
|
|
4973
|
-
import { Fragment as Fragment8, jsx as
|
|
5023
|
+
import { Fragment as Fragment8, jsx as jsx41, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
4974
5024
|
var Dialog = ({
|
|
4975
5025
|
open,
|
|
4976
5026
|
title,
|
|
@@ -4994,7 +5044,7 @@ var Dialog = ({
|
|
|
4994
5044
|
if (e) e.stopPropagation();
|
|
4995
5045
|
onClose();
|
|
4996
5046
|
};
|
|
4997
|
-
return /* @__PURE__ */
|
|
5047
|
+
return /* @__PURE__ */ jsxs18(
|
|
4998
5048
|
MuiDialog,
|
|
4999
5049
|
{
|
|
5000
5050
|
open,
|
|
@@ -5011,28 +5061,28 @@ var Dialog = ({
|
|
|
5011
5061
|
...dialogProps.PaperProps
|
|
5012
5062
|
},
|
|
5013
5063
|
children: [
|
|
5014
|
-
/* @__PURE__ */
|
|
5015
|
-
/* @__PURE__ */
|
|
5016
|
-
/* @__PURE__ */
|
|
5064
|
+
/* @__PURE__ */ jsxs18(DialogTitle, { sx: { display: "flex", justifyContent: "space-between", alignItems: "center", p: 2 }, children: [
|
|
5065
|
+
/* @__PURE__ */ jsx41(Box12, { sx: { display: "flex", alignItems: "center" }, children: typeof title === "string" ? /* @__PURE__ */ jsx41(Typography11, { variant: "h6", children: title }) : title }),
|
|
5066
|
+
/* @__PURE__ */ jsxs18(Box12, { sx: { display: "flex", alignItems: "center" }, children: [
|
|
5017
5067
|
headerAction,
|
|
5018
|
-
/* @__PURE__ */
|
|
5068
|
+
/* @__PURE__ */ jsx41(
|
|
5019
5069
|
IconButton8,
|
|
5020
5070
|
{
|
|
5021
5071
|
edge: "end",
|
|
5022
5072
|
color: "inherit",
|
|
5023
5073
|
onClick: handleCloseAttempt,
|
|
5024
5074
|
"aria-label": "close",
|
|
5025
|
-
children: /* @__PURE__ */
|
|
5075
|
+
children: /* @__PURE__ */ jsx41(CloseIcon, {})
|
|
5026
5076
|
}
|
|
5027
5077
|
)
|
|
5028
5078
|
] })
|
|
5029
5079
|
] }),
|
|
5030
|
-
dividers && /* @__PURE__ */
|
|
5031
|
-
/* @__PURE__ */
|
|
5032
|
-
(showActions || customActions) && /* @__PURE__ */
|
|
5033
|
-
dividers && /* @__PURE__ */
|
|
5034
|
-
/* @__PURE__ */
|
|
5035
|
-
/* @__PURE__ */
|
|
5080
|
+
dividers && /* @__PURE__ */ jsx41(Divider3, {}),
|
|
5081
|
+
/* @__PURE__ */ jsx41(DialogContent, { dividers, children }),
|
|
5082
|
+
(showActions || customActions) && /* @__PURE__ */ jsxs18(Fragment8, { children: [
|
|
5083
|
+
dividers && /* @__PURE__ */ jsx41(Divider3, {}),
|
|
5084
|
+
/* @__PURE__ */ jsx41(DialogActions, { children: customActions || /* @__PURE__ */ jsxs18(Fragment8, { children: [
|
|
5085
|
+
/* @__PURE__ */ jsx41(
|
|
5036
5086
|
Button6,
|
|
5037
5087
|
{
|
|
5038
5088
|
onClick: handleCloseAttempt,
|
|
@@ -5040,14 +5090,14 @@ var Dialog = ({
|
|
|
5040
5090
|
children: cancelLabel
|
|
5041
5091
|
}
|
|
5042
5092
|
),
|
|
5043
|
-
onSubmit && /* @__PURE__ */
|
|
5093
|
+
onSubmit && /* @__PURE__ */ jsx41(
|
|
5044
5094
|
Button6,
|
|
5045
5095
|
{
|
|
5046
5096
|
variant: "contained",
|
|
5047
5097
|
color: "primary",
|
|
5048
5098
|
onClick: onSubmit,
|
|
5049
5099
|
disabled: disableSubmit || isLoading,
|
|
5050
|
-
startIcon: isLoading ? /* @__PURE__ */
|
|
5100
|
+
startIcon: isLoading ? /* @__PURE__ */ jsx41(CircularProgress3, { size: 20 }) : void 0,
|
|
5051
5101
|
children: submitLabel
|
|
5052
5102
|
}
|
|
5053
5103
|
)
|
|
@@ -5061,9 +5111,9 @@ var Dialog = ({
|
|
|
5061
5111
|
// src/components/layout/Drawer.tsx
|
|
5062
5112
|
import MuiDrawer from "@mui/material/Drawer";
|
|
5063
5113
|
import { styled as styled27 } from "@mui/material/styles";
|
|
5064
|
-
import { Box as Box13, IconButton as IconButton9, Typography as
|
|
5114
|
+
import { Box as Box13, IconButton as IconButton9, Typography as Typography12, Divider as Divider4, Tabs, Tab as Tab2 } from "@mui/material";
|
|
5065
5115
|
import CloseIcon2 from "@mui/icons-material/Close";
|
|
5066
|
-
import { Fragment as Fragment9, jsx as
|
|
5116
|
+
import { Fragment as Fragment9, jsx as jsx42, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5067
5117
|
var StyledDrawer2 = styled27(MuiDrawer, {
|
|
5068
5118
|
shouldForwardProp: (prop) => prop !== "width" && prop !== "miniWidth" && prop !== "collapsed" && prop !== "topOffset"
|
|
5069
5119
|
})(({ theme: theme2, width = 240, miniWidth = 72, collapsed, topOffset = 0 }) => ({
|
|
@@ -5110,7 +5160,7 @@ var Drawer2 = ({
|
|
|
5110
5160
|
const finalWidth = width ?? defaultWidth;
|
|
5111
5161
|
const shouldShowClose = showCloseButton ?? (variant === "temporary" || variant === "persistent");
|
|
5112
5162
|
const hasHeader = title || header || shouldShowClose || tabs;
|
|
5113
|
-
return /* @__PURE__ */
|
|
5163
|
+
return /* @__PURE__ */ jsxs19(
|
|
5114
5164
|
StyledDrawer2,
|
|
5115
5165
|
{
|
|
5116
5166
|
width: finalWidth,
|
|
@@ -5135,8 +5185,8 @@ var Drawer2 = ({
|
|
|
5135
5185
|
},
|
|
5136
5186
|
...props,
|
|
5137
5187
|
children: [
|
|
5138
|
-
hasHeader && /* @__PURE__ */
|
|
5139
|
-
/* @__PURE__ */
|
|
5188
|
+
hasHeader && /* @__PURE__ */ jsxs19(Fragment9, { children: [
|
|
5189
|
+
/* @__PURE__ */ jsx42(
|
|
5140
5190
|
Box13,
|
|
5141
5191
|
{
|
|
5142
5192
|
sx: {
|
|
@@ -5148,9 +5198,9 @@ var Drawer2 = ({
|
|
|
5148
5198
|
borderBottom: 1,
|
|
5149
5199
|
borderColor: "divider"
|
|
5150
5200
|
},
|
|
5151
|
-
children: header || /* @__PURE__ */
|
|
5152
|
-
/* @__PURE__ */
|
|
5153
|
-
shouldShowClose && onClose && /* @__PURE__ */
|
|
5201
|
+
children: header || /* @__PURE__ */ jsxs19(Fragment9, { children: [
|
|
5202
|
+
/* @__PURE__ */ jsx42(Box13, { sx: { flex: 1 }, children: typeof title === "string" ? /* @__PURE__ */ jsx42(Typography12, { variant: "h6", children: title }) : title }),
|
|
5203
|
+
shouldShowClose && onClose && /* @__PURE__ */ jsx42(
|
|
5154
5204
|
IconButton9,
|
|
5155
5205
|
{
|
|
5156
5206
|
onClick: (e) => {
|
|
@@ -5160,13 +5210,13 @@ var Drawer2 = ({
|
|
|
5160
5210
|
size: "small",
|
|
5161
5211
|
sx: { ml: 1 },
|
|
5162
5212
|
"aria-label": "close",
|
|
5163
|
-
children: /* @__PURE__ */
|
|
5213
|
+
children: /* @__PURE__ */ jsx42(CloseIcon2, {})
|
|
5164
5214
|
}
|
|
5165
5215
|
)
|
|
5166
5216
|
] })
|
|
5167
5217
|
}
|
|
5168
5218
|
),
|
|
5169
|
-
tabs && tabs.length > 0 && /* @__PURE__ */
|
|
5219
|
+
tabs && tabs.length > 0 && /* @__PURE__ */ jsx42(
|
|
5170
5220
|
Tabs,
|
|
5171
5221
|
{
|
|
5172
5222
|
value: activeTab,
|
|
@@ -5181,11 +5231,11 @@ var Drawer2 = ({
|
|
|
5181
5231
|
overflow: "auto"
|
|
5182
5232
|
}
|
|
5183
5233
|
},
|
|
5184
|
-
children: tabs.map((tab, index) => /* @__PURE__ */
|
|
5234
|
+
children: tabs.map((tab, index) => /* @__PURE__ */ jsx42(Tab2, { label: tab }, index))
|
|
5185
5235
|
}
|
|
5186
5236
|
)
|
|
5187
5237
|
] }),
|
|
5188
|
-
/* @__PURE__ */
|
|
5238
|
+
/* @__PURE__ */ jsx42(
|
|
5189
5239
|
Box13,
|
|
5190
5240
|
{
|
|
5191
5241
|
sx: {
|
|
@@ -5198,9 +5248,9 @@ var Drawer2 = ({
|
|
|
5198
5248
|
children
|
|
5199
5249
|
}
|
|
5200
5250
|
),
|
|
5201
|
-
footer && /* @__PURE__ */
|
|
5202
|
-
/* @__PURE__ */
|
|
5203
|
-
/* @__PURE__ */
|
|
5251
|
+
footer && /* @__PURE__ */ jsxs19(Fragment9, { children: [
|
|
5252
|
+
/* @__PURE__ */ jsx42(Divider4, {}),
|
|
5253
|
+
/* @__PURE__ */ jsx42(
|
|
5204
5254
|
Box13,
|
|
5205
5255
|
{
|
|
5206
5256
|
sx: {
|
|
@@ -5223,7 +5273,7 @@ import MuiCardContent from "@mui/material/CardContent";
|
|
|
5223
5273
|
import MuiCardHeader from "@mui/material/CardHeader";
|
|
5224
5274
|
import MuiCardActions from "@mui/material/CardActions";
|
|
5225
5275
|
import { styled as styled28 } from "@mui/material/styles";
|
|
5226
|
-
import { jsx as
|
|
5276
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
5227
5277
|
var StyledCard = styled28(MuiCard, {
|
|
5228
5278
|
shouldForwardProp: (prop) => prop !== "hoverable" && prop !== "clickable"
|
|
5229
5279
|
})(({ hoverable, clickable }) => ({
|
|
@@ -5241,16 +5291,16 @@ var StyledCard = styled28(MuiCard, {
|
|
|
5241
5291
|
}
|
|
5242
5292
|
}));
|
|
5243
5293
|
var Card = ({ hoverable = false, clickable = false, children, ...props }) => {
|
|
5244
|
-
return /* @__PURE__ */
|
|
5294
|
+
return /* @__PURE__ */ jsx43(StyledCard, { hoverable, clickable, ...props, children });
|
|
5245
5295
|
};
|
|
5246
5296
|
var CardContent = (props) => {
|
|
5247
|
-
return /* @__PURE__ */
|
|
5297
|
+
return /* @__PURE__ */ jsx43(MuiCardContent, { ...props });
|
|
5248
5298
|
};
|
|
5249
5299
|
var CardHeader = (props) => {
|
|
5250
|
-
return /* @__PURE__ */
|
|
5300
|
+
return /* @__PURE__ */ jsx43(MuiCardHeader, { ...props });
|
|
5251
5301
|
};
|
|
5252
5302
|
var CardActions = (props) => {
|
|
5253
|
-
return /* @__PURE__ */
|
|
5303
|
+
return /* @__PURE__ */ jsx43(MuiCardActions, { ...props });
|
|
5254
5304
|
};
|
|
5255
5305
|
|
|
5256
5306
|
// src/components/layout/List.tsx
|
|
@@ -5262,9 +5312,9 @@ import {
|
|
|
5262
5312
|
ListItemSecondaryAction
|
|
5263
5313
|
} from "@mui/material";
|
|
5264
5314
|
import { styled as styled29 } from "@mui/material/styles";
|
|
5265
|
-
import { jsx as
|
|
5315
|
+
import { jsx as jsx44, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5266
5316
|
var List6 = (props) => {
|
|
5267
|
-
return /* @__PURE__ */
|
|
5317
|
+
return /* @__PURE__ */ jsx44(MuiList, { ...props });
|
|
5268
5318
|
};
|
|
5269
5319
|
var StyledListItem = styled29(MuiListItem, {
|
|
5270
5320
|
shouldForwardProp: (prop) => prop !== "hoverable"
|
|
@@ -5287,9 +5337,9 @@ var ListItem4 = ({
|
|
|
5287
5337
|
children,
|
|
5288
5338
|
...props
|
|
5289
5339
|
}) => {
|
|
5290
|
-
return /* @__PURE__ */
|
|
5291
|
-
icon && /* @__PURE__ */
|
|
5292
|
-
(primary || secondary) && /* @__PURE__ */
|
|
5340
|
+
return /* @__PURE__ */ jsxs20(StyledListItem, { hoverable, ...props, children: [
|
|
5341
|
+
icon && /* @__PURE__ */ jsx44(ListItemIcon4, { children: icon }),
|
|
5342
|
+
(primary || secondary) && /* @__PURE__ */ jsx44(
|
|
5293
5343
|
ListItemText7,
|
|
5294
5344
|
{
|
|
5295
5345
|
primary,
|
|
@@ -5305,7 +5355,7 @@ var ListItem4 = ({
|
|
|
5305
5355
|
import {
|
|
5306
5356
|
Paper,
|
|
5307
5357
|
Box as Box14,
|
|
5308
|
-
Typography as
|
|
5358
|
+
Typography as Typography13,
|
|
5309
5359
|
IconButton as IconButton10,
|
|
5310
5360
|
useTheme as useTheme2,
|
|
5311
5361
|
LinearProgress as LinearProgress2
|
|
@@ -5330,7 +5380,7 @@ function useControlledExpand(controlledExpanded, onToggle, defaultExpanded = fal
|
|
|
5330
5380
|
}
|
|
5331
5381
|
|
|
5332
5382
|
// src/components/layout/DeploymentDashboardCard/DeploymentDashboardCard.tsx
|
|
5333
|
-
import { Fragment as Fragment10, jsx as
|
|
5383
|
+
import { Fragment as Fragment10, jsx as jsx45, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5334
5384
|
var ENTITY_LABELS = {
|
|
5335
5385
|
workspace: "Workspace",
|
|
5336
5386
|
stream: "Stream",
|
|
@@ -5340,11 +5390,11 @@ var ENTITY_LABELS = {
|
|
|
5340
5390
|
};
|
|
5341
5391
|
var ENTITY_ICON_SIZE = 16;
|
|
5342
5392
|
var ENTITY_ICONS = {
|
|
5343
|
-
workspace: /* @__PURE__ */
|
|
5344
|
-
stream: /* @__PURE__ */
|
|
5345
|
-
deployment: /* @__PURE__ */
|
|
5346
|
-
engagement: /* @__PURE__ */
|
|
5347
|
-
agent: /* @__PURE__ */
|
|
5393
|
+
workspace: /* @__PURE__ */ jsx45(WorkOutlineIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
5394
|
+
stream: /* @__PURE__ */ jsx45(WavesIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
5395
|
+
deployment: /* @__PURE__ */ jsx45(RocketLaunchOutlinedIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
5396
|
+
engagement: /* @__PURE__ */ jsx45(InsertLinkIcon, { sx: { fontSize: ENTITY_ICON_SIZE } }),
|
|
5397
|
+
agent: /* @__PURE__ */ jsx45(SmartToyOutlinedIcon, { sx: { fontSize: ENTITY_ICON_SIZE } })
|
|
5348
5398
|
};
|
|
5349
5399
|
var STATUS_DOT_COLORS = {
|
|
5350
5400
|
normal: deploymentStatusColors.normal,
|
|
@@ -5374,7 +5424,7 @@ var StatusDot = styled30(Box14, {
|
|
|
5374
5424
|
backgroundColor: status ? STATUS_DOT_COLORS[status] ?? "transparent" : "transparent",
|
|
5375
5425
|
flexShrink: 0
|
|
5376
5426
|
}));
|
|
5377
|
-
var EntityChip = ({ entityType, color }) => /* @__PURE__ */
|
|
5427
|
+
var EntityChip = ({ entityType, color }) => /* @__PURE__ */ jsxs21(
|
|
5378
5428
|
Box14,
|
|
5379
5429
|
{
|
|
5380
5430
|
sx: {
|
|
@@ -5390,9 +5440,9 @@ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ jsxs20(
|
|
|
5390
5440
|
flexShrink: 0
|
|
5391
5441
|
},
|
|
5392
5442
|
children: [
|
|
5393
|
-
/* @__PURE__ */
|
|
5394
|
-
/* @__PURE__ */
|
|
5395
|
-
|
|
5443
|
+
/* @__PURE__ */ jsx45(Box14, { sx: { color, display: "flex", alignItems: "center" }, children: ENTITY_ICONS[entityType] }),
|
|
5444
|
+
/* @__PURE__ */ jsx45(
|
|
5445
|
+
Typography13,
|
|
5396
5446
|
{
|
|
5397
5447
|
variant: "body2",
|
|
5398
5448
|
fontWeight: ENTITY_CHIP_TYPOGRAPHY.fontWeight,
|
|
@@ -5408,15 +5458,15 @@ var EntityChip = ({ entityType, color }) => /* @__PURE__ */ jsxs20(
|
|
|
5408
5458
|
]
|
|
5409
5459
|
}
|
|
5410
5460
|
);
|
|
5411
|
-
var CapacityBar = ({ value, indented = false }) => /* @__PURE__ */
|
|
5412
|
-
/* @__PURE__ */
|
|
5413
|
-
/* @__PURE__ */
|
|
5414
|
-
/* @__PURE__ */
|
|
5461
|
+
var CapacityBar = ({ value, indented = false }) => /* @__PURE__ */ jsxs21(Box14, { sx: { pl: indented ? "40px" : 0, pr: "20px", py: 1 }, children: [
|
|
5462
|
+
/* @__PURE__ */ jsxs21(Box14, { sx: { display: "flex", justifyContent: "space-between", mb: 1 }, children: [
|
|
5463
|
+
/* @__PURE__ */ jsx45(Typography13, { variant: "body2", sx: { color: deploymentSurfaceTokens.textPrimary }, children: "Capacity" }),
|
|
5464
|
+
/* @__PURE__ */ jsxs21(Typography13, { variant: "body2", sx: { color: deploymentSurfaceTokens.accentBlue }, children: [
|
|
5415
5465
|
value,
|
|
5416
5466
|
"%"
|
|
5417
5467
|
] })
|
|
5418
5468
|
] }),
|
|
5419
|
-
/* @__PURE__ */
|
|
5469
|
+
/* @__PURE__ */ jsx45(
|
|
5420
5470
|
LinearProgress2,
|
|
5421
5471
|
{
|
|
5422
5472
|
variant: "determinate",
|
|
@@ -5456,19 +5506,19 @@ var getActionButtonStyles = (action) => {
|
|
|
5456
5506
|
};
|
|
5457
5507
|
return { ...baseStyles, ...variantStyles };
|
|
5458
5508
|
};
|
|
5459
|
-
var CardAction = ({ action }) => /* @__PURE__ */
|
|
5509
|
+
var CardAction = ({ action }) => /* @__PURE__ */ jsxs21(
|
|
5460
5510
|
Box14,
|
|
5461
5511
|
{
|
|
5462
5512
|
component: action.onClick ? "button" : "span",
|
|
5463
5513
|
onClick: action.onClick,
|
|
5464
5514
|
sx: getActionButtonStyles(action),
|
|
5465
5515
|
children: [
|
|
5466
|
-
action.icon && /* @__PURE__ */
|
|
5467
|
-
action.label && /* @__PURE__ */
|
|
5516
|
+
action.icon && /* @__PURE__ */ jsx45(Box14, { component: "span", sx: { display: "flex", alignItems: "center" }, children: action.icon }),
|
|
5517
|
+
action.label && /* @__PURE__ */ jsx45(Typography13, { variant: "body2", fontWeight: 500, component: "span", sx: { fontSize: "14px" }, children: action.label })
|
|
5468
5518
|
]
|
|
5469
5519
|
}
|
|
5470
5520
|
);
|
|
5471
|
-
var CardActionList = ({ actions }) => /* @__PURE__ */
|
|
5521
|
+
var CardActionList = ({ actions }) => /* @__PURE__ */ jsx45(Fragment10, { children: actions.map((action) => /* @__PURE__ */ jsx45(CardAction, { action }, action.id)) });
|
|
5472
5522
|
var DeploymentDashboardCard = ({
|
|
5473
5523
|
entityType,
|
|
5474
5524
|
title,
|
|
@@ -5501,7 +5551,7 @@ var DeploymentDashboardCard = ({
|
|
|
5501
5551
|
return Math.min(100, Math.max(0, capacity2));
|
|
5502
5552
|
};
|
|
5503
5553
|
const capacityClamped = getClampedCapacity(capacity);
|
|
5504
|
-
return /* @__PURE__ */
|
|
5554
|
+
return /* @__PURE__ */ jsxs21(
|
|
5505
5555
|
Paper,
|
|
5506
5556
|
{
|
|
5507
5557
|
className,
|
|
@@ -5518,7 +5568,7 @@ var DeploymentDashboardCard = ({
|
|
|
5518
5568
|
gap: 0
|
|
5519
5569
|
},
|
|
5520
5570
|
children: [
|
|
5521
|
-
/* @__PURE__ */
|
|
5571
|
+
/* @__PURE__ */ jsxs21(
|
|
5522
5572
|
Box14,
|
|
5523
5573
|
{
|
|
5524
5574
|
sx: {
|
|
@@ -5528,21 +5578,21 @@ var DeploymentDashboardCard = ({
|
|
|
5528
5578
|
width: "100%"
|
|
5529
5579
|
},
|
|
5530
5580
|
children: [
|
|
5531
|
-
/* @__PURE__ */
|
|
5532
|
-
/* @__PURE__ */
|
|
5533
|
-
expandable ? /* @__PURE__ */
|
|
5581
|
+
/* @__PURE__ */ jsxs21(Box14, { sx: { display: "flex", flexDirection: "column", gap: 0.5, minWidth: 0 }, children: [
|
|
5582
|
+
/* @__PURE__ */ jsxs21(Box14, { sx: { display: "flex", gap: 1, alignItems: "center" }, children: [
|
|
5583
|
+
expandable ? /* @__PURE__ */ jsx45(
|
|
5534
5584
|
IconButton10,
|
|
5535
5585
|
{
|
|
5536
5586
|
size: "small",
|
|
5537
5587
|
onClick: toggle,
|
|
5538
5588
|
"aria-label": expanded ? "Collapse" : "Expand",
|
|
5539
5589
|
sx: { p: "5px" },
|
|
5540
|
-
children: expanded ? /* @__PURE__ */
|
|
5590
|
+
children: expanded ? /* @__PURE__ */ jsx45(ExpandMoreIcon, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } }) : /* @__PURE__ */ jsx45(ChevronRightIcon2, { sx: { fontSize: CHEVRON_SIZE, color: deploymentSurfaceTokens.accentBlue } })
|
|
5541
5591
|
}
|
|
5542
|
-
) : /* @__PURE__ */
|
|
5543
|
-
/* @__PURE__ */
|
|
5544
|
-
/* @__PURE__ */
|
|
5545
|
-
|
|
5592
|
+
) : /* @__PURE__ */ jsx45(Box14, { sx: { width: 26, flexShrink: 0 } }),
|
|
5593
|
+
/* @__PURE__ */ jsx45(EntityChip, { entityType, color: entityColor }),
|
|
5594
|
+
/* @__PURE__ */ jsx45(
|
|
5595
|
+
Typography13,
|
|
5546
5596
|
{
|
|
5547
5597
|
variant: "subtitle1",
|
|
5548
5598
|
fontWeight: 500,
|
|
@@ -5551,9 +5601,9 @@ var DeploymentDashboardCard = ({
|
|
|
5551
5601
|
children: title
|
|
5552
5602
|
}
|
|
5553
5603
|
),
|
|
5554
|
-
idDisplay != null && /* @__PURE__ */
|
|
5604
|
+
idDisplay != null && /* @__PURE__ */ jsx45(IDBlock, { id: idDisplay, label: "ID", entityType, onCopy: onCopyId })
|
|
5555
5605
|
] }),
|
|
5556
|
-
(createdAt != null || updatedAt != null) && /* @__PURE__ */
|
|
5606
|
+
(createdAt != null || updatedAt != null) && /* @__PURE__ */ jsxs21(
|
|
5557
5607
|
Box14,
|
|
5558
5608
|
{
|
|
5559
5609
|
sx: {
|
|
@@ -5563,27 +5613,27 @@ var DeploymentDashboardCard = ({
|
|
|
5563
5613
|
color: deploymentSurfaceTokens.textSecondary
|
|
5564
5614
|
},
|
|
5565
5615
|
children: [
|
|
5566
|
-
createdAt != null && /* @__PURE__ */
|
|
5616
|
+
createdAt != null && /* @__PURE__ */ jsxs21(Typography13, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
|
|
5567
5617
|
"Created: ",
|
|
5568
5618
|
createdAt
|
|
5569
5619
|
] }),
|
|
5570
|
-
updatedAt != null && /* @__PURE__ */
|
|
5620
|
+
updatedAt != null && /* @__PURE__ */ jsxs21(Typography13, { variant: "body2", sx: { color: "inherit", fontSize: "14px" }, children: [
|
|
5571
5621
|
"Last Updated: ",
|
|
5572
5622
|
updatedAt
|
|
5573
5623
|
] })
|
|
5574
5624
|
]
|
|
5575
5625
|
}
|
|
5576
5626
|
),
|
|
5577
|
-
capacityClamped !== void 0 && /* @__PURE__ */
|
|
5627
|
+
capacityClamped !== void 0 && /* @__PURE__ */ jsx45(CapacityBar, { value: capacityClamped, indented: expandable })
|
|
5578
5628
|
] }),
|
|
5579
|
-
/* @__PURE__ */
|
|
5580
|
-
statusIndicator != null && /* @__PURE__ */
|
|
5581
|
-
/* @__PURE__ */
|
|
5629
|
+
/* @__PURE__ */ jsxs21(Box14, { sx: { display: "flex", gap: 1, alignItems: "center", flexShrink: 0 }, children: [
|
|
5630
|
+
statusIndicator != null && /* @__PURE__ */ jsx45(StatusDot, { status: statusIndicator, "aria-hidden": true }),
|
|
5631
|
+
/* @__PURE__ */ jsx45(CardActionList, { actions })
|
|
5582
5632
|
] })
|
|
5583
5633
|
]
|
|
5584
5634
|
}
|
|
5585
5635
|
),
|
|
5586
|
-
children && /* @__PURE__ */
|
|
5636
|
+
children && /* @__PURE__ */ jsx45(Box14, { sx: { mt: 1.5, display: "flex", flexDirection: "column", gap: 1 }, children })
|
|
5587
5637
|
]
|
|
5588
5638
|
}
|
|
5589
5639
|
);
|
|
@@ -5592,7 +5642,7 @@ var DeploymentDashboardCard = ({
|
|
|
5592
5642
|
// src/components/layout/DeploymentEntityContextMenu/DeploymentEntityContextMenu.tsx
|
|
5593
5643
|
import { Menu as Menu5, MenuItem as MenuItem2, Switch as Switch2, Divider as Divider5, ListItemIcon as ListItemIcon5, ListItemText as ListItemText8 } from "@mui/material";
|
|
5594
5644
|
import { styled as styled31 } from "@mui/material/styles";
|
|
5595
|
-
import { Fragment as Fragment11, jsx as
|
|
5645
|
+
import { Fragment as Fragment11, jsx as jsx46, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5596
5646
|
var StyledMenu2 = styled31(Menu5)({
|
|
5597
5647
|
"& .MuiPaper-root": {
|
|
5598
5648
|
borderRadius: 4,
|
|
@@ -5690,7 +5740,7 @@ var DeploymentEntityContextMenu = ({
|
|
|
5690
5740
|
enableChecked = false,
|
|
5691
5741
|
onEnableChange
|
|
5692
5742
|
}) => {
|
|
5693
|
-
return /* @__PURE__ */
|
|
5743
|
+
return /* @__PURE__ */ jsxs22(
|
|
5694
5744
|
StyledMenu2,
|
|
5695
5745
|
{
|
|
5696
5746
|
anchorEl,
|
|
@@ -5702,11 +5752,11 @@ var DeploymentEntityContextMenu = ({
|
|
|
5702
5752
|
children: [
|
|
5703
5753
|
items.map((item) => {
|
|
5704
5754
|
if (item.type === "divider") {
|
|
5705
|
-
return /* @__PURE__ */
|
|
5755
|
+
return /* @__PURE__ */ jsx46(StyledDivider, {}, item.id);
|
|
5706
5756
|
}
|
|
5707
5757
|
if (item.type === "toggle") {
|
|
5708
|
-
return /* @__PURE__ */
|
|
5709
|
-
onEnableChange && /* @__PURE__ */
|
|
5758
|
+
return /* @__PURE__ */ jsxs22(ToggleMenuItem, { disableRipple: true, children: [
|
|
5759
|
+
onEnableChange && /* @__PURE__ */ jsx46(
|
|
5710
5760
|
EnableSwitch,
|
|
5711
5761
|
{
|
|
5712
5762
|
size: "small",
|
|
@@ -5715,11 +5765,11 @@ var DeploymentEntityContextMenu = ({
|
|
|
5715
5765
|
inputProps: { "aria-label": item.label }
|
|
5716
5766
|
}
|
|
5717
5767
|
),
|
|
5718
|
-
/* @__PURE__ */
|
|
5768
|
+
/* @__PURE__ */ jsx46(ListItemText8, { primary: item.label })
|
|
5719
5769
|
] }, item.id);
|
|
5720
5770
|
}
|
|
5721
5771
|
const Row = item.highlighted ? HighlightedMenuItem : StyledMenuItem;
|
|
5722
|
-
return /* @__PURE__ */
|
|
5772
|
+
return /* @__PURE__ */ jsxs22(
|
|
5723
5773
|
Row,
|
|
5724
5774
|
{
|
|
5725
5775
|
onClick: () => {
|
|
@@ -5727,17 +5777,17 @@ var DeploymentEntityContextMenu = ({
|
|
|
5727
5777
|
onClose();
|
|
5728
5778
|
},
|
|
5729
5779
|
children: [
|
|
5730
|
-
item.icon && /* @__PURE__ */
|
|
5731
|
-
/* @__PURE__ */
|
|
5780
|
+
item.icon && /* @__PURE__ */ jsx46(ListItemIcon5, { children: item.icon }),
|
|
5781
|
+
/* @__PURE__ */ jsx46(ListItemText8, { primary: item.label })
|
|
5732
5782
|
]
|
|
5733
5783
|
},
|
|
5734
5784
|
item.id
|
|
5735
5785
|
);
|
|
5736
5786
|
}),
|
|
5737
|
-
enableToggle && /* @__PURE__ */
|
|
5738
|
-
/* @__PURE__ */
|
|
5739
|
-
/* @__PURE__ */
|
|
5740
|
-
onEnableChange && /* @__PURE__ */
|
|
5787
|
+
enableToggle && /* @__PURE__ */ jsxs22(Fragment11, { children: [
|
|
5788
|
+
/* @__PURE__ */ jsx46(StyledDivider, {}),
|
|
5789
|
+
/* @__PURE__ */ jsxs22(ToggleMenuItem, { disableRipple: true, children: [
|
|
5790
|
+
onEnableChange && /* @__PURE__ */ jsx46(
|
|
5741
5791
|
EnableSwitch,
|
|
5742
5792
|
{
|
|
5743
5793
|
size: "small",
|
|
@@ -5746,7 +5796,7 @@ var DeploymentEntityContextMenu = ({
|
|
|
5746
5796
|
inputProps: { "aria-label": "Enable" }
|
|
5747
5797
|
}
|
|
5748
5798
|
),
|
|
5749
|
-
/* @__PURE__ */
|
|
5799
|
+
/* @__PURE__ */ jsx46(ListItemText8, { primary: "Enable" })
|
|
5750
5800
|
] })
|
|
5751
5801
|
] })
|
|
5752
5802
|
]
|
|
@@ -5761,48 +5811,48 @@ import ContentCopyIcon2 from "@mui/icons-material/ContentCopy";
|
|
|
5761
5811
|
import SmartToyOutlinedIcon2 from "@mui/icons-material/SmartToyOutlined";
|
|
5762
5812
|
import DescriptionIcon from "@mui/icons-material/Description";
|
|
5763
5813
|
import SettingsIcon2 from "@mui/icons-material/Settings";
|
|
5764
|
-
import { jsx as
|
|
5814
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
5765
5815
|
var contextMenuItems = {
|
|
5766
5816
|
/** Add Engagement action (Add Circle icon) */
|
|
5767
5817
|
addEngagement: (onClick) => ({
|
|
5768
5818
|
id: "add-engagement",
|
|
5769
5819
|
label: "Add Engagement",
|
|
5770
|
-
icon: /* @__PURE__ */
|
|
5820
|
+
icon: /* @__PURE__ */ jsx47(AddCircleOutlineIcon, {}),
|
|
5771
5821
|
onClick
|
|
5772
5822
|
}),
|
|
5773
5823
|
/** Add Agent action (Add Circle icon) */
|
|
5774
5824
|
addAgent: (onClick) => ({
|
|
5775
5825
|
id: "add-agent",
|
|
5776
5826
|
label: "Add Agent",
|
|
5777
|
-
icon: /* @__PURE__ */
|
|
5827
|
+
icon: /* @__PURE__ */ jsx47(AddCircleOutlineIcon, {}),
|
|
5778
5828
|
onClick
|
|
5779
5829
|
}),
|
|
5780
5830
|
/** Add Stream action (Add Circle icon) */
|
|
5781
5831
|
addStream: (onClick) => ({
|
|
5782
5832
|
id: "add-stream",
|
|
5783
5833
|
label: "Add Stream",
|
|
5784
|
-
icon: /* @__PURE__ */
|
|
5834
|
+
icon: /* @__PURE__ */ jsx47(AddCircleOutlineIcon, {}),
|
|
5785
5835
|
onClick
|
|
5786
5836
|
}),
|
|
5787
5837
|
/** Edit action (Pen / Edit icon) */
|
|
5788
5838
|
edit: (onClick) => ({
|
|
5789
5839
|
id: "edit",
|
|
5790
5840
|
label: "Edit",
|
|
5791
|
-
icon: /* @__PURE__ */
|
|
5841
|
+
icon: /* @__PURE__ */ jsx47(EditIcon, {}),
|
|
5792
5842
|
onClick
|
|
5793
5843
|
}),
|
|
5794
5844
|
/** Copy ID action (Copy icon) */
|
|
5795
5845
|
copyId: (onClick) => ({
|
|
5796
5846
|
id: "copy-id",
|
|
5797
5847
|
label: "Copy ID",
|
|
5798
|
-
icon: /* @__PURE__ */
|
|
5848
|
+
icon: /* @__PURE__ */ jsx47(ContentCopyIcon2, {}),
|
|
5799
5849
|
onClick
|
|
5800
5850
|
}),
|
|
5801
5851
|
/** Agent Flow Visualization — highlighted action (SmartToy icon) */
|
|
5802
5852
|
agentFlowVisualization: (onClick) => ({
|
|
5803
5853
|
id: "agent-flow",
|
|
5804
5854
|
label: "Agent Flow Visualization",
|
|
5805
|
-
icon: /* @__PURE__ */
|
|
5855
|
+
icon: /* @__PURE__ */ jsx47(SmartToyOutlinedIcon2, {}),
|
|
5806
5856
|
onClick,
|
|
5807
5857
|
highlighted: true
|
|
5808
5858
|
}),
|
|
@@ -5810,7 +5860,7 @@ var contextMenuItems = {
|
|
|
5810
5860
|
viewLogs: (onClick) => ({
|
|
5811
5861
|
id: "view-logs",
|
|
5812
5862
|
label: "View Logs",
|
|
5813
|
-
icon: /* @__PURE__ */
|
|
5863
|
+
icon: /* @__PURE__ */ jsx47(DescriptionIcon, {}),
|
|
5814
5864
|
onClick
|
|
5815
5865
|
}),
|
|
5816
5866
|
/** Horizontal divider between sections */
|
|
@@ -5829,7 +5879,7 @@ var contextMenuItems = {
|
|
|
5829
5879
|
settings: (onClick) => ({
|
|
5830
5880
|
id: "settings",
|
|
5831
5881
|
label: "Settings",
|
|
5832
|
-
icon: /* @__PURE__ */
|
|
5882
|
+
icon: /* @__PURE__ */ jsx47(SettingsIcon2, {}),
|
|
5833
5883
|
onClick
|
|
5834
5884
|
})
|
|
5835
5885
|
};
|
|
@@ -5837,7 +5887,7 @@ var contextMenuItems = {
|
|
|
5837
5887
|
// src/components/layout/DeploymentDashboardTree/DeploymentDashboardTree.tsx
|
|
5838
5888
|
import { Box as Box15 } from "@mui/material";
|
|
5839
5889
|
import { styled as styled32, alpha } from "@mui/material/styles";
|
|
5840
|
-
import { jsx as
|
|
5890
|
+
import { jsx as jsx48, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5841
5891
|
var TREE_SP = {
|
|
5842
5892
|
/** Vertical gap between sibling rows (Figma S / sp-8) */
|
|
5843
5893
|
rowGap: 8,
|
|
@@ -5874,9 +5924,9 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
5874
5924
|
const entityColor = deploymentEntityColors[node.entityType] ?? deploymentEntityColors.workspace;
|
|
5875
5925
|
const railOpacity = RAIL_OPACITY[node.entityType] ?? 0.5;
|
|
5876
5926
|
const railColor = alpha(entityColor, railOpacity);
|
|
5877
|
-
const renderedChildren = hasChildren && expanded ? /* @__PURE__ */
|
|
5878
|
-
/* @__PURE__ */
|
|
5879
|
-
/* @__PURE__ */
|
|
5927
|
+
const renderedChildren = hasChildren && expanded ? /* @__PURE__ */ jsxs23(Box15, { sx: { display: "flex", gap: `${TREE_SP.railGap}px` }, children: [
|
|
5928
|
+
/* @__PURE__ */ jsx48(Rail, { railColor, "aria-hidden": true, "data-rail": true }),
|
|
5929
|
+
/* @__PURE__ */ jsx48(
|
|
5880
5930
|
Box15,
|
|
5881
5931
|
{
|
|
5882
5932
|
role: "group",
|
|
@@ -5887,7 +5937,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
5887
5937
|
flexDirection: "column",
|
|
5888
5938
|
gap: `${TREE_SP.rowGap}px`
|
|
5889
5939
|
},
|
|
5890
|
-
children: node.children.map((child) => /* @__PURE__ */
|
|
5940
|
+
children: node.children.map((child) => /* @__PURE__ */ jsx48(
|
|
5891
5941
|
TreeRow,
|
|
5892
5942
|
{
|
|
5893
5943
|
node: child,
|
|
@@ -5901,7 +5951,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
5901
5951
|
}
|
|
5902
5952
|
)
|
|
5903
5953
|
] }) : null;
|
|
5904
|
-
const cardContent = renderCard?.(node) ?? /* @__PURE__ */
|
|
5954
|
+
const cardContent = renderCard?.(node) ?? /* @__PURE__ */ jsx48(
|
|
5905
5955
|
DeploymentDashboardCard,
|
|
5906
5956
|
{
|
|
5907
5957
|
entityType: node.entityType,
|
|
@@ -5919,7 +5969,7 @@ var TreeRow = ({ node, depth, onExpandToggle, onCopyId, renderCard }) => {
|
|
|
5919
5969
|
children: renderedChildren
|
|
5920
5970
|
}
|
|
5921
5971
|
);
|
|
5922
|
-
return /* @__PURE__ */
|
|
5972
|
+
return /* @__PURE__ */ jsx48(Box15, { role: "treeitem", children: cardContent });
|
|
5923
5973
|
};
|
|
5924
5974
|
var DeploymentDashboardTree = ({
|
|
5925
5975
|
nodes,
|
|
@@ -5927,7 +5977,7 @@ var DeploymentDashboardTree = ({
|
|
|
5927
5977
|
onCopyId,
|
|
5928
5978
|
renderCard
|
|
5929
5979
|
}) => {
|
|
5930
|
-
return /* @__PURE__ */
|
|
5980
|
+
return /* @__PURE__ */ jsx48(
|
|
5931
5981
|
Box15,
|
|
5932
5982
|
{
|
|
5933
5983
|
role: "tree",
|
|
@@ -5937,7 +5987,7 @@ var DeploymentDashboardTree = ({
|
|
|
5937
5987
|
gap: `${TREE_SP.rowGap}px`,
|
|
5938
5988
|
p: `${TREE_SP.rowGap}px`
|
|
5939
5989
|
},
|
|
5940
|
-
children: nodes.map((node) => /* @__PURE__ */
|
|
5990
|
+
children: nodes.map((node) => /* @__PURE__ */ jsx48(
|
|
5941
5991
|
TreeRow,
|
|
5942
5992
|
{
|
|
5943
5993
|
node,
|
|
@@ -5955,7 +6005,7 @@ var DeploymentDashboardTree = ({
|
|
|
5955
6005
|
// src/components/layout/DeploymentDashboardPanel/DeploymentDashboardPanel.tsx
|
|
5956
6006
|
import { Box as Box16 } from "@mui/material";
|
|
5957
6007
|
import { styled as styled33 } from "@mui/material/styles";
|
|
5958
|
-
import { jsx as
|
|
6008
|
+
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
5959
6009
|
var PANEL_RADIUS = 12;
|
|
5960
6010
|
var PANEL_SHADOW = "0px 1px 3px rgba(0, 0, 0, 0.08)";
|
|
5961
6011
|
var StyledPanel = styled33(Box16)({
|
|
@@ -5970,13 +6020,13 @@ var DeploymentDashboardPanel = ({
|
|
|
5970
6020
|
className,
|
|
5971
6021
|
padding = 2
|
|
5972
6022
|
}) => {
|
|
5973
|
-
return /* @__PURE__ */
|
|
6023
|
+
return /* @__PURE__ */ jsx49(StyledPanel, { className, sx: { p: padding }, children });
|
|
5974
6024
|
};
|
|
5975
6025
|
|
|
5976
6026
|
// src/components/layout/Avatar.tsx
|
|
5977
6027
|
import MuiAvatar from "@mui/material/Avatar";
|
|
5978
6028
|
import { styled as styled34 } from "@mui/material/styles";
|
|
5979
|
-
import { jsx as
|
|
6029
|
+
import { jsx as jsx50 } from "react/jsx-runtime";
|
|
5980
6030
|
var sizeMap = {
|
|
5981
6031
|
small: 32,
|
|
5982
6032
|
medium: 40,
|
|
@@ -5993,7 +6043,7 @@ var StyledAvatar = styled34(MuiAvatar, {
|
|
|
5993
6043
|
}));
|
|
5994
6044
|
var Avatar5 = ({ size: size3 = "medium", ...props }) => {
|
|
5995
6045
|
const avatarSize = typeof size3 === "number" ? size3 : sizeMap[size3];
|
|
5996
|
-
return /* @__PURE__ */
|
|
6046
|
+
return /* @__PURE__ */ jsx50(StyledAvatar, { avatarSize, ...props });
|
|
5997
6047
|
};
|
|
5998
6048
|
|
|
5999
6049
|
// src/components/layout/Table.tsx
|
|
@@ -6007,7 +6057,7 @@ import {
|
|
|
6007
6057
|
TableSortLabel
|
|
6008
6058
|
} from "@mui/material";
|
|
6009
6059
|
import { styled as styled35 } from "@mui/material/styles";
|
|
6010
|
-
import { jsx as
|
|
6060
|
+
import { jsx as jsx51 } from "react/jsx-runtime";
|
|
6011
6061
|
var StyledTableContainer = styled35(TableContainer)({
|
|
6012
6062
|
borderRadius: 8,
|
|
6013
6063
|
border: `1px solid ${colors.grey[200]}`
|
|
@@ -6020,7 +6070,7 @@ var StyledTableHead = styled35(TableHead)({
|
|
|
6020
6070
|
}
|
|
6021
6071
|
});
|
|
6022
6072
|
var Table = ({ stickyHeader = false, children, ...props }) => {
|
|
6023
|
-
return /* @__PURE__ */
|
|
6073
|
+
return /* @__PURE__ */ jsx51(StyledTableContainer, { children: /* @__PURE__ */ jsx51(MuiTable, { stickyHeader, ...props, children }) });
|
|
6024
6074
|
};
|
|
6025
6075
|
var TableHeader = ({
|
|
6026
6076
|
columns,
|
|
@@ -6028,7 +6078,7 @@ var TableHeader = ({
|
|
|
6028
6078
|
order = "asc",
|
|
6029
6079
|
onSort
|
|
6030
6080
|
}) => {
|
|
6031
|
-
return /* @__PURE__ */
|
|
6081
|
+
return /* @__PURE__ */ jsx51(StyledTableHead, { children: /* @__PURE__ */ jsx51(TableRow, { children: columns.map((column) => /* @__PURE__ */ jsx51(TableCell, { align: column.align || "left", children: column.sortable && onSort ? /* @__PURE__ */ jsx51(
|
|
6032
6082
|
TableSortLabel,
|
|
6033
6083
|
{
|
|
6034
6084
|
active: orderBy === column.id,
|
|
@@ -6045,9 +6095,9 @@ import { Grid2 } from "@mui/material";
|
|
|
6045
6095
|
// src/components/layout/Breadcrumbs.tsx
|
|
6046
6096
|
import MuiBreadcrumbs from "@mui/material/Breadcrumbs";
|
|
6047
6097
|
import Link4 from "@mui/material/Link";
|
|
6048
|
-
import
|
|
6098
|
+
import Typography14 from "@mui/material/Typography";
|
|
6049
6099
|
import { styled as styled36 } from "@mui/material/styles";
|
|
6050
|
-
import { jsx as
|
|
6100
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
6051
6101
|
var StyledBreadcrumbs = styled36(MuiBreadcrumbs)({
|
|
6052
6102
|
"& .MuiBreadcrumbs-ol": {
|
|
6053
6103
|
flexWrap: "nowrap"
|
|
@@ -6064,12 +6114,12 @@ var StyledLink2 = styled36(Link4)({
|
|
|
6064
6114
|
}
|
|
6065
6115
|
});
|
|
6066
6116
|
var Breadcrumbs = ({ items, ...props }) => {
|
|
6067
|
-
return /* @__PURE__ */
|
|
6117
|
+
return /* @__PURE__ */ jsx52(StyledBreadcrumbs, { ...props, children: items.map((item, index) => {
|
|
6068
6118
|
const isLast = index === items.length - 1;
|
|
6069
6119
|
if (isLast || !item.href && !item.onClick) {
|
|
6070
|
-
return /* @__PURE__ */
|
|
6120
|
+
return /* @__PURE__ */ jsx52(Typography14, { color: "text.primary", children: item.label }, index);
|
|
6071
6121
|
}
|
|
6072
|
-
return /* @__PURE__ */
|
|
6122
|
+
return /* @__PURE__ */ jsx52(
|
|
6073
6123
|
StyledLink2,
|
|
6074
6124
|
{
|
|
6075
6125
|
href: item.href,
|
|
@@ -6094,7 +6144,7 @@ import {
|
|
|
6094
6144
|
} from "@mui/material";
|
|
6095
6145
|
import ExpandMoreIcon2 from "@mui/icons-material/ExpandMore";
|
|
6096
6146
|
import { styled as styled37 } from "@mui/material/styles";
|
|
6097
|
-
import { jsx as
|
|
6147
|
+
import { jsx as jsx53, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
6098
6148
|
var StyledAccordion = styled37(MuiAccordion)({
|
|
6099
6149
|
borderRadius: 8,
|
|
6100
6150
|
boxShadow: "none",
|
|
@@ -6125,16 +6175,16 @@ var Accordion = ({
|
|
|
6125
6175
|
defaultExpanded = false,
|
|
6126
6176
|
...props
|
|
6127
6177
|
}) => {
|
|
6128
|
-
return /* @__PURE__ */
|
|
6129
|
-
/* @__PURE__ */
|
|
6130
|
-
/* @__PURE__ */
|
|
6178
|
+
return /* @__PURE__ */ jsxs24(StyledAccordion, { defaultExpanded, ...props, children: [
|
|
6179
|
+
/* @__PURE__ */ jsx53(StyledAccordionSummary, { expandIcon: /* @__PURE__ */ jsx53(ExpandMoreIcon2, {}), children: title }),
|
|
6180
|
+
/* @__PURE__ */ jsx53(StyledAccordionDetails, { children })
|
|
6131
6181
|
] });
|
|
6132
6182
|
};
|
|
6133
6183
|
|
|
6134
6184
|
// src/components/layout/Paper.tsx
|
|
6135
6185
|
import MuiPaper from "@mui/material/Paper";
|
|
6136
6186
|
import { styled as styled38 } from "@mui/material/styles";
|
|
6137
|
-
import { jsx as
|
|
6187
|
+
import { jsx as jsx54 } from "react/jsx-runtime";
|
|
6138
6188
|
var StyledPaper = styled38(MuiPaper)({
|
|
6139
6189
|
borderRadius: 8,
|
|
6140
6190
|
"&.MuiPaper-elevation": {
|
|
@@ -6146,28 +6196,28 @@ var StyledPaper = styled38(MuiPaper)({
|
|
|
6146
6196
|
}
|
|
6147
6197
|
});
|
|
6148
6198
|
var Paper2 = ({ variant = "elevation", ...props }) => {
|
|
6149
|
-
return /* @__PURE__ */
|
|
6199
|
+
return /* @__PURE__ */ jsx54(StyledPaper, { variant, elevation: variant === "elevation" ? 1 : 0, ...props });
|
|
6150
6200
|
};
|
|
6151
6201
|
|
|
6152
6202
|
// src/components/layout/Divider.tsx
|
|
6153
6203
|
import MuiDivider from "@mui/material/Divider";
|
|
6154
6204
|
import { styled as styled39 } from "@mui/material/styles";
|
|
6155
|
-
import { jsx as
|
|
6205
|
+
import { jsx as jsx55 } from "react/jsx-runtime";
|
|
6156
6206
|
var StyledDivider2 = styled39(MuiDivider)({
|
|
6157
6207
|
borderColor: colors.grey[200]
|
|
6158
6208
|
});
|
|
6159
6209
|
var Divider6 = ({ ...props }) => {
|
|
6160
|
-
return /* @__PURE__ */
|
|
6210
|
+
return /* @__PURE__ */ jsx55(StyledDivider2, { ...props });
|
|
6161
6211
|
};
|
|
6162
6212
|
|
|
6163
6213
|
// src/components/layout/Stack.tsx
|
|
6164
|
-
import { Stack as
|
|
6214
|
+
import { Stack as Stack4 } from "@mui/material";
|
|
6165
6215
|
|
|
6166
6216
|
// src/components/layout/Box.tsx
|
|
6167
6217
|
import { Box as Box17 } from "@mui/material";
|
|
6168
6218
|
|
|
6169
6219
|
// src/components/layout/Typography.tsx
|
|
6170
|
-
import { Typography as
|
|
6220
|
+
import { Typography as Typography15 } from "@mui/material";
|
|
6171
6221
|
|
|
6172
6222
|
// src/components/layout/Container.tsx
|
|
6173
6223
|
import { Container as Container2 } from "@mui/material";
|
|
@@ -6178,7 +6228,7 @@ import {
|
|
|
6178
6228
|
Toolbar
|
|
6179
6229
|
} from "@mui/material";
|
|
6180
6230
|
import { styled as styled40 } from "@mui/material/styles";
|
|
6181
|
-
import { jsx as
|
|
6231
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
6182
6232
|
var StyledAppBar = styled40(MuiAppBar, {
|
|
6183
6233
|
shouldForwardProp: (prop) => prop !== "appBarHeight"
|
|
6184
6234
|
})(({ appBarHeight = 64 }) => ({
|
|
@@ -6195,16 +6245,16 @@ var StyledToolbar = styled40(Toolbar)(({ theme: theme2 }) => ({
|
|
|
6195
6245
|
gap: theme2.spacing(2)
|
|
6196
6246
|
}));
|
|
6197
6247
|
var AppBar = ({ height = 64, children, ...props }) => {
|
|
6198
|
-
return /* @__PURE__ */
|
|
6248
|
+
return /* @__PURE__ */ jsx56(StyledAppBar, { position: "fixed", appBarHeight: height, ...props, children: /* @__PURE__ */ jsx56(StyledToolbar, { children }) });
|
|
6199
6249
|
};
|
|
6200
6250
|
|
|
6201
6251
|
// src/components/layout/Collapse.tsx
|
|
6202
6252
|
import {
|
|
6203
6253
|
Collapse as MuiCollapse
|
|
6204
6254
|
} from "@mui/material";
|
|
6205
|
-
import { jsx as
|
|
6255
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
6206
6256
|
var Collapse = (props) => {
|
|
6207
|
-
return /* @__PURE__ */
|
|
6257
|
+
return /* @__PURE__ */ jsx57(MuiCollapse, { ...props });
|
|
6208
6258
|
};
|
|
6209
6259
|
|
|
6210
6260
|
// src/components/feedback/Alert.tsx
|
|
@@ -6213,7 +6263,7 @@ import MuiAlert from "@mui/material/Alert";
|
|
|
6213
6263
|
import { AlertTitle as MuiAlertTitle } from "@mui/material";
|
|
6214
6264
|
import MuiSnackbar from "@mui/material/Snackbar";
|
|
6215
6265
|
import { styled as styled41 } from "@mui/material/styles";
|
|
6216
|
-
import { jsx as
|
|
6266
|
+
import { jsx as jsx58, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
6217
6267
|
var StyledAlert = styled41(MuiAlert)({
|
|
6218
6268
|
borderRadius: 8,
|
|
6219
6269
|
"&.MuiAlert-filled": {
|
|
@@ -6226,8 +6276,8 @@ var Alert2 = ({
|
|
|
6226
6276
|
children,
|
|
6227
6277
|
...props
|
|
6228
6278
|
}) => {
|
|
6229
|
-
return /* @__PURE__ */
|
|
6230
|
-
title && /* @__PURE__ */
|
|
6279
|
+
return /* @__PURE__ */ jsxs25(StyledAlert, { severity, ...props, children: [
|
|
6280
|
+
title && /* @__PURE__ */ jsx58(MuiAlertTitle, { children: title }),
|
|
6231
6281
|
children
|
|
6232
6282
|
] });
|
|
6233
6283
|
};
|
|
@@ -6249,7 +6299,7 @@ var Snackbar2 = ({
|
|
|
6249
6299
|
}
|
|
6250
6300
|
onClose?.();
|
|
6251
6301
|
};
|
|
6252
|
-
const content = children || (message ? /* @__PURE__ */
|
|
6302
|
+
const content = children || (message ? /* @__PURE__ */ jsx58(
|
|
6253
6303
|
Alert2,
|
|
6254
6304
|
{
|
|
6255
6305
|
onClose: onClose ? handleClose : void 0,
|
|
@@ -6275,7 +6325,7 @@ var Snackbar2 = ({
|
|
|
6275
6325
|
}
|
|
6276
6326
|
);
|
|
6277
6327
|
NoTransition.displayName = "NoTransition";
|
|
6278
|
-
return /* @__PURE__ */
|
|
6328
|
+
return /* @__PURE__ */ jsx58(
|
|
6279
6329
|
StyledSnackbar,
|
|
6280
6330
|
{
|
|
6281
6331
|
anchorOrigin,
|
|
@@ -6295,15 +6345,15 @@ var Snackbar2 = ({
|
|
|
6295
6345
|
};
|
|
6296
6346
|
|
|
6297
6347
|
// src/components/feedback/EmptyState.tsx
|
|
6298
|
-
import { Box as Box18, Typography as
|
|
6299
|
-
import { jsx as
|
|
6348
|
+
import { Box as Box18, Typography as Typography16 } from "@mui/material";
|
|
6349
|
+
import { jsx as jsx59, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
6300
6350
|
var EmptyState = ({
|
|
6301
6351
|
title = "No items found",
|
|
6302
6352
|
description,
|
|
6303
6353
|
icon,
|
|
6304
6354
|
action
|
|
6305
6355
|
}) => {
|
|
6306
|
-
return /* @__PURE__ */
|
|
6356
|
+
return /* @__PURE__ */ jsxs26(
|
|
6307
6357
|
Box18,
|
|
6308
6358
|
{
|
|
6309
6359
|
sx: {
|
|
@@ -6316,7 +6366,7 @@ var EmptyState = ({
|
|
|
6316
6366
|
minHeight: 200
|
|
6317
6367
|
},
|
|
6318
6368
|
children: [
|
|
6319
|
-
icon && /* @__PURE__ */
|
|
6369
|
+
icon && /* @__PURE__ */ jsx59(
|
|
6320
6370
|
Box18,
|
|
6321
6371
|
{
|
|
6322
6372
|
sx: {
|
|
@@ -6327,23 +6377,23 @@ var EmptyState = ({
|
|
|
6327
6377
|
children: icon
|
|
6328
6378
|
}
|
|
6329
6379
|
),
|
|
6330
|
-
/* @__PURE__ */
|
|
6331
|
-
description && /* @__PURE__ */
|
|
6332
|
-
action && /* @__PURE__ */
|
|
6380
|
+
/* @__PURE__ */ jsx59(Typography16, { variant: "h6", sx: { marginBottom: 1, color: colors.text.primary }, children: title }),
|
|
6381
|
+
description && /* @__PURE__ */ jsx59(Typography16, { variant: "body2", sx: { color: colors.text.secondary, marginBottom: 3 }, children: description }),
|
|
6382
|
+
action && /* @__PURE__ */ jsx59(Box18, { children: action })
|
|
6333
6383
|
]
|
|
6334
6384
|
}
|
|
6335
6385
|
);
|
|
6336
6386
|
};
|
|
6337
6387
|
|
|
6338
6388
|
// src/components/feedback/Loading.tsx
|
|
6339
|
-
import { Box as Box19, CircularProgress as CircularProgress4, Typography as
|
|
6340
|
-
import { jsx as
|
|
6389
|
+
import { Box as Box19, CircularProgress as CircularProgress4, Typography as Typography17 } from "@mui/material";
|
|
6390
|
+
import { jsx as jsx60, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
6341
6391
|
var Loading = ({
|
|
6342
6392
|
message = "Loading...",
|
|
6343
6393
|
size: size3 = 40,
|
|
6344
6394
|
fullScreen = false
|
|
6345
6395
|
}) => {
|
|
6346
|
-
const content = /* @__PURE__ */
|
|
6396
|
+
const content = /* @__PURE__ */ jsxs27(
|
|
6347
6397
|
Box19,
|
|
6348
6398
|
{
|
|
6349
6399
|
sx: {
|
|
@@ -6366,8 +6416,8 @@ var Loading = ({
|
|
|
6366
6416
|
}
|
|
6367
6417
|
},
|
|
6368
6418
|
children: [
|
|
6369
|
-
/* @__PURE__ */
|
|
6370
|
-
message && /* @__PURE__ */
|
|
6419
|
+
/* @__PURE__ */ jsx60(CircularProgress4, { size: size3, thickness: 4 }),
|
|
6420
|
+
message && /* @__PURE__ */ jsx60(Typography17, { variant: "body2", color: "text.secondary", children: message })
|
|
6371
6421
|
]
|
|
6372
6422
|
}
|
|
6373
6423
|
);
|
|
@@ -6375,14 +6425,14 @@ var Loading = ({
|
|
|
6375
6425
|
};
|
|
6376
6426
|
|
|
6377
6427
|
// src/components/feedback/AppLoading.tsx
|
|
6378
|
-
import { Box as Box20, CircularProgress as CircularProgress5, Typography as
|
|
6379
|
-
import { jsx as
|
|
6428
|
+
import { Box as Box20, CircularProgress as CircularProgress5, Typography as Typography18 } from "@mui/material";
|
|
6429
|
+
import { jsx as jsx61, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
6380
6430
|
var AppLoading = ({
|
|
6381
6431
|
message = "Loading...",
|
|
6382
6432
|
logo = "/icons/logo.png",
|
|
6383
6433
|
sx = {}
|
|
6384
6434
|
}) => {
|
|
6385
|
-
return /* @__PURE__ */
|
|
6435
|
+
return /* @__PURE__ */ jsxs28(
|
|
6386
6436
|
Box20,
|
|
6387
6437
|
{
|
|
6388
6438
|
sx: {
|
|
@@ -6401,7 +6451,7 @@ var AppLoading = ({
|
|
|
6401
6451
|
...sx
|
|
6402
6452
|
},
|
|
6403
6453
|
children: [
|
|
6404
|
-
logo && /* @__PURE__ */
|
|
6454
|
+
logo && /* @__PURE__ */ jsx61(
|
|
6405
6455
|
Box20,
|
|
6406
6456
|
{
|
|
6407
6457
|
component: "img",
|
|
@@ -6414,8 +6464,8 @@ var AppLoading = ({
|
|
|
6414
6464
|
}
|
|
6415
6465
|
}
|
|
6416
6466
|
),
|
|
6417
|
-
/* @__PURE__ */
|
|
6418
|
-
/* @__PURE__ */
|
|
6467
|
+
/* @__PURE__ */ jsx61(CircularProgress5, { size: 40, thickness: 4, sx: { mb: 2 } }),
|
|
6468
|
+
/* @__PURE__ */ jsx61(Typography18, { variant: "body1", color: "text.secondary", children: message })
|
|
6419
6469
|
]
|
|
6420
6470
|
}
|
|
6421
6471
|
);
|
|
@@ -6425,22 +6475,22 @@ var AppLoading = ({
|
|
|
6425
6475
|
import {
|
|
6426
6476
|
CircularProgress as MuiCircularProgress
|
|
6427
6477
|
} from "@mui/material";
|
|
6428
|
-
import { jsx as
|
|
6478
|
+
import { jsx as jsx62 } from "react/jsx-runtime";
|
|
6429
6479
|
var CircularProgress6 = ({
|
|
6430
6480
|
size: size3 = 40,
|
|
6431
6481
|
thickness = 4,
|
|
6432
6482
|
...props
|
|
6433
6483
|
}) => {
|
|
6434
|
-
return /* @__PURE__ */
|
|
6484
|
+
return /* @__PURE__ */ jsx62(MuiCircularProgress, { size: size3, thickness, ...props });
|
|
6435
6485
|
};
|
|
6436
6486
|
|
|
6437
6487
|
// src/components/icons/ActivityAppIcon.tsx
|
|
6438
6488
|
import { memo as memo2 } from "react";
|
|
6439
6489
|
import { SvgIcon as SvgIcon2 } from "@mui/material";
|
|
6440
|
-
import { jsx as
|
|
6441
|
-
var ActivityAppIcon = memo2((props) => /* @__PURE__ */
|
|
6442
|
-
/* @__PURE__ */
|
|
6443
|
-
/* @__PURE__ */
|
|
6490
|
+
import { jsx as jsx63, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
6491
|
+
var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs29(SvgIcon2, { ...props, viewBox: "0 0 36 36", children: [
|
|
6492
|
+
/* @__PURE__ */ jsx63("rect", { fill: "none", stroke: "currentColor", width: 34, height: 34, x: 1, y: 1, strokeWidth: 1.5, rx: 6.8 }),
|
|
6493
|
+
/* @__PURE__ */ jsx63(
|
|
6444
6494
|
"rect",
|
|
6445
6495
|
{
|
|
6446
6496
|
fill: "none",
|
|
@@ -6453,7 +6503,7 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs28(SvgIcon2, { ...pro
|
|
|
6453
6503
|
rx: 1.7
|
|
6454
6504
|
}
|
|
6455
6505
|
),
|
|
6456
|
-
/* @__PURE__ */
|
|
6506
|
+
/* @__PURE__ */ jsx63(
|
|
6457
6507
|
"rect",
|
|
6458
6508
|
{
|
|
6459
6509
|
fill: "none",
|
|
@@ -6466,7 +6516,7 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs28(SvgIcon2, { ...pro
|
|
|
6466
6516
|
rx: 1.7
|
|
6467
6517
|
}
|
|
6468
6518
|
),
|
|
6469
|
-
/* @__PURE__ */
|
|
6519
|
+
/* @__PURE__ */ jsx63(
|
|
6470
6520
|
"rect",
|
|
6471
6521
|
{
|
|
6472
6522
|
fill: "none",
|
|
@@ -6483,9 +6533,9 @@ var ActivityAppIcon = memo2((props) => /* @__PURE__ */ jsxs28(SvgIcon2, { ...pro
|
|
|
6483
6533
|
|
|
6484
6534
|
// src/components/icons/ArrowLeft.tsx
|
|
6485
6535
|
import { SvgIcon as SvgIcon3 } from "@mui/material";
|
|
6486
|
-
import { jsx as
|
|
6536
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
6487
6537
|
var LeftArrowIcon = (props) => {
|
|
6488
|
-
return /* @__PURE__ */
|
|
6538
|
+
return /* @__PURE__ */ jsx64(SvgIcon3, { ...props, width: "24", height: "24", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx64("g", { id: " Arrow Left", children: /* @__PURE__ */ jsx64(
|
|
6489
6539
|
"path",
|
|
6490
6540
|
{
|
|
6491
6541
|
id: "Vector (Stroke)",
|
|
@@ -6499,9 +6549,9 @@ var LeftArrowIcon = (props) => {
|
|
|
6499
6549
|
|
|
6500
6550
|
// src/components/icons/ArrowRight.tsx
|
|
6501
6551
|
import { SvgIcon as SvgIcon4 } from "@mui/material";
|
|
6502
|
-
import { jsx as
|
|
6552
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
6503
6553
|
var RightArrowIcon = (props) => {
|
|
6504
|
-
return /* @__PURE__ */
|
|
6554
|
+
return /* @__PURE__ */ jsx65(SvgIcon4, { ...props, width: "25", height: "24", viewBox: "0 0 25 24", children: /* @__PURE__ */ jsx65(
|
|
6505
6555
|
"path",
|
|
6506
6556
|
{
|
|
6507
6557
|
fillRule: "evenodd",
|
|
@@ -6514,10 +6564,10 @@ var RightArrowIcon = (props) => {
|
|
|
6514
6564
|
|
|
6515
6565
|
// src/components/icons/AvatarIcon.tsx
|
|
6516
6566
|
import { SvgIcon as SvgIcon5 } from "@mui/material";
|
|
6517
|
-
import { jsx as
|
|
6567
|
+
import { jsx as jsx66, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6518
6568
|
var AvatarIcon = (props) => {
|
|
6519
|
-
return /* @__PURE__ */
|
|
6520
|
-
/* @__PURE__ */
|
|
6569
|
+
return /* @__PURE__ */ jsxs30(SvgIcon5, { ...props, viewBox: "0 0 16 16", children: [
|
|
6570
|
+
/* @__PURE__ */ jsx66(
|
|
6521
6571
|
"path",
|
|
6522
6572
|
{
|
|
6523
6573
|
fillRule: "evenodd",
|
|
@@ -6526,7 +6576,7 @@ var AvatarIcon = (props) => {
|
|
|
6526
6576
|
fill: "#1D1B20"
|
|
6527
6577
|
}
|
|
6528
6578
|
),
|
|
6529
|
-
/* @__PURE__ */
|
|
6579
|
+
/* @__PURE__ */ jsx66(
|
|
6530
6580
|
"path",
|
|
6531
6581
|
{
|
|
6532
6582
|
fillRule: "evenodd",
|
|
@@ -6541,9 +6591,9 @@ var AvatarIcon = (props) => {
|
|
|
6541
6591
|
// src/components/icons/BarTrackingIcon.tsx
|
|
6542
6592
|
import { memo as memo3 } from "react";
|
|
6543
6593
|
import { SvgIcon as SvgIcon6 } from "@mui/material";
|
|
6544
|
-
import { jsx as
|
|
6545
|
-
var BarTrackingIcon = memo3((props) => /* @__PURE__ */
|
|
6546
|
-
/* @__PURE__ */
|
|
6594
|
+
import { jsx as jsx67, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6595
|
+
var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs31(SvgIcon6, { ...props, viewBox: "0 0 96 97", children: [
|
|
6596
|
+
/* @__PURE__ */ jsx67(
|
|
6547
6597
|
"rect",
|
|
6548
6598
|
{
|
|
6549
6599
|
x: "7.19922",
|
|
@@ -6556,7 +6606,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs30(SvgIcon6, { ...pro
|
|
|
6556
6606
|
fill: "none"
|
|
6557
6607
|
}
|
|
6558
6608
|
),
|
|
6559
|
-
/* @__PURE__ */
|
|
6609
|
+
/* @__PURE__ */ jsx67(
|
|
6560
6610
|
"rect",
|
|
6561
6611
|
{
|
|
6562
6612
|
x: "21.0371",
|
|
@@ -6569,7 +6619,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs30(SvgIcon6, { ...pro
|
|
|
6569
6619
|
strokeWidth: "2"
|
|
6570
6620
|
}
|
|
6571
6621
|
),
|
|
6572
|
-
/* @__PURE__ */
|
|
6622
|
+
/* @__PURE__ */ jsx67(
|
|
6573
6623
|
"rect",
|
|
6574
6624
|
{
|
|
6575
6625
|
x: "40.4746",
|
|
@@ -6582,7 +6632,7 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs30(SvgIcon6, { ...pro
|
|
|
6582
6632
|
strokeWidth: "2"
|
|
6583
6633
|
}
|
|
6584
6634
|
),
|
|
6585
|
-
/* @__PURE__ */
|
|
6635
|
+
/* @__PURE__ */ jsx67(
|
|
6586
6636
|
"rect",
|
|
6587
6637
|
{
|
|
6588
6638
|
x: "59.8828",
|
|
@@ -6600,8 +6650,8 @@ var BarTrackingIcon = memo3((props) => /* @__PURE__ */ jsxs30(SvgIcon6, { ...pro
|
|
|
6600
6650
|
// src/components/icons/ClockIcon.tsx
|
|
6601
6651
|
import { memo as memo4 } from "react";
|
|
6602
6652
|
import { SvgIcon as SvgIcon7 } from "@mui/material";
|
|
6603
|
-
import { jsx as
|
|
6604
|
-
var ClockIcon = memo4((props) => /* @__PURE__ */
|
|
6653
|
+
import { jsx as jsx68 } from "react/jsx-runtime";
|
|
6654
|
+
var ClockIcon = memo4((props) => /* @__PURE__ */ jsx68(SvgIcon7, { ...props, viewBox: "0 0 22 22", children: /* @__PURE__ */ jsx68(
|
|
6605
6655
|
"path",
|
|
6606
6656
|
{
|
|
6607
6657
|
fill: "currentColor",
|
|
@@ -6614,9 +6664,9 @@ var ClockIcon = memo4((props) => /* @__PURE__ */ jsx67(SvgIcon7, { ...props, vie
|
|
|
6614
6664
|
// src/components/icons/CloudFlashIcon.tsx
|
|
6615
6665
|
import { memo as memo5 } from "react";
|
|
6616
6666
|
import { SvgIcon as SvgIcon8 } from "@mui/material";
|
|
6617
|
-
import { jsx as
|
|
6618
|
-
var CloudFlashIcon = memo5((props) => /* @__PURE__ */
|
|
6619
|
-
/* @__PURE__ */
|
|
6667
|
+
import { jsx as jsx69, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
6668
|
+
var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs32(SvgIcon8, { ...props, fill: "none", viewBox: "0 0 96 97", children: [
|
|
6669
|
+
/* @__PURE__ */ jsx69(
|
|
6620
6670
|
"path",
|
|
6621
6671
|
{
|
|
6622
6672
|
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",
|
|
@@ -6625,7 +6675,7 @@ var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs31(SvgIcon8, { ...prop
|
|
|
6625
6675
|
strokeWidth: "2"
|
|
6626
6676
|
}
|
|
6627
6677
|
),
|
|
6628
|
-
/* @__PURE__ */
|
|
6678
|
+
/* @__PURE__ */ jsx69(
|
|
6629
6679
|
"path",
|
|
6630
6680
|
{
|
|
6631
6681
|
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",
|
|
@@ -6639,9 +6689,9 @@ var CloudFlashIcon = memo5((props) => /* @__PURE__ */ jsxs31(SvgIcon8, { ...prop
|
|
|
6639
6689
|
// src/components/icons/DecentralizedServerIcon.tsx
|
|
6640
6690
|
import { memo as memo6 } from "react";
|
|
6641
6691
|
import { SvgIcon as SvgIcon9 } from "@mui/material";
|
|
6642
|
-
import { jsx as
|
|
6643
|
-
var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */
|
|
6644
|
-
/* @__PURE__ */
|
|
6692
|
+
import { jsx as jsx70, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
6693
|
+
var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs33(SvgIcon9, { ...props, viewBox: "0 0 96 97", children: [
|
|
6694
|
+
/* @__PURE__ */ jsx70(
|
|
6645
6695
|
"path",
|
|
6646
6696
|
{
|
|
6647
6697
|
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",
|
|
@@ -6652,7 +6702,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs32(SvgIcon9,
|
|
|
6652
6702
|
strokeLinejoin: "round"
|
|
6653
6703
|
}
|
|
6654
6704
|
),
|
|
6655
|
-
/* @__PURE__ */
|
|
6705
|
+
/* @__PURE__ */ jsx70(
|
|
6656
6706
|
"path",
|
|
6657
6707
|
{
|
|
6658
6708
|
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",
|
|
@@ -6663,7 +6713,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs32(SvgIcon9,
|
|
|
6663
6713
|
strokeLinejoin: "round"
|
|
6664
6714
|
}
|
|
6665
6715
|
),
|
|
6666
|
-
/* @__PURE__ */
|
|
6716
|
+
/* @__PURE__ */ jsx70(
|
|
6667
6717
|
"path",
|
|
6668
6718
|
{
|
|
6669
6719
|
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",
|
|
@@ -6674,7 +6724,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs32(SvgIcon9,
|
|
|
6674
6724
|
strokeLinejoin: "round"
|
|
6675
6725
|
}
|
|
6676
6726
|
),
|
|
6677
|
-
/* @__PURE__ */
|
|
6727
|
+
/* @__PURE__ */ jsx70(
|
|
6678
6728
|
"path",
|
|
6679
6729
|
{
|
|
6680
6730
|
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",
|
|
@@ -6685,7 +6735,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs32(SvgIcon9,
|
|
|
6685
6735
|
strokeLinejoin: "round"
|
|
6686
6736
|
}
|
|
6687
6737
|
),
|
|
6688
|
-
/* @__PURE__ */
|
|
6738
|
+
/* @__PURE__ */ jsx70(
|
|
6689
6739
|
"path",
|
|
6690
6740
|
{
|
|
6691
6741
|
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",
|
|
@@ -6696,7 +6746,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs32(SvgIcon9,
|
|
|
6696
6746
|
strokeLinejoin: "round"
|
|
6697
6747
|
}
|
|
6698
6748
|
),
|
|
6699
|
-
/* @__PURE__ */
|
|
6749
|
+
/* @__PURE__ */ jsx70(
|
|
6700
6750
|
"path",
|
|
6701
6751
|
{
|
|
6702
6752
|
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",
|
|
@@ -6707,7 +6757,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs32(SvgIcon9,
|
|
|
6707
6757
|
strokeLinejoin: "round"
|
|
6708
6758
|
}
|
|
6709
6759
|
),
|
|
6710
|
-
/* @__PURE__ */
|
|
6760
|
+
/* @__PURE__ */ jsx70(
|
|
6711
6761
|
"path",
|
|
6712
6762
|
{
|
|
6713
6763
|
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",
|
|
@@ -6718,7 +6768,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs32(SvgIcon9,
|
|
|
6718
6768
|
strokeLinejoin: "round"
|
|
6719
6769
|
}
|
|
6720
6770
|
),
|
|
6721
|
-
/* @__PURE__ */
|
|
6771
|
+
/* @__PURE__ */ jsx70(
|
|
6722
6772
|
"path",
|
|
6723
6773
|
{
|
|
6724
6774
|
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",
|
|
@@ -6729,7 +6779,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs32(SvgIcon9,
|
|
|
6729
6779
|
strokeLinejoin: "round"
|
|
6730
6780
|
}
|
|
6731
6781
|
),
|
|
6732
|
-
/* @__PURE__ */
|
|
6782
|
+
/* @__PURE__ */ jsx70(
|
|
6733
6783
|
"path",
|
|
6734
6784
|
{
|
|
6735
6785
|
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",
|
|
@@ -6740,7 +6790,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs32(SvgIcon9,
|
|
|
6740
6790
|
strokeLinejoin: "round"
|
|
6741
6791
|
}
|
|
6742
6792
|
),
|
|
6743
|
-
/* @__PURE__ */
|
|
6793
|
+
/* @__PURE__ */ jsx70(
|
|
6744
6794
|
"rect",
|
|
6745
6795
|
{
|
|
6746
6796
|
x: "22.623",
|
|
@@ -6753,7 +6803,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs32(SvgIcon9,
|
|
|
6753
6803
|
strokeWidth: "2"
|
|
6754
6804
|
}
|
|
6755
6805
|
),
|
|
6756
|
-
/* @__PURE__ */
|
|
6806
|
+
/* @__PURE__ */ jsx70(
|
|
6757
6807
|
"rect",
|
|
6758
6808
|
{
|
|
6759
6809
|
x: "22.623",
|
|
@@ -6766,7 +6816,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs32(SvgIcon9,
|
|
|
6766
6816
|
strokeWidth: "2"
|
|
6767
6817
|
}
|
|
6768
6818
|
),
|
|
6769
|
-
/* @__PURE__ */
|
|
6819
|
+
/* @__PURE__ */ jsx70(
|
|
6770
6820
|
"rect",
|
|
6771
6821
|
{
|
|
6772
6822
|
x: "22.623",
|
|
@@ -6779,7 +6829,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs32(SvgIcon9,
|
|
|
6779
6829
|
strokeWidth: "2"
|
|
6780
6830
|
}
|
|
6781
6831
|
),
|
|
6782
|
-
/* @__PURE__ */
|
|
6832
|
+
/* @__PURE__ */ jsx70(
|
|
6783
6833
|
"path",
|
|
6784
6834
|
{
|
|
6785
6835
|
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",
|
|
@@ -6789,7 +6839,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs32(SvgIcon9,
|
|
|
6789
6839
|
strokeMiterlimit: "10"
|
|
6790
6840
|
}
|
|
6791
6841
|
),
|
|
6792
|
-
/* @__PURE__ */
|
|
6842
|
+
/* @__PURE__ */ jsx70(
|
|
6793
6843
|
"path",
|
|
6794
6844
|
{
|
|
6795
6845
|
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",
|
|
@@ -6799,7 +6849,7 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs32(SvgIcon9,
|
|
|
6799
6849
|
strokeMiterlimit: "10"
|
|
6800
6850
|
}
|
|
6801
6851
|
),
|
|
6802
|
-
/* @__PURE__ */
|
|
6852
|
+
/* @__PURE__ */ jsx70(
|
|
6803
6853
|
"path",
|
|
6804
6854
|
{
|
|
6805
6855
|
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",
|
|
@@ -6814,8 +6864,8 @@ var DecentralizedServerIcon = memo6((props) => /* @__PURE__ */ jsxs32(SvgIcon9,
|
|
|
6814
6864
|
// src/components/icons/DiscordIcon.tsx
|
|
6815
6865
|
import { memo as memo7 } from "react";
|
|
6816
6866
|
import { SvgIcon as SvgIcon10 } from "@mui/material";
|
|
6817
|
-
import { jsx as
|
|
6818
|
-
var DiscordIcon = memo7((props) => /* @__PURE__ */
|
|
6867
|
+
import { jsx as jsx71 } from "react/jsx-runtime";
|
|
6868
|
+
var DiscordIcon = memo7((props) => /* @__PURE__ */ jsx71(SvgIcon10, { ...props, viewBox: "0 0 15 12", children: /* @__PURE__ */ jsx71(
|
|
6819
6869
|
"path",
|
|
6820
6870
|
{
|
|
6821
6871
|
fill: "currentColor",
|
|
@@ -6826,16 +6876,16 @@ var DiscordIcon = memo7((props) => /* @__PURE__ */ jsx70(SvgIcon10, { ...props,
|
|
|
6826
6876
|
// src/components/icons/DownloadIcon.tsx
|
|
6827
6877
|
import { memo as memo8 } from "react";
|
|
6828
6878
|
import { SvgIcon as SvgIcon11 } from "@mui/material";
|
|
6829
|
-
import { jsx as
|
|
6830
|
-
var DownloadIcon = memo8((props) => /* @__PURE__ */
|
|
6831
|
-
/* @__PURE__ */
|
|
6879
|
+
import { jsx as jsx72, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
6880
|
+
var DownloadIcon = memo8((props) => /* @__PURE__ */ jsxs34(SvgIcon11, { ...props, viewBox: "0 0 17 16", fill: "none", children: [
|
|
6881
|
+
/* @__PURE__ */ jsx72(
|
|
6832
6882
|
"path",
|
|
6833
6883
|
{
|
|
6834
6884
|
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",
|
|
6835
6885
|
fill: "currentColor"
|
|
6836
6886
|
}
|
|
6837
6887
|
),
|
|
6838
|
-
/* @__PURE__ */
|
|
6888
|
+
/* @__PURE__ */ jsx72(
|
|
6839
6889
|
"path",
|
|
6840
6890
|
{
|
|
6841
6891
|
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",
|
|
@@ -6847,11 +6897,11 @@ var DownloadIcon = memo8((props) => /* @__PURE__ */ jsxs33(SvgIcon11, { ...props
|
|
|
6847
6897
|
// src/components/icons/FilledFolderIcon.tsx
|
|
6848
6898
|
import { memo as memo9 } from "react";
|
|
6849
6899
|
import { SvgIcon as SvgIcon12 } from "@mui/material";
|
|
6850
|
-
import { jsx as
|
|
6851
|
-
var FilledFolderIcon = memo9((props) => /* @__PURE__ */
|
|
6852
|
-
/* @__PURE__ */
|
|
6853
|
-
/* @__PURE__ */
|
|
6854
|
-
/* @__PURE__ */
|
|
6900
|
+
import { jsx as jsx73, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
6901
|
+
var FilledFolderIcon = memo9((props) => /* @__PURE__ */ jsxs35(SvgIcon12, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
|
|
6902
|
+
/* @__PURE__ */ jsx73("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#FCF8EC" }),
|
|
6903
|
+
/* @__PURE__ */ jsx73("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E1B43E" }),
|
|
6904
|
+
/* @__PURE__ */ jsx73(
|
|
6855
6905
|
"path",
|
|
6856
6906
|
{
|
|
6857
6907
|
fillRule: "evenodd",
|
|
@@ -6865,11 +6915,11 @@ var FilledFolderIcon = memo9((props) => /* @__PURE__ */ jsxs34(SvgIcon12, { sx:
|
|
|
6865
6915
|
// src/components/icons/FolderIcon.tsx
|
|
6866
6916
|
import { memo as memo10 } from "react";
|
|
6867
6917
|
import { SvgIcon as SvgIcon13 } from "@mui/material";
|
|
6868
|
-
import { jsx as
|
|
6869
|
-
var FolderIcon = memo10((props) => /* @__PURE__ */
|
|
6870
|
-
/* @__PURE__ */
|
|
6871
|
-
/* @__PURE__ */
|
|
6872
|
-
/* @__PURE__ */
|
|
6918
|
+
import { jsx as jsx74, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
6919
|
+
var FolderIcon = memo10((props) => /* @__PURE__ */ jsxs36(SvgIcon13, { sx: { fill: "none" }, ...props, fill: "none", viewBox: "0 0 22 22", children: [
|
|
6920
|
+
/* @__PURE__ */ jsx74("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", fill: "#F5F7FA" }),
|
|
6921
|
+
/* @__PURE__ */ jsx74("rect", { x: "0.5", y: "0.5", width: "21", height: "21", rx: "4.5", stroke: "#E6E6E6" }),
|
|
6922
|
+
/* @__PURE__ */ jsx74(
|
|
6873
6923
|
"path",
|
|
6874
6924
|
{
|
|
6875
6925
|
fillRule: "evenodd",
|
|
@@ -6885,16 +6935,16 @@ var FolderIcon = memo10((props) => /* @__PURE__ */ jsxs35(SvgIcon13, { sx: { fil
|
|
|
6885
6935
|
// src/components/icons/GithubLogoIcon.tsx
|
|
6886
6936
|
import { memo as memo11 } from "react";
|
|
6887
6937
|
import { SvgIcon as SvgIcon14 } from "@mui/material";
|
|
6888
|
-
import { jsx as
|
|
6889
|
-
var GithubLogoIcon = memo11((props) => /* @__PURE__ */
|
|
6890
|
-
/* @__PURE__ */
|
|
6938
|
+
import { jsx as jsx75, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
6939
|
+
var GithubLogoIcon = memo11((props) => /* @__PURE__ */ jsxs37(SvgIcon14, { ...props, viewBox: "0 0 17 16", sx: { fill: "none" }, children: [
|
|
6940
|
+
/* @__PURE__ */ jsx75(
|
|
6891
6941
|
"path",
|
|
6892
6942
|
{
|
|
6893
6943
|
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",
|
|
6894
6944
|
fill: "white"
|
|
6895
6945
|
}
|
|
6896
6946
|
),
|
|
6897
|
-
/* @__PURE__ */
|
|
6947
|
+
/* @__PURE__ */ jsx75(
|
|
6898
6948
|
"path",
|
|
6899
6949
|
{
|
|
6900
6950
|
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",
|
|
@@ -6906,8 +6956,8 @@ var GithubLogoIcon = memo11((props) => /* @__PURE__ */ jsxs36(SvgIcon14, { ...pr
|
|
|
6906
6956
|
// src/components/icons/ShareIcon.tsx
|
|
6907
6957
|
import { memo as memo12 } from "react";
|
|
6908
6958
|
import { SvgIcon as SvgIcon15 } from "@mui/material";
|
|
6909
|
-
import { jsx as
|
|
6910
|
-
var ShareIcon = memo12((props) => /* @__PURE__ */
|
|
6959
|
+
import { jsx as jsx76 } from "react/jsx-runtime";
|
|
6960
|
+
var ShareIcon = memo12((props) => /* @__PURE__ */ jsx76(SvgIcon15, { ...props, viewBox: "0 0 17 16", fill: "none", children: /* @__PURE__ */ jsx76(
|
|
6911
6961
|
"path",
|
|
6912
6962
|
{
|
|
6913
6963
|
fillRule: "evenodd",
|
|
@@ -6920,9 +6970,9 @@ var ShareIcon = memo12((props) => /* @__PURE__ */ jsx75(SvgIcon15, { ...props, v
|
|
|
6920
6970
|
// src/components/icons/StorageAppIcon.tsx
|
|
6921
6971
|
import { memo as memo13 } from "react";
|
|
6922
6972
|
import { SvgIcon as SvgIcon16 } from "@mui/material";
|
|
6923
|
-
import { jsx as
|
|
6924
|
-
var StorageAppIcon = memo13((props) => /* @__PURE__ */
|
|
6925
|
-
/* @__PURE__ */
|
|
6973
|
+
import { jsx as jsx77, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
6974
|
+
var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs38(SvgIcon16, { ...props, viewBox: "0 0 38 29", fill: "none", children: [
|
|
6975
|
+
/* @__PURE__ */ jsx77(
|
|
6926
6976
|
"path",
|
|
6927
6977
|
{
|
|
6928
6978
|
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",
|
|
@@ -6931,7 +6981,7 @@ var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs37(SvgIcon16, { ...pr
|
|
|
6931
6981
|
fill: "none"
|
|
6932
6982
|
}
|
|
6933
6983
|
),
|
|
6934
|
-
/* @__PURE__ */
|
|
6984
|
+
/* @__PURE__ */ jsx77(
|
|
6935
6985
|
"path",
|
|
6936
6986
|
{
|
|
6937
6987
|
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",
|
|
@@ -6945,8 +6995,8 @@ var StorageAppIcon = memo13((props) => /* @__PURE__ */ jsxs37(SvgIcon16, { ...pr
|
|
|
6945
6995
|
// src/components/icons/UploadFileIcon.tsx
|
|
6946
6996
|
import { memo as memo14 } from "react";
|
|
6947
6997
|
import { SvgIcon as SvgIcon17 } from "@mui/material";
|
|
6948
|
-
import { jsx as
|
|
6949
|
-
var UploadFileIcon = memo14((props) => /* @__PURE__ */
|
|
6998
|
+
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
6999
|
+
var UploadFileIcon = memo14((props) => /* @__PURE__ */ jsx78(SvgIcon17, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx78(
|
|
6950
7000
|
"path",
|
|
6951
7001
|
{
|
|
6952
7002
|
fillRule: "evenodd",
|
|
@@ -6961,8 +7011,8 @@ var UploadFileIcon = memo14((props) => /* @__PURE__ */ jsx77(SvgIcon17, { ...pro
|
|
|
6961
7011
|
// src/components/icons/UploadFolderIcon.tsx
|
|
6962
7012
|
import { memo as memo15 } from "react";
|
|
6963
7013
|
import { SvgIcon as SvgIcon18 } from "@mui/material";
|
|
6964
|
-
import { jsx as
|
|
6965
|
-
var UploadFolderIcon = memo15((props) => /* @__PURE__ */
|
|
7014
|
+
import { jsx as jsx79 } from "react/jsx-runtime";
|
|
7015
|
+
var UploadFolderIcon = memo15((props) => /* @__PURE__ */ jsx79(SvgIcon18, { ...props, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx79(
|
|
6966
7016
|
"path",
|
|
6967
7017
|
{
|
|
6968
7018
|
fillRule: "evenodd",
|
|
@@ -6981,7 +7031,7 @@ import "github-markdown-css/github-markdown-light.css";
|
|
|
6981
7031
|
import MD from "react-markdown";
|
|
6982
7032
|
import highlight from "rehype-highlight";
|
|
6983
7033
|
import rehypeRaw from "rehype-raw";
|
|
6984
|
-
import { jsx as
|
|
7034
|
+
import { jsx as jsx80 } from "react/jsx-runtime";
|
|
6985
7035
|
var Content = styled42(Box21)(({ theme: theme2 }) => ({
|
|
6986
7036
|
backgroundColor: "transparent",
|
|
6987
7037
|
...theme2.typography.body1,
|
|
@@ -6999,11 +7049,11 @@ var Content = styled42(Box21)(({ theme: theme2 }) => ({
|
|
|
6999
7049
|
backgroundColor: theme2.palette.background.paper
|
|
7000
7050
|
}
|
|
7001
7051
|
}));
|
|
7002
|
-
var Markdown = ({ content, children }) => /* @__PURE__ */
|
|
7052
|
+
var Markdown = ({ content, children }) => /* @__PURE__ */ jsx80(Content, { className: "markdown-body", children: /* @__PURE__ */ jsx80(MD, { rehypePlugins: [highlight, rehypeRaw], children: content || children }) });
|
|
7003
7053
|
|
|
7004
7054
|
// src/components/utilities/OnboardingProvider/OnboardingProvider.tsx
|
|
7005
7055
|
import { createContext, useContext, useState as useState8, useCallback as useCallback5, useEffect } from "react";
|
|
7006
|
-
import { jsx as
|
|
7056
|
+
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
7007
7057
|
var OnboardingContext = createContext(void 0);
|
|
7008
7058
|
var useOnboarding = () => {
|
|
7009
7059
|
const context = useContext(OnboardingContext);
|
|
@@ -7028,7 +7078,7 @@ var OnboardingProvider = ({ children }) => {
|
|
|
7028
7078
|
setIsOnboardingActive(false);
|
|
7029
7079
|
setTimeout(() => setIsOnboardingActive(true), 0);
|
|
7030
7080
|
}, []);
|
|
7031
|
-
return /* @__PURE__ */
|
|
7081
|
+
return /* @__PURE__ */ jsx81(
|
|
7032
7082
|
OnboardingContext.Provider,
|
|
7033
7083
|
{
|
|
7034
7084
|
value: {
|
|
@@ -7043,7 +7093,7 @@ var OnboardingProvider = ({ children }) => {
|
|
|
7043
7093
|
};
|
|
7044
7094
|
|
|
7045
7095
|
// src/components/utilities/Truncate/Truncate.tsx
|
|
7046
|
-
import { jsx as
|
|
7096
|
+
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
7047
7097
|
var getDefaultEndingLength = ({ text, variant, maxLength = text.length }) => {
|
|
7048
7098
|
if (variant === "hex") {
|
|
7049
7099
|
return 4;
|
|
@@ -7067,29 +7117,29 @@ var Truncate = ({
|
|
|
7067
7117
|
const truncated = text.slice(0, maxLength - endingLength);
|
|
7068
7118
|
truncatedText = [truncated, ending].filter(Boolean).join("...");
|
|
7069
7119
|
}
|
|
7070
|
-
return /* @__PURE__ */
|
|
7120
|
+
return /* @__PURE__ */ jsx82("span", { ...props, "data-full": text, children: truncatedText });
|
|
7071
7121
|
};
|
|
7072
7122
|
|
|
7073
7123
|
// src/components/utilities/BytesSize/BytesSize.tsx
|
|
7074
7124
|
import size from "byte-size";
|
|
7075
|
-
import { Fragment as Fragment12, jsx as
|
|
7125
|
+
import { Fragment as Fragment12, jsx as jsx83 } from "react/jsx-runtime";
|
|
7076
7126
|
var BytesSize = ({ bytes }) => {
|
|
7077
|
-
return /* @__PURE__ */
|
|
7127
|
+
return /* @__PURE__ */ jsx83(Fragment12, { children: size(bytes).toString() });
|
|
7078
7128
|
};
|
|
7079
7129
|
|
|
7080
7130
|
// src/components/utilities/QRCode/QRCode.tsx
|
|
7081
7131
|
import { forwardRef as forwardRef2 } from "react";
|
|
7082
7132
|
import QR from "react-qr-code";
|
|
7083
|
-
import { jsx as
|
|
7084
|
-
var QRCode = forwardRef2(({ size: size3 = 168, ...props }, ref) => /* @__PURE__ */
|
|
7133
|
+
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
7134
|
+
var QRCode = forwardRef2(({ size: size3 = 168, ...props }, ref) => /* @__PURE__ */ jsx84(QR, { ref, size: size3, ...props }));
|
|
7085
7135
|
QRCode.displayName = "QRCode";
|
|
7086
7136
|
|
|
7087
7137
|
// src/components/charts/ChartWidget/ChartWidget.tsx
|
|
7088
|
-
import { Box as Box22, Stack as
|
|
7138
|
+
import { Box as Box22, Stack as Stack5, Typography as Typography19, styled as styled43, useTheme as useTheme3 } from "@mui/material";
|
|
7089
7139
|
import { LineChart } from "@mui/x-charts";
|
|
7090
7140
|
import size2 from "byte-size";
|
|
7091
7141
|
import { format } from "date-fns";
|
|
7092
|
-
import { jsx as
|
|
7142
|
+
import { jsx as jsx85, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
7093
7143
|
var Chart = styled43(Box22)(() => ({
|
|
7094
7144
|
height: 200
|
|
7095
7145
|
}));
|
|
@@ -7100,10 +7150,10 @@ var ChartWidget = ({
|
|
|
7100
7150
|
formatValue = (value2) => size2(value2 || 0).toString()
|
|
7101
7151
|
}) => {
|
|
7102
7152
|
const theme2 = useTheme3();
|
|
7103
|
-
return /* @__PURE__ */
|
|
7104
|
-
/* @__PURE__ */
|
|
7105
|
-
/* @__PURE__ */
|
|
7106
|
-
/* @__PURE__ */
|
|
7153
|
+
return /* @__PURE__ */ jsxs39(Stack5, { spacing: 1, children: [
|
|
7154
|
+
/* @__PURE__ */ jsx85(Typography19, { variant: "caption", color: "text.secondary", children: title }),
|
|
7155
|
+
/* @__PURE__ */ jsx85(Typography19, { fontWeight: "bold", children: value }),
|
|
7156
|
+
/* @__PURE__ */ jsx85(Chart, { children: /* @__PURE__ */ jsx85(
|
|
7107
7157
|
LineChart,
|
|
7108
7158
|
{
|
|
7109
7159
|
dataset: history || [],
|
|
@@ -7161,11 +7211,11 @@ var ChartWidget = ({
|
|
|
7161
7211
|
import { format as format2, startOfDay, subHours, subWeeks, subMonths } from "date-fns";
|
|
7162
7212
|
import { LineChart as LineChart2 } from "@mui/x-charts";
|
|
7163
7213
|
import { useDrawingArea, useYScale } from "@mui/x-charts/hooks";
|
|
7164
|
-
import { Box as Box23, Card as Card2, CardHeader as CardHeader2, CardMedia, Divider as Divider7, Stack as
|
|
7214
|
+
import { Box as Box23, Card as Card2, CardHeader as CardHeader2, CardMedia, Divider as Divider7, Stack as Stack6, styled as styled44, Typography as Typography20, useTheme as useTheme4 } from "@mui/material";
|
|
7165
7215
|
|
|
7166
7216
|
// src/components/charts/MetricsChart/PeriodSelect.tsx
|
|
7167
7217
|
import { MenuItem as MenuItem3, TextField as TextField4 } from "@mui/material";
|
|
7168
|
-
import { jsx as
|
|
7218
|
+
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
7169
7219
|
var options = [
|
|
7170
7220
|
/**
|
|
7171
7221
|
* TODO: Enable the options below when the backend supports them
|
|
@@ -7175,7 +7225,7 @@ var options = [
|
|
|
7175
7225
|
{ value: "week", label: "1 week" },
|
|
7176
7226
|
{ value: "month", label: "1 month" }
|
|
7177
7227
|
];
|
|
7178
|
-
var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */
|
|
7228
|
+
var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ jsx86(
|
|
7179
7229
|
TextField4,
|
|
7180
7230
|
{
|
|
7181
7231
|
select: true,
|
|
@@ -7183,13 +7233,13 @@ var PeriodSelect = ({ value, onChange }) => /* @__PURE__ */ jsx85(
|
|
|
7183
7233
|
value,
|
|
7184
7234
|
defaultValue: options[0].value,
|
|
7185
7235
|
onChange: (e) => onChange?.(e.target.value),
|
|
7186
|
-
children: options.map(({ value: value2, label }) => /* @__PURE__ */
|
|
7236
|
+
children: options.map(({ value: value2, label }) => /* @__PURE__ */ jsx86(MenuItem3, { value: value2, children: label }, value2))
|
|
7187
7237
|
}
|
|
7188
7238
|
);
|
|
7189
7239
|
|
|
7190
7240
|
// src/components/charts/MetricsChart/MetricsChart.tsx
|
|
7191
7241
|
import { useMemo, useState as useState9 } from "react";
|
|
7192
|
-
import { jsx as
|
|
7242
|
+
import { jsx as jsx87, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
7193
7243
|
var mapPeriodToFromDate = (period = "month") => {
|
|
7194
7244
|
const date = /* @__PURE__ */ new Date();
|
|
7195
7245
|
if (period === "hour") {
|
|
@@ -7249,15 +7299,15 @@ var MetricsChart = ({ history = [] }) => {
|
|
|
7249
7299
|
const backgroundHeight = textHeight + padding.top + padding.bottom;
|
|
7250
7300
|
const rectX = left + (width - backgroundWidth) / 2;
|
|
7251
7301
|
const rectY = top + (height - backgroundHeight) / 2;
|
|
7252
|
-
return /* @__PURE__ */
|
|
7253
|
-
/* @__PURE__ */
|
|
7254
|
-
/* @__PURE__ */
|
|
7302
|
+
return /* @__PURE__ */ jsxs40("g", { children: [
|
|
7303
|
+
/* @__PURE__ */ jsx87(NoDataRect, { x: rectX, y: rectY, width: backgroundWidth, height: backgroundHeight }),
|
|
7304
|
+
/* @__PURE__ */ jsx87(LoadingText, { style: { ...theme2.typography.subtitle1 }, x: left + width / 2, y: top + height / 2, children: text })
|
|
7255
7305
|
] });
|
|
7256
7306
|
};
|
|
7257
|
-
return /* @__PURE__ */
|
|
7258
|
-
/* @__PURE__ */
|
|
7259
|
-
/* @__PURE__ */
|
|
7260
|
-
/* @__PURE__ */
|
|
7307
|
+
return /* @__PURE__ */ jsxs40(Card2, { children: [
|
|
7308
|
+
/* @__PURE__ */ jsx87(CardHeader2, { title: "GET / PUT Requests", action: /* @__PURE__ */ jsx87(PeriodSelect, { value: period, onChange: setPeriod }) }),
|
|
7309
|
+
/* @__PURE__ */ jsxs40(CardMedia, { children: [
|
|
7310
|
+
/* @__PURE__ */ jsx87(
|
|
7261
7311
|
Chart2,
|
|
7262
7312
|
{
|
|
7263
7313
|
skipAnimation: true,
|
|
@@ -7318,35 +7368,35 @@ var MetricsChart = ({ history = [] }) => {
|
|
|
7318
7368
|
]
|
|
7319
7369
|
}
|
|
7320
7370
|
),
|
|
7321
|
-
periodHistory.length > 0 && /* @__PURE__ */
|
|
7322
|
-
/* @__PURE__ */
|
|
7323
|
-
/* @__PURE__ */
|
|
7324
|
-
/* @__PURE__ */
|
|
7371
|
+
periodHistory.length > 0 && /* @__PURE__ */ jsxs40(Stack6, { direction: "row", spacing: 2, marginY: 3, justifyContent: "center", children: [
|
|
7372
|
+
/* @__PURE__ */ jsxs40(Stack6, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
7373
|
+
/* @__PURE__ */ jsx87(Box23, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.primary.main } }),
|
|
7374
|
+
/* @__PURE__ */ jsx87(Typography20, { variant: "body2", children: "Get" })
|
|
7325
7375
|
] }),
|
|
7326
|
-
/* @__PURE__ */
|
|
7327
|
-
/* @__PURE__ */
|
|
7328
|
-
/* @__PURE__ */
|
|
7376
|
+
/* @__PURE__ */ jsxs40(Stack6, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
7377
|
+
/* @__PURE__ */ jsx87(Box23, { sx: { width: 14, height: 14, borderRadius: "4px", backgroundColor: theme2.palette.success.main } }),
|
|
7378
|
+
/* @__PURE__ */ jsx87(Typography20, { variant: "body2", children: "Put" })
|
|
7329
7379
|
] })
|
|
7330
7380
|
] })
|
|
7331
7381
|
] }),
|
|
7332
|
-
/* @__PURE__ */
|
|
7333
|
-
/* @__PURE__ */
|
|
7334
|
-
/* @__PURE__ */
|
|
7335
|
-
/* @__PURE__ */
|
|
7336
|
-
/* @__PURE__ */
|
|
7337
|
-
/* @__PURE__ */
|
|
7382
|
+
/* @__PURE__ */ jsxs40(CardMedia, { children: [
|
|
7383
|
+
/* @__PURE__ */ jsx87(Divider7, { flexItem: true }),
|
|
7384
|
+
/* @__PURE__ */ jsxs40(Stack6, { direction: "row", spacing: 2, padding: 2, children: [
|
|
7385
|
+
/* @__PURE__ */ jsxs40(Stack6, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
7386
|
+
/* @__PURE__ */ jsx87(Typography20, { variant: "body2", color: "secondary", children: "GET Requests per account" }),
|
|
7387
|
+
/* @__PURE__ */ jsx87(Typography20, { variant: "h3", children: total.gets })
|
|
7338
7388
|
] }),
|
|
7339
|
-
/* @__PURE__ */
|
|
7340
|
-
/* @__PURE__ */
|
|
7341
|
-
/* @__PURE__ */
|
|
7389
|
+
/* @__PURE__ */ jsxs40(Stack6, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
7390
|
+
/* @__PURE__ */ jsx87(Typography20, { variant: "body2", color: "secondary", children: "PUT Requests per account" }),
|
|
7391
|
+
/* @__PURE__ */ jsx87(Typography20, { variant: "h3", children: total.puts })
|
|
7342
7392
|
] }),
|
|
7343
|
-
/* @__PURE__ */
|
|
7344
|
-
/* @__PURE__ */
|
|
7345
|
-
/* @__PURE__ */
|
|
7393
|
+
/* @__PURE__ */ jsxs40(Stack6, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
7394
|
+
/* @__PURE__ */ jsx87(Typography20, { variant: "body2", color: "secondary", children: "Total Consumed per account" }),
|
|
7395
|
+
/* @__PURE__ */ jsx87(Typography20, { variant: "h3", children: /* @__PURE__ */ jsx87(BytesSize, { bytes: total.transferredBytes }) })
|
|
7346
7396
|
] }),
|
|
7347
|
-
/* @__PURE__ */
|
|
7348
|
-
/* @__PURE__ */
|
|
7349
|
-
/* @__PURE__ */
|
|
7397
|
+
/* @__PURE__ */ jsxs40(Stack6, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
7398
|
+
/* @__PURE__ */ jsx87(Typography20, { variant: "body2", color: "secondary", children: "Total Stored per account" }),
|
|
7399
|
+
/* @__PURE__ */ jsx87(Typography20, { variant: "h3", children: /* @__PURE__ */ jsx87(BytesSize, { bytes: total.storedBytes }) })
|
|
7350
7400
|
] })
|
|
7351
7401
|
] })
|
|
7352
7402
|
] })
|
|
@@ -7362,8 +7412,8 @@ import {
|
|
|
7362
7412
|
CardMedia as CardMedia2,
|
|
7363
7413
|
CircularProgress as CircularProgress7,
|
|
7364
7414
|
Divider as Divider8,
|
|
7365
|
-
Stack as
|
|
7366
|
-
Typography as
|
|
7415
|
+
Stack as Stack8,
|
|
7416
|
+
Typography as Typography22,
|
|
7367
7417
|
styled as styled45,
|
|
7368
7418
|
useTheme as useTheme5
|
|
7369
7419
|
} from "@mui/material";
|
|
@@ -7372,8 +7422,8 @@ import { format as format3 } from "date-fns";
|
|
|
7372
7422
|
|
|
7373
7423
|
// src/components/charts/TimeSeriesGraph/TimeRangeSelect.tsx
|
|
7374
7424
|
import { MenuItem as MenuItem4, TextField as TextField5 } from "@mui/material";
|
|
7375
|
-
import { jsx as
|
|
7376
|
-
var TimeRangeSelect = ({ options: options2, value, onChange }) => /* @__PURE__ */
|
|
7425
|
+
import { jsx as jsx88 } from "react/jsx-runtime";
|
|
7426
|
+
var TimeRangeSelect = ({ options: options2, value, onChange }) => /* @__PURE__ */ jsx88(
|
|
7377
7427
|
TextField5,
|
|
7378
7428
|
{
|
|
7379
7429
|
select: true,
|
|
@@ -7382,13 +7432,13 @@ var TimeRangeSelect = ({ options: options2, value, onChange }) => /* @__PURE__ *
|
|
|
7382
7432
|
onChange: (e) => onChange?.(e.target.value),
|
|
7383
7433
|
"aria-label": "Time range selector",
|
|
7384
7434
|
sx: { minWidth: 120 },
|
|
7385
|
-
children: options2.map((option) => /* @__PURE__ */
|
|
7435
|
+
children: options2.map((option) => /* @__PURE__ */ jsx88(MenuItem4, { value: option.value, children: option.label }, option.value))
|
|
7386
7436
|
}
|
|
7387
7437
|
);
|
|
7388
7438
|
|
|
7389
7439
|
// src/components/charts/TimeSeriesGraph/SummaryStats.tsx
|
|
7390
|
-
import { Stack as
|
|
7391
|
-
import { jsx as
|
|
7440
|
+
import { Stack as Stack7, Typography as Typography21 } from "@mui/material";
|
|
7441
|
+
import { jsx as jsx89, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
7392
7442
|
var formatSummaryValue = (value, unit) => {
|
|
7393
7443
|
const displayValue = typeof value === "number" ? value.toLocaleString() : value;
|
|
7394
7444
|
return unit ? `${displayValue} ${unit}` : displayValue;
|
|
@@ -7397,8 +7447,8 @@ var SummaryStats = ({ items }) => {
|
|
|
7397
7447
|
if (items.length === 0) {
|
|
7398
7448
|
return null;
|
|
7399
7449
|
}
|
|
7400
|
-
return /* @__PURE__ */
|
|
7401
|
-
|
|
7450
|
+
return /* @__PURE__ */ jsx89(
|
|
7451
|
+
Stack7,
|
|
7402
7452
|
{
|
|
7403
7453
|
direction: "row",
|
|
7404
7454
|
spacing: 3,
|
|
@@ -7407,16 +7457,16 @@ var SummaryStats = ({ items }) => {
|
|
|
7407
7457
|
useFlexGap: true,
|
|
7408
7458
|
role: "list",
|
|
7409
7459
|
"aria-label": "Summary statistics",
|
|
7410
|
-
children: items.map((item) => /* @__PURE__ */
|
|
7411
|
-
|
|
7460
|
+
children: items.map((item) => /* @__PURE__ */ jsxs41(
|
|
7461
|
+
Stack7,
|
|
7412
7462
|
{
|
|
7413
7463
|
direction: "row",
|
|
7414
7464
|
alignItems: "center",
|
|
7415
7465
|
spacing: 1,
|
|
7416
7466
|
role: "listitem",
|
|
7417
7467
|
children: [
|
|
7418
|
-
/* @__PURE__ */
|
|
7419
|
-
/* @__PURE__ */
|
|
7468
|
+
/* @__PURE__ */ jsx89(Typography21, { variant: "body2", color: "text.secondary", children: item.label }),
|
|
7469
|
+
/* @__PURE__ */ jsx89(Typography21, { variant: "h5", fontWeight: 600, children: formatSummaryValue(item.value, item.unit) })
|
|
7420
7470
|
]
|
|
7421
7471
|
},
|
|
7422
7472
|
item.label
|
|
@@ -7426,7 +7476,7 @@ var SummaryStats = ({ items }) => {
|
|
|
7426
7476
|
};
|
|
7427
7477
|
|
|
7428
7478
|
// src/components/charts/TimeSeriesGraph/TimeSeriesGraph.tsx
|
|
7429
|
-
import { Fragment as Fragment13, jsx as
|
|
7479
|
+
import { Fragment as Fragment13, jsx as jsx90, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
7430
7480
|
var ChartContainer = styled45(Box24)({
|
|
7431
7481
|
position: "relative",
|
|
7432
7482
|
height: 320
|
|
@@ -7463,6 +7513,12 @@ var formatYAxisValue = (value) => {
|
|
|
7463
7513
|
}
|
|
7464
7514
|
return String(value);
|
|
7465
7515
|
};
|
|
7516
|
+
var TWENTY_FOUR_HOURS_MS = 24 * 60 * 60 * 1e3;
|
|
7517
|
+
var inferXAxisFormat = (min, max) => {
|
|
7518
|
+
if (!min || !max) return "do MMM";
|
|
7519
|
+
const spanMs = max.getTime() - min.getTime();
|
|
7520
|
+
return spanMs <= TWENTY_FOUR_HOURS_MS ? "HH:mm" : "do MMM";
|
|
7521
|
+
};
|
|
7466
7522
|
var buildDataset = (series, hiddenSeries) => {
|
|
7467
7523
|
const timestampMap = /* @__PURE__ */ new Map();
|
|
7468
7524
|
series.forEach((s) => {
|
|
@@ -7488,7 +7544,8 @@ var TimeSeriesGraph = ({
|
|
|
7488
7544
|
summaryItems,
|
|
7489
7545
|
showSummary = true,
|
|
7490
7546
|
headerAction,
|
|
7491
|
-
loading = false
|
|
7547
|
+
loading = false,
|
|
7548
|
+
xAxisFormat
|
|
7492
7549
|
}) => {
|
|
7493
7550
|
const theme2 = useTheme5();
|
|
7494
7551
|
const [hiddenSeries, setHiddenSeries] = useState10(/* @__PURE__ */ new Set());
|
|
@@ -7517,11 +7574,15 @@ var TimeSeriesGraph = ({
|
|
|
7517
7574
|
max: new Date(Math.max(...timestamps))
|
|
7518
7575
|
};
|
|
7519
7576
|
}, [dataset]);
|
|
7577
|
+
const resolvedXAxisFormat = useMemo2(
|
|
7578
|
+
() => xAxisFormat ?? inferXAxisFormat(timeBounds.min, timeBounds.max),
|
|
7579
|
+
[xAxisFormat, timeBounds.min, timeBounds.max]
|
|
7580
|
+
);
|
|
7520
7581
|
const hasData = dataset.length > 0;
|
|
7521
7582
|
const shouldShowSummary = showSummary && summaryItems && summaryItems.length > 0;
|
|
7522
|
-
const headerActionElement = /* @__PURE__ */
|
|
7583
|
+
const headerActionElement = /* @__PURE__ */ jsxs42(Stack8, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
7523
7584
|
headerAction,
|
|
7524
|
-
timeRangeOptions && timeRangeOptions.length > 0 && /* @__PURE__ */
|
|
7585
|
+
timeRangeOptions && timeRangeOptions.length > 0 && /* @__PURE__ */ jsx90(
|
|
7525
7586
|
TimeRangeSelect,
|
|
7526
7587
|
{
|
|
7527
7588
|
options: timeRangeOptions,
|
|
@@ -7531,13 +7592,13 @@ var TimeSeriesGraph = ({
|
|
|
7531
7592
|
)
|
|
7532
7593
|
] });
|
|
7533
7594
|
const showHeader = !!title || !!headerAction || timeRangeOptions && timeRangeOptions.length > 0;
|
|
7534
|
-
return /* @__PURE__ */
|
|
7595
|
+
return /* @__PURE__ */ jsxs42(
|
|
7535
7596
|
Card3,
|
|
7536
7597
|
{
|
|
7537
7598
|
"aria-label": title ? `Line chart showing ${title}` : "Line chart",
|
|
7538
7599
|
role: "figure",
|
|
7539
7600
|
children: [
|
|
7540
|
-
showHeader && /* @__PURE__ */
|
|
7601
|
+
showHeader && /* @__PURE__ */ jsx90(
|
|
7541
7602
|
CardHeader3,
|
|
7542
7603
|
{
|
|
7543
7604
|
title,
|
|
@@ -7548,10 +7609,10 @@ var TimeSeriesGraph = ({
|
|
|
7548
7609
|
action: headerActionElement
|
|
7549
7610
|
}
|
|
7550
7611
|
),
|
|
7551
|
-
/* @__PURE__ */
|
|
7552
|
-
/* @__PURE__ */
|
|
7553
|
-
loading && /* @__PURE__ */
|
|
7554
|
-
/* @__PURE__ */
|
|
7612
|
+
/* @__PURE__ */ jsxs42(CardMedia2, { children: [
|
|
7613
|
+
/* @__PURE__ */ jsxs42(ChartContainer, { children: [
|
|
7614
|
+
loading && /* @__PURE__ */ jsx90(LoadingOverlay, { role: "status", "aria-label": "Loading chart data", children: /* @__PURE__ */ jsx90(CircularProgress7, { size: 40 }) }),
|
|
7615
|
+
/* @__PURE__ */ jsx90(
|
|
7555
7616
|
LineChart3,
|
|
7556
7617
|
{
|
|
7557
7618
|
dataset,
|
|
@@ -7584,7 +7645,7 @@ var TimeSeriesGraph = ({
|
|
|
7584
7645
|
max: timeBounds.max,
|
|
7585
7646
|
disableLine: true,
|
|
7586
7647
|
disableTicks: true,
|
|
7587
|
-
valueFormatter: (date) => format3(date,
|
|
7648
|
+
valueFormatter: (date) => format3(date, resolvedXAxisFormat),
|
|
7588
7649
|
tickLabelStyle: {
|
|
7589
7650
|
fontSize: 10
|
|
7590
7651
|
}
|
|
@@ -7603,8 +7664,8 @@ var TimeSeriesGraph = ({
|
|
|
7603
7664
|
}
|
|
7604
7665
|
)
|
|
7605
7666
|
] }),
|
|
7606
|
-
series.length > 0 && /* @__PURE__ */
|
|
7607
|
-
|
|
7667
|
+
series.length > 0 && /* @__PURE__ */ jsx90(
|
|
7668
|
+
Stack8,
|
|
7608
7669
|
{
|
|
7609
7670
|
direction: "row",
|
|
7610
7671
|
spacing: 2,
|
|
@@ -7616,8 +7677,8 @@ var TimeSeriesGraph = ({
|
|
|
7616
7677
|
"aria-label": "Chart legend",
|
|
7617
7678
|
children: series.map((s) => {
|
|
7618
7679
|
const isHidden = hiddenSeries.has(s.name);
|
|
7619
|
-
return /* @__PURE__ */
|
|
7620
|
-
|
|
7680
|
+
return /* @__PURE__ */ jsxs42(
|
|
7681
|
+
Stack8,
|
|
7621
7682
|
{
|
|
7622
7683
|
direction: "row",
|
|
7623
7684
|
spacing: 1,
|
|
@@ -7633,8 +7694,8 @@ var TimeSeriesGraph = ({
|
|
|
7633
7694
|
"aria-pressed": !isHidden,
|
|
7634
7695
|
"aria-label": `Toggle ${s.name} visibility`,
|
|
7635
7696
|
children: [
|
|
7636
|
-
/* @__PURE__ */
|
|
7637
|
-
/* @__PURE__ */
|
|
7697
|
+
/* @__PURE__ */ jsx90(LegendDot, { dotColor: s.color }),
|
|
7698
|
+
/* @__PURE__ */ jsx90(Typography22, { variant: "body2", children: s.name })
|
|
7638
7699
|
]
|
|
7639
7700
|
},
|
|
7640
7701
|
s.name
|
|
@@ -7643,9 +7704,9 @@ var TimeSeriesGraph = ({
|
|
|
7643
7704
|
}
|
|
7644
7705
|
)
|
|
7645
7706
|
] }),
|
|
7646
|
-
shouldShowSummary && /* @__PURE__ */
|
|
7647
|
-
/* @__PURE__ */
|
|
7648
|
-
/* @__PURE__ */
|
|
7707
|
+
shouldShowSummary && /* @__PURE__ */ jsxs42(Fragment13, { children: [
|
|
7708
|
+
/* @__PURE__ */ jsx90(Divider8, {}),
|
|
7709
|
+
/* @__PURE__ */ jsx90(SummaryStats, { items: summaryItems })
|
|
7649
7710
|
] })
|
|
7650
7711
|
]
|
|
7651
7712
|
}
|
|
@@ -7665,7 +7726,7 @@ import ReactFlow, {
|
|
|
7665
7726
|
import { Box as Box25 } from "@mui/material";
|
|
7666
7727
|
import { useTheme as useTheme6 } from "@mui/material/styles";
|
|
7667
7728
|
import { Background as Background2, Controls as Controls2, MiniMap as MiniMap2, Panel, BackgroundVariant as BackgroundVariant2, ConnectionLineType as ConnectionLineType2 } from "reactflow";
|
|
7668
|
-
import { jsx as
|
|
7729
|
+
import { jsx as jsx91, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
7669
7730
|
var FlowEditor = ({
|
|
7670
7731
|
nodes,
|
|
7671
7732
|
edges,
|
|
@@ -7691,7 +7752,7 @@ var FlowEditor = ({
|
|
|
7691
7752
|
},
|
|
7692
7753
|
[onInit]
|
|
7693
7754
|
);
|
|
7694
|
-
return /* @__PURE__ */
|
|
7755
|
+
return /* @__PURE__ */ jsx91(ReactFlowProvider, { children: /* @__PURE__ */ jsx91(
|
|
7695
7756
|
Box25,
|
|
7696
7757
|
{
|
|
7697
7758
|
sx: {
|
|
@@ -7704,7 +7765,7 @@ var FlowEditor = ({
|
|
|
7704
7765
|
...containerProps?.sx
|
|
7705
7766
|
},
|
|
7706
7767
|
...containerProps,
|
|
7707
|
-
children: /* @__PURE__ */
|
|
7768
|
+
children: /* @__PURE__ */ jsxs43(
|
|
7708
7769
|
ReactFlow,
|
|
7709
7770
|
{
|
|
7710
7771
|
nodes,
|
|
@@ -7726,7 +7787,7 @@ var FlowEditor = ({
|
|
|
7726
7787
|
},
|
|
7727
7788
|
...reactFlowProps,
|
|
7728
7789
|
children: [
|
|
7729
|
-
showBackground && /* @__PURE__ */
|
|
7790
|
+
showBackground && /* @__PURE__ */ jsx91(
|
|
7730
7791
|
Background,
|
|
7731
7792
|
{
|
|
7732
7793
|
variant: backgroundVariant,
|
|
@@ -7735,8 +7796,8 @@ var FlowEditor = ({
|
|
|
7735
7796
|
color: theme2.palette.divider
|
|
7736
7797
|
}
|
|
7737
7798
|
),
|
|
7738
|
-
showControls && /* @__PURE__ */
|
|
7739
|
-
showMinimap && /* @__PURE__ */
|
|
7799
|
+
showControls && /* @__PURE__ */ jsx91(Controls, {}),
|
|
7800
|
+
showMinimap && /* @__PURE__ */ jsx91(
|
|
7740
7801
|
MiniMap,
|
|
7741
7802
|
{
|
|
7742
7803
|
nodeColor: (node) => {
|
|
@@ -7767,7 +7828,7 @@ import FullscreenExitIcon from "@mui/icons-material/FullscreenExit";
|
|
|
7767
7828
|
import ErrorOutlineIcon from "@mui/icons-material/ErrorOutline";
|
|
7768
7829
|
import ExpandMoreIcon3 from "@mui/icons-material/ExpandMore";
|
|
7769
7830
|
import ExpandLessIcon from "@mui/icons-material/ExpandLess";
|
|
7770
|
-
import { jsx as
|
|
7831
|
+
import { jsx as jsx92, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
7771
7832
|
var configureTypeScript = (monaco) => {
|
|
7772
7833
|
monaco.languages.typescript.typescriptDefaults.setCompilerOptions({
|
|
7773
7834
|
target: monaco.languages.typescript.ScriptTarget.ES2020,
|
|
@@ -7979,7 +8040,7 @@ var CodeEditor = ({
|
|
|
7979
8040
|
theme: themeProp || "vs",
|
|
7980
8041
|
...options2
|
|
7981
8042
|
};
|
|
7982
|
-
return /* @__PURE__ */
|
|
8043
|
+
return /* @__PURE__ */ jsx92(
|
|
7983
8044
|
Box26,
|
|
7984
8045
|
{
|
|
7985
8046
|
sx: {
|
|
@@ -8000,7 +8061,7 @@ var CodeEditor = ({
|
|
|
8000
8061
|
pb: isFullscreen ? 2 : 0,
|
|
8001
8062
|
overflow: isFullscreen ? "hidden" : "visible"
|
|
8002
8063
|
},
|
|
8003
|
-
children: /* @__PURE__ */
|
|
8064
|
+
children: /* @__PURE__ */ jsxs44(
|
|
8004
8065
|
Box26,
|
|
8005
8066
|
{
|
|
8006
8067
|
sx: {
|
|
@@ -8016,7 +8077,7 @@ var CodeEditor = ({
|
|
|
8016
8077
|
},
|
|
8017
8078
|
...containerProps,
|
|
8018
8079
|
children: [
|
|
8019
|
-
/* @__PURE__ */
|
|
8080
|
+
/* @__PURE__ */ jsx92(Tooltip7, { title: isFullscreen ? "Exit Fullscreen" : "Fullscreen", children: /* @__PURE__ */ jsx92(
|
|
8020
8081
|
IconButton11,
|
|
8021
8082
|
{
|
|
8022
8083
|
onClick: toggleFullscreen,
|
|
@@ -8034,10 +8095,10 @@ var CodeEditor = ({
|
|
|
8034
8095
|
},
|
|
8035
8096
|
boxShadow: 1
|
|
8036
8097
|
},
|
|
8037
|
-
children: isFullscreen ? /* @__PURE__ */
|
|
8098
|
+
children: isFullscreen ? /* @__PURE__ */ jsx92(FullscreenExitIcon, { fontSize: "small" }) : /* @__PURE__ */ jsx92(FullscreenIcon, { fontSize: "small" })
|
|
8038
8099
|
}
|
|
8039
8100
|
) }),
|
|
8040
|
-
/* @__PURE__ */
|
|
8101
|
+
/* @__PURE__ */ jsx92(
|
|
8041
8102
|
Box26,
|
|
8042
8103
|
{
|
|
8043
8104
|
sx: {
|
|
@@ -8049,7 +8110,7 @@ var CodeEditor = ({
|
|
|
8049
8110
|
position: "relative",
|
|
8050
8111
|
height: isFullscreen ? "100%" : actualHeight
|
|
8051
8112
|
},
|
|
8052
|
-
children: /* @__PURE__ */
|
|
8113
|
+
children: /* @__PURE__ */ jsx92(
|
|
8053
8114
|
Editor,
|
|
8054
8115
|
{
|
|
8055
8116
|
height: "100%",
|
|
@@ -8060,7 +8121,7 @@ var CodeEditor = ({
|
|
|
8060
8121
|
onMount: handleEditorDidMount,
|
|
8061
8122
|
theme: themeProp || "vs",
|
|
8062
8123
|
options: defaultOptions,
|
|
8063
|
-
loading: /* @__PURE__ */
|
|
8124
|
+
loading: /* @__PURE__ */ jsx92(Box26, { sx: { p: 2, textAlign: "center" }, children: "Loading Monaco Editor..." }),
|
|
8064
8125
|
beforeMount: (monaco) => {
|
|
8065
8126
|
console.log("CodeEditor: beforeMount called", { monaco: !!monaco });
|
|
8066
8127
|
}
|
|
@@ -8068,7 +8129,7 @@ var CodeEditor = ({
|
|
|
8068
8129
|
)
|
|
8069
8130
|
}
|
|
8070
8131
|
),
|
|
8071
|
-
validationErrors.length > 0 && /* @__PURE__ */
|
|
8132
|
+
validationErrors.length > 0 && /* @__PURE__ */ jsxs44(
|
|
8072
8133
|
Box26,
|
|
8073
8134
|
{
|
|
8074
8135
|
sx: {
|
|
@@ -8082,7 +8143,7 @@ var CodeEditor = ({
|
|
|
8082
8143
|
transition: "max-height 0.2s ease"
|
|
8083
8144
|
},
|
|
8084
8145
|
children: [
|
|
8085
|
-
/* @__PURE__ */
|
|
8146
|
+
/* @__PURE__ */ jsxs44(
|
|
8086
8147
|
Box26,
|
|
8087
8148
|
{
|
|
8088
8149
|
sx: {
|
|
@@ -8097,15 +8158,15 @@ var CodeEditor = ({
|
|
|
8097
8158
|
color: "text.secondary"
|
|
8098
8159
|
},
|
|
8099
8160
|
children: [
|
|
8100
|
-
/* @__PURE__ */
|
|
8101
|
-
/* @__PURE__ */
|
|
8102
|
-
/* @__PURE__ */
|
|
8161
|
+
/* @__PURE__ */ jsx92(ErrorOutlineIcon, { color: "error", fontSize: "small" }),
|
|
8162
|
+
/* @__PURE__ */ jsx92(Box26, { sx: { fontWeight: 600, color: "text.primary" }, children: "Problems" }),
|
|
8163
|
+
/* @__PURE__ */ jsxs44(Box26, { sx: { ml: 1 }, children: [
|
|
8103
8164
|
validationErrors.length,
|
|
8104
8165
|
" error",
|
|
8105
8166
|
validationErrors.length > 1 ? "s" : ""
|
|
8106
8167
|
] }),
|
|
8107
|
-
/* @__PURE__ */
|
|
8108
|
-
/* @__PURE__ */
|
|
8168
|
+
/* @__PURE__ */ jsx92(Box26, { sx: { flex: 1 } }),
|
|
8169
|
+
/* @__PURE__ */ jsx92(
|
|
8109
8170
|
IconButton11,
|
|
8110
8171
|
{
|
|
8111
8172
|
size: "small",
|
|
@@ -8114,13 +8175,13 @@ var CodeEditor = ({
|
|
|
8114
8175
|
setHasUserToggledProblems(true);
|
|
8115
8176
|
setShowProblems((s) => !s);
|
|
8116
8177
|
},
|
|
8117
|
-
children: showProblems ? /* @__PURE__ */
|
|
8178
|
+
children: showProblems ? /* @__PURE__ */ jsx92(ExpandMoreIcon3, { fontSize: "small" }) : /* @__PURE__ */ jsx92(ExpandLessIcon, { fontSize: "small" })
|
|
8118
8179
|
}
|
|
8119
8180
|
)
|
|
8120
8181
|
]
|
|
8121
8182
|
}
|
|
8122
8183
|
),
|
|
8123
|
-
showProblems && /* @__PURE__ */
|
|
8184
|
+
showProblems && /* @__PURE__ */ jsx92(Box26, { sx: { overflow: "auto" }, children: validationErrors.map((error, index) => /* @__PURE__ */ jsxs44(
|
|
8124
8185
|
Box26,
|
|
8125
8186
|
{
|
|
8126
8187
|
onClick: () => gotoMarker(error),
|
|
@@ -8137,12 +8198,12 @@ var CodeEditor = ({
|
|
|
8137
8198
|
fontSize: "0.85rem"
|
|
8138
8199
|
},
|
|
8139
8200
|
children: [
|
|
8140
|
-
/* @__PURE__ */
|
|
8141
|
-
/* @__PURE__ */
|
|
8201
|
+
/* @__PURE__ */ jsx92(ErrorOutlineIcon, { color: "error", sx: { fontSize: 18 } }),
|
|
8202
|
+
/* @__PURE__ */ jsxs44(Box26, { sx: { color: "text.secondary", width: 64 }, children: [
|
|
8142
8203
|
"Line ",
|
|
8143
8204
|
error.startLineNumber
|
|
8144
8205
|
] }),
|
|
8145
|
-
/* @__PURE__ */
|
|
8206
|
+
/* @__PURE__ */ jsx92(Box26, { sx: { color: "text.primary", flex: 1, minWidth: 0 }, children: error.message })
|
|
8146
8207
|
]
|
|
8147
8208
|
},
|
|
8148
8209
|
`${error.startLineNumber}-${error.startColumn}-${index}`
|
|
@@ -8195,6 +8256,7 @@ export {
|
|
|
8195
8256
|
ConnectionStatus,
|
|
8196
8257
|
Container2 as Container,
|
|
8197
8258
|
Controls2 as Controls,
|
|
8259
|
+
DateRangePicker,
|
|
8198
8260
|
DecentralizedServerIcon,
|
|
8199
8261
|
DeploymentDashboardCard,
|
|
8200
8262
|
DeploymentDashboardPanel,
|
|
@@ -8260,7 +8322,7 @@ export {
|
|
|
8260
8322
|
Sidebar,
|
|
8261
8323
|
SidebarItem,
|
|
8262
8324
|
Snackbar2 as Snackbar,
|
|
8263
|
-
|
|
8325
|
+
Stack4 as Stack,
|
|
8264
8326
|
Step,
|
|
8265
8327
|
StepButton,
|
|
8266
8328
|
StepContent,
|
|
@@ -8280,7 +8342,7 @@ export {
|
|
|
8280
8342
|
Toolbar,
|
|
8281
8343
|
Tooltip6 as Tooltip,
|
|
8282
8344
|
Truncate,
|
|
8283
|
-
|
|
8345
|
+
Typography15 as Typography,
|
|
8284
8346
|
UploadFileIcon,
|
|
8285
8347
|
UploadFolderIcon,
|
|
8286
8348
|
WorkspaceSelectorButton,
|