@tulip-systems/core 0.2.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (368) hide show
  1. package/dist/auth/client.d.ts +3 -1
  2. package/dist/auth/client.js +4 -2
  3. package/dist/auth/server.d.ts +2 -2
  4. package/dist/auth/server.js +3 -3
  5. package/dist/auth.d.ts +2 -1
  6. package/dist/auth.js +3 -2
  7. package/dist/commands/client.d.ts +4 -4
  8. package/dist/commands/client.js +4 -4
  9. package/dist/components/client.d.ts +5 -3
  10. package/dist/components/client.js +6 -4
  11. package/dist/components/common/icons.d.ts +5 -2
  12. package/dist/components/common/icons.d.ts.map +1 -1
  13. package/dist/components/common/icons.js +4 -1
  14. package/dist/components/common/icons.js.map +1 -1
  15. package/dist/components/common/status.d.ts +3 -3
  16. package/dist/components/editor/components/content.client.d.ts +2 -2
  17. package/dist/components/editor/components/fixed-menu.client.d.ts +2 -2
  18. package/dist/components/editor/context.client.d.ts +2 -2
  19. package/dist/components/editor/index.client.d.ts +2 -2
  20. package/dist/components/editor/preview.client.d.ts +2 -2
  21. package/dist/components/header/back-button.client.d.ts +2 -2
  22. package/dist/components/header/bottom-bar.client.d.ts +5 -5
  23. package/dist/components/header/bottom-bar.client.d.ts.map +1 -1
  24. package/dist/components/header/bottom-bar.client.js.map +1 -1
  25. package/dist/components/header/breadcrumbs.client.d.ts +7 -7
  26. package/dist/components/header/breadcrumbs.client.js +1 -1
  27. package/dist/components/header/header.client.d.ts +2 -2
  28. package/dist/components/header/mobile-nav-switcher.client.d.ts +2 -2
  29. package/dist/components/header/top-bar.client.d.ts +4 -4
  30. package/dist/components/layouts/admin-content.client.d.ts +13 -0
  31. package/dist/components/layouts/admin-content.client.d.ts.map +1 -0
  32. package/dist/components/layouts/admin-layout.d.ts +8 -0
  33. package/dist/components/layouts/admin-layout.d.ts.map +1 -0
  34. package/dist/components/layouts/admin-layout.js +15 -0
  35. package/dist/components/layouts/admin-layout.js.map +1 -0
  36. package/dist/components/layouts/admin-loading.d.ts +3 -3
  37. package/dist/components/layouts/admin-loading.d.ts.map +1 -1
  38. package/dist/components/layouts/admin-loading.js +2 -2
  39. package/dist/components/layouts/admin-loading.js.map +1 -1
  40. package/dist/components/layouts/empty-page.d.ts +4 -4
  41. package/dist/components/layouts/list-layout.d.ts +2 -2
  42. package/dist/components/layouts/not-found-page.d.ts +4 -3
  43. package/dist/components/layouts/not-found-page.d.ts.map +1 -1
  44. package/dist/components/layouts/not-found-page.js +8 -2
  45. package/dist/components/layouts/not-found-page.js.map +1 -1
  46. package/dist/components/layouts/not-found-section.js +1 -1
  47. package/dist/components/layouts/not-found-section.js.map +1 -1
  48. package/dist/components/layouts/providers.client.d.ts +2 -2
  49. package/dist/components/layouts/root-layout.server.d.ts +2 -2
  50. package/dist/components/layouts/root-layout.server.d.ts.map +1 -1
  51. package/dist/components/layouts/root-loading.d.ts +7 -0
  52. package/dist/components/layouts/root-loading.d.ts.map +1 -0
  53. package/dist/components/layouts/root-loading.js +14 -0
  54. package/dist/components/layouts/root-loading.js.map +1 -0
  55. package/dist/components/layouts/tab-layout.d.ts +2 -2
  56. package/dist/components/lists/data-list.d.ts +5 -5
  57. package/dist/components/lists/data-stack.d.ts +8 -8
  58. package/dist/components/{layouts → navigation}/admin-sidebar-header.client.js +8 -9
  59. package/dist/components/navigation/admin-sidebar-header.client.js.map +1 -0
  60. package/dist/components/navigation/admin-sidebar-paths.client.d.ts +81 -0
  61. package/dist/components/navigation/admin-sidebar-paths.client.d.ts.map +1 -0
  62. package/dist/components/navigation/admin-sidebar-paths.client.js +143 -0
  63. package/dist/components/navigation/admin-sidebar-paths.client.js.map +1 -0
  64. package/dist/components/navigation/admin-sidebar-skeleton.js +31 -0
  65. package/dist/components/navigation/admin-sidebar-skeleton.js.map +1 -0
  66. package/dist/components/server.d.ts +1 -1
  67. package/dist/components/server.js +1 -1
  68. package/dist/components/ui/accordion.d.ts +5 -5
  69. package/dist/components/ui/alert-dialog.d.ts +12 -12
  70. package/dist/components/ui/alert.d.ts +6 -6
  71. package/dist/components/ui/aspect-ratio.d.ts +2 -2
  72. package/dist/components/ui/avatar.client.d.ts +4 -4
  73. package/dist/components/ui/badge.d.ts +4 -4
  74. package/dist/components/ui/breadcrumb.d.ts +8 -8
  75. package/dist/components/ui/button.d.ts +4 -4
  76. package/dist/components/ui/calendar.d.ts +2 -2
  77. package/dist/components/ui/card.d.ts +7 -7
  78. package/dist/components/ui/carousel.d.ts +6 -6
  79. package/dist/components/ui/chart.client.d.ts +5 -5
  80. package/dist/components/ui/checkbox.d.ts +2 -2
  81. package/dist/components/ui/collapsible.client.d.ts +4 -4
  82. package/dist/components/ui/color-picker.client.d.ts +2 -2
  83. package/dist/components/ui/combobox-dropdown.client.d.ts +2 -2
  84. package/dist/components/ui/combobox.client.d.ts +2 -2
  85. package/dist/components/ui/command.d.ts +10 -10
  86. package/dist/components/ui/context-menu.d.ts +16 -16
  87. package/dist/components/ui/dialog.client.d.ts +11 -11
  88. package/dist/components/ui/drawer.client.d.ts +11 -11
  89. package/dist/components/ui/dropdown-menu.d.ts +16 -16
  90. package/dist/components/ui/form.client.d.ts +8 -8
  91. package/dist/components/ui/hover-card.client.d.ts +4 -4
  92. package/dist/components/ui/input.d.ts +2 -2
  93. package/dist/components/ui/label.d.ts +2 -2
  94. package/dist/components/ui/navigation-menu.d.ts +11 -11
  95. package/dist/components/ui/pagination.d.ts +8 -8
  96. package/dist/components/ui/popover.d.ts +5 -5
  97. package/dist/components/ui/progress.client.d.ts +2 -2
  98. package/dist/components/ui/radio-group.d.ts +3 -3
  99. package/dist/components/ui/resizable.client.d.ts +4 -4
  100. package/dist/components/ui/scroll-area.d.ts +3 -3
  101. package/dist/components/ui/select.client.d.ts +11 -11
  102. package/dist/components/ui/separator.d.ts +2 -2
  103. package/dist/components/ui/sheet.client.d.ts +9 -9
  104. package/dist/components/ui/sidebar.client.d.ts +24 -24
  105. package/dist/components/ui/sidebar.client.js +1 -1
  106. package/dist/components/ui/skeleton.d.ts +2 -2
  107. package/dist/components/ui/slider.d.ts +2 -2
  108. package/dist/components/ui/sonner.client.d.ts +2 -2
  109. package/dist/components/ui/sonner.client.js +1 -1
  110. package/dist/components/ui/spinner.js +63 -0
  111. package/dist/components/ui/spinner.js.map +1 -0
  112. package/dist/components/ui/switch.d.ts +2 -2
  113. package/dist/components/ui/tabs.d.ts +5 -5
  114. package/dist/components/ui/textarea.d.ts +2 -2
  115. package/dist/components/ui/time-input.client.d.ts +2 -2
  116. package/dist/components/ui/toggle-group.client.d.ts +3 -3
  117. package/dist/components/ui/toggle.d.ts +4 -4
  118. package/dist/components/ui/tooltip.client.d.ts +5 -5
  119. package/dist/components/ui/tree.client.d.ts +5 -5
  120. package/dist/components/ui/tree.client.d.ts.map +1 -1
  121. package/dist/components.d.ts +6 -5
  122. package/dist/components.js +8 -7
  123. package/dist/config/server.d.ts +2 -3
  124. package/dist/config/server.js +3 -4
  125. package/dist/config.d.ts +3 -2
  126. package/dist/config.js +2 -1
  127. package/dist/lib/client.js +1 -1
  128. package/dist/lib/hooks/use-action.d.ts +2 -2
  129. package/dist/modules/auth/components/allowed.client.js +1 -1
  130. package/dist/modules/auth/components/allowed.client.js.map +1 -1
  131. package/dist/modules/auth/components/auth-layout.server.d.ts +3 -4
  132. package/dist/modules/auth/components/auth-layout.server.d.ts.map +1 -1
  133. package/dist/modules/auth/components/auth-layout.server.js +1 -4
  134. package/dist/modules/auth/components/auth-layout.server.js.map +1 -1
  135. package/dist/modules/auth/components/auth-loading.d.ts +7 -0
  136. package/dist/modules/auth/components/auth-loading.d.ts.map +1 -0
  137. package/dist/modules/auth/components/auth-loading.js +18 -0
  138. package/dist/modules/auth/components/auth-loading.js.map +1 -0
  139. package/dist/modules/auth/components/forget-password-page.client.js +2 -2
  140. package/dist/modules/auth/components/guard.client.js +16 -0
  141. package/dist/modules/auth/components/guard.client.js.map +1 -0
  142. package/dist/modules/auth/components/login-page.client.d.ts +1 -5
  143. package/dist/modules/auth/components/login-page.client.d.ts.map +1 -1
  144. package/dist/modules/auth/components/login-page.client.js +41 -31
  145. package/dist/modules/auth/components/login-page.client.js.map +1 -1
  146. package/dist/modules/auth/components/reset-password-page.client.js +3 -3
  147. package/dist/modules/auth/components/update-password-command.d.ts +1 -1
  148. package/dist/modules/auth/components/update-password-command.js +1 -1
  149. package/dist/modules/auth/handler/client.client.d.ts +48 -48
  150. package/dist/modules/auth/handler/client.client.d.ts.map +1 -1
  151. package/dist/modules/auth/handler/proxy.server.d.ts +13 -0
  152. package/dist/modules/auth/handler/proxy.server.d.ts.map +1 -0
  153. package/dist/modules/auth/handler/proxy.server.js +22 -0
  154. package/dist/modules/auth/handler/proxy.server.js.map +1 -0
  155. package/dist/modules/auth/handler/server.server.js +3 -1
  156. package/dist/modules/auth/handler/server.server.js.map +1 -1
  157. package/dist/modules/auth/hooks/use-permission.d.ts +26 -0
  158. package/dist/modules/auth/hooks/use-permission.d.ts.map +1 -0
  159. package/dist/modules/auth/hooks/{use-permission.client.js → use-permission.js} +5 -3
  160. package/dist/modules/auth/hooks/use-permission.js.map +1 -0
  161. package/dist/modules/auth/hooks/use-session.d.ts +34 -0
  162. package/dist/modules/auth/hooks/use-session.d.ts.map +1 -0
  163. package/dist/modules/auth/hooks/use-session.js +21 -0
  164. package/dist/modules/auth/hooks/use-session.js.map +1 -0
  165. package/dist/modules/auth/lib/helpers.server.d.ts +2 -2
  166. package/dist/modules/auth/lib/helpers.server.d.ts.map +1 -1
  167. package/dist/modules/auth/lib/helpers.server.js +3 -6
  168. package/dist/modules/auth/lib/helpers.server.js.map +1 -1
  169. package/dist/modules/auth/lib/validators.d.ts +4 -4
  170. package/dist/modules/auth/lib/validators.d.ts.map +1 -1
  171. package/dist/modules/auth/lib/validators.js +1 -1
  172. package/dist/modules/auth/lib/validators.js.map +1 -1
  173. package/dist/modules/commands/components/alert-dialog-command.client.d.ts +11 -11
  174. package/dist/modules/commands/components/alert-dialog-command.client.js +1 -1
  175. package/dist/modules/commands/components/click-command.client.d.ts +2 -2
  176. package/dist/modules/commands/components/command-trigger.client.d.ts +4 -4
  177. package/dist/modules/commands/components/command-trigger.client.js +1 -1
  178. package/dist/modules/commands/components/dialog-command.client.d.ts +8 -8
  179. package/dist/modules/commands/components/dialog-command.client.js +1 -1
  180. package/dist/modules/commands/components/dropdown-command.client.d.ts +5 -5
  181. package/dist/modules/commands/components/empty-command.client.d.ts +2 -2
  182. package/dist/modules/commands/components/form-dialog-command.client.d.ts +12 -12
  183. package/dist/modules/commands/components/form-dialog-command.client.js +1 -1
  184. package/dist/modules/commands/hooks/use-command-action.client.js +1 -1
  185. package/dist/modules/commands/hooks/use-command-menu.client.js +1 -1
  186. package/dist/modules/commands/hooks/use-command-menu.client.js.map +1 -1
  187. package/dist/modules/commands/menus/context-menu.client.d.ts +2 -2
  188. package/dist/modules/commands/menus/dropdown-menu.client.d.ts +8 -4
  189. package/dist/modules/commands/menus/dropdown-menu.client.d.ts.map +1 -1
  190. package/dist/modules/commands/menus/dropdown-menu.client.js +9 -1
  191. package/dist/modules/commands/menus/dropdown-menu.client.js.map +1 -1
  192. package/dist/modules/commands/menus/inline-menu.client.d.ts +8 -4
  193. package/dist/modules/commands/menus/inline-menu.client.d.ts.map +1 -1
  194. package/dist/modules/commands/menus/inline-menu.client.js +12 -1
  195. package/dist/modules/commands/menus/inline-menu.client.js.map +1 -1
  196. package/dist/modules/commands/menus/responsive-menu.client.d.ts +2 -1
  197. package/dist/modules/commands/menus/responsive-menu.client.d.ts.map +1 -1
  198. package/dist/modules/commands/menus/responsive-menu.client.js +6 -3
  199. package/dist/modules/commands/menus/responsive-menu.client.js.map +1 -1
  200. package/dist/modules/commands/utils/archive-command.client.d.ts +3 -3
  201. package/dist/modules/commands/utils/delete-command.client.d.ts +2 -2
  202. package/dist/modules/commands/utils/send-mail-command.client.d.ts +2 -2
  203. package/dist/modules/commands/utils/send-mail-command.client.d.ts.map +1 -1
  204. package/dist/modules/commands/utils/send-mail-command.client.js +3 -3
  205. package/dist/modules/config/db/helpers.d.ts +5 -5
  206. package/dist/modules/config/db/helpers.d.ts.map +1 -1
  207. package/dist/modules/config/lib/config.server.d.ts +0 -2
  208. package/dist/modules/config/lib/config.server.d.ts.map +1 -1
  209. package/dist/modules/config/lib/config.server.js.map +1 -1
  210. package/dist/modules/config/lib/resolve.server.d.ts +192 -190
  211. package/dist/modules/config/lib/resolve.server.d.ts.map +1 -1
  212. package/dist/modules/config/paths/helpers.d.ts +11 -0
  213. package/dist/modules/config/paths/helpers.d.ts.map +1 -0
  214. package/dist/modules/config/paths/helpers.js +9 -0
  215. package/dist/modules/config/paths/helpers.js.map +1 -0
  216. package/dist/modules/config/paths/types.d.ts +8 -37
  217. package/dist/modules/config/paths/types.d.ts.map +1 -1
  218. package/dist/modules/config/router/client.server.d.ts +4 -4
  219. package/dist/modules/config/router/client.server.d.ts.map +1 -1
  220. package/dist/modules/config/router/context.server.d.ts +194 -192
  221. package/dist/modules/config/router/context.server.d.ts.map +1 -1
  222. package/dist/modules/config/router/init.server.d.ts +200 -198
  223. package/dist/modules/config/router/init.server.d.ts.map +1 -1
  224. package/dist/modules/data-tables/components/cell/common.client.d.ts +5 -5
  225. package/dist/modules/data-tables/components/cell/common.client.d.ts.map +1 -1
  226. package/dist/modules/data-tables/components/column-header.d.ts +2 -2
  227. package/dist/modules/data-tables/components/filters/combobox.client.d.ts +2 -2
  228. package/dist/modules/data-tables/components/filters/combobox.client.d.ts.map +1 -1
  229. package/dist/modules/data-tables/components/filters/combobox.client.js +1 -1
  230. package/dist/modules/data-tables/components/filters/combobox.client.js.map +1 -1
  231. package/dist/modules/data-tables/components/filters/slider.client.d.ts +2 -2
  232. package/dist/modules/data-tables/components/filters/slider.client.d.ts.map +1 -1
  233. package/dist/modules/data-tables/components/header.d.ts +4 -4
  234. package/dist/modules/data-tables/components/layout.d.ts +2 -2
  235. package/dist/modules/data-tables/components/search-input.client.d.ts +2 -2
  236. package/dist/modules/data-tables/components/search-input.client.d.ts.map +1 -1
  237. package/dist/modules/data-tables/components/skeleton.d.ts +2 -2
  238. package/dist/modules/data-tables/components/table.d.ts +7 -7
  239. package/dist/modules/data-tables/components/toolbar.d.ts +3 -3
  240. package/dist/modules/data-tables/hooks/use-context.client.d.ts +2 -2
  241. package/dist/modules/data-tables/hooks/use-context.client.d.ts.map +1 -1
  242. package/dist/modules/data-tables/lib/filters/resolvers.d.ts +1 -1
  243. package/dist/modules/data-tables/lib/filters/resolvers.d.ts.map +1 -1
  244. package/dist/modules/data-tables/lib/search-params.d.ts +5 -5
  245. package/dist/modules/data-tables/lib/search-params.d.ts.map +1 -1
  246. package/dist/modules/data-tables/lib/types.d.ts +1 -1
  247. package/dist/modules/data-tables/tables/data-table/components/table.d.ts +2 -2
  248. package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.ts +2 -2
  249. package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.ts.map +1 -1
  250. package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.ts +2 -2
  251. package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.ts.map +1 -1
  252. package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.ts +2 -2
  253. package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.ts +3 -3
  254. package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.ts +2 -2
  255. package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.ts +2 -2
  256. package/dist/modules/data-tables/tables/inline-table/components/table.d.ts +2 -2
  257. package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.ts +2 -2
  258. package/dist/modules/data-tables/tables/inline-table/hooks/context.client.js +1 -1
  259. package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.js +1 -1
  260. package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.js.map +1 -1
  261. package/dist/modules/inline-edit/components/combobox-dropdown.client.d.ts +2 -2
  262. package/dist/modules/inline-edit/components/combobox-dropdown.client.d.ts.map +1 -1
  263. package/dist/modules/inline-edit/components/combobox.client.d.ts +2 -2
  264. package/dist/modules/inline-edit/components/combobox.client.d.ts.map +1 -1
  265. package/dist/modules/inline-edit/components/date-input.client.d.ts +2 -2
  266. package/dist/modules/inline-edit/components/date-input.client.js +1 -1
  267. package/dist/modules/inline-edit/components/date-picker.client.d.ts +2 -2
  268. package/dist/modules/inline-edit/components/editor.client.d.ts +2 -2
  269. package/dist/modules/inline-edit/components/input-toggle.client.d.ts +2 -2
  270. package/dist/modules/inline-edit/components/input.client.d.ts +3 -3
  271. package/dist/modules/inline-edit/components/richtext.client.d.ts +2 -2
  272. package/dist/modules/inline-edit/components/select.client.d.ts +6 -6
  273. package/dist/modules/inline-edit/components/switch.client.d.ts +2 -2
  274. package/dist/modules/inline-edit/components/toggle.client.d.ts +2 -2
  275. package/dist/modules/inline-edit/hooks/context.client.d.ts +2 -2
  276. package/dist/modules/inline-edit/hooks/use-inline.client.js +1 -1
  277. package/dist/modules/inline-edit/hooks/use-inline.client.js.map +1 -1
  278. package/dist/modules/uploads/components/button.client.d.ts +2 -2
  279. package/dist/modules/uploads/components/button.client.d.ts.map +1 -1
  280. package/dist/modules/uploads/components/images/grid.client.d.ts +2 -2
  281. package/dist/modules/uploads/components/images/grid.client.d.ts.map +1 -1
  282. package/dist/modules/uploads/components/images/grid.client.js +1 -1
  283. package/dist/modules/uploads/components/images/input.client.d.ts +2 -2
  284. package/dist/modules/uploads/components/images/input.client.d.ts.map +1 -1
  285. package/dist/modules/uploads/components/preview-dialog.client.d.ts +2 -2
  286. package/dist/modules/uploads/components/preview-dialog.client.d.ts.map +1 -1
  287. package/dist/modules/uploads/components/zone.client.d.ts +2 -2
  288. package/dist/modules/uploads/components/zone.client.d.ts.map +1 -1
  289. package/dist/modules/uploads/hooks/use-upload-image.client.js +1 -1
  290. package/dist/modules/uploads/lib/proxy.server.d.ts +1 -1
  291. package/dist/modules/uploads/lib/proxy.server.js +4 -4
  292. package/dist/modules/uploads/lib/route.server.d.ts +1 -1
  293. package/dist/modules/uploads/lib/route.server.js +2 -2
  294. package/dist/modules/uploads/lib/router.server.d.ts +965 -965
  295. package/dist/modules/uploads/lib/router.server.d.ts.map +1 -1
  296. package/dist/modules/uploads/lib/router.server.js +2 -2
  297. package/dist/modules/uploads/lib/schema.d.ts +61 -61
  298. package/dist/modules/uploads/lib/validators.d.ts +56 -56
  299. package/dist/modules/uploads/lib/validators.d.ts.map +1 -1
  300. package/package.json +5 -4
  301. package/src/components/common/icons.tsx +6 -0
  302. package/src/components/entry.client.ts +6 -0
  303. package/src/components/entry.server.ts +1 -1
  304. package/src/components/entry.ts +1 -0
  305. package/src/components/header/bottom-bar.client.tsx +2 -2
  306. package/src/components/layouts/admin-layout.tsx +13 -0
  307. package/src/components/layouts/admin-loading.tsx +1 -1
  308. package/src/components/layouts/not-found-page.tsx +9 -1
  309. package/src/components/layouts/not-found-section.tsx +10 -5
  310. package/src/components/layouts/root-loading.tsx +9 -0
  311. package/src/components/{layouts → navigation}/admin-sidebar-header.client.tsx +11 -6
  312. package/src/components/navigation/admin-sidebar-paths.client.tsx +190 -0
  313. package/src/components/navigation/admin-sidebar-skeleton.tsx +44 -0
  314. package/src/components/navigation/admin-sidebar.client.tsx +123 -0
  315. package/src/components/ui/spinner.tsx +51 -0
  316. package/src/modules/auth/components/allowed.client.tsx +1 -1
  317. package/src/modules/auth/components/auth-layout.server.tsx +2 -10
  318. package/src/modules/auth/components/auth-loading.tsx +11 -0
  319. package/src/modules/auth/components/guard.client.tsx +12 -0
  320. package/src/modules/auth/components/login-page.client.tsx +45 -37
  321. package/src/modules/auth/entry.client.ts +2 -0
  322. package/src/modules/auth/entry.server.ts +1 -1
  323. package/src/modules/auth/entry.ts +1 -0
  324. package/src/modules/auth/handler/proxy.server.ts +28 -0
  325. package/src/modules/auth/handler/server.server.ts +5 -0
  326. package/src/modules/auth/hooks/{use-permission.client.ts → use-permission.ts} +4 -2
  327. package/src/modules/auth/hooks/use-session.ts +18 -0
  328. package/src/modules/auth/lib/helpers.server.ts +1 -5
  329. package/src/modules/auth/lib/validators.ts +1 -1
  330. package/src/modules/commands/hooks/use-command-menu.client.tsx +6 -7
  331. package/src/modules/commands/menus/dropdown-menu.client.tsx +11 -2
  332. package/src/modules/commands/menus/inline-menu.client.tsx +14 -1
  333. package/src/modules/commands/menus/responsive-menu.client.tsx +11 -2
  334. package/src/modules/config/entry.server.ts +1 -2
  335. package/src/modules/config/entry.ts +3 -0
  336. package/src/modules/config/lib/config.server.ts +1 -2
  337. package/src/modules/config/lib/router.server.ts +64 -0
  338. package/src/modules/config/paths/helpers.ts +6 -0
  339. package/src/modules/config/paths/types.ts +26 -38
  340. package/src/modules/data-tables/components/filters/combobox.client.tsx +1 -1
  341. package/src/modules/data-tables/tables/inline-table/hooks/use-input.client.ts +1 -1
  342. package/src/modules/inline-edit/hooks/use-inline.client.tsx +1 -1
  343. package/dist/components/layouts/admin-layout.server.d.ts +0 -14
  344. package/dist/components/layouts/admin-layout.server.d.ts.map +0 -1
  345. package/dist/components/layouts/admin-layout.server.js +0 -26
  346. package/dist/components/layouts/admin-layout.server.js.map +0 -1
  347. package/dist/components/layouts/admin-sidebar-context.client.js +0 -28
  348. package/dist/components/layouts/admin-sidebar-context.client.js.map +0 -1
  349. package/dist/components/layouts/admin-sidebar-header.client.js.map +0 -1
  350. package/dist/components/layouts/admin-sidebar.client.js +0 -51
  351. package/dist/components/layouts/admin-sidebar.client.js.map +0 -1
  352. package/dist/modules/auth/components/allowed.server.d.ts +0 -23
  353. package/dist/modules/auth/components/allowed.server.d.ts.map +0 -1
  354. package/dist/modules/auth/components/allowed.server.js +0 -24
  355. package/dist/modules/auth/components/allowed.server.js.map +0 -1
  356. package/dist/modules/auth/hooks/use-permission.client.js.map +0 -1
  357. package/dist/modules/config/paths/create.server.d.ts +0 -14
  358. package/dist/modules/config/paths/create.server.d.ts.map +0 -1
  359. package/dist/modules/config/paths/create.server.js +0 -12
  360. package/dist/modules/config/paths/create.server.js.map +0 -1
  361. package/dist/modules/config/paths/get.server.js +0 -47
  362. package/dist/modules/config/paths/get.server.js.map +0 -1
  363. package/src/components/layouts/admin-layout.server.tsx +0 -31
  364. package/src/components/layouts/admin-sidebar-context.client.tsx +0 -34
  365. package/src/components/layouts/admin-sidebar.client.tsx +0 -88
  366. package/src/modules/auth/components/allowed.server.tsx +0 -41
  367. package/src/modules/config/paths/create.server.ts +0 -10
  368. package/src/modules/config/paths/get.server.ts +0 -69
