@vitnode/core 1.2.0-canary.71 → 1.2.0-canary.74
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.
- package/dist/scripts/plugin.d.ts.map +1 -1
- package/dist/scripts/plugin.js +22 -4
- package/dist/scripts/prepare-plugins-files.d.ts.map +1 -1
- package/dist/scripts/prepare-plugins-files.js +22 -4
- package/dist/src/api/lib/module.d.ts +4 -1
- package/dist/src/api/lib/module.d.ts.map +1 -1
- package/dist/src/api/lib/module.js +1 -1
- package/dist/src/api/lib/plugin.d.ts +2 -0
- package/dist/src/api/lib/plugin.d.ts.map +1 -1
- package/dist/src/api/lib/plugin.js +1 -1
- package/dist/src/api/lib/websocket.d.ts +26 -0
- package/dist/src/api/lib/websocket.d.ts.map +1 -0
- package/dist/src/api/lib/websocket.js +1 -0
- package/dist/src/api/lib/with-pagination.d.ts +3 -1
- package/dist/src/api/lib/with-pagination.d.ts.map +1 -1
- package/dist/src/api/lib/with-pagination.js +1 -1
- package/dist/src/api/middlewares/global.middleware.d.ts +4 -0
- package/dist/src/api/middlewares/global.middleware.d.ts.map +1 -1
- package/dist/src/api/middlewares/global.middleware.js +1 -1
- package/dist/src/api/middlewares/rate-limiter.middleware.d.ts.map +1 -1
- package/dist/src/api/middlewares/rate-limiter.middleware.js +1 -1
- package/dist/src/api/models/user/get-user-by-name-code.d.ts +18 -0
- package/dist/src/api/models/user/get-user-by-name-code.d.ts.map +1 -0
- package/dist/src/api/models/user/get-user-by-name-code.js +1 -0
- package/dist/src/api/models/user.d.ts +16 -0
- package/dist/src/api/models/user.d.ts.map +1 -1
- package/dist/src/api/models/user.js +1 -1
- package/dist/src/api/modules/admin/admin.module.d.ts +272 -0
- package/dist/src/api/modules/admin/admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/admin.module.js +1 -1
- package/dist/src/api/modules/admin/roles/roles.admin.module.d.ts +109 -0
- package/dist/src/api/modules/admin/roles/roles.admin.module.d.ts.map +1 -0
- package/dist/src/api/modules/admin/roles/roles.admin.module.js +1 -0
- package/dist/src/api/modules/admin/roles/routes/list.route.d.ts +63 -0
- package/dist/src/api/modules/admin/roles/routes/list.route.d.ts.map +1 -0
- package/dist/src/api/modules/admin/roles/routes/list.route.js +1 -0
- package/dist/src/api/modules/admin/roles/routes/show.route.d.ts +50 -0
- package/dist/src/api/modules/admin/roles/routes/show.route.d.ts.map +1 -0
- package/dist/src/api/modules/admin/roles/routes/show.route.js +1 -0
- package/dist/src/api/modules/admin/routes/notifications.route.d.ts +54 -0
- package/dist/src/api/modules/admin/routes/notifications.route.d.ts.map +1 -0
- package/dist/src/api/modules/admin/routes/notifications.route.js +1 -0
- package/dist/src/api/modules/admin/users/routes/create.route.d.ts +48 -0
- package/dist/src/api/modules/admin/users/routes/create.route.d.ts.map +1 -0
- package/dist/src/api/modules/admin/users/routes/create.route.js +1 -0
- package/dist/src/api/modules/admin/users/routes/list.route.d.ts +2 -0
- package/dist/src/api/modules/admin/users/routes/list.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/users/routes/list.route.js +1 -1
- package/dist/src/api/modules/admin/users/routes/show.route.d.ts +49 -0
- package/dist/src/api/modules/admin/users/routes/show.route.d.ts.map +1 -0
- package/dist/src/api/modules/admin/users/routes/show.route.js +1 -0
- package/dist/src/api/modules/admin/users/routes/verify-email.route.d.ts +40 -0
- package/dist/src/api/modules/admin/users/routes/verify-email.route.d.ts.map +1 -0
- package/dist/src/api/modules/admin/users/routes/verify-email.route.js +1 -0
- package/dist/src/api/modules/admin/users/users.admin.module.d.ts +125 -0
- package/dist/src/api/modules/admin/users/users.admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/users/users.admin.module.js +1 -1
- package/dist/src/components/avatar.d.ts +1 -1
- package/dist/src/components/avatar.d.ts.map +1 -1
- package/dist/src/components/confirm-action/confirm-action-alert-dialog.d.ts +1 -1
- package/dist/src/components/confirm-action/confirm-action-alert-dialog.d.ts.map +1 -1
- package/dist/src/components/confirm-action/content.d.ts +2 -1
- package/dist/src/components/confirm-action/content.d.ts.map +1 -1
- package/dist/src/components/date-format.d.ts +1 -1
- package/dist/src/components/date-format.d.ts.map +1 -1
- package/dist/src/components/date-format.js +1 -1
- package/dist/src/components/form/auto-form.d.ts +6 -1
- package/dist/src/components/form/auto-form.d.ts.map +1 -1
- package/dist/src/components/form/auto-form.js +1 -1
- package/dist/src/components/form/common/desc.d.ts +1 -1
- package/dist/src/components/form/common/desc.d.ts.map +1 -1
- package/dist/src/components/form/common/label.d.ts +4 -3
- package/dist/src/components/form/common/label.d.ts.map +1 -1
- package/dist/src/components/form/common/label.js +1 -1
- package/dist/src/components/form/fields/array.d.ts +19 -0
- package/dist/src/components/form/fields/array.d.ts.map +1 -0
- package/dist/src/components/form/fields/array.js +1 -0
- package/dist/src/components/form/fields/checkbox.d.ts +1 -1
- package/dist/src/components/form/fields/checkbox.d.ts.map +1 -1
- package/dist/src/components/form/fields/checkbox.js +1 -1
- package/dist/src/components/form/fields/combobox.d.ts +22 -4
- package/dist/src/components/form/fields/combobox.d.ts.map +1 -1
- package/dist/src/components/form/fields/combobox.js +1 -1
- package/dist/src/components/form/fields/combobox.test.d.ts +2 -0
- package/dist/src/components/form/fields/combobox.test.d.ts.map +1 -0
- package/dist/src/components/form/fields/combobox.test.js +1 -0
- package/dist/src/components/form/fields/input.d.ts +1 -1
- package/dist/src/components/form/fields/input.d.ts.map +1 -1
- package/dist/src/components/form/fields/input.js +1 -1
- package/dist/src/components/form/fields/radio-group.d.ts +11 -6
- package/dist/src/components/form/fields/radio-group.d.ts.map +1 -1
- package/dist/src/components/form/fields/radio-group.js +1 -1
- package/dist/src/components/form/fields/select.d.ts +2 -2
- package/dist/src/components/form/fields/select.d.ts.map +1 -1
- package/dist/src/components/form/fields/select.js +1 -1
- package/dist/src/components/form/fields/switch.d.ts +1 -1
- package/dist/src/components/form/fields/switch.d.ts.map +1 -1
- package/dist/src/components/form/fields/switch.js +1 -1
- package/dist/src/components/form/fields/textarea.d.ts +2 -2
- package/dist/src/components/form/fields/textarea.d.ts.map +1 -1
- package/dist/src/components/form/fields/textarea.js +1 -1
- package/dist/src/components/i18n-provider.d.ts +1 -1
- package/dist/src/components/i18n-provider.d.ts.map +1 -1
- package/dist/src/components/logo-vitnode.d.ts +1 -1
- package/dist/src/components/logo-vitnode.d.ts.map +1 -1
- package/dist/src/components/role-format.d.ts +11 -0
- package/dist/src/components/role-format.d.ts.map +1 -0
- package/dist/src/components/role-format.js +1 -0
- package/dist/src/components/switchers/langs/language-switcher.d.ts +2 -1
- package/dist/src/components/switchers/langs/language-switcher.d.ts.map +1 -1
- package/dist/src/components/switchers/themes/theme-switcher.d.ts +1 -1
- package/dist/src/components/switchers/themes/theme-switcher.d.ts.map +1 -1
- package/dist/src/components/table/content.d.ts +1 -1
- package/dist/src/components/table/content.d.ts.map +1 -1
- package/dist/src/components/table/content.js +1 -1
- package/dist/src/components/table/data-table.d.ts +14 -4
- package/dist/src/components/table/data-table.d.ts.map +1 -1
- package/dist/src/components/table/filters.d.ts +16 -0
- package/dist/src/components/table/filters.d.ts.map +1 -0
- package/dist/src/components/table/filters.js +1 -0
- package/dist/src/components/table/order-table-head.d.ts +1 -1
- package/dist/src/components/table/order-table-head.d.ts.map +1 -1
- package/dist/src/components/table/order-table-head.js +1 -1
- package/dist/src/components/table/pagination.d.ts +2 -1
- package/dist/src/components/table/pagination.d.ts.map +1 -1
- package/dist/src/components/table/search.d.ts +5 -0
- package/dist/src/components/table/search.d.ts.map +1 -0
- package/dist/src/components/table/search.js +1 -0
- package/dist/src/components/tiptap/toolbar/actions/alignment-action.d.ts +1 -1
- package/dist/src/components/tiptap/toolbar/actions/alignment-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/alignment-action.js +1 -1
- package/dist/src/components/tiptap/toolbar/actions/bold-action.d.ts +1 -1
- package/dist/src/components/tiptap/toolbar/actions/bold-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/bold-action.js +1 -1
- package/dist/src/components/tiptap/toolbar/actions/headings-action.d.ts +1 -1
- package/dist/src/components/tiptap/toolbar/actions/headings-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/headings-action.js +1 -1
- package/dist/src/components/tiptap/toolbar/actions/italic-action.d.ts +1 -1
- package/dist/src/components/tiptap/toolbar/actions/italic-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/italic-action.js +1 -1
- package/dist/src/components/tiptap/toolbar/actions/list-action.d.ts +1 -1
- package/dist/src/components/tiptap/toolbar/actions/list-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/list-action.js +1 -1
- package/dist/src/components/tiptap/toolbar/actions/text-format-more/text-format-more.d.ts +1 -1
- package/dist/src/components/tiptap/toolbar/actions/text-format-more/text-format-more.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/text-format-more/text-format-more.js +1 -1
- package/dist/src/components/tiptap/toolbar/actions/underline-action.d.ts +1 -1
- package/dist/src/components/tiptap/toolbar/actions/underline-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/underline-action.js +1 -1
- package/dist/src/components/tiptap/toolbar/actions/undo-redo-actions.d.ts +1 -1
- package/dist/src/components/tiptap/toolbar/actions/undo-redo-actions.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/undo-redo-actions.js +1 -1
- package/dist/src/components/tiptap/toolbar/actions/utils/tooltip-shortcut.d.ts +1 -1
- package/dist/src/components/tiptap/toolbar/actions/utils/tooltip-shortcut.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/tiptap-toolbar.d.ts +1 -1
- package/dist/src/components/tiptap/toolbar/tiptap-toolbar.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/tiptap-toolbar.js +1 -1
- package/dist/src/components/ui/accordion.d.ts +5 -5
- package/dist/src/components/ui/accordion.d.ts.map +1 -1
- package/dist/src/components/ui/accordion.js +1 -1
- package/dist/src/components/ui/alert-dialog.d.ts +15 -13
- package/dist/src/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/src/components/ui/alert-dialog.js +1 -1
- package/dist/src/components/ui/alert.d.ts +6 -5
- package/dist/src/components/ui/alert.d.ts.map +1 -1
- package/dist/src/components/ui/alert.js +1 -1
- package/dist/src/components/ui/aspect-ratio.d.ts +4 -0
- package/dist/src/components/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/src/components/ui/aspect-ratio.js +1 -0
- package/dist/src/components/ui/avatar.d.ts +12 -0
- package/dist/src/components/ui/avatar.d.ts.map +1 -0
- package/dist/src/components/ui/avatar.js +1 -0
- package/dist/src/components/ui/badge.d.ts +3 -3
- package/dist/src/components/ui/badge.d.ts.map +1 -1
- package/dist/src/components/ui/badge.js +1 -1
- package/dist/src/components/ui/breadcrumb.d.ts +12 -0
- package/dist/src/components/ui/breadcrumb.d.ts.map +1 -0
- package/dist/src/components/ui/breadcrumb.js +1 -0
- package/dist/src/components/ui/button-client.d.ts +1 -1
- package/dist/src/components/ui/button-client.d.ts.map +1 -1
- package/dist/src/components/ui/button-group.d.ts +12 -0
- package/dist/src/components/ui/button-group.d.ts.map +1 -0
- package/dist/src/components/ui/button-group.js +1 -0
- package/dist/src/components/ui/button.d.ts +9 -9
- package/dist/src/components/ui/button.d.ts.map +1 -1
- package/dist/src/components/ui/button.js +1 -1
- package/dist/src/components/ui/card.d.ts +10 -8
- package/dist/src/components/ui/card.d.ts.map +1 -1
- package/dist/src/components/ui/card.js +1 -1
- package/dist/src/components/ui/carousel.d.ts +29 -0
- package/dist/src/components/ui/carousel.d.ts.map +1 -0
- package/dist/src/components/ui/carousel.js +1 -0
- package/dist/src/components/ui/chart.d.ts +45 -0
- package/dist/src/components/ui/chart.d.ts.map +1 -0
- package/dist/src/components/ui/chart.js +5 -0
- package/dist/src/components/ui/checkbox.d.ts +2 -2
- package/dist/src/components/ui/checkbox.d.ts.map +1 -1
- package/dist/src/components/ui/checkbox.js +1 -1
- package/dist/src/components/ui/collapsible.d.ts +3 -3
- package/dist/src/components/ui/collapsible.d.ts.map +1 -1
- package/dist/src/components/ui/combobox.d.ts +25 -0
- package/dist/src/components/ui/combobox.d.ts.map +1 -0
- package/dist/src/components/ui/combobox.js +1 -0
- package/dist/src/components/ui/command.d.ts +10 -10
- package/dist/src/components/ui/command.d.ts.map +1 -1
- package/dist/src/components/ui/command.js +1 -1
- package/dist/src/components/ui/context-menu.d.ts +24 -18
- package/dist/src/components/ui/context-menu.d.ts.map +1 -1
- package/dist/src/components/ui/context-menu.js +1 -1
- package/dist/src/components/ui/dialog.d.ts +12 -10
- package/dist/src/components/ui/dialog.d.ts.map +1 -1
- package/dist/src/components/ui/dialog.js +1 -1
- package/dist/src/components/ui/direction.d.ts +8 -0
- package/dist/src/components/ui/direction.d.ts.map +1 -0
- package/dist/src/components/ui/direction.js +1 -0
- package/dist/src/components/ui/drawer.d.ts +11 -11
- package/dist/src/components/ui/drawer.d.ts.map +1 -1
- package/dist/src/components/ui/drawer.js +1 -1
- package/dist/src/components/ui/dropdown-menu.d.ts +20 -16
- package/dist/src/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/src/components/ui/dropdown-menu.js +1 -1
- package/dist/src/components/ui/editor-content.d.ts +1 -1
- package/dist/src/components/ui/editor-content.d.ts.map +1 -1
- package/dist/src/components/ui/editor.d.ts +1 -1
- package/dist/src/components/ui/editor.d.ts.map +1 -1
- package/dist/src/components/ui/editor.js +1 -1
- package/dist/src/components/ui/empty.d.ts +12 -0
- package/dist/src/components/ui/empty.d.ts.map +1 -0
- package/dist/src/components/ui/empty.js +1 -0
- package/dist/src/components/ui/field.d.ts +25 -0
- package/dist/src/components/ui/field.d.ts.map +1 -0
- package/dist/src/components/ui/field.js +1 -0
- package/dist/src/components/ui/form.d.ts +7 -14
- package/dist/src/components/ui/form.d.ts.map +1 -1
- package/dist/src/components/ui/form.js +1 -1
- package/dist/src/components/ui/header-content.d.ts +1 -1
- package/dist/src/components/ui/header-content.d.ts.map +1 -1
- package/dist/src/components/ui/hover-card.d.ts +4 -4
- package/dist/src/components/ui/hover-card.d.ts.map +1 -1
- package/dist/src/components/ui/hover-card.js +1 -1
- package/dist/src/components/ui/input-group.d.ts +17 -0
- package/dist/src/components/ui/input-group.d.ts.map +1 -0
- package/dist/src/components/ui/input-group.js +1 -0
- package/dist/src/components/ui/input-otp.d.ts +5 -5
- package/dist/src/components/ui/input-otp.d.ts.map +1 -1
- package/dist/src/components/ui/input-otp.js +1 -1
- package/dist/src/components/ui/input.d.ts +2 -2
- package/dist/src/components/ui/input.d.ts.map +1 -1
- package/dist/src/components/ui/input.js +1 -1
- package/dist/src/components/ui/item.d.ts +24 -0
- package/dist/src/components/ui/item.d.ts.map +1 -0
- package/dist/src/components/ui/item.js +1 -0
- package/dist/src/components/ui/kbd.d.ts +4 -0
- package/dist/src/components/ui/kbd.d.ts.map +1 -0
- package/dist/src/components/ui/kbd.js +1 -0
- package/dist/src/components/ui/label.d.ts +2 -2
- package/dist/src/components/ui/label.d.ts.map +1 -1
- package/dist/src/components/ui/label.js +1 -1
- package/dist/src/components/ui/loader.d.ts +1 -1
- package/dist/src/components/ui/loader.d.ts.map +1 -1
- package/dist/src/components/ui/menubar.d.ts +21 -17
- package/dist/src/components/ui/menubar.d.ts.map +1 -1
- package/dist/src/components/ui/menubar.js +1 -1
- package/dist/src/components/ui/native-select.d.ts +9 -0
- package/dist/src/components/ui/native-select.d.ts.map +1 -0
- package/dist/src/components/ui/native-select.js +1 -0
- package/dist/src/components/ui/navigation-menu.d.ts +9 -9
- package/dist/src/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/src/components/ui/navigation-menu.js +1 -1
- package/dist/src/components/ui/pagination.d.ts +18 -0
- package/dist/src/components/ui/pagination.d.ts.map +1 -0
- package/dist/src/components/ui/pagination.js +1 -0
- package/dist/src/components/ui/popover.d.ts +9 -6
- package/dist/src/components/ui/popover.d.ts.map +1 -1
- package/dist/src/components/ui/popover.js +1 -1
- package/dist/src/components/ui/progress.d.ts +2 -2
- package/dist/src/components/ui/progress.d.ts.map +1 -1
- package/dist/src/components/ui/progress.js +1 -1
- package/dist/src/components/ui/radio-group.d.ts +3 -3
- package/dist/src/components/ui/radio-group.d.ts.map +1 -1
- package/dist/src/components/ui/radio-group.js +1 -1
- package/dist/src/components/ui/resizable.d.ts +8 -0
- package/dist/src/components/ui/resizable.d.ts.map +1 -0
- package/dist/src/components/ui/resizable.js +1 -0
- package/dist/src/components/ui/scroll-area.d.ts +3 -3
- package/dist/src/components/ui/scroll-area.d.ts.map +1 -1
- package/dist/src/components/ui/scroll-area.js +1 -1
- package/dist/src/components/ui/select.d.ts +11 -11
- package/dist/src/components/ui/select.d.ts.map +1 -1
- package/dist/src/components/ui/select.js +1 -1
- package/dist/src/components/ui/separator.d.ts +2 -2
- package/dist/src/components/ui/separator.d.ts.map +1 -1
- package/dist/src/components/ui/separator.js +1 -1
- package/dist/src/components/ui/sheet.d.ts +11 -10
- package/dist/src/components/ui/sheet.d.ts.map +1 -1
- package/dist/src/components/ui/sheet.js +1 -1
- package/dist/src/components/ui/sidebar.d.ts +25 -25
- package/dist/src/components/ui/sidebar.d.ts.map +1 -1
- package/dist/src/components/ui/sidebar.js +1 -1
- package/dist/src/components/ui/skeleton.d.ts +1 -1
- package/dist/src/components/ui/skeleton.d.ts.map +1 -1
- package/dist/src/components/ui/skeleton.js +1 -1
- package/dist/src/components/ui/slider.d.ts +2 -2
- package/dist/src/components/ui/slider.d.ts.map +1 -1
- package/dist/src/components/ui/slider.js +1 -1
- package/dist/src/components/ui/sonner.d.ts +2 -2
- package/dist/src/components/ui/sonner.d.ts.map +1 -1
- package/dist/src/components/ui/sonner.js +1 -1
- package/dist/src/components/ui/spinner.d.ts +3 -0
- package/dist/src/components/ui/spinner.d.ts.map +1 -0
- package/dist/src/components/ui/spinner.js +1 -0
- package/dist/src/components/ui/switch.d.ts +4 -2
- package/dist/src/components/ui/switch.d.ts.map +1 -1
- package/dist/src/components/ui/switch.js +1 -1
- package/dist/src/components/ui/table.d.ts +9 -9
- package/dist/src/components/ui/table.d.ts.map +1 -1
- package/dist/src/components/ui/table.js +1 -1
- package/dist/src/components/ui/tabs.d.ts +10 -6
- package/dist/src/components/ui/tabs.d.ts.map +1 -1
- package/dist/src/components/ui/tabs.js +1 -1
- package/dist/src/components/ui/textarea.d.ts +2 -2
- package/dist/src/components/ui/textarea.d.ts.map +1 -1
- package/dist/src/components/ui/textarea.js +1 -1
- package/dist/src/components/ui/toggle-group.d.ts +9 -5
- package/dist/src/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/src/components/ui/toggle-group.js +1 -1
- package/dist/src/components/ui/toggle.d.ts +2 -3
- package/dist/src/components/ui/toggle.d.ts.map +1 -1
- package/dist/src/components/ui/toggle.js +1 -1
- package/dist/src/components/ui/tooltip.d.ts +9 -8
- package/dist/src/components/ui/tooltip.d.ts.map +1 -1
- package/dist/src/components/ui/tooltip.js +1 -1
- package/dist/src/components/user-format.d.ts +14 -0
- package/dist/src/components/user-format.d.ts.map +1 -0
- package/dist/src/components/user-format.js +1 -0
- package/dist/src/emails/default-template.d.ts +1 -1
- package/dist/src/emails/default-template.d.ts.map +1 -1
- package/dist/src/emails/default-template.js +1 -1
- package/dist/src/emails/reset-password.d.ts +1 -1
- package/dist/src/emails/reset-password.d.ts.map +1 -1
- package/dist/src/emails/ui/button.d.ts +2 -2
- package/dist/src/emails/ui/button.d.ts.map +1 -1
- package/dist/src/emails/ui/card.d.ts +6 -6
- package/dist/src/emails/ui/card.d.ts.map +1 -1
- package/dist/src/hooks/use-captcha.d.ts.map +1 -1
- package/dist/src/hooks/use-captcha.js +1 -1
- package/dist/src/hooks/use-mobile.js +1 -1
- package/dist/src/lib/colors.d.ts.map +1 -1
- package/dist/src/lib/fetcher/core.d.ts.map +1 -1
- package/dist/src/lib/fetcher/core.js +1 -1
- package/dist/src/lib/fetcher/types.d.ts.map +1 -1
- package/dist/src/lib/helpers/auto-form.d.ts +2 -0
- package/dist/src/lib/helpers/auto-form.d.ts.map +1 -1
- package/dist/src/lib/helpers/auto-form.js +1 -1
- package/dist/src/lib/helpers/auto-form.test.js +1 -1
- package/dist/src/lib/navigation.d.ts +26 -25
- package/dist/src/lib/navigation.d.ts.map +1 -1
- package/dist/src/lib/plugin.d.ts.map +1 -1
- package/dist/src/locales/en.json +66 -2
- package/dist/src/{app_admin → routes/admin}/core/advanced/cron/page.d.ts +2 -2
- package/dist/src/routes/admin/core/advanced/cron/page.d.ts.map +1 -0
- package/dist/src/routes/admin/core/advanced/cron/page.js +1 -0
- package/dist/src/{app_admin → routes/admin}/core/debug/page.d.ts +1 -1
- package/dist/src/routes/admin/core/debug/page.d.ts.map +1 -0
- package/dist/src/routes/admin/core/debug/page.js +1 -0
- package/dist/src/routes/admin/core/page.d.ts +2 -0
- package/dist/src/routes/admin/core/page.d.ts.map +1 -0
- package/dist/src/routes/admin/core/page.js +1 -0
- package/dist/src/routes/admin/core/test/page.d.ts +2 -0
- package/dist/src/routes/admin/core/test/page.d.ts.map +1 -0
- package/dist/src/routes/admin/core/test/page.js +1 -0
- package/dist/src/routes/admin/core/users/[nameCode]/page.d.ts +13 -0
- package/dist/src/routes/admin/core/users/[nameCode]/page.d.ts.map +1 -0
- package/dist/src/routes/admin/core/users/[nameCode]/page.js +1 -0
- package/dist/src/{app_admin → routes/admin}/core/users/page.d.ts +1 -1
- package/dist/src/routes/admin/core/users/page.d.ts.map +1 -0
- package/dist/src/routes/admin/core/users/page.js +1 -0
- package/dist/src/routes/admin/core/users/roles/page.d.ts +9 -0
- package/dist/src/routes/admin/core/users/roles/page.d.ts.map +1 -0
- package/dist/src/routes/admin/core/users/roles/page.js +1 -0
- package/dist/src/routes/blank/test/page.d.ts +2 -0
- package/dist/src/routes/blank/test/page.d.ts.map +1 -0
- package/dist/src/routes/blank/test/page.js +1 -0
- package/dist/src/routes/breadcrumb/admin/[...all]/page.d.ts +6 -0
- package/dist/src/routes/breadcrumb/admin/[...all]/page.d.ts.map +1 -0
- package/dist/src/routes/breadcrumb/admin/[...all]/page.js +1 -0
- package/dist/src/routes/breadcrumb/admin/core/users/[nameCode]/page.d.ts +6 -0
- package/dist/src/routes/breadcrumb/admin/core/users/[nameCode]/page.d.ts.map +1 -0
- package/dist/src/routes/breadcrumb/admin/core/users/[nameCode]/page.js +1 -0
- package/dist/src/routes/breadcrumb/admin/default.d.ts +2 -0
- package/dist/src/routes/breadcrumb/admin/default.d.ts.map +1 -0
- package/dist/src/routes/breadcrumb/admin/default.js +1 -0
- package/dist/src/routes/breadcrumb/main/[...rest]/page.d.ts +6 -0
- package/dist/src/routes/breadcrumb/main/[...rest]/page.d.ts.map +1 -0
- package/dist/src/routes/breadcrumb/main/[...rest]/page.js +1 -0
- package/dist/src/routes/breadcrumb/main/default.d.ts +2 -0
- package/dist/src/routes/breadcrumb/main/default.d.ts.map +1 -0
- package/dist/src/routes/breadcrumb/main/default.js +1 -0
- package/dist/src/routes/breadcrumb/main/login/page.d.ts +2 -0
- package/dist/src/routes/breadcrumb/main/login/page.d.ts.map +1 -0
- package/dist/src/routes/breadcrumb/main/login/page.js +1 -0
- package/dist/src/routes/breadcrumb/main/login/reset-password/page.d.ts +2 -0
- package/dist/src/routes/breadcrumb/main/login/reset-password/page.d.ts.map +1 -0
- package/dist/src/routes/breadcrumb/main/login/reset-password/page.js +1 -0
- package/dist/src/routes/breadcrumb/main/page.d.ts +2 -0
- package/dist/src/routes/breadcrumb/main/page.d.ts.map +1 -0
- package/dist/src/routes/breadcrumb/main/page.js +1 -0
- package/dist/src/routes/breadcrumb/main/register/page.d.ts +2 -0
- package/dist/src/routes/breadcrumb/main/register/page.d.ts.map +1 -0
- package/dist/src/routes/breadcrumb/main/register/page.js +1 -0
- package/dist/src/{app → routes/main}/login/page.d.ts +1 -1
- package/dist/src/routes/main/login/page.d.ts.map +1 -0
- package/dist/src/routes/main/login/page.js +1 -0
- package/dist/src/{app → routes/main}/login/reset-password/page.d.ts +2 -2
- package/dist/src/routes/main/login/reset-password/page.d.ts.map +1 -0
- package/dist/src/routes/main/login/reset-password/page.js +1 -0
- package/dist/src/{app → routes/main}/login/sso/[providerId]/page.d.ts +1 -1
- package/dist/src/routes/main/login/sso/[providerId]/page.d.ts.map +1 -0
- package/dist/src/routes/main/login/sso/[providerId]/page.js +1 -0
- package/dist/src/{app → routes/main}/register/page.d.ts +1 -1
- package/dist/src/routes/main/register/page.d.ts.map +1 -0
- package/dist/src/routes/main/register/page.js +1 -0
- package/dist/src/views/admin/layouts/admin-layout.d.ts +3 -2
- package/dist/src/views/admin/layouts/admin-layout.d.ts.map +1 -1
- package/dist/src/views/admin/layouts/admin-layout.js +1 -1
- package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-admin.d.ts +11 -0
- package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-admin.d.ts.map +1 -0
- package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-admin.js +1 -0
- package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-user-admin.d.ts +6 -0
- package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-user-admin.d.ts.map +1 -0
- package/dist/src/views/admin/layouts/breadcrumb/breadcrumb-user-admin.js +1 -0
- package/dist/src/views/admin/layouts/breadcrumb/resolve-breadcrumb.d.ts +5 -0
- package/dist/src/views/admin/layouts/breadcrumb/resolve-breadcrumb.d.ts.map +1 -0
- package/dist/src/views/admin/layouts/breadcrumb/resolve-breadcrumb.js +1 -0
- package/dist/src/views/admin/layouts/sidebar/nav/get-admin-nav.d.ts +11 -0
- package/dist/src/views/admin/layouts/sidebar/nav/get-admin-nav.d.ts.map +1 -0
- package/dist/src/views/admin/layouts/sidebar/nav/get-admin-nav.js +1 -0
- package/dist/src/views/admin/layouts/sidebar/nav/item.d.ts +1 -1
- package/dist/src/views/admin/layouts/sidebar/nav/item.d.ts.map +1 -1
- package/dist/src/views/admin/layouts/sidebar/nav/nav.d.ts +5 -9
- package/dist/src/views/admin/layouts/sidebar/nav/nav.d.ts.map +1 -1
- package/dist/src/views/admin/layouts/sidebar/nav/nav.js +1 -1
- package/dist/src/views/admin/layouts/sidebar/sidebar.d.ts +1 -1
- package/dist/src/views/admin/layouts/sidebar/sidebar.d.ts.map +1 -1
- package/dist/src/views/admin/layouts/sidebar/sidebar.js +1 -1
- package/dist/src/views/admin/layouts/sidebar/sign-out.d.ts +1 -1
- package/dist/src/views/admin/layouts/sidebar/sign-out.d.ts.map +1 -1
- package/dist/src/views/admin/layouts/user-bar/client.d.ts +1 -1
- package/dist/src/views/admin/layouts/user-bar/client.d.ts.map +1 -1
- package/dist/src/views/admin/layouts/user-bar/user-bar.d.ts +1 -1
- package/dist/src/views/admin/layouts/user-bar/user-bar.d.ts.map +1 -1
- package/dist/src/views/admin/sign-in/sign-in-admin-view.d.ts +1 -1
- package/dist/src/views/admin/sign-in/sign-in-admin-view.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/advanced/cron/cron-table-view.d.ts +1 -1
- package/dist/src/views/admin/views/core/advanced/cron/cron-table-view.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/advanced/cron/cron-table-view.js +1 -1
- package/dist/src/views/admin/views/core/advanced/cron/run-action/run-action.d.ts +1 -1
- package/dist/src/views/admin/views/core/advanced/cron/run-action/run-action.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/dashboard/dashboard-admin-view.d.ts +1 -1
- package/dist/src/views/admin/views/core/dashboard/dashboard-admin-view.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/dashboard/dashboard-admin-view.js +1 -1
- package/dist/src/views/admin/views/core/dashboard/send-notification/mutation-api.d.ts +6 -0
- package/dist/src/views/admin/views/core/dashboard/send-notification/mutation-api.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/dashboard/send-notification/mutation-api.js +1 -0
- package/dist/src/views/admin/views/core/dashboard/send-notification/send-notification.d.ts +5 -0
- package/dist/src/views/admin/views/core/dashboard/send-notification/send-notification.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/dashboard/send-notification/send-notification.js +1 -0
- package/dist/src/views/admin/views/core/debug/actions/clear-cache/clear-cache.d.ts +1 -1
- package/dist/src/views/admin/views/core/debug/actions/clear-cache/clear-cache.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/debug/system-logs/actions/more/content.d.ts +1 -1
- package/dist/src/views/admin/views/core/debug/system-logs/actions/more/content.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/debug/system-logs/actions/more/more.d.ts +1 -1
- package/dist/src/views/admin/views/core/debug/system-logs/actions/more/more.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/debug/system-logs/badges/badge-status.d.ts +1 -1
- package/dist/src/views/admin/views/core/debug/system-logs/badges/badge-status.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/debug/system-logs/badges/badge-type-log.d.ts +1 -1
- package/dist/src/views/admin/views/core/debug/system-logs/badges/badge-type-log.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/debug/system-logs/system-logs-view.d.ts +1 -1
- package/dist/src/views/admin/views/core/debug/system-logs/system-logs-view.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/debug/system-logs/system-logs-view.js +1 -1
- package/dist/src/views/admin/views/core/test.d.ts +1 -1
- package/dist/src/views/admin/views/core/test.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/test.js +1 -1
- package/dist/src/views/admin/views/core/users/actions/create/content.d.ts +2 -0
- package/dist/src/views/admin/views/core/users/actions/create/content.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/users/actions/create/content.js +1 -0
- package/dist/src/views/admin/views/core/users/actions/create/create.d.ts +3 -0
- package/dist/src/views/admin/views/core/users/actions/create/create.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/users/actions/create/create.js +1 -0
- package/dist/src/views/admin/views/core/users/actions/create/mutation-api.d.ts +14 -0
- package/dist/src/views/admin/views/core/users/actions/create/mutation-api.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/users/actions/create/mutation-api.js +1 -0
- package/dist/src/views/admin/views/core/users/actions/create/use-form.d.ts +15 -0
- package/dist/src/views/admin/views/core/users/actions/create/use-form.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/users/actions/create/use-form.js +1 -0
- package/dist/src/views/admin/views/core/users/actions/verify-email/mutation-api.d.ts +11 -0
- package/dist/src/views/admin/views/core/users/actions/verify-email/mutation-api.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/users/actions/verify-email/mutation-api.js +1 -0
- package/dist/src/views/admin/views/core/users/actions/verify-email/verify-email.d.ts +6 -0
- package/dist/src/views/admin/views/core/users/actions/verify-email/verify-email.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/users/actions/verify-email/verify-email.js +1 -0
- package/dist/src/views/admin/views/core/users/actions.d.ts +5 -0
- package/dist/src/views/admin/views/core/users/actions.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/users/actions.js +1 -0
- package/dist/src/views/admin/views/core/users/roles/roles-admin-view.d.ts +4 -0
- package/dist/src/views/admin/views/core/users/roles/roles-admin-view.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/users/roles/roles-admin-view.js +1 -0
- package/dist/src/views/admin/views/core/users/search-roles.action.d.ts +3 -0
- package/dist/src/views/admin/views/core/users/search-roles.action.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/users/search-roles.action.js +1 -0
- package/dist/src/views/admin/views/core/users/show/show-user-admin-view.d.ts +4 -0
- package/dist/src/views/admin/views/core/users/show/show-user-admin-view.d.ts.map +1 -0
- package/dist/src/views/admin/views/core/users/show/show-user-admin-view.js +1 -0
- package/dist/src/views/admin/views/core/users/users-admin-view.d.ts +1 -1
- package/dist/src/views/admin/views/core/users/users-admin-view.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/users/users-admin-view.js +1 -1
- package/dist/src/views/auth/password-reset/change-password-form/form.d.ts +1 -1
- package/dist/src/views/auth/password-reset/change-password-form/form.d.ts.map +1 -1
- package/dist/src/views/auth/password-reset/form/form.d.ts +1 -1
- package/dist/src/views/auth/password-reset/form/form.d.ts.map +1 -1
- package/dist/src/views/auth/password-reset/password-reset-view.d.ts +1 -1
- package/dist/src/views/auth/password-reset/password-reset-view.d.ts.map +1 -1
- package/dist/src/views/auth/password-reset/password-reset-view.js +1 -1
- package/dist/src/views/auth/sign-in/form/form.d.ts +1 -1
- package/dist/src/views/auth/sign-in/form/form.d.ts.map +1 -1
- package/dist/src/views/auth/sign-in/sign-in-view.d.ts +2 -1
- package/dist/src/views/auth/sign-in/sign-in-view.d.ts.map +1 -1
- package/dist/src/views/auth/sign-in/sign-in-view.js +1 -1
- package/dist/src/views/auth/sign-up/components/password-input.d.ts +1 -1
- package/dist/src/views/auth/sign-up/components/password-input.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/components/password-input.js +1 -1
- package/dist/src/views/auth/sign-up/email-confirmation-view.d.ts +1 -1
- package/dist/src/views/auth/sign-up/email-confirmation-view.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/form/form.d.ts +1 -1
- package/dist/src/views/auth/sign-up/form/form.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/sign-up-view.d.ts +2 -1
- package/dist/src/views/auth/sign-up/sign-up-view.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/sign-up-view.js +1 -1
- package/dist/src/views/auth/sign-up/wrapper.d.ts +1 -1
- package/dist/src/views/auth/sign-up/wrapper.d.ts.map +1 -1
- package/dist/src/views/auth/sso/buttons/client.d.ts +1 -1
- package/dist/src/views/auth/sso/buttons/client.d.ts.map +1 -1
- package/dist/src/views/auth/sso/buttons/sso-buttons.d.ts +2 -2
- package/dist/src/views/auth/sso/buttons/sso-buttons.d.ts.map +1 -1
- package/dist/src/views/auth/sso/callback/callback-sso-view.d.ts +1 -1
- package/dist/src/views/auth/sso/callback/callback-sso-view.d.ts.map +1 -1
- package/dist/src/views/auth/sso/callback/client/client.d.ts +1 -1
- package/dist/src/views/auth/sso/callback/client/client.d.ts.map +1 -1
- package/dist/src/views/breadcrumb/breadcrumb-main.d.ts +7 -0
- package/dist/src/views/breadcrumb/breadcrumb-main.d.ts.map +1 -0
- package/dist/src/views/breadcrumb/breadcrumb-main.js +1 -0
- package/dist/src/views/breadcrumb/breadcrumb-render.d.ts +5 -0
- package/dist/src/views/breadcrumb/breadcrumb-render.d.ts.map +1 -0
- package/dist/src/views/breadcrumb/breadcrumb-render.js +1 -0
- package/dist/src/views/breadcrumb/crumb.d.ts +9 -0
- package/dist/src/views/breadcrumb/crumb.d.ts.map +1 -0
- package/dist/src/views/breadcrumb/crumb.js +1 -0
- package/dist/src/views/breadcrumb/resolve-main-breadcrumb.d.ts +3 -0
- package/dist/src/views/breadcrumb/resolve-main-breadcrumb.d.ts.map +1 -0
- package/dist/src/views/breadcrumb/resolve-main-breadcrumb.js +1 -0
- package/dist/src/views/error/back-button.d.ts +1 -1
- package/dist/src/views/error/back-button.d.ts.map +1 -1
- package/dist/src/views/error/error-view.d.ts +1 -1
- package/dist/src/views/error/error-view.d.ts.map +1 -1
- package/dist/src/views/error/global-error-view.d.ts +1 -1
- package/dist/src/views/error/global-error-view.d.ts.map +1 -1
- package/dist/src/views/layouts/provider.d.ts +3 -5
- package/dist/src/views/layouts/provider.d.ts.map +1 -1
- package/dist/src/views/layouts/provider.js +1 -1
- package/dist/src/views/layouts/root-layout.d.ts +1 -1
- package/dist/src/views/layouts/root-layout.d.ts.map +1 -1
- package/dist/src/views/layouts/root-layout.js +1 -1
- package/dist/src/views/layouts/theme/header/header.d.ts +1 -1
- package/dist/src/views/layouts/theme/header/header.d.ts.map +1 -1
- package/dist/src/views/layouts/theme/header/user/auth/auth.d.ts +1 -1
- package/dist/src/views/layouts/theme/header/user/auth/auth.d.ts.map +1 -1
- package/dist/src/views/layouts/theme/header/user/auth/client.d.ts +1 -1
- package/dist/src/views/layouts/theme/header/user/auth/client.d.ts.map +1 -1
- package/dist/src/views/layouts/theme/header/user/user.d.ts +1 -1
- package/dist/src/views/layouts/theme/header/user/user.d.ts.map +1 -1
- package/dist/src/views/layouts/theme/layout.d.ts +3 -2
- package/dist/src/views/layouts/theme/layout.d.ts.map +1 -1
- package/dist/src/views/layouts/theme/layout.js +1 -1
- package/dist/src/views/layouts/theme/notification-listener.d.ts +2 -0
- package/dist/src/views/layouts/theme/notification-listener.d.ts.map +1 -0
- package/dist/src/views/layouts/theme/notification-listener.js +1 -0
- package/dist/src/views/layouts/theme/web-socket-auth-sync.d.ts +4 -0
- package/dist/src/views/layouts/theme/web-socket-auth-sync.d.ts.map +1 -0
- package/dist/src/views/layouts/theme/web-socket-auth-sync.js +1 -0
- package/dist/src/vitnode.config.d.ts +4 -0
- package/dist/src/vitnode.config.d.ts.map +1 -1
- package/dist/src/vitnode.config.js +1 -1
- package/dist/src/ws/handle.d.ts +5 -0
- package/dist/src/ws/handle.d.ts.map +1 -0
- package/dist/src/ws/handle.js +1 -0
- package/dist/src/ws/manager.d.ts +14 -0
- package/dist/src/ws/manager.d.ts.map +1 -0
- package/dist/src/ws/manager.js +1 -0
- package/dist/src/ws/notifications.d.ts +8 -0
- package/dist/src/ws/notifications.d.ts.map +1 -0
- package/dist/src/ws/notifications.js +1 -0
- package/dist/src/ws/provider.d.ts +14 -0
- package/dist/src/ws/provider.d.ts.map +1 -0
- package/dist/src/ws/provider.js +1 -0
- package/dist/src/ws/registry.d.ts +14 -0
- package/dist/src/ws/registry.d.ts.map +1 -0
- package/dist/src/ws/registry.js +1 -0
- package/dist/src/ws/types.d.ts +22 -0
- package/dist/src/ws/types.d.ts.map +1 -0
- package/dist/src/ws/types.js +1 -0
- package/dist/src/ws/use-websocket.d.ts +9 -0
- package/dist/src/ws/use-websocket.d.ts.map +1 -0
- package/dist/src/ws/use-websocket.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/vitest.config.d.ts.map +1 -1
- package/dist/vitest.config.js +1 -2
- package/package.json +61 -52
- package/src/locales/en.json +66 -2
- package/src/routes/admin/core/page.tsx +5 -0
- package/src/routes/admin/core/test/page.tsx +5 -0
- package/src/routes/admin/core/users/[nameCode]/page.tsx +65 -0
- package/src/{app_admin → routes/admin}/core/users/page.tsx +13 -7
- package/src/routes/admin/core/users/roles/page.tsx +46 -0
- package/src/routes/blank/test/page.tsx +11 -0
- package/src/routes/breadcrumb/admin/[...all]/page.tsx +17 -0
- package/src/routes/breadcrumb/admin/core/users/[nameCode]/page.tsx +12 -0
- package/src/routes/breadcrumb/admin/default.tsx +4 -0
- package/src/routes/breadcrumb/main/[...rest]/page.tsx +17 -0
- package/src/routes/breadcrumb/main/default.tsx +4 -0
- package/src/routes/breadcrumb/main/login/page.tsx +11 -0
- package/src/routes/breadcrumb/main/login/reset-password/page.tsx +20 -0
- package/src/routes/breadcrumb/main/page.tsx +6 -0
- package/src/routes/breadcrumb/main/register/page.tsx +14 -0
- package/src/{app → routes/main}/login/page.tsx +1 -1
- package/src/{app → routes/main}/register/page.tsx +1 -1
- package/dist/src/app/login/page.d.ts.map +0 -1
- package/dist/src/app/login/page.js +0 -1
- package/dist/src/app/login/reset-password/page.d.ts.map +0 -1
- package/dist/src/app/login/reset-password/page.js +0 -1
- package/dist/src/app/login/sso/[providerId]/page.d.ts.map +0 -1
- package/dist/src/app/login/sso/[providerId]/page.js +0 -1
- package/dist/src/app/register/page.d.ts.map +0 -1
- package/dist/src/app/register/page.js +0 -1
- package/dist/src/app_admin/core/advanced/cron/page.d.ts.map +0 -1
- package/dist/src/app_admin/core/advanced/cron/page.js +0 -1
- package/dist/src/app_admin/core/debug/page.d.ts.map +0 -1
- package/dist/src/app_admin/core/debug/page.js +0 -1
- package/dist/src/app_admin/core/page.d.ts +0 -2
- package/dist/src/app_admin/core/page.d.ts.map +0 -1
- package/dist/src/app_admin/core/page.js +0 -1
- package/dist/src/app_admin/core/test/page.d.ts +0 -2
- package/dist/src/app_admin/core/test/page.d.ts.map +0 -1
- package/dist/src/app_admin/core/test/page.js +0 -1
- package/dist/src/app_admin/core/users/page.d.ts.map +0 -1
- package/dist/src/app_admin/core/users/page.js +0 -1
- package/dist/src/components/form/fields/combobox-async.d.ts +0 -18
- package/dist/src/components/form/fields/combobox-async.d.ts.map +0 -1
- package/dist/src/components/form/fields/combobox-async.js +0 -1
- package/src/app_admin/core/page.tsx +0 -5
- package/src/app_admin/core/test/page.tsx +0 -5
- /package/src/{app_admin → routes/admin}/core/advanced/cron/page.tsx +0 -0
- /package/src/{app_admin → routes/admin}/core/debug/page.tsx +0 -0
- /package/src/{app → routes/main}/login/reset-password/page.tsx +0 -0
- /package/src/{app → routes/main}/login/sso/[providerId]/page.tsx +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vitest.config.d.ts","sourceRoot":"","sources":["../vitest.config.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"vitest.config.d.ts","sourceRoot":"","sources":["../vitest.config.ts"],"names":[],"mappings":";AAIA,wBA4CG"}
|
package/dist/vitest.config.js
CHANGED
|
@@ -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()
|
|
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.
|
|
3
|
+
"version": "1.2.0-canary.74",
|
|
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.
|
|
41
|
-
"@hono/zod-validator": "^0.
|
|
42
|
-
"@hookform/resolvers": "^5.
|
|
43
|
-
"@react-email/components": "^1.0.
|
|
44
|
-
"@swc/cli": "^0.
|
|
45
|
-
"@swc/core": "^1.15.
|
|
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.
|
|
48
|
-
"@types/node": "^
|
|
49
|
-
"@types/react": "^19.2.
|
|
47
|
+
"@testing-library/react": "^16.3.2",
|
|
48
|
+
"@types/node": "^25.9.3",
|
|
49
|
+
"@types/react": "^19.2.17",
|
|
50
50
|
"@types/react-dom": "^19.2.3",
|
|
51
|
-
"@vitejs/plugin-react": "^
|
|
52
|
-
"@vitest/coverage-v8": "^4.
|
|
53
|
-
"chokidar": "^
|
|
54
|
-
"concurrently": "^
|
|
55
|
-
"drizzle-kit": "^0.31.
|
|
56
|
-
"drizzle-orm": "^0.
|
|
57
|
-
"eslint": "^
|
|
58
|
-
"hono": "^4.
|
|
59
|
-
"jiti": "^2.
|
|
60
|
-
"jsdom": "^
|
|
61
|
-
"lucide-react": "^
|
|
62
|
-
"next": "^16.
|
|
63
|
-
"next-intl": "^4.
|
|
64
|
-
"react": "^19.2.
|
|
65
|
-
"react-dom": "^19.2.
|
|
66
|
-
"react-email": "^
|
|
67
|
-
"react-hook-form": "^7.
|
|
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
|
|
70
|
-
"tsc-alias": "^1.8.
|
|
69
|
+
"tailwindcss": "^4.3.1",
|
|
70
|
+
"tsc-alias": "^1.8.17",
|
|
71
71
|
"tsup": "^8.5.1",
|
|
72
|
-
"tsx": "^4.
|
|
72
|
+
"tsx": "^4.22.4",
|
|
73
73
|
"tw-animate-css": "^1.4.0",
|
|
74
|
-
"typescript": "^
|
|
75
|
-
"vite
|
|
76
|
-
"vitest": "^4.
|
|
77
|
-
"zod": "^4.
|
|
78
|
-
"@vitnode/config": "1.2.0-canary.
|
|
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.74"
|
|
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.
|
|
102
|
-
"@react-email/preview-server": "^5.
|
|
103
|
-
"@tanstack/react-query": "^5.
|
|
104
|
-
"@tiptap/extension-text-align": "^3.
|
|
105
|
-
"@tiptap/pm": "^3.
|
|
106
|
-
"@tiptap/react": "^3.
|
|
107
|
-
"@tiptap/starter-kit": "^3.
|
|
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.
|
|
112
|
-
"
|
|
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.
|
|
118
|
+
"motion": "^12.40.0",
|
|
115
119
|
"next-themes": "^0.4.6",
|
|
116
|
-
"postgres": "^3.4.
|
|
117
|
-
"radix-ui": "^1.
|
|
118
|
-
"rate-limiter-flexible": "^
|
|
119
|
-
"react-
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
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": {
|
package/src/locales/en.json
CHANGED
|
@@ -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": {
|
|
@@ -0,0 +1,65 @@
|
|
|
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 { adminModule } from "@/api/modules/admin/admin.module";
|
|
8
|
+
import { I18nProvider } from "@/components/i18n-provider";
|
|
9
|
+
import { Loader } from "@/components/ui/loader";
|
|
10
|
+
import { fetcher } from "@/lib/fetcher";
|
|
11
|
+
|
|
12
|
+
const ShowUserAdminView = dynamic(async () =>
|
|
13
|
+
import("@/views/admin/views/core/users/show/show-user-admin-view").then(
|
|
14
|
+
module => ({
|
|
15
|
+
default: module.ShowUserAdminView,
|
|
16
|
+
}),
|
|
17
|
+
),
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
export const generateMetadata = async ({
|
|
21
|
+
params,
|
|
22
|
+
}: {
|
|
23
|
+
params: Promise<{ nameCode: string }>;
|
|
24
|
+
}): Promise<Metadata> => {
|
|
25
|
+
const { nameCode } = await params;
|
|
26
|
+
const t = await getTranslations("admin.user.show");
|
|
27
|
+
const res = await fetcher(adminModule, {
|
|
28
|
+
path: "/{nameCode}",
|
|
29
|
+
method: "get",
|
|
30
|
+
module: "admin/users",
|
|
31
|
+
args: {
|
|
32
|
+
params: { nameCode },
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
if (!res.ok) {
|
|
37
|
+
return {
|
|
38
|
+
title: t("title"),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
const data = await res.json();
|
|
43
|
+
|
|
44
|
+
return {
|
|
45
|
+
title: `${data.name} - ${t("title")}`,
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
export default async function Page({
|
|
50
|
+
params,
|
|
51
|
+
}: {
|
|
52
|
+
params: Promise<{ nameCode: string }>;
|
|
53
|
+
}) {
|
|
54
|
+
const { nameCode } = await params;
|
|
55
|
+
|
|
56
|
+
return (
|
|
57
|
+
<I18nProvider namespaces="admin.user">
|
|
58
|
+
<div className="p-4">
|
|
59
|
+
<React.Suspense fallback={<Loader />}>
|
|
60
|
+
<ShowUserAdminView nameCode={nameCode} />
|
|
61
|
+
</React.Suspense>
|
|
62
|
+
</div>
|
|
63
|
+
</I18nProvider>
|
|
64
|
+
);
|
|
65
|
+
}
|
|
@@ -4,8 +4,10 @@ import { getTranslations } from "next-intl/server";
|
|
|
4
4
|
import dynamic from "next/dynamic";
|
|
5
5
|
import React from "react";
|
|
6
6
|
|
|
7
|
+
import { I18nProvider } from "@/components/i18n-provider";
|
|
7
8
|
import { DataTableSkeleton } from "@/components/table/data-table";
|
|
8
9
|
import { HeaderContent } from "@/components/ui/header-content";
|
|
10
|
+
import { CreateUserAdmin } from "@/views/admin/views/core/users/actions/create/create";
|
|
9
11
|
|
|
10
12
|
const UsersAdminView = dynamic(async () =>
|
|
11
13
|
import("@/views/admin/views/core/users/users-admin-view").then(module => ({
|
|
@@ -30,12 +32,16 @@ export default async function Page(
|
|
|
30
32
|
]);
|
|
31
33
|
|
|
32
34
|
return (
|
|
33
|
-
<
|
|
34
|
-
<
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
<I18nProvider namespaces="admin.user">
|
|
36
|
+
<div className="p-4">
|
|
37
|
+
<HeaderContent desc={t("desc")} h1={tNav("list")}>
|
|
38
|
+
<CreateUserAdmin />
|
|
39
|
+
</HeaderContent>
|
|
40
|
+
|
|
41
|
+
<React.Suspense fallback={<DataTableSkeleton columns={2} />}>
|
|
42
|
+
<UsersAdminView {...props} />
|
|
43
|
+
</React.Suspense>
|
|
44
|
+
</div>
|
|
45
|
+
</I18nProvider>
|
|
40
46
|
);
|
|
41
47
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { I18nProvider } from "@/components/i18n-provider";
|
|
8
|
+
import { DataTableSkeleton } from "@/components/table/data-table";
|
|
9
|
+
import { HeaderContent } from "@/components/ui/header-content";
|
|
10
|
+
|
|
11
|
+
const RolesAdminView = dynamic(async () =>
|
|
12
|
+
import("@/views/admin/views/core/users/roles/roles-admin-view").then(
|
|
13
|
+
module => ({
|
|
14
|
+
default: module.RolesAdminView,
|
|
15
|
+
}),
|
|
16
|
+
),
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
export const generateMetadata = async (): Promise<Metadata> => {
|
|
20
|
+
const t = await getTranslations("admin.global.nav.users");
|
|
21
|
+
|
|
22
|
+
return {
|
|
23
|
+
title: t("roles"),
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export default async function Page(
|
|
28
|
+
props: React.ComponentProps<typeof RolesAdminView>,
|
|
29
|
+
) {
|
|
30
|
+
const [t, tNav] = await Promise.all([
|
|
31
|
+
getTranslations("admin.role.list"),
|
|
32
|
+
getTranslations("admin.global.nav.users"),
|
|
33
|
+
]);
|
|
34
|
+
|
|
35
|
+
return (
|
|
36
|
+
<I18nProvider namespaces="admin.role">
|
|
37
|
+
<div className="p-4">
|
|
38
|
+
<HeaderContent desc={t("desc")} h1={tNav("roles")} />
|
|
39
|
+
|
|
40
|
+
<React.Suspense fallback={<DataTableSkeleton columns={2} />}>
|
|
41
|
+
<RolesAdminView {...props} />
|
|
42
|
+
</React.Suspense>
|
|
43
|
+
</div>
|
|
44
|
+
</I18nProvider>
|
|
45
|
+
);
|
|
46
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default function Page() {
|
|
2
|
+
return (
|
|
3
|
+
<div className="flex min-h-screen flex-col items-center justify-center gap-2 text-center">
|
|
4
|
+
<h1 className="text-2xl font-bold">Blank test page</h1>
|
|
5
|
+
<p className="text-muted-foreground">
|
|
6
|
+
This page renders without the main layout — no header or footer, just
|
|
7
|
+
the root providers.
|
|
8
|
+
</p>
|
|
9
|
+
</div>
|
|
10
|
+
);
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BreadcrumbAdmin } from "@/views/admin/layouts/breadcrumb/breadcrumb-admin";
|
|
2
|
+
|
|
3
|
+
// Generic catch-all breadcrumb for every authenticated admin route (core +
|
|
4
|
+
// plugins). More specific slot folders (e.g. core/users/[nameCode]) override it.
|
|
5
|
+
//
|
|
6
|
+
// NOTE: must live at the `@breadcrumb` slot ROOT (not under a `(plugins)` route
|
|
7
|
+
// group) — a parallel-route slot only matches `children` sharing its route-group
|
|
8
|
+
// structure, so a nested catch-all would miss pages from other plugin groups.
|
|
9
|
+
export default async function BreadcrumbSlot({
|
|
10
|
+
params,
|
|
11
|
+
}: {
|
|
12
|
+
params: Promise<{ all?: string[] }>;
|
|
13
|
+
}) {
|
|
14
|
+
const { all } = await params;
|
|
15
|
+
|
|
16
|
+
return <BreadcrumbAdmin segments={all ?? []} />;
|
|
17
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BreadcrumbUserAdmin } from "@/views/admin/layouts/breadcrumb/breadcrumb-user-admin";
|
|
2
|
+
|
|
3
|
+
// Resolves the real user name server-side for the user detail breadcrumb.
|
|
4
|
+
export default async function BreadcrumbSlot({
|
|
5
|
+
params,
|
|
6
|
+
}: {
|
|
7
|
+
params: Promise<{ nameCode: string }>;
|
|
8
|
+
}) {
|
|
9
|
+
const { nameCode } = await params;
|
|
10
|
+
|
|
11
|
+
return <BreadcrumbUserAdmin nameCode={nameCode} />;
|
|
12
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BreadcrumbMain } from "@/views/breadcrumb/breadcrumb-main";
|
|
2
|
+
|
|
3
|
+
// Generic catch-all breadcrumb for public pages: humanizes URL segments.
|
|
4
|
+
// Specific slot folders (login, register, …) override it with translated labels.
|
|
5
|
+
//
|
|
6
|
+
// NOTE: must live at the `@breadcrumb` slot ROOT (not under a `(plugins)` route
|
|
7
|
+
// group) — a parallel-route slot only matches `children` sharing its route-group
|
|
8
|
+
// structure, so a nested catch-all would miss pages outside that group.
|
|
9
|
+
export default async function BreadcrumbSlot({
|
|
10
|
+
params,
|
|
11
|
+
}: {
|
|
12
|
+
params: Promise<{ rest?: string[] }>;
|
|
13
|
+
}) {
|
|
14
|
+
const { rest } = await params;
|
|
15
|
+
|
|
16
|
+
return <BreadcrumbMain segments={rest ?? []} />;
|
|
17
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { getTranslations } from "next-intl/server";
|
|
2
|
+
|
|
3
|
+
import { BreadcrumbMain } from "@/views/breadcrumb/breadcrumb-main";
|
|
4
|
+
|
|
5
|
+
export default async function BreadcrumbSlot() {
|
|
6
|
+
const t = await getTranslations("core.global");
|
|
7
|
+
|
|
8
|
+
return (
|
|
9
|
+
<BreadcrumbMain labels={{ "/login": t("login") }} segments={["login"]} />
|
|
10
|
+
);
|
|
11
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { getTranslations } from "next-intl/server";
|
|
2
|
+
|
|
3
|
+
import { BreadcrumbMain } from "@/views/breadcrumb/breadcrumb-main";
|
|
4
|
+
|
|
5
|
+
export default async function BreadcrumbSlot() {
|
|
6
|
+
const [tGlobal, tAuth] = await Promise.all([
|
|
7
|
+
getTranslations("core.global"),
|
|
8
|
+
getTranslations("core.auth"),
|
|
9
|
+
]);
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<BreadcrumbMain
|
|
13
|
+
labels={{
|
|
14
|
+
"/login": tGlobal("login"),
|
|
15
|
+
"/login/reset-password": tAuth("reset_password.title"),
|
|
16
|
+
}}
|
|
17
|
+
segments={["login", "reset-password"]}
|
|
18
|
+
/>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// Home page (/) has no breadcrumb. An explicit slot page (not just default.tsx)
|
|
2
|
+
// is required so client-side navigation back to "/" clears a previously-rendered
|
|
3
|
+
// breadcrumb — otherwise Next.js keeps the slot's stale active state on soft nav.
|
|
4
|
+
export default function BreadcrumbSlot() {
|
|
5
|
+
return null;
|
|
6
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { getTranslations } from "next-intl/server";
|
|
2
|
+
|
|
3
|
+
import { BreadcrumbMain } from "@/views/breadcrumb/breadcrumb-main";
|
|
4
|
+
|
|
5
|
+
export default async function BreadcrumbSlot() {
|
|
6
|
+
const t = await getTranslations("core.global");
|
|
7
|
+
|
|
8
|
+
return (
|
|
9
|
+
<BreadcrumbMain
|
|
10
|
+
labels={{ "/register": t("register") }}
|
|
11
|
+
segments={["register"]}
|
|
12
|
+
/>
|
|
13
|
+
);
|
|
14
|
+
}
|
|
@@ -2,7 +2,7 @@ import type { Metadata } from "next/dist/types";
|
|
|
2
2
|
|
|
3
3
|
import { getTranslations } from "next-intl/server";
|
|
4
4
|
|
|
5
|
-
import { SignInView } from "
|
|
5
|
+
import { SignInView } from "@/views/auth/sign-in/sign-in-view";
|
|
6
6
|
|
|
7
7
|
export const generateMetadata = async ({
|
|
8
8
|
params,
|
|
@@ -2,7 +2,7 @@ import type { Metadata } from "next/dist/types";
|
|
|
2
2
|
|
|
3
3
|
import { getTranslations } from "next-intl/server";
|
|
4
4
|
|
|
5
|
-
import { SignUpView } from "
|
|
5
|
+
import { SignUpView } from "@/views/auth/sign-up/sign-up-view";
|
|
6
6
|
|
|
7
7
|
export const generateMetadata = async ({
|
|
8
8
|
params,
|
|
@@ -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 +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,{})}
|