@wso2/oxygen-ui 0.14.0 → 0.16.0

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.js CHANGED
@@ -205,6 +205,25 @@ var init_OxygenThemeBase = __esm({
205
205
  })
206
206
  }
207
207
  },
208
+ MuiBreadcrumbs: {
209
+ styleOverrides: {
210
+ // Only the current (last) level is highlighted; parent levels are muted.
211
+ li: ({ theme }) => __spreadValues({
212
+ color: (theme.vars || theme).palette.text.secondary,
213
+ "&:last-child": {
214
+ color: (theme.vars || theme).palette.text.primary,
215
+ fontWeight: theme.typography.fontWeightBold
216
+ }
217
+ }, theme.applyStyles("dark", {
218
+ "&:not(:last-child)": {
219
+ opacity: 0.7
220
+ }
221
+ })),
222
+ separator: ({ theme }) => ({
223
+ color: (theme.vars || theme).palette.text.disabled
224
+ })
225
+ }
226
+ },
208
227
  MuiCssBaseline: {
209
228
  styleOverrides: {
210
229
  // Honor the user's OS-level reduced-motion preference (WCAG 2.3.3):
@@ -472,7 +491,7 @@ var init_createOxygenTheme = __esm({
472
491
  // package.json
473
492
  var package_default = {
474
493
  name: "@wso2/oxygen-ui",
475
- version: "0.14.0",
494
+ version: "0.16.0",
476
495
  description: "WSO2 Oxygen UI | Design System - Powered with Material-UI component library with TypeScript support",
477
496
  type: "module",
478
497
  main: "./dist/index.js",
@@ -3258,9 +3277,62 @@ PageTitle.Link = PageTitleLink_default;
3258
3277
  PageTitle.displayName = "PageTitle";
3259
3278
  var PageTitle_default = PageTitle;
3260
3279
 
3280
+ // src/components/RelativeTime/RelativeTime.tsx
3281
+ import Box6 from "@mui/material/Box";
3282
+ import Tooltip2 from "@mui/material/Tooltip";
3283
+ import Typography5 from "@mui/material/Typography";
3284
+ import { Clock } from "@wso2/oxygen-ui-icons-react";
3285
+ import { Fragment as Fragment2, jsx as jsx22, jsxs as jsxs7 } from "react/jsx-runtime";
3286
+ var SIZES = {
3287
+ small: { variant: "caption", iconSize: 14, gap: 0.5 },
3288
+ medium: { variant: "body2", iconSize: 16, gap: 0.75 }
3289
+ };
3290
+ var RelativeTime = ({
3291
+ time,
3292
+ action,
3293
+ dateTime,
3294
+ tooltip,
3295
+ icon,
3296
+ hideIcon = false,
3297
+ size = "medium",
3298
+ sx
3299
+ }) => {
3300
+ const { variant, iconSize, gap } = SIZES[size];
3301
+ const content = /* @__PURE__ */ jsxs7(
3302
+ Box6,
3303
+ {
3304
+ sx: [
3305
+ {
3306
+ display: "inline-flex",
3307
+ alignItems: "center",
3308
+ gap,
3309
+ color: "text.secondary"
3310
+ },
3311
+ ...Array.isArray(sx) ? sx : [sx]
3312
+ ],
3313
+ children: [
3314
+ !hideIcon && /* @__PURE__ */ jsx22(Box6, { "aria-hidden": "true", sx: { display: "inline-flex", flexShrink: 0 }, children: icon != null ? icon : /* @__PURE__ */ jsx22(Clock, { size: iconSize }) }),
3315
+ /* @__PURE__ */ jsxs7(Typography5, { variant, component: "span", color: "inherit", children: [
3316
+ action && /* @__PURE__ */ jsxs7(Fragment2, { children: [
3317
+ action,
3318
+ " "
3319
+ ] }),
3320
+ /* @__PURE__ */ jsx22("time", { dateTime, children: time })
3321
+ ] })
3322
+ ]
3323
+ }
3324
+ );
3325
+ if (!tooltip) {
3326
+ return content;
3327
+ }
3328
+ return /* @__PURE__ */ jsx22(Tooltip2, { title: tooltip, describeChild: true, children: /* @__PURE__ */ jsx22(Box6, { component: "span", tabIndex: 0, sx: { display: "inline-flex" }, children: content }) });
3329
+ };
3330
+ RelativeTime.displayName = "RelativeTime";
3331
+ var RelativeTime_default = RelativeTime;
3332
+
3261
3333
  // src/components/StatCard/StatCard.tsx
3262
- import { Card, CardContent, Box as Box6, Typography as Typography5 } from "@mui/material";
3263
- import { jsx as jsx22, jsxs as jsxs7 } from "react/jsx-runtime";
3334
+ import { Card, CardContent, Box as Box7, Typography as Typography6 } from "@mui/material";
3335
+ import { jsx as jsx23, jsxs as jsxs8 } from "react/jsx-runtime";
3264
3336
  var StatCard = (_a) => {
3265
3337
  var _b = _a, {
3266
3338
  value,
@@ -3273,18 +3345,18 @@ var StatCard = (_a) => {
3273
3345
  "icon",
3274
3346
  "iconColor"
3275
3347
  ]);
3276
- return /* @__PURE__ */ jsx22(Card, __spreadProps(__spreadValues({ variant: "outlined" }, props), { children: /* @__PURE__ */ jsx22(CardContent, { children: /* @__PURE__ */ jsxs7(Box6, { sx: { display: "flex", alignItems: "center", gap: 2 }, children: [
3277
- icon && /* @__PURE__ */ jsx22(
3278
- Box6,
3348
+ return /* @__PURE__ */ jsx23(Card, __spreadProps(__spreadValues({ variant: "outlined" }, props), { children: /* @__PURE__ */ jsx23(CardContent, { children: /* @__PURE__ */ jsxs8(Box7, { sx: { display: "flex", alignItems: "center", gap: 2 }, children: [
3349
+ icon && /* @__PURE__ */ jsx23(
3350
+ Box7,
3279
3351
  {
3280
3352
  "aria-hidden": "true",
3281
3353
  sx: { color: (theme) => theme.palette[iconColor].main, display: "flex", alignItems: "center" },
3282
3354
  children: icon
3283
3355
  }
3284
3356
  ),
3285
- /* @__PURE__ */ jsxs7(Box6, { children: [
3286
- /* @__PURE__ */ jsx22(Typography5, { variant: "h5", children: value }),
3287
- /* @__PURE__ */ jsx22(Typography5, { variant: "body2", color: "text.secondary", children: label })
3357
+ /* @__PURE__ */ jsxs8(Box7, { children: [
3358
+ /* @__PURE__ */ jsx23(Typography6, { variant: "h5", children: value }),
3359
+ /* @__PURE__ */ jsx23(Typography6, { variant: "body2", color: "text.secondary", children: label })
3288
3360
  ] })
3289
3361
  ] }) }) }));
3290
3362
  };
@@ -3295,7 +3367,7 @@ var StatCard_default = StatCard;
3295
3367
  import { useId as useId3 } from "react";
3296
3368
  import { Select, MenuItem as MenuItem2, FormControl, InputLabel } from "@mui/material";
3297
3369
  import { visuallyHidden as visuallyHidden2 } from "@mui/utils";
3298
- import { jsx as jsx23, jsxs as jsxs8 } from "react/jsx-runtime";
3370
+ import { jsx as jsx24, jsxs as jsxs9 } from "react/jsx-runtime";
3299
3371
  function ThemeSelect({
3300
3372
  size = "small",
3301
3373
  showLabel = false,
@@ -3308,23 +3380,23 @@ function ThemeSelect({
3308
3380
  const handleChange = (event) => {
3309
3381
  setTheme(event.target.value);
3310
3382
  };
3311
- return /* @__PURE__ */ jsxs8(FormControl, { size, variant, sx: __spreadValues({ minWidth: 120 }, sx), children: [
3312
- /* @__PURE__ */ jsx23(InputLabel, { id: labelId, sx: showLabel ? void 0 : visuallyHidden2, children: label }),
3313
- /* @__PURE__ */ jsx23(
3383
+ return /* @__PURE__ */ jsxs9(FormControl, { size, variant, sx: __spreadValues({ minWidth: 120 }, sx), children: [
3384
+ /* @__PURE__ */ jsx24(InputLabel, { id: labelId, sx: showLabel ? void 0 : visuallyHidden2, children: label }),
3385
+ /* @__PURE__ */ jsx24(
3314
3386
  Select,
3315
3387
  {
3316
3388
  labelId,
3317
3389
  value: currentTheme,
3318
3390
  onChange: handleChange,
3319
3391
  label,
3320
- children: themes.map((themeOption) => /* @__PURE__ */ jsx23(MenuItem2, { value: themeOption.key, children: themeOption.label }, themeOption.key))
3392
+ children: themes.map((themeOption) => /* @__PURE__ */ jsx24(MenuItem2, { value: themeOption.key, children: themeOption.label }, themeOption.key))
3321
3393
  }
3322
3394
  )
3323
3395
  ] });
3324
3396
  }
3325
3397
 
3326
3398
  // src/components/ThemeSwitcher/ThemeSwitcher.tsx
3327
- import { Fragment as Fragment2, jsx as jsx24 } from "react/jsx-runtime";
3399
+ import { Fragment as Fragment3, jsx as jsx25 } from "react/jsx-runtime";
3328
3400
  function ThemeSwitcher({
3329
3401
  children,
3330
3402
  size,
@@ -3335,9 +3407,9 @@ function ThemeSwitcher({
3335
3407
  }) {
3336
3408
  const themeSwitcherContext = useThemeSwitcher();
3337
3409
  if (children) {
3338
- return /* @__PURE__ */ jsx24(Fragment2, { children: children(themeSwitcherContext) });
3410
+ return /* @__PURE__ */ jsx25(Fragment3, { children: children(themeSwitcherContext) });
3339
3411
  }
3340
- return /* @__PURE__ */ jsx24(
3412
+ return /* @__PURE__ */ jsx25(
3341
3413
  ThemeSelect,
3342
3414
  {
3343
3415
  size,
@@ -3353,10 +3425,10 @@ function ThemeSwitcher({
3353
3425
  import * as React7 from "react";
3354
3426
  import TextField2 from "@mui/material/TextField";
3355
3427
  import InputAdornment2 from "@mui/material/InputAdornment";
3356
- import Box7 from "@mui/material/Box";
3428
+ import Box8 from "@mui/material/Box";
3357
3429
  import IconButton2 from "@mui/material/IconButton";
3358
3430
  import Popover from "@mui/material/Popover";
3359
- import Typography6 from "@mui/material/Typography";
3431
+ import Typography7 from "@mui/material/Typography";
3360
3432
  import Divider from "@mui/material/Divider";
3361
3433
  import Button2 from "@mui/material/Button";
3362
3434
  import Stack from "@mui/material/Stack";
@@ -3371,7 +3443,7 @@ import * as React6 from "react";
3371
3443
  import TextField from "@mui/material/TextField";
3372
3444
  import InputAdornment from "@mui/material/InputAdornment";
3373
3445
  import { Search } from "@wso2/oxygen-ui-icons-react";
3374
- import { jsx as jsx25 } from "react/jsx-runtime";
3446
+ import { jsx as jsx26 } from "react/jsx-runtime";
3375
3447
  var hasMeaningfulAriaValue = (value) => typeof value === "string" && value.trim().length > 0;
3376
3448
  var SearchBarBase = React6.forwardRef(function SearchBarBase2(_a, ref) {
3377
3449
  var _b = _a, {
@@ -3396,7 +3468,7 @@ var SearchBarBase = React6.forwardRef(function SearchBarBase2(_a, ref) {
3396
3468
  const hasAccessibleName = hasMeaningfulLabel || hasMeaningfulAriaValue(ariaLabel) || hasMeaningfulAriaValue(ariaLabelledBy) || hasMeaningfulAriaValue(htmlInputSlotProps == null ? void 0 : htmlInputSlotProps["aria-label"]) || hasMeaningfulAriaValue(htmlInputSlotProps == null ? void 0 : htmlInputSlotProps["aria-labelledby"]);
3397
3469
  const shouldInjectPlaceholderLabel = !hasAccessibleName && hasMeaningfulAriaValue(placeholder);
3398
3470
  const htmlInput = shouldInjectPlaceholderLabel || (slotProps == null ? void 0 : slotProps.htmlInput) || hasMeaningfulAriaValue(ariaLabel) || hasMeaningfulAriaValue(ariaLabelledBy) ? __spreadValues(__spreadValues(__spreadValues(__spreadValues({}, slotProps == null ? void 0 : slotProps.htmlInput), hasMeaningfulAriaValue(ariaLabelledBy) ? { "aria-labelledby": ariaLabelledBy } : null), hasMeaningfulAriaValue(ariaLabel) ? { "aria-label": ariaLabel } : null), shouldInjectPlaceholderLabel ? { "aria-label": placeholder } : null) : void 0;
3399
- return /* @__PURE__ */ jsx25(
3471
+ return /* @__PURE__ */ jsx26(
3400
3472
  TextField,
3401
3473
  __spreadProps(__spreadValues({}, props), {
3402
3474
  ref,
@@ -3406,7 +3478,7 @@ var SearchBarBase = React6.forwardRef(function SearchBarBase2(_a, ref) {
3406
3478
  size: "small",
3407
3479
  slotProps: __spreadProps(__spreadValues(__spreadValues({}, slotProps), htmlInput ? { htmlInput } : null), {
3408
3480
  input: __spreadProps(__spreadValues({}, slotProps == null ? void 0 : slotProps.input), {
3409
- startAdornment: /* @__PURE__ */ jsx25(InputAdornment, { position: "start", children: /* @__PURE__ */ jsx25(Search, { fontSize: "small", "aria-hidden": "true" }) }),
3481
+ startAdornment: /* @__PURE__ */ jsx26(InputAdornment, { position: "start", children: /* @__PURE__ */ jsx26(Search, { fontSize: "small", "aria-hidden": "true" }) }),
3410
3482
  endAdornment
3411
3483
  })
3412
3484
  }),
@@ -3423,7 +3495,7 @@ var SearchBarBase = React6.forwardRef(function SearchBarBase2(_a, ref) {
3423
3495
  });
3424
3496
 
3425
3497
  // src/components/SearchBar/SearchBarWithAdvancedFilter.tsx
3426
- import { Fragment as Fragment3, jsx as jsx26, jsxs as jsxs9 } from "react/jsx-runtime";
3498
+ import { Fragment as Fragment4, jsx as jsx27, jsxs as jsxs10 } from "react/jsx-runtime";
3427
3499
  function SearchBarWithAdvancedFilter(_a) {
3428
3500
  var _b = _a, {
3429
3501
  value,
@@ -3476,17 +3548,17 @@ function SearchBarWithAdvancedFilter(_a) {
3476
3548
  handleClose();
3477
3549
  };
3478
3550
  const popoverId = open ? "advanced-search-popover" : void 0;
3479
- return /* @__PURE__ */ jsxs9(Fragment3, { children: [
3480
- /* @__PURE__ */ jsx26(
3551
+ return /* @__PURE__ */ jsxs10(Fragment4, { children: [
3552
+ /* @__PURE__ */ jsx27(
3481
3553
  SearchBarBase,
3482
3554
  __spreadProps(__spreadValues({}, props), {
3483
3555
  value,
3484
3556
  onChange: handleInputChange,
3485
3557
  placeholder,
3486
3558
  sx,
3487
- endAdornment: /* @__PURE__ */ jsx26(InputAdornment2, { position: "end", sx: { m: 0 }, children: /* @__PURE__ */ jsxs9(Box7, { sx: { display: "flex", alignItems: "center", height: "100%" }, children: [
3488
- /* @__PURE__ */ jsx26(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
3489
- /* @__PURE__ */ jsx26(
3559
+ endAdornment: /* @__PURE__ */ jsx27(InputAdornment2, { position: "end", sx: { m: 0 }, children: /* @__PURE__ */ jsxs10(Box8, { sx: { display: "flex", alignItems: "center", height: "100%" }, children: [
3560
+ /* @__PURE__ */ jsx27(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
3561
+ /* @__PURE__ */ jsx27(
3490
3562
  IconButton2,
3491
3563
  {
3492
3564
  "aria-describedby": popoverId,
@@ -3494,13 +3566,13 @@ function SearchBarWithAdvancedFilter(_a) {
3494
3566
  onClick: handleOpen,
3495
3567
  size: "small",
3496
3568
  sx: { mx: 0.5 },
3497
- children: /* @__PURE__ */ jsx26(ListFilter, { fontSize: "tiny" })
3569
+ children: /* @__PURE__ */ jsx27(ListFilter, { fontSize: "tiny" })
3498
3570
  }
3499
3571
  )
3500
3572
  ] }) })
3501
3573
  })
3502
3574
  ),
3503
- /* @__PURE__ */ jsxs9(
3575
+ /* @__PURE__ */ jsxs10(
3504
3576
  Popover,
3505
3577
  {
3506
3578
  id: popoverId,
@@ -3517,45 +3589,45 @@ function SearchBarWithAdvancedFilter(_a) {
3517
3589
  }
3518
3590
  },
3519
3591
  children: [
3520
- /* @__PURE__ */ jsx26(Typography6, { variant: "subtitle2", sx: { fontWeight: 600 }, children: "Advanced search" }),
3521
- /* @__PURE__ */ jsx26(Divider, { sx: { my: 1 } }),
3522
- /* @__PURE__ */ jsxs9(Stack, { spacing: 2, marginTop: 2, children: [
3523
- /* @__PURE__ */ jsxs9(FormControl2, { fullWidth: true, size: "small", children: [
3524
- /* @__PURE__ */ jsxs9(InputLabel2, { id: "adv-filter-attribute-label", children: [
3592
+ /* @__PURE__ */ jsx27(Typography7, { variant: "subtitle2", sx: { fontWeight: 600 }, children: "Advanced search" }),
3593
+ /* @__PURE__ */ jsx27(Divider, { sx: { my: 1 } }),
3594
+ /* @__PURE__ */ jsxs10(Stack, { spacing: 2, marginTop: 2, children: [
3595
+ /* @__PURE__ */ jsxs10(FormControl2, { fullWidth: true, size: "small", children: [
3596
+ /* @__PURE__ */ jsxs10(InputLabel2, { id: "adv-filter-attribute-label", children: [
3525
3597
  "Filter attribute",
3526
3598
  " ",
3527
- /* @__PURE__ */ jsx26(Box7, { component: "span", sx: { color: "error.main" }, children: "*" })
3599
+ /* @__PURE__ */ jsx27(Box8, { component: "span", sx: { color: "error.main" }, children: "*" })
3528
3600
  ] }),
3529
- /* @__PURE__ */ jsx26(
3601
+ /* @__PURE__ */ jsx27(
3530
3602
  Select2,
3531
3603
  {
3532
3604
  labelId: "adv-filter-attribute-label",
3533
3605
  value: advancedFilter.attribute,
3534
3606
  label: "Filter attribute *",
3535
3607
  onChange: handleAttrChange,
3536
- children: attributeOptions.map((opt) => /* @__PURE__ */ jsx26(MenuItem3, { value: opt.value, children: opt.label }, opt.value))
3608
+ children: attributeOptions.map((opt) => /* @__PURE__ */ jsx27(MenuItem3, { value: opt.value, children: opt.label }, opt.value))
3537
3609
  }
3538
3610
  )
3539
3611
  ] }),
3540
- /* @__PURE__ */ jsxs9(Box7, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: 2 }, children: [
3541
- /* @__PURE__ */ jsxs9(FormControl2, { fullWidth: true, size: "small", children: [
3542
- /* @__PURE__ */ jsxs9(InputLabel2, { id: "adv-filter-condition-label", children: [
3612
+ /* @__PURE__ */ jsxs10(Box8, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: 2 }, children: [
3613
+ /* @__PURE__ */ jsxs10(FormControl2, { fullWidth: true, size: "small", children: [
3614
+ /* @__PURE__ */ jsxs10(InputLabel2, { id: "adv-filter-condition-label", children: [
3543
3615
  "Filter condition",
3544
3616
  " ",
3545
- /* @__PURE__ */ jsx26(Box7, { component: "span", sx: { color: "error.main" }, children: "*" })
3617
+ /* @__PURE__ */ jsx27(Box8, { component: "span", sx: { color: "error.main" }, children: "*" })
3546
3618
  ] }),
3547
- /* @__PURE__ */ jsx26(
3619
+ /* @__PURE__ */ jsx27(
3548
3620
  Select2,
3549
3621
  {
3550
3622
  labelId: "adv-filter-condition-label",
3551
3623
  value: advancedFilter.condition,
3552
3624
  label: "Filter condition *",
3553
3625
  onChange: handleCondChange,
3554
- children: conditionOptions.map((opt) => /* @__PURE__ */ jsx26(MenuItem3, { value: opt.value, children: opt.label }, opt.value))
3626
+ children: conditionOptions.map((opt) => /* @__PURE__ */ jsx27(MenuItem3, { value: opt.value, children: opt.label }, opt.value))
3555
3627
  }
3556
3628
  )
3557
3629
  ] }),
3558
- /* @__PURE__ */ jsx26(
3630
+ /* @__PURE__ */ jsx27(
3559
3631
  TextField2,
3560
3632
  {
3561
3633
  size: "small",
@@ -3567,7 +3639,7 @@ function SearchBarWithAdvancedFilter(_a) {
3567
3639
  }
3568
3640
  )
3569
3641
  ] }),
3570
- /* @__PURE__ */ jsx26(Box7, { sx: { display: "flex", justifyContent: "flex-start" }, children: /* @__PURE__ */ jsx26(
3642
+ /* @__PURE__ */ jsx27(Box8, { sx: { display: "flex", justifyContent: "flex-start" }, children: /* @__PURE__ */ jsx27(
3571
3643
  Button2,
3572
3644
  {
3573
3645
  variant: "contained",
@@ -3587,10 +3659,10 @@ var SearchBarWithAdvancedFilter_default = SearchBarWithAdvancedFilter;
3587
3659
 
3588
3660
  // src/components/SearchBar/SearchBar.tsx
3589
3661
  import * as React8 from "react";
3590
- import { jsx as jsx27 } from "react/jsx-runtime";
3662
+ import { jsx as jsx28 } from "react/jsx-runtime";
3591
3663
  var SearchBar = React8.forwardRef(function SearchBar2(_a, ref) {
3592
3664
  var _b = _a, { placeholder = "Search" } = _b, props = __objRest(_b, ["placeholder"]);
3593
- return /* @__PURE__ */ jsx27(
3665
+ return /* @__PURE__ */ jsx28(
3594
3666
  SearchBarBase,
3595
3667
  __spreadProps(__spreadValues({}, props), {
3596
3668
  ref,
@@ -3604,7 +3676,7 @@ var SearchBar_default = SearchBar;
3604
3676
  import * as React12 from "react";
3605
3677
  import AppBar from "@mui/material/AppBar";
3606
3678
  import Toolbar from "@mui/material/Toolbar";
3607
- import Box12 from "@mui/material/Box";
3679
+ import Box13 from "@mui/material/Box";
3608
3680
  import { styled as styled22 } from "@mui/material/styles";
3609
3681
 
3610
3682
  // src/components/Header/context.ts
@@ -3621,24 +3693,24 @@ var useHeader = () => {
3621
3693
  // src/components/Header/HeaderToggle.tsx
3622
3694
  import * as React11 from "react";
3623
3695
  import IconButton3 from "@mui/material/IconButton";
3624
- import Tooltip2 from "@mui/material/Tooltip";
3696
+ import Tooltip3 from "@mui/material/Tooltip";
3625
3697
  import { styled as styled16 } from "@mui/material/styles";
3626
- import { Menu as Menu2, ChevronLeft } from "@wso2/oxygen-ui-icons-react";
3698
+ import { Menu as Menu2 } from "@wso2/oxygen-ui-icons-react";
3627
3699
 
3628
3700
  // src/components/AppShell/context.tsx
3629
3701
  import * as React10 from "react";
3630
- import { jsx as jsx28 } from "react/jsx-runtime";
3702
+ import { jsx as jsx29 } from "react/jsx-runtime";
3631
3703
  var AppShellContext = React10.createContext(void 0);
3632
3704
  var AppShellProvider = ({
3633
3705
  children,
3634
3706
  value
3635
3707
  }) => {
3636
- return /* @__PURE__ */ jsx28(AppShellContext.Provider, { value, children });
3708
+ return /* @__PURE__ */ jsx29(AppShellContext.Provider, { value, children });
3637
3709
  };
3638
3710
  AppShellProvider.displayName = "AppShellProvider";
3639
3711
 
3640
3712
  // src/components/Header/HeaderToggle.tsx
3641
- import { jsx as jsx29 } from "react/jsx-runtime";
3713
+ import { jsx as jsx30 } from "react/jsx-runtime";
3642
3714
  var HeaderToggleRoot = styled16(IconButton3, {
3643
3715
  name: "MuiHeader",
3644
3716
  slot: "Toggle"
@@ -3659,7 +3731,7 @@ var HeaderToggle = ({
3659
3731
  const collapsed = (_a = collapsedProp != null ? collapsedProp : appShellContext == null ? void 0 : appShellContext.state.sidebarCollapsed) != null ? _a : false;
3660
3732
  const onToggle = (_b = onToggleProp != null ? onToggleProp : appShellContext == null ? void 0 : appShellContext.actions.toggleSidebar) != null ? _b : (() => {
3661
3733
  });
3662
- return /* @__PURE__ */ jsx29(Tooltip2, { title: collapsed ? expandLabel : collapseLabel, children: /* @__PURE__ */ jsx29(
3734
+ return /* @__PURE__ */ jsx30(Tooltip3, { title: collapsed ? expandLabel : collapseLabel, children: /* @__PURE__ */ jsx30(
3663
3735
  HeaderToggleRoot,
3664
3736
  {
3665
3737
  onClick: onToggle,
@@ -3667,21 +3739,21 @@ var HeaderToggle = ({
3667
3739
  sx,
3668
3740
  "aria-label": collapsed ? expandLabel : collapseLabel,
3669
3741
  "aria-expanded": !collapsed,
3670
- children: /* @__PURE__ */ jsx29("span", { "aria-hidden": "true", style: { display: "inline-flex" }, children: collapsed ? expandIcon || /* @__PURE__ */ jsx29(Menu2, { size: 20 }) : collapseIcon || /* @__PURE__ */ jsx29(ChevronLeft, { size: 20 }) })
3742
+ children: /* @__PURE__ */ jsx30("span", { "aria-hidden": "true", style: { display: "inline-flex" }, children: collapsed ? expandIcon || /* @__PURE__ */ jsx30(Menu2, { size: 20 }) : collapseIcon || /* @__PURE__ */ jsx30(Menu2, { size: 20 }) })
3671
3743
  }
3672
3744
  ) });
3673
3745
  };
3674
3746
 
3675
3747
  // src/components/Header/HeaderBrand.tsx
3676
- import Box9 from "@mui/material/Box";
3748
+ import Box10 from "@mui/material/Box";
3677
3749
  import ButtonBase from "@mui/material/ButtonBase";
3678
3750
  import { styled as styled19 } from "@mui/material/styles";
3679
3751
 
3680
3752
  // src/components/Header/HeaderBrandLogo.tsx
3681
- import Box8 from "@mui/material/Box";
3753
+ import Box9 from "@mui/material/Box";
3682
3754
  import { styled as styled17 } from "@mui/material/styles";
3683
- import { jsx as jsx30 } from "react/jsx-runtime";
3684
- var HeaderBrandLogoRoot = styled17(Box8, {
3755
+ import { jsx as jsx31 } from "react/jsx-runtime";
3756
+ var HeaderBrandLogoRoot = styled17(Box9, {
3685
3757
  name: "MuiHeader",
3686
3758
  slot: "BrandLogo"
3687
3759
  })({
@@ -3692,15 +3764,15 @@ var HeaderBrandLogo = ({
3692
3764
  children,
3693
3765
  sx
3694
3766
  }) => {
3695
- return /* @__PURE__ */ jsx30(HeaderBrandLogoRoot, { sx, children });
3767
+ return /* @__PURE__ */ jsx31(HeaderBrandLogoRoot, { sx, children });
3696
3768
  };
3697
3769
  HeaderBrandLogo.displayName = "HeaderBrandLogo";
3698
3770
 
3699
3771
  // src/components/Header/HeaderBrandTitle.tsx
3700
- import Typography7 from "@mui/material/Typography";
3772
+ import Typography8 from "@mui/material/Typography";
3701
3773
  import { styled as styled18 } from "@mui/material/styles";
3702
- import { jsx as jsx31 } from "react/jsx-runtime";
3703
- var HeaderBrandTitleRoot = styled18(Typography7, {
3774
+ import { jsx as jsx32 } from "react/jsx-runtime";
3775
+ var HeaderBrandTitleRoot = styled18(Typography8, {
3704
3776
  name: "MuiHeader",
3705
3777
  slot: "BrandTitle"
3706
3778
  })(({ theme }) => ({
@@ -3717,13 +3789,13 @@ var HeaderBrandTitle = ({
3717
3789
  children,
3718
3790
  sx
3719
3791
  }) => {
3720
- return /* @__PURE__ */ jsx31(HeaderBrandTitleRoot, { variant: "h6", component: "div", sx, children });
3792
+ return /* @__PURE__ */ jsx32(HeaderBrandTitleRoot, { variant: "h6", component: "div", sx, children });
3721
3793
  };
3722
3794
  HeaderBrandTitle.displayName = "HeaderBrandTitle";
3723
3795
 
3724
3796
  // src/components/Header/HeaderBrand.tsx
3725
- import { jsx as jsx32 } from "react/jsx-runtime";
3726
- var HeaderBrandRoot = styled19(Box9, {
3797
+ import { jsx as jsx33 } from "react/jsx-runtime";
3798
+ var HeaderBrandRoot = styled19(Box10, {
3727
3799
  name: "MuiHeader",
3728
3800
  slot: "Brand",
3729
3801
  shouldForwardProp: (prop) => prop !== "clickable"
@@ -3749,18 +3821,18 @@ var HeaderBrand = ({
3749
3821
  sx
3750
3822
  }) => {
3751
3823
  if (onClick) {
3752
- return /* @__PURE__ */ jsx32(HeaderBrandButtonRoot, { onClick, "aria-label": ariaLabel, sx, children });
3824
+ return /* @__PURE__ */ jsx33(HeaderBrandButtonRoot, { onClick, "aria-label": ariaLabel, sx, children });
3753
3825
  }
3754
- return /* @__PURE__ */ jsx32(HeaderBrandRoot, { clickable: false, sx, children });
3826
+ return /* @__PURE__ */ jsx33(HeaderBrandRoot, { clickable: false, sx, children });
3755
3827
  };
3756
3828
  HeaderBrand.displayName = "HeaderBrand";
3757
3829
 
3758
3830
  // src/components/Header/HeaderSwitchers.tsx
3759
- import Box10 from "@mui/material/Box";
3831
+ import Box11 from "@mui/material/Box";
3760
3832
  import Divider2 from "@mui/material/Divider";
3761
3833
  import { styled as styled20 } from "@mui/material/styles";
3762
- import { jsx as jsx33, jsxs as jsxs10 } from "react/jsx-runtime";
3763
- var HeaderSwitchersRoot = styled20(Box10, {
3834
+ import { jsx as jsx34, jsxs as jsxs11 } from "react/jsx-runtime";
3835
+ var HeaderSwitchersRoot = styled20(Box11, {
3764
3836
  name: "MuiHeader",
3765
3837
  slot: "Switchers"
3766
3838
  })(({ theme }) => ({
@@ -3788,17 +3860,17 @@ var HeaderSwitchers = ({
3788
3860
  if (minimal) {
3789
3861
  return null;
3790
3862
  }
3791
- return /* @__PURE__ */ jsxs10(HeaderSwitchersRoot, { sx, children: [
3792
- showDivider && /* @__PURE__ */ jsx33(HeaderSwitchersDivider, { orientation: "vertical", flexItem: true }),
3863
+ return /* @__PURE__ */ jsxs11(HeaderSwitchersRoot, { sx, children: [
3864
+ showDivider && /* @__PURE__ */ jsx34(HeaderSwitchersDivider, { orientation: "vertical", flexItem: true }),
3793
3865
  children
3794
3866
  ] });
3795
3867
  };
3796
3868
 
3797
3869
  // src/components/Header/HeaderActions.tsx
3798
- import Box11 from "@mui/material/Box";
3870
+ import Box12 from "@mui/material/Box";
3799
3871
  import { styled as styled21 } from "@mui/material/styles";
3800
- import { jsx as jsx34 } from "react/jsx-runtime";
3801
- var HeaderActionsRoot = styled21(Box11, {
3872
+ import { jsx as jsx35 } from "react/jsx-runtime";
3873
+ var HeaderActionsRoot = styled21(Box12, {
3802
3874
  name: "MuiHeader",
3803
3875
  slot: "Actions"
3804
3876
  })(({ theme }) => ({
@@ -3810,11 +3882,11 @@ var HeaderActions = ({
3810
3882
  children,
3811
3883
  sx
3812
3884
  }) => {
3813
- return /* @__PURE__ */ jsx34(HeaderActionsRoot, { sx, children });
3885
+ return /* @__PURE__ */ jsx35(HeaderActionsRoot, { sx, children });
3814
3886
  };
3815
3887
 
3816
3888
  // src/components/Header/Header.tsx
3817
- import { jsx as jsx35 } from "react/jsx-runtime";
3889
+ import { jsx as jsx36 } from "react/jsx-runtime";
3818
3890
  var HeaderRootStyled = styled22(AppBar, {
3819
3891
  name: "MuiHeader",
3820
3892
  slot: "Root"
@@ -3835,7 +3907,7 @@ var HeaderToolbar = styled22(Toolbar, {
3835
3907
  paddingRight: theme.spacing(2)
3836
3908
  }
3837
3909
  }));
3838
- var HeaderSpacerStyled = styled22(Box12, {
3910
+ var HeaderSpacerStyled = styled22(Box13, {
3839
3911
  name: "MuiHeader",
3840
3912
  slot: "Spacer"
3841
3913
  })({
@@ -3847,9 +3919,9 @@ var Header = ({
3847
3919
  sx
3848
3920
  }) => {
3849
3921
  const contextValue = React12.useMemo(() => ({ minimal }), [minimal]);
3850
- return /* @__PURE__ */ jsx35(HeaderContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx35(HeaderRootStyled, { position: "static", color: "default", elevation: 0, sx, children: /* @__PURE__ */ jsx35(HeaderToolbar, { children }) }) });
3922
+ return /* @__PURE__ */ jsx36(HeaderContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx36(HeaderRootStyled, { position: "static", color: "default", elevation: 0, sx, children: /* @__PURE__ */ jsx36(HeaderToolbar, { children }) }) });
3851
3923
  };
3852
- var HeaderSpacer = ({ sx }) => /* @__PURE__ */ jsx35(HeaderSpacerStyled, { sx });
3924
+ var HeaderSpacer = ({ sx }) => /* @__PURE__ */ jsx36(HeaderSpacerStyled, { sx });
3853
3925
  Header.Toggle = HeaderToggle;
3854
3926
  Header.Brand = HeaderBrand;
3855
3927
  Header.BrandLogo = HeaderBrandLogo;
@@ -3881,10 +3953,10 @@ AppSwitcherFooterContext.displayName = "AppSwitcher.FooterContext";
3881
3953
  // src/components/AppSwitcher/AppSwitcherTrigger.tsx
3882
3954
  import * as React14 from "react";
3883
3955
  import IconButton4 from "@mui/material/IconButton";
3884
- import Tooltip3 from "@mui/material/Tooltip";
3956
+ import Tooltip4 from "@mui/material/Tooltip";
3885
3957
  import { styled as styled23 } from "@mui/material/styles";
3886
3958
  import { Grip } from "@wso2/oxygen-ui-icons-react";
3887
- import { jsx as jsx36 } from "react/jsx-runtime";
3959
+ import { jsx as jsx37 } from "react/jsx-runtime";
3888
3960
  var DEFAULT_LABEL = "Switch Platforms";
3889
3961
  var AppSwitcherTriggerRoot = styled23(IconButton4, {
3890
3962
  name: "MuiAppSwitcher",
@@ -3906,7 +3978,7 @@ var AppSwitcherTrigger = React14.forwardRef(
3906
3978
  const { open, popoverId, handleOpen } = useAppSwitcher();
3907
3979
  const resolvedLabel = label.trim().length > 0 ? label : DEFAULT_LABEL;
3908
3980
  const resolvedAriaLabel = typeof ariaLabel === "string" && ariaLabel.trim().length > 0 ? ariaLabel : resolvedLabel;
3909
- return /* @__PURE__ */ jsx36(Tooltip3, { title: resolvedLabel, children: /* @__PURE__ */ jsx36(
3981
+ return /* @__PURE__ */ jsx37(Tooltip4, { title: resolvedLabel, children: /* @__PURE__ */ jsx37(
3910
3982
  AppSwitcherTriggerRoot,
3911
3983
  __spreadProps(__spreadValues({}, props), {
3912
3984
  ref,
@@ -3918,7 +3990,7 @@ var AppSwitcherTrigger = React14.forwardRef(
3918
3990
  "aria-controls": open ? popoverId : void 0,
3919
3991
  "aria-haspopup": "true",
3920
3992
  "aria-expanded": open,
3921
- children: /* @__PURE__ */ jsx36("span", { "aria-hidden": "true", style: { display: "inline-flex" }, children: icon || /* @__PURE__ */ jsx36(Grip, { size: 24 }) })
3993
+ children: /* @__PURE__ */ jsx37("span", { "aria-hidden": "true", style: { display: "inline-flex" }, children: icon || /* @__PURE__ */ jsx37(Grip, { size: 24 }) })
3922
3994
  })
3923
3995
  ) });
3924
3996
  }
@@ -3926,157 +3998,64 @@ var AppSwitcherTrigger = React14.forwardRef(
3926
3998
  AppSwitcherTrigger.displayName = "AppSwitcher.Trigger";
3927
3999
 
3928
4000
  // src/components/AppSwitcher/AppSwitcherSection.tsx
3929
- import * as React15 from "react";
3930
- import Box13 from "@mui/material/Box";
3931
- import Typography8 from "@mui/material/Typography";
3932
- import { styled as styled24 } from "@mui/material/styles";
3933
- import { jsx as jsx37, jsxs as jsxs11 } from "react/jsx-runtime";
3934
- var AppSwitcherSectionRoot = styled24(Box13, {
3935
- name: "MuiAppSwitcher",
3936
- slot: "Section"
3937
- })(({ theme }) => ({
3938
- padding: theme.spacing(2)
3939
- }));
3940
- var AppSwitcherSectionLabel = styled24(Typography8, {
3941
- name: "MuiAppSwitcher",
3942
- slot: "SectionLabel"
3943
- })(({ theme }) => ({
3944
- color: (theme.vars || theme).palette.text.secondary,
3945
- fontSize: theme.typography.caption.fontSize,
3946
- fontWeight: theme.typography.fontWeightBold,
3947
- // Wide tracking so the headings read as quiet labels rather than as titles.
3948
- letterSpacing: "0.1em",
3949
- textTransform: "uppercase",
3950
- marginBottom: theme.spacing(1.5)
3951
- }));
3952
- var AppSwitcherSectionGrid = styled24("ul", {
3953
- name: "MuiAppSwitcher",
3954
- slot: "SectionGrid",
3955
- shouldForwardProp: (prop) => prop !== "ownerState"
3956
- })(({ theme, ownerState }) => ({
3957
- display: "grid",
3958
- gap: theme.spacing(1.5),
3959
- gridTemplateColumns: "1fr",
3960
- listStyle: "none",
3961
- margin: 0,
3962
- padding: 0,
3963
- [theme.breakpoints.up("sm")]: {
3964
- gridTemplateColumns: `repeat(${ownerState.columns}, minmax(0, 1fr))`
3965
- },
3966
- "& > li": {
3967
- display: "contents"
3968
- }
3969
- }));
3970
- var AppSwitcherSection = ({
3971
- children,
3972
- label,
3973
- columns = 3
3974
- }) => {
3975
- const labelId = React15.useId();
3976
- const gridRef = React15.useRef(null);
3977
- const handleKeyDown = (event) => {
3978
- var _a, _b;
3979
- const keys = ["ArrowRight", "ArrowLeft", "ArrowDown", "ArrowUp", "Home", "End"];
3980
- if (!keys.includes(event.key)) {
3981
- return;
3982
- }
3983
- const cards = Array.from(
3984
- (_b = (_a = gridRef.current) == null ? void 0 : _a.querySelectorAll("[data-app-switcher-app]")) != null ? _b : []
3985
- );
3986
- if (cards.length === 0) {
3987
- return;
3988
- }
3989
- const currentIndex = cards.indexOf(document.activeElement);
3990
- if (currentIndex === -1) {
3991
- return;
3992
- }
3993
- const firstTop = cards[0].getBoundingClientRect().top;
3994
- const perRow = Math.max(
3995
- 1,
3996
- cards.filter((card) => card.getBoundingClientRect().top === firstTop).length
3997
- );
3998
- let nextIndex = currentIndex;
3999
- switch (event.key) {
4000
- case "ArrowRight":
4001
- nextIndex = currentIndex + 1;
4002
- break;
4003
- case "ArrowLeft":
4004
- nextIndex = currentIndex - 1;
4005
- break;
4006
- case "ArrowDown":
4007
- nextIndex = currentIndex + perRow;
4008
- break;
4009
- case "ArrowUp":
4010
- nextIndex = currentIndex - perRow;
4011
- break;
4012
- case "Home":
4013
- nextIndex = 0;
4014
- break;
4015
- case "End":
4016
- nextIndex = cards.length - 1;
4017
- break;
4018
- default:
4019
- break;
4020
- }
4021
- if (nextIndex < 0 || nextIndex >= cards.length) {
4022
- return;
4023
- }
4024
- event.preventDefault();
4025
- cards[nextIndex].focus();
4026
- };
4027
- return /* @__PURE__ */ jsxs11(AppSwitcherSectionRoot, { children: [
4028
- label && /* @__PURE__ */ jsx37(AppSwitcherSectionLabel, { id: labelId, children: label }),
4029
- /* @__PURE__ */ jsx37(
4030
- AppSwitcherSectionGrid,
4031
- {
4032
- ref: gridRef,
4033
- ownerState: { columns },
4034
- role: "list",
4035
- "aria-labelledby": label ? labelId : void 0,
4036
- onKeyDown: handleKeyDown,
4037
- children: React15.Children.map(
4038
- children,
4039
- (child) => React15.isValidElement(child) ? /* @__PURE__ */ jsx37("li", { children: child }) : child
4040
- )
4041
- }
4042
- )
4043
- ] });
4044
- };
4045
- AppSwitcherSection.displayName = "AppSwitcher.Section";
4001
+ import * as React16 from "react";
4002
+ import Box15 from "@mui/material/Box";
4003
+ import Skeleton from "@mui/material/Skeleton";
4004
+ import Typography10 from "@mui/material/Typography";
4005
+ import { styled as styled25 } from "@mui/material/styles";
4046
4006
 
4047
4007
  // src/components/AppSwitcher/AppSwitcherApp.tsx
4048
- import * as React16 from "react";
4008
+ import * as React15 from "react";
4049
4009
  import Box14 from "@mui/material/Box";
4050
4010
  import Card2 from "@mui/material/Card";
4051
4011
  import ButtonBase2 from "@mui/material/ButtonBase";
4052
- import Tooltip4 from "@mui/material/Tooltip";
4012
+ import CircularProgress from "@mui/material/CircularProgress";
4013
+ import Tooltip5 from "@mui/material/Tooltip";
4053
4014
  import Typography9 from "@mui/material/Typography";
4054
- import { styled as styled25 } from "@mui/material/styles";
4015
+ import { styled as styled24 } from "@mui/material/styles";
4055
4016
 
4056
4017
  // src/components/AppSwitcher/brand.ts
4057
4018
  var APP_SWITCHER_BRAND = {
4058
4019
  /** Full-strength WSO2 orange. Decorative surfaces only. */
4059
4020
  main: "#FF7300",
4060
4021
  /**
4061
- * Darker orange reserved for the focus ring, where 3:1 against the card
4062
- * surface is required. Do not swap it back to `main`.
4022
+ * Darker orange reserved for the focus ring and the current app's border,
4023
+ * where 3:1 against the card surface is required. Do not swap it back to
4024
+ * `main`.
4063
4025
  */
4064
4026
  focus: "#E56800",
4065
4027
  /** Faded orange for the mark of a platform that is not yet available. */
4066
4028
  surfaceMark: "#FFC199"
4067
4029
  };
4068
4030
 
4031
+ // src/components/AppSwitcher/url.ts
4032
+ var SAFE_PROTOCOLS = /* @__PURE__ */ new Set(["http:", "https:"]);
4033
+ var RELATIVE_BASE = "http://relative.invalid";
4034
+ var isSafeAppUrl = (url) => {
4035
+ try {
4036
+ return SAFE_PROTOCOLS.has(new URL(url, RELATIVE_BASE).protocol);
4037
+ } catch (e) {
4038
+ return false;
4039
+ }
4040
+ };
4041
+
4069
4042
  // src/components/AppSwitcher/AppSwitcherApp.tsx
4070
4043
  import { WSO2 } from "@wso2/oxygen-ui-icons-react";
4071
4044
  import { jsx as jsx38, jsxs as jsxs12 } from "react/jsx-runtime";
4072
- var AppSwitcherAppRoot = styled25(Card2, {
4045
+ var DEFAULT_UNAVAILABLE_LABEL = "Coming soon";
4046
+ var APP_CARD_HEIGHT = {
4047
+ platform: 13,
4048
+ manage: 9
4049
+ };
4050
+ var AppSwitcherAppRoot = styled24(Card2, {
4073
4051
  name: "MuiAppSwitcher",
4074
4052
  slot: "App",
4075
4053
  shouldForwardProp: (prop) => prop !== "ownerState"
4076
4054
  })(({ theme, ownerState }) => {
4077
4055
  const accent = APP_SWITCHER_BRAND.main;
4078
4056
  const manage = ownerState.tone === "manage";
4079
- return __spreadProps(__spreadValues({
4057
+ const interactive = !ownerState.disabled && !ownerState.busy;
4058
+ return __spreadProps(__spreadValues(__spreadValues(__spreadValues({
4080
4059
  display: "flex",
4081
4060
  flexDirection: "column",
4082
4061
  alignItems: "center",
@@ -4089,7 +4068,7 @@ var AppSwitcherAppRoot = styled25(Card2, {
4089
4068
  // A fixed height rather than a floor, so every card in the switcher is the
4090
4069
  // same size whether its name runs to one line or two. The name itself is
4091
4070
  // clamped to two lines, so nothing can outgrow the box.
4092
- height: theme.spacing(manage ? 9 : 13),
4071
+ height: theme.spacing(APP_CARD_HEIGHT[ownerState.tone]),
4093
4072
  padding: manage ? theme.spacing(1, 1) : theme.spacing(1.25, 1),
4094
4073
  textAlign: "center",
4095
4074
  // A navigable card renders as an `<a>`, which underlines its text by
@@ -4110,9 +4089,16 @@ var AppSwitcherAppRoot = styled25(Card2, {
4110
4089
  borderColor: (theme.vars || theme).palette.divider,
4111
4090
  backgroundColor: (theme.vars || theme).palette.action.hover
4112
4091
  }
4092
+ }), ownerState.current && {
4093
+ "&.MuiCard-root": {
4094
+ borderColor: APP_SWITCHER_BRAND.focus
4095
+ }
4096
+ }), ownerState.busy && {
4097
+ cursor: "progress"
4113
4098
  }), {
4114
- "&:hover": __spreadValues({}, !ownerState.disabled && {
4115
- borderColor: accent,
4099
+ "&:hover": __spreadValues({}, interactive && {
4100
+ // Keep the current border on hover; `accent` would lower its contrast.
4101
+ borderColor: ownerState.current ? APP_SWITCHER_BRAND.focus : accent,
4116
4102
  boxShadow: theme.shadows[2],
4117
4103
  transform: "translateY(-2px)"
4118
4104
  }),
@@ -4133,7 +4119,7 @@ var AppSwitcherAppRoot = styled25(Card2, {
4133
4119
  }
4134
4120
  });
4135
4121
  });
4136
- var AppSwitcherAppIcon = styled25(Box14, {
4122
+ var AppSwitcherAppIcon = styled24(Box14, {
4137
4123
  name: "MuiAppSwitcher",
4138
4124
  slot: "AppIcon",
4139
4125
  shouldForwardProp: (prop) => prop !== "ownerState"
@@ -4161,7 +4147,7 @@ var AppSwitcherAppIcon = styled25(Box14, {
4161
4147
  }
4162
4148
  });
4163
4149
  });
4164
- var AppSwitcherAppName = styled25(Typography9, {
4150
+ var AppSwitcherAppName = styled24(Typography9, {
4165
4151
  name: "MuiAppSwitcher",
4166
4152
  slot: "AppName",
4167
4153
  shouldForwardProp: (prop) => prop !== "ownerState"
@@ -4185,36 +4171,62 @@ var AppSwitcherAppName = styled25(Typography9, {
4185
4171
  WebkitLineClamp: ownerState.tone === "manage" ? 1 : 2,
4186
4172
  overflow: "hidden"
4187
4173
  }));
4188
- var AppSwitcherApp = React16.forwardRef(
4174
+ var isModifiedClick = (event) => event.button !== 0 || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey;
4175
+ var AppSwitcherApp = React15.forwardRef(
4189
4176
  function AppSwitcherApp2({
4177
+ id,
4190
4178
  name,
4191
4179
  url,
4192
4180
  icon,
4193
4181
  tone: toneProp,
4194
- disabled = false,
4195
- tooltip,
4182
+ disabled: disabledProp = false,
4183
+ tooltip: tooltipProp,
4196
4184
  component,
4197
4185
  componentProps,
4198
- target = "_blank",
4186
+ target: targetProp,
4187
+ current: currentProp,
4188
+ busy = false,
4199
4189
  onClick
4200
4190
  }, ref) {
4201
- const inFooter = React16.useContext(AppSwitcherFooterContext);
4191
+ var _a;
4192
+ const inFooter = React15.useContext(AppSwitcherFooterContext);
4202
4193
  const tone = toneProp != null ? toneProp : inFooter ? "manage" : "platform";
4194
+ const switcher = React15.useContext(AppSwitcherContext);
4195
+ const current = currentProp != null ? currentProp : id !== void 0 && id === (switcher == null ? void 0 : switcher.currentAppId);
4196
+ const normalizedUrl = typeof url === "string" && url.trim() === "" ? null : url;
4197
+ const unsafeUrl = Boolean(normalizedUrl) && !isSafeAppUrl(normalizedUrl);
4198
+ const safeUrl = unsafeUrl ? void 0 : normalizedUrl || void 0;
4199
+ React15.useEffect(() => {
4200
+ if (unsafeUrl) {
4201
+ console.warn(
4202
+ `AppSwitcher.App: ignored the url of "${name}" because only http:, https: and relative URLs are allowed. The card renders disabled.`
4203
+ );
4204
+ }
4205
+ }, [unsafeUrl, name]);
4206
+ const unavailable = normalizedUrl === null && !onClick && !component;
4207
+ const disabled = disabledProp || unavailable || unsafeUrl;
4208
+ const tooltip = tooltipProp != null ? tooltipProp : unavailable ? (_a = switcher == null ? void 0 : switcher.unavailableLabel) != null ? _a : DEFAULT_UNAVAILABLE_LABEL : void 0;
4209
+ const target = targetProp != null ? targetProp : current ? "_self" : "_blank";
4210
+ const effectiveTarget = typeof (componentProps == null ? void 0 : componentProps.target) === "string" ? componentProps.target : target;
4203
4211
  const handleClick = (event) => {
4204
- if (disabled) {
4212
+ if (disabled || busy) {
4205
4213
  event.preventDefault();
4206
4214
  return;
4207
4215
  }
4208
4216
  onClick == null ? void 0 : onClick(event);
4217
+ if (current && effectiveTarget !== "_blank" && !isModifiedClick(event)) {
4218
+ switcher == null ? void 0 : switcher.handleClose();
4219
+ }
4209
4220
  };
4210
- const ownerState = { disabled, tone };
4211
- const renderAsLink = Boolean(url) && !disabled;
4212
- const effectiveTarget = typeof (componentProps == null ? void 0 : componentProps.target) === "string" ? componentProps.target : target;
4213
- const linkProps = __spreadValues(__spreadValues({}, url && { href: url }), effectiveTarget && { target: effectiveTarget });
4221
+ const ownerState = { disabled, tone, current, busy };
4222
+ const markSize = tone === "manage" ? 16 : 32;
4223
+ const canNavigate = !disabled && !busy;
4224
+ const renderAsLink = Boolean(safeUrl) && canNavigate;
4225
+ const linkProps = __spreadValues(__spreadValues({}, safeUrl && { href: safeUrl }), effectiveTarget && { target: effectiveTarget });
4214
4226
  const relProps = effectiveTarget === "_blank" ? { rel: "noopener noreferrer" } : {};
4215
- const anchorProps = component && !disabled ? __spreadValues(__spreadValues(__spreadValues({ component }, componentProps), linkProps), relProps) : renderAsLink ? __spreadValues(__spreadValues({ component: "a" }, linkProps), relProps) : { component: ButtonBase2 };
4227
+ const anchorProps = component && canNavigate ? __spreadValues(__spreadValues(__spreadValues({ component }, componentProps), linkProps), relProps) : renderAsLink ? __spreadValues(__spreadValues({ component: "a" }, linkProps), relProps) : { component: ButtonBase2 };
4216
4228
  const handleKeyDown = (event) => {
4217
- if (disabled && (event.key === "Enter" || event.key === " ")) {
4229
+ if ((disabled || busy) && (event.key === "Enter" || event.key === " ")) {
4218
4230
  event.preventDefault();
4219
4231
  }
4220
4232
  };
@@ -4228,90 +4240,272 @@ var AppSwitcherApp = React16.forwardRef(
4228
4240
  onKeyDown: handleKeyDown,
4229
4241
  "data-app-switcher-app": "",
4230
4242
  "aria-disabled": disabled ? "true" : void 0,
4243
+ "aria-busy": busy ? "true" : void 0,
4244
+ "aria-current": current ? "page" : void 0,
4231
4245
  children: [
4232
- /* @__PURE__ */ jsx38(AppSwitcherAppIcon, { ownerState, "aria-hidden": "true", children: icon != null ? icon : /* @__PURE__ */ jsx38(WSO2, { size: tone === "manage" ? 16 : 32 }) }),
4246
+ /* @__PURE__ */ jsx38(AppSwitcherAppIcon, { ownerState, "aria-hidden": "true", children: busy ? (
4247
+ // Same size as the mark, so the card does not reflow.
4248
+ /* @__PURE__ */ jsx38(CircularProgress, { color: "inherit", size: markSize, thickness: 5 })
4249
+ ) : icon != null ? icon : /* @__PURE__ */ jsx38(WSO2, { size: markSize }) }),
4233
4250
  /* @__PURE__ */ jsx38(AppSwitcherAppName, { ownerState, children: name })
4234
4251
  ]
4235
4252
  })
4236
4253
  );
4237
- return tooltip ? /* @__PURE__ */ jsx38(Tooltip4, { title: tooltip, describeChild: true, children: card }) : card;
4254
+ return tooltip ? /* @__PURE__ */ jsx38(Tooltip5, { title: tooltip, describeChild: true, children: card }) : card;
4238
4255
  }
4239
4256
  );
4240
4257
  AppSwitcherApp.displayName = "AppSwitcher.App";
4241
4258
 
4242
- // src/components/AppSwitcher/AppSwitcherFooter.tsx
4243
- import * as React17 from "react";
4244
- import Box15 from "@mui/material/Box";
4245
- import { alpha, styled as styled26 } from "@mui/material/styles";
4246
- import { jsx as jsx39 } from "react/jsx-runtime";
4247
- var AppSwitcherFooterRoot = styled26(Box15, {
4259
+ // src/components/AppSwitcher/AppSwitcherSection.tsx
4260
+ import { jsx as jsx39, jsxs as jsxs13 } from "react/jsx-runtime";
4261
+ var AppSwitcherSectionRoot = styled25(Box15, {
4248
4262
  name: "MuiAppSwitcher",
4249
- slot: "Footer"
4263
+ slot: "Section"
4250
4264
  })(({ theme }) => ({
4251
- borderTop: `1px solid ${(theme.vars || theme).palette.divider}`,
4252
- // A wash rather than a fill: the divider already separates the manage row, so
4253
- // the tint only needs to hint that it is a different kind of destination.
4254
- // `action.hover` at full strength reads as a grey block behind the cards.
4255
- backgroundColor: theme.vars ? `rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.02)` : alpha(theme.palette.text.primary, 0.02)
4265
+ padding: theme.spacing(2)
4256
4266
  }));
4257
- var AppSwitcherFooter = ({
4258
- children,
4259
- links,
4260
- label = "Manage",
4261
- columns = 3
4262
- }) => {
4263
- const cards = children != null ? children : links == null ? void 0 : links.map((_a) => {
4264
- var _b = _a, { key } = _b, link = __objRest(_b, ["key"]);
4265
- return /* @__PURE__ */ jsx39(AppSwitcherApp, __spreadValues({}, link), key);
4266
- });
4267
- if (React17.Children.toArray(cards).length === 0) {
4268
- return null;
4267
+ var AppSwitcherSectionLabel = styled25(Typography10, {
4268
+ name: "MuiAppSwitcher",
4269
+ slot: "SectionLabel"
4270
+ })(({ theme }) => ({
4271
+ color: (theme.vars || theme).palette.text.secondary,
4272
+ fontSize: theme.typography.caption.fontSize,
4273
+ fontWeight: theme.typography.fontWeightBold,
4274
+ // Wide tracking so the headings read as quiet labels rather than as titles.
4275
+ letterSpacing: "0.1em",
4276
+ textTransform: "uppercase",
4277
+ marginBottom: theme.spacing(1.5)
4278
+ }));
4279
+ var AppSwitcherSectionGrid = styled25("ul", {
4280
+ name: "MuiAppSwitcher",
4281
+ slot: "SectionGrid",
4282
+ shouldForwardProp: (prop) => prop !== "ownerState"
4283
+ })(({ theme, ownerState }) => ({
4284
+ display: "grid",
4285
+ gap: theme.spacing(1.5),
4286
+ gridTemplateColumns: "1fr",
4287
+ listStyle: "none",
4288
+ margin: 0,
4289
+ padding: 0,
4290
+ [theme.breakpoints.up("sm")]: {
4291
+ gridTemplateColumns: `repeat(${ownerState.columns}, minmax(0, 1fr))`
4292
+ },
4293
+ "& > li": {
4294
+ display: "contents"
4269
4295
  }
4270
- return /* @__PURE__ */ jsx39(AppSwitcherFooterRoot, { children: /* @__PURE__ */ jsx39(AppSwitcherFooterContext.Provider, { value: true, children: /* @__PURE__ */ jsx39(AppSwitcherSection, { label, columns, children: cards }) }) });
4271
- };
4272
- AppSwitcherFooter.displayName = "AppSwitcher.Footer";
4273
-
4274
- // src/components/AppSwitcher/AppSwitcher.tsx
4275
- import { jsx as jsx40, jsxs as jsxs13 } from "react/jsx-runtime";
4276
- var AppSwitcherRoot = styled27(Popover2, {
4296
+ }));
4297
+ var AppSwitcherAppSkeleton = styled25(Skeleton, {
4277
4298
  name: "MuiAppSwitcher",
4278
- slot: "Root",
4299
+ slot: "AppSkeleton",
4279
4300
  shouldForwardProp: (prop) => prop !== "ownerState"
4280
4301
  })(({ theme, ownerState }) => ({
4281
- "& .MuiPopover-paper": {
4282
- width: `calc(100vw - ${theme.spacing(4)})`,
4283
- maxWidth: "100%",
4284
- marginTop: theme.spacing(1),
4285
- overflow: "hidden",
4286
- [theme.breakpoints.up("sm")]: {
4287
- width: ownerState.width
4288
- }
4302
+ width: "100%",
4303
+ height: theme.spacing(APP_CARD_HEIGHT[ownerState.tone]),
4304
+ // The pulse is decoration; the placeholder alone signals loading.
4305
+ "@media (prefers-reduced-motion: reduce)": {
4306
+ animation: "none"
4289
4307
  }
4290
4308
  }));
4291
- var AppSwitcher = ({ children, width = 460, "aria-label": ariaLabelProp, sx }) => {
4292
- const [anchorEl, setAnchorEl] = React18.useState(null);
4293
- const open = Boolean(anchorEl);
4294
- const popoverId = React18.useId();
4295
- const handleOpen = React18.useCallback((event) => {
4296
- const target = event.currentTarget;
4297
- setAnchorEl((current) => current ? null : target);
4309
+ var renderAppItems = (items, { missingUrlIsUnavailable }) => items.map((_a, index) => {
4310
+ var _b = _a, { key, url } = _b, item = __objRest(_b, ["key", "url"]);
4311
+ var _a2, _b2;
4312
+ return /* @__PURE__ */ jsx39(
4313
+ AppSwitcherApp,
4314
+ __spreadProps(__spreadValues({}, item), {
4315
+ url: url === void 0 && missingUrlIsUnavailable ? null : url
4316
+ }),
4317
+ (_b2 = (_a2 = item.id) != null ? _a2 : key) != null ? _b2 : index
4318
+ );
4319
+ });
4320
+ var AppSwitcherSection = ({
4321
+ children,
4322
+ apps,
4323
+ label,
4324
+ columns = 3,
4325
+ loading = false,
4326
+ loadingCount
4327
+ }) => {
4328
+ const labelId = React16.useId();
4329
+ const inFooter = React16.useContext(AppSwitcherFooterContext);
4330
+ const tone = inFooter ? "manage" : "platform";
4331
+ const gridRef = React16.useRef(null);
4332
+ const handleKeyDown = (event) => {
4333
+ var _a, _b;
4334
+ const keys = ["ArrowRight", "ArrowLeft", "ArrowDown", "ArrowUp", "Home", "End"];
4335
+ if (!keys.includes(event.key)) {
4336
+ return;
4337
+ }
4338
+ const cards = Array.from(
4339
+ (_b = (_a = gridRef.current) == null ? void 0 : _a.querySelectorAll("[data-app-switcher-app]")) != null ? _b : []
4340
+ );
4341
+ if (cards.length === 0) {
4342
+ return;
4343
+ }
4344
+ const currentIndex = cards.indexOf(document.activeElement);
4345
+ if (currentIndex === -1) {
4346
+ return;
4347
+ }
4348
+ const firstTop = cards[0].getBoundingClientRect().top;
4349
+ const perRow = Math.max(
4350
+ 1,
4351
+ cards.filter((card) => card.getBoundingClientRect().top === firstTop).length
4352
+ );
4353
+ let nextIndex = currentIndex;
4354
+ switch (event.key) {
4355
+ case "ArrowRight":
4356
+ nextIndex = currentIndex + 1;
4357
+ break;
4358
+ case "ArrowLeft":
4359
+ nextIndex = currentIndex - 1;
4360
+ break;
4361
+ case "ArrowDown":
4362
+ nextIndex = currentIndex + perRow;
4363
+ break;
4364
+ case "ArrowUp":
4365
+ nextIndex = currentIndex - perRow;
4366
+ break;
4367
+ case "Home":
4368
+ nextIndex = 0;
4369
+ break;
4370
+ case "End":
4371
+ nextIndex = cards.length - 1;
4372
+ break;
4373
+ default:
4374
+ break;
4375
+ }
4376
+ if (nextIndex < 0 || nextIndex >= cards.length) {
4377
+ return;
4378
+ }
4379
+ event.preventDefault();
4380
+ cards[nextIndex].focus();
4381
+ };
4382
+ const content = loading ? Array.from({ length: loadingCount != null ? loadingCount : columns }, (_, index) => /* @__PURE__ */ jsx39(
4383
+ AppSwitcherAppSkeleton,
4384
+ {
4385
+ ownerState: { tone },
4386
+ variant: "rounded",
4387
+ "aria-hidden": "true",
4388
+ "data-app-switcher-skeleton": ""
4389
+ },
4390
+ index
4391
+ )) : children != null ? children : apps && renderAppItems(apps, { missingUrlIsUnavailable: true });
4392
+ return /* @__PURE__ */ jsxs13(AppSwitcherSectionRoot, { children: [
4393
+ label && /* @__PURE__ */ jsx39(AppSwitcherSectionLabel, { id: labelId, children: label }),
4394
+ /* @__PURE__ */ jsx39(
4395
+ AppSwitcherSectionGrid,
4396
+ {
4397
+ ref: gridRef,
4398
+ ownerState: { columns },
4399
+ role: "list",
4400
+ "aria-labelledby": label ? labelId : void 0,
4401
+ "aria-busy": loading ? "true" : void 0,
4402
+ onKeyDown: handleKeyDown,
4403
+ children: React16.Children.map(
4404
+ content,
4405
+ (child) => React16.isValidElement(child) ? /* @__PURE__ */ jsx39("li", { children: child }) : child
4406
+ )
4407
+ }
4408
+ )
4409
+ ] });
4410
+ };
4411
+ AppSwitcherSection.displayName = "AppSwitcher.Section";
4412
+
4413
+ // src/components/AppSwitcher/AppSwitcherFooter.tsx
4414
+ import * as React17 from "react";
4415
+ import Box16 from "@mui/material/Box";
4416
+ import { alpha, styled as styled26 } from "@mui/material/styles";
4417
+ import { jsx as jsx40 } from "react/jsx-runtime";
4418
+ var AppSwitcherFooterRoot = styled26(Box16, {
4419
+ name: "MuiAppSwitcher",
4420
+ slot: "Footer"
4421
+ })(({ theme }) => ({
4422
+ borderTop: `1px solid ${(theme.vars || theme).palette.divider}`,
4423
+ // A wash rather than a fill: the divider already separates the manage row, so
4424
+ // the tint only needs to hint that it is a different kind of destination.
4425
+ // `action.hover` at full strength reads as a grey block behind the cards.
4426
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.02)` : alpha(theme.palette.text.primary, 0.02)
4427
+ }));
4428
+ var AppSwitcherFooter = ({
4429
+ children,
4430
+ links,
4431
+ label = "Manage",
4432
+ columns = 3,
4433
+ loading = false,
4434
+ loadingCount
4435
+ }) => {
4436
+ const cards = children != null ? children : links && renderAppItems(links, { missingUrlIsUnavailable: false });
4437
+ if (!loading && React17.Children.toArray(cards).length === 0) {
4438
+ return null;
4439
+ }
4440
+ return /* @__PURE__ */ jsx40(AppSwitcherFooterRoot, { children: /* @__PURE__ */ jsx40(AppSwitcherFooterContext.Provider, { value: true, children: /* @__PURE__ */ jsx40(
4441
+ AppSwitcherSection,
4442
+ {
4443
+ label,
4444
+ columns,
4445
+ loading,
4446
+ loadingCount,
4447
+ children: cards
4448
+ }
4449
+ ) }) });
4450
+ };
4451
+ AppSwitcherFooter.displayName = "AppSwitcher.Footer";
4452
+
4453
+ // src/components/AppSwitcher/AppSwitcher.tsx
4454
+ import { jsx as jsx41, jsxs as jsxs14 } from "react/jsx-runtime";
4455
+ var AppSwitcherRoot = styled27(Popover2, {
4456
+ name: "MuiAppSwitcher",
4457
+ slot: "Root",
4458
+ shouldForwardProp: (prop) => prop !== "ownerState"
4459
+ })(({ theme, ownerState }) => ({
4460
+ "& .MuiPopover-paper": {
4461
+ width: `calc(100vw - ${theme.spacing(4)})`,
4462
+ maxWidth: "100%",
4463
+ marginTop: theme.spacing(1),
4464
+ overflow: "hidden",
4465
+ [theme.breakpoints.up("sm")]: {
4466
+ width: ownerState.width
4467
+ }
4468
+ }
4469
+ }));
4470
+ var AppSwitcher = ({
4471
+ children,
4472
+ width = 460,
4473
+ "aria-label": ariaLabelProp,
4474
+ sx,
4475
+ currentAppId,
4476
+ unavailableLabel
4477
+ }) => {
4478
+ const [anchorEl, setAnchorEl] = React18.useState(null);
4479
+ const open = Boolean(anchorEl);
4480
+ const popoverId = React18.useId();
4481
+ const handleOpen = React18.useCallback((event) => {
4482
+ const target = event.currentTarget;
4483
+ setAnchorEl((current) => current ? null : target);
4298
4484
  }, []);
4299
4485
  const handleClose = React18.useCallback(() => {
4300
4486
  setAnchorEl(null);
4301
4487
  }, []);
4302
4488
  const ariaLabel = typeof ariaLabelProp === "string" && ariaLabelProp.trim().length > 0 ? ariaLabelProp : "Applications";
4303
4489
  const contextValue = React18.useMemo(
4304
- () => ({ open, anchorEl, popoverId, handleOpen, handleClose }),
4305
- [open, anchorEl, popoverId, handleOpen, handleClose]
4490
+ () => ({
4491
+ open,
4492
+ anchorEl,
4493
+ popoverId,
4494
+ handleOpen,
4495
+ handleClose,
4496
+ currentAppId,
4497
+ unavailableLabel
4498
+ }),
4499
+ [open, anchorEl, popoverId, handleOpen, handleClose, currentAppId, unavailableLabel]
4306
4500
  );
4307
4501
  const childrenArray = React18.Children.toArray(children);
4308
4502
  const triggerChild = childrenArray.find(
4309
4503
  (child) => React18.isValidElement(child) && child.type === AppSwitcherTrigger
4310
4504
  );
4311
4505
  const popoverChildren = childrenArray.filter((child) => child !== triggerChild);
4312
- return /* @__PURE__ */ jsxs13(AppSwitcherContext.Provider, { value: contextValue, children: [
4506
+ return /* @__PURE__ */ jsxs14(AppSwitcherContext.Provider, { value: contextValue, children: [
4313
4507
  triggerChild,
4314
- /* @__PURE__ */ jsx40(
4508
+ /* @__PURE__ */ jsx41(
4315
4509
  AppSwitcherRoot,
4316
4510
  {
4317
4511
  id: popoverId,
@@ -4336,7 +4530,7 @@ AppSwitcher.displayName = "AppSwitcher";
4336
4530
 
4337
4531
  // src/components/Sidebar/Sidebar.tsx
4338
4532
  import * as React26 from "react";
4339
- import Box21 from "@mui/material/Box";
4533
+ import Box22 from "@mui/material/Box";
4340
4534
  import { styled as styled40 } from "@mui/material/styles";
4341
4535
 
4342
4536
  // src/components/Sidebar/context.ts
@@ -4352,11 +4546,11 @@ var useSidebar = () => {
4352
4546
 
4353
4547
  // src/components/Sidebar/SidebarNav.tsx
4354
4548
  import * as React20 from "react";
4355
- import Box16 from "@mui/material/Box";
4549
+ import Box17 from "@mui/material/Box";
4356
4550
  import Divider3 from "@mui/material/Divider";
4357
4551
  import { styled as styled28 } from "@mui/material/styles";
4358
- import { jsx as jsx41, jsxs as jsxs14 } from "react/jsx-runtime";
4359
- var SidebarNavRoot = styled28(Box16, {
4552
+ import { jsx as jsx42, jsxs as jsxs15 } from "react/jsx-runtime";
4553
+ var SidebarNavRoot = styled28(Box17, {
4360
4554
  name: "MuiSidebar",
4361
4555
  slot: "Nav"
4362
4556
  })(({ theme }) => ({
@@ -4392,23 +4586,23 @@ var SidebarNav = ({
4392
4586
  }) => {
4393
4587
  const { collapsed } = useSidebar();
4394
4588
  const childArray = React20.Children.toArray(children);
4395
- return /* @__PURE__ */ jsx41(SidebarNavRoot, { component: "nav", sx, children: childArray.map((child, index) => /* @__PURE__ */ jsxs14(React20.Fragment, { children: [
4396
- index > 0 && showDividers && !collapsed && /* @__PURE__ */ jsx41(SidebarNavDivider, {}),
4589
+ return /* @__PURE__ */ jsx42(SidebarNavRoot, { component: "nav", sx, children: childArray.map((child, index) => /* @__PURE__ */ jsxs15(React20.Fragment, { children: [
4590
+ index > 0 && showDividers && !collapsed && /* @__PURE__ */ jsx42(SidebarNavDivider, {}),
4397
4591
  child
4398
4592
  ] }, index)) });
4399
4593
  };
4400
4594
 
4401
4595
  // src/components/Sidebar/SidebarCategory.tsx
4402
4596
  import * as React21 from "react";
4403
- import Box17 from "@mui/material/Box";
4597
+ import Box18 from "@mui/material/Box";
4404
4598
  import List from "@mui/material/List";
4405
4599
  import { styled as styled30 } from "@mui/material/styles";
4406
4600
 
4407
4601
  // src/components/Sidebar/SidebarCategoryLabel.tsx
4408
- import Typography10 from "@mui/material/Typography";
4602
+ import Typography11 from "@mui/material/Typography";
4409
4603
  import { styled as styled29 } from "@mui/material/styles";
4410
- import { jsx as jsx42 } from "react/jsx-runtime";
4411
- var SidebarCategoryLabelRoot = styled29(Typography10, {
4604
+ import { jsx as jsx43 } from "react/jsx-runtime";
4605
+ var SidebarCategoryLabelRoot = styled29(Typography11, {
4412
4606
  name: "MuiSidebar",
4413
4607
  slot: "CategoryLabel",
4414
4608
  shouldForwardProp: (prop) => prop !== "collapsed"
@@ -4433,13 +4627,13 @@ var SidebarCategoryLabelRoot = styled29(Typography10, {
4433
4627
  }));
4434
4628
  var SidebarCategoryLabel = ({ children, sx }) => {
4435
4629
  const { collapsed } = useSidebar();
4436
- return /* @__PURE__ */ jsx42(SidebarCategoryLabelRoot, { variant: "caption", collapsed, sx, children });
4630
+ return /* @__PURE__ */ jsx43(SidebarCategoryLabelRoot, { variant: "caption", collapsed, sx, children });
4437
4631
  };
4438
4632
  SidebarCategoryLabel.displayName = "SidebarCategoryLabel";
4439
4633
 
4440
4634
  // src/components/Sidebar/SidebarCategory.tsx
4441
- import { jsx as jsx43, jsxs as jsxs15 } from "react/jsx-runtime";
4442
- var SidebarCategoryRoot = styled30(Box17, {
4635
+ import { jsx as jsx44, jsxs as jsxs16 } from "react/jsx-runtime";
4636
+ var SidebarCategoryRoot = styled30(Box18, {
4443
4637
  name: "MuiSidebar",
4444
4638
  slot: "Category"
4445
4639
  })(({ theme }) => ({
@@ -4468,16 +4662,16 @@ var SidebarCategory = ({
4468
4662
  sx
4469
4663
  }) => {
4470
4664
  const { labelChild, otherChildren } = separateChildren(children);
4471
- return /* @__PURE__ */ jsxs15(SidebarCategoryRoot, { sx, children: [
4665
+ return /* @__PURE__ */ jsxs16(SidebarCategoryRoot, { sx, children: [
4472
4666
  labelChild,
4473
- /* @__PURE__ */ jsx43(List, { disablePadding: true, children: otherChildren })
4667
+ /* @__PURE__ */ jsx44(List, { disablePadding: true, children: otherChildren })
4474
4668
  ] });
4475
4669
  };
4476
4670
  SidebarCategory.displayName = "SidebarCategory";
4477
4671
 
4478
4672
  // src/components/Sidebar/SidebarItem.tsx
4479
4673
  import * as React24 from "react";
4480
- import Box18 from "@mui/material/Box";
4674
+ import Box19 from "@mui/material/Box";
4481
4675
  import List2 from "@mui/material/List";
4482
4676
  import ListItem from "@mui/material/ListItem";
4483
4677
  import ListItemButton from "@mui/material/ListItemButton";
@@ -4486,14 +4680,14 @@ import ListItemText2 from "@mui/material/ListItemText";
4486
4680
  import MenuItem4 from "@mui/material/MenuItem";
4487
4681
  import MenuList from "@mui/material/MenuList";
4488
4682
  import Collapse from "@mui/material/Collapse";
4489
- import Tooltip5 from "@mui/material/Tooltip";
4683
+ import Tooltip6 from "@mui/material/Tooltip";
4490
4684
  import Popover3 from "@mui/material/Popover";
4491
4685
  import { styled as styled34 } from "@mui/material/styles";
4492
4686
  import { ChevronDown as ChevronDown2, ChevronUp } from "@wso2/oxygen-ui-icons-react";
4493
4687
 
4494
4688
  // src/components/Sidebar/SidebarItemContext.tsx
4495
4689
  import * as React22 from "react";
4496
- import { jsx as jsx44 } from "react/jsx-runtime";
4690
+ import { jsx as jsx45 } from "react/jsx-runtime";
4497
4691
  var SidebarItemContext = React22.createContext(null);
4498
4692
  var useSidebarItemContext = () => {
4499
4693
  const context = React22.useContext(SidebarItemContext);
@@ -4505,14 +4699,14 @@ var useSidebarItemContext = () => {
4505
4699
  return context;
4506
4700
  };
4507
4701
  var SidebarItemProvider = ({ value, children }) => {
4508
- return /* @__PURE__ */ jsx44(SidebarItemContext.Provider, { value, children });
4702
+ return /* @__PURE__ */ jsx45(SidebarItemContext.Provider, { value, children });
4509
4703
  };
4510
4704
 
4511
4705
  // src/components/Sidebar/SidebarItemIcon.tsx
4512
4706
  import * as React23 from "react";
4513
4707
  import ListItemIcon from "@mui/material/ListItemIcon";
4514
4708
  import { styled as styled31 } from "@mui/material/styles";
4515
- import { jsx as jsx45 } from "react/jsx-runtime";
4709
+ import { jsx as jsx46 } from "react/jsx-runtime";
4516
4710
  var SidebarItemIconRoot = styled31(ListItemIcon, {
4517
4711
  name: "MuiSidebar",
4518
4712
  slot: "ItemIcon",
@@ -4533,7 +4727,7 @@ var SidebarItemIcon = ({
4533
4727
  const iconWithSize = React23.isValidElement(children) ? React23.cloneElement(children, __spreadProps(__spreadValues({}, children.props), {
4534
4728
  size: (_a = children.props.size) != null ? _a : 20
4535
4729
  })) : children;
4536
- return /* @__PURE__ */ jsx45(
4730
+ return /* @__PURE__ */ jsx46(
4537
4731
  SidebarItemIconRoot,
4538
4732
  {
4539
4733
  ownerState: { collapsed, isActive },
@@ -4547,7 +4741,7 @@ SidebarItemIcon.displayName = "SidebarItemIcon";
4547
4741
  // src/components/Sidebar/SidebarItemLabel.tsx
4548
4742
  import ListItemText from "@mui/material/ListItemText";
4549
4743
  import { styled as styled32 } from "@mui/material/styles";
4550
- import { jsx as jsx46 } from "react/jsx-runtime";
4744
+ import { jsx as jsx47 } from "react/jsx-runtime";
4551
4745
  var SidebarItemLabelRoot = styled32(ListItemText, {
4552
4746
  name: "MuiSidebar",
4553
4747
  slot: "ItemLabel",
@@ -4573,14 +4767,14 @@ var SidebarItemLabel = ({
4573
4767
  }) => {
4574
4768
  const { collapsed } = useSidebar();
4575
4769
  const { isActive } = useSidebarItemContext();
4576
- return /* @__PURE__ */ jsx46(SidebarItemLabelRoot, { primary: children, ownerState: { isActive, collapsed }, sx });
4770
+ return /* @__PURE__ */ jsx47(SidebarItemLabelRoot, { primary: children, ownerState: { isActive, collapsed }, sx });
4577
4771
  };
4578
4772
  SidebarItemLabel.displayName = "SidebarItemLabel";
4579
4773
 
4580
4774
  // src/components/Sidebar/SidebarItemBadge.tsx
4581
4775
  import Chip from "@mui/material/Chip";
4582
4776
  import { styled as styled33 } from "@mui/material/styles";
4583
- import { jsx as jsx47 } from "react/jsx-runtime";
4777
+ import { jsx as jsx48 } from "react/jsx-runtime";
4584
4778
  var SidebarItemBadgeRoot = styled33(Chip, {
4585
4779
  name: "MuiSidebar",
4586
4780
  slot: "ItemBadge"
@@ -4598,12 +4792,12 @@ var SidebarItemBadge = ({
4598
4792
  if (collapsed) {
4599
4793
  return null;
4600
4794
  }
4601
- return /* @__PURE__ */ jsx47(SidebarItemBadgeRoot, { label: children, size: "small", color, sx });
4795
+ return /* @__PURE__ */ jsx48(SidebarItemBadgeRoot, { label: children, size: "small", color, sx });
4602
4796
  };
4603
4797
  SidebarItemBadge.displayName = "SidebarItemBadge";
4604
4798
 
4605
4799
  // src/components/Sidebar/SidebarItem.tsx
4606
- import { Fragment as Fragment5, jsx as jsx48, jsxs as jsxs16 } from "react/jsx-runtime";
4800
+ import { Fragment as Fragment6, jsx as jsx49, jsxs as jsxs17 } from "react/jsx-runtime";
4607
4801
  var SidebarItemRoot = styled34(ListItem, {
4608
4802
  name: "MuiSidebar",
4609
4803
  slot: "Item"
@@ -4635,7 +4829,7 @@ var SidebarItemButton = styled34(ListItemButton, {
4635
4829
  }
4636
4830
  }
4637
4831
  }));
4638
- var SidebarItemChevron = styled34(Box18, {
4832
+ var SidebarItemChevron = styled34(Box19, {
4639
4833
  name: "MuiSidebar",
4640
4834
  slot: "ItemChevron"
4641
4835
  })({
@@ -4815,7 +5009,7 @@ var SidebarItem = ({
4815
5009
  const tooltipLabel = getTooltipLabel(children);
4816
5010
  const ownerState = { collapsed, depth };
4817
5011
  const shouldShowSelected = isActive && !hasNestedItems || collapsed && hasActiveChild;
4818
- const buttonContent = /* @__PURE__ */ jsx48(
5012
+ const buttonContent = /* @__PURE__ */ jsx49(
4819
5013
  SidebarItemButton,
4820
5014
  {
4821
5015
  selected: shouldShowSelected,
@@ -4826,21 +5020,21 @@ var SidebarItem = ({
4826
5020
  "aria-expanded": hasNestedItems ? collapsed ? popoverOpen : isExpanded : void 0,
4827
5021
  "aria-haspopup": collapsed && hasNestedItems ? "menu" : void 0,
4828
5022
  "aria-controls": popoverOpen ? popoverId : void 0,
4829
- children: /* @__PURE__ */ jsxs16(SidebarItemProvider, { value: contextValue, children: [
5023
+ children: /* @__PURE__ */ jsxs17(SidebarItemProvider, { value: contextValue, children: [
4830
5024
  composableChildren,
4831
- !collapsed && hasNestedItems && /* @__PURE__ */ jsx48(SidebarItemChevron, { "aria-hidden": "true", children: isExpanded ? /* @__PURE__ */ jsx48(ChevronUp, { size: 16 }) : /* @__PURE__ */ jsx48(ChevronDown2, { size: 16 }) }),
4832
- !collapsed && !hasNestedItems && /* @__PURE__ */ jsx48(Box18, { sx: { ml: "auto", width: 16, pl: 1 } })
5025
+ !collapsed && hasNestedItems && /* @__PURE__ */ jsx49(SidebarItemChevron, { "aria-hidden": "true", children: isExpanded ? /* @__PURE__ */ jsx49(ChevronUp, { size: 16 }) : /* @__PURE__ */ jsx49(ChevronDown2, { size: 16 }) }),
5026
+ !collapsed && !hasNestedItems && /* @__PURE__ */ jsx49(Box19, { sx: { ml: "auto", width: 16, pl: 1 } })
4833
5027
  ] })
4834
5028
  }
4835
5029
  );
4836
- const wrappedContent = link ? /* @__PURE__ */ jsx48(Fragment5, { children: React24.cloneElement(link, {}, buttonContent) }) : buttonContent;
5030
+ const wrappedContent = link ? /* @__PURE__ */ jsx49(Fragment6, { children: React24.cloneElement(link, {}, buttonContent) }) : buttonContent;
4837
5031
  const collapsedWithNested = collapsed && hasNestedItems;
4838
5032
  const handlePopoverItemClick = (itemId) => {
4839
5033
  onSelect == null ? void 0 : onSelect(itemId);
4840
5034
  closePopover();
4841
5035
  };
4842
- return /* @__PURE__ */ jsxs16(Fragment5, { children: [
4843
- /* @__PURE__ */ jsx48(
5036
+ return /* @__PURE__ */ jsxs17(Fragment6, { children: [
5037
+ /* @__PURE__ */ jsx49(
4844
5038
  SidebarItemRoot,
4845
5039
  {
4846
5040
  disablePadding: true,
@@ -4848,11 +5042,11 @@ var SidebarItem = ({
4848
5042
  onMouseLeave: handleMouseLeave,
4849
5043
  children: collapsed ? (
4850
5044
  // When collapsed: show tooltip only for items without nested children
4851
- collapsedWithNested ? wrappedContent : /* @__PURE__ */ jsx48(Tooltip5, { title: tooltipLabel, placement: "right", arrow: true, children: wrappedContent })
5045
+ collapsedWithNested ? wrappedContent : /* @__PURE__ */ jsx49(Tooltip6, { title: tooltipLabel, placement: "right", arrow: true, children: wrappedContent })
4852
5046
  ) : wrappedContent
4853
5047
  }
4854
5048
  ),
4855
- collapsedWithNested && /* @__PURE__ */ jsx48(
5049
+ collapsedWithNested && /* @__PURE__ */ jsx49(
4856
5050
  SidebarItemPopover,
4857
5051
  {
4858
5052
  open: popoverOpen,
@@ -4869,7 +5063,7 @@ var SidebarItem = ({
4869
5063
  onMouseLeave: handleMouseLeave
4870
5064
  }
4871
5065
  },
4872
- children: /* @__PURE__ */ jsx48(
5066
+ children: /* @__PURE__ */ jsx49(
4873
5067
  SidebarItemPopoverList,
4874
5068
  {
4875
5069
  id: popoverId,
@@ -4880,14 +5074,14 @@ var SidebarItem = ({
4880
5074
  const childProps = child.props;
4881
5075
  const { icon, label } = extractItemContent(childProps.children);
4882
5076
  const isItemActive = activeItem === childProps.id;
4883
- return /* @__PURE__ */ jsxs16(
5077
+ return /* @__PURE__ */ jsxs17(
4884
5078
  SidebarItemPopoverButton,
4885
5079
  {
4886
5080
  selected: isItemActive,
4887
5081
  onClick: () => handlePopoverItemClick(childProps.id),
4888
5082
  children: [
4889
- icon && /* @__PURE__ */ jsx48(ListItemIcon2, { sx: { minWidth: "auto" }, children: icon }),
4890
- /* @__PURE__ */ jsx48(ListItemText2, { primary: label })
5083
+ icon && /* @__PURE__ */ jsx49(ListItemIcon2, { sx: { minWidth: "auto" }, children: icon }),
5084
+ /* @__PURE__ */ jsx49(ListItemText2, { primary: label })
4891
5085
  ]
4892
5086
  },
4893
5087
  childProps.id || index
@@ -4899,7 +5093,7 @@ var SidebarItem = ({
4899
5093
  )
4900
5094
  }
4901
5095
  ),
4902
- hasNestedItems && !collapsed && /* @__PURE__ */ jsx48(Collapse, { in: isExpanded, timeout: "auto", unmountOnExit: true, children: /* @__PURE__ */ jsx48(List2, { disablePadding: true, children: nestedItems.map((child, index) => {
5096
+ hasNestedItems && !collapsed && /* @__PURE__ */ jsx49(Collapse, { in: isExpanded, timeout: "auto", unmountOnExit: true, children: /* @__PURE__ */ jsx49(List2, { disablePadding: true, children: nestedItems.map((child, index) => {
4903
5097
  if (React24.isValidElement(child)) {
4904
5098
  return React24.cloneElement(child, {
4905
5099
  key: child.key || index,
@@ -4913,11 +5107,11 @@ var SidebarItem = ({
4913
5107
  SidebarItem.displayName = "SidebarItem";
4914
5108
 
4915
5109
  // src/components/Sidebar/SidebarFooter.tsx
4916
- import Box19 from "@mui/material/Box";
5110
+ import Box20 from "@mui/material/Box";
4917
5111
  import Divider4 from "@mui/material/Divider";
4918
5112
  import { styled as styled35 } from "@mui/material/styles";
4919
- import { Fragment as Fragment6, jsx as jsx49, jsxs as jsxs17 } from "react/jsx-runtime";
4920
- var SidebarFooterRoot = styled35(Box19, {
5113
+ import { Fragment as Fragment7, jsx as jsx50, jsxs as jsxs18 } from "react/jsx-runtime";
5114
+ var SidebarFooterRoot = styled35(Box20, {
4921
5115
  name: "MuiSidebar",
4922
5116
  slot: "Footer"
4923
5117
  })(({ theme }) => ({
@@ -4929,24 +5123,24 @@ var SidebarFooter = ({
4929
5123
  showDivider = true,
4930
5124
  sx
4931
5125
  }) => {
4932
- return /* @__PURE__ */ jsxs17(Fragment6, { children: [
4933
- showDivider && /* @__PURE__ */ jsx49(Divider4, {}),
4934
- /* @__PURE__ */ jsx49(SidebarFooterRoot, { sx, children })
5126
+ return /* @__PURE__ */ jsxs18(Fragment7, { children: [
5127
+ showDivider && /* @__PURE__ */ jsx50(Divider4, {}),
5128
+ /* @__PURE__ */ jsx50(SidebarFooterRoot, { sx, children })
4935
5129
  ] });
4936
5130
  };
4937
5131
 
4938
5132
  // src/components/Sidebar/SidebarUser.tsx
4939
5133
  import * as React25 from "react";
4940
- import Box20 from "@mui/material/Box";
5134
+ import Box21 from "@mui/material/Box";
4941
5135
  import ListItemButton2 from "@mui/material/ListItemButton";
4942
- import Tooltip6 from "@mui/material/Tooltip";
5136
+ import Tooltip7 from "@mui/material/Tooltip";
4943
5137
  import Divider5 from "@mui/material/Divider";
4944
5138
  import { styled as styled39 } from "@mui/material/styles";
4945
5139
 
4946
5140
  // src/components/Sidebar/SidebarUserAvatar.tsx
4947
5141
  import Avatar2 from "@mui/material/Avatar";
4948
5142
  import { styled as styled36 } from "@mui/material/styles";
4949
- import { jsx as jsx50 } from "react/jsx-runtime";
5143
+ import { jsx as jsx51 } from "react/jsx-runtime";
4950
5144
  var SidebarUserAvatarRoot = styled36(Avatar2, {
4951
5145
  name: "MuiSidebar",
4952
5146
  slot: "UserAvatar"
@@ -4963,15 +5157,15 @@ var SidebarUserAvatar = ({
4963
5157
  alt,
4964
5158
  sx
4965
5159
  }) => {
4966
- return /* @__PURE__ */ jsx50(SidebarUserAvatarRoot, { src, alt, sx, children });
5160
+ return /* @__PURE__ */ jsx51(SidebarUserAvatarRoot, { src, alt, sx, children });
4967
5161
  };
4968
5162
  SidebarUserAvatar.displayName = "SidebarUserAvatar";
4969
5163
 
4970
5164
  // src/components/Sidebar/SidebarUserName.tsx
4971
- import Typography11 from "@mui/material/Typography";
5165
+ import Typography12 from "@mui/material/Typography";
4972
5166
  import { styled as styled37 } from "@mui/material/styles";
4973
- import { jsx as jsx51 } from "react/jsx-runtime";
4974
- var SidebarUserNameRoot = styled37(Typography11, {
5167
+ import { jsx as jsx52 } from "react/jsx-runtime";
5168
+ var SidebarUserNameRoot = styled37(Typography12, {
4975
5169
  name: "MuiSidebar",
4976
5170
  slot: "UserName"
4977
5171
  })({
@@ -4988,15 +5182,15 @@ var SidebarUserName = ({
4988
5182
  if (collapsed) {
4989
5183
  return null;
4990
5184
  }
4991
- return /* @__PURE__ */ jsx51(SidebarUserNameRoot, { variant: "body2", sx, children });
5185
+ return /* @__PURE__ */ jsx52(SidebarUserNameRoot, { variant: "body2", sx, children });
4992
5186
  };
4993
5187
  SidebarUserName.displayName = "SidebarUserName";
4994
5188
 
4995
5189
  // src/components/Sidebar/SidebarUserEmail.tsx
4996
- import Typography12 from "@mui/material/Typography";
5190
+ import Typography13 from "@mui/material/Typography";
4997
5191
  import { styled as styled38 } from "@mui/material/styles";
4998
- import { jsx as jsx52 } from "react/jsx-runtime";
4999
- var SidebarUserEmailRoot = styled38(Typography12, {
5192
+ import { jsx as jsx53 } from "react/jsx-runtime";
5193
+ var SidebarUserEmailRoot = styled38(Typography13, {
5000
5194
  name: "MuiSidebar",
5001
5195
  slot: "UserEmail"
5002
5196
  })(({ theme }) => ({
@@ -5014,13 +5208,13 @@ var SidebarUserEmail = ({
5014
5208
  if (collapsed) {
5015
5209
  return null;
5016
5210
  }
5017
- return /* @__PURE__ */ jsx52(SidebarUserEmailRoot, { variant: "caption", sx, children });
5211
+ return /* @__PURE__ */ jsx53(SidebarUserEmailRoot, { variant: "caption", sx, children });
5018
5212
  };
5019
5213
  SidebarUserEmail.displayName = "SidebarUserEmail";
5020
5214
 
5021
5215
  // src/components/Sidebar/SidebarUser.tsx
5022
- import { Fragment as Fragment7, jsx as jsx53, jsxs as jsxs18 } from "react/jsx-runtime";
5023
- var SidebarUserRoot = styled39(Box20, {
5216
+ import { Fragment as Fragment8, jsx as jsx54, jsxs as jsxs19 } from "react/jsx-runtime";
5217
+ var SidebarUserRoot = styled39(Box21, {
5024
5218
  name: "MuiSidebar",
5025
5219
  slot: "User"
5026
5220
  })(({ theme }) => ({
@@ -5043,7 +5237,7 @@ var SidebarUserButton = styled39(ListItemButton2, {
5043
5237
  duration: ownerState.collapsed ? theme.transitions.duration.leavingScreen : theme.transitions.duration.enteringScreen
5044
5238
  })
5045
5239
  }));
5046
- var SidebarUserTextContainer = styled39(Box20, {
5240
+ var SidebarUserTextContainer = styled39(Box21, {
5047
5241
  name: "MuiSidebar",
5048
5242
  slot: "UserTextContainer",
5049
5243
  shouldForwardProp: (prop) => prop !== "collapsed"
@@ -5098,22 +5292,22 @@ var SidebarUser = ({
5098
5292
  const { avatarChild, textChildren } = separateChildren3(children);
5099
5293
  const tooltipText = getTooltipText(children);
5100
5294
  const ownerState = { collapsed };
5101
- const content = /* @__PURE__ */ jsxs18(SidebarUserButton, { onClick, ownerState, children: [
5295
+ const content = /* @__PURE__ */ jsxs19(SidebarUserButton, { onClick, ownerState, children: [
5102
5296
  avatarChild,
5103
- /* @__PURE__ */ jsx53(SidebarUserTextContainer, { collapsed, children: textChildren })
5297
+ /* @__PURE__ */ jsx54(SidebarUserTextContainer, { collapsed, children: textChildren })
5104
5298
  ] });
5105
- return /* @__PURE__ */ jsxs18(Fragment7, { children: [
5106
- showDivider && /* @__PURE__ */ jsx53(Divider5, {}),
5107
- /* @__PURE__ */ jsx53(SidebarUserRoot, { sx, children: collapsed ? /* @__PURE__ */ jsx53(Tooltip6, { title: tooltipText, placement: "right", arrow: true, children: content }) : content })
5299
+ return /* @__PURE__ */ jsxs19(Fragment8, { children: [
5300
+ showDivider && /* @__PURE__ */ jsx54(Divider5, {}),
5301
+ /* @__PURE__ */ jsx54(SidebarUserRoot, { sx, children: collapsed ? /* @__PURE__ */ jsx54(Tooltip7, { title: tooltipText, placement: "right", arrow: true, children: content }) : content })
5108
5302
  ] });
5109
5303
  };
5110
5304
  SidebarUser.displayName = "SidebarUser";
5111
5305
 
5112
5306
  // src/components/Sidebar/Sidebar.tsx
5113
- import { jsx as jsx54 } from "react/jsx-runtime";
5307
+ import { jsx as jsx55 } from "react/jsx-runtime";
5114
5308
  var SIDEBAR_WIDTH = 250;
5115
5309
  var COLLAPSED_SIDEBAR_WIDTH = 64;
5116
- var SidebarRootStyled = styled40(Box21, {
5310
+ var SidebarRootStyled = styled40(Box22, {
5117
5311
  name: "MuiSidebar",
5118
5312
  slot: "Root",
5119
5313
  shouldForwardProp: (prop) => prop !== "ownerState"
@@ -5173,7 +5367,7 @@ var Sidebar = ({
5173
5367
  [collapsed, activeItem, expandedMenus, onSelect, onToggleExpand]
5174
5368
  );
5175
5369
  const ownerState = { collapsed, width, collapsedWidth };
5176
- return /* @__PURE__ */ jsx54(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx54(SidebarRootStyled, { component: "aside", ownerState, sx, children }) });
5370
+ return /* @__PURE__ */ jsx55(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx55(SidebarRootStyled, { component: "aside", ownerState, sx, children }) });
5177
5371
  };
5178
5372
  Sidebar.Nav = SidebarNav;
5179
5373
  Sidebar.Category = SidebarCategory;
@@ -5191,7 +5385,7 @@ Sidebar.displayName = "Sidebar";
5191
5385
 
5192
5386
  // src/components/NotificationPanel/NotificationPanel.tsx
5193
5387
  import * as React32 from "react";
5194
- import Box30 from "@mui/material/Box";
5388
+ import Box31 from "@mui/material/Box";
5195
5389
  import Drawer from "@mui/material/Drawer";
5196
5390
  import { styled as styled56 } from "@mui/material/styles";
5197
5391
  import { visuallyHidden as visuallyHidden3 } from "@mui/utils";
@@ -5211,10 +5405,10 @@ var useNotificationPanel = () => {
5211
5405
 
5212
5406
  // src/components/NotificationPanel/NotificationHeader.tsx
5213
5407
  import * as React28 from "react";
5214
- import Box22 from "@mui/material/Box";
5408
+ import Box23 from "@mui/material/Box";
5215
5409
  import { styled as styled41 } from "@mui/material/styles";
5216
- import { jsx as jsx55, jsxs as jsxs19 } from "react/jsx-runtime";
5217
- var NotificationHeaderRoot = styled41(Box22, {
5410
+ import { jsx as jsx56, jsxs as jsxs20 } from "react/jsx-runtime";
5411
+ var NotificationHeaderRoot = styled41(Box23, {
5218
5412
  name: "MuiNotificationPanel",
5219
5413
  slot: "Header"
5220
5414
  })(({ theme }) => ({
@@ -5224,7 +5418,7 @@ var NotificationHeaderRoot = styled41(Box22, {
5224
5418
  padding: theme.spacing(2),
5225
5419
  borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`
5226
5420
  }));
5227
- var NotificationHeaderContent = styled41(Box22, {
5421
+ var NotificationHeaderContent = styled41(Box23, {
5228
5422
  name: "MuiNotificationPanel",
5229
5423
  slot: "HeaderContent"
5230
5424
  })(({ theme }) => ({
@@ -5255,18 +5449,18 @@ var NotificationHeader = ({
5255
5449
  sx
5256
5450
  }) => {
5257
5451
  const { leftChildren, closeChild } = separateChildren4(children);
5258
- return /* @__PURE__ */ jsxs19(NotificationHeaderRoot, { sx, children: [
5259
- /* @__PURE__ */ jsx55(NotificationHeaderContent, { children: leftChildren }),
5452
+ return /* @__PURE__ */ jsxs20(NotificationHeaderRoot, { sx, children: [
5453
+ /* @__PURE__ */ jsx56(NotificationHeaderContent, { children: leftChildren }),
5260
5454
  closeChild
5261
5455
  ] });
5262
5456
  };
5263
5457
  NotificationHeader.displayName = "NotificationHeader";
5264
5458
 
5265
5459
  // src/components/NotificationPanel/NotificationHeaderIcon.tsx
5266
- import Box23 from "@mui/material/Box";
5460
+ import Box24 from "@mui/material/Box";
5267
5461
  import { styled as styled42 } from "@mui/material/styles";
5268
- import { jsx as jsx56 } from "react/jsx-runtime";
5269
- var NotificationHeaderIconRoot = styled42(Box23, {
5462
+ import { jsx as jsx57 } from "react/jsx-runtime";
5463
+ var NotificationHeaderIconRoot = styled42(Box24, {
5270
5464
  name: "MuiNotificationPanel",
5271
5465
  slot: "HeaderIcon"
5272
5466
  })({
@@ -5277,15 +5471,15 @@ var NotificationHeaderIcon = ({
5277
5471
  children,
5278
5472
  sx
5279
5473
  }) => {
5280
- return /* @__PURE__ */ jsx56(NotificationHeaderIconRoot, { sx, children });
5474
+ return /* @__PURE__ */ jsx57(NotificationHeaderIconRoot, { sx, children });
5281
5475
  };
5282
5476
  NotificationHeaderIcon.displayName = "NotificationHeaderIcon";
5283
5477
 
5284
5478
  // src/components/NotificationPanel/NotificationHeaderTitle.tsx
5285
- import Typography13 from "@mui/material/Typography";
5479
+ import Typography14 from "@mui/material/Typography";
5286
5480
  import { styled as styled43 } from "@mui/material/styles";
5287
- import { jsx as jsx57 } from "react/jsx-runtime";
5288
- var NotificationHeaderTitleRoot = styled43(Typography13, {
5481
+ import { jsx as jsx58 } from "react/jsx-runtime";
5482
+ var NotificationHeaderTitleRoot = styled43(Typography14, {
5289
5483
  name: "MuiNotificationPanel",
5290
5484
  slot: "HeaderTitle"
5291
5485
  })({
@@ -5295,14 +5489,14 @@ var NotificationHeaderTitle = ({
5295
5489
  children,
5296
5490
  sx
5297
5491
  }) => {
5298
- return /* @__PURE__ */ jsx57(NotificationHeaderTitleRoot, { variant: "h6", sx, children });
5492
+ return /* @__PURE__ */ jsx58(NotificationHeaderTitleRoot, { variant: "h6", sx, children });
5299
5493
  };
5300
5494
  NotificationHeaderTitle.displayName = "NotificationHeaderTitle";
5301
5495
 
5302
5496
  // src/components/NotificationPanel/NotificationHeaderBadge.tsx
5303
5497
  import Chip2 from "@mui/material/Chip";
5304
5498
  import { styled as styled44 } from "@mui/material/styles";
5305
- import { jsx as jsx58 } from "react/jsx-runtime";
5499
+ import { jsx as jsx59 } from "react/jsx-runtime";
5306
5500
  var NotificationHeaderBadgeRoot = styled44(Chip2, {
5307
5501
  name: "MuiNotificationPanel",
5308
5502
  slot: "HeaderBadge"
@@ -5318,7 +5512,7 @@ var NotificationHeaderBadge = ({
5318
5512
  if (!children || children === 0 || children === "0") {
5319
5513
  return null;
5320
5514
  }
5321
- return /* @__PURE__ */ jsx58(NotificationHeaderBadgeRoot, { label: children, size: "small", color, sx });
5515
+ return /* @__PURE__ */ jsx59(NotificationHeaderBadgeRoot, { label: children, size: "small", color, sx });
5322
5516
  };
5323
5517
  NotificationHeaderBadge.displayName = "NotificationHeaderBadge";
5324
5518
 
@@ -5326,7 +5520,7 @@ NotificationHeaderBadge.displayName = "NotificationHeaderBadge";
5326
5520
  import IconButton5 from "@mui/material/IconButton";
5327
5521
  import { styled as styled45 } from "@mui/material/styles";
5328
5522
  import { X as X2 } from "@wso2/oxygen-ui-icons-react";
5329
- import { jsx as jsx59 } from "react/jsx-runtime";
5523
+ import { jsx as jsx60 } from "react/jsx-runtime";
5330
5524
  var NotificationHeaderCloseRoot = styled45(IconButton5, {
5331
5525
  name: "MuiNotificationPanel",
5332
5526
  slot: "HeaderClose"
@@ -5344,27 +5538,27 @@ var NotificationHeaderClose = ({
5344
5538
  onClose == null ? void 0 : onClose();
5345
5539
  }
5346
5540
  };
5347
- return /* @__PURE__ */ jsx59(
5541
+ return /* @__PURE__ */ jsx60(
5348
5542
  NotificationHeaderCloseRoot,
5349
5543
  {
5350
5544
  onClick: handleClick,
5351
5545
  size: "small",
5352
5546
  sx,
5353
5547
  "aria-label": "Close notifications",
5354
- children: children || /* @__PURE__ */ jsx59(X2, { size: 20, "aria-hidden": "true" })
5548
+ children: children || /* @__PURE__ */ jsx60(X2, { size: 20, "aria-hidden": "true" })
5355
5549
  }
5356
5550
  );
5357
5551
  };
5358
5552
  NotificationHeaderClose.displayName = "NotificationHeaderClose";
5359
5553
 
5360
5554
  // src/components/NotificationPanel/NotificationTabs.tsx
5361
- import Box24 from "@mui/material/Box";
5555
+ import Box25 from "@mui/material/Box";
5362
5556
  import Tabs from "@mui/material/Tabs";
5363
5557
  import Tab from "@mui/material/Tab";
5364
5558
  import Chip3 from "@mui/material/Chip";
5365
5559
  import { styled as styled46 } from "@mui/material/styles";
5366
- import { jsx as jsx60, jsxs as jsxs20 } from "react/jsx-runtime";
5367
- var NotificationTabsRoot = styled46(Box24, {
5560
+ import { jsx as jsx61, jsxs as jsxs21 } from "react/jsx-runtime";
5561
+ var NotificationTabsRoot = styled46(Box25, {
5368
5562
  name: "MuiNotificationPanel",
5369
5563
  slot: "Tabs"
5370
5564
  })(({ theme }) => ({
@@ -5381,7 +5575,7 @@ var NotificationTabsInner = styled46(Tabs, {
5381
5575
  fontWeight: 500
5382
5576
  }
5383
5577
  });
5384
- var NotificationTabLabel = styled46(Box24, {
5578
+ var NotificationTabLabel = styled46(Box25, {
5385
5579
  name: "MuiNotificationPanel",
5386
5580
  slot: "TabLabel"
5387
5581
  })(({ theme }) => ({
@@ -5402,18 +5596,18 @@ var NotificationTabs = ({
5402
5596
  onChange,
5403
5597
  sx
5404
5598
  }) => {
5405
- return /* @__PURE__ */ jsx60(NotificationTabsRoot, { sx, children: /* @__PURE__ */ jsx60(
5599
+ return /* @__PURE__ */ jsx61(NotificationTabsRoot, { sx, children: /* @__PURE__ */ jsx61(
5406
5600
  NotificationTabsInner,
5407
5601
  {
5408
5602
  value,
5409
5603
  onChange: (_, newValue) => onChange(newValue),
5410
5604
  variant: "fullWidth",
5411
- children: tabs.map((tab, index) => /* @__PURE__ */ jsx60(
5605
+ children: tabs.map((tab, index) => /* @__PURE__ */ jsx61(
5412
5606
  Tab,
5413
5607
  {
5414
- label: /* @__PURE__ */ jsxs20(NotificationTabLabel, { children: [
5608
+ label: /* @__PURE__ */ jsxs21(NotificationTabLabel, { children: [
5415
5609
  tab.label,
5416
- tab.count !== void 0 && tab.count > 0 && /* @__PURE__ */ jsx60(
5610
+ tab.count !== void 0 && tab.count > 0 && /* @__PURE__ */ jsx61(
5417
5611
  NotificationTabCount,
5418
5612
  {
5419
5613
  label: tab.count,
@@ -5431,12 +5625,12 @@ var NotificationTabs = ({
5431
5625
  };
5432
5626
 
5433
5627
  // src/components/NotificationPanel/NotificationActions.tsx
5434
- import Box25 from "@mui/material/Box";
5628
+ import Box26 from "@mui/material/Box";
5435
5629
  import Button3 from "@mui/material/Button";
5436
5630
  import { styled as styled47 } from "@mui/material/styles";
5437
5631
  import { CheckCheck, Trash2 } from "@wso2/oxygen-ui-icons-react";
5438
- import { jsx as jsx61, jsxs as jsxs21 } from "react/jsx-runtime";
5439
- var NotificationActionsRoot = styled47(Box25, {
5632
+ import { jsx as jsx62, jsxs as jsxs22 } from "react/jsx-runtime";
5633
+ var NotificationActionsRoot = styled47(Box26, {
5440
5634
  name: "MuiNotificationPanel",
5441
5635
  slot: "Actions"
5442
5636
  })(({ theme }) => ({
@@ -5461,21 +5655,21 @@ var NotificationActions = ({
5461
5655
  onClearAll,
5462
5656
  sx
5463
5657
  }) => {
5464
- return /* @__PURE__ */ jsxs21(NotificationActionsRoot, { sx, children: [
5465
- hasUnread && onMarkAllRead && /* @__PURE__ */ jsx61(
5658
+ return /* @__PURE__ */ jsxs22(NotificationActionsRoot, { sx, children: [
5659
+ hasUnread && onMarkAllRead && /* @__PURE__ */ jsx62(
5466
5660
  NotificationActionButton,
5467
5661
  {
5468
5662
  size: "small",
5469
- startIcon: /* @__PURE__ */ jsx61(CheckCheck, { size: 14 }),
5663
+ startIcon: /* @__PURE__ */ jsx62(CheckCheck, { size: 14 }),
5470
5664
  onClick: onMarkAllRead,
5471
5665
  children: "Mark all read"
5472
5666
  }
5473
5667
  ),
5474
- onClearAll && /* @__PURE__ */ jsx61(
5668
+ onClearAll && /* @__PURE__ */ jsx62(
5475
5669
  NotificationActionButton,
5476
5670
  {
5477
5671
  size: "small",
5478
- startIcon: /* @__PURE__ */ jsx61(Trash2, { size: 14 }),
5672
+ startIcon: /* @__PURE__ */ jsx62(Trash2, { size: 14 }),
5479
5673
  onClick: onClearAll,
5480
5674
  color: "error",
5481
5675
  children: "Clear all"
@@ -5486,12 +5680,12 @@ var NotificationActions = ({
5486
5680
 
5487
5681
  // src/components/NotificationPanel/NotificationList.tsx
5488
5682
  import * as React29 from "react";
5489
- import Box26 from "@mui/material/Box";
5683
+ import Box27 from "@mui/material/Box";
5490
5684
  import List3 from "@mui/material/List";
5491
5685
  import Divider6 from "@mui/material/Divider";
5492
5686
  import { styled as styled48 } from "@mui/material/styles";
5493
- import { jsx as jsx62, jsxs as jsxs22 } from "react/jsx-runtime";
5494
- var NotificationListRoot = styled48(Box26, {
5687
+ import { jsx as jsx63, jsxs as jsxs23 } from "react/jsx-runtime";
5688
+ var NotificationListRoot = styled48(Box27, {
5495
5689
  name: "MuiNotificationPanel",
5496
5690
  slot: "List"
5497
5691
  })({
@@ -5504,15 +5698,15 @@ var NotificationList = ({
5504
5698
  sx
5505
5699
  }) => {
5506
5700
  const childArray = React29.Children.toArray(children);
5507
- return /* @__PURE__ */ jsx62(NotificationListRoot, { sx, children: /* @__PURE__ */ jsx62(List3, { disablePadding: true, children: childArray.map((child, index) => /* @__PURE__ */ jsxs22(React29.Fragment, { children: [
5701
+ return /* @__PURE__ */ jsx63(NotificationListRoot, { sx, children: /* @__PURE__ */ jsx63(List3, { disablePadding: true, children: childArray.map((child, index) => /* @__PURE__ */ jsxs23(React29.Fragment, { children: [
5508
5702
  child,
5509
- showDividers && index < childArray.length - 1 && /* @__PURE__ */ jsx62(Divider6, {})
5703
+ showDividers && index < childArray.length - 1 && /* @__PURE__ */ jsx63(Divider6, {})
5510
5704
  ] }, index)) }) });
5511
5705
  };
5512
5706
 
5513
5707
  // src/components/NotificationPanel/NotificationItem.tsx
5514
5708
  import * as React31 from "react";
5515
- import Box27 from "@mui/material/Box";
5709
+ import Box28 from "@mui/material/Box";
5516
5710
  import ListItem2 from "@mui/material/ListItem";
5517
5711
  import ListItemButton3 from "@mui/material/ListItemButton";
5518
5712
  import ListItemText3 from "@mui/material/ListItemText";
@@ -5558,7 +5752,7 @@ var getNotificationTypeProps = (type) => {
5558
5752
 
5559
5753
  // src/components/NotificationPanel/NotificationItemContext.tsx
5560
5754
  import * as React30 from "react";
5561
- import { jsx as jsx63 } from "react/jsx-runtime";
5755
+ import { jsx as jsx64 } from "react/jsx-runtime";
5562
5756
  var NotificationItemContext = React30.createContext(null);
5563
5757
  var useNotificationItemContext = () => {
5564
5758
  const context = React30.useContext(NotificationItemContext);
@@ -5570,11 +5764,11 @@ var useNotificationItemContext = () => {
5570
5764
  return context;
5571
5765
  };
5572
5766
  var NotificationItemProvider = ({ value, children }) => {
5573
- return /* @__PURE__ */ jsx63(NotificationItemContext.Provider, { value, children });
5767
+ return /* @__PURE__ */ jsx64(NotificationItemContext.Provider, { value, children });
5574
5768
  };
5575
5769
 
5576
5770
  // src/components/NotificationPanel/NotificationItem.tsx
5577
- import { jsx as jsx64, jsxs as jsxs23 } from "react/jsx-runtime";
5771
+ import { jsx as jsx65, jsxs as jsxs24 } from "react/jsx-runtime";
5578
5772
  var NotificationItemRoot = styled49(ListItem2, {
5579
5773
  name: "MuiNotificationPanel",
5580
5774
  slot: "Item",
@@ -5600,7 +5794,7 @@ var NotificationItemDismiss = styled49(IconButton6, {
5600
5794
  opacity: 1
5601
5795
  }
5602
5796
  });
5603
- var NotificationItemFooter = styled49(Box27, {
5797
+ var NotificationItemFooter = styled49(Box28, {
5604
5798
  name: "MuiNotificationPanel",
5605
5799
  slot: "ItemFooter"
5606
5800
  })(({ theme }) => ({
@@ -5667,12 +5861,12 @@ var NotificationItem = ({
5667
5861
  onAction == null ? void 0 : onAction();
5668
5862
  };
5669
5863
  const ownerState = { read };
5670
- return /* @__PURE__ */ jsx64(NotificationItemProvider, { value: contextValue, children: /* @__PURE__ */ jsx64(
5864
+ return /* @__PURE__ */ jsx65(NotificationItemProvider, { value: contextValue, children: /* @__PURE__ */ jsx65(
5671
5865
  NotificationItemRoot,
5672
5866
  {
5673
5867
  disablePadding: true,
5674
5868
  ownerState,
5675
- secondaryAction: onDismiss && /* @__PURE__ */ jsx64(
5869
+ secondaryAction: onDismiss && /* @__PURE__ */ jsx65(
5676
5870
  NotificationItemDismiss,
5677
5871
  {
5678
5872
  size: "small",
@@ -5681,19 +5875,19 @@ var NotificationItem = ({
5681
5875
  e.stopPropagation();
5682
5876
  onDismiss(id);
5683
5877
  },
5684
- children: /* @__PURE__ */ jsx64(X3, { size: 16, "aria-hidden": "true" })
5878
+ children: /* @__PURE__ */ jsx65(X3, { size: 16, "aria-hidden": "true" })
5685
5879
  }
5686
5880
  ),
5687
5881
  sx,
5688
- children: /* @__PURE__ */ jsxs23(NotificationItemButton, { onClick: handleClick, children: [
5882
+ children: /* @__PURE__ */ jsxs24(NotificationItemButton, { onClick: handleClick, children: [
5689
5883
  avatarChild,
5690
- /* @__PURE__ */ jsx64(
5884
+ /* @__PURE__ */ jsx65(
5691
5885
  ListItemText3,
5692
5886
  {
5693
5887
  primary: titleChild,
5694
- secondary: /* @__PURE__ */ jsxs23(Box27, { component: "span", children: [
5888
+ secondary: /* @__PURE__ */ jsxs24(Box28, { component: "span", children: [
5695
5889
  messageChild,
5696
- /* @__PURE__ */ jsxs23(NotificationItemFooter, { children: [
5890
+ /* @__PURE__ */ jsxs24(NotificationItemFooter, { children: [
5697
5891
  timestampChild,
5698
5892
  actionChild
5699
5893
  ] })
@@ -5710,7 +5904,7 @@ NotificationItem.displayName = "NotificationItem";
5710
5904
  import ListItemAvatar from "@mui/material/ListItemAvatar";
5711
5905
  import Avatar3 from "@mui/material/Avatar";
5712
5906
  import { styled as styled50 } from "@mui/material/styles";
5713
- import { jsx as jsx65 } from "react/jsx-runtime";
5907
+ import { jsx as jsx66 } from "react/jsx-runtime";
5714
5908
  var NotificationItemAvatarStyled = styled50(Avatar3, {
5715
5909
  name: "MuiNotificationPanel",
5716
5910
  slot: "ItemAvatar",
@@ -5734,16 +5928,16 @@ var NotificationItemAvatar = ({
5734
5928
  color: typeProps.color,
5735
5929
  hasChildren: !!children
5736
5930
  };
5737
- return /* @__PURE__ */ jsx65(ListItemAvatar, { children: /* @__PURE__ */ jsx65(NotificationItemAvatarStyled, { ownerState, sx, children: children || /* @__PURE__ */ jsx65(Icon, { size: 20 }) }) });
5931
+ return /* @__PURE__ */ jsx66(ListItemAvatar, { children: /* @__PURE__ */ jsx66(NotificationItemAvatarStyled, { ownerState, sx, children: children || /* @__PURE__ */ jsx66(Icon, { size: 20 }) }) });
5738
5932
  };
5739
5933
  NotificationItemAvatar.displayName = "NotificationItemAvatar";
5740
5934
 
5741
5935
  // src/components/NotificationPanel/NotificationItemTitle.tsx
5742
- import Box28 from "@mui/material/Box";
5743
- import Typography14 from "@mui/material/Typography";
5936
+ import Box29 from "@mui/material/Box";
5937
+ import Typography15 from "@mui/material/Typography";
5744
5938
  import { styled as styled51 } from "@mui/material/styles";
5745
- import { jsx as jsx66, jsxs as jsxs24 } from "react/jsx-runtime";
5746
- var NotificationItemTitleRoot = styled51(Box28, {
5939
+ import { jsx as jsx67, jsxs as jsxs25 } from "react/jsx-runtime";
5940
+ var NotificationItemTitleRoot = styled51(Box29, {
5747
5941
  name: "MuiNotificationPanel",
5748
5942
  slot: "ItemTitle"
5749
5943
  })(({ theme }) => ({
@@ -5751,7 +5945,7 @@ var NotificationItemTitleRoot = styled51(Box28, {
5751
5945
  alignItems: "center",
5752
5946
  gap: theme.spacing(1)
5753
5947
  }));
5754
- var NotificationItemTitleText = styled51(Typography14, {
5948
+ var NotificationItemTitleText = styled51(Typography15, {
5755
5949
  name: "MuiNotificationPanel",
5756
5950
  slot: "ItemTitleText",
5757
5951
  shouldForwardProp: (prop) => prop !== "ownerState"
@@ -5759,7 +5953,7 @@ var NotificationItemTitleText = styled51(Typography14, {
5759
5953
  fontWeight: ownerState.read ? 400 : 600,
5760
5954
  flex: 1
5761
5955
  }));
5762
- var NotificationItemUnreadDot = styled51(Box28, {
5956
+ var NotificationItemUnreadDot = styled51(Box29, {
5763
5957
  name: "MuiNotificationPanel",
5764
5958
  slot: "ItemUnreadDot"
5765
5959
  })(({ theme }) => ({
@@ -5775,18 +5969,18 @@ var NotificationItemTitle = ({
5775
5969
  sx
5776
5970
  }) => {
5777
5971
  const { read } = useNotificationItemContext();
5778
- return /* @__PURE__ */ jsxs24(NotificationItemTitleRoot, { sx, children: [
5779
- /* @__PURE__ */ jsx66(NotificationItemTitleText, { variant: "body2", ownerState: { read }, children }),
5780
- showUnreadIndicator && !read && /* @__PURE__ */ jsx66(NotificationItemUnreadDot, {})
5972
+ return /* @__PURE__ */ jsxs25(NotificationItemTitleRoot, { sx, children: [
5973
+ /* @__PURE__ */ jsx67(NotificationItemTitleText, { variant: "body2", ownerState: { read }, children }),
5974
+ showUnreadIndicator && !read && /* @__PURE__ */ jsx67(NotificationItemUnreadDot, {})
5781
5975
  ] });
5782
5976
  };
5783
5977
  NotificationItemTitle.displayName = "NotificationItemTitle";
5784
5978
 
5785
5979
  // src/components/NotificationPanel/NotificationItemMessage.tsx
5786
- import Typography15 from "@mui/material/Typography";
5980
+ import Typography16 from "@mui/material/Typography";
5787
5981
  import { styled as styled52 } from "@mui/material/styles";
5788
- import { jsx as jsx67 } from "react/jsx-runtime";
5789
- var NotificationItemMessageRoot = styled52(Typography15, {
5982
+ import { jsx as jsx68 } from "react/jsx-runtime";
5983
+ var NotificationItemMessageRoot = styled52(Typography16, {
5790
5984
  name: "MuiNotificationPanel",
5791
5985
  slot: "ItemMessage"
5792
5986
  })(({ theme }) => ({
@@ -5798,15 +5992,15 @@ var NotificationItemMessage = ({
5798
5992
  children,
5799
5993
  sx
5800
5994
  }) => {
5801
- return /* @__PURE__ */ jsx67(NotificationItemMessageRoot, { component: "span", variant: "caption", sx, children });
5995
+ return /* @__PURE__ */ jsx68(NotificationItemMessageRoot, { component: "span", variant: "caption", sx, children });
5802
5996
  };
5803
5997
  NotificationItemMessage.displayName = "NotificationItemMessage";
5804
5998
 
5805
5999
  // src/components/NotificationPanel/NotificationItemTimestamp.tsx
5806
- import Typography16 from "@mui/material/Typography";
6000
+ import Typography17 from "@mui/material/Typography";
5807
6001
  import { styled as styled53 } from "@mui/material/styles";
5808
- import { jsx as jsx68 } from "react/jsx-runtime";
5809
- var NotificationItemTimestampRoot = styled53(Typography16, {
6002
+ import { jsx as jsx69 } from "react/jsx-runtime";
6003
+ var NotificationItemTimestampRoot = styled53(Typography17, {
5810
6004
  name: "MuiNotificationPanel",
5811
6005
  slot: "ItemTimestamp"
5812
6006
  })(({ theme }) => ({
@@ -5817,14 +6011,14 @@ var NotificationItemTimestamp = ({
5817
6011
  children,
5818
6012
  sx
5819
6013
  }) => {
5820
- return /* @__PURE__ */ jsx68(NotificationItemTimestampRoot, { component: "span", variant: "caption", sx, children });
6014
+ return /* @__PURE__ */ jsx69(NotificationItemTimestampRoot, { component: "span", variant: "caption", sx, children });
5821
6015
  };
5822
6016
  NotificationItemTimestamp.displayName = "NotificationItemTimestamp";
5823
6017
 
5824
6018
  // src/components/NotificationPanel/NotificationItemAction.tsx
5825
6019
  import Chip4 from "@mui/material/Chip";
5826
6020
  import { styled as styled54 } from "@mui/material/styles";
5827
- import { jsx as jsx69 } from "react/jsx-runtime";
6021
+ import { jsx as jsx70 } from "react/jsx-runtime";
5828
6022
  var NotificationItemActionRoot = styled54(Chip4, {
5829
6023
  name: "MuiNotificationPanel",
5830
6024
  slot: "ItemAction"
@@ -5847,7 +6041,7 @@ var NotificationItemAction = ({
5847
6041
  onAction == null ? void 0 : onAction();
5848
6042
  }
5849
6043
  };
5850
- return /* @__PURE__ */ jsx69(
6044
+ return /* @__PURE__ */ jsx70(
5851
6045
  NotificationItemActionRoot,
5852
6046
  {
5853
6047
  label: children,
@@ -5861,12 +6055,12 @@ var NotificationItemAction = ({
5861
6055
  NotificationItemAction.displayName = "NotificationItemAction";
5862
6056
 
5863
6057
  // src/components/NotificationPanel/NotificationEmptyState.tsx
5864
- import Box29 from "@mui/material/Box";
5865
- import Typography17 from "@mui/material/Typography";
6058
+ import Box30 from "@mui/material/Box";
6059
+ import Typography18 from "@mui/material/Typography";
5866
6060
  import { styled as styled55 } from "@mui/material/styles";
5867
6061
  import { BellOff } from "@wso2/oxygen-ui-icons-react";
5868
- import { jsx as jsx70, jsxs as jsxs25 } from "react/jsx-runtime";
5869
- var NotificationEmptyStateRoot = styled55(Box29, {
6062
+ import { jsx as jsx71, jsxs as jsxs26 } from "react/jsx-runtime";
6063
+ var NotificationEmptyStateRoot = styled55(Box30, {
5870
6064
  name: "MuiNotificationPanel",
5871
6065
  slot: "EmptyState"
5872
6066
  })(({ theme }) => ({
@@ -5880,7 +6074,7 @@ var NotificationEmptyStateRoot = styled55(Box29, {
5880
6074
  paddingRight: theme.spacing(3),
5881
6075
  textAlign: "center"
5882
6076
  }));
5883
- var NotificationEmptyStateMessage = styled55(Typography17, {
6077
+ var NotificationEmptyStateMessage = styled55(Typography18, {
5884
6078
  name: "MuiNotificationPanel",
5885
6079
  slot: "EmptyStateMessage"
5886
6080
  })(({ theme }) => ({
@@ -5891,14 +6085,14 @@ var NotificationEmptyState = ({
5891
6085
  icon,
5892
6086
  sx
5893
6087
  }) => {
5894
- return /* @__PURE__ */ jsxs25(NotificationEmptyStateRoot, { sx, children: [
5895
- icon || /* @__PURE__ */ jsx70(BellOff, { size: 48, style: { opacity: 0.3, marginBottom: 16 } }),
5896
- /* @__PURE__ */ jsx70(NotificationEmptyStateMessage, { variant: "body2", children: message })
6088
+ return /* @__PURE__ */ jsxs26(NotificationEmptyStateRoot, { sx, children: [
6089
+ icon || /* @__PURE__ */ jsx71(BellOff, { size: 48, style: { opacity: 0.3, marginBottom: 16 } }),
6090
+ /* @__PURE__ */ jsx71(NotificationEmptyStateMessage, { variant: "body2", children: message })
5897
6091
  ] });
5898
6092
  };
5899
6093
 
5900
6094
  // src/components/NotificationPanel/NotificationPanel.tsx
5901
- import { jsx as jsx71, jsxs as jsxs26 } from "react/jsx-runtime";
6095
+ import { jsx as jsx72, jsxs as jsxs27 } from "react/jsx-runtime";
5902
6096
  var NotificationPanelRoot = styled56(Drawer, {
5903
6097
  name: "MuiNotificationPanel",
5904
6098
  slot: "Root",
@@ -5971,7 +6165,7 @@ var NotificationPanel = ({
5971
6165
  [onClose, open, publishLiveAnnouncement]
5972
6166
  );
5973
6167
  const ownerState = { width };
5974
- return /* @__PURE__ */ jsx71(NotificationPanelContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs26(
6168
+ return /* @__PURE__ */ jsx72(NotificationPanelContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs27(
5975
6169
  NotificationPanelRoot,
5976
6170
  {
5977
6171
  anchor,
@@ -5986,8 +6180,8 @@ var NotificationPanel = ({
5986
6180
  }
5987
6181
  },
5988
6182
  children: [
5989
- /* @__PURE__ */ jsx71(
5990
- Box30,
6183
+ /* @__PURE__ */ jsx72(
6184
+ Box31,
5991
6185
  {
5992
6186
  component: "div",
5993
6187
  role: "status",
@@ -6023,29 +6217,29 @@ NotificationPanel.displayName = "NotificationPanel";
6023
6217
 
6024
6218
  // src/components/Footer/Footer.tsx
6025
6219
  import * as React33 from "react";
6026
- import Box31 from "@mui/material/Box";
6220
+ import Box32 from "@mui/material/Box";
6027
6221
  import { styled as styled60 } from "@mui/material/styles";
6028
6222
 
6029
6223
  // src/components/Footer/FooterCopyright.tsx
6030
- import Typography18 from "@mui/material/Typography";
6224
+ import Typography19 from "@mui/material/Typography";
6031
6225
  import { styled as styled57 } from "@mui/material/styles";
6032
- import { jsx as jsx72 } from "react/jsx-runtime";
6033
- var StyledCopyrightText = styled57(Typography18, {
6226
+ import { jsx as jsx73 } from "react/jsx-runtime";
6227
+ var StyledCopyrightText = styled57(Typography19, {
6034
6228
  name: "MuiFooter",
6035
6229
  slot: "CopyrightText"
6036
6230
  })(({ theme }) => ({
6037
6231
  color: (theme.vars || theme).palette.text.secondary
6038
6232
  }));
6039
6233
  var FooterCopyright = ({ children }) => {
6040
- return /* @__PURE__ */ jsx72(StyledCopyrightText, { variant: "caption", children });
6234
+ return /* @__PURE__ */ jsx73(StyledCopyrightText, { variant: "caption", children });
6041
6235
  };
6042
6236
  FooterCopyright.displayName = "Footer.Copyright";
6043
6237
 
6044
6238
  // src/components/Footer/FooterVersion.tsx
6045
- import Typography19 from "@mui/material/Typography";
6239
+ import Typography20 from "@mui/material/Typography";
6046
6240
  import { styled as styled58 } from "@mui/material/styles";
6047
- import { jsx as jsx73 } from "react/jsx-runtime";
6048
- var StyledVersion = styled58(Typography19, {
6241
+ import { jsx as jsx74 } from "react/jsx-runtime";
6242
+ var StyledVersion = styled58(Typography20, {
6049
6243
  name: "MuiFooter",
6050
6244
  slot: "Version"
6051
6245
  })(({ theme }) => ({
@@ -6056,14 +6250,14 @@ var StyledVersion = styled58(Typography19, {
6056
6250
  fontSize: 11
6057
6251
  }));
6058
6252
  var FooterVersion = ({ children }) => {
6059
- return /* @__PURE__ */ jsx73(StyledVersion, { variant: "caption", children });
6253
+ return /* @__PURE__ */ jsx74(StyledVersion, { variant: "caption", children });
6060
6254
  };
6061
6255
  FooterVersion.displayName = "Footer.Version";
6062
6256
 
6063
6257
  // src/components/Footer/FooterLink.tsx
6064
6258
  import Link2 from "@mui/material/Link";
6065
6259
  import { styled as styled59 } from "@mui/material/styles";
6066
- import { jsx as jsx74 } from "react/jsx-runtime";
6260
+ import { jsx as jsx75 } from "react/jsx-runtime";
6067
6261
  var StyledLink = styled59(Link2, {
6068
6262
  name: "MuiFooter",
6069
6263
  slot: "Link"
@@ -6076,15 +6270,15 @@ var StyledLink = styled59(Link2, {
6076
6270
  }));
6077
6271
  var FooterLink = (_a) => {
6078
6272
  var _b = _a, { children, href } = _b, props = __objRest(_b, ["children", "href"]);
6079
- return /* @__PURE__ */ jsx74(StyledLink, __spreadProps(__spreadValues({ href, underline: "hover" }, props), { children }));
6273
+ return /* @__PURE__ */ jsx75(StyledLink, __spreadProps(__spreadValues({ href, underline: "hover" }, props), { children }));
6080
6274
  };
6081
6275
  FooterLink.displayName = "Footer.Link";
6082
6276
 
6083
6277
  // src/components/Footer/FooterDivider.tsx
6084
6278
  import Divider7 from "@mui/material/Divider";
6085
- import { jsx as jsx75 } from "react/jsx-runtime";
6279
+ import { jsx as jsx76 } from "react/jsx-runtime";
6086
6280
  var FooterDivider = () => {
6087
- return /* @__PURE__ */ jsx75(
6281
+ return /* @__PURE__ */ jsx76(
6088
6282
  Divider7,
6089
6283
  {
6090
6284
  orientation: "vertical",
@@ -6096,8 +6290,8 @@ var FooterDivider = () => {
6096
6290
  FooterDivider.displayName = "Footer.Divider";
6097
6291
 
6098
6292
  // src/components/Footer/Footer.tsx
6099
- import { jsx as jsx76, jsxs as jsxs27 } from "react/jsx-runtime";
6100
- var FooterRoot = styled60(Box31, {
6293
+ import { jsx as jsx77, jsxs as jsxs28 } from "react/jsx-runtime";
6294
+ var FooterRoot = styled60(Box32, {
6101
6295
  name: "MuiFooter",
6102
6296
  slot: "Root"
6103
6297
  })(({ theme }) => ({
@@ -6110,7 +6304,7 @@ var FooterRoot = styled60(Box31, {
6110
6304
  borderTop: `1px solid ${(theme.vars || theme).palette.divider}`,
6111
6305
  backgroundColor: (theme.vars || theme).palette.background.paper
6112
6306
  }));
6113
- var FooterContent = styled60(Box31, {
6307
+ var FooterContent = styled60(Box32, {
6114
6308
  name: "MuiFooter",
6115
6309
  slot: "Content"
6116
6310
  })(({ theme }) => ({
@@ -6124,7 +6318,7 @@ var FooterContent = styled60(Box31, {
6124
6318
  alignItems: "center"
6125
6319
  }
6126
6320
  }));
6127
- var FooterLeft = styled60(Box31, {
6321
+ var FooterLeft = styled60(Box32, {
6128
6322
  name: "MuiFooter",
6129
6323
  slot: "Left"
6130
6324
  })(({ theme }) => ({
@@ -6133,7 +6327,7 @@ var FooterLeft = styled60(Box31, {
6133
6327
  gap: theme.spacing(2),
6134
6328
  flexWrap: "wrap"
6135
6329
  }));
6136
- var FooterRight = styled60(Box31, {
6330
+ var FooterRight = styled60(Box32, {
6137
6331
  name: "MuiFooter",
6138
6332
  slot: "Right"
6139
6333
  })(({ theme }) => ({
@@ -6155,9 +6349,9 @@ var Footer = ({ children, sx }) => {
6155
6349
  }
6156
6350
  }
6157
6351
  });
6158
- return /* @__PURE__ */ jsx76(FooterRoot, { component: "footer", sx, children: /* @__PURE__ */ jsxs27(FooterContent, { children: [
6159
- leftChildren.length > 0 && /* @__PURE__ */ jsx76(FooterLeft, { children: leftChildren }),
6160
- rightChildren.length > 0 && /* @__PURE__ */ jsx76(FooterRight, { children: rightChildren })
6352
+ return /* @__PURE__ */ jsx77(FooterRoot, { component: "footer", sx, children: /* @__PURE__ */ jsxs28(FooterContent, { children: [
6353
+ leftChildren.length > 0 && /* @__PURE__ */ jsx77(FooterLeft, { children: leftChildren }),
6354
+ rightChildren.length > 0 && /* @__PURE__ */ jsx77(FooterRight, { children: rightChildren })
6161
6355
  ] }) });
6162
6356
  };
6163
6357
  Footer.Copyright = FooterCopyright;
@@ -6184,7 +6378,7 @@ UserMenuContext.displayName = "UserMenu.Context";
6184
6378
 
6185
6379
  // src/components/UserMenu/UserMenuTrigger.tsx
6186
6380
  import * as React35 from "react";
6187
- import Tooltip7 from "@mui/material/Tooltip";
6381
+ import Tooltip8 from "@mui/material/Tooltip";
6188
6382
  import IconButton7 from "@mui/material/IconButton";
6189
6383
  import Avatar4 from "@mui/material/Avatar";
6190
6384
  import { styled as styled61 } from "@mui/material/styles";
@@ -6209,7 +6403,7 @@ function getUserMenuAvatarProps(name, avatar) {
6209
6403
  }
6210
6404
 
6211
6405
  // src/components/UserMenu/UserMenuTrigger.tsx
6212
- import { jsx as jsx77, jsxs as jsxs28 } from "react/jsx-runtime";
6406
+ import { jsx as jsx78, jsxs as jsxs29 } from "react/jsx-runtime";
6213
6407
  var StyledTrigger = styled61(IconButton7, {
6214
6408
  name: "MuiUserMenu",
6215
6409
  slot: "Trigger",
@@ -6251,7 +6445,7 @@ var UserMenuTrigger = React35.forwardRef(
6251
6445
  const avatarProps = getUserMenuAvatarProps(name, avatar);
6252
6446
  const defaultAriaLabel = showName ? name : "Account";
6253
6447
  const resolvedAriaLabel = typeof ariaLabel === "string" && ariaLabel.trim().length > 0 ? ariaLabel : defaultAriaLabel;
6254
- return /* @__PURE__ */ jsx77(Tooltip7, { title: "Account", children: /* @__PURE__ */ jsxs28(
6448
+ return /* @__PURE__ */ jsx78(Tooltip8, { title: "Account", children: /* @__PURE__ */ jsxs29(
6255
6449
  StyledTrigger,
6256
6450
  __spreadProps(__spreadValues({}, props), {
6257
6451
  ref,
@@ -6266,8 +6460,8 @@ var UserMenuTrigger = React35.forwardRef(
6266
6460
  "aria-haspopup": "true",
6267
6461
  "aria-expanded": open ? "true" : void 0,
6268
6462
  children: [
6269
- /* @__PURE__ */ jsx77(StyledAvatar2, { src: avatarProps.src, alt: name, children: avatarProps.children }),
6270
- showName && /* @__PURE__ */ jsx77(StyledNameText, { children: name })
6463
+ /* @__PURE__ */ jsx78(StyledAvatar2, { src: avatarProps.src, alt: name, children: avatarProps.children }),
6464
+ showName && /* @__PURE__ */ jsx78(StyledNameText, { children: name })
6271
6465
  ]
6272
6466
  })
6273
6467
  ) });
@@ -6277,20 +6471,20 @@ UserMenuTrigger.displayName = "UserMenu.Trigger";
6277
6471
 
6278
6472
  // src/components/UserMenu/UserMenuHeader.tsx
6279
6473
  import Divider8 from "@mui/material/Divider";
6280
- import Box32 from "@mui/material/Box";
6474
+ import Box33 from "@mui/material/Box";
6281
6475
  import Avatar5 from "@mui/material/Avatar";
6282
- import Typography20 from "@mui/material/Typography";
6476
+ import Typography21 from "@mui/material/Typography";
6283
6477
  import Chip5 from "@mui/material/Chip";
6284
6478
  import { styled as styled62 } from "@mui/material/styles";
6285
- import { Fragment as Fragment9, jsx as jsx78, jsxs as jsxs29 } from "react/jsx-runtime";
6286
- var StyledHeaderBox = styled62(Box32, {
6479
+ import { Fragment as Fragment10, jsx as jsx79, jsxs as jsxs30 } from "react/jsx-runtime";
6480
+ var StyledHeaderBox = styled62(Box33, {
6287
6481
  name: "MuiUserMenu",
6288
6482
  slot: "HeaderBox"
6289
6483
  })(({ theme }) => ({
6290
6484
  padding: theme.spacing(2),
6291
6485
  paddingBottom: theme.spacing(1.5)
6292
6486
  }));
6293
- var StyledHeaderContent = styled62(Box32, {
6487
+ var StyledHeaderContent = styled62(Box33, {
6294
6488
  name: "MuiUserMenu",
6295
6489
  slot: "HeaderContent"
6296
6490
  })(({ theme }) => ({
@@ -6309,7 +6503,7 @@ var StyledHeaderAvatar = styled62(Avatar5, {
6309
6503
  fontSize: 16,
6310
6504
  fontWeight: 600
6311
6505
  }));
6312
- var StyledUserInfo = styled62(Box32, {
6506
+ var StyledUserInfo = styled62(Box33, {
6313
6507
  name: "MuiUserMenu",
6314
6508
  slot: "UserInfo"
6315
6509
  })(({ theme }) => ({
@@ -6319,7 +6513,7 @@ var StyledUserInfo = styled62(Box32, {
6319
6513
  flex: 1,
6320
6514
  minWidth: 0
6321
6515
  }));
6322
- var StyledNameRow = styled62(Box32, {
6516
+ var StyledNameRow = styled62(Box33, {
6323
6517
  name: "MuiUserMenu",
6324
6518
  slot: "NameRow"
6325
6519
  })(({ theme }) => ({
@@ -6327,7 +6521,7 @@ var StyledNameRow = styled62(Box32, {
6327
6521
  alignItems: "center",
6328
6522
  gap: theme.spacing(1)
6329
6523
  }));
6330
- var StyledName = styled62(Typography20, {
6524
+ var StyledName = styled62(Typography21, {
6331
6525
  name: "MuiUserMenu",
6332
6526
  slot: "Name"
6333
6527
  })({
@@ -6344,7 +6538,7 @@ var StyledRoleChip = styled62(Chip5, {
6344
6538
  fontSize: 11,
6345
6539
  fontWeight: 600
6346
6540
  });
6347
- var StyledEmail = styled62(Typography20, {
6541
+ var StyledEmail = styled62(Typography21, {
6348
6542
  name: "MuiUserMenu",
6349
6543
  slot: "Email"
6350
6544
  })(({ theme }) => ({
@@ -6356,13 +6550,13 @@ var StyledEmail = styled62(Typography20, {
6356
6550
  }));
6357
6551
  var UserMenuHeader = ({ name, email, avatar, role }) => {
6358
6552
  const avatarProps = getUserMenuAvatarProps(name, avatar);
6359
- return /* @__PURE__ */ jsxs29(Fragment9, { children: [
6360
- /* @__PURE__ */ jsx78(StyledHeaderBox, { children: /* @__PURE__ */ jsxs29(StyledHeaderContent, { children: [
6361
- /* @__PURE__ */ jsx78(StyledHeaderAvatar, { src: avatarProps.src, alt: name, children: avatarProps.children }),
6362
- /* @__PURE__ */ jsxs29(StyledUserInfo, { children: [
6363
- /* @__PURE__ */ jsxs29(StyledNameRow, { children: [
6364
- /* @__PURE__ */ jsx78(StyledName, { variant: "subtitle2", children: name }),
6365
- role && /* @__PURE__ */ jsx78(
6553
+ return /* @__PURE__ */ jsxs30(Fragment10, { children: [
6554
+ /* @__PURE__ */ jsx79(StyledHeaderBox, { children: /* @__PURE__ */ jsxs30(StyledHeaderContent, { children: [
6555
+ /* @__PURE__ */ jsx79(StyledHeaderAvatar, { src: avatarProps.src, alt: name, children: avatarProps.children }),
6556
+ /* @__PURE__ */ jsxs30(StyledUserInfo, { children: [
6557
+ /* @__PURE__ */ jsxs30(StyledNameRow, { children: [
6558
+ /* @__PURE__ */ jsx79(StyledName, { variant: "subtitle2", children: name }),
6559
+ role && /* @__PURE__ */ jsx79(
6366
6560
  StyledRoleChip,
6367
6561
  {
6368
6562
  label: role,
@@ -6371,10 +6565,10 @@ var UserMenuHeader = ({ name, email, avatar, role }) => {
6371
6565
  }
6372
6566
  )
6373
6567
  ] }),
6374
- /* @__PURE__ */ jsx78(StyledEmail, { variant: "caption", children: email })
6568
+ /* @__PURE__ */ jsx79(StyledEmail, { variant: "caption", children: email })
6375
6569
  ] })
6376
6570
  ] }) }),
6377
- /* @__PURE__ */ jsx78(Divider8, {})
6571
+ /* @__PURE__ */ jsx79(Divider8, {})
6378
6572
  ] });
6379
6573
  };
6380
6574
  UserMenuHeader.displayName = "UserMenu.Header";
@@ -6384,11 +6578,11 @@ import * as React36 from "react";
6384
6578
  import MenuItem5 from "@mui/material/MenuItem";
6385
6579
  import ListItemIcon3 from "@mui/material/ListItemIcon";
6386
6580
  import ListItemText4 from "@mui/material/ListItemText";
6387
- import Box33 from "@mui/material/Box";
6581
+ import Box34 from "@mui/material/Box";
6388
6582
  import Chip6 from "@mui/material/Chip";
6389
6583
  import { styled as styled63 } from "@mui/material/styles";
6390
6584
  import { ChevronRight as ChevronRight2 } from "@wso2/oxygen-ui-icons-react";
6391
- import { jsx as jsx79, jsxs as jsxs30 } from "react/jsx-runtime";
6585
+ import { jsx as jsx80, jsxs as jsxs31 } from "react/jsx-runtime";
6392
6586
  var StyledMenuItem2 = styled63(MenuItem5, {
6393
6587
  name: "MuiUserMenu",
6394
6588
  slot: "MenuItem"
@@ -6416,13 +6610,13 @@ var UserMenuItem = ({
6416
6610
  handleClose();
6417
6611
  onClick == null ? void 0 : onClick();
6418
6612
  };
6419
- return /* @__PURE__ */ jsxs30(StyledMenuItem2, { onClick: handleClick, children: [
6420
- icon && /* @__PURE__ */ jsx79(ListItemIcon3, { children: React36.isValidElement(icon) ? React36.cloneElement(icon, __spreadProps(__spreadValues({}, icon.props), {
6613
+ return /* @__PURE__ */ jsxs31(StyledMenuItem2, { onClick: handleClick, children: [
6614
+ icon && /* @__PURE__ */ jsx80(ListItemIcon3, { children: React36.isValidElement(icon) ? React36.cloneElement(icon, __spreadProps(__spreadValues({}, icon.props), {
6421
6615
  size: (_a = icon.props.size) != null ? _a : 18
6422
6616
  })) : icon }),
6423
- /* @__PURE__ */ jsx79(ListItemText4, { primary: label }),
6424
- /* @__PURE__ */ jsxs30(Box33, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
6425
- badge && /* @__PURE__ */ jsx79(
6617
+ /* @__PURE__ */ jsx80(ListItemText4, { primary: label }),
6618
+ /* @__PURE__ */ jsxs31(Box34, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
6619
+ badge && /* @__PURE__ */ jsx80(
6426
6620
  StyledBillingChip,
6427
6621
  {
6428
6622
  label: badge,
@@ -6430,7 +6624,7 @@ var UserMenuItem = ({
6430
6624
  variant: "outlined"
6431
6625
  }
6432
6626
  ),
6433
- /* @__PURE__ */ jsx79(ChevronRight2, { size: 16, style: { color: "var(--mui-palette-text-secondary)" } })
6627
+ /* @__PURE__ */ jsx80(ChevronRight2, { size: 16, style: { color: "var(--mui-palette-text-secondary)" } })
6434
6628
  ] })
6435
6629
  ] });
6436
6630
  };
@@ -6442,7 +6636,7 @@ import MenuItem6 from "@mui/material/MenuItem";
6442
6636
  import ListItemIcon4 from "@mui/material/ListItemIcon";
6443
6637
  import ListItemText5 from "@mui/material/ListItemText";
6444
6638
  import { styled as styled64 } from "@mui/material/styles";
6445
- import { jsx as jsx80, jsxs as jsxs31 } from "react/jsx-runtime";
6639
+ import { jsx as jsx81, jsxs as jsxs32 } from "react/jsx-runtime";
6446
6640
  var StyledLogoutItem = styled64(MenuItem6, {
6447
6641
  name: "MuiUserMenu",
6448
6642
  slot: "LogoutItem"
@@ -6461,23 +6655,23 @@ var UserMenuLogout = ({
6461
6655
  handleClose();
6462
6656
  onClick == null ? void 0 : onClick();
6463
6657
  };
6464
- return /* @__PURE__ */ jsxs31(StyledLogoutItem, { onClick: handleClick, children: [
6465
- icon && /* @__PURE__ */ jsx80(ListItemIcon4, { children: React37.isValidElement(icon) ? React37.cloneElement(icon, __spreadProps(__spreadValues({}, icon.props), {
6658
+ return /* @__PURE__ */ jsxs32(StyledLogoutItem, { onClick: handleClick, children: [
6659
+ icon && /* @__PURE__ */ jsx81(ListItemIcon4, { children: React37.isValidElement(icon) ? React37.cloneElement(icon, __spreadProps(__spreadValues({}, icon.props), {
6466
6660
  size: (_a = icon.props.size) != null ? _a : 18
6467
6661
  })) : icon }),
6468
- /* @__PURE__ */ jsx80(ListItemText5, { primary: label })
6662
+ /* @__PURE__ */ jsx81(ListItemText5, { primary: label })
6469
6663
  ] });
6470
6664
  };
6471
6665
  UserMenuLogout.displayName = "UserMenu.Logout";
6472
6666
 
6473
6667
  // src/components/UserMenu/UserMenuDivider.tsx
6474
6668
  import Divider9 from "@mui/material/Divider";
6475
- import { jsx as jsx81 } from "react/jsx-runtime";
6476
- var UserMenuDivider = () => /* @__PURE__ */ jsx81(Divider9, {});
6669
+ import { jsx as jsx82 } from "react/jsx-runtime";
6670
+ var UserMenuDivider = () => /* @__PURE__ */ jsx82(Divider9, {});
6477
6671
  UserMenuDivider.displayName = "UserMenu.Divider";
6478
6672
 
6479
6673
  // src/components/UserMenu/UserMenu.tsx
6480
- import { jsx as jsx82, jsxs as jsxs32 } from "react/jsx-runtime";
6674
+ import { jsx as jsx83, jsxs as jsxs33 } from "react/jsx-runtime";
6481
6675
  var UserMenu = ({ children }) => {
6482
6676
  const [anchorEl, setAnchorEl] = React38.useState(null);
6483
6677
  const open = Boolean(anchorEl);
@@ -6494,9 +6688,9 @@ var UserMenu = ({ children }) => {
6494
6688
  const menuChildren = childrenArray.filter(
6495
6689
  (child) => React38.isValidElement(child) && child.type !== UserMenuTrigger
6496
6690
  );
6497
- return /* @__PURE__ */ jsxs32(UserMenuContext.Provider, { value: { open, anchorEl, handleOpen, handleClose }, children: [
6691
+ return /* @__PURE__ */ jsxs33(UserMenuContext.Provider, { value: { open, anchorEl, handleOpen, handleClose }, children: [
6498
6692
  triggerChild,
6499
- /* @__PURE__ */ jsx82(
6693
+ /* @__PURE__ */ jsx83(
6500
6694
  Menu3,
6501
6695
  {
6502
6696
  id: "user-menu",
@@ -6531,9 +6725,9 @@ import Alert from "@mui/material/Alert";
6531
6725
  import AlertTitle from "@mui/material/AlertTitle";
6532
6726
  import Collapse2 from "@mui/material/Collapse";
6533
6727
  import Button4 from "@mui/material/Button";
6534
- import Box34 from "@mui/material/Box";
6728
+ import Box35 from "@mui/material/Box";
6535
6729
  import { styled as styled65 } from "@mui/material/styles";
6536
- import { jsx as jsx83, jsxs as jsxs33 } from "react/jsx-runtime";
6730
+ import { jsx as jsx84, jsxs as jsxs34 } from "react/jsx-runtime";
6537
6731
  var NotificationBannerAlert = styled65(Alert, {
6538
6732
  name: "MuiNotificationBanner",
6539
6733
  slot: "Root"
@@ -6562,7 +6756,7 @@ var NotificationBannerAlert = styled65(Alert, {
6562
6756
  }
6563
6757
  }
6564
6758
  })));
6565
- var NotificationBannerContent = styled65(Box34, {
6759
+ var NotificationBannerContent = styled65(Box35, {
6566
6760
  name: "MuiNotificationBanner",
6567
6761
  slot: "Content"
6568
6762
  })({
@@ -6600,14 +6794,14 @@ var NotificationBanner = ({
6600
6794
  setIsVisible(false);
6601
6795
  onDismiss == null ? void 0 : onDismiss();
6602
6796
  };
6603
- return /* @__PURE__ */ jsx83(Collapse2, { in: isVisible, children: /* @__PURE__ */ jsx83(
6797
+ return /* @__PURE__ */ jsx84(Collapse2, { in: isVisible, children: /* @__PURE__ */ jsx84(
6604
6798
  NotificationBannerAlert,
6605
6799
  {
6606
6800
  severity,
6607
6801
  variant: "filled",
6608
6802
  onClose: handleDismiss,
6609
6803
  sx,
6610
- action: actionLabel && onAction ? /* @__PURE__ */ jsx83(
6804
+ action: actionLabel && onAction ? /* @__PURE__ */ jsx84(
6611
6805
  NotificationBannerAction,
6612
6806
  {
6613
6807
  color: "inherit",
@@ -6616,18 +6810,18 @@ var NotificationBanner = ({
6616
6810
  children: actionLabel
6617
6811
  }
6618
6812
  ) : void 0,
6619
- children: /* @__PURE__ */ jsxs33(NotificationBannerContent, { children: [
6620
- title && /* @__PURE__ */ jsx83(AlertTitle, { sx: { mb: 0 }, children: title }),
6621
- /* @__PURE__ */ jsx83(Box34, { component: "span", children: message })
6813
+ children: /* @__PURE__ */ jsxs34(NotificationBannerContent, { children: [
6814
+ title && /* @__PURE__ */ jsx84(AlertTitle, { sx: { mb: 0 }, children: title }),
6815
+ /* @__PURE__ */ jsx84(Box35, { component: "span", children: message })
6622
6816
  ] })
6623
6817
  }
6624
6818
  ) });
6625
6819
  };
6626
6820
 
6627
6821
  // src/components/Form/CardButton.tsx
6628
- import { Card as Card3, ButtonBase as ButtonBase3, Box as Box35, styled as styled66 } from "@mui/material";
6822
+ import { Card as Card3, ButtonBase as ButtonBase3, Box as Box36, styled as styled66 } from "@mui/material";
6629
6823
  import { CardHeader, CardContent as CardContent2, CardActions, CardMedia } from "@mui/material";
6630
- import { jsx as jsx84 } from "react/jsx-runtime";
6824
+ import { jsx as jsx85 } from "react/jsx-runtime";
6631
6825
  var StyledCardButton = styled66(Card3, {
6632
6826
  shouldForwardProp: (prop) => prop !== "selected" && prop !== "disabled"
6633
6827
  })(({ theme, selected, disabled, alignItems = "flex-start" }) => ({
@@ -6656,7 +6850,7 @@ var StyledCardButton = styled66(Card3, {
6656
6850
  }));
6657
6851
  var CardButton = (props) => {
6658
6852
  const _a = props, { disabled, selected, alignItems = "flex-start" } = _a, rest = __objRest(_a, ["disabled", "selected", "alignItems"]);
6659
- return /* @__PURE__ */ jsx84(
6853
+ return /* @__PURE__ */ jsx85(
6660
6854
  StyledCardButton,
6661
6855
  __spreadValues({
6662
6856
  alignItems,
@@ -6666,36 +6860,36 @@ var CardButton = (props) => {
6666
6860
  }, rest)
6667
6861
  );
6668
6862
  };
6669
- var DisappearingCardButtonContent = (props) => /* @__PURE__ */ jsx84(Box35, __spreadValues({ className: "creation-flow-card-actions" }, props));
6863
+ var DisappearingCardButtonContent = (props) => /* @__PURE__ */ jsx85(Box36, __spreadValues({ className: "creation-flow-card-actions" }, props));
6670
6864
 
6671
6865
  // src/components/Form/Stack.tsx
6672
6866
  import { Stack as OxygenStack } from "@mui/material";
6673
- import { jsx as jsx85 } from "react/jsx-runtime";
6867
+ import { jsx as jsx86 } from "react/jsx-runtime";
6674
6868
  var Stack2 = (props) => {
6675
- return /* @__PURE__ */ jsx85(OxygenStack, __spreadValues({ spacing: 2 }, props));
6869
+ return /* @__PURE__ */ jsx86(OxygenStack, __spreadValues({ spacing: 2 }, props));
6676
6870
  };
6677
6871
 
6678
6872
  // src/components/Form/Typography.tsx
6679
- import { Typography as Typography21 } from "@mui/material";
6680
- import { jsx as jsx86 } from "react/jsx-runtime";
6873
+ import { Typography as Typography22 } from "@mui/material";
6874
+ import { jsx as jsx87 } from "react/jsx-runtime";
6681
6875
  var Header2 = (props) => {
6682
6876
  const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
6683
- return /* @__PURE__ */ jsx86(Typography21, __spreadProps(__spreadValues({}, rest), { variant: "h4", children }));
6877
+ return /* @__PURE__ */ jsx87(Typography22, __spreadProps(__spreadValues({}, rest), { variant: "h4", children }));
6684
6878
  };
6685
6879
  var Subheader = (props) => {
6686
6880
  const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
6687
- return /* @__PURE__ */ jsx86(Typography21, __spreadProps(__spreadValues({}, rest), { variant: "h5", children }));
6881
+ return /* @__PURE__ */ jsx87(Typography22, __spreadProps(__spreadValues({}, rest), { variant: "h5", children }));
6688
6882
  };
6689
6883
  var Body = (props) => {
6690
6884
  const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
6691
- return /* @__PURE__ */ jsx86(Typography21, __spreadProps(__spreadValues({}, rest), { variant: "body2", children }));
6885
+ return /* @__PURE__ */ jsx87(Typography22, __spreadProps(__spreadValues({}, rest), { variant: "body2", children }));
6692
6886
  };
6693
6887
 
6694
6888
  // src/components/Form/Section.tsx
6695
6889
  import { Card as Card4, CardContent as CardContent3, Stack as Stack3 } from "@mui/material";
6696
- import { jsx as jsx87 } from "react/jsx-runtime";
6890
+ import { jsx as jsx88 } from "react/jsx-runtime";
6697
6891
  var Section = ({ children }) => {
6698
- return /* @__PURE__ */ jsx87(Card4, { children: /* @__PURE__ */ jsx87(CardContent3, { children: /* @__PURE__ */ jsx87(Stack3, { direction: "column", spacing: 2, children }) }) });
6892
+ return /* @__PURE__ */ jsx88(Card4, { children: /* @__PURE__ */ jsx88(CardContent3, { children: /* @__PURE__ */ jsx88(Stack3, { direction: "column", spacing: 2, children }) }) });
6699
6893
  };
6700
6894
 
6701
6895
  // src/components/Form/Wizard.tsx
@@ -6709,25 +6903,25 @@ import {
6709
6903
  } from "@mui/material";
6710
6904
  import { styled as styled67 } from "@mui/material/styles";
6711
6905
  import { useMemo as useMemo7 } from "react";
6712
- import { jsx as jsx88, jsxs as jsxs34 } from "react/jsx-runtime";
6906
+ import { jsx as jsx89, jsxs as jsxs35 } from "react/jsx-runtime";
6713
6907
  var StyledWizardActionsStack = styled67(Stack2)(() => ({
6714
6908
  justifyContent: "space-between",
6715
6909
  flexGrow: 1
6716
6910
  }));
6717
6911
  function Wizard({ steps, activeStep, actions }) {
6718
6912
  const step = useMemo7(() => activeStep < steps.length ? steps[activeStep] : null, [steps, activeStep]);
6719
- return /* @__PURE__ */ jsx88(Card5, { children: /* @__PURE__ */ jsx88(CardContent4, { children: /* @__PURE__ */ jsxs34(Stack2, { children: [
6720
- /* @__PURE__ */ jsx88(Stepper, { activeStep, children: steps.map((step2) => /* @__PURE__ */ jsx88(Step, { children: /* @__PURE__ */ jsx88(StepLabel, { children: step2.label }) }, step2.label)) }),
6721
- /* @__PURE__ */ jsx88(Divider10, {}),
6722
- /* @__PURE__ */ jsx88(Stack2, { direction: "row", children: step == null ? void 0 : step.component }),
6723
- /* @__PURE__ */ jsx88(StyledWizardActionsStack, { direction: "row", children: actions })
6913
+ return /* @__PURE__ */ jsx89(Card5, { children: /* @__PURE__ */ jsx89(CardContent4, { children: /* @__PURE__ */ jsxs35(Stack2, { children: [
6914
+ /* @__PURE__ */ jsx89(Stepper, { activeStep, children: steps.map((step2) => /* @__PURE__ */ jsx89(Step, { children: /* @__PURE__ */ jsx89(StepLabel, { children: step2.label }) }, step2.label)) }),
6915
+ /* @__PURE__ */ jsx89(Divider10, {}),
6916
+ /* @__PURE__ */ jsx89(Stack2, { direction: "row", children: step == null ? void 0 : step.component }),
6917
+ /* @__PURE__ */ jsx89(StyledWizardActionsStack, { direction: "row", children: actions })
6724
6918
  ] }) }) });
6725
6919
  }
6726
6920
 
6727
6921
  // src/components/Form/ElementWrapper.tsx
6728
6922
  import { FormControl as FormControl3, FormLabel } from "@mui/material";
6729
6923
  import React40 from "react";
6730
- import { jsx as jsx89, jsxs as jsxs35 } from "react/jsx-runtime";
6924
+ import { jsx as jsx90, jsxs as jsxs36 } from "react/jsx-runtime";
6731
6925
  var ElementWrapper = (props) => {
6732
6926
  const { label, name, children } = props;
6733
6927
  const labelId = `${name}-label`;
@@ -6738,8 +6932,8 @@ var ElementWrapper = (props) => {
6738
6932
  }
6739
6933
  return child;
6740
6934
  });
6741
- return /* @__PURE__ */ jsxs35(FormControl3, { fullWidth: true, children: [
6742
- /* @__PURE__ */ jsx89(FormLabel, { id: labelId, htmlFor: name, children: label }),
6935
+ return /* @__PURE__ */ jsxs36(FormControl3, { fullWidth: true, children: [
6936
+ /* @__PURE__ */ jsx90(FormLabel, { id: labelId, htmlFor: name, children: label }),
6743
6937
  enhancedChildren
6744
6938
  ] });
6745
6939
  };
@@ -6764,15 +6958,15 @@ var Form = {
6764
6958
 
6765
6959
  // src/components/AppShell/AppShell.tsx
6766
6960
  import * as React42 from "react";
6767
- import Box40 from "@mui/material/Box";
6961
+ import Box41 from "@mui/material/Box";
6768
6962
 
6769
6963
  // src/layouts/Layout.tsx
6770
- import Box36 from "@mui/material/Box";
6771
- import { jsx as jsx90 } from "react/jsx-runtime";
6964
+ import Box37 from "@mui/material/Box";
6965
+ import { jsx as jsx91 } from "react/jsx-runtime";
6772
6966
  function Layout(_a) {
6773
6967
  var _b = _a, { children = null, sx } = _b, rest = __objRest(_b, ["children", "sx"]);
6774
- return /* @__PURE__ */ jsx90(
6775
- Box36,
6968
+ return /* @__PURE__ */ jsx91(
6969
+ Box37,
6776
6970
  __spreadProps(__spreadValues({
6777
6971
  sx: __spreadValues({
6778
6972
  display: "flex",
@@ -6787,12 +6981,12 @@ Layout.displayName = "Layout";
6787
6981
  var Layout_default = Layout;
6788
6982
 
6789
6983
  // src/layouts/LayoutSidebar.tsx
6790
- import Box37 from "@mui/material/Box";
6791
- import { jsx as jsx91 } from "react/jsx-runtime";
6984
+ import Box38 from "@mui/material/Box";
6985
+ import { jsx as jsx92 } from "react/jsx-runtime";
6792
6986
  function LayoutSidebar(_a) {
6793
6987
  var _b = _a, { children = null, sx } = _b, rest = __objRest(_b, ["children", "sx"]);
6794
- return /* @__PURE__ */ jsx91(
6795
- Box37,
6988
+ return /* @__PURE__ */ jsx92(
6989
+ Box38,
6796
6990
  __spreadProps(__spreadValues({
6797
6991
  sx: __spreadValues({
6798
6992
  display: "flex",
@@ -6814,12 +7008,12 @@ LayoutNavbar.displayName = "Layout.Navbar";
6814
7008
  var LayoutNavbar_default = LayoutNavbar;
6815
7009
 
6816
7010
  // src/layouts/LayoutContent.tsx
6817
- import Box38 from "@mui/material/Box";
6818
- import { jsx as jsx92 } from "react/jsx-runtime";
7011
+ import Box39 from "@mui/material/Box";
7012
+ import { jsx as jsx93 } from "react/jsx-runtime";
6819
7013
  function LayoutContent(_a) {
6820
7014
  var _b = _a, { children = null } = _b, rest = __objRest(_b, ["children"]);
6821
- return /* @__PURE__ */ jsx92(
6822
- Box38,
7015
+ return /* @__PURE__ */ jsx93(
7016
+ Box39,
6823
7017
  __spreadProps(__spreadValues({
6824
7018
  component: "main",
6825
7019
  sx: {
@@ -6837,12 +7031,12 @@ LayoutContent.displayName = "Layout.Content";
6837
7031
  var LayoutContent_default = LayoutContent;
6838
7032
 
6839
7033
  // src/layouts/LayoutHeader.tsx
6840
- import Box39 from "@mui/material/Box";
6841
- import { jsx as jsx93 } from "react/jsx-runtime";
7034
+ import Box40 from "@mui/material/Box";
7035
+ import { jsx as jsx94 } from "react/jsx-runtime";
6842
7036
  function LayoutHeader(_a) {
6843
7037
  var _b = _a, { children = null, sx } = _b, rest = __objRest(_b, ["children", "sx"]);
6844
- return /* @__PURE__ */ jsx93(
6845
- Box39,
7038
+ return /* @__PURE__ */ jsx94(
7039
+ Box40,
6846
7040
  __spreadProps(__spreadValues({
6847
7041
  sx: __spreadValues({
6848
7042
  display: "flex"
@@ -6865,37 +7059,37 @@ var Layout2 = Object.assign(Layout_default, {
6865
7059
  var layouts_default = Layout2;
6866
7060
 
6867
7061
  // src/components/AppShell/AppShellNavbar.tsx
6868
- import { Fragment as Fragment10, jsx as jsx94 } from "react/jsx-runtime";
7062
+ import { Fragment as Fragment11, jsx as jsx95 } from "react/jsx-runtime";
6869
7063
  var AppShellNavbar = ({ children }) => {
6870
- return /* @__PURE__ */ jsx94(Fragment10, { children });
7064
+ return /* @__PURE__ */ jsx95(Fragment11, { children });
6871
7065
  };
6872
7066
  AppShellNavbar.displayName = "AppShellNavbar";
6873
7067
 
6874
7068
  // src/components/AppShell/AppShellSidebar.tsx
6875
- import { Fragment as Fragment11, jsx as jsx95 } from "react/jsx-runtime";
7069
+ import { Fragment as Fragment12, jsx as jsx96 } from "react/jsx-runtime";
6876
7070
  var AppShellSidebar = ({ children }) => {
6877
- return /* @__PURE__ */ jsx95(Fragment11, { children });
7071
+ return /* @__PURE__ */ jsx96(Fragment12, { children });
6878
7072
  };
6879
7073
  AppShellSidebar.displayName = "AppShellSidebar";
6880
7074
 
6881
7075
  // src/components/AppShell/AppShellMain.tsx
6882
- import { Fragment as Fragment12, jsx as jsx96 } from "react/jsx-runtime";
7076
+ import { Fragment as Fragment13, jsx as jsx97 } from "react/jsx-runtime";
6883
7077
  var AppShellMain = ({ children }) => {
6884
- return /* @__PURE__ */ jsx96(Fragment12, { children });
7078
+ return /* @__PURE__ */ jsx97(Fragment13, { children });
6885
7079
  };
6886
7080
  AppShellMain.displayName = "AppShellMain";
6887
7081
 
6888
7082
  // src/components/AppShell/AppShellFooter.tsx
6889
- import { Fragment as Fragment13, jsx as jsx97 } from "react/jsx-runtime";
7083
+ import { Fragment as Fragment14, jsx as jsx98 } from "react/jsx-runtime";
6890
7084
  var AppShellFooter = ({ children }) => {
6891
- return /* @__PURE__ */ jsx97(Fragment13, { children });
7085
+ return /* @__PURE__ */ jsx98(Fragment14, { children });
6892
7086
  };
6893
7087
  AppShellFooter.displayName = "AppShellFooter";
6894
7088
 
6895
7089
  // src/components/AppShell/AppShellNotificationPanel.tsx
6896
- import { Fragment as Fragment14, jsx as jsx98 } from "react/jsx-runtime";
7090
+ import { Fragment as Fragment15, jsx as jsx99 } from "react/jsx-runtime";
6897
7091
  var AppShellNotificationPanel = ({ children }) => {
6898
- return /* @__PURE__ */ jsx98(Fragment14, { children });
7092
+ return /* @__PURE__ */ jsx99(Fragment15, { children });
6899
7093
  };
6900
7094
  AppShellNotificationPanel.displayName = "AppShellNotificationPanel";
6901
7095
 
@@ -6999,7 +7193,7 @@ var useAppShell = (options) => {
6999
7193
  };
7000
7194
 
7001
7195
  // src/components/AppShell/AppShell.tsx
7002
- import { jsx as jsx99, jsxs as jsxs36 } from "react/jsx-runtime";
7196
+ import { jsx as jsx100, jsxs as jsxs37 } from "react/jsx-runtime";
7003
7197
  var SLOT_DISPLAY_NAMES = {
7004
7198
  Navbar: "AppShellNavbar",
7005
7199
  Sidebar: "AppShellSidebar",
@@ -7049,12 +7243,12 @@ var AppShell = (_a) => {
7049
7243
  var _b = _a, { children, sx } = _b, shellOptions = __objRest(_b, ["children", "sx"]);
7050
7244
  const shell = useAppShell(shellOptions);
7051
7245
  const slots = extractSlots(children);
7052
- return /* @__PURE__ */ jsx99(AppShellContext.Provider, { value: shell, children: /* @__PURE__ */ jsxs36(layouts_default, { sx: __spreadValues({ height: "100vh", flexDirection: "column" }, sx), children: [
7053
- slots.navbar && /* @__PURE__ */ jsx99(layouts_default.Navbar, { children: slots.navbar }),
7054
- /* @__PURE__ */ jsxs36(layouts_default, { sx: { flex: 1, overflow: "hidden" }, children: [
7055
- slots.sidebar && /* @__PURE__ */ jsx99(layouts_default.Sidebar, { children: slots.sidebar }),
7056
- /* @__PURE__ */ jsxs36(layouts_default.Content, { sx: { flex: 1, display: "flex", flexDirection: "column", overflow: "auto" }, children: [
7057
- /* @__PURE__ */ jsx99(Box40, { sx: { flex: 1, overflow: "auto", display: "flex" }, children: slots.main }),
7246
+ return /* @__PURE__ */ jsx100(AppShellContext.Provider, { value: shell, children: /* @__PURE__ */ jsxs37(layouts_default, { sx: __spreadValues({ height: "100vh", flexDirection: "column" }, sx), children: [
7247
+ slots.navbar && /* @__PURE__ */ jsx100(layouts_default.Navbar, { children: slots.navbar }),
7248
+ /* @__PURE__ */ jsxs37(layouts_default, { sx: { flex: 1, overflow: "hidden" }, children: [
7249
+ slots.sidebar && /* @__PURE__ */ jsx100(layouts_default.Sidebar, { children: slots.sidebar }),
7250
+ /* @__PURE__ */ jsxs37(layouts_default.Content, { sx: { flex: 1, display: "flex", flexDirection: "column", overflow: "auto" }, children: [
7251
+ /* @__PURE__ */ jsx100(Box41, { sx: { flex: 1, overflow: "auto", display: "flex" }, children: slots.main }),
7058
7252
  slots.footer
7059
7253
  ] })
7060
7254
  ] }),
@@ -7082,7 +7276,7 @@ var densityStyles = {
7082
7276
  // src/components/ListingTable/ListingTable/ListingTableContainer.tsx
7083
7277
  import MuiTableContainer from "@mui/material/TableContainer";
7084
7278
  import Paper from "@mui/material/Paper";
7085
- import { jsx as jsx100 } from "react/jsx-runtime";
7279
+ import { jsx as jsx101 } from "react/jsx-runtime";
7086
7280
  function ListingTableContainer(_a) {
7087
7281
  var _b = _a, {
7088
7282
  elevation = 1,
@@ -7094,16 +7288,16 @@ function ListingTableContainer(_a) {
7094
7288
  "children"
7095
7289
  ]);
7096
7290
  if (disablePaper) {
7097
- return /* @__PURE__ */ jsx100(MuiTableContainer, __spreadProps(__spreadValues({ sx: __spreadValues({ width: "100%" }, props.sx) }, props), { children }));
7291
+ return /* @__PURE__ */ jsx101(MuiTableContainer, __spreadProps(__spreadValues({ sx: __spreadValues({ width: "100%" }, props.sx) }, props), { children }));
7098
7292
  }
7099
- return /* @__PURE__ */ jsx100(MuiTableContainer, __spreadProps(__spreadValues({ component: Paper, elevation, sx: __spreadValues({ width: "100%" }, props.sx) }, props), { children }));
7293
+ return /* @__PURE__ */ jsx101(MuiTableContainer, __spreadProps(__spreadValues({ component: Paper, elevation, sx: __spreadValues({ width: "100%" }, props.sx) }, props), { children }));
7100
7294
  }
7101
7295
  var ListingTableContainer_default = ListingTableContainer;
7102
7296
 
7103
7297
  // src/components/ListingTable/ListingTable/ListingTableHead.tsx
7104
7298
  import MuiTableHead from "@mui/material/TableHead";
7105
7299
  import { styled as styled68 } from "@mui/material/styles";
7106
- import { jsx as jsx101 } from "react/jsx-runtime";
7300
+ import { jsx as jsx102 } from "react/jsx-runtime";
7107
7301
  var StyledTableHead = styled68(MuiTableHead)(({ theme }) => ({
7108
7302
  "& .MuiTableCell-head": __spreadValues(__spreadValues({
7109
7303
  fontWeight: 600
@@ -7115,33 +7309,141 @@ var StyledTableHead = styled68(MuiTableHead)(({ theme }) => ({
7115
7309
  }));
7116
7310
  function ListingTableHead(_a) {
7117
7311
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
7118
- return /* @__PURE__ */ jsx101(StyledTableHead, __spreadProps(__spreadValues({}, props), { children }));
7312
+ return /* @__PURE__ */ jsx102(StyledTableHead, __spreadProps(__spreadValues({}, props), { children }));
7119
7313
  }
7120
7314
  var ListingTableHead_default = ListingTableHead;
7121
7315
 
7122
7316
  // src/components/ListingTable/ListingTable/ListingTableBody.tsx
7317
+ import { Children as Children15, Fragment as Fragment16, isValidElement as isValidElement15 } from "react";
7123
7318
  import MuiTableBody from "@mui/material/TableBody";
7124
- import { jsx as jsx102 } from "react/jsx-runtime";
7319
+ import MuiTableRow from "@mui/material/TableRow";
7320
+ import MuiTableCell from "@mui/material/TableCell";
7321
+ import Box43 from "@mui/material/Box";
7322
+ import { Search as Search2 } from "@wso2/oxygen-ui-icons-react";
7323
+
7324
+ // src/components/ListingTable/context.ts
7325
+ import * as React43 from "react";
7326
+ var ListingTableContext = React43.createContext(null);
7327
+ ListingTableContext.displayName = "ListingTableContext";
7328
+ var useListingTable = () => {
7329
+ return React43.useContext(ListingTableContext);
7330
+ };
7331
+ var useListingTableRequired = () => {
7332
+ const context = React43.useContext(ListingTableContext);
7333
+ if (!context) {
7334
+ throw new Error(
7335
+ "useListingTableRequired must be used within a ListingTable.Provider. Use useListingTable() for optional context access."
7336
+ );
7337
+ }
7338
+ return context;
7339
+ };
7340
+
7341
+ // src/components/ListingTable/shared/ListingTableEmptyState.tsx
7342
+ import Box42 from "@mui/material/Box";
7343
+ import Typography23 from "@mui/material/Typography";
7344
+ import { jsx as jsx103, jsxs as jsxs38 } from "react/jsx-runtime";
7345
+ function ListingTableEmptyState({
7346
+ title = "No data available",
7347
+ description,
7348
+ illustration,
7349
+ action,
7350
+ minHeight = 300,
7351
+ sx
7352
+ }) {
7353
+ return /* @__PURE__ */ jsxs38(
7354
+ Box42,
7355
+ {
7356
+ sx: __spreadValues({
7357
+ display: "flex",
7358
+ flexDirection: "column",
7359
+ alignItems: "center",
7360
+ justifyContent: "center",
7361
+ minHeight: typeof minHeight === "number" ? `${minHeight}px` : minHeight,
7362
+ p: 4,
7363
+ textAlign: "center"
7364
+ }, sx),
7365
+ children: [
7366
+ illustration && /* @__PURE__ */ jsx103(
7367
+ Box42,
7368
+ {
7369
+ sx: {
7370
+ mb: 2,
7371
+ color: "text.secondary",
7372
+ "& svg": {
7373
+ width: 64,
7374
+ height: 64
7375
+ }
7376
+ },
7377
+ children: illustration
7378
+ }
7379
+ ),
7380
+ /* @__PURE__ */ jsx103(Typography23, { variant: "h6", component: "div", sx: { mb: description ? 1 : 0, fontWeight: 500 }, children: title }),
7381
+ description && /* @__PURE__ */ jsx103(Typography23, { variant: "body2", color: "text.secondary", sx: { mb: action ? 2 : 0, maxWidth: 400 }, children: description }),
7382
+ action && /* @__PURE__ */ jsx103(Box42, { children: action })
7383
+ ]
7384
+ }
7385
+ );
7386
+ }
7387
+ var ListingTableEmptyState_default = ListingTableEmptyState;
7388
+
7389
+ // src/components/ListingTable/ListingTable/ListingTableBody.tsx
7390
+ import { jsx as jsx104 } from "react/jsx-runtime";
7391
+ function hasContent(node) {
7392
+ return Children15.toArray(node).some(
7393
+ (child) => isValidElement15(child) && child.type === Fragment16 ? hasContent(child.props.children) : true
7394
+ );
7395
+ }
7125
7396
  function ListingTableBody(_a) {
7126
- var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
7127
- return /* @__PURE__ */ jsx102(MuiTableBody, __spreadProps(__spreadValues({}, props), { children }));
7397
+ var _b = _a, {
7398
+ children,
7399
+ searchValue,
7400
+ loading,
7401
+ noSearchResultsText = "No results found",
7402
+ noSearchResultsDescription = "Try a different keyword",
7403
+ noSearchResultsIcon = /* @__PURE__ */ jsx104(Search2, {}),
7404
+ emptyStateColSpan = 1e3
7405
+ } = _b, props = __objRest(_b, [
7406
+ "children",
7407
+ "searchValue",
7408
+ "loading",
7409
+ "noSearchResultsText",
7410
+ "noSearchResultsDescription",
7411
+ "noSearchResultsIcon",
7412
+ "emptyStateColSpan"
7413
+ ]);
7414
+ var _a2, _b2;
7415
+ const context = useListingTable();
7416
+ const isSearching = Boolean((_a2 = searchValue != null ? searchValue : context == null ? void 0 : context.searchValue) == null ? void 0 : _a2.trim());
7417
+ const isLoading = (_b2 = loading != null ? loading : context == null ? void 0 : context.loading) != null ? _b2 : false;
7418
+ const hasRows = hasContent(children);
7419
+ if (isSearching && !isLoading && !hasRows) {
7420
+ return /* @__PURE__ */ jsx104(MuiTableBody, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsx104(MuiTableRow, { children: /* @__PURE__ */ jsx104(MuiTableCell, { colSpan: emptyStateColSpan, sx: { border: 0 }, children: /* @__PURE__ */ jsx104(Box43, { role: "status", "aria-live": "polite", children: /* @__PURE__ */ jsx104(
7421
+ ListingTableEmptyState,
7422
+ {
7423
+ title: noSearchResultsText,
7424
+ description: noSearchResultsDescription,
7425
+ illustration: noSearchResultsIcon
7426
+ }
7427
+ ) }) }) }) }));
7428
+ }
7429
+ return /* @__PURE__ */ jsx104(MuiTableBody, __spreadProps(__spreadValues({}, props), { children }));
7128
7430
  }
7129
7431
  var ListingTableBody_default = ListingTableBody;
7130
7432
 
7131
7433
  // src/components/ListingTable/ListingTable/ListingTableFooter.tsx
7132
7434
  import MuiTableFooter from "@mui/material/TableFooter";
7133
- import { jsx as jsx103 } from "react/jsx-runtime";
7435
+ import { jsx as jsx105 } from "react/jsx-runtime";
7134
7436
  function ListingTableFooter(_a) {
7135
7437
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
7136
- return /* @__PURE__ */ jsx103(MuiTableFooter, __spreadProps(__spreadValues({}, props), { children }));
7438
+ return /* @__PURE__ */ jsx105(MuiTableFooter, __spreadProps(__spreadValues({}, props), { children }));
7137
7439
  }
7138
7440
  var ListingTableFooter_default = ListingTableFooter;
7139
7441
 
7140
7442
  // src/components/ListingTable/ListingTable/ListingTableRow.tsx
7141
- import MuiTableRow from "@mui/material/TableRow";
7443
+ import MuiTableRow2 from "@mui/material/TableRow";
7142
7444
  import { styled as styled69, alpha as alpha2 } from "@mui/material/styles";
7143
- import { jsx as jsx104 } from "react/jsx-runtime";
7144
- var StyledTableRow = styled69(MuiTableRow, {
7445
+ import { jsx as jsx106 } from "react/jsx-runtime";
7446
+ var StyledTableRow = styled69(MuiTableRow2, {
7145
7447
  shouldForwardProp: (prop) => !["clickable", "variant"].includes(prop)
7146
7448
  })(({ theme: muiTheme, clickable, variant = "table" }) => {
7147
7449
  const theme = muiTheme;
@@ -7199,15 +7501,15 @@ function ListingTableRow(_a) {
7199
7501
  "variant",
7200
7502
  "children"
7201
7503
  ]);
7202
- return /* @__PURE__ */ jsx104(StyledTableRow, __spreadProps(__spreadValues({ clickable, variant }, props), { children }));
7504
+ return /* @__PURE__ */ jsx106(StyledTableRow, __spreadProps(__spreadValues({ clickable, variant }, props), { children }));
7203
7505
  }
7204
7506
  var ListingTableRow_default = ListingTableRow;
7205
7507
 
7206
7508
  // src/components/ListingTable/ListingTable/ListingTableCell.tsx
7207
- import MuiTableCell from "@mui/material/TableCell";
7509
+ import MuiTableCell2 from "@mui/material/TableCell";
7208
7510
  import { styled as styled70 } from "@mui/material/styles";
7209
- import { jsx as jsx105 } from "react/jsx-runtime";
7210
- var StyledTableCell = styled70(MuiTableCell, {
7511
+ import { jsx as jsx107 } from "react/jsx-runtime";
7512
+ var StyledTableCell = styled70(MuiTableCell2, {
7211
7513
  shouldForwardProp: (prop) => {
7212
7514
  const excludedProps = ["truncate", "maxWidth"];
7213
7515
  return !excludedProps.some((excluded) => excluded === prop);
@@ -7229,7 +7531,7 @@ function ListingTableCell(_a) {
7229
7531
  "maxWidth",
7230
7532
  "children"
7231
7533
  ]);
7232
- return /* @__PURE__ */ jsx105(StyledTableCell, __spreadProps(__spreadValues({ truncate, maxWidth }, props), { children }));
7534
+ return /* @__PURE__ */ jsx107(StyledTableCell, __spreadProps(__spreadValues({ truncate, maxWidth }, props), { children }));
7233
7535
  }
7234
7536
  var ListingTableCell_default = ListingTableCell;
7235
7537
 
@@ -7237,26 +7539,7 @@ var ListingTableCell_default = ListingTableCell;
7237
7539
  import { useCallback as useCallback5 } from "react";
7238
7540
  import { DataGrid } from "@mui/x-data-grid";
7239
7541
  import { styled as styled71, alpha as alpha3 } from "@mui/material/styles";
7240
-
7241
- // src/components/ListingTable/context.ts
7242
- import * as React43 from "react";
7243
- var ListingTableContext = React43.createContext(null);
7244
- ListingTableContext.displayName = "ListingTableContext";
7245
- var useListingTable = () => {
7246
- return React43.useContext(ListingTableContext);
7247
- };
7248
- var useListingTableRequired = () => {
7249
- const context = React43.useContext(ListingTableContext);
7250
- if (!context) {
7251
- throw new Error(
7252
- "useListingTableRequired must be used within a ListingTable.Provider. Use useListingTable() for optional context access."
7253
- );
7254
- }
7255
- return context;
7256
- };
7257
-
7258
- // src/components/ListingTable/ListingTable/ListingTableDataGrid.tsx
7259
- import { jsx as jsx106 } from "react/jsx-runtime";
7542
+ import { jsx as jsx108 } from "react/jsx-runtime";
7260
7543
  var StyledDataGrid = styled71(DataGrid)(({ theme }) => ({
7261
7544
  // Remove outer border for seamless integration within ListingTable.Container
7262
7545
  border: "none",
@@ -7414,7 +7697,7 @@ function ListingTableDataGrid(_a) {
7414
7697
  "& .MuiDataGrid-cell": { padding: cellPadding }
7415
7698
  };
7416
7699
  const mergedSx = variant === "card" ? [cardSx, densitySx, ...Array.isArray(sx) ? sx : [sx]] : [densitySx, ...Array.isArray(sx) ? sx : [sx]];
7417
- return /* @__PURE__ */ jsx106(
7700
+ return /* @__PURE__ */ jsx108(
7418
7701
  StyledDataGrid,
7419
7702
  __spreadValues({
7420
7703
  density,
@@ -7430,12 +7713,12 @@ var ListingTableDataGrid_default = ListingTableDataGrid;
7430
7713
 
7431
7714
  // src/components/ListingTable/shared/ListingTableToolbar.tsx
7432
7715
  import { useState as useState10, useCallback as useCallback6 } from "react";
7433
- import Box41 from "@mui/material/Box";
7716
+ import Box44 from "@mui/material/Box";
7434
7717
  import TextField3 from "@mui/material/TextField";
7435
7718
  import InputAdornment3 from "@mui/material/InputAdornment";
7436
7719
  import IconButton8 from "@mui/material/IconButton";
7437
- import { Search as Search2, X as X4 } from "@wso2/oxygen-ui-icons-react";
7438
- import { Fragment as Fragment15, jsx as jsx107, jsxs as jsxs37 } from "react/jsx-runtime";
7720
+ import { Search as Search3, X as X4 } from "@wso2/oxygen-ui-icons-react";
7721
+ import { Fragment as Fragment17, jsx as jsx109, jsxs as jsxs39 } from "react/jsx-runtime";
7439
7722
  function ListingTableToolbar({
7440
7723
  showSearch = false,
7441
7724
  searchSlot,
@@ -7476,7 +7759,7 @@ function ListingTableToolbar({
7476
7759
  return searchSlot;
7477
7760
  }
7478
7761
  if (showSearch) {
7479
- return /* @__PURE__ */ jsx107(
7762
+ return /* @__PURE__ */ jsx109(
7480
7763
  TextField3,
7481
7764
  {
7482
7765
  size: "small",
@@ -7492,8 +7775,8 @@ function ListingTableToolbar({
7492
7775
  "aria-label": searchPlaceholder || "Search"
7493
7776
  },
7494
7777
  input: {
7495
- startAdornment: /* @__PURE__ */ jsx107(InputAdornment3, { position: "start", children: /* @__PURE__ */ jsx107(Search2, { size: 18, "aria-hidden": "true" }) }),
7496
- endAdornment: searchValue ? /* @__PURE__ */ jsx107(InputAdornment3, { position: "end", children: /* @__PURE__ */ jsx107(IconButton8, { size: "small", onClick: handleClearSearch, edge: "end", "aria-label": "Clear search", children: /* @__PURE__ */ jsx107(X4, { size: 16, "aria-hidden": "true" }) }) }) : null
7778
+ startAdornment: /* @__PURE__ */ jsx109(InputAdornment3, { position: "start", children: /* @__PURE__ */ jsx109(Search3, { size: 18, "aria-hidden": "true" }) }),
7779
+ endAdornment: searchValue ? /* @__PURE__ */ jsx109(InputAdornment3, { position: "end", children: /* @__PURE__ */ jsx109(IconButton8, { size: "small", onClick: handleClearSearch, edge: "end", "aria-label": "Clear search", children: /* @__PURE__ */ jsx109(X4, { size: 16, "aria-hidden": "true" }) }) }) : null
7497
7780
  }
7498
7781
  }
7499
7782
  }
@@ -7501,8 +7784,8 @@ function ListingTableToolbar({
7501
7784
  }
7502
7785
  return null;
7503
7786
  };
7504
- return /* @__PURE__ */ jsxs37(
7505
- Box41,
7787
+ return /* @__PURE__ */ jsxs39(
7788
+ Box44,
7506
7789
  {
7507
7790
  role: "toolbar",
7508
7791
  "aria-label": "Table toolbar",
@@ -7517,9 +7800,9 @@ function ListingTableToolbar({
7517
7800
  children: [
7518
7801
  renderSearch(),
7519
7802
  children,
7520
- actions && /* @__PURE__ */ jsxs37(Fragment15, { children: [
7521
- /* @__PURE__ */ jsx107(Box41, { sx: { flex: 1 } }),
7522
- /* @__PURE__ */ jsx107(Box41, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: actions })
7803
+ actions && /* @__PURE__ */ jsxs39(Fragment17, { children: [
7804
+ /* @__PURE__ */ jsx109(Box44, { sx: { flex: 1 } }),
7805
+ /* @__PURE__ */ jsx109(Box44, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: actions })
7523
7806
  ] })
7524
7807
  ]
7525
7808
  }
@@ -7527,65 +7810,17 @@ function ListingTableToolbar({
7527
7810
  }
7528
7811
  var ListingTableToolbar_default = ListingTableToolbar;
7529
7812
 
7530
- // src/components/ListingTable/shared/ListingTableEmptyState.tsx
7531
- import Box42 from "@mui/material/Box";
7532
- import Typography22 from "@mui/material/Typography";
7533
- import { jsx as jsx108, jsxs as jsxs38 } from "react/jsx-runtime";
7534
- function ListingTableEmptyState({
7535
- title = "No data available",
7536
- description,
7537
- illustration,
7538
- action,
7539
- minHeight = 300,
7540
- sx
7541
- }) {
7542
- return /* @__PURE__ */ jsxs38(
7543
- Box42,
7544
- {
7545
- sx: __spreadValues({
7546
- display: "flex",
7547
- flexDirection: "column",
7548
- alignItems: "center",
7549
- justifyContent: "center",
7550
- minHeight: typeof minHeight === "number" ? `${minHeight}px` : minHeight,
7551
- p: 4,
7552
- textAlign: "center"
7553
- }, sx),
7554
- children: [
7555
- illustration && /* @__PURE__ */ jsx108(
7556
- Box42,
7557
- {
7558
- sx: {
7559
- mb: 2,
7560
- color: "text.secondary",
7561
- "& svg": {
7562
- width: 64,
7563
- height: 64
7564
- }
7565
- },
7566
- children: illustration
7567
- }
7568
- ),
7569
- /* @__PURE__ */ jsx108(Typography22, { variant: "h6", component: "div", sx: { mb: description ? 1 : 0, fontWeight: 500 }, children: title }),
7570
- description && /* @__PURE__ */ jsx108(Typography22, { variant: "body2", color: "text.secondary", sx: { mb: action ? 2 : 0, maxWidth: 400 }, children: description }),
7571
- action && /* @__PURE__ */ jsx108(Box42, { children: action })
7572
- ]
7573
- }
7574
- );
7575
- }
7576
- var ListingTableEmptyState_default = ListingTableEmptyState;
7577
-
7578
7813
  // src/components/ListingTable/shared/ListingTableDensityControl.tsx
7579
7814
  import { useCallback as useCallback7 } from "react";
7580
7815
  import ToggleButton from "@mui/material/ToggleButton";
7581
7816
  import ToggleButtonGroup from "@mui/material/ToggleButtonGroup";
7582
- import Tooltip8 from "@mui/material/Tooltip";
7817
+ import Tooltip9 from "@mui/material/Tooltip";
7583
7818
  import { AlignJustify, Menu as Menu4, List as List4 } from "@wso2/oxygen-ui-icons-react";
7584
- import { jsx as jsx109 } from "react/jsx-runtime";
7819
+ import { jsx as jsx110 } from "react/jsx-runtime";
7585
7820
  var densityOptions = [
7586
- { value: "compact", label: "Compact", icon: /* @__PURE__ */ jsx109(AlignJustify, { size: 18 }) },
7587
- { value: "standard", label: "Standard", icon: /* @__PURE__ */ jsx109(Menu4, { size: 18 }) },
7588
- { value: "comfortable", label: "Comfortable", icon: /* @__PURE__ */ jsx109(List4, { size: 18 }) }
7821
+ { value: "compact", label: "Compact", icon: /* @__PURE__ */ jsx110(AlignJustify, { size: 18 }) },
7822
+ { value: "standard", label: "Standard", icon: /* @__PURE__ */ jsx110(Menu4, { size: 18 }) },
7823
+ { value: "comfortable", label: "Comfortable", icon: /* @__PURE__ */ jsx110(List4, { size: 18 }) }
7589
7824
  ];
7590
7825
  function ListingTableDensityControl({
7591
7826
  value: valueProp,
@@ -7605,7 +7840,7 @@ function ListingTableDensityControl({
7605
7840
  },
7606
7841
  [effectiveOnChange]
7607
7842
  );
7608
- return /* @__PURE__ */ jsx109(
7843
+ return /* @__PURE__ */ jsx110(
7609
7844
  ToggleButtonGroup,
7610
7845
  {
7611
7846
  value,
@@ -7614,7 +7849,7 @@ function ListingTableDensityControl({
7614
7849
  size,
7615
7850
  sx,
7616
7851
  "aria-label": "Table density",
7617
- children: densityOptions.map((option) => /* @__PURE__ */ jsx109(ToggleButton, { value: option.value, "aria-label": option.label, children: /* @__PURE__ */ jsx109(Tooltip8, { title: option.label, children: /* @__PURE__ */ jsx109("span", { style: { display: "flex", alignItems: "center" }, "aria-hidden": "true", children: option.icon }) }) }, option.value))
7852
+ children: densityOptions.map((option) => /* @__PURE__ */ jsx110(ToggleButton, { value: option.value, "aria-label": option.label, children: /* @__PURE__ */ jsx110(Tooltip9, { title: option.label, children: /* @__PURE__ */ jsx110("span", { style: { display: "flex", alignItems: "center" }, "aria-hidden": "true", children: option.icon }) }) }, option.value))
7618
7853
  }
7619
7854
  );
7620
7855
  }
@@ -7624,7 +7859,7 @@ var ListingTableDensityControl_default = ListingTableDensityControl;
7624
7859
  import { useCallback as useCallback8 } from "react";
7625
7860
  import MuiTableSortLabel from "@mui/material/TableSortLabel";
7626
7861
  import { styled as styled72 } from "@mui/material/styles";
7627
- import { jsx as jsx110 } from "react/jsx-runtime";
7862
+ import { jsx as jsx111 } from "react/jsx-runtime";
7628
7863
  var StyledTableSortLabel = styled72(MuiTableSortLabel)(({ theme }) => ({
7629
7864
  color: "inherit !important",
7630
7865
  "&.Mui-active": {
@@ -7668,13 +7903,13 @@ function ListingTableSortLabel(_a) {
7668
7903
  },
7669
7904
  [onClickProp, field, tableContext, active, direction]
7670
7905
  );
7671
- return /* @__PURE__ */ jsx110(StyledTableSortLabel, __spreadProps(__spreadValues({ active, direction, onClick: handleClick, hideSortIcon }, props), { children }));
7906
+ return /* @__PURE__ */ jsx111(StyledTableSortLabel, __spreadProps(__spreadValues({ active, direction, onClick: handleClick, hideSortIcon }, props), { children }));
7672
7907
  }
7673
7908
  var ListingTableSortLabel_default = ListingTableSortLabel;
7674
7909
 
7675
7910
  // src/components/ListingTable/shared/ListingTableRowActions.tsx
7676
- import Box43 from "@mui/material/Box";
7677
- import { jsx as jsx111 } from "react/jsx-runtime";
7911
+ import Box45 from "@mui/material/Box";
7912
+ import { jsx as jsx112 } from "react/jsx-runtime";
7678
7913
  var alignmentMap = {
7679
7914
  left: "flex-start",
7680
7915
  center: "center",
@@ -7686,8 +7921,8 @@ function ListingTableRowActions({
7686
7921
  align = "right",
7687
7922
  sx
7688
7923
  }) {
7689
- return /* @__PURE__ */ jsx111(
7690
- Box43,
7924
+ return /* @__PURE__ */ jsx112(
7925
+ Box45,
7691
7926
  {
7692
7927
  className: "table-row-actions",
7693
7928
  sx: __spreadValues(__spreadValues({
@@ -7710,9 +7945,9 @@ function ListingTableRowActions({
7710
7945
  var ListingTableRowActions_default = ListingTableRowActions;
7711
7946
 
7712
7947
  // src/components/ListingTable/shared/ListingTableCellIcon.tsx
7713
- import Box44 from "@mui/material/Box";
7714
- import Typography23 from "@mui/material/Typography";
7715
- import { Fragment as Fragment16, jsx as jsx112, jsxs as jsxs39 } from "react/jsx-runtime";
7948
+ import Box46 from "@mui/material/Box";
7949
+ import Typography24 from "@mui/material/Typography";
7950
+ import { Fragment as Fragment18, jsx as jsx113, jsxs as jsxs40 } from "react/jsx-runtime";
7716
7951
  function ListingTableCellIcon({
7717
7952
  icon,
7718
7953
  primary,
@@ -7721,8 +7956,8 @@ function ListingTableCellIcon({
7721
7956
  iconSx,
7722
7957
  sx
7723
7958
  }) {
7724
- const iconElement = /* @__PURE__ */ jsx112(
7725
- Box44,
7959
+ const iconElement = /* @__PURE__ */ jsx113(
7960
+ Box46,
7726
7961
  {
7727
7962
  sx: __spreadValues({
7728
7963
  display: "flex",
@@ -7734,9 +7969,9 @@ function ListingTableCellIcon({
7734
7969
  children: icon
7735
7970
  }
7736
7971
  );
7737
- const textContent = /* @__PURE__ */ jsxs39(Box44, { sx: { minWidth: 0, flex: 1 }, children: [
7738
- /* @__PURE__ */ jsx112(
7739
- Typography23,
7972
+ const textContent = /* @__PURE__ */ jsxs40(Box46, { sx: { minWidth: 0, flex: 1 }, children: [
7973
+ /* @__PURE__ */ jsx113(
7974
+ Typography24,
7740
7975
  {
7741
7976
  variant: "body2",
7742
7977
  component: "div",
@@ -7749,8 +7984,8 @@ function ListingTableCellIcon({
7749
7984
  children: primary
7750
7985
  }
7751
7986
  ),
7752
- secondary && /* @__PURE__ */ jsx112(
7753
- Typography23,
7987
+ secondary && /* @__PURE__ */ jsx113(
7988
+ Typography24,
7754
7989
  {
7755
7990
  variant: "caption",
7756
7991
  component: "div",
@@ -7764,8 +7999,8 @@ function ListingTableCellIcon({
7764
7999
  }
7765
8000
  )
7766
8001
  ] });
7767
- return /* @__PURE__ */ jsx112(
7768
- Box44,
8002
+ return /* @__PURE__ */ jsx113(
8003
+ Box46,
7769
8004
  {
7770
8005
  sx: __spreadValues({
7771
8006
  display: "flex",
@@ -7773,10 +8008,10 @@ function ListingTableCellIcon({
7773
8008
  gap: 1.5,
7774
8009
  minWidth: 0
7775
8010
  }, sx),
7776
- children: iconPosition === "left" ? /* @__PURE__ */ jsxs39(Fragment16, { children: [
8011
+ children: iconPosition === "left" ? /* @__PURE__ */ jsxs40(Fragment18, { children: [
7777
8012
  iconElement,
7778
8013
  textContent
7779
- ] }) : /* @__PURE__ */ jsxs39(Fragment16, { children: [
8014
+ ] }) : /* @__PURE__ */ jsxs40(Fragment18, { children: [
7780
8015
  textContent,
7781
8016
  iconElement
7782
8017
  ] })
@@ -7787,7 +8022,7 @@ var ListingTableCellIcon_default = ListingTableCellIcon;
7787
8022
 
7788
8023
  // src/components/ListingTable/ListingTableProvider.tsx
7789
8024
  import { useMemo as useMemo9 } from "react";
7790
- import { jsx as jsx113 } from "react/jsx-runtime";
8025
+ import { jsx as jsx114 } from "react/jsx-runtime";
7791
8026
  function ListingTableProvider({
7792
8027
  children,
7793
8028
  // Search
@@ -7890,11 +8125,11 @@ function ListingTableProvider({
7890
8125
  loading
7891
8126
  ]
7892
8127
  );
7893
- return /* @__PURE__ */ jsx113(ListingTableContext.Provider, { value: contextValue, children });
8128
+ return /* @__PURE__ */ jsx114(ListingTableContext.Provider, { value: contextValue, children });
7894
8129
  }
7895
8130
 
7896
8131
  // src/components/ListingTable/ListingTable/ListingTable.tsx
7897
- import { jsx as jsx114 } from "react/jsx-runtime";
8132
+ import { jsx as jsx115 } from "react/jsx-runtime";
7898
8133
  var StyledTable = styled73(MuiTable, {
7899
8134
  shouldForwardProp: (prop) => {
7900
8135
  const excludedProps = ["variant", "density", "striped", "bordered"];
@@ -7948,7 +8183,7 @@ function ListingTable(_a) {
7948
8183
  "children",
7949
8184
  "sx"
7950
8185
  ]);
7951
- return /* @__PURE__ */ jsx114(
8186
+ return /* @__PURE__ */ jsx115(
7952
8187
  StyledTable,
7953
8188
  __spreadProps(__spreadValues({
7954
8189
  variant,
@@ -7980,9 +8215,9 @@ var ListingTableCompound = Object.assign(ListingTable, {
7980
8215
  var ListingTable_default = ListingTableCompound;
7981
8216
 
7982
8217
  // src/animations/ParticleBackground/ParticleBackground.tsx
7983
- import { useEffect as useEffect7, useRef as useRef4 } from "react";
8218
+ import { useEffect as useEffect8, useRef as useRef4 } from "react";
7984
8219
  import { useColorScheme as useColorScheme4 } from "@mui/material/styles";
7985
- import { jsx as jsx115 } from "react/jsx-runtime";
8220
+ import { jsx as jsx116 } from "react/jsx-runtime";
7986
8221
  var ParticleBackground = ({
7987
8222
  opacity = 0.5,
7988
8223
  baseDensity = 0.12,
@@ -7996,7 +8231,7 @@ var ParticleBackground = ({
7996
8231
  }) => {
7997
8232
  const canvasRef = useRef4(null);
7998
8233
  const { mode } = useColorScheme4();
7999
- useEffect7(() => {
8234
+ useEffect8(() => {
8000
8235
  const canvas = canvasRef.current;
8001
8236
  if (!canvas) return;
8002
8237
  const ctx = canvas.getContext("2d", { alpha: true });
@@ -8193,7 +8428,7 @@ var ParticleBackground = ({
8193
8428
  cancelAnimationFrame(animationFrameId);
8194
8429
  };
8195
8430
  }, [baseDensity, maxSpeed, radius, linkDist, linkAlpha, mouseInfluence, repelStrength, clickBurst, mode]);
8196
- return /* @__PURE__ */ jsx115(
8431
+ return /* @__PURE__ */ jsx116(
8197
8432
  "canvas",
8198
8433
  {
8199
8434
  ref: canvasRef,
@@ -8320,6 +8555,7 @@ export {
8320
8555
  PaleGray_default as PaleGrayTheme,
8321
8556
  PaleIndigo_default as PaleIndigoTheme,
8322
8557
  ParticleBackground,
8558
+ RelativeTime_default as RelativeTime,
8323
8559
  SearchBar_default as SearchBar,
8324
8560
  SearchBarWithAdvancedFilter_default as SearchBarWithAdvancedFilter,
8325
8561
  Sidebar,