@tulip-systems/core 0.5.7 → 0.5.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (304) hide show
  1. package/dist/components/client.mjs +7 -7
  2. package/dist/components/common/icons.d.mts +52 -52
  3. package/dist/components/common/icons.d.mts.map +1 -1
  4. package/dist/components/common/status.d.mts +3 -3
  5. package/dist/components/common/status.d.mts.map +1 -1
  6. package/dist/components/editor/components/content.client.d.mts +2 -2
  7. package/dist/components/editor/components/content.client.d.mts.map +1 -1
  8. package/dist/components/editor/components/editor.client.d.mts +6 -6
  9. package/dist/components/editor/components/editor.client.d.mts.map +1 -1
  10. package/dist/components/editor/components/menu.client.d.mts +3 -3
  11. package/dist/components/editor/components/menu.client.d.mts.map +1 -1
  12. package/dist/components/editor/components/menu.client.mjs +1 -1
  13. package/dist/components/header/back-button.client.d.mts +2 -2
  14. package/dist/components/header/back-button.client.d.mts.map +1 -1
  15. package/dist/components/header/bottom-bar.client.d.mts +3 -3
  16. package/dist/components/header/bottom-bar.client.d.mts.map +1 -1
  17. package/dist/components/header/bottom-bar.client.mjs +1 -1
  18. package/dist/components/header/breadcrumbs.client.d.mts +7 -7
  19. package/dist/components/header/breadcrumbs.client.d.mts.map +1 -1
  20. package/dist/components/header/breadcrumbs.client.mjs +1 -1
  21. package/dist/components/header/header.client.d.mts +2 -2
  22. package/dist/components/header/mobile-nav-switcher.client.d.mts +2 -2
  23. package/dist/components/header/top-bar.client.d.mts +4 -4
  24. package/dist/components/header/top-bar.client.mjs +1 -1
  25. package/dist/components/layouts/admin-content.client.d.mts +2 -2
  26. package/dist/components/layouts/admin-error-pages.d.mts +23 -0
  27. package/dist/components/layouts/admin-error-pages.d.mts.map +1 -0
  28. package/dist/components/layouts/admin-error-pages.mjs +60 -0
  29. package/dist/components/layouts/admin-error-pages.mjs.map +1 -0
  30. package/dist/components/layouts/admin-layout.d.mts +2 -2
  31. package/dist/components/layouts/admin-layout.d.mts.map +1 -1
  32. package/dist/components/layouts/admin-loading.d.mts +2 -2
  33. package/dist/components/layouts/admin-loading.d.mts.map +1 -1
  34. package/dist/components/layouts/empty-page.d.mts +4 -4
  35. package/dist/components/layouts/empty-page.d.mts.map +1 -1
  36. package/dist/components/layouts/empty-page.mjs.map +1 -1
  37. package/dist/components/layouts/error-page.d.mts +35 -10
  38. package/dist/components/layouts/error-page.d.mts.map +1 -1
  39. package/dist/components/layouts/error-page.mjs +36 -40
  40. package/dist/components/layouts/error-page.mjs.map +1 -1
  41. package/dist/components/layouts/error-sections.d.mts +29 -0
  42. package/dist/components/layouts/error-sections.d.mts.map +1 -0
  43. package/dist/components/layouts/error-sections.mjs +47 -0
  44. package/dist/components/layouts/error-sections.mjs.map +1 -0
  45. package/dist/components/layouts/list-layout.d.mts +2 -2
  46. package/dist/components/layouts/list-layout.d.mts.map +1 -1
  47. package/dist/components/layouts/providers.client.d.mts +2 -2
  48. package/dist/components/layouts/root-error-pages.d.mts +10 -0
  49. package/dist/components/layouts/root-error-pages.d.mts.map +1 -0
  50. package/dist/components/layouts/root-error-pages.mjs +17 -0
  51. package/dist/components/layouts/root-error-pages.mjs.map +1 -0
  52. package/dist/components/layouts/root-layout.server.d.mts +2 -2
  53. package/dist/components/layouts/root-layout.server.d.mts.map +1 -1
  54. package/dist/components/layouts/root-loading.d.mts +2 -2
  55. package/dist/components/layouts/root-loading.d.mts.map +1 -1
  56. package/dist/components/layouts/tab-layout.d.mts +2 -2
  57. package/dist/components/layouts/tab-layout.d.mts.map +1 -1
  58. package/dist/components/layouts/tab-layout.mjs +1 -1
  59. package/dist/components/lists/data-list.d.mts +5 -5
  60. package/dist/components/lists/data-list.d.mts.map +1 -1
  61. package/dist/components/lists/data-stack.d.mts +8 -8
  62. package/dist/components/lists/data-stack.d.mts.map +1 -1
  63. package/dist/components/navigation/admin-sidebar-header.client.mjs +2 -2
  64. package/dist/components/navigation/admin-sidebar-paths.client.d.mts +10 -10
  65. package/dist/components/navigation/admin-sidebar-paths.client.mjs +1 -1
  66. package/dist/components/navigation/admin-sidebar-skeleton.mjs +1 -1
  67. package/dist/components/ui/accordion.d.mts +5 -5
  68. package/dist/components/ui/accordion.d.mts.map +1 -1
  69. package/dist/components/ui/alert-dialog.d.mts +12 -12
  70. package/dist/components/ui/alert-dialog.d.mts.map +1 -1
  71. package/dist/components/ui/alert.d.mts +6 -6
  72. package/dist/components/ui/alert.d.mts.map +1 -1
  73. package/dist/components/ui/aspect-ratio.d.mts +2 -2
  74. package/dist/components/ui/aspect-ratio.d.mts.map +1 -1
  75. package/dist/components/ui/avatar.client.d.mts +4 -4
  76. package/dist/components/ui/badge.d.mts +4 -4
  77. package/dist/components/ui/badge.d.mts.map +1 -1
  78. package/dist/components/ui/breadcrumb.d.mts +8 -8
  79. package/dist/components/ui/breadcrumb.d.mts.map +1 -1
  80. package/dist/components/ui/button.d.mts +5 -5
  81. package/dist/components/ui/calendar.d.mts +3 -3
  82. package/dist/components/ui/card.d.mts +7 -7
  83. package/dist/components/ui/carousel.d.mts +6 -6
  84. package/dist/components/ui/chart.client.d.mts +5 -5
  85. package/dist/components/ui/checkbox.d.mts +2 -2
  86. package/dist/components/ui/collapsible.client.d.mts +4 -4
  87. package/dist/components/ui/color-picker.client.d.mts +2 -2
  88. package/dist/components/ui/combobox-dropdown.client.d.mts +2 -2
  89. package/dist/components/ui/combobox-dropdown.client.mjs +1 -1
  90. package/dist/components/ui/combobox.client.d.mts +2 -2
  91. package/dist/components/ui/combobox.client.mjs +1 -1
  92. package/dist/components/ui/command.d.mts +10 -10
  93. package/dist/components/ui/context-menu.d.mts +16 -16
  94. package/dist/components/ui/date-picker.client.d.mts +2 -2
  95. package/dist/components/ui/date-picker.client.mjs +1 -1
  96. package/dist/components/ui/dialog.client.d.mts +11 -11
  97. package/dist/components/ui/drawer.client.d.mts +11 -11
  98. package/dist/components/ui/dropdown-menu.d.mts +18 -18
  99. package/dist/components/ui/dropdown-menu.d.mts.map +1 -1
  100. package/dist/components/ui/dropdown-menu.mjs +2 -2
  101. package/dist/components/ui/dropdown-menu.mjs.map +1 -1
  102. package/dist/components/ui/form.client.d.mts +7 -7
  103. package/dist/components/ui/hover-card.client.d.mts +4 -4
  104. package/dist/components/ui/input-recipient.d.mts +2 -2
  105. package/dist/components/ui/input.d.mts +2 -2
  106. package/dist/components/ui/label.d.mts +2 -2
  107. package/dist/components/ui/navigation-menu.d.mts +11 -11
  108. package/dist/components/ui/pagination.d.mts +8 -8
  109. package/dist/components/ui/popover.d.mts +5 -5
  110. package/dist/components/ui/progress.client.d.mts +2 -2
  111. package/dist/components/ui/radio-group.d.mts +3 -3
  112. package/dist/components/ui/resizable.client.d.mts +4 -4
  113. package/dist/components/ui/scroll-area.d.mts +3 -3
  114. package/dist/components/ui/select.client.d.mts +11 -11
  115. package/dist/components/ui/separator.d.mts +2 -2
  116. package/dist/components/ui/sheet.client.d.mts +9 -9
  117. package/dist/components/ui/sidebar.client.d.mts +26 -26
  118. package/dist/components/ui/sidebar.client.mjs +2 -2
  119. package/dist/components/ui/skeleton.d.mts +2 -2
  120. package/dist/components/ui/slider.d.mts +2 -2
  121. package/dist/components/ui/sonner.client.d.mts +2 -2
  122. package/dist/components/ui/switch.d.mts +2 -2
  123. package/dist/components/ui/tabs.d.mts +5 -5
  124. package/dist/components/ui/textarea.d.mts +2 -2
  125. package/dist/components/ui/time-input.client.d.mts +2 -2
  126. package/dist/components/ui/toggle-group.client.d.mts +3 -3
  127. package/dist/components/ui/toggle.d.mts +2 -2
  128. package/dist/components/ui/toggle.d.mts.map +1 -1
  129. package/dist/components/ui/tooltip.client.d.mts +5 -5
  130. package/dist/components.d.mts +5 -4
  131. package/dist/components.mjs +18 -17
  132. package/dist/data-tables/client.d.mts +2 -6
  133. package/dist/data-tables/client.mjs +2 -6
  134. package/dist/lib/hooks/use-indicator.d.mts +2 -2
  135. package/dist/lib.mjs +1 -1
  136. package/dist/modules/auth/components/allowed.client.d.mts +2 -2
  137. package/dist/modules/auth/components/auth-layout.server.d.mts +2 -2
  138. package/dist/modules/auth/components/auth-loading.d.mts +2 -2
  139. package/dist/modules/auth/components/auth-loading.d.mts.map +1 -1
  140. package/dist/modules/auth/components/create-first-user-page.client.d.mts +2 -2
  141. package/dist/modules/auth/components/create-first-user-page.client.mjs +1 -1
  142. package/dist/modules/auth/components/forget-password-page.client.d.mts +2 -2
  143. package/dist/modules/auth/components/guard-first-user.server.d.mts +2 -2
  144. package/dist/modules/auth/components/guard.server.d.mts +2 -2
  145. package/dist/modules/auth/components/login-page.client.d.mts +2 -2
  146. package/dist/modules/auth/components/login-page.client.mjs +1 -1
  147. package/dist/modules/auth/components/reset-password-page.client.d.mts +2 -2
  148. package/dist/modules/auth/components/reset-password-page.client.mjs +1 -1
  149. package/dist/modules/auth/components/update-password-command.d.mts +2 -2
  150. package/dist/modules/auth/db/schema.d.mts +73 -73
  151. package/dist/modules/auth/db/schema.d.mts.map +1 -1
  152. package/dist/modules/auth/handler/client.client.d.mts +4 -4
  153. package/dist/modules/auth/hooks/use-permission.d.mts +3 -3
  154. package/dist/modules/auth/hooks/use-session.d.mts +4 -4
  155. package/dist/modules/auth/lib/helpers.server.d.mts +2 -2
  156. package/dist/modules/auth/lib/helpers.server.d.mts.map +1 -1
  157. package/dist/modules/commands/components/alert-dialog-command.client.d.mts +10 -10
  158. package/dist/modules/commands/components/alert-dialog-command.client.d.mts.map +1 -1
  159. package/dist/modules/commands/components/click-command.client.d.mts +2 -2
  160. package/dist/modules/commands/components/click-command.client.d.mts.map +1 -1
  161. package/dist/modules/commands/components/command-trigger.client.d.mts +6 -6
  162. package/dist/modules/commands/components/command-trigger.client.d.mts.map +1 -1
  163. package/dist/modules/commands/components/command-trigger.client.mjs +1 -1
  164. package/dist/modules/commands/components/dialog-command.client.d.mts +8 -8
  165. package/dist/modules/commands/components/dialog-command.client.d.mts.map +1 -1
  166. package/dist/modules/commands/components/dialog-command.client.mjs +1 -1
  167. package/dist/modules/commands/components/dropdown-command.client.d.mts +5 -5
  168. package/dist/modules/commands/components/dropdown-command.client.d.mts.map +1 -1
  169. package/dist/modules/commands/components/empty-command.client.d.mts +2 -2
  170. package/dist/modules/commands/components/empty-command.client.d.mts.map +1 -1
  171. package/dist/modules/commands/components/form-dialog-command.client.d.mts +11 -11
  172. package/dist/modules/commands/components/form-dialog-command.client.d.mts.map +1 -1
  173. package/dist/modules/commands/components/form-dialog-command.client.mjs +1 -1
  174. package/dist/modules/commands/hooks/use-command-mutation.client.d.mts +3 -3
  175. package/dist/modules/commands/menus/context-menu.client.d.mts +2 -2
  176. package/dist/modules/commands/menus/context-menu.client.d.mts.map +1 -1
  177. package/dist/modules/commands/menus/dropdown-menu.client.d.mts +3 -3
  178. package/dist/modules/commands/menus/dropdown-menu.client.d.mts.map +1 -1
  179. package/dist/modules/commands/menus/dropdown-menu.client.mjs +1 -1
  180. package/dist/modules/commands/menus/inline-menu.client.d.mts +3 -3
  181. package/dist/modules/commands/menus/inline-menu.client.d.mts.map +1 -1
  182. package/dist/modules/commands/menus/responsive-menu.client.d.mts +3 -3
  183. package/dist/modules/commands/menus/responsive-menu.client.d.mts.map +1 -1
  184. package/dist/modules/commands/utils/archive-command.client.d.mts +3 -3
  185. package/dist/modules/commands/utils/archive-command.client.d.mts.map +1 -1
  186. package/dist/modules/commands/utils/delete-command.client.d.mts +3 -3
  187. package/dist/modules/commands/utils/delete-command.client.d.mts.map +1 -1
  188. package/dist/modules/config/db/helpers.d.mts +5 -5
  189. package/dist/modules/config/db/helpers.d.mts.map +1 -1
  190. package/dist/modules/data-tables/components/cell/common.client.d.mts +5 -5
  191. package/dist/modules/data-tables/components/column-header.d.mts +2 -2
  192. package/dist/modules/data-tables/components/filters/combobox.client.d.mts +2 -2
  193. package/dist/modules/data-tables/components/filters/combobox.client.mjs +1 -1
  194. package/dist/modules/data-tables/components/filters/slider.client.d.mts +2 -2
  195. package/dist/modules/data-tables/components/filters/slider.client.mjs +1 -1
  196. package/dist/modules/data-tables/components/header.d.mts +4 -4
  197. package/dist/modules/data-tables/components/layout.d.mts +2 -2
  198. package/dist/modules/data-tables/components/search-input.client.d.mts +2 -2
  199. package/dist/modules/data-tables/components/skeleton.d.mts +2 -2
  200. package/dist/modules/data-tables/components/table.d.mts +7 -7
  201. package/dist/modules/data-tables/components/toolbar.d.mts +3 -3
  202. package/dist/modules/data-tables/hooks/use-context.client.d.mts +2 -2
  203. package/dist/modules/data-tables/lib/converters/search.mjs +2 -2
  204. package/dist/modules/data-tables/lib/converters/search.mjs.map +1 -1
  205. package/dist/modules/data-tables/tables/data-table/components/table.d.mts +2 -2
  206. package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts +2 -2
  207. package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts.map +1 -1
  208. package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts +2 -2
  209. package/dist/modules/data-tables/tables/inline-table/components/{inputs → cells}/read-only.d.mts +3 -3
  210. package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.d.mts.map +1 -0
  211. package/dist/modules/data-tables/tables/inline-table/components/{inputs → cells}/read-only.mjs +1 -1
  212. package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.mjs.map +1 -0
  213. package/dist/modules/data-tables/tables/inline-table/components/table.d.mts +2 -2
  214. package/dist/modules/data-tables/tables/inline-table/components/table.mjs +1 -1
  215. package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts +2 -2
  216. package/dist/modules/data-tables/tables/inline-table/hooks/context.client.mjs +1 -1
  217. package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts +2 -2
  218. package/dist/modules/inline-edit/components/combobox.client.d.mts +2 -2
  219. package/dist/modules/inline-edit/components/date-input.client.d.mts +2 -2
  220. package/dist/modules/inline-edit/components/date-input.client.mjs +1 -1
  221. package/dist/modules/inline-edit/components/date-picker.client.d.mts +2 -2
  222. package/dist/modules/inline-edit/components/date-picker.client.mjs +1 -1
  223. package/dist/modules/inline-edit/components/editor.client.d.mts +2 -2
  224. package/dist/modules/inline-edit/components/input-recipient.client.d.mts +2 -2
  225. package/dist/modules/inline-edit/components/input-toggle.client.d.mts +2 -2
  226. package/dist/modules/inline-edit/components/input.client.d.mts +4 -4
  227. package/dist/modules/inline-edit/components/select.client.d.mts +6 -6
  228. package/dist/modules/inline-edit/components/switch.client.d.mts +2 -2
  229. package/dist/modules/inline-edit/components/toggle.client.d.mts +2 -2
  230. package/dist/modules/inline-edit/hooks/context.client.d.mts +2 -2
  231. package/dist/modules/router/handler/init.server.d.mts +6 -6
  232. package/dist/modules/router/handler/init.server.d.mts.map +1 -1
  233. package/dist/modules/router/lib/query-client.server.d.mts +2 -2
  234. package/dist/modules/router/lib/query-client.server.d.mts.map +1 -1
  235. package/dist/modules/storage/components/dropzone-context.client.d.mts +2 -2
  236. package/dist/modules/storage/components/dropzone-context.client.d.mts.map +1 -1
  237. package/dist/modules/storage/components/dropzone.client.d.mts +5 -5
  238. package/dist/modules/storage/components/dropzone.client.d.mts.map +1 -1
  239. package/dist/modules/storage/components/image-grid.client.d.mts +3 -3
  240. package/dist/modules/storage/components/image-grid.client.d.mts.map +1 -1
  241. package/dist/modules/storage/components/image-grid.client.mjs +3 -3
  242. package/dist/modules/storage/components/upload-zone.client.d.mts +2 -2
  243. package/dist/modules/storage/components/upload-zone.client.d.mts.map +1 -1
  244. package/dist/modules/storage/lib/router.server.d.mts +2342 -2342
  245. package/dist/modules/storage/lib/router.server.d.mts.map +1 -1
  246. package/dist/modules/storage/lib/schema.d.mts +92 -92
  247. package/dist/modules/storage/lib/schema.d.mts.map +1 -1
  248. package/dist/modules/storage/lib/schema.mjs +1 -1
  249. package/dist/modules/storage/lib/service.server.d.mts +15 -15
  250. package/dist/modules/storage/lib/service.server.mjs +2 -2
  251. package/dist/modules/storage/lib/service.server.mjs.map +1 -1
  252. package/dist/modules/storage/lib/validators.d.mts +85 -85
  253. package/dist/modules/storage/lib/validators.d.mts.map +1 -1
  254. package/package.json +1 -1
  255. package/src/components/entry.ts +3 -2
  256. package/src/components/layouts/admin-error-pages.tsx +109 -0
  257. package/src/components/layouts/empty-page.tsx +0 -17
  258. package/src/components/layouts/error-page.tsx +58 -44
  259. package/src/components/layouts/error-sections.tsx +52 -0
  260. package/src/components/layouts/root-error-pages.tsx +12 -0
  261. package/src/modules/data-tables/entry.client.ts +1 -5
  262. package/src/modules/data-tables/lib/converters/search.ts +2 -2
  263. package/src/modules/storage/lib/service.server.ts +1 -1
  264. package/dist/components/layouts/not-allowed-page.d.mts +0 -22
  265. package/dist/components/layouts/not-allowed-page.d.mts.map +0 -1
  266. package/dist/components/layouts/not-allowed-page.mjs +0 -25
  267. package/dist/components/layouts/not-allowed-page.mjs.map +0 -1
  268. package/dist/components/layouts/not-found-page.d.mts +0 -8
  269. package/dist/components/layouts/not-found-page.d.mts.map +0 -1
  270. package/dist/components/layouts/not-found-page.mjs +0 -20
  271. package/dist/components/layouts/not-found-page.mjs.map +0 -1
  272. package/dist/components/layouts/not-found-section.mjs +0 -30
  273. package/dist/components/layouts/not-found-section.mjs.map +0 -1
  274. package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.mts +0 -29
  275. package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.mts.map +0 -1
  276. package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.mjs +0 -52
  277. package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.mjs.map +0 -1
  278. package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.mts +0 -27
  279. package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.mts.map +0 -1
  280. package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.mjs +0 -29
  281. package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.mjs.map +0 -1
  282. package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.mts +0 -39
  283. package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.mts.map +0 -1
  284. package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.mjs +0 -71
  285. package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.mjs.map +0 -1
  286. package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.mts.map +0 -1
  287. package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.mjs.map +0 -1
  288. package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.mts +0 -33
  289. package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.mts.map +0 -1
  290. package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.mjs +0 -52
  291. package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.mjs.map +0 -1
  292. package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.d.mts +0 -17
  293. package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.d.mts.map +0 -1
  294. package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.mjs +0 -53
  295. package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.mjs.map +0 -1
  296. package/src/components/layouts/not-allowed-page.tsx +0 -44
  297. package/src/components/layouts/not-found-page.tsx +0 -17
  298. package/src/components/layouts/not-found-section.tsx +0 -26
  299. package/src/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.tsx +0 -90
  300. package/src/modules/data-tables/tables/inline-table/components/inputs/combobox.client.tsx +0 -109
  301. package/src/modules/data-tables/tables/inline-table/components/inputs/input.client.tsx +0 -108
  302. package/src/modules/data-tables/tables/inline-table/components/inputs/select.client.tsx +0 -102
  303. package/src/modules/data-tables/tables/inline-table/hooks/use-input.client.ts +0 -65
  304. /package/src/modules/data-tables/tables/inline-table/components/{inputs → cells}/read-only.tsx +0 -0
