@tulip-systems/core 0.5.7 → 0.5.9

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 (304) hide show
  1. package/dist/components/client.mjs +7 -7
  2. package/dist/components/common/icons.d.mts +52 -52
  3. package/dist/components/common/icons.d.mts.map +1 -1
  4. package/dist/components/common/status.d.mts +3 -3
  5. package/dist/components/common/status.d.mts.map +1 -1
  6. package/dist/components/editor/components/content.client.d.mts +2 -2
  7. package/dist/components/editor/components/content.client.d.mts.map +1 -1
  8. package/dist/components/editor/components/editor.client.d.mts +6 -6
  9. package/dist/components/editor/components/editor.client.d.mts.map +1 -1
  10. package/dist/components/editor/components/menu.client.d.mts +3 -3
  11. package/dist/components/editor/components/menu.client.d.mts.map +1 -1
  12. package/dist/components/editor/components/menu.client.mjs +1 -1
  13. package/dist/components/header/back-button.client.d.mts +2 -2
  14. package/dist/components/header/back-button.client.d.mts.map +1 -1
  15. package/dist/components/header/bottom-bar.client.d.mts +3 -3
  16. package/dist/components/header/bottom-bar.client.d.mts.map +1 -1
  17. package/dist/components/header/bottom-bar.client.mjs +1 -1
  18. package/dist/components/header/breadcrumbs.client.d.mts +7 -7
  19. package/dist/components/header/breadcrumbs.client.d.mts.map +1 -1
  20. package/dist/components/header/breadcrumbs.client.mjs +1 -1
  21. package/dist/components/header/header.client.d.mts +2 -2
  22. package/dist/components/header/mobile-nav-switcher.client.d.mts +2 -2
  23. package/dist/components/header/top-bar.client.d.mts +4 -4
  24. package/dist/components/header/top-bar.client.mjs +1 -1
  25. package/dist/components/layouts/admin-content.client.d.mts +2 -2
  26. package/dist/components/layouts/admin-error-pages.d.mts +23 -0
  27. package/dist/components/layouts/admin-error-pages.d.mts.map +1 -0
  28. package/dist/components/layouts/admin-error-pages.mjs +60 -0
  29. package/dist/components/layouts/admin-error-pages.mjs.map +1 -0
  30. package/dist/components/layouts/admin-layout.d.mts +2 -2
  31. package/dist/components/layouts/admin-layout.d.mts.map +1 -1
  32. package/dist/components/layouts/admin-loading.d.mts +2 -2
  33. package/dist/components/layouts/admin-loading.d.mts.map +1 -1
  34. package/dist/components/layouts/empty-page.d.mts +4 -4
  35. package/dist/components/layouts/empty-page.d.mts.map +1 -1
  36. package/dist/components/layouts/empty-page.mjs.map +1 -1
  37. package/dist/components/layouts/error-page.d.mts +35 -10
  38. package/dist/components/layouts/error-page.d.mts.map +1 -1
  39. package/dist/components/layouts/error-page.mjs +36 -40
  40. package/dist/components/layouts/error-page.mjs.map +1 -1
  41. package/dist/components/layouts/error-sections.d.mts +29 -0
  42. package/dist/components/layouts/error-sections.d.mts.map +1 -0
  43. package/dist/components/layouts/error-sections.mjs +47 -0
  44. package/dist/components/layouts/error-sections.mjs.map +1 -0
  45. package/dist/components/layouts/list-layout.d.mts +2 -2
  46. package/dist/components/layouts/list-layout.d.mts.map +1 -1
  47. package/dist/components/layouts/providers.client.d.mts +2 -2
  48. package/dist/components/layouts/root-error-pages.d.mts +10 -0
  49. package/dist/components/layouts/root-error-pages.d.mts.map +1 -0
  50. package/dist/components/layouts/root-error-pages.mjs +17 -0
  51. package/dist/components/layouts/root-error-pages.mjs.map +1 -0
  52. package/dist/components/layouts/root-layout.server.d.mts +2 -2
  53. package/dist/components/layouts/root-layout.server.d.mts.map +1 -1
  54. package/dist/components/layouts/root-loading.d.mts +2 -2
  55. package/dist/components/layouts/root-loading.d.mts.map +1 -1
  56. package/dist/components/layouts/tab-layout.d.mts +2 -2
  57. package/dist/components/layouts/tab-layout.d.mts.map +1 -1
  58. package/dist/components/layouts/tab-layout.mjs +1 -1
  59. package/dist/components/lists/data-list.d.mts +5 -5
  60. package/dist/components/lists/data-list.d.mts.map +1 -1
  61. package/dist/components/lists/data-stack.d.mts +8 -8
  62. package/dist/components/lists/data-stack.d.mts.map +1 -1
  63. package/dist/components/navigation/admin-sidebar-header.client.mjs +2 -2
  64. package/dist/components/navigation/admin-sidebar-paths.client.d.mts +10 -10
  65. package/dist/components/navigation/admin-sidebar-paths.client.mjs +1 -1
  66. package/dist/components/navigation/admin-sidebar-skeleton.mjs +1 -1
  67. package/dist/components/ui/accordion.d.mts +5 -5
  68. package/dist/components/ui/accordion.d.mts.map +1 -1
  69. package/dist/components/ui/alert-dialog.d.mts +12 -12
  70. package/dist/components/ui/alert-dialog.d.mts.map +1 -1
  71. package/dist/components/ui/alert.d.mts +6 -6
  72. package/dist/components/ui/alert.d.mts.map +1 -1
  73. package/dist/components/ui/aspect-ratio.d.mts +2 -2
  74. package/dist/components/ui/aspect-ratio.d.mts.map +1 -1
  75. package/dist/components/ui/avatar.client.d.mts +4 -4
  76. package/dist/components/ui/badge.d.mts +4 -4
  77. package/dist/components/ui/badge.d.mts.map +1 -1
  78. package/dist/components/ui/breadcrumb.d.mts +8 -8
  79. package/dist/components/ui/breadcrumb.d.mts.map +1 -1
  80. package/dist/components/ui/button.d.mts +5 -5
  81. package/dist/components/ui/calendar.d.mts +3 -3
  82. package/dist/components/ui/card.d.mts +7 -7
  83. package/dist/components/ui/carousel.d.mts +6 -6
  84. package/dist/components/ui/chart.client.d.mts +5 -5
  85. package/dist/components/ui/checkbox.d.mts +2 -2
  86. package/dist/components/ui/collapsible.client.d.mts +4 -4
  87. package/dist/components/ui/color-picker.client.d.mts +2 -2
  88. package/dist/components/ui/combobox-dropdown.client.d.mts +2 -2
  89. package/dist/components/ui/combobox-dropdown.client.mjs +1 -1
  90. package/dist/components/ui/combobox.client.d.mts +2 -2
  91. package/dist/components/ui/combobox.client.mjs +1 -1
  92. package/dist/components/ui/command.d.mts +10 -10
  93. package/dist/components/ui/context-menu.d.mts +16 -16
  94. package/dist/components/ui/date-picker.client.d.mts +2 -2
  95. package/dist/components/ui/date-picker.client.mjs +1 -1
  96. package/dist/components/ui/dialog.client.d.mts +11 -11
  97. package/dist/components/ui/drawer.client.d.mts +11 -11
  98. package/dist/components/ui/dropdown-menu.d.mts +18 -18
  99. package/dist/components/ui/dropdown-menu.d.mts.map +1 -1
  100. package/dist/components/ui/dropdown-menu.mjs +2 -2
  101. package/dist/components/ui/dropdown-menu.mjs.map +1 -1
  102. package/dist/components/ui/form.client.d.mts +7 -7
  103. package/dist/components/ui/hover-card.client.d.mts +4 -4
  104. package/dist/components/ui/input-recipient.d.mts +2 -2
  105. package/dist/components/ui/input.d.mts +2 -2
  106. package/dist/components/ui/label.d.mts +2 -2
  107. package/dist/components/ui/navigation-menu.d.mts +11 -11
  108. package/dist/components/ui/pagination.d.mts +8 -8
  109. package/dist/components/ui/popover.d.mts +5 -5
  110. package/dist/components/ui/progress.client.d.mts +2 -2
  111. package/dist/components/ui/radio-group.d.mts +3 -3
  112. package/dist/components/ui/resizable.client.d.mts +4 -4
  113. package/dist/components/ui/scroll-area.d.mts +3 -3
  114. package/dist/components/ui/select.client.d.mts +11 -11
  115. package/dist/components/ui/separator.d.mts +2 -2
  116. package/dist/components/ui/sheet.client.d.mts +9 -9
  117. package/dist/components/ui/sidebar.client.d.mts +26 -26
  118. package/dist/components/ui/sidebar.client.mjs +2 -2
  119. package/dist/components/ui/skeleton.d.mts +2 -2
  120. package/dist/components/ui/slider.d.mts +2 -2
  121. package/dist/components/ui/sonner.client.d.mts +2 -2
  122. package/dist/components/ui/switch.d.mts +2 -2
  123. package/dist/components/ui/tabs.d.mts +5 -5
  124. package/dist/components/ui/textarea.d.mts +2 -2
  125. package/dist/components/ui/time-input.client.d.mts +2 -2
  126. package/dist/components/ui/toggle-group.client.d.mts +3 -3
  127. package/dist/components/ui/toggle.d.mts +2 -2
  128. package/dist/components/ui/toggle.d.mts.map +1 -1
  129. package/dist/components/ui/tooltip.client.d.mts +5 -5
  130. package/dist/components.d.mts +5 -4
  131. package/dist/components.mjs +18 -17
  132. package/dist/data-tables/client.d.mts +2 -6
  133. package/dist/data-tables/client.mjs +2 -6
  134. package/dist/lib/hooks/use-indicator.d.mts +2 -2
  135. package/dist/lib.mjs +1 -1
  136. package/dist/modules/auth/components/allowed.client.d.mts +2 -2
  137. package/dist/modules/auth/components/auth-layout.server.d.mts +2 -2
  138. package/dist/modules/auth/components/auth-loading.d.mts +2 -2
  139. package/dist/modules/auth/components/auth-loading.d.mts.map +1 -1
  140. package/dist/modules/auth/components/create-first-user-page.client.d.mts +2 -2
  141. package/dist/modules/auth/components/create-first-user-page.client.mjs +1 -1
  142. package/dist/modules/auth/components/forget-password-page.client.d.mts +2 -2
  143. package/dist/modules/auth/components/guard-first-user.server.d.mts +2 -2
  144. package/dist/modules/auth/components/guard.server.d.mts +2 -2
  145. package/dist/modules/auth/components/login-page.client.d.mts +2 -2
  146. package/dist/modules/auth/components/login-page.client.mjs +1 -1
  147. package/dist/modules/auth/components/reset-password-page.client.d.mts +2 -2
  148. package/dist/modules/auth/components/reset-password-page.client.mjs +1 -1
  149. package/dist/modules/auth/components/update-password-command.d.mts +2 -2
  150. package/dist/modules/auth/db/schema.d.mts +73 -73
  151. package/dist/modules/auth/db/schema.d.mts.map +1 -1
  152. package/dist/modules/auth/handler/client.client.d.mts +4 -4
  153. package/dist/modules/auth/hooks/use-permission.d.mts +3 -3
  154. package/dist/modules/auth/hooks/use-session.d.mts +4 -4
  155. package/dist/modules/auth/lib/helpers.server.d.mts +2 -2
  156. package/dist/modules/auth/lib/helpers.server.d.mts.map +1 -1
  157. package/dist/modules/commands/components/alert-dialog-command.client.d.mts +10 -10
  158. package/dist/modules/commands/components/alert-dialog-command.client.d.mts.map +1 -1
  159. package/dist/modules/commands/components/click-command.client.d.mts +2 -2
  160. package/dist/modules/commands/components/click-command.client.d.mts.map +1 -1
  161. package/dist/modules/commands/components/command-trigger.client.d.mts +6 -6
  162. package/dist/modules/commands/components/command-trigger.client.d.mts.map +1 -1
  163. package/dist/modules/commands/components/command-trigger.client.mjs +1 -1
  164. package/dist/modules/commands/components/dialog-command.client.d.mts +8 -8
  165. package/dist/modules/commands/components/dialog-command.client.d.mts.map +1 -1
  166. package/dist/modules/commands/components/dialog-command.client.mjs +1 -1
  167. package/dist/modules/commands/components/dropdown-command.client.d.mts +5 -5
  168. package/dist/modules/commands/components/dropdown-command.client.d.mts.map +1 -1
  169. package/dist/modules/commands/components/empty-command.client.d.mts +2 -2
  170. package/dist/modules/commands/components/empty-command.client.d.mts.map +1 -1
  171. package/dist/modules/commands/components/form-dialog-command.client.d.mts +11 -11
  172. package/dist/modules/commands/components/form-dialog-command.client.d.mts.map +1 -1
  173. package/dist/modules/commands/components/form-dialog-command.client.mjs +1 -1
  174. package/dist/modules/commands/hooks/use-command-mutation.client.d.mts +3 -3
  175. package/dist/modules/commands/menus/context-menu.client.d.mts +2 -2
  176. package/dist/modules/commands/menus/context-menu.client.d.mts.map +1 -1
  177. package/dist/modules/commands/menus/dropdown-menu.client.d.mts +3 -3
  178. package/dist/modules/commands/menus/dropdown-menu.client.d.mts.map +1 -1
  179. package/dist/modules/commands/menus/dropdown-menu.client.mjs +1 -1
  180. package/dist/modules/commands/menus/inline-menu.client.d.mts +3 -3
  181. package/dist/modules/commands/menus/inline-menu.client.d.mts.map +1 -1
  182. package/dist/modules/commands/menus/responsive-menu.client.d.mts +3 -3
  183. package/dist/modules/commands/menus/responsive-menu.client.d.mts.map +1 -1
  184. package/dist/modules/commands/utils/archive-command.client.d.mts +3 -3
  185. package/dist/modules/commands/utils/archive-command.client.d.mts.map +1 -1
  186. package/dist/modules/commands/utils/delete-command.client.d.mts +3 -3
  187. package/dist/modules/commands/utils/delete-command.client.d.mts.map +1 -1
  188. package/dist/modules/config/db/helpers.d.mts +5 -5
  189. package/dist/modules/config/db/helpers.d.mts.map +1 -1
  190. package/dist/modules/data-tables/components/cell/common.client.d.mts +5 -5
  191. package/dist/modules/data-tables/components/column-header.d.mts +2 -2
  192. package/dist/modules/data-tables/components/filters/combobox.client.d.mts +2 -2
  193. package/dist/modules/data-tables/components/filters/combobox.client.mjs +1 -1
  194. package/dist/modules/data-tables/components/filters/slider.client.d.mts +2 -2
  195. package/dist/modules/data-tables/components/filters/slider.client.mjs +1 -1
  196. package/dist/modules/data-tables/components/header.d.mts +4 -4
  197. package/dist/modules/data-tables/components/layout.d.mts +2 -2
  198. package/dist/modules/data-tables/components/search-input.client.d.mts +2 -2
  199. package/dist/modules/data-tables/components/skeleton.d.mts +2 -2
  200. package/dist/modules/data-tables/components/table.d.mts +7 -7
  201. package/dist/modules/data-tables/components/toolbar.d.mts +3 -3
  202. package/dist/modules/data-tables/hooks/use-context.client.d.mts +2 -2
  203. package/dist/modules/data-tables/lib/converters/search.mjs +2 -2
  204. package/dist/modules/data-tables/lib/converters/search.mjs.map +1 -1
  205. package/dist/modules/data-tables/tables/data-table/components/table.d.mts +2 -2
  206. package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts +2 -2
  207. package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts.map +1 -1
  208. package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts +2 -2
  209. package/dist/modules/data-tables/tables/inline-table/components/{inputs → cells}/read-only.d.mts +3 -3
  210. package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.d.mts.map +1 -0
  211. package/dist/modules/data-tables/tables/inline-table/components/{inputs → cells}/read-only.mjs +1 -1
  212. package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.mjs.map +1 -0
  213. package/dist/modules/data-tables/tables/inline-table/components/table.d.mts +2 -2
  214. package/dist/modules/data-tables/tables/inline-table/components/table.mjs +1 -1
  215. package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts +2 -2
  216. package/dist/modules/data-tables/tables/inline-table/hooks/context.client.mjs +1 -1
  217. package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts +2 -2
  218. package/dist/modules/inline-edit/components/combobox.client.d.mts +2 -2
  219. package/dist/modules/inline-edit/components/date-input.client.d.mts +2 -2
  220. package/dist/modules/inline-edit/components/date-input.client.mjs +1 -1
  221. package/dist/modules/inline-edit/components/date-picker.client.d.mts +2 -2
  222. package/dist/modules/inline-edit/components/date-picker.client.mjs +1 -1
  223. package/dist/modules/inline-edit/components/editor.client.d.mts +2 -2
  224. package/dist/modules/inline-edit/components/input-recipient.client.d.mts +2 -2
  225. package/dist/modules/inline-edit/components/input-toggle.client.d.mts +2 -2
  226. package/dist/modules/inline-edit/components/input.client.d.mts +4 -4
  227. package/dist/modules/inline-edit/components/select.client.d.mts +6 -6
  228. package/dist/modules/inline-edit/components/switch.client.d.mts +2 -2
  229. package/dist/modules/inline-edit/components/toggle.client.d.mts +2 -2
  230. package/dist/modules/inline-edit/hooks/context.client.d.mts +2 -2
  231. package/dist/modules/router/handler/init.server.d.mts +6 -6
  232. package/dist/modules/router/handler/init.server.d.mts.map +1 -1
  233. package/dist/modules/router/lib/query-client.server.d.mts +2 -2
  234. package/dist/modules/router/lib/query-client.server.d.mts.map +1 -1
  235. package/dist/modules/storage/components/dropzone-context.client.d.mts +2 -2
  236. package/dist/modules/storage/components/dropzone-context.client.d.mts.map +1 -1
  237. package/dist/modules/storage/components/dropzone.client.d.mts +5 -5
  238. package/dist/modules/storage/components/dropzone.client.d.mts.map +1 -1
  239. package/dist/modules/storage/components/image-grid.client.d.mts +3 -3
  240. package/dist/modules/storage/components/image-grid.client.d.mts.map +1 -1
  241. package/dist/modules/storage/components/image-grid.client.mjs +3 -3
  242. package/dist/modules/storage/components/upload-zone.client.d.mts +2 -2
  243. package/dist/modules/storage/components/upload-zone.client.d.mts.map +1 -1
  244. package/dist/modules/storage/lib/router.server.d.mts +2342 -2342
  245. package/dist/modules/storage/lib/router.server.d.mts.map +1 -1
  246. package/dist/modules/storage/lib/schema.d.mts +92 -92
  247. package/dist/modules/storage/lib/schema.d.mts.map +1 -1
  248. package/dist/modules/storage/lib/schema.mjs +1 -1
  249. package/dist/modules/storage/lib/service.server.d.mts +15 -15
  250. package/dist/modules/storage/lib/service.server.mjs +2 -2
  251. package/dist/modules/storage/lib/service.server.mjs.map +1 -1
  252. package/dist/modules/storage/lib/validators.d.mts +85 -85
  253. package/dist/modules/storage/lib/validators.d.mts.map +1 -1
  254. package/package.json +1 -1
  255. package/src/components/entry.ts +3 -2
  256. package/src/components/layouts/admin-error-pages.tsx +109 -0
  257. package/src/components/layouts/empty-page.tsx +0 -17
  258. package/src/components/layouts/error-page.tsx +58 -44
  259. package/src/components/layouts/error-sections.tsx +52 -0
  260. package/src/components/layouts/root-error-pages.tsx +12 -0
  261. package/src/modules/data-tables/entry.client.ts +1 -5
  262. package/src/modules/data-tables/lib/converters/search.ts +2 -2
  263. package/src/modules/storage/lib/service.server.ts +1 -1
  264. package/dist/components/layouts/not-allowed-page.d.mts +0 -22
  265. package/dist/components/layouts/not-allowed-page.d.mts.map +0 -1
  266. package/dist/components/layouts/not-allowed-page.mjs +0 -25
  267. package/dist/components/layouts/not-allowed-page.mjs.map +0 -1
  268. package/dist/components/layouts/not-found-page.d.mts +0 -8
  269. package/dist/components/layouts/not-found-page.d.mts.map +0 -1
  270. package/dist/components/layouts/not-found-page.mjs +0 -20
  271. package/dist/components/layouts/not-found-page.mjs.map +0 -1
  272. package/dist/components/layouts/not-found-section.mjs +0 -30
  273. package/dist/components/layouts/not-found-section.mjs.map +0 -1
  274. package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.mts +0 -29
  275. package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.mts.map +0 -1
  276. package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.mjs +0 -52
  277. package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.mjs.map +0 -1
  278. package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.mts +0 -27
  279. package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.mts.map +0 -1
  280. package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.mjs +0 -29
  281. package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.mjs.map +0 -1
  282. package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.mts +0 -39
  283. package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.mts.map +0 -1
  284. package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.mjs +0 -71
  285. package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.mjs.map +0 -1
  286. package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.mts.map +0 -1
  287. package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.mjs.map +0 -1
  288. package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.mts +0 -33
  289. package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.mts.map +0 -1
  290. package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.mjs +0 -52
  291. package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.mjs.map +0 -1
  292. package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.d.mts +0 -17
  293. package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.d.mts.map +0 -1
  294. package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.mjs +0 -53
  295. package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.mjs.map +0 -1
  296. package/src/components/layouts/not-allowed-page.tsx +0 -44
  297. package/src/components/layouts/not-found-page.tsx +0 -17
  298. package/src/components/layouts/not-found-section.tsx +0 -26
  299. package/src/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.tsx +0 -90
  300. package/src/modules/data-tables/tables/inline-table/components/inputs/combobox.client.tsx +0 -109
  301. package/src/modules/data-tables/tables/inline-table/components/inputs/input.client.tsx +0 -108
  302. package/src/modules/data-tables/tables/inline-table/components/inputs/select.client.tsx +0 -102
  303. package/src/modules/data-tables/tables/inline-table/hooks/use-input.client.ts +0 -65
  304. /package/src/modules/data-tables/tables/inline-table/components/{inputs → cells}/read-only.tsx +0 -0
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime78 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime262 from "react/jsx-runtime";
2
2
  import { DefaultError, MutationOptions } from "@tanstack/react-query";
