@tulip-systems/core 0.5.14 → 0.5.15

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 (313) 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.mjs +2 -2
  5. package/dist/components/common/icons.d.mts +52 -52
  6. package/dist/components/common/status.d.mts +3 -3
  7. package/dist/components/editor/components/content.client.d.mts +2 -2
  8. package/dist/components/editor/components/content.client.d.mts.map +1 -1
  9. package/dist/components/editor/components/editor.client.d.mts +4 -4
  10. package/dist/components/editor/components/editor.client.d.mts.map +1 -1
  11. package/dist/components/editor/components/menu.client.d.mts +3 -3
  12. package/dist/components/editor/components/menu.client.d.mts.map +1 -1
  13. package/dist/components/editor/lib/constants.d.mts +27 -27
  14. package/dist/components/header/back-button.client.d.mts +2 -2
  15. package/dist/components/header/back-button.client.d.mts.map +1 -1
  16. package/dist/components/header/bottom-bar.client.d.mts +3 -3
  17. package/dist/components/header/bottom-bar.client.d.mts.map +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/header.client.d.mts +2 -2
  21. package/dist/components/header/header.client.d.mts.map +1 -1
  22. package/dist/components/header/mobile-nav-switcher.client.d.mts +2 -2
  23. package/dist/components/header/mobile-nav-switcher.client.d.mts.map +1 -1
  24. package/dist/components/header/top-bar.client.d.mts +4 -4
  25. package/dist/components/header/top-bar.client.d.mts.map +1 -1
  26. package/dist/components/layouts/admin-content.client.d.mts +2 -2
  27. package/dist/components/layouts/admin-content.client.d.mts.map +1 -1
  28. package/dist/components/layouts/admin-error-pages.d.mts +4 -4
  29. package/dist/components/layouts/admin-layout.d.mts +2 -2
  30. package/dist/components/layouts/admin-layout.d.mts.map +1 -1
  31. package/dist/components/layouts/admin-layout.mjs +1 -1
  32. package/dist/components/layouts/admin-layout.mjs.map +1 -1
  33. package/dist/components/layouts/admin-loading.d.mts +2 -2
  34. package/dist/components/layouts/empty-page.d.mts +4 -4
  35. package/dist/components/layouts/error-page.d.mts +9 -9
  36. package/dist/components/layouts/error-page.d.mts.map +1 -1
  37. package/dist/components/layouts/error-sections.d.mts +5 -5
  38. package/dist/components/layouts/list-layout.d.mts +2 -2
  39. package/dist/components/layouts/providers.client.d.mts +2 -2
  40. package/dist/components/layouts/providers.client.d.mts.map +1 -1
  41. package/dist/components/layouts/root-error-pages.d.mts +2 -2
  42. package/dist/components/layouts/root-layout.server.d.mts +2 -2
  43. package/dist/components/layouts/root-layout.server.d.mts.map +1 -1
  44. package/dist/components/layouts/root-loading.d.mts +2 -2
  45. package/dist/components/layouts/tab-layout.d.mts +2 -2
  46. package/dist/components/lists/data-list.d.mts +5 -5
  47. package/dist/components/lists/data-stack.d.mts +8 -8
  48. package/dist/components/navigation/admin-sidebar-header.client.mjs +3 -2
  49. package/dist/components/navigation/admin-sidebar-header.client.mjs.map +1 -1
  50. package/dist/components/navigation/admin-sidebar-paths.client.d.mts +10 -10
  51. package/dist/components/navigation/admin-sidebar-paths.client.d.mts.map +1 -1
  52. package/dist/components/ui/accordion.d.mts +5 -5
  53. package/dist/components/ui/alert-dialog.d.mts +12 -12
  54. package/dist/components/ui/alert.d.mts +6 -6
  55. package/dist/components/ui/aspect-ratio.d.mts +2 -2
  56. package/dist/components/ui/avatar.client.d.mts +4 -4
  57. package/dist/components/ui/avatar.client.d.mts.map +1 -1
  58. package/dist/components/ui/badge.d.mts +4 -4
  59. package/dist/components/ui/breadcrumb.d.mts +8 -8
  60. package/dist/components/ui/button.d.mts +5 -5
  61. package/dist/components/ui/calendar.d.mts +3 -3
  62. package/dist/components/ui/card.d.mts +7 -7
  63. package/dist/components/ui/carousel.d.mts +6 -6
  64. package/dist/components/ui/chart.client.d.mts +5 -5
  65. package/dist/components/ui/chart.client.d.mts.map +1 -1
  66. package/dist/components/ui/checkbox.d.mts +2 -2
  67. package/dist/components/ui/collapsible.client.d.mts +4 -4
  68. package/dist/components/ui/collapsible.client.d.mts.map +1 -1
  69. package/dist/components/ui/color-picker.client.d.mts +2 -2
  70. package/dist/components/ui/color-picker.client.d.mts.map +1 -1
  71. package/dist/components/ui/combobox-dropdown.client.d.mts +2 -2
  72. package/dist/components/ui/combobox-dropdown.client.d.mts.map +1 -1
  73. package/dist/components/ui/combobox.client.d.mts +2 -2
  74. package/dist/components/ui/combobox.client.d.mts.map +1 -1
  75. package/dist/components/ui/command.d.mts +10 -10
  76. package/dist/components/ui/context-menu.d.mts +16 -16
  77. package/dist/components/ui/date-picker.client.d.mts +2 -2
  78. package/dist/components/ui/date-picker.client.d.mts.map +1 -1
  79. package/dist/components/ui/dialog.client.d.mts +11 -11
  80. package/dist/components/ui/dialog.client.d.mts.map +1 -1
  81. package/dist/components/ui/drawer.client.d.mts +11 -11
  82. package/dist/components/ui/drawer.client.d.mts.map +1 -1
  83. package/dist/components/ui/dropdown-menu.d.mts +16 -16
  84. package/dist/components/ui/form.client.d.mts +7 -7
  85. package/dist/components/ui/form.client.d.mts.map +1 -1
  86. package/dist/components/ui/hover-card.client.d.mts +4 -4
  87. package/dist/components/ui/hover-card.client.d.mts.map +1 -1
  88. package/dist/components/ui/input-recipient.d.mts +2 -2
  89. package/dist/components/ui/input.d.mts +2 -2
  90. package/dist/components/ui/label.d.mts +2 -2
  91. package/dist/components/ui/navigation-menu.d.mts +11 -11
  92. package/dist/components/ui/pagination.d.mts +8 -8
  93. package/dist/components/ui/popover.d.mts +5 -5
  94. package/dist/components/ui/progress.client.d.mts +2 -2
  95. package/dist/components/ui/progress.client.d.mts.map +1 -1
  96. package/dist/components/ui/radio-group.d.mts +3 -3
  97. package/dist/components/ui/resizable.client.d.mts +4 -4
  98. package/dist/components/ui/resizable.client.d.mts.map +1 -1
  99. package/dist/components/ui/scroll-area.d.mts +3 -3
  100. package/dist/components/ui/select.client.d.mts +11 -11
  101. package/dist/components/ui/select.client.d.mts.map +1 -1
  102. package/dist/components/ui/separator.d.mts +2 -2
  103. package/dist/components/ui/sheet.client.d.mts +9 -9
  104. package/dist/components/ui/sheet.client.d.mts.map +1 -1
  105. package/dist/components/ui/sidebar.client.d.mts +24 -24
  106. package/dist/components/ui/sidebar.client.d.mts.map +1 -1
  107. package/dist/components/ui/skeleton.d.mts +2 -2
  108. package/dist/components/ui/slider.d.mts +2 -2
  109. package/dist/components/ui/sonner.client.d.mts +2 -2
  110. package/dist/components/ui/sonner.client.mjs +1 -1
  111. package/dist/components/ui/switch.d.mts +2 -2
  112. package/dist/components/ui/tabs.d.mts +5 -5
  113. package/dist/components/ui/textarea.d.mts +2 -2
  114. package/dist/components/ui/time-input.client.d.mts +2 -2
  115. package/dist/components/ui/toggle-group.client.d.mts +3 -3
  116. package/dist/components/ui/toggle.d.mts +4 -4
  117. package/dist/components/ui/tooltip.client.d.mts +5 -5
  118. package/dist/components.mjs +2 -2
  119. package/dist/lib/client.mjs +1 -1
  120. package/dist/lib/hooks/use-action.d.mts +2 -2
  121. package/dist/lib/hooks/use-indicator.d.mts +2 -2
  122. package/dist/lib/hooks/use-indicator.d.mts.map +1 -1
  123. package/dist/modules/auth/components/allowed.client.d.mts +2 -2
  124. package/dist/modules/auth/components/allowed.client.d.mts.map +1 -1
  125. package/dist/modules/auth/components/allowed.client.mjs +2 -3
  126. package/dist/modules/auth/components/allowed.client.mjs.map +1 -1
  127. package/dist/modules/auth/components/auth-layout.server.d.mts +2 -2
  128. package/dist/modules/auth/components/auth-layout.server.d.mts.map +1 -1
  129. package/dist/modules/auth/components/auth-loading.d.mts +2 -2
  130. package/dist/modules/auth/components/auth-loading.d.mts.map +1 -1
  131. package/dist/modules/auth/components/create-first-user-page.client.d.mts +2 -2
  132. package/dist/modules/auth/components/create-first-user-page.client.d.mts.map +1 -1
  133. package/dist/modules/auth/components/create-first-user-page.client.mjs +4 -3
  134. package/dist/modules/auth/components/create-first-user-page.client.mjs.map +1 -1
  135. package/dist/modules/auth/components/forget-password-page.client.d.mts +2 -2
  136. package/dist/modules/auth/components/forget-password-page.client.d.mts.map +1 -1
  137. package/dist/modules/auth/components/forget-password-page.client.mjs +4 -3
  138. package/dist/modules/auth/components/forget-password-page.client.mjs.map +1 -1
  139. package/dist/modules/auth/components/guard-first-user.server.d.mts +2 -2
  140. package/dist/modules/auth/components/guard-first-user.server.d.mts.map +1 -1
  141. package/dist/modules/auth/components/guard.server.d.mts +3 -2
  142. package/dist/modules/auth/components/guard.server.d.mts.map +1 -1
  143. package/dist/modules/auth/components/guard.server.mjs +1 -0
  144. package/dist/modules/auth/components/guard.server.mjs.map +1 -1
  145. package/dist/modules/auth/components/login-page.client.d.mts +2 -2
  146. package/dist/modules/auth/components/login-page.client.d.mts.map +1 -1
  147. package/dist/modules/auth/components/login-page.client.mjs +4 -3
  148. package/dist/modules/auth/components/login-page.client.mjs.map +1 -1
  149. package/dist/modules/auth/components/reset-password-page.client.d.mts +2 -2
  150. package/dist/modules/auth/components/reset-password-page.client.d.mts.map +1 -1
  151. package/dist/modules/auth/components/reset-password-page.client.mjs +4 -3
  152. package/dist/modules/auth/components/reset-password-page.client.mjs.map +1 -1
  153. package/dist/modules/auth/components/update-password-command.d.mts +2 -2
  154. package/dist/modules/auth/components/update-password-command.d.mts.map +1 -1
  155. package/dist/modules/auth/components/update-password-command.mjs +1 -1
  156. package/dist/modules/auth/db/schema.d.mts +73 -73
  157. package/dist/modules/auth/db/schema.d.mts.map +1 -1
  158. package/dist/modules/auth/handler/{client.client.d.mts → create-client.client.d.mts} +161 -41
  159. package/dist/modules/auth/handler/create-client.client.d.mts.map +1 -0
  160. package/dist/modules/auth/handler/create-client.client.mjs +26 -0
  161. package/dist/modules/auth/handler/create-client.client.mjs.map +1 -0
  162. package/dist/modules/auth/handler/init.d.mts +2 -2
  163. package/dist/modules/auth/hooks/use-auth-client.d.mts +24 -0
  164. package/dist/modules/auth/hooks/use-auth-client.d.mts.map +1 -0
  165. package/dist/modules/auth/hooks/use-auth-client.mjs +31 -0
  166. package/dist/modules/auth/hooks/use-auth-client.mjs.map +1 -0
  167. package/dist/modules/auth/hooks/use-permission.d.mts +8 -35
  168. package/dist/modules/auth/hooks/use-permission.d.mts.map +1 -1
  169. package/dist/modules/auth/hooks/use-permission.mjs +47 -93
  170. package/dist/modules/auth/hooks/use-permission.mjs.map +1 -1
  171. package/dist/modules/auth/hooks/use-session.d.mts +5 -119
  172. package/dist/modules/auth/hooks/use-session.d.mts.map +1 -1
  173. package/dist/modules/auth/hooks/use-session.mjs +15 -17
  174. package/dist/modules/auth/hooks/use-session.mjs.map +1 -1
  175. package/dist/modules/auth/lib/helpers.server.d.mts +2 -2
  176. package/dist/modules/auth/lib/helpers.server.d.mts.map +1 -1
  177. package/dist/modules/auth/lib/helpers.server.mjs +1 -1
  178. package/dist/modules/auth/lib/validators.d.mts +2 -2
  179. package/dist/modules/auth/lib/validators.d.mts.map +1 -1
  180. package/dist/modules/commands/components/alert-dialog-command.client.d.mts +11 -11
  181. package/dist/modules/commands/components/alert-dialog-command.client.d.mts.map +1 -1
  182. package/dist/modules/commands/components/click-command.client.d.mts +2 -2
  183. package/dist/modules/commands/components/click-command.client.d.mts.map +1 -1
  184. package/dist/modules/commands/components/command-trigger.client.d.mts +6 -6
  185. package/dist/modules/commands/components/command-trigger.client.d.mts.map +1 -1
  186. package/dist/modules/commands/components/dialog-command.client.d.mts +8 -8
  187. package/dist/modules/commands/components/dialog-command.client.d.mts.map +1 -1
  188. package/dist/modules/commands/components/dropdown-command.client.d.mts +5 -5
  189. package/dist/modules/commands/components/dropdown-command.client.d.mts.map +1 -1
  190. package/dist/modules/commands/components/empty-command.client.d.mts +2 -2
  191. package/dist/modules/commands/components/empty-command.client.d.mts.map +1 -1
  192. package/dist/modules/commands/components/form-dialog-command.client.d.mts +12 -12
  193. package/dist/modules/commands/components/form-dialog-command.client.d.mts.map +1 -1
  194. package/dist/modules/commands/hooks/use-command-menu.client.mjs.map +1 -1
  195. package/dist/modules/commands/hooks/use-command-mutation.client.mjs +1 -1
  196. package/dist/modules/commands/menus/context-menu.client.d.mts +2 -2
  197. package/dist/modules/commands/menus/context-menu.client.d.mts.map +1 -1
  198. package/dist/modules/commands/menus/dropdown-menu.client.d.mts +3 -3
  199. package/dist/modules/commands/menus/dropdown-menu.client.d.mts.map +1 -1
  200. package/dist/modules/commands/menus/inline-menu.client.d.mts +3 -3
  201. package/dist/modules/commands/menus/inline-menu.client.d.mts.map +1 -1
  202. package/dist/modules/commands/menus/responsive-menu.client.d.mts +3 -3
  203. package/dist/modules/commands/menus/responsive-menu.client.d.mts.map +1 -1
  204. package/dist/modules/commands/utils/archive-command.client.d.mts +3 -3
  205. package/dist/modules/commands/utils/archive-command.client.d.mts.map +1 -1
  206. package/dist/modules/commands/utils/delete-command.client.d.mts +3 -3
  207. package/dist/modules/commands/utils/delete-command.client.d.mts.map +1 -1
  208. package/dist/modules/config/db/helpers.d.mts +5 -5
  209. package/dist/modules/config/db/helpers.d.mts.map +1 -1
  210. package/dist/modules/config/lib/config.d.mts +1 -1
  211. package/dist/modules/config/lib/config.mjs.map +1 -1
  212. package/dist/modules/data-tables/components/cell/common.client.d.mts +5 -5
  213. package/dist/modules/data-tables/components/cell/common.client.d.mts.map +1 -1
  214. package/dist/modules/data-tables/components/column-header.d.mts +2 -2
  215. package/dist/modules/data-tables/components/column-header.d.mts.map +1 -1
  216. package/dist/modules/data-tables/components/filters/combobox.client.d.mts +2 -2
  217. package/dist/modules/data-tables/components/filters/combobox.client.d.mts.map +1 -1
  218. package/dist/modules/data-tables/components/filters/slider.client.d.mts +2 -2
  219. package/dist/modules/data-tables/components/filters/slider.client.d.mts.map +1 -1
  220. package/dist/modules/data-tables/components/header.d.mts +4 -4
  221. package/dist/modules/data-tables/components/header.d.mts.map +1 -1
  222. package/dist/modules/data-tables/components/layout.d.mts +2 -2
  223. package/dist/modules/data-tables/components/search-input.client.d.mts +2 -2
  224. package/dist/modules/data-tables/components/search-input.client.d.mts.map +1 -1
  225. package/dist/modules/data-tables/components/skeleton.d.mts +2 -2
  226. package/dist/modules/data-tables/components/table.d.mts +7 -7
  227. package/dist/modules/data-tables/components/toolbar.d.mts +3 -3
  228. package/dist/modules/data-tables/hooks/use-context.client.d.mts +2 -2
  229. package/dist/modules/data-tables/hooks/use-context.client.d.mts.map +1 -1
  230. package/dist/modules/data-tables/strategies/helpers/sorting.mjs +1 -1
  231. package/dist/modules/data-tables/tables/data-table/components/table.d.mts +2 -2
  232. package/dist/modules/data-tables/tables/data-table/components/table.d.mts.map +1 -1
  233. package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts +2 -2
  234. package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts.map +1 -1
  235. package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts +2 -2
  236. package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts.map +1 -1
  237. package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.d.mts +2 -2
  238. package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.d.mts.map +1 -1
  239. package/dist/modules/data-tables/tables/inline-table/components/table.d.mts +2 -2
  240. package/dist/modules/data-tables/tables/inline-table/components/table.d.mts.map +1 -1
  241. package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts +2 -2
  242. package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts.map +1 -1
  243. package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts +2 -2
  244. package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts.map +1 -1
  245. package/dist/modules/inline-edit/components/combobox.client.d.mts +2 -2
  246. package/dist/modules/inline-edit/components/combobox.client.d.mts.map +1 -1
  247. package/dist/modules/inline-edit/components/date-input.client.d.mts +2 -2
  248. package/dist/modules/inline-edit/components/date-input.client.d.mts.map +1 -1
  249. package/dist/modules/inline-edit/components/date-picker.client.d.mts +2 -2
  250. package/dist/modules/inline-edit/components/date-picker.client.d.mts.map +1 -1
  251. package/dist/modules/inline-edit/components/editor.client.d.mts +2 -2
  252. package/dist/modules/inline-edit/components/editor.client.d.mts.map +1 -1
  253. package/dist/modules/inline-edit/components/input-recipient.client.d.mts +2 -2
  254. package/dist/modules/inline-edit/components/input-recipient.client.d.mts.map +1 -1
  255. package/dist/modules/inline-edit/components/input-toggle.client.d.mts +2 -2
  256. package/dist/modules/inline-edit/components/input-toggle.client.d.mts.map +1 -1
  257. package/dist/modules/inline-edit/components/input.client.d.mts +4 -4
  258. package/dist/modules/inline-edit/components/input.client.d.mts.map +1 -1
  259. package/dist/modules/inline-edit/components/select.client.d.mts +6 -6
  260. package/dist/modules/inline-edit/components/select.client.d.mts.map +1 -1
  261. package/dist/modules/inline-edit/components/switch.client.d.mts +2 -2
  262. package/dist/modules/inline-edit/components/switch.client.d.mts.map +1 -1
  263. package/dist/modules/inline-edit/components/toggle.client.d.mts +2 -2
  264. package/dist/modules/inline-edit/components/toggle.client.d.mts.map +1 -1
  265. package/dist/modules/inline-edit/hooks/context.client.d.mts +2 -2
  266. package/dist/modules/inline-edit/hooks/context.client.d.mts.map +1 -1
  267. package/dist/modules/inline-edit/hooks/use-inline.client.mjs +2 -6
  268. package/dist/modules/inline-edit/hooks/use-inline.client.mjs.map +1 -1
  269. package/dist/modules/router/handler/init.server.d.mts +6 -6
  270. package/dist/modules/router/handler/init.server.d.mts.map +1 -1
  271. package/dist/modules/router/lib/query-client.server.d.mts +2 -2
  272. package/dist/modules/router/lib/query-client.server.d.mts.map +1 -1
  273. package/dist/modules/storage/components/dropzone-context.client.d.mts +2 -2
  274. package/dist/modules/storage/components/dropzone-context.client.d.mts.map +1 -1
  275. package/dist/modules/storage/components/dropzone.client.d.mts +5 -5
  276. package/dist/modules/storage/components/dropzone.client.d.mts.map +1 -1
  277. package/dist/modules/storage/components/image-grid.client.d.mts +3 -3
  278. package/dist/modules/storage/components/image-grid.client.d.mts.map +1 -1
  279. package/dist/modules/storage/components/image-grid.client.mjs +1 -1
  280. package/dist/modules/storage/components/upload-zone.client.d.mts +2 -2
  281. package/dist/modules/storage/components/upload-zone.client.d.mts.map +1 -1
  282. package/dist/modules/storage/components/upload-zone.client.mjs +1 -1
  283. package/dist/modules/storage/lib/create-upload.client.d.mts.map +1 -1
  284. package/dist/modules/storage/lib/proxy.server.mjs +1 -1
  285. package/dist/modules/storage/lib/router.server.d.mts +2358 -2358
  286. package/dist/modules/storage/lib/router.server.mjs +1 -1
  287. package/dist/modules/storage/lib/schema.d.mts +92 -92
  288. package/dist/modules/storage/lib/service.server.d.mts +18 -18
  289. package/dist/modules/storage/lib/validators.d.mts +91 -91
  290. package/dist/modules/storage/lib/validators.d.mts.map +1 -1
  291. package/package.json +1 -1
  292. package/src/components/layouts/admin-layout.tsx +1 -3
  293. package/src/components/navigation/admin-sidebar-header.client.tsx +3 -20
  294. package/src/modules/auth/components/allowed.client.tsx +2 -2
  295. package/src/modules/auth/components/create-first-user-page.client.tsx +3 -2
  296. package/src/modules/auth/components/forget-password-page.client.tsx +2 -1
  297. package/src/modules/auth/components/guard.server.tsx +2 -0
  298. package/src/modules/auth/components/login-page.client.tsx +2 -1
  299. package/src/modules/auth/components/reset-password-page.client.tsx +3 -1
  300. package/src/modules/auth/entry.client.ts +13 -1
  301. package/src/modules/auth/entry.ts +11 -0
  302. package/src/modules/auth/handler/create-client.client.ts +53 -0
  303. package/src/modules/auth/hooks/use-auth-client.tsx +38 -0
  304. package/src/modules/auth/hooks/use-permission.ts +49 -94
  305. package/src/modules/auth/hooks/use-session.ts +16 -16
  306. package/src/modules/commands/hooks/use-command-menu.client.tsx +0 -6
  307. package/src/modules/config/lib/config.ts +3 -2
  308. package/src/modules/inline-edit/hooks/use-inline.client.tsx +1 -1
  309. package/dist/modules/auth/handler/client.client.d.mts.map +0 -1
  310. package/dist/modules/auth/handler/client.client.mjs +0 -21
  311. package/dist/modules/auth/handler/client.client.mjs.map +0 -1
  312. package/src/modules/auth/components/guard.client.tsx +0 -12
  313. package/src/modules/auth/handler/client.client.ts +0 -16
