@wealthx/shadcn 1.2.2 → 1.3.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 (229) hide show
  1. package/.turbo/turbo-build.log +200 -156
  2. package/CHANGELOG.md +22 -0
  3. package/dist/{chunk-4Y6R4WEC.mjs → chunk-2A5RRQGG.mjs} +9 -22
  4. package/dist/{chunk-TS2ZX2VS.mjs → chunk-2UM72RJ7.mjs} +11 -15
  5. package/dist/{chunk-A56YQQHG.mjs → chunk-3NCUZIFP.mjs} +2 -2
  6. package/dist/chunk-3OYFOX3X.mjs +79 -0
  7. package/dist/{chunk-RP3SQYA3.mjs → chunk-3TTACBDP.mjs} +9 -4
  8. package/dist/chunk-4GAWMKMI.mjs +710 -0
  9. package/dist/{chunk-VGSESELX.mjs → chunk-5FQIKDKP.mjs} +5 -5
  10. package/dist/{chunk-K3JYD4IU.mjs → chunk-5IS7G74I.mjs} +11 -4
  11. package/dist/chunk-6AW4KJHE.mjs +235 -0
  12. package/dist/chunk-6CR5N2JW.mjs +302 -0
  13. package/dist/{chunk-XIRTEFKH.mjs → chunk-6DZEXFNB.mjs} +36 -8
  14. package/dist/chunk-6O6KD7CE.mjs +271 -0
  15. package/dist/chunk-7PV3IWCN.mjs +33 -0
  16. package/dist/{chunk-SPJ5KXW7.mjs → chunk-7S5AESZO.mjs} +5 -5
  17. package/dist/{chunk-RYCLWMZ7.mjs → chunk-ABFDMHOR.mjs} +9 -7
  18. package/dist/{chunk-SWGT756Z.mjs → chunk-AMQZRHEZ.mjs} +10 -4
  19. package/dist/{chunk-WAZD7NFU.mjs → chunk-BKNFWEH2.mjs} +6 -6
  20. package/dist/{chunk-CLIN5525.mjs → chunk-C7CQJNMR.mjs} +1 -1
  21. package/dist/{chunk-D4ILTPOG.mjs → chunk-CFMQP5QS.mjs} +5 -4
  22. package/dist/{chunk-VPBN3WOO.mjs → chunk-DGHAXJBN.mjs} +9 -7
  23. package/dist/chunk-DOEO3CDL.mjs +27 -0
  24. package/dist/{chunk-5MEWU56Z.mjs → chunk-DUJTAXMH.mjs} +11 -6
  25. package/dist/{chunk-GGM2UYGG.mjs → chunk-EBXQWIYG.mjs} +10 -4
  26. package/dist/chunk-EWRB4PAD.mjs +468 -0
  27. package/dist/{chunk-ZSHYDDRB.mjs → chunk-FAKPBKLT.mjs} +6 -2
  28. package/dist/chunk-FNQXOAYJ.mjs +169 -0
  29. package/dist/{chunk-A6AAWBPF.mjs → chunk-GHC7LLUX.mjs} +13 -4
  30. package/dist/chunk-HBZLGDIN.mjs +507 -0
  31. package/dist/{chunk-SIZMLSRU.mjs → chunk-HISNT2MG.mjs} +8 -6
  32. package/dist/{chunk-CGH4DRNG.mjs → chunk-HVY6KCCF.mjs} +10 -7
  33. package/dist/chunk-I3RZS7V2.mjs +136 -0
  34. package/dist/chunk-IAE3F7DR.mjs +1962 -0
  35. package/dist/{chunk-UT4KJR7V.mjs → chunk-IHMFS7NZ.mjs} +35 -74
  36. package/dist/{chunk-PCPLO5HT.mjs → chunk-IOJRDS6V.mjs} +96 -14
  37. package/dist/{chunk-LHYCMLVA.mjs → chunk-JKGDCQTZ.mjs} +11 -4
  38. package/dist/{chunk-H45TKD34.mjs → chunk-JMHR3YGZ.mjs} +1 -1
  39. package/dist/{chunk-4MN6UQHG.mjs → chunk-K5A5L6T2.mjs} +17 -39
  40. package/dist/chunk-LV35NGVG.mjs +272 -0
  41. package/dist/{chunk-FZIXGLMV.mjs → chunk-M3FV7LOK.mjs} +5 -12
  42. package/dist/{chunk-FMAXJ2SI.mjs → chunk-MBON7YRJ.mjs} +1 -1
  43. package/dist/chunk-MIZQHHUO.mjs +441 -0
  44. package/dist/chunk-MN5NYQCL.mjs +29 -0
  45. package/dist/chunk-NL3ZO62D.mjs +31 -0
  46. package/dist/{chunk-Q76O3RIQ.mjs → chunk-NMOI6CQD.mjs} +1 -1
  47. package/dist/{chunk-P6AM5V7O.mjs → chunk-OODBHKG7.mjs} +1 -1
  48. package/dist/chunk-PBL4OQV2.mjs +283 -0
  49. package/dist/{chunk-Y4QFWRNR.mjs → chunk-PU4YZQXV.mjs} +17 -18
  50. package/dist/chunk-QMY3AZJH.mjs +80 -0
  51. package/dist/{chunk-BL3DXM2X.mjs → chunk-QZ4RE6NA.mjs} +11 -4
  52. package/dist/{chunk-VACKZOMY.mjs → chunk-R3VSPKNP.mjs} +3 -3
  53. package/dist/{chunk-OPNQAVVH.mjs → chunk-RJI6GKVF.mjs} +8 -6
  54. package/dist/{chunk-WG6JGJXB.mjs → chunk-T4BJLT57.mjs} +1 -1
  55. package/dist/chunk-UMTOX62O.mjs +415 -0
  56. package/dist/{chunk-7MMXNK3C.mjs → chunk-VLARHE5V.mjs} +8 -6
  57. package/dist/{chunk-2I5S2AMY.mjs → chunk-XREGSKX3.mjs} +2 -2
  58. package/dist/{chunk-JNQORUPP.mjs → chunk-YJG55G2H.mjs} +14 -11
  59. package/dist/{chunk-ZRSDX6OW.mjs → chunk-ZC45IGZO.mjs} +33 -30
  60. package/dist/components/ui/add-column-modal.js +42 -14
  61. package/dist/components/ui/add-column-modal.mjs +5 -5
  62. package/dist/components/ui/add-lead-modal.js +42 -11
  63. package/dist/components/ui/add-lead-modal.mjs +3 -3
  64. package/dist/components/ui/advisor-card.js +497 -0
  65. package/dist/components/ui/advisor-card.mjs +13 -0
  66. package/dist/components/ui/ai-assistant-drawer.js +11 -10
  67. package/dist/components/ui/ai-assistant-drawer.mjs +3 -3
  68. package/dist/components/ui/alert-dialog.js +2 -2
  69. package/dist/components/ui/alert-dialog.mjs +2 -2
  70. package/dist/components/ui/appointment-action-dialogs.js +1160 -0
  71. package/dist/components/ui/appointment-action-dialogs.mjs +23 -0
  72. package/dist/components/ui/appointment-availability-settings.js +1590 -0
  73. package/dist/components/ui/appointment-availability-settings.mjs +23 -0
  74. package/dist/components/ui/appointment-book-dialog.js +1744 -0
  75. package/dist/components/ui/appointment-book-dialog.mjs +27 -0
  76. package/dist/components/ui/appointment-calendar-view.js +833 -0
  77. package/dist/components/ui/appointment-calendar-view.mjs +14 -0
  78. package/dist/components/ui/appointment-detail-sheet.js +1517 -0
  79. package/dist/components/ui/appointment-detail-sheet.mjs +24 -0
  80. package/dist/components/ui/appointment-gmail-connect.js +467 -0
  81. package/dist/components/ui/appointment-gmail-connect.mjs +14 -0
  82. package/dist/components/ui/appointment-mini-card.js +345 -0
  83. package/dist/components/ui/appointment-mini-card.mjs +11 -0
  84. package/dist/components/ui/appointment-time-slot-picker.js +311 -0
  85. package/dist/components/ui/appointment-time-slot-picker.mjs +13 -0
  86. package/dist/components/ui/appointment-upcoming-card.js +1268 -0
  87. package/dist/components/ui/appointment-upcoming-card.mjs +21 -0
  88. package/dist/components/ui/backoffice-alert-history-chart.js +11 -5
  89. package/dist/components/ui/backoffice-alert-history-chart.mjs +5 -4
  90. package/dist/components/ui/backoffice-alerts-chart.js +786 -0
  91. package/dist/components/ui/backoffice-alerts-chart.mjs +19 -0
  92. package/dist/components/ui/backoffice-connections-chart.js +817 -0
  93. package/dist/components/ui/backoffice-connections-chart.mjs +19 -0
  94. package/dist/components/ui/backoffice-contact-history-chart.js +11 -5
  95. package/dist/components/ui/backoffice-contact-history-chart.mjs +5 -4
  96. package/dist/components/ui/badge.js +6 -6
  97. package/dist/components/ui/badge.mjs +1 -1
  98. package/dist/components/ui/borrowing-capacity-line-chart.js +30 -21
  99. package/dist/components/ui/borrowing-capacity-line-chart.mjs +5 -4
  100. package/dist/components/ui/button.js +2 -2
  101. package/dist/components/ui/button.mjs +1 -1
  102. package/dist/components/ui/calendar.js +2 -2
  103. package/dist/components/ui/calendar.mjs +2 -2
  104. package/dist/components/ui/card.js +1 -1
  105. package/dist/components/ui/card.mjs +1 -1
  106. package/dist/components/ui/cash-balance-line-chart.js +31 -23
  107. package/dist/components/ui/cash-balance-line-chart.mjs +5 -4
  108. package/dist/components/ui/cashflow-bar-chart.js +12 -5
  109. package/dist/components/ui/cashflow-bar-chart.mjs +5 -4
  110. package/dist/components/ui/chip.js +97 -18
  111. package/dist/components/ui/chip.mjs +3 -2
  112. package/dist/components/ui/color-picker.js +158 -28
  113. package/dist/components/ui/color-picker.mjs +3 -1
  114. package/dist/components/ui/data-table.js +140 -119
  115. package/dist/components/ui/data-table.mjs +3 -2
  116. package/dist/components/ui/date-picker.js +48 -27
  117. package/dist/components/ui/date-picker.mjs +4 -3
  118. package/dist/components/ui/dialog.js +37 -9
  119. package/dist/components/ui/dialog.mjs +2 -2
  120. package/dist/components/ui/expense-bar-chart.js +12 -5
  121. package/dist/components/ui/expense-bar-chart.mjs +5 -4
  122. package/dist/components/ui/field.mjs +2 -2
  123. package/dist/components/ui/financial-cards.js +322 -155
  124. package/dist/components/ui/financial-cards.mjs +5 -3
  125. package/dist/components/ui/financial-drawers.js +2 -2
  126. package/dist/components/ui/financial-drawers.mjs +3 -3
  127. package/dist/components/ui/financial-sections.js +14 -10
  128. package/dist/components/ui/financial-sections.mjs +6 -5
  129. package/dist/components/ui/income-bar-chart.js +12 -5
  130. package/dist/components/ui/income-bar-chart.mjs +5 -4
  131. package/dist/components/ui/input-group.js +2 -2
  132. package/dist/components/ui/input-group.mjs +2 -2
  133. package/dist/components/ui/kanban-column.js +52 -44
  134. package/dist/components/ui/kanban-column.mjs +7 -5
  135. package/dist/components/ui/opportunity-card.js +52 -44
  136. package/dist/components/ui/opportunity-card.mjs +6 -4
  137. package/dist/components/ui/opportunity-edit-modals.js +1367 -1263
  138. package/dist/components/ui/opportunity-edit-modals.mjs +8 -8
  139. package/dist/components/ui/opportunity-summary-tab.js +2744 -2157
  140. package/dist/components/ui/opportunity-summary-tab.mjs +14 -14
  141. package/dist/components/ui/page-header.js +92 -0
  142. package/dist/components/ui/page-header.mjs +8 -0
  143. package/dist/components/ui/page-top-bar.js +88 -0
  144. package/dist/components/ui/page-top-bar.mjs +8 -0
  145. package/dist/components/ui/pagination.js +303 -19
  146. package/dist/components/ui/pagination.mjs +11 -4
  147. package/dist/components/ui/pipeline-board.js +205 -191
  148. package/dist/components/ui/pipeline-board.mjs +9 -7
  149. package/dist/components/ui/pipeline-dialogs.js +114 -65
  150. package/dist/components/ui/pipeline-dialogs.mjs +7 -6
  151. package/dist/components/ui/pipeline-primitives.js +6 -6
  152. package/dist/components/ui/pipeline-primitives.mjs +2 -2
  153. package/dist/components/ui/property-cashflow-doughnut-chart.js +14 -12
  154. package/dist/components/ui/property-cashflow-doughnut-chart.mjs +5 -4
  155. package/dist/components/ui/property-debt-equity-doughnut-chart.js +14 -12
  156. package/dist/components/ui/property-debt-equity-doughnut-chart.mjs +5 -4
  157. package/dist/components/ui/property-mobile-estimate-line-chart.js +16 -14
  158. package/dist/components/ui/property-mobile-estimate-line-chart.mjs +5 -4
  159. package/dist/components/ui/sidebar-nav.js +234 -95
  160. package/dist/components/ui/sidebar-nav.mjs +4 -1
  161. package/dist/components/ui/stage-timeline.js +6 -6
  162. package/dist/components/ui/stage-timeline.mjs +3 -3
  163. package/dist/components/ui/transactions-expense-categories-doughnut-chart.js +18 -16
  164. package/dist/components/ui/transactions-expense-categories-doughnut-chart.mjs +5 -4
  165. package/dist/components/ui/transactions-income-expense-bar-chart.js +28 -12
  166. package/dist/components/ui/transactions-income-expense-bar-chart.mjs +5 -4
  167. package/dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.js +18 -16
  168. package/dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.mjs +5 -4
  169. package/dist/index.js +12899 -9343
  170. package/dist/index.mjs +256 -190
  171. package/dist/styles.css +1 -1
  172. package/package.json +71 -1
  173. package/src/components/index.tsx +114 -9
  174. package/src/components/ui/add-column-modal.tsx +7 -7
  175. package/src/components/ui/add-lead-modal.tsx +6 -3
  176. package/src/components/ui/advisor-card.tsx +227 -0
  177. package/src/components/ui/ai-assistant-drawer.tsx +4 -3
  178. package/src/components/ui/appointment-action-dialogs.tsx +297 -0
  179. package/src/components/ui/appointment-availability-settings.tsx +645 -0
  180. package/src/components/ui/appointment-book-dialog.tsx +618 -0
  181. package/src/components/ui/appointment-calendar-view.tsx +510 -0
  182. package/src/components/ui/appointment-detail-sheet.tsx +415 -0
  183. package/src/components/ui/appointment-gmail-connect.tsx +188 -0
  184. package/src/components/ui/appointment-mini-card.tsx +104 -0
  185. package/src/components/ui/appointment-time-slot-picker.tsx +123 -0
  186. package/src/components/ui/appointment-upcoming-card.tsx +635 -0
  187. package/src/components/ui/backoffice-alert-history-chart.tsx +10 -2
  188. package/src/components/ui/backoffice-alerts-chart.tsx +312 -0
  189. package/src/components/ui/backoffice-connections-chart.tsx +339 -0
  190. package/src/components/ui/backoffice-contact-history-chart.tsx +10 -2
  191. package/src/components/ui/badge.tsx +12 -6
  192. package/src/components/ui/borrowing-capacity-line-chart.tsx +4 -11
  193. package/src/components/ui/button.tsx +2 -2
  194. package/src/components/ui/card.tsx +1 -1
  195. package/src/components/ui/cash-balance-line-chart.tsx +4 -23
  196. package/src/components/ui/cashflow-bar-chart.tsx +9 -2
  197. package/src/components/ui/chart-shared.tsx +4 -11
  198. package/src/components/ui/chip.tsx +23 -19
  199. package/src/components/ui/color-picker.tsx +4 -2
  200. package/src/components/ui/data-table.tsx +28 -74
  201. package/src/components/ui/date-picker.tsx +42 -37
  202. package/src/components/ui/dialog.tsx +72 -6
  203. package/src/components/ui/expense-bar-chart.tsx +11 -2
  204. package/src/components/ui/financial-cards.tsx +99 -10
  205. package/src/components/ui/income-bar-chart.tsx +11 -2
  206. package/src/components/ui/opportunity-card.tsx +10 -39
  207. package/src/components/ui/opportunity-edit-modals.tsx +98 -36
  208. package/src/components/ui/opportunity-summary-tab.tsx +548 -232
  209. package/src/components/ui/page-header.tsx +57 -0
  210. package/src/components/ui/page-top-bar.tsx +48 -0
  211. package/src/components/ui/pagination.tsx +171 -22
  212. package/src/components/ui/pipeline-board.tsx +12 -5
  213. package/src/components/ui/property-cashflow-doughnut-chart.tsx +3 -1
  214. package/src/components/ui/property-debt-equity-doughnut-chart.tsx +3 -1
  215. package/src/components/ui/property-mobile-estimate-line-chart.tsx +3 -1
  216. package/src/components/ui/sidebar-nav.tsx +36 -37
  217. package/src/components/ui/transactions-expense-categories-doughnut-chart.tsx +3 -1
  218. package/src/components/ui/transactions-income-expense-bar-chart.tsx +12 -9
  219. package/src/components/ui/transactions-liabilities-breakdown-doughnut-chart.tsx +3 -1
  220. package/src/lib/format-currency.ts +44 -0
  221. package/src/lib/format-date.ts +50 -0
  222. package/src/lib/opportunity-constants.ts +12 -0
  223. package/src/styles/globals.css +17 -15
  224. package/src/styles/styles-css.ts +1 -1
  225. package/tsup.config.ts +14 -0
  226. package/dist/chunk-S4QRUQNW.mjs +0 -475
  227. package/dist/chunk-URGMJAE3.mjs +0 -1885
  228. package/dist/chunk-WNGWBVLV.mjs +0 -148
  229. package/dist/{chunk-LLVQKSU3.mjs → chunk-GD4BJDJR.mjs} +3 -3
