@tulip-systems/core 0.5.3 → 0.5.5

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 (291) hide show
  1. package/dist/auth/client.d.mts +3 -3
  2. package/dist/auth/client.mjs +2 -2
  3. package/dist/components/client.d.mts +2 -2
  4. package/dist/components/common/icons.d.mts +52 -52
  5. package/dist/components/common/icons.d.mts.map +1 -1
  6. package/dist/components/common/status.d.mts +3 -3
  7. package/dist/components/common/status.d.mts.map +1 -1
  8. package/dist/components/editor/components/content.client.d.mts +2 -2
  9. package/dist/components/editor/components/content.client.d.mts.map +1 -1
  10. package/dist/components/editor/components/editor.client.d.mts +6 -6
  11. package/dist/components/editor/components/editor.client.d.mts.map +1 -1
  12. package/dist/components/editor/components/menu.client.d.mts +3 -3
  13. package/dist/components/editor/components/menu.client.d.mts.map +1 -1
  14. package/dist/components/editor/extensions/file-handler/utils.mjs +1 -1
  15. package/dist/components/editor/extensions/file-handler/utils.mjs.map +1 -1
  16. package/dist/components/editor/extensions/image/extension.mjs +0 -1
  17. package/dist/components/editor/extensions/image/extension.mjs.map +1 -1
  18. package/dist/components/editor/extensions/skeleton/extension.mjs +1 -1
  19. package/dist/components/editor/lib/constants.d.mts +29 -29
  20. package/dist/components/editor/lib/constants.mjs +3 -3
  21. package/dist/components/editor/lib/extensions.d.mts +3 -3
  22. package/dist/components/editor/lib/helpers.d.mts.map +1 -1
  23. package/dist/components/editor/lib/helpers.mjs +38 -3
  24. package/dist/components/editor/lib/helpers.mjs.map +1 -1
  25. package/dist/components/header/back-button.client.d.mts +2 -2
  26. package/dist/components/header/back-button.client.d.mts.map +1 -1
  27. package/dist/components/header/bottom-bar.client.d.mts +3 -3
  28. package/dist/components/header/bottom-bar.client.d.mts.map +1 -1
  29. package/dist/components/header/breadcrumbs.client.d.mts +7 -7
  30. package/dist/components/header/breadcrumbs.client.d.mts.map +1 -1
  31. package/dist/components/header/header.client.d.mts +2 -2
  32. package/dist/components/header/header.client.d.mts.map +1 -1
  33. package/dist/components/header/mobile-nav-switcher.client.d.mts +2 -2
  34. package/dist/components/header/mobile-nav-switcher.client.d.mts.map +1 -1
  35. package/dist/components/header/top-bar.client.d.mts +4 -4
  36. package/dist/components/header/top-bar.client.d.mts.map +1 -1
  37. package/dist/components/layouts/admin-content.client.d.mts +2 -2
  38. package/dist/components/layouts/admin-content.client.d.mts.map +1 -1
  39. package/dist/components/layouts/admin-layout.d.mts +2 -2
  40. package/dist/components/layouts/admin-layout.d.mts.map +1 -1
  41. package/dist/components/layouts/admin-loading.d.mts +2 -2
  42. package/dist/components/layouts/admin-loading.d.mts.map +1 -1
  43. package/dist/components/layouts/empty-page.d.mts +4 -4
  44. package/dist/components/layouts/empty-page.d.mts.map +1 -1
  45. package/dist/components/layouts/error-page.d.mts +23 -0
  46. package/dist/components/layouts/error-page.d.mts.map +1 -0
  47. package/dist/components/layouts/error-page.mjs +58 -0
  48. package/dist/components/layouts/error-page.mjs.map +1 -0
  49. package/dist/components/layouts/list-layout.d.mts +2 -2
  50. package/dist/components/layouts/list-layout.d.mts.map +1 -1
  51. package/dist/components/layouts/not-allowed-page.d.mts +22 -0
  52. package/dist/components/layouts/not-allowed-page.d.mts.map +1 -0
  53. package/dist/components/layouts/not-allowed-page.mjs +25 -0
  54. package/dist/components/layouts/not-allowed-page.mjs.map +1 -0
  55. package/dist/components/layouts/not-found-page.d.mts +3 -3
  56. package/dist/components/layouts/not-found-page.d.mts.map +1 -1
  57. package/dist/components/layouts/providers.client.d.mts +2 -2
  58. package/dist/components/layouts/providers.client.d.mts.map +1 -1
  59. package/dist/components/layouts/root-layout.server.d.mts +2 -2
  60. package/dist/components/layouts/root-layout.server.d.mts.map +1 -1
  61. package/dist/components/layouts/root-loading.d.mts +2 -2
  62. package/dist/components/layouts/root-loading.d.mts.map +1 -1
  63. package/dist/components/layouts/tab-layout.d.mts +2 -2
  64. package/dist/components/layouts/tab-layout.d.mts.map +1 -1
  65. package/dist/components/lists/data-list.d.mts +5 -5
  66. package/dist/components/lists/data-list.d.mts.map +1 -1
  67. package/dist/components/lists/data-stack.d.mts +8 -8
  68. package/dist/components/navigation/admin-sidebar-paths.client.d.mts +21 -11
  69. package/dist/components/navigation/admin-sidebar-paths.client.d.mts.map +1 -1
  70. package/dist/components/navigation/admin-sidebar-paths.client.mjs +7 -5
  71. package/dist/components/navigation/admin-sidebar-paths.client.mjs.map +1 -1
  72. package/dist/components/ui/accordion.d.mts +5 -5
  73. package/dist/components/ui/alert-dialog.d.mts +12 -12
  74. package/dist/components/ui/alert.d.mts +6 -6
  75. package/dist/components/ui/aspect-ratio.d.mts +2 -2
  76. package/dist/components/ui/avatar.client.d.mts +4 -4
  77. package/dist/components/ui/avatar.client.d.mts.map +1 -1
  78. package/dist/components/ui/badge.d.mts +4 -4
  79. package/dist/components/ui/breadcrumb.d.mts +8 -8
  80. package/dist/components/ui/button.d.mts +4 -4
  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/chart.client.d.mts.map +1 -1
  86. package/dist/components/ui/checkbox.d.mts +2 -2
  87. package/dist/components/ui/collapsible.client.d.mts +4 -4
  88. package/dist/components/ui/collapsible.client.d.mts.map +1 -1
  89. package/dist/components/ui/color-picker.client.d.mts +2 -2
  90. package/dist/components/ui/color-picker.client.d.mts.map +1 -1
  91. package/dist/components/ui/combobox-dropdown.client.d.mts +2 -2
  92. package/dist/components/ui/combobox-dropdown.client.d.mts.map +1 -1
  93. package/dist/components/ui/combobox.client.d.mts +2 -2
  94. package/dist/components/ui/combobox.client.d.mts.map +1 -1
  95. package/dist/components/ui/command.d.mts +10 -10
  96. package/dist/components/ui/context-menu.d.mts +16 -16
  97. package/dist/components/ui/date-picker.client.d.mts +2 -2
  98. package/dist/components/ui/date-picker.client.d.mts.map +1 -1
  99. package/dist/components/ui/dialog.client.d.mts +11 -11
  100. package/dist/components/ui/dialog.client.d.mts.map +1 -1
  101. package/dist/components/ui/drawer.client.d.mts +11 -11
  102. package/dist/components/ui/dropdown-menu.d.mts +16 -16
  103. package/dist/components/ui/form.client.d.mts +7 -7
  104. package/dist/components/ui/hover-card.client.d.mts +4 -4
  105. package/dist/components/ui/input-recipient.d.mts +2 -2
  106. package/dist/components/ui/input.d.mts +2 -2
  107. package/dist/components/ui/label.d.mts +2 -2
  108. package/dist/components/ui/navigation-menu.d.mts +11 -11
  109. package/dist/components/ui/pagination.d.mts +8 -8
  110. package/dist/components/ui/popover.d.mts +5 -5
  111. package/dist/components/ui/popover.d.mts.map +1 -1
  112. package/dist/components/ui/progress.client.d.mts +2 -2
  113. package/dist/components/ui/radio-group.d.mts +3 -3
  114. package/dist/components/ui/resizable.client.d.mts +4 -4
  115. package/dist/components/ui/scroll-area.d.mts +3 -3
  116. package/dist/components/ui/select.client.d.mts +11 -11
  117. package/dist/components/ui/separator.d.mts +2 -2
  118. package/dist/components/ui/sheet.client.d.mts +9 -9
  119. package/dist/components/ui/sidebar.client.d.mts +26 -26
  120. package/dist/components/ui/skeleton.d.mts +2 -2
  121. package/dist/components/ui/slider.d.mts +2 -2
  122. package/dist/components/ui/sonner.client.d.mts +2 -2
  123. package/dist/components/ui/switch.d.mts +2 -2
  124. package/dist/components/ui/tabs.d.mts +5 -5
  125. package/dist/components/ui/textarea.d.mts +2 -2
  126. package/dist/components/ui/time-input.client.d.mts +2 -2
  127. package/dist/components/ui/toggle-group.client.d.mts +3 -3
  128. package/dist/components/ui/toggle.d.mts +2 -2
  129. package/dist/components/ui/tooltip.client.d.mts +5 -5
  130. package/dist/components/ui/tooltip.client.d.mts.map +1 -1
  131. package/dist/components/ui/tooltip.client.mjs +1 -1
  132. package/dist/components/ui/tooltip.client.mjs.map +1 -1
  133. package/dist/components.d.mts +3 -1
  134. package/dist/components.mjs +5 -3
  135. package/dist/lib/hooks/use-action.d.mts +2 -2
  136. package/dist/lib/hooks/use-indicator.d.mts +2 -2
  137. package/dist/modules/auth/components/allowed.client.d.mts +21 -7
  138. package/dist/modules/auth/components/allowed.client.d.mts.map +1 -1
  139. package/dist/modules/auth/components/allowed.client.mjs +8 -2
  140. package/dist/modules/auth/components/allowed.client.mjs.map +1 -1
  141. package/dist/modules/auth/components/auth-layout.server.d.mts +2 -2
  142. package/dist/modules/auth/components/auth-layout.server.d.mts.map +1 -1
  143. package/dist/modules/auth/components/auth-loading.d.mts +2 -2
  144. package/dist/modules/auth/components/create-first-user-page.client.d.mts +2 -2
  145. package/dist/modules/auth/components/create-first-user-page.client.d.mts.map +1 -1
  146. package/dist/modules/auth/components/create-first-user-page.client.mjs +1 -0
  147. package/dist/modules/auth/components/create-first-user-page.client.mjs.map +1 -1
  148. package/dist/modules/auth/components/forget-password-page.client.d.mts +2 -2
  149. package/dist/modules/auth/components/forget-password-page.client.d.mts.map +1 -1
  150. package/dist/modules/auth/components/guard-first-user.server.d.mts +2 -2
  151. package/dist/modules/auth/components/guard-first-user.server.d.mts.map +1 -1
  152. package/dist/modules/auth/components/guard.server.d.mts +2 -2
  153. package/dist/modules/auth/components/guard.server.d.mts.map +1 -1
  154. package/dist/modules/auth/components/login-page.client.d.mts +2 -2
  155. package/dist/modules/auth/components/login-page.client.d.mts.map +1 -1
  156. package/dist/modules/auth/components/reset-password-page.client.d.mts +2 -2
  157. package/dist/modules/auth/components/reset-password-page.client.d.mts.map +1 -1
  158. package/dist/modules/auth/components/update-password-command.d.mts +2 -2
  159. package/dist/modules/auth/components/update-password-command.d.mts.map +1 -1
  160. package/dist/modules/auth/db/schema.d.mts +73 -73
  161. package/dist/modules/auth/db/schema.d.mts.map +1 -1
  162. package/dist/modules/auth/handler/client.client.d.mts +143 -143
  163. package/dist/modules/auth/handler/client.client.d.mts.map +1 -1
  164. package/dist/modules/auth/handler/init.d.mts +131 -131
  165. package/dist/modules/auth/handler/init.d.mts.map +1 -1
  166. package/dist/modules/auth/hooks/use-permission.d.mts +48 -4
  167. package/dist/modules/auth/hooks/use-permission.d.mts.map +1 -1
  168. package/dist/modules/auth/hooks/use-permission.mjs +51 -4
  169. package/dist/modules/auth/hooks/use-permission.mjs.map +1 -1
  170. package/dist/modules/auth/hooks/use-session.d.mts +4 -4
  171. package/dist/modules/auth/lib/helpers.server.d.mts +2 -2
  172. package/dist/modules/auth/lib/helpers.server.mjs +1 -1
  173. package/dist/modules/auth/lib/validators.d.mts +3 -3
  174. package/dist/modules/auth/lib/validators.d.mts.map +1 -1
  175. package/dist/modules/auth/lib/validators.mjs +1 -1
  176. package/dist/modules/auth/lib/validators.mjs.map +1 -1
  177. package/dist/modules/commands/components/alert-dialog-command.client.d.mts +10 -10
  178. package/dist/modules/commands/components/alert-dialog-command.client.d.mts.map +1 -1
  179. package/dist/modules/commands/components/click-command.client.d.mts +2 -2
  180. package/dist/modules/commands/components/click-command.client.d.mts.map +1 -1
  181. package/dist/modules/commands/components/command-trigger.client.d.mts +6 -6
  182. package/dist/modules/commands/components/command-trigger.client.d.mts.map +1 -1
  183. package/dist/modules/commands/components/dialog-command.client.d.mts +8 -8
  184. package/dist/modules/commands/components/dialog-command.client.d.mts.map +1 -1
  185. package/dist/modules/commands/components/dropdown-command.client.d.mts +5 -5
  186. package/dist/modules/commands/components/dropdown-command.client.d.mts.map +1 -1
  187. package/dist/modules/commands/components/empty-command.client.d.mts +2 -2
  188. package/dist/modules/commands/components/empty-command.client.d.mts.map +1 -1
  189. package/dist/modules/commands/components/form-dialog-command.client.d.mts +11 -11
  190. package/dist/modules/commands/components/form-dialog-command.client.d.mts.map +1 -1
  191. package/dist/modules/commands/hooks/use-command-menu.client.d.mts.map +1 -1
  192. package/dist/modules/commands/hooks/use-command-menu.client.mjs +0 -5
  193. package/dist/modules/commands/hooks/use-command-menu.client.mjs.map +1 -1
  194. package/dist/modules/commands/hooks/use-command-mutation.client.d.mts +2 -2
  195. package/dist/modules/commands/menus/context-menu.client.d.mts +2 -2
  196. package/dist/modules/commands/menus/context-menu.client.d.mts.map +1 -1
  197. package/dist/modules/commands/menus/dropdown-menu.client.d.mts +3 -3
  198. package/dist/modules/commands/menus/dropdown-menu.client.d.mts.map +1 -1
  199. package/dist/modules/commands/menus/inline-menu.client.d.mts +3 -3
  200. package/dist/modules/commands/menus/inline-menu.client.d.mts.map +1 -1
  201. package/dist/modules/commands/menus/responsive-menu.client.d.mts +3 -3
  202. package/dist/modules/commands/menus/responsive-menu.client.d.mts.map +1 -1
  203. package/dist/modules/commands/utils/archive-command.client.d.mts +3 -3
  204. package/dist/modules/commands/utils/archive-command.client.d.mts.map +1 -1
  205. package/dist/modules/commands/utils/delete-command.client.d.mts +3 -3
  206. package/dist/modules/commands/utils/delete-command.client.d.mts.map +1 -1
  207. package/dist/modules/config/db/helpers.d.mts +5 -5
  208. package/dist/modules/config/db/helpers.d.mts.map +1 -1
  209. package/dist/modules/data-tables/components/cell/common.client.d.mts +5 -5
  210. package/dist/modules/data-tables/components/column-header.d.mts +2 -2
  211. package/dist/modules/data-tables/components/filters/combobox.client.d.mts +2 -2
  212. package/dist/modules/data-tables/components/filters/slider.client.d.mts +2 -2
  213. package/dist/modules/data-tables/components/header.d.mts +4 -4
  214. package/dist/modules/data-tables/components/layout.d.mts +2 -2
  215. package/dist/modules/data-tables/components/search-input.client.d.mts +2 -2
  216. package/dist/modules/data-tables/components/skeleton.d.mts +2 -2
  217. package/dist/modules/data-tables/components/table.d.mts +7 -7
  218. package/dist/modules/data-tables/components/toolbar.d.mts +3 -3
  219. package/dist/modules/data-tables/hooks/use-context.client.d.mts +2 -2
  220. package/dist/modules/data-tables/tables/data-table/components/table.d.mts +2 -2
  221. package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts +2 -2
  222. package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts +2 -2
  223. package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.mts +2 -2
  224. package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.mts +2 -2
  225. package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.mts +3 -3
  226. package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.mts +2 -2
  227. package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.mts +2 -2
  228. package/dist/modules/data-tables/tables/inline-table/components/table.d.mts +2 -2
  229. package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts +2 -2
  230. package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts +2 -2
  231. package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts.map +1 -1
  232. package/dist/modules/inline-edit/components/combobox.client.d.mts +2 -2
  233. package/dist/modules/inline-edit/components/combobox.client.d.mts.map +1 -1
  234. package/dist/modules/inline-edit/components/date-input.client.d.mts +2 -2
  235. package/dist/modules/inline-edit/components/date-input.client.d.mts.map +1 -1
  236. package/dist/modules/inline-edit/components/date-picker.client.d.mts +2 -2
  237. package/dist/modules/inline-edit/components/date-picker.client.d.mts.map +1 -1
  238. package/dist/modules/inline-edit/components/editor.client.d.mts +2 -2
  239. package/dist/modules/inline-edit/components/editor.client.d.mts.map +1 -1
  240. package/dist/modules/inline-edit/components/input-recipient.client.d.mts +2 -2
  241. package/dist/modules/inline-edit/components/input-recipient.client.d.mts.map +1 -1
  242. package/dist/modules/inline-edit/components/input-toggle.client.d.mts +2 -2
  243. package/dist/modules/inline-edit/components/input-toggle.client.d.mts.map +1 -1
  244. package/dist/modules/inline-edit/components/input.client.d.mts +4 -4
  245. package/dist/modules/inline-edit/components/input.client.d.mts.map +1 -1
  246. package/dist/modules/inline-edit/components/select.client.d.mts +6 -6
  247. package/dist/modules/inline-edit/components/switch.client.d.mts +2 -2
  248. package/dist/modules/inline-edit/components/toggle.client.d.mts +2 -2
  249. package/dist/modules/inline-edit/lib/variants.d.mts +1 -1
  250. package/dist/modules/router/handler/init.server.d.mts +6 -6
  251. package/dist/modules/router/handler/init.server.d.mts.map +1 -1
  252. package/dist/modules/router/handler/init.server.mjs +1 -1
  253. package/dist/modules/storage/components/dropzone-context.client.d.mts +2 -2
  254. package/dist/modules/storage/components/dropzone-context.client.d.mts.map +1 -1
  255. package/dist/modules/storage/components/dropzone.client.d.mts +5 -5
  256. package/dist/modules/storage/components/dropzone.client.d.mts.map +1 -1
  257. package/dist/modules/storage/components/dropzone.client.mjs +1 -1
  258. package/dist/modules/storage/components/image-grid.client.d.mts +3 -3
  259. package/dist/modules/storage/components/image-grid.client.d.mts.map +1 -1
  260. package/dist/modules/storage/components/image-grid.client.mjs +1 -1
  261. package/dist/modules/storage/components/upload-zone.client.d.mts +2 -2
  262. package/dist/modules/storage/components/upload-zone.client.d.mts.map +1 -1
  263. package/dist/modules/storage/lib/create-upload.client.d.mts.map +1 -1
  264. package/dist/modules/storage/lib/router.server.d.mts +2346 -2346
  265. package/dist/modules/storage/lib/router.server.d.mts.map +1 -1
  266. package/dist/modules/storage/lib/router.server.mjs +1 -1
  267. package/dist/modules/storage/lib/schema.d.mts +92 -92
  268. package/dist/modules/storage/lib/schema.d.mts.map +1 -1
  269. package/dist/modules/storage/lib/schema.mjs +1 -1
  270. package/dist/modules/storage/lib/service.server.d.mts +21 -21
  271. package/dist/modules/storage/lib/service.server.mjs +2 -2
  272. package/dist/modules/storage/lib/validators.d.mts +91 -91
  273. package/dist/modules/storage/lib/validators.d.mts.map +1 -1
  274. package/dist/router/server.mjs +1 -1
  275. package/package.json +1 -1
  276. package/src/components/editor/extensions/file-handler/utils.ts +1 -1
  277. package/src/components/editor/extensions/image/extension.ts +0 -2
  278. package/src/components/editor/lib/helpers.ts +39 -3
  279. package/src/components/entry.ts +2 -0
  280. package/src/components/layouts/error-page.tsx +61 -0
  281. package/src/components/layouts/not-allowed-page.tsx +1 -1
  282. package/src/components/navigation/admin-sidebar-paths.client.tsx +18 -2
  283. package/src/components/ui/tooltip.client.tsx +1 -1
  284. package/src/modules/auth/components/allowed.client.tsx +35 -7
  285. package/src/modules/auth/components/create-first-user-page.client.tsx +4 -0
  286. package/src/modules/auth/hooks/use-permission.ts +88 -2
  287. package/src/modules/auth/lib/validators.ts +1 -1
  288. package/src/modules/commands/hooks/use-command-menu.client.tsx +4 -7
  289. package/dist/modules/auth/lib/utils.mjs +0 -21
  290. package/dist/modules/auth/lib/utils.mjs.map +0 -1
  291. package/src/modules/inline-edit/hooks/use-inline.client copy.tsx +0 -97
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime103 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime195 from "react/jsx-runtime";
2
2
  import React from "react";
