@tulip-systems/core 0.5.14 → 0.5.16

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 (355) hide show
  1. package/dist/auth/client.d.mts +5 -4
  2. package/dist/auth/client.mjs +6 -5
  3. package/dist/auth.mjs +2 -2
  4. package/dist/components/client.d.mts +1 -3
  5. package/dist/components/client.mjs +3 -5
  6. package/dist/components/common/icons.d.mts +52 -52
  7. package/dist/components/common/icons.d.mts.map +1 -1
  8. package/dist/components/common/status.d.mts +3 -3
  9. package/dist/components/editor/components/content.client.d.mts +2 -2
  10. package/dist/components/editor/components/content.client.d.mts.map +1 -1
  11. package/dist/components/editor/components/editor.client.d.mts +6 -6
  12. package/dist/components/editor/components/editor.client.d.mts.map +1 -1
  13. package/dist/components/editor/components/menu.client.d.mts +3 -3
  14. package/dist/components/editor/components/menu.client.d.mts.map +1 -1
  15. package/dist/components/editor/lib/constants.d.mts +27 -27
  16. package/dist/components/header/back-button.client.d.mts +2 -2
  17. package/dist/components/header/back-button.client.d.mts.map +1 -1
  18. package/dist/components/header/bottom-bar.client.d.mts +3 -3
  19. package/dist/components/header/bottom-bar.client.d.mts.map +1 -1
  20. package/dist/components/header/breadcrumbs.client.d.mts +7 -7
  21. package/dist/components/header/breadcrumbs.client.d.mts.map +1 -1
  22. package/dist/components/header/header.client.d.mts +2 -2
  23. package/dist/components/header/header.client.d.mts.map +1 -1
  24. package/dist/components/header/mobile-nav-switcher.client.d.mts +2 -2
  25. package/dist/components/header/mobile-nav-switcher.client.d.mts.map +1 -1
  26. package/dist/components/header/top-bar.client.d.mts +4 -4
  27. package/dist/components/header/top-bar.client.d.mts.map +1 -1
  28. package/dist/components/layouts/admin-content.client.d.mts +2 -2
  29. package/dist/components/layouts/admin-content.client.d.mts.map +1 -1
  30. package/dist/components/layouts/admin-error-pages.d.mts +4 -4
  31. package/dist/components/layouts/admin-layout.d.mts +2 -2
  32. package/dist/components/layouts/admin-layout.d.mts.map +1 -1
  33. package/dist/components/layouts/admin-layout.mjs +1 -1
  34. package/dist/components/layouts/admin-layout.mjs.map +1 -1
  35. package/dist/components/layouts/admin-loading.d.mts +2 -2
  36. package/dist/components/layouts/empty-page.d.mts +4 -4
  37. package/dist/components/layouts/error-page.d.mts +9 -9
  38. package/dist/components/layouts/error-page.d.mts.map +1 -1
  39. package/dist/components/layouts/error-sections.d.mts +5 -5
  40. package/dist/components/layouts/list-layout.d.mts +2 -2
  41. package/dist/components/layouts/providers.client.d.mts +2 -2
  42. package/dist/components/layouts/providers.client.d.mts.map +1 -1
  43. package/dist/components/layouts/root-error-pages.d.mts +2 -2
  44. package/dist/components/layouts/root-layout.server.d.mts +4 -4
  45. package/dist/components/layouts/root-layout.server.d.mts.map +1 -1
  46. package/dist/components/layouts/root-loading.d.mts +2 -2
  47. package/dist/components/layouts/tab-layout.d.mts +2 -2
  48. package/dist/components/lists/data-list.d.mts +5 -5
  49. package/dist/components/lists/data-stack.d.mts +8 -8
  50. package/dist/components/navigation/admin-sidebar-header.client.mjs +3 -2
  51. package/dist/components/navigation/admin-sidebar-header.client.mjs.map +1 -1
  52. package/dist/components/navigation/admin-sidebar-paths.client.d.mts +10 -10
  53. package/dist/components/navigation/admin-sidebar-paths.client.d.mts.map +1 -1
  54. package/dist/components/ui/accordion.d.mts +5 -5
  55. package/dist/components/ui/alert-dialog.d.mts +12 -12
  56. package/dist/components/ui/alert.d.mts +6 -6
  57. package/dist/components/ui/aspect-ratio.d.mts +2 -2
  58. package/dist/components/ui/avatar.client.d.mts +4 -4
  59. package/dist/components/ui/avatar.client.d.mts.map +1 -1
  60. package/dist/components/ui/badge.d.mts +5 -5
  61. package/dist/components/ui/breadcrumb.d.mts +8 -8
  62. package/dist/components/ui/button.d.mts +5 -5
  63. package/dist/components/ui/calendar.d.mts +3 -3
  64. package/dist/components/ui/card.d.mts +7 -7
  65. package/dist/components/ui/carousel.d.mts +6 -6
  66. package/dist/components/ui/chart.client.d.mts +5 -5
  67. package/dist/components/ui/chart.client.d.mts.map +1 -1
  68. package/dist/components/ui/checkbox.d.mts +2 -2
  69. package/dist/components/ui/collapsible.client.d.mts +4 -4
  70. package/dist/components/ui/collapsible.client.d.mts.map +1 -1
  71. package/dist/components/ui/color-picker.client.d.mts +2 -2
  72. package/dist/components/ui/color-picker.client.d.mts.map +1 -1
  73. package/dist/components/ui/combobox-dropdown.client.d.mts +2 -2
  74. package/dist/components/ui/combobox-dropdown.client.d.mts.map +1 -1
  75. package/dist/components/ui/combobox.client.d.mts +2 -2
  76. package/dist/components/ui/combobox.client.d.mts.map +1 -1
  77. package/dist/components/ui/command.d.mts +10 -10
  78. package/dist/components/ui/context-menu.d.mts +16 -16
  79. package/dist/components/ui/date-picker.client.d.mts +2 -2
  80. package/dist/components/ui/date-picker.client.d.mts.map +1 -1
  81. package/dist/components/ui/dialog.client.d.mts +11 -11
  82. package/dist/components/ui/dialog.client.d.mts.map +1 -1
  83. package/dist/components/ui/drawer.client.d.mts +11 -11
  84. package/dist/components/ui/drawer.client.d.mts.map +1 -1
  85. package/dist/components/ui/dropdown-menu.d.mts +16 -16
  86. package/dist/components/ui/form.client.d.mts +7 -7
  87. package/dist/components/ui/form.client.d.mts.map +1 -1
  88. package/dist/components/ui/hover-card.client.d.mts +4 -4
  89. package/dist/components/ui/hover-card.client.d.mts.map +1 -1
  90. package/dist/components/ui/input-date-time.d.mts +23 -0
  91. package/dist/components/ui/input-date-time.d.mts.map +1 -0
  92. package/dist/components/ui/input-date-time.mjs +34 -0
  93. package/dist/components/ui/input-date-time.mjs.map +1 -0
  94. package/dist/components/ui/input-date.d.mts +14 -0
  95. package/dist/components/ui/input-date.d.mts.map +1 -0
  96. package/dist/components/ui/input-date.mjs +16 -0
  97. package/dist/components/ui/input-date.mjs.map +1 -0
  98. package/dist/components/ui/input-recipient.d.mts +2 -2
  99. package/dist/components/ui/input-time.d.mts +14 -0
  100. package/dist/components/ui/input-time.d.mts.map +1 -0
  101. package/dist/components/ui/input-time.mjs +16 -0
  102. package/dist/components/ui/input-time.mjs.map +1 -0
  103. package/dist/components/ui/input.d.mts +2 -2
  104. package/dist/components/ui/label.d.mts +2 -2
  105. package/dist/components/ui/navigation-menu.d.mts +11 -11
  106. package/dist/components/ui/pagination.d.mts +8 -8
  107. package/dist/components/ui/popover.d.mts +5 -5
  108. package/dist/components/ui/progress.client.d.mts +2 -2
  109. package/dist/components/ui/progress.client.d.mts.map +1 -1
  110. package/dist/components/ui/radio-group.d.mts +3 -3
  111. package/dist/components/ui/resizable.client.d.mts +4 -4
  112. package/dist/components/ui/resizable.client.d.mts.map +1 -1
  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/select.client.d.mts.map +1 -1
  116. package/dist/components/ui/separator.d.mts +2 -2
  117. package/dist/components/ui/sheet.client.d.mts +9 -9
  118. package/dist/components/ui/sheet.client.d.mts.map +1 -1
  119. package/dist/components/ui/sidebar.client.d.mts +26 -26
  120. package/dist/components/ui/sidebar.client.d.mts.map +1 -1
  121. package/dist/components/ui/skeleton.d.mts +2 -2
  122. package/dist/components/ui/slider.d.mts +2 -2
  123. package/dist/components/ui/sonner.client.d.mts +2 -2
  124. package/dist/components/ui/sonner.client.mjs +1 -1
  125. package/dist/components/ui/switch.d.mts +2 -2
  126. package/dist/components/ui/tabs.d.mts +5 -5
  127. package/dist/components/ui/textarea.d.mts +2 -2
  128. package/dist/components/ui/toggle-group.client.d.mts +3 -3
  129. package/dist/components/ui/toggle.d.mts +4 -4
  130. package/dist/components/ui/tooltip.client.d.mts +5 -5
  131. package/dist/components.d.mts +4 -1
  132. package/dist/components.mjs +6 -3
  133. package/dist/inline-edit/client.d.mts +3 -1
  134. package/dist/inline-edit/client.mjs +3 -1
  135. package/dist/lib/client.mjs +1 -1
  136. package/dist/lib/hooks/use-indicator.d.mts +2 -2
  137. package/dist/lib/hooks/use-indicator.d.mts.map +1 -1
  138. package/dist/modules/auth/components/allowed.client.d.mts +2 -2
  139. package/dist/modules/auth/components/allowed.client.d.mts.map +1 -1
  140. package/dist/modules/auth/components/allowed.client.mjs +2 -3
  141. package/dist/modules/auth/components/allowed.client.mjs.map +1 -1
  142. package/dist/modules/auth/components/auth-layout.server.d.mts +2 -2
  143. package/dist/modules/auth/components/auth-layout.server.d.mts.map +1 -1
  144. package/dist/modules/auth/components/auth-loading.d.mts +2 -2
  145. package/dist/modules/auth/components/auth-loading.d.mts.map +1 -1
  146. package/dist/modules/auth/components/create-first-user-page.client.d.mts +2 -2
  147. package/dist/modules/auth/components/create-first-user-page.client.d.mts.map +1 -1
  148. package/dist/modules/auth/components/create-first-user-page.client.mjs +4 -3
  149. package/dist/modules/auth/components/create-first-user-page.client.mjs.map +1 -1
  150. package/dist/modules/auth/components/forget-password-page.client.d.mts +2 -2
  151. package/dist/modules/auth/components/forget-password-page.client.d.mts.map +1 -1
  152. package/dist/modules/auth/components/forget-password-page.client.mjs +4 -3
  153. package/dist/modules/auth/components/forget-password-page.client.mjs.map +1 -1
  154. package/dist/modules/auth/components/guard-first-user.server.d.mts +2 -2
  155. package/dist/modules/auth/components/guard-first-user.server.d.mts.map +1 -1
  156. package/dist/modules/auth/components/guard.server.d.mts +3 -2
  157. package/dist/modules/auth/components/guard.server.d.mts.map +1 -1
  158. package/dist/modules/auth/components/guard.server.mjs +1 -0
  159. package/dist/modules/auth/components/guard.server.mjs.map +1 -1
  160. package/dist/modules/auth/components/login-page.client.d.mts +2 -2
  161. package/dist/modules/auth/components/login-page.client.d.mts.map +1 -1
  162. package/dist/modules/auth/components/login-page.client.mjs +4 -3
  163. package/dist/modules/auth/components/login-page.client.mjs.map +1 -1
  164. package/dist/modules/auth/components/reset-password-page.client.d.mts +2 -2
  165. package/dist/modules/auth/components/reset-password-page.client.d.mts.map +1 -1
  166. package/dist/modules/auth/components/reset-password-page.client.mjs +4 -3
  167. package/dist/modules/auth/components/reset-password-page.client.mjs.map +1 -1
  168. package/dist/modules/auth/components/update-password-command.d.mts +2 -2
  169. package/dist/modules/auth/components/update-password-command.d.mts.map +1 -1
  170. package/dist/modules/auth/components/update-password-command.mjs +1 -1
  171. package/dist/modules/auth/db/schema.d.mts +73 -73
  172. package/dist/modules/auth/db/schema.d.mts.map +1 -1
  173. package/dist/modules/auth/handler/{client.client.d.mts → create-client.client.d.mts} +328 -188
  174. package/dist/modules/auth/handler/create-client.client.d.mts.map +1 -0
  175. package/dist/modules/auth/handler/create-client.client.mjs +26 -0
  176. package/dist/modules/auth/handler/create-client.client.mjs.map +1 -0
  177. package/dist/modules/auth/handler/init.d.mts +116 -130
  178. package/dist/modules/auth/handler/init.d.mts.map +1 -1
  179. package/dist/modules/auth/hooks/use-auth-client.d.mts +24 -0
  180. package/dist/modules/auth/hooks/use-auth-client.d.mts.map +1 -0
  181. package/dist/modules/auth/hooks/use-auth-client.mjs +31 -0
  182. package/dist/modules/auth/hooks/use-auth-client.mjs.map +1 -0
  183. package/dist/modules/auth/hooks/use-permission.d.mts +8 -35
  184. package/dist/modules/auth/hooks/use-permission.d.mts.map +1 -1
  185. package/dist/modules/auth/hooks/use-permission.mjs +47 -93
  186. package/dist/modules/auth/hooks/use-permission.mjs.map +1 -1
  187. package/dist/modules/auth/hooks/use-session.d.mts +5 -119
  188. package/dist/modules/auth/hooks/use-session.d.mts.map +1 -1
  189. package/dist/modules/auth/hooks/use-session.mjs +15 -17
  190. package/dist/modules/auth/hooks/use-session.mjs.map +1 -1
  191. package/dist/modules/auth/lib/helpers.server.d.mts +2 -2
  192. package/dist/modules/auth/lib/helpers.server.d.mts.map +1 -1
  193. package/dist/modules/auth/lib/helpers.server.mjs +1 -1
  194. package/dist/modules/auth/lib/validators.d.mts +2 -2
  195. package/dist/modules/auth/lib/validators.d.mts.map +1 -1
  196. package/dist/modules/commands/components/alert-dialog-command.client.d.mts +11 -11
  197. package/dist/modules/commands/components/alert-dialog-command.client.d.mts.map +1 -1
  198. package/dist/modules/commands/components/click-command.client.d.mts +2 -2
  199. package/dist/modules/commands/components/click-command.client.d.mts.map +1 -1
  200. package/dist/modules/commands/components/command-trigger.client.d.mts +6 -6
  201. package/dist/modules/commands/components/command-trigger.client.d.mts.map +1 -1
  202. package/dist/modules/commands/components/dialog-command.client.d.mts +8 -8
  203. package/dist/modules/commands/components/dialog-command.client.d.mts.map +1 -1
  204. package/dist/modules/commands/components/dropdown-command.client.d.mts +5 -5
  205. package/dist/modules/commands/components/dropdown-command.client.d.mts.map +1 -1
  206. package/dist/modules/commands/components/empty-command.client.d.mts +2 -2
  207. package/dist/modules/commands/components/empty-command.client.d.mts.map +1 -1
  208. package/dist/modules/commands/components/form-dialog-command.client.d.mts +12 -12
  209. package/dist/modules/commands/components/form-dialog-command.client.d.mts.map +1 -1
  210. package/dist/modules/commands/hooks/use-command-menu.client.mjs.map +1 -1
  211. package/dist/modules/commands/hooks/use-command-mutation.client.d.mts +2 -2
  212. package/dist/modules/commands/hooks/use-command-mutation.client.mjs +1 -1
  213. package/dist/modules/commands/menus/context-menu.client.d.mts +2 -2
  214. package/dist/modules/commands/menus/context-menu.client.d.mts.map +1 -1
  215. package/dist/modules/commands/menus/dropdown-menu.client.d.mts +3 -3
  216. package/dist/modules/commands/menus/dropdown-menu.client.d.mts.map +1 -1
  217. package/dist/modules/commands/menus/inline-menu.client.d.mts +3 -3
  218. package/dist/modules/commands/menus/inline-menu.client.d.mts.map +1 -1
  219. package/dist/modules/commands/menus/responsive-menu.client.d.mts +3 -3
  220. package/dist/modules/commands/menus/responsive-menu.client.d.mts.map +1 -1
  221. package/dist/modules/commands/utils/archive-command.client.d.mts +3 -3
  222. package/dist/modules/commands/utils/archive-command.client.d.mts.map +1 -1
  223. package/dist/modules/commands/utils/delete-command.client.d.mts +3 -3
  224. package/dist/modules/commands/utils/delete-command.client.d.mts.map +1 -1
  225. package/dist/modules/config/db/helpers.d.mts +5 -5
  226. package/dist/modules/config/db/helpers.d.mts.map +1 -1
  227. package/dist/modules/config/lib/config.d.mts +1 -1
  228. package/dist/modules/config/lib/config.mjs.map +1 -1
  229. package/dist/modules/data-tables/components/cell/common.client.d.mts +5 -5
  230. package/dist/modules/data-tables/components/cell/common.client.d.mts.map +1 -1
  231. package/dist/modules/data-tables/components/column-header.d.mts +2 -2
  232. package/dist/modules/data-tables/components/column-header.d.mts.map +1 -1
  233. package/dist/modules/data-tables/components/filters/combobox.client.d.mts +2 -2
  234. package/dist/modules/data-tables/components/filters/slider.client.d.mts +2 -2
  235. package/dist/modules/data-tables/components/header.d.mts +4 -4
  236. package/dist/modules/data-tables/components/header.d.mts.map +1 -1
  237. package/dist/modules/data-tables/components/layout.d.mts +2 -2
  238. package/dist/modules/data-tables/components/layout.d.mts.map +1 -1
  239. package/dist/modules/data-tables/components/search-input.client.d.mts +2 -2
  240. package/dist/modules/data-tables/components/skeleton.d.mts +2 -2
  241. package/dist/modules/data-tables/components/skeleton.d.mts.map +1 -1
  242. package/dist/modules/data-tables/components/table.d.mts +7 -7
  243. package/dist/modules/data-tables/components/table.d.mts.map +1 -1
  244. package/dist/modules/data-tables/components/toolbar.d.mts +3 -3
  245. package/dist/modules/data-tables/components/toolbar.d.mts.map +1 -1
  246. package/dist/modules/data-tables/hooks/use-context.client.d.mts +2 -2
  247. package/dist/modules/data-tables/strategies/helpers/sorting.mjs +1 -1
  248. package/dist/modules/data-tables/tables/data-table/components/table.d.mts +2 -2
  249. package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts +2 -2
  250. package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts +2 -2
  251. package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.d.mts +2 -2
  252. package/dist/modules/data-tables/tables/inline-table/components/table.d.mts +2 -2
  253. package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts +2 -2
  254. package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts +2 -2
  255. package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts.map +1 -1
  256. package/dist/modules/inline-edit/components/combobox.client.d.mts +2 -2
  257. package/dist/modules/inline-edit/components/combobox.client.d.mts.map +1 -1
  258. package/dist/modules/inline-edit/components/date-input.client.d.mts +2 -2
  259. package/dist/modules/inline-edit/components/date-input.client.d.mts.map +1 -1
  260. package/dist/modules/inline-edit/components/date-picker.client.d.mts +2 -2
  261. package/dist/modules/inline-edit/components/date-picker.client.d.mts.map +1 -1
  262. package/dist/modules/inline-edit/components/date-time.client.d.mts +21 -0
  263. package/dist/modules/inline-edit/components/date-time.client.d.mts.map +1 -0
  264. package/dist/modules/inline-edit/components/date-time.client.mjs +33 -0
  265. package/dist/modules/inline-edit/components/date-time.client.mjs.map +1 -0
  266. package/dist/modules/inline-edit/components/editor.client.d.mts +2 -2
  267. package/dist/modules/inline-edit/components/editor.client.d.mts.map +1 -1
  268. package/dist/modules/inline-edit/components/input-recipient.client.d.mts +2 -2
  269. package/dist/modules/inline-edit/components/input-recipient.client.d.mts.map +1 -1
  270. package/dist/modules/inline-edit/components/input-toggle.client.d.mts +2 -2
  271. package/dist/modules/inline-edit/components/input-toggle.client.d.mts.map +1 -1
  272. package/dist/modules/inline-edit/components/input.client.d.mts +4 -4
  273. package/dist/modules/inline-edit/components/input.client.d.mts.map +1 -1
  274. package/dist/modules/inline-edit/components/select.client.d.mts +6 -6
  275. package/dist/modules/inline-edit/components/select.client.d.mts.map +1 -1
  276. package/dist/modules/inline-edit/components/switch.client.d.mts +2 -2
  277. package/dist/modules/inline-edit/components/switch.client.d.mts.map +1 -1
  278. package/dist/modules/inline-edit/components/toggle.client.d.mts +2 -2
  279. package/dist/modules/inline-edit/components/toggle.client.d.mts.map +1 -1
  280. package/dist/modules/inline-edit/hooks/context.client.d.mts +2 -2
  281. package/dist/modules/inline-edit/hooks/context.client.d.mts.map +1 -1
  282. package/dist/modules/inline-edit/hooks/use-inline.client.d.mts +15 -2
  283. package/dist/modules/inline-edit/hooks/use-inline.client.d.mts.map +1 -1
  284. package/dist/modules/inline-edit/hooks/use-inline.client.mjs +2 -6
  285. package/dist/modules/inline-edit/hooks/use-inline.client.mjs.map +1 -1
  286. package/dist/modules/router/handler/init.server.d.mts +6 -6
  287. package/dist/modules/router/handler/init.server.d.mts.map +1 -1
  288. package/dist/modules/router/lib/query-client.server.d.mts +2 -2
  289. package/dist/modules/router/lib/query-client.server.d.mts.map +1 -1
  290. package/dist/modules/storage/components/dropzone-context.client.d.mts +2 -2
  291. package/dist/modules/storage/components/dropzone-context.client.d.mts.map +1 -1
  292. package/dist/modules/storage/components/dropzone.client.d.mts +5 -5
  293. package/dist/modules/storage/components/dropzone.client.d.mts.map +1 -1
  294. package/dist/modules/storage/components/image-grid.client.d.mts +3 -3
  295. package/dist/modules/storage/components/image-grid.client.d.mts.map +1 -1
  296. package/dist/modules/storage/components/image-grid.client.mjs +1 -1
  297. package/dist/modules/storage/components/upload-zone.client.d.mts +2 -2
  298. package/dist/modules/storage/components/upload-zone.client.d.mts.map +1 -1
  299. package/dist/modules/storage/components/upload-zone.client.mjs +1 -1
  300. package/dist/modules/storage/lib/create-upload.client.d.mts.map +1 -1
  301. package/dist/modules/storage/lib/proxy.server.mjs +1 -1
  302. package/dist/modules/storage/lib/router.server.d.mts +2359 -2359
  303. package/dist/modules/storage/lib/router.server.d.mts.map +1 -1
  304. package/dist/modules/storage/lib/router.server.mjs +1 -1
  305. package/dist/modules/storage/lib/schema.d.mts +92 -92
  306. package/dist/modules/storage/lib/service.server.d.mts +24 -24
  307. package/dist/modules/storage/lib/service.server.mjs +1 -1
  308. package/dist/modules/storage/lib/validators.d.mts +90 -90
  309. package/dist/modules/storage/lib/validators.d.mts.map +1 -1
  310. package/package.json +3 -10
  311. package/src/components/entry.client.ts +0 -2
  312. package/src/components/entry.ts +3 -0
  313. package/src/components/layouts/admin-layout.tsx +1 -3
  314. package/src/components/navigation/admin-sidebar-header.client.tsx +3 -20
  315. package/src/components/ui/input-date-time.tsx +58 -0
  316. package/src/components/ui/input-date.tsx +20 -0
  317. package/src/components/ui/input-time.tsx +20 -0
  318. package/src/modules/auth/components/allowed.client.tsx +2 -2
  319. package/src/modules/auth/components/create-first-user-page.client.tsx +3 -2
  320. package/src/modules/auth/components/forget-password-page.client.tsx +2 -1
  321. package/src/modules/auth/components/guard.server.tsx +2 -0
  322. package/src/modules/auth/components/login-page.client.tsx +2 -1
  323. package/src/modules/auth/components/reset-password-page.client.tsx +3 -1
  324. package/src/modules/auth/entry.client.ts +13 -1
  325. package/src/modules/auth/entry.ts +11 -0
  326. package/src/modules/auth/handler/create-client.client.ts +53 -0
  327. package/src/modules/auth/hooks/use-auth-client.tsx +38 -0
  328. package/src/modules/auth/hooks/use-permission.ts +49 -94
  329. package/src/modules/auth/hooks/use-session.ts +16 -16
  330. package/src/modules/commands/hooks/use-command-menu.client.tsx +0 -6
  331. package/src/modules/config/lib/config.ts +3 -2
  332. package/src/modules/inline-edit/components/date-time.client.tsx +38 -0
  333. package/src/modules/inline-edit/entry.client.ts +9 -0
  334. package/src/modules/inline-edit/entry.server.ts +3 -0
  335. package/src/modules/inline-edit/entry.ts +3 -0
  336. package/src/modules/inline-edit/hooks/use-inline.client.tsx +1 -1
  337. package/dist/components/ui/time-input.client.d.mts +0 -16
  338. package/dist/components/ui/time-input.client.d.mts.map +0 -1
  339. package/dist/components/ui/time-input.client.mjs +0 -53
  340. package/dist/components/ui/time-input.client.mjs.map +0 -1
  341. package/dist/components/ui/time-picker-input.client.d.mts +0 -15
  342. package/dist/components/ui/time-picker-input.client.d.mts.map +0 -1
  343. package/dist/components/ui/time-picker-input.client.mjs +0 -64
  344. package/dist/components/ui/time-picker-input.client.mjs.map +0 -1
  345. package/dist/lib/utils/time-picker.d.mts +0 -6
  346. package/dist/lib/utils/time-picker.d.mts.map +0 -1
  347. package/dist/lib/utils/time-picker.mjs +0 -104
  348. package/dist/lib/utils/time-picker.mjs.map +0 -1
  349. package/dist/modules/auth/handler/client.client.d.mts.map +0 -1
  350. package/dist/modules/auth/handler/client.client.mjs +0 -21
  351. package/dist/modules/auth/handler/client.client.mjs.map +0 -1
  352. package/src/components/ui/time-input.client.tsx +0 -56
  353. package/src/components/ui/time-picker-input.client.tsx +0 -107
  354. package/src/modules/auth/components/guard.client.tsx +0 -12
  355. package/src/modules/auth/handler/client.client.ts +0 -16