@@ -4,4 +4,6 @@ import { LoginPage } from "../modules/auth/components/login-page.client.js";
4
4
  import { ResetPasswordPage } from "../modules/auth/components/reset-password-page.client.js";
5
5
  import { UpdatePasswordCommand, UpdatePasswordCommandProps, UpdatePasswordCommandTrigger } from "../modules/auth/components/update-password-command.js";
6
6
  import { ClientAuth, ClientSession, authClient } from "../modules/auth/handler/client.client.js";
7
- export { Allowed, ClientAuth, ClientSession, ForgetPasswordPage, LoginPage, ResetPasswordPage, UpdatePasswordCommand, UpdatePasswordCommandProps, UpdatePasswordCommandTrigger, authClient };
7
+ import { usePermission } from "../modules/auth/hooks/use-permission.js";
8
+ import { useSession } from "../modules/auth/hooks/use-session.js";
9
+ export { Allowed, ClientAuth, ClientSession, ForgetPasswordPage, LoginPage, ResetPasswordPage, UpdatePasswordCommand, UpdatePasswordCommandProps, UpdatePasswordCommandTrigger, authClient, usePermission, useSession };
@@ -1,8 +1,10 @@
1
1
  import { authClient } from "../modules/auth/handler/client.client.js";
2
- import { Allowed } from "../modules/auth/components/allowed.client.js";
3
2
  import { ForgetPasswordPage } from "../modules/auth/components/forget-password-page.client.js";