3
3
 
4
4
  //#region src/modules/commands/utils/delete-command.client.d.ts
@@ -13,7 +13,7 @@ type DeleteCommandProps<TData = unknown, TError = DefaultError, TVariables = unk
13
13
  declare function DeleteCommand<TData = unknown, TError = DefaultError, TVariables = unknown, TOnMutateResult = unknown>({
14
14
  variables,
15
15
  mutation
16
- }: DeleteCommandProps<TData, TError, TVariables, TOnMutateResult>): react_jsx_runtime78.JSX.Element;
16
+ }: DeleteCommandProps<TData, TError, TVariables, TOnMutateResult>): react_jsx_runtime262.JSX.Element;
17
17
  /**
18
18
  * Single Delete command
19
19
  */
@@ -22,7 +22,7 @@ declare function SingleDeleteCommand<TData = unknown, TError = DefaultError, TVa
22
22
  }, TOnMutateResult = unknown>({
23
23
  variables,
24
24
  mutation
25
- }: DeleteCommandProps<TData, TError, TVariables, TOnMutateResult>): react_jsx_runtime78.JSX.Element;
25
+ }: DeleteCommandProps<TData, TError, TVariables, TOnMutateResult>): react_jsx_runtime262.JSX.Element;
26
26
  //#endregion