@@ -1 +1 @@
1
- {"version":3,"file":"top-bar.client.d.mts","names":[],"sources":["../../../src/components/header/top-bar.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAsBY,KAAA,WAAA,GAAW;EAIP,QAAA,EAHJ,KAAA,CAAM,SAGI;CAAG;AAAY,iBAArB,MAAA,CAAqB;EAAA;AAAA,CAAA,EAAA,WAAA,CAAA,EAAW,mBAAA,CAAA,GAAA,CAAA,OAAX;;;AAarC;AAAoD,KAAxC,gBAAA,GAAmB,KAAA,CAAM,cAAe,CAAA,WAAA,CAAA,GAAA;EAArB,SAAM,CAAA,EAAA,OAAA;EAE3B,KAAM,CAAA,EAAN,KAAA,CAAM,SAAA;EACD,WAAA,EAAA,gBAAA,EAAA;CAAgB;AAGf,iBAAA,WAAA,CAAW;EAAA,WAAA;EAAA,KAAA;EAAA,SAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAMxB,gBANwB,CAAA,EAMR,mBAAA,CAAA,GAAA,CAAA,OANQ;;;;AAIzB,KAuEU,gBAAA,GAAmB,KAAA,CAAM,cAvEnC,CAuEkD,WAvElD,CAAA,GAAA;EAEC,QAAA,EAsES,KAAA,CAAM,SAtEf;CAAgB;AAAA,iBAyEH,WAAA,CAzEG;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyE4C,gBAzE5C,CAAA,EAyE4D,mBAAA,CAAA,GAAA,CAAA,OAzE5D"}
1
+ {"version":3,"file":"top-bar.client.d.mts","names":[],"sources":["../../../src/components/header/top-bar.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAsBY,KAAA,WAAA,GAAW;EAIP,QAAA,EAHJ,KAAA,CAAM,SAGI;CAAG;AAAY,iBAArB,MAAA,CAAqB;EAAA;AAAA,CAAA,EAAA,WAAA,CAAA,EAAW,oBAAA,CAAA,GAAA,CAAA,OAAX;;;AAarC;AAAoD,KAAxC,gBAAA,GAAmB,KAAA,CAAM,cAAe,CAAA,WAAA,CAAA,GAAA;EAArB,SAAM,CAAA,EAAA,OAAA;EAE3B,KAAM,CAAA,EAAN,KAAA,CAAM,SAAA;EACD,WAAA,EAAA,gBAAA,EAAA;CAAgB;AAGf,iBAAA,WAAA,CAAW;EAAA,WAAA;EAAA,KAAA;EAAA,SAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAMxB,gBANwB,CAAA,EAMR,oBAAA,CAAA,GAAA,CAAA,OANQ;;;;AAIzB,KAuEU,gBAAA,GAAmB,KAAA,CAAM,cAvEnC,CAuEkD,WAvElD,CAAA,GAAA;EAEC,QAAA,EAsES,KAAA,CAAM,SAtEf;CAAgB;AAAA,iBAyEH,WAAA,CAzEG;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyE4C,gBAzE5C,CAAA,EAyE4D,oBAAA,CAAA,GAAA,CAAA,OAzE5D"}
@@ -1,5 +1,5 @@
1
1
  import { ScrollArea } from "../ui/scroll-area.mjs";
2
- import * as react_jsx_runtime19 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime285 from "react/jsx-runtime";
3
3
  import { ComponentProps } from "react";
4
4
 
5
5
  //#region src/components/layouts/admin-content.client.d.ts
@@ -7,7 +7,7 @@ declare function AdminContent({
7
7
  children,
8
8
  className,
9
9
  ...props
10
- }: ComponentProps<typeof ScrollArea>): react_jsx_runtime19.JSX.Element;
10
+ }: ComponentProps<typeof ScrollArea>): react_jsx_runtime285.JSX.Element;
11
11
  //#endregion