@@ -1,16 +1,14 @@
1
- import { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from "./ui/form.client.mjs";
2
- import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./ui/dialog.client.mjs";
1
+ import { Header } from "./header/header.client.mjs";
2
+ import { HeaderTopbarBackButton } from "./header/back-button.client.mjs";
3
+ import { HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList } from "./header/breadcrumbs.client.mjs";
3
4
  import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./ui/tooltip.client.mjs";
4
5
  import { Editor, EditorContext, editorVariants } from "./editor/components/editor.client.mjs";
5
6
  import { EditorContent } from "./editor/components/content.client.mjs";
6
7
  import { ColorPicker } from "./ui/color-picker.client.mjs";
7
8
  import { EditorMenuBubble, EditorMenuFixed } from "./editor/components/menu.client.mjs";
8
- import { HeaderTopbarBackButton } from "./header/back-button.client.mjs";
9
+ import { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from "./ui/form.client.mjs";
10
+ import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./ui/dialog.client.mjs";
9
11
  import { BottomBar, BottomBarLinks } from "./header/bottom-bar.client.mjs";
10
- import { HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList } from "./header/breadcrumbs.client.mjs";
11
- import { Header } from "./header/header.client.mjs";
12
- import { HeaderTopbarMobileNavSwitcher } from "./header/mobile-nav-switcher.client.mjs";
13
- import { Topbar, TopbarTitle, TopbarTools } from "./header/top-bar.client.mjs";
14
12
  import { AdminContent } from "./layouts/admin-content.client.mjs";
15
13
  import { Toaster, toast } from "./ui/sonner.client.mjs";
16
14
  import { Providers } from "./layouts/providers.client.mjs";
@@ -31,5 +29,7 @@ import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScro
31
29
  import { TimePickerInput } from "./ui/time-picker-input.client.mjs";
32
30
  import { TimeInput } from "./ui/time-input.client.mjs";
33
31
  import { ToggleGroup, ToggleGroupItem } from "./ui/toggle-group.client.mjs";
32
+ import { HeaderTopbarMobileNavSwitcher } from "./header/mobile-nav-switcher.client.mjs";
33
+ import { Topbar, TopbarTitle, TopbarTools } from "./header/top-bar.client.mjs";
34
34
 
35
35
  export { AdminContent, Avatar, AvatarFallback, AvatarImage, BottomBar, BottomBarLinks, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, Combobox, ComboboxDropdown, DatePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Editor, EditorContent, EditorContext, EditorMenuBubble, EditorMenuFixed, 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, editorVariants, toast, useFormField, useSidebar };
@@ -1,60 +1,60 @@
1
1
  import { LucideIcon, LucideProps } from "lucide-react";
2
- import * as react_jsx_runtime218 from "react/jsx-runtime";
3
- import * as react1 from "react";
2
+ import * as react_jsx_runtime45 from "react/jsx-runtime";
3
+ import * as react6 from "react";
4
4
 
5
5
  //#region src/components/common/icons.d.ts
6
6
  type Icon = LucideIcon;
7
7
  declare const Icons: {
8
- close: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
9
- save: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
10
- spinner: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
11
- chevronLeft: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
12
- chevronRight: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
13
- chevronDown: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
14
- chevronUp: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
15
- trash: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
16
- post: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
17
- page: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
18
- media: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
19
- download: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
20
- settings: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
21
- billing: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
22
- ellipsis: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
23
- add: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
24
- edit: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
25
- warning: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
26
- user: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
27
- users: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
28
- arrowUp: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
29
- arrowDown: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
30
- arrowRight: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
31
- arrowLeft: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
32
- moveLeft: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
33
- moveRight: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
34
- help: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
35
- pizza: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
36
- check: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
37
- copy: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
38
- copyDone: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
39
- refresh: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
40
- preview: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
41
- externalLink: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
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>>;
45
- moon: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
46
- search: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
47
- laptop: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
48
- active: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
49
- draft: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
50
- archive: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
51
- restore: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
52
- dashboard: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
53
- regulations: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
54
- home: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
55
- mail: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
56
- building: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
57
- logo: (props: LucideProps) => react_jsx_runtime218.JSX.Element;
8
+ close: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
9
+ save: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
10
+ spinner: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
11
+ chevronLeft: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
12
+ chevronRight: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
13
+ chevronDown: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
14
+ chevronUp: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
15
+ trash: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
16
+ post: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
17
+ page: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
18
+ media: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
19
+ download: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
20
+ settings: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
21
+ billing: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
22
+ ellipsis: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
23
+ add: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
24
+ edit: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
25
+ warning: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
26
+ user: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
27
+ users: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
28
+ arrowUp: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
29
+ arrowDown: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
30
+ arrowRight: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
31
+ arrowLeft: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
32
+ moveLeft: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
33
+ moveRight: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
34
+ help: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
35
+ pizza: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
36
+ check: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
37
+ copy: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
38
+ copyDone: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
39
+ refresh: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
40
+ preview: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
41
+ externalLink: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
42
+ sun: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
43
+ lock: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
44
+ unLock: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
45
+ moon: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
46
+ search: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
47
+ laptop: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
48
+ active: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
49
+ draft: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
50
+ archive: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
51
+ restore: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
52
+ dashboard: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
53
+ regulations: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
54
+ home: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
55
+ mail: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
56
+ building: react6.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react6.RefAttributes<SVGSVGElement>>;
57
+ logo: (props: LucideProps) => react_jsx_runtime45.JSX.Element;
58
58
  };
59
59
  //#endregion
60
60
  export { Icon, Icons };
@@ -1 +1 @@
1
- {"version":3,"file":"icons.d.mts","names":[],"sources":["../../../src/components/common/icons.tsx"],"sourcesContent":[],"mappings":";;;;;KAsDY,IAAA,GAAO;cAEN;;;EAFD,OAAI,kCAAa,KAAA,YAAA,EAAA,KAAA,CAAA,uBAAA,cAAA,CAAA,CAAA;EAEhB,WA8GZ,kCAAA,KAAA,YAAA,EAAA,KAAA,CAAA,uBAAA,cAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA5De,gBAAW,oBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"icons.d.mts","names":[],"sources":["../../../src/components/common/icons.tsx"],"sourcesContent":[],"mappings":";;;;;KAsDY,IAAA,GAAO;cAEN;;;EAFD,OAAI,kCAAa,KAAA,YAAA,EAAA,KAAA,CAAA,uBAAA,cAAA,CAAA,CAAA;EAEhB,WA8GZ,kCAAA,KAAA,YAAA,EAAA,KAAA,CAAA,uBAAA,cAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA5De,gBAAW,mBAAA,CAAA,GAAA,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { ConfigWithIcon } from "../../lib/types/config.mjs";
2
- import * as react_jsx_runtime219 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime46 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_runtime219.JSX.Element;
46
+ declare function StatusField<TStatus extends string>(props: StatusComponentProps<TStatus>): react_jsx_runtime46.JSX.Element;
47
47
  /**
48
48
  * Status badge
49
49
  */
50
- declare function StatusBadge<TStatus extends string>(props: StatusComponentProps<TStatus>): react_jsx_runtime219.JSX.Element;
50
+ declare function StatusBadge<TStatus extends string>(props: StatusComponentProps<TStatus>): react_jsx_runtime46.JSX.Element;
51
51
  //#endregion
52
52
  export { CreateStatusComponentProps, StatusBadge, StatusField, createStatusConfig, createStatusVariants, findStatus };
53
53
  //# sourceMappingURL=status.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"status.d.mts","names":[],"sources":["../../../src/components/common/status.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAOa,cAAA,kBACL,EAAA,CAAA,gBAAA,MAAA,CAAA,CAAA,MAAA,EAD2D,cAC3D,CAD0E,OAC1E,CAAA,EAAA,EAAA,GADoF,cACpF,CADoF,OACpF,CAAA,EAAA;;;;;;AAQR;AAYgB,iBAZA,UAYoB,CAAA,gBAAA;EACjB,KAAA,EAAA,MAAA;CACT,CAAA,CAAA,MAAA,EAbA,OAaA,EAAA,EAAA,MAAA,EAAA,MAAA,CAAA,EAXP,OAWO,GAAA,SAAA;;;AAaV;AAEE;;AAMQ,iBAvBM,oBAuBN,CAAA,gBAAA,MAAA,CAAA,CAAA,MAAA,EAAA;EACoB,KAAA,EAvBX,OAuBW;EACpB,SAAA,EAAA,MAAA;CAAO,EAAA,CAAA,EAvBd,MAuBc,CAvBP,OAuBO,EAAA,MAAA,CAAA;AAMjB;;;AAAwF,KAhB5E,0BAgB4E,CAAA,gBAAA,MAAA,CAAA,GAAA;EAAA,MAAA,EAf9E,OAe8E,GAAA,IAAA;AAexF,CAAA;;;;KAxBK,oBAwBmF,CAAA,gBAAA,MAAA,CAAA,GAAA;UAvB9E,eAAe;;YACK;;UACpB;;;;;iBAMM,2CAA2C,qBAAqB,WAAQ,oBAAA,CAAA,GAAA,CAAA;;;;iBAexE,2CAA2C,qBAAqB,WAAQ,oBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"status.d.mts","names":[],"sources":["../../../src/components/common/status.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAOa,cAAA,kBACL,EAAA,CAAA,gBAAA,MAAA,CAAA,CAAA,MAAA,EAD2D,cAC3D,CAD0E,OAC1E,CAAA,EAAA,EAAA,GADoF,cACpF,CADoF,OACpF,CAAA,EAAA;;;;;;AAQR;AAYgB,iBAZA,UAYoB,CAAA,gBAAA;EACjB,KAAA,EAAA,MAAA;CACT,CAAA,CAAA,MAAA,EAbA,OAaA,EAAA,EAAA,MAAA,EAAA,MAAA,CAAA,EAXP,OAWO,GAAA,SAAA;;;AAaV;AAEE;;AAMQ,iBAvBM,oBAuBN,CAAA,gBAAA,MAAA,CAAA,CAAA,MAAA,EAAA;EACoB,KAAA,EAvBX,OAuBW;EACpB,SAAA,EAAA,MAAA;CAAO,EAAA,CAAA,EAvBd,MAuBc,CAvBP,OAuBO,EAAA,MAAA,CAAA;AAMjB;;;AAAwF,KAhB5E,0BAgB4E,CAAA,gBAAA,MAAA,CAAA,GAAA;EAAA,MAAA,EAf9E,OAe8E,GAAA,IAAA;AAexF,CAAA;;;;KAxBK,oBAwBmF,CAAA,gBAAA,MAAA,CAAA,GAAA;UAvB9E,eAAe;;YACK;;UACpB;;;;;iBAMM,2CAA2C,qBAAqB,WAAQ,mBAAA,CAAA,GAAA,CAAA;;;;iBAexE,2CAA2C,qBAAqB,WAAQ,mBAAA,CAAA,GAAA,CAAA"}
@@ -1,7 +1,7 @@
1
- import * as react_jsx_runtime91 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime264 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/editor/components/content.client.d.ts
4
- declare function EditorContent(): react_jsx_runtime91.JSX.Element;
4
+ declare function EditorContent(): react_jsx_runtime264.JSX.Element;
5
5
  //#endregion
6
6
  export { EditorContent };
7
7
  //# sourceMappingURL=content.client.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"content.client.d.mts","names":[],"sources":["../../../../src/components/editor/components/content.client.tsx"],"sourcesContent":[],"mappings":";;;iBAOgB,aAAA,CAAA,GAAa,mBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"content.client.d.mts","names":[],"sources":["../../../../src/components/editor/components/content.client.tsx"],"sourcesContent":[],"mappings":";;;iBAOgB,aAAA,CAAA,GAAa,oBAAA,CAAA,GAAA,CAAA"}
@@ -1,11 +1,11 @@
1
1
  import { EditorExtensionsConfig, EditorExtensionsConfigResult } from "../lib/extensions.mjs";
2
2
  import { EditorJSONContent } from "../lib/types.mjs";
3
- import * as react_jsx_runtime92 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime265 from "react/jsx-runtime";
4
4
  import { VariantProps } from "class-variance-authority";
5
- import * as react0 from "react";
5
+ import * as react111 from "react";
6
6
  import { PropsWithChildren } from "react";
7
7
  import { Content, Editor } from "@tiptap/react";
8
- import * as class_variance_authority_types0 from "class-variance-authority/types";
8
+ import * as class_variance_authority_types4 from "class-variance-authority/types";
9
9
 
10
10
  //#region src/components/editor/components/editor.client.d.ts
11
11
  /**
@@ -15,13 +15,13 @@ type EditorContextValue = {
15
15
  editor: Editor;
16
16
  extensions: EditorExtensionsConfigResult;
17
17
  };
18
- declare const EditorContext: react0.Context<EditorContextValue>;
18
+ declare const EditorContext: react111.Context<EditorContextValue>;
19
19
  /**
20
20
  * Editor variants
21
21
  */
22
22
  declare const editorVariants: (props?: ({
23
23
  variant?: "default" | "table" | "preview" | null | undefined;
24
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
24
+ } & class_variance_authority_types4.ClassProp) | undefined) => string;
25
25
  /**
26
26
  * Editor context provider
27
27
  */
@@ -42,7 +42,7 @@ declare function Editor$1({
42
42
  variant,
43
43
  className,
44
44
  children
45
- }: EditorProps): react_jsx_runtime92.JSX.Element | null;
45
+ }: EditorProps): react_jsx_runtime265.JSX.Element | null;
46
46
  //#endregion
47
47
  export { Editor$1 as Editor, EditorContext, EditorProps, editorVariants };
48
48
  //# sourceMappingURL=editor.client.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"editor.client.d.mts","names":[],"sources":["../../../../src/components/editor/components/editor.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;KAkBK,kBAAA;UACK;EADL,UAAA,EAES,4BADJ;AAIV,CAAA;AAKa,cALA,aAkBX,EAlBwB,MAAA,CAAA,OAkBxB,CAlBwB,kBAkBxB,CAAA;AAKF;;;AAEY,cApBC,cAoBD,EAAA,CAAA,KACK,CADL,EAAA,CAAA;EACa,OAAA,CAAA,EAAA,SAAA,GAAA,OAAA,GAAA,SAAA,GAAA,IAAA,GAAA,SAAA;CAAR,GARf,+BAAA,CAAA,SAQe,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;;;AAFE,KADP,WAAA,GAAc,YACP,CAAA,OAD2B,cAC3B,CAAA,GAAjB,iBAAiB,CAAA;EASH,KAAA,CAAA,EARJ,OAQU;EACpB,UAAA,CAAA,EARe,OAQf,CARuB,sBAQvB,CAAA;EACA,QAAA,CAAA,EAAA,CAAA,KAAA,EARqB,iBAQrB,EAAA,GAAA,IAAA;EACA,MAAA,CAAA,EAAA,CAAA,KAAA,EARmB,iBAQnB,EAAA,GAAA,IAAA;EACA,QAAA,CAAA,EAAA,OAAA;EACA,SAAA,CAAA,EAAA,MAAA;CACA,CAAA;AACA,iBAPc,QAAA,CAOd;EAAA,KAAA;EAAA,UAAA;EAAA,QAAA;EAAA,MAAA;EAAA,QAAA;EAAA,OAAA;EAAA,SAAA;EAAA;AAAA,CAAA,EAEC,WAFD,CAAA,EAEY,mBAAA,CAAA,GAAA,CAAA,OAAA,GAFZ,IAAA"}
1
+ {"version":3,"file":"editor.client.d.mts","names":[],"sources":["../../../../src/components/editor/components/editor.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;KAkBK,kBAAA;UACK;EADL,UAAA,EAES,4BADJ;AAIV,CAAA;AAKa,cALA,aAkBX,EAlBwB,QAAA,CAAA,OAkBxB,CAlBwB,kBAkBxB,CAAA;AAKF;;;AAEY,cApBC,cAoBD,EAAA,CAAA,KACK,CADL,EAAA,CAAA;EACa,OAAA,CAAA,EAAA,SAAA,GAAA,OAAA,GAAA,SAAA,GAAA,IAAA,GAAA,SAAA;CAAR,GARf,+BAAA,CAAA,SAQe,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;;;AAFE,KADP,WAAA,GAAc,YACP,CAAA,OAD2B,cAC3B,CAAA,GAAjB,iBAAiB,CAAA;EASH,KAAA,CAAA,EARJ,OAQU;EACpB,UAAA,CAAA,EARe,OAQf,CARuB,sBAQvB,CAAA;EACA,QAAA,CAAA,EAAA,CAAA,KAAA,EARqB,iBAQrB,EAAA,GAAA,IAAA;EACA,MAAA,CAAA,EAAA,CAAA,KAAA,EARmB,iBAQnB,EAAA,GAAA,IAAA;EACA,QAAA,CAAA,EAAA,OAAA;EACA,SAAA,CAAA,EAAA,MAAA;CACA,CAAA;AACA,iBAPc,QAAA,CAOd;EAAA,KAAA;EAAA,UAAA;EAAA,QAAA;EAAA,MAAA;EAAA,QAAA;EAAA,OAAA;EAAA,SAAA;EAAA;AAAA,CAAA,EAEC,WAFD,CAAA,EAEY,oBAAA,CAAA,GAAA,CAAA,OAAA,GAFZ,IAAA"}
@@ -1,10 +1,10 @@
1
- import * as react_jsx_runtime93 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime266 from "react/jsx-runtime";
2
2
  import { ComponentProps } from "react";
3
3
  import { BubbleMenu } from "@tiptap/react/menus";
4
4
 
5
5
  //#region src/components/editor/components/menu.client.d.ts
6
- declare function EditorMenuFixed(props: React.ComponentProps<"div">): react_jsx_runtime93.JSX.Element;
7
- declare function EditorMenuBubble(props: ComponentProps<typeof BubbleMenu>): react_jsx_runtime93.JSX.Element;
6
+ declare function EditorMenuFixed(props: React.ComponentProps<"div">): react_jsx_runtime266.JSX.Element;
7
+ declare function EditorMenuBubble(props: ComponentProps<typeof BubbleMenu>): react_jsx_runtime266.JSX.Element;
8
8
  //#endregion
9
9
  export { EditorMenuBubble, EditorMenuFixed };
10
10
  //# sourceMappingURL=menu.client.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"menu.client.d.mts","names":[],"sources":["../../../../src/components/editor/components/menu.client.tsx"],"sourcesContent":[],"mappings":";;;;;iBAoBgB,eAAA,QAAuB,KAAA,CAAM,wBAAqB,mBAAA,CAAA,GAAA,CAAA;iBAgBlD,gBAAA,QAAwB,sBAAsB,cAAW,mBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"menu.client.d.mts","names":[],"sources":["../../../../src/components/editor/components/menu.client.tsx"],"sourcesContent":[],"mappings":";;;;;iBAoBgB,eAAA,QAAuB,KAAA,CAAM,wBAAqB,oBAAA,CAAA,GAAA,CAAA;iBAgBlD,gBAAA,QAAwB,sBAAsB,cAAW,oBAAA,CAAA,GAAA,CAAA"}
@@ -1,8 +1,8 @@
1
1
  import { cn } from "../../../lib/utils/cn.mjs";
2
2
  import { Button } from "../../ui/button.mjs";
3
- import { Popover, PopoverContent, PopoverTrigger } from "../../ui/popover.mjs";
4
3
  import { EditorContext } from "./editor.client.mjs";
5
4
  import { ColorPicker } from "../../ui/color-picker.client.mjs";
5
+ import { Popover, PopoverContent, PopoverTrigger } from "../../ui/popover.mjs";
6
6
  import { EditorMenuNodes } from "./menu-nodes.client.mjs";
7
7
  import { BaselineIcon, BoldIcon, EraserIcon, ItalicIcon, PaintBucketIcon, RedoIcon, StrikethroughIcon, UnderlineIcon, UndoIcon } from "lucide-react";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,10 +1,10 @@
1
- import * as react_jsx_runtime95 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime268 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_runtime95.JSX.Element;
7
+ }: React.HtmlHTMLAttributes<HTMLButtonElement>): react_jsx_runtime268.JSX.Element;
8
8
  //#endregion