4
3
  import { LoginPage } from "../modules/auth/components/login-page.client.js";
5
4
  import { ResetPasswordPage } from "../modules/auth/components/reset-password-page.client.js";
6
5
  import { UpdatePasswordCommand, UpdatePasswordCommandTrigger } from "../modules/auth/components/update-password-command.js";
6
+ import { useSession } from "../modules/auth/hooks/use-session.js";
7
+ import { usePermission } from "../modules/auth/hooks/use-permission.js";
8
+ import { Allowed } from "../modules/auth/components/allowed.client.js";
7
9
 
8
- export { Allowed, ForgetPasswordPage, LoginPage, ResetPasswordPage, UpdatePasswordCommand, UpdatePasswordCommandTrigger, authClient };
10
+ export { Allowed, ForgetPasswordPage, LoginPage, ResetPasswordPage, UpdatePasswordCommand, UpdatePasswordCommandTrigger, authClient, usePermission, useSession };
@@ -1,5 +1,5 @@
1
- import { Allowed } from "../modules/auth/components/allowed.server.js";
2
1
  import { AuthLayout } from "../modules/auth/components/auth-layout.server.js";
2
+ import { createAuthProxy } from "../modules/auth/handler/proxy.server.js";
3
3
  import { handleAuthRoute } from "../modules/auth/handler/route.server.js";
4
4
  import { createUser, getSession, updateUser } from "../modules/auth/lib/helpers.server.js";
5
- export { Allowed, AuthLayout, createUser, getSession, handleAuthRoute, updateUser };
5
+ export { AuthLayout, createAuthProxy, createUser, getSession, handleAuthRoute, updateUser };
@@ -1,6 +1,6 @@
1
- import { createUser, getSession, updateUser } from "../modules/auth/lib/helpers.server.js";
2
- import { Allowed } from "../modules/auth/components/allowed.server.js";
3
1
  import { AuthLayout } from "../modules/auth/components/auth-layout.server.js";
2
+ import { createAuthProxy } from "../modules/auth/handler/proxy.server.js";
4
3
  import { handleAuthRoute } from "../modules/auth/handler/route.server.js";
4
+ import { createUser, getSession, updateUser } from "../modules/auth/lib/helpers.server.js";
5
5
 
6
- export { Allowed, AuthLayout, createUser, getSession, handleAuthRoute, updateUser };
6
+ export { AuthLayout, createAuthProxy, createUser, getSession, handleAuthRoute, updateUser };
package/dist/auth.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { Permission, Role, adminAc, createAccessControl, createStatements, defaultStatements } from "./modules/auth/lib/permissions.js";
2
+ import { AuthLoading } from "./modules/auth/components/auth-loading.js";
2
3
  import { accounts, sessions, users, verifications } from "./modules/auth/db/schema.js";
3
4
  import { CreateUserSchema, UpdatePasswordSchema, UpdateUserSchema, User, createUserSchema, forgotPasswordSchema, loginSchema, resetPasswordSchema, updatePasswordSchema, updateUserSchema } from "./modules/auth/lib/validators.js";
4
- export { CreateUserSchema, Permission, Role, UpdatePasswordSchema, UpdateUserSchema, User, accounts, adminAc, createAccessControl, createStatements, createUserSchema, defaultStatements, forgotPasswordSchema, loginSchema, resetPasswordSchema, sessions, updatePasswordSchema, updateUserSchema, users, verifications };
5
+ export { AuthLoading, CreateUserSchema, Permission, Role, UpdatePasswordSchema, UpdateUserSchema, User, accounts, adminAc, createAccessControl, createStatements, createUserSchema, defaultStatements, forgotPasswordSchema, loginSchema, resetPasswordSchema, sessions, updatePasswordSchema, updateUserSchema, users, verifications };
package/dist/auth.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import { accounts, sessions, users, verifications } from "./modules/auth/db/schema.js";
2
- import { adminAc, createAccessControl, createStatements, defaultStatements } from "./modules/auth/lib/permissions.js";
3
2
  import { createUserSchema, forgotPasswordSchema, loginSchema, resetPasswordSchema, updatePasswordSchema, updateUserSchema } from "./modules/auth/lib/validators.js";
3
+ import { AuthLoading } from "./modules/auth/components/auth-loading.js";
4
+ import { adminAc, createAccessControl, createStatements, defaultStatements } from "./modules/auth/lib/permissions.js";
4
5
 