12
12
  export { AdminContent };
13
13
  //# sourceMappingURL=admin-content.client.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"admin-content.client.d.mts","names":[],"sources":["../../../src/components/layouts/admin-content.client.tsx"],"sourcesContent":[],"mappings":";;;;;iBAOgB,YAAA;;;;GAAgD,sBAAsB,cAAW,mBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"admin-content.client.d.mts","names":[],"sources":["../../../src/components/layouts/admin-content.client.tsx"],"sourcesContent":[],"mappings":";;;;;iBAOgB,YAAA;;;;GAAgD,sBAAsB,cAAW,oBAAA,CAAA,GAAA,CAAA"}
@@ -1,14 +1,14 @@
1
- import * as react_jsx_runtime129 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime114 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/layouts/admin-error-pages.d.ts
4
4
  /**
5
5
  * Admin Not Found Page
6
6
  */
7
- declare function AdminNotFoundPage(): react_jsx_runtime129.JSX.Element;
7
+ declare function AdminNotFoundPage(): react_jsx_runtime114.JSX.Element;
8
8
  /**
9
9
  * Admin Not Allowed Page
10
10
  */
11
- declare function AdminNotAllowedPage(): react_jsx_runtime129.JSX.Element;
11
+ declare function AdminNotAllowedPage(): react_jsx_runtime114.JSX.Element;
12
12
  /**
13
13
  * ErrorPage
14
14
  * - If the error is a ServerError and the code is "UNAUTHORIZED", show the NotAllowedPage
@@ -17,7 +17,7 @@ declare function AdminNotAllowedPage(): react_jsx_runtime129.JSX.Element;
17
17
  */