@@ -69,7 +69,7 @@ __export(data_table_exports, {
69
69
  module.exports = __toCommonJS(data_table_exports);
70
70
  var React3 = __toESM(require("react"));
71
71
  var import_react_table = require("@tanstack/react-table");
72
- var import_lucide_react5 = require("lucide-react");
72
+ var import_lucide_react6 = require("lucide-react");
73
73
 
74
74
  // src/lib/utils.ts
75
75
  var import_clsx = require("clsx");
@@ -272,10 +272,10 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
272
272
  default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
273
273
  secondary: "bg-brand-secondary text-brand-secondary-foreground shadow-xs hover:bg-brand-secondary/80 focus-visible:ring-brand-secondary/30",
274
274
  destructive: "bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",
275
- outline: "border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
275
+ outline: "border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground focus-visible:ring-border/50 dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
276
276
  "outline-primary": "border border-primary text-foreground bg-transparent shadow-xs hover:bg-primary/5 focus-visible:ring-primary/50",
277
277
  "outline-secondary": "border border-brand-secondary text-brand-secondary bg-transparent shadow-xs hover:bg-brand-secondary/10 focus-visible:ring-brand-secondary/30",
278
- ghost: "hover:bg-accent hover:text-accent-foreground hover:shadow-xs dark:hover:bg-accent/50",
278
+ ghost: "hover:bg-accent hover:text-accent-foreground hover:shadow-xs focus-visible:ring-border/50 dark:hover:bg-accent/50",
279
279
  link: "text-primary underline-offset-4 hover:underline"
280
280
  },
281
281
  size: {
@@ -534,17 +534,76 @@ function SelectScrollDownButton(_a) {
534
534
  );
535
535
  }
536
536
 
537
- // src/components/ui/dropdown-menu.tsx
537
+ // src/components/ui/pagination.tsx
538
538
  var import_lucide_react4 = require("lucide-react");
539
- var import_menu = require("@base-ui/react/menu");
540
539
  var import_jsx_runtime7 = require("react/jsx-runtime");
540
+ function PaginationNavButtons({
541
+ hasPrev,
542
+ hasNext,
543
+ onFirst,
544
+ onPrev,
545
+ onNext,
546
+ onLast
547
+ }) {
548
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex items-center gap-1", children: [
549
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
550
+ Button,
551
+ {
552
+ "aria-label": "Go to first page",
553
+ disabled: !hasPrev,
554
+ onClick: onFirst,
555
+ size: "icon-sm",
556
+ variant: "outline",
557
+ children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react4.ChevronsLeftIcon, { className: "size-4" })
558
+ }
559
+ ),
560
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
561
+ Button,
562
+ {
563
+ "aria-label": "Go to previous page",
564
+ disabled: !hasPrev,
565
+ onClick: onPrev,
566
+ size: "icon-sm",
567
+ variant: "outline",
568
+ children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react4.ChevronLeftIcon, { className: "size-4" })
569
+ }
570
+ ),
571
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
572
+ Button,
573
+ {
574
+ "aria-label": "Go to next page",
575
+ disabled: !hasNext,
576
+ onClick: onNext,
577
+ size: "icon-sm",
578
+ variant: "outline",
579
+ children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react4.ChevronRightIcon, { className: "size-4" })
580
+ }
581
+ ),
582
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
583
+ Button,
584
+ {
585
+ "aria-label": "Go to last page",
586
+ disabled: !hasNext,
587
+ onClick: onLast,
588
+ size: "icon-sm",
589
+ variant: "outline",
590
+ children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react4.ChevronsRightIcon, { className: "size-4" })
591
+ }
592
+ )
593
+ ] });
594
+ }
595
+
596
+ // src/components/ui/dropdown-menu.tsx
597
+ var import_lucide_react5 = require("lucide-react");
598
+ var import_menu = require("@base-ui/react/menu");
599
+ var import_jsx_runtime8 = require("react/jsx-runtime");
541
600
  function DropdownMenu(_a) {
542
601
  var props = __objRest(_a, []);
543
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_menu.Menu.Root, __spreadValues({ "data-slot": "dropdown-menu" }, props));
602
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_menu.Menu.Root, __spreadValues({ "data-slot": "dropdown-menu" }, props));
544
603
  }
