@carlonicora/nextjs-jsonapi 6.32.2 → 6.33.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-KRNC6EAX.mjs → BlockNoteEditor-DCVT7YHE.mjs} +4 -4
- package/dist/{BlockNoteEditor-VXSVY6OY.js → BlockNoteEditor-ZVK5MD34.js} +24 -24
- package/dist/{BlockNoteEditor-VXSVY6OY.js.map → BlockNoteEditor-ZVK5MD34.js.map} +1 -1
- package/dist/{BlockNoteViewer-RQBYHBQL.js → BlockNoteViewer-2KPGZSTJ.js} +3 -3
- package/dist/{BlockNoteViewer-RQBYHBQL.js.map → BlockNoteViewer-2KPGZSTJ.js.map} +1 -1
- package/dist/{BlockNoteViewer-NVSR67X5.mjs → BlockNoteViewer-XDAC6AL7.mjs} +2 -2
- package/dist/billing/index.js +477 -469
- package/dist/billing/index.js.map +1 -1
- package/dist/billing/index.mjs +15 -7
- package/dist/billing/index.mjs.map +1 -1
- package/dist/{chunk-5H25LM2Z.js → chunk-576XHOYH.js} +5 -5
- package/dist/{chunk-5H25LM2Z.js.map → chunk-576XHOYH.js.map} +1 -1
- package/dist/{chunk-NPGX2GJD.js → chunk-CI64OTRX.js} +98 -75
- package/dist/chunk-CI64OTRX.js.map +1 -0
- package/dist/{chunk-AEBZ67JJ.mjs → chunk-ETU3AW2X.mjs} +2 -2
- package/dist/{chunk-4JVLLBRS.mjs → chunk-GUNH3THR.mjs} +24 -1
- package/dist/chunk-GUNH3THR.mjs.map +1 -0
- package/dist/{chunk-GPVLFNLB.js → chunk-KH4Y4FU4.js} +1411 -1187
- package/dist/chunk-KH4Y4FU4.js.map +1 -0
- package/dist/{chunk-PNCO3HMJ.js → chunk-TCAOU6NH.js} +3 -3
- package/dist/{chunk-PNCO3HMJ.js.map → chunk-TCAOU6NH.js.map} +1 -1
- package/dist/{chunk-4SXHRANW.mjs → chunk-V4NPMUZ2.mjs} +2627 -2403
- package/dist/chunk-V4NPMUZ2.mjs.map +1 -0
- package/dist/{chunk-AMQFKCAX.mjs → chunk-WPFEPIKP.mjs} +2 -2
- package/dist/client/index.js +6 -4
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.mjs +5 -3
- package/dist/components/index.js +12 -4
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +11 -3
- package/dist/components/tables/ContentListTable.d.ts +14 -0
- package/dist/components/tables/ContentListTable.d.ts.map +1 -1
- package/dist/components/tables/SortableHeader.d.ts +17 -0
- package/dist/components/tables/SortableHeader.d.ts.map +1 -0
- package/dist/components/tables/cells/cell.date.d.ts +4 -0
- package/dist/components/tables/cells/cell.date.d.ts.map +1 -1
- package/dist/components/tables/cells/cell.dateTime.d.ts +4 -0
- package/dist/components/tables/cells/cell.dateTime.d.ts.map +1 -1
- package/dist/components/tables/cells/cell.link.d.ts +4 -0
- package/dist/components/tables/cells/cell.link.d.ts.map +1 -1
- package/dist/components/tables/cells/cell.text.d.ts +4 -0
- package/dist/components/tables/cells/cell.text.d.ts.map +1 -1
- package/dist/components/tables/index.d.ts +2 -0
- package/dist/components/tables/index.d.ts.map +1 -1
- package/dist/components/tables/sorting.d.ts +24 -0
- package/dist/components/tables/sorting.d.ts.map +1 -0
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/email-automations/index.js +120 -115
- package/dist/email-automations/index.js.map +1 -1
- package/dist/email-automations/index.mjs +18 -13
- package/dist/email-automations/index.mjs.map +1 -1
- package/dist/features/analytics/index.js +114 -114
- package/dist/features/analytics/index.mjs +3 -3
- package/dist/features/analytics/server.js +4 -4
- package/dist/features/analytics/server.mjs +2 -2
- package/dist/features/billing/stripe-coupon/components/lists/CouponCodesList.d.ts.map +1 -1
- package/dist/features/billing/stripe-coupon/components/lists/CouponsList.d.ts.map +1 -1
- package/dist/features/billing/stripe-coupon/data/stripe-coupon-code.service.d.ts +2 -0
- package/dist/features/billing/stripe-coupon/data/stripe-coupon-code.service.d.ts.map +1 -1
- package/dist/features/billing/stripe-coupon/data/stripe-coupon.service.d.ts +1 -0
- package/dist/features/billing/stripe-coupon/data/stripe-coupon.service.d.ts.map +1 -1
- package/dist/features/billing/stripe-coupon/hooks/useStripeCouponCodeTableStructure.d.ts.map +1 -1
- package/dist/features/billing/stripe-coupon/hooks/useStripeCouponTableStructure.d.ts.map +1 -1
- package/dist/features/billing/stripe-price/components/lists/PricesList.d.ts.map +1 -1
- package/dist/features/billing/stripe-price/data/stripe-price.service.d.ts +2 -0
- package/dist/features/billing/stripe-price/data/stripe-price.service.d.ts.map +1 -1
- package/dist/features/billing/stripe-price/hooks/useStripePriceTableStructure.d.ts.map +1 -1
- package/dist/features/billing/stripe-product/components/lists/ProductsList.d.ts.map +1 -1
- package/dist/features/billing/stripe-product/data/stripe-product.service.d.ts +2 -0
- package/dist/features/billing/stripe-product/data/stripe-product.service.d.ts.map +1 -1
- package/dist/features/billing/stripe-product/hooks/useStripeProductTableStructure.d.ts.map +1 -1
- package/dist/features/blog/components/admin/BlogPostsList.d.ts.map +1 -1
- package/dist/features/blog/data/BlogPostService.d.ts +1 -0
- package/dist/features/blog/data/BlogPostService.d.ts.map +1 -1
- package/dist/features/blog/index.js +134 -132
- package/dist/features/blog/index.js.map +1 -1
- package/dist/features/blog/index.mjs +8 -6
- package/dist/features/blog/index.mjs.map +1 -1
- package/dist/features/blog/server.js +7 -7
- package/dist/features/blog/server.mjs +1 -1
- package/dist/features/company/components/lists/CompaniesList.d.ts.map +1 -1
- package/dist/features/company/data/company.service.d.ts +1 -0
- package/dist/features/company/data/company.service.d.ts.map +1 -1
- package/dist/features/content/data/content.service.d.ts +3 -0
- package/dist/features/content/data/content.service.d.ts.map +1 -1
- package/dist/features/email-automation/components/lists/EmailAutomationRecipientsList.d.ts.map +1 -1
- package/dist/features/email-automation/components/lists/EmailAutomationsList.d.ts.map +1 -1
- package/dist/features/email-automation/data/EmailAutomationService.d.ts +3 -0
- package/dist/features/email-automation/data/EmailAutomationService.d.ts.map +1 -1
- package/dist/features/email-automation/hooks/useEmailAutomationTableStructure.d.ts.map +1 -1
- package/dist/features/email-blast/components/lists/EmailBlastsList.d.ts.map +1 -1
- package/dist/features/email-blast/data/EmailBlastService.d.ts +1 -0
- package/dist/features/email-blast/data/EmailBlastService.d.ts.map +1 -1
- package/dist/features/email-blast/hooks/useEmailBlastTableStructure.d.ts.map +1 -1
- package/dist/features/help/index.js +37 -37
- package/dist/features/help/index.mjs +3 -3
- package/dist/features/how-to/components/lists/HowToList.d.ts.map +1 -1
- package/dist/features/how-to/data/HowToService.d.ts +2 -0
- package/dist/features/how-to/data/HowToService.d.ts.map +1 -1
- package/dist/features/notification/components/lists/NotificationsList.d.ts.map +1 -1
- package/dist/features/notification/data/notification.service.d.ts +2 -0
- package/dist/features/notification/data/notification.service.d.ts.map +1 -1
- package/dist/features/referral/components/containers/ReferralsAdminContainer.d.ts.map +1 -1
- package/dist/features/referral/data/ReferralAdminService.d.ts +1 -0
- package/dist/features/referral/data/ReferralAdminService.d.ts.map +1 -1
- package/dist/features/referral/hooks/useReferralAdminReferralTableStructure.d.ts.map +1 -1
- package/dist/features/role/components/lists/RolesList.d.ts.map +1 -1
- package/dist/features/role/components/lists/UserRolesList.d.ts.map +1 -1
- package/dist/features/role/data/role.service.d.ts +3 -0
- package/dist/features/role/data/role.service.d.ts.map +1 -1
- package/dist/features/tokenusage/index.js +114 -114
- package/dist/features/tokenusage/index.mjs +3 -3
- package/dist/features/user/components/lists/AdminUsersList.d.ts.map +1 -1
- package/dist/features/user/components/lists/CompanyUsersList.d.ts.map +1 -1
- package/dist/features/user/components/lists/PlatformUsersList.d.ts.map +1 -1
- package/dist/features/user/components/lists/RoleUsersList.d.ts.map +1 -1
- package/dist/features/user/components/lists/UsersListByContentIds.d.ts.map +1 -1
- package/dist/features/user/data/user.service.d.ts +11 -0
- package/dist/features/user/data/user.service.d.ts.map +1 -1
- package/dist/features/waitlist/components/lists/WaitlistList.d.ts.map +1 -1
- package/dist/features/waitlist/data/WaitlistService.d.ts +2 -0
- package/dist/features/waitlist/data/WaitlistService.d.ts.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/useDataListRetriever.d.ts +13 -0
- package/dist/hooks/useDataListRetriever.d.ts.map +1 -1
- package/dist/hooks/useListSortParam.d.ts +23 -0
- package/dist/hooks/useListSortParam.d.ts.map +1 -0
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +2 -2
- package/package.json +1 -1
- package/src/components/tables/ContentListTable.tsx +108 -10
- package/src/components/tables/SortableHeader.tsx +43 -0
- package/src/components/tables/__tests__/ContentListTable.rendering.spec.tsx +1 -0
- package/src/components/tables/__tests__/ContentListTable.sort.spec.tsx +273 -0
- package/src/components/tables/__tests__/sorting.spec.ts +61 -0
- package/src/components/tables/cells/cell.date.tsx +10 -2
- package/src/components/tables/cells/cell.dateTime.tsx +10 -2
- package/src/components/tables/cells/cell.link.tsx +6 -1
- package/src/components/tables/cells/cell.text.tsx +11 -2
- package/src/components/tables/index.ts +2 -0
- package/src/components/tables/sorting.ts +41 -0
- package/src/features/billing/stripe-coupon/components/lists/CouponCodesList.tsx +2 -0
- package/src/features/billing/stripe-coupon/components/lists/CouponsList.tsx +2 -0
- package/src/features/billing/stripe-coupon/data/stripe-coupon-code.service.ts +4 -0
- package/src/features/billing/stripe-coupon/data/stripe-coupon.service.ts +7 -1
- package/src/features/billing/stripe-coupon/hooks/__tests__/useStripeCouponCodeTableStructure.sort.spec.tsx +30 -0
- package/src/features/billing/stripe-coupon/hooks/__tests__/useStripeCouponTableStructure.sort.spec.tsx +33 -0
- package/src/features/billing/stripe-coupon/hooks/useStripeCouponCodeTableStructure.tsx +5 -4
- package/src/features/billing/stripe-coupon/hooks/useStripeCouponTableStructure.tsx +7 -4
- package/src/features/billing/stripe-price/components/lists/PricesList.tsx +2 -0
- package/src/features/billing/stripe-price/data/stripe-price.service.ts +4 -0
- package/src/features/billing/stripe-price/hooks/__tests__/useStripePriceTableStructure.sort.spec.tsx +29 -0
- package/src/features/billing/stripe-price/hooks/useStripePriceTableStructure.tsx +8 -5
- package/src/features/billing/stripe-product/components/lists/ProductsList.tsx +2 -0
- package/src/features/billing/stripe-product/data/stripe-product.service.ts +4 -0
- package/src/features/billing/stripe-product/hooks/__tests__/useStripeProductTableStructure.sort.spec.tsx +29 -0
- package/src/features/billing/stripe-product/hooks/useStripeProductTableStructure.tsx +3 -2
- package/src/features/blog/components/admin/BlogPostsList.tsx +2 -0
- package/src/features/blog/data/BlogPostService.ts +3 -1
- package/src/features/blog/hooks/__tests__/useBlogPostTableStructure.sort.spec.tsx +19 -0
- package/src/features/blog/hooks/useBlogPostTableStructure.tsx +2 -2
- package/src/features/company/components/lists/CompaniesList.tsx +2 -0
- package/src/features/company/data/company.service.ts +3 -1
- package/src/features/company/hooks/__tests__/useCompanyTableStructure.sort.spec.tsx +19 -0
- package/src/features/company/hooks/useCompanyTableStructure.tsx +1 -1
- package/src/features/content/data/content.service.ts +12 -1
- package/src/features/content/hooks/__tests__/useContentTableStructure.sort.spec.tsx +21 -0
- package/src/features/content/hooks/useContentTableStructure.tsx +1 -1
- package/src/features/email-automation/components/lists/EmailAutomationRecipientsList.tsx +2 -0
- package/src/features/email-automation/components/lists/EmailAutomationsList.tsx +2 -0
- package/src/features/email-automation/data/EmailAutomationService.ts +9 -1
- package/src/features/email-automation/hooks/__tests__/useEmailAutomationEnrollmentTableStructure.sort.spec.tsx +21 -0
- package/src/features/email-automation/hooks/__tests__/useEmailAutomationTableStructure.sort.spec.tsx +29 -0
- package/src/features/email-automation/hooks/useEmailAutomationEnrollmentTableStructure.tsx +4 -4
- package/src/features/email-automation/hooks/useEmailAutomationTableStructure.tsx +5 -4
- package/src/features/email-blast/components/lists/EmailBlastsList.tsx +2 -0
- package/src/features/email-blast/data/EmailBlastService.ts +5 -1
- package/src/features/email-blast/hooks/__tests__/useEmailBlastTableStructure.sort.spec.tsx +29 -0
- package/src/features/email-blast/hooks/useEmailBlastTableStructure.tsx +16 -8
- package/src/features/how-to/components/lists/HowToList.tsx +2 -0
- package/src/features/how-to/data/HowToService.ts +4 -0
- package/src/features/how-to/hooks/__tests__/useHowToTableStructure.sort.spec.tsx +18 -0
- package/src/features/how-to/hooks/useHowToTableStructure.tsx +1 -1
- package/src/features/notification/components/lists/NotificationsList.tsx +2 -0
- package/src/features/notification/data/notification.service.ts +4 -0
- package/src/features/notification/hooks/__tests__/useNotificationTableStructure.sort.spec.tsx +19 -0
- package/src/features/notification/hooks/useNotificationTableStructure.tsx +1 -1
- package/src/features/referral/components/containers/ReferralsAdminContainer.tsx +4 -2
- package/src/features/referral/data/ReferralAdminService.ts +6 -1
- package/src/features/referral/hooks/__tests__/useReferralAdminReferralTableStructure.sort.spec.tsx +35 -0
- package/src/features/referral/hooks/useReferralAdminReferralTableStructure.tsx +10 -5
- package/src/features/role/components/lists/RolesList.tsx +2 -0
- package/src/features/role/components/lists/UserRolesList.tsx +2 -0
- package/src/features/role/data/role.service.ts +7 -1
- package/src/features/role/hooks/__tests__/useRoleTableStructure.sort.spec.tsx +16 -0
- package/src/features/role/hooks/useRoleTableStructure.tsx +2 -2
- package/src/features/user/components/lists/AdminUsersList.tsx +2 -0
- package/src/features/user/components/lists/CompanyUsersList.tsx +4 -0
- package/src/features/user/components/lists/PlatformUsersList.tsx +2 -0
- package/src/features/user/components/lists/RoleUsersList.tsx +2 -0
- package/src/features/user/components/lists/UsersListByContentIds.tsx +2 -0
- package/src/features/user/data/user.service.ts +28 -1
- package/src/features/user/hooks/__tests__/useUserTableStructure.sort.spec.tsx +16 -0
- package/src/features/user/hooks/useUserTableStructure.tsx +2 -2
- package/src/features/waitlist/components/lists/WaitlistList.tsx +2 -0
- package/src/features/waitlist/data/WaitlistService.ts +4 -0
- package/src/features/waitlist/hooks/__tests__/useWaitlistTableStructure.sort.spec.tsx +17 -0
- package/src/features/waitlist/hooks/useWaitlistTableStructure.tsx +3 -3
- package/src/hooks/__tests__/useDataListRetriever.sort.spec.tsx +114 -0
- package/src/hooks/__tests__/useListSortParam.spec.tsx +91 -0
- package/src/hooks/index.ts +1 -0
- package/src/hooks/useDataListRetriever.ts +44 -4
- package/src/hooks/useListSortParam.ts +53 -0
- package/dist/chunk-4JVLLBRS.mjs.map +0 -1
- package/dist/chunk-4SXHRANW.mjs.map +0 -1
- package/dist/chunk-GPVLFNLB.js.map +0 -1
- package/dist/chunk-NPGX2GJD.js.map +0 -1
- /package/dist/{BlockNoteEditor-KRNC6EAX.mjs.map → BlockNoteEditor-DCVT7YHE.mjs.map} +0 -0
- /package/dist/{BlockNoteViewer-NVSR67X5.mjs.map → BlockNoteViewer-XDAC6AL7.mjs.map} +0 -0
- /package/dist/{chunk-AEBZ67JJ.mjs.map → chunk-ETU3AW2X.mjs.map} +0 -0
- /package/dist/{chunk-AMQFKCAX.mjs.map → chunk-WPFEPIKP.mjs.map} +0 -0
|
@@ -45,13 +45,13 @@ import {
|
|
|
45
45
|
useDebounce,
|
|
46
46
|
usePageUrlGenerator,
|
|
47
47
|
useSidebar
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-V4NPMUZ2.mjs";
|
|
49
49
|
import {
|
|
50
50
|
useDateFormatter,
|
|
51
51
|
useMountedNow
|
|
52
52
|
} from "../chunk-5T2AQMQ2.mjs";
|
|
53
53
|
import "../chunk-VOXD3ZLY.mjs";
|
|
54
|
-
import "../chunk-
|
|
54
|
+
import "../chunk-WPFEPIKP.mjs";
|
|
55
55
|
import "../chunk-PW42LRSL.mjs";
|
|
56
56
|
import {
|
|
57
57
|
EmailAutomationEnrollmentService,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
showError,
|
|
63
63
|
showToast,
|
|
64
64
|
useIsMobile
|
|
65
|
-
} from "../chunk-
|
|
65
|
+
} from "../chunk-GUNH3THR.mjs";
|
|
66
66
|
import {
|
|
67
67
|
formatDate
|
|
68
68
|
} from "../chunk-RW6XZGZG.mjs";
|
|
@@ -258,7 +258,9 @@ function EmailAutomationsList({ fullWidth } = {}) {
|
|
|
258
258
|
const data = useDataListRetriever({
|
|
259
259
|
retriever: /* @__PURE__ */ __name((params) => EmailAutomationService.findMany(params), "retriever"),
|
|
260
260
|
retrieverParams: {},
|
|
261
|
-
module: Modules.EmailAutomation
|
|
261
|
+
module: Modules.EmailAutomation,
|
|
262
|
+
// Display only (call C8): the server's own order when no sort is chosen.
|
|
263
|
+
defaultSort: "-updatedAt"
|
|
262
264
|
});
|
|
263
265
|
useEffect2(() => {
|
|
264
266
|
let active = true;
|
|
@@ -1520,7 +1522,9 @@ function EmailAutomationRecipientsList() {
|
|
|
1520
1522
|
const data = useDataListRetriever({
|
|
1521
1523
|
retriever: /* @__PURE__ */ __name((params) => EmailAutomationService.findEnrollments(params), "retriever"),
|
|
1522
1524
|
retrieverParams: { automationId: automation?.id },
|
|
1523
|
-
module: Modules.EmailAutomationEnrollment
|
|
1525
|
+
module: Modules.EmailAutomationEnrollment,
|
|
1526
|
+
// Display only (call C8): the server's own order when no sort is chosen.
|
|
1527
|
+
defaultSort: "-enrolledAt"
|
|
1524
1528
|
});
|
|
1525
1529
|
const handleStatusChange = /* @__PURE__ */ __name((value) => {
|
|
1526
1530
|
const status = value ?? "all";
|
|
@@ -1750,7 +1754,7 @@ var useEmailAutomationTableStructure = /* @__PURE__ */ __name((params) => {
|
|
|
1750
1754
|
const automation = row.original.jsonApiData;
|
|
1751
1755
|
return /* @__PURE__ */ jsx19(Link, { href: generateUrl({ page: Modules.EmailAutomation, id: automation.id }), children: automation.name });
|
|
1752
1756
|
}, "cell"),
|
|
1753
|
-
enableSorting:
|
|
1757
|
+
enableSorting: true,
|
|
1754
1758
|
enableHiding: false
|
|
1755
1759
|
}),
|
|
1756
1760
|
["purpose" /* purpose */]: () => ({
|
|
@@ -1761,7 +1765,7 @@ var useEmailAutomationTableStructure = /* @__PURE__ */ __name((params) => {
|
|
|
1761
1765
|
const automation = row.original.jsonApiData;
|
|
1762
1766
|
return automation.purpose === "service" ? /* @__PURE__ */ jsx19(Badge, { variant: "softBlue", "data-testid": "email-automation-purpose-badge", children: t("emailPurpose.service") }) : /* @__PURE__ */ jsx19(Badge, { variant: "softGray", "data-testid": "email-automation-purpose-badge", children: t("emailPurpose.marketing") });
|
|
1763
1767
|
}, "cell"),
|
|
1764
|
-
enableSorting:
|
|
1768
|
+
enableSorting: true,
|
|
1765
1769
|
enableHiding: false
|
|
1766
1770
|
}),
|
|
1767
1771
|
["trigger" /* trigger */]: () => ({
|
|
@@ -1773,7 +1777,7 @@ var useEmailAutomationTableStructure = /* @__PURE__ */ __name((params) => {
|
|
|
1773
1777
|
if (!automation.trigger) return /* @__PURE__ */ jsx19("span", { className: "text-muted-foreground text-xs", children: "\u2014" });
|
|
1774
1778
|
return /* @__PURE__ */ jsx19("span", { className: "text-sm", children: triggerLabels[automation.trigger] ?? automation.trigger });
|
|
1775
1779
|
}, "cell"),
|
|
1776
|
-
enableSorting:
|
|
1780
|
+
enableSorting: true,
|
|
1777
1781
|
enableHiding: false
|
|
1778
1782
|
}),
|
|
1779
1783
|
["status" /* status */]: () => ({
|
|
@@ -1784,7 +1788,8 @@ var useEmailAutomationTableStructure = /* @__PURE__ */ __name((params) => {
|
|
|
1784
1788
|
const automation = row.original.jsonApiData;
|
|
1785
1789
|
return automation.isActive ? /* @__PURE__ */ jsx19(Badge, { variant: "softGreen", children: t("emailAutomations.list.status.on") }) : /* @__PURE__ */ jsx19(Badge, { variant: "softGray", children: t("emailAutomations.list.status.off") });
|
|
1786
1790
|
}, "cell"),
|
|
1787
|
-
|
|
1791
|
+
meta: { sortFields: ["isActive"] },
|
|
1792
|
+
enableSorting: true,
|
|
1788
1793
|
enableHiding: false
|
|
1789
1794
|
}),
|
|
1790
1795
|
["steps" /* steps */]: () => numericColumn("steps" /* steps */, t("emailAutomations.list.columns.steps"), (a) => a.stepCount),
|
|
@@ -1841,7 +1846,7 @@ var useEmailAutomationEnrollmentTableStructure = /* @__PURE__ */ __name((params)
|
|
|
1841
1846
|
const enrollment = row.original.jsonApiData;
|
|
1842
1847
|
return /* @__PURE__ */ jsx20("span", { className: "text-sm", children: enrollment.email });
|
|
1843
1848
|
}, "cell"),
|
|
1844
|
-
enableSorting:
|
|
1849
|
+
enableSorting: true,
|
|
1845
1850
|
enableHiding: false
|
|
1846
1851
|
}),
|
|
1847
1852
|
["name" /* name */]: () => ({
|
|
@@ -1852,7 +1857,7 @@ var useEmailAutomationEnrollmentTableStructure = /* @__PURE__ */ __name((params)
|
|
|
1852
1857
|
const enrollment = row.original.jsonApiData;
|
|
1853
1858
|
return enrollment.name ? /* @__PURE__ */ jsx20("span", { className: "text-sm", children: enrollment.name }) : empty;
|
|
1854
1859
|
}, "cell"),
|
|
1855
|
-
enableSorting:
|
|
1860
|
+
enableSorting: true,
|
|
1856
1861
|
enableHiding: false
|
|
1857
1862
|
}),
|
|
1858
1863
|
["status" /* status */]: () => ({
|
|
@@ -1870,7 +1875,7 @@ var useEmailAutomationEnrollmentTableStructure = /* @__PURE__ */ __name((params)
|
|
|
1870
1875
|
}
|
|
1871
1876
|
);
|
|
1872
1877
|
}, "cell"),
|
|
1873
|
-
enableSorting:
|
|
1878
|
+
enableSorting: true,
|
|
1874
1879
|
enableHiding: false
|
|
1875
1880
|
}),
|
|
1876
1881
|
["currentStep" /* currentStep */]: () => ({
|
|
@@ -1893,7 +1898,7 @@ var useEmailAutomationEnrollmentTableStructure = /* @__PURE__ */ __name((params)
|
|
|
1893
1898
|
if (!enrollment.nextSendAt) return empty;
|
|
1894
1899
|
return /* @__PURE__ */ jsx20("span", { className: "text-xs tabular-nums", children: now ? formatDate(enrollment.nextSendAt, "dateTime", locale, now) : "" });
|
|
1895
1900
|
}, "cell"),
|
|
1896
|
-
enableSorting:
|
|
1901
|
+
enableSorting: true,
|
|
1897
1902
|
enableHiding: false
|
|
1898
1903
|
}),
|
|
1899
1904
|
["sentCount" /* sentCount */]: () => ({
|