@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.
Files changed (227) hide show
  1. package/dist/{BlockNoteEditor-KRNC6EAX.mjs → BlockNoteEditor-DCVT7YHE.mjs} +4 -4
  2. package/dist/{BlockNoteEditor-VXSVY6OY.js → BlockNoteEditor-ZVK5MD34.js} +24 -24
  3. package/dist/{BlockNoteEditor-VXSVY6OY.js.map → BlockNoteEditor-ZVK5MD34.js.map} +1 -1
  4. package/dist/{BlockNoteViewer-RQBYHBQL.js → BlockNoteViewer-2KPGZSTJ.js} +3 -3
  5. package/dist/{BlockNoteViewer-RQBYHBQL.js.map → BlockNoteViewer-2KPGZSTJ.js.map} +1 -1
  6. package/dist/{BlockNoteViewer-NVSR67X5.mjs → BlockNoteViewer-XDAC6AL7.mjs} +2 -2
  7. package/dist/billing/index.js +477 -469
  8. package/dist/billing/index.js.map +1 -1
  9. package/dist/billing/index.mjs +15 -7
  10. package/dist/billing/index.mjs.map +1 -1
  11. package/dist/{chunk-5H25LM2Z.js → chunk-576XHOYH.js} +5 -5
  12. package/dist/{chunk-5H25LM2Z.js.map → chunk-576XHOYH.js.map} +1 -1
  13. package/dist/{chunk-NPGX2GJD.js → chunk-CI64OTRX.js} +98 -75
  14. package/dist/chunk-CI64OTRX.js.map +1 -0
  15. package/dist/{chunk-AEBZ67JJ.mjs → chunk-ETU3AW2X.mjs} +2 -2
  16. package/dist/{chunk-4JVLLBRS.mjs → chunk-GUNH3THR.mjs} +24 -1
  17. package/dist/chunk-GUNH3THR.mjs.map +1 -0
  18. package/dist/{chunk-GPVLFNLB.js → chunk-KH4Y4FU4.js} +1411 -1187
  19. package/dist/chunk-KH4Y4FU4.js.map +1 -0
  20. package/dist/{chunk-PNCO3HMJ.js → chunk-TCAOU6NH.js} +3 -3
  21. package/dist/{chunk-PNCO3HMJ.js.map → chunk-TCAOU6NH.js.map} +1 -1
  22. package/dist/{chunk-4SXHRANW.mjs → chunk-V4NPMUZ2.mjs} +2627 -2403
  23. package/dist/chunk-V4NPMUZ2.mjs.map +1 -0
  24. package/dist/{chunk-AMQFKCAX.mjs → chunk-WPFEPIKP.mjs} +2 -2
  25. package/dist/client/index.js +6 -4
  26. package/dist/client/index.js.map +1 -1
  27. package/dist/client/index.mjs +5 -3
  28. package/dist/components/index.js +12 -4
  29. package/dist/components/index.js.map +1 -1
  30. package/dist/components/index.mjs +11 -3
  31. package/dist/components/tables/ContentListTable.d.ts +14 -0
  32. package/dist/components/tables/ContentListTable.d.ts.map +1 -1
  33. package/dist/components/tables/SortableHeader.d.ts +17 -0
  34. package/dist/components/tables/SortableHeader.d.ts.map +1 -0
  35. package/dist/components/tables/cells/cell.date.d.ts +4 -0
  36. package/dist/components/tables/cells/cell.date.d.ts.map +1 -1
  37. package/dist/components/tables/cells/cell.dateTime.d.ts +4 -0
  38. package/dist/components/tables/cells/cell.dateTime.d.ts.map +1 -1
  39. package/dist/components/tables/cells/cell.link.d.ts +4 -0
  40. package/dist/components/tables/cells/cell.link.d.ts.map +1 -1
  41. package/dist/components/tables/cells/cell.text.d.ts +4 -0
  42. package/dist/components/tables/cells/cell.text.d.ts.map +1 -1
  43. package/dist/components/tables/index.d.ts +2 -0
  44. package/dist/components/tables/index.d.ts.map +1 -1
  45. package/dist/components/tables/sorting.d.ts +24 -0
  46. package/dist/components/tables/sorting.d.ts.map +1 -0
  47. package/dist/contexts/index.js +4 -4
  48. package/dist/contexts/index.mjs +3 -3
  49. package/dist/core/index.js +2 -2
  50. package/dist/core/index.mjs +1 -1
  51. package/dist/email-automations/index.js +120 -115
  52. package/dist/email-automations/index.js.map +1 -1
  53. package/dist/email-automations/index.mjs +18 -13
  54. package/dist/email-automations/index.mjs.map +1 -1
  55. package/dist/features/analytics/index.js +114 -114
  56. package/dist/features/analytics/index.mjs +3 -3
  57. package/dist/features/analytics/server.js +4 -4
  58. package/dist/features/analytics/server.mjs +2 -2
  59. package/dist/features/billing/stripe-coupon/components/lists/CouponCodesList.d.ts.map +1 -1
  60. package/dist/features/billing/stripe-coupon/components/lists/CouponsList.d.ts.map +1 -1
  61. package/dist/features/billing/stripe-coupon/data/stripe-coupon-code.service.d.ts +2 -0
  62. package/dist/features/billing/stripe-coupon/data/stripe-coupon-code.service.d.ts.map +1 -1
  63. package/dist/features/billing/stripe-coupon/data/stripe-coupon.service.d.ts +1 -0
  64. package/dist/features/billing/stripe-coupon/data/stripe-coupon.service.d.ts.map +1 -1
  65. package/dist/features/billing/stripe-coupon/hooks/useStripeCouponCodeTableStructure.d.ts.map +1 -1
  66. package/dist/features/billing/stripe-coupon/hooks/useStripeCouponTableStructure.d.ts.map +1 -1
  67. package/dist/features/billing/stripe-price/components/lists/PricesList.d.ts.map +1 -1
  68. package/dist/features/billing/stripe-price/data/stripe-price.service.d.ts +2 -0
  69. package/dist/features/billing/stripe-price/data/stripe-price.service.d.ts.map +1 -1
  70. package/dist/features/billing/stripe-price/hooks/useStripePriceTableStructure.d.ts.map +1 -1
  71. package/dist/features/billing/stripe-product/components/lists/ProductsList.d.ts.map +1 -1
  72. package/dist/features/billing/stripe-product/data/stripe-product.service.d.ts +2 -0
  73. package/dist/features/billing/stripe-product/data/stripe-product.service.d.ts.map +1 -1
  74. package/dist/features/billing/stripe-product/hooks/useStripeProductTableStructure.d.ts.map +1 -1
  75. package/dist/features/blog/components/admin/BlogPostsList.d.ts.map +1 -1
  76. package/dist/features/blog/data/BlogPostService.d.ts +1 -0
  77. package/dist/features/blog/data/BlogPostService.d.ts.map +1 -1
  78. package/dist/features/blog/index.js +134 -132
  79. package/dist/features/blog/index.js.map +1 -1
  80. package/dist/features/blog/index.mjs +8 -6
  81. package/dist/features/blog/index.mjs.map +1 -1
  82. package/dist/features/blog/server.js +7 -7
  83. package/dist/features/blog/server.mjs +1 -1
  84. package/dist/features/company/components/lists/CompaniesList.d.ts.map +1 -1
  85. package/dist/features/company/data/company.service.d.ts +1 -0
  86. package/dist/features/company/data/company.service.d.ts.map +1 -1
  87. package/dist/features/content/data/content.service.d.ts +3 -0
  88. package/dist/features/content/data/content.service.d.ts.map +1 -1
  89. package/dist/features/email-automation/components/lists/EmailAutomationRecipientsList.d.ts.map +1 -1
  90. package/dist/features/email-automation/components/lists/EmailAutomationsList.d.ts.map +1 -1
  91. package/dist/features/email-automation/data/EmailAutomationService.d.ts +3 -0
  92. package/dist/features/email-automation/data/EmailAutomationService.d.ts.map +1 -1
  93. package/dist/features/email-automation/hooks/useEmailAutomationTableStructure.d.ts.map +1 -1
  94. package/dist/features/email-blast/components/lists/EmailBlastsList.d.ts.map +1 -1
  95. package/dist/features/email-blast/data/EmailBlastService.d.ts +1 -0
  96. package/dist/features/email-blast/data/EmailBlastService.d.ts.map +1 -1
  97. package/dist/features/email-blast/hooks/useEmailBlastTableStructure.d.ts.map +1 -1
  98. package/dist/features/help/index.js +37 -37
  99. package/dist/features/help/index.mjs +3 -3
  100. package/dist/features/how-to/components/lists/HowToList.d.ts.map +1 -1
  101. package/dist/features/how-to/data/HowToService.d.ts +2 -0
  102. package/dist/features/how-to/data/HowToService.d.ts.map +1 -1
  103. package/dist/features/notification/components/lists/NotificationsList.d.ts.map +1 -1
  104. package/dist/features/notification/data/notification.service.d.ts +2 -0
  105. package/dist/features/notification/data/notification.service.d.ts.map +1 -1
  106. package/dist/features/referral/components/containers/ReferralsAdminContainer.d.ts.map +1 -1
  107. package/dist/features/referral/data/ReferralAdminService.d.ts +1 -0
  108. package/dist/features/referral/data/ReferralAdminService.d.ts.map +1 -1
  109. package/dist/features/referral/hooks/useReferralAdminReferralTableStructure.d.ts.map +1 -1
  110. package/dist/features/role/components/lists/RolesList.d.ts.map +1 -1
  111. package/dist/features/role/components/lists/UserRolesList.d.ts.map +1 -1
  112. package/dist/features/role/data/role.service.d.ts +3 -0
  113. package/dist/features/role/data/role.service.d.ts.map +1 -1
  114. package/dist/features/tokenusage/index.js +114 -114
  115. package/dist/features/tokenusage/index.mjs +3 -3
  116. package/dist/features/user/components/lists/AdminUsersList.d.ts.map +1 -1
  117. package/dist/features/user/components/lists/CompanyUsersList.d.ts.map +1 -1
  118. package/dist/features/user/components/lists/PlatformUsersList.d.ts.map +1 -1
  119. package/dist/features/user/components/lists/RoleUsersList.d.ts.map +1 -1
  120. package/dist/features/user/components/lists/UsersListByContentIds.d.ts.map +1 -1
  121. package/dist/features/user/data/user.service.d.ts +11 -0
  122. package/dist/features/user/data/user.service.d.ts.map +1 -1
  123. package/dist/features/waitlist/components/lists/WaitlistList.d.ts.map +1 -1
  124. package/dist/features/waitlist/data/WaitlistService.d.ts +2 -0
  125. package/dist/features/waitlist/data/WaitlistService.d.ts.map +1 -1
  126. package/dist/hooks/index.d.ts +1 -0
  127. package/dist/hooks/index.d.ts.map +1 -1
  128. package/dist/hooks/useDataListRetriever.d.ts +13 -0
  129. package/dist/hooks/useDataListRetriever.d.ts.map +1 -1
  130. package/dist/hooks/useListSortParam.d.ts +23 -0
  131. package/dist/hooks/useListSortParam.d.ts.map +1 -0
  132. package/dist/index.js +3 -3
  133. package/dist/index.mjs +2 -2
  134. package/dist/server/index.js +3 -3
  135. package/dist/server/index.mjs +2 -2
  136. package/package.json +1 -1
  137. package/src/components/tables/ContentListTable.tsx +108 -10
  138. package/src/components/tables/SortableHeader.tsx +43 -0
  139. package/src/components/tables/__tests__/ContentListTable.rendering.spec.tsx +1 -0
  140. package/src/components/tables/__tests__/ContentListTable.sort.spec.tsx +273 -0
  141. package/src/components/tables/__tests__/sorting.spec.ts +61 -0
  142. package/src/components/tables/cells/cell.date.tsx +10 -2
  143. package/src/components/tables/cells/cell.dateTime.tsx +10 -2
  144. package/src/components/tables/cells/cell.link.tsx +6 -1
  145. package/src/components/tables/cells/cell.text.tsx +11 -2
  146. package/src/components/tables/index.ts +2 -0
  147. package/src/components/tables/sorting.ts +41 -0
  148. package/src/features/billing/stripe-coupon/components/lists/CouponCodesList.tsx +2 -0
  149. package/src/features/billing/stripe-coupon/components/lists/CouponsList.tsx +2 -0
  150. package/src/features/billing/stripe-coupon/data/stripe-coupon-code.service.ts +4 -0
  151. package/src/features/billing/stripe-coupon/data/stripe-coupon.service.ts +7 -1
  152. package/src/features/billing/stripe-coupon/hooks/__tests__/useStripeCouponCodeTableStructure.sort.spec.tsx +30 -0
  153. package/src/features/billing/stripe-coupon/hooks/__tests__/useStripeCouponTableStructure.sort.spec.tsx +33 -0
  154. package/src/features/billing/stripe-coupon/hooks/useStripeCouponCodeTableStructure.tsx +5 -4
  155. package/src/features/billing/stripe-coupon/hooks/useStripeCouponTableStructure.tsx +7 -4
  156. package/src/features/billing/stripe-price/components/lists/PricesList.tsx +2 -0
  157. package/src/features/billing/stripe-price/data/stripe-price.service.ts +4 -0
  158. package/src/features/billing/stripe-price/hooks/__tests__/useStripePriceTableStructure.sort.spec.tsx +29 -0
  159. package/src/features/billing/stripe-price/hooks/useStripePriceTableStructure.tsx +8 -5
  160. package/src/features/billing/stripe-product/components/lists/ProductsList.tsx +2 -0
  161. package/src/features/billing/stripe-product/data/stripe-product.service.ts +4 -0
  162. package/src/features/billing/stripe-product/hooks/__tests__/useStripeProductTableStructure.sort.spec.tsx +29 -0
  163. package/src/features/billing/stripe-product/hooks/useStripeProductTableStructure.tsx +3 -2
  164. package/src/features/blog/components/admin/BlogPostsList.tsx +2 -0
  165. package/src/features/blog/data/BlogPostService.ts +3 -1
  166. package/src/features/blog/hooks/__tests__/useBlogPostTableStructure.sort.spec.tsx +19 -0
  167. package/src/features/blog/hooks/useBlogPostTableStructure.tsx +2 -2
  168. package/src/features/company/components/lists/CompaniesList.tsx +2 -0
  169. package/src/features/company/data/company.service.ts +3 -1
  170. package/src/features/company/hooks/__tests__/useCompanyTableStructure.sort.spec.tsx +19 -0
  171. package/src/features/company/hooks/useCompanyTableStructure.tsx +1 -1
  172. package/src/features/content/data/content.service.ts +12 -1
  173. package/src/features/content/hooks/__tests__/useContentTableStructure.sort.spec.tsx +21 -0
  174. package/src/features/content/hooks/useContentTableStructure.tsx +1 -1
  175. package/src/features/email-automation/components/lists/EmailAutomationRecipientsList.tsx +2 -0
  176. package/src/features/email-automation/components/lists/EmailAutomationsList.tsx +2 -0
  177. package/src/features/email-automation/data/EmailAutomationService.ts +9 -1
  178. package/src/features/email-automation/hooks/__tests__/useEmailAutomationEnrollmentTableStructure.sort.spec.tsx +21 -0
  179. package/src/features/email-automation/hooks/__tests__/useEmailAutomationTableStructure.sort.spec.tsx +29 -0
  180. package/src/features/email-automation/hooks/useEmailAutomationEnrollmentTableStructure.tsx +4 -4
  181. package/src/features/email-automation/hooks/useEmailAutomationTableStructure.tsx +5 -4
  182. package/src/features/email-blast/components/lists/EmailBlastsList.tsx +2 -0
  183. package/src/features/email-blast/data/EmailBlastService.ts +5 -1
  184. package/src/features/email-blast/hooks/__tests__/useEmailBlastTableStructure.sort.spec.tsx +29 -0
  185. package/src/features/email-blast/hooks/useEmailBlastTableStructure.tsx +16 -8
  186. package/src/features/how-to/components/lists/HowToList.tsx +2 -0
  187. package/src/features/how-to/data/HowToService.ts +4 -0
  188. package/src/features/how-to/hooks/__tests__/useHowToTableStructure.sort.spec.tsx +18 -0
  189. package/src/features/how-to/hooks/useHowToTableStructure.tsx +1 -1
  190. package/src/features/notification/components/lists/NotificationsList.tsx +2 -0
  191. package/src/features/notification/data/notification.service.ts +4 -0
  192. package/src/features/notification/hooks/__tests__/useNotificationTableStructure.sort.spec.tsx +19 -0
  193. package/src/features/notification/hooks/useNotificationTableStructure.tsx +1 -1
  194. package/src/features/referral/components/containers/ReferralsAdminContainer.tsx +4 -2
  195. package/src/features/referral/data/ReferralAdminService.ts +6 -1
  196. package/src/features/referral/hooks/__tests__/useReferralAdminReferralTableStructure.sort.spec.tsx +35 -0
  197. package/src/features/referral/hooks/useReferralAdminReferralTableStructure.tsx +10 -5
  198. package/src/features/role/components/lists/RolesList.tsx +2 -0
  199. package/src/features/role/components/lists/UserRolesList.tsx +2 -0
  200. package/src/features/role/data/role.service.ts +7 -1
  201. package/src/features/role/hooks/__tests__/useRoleTableStructure.sort.spec.tsx +16 -0
  202. package/src/features/role/hooks/useRoleTableStructure.tsx +2 -2
  203. package/src/features/user/components/lists/AdminUsersList.tsx +2 -0
  204. package/src/features/user/components/lists/CompanyUsersList.tsx +4 -0
  205. package/src/features/user/components/lists/PlatformUsersList.tsx +2 -0
  206. package/src/features/user/components/lists/RoleUsersList.tsx +2 -0
  207. package/src/features/user/components/lists/UsersListByContentIds.tsx +2 -0
  208. package/src/features/user/data/user.service.ts +28 -1
  209. package/src/features/user/hooks/__tests__/useUserTableStructure.sort.spec.tsx +16 -0
  210. package/src/features/user/hooks/useUserTableStructure.tsx +2 -2
  211. package/src/features/waitlist/components/lists/WaitlistList.tsx +2 -0
  212. package/src/features/waitlist/data/WaitlistService.ts +4 -0
  213. package/src/features/waitlist/hooks/__tests__/useWaitlistTableStructure.sort.spec.tsx +17 -0
  214. package/src/features/waitlist/hooks/useWaitlistTableStructure.tsx +3 -3
  215. package/src/hooks/__tests__/useDataListRetriever.sort.spec.tsx +114 -0
  216. package/src/hooks/__tests__/useListSortParam.spec.tsx +91 -0
  217. package/src/hooks/index.ts +1 -0
  218. package/src/hooks/useDataListRetriever.ts +44 -4
  219. package/src/hooks/useListSortParam.ts +53 -0
  220. package/dist/chunk-4JVLLBRS.mjs.map +0 -1
  221. package/dist/chunk-4SXHRANW.mjs.map +0 -1
  222. package/dist/chunk-GPVLFNLB.js.map +0 -1
  223. package/dist/chunk-NPGX2GJD.js.map +0 -1
  224. /package/dist/{BlockNoteEditor-KRNC6EAX.mjs.map → BlockNoteEditor-DCVT7YHE.mjs.map} +0 -0
  225. /package/dist/{BlockNoteViewer-NVSR67X5.mjs.map → BlockNoteViewer-XDAC6AL7.mjs.map} +0 -0
  226. /package/dist/{chunk-AEBZ67JJ.mjs.map → chunk-ETU3AW2X.mjs.map} +0 -0
  227. /package/dist/{chunk-AMQFKCAX.mjs.map → chunk-WPFEPIKP.mjs.map} +0 -0