545
604
  function DropdownMenuTrigger(_a) {
546
605
  var props = __objRest(_a, []);
547
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_menu.Menu.Trigger, __spreadValues({ "data-slot": "dropdown-menu-trigger" }, props));
606
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_menu.Menu.Trigger, __spreadValues({ "data-slot": "dropdown-menu-trigger" }, props));
548
607
  }
549
608
  function DropdownMenuContent(_a) {
550
609
  var _b = _a, {
@@ -557,7 +616,7 @@ function DropdownMenuContent(_a) {
557
616
  "style"
558
617
  ]);
559
618
  const themeVars = useThemeVars();
560
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_menu.Menu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_menu.Menu.Positioner, { sideOffset, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
619
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_menu.Menu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_menu.Menu.Positioner, { sideOffset, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
561
620
  import_menu.Menu.Popup,
562
621
  __spreadValues({
563
622
  className: cn(
@@ -571,7 +630,7 @@ function DropdownMenuContent(_a) {
571
630
  }
572
631
  function DropdownMenuGroup(_a) {
573
632
  var props = __objRest(_a, []);
574
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_menu.Menu.Group, __spreadValues({ "data-slot": "dropdown-menu-group" }, props));
633
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_menu.Menu.Group, __spreadValues({ "data-slot": "dropdown-menu-group" }, props));
575
634
  }
576
635
  function DropdownMenuCheckboxItem(_a) {
577
636
  var _b = _a, {
@@ -583,7 +642,7 @@ function DropdownMenuCheckboxItem(_a) {
583
642
  "children",
584
643
  "checked"
585
644
  ]);
586
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
645
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
587
646
  import_menu.Menu.CheckboxItem,
588
647
  __spreadProps(__spreadValues({
589
648
  checked,
@@ -594,7 +653,7 @@ function DropdownMenuCheckboxItem(_a) {
594
653
  "data-slot": "dropdown-menu-checkbox-item"
595
654
  }, props), {
596
655
  children: [
597
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_menu.Menu.CheckboxItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react4.CheckIcon, { className: "size-4" }) }) }),
656
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_menu.Menu.CheckboxItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react5.CheckIcon, { className: "size-4" }) }) }),
598
657
  children
