@vitnode/core 1.2.0-canary.70 → 1.2.0-canary.73

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 (650) hide show
  1. package/dist/scripts/plugin.d.ts.map +1 -1
  2. package/dist/scripts/plugin.js +22 -4
  3. package/dist/scripts/prepare-plugins-files.d.ts.map +1 -1
  4. package/dist/scripts/prepare-plugins-files.js +22 -4
  5. package/dist/src/api/lib/module.d.ts +4 -1
  6. package/dist/src/api/lib/module.d.ts.map +1 -1
  7. package/dist/src/api/lib/module.js +1 -1
  8. package/dist/src/api/lib/plugin.d.ts +2 -0
  9. package/dist/src/api/lib/plugin.d.ts.map +1 -1
  10. package/dist/src/api/lib/plugin.js +1 -1
  11. package/dist/src/api/lib/websocket.d.ts +26 -0
  12. package/dist/src/api/lib/websocket.d.ts.map +1 -0
  13. package/dist/src/api/lib/websocket.js +1 -0
  14. package/dist/src/api/lib/with-pagination.d.ts +3 -1
  15. package/dist/src/api/lib/with-pagination.d.ts.map +1 -1
  16. package/dist/src/api/lib/with-pagination.js +1 -1
  17. package/dist/src/api/middlewares/global.middleware.d.ts +4 -0
  18. package/dist/src/api/middlewares/global.middleware.d.ts.map +1 -1
  19. package/dist/src/api/middlewares/global.middleware.js +1 -1
  20. package/dist/src/api/middlewares/rate-limiter.middleware.d.ts.map +1 -1
  21. package/dist/src/api/middlewares/rate-limiter.middleware.js +1 -1
  22. package/dist/src/api/models/user/get-user-by-name-code.d.ts +18 -0
  23. package/dist/src/api/models/user/get-user-by-name-code.d.ts.map +1 -0
  24. package/dist/src/api/models/user/get-user-by-name-code.js +1 -0
  25. package/dist/src/api/models/user.d.ts +16 -0
  26. package/dist/src/api/models/user.d.ts.map +1 -1
  27. package/dist/src/api/models/user.js +1 -1
  28. package/dist/src/api/modules/admin/admin.module.d.ts +272 -0
  29. package/dist/src/api/modules/admin/admin.module.d.ts.map +1 -1
  30. package/dist/src/api/modules/admin/admin.module.js +1 -1
  31. package/dist/src/api/modules/admin/roles/roles.admin.module.d.ts +109 -0
  32. package/dist/src/api/modules/admin/roles/roles.admin.module.d.ts.map +1 -0
  33. package/dist/src/api/modules/admin/roles/roles.admin.module.js +1 -0
  34. package/dist/src/api/modules/admin/roles/routes/list.route.d.ts +63 -0
  35. package/dist/src/api/modules/admin/roles/routes/list.route.d.ts.map +1 -0
  36. package/dist/src/api/modules/admin/roles/routes/list.route.js +1 -0
  37. package/dist/src/api/modules/admin/roles/routes/show.route.d.ts +50 -0
  38. package/dist/src/api/modules/admin/roles/routes/show.route.d.ts.map +1 -0
  39. package/dist/src/api/modules/admin/roles/routes/show.route.js +1 -0
  40. package/dist/src/api/modules/admin/routes/notifications.route.d.ts +54 -0
  41. package/dist/src/api/modules/admin/routes/notifications.route.d.ts.map +1 -0
  42. package/dist/src/api/modules/admin/routes/notifications.route.js +1 -0
  43. package/dist/src/api/modules/admin/users/routes/create.route.d.ts +48 -0
  44. package/dist/src/api/modules/admin/users/routes/create.route.d.ts.map +1 -0
  45. package/dist/src/api/modules/admin/users/routes/create.route.js +1 -0
  46. package/dist/src/api/modules/admin/users/routes/list.route.d.ts +2 -0
  47. package/dist/src/api/modules/admin/users/routes/list.route.d.ts.map +1 -1
  48. package/dist/src/api/modules/admin/users/routes/list.route.js +1 -1
  49. package/dist/src/api/modules/admin/users/routes/show.route.d.ts +49 -0
  50. package/dist/src/api/modules/admin/users/routes/show.route.d.ts.map +1 -0
  51. package/dist/src/api/modules/admin/users/routes/show.route.js +1 -0
  52. package/dist/src/api/modules/admin/users/routes/verify-email.route.d.ts +40 -0
  53. package/dist/src/api/modules/admin/users/routes/verify-email.route.d.ts.map +1 -0
  54. package/dist/src/api/modules/admin/users/routes/verify-email.route.js +1 -0
  55. package/dist/src/api/modules/admin/users/users.admin.module.d.ts +125 -0
  56. package/dist/src/api/modules/admin/users/users.admin.module.d.ts.map +1 -1
  57. package/dist/src/api/modules/admin/users/users.admin.module.js +1 -1
  58. package/dist/src/components/avatar.d.ts +1 -1
  59. package/dist/src/components/avatar.d.ts.map +1 -1
  60. package/dist/src/components/confirm-action/confirm-action-alert-dialog.d.ts +1 -1
  61. package/dist/src/components/confirm-action/confirm-action-alert-dialog.d.ts.map +1 -1
  62. package/dist/src/components/confirm-action/content.d.ts +2 -1
  63. package/dist/src/components/confirm-action/content.d.ts.map +1 -1
  64. package/dist/src/components/date-format.d.ts +1 -1
  65. package/dist/src/components/date-format.d.ts.map +1 -1
  66. package/dist/src/components/date-format.js +1 -1
  67. package/dist/src/components/form/auto-form.d.ts +6 -1
  68. package/dist/src/components/form/auto-form.d.ts.map +1 -1
  69. package/dist/src/components/form/auto-form.js +1 -1
  70. package/dist/src/components/form/common/desc.d.ts +1 -1
  71. package/dist/src/components/form/common/desc.d.ts.map +1 -1
  72. package/dist/src/components/form/common/label.d.ts +4 -3
  73. package/dist/src/components/form/common/label.d.ts.map +1 -1
  74. package/dist/src/components/form/common/label.js +1 -1
  75. package/dist/src/components/form/fields/array.d.ts +19 -0
  76. package/dist/src/components/form/fields/array.d.ts.map +1 -0
  77. package/dist/src/components/form/fields/array.js +1 -0
  78. package/dist/src/components/form/fields/checkbox.d.ts +1 -1
  79. package/dist/src/components/form/fields/checkbox.d.ts.map +1 -1
  80. package/dist/src/components/form/fields/checkbox.js +1 -1
  81. package/dist/src/components/form/fields/combobox.d.ts +22 -4
  82. package/dist/src/components/form/fields/combobox.d.ts.map +1 -1
  83. package/dist/src/components/form/fields/combobox.js +1 -1
  84. package/dist/src/components/form/fields/combobox.test.d.ts +2 -0
  85. package/dist/src/components/form/fields/combobox.test.d.ts.map +1 -0
  86. package/dist/src/components/form/fields/combobox.test.js +1 -0
  87. package/dist/src/components/form/fields/input.d.ts +1 -1
  88. package/dist/src/components/form/fields/input.d.ts.map +1 -1
  89. package/dist/src/components/form/fields/input.js +1 -1
  90. package/dist/src/components/form/fields/radio-group.d.ts +11 -6
  91. package/dist/src/components/form/fields/radio-group.d.ts.map +1 -1
  92. package/dist/src/components/form/fields/radio-group.js +1 -1
  93. package/dist/src/components/form/fields/select.d.ts +2 -2
  94. package/dist/src/components/form/fields/select.d.ts.map +1 -1
  95. package/dist/src/components/form/fields/select.js +1 -1
  96. package/dist/src/components/form/fields/switch.d.ts +1 -1
  97. package/dist/src/components/form/fields/switch.d.ts.map +1 -1
  98. package/dist/src/components/form/fields/switch.js +1 -1
  99. package/dist/src/components/form/fields/textarea.d.ts +2 -2
  100. package/dist/src/components/form/fields/textarea.d.ts.map +1 -1
  101. package/dist/src/components/form/fields/textarea.js +1 -1
  102. package/dist/src/components/i18n-provider.d.ts +1 -1
  103. package/dist/src/components/i18n-provider.d.ts.map +1 -1
  104. package/dist/src/components/logo-vitnode.d.ts +1 -1
  105. package/dist/src/components/logo-vitnode.d.ts.map +1 -1
  106. package/dist/src/components/role-format.d.ts +11 -0
  107. package/dist/src/components/role-format.d.ts.map +1 -0
  108. package/dist/src/components/role-format.js +1 -0
  109. package/dist/src/components/switchers/langs/language-switcher.d.ts +2 -1
  110. package/dist/src/components/switchers/langs/language-switcher.d.ts.map +1 -1
  111. package/dist/src/components/switchers/themes/theme-switcher.d.ts +1 -1
  112. package/dist/src/components/switchers/themes/theme-switcher.d.ts.map +1 -1
  113. package/dist/src/components/table/content.d.ts +1 -1
  114. package/dist/src/components/table/content.d.ts.map +1 -1
  115. package/dist/src/components/table/content.js +1 -1
  116. package/dist/src/components/table/data-table.d.ts +14 -4
  117. package/dist/src/components/table/data-table.d.ts.map +1 -1
  118. package/dist/src/components/table/filters.d.ts +16 -0
  119. package/dist/src/components/table/filters.d.ts.map +1 -0
  120. package/dist/src/components/table/filters.js +1 -0
  121. package/dist/src/components/table/order-table-head.d.ts +1 -1
  122. package/dist/src/components/table/order-table-head.d.ts.map +1 -1
  123. package/dist/src/components/table/order-table-head.js +1 -1
  124. package/dist/src/components/table/pagination.d.ts +2 -1
  125. package/dist/src/components/table/pagination.d.ts.map +1 -1
  126. package/dist/src/components/table/search.d.ts +5 -0
  127. package/dist/src/components/table/search.d.ts.map +1 -0
  128. package/dist/src/components/table/search.js +1 -0
  129. package/dist/src/components/tiptap/toolbar/actions/alignment-action.d.ts +1 -1
  130. package/dist/src/components/tiptap/toolbar/actions/alignment-action.d.ts.map +1 -1
  131. package/dist/src/components/tiptap/toolbar/actions/alignment-action.js +1 -1
  132. package/dist/src/components/tiptap/toolbar/actions/bold-action.d.ts +1 -1
  133. package/dist/src/components/tiptap/toolbar/actions/bold-action.d.ts.map +1 -1
  134. package/dist/src/components/tiptap/toolbar/actions/bold-action.js +1 -1
  135. package/dist/src/components/tiptap/toolbar/actions/headings-action.d.ts +1 -1
  136. package/dist/src/components/tiptap/toolbar/actions/headings-action.d.ts.map +1 -1
  137. package/dist/src/components/tiptap/toolbar/actions/headings-action.js +1 -1
  138. package/dist/src/components/tiptap/toolbar/actions/italic-action.d.ts +1 -1
  139. package/dist/src/components/tiptap/toolbar/actions/italic-action.d.ts.map +1 -1
  140. package/dist/src/components/tiptap/toolbar/actions/italic-action.js +1 -1
  141. package/dist/src/components/tiptap/toolbar/actions/list-action.d.ts +1 -1
  142. package/dist/src/components/tiptap/toolbar/actions/list-action.d.ts.map +1 -1
  143. package/dist/src/components/tiptap/toolbar/actions/list-action.js +1 -1
  144. package/dist/src/components/tiptap/toolbar/actions/text-format-more/text-format-more.d.ts +1 -1
  145. package/dist/src/components/tiptap/toolbar/actions/text-format-more/text-format-more.d.ts.map +1 -1
  146. package/dist/src/components/tiptap/toolbar/actions/text-format-more/text-format-more.js +1 -1
  147. package/dist/src/components/tiptap/toolbar/actions/underline-action.d.ts +1 -1
  148. package/dist/src/components/tiptap/toolbar/actions/underline-action.d.ts.map +1 -1
  149. package/dist/src/components/tiptap/toolbar/actions/underline-action.js +1 -1
  150. package/dist/src/components/tiptap/toolbar/actions/undo-redo-actions.d.ts +1 -1
  151. package/dist/src/components/tiptap/toolbar/actions/undo-redo-actions.d.ts.map +1 -1
  152. package/dist/src/components/tiptap/toolbar/actions/undo-redo-actions.js +1 -1
  153. package/dist/src/components/tiptap/toolbar/actions/utils/tooltip-shortcut.d.ts +1 -1
  154. package/dist/src/components/tiptap/toolbar/actions/utils/tooltip-shortcut.d.ts.map +1 -1
  155. package/dist/src/components/tiptap/toolbar/tiptap-toolbar.d.ts +1 -1
  156. package/dist/src/components/tiptap/toolbar/tiptap-toolbar.d.ts.map +1 -1
  157. package/dist/src/components/tiptap/toolbar/tiptap-toolbar.js +1 -1
  158. package/dist/src/components/ui/accordion.d.ts +5 -5
  159. package/dist/src/components/ui/accordion.d.ts.map +1 -1
  160. package/dist/src/components/ui/accordion.js +1 -1
  161. package/dist/src/components/ui/alert-dialog.d.ts +15 -13
  162. package/dist/src/components/ui/alert-dialog.d.ts.map +1 -1
  163. package/dist/src/components/ui/alert-dialog.js +1 -1
  164. package/dist/src/components/ui/alert.d.ts +6 -5
  165. package/dist/src/components/ui/alert.d.ts.map +1 -1
  166. package/dist/src/components/ui/alert.js +1 -1
  167. package/dist/src/components/ui/aspect-ratio.d.ts +4 -0
  168. package/dist/src/components/ui/aspect-ratio.d.ts.map +1 -0
  169. package/dist/src/components/ui/aspect-ratio.js +1 -0
  170. package/dist/src/components/ui/avatar.d.ts +12 -0
  171. package/dist/src/components/ui/avatar.d.ts.map +1 -0
  172. package/dist/src/components/ui/avatar.js +1 -0
  173. package/dist/src/components/ui/badge.d.ts +3 -3
  174. package/dist/src/components/ui/badge.d.ts.map +1 -1
  175. package/dist/src/components/ui/badge.js +1 -1
  176. package/dist/src/components/ui/breadcrumb.d.ts +12 -0
  177. package/dist/src/components/ui/breadcrumb.d.ts.map +1 -0
  178. package/dist/src/components/ui/breadcrumb.js +1 -0
  179. package/dist/src/components/ui/button-client.d.ts +1 -1
  180. package/dist/src/components/ui/button-client.d.ts.map +1 -1
  181. package/dist/src/components/ui/button-group.d.ts +12 -0
  182. package/dist/src/components/ui/button-group.d.ts.map +1 -0
  183. package/dist/src/components/ui/button-group.js +1 -0
  184. package/dist/src/components/ui/button.d.ts +9 -9
  185. package/dist/src/components/ui/button.d.ts.map +1 -1
  186. package/dist/src/components/ui/button.js +1 -1
  187. package/dist/src/components/ui/card.d.ts +10 -8
  188. package/dist/src/components/ui/card.d.ts.map +1 -1
  189. package/dist/src/components/ui/card.js +1 -1
  190. package/dist/src/components/ui/carousel.d.ts +29 -0
  191. package/dist/src/components/ui/carousel.d.ts.map +1 -0
  192. package/dist/src/components/ui/carousel.js +1 -0
  193. package/dist/src/components/ui/chart.d.ts +45 -0
  194. package/dist/src/components/ui/chart.d.ts.map +1 -0
  195. package/dist/src/components/ui/chart.js +5 -0
  196. package/dist/src/components/ui/checkbox.d.ts +2 -2
  197. package/dist/src/components/ui/checkbox.d.ts.map +1 -1
  198. package/dist/src/components/ui/checkbox.js +1 -1
  199. package/dist/src/components/ui/collapsible.d.ts +3 -3
  200. package/dist/src/components/ui/collapsible.d.ts.map +1 -1
  201. package/dist/src/components/ui/combobox.d.ts +25 -0
  202. package/dist/src/components/ui/combobox.d.ts.map +1 -0
  203. package/dist/src/components/ui/combobox.js +1 -0
  204. package/dist/src/components/ui/command.d.ts +10 -10
  205. package/dist/src/components/ui/command.d.ts.map +1 -1
  206. package/dist/src/components/ui/command.js +1 -1
  207. package/dist/src/components/ui/context-menu.d.ts +24 -18
  208. package/dist/src/components/ui/context-menu.d.ts.map +1 -1
  209. package/dist/src/components/ui/context-menu.js +1 -1
  210. package/dist/src/components/ui/dialog.d.ts +12 -10
  211. package/dist/src/components/ui/dialog.d.ts.map +1 -1
  212. package/dist/src/components/ui/dialog.js +1 -1
  213. package/dist/src/components/ui/direction.d.ts +8 -0
  214. package/dist/src/components/ui/direction.d.ts.map +1 -0
  215. package/dist/src/components/ui/direction.js +1 -0
  216. package/dist/src/components/ui/drawer.d.ts +11 -11
  217. package/dist/src/components/ui/drawer.d.ts.map +1 -1
  218. package/dist/src/components/ui/drawer.js +1 -1
  219. package/dist/src/components/ui/dropdown-menu.d.ts +20 -16
  220. package/dist/src/components/ui/dropdown-menu.d.ts.map +1 -1
  221. package/dist/src/components/ui/dropdown-menu.js +1 -1
  222. package/dist/src/components/ui/editor-content.d.ts +1 -1
  223. package/dist/src/components/ui/editor-content.d.ts.map +1 -1
  224. package/dist/src/components/ui/editor.d.ts +1 -1
  225. package/dist/src/components/ui/editor.d.ts.map +1 -1
  226. package/dist/src/components/ui/editor.js +1 -1
  227. package/dist/src/components/ui/empty.d.ts +12 -0
  228. package/dist/src/components/ui/empty.d.ts.map +1 -0
  229. package/dist/src/components/ui/empty.js +1 -0
  230. package/dist/src/components/ui/field.d.ts +25 -0
  231. package/dist/src/components/ui/field.d.ts.map +1 -0
  232. package/dist/src/components/ui/field.js +1 -0
  233. package/dist/src/components/ui/form.d.ts +7 -14
  234. package/dist/src/components/ui/form.d.ts.map +1 -1
  235. package/dist/src/components/ui/form.js +1 -1
  236. package/dist/src/components/ui/header-content.d.ts +1 -1
  237. package/dist/src/components/ui/header-content.d.ts.map +1 -1
  238. package/dist/src/components/ui/hover-card.d.ts +4 -4
  239. package/dist/src/components/ui/hover-card.d.ts.map +1 -1
  240. package/dist/src/components/ui/hover-card.js +1 -1
  241. package/dist/src/components/ui/input-group.d.ts +17 -0
  242. package/dist/src/components/ui/input-group.d.ts.map +1 -0
  243. package/dist/src/components/ui/input-group.js +1 -0
  244. package/dist/src/components/ui/input-otp.d.ts +5 -5
  245. package/dist/src/components/ui/input-otp.d.ts.map +1 -1
  246. package/dist/src/components/ui/input-otp.js +1 -1
  247. package/dist/src/components/ui/input.d.ts +2 -2
  248. package/dist/src/components/ui/input.d.ts.map +1 -1
  249. package/dist/src/components/ui/input.js +1 -1
  250. package/dist/src/components/ui/item.d.ts +24 -0
  251. package/dist/src/components/ui/item.d.ts.map +1 -0
  252. package/dist/src/components/ui/item.js +1 -0
  253. package/dist/src/components/ui/kbd.d.ts +4 -0
  254. package/dist/src/components/ui/kbd.d.ts.map +1 -0
  255. package/dist/src/components/ui/kbd.js +1 -0
  256. package/dist/src/components/ui/label.d.ts +2 -2
  257. package/dist/src/components/ui/label.d.ts.map +1 -1
  258. package/dist/src/components/ui/label.js +1 -1
  259. package/dist/src/components/ui/loader.d.ts +1 -1
  260. package/dist/src/components/ui/loader.d.ts.map +1 -1
  261. package/dist/src/components/ui/menubar.d.ts +21 -17
  262. package/dist/src/components/ui/menubar.d.ts.map +1 -1
  263. package/dist/src/components/ui/menubar.js +1 -1
  264. package/dist/src/components/ui/native-select.d.ts +9 -0
  265. package/dist/src/components/ui/native-select.d.ts.map +1 -0
  266. package/dist/src/components/ui/native-select.js +1 -0
  267. package/dist/src/components/ui/navigation-menu.d.ts +9 -9
  268. package/dist/src/components/ui/navigation-menu.d.ts.map +1 -1
  269. package/dist/src/components/ui/navigation-menu.js +1 -1
  270. package/dist/src/components/ui/pagination.d.ts +18 -0
  271. package/dist/src/components/ui/pagination.d.ts.map +1 -0
  272. package/dist/src/components/ui/pagination.js +1 -0
  273. package/dist/src/components/ui/popover.d.ts +9 -6
  274. package/dist/src/components/ui/popover.d.ts.map +1 -1
  275. package/dist/src/components/ui/popover.js +1 -1
  276. package/dist/src/components/ui/progress.d.ts +2 -2
  277. package/dist/src/components/ui/progress.d.ts.map +1 -1
  278. package/dist/src/components/ui/progress.js +1 -1
  279. package/dist/src/components/ui/radio-group.d.ts +3 -3
  280. package/dist/src/components/ui/radio-group.d.ts.map +1 -1
  281. package/dist/src/components/ui/radio-group.js +1 -1
  282. package/dist/src/components/ui/resizable.d.ts +8 -0
  283. package/dist/src/components/ui/resizable.d.ts.map +1 -0
  284. package/dist/src/components/ui/resizable.js +1 -0
  285. package/dist/src/components/ui/scroll-area.d.ts +3 -3
  286. package/dist/src/components/ui/scroll-area.d.ts.map +1 -1
  287. package/dist/src/components/ui/scroll-area.js +1 -1
  288. package/dist/src/components/ui/select.d.ts +11 -11
  289. package/dist/src/components/ui/select.d.ts.map +1 -1
  290. package/dist/src/components/ui/select.js +1 -1
  291. package/dist/src/components/ui/separator.d.ts +2 -2
  292. package/dist/src/components/ui/separator.d.ts.map +1 -1
  293. package/dist/src/components/ui/separator.js +1 -1
  294. package/dist/src/components/ui/sheet.d.ts +11 -10
  295. package/dist/src/components/ui/sheet.d.ts.map +1 -1
  296. package/dist/src/components/ui/sheet.js +1 -1
  297. package/dist/src/components/ui/sidebar.d.ts +25 -25
  298. package/dist/src/components/ui/sidebar.d.ts.map +1 -1
  299. package/dist/src/components/ui/sidebar.js +1 -1
  300. package/dist/src/components/ui/skeleton.d.ts +1 -1
  301. package/dist/src/components/ui/skeleton.d.ts.map +1 -1
  302. package/dist/src/components/ui/skeleton.js +1 -1
  303. package/dist/src/components/ui/slider.d.ts +2 -2
  304. package/dist/src/components/ui/slider.d.ts.map +1 -1
  305. package/dist/src/components/ui/slider.js +1 -1
  306. package/dist/src/components/ui/sonner.d.ts +2 -2
  307. package/dist/src/components/ui/sonner.d.ts.map +1 -1
  308. package/dist/src/components/ui/sonner.js +1 -1
  309. package/dist/src/components/ui/spinner.d.ts +3 -0
  310. package/dist/src/components/ui/spinner.d.ts.map +1 -0
  311. package/dist/src/components/ui/spinner.js +1 -0
  312. package/dist/src/components/ui/switch.d.ts +4 -2
  313. package/dist/src/components/ui/switch.d.ts.map +1 -1
  314. package/dist/src/components/ui/switch.js +1 -1
  315. package/dist/src/components/ui/table.d.ts +9 -9
  316. package/dist/src/components/ui/table.d.ts.map +1 -1
  317. package/dist/src/components/ui/table.js +1 -1
  318. package/dist/src/components/ui/tabs.d.ts +10 -6
  319. package/dist/src/components/ui/tabs.d.ts.map +1 -1
  320. package/dist/src/components/ui/tabs.js +1 -1
  321. package/dist/src/components/ui/textarea.d.ts +2 -2
  322. package/dist/src/components/ui/textarea.d.ts.map +1 -1
  323. package/dist/src/components/ui/textarea.js +1 -1
  324. package/dist/src/components/ui/toggle-group.d.ts +9 -5
  325. package/dist/src/components/ui/toggle-group.d.ts.map +1 -1
  326. package/dist/src/components/ui/toggle-group.js +1 -1
  327. package/dist/src/components/ui/toggle.d.ts +2 -3
  328. package/dist/src/components/ui/toggle.d.ts.map +1 -1
  329. package/dist/src/components/ui/toggle.js +1 -1
  330. package/dist/src/components/ui/tooltip.d.ts +9 -8
  331. package/dist/src/components/ui/tooltip.d.ts.map +1 -1
  332. package/dist/src/components/ui/tooltip.js +1 -1
  333. package/dist/src/components/user-format.d.ts +14 -0
  334. package/dist/src/components/user-format.d.ts.map +1 -0
  335. package/dist/src/components/user-format.js +1 -0
  336. package/dist/src/emails/default-template.d.ts +1 -1
  337. package/dist/src/emails/default-template.d.ts.map +1 -1
  338. package/dist/src/emails/default-template.js +1 -1
  339. package/dist/src/emails/reset-password.d.ts +1 -1
  340. package/dist/src/emails/reset-password.d.ts.map +1 -1
  341. package/dist/src/emails/ui/button.d.ts +2 -2
  342. package/dist/src/emails/ui/button.d.ts.map +1 -1
  343. package/dist/src/emails/ui/card.d.ts +6 -6
  344. package/dist/src/emails/ui/card.d.ts.map +1 -1
  345. package/dist/src/hooks/use-captcha.d.ts.map +1 -1
  346. package/dist/src/hooks/use-captcha.js +1 -1
  347. package/dist/src/hooks/use-mobile.js +1 -1
  348. package/dist/src/lib/colors.d.ts.map +1 -1
  349. package/dist/src/lib/fetcher/core.d.ts.map +1 -1
  350. package/dist/src/lib/fetcher/core.js +1 -1
  351. package/dist/src/lib/fetcher/types.d.ts.map +1 -1
  352. package/dist/src/lib/helpers/auto-form.d.ts +2 -0
  353. package/dist/src/lib/helpers/auto-form.d.ts.map +1 -1
  354. package/dist/src/lib/helpers/auto-form.js +1 -1
  355. package/dist/src/lib/helpers/auto-form.test.js +1 -1
  356. package/dist/src/lib/navigation.d.ts +26 -25
  357. package/dist/src/lib/navigation.d.ts.map +1 -1
  358. package/dist/src/lib/plugin.d.ts.map +1 -1
  359. package/dist/src/locales/en.json +66 -2
  360. package/dist/src/{app_admin → routes/admin}/core/advanced/cron/page.d.ts +2 -2
  361. package/dist/src/routes/admin/core/advanced/cron/page.d.ts.map +1 -0
  362. package/dist/src/routes/admin/core/advanced/cron/page.js +1 -0
  363. package/dist/src/{app_admin → routes/admin}/core/debug/page.d.ts +1 -1
  364. package/dist/src/routes/admin/core/debug/page.d.ts.map +1 -0
  365. package/dist/src/routes/admin/core/debug/page.js +1 -0
  366. package/dist/src/routes/admin/core/page.d.ts +2 -0
  367. package/dist/src/routes/admin/core/page.d.ts.map +1 -0
  368. package/dist/src/routes/admin/core/page.js +1 -0
  369. package/dist/src/routes/admin/core/test/page.d.ts +2 -0
  370. package/dist/src/routes/admin/core/test/page.d.ts.map +1 -0
  371. package/dist/src/routes/admin/core/test/page.js +1 -0
  372. package/dist/src/routes/admin/core/users/[nameCode]/page.d.ts +13 -0
  373. package/dist/src/routes/admin/core/users/[nameCode]/page.d.ts.map +1 -0
  374. package/dist/src/routes/admin/core/users/[nameCode]/page.js +1 -0
  375. package/dist/src/{app_admin → routes/admin}/core/users/page.d.ts +1 -1
  376. package/dist/src/routes/admin/core/users/page.d.ts.map +1 -0
  377. package/dist/src/routes/admin/core/users/page.js +1 -0
  378. package/dist/src/routes/admin/core/users/roles/page.d.ts +9 -0
  379. package/dist/src/routes/admin/core/users/roles/page.d.ts.map +1 -0
  380. package/dist/src/routes/admin/core/users/roles/page.js +1 -0
  381. package/dist/src/routes/blank/test/page.d.ts +2 -0
  382. package/dist/src/routes/blank/test/page.d.ts.map +1 -0
  383. package/dist/src/routes/blank/test/page.js +1 -0
  384. package/dist/src/routes/breadcrumb/admin/[...all]/page.d.ts +6 -0
  385. package/dist/src/routes/breadcrumb/admin/[...all]/page.d.ts.map +1 -0
  386. package/dist/src/routes/breadcrumb/admin/[...all]/page.js +1 -0
  387. package/dist/src/routes/breadcrumb/admin/core/users/[nameCode]/page.d.ts +6 -0
  388. package/dist/src/routes/breadcrumb/admin/core/users/[nameCode]/page.d.ts.map +1 -0
  389. package/dist/src/routes/breadcrumb/admin/core/users/[nameCode]/page.js +1 -0
  390. package/dist/src/routes/breadcrumb/admin/default.d.ts +2 -0
  391. package/dist/src/routes/breadcrumb/admin/default.d.ts.map +1 -0
  392. package/dist/src/routes/breadcrumb/admin/default.js +1 -0
  393. package/dist/src/routes/breadcrumb/main/[...rest]/page.d.ts +6 -0
  394. package/dist/src/routes/breadcrumb/main/[...rest]/page.d.ts.map +1 -0
  395. package/dist/src/routes/breadcrumb/main/[...rest]/page.js +1 -0
  396. package/dist/src/routes/breadcrumb/main/default.d.ts +2 -0
  397. package/dist/src/routes/breadcrumb/main/default.d.ts.map +1 -0
  398. package/dist/src/routes/breadcrumb/main/default.js +1 -0
  399. package/dist/src/routes/breadcrumb/main/login/page.d.ts +2 -0
  400. package/dist/src/routes/breadcrumb/main/login/page.d.ts.map +1 -0
  401. package/dist/src/routes/breadcrumb/main/login/page.js +1 -0
  402. package/dist/src/routes/breadcrumb/main/login/reset-password/page.d.ts +2 -0
  403. package/dist/src/routes/breadcrumb/main/login/reset-password/page.d.ts.map +1 -0
  404. package/dist/src/routes/breadcrumb/main/login/reset-password/page.js +1 -0
  405. package/dist/src/routes/breadcrumb/main/page.d.ts +2 -0
  406. package/dist/src/routes/breadcrumb/main/page.d.ts.map +1 -0
  407. package/dist/src/routes/breadcrumb/main/page.js +1 -0
  408. package/dist/src/routes/breadcrumb/main/register/page.d.ts +2 -0
  409. package/dist/src/routes/breadcrumb/main/register/page.d.ts.map +1 -0
  410. package/dist/src/routes/breadcrumb/main/register/page.js +1 -0
  411. package/dist/src/{app → routes/main}/login/page.d.ts +1 -1
  412. package/dist/src/routes/main/login/page.d.ts.map +1 -0
  413. package/dist/src/routes/main/login/page.js +1 -0
  414. package/dist/src/{app → routes/main}/login/reset-password/page.d.ts +2 -2
  415. package/dist/src/routes/main/login/reset-password/page.d.ts.map +1 -0
  416. package/dist/src/routes/main/login/reset-password/page.js +1 -0
  417. package/dist/src/{app → routes/main}/login/sso/[providerId]/page.d.ts +1 -1
  418. package/dist/src/routes/main/login/sso/[providerId]/page.d.ts.map +1 -0
  419. package/dist/src/routes/main/login/sso/[providerId]/page.js +1 -0
  420. package/dist/src/{app → routes/main}/register/page.d.ts +1 -1
  421. package/dist/src/routes/main/register/page.d.ts.map +1 -0
  422. package/dist/src/routes/main/register/page.js +1 -0
  423. package/dist/src/views/admin/layouts/admin-layout.d.ts +3 -2
  424. package/dist/src/views/admin/layouts/admin-layout.d.ts.map +1 -1
  425. package/dist/src/views/admin/layouts/admin-layout.js +1 -1
  426. package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-admin.d.ts +11 -0
  427. package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-admin.d.ts.map +1 -0
  428. package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-admin.js +1 -0
  429. package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-user-admin.d.ts +6 -0
  430. package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-user-admin.d.ts.map +1 -0
  431. package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-user-admin.js +1 -0
  432. package/dist/src/views/admin/layouts/breadcrumb/resolve-breadcrumb.d.ts +5 -0
  433. package/dist/src/views/admin/layouts/breadcrumb/resolve-breadcrumb.d.ts.map +1 -0
  434. package/dist/src/views/admin/layouts/breadcrumb/resolve-breadcrumb.js +1 -0
  435. package/dist/src/views/admin/layouts/sidebar/nav/get-admin-nav.d.ts +11 -0
  436. package/dist/src/views/admin/layouts/sidebar/nav/get-admin-nav.d.ts.map +1 -0
  437. package/dist/src/views/admin/layouts/sidebar/nav/get-admin-nav.js +1 -0
  438. package/dist/src/views/admin/layouts/sidebar/nav/item.d.ts +1 -1
  439. package/dist/src/views/admin/layouts/sidebar/nav/item.d.ts.map +1 -1
  440. package/dist/src/views/admin/layouts/sidebar/nav/nav.d.ts +5 -9
  441. package/dist/src/views/admin/layouts/sidebar/nav/nav.d.ts.map +1 -1
  442. package/dist/src/views/admin/layouts/sidebar/nav/nav.js +1 -1
  443. package/dist/src/views/admin/layouts/sidebar/sidebar.d.ts +1 -1
  444. package/dist/src/views/admin/layouts/sidebar/sidebar.d.ts.map +1 -1
  445. package/dist/src/views/admin/layouts/sidebar/sidebar.js +1 -1
  446. package/dist/src/views/admin/layouts/sidebar/sign-out.d.ts +1 -1
  447. package/dist/src/views/admin/layouts/sidebar/sign-out.d.ts.map +1 -1
  448. package/dist/src/views/admin/layouts/user-bar/client.d.ts +1 -1
  449. package/dist/src/views/admin/layouts/user-bar/client.d.ts.map +1 -1
  450. package/dist/src/views/admin/layouts/user-bar/user-bar.d.ts +1 -1
  451. package/dist/src/views/admin/layouts/user-bar/user-bar.d.ts.map +1 -1
  452. package/dist/src/views/admin/sign-in/sign-in-admin-view.d.ts +1 -1
  453. package/dist/src/views/admin/sign-in/sign-in-admin-view.d.ts.map +1 -1
  454. package/dist/src/views/admin/views/core/advanced/cron/cron-table-view.d.ts +1 -1
  455. package/dist/src/views/admin/views/core/advanced/cron/cron-table-view.d.ts.map +1 -1
  456. package/dist/src/views/admin/views/core/advanced/cron/cron-table-view.js +1 -1
  457. package/dist/src/views/admin/views/core/advanced/cron/run-action/run-action.d.ts +1 -1
  458. package/dist/src/views/admin/views/core/advanced/cron/run-action/run-action.d.ts.map +1 -1
  459. package/dist/src/views/admin/views/core/dashboard/dashboard-admin-view.d.ts +1 -1
  460. package/dist/src/views/admin/views/core/dashboard/dashboard-admin-view.d.ts.map +1 -1
  461. package/dist/src/views/admin/views/core/dashboard/dashboard-admin-view.js +1 -1
  462. package/dist/src/views/admin/views/core/dashboard/send-notification/mutation-api.d.ts +6 -0
  463. package/dist/src/views/admin/views/core/dashboard/send-notification/mutation-api.d.ts.map +1 -0
  464. package/dist/src/views/admin/views/core/dashboard/send-notification/mutation-api.js +1 -0
  465. package/dist/src/views/admin/views/core/dashboard/send-notification/send-notification.d.ts +5 -0
  466. package/dist/src/views/admin/views/core/dashboard/send-notification/send-notification.d.ts.map +1 -0
  467. package/dist/src/views/admin/views/core/dashboard/send-notification/send-notification.js +1 -0
  468. package/dist/src/views/admin/views/core/debug/actions/clear-cache/clear-cache.d.ts +1 -1
  469. package/dist/src/views/admin/views/core/debug/actions/clear-cache/clear-cache.d.ts.map +1 -1
  470. package/dist/src/views/admin/views/core/debug/system-logs/actions/more/content.d.ts +1 -1
  471. package/dist/src/views/admin/views/core/debug/system-logs/actions/more/content.d.ts.map +1 -1
  472. package/dist/src/views/admin/views/core/debug/system-logs/actions/more/more.d.ts +1 -1
  473. package/dist/src/views/admin/views/core/debug/system-logs/actions/more/more.d.ts.map +1 -1
  474. package/dist/src/views/admin/views/core/debug/system-logs/badges/badge-status.d.ts +1 -1
  475. package/dist/src/views/admin/views/core/debug/system-logs/badges/badge-status.d.ts.map +1 -1
  476. package/dist/src/views/admin/views/core/debug/system-logs/badges/badge-type-log.d.ts +1 -1
  477. package/dist/src/views/admin/views/core/debug/system-logs/badges/badge-type-log.d.ts.map +1 -1
  478. package/dist/src/views/admin/views/core/debug/system-logs/system-logs-view.d.ts +1 -1
  479. package/dist/src/views/admin/views/core/debug/system-logs/system-logs-view.d.ts.map +1 -1
  480. package/dist/src/views/admin/views/core/debug/system-logs/system-logs-view.js +1 -1
  481. package/dist/src/views/admin/views/core/test.d.ts +1 -1
  482. package/dist/src/views/admin/views/core/test.d.ts.map +1 -1
  483. package/dist/src/views/admin/views/core/test.js +1 -1
  484. package/dist/src/views/admin/views/core/users/actions/create/content.d.ts +2 -0
  485. package/dist/src/views/admin/views/core/users/actions/create/content.d.ts.map +1 -0
  486. package/dist/src/views/admin/views/core/users/actions/create/content.js +1 -0
  487. package/dist/src/views/admin/views/core/users/actions/create/create.d.ts +3 -0
  488. package/dist/src/views/admin/views/core/users/actions/create/create.d.ts.map +1 -0
  489. package/dist/src/views/admin/views/core/users/actions/create/create.js +1 -0
  490. package/dist/src/views/admin/views/core/users/actions/create/mutation-api.d.ts +14 -0
  491. package/dist/src/views/admin/views/core/users/actions/create/mutation-api.d.ts.map +1 -0
  492. package/dist/src/views/admin/views/core/users/actions/create/mutation-api.js +1 -0
  493. package/dist/src/views/admin/views/core/users/actions/create/use-form.d.ts +15 -0
  494. package/dist/src/views/admin/views/core/users/actions/create/use-form.d.ts.map +1 -0
  495. package/dist/src/views/admin/views/core/users/actions/create/use-form.js +1 -0
  496. package/dist/src/views/admin/views/core/users/actions/verify-email/mutation-api.d.ts +11 -0
  497. package/dist/src/views/admin/views/core/users/actions/verify-email/mutation-api.d.ts.map +1 -0
  498. package/dist/src/views/admin/views/core/users/actions/verify-email/mutation-api.js +1 -0
  499. package/dist/src/views/admin/views/core/users/actions/verify-email/verify-email.d.ts +6 -0
  500. package/dist/src/views/admin/views/core/users/actions/verify-email/verify-email.d.ts.map +1 -0
  501. package/dist/src/views/admin/views/core/users/actions/verify-email/verify-email.js +1 -0
  502. package/dist/src/views/admin/views/core/users/actions.d.ts +5 -0
  503. package/dist/src/views/admin/views/core/users/actions.d.ts.map +1 -0
  504. package/dist/src/views/admin/views/core/users/actions.js +1 -0
  505. package/dist/src/views/admin/views/core/users/roles/roles-admin-view.d.ts +4 -0
  506. package/dist/src/views/admin/views/core/users/roles/roles-admin-view.d.ts.map +1 -0
  507. package/dist/src/views/admin/views/core/users/roles/roles-admin-view.js +1 -0
  508. package/dist/src/views/admin/views/core/users/search-roles.action.d.ts +3 -0
  509. package/dist/src/views/admin/views/core/users/search-roles.action.d.ts.map +1 -0
  510. package/dist/src/views/admin/views/core/users/search-roles.action.js +1 -0
  511. package/dist/src/views/admin/views/core/users/show/show-user-admin-view.d.ts +4 -0
  512. package/dist/src/views/admin/views/core/users/show/show-user-admin-view.d.ts.map +1 -0
  513. package/dist/src/views/admin/views/core/users/show/show-user-admin-view.js +1 -0
  514. package/dist/src/views/admin/views/core/users/users-admin-view.d.ts +1 -1
  515. package/dist/src/views/admin/views/core/users/users-admin-view.d.ts.map +1 -1
  516. package/dist/src/views/admin/views/core/users/users-admin-view.js +1 -1
  517. package/dist/src/views/auth/password-reset/change-password-form/form.d.ts +1 -1
  518. package/dist/src/views/auth/password-reset/change-password-form/form.d.ts.map +1 -1
  519. package/dist/src/views/auth/password-reset/form/form.d.ts +1 -1
  520. package/dist/src/views/auth/password-reset/form/form.d.ts.map +1 -1
  521. package/dist/src/views/auth/password-reset/password-reset-view.d.ts +1 -1
  522. package/dist/src/views/auth/password-reset/password-reset-view.d.ts.map +1 -1
  523. package/dist/src/views/auth/password-reset/password-reset-view.js +1 -1
  524. package/dist/src/views/auth/sign-in/form/form.d.ts +1 -1
  525. package/dist/src/views/auth/sign-in/form/form.d.ts.map +1 -1
  526. package/dist/src/views/auth/sign-in/sign-in-view.d.ts +2 -1
  527. package/dist/src/views/auth/sign-in/sign-in-view.d.ts.map +1 -1
  528. package/dist/src/views/auth/sign-in/sign-in-view.js +1 -1
  529. package/dist/src/views/auth/sign-up/components/password-input.d.ts +1 -1
  530. package/dist/src/views/auth/sign-up/components/password-input.d.ts.map +1 -1
  531. package/dist/src/views/auth/sign-up/components/password-input.js +1 -1
  532. package/dist/src/views/auth/sign-up/email-confirmation-view.d.ts +1 -1
  533. package/dist/src/views/auth/sign-up/email-confirmation-view.d.ts.map +1 -1
  534. package/dist/src/views/auth/sign-up/form/form.d.ts +1 -1
  535. package/dist/src/views/auth/sign-up/form/form.d.ts.map +1 -1
  536. package/dist/src/views/auth/sign-up/sign-up-view.d.ts +2 -1
  537. package/dist/src/views/auth/sign-up/sign-up-view.d.ts.map +1 -1
  538. package/dist/src/views/auth/sign-up/sign-up-view.js +1 -1
  539. package/dist/src/views/auth/sign-up/wrapper.d.ts +1 -1
  540. package/dist/src/views/auth/sign-up/wrapper.d.ts.map +1 -1
  541. package/dist/src/views/auth/sso/buttons/client.d.ts +1 -1
  542. package/dist/src/views/auth/sso/buttons/client.d.ts.map +1 -1
  543. package/dist/src/views/auth/sso/buttons/sso-buttons.d.ts +2 -2
  544. package/dist/src/views/auth/sso/buttons/sso-buttons.d.ts.map +1 -1
  545. package/dist/src/views/auth/sso/callback/callback-sso-view.d.ts +1 -1
  546. package/dist/src/views/auth/sso/callback/callback-sso-view.d.ts.map +1 -1
  547. package/dist/src/views/auth/sso/callback/client/client.d.ts +1 -1
  548. package/dist/src/views/auth/sso/callback/client/client.d.ts.map +1 -1
  549. package/dist/src/views/breadcrumb/breadcrumb-main.d.ts +7 -0
  550. package/dist/src/views/breadcrumb/breadcrumb-main.d.ts.map +1 -0
  551. package/dist/src/views/breadcrumb/breadcrumb-main.js +1 -0
  552. package/dist/src/views/breadcrumb/breadcrumb-render.d.ts +5 -0
  553. package/dist/src/views/breadcrumb/breadcrumb-render.d.ts.map +1 -0
  554. package/dist/src/views/breadcrumb/breadcrumb-render.js +1 -0
  555. package/dist/src/views/breadcrumb/crumb.d.ts +9 -0
  556. package/dist/src/views/breadcrumb/crumb.d.ts.map +1 -0
  557. package/dist/src/views/breadcrumb/crumb.js +1 -0
  558. package/dist/src/views/breadcrumb/resolve-main-breadcrumb.d.ts +3 -0
  559. package/dist/src/views/breadcrumb/resolve-main-breadcrumb.d.ts.map +1 -0
  560. package/dist/src/views/breadcrumb/resolve-main-breadcrumb.js +1 -0
  561. package/dist/src/views/error/back-button.d.ts +1 -1
  562. package/dist/src/views/error/back-button.d.ts.map +1 -1
  563. package/dist/src/views/error/error-view.d.ts +1 -1
  564. package/dist/src/views/error/error-view.d.ts.map +1 -1
  565. package/dist/src/views/error/global-error-view.d.ts +1 -1
  566. package/dist/src/views/error/global-error-view.d.ts.map +1 -1
  567. package/dist/src/views/layouts/provider.d.ts +3 -5
  568. package/dist/src/views/layouts/provider.d.ts.map +1 -1
  569. package/dist/src/views/layouts/provider.js +1 -1
  570. package/dist/src/views/layouts/root-layout.d.ts +1 -1
  571. package/dist/src/views/layouts/root-layout.d.ts.map +1 -1
  572. package/dist/src/views/layouts/root-layout.js +1 -1
  573. package/dist/src/views/layouts/theme/header/header.d.ts +1 -1
  574. package/dist/src/views/layouts/theme/header/header.d.ts.map +1 -1
  575. package/dist/src/views/layouts/theme/header/user/auth/auth.d.ts +1 -1
  576. package/dist/src/views/layouts/theme/header/user/auth/auth.d.ts.map +1 -1
  577. package/dist/src/views/layouts/theme/header/user/auth/client.d.ts +1 -1
  578. package/dist/src/views/layouts/theme/header/user/auth/client.d.ts.map +1 -1
  579. package/dist/src/views/layouts/theme/header/user/user.d.ts +1 -1
  580. package/dist/src/views/layouts/theme/header/user/user.d.ts.map +1 -1
  581. package/dist/src/views/layouts/theme/layout.d.ts +3 -2
  582. package/dist/src/views/layouts/theme/layout.d.ts.map +1 -1
  583. package/dist/src/views/layouts/theme/layout.js +1 -1
  584. package/dist/src/views/layouts/theme/notification-listener.d.ts +2 -0
  585. package/dist/src/views/layouts/theme/notification-listener.d.ts.map +1 -0
  586. package/dist/src/views/layouts/theme/notification-listener.js +1 -0
  587. package/dist/src/views/layouts/theme/web-socket-auth-sync.d.ts +4 -0
  588. package/dist/src/views/layouts/theme/web-socket-auth-sync.d.ts.map +1 -0
  589. package/dist/src/views/layouts/theme/web-socket-auth-sync.js +1 -0
  590. package/dist/src/vitnode.config.d.ts +4 -0
  591. package/dist/src/vitnode.config.d.ts.map +1 -1
  592. package/dist/src/vitnode.config.js +1 -1
  593. package/dist/src/ws/handle.d.ts +5 -0
  594. package/dist/src/ws/handle.d.ts.map +1 -0
  595. package/dist/src/ws/handle.js +1 -0
  596. package/dist/src/ws/manager.d.ts +14 -0
  597. package/dist/src/ws/manager.d.ts.map +1 -0
  598. package/dist/src/ws/manager.js +1 -0
  599. package/dist/src/ws/notifications.d.ts +8 -0
  600. package/dist/src/ws/notifications.d.ts.map +1 -0
  601. package/dist/src/ws/notifications.js +1 -0
  602. package/dist/src/ws/provider.d.ts +14 -0
  603. package/dist/src/ws/provider.d.ts.map +1 -0
  604. package/dist/src/ws/provider.js +1 -0
  605. package/dist/src/ws/registry.d.ts +14 -0
  606. package/dist/src/ws/registry.d.ts.map +1 -0
  607. package/dist/src/ws/registry.js +1 -0
  608. package/dist/src/ws/types.d.ts +22 -0
  609. package/dist/src/ws/types.d.ts.map +1 -0
  610. package/dist/src/ws/types.js +1 -0
  611. package/dist/src/ws/use-websocket.d.ts +9 -0
  612. package/dist/src/ws/use-websocket.d.ts.map +1 -0
  613. package/dist/src/ws/use-websocket.js +1 -0
  614. package/dist/tsconfig.tsbuildinfo +1 -1
  615. package/dist/vitest.config.d.ts.map +1 -1
  616. package/dist/vitest.config.js +1 -2
  617. package/package.json +63 -54
  618. package/src/locales/en.json +66 -2
  619. package/dist/src/app/login/page.d.ts.map +0 -1
  620. package/dist/src/app/login/page.js +0 -1
  621. package/dist/src/app/login/reset-password/page.d.ts.map +0 -1
  622. package/dist/src/app/login/reset-password/page.js +0 -1
  623. package/dist/src/app/login/sso/[providerId]/page.d.ts.map +0 -1
  624. package/dist/src/app/login/sso/[providerId]/page.js +0 -1
  625. package/dist/src/app/register/page.d.ts.map +0 -1
  626. package/dist/src/app/register/page.js +0 -1
  627. package/dist/src/app_admin/core/advanced/cron/page.d.ts.map +0 -1
  628. package/dist/src/app_admin/core/advanced/cron/page.js +0 -1
  629. package/dist/src/app_admin/core/debug/page.d.ts.map +0 -1
  630. package/dist/src/app_admin/core/debug/page.js +0 -1
  631. package/dist/src/app_admin/core/page.d.ts +0 -2
  632. package/dist/src/app_admin/core/page.d.ts.map +0 -1
  633. package/dist/src/app_admin/core/page.js +0 -1
  634. package/dist/src/app_admin/core/test/page.d.ts +0 -2
  635. package/dist/src/app_admin/core/test/page.d.ts.map +0 -1
  636. package/dist/src/app_admin/core/test/page.js +0 -1
  637. package/dist/src/app_admin/core/users/page.d.ts.map +0 -1
  638. package/dist/src/app_admin/core/users/page.js +0 -1
  639. package/dist/src/components/form/fields/combobox-async.d.ts +0 -18
  640. package/dist/src/components/form/fields/combobox-async.d.ts.map +0 -1
  641. package/dist/src/components/form/fields/combobox-async.js +0 -1
  642. package/src/app/login/page.tsx +0 -22
  643. package/src/app/login/reset-password/page.tsx +0 -27
  644. package/src/app/login/sso/[providerId]/page.tsx +0 -19
  645. package/src/app/register/page.tsx +0 -22
  646. package/src/app_admin/core/advanced/cron/page.tsx +0 -42
  647. package/src/app_admin/core/debug/page.tsx +0 -46
  648. package/src/app_admin/core/page.tsx +0 -5
  649. package/src/app_admin/core/test/page.tsx +0 -5
  650. package/src/app_admin/core/users/page.tsx +0 -41
