@carlonicora/nextjs-jsonapi 6.17.0 → 6.18.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.
Files changed (33) hide show
  1. package/dist/{BlockNoteEditor-FAUTV5FW.js → BlockNoteEditor-HHTAZKRO.js} +9 -9
  2. package/dist/{BlockNoteEditor-FAUTV5FW.js.map → BlockNoteEditor-HHTAZKRO.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-IGUHTERQ.mjs → BlockNoteEditor-KSOVYIOL.mjs} +2 -2
  4. package/dist/billing/index.js +378 -378
  5. package/dist/billing/index.mjs +1 -1
  6. package/dist/{chunk-4OCBNCKH.js → chunk-B6WMZXRY.js} +18 -3
  7. package/dist/chunk-B6WMZXRY.js.map +1 -0
  8. package/dist/{chunk-RINMQQZH.mjs → chunk-MBLF236G.mjs} +18 -3
  9. package/dist/chunk-MBLF236G.mjs.map +1 -0
  10. package/dist/client/index.js +2 -2
  11. package/dist/client/index.mjs +1 -1
  12. package/dist/components/index.d.mts +6 -1
  13. package/dist/components/index.d.ts +6 -1
  14. package/dist/components/index.js +2 -2
  15. package/dist/components/index.mjs +1 -1
  16. package/dist/contexts/index.js +2 -2
  17. package/dist/contexts/index.mjs +1 -1
  18. package/dist/email-automations/index.js +78 -78
  19. package/dist/email-automations/index.mjs +1 -1
  20. package/dist/features/analytics/index.js +96 -96
  21. package/dist/features/analytics/index.mjs +1 -1
  22. package/dist/features/blog/index.js +93 -93
  23. package/dist/features/blog/index.mjs +1 -1
  24. package/dist/features/help/index.js +31 -31
  25. package/dist/features/help/index.mjs +1 -1
  26. package/dist/features/tokenusage/index.js +102 -102
  27. package/dist/features/tokenusage/index.mjs +1 -1
  28. package/package.json +1 -1
  29. package/src/components/forms/EditorSheet.tsx +21 -1
  30. package/src/components/forms/__tests__/EditorSheet.spec.tsx +40 -1
  31. package/dist/chunk-4OCBNCKH.js.map +0 -1
  32. package/dist/chunk-RINMQQZH.mjs.map +0 -1
  33. /package/dist/{BlockNoteEditor-IGUHTERQ.mjs.map → BlockNoteEditor-KSOVYIOL.mjs.map} +0 -0
@@ -45,7 +45,7 @@
45
45
 
46
46
 
47
47
 
48
- var _chunk4OCBNCKHjs = require('../chunk-4OCBNCKH.js');
48
+ var _chunkB6WMZXRYjs = require('../chunk-B6WMZXRY.js');
49
49
  require('../chunk-3EPNHTMH.js');
50
50
  require('../chunk-I5BQLY7V.js');
51
51
  require('../chunk-G4JR3SFV.js');