9
9
  export { HeaderTopbarBackButton };
10
10
  //# sourceMappingURL=back-button.client.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"back-button.client.d.mts","names":[],"sources":["../../../src/components/header/back-button.client.tsx"],"sourcesContent":[],"mappings":";;;iBAagB,sBAAA;;;GAGb,KAAA,CAAM,mBAAmB,qBAAkB,mBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"back-button.client.d.mts","names":[],"sources":["../../../src/components/header/back-button.client.tsx"],"sourcesContent":[],"mappings":";;;iBAagB,sBAAA;;;GAGb,KAAA,CAAM,mBAAmB,qBAAkB,oBAAA,CAAA,GAAA,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { Path } from "../../modules/config/paths/types.mjs";
2
- import * as react_jsx_runtime96 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime269 from "react/jsx-runtime";
3
3
  import React from "react";
4
4
 
5
5
  //#region src/components/header/bottom-bar.client.d.ts
@@ -11,7 +11,7 @@ type BottomBarProps = {
11
11
  };
12
12
  declare function BottomBar({
13
13
  children
14
- }: BottomBarProps): react_jsx_runtime96.JSX.Element;
14
+ }: BottomBarProps): react_jsx_runtime269.JSX.Element;
15
15
  /**
16
16
  * Bottombar link component
17
17
  */