18
18
  declare function AdminErrorPage(props: {
19
19
  error: Error;
20
- }): react_jsx_runtime129.JSX.Element;
20
+ }): react_jsx_runtime114.JSX.Element;
21
21
  //#endregion
22
22
  export { AdminErrorPage, AdminNotAllowedPage, AdminNotFoundPage };
23
23
  //# sourceMappingURL=admin-error-pages.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react_jsx_runtime0 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime388 from "react/jsx-runtime";
2
2
  import { PropsWithChildren } from "react";
3
3
 
4
4
  //#region src/components/layouts/admin-layout.d.ts
5
- declare function AdminLayout(props: PropsWithChildren): react_jsx_runtime0.JSX.Element;
5
+ declare function AdminLayout(props: PropsWithChildren): react_jsx_runtime388.JSX.Element;
6
6
  //#endregion
7
7
  export { AdminLayout };
8
8
  //# sourceMappingURL=admin-layout.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"admin-layout.d.mts","names":[],"sources":["../../../src/components/layouts/admin-layout.tsx"],"sourcesContent":[],"mappings":";;;;iBAGgB,WAAA,QAAmB,oBAAiB,kBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"admin-layout.d.mts","names":[],"sources":["../../../src/components/layouts/admin-layout.tsx"],"sourcesContent":[],"mappings":";;;;iBAGgB,WAAA,QAAmB,oBAAiB,oBAAA,CAAA,GAAA,CAAA"}
@@ -4,7 +4,7 @@ import { jsx } from "react/jsx-runtime";
4
4
  //#region src/components/layouts/admin-layout.tsx
5
5
  function AdminLayout(props) {
6
6
  return /* @__PURE__ */ jsx(SidebarProvider, {
7
- className: "max-h-[100dvh] overflow-hidden border",
7
+ className: "max-h-dvh overflow-hidden border",
8
8
  children: props.children
9
9
  });
10
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"admin-layout.mjs","names":[],"sources":["../../../src/components/layouts/admin-layout.tsx"],"sourcesContent":["import { PropsWithChildren } from \"react\";\nimport { SidebarProvider } from \"../ui/sidebar.client\";\n\nexport function AdminLayout(props: PropsWithChildren) {\n return (\n <SidebarProvider className=\"max-h-[100dvh] overflow-hidden border\">\n {props.children}\n </SidebarProvider>\n );\n}\n"],"mappings":";;;;AAGA,SAAgB,YAAY,OAA0B;AACpD,QACE,oBAAC;EAAgB,WAAU;YACxB,MAAM;GACS"}
1
+ {"version":3,"file":"admin-layout.mjs","names":[],"sources":["../../../src/components/layouts/admin-layout.tsx"],"sourcesContent":["import { PropsWithChildren } from \"react\";\nimport { SidebarProvider } from \"../ui/sidebar.client\";\n\nexport function AdminLayout(props: PropsWithChildren) {\n return (\n <SidebarProvider className=\"max-h-dvh overflow-hidden border\">{props.children}</SidebarProvider>\n );\n}\n"],"mappings":";;;;AAGA,SAAgB,YAAY,OAA0B;AACpD,QACE,oBAAC;EAAgB,WAAU;YAAoC,MAAM;GAA2B"}
@@ -1,8 +1,8 @@
1
- import * as react_jsx_runtime132 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime117 from "react/jsx-runtime";
2
2
  import { PropsWithChildren } from "react";
3
3
 
4
4
  //#region src/components/layouts/admin-loading.d.ts
5
- declare function AdminLoadingLayout(props: PropsWithChildren): react_jsx_runtime132.JSX.Element;
5
+ declare function AdminLoadingLayout(props: PropsWithChildren): react_jsx_runtime117.JSX.Element;
6
6
  //#endregion
7
7
  export { AdminLoadingLayout };
8
8
  //# sourceMappingURL=admin-loading.d.mts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime133 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime118 from "react/jsx-runtime";
2
2
  import { ComponentProps, HTMLAttributes } from "react";
3
3
  import { Route } from "next";
4
4
 
@@ -15,17 +15,17 @@ declare function EmptyPage({
15
15
  className,
16
16
  children,
17
17
  ...props
18
- }: ComponentProps<"div">): react_jsx_runtime133.JSX.Element;
18
+ }: ComponentProps<"div">): react_jsx_runtime118.JSX.Element;
19
19
  declare function EmptyPageTitle({
20
20
  className,
21
21
  children,
22
22
  ...props
23
- }: ComponentProps<"h2">): react_jsx_runtime133.JSX.Element;
23
+ }: ComponentProps<"h2">): react_jsx_runtime118.JSX.Element;
24
24
  declare function EmptyPageDescription({
25
25
  className,
26
26
  children,
27
27
  ...props
28
- }: ComponentProps<"p">): react_jsx_runtime133.JSX.Element;
28
+ }: ComponentProps<"p">): react_jsx_runtime118.JSX.Element;
29
29
  //#endregion