@@ -156,7 +156,7 @@ function EmailAutomationEditorInternal({
156
156
  [t]
157
157
  );
158
158
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
159
- _chunk4OCBNCKHjs.EditorSheet,
159
+ _chunkB6WMZXRYjs.EditorSheet,
160
160
  {
161
161
  form,
162
162
  entityType: t("emailAutomations.admin.title"),
@@ -187,9 +187,9 @@ function EmailAutomationEditorInternal({
187
187
  dialogOpen,
188
188
  onDialogOpenChange,
189
189
  children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-y-4", children: [
190
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.FormInput, { form, id: "name", name: t("emailAutomations.fields.name.label"), isRequired: true }),
190
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.FormInput, { form, id: "name", name: t("emailAutomations.fields.name.label"), isRequired: true }),
191
191
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
192
- _chunk4OCBNCKHjs.FormSelect,
192
+ _chunkB6WMZXRYjs.FormSelect,
193
193
  {
194
194
  form,
195
195
  id: "purpose",
@@ -201,7 +201,7 @@ function EmailAutomationEditorInternal({
201
201
  }
202
202
  ),
203
203
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
204
- _chunk4OCBNCKHjs.FormSelect,
204
+ _chunkB6WMZXRYjs.FormSelect,
205
205
  {
206
206
  form,
207
207
  id: "trigger",
@@ -212,7 +212,7 @@ function EmailAutomationEditorInternal({
212
212
  }
213
213
  ),
214
214
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
215
- _chunk4OCBNCKHjs.FormSelect,
215
+ _chunkB6WMZXRYjs.FormSelect,
216
216
  {
217
217
  form,
218
218
  id: "exitTrigger",
@@ -222,9 +222,9 @@ function EmailAutomationEditorInternal({
222
222
  allowEmpty: true
223
223
  }
224
224
  ),
225
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.FormInput, { form, id: "replyTo", name: t("emailAutomations.fields.replyTo.label") }),
225
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.FormInput, { form, id: "replyTo", name: t("emailAutomations.fields.replyTo.label") }),
226
226
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
227
- _chunk4OCBNCKHjs.FormSwitch,
227
+ _chunkB6WMZXRYjs.FormSwitch,
228
228
  {
229
229
  form,
230
230
  id: "isActive",
@@ -248,7 +248,7 @@ var EmailAutomationEditor_default = EmailAutomationEditor;
248
248
  function EmailAutomationsList({ fullWidth } = {}) {
249
249
  const t = _nextintl.useTranslations.call(void 0, );
250
250
  const [triggers, setTriggers] = _react.useState.call(void 0, []);
251
- const data = _chunk4OCBNCKHjs.useDataListRetriever.call(void 0, {
251
+ const data = _chunkB6WMZXRYjs.useDataListRetriever.call(void 0, {
252
252
  retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkOO2DBP6Ljs.EmailAutomationService.findMany(params), "retriever"),
253
253
  retrieverParams: {},
254
254
  module: _chunkA7Y5YW7Qjs.Modules.EmailAutomation
@@ -269,7 +269,7 @@ function EmailAutomationsList({ fullWidth } = {}) {
269
269
  );
270
270
  const functions = [/* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmailAutomationEditor_default, {}, "create-email-automation")];
271
271
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
272
- _chunk4OCBNCKHjs.ContentListTable,
272
+ _chunkB6WMZXRYjs.ContentListTable,
273
273
  {
274
274
  data,
275
275
  fields: [
@@ -287,7 +287,7 @@ function EmailAutomationsList({ fullWidth } = {}) {
287
287
  fullWidth,
288
288
  title: t("emailAutomations.admin.title"),
289
289
  context: { triggerLabels },
290
- emptyState: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.EmptyState, { icon: _lucidereact.MailIcon, title: t("emailAutomations.admin.empty") })
290
+ emptyState: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.EmptyState, { icon: _lucidereact.MailIcon, title: t("emailAutomations.admin.empty") })
291
291
  }
292
292
  );
293
293
  }
@@ -298,7 +298,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, EmailAutomationsList, "EmailAutomationsList
298
298
  function EmailAutomationsListContainer() {
299
299
  const t = _nextintl.useTranslations.call(void 0, );
300
300
  const breadcrumbs = [{ name: t("emailAutomations.admin.title") }];
301
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.SharedProvider, { value: { breadcrumbs, title: { type: t("emailAutomations.admin.title") } }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.RoundPageContainer, { module: _chunkA7Y5YW7Qjs.Modules.EmailAutomation, fullWidth: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmailAutomationsList, { fullWidth: true }) }) });
301
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.SharedProvider, { value: { breadcrumbs, title: { type: t("emailAutomations.admin.title") } }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.RoundPageContainer, { module: _chunkA7Y5YW7Qjs.Modules.EmailAutomation, fullWidth: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmailAutomationsList, { fullWidth: true }) }) });
302
302
  }
303
303
  _chunk7QVYU63Ejs.__name.call(void 0, EmailAutomationsListContainer, "EmailAutomationsListContainer");
304
304
 
@@ -452,17 +452,17 @@ function EmailAutomationActiveSwitch() {
452
452
  });
453
453
  await reload();
454
454
  } catch (error) {
455
- _chunk4OCBNCKHjs.errorToast.call(void 0, { title: t("common.errors.error"), error });
455
+ _chunkB6WMZXRYjs.errorToast.call(void 0, { title: t("common.errors.error"), error });
456
456
  } finally {
457
457
  setSaving(false);
458
458
  }
459
459
  }, "toggle");
460
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4OCBNCKHjs.Tooltip, { children: [
461
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4OCBNCKHjs.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { className: "flex items-center gap-x-2" }), children: [
462
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.Switch, { checked: automation.isActive, onCheckedChange: (checked) => void toggle(checked), disabled: saving }),
460
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6WMZXRYjs.Tooltip, { children: [
461
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6WMZXRYjs.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { className: "flex items-center gap-x-2" }), children: [
462
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.Switch, { checked: automation.isActive, onCheckedChange: (checked) => void toggle(checked), disabled: saving }),
463
463
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs", children: t("emailAutomations.fields.isActive.label") })
464
464
  ] }),
465
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.TooltipContent, { className: "max-w-xs", children: t("emailAutomations.fields.isActive.help") })
465
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.TooltipContent, { className: "max-w-xs", children: t("emailAutomations.fields.isActive.help") })
466
466
  ] });
467
467
  }
468
468
  _chunk7QVYU63Ejs.__name.call(void 0, EmailAutomationActiveSwitch, "EmailAutomationActiveSwitch");
@@ -495,7 +495,7 @@ function CanvasToolbar({ onTidy }) {
495
495
  const { zoomIn, zoomOut, fitView } = _react3.useReactFlow.call(void 0, );
496
496
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-help": "canvas.toolbar", className: "absolute end-2 top-2 z-10 flex flex-col gap-1 max-md:top-14", children: [
497
497
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
498
- _chunk4OCBNCKHjs.Button,
498
+ _chunkB6WMZXRYjs.Button,
499
499
  {
500
500
  type: "button",
501
501
  variant: "outline",
@@ -506,7 +506,7 @@ function CanvasToolbar({ onTidy }) {
506
506
  }
507
507
  ),
508
508
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
509
- _chunk4OCBNCKHjs.Button,
509
+ _chunkB6WMZXRYjs.Button,
510
510
  {
511
511
  type: "button",
512
512
  variant: "outline",
@@ -517,7 +517,7 @@ function CanvasToolbar({ onTidy }) {
517
517
  }
518
518
  ),
519
519
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
520
- _chunk4OCBNCKHjs.Button,
520
+ _chunkB6WMZXRYjs.Button,
521
521
  {
522
522
  type: "button",
523
523
  variant: "outline",
@@ -528,7 +528,7 @@ function CanvasToolbar({ onTidy }) {
528
528
  }
529
529
  ),
530
530
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
531
- _chunk4OCBNCKHjs.Button,
531
+ _chunkB6WMZXRYjs.Button,
532
532
  {
533
533
  type: "button",
534
534
  variant: "outline",
@@ -821,7 +821,7 @@ function EmailStepEditorInternal({
821
821
  defaultValues: getDefaultValues()
822
822
  });
823
823
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
824
- _chunk4OCBNCKHjs.EditorSheet,
824
+ _chunkB6WMZXRYjs.EditorSheet,
825
825
  {
826
826
  form,
827
827
  entityType: t("emailAutomations.step.title"),
@@ -853,9 +853,9 @@ function EmailStepEditorInternal({
853
853
  dialogOpen,
854
854
  onDialogOpenChange,
855
855
  children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-y-4", children: [
856
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.FormInput, { form, id: "subject", name: t("emailAutomations.step.fields.subject.label"), isRequired: true }),
856
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.FormInput, { form, id: "subject", name: t("emailAutomations.step.fields.subject.label"), isRequired: true }),
857
857
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
858
- _chunk4OCBNCKHjs.FormInput,
858
+ _chunkB6WMZXRYjs.FormInput,
859
859
  {
860
860
  form,
861
861
  id: "delayHours",
@@ -865,7 +865,7 @@ function EmailStepEditorInternal({
865
865
  }
866
866
  ),
867
867
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
868
- _chunk4OCBNCKHjs.FormTextarea,
868
+ _chunkB6WMZXRYjs.FormTextarea,
869
869
  {
870
870
  form,
871
871
  id: "body",
@@ -1044,7 +1044,7 @@ function EmailAutomationCanvas() {
1044
1044
  try {
1045
1045
  await setNext(stepId, nextStepId);
1046
1046
  } catch (error) {
1047
- _chunk4OCBNCKHjs.errorToast.call(void 0, { title: t("emailAutomations.canvas.chainError"), error });
1047
+ _chunkB6WMZXRYjs.errorToast.call(void 0, { title: t("emailAutomations.canvas.chainError"), error });
1048
1048
  await reload();
1049
1049
  }
1050
1050
  },
@@ -1176,7 +1176,7 @@ function EmailAutomationCanvas() {
1176
1176
  try {
1177
1177
  await deleteStep(stepId);
1178
1178
  } catch (error) {
1179
- _chunk4OCBNCKHjs.errorToast.call(void 0, { title: t("emailAutomations.canvas.deleteEmail"), error });
1179
+ _chunkB6WMZXRYjs.errorToast.call(void 0, { title: t("emailAutomations.canvas.deleteEmail"), error });
1180
1180
  throw error;
1181
1181
  }
1182
1182
  }, [pendingDeleteStepId, deleteStep, t]);
@@ -1239,7 +1239,7 @@ function EmailAutomationCanvas() {
1239
1239
  }
1240
1240
  ),
1241
1241
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1242
- _chunk4OCBNCKHjs.ConfirmDialog,
1242
+ _chunkB6WMZXRYjs.ConfirmDialog,
1243
1243
  {
1244
1244
  open: pendingDeleteStepId !== null,
1245
1245
  onOpenChange: (open) => {
@@ -1254,20 +1254,20 @@ function EmailAutomationCanvas() {
1254
1254
  }
1255
1255
  ),
1256
1256
  paneMenu && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1257
- _chunk4OCBNCKHjs.ContextMenu,
1257
+ _chunkB6WMZXRYjs.ContextMenu,
1258
1258
  {
1259
1259
  open: true,
1260
1260
  onOpenChange: (open) => {
1261
1261
  if (!open) setPaneMenu(null);
1262
1262
  },
1263
1263
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1264
- _chunk4OCBNCKHjs.ContextMenuContent,
1264
+ _chunkB6WMZXRYjs.ContextMenuContent,
1265
1265
  {
1266
1266
  anchor: pointAnchor(paneMenu.screenX, paneMenu.screenY),
1267
1267
  side: "bottom",
1268
1268
  align: "start",
1269
1269
  sideOffset: 4,
1270
- children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4OCBNCKHjs.ContextMenuItem, { onClick: handleCreateStepFromPane, children: [
1270
+ children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6WMZXRYjs.ContextMenuItem, { onClick: handleCreateStepFromPane, children: [
1271
1271
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.PlusIcon, {}),
1272
1272
  t("emailAutomations.canvas.addEmail")
1273
1273
  ] })
@@ -1276,21 +1276,21 @@ function EmailAutomationCanvas() {
1276
1276
  }
1277
1277
  ),
1278
1278
  nodeMenu && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1279
- _chunk4OCBNCKHjs.ContextMenu,
1279
+ _chunkB6WMZXRYjs.ContextMenu,
1280
1280
  {
1281
1281
  open: true,
1282
1282
  onOpenChange: (open) => {
1283
1283
  if (!open) setNodeMenu(null);
1284
1284
  },
1285
1285
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1286
- _chunk4OCBNCKHjs.ContextMenuContent,
1286
+ _chunkB6WMZXRYjs.ContextMenuContent,
1287
1287
  {
1288
1288
  anchor: pointAnchor(nodeMenu.screenX, nodeMenu.screenY),
1289
1289
  side: "bottom",
1290
1290
  align: "start",
1291
1291
  sideOffset: 4,
1292
1292
  children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1293
- _chunk4OCBNCKHjs.ContextMenuItem,
1293
+ _chunkB6WMZXRYjs.ContextMenuItem,
1294
1294
  {
1295
1295
  onClick: () => {
1296
1296
  const menu = nodeMenu;
@@ -1331,7 +1331,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, TriggerAutomationEditor, "TriggerAutomation
1331
1331
  // src/features/email-automation/components/canvas/EmailAutomationCanvasTab.tsx
1332
1332
 
1333
1333
  function EmailAutomationCanvasTab() {
1334
- const { open, setOpen } = _chunk4OCBNCKHjs.useSidebar.call(void 0, );
1334
+ const { open, setOpen } = _chunkB6WMZXRYjs.useSidebar.call(void 0, );
1335
1335
  _react.useEffect.call(void 0, () => {
1336
1336
  const prev = open;
1337
1337
  if (prev) setOpen(false);
@@ -1364,7 +1364,7 @@ function EmailAutomationAddPersonDialog({
1364
1364
  const searchTermRef = _react.useRef.call(void 0, "");
1365
1365
  const [searchTerm, setSearchTerm] = _react.useState.call(void 0, "");
1366
1366
  const sentinelRef = _react.useRef.call(void 0, null);
1367
- const data = _chunk4OCBNCKHjs.useDataListRetriever.call(void 0, {
1367
+ const data = _chunkB6WMZXRYjs.useDataListRetriever.call(void 0, {
1368
1368
  ready: open,
1369
1369
  retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkOO2DBP6Ljs.EmailAutomationService.findCandidates(params), "retriever"),
1370
1370
  retrieverParams: { automationId },
@@ -1381,7 +1381,7 @@ function EmailAutomationAddPersonDialog({
1381
1381
  },
1382
1382
  [data]
1383
1383
  );
1384
- const updateSearchTerm = _chunk4OCBNCKHjs.useDebounce.call(void 0, refreshList, 500);
1384
+ const updateSearchTerm = _chunkB6WMZXRYjs.useDebounce.call(void 0, refreshList, 500);
1385
1385
  _react.useEffect.call(void 0, () => {
1386
1386
  if (open) updateSearchTerm(searchTerm);
1387
1387
  }, [open, searchTerm]);
@@ -1424,14 +1424,14 @@ function EmailAutomationAddPersonDialog({
1424
1424
  _chunkOO2DBP6Ljs.showToast.call(void 0, t("emailAutomations.recipients.addDialog.added", { email: candidate.email }));
1425
1425
  onAdded();
1426
1426
  } catch (error) {
1427
- _chunk4OCBNCKHjs.errorToast.call(void 0, { title: t("common.errors.error"), error });
1427
+ _chunkB6WMZXRYjs.errorToast.call(void 0, { title: t("common.errors.error"), error });
1428
1428
  }
1429
1429
  }, "add");
1430
1430
  const candidates = _nullishCoalesce(data.data, () => ( []));
1431
1431
  const addable = candidates.filter((candidate) => candidate.addable);
1432
1432
  const blocked = candidates.filter((candidate) => !candidate.addable);
1433
1433
  const renderCandidate = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (candidate) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1434
- _chunk4OCBNCKHjs.CommandItem,
1434
+ _chunkB6WMZXRYjs.CommandItem,
1435
1435
  {
1436
1436
  className: "cursor-pointer hover:bg-muted data-selected:hover:bg-muted bg-transparent data-selected:bg-transparent",
1437
1437
  value: candidate.id,
@@ -1440,20 +1440,20 @@ function EmailAutomationAddPersonDialog({
1440
1440
  "data-addable": candidate.addable ? "true" : "false",
1441
1441
  onSelect: () => void add(candidate),
1442
1442
  children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-row items-center px-4 py-1", children: [
1443
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "*:ring-border *:ring-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.Avatar, { className: "h-6 w-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.AvatarFallback, { children: _chunkOO2DBP6Ljs.getInitials.call(void 0, candidate.name || candidate.email) }) }) }),
1443
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "*:ring-border *:ring-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.Avatar, { className: "h-6 w-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.AvatarFallback, { children: _chunkOO2DBP6Ljs.getInitials.call(void 0, candidate.name || candidate.email) }) }) }),
1444
1444
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ms-5 me-3 flex min-w-0 flex-1 flex-col", children: candidate.name ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
1445
1445
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "truncate text-sm font-medium", children: candidate.name }),
1446
1446
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "truncate text-xs font-normal", children: candidate.email })
1447
1447
  ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "truncate text-sm font-medium", children: candidate.email }) }),
1448
1448
  candidate.addable ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1449
- _chunk4OCBNCKHjs.Badge,
1449
+ _chunkB6WMZXRYjs.Badge,
1450
1450
  {
1451
1451
  variant: candidate.recipientType === "waitlist" ? "softBlue" : "softGray",
1452
1452
  className: "ms-auto shrink-0",
1453
1453
  children: t(`emailAutomations.recipients.addDialog.kind.${candidate.recipientType}`)
1454
1454
  }
1455
1455
  ) : candidate.reason && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1456
- _chunk4OCBNCKHjs.Badge,
1456
+ _chunkB6WMZXRYjs.Badge,
1457
1457
  {
1458
1458
  variant: "softAmber",
1459
1459
  className: "ms-auto shrink-0",
@@ -1466,11 +1466,11 @@ function EmailAutomationAddPersonDialog({
1466
1466
  candidate.id
1467
1467
  ), "renderCandidate");
1468
1468
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
1469
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4OCBNCKHjs.Dialog, { open, onOpenChange: handleOpenChange, children: [
1469
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6WMZXRYjs.Dialog, { open, onOpenChange: handleOpenChange, children: [
1470
1470
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1471
- _chunk4OCBNCKHjs.DialogTrigger,
1471
+ _chunkB6WMZXRYjs.DialogTrigger,
1472
1472
  {
1473
- render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.Button, { variant: "outline", size: "sm", "data-testid": "email-automation-add-person" }),
1473
+ render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.Button, { variant: "outline", size: "sm", "data-testid": "email-automation-add-person" }),
1474
1474
  disabled,
1475
1475
  children: [
1476
1476
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.UserPlusIcon, { className: "h-3.5 w-3.5" }),
@@ -1478,11 +1478,11 @@ function EmailAutomationAddPersonDialog({
1478
1478
  ]
1479
1479
  }
1480
1480
  ),
1481
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4OCBNCKHjs.DialogContent, { className: "sm:max-w-2xl", "data-testid": "email-automation-add-person-dialog", children: [
1482
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.DialogHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.DialogTitle, { children: t("emailAutomations.recipients.addDialog.title") }) }),
1483
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4OCBNCKHjs.Command, { shouldFilter: false, children: [
1481
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6WMZXRYjs.DialogContent, { className: "sm:max-w-2xl", "data-testid": "email-automation-add-person-dialog", children: [
1482
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.DialogHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.DialogTitle, { children: t("emailAutomations.recipients.addDialog.title") }) }),
1483
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6WMZXRYjs.Command, { shouldFilter: false, children: [
1484
1484
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1485
- _chunk4OCBNCKHjs.CommandInput,
1485
+ _chunkB6WMZXRYjs.CommandInput,
1486
1486
  {
1487
1487
  "data-testid": "email-automation-add-person-search",
1488
1488
  placeholder: t("emailAutomations.recipients.addDialog.search"),
@@ -1490,10 +1490,10 @@ function EmailAutomationAddPersonDialog({
1490
1490
  onValueChange: setSearchTerm
1491
1491
  }
1492
1492
  ),
1493
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4OCBNCKHjs.CommandList, { className: "mt-2", children: [
1494
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.CommandEmpty, { children: t("emailAutomations.recipients.addDialog.empty") }),
1495
- addable.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.CommandGroup, { heading: t("emailAutomations.recipients.addDialog.groups.addable"), children: addable.map(renderCandidate) }),
1496
- blocked.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.CommandGroup, { heading: t("emailAutomations.recipients.addDialog.groups.blocked"), children: blocked.map(renderCandidate) }),
1493
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6WMZXRYjs.CommandList, { className: "mt-2", children: [
1494
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.CommandEmpty, { children: t("emailAutomations.recipients.addDialog.empty") }),
1495
+ addable.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.CommandGroup, { heading: t("emailAutomations.recipients.addDialog.groups.addable"), children: addable.map(renderCandidate) }),
1496
+ blocked.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.CommandGroup, { heading: t("emailAutomations.recipients.addDialog.groups.blocked"), children: blocked.map(renderCandidate) }),
1497
1497
  data.next && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, style: { height: 1 } })
1498
1498
  ] })
1499
1499
  ] })
@@ -1510,7 +1510,7 @@ function EmailAutomationRecipientsList() {
1510
1510
  const t = _nextintl.useTranslations.call(void 0, );
1511
1511
  const { automation, reload } = useEmailAutomation();
1512
1512
  const [statusFilter, setStatusFilter] = _react.useState.call(void 0, "all");
1513
- const data = _chunk4OCBNCKHjs.useDataListRetriever.call(void 0, {
1513
+ const data = _chunkB6WMZXRYjs.useDataListRetriever.call(void 0, {
1514
1514
  retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkOO2DBP6Ljs.EmailAutomationService.findEnrollments(params), "retriever"),
1515
1515
  retrieverParams: { automationId: _optionalChain([automation, 'optionalAccess', _50 => _50.id]) },
1516
1516
  module: _chunkA7Y5YW7Qjs.Modules.EmailAutomationEnrollment
@@ -1543,21 +1543,21 @@ function EmailAutomationRecipientsList() {
1543
1543
  }
1544
1544
  }
1545
1545
  ),
1546
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4OCBNCKHjs.Select, { items: statusItems, value: statusFilter, onValueChange: handleStatusChange, children: [
1547
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.SelectTrigger, { className: "w-40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.SelectValue, {}) }),
1548
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4OCBNCKHjs.SelectContent, { children: [
1549
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.SelectItem, { value: "all", children: t("emailAutomations.recipients.status.all") }),
1550
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.SelectItem, { value: "active", children: t("emailAutomations.recipients.status.active") }),
1551
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.SelectItem, { value: "completed", children: t("emailAutomations.recipients.status.completed") }),
1552
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.SelectItem, { value: "unsubscribed", children: t("emailAutomations.recipients.status.unsubscribed") }),
1553
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.SelectItem, { value: "exited", children: t("emailAutomations.recipients.status.exited") }),
1554
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.SelectItem, { value: "failed", children: t("emailAutomations.recipients.status.failed") })
1546
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6WMZXRYjs.Select, { items: statusItems, value: statusFilter, onValueChange: handleStatusChange, children: [
1547
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.SelectTrigger, { className: "w-40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.SelectValue, {}) }),
1548
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6WMZXRYjs.SelectContent, { children: [
1549
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.SelectItem, { value: "all", children: t("emailAutomations.recipients.status.all") }),
1550
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.SelectItem, { value: "active", children: t("emailAutomations.recipients.status.active") }),
1551
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.SelectItem, { value: "completed", children: t("emailAutomations.recipients.status.completed") }),
1552
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.SelectItem, { value: "unsubscribed", children: t("emailAutomations.recipients.status.unsubscribed") }),
1553
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.SelectItem, { value: "exited", children: t("emailAutomations.recipients.status.exited") }),
1554
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.SelectItem, { value: "failed", children: t("emailAutomations.recipients.status.failed") })
1555
1555
  ] })
1556
1556
  ] }),
1557
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.Button, { variant: "outline", size: "icon", onClick: () => void data.refresh(), disabled: !data.isLoaded, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.RefreshCw, { className: `h-4 w-4 ${!data.isLoaded ? "animate-spin" : ""}` }) })
1557
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.Button, { variant: "outline", size: "icon", onClick: () => void data.refresh(), disabled: !data.isLoaded, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.RefreshCw, { className: `h-4 w-4 ${!data.isLoaded ? "animate-spin" : ""}` }) })
1558
1558
  ] });
1559
1559
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-testid": "email-automation-recipients", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1560
- _chunk4OCBNCKHjs.ContentListTable,
1560
+ _chunkB6WMZXRYjs.ContentListTable,
1561
1561
  {
1562
1562
  data,
1563
1563
  fields: [
@@ -1586,7 +1586,7 @@ function EmailAutomationContainer({ automationId }) {
1586
1586
  _chunk7QVYU63Ejs.__name.call(void 0, EmailAutomationContainer, "EmailAutomationContainer");
1587
1587
  function EmailAutomationShell() {
1588
1588
  const t = _nextintl.useTranslations.call(void 0, );
1589
- const generateUrl = _chunk4OCBNCKHjs.usePageUrlGenerator.call(void 0, );
1589
+ const generateUrl = _chunkB6WMZXRYjs.usePageUrlGenerator.call(void 0, );
1590
1590
  const { automation, reload } = useEmailAutomation();
1591
1591
  if (!automation) return null;
1592
1592
  const breadcrumbs = [
@@ -1594,7 +1594,7 @@ function EmailAutomationShell() {
1594
1594
  { name: automation.name }
1595
1595
  ];
1596
1596
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1597
- _chunk4OCBNCKHjs.SharedProvider,
1597
+ _chunkB6WMZXRYjs.SharedProvider,
1598
1598
  {
1599
1599
  value: {
1600
1600
  breadcrumbs,
@@ -1608,7 +1608,7 @@ function EmailAutomationShell() {
1608
1608
  }
1609
1609
  },
1610
1610
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1611
- _chunk4OCBNCKHjs.RoundPageContainer,
1611
+ _chunkB6WMZXRYjs.RoundPageContainer,
1612
1612
  {
1613
1613
  module: _chunkA7Y5YW7Qjs.Modules.EmailAutomation,
1614
1614
  id: automation.id,
@@ -1688,16 +1688,16 @@ function EmailUnsubscribe({ token, scope, source = "automation" }) {
1688
1688
  if (state === "error") {
1689
1689
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center justify-center space-y-4 py-16 text-center", children: [
1690
1690
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-destructive/10 rounded-full p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.XCircle, { className: "text-destructive h-12 w-12" }) }),
1691
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.SectionHeader, { level: 2, children: t("emailAutomations.unsubscribe.invalidTitle") }),
1691
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.SectionHeader, { level: 2, children: t("emailAutomations.unsubscribe.invalidTitle") }),
1692
1692
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-muted-foreground max-w-md text-sm leading-relaxed", children: t("emailAutomations.unsubscribe.invalidBody") })
1693
1693
  ] });
1694
1694
  }
1695
1695
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center justify-center space-y-4 py-16 text-center", children: [
1696
1696
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-primary/10 rounded-full p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.CheckCircle, { className: "text-primary h-12 w-12" }) }),
1697
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.SectionHeader, { level: 2, children: t("emailAutomations.unsubscribe.title") }),
1697
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.SectionHeader, { level: 2, children: t("emailAutomations.unsubscribe.title") }),
1698
1698
  stoppedScope === "all" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-muted-foreground max-w-md text-sm leading-relaxed", children: t("emailAutomations.unsubscribe.stoppedAll") }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
1699
1699
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-muted-foreground max-w-md text-sm leading-relaxed", children: t("emailAutomations.unsubscribe.stoppedAutomation", { name: automationName }) }),
1700
- !isServiceAutomation && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4OCBNCKHjs.Button, { variant: "secondary", onClick: stopAll, disabled: isStoppingAll, children: [
1700
+ !isServiceAutomation && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6WMZXRYjs.Button, { variant: "secondary", onClick: stopAll, disabled: isStoppingAll, children: [
1701
1701
  isStoppingAll && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-4 w-4 animate-spin" }),
1702
1702
  t("emailAutomations.unsubscribe.alsoStopAll")
1703
1703
  ] })
@@ -1712,7 +1712,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, EmailUnsubscribe, "EmailUnsubscribe");
1712
1712
 
1713
1713
  var useEmailAutomationTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
1714
1714
  const t = _nextintl.useTranslations.call(void 0, );
1715
- const generateUrl = _chunk4OCBNCKHjs.usePageUrlGenerator.call(void 0, );
1715
+ const generateUrl = _chunkB6WMZXRYjs.usePageUrlGenerator.call(void 0, );
1716
1716
  const triggerLabels = _nullishCoalesce(_optionalChain([params, 'access', _55 => _55.context, 'optionalAccess', _56 => _56.triggerLabels]), () => ( {}));
1717
1717
  const tableData = _react.useMemo.call(void 0, () => {
1718
1718
  return params.data.map((automation) => {
@@ -1741,7 +1741,7 @@ var useEmailAutomationTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.c
1741
1741
  header: t("emailAutomations.list.columns.name"),
1742
1742
  cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => {
1743
1743
  const automation = row.original.jsonApiData;
1744
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.Link, { href: generateUrl({ page: _chunkA7Y5YW7Qjs.Modules.EmailAutomation, id: automation.id }), children: automation.name });
1744
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.Link, { href: generateUrl({ page: _chunkA7Y5YW7Qjs.Modules.EmailAutomation, id: automation.id }), children: automation.name });
1745
1745
  }, "cell"),
1746
1746
  enableSorting: false,
1747
1747
  enableHiding: false
@@ -1752,7 +1752,7 @@ var useEmailAutomationTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.c
1752
1752
  header: t("emailAutomations.list.columns.purpose"),
1753
1753
  cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => {
1754
1754
  const automation = row.original.jsonApiData;
1755
- return automation.purpose === "service" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.Badge, { variant: "softBlue", "data-testid": "email-automation-purpose-badge", children: t("emailPurpose.service") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.Badge, { variant: "softGray", "data-testid": "email-automation-purpose-badge", children: t("emailPurpose.marketing") });
1755
+ return automation.purpose === "service" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.Badge, { variant: "softBlue", "data-testid": "email-automation-purpose-badge", children: t("emailPurpose.service") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.Badge, { variant: "softGray", "data-testid": "email-automation-purpose-badge", children: t("emailPurpose.marketing") });
1756
1756
  }, "cell"),
1757
1757
  enableSorting: false,
1758
1758
  enableHiding: false
@@ -1775,7 +1775,7 @@ var useEmailAutomationTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.c
1775
1775
  header: t("emailAutomations.list.columns.status"),
1776
1776
  cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => {
1777
1777
  const automation = row.original.jsonApiData;
1778
- return automation.isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.Badge, { variant: "softGreen", children: t("emailAutomations.list.status.on") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4OCBNCKHjs.Badge, { variant: "softGray", children: t("emailAutomations.list.status.off") });
1778
+ return automation.isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.Badge, { variant: "softGreen", children: t("emailAutomations.list.status.on") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6WMZXRYjs.Badge, { variant: "softGray", children: t("emailAutomations.list.status.off") });
1779
1779
  }, "cell"),
1780
1780
  enableSorting: false,
1781
1781
  enableHiding: false
@@ -1798,7 +1798,7 @@ var useEmailAutomationTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.c
1798
1798
  }, [params.fields, fieldColumnMap, t, generateUrl]);
1799
1799
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
1800
1800
  }, "useEmailAutomationTableStructure");
1801
- _chunk4OCBNCKHjs.registerTableGenerator.call(void 0, "email-automations", useEmailAutomationTableStructure);
1801
+ _chunkB6WMZXRYjs.registerTableGenerator.call(void 0, "email-automations", useEmailAutomationTableStructure);
1802
1802
 
1803
1803
  // src/features/email-automation/hooks/useEmailAutomationEnrollmentTableStructure.tsx
1804
1804
 
@@ -1854,7 +1854,7 @@ var useEmailAutomationEnrollmentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ej
1854
1854
  cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => {
1855
1855
  const enrollment = row.original.jsonApiData;
1856
1856
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1857
- _chunk4OCBNCKHjs.Badge,
1857
+ _chunkB6WMZXRYjs.Badge,
1858
1858
  {
1859
1859
  variant: _nullishCoalesce(STATUS_VARIANTS[enrollment.status], () => ( "softGray")),
1860
1860
  title: enrollment.status === "failed" ? enrollment.lastError : void 0,
@@ -1905,7 +1905,7 @@ var useEmailAutomationEnrollmentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ej
1905
1905
  }, [params.fields, fieldColumnMap, t, locale]);
1906
1906
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
1907
1907
  }, "useEmailAutomationEnrollmentTableStructure");
1908
- _chunk4OCBNCKHjs.registerTableGenerator.call(void 0, "email-automation-enrollments", useEmailAutomationEnrollmentTableStructure);
1908
+ _chunkB6WMZXRYjs.registerTableGenerator.call(void 0, "email-automation-enrollments", useEmailAutomationEnrollmentTableStructure);
1909
1909
 
1910
1910
 
1911
1911
 
@@ -45,7 +45,7 @@ import {
45
45
  useDebounce,
46
46
  usePageUrlGenerator,
47
47
  useSidebar
48
- } from "../chunk-RINMQQZH.mjs";
48
+ } from "../chunk-MBLF236G.mjs";
49
49
  import "../chunk-VOXD3ZLY.mjs";
50
50
  import "../chunk-TY5YWBLL.mjs";
51
51
  import "../chunk-PW42LRSL.mjs";