5
- export { accounts, adminAc, createAccessControl, createStatements, createUserSchema, defaultStatements, forgotPasswordSchema, loginSchema, resetPasswordSchema, sessions, updatePasswordSchema, updateUserSchema, users, verifications };
6
+ export { AuthLoading, accounts, adminAc, createAccessControl, createStatements, createUserSchema, defaultStatements, forgotPasswordSchema, loginSchema, resetPasswordSchema, sessions, updatePasswordSchema, updateUserSchema, users, verifications };
@@ -7,10 +7,10 @@ import { CommandDialog, CommandDialogContent, CommandDialogDescription, CommandD
7
7
  import { CommandDropdown, CommandDropdownContent, CommandDropdownItem, CommandDropdownProps, CommandDropdownTrigger } from "../modules/commands/components/dropdown-command.client.js";
8
8
  import { CommandEmpty, CommandEmptyProps } from "../modules/commands/components/empty-command.client.js";
9
9
  import { ContextCommandMenu, ContextCommandMenuContent, ContextCommandMenuTrigger } from "../modules/commands/menus/context-menu.client.js";
10
- import { DropdownCommandMenu } from "../modules/commands/menus/dropdown-menu.client.js";
11
- import { InlineCommandMenu, InlineCommandMenuProps } from "../modules/commands/menus/inline-menu.client.js";
12
- import { ResponsiveCommandMenu } from "../modules/commands/menus/responsive-menu.client.js";
10
+ import { DropdownCommandMenu, DropdownCommandMenuLoading } from "../modules/commands/menus/dropdown-menu.client.js";
11
+ import { InlineCommandMenu, InlineCommandMenuLoading, InlineCommandMenuProps } from "../modules/commands/menus/inline-menu.client.js";
12
+ import { ResponsiveCommandMenu, ResponsiveCommandMenuLoading } from "../modules/commands/menus/responsive-menu.client.js";
13
13
  import { ArchiveCommand, ArchiveCommandProps, RestoreCommand } from "../modules/commands/utils/archive-command.client.js";
14
14
  import { DeleteCommand, DeleteCommandProps } from "../modules/commands/utils/delete-command.client.js";
15
15
  import { SendMailCommand, SendMailCommandMeta, SendMailCommandProps, SendMailCommandTrigger } from "../modules/commands/utils/send-mail-command.client.js";
16
- export { ArchiveCommand, ArchiveCommandProps, BulkCommandAction, CommandAction, CommandActionResult, CommandAlertDialog, CommandAlertDialogAction, CommandAlertDialogCancel, CommandAlertDialogContent, CommandAlertDialogDescription, CommandAlertDialogFooter, CommandAlertDialogHeader, CommandAlertDialogTitle, CommandAlertDialogTrigger, CommandClick, CommandClickProps, CommandDialog, CommandDialogContent, CommandDialogDescription, CommandDialogFooter, CommandDialogHeader, CommandDialogTitle, CommandDialogTrigger, CommandDropdown, CommandDropdownContent, CommandDropdownItem, CommandDropdownProps, CommandDropdownTrigger, CommandEmpty, CommandEmptyProps, CommandFormDialog, CommandFormDialogCancel, CommandFormDialogContent, CommandFormDialogContentProps, CommandFormDialogContentProvider, CommandFormDialogDescription, CommandFormDialogFields, CommandFormDialogFooter, CommandFormDialogHeader, CommandFormDialogSubmit, CommandFormDialogTitle, CommandFormDialogTrigger, CommandIcon, CommandLabel, CommandTrigger, CommandTriggerContext, ContextCommandMenu, ContextCommandMenuContent, ContextCommandMenuTrigger, DeleteCommand, DeleteCommandProps, DropdownCommandMenu, InlineCommandMenu, InlineCommandMenuProps, ResponsiveCommandMenu, RestoreCommand, SendMailCommand, SendMailCommandMeta, SendMailCommandProps, SendMailCommandTrigger, useCommandAction, useCommandAction2 };
16
+ export { ArchiveCommand, ArchiveCommandProps, BulkCommandAction, CommandAction, CommandActionResult, CommandAlertDialog, CommandAlertDialogAction, CommandAlertDialogCancel, CommandAlertDialogContent, CommandAlertDialogDescription, CommandAlertDialogFooter, CommandAlertDialogHeader, CommandAlertDialogTitle, CommandAlertDialogTrigger, CommandClick, CommandClickProps, CommandDialog, CommandDialogContent, CommandDialogDescription, CommandDialogFooter, CommandDialogHeader, CommandDialogTitle, CommandDialogTrigger, CommandDropdown, CommandDropdownContent, CommandDropdownItem, CommandDropdownProps, CommandDropdownTrigger, CommandEmpty, CommandEmptyProps, CommandFormDialog, CommandFormDialogCancel, CommandFormDialogContent, CommandFormDialogContentProps, CommandFormDialogContentProvider, CommandFormDialogDescription, CommandFormDialogFields, CommandFormDialogFooter, CommandFormDialogHeader, CommandFormDialogSubmit, CommandFormDialogTitle, CommandFormDialogTrigger, CommandIcon, CommandLabel, CommandTrigger, CommandTriggerContext, ContextCommandMenu, ContextCommandMenuContent, ContextCommandMenuTrigger, DeleteCommand, DeleteCommandProps, DropdownCommandMenu, DropdownCommandMenuLoading, InlineCommandMenu, InlineCommandMenuLoading, InlineCommandMenuProps, ResponsiveCommandMenu, ResponsiveCommandMenuLoading, RestoreCommand, SendMailCommand, SendMailCommandMeta, SendMailCommandProps, SendMailCommandTrigger, useCommandAction, useCommandAction2 };
@@ -7,11 +7,11 @@ import { CommandDialog, CommandDialogContent, CommandDialogDescription, CommandD
7
7
  import { CommandDropdown, CommandDropdownContent, CommandDropdownItem, CommandDropdownTrigger } from "../modules/commands/components/dropdown-command.client.js";
8
8
  import { CommandEmpty } from "../modules/commands/components/empty-command.client.js";
9
9
  import { ContextCommandMenu, ContextCommandMenuContent, ContextCommandMenuTrigger } from "../modules/commands/menus/context-menu.client.js";
10
- import { DropdownCommandMenu } from "../modules/commands/menus/dropdown-menu.client.js";
11
- import { InlineCommandMenu } from "../modules/commands/menus/inline-menu.client.js";
12
- import { ResponsiveCommandMenu } from "../modules/commands/menus/responsive-menu.client.js";
10
+ import { DropdownCommandMenu, DropdownCommandMenuLoading } from "../modules/commands/menus/dropdown-menu.client.js";
11
+ import { InlineCommandMenu, InlineCommandMenuLoading } from "../modules/commands/menus/inline-menu.client.js";
12
+ import { ResponsiveCommandMenu, ResponsiveCommandMenuLoading } from "../modules/commands/menus/responsive-menu.client.js";
13
13
  import { ArchiveCommand, RestoreCommand } from "../modules/commands/utils/archive-command.client.js";
14
14
  import { DeleteCommand } from "../modules/commands/utils/delete-command.client.js";
15
15
  import { SendMailCommand, SendMailCommandTrigger } from "../modules/commands/utils/send-mail-command.client.js";
16
16
 
17
- export { ArchiveCommand, CommandAlertDialog, CommandAlertDialogAction, CommandAlertDialogCancel, CommandAlertDialogContent, CommandAlertDialogDescription, CommandAlertDialogFooter, CommandAlertDialogHeader, CommandAlertDialogTitle, CommandAlertDialogTrigger, CommandClick, CommandDialog, CommandDialogContent, CommandDialogDescription, CommandDialogFooter, CommandDialogHeader, CommandDialogTitle, CommandDialogTrigger, CommandDropdown, CommandDropdownContent, CommandDropdownItem, CommandDropdownTrigger, CommandEmpty, CommandFormDialog, CommandFormDialogCancel, CommandFormDialogContent, CommandFormDialogContentProvider, CommandFormDialogDescription, CommandFormDialogFields, CommandFormDialogFooter, CommandFormDialogHeader, CommandFormDialogSubmit, CommandFormDialogTitle, CommandFormDialogTrigger, CommandIcon, CommandLabel, CommandTrigger, CommandTriggerContext, ContextCommandMenu, ContextCommandMenuContent, ContextCommandMenuTrigger, DeleteCommand, DropdownCommandMenu, InlineCommandMenu, ResponsiveCommandMenu, RestoreCommand, SendMailCommand, SendMailCommandTrigger, useCommandAction, useCommandAction2 };
17
+ export { ArchiveCommand, CommandAlertDialog, CommandAlertDialogAction, CommandAlertDialogCancel, CommandAlertDialogContent, CommandAlertDialogDescription, CommandAlertDialogFooter, CommandAlertDialogHeader, CommandAlertDialogTitle, CommandAlertDialogTrigger, CommandClick, CommandDialog, CommandDialogContent, CommandDialogDescription, CommandDialogFooter, CommandDialogHeader, CommandDialogTitle, CommandDialogTrigger, CommandDropdown, CommandDropdownContent, CommandDropdownItem, CommandDropdownTrigger, CommandEmpty, CommandFormDialog, CommandFormDialogCancel, CommandFormDialogContent, CommandFormDialogContentProvider, CommandFormDialogDescription, CommandFormDialogFields, CommandFormDialogFooter, CommandFormDialogHeader, CommandFormDialogSubmit, CommandFormDialogTitle, CommandFormDialogTrigger, CommandIcon, CommandLabel, CommandTrigger, CommandTriggerContext, ContextCommandMenu, ContextCommandMenuContent, ContextCommandMenuTrigger, DeleteCommand, DropdownCommandMenu, DropdownCommandMenuLoading, InlineCommandMenu, InlineCommandMenuLoading, ResponsiveCommandMenu, ResponsiveCommandMenuLoading, RestoreCommand, SendMailCommand, SendMailCommandTrigger, useCommandAction, useCommandAction2 };
@@ -9,7 +9,11 @@ import { HeaderBreadcrumb, HeaderBreadcrumbProps, HeaderBreadcrumbSeparator, Hea
9
9
  import { Header } from "./header/header.client.js";
10
10
  import { HeaderTopbarMobileNavSwitcher } from "./header/mobile-nav-switcher.client.js";
11
11
  import { Topbar, TopbarProps, TopbarTitle, TopbarTitleProps, TopbarTools, TopbarToolsProps } from "./header/top-bar.client.js";
12
+ import { AdminContent } from "./layouts/admin-content.client.js";
12
13
  import { Providers } from "./layouts/providers.client.js";
14
+ import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./ui/tooltip.client.js";
15
+ import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from "./ui/sidebar.client.js";
16
+ import { Path, PathGroup, PathGroupItems, PathGroupTitle, PathItems, PathLink, PathSubItem, PathSubItemLink, Paths } from "./navigation/admin-sidebar-paths.client.js";
13
17
  import { Avatar, AvatarFallback, AvatarImage } from "./ui/avatar.client.js";
14
18
  import { ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent } from "./ui/chart.client.js";
15
19
  import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./ui/collapsible.client.js";
@@ -24,11 +28,9 @@ import { Progress } from "./ui/progress.client.js";
24
28
  import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from "./ui/resizable.client.js";
25
29
  import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./ui/select.client.js";
26
30
  import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from "./ui/sheet.client.js";
27
- import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./ui/tooltip.client.js";
28
- import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from "./ui/sidebar.client.js";
29
31
  import { Toaster, toast } from "./ui/sonner.client.js";
30
32
  import { TimeInput } from "./ui/time-input.client.js";
31
33
  import { TimePickerInput, TimePickerInputProps } from "./ui/time-picker-input.client.js";
32
34
  import { ToggleGroup, ToggleGroupItem } from "./ui/toggle-group.client.js";
33
35
  import { Tree, TreeDragLine, TreeItem, TreeItemLabel } from "./ui/tree.client.js";
34
- export { Avatar, AvatarFallback, AvatarImage, BottomBar, BottomBarLink, BottomBarLinks, BottomBarLinksProps, BottomBarProps, ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, Combobox, ComboboxDropdown, ComboboxDropdownItem, ComboboxDropdownProps, ComboboxItem, ComboboxProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Editor, EditorContent, EditorContext, EditorContextProvider, EditorPreview, FixedMenu, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Header, HeaderBreadcrumb, HeaderBreadcrumbProps, HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList, HeaderTopbarBackButton, HeaderTopbarMobileNavSwitcher, HoverCard, HoverCardContent, HoverCardTrigger, Progress, Providers, ResizableHandle, ResizablePanel, ResizablePanelGroup, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, TimeInput, TimePickerInput, TimePickerInputProps, Toaster, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Topbar, TopbarProps, TopbarTitle, TopbarTitleProps, TopbarTools, TopbarToolsProps, Tree, TreeDragLine, TreeItem, TreeItemLabel, toast, useFormField, useSidebar };
36
+ export { AdminContent, Avatar, AvatarFallback, AvatarImage, BottomBar, BottomBarLink, BottomBarLinks, BottomBarLinksProps, BottomBarProps, ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, Combobox, ComboboxDropdown, ComboboxDropdownItem, ComboboxDropdownProps, ComboboxItem, ComboboxProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Editor, EditorContent, EditorContext, EditorContextProvider, EditorPreview, FixedMenu, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Header, HeaderBreadcrumb, HeaderBreadcrumbProps, HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList, HeaderTopbarBackButton, HeaderTopbarMobileNavSwitcher, HoverCard, HoverCardContent, HoverCardTrigger, Path, PathGroup, PathGroupItems, PathGroupTitle, PathItems, PathLink, PathSubItem, PathSubItemLink, Paths, Progress, Providers, ResizableHandle, ResizablePanel, ResizablePanelGroup, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, TimeInput, TimePickerInput, TimePickerInputProps, Toaster, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Topbar, TopbarProps, TopbarTitle, TopbarTitleProps, TopbarTools, TopbarToolsProps, Tree, TreeDragLine, TreeItem, TreeItemLabel, toast, useFormField, useSidebar };
@@ -1,3 +1,4 @@
1
+ import { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from "./ui/form.client.js";
1
2
  import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./ui/dialog.client.js";
2
3
  import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./ui/tooltip.client.js";
3
4
  import { EditorContext, EditorContextProvider } from "./editor/context.client.js";
@@ -12,24 +13,25 @@ import { HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopL
12
13
  import { Header } from "./header/header.client.js";
13
14
  import { HeaderTopbarMobileNavSwitcher } from "./header/mobile-nav-switcher.client.js";
14
15
  import { Topbar, TopbarTitle, TopbarTools } from "./header/top-bar.client.js";
16
+ import { AdminContent } from "./layouts/admin-content.client.js";
15
17
  import { Toaster, toast } from "./ui/sonner.client.js";
16
18
  import { Providers } from "./layouts/providers.client.js";
19
+ import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from "./ui/sheet.client.js";
20
+ import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from "./ui/sidebar.client.js";
17
21
  import { Avatar, AvatarFallback, AvatarImage } from "./ui/avatar.client.js";
22
+ import { Path, PathGroup, PathGroupItems, PathGroupTitle, PathItems, PathLink, PathSubItem, PathSubItemLink, Paths } from "./navigation/admin-sidebar-paths.client.js";
18
23
  import { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent } from "./ui/chart.client.js";
19
24
  import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./ui/collapsible.client.js";
20
25
  import { ComboboxDropdown } from "./ui/combobox-dropdown.client.js";
21
26
  import { Combobox } from "./ui/combobox.client.js";
22
27
  import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from "./ui/drawer.client.js";
23
- import { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from "./ui/form.client.js";
24
28
  import { HoverCard, HoverCardContent, HoverCardTrigger } from "./ui/hover-card.client.js";
25
29
  import { Progress } from "./ui/progress.client.js";
26
30
  import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from "./ui/resizable.client.js";
27
31
  import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./ui/select.client.js";
28
- import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from "./ui/sheet.client.js";
29
- import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from "./ui/sidebar.client.js";
30
32
  import { TimePickerInput } from "./ui/time-picker-input.client.js";
31
33
  import { TimeInput } from "./ui/time-input.client.js";
32
34
  import { ToggleGroup, ToggleGroupItem } from "./ui/toggle-group.client.js";
33
35
  import { Tree, TreeDragLine, TreeItem, TreeItemLabel } from "./ui/tree.client.js";
34
36
 
35
- export { Avatar, AvatarFallback, AvatarImage, BottomBar, BottomBarLinks, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, Combobox, ComboboxDropdown, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Editor, EditorContent, EditorContext, EditorContextProvider, EditorPreview, FixedMenu, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Header, HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList, HeaderTopbarBackButton, HeaderTopbarMobileNavSwitcher, HoverCard, HoverCardContent, HoverCardTrigger, Progress, Providers, ResizableHandle, ResizablePanel, ResizablePanelGroup, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, TimeInput, TimePickerInput, Toaster, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Topbar, TopbarTitle, TopbarTools, Tree, TreeDragLine, TreeItem, TreeItemLabel, toast, useFormField, useSidebar };
37
+ export { AdminContent, Avatar, AvatarFallback, AvatarImage, BottomBar, BottomBarLinks, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, Combobox, ComboboxDropdown, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Editor, EditorContent, EditorContext, EditorContextProvider, EditorPreview, FixedMenu, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Header, HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList, HeaderTopbarBackButton, HeaderTopbarMobileNavSwitcher, HoverCard, HoverCardContent, HoverCardTrigger, Path, PathGroup, PathGroupItems, PathGroupTitle, PathItems, PathLink, PathSubItem, PathSubItemLink, Paths, Progress, Providers, ResizableHandle, ResizablePanel, ResizablePanelGroup, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, TimeInput, TimePickerInput, Toaster, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Topbar, TopbarTitle, TopbarTools, Tree, TreeDragLine, TreeItem, TreeItemLabel, toast, useFormField, useSidebar };
@@ -1,5 +1,5 @@
1
1
  import { LucideIcon, LucideProps } from "lucide-react";
2
- import * as react_jsx_runtime227 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime240 from "react/jsx-runtime";
3
3
  import * as react1 from "react";
4
4
 
5
5
  //#region src/components/common/icons.d.ts
@@ -24,6 +24,7 @@ declare const Icons: {
24
24
  edit: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
25
25
  warning: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
26
26
  user: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
27
+ users: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
27
28
  arrowUp: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
28
29
  arrowDown: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
29
30
  arrowRight: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
@@ -39,6 +40,8 @@ declare const Icons: {
39
40
  preview: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
40
41
  externalLink: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
41
42
  sun: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
43
+ lock: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
44
+ unLock: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
42
45
  moon: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
43
46
  search: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
44
47
  laptop: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
@@ -50,7 +53,7 @@ declare const Icons: {
50
53
  regulations: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
51
54
  home: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
52
55
  building: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
53
- logo: (props: LucideProps) => react_jsx_runtime227.JSX.Element;
56
+ logo: (props: LucideProps) => react_jsx_runtime240.JSX.Element;
54
57
  };
55
58
  //#endregion
56
59
  export { Icon, Icons };
@@ -1 +1 @@
1
- {"version":3,"file":"icons.d.ts","names":[],"sources":["../../../src/components/common/icons.tsx"],"sourcesContent":[],"mappings":";;;;;KAkDY,IAAA,GAAO;cAEN;;;EAFD,OAAI,kCAAa,KAAA,YAAA,EAAA,KAAA,CAAA,uBAAA,cAAA,CAAA,CAAA;EAEhB,WA0GZ,kCAAA,KAAA,YAAA,EAAA,KAAA,CAAA,uBAAA,cAAA,CAAA,CAAA;EAAA,YAAA,kCAAA,KAAA,YAAA,EAAA,KAAA,CAAA,uBAAA,cAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA5De,gBAAW,oBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"icons.d.ts","names":[],"sources":["../../../src/components/common/icons.tsx"],"sourcesContent":[],"mappings":";;;;;KAqDY,IAAA,GAAO;cAEN;;;EAFD,OAAI,kCAAa,KAAA,YAAA,EAAA,KAAA,CAAA,uBAAA,cAAA,CAAA,CAAA;EAEhB,WA6GZ,kCAAA,KAAA,YAAA,EAAA,KAAA,CAAA,uBAAA,cAAA,CAAA,CAAA;EAAA,YAAA,kCAAA,KAAA,YAAA,EAAA,KAAA,CAAA,uBAAA,cAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA5De,gBAAW,oBAAA,CAAA,GAAA,CAAA"}
@@ -1,4 +1,4 @@
1
- import { AlertTriangle, ArchiveIcon, ArchiveRestore, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, BuildingIcon, Check, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, ClipboardCheck, Copy, CreditCard, Download, ExternalLink, EyeIcon, File, FileText, HelpCircle, HomeIcon, Image, Laptop, LayoutDashboardIcon, Loader2, Moon, MoreVertical, MoveLeft, MoveRight, PenSquare, PencilRuler, Pizza, Plus, RefreshCcw, RotateCw, SaveIcon, ScrollTextIcon, Search, Settings, SunMedium, Trash, User, X } from "lucide-react";
1
+ import { AlertTriangle, ArchiveIcon, ArchiveRestore, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, BuildingIcon, Check, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, ClipboardCheck, Copy, CreditCard, Download, ExternalLink, EyeIcon, File, FileText, HelpCircle, HomeIcon, Image, Laptop, LayoutDashboardIcon, Loader2, LockKeyhole, LockKeyholeOpen, Moon, MoreVertical, MoveLeft, MoveRight, PenSquare, PencilRuler, Pizza, Plus, RefreshCcw, RotateCw, SaveIcon, ScrollTextIcon, Search, Settings, SunMedium, Trash, User, UsersIcon, X } from "lucide-react";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/common/icons.tsx
@@ -22,6 +22,7 @@ const Icons = {
22
22
  edit: PenSquare,
23
23
  warning: AlertTriangle,
24
24
  user: User,
25
+ users: UsersIcon,
25
26
  arrowUp: ArrowUp,
26
27
  arrowDown: ArrowDown,
27
28
  arrowRight: ArrowRight,
@@ -37,6 +38,8 @@ const Icons = {
37
38
  preview: EyeIcon,
38
39
  externalLink: ExternalLink,
39
40
  sun: SunMedium,
41
+ lock: LockKeyhole,
42
+ unLock: LockKeyholeOpen,
40
43
  moon: Moon,
41
44
  search: Search,
42
45
  laptop: Laptop,
@@ -1 +1 @@
1
- {"version":3,"file":"icons.js","names":[],"sources":["../../../src/components/common/icons.tsx"],"sourcesContent":["import {\n AlertTriangle,\n ArchiveIcon,\n ArchiveRestore,\n ArrowDown,\n ArrowLeft,\n ArrowRight,\n ArrowUp,\n BuildingIcon,\n Check,\n ChevronDown,\n ChevronLeft,\n ChevronRight,\n ChevronUp,\n ClipboardCheck,\n Copy,\n CreditCard,\n Download,\n ExternalLink,\n EyeIcon,\n File,\n FileText,\n HelpCircle,\n HomeIcon,\n Image,\n Laptop,\n LayoutDashboardIcon,\n Loader2,\n Moon,\n MoreVertical,\n MoveLeft,\n MoveRight,\n PencilRuler,\n PenSquare,\n Pizza,\n Plus,\n RefreshCcw,\n RotateCw,\n SaveIcon,\n ScrollTextIcon,\n Search,\n Settings,\n SunMedium,\n Trash,\n User,\n X,\n type LucideIcon,\n type LucideProps,\n} from \"lucide-react\";\n\nexport type Icon = LucideIcon;\n\nexport const Icons = {\n close: X,\n save: SaveIcon,\n spinner: Loader2,\n chevronLeft: ChevronLeft,\n chevronRight: ChevronRight,\n chevronDown: ChevronDown,\n chevronUp: ChevronUp,\n trash: Trash,\n post: FileText,\n page: File,\n media: Image,\n download: Download,\n settings: Settings,\n billing: CreditCard,\n ellipsis: MoreVertical,\n add: Plus,\n edit: PenSquare,\n warning: AlertTriangle,\n user: User,\n arrowUp: ArrowUp,\n arrowDown: ArrowDown,\n arrowRight: ArrowRight,\n arrowLeft: ArrowLeft,\n moveLeft: MoveLeft,\n moveRight: MoveRight,\n help: HelpCircle,\n pizza: Pizza,\n check: Check,\n copy: Copy,\n copyDone: ClipboardCheck,\n refresh: RotateCw,\n preview: EyeIcon,\n externalLink: ExternalLink,\n sun: SunMedium,\n moon: Moon,\n search: Search,\n laptop: Laptop,\n active: RefreshCcw,\n draft: PencilRuler,\n archive: ArchiveIcon,\n restore: ArchiveRestore,\n dashboard: LayoutDashboardIcon,\n regulations: ScrollTextIcon,\n home: HomeIcon,\n building: BuildingIcon,\n logo: (props: LucideProps) => (\n <svg viewBox=\"0 0 120.09 141.73\" {...props}>\n <title>Tulip Logo Icon</title>\n <defs>\n <linearGradient\n id=\"tulip-logo-icon-gradient\"\n x1=\"60.5\"\n y1=\"0\"\n x2=\"60.5\"\n y2=\"141.73\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#ffc754\" />\n <stop offset=\"1\" stopColor=\"#ff1800\" />\n </linearGradient>\n <linearGradient\n id=\"tulip-logo-icon-gradient-2\"\n x1=\"72.4\"\n y1=\"5.81\"\n x2=\"72.4\"\n y2=\"141.73\"\n xlinkHref=\"#tulip-logo-icon-gradient\"\n />\n <linearGradient\n id=\"tulip-logo-icon-gradient-3\"\n x1=\"47.69\"\n y1=\"5.81\"\n x2=\"47.69\"\n y2=\"141.73\"\n xlinkHref=\"#tulip-logo-icon-gradient\"\n />\n </defs>\n\n <g>\n <g>\n <path\n d=\"M107.88,93.09c0-35.95-47.38-93.09-47.38-93.09,0,0-47.39,57.14-47.38,93.09,0,26.17,21.21,48.64,47.38,48.64,26.17,0,47.39-22.47,47.38-48.64Z\"\n style={{\n fill: \"url(#tulip-logo-icon-gradient)\",\n opacity: 0.75,\n }}\n />\n <path\n d=\"M116.68,109.5c12.3-33.78-12.69-103.68-12.69-103.68,0,0-64.07,37.49-76.37,71.27-8.95,24.59,3.3,52.97,27.89,61.92,24.59,8.95,52.21-4.91,61.16-29.5Z\"\n style={{\n fill: \"url(#tulip-logo-icon-gradient-2)\",\n opacity: 0.75,\n }}\n />\n <path\n d=\"M92.46,77.09C80.16,43.3,16.09,5.81,16.09,5.81c0,0-24.98,69.9-12.69,103.68,8.95,24.59,36.57,38.45,61.16,29.5,24.59-8.95,36.84-37.32,27.89-61.92Z\"\n style={{\n fill: \"url(#tulip-logo-icon-gradient-3)\",\n opacity: 0.75,\n }}\n />\n </g>\n </g>\n </svg>\n ),\n};\n"],"mappings":";;;;AAoDA,MAAa,QAAQ;CACnB,OAAO;CACP,MAAM;CACN,SAAS;CACT,aAAa;CACb,cAAc;CACd,aAAa;CACb,WAAW;CACX,OAAO;CACP,MAAM;CACN,MAAM;CACN,OAAO;CACP,UAAU;CACV,UAAU;CACV,SAAS;CACT,UAAU;CACV,KAAK;CACL,MAAM;CACN,SAAS;CACT,MAAM;CACN,SAAS;CACT,WAAW;CACX,YAAY;CACZ,WAAW;CACX,UAAU;CACV,WAAW;CACX,MAAM;CACN,OAAO;CACP,OAAO;CACP,MAAM;CACN,UAAU;CACV,SAAS;CACT,SAAS;CACT,cAAc;CACd,KAAK;CACL,MAAM;CACN,QAAQ;CACR,QAAQ;CACR,QAAQ;CACR,OAAO;CACP,SAAS;CACT,SAAS;CACT,WAAW;CACX,aAAa;CACb,MAAM;CACN,UAAU;CACV,OAAO,UACL,qBAAC;EAAI,SAAQ;EAAoB,GAAI;;GACnC,oBAAC,qBAAM,oBAAuB;GAC9B,qBAAC;IACC,qBAAC;KACC,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,eAAc;gBAEd,oBAAC;MAAK,QAAO;MAAI,WAAU;OAAY,EACvC,oBAAC;MAAK,QAAO;MAAI,WAAU;OAAY;MACxB;IACjB,oBAAC;KACC,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,WAAU;MACV;IACF,oBAAC;KACC,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,WAAU;MACV;OACG;GAEP,oBAAC,iBACC,qBAAC;IACC,oBAAC;KACC,GAAE;KACF,OAAO;MACL,MAAM;MACN,SAAS;MACV;MACD;IACF,oBAAC;KACC,GAAE;KACF,OAAO;MACL,MAAM;MACN,SAAS;MACV;MACD;IACF,oBAAC;KACC,GAAE;KACF,OAAO;MACL,MAAM;MACN,SAAS;MACV;MACD;OACA,GACF;;GACA;CAET"}
1
+ {"version":3,"file":"icons.js","names":[],"sources":["../../../src/components/common/icons.tsx"],"sourcesContent":["import {\n AlertTriangle,\n ArchiveIcon,\n ArchiveRestore,\n ArrowDown,\n ArrowLeft,\n ArrowRight,\n ArrowUp,\n BuildingIcon,\n Check,\n ChevronDown,\n ChevronLeft,\n ChevronRight,\n ChevronUp,\n ClipboardCheck,\n Copy,\n CreditCard,\n Download,\n ExternalLink,\n EyeIcon,\n File,\n FileText,\n HelpCircle,\n HomeIcon,\n Image,\n Laptop,\n LayoutDashboardIcon,\n Loader2,\n LockKeyhole,\n LockKeyholeOpen,\n Moon,\n MoreVertical,\n MoveLeft,\n MoveRight,\n PencilRuler,\n PenSquare,\n Pizza,\n Plus,\n RefreshCcw,\n RotateCw,\n SaveIcon,\n ScrollTextIcon,\n Search,\n Settings,\n SunMedium,\n Trash,\n User,\n UsersIcon,\n X,\n type LucideIcon,\n type LucideProps,\n} from \"lucide-react\";\n\nexport type Icon = LucideIcon;\n\nexport const Icons = {\n close: X,\n save: SaveIcon,\n spinner: Loader2,\n chevronLeft: ChevronLeft,\n chevronRight: ChevronRight,\n chevronDown: ChevronDown,\n chevronUp: ChevronUp,\n trash: Trash,\n post: FileText,\n page: File,\n media: Image,\n download: Download,\n settings: Settings,\n billing: CreditCard,\n ellipsis: MoreVertical,\n add: Plus,\n edit: PenSquare,\n warning: AlertTriangle,\n user: User,\n users: UsersIcon,\n arrowUp: ArrowUp,\n arrowDown: ArrowDown,\n arrowRight: ArrowRight,\n arrowLeft: ArrowLeft,\n moveLeft: MoveLeft,\n moveRight: MoveRight,\n help: HelpCircle,\n pizza: Pizza,\n check: Check,\n copy: Copy,\n copyDone: ClipboardCheck,\n refresh: RotateCw,\n preview: EyeIcon,\n externalLink: ExternalLink,\n sun: SunMedium,\n lock: LockKeyhole,\n unLock: LockKeyholeOpen,\n moon: Moon,\n search: Search,\n laptop: Laptop,\n active: RefreshCcw,\n draft: PencilRuler,\n archive: ArchiveIcon,\n restore: ArchiveRestore,\n dashboard: LayoutDashboardIcon,\n regulations: ScrollTextIcon,\n home: HomeIcon,\n building: BuildingIcon,\n logo: (props: LucideProps) => (\n <svg viewBox=\"0 0 120.09 141.73\" {...props}>\n <title>Tulip Logo Icon</title>\n <defs>\n <linearGradient\n id=\"tulip-logo-icon-gradient\"\n x1=\"60.5\"\n y1=\"0\"\n x2=\"60.5\"\n y2=\"141.73\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#ffc754\" />\n <stop offset=\"1\" stopColor=\"#ff1800\" />\n </linearGradient>\n <linearGradient\n id=\"tulip-logo-icon-gradient-2\"\n x1=\"72.4\"\n y1=\"5.81\"\n x2=\"72.4\"\n y2=\"141.73\"\n xlinkHref=\"#tulip-logo-icon-gradient\"\n />\n <linearGradient\n id=\"tulip-logo-icon-gradient-3\"\n x1=\"47.69\"\n y1=\"5.81\"\n x2=\"47.69\"\n y2=\"141.73\"\n xlinkHref=\"#tulip-logo-icon-gradient\"\n />\n </defs>\n\n <g>\n <g>\n <path\n d=\"M107.88,93.09c0-35.95-47.38-93.09-47.38-93.09,0,0-47.39,57.14-47.38,93.09,0,26.17,21.21,48.64,47.38,48.64,26.17,0,47.39-22.47,47.38-48.64Z\"\n style={{\n fill: \"url(#tulip-logo-icon-gradient)\",\n opacity: 0.75,\n }}\n />\n <path\n d=\"M116.68,109.5c12.3-33.78-12.69-103.68-12.69-103.68,0,0-64.07,37.49-76.37,71.27-8.95,24.59,3.3,52.97,27.89,61.92,24.59,8.95,52.21-4.91,61.16-29.5Z\"\n style={{\n fill: \"url(#tulip-logo-icon-gradient-2)\",\n opacity: 0.75,\n }}\n />\n <path\n d=\"M92.46,77.09C80.16,43.3,16.09,5.81,16.09,5.81c0,0-24.98,69.9-12.69,103.68,8.95,24.59,36.57,38.45,61.16,29.5,24.59-8.95,36.84-37.32,27.89-61.92Z\"\n style={{\n fill: \"url(#tulip-logo-icon-gradient-3)\",\n opacity: 0.75,\n }}\n />\n </g>\n </g>\n </svg>\n ),\n};\n"],"mappings":";;;;AAuDA,MAAa,QAAQ;CACnB,OAAO;CACP,MAAM;CACN,SAAS;CACT,aAAa;CACb,cAAc;CACd,aAAa;CACb,WAAW;CACX,OAAO;CACP,MAAM;CACN,MAAM;CACN,OAAO;CACP,UAAU;CACV,UAAU;CACV,SAAS;CACT,UAAU;CACV,KAAK;CACL,MAAM;CACN,SAAS;CACT,MAAM;CACN,OAAO;CACP,SAAS;CACT,WAAW;CACX,YAAY;CACZ,WAAW;CACX,UAAU;CACV,WAAW;CACX,MAAM;CACN,OAAO;CACP,OAAO;CACP,MAAM;CACN,UAAU;CACV,SAAS;CACT,SAAS;CACT,cAAc;CACd,KAAK;CACL,MAAM;CACN,QAAQ;CACR,MAAM;CACN,QAAQ;CACR,QAAQ;CACR,QAAQ;CACR,OAAO;CACP,SAAS;CACT,SAAS;CACT,WAAW;CACX,aAAa;CACb,MAAM;CACN,UAAU;CACV,OAAO,UACL,qBAAC;EAAI,SAAQ;EAAoB,GAAI;;GACnC,oBAAC,qBAAM,oBAAuB;GAC9B,qBAAC;IACC,qBAAC;KACC,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,eAAc;gBAEd,oBAAC;MAAK,QAAO;MAAI,WAAU;OAAY,EACvC,oBAAC;MAAK,QAAO;MAAI,WAAU;OAAY;MACxB;IACjB,oBAAC;KACC,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,WAAU;MACV;IACF,oBAAC;KACC,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,WAAU;MACV;OACG;GAEP,oBAAC,iBACC,qBAAC;IACC,oBAAC;KACC,GAAE;KACF,OAAO;MACL,MAAM;MACN,SAAS;MACV;MACD;IACF,oBAAC;KACC,GAAE;KACF,OAAO;MACL,MAAM;MACN,SAAS;MACV;MACD;IACF,oBAAC;KACC,GAAE;KACF,OAAO;MACL,MAAM;MACN,SAAS;MACV;MACD;OACA,GACF;;GACA;CAET"}
@@ -1,5 +1,5 @@
1
1
  import { ConfigWithIcon } from "../../lib/types/config.js";
2
- import * as react_jsx_runtime228 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime241 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/common/status.d.ts
5
5
  /**
@@ -43,11 +43,11 @@ type StatusComponentProps<TStatus extends string> = {
43
43
  /**
44
44
  * Status column
45
45
  */
46
- declare function StatusField<TStatus extends string>(props: StatusComponentProps<TStatus>): react_jsx_runtime228.JSX.Element;
46
+ declare function StatusField<TStatus extends string>(props: StatusComponentProps<TStatus>): react_jsx_runtime241.JSX.Element;
47
47
  /**
48
48
  * Status badge
49
49
  */
50
- declare function StatusBadge<TStatus extends string>(props: StatusComponentProps<TStatus>): react_jsx_runtime228.JSX.Element;
50
+ declare function StatusBadge<TStatus extends string>(props: StatusComponentProps<TStatus>): react_jsx_runtime241.JSX.Element;
51
51
  //#endregion
52
52
  export { CreateStatusComponentProps, StatusBadge, StatusField, createStatusConfig, createStatusVariants, findStatus };
53
53
  //# sourceMappingURL=status.d.ts.map
@@ -1,7 +1,7 @@
1
- import * as react_jsx_runtime111 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime106 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/editor/components/content.client.d.ts
4
- declare function EditorContent(): react_jsx_runtime111.JSX.Element;
4
+ declare function EditorContent(): react_jsx_runtime106.JSX.Element;
5
5
  //#endregion
6
6
  export { EditorContent };
7
7
  //# sourceMappingURL=content.client.d.ts.map
@@ -1,7 +1,7 @@
1
- import * as react_jsx_runtime112 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime107 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/editor/components/fixed-menu.client.d.ts
4
- declare function FixedMenu(): react_jsx_runtime112.JSX.Element;
4
+ declare function FixedMenu(): react_jsx_runtime107.JSX.Element;
5
5
  //#endregion
6
6
  export { FixedMenu };
7
7
  //# sourceMappingURL=fixed-menu.client.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime113 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime108 from "react/jsx-runtime";
2
2
  import * as react0 from "react";
3
3
  import { PropsWithChildren } from "react";
4
4
  import { Content, Editor, JSONContent } from "@tiptap/react";
@@ -26,7 +26,7 @@ declare function EditorContextProvider({
26
26
  disabled,
27
27
  className,
28
28
  children
29
- }: EditorContextProviderProps): react_jsx_runtime113.JSX.Element | null;
29
+ }: EditorContextProviderProps): react_jsx_runtime108.JSX.Element | null;
30
30
  //#endregion
31
31
  export { EditorContext, EditorContextProvider };
32
32
  //# sourceMappingURL=context.client.d.ts.map
@@ -1,11 +1,11 @@
1
- import * as react_jsx_runtime114 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime109 from "react/jsx-runtime";
2
2
  import { HTMLAttributes } from "react";
3
3
 
4
4
  //#region src/components/editor/index.client.d.ts
5
5
  declare function Editor({
6
6
  className,
7
7
  ...props
8
- }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime114.JSX.Element;
8
+ }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime109.JSX.Element;
9
9
  //#endregion
10
10
  export { Editor };
11
11
  //# sourceMappingURL=index.client.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime115 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime110 from "react/jsx-runtime";
2
2
  import { Content } from "@tiptap/react";
3
3
 
4
4
  //#region src/components/editor/preview.client.d.ts
@@ -6,7 +6,7 @@ declare function EditorPreview({
6
6
  value
7
7
  }: {
8
8
  value?: Content;
9
- }): react_jsx_runtime115.JSX.Element;
9
+ }): react_jsx_runtime110.JSX.Element;
10
10
  //#endregion
11
11
  export { EditorPreview };
12
12
  //# sourceMappingURL=preview.client.d.ts.map
@@ -1,10 +1,10 @@
1
- import * as react_jsx_runtime116 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime111 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/header/back-button.client.d.ts
4
4
  declare function HeaderTopbarBackButton({
5
5
  className,
6
6
  ...props
7
- }: React.HtmlHTMLAttributes<HTMLButtonElement>): react_jsx_runtime116.JSX.Element;
7
+ }: React.HtmlHTMLAttributes<HTMLButtonElement>): react_jsx_runtime111.JSX.Element;
8
8
  //#endregion
9
9
  export { HeaderTopbarBackButton };
10
10
  //# sourceMappingURL=back-button.client.d.ts.map
@@ -1,5 +1,5 @@
1
- import { PathOutput } from "../../modules/config/paths/types.js";
2
- import * as react_jsx_runtime117 from "react/jsx-runtime";
1
+ import { Path } from "../../modules/config/paths/types.js";
2
+ import * as react_jsx_runtime112 from "react/jsx-runtime";
3
3
  import React from "react";
4
4
 
5
5
  //#region src/components/header/bottom-bar.client.d.ts
@@ -11,11 +11,11 @@ type BottomBarProps = {
11
11
  };
12
12
  declare function BottomBar({
13
13
  children
14
- }: BottomBarProps): react_jsx_runtime117.JSX.Element;
14
+ }: BottomBarProps): react_jsx_runtime112.JSX.Element;
15
15
  /**
16
16
  * Bottombar link component
17
17
  */
18
- type BottomBarLink = Omit<PathOutput, "icon" | "badge">;
18
+ type BottomBarLink = Omit<Path, "icon" | "badge">;
19
19
  type BottomBarLinksProps = React.HTMLAttributes<HTMLElement> & {
20
20
  paths: BottomBarLink[];
21
21
  };
@@ -23,7 +23,7 @@ declare function BottomBarLinks({
23
23
  paths,
24
24
  className,
25
25
  ...props
26
- }: BottomBarLinksProps): react_jsx_runtime117.JSX.Element;
26
+ }: BottomBarLinksProps): react_jsx_runtime112.JSX.Element;
27
27
  //#endregion
28
28
  export { BottomBar, BottomBarLink, BottomBarLinks, BottomBarLinksProps, BottomBarProps };
29
29
  //# sourceMappingURL=bottom-bar.client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bottom-bar.client.d.ts","names":[],"sources":["../../../src/components/header/bottom-bar.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAWY,KAAA,cAAA,GAAc;EAIV,QAAA,EAHJ,KAAA,CAAM,SAGO;CAAA;AAAG,iBAAZ,SAAA,CAAY;EAAA;AAAA,CAAA,EAAY,cAAZ,CAAA,EAA0B,oBAAA,CAAA,GAAA,CAAA,OAA1B;;;;AAWhB,KAAA,aAAA,GAAgB,IAAH,CAAQ,UAAR,EAAA,MAAA,GAAA,OAAA,CAAA;AAAA,KAEb,mBAAA,GAAsB,KAAA,CAAM,cAFf,CAE8B,WAF9B,CAAA,GAAA;OAAQ,EAGxB,aAHwB,EAAA;;AAAD,iBAMhB,cAAA,CANgB;EAAA,KAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAM+B,mBAN/B,CAAA,EAMkD,oBAAA,CAAA,GAAA,CAAA,OANlD"}
1
+ {"version":3,"file":"bottom-bar.client.d.ts","names":[],"sources":["../../../src/components/header/bottom-bar.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAWY,KAAA,cAAA,GAAc;EAIV,QAAA,EAHJ,KAAA,CAAM,SAGO;CAAA;AAAG,iBAAZ,SAAA,CAAY;EAAA;AAAA,CAAA,EAAY,cAAZ,CAAA,EAA0B,oBAAA,CAAA,GAAA,CAAA,OAA1B;;;;AAWhB,KAAA,aAAA,GAAgB,IAAH,CAAQ,IAAR,EAAA,MAAA,GAAA,OAAA,CAAA;AAAA,KAEb,mBAAA,GAAsB,KAAA,CAAM,cAFf,CAE8B,WAF9B,CAAA,GAAA;OAAQ,EAGxB,aAHwB,EAAA;;AAAD,iBAMhB,cAAA,CANgB;EAAA,KAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAM+B,mBAN/B,CAAA,EAMkD,oBAAA,CAAA,GAAA,CAAA,OANlD"}
@@ -1 +1 @@
1
- {"version":3,"file":"bottom-bar.client.js","names":[],"sources":["../../../src/components/header/bottom-bar.client.tsx"],"sourcesContent":["\"use client\";\n\nimport { cn } from \"@/lib/utils/cn\";\nimport { PathOutput } from \"@/modules/config/paths/types\";\nimport Link from \"next/link\";\nimport { useSelectedLayoutSegment } from \"next/navigation\";\nimport type React from \"react\";\n\n/**\n * Bottombar component\n */\nexport type BottomBarProps = {\n children: React.ReactNode;\n};\n\nexport function BottomBar({ children }: BottomBarProps) {\n return (\n <nav className=\"flex h-[var(--header-bottom-bar-height)] items-center justify-between overflow-x-auto border-b\">\n {children}\n </nav>\n );\n}\n\n/**\n * Bottombar link component\n */\nexport type BottomBarLink = Omit<PathOutput, \"icon\" | \"badge\">;\n\nexport type BottomBarLinksProps = React.HTMLAttributes<HTMLElement> & {\n paths: BottomBarLink[];\n};\n\nexport function BottomBarLinks({ paths, className, ...props }: BottomBarLinksProps) {\n const currentSegment = useSelectedLayoutSegment();\n\n return (\n <ul\n {...props}\n className={cn(\"px-content flex flex-row items-center gap-6 text-sm font-medium\", className)}\n >\n {paths.map(({ href, name, segment }) => (\n <Link\n key={href}\n href={href}\n className={cn(\n \"text-muted-foreground hover:text-foreground w-fit text-nowrap break-keep transition-colors\",\n currentSegment === segment && \"text-primary\",\n )}\n >\n {name}\n </Link>\n ))}\n </ul>\n );\n}\n"],"mappings":";;;;;;;;;AAeA,SAAgB,UAAU,EAAE,YAA4B;AACtD,QACE,oBAAC;EAAI,WAAU;EACZ;GACG;;AAaV,SAAgB,eAAe,EAAE,OAAO,UAAW,GAAG,SAA8B;CAClF,MAAM,iBAAiB,0BAA0B;AAEjD,QACE,oBAAC;EACC,GAAI;EACJ,WAAW,GAAG,mEAAmE,UAAU;YAE1F,MAAM,KAAK,EAAE,MAAM,MAAM,cACxB,oBAAC;GAEO;GACN,WAAW,GACT,8FACA,mBAAmB,WAAW,eAC/B;aAEA;KAPI,KAQA,CACP;GACC"}
1
+ {"version":3,"file":"bottom-bar.client.js","names":[],"sources":["../../../src/components/header/bottom-bar.client.tsx"],"sourcesContent":["\"use client\";\n\nimport { cn } from \"@/lib/utils/cn\";\nimport { Path } from \"@/modules/config/paths/types\";\nimport Link from \"next/link\";\nimport { useSelectedLayoutSegment } from \"next/navigation\";\nimport type React from \"react\";\n\n/**\n * Bottombar component\n */\nexport type BottomBarProps = {\n children: React.ReactNode;\n};\n\nexport function BottomBar({ children }: BottomBarProps) {\n return (\n <nav className=\"flex h-[var(--header-bottom-bar-height)] items-center justify-between overflow-x-auto border-b\">\n {children}\n </nav>\n );\n}\n\n/**\n * Bottombar link component\n */\nexport type BottomBarLink = Omit<Path, \"icon\" | \"badge\">;\n\nexport type BottomBarLinksProps = React.HTMLAttributes<HTMLElement> & {\n paths: BottomBarLink[];\n};\n\nexport function BottomBarLinks({ paths, className, ...props }: BottomBarLinksProps) {\n const currentSegment = useSelectedLayoutSegment();\n\n return (\n <ul\n {...props}\n className={cn(\"px-content flex flex-row items-center gap-6 text-sm font-medium\", className)}\n >\n {paths.map(({ href, name, segment }) => (\n <Link\n key={href}\n href={href}\n className={cn(\n \"text-muted-foreground hover:text-foreground w-fit text-nowrap break-keep transition-colors\",\n currentSegment === segment && \"text-primary\",\n )}\n >\n {name}\n </Link>\n ))}\n </ul>\n );\n}\n"],"mappings":";;;;;;;;;AAeA,SAAgB,UAAU,EAAE,YAA4B;AACtD,QACE,oBAAC;EAAI,WAAU;EACZ;GACG;;AAaV,SAAgB,eAAe,EAAE,OAAO,UAAW,GAAG,SAA8B;CAClF,MAAM,iBAAiB,0BAA0B;AAEjD,QACE,oBAAC;EACC,GAAI;EACJ,WAAW,GAAG,mEAAmE,UAAU;YAE1F,MAAM,KAAK,EAAE,MAAM,MAAM,cACxB,oBAAC;GAEO;GACN,WAAW,GACT,8FACA,mBAAmB,WAAW,eAC/B;aAEA;KAPI,KAQA,CACP;GACC"}
@@ -1,5 +1,5 @@
1
1
  import { BreadcrumbSeparator } from "../ui/breadcrumb.js";
2
- import * as react_jsx_runtime119 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime114 from "react/jsx-runtime";
3
3
  import { PropsWithChildren } from "react";
4
4
 
5
5
  //#region src/components/header/breadcrumbs.client.d.ts
@@ -10,26 +10,26 @@ type HeaderBreadcrumb = {
10
10
  type HeaderBreadcrumbProps = {
11
11
  breadcrumbs: HeaderBreadcrumb[];
12
12
  };
13
- declare function HeaderBreadcrumbs(props: PropsWithChildren): react_jsx_runtime119.JSX.Element;
13
+ declare function HeaderBreadcrumbs(props: PropsWithChildren): react_jsx_runtime114.JSX.Element;
14
14
  declare const HeaderBreadcrumbSeparator: typeof BreadcrumbSeparator;
15
15
  /**
16
16
  * Dropdown menu
17
17
  */
18
- declare function HeaderBreadcrumbsDropdownMenu(props: PropsWithChildren): react_jsx_runtime119.JSX.Element;
18
+ declare function HeaderBreadcrumbsDropdownMenu(props: PropsWithChildren): react_jsx_runtime114.JSX.Element;
19
19
  declare function HeaderBreadcrumbsDropdownMenuItem(props: {
20
20
  breadcrumb: HeaderBreadcrumb;
21
- }): react_jsx_runtime119.JSX.Element;
21
+ }): react_jsx_runtime114.JSX.Element;
22
22
  /**
23
23
  * Links
24
24
  */
25
25
  declare function HeaderBreadcrumbsLink(props: {
26
26
  breadcrumb: HeaderBreadcrumb;
27
- }): react_jsx_runtime119.JSX.Element;
27
+ }): react_jsx_runtime114.JSX.Element;
28
28
  /**
29
29
  * Lists
30
30
  */