30
30
  export { EmptyPage, EmptyPageDescription, EmptyPageProps, EmptyPageTitle };
31
31
  //# sourceMappingURL=empty-page.d.mts.map
@@ -1,6 +1,6 @@
1
1
  import * as lucide_react0 from "lucide-react";
2
- import * as react_jsx_runtime136 from "react/jsx-runtime";
3
- import * as react98 from "react";
2
+ import * as react_jsx_runtime121 from "react/jsx-runtime";
3
+ import * as react108 from "react";
4
4
  import { ComponentProps } from "react";
5
5
 
6
6
  //#region src/components/layouts/error-page.d.ts
@@ -11,7 +11,7 @@ declare function ErrorPage({
11
11
  className,
12
12
  children,
13
13
  ...props
14
- }: ComponentProps<"div">): react_jsx_runtime136.JSX.Element;
14
+ }: ComponentProps<"div">): react_jsx_runtime121.JSX.Element;
15
15
  /**
16
16
  * ErrorPageCode
17
17
  */
@@ -19,14 +19,14 @@ declare function ErrorPageCode({
19
19
  className,
20
20
  children,
21
21
  ...props
22
- }: ComponentProps<"h2">): react_jsx_runtime136.JSX.Element;
22
+ }: ComponentProps<"h2">): react_jsx_runtime121.JSX.Element;
23
23
  /**
24
24
  * ErrorPageIcon
25
25
  */
26
26
  declare const errorPageIcons: {
27
- serverError: react98.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react98.RefAttributes<SVGSVGElement>>;
28
- notAllowed: react98.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react98.RefAttributes<SVGSVGElement>>;
29
- default: react98.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react98.RefAttributes<SVGSVGElement>>;
27
+ serverError: react108.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react108.RefAttributes<SVGSVGElement>>;
28
+ notAllowed: react108.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react108.RefAttributes<SVGSVGElement>>;
29
+ default: react108.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react108.RefAttributes<SVGSVGElement>>;
30
30
  };
31
31
  declare function ErrorPageIcon({
32
32
  variant,
@@ -34,7 +34,7 @@ declare function ErrorPageIcon({
34
34
  ...props
35
35
  }: ComponentProps<"svg"> & {
36
36
  variant?: keyof typeof errorPageIcons;
37
- }): react_jsx_runtime136.JSX.Element;
37
+ }): react_jsx_runtime121.JSX.Element;
38
38
  /**
39
39
  * ErrorPageDescription
40
40
  */
@@ -42,7 +42,7 @@ declare function ErrorPageDescription({
42
42
  className,
43
43
  children,
44
44
  ...props
45
- }: ComponentProps<"p">): react_jsx_runtime136.JSX.Element;
45
+ }: ComponentProps<"p">): react_jsx_runtime121.JSX.Element;
46
46
  //#endregion
47
47
  export { ErrorPage, ErrorPageCode, ErrorPageDescription, ErrorPageIcon };
48
48
  //# sourceMappingURL=error-page.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"error-page.d.mts","names":[],"sources":["../../../src/components/layouts/error-page.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;iBAOgB,SAAA;;;;GAA6C,wBAAqB,oBAAA,CAAA,GAAA,CAAA;;AAAlF;;AAAuC,iBAiBvB,aAAA,CAjBuB;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAiB0B,cAjB1B,CAAA,IAAA,CAAA,CAAA,EAiB8C,oBAAA,CAAA,GAAA,CAAA,OAjB9C;;;;AAiBvC,cAWM,cAXuB,EAAA;EAAG,WAAA,mCAAA,KAAA,CAgB/B,aAAA,CAAA,WAAA,EAhB+B,KAAA,CAAA,wBAAA,cAAA,CAAA,CAAA;EAAW,UAAA,mCAAA,KAAA,4BAAA,KAAA,CAAA,wBAAA,cAAA,CAAA,CAAA;EAAsB,OAAA,mCAAA,KAAA,4BAAA,KAAA,CAAA,wBAAA,cAAA,CAAA,CAAA;CAAoB;AAAA,iBAkBrE,aAAA,CAlBqE;EAAA,OAAA;EAAA,SAAA;EAAA,GAAA;CAAA,EAsBlF,cAtBkF,CAAA,KAAA,CAAA,GAAA;EAW/E,OAAA,CAAA,EAAA,MAAA,OAW8C,cANnD;CAAA,CAAA,EAMmE,oBAAA,CAAA,GAAA,CAAA,OANnE;;;;iBAee,oBAAA;;;;GAAwD,sBAAmB,oBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"error-page.d.mts","names":[],"sources":["../../../src/components/layouts/error-page.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;iBAOgB,SAAA;;;;GAA6C,wBAAqB,oBAAA,CAAA,GAAA,CAAA;;AAAlF;;AAAuC,iBAiBvB,aAAA,CAjBuB;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAiB0B,cAjB1B,CAAA,IAAA,CAAA,CAAA,EAiB8C,oBAAA,CAAA,GAAA,CAAA,OAjB9C;;;;AAiBvC,cAWM,cAXuB,EAAA;EAAG,WAAA,oCAAA,KAAA,CAgB/B,aAAA,CAAA,WAAA,EAhB+B,KAAA,CAAA,yBAAA,cAAA,CAAA,CAAA;EAAW,UAAA,oCAAA,KAAA,4BAAA,KAAA,CAAA,yBAAA,cAAA,CAAA,CAAA;EAAsB,OAAA,oCAAA,KAAA,4BAAA,KAAA,CAAA,yBAAA,cAAA,CAAA,CAAA;CAAoB;AAAA,iBAkBrE,aAAA,CAlBqE;EAAA,OAAA;EAAA,SAAA;EAAA,GAAA;CAAA,EAsBlF,cAtBkF,CAAA,KAAA,CAAA,GAAA;EAW/E,OAAA,CAAA,EAAA,MAAA,OAW8C,cANnD;CAAA,CAAA,EAMmE,oBAAA,CAAA,GAAA,CAAA,OANnE;;;;iBAee,oBAAA;;;;GAAwD,sBAAmB,oBAAA,CAAA,GAAA,CAAA"}
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime140 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime125 from "react/jsx-runtime";
2
2
  import { ComponentProps } from "react";
3
3
 
4
4
  //#region src/components/layouts/error-sections.d.ts
@@ -8,22 +8,22 @@ import { ComponentProps } from "react";
8
8
  declare function DefaultErrorSection({
9
9
  className,
10
10
  ...props
11
- }: ComponentProps<"div">): react_jsx_runtime140.JSX.Element;
11
+ }: ComponentProps<"div">): react_jsx_runtime125.JSX.Element;
12
12
  /**
13
13
  * ServerErrorSection
14
14
  */
15
15
  declare function ServerErrorSection({
16
16
  className,
17
17
  ...props
18
- }: ComponentProps<"div">): react_jsx_runtime140.JSX.Element;
18
+ }: ComponentProps<"div">): react_jsx_runtime125.JSX.Element;
19
19
  /**
20
20
  * NotFoundSection
21
21
  */
22
- declare function NotFoundSection(props: ComponentProps<"div">): react_jsx_runtime140.JSX.Element;
22
+ declare function NotFoundSection(props: ComponentProps<"div">): react_jsx_runtime125.JSX.Element;
23
23
  /**
24
24
  * Not Allowed Section
25
25
  */
26
- declare function NotAllowedSection(props: ComponentProps<"div">): react_jsx_runtime140.JSX.Element;
26
+ declare function NotAllowedSection(props: ComponentProps<"div">): react_jsx_runtime125.JSX.Element;
27
27
  //#endregion
28
28
  export { DefaultErrorSection, NotAllowedSection, NotFoundSection, ServerErrorSection };
29
29
  //# sourceMappingURL=error-sections.d.mts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime144 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime129 from "react/jsx-runtime";
2
2
  import { ComponentProps } from "react";
3
3
 
4
4
  //#region src/components/layouts/list-layout.d.ts
@@ -6,7 +6,7 @@ declare function ListLayout({
6
6
  className,
7
7
  children,
8
8
  ...props
9
- }: ComponentProps<"div">): react_jsx_runtime144.JSX.Element;
9
+ }: ComponentProps<"div">): react_jsx_runtime129.JSX.Element;
10
10
  //#endregion
11
11
  export { ListLayout };
12
12
  //# sourceMappingURL=list-layout.d.mts.map
@@ -1,10 +1,10 @@
1
- import * as react_jsx_runtime20 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime286 from "react/jsx-runtime";
2
2
  import { PropsWithChildren } from "react";
3
3
 
4
4
  //#region src/components/layouts/providers.client.d.ts
5
5
  declare function Providers({
6
6
  children
7
- }: PropsWithChildren): react_jsx_runtime20.JSX.Element;
7
+ }: PropsWithChildren): react_jsx_runtime286.JSX.Element;
8
8
  //#endregion
9
9
  export { Providers };
10
10
  //# sourceMappingURL=providers.client.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"providers.client.d.mts","names":[],"sources":["../../../src/components/layouts/providers.client.tsx"],"sourcesContent":[],"mappings":";;;;iBAWgB,SAAA;;GAAwB,oBAAiB,mBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"providers.client.d.mts","names":[],"sources":["../../../src/components/layouts/providers.client.tsx"],"sourcesContent":[],"mappings":";;;;iBAWgB,SAAA;;GAAwB,oBAAiB,oBAAA,CAAA,GAAA,CAAA"}