27
27
  export { DeleteCommand, DeleteCommandProps, SingleDeleteCommand };
28
28
  //# sourceMappingURL=delete-command.client.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-command.client.d.mts","names":[],"sources":["../../../../src/modules/commands/utils/delete-command.client.tsx"],"sourcesContent":[],"mappings":";;;;KAiBY,6CAED;aAIE;YACD,gBAAgB,OAAO,QAAQ,YAAY;AAPvD,CAAA;;;;;AAO2C,iBAM3B,aAN2B,CAAA,QAAA,OAAA,EAAA,SAQhC,YARgC,EAAA,aAAA,OAAA,EAAA,kBAAA,OAAA,CAAA,CAAA;EAAA,SAAA;EAAA;AAAA,CAAA,EAWhB,kBAXgB,CAWG,KAXH,EAWU,MAXV,EAWkB,UAXlB,EAW8B,eAX9B,CAAA,CAAA,EAW8C,mBAAA,CAAA,GAAA,CAAA,OAX9C;;;;AAM3B,iBAsCA,mBAtCa,CAAA,QAAA,OAAA,EAAA,SAwClB,YAxCkB,EAAA,aAAA;EAElB,EAAA,EAAA,MAAA;CAGP,EAAA,kBAAA,OAAA,CAAA,CAAA;EAAA,SAAA;EAAA;AAAA,CAAA,EAsCuB,kBAtCvB,CAsC0C,KAtC1C,EAsCiD,MAtCjD,EAsCyD,UAtCzD,EAsCqE,eAtCrE,CAAA,CAAA,EAsCqF,mBAAA,CAAA,GAAA,CAAA,OAtCrF"}