3
3
 
4
4
  //#region src/components/lists/data-stack.d.ts
@@ -7,43 +7,43 @@ declare function DataStackGrid({
7
7
  children,
8
8
  className,
9
9
  ...props
10
- }: DataStackGridProps): react_jsx_runtime103.JSX.Element;
10
+ }: DataStackGridProps): react_jsx_runtime195.JSX.Element;
11
11
  type DataStackLayoutProps = React.HTMLAttributes<HTMLElement>;
12
12
  declare function DataStackLayout({
13
13
  children,
14
14
  className,
15
15
  ...props
16
- }: DataStackLayoutProps): react_jsx_runtime103.JSX.Element;
16
+ }: DataStackLayoutProps): react_jsx_runtime195.JSX.Element;
17
17
  type DataStackRowProps = React.HTMLAttributes<HTMLElement>;
18
18
  declare function DataStackRow({
19
19
  children,
20
20
  className,
21
21
  ...props
22
- }: DataStackRowProps): react_jsx_runtime103.JSX.Element;
22
+ }: DataStackRowProps): react_jsx_runtime195.JSX.Element;
23
23
  type DataStackColumnProps = React.HTMLAttributes<HTMLElement>;
24
24
  declare function DataStackColumn({
25
25
  children,
26
26
  className,
27
27
  ...props
28
- }: DataStackRowProps): react_jsx_runtime103.JSX.Element;
28
+ }: DataStackRowProps): react_jsx_runtime195.JSX.Element;
29
29
  type DataStackProps = React.HTMLAttributes<HTMLOListElement>;