31
- declare function HeaderBreadcrumbsMobileList(props: PropsWithChildren): react_jsx_runtime119.JSX.Element;
32
- declare function HeaderBreadcrumbsDesktopList(props: PropsWithChildren): react_jsx_runtime119.JSX.Element;
31
+ declare function HeaderBreadcrumbsMobileList(props: PropsWithChildren): react_jsx_runtime114.JSX.Element;
32
+ declare function HeaderBreadcrumbsDesktopList(props: PropsWithChildren): react_jsx_runtime114.JSX.Element;
33
33
  //#endregion
34
34
  export { HeaderBreadcrumb, HeaderBreadcrumbProps, HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList };
35
35
  //# sourceMappingURL=breadcrumbs.client.d.ts.map
@@ -1,5 +1,5 @@
1
- import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "../ui/breadcrumb.js";
2
1
  import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../ui/dropdown-menu.js";
2
+ import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "../ui/breadcrumb.js";
3
3
  import { ScrollArea } from "../ui/scroll-area.js";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import Link from "next/link";
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime125 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime120 from "react/jsx-runtime";
2
2
  import { ComponentProps } from "react";
3
3
 
4
4
  //#region src/components/header/header.client.d.ts
@@ -6,7 +6,7 @@ declare function Header({
6
6
  children,
7
7
  className,
8
8
  ...props
9
- }: ComponentProps<"header">): react_jsx_runtime125.JSX.Element;
9
+ }: ComponentProps<"header">): react_jsx_runtime120.JSX.Element;
10
10
  //#endregion