@@ -39,10 +39,10 @@ import {
39
39
  seriesTheme,
40
40
  usePageUrlGenerator,
41
41
  useUsageFormatters
42
- } from "../../chunk-4SXHRANW.mjs";
42
+ } from "../../chunk-V4NPMUZ2.mjs";
43
43
  import "../../chunk-5T2AQMQ2.mjs";
44
44
  import "../../chunk-VOXD3ZLY.mjs";
45
- import "../../chunk-AMQFKCAX.mjs";
45
+ import "../../chunk-WPFEPIKP.mjs";
46
46
  import "../../chunk-PW42LRSL.mjs";
47
47
  import {
48
48
  AbstractService,
@@ -59,7 +59,7 @@ import {
59
59
  configureTokenUsage,
60
60
  getTokenUsageCurrency,
61
61
  tokenUsageModules
62
- } from "../../chunk-4JVLLBRS.mjs";
62
+ } from "../../chunk-GUNH3THR.mjs";
63
63
  import "../../chunk-RW6XZGZG.mjs";
64
64
  import "../../chunk-OY65RYD3.mjs";
65
65
  import {
@@ -1 +1 @@
1
- {"version":3,"file":"AdminUsersList.d.ts","sourceRoot":"","sources":["../../../../../src/features/user/components/lists/AdminUsersList.tsx"],"names":[],"mappings":"AAoCA,wBAAgB,cAAc,uCAK7B"}
1
+ {"version":3,"file":"AdminUsersList.d.ts","sourceRoot":"","sources":["../../../../../src/features/user/components/lists/AdminUsersList.tsx"],"names":[],"mappings":"AAsCA,wBAAgB,cAAc,uCAK7B"}
@@ -1 +1 @@
1
- {"version":3,"file":"CompanyUsersList.d.ts","sourceRoot":"","sources":["../../../../../src/features/user/components/lists/CompanyUsersList.tsx"],"names":[],"mappings":"AAYA,KAAK,qBAAqB,GAAG;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,qBAAqB,+BA6B/E"}
1
+ {"version":3,"file":"CompanyUsersList.d.ts","sourceRoot":"","sources":["../../../../../src/features/user/components/lists/CompanyUsersList.tsx"],"names":[],"mappings":"AAYA,KAAK,qBAAqB,GAAG;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,qBAAqB,+BAiC/E"}
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformUsersList.d.ts","sourceRoot":"","sources":["../../../../../src/features/user/components/lists/PlatformUsersList.tsx"],"names":[],"mappings":"AASA,KAAK,sBAAsB,GAAG;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,cAAc,EAAE,SAAS,EAAE,EAAE,sBAAsB,+BAmBtF"}
1
+ {"version":3,"file":"PlatformUsersList.d.ts","sourceRoot":"","sources":["../../../../../src/features/user/components/lists/PlatformUsersList.tsx"],"names":[],"mappings":"AASA,KAAK,sBAAsB,GAAG;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,cAAc,EAAE,SAAS,EAAE,EAAE,sBAAsB,+BAqBtF"}
@@ -1 +1 @@
1
- {"version":3,"file":"RoleUsersList.d.ts","sourceRoot":"","sources":["../../../../../src/features/user/components/lists/RoleUsersList.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI9C,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,aAAa,CAAC;CACrB,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,EAAE,kBAAkB,+BAiBzD"}
1
+ {"version":3,"file":"RoleUsersList.d.ts","sourceRoot":"","sources":["../../../../../src/features/user/components/lists/RoleUsersList.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI9C,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,aAAa,CAAC;CACrB,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,EAAE,kBAAkB,+BAmBzD"}
@@ -1 +1 @@
1
- {"version":3,"file":"UsersListByContentIds.d.ts","sourceRoot":"","sources":["../../../../../src/features/user/components/lists/UsersListByContentIds.tsx"],"names":[],"mappings":"AASA,KAAK,0BAA0B,GAAG;IAChC,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,EAAE,UAAU,EAAE,EAAE,0BAA0B,+BAiB/E"}
1
+ {"version":3,"file":"UsersListByContentIds.d.ts","sourceRoot":"","sources":["../../../../../src/features/user/components/lists/UsersListByContentIds.tsx"],"names":[],"mappings":"AASA,KAAK,0BAA0B,GAAG;IAChC,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,EAAE,UAAU,EAAE,EAAE,0BAA0B,+BAmB/E"}
@@ -15,23 +15,30 @@ export declare class UserService extends AbstractService {
15
15
  includeDeleted?: boolean;
16
16
  next?: NextRef;
17
17
  prev?: PreviousRef;
18
+ /** JSON:API `sort` (`name`, `-name`), forwarded to the API. */
19
+ sort?: string;
18
20
  }): Promise<UserInterface[]>;
19
21
  static findManyByContentIds(params: {
20
22
  contentIds: string[];
21
23
  search?: string;
22
24
  next?: NextRef;
23
25
  prev?: PreviousRef;
26
+ /** JSON:API `sort` (`name`, `-name`), forwarded to the API. */
27
+ sort?: string;
24
28
  }): Promise<UserInterface[]>;
25
29
  static findRelevant(params: {
26
30
  id: string;
27
31
  next?: NextRef;
28
32
  prev?: PreviousRef;
33
+ sort?: string;
29
34
  }): Promise<UserInterface[]>;
30
35
  static findManyForAmin(params: {
31
36
  companyId?: string;
32
37
  search?: string;
33
38
  next?: NextRef;
34
39
  prev?: PreviousRef;
40
+ /** JSON:API `sort` (`name`, `-name`), forwarded to the API. */
41
+ sort?: string;
35
42
  }): Promise<UserInterface[]>;
36
43
  static findAllUsers(params: {
37
44
  companyId: string;
@@ -40,12 +47,16 @@ export declare class UserService extends AbstractService {
40
47
  isDeleted?: boolean;
41
48
  next?: NextRef;
42
49
  prev?: PreviousRef;
50
+ /** JSON:API `sort` (`name`, `-name`), forwarded to the API. */
51
+ sort?: string;
43
52
  }): Promise<UserInterface[]>;
44
53
  static findAllUsersByRole(params: {
45
54
  roleId: string;
46
55
  search?: string;
47
56
  next?: NextRef;
48
57
  prev?: PreviousRef;
58
+ /** JSON:API `sort` (`name`, `-name`), forwarded to the API. */
59
+ sort?: string;
49
60
  }): Promise<UserInterface[]>;
50
61
  static findAllUsersNotInRole(params: {
51
62
  roleId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"user.service.d.ts","sourceRoot":"","sources":["../../../../src/features/user/data/user.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAwC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5G,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE5D,qBAAa,WAAY,SAAQ,eAAe;WACjC,YAAY,IAAI,OAAO,CAAC,aAAa,CAAC;WAUtC,QAAQ,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,aAAa,CAAC;WAQ5D,WAAW,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,aAAa,CAAC;WAM9D,QAAQ,CAAC,MAAM,EAAE;QAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,IAAI,CAAC,E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D,cAAc,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;WAgB7E,MAAM,CAAC,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC,aAAa,CAAC;WAUjD,KAAK,CAAC,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC;WAStF,WAAW,CAAC,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,aAAa,CAAC;WAS3E,aAAa,CAAC,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,aAAa,CAAC;WAS/E,SAAS,CAAC,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC,aAAa,CAAC;WAUpD,MAAM,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAQlF"}
@@ -1 +1 @@
1
- {"version":3,"file":"WaitlistList.d.ts","sourceRoot":"","sources":["../../../../../src/features/waitlist/components/lists/WaitlistList.tsx"],"names":[],"mappings":"AAeA,KAAK,iBAAiB,GAAG;IACvB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,GAAE,iBAAsB,+BAoHjE"}
1
+ {"version":3,"file":"WaitlistList.d.ts","sourceRoot":"","sources":["../../../../../src/features/waitlist/components/lists/WaitlistList.tsx"],"names":[],"mappings":"AAeA,KAAK,iBAAiB,GAAG;IACvB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,GAAE,iBAAsB,+BAsHjE"}
@@ -21,6 +21,8 @@ export declare class WaitlistService extends AbstractService {
21
21
  fetchAll?: boolean;
22
22
  next?: NextRef;
23
23
  previous?: PreviousRef;
24
+ /** JSON:API `sort` (`name`, `-name`), forwarded to the API. */
25
+ sort?: string;
24
26
  }): Promise<WaitlistInterface[]>;
25
27
  /**
26
28
  * Send invite (admin)
@@ -1 +1 @@
1
- {"version":3,"file":"WaitlistService.d.ts","sourceRoot":"","sources":["../../../../src/features/waitlist/data/WaitlistService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAwC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5G,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACzF,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,qBAAa,eAAgB,SAAQ,eAAe;IAClD;;;OAGG;WACU,MAAM,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAStE;;OAEG;WACU,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAc9D;;;OAGG;WACU,QAAQ,CAAC,MAAM,CAAC,EAAE;QAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,QAAQ,CAAC,EAAE,WAAW,CAAC;KACxB,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAgBhC;;OAEG;WACU,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAc3D;;;OAGG;WACU,WAAW,CAAC,GAA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M,EAAE,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAoBrF;;OAEG;WACU,QAAQ,IAAI,OAAO,CAAC,sBAAsB,CAAC;IAaxD;;OAEG;WACU,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC;CAyB5E"}
@@ -3,6 +3,7 @@ export type { TableContent, TableStructureGeneratorInterface, UseTableStructureH
3
3
  export { useUrlRewriter } from "./url.rewriter";
4
4
  export { useDataListRetriever, type DataListRetriever } from "./useDataListRetriever";
5
5
  export { useDebounce } from "./useDebounce";
6
+ export { useListSortParam } from "./useListSortParam";
6
7
  export { usePageUrlGenerator } from "./usePageUrlGenerator";
7
8
  export { registerTableGenerator, useTableGenerator } from "./useTableGenerator";
8
9
  export { configureI18n, getI18nLink, useI18nDateFnsLocale, useI18nLocale, useI18nRouter, useI18nTranslations, } from "../i18n";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAC1F,YAAY,EACV,YAAY,EACZ,gCAAgC,EAChC,qBAAqB,EACrB,2BAA2B,EAC3B,2BAA2B,GAC5B,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,KAAK,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AACtF,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGhF,OAAO,EACL,aAAa,EACb,WAAW,EACX,oBAAoB,EACpB,aAAa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,EACb,mBAAmB,GACpB,MAAM,SAAS,CAAC;AACjB,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,OAAO,EACL,oBAAoB,EACpB,6BAA6B,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,cAAc,GACpB,MAAM,wBAAwB,CAAC"}
@@ -20,6 +20,15 @@ export type DataListRetriever<T> = {
20
20
  removeElement: (element: T) => void;
21
21
  isSearch: boolean;
22
22
  pageInfo?: PageInfo;
23
+ /** The chosen sort in JSON:API wire format (`name`, `-name`), kept in the page address. */
24
+ sort?: string;
25
+ /** The list's display-only default order (e.g. `-updatedAt`). Never sent to the API. */
26
+ defaultSort?: string;
27
+ /**
28
+ * Sets (or, with `null`, clears) the sort: writes the address and refetches from page 1, keeping the search term.
29
+ * Optional so hand-built retrievers keep compiling; without it a server-mode table renders plain headers.
30
+ */
31
+ setSort?: (value: string | null) => void;
23
32
  };
24
33
  export declare function useDataListRetriever<T>(params: {
25
34
  ready?: boolean;
@@ -29,5 +38,9 @@ export declare function useDataListRetriever<T>(params: {
29
38
  addAdditionalParameter?: (key: string, value: any | null) => void;
30
39
  requiresSearch?: boolean;
31
40
  module: any;
41
+ /** Address key of this list's sort (`sort[<sortKey>]`). Defaults to `module.name`. */
42
+ sortKey?: string;
43
+ /** Display-only default order, exposed for the table header and never passed to the retriever. */
44
+ defaultSort?: string;
32
45
  }): DataListRetriever<T>;
33
46
  //# sourceMappingURL=useDataListRetriever.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDataListRetriever.d.ts","sourceRoot":"","sources":["../../src/hooks/useDataListRetriever.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,QAAQ,GAAG;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;I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IAAI,CAAC;IACjE,yBAAyB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,mBAAmB,EAAE,CAAC,OAAO,EAAE,CAAC,KAAK,IAAI,CAAC;IAC1C,aAAa,EAAE,CAAC,OAAO,EAAE,CAAC,KAAK,IAAI,CAAC;IACpC,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,2FAA2F;IAC3F,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,wFAAwF;IACxF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC1C,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,MAAM,EAAE;IAC9C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC;IACzC,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sBAAsB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI,KAAK,IAAI,CAAC;IAClE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,MAAM,EAAE,GAAG,CAAC;IACZ,sFAAsF;IACtF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kGAAkG;IAClG,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,iBAAiB,CAAC,CAAC,CAAC,CAkZvB"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * The sort of one list, kept in the page address as `sort[<sortKey>]=<value>`
3
+ * (JSON:API wire format: `name`, `-name`, `lastName,firstName`).
4
+ *
5
+ * The address is read from `window.location` once on mount, so this hook is not a
6
+ * Next search-params hook consumer and needs no `<Suspense>` boundary. `ready` is false
7
+ * until that read has happened; a loader holds its first fetch until then, so a
8
+ * restored sort costs one request, not two.
9
+ *
10
+ * `setSort` replaces only the query string of the current path with
11
+ * `history.replaceState`, keeping every other search param and the hash: no
12
+ * navigation, no scroll, no locale handling. `null` removes this list's key only.
13
+ *
14
+ * @param params.sortKey the list's address key; two lists on one page need two keys.
15
+ */
16
+ export declare function useListSortParam(params: {
17
+ sortKey: string;
18
+ }): {
19
+ sort: string | undefined;
20
+ ready: boolean;
21
+ setSort: (value: string | null) => void;
22
+ };
23
+ //# sourceMappingURL=useListSortParam.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useListSortParam.d.ts","sourceRoot":"","sources":["../../src/hooks/useListSortParam.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,GAAG;IAC7D,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CACzC,CA6BA"}
package/dist/index.js CHANGED
@@ -20,7 +20,7 @@
20
20
 
21
21
 
22
22
 
23
- var _chunkPNCO3HMJjs = require('./chunk-PNCO3HMJ.js');
23
+ var _chunkTCAOU6NHjs = require('./chunk-TCAOU6NH.js');
24
24
 
25
25
 
26
26
 
@@ -338,7 +338,7 @@ var _chunkG4JR3SFVjs = require('./chunk-G4JR3SFV.js');
338
338
 
339
339
 
340
340
 
341
- var _chunkNPGX2GJDjs = require('./chunk-NPGX2GJD.js');
341
+ var _chunkCI64OTRXjs = require('./chunk-CI64OTRX.js');
342
342
 
343
343
 
344
344
 
@@ -742,5 +742,5 @@ require('./chunk-7QVYU63E.js');
742
742
 
743
743
 
744
744
 
745
- exports.ACCOUNT_DELETION_CANCELLED_KEY = _chunkNPGX2GJDjs.ACCOUNT_DELETION_CANCELLED_KEY; exports.ACTION_TYPES = _chunkPNCO3HMJjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkNPGX2GJDjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkZ6T2575Ajs.AbstractApiData; exports.AbstractService = _chunkNPGX2GJDjs.AbstractService; exports.AccountDeletion = _chunkNPGX2GJDjs.AccountDeletion; exports.AccountDeletionModule = _chunkNPGX2GJDjs.AccountDeletionModule; exports.AccountDeletionService = _chunkNPGX2GJDjs.AccountDeletionService; exports.Action = _chunkNPGX2GJDjs.Action; exports.AiConnection = _chunkNPGX2GJDjs.AiConnection; exports.AiConnectionFields = _chunkNPGX2GJDjs.AiConnectionFields; exports.AiConnectionModule = _chunkNPGX2GJDjs.AiConnectionModule; exports.AiConnectionService = _chunkNPGX2GJDjs.AiConnectionService; exports.Assistant = _chunkNPGX2GJDjs.Assistant; exports.AssistantAction = _chunkNPGX2GJDjs.AssistantAction; exports.AssistantActionModule = _chunkNPGX2GJDjs.AssistantActionModule; exports.AssistantActionService = _chunkNPGX2GJDjs.AssistantActionService; exports.AssistantMessage = _chunkNPGX2GJDjs.AssistantMessage; exports.AssistantMessageModule = _chunkNPGX2GJDjs.AssistantMessageModule; exports.AssistantMessageService = _chunkNPGX2GJDjs.AssistantMessageService; exports.AssistantModule = _chunkNPGX2GJDjs.AssistantModule; exports.AssistantService = _chunkNPGX2GJDjs.AssistantService; exports.AuditLog = _chunkNPGX2GJDjs.AuditLog; exports.AuditLogModule = _chunkNPGX2GJDjs.AuditLogModule; exports.AuditLogService = _chunkNPGX2GJDjs.AuditLogService; exports.Auth = _chunkNPGX2GJDjs.Auth; exports.AuthComponent = _chunkNPGX2GJDjs.AuthComponent; exports.AuthModule = _chunkNPGX2GJDjs.AuthModule; exports.AuthService = _chunkNPGX2GJDjs.AuthService; exports.AuthorModule = _chunkNPGX2GJDjs.AuthorModule; exports.BackupCodeVerify = _chunkNPGX2GJDjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkNPGX2GJDjs.BackupCodeVerifyModule; exports.Billing = _chunkNPGX2GJDjs.Billing; exports.BillingModule = _chunkNPGX2GJDjs.BillingModule; exports.BillingService = _chunkNPGX2GJDjs.BillingService; exports.BlockNoteDiffUtil = _chunkNPGX2GJDjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkNPGX2GJDjs.BlockNoteWordDiffRendererUtil; exports.BlogCategory = _chunkNPGX2GJDjs.BlogCategory; exports.BlogCategoryFields = _chunkNPGX2GJDjs.BlogCategoryFields; exports.BlogCategoryModule = _chunkNPGX2GJDjs.BlogCategoryModule; exports.BlogCategoryService = _chunkNPGX2GJDjs.BlogCategoryService; exports.BlogCategoryTranslation = _chunkNPGX2GJDjs.BlogCategoryTranslation; exports.BlogCategoryTranslationModule = _chunkNPGX2GJDjs.BlogCategoryTranslationModule; exports.BlogCategoryTranslationService = _chunkNPGX2GJDjs.BlogCategoryTranslationService; exports.BlogPost = _chunkNPGX2GJDjs.BlogPost; exports.BlogPostFields = _chunkNPGX2GJDjs.BlogPostFields; exports.BlogPostModule = _chunkNPGX2GJDjs.BlogPostModule; exports.BlogPostService = _chunkNPGX2GJDjs.BlogPostService; exports.BlogPostTranslation = _chunkNPGX2GJDjs.BlogPostTranslation; exports.BlogPostTranslationModule = _chunkNPGX2GJDjs.BlogPostTranslationModule; exports.BlogPostTranslationService = _chunkNPGX2GJDjs.BlogPostTranslationService; exports.BlogSettings = _chunkNPGX2GJDjs.BlogSettings; exports.BlogSettingsModule = _chunkNPGX2GJDjs.BlogSettingsModule; exports.BlogSettingsService = _chunkNPGX2GJDjs.BlogSettingsService; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkPNCO3HMJjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CREDIT_WARNING_DISMISS_SEGMENT = _chunkNPGX2GJDjs.CREDIT_WARNING_DISMISS_SEGMENT; exports.CURRENT_USER_STORAGE_KEY = _chunk3VNDFKT7js.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkNPGX2GJDjs.Chunk; exports.ChunkModule = _chunkNPGX2GJDjs.ChunkModule; exports.ClientAbstractService = _chunkNPGX2GJDjs.ClientAbstractService; exports.ClientHttpMethod = _chunkNPGX2GJDjs.ClientHttpMethod; exports.Company = _chunkNPGX2GJDjs.Company; exports.CompanyFields = _chunkNPGX2GJDjs.CompanyFields; exports.CompanyModule = _chunkNPGX2GJDjs.CompanyModule; exports.CompanyService = _chunkNPGX2GJDjs.CompanyService; exports.Content = _chunkNPGX2GJDjs.Content; exports.ContentFields = _chunkNPGX2GJDjs.ContentFields; exports.ContentModule = _chunkNPGX2GJDjs.ContentModule; exports.ContentService = _chunkNPGX2GJDjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkNPGX2GJDjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkLNO2JLU3js.DataClassRegistry; exports.DataClassRegistry = _chunkLNO2JLU3js.DataClassRegistry; exports.DiscordConnectConfirmation = _chunkNPGX2GJDjs.DiscordConnectConfirmation; exports.DiscordConnectConfirmationModule = _chunkNPGX2GJDjs.DiscordConnectConfirmationModule; exports.DiscordConnectConfirmationService = _chunkNPGX2GJDjs.DiscordConnectConfirmationService; exports.DiscordConnectIntent = _chunkNPGX2GJDjs.DiscordConnectIntent; exports.DiscordConnectIntentModule = _chunkNPGX2GJDjs.DiscordConnectIntentModule; exports.DiscordConnectIntentService = _chunkNPGX2GJDjs.DiscordConnectIntentService; exports.DiscordConnection = _chunkNPGX2GJDjs.DiscordConnection; exports.DiscordConnectionModule = _chunkNPGX2GJDjs.DiscordConnectionModule; exports.DiscordConnectionService = _chunkNPGX2GJDjs.DiscordConnectionService; exports.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = _chunkNPGX2GJDjs.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE; exports.EMAIL_BLAST_SEGMENTS = _chunkNPGX2GJDjs.EMAIL_BLAST_SEGMENTS; exports.EMAIL_BLAST_UNSUBSCRIBE_TYPE = _chunkNPGX2GJDjs.EMAIL_BLAST_UNSUBSCRIBE_TYPE; exports.ENV = _chunkLNO2JLU3js.ENV; exports.EmailAutomation = _chunkNPGX2GJDjs.EmailAutomation; exports.EmailAutomationCandidate = _chunkNPGX2GJDjs.EmailAutomationCandidate; exports.EmailAutomationCandidateModule = _chunkNPGX2GJDjs.EmailAutomationCandidateModule; exports.EmailAutomationEnrollment = _chunkNPGX2GJDjs.EmailAutomationEnrollment; exports.EmailAutomationEnrollmentFields = _chunkNPGX2GJDjs.EmailAutomationEnrollmentFields; exports.EmailAutomationEnrollmentModule = _chunkNPGX2GJDjs.EmailAutomationEnrollmentModule; exports.EmailAutomationEnrollmentService = _chunkNPGX2GJDjs.EmailAutomationEnrollmentService; exports.EmailAutomationFields = _chunkNPGX2GJDjs.EmailAutomationFields; exports.EmailAutomationModule = _chunkNPGX2GJDjs.EmailAutomationModule; exports.EmailAutomationService = _chunkNPGX2GJDjs.EmailAutomationService; exports.EmailAutomationStep = _chunkNPGX2GJDjs.EmailAutomationStep; exports.EmailAutomationStepModule = _chunkNPGX2GJDjs.EmailAutomationStepModule; exports.EmailAutomationStepService = _chunkNPGX2GJDjs.EmailAutomationStepService; exports.EmailAutomationTrigger = _chunkNPGX2GJDjs.EmailAutomationTrigger; exports.EmailAutomationTriggerModule = _chunkNPGX2GJDjs.EmailAutomationTriggerModule; exports.EmailBlast = _chunkNPGX2GJDjs.EmailBlast; exports.EmailBlastAudience = _chunkNPGX2GJDjs.EmailBlastAudience; exports.EmailBlastAudienceModule = _chunkNPGX2GJDjs.EmailBlastAudienceModule; exports.EmailBlastDelivery = _chunkNPGX2GJDjs.EmailBlastDelivery; exports.EmailBlastDeliveryModule = _chunkNPGX2GJDjs.EmailBlastDeliveryModule; exports.EmailBlastDeliveryService = _chunkNPGX2GJDjs.EmailBlastDeliveryService; exports.EmailBlastFields = _chunkNPGX2GJDjs.EmailBlastFields; exports.EmailBlastModule = _chunkNPGX2GJDjs.EmailBlastModule; exports.EmailBlastService = _chunkNPGX2GJDjs.EmailBlastService; exports.EndpointCreator = _chunkZ6T2575Ajs.EndpointCreator; exports.EntityAiStatus = _chunkNPGX2GJDjs.EntityAiStatus; exports.Feature = _chunkNPGX2GJDjs.Feature; exports.FeatureModule = _chunkNPGX2GJDjs.FeatureModule; exports.FeatureService = _chunkNPGX2GJDjs.FeatureService; exports.HandbookPage = _chunkNPGX2GJDjs.HandbookPage; exports.HandbookPageFields = _chunkNPGX2GJDjs.HandbookPageFields; exports.HandbookPageModule = _chunkNPGX2GJDjs.HandbookPageModule; exports.HandbookPageService = _chunkNPGX2GJDjs.HandbookPageService; exports.HandbookSection = _chunkNPGX2GJDjs.HandbookSection; exports.HandbookSectionModule = _chunkNPGX2GJDjs.HandbookSectionModule; exports.HandbookSectionService = _chunkNPGX2GJDjs.HandbookSectionService; exports.HandbookThread = _chunkNPGX2GJDjs.HandbookThread; exports.HandbookThreadMessage = _chunkNPGX2GJDjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkNPGX2GJDjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkNPGX2GJDjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkNPGX2GJDjs.HandbookThreadModule; exports.HandbookThreadService = _chunkNPGX2GJDjs.HandbookThreadService; exports.HowTo = _chunkNPGX2GJDjs.HowTo; exports.HowToFields = _chunkNPGX2GJDjs.HowToFields; exports.HowToModule = _chunkNPGX2GJDjs.HowToModule; exports.HowToService = _chunkNPGX2GJDjs.HowToService; exports.HttpMethod = _chunkNPGX2GJDjs.HttpMethod; exports.InvoiceStatus = _chunkNPGX2GJDjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkLNO2JLU3js.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkNPGX2GJDjs.MOBILE_BREAKPOINT; exports.Module = _chunkNPGX2GJDjs.Module; exports.ModuleModule = _chunkNPGX2GJDjs.ModuleModule; exports.ModulePaths = _chunkNPGX2GJDjs.ModulePaths; exports.ModulePathsModule = _chunkNPGX2GJDjs.ModulePathsModule; exports.ModuleRegistrar = _chunkNPGX2GJDjs.ModuleRegistrar; exports.ModuleRegistry = _chunkZ6T2575Ajs.ModuleRegistry; exports.Modules = _chunkZ6T2575Ajs.Modules; exports.Notification = _chunkNPGX2GJDjs.Notification; exports.NotificationFields = _chunkNPGX2GJDjs.NotificationFields; exports.NotificationModule = _chunkNPGX2GJDjs.NotificationModule; exports.NotificationService = _chunkNPGX2GJDjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkNPGX2GJDjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkNPGX2GJDjs.OAuthClient; exports.OAuthModule = _chunkNPGX2GJDjs.OAuthModule; exports.OAuthService = _chunkNPGX2GJDjs.OAuthService; exports.OfflineChangeSet = _chunkNPGX2GJDjs.OfflineChangeSet; exports.Passkey = _chunkNPGX2GJDjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkNPGX2GJDjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkNPGX2GJDjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkNPGX2GJDjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkNPGX2GJDjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkNPGX2GJDjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkNPGX2GJDjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkNPGX2GJDjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkNPGX2GJDjs.PasskeyRename; exports.PasskeyRenameModule = _chunkNPGX2GJDjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkNPGX2GJDjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkNPGX2GJDjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkNPGX2GJDjs.PaymentMethod; exports.PendingRegistration = _chunkNPGX2GJDjs.PendingRegistration; exports.PendingRegistrationModule = _chunkNPGX2GJDjs.PendingRegistrationModule; exports.PermissionMapping = _chunkNPGX2GJDjs.PermissionMapping; exports.PermissionMappingModule = _chunkNPGX2GJDjs.PermissionMappingModule; exports.Push = _chunkNPGX2GJDjs.Push; exports.PushModule = _chunkNPGX2GJDjs.PushModule; exports.PushService = _chunkNPGX2GJDjs.PushService; exports.ROOT_SYNC_ENDPOINT = _chunkZ6T2575Ajs.ROOT_SYNC_ENDPOINT; exports.RbacMatrixModel = _chunkNPGX2GJDjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkNPGX2GJDjs.RbacMatrixModule; exports.RbacService = _chunkPNCO3HMJjs.RbacService; exports.ReferralAdminReferral = _chunkNPGX2GJDjs.ReferralAdminReferral; exports.ReferralAdminReferrer = _chunkNPGX2GJDjs.ReferralAdminReferrer; exports.ReferralAdminService = _chunkNPGX2GJDjs.ReferralAdminService; exports.ReferralAdminSummary = _chunkNPGX2GJDjs.ReferralAdminSummary; exports.ReferralModule = _chunkNPGX2GJDjs.ReferralModule; exports.ReferralService = _chunkNPGX2GJDjs.ReferralService; exports.ReferralStats = _chunkNPGX2GJDjs.ReferralStats; exports.ReferralStatsModule = _chunkNPGX2GJDjs.ReferralStatsModule; exports.ReferralVisit = _chunkNPGX2GJDjs.ReferralVisit; exports.RehydrationFactory = _chunkZ6T2575Ajs.RehydrationFactory; exports.Role = _chunkNPGX2GJDjs.Role; exports.RoleFields = _chunkNPGX2GJDjs.RoleFields; exports.RoleModule = _chunkNPGX2GJDjs.RoleModule; exports.RoleService = _chunkNPGX2GJDjs.RoleService; exports.RootSync = _chunkZ6T2575Ajs.RootSync; exports.S3 = _chunkNPGX2GJDjs.S3; exports.S3Module = _chunkNPGX2GJDjs.S3Module; exports.S3Service = _chunkNPGX2GJDjs.S3Service; exports.SIGNUP_SOURCE_COOKIE = _chunkPNCO3HMJjs.SIGNUP_SOURCE_COOKIE; exports.SIGNUP_SOURCE_COOKIE_MAX_AGE = _chunkPNCO3HMJjs.SIGNUP_SOURCE_COOKIE_MAX_AGE; exports.STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT = _chunkNPGX2GJDjs.STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT; exports.STRIPE_COUPON_DETAIL_PAGE_URL = _chunkNPGX2GJDjs.STRIPE_COUPON_DETAIL_PAGE_URL; exports.STRIPE_COUPON_REFRESH_SEGMENT = _chunkNPGX2GJDjs.STRIPE_COUPON_REFRESH_SEGMENT; exports.StripeCoupon = _chunkNPGX2GJDjs.StripeCoupon; exports.StripeCouponCode = _chunkNPGX2GJDjs.StripeCouponCode; exports.StripeCouponCodeFields = _chunkNPGX2GJDjs.StripeCouponCodeFields; exports.StripeCouponCodeModule = _chunkNPGX2GJDjs.StripeCouponCodeModule; exports.StripeCouponCodeService = _chunkNPGX2GJDjs.StripeCouponCodeService; exports.StripeCouponFields = _chunkNPGX2GJDjs.StripeCouponFields; exports.StripeCouponModule = _chunkNPGX2GJDjs.StripeCouponModule; exports.StripeCouponOffer = _chunkNPGX2GJDjs.StripeCouponOffer; exports.StripeCouponOfferModule = _chunkNPGX2GJDjs.StripeCouponOfferModule; exports.StripeCouponService = _chunkNPGX2GJDjs.StripeCouponService; exports.StripeCustomer = _chunkNPGX2GJDjs.StripeCustomer; exports.StripeCustomerModule = _chunkNPGX2GJDjs.StripeCustomerModule; exports.StripeCustomerService = _chunkNPGX2GJDjs.StripeCustomerService; exports.StripeInvoice = _chunkNPGX2GJDjs.StripeInvoice; exports.StripeInvoiceModule = _chunkNPGX2GJDjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkNPGX2GJDjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkNPGX2GJDjs.StripePaymentMethodModule; exports.StripePrice = _chunkNPGX2GJDjs.StripePrice; exports.StripePriceFields = _chunkNPGX2GJDjs.StripePriceFields; exports.StripePriceModule = _chunkNPGX2GJDjs.StripePriceModule; exports.StripePriceService = _chunkNPGX2GJDjs.StripePriceService; exports.StripeProduct = _chunkNPGX2GJDjs.StripeProduct; exports.StripeProductFields = _chunkNPGX2GJDjs.StripeProductFields; exports.StripeProductModule = _chunkNPGX2GJDjs.StripeProductModule; exports.StripeProductService = _chunkNPGX2GJDjs.StripeProductService; exports.StripePromotionCode = _chunkNPGX2GJDjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkNPGX2GJDjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkNPGX2GJDjs.StripePromotionCodeService; exports.StripeSubscription = _chunkNPGX2GJDjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkNPGX2GJDjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkNPGX2GJDjs.StripeSubscriptionService; exports.StripeUsage = _chunkNPGX2GJDjs.StripeUsage; exports.StripeUsageModule = _chunkNPGX2GJDjs.StripeUsageModule; exports.StripeUsageService = _chunkNPGX2GJDjs.StripeUsageService; exports.SubscriptionStatus = _chunkNPGX2GJDjs.SubscriptionStatus; exports.TableOptions = _chunkNPGX2GJDjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkNPGX2GJDjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkNPGX2GJDjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkNPGX2GJDjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkNPGX2GJDjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkNPGX2GJDjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkNPGX2GJDjs.TotpSetup; exports.TotpSetupModule = _chunkNPGX2GJDjs.TotpSetupModule; exports.TotpVerify = _chunkNPGX2GJDjs.TotpVerify; exports.TotpVerifyLogin = _chunkNPGX2GJDjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkNPGX2GJDjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkNPGX2GJDjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkNPGX2GJDjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkNPGX2GJDjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkNPGX2GJDjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkNPGX2GJDjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkNPGX2GJDjs.TwoFactorService; exports.TwoFactorStatus = _chunkNPGX2GJDjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkNPGX2GJDjs.TwoFactorStatusModule; exports.User = _chunkNPGX2GJDjs.User; exports.UserFields = _chunkNPGX2GJDjs.UserFields; exports.UserModule = _chunkNPGX2GJDjs.UserModule; exports.UserService = _chunkNPGX2GJDjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkNPGX2GJDjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkNPGX2GJDjs.Waitlist; exports.WaitlistFields = _chunkNPGX2GJDjs.WaitlistFields; exports.WaitlistModule = _chunkNPGX2GJDjs.WaitlistModule; exports.WaitlistService = _chunkNPGX2GJDjs.WaitlistService; exports.WaitlistStats = _chunkNPGX2GJDjs.WaitlistStats; exports.WaitlistStatsModule = _chunkNPGX2GJDjs.WaitlistStatsModule; exports.analyticsModules = _chunkNPGX2GJDjs.analyticsModules; exports.captureSignupSource = _chunkPNCO3HMJjs.captureSignupSource; exports.checkPermissions = _chunkNPGX2GJDjs.checkPermissions; exports.checkPermissionsFromServer = _chunkNPGX2GJDjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkNPGX2GJDjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkNPGX2GJDjs.clearLastApiTotal; exports.cn = _chunkNPGX2GJDjs.cn; exports.composeRefs = _chunkNPGX2GJDjs.composeRefs; exports.configureAuth = _chunkNPGX2GJDjs.configureAuth; exports.configureI18n = _chunkNP3AFULUjs.configureI18n; exports.configureJsonApi = _chunkPNCO3HMJjs.configureJsonApi; exports.configureLogin = _chunkPNCO3HMJjs.configureLogin; exports.configureReferral = _chunkPNCO3HMJjs.configureReferral; exports.configureRoles = _chunkG4JR3SFVjs.configureRoles; exports.configureTokenUsage = _chunkNPGX2GJDjs.configureTokenUsage; exports.configureWaitlist = _chunkPNCO3HMJjs.configureWaitlist; exports.consumeAccountDeletionCancelled = _chunkNPGX2GJDjs.consumeAccountDeletionCancelled; exports.couponPlacesLeft = _chunkNPGX2GJDjs.couponPlacesLeft; exports.couponPlacesTotal = _chunkNPGX2GJDjs.couponPlacesTotal; exports.createJsonApiInclusion = _chunkNPGX2GJDjs.createJsonApiInclusion; exports.dateFormatLocale = _chunkHROKKUBQjs.dateFormatLocale; exports.dismissToast = _chunkNPGX2GJDjs.dismissToast; exports.entityObjectSchema = _chunkNPGX2GJDjs.entityObjectSchema; exports.exists = _chunkNPGX2GJDjs.exists; exports.formatCodiceFiscale = _chunkNPGX2GJDjs.formatCodiceFiscale; exports.formatCouponDiscount = _chunkNPGX2GJDjs.formatCouponDiscount; exports.formatCurrency = _chunkNPGX2GJDjs.formatCurrency; exports.formatDate = _chunkHROKKUBQjs.formatDate; exports.formatDateStyle = _chunkHROKKUBQjs.formatDateStyle; exports.formatFixed = _chunkNPGX2GJDjs.formatFixed; exports.formatInterval = _chunkNPGX2GJDjs.formatInterval; exports.formatLocalDate = _chunkHROKKUBQjs.formatLocalDate; exports.formatPartitaIva = _chunkNPGX2GJDjs.formatPartitaIva; exports.formatRelativeDate = _chunkHROKKUBQjs.formatRelativeDate; exports.getApiUrl = _chunkPNCO3HMJjs.getApiUrl; exports.getAppUrl = _chunkPNCO3HMJjs.getAppUrl; exports.getBootstrapper = _chunkLNO2JLU3js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkNPGX2GJDjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkNPGX2GJDjs.getGlobalErrorHandler; exports.getIcon = _chunkNPGX2GJDjs.getIcon; exports.getIconByModule = _chunkNPGX2GJDjs.getIconByModule; exports.getIconByModuleName = _chunkNPGX2GJDjs.getIconByModuleName; exports.getInitials = _chunkNPGX2GJDjs.getInitials; exports.getLastApiMeta = _chunkNPGX2GJDjs.getLastApiMeta; exports.getLastApiTotal = _chunkNPGX2GJDjs.getLastApiTotal; exports.getLucideIcon = _chunkNPGX2GJDjs.getLucideIcon; exports.getLucideIconByModule = _chunkNPGX2GJDjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkNPGX2GJDjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkPNCO3HMJjs.getPublicApiUrl; exports.getReferralConfig = _chunkPNCO3HMJjs.getReferralConfig; exports.getRoleId = _chunkG4JR3SFVjs.getRoleId; exports.getSignupSource = _chunkPNCO3HMJjs.getSignupSource; exports.getStripePublishableKey = _chunkPNCO3HMJjs.getStripePublishableKey; exports.getTableComponents = _chunkNPGX2GJDjs.getTableComponents; exports.getTableOptions = _chunkNPGX2GJDjs.getTableOptions; exports.getTokenHandler = _chunkNPGX2GJDjs.getTokenHandler; exports.getTokenUsageCurrency = _chunkNPGX2GJDjs.getTokenUsageCurrency; exports.getTrackablePages = _chunkPNCO3HMJjs.getTrackablePages; exports.getValueFromPath = _chunkNPGX2GJDjs.getValueFromPath; exports.getWaitlistConfig = _chunkPNCO3HMJjs.getWaitlistConfig; exports.handbookPageContent = _chunkNPGX2GJDjs.handbookPageContent; exports.handbookPageSummary = _chunkNPGX2GJDjs.handbookPageSummary; exports.handbookPageTitle = _chunkNPGX2GJDjs.handbookPageTitle; exports.handbookSectionSummary = _chunkNPGX2GJDjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkNPGX2GJDjs.handbookSectionTitle; exports.hasBootstrapper = _chunkLNO2JLU3js.hasBootstrapper; exports.isCreditWarningActive = _chunkNPGX2GJDjs.isCreditWarningActive; exports.isDiscordAuthEnabled = _chunkPNCO3HMJjs.isDiscordAuthEnabled; exports.isReferralEnabled = _chunkPNCO3HMJjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkNPGX2GJDjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkG4JR3SFVjs.isRolesConfigured; exports.markAccountDeletionCancelled = _chunkNPGX2GJDjs.markAccountDeletionCancelled; exports.mergeMessages = _chunkNPGX2GJDjs.mergeMessages; exports.offlineModules = _chunkNPGX2GJDjs.offlineModules; exports.readSignupSourceFromLocation = _chunkPNCO3HMJjs.readSignupSourceFromLocation; exports.referralAdminModules = _chunkNPGX2GJDjs.referralAdminModules; exports.rehydrate = _chunkNPGX2GJDjs.rehydrate; exports.rehydrateList = _chunkNPGX2GJDjs.rehydrateList; exports.resetBootstrapStore = _chunkLNO2JLU3js.resetBootstrapStore; exports.resolveChangePlanTarget = _chunkNPGX2GJDjs.resolveChangePlanTarget; exports.resolveDateLocale = _chunkHROKKUBQjs.resolveDateLocale; exports.setBootstrapper = _chunkLNO2JLU3js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkNPGX2GJDjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkNPGX2GJDjs.setGlobalErrorHandler; exports.showCustomToast = _chunkNPGX2GJDjs.showCustomToast; exports.showError = _chunkNPGX2GJDjs.showError; exports.showToast = _chunkNPGX2GJDjs.showToast; exports.toPromotionCodeResult = _chunkNPGX2GJDjs.toPromotionCodeResult; exports.tokenUsageModules = _chunkNPGX2GJDjs.tokenUsageModules; exports.translateData = _chunkLNO2JLU3js.translateData; exports.translateResponse = _chunkLNO2JLU3js.translateResponse; exports.tryBootstrap = _chunkLNO2JLU3js.tryBootstrap; exports.useComposedRefs = _chunkNPGX2GJDjs.useComposedRefs; exports.useIsMobile = _chunkNPGX2GJDjs.useIsMobile; exports.userObjectSchema = _chunkNPGX2GJDjs.userObjectSchema; exports.usesTwelveHourClock = _chunkHROKKUBQjs.usesTwelveHourClock; exports.validateCodiceFiscale = _chunkNPGX2GJDjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkNPGX2GJDjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkNPGX2GJDjs.validatePartitaIva;
745
+ exports.ACCOUNT_DELETION_CANCELLED_KEY = _chunkCI64OTRXjs.ACCOUNT_DELETION_CANCELLED_KEY; exports.ACTION_TYPES = _chunkTCAOU6NHjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkCI64OTRXjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkZ6T2575Ajs.AbstractApiData; exports.AbstractService = _chunkCI64OTRXjs.AbstractService; exports.AccountDeletion = _chunkCI64OTRXjs.AccountDeletion; exports.AccountDeletionModule = _chunkCI64OTRXjs.AccountDeletionModule; exports.AccountDeletionService = _chunkCI64OTRXjs.AccountDeletionService; exports.Action = _chunkCI64OTRXjs.Action; exports.AiConnection = _chunkCI64OTRXjs.AiConnection; exports.AiConnectionFields = _chunkCI64OTRXjs.AiConnectionFields; exports.AiConnectionModule = _chunkCI64OTRXjs.AiConnectionModule; exports.AiConnectionService = _chunkCI64OTRXjs.AiConnectionService; exports.Assistant = _chunkCI64OTRXjs.Assistant; exports.AssistantAction = _chunkCI64OTRXjs.AssistantAction; exports.AssistantActionModule = _chunkCI64OTRXjs.AssistantActionModule; exports.AssistantActionService = _chunkCI64OTRXjs.AssistantActionService; exports.AssistantMessage = _chunkCI64OTRXjs.AssistantMessage; exports.AssistantMessageModule = _chunkCI64OTRXjs.AssistantMessageModule; exports.AssistantMessageService = _chunkCI64OTRXjs.AssistantMessageService; exports.AssistantModule = _chunkCI64OTRXjs.AssistantModule; exports.AssistantService = _chunkCI64OTRXjs.AssistantService; exports.AuditLog = _chunkCI64OTRXjs.AuditLog; exports.AuditLogModule = _chunkCI64OTRXjs.AuditLogModule; exports.AuditLogService = _chunkCI64OTRXjs.AuditLogService; exports.Auth = _chunkCI64OTRXjs.Auth; exports.AuthComponent = _chunkCI64OTRXjs.AuthComponent; exports.AuthModule = _chunkCI64OTRXjs.AuthModule; exports.AuthService = _chunkCI64OTRXjs.AuthService; exports.AuthorModule = _chunkCI64OTRXjs.AuthorModule; exports.BackupCodeVerify = _chunkCI64OTRXjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkCI64OTRXjs.BackupCodeVerifyModule; exports.Billing = _chunkCI64OTRXjs.Billing; exports.BillingModule = _chunkCI64OTRXjs.BillingModule; exports.BillingService = _chunkCI64OTRXjs.BillingService; exports.BlockNoteDiffUtil = _chunkCI64OTRXjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkCI64OTRXjs.BlockNoteWordDiffRendererUtil; exports.BlogCategory = _chunkCI64OTRXjs.BlogCategory; exports.BlogCategoryFields = _chunkCI64OTRXjs.BlogCategoryFields; exports.BlogCategoryModule = _chunkCI64OTRXjs.BlogCategoryModule; exports.BlogCategoryService = _chunkCI64OTRXjs.BlogCategoryService; exports.BlogCategoryTranslation = _chunkCI64OTRXjs.BlogCategoryTranslation; exports.BlogCategoryTranslationModule = _chunkCI64OTRXjs.BlogCategoryTranslationModule; exports.BlogCategoryTranslationService = _chunkCI64OTRXjs.BlogCategoryTranslationService; exports.BlogPost = _chunkCI64OTRXjs.BlogPost; exports.BlogPostFields = _chunkCI64OTRXjs.BlogPostFields; exports.BlogPostModule = _chunkCI64OTRXjs.BlogPostModule; exports.BlogPostService = _chunkCI64OTRXjs.BlogPostService; exports.BlogPostTranslation = _chunkCI64OTRXjs.BlogPostTranslation; exports.BlogPostTranslationModule = _chunkCI64OTRXjs.BlogPostTranslationModule; exports.BlogPostTranslationService = _chunkCI64OTRXjs.BlogPostTranslationService; exports.BlogSettings = _chunkCI64OTRXjs.BlogSettings; exports.BlogSettingsModule = _chunkCI64OTRXjs.BlogSettingsModule; exports.BlogSettingsService = _chunkCI64OTRXjs.BlogSettingsService; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkTCAOU6NHjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CREDIT_WARNING_DISMISS_SEGMENT = _chunkCI64OTRXjs.CREDIT_WARNING_DISMISS_SEGMENT; exports.CURRENT_USER_STORAGE_KEY = _chunk3VNDFKT7js.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkCI64OTRXjs.Chunk; exports.ChunkModule = _chunkCI64OTRXjs.ChunkModule; exports.ClientAbstractService = _chunkCI64OTRXjs.ClientAbstractService; exports.ClientHttpMethod = _chunkCI64OTRXjs.ClientHttpMethod; exports.Company = _chunkCI64OTRXjs.Company; exports.CompanyFields = _chunkCI64OTRXjs.CompanyFields; exports.CompanyModule = _chunkCI64OTRXjs.CompanyModule; exports.CompanyService = _chunkCI64OTRXjs.CompanyService; exports.Content = _chunkCI64OTRXjs.Content; exports.ContentFields = _chunkCI64OTRXjs.ContentFields; exports.ContentModule = _chunkCI64OTRXjs.ContentModule; exports.ContentService = _chunkCI64OTRXjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkCI64OTRXjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkLNO2JLU3js.DataClassRegistry; exports.DataClassRegistry = _chunkLNO2JLU3js.DataClassRegistry; exports.DiscordConnectConfirmation = _chunkCI64OTRXjs.DiscordConnectConfirmation; exports.DiscordConnectConfirmationModule = _chunkCI64OTRXjs.DiscordConnectConfirmationModule; exports.DiscordConnectConfirmationService = _chunkCI64OTRXjs.DiscordConnectConfirmationService; exports.DiscordConnectIntent = _chunkCI64OTRXjs.DiscordConnectIntent; exports.DiscordConnectIntentModule = _chunkCI64OTRXjs.DiscordConnectIntentModule; exports.DiscordConnectIntentService = _chunkCI64OTRXjs.DiscordConnectIntentService; exports.DiscordConnection = _chunkCI64OTRXjs.DiscordConnection; exports.DiscordConnectionModule = _chunkCI64OTRXjs.DiscordConnectionModule; exports.DiscordConnectionService = _chunkCI64OTRXjs.DiscordConnectionService; exports.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = _chunkCI64OTRXjs.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE; exports.EMAIL_BLAST_SEGMENTS = _chunkCI64OTRXjs.EMAIL_BLAST_SEGMENTS; exports.EMAIL_BLAST_UNSUBSCRIBE_TYPE = _chunkCI64OTRXjs.EMAIL_BLAST_UNSUBSCRIBE_TYPE; exports.ENV = _chunkLNO2JLU3js.ENV; exports.EmailAutomation = _chunkCI64OTRXjs.EmailAutomation; exports.EmailAutomationCandidate = _chunkCI64OTRXjs.EmailAutomationCandidate; exports.EmailAutomationCandidateModule = _chunkCI64OTRXjs.EmailAutomationCandidateModule; exports.EmailAutomationEnrollment = _chunkCI64OTRXjs.EmailAutomationEnrollment; exports.EmailAutomationEnrollmentFields = _chunkCI64OTRXjs.EmailAutomationEnrollmentFields; exports.EmailAutomationEnrollmentModule = _chunkCI64OTRXjs.EmailAutomationEnrollmentModule; exports.EmailAutomationEnrollmentService = _chunkCI64OTRXjs.EmailAutomationEnrollmentService; exports.EmailAutomationFields = _chunkCI64OTRXjs.EmailAutomationFields; exports.EmailAutomationModule = _chunkCI64OTRXjs.EmailAutomationModule; exports.EmailAutomationService = _chunkCI64OTRXjs.EmailAutomationService; exports.EmailAutomationStep = _chunkCI64OTRXjs.EmailAutomationStep; exports.EmailAutomationStepModule = _chunkCI64OTRXjs.EmailAutomationStepModule; exports.EmailAutomationStepService = _chunkCI64OTRXjs.EmailAutomationStepService; exports.EmailAutomationTrigger = _chunkCI64OTRXjs.EmailAutomationTrigger; exports.EmailAutomationTriggerModule = _chunkCI64OTRXjs.EmailAutomationTriggerModule; exports.EmailBlast = _chunkCI64OTRXjs.EmailBlast; exports.EmailBlastAudience = _chunkCI64OTRXjs.EmailBlastAudience; exports.EmailBlastAudienceModule = _chunkCI64OTRXjs.EmailBlastAudienceModule; exports.EmailBlastDelivery = _chunkCI64OTRXjs.EmailBlastDelivery; exports.EmailBlastDeliveryModule = _chunkCI64OTRXjs.EmailBlastDeliveryModule; exports.EmailBlastDeliveryService = _chunkCI64OTRXjs.EmailBlastDeliveryService; exports.EmailBlastFields = _chunkCI64OTRXjs.EmailBlastFields; exports.EmailBlastModule = _chunkCI64OTRXjs.EmailBlastModule; exports.EmailBlastService = _chunkCI64OTRXjs.EmailBlastService; exports.EndpointCreator = _chunkZ6T2575Ajs.EndpointCreator; exports.EntityAiStatus = _chunkCI64OTRXjs.EntityAiStatus; exports.Feature = _chunkCI64OTRXjs.Feature; exports.FeatureModule = _chunkCI64OTRXjs.FeatureModule; exports.FeatureService = _chunkCI64OTRXjs.FeatureService; exports.HandbookPage = _chunkCI64OTRXjs.HandbookPage; exports.HandbookPageFields = _chunkCI64OTRXjs.HandbookPageFields; exports.HandbookPageModule = _chunkCI64OTRXjs.HandbookPageModule; exports.HandbookPageService = _chunkCI64OTRXjs.HandbookPageService; exports.HandbookSection = _chunkCI64OTRXjs.HandbookSection; exports.HandbookSectionModule = _chunkCI64OTRXjs.HandbookSectionModule; exports.HandbookSectionService = _chunkCI64OTRXjs.HandbookSectionService; exports.HandbookThread = _chunkCI64OTRXjs.HandbookThread; exports.HandbookThreadMessage = _chunkCI64OTRXjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkCI64OTRXjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkCI64OTRXjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkCI64OTRXjs.HandbookThreadModule; exports.HandbookThreadService = _chunkCI64OTRXjs.HandbookThreadService; exports.HowTo = _chunkCI64OTRXjs.HowTo; exports.HowToFields = _chunkCI64OTRXjs.HowToFields; exports.HowToModule = _chunkCI64OTRXjs.HowToModule; exports.HowToService = _chunkCI64OTRXjs.HowToService; exports.HttpMethod = _chunkCI64OTRXjs.HttpMethod; exports.InvoiceStatus = _chunkCI64OTRXjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkLNO2JLU3js.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkCI64OTRXjs.MOBILE_BREAKPOINT; exports.Module = _chunkCI64OTRXjs.Module; exports.ModuleModule = _chunkCI64OTRXjs.ModuleModule; exports.ModulePaths = _chunkCI64OTRXjs.ModulePaths; exports.ModulePathsModule = _chunkCI64OTRXjs.ModulePathsModule; exports.ModuleRegistrar = _chunkCI64OTRXjs.ModuleRegistrar; exports.ModuleRegistry = _chunkZ6T2575Ajs.ModuleRegistry; exports.Modules = _chunkZ6T2575Ajs.Modules; exports.Notification = _chunkCI64OTRXjs.Notification; exports.NotificationFields = _chunkCI64OTRXjs.NotificationFields; exports.NotificationModule = _chunkCI64OTRXjs.NotificationModule; exports.NotificationService = _chunkCI64OTRXjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkCI64OTRXjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkCI64OTRXjs.OAuthClient; exports.OAuthModule = _chunkCI64OTRXjs.OAuthModule; exports.OAuthService = _chunkCI64OTRXjs.OAuthService; exports.OfflineChangeSet = _chunkCI64OTRXjs.OfflineChangeSet; exports.Passkey = _chunkCI64OTRXjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkCI64OTRXjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkCI64OTRXjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkCI64OTRXjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkCI64OTRXjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkCI64OTRXjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkCI64OTRXjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkCI64OTRXjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkCI64OTRXjs.PasskeyRename; exports.PasskeyRenameModule = _chunkCI64OTRXjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkCI64OTRXjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkCI64OTRXjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkCI64OTRXjs.PaymentMethod; exports.PendingRegistration = _chunkCI64OTRXjs.PendingRegistration; exports.PendingRegistrationModule = _chunkCI64OTRXjs.PendingRegistrationModule; exports.PermissionMapping = _chunkCI64OTRXjs.PermissionMapping; exports.PermissionMappingModule = _chunkCI64OTRXjs.PermissionMappingModule; exports.Push = _chunkCI64OTRXjs.Push; exports.PushModule = _chunkCI64OTRXjs.PushModule; exports.PushService = _chunkCI64OTRXjs.PushService; exports.ROOT_SYNC_ENDPOINT = _chunkZ6T2575Ajs.ROOT_SYNC_ENDPOINT; exports.RbacMatrixModel = _chunkCI64OTRXjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkCI64OTRXjs.RbacMatrixModule; exports.RbacService = _chunkTCAOU6NHjs.RbacService; exports.ReferralAdminReferral = _chunkCI64OTRXjs.ReferralAdminReferral; exports.ReferralAdminReferrer = _chunkCI64OTRXjs.ReferralAdminReferrer; exports.ReferralAdminService = _chunkCI64OTRXjs.ReferralAdminService; exports.ReferralAdminSummary = _chunkCI64OTRXjs.ReferralAdminSummary; exports.ReferralModule = _chunkCI64OTRXjs.ReferralModule; exports.ReferralService = _chunkCI64OTRXjs.ReferralService; exports.ReferralStats = _chunkCI64OTRXjs.ReferralStats; exports.ReferralStatsModule = _chunkCI64OTRXjs.ReferralStatsModule; exports.ReferralVisit = _chunkCI64OTRXjs.ReferralVisit; exports.RehydrationFactory = _chunkZ6T2575Ajs.RehydrationFactory; exports.Role = _chunkCI64OTRXjs.Role; exports.RoleFields = _chunkCI64OTRXjs.RoleFields; exports.RoleModule = _chunkCI64OTRXjs.RoleModule; exports.RoleService = _chunkCI64OTRXjs.RoleService; exports.RootSync = _chunkZ6T2575Ajs.RootSync; exports.S3 = _chunkCI64OTRXjs.S3; exports.S3Module = _chunkCI64OTRXjs.S3Module; exports.S3Service = _chunkCI64OTRXjs.S3Service; exports.SIGNUP_SOURCE_COOKIE = _chunkTCAOU6NHjs.SIGNUP_SOURCE_COOKIE; exports.SIGNUP_SOURCE_COOKIE_MAX_AGE = _chunkTCAOU6NHjs.SIGNUP_SOURCE_COOKIE_MAX_AGE; exports.STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT = _chunkCI64OTRXjs.STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT; exports.STRIPE_COUPON_DETAIL_PAGE_URL = _chunkCI64OTRXjs.STRIPE_COUPON_DETAIL_PAGE_URL; exports.STRIPE_COUPON_REFRESH_SEGMENT = _chunkCI64OTRXjs.STRIPE_COUPON_REFRESH_SEGMENT; exports.StripeCoupon = _chunkCI64OTRXjs.StripeCoupon; exports.StripeCouponCode = _chunkCI64OTRXjs.StripeCouponCode; exports.StripeCouponCodeFields = _chunkCI64OTRXjs.StripeCouponCodeFields; exports.StripeCouponCodeModule = _chunkCI64OTRXjs.StripeCouponCodeModule; exports.StripeCouponCodeService = _chunkCI64OTRXjs.StripeCouponCodeService; exports.StripeCouponFields = _chunkCI64OTRXjs.StripeCouponFields; exports.StripeCouponModule = _chunkCI64OTRXjs.StripeCouponModule; exports.StripeCouponOffer = _chunkCI64OTRXjs.StripeCouponOffer; exports.StripeCouponOfferModule = _chunkCI64OTRXjs.StripeCouponOfferModule; exports.StripeCouponService = _chunkCI64OTRXjs.StripeCouponService; exports.StripeCustomer = _chunkCI64OTRXjs.StripeCustomer; exports.StripeCustomerModule = _chunkCI64OTRXjs.StripeCustomerModule; exports.StripeCustomerService = _chunkCI64OTRXjs.StripeCustomerService; exports.StripeInvoice = _chunkCI64OTRXjs.StripeInvoice; exports.StripeInvoiceModule = _chunkCI64OTRXjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkCI64OTRXjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkCI64OTRXjs.StripePaymentMethodModule; exports.StripePrice = _chunkCI64OTRXjs.StripePrice; exports.StripePriceFields = _chunkCI64OTRXjs.StripePriceFields; exports.StripePriceModule = _chunkCI64OTRXjs.StripePriceModule; exports.StripePriceService = _chunkCI64OTRXjs.StripePriceService; exports.StripeProduct = _chunkCI64OTRXjs.StripeProduct; exports.StripeProductFields = _chunkCI64OTRXjs.StripeProductFields; exports.StripeProductModule = _chunkCI64OTRXjs.StripeProductModule; exports.StripeProductService = _chunkCI64OTRXjs.StripeProductService; exports.StripePromotionCode = _chunkCI64OTRXjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkCI64OTRXjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkCI64OTRXjs.StripePromotionCodeService; exports.StripeSubscription = _chunkCI64OTRXjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkCI64OTRXjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkCI64OTRXjs.StripeSubscriptionService; exports.StripeUsage = _chunkCI64OTRXjs.StripeUsage; exports.StripeUsageModule = _chunkCI64OTRXjs.StripeUsageModule; exports.StripeUsageService = _chunkCI64OTRXjs.StripeUsageService; exports.SubscriptionStatus = _chunkCI64OTRXjs.SubscriptionStatus; exports.TableOptions = _chunkCI64OTRXjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkCI64OTRXjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkCI64OTRXjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkCI64OTRXjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkCI64OTRXjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkCI64OTRXjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkCI64OTRXjs.TotpSetup; exports.TotpSetupModule = _chunkCI64OTRXjs.TotpSetupModule; exports.TotpVerify = _chunkCI64OTRXjs.TotpVerify; exports.TotpVerifyLogin = _chunkCI64OTRXjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkCI64OTRXjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkCI64OTRXjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkCI64OTRXjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkCI64OTRXjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkCI64OTRXjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkCI64OTRXjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkCI64OTRXjs.TwoFactorService; exports.TwoFactorStatus = _chunkCI64OTRXjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkCI64OTRXjs.TwoFactorStatusModule; exports.User = _chunkCI64OTRXjs.User; exports.UserFields = _chunkCI64OTRXjs.UserFields; exports.UserModule = _chunkCI64OTRXjs.UserModule; exports.UserService = _chunkCI64OTRXjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkCI64OTRXjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkCI64OTRXjs.Waitlist; exports.WaitlistFields = _chunkCI64OTRXjs.WaitlistFields; exports.WaitlistModule = _chunkCI64OTRXjs.WaitlistModule; exports.WaitlistService = _chunkCI64OTRXjs.WaitlistService; exports.WaitlistStats = _chunkCI64OTRXjs.WaitlistStats; exports.WaitlistStatsModule = _chunkCI64OTRXjs.WaitlistStatsModule; exports.analyticsModules = _chunkCI64OTRXjs.analyticsModules; exports.captureSignupSource = _chunkTCAOU6NHjs.captureSignupSource; exports.checkPermissions = _chunkCI64OTRXjs.checkPermissions; exports.checkPermissionsFromServer = _chunkCI64OTRXjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkCI64OTRXjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkCI64OTRXjs.clearLastApiTotal; exports.cn = _chunkCI64OTRXjs.cn; exports.composeRefs = _chunkCI64OTRXjs.composeRefs; exports.configureAuth = _chunkCI64OTRXjs.configureAuth; exports.configureI18n = _chunkNP3AFULUjs.configureI18n; exports.configureJsonApi = _chunkTCAOU6NHjs.configureJsonApi; exports.configureLogin = _chunkTCAOU6NHjs.configureLogin; exports.configureReferral = _chunkTCAOU6NHjs.configureReferral; exports.configureRoles = _chunkG4JR3SFVjs.configureRoles; exports.configureTokenUsage = _chunkCI64OTRXjs.configureTokenUsage; exports.configureWaitlist = _chunkTCAOU6NHjs.configureWaitlist; exports.consumeAccountDeletionCancelled = _chunkCI64OTRXjs.consumeAccountDeletionCancelled; exports.couponPlacesLeft = _chunkCI64OTRXjs.couponPlacesLeft; exports.couponPlacesTotal = _chunkCI64OTRXjs.couponPlacesTotal; exports.createJsonApiInclusion = _chunkCI64OTRXjs.createJsonApiInclusion; exports.dateFormatLocale = _chunkHROKKUBQjs.dateFormatLocale; exports.dismissToast = _chunkCI64OTRXjs.dismissToast; exports.entityObjectSchema = _chunkCI64OTRXjs.entityObjectSchema; exports.exists = _chunkCI64OTRXjs.exists; exports.formatCodiceFiscale = _chunkCI64OTRXjs.formatCodiceFiscale; exports.formatCouponDiscount = _chunkCI64OTRXjs.formatCouponDiscount; exports.formatCurrency = _chunkCI64OTRXjs.formatCurrency; exports.formatDate = _chunkHROKKUBQjs.formatDate; exports.formatDateStyle = _chunkHROKKUBQjs.formatDateStyle; exports.formatFixed = _chunkCI64OTRXjs.formatFixed; exports.formatInterval = _chunkCI64OTRXjs.formatInterval; exports.formatLocalDate = _chunkHROKKUBQjs.formatLocalDate; exports.formatPartitaIva = _chunkCI64OTRXjs.formatPartitaIva; exports.formatRelativeDate = _chunkHROKKUBQjs.formatRelativeDate; exports.getApiUrl = _chunkTCAOU6NHjs.getApiUrl; exports.getAppUrl = _chunkTCAOU6NHjs.getAppUrl; exports.getBootstrapper = _chunkLNO2JLU3js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkCI64OTRXjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkCI64OTRXjs.getGlobalErrorHandler; exports.getIcon = _chunkCI64OTRXjs.getIcon; exports.getIconByModule = _chunkCI64OTRXjs.getIconByModule; exports.getIconByModuleName = _chunkCI64OTRXjs.getIconByModuleName; exports.getInitials = _chunkCI64OTRXjs.getInitials; exports.getLastApiMeta = _chunkCI64OTRXjs.getLastApiMeta; exports.getLastApiTotal = _chunkCI64OTRXjs.getLastApiTotal; exports.getLucideIcon = _chunkCI64OTRXjs.getLucideIcon; exports.getLucideIconByModule = _chunkCI64OTRXjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkCI64OTRXjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkTCAOU6NHjs.getPublicApiUrl; exports.getReferralConfig = _chunkTCAOU6NHjs.getReferralConfig; exports.getRoleId = _chunkG4JR3SFVjs.getRoleId; exports.getSignupSource = _chunkTCAOU6NHjs.getSignupSource; exports.getStripePublishableKey = _chunkTCAOU6NHjs.getStripePublishableKey; exports.getTableComponents = _chunkCI64OTRXjs.getTableComponents; exports.getTableOptions = _chunkCI64OTRXjs.getTableOptions; exports.getTokenHandler = _chunkCI64OTRXjs.getTokenHandler; exports.getTokenUsageCurrency = _chunkCI64OTRXjs.getTokenUsageCurrency; exports.getTrackablePages = _chunkTCAOU6NHjs.getTrackablePages; exports.getValueFromPath = _chunkCI64OTRXjs.getValueFromPath; exports.getWaitlistConfig = _chunkTCAOU6NHjs.getWaitlistConfig; exports.handbookPageContent = _chunkCI64OTRXjs.handbookPageContent; exports.handbookPageSummary = _chunkCI64OTRXjs.handbookPageSummary; exports.handbookPageTitle = _chunkCI64OTRXjs.handbookPageTitle; exports.handbookSectionSummary = _chunkCI64OTRXjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkCI64OTRXjs.handbookSectionTitle; exports.hasBootstrapper = _chunkLNO2JLU3js.hasBootstrapper; exports.isCreditWarningActive = _chunkCI64OTRXjs.isCreditWarningActive; exports.isDiscordAuthEnabled = _chunkTCAOU6NHjs.isDiscordAuthEnabled; exports.isReferralEnabled = _chunkTCAOU6NHjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkCI64OTRXjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkG4JR3SFVjs.isRolesConfigured; exports.markAccountDeletionCancelled = _chunkCI64OTRXjs.markAccountDeletionCancelled; exports.mergeMessages = _chunkCI64OTRXjs.mergeMessages; exports.offlineModules = _chunkCI64OTRXjs.offlineModules; exports.readSignupSourceFromLocation = _chunkTCAOU6NHjs.readSignupSourceFromLocation; exports.referralAdminModules = _chunkCI64OTRXjs.referralAdminModules; exports.rehydrate = _chunkCI64OTRXjs.rehydrate; exports.rehydrateList = _chunkCI64OTRXjs.rehydrateList; exports.resetBootstrapStore = _chunkLNO2JLU3js.resetBootstrapStore; exports.resolveChangePlanTarget = _chunkCI64OTRXjs.resolveChangePlanTarget; exports.resolveDateLocale = _chunkHROKKUBQjs.resolveDateLocale; exports.setBootstrapper = _chunkLNO2JLU3js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkCI64OTRXjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkCI64OTRXjs.setGlobalErrorHandler; exports.showCustomToast = _chunkCI64OTRXjs.showCustomToast; exports.showError = _chunkCI64OTRXjs.showError; exports.showToast = _chunkCI64OTRXjs.showToast; exports.toPromotionCodeResult = _chunkCI64OTRXjs.toPromotionCodeResult; exports.tokenUsageModules = _chunkCI64OTRXjs.tokenUsageModules; exports.translateData = _chunkLNO2JLU3js.translateData; exports.translateResponse = _chunkLNO2JLU3js.translateResponse; exports.tryBootstrap = _chunkLNO2JLU3js.tryBootstrap; exports.useComposedRefs = _chunkCI64OTRXjs.useComposedRefs; exports.useIsMobile = _chunkCI64OTRXjs.useIsMobile; exports.userObjectSchema = _chunkCI64OTRXjs.userObjectSchema; exports.usesTwelveHourClock = _chunkHROKKUBQjs.usesTwelveHourClock; exports.validateCodiceFiscale = _chunkCI64OTRXjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkCI64OTRXjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkCI64OTRXjs.validatePartitaIva;
746
746
  //# sourceMappingURL=index.js.map
package/dist/index.mjs CHANGED
@@ -20,7 +20,7 @@ import {
20
20
  isDiscordAuthEnabled,
21
21
  isReferralEnabled,
22
22
  readSignupSourceFromLocation
23
- } from "./chunk-AMQFKCAX.mjs";
23
+ } from "./chunk-WPFEPIKP.mjs";
24
24
  import {
25
25
  configureRoles,
26
26
  getRoleId,
@@ -338,7 +338,7 @@ import {
338
338
  validateCodiceFiscale,
339
339
  validateItalianTaxCode,
340
340
  validatePartitaIva
341
- } from "./chunk-4JVLLBRS.mjs";
341
+ } from "./chunk-GUNH3THR.mjs";
342
342
  import {
343
343
  dateFormatLocale,
344
344
  formatDate,
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
 
7
- var _chunk5H25LM2Zjs = require('../chunk-5H25LM2Z.js');
7
+ var _chunk576XHOYHjs = require('../chunk-576XHOYH.js');
8
8
 
9
9
 
10
10
  var _chunkIK65TDQHjs = require('../chunk-IK65TDQH.js');
@@ -36,7 +36,7 @@ require('../chunk-G4JR3SFV.js');
36
36
 
37
37
 
38
38
 
39
- var _chunkNPGX2GJDjs = require('../chunk-NPGX2GJD.js');
39
+ var _chunkCI64OTRXjs = require('../chunk-CI64OTRX.js');
40
40
  require('../chunk-HROKKUBQ.js');
41
41
  require('../chunk-Z6T2575A.js');
42
42
  require('../chunk-3VNDFKT7.js');
@@ -78,5 +78,5 @@ require('../chunk-7QVYU63E.js');
78
78
 
79
79
 
80
80
 
81
- exports.CACHE_PROFILES = _chunkIK65TDQHjs.CACHE_PROFILES; exports.DEFAULT_SQLITE_MODULE_URL = _chunkWUNSG3INjs.DEFAULT_SQLITE_MODULE_URL; exports.OFFLINE_SQLITE_FILES = _chunkWUNSG3INjs.OFFLINE_SQLITE_FILES; exports.ServerAuthService = _chunkNPGX2GJDjs.AuthService; exports.ServerCompanyService = _chunkNPGX2GJDjs.CompanyService; exports.ServerContentService = _chunkNPGX2GJDjs.ContentService; exports.ServerFeatureService = _chunkNPGX2GJDjs.FeatureService; exports.ServerJsonApiDelete = _chunkN3NQS7X6js.ServerJsonApiDelete; exports.ServerJsonApiGet = _chunkN3NQS7X6js.ServerJsonApiGet; exports.ServerJsonApiPatch = _chunkN3NQS7X6js.ServerJsonApiPatch; exports.ServerJsonApiPost = _chunkN3NQS7X6js.ServerJsonApiPost; exports.ServerJsonApiPut = _chunkN3NQS7X6js.ServerJsonApiPut; exports.ServerNotificationService = _chunkNPGX2GJDjs.NotificationService; exports.ServerPushService = _chunkNPGX2GJDjs.PushService; exports.ServerRoleService = _chunkNPGX2GJDjs.RoleService; exports.ServerS3Service = _chunkNPGX2GJDjs.S3Service; exports.ServerSession = _chunk5H25LM2Zjs.ServerSession; exports.ServerUserService = _chunkNPGX2GJDjs.UserService; exports.buildOfflineManifest = _chunk5H25LM2Zjs.buildOfflineManifest; exports.configureServerJsonApi = _chunkN3NQS7X6js.configureServerJsonApi; exports.getServerApiUrl = _chunkN3NQS7X6js.getServerApiUrl; exports.getServerAppUrl = _chunkN3NQS7X6js.getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = _chunkN3NQS7X6js.getServerTrackablePages; exports.invalidateCacheTag = _chunk5H25LM2Zjs.invalidateCacheTag; exports.invalidateCacheTags = _chunk5H25LM2Zjs.invalidateCacheTags; exports.serverRequest = _chunk6TUB7Y6Tjs.serverRequest; exports.updateCacheTag = _chunk5H25LM2Zjs.updateCacheTag;
81
+ exports.CACHE_PROFILES = _chunkIK65TDQHjs.CACHE_PROFILES; exports.DEFAULT_SQLITE_MODULE_URL = _chunkWUNSG3INjs.DEFAULT_SQLITE_MODULE_URL; exports.OFFLINE_SQLITE_FILES = _chunkWUNSG3INjs.OFFLINE_SQLITE_FILES; exports.ServerAuthService = _chunkCI64OTRXjs.AuthService; exports.ServerCompanyService = _chunkCI64OTRXjs.CompanyService; exports.ServerContentService = _chunkCI64OTRXjs.ContentService; exports.ServerFeatureService = _chunkCI64OTRXjs.FeatureService; exports.ServerJsonApiDelete = _chunkN3NQS7X6js.ServerJsonApiDelete; exports.ServerJsonApiGet = _chunkN3NQS7X6js.ServerJsonApiGet; exports.ServerJsonApiPatch = _chunkN3NQS7X6js.ServerJsonApiPatch; exports.ServerJsonApiPost = _chunkN3NQS7X6js.ServerJsonApiPost; exports.ServerJsonApiPut = _chunkN3NQS7X6js.ServerJsonApiPut; exports.ServerNotificationService = _chunkCI64OTRXjs.NotificationService; exports.ServerPushService = _chunkCI64OTRXjs.PushService; exports.ServerRoleService = _chunkCI64OTRXjs.RoleService; exports.ServerS3Service = _chunkCI64OTRXjs.S3Service; exports.ServerSession = _chunk576XHOYHjs.ServerSession; exports.ServerUserService = _chunkCI64OTRXjs.UserService; exports.buildOfflineManifest = _chunk576XHOYHjs.buildOfflineManifest; exports.configureServerJsonApi = _chunkN3NQS7X6js.configureServerJsonApi; exports.getServerApiUrl = _chunkN3NQS7X6js.getServerApiUrl; exports.getServerAppUrl = _chunkN3NQS7X6js.getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = _chunkN3NQS7X6js.getServerTrackablePages; exports.invalidateCacheTag = _chunk576XHOYHjs.invalidateCacheTag; exports.invalidateCacheTags = _chunk576XHOYHjs.invalidateCacheTags; exports.serverRequest = _chunk6TUB7Y6Tjs.serverRequest; exports.updateCacheTag = _chunk576XHOYHjs.updateCacheTag;
82
82
  //# sourceMappingURL=index.js.map
@@ -4,7 +4,7 @@ import {
4
4
  invalidateCacheTag,
5
5
  invalidateCacheTags,
6
6
  updateCacheTag
7
- } from "../chunk-AEBZ67JJ.mjs";
7
+ } from "../chunk-ETU3AW2X.mjs";
8
8
  import {
9
9
  CACHE_PROFILES
10
10
  } from "../chunk-T7SAW3UW.mjs";
@@ -36,7 +36,7 @@ import {
36
36
  RoleService,
37
37
  S3Service,
38
38
  UserService
39
- } from "../chunk-4JVLLBRS.mjs";
39
+ } from "../chunk-GUNH3THR.mjs";
40
40
  import "../chunk-RW6XZGZG.mjs";
41
41
  import "../chunk-W7U6O3OE.mjs";
42
42
  import "../chunk-47HNJQ7U.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlonicora/nextjs-jsonapi",
3
- "version": "6.32.2",
3
+ "version": "6.33.0",
4
4
  "description": "Next.js JSON:API client with server/client support and caching",
5
5
  "author": "Carlo Nicora",
6
6
  "license": "GPL-3.0-or-later",
@@ -1,18 +1,34 @@
1
1
  "use client";
2
2
  import "../../client";
3
3
 
4
- import { ExpandedState, flexRender, getCoreRowModel, getExpandedRowModel, useReactTable } from "@tanstack/react-table";
4
+ import {
5
+ ExpandedState,
6
+ flexRender,
7
+ getCoreRowModel,
8
+ getExpandedRowModel,
9
+ getSortedRowModel,
10
+ SortingState,
11
+ TableState,
12
+ useReactTable,
13
+ } from "@tanstack/react-table";
5
14
 
6
15
  import { cn } from "@/index";
7
16
  import { ChevronLeft, ChevronRight, Loader2 } from "lucide-react";
8
17
  import { useTranslations } from "next-intl";
9
18
  import React, { ReactNode, memo, useMemo, useState } from "react";
10
- import { DataListRetriever, TableContent, useTableGenerator } from "../../hooks";
19
+ import { DataListRetriever, TableContent, useListSortParam, useTableGenerator } from "../../hooks";
11
20
  import { ModuleWithPermissions } from "../../permissions";
12
21
  import { Button, Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "../../shadcnui";
13
22
  import { useIsMobile } from "../../utils/use-mobile";
14
23
  import { MicroLabel } from "../typography";
15
24
  import { ContentTableSearch } from "./ContentTableSearch";
25
+ import { SortableHeader } from "./SortableHeader";
26
+ import { nextSortValue, sortFieldsOf, sortStateFor } from "./sorting";
27
+
28
+ /** Column `meta` read by the table: cell classes and, for a sortable column, the fields it sorts by. */
29
+ type ColumnMeta = { className?: string; sortFields?: string[] };
30
+
31
+ const ARIA_SORT = { asc: "ascending", desc: "descending" } as const;
16
32
 
17
33
  const EMPTY_ARRAY: any[] = [];
18
34
 
@@ -76,6 +92,20 @@ type ContentListTableProps = {
76
92
  * toggles it via `row.getToggleExpandedHandler()`.
77
93
  */
78
94
  renderExpandedRow?: (rowData: any) => ReactNode;
95
+ /**
96
+ * Where a sortable column (`enableSorting: true`) sorts. `"server"` (default): a
97
+ * header click sets the retriever's sort and the API orders the whole list.
98
+ * `"client"`: for small, fully loaded tables only; the loaded rows are sorted in
99
+ * the browser and the sort is kept in the page address under `sortKey`.
100
+ */
101
+ sortMode?: "server" | "client";
102
+ /** Address key of the sort in `sortMode="client"` (`sort[<sortKey>]`). Required in client mode. */
103
+ sortKey?: string;
104
+ /**
105
+ * Client mode only: sorts the loaded items itself (grouped tables that sort inside
106
+ * their groups). Without it, rows are sorted by the column's accessor.
107
+ */
108
+ clientSort?: <T>(rows: T[], sort: string | undefined) => T[];
79
109
  };
80
110
 
81
111
  type CellRenderer = (context: unknown) => ReactNode;
@@ -123,8 +153,19 @@ export const ContentListTable = memo(function ContentListTable(props: ContentLis
123
153
  if (data.isLoaded) setPendingDirection(null);
124
154
  }, [data.isLoaded]);
125
155
 
156
+ const isClientSort = props.sortMode === "client";
157
+ const clientSortParam = useListSortParam({ sortKey: props.sortKey ?? "" });
158
+ const activeSort = isClientSort ? clientSortParam.sort : data.sort;
159
+ const { clientSort } = props;
160
+
161
+ const sourceData = data?.data ?? EMPTY_ARRAY;
162
+ const rowsToRender = useMemo(
163
+ () => (isClientSort && clientSort ? clientSort(sourceData, activeSort) : sourceData),
164
+ [isClientSort, clientSort, sourceData, activeSort],
165
+ );
166
+
126
167
  const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
127
- data: data?.data ?? EMPTY_ARRAY,
168
+ data: rowsToRender,
128
169
  fields: fields,
129
170
  checkedIds: checkedIds,
130
171
  toggleId: toggleId,
@@ -144,10 +185,33 @@ export const ContentListTable = memo(function ContentListTable(props: ContentLis
144
185
  [fields],
145
186
  );
146
187
 
188
+ // Client mode without `clientSort`: TanStack sorts the loaded rows by the column the
189
+ // address sort names. Server mode never sorts rows: the retriever owns the order.
190
+ const clientSorting = useMemo((): SortingState | undefined => {
191
+ if (!isClientSort || clientSort || !activeSort) return undefined;
192
+ for (const column of tableColumns as Array<{ id?: string; accessorKey?: string; meta?: unknown }>) {
193
+ const id = column.id ?? column.accessorKey;
194
+ if (!id) continue;
195
+ const direction = sortStateFor(activeSort, sortFieldsOf({ id, columnDef: { meta: column.meta } }));
196
+ if (direction) return [{ id, desc: direction === "desc" }];
197
+ }
198
+ return undefined;
199
+ }, [isClientSort, clientSort, activeSort, tableColumns]);
200
+
201
+ const expansionEnabled = !!props.renderExpandedRow || !!props.expandable;
202
+ const tableState: Partial<TableState> | undefined =
203
+ expansionEnabled || isClientSort
204
+ ? {
205
+ ...(expansionEnabled && { expanded }),
206
+ ...(isClientSort && { sorting: clientSorting ?? [] }),
207
+ }
208
+ : undefined;
209
+
147
210
  const table = useReactTable({
148
211
  data: tableData,
149
212
  columns: tableColumns,
150
213
  getCoreRowModel: getCoreRowModel(),
214
+ ...(isClientSort ? { getSortedRowModel: getSortedRowModel(), manualSorting: false } : { manualSorting: true }),
151
215
  // Pagination is server-side (the data retriever), never TanStack's. Left on,
152
216
  // every core-row-model rebuild queues resetPageIndex -> setState -> re-render,
153
217
  // and the table generators rebuild their columns on every render, so it never
@@ -160,14 +224,13 @@ export const ContentListTable = memo(function ContentListTable(props: ContentLis
160
224
  getRowId: (row: TableContent<any>, index: number) => row.jsonApiData?.id ?? String(index),
161
225
  getRowCanExpand: () => true,
162
226
  onExpandedChange: setExpanded,
163
- state: { expanded },
164
227
  }),
165
228
  ...(props.expandable && {
166
229
  getExpandedRowModel: getExpandedRowModel(),
167
230
  getSubRows: props.getSubRows,
168
231
  onExpandedChange: setExpanded,
169
- state: { expanded },
170
232
  }),
233
+ ...(tableState && { state: tableState }),
171
234
  initialState: {
172
235
  columnVisibility,
173
236
  },
@@ -291,10 +354,45 @@ export const ContentListTable = memo(function ContentListTable(props: ContentLis
291
354
  table.getHeaderGroups().map((headerGroup) => (
292
355
  <TableRow key={headerGroup.id}>
293
356
  {headerGroup.headers.map((header) => {
294
- const meta = header.column.columnDef.meta as { className?: string } | undefined;
357
+ const meta = header.column.columnDef.meta as ColumnMeta | undefined;
358
+ const label = header.isPlaceholder
359
+ ? null
360
+ : flexRender(header.column.columnDef.header, header.getContext());
361
+ // Only an explicit `true` opts a column in: TanStack defaults a missing key to sortable.
362
+ // A server-mode retriever without `setSort` (hand-built) cannot sort: plain header.
363
+ if (
364
+ header.isPlaceholder ||
365
+ header.column.columnDef.enableSorting !== true ||
366
+ (!isClientSort && !data.setSort)
367
+ ) {
368
+ return (
369
+ <TableHead key={header.id} className={meta?.className}>
370
+ {label}
371
+ </TableHead>
372
+ );
373
+ }
374
+ const sortFields = sortFieldsOf(header.column);
375
+ const direction = sortStateFor(activeSort, sortFields);
376
+ const defaultDirection =
377
+ !isClientSort && !activeSort ? sortStateFor(data.defaultSort, sortFields) : undefined;
378
+ const onToggle = () => {
379
+ const next = nextSortValue(activeSort, sortFields);
380
+ if (isClientSort) clientSortParam.setSort(next);
381
+ else data.setSort?.(next);
382
+ };
295
383
  return (
296
- <TableHead key={header.id} className={meta?.className}>
297
- {header.isPlaceholder ? null : flexRender(header.column.columnDef.header, header.getContext())}
384
+ <TableHead
385
+ key={header.id}
386
+ className={meta?.className}
387
+ aria-sort={direction ? ARIA_SORT[direction] : "none"}
388
+ >
389
+ <SortableHeader
390
+ columnId={header.column.id}
391
+ label={label}
392
+ direction={direction}
393
+ defaultDirection={defaultDirection}
394
+ onToggle={onToggle}
395
+ />
298
396
  </TableHead>
299
397
  );
300
398
  })}
@@ -318,7 +416,7 @@ export const ContentListTable = memo(function ContentListTable(props: ContentLis
318
416
  className={`group ${onRowClick ? "hover:bg-muted/50 cursor-pointer" : ""}`}
319
417
  >
320
418
  {row.getVisibleCells().map((cell) => {
321
- const meta = cell.column.columnDef.meta as { className?: string } | undefined;
419
+ const meta = cell.column.columnDef.meta as ColumnMeta | undefined;
322
420
  return (
323
421
  <TableCell key={cell.id} className={meta?.className}>
324
422
  {renderCell(cell.column.columnDef.cell, cell.getContext())}
@@ -345,7 +443,7 @@ export const ContentListTable = memo(function ContentListTable(props: ContentLis
345
443
  className={`group ${onRowClick ? "hover:bg-muted/50 cursor-pointer" : ""}`}
346
444
  >
347
445
  {row.getVisibleCells().map((cell) => {
348
- const meta = cell.column.columnDef.meta as { className?: string } | undefined;
446
+ const meta = cell.column.columnDef.meta as ColumnMeta | undefined;
349
447
  return (
350
448
  <TableCell key={cell.id} className={meta?.className}>
351
449
  {renderCell(cell.column.columnDef.cell, cell.getContext())}