1
+ {"version":3,"file":"delete-command.client.d.mts","names":[],"sources":["../../../../src/modules/commands/utils/delete-command.client.tsx"],"sourcesContent":[],"mappings":";;;;KAiBY,6CAED;aAIE;YACD,gBAAgB,OAAO,QAAQ,YAAY;AAPvD,CAAA;;;;;AAO2C,iBAM3B,aAN2B,CAAA,QAAA,OAAA,EAAA,SAQhC,YARgC,EAAA,aAAA,OAAA,EAAA,kBAAA,OAAA,CAAA,CAAA;EAAA,SAAA;EAAA;AAAA,CAAA,EAWhB,kBAXgB,CAWG,KAXH,EAWU,MAXV,EAWkB,UAXlB,EAW8B,eAX9B,CAAA,CAAA,EAW8C,oBAAA,CAAA,GAAA,CAAA,OAX9C;;;;AAM3B,iBAsCA,mBAtCa,CAAA,QAAA,OAAA,EAAA,SAwClB,YAxCkB,EAAA,aAAA;EAElB,EAAA,EAAA,MAAA;CAGP,EAAA,kBAAA,OAAA,CAAA,CAAA;EAAA,SAAA;EAAA;AAAA,CAAA,EAsCuB,kBAtCvB,CAsC0C,KAtC1C,EAsCiD,MAtCjD,EAsCyD,UAtCzD,EAsCqE,eAtCrE,CAAA,CAAA,EAsCqF,oBAAA,CAAA,GAAA,CAAA,OAtCrF"}
@@ -1,5 +1,5 @@
1
- import * as drizzle_orm_pg_core0 from "drizzle-orm/pg-core";
2
- import * as drizzle_orm0 from "drizzle-orm";
1
+ import * as drizzle_orm_pg_core2049 from "drizzle-orm/pg-core";
2
+ import * as drizzle_orm480 from "drizzle-orm";
3
3
 
4
4
  //#region src/modules/config/db/helpers.d.ts
5
5
  declare const generateDefaultUUID: () => string;
@@ -7,9 +7,9 @@ declare const generateDefaultUUID: () => string;
7
7
  * Base columns4
8
8
  */
9
9
  declare const baseColumns: {
10
- id: drizzle_orm0.HasRuntimeDefault<drizzle_orm0.HasDefault<drizzle_orm0.IsPrimaryKey<drizzle_orm0.NotNull<drizzle_orm_pg_core0.PgUUIDBuilderInitial<"">>>>>;
11
- createdAt: drizzle_orm0.NotNull<drizzle_orm0.HasDefault<drizzle_orm_pg_core0.PgTimestampBuilderInitial<"">>>;
12
- updatedAt: drizzle_orm0.HasDefault<drizzle_orm0.NotNull<drizzle_orm0.HasDefault<drizzle_orm_pg_core0.PgTimestampBuilderInitial<"">>>>;
10
+ id: drizzle_orm480.HasRuntimeDefault<drizzle_orm480.HasDefault<drizzle_orm480.IsPrimaryKey<drizzle_orm480.NotNull<drizzle_orm_pg_core2049.PgUUIDBuilderInitial<"">>>>>;
11
+ createdAt: drizzle_orm480.NotNull<drizzle_orm480.HasDefault<drizzle_orm_pg_core2049.PgTimestampBuilderInitial<"">>>;
12
+ updatedAt: drizzle_orm480.HasDefault<drizzle_orm480.NotNull<drizzle_orm480.HasDefault<drizzle_orm_pg_core2049.PgTimestampBuilderInitial<"">>>>;
13
13
  };
14
14
  //#endregion
15
15
  export { baseColumns, generateDefaultUUID };
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.mts","names":[],"sources":["../../../../src/modules/config/db/helpers.ts"],"sourcesContent":[],"mappings":";;;;cAGa;;;;AAAA,cAKA,WALoC,EAAA;EAKpC,EAAA,gCAWZ,wBAAA,0BAAA,qBAAA,CAAA,oBAAA,CAAA,oBAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA;EAAA,SAAA,sBAAA,wBAAA,+CAAA,CAAA,EAAA,CAAA,CAAA,CAAA"}
1
+ {"version":3,"file":"helpers.d.mts","names":[],"sources":["../../../../src/modules/config/db/helpers.ts"],"sourcesContent":[],"mappings":";;;;cAGa;;;;AAAA,cAKA,WALoC,EAAA;EAKpC,EAAA,kCAWZ,0BAAA,4BAAA,uBAAA,CAAA,uBAAA,CAAA,oBAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA;EAAA,SAAA,wBAAA,0BAAA,kDAAA,CAAA,EAAA,CAAA,CAAA,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { TableCell } from "../table.mjs";
2
- import * as react_jsx_runtime1 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
  import { ComponentProps } from "react";
4
4
 
5
5
  //#region src/modules/data-tables/components/cell/common.client.d.ts
@@ -7,21 +7,21 @@ declare function TableTextCell({
7
7
  children,
8
8
  className,
9
9
  ...props
10
- }: ComponentProps<typeof TableCell>): react_jsx_runtime1.JSX.Element;
10
+ }: ComponentProps<typeof TableCell>): react_jsx_runtime0.JSX.Element;
11
11
  declare function TableNumberCell({
12
12
  children,
13
13
  className,
14
14
  ...props
15
- }: ComponentProps<typeof TableCell>): react_jsx_runtime1.JSX.Element;
15
+ }: ComponentProps<typeof TableCell>): react_jsx_runtime0.JSX.Element;
16
16
  declare function TableDateCell({
17
17
  children,
18
18
  className,
19
19
  ...props
20
- }: ComponentProps<typeof TableCell>): react_jsx_runtime1.JSX.Element;
20
+ }: ComponentProps<typeof TableCell>): react_jsx_runtime0.JSX.Element;
21
21
  declare function TableStatusCell({
22
22
  children,
23
23
  ...props
24
- }: ComponentProps<typeof TableCell>): react_jsx_runtime1.JSX.Element;
24
+ }: ComponentProps<typeof TableCell>): react_jsx_runtime0.JSX.Element;
25
25
  //#endregion