11
11
  export { Header };
12
12
  //# sourceMappingURL=header.client.d.ts.map
@@ -1,10 +1,10 @@
1
- import * as react_jsx_runtime126 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime121 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/header/mobile-nav-switcher.client.d.ts
4
4
  declare function HeaderTopbarMobileNavSwitcher({
5
5
  className,
6
6
  ...props
7
- }: React.HtmlHTMLAttributes<HTMLButtonElement>): react_jsx_runtime126.JSX.Element;
7
+ }: React.HtmlHTMLAttributes<HTMLButtonElement>): react_jsx_runtime121.JSX.Element;
8
8
  //#endregion
9
9
  export { HeaderTopbarMobileNavSwitcher };
10
10
  //# sourceMappingURL=mobile-nav-switcher.client.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { HeaderBreadcrumb } from "./breadcrumbs.client.js";
2
- import * as react_jsx_runtime127 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime122 from "react/jsx-runtime";
3
3
  import React from "react";
4
4
 
5
5
  //#region src/components/header/top-bar.client.d.ts
@@ -11,7 +11,7 @@ type TopbarProps = {
11
11
  };
12
12
  declare function Topbar({
13
13
  children
14
- }: TopbarProps): react_jsx_runtime127.JSX.Element;
14
+ }: TopbarProps): react_jsx_runtime122.JSX.Element;
15
15
  /**
16
16
  * Topbar title component
17
17
  */