@@ -23,7 +23,7 @@ declare function BottomBarLinks({
23
23
  paths,
24
24
  className,
25
25
  ...props
26
- }: BottomBarLinksProps): react_jsx_runtime96.JSX.Element;
26
+ }: BottomBarLinksProps): react_jsx_runtime269.JSX.Element;
27
27
  //#endregion
28
28
  export { BottomBar, BottomBarLink, BottomBarLinks, BottomBarLinksProps, BottomBarProps };
29
29
  //# sourceMappingURL=bottom-bar.client.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bottom-bar.client.d.mts","names":[],"sources":["../../../src/components/header/bottom-bar.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAYY,KAAA,cAAA,GAAc;EAIV,QAAA,EAHJ,KAAA,CAAM,SAGO;CAAG;AAAY,iBAAxB,SAAA,CAAwB;EAAA;AAAA,CAAA,EAAA,cAAA,CAAA,EAAc,mBAAA,CAAA,GAAA,CAAA,OAAd;;;AAWxC;AAEY,KAFA,aAAA,GAAgB,IAEG,CAFE,IAEF,EAAA,MAAA,GAAA,OAAA,CAAA;AAAwB,KAA3C,mBAAA,GAAsB,KAAA,CAAM,cAAe,CAAA,WAAA,CAAA,GAAA;EAArB,KAAM,EAC/B,aAD+B,EAAA;CAC/B;AAAa,iBAGN,cAAA,CAHM;EAAA,KAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAGyC,mBAHzC,CAAA,EAG4D,mBAAA,CAAA,GAAA,CAAA,OAH5D"}