26
26
  export { TableDateCell, TableNumberCell, TableStatusCell, TableTextCell };
27
27
  //# sourceMappingURL=common.client.d.mts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime20 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime13 from "react/jsx-runtime";
2
2
  import { Column } from "@tanstack/react-table";
3
3
 
4
4
  //#region src/modules/data-tables/components/column-header.d.ts
@@ -10,7 +10,7 @@ declare function TableColumnHeader<TData, TValue>({
10
10
  column,
11
11
  title,
12
12
  className
13
- }: TableColumnHeaderProps<TData, TValue>): react_jsx_runtime20.JSX.Element;
13
+ }: TableColumnHeaderProps<TData, TValue>): react_jsx_runtime13.JSX.Element;
14
14
  //#endregion
15
15
  export { TableColumnHeader };
16
16
  //# sourceMappingURL=column-header.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import { LucideIcon } from "lucide-react";
2
- import * as react_jsx_runtime5 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime3 from "react/jsx-runtime";
3
3
  import { ParserBuilder } from "nuqs";
4
4
 
5
5
  //#region src/modules/data-tables/components/filters/combobox.client.d.ts
@@ -22,7 +22,7 @@ declare function TableFilterCombobox<TValue extends string>({
22
22
  title,
23
23
  filter,
24
24
  options
25
- }: TableFilterComboboxProps<TValue>): react_jsx_runtime5.JSX.Element;
25
+ }: TableFilterComboboxProps<TValue>): react_jsx_runtime3.JSX.Element;
26
26
  //#endregion
27
27
  export { TableFilterCombobox, TableFilterComboboxOption, TableFilterComboboxProps };
28
28
  //# sourceMappingURL=combobox.client.d.mts.map
@@ -3,9 +3,9 @@
3
3
  import { cn } from "../../../../lib/utils/cn.mjs";
4
4
  import { Badge } from "../../../../components/ui/badge.mjs";
5
5
  import { Button } from "../../../../components/ui/button.mjs";
6
- import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator } from "../../../../components/ui/command.mjs";
7
6
  import { Popover, PopoverContent, PopoverTrigger } from "../../../../components/ui/popover.mjs";
8
7
  import { Separator } from "../../../../components/ui/separator.mjs";
8
+ import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator } from "../../../../components/ui/command.mjs";
9
9
  import { Check, PlusCircle } from "lucide-react";
10
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
11
  import { startTransition, useOptimistic } from "react";
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime6 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime4 from "react/jsx-runtime";
2
2
  import { ParserBuilder } from "nuqs";
3
3
 
4
4
  //#region src/modules/data-tables/components/filters/slider.client.d.ts
@@ -17,7 +17,7 @@ declare function TableFilterSlider({
17
17
  title,
18
18
  filter,
19
19
  options
20
- }: TableFilterSliderProps): react_jsx_runtime6.JSX.Element;
20
+ }: TableFilterSliderProps): react_jsx_runtime4.JSX.Element;
21
21
  //#endregion
22
22
  export { TableFilterSlider, TableFilterSliderProps };
23
23
  //# sourceMappingURL=slider.client.d.mts.map
@@ -2,8 +2,8 @@
2
2
 
3
3
  import { Badge } from "../../../../components/ui/badge.mjs";
4
4
  import { Button } from "../../../../components/ui/button.mjs";
5
- import { Input } from "../../../../components/ui/input.mjs";
6
5
  import { Popover, PopoverContent, PopoverTrigger } from "../../../../components/ui/popover.mjs";
6
+ import { Input } from "../../../../components/ui/input.mjs";
7
7
  import { Separator } from "../../../../components/ui/separator.mjs";
8
8
  import { Slider } from "../../../../components/ui/slider.mjs";
9
9
  import { PlusCircle } from "lucide-react";
@@ -1,5 +1,5 @@
1
1
  import { TableRow } from "./table.mjs";
2
- import * as react_jsx_runtime21 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime14 from "react/jsx-runtime";
3
3
  import { Header, Table } from "@tanstack/react-table";
4
4
 
5
5
  //#region src/modules/data-tables/components/header.d.ts
@@ -15,7 +15,7 @@ type TableHeaderProps<TData> = {
15
15
  declare function TableHeader({
16
16
  className,
17
17
  ...props
18
- }: React.ComponentProps<"thead">): react_jsx_runtime21.JSX.Element;
18
+ }: React.ComponentProps<"thead">): react_jsx_runtime14.JSX.Element;
19
19
  /**
20
20
  * DataTableHeaderRow
21
21
  */
@@ -26,7 +26,7 @@ declare const TableHeaderRow: typeof TableRow;
26
26
  declare function TableHead({
27
27
  className,
28
28
  ...props
29
- }: React.ComponentProps<"th">): react_jsx_runtime21.JSX.Element;
29
+ }: React.ComponentProps<"th">): react_jsx_runtime14.JSX.Element;
30
30
  /**
31
31
  * DataTableHeaderCell
32
32
  */
@@ -35,7 +35,7 @@ type DataTableHeaderCellProps<TData> = {
35
35
  };
36
36
  declare function TableHeaderCell<TData>({
37
37
  header
38
- }: DataTableHeaderCellProps<TData>): react_jsx_runtime21.JSX.Element;
38
+ }: DataTableHeaderCellProps<TData>): react_jsx_runtime14.JSX.Element;
39
39
  //#endregion
40
40
  export { TableHead, TableHeader, TableHeaderCell, TableHeaderProps, TableHeaderRow };
41
41
  //# sourceMappingURL=header.d.mts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime24 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime17 from "react/jsx-runtime";
2
2
  import { ComponentProps } from "react";
3
3
 
4
4
  //#region src/modules/data-tables/components/layout.d.ts
@@ -6,7 +6,7 @@ declare function TableLayout({
6
6
  className,
7
7
  children,
8
8
  ...props
9
- }: ComponentProps<"div">): react_jsx_runtime24.JSX.Element;
9
+ }: ComponentProps<"div">): react_jsx_runtime17.JSX.Element;
10
10
  //#endregion
11
11
  export { TableLayout };
12
12
  //# sourceMappingURL=layout.d.mts.map
@@ -1,7 +1,7 @@
1
- import * as react_jsx_runtime7 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime5 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/modules/data-tables/components/search-input.client.d.ts
4
- declare function TableSearchInput(): react_jsx_runtime7.JSX.Element;
4
+ declare function TableSearchInput(): react_jsx_runtime5.JSX.Element;
5
5
  //#endregion
6
6
  export { TableSearchInput };
7
7
  //# sourceMappingURL=search-input.client.d.mts.map
@@ -1,7 +1,7 @@
1
- import * as react_jsx_runtime25 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime18 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/modules/data-tables/components/skeleton.d.ts
4
- declare function TableSkeleton(): react_jsx_runtime25.JSX.Element;
4
+ declare function TableSkeleton(): react_jsx_runtime18.JSX.Element;
5
5
  //#endregion
6
6
  export { TableSkeleton };
7
7
  //# sourceMappingURL=skeleton.d.mts.map