@@ -1,10 +1,10 @@
1
- import * as react_jsx_runtime145 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime130 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/layouts/root-error-pages.d.ts
4
4
  /**
5
5
  * Admin Not Found Page
6
6
  */
7
- declare function RootNotFoundPage(): react_jsx_runtime145.JSX.Element;
7
+ declare function RootNotFoundPage(): react_jsx_runtime130.JSX.Element;
8
8
  //#endregion
9
9
  export { RootNotFoundPage };
10
10
  //# sourceMappingURL=root-error-pages.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import { TulipConfig } from "../../modules/config/lib/config.mjs";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime387 from "react/jsx-runtime";
3
3
  import { PropsWithChildren } from "react";
4
4
  import "server-cli-only";
5
5
 
@@ -9,12 +9,12 @@ import "server-cli-only";
9
9
  */
10
10
  declare const generateRootLayoutMetadata: (config: TulipConfig) => {
11
11
  metadata: {
12
- title: any;
12
+ title: string;
13
13
  description: string;
14
14
  appleWebApp: {
15
15
  capable: true;
16
16
  statusBarStyle: "black-translucent";
17
- title: any;
17
+ title: string;
18
18
  };
19
19
  };
20
20
  viewport: {
@@ -31,7 +31,7 @@ declare const generateRootLayoutMetadata: (config: TulipConfig) => {
31
31
  */
32
32
  declare function RootLayout({
33
33
  children
34
- }: PropsWithChildren): react_jsx_runtime0.JSX.Element;
34
+ }: PropsWithChildren): react_jsx_runtime387.JSX.Element;
35
35
  //#endregion
36
36
  export { RootLayout, generateRootLayoutMetadata };
37
37
  //# sourceMappingURL=root-layout.server.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"root-layout.server.d.mts","names":[],"sources":["../../../src/components/layouts/root-layout.server.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAWa,cAAA,0BAAsC,EAAA,CAAA,MAAW,EAAX,WAAW,EAAA,GAAA;EA6B9C,QAAA,EAAA;IAAa,KAAA,EAAA,GAAA;IAAY,WAAA,EAAA,MAAA;IAAiB,WAAA,EAAA;MAAA,OAAA,EAAA,IAAA;;;;;;;;;;;;;;;;;iBAA1C,UAAA;;GAAyB,oBAAiB,kBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"root-layout.server.d.mts","names":[],"sources":["../../../src/components/layouts/root-layout.server.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAWa,cAAA,0BAAsC,EAAA,CAAA,MAAA,EAAA,WAAW,EAAA,GAAA;EA6B9C,QAAA,EAAA;IAAa,KAAA,EAAA,MAAA;IAAY,WAAA,EAAA,MAAA;IAAiB,WAAA,EAAA;MAAA,OAAA,EAAA,IAAA;;;;;;;;;;;;;;;;;iBAA1C,UAAA;;GAAyB,oBAAiB,oBAAA,CAAA,GAAA,CAAA"}
@@ -1,7 +1,7 @@
1
- import * as react_jsx_runtime146 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime131 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/layouts/root-loading.d.ts
4
- declare function RootLoading(): react_jsx_runtime146.JSX.Element;
4
+ declare function RootLoading(): react_jsx_runtime131.JSX.Element;
5
5
  //#endregion
6
6
  export { RootLoading };
7
7
  //# sourceMappingURL=root-loading.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import { Permission } from "../../modules/auth/lib/permissions.mjs";
2
- import * as react_jsx_runtime147 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime132 from "react/jsx-runtime";
3
3
  import { Route } from "next";
4
4
 
5
5
  //#region src/components/layouts/tab-layout.d.ts
@@ -17,7 +17,7 @@ type TabLayoutProps = {
17
17
  declare function TabLayout({
18
18
  tabs,
19
19
  children
20
- }: TabLayoutProps): react_jsx_runtime147.JSX.Element;
20
+ }: TabLayoutProps): react_jsx_runtime132.JSX.Element;
21
21
  //#endregion
22
22
  export { Tab, TabLayout, TabLayoutProps };
23
23
  //# sourceMappingURL=tab-layout.d.mts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime148 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime133 from "react/jsx-runtime";
2
2
  import React from "react";
3
3
 
4
4
  //#region src/components/lists/data-list.d.ts
@@ -7,25 +7,25 @@ declare function DataList({
7
7
  children,
8
8
  className,
9
9
  ...props
10
- }: DataListProps): react_jsx_runtime148.JSX.Element;
10
+ }: DataListProps): react_jsx_runtime133.JSX.Element;
11
11
  type DataListItemProps = React.HTMLAttributes<HTMLElement>;
12
12
  declare function DataListItem({
13
13
  children,
14
14
  className,
15
15
  ...props
16
- }: DataListItemProps): react_jsx_runtime148.JSX.Element;
16
+ }: DataListItemProps): react_jsx_runtime133.JSX.Element;
17
17
  type DataListTitleProps = React.HTMLAttributes<HTMLElement>;
18
18
  declare function DataListTitle({
19
19
  children,
20
20
  className,
21
21
  ...props
22
- }: DataListTitleProps): react_jsx_runtime148.JSX.Element;
22
+ }: DataListTitleProps): react_jsx_runtime133.JSX.Element;
23
23
  type DataListValueProps = React.HTMLAttributes<HTMLElement>;
24
24
  declare function DataListValue({
25
25
  children,
26
26
  className,
27
27
  ...props
28
- }: DataListValueProps): react_jsx_runtime148.JSX.Element;
28
+ }: DataListValueProps): react_jsx_runtime133.JSX.Element;
29
29
  //#endregion
30
30
  export { DataList, DataListItem, DataListItemProps, DataListProps, DataListTitle, DataListTitleProps, DataListValue, DataListValueProps };
31
31
  //# sourceMappingURL=data-list.d.mts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime152 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime137 from "react/jsx-runtime";
2
2
  import React from "react";
3
3
 
4
4
  //#region src/components/lists/data-stack.d.ts
@@ -7,43 +7,43 @@ declare function DataStackGrid({
7
7
  children,
8
8
  className,
9
9
  ...props
10
- }: DataStackGridProps): react_jsx_runtime152.JSX.Element;
10
+ }: DataStackGridProps): react_jsx_runtime137.JSX.Element;
11
11
  type DataStackLayoutProps = React.HTMLAttributes<HTMLElement>;
12
12
  declare function DataStackLayout({
13
13
  children,
14
14
  className,
15
15
  ...props
16
- }: DataStackLayoutProps): react_jsx_runtime152.JSX.Element;
16
+ }: DataStackLayoutProps): react_jsx_runtime137.JSX.Element;
17
17
  type DataStackRowProps = React.HTMLAttributes<HTMLElement>;
18
18
  declare function DataStackRow({
19
19
  children,
20
20
  className,
21
21
  ...props
22
- }: DataStackRowProps): react_jsx_runtime152.JSX.Element;
22
+ }: DataStackRowProps): react_jsx_runtime137.JSX.Element;
23
23
  type DataStackColumnProps = React.HTMLAttributes<HTMLElement>;
24
24
  declare function DataStackColumn({
25
25
  children,
26
26
  className,
27
27
  ...props
28
- }: DataStackRowProps): react_jsx_runtime152.JSX.Element;
28
+ }: DataStackRowProps): react_jsx_runtime137.JSX.Element;
29
29
  type DataStackProps = React.HTMLAttributes<HTMLOListElement>;
30
30
  declare function DataStack({
31
31
  children,
32
32
  className,
33
33
  ...props
34
- }: DataStackProps): react_jsx_runtime152.JSX.Element;
34
+ }: DataStackProps): react_jsx_runtime137.JSX.Element;
35
35
  type DataStackTitleProps = React.HTMLAttributes<HTMLElement>;
36
36
  declare function DataStackTitle({
37
37
  children,
38
38
  className,
39
39
  ...props
40
- }: DataStackTitleProps): react_jsx_runtime152.JSX.Element;
40
+ }: DataStackTitleProps): react_jsx_runtime137.JSX.Element;
41
41
  type DataStackValueProps = React.HTMLAttributes<HTMLElement>;
42
42
  declare function DataStackValue({
43
43
  children,
44
44
  className,
45
45
  ...props
46
- }: DataStackValueProps): react_jsx_runtime152.JSX.Element;
46
+ }: DataStackValueProps): react_jsx_runtime137.JSX.Element;
47
47
  //#endregion
48
48
  export { DataStack, DataStackColumn, DataStackColumnProps, DataStackGrid, DataStackGridProps, DataStackLayout, DataStackLayoutProps, DataStackProps, DataStackRow, DataStackRowProps, DataStackTitle, DataStackTitleProps, DataStackValue, DataStackValueProps };
49
49
  //# sourceMappingURL=data-stack.d.mts.map
@@ -3,7 +3,7 @@
3
3
  import { cn } from "../../lib/utils/cn.mjs";
4
4
  import { Button } from "../ui/button.mjs";
5
5
  import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "../ui/dropdown-menu.mjs";
6
- import { authClient } from "../../modules/auth/handler/client.client.mjs";
6
+ import { useAuthClient } from "../../modules/auth/hooks/use-auth-client.mjs";
7
7
  import { useSession } from "../../modules/auth/hooks/use-session.mjs";