30
30
  declare function DataStack({
31
31
  children,
32
32
  className,
33
33
  ...props
34
- }: DataStackProps): react_jsx_runtime103.JSX.Element;
34
+ }: DataStackProps): react_jsx_runtime195.JSX.Element;
35
35
  type DataStackTitleProps = React.HTMLAttributes<HTMLElement>;
36
36
  declare function DataStackTitle({
37
37
  children,
38
38
  className,
39
39
  ...props
40
- }: DataStackTitleProps): react_jsx_runtime103.JSX.Element;
40
+ }: DataStackTitleProps): react_jsx_runtime195.JSX.Element;
41
41
  type DataStackValueProps = React.HTMLAttributes<HTMLElement>;
42
42
  declare function DataStackValue({
43
43
  children,
44
44
  className,
45
45
  ...props
46
- }: DataStackValueProps): react_jsx_runtime103.JSX.Element;
46
+ }: DataStackValueProps): react_jsx_runtime195.JSX.Element;
47
47
  //#endregion
48
48
  export { DataStack, DataStackColumn, DataStackColumnProps, DataStackGrid, DataStackGridProps, DataStackLayout, DataStackLayoutProps, DataStackProps, DataStackRow, DataStackRowProps, DataStackTitle, DataStackTitleProps, DataStackValue, DataStackValueProps };
49
49
  //# sourceMappingURL=data-stack.d.mts.map
@@ -1,7 +1,7 @@
1
1
  import { Permission } from "../../modules/auth/lib/permissions.mjs";
2
2
  import { Sidebar } from "../ui/sidebar.client.mjs";
3
3
  import "../../auth.mjs";
4
- import * as react_jsx_runtime279 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime75 from "react/jsx-runtime";
5
5
  import * as React$1 from "react";