@@ -1,34 +1,34 @@
1
- import * as react_jsx_runtime26 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime19 from "react/jsx-runtime";
2
2
  import * as React$1 from "react";
3
3
 
4
4
  //#region src/modules/data-tables/components/table.d.ts
5
5
  declare function Table({
6
6
  className,
7
7
  ...props
8
- }: React$1.ComponentProps<"table">): react_jsx_runtime26.JSX.Element;
8
+ }: React$1.ComponentProps<"table">): react_jsx_runtime19.JSX.Element;
9
9
  declare function TableBody({
10
10
  className,
11
11
  ...props
12
- }: React$1.ComponentProps<"tbody">): react_jsx_runtime26.JSX.Element;
12
+ }: React$1.ComponentProps<"tbody">): react_jsx_runtime19.JSX.Element;
13
13
  declare function TableFooter({
14
14
  className,
15
15
  ...props
16
- }: React$1.ComponentProps<"tfoot">): react_jsx_runtime26.JSX.Element;
16
+ }: React$1.ComponentProps<"tfoot">): react_jsx_runtime19.JSX.Element;
17
17
  declare function TableRow({
18
18
  className,
19
19
  ...props
20
- }: React$1.ComponentProps<"tr">): react_jsx_runtime26.JSX.Element;
20
+ }: React$1.ComponentProps<"tr">): react_jsx_runtime19.JSX.Element;
21
21
  declare function TableCell({
22
22
  readonly,
23
23
  className,
24
24
  ...props
25
25
  }: React$1.ComponentProps<"td"> & {
26
26
  readonly?: boolean;
27
- }): react_jsx_runtime26.JSX.Element;
27
+ }): react_jsx_runtime19.JSX.Element;
28
28
  declare function TableCaption({
29
29
  className,
30
30
  ...props
31
- }: React$1.ComponentProps<"caption">): react_jsx_runtime26.JSX.Element;
31
+ }: React$1.ComponentProps<"caption">): react_jsx_runtime19.JSX.Element;
32
32
  //#endregion
33
33
  export { Table, TableBody, TableCaption, TableCell, TableFooter, TableRow };
34
34
  //# sourceMappingURL=table.d.mts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime32 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime25 from "react/jsx-runtime";
2
2
  import { HTMLAttributes } from "react";
3
3
 
4
4
  //#region src/modules/data-tables/components/toolbar.d.ts
@@ -9,7 +9,7 @@ declare function TableToolbar({
9
9
  children,
10
10
  className,
11
11
  ...props
12
- }: TableToolbarProps): react_jsx_runtime32.JSX.Element;
12
+ }: TableToolbarProps): react_jsx_runtime25.JSX.Element;
13
13
  type TableToolbarListProps = HTMLAttributes<HTMLDivElement> & {
14
14
  children: React.ReactNode;
15
15
  };
@@ -17,7 +17,7 @@ declare function TableToolbarList({
17
17
  children,
18
18
  className,
19
19
  ...props
20
- }: TableToolbarListProps): react_jsx_runtime32.JSX.Element;
20
+ }: TableToolbarListProps): react_jsx_runtime25.JSX.Element;
21
21
  //#endregion
22
22
  export { TableToolbar, TableToolbarList };
23
23
  //# sourceMappingURL=toolbar.d.mts.map
@@ -1,7 +1,7 @@
1
1
  import { CommandDef } from "../../commands/lib/definitions.mjs";
2
2
  import { TableFiltersResult } from "../lib/filters/config.mjs";
3
3
  import { Selection, TableColumnDef, TableMetaInput, TableStrategy } from "../lib/types.mjs";
4
- import * as react_jsx_runtime9 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime7 from "react/jsx-runtime";
5
5
  import { Dispatch, PropsWithChildren, SetStateAction } from "react";
6
6
  import { TableOptions, VisibilityState } from "@tanstack/react-table";
7
7
 
@@ -44,7 +44,7 @@ declare function TableConfigProvider<TData extends {
44
44
  config
45
45
  }: PropsWithChildren<{
46
46
  config: CreateTableConfigInput<TData, TFilters, TMeta>;
47
- }>): react_jsx_runtime9.JSX.Element;
47
+ }>): react_jsx_runtime7.JSX.Element;
48
48
  /**
49
49
  * Create use table config hook
50
50
  */
@@ -1,4 +1,4 @@
1
- import { ilike, or } from "drizzle-orm";
1
+ import { ilike, or, sql } from "drizzle-orm";
2
2
 
3
3
  //#region src/modules/data-tables/lib/converters/search.ts
4
4
  /**
@@ -8,7 +8,7 @@ import { ilike, or } from "drizzle-orm";
8
8
  */
9
9
  function convertSearchToQueryParams({ search }, fields) {
10
10
  if (!search) return void 0;
11
- return or(...fields.map((field) => ilike(field, `%${search}%`)));
11
+ return or(...fields.map((field) => ilike(sql`${field}::text`, `%${search}%`)));
12
12
  }
13
13
 
14
14
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"search.mjs","names":[],"sources":["../../../../../src/modules/data-tables/lib/converters/search.ts"],"sourcesContent":["import { type SQL, ilike, or } from \"drizzle-orm\";\nimport type { PgColumn } from \"drizzle-orm/pg-core\";\nimport { TableQuerySchema } from \"../validators\";\n\nexport type ConvertSearchToQueryParamsFields = PgColumn[];\n\n/**\n * Convert search to DB query\n * @param {ConvertSearchToQueryParamsInput}\n * @returns { { OR: Record<string, { contains: string, mode: \"insensitive\" }> } }\n */\nexport function convertSearchToQueryParams(\n { search }: Pick<TableQuerySchema, \"search\">,\n fields: ConvertSearchToQueryParamsFields,\n): SQL | undefined {\n if (!search) return undefined;\n\n // create an array of search fields with the search query applied\n const searchFields = fields.map((field) => ilike(field, `%${search}%`));\n\n // return the query with the search fields\n return or(...searchFields);\n}\n"],"mappings":";;;;;;;;AAWA,SAAgB,2BACd,EAAE,UACF,QACiB;AACjB,KAAI,CAAC,OAAQ,QAAO;AAMpB,QAAO,GAAG,GAHW,OAAO,KAAK,UAAU,MAAM,OAAO,IAAI,OAAO,GAAG,CAAC,CAG7C"}
1
+ {"version":3,"file":"search.mjs","names":[],"sources":["../../../../../src/modules/data-tables/lib/converters/search.ts"],"sourcesContent":["import { type SQL, ilike, or, sql } from \"drizzle-orm\";\nimport type { PgColumn } from \"drizzle-orm/pg-core\";\nimport { TableQuerySchema } from \"../validators\";\n\nexport type ConvertSearchToQueryParamsFields = PgColumn[];\n\n/**\n * Convert search to DB query\n * @param {ConvertSearchToQueryParamsInput}\n * @returns { { OR: Record<string, { contains: string, mode: \"insensitive\" }> } }\n */\nexport function convertSearchToQueryParams(\n { search }: Pick<TableQuerySchema, \"search\">,\n fields: ConvertSearchToQueryParamsFields,\n): SQL | undefined {\n if (!search) return undefined;\n\n // create an array of search fields with the search query applied\n const searchFields = fields.map((field) => ilike(sql`${field}::text`, `%${search}%`));\n\n // return the query with the search fields\n return or(...searchFields);\n}\n"],"mappings":";;;;;;;;AAWA,SAAgB,2BACd,EAAE,UACF,QACiB;AACjB,KAAI,CAAC,OAAQ,QAAO;AAMpB,QAAO,GAAG,GAHW,OAAO,KAAK,UAAU,MAAM,GAAG,GAAG,MAAM,SAAS,IAAI,OAAO,GAAG,CAAC,CAG3D"}
@@ -1,11 +1,11 @@
1
1
  import { Table } from "../../../components/table.mjs";