1
+ {"version":3,"file":"bottom-bar.client.d.mts","names":[],"sources":["../../../src/components/header/bottom-bar.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAYY,KAAA,cAAA,GAAc;EAIV,QAAA,EAHJ,KAAA,CAAM,SAGO;CAAG;AAAY,iBAAxB,SAAA,CAAwB;EAAA;AAAA,CAAA,EAAA,cAAA,CAAA,EAAc,oBAAA,CAAA,GAAA,CAAA,OAAd;;;AAWxC;AAEY,KAFA,aAAA,GAAgB,IAEG,CAFE,IAEF,EAAA,MAAA,GAAA,OAAA,CAAA;AAAwB,KAA3C,mBAAA,GAAsB,KAAA,CAAM,cAAe,CAAA,WAAA,CAAA,GAAA;EAArB,KAAM,EAC/B,aAD+B,EAAA;CAC/B;AAAa,iBAGN,cAAA,CAHM;EAAA,KAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAGyC,mBAHzC,CAAA,EAG4D,oBAAA,CAAA,GAAA,CAAA,OAH5D"}
@@ -3,8 +3,8 @@
3
3
  import { cn } from "../../lib/utils/cn.mjs";
4
4
  import { Allowed } from "../../modules/auth/components/allowed.client.mjs";
5
5
  import { jsx } from "react/jsx-runtime";
6
- import Link from "next/link";
7
6
  import { useSelectedLayoutSegment } from "next/navigation";
7
+ import Link from "next/link";
8
8
 
9
9
  //#region src/components/header/bottom-bar.client.tsx
10
10
  function BottomBar({ children }) {
@@ -1,5 +1,5 @@
1
1
  import { BreadcrumbSeparator } from "../ui/breadcrumb.mjs";
2
- import * as react_jsx_runtime98 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime271 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_runtime98.JSX.Element;
13
+ declare function HeaderBreadcrumbs(props: PropsWithChildren): react_jsx_runtime271.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_runtime98.JSX.Element;
18
+ declare function HeaderBreadcrumbsDropdownMenu(props: PropsWithChildren): react_jsx_runtime271.JSX.Element;
19
19
  declare function HeaderBreadcrumbsDropdownMenuItem(props: {
20
20
  breadcrumb: HeaderBreadcrumb;
21
- }): react_jsx_runtime98.JSX.Element;
21
+ }): react_jsx_runtime271.JSX.Element;
22
22
  /**
23
23
  * Links
24
24
  */
