@moh-sso/email 1.5.0 → 1.5.1

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.
@@ -1,10 +1,11 @@
1
1
  import { type RefObject } from "react";
2
2
  type FocusTrapOptions = {
3
3
  active: boolean;
4
+ trapFocus?: boolean;
4
5
  containerRef: RefObject<HTMLElement | null>;
5
6
  restoreFocus?: boolean;
6
7
  initialFocusRef?: RefObject<HTMLElement | HTMLButtonElement | null>;
7
8
  initialFocusSelector?: string;
8
9
  };
9
- export declare function useFocusTrap({ active, containerRef, restoreFocus, initialFocusRef, initialFocusSelector, }: FocusTrapOptions): void;
10
+ export declare function useFocusTrap({ active, trapFocus, containerRef, restoreFocus, initialFocusRef, initialFocusSelector, }: FocusTrapOptions): void;
10
11
  export {};
@@ -1,6 +1,7 @@
1
1
  import type { PanelSize } from "./header-panel.context";
2
2
  type Props = {
3
3
  isOpen: boolean;
4
+ dockOnDesktop?: boolean;
4
5
  title?: string;
5
6
  content?: React.ReactNode;
6
7
  onClose: () => void;
@@ -13,5 +14,5 @@ type Props = {
13
14
  maximizable?: boolean;
14
15
  defaultMaximized?: boolean;
15
16
  };
16
- export declare function ReusableHeaderPanel({ isOpen, title, content, onClose, size, primaryActionLabel, secondaryActionLabel, onPrimaryAction, onSecondaryAction, disablePrimaryAction, maximizable, defaultMaximized, }: Props): import("react").JSX.Element;
17
+ export declare function ReusableHeaderPanel({ isOpen, dockOnDesktop, title, content, onClose, size, primaryActionLabel, secondaryActionLabel, onPrimaryAction, onSecondaryAction, disablePrimaryAction, maximizable, defaultMaximized, }: Props): import("react").JSX.Element;
17
18
  export {};
@@ -1,6 +1,7 @@
1
1
  import React from "react";
2
2
  export type PanelSize = "sm" | "md" | "lg";
3
3
  type OpenPanelOptions = {
4
+ dockOnDesktop?: boolean;
4
5
  title?: string;
5
6
  content: React.ReactNode;
6
7
  size?: PanelSize;
@@ -16,8 +17,9 @@ type HeaderPanelContextType = {
16
17
  openPanel: (opts: OpenPanelOptions) => void;
17
18
  closePanel: () => void;
18
19
  };
19
- export declare function HeaderPanelProvider({ children }: {
20
+ export declare function HeaderPanelProvider({ children, dockOnDesktop, }: {
20
21
  children: React.ReactNode;
22
+ dockOnDesktop?: boolean;
21
23
  }): React.JSX.Element;
22
24
  export declare function useHeaderPanel(): HeaderPanelContextType;
23
25
  export {};
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, jsxs as l, Fragment as ue } from "react/jsx-runtime";
2
- import { Tile as xe, Stack as K, Form as rt, Button as A, TextInput as v, MultiSelect as Oe, Checkbox as le, Select as lt, SelectItem as dt, TextArea as Be, Tag as Se, Loading as ct, OverflowMenu as mt, OverflowMenuItem as Ce, Search as ut, Dropdown as pt, InlineLoading as Le, DataTable as yt, Table as ht, TableHead as Rt, TableRow as $e, TableSelectAll as gt, TableHeader as bt, TableBody as ft, TableCell as de, TableSelectRow as Tt, Pagination as St } from "@carbon/react";
2
+ import { Tile as xe, Stack as K, Form as rt, Button as A, TextInput as v, MultiSelect as Oe, Checkbox as le, Select as lt, SelectItem as dt, TextArea as Be, Tag as Se, Loading as ct, OverflowMenu as mt, OverflowMenuItem as Ce, Search as ut, Dropdown as pt, InlineLoading as Le, DataTable as ht, Table as yt, TableHead as Rt, TableRow as $e, TableSelectAll as gt, TableHeader as bt, TableBody as ft, TableCell as de, TableSelectRow as Tt, Pagination as St } from "@carbon/react";
3
3
  import { TrashCan as _t, Add as vt } from "@carbon/react/icons";
4
4
  import { useId as Ct, useRef as $t, useState as u, useMemo as Z, useEffect as Ut } from "react";
5
5
  import { h as It, f as qt, c as xt, b as Lt, g as At, u as Pt } from "./email.api-BFecBvcu.js";
@@ -32,10 +32,7 @@ const o = "/admin/rbac", wt = Pe.injectEndpoints({
32
32
  body: a
33
33
  }),
34
34
  transformResponse: (e) => e.data,
35
- invalidatesTags: (e, a, { clientId: s }) => [
36
- { type: "RbacSystem", id: "LIST" },
37
- { type: "RbacSystem", id: s }
38
- ]
35
+ invalidatesTags: (e, a, { clientId: s }) => a ? [] : [{ type: "RbacSystem", id: "LIST" }, { type: "RbacSystem", id: s }, "Auth"]
39
36
  }),
40
37
  transitionRbacSystem: t.mutation({
41
38
  query: ({ clientId: e, ...a }) => ({
@@ -47,7 +44,8 @@ const o = "/admin/rbac", wt = Pe.injectEndpoints({
47
44
  invalidatesTags: (e, a, { clientId: s }) => [
48
45
  { type: "RbacSystem", id: "LIST" },
49
46
  { type: "RbacSystem", id: s },
50
- { type: "RbacAudit", id: "LIST" }
47
+ { type: "RbacAudit", id: "LIST" },
48
+ ...a ? [] : ["Auth"]
51
49
  ]
52
50
  }),
53
51
  listRbacPermissions: t.query({
@@ -302,14 +300,14 @@ const o = "/admin/rbac", wt = Pe.injectEndpoints({
302
300
  method: "POST",
303
301
  body: a
304
302
  }),
305
- invalidatesTags: (e, a, { clientId: s }) => [{ type: "RbacSystem", id: s }]
303
+ invalidatesTags: (e, a, { clientId: s }) => a ? [] : [{ type: "RbacSystem", id: s }, "Auth"]
306
304
  }),
307
305
  removeSystemAccessRole: t.mutation({
308
306
  query: ({ clientId: e, roleName: a, force: s }) => ({
309
307
  url: `${o}/systems/${encodeURIComponent(e)}/access-roles/${encodeURIComponent(a)}${s ? "?force=true" : ""}`,
310
308
  method: "DELETE"
311
309
  }),
312
- invalidatesTags: (e, a, { clientId: s }) => [{ type: "RbacSystem", id: s }]
310
+ invalidatesTags: (e, a, { clientId: s }) => a ? [] : [{ type: "RbacSystem", id: s }, "Auth"]
313
311
  }),
314
312
  getRbacDrift: t.query({
315
313
  query: () => `${o}/drift`,
@@ -522,8 +520,8 @@ const o = "/admin/rbac", wt = Pe.injectEndpoints({
522
520
  usePreviewRbacImportMutation: ms,
523
521
  usePreviewRbacRealmExportDriftMutation: us,
524
522
  usePreviewRbacSyncMutation: ps,
525
- useRemoveGroupPermissionMutation: ys,
526
- useRemoveRbacGroupMemberMutation: hs,
523
+ useRemoveGroupPermissionMutation: hs,
524
+ useRemoveRbacGroupMemberMutation: ys,
527
525
  useRemoveGroupRealmRoleMutation: Rs,
528
526
  useRemoveGroupSystemRoleMutation: gs,
529
527
  useRemoveRealmRolePermissionMutation: bs,
@@ -1002,7 +1000,7 @@ function Xt(t) {
1002
1000
  }
1003
1001
  }
1004
1002
  const Zt = ({ onSuccess: t }) => {
1005
- const e = Fe(), a = Ct(), s = $t(0), [r, f] = u(""), [$, g] = u(""), [H, O] = u([]), [D, ee] = u([]), [te, P] = u(!1), [E, B] = u(""), [T, q] = u(""), [S, ae] = u(""), [N, G] = u(""), [j, se] = u(""), [Y, ne] = u(!1), [h, pe] = u(!1), [_, ie] = u(""), [oe, ye] = u(""), [U, he] = u("queue"), [F, Q] = u([]), [d, b] = u(""), [J, z] = u(""), [w, re] = u(""), [M, y] = u(!1), [I, R] = u(""), [V, Ee] = u(!1), [Qe, ze] = It(), [Ve, Ke] = qt(), {
1003
+ const e = Fe(), a = Ct(), s = $t(0), [r, f] = u(""), [$, g] = u(""), [H, O] = u([]), [D, ee] = u([]), [te, P] = u(!1), [E, B] = u(""), [T, q] = u(""), [S, ae] = u(""), [N, G] = u(""), [j, se] = u(""), [Y, ne] = u(!1), [y, pe] = u(!1), [_, ie] = u(""), [oe, he] = u(""), [U, ye] = u("queue"), [F, Q] = u([]), [d, b] = u(""), [J, z] = u(""), [w, re] = u(""), [M, h] = u(!1), [I, R] = u(""), [V, Ee] = u(!1), [Qe, ze] = It(), [Ve, Ke] = qt(), {
1006
1004
  data: Ne = [],
1007
1005
  isLoading: Ye,
1008
1006
  isError: Me
@@ -1018,7 +1016,7 @@ const Zt = ({ onSuccess: t }) => {
1018
1016
  text: `${i.name} (${i.contextType.toLowerCase()})`
1019
1017
  })),
1020
1018
  [De]
1021
- ), W = r.trim().length > 0, _e = H.length > 0, Re = D.length > 0, Je = V && W && !Ae(r), ge = V && !W && !_e && !Re, We = V && S.trim().length === 0, Xe = V && N.trim().length === 0, Ze = V && h && _ === "", et = V && E.trim().length > 0 && Te(E), tt = V && T.trim().length > 0 && Te(T), ve = Wt(F), at = Z(() => (W || _e || Re) && (!W || Ae(r)) && S.trim().length > 0 && N.trim().length > 0 && (!h || _ !== "") && !Te(E) && !Te(T) && !ve && !c, [
1019
+ ), W = r.trim().length > 0, _e = H.length > 0, Re = D.length > 0, Je = V && W && !Ae(r), ge = V && !W && !_e && !Re, We = V && S.trim().length === 0, Xe = V && N.trim().length === 0, Ze = V && y && _ === "", et = V && E.trim().length > 0 && Te(E), tt = V && T.trim().length > 0 && Te(T), ve = Wt(F), at = Z(() => (W || _e || Re) && (!W || Ae(r)) && S.trim().length > 0 && N.trim().length > 0 && (!y || _ !== "") && !Te(E) && !Te(T) && !ve && !c, [
1022
1020
  r,
1023
1021
  W,
1024
1022
  _e,
@@ -1027,12 +1025,12 @@ const Zt = ({ onSuccess: t }) => {
1027
1025
  N,
1028
1026
  E,
1029
1027
  T,
1030
- h,
1028
+ y,
1031
1029
  _,
1032
1030
  ve,
1033
1031
  c
1034
1032
  ]), ke = () => {
1035
- f(""), g(""), O([]), ee([]), P(!1), B(""), q(""), ae(""), G(""), se(""), ne(!1), pe(!1), ie(""), ye(""), Q([]), b(""), z(""), re(""), y(!1), R(""), Ee(!1);
1033
+ f(""), g(""), O([]), ee([]), P(!1), B(""), q(""), ae(""), G(""), se(""), ne(!1), pe(!1), ie(""), he(""), Q([]), b(""), z(""), re(""), h(!1), R(""), Ee(!1);
1036
1034
  }, st = async (i) => {
1037
1035
  if (!i?.length)
1038
1036
  return;
@@ -1083,7 +1081,7 @@ const Zt = ({ onSuccess: t }) => {
1083
1081
  inline: M,
1084
1082
  content_id: M && I.trim() || void 0
1085
1083
  }
1086
- ]), b(""), z(""), re(""), y(!1), R("");
1084
+ ]), b(""), z(""), re(""), h(!1), R("");
1087
1085
  }, it = (i) => {
1088
1086
  Q((m) => m.filter((p) => p.id !== i));
1089
1087
  }, He = (i, m) => {
@@ -1097,7 +1095,7 @@ const Zt = ({ onSuccess: t }) => {
1097
1095
  )
1098
1096
  );
1099
1097
  }, ot = () => {
1100
- const i = h && _ ? Xt({
1098
+ const i = y && _ ? Xt({
1101
1099
  templateName: _,
1102
1100
  recipientName: $,
1103
1101
  recipient: r,
@@ -1118,14 +1116,14 @@ const Zt = ({ onSuccess: t }) => {
1118
1116
  bcc: T.trim() ? je(T) : void 0,
1119
1117
  subject: S.trim(),
1120
1118
  text_body: N.trim(),
1121
- html_body: !h && Y && j.trim() ? j.trim() : void 0,
1122
- template_name: h && _ ? _ : void 0,
1119
+ html_body: !y && Y && j.trim() ? j.trim() : void 0,
1120
+ template_name: y && _ ? _ : void 0,
1123
1121
  template_data: i,
1124
1122
  scheduled_at: U === "queue" && oe ? new Date(oe).toISOString() : void 0,
1125
1123
  metadata: {
1126
1124
  source: "admin-email-panel",
1127
1125
  delivery_mode: U,
1128
- template_name: h ? _ : ""
1126
+ template_name: y ? _ : ""
1129
1127
  },
1130
1128
  attachments: F.length > 0 ? Jt(F) : void 0
1131
1129
  };
@@ -1147,10 +1145,10 @@ const Zt = ({ onSuccess: t }) => {
1147
1145
  const m = ot();
1148
1146
  U === "send" ? (await Qe(m).unwrap(), e.success({
1149
1147
  title: "Email sent",
1150
- subtitle: h ? `Sent using the ${_} template.` : "The email was delivered through the SMTP service."
1148
+ subtitle: y ? `Sent using the ${_} template.` : "The email was delivered through the SMTP service."
1151
1149
  })) : (await Ve(m).unwrap(), e.success({
1152
1150
  title: "Email queued",
1153
- subtitle: h ? `Queued using the ${_} template.` : "The background email worker will process it shortly."
1151
+ subtitle: y ? `Queued using the ${_} template.` : "The background email worker will process it shortly."
1154
1152
  })), ke(), t?.();
1155
1153
  } catch (m) {
1156
1154
  e.error({
@@ -1167,7 +1165,7 @@ const Zt = ({ onSuccess: t }) => {
1167
1165
  kind: U === "queue" ? "primary" : "tertiary",
1168
1166
  size: "sm",
1169
1167
  disabled: c,
1170
- onClick: () => he("queue"),
1168
+ onClick: () => ye("queue"),
1171
1169
  children: "Queue email"
1172
1170
  }
1173
1171
  ),
@@ -1178,7 +1176,7 @@ const Zt = ({ onSuccess: t }) => {
1178
1176
  kind: U === "send" ? "primary" : "tertiary",
1179
1177
  size: "sm",
1180
1178
  disabled: c,
1181
- onClick: () => he("send"),
1179
+ onClick: () => ye("send"),
1182
1180
  children: "Send now"
1183
1181
  }
1184
1182
  )
@@ -1291,7 +1289,7 @@ const Zt = ({ onSuccess: t }) => {
1291
1289
  {
1292
1290
  id: "use-template",
1293
1291
  labelText: "Use default template",
1294
- checked: h,
1292
+ checked: y,
1295
1293
  disabled: c,
1296
1294
  onChange: (i, m) => {
1297
1295
  const p = !!m.checked;
@@ -1299,7 +1297,7 @@ const Zt = ({ onSuccess: t }) => {
1299
1297
  }
1300
1298
  }
1301
1299
  ),
1302
- h && /* @__PURE__ */ n(
1300
+ y && /* @__PURE__ */ n(
1303
1301
  lt,
1304
1302
  {
1305
1303
  id: "template-name",
@@ -1342,8 +1340,8 @@ const Zt = ({ onSuccess: t }) => {
1342
1340
  Be,
1343
1341
  {
1344
1342
  id: "message",
1345
- labelText: h ? "Template message / content" : "Plain text message",
1346
- helperText: h ? "This content is mapped into the selected template." : void 0,
1343
+ labelText: y ? "Template message / content" : "Plain text message",
1344
+ helperText: y ? "This content is mapped into the selected template." : void 0,
1347
1345
  value: N,
1348
1346
  onChange: (i) => G(i.target.value),
1349
1347
  placeholder: "Write your message here",
@@ -1354,7 +1352,7 @@ const Zt = ({ onSuccess: t }) => {
1354
1352
  required: !0
1355
1353
  }
1356
1354
  ),
1357
- !h && /* @__PURE__ */ l(ue, { children: [
1355
+ !y && /* @__PURE__ */ l(ue, { children: [
1358
1356
  /* @__PURE__ */ n(
1359
1357
  le,
1360
1358
  {
@@ -1390,7 +1388,7 @@ const Zt = ({ onSuccess: t }) => {
1390
1388
  labelText: "Scheduled time",
1391
1389
  helperText: "Optional. Leave empty to queue immediately.",
1392
1390
  value: oe,
1393
- onChange: (i) => ye(i.target.value),
1391
+ onChange: (i) => he(i.target.value),
1394
1392
  disabled: c
1395
1393
  }
1396
1394
  )
@@ -1453,7 +1451,7 @@ const Zt = ({ onSuccess: t }) => {
1453
1451
  labelText: "Inline",
1454
1452
  checked: M,
1455
1453
  disabled: c,
1456
- onChange: (i, m) => y(!!m.checked)
1454
+ onChange: (i, m) => h(!!m.checked)
1457
1455
  }
1458
1456
  ),
1459
1457
  M && /* @__PURE__ */ n(
@@ -1764,11 +1762,11 @@ function qe(t) {
1764
1762
  function X(t) {
1765
1763
  return t?.message?.subject || "—";
1766
1764
  }
1767
- function ya(t) {
1765
+ function ha(t) {
1768
1766
  return t === "all" ? "ALL" : t.toUpperCase();
1769
1767
  }
1770
- function ha() {
1771
- const { openPanel: t, closePanel: e } = Et(), { openModal: a, closeModal: s } = Nt(), r = Fe(), [f, $] = u(null), [g, H] = u("all"), [O, D] = u(""), [ee, te] = u(1), [P, E] = u(20), B = (ee - 1) * P, T = ya(g), q = xt(
1768
+ function ya() {
1769
+ const { openPanel: t, closePanel: e } = Et(), { openModal: a, closeModal: s } = Nt(), r = Fe(), [f, $] = u(null), [g, H] = u("all"), [O, D] = u(""), [ee, te] = u(1), [P, E] = u(20), B = (ee - 1) * P, T = ha(g), q = xt(
1772
1770
  {
1773
1771
  limit: P,
1774
1772
  offset: B
@@ -1789,13 +1787,13 @@ function ha() {
1789
1787
  Ut(() => {
1790
1788
  te(1);
1791
1789
  }, [g, O]);
1792
- const h = Z(() => {
1790
+ const y = Z(() => {
1793
1791
  const d = O.trim().toLowerCase();
1794
1792
  return d ? G.filter((b) => {
1795
1793
  const J = X(b).toLowerCase(), z = qe(b).toLowerCase(), w = b.status?.toLowerCase() ?? "";
1796
1794
  return J.includes(d) || z.includes(d) || w.includes(d) || b.id.toLowerCase().includes(d);
1797
1795
  }) : G;
1798
- }, [G, O]), pe = Z(() => h.map((d) => ({
1796
+ }, [G, O]), pe = Z(() => y.map((d) => ({
1799
1797
  id: d.id,
1800
1798
  subject: X(d),
1801
1799
  to: qe(d),
@@ -1806,7 +1804,7 @@ function ha() {
1806
1804
  createdAt: Ie(d.created_at),
1807
1805
  actions: "",
1808
1806
  raw: d
1809
- })), [h]), _ = () => {
1807
+ })), [y]), _ = () => {
1810
1808
  if (T === "ALL") {
1811
1809
  q.refetch();
1812
1810
  return;
@@ -1837,7 +1835,7 @@ function ha() {
1837
1835
  subtitle: "Please check the email worker logs and try again."
1838
1836
  });
1839
1837
  }
1840
- }, ye = async (d) => {
1838
+ }, he = async (d) => {
1841
1839
  try {
1842
1840
  await N(d.id).unwrap(), s(), r.success({
1843
1841
  title: "Email deleted",
@@ -1860,7 +1858,7 @@ function ha() {
1860
1858
  onClick: s
1861
1859
  }
1862
1860
  });
1863
- }, he = (d) => {
1861
+ }, ye = (d) => {
1864
1862
  a({
1865
1863
  title: "Delete email record",
1866
1864
  onClose: s,
@@ -1873,7 +1871,7 @@ function ha() {
1873
1871
  label: "Delete",
1874
1872
  kind: "danger",
1875
1873
  onClick: () => {
1876
- ye(d);
1874
+ he(d);
1877
1875
  }
1878
1876
  },
1879
1877
  secondaryAction: {
@@ -1948,9 +1946,9 @@ function ha() {
1948
1946
  }
1949
1947
  ) }),
1950
1948
  /* @__PURE__ */ l(xe, { className: "email-outbox-page__table-tile", children: [
1951
- /* @__PURE__ */ n(yt, { rows: pe, headers: ua, children: ({ rows: d, headers: b, getHeaderProps: J, getRowProps: z, getSelectionProps: w, selectedRows: re }) => {
1949
+ /* @__PURE__ */ n(ht, { rows: pe, headers: ua, children: ({ rows: d, headers: b, getHeaderProps: J, getRowProps: z, getSelectionProps: w, selectedRows: re }) => {
1952
1950
  const M = re.map(
1953
- (y) => y.cells.find((I) => I.info.header === "raw")?.value
1951
+ (h) => h.cells.find((I) => I.info.header === "raw")?.value
1954
1952
  );
1955
1953
  return /* @__PURE__ */ l(ue, { children: [
1956
1954
  /* @__PURE__ */ n(
@@ -1961,7 +1959,7 @@ function ha() {
1961
1959
  onRetry: async () => {
1962
1960
  try {
1963
1961
  $("retry"), await Promise.all(
1964
- M.map((y) => ae(y.id).unwrap())
1962
+ M.map((h) => ae(h.id).unwrap())
1965
1963
  ), r.success({
1966
1964
  title: "Emails re-queued",
1967
1965
  subtitle: `${M.length} email(s) re-queued.`
@@ -1980,26 +1978,26 @@ function ha() {
1980
1978
  }
1981
1979
  }
1982
1980
  ),
1983
- /* @__PURE__ */ l(ht, { children: [
1981
+ /* @__PURE__ */ l(yt, { children: [
1984
1982
  /* @__PURE__ */ n(Rt, { children: /* @__PURE__ */ l($e, { children: [
1985
1983
  /* @__PURE__ */ n(gt, { ...w() }),
1986
- b.filter((y) => y.key !== "raw").map((y) => /* @__PURE__ */ n(bt, { ...J({ header: y }), children: y.header }))
1984
+ b.filter((h) => h.key !== "raw").map((h) => /* @__PURE__ */ n(bt, { ...J({ header: h }), children: h.header }))
1987
1985
  ] }) }),
1988
- /* @__PURE__ */ n(ft, { children: d.length === 0 ? /* @__PURE__ */ n($e, { children: /* @__PURE__ */ n(de, { colSpan: b.length, children: /* @__PURE__ */ n("div", { className: "email-outbox-page__empty-table", children: "No emails found." }) }) }) : d.map((y) => {
1989
- const I = y.cells.find((R) => R.info.header === "raw")?.value;
1990
- return /* @__PURE__ */ l($e, { ...z({ row: y }), children: [
1991
- /* @__PURE__ */ n(Tt, { ...w({ row: y }) }),
1992
- y.cells.map((R) => R.info.header === "raw" ? null : R.info.header === "subject" ? /* @__PURE__ */ n(de, { children: /* @__PURE__ */ l("div", { className: "email-outbox-page__table-title", children: [
1986
+ /* @__PURE__ */ n(ft, { children: d.length === 0 ? /* @__PURE__ */ n($e, { children: /* @__PURE__ */ n(de, { colSpan: b.length, children: /* @__PURE__ */ n("div", { className: "email-outbox-page__empty-table", children: "No emails found." }) }) }) : d.map((h) => {
1987
+ const I = h.cells.find((R) => R.info.header === "raw")?.value;
1988
+ return /* @__PURE__ */ l($e, { ...z({ row: h }), children: [
1989
+ /* @__PURE__ */ n(Tt, { ...w({ row: h }) }),
1990
+ h.cells.map((R) => R.info.header === "raw" ? null : R.info.header === "subject" ? /* @__PURE__ */ n(de, { children: /* @__PURE__ */ l("div", { className: "email-outbox-page__table-title", children: [
1993
1991
  /* @__PURE__ */ n("strong", { children: X(I) }),
1994
1992
  /* @__PURE__ */ n("span", { className: "email-outbox-page__recipient-preview", children: qe(I) })
1995
- ] }) }, R.id) : R.info.header === "status" ? /* @__PURE__ */ n(de, { children: /* @__PURE__ */ n(Se, { type: pa(String(R.value)), children: String(R.value) }) }, R.id) : R.info.header === "actions" ? /* @__PURE__ */ n(de, { children: y.isSelected && /* @__PURE__ */ n(
1993
+ ] }) }, R.id) : R.info.header === "status" ? /* @__PURE__ */ n(de, { children: /* @__PURE__ */ n(Se, { type: pa(String(R.value)), children: String(R.value) }) }, R.id) : R.info.header === "actions" ? /* @__PURE__ */ n(de, { children: h.isSelected && /* @__PURE__ */ n(
1996
1994
  la,
1997
1995
  {
1998
1996
  email: I,
1999
1997
  isMutating: !!f,
2000
1998
  onView: () => U(I),
2001
1999
  onRetry: () => oe(I),
2002
- onDelete: () => he(I)
2000
+ onDelete: () => ye(I)
2003
2001
  }
2004
2002
  ) }, R.id) : /* @__PURE__ */ n(de, { children: R.value || "—" }, R.id))
2005
2003
  ] });
@@ -2025,10 +2023,10 @@ function ha() {
2025
2023
  ) }) });
2026
2024
  }
2027
2025
  function tn(t) {
2028
- return /* @__PURE__ */ n("div", { className: "moh-microfrontend-root", children: /* @__PURE__ */ n(ha, {}) });
2026
+ return /* @__PURE__ */ n("div", { className: "moh-microfrontend-root", children: /* @__PURE__ */ n(ya, {}) });
2029
2027
  }
2030
2028
  export {
2031
- ha as E,
2029
+ ya as E,
2032
2030
  tn as a
2033
2031
  };
2034
- //# sourceMappingURL=root.component-C1na_5E_.js.map
2032
+ //# sourceMappingURL=root.component-Dn1hmhXS.js.map