@tulip-systems/core 0.2.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/client.d.ts +3 -1
- package/dist/auth/client.js +4 -2
- package/dist/auth/server.d.ts +2 -2
- package/dist/auth/server.js +3 -3
- package/dist/auth.d.ts +2 -1
- package/dist/auth.js +3 -2
- package/dist/commands/client.d.ts +4 -4
- package/dist/commands/client.js +4 -4
- package/dist/components/client.d.ts +5 -3
- package/dist/components/client.js +6 -4
- package/dist/components/common/icons.d.ts +5 -2
- package/dist/components/common/icons.d.ts.map +1 -1
- package/dist/components/common/icons.js +4 -1
- package/dist/components/common/icons.js.map +1 -1
- package/dist/components/common/status.d.ts +3 -3
- package/dist/components/editor/components/content.client.d.ts +2 -2
- package/dist/components/editor/components/fixed-menu.client.d.ts +2 -2
- package/dist/components/editor/context.client.d.ts +2 -2
- package/dist/components/editor/index.client.d.ts +2 -2
- package/dist/components/editor/preview.client.d.ts +2 -2
- package/dist/components/header/back-button.client.d.ts +2 -2
- package/dist/components/header/bottom-bar.client.d.ts +5 -5
- package/dist/components/header/bottom-bar.client.d.ts.map +1 -1
- package/dist/components/header/bottom-bar.client.js.map +1 -1
- package/dist/components/header/breadcrumbs.client.d.ts +7 -7
- package/dist/components/header/breadcrumbs.client.js +1 -1
- package/dist/components/header/header.client.d.ts +2 -2
- package/dist/components/header/mobile-nav-switcher.client.d.ts +2 -2
- package/dist/components/header/top-bar.client.d.ts +4 -4
- package/dist/components/layouts/admin-content.client.d.ts +13 -0
- package/dist/components/layouts/admin-content.client.d.ts.map +1 -0
- package/dist/components/layouts/admin-layout.d.ts +8 -0
- package/dist/components/layouts/admin-layout.d.ts.map +1 -0
- package/dist/components/layouts/admin-layout.js +15 -0
- package/dist/components/layouts/admin-layout.js.map +1 -0
- package/dist/components/layouts/admin-loading.d.ts +3 -3
- package/dist/components/layouts/admin-loading.d.ts.map +1 -1
- package/dist/components/layouts/admin-loading.js +2 -2
- package/dist/components/layouts/admin-loading.js.map +1 -1
- package/dist/components/layouts/empty-page.d.ts +4 -4
- package/dist/components/layouts/list-layout.d.ts +2 -2
- package/dist/components/layouts/not-found-page.d.ts +4 -3
- package/dist/components/layouts/not-found-page.d.ts.map +1 -1
- package/dist/components/layouts/not-found-page.js +8 -2
- package/dist/components/layouts/not-found-page.js.map +1 -1
- package/dist/components/layouts/not-found-section.js +1 -1
- package/dist/components/layouts/not-found-section.js.map +1 -1
- package/dist/components/layouts/providers.client.d.ts +2 -2
- package/dist/components/layouts/root-layout.server.d.ts +2 -2
- package/dist/components/layouts/root-layout.server.d.ts.map +1 -1
- package/dist/components/layouts/root-loading.d.ts +7 -0
- package/dist/components/layouts/root-loading.d.ts.map +1 -0
- package/dist/components/layouts/root-loading.js +14 -0
- package/dist/components/layouts/root-loading.js.map +1 -0
- package/dist/components/layouts/tab-layout.d.ts +2 -2
- package/dist/components/lists/data-list.d.ts +5 -5
- package/dist/components/lists/data-stack.d.ts +8 -8
- package/dist/components/{layouts → navigation}/admin-sidebar-header.client.js +8 -9
- package/dist/components/navigation/admin-sidebar-header.client.js.map +1 -0
- package/dist/components/navigation/admin-sidebar-paths.client.d.ts +81 -0
- package/dist/components/navigation/admin-sidebar-paths.client.d.ts.map +1 -0
- package/dist/components/navigation/admin-sidebar-paths.client.js +143 -0
- package/dist/components/navigation/admin-sidebar-paths.client.js.map +1 -0
- package/dist/components/navigation/admin-sidebar-skeleton.js +31 -0
- package/dist/components/navigation/admin-sidebar-skeleton.js.map +1 -0
- package/dist/components/server.d.ts +1 -1
- package/dist/components/server.js +1 -1
- package/dist/components/ui/accordion.d.ts +5 -5
- package/dist/components/ui/alert-dialog.d.ts +12 -12
- package/dist/components/ui/alert.d.ts +6 -6
- package/dist/components/ui/aspect-ratio.d.ts +2 -2
- package/dist/components/ui/avatar.client.d.ts +4 -4
- package/dist/components/ui/badge.d.ts +4 -4
- package/dist/components/ui/breadcrumb.d.ts +8 -8
- package/dist/components/ui/button.d.ts +4 -4
- package/dist/components/ui/calendar.d.ts +2 -2
- package/dist/components/ui/card.d.ts +7 -7
- package/dist/components/ui/carousel.d.ts +6 -6
- package/dist/components/ui/chart.client.d.ts +5 -5
- package/dist/components/ui/checkbox.d.ts +2 -2
- package/dist/components/ui/collapsible.client.d.ts +4 -4
- package/dist/components/ui/color-picker.client.d.ts +2 -2
- package/dist/components/ui/combobox-dropdown.client.d.ts +2 -2
- package/dist/components/ui/combobox.client.d.ts +2 -2
- package/dist/components/ui/command.d.ts +10 -10
- package/dist/components/ui/context-menu.d.ts +16 -16
- package/dist/components/ui/dialog.client.d.ts +11 -11
- package/dist/components/ui/drawer.client.d.ts +11 -11
- package/dist/components/ui/dropdown-menu.d.ts +16 -16
- package/dist/components/ui/form.client.d.ts +8 -8
- package/dist/components/ui/hover-card.client.d.ts +4 -4
- package/dist/components/ui/input.d.ts +2 -2
- package/dist/components/ui/label.d.ts +2 -2
- package/dist/components/ui/navigation-menu.d.ts +11 -11
- package/dist/components/ui/pagination.d.ts +8 -8
- package/dist/components/ui/popover.d.ts +5 -5
- package/dist/components/ui/progress.client.d.ts +2 -2
- package/dist/components/ui/radio-group.d.ts +3 -3
- package/dist/components/ui/resizable.client.d.ts +4 -4
- package/dist/components/ui/scroll-area.d.ts +3 -3
- package/dist/components/ui/select.client.d.ts +11 -11
- package/dist/components/ui/separator.d.ts +2 -2
- package/dist/components/ui/sheet.client.d.ts +9 -9
- package/dist/components/ui/sidebar.client.d.ts +24 -24
- package/dist/components/ui/sidebar.client.js +1 -1
- package/dist/components/ui/skeleton.d.ts +2 -2
- package/dist/components/ui/slider.d.ts +2 -2
- package/dist/components/ui/sonner.client.d.ts +2 -2
- package/dist/components/ui/sonner.client.js +1 -1
- package/dist/components/ui/spinner.js +63 -0
- package/dist/components/ui/spinner.js.map +1 -0
- package/dist/components/ui/switch.d.ts +2 -2
- package/dist/components/ui/tabs.d.ts +5 -5
- package/dist/components/ui/textarea.d.ts +2 -2
- package/dist/components/ui/time-input.client.d.ts +2 -2
- package/dist/components/ui/toggle-group.client.d.ts +3 -3
- package/dist/components/ui/toggle.d.ts +4 -4
- package/dist/components/ui/tooltip.client.d.ts +5 -5
- package/dist/components/ui/tree.client.d.ts +5 -5
- package/dist/components/ui/tree.client.d.ts.map +1 -1
- package/dist/components.d.ts +6 -5
- package/dist/components.js +8 -7
- package/dist/config/server.d.ts +2 -3
- package/dist/config/server.js +3 -4
- package/dist/config.d.ts +3 -2
- package/dist/config.js +2 -1
- package/dist/lib/client.js +1 -1
- package/dist/lib/hooks/use-action.d.ts +2 -2
- package/dist/modules/auth/components/allowed.client.js +1 -1
- package/dist/modules/auth/components/allowed.client.js.map +1 -1
- package/dist/modules/auth/components/auth-layout.server.d.ts +3 -4
- package/dist/modules/auth/components/auth-layout.server.d.ts.map +1 -1
- package/dist/modules/auth/components/auth-layout.server.js +1 -4
- package/dist/modules/auth/components/auth-layout.server.js.map +1 -1
- package/dist/modules/auth/components/auth-loading.d.ts +7 -0
- package/dist/modules/auth/components/auth-loading.d.ts.map +1 -0
- package/dist/modules/auth/components/auth-loading.js +18 -0
- package/dist/modules/auth/components/auth-loading.js.map +1 -0
- package/dist/modules/auth/components/forget-password-page.client.js +2 -2
- package/dist/modules/auth/components/guard.client.js +16 -0
- package/dist/modules/auth/components/guard.client.js.map +1 -0
- package/dist/modules/auth/components/login-page.client.d.ts +1 -5
- package/dist/modules/auth/components/login-page.client.d.ts.map +1 -1
- package/dist/modules/auth/components/login-page.client.js +41 -31
- package/dist/modules/auth/components/login-page.client.js.map +1 -1
- package/dist/modules/auth/components/reset-password-page.client.js +3 -3
- package/dist/modules/auth/components/update-password-command.d.ts +1 -1
- package/dist/modules/auth/components/update-password-command.js +1 -1
- package/dist/modules/auth/handler/client.client.d.ts +48 -48
- package/dist/modules/auth/handler/client.client.d.ts.map +1 -1
- package/dist/modules/auth/handler/proxy.server.d.ts +13 -0
- package/dist/modules/auth/handler/proxy.server.d.ts.map +1 -0
- package/dist/modules/auth/handler/proxy.server.js +22 -0
- package/dist/modules/auth/handler/proxy.server.js.map +1 -0
- package/dist/modules/auth/handler/server.server.js +3 -1
- package/dist/modules/auth/handler/server.server.js.map +1 -1
- package/dist/modules/auth/hooks/use-permission.d.ts +26 -0
- package/dist/modules/auth/hooks/use-permission.d.ts.map +1 -0
- package/dist/modules/auth/hooks/{use-permission.client.js → use-permission.js} +5 -3
- package/dist/modules/auth/hooks/use-permission.js.map +1 -0
- package/dist/modules/auth/hooks/use-session.d.ts +34 -0
- package/dist/modules/auth/hooks/use-session.d.ts.map +1 -0
- package/dist/modules/auth/hooks/use-session.js +21 -0
- package/dist/modules/auth/hooks/use-session.js.map +1 -0
- package/dist/modules/auth/lib/helpers.server.d.ts +2 -2
- package/dist/modules/auth/lib/helpers.server.d.ts.map +1 -1
- package/dist/modules/auth/lib/helpers.server.js +3 -6
- package/dist/modules/auth/lib/helpers.server.js.map +1 -1
- package/dist/modules/auth/lib/validators.d.ts +4 -4
- package/dist/modules/auth/lib/validators.d.ts.map +1 -1
- package/dist/modules/auth/lib/validators.js +1 -1
- package/dist/modules/auth/lib/validators.js.map +1 -1
- package/dist/modules/commands/components/alert-dialog-command.client.d.ts +11 -11
- package/dist/modules/commands/components/alert-dialog-command.client.js +1 -1
- package/dist/modules/commands/components/click-command.client.d.ts +2 -2
- package/dist/modules/commands/components/command-trigger.client.d.ts +4 -4
- package/dist/modules/commands/components/command-trigger.client.js +1 -1
- package/dist/modules/commands/components/dialog-command.client.d.ts +8 -8
- package/dist/modules/commands/components/dialog-command.client.js +1 -1
- package/dist/modules/commands/components/dropdown-command.client.d.ts +5 -5
- package/dist/modules/commands/components/empty-command.client.d.ts +2 -2
- package/dist/modules/commands/components/form-dialog-command.client.d.ts +12 -12
- package/dist/modules/commands/components/form-dialog-command.client.js +1 -1
- package/dist/modules/commands/hooks/use-command-action.client.js +1 -1
- package/dist/modules/commands/hooks/use-command-menu.client.js +1 -1
- package/dist/modules/commands/hooks/use-command-menu.client.js.map +1 -1
- package/dist/modules/commands/menus/context-menu.client.d.ts +2 -2
- package/dist/modules/commands/menus/dropdown-menu.client.d.ts +8 -4
- package/dist/modules/commands/menus/dropdown-menu.client.d.ts.map +1 -1
- package/dist/modules/commands/menus/dropdown-menu.client.js +9 -1
- package/dist/modules/commands/menus/dropdown-menu.client.js.map +1 -1
- package/dist/modules/commands/menus/inline-menu.client.d.ts +8 -4
- package/dist/modules/commands/menus/inline-menu.client.d.ts.map +1 -1
- package/dist/modules/commands/menus/inline-menu.client.js +12 -1
- package/dist/modules/commands/menus/inline-menu.client.js.map +1 -1
- package/dist/modules/commands/menus/responsive-menu.client.d.ts +2 -1
- package/dist/modules/commands/menus/responsive-menu.client.d.ts.map +1 -1
- package/dist/modules/commands/menus/responsive-menu.client.js +6 -3
- package/dist/modules/commands/menus/responsive-menu.client.js.map +1 -1
- package/dist/modules/commands/utils/archive-command.client.d.ts +3 -3
- package/dist/modules/commands/utils/delete-command.client.d.ts +2 -2
- package/dist/modules/commands/utils/send-mail-command.client.d.ts +2 -2
- package/dist/modules/commands/utils/send-mail-command.client.d.ts.map +1 -1
- package/dist/modules/commands/utils/send-mail-command.client.js +3 -3
- package/dist/modules/config/db/helpers.d.ts +5 -5
- package/dist/modules/config/db/helpers.d.ts.map +1 -1
- package/dist/modules/config/lib/config.server.d.ts +0 -2
- package/dist/modules/config/lib/config.server.d.ts.map +1 -1
- package/dist/modules/config/lib/config.server.js.map +1 -1
- package/dist/modules/config/lib/resolve.server.d.ts +192 -190
- package/dist/modules/config/lib/resolve.server.d.ts.map +1 -1
- package/dist/modules/config/paths/helpers.d.ts +11 -0
- package/dist/modules/config/paths/helpers.d.ts.map +1 -0
- package/dist/modules/config/paths/helpers.js +9 -0
- package/dist/modules/config/paths/helpers.js.map +1 -0
- package/dist/modules/config/paths/types.d.ts +8 -37
- package/dist/modules/config/paths/types.d.ts.map +1 -1
- package/dist/modules/config/router/client.server.d.ts +4 -4
- package/dist/modules/config/router/client.server.d.ts.map +1 -1
- package/dist/modules/config/router/context.server.d.ts +194 -192
- package/dist/modules/config/router/context.server.d.ts.map +1 -1
- package/dist/modules/config/router/init.server.d.ts +200 -198
- package/dist/modules/config/router/init.server.d.ts.map +1 -1
- package/dist/modules/data-tables/components/cell/common.client.d.ts +5 -5
- package/dist/modules/data-tables/components/cell/common.client.d.ts.map +1 -1
- package/dist/modules/data-tables/components/column-header.d.ts +2 -2
- package/dist/modules/data-tables/components/filters/combobox.client.d.ts +2 -2
- package/dist/modules/data-tables/components/filters/combobox.client.d.ts.map +1 -1
- package/dist/modules/data-tables/components/filters/combobox.client.js +1 -1
- package/dist/modules/data-tables/components/filters/combobox.client.js.map +1 -1
- package/dist/modules/data-tables/components/filters/slider.client.d.ts +2 -2
- package/dist/modules/data-tables/components/filters/slider.client.d.ts.map +1 -1
- package/dist/modules/data-tables/components/header.d.ts +4 -4
- package/dist/modules/data-tables/components/layout.d.ts +2 -2
- package/dist/modules/data-tables/components/search-input.client.d.ts +2 -2
- package/dist/modules/data-tables/components/search-input.client.d.ts.map +1 -1
- package/dist/modules/data-tables/components/skeleton.d.ts +2 -2
- package/dist/modules/data-tables/components/table.d.ts +7 -7
- package/dist/modules/data-tables/components/toolbar.d.ts +3 -3
- package/dist/modules/data-tables/hooks/use-context.client.d.ts +2 -2
- package/dist/modules/data-tables/hooks/use-context.client.d.ts.map +1 -1
- package/dist/modules/data-tables/lib/filters/resolvers.d.ts +1 -1
- package/dist/modules/data-tables/lib/filters/resolvers.d.ts.map +1 -1
- package/dist/modules/data-tables/lib/search-params.d.ts +5 -5
- package/dist/modules/data-tables/lib/search-params.d.ts.map +1 -1
- package/dist/modules/data-tables/lib/types.d.ts +1 -1
- package/dist/modules/data-tables/tables/data-table/components/table.d.ts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.ts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.ts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.ts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.ts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.ts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.ts +3 -3
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.ts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.ts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/table.d.ts +2 -2
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.ts +2 -2
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.js +1 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.js +1 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.js.map +1 -1
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/combobox.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/combobox.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/date-input.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/date-input.client.js +1 -1
- package/dist/modules/inline-edit/components/date-picker.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/editor.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/input-toggle.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/input.client.d.ts +3 -3
- package/dist/modules/inline-edit/components/richtext.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/select.client.d.ts +6 -6
- package/dist/modules/inline-edit/components/switch.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/toggle.client.d.ts +2 -2
- package/dist/modules/inline-edit/hooks/context.client.d.ts +2 -2
- package/dist/modules/inline-edit/hooks/use-inline.client.js +1 -1
- package/dist/modules/inline-edit/hooks/use-inline.client.js.map +1 -1
- package/dist/modules/uploads/components/button.client.d.ts +2 -2
- package/dist/modules/uploads/components/button.client.d.ts.map +1 -1
- package/dist/modules/uploads/components/images/grid.client.d.ts +2 -2
- package/dist/modules/uploads/components/images/grid.client.d.ts.map +1 -1
- package/dist/modules/uploads/components/images/grid.client.js +1 -1
- package/dist/modules/uploads/components/images/input.client.d.ts +2 -2
- package/dist/modules/uploads/components/images/input.client.d.ts.map +1 -1
- package/dist/modules/uploads/components/preview-dialog.client.d.ts +2 -2
- package/dist/modules/uploads/components/preview-dialog.client.d.ts.map +1 -1
- package/dist/modules/uploads/components/zone.client.d.ts +2 -2
- package/dist/modules/uploads/components/zone.client.d.ts.map +1 -1
- package/dist/modules/uploads/hooks/use-upload-image.client.js +1 -1
- package/dist/modules/uploads/lib/proxy.server.d.ts +1 -1
- package/dist/modules/uploads/lib/proxy.server.js +4 -4
- package/dist/modules/uploads/lib/route.server.d.ts +1 -1
- package/dist/modules/uploads/lib/route.server.js +2 -2
- package/dist/modules/uploads/lib/router.server.d.ts +965 -965
- package/dist/modules/uploads/lib/router.server.d.ts.map +1 -1
- package/dist/modules/uploads/lib/router.server.js +2 -2
- package/dist/modules/uploads/lib/schema.d.ts +61 -61
- package/dist/modules/uploads/lib/validators.d.ts +56 -56
- package/dist/modules/uploads/lib/validators.d.ts.map +1 -1
- package/package.json +5 -4
- package/src/components/common/icons.tsx +6 -0
- package/src/components/entry.client.ts +6 -0
- package/src/components/entry.server.ts +1 -1
- package/src/components/entry.ts +1 -0
- package/src/components/header/bottom-bar.client.tsx +2 -2
- package/src/components/layouts/admin-layout.tsx +13 -0
- package/src/components/layouts/admin-loading.tsx +1 -1
- package/src/components/layouts/not-found-page.tsx +9 -1
- package/src/components/layouts/not-found-section.tsx +10 -5
- package/src/components/layouts/root-loading.tsx +9 -0
- package/src/components/{layouts → navigation}/admin-sidebar-header.client.tsx +11 -6
- package/src/components/navigation/admin-sidebar-paths.client.tsx +190 -0
- package/src/components/navigation/admin-sidebar-skeleton.tsx +44 -0
- package/src/components/navigation/admin-sidebar.client.tsx +123 -0
- package/src/components/ui/spinner.tsx +51 -0
- package/src/modules/auth/components/allowed.client.tsx +1 -1
- package/src/modules/auth/components/auth-layout.server.tsx +2 -10
- package/src/modules/auth/components/auth-loading.tsx +11 -0
- package/src/modules/auth/components/guard.client.tsx +12 -0
- package/src/modules/auth/components/login-page.client.tsx +45 -37
- package/src/modules/auth/entry.client.ts +2 -0
- package/src/modules/auth/entry.server.ts +1 -1
- package/src/modules/auth/entry.ts +1 -0
- package/src/modules/auth/handler/proxy.server.ts +28 -0
- package/src/modules/auth/handler/server.server.ts +5 -0
- package/src/modules/auth/hooks/{use-permission.client.ts → use-permission.ts} +4 -2
- package/src/modules/auth/hooks/use-session.ts +18 -0
- package/src/modules/auth/lib/helpers.server.ts +1 -5
- package/src/modules/auth/lib/validators.ts +1 -1
- package/src/modules/commands/hooks/use-command-menu.client.tsx +6 -7
- package/src/modules/commands/menus/dropdown-menu.client.tsx +11 -2
- package/src/modules/commands/menus/inline-menu.client.tsx +14 -1
- package/src/modules/commands/menus/responsive-menu.client.tsx +11 -2
- package/src/modules/config/entry.server.ts +1 -2
- package/src/modules/config/entry.ts +3 -0
- package/src/modules/config/lib/config.server.ts +1 -2
- package/src/modules/config/lib/router.server.ts +64 -0
- package/src/modules/config/paths/helpers.ts +6 -0
- package/src/modules/config/paths/types.ts +26 -38
- package/src/modules/data-tables/components/filters/combobox.client.tsx +1 -1
- package/src/modules/data-tables/tables/inline-table/hooks/use-input.client.ts +1 -1
- package/src/modules/inline-edit/hooks/use-inline.client.tsx +1 -1
- package/dist/components/layouts/admin-layout.server.d.ts +0 -14
- package/dist/components/layouts/admin-layout.server.d.ts.map +0 -1
- package/dist/components/layouts/admin-layout.server.js +0 -26
- package/dist/components/layouts/admin-layout.server.js.map +0 -1
- package/dist/components/layouts/admin-sidebar-context.client.js +0 -28
- package/dist/components/layouts/admin-sidebar-context.client.js.map +0 -1
- package/dist/components/layouts/admin-sidebar-header.client.js.map +0 -1
- package/dist/components/layouts/admin-sidebar.client.js +0 -51
- package/dist/components/layouts/admin-sidebar.client.js.map +0 -1
- package/dist/modules/auth/components/allowed.server.d.ts +0 -23
- package/dist/modules/auth/components/allowed.server.d.ts.map +0 -1
- package/dist/modules/auth/components/allowed.server.js +0 -24
- package/dist/modules/auth/components/allowed.server.js.map +0 -1
- package/dist/modules/auth/hooks/use-permission.client.js.map +0 -1
- package/dist/modules/config/paths/create.server.d.ts +0 -14
- package/dist/modules/config/paths/create.server.d.ts.map +0 -1
- package/dist/modules/config/paths/create.server.js +0 -12
- package/dist/modules/config/paths/create.server.js.map +0 -1
- package/dist/modules/config/paths/get.server.js +0 -47
- package/dist/modules/config/paths/get.server.js.map +0 -1
- package/src/components/layouts/admin-layout.server.tsx +0 -31
- package/src/components/layouts/admin-sidebar-context.client.tsx +0 -34
- package/src/components/layouts/admin-sidebar.client.tsx +0 -88
- package/src/modules/auth/components/allowed.server.tsx +0 -41
- package/src/modules/config/paths/create.server.ts +0 -10
- package/src/modules/config/paths/get.server.ts +0 -69
package/dist/auth/client.d.ts
CHANGED
|
@@ -4,4 +4,6 @@ import { LoginPage } from "../modules/auth/components/login-page.client.js";
|
|
|
4
4
|
import { ResetPasswordPage } from "../modules/auth/components/reset-password-page.client.js";
|
|
5
5
|
import { UpdatePasswordCommand, UpdatePasswordCommandProps, UpdatePasswordCommandTrigger } from "../modules/auth/components/update-password-command.js";
|
|
6
6
|
import { ClientAuth, ClientSession, authClient } from "../modules/auth/handler/client.client.js";
|
|
7
|
-
|
|
7
|
+
import { usePermission } from "../modules/auth/hooks/use-permission.js";
|
|
8
|
+
import { useSession } from "../modules/auth/hooks/use-session.js";
|
|
9
|
+
export { Allowed, ClientAuth, ClientSession, ForgetPasswordPage, LoginPage, ResetPasswordPage, UpdatePasswordCommand, UpdatePasswordCommandProps, UpdatePasswordCommandTrigger, authClient, usePermission, useSession };
|
package/dist/auth/client.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { authClient } from "../modules/auth/handler/client.client.js";
|
|
2
|
-
import { Allowed } from "../modules/auth/components/allowed.client.js";
|
|
3
2
|
import { ForgetPasswordPage } from "../modules/auth/components/forget-password-page.client.js";
|
|
4
3
|
import { LoginPage } from "../modules/auth/components/login-page.client.js";
|
|
5
4
|
import { ResetPasswordPage } from "../modules/auth/components/reset-password-page.client.js";
|
|
6
5
|
import { UpdatePasswordCommand, UpdatePasswordCommandTrigger } from "../modules/auth/components/update-password-command.js";
|
|
6
|
+
import { useSession } from "../modules/auth/hooks/use-session.js";
|
|
7
|
+
import { usePermission } from "../modules/auth/hooks/use-permission.js";
|
|
8
|
+
import { Allowed } from "../modules/auth/components/allowed.client.js";
|
|
7
9
|
|
|
8
|
-
export { Allowed, ForgetPasswordPage, LoginPage, ResetPasswordPage, UpdatePasswordCommand, UpdatePasswordCommandTrigger, authClient };
|
|
10
|
+
export { Allowed, ForgetPasswordPage, LoginPage, ResetPasswordPage, UpdatePasswordCommand, UpdatePasswordCommandTrigger, authClient, usePermission, useSession };
|
package/dist/auth/server.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Allowed } from "../modules/auth/components/allowed.server.js";
|
|
2
1
|
import { AuthLayout } from "../modules/auth/components/auth-layout.server.js";
|
|
2
|
+
import { createAuthProxy } from "../modules/auth/handler/proxy.server.js";
|
|
3
3
|
import { handleAuthRoute } from "../modules/auth/handler/route.server.js";
|
|
4
4
|
import { createUser, getSession, updateUser } from "../modules/auth/lib/helpers.server.js";
|
|
5
|
-
export {
|
|
5
|
+
export { AuthLayout, createAuthProxy, createUser, getSession, handleAuthRoute, updateUser };
|
package/dist/auth/server.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createUser, getSession, updateUser } from "../modules/auth/lib/helpers.server.js";
|
|
2
|
-
import { Allowed } from "../modules/auth/components/allowed.server.js";
|
|
3
1
|
import { AuthLayout } from "../modules/auth/components/auth-layout.server.js";
|
|
2
|
+
import { createAuthProxy } from "../modules/auth/handler/proxy.server.js";
|
|
4
3
|
import { handleAuthRoute } from "../modules/auth/handler/route.server.js";
|
|
4
|
+
import { createUser, getSession, updateUser } from "../modules/auth/lib/helpers.server.js";
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { AuthLayout, createAuthProxy, createUser, getSession, handleAuthRoute, updateUser };
|
package/dist/auth.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Permission, Role, adminAc, createAccessControl, createStatements, defaultStatements } from "./modules/auth/lib/permissions.js";
|
|
2
|
+
import { AuthLoading } from "./modules/auth/components/auth-loading.js";
|
|
2
3
|
import { accounts, sessions, users, verifications } from "./modules/auth/db/schema.js";
|
|
3
4
|
import { CreateUserSchema, UpdatePasswordSchema, UpdateUserSchema, User, createUserSchema, forgotPasswordSchema, loginSchema, resetPasswordSchema, updatePasswordSchema, updateUserSchema } from "./modules/auth/lib/validators.js";
|
|
4
|
-
export { CreateUserSchema, Permission, Role, UpdatePasswordSchema, UpdateUserSchema, User, accounts, adminAc, createAccessControl, createStatements, createUserSchema, defaultStatements, forgotPasswordSchema, loginSchema, resetPasswordSchema, sessions, updatePasswordSchema, updateUserSchema, users, verifications };
|
|
5
|
+
export { AuthLoading, CreateUserSchema, Permission, Role, UpdatePasswordSchema, UpdateUserSchema, User, accounts, adminAc, createAccessControl, createStatements, createUserSchema, defaultStatements, forgotPasswordSchema, loginSchema, resetPasswordSchema, sessions, updatePasswordSchema, updateUserSchema, users, verifications };
|
package/dist/auth.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { accounts, sessions, users, verifications } from "./modules/auth/db/schema.js";
|
|
2
|
-
import { adminAc, createAccessControl, createStatements, defaultStatements } from "./modules/auth/lib/permissions.js";
|
|
3
2
|
import { createUserSchema, forgotPasswordSchema, loginSchema, resetPasswordSchema, updatePasswordSchema, updateUserSchema } from "./modules/auth/lib/validators.js";
|
|
3
|
+
import { AuthLoading } from "./modules/auth/components/auth-loading.js";
|
|
4
|
+
import { adminAc, createAccessControl, createStatements, defaultStatements } from "./modules/auth/lib/permissions.js";
|
|
4
5
|
|
|
5
|
-
export { accounts, adminAc, createAccessControl, createStatements, createUserSchema, defaultStatements, forgotPasswordSchema, loginSchema, resetPasswordSchema, sessions, updatePasswordSchema, updateUserSchema, users, verifications };
|
|
6
|
+
export { AuthLoading, accounts, adminAc, createAccessControl, createStatements, createUserSchema, defaultStatements, forgotPasswordSchema, loginSchema, resetPasswordSchema, sessions, updatePasswordSchema, updateUserSchema, users, verifications };
|
|
@@ -7,10 +7,10 @@ import { CommandDialog, CommandDialogContent, CommandDialogDescription, CommandD
|
|
|
7
7
|
import { CommandDropdown, CommandDropdownContent, CommandDropdownItem, CommandDropdownProps, CommandDropdownTrigger } from "../modules/commands/components/dropdown-command.client.js";
|
|
8
8
|
import { CommandEmpty, CommandEmptyProps } from "../modules/commands/components/empty-command.client.js";
|
|
9
9
|
import { ContextCommandMenu, ContextCommandMenuContent, ContextCommandMenuTrigger } from "../modules/commands/menus/context-menu.client.js";
|
|
10
|
-
import { DropdownCommandMenu } from "../modules/commands/menus/dropdown-menu.client.js";
|
|
11
|
-
import { InlineCommandMenu, InlineCommandMenuProps } from "../modules/commands/menus/inline-menu.client.js";
|
|
12
|
-
import { ResponsiveCommandMenu } from "../modules/commands/menus/responsive-menu.client.js";
|
|
10
|
+
import { DropdownCommandMenu, DropdownCommandMenuLoading } from "../modules/commands/menus/dropdown-menu.client.js";
|
|
11
|
+
import { InlineCommandMenu, InlineCommandMenuLoading, InlineCommandMenuProps } from "../modules/commands/menus/inline-menu.client.js";
|
|
12
|
+
import { ResponsiveCommandMenu, ResponsiveCommandMenuLoading } from "../modules/commands/menus/responsive-menu.client.js";
|
|
13
13
|
import { ArchiveCommand, ArchiveCommandProps, RestoreCommand } from "../modules/commands/utils/archive-command.client.js";
|
|
14
14
|
import { DeleteCommand, DeleteCommandProps } from "../modules/commands/utils/delete-command.client.js";
|
|
15
15
|
import { SendMailCommand, SendMailCommandMeta, SendMailCommandProps, SendMailCommandTrigger } from "../modules/commands/utils/send-mail-command.client.js";
|
|
16
|
-
export { ArchiveCommand, ArchiveCommandProps, BulkCommandAction, CommandAction, CommandActionResult, CommandAlertDialog, CommandAlertDialogAction, CommandAlertDialogCancel, CommandAlertDialogContent, CommandAlertDialogDescription, CommandAlertDialogFooter, CommandAlertDialogHeader, CommandAlertDialogTitle, CommandAlertDialogTrigger, CommandClick, CommandClickProps, CommandDialog, CommandDialogContent, CommandDialogDescription, CommandDialogFooter, CommandDialogHeader, CommandDialogTitle, CommandDialogTrigger, CommandDropdown, CommandDropdownContent, CommandDropdownItem, CommandDropdownProps, CommandDropdownTrigger, CommandEmpty, CommandEmptyProps, CommandFormDialog, CommandFormDialogCancel, CommandFormDialogContent, CommandFormDialogContentProps, CommandFormDialogContentProvider, CommandFormDialogDescription, CommandFormDialogFields, CommandFormDialogFooter, CommandFormDialogHeader, CommandFormDialogSubmit, CommandFormDialogTitle, CommandFormDialogTrigger, CommandIcon, CommandLabel, CommandTrigger, CommandTriggerContext, ContextCommandMenu, ContextCommandMenuContent, ContextCommandMenuTrigger, DeleteCommand, DeleteCommandProps, DropdownCommandMenu, InlineCommandMenu, InlineCommandMenuProps, ResponsiveCommandMenu, RestoreCommand, SendMailCommand, SendMailCommandMeta, SendMailCommandProps, SendMailCommandTrigger, useCommandAction, useCommandAction2 };
|
|
16
|
+
export { ArchiveCommand, ArchiveCommandProps, BulkCommandAction, CommandAction, CommandActionResult, CommandAlertDialog, CommandAlertDialogAction, CommandAlertDialogCancel, CommandAlertDialogContent, CommandAlertDialogDescription, CommandAlertDialogFooter, CommandAlertDialogHeader, CommandAlertDialogTitle, CommandAlertDialogTrigger, CommandClick, CommandClickProps, CommandDialog, CommandDialogContent, CommandDialogDescription, CommandDialogFooter, CommandDialogHeader, CommandDialogTitle, CommandDialogTrigger, CommandDropdown, CommandDropdownContent, CommandDropdownItem, CommandDropdownProps, CommandDropdownTrigger, CommandEmpty, CommandEmptyProps, CommandFormDialog, CommandFormDialogCancel, CommandFormDialogContent, CommandFormDialogContentProps, CommandFormDialogContentProvider, CommandFormDialogDescription, CommandFormDialogFields, CommandFormDialogFooter, CommandFormDialogHeader, CommandFormDialogSubmit, CommandFormDialogTitle, CommandFormDialogTrigger, CommandIcon, CommandLabel, CommandTrigger, CommandTriggerContext, ContextCommandMenu, ContextCommandMenuContent, ContextCommandMenuTrigger, DeleteCommand, DeleteCommandProps, DropdownCommandMenu, DropdownCommandMenuLoading, InlineCommandMenu, InlineCommandMenuLoading, InlineCommandMenuProps, ResponsiveCommandMenu, ResponsiveCommandMenuLoading, RestoreCommand, SendMailCommand, SendMailCommandMeta, SendMailCommandProps, SendMailCommandTrigger, useCommandAction, useCommandAction2 };
|
package/dist/commands/client.js
CHANGED
|
@@ -7,11 +7,11 @@ import { CommandDialog, CommandDialogContent, CommandDialogDescription, CommandD
|
|
|
7
7
|
import { CommandDropdown, CommandDropdownContent, CommandDropdownItem, CommandDropdownTrigger } from "../modules/commands/components/dropdown-command.client.js";
|
|
8
8
|
import { CommandEmpty } from "../modules/commands/components/empty-command.client.js";
|
|
9
9
|
import { ContextCommandMenu, ContextCommandMenuContent, ContextCommandMenuTrigger } from "../modules/commands/menus/context-menu.client.js";
|
|
10
|
-
import { DropdownCommandMenu } from "../modules/commands/menus/dropdown-menu.client.js";
|
|
11
|
-
import { InlineCommandMenu } from "../modules/commands/menus/inline-menu.client.js";
|
|
12
|
-
import { ResponsiveCommandMenu } from "../modules/commands/menus/responsive-menu.client.js";
|
|
10
|
+
import { DropdownCommandMenu, DropdownCommandMenuLoading } from "../modules/commands/menus/dropdown-menu.client.js";
|
|
11
|
+
import { InlineCommandMenu, InlineCommandMenuLoading } from "../modules/commands/menus/inline-menu.client.js";
|
|
12
|
+
import { ResponsiveCommandMenu, ResponsiveCommandMenuLoading } from "../modules/commands/menus/responsive-menu.client.js";
|
|
13
13
|
import { ArchiveCommand, RestoreCommand } from "../modules/commands/utils/archive-command.client.js";
|
|
14
14
|
import { DeleteCommand } from "../modules/commands/utils/delete-command.client.js";
|
|
15
15
|
import { SendMailCommand, SendMailCommandTrigger } from "../modules/commands/utils/send-mail-command.client.js";
|
|
16
16
|
|
|
17
|
-
export { ArchiveCommand, CommandAlertDialog, CommandAlertDialogAction, CommandAlertDialogCancel, CommandAlertDialogContent, CommandAlertDialogDescription, CommandAlertDialogFooter, CommandAlertDialogHeader, CommandAlertDialogTitle, CommandAlertDialogTrigger, CommandClick, CommandDialog, CommandDialogContent, CommandDialogDescription, CommandDialogFooter, CommandDialogHeader, CommandDialogTitle, CommandDialogTrigger, CommandDropdown, CommandDropdownContent, CommandDropdownItem, CommandDropdownTrigger, CommandEmpty, CommandFormDialog, CommandFormDialogCancel, CommandFormDialogContent, CommandFormDialogContentProvider, CommandFormDialogDescription, CommandFormDialogFields, CommandFormDialogFooter, CommandFormDialogHeader, CommandFormDialogSubmit, CommandFormDialogTitle, CommandFormDialogTrigger, CommandIcon, CommandLabel, CommandTrigger, CommandTriggerContext, ContextCommandMenu, ContextCommandMenuContent, ContextCommandMenuTrigger, DeleteCommand, DropdownCommandMenu, InlineCommandMenu, ResponsiveCommandMenu, RestoreCommand, SendMailCommand, SendMailCommandTrigger, useCommandAction, useCommandAction2 };
|
|
17
|
+
export { ArchiveCommand, CommandAlertDialog, CommandAlertDialogAction, CommandAlertDialogCancel, CommandAlertDialogContent, CommandAlertDialogDescription, CommandAlertDialogFooter, CommandAlertDialogHeader, CommandAlertDialogTitle, CommandAlertDialogTrigger, CommandClick, CommandDialog, CommandDialogContent, CommandDialogDescription, CommandDialogFooter, CommandDialogHeader, CommandDialogTitle, CommandDialogTrigger, CommandDropdown, CommandDropdownContent, CommandDropdownItem, CommandDropdownTrigger, CommandEmpty, CommandFormDialog, CommandFormDialogCancel, CommandFormDialogContent, CommandFormDialogContentProvider, CommandFormDialogDescription, CommandFormDialogFields, CommandFormDialogFooter, CommandFormDialogHeader, CommandFormDialogSubmit, CommandFormDialogTitle, CommandFormDialogTrigger, CommandIcon, CommandLabel, CommandTrigger, CommandTriggerContext, ContextCommandMenu, ContextCommandMenuContent, ContextCommandMenuTrigger, DeleteCommand, DropdownCommandMenu, DropdownCommandMenuLoading, InlineCommandMenu, InlineCommandMenuLoading, ResponsiveCommandMenu, ResponsiveCommandMenuLoading, RestoreCommand, SendMailCommand, SendMailCommandTrigger, useCommandAction, useCommandAction2 };
|
|
@@ -9,7 +9,11 @@ import { HeaderBreadcrumb, HeaderBreadcrumbProps, HeaderBreadcrumbSeparator, Hea
|
|
|
9
9
|
import { Header } from "./header/header.client.js";
|
|
10
10
|
import { HeaderTopbarMobileNavSwitcher } from "./header/mobile-nav-switcher.client.js";
|
|
11
11
|
import { Topbar, TopbarProps, TopbarTitle, TopbarTitleProps, TopbarTools, TopbarToolsProps } from "./header/top-bar.client.js";
|
|
12
|
+
import { AdminContent } from "./layouts/admin-content.client.js";
|
|
12
13
|
import { Providers } from "./layouts/providers.client.js";
|
|
14
|
+
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./ui/tooltip.client.js";
|
|
15
|
+
import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from "./ui/sidebar.client.js";
|
|
16
|
+
import { Path, PathGroup, PathGroupItems, PathGroupTitle, PathItems, PathLink, PathSubItem, PathSubItemLink, Paths } from "./navigation/admin-sidebar-paths.client.js";
|
|
13
17
|
import { Avatar, AvatarFallback, AvatarImage } from "./ui/avatar.client.js";
|
|
14
18
|
import { ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent } from "./ui/chart.client.js";
|
|
15
19
|
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./ui/collapsible.client.js";
|
|
@@ -24,11 +28,9 @@ import { Progress } from "./ui/progress.client.js";
|
|
|
24
28
|
import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from "./ui/resizable.client.js";
|
|
25
29
|
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./ui/select.client.js";
|
|
26
30
|
import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from "./ui/sheet.client.js";
|
|
27
|
-
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./ui/tooltip.client.js";
|
|
28
|
-
import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from "./ui/sidebar.client.js";
|
|
29
31
|
import { Toaster, toast } from "./ui/sonner.client.js";
|
|
30
32
|
import { TimeInput } from "./ui/time-input.client.js";
|
|
31
33
|
import { TimePickerInput, TimePickerInputProps } from "./ui/time-picker-input.client.js";
|
|
32
34
|
import { ToggleGroup, ToggleGroupItem } from "./ui/toggle-group.client.js";
|
|
33
35
|
import { Tree, TreeDragLine, TreeItem, TreeItemLabel } from "./ui/tree.client.js";
|
|
34
|
-
export { Avatar, AvatarFallback, AvatarImage, BottomBar, BottomBarLink, BottomBarLinks, BottomBarLinksProps, BottomBarProps, ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, Combobox, ComboboxDropdown, ComboboxDropdownItem, ComboboxDropdownProps, ComboboxItem, ComboboxProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Editor, EditorContent, EditorContext, EditorContextProvider, EditorPreview, FixedMenu, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Header, HeaderBreadcrumb, HeaderBreadcrumbProps, HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList, HeaderTopbarBackButton, HeaderTopbarMobileNavSwitcher, HoverCard, HoverCardContent, HoverCardTrigger, Progress, Providers, ResizableHandle, ResizablePanel, ResizablePanelGroup, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, TimeInput, TimePickerInput, TimePickerInputProps, Toaster, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Topbar, TopbarProps, TopbarTitle, TopbarTitleProps, TopbarTools, TopbarToolsProps, Tree, TreeDragLine, TreeItem, TreeItemLabel, toast, useFormField, useSidebar };
|
|
36
|
+
export { AdminContent, Avatar, AvatarFallback, AvatarImage, BottomBar, BottomBarLink, BottomBarLinks, BottomBarLinksProps, BottomBarProps, ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, Combobox, ComboboxDropdown, ComboboxDropdownItem, ComboboxDropdownProps, ComboboxItem, ComboboxProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Editor, EditorContent, EditorContext, EditorContextProvider, EditorPreview, FixedMenu, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Header, HeaderBreadcrumb, HeaderBreadcrumbProps, HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList, HeaderTopbarBackButton, HeaderTopbarMobileNavSwitcher, HoverCard, HoverCardContent, HoverCardTrigger, Path, PathGroup, PathGroupItems, PathGroupTitle, PathItems, PathLink, PathSubItem, PathSubItemLink, Paths, Progress, Providers, ResizableHandle, ResizablePanel, ResizablePanelGroup, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, TimeInput, TimePickerInput, TimePickerInputProps, Toaster, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Topbar, TopbarProps, TopbarTitle, TopbarTitleProps, TopbarTools, TopbarToolsProps, Tree, TreeDragLine, TreeItem, TreeItemLabel, toast, useFormField, useSidebar };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from "./ui/form.client.js";
|
|
1
2
|
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./ui/dialog.client.js";
|
|
2
3
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./ui/tooltip.client.js";
|
|
3
4
|
import { EditorContext, EditorContextProvider } from "./editor/context.client.js";
|
|
@@ -12,24 +13,25 @@ import { HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopL
|
|
|
12
13
|
import { Header } from "./header/header.client.js";
|
|
13
14
|
import { HeaderTopbarMobileNavSwitcher } from "./header/mobile-nav-switcher.client.js";
|
|
14
15
|
import { Topbar, TopbarTitle, TopbarTools } from "./header/top-bar.client.js";
|
|
16
|
+
import { AdminContent } from "./layouts/admin-content.client.js";
|
|
15
17
|
import { Toaster, toast } from "./ui/sonner.client.js";
|
|
16
18
|
import { Providers } from "./layouts/providers.client.js";
|
|
19
|
+
import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from "./ui/sheet.client.js";
|
|
20
|
+
import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from "./ui/sidebar.client.js";
|
|
17
21
|
import { Avatar, AvatarFallback, AvatarImage } from "./ui/avatar.client.js";
|
|
22
|
+
import { Path, PathGroup, PathGroupItems, PathGroupTitle, PathItems, PathLink, PathSubItem, PathSubItemLink, Paths } from "./navigation/admin-sidebar-paths.client.js";
|
|
18
23
|
import { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent } from "./ui/chart.client.js";
|
|
19
24
|
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./ui/collapsible.client.js";
|
|
20
25
|
import { ComboboxDropdown } from "./ui/combobox-dropdown.client.js";
|
|
21
26
|
import { Combobox } from "./ui/combobox.client.js";
|
|
22
27
|
import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from "./ui/drawer.client.js";
|
|
23
|
-
import { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from "./ui/form.client.js";
|
|
24
28
|
import { HoverCard, HoverCardContent, HoverCardTrigger } from "./ui/hover-card.client.js";
|
|
25
29
|
import { Progress } from "./ui/progress.client.js";
|
|
26
30
|
import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from "./ui/resizable.client.js";
|
|
27
31
|
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./ui/select.client.js";
|
|
28
|
-
import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from "./ui/sheet.client.js";
|
|
29
|
-
import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from "./ui/sidebar.client.js";
|
|
30
32
|
import { TimePickerInput } from "./ui/time-picker-input.client.js";
|
|
31
33
|
import { TimeInput } from "./ui/time-input.client.js";
|
|
32
34
|
import { ToggleGroup, ToggleGroupItem } from "./ui/toggle-group.client.js";
|
|
33
35
|
import { Tree, TreeDragLine, TreeItem, TreeItemLabel } from "./ui/tree.client.js";
|
|
34
36
|
|
|
35
|
-
export { Avatar, AvatarFallback, AvatarImage, BottomBar, BottomBarLinks, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, Combobox, ComboboxDropdown, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Editor, EditorContent, EditorContext, EditorContextProvider, EditorPreview, FixedMenu, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Header, HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList, HeaderTopbarBackButton, HeaderTopbarMobileNavSwitcher, HoverCard, HoverCardContent, HoverCardTrigger, Progress, Providers, ResizableHandle, ResizablePanel, ResizablePanelGroup, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, TimeInput, TimePickerInput, Toaster, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Topbar, TopbarTitle, TopbarTools, Tree, TreeDragLine, TreeItem, TreeItemLabel, toast, useFormField, useSidebar };
|
|
37
|
+
export { AdminContent, Avatar, AvatarFallback, AvatarImage, BottomBar, BottomBarLinks, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, Combobox, ComboboxDropdown, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Editor, EditorContent, EditorContext, EditorContextProvider, EditorPreview, FixedMenu, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Header, HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList, HeaderTopbarBackButton, HeaderTopbarMobileNavSwitcher, HoverCard, HoverCardContent, HoverCardTrigger, Path, PathGroup, PathGroupItems, PathGroupTitle, PathItems, PathLink, PathSubItem, PathSubItemLink, Paths, Progress, Providers, ResizableHandle, ResizablePanel, ResizablePanelGroup, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, TimeInput, TimePickerInput, Toaster, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Topbar, TopbarTitle, TopbarTools, Tree, TreeDragLine, TreeItem, TreeItemLabel, toast, useFormField, useSidebar };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LucideIcon, LucideProps } from "lucide-react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime240 from "react/jsx-runtime";
|
|
3
3
|
import * as react1 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/common/icons.d.ts
|
|
@@ -24,6 +24,7 @@ declare const Icons: {
|
|
|
24
24
|
edit: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
|
|
25
25
|
warning: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
|
|
26
26
|
user: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
|
|
27
|
+
users: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
|
|
27
28
|
arrowUp: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
|
|
28
29
|
arrowDown: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
|
|
29
30
|
arrowRight: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
|
|
@@ -39,6 +40,8 @@ declare const Icons: {
|
|
|
39
40
|
preview: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
|
|
40
41
|
externalLink: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
|
|
41
42
|
sun: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
|
|
43
|
+
lock: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
|
|
44
|
+
unLock: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
|
|
42
45
|
moon: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
|
|
43
46
|
search: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
|
|
44
47
|
laptop: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
|
|
@@ -50,7 +53,7 @@ declare const Icons: {
|
|
|
50
53
|
regulations: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
|
|
51
54
|
home: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
|
|
52
55
|
building: react1.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react1.RefAttributes<SVGSVGElement>>;
|
|
53
|
-
logo: (props: LucideProps) =>
|
|
56
|
+
logo: (props: LucideProps) => react_jsx_runtime240.JSX.Element;
|
|
54
57
|
};
|
|
55
58
|
//#endregion
|
|
56
59
|
export { Icon, Icons };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","names":[],"sources":["../../../src/components/common/icons.tsx"],"sourcesContent":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"icons.d.ts","names":[],"sources":["../../../src/components/common/icons.tsx"],"sourcesContent":[],"mappings":";;;;;KAqDY,IAAA,GAAO;cAEN;;;EAFD,OAAI,kCAAa,KAAA,YAAA,EAAA,KAAA,CAAA,uBAAA,cAAA,CAAA,CAAA;EAEhB,WA6GZ,kCAAA,KAAA,YAAA,EAAA,KAAA,CAAA,uBAAA,cAAA,CAAA,CAAA;EAAA,YAAA,kCAAA,KAAA,YAAA,EAAA,KAAA,CAAA,uBAAA,cAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA5De,gBAAW,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AlertTriangle, ArchiveIcon, ArchiveRestore, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, BuildingIcon, Check, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, ClipboardCheck, Copy, CreditCard, Download, ExternalLink, EyeIcon, File, FileText, HelpCircle, HomeIcon, Image, Laptop, LayoutDashboardIcon, Loader2, Moon, MoreVertical, MoveLeft, MoveRight, PenSquare, PencilRuler, Pizza, Plus, RefreshCcw, RotateCw, SaveIcon, ScrollTextIcon, Search, Settings, SunMedium, Trash, User, X } from "lucide-react";
|
|
1
|
+
import { AlertTriangle, ArchiveIcon, ArchiveRestore, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, BuildingIcon, Check, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, ClipboardCheck, Copy, CreditCard, Download, ExternalLink, EyeIcon, File, FileText, HelpCircle, HomeIcon, Image, Laptop, LayoutDashboardIcon, Loader2, LockKeyhole, LockKeyholeOpen, Moon, MoreVertical, MoveLeft, MoveRight, PenSquare, PencilRuler, Pizza, Plus, RefreshCcw, RotateCw, SaveIcon, ScrollTextIcon, Search, Settings, SunMedium, Trash, User, UsersIcon, X } from "lucide-react";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/common/icons.tsx
|
|
@@ -22,6 +22,7 @@ const Icons = {
|
|
|
22
22
|
edit: PenSquare,
|
|
23
23
|
warning: AlertTriangle,
|
|
24
24
|
user: User,
|
|
25
|
+
users: UsersIcon,
|
|
25
26
|
arrowUp: ArrowUp,
|
|
26
27
|
arrowDown: ArrowDown,
|
|
27
28
|
arrowRight: ArrowRight,
|
|
@@ -37,6 +38,8 @@ const Icons = {
|
|
|
37
38
|
preview: EyeIcon,
|
|
38
39
|
externalLink: ExternalLink,
|
|
39
40
|
sun: SunMedium,
|
|
41
|
+
lock: LockKeyhole,
|
|
42
|
+
unLock: LockKeyholeOpen,
|
|
40
43
|
moon: Moon,
|
|
41
44
|
search: Search,
|
|
42
45
|
laptop: Laptop,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.js","names":[],"sources":["../../../src/components/common/icons.tsx"],"sourcesContent":["import {\n AlertTriangle,\n ArchiveIcon,\n ArchiveRestore,\n ArrowDown,\n ArrowLeft,\n ArrowRight,\n ArrowUp,\n BuildingIcon,\n Check,\n ChevronDown,\n ChevronLeft,\n ChevronRight,\n ChevronUp,\n ClipboardCheck,\n Copy,\n CreditCard,\n Download,\n ExternalLink,\n EyeIcon,\n File,\n FileText,\n HelpCircle,\n HomeIcon,\n Image,\n Laptop,\n LayoutDashboardIcon,\n Loader2,\n Moon,\n MoreVertical,\n MoveLeft,\n MoveRight,\n PencilRuler,\n PenSquare,\n Pizza,\n Plus,\n RefreshCcw,\n RotateCw,\n SaveIcon,\n ScrollTextIcon,\n Search,\n Settings,\n SunMedium,\n Trash,\n User,\n X,\n type LucideIcon,\n type LucideProps,\n} from \"lucide-react\";\n\nexport type Icon = LucideIcon;\n\nexport const Icons = {\n close: X,\n save: SaveIcon,\n spinner: Loader2,\n chevronLeft: ChevronLeft,\n chevronRight: ChevronRight,\n chevronDown: ChevronDown,\n chevronUp: ChevronUp,\n trash: Trash,\n post: FileText,\n page: File,\n media: Image,\n download: Download,\n settings: Settings,\n billing: CreditCard,\n ellipsis: MoreVertical,\n add: Plus,\n edit: PenSquare,\n warning: AlertTriangle,\n user: User,\n arrowUp: ArrowUp,\n arrowDown: ArrowDown,\n arrowRight: ArrowRight,\n arrowLeft: ArrowLeft,\n moveLeft: MoveLeft,\n moveRight: MoveRight,\n help: HelpCircle,\n pizza: Pizza,\n check: Check,\n copy: Copy,\n copyDone: ClipboardCheck,\n refresh: RotateCw,\n preview: EyeIcon,\n externalLink: ExternalLink,\n sun: SunMedium,\n moon: Moon,\n search: Search,\n laptop: Laptop,\n active: RefreshCcw,\n draft: PencilRuler,\n archive: ArchiveIcon,\n restore: ArchiveRestore,\n dashboard: LayoutDashboardIcon,\n regulations: ScrollTextIcon,\n home: HomeIcon,\n building: BuildingIcon,\n logo: (props: LucideProps) => (\n <svg viewBox=\"0 0 120.09 141.73\" {...props}>\n <title>Tulip Logo Icon</title>\n <defs>\n <linearGradient\n id=\"tulip-logo-icon-gradient\"\n x1=\"60.5\"\n y1=\"0\"\n x2=\"60.5\"\n y2=\"141.73\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#ffc754\" />\n <stop offset=\"1\" stopColor=\"#ff1800\" />\n </linearGradient>\n <linearGradient\n id=\"tulip-logo-icon-gradient-2\"\n x1=\"72.4\"\n y1=\"5.81\"\n x2=\"72.4\"\n y2=\"141.73\"\n xlinkHref=\"#tulip-logo-icon-gradient\"\n />\n <linearGradient\n id=\"tulip-logo-icon-gradient-3\"\n x1=\"47.69\"\n y1=\"5.81\"\n x2=\"47.69\"\n y2=\"141.73\"\n xlinkHref=\"#tulip-logo-icon-gradient\"\n />\n </defs>\n\n <g>\n <g>\n <path\n d=\"M107.88,93.09c0-35.95-47.38-93.09-47.38-93.09,0,0-47.39,57.14-47.38,93.09,0,26.17,21.21,48.64,47.38,48.64,26.17,0,47.39-22.47,47.38-48.64Z\"\n style={{\n fill: \"url(#tulip-logo-icon-gradient)\",\n opacity: 0.75,\n }}\n />\n <path\n d=\"M116.68,109.5c12.3-33.78-12.69-103.68-12.69-103.68,0,0-64.07,37.49-76.37,71.27-8.95,24.59,3.3,52.97,27.89,61.92,24.59,8.95,52.21-4.91,61.16-29.5Z\"\n style={{\n fill: \"url(#tulip-logo-icon-gradient-2)\",\n opacity: 0.75,\n }}\n />\n <path\n d=\"M92.46,77.09C80.16,43.3,16.09,5.81,16.09,5.81c0,0-24.98,69.9-12.69,103.68,8.95,24.59,36.57,38.45,61.16,29.5,24.59-8.95,36.84-37.32,27.89-61.92Z\"\n style={{\n fill: \"url(#tulip-logo-icon-gradient-3)\",\n opacity: 0.75,\n }}\n />\n </g>\n </g>\n </svg>\n ),\n};\n"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"icons.js","names":[],"sources":["../../../src/components/common/icons.tsx"],"sourcesContent":["import {\n AlertTriangle,\n ArchiveIcon,\n ArchiveRestore,\n ArrowDown,\n ArrowLeft,\n ArrowRight,\n ArrowUp,\n BuildingIcon,\n Check,\n ChevronDown,\n ChevronLeft,\n ChevronRight,\n ChevronUp,\n ClipboardCheck,\n Copy,\n CreditCard,\n Download,\n ExternalLink,\n EyeIcon,\n File,\n FileText,\n HelpCircle,\n HomeIcon,\n Image,\n Laptop,\n LayoutDashboardIcon,\n Loader2,\n LockKeyhole,\n LockKeyholeOpen,\n Moon,\n MoreVertical,\n MoveLeft,\n MoveRight,\n PencilRuler,\n PenSquare,\n Pizza,\n Plus,\n RefreshCcw,\n RotateCw,\n SaveIcon,\n ScrollTextIcon,\n Search,\n Settings,\n SunMedium,\n Trash,\n User,\n UsersIcon,\n X,\n type LucideIcon,\n type LucideProps,\n} from \"lucide-react\";\n\nexport type Icon = LucideIcon;\n\nexport const Icons = {\n close: X,\n save: SaveIcon,\n spinner: Loader2,\n chevronLeft: ChevronLeft,\n chevronRight: ChevronRight,\n chevronDown: ChevronDown,\n chevronUp: ChevronUp,\n trash: Trash,\n post: FileText,\n page: File,\n media: Image,\n download: Download,\n settings: Settings,\n billing: CreditCard,\n ellipsis: MoreVertical,\n add: Plus,\n edit: PenSquare,\n warning: AlertTriangle,\n user: User,\n users: UsersIcon,\n arrowUp: ArrowUp,\n arrowDown: ArrowDown,\n arrowRight: ArrowRight,\n arrowLeft: ArrowLeft,\n moveLeft: MoveLeft,\n moveRight: MoveRight,\n help: HelpCircle,\n pizza: Pizza,\n check: Check,\n copy: Copy,\n copyDone: ClipboardCheck,\n refresh: RotateCw,\n preview: EyeIcon,\n externalLink: ExternalLink,\n sun: SunMedium,\n lock: LockKeyhole,\n unLock: LockKeyholeOpen,\n moon: Moon,\n search: Search,\n laptop: Laptop,\n active: RefreshCcw,\n draft: PencilRuler,\n archive: ArchiveIcon,\n restore: ArchiveRestore,\n dashboard: LayoutDashboardIcon,\n regulations: ScrollTextIcon,\n home: HomeIcon,\n building: BuildingIcon,\n logo: (props: LucideProps) => (\n <svg viewBox=\"0 0 120.09 141.73\" {...props}>\n <title>Tulip Logo Icon</title>\n <defs>\n <linearGradient\n id=\"tulip-logo-icon-gradient\"\n x1=\"60.5\"\n y1=\"0\"\n x2=\"60.5\"\n y2=\"141.73\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#ffc754\" />\n <stop offset=\"1\" stopColor=\"#ff1800\" />\n </linearGradient>\n <linearGradient\n id=\"tulip-logo-icon-gradient-2\"\n x1=\"72.4\"\n y1=\"5.81\"\n x2=\"72.4\"\n y2=\"141.73\"\n xlinkHref=\"#tulip-logo-icon-gradient\"\n />\n <linearGradient\n id=\"tulip-logo-icon-gradient-3\"\n x1=\"47.69\"\n y1=\"5.81\"\n x2=\"47.69\"\n y2=\"141.73\"\n xlinkHref=\"#tulip-logo-icon-gradient\"\n />\n </defs>\n\n <g>\n <g>\n <path\n d=\"M107.88,93.09c0-35.95-47.38-93.09-47.38-93.09,0,0-47.39,57.14-47.38,93.09,0,26.17,21.21,48.64,47.38,48.64,26.17,0,47.39-22.47,47.38-48.64Z\"\n style={{\n fill: \"url(#tulip-logo-icon-gradient)\",\n opacity: 0.75,\n }}\n />\n <path\n d=\"M116.68,109.5c12.3-33.78-12.69-103.68-12.69-103.68,0,0-64.07,37.49-76.37,71.27-8.95,24.59,3.3,52.97,27.89,61.92,24.59,8.95,52.21-4.91,61.16-29.5Z\"\n style={{\n fill: \"url(#tulip-logo-icon-gradient-2)\",\n opacity: 0.75,\n }}\n />\n <path\n d=\"M92.46,77.09C80.16,43.3,16.09,5.81,16.09,5.81c0,0-24.98,69.9-12.69,103.68,8.95,24.59,36.57,38.45,61.16,29.5,24.59-8.95,36.84-37.32,27.89-61.92Z\"\n style={{\n fill: \"url(#tulip-logo-icon-gradient-3)\",\n opacity: 0.75,\n }}\n />\n </g>\n </g>\n </svg>\n ),\n};\n"],"mappings":";;;;AAuDA,MAAa,QAAQ;CACnB,OAAO;CACP,MAAM;CACN,SAAS;CACT,aAAa;CACb,cAAc;CACd,aAAa;CACb,WAAW;CACX,OAAO;CACP,MAAM;CACN,MAAM;CACN,OAAO;CACP,UAAU;CACV,UAAU;CACV,SAAS;CACT,UAAU;CACV,KAAK;CACL,MAAM;CACN,SAAS;CACT,MAAM;CACN,OAAO;CACP,SAAS;CACT,WAAW;CACX,YAAY;CACZ,WAAW;CACX,UAAU;CACV,WAAW;CACX,MAAM;CACN,OAAO;CACP,OAAO;CACP,MAAM;CACN,UAAU;CACV,SAAS;CACT,SAAS;CACT,cAAc;CACd,KAAK;CACL,MAAM;CACN,QAAQ;CACR,MAAM;CACN,QAAQ;CACR,QAAQ;CACR,QAAQ;CACR,OAAO;CACP,SAAS;CACT,SAAS;CACT,WAAW;CACX,aAAa;CACb,MAAM;CACN,UAAU;CACV,OAAO,UACL,qBAAC;EAAI,SAAQ;EAAoB,GAAI;;GACnC,oBAAC,qBAAM,oBAAuB;GAC9B,qBAAC;IACC,qBAAC;KACC,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,eAAc;gBAEd,oBAAC;MAAK,QAAO;MAAI,WAAU;OAAY,EACvC,oBAAC;MAAK,QAAO;MAAI,WAAU;OAAY;MACxB;IACjB,oBAAC;KACC,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,WAAU;MACV;IACF,oBAAC;KACC,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,WAAU;MACV;OACG;GAEP,oBAAC,iBACC,qBAAC;IACC,oBAAC;KACC,GAAE;KACF,OAAO;MACL,MAAM;MACN,SAAS;MACV;MACD;IACF,oBAAC;KACC,GAAE;KACF,OAAO;MACL,MAAM;MACN,SAAS;MACV;MACD;IACF,oBAAC;KACC,GAAE;KACF,OAAO;MACL,MAAM;MACN,SAAS;MACV;MACD;OACA,GACF;;GACA;CAET"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConfigWithIcon } from "../../lib/types/config.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime241 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/common/status.d.ts
|
|
5
5
|
/**
|
|
@@ -43,11 +43,11 @@ type StatusComponentProps<TStatus extends string> = {
|
|
|
43
43
|
/**
|
|
44
44
|
* Status column
|
|
45
45
|
*/
|
|
46
|
-
declare function StatusField<TStatus extends string>(props: StatusComponentProps<TStatus>):
|
|
46
|
+
declare function StatusField<TStatus extends string>(props: StatusComponentProps<TStatus>): react_jsx_runtime241.JSX.Element;
|
|
47
47
|
/**
|
|
48
48
|
* Status badge
|
|
49
49
|
*/
|
|
50
|
-
declare function StatusBadge<TStatus extends string>(props: StatusComponentProps<TStatus>):
|
|
50
|
+
declare function StatusBadge<TStatus extends string>(props: StatusComponentProps<TStatus>): react_jsx_runtime241.JSX.Element;
|
|
51
51
|
//#endregion
|
|
52
52
|
export { CreateStatusComponentProps, StatusBadge, StatusField, createStatusConfig, createStatusVariants, findStatus };
|
|
53
53
|
//# sourceMappingURL=status.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime106 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/editor/components/content.client.d.ts
|
|
4
|
-
declare function EditorContent():
|
|
4
|
+
declare function EditorContent(): react_jsx_runtime106.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { EditorContent };
|
|
7
7
|
//# sourceMappingURL=content.client.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime107 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/editor/components/fixed-menu.client.d.ts
|
|
4
|
-
declare function FixedMenu():
|
|
4
|
+
declare function FixedMenu(): react_jsx_runtime107.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { FixedMenu };
|
|
7
7
|
//# sourceMappingURL=fixed-menu.client.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime108 from "react/jsx-runtime";
|
|
2
2
|
import * as react0 from "react";
|
|
3
3
|
import { PropsWithChildren } from "react";
|
|
4
4
|
import { Content, Editor, JSONContent } from "@tiptap/react";
|
|
@@ -26,7 +26,7 @@ declare function EditorContextProvider({
|
|
|
26
26
|
disabled,
|
|
27
27
|
className,
|
|
28
28
|
children
|
|
29
|
-
}: EditorContextProviderProps):
|
|
29
|
+
}: EditorContextProviderProps): react_jsx_runtime108.JSX.Element | null;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { EditorContext, EditorContextProvider };
|
|
32
32
|
//# sourceMappingURL=context.client.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime109 from "react/jsx-runtime";
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/editor/index.client.d.ts
|
|
5
5
|
declare function Editor({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: HTMLAttributes<HTMLDivElement>):
|
|
8
|
+
}: HTMLAttributes<HTMLDivElement>): react_jsx_runtime109.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Editor };
|
|
11
11
|
//# sourceMappingURL=index.client.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime110 from "react/jsx-runtime";
|
|
2
2
|
import { Content } from "@tiptap/react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/editor/preview.client.d.ts
|
|
@@ -6,7 +6,7 @@ declare function EditorPreview({
|
|
|
6
6
|
value
|
|
7
7
|
}: {
|
|
8
8
|
value?: Content;
|
|
9
|
-
}):
|
|
9
|
+
}): react_jsx_runtime110.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { EditorPreview };
|
|
12
12
|
//# sourceMappingURL=preview.client.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime111 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/header/back-button.client.d.ts
|
|
4
4
|
declare function HeaderTopbarBackButton({
|
|
5
5
|
className,
|
|
6
6
|
...props
|
|
7
|
-
}: React.HtmlHTMLAttributes<HTMLButtonElement>):
|
|
7
|
+
}: React.HtmlHTMLAttributes<HTMLButtonElement>): react_jsx_runtime111.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { HeaderTopbarBackButton };
|
|
10
10
|
//# sourceMappingURL=back-button.client.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as
|
|
1
|
+
import { Path } from "../../modules/config/paths/types.js";
|
|
2
|
+
import * as react_jsx_runtime112 from "react/jsx-runtime";
|
|
3
3
|
import React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/header/bottom-bar.client.d.ts
|
|
@@ -11,11 +11,11 @@ type BottomBarProps = {
|
|
|
11
11
|
};
|
|
12
12
|
declare function BottomBar({
|
|
13
13
|
children
|
|
14
|
-
}: BottomBarProps):
|
|
14
|
+
}: BottomBarProps): react_jsx_runtime112.JSX.Element;
|
|
15
15
|
/**
|
|
16
16
|
* Bottombar link component
|
|
17
17
|
*/
|
|
18
|
-
type BottomBarLink = Omit<
|
|
18
|
+
type BottomBarLink = Omit<Path, "icon" | "badge">;
|
|
19
19
|
type BottomBarLinksProps = React.HTMLAttributes<HTMLElement> & {
|
|
20
20
|
paths: BottomBarLink[];
|
|
21
21
|
};
|
|
@@ -23,7 +23,7 @@ declare function BottomBarLinks({
|
|
|
23
23
|
paths,
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: BottomBarLinksProps):
|
|
26
|
+
}: BottomBarLinksProps): react_jsx_runtime112.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { BottomBar, BottomBarLink, BottomBarLinks, BottomBarLinksProps, BottomBarProps };
|
|
29
29
|
//# sourceMappingURL=bottom-bar.client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bottom-bar.client.d.ts","names":[],"sources":["../../../src/components/header/bottom-bar.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAWY,KAAA,cAAA,GAAc;EAIV,QAAA,EAHJ,KAAA,CAAM,SAGO;CAAA;AAAG,iBAAZ,SAAA,CAAY;EAAA;AAAA,CAAA,EAAY,cAAZ,CAAA,EAA0B,oBAAA,CAAA,GAAA,CAAA,OAA1B;;;;AAWhB,KAAA,aAAA,GAAgB,IAAH,CAAQ,
|
|
1
|
+
{"version":3,"file":"bottom-bar.client.d.ts","names":[],"sources":["../../../src/components/header/bottom-bar.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAWY,KAAA,cAAA,GAAc;EAIV,QAAA,EAHJ,KAAA,CAAM,SAGO;CAAA;AAAG,iBAAZ,SAAA,CAAY;EAAA;AAAA,CAAA,EAAY,cAAZ,CAAA,EAA0B,oBAAA,CAAA,GAAA,CAAA,OAA1B;;;;AAWhB,KAAA,aAAA,GAAgB,IAAH,CAAQ,IAAR,EAAA,MAAA,GAAA,OAAA,CAAA;AAAA,KAEb,mBAAA,GAAsB,KAAA,CAAM,cAFf,CAE8B,WAF9B,CAAA,GAAA;OAAQ,EAGxB,aAHwB,EAAA;;AAAD,iBAMhB,cAAA,CANgB;EAAA,KAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAM+B,mBAN/B,CAAA,EAMkD,oBAAA,CAAA,GAAA,CAAA,OANlD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bottom-bar.client.js","names":[],"sources":["../../../src/components/header/bottom-bar.client.tsx"],"sourcesContent":["\"use client\";\n\nimport { cn } from \"@/lib/utils/cn\";\nimport {
|
|
1
|
+
{"version":3,"file":"bottom-bar.client.js","names":[],"sources":["../../../src/components/header/bottom-bar.client.tsx"],"sourcesContent":["\"use client\";\n\nimport { cn } from \"@/lib/utils/cn\";\nimport { Path } from \"@/modules/config/paths/types\";\nimport Link from \"next/link\";\nimport { useSelectedLayoutSegment } from \"next/navigation\";\nimport type React from \"react\";\n\n/**\n * Bottombar component\n */\nexport type BottomBarProps = {\n children: React.ReactNode;\n};\n\nexport function BottomBar({ children }: BottomBarProps) {\n return (\n <nav className=\"flex h-[var(--header-bottom-bar-height)] items-center justify-between overflow-x-auto border-b\">\n {children}\n </nav>\n );\n}\n\n/**\n * Bottombar link component\n */\nexport type BottomBarLink = Omit<Path, \"icon\" | \"badge\">;\n\nexport type BottomBarLinksProps = React.HTMLAttributes<HTMLElement> & {\n paths: BottomBarLink[];\n};\n\nexport function BottomBarLinks({ paths, className, ...props }: BottomBarLinksProps) {\n const currentSegment = useSelectedLayoutSegment();\n\n return (\n <ul\n {...props}\n className={cn(\"px-content flex flex-row items-center gap-6 text-sm font-medium\", className)}\n >\n {paths.map(({ href, name, segment }) => (\n <Link\n key={href}\n href={href}\n className={cn(\n \"text-muted-foreground hover:text-foreground w-fit text-nowrap break-keep transition-colors\",\n currentSegment === segment && \"text-primary\",\n )}\n >\n {name}\n </Link>\n ))}\n </ul>\n );\n}\n"],"mappings":";;;;;;;;;AAeA,SAAgB,UAAU,EAAE,YAA4B;AACtD,QACE,oBAAC;EAAI,WAAU;EACZ;GACG;;AAaV,SAAgB,eAAe,EAAE,OAAO,UAAW,GAAG,SAA8B;CAClF,MAAM,iBAAiB,0BAA0B;AAEjD,QACE,oBAAC;EACC,GAAI;EACJ,WAAW,GAAG,mEAAmE,UAAU;YAE1F,MAAM,KAAK,EAAE,MAAM,MAAM,cACxB,oBAAC;GAEO;GACN,WAAW,GACT,8FACA,mBAAmB,WAAW,eAC/B;aAEA;KAPI,KAQA,CACP;GACC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BreadcrumbSeparator } from "../ui/breadcrumb.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime114 from "react/jsx-runtime";
|
|
3
3
|
import { PropsWithChildren } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/header/breadcrumbs.client.d.ts
|
|
@@ -10,26 +10,26 @@ type HeaderBreadcrumb = {
|
|
|
10
10
|
type HeaderBreadcrumbProps = {
|
|
11
11
|
breadcrumbs: HeaderBreadcrumb[];
|
|
12
12
|
};
|
|
13
|
-
declare function HeaderBreadcrumbs(props: PropsWithChildren):
|
|
13
|
+
declare function HeaderBreadcrumbs(props: PropsWithChildren): react_jsx_runtime114.JSX.Element;
|
|
14
14
|
declare const HeaderBreadcrumbSeparator: typeof BreadcrumbSeparator;
|
|
15
15
|
/**
|
|
16
16
|
* Dropdown menu
|
|
17
17
|
*/
|
|
18
|
-
declare function HeaderBreadcrumbsDropdownMenu(props: PropsWithChildren):
|
|
18
|
+
declare function HeaderBreadcrumbsDropdownMenu(props: PropsWithChildren): react_jsx_runtime114.JSX.Element;
|
|
19
19
|
declare function HeaderBreadcrumbsDropdownMenuItem(props: {
|
|
20
20
|
breadcrumb: HeaderBreadcrumb;
|
|
21
|
-
}):
|
|
21
|
+
}): react_jsx_runtime114.JSX.Element;
|
|
22
22
|
/**
|
|
23
23
|
* Links
|
|
24
24
|
*/
|
|
25
25
|
declare function HeaderBreadcrumbsLink(props: {
|
|
26
26
|
breadcrumb: HeaderBreadcrumb;
|
|
27
|
-
}):
|
|
27
|
+
}): react_jsx_runtime114.JSX.Element;
|
|
28
28
|
/**
|
|
29
29
|
* Lists
|
|
30
30
|
*/
|
|
31
|
-
declare function HeaderBreadcrumbsMobileList(props: PropsWithChildren):
|
|
32
|
-
declare function HeaderBreadcrumbsDesktopList(props: PropsWithChildren):
|
|
31
|
+
declare function HeaderBreadcrumbsMobileList(props: PropsWithChildren): react_jsx_runtime114.JSX.Element;
|
|
32
|
+
declare function HeaderBreadcrumbsDesktopList(props: PropsWithChildren): react_jsx_runtime114.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { HeaderBreadcrumb, HeaderBreadcrumbProps, HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList };
|
|
35
35
|
//# sourceMappingURL=breadcrumbs.client.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "../ui/breadcrumb.js";
|
|
2
1
|
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../ui/dropdown-menu.js";
|
|
2
|
+
import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "../ui/breadcrumb.js";
|
|
3
3
|
import { ScrollArea } from "../ui/scroll-area.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import Link from "next/link";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime120 from "react/jsx-runtime";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/header/header.client.d.ts
|
|
@@ -6,7 +6,7 @@ declare function Header({
|
|
|
6
6
|
children,
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: ComponentProps<"header">):
|
|
9
|
+
}: ComponentProps<"header">): react_jsx_runtime120.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Header };
|
|
12
12
|
//# sourceMappingURL=header.client.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime121 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/header/mobile-nav-switcher.client.d.ts
|
|
4
4
|
declare function HeaderTopbarMobileNavSwitcher({
|
|
5
5
|
className,
|
|
6
6
|
...props
|
|
7
|
-
}: React.HtmlHTMLAttributes<HTMLButtonElement>):
|
|
7
|
+
}: React.HtmlHTMLAttributes<HTMLButtonElement>): react_jsx_runtime121.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { HeaderTopbarMobileNavSwitcher };
|
|
10
10
|
//# sourceMappingURL=mobile-nav-switcher.client.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HeaderBreadcrumb } from "./breadcrumbs.client.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime122 from "react/jsx-runtime";
|
|
3
3
|
import React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/header/top-bar.client.d.ts
|
|
@@ -11,7 +11,7 @@ type TopbarProps = {
|
|
|
11
11
|
};
|
|
12
12
|
declare function Topbar({
|
|
13
13
|
children
|
|
14
|
-
}: TopbarProps):
|
|
14
|
+
}: TopbarProps): react_jsx_runtime122.JSX.Element;
|
|
15
15
|
/**
|
|
16
16
|
* Topbar title component
|
|
17
17
|
*/
|
|
@@ -26,7 +26,7 @@ declare function TopbarTitle({
|
|
|
26
26
|
isDeleted,
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: TopbarTitleProps):
|
|
29
|
+
}: TopbarTitleProps): react_jsx_runtime122.JSX.Element;
|
|
30
30
|
/**
|
|
31
31
|
* Topbar tools component
|
|
32
32
|
*/
|
|
@@ -37,7 +37,7 @@ declare function TopbarTools({
|
|
|
37
37
|
children,
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: TopbarToolsProps):
|
|
40
|
+
}: TopbarToolsProps): react_jsx_runtime122.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { Topbar, TopbarProps, TopbarTitle, TopbarTitleProps, TopbarTools, TopbarToolsProps };
|
|
43
43
|
//# sourceMappingURL=top-bar.client.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ScrollArea } from "../ui/scroll-area.js";
|
|
2
|
+
import * as react_jsx_runtime125 from "react/jsx-runtime";
|
|
3
|
+
import { ComponentProps } from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/layouts/admin-content.client.d.ts
|
|
6
|
+
declare function AdminContent({
|
|
7
|
+
children,
|
|
8
|
+
className,
|
|
9
|
+
...props
|
|
10
|
+
}: ComponentProps<typeof ScrollArea>): react_jsx_runtime125.JSX.Element;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { AdminContent };
|
|
13
|
+
//# sourceMappingURL=admin-content.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-content.client.d.ts","names":[],"sources":["../../../src/components/layouts/admin-content.client.tsx"],"sourcesContent":[],"mappings":";;;;;iBAOgB,YAAA;;;;GAAgD,sBAAsB,cAAW,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as react_jsx_runtime231 from "react/jsx-runtime";
|
|
2
|
+
import { PropsWithChildren } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/layouts/admin-layout.d.ts
|
|
5
|
+
declare function AdminLayout(props: PropsWithChildren): react_jsx_runtime231.JSX.Element;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { AdminLayout };
|
|
8
|
+
//# sourceMappingURL=admin-layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-layout.d.ts","names":[],"sources":["../../../src/components/layouts/admin-layout.tsx"],"sourcesContent":[],"mappings":";;;;iBAIgB,WAAA,QAAmB,oBAAiB,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SidebarProvider } from "../ui/sidebar.client.js";
|
|
2
|
+
import { AuthGuard } from "../../modules/auth/components/guard.client.js";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/layouts/admin-layout.tsx
|
|
6
|
+
function AdminLayout(props) {
|
|
7
|
+
return /* @__PURE__ */ jsx(AuthGuard, { children: /* @__PURE__ */ jsx(SidebarProvider, {
|
|
8
|
+
className: "max-h-[100dvh] overflow-hidden border",
|
|
9
|
+
children: props.children
|
|
10
|
+
}) });
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { AdminLayout };
|
|
15
|
+
//# sourceMappingURL=admin-layout.js.map
|