@@ -1,8 +1,8 @@
1
- import * as react_jsx_runtime0 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime59 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_runtime59.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,mBAAA,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_runtime244 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_runtime244.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_runtime245 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_runtime245.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_runtime245.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_runtime245.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_runtime248 from "react/jsx-runtime";
3
+ import * as react107 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_runtime248.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_runtime248.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: react107.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react107.RefAttributes<SVGSVGElement>>;
28
+ notAllowed: react107.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react107.RefAttributes<SVGSVGElement>>;
29
+ default: react107.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react107.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_runtime248.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_runtime248.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_runtime252 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_runtime252.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_runtime252.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_runtime252.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_runtime252.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_runtime256 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_runtime256.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_runtime135 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_runtime135.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_runtime257 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_runtime257.JSX.Element;
8
8
  //#endregion
9
9
  export { RootNotFoundPage };
10
10
  //# sourceMappingURL=root-error-pages.d.mts.map
@@ -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: {
@@ -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,kBAAA,CAAA,GAAA,CAAA"}
@@ -1,7 +1,7 @@
1
- import * as react_jsx_runtime146 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime258 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_runtime258.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_runtime259 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_runtime259.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_runtime260 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_runtime260.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_runtime260.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_runtime260.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_runtime260.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_runtime264 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_runtime264.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_runtime264.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_runtime264.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_runtime264.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_runtime264.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_runtime264.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_runtime264.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,KAAK,SAAS;OACtC,KAAK,aAAa,MAAM,KAAK;QAC7B,EACF,oBAAC,4BAAgB,aAAa,MAAM,KAAK,OAAO,MAAM,KAAoB;OACnE,EACT,oBAAC;MAAK,WAAU;gBACb,aAAa,MAAM,KAAK;OACpB;MACH,EAEN,oBAAC,sBAAmB,WAAU,kCAAkC;KACzD;IACW,EAEtB,qBAAC;GAAoB,WAAU;;IAC7B,oBAAC;KAAiB;eAChB,qBAAC;MAAK,MAAK;MAAkB,eAAe,cAAc,MAAM;iBAC9D,oBAAC,gBAAa,WAAU,iBAAiB,EACzC,oBAAC,oBAAK,iBAAmB;OACpB;MACU;IAEnB,oBAAC,0BAAwB;IAEzB,qBAAC,8BACC,qBAAC,qCACC,oBAAC,eAAY,WAAU,iBAAiB,EACxC,oBAAC,oBAAK,UAAY,IACK,EAEzB,qBAAC;KACC,qBAAC;MACC,WAAW,GAAG,UAAU,WAAW,yBAAyB;MAC5D,eAAe,SAAS,QAAQ;iBAEhC,oBAAC,WAAQ,WAAU,iBAAiB,EACpC,oBAAC,oBAAK,UAAY;OACD;KAEnB,qBAAC;MACC,WAAW,GAAG,UAAU,UAAU,yBAAyB;MAC3D,eAAe,SAAS,OAAO;iBAE/B,oBAAC,YAAS,WAAU,iBAAiB,EACrC,oBAAC,oBAAK,SAAW;OACA;KAEnB,qBAAC;MACC,WAAW,GAAG,UAAU,YAAY,yBAAyB;MAC7D,eAAe,SAAS,SAAS;iBAEjC,oBAAC,cAAW,WAAU,iBAAiB,EACvC,oBAAC,oBAAK,WAAa;OACF;QACI,IACT;IAoBlB,qBAAC;KACC,eAAe;AACb,oBAAc,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
+ {"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 { 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;CAEtC,MAAM,eAAe,WAAW,WAAW;AAE3C,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,KAAK,SAAS;OACtC,KAAK,aAAa,MAAM,KAAK;QAC7B,EACF,oBAAC,4BAAgB,aAAa,MAAM,KAAK,OAAO,MAAM,KAAoB;OACnE,EACT,oBAAC;MAAK,WAAU;gBACb,aAAa,MAAM,KAAK;OACpB;MACH,EAEN,oBAAC,sBAAmB,WAAU,kCAAkC;KACzD;IACW,EAEtB,qBAAC;GAAoB,WAAU;;IAC7B,oBAAC;KAAiB;eAChB,qBAAC;MAAK,MAAK;MAAkB,eAAe,cAAc,MAAM;iBAC9D,oBAAC,gBAAa,WAAU,iBAAiB,EACzC,oBAAC,oBAAK,iBAAmB;OACpB;MACU;IAEnB,oBAAC,0BAAwB;IAEzB,qBAAC,8BACC,qBAAC,qCACC,oBAAC,eAAY,WAAU,iBAAiB,EACxC,oBAAC,oBAAK,UAAY,IACK,EAEzB,qBAAC;KACC,qBAAC;MACC,WAAW,GAAG,UAAU,WAAW,yBAAyB;MAC5D,eAAe,SAAS,QAAQ;iBAEhC,oBAAC,WAAQ,WAAU,iBAAiB,EACpC,oBAAC,oBAAK,UAAY;OACD;KAEnB,qBAAC;MACC,WAAW,GAAG,UAAU,UAAU,yBAAyB;MAC3D,eAAe,SAAS,OAAO;iBAE/B,oBAAC,YAAS,WAAU,iBAAiB,EACrC,oBAAC,oBAAK,SAAW;OACA;KAEnB,qBAAC;MACC,WAAW,GAAG,UAAU,YAAY,yBAAyB;MAC7D,eAAe,SAAS,SAAS;iBAEjC,oBAAC,cAAW,WAAU,iBAAiB,EACvC,oBAAC,oBAAK,WAAa;OACF;QACI,IACT;IAElB,qBAAC;KACC,eAAe;AACb,oBAAc,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_runtime136 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_runtime136.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_runtime136.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_runtime136.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_runtime136.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_runtime136.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_runtime136.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_runtime136.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_runtime136.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_runtime136.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;AAAc,iBAAlD,SAAA,CAAkD;EAAA,UAAA;EAAA,GAAA;AAAA,CAAA,EAAd,cAAc,CAAA,EAAA,mBAAA,CAAA,GAAA,CAAA,OAAA;;AAelE;AAOA;AAgBK,iBAvBW,cAAA,CAuBO,KAAA,EAvBe,OAAA,CAAM,cAwBnB,CAAA,KAAA,CAAA,CAAA,EAxBwC,mBAAA,CAAA,GAAA,CAAA,OAwBxC;AAKzB;;;AAA6C,iBAtB7B,cAAA,CAsB6B,KAAA,EAtBP,OAAA,CAAM,iBAsBC,CAAA,EAtBgB,mBAAA,CAAA,GAAA,CAAA,OAsBhB;;;;KANxC,SAAA,GAAY,OAAA,CAAM,cAM8D,CAAA,IAAA,CAAA,GAAA;EAuBrE,UAAA,CAAQ,EA5BT,UA4BS;EAAG,QAAA,CAAA,EAAA,OAAA;EAAM,OAAA,CAAA,EAAA,MAAA;CAA4C;AAAhC,iBAvB7B,IAAA,CAuBmC;EAAA,UAAA;EAAA,QAAA;EAAA,QAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EAvByB,SAuBzB,CAAA,EAvBkC,mBAAA,CAAA,GAAA,CAAA,OAuBlC;;;AAgBnD;AAeK,iBA/BW,QAAA,CA+BK;EAAG,IAAA;EAAA;AAOtB,CAP4B,EA/Be,OAAA,CAAM,iBAgC1B,CAAA;EAKT,IAAA,EArC6D,KAqC7D;CACd,CAAA,CAAA,EAtCmF,mBAAA,CAAA,GAAA,CAAA,OAsCnF;;;;AAKC,iBA3Ba,SAAA,CA2Bb,KAAA,EA3B8B,OAAA,CAAM,cA2BpC,CAAA,IAAA,CAAA,CAAA,EA3BwD,mBAAA,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,mBAAA,CAAA,GAAA,CAAA,OAuByE;;;;iBAA5E,eAAA;;;GAAoC,OAAA,CAAM;QAA0B;KAAQ,mBAAA,CAAA,GAAA,CAAA"}
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,oBAAA,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;AAAc,iBAAlD,SAAA,CAAkD;EAAA,UAAA;EAAA,GAAA;AAAA,CAAA,EAAd,cAAc,CAAA,EAAA,oBAAA,CAAA,GAAA,CAAA,OAAA;;AAelE;AAOA;AAgBK,iBAvBW,cAAA,CAuBO,KAAA,EAvBe,OAAA,CAAM,cAwBnB,CAAA,KAAA,CAAA,CAAA,EAxBwC,oBAAA,CAAA,GAAA,CAAA,OAwBxC;AAKzB;;;AAA6C,iBAtB7B,cAAA,CAsB6B,KAAA,EAtBP,OAAA,CAAM,iBAsBC,CAAA,EAtBgB,oBAAA,CAAA,GAAA,CAAA,OAsBhB;;;;KANxC,SAAA,GAAY,OAAA,CAAM,cAM8D,CAAA,IAAA,CAAA,GAAA;EAuBrE,UAAA,CAAQ,EA5BT,UA4BS;EAAG,QAAA,CAAA,EAAA,OAAA;EAAM,OAAA,CAAA,EAAA,MAAA;CAA4C;AAAhC,iBAvB7B,IAAA,CAuBmC;EAAA,UAAA;EAAA,QAAA;EAAA,QAAA;EAAA,OAAA;EAAA,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_runtime271 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_runtime271.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_runtime271.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_runtime271.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_runtime271.JSX.Element;
23
23
  //#endregion
24
24
  export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
25
25
  //# sourceMappingURL=accordion.d.mts.map
@@ -1,43 +1,43 @@
1
- import * as react_jsx_runtime166 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime278 from "react/jsx-runtime";
2
2
  import * as React$1 from "react";
3
3
  import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
4
4
 
5
5
  //#region src/components/ui/alert-dialog.d.ts
6
- declare function AlertDialog(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime166.JSX.Element;
7
- declare function AlertDialogTrigger(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime166.JSX.Element;
8
- declare function AlertDialogPortal(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime166.JSX.Element;
6
+ declare function AlertDialog(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime278.JSX.Element;
7
+ declare function AlertDialogTrigger(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime278.JSX.Element;
8
+ declare function AlertDialogPortal(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime278.JSX.Element;
9
9
  declare function AlertDialogOverlay({
10
10
  className,
11
11
  ...props
12
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime166.JSX.Element;
12
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime278.JSX.Element;
13
13
  declare function AlertDialogContent({
14
14
  className,
15
15
  ...props
16
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime166.JSX.Element;
16
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime278.JSX.Element;
17
17
  declare function AlertDialogHeader({
18
18
  className,
19
19
  ...props
20
- }: React$1.ComponentProps<"div">): react_jsx_runtime166.JSX.Element;
20
+ }: React$1.ComponentProps<"div">): react_jsx_runtime278.JSX.Element;
21
21
  declare function AlertDialogFooter({
22
22
  className,
23
23
  ...props
24
- }: React$1.ComponentProps<"div">): react_jsx_runtime166.JSX.Element;
24
+ }: React$1.ComponentProps<"div">): react_jsx_runtime278.JSX.Element;
25
25
  declare function AlertDialogTitle({
26
26
  className,
27
27
  ...props
28
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime166.JSX.Element;
28
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime278.JSX.Element;
29
29
  declare function AlertDialogDescription({
30
30
  className,
31
31
  ...props
32
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime166.JSX.Element;
32
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime278.JSX.Element;
33
33
  declare function AlertDialogAction({
34
34
  className,
35
35
  ...props
36
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime166.JSX.Element;
36
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime278.JSX.Element;
37
37
  declare function AlertDialogCancel({
38
38
  className,
39
39
  ...props
40
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime166.JSX.Element;
40
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime278.JSX.Element;
41
41
  //#endregion
42
42
  export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
43
43
  //# sourceMappingURL=alert-dialog.d.mts.map
@@ -1,25 +1,25 @@
1
- import * as react_jsx_runtime163 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime275 from "react/jsx-runtime";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  import * as React$1 from "react";
4
- import * as class_variance_authority_types1 from "class-variance-authority/types";
4
+ import * as class_variance_authority_types2 from "class-variance-authority/types";
5
5
 
6
6
  //#region src/components/ui/alert.d.ts
7
7
  declare const alertVariants: (props?: ({
8
8
  variant?: "default" | "destructive" | null | undefined;
9
- } & class_variance_authority_types1.ClassProp) | undefined) => string;
9
+ } & class_variance_authority_types2.ClassProp) | undefined) => string;
10
10
  declare function Alert({
11
11
  className,
12
12
  variant,
13
13
  ...props
14
- }: React$1.ComponentProps<"div"> & VariantProps<typeof alertVariants>): react_jsx_runtime163.JSX.Element;
14
+ }: React$1.ComponentProps<"div"> & VariantProps<typeof alertVariants>): react_jsx_runtime275.JSX.Element;
15
15
  declare function AlertTitle({
16
16
  className,
17
17
  ...props
18
- }: React$1.ComponentProps<"div">): react_jsx_runtime163.JSX.Element;
18
+ }: React$1.ComponentProps<"div">): react_jsx_runtime275.JSX.Element;
19
19
  declare function AlertDescription({
20
20
  className,
21
21
  ...props
22
- }: React$1.ComponentProps<"div">): react_jsx_runtime163.JSX.Element;
22
+ }: React$1.ComponentProps<"div">): react_jsx_runtime275.JSX.Element;
23
23
  //#endregion
24
24
  export { Alert, AlertDescription, AlertTitle };
25
25
  //# sourceMappingURL=alert.d.mts.map