6
6
  import { Route } from "next";
7
7
 
@@ -12,19 +12,29 @@ import { Route } from "next";
12
12
  declare function Paths({
13
13
  children,
14
14
  ...props
15
- }: React$1.ComponentProps<typeof Sidebar>): react_jsx_runtime279.JSX.Element;
15
+ }: React$1.ComponentProps<typeof Sidebar>): react_jsx_runtime75.JSX.Element;
16
16
  /**
17
17
  * Path Group
18
18
  */
19
- declare function PathGroup(props: React$1.ComponentProps<"div">): react_jsx_runtime279.JSX.Element;
19
+ type PathGroupProps = React$1.ComponentProps<"div"> & {
20
+ /**
21
+ * Permission to check with the any strategy for displaying the group
22
+ * @example { project: ["view", "create"], client: ["view"], drive: ["view"] }
23
+ */
24
+ permission?: Permission[];
25
+ };
26
+ declare function PathGroup({
27
+ permission,
28
+ ...props
29
+ }: PathGroupProps): react_jsx_runtime75.JSX.Element;
20
30
  /**
21
31
  * Path Group Title
22
32
  */
23
- declare function PathGroupTitle(props: React$1.ComponentProps<"div">): react_jsx_runtime279.JSX.Element;
33
+ declare function PathGroupTitle(props: React$1.ComponentProps<"div">): react_jsx_runtime75.JSX.Element;
24
34
  /**
25
35
  * Path Group Items
26
36
  */
27
- declare function PathGroupItems(props: React$1.PropsWithChildren): react_jsx_runtime279.JSX.Element;
37
+ declare function PathGroupItems(props: React$1.PropsWithChildren): react_jsx_runtime75.JSX.Element;
28
38
  /**
29
39
  * Path
30
40
  */
@@ -39,7 +49,7 @@ declare function Path({
39
49
  isActive,
40
50
  segment,
41
51
  ...props
42
- }: PathProps): react_jsx_runtime279.JSX.Element;
52
+ }: PathProps): react_jsx_runtime75.JSX.Element;
43
53
  /**
44
54
  * Path Button
45
55
  */
@@ -48,11 +58,11 @@ declare function PathLink({
48
58
  children
49
59
  }: React$1.PropsWithChildren<{
50
60
  href: Route;
51
- }>): react_jsx_runtime279.JSX.Element;
61
+ }>): react_jsx_runtime75.JSX.Element;
52
62
  /**
53
63
  * Path Items
54
64
  */
55
- declare function PathItems(props: React$1.ComponentProps<"ul">): react_jsx_runtime279.JSX.Element | null;
65
+ declare function PathItems(props: React$1.ComponentProps<"ul">): react_jsx_runtime75.JSX.Element | null;
56
66
  /**
57
67
  * Path Sub Item
58
68
  */
@@ -67,7 +77,7 @@ declare function PathSubItem({
67
77
  segment,
68
78
  children,
69
79
  ...props
70
- }: PathSubItemProps): react_jsx_runtime279.JSX.Element;
80
+ }: PathSubItemProps): react_jsx_runtime75.JSX.Element;
71
81
  /**
72
82
  * Path Button
73
83
  */
@@ -76,7 +86,7 @@ declare function PathSubItemLink({
76
86
  children
77
87
  }: React$1.PropsWithChildren<{
78
88
  href: Route;
79
- }>): react_jsx_runtime279.JSX.Element;
89
+ }>): react_jsx_runtime75.JSX.Element;
80
90
  //#endregion
81
- export { Path, PathGroup, PathGroupItems, PathGroupTitle, PathItems, PathLink, PathSubItem, PathSubItemLink, Paths };
91
+ export { Path, PathGroup, PathGroupItems, PathGroupProps, PathGroupTitle, PathItems, PathLink, PathSubItem, PathSubItemLink, Paths };
82
92
  //# sourceMappingURL=admin-sidebar-paths.client.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"admin-sidebar-paths.client.d.mts","names":[],"sources":["../../../src/components/navigation/admin-sidebar-paths.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;iBAiCgB,KAAA;;;GAA8B,OAAA,CAAM,sBAAsB,WAAQ,oBAAA,CAAA,GAAA,CAAA;AAAlF;;;AAA8C,iBAoB9B,SAAA,CApBoC,KAAA,EAoBnB,OAAA,CAAM,cApBa,CAAA,KAAA,CAAA,CAAA,EAoBQ,oBAAA,CAAA,GAAA,CAAA,OApBR;;;AAoBpD;AAOgB,iBAAA,cAAA,CAAsB,KAAM,EAAN,OAAA,CAAM,cAAqB,CAAA,KAAA,CAAA,CAAA,EAAA,oBAAA,CAAA,GAAA,CAAA,OAAA;AAOjE;AAMC;AAgBD;AAAuB,iBAtBP,cAAA,CAsBO,KAAA,EAtBe,OAAA,CAAM,iBAsBrB,CAAA,EAtBsC,oBAAA,CAAA,GAAA,CAAA,OAsBtC;;;;KANlB,SAAA,GAAY,OAAA,CAAM,cAMqD,CAAA,IAAA,CAAA,GAAA;EAAS,UAAA,CAAA,EALtE,UAKsE;EAAA,QAAA,CAAA,EAAA,OAAA;EAuBrE,OAAA,CAAA,EAAA,MAAQ;CAAG;AAAM,iBAvBjB,IAAA,CAuBiB;EAAA,UAAA;EAAA,QAAA;EAAA,QAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EAvB2C,SAuB3C,CAAA,EAvBoD,oBAAA,CAAA,GAAA,CAAA,OAuBpD;;;;AAAoD,iBAArE,QAAA,CAAqE;EAAA,IAAA;EAAA;AAqBpF,CArBoF,EAAxC,OAAA,CAAM,iBAAkC,CAAA;EAgBrE,IAAA,EAhB6D,KAgB7D;AAKf,CAAA,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 @@ function Paths({ children, ...props }) {
30
30
  ]
31
31
  });
32
32
  }