25
25
  declare function HeaderBreadcrumbsLink(props: {
26
26
  breadcrumb: HeaderBreadcrumb;
27
- }): react_jsx_runtime98.JSX.Element;
27
+ }): react_jsx_runtime271.JSX.Element;
28
28
  /**
29
29
  * Lists
30
30
  */
31
- declare function HeaderBreadcrumbsMobileList(props: PropsWithChildren): react_jsx_runtime98.JSX.Element;
32
- declare function HeaderBreadcrumbsDesktopList(props: PropsWithChildren): react_jsx_runtime98.JSX.Element;
31
+ declare function HeaderBreadcrumbsMobileList(props: PropsWithChildren): react_jsx_runtime271.JSX.Element;
32
+ declare function HeaderBreadcrumbsDesktopList(props: PropsWithChildren): react_jsx_runtime271.JSX.Element;
33
33
  //#endregion
34
34
  export { HeaderBreadcrumb, HeaderBreadcrumbProps, HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList };
35
35
  //# sourceMappingURL=breadcrumbs.client.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumbs.client.d.mts","names":[],"sources":["../../../src/components/header/breadcrumbs.client.tsx"],"sourcesContent":[],"mappings":";;;;;KAmBY,gBAAA;;;AAAZ,CAAA;AAKY,KAAA,qBAAA,GAAqB;EAIjB,WAAA,EAHD,gBAGkB,EAAA;AAIjC,CAAA;AAKgB,iBATA,iBAAA,CAS6B,KAAA,EATJ,iBASY,CAAA,EATK,mBAAA,CAAA,GAAA,CAAA,OASY;AAatD,cAlBH,yBAkBoC,EAAA,OAlBX,mBAkBmD;AAezF;AAmBA;AAQA;iBAvDgB,6BAAA,QAAqC,oBAAiB,mBAAA,CAAA,GAAA,CAAA;iBAatD,iCAAA;cAAuD;IAAkB,mBAAA,CAAA,GAAA,CAAA;;;;iBAezE,qBAAA;cAA2C;IAAkB,mBAAA,CAAA,GAAA,CAAA;;;;iBAmB7D,2BAAA,QAAmC,oBAAiB,mBAAA,CAAA,GAAA,CAAA;iBAQpD,4BAAA,QAAoC,oBAAiB,mBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"breadcrumbs.client.d.mts","names":[],"sources":["../../../src/components/header/breadcrumbs.client.tsx"],"sourcesContent":[],"mappings":";;;;;KAmBY,gBAAA;;;AAAZ,CAAA;AAKY,KAAA,qBAAA,GAAqB;EAIjB,WAAA,EAHD,gBAGkB,EAAA;AAIjC,CAAA;AAKgB,iBATA,iBAAA,CAS6B,KAAA,EATJ,iBASY,CAAA,EATK,oBAAA,CAAA,GAAA,CAAA,OASY;AAatD,cAlBH,yBAkBoC,EAAA,OAlBX,mBAkBmD;AAezF;AAmBA;AAQA;iBAvDgB,6BAAA,QAAqC,oBAAiB,oBAAA,CAAA,GAAA,CAAA;iBAatD,iCAAA;cAAuD;IAAkB,oBAAA,CAAA,GAAA,CAAA;;;;iBAezE,qBAAA;cAA2C;IAAkB,oBAAA,CAAA,GAAA,CAAA;;;;iBAmB7D,2BAAA,QAAmC,oBAAiB,oBAAA,CAAA,GAAA,CAAA;iBAQpD,4BAAA,QAAoC,oBAAiB,oBAAA,CAAA,GAAA,CAAA"}