8
8
  import { SidebarHeader, useSidebar } from "../ui/sidebar.client.mjs";
9
9
  import { Avatar, AvatarFallback, AvatarImage } from "../ui/avatar.client.mjs";
@@ -17,10 +17,11 @@ import { useTheme } from "next-themes";
17
17
  //#region src/components/navigation/admin-sidebar-header.client.tsx
18
18
  function AdminSidebarHeader() {
19
19
  const router = useRouter();
20
+ const authClient = useAuthClient();
20
21
  const { theme, setTheme } = useTheme();
21
22
  const [open, setOpen] = React.useState(false);
22
23
  const { setOpenMobile } = useSidebar();
23
- const sessionQuery = useSession();
24
+ const sessionQuery = useSession(authClient);
24
25
  return /* @__PURE__ */ jsx(SidebarHeader, { children: /* @__PURE__ */ jsxs(DropdownMenu, {
25
26
  open,
26
27
  onOpenChange: setOpen,
@@ -1 +1 @@
1
- {"version":3,"file":"admin-sidebar-header.client.mjs","names":[],"sources":["../../../src/components/navigation/admin-sidebar-header.client.tsx"],"sourcesContent":["\"use client\";\n\nimport { Avatar, AvatarFallback, AvatarImage } from \"@/components/ui/avatar.client\";\nimport { Button } from \"@/components/ui/button\";\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuSeparator,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\";\nimport { cn } from \"@/lib/utils/cn\";\nimport { authClient } from \"@/modules/auth/handler/client.client\";\nimport { useSession } from \"@/modules/auth/hooks/use-session\";\nimport {\n ChevronsUpDownIcon,\n LaptopIcon,\n LogOutIcon,\n MoonIcon,\n SettingsIcon,\n SunIcon,\n SunMoonIcon,\n} from \"lucide-react\";\nimport { useTheme } from \"next-themes\";\nimport Link from \"next/link\";\nimport { useRouter } from \"next/navigation\";\nimport React from \"react\";\nimport { SidebarHeader, useSidebar } from \"../ui/sidebar.client\";\n\nexport function AdminSidebarHeader() {\n const router = useRouter();\n const { theme, setTheme } = useTheme();\n\n const [open, setOpen] = React.useState(false);\n\n const { setOpenMobile } = useSidebar();\n\n const sessionQuery = useSession();\n\n return (\n <SidebarHeader>\n <DropdownMenu open={open} onOpenChange={setOpen}>\n <DropdownMenuTrigger asChild>\n <Button variant=\"outline\" className=\"items-center justify-between py-3.5\">\n <div className=\"flex items-center gap-4\">\n <Avatar className=\"h-6 w-6 text-sm\">\n <AvatarImage\n src={sessionQuery.data?.user.image ?? undefined}\n alt={sessionQuery.data?.user.name}\n />\n <AvatarFallback>{sessionQuery.data?.user.name?.[0] ?? \"\"}</AvatarFallback>\n </Avatar>\n <span className=\"text-md text-muted-foreground font-bold\">\n {sessionQuery.data?.user.name}\n </span>\n </div>\n\n <ChevronsUpDownIcon className=\"text-muted-foreground h-4 w-4\" />\n </Button>\n </DropdownMenuTrigger>\n\n <DropdownMenuContent className=\"w-44\">\n <DropdownMenuItem asChild>\n <Link href=\"/admin/settings\" onClick={() => setOpenMobile(false)}>\n <SettingsIcon className=\"mr-2 h-4 w-4\" />\n <span>Instellingen</span>\n </Link>\n </DropdownMenuItem>\n\n <DropdownMenuSeparator />\n\n <DropdownMenuSub>\n <DropdownMenuSubTrigger>\n <SunMoonIcon className=\"mr-2 h-4 w-4\" />\n <span>Thema</span>\n </DropdownMenuSubTrigger>\n\n <DropdownMenuSubContent>\n <DropdownMenuItem\n className={cn(theme === \"light\" && \"bg-secondary font-bold\")}\n onClick={() => setTheme(\"light\")}\n >\n <SunIcon className=\"mr-2 h-4 w-4\" />\n <span>Light</span>\n </DropdownMenuItem>\n\n <DropdownMenuItem\n className={cn(theme === \"dark\" && \"bg-secondary font-bold\")}\n onClick={() => setTheme(\"dark\")}\n >\n <MoonIcon className=\"mr-2 h-4 w-4\" />\n <span>Dark</span>\n </DropdownMenuItem>\n\n <DropdownMenuItem\n className={cn(theme === \"system\" && \"bg-secondary font-bold\")}\n onClick={() => setTheme(\"system\")}\n >\n <LaptopIcon className=\"mr-2 h-4 w-4\" />\n <span>System</span>\n </DropdownMenuItem>\n </DropdownMenuSubContent>\n </DropdownMenuSub>\n\n {/* \n <DropdownMenuItem\n onClick={() => {\n setOpenMobile(false);\n setOpen(false);\n authClient.passkey.addPasskey({\n fetchOptions: {\n onSuccess: () => {\n toast.success(\"Passkey succesvol toegevoegd\");\n },\n },\n });\n }}\n >\n <Icons.add className=\"mr-2 h-4 w-4\" />\n <span>Passkey</span>\n </DropdownMenuItem> */}\n\n <DropdownMenuItem\n onClick={() => {\n setOpenMobile(false);\n setOpen(false);\n\n authClient.signOut({\n fetchOptions: {\n onSuccess: () => {\n router.replace(\"/auth/login\");\n },\n },\n });\n }}\n >\n <LogOutIcon className=\"mr-2 h-4 w-4\" />\n <span>Log out</span>\n </DropdownMenuItem>\n </DropdownMenuContent>\n </DropdownMenu>\n </SidebarHeader>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAgCA,SAAgB,qBAAqB;CACnC,MAAM,SAAS,WAAW;CAC1B,MAAM,EAAE,OAAO,aAAa,UAAU;CAEtC,MAAM,CAAC,MAAM,WAAW,MAAM,SAAS,MAAM;CAE7C,MAAM,EAAE,kBAAkB,YAAY;CAEtC,MAAM,eAAe,YAAY;AAEjC,QACE,oBAAC,2BACC,qBAAC;EAAmB;EAAM,cAAc;aACtC,oBAAC;GAAoB;aACnB,qBAAC;IAAO,SAAQ;IAAU,WAAU;eAClC,qBAAC;KAAI,WAAU;gBACb,qBAAC;MAAO,WAAU;iBAChB,oBAAC;OACC,KAAK,aAAa,MAAM,KA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-header.client.mjs","names":[],"sources":["../../../src/components/navigation/admin-sidebar-header.client.tsx"],"sourcesContent":["\"use client\";\n\nimport { Avatar, AvatarFallback, AvatarImage } from \"@/components/ui/avatar.client\";\nimport { Button } from \"@/components/ui/button\";\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuSeparator,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\";\nimport { cn } from \"@/lib/utils/cn\";\nimport { useAuthClient } from \"@/modules/auth/hooks/use-auth-client\";\nimport { useSession } from \"@/modules/auth/hooks/use-session\";\nimport {\n ChevronsUpDownIcon,\n LaptopIcon,\n LogOutIcon,\n MoonIcon,\n SettingsIcon,\n SunIcon,\n SunMoonIcon,\n} from \"lucide-react\";\nimport { useTheme } from \"next-themes\";\nimport Link from \"next/link\";\nimport { useRouter } from \"next/navigation\";\nimport React from \"react\";\nimport { SidebarHeader, useSidebar } from \"../ui/sidebar.client\";\n\nexport function AdminSidebarHeader() {\n const router = useRouter();\n const authClient = useAuthClient();\n const { theme, setTheme } = useTheme();\n\n const [open, setOpen] = React.useState(false);\n\n const { setOpenMobile } = useSidebar();\n\n const sessionQuery = useSession(authClient);\n\n return (\n <SidebarHeader>\n <DropdownMenu open={open} onOpenChange={setOpen}>\n <DropdownMenuTrigger asChild>\n <Button variant=\"outline\" className=\"items-center justify-between py-3.5\">\n <div className=\"flex items-center gap-4\">\n <Avatar className=\"h-6 w-6 text-sm\">\n <AvatarImage\n src={sessionQuery.data?.user.image ?? undefined}\n alt={sessionQuery.data?.user.name}\n />\n <AvatarFallback>{sessionQuery.data?.user.name?.[0] ?? \"\"}</AvatarFallback>\n </Avatar>\n <span className=\"text-md text-muted-foreground font-bold\">\n {sessionQuery.data?.user.name}\n </span>\n </div>\n\n <ChevronsUpDownIcon className=\"text-muted-foreground h-4 w-4\" />\n </Button>\n </DropdownMenuTrigger>\n\n <DropdownMenuContent className=\"w-44\">\n <DropdownMenuItem asChild>\n <Link href=\"/admin/settings\" onClick={() => setOpenMobile(false)}>\n <SettingsIcon className=\"mr-2 h-4 w-4\" />\n <span>Instellingen</span>\n </Link>\n </DropdownMenuItem>\n\n <DropdownMenuSeparator />\n\n <DropdownMenuSub>\n <DropdownMenuSubTrigger>\n <SunMoonIcon className=\"mr-2 h-4 w-4\" />\n <span>Thema</span>\n </DropdownMenuSubTrigger>\n\n <DropdownMenuSubContent>\n <DropdownMenuItem\n className={cn(theme === \"light\" && \"bg-secondary font-bold\")}\n onClick={() => setTheme(\"light\")}\n >\n <SunIcon className=\"mr-2 h-4 w-4\" />\n <span>Light</span>\n </DropdownMenuItem>\n\n <DropdownMenuItem\n className={cn(theme === \"dark\" && \"bg-secondary font-bold\")}\n onClick={() => setTheme(\"dark\")}\n >\n <MoonIcon className=\"mr-2 h-4 w-4\" />\n <span>Dark</span>\n </DropdownMenuItem>\n\n <DropdownMenuItem\n className={cn(theme === \"system\" && \"bg-secondary font-bold\")}\n onClick={() => setTheme(\"system\")}\n >\n <LaptopIcon className=\"mr-2 h-4 w-4\" />\n <span>System</span>\n </DropdownMenuItem>\n </DropdownMenuSubContent>\n </DropdownMenuSub>\n\n <DropdownMenuItem\n onClick={() => {\n setOpenMobile(false);\n setOpen(false);\n\n authClient.signOut({\n fetchOptions: {\n onSuccess: () => {\n router.replace(\"/auth/login\");\n },\n },\n });\n }}\n >\n <LogOutIcon className=\"mr-2 h-4 w-4\" />\n <span>Log out</span>\n </DropdownMenuItem>\n </DropdownMenuContent>\n </DropdownMenu>\n </SidebarHeader>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAgCA,SAAgB,qBAAqB;CACnC,MAAM,SAAS,WAAW;CAC1B,MAAM,aAAa,eAAe;CAClC,MAAM,EAAE,OAAO,aAAa,UAAU;CAEtC,MAAM,CAAC,MAAM,WAAW,MAAM,SAAS,MAAM;CAE7C,MAAM,EAAE,kBAAkB,YAAY;CAE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MAAM;AACpB,cAAQ,MAAM;AAEd,iBAAW,QAAQ,EACjB,cAAc,EACZ,iBAAiB;AACf,cAAO,QAAQ,cAAc;SAEhC,EACF,CAAC;;gBAGJ,oBAAC,cAAW,WAAU,iBAAiB,EACvC,oBAAC,oBAAK,YAAc;MACH;;IACC;GACT,GACD"}
@@ -1,7 +1,7 @@
1
1
  import { Permission } from "../../modules/auth/lib/permissions.mjs";
2
2
  import { Sidebar } from "../ui/sidebar.client.mjs";
3
3
  import "../../auth.mjs";
4
- import * as react_jsx_runtime21 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime287 from "react/jsx-runtime";
5
5
  import * as React$1 from "react";
6
6
  import { Route } from "next";
7
7
 
@@ -12,7 +12,7 @@ import { Route } from "next";
12
12
  declare function Paths({
13
13
  children,
14
14
  ...props
15
- }: React$1.ComponentProps<typeof Sidebar>): react_jsx_runtime21.JSX.Element;
15
+ }: React$1.ComponentProps<typeof Sidebar>): react_jsx_runtime287.JSX.Element;
16
16
  /**
17
17
  * Path Group
18
18
  */
@@ -26,15 +26,15 @@ type PathGroupProps = React$1.ComponentProps<"div"> & {
26
26
  declare function PathGroup({
27
27
  permission,
28
28
  ...props
29
- }: PathGroupProps): react_jsx_runtime21.JSX.Element;
29
+ }: PathGroupProps): react_jsx_runtime287.JSX.Element;
30
30
  /**
31
31
  * Path Group Title
32
32
  */
33
- declare function PathGroupTitle(props: React$1.ComponentProps<"div">): react_jsx_runtime21.JSX.Element;
33
+ declare function PathGroupTitle(props: React$1.ComponentProps<"div">): react_jsx_runtime287.JSX.Element;
34
34
  /**
35
35
  * Path Group Items
36
36
  */
37
- declare function PathGroupItems(props: React$1.PropsWithChildren): react_jsx_runtime21.JSX.Element;
37
+ declare function PathGroupItems(props: React$1.PropsWithChildren): react_jsx_runtime287.JSX.Element;
38
38
  /**
39
39
  * Path
40
40
  */
@@ -49,7 +49,7 @@ declare function Path({
49
49
  isActive,
50
50
  segment,
51
51
  ...props
52
- }: PathProps): react_jsx_runtime21.JSX.Element;
52
+ }: PathProps): react_jsx_runtime287.JSX.Element;
53
53
  /**
54
54
  * Path Button
55
55
  */
@@ -58,11 +58,11 @@ declare function PathLink({
58
58
  children
59
59
  }: React$1.PropsWithChildren<{
60
60
  href: Route;
61
- }>): react_jsx_runtime21.JSX.Element;
61
+ }>): react_jsx_runtime287.JSX.Element;
62
62
  /**
63
63
  * Path Items
64
64
  */