33
- /**
34
- * Path Group
35
- */
36
- function PathGroup(props) {
37
- return /* @__PURE__ */ jsx(SidebarGroup, { ...props });
33
+ function PathGroup({ permission, ...props }) {
34
+ if (!permission) return /* @__PURE__ */ jsx(SidebarGroup, { ...props });
35
+ return /* @__PURE__ */ jsx(Allowed, {
36
+ permission,
37
+ strategy: "any",
38
+ children: /* @__PURE__ */ jsx(SidebarGroup, { ...props })
39
+ });
38
40
  }
39
41
  /**
40
42
  * Path Group Title
@@ -1 +1 @@
1
- {"version":3,"file":"admin-sidebar-paths.client.mjs","names":["React"],"sources":["../../../src/components/navigation/admin-sidebar-paths.client.tsx"],"sourcesContent":["\"use client\";\n\nimport {\n Sidebar,\n SidebarContent,\n SidebarGroup,\n SidebarGroupContent,\n SidebarGroupLabel,\n SidebarMenu,\n SidebarMenuButton,\n SidebarMenuItem,\n SidebarMenuSub,\n SidebarMenuSubButton,\n SidebarMenuSubItem,\n SidebarRail,\n useSidebar,\n} from \"@/components/ui/sidebar.client\";\nimport { Allowed } from \"@/modules/auth/components/allowed.client\";\nimport { Permission } from \"@/modules/auth/entry\";\nimport { Route } from \"next\";\nimport Link from \"next/link\";\nimport { useSelectedLayoutSegments } from \"next/navigation\";\nimport * as React from \"react\";\nimport { Suspense } from \"react\";\nimport { AdminSidebarHeader } from \"./admin-sidebar-header.client\";\nimport {\n AdminSidebarHeaderLoading,\n AdminSidebarMenuContentLoading,\n} from \"./admin-sidebar-skeleton\";\n\n/**\n * Paths\n */\nexport function Paths({ children, ...props }: React.ComponentProps<typeof Sidebar>) {\n return (\n <Sidebar {...props}>\n <Suspense fallback={<AdminSidebarHeaderLoading />}>\n <AdminSidebarHeader />\n </Suspense>\n\n <SidebarContent>\n <Suspense fallback={<AdminSidebarMenuContentLoading />}>\n <SidebarMenu>{children}</SidebarMenu>\n </Suspense>\n </SidebarContent>\n <SidebarRail />\n </Sidebar>\n );\n}\n\n/**\n * Path Group\n */\nexport function PathGroup(props: React.ComponentProps<\"div\">) {\n return <SidebarGroup {...props} />;\n}\n\n/**\n * Path Group Title\n */\nexport function PathGroupTitle(props: React.ComponentProps<\"div\">) {\n return <SidebarGroupLabel {...props} />;\n}\n\n/**\n * Path Group Items\n */\nexport function PathGroupItems(props: React.PropsWithChildren) {\n return (\n <SidebarGroupContent>\n <SidebarMenu>{props.children}</SidebarMenu>\n </SidebarGroupContent>\n );\n}\n\n/**\n * Path Context\n */\nconst PathContext = React.createContext({} as { isActive: boolean });\n\n/**\n * Path\n */\ntype PathProps = React.ComponentProps<\"li\"> & {\n permission?: Permission;\n isActive?: boolean;\n segment?: string;\n};\n\nexport function Path({ permission, children, isActive, segment, ...props }: PathProps) {\n const currentSegments = useSelectedLayoutSegments();\n\n if (!permission) {\n return (\n <PathContext value={{ isActive: isActive || segment === currentSegments?.[0] }}>\n <SidebarMenuItem {...props}>{children}</SidebarMenuItem>\n </PathContext>\n );\n }\n\n return (\n <Allowed permission={permission}>\n <PathContext value={{ isActive: isActive || segment === currentSegments?.[0] }}>\n <SidebarMenuItem {...props}>{children}</SidebarMenuItem>\n </PathContext>\n </Allowed>\n );\n}\n\n/**\n * Path Button\n */\nexport function PathLink({ href, children }: React.PropsWithChildren<{ href: Route }>) {\n const { isMobile, toggleSidebar } = useSidebar();\n const { isActive } = React.useContext(PathContext);\n\n return (\n <SidebarMenuButton asChild isActive={isActive}>\n <Link href={href} onClick={isMobile ? toggleSidebar : undefined}>\n {children}\n </Link>\n </SidebarMenuButton>\n );\n}\n\n/**\n * Path Items\n */\nexport function PathItems(props: React.ComponentProps<\"ul\">) {\n const { isActive } = React.useContext(PathContext);\n if (!isActive) return null;\n\n return <SidebarMenuSub {...props} />;\n}\n\n/**\n * Path Sub Item Context\n */\nconst PathSubItemContext = React.createContext({} as { isActive: boolean });\n\n/**\n * Path Sub Item\n */\ntype PathSubItemProps = React.ComponentProps<\"li\"> & {\n permission?: Permission;\n isActive?: boolean;\n segment?: string;\n};\n\nexport function PathSubItem({\n permission,\n isActive,\n segment,\n children,\n ...props\n}: PathSubItemProps) {\n const currentSegments = useSelectedLayoutSegments();\n\n if (!permission) {\n return (\n <PathSubItemContext value={{ isActive: isActive || segment === currentSegments?.[1] }}>\n <SidebarMenuSubItem {...props}>{children}</SidebarMenuSubItem>\n </PathSubItemContext>\n );\n }\n\n return (\n <Allowed permission={permission}>\n <PathSubItemContext value={{ isActive: isActive || segment === currentSegments?.[1] }}>\n <SidebarMenuSubItem {...props}>{children}</SidebarMenuSubItem>\n </PathSubItemContext>\n </Allowed>\n );\n}\n\n/**\n * Path Button\n */\nexport function PathSubItemLink({ href, children }: React.PropsWithChildren<{ href: Route }>) {\n const { isMobile, toggleSidebar } = useSidebar();\n const { isActive } = React.useContext(PathSubItemContext);\n\n return (\n <SidebarMenuSubButton asChild isActive={isActive}>\n <Link href={href} onClick={isMobile ? toggleSidebar : undefined}>\n {children}\n </Link>\n </SidebarMenuSubButton>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAiCA,SAAgB,MAAM,EAAE,UAAU,GAAG,SAA+C;AAClF,QACE,qBAAC;EAAQ,GAAI;;GACX,oBAAC;IAAS,UAAU,oBAAC,8BAA4B;cAC/C,oBAAC,uBAAqB;KACb;GAEX,oBAAC,4BACC,oBAAC;IAAS,UAAU,oBAAC,mCAAiC;cACpD,oBAAC,eAAa,WAAuB;KAC5B,GACI;GACjB,oBAAC,gBAAc;;GACP;;;;;AAOd,SAAgB,UAAU,OAAoC;AAC5D,QAAO,oBAAC,gBAAa,GAAI,QAAS;;;;;AAMpC,SAAgB,eAAe,OAAoC;AACjE,QAAO,oBAAC,qBAAkB,GAAI,QAAS;;;;;AAMzC,SAAgB,eAAe,OAAgC;AAC7D,QACE,oBAAC,iCACC,oBAAC,yBAAa,MAAM,WAAuB,GACvB;;;;;AAO1B,MAAM,cAAcA,QAAM,cAAc,EAAE,CAA0B;AAWpE,SAAgB,KAAK,EAAE,YAAY,UAAU,U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AAM,WAAW,mBAAmB;AAEzD,QACE,oBAAC;EAAqB;EAAkB;YACtC,oBAAC;GAAW;GAAM,SAAS,WAAW,gBAAgB;GACnD;IACI;GACc"}
1
+ {"version":3,"file":"admin-sidebar-paths.client.mjs","names":["React"],"sources":["../../../src/components/navigation/admin-sidebar-paths.client.tsx"],"sourcesContent":["\"use client\";\n\nimport {\n Sidebar,\n SidebarContent,\n SidebarGroup,\n SidebarGroupContent,\n SidebarGroupLabel,\n SidebarMenu,\n SidebarMenuButton,\n SidebarMenuItem,\n SidebarMenuSub,\n SidebarMenuSubButton,\n SidebarMenuSubItem,\n SidebarRail,\n useSidebar,\n} from \"@/components/ui/sidebar.client\";\nimport { Allowed } from \"@/modules/auth/components/allowed.client\";\nimport { Permission } from \"@/modules/auth/entry\";\nimport { Route } from \"next\";\nimport Link from \"next/link\";\nimport { useSelectedLayoutSegments } from \"next/navigation\";\nimport * as React from \"react\";\nimport { Suspense } from \"react\";\nimport { AdminSidebarHeader } from \"./admin-sidebar-header.client\";\nimport {\n AdminSidebarHeaderLoading,\n AdminSidebarMenuContentLoading,\n} from \"./admin-sidebar-skeleton\";\n\n/**\n * Paths\n */\nexport function Paths({ children, ...props }: React.ComponentProps<typeof Sidebar>) {\n return (\n <Sidebar {...props}>\n <Suspense fallback={<AdminSidebarHeaderLoading />}>\n <AdminSidebarHeader />\n </Suspense>\n\n <SidebarContent>\n <Suspense fallback={<AdminSidebarMenuContentLoading />}>\n <SidebarMenu>{children}</SidebarMenu>\n </Suspense>\n </SidebarContent>\n <SidebarRail />\n </Sidebar>\n );\n}\n\n/**\n * Path Group\n */\nexport type PathGroupProps = React.ComponentProps<\"div\"> & {\n /**\n * Permission to check with the any strategy for displaying the group\n * @example { project: [\"view\", \"create\"], client: [\"view\"], drive: [\"view\"] }\n */\n permission?: Permission[];\n};\n\nexport function PathGroup({ permission, ...props }: PathGroupProps) {\n if (!permission) {\n return <SidebarGroup {...props} />;\n }\n\n return (\n <Allowed permission={permission} strategy=\"any\">\n <SidebarGroup {...props} />\n </Allowed>\n );\n}\n\n/**\n * Path Group Title\n */\nexport function PathGroupTitle(props: React.ComponentProps<\"div\">) {\n return <SidebarGroupLabel {...props} />;\n}\n\n/**\n * Path Group Items\n */\nexport function PathGroupItems(props: React.PropsWithChildren) {\n return (\n <SidebarGroupContent>\n <SidebarMenu>{props.children}</SidebarMenu>\n </SidebarGroupContent>\n );\n}\n\n/**\n * Path Context\n */\nconst PathContext = React.createContext({} as { isActive: boolean });\n\n/**\n * Path\n */\ntype PathProps = React.ComponentProps<\"li\"> & {\n permission?: Permission;\n isActive?: boolean;\n segment?: string;\n};\n\nexport function Path({ permission, children, isActive, segment, ...props }: PathProps) {\n const currentSegments = useSelectedLayoutSegments();\n\n if (!permission) {\n return (\n <PathContext value={{ isActive: isActive || segment === currentSegments?.[0] }}>\n <SidebarMenuItem {...props}>{children}</SidebarMenuItem>\n </PathContext>\n );\n }\n\n return (\n <Allowed permission={permission}>\n <PathContext value={{ isActive: isActive || segment === currentSegments?.[0] }}>\n <SidebarMenuItem {...props}>{children}</SidebarMenuItem>\n </PathContext>\n </Allowed>\n );\n}\n\n/**\n * Path Button\n */\nexport function PathLink({ href, children }: React.PropsWithChildren<{ href: Route }>) {\n const { isMobile, toggleSidebar } = useSidebar();\n const { isActive } = React.useContext(PathContext);\n\n return (\n <SidebarMenuButton asChild isActive={isActive}>\n <Link href={href} onClick={isMobile ? toggleSidebar : undefined}>\n {children}\n </Link>\n </SidebarMenuButton>\n );\n}\n\n/**\n * Path Items\n */\nexport function PathItems(props: React.ComponentProps<\"ul\">) {\n const { isActive } = React.useContext(PathContext);\n if (!isActive) return null;\n\n return <SidebarMenuSub {...props} />;\n}\n\n/**\n * Path Sub Item Context\n */\nconst PathSubItemContext = React.createContext({} as { isActive: boolean });\n\n/**\n * Path Sub Item\n */\ntype PathSubItemProps = React.ComponentProps<\"li\"> & {\n permission?: Permission;\n isActive?: boolean;\n segment?: string;\n};\n\nexport function PathSubItem({\n permission,\n isActive,\n segment,\n children,\n ...props\n}: PathSubItemProps) {\n const currentSegments = useSelectedLayoutSegments();\n\n if (!permission) {\n return (\n <PathSubItemContext value={{ isActive: isActive || segment === currentSegments?.[1] }}>\n <SidebarMenuSubItem {...props}>{children}</SidebarMenuSubItem>\n </PathSubItemContext>\n );\n }\n\n return (\n <Allowed permission={permission}>\n <PathSubItemContext value={{ isActive: isActive || segment === currentSegments?.[1] }}>\n <SidebarMenuSubItem {...props}>{children}</SidebarMenuSubItem>\n </PathSubItemContext>\n </Allowed>\n );\n}\n\n/**\n * Path Button\n */\nexport function PathSubItemLink({ href, children }: React.PropsWithChildren<{ href: Route }>) {\n const { isMobile, toggleSidebar } = useSidebar();\n const { isActive } = React.useContext(PathSubItemContext);\n\n return (\n <SidebarMenuSubButton asChild isActive={isActive}>\n <Link href={href} onClick={isMobile ? toggleSidebar : undefined}>\n {children}\n </Link>\n </SidebarMenuSubButton>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAiCA,SAAgB,MAAM,EAAE,UAAU,GAAG,SAA+C;AAClF,QACE,qBAAC;EAAQ,GAAI;;GACX,oBAAC;IAAS,UAAU,oBAAC,8BAA4B;cAC/C,oBAAC,uBAAqB;KACb;GAEX,oBAAC,4BACC,oBAAC;IAAS,UAAU,oBAAC,mCAAiC;cACpD,oBAAC,eAAa,WAAuB;KAC5B,GACI;GACjB,oBAAC,gBAAc;;GACP;;AAed,SAAgB,UAAU,EAAE,YAAY,GAAG,SAAyB;AAClE,KAAI,CAAC,WACH,QAAO,oBAAC,gBAAa,GAAI,QAAS;AAGpC,QACE,oBAAC;EAAoB;EAAY,UAAS;YACxC,oBAAC,gBAAa,GAAI,QAAS;GACnB;;;;;AAOd,SAAgB,eAAe,OAAoC;AACjE,QAAO,oBAAC,qBAAkB,GAAI,QAAS;;;;;AAMzC,SAAgB,eAAe,OAAgC;AAC7D,QACE,oBAAC,iCACC,oBAAC,yBAAa,MAAM,WAAuB,GACvB;;;;;AAO1B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MAAM,YAAsD;CAC5F,MAAM,EAAE,UAAU,kBAAkB,YAAY;CAChD,MAAM,EAAE,aAAaA,QAAM,WAAW,mBAAmB;AAEzD,QACE,oBAAC;EAAqB;EAAkB;YACtC,oBAAC;GAAW;GAAM,SAAS,WAAW,gBAAgB;GACnD;IACI;GACc"}
@@ -1,25 +1,25 @@
1
- import * as react_jsx_runtime110 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime202 from "react/jsx-runtime";
2
2
  import * as React$1 from "react";
3
3
  import * as AccordionPrimitive from "@radix-ui/react-accordion";
4
4
 
5
5
  //#region src/components/ui/accordion.d.ts
6
6
  declare function Accordion({
7
7
  ...props
8
- }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime110.JSX.Element;
8
+ }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime202.JSX.Element;
9
9
  declare function AccordionItem({
10
10
  className,
11
11
  ...props
12
- }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime110.JSX.Element;
12
+ }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime202.JSX.Element;
13
13
  declare function AccordionTrigger({
14
14
  className,
15
15
  children,
16
16
  ...props
17
- }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime110.JSX.Element;
17
+ }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime202.JSX.Element;
18
18
  declare function AccordionContent({
19
19
  className,
20
20
  children,
21
21
  ...props
22
- }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime110.JSX.Element;
22
+ }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime202.JSX.Element;
23
23
  //#endregion
24
24
  export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
25
25
  //# sourceMappingURL=accordion.d.mts.map
@@ -1,43 +1,43 @@
1
- import * as react_jsx_runtime117 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime209 from "react/jsx-runtime";
2
2
  import * as React$1 from "react";
3
3
  import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
4
4
 
5
5
  //#region src/components/ui/alert-dialog.d.ts
6
- declare function AlertDialog(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime117.JSX.Element;
7
- declare function AlertDialogTrigger(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime117.JSX.Element;
8
- declare function AlertDialogPortal(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime117.JSX.Element;
6
+ declare function AlertDialog(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime209.JSX.Element;
7
+ declare function AlertDialogTrigger(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime209.JSX.Element;
8
+ declare function AlertDialogPortal(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime209.JSX.Element;
9
9
  declare function AlertDialogOverlay({
10
10
  className,
11
11
  ...props
12
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime117.JSX.Element;
12
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime209.JSX.Element;
13
13
  declare function AlertDialogContent({
14
14
  className,
15
15
  ...props
16
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime117.JSX.Element;
16
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime209.JSX.Element;
17
17
  declare function AlertDialogHeader({
18
18
  className,
19
19
  ...props
20
- }: React$1.ComponentProps<"div">): react_jsx_runtime117.JSX.Element;
20
+ }: React$1.ComponentProps<"div">): react_jsx_runtime209.JSX.Element;
21
21
  declare function AlertDialogFooter({
22
22
  className,
23
23
  ...props
24
- }: React$1.ComponentProps<"div">): react_jsx_runtime117.JSX.Element;
24
+ }: React$1.ComponentProps<"div">): react_jsx_runtime209.JSX.Element;
25
25
  declare function AlertDialogTitle({
26
26
  className,
27
27
  ...props
28
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime117.JSX.Element;
28
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime209.JSX.Element;
29
29
  declare function AlertDialogDescription({
30
30
  className,
31
31
  ...props
32
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime117.JSX.Element;
32
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime209.JSX.Element;
33
33
  declare function AlertDialogAction({
34
34
  className,
35
35
  ...props
36
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime117.JSX.Element;
36
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime209.JSX.Element;
37
37
  declare function AlertDialogCancel({
38
38
  className,
39
39
  ...props
40
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime117.JSX.Element;
40
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime209.JSX.Element;
41
41
  //#endregion
42
42
  export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
43
43
  //# sourceMappingURL=alert-dialog.d.mts.map
@@ -1,25 +1,25 @@
1
- import * as react_jsx_runtime114 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime206 from "react/jsx-runtime";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  import * as React$1 from "react";
4
- import * as class_variance_authority_types0 from "class-variance-authority/types";
4
+ import * as class_variance_authority_types2 from "class-variance-authority/types";
5
5
 
6
6
  //#region src/components/ui/alert.d.ts
7
7
  declare const alertVariants: (props?: ({
8
8
  variant?: "default" | "destructive" | null | undefined;
9
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
9
+ } & class_variance_authority_types2.ClassProp) | undefined) => string;
10
10
  declare function Alert({
11
11
  className,
12
12
  variant,
13
13
  ...props
14
- }: React$1.ComponentProps<"div"> & VariantProps<typeof alertVariants>): react_jsx_runtime114.JSX.Element;
14
+ }: React$1.ComponentProps<"div"> & VariantProps<typeof alertVariants>): react_jsx_runtime206.JSX.Element;
15
15
  declare function AlertTitle({
16
16
  className,
17
17
  ...props
18
- }: React$1.ComponentProps<"div">): react_jsx_runtime114.JSX.Element;
18
+ }: React$1.ComponentProps<"div">): react_jsx_runtime206.JSX.Element;
19
19
  declare function AlertDescription({
20
20
  className,
21
21
  ...props
22
- }: React$1.ComponentProps<"div">): react_jsx_runtime114.JSX.Element;
22
+ }: React$1.ComponentProps<"div">): react_jsx_runtime206.JSX.Element;
23
23
  //#endregion
24
24
  export { Alert, AlertDescription, AlertTitle };
25
25
  //# sourceMappingURL=alert.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react_jsx_runtime128 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime220 from "react/jsx-runtime";
2
2
  import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
3
3
 
4
4
  //#region src/components/ui/aspect-ratio.d.ts
5
- declare function AspectRatio(props: React.ComponentProps<typeof AspectRatioPrimitive.Root>): react_jsx_runtime128.JSX.Element;
5
+ declare function AspectRatio(props: React.ComponentProps<typeof AspectRatioPrimitive.Root>): react_jsx_runtime220.JSX.Element;
6
6
  //#endregion
7
7
  export { AspectRatio };
8
8
  //# sourceMappingURL=aspect-ratio.d.mts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime288 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime84 from "react/jsx-runtime";
2
2
  import * as React$1 from "react";
3
3
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
4
4
 
@@ -6,15 +6,15 @@ import * as AvatarPrimitive from "@radix-ui/react-avatar";
6
6
  declare function Avatar({
7
7
  className,
8
8
  ...props
9
- }: React$1.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime288.JSX.Element;
9
+ }: React$1.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime84.JSX.Element;
10
10
  declare function AvatarImage({
11
11
  className,
12
12
  ...props
13
- }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime288.JSX.Element;
13
+ }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime84.JSX.Element;
14
14
  declare function AvatarFallback({
15
15
  className,
16
16
  ...props
17
- }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime288.JSX.Element;
17
+ }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime84.JSX.Element;
18
18
  //#endregion
19
19
  export { Avatar, AvatarFallback, AvatarImage };
20
20
  //# sourceMappingURL=avatar.client.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.client.d.mts","names":[],"sources":["../../../src/components/ui/avatar.client.tsx"],"sourcesContent":[],"mappings":";;;;;iBAOS,MAAA;;;GAAgC,OAAA,CAAM,sBAAsB,eAAA,CAAgB,QAAK,oBAAA,CAAA,GAAA,CAAA;iBAUjF,WAAA;;;GAAqC,OAAA,CAAM,sBAAsB,eAAA,CAAgB,SAAM,oBAAA,CAAA,GAAA,CAAA;iBAUvF,cAAA;;;GAGN,OAAA,CAAM,sBAAsB,eAAA,CAAgB,YAAS,oBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"avatar.client.d.mts","names":[],"sources":["../../../src/components/ui/avatar.client.tsx"],"sourcesContent":[],"mappings":";;;;;iBAOS,MAAA;;;GAAgC,OAAA,CAAM,sBAAsB,eAAA,CAAgB,QAAK,mBAAA,CAAA,GAAA,CAAA;iBAUjF,WAAA;;;GAAqC,OAAA,CAAM,sBAAsB,eAAA,CAAgB,SAAM,mBAAA,CAAA,GAAA,CAAA;iBAUvF,cAAA;;;GAGN,OAAA,CAAM,sBAAsB,eAAA,CAAgB,YAAS,mBAAA,CAAA,GAAA,CAAA"}
@@ -1,12 +1,12 @@
1
- import * as react_jsx_runtime129 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime221 from "react/jsx-runtime";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  import * as React$1 from "react";
4
- import * as class_variance_authority_types1 from "class-variance-authority/types";
4
+ import * as class_variance_authority_types3 from "class-variance-authority/types";
5
5
 
6
6
  //#region src/components/ui/badge.d.ts
7
7
  declare const badgeVariants: (props?: ({
8
8
  variant?: "default" | "outline" | "destructive" | "secondary" | null | undefined;
9
- } & class_variance_authority_types1.ClassProp) | undefined) => string;
9
+ } & class_variance_authority_types3.ClassProp) | undefined) => string;
10
10
  declare function Badge({
11
11
  className,
12
12
  variant,
@@ -14,7 +14,7 @@ declare function Badge({
14
14
  ...props
15
15
  }: React$1.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
16
16
  asChild?: boolean;
17
- }): react_jsx_runtime129.JSX.Element;
17
+ }): react_jsx_runtime221.JSX.Element;
18
18
  //#endregion
19
19
  export { Badge, badgeVariants };
20
20
  //# sourceMappingURL=badge.d.mts.map
@@ -1,36 +1,36 @@
1
- import * as react_jsx_runtime130 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime222 from "react/jsx-runtime";
2
2
  import * as React$1 from "react";
3
3
 
4
4
  //#region src/components/ui/breadcrumb.d.ts
5
- declare function Breadcrumb(props: React$1.ComponentProps<"nav">): react_jsx_runtime130.JSX.Element;
5
+ declare function Breadcrumb(props: React$1.ComponentProps<"nav">): react_jsx_runtime222.JSX.Element;
6
6
  declare function BreadcrumbList({
7
7
  className,
8
8
  ...props
9
- }: React$1.ComponentProps<"ol">): react_jsx_runtime130.JSX.Element;
9
+ }: React$1.ComponentProps<"ol">): react_jsx_runtime222.JSX.Element;
10
10
  declare function BreadcrumbItem({
11
11
  className,
12
12
  ...props
13
- }: React$1.ComponentProps<"li">): react_jsx_runtime130.JSX.Element;
13
+ }: React$1.ComponentProps<"li">): react_jsx_runtime222.JSX.Element;
14
14
  declare function BreadcrumbLink({
15
15
  asChild,
16
16
  className,
17
17
  ...props
18
18
  }: React$1.ComponentProps<"a"> & {
19
19
  asChild?: boolean;
20
- }): react_jsx_runtime130.JSX.Element;
20
+ }): react_jsx_runtime222.JSX.Element;
21
21
  declare function BreadcrumbPage({
22
22
  className,
23
23
  ...props
24
- }: React$1.ComponentProps<"span">): react_jsx_runtime130.JSX.Element;
24
+ }: React$1.ComponentProps<"span">): react_jsx_runtime222.JSX.Element;
25
25
  declare function BreadcrumbSeparator({
26
26
  children,
27
27
  className,
28
28
  ...props
29
- }: React$1.ComponentProps<"li">): react_jsx_runtime130.JSX.Element;
29
+ }: React$1.ComponentProps<"li">): react_jsx_runtime222.JSX.Element;
30
30
  declare function BreadcrumbEllipsis({
31
31
  className,
32
32
  ...props
33
- }: React$1.ComponentProps<"span">): react_jsx_runtime130.JSX.Element;
33
+ }: React$1.ComponentProps<"span">): react_jsx_runtime222.JSX.Element;
34
34
  //#endregion
