@movable/ui 4.0.2 → 4.0.3

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/lib/index.mjs CHANGED
@@ -12937,7 +12937,7 @@ function hj({ chipList: e, numTagsToDisplay: t, size: n = "medium", maxChipWidth
12937
12937
  }, f = () => {
12938
12938
  a(null);
12939
12939
  }, g = e?.length - p, y = !!i;
12940
- return d.jsxs(Me, { py: 0.5, sx: { width: "100%" }, ref: s, children: [e?.slice(0, p).map((h, T) => d.jsx(Me, { sx: { display: "inline-block", mr: 1, my: 0.5 }, "data-cy": "ink-chip", children: d.jsx(Vx, { chipProps: h, maxWidth: o, size: n }) }, T)), g > 0 && d.jsxs(Me, { sx: { display: "inline-block", mr: 0.5, my: 0.5 }, children: [d.jsx(gs, { "data-cy": "more-btn", size: n, label: `${g} more`, onClick: m }), d.jsx(Ji, { id: "basic-menu", "data-cy": "chip-menu", anchorEl: i, open: y, onClose: f, MenuListProps: {
12940
+ return d.jsxs(Me, { sx: { py: 0.5, width: "100%" }, ref: s, children: [e?.slice(0, p).map((h, T) => d.jsx(Me, { sx: { display: "inline-block", mr: 1, my: 0.5 }, "data-cy": "ink-chip", children: d.jsx(Vx, { chipProps: h, maxWidth: o, size: n }) }, T)), g > 0 && d.jsxs(Me, { sx: { display: "inline-block", mr: 0.5, my: 0.5 }, children: [d.jsx(gs, { "data-cy": "more-btn", size: n, label: `${g} more`, onClick: m }), d.jsx(Ji, { id: "basic-menu", "data-cy": "chip-menu", anchorEl: i, open: y, onClose: f, MenuListProps: {
12941
12941
  "aria-labelledby": "basic-button"
12942
12942
  }, slotProps: {
12943
12943
  paper: {
@@ -12994,7 +12994,11 @@ function gj({ Title: e, Content: t, Actions: n, onClose: o, hideCloseButton: i,
12994
12994
  right: "15px",
12995
12995
  p: "4px",
12996
12996
  color: (m) => m.palette.grey[500]
12997
- }, children: d.jsx(nr, { children: "close_filled" }) }), typeof e != "string" ? d.jsx(d.Fragment, { children: e }) : d.jsx(qf, { "data-test": "ink-dialog-title", children: d.jsxs(Ie, { direction: "row", alignItems: "center", children: [a?.primary?.variant && d.jsx(Hx, { variant: a.primary.variant }), d.jsx(Ue, { variant: "h6", children: d.jsx("strong", { children: e }) })] }) }), c, u, a && d.jsxs(Kf, { sx: { m: 1 }, children: [a.cancel && d.jsx($t, { "data-test": "ink-dialog-cancel-action", onClick: a.cancel.onClick, children: a.cancel?.label }), a.secondary && d.jsx($t, { "data-test": "ink-dialog-secondary-action", color: a.secondary?.variant === "destructive" ? "error" : "primary", disabled: a.secondary.disabled || a.secondary.loading, ...a.secondary, variant: a.secondary?.variant ? "contained" : "text", loadingPosition: "end", children: a.secondary?.label }), a.primary && d.jsx($t, { "data-test": "ink-dialog-primary-action", color: a.primary?.variant === "destructive" ? "error" : "primary", disabled: a.primary.disabled || a.primary.loading, ...a.primary, variant: "contained", loadingPosition: "end", children: a.primary?.label })] })] });
12997
+ }, children: d.jsx(nr, { children: "close_filled" }) }), typeof e != "string" ? d.jsx(d.Fragment, { children: e }) : d.jsx(qf, { "data-test": "ink-dialog-title", children: d.jsxs(Ie, { sx: { alignItems: "center" }, direction: "row", children: [a?.primary?.variant && d.jsx(Hx, { variant: a.primary.variant }), d.jsx(Ue, { variant: "h6", children: d.jsx("strong", { children: e }) })] }) }), c, u, a && d.jsxs(Kf, { sx: { m: 1 }, children: [a.cancel && d.jsx($t, { "data-test": "ink-dialog-cancel-action", onClick: a.cancel.onClick, children: a.cancel?.label }), a.secondary && d.jsx($t, { sx: {
12998
+ color: a.secondary?.variant === "destructive" ? "error" : "primary"
12999
+ }, "data-test": "ink-dialog-secondary-action", disabled: a.secondary.disabled || a.secondary.loading, ...a.secondary, variant: a.secondary?.variant ? "contained" : "text", loadingPosition: "end", children: a.secondary?.label }), a.primary && d.jsx($t, { sx: {
13000
+ color: a.primary?.variant === "destructive" ? "error" : "primary"
13001
+ }, "data-test": "ink-dialog-primary-action", disabled: a.primary.disabled || a.primary.loading, ...a.primary, variant: "contained", loadingPosition: "end", children: a.primary?.label })] })] });
12998
13002
  }
12999
13003
  const wp = 280, Gx = Qu(Me, { shouldForwardProp: (e) => e !== "open" })(({ theme: e, open: t }) => ({
13000
13004
  flexGrow: 1,
@@ -13043,7 +13047,7 @@ function yj({
13043
13047
  sx: {
13044
13048
  padding: 0
13045
13049
  }
13046
- }, variant: "persistent", anchor: "left", open: e, children: d.jsxs(Ie, { height: "100%", justifyContent: "space-between", children: [d.jsxs(Ie, { direction: "column", spacing: 3, sx: { p: 2 }, children: [d.jsxs(Ie, { direction: "row", alignItems: "center", children: [d.jsxs(Ie, { direction: "row", alignItems: "center", children: [d.jsx(nr, { sx: { color: "text.primary" }, fontSize: "small", children: "filter_list_icon" }), d.jsx(Ue, { sx: { ml: 1 }, "data-cy": "drawer-header", children: l })] }), d.jsx(Xi, { title: "Close", placement: "bottom-end", disableInteractive: !0, slotProps: {
13050
+ }, variant: "persistent", anchor: "left", open: e, children: d.jsxs(Ie, { sx: { height: "100%", justifyContent: "space-between" }, children: [d.jsxs(Ie, { direction: "column", spacing: 3, sx: { p: 2 }, children: [d.jsxs(Ie, { sx: { alignItems: "center" }, direction: "row", children: [d.jsxs(Ie, { sx: { alignItems: "center" }, direction: "row", children: [d.jsx(nr, { sx: { fontSize: "small", color: "text.primary" }, children: "filter_list_icon" }), d.jsx(Ue, { sx: { ml: 1 }, "data-cy": "drawer-header", children: l })] }), d.jsx(Xi, { title: "Close", placement: "bottom-end", disableInteractive: !0, slotProps: {
13047
13051
  popper: {
13048
13052
  modifiers: [
13049
13053
  {
@@ -13059,7 +13063,7 @@ function yj({
13059
13063
  width: "40px",
13060
13064
  height: "40px",
13061
13065
  zIndex: (m) => m.zIndex.tooltip
13062
- }, children: d.jsx(nr, { fontSize: "small", children: "close_icon" }) }) })] }), a] }), s && d.jsx(Me, { "data-cy": "bottom-filter", sx: {
13066
+ }, children: d.jsx(nr, { sx: { fontSize: "small" }, children: "close_icon" }) }) })] }), a] }), s && d.jsx(Me, { "data-cy": "bottom-filter", sx: {
13063
13067
  px: 2,
13064
13068
  py: 1,
13065
13069
  borderTop: "1px solid",
@@ -13067,8 +13071,8 @@ function yj({
13067
13071
  }, children: s })] }) }), d.jsx(Gx, { component: "main", open: e, ...p, children: n })] });
13068
13072
  }
13069
13073
  function bj({ metadata: e }) {
13070
- const t = (n) => n == null || n === "" ? d.jsx(Ue, { variant: "body2", color: "text.disabled", children: "--" }) : typeof n == "string" ? d.jsx(Ue, { variant: "body2", children: n }) : n;
13071
- return d.jsx(Ie, { direction: "row", spacing: 2, "data-test-ink-page-header-metadata": !0, children: e.map(({ icon: n, label: o, value: i }) => d.jsxs(Ie, { direction: "row", alignItems: "center", spacing: 0.5, "data-cy": `metadata-${o}`, children: [n && typeof n == "string" ? d.jsx(nr, { sx: { color: "neutral600", fontSize: "1rem" }, children: n }) : n, d.jsx(Ue, { variant: "body2", color: "text.secondary", children: o }), t(i)] }, o)) });
13074
+ const t = (n) => n == null || n === "" ? d.jsx(Ue, { sx: { color: "text.disabled" }, variant: "body2", children: "--" }) : typeof n == "string" ? d.jsx(Ue, { variant: "body2", children: n }) : n;
13075
+ return d.jsx(Ie, { direction: "row", spacing: 2, "data-test-ink-page-header-metadata": !0, children: e.map(({ icon: n, label: o, value: i }) => d.jsxs(Ie, { sx: { alignItems: "center" }, direction: "row", spacing: 0.5, "data-cy": `metadata-${o}`, children: [n && typeof n == "string" ? d.jsx(nr, { sx: { color: "neutral600", fontSize: "1rem" }, children: n }) : n, d.jsx(Ue, { sx: { color: "text.secondary" }, variant: "body2", children: o }), t(i)] }, o)) });
13072
13076
  }
13073
13077
  const qx = ({ children: e }) => {
13074
13078
  const t = Xf({
@@ -13080,7 +13084,8 @@ const qx = ({ children: e }) => {
13080
13084
  //@nic-steffens - I am not sure elevation works
13081
13085
  position: t ? "sticky" : "static"
13082
13086
  });
13083
- }, Sp = ({ children: e, sx: t }) => d.jsx(qx, { children: ({ elevation: n, position: o }) => d.jsx(Yf, { position: o, sx: {
13087
+ }, Sp = ({ children: e, sx: t }) => d.jsx(qx, { children: ({ elevation: n, position: o }) => d.jsx(Yf, { sx: {
13088
+ position: o,
13084
13089
  p: 0,
13085
13090
  background: (i) => i.palette.neutral00,
13086
13091
  border: "none",
@@ -13091,14 +13096,19 @@ const qx = ({ children: e }) => {
13091
13096
  ...t
13092
13097
  }, children: e({ position: o }) }) });
13093
13098
  function vj({ Breadcrumbs: e, Subtitle: t, Metadata: n, Chips: o, ButtonGroup: i, Tabs: a, sx: s }) {
13094
- return d.jsx(Sp, { children: ({ position: l }) => d.jsxs(Ie, { "data-test-ink-page-header": !0, direction: "column", spacing: 2, position: l, sx: {
13099
+ return d.jsx(Sp, { children: ({ position: l }) => d.jsxs(Ie, { "data-test-ink-page-header": !0, direction: "column", spacing: 2, sx: {
13100
+ position: l,
13095
13101
  borderBottom: 1,
13096
13102
  borderColor: "divider",
13097
13103
  px: 3,
13098
13104
  py: 3,
13099
13105
  ...a && { pb: -3 },
13100
13106
  ...s
13101
- }, children: [d.jsxs(Ie, { direction: "row", spacing: 2, justifyContent: "space-between", alignItems: "center", sx: { minHeight: 36 }, children: [d.jsxs(Ie, { direction: "row", spacing: 1, alignItems: "center", children: [e, o] }), i] }), n, t, a] }) });
13107
+ }, children: [d.jsxs(Ie, { direction: "row", spacing: 2, sx: {
13108
+ justifyContent: "space-between",
13109
+ alignItems: "center",
13110
+ minHeight: 36
13111
+ }, children: [d.jsxs(Ie, { sx: { alignItems: "center" }, direction: "row", spacing: 1, children: [e, o] }), i] }), n, t, a] }) });
13102
13112
  }
13103
13113
  const Kx = {
13104
13114
  ".MuiBreadcrumbs-separator": {
@@ -13109,7 +13119,7 @@ function Yx({ label: e }) {
13109
13119
  return d.jsx(Ue, { "data-cy": "page-title", variant: "h5", component: "h1", sx: { wordBreak: "break-word", fontWeight: "600", color: "text.primary" }, children: e });
13110
13120
  }
13111
13121
  function Xx({ breadcrumb: e, i: t, onClick: n }) {
13112
- return d.jsx(Qf, { href: e.path, ...e.LinkProps, underline: "hover", "data-cy": `breadcrumb-${t}`, variant: "h5", color: "action.active", onClick: n, children: e.label });
13122
+ return d.jsx(Qf, { sx: { color: "action.active" }, href: e.path, ...e.LinkProps, underline: "hover", "data-cy": `breadcrumb-${t}`, variant: "h5", onClick: n, children: e.label });
13113
13123
  }
13114
13124
  function xj({ breadcrumbs: e }) {
13115
13125
  return d.jsx(Jf, { sx: Kx, "data-test-ink-page-header-breadcrumbs": !0, children: e?.map((t, n) => n === e.length - 1 ? d.jsx(Yx, { label: t.label }, `breadcrumb-${n}`) : d.jsx(Xx, { breadcrumb: t, i: n, onClick: t.onClick }, `breadcrumb-${n}`)) });
@@ -13138,7 +13148,7 @@ function Tj({ primaryAction: e, secondaryAction: t, dropdownAction: n }) {
13138
13148
  }, ...y, children: f }, h))] })] })] }), t && d.jsx($t, { "data-cy": "secondary", variant: "contained", color: "inherit", ...t, children: t.label }), e && d.jsx($t, { "data-cy": "primary", variant: "contained", ...e, sx: { whiteSpace: "nowrap" }, children: e.label })] });
13139
13149
  }
13140
13150
  function Jx({ subtitle: e, sx: t, ...n }) {
13141
- return d.jsx(Ue, { variant: "body2", color: "text.secondary", "data-cy": "header-subtitle", sx: { ...t }, ...n, children: e });
13151
+ return d.jsx(Ue, { variant: "body2", "data-cy": "header-subtitle", sx: { color: "text.secondary", ...t }, ...n, children: e });
13142
13152
  }
13143
13153
  function Cj({ label: e, Stepper: t, ButtonGroup: n, subtitle: o }) {
13144
13154
  const i = (a) => typeof a == "object" && a !== null && ("primary" in a || "close" in a);
@@ -13147,7 +13157,11 @@ function Cj({ label: e, Stepper: t, ButtonGroup: n, subtitle: o }) {
13147
13157
  py: 2.25,
13148
13158
  borderBottom: "1px solid",
13149
13159
  borderBottomColor: "neutral200"
13150
- }, children: ({ position: a }) => d.jsxs(Ie, { position: a, direction: "row", spacing: 2, justifyContent: "space-between", alignItems: "center", children: [d.jsx(Ue, { "data-test-ink-workflow-header-label": !0, variant: "h6", sx: { fontWeight: "600", flexGrow: "1" }, children: d.jsxs(Ie, { direction: "column", spacing: 0, children: [e, o && d.jsx(Jx, { component: "span", subtitle: o })] }) }), t && d.jsx(Me, { sx: { flexGrow: "2" }, "data-test-ink-workflow-header-stepper": !0, children: t }), n && d.jsx(Me, { sx: { flexGrow: "1", justifyContent: "end", display: "flex" }, "data-test-ink-workflow-header-button-group": !0, children: i(n) ? d.jsxs(Ie, { direction: "row", spacing: 1, children: [n.primary && d.jsx($t, { variant: "contained", endIcon: n.primary.loading ? d.jsx(Ks, { size: 20, color: "inherit" }) : void 0, disabled: n.primary.disabled || n.primary.loading, ...n.primary, "data-test-ink-workflow-header-primary-action": !0, children: n.primary.label }), n.close && d.jsx(no, { onClick: n.close.onClick, "data-test-ink-workflow-header-close-action": !0, children: d.jsx(nr, { children: "close_rounded" }) })] }) : n })] }) });
13160
+ }, children: ({ position: a }) => d.jsxs(Ie, { sx: {
13161
+ position: a,
13162
+ justifyContent: "space-between",
13163
+ alignItems: "center"
13164
+ }, direction: "row", spacing: 2, children: [d.jsx(Ue, { "data-test-ink-workflow-header-label": !0, variant: "h6", sx: { fontWeight: "600", flexGrow: "1" }, children: d.jsxs(Ie, { direction: "column", spacing: 0, children: [e, o && d.jsx(Jx, { component: "span", subtitle: o })] }) }), t && d.jsx(Me, { sx: { flexGrow: "2" }, "data-test-ink-workflow-header-stepper": !0, children: t }), n && d.jsx(Me, { sx: { flexGrow: "1", justifyContent: "end", display: "flex" }, "data-test-ink-workflow-header-button-group": !0, children: i(n) ? d.jsxs(Ie, { direction: "row", spacing: 1, children: [n.primary && d.jsx($t, { variant: "contained", endIcon: n.primary.loading ? d.jsx(Ks, { size: 20, color: "inherit" }) : void 0, disabled: n.primary.disabled || n.primary.loading, ...n.primary, "data-test-ink-workflow-header-primary-action": !0, children: n.primary.label }), n.close && d.jsx(no, { onClick: n.close.onClick, "data-test-ink-workflow-header-close-action": !0, children: d.jsx(nr, { children: "close_rounded" }) })] }) : n })] }) });
13151
13165
  }
13152
13166
  const Uo = Db({
13153
13167
  createStyledComponent: J("div", {
@@ -13462,7 +13476,7 @@ function wj({ Header: e, Description: t, Icon: n, CTA: o, children: i, shouldSho
13462
13476
  flexBasis: "100%",
13463
13477
  overflow: "hidden",
13464
13478
  textOverflow: "ellipsis"
13465
- }, children: [typeof e != "string" ? d.jsx(d.Fragment, { children: e }) : d.jsx(vn, { "data-test": "ink-paper-header", variant: "subtitle1", color: "text.primary", component: "strong", fontWeight: 600, children: e }), t && d.jsx(d.Fragment, { children: typeof t != "string" ? t : d.jsx(vn, { "data-test": "ink-paper-description", variant: "caption", color: "text.secondary", noWrap: !a, children: t }) })] }), o] }), u()] });
13479
+ }, children: [typeof e != "string" ? d.jsx(d.Fragment, { children: e }) : d.jsx(vn, { sx: { color: "text.primary", fontWeight: 600 }, "data-test": "ink-paper-header", variant: "subtitle1", component: "strong", children: e }), t && d.jsx(d.Fragment, { children: typeof t != "string" ? t : d.jsx(vn, { sx: { color: "text.secondary" }, "data-test": "ink-paper-description", variant: "caption", noWrap: !a, children: t }) })] }), o] }), u()] });
13466
13480
  }