65
- declare function PathItems(props: React$1.ComponentProps<"ul">): react_jsx_runtime21.JSX.Element | null;
65
+ declare function PathItems(props: React$1.ComponentProps<"ul">): react_jsx_runtime287.JSX.Element | null;
66
66
  /**
67
67
  * Path Sub Item
68
68
  */
@@ -77,7 +77,7 @@ declare function PathSubItem({
77
77
  segment,
78
78
  children,
79
79
  ...props
80
- }: PathSubItemProps): react_jsx_runtime21.JSX.Element;
80
+ }: PathSubItemProps): react_jsx_runtime287.JSX.Element;
81
81
  /**
82
82
  * Path Button
83
83
  */
@@ -86,7 +86,7 @@ declare function PathSubItemLink({
86
86
  children
87
87
  }: React$1.PropsWithChildren<{
88
88
  href: Route;
89
- }>): react_jsx_runtime21.JSX.Element;
89
+ }>): react_jsx_runtime287.JSX.Element;
90
90
  //#endregion
91
91
  export { Path, PathGroup, PathGroupItems, PathGroupProps, PathGroupTitle, PathItems, PathLink, PathSubItem, PathSubItemLink, Paths };
92
92
  //# sourceMappingURL=admin-sidebar-paths.client.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"admin-sidebar-paths.client.d.mts","names":[],"sources":["../../../src/components/navigation/admin-sidebar-paths.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;iBAiCgB,KAAA;;;GAA8B,OAAA,CAAM,sBAAsB,WAAQ,mBAAA,CAAA,GAAA,CAAA;AAAlF;;;AAA8C,KAoBlC,cAAA,GAAiB,OAAA,CAAM,cApBiB,CAAA,KAAA,CAAA,GAAA;EAA8B;;AAoBlF;AAQA;EAA4B,UAAA,CAAA,EAHb,UAGa,EAAA;CAAwB;AA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GAAA;AAAA,CAAA,EAvByB,SAuBzB,CAAA,EAvBkC,oBAAA,CAAA,GAAA,CAAA,OAuBlC;;;AAgBnD;AAeK,iBA/BW,QAAA,CA+BK;EAAA,IAAG;EAAA;AAOtB,CAP4B,EA/Be,OAAA,CAAM,iBAgC1B,CAAA;EAKT,IAAA,EArC6D,KAqC7D;CACd,CAAA,CAAA,EAtCmF,oBAAA,CAAA,GAAA,CAAA,OAsCnF;;;;AAKC,iBA3Ba,SAAA,CA2Bb,KAAA,EA3B8B,OAAA,CAAM,cA2BpC,CAAA,IAAA,CAAA,CAAA,EA3BwD,oBAAA,CAAA,GAAA,CAAA,OAAA,GA2BxD,IAAA;;;AAuBH;KAnCK,gBAAA,GAAmB,OAAA,CAAM,cAmCI,CAAA,IAAA,CAAA,GAAA;EAAM,UAAA,CAAA,EAlCzB,UAkCyB;EAA4C,QAAA,CAAA,EAAA,OAAA;EAAhC,OAAM,CAAA,EAAA,MAAA;CAAkC;AAAA,iBA7B5E,WAAA,CA6B4E;EAAA,UAAA;EAAA,QAAA;EAAA,OAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAvBzF,gBAuByF,CAAA,EAvBzE,oBAAA,CAAA,GAAA,CAAA,OAuByE;;;;iBAA5E,eAAA;;;GAAoC,OAAA,CAAM;QAA0B;KAAQ,oBAAA,CAAA,GAAA,CAAA"}
@@ -1,25 +1,25 @@
1
- import * as react_jsx_runtime159 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime144 from "react/jsx-runtime";
2
2
  import * as React$1 from "react";
3
3
  import * as AccordionPrimitive from "@radix-ui/react-accordion";
4
4
 
5
5
  //#region src/components/ui/accordion.d.ts
6
6
  declare function Accordion({
7
7
  ...props
8
- }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime159.JSX.Element;
8
+ }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime144.JSX.Element;
9
9
  declare function AccordionItem({
10
10
  className,
11
11
  ...props
12
- }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime159.JSX.Element;
12
+ }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime144.JSX.Element;
13
13
  declare function AccordionTrigger({
14
14
  className,
15
15
  children,
16
16
  ...props
17
- }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime159.JSX.Element;
17
+ }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime144.JSX.Element;
18
18
  declare function AccordionContent({
19
19
  className,
20
20
  children,
21
21
  ...props
22
- }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime159.JSX.Element;
22
+ }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime144.JSX.Element;
23
23
  //#endregion
24
24
  export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
25
25
  //# sourceMappingURL=accordion.d.mts.map