@@ -26,7 +26,7 @@ declare function TopbarTitle({
26
26
  isDeleted,
27
27
  className,
28
28
  ...props
29
- }: TopbarTitleProps): react_jsx_runtime127.JSX.Element;
29
+ }: TopbarTitleProps): react_jsx_runtime122.JSX.Element;
30
30
  /**
31
31
  * Topbar tools component
32
32
  */
@@ -37,7 +37,7 @@ declare function TopbarTools({
37
37
  children,
38
38
  className,
39
39
  ...props
40
- }: TopbarToolsProps): react_jsx_runtime127.JSX.Element;
40
+ }: TopbarToolsProps): react_jsx_runtime122.JSX.Element;
41
41
  //#endregion
42
42
  export { Topbar, TopbarProps, TopbarTitle, TopbarTitleProps, TopbarTools, TopbarToolsProps };
43
43
  //# sourceMappingURL=top-bar.client.d.ts.map
@@ -0,0 +1,13 @@
1
+ import { ScrollArea } from "../ui/scroll-area.js";
2
+ import * as react_jsx_runtime125 from "react/jsx-runtime";
3
+ import { ComponentProps } from "react";
4
+
5
+ //#region src/components/layouts/admin-content.client.d.ts
6
+ declare function AdminContent({
7
+ children,
8
+ className,
9
+ ...props
10
+ }: ComponentProps<typeof ScrollArea>): react_jsx_runtime125.JSX.Element;
11
+ //#endregion
12
+ export { AdminContent };
13
+ //# sourceMappingURL=admin-content.client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin-content.client.d.ts","names":[],"sources":["../../../src/components/layouts/admin-content.client.tsx"],"sourcesContent":[],"mappings":";;;;;iBAOgB,YAAA;;;;GAAgD,sBAAsB,cAAW,oBAAA,CAAA,GAAA,CAAA"}
@@ -0,0 +1,8 @@
1
+ import * as react_jsx_runtime231 from "react/jsx-runtime";
2
+ import { PropsWithChildren } from "react";
3
+
4
+ //#region src/components/layouts/admin-layout.d.ts
5
+ declare function AdminLayout(props: PropsWithChildren): react_jsx_runtime231.JSX.Element;
6
+ //#endregion
7
+ export { AdminLayout };
8
+ //# sourceMappingURL=admin-layout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin-layout.d.ts","names":[],"sources":["../../../src/components/layouts/admin-layout.tsx"],"sourcesContent":[],"mappings":";;;;iBAIgB,WAAA,QAAmB,oBAAiB,oBAAA,CAAA,GAAA,CAAA"}
@@ -0,0 +1,15 @@
1
+ import { SidebarProvider } from "../ui/sidebar.client.js";
2
+ import { AuthGuard } from "../../modules/auth/components/guard.client.js";
3
+ import { jsx } from "react/jsx-runtime";
4
+
5
+ //#region src/components/layouts/admin-layout.tsx
6
+ function AdminLayout(props) {
7
+ return /* @__PURE__ */ jsx(AuthGuard, { children: /* @__PURE__ */ jsx(SidebarProvider, {
8
+ className: "max-h-[100dvh] overflow-hidden border",
9
+ children: props.children
10
+ }) });
11
+ }
12
+
13
+ //#endregion
14
+ export { AdminLayout };
15
+ //# sourceMappingURL=admin-layout.js.map