@carlonicora/nextjs-jsonapi 6.21.0 → 6.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BlockNoteEditor-66ZACETR.mjs → BlockNoteEditor-2XSIQCEB.mjs} +2 -2
- package/dist/{BlockNoteEditor-NXCRWS2O.js → BlockNoteEditor-HW3TK7SM.js} +9 -9
- package/dist/{BlockNoteEditor-NXCRWS2O.js.map → BlockNoteEditor-HW3TK7SM.js.map} +1 -1
- package/dist/billing/index.js +378 -378
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-OHHA5BBX.mjs → chunk-EFQIMPCJ.mjs} +9 -7
- package/dist/chunk-EFQIMPCJ.mjs.map +1 -0
- package/dist/{chunk-3CGU6WXY.js → chunk-FXRRQ7Q6.js} +9 -7
- package/dist/chunk-FXRRQ7Q6.js.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/contexts/index.js +2 -2
- package/dist/contexts/index.mjs +1 -1
- package/dist/email-automations/index.js +78 -78
- package/dist/email-automations/index.mjs +1 -1
- package/dist/features/analytics/index.js +107 -107
- package/dist/features/analytics/index.mjs +1 -1
- package/dist/features/blog/index.js +93 -93
- package/dist/features/blog/index.mjs +1 -1
- package/dist/features/help/index.js +31 -31
- package/dist/features/help/index.mjs +1 -1
- package/dist/features/tokenusage/index.js +102 -102
- package/dist/features/tokenusage/index.mjs +1 -1
- package/dist/features/user/contexts/UserContext.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/forms/EditorSheet.tsx +2 -2
- package/src/components/forms/__tests__/EditorSheet.spec.tsx +16 -0
- package/src/features/oauth/components/OAuthClientDetail.tsx +1 -1
- package/src/features/user/contexts/UserContext.tsx +6 -2
- package/dist/chunk-3CGU6WXY.js.map +0 -1
- package/dist/chunk-OHHA5BBX.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-66ZACETR.mjs.map → BlockNoteEditor-2XSIQCEB.mjs.map} +0 -0
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
var
|
|
48
|
+
var _chunkFXRRQ7Q6js = require('../chunk-FXRRQ7Q6.js');
|
|
49
49
|
require('../chunk-3EPNHTMH.js');
|
|
50
50
|
require('../chunk-BD6ARGGI.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
|
-
|
|
159
|
+
_chunkFXRRQ7Q6js.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,
|
|
190
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.FormInput, { form, id: "name", name: t("emailAutomations.fields.name.label"), isRequired: true }),
|
|
191
191
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
192
|
-
|
|
192
|
+
_chunkFXRRQ7Q6js.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
|
-
|
|
204
|
+
_chunkFXRRQ7Q6js.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
|
-
|
|
215
|
+
_chunkFXRRQ7Q6js.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,
|
|
225
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.FormInput, { form, id: "replyTo", name: t("emailAutomations.fields.replyTo.label") }),
|
|
226
226
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
227
|
-
|
|
227
|
+
_chunkFXRRQ7Q6js.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 =
|
|
251
|
+
const data = _chunkFXRRQ7Q6js.useDataListRetriever.call(void 0, {
|
|
252
252
|
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkZB6OYIMBjs.EmailAutomationService.findMany(params), "retriever"),
|
|
253
253
|
retrieverParams: {},
|
|
254
254
|
module: _chunkYWLSIIE6js.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
|
-
|
|
272
|
+
_chunkFXRRQ7Q6js.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,
|
|
290
|
+
emptyState: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.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,
|
|
301
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.SharedProvider, { value: { breadcrumbs, title: { type: t("emailAutomations.admin.title") } }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.RoundPageContainer, { module: _chunkYWLSIIE6js.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
|
-
|
|
455
|
+
_chunkFXRRQ7Q6js.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,
|
|
461
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
462
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
460
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFXRRQ7Q6js.Tooltip, { children: [
|
|
461
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFXRRQ7Q6js.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { className: "flex items-center gap-x-2" }), children: [
|
|
462
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.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,
|
|
465
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.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
|
-
|
|
498
|
+
_chunkFXRRQ7Q6js.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
|
-
|
|
509
|
+
_chunkFXRRQ7Q6js.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
|
-
|
|
520
|
+
_chunkFXRRQ7Q6js.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
|
-
|
|
531
|
+
_chunkFXRRQ7Q6js.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
|
-
|
|
824
|
+
_chunkFXRRQ7Q6js.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,
|
|
856
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.FormInput, { form, id: "subject", name: t("emailAutomations.step.fields.subject.label"), isRequired: true }),
|
|
857
857
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
858
|
-
|
|
858
|
+
_chunkFXRRQ7Q6js.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
|
-
|
|
868
|
+
_chunkFXRRQ7Q6js.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
|
-
|
|
1047
|
+
_chunkFXRRQ7Q6js.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
|
-
|
|
1179
|
+
_chunkFXRRQ7Q6js.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
|
-
|
|
1242
|
+
_chunkFXRRQ7Q6js.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
|
-
|
|
1257
|
+
_chunkFXRRQ7Q6js.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
|
-
|
|
1264
|
+
_chunkFXRRQ7Q6js.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,
|
|
1270
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFXRRQ7Q6js.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
|
-
|
|
1279
|
+
_chunkFXRRQ7Q6js.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
|
-
|
|
1286
|
+
_chunkFXRRQ7Q6js.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
|
-
|
|
1293
|
+
_chunkFXRRQ7Q6js.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 } =
|
|
1334
|
+
const { open, setOpen } = _chunkFXRRQ7Q6js.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 =
|
|
1367
|
+
const data = _chunkFXRRQ7Q6js.useDataListRetriever.call(void 0, {
|
|
1368
1368
|
ready: open,
|
|
1369
1369
|
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkZB6OYIMBjs.EmailAutomationService.findCandidates(params), "retriever"),
|
|
1370
1370
|
retrieverParams: { automationId },
|
|
@@ -1381,7 +1381,7 @@ function EmailAutomationAddPersonDialog({
|
|
|
1381
1381
|
},
|
|
1382
1382
|
[data]
|
|
1383
1383
|
);
|
|
1384
|
-
const updateSearchTerm =
|
|
1384
|
+
const updateSearchTerm = _chunkFXRRQ7Q6js.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
|
_chunkZB6OYIMBjs.showToast.call(void 0, t("emailAutomations.recipients.addDialog.added", { email: candidate.email }));
|
|
1425
1425
|
onAdded();
|
|
1426
1426
|
} catch (error) {
|
|
1427
|
-
|
|
1427
|
+
_chunkFXRRQ7Q6js.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
|
-
|
|
1434
|
+
_chunkFXRRQ7Q6js.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,
|
|
1443
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "*:ring-border *:ring-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.Avatar, { className: "h-6 w-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.AvatarFallback, { children: _chunkZB6OYIMBjs.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
|
-
|
|
1449
|
+
_chunkFXRRQ7Q6js.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
|
-
|
|
1456
|
+
_chunkFXRRQ7Q6js.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,
|
|
1469
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFXRRQ7Q6js.Dialog, { open, onOpenChange: handleOpenChange, children: [
|
|
1470
1470
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1471
|
-
|
|
1471
|
+
_chunkFXRRQ7Q6js.DialogTrigger,
|
|
1472
1472
|
{
|
|
1473
|
-
render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1473
|
+
render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.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,
|
|
1482
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1483
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1481
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFXRRQ7Q6js.DialogContent, { className: "sm:max-w-2xl", "data-testid": "email-automation-add-person-dialog", children: [
|
|
1482
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.DialogHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.DialogTitle, { children: t("emailAutomations.recipients.addDialog.title") }) }),
|
|
1483
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFXRRQ7Q6js.Command, { shouldFilter: false, children: [
|
|
1484
1484
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1485
|
-
|
|
1485
|
+
_chunkFXRRQ7Q6js.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,
|
|
1494
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1495
|
-
addable.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1496
|
-
blocked.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1493
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFXRRQ7Q6js.CommandList, { className: "mt-2", children: [
|
|
1494
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.CommandEmpty, { children: t("emailAutomations.recipients.addDialog.empty") }),
|
|
1495
|
+
addable.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.CommandGroup, { heading: t("emailAutomations.recipients.addDialog.groups.addable"), children: addable.map(renderCandidate) }),
|
|
1496
|
+
blocked.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.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 =
|
|
1513
|
+
const data = _chunkFXRRQ7Q6js.useDataListRetriever.call(void 0, {
|
|
1514
1514
|
retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkZB6OYIMBjs.EmailAutomationService.findEnrollments(params), "retriever"),
|
|
1515
1515
|
retrieverParams: { automationId: _optionalChain([automation, 'optionalAccess', _50 => _50.id]) },
|
|
1516
1516
|
module: _chunkYWLSIIE6js.Modules.EmailAutomationEnrollment
|
|
@@ -1543,21 +1543,21 @@ function EmailAutomationRecipientsList() {
|
|
|
1543
1543
|
}
|
|
1544
1544
|
}
|
|
1545
1545
|
),
|
|
1546
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1547
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1548
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1549
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1550
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1551
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1552
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1553
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1554
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1546
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFXRRQ7Q6js.Select, { items: statusItems, value: statusFilter, onValueChange: handleStatusChange, children: [
|
|
1547
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.SelectTrigger, { className: "w-40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.SelectValue, {}) }),
|
|
1548
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFXRRQ7Q6js.SelectContent, { children: [
|
|
1549
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.SelectItem, { value: "all", children: t("emailAutomations.recipients.status.all") }),
|
|
1550
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.SelectItem, { value: "active", children: t("emailAutomations.recipients.status.active") }),
|
|
1551
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.SelectItem, { value: "completed", children: t("emailAutomations.recipients.status.completed") }),
|
|
1552
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.SelectItem, { value: "unsubscribed", children: t("emailAutomations.recipients.status.unsubscribed") }),
|
|
1553
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.SelectItem, { value: "exited", children: t("emailAutomations.recipients.status.exited") }),
|
|
1554
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.SelectItem, { value: "failed", children: t("emailAutomations.recipients.status.failed") })
|
|
1555
1555
|
] })
|
|
1556
1556
|
] }),
|
|
1557
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1557
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.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
|
-
|
|
1560
|
+
_chunkFXRRQ7Q6js.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 =
|
|
1589
|
+
const generateUrl = _chunkFXRRQ7Q6js.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
|
-
|
|
1597
|
+
_chunkFXRRQ7Q6js.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
|
-
|
|
1611
|
+
_chunkFXRRQ7Q6js.RoundPageContainer,
|
|
1612
1612
|
{
|
|
1613
1613
|
module: _chunkYWLSIIE6js.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,
|
|
1691
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.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,
|
|
1697
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.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,
|
|
1700
|
+
!isServiceAutomation && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFXRRQ7Q6js.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 =
|
|
1715
|
+
const generateUrl = _chunkFXRRQ7Q6js.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,
|
|
1744
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.Link, { href: generateUrl({ page: _chunkYWLSIIE6js.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,
|
|
1755
|
+
return automation.purpose === "service" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.Badge, { variant: "softBlue", "data-testid": "email-automation-purpose-badge", children: t("emailPurpose.service") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.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,
|
|
1778
|
+
return automation.isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.Badge, { variant: "softGreen", children: t("emailAutomations.list.status.on") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXRRQ7Q6js.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
|
-
|
|
1801
|
+
_chunkFXRRQ7Q6js.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
|
-
|
|
1857
|
+
_chunkFXRRQ7Q6js.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
|
-
|
|
1908
|
+
_chunkFXRRQ7Q6js.registerTableGenerator.call(void 0, "email-automation-enrollments", useEmailAutomationEnrollmentTableStructure);
|
|
1909
1909
|
|
|
1910
1910
|
|
|
1911
1911
|
|