@@ -1,5 +1,5 @@
1
- import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../ui/dropdown-menu.mjs";
2
1
  import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "../ui/breadcrumb.mjs";
2
+ import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../ui/dropdown-menu.mjs";
3
3
  import { ScrollArea } from "../ui/scroll-area.mjs";
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_runtime104 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime277 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_runtime104.JSX.Element;
9
+ }: ComponentProps<"header">): react_jsx_runtime277.JSX.Element;
10
10
  //#endregion
11
11
  export { Header };
12
12
  //# sourceMappingURL=header.client.d.mts.map
@@ -1,10 +1,10 @@
1
- import * as react_jsx_runtime105 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime278 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_runtime105.JSX.Element;
7
+ }: React.HtmlHTMLAttributes<HTMLButtonElement>): react_jsx_runtime278.JSX.Element;
8
8
  //#endregion
9
9
  export { HeaderTopbarMobileNavSwitcher };
10
10
  //# sourceMappingURL=mobile-nav-switcher.client.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import { HeaderBreadcrumb } from "./breadcrumbs.client.mjs";
2
- import * as react_jsx_runtime106 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime279 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_runtime106.JSX.Element;
14
+ }: TopbarProps): react_jsx_runtime279.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_runtime106.JSX.Element;
29
+ }: TopbarTitleProps): react_jsx_runtime279.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_runtime106.JSX.Element;
40
+ }: TopbarToolsProps): react_jsx_runtime279.JSX.Element;
41
41
  //#endregion
42
42
  export { Topbar, TopbarProps, TopbarTitle, TopbarTitleProps, TopbarTools, TopbarToolsProps };
43
43
  //# sourceMappingURL=top-bar.client.d.mts.map
@@ -3,8 +3,8 @@ import { cn } from "../../lib/utils/cn.mjs";
3
3
  import { Badge } from "../ui/badge.mjs";
4
4
  import { HeaderTopbarBackButton } from "./back-button.client.mjs";
5
5
  import { HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList } from "./breadcrumbs.client.mjs";
6
- import { HeaderTopbarMobileNavSwitcher } from "./mobile-nav-switcher.client.mjs";
7
6
  import { Indicator } from "./indicator.client.mjs";
7
+ import { HeaderTopbarMobileNavSwitcher } from "./mobile-nav-switcher.client.mjs";
8
8
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
9
  import { Fragment as Fragment$1 } from "react";
10
10
 
@@ -1,5 +1,5 @@
1
1
  import { ScrollArea } from "../ui/scroll-area.mjs";
2
- import * as react_jsx_runtime109 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime282 from "react/jsx-runtime";
3
3
  import { ComponentProps } from "react";
4
4
 
5
5
  //#region src/components/layouts/admin-content.client.d.ts
@@ -7,7 +7,7 @@ declare function AdminContent({
7
7
  children,
8
8
  className,
9
9
  ...props
10
- }: ComponentProps<typeof ScrollArea>): react_jsx_runtime109.JSX.Element;
10
+ }: ComponentProps<typeof ScrollArea>): react_jsx_runtime282.JSX.Element;
11
11
  //#endregion
12
12
  export { AdminContent };
13
13
  //# sourceMappingURL=admin-content.client.d.mts.map