599
658
  ]
600
659
  })
@@ -608,7 +667,7 @@ function DropdownMenuLabel(_a) {
608
667
  "className",
609
668
  "inset"
610
669
  ]);
611
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
670
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
612
671
  import_menu.Menu.GroupLabel,
613
672
  __spreadValues({
614
673
  className: cn("px-2 py-1.5 text-label-medium data-inset:pl-8", className),
@@ -623,7 +682,7 @@ function DropdownMenuSeparator(_a) {
623
682
  } = _b, props = __objRest(_b, [
624
683
  "className"
625
684
  ]);
626
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
685
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
627
686
  import_menu.Menu.Separator,
628
687
  __spreadValues({
629
688
  className: cn("-mx-1 my-1 h-px bg-border", className),
@@ -633,10 +692,10 @@ function DropdownMenuSeparator(_a) {
633
692
  }
634
693
 
635
694
  // src/components/ui/skeleton.tsx
636
- var import_jsx_runtime8 = require("react/jsx-runtime");
695
+ var import_jsx_runtime9 = require("react/jsx-runtime");
637
696
  function Skeleton(_a) {
638
697
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
639
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
698
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
640
699
  "div",
641
700
  __spreadValues({
642
701
  className: cn("animate-pulse bg-muted", className),
@@ -646,25 +705,25 @@ function Skeleton(_a) {
646
705
  }
647
706
 
648
707
  // src/components/ui/data-table.tsx
649
- var import_jsx_runtime9 = require("react/jsx-runtime");
708
+ var import_jsx_runtime10 = require("react/jsx-runtime");
650
709
  function DataTableColumnHeader({
651
710
  column,
652
711
  title,
653
712
  className
654
713
  }) {
655
714
  if (!column.getCanSort()) {
656
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className, children: title });
715
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className, children: title });
657
716
  }
658
717
  const sorted = column.getIsSorted();
659
718
  let sortIcon;
660
719
  if (sorted === "asc") {
661
- sortIcon = /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react5.ArrowUp, { className: "ml-1 size-3.5" });
720
+ sortIcon = /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react6.ArrowUp, { className: "ml-1 size-3.5" });
662
721
  } else if (sorted === "desc") {
663
- sortIcon = /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react5.ArrowDown, { className: "ml-1 size-3.5" });
722
+ sortIcon = /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react6.ArrowDown, { className: "ml-1 size-3.5" });
664
723
  } else {
665
- sortIcon = /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react5.ArrowUpDown, { className: "ml-1 size-3.5" });
724
+ sortIcon = /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react6.ArrowUpDown, { className: "ml-1 size-3.5" });
666
725
  }