13467
13481
  const yl = (e) => e.scrollTop;
13468
13482
  function or(e, t) {
@@ -14437,10 +14451,28 @@ const Oj = ({ name: e, options: t, value: n, ref: o, direction: i = "row", cardS
14437
14451
  borderRadius: 1,
14438
14452
  outlineColor: (R) => m(n === g, R.palette.primary.dark, R.palette.neutral200, R.palette.neutral200, S),
14439
14453
  ...a
14440
- }, children: [d.jsxs(Ie, { direction: "column", alignItems: "center", width: "100%", children: [y && d.jsx(Me, { sx: {
14454
+ }, children: [d.jsxs(Ie, { sx: { alignItems: "center", width: "100%" }, direction: "column", children: [y && d.jsx(Me, { sx: {
14441
14455
  color: S ? "neutral500" : n === g ? "text.primary" : "action.active",
14442
14456
  ".MuiSvgIcon-root": { fontSize: "2rem" }
14443
- }, children: y }), d.jsx(Ue, { variant: "subtitle1", textAlign: "center", lineHeight: "20px", mt: 0.5, color: S ? n === g ? "text.secondary" : "neutral500" : "text.primary", children: h }), T && d.jsx(Ue, { variant: "body2", textAlign: "center", mt: 1, color: `${S ? "neutral500" : "text.secondary"}`, children: T }), w && d.jsx(Ue, { variant: "body2", color: `${S ? "neutral500" : "text.secondary"}`, textAlign: "center", mt: 1, children: w })] }), v && d.jsx(Me, { mt: 2, display: "flex", justifyContent: "center", minHeight: f ? "24px" : 0, children: v })] });
14457
+ }, children: y }), d.jsx(Ue, { sx: {
14458
+ textAlign: "center",
14459
+ lineHeight: "20px",
14460
+ mt: 0.5,
14461
+ color: S ? n === g ? "text.secondary" : "neutral500" : "text.primary"
14462
+ }, variant: "subtitle1", children: h }), T && d.jsx(Ue, { sx: {
14463
+ textAlign: "center",
14464
+ mt: 1,
14465
+ color: `${S ? "neutral500" : "text.secondary"}`
14466
+ }, variant: "body2", children: T }), w && d.jsx(Ue, { sx: {
14467
+ color: `${S ? "neutral500" : "text.secondary"}`,
14468
+ textAlign: "center",
14469
+ mt: 1
14470
+ }, variant: "body2", children: w })] }), v && d.jsx(Me, { sx: {
14471
+ mt: 2,
14472
+ display: "flex",
14473
+ justifyContent: "center",
14474
+ minHeight: f ? "24px" : 0
14475
+ }, children: v })] });
14444
14476
  return d.jsx(Ys, { value: g, disabled: S, control: d.jsx(em, { sx: { display: "none" } }), sx: {
14445
14477
  width: s ? "100%" : "auto",
14446
14478
  ".MuiFormControlLabel-label": {
@@ -14630,7 +14662,19 @@ const Zc = {
14630
14662
  function Rj({ title: e, description: t, action: n, variant: o, icon: i, isLongLoading: a, sx: s }) {
14631
14663
  a && (e = e || ns.title, t = t || ns.description, i = i || ns.icon);
14632
14664
  const l = o === "search" ? "neutral00" : "neutral50", c = O1[o], { fontSize: u, fontSizeDescription: p, titleVariant: m, descriptionVariant: f } = c, g = (y) => !!y && "onClick" in y;
14633
- return d.jsxs(Ie, { alignItems: "center", justifyContent: "center", textAlign: "center", "data-cy": `empty-state-${o}-${a ? "long-loading-" : ""}container`, sx: { backgroundColor: l, p: 5, ...s }, children: [i && d.jsx(S1, { icon: i, variant: o }), e && d.jsx(Ue, { variant: m, sx: { fontSize: u }, "data-cy": "empty-state-title", children: d.jsx("strong", { children: e }) }), d.jsx(Ue, { variant: f, color: "text.secondary", sx: { fontSize: p, maxWidth: "500px", mt: 1 }, "data-cy": "empty-state-description", children: t }), n && d.jsx(Me, { mt: 3, children: g(n) ? d.jsx($t, { onClick: n.onClick, "data-cy": "empty-state-action-button", children: n.title }) : n })] });
14665
+ return d.jsxs(Ie, { "data-cy": `empty-state-${o}-${a ? "long-loading-" : ""}container`, sx: {
14666
+ alignItems: "center",
14667
+ justifyContent: "center",
14668
+ textAlign: "center",
14669
+ backgroundColor: l,
14670
+ p: 5,
14671
+ ...s
14672
+ }, children: [i && d.jsx(S1, { icon: i, variant: o }), e && d.jsx(Ue, { variant: m, sx: { fontSize: u }, "data-cy": "empty-state-title", children: d.jsx("strong", { children: e }) }), d.jsx(Ue, { variant: f, sx: {
14673
+ color: "text.secondary",
14674
+ fontSize: p,
14675
+ maxWidth: "500px",
14676
+ mt: 1
14677
+ }, "data-cy": "empty-state-description", children: t }), n && d.jsx(Me, { sx: { mt: 3 }, children: g(n) ? d.jsx($t, { onClick: n.onClick, "data-cy": "empty-state-action-button", children: n.title }) : n })] });
14634
14678
  }
14635
14679
  function E1(e) {
14636
14680
  return Se("MuiFormLabel", e);
@@ -16874,7 +16918,7 @@ function $j(e) {
16874
16918
  ...f
16875
16919
  },
16876
16920
  variant: "outlined"
16877
- }, anchor: "left", open: is(e) ? e.isOpen : !0, variant: t === "panel" ? "permanent" : "persistent", ...g, children: d.jsxs(Ie, { height: "100%", justifyContent: "space-between", children: [d.jsxs(Ie, { direction: "column", spacing: 3, sx: { p: 2 }, children: [d.jsxs(Ie, { direction: "row", alignItems: "center", children: [d.jsxs(Ie, { direction: "row", alignItems: "center", children: [y && d.jsx(cT, { Icon: y }), d.jsx(Ue, { sx: { ml: y && 1 }, "data-cy": "drawer-header", children: i })] }), is(e) && d.jsx(Xi, { title: "Close", placement: "bottom-end", disableInteractive: !0, slotProps: {
16921
+ }, anchor: "left", open: is(e) ? e.isOpen : !0, variant: t === "panel" ? "permanent" : "persistent", ...g, children: d.jsxs(Ie, { sx: { height: "100%", justifyContent: "space-between" }, children: [d.jsxs(Ie, { direction: "column", spacing: 3, sx: { p: 2 }, children: [d.jsxs(Ie, { sx: { alignItems: "center" }, direction: "row", children: [d.jsxs(Ie, { sx: { alignItems: "center" }, direction: "row", children: [y && d.jsx(cT, { Icon: y }), d.jsx(Ue, { sx: { ml: y && 1 }, "data-cy": "drawer-header", children: i })] }), is(e) && d.jsx(Xi, { title: "Close", placement: "bottom-end", disableInteractive: !0, slotProps: {
16878
16922
  popper: {
16879
16923
  modifiers: [
16880
16924
  {
@@ -16890,20 +16934,29 @@ function $j(e) {
16890
16934
  width: "40px",
16891
16935
  height: "40px",
16892
16936
  zIndex: (T) => T.zIndex.tooltip
16893
- }, children: d.jsx(nr, { fontSize: "small", children: "close_icon" }) }) })] }), n] }), o && d.jsx(Me, { "data-cy": "bottom-filter", sx: {
16937
+ }, children: d.jsx(nr, { sx: { fontSize: "small" }, children: "close_icon" }) }) })] }), n] }), o && d.jsx(Me, { "data-cy": "bottom-filter", sx: {
16894
16938
  px: 2,
16895
16939
  py: 1,
16896
16940
  borderTop: "1px solid",
16897
16941
  borderColor: "neutral200"
16898
16942
  }, children: o })] }) }), d.jsx(uT, { component: "main", open: is(e) ? e.isOpen : !0, drawerWidth: h, ...m, children: p })] });
16899
16943
  }
16900
- const dT = ({ iconComponent: e, isDragging: t = !1, "data-cy": n }) => e ? d.jsx(Ie, { justifyContent: "center", alignItems: "center", width: t ? 24 : 32, height: t ? 24 : 32, sx: {
16944
+ const dT = ({ iconComponent: e, isDragging: t = !1, "data-cy": n }) => e ? d.jsx(Ie, { sx: {
16945
+ justifyContent: "center",
16946
+ alignItems: "center",
16947
+ width: t ? 24 : 32,
16948
+ height: t ? 24 : 32,
16901
16949
  backgroundColor: (o) => o.palette.neutral00,
16902
16950
  borderRadius: 1,
16903
16951
  boxShadow: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);"
16904
16952
  }, "data-cy": n, children: d.jsx(e, { size: t ? "small" : "normal" }) }) : null, Ij = to(({ label: e, icon: t, description: n, disabled: o = !1, isDynamic: i = !1, isDragging: a = !1, fullWidth: s = !1, "data-cy": l, sx: c, ...u }, p) => {
16905
16953
  const m = l || "tile", f = `${m}-label`, g = `${m}-description`, y = `${m}-icon`;
16906
- return d.jsxs(Ie, { ref: p, direction: "row", alignItems: "center", gap: a ? 2.5 : 1.5, py: 1, px: a ? 1 : 1.5, pr: a ? 2 : void 0, sx: {
16954
+ return d.jsxs(Ie, { ref: p, direction: "row", sx: {
16955
+ alignItems: "center",
16956
+ gap: a ? 2.5 : 1.5,
16957
+ py: 1,
16958
+ px: a ? 1 : 1.5,
16959
+ pr: a ? 2 : void 0,
16907
16960
  cursor: o ? "not-allowed" : "grab",
16908
16961
  backgroundColor: (h) => h.palette.neutral100,
16909
16962
  borderRadius: 1,
@@ -16917,12 +16970,20 @@ const dT = ({ iconComponent: e, isDragging: t = !1, "data-cy": n }) => e ? d.jsx
16917
16970
  backgroundColor: o ? (h) => h.palette.neutral100 : (h) => h.palette.neutral200
16918
16971
  },
16919
16972
  ...c
16920
- }, "data-cy": l, ...u, children: [t && d.jsx(dT, { iconComponent: t, isDragging: a, "data-cy": y }), d.jsxs(Me, { flex: 1, children: [d.jsxs(Ie, { direction: "row", alignItems: "center", gap: 0.5, children: [d.jsx(Ue, { variant: "caption", display: "block", color: o ? "text.disabled" : "text.primary", fontWeight: a ? 400 : 600, "data-cy": f, children: e }), i && !a && d.jsx(xm, { sx: {
16973
+ }, "data-cy": l, ...u, children: [t && d.jsx(dT, { iconComponent: t, isDragging: a, "data-cy": y }), d.jsxs(Me, { sx: { flex: 1 }, children: [d.jsxs(Ie, { sx: { alignItems: "center", gap: 0.5 }, direction: "row", children: [d.jsx(Ue, { sx: {
16974
+ display: "block",
16975
+ color: o ? "text.disabled" : "text.primary",
16976
+ fontWeight: a ? 400 : 600
16977
+ }, variant: "caption", "data-cy": f, children: e }), i && !a && d.jsx(xm, { sx: {
16921
16978
  fontSize: 16,
16922
16979
  width: 16,
16923
16980
  height: 16,
16924
16981
  color: (h) => h.palette.purple200
16925
- }, "data-cy": "dynamic-indicator" })] }), n && !a && d.jsx(Ue, { variant: "caption", display: "block", color: o ? "text.disabled" : "text.secondary", fontSize: 12, "data-cy": g, children: n })] })] });
16982
+ }, "data-cy": "dynamic-indicator" })] }), n && !a && d.jsx(Ue, { sx: {
16983
+ display: "block",
16984
+ color: o ? "text.disabled" : "text.secondary",
16985
+ fontSize: 12
16986
+ }, variant: "caption", "data-cy": g, children: n })] })] });
16926
16987
  }), Aj = ({ children: e, maxSnack: t = 3, anchorOrigin: n = {
16927
16988
  horizontal: "center",
16928
16989
  vertical: "bottom"
@@ -24925,7 +24986,7 @@ const rf = nt(/* @__PURE__ */ d.jsx("path", {
24925
24986
  function Fj({ message: e, sx: t, messageSx: n }) {
24926
24987
  return d.jsx(nd, { severity: "info", "data-cy": "internal-user-only-alert", sx: { alignItems: "center", ...t }, iconMapping: {
24927
24988
  info: d.jsx(rf, {})
24928
- }, children: d.jsxs(Ie, { direction: "row", gap: 1, alignItems: "center", children: [d.jsx(Op, { sx: { color: "text.secondary" } }), d.jsx(Ie, { children: "-" }), d.jsx(Ue, { variant: "body2", sx: n, "data-cy": "internal-user-only-alert-message", children: e || "This page has limited access to internal users only." })] }) });
24989
+ }, children: d.jsxs(Ie, { sx: { gap: 1, alignItems: "center" }, direction: "row", children: [d.jsx(Op, { sx: { color: "text.secondary" } }), d.jsx(Ie, { children: "-" }), d.jsx(Ue, { variant: "body2", sx: n, "data-cy": "internal-user-only-alert-message", children: e || "This page has limited access to internal users only." })] }) });
24929
24990
  }
24930
24991
  function Bw() {
24931
24992
  this.__data__ = [], this.size = 0;
@@ -25683,7 +25744,7 @@ function zj({ chartOptions: e, type: t, data: n, customColors: o, height: i = 20
25683
25744
  }
25684
25745
  }, f = o || p, g = kP(aP(m), e), y = f.reduce((w, O) => (w[O] = 0, w), {}), h = (w) => f[w % f.length];
25685
25746
  if (a)
25686
- return d.jsx(_o, { "data-test": "chart-loading-skeleton", animation: "wave", variant: "rounded", width: "100%", height: i });
25747
+ return d.jsx(_o, { sx: { width: "100%", height: i }, "data-test": "chart-loading-skeleton", animation: "wave", variant: "rounded" });
25687
25748
  if (!n)
25688
25749
  return;
25689
25750
  const T = { width: "100%", height: i, maxHeight: i };
@@ -25767,13 +25828,21 @@ function Wj({ checkboxProps: e, title: t, avatar: n, size: o = "medium", subhead
25767
25828
  color: "text.secondary"
25768
25829
  }
25769
25830
  } }), h = m || a || l && !f;
25770
- return d.jsxs(Ie, { children: [h && d.jsxs(Ie, { direction: "row", alignItems: "center", justifyContent: "space-between", sx: { mt: 1, mb: 1, mr: 1 }, children: [d.jsx(Ie, { direction: "row", flex: 1, alignItems: "center", children: m && d.jsx(Ys, { sx: { ml: 0.5 }, control: d.jsx(rd, { size: "small", "data-cy": "inkcardheader-selection-checkbox", ...e, disabled: c ?? e?.disabled }), label: d.jsx(Me, { component: "span", sx: vh, children: t }) }) }), d.jsxs(Ie, { direction: "row", spacing: 1, alignItems: "center", children: [a && d.jsx(Me, { sx: { pr: l ? 0 : 1 }, children: a }), l && !f && g] })] }), y()] });
25831
+ return d.jsxs(Ie, { children: [h && d.jsxs(Ie, { direction: "row", sx: {
25832
+ alignItems: "center",
25833
+ justifyContent: "space-between",
25834
+ mt: 1,
25835
+ mb: 1,
25836
+ mr: 1
25837
+ }, children: [d.jsx(Ie, { sx: { flex: 1, alignItems: "center" }, direction: "row", children: m && d.jsx(Ys, { sx: { ml: 0.5 }, control: d.jsx(rd, { size: "small", "data-cy": "inkcardheader-selection-checkbox", ...e, disabled: c ?? e?.disabled }), label: d.jsx(Me, { component: "span", sx: vh, children: t }) }) }), d.jsxs(Ie, { sx: { alignItems: "center" }, direction: "row", spacing: 1, children: [a && d.jsx(Me, { sx: { pr: l ? 0 : 1 }, children: a }), l && !f && g] })] }), y()] });
25771
25838
  }
25772
25839
  const MP = nt(/* @__PURE__ */ d.jsx("path", {
25773
25840
  d: "M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2M8.5 13.5l2.5 3.01L14.5 12l4.5 6H5z"
25774
25841
  }), "Image");
25775
25842
  function NP() {
25776
- return d.jsxs(d.Fragment, { children: [d.jsx(_o, { variant: "rectangular", width: "100%", height: "100%", animation: "wave", sx: {
25843
+ return d.jsxs(d.Fragment, { children: [d.jsx(_o, { variant: "rectangular", animation: "wave", sx: {
25844
+ width: "100%",
25845
+ height: "100%",
25777
25846
  position: "absolute",
25778
25847
  top: 0,
25779
25848
  left: 0,
@@ -25903,11 +25972,20 @@ function FP({ columnData: e, handleColumnFilterChange: t, customGridVisibility:
25903
25972
  paddingBottom: 0
25904
25973
  }, children: d.jsx(Ys, { control: d.jsx(rd, { checked: n[v], onChange: (S) => y(S.target.checked, v) }), label: x, sx: {
25905
25974
  display: i?.includes(v) ? "none" : void 0
25906
- } }) }, v)) }), d.jsx(mm, { sx: { position: "sticky", bottom: 0, zIndex: 1, padding: 0 }, variant: "outlined", children: d.jsxs(Ie, { flexDirection: "row", justifyContent: "space-between", sx: { mx: 1.5, py: 1 }, children: [d.jsx($t, { onClick: h, children: "Deselect all" }), d.jsx($t, { onClick: T, children: "Select all" })] }) })] })] });
25975
+ } }) }, v)) }), d.jsx(mm, { sx: { position: "sticky", bottom: 0, zIndex: 1, padding: 0 }, variant: "outlined", children: d.jsxs(Ie, { sx: {
25976
+ flexDirection: "row",
25977
+ justifyContent: "space-between",
25978
+ mx: 1.5,
25979
+ py: 1
25980
+ }, children: [d.jsx($t, { onClick: h, children: "Deselect all" }), d.jsx($t, { onClick: T, children: "Select all" })] }) })] })] });
25907
25981
  }