35
35
  export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
36
36
  //# sourceMappingURL=breadcrumb.d.mts.map
@@ -1,13 +1,13 @@
1
- import * as react_jsx_runtime137 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime229 from "react/jsx-runtime";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  import * as React$1 from "react";
4
- import * as class_variance_authority_types2 from "class-variance-authority/types";
4
+ import * as class_variance_authority_types4 from "class-variance-authority/types";
5
5
 
6
6
  //#region src/components/ui/button.d.ts
7
7
  declare const buttonVariants: (props?: ({
8
8
  variant?: "default" | "link" | "outline" | "destructive" | "secondary" | "ghost" | null | undefined;
9
9
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
10
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
10
+ } & class_variance_authority_types4.ClassProp) | undefined) => string;
11
11
  declare function Button({
12
12
  className,
13
13
  variant,
@@ -16,7 +16,7 @@ declare function Button({
16
16
  ...props
17
17
  }: React$1.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
18
18
  asChild?: boolean;
19
- }): react_jsx_runtime137.JSX.Element;
19
+ }): react_jsx_runtime229.JSX.Element;
20
20
  //#endregion
21
21
  export { Button, buttonVariants };
22
22
  //# sourceMappingURL=button.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import { Button } from "./button.mjs";
2
- import * as react_jsx_runtime138 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime230 from "react/jsx-runtime";
3
3
  import * as React$1 from "react";