667
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
726
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
668
727
  Button,
669
728
  {
670
729
  className: cn(
@@ -686,7 +745,7 @@ function DataTableColumnHeader({
686
745
  function getSelectionColumn() {
687
746
  return {
688
747
  id: "select",
689
- header: ({ table }) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
748
+ header: ({ table }) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
690
749
  Checkbox,
691
750
  {
692
751
  "aria-label": "Select all",
@@ -697,7 +756,7 @@ function getSelectionColumn() {
697
756
  }
698
757
  }
699
758
  ),
700
- cell: ({ row }) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
759
+ cell: ({ row }) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
701
760
  Checkbox,
702
761
  {
703
762
  "aria-label": "Select row",
@@ -718,13 +777,13 @@ function DataTableToolbar({
718
777
  enableColumnVisibility
719
778
  }) {
720
779
  var _a;
721
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
780
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
722
781
  "div",
723
782
  {
724
783
  className: "flex items-center justify-between gap-2 py-4",
725
784
  "data-slot": "data-table-toolbar",
726
785
  children: [
727
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "flex flex-1 items-center gap-2", children: searchKey ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
786
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "flex flex-1 items-center gap-2", children: searchKey ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
728
787
  Input,
729
788
  {
730
789
  className: "max-w-xs",
@@ -736,11 +795,11 @@ function DataTableToolbar({
736
795
  value: (_a = table.getColumn(searchKey)) == null ? void 0 : _a.getFilterValue()
737
796
  }
738
797
  ) : null }),
739
- enableColumnVisibility ? /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(DropdownMenu, { children: [
740
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
798
+ enableColumnVisibility ? /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(DropdownMenu, { children: [
799
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
741
800
  DropdownMenuTrigger,
742
801
  {
743
- render: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
802
+ render: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
744
803
  Button,
745
804
  {
746
805
  className: "ml-auto h-8 gap-1.5",
@@ -749,15 +808,15 @@ function DataTableToolbar({
749
808
  }
750
809
  ),
751
810
  children: [
752
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react5.SlidersHorizontal, { className: "size-3.5" }),
753
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "hidden sm:inline", children: "Columns" })
811
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react6.SlidersHorizontal, { className: "size-3.5" }),
812
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "hidden sm:inline", children: "Columns" })
754
813
  ]
755
814
  }
756
815
  ),
757
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(DropdownMenuContent, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(DropdownMenuGroup, { children: [
758
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(DropdownMenuLabel, { children: "Toggle columns" }),
759
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(DropdownMenuSeparator, {}),
760
- table.getAllColumns().filter((col) => col.getCanHide()).map((col) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
816
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(DropdownMenuContent, { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(DropdownMenuGroup, { children: [
817
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(DropdownMenuLabel, { children: "Toggle columns" }),
818
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(DropdownMenuSeparator, {}),
819
+ table.getAllColumns().filter((col) => col.getCanHide()).map((col) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
761
820
  DropdownMenuCheckboxItem,
762
821
  {
763
822
  checked: col.getIsVisible(),
@@ -779,102 +838,65 @@ function DataTablePagination({
779
838
  table,
780
839
  pageSizeOptions = [10, 20, 30, 50]
781
840
  }) {
782
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
841
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
783
842
  "div",
784
843
  {
785
- className: "flex items-center justify-between gap-4 py-4",
844
+ className: "flex items-center gap-4 py-4",
786
845
  "data-slot": "data-table-pagination",
787
846
  children: [
788
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-body-small text-muted-foreground", children: table.getFilteredSelectedRowModel().rows.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
847
+ table.getFilteredSelectedRowModel().rows.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "text-body-small text-muted-foreground", children: [
789
848
  table.getFilteredSelectedRowModel().rows.length,
790
849
  " of",
791
850
  " ",
792
851
  table.getFilteredRowModel().rows.length,
793
852
  " row(s) selected."
794
- ] }) }),
795
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex items-center gap-6", children: [
796
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex items-center gap-2", children: [
797
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-body-small text-muted-foreground whitespace-nowrap", children: "Rows per page" }),
798
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
853
+ ] }),
854
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "ml-auto flex items-center gap-6", children: [
855
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex items-center gap-2", children: [
856
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "text-body-small text-muted-foreground whitespace-nowrap", children: "Rows per page" }),
857
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
799
858
  Select,
800
859
  {
801
- onValueChange: (value) => {
802
- table.setPageSize(Number(value));
803
- },
860
+ onValueChange: (value) => table.setPageSize(Number(value)),
804
861
  value: `${table.getState().pagination.pageSize}`,
805
862
  children: [
806
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SelectTrigger, { className: "w-[70px]", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
807
- SelectValue,
863
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
864
+ SelectTrigger,
808
865
  {
809
- placeholder: `${table.getState().pagination.pageSize}`
866
+ "aria-label": "Rows per page",
867
+ className: "w-[70px]",
868
+ size: "sm",
869
+ children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
870
+ SelectValue,
871
+ {
872
+ placeholder: `${table.getState().pagination.pageSize}`
873
+ }
874
+ )
810
875
  }
811
- ) }),
812
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SelectContent, { children: pageSizeOptions.map((pageSize) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SelectItem, { value: `${pageSize}`, children: pageSize }, pageSize)) })
876
+ ),
877
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SelectContent, { children: pageSizeOptions.map((pageSize) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SelectItem, { value: `${pageSize}`, children: pageSize }, pageSize)) })
813
878
  ]
814
879
  }
815
880
  )
816
881
  ] }),
817
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("p", { className: "text-body-small text-muted-foreground whitespace-nowrap", children: [
882
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "text-body-small text-muted-foreground whitespace-nowrap", children: [
818
883
  "Page ",
819
884
  table.getState().pagination.pageIndex + 1,
820
885
  " of",
821
886
  " ",
822
887
  table.getPageCount()
823
888
  ] }),
824
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex items-center gap-1", children: [
825
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
826
- Button,
827
- {
828
- "aria-label": "Go to first page",
829
- disabled: !table.getCanPreviousPage(),
830
- onClick: () => {
831
- table.setPageIndex(0);
832
- },
833
- size: "icon-sm",
834
- variant: "outline",
835
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react5.ChevronsLeftIcon, { className: "size-4" })
836
- }
837
- ),
838
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
839
- Button,
840
- {
841
- "aria-label": "Go to previous page",
842
- disabled: !table.getCanPreviousPage(),
843
- onClick: () => {
844
- table.previousPage();
845
- },
846
- size: "icon-sm",
847
- variant: "outline",
848
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react5.ChevronLeftIcon, { className: "size-4" })
849
- }
850
- ),
851
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
852
- Button,
853
- {
854
- "aria-label": "Go to next page",
855
- disabled: !table.getCanNextPage(),
856
- onClick: () => {
857
- table.nextPage();
858
- },
859
- size: "icon-sm",
860
- variant: "outline",
861
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react5.ChevronRightIcon, { className: "size-4" })
862
- }
863
- ),
864
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
865
- Button,
866
- {
867
- "aria-label": "Go to last page",
868
- disabled: !table.getCanNextPage(),
869
- onClick: () => {
870
- table.setPageIndex(table.getPageCount() - 1);
871
- },
872
- size: "icon-sm",
873
- variant: "outline",
874
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react5.ChevronsRightIcon, { className: "size-4" })
875
- }
876
- )
877
- ] })
889
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
890
+ PaginationNavButtons,
891
+ {
892
+ hasNext: table.getCanNextPage(),
893
+ hasPrev: table.getCanPreviousPage(),
894
+ onFirst: () => table.setPageIndex(0),
895
+ onLast: () => table.setPageIndex(table.getPageCount() - 1),
896
+ onNext: () => table.nextPage(),
897
+ onPrev: () => table.previousPage()
898
+ }
899
+ )
878
900
  ] })