2
- import * as react_jsx_runtime19 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime12 from "react/jsx-runtime";
3
3
  import { ComponentProps } from "react";
4
4
 
5
5
  //#region src/modules/data-tables/tables/data-table/components/table.d.ts
6
6
  declare function DataTable<TData extends {
7
7
  id: string;
8
- }>(props: ComponentProps<typeof Table>): react_jsx_runtime19.JSX.Element;
8
+ }>(props: ComponentProps<typeof Table>): react_jsx_runtime12.JSX.Element;
9
9
  //#endregion
10
10
  export { DataTable };
11
11
  //# sourceMappingURL=table.d.mts.map
@@ -1,12 +1,12 @@
1
1
  import { TableCell } from "../../../../components/table.mjs";
2
- import * as react_jsx_runtime10 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime8 from "react/jsx-runtime";
3
3
  import * as React$1 from "react";
4
4
 
5
5
  //#region src/modules/data-tables/tables/inline-table/components/cells/common.d.ts
6
6
  declare function TableInlineCell({
7
7
  className,
8
8
  ...props
9
- }: React$1.ComponentProps<typeof TableCell>): react_jsx_runtime10.JSX.Element;
9
+ }: React$1.ComponentProps<typeof TableCell>): react_jsx_runtime8.JSX.Element;
10
10
  //#endregion
11
11
  export { TableInlineCell };
12
12
  //# sourceMappingURL=common.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.mts","names":[],"sources":["../../../../../../../src/modules/data-tables/tables/inline-table/components/cells/common.tsx"],"sourcesContent":[],"mappings":";;;;;iBAIgB,eAAA;;;GAAyC,OAAA,CAAM,sBAAsB,aAAU,mBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"common.d.mts","names":[],"sources":["../../../../../../../src/modules/data-tables/tables/inline-table/components/cells/common.tsx"],"sourcesContent":[],"mappings":";;;;;iBAIgB,eAAA;;;GAAyC,OAAA,CAAM,sBAAsB,aAAU,kBAAA,CAAA,GAAA,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { TableColumnDef } from "../../../../lib/types.mjs";
2
2
  import "../../../../../../data-tables.mjs";
3
- import * as react_jsx_runtime8 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime6 from "react/jsx-runtime";
4
4
  import { CellContext } from "@tanstack/react-table";
5
5
 
6
6
  //#region src/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.ts
@@ -15,7 +15,7 @@ declare function TableDragHandle<TData, TValue>({
15
15
  row,
16
16
  className,
17
17
  disabled
18
- }: TableDragHandleProps<TData, TValue>): react_jsx_runtime8.JSX.Element;
18
+ }: TableDragHandleProps<TData, TValue>): react_jsx_runtime6.JSX.Element;
19
19
  /**
20
20
  * Create a new column with the drag handle
21
21
  */
@@ -1,12 +1,12 @@
1
- import * as react_jsx_runtime15 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime9 from "react/jsx-runtime";
2
2
  import React from "react";
3
3
 
4
- //#region src/modules/data-tables/tables/inline-table/components/inputs/read-only.d.ts
4
+ //#region src/modules/data-tables/tables/inline-table/components/cells/read-only.d.ts
5
5
  declare function InlineDataTableReadOnly({
6
6
  className,
7
7
  children,
8
8
  ...props
9
- }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime15.JSX.Element;
9
+ }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime9.JSX.Element;
10
10
  //#endregion
11
11
  export { InlineDataTableReadOnly };
12
12
  //# sourceMappingURL=read-only.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"read-only.d.mts","names":[],"sources":["../../../../../../../src/modules/data-tables/tables/inline-table/components/cells/read-only.tsx"],"sourcesContent":[],"mappings":";;;;iBAGgB,uBAAA;;;;GAIb,KAAA,CAAM,eAAe,mBAAgB,kBAAA,CAAA,GAAA,CAAA"}
@@ -2,7 +2,7 @@ import { cn } from "../../../../../../lib/utils/cn.mjs";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import React from "react";
4
4
 
5
- //#region src/modules/data-tables/tables/inline-table/components/inputs/read-only.tsx
5
+ //#region src/modules/data-tables/tables/inline-table/components/cells/read-only.tsx
6
6
  function InlineDataTableReadOnly({ className, children, ...props }) {
7
7
  return /* @__PURE__ */ jsx("span", {
8
8
  ...props,
@@ -0,0 +1 @@
1
+ {"version":3,"file":"read-only.mjs","names":[],"sources":["../../../../../../../src/modules/data-tables/tables/inline-table/components/cells/read-only.tsx"],"sourcesContent":["import { cn } from \"@/lib/utils/cn\";\nimport React from \"react\";\n\nexport function InlineDataTableReadOnly({\n className,\n children,\n ...props\n}: React.HTMLAttributes<HTMLSpanElement>) {\n return (\n <span\n {...props}\n className={cn(\"bg-muted/50 flex h-full w-full items-center truncate px-3\", className)}\n >\n {children}\n </span>\n );\n}\n"],"mappings":";;;;;AAGA,SAAgB,wBAAwB,EACtC,WACA,UACA,GAAG,SACqC;AACxC,QACE,oBAAC;EACC,GAAI;EACJ,WAAW,GAAG,6DAA6D,UAAU;EAEpF;GACI"}
@@ -1,6 +1,6 @@
1
1
  import { Table } from "../../../components/table.mjs";
2
2
  import { InlineTableProvider } from "../hooks/context.client.mjs";
3
- import * as react_jsx_runtime17 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime10 from "react/jsx-runtime";
4
4
  import { ComponentProps } from "react";
5
5
 
6
6
  //#region src/modules/data-tables/tables/inline-table/components/table.d.ts
@@ -10,7 +10,7 @@ declare function InlineTable<TData extends {
10
10
  disabledColumns,
11
11
  moveRowAction,
12
12
  ...props
13
- }: ComponentProps<typeof Table> & ComponentProps<typeof InlineTableProvider>): react_jsx_runtime17.JSX.Element;
13
+ }: ComponentProps<typeof Table> & ComponentProps<typeof InlineTableProvider>): react_jsx_runtime10.JSX.Element;
14
14
  //#endregion
15
15
  export { InlineTable };
16
16
  //# sourceMappingURL=table.d.mts.map
@@ -2,9 +2,9 @@
2
2
 
3
3
  import { Table } from "../../../components/table.mjs";
4
4
  import { useTable } from "../../../hooks/use-table.client.mjs";
5
- import { InlineTableProvider } from "../hooks/context.client.mjs";
6
5
  import { TableCommandMenu } from "../../../../commands/menus/data-table-menu.client.mjs";
7
6
  import { TableBottombar, TableFooter } from "../../../components/footer.mjs";
7
+ import { InlineTableProvider } from "../hooks/context.client.mjs";
8
8
  import { InlineTableBody } from "./body.mjs";
9
9
  import { InlineTableHeader } from "./header.mjs";
10
10
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime18 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime11 from "react/jsx-runtime";
2
2
  import { PropsWithChildren } from "react";
3
3
  import { VisibilityState } from "@tanstack/react-table";
4
4
 
@@ -41,7 +41,7 @@ declare function InlineTableProvider<TData extends {
41
41
  fromIndex: number;
42
42
  toIndex: number;
43
43
  }) => Promise<unknown>;
44
- }>): react_jsx_runtime18.JSX.Element;
44
+ }>): react_jsx_runtime11.JSX.Element;
45
45
  //#endregion
46
46
  export { InlineTableContextValue, InlineTableProvider, useInlineTableContext };
47
47
  //# sourceMappingURL=context.client.d.mts.map
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
 