@@ -0,0 +1,23 @@
1
+ import * as react_jsx_runtime49 from "react/jsx-runtime";
2
+
3
+ //#region src/components/layouts/admin-error-pages.d.ts
4
+ /**
5
+ * Admin Not Found Page
6
+ */
7
+ declare function AdminNotFoundPage(): react_jsx_runtime49.JSX.Element;
8
+ /**
9
+ * Admin Not Allowed Page
10
+ */
11
+ declare function AdminNotAllowedPage(): react_jsx_runtime49.JSX.Element;
12
+ /**
13
+ * ErrorPage
14
+ * - If the error is a ServerError and the code is "UNAUTHORIZED", show the NotAllowedPage
15
+ * - If the error is a ServerError and the code is "NOT_FOUND", show the NotFoundSection
16
+ * - Else show the ErrorPage
17
+ */
18
+ declare function AdminErrorPage(props: {
19
+ error: Error;
20
+ }): react_jsx_runtime49.JSX.Element;
21
+ //#endregion
22
+ export { AdminErrorPage, AdminNotAllowedPage, AdminNotFoundPage };
23
+ //# sourceMappingURL=admin-error-pages.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin-error-pages.d.mts","names":[],"sources":["../../../src/components/layouts/admin-error-pages.tsx"],"sourcesContent":[],"mappings":";;;;;;AAcgB,iBAAA,iBAAA,CAAA,CAAiB,EAAA,mBAAA,CAAA,GAAA,CAAA,OAAA;AAmBjC;AAsBA;;iBAtBgB,mBAAA,CAAA,GAAmB,mBAAA,CAAA,GAAA,CAAA;;;;;;;iBAsBnB,cAAA;SAA+B;IAAO,mBAAA,CAAA,GAAA,CAAA"}
@@ -0,0 +1,60 @@
1
+ import { ServerError } from "../../modules/router/lib/error.server.mjs";
2
+ import { Header } from "../header/header.client.mjs";
3
+ import { Topbar, TopbarTitle } from "../header/top-bar.client.mjs";
4
+ import { DefaultErrorSection, NotAllowedSection, NotFoundSection, ServerErrorSection } from "./error-sections.mjs";
5
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
+
7
+ //#region src/components/layouts/admin-error-pages.tsx
8
+ /**
9
+ * Admin Not Found Page
10
+ */
11
+ function AdminNotFoundPage() {
12
+ return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Header, { children: /* @__PURE__ */ jsx(Topbar, { children: /* @__PURE__ */ jsx(TopbarTitle, { breadcrumbs: [{ label: "404" }] }) }) }), /* @__PURE__ */ jsx("div", {
13
+ className: "p-content",
14
+ children: /* @__PURE__ */ jsx(NotFoundSection, { className: "min-h-[calc(100dvh-var(--header-top-bar-height)-var(--content)-var(--content))]" })
15
+ })] });
16
+ }
17
+ /**
18
+ * Admin Not Allowed Page
19
+ */
20
+ function AdminNotAllowedPage() {
21
+ return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Header, { children: /* @__PURE__ */ jsx(Topbar, { children: /* @__PURE__ */ jsx(TopbarTitle, { breadcrumbs: [{ label: "Unauthorized" }] }) }) }), /* @__PURE__ */ jsx("div", {
22
+ className: "p-content",
23
+ children: /* @__PURE__ */ jsx(NotAllowedSection, { className: "min-h-[calc(100dvh-var(--header-top-bar-height)-var(--content)-var(--content))]" })
24
+ })] });
25
+ }
26
+ /**
27
+ * ErrorPage
28
+ * - If the error is a ServerError and the code is "UNAUTHORIZED", show the NotAllowedPage
29
+ * - If the error is a ServerError and the code is "NOT_FOUND", show the NotFoundSection
30
+ * - Else show the ErrorPage
31
+ */
32
+ function AdminErrorPage(props) {
33
+ const serverErrorCode = props.error instanceof ServerError ? props.error.code : void 0;
34
+ /**
35
+ * If the error is a ServerError and the code is "UNAUTHORIZED", show the NotAllowedPage
36
+ */
37
+ if (serverErrorCode === "UNAUTHORIZED") return /* @__PURE__ */ jsx(AdminNotAllowedPage, {});
38
+ /**
39
+ * If the error is a ServerError and the code is "UNAUTHORIZED", show the NotAllowedPage
40
+ */
41
+ if (serverErrorCode === "NOT_FOUND") return /* @__PURE__ */ jsx(AdminNotFoundPage, {});
42
+ /**
43
+ * If the error is a ServerError and the code is "UNAUTHORIZED", show the NotAllowedPage
44
+ */
45
+ if (serverErrorCode === "INTERNAL_SERVER_ERROR") return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Header, { children: /* @__PURE__ */ jsx(Topbar, { children: /* @__PURE__ */ jsx(TopbarTitle, { breadcrumbs: [{ label: "Server Error" }] }) }) }), /* @__PURE__ */ jsx("div", {
46
+ className: "p-content",
47
+ children: /* @__PURE__ */ jsx(ServerErrorSection, { className: "min-h-[calc(100dvh-var(--header-top-bar-height)-var(--content)-var(--content))]" })
48
+ })] });
49
+ /**
50
+ * Else show the ErrorPage
51
+ */
52
+ return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Header, { children: /* @__PURE__ */ jsx(Topbar, { children: /* @__PURE__ */ jsx(TopbarTitle, { breadcrumbs: [{ label: "Error" }] }) }) }), /* @__PURE__ */ jsx("div", {
53
+ className: "p-content",
54
+ children: /* @__PURE__ */ jsx(DefaultErrorSection, { className: "min-h-[calc(100dvh-var(--header-top-bar-height)-var(--content)-var(--content))]" })
55
+ })] });
56
+ }
57
+
58
+ //#endregion
59
+ export { AdminErrorPage, AdminNotAllowedPage, AdminNotFoundPage };
60
+ //# sourceMappingURL=admin-error-pages.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin-error-pages.mjs","names":["serverErrorCode: CommonORPCErrorCode"],"sources":["../../../src/components/layouts/admin-error-pages.tsx"],"sourcesContent":["import { ServerError } from \"@/modules/router/lib/error.server\";\nimport { CommonORPCErrorCode } from \"@orpc/client\";\nimport { Header } from \"../header/header.client\";\nimport { Topbar, TopbarTitle } from \"../header/top-bar.client\";\nimport {\n DefaultErrorSection,\n NotAllowedSection,\n NotFoundSection,\n ServerErrorSection,\n} from \"./error-sections\";\n\n/**\n * Admin Not Found Page\n */\nexport function AdminNotFoundPage() {\n return (\n <>\n <Header>\n <Topbar>\n <TopbarTitle breadcrumbs={[{ label: \"404\" }]} />\n </Topbar>\n </Header>\n\n <div className=\"p-content\">\n <NotFoundSection className=\"min-h-[calc(100dvh-var(--header-top-bar-height)-var(--content)-var(--content))]\" />\n </div>\n </>\n );\n}\n\n/**\n * Admin Not Allowed Page\n */\nexport function AdminNotAllowedPage() {\n return (\n <>\n <Header>\n <Topbar>\n <TopbarTitle breadcrumbs={[{ label: \"Unauthorized\" }]} />\n </Topbar>\n </Header>\n\n <div className=\"p-content\">\n <NotAllowedSection className=\"min-h-[calc(100dvh-var(--header-top-bar-height)-var(--content)-var(--content))]\" />\n </div>\n </>\n );\n}\n\n/**\n * ErrorPage\n * - If the error is a ServerError and the code is \"UNAUTHORIZED\", show the NotAllowedPage\n * - If the error is a ServerError and the code is \"NOT_FOUND\", show the NotFoundSection\n * - Else show the ErrorPage\n */\nexport function AdminErrorPage(props: { error: Error }) {\n const serverErrorCode: CommonORPCErrorCode =\n props.error instanceof ServerError ? props.error.code : undefined;\n\n /**\n * If the error is a ServerError and the code is \"UNAUTHORIZED\", show the NotAllowedPage\n */\n if (serverErrorCode === \"UNAUTHORIZED\") {\n return <AdminNotAllowedPage />;\n }\n\n /**\n * If the error is a ServerError and the code is \"UNAUTHORIZED\", show the NotAllowedPage\n */\n if (serverErrorCode === \"NOT_FOUND\") {\n return <AdminNotFoundPage />;\n }\n\n /**\n * If the error is a ServerError and the code is \"UNAUTHORIZED\", show the NotAllowedPage\n */\n if (serverErrorCode === \"INTERNAL_SERVER_ERROR\") {\n return (\n <>\n <Header>\n <Topbar>\n <TopbarTitle breadcrumbs={[{ label: \"Server Error\" }]} />\n </Topbar>\n </Header>\n\n <div className=\"p-content\">\n <ServerErrorSection className=\"min-h-[calc(100dvh-var(--header-top-bar-height)-var(--content)-var(--content))]\" />\n </div>\n </>\n );\n }\n\n /**\n * Else show the ErrorPage\n */\n return (\n <>\n <Header>\n <Topbar>\n <TopbarTitle breadcrumbs={[{ label: \"Error\" }]} />\n </Topbar>\n </Header>\n\n <div className=\"p-content\">\n <DefaultErrorSection className=\"min-h-[calc(100dvh-var(--header-top-bar-height)-var(--content)-var(--content))]\" />\n </div>\n </>\n );\n}\n"],"mappings":";;;;;;;;;;AAcA,SAAgB,oBAAoB;AAClC,QACE,4CACE,oBAAC,oBACC,oBAAC,oBACC,oBAAC,eAAY,aAAa,CAAC,EAAE,OAAO,OAAO,CAAC,GAAI,GACzC,GACF,EAET,oBAAC;EAAI,WAAU;YACb,oBAAC,mBAAgB,WAAU,oFAAoF;GAC3G,IACL;;;;;AAOP,SAAgB,sBAAsB;AACpC,QACE,4CACE,oBAAC,oBACC,oBAAC,oBACC,oBAAC,eAAY,aAAa,CAAC,EAAE,OAAO,gBAAgB,CAAC,GAAI,GAClD,GACF,EAET,oBAAC;EAAI,WAAU;YACb,oBAAC,qBAAkB,WAAU,oFAAoF;GAC7G,IACL;;;;;;;;AAUP,SAAgB,eAAe,OAAyB;CACtD,MAAMA,kBACJ,MAAM,iBAAiB,cAAc,MAAM,MAAM,OAAO;;;;AAK1D,KAAI,oBAAoB,eACtB,QAAO,oBAAC,wBAAsB;;;;AAMhC,KAAI,oBAAoB,YACtB,QAAO,oBAAC,sBAAoB;;;;AAM9B,KAAI,oBAAoB,wBACtB,QACE,4CACE,oBAAC,oBACC,oBAAC,oBACC,oBAAC,eAAY,aAAa,CAAC,EAAE,OAAO,gBAAgB,CAAC,GAAI,GAClD,GACF,EAET,oBAAC;EAAI,WAAU;YACb,oBAAC,sBAAmB,WAAU,oFAAoF;GAC9G,IACL;;;;AAOP,QACE,4CACE,oBAAC,oBACC,oBAAC,oBACC,oBAAC,eAAY,aAAa,CAAC,EAAE,OAAO,SAAS,CAAC,GAAI,GAC3C,GACF,EAET,oBAAC;EAAI,WAAU;YACb,oBAAC,uBAAoB,WAAU,oFAAoF;GAC/G,IACL"}