879
901
  ]
880
902
  }
@@ -884,10 +906,10 @@ function DataTableSkeleton({
884
906
  columnCount,
885
907
  rowCount = 5
886
908
  }) {
887
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: Array.from({ length: rowCount }).map((_, rowIdx) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(TableRow, { children: Array.from({ length: columnCount }).map((_inner, colIdx) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
909
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_jsx_runtime10.Fragment, { children: Array.from({ length: rowCount }).map((_, rowIdx) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(TableRow, { children: Array.from({ length: columnCount }).map((_inner, colIdx) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
888
910
  TableCell,
889
911
  {
890
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Skeleton, { className: "h-4 w-3/4" })
912
+ children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Skeleton, { className: "h-4 w-3/4" })
891
913
  },
892
914
  `skeleton-cell-${String(rowIdx)}-${String(colIdx)}`
893
915
  )) }, `skeleton-row-${String(rowIdx)}`)) });
@@ -953,8 +975,7 @@ function DataTable({
953
975
  },
954
976
  onColumnFiltersChange: (updater) => {
955
977
  const next = typeof updater === "function" ? updater(columnFilters) : updater;
956
- if (controlledColumnFilters === void 0)
957
- setInternalColumnFilters(next);
978
+ if (controlledColumnFilters === void 0) setInternalColumnFilters(next);
958
979
  onColumnFiltersChangeProp == null ? void 0 : onColumnFiltersChangeProp(next);
959
980
  },
960
981
  onPaginationChange: (updater) => {
@@ -974,7 +995,7 @@ function DataTable({
974
995
  }));
975
996
  function renderTableBody() {
976
997
  if (loading) {
977
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
998
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
978
999
  DataTableSkeleton,
979
1000
  {
980
1001
  columnCount: resolvedColumns.length,
@@ -983,16 +1004,16 @@ function DataTable({
983
1004
  );
984
1005
  }
985
1006
  if (table.getRowModel().rows.length) {
986
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: table.getRowModel().rows.map((row) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1007
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_jsx_runtime10.Fragment, { children: table.getRowModel().rows.map((row) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
987
1008
  TableRow,
988
1009
  {
989
1010
  "data-state": row.getIsSelected() ? "selected" : void 0,
990
- children: row.getVisibleCells().map((cell) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(TableCell, { children: (0, import_react_table.flexRender)(cell.column.columnDef.cell, cell.getContext()) }, cell.id))
1011
+ children: row.getVisibleCells().map((cell) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(TableCell, { children: (0, import_react_table.flexRender)(cell.column.columnDef.cell, cell.getContext()) }, cell.id))
991
1012
  },
992
1013
  row.id
993
1014
  )) });
994
1015
  }
995
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1016
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
996
1017
  TableCell,
997
1018
  {
998
1019
  className: "h-24 text-center text-muted-foreground",
@@ -1001,8 +1022,8 @@ function DataTable({
1001
1022
  }
1002
1023
  ) });
1003
1024
  }
1004
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: cn("w-full font-sans", className), "data-slot": "data-table", children: [
1005
- toolbar ? toolbar(table) : (searchKey || enableColumnVisibility) && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1025
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: cn("w-full font-sans", className), "data-slot": "data-table", children: [
1026
+ toolbar ? toolbar(table) : (searchKey || enableColumnVisibility) && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1006
1027
  DataTableToolbar,
1007
1028
  {
1008
1029
  enableColumnVisibility,
@@ -1011,14 +1032,14 @@ function DataTable({
1011
1032
  table
1012
1033
  }
1013
1034
  ),
1014
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "border border-border", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(Table, { children: [
1015
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(TableRow, { children: headerGroup.headers.map((header) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(TableHead, { children: header.isPlaceholder ? null : (0, import_react_table.flexRender)(
1035
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "border border-border", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(Table, { children: [
1036
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(TableRow, { children: headerGroup.headers.map((header) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(TableHead, { children: header.isPlaceholder ? null : (0, import_react_table.flexRender)(
1016
1037
  header.column.columnDef.header,
1017
1038
  header.getContext()
1018
1039
  ) }, header.id)) }, headerGroup.id)) }),
1019
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(TableBody, { children: renderTableBody() })
1040
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(TableBody, { children: renderTableBody() })
1020
1041
  ] }) }),
1021
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(DataTablePagination, { pageSizeOptions, table })
1042
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(DataTablePagination, { pageSizeOptions, table })
1022
1043
  ] });
1023
1044
  }
1024
1045
  // Annotate the CommonJS export names for ESM import in node:
@@ -5,14 +5,15 @@ import {
5
5
  DataTableSkeleton,
6
6
  DataTableToolbar,
7
7
  getSelectionColumn
8
- } from "../../chunk-UT4KJR7V.mjs";
8
+ } from "../../chunk-IHMFS7NZ.mjs";
9
9
  import "../../chunk-66MI7Q4B.mjs";
10
+ import "../../chunk-PBL4OQV2.mjs";
10
11
  import "../../chunk-EFRENWEJ.mjs";
11
12
  import "../../chunk-D6ID6M4V.mjs";
12
13
  import "../../chunk-7PYJD5JI.mjs";
13
14
  import "../../chunk-RGVKLTLH.mjs";
14
15
  import "../../chunk-GYMYRIZP.mjs";
15
- import "../../chunk-2I5S2AMY.mjs";
16
+ import "../../chunk-XREGSKX3.mjs";
16
17
  import "../../chunk-DBHJ5KC3.mjs";
17
18
  import "../../chunk-FEZKMUCF.mjs";
18
19
  import "../../chunk-QOJ2DQD6.mjs";