@@ -1 +1 @@
1
- {"version":3,"file":"vitest.config.d.ts","sourceRoot":"","sources":["../vitest.config.ts"],"names":[],"mappings":";AAKA,wBA4CG"}
1
+ {"version":3,"file":"vitest.config.d.ts","sourceRoot":"","sources":["../vitest.config.ts"],"names":[],"mappings":";AAIA,wBA4CG"}
@@ -1,9 +1,8 @@
1
1
  import react from "@vitejs/plugin-react";
2
2
  import { resolve } from "node:path";
3
- import tsconfigPaths from "vite-tsconfig-paths";
4
3
  import { defineConfig } from "vitest/config";
5
4
  export default defineConfig({
6
- plugins: [react(), tsconfigPaths()],
5
+ plugins: [react()],
7
6
  test: {
8
7
  globals: true,
9
8
  environment: "jsdom",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitnode/core",
3
- "version": "1.2.0-canary.70",
3
+ "version": "1.2.0-canary.73",
4
4
  "description": "Core package for VitNode, providing essential functionalities and configurations.",
5
5
  "author": "VitNode Team",
6
6
  "license": "MIT",
@@ -37,45 +37,45 @@
37
37
  "zod": "^4.x.x"
38
38
  },
39
39
  "devDependencies": {
40
- "@hono/zod-openapi": "^1.1.4",
41
- "@hono/zod-validator": "^0.7.4",
42
- "@hookform/resolvers": "^5.2.2",
43
- "@react-email/components": "^1.0.0",
44
- "@swc/cli": "^0.7.9",
45
- "@swc/core": "^1.15.1",
40
+ "@hono/zod-openapi": "^1.4.0",
41
+ "@hono/zod-validator": "^0.8.0",
42
+ "@hookform/resolvers": "^5.4.0",
43
+ "@react-email/components": "^1.0.12",
44
+ "@swc/cli": "^0.8.1",
45
+ "@swc/core": "^1.15.41",
46
46
  "@testing-library/dom": "^10.4.1",
47
- "@testing-library/react": "^16.3.0",
48
- "@types/node": "^24.10.0",
49
- "@types/react": "^19.2.3",
50
- "@types/react-dom": "^19.2.2",
51
- "@vitejs/plugin-react": "^5.1.0",
52
- "@vitest/coverage-v8": "^4.0.8",
53
- "chokidar": "^4.0.3",
54
- "concurrently": "^9.2.1",
55
- "drizzle-kit": "^0.31.6",
56
- "drizzle-orm": "^0.44.7",
57
- "eslint": "^9.39.1",
58
- "hono": "^4.10.5",
59
- "jiti": "^2.6.1",
60
- "jsdom": "^27.1.0",
61
- "lucide-react": "^0.553.0",
62
- "next": "^16.0.1",
63
- "next-intl": "^4.5.1",
64
- "react": "^19.2.0",
65
- "react-dom": "^19.2.0",
66
- "react-email": "^5.0.1",
67
- "react-hook-form": "^7.66.0",
47
+ "@testing-library/react": "^16.3.2",
48
+ "@types/node": "^25.9.3",
49
+ "@types/react": "^19.2.17",
50
+ "@types/react-dom": "^19.2.3",
51
+ "@vitejs/plugin-react": "^6.0.2",
52
+ "@vitest/coverage-v8": "^4.1.8",
53
+ "chokidar": "^5.0.0",
54
+ "concurrently": "^10.0.3",
55
+ "drizzle-kit": "^0.31.10",
56
+ "drizzle-orm": "^0.45.2",
57
+ "eslint": "^10.5.0",
58
+ "hono": "^4.12.25",
59
+ "jiti": "^2.7.0",
60
+ "jsdom": "^29.1.1",
61
+ "lucide-react": "^1.18.0",
62
+ "next": "^16.2.9",
63
+ "next-intl": "^4.13.0",
64
+ "react": "^19.2.7",
65
+ "react-dom": "^19.2.7",
66
+ "react-email": "^6.6.0",
67
+ "react-hook-form": "^7.79.0",
68
68
  "sonner": "^2.0.7",
69
- "tailwindcss": "^4.1.17",
70
- "tsc-alias": "^1.8.16",
71
- "tsup": "^8.5.0",
72
- "tsx": "^4.20.6",
69
+ "tailwindcss": "^4.3.1",
70
+ "tsc-alias": "^1.8.17",
71
+ "tsup": "^8.5.1",
72
+ "tsx": "^4.22.4",
73
73
  "tw-animate-css": "^1.4.0",
74
- "typescript": "^5.9.3",
75
- "vite-tsconfig-paths": "^5.1.4",
76
- "vitest": "^4.0.8",
77
- "zod": "^4.1.12",
78
- "@vitnode/config": "1.2.0-canary.70"
74
+ "typescript": "^6.0.3",
75
+ "vite": "^8.0.16",
76
+ "vitest": "^4.1.8",
77
+ "zod": "^4.4.3",
78
+ "@vitnode/config": "1.2.0-canary.73"
79
79
  },
80
80
  "bin": {
81
81
  "vitnode": "./dist/scripts/scripts.js"
@@ -97,29 +97,38 @@
97
97
  },
98
98
  "type": "module",
99
99
  "dependencies": {
100
+ "@base-ui/react": "^1.5.0",
101
+ "@bprogress/next": "^3.2.12",
100
102
  "@dnd-kit/core": "^6.3.1",
101
- "@hono/swagger-ui": "^0.5.2",
102
- "@react-email/preview-server": "^5.0.1",
103
- "@tanstack/react-query": "^5.90.7",
104
- "@tiptap/extension-text-align": "^3.10.5",
105
- "@tiptap/pm": "^3.10.5",
106
- "@tiptap/react": "^3.10.5",
107
- "@tiptap/starter-kit": "^3.10.5",
103
+ "@hono/swagger-ui": "^0.6.1",
104
+ "@react-email/preview-server": "^5.2.10",
105
+ "@tanstack/react-query": "^5.101.0",
106
+ "@tiptap/extension-text-align": "^3.26.1",
107
+ "@tiptap/pm": "^3.26.1",
108
+ "@tiptap/react": "^3.26.1",
109
+ "@tiptap/starter-kit": "^3.26.1",
108
110
  "class-variance-authority": "^0.7.1",
109
111
  "clsx": "^2.1.1",
110
112
  "cmdk": "^1.1.1",
111
- "cron-parser": "^5.4.0",
112
- "dotenv": "^17.2.3",
113
+ "cron-parser": "^5.5.0",
114
+ "date-fns": "^4.4.0",
115
+ "dotenv": "^17.4.2",
116
+ "embla-carousel-react": "^8.6.0",
113
117
  "input-otp": "^1.4.2",
114
- "motion": "^12.23.24",
118
+ "motion": "^12.40.0",
115
119
  "next-themes": "^0.4.6",
116
- "postgres": "^3.4.7",
117
- "radix-ui": "^1.4.3",
118
- "rate-limiter-flexible": "^8.2.0",
119
- "react-scan": "^0.4.3",
120
- "tailwind-merge": "^3.4.0",
121
- "use-debounce": "^10.0.6",
122
- "use-intl": "^4.5.1",
120
+ "postgres": "^3.4.9",
121
+ "radix-ui": "^1.5.0",
122
+ "rate-limiter-flexible": "^11.2.0",
123
+ "react-day-picker": "^10.0.1",
124
+ "react-resizable-panels": "^4.11.2",
125
+ "react-scan": "^0.5.7",
126
+ "recharts": "3.8.1",
127
+ "server-only": "^0.0.1",
128
+ "shadcn": "^4.11.0",
129
+ "tailwind-merge": "^3.6.0",
130
+ "use-debounce": "^10.1.1",
131
+ "use-intl": "^4.13.0",
123
132
  "vaul": "^1.1.2"
124
133
  },
125
134
  "scripts": {
@@ -1,6 +1,15 @@
1
1
  {
2
2
  "core": {
3
3
  "global": {
4
+ "close": "Close",
5
+ "confirm": "Confirm",
6
+ "previous": "Previous",
7
+ "next": "Next",
8
+ "current_page": "Current page",
9
+ "go_to_page": "Go to page",
10
+ "previous_page": "Previous page",
11
+ "next_page": "Next page",
12
+ "remove": "Remove",
4
13
  "editor": {
5
14
  "undo": "Undo",
6
15
  "redo": "Redo",
@@ -43,6 +52,8 @@
43
52
  },
44
53
  "search_placeholder": "Search...",
45
54
  "results_not_found": "No results found",
55
+ "selected_count": "{count} selected",
56
+ "clear_filters": "Clear filters",
46
57
  "date": "{date, date}",
47
58
  "date_medium": "{date, date, medium}",
48
59
  "date_short": "{date, date, short}",
@@ -207,7 +218,8 @@
207
218
  "dashboard": "Dashboard",
208
219
  "users": {
209
220
  "title": "Users",
210
- "list": "User List"
221
+ "list": "User List",
222
+ "roles": "Roles"
211
223
  },
212
224
  "user_bar": {
213
225
  "home_page": "Home Page",
@@ -251,7 +263,59 @@
251
263
  "desc": "Manage users of your application.",
252
264
  "user": "User",
253
265
  "createdAt": "Created At",
254
- "emailNotVerified": "Email Not Verified"
266
+ "emailNotVerified": "Email Not Verified",
267
+ "view": "View profile",
268
+ "roles": "Roles",
269
+ "searchPlaceholder": "Search users by email or username...",
270
+ "noResults": {
271
+ "title": "No users found",
272
+ "description": "Try adjusting your search criteria."
273
+ }
274
+ },
275
+ "show": {
276
+ "title": "User Profile",
277
+ "joined": "Joined",
278
+ "emailNotVerified": "Email Not Verified",
279
+ "coverPlaceholder": "No cover image"
280
+ },
281
+ "verify_email": {
282
+ "label": "Verify Email",
283
+ "success": "Email has been verified."
284
+ },
285
+ "create": {
286
+ "title": "Add User",
287
+ "desc": "Create a new account for a user.",
288
+ "name": {
289
+ "label": "Username",
290
+ "min_length": "Username must be at least 3 characters.",
291
+ "max_length": "Username must be at most 32 characters.",
292
+ "exists": "This username is already taken."
293
+ },
294
+ "email": {
295
+ "label": "Email",
296
+ "invalid": "Please enter a valid email address.",
297
+ "exists": "This email is already registered."
298
+ },
299
+ "password": {
300
+ "label": "Password",
301
+ "invalid": "Password must be at least 8 characters."
302
+ },
303
+ "submit": "Create User",
304
+ "success": "User \"{name}\" has been created."
305
+ }
306
+ },
307
+ "role": {
308
+ "list": {
309
+ "desc": "Manage the roles of your application.",
310
+ "role": "Role",
311
+ "usersCount": "Number of users",
312
+ "updatedAt": "Updated At",
313
+ "searchPlaceholder": "Search roles by name...",
314
+ "openUsersTooltip": "View users with this role",
315
+ "noResults": {
316
+ "title": "No roles found",
317
+ "description": "Try adjusting your search criteria."
318
+ }
255
319
  }
256
320
  },
257
321
  "debug": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../src/app/login/page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAMhD,eAAO,MAAM,gBAAgB,GAAU,aAEpC;IACD,MAAM,EAAE,OAAO,CAAC;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACrC,KAAG,OAAO,CAAC,QAAQ,CAOnB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,IAAI,4CAE3B"}
@@ -1 +0,0 @@
1
- import{jsx as _jsx}from"react/jsx-runtime";import{getTranslations}from"next-intl/server";import{SignInView}from"../../views/auth/sign-in/sign-in-view.js";export const generateMetadata=async({params})=>{const{locale}=await params;const t=await getTranslations({locale,namespace:"core.global"});return{title:t("login")}};export default function Page(){return _jsx(SignInView,{})}
@@ -1 +0,0 @@
1
- {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../src/app/login/reset-password/page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAIhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AAEpF,eAAO,MAAM,gBAAgB,GAAU,aAEpC;IACD,MAAM,EAAE,OAAO,CAAC;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACrC,KAAG,OAAO,CAAC,QAAQ,CAUnB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,IAAI,CAC1B,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,2CAGtD"}
@@ -1 +0,0 @@
1
- import{jsx as _jsx}from"react/jsx-runtime";import{getTranslations}from"next-intl/server";import{PasswordResetView}from"../../../views/auth/password-reset/password-reset-view.js";export const generateMetadata=async({params})=>{const{locale}=await params;const t=await getTranslations({locale,namespace:"core.auth.reset_password"});return{title:t("title")}};export default function Page(props){return _jsx(PasswordResetView,{...props})}
@@ -1 +0,0 @@
1
- {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../src/app/login/sso/[providerId]/page.tsx"],"names":[],"mappings":"AAEA,wBAA8B,IAAI,CAAC,EACjC,MAAM,EACN,YAAY,GACb,EAAE;IACD,MAAM,EAAE,OAAO,CAAC;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACxC,YAAY,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CAC/C,oDAUA"}
@@ -1 +0,0 @@
1
- import{jsx as _jsx}from"react/jsx-runtime";import{CallbackSSOView}from"../../../../views/auth/sso/callback/callback-sso-view.js";export default async function Page({params,searchParams}){const{providerId}=await params;const currentSearchParams=await searchParams;return _jsx(CallbackSSOView,{providerId:providerId,searchParams:currentSearchParams})}
@@ -1 +0,0 @@
1
- {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../src/app/register/page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAMhD,eAAO,MAAM,gBAAgB,GAAU,aAEpC;IACD,MAAM,EAAE,OAAO,CAAC;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACrC,KAAG,OAAO,CAAC,QAAQ,CAOnB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,IAAI,4CAE3B"}
@@ -1 +0,0 @@
1
- import{jsx as _jsx}from"react/jsx-runtime";import{getTranslations}from"next-intl/server";import{SignUpView}from"../../views/auth/sign-up/sign-up-view.js";export const generateMetadata=async({params})=>{const{locale}=await params;const t=await getTranslations({locale,namespace:"core.global"});return{title:t("register")}};export default function Page(){return _jsx(SignUpView,{})}
@@ -1 +0,0 @@
1
- {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../src/app_admin/core/advanced/cron/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,QAAA,MAAM,aAAa;;EAMlB,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;EAO5B,CAAC;AAEF,wBAA8B,IAAI,CAChC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,oDAelD"}
@@ -1 +0,0 @@
1
- import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";import{getTranslations}from"next-intl/server";import dynamic from"next/dynamic";import React from"react";import{I18nProvider}from"../../../../components/i18n-provider.js";import{DataTableSkeleton}from"../../../../components/table/data-table.js";import{HeaderContent}from"../../../../components/ui/header-content.js";const CronTableView=dynamic(async()=>import("../../../../views/admin/views/core/advanced/cron/cron-table-view.js").then(module=>({default:module.CronTableView})));export const generateMetadata=async()=>{const t=await getTranslations("admin.advanced.cron");return{title:t("title"),description:t("desc")}};export default async function Page(props){const t=await getTranslations("admin.advanced.cron");return _jsx(I18nProvider,{namespaces:["admin.advanced.cron"],children:_jsxs("div",{className:"p-4",children:[_jsx(HeaderContent,{desc:t("desc"),h1:t("title")}),_jsx(React.Suspense,{fallback:_jsx(DataTableSkeleton,{columns:6}),children:_jsx(CronTableView,{...props})})]})})}
@@ -1 +0,0 @@
1
- {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../src/app_admin/core/debug/page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,QAAA,MAAM,cAAc;;EAMnB,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;EAO5B,CAAC;AAEF,wBAA8B,IAAI,CAChC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,oDAkBnD"}
@@ -1 +0,0 @@
1
- import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";import{getTranslations}from"next-intl/server";import dynamic from"next/dynamic";import React from"react";import{I18nProvider}from"../../../components/i18n-provider.js";import{DataTableSkeleton}from"../../../components/table/data-table.js";import{HeaderContent}from"../../../components/ui/header-content.js";import{ClearCacheAction}from"../../../views/admin/views/core/debug/actions/clear-cache/clear-cache.js";const SystemLogsView=dynamic(async()=>import("../../../views/admin/views/core/debug/system-logs/system-logs-view.js").then(module=>({default:module.SystemLogsView})));export const generateMetadata=async()=>{const t=await getTranslations("admin.debug");return{title:t("title"),description:t("desc")}};export default async function Page(props){const t=await getTranslations("admin.debug");return _jsx(I18nProvider,{namespaces:"admin.debug",children:_jsxs("div",{className:"p-4",children:[_jsx(HeaderContent,{desc:t("desc"),h1:t("title"),children:_jsx(ClearCacheAction,{})}),_jsx(HeaderContent,{h2:t("logs.title")}),_jsx(React.Suspense,{fallback:_jsx(DataTableSkeleton,{columns:4}),children:_jsx(SystemLogsView,{...props})})]})})}
@@ -1,2 +0,0 @@
1
- export default function Page(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=page.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../src/app_admin/core/page.tsx"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,IAAI,4CAE3B"}
@@ -1 +0,0 @@
1
- import{jsx as _jsx}from"react/jsx-runtime";import{DashboardAdminView}from"../../views/admin/views/core/dashboard/dashboard-admin-view.js";export default function Page(){return _jsx(DashboardAdminView,{})}
@@ -1,2 +0,0 @@
1
- export default function Page(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=page.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../src/app_admin/core/test/page.tsx"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,IAAI,4CAE3B"}
@@ -1 +0,0 @@
1
- import{jsx as _jsx}from"react/jsx-runtime";import{TestView}from"../../../views/admin/views/core/test.js";export default function Page(){return _jsx(TestView,{})}
@@ -1 +0,0 @@
1
- {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../src/app_admin/core/users/page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAIhD,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,QAAA,MAAM,cAAc;;EAInB,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAAa,OAAO,CAAC,QAAQ,CAMzD,CAAC;AAEF,wBAA8B,IAAI,CAChC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,oDAgBnD"}
@@ -1 +0,0 @@
1
- import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";import{getTranslations}from"next-intl/server";import dynamic from"next/dynamic";import React from"react";import{DataTableSkeleton}from"../../../components/table/data-table.js";import{HeaderContent}from"../../../components/ui/header-content.js";const UsersAdminView=dynamic(async()=>import("../../../views/admin/views/core/users/users-admin-view.js").then(module=>({default:module.UsersAdminView})));export const generateMetadata=async()=>{const t=await getTranslations("admin.global.nav.users");return{title:t("list")}};export default async function Page(props){const[t,tNav]=await Promise.all([getTranslations("admin.user.list"),getTranslations("admin.global.nav.users")]);return _jsxs("div",{className:"p-4",children:[_jsx(HeaderContent,{desc:t("desc"),h1:tNav("list")}),_jsx(React.Suspense,{fallback:_jsx(DataTableSkeleton,{columns:2}),children:_jsx(UsersAdminView,{...props})})]})}
@@ -1,18 +0,0 @@
1
- import React from "react";
2
- import { Button } from "../../../components/ui/button";
3
- import type { ItemAutoFormComponentProps } from "../auto-form";
4
- export declare const AutoFormComboboxAsync: ({ label, field, description, placeholder, className, labelRight, id, otherProps: { isOptional }, searchPlaceholder, fetchData, ...props }: ItemAutoFormComponentProps & Omit<React.ComponentProps<typeof Button>, "role" | "variant"> & {
5
- fetchData: (params: {
6
- search: string;
7
- }) => Promise<{
8
- label: string;
9
- value: string;
10
- }[]> | {
11
- label: string;
12
- value: string;
13
- }[];
14
- id: string;
15
- placeholder?: string;
16
- searchPlaceholder?: string;
17
- }) => import("react/jsx-runtime").JSX.Element;
18
- //# sourceMappingURL=combobox-async.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"combobox-async.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/fields/combobox-async.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAiBhD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAM/D,eAAO,MAAM,qBAAqB,GAAI,2IAYnC,0BAA0B,GAC3B,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG;IAC9D,SAAS,EAAE,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,KAClC,OAAO,CACL;QACE,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;KACf,EAAE,CACJ,GACD;QACE,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;KACf,EAAE,CAAC;IACR,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,4CAsGF,CAAC"}
@@ -1 +0,0 @@
1
- import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";import{useQuery}from"@tanstack/react-query";import{Check,ChevronsUpDown}from"lucide-react";import{useTranslations}from"next-intl";import React from"react";import{useDebouncedCallback}from"use-debounce";import{Button}from"../../ui/button.js";import{Command,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList}from"../../ui/command.js";import{FormControl,FormItem,FormMessage}from"../../ui/form.js";import{Popover,PopoverContent,PopoverTrigger}from"../../ui/popover.js";import{cn}from"../../../lib/utils.js";import{Skeleton}from"../../ui/skeleton.js";import{AutoFormDesc}from"../common/desc.js";import{AutoFormLabel}from"../common/label.js";export const AutoFormComboboxAsync=({label,field,description,placeholder,className,labelRight,id,otherProps:{isOptional},searchPlaceholder,fetchData,...props})=>{const t=useTranslations("core.global");const[search,setSearch]=React.useState("");const{data,isLoading}=useQuery({queryKey:[id,{search}],queryFn:async()=>{return await fetchData({search})}});const handleChangeSearch=useDebouncedCallback(value=>{setSearch(value)},500);return _jsxs(FormItem,{className:"flex flex-col",children:[label&&_jsx(AutoFormLabel,{isOptional:isOptional,labelRight:labelRight,children:label}),_jsxs(Popover,{children:[_jsx(PopoverTrigger,{asChild:true,children:_jsx(FormControl,{children:_jsxs(Button,{"aria-label":"Combobox",className:cn("w-[200px] justify-between bg-transparent",!field.value&&"text-muted-foreground",className),role:"combobox",variant:"outline",...props,children:[field.value?.label??placeholder??t("select_option"),_jsx(ChevronsUpDown,{className:"ml-2 size-4 shrink-0 opacity-50"})]})})}),_jsx(PopoverContent,{className:"w-[200px] p-0",children:_jsxs(Command,{shouldFilter:false,children:[_jsx(CommandInput,{onChangeCapture:e=>{handleChangeSearch(e.currentTarget.value)},placeholder:searchPlaceholder??t("search_placeholder")}),_jsx(CommandList,{children:(()=>{if(isLoading){return _jsxs("div",{className:"space-y-2 p-2",children:[_jsx(Skeleton,{className:"h-6 rounded-sm"}),_jsx(Skeleton,{className:"h-6 rounded-sm"})]})}if((data??[]).length===0){return _jsx(CommandEmpty,{children:t("results_not_found")})}return _jsx(CommandGroup,{children:(data??[]).map(({label,value})=>_jsxs(CommandItem,{onSelect:()=>{field.onChange({label,value})},value:label,children:[label,_jsx(Check,{className:cn("ml-auto",value===field.value?.value?"opacity-100":"opacity-0")})]},value))})})()})]})})]}),description&&_jsx(AutoFormDesc,{children:description}),_jsx(FormMessage,{})]})};
@@ -1,22 +0,0 @@
1
- import type { Metadata } from "next/dist/types";
2
-
3
- import { getTranslations } from "next-intl/server";
4
-
5
- import { SignInView } from "../../views/auth/sign-in/sign-in-view";
6
-
7
- export const generateMetadata = async ({
8
- params,
9
- }: {
10
- params: Promise<{ locale: string }>;
11
- }): Promise<Metadata> => {
12
- const { locale } = await params;
13
- const t = await getTranslations({ locale, namespace: "core.global" });
14
-
15
- return {
16
- title: t("login"),
17
- };
18
- };
19
-
20
- export default function Page() {
21
- return <SignInView />;
22
- }
@@ -1,27 +0,0 @@
1
- import type { Metadata } from "next/dist/types";
2
-
3
- import { getTranslations } from "next-intl/server";
4
-
5
- import { PasswordResetView } from "@/views/auth/password-reset/password-reset-view";
6
-
7
- export const generateMetadata = async ({
8
- params,
9
- }: {
10
- params: Promise<{ locale: string }>;
11
- }): Promise<Metadata> => {
12
- const { locale } = await params;
13
- const t = await getTranslations({
14
- locale,
15
- namespace: "core.auth.reset_password",
16
- });
17
-
18
- return {
19
- title: t("title"),
20
- };
21
- };
22
-
23
- export default function Page(
24
- props: React.ComponentProps<typeof PasswordResetView>,
25
- ) {
26
- return <PasswordResetView {...props} />;
27
- }
@@ -1,19 +0,0 @@
1
- import { CallbackSSOView } from "@/views/auth/sso/callback/callback-sso-view";
2
-
3
- export default async function Page({
4
- params,
5
- searchParams,
6
- }: {
7
- params: Promise<{ providerId: string }>;
8
- searchParams: Promise<Record<string, string>>;
9
- }) {
10
- const { providerId } = await params;
11
- const currentSearchParams = await searchParams;
12
-
13
- return (
14
- <CallbackSSOView
15
- providerId={providerId}
16
- searchParams={currentSearchParams}
17
- />
18
- );
19
- }
@@ -1,22 +0,0 @@
1
- import type { Metadata } from "next/dist/types";
2
-
3
- import { getTranslations } from "next-intl/server";
4
-
5
- import { SignUpView } from "../../views/auth/sign-up/sign-up-view";
6
-
7
- export const generateMetadata = async ({
8
- params,
9
- }: {
10
- params: Promise<{ locale: string }>;
11
- }): Promise<Metadata> => {
12
- const { locale } = await params;
13
- const t = await getTranslations({ locale, namespace: "core.global" });
14
-
15
- return {
16
- title: t("register"),
17
- };
18
- };
19
-
20
- export default function Page() {
21
- return <SignUpView />;
22
- }
@@ -1,42 +0,0 @@
1
- import { getTranslations } from "next-intl/server";
2
- import dynamic from "next/dynamic";
3
- import React from "react";
4
-
5
- import { I18nProvider } from "@/components/i18n-provider";
6
- import { DataTableSkeleton } from "@/components/table/data-table";
7
- import { HeaderContent } from "@/components/ui/header-content";
8
-
9
- const CronTableView = dynamic(async () =>
10
- import("@/views/admin/views/core/advanced/cron/cron-table-view").then(
11
- module => ({
12
- default: module.CronTableView,
13
- }),
14
- ),
15
- );
16
-
17
- export const generateMetadata = async () => {
18
- const t = await getTranslations("admin.advanced.cron");
19
-
20
- return {
21
- title: t("title"),
22
- description: t("desc"),
23
- };
24
- };
25
-
26
- export default async function Page(
27
- props: React.ComponentProps<typeof CronTableView>,
28
- ) {
29
- const t = await getTranslations("admin.advanced.cron");
30
-
31
- return (
32
- <I18nProvider namespaces={["admin.advanced.cron"]}>
33
- <div className="p-4">
34
- <HeaderContent desc={t("desc")} h1={t("title")} />
35
-
36
- <React.Suspense fallback={<DataTableSkeleton columns={6} />}>
37
- <CronTableView {...props} />
38
- </React.Suspense>
39
- </div>
40
- </I18nProvider>
41
- );
42
- }
@@ -1,46 +0,0 @@
1
- import { getTranslations } from "next-intl/server";
2
- import dynamic from "next/dynamic";
3
- import React from "react";
4
-
5
- import { I18nProvider } from "@/components/i18n-provider";
6
- import { DataTableSkeleton } from "@/components/table/data-table";
7
- import { HeaderContent } from "@/components/ui/header-content";
8
- import { ClearCacheAction } from "@/views/admin/views/core/debug/actions/clear-cache/clear-cache";
9
-
10
- const SystemLogsView = dynamic(async () =>
11
- import("@/views/admin/views/core/debug/system-logs/system-logs-view").then(
12
- module => ({
13
- default: module.SystemLogsView,
14
- }),
15
- ),
16
- );
17
-
18
- export const generateMetadata = async () => {
19
- const t = await getTranslations("admin.debug");
20
-
21
- return {
22
- title: t("title"),
23
- description: t("desc"),
24
- };
25
- };
26
-
27
- export default async function Page(
28
- props: React.ComponentProps<typeof SystemLogsView>,
29
- ) {
30
- const t = await getTranslations("admin.debug");
31
-
32
- return (
33
- <I18nProvider namespaces="admin.debug">
34
- <div className="p-4">
35
- <HeaderContent desc={t("desc")} h1={t("title")}>
36
- <ClearCacheAction />
37
- </HeaderContent>
38
-
39
- <HeaderContent h2={t("logs.title")} />
40
- <React.Suspense fallback={<DataTableSkeleton columns={4} />}>
41
- <SystemLogsView {...props} />
42
- </React.Suspense>
43
- </div>
44
- </I18nProvider>
45
- );
46
- }
@@ -1,5 +0,0 @@
1
- import { DashboardAdminView } from "../../views/admin/views/core/dashboard/dashboard-admin-view";
2
-
3
- export default function Page() {
4
- return <DashboardAdminView />;
5
- }
@@ -1,5 +0,0 @@
1
- import { TestView } from "../../../views/admin/views/core/test";
2
-
3
- export default function Page() {
4
- return <TestView />;
5
- }
@@ -1,41 +0,0 @@
1
- import type { Metadata } from "next/dist/types";
2
-
3
- import { getTranslations } from "next-intl/server";
4
- import dynamic from "next/dynamic";
5
- import React from "react";
6
-
7
- import { DataTableSkeleton } from "@/components/table/data-table";
8
- import { HeaderContent } from "@/components/ui/header-content";
9
-
10
- const UsersAdminView = dynamic(async () =>
11
- import("@/views/admin/views/core/users/users-admin-view").then(module => ({
12
- default: module.UsersAdminView,
13
- })),
14
- );
15
-
16
- export const generateMetadata = async (): Promise<Metadata> => {
17
- const t = await getTranslations("admin.global.nav.users");
18
-
19
- return {
20
- title: t("list"),
21
- };
22
- };
23
-
24
- export default async function Page(
25
- props: React.ComponentProps<typeof UsersAdminView>,
26
- ) {
27
- const [t, tNav] = await Promise.all([
28
- getTranslations("admin.user.list"),
29
- getTranslations("admin.global.nav.users"),
30
- ]);
31
-
32
- return (
33
- <div className="p-4">
34
- <HeaderContent desc={t("desc")} h1={tNav("list")} />
35
-
36
- <React.Suspense fallback={<DataTableSkeleton columns={2} />}>
37
- <UsersAdminView {...props} />
38
- </React.Suspense>
39
- </div>
40
- );
41
- }