25908
25982
  function qj({ groupingProps: e, filterDrawerBtnProps: t, showFilterDrawerBtn: n = !1, showQuickFilter: o = !0, showExportButton: i = !1, showDensitySelector: a = !1, onExportClick: s, loadingExport: l, columnPickerProps: c, children: u, py: p = 2 }) {
25909
25983
  const { value: m, onChange: f, options: g } = e ?? {};
25910
- return d.jsx(Dm, { sx: { py: p }, children: d.jsxs(Ie, { direction: "column", sx: { width: "100%" }, children: [d.jsxs(Ie, { justifyContent: o ? "space-between" : "end", alignItems: "center", direction: "row", width: "100%", children: [d.jsxs(Ie, { direction: "row", spacing: 2, alignItems: "center", children: [o && d.jsx(Bm, { sx: {
25984
+ return d.jsx(Dm, { sx: { py: p }, children: d.jsxs(Ie, { direction: "column", sx: { width: "100%" }, children: [d.jsxs(Ie, { sx: {
25985
+ justifyContent: o ? "space-between" : "end",
25986
+ alignItems: "center",
25987
+ width: "100%"
25988
+ }, direction: "row", children: [d.jsxs(Ie, { sx: { alignItems: "center" }, direction: "row", spacing: 2, children: [o && d.jsx(Bm, { sx: {
25911
25989
  ".MuiInputBase-input": { p: 0 },
25912
25990
  ".MuiInput-root:after": { borderBottom: "none" }
25913
25991
  }, "data-cy": "grid-tool-bar-quick-filter" }), n && t && d.jsx(hm, { badgeContent: t.filterBtnBadgeContent, color: "primary", "data-cy": "grid-tool-bar-filter-badge", children: d.jsx(_P, { onClick: t.onShowFilterDrawerClick }) })] }), d.jsxs(Ie, { direction: "row", spacing: 1, children: [a && d.jsx(Fm, { slotProps: { button: { size: "small" } } }), c && d.jsx(FP, { columnData: c.columnData, handleColumnFilterChange: c.handleColumnFilterChange, customGridVisibility: c.customGridVisibility, lockedFields: c.lockedFields, hiddenInColumnPicker: c.hiddenInColumnPicker }), i && d.jsx(zm, { slotProps: { button: { size: "small" } } }), m !== void 0 && f && g && d.jsx(DP, { value: m, onChange: f, options: g }), s && d.jsx(LP, { onClick: s, loadingExport: l })] })] }), u] }) });
@@ -25930,7 +26008,7 @@ function Yj({ testSelector: e = "", emptyColumns: t }) {
25930
26008
  function Xj(e) {
25931
26009
  return e.map((n) => ({
25932
26010
  ...n,
25933
- renderCell: () => d.jsx(_o, { variant: "rectangular", height: 30, width: "100%" })
26011
+ renderCell: () => d.jsx(_o, { sx: { height: 30, width: "100%" }, variant: "rectangular" })
25934
26012
  }));
25935
26013
  }
25936
26014
  function VP({ value: e, wordBreak: t = "break-word", textAlign: n = "left", sx: o = {} }) {
@@ -26328,13 +26406,13 @@ const UP = nt(/* @__PURE__ */ d.jsx("path", {
26328
26406
  }, Yo = "—";
26329
26407
  function GP({ trend: e }) {
26330
26408
  const t = e.direction === "up", n = t ? UP : HP, o = t ? B.greenA700 : B.error.main;
26331
- return d.jsxs(Ie, { direction: "row", alignItems: "center", spacing: 0.25, sx: { color: o }, children: [d.jsx(n, { sx: { fontSize: "1rem" } }), d.jsx(Ue, { variant: "body2", fontWeight: 500, sx: { color: o }, children: e.value })] });
26409
+ return d.jsxs(Ie, { direction: "row", spacing: 0.25, sx: { alignItems: "center", color: o }, children: [d.jsx(n, { sx: { fontSize: "1rem" } }), d.jsx(Ue, { variant: "body2", sx: { fontWeight: 500, color: o }, children: e.value })] });
26332
26410
  }
26333
26411
  function qP({ primaryMetric: e, graph: t, isEmpty: n }) {
26334
- return d.jsxs(Ie, { direction: "row", justifyContent: "space-between", alignItems: "flex-start", children: [d.jsxs(Me, { children: [d.jsxs(Ie, { direction: "row", alignItems: "center", spacing: 1, children: [d.jsx(Ue, { variant: "h4", fontWeight: 700, lineHeight: 1.2, children: n ? Yo : e.value }), !n && e.trend && d.jsx(GP, { trend: e.trend })] }), d.jsx(Ue, { variant: "body2", color: "text.secondary", children: e.label })] }), t && !n && d.jsx(Me, { sx: { flexShrink: 0 }, children: t })] });
26412
+ return d.jsxs(Ie, { sx: { justifyContent: "space-between", alignItems: "flex-start" }, direction: "row", children: [d.jsxs(Me, { children: [d.jsxs(Ie, { sx: { alignItems: "center" }, direction: "row", spacing: 1, children: [d.jsx(Ue, { sx: { fontWeight: 700, lineHeight: 1.2 }, variant: "h4", children: n ? Yo : e.value }), !n && e.trend && d.jsx(GP, { trend: e.trend })] }), d.jsx(Ue, { sx: { color: "text.secondary" }, variant: "body2", children: e.label })] }), t && !n && d.jsx(Me, { sx: { flexShrink: 0 }, children: t })] });
26335
26413
  }
26336
26414
  function KP({ metrics: e, isEmpty: t }) {
26337
- return d.jsx(Ie, { direction: "row", divider: d.jsx(od, { orientation: "vertical", flexItem: !0 }), spacing: 2, children: e.slice(0, 3).map((n, o) => d.jsxs(Me, { children: [d.jsx(Ue, { variant: "body1", fontWeight: 700, children: t ? Yo : n.value }), d.jsx(Ue, { variant: "body2", color: "text.secondary", children: n.label })] }, o)) });
26415
+ return d.jsx(Ie, { direction: "row", divider: d.jsx(od, { orientation: "vertical", flexItem: !0 }), spacing: 2, children: e.slice(0, 3).map((n, o) => d.jsxs(Me, { children: [d.jsx(Ue, { sx: { fontWeight: 700 }, variant: "body1", children: t ? Yo : n.value }), d.jsx(Ue, { sx: { color: "text.secondary" }, variant: "body2", children: n.label })] }, o)) });
26338
26416
  }
26339
26417
  function YP({ directIndirect: e, isEmpty: t }) {
26340
26418
  const { directPercent: n, directLabel: o = "Direct", indirectLabel: i = "Indirect" } = e, a = 100 - n;
@@ -26347,12 +26425,12 @@ function YP({ directIndirect: e, isEmpty: t }) {
26347
26425
  width: t ? "0%" : `${n}%`,
26348
26426
  bgcolor: B.primary.main,
26349
26427
  transition: "width 0.3s"
26350
- } }), d.jsx(Me, { sx: { flex: 1, bgcolor: B.blue200 } })] }), d.jsxs(Ie, { direction: "row", justifyContent: "space-between", mt: 0.5, children: [d.jsxs(Ue, { variant: "body2", children: [d.jsx("strong", { children: t ? Yo : `${n}%` }), " ", d.jsx(Ue, { component: "span", variant: "body2", color: "text.secondary", children: o })] }), d.jsxs(Ue, { variant: "body2", children: [d.jsx("strong", { children: t ? Yo : `${a}%` }), " ", d.jsx(Ue, { component: "span", variant: "body2", color: "text.secondary", children: i })] })] })] });
26428
+ } }), d.jsx(Me, { sx: { flex: 1, bgcolor: B.blue200 } })] }), d.jsxs(Ie, { sx: { justifyContent: "space-between", mt: 0.5 }, direction: "row", children: [d.jsxs(Ue, { variant: "body2", children: [d.jsx("strong", { children: t ? Yo : `${n}%` }), " ", d.jsx(Ue, { sx: { color: "text.secondary" }, component: "span", variant: "body2", children: o })] }), d.jsxs(Ue, { variant: "body2", children: [d.jsx("strong", { children: t ? Yo : `${a}%` }), " ", d.jsx(Ue, { sx: { color: "text.secondary" }, component: "span", variant: "body2", children: i })] })] })] });
26351
26429
  }
26352
26430
  function ek(e) {
26353
26431
  const { isEmpty: t, sx: n } = e;
26354
26432
  if (e.variant === "simple") {
26355
- const { metric: c, href: u, onClick: p } = e, m = !!(u || p), f = d.jsxs(d.Fragment, { children: [d.jsx(Ue, { variant: "h6", fontWeight: 700, children: t ? Yo : c.value }), d.jsx(Ue, { variant: "body2", color: "text.secondary", children: c.label })] });
26433
+ const { metric: c, href: u, onClick: p } = e, m = !!(u || p), f = d.jsxs(d.Fragment, { children: [d.jsx(Ue, { sx: { fontWeight: 700 }, variant: "h6", children: t ? Yo : c.value }), d.jsx(Ue, { sx: { color: "text.secondary" }, variant: "body2", children: c.label })] });
26356
26434
  return d.jsx($i, { variant: "outlined", sx: { pb: 0, ...n }, "data-cy": "ink-metric-card", "data-cy-variant": "simple", children: m ? d.jsx(gm, { component: u ? "a" : "button", href: u, onClick: p, sx: {
26357
26435
  p: 2,
26358
26436
  borderRadius: "inherit",
@@ -26360,7 +26438,7 @@ function ek(e) {
26360
26438
  }, "data-cy": "ink-metric-card-content", children: f }) : d.jsx(Me, { sx: { p: 2 }, "data-cy": "ink-metric-card-content", children: f }) });
26361
26439
  }
26362
26440
  const { title: o, primaryMetric: i, secondaryMetrics: a, graph: s } = e, l = e.variant === "robust" ? e.directIndirect : void 0;
26363
- return d.jsx($i, { variant: "outlined", sx: n, "data-cy": "ink-metric-card", "data-cy-variant": e.variant, children: d.jsx(Me, { sx: { p: 2 }, children: d.jsxs(Ie, { spacing: 2, children: [d.jsx(Ue, { variant: "overline", color: "text.secondary", sx: { lineHeight: 1 }, "data-cy": "ink-metric-card-title", children: o }), d.jsx(qP, { primaryMetric: i, graph: s, isEmpty: t }), a && a.length > 0 && d.jsx(KP, { metrics: a, isEmpty: t }), l && d.jsx(YP, { directIndirect: l, isEmpty: t })] }) }) });
26441
+ return d.jsx($i, { variant: "outlined", sx: n, "data-cy": "ink-metric-card", "data-cy-variant": e.variant, children: d.jsx(Me, { sx: { p: 2 }, children: d.jsxs(Ie, { spacing: 2, children: [d.jsx(Ue, { variant: "overline", sx: { color: "text.secondary", lineHeight: 1 }, "data-cy": "ink-metric-card-title", children: o }), d.jsx(qP, { primaryMetric: i, graph: s, isEmpty: t }), a && a.length > 0 && d.jsx(KP, { metrics: a, isEmpty: t }), l && d.jsx(YP, { directIndirect: l, isEmpty: t })] }) }) });
26364
26442
  }
26365
26443
  const ct = $b({
26366
26444
  createStyledComponent: J("div", {
@@ -26516,16 +26594,16 @@ function rk({ Header: e, children: t, sx: n, itemProps: o, ...i }) {
26516
26594
  }
26517
26595
  function XP({ children: e, itemProps: t, containerProps: n }) {
26518
26596
  const o = { xs: 12, lg: 10 };
26519
- return d.jsx(jo, { container: !0, justifyContent: "center", "data-cy": "full-content-layout-container", ...n, children: d.jsx(jo, { container: !0, justifyContent: "center", direction: "column", "data-cy": "full-content-layout-content", size: t?.size || o, ...t, children: e }) });
26597
+ return d.jsx(jo, { sx: { justifyContent: "center" }, container: !0, "data-cy": "full-content-layout-container", ...n, children: d.jsx(jo, { sx: { justifyContent: "center" }, container: !0, direction: "column", "data-cy": "full-content-layout-content", size: t?.size || o, ...t, children: e }) });
26520
26598
  }
26521
26599
  function ok({ children: e, itemProps: t, containerProps: n }) {
26522
- return d.jsx(ct, { container: !0, justifyContent: "center", "data-cy": "eight-column-layout-container", ...n, children: d.jsx(ct, { container: !0, justifyContent: "center", direction: "column", "data-cy": "eight-column-layout-content", size: {
26600
+ return d.jsx(ct, { sx: { justifyContent: "center" }, container: !0, "data-cy": "eight-column-layout-container", ...n, children: d.jsx(ct, { sx: { justifyContent: "center" }, container: !0, direction: "column", "data-cy": "eight-column-layout-content", size: {
26523
26601
  xs: 12,
26524
26602
  lg: 8
26525
26603
  }, ...t, children: e }) });
26526
26604
  }
26527
26605
  function ik({ children: e, itemProps: t, containerProps: n }) {
26528
- return d.jsx(ct, { container: !0, justifyContent: "center", "data-cy": "ten-column-layout-container", ...n, children: d.jsx(ct, { "data-cy": "ten-column-layout-content", size: {
26606
+ return d.jsx(ct, { sx: { justifyContent: "center" }, container: !0, "data-cy": "ten-column-layout-container", ...n, children: d.jsx(ct, { "data-cy": "ten-column-layout-content", size: {
26529
26607
  xs: 12,
26530
26608
  lg: 10
26531
26609
  }, ...t, children: e }) });
@@ -26538,10 +26616,10 @@ function ak({ children: e, containerProps: t, itemProps: n }) {
26538
26616
  }
26539
26617
  function JP({ containerProps: e, leftContent: t, rightContent: n, leftProps: o, rightProps: i }) {
26540
26618
  const a = { xs: 12, lg: 6 };
26541
- return d.jsxs(jo, { container: !0, justifyContent: "center", spacing: 2, "data-cy": "split-content-layout-container", ...e, children: [d.jsx(jo, { "data-cy": "left-content", size: o?.size || a, ...o, children: t }), d.jsx(jo, { "data-cy": "right-content", size: i?.size || a, ...i, children: n })] });
26619
+ return d.jsxs(jo, { sx: { justifyContent: "center" }, container: !0, spacing: 2, "data-cy": "split-content-layout-container", ...e, children: [d.jsx(jo, { "data-cy": "left-content", size: o?.size || a, ...o, children: t }), d.jsx(jo, { "data-cy": "right-content", size: i?.size || a, ...i, children: n })] });
26542
26620
  }
26543
26621
  function sk({ leftContent: e, rightContent: t, containerProps: n, leftProps: o, rightProps: i }) {
26544
- return d.jsxs(ct, { container: !0, justifyContent: "center", spacing: 2, "data-cy": "five-three-layout-grid", ...n, children: [d.jsx(ct, { "data-cy": "five-three-left-grid", size: {
26622
+ return d.jsxs(ct, { sx: { justifyContent: "center" }, container: !0, spacing: 2, "data-cy": "five-three-layout-grid", ...n, children: [d.jsx(ct, { "data-cy": "five-three-left-grid", size: {
26545
26623
  xs: 12,
26546
26624
  lg: 5
26547
26625
  }, ...o, children: e }), d.jsx(ct, { "data-cy": "five-three-right-grid", size: {
@@ -26550,7 +26628,7 @@ function sk({ leftContent: e, rightContent: t, containerProps: n, leftProps: o,
26550
26628
  }, ...i, children: t })] });
26551
26629
  }
26552
26630
  function lk({ leftContent: e, rightContent: t, containerProps: n, leftProps: o, rightProps: i }) {
26553
- return d.jsxs(ct, { container: !0, justifyContent: "center", spacing: 2, "data-cy": "seven-three-layout-grid", ...n, children: [d.jsx(ct, { "data-cy": "seven-three-left-grid", size: {
26631
+ return d.jsxs(ct, { sx: { justifyContent: "center" }, container: !0, spacing: 2, "data-cy": "seven-three-layout-grid", ...n, children: [d.jsx(ct, { "data-cy": "seven-three-left-grid", size: {
26554
26632
  xs: 12,
26555
26633
  lg: 7
26556
26634
  }, ...o, children: e }), d.jsx(ct, { "data-cy": "seven-three-right-grid", size: {
@@ -26568,7 +26646,19 @@ function ck({ leftContent: e, rightContent: t, containerProps: n, leftProps: o,
26568
26646
  } });
26569
26647
  }
26570
26648
  function uk({ children: e, panelContent: t, wrapperProps: n, panelProps: o, containerProps: i, itemProps: a }) {
26571
- return d.jsxs(Me, { display: "flex", width: "100%", minHeight: "100vh", sx: { backgroundColor: (s) => s.palette.neutral100 }, "data-cy": "panel-paper-layout-wrapper", ...n, children: [d.jsx(Me, { flexShrink: 0, width: { xs: "100%", lg: 320 }, height: "100vh", overflow: "auto", bgcolor: "white", p: 3, "data-cy": "panel-paper-layout", ...o, children: t }), d.jsx(Me, { flexGrow: 1, overflow: "auto", height: "100vh", children: d.jsx(ct, { container: !0, justifyContent: "center", "data-cy": "panel-paper-layout-container", ...i, children: d.jsx(ct, { "data-cy": "panel-paper-layout-content", size: {
26649
+ return d.jsxs(Me, { sx: {
26650
+ display: "flex",
26651
+ width: "100%",
26652
+ minHeight: "100vh",
26653
+ backgroundColor: (s) => s.palette.neutral100
26654
+ }, "data-cy": "panel-paper-layout-wrapper", ...n, children: [d.jsx(Me, { sx: {
26655
+ flexShrink: 0,
26656
+ width: { xs: "100%", lg: 320 },
26657
+ height: "100vh",
26658
+ overflow: "auto",
26659
+ bgcolor: "white",
26660
+ p: 3
26661
+ }, "data-cy": "panel-paper-layout", ...o, children: t }), d.jsx(Me, { sx: { flexGrow: 1, overflow: "auto", height: "100vh" }, children: d.jsx(ct, { sx: { justifyContent: "center" }, container: !0, "data-cy": "panel-paper-layout-container", ...i, children: d.jsx(ct, { "data-cy": "panel-paper-layout-content", size: {
26572
26662
  xs: 12,
26573
26663
  lg: 8
26574
26664
  }, ...a, children: e }) }) })] });
@@ -27211,7 +27301,7 @@ Hs.renderStatic = Hs.rewind;
27211
27301
  const dk = ({ title: e, addTitleSuffix: t = !0, description: n, children: o }) => {
27212
27302
  const i = e + (t ? " | Movable Ink" : "");
27213
27303
  return d.jsxs(d.Fragment, { children: [d.jsxs(Hs, { children: [!!e && d.jsx("title", { children: i }), !!n && d.jsx("meta", { name: "description", content: n })] }), o] });
27214
- }, pk = ({ skeletonRows: e, skeletonColumns: t }) => d.jsx(d.Fragment, { children: Array.from({ length: e }).map((n, o) => d.jsx(ct, { container: !0, spacing: 2, sx: { mb: 2 }, children: Array.from({ length: t }).map((i, a) => d.jsxs(ct, { size: "grow", children: [d.jsx(_o, { variant: "text", width: 100, height: 20 }), d.jsx(_o, { variant: "rectangular", height: 40, sx: { borderRadius: 1 }, "data-test": "loading-skeleton" })] }, a)) }, o)) });
27304
+ }, pk = ({ skeletonRows: e, skeletonColumns: t }) => d.jsx(d.Fragment, { children: Array.from({ length: e }).map((n, o) => d.jsx(ct, { container: !0, spacing: 2, sx: { mb: 2 }, children: Array.from({ length: t }).map((i, a) => d.jsxs(ct, { size: "grow", children: [d.jsx(_o, { sx: { width: 100, height: 20 }, variant: "text" }), d.jsx(_o, { variant: "rectangular", sx: { height: 40, borderRadius: 1 }, "data-test": "loading-skeleton" })] }, a)) }, o)) });
27215
27305
  function fk() {
27216
27306
  const [e, t] = Mt(null);
27217
27307
  return [e, async (o) => {