4
4
  import { DayButton, DayPicker } from "react-day-picker";
5
5
 
@@ -15,13 +15,13 @@ declare function Calendar({
15
15
  ...props
16
16
  }: React$1.ComponentProps<typeof DayPicker> & {
17
17
  buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
18
- }): react_jsx_runtime138.JSX.Element;
18
+ }): react_jsx_runtime230.JSX.Element;
19
19
  declare function CalendarDayButton({
20
20
  className,
21
21
  day,
22
22
  modifiers,
23
23
  ...props
24
- }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime138.JSX.Element;
24
+ }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime230.JSX.Element;
25
25
  //#endregion
26
26
  export { Calendar, CalendarDayButton };
27
27
  //# sourceMappingURL=calendar.d.mts.map
@@ -1,31 +1,31 @@
1
- import * as react_jsx_runtime140 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime232 from "react/jsx-runtime";
2
2
  import * as React$1 from "react";
3
3
 
4
4
  //#region src/components/ui/card.d.ts
5
5
  declare function Card({
6
6
  className,
7
7
  ...props
8
- }: React$1.ComponentProps<"div">): react_jsx_runtime140.JSX.Element;
8
+ }: React$1.ComponentProps<"div">): react_jsx_runtime232.JSX.Element;
9
9
  declare function CardHeader({
10
10
  className,
11
11
  ...props
12
- }: React$1.ComponentProps<"div">): react_jsx_runtime140.JSX.Element;
12
+ }: React$1.ComponentProps<"div">): react_jsx_runtime232.JSX.Element;
13
13
  declare function CardTitle({
14
14
  className,
15
15
  ...props
16
- }: React$1.ComponentProps<"div">): react_jsx_runtime140.JSX.Element;
16
+ }: React$1.ComponentProps<"div">): react_jsx_runtime232.JSX.Element;
17
17
  declare function CardDescription({
18
18
  className,
19
19
  ...props
20
- }: React$1.ComponentProps<"div">): react_jsx_runtime140.JSX.Element;
20
+ }: React$1.ComponentProps<"div">): react_jsx_runtime232.JSX.Element;
21
21
  declare function CardContent({
22
22
  className,
23
23
  ...props
24
- }: React$1.ComponentProps<"div">): react_jsx_runtime140.JSX.Element;
24
+ }: React$1.ComponentProps<"div">): react_jsx_runtime232.JSX.Element;
25
25
  declare function CardFooter({
26
26
  className,
27
27
  ...props
28
- }: React$1.ComponentProps<"div">): react_jsx_runtime140.JSX.Element;
28
+ }: React$1.ComponentProps<"div">): react_jsx_runtime232.JSX.Element;
29
29
  //#endregion
30
30
  export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
31
31
  //# sourceMappingURL=card.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import { Button } from "./button.mjs";
2
- import * as react_jsx_runtime146 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime238 from "react/jsx-runtime";
3
3
  import * as React$1 from "react";
4
4
  import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
5
5
 
@@ -22,27 +22,27 @@ declare function Carousel({
22
22
  className,
23
23
  children,
24
24
  ...props
25
- }: React$1.ComponentProps<"div"> & CarouselProps): react_jsx_runtime146.JSX.Element;
25
+ }: React$1.ComponentProps<"div"> & CarouselProps): react_jsx_runtime238.JSX.Element;
26
26
  declare function CarouselContent({
27
27
  className,
28
28
  ...props
29
- }: React$1.ComponentProps<"div">): react_jsx_runtime146.JSX.Element;
29
+ }: React$1.ComponentProps<"div">): react_jsx_runtime238.JSX.Element;
30
30
  declare function CarouselItem({
31
31
  className,
32
32
  ...props
33
- }: React$1.ComponentProps<"div">): react_jsx_runtime146.JSX.Element;
33
+ }: React$1.ComponentProps<"div">): react_jsx_runtime238.JSX.Element;
34
34
  declare function CarouselPrevious({
35
35
  className,
36
36
  variant,
37
37
  size,
38
38
  ...props
39
- }: React$1.ComponentProps<typeof Button>): react_jsx_runtime146.JSX.Element;
39
+ }: React$1.ComponentProps<typeof Button>): react_jsx_runtime238.JSX.Element;
40
40
  declare function CarouselNext({
41
41
  className,
42
42
  variant,
43
43
  size,
44
44
  ...props
45
- }: React$1.ComponentProps<typeof Button>): react_jsx_runtime146.JSX.Element;
45
+ }: React$1.ComponentProps<typeof Button>): react_jsx_runtime238.JSX.Element;
46
46
  //#endregion
47
47
  export { Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious };
48
48
  //# sourceMappingURL=carousel.d.mts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime291 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime87 from "react/jsx-runtime";
2
2
  import * as React$1 from "react";
3
3
  import * as RechartsPrimitive from "recharts";
4
4
 
@@ -26,14 +26,14 @@ declare function ChartContainer({
26
26
  }: React$1.ComponentProps<"div"> & {
27
27
  config: ChartConfig;
28
28
  children: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
29
- }): react_jsx_runtime291.JSX.Element;
29
+ }): react_jsx_runtime87.JSX.Element;
30
30
  declare const ChartStyle: ({
31
31
  id,
32
32
  config
33
33
  }: {
34
34
  id: string;
35
35
  config: ChartConfig;
36
- }) => react_jsx_runtime291.JSX.Element | null;
36
+ }) => react_jsx_runtime87.JSX.Element | null;
37
37
  declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
38
38
  declare function ChartTooltipContent({
39
39
  active,
@@ -55,7 +55,7 @@ declare function ChartTooltipContent({
55
55
  indicator?: "line" | "dot" | "dashed";
56
56
  nameKey?: string;
57
57
  labelKey?: string;
58
- }): react_jsx_runtime291.JSX.Element | null;
58
+ }): react_jsx_runtime87.JSX.Element | null;
59
59
  declare const ChartLegend: typeof RechartsPrimitive.Legend;
60
60
  declare function ChartLegendContent({
61
61
  className,
@@ -66,7 +66,7 @@ declare function ChartLegendContent({
66
66
  }: React$1.ComponentProps<"div"> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
67
67
  hideIcon?: boolean;
68
68
  nameKey?: string;
69
- }): react_jsx_runtime291.JSX.Element | null;
69
+ }): react_jsx_runtime87.JSX.Element | null;
70
70
  //#endregion
71
71
  export { ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent };
72
72
  //# sourceMappingURL=chart.client.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chart.client.d.mts","names":[],"sources":["../../../src/components/ui/chart.client.tsx"],"sourcesContent":[],"mappings":";;;;;cAQM;;;AALwC,CAAA;AAOlC,KAAA,WAAA,GAAW,QAEL,MAAA,GAAA;EACP,KAAM,CAAA,EADL,OAAA,CAAM,SACD;EAGiC,IAAA,CAAA,EAHvC,OAAA,CAAM,aAGiC;AAApB,CAAA,GAAA,CAAA;EAAM,KAAA,CAAA,EAAA,MAAA;EAoB3B,KAAA,CAAA,EAAA,KAAc;AACrB,CAAA,GAAA;EACA,KAAA,CAAA,EAAA,KAAA;EACA,KAAA,EAvB4B,MAuB5B,CAAA,MAAA,OAvBgD,MAuBhD,EAAA,MAAA,CAAA;AACA,CAAA,CAAA,EAEC;iBANM,cAAA,CAOC;EAAA,EAAA;EAAA,SAAA;EAAA,QAAA;EAAA,MAAA;EAAA,GAAA;CAAA,EADP,OAAA,CAAM,cACC,CAAA,KAAA,CAAA,GAAA;EAC8B,MAAA,EAD9B,WACgD;EAA9C,QAAM,EAAN,OAAA,CAAM,cAAA,CAAA,OAAsB,iBAAA,CAAkB,mBAAxC,CAAA,CAAA,UAAA,CAAA;CACjB,CAAA,EAAA,oBAAA,CAAA,GAAA,CAAA,OAAA;cAsBK,UAtBL,EAAA,CAAA;EAAA,EAAA;EAAA;CAAA,EAAA;E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