3
- import { useAction } from "../../../../../lib/hooks/use-action.mjs";
4
3
  import { arrayMove } from "../../../../../lib/utils/array-move.mjs";
4
+ import { useAction } from "../../../../../lib/hooks/use-action.mjs";
5
5
  import { useTableConfigContext } from "../../../hooks/use-context.client.mjs";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  import React from "react";
@@ -1,7 +1,7 @@
1
1
  import { ComboboxDropdownItem, ComboboxDropdownProps } from "../../../components/ui/combobox-dropdown.client.mjs";
2
2
  import { useInlineEditOptions } from "../hooks/use-inline.client.mjs";
3
3
  import { InlineEditVariantsProps } from "../lib/variants.mjs";
4
- import * as react_jsx_runtime365 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime197 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/modules/inline-edit/components/combobox-dropdown.client.d.ts
7
7
  type InlineEditComboboxDropdownProps<TValue extends ComboboxDropdownItem, Required extends boolean = false> = useInlineEditOptions<string, Required> & InlineEditVariantsProps & Omit<ComboboxDropdownProps<TValue>, "onSelect"> & {
@@ -19,7 +19,7 @@ declare function InlineComboboxDropdown<TValue extends ComboboxDropdownItem, Req
19
19
  isRequired,
20
20
  disabled,
21
21
  ...props
22
- }: InlineEditComboboxDropdownProps<TValue, Required>): react_jsx_runtime365.JSX.Element;
22
+ }: InlineEditComboboxDropdownProps<TValue, Required>): react_jsx_runtime197.JSX.Element;
23
23
  //#endregion
24
24
  export { InlineComboboxDropdown, InlineEditComboboxDropdownProps };
25
25
  //# sourceMappingURL=combobox-dropdown.client.d.mts.map
@@ -1,6 +1,6 @@
1
1
  import { ComboboxProps } from "../../../components/ui/combobox.client.mjs";
2
2
  import { useInlineEditOptions } from "../hooks/use-inline.client.mjs";
3
- import * as react_jsx_runtime366 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime198 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/modules/inline-edit/components/combobox.client.d.ts
6
6
  type InlineComboboxProps<TValue, Required extends boolean = false> = useInlineEditOptions<string, Required> & Omit<ComboboxProps<TValue>, "value">;
@@ -14,7 +14,7 @@ declare function InlineCombobox<TValue, Required extends boolean>({
14
14
  updateStrategy,
15
15
  isRequired,
16
16
  ...props
17
- }: InlineComboboxProps<TValue, Required>): react_jsx_runtime366.JSX.Element;
17
+ }: InlineComboboxProps<TValue, Required>): react_jsx_runtime198.JSX.Element;
18
18
  //#endregion
19
19
  export { InlineCombobox, InlineComboboxProps };
20
20
  //# sourceMappingURL=combobox.client.d.mts.map
@@ -1,6 +1,6 @@
1
1
  import { useInlineEditOptions } from "../hooks/use-inline.client.mjs";
2
2
  import { InlineEditVariantsProps } from "../lib/variants.mjs";
3
- import * as react_jsx_runtime367 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime199 from "react/jsx-runtime";
4
4
  import { ComponentProps } from "react";
5
5
 
6
6
  //#region src/modules/inline-edit/components/date-input.client.d.ts
@@ -13,7 +13,7 @@ declare function InlineDateInput<Required extends boolean = false>({
13
13
  updateStrategy,
14
14
  isRequired,
15
15
  ...props
16
- }: ComponentProps<"div"> & useInlineEditOptions<Date, Required> & InlineEditVariantsProps): react_jsx_runtime367.JSX.Element;
16
+ }: ComponentProps<"div"> & useInlineEditOptions<Date, Required> & InlineEditVariantsProps): react_jsx_runtime199.JSX.Element;
17
17
  //#endregion
18
18
  export { InlineDateInput };
19
19
  //# sourceMappingURL=date-input.client.d.mts.map
@@ -2,9 +2,9 @@
2
2
 
3
3
  import { cn } from "../../../lib/utils/cn.mjs";
4
4
  import { Button } from "../../../components/ui/button.mjs";
5
+ import { Popover, PopoverContent, PopoverTrigger } from "../../../components/ui/popover.mjs";
5
6
  import { Input } from "../../../components/ui/input.mjs";
6
7
  import { Calendar as Calendar$1 } from "../../../components/ui/calendar.mjs";
7
- import { Popover, PopoverContent, PopoverTrigger } from "../../../components/ui/popover.mjs";
8
8
  import { useInlineEdit } from "../hooks/use-inline.client.mjs";
9
9
  import { inlineEditVariants } from "../lib/variants.mjs";
10
10
  import { CalendarIcon } from "lucide-react";
@@ -1,7 +1,7 @@
1
1
  import { Button } from "../../../components/ui/button.mjs";
2
2
  import { useInlineEditOptions } from "../hooks/use-inline.client.mjs";
3
3
  import { InlineEditVariantsProps } from "../lib/variants.mjs";
4
- import * as react_jsx_runtime368 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime200 from "react/jsx-runtime";
5
5
  import { ComponentProps } from "react";
6
6
 
7
7
  //#region src/modules/inline-edit/components/date-picker.client.d.ts
@@ -16,7 +16,7 @@ declare function InlineDatePicker<Required extends boolean = false>({
16
16
  updateStrategy,
17
17
  isRequired,
18
18
  ...props
19
- }: InlineEditDatePickerProps<Required>): react_jsx_runtime368.JSX.Element;
19
+ }: InlineEditDatePickerProps<Required>): react_jsx_runtime200.JSX.Element;
20
20
  //#endregion
21
21
  export { InlineDatePicker };
22
22
  //# sourceMappingURL=date-picker.client.d.mts.map
@@ -3,8 +3,8 @@
3
3
  import { cn } from "../../../lib/utils/cn.mjs";
4
4
  import { Button } from "../../../components/ui/button.mjs";
5
5
  import { formatDate } from "../../../lib/utils/format.mjs";
6
- import { Calendar as Calendar$1 } from "../../../components/ui/calendar.mjs";
7
6
  import { Popover, PopoverContent, PopoverTrigger } from "../../../components/ui/popover.mjs";
7
+ import { Calendar as Calendar$1 } from "../../../components/ui/calendar.mjs";
8
8
  import { useInlineEdit } from "../hooks/use-inline.client.mjs";
9
9
  import { inlineEditVariants } from "../lib/variants.mjs";
10
10
  import { CalendarIcon } from "lucide-react";
@@ -2,7 +2,7 @@ import { EditorJSONContent } from "../../../components/editor/lib/types.mjs";
2
2
  import { EditorProps } from "../../../components/editor/components/editor.client.mjs";
3
3
  import { useInlineEditOptions } from "../hooks/use-inline.client.mjs";
4
4
  import { InlineEditVariantsProps } from "../lib/variants.mjs";
5
- import * as react_jsx_runtime369 from "react/jsx-runtime";
5
+ import * as react_jsx_runtime201 from "react/jsx-runtime";
6
6
 
7
7
  //#region src/modules/inline-edit/components/editor.client.d.ts
8
8
  type InlineEditorProps<Required extends boolean = false> = useInlineEditOptions<EditorJSONContent, Required> & InlineEditVariantsProps & Omit<EditorProps, "value" | "onUpdate" | "onBlur" | "variant">;
@@ -17,7 +17,7 @@ declare function InlineEditor<Required extends boolean = false>({
17
17
  isRequired,
18
18
  className,
19
19
  children
20
- }: InlineEditorProps<Required>): react_jsx_runtime369.JSX.Element;
20
+ }: InlineEditorProps<Required>): react_jsx_runtime201.JSX.Element;
21
21
  //#endregion
22
22
  export { InlineEditor, InlineEditorProps };
23
23
  //# sourceMappingURL=editor.client.d.mts.map