@tulip-systems/core 0.2.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 +7 -0
- package/dist/auth/client.js +8 -0
- package/dist/auth/server.d.ts +5 -0
- package/dist/auth/server.js +6 -0
- package/dist/auth.d.ts +4 -0
- package/dist/auth.js +5 -0
- package/dist/commands/client.d.ts +16 -0
- package/dist/commands/client.js +17 -0
- package/dist/commands/server.d.ts +1 -0
- package/dist/commands/server.js +1 -0
- package/dist/commands.d.ts +3 -0
- package/dist/commands.js +3 -0
- package/dist/components/client.d.ts +34 -0
- package/dist/components/client.js +35 -0
- package/dist/components/common/icons.d.ts +57 -0
- package/dist/components/common/icons.d.ts.map +1 -0
- package/dist/components/common/icons.js +118 -0
- package/dist/components/common/icons.js.map +1 -0
- package/dist/components/common/status.d.ts +53 -0
- package/dist/components/common/status.d.ts.map +1 -0
- package/dist/components/common/status.js +56 -0
- package/dist/components/common/status.js.map +1 -0
- package/dist/components/editor/components/block-dropdown.js +83 -0
- package/dist/components/editor/components/block-dropdown.js.map +1 -0
- package/dist/components/editor/components/content.client.d.ts +7 -0
- package/dist/components/editor/components/content.client.d.ts.map +1 -0
- package/dist/components/editor/components/content.client.js +18 -0
- package/dist/components/editor/components/content.client.js.map +1 -0
- package/dist/components/editor/components/fixed-menu.client.d.ts +7 -0
- package/dist/components/editor/components/fixed-menu.client.d.ts.map +1 -0
- package/dist/components/editor/components/fixed-menu.client.js +134 -0
- package/dist/components/editor/components/fixed-menu.client.js.map +1 -0
- package/dist/components/editor/context.client.d.ts +32 -0
- package/dist/components/editor/context.client.d.ts.map +1 -0
- package/dist/components/editor/context.client.js +46 -0
- package/dist/components/editor/context.client.js.map +1 -0
- package/dist/components/editor/index.client.d.ts +11 -0
- package/dist/components/editor/index.client.d.ts.map +1 -0
- package/dist/components/editor/index.client.js +17 -0
- package/dist/components/editor/index.client.js.map +1 -0
- package/dist/components/editor/preview.client.d.ts +12 -0
- package/dist/components/editor/preview.client.d.ts.map +1 -0
- package/dist/components/editor/preview.client.js +20 -0
- package/dist/components/editor/preview.client.js.map +1 -0
- package/dist/components/emails/forget-password-email.js +52 -0
- package/dist/components/emails/forget-password-email.js.map +1 -0
- package/dist/components/header/back-button.client.d.ts +10 -0
- package/dist/components/header/back-button.client.d.ts.map +1 -0
- package/dist/components/header/back-button.client.js +44 -0
- package/dist/components/header/back-button.client.js.map +1 -0
- package/dist/components/header/bottom-bar.client.d.ts +29 -0
- package/dist/components/header/bottom-bar.client.d.ts.map +1 -0
- package/dist/components/header/bottom-bar.client.js +31 -0
- package/dist/components/header/bottom-bar.client.js.map +1 -0
- package/dist/components/header/breadcrumbs.client.d.ts +35 -0
- package/dist/components/header/breadcrumbs.client.d.ts.map +1 -0
- package/dist/components/header/breadcrumbs.client.js +64 -0
- package/dist/components/header/breadcrumbs.client.js.map +1 -0
- package/dist/components/header/header.client.d.ts +12 -0
- package/dist/components/header/header.client.d.ts.map +1 -0
- package/dist/components/header/header.client.js +15 -0
- package/dist/components/header/header.client.js.map +1 -0
- package/dist/components/header/indicator.client.js +26 -0
- package/dist/components/header/indicator.client.js.map +1 -0
- package/dist/components/header/mobile-nav-switcher.client.d.ts +10 -0
- package/dist/components/header/mobile-nav-switcher.client.d.ts.map +1 -0
- package/dist/components/header/mobile-nav-switcher.client.js +20 -0
- package/dist/components/header/mobile-nav-switcher.client.js.map +1 -0
- package/dist/components/header/top-bar.client.d.ts +43 -0
- package/dist/components/header/top-bar.client.d.ts.map +1 -0
- package/dist/components/header/top-bar.client.js +48 -0
- package/dist/components/header/top-bar.client.js.map +1 -0
- package/dist/components/layouts/admin-content.client.js +24 -0
- package/dist/components/layouts/admin-content.client.js.map +1 -0
- package/dist/components/layouts/admin-layout.server.d.ts +14 -0
- package/dist/components/layouts/admin-layout.server.d.ts.map +1 -0
- package/dist/components/layouts/admin-layout.server.js +26 -0
- package/dist/components/layouts/admin-layout.server.js.map +1 -0
- package/dist/components/layouts/admin-loading.d.ts +8 -0
- package/dist/components/layouts/admin-loading.d.ts.map +1 -0
- package/dist/components/layouts/admin-loading.js +14 -0
- package/dist/components/layouts/admin-loading.js.map +1 -0
- package/dist/components/layouts/admin-sidebar-context.client.js +28 -0
- package/dist/components/layouts/admin-sidebar-context.client.js.map +1 -0
- package/dist/components/layouts/admin-sidebar-header.client.js +76 -0
- package/dist/components/layouts/admin-sidebar-header.client.js.map +1 -0
- package/dist/components/layouts/admin-sidebar.client.js +51 -0
- package/dist/components/layouts/admin-sidebar.client.js.map +1 -0
- package/dist/components/layouts/empty-page.d.ts +31 -0
- package/dist/components/layouts/empty-page.d.ts.map +1 -0
- package/dist/components/layouts/empty-page.js +29 -0
- package/dist/components/layouts/empty-page.js.map +1 -0
- package/dist/components/layouts/list-layout.d.ts +12 -0
- package/dist/components/layouts/list-layout.d.ts.map +1 -0
- package/dist/components/layouts/list-layout.js +15 -0
- package/dist/components/layouts/list-layout.js.map +1 -0
- package/dist/components/layouts/not-found-page.d.ts +7 -0
- package/dist/components/layouts/not-found-page.d.ts.map +1 -0
- package/dist/components/layouts/not-found-page.js +14 -0
- package/dist/components/layouts/not-found-page.js.map +1 -0
- package/dist/components/layouts/not-found-section.js +30 -0
- package/dist/components/layouts/not-found-section.js.map +1 -0
- package/dist/components/layouts/providers.client.d.ts +10 -0
- package/dist/components/layouts/providers.client.d.ts.map +1 -0
- package/dist/components/layouts/providers.client.js +32 -0
- package/dist/components/layouts/providers.client.js.map +1 -0
- package/dist/components/layouts/root-layout.server.d.ts +38 -0
- package/dist/components/layouts/root-layout.server.d.ts.map +1 -0
- package/dist/components/layouts/root-layout.server.js +47 -0
- package/dist/components/layouts/root-layout.server.js.map +1 -0
- package/dist/components/layouts/tab-layout.d.ts +23 -0
- package/dist/components/layouts/tab-layout.d.ts.map +1 -0
- package/dist/components/layouts/tab-layout.js +52 -0
- package/dist/components/layouts/tab-layout.js.map +1 -0
- package/dist/components/lists/data-list.d.ts +31 -0
- package/dist/components/lists/data-list.d.ts.map +1 -0
- package/dist/components/lists/data-list.js +36 -0
- package/dist/components/lists/data-list.js.map +1 -0
- package/dist/components/lists/data-stack.d.ts +49 -0
- package/dist/components/lists/data-stack.d.ts.map +1 -0
- package/dist/components/lists/data-stack.js +57 -0
- package/dist/components/lists/data-stack.js.map +1 -0
- package/dist/components/server.d.ts +3 -0
- package/dist/components/server.js +4 -0
- package/dist/components/ui/accordion.d.ts +25 -0
- package/dist/components/ui/accordion.d.ts.map +1 -0
- package/dist/components/ui/accordion.js +49 -0
- package/dist/components/ui/accordion.js.map +1 -0
- package/dist/components/ui/alert-dialog.d.ts +43 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog.js +86 -0
- package/dist/components/ui/alert-dialog.js.map +1 -0
- package/dist/components/ui/alert.d.ts +25 -0
- package/dist/components/ui/alert.d.ts.map +1 -0
- package/dist/components/ui/alert.js +39 -0
- package/dist/components/ui/alert.js.map +1 -0
- package/dist/components/ui/aspect-ratio.d.ts +8 -0
- package/dist/components/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/components/ui/aspect-ratio.js +17 -0
- package/dist/components/ui/aspect-ratio.js.map +1 -0
- package/dist/components/ui/avatar.client.d.ts +20 -0
- package/dist/components/ui/avatar.client.d.ts.map +1 -0
- package/dist/components/ui/avatar.client.js +34 -0
- package/dist/components/ui/avatar.client.js.map +1 -0
- package/dist/components/ui/badge.d.ts +20 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/badge.js +27 -0
- package/dist/components/ui/badge.js.map +1 -0
- package/dist/components/ui/breadcrumb.d.ts +36 -0
- package/dist/components/ui/breadcrumb.d.ts.map +1 -0
- package/dist/components/ui/breadcrumb.js +72 -0
- package/dist/components/ui/breadcrumb.js.map +1 -0
- package/dist/components/ui/button.d.ts +22 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/button.js +44 -0
- package/dist/components/ui/button.js.map +1 -0
- package/dist/components/ui/calendar.d.ts +14 -0
- package/dist/components/ui/calendar.d.ts.map +1 -0
- package/dist/components/ui/calendar.js +57 -0
- package/dist/components/ui/calendar.js.map +1 -0
- package/dist/components/ui/card.d.ts +31 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/card.js +51 -0
- package/dist/components/ui/card.js.map +1 -0
- package/dist/components/ui/carousel.d.ts +48 -0
- package/dist/components/ui/carousel.d.ts.map +1 -0
- package/dist/components/ui/carousel.js +137 -0
- package/dist/components/ui/carousel.js.map +1 -0
- package/dist/components/ui/chart.client.d.ts +72 -0
- package/dist/components/ui/chart.client.d.ts.map +1 -0
- package/dist/components/ui/chart.client.js +144 -0
- package/dist/components/ui/chart.client.js.map +1 -0
- package/dist/components/ui/checkbox.d.ts +12 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/checkbox.js +26 -0
- package/dist/components/ui/checkbox.js.map +1 -0
- package/dist/components/ui/collapsible.client.d.ts +16 -0
- package/dist/components/ui/collapsible.client.d.ts.map +1 -0
- package/dist/components/ui/collapsible.client.js +29 -0
- package/dist/components/ui/collapsible.client.js.map +1 -0
- package/dist/components/ui/color-picker.client.d.ts +16 -0
- package/dist/components/ui/color-picker.client.d.ts.map +1 -0
- package/dist/components/ui/color-picker.client.js +39 -0
- package/dist/components/ui/color-picker.client.js.map +1 -0
- package/dist/components/ui/combobox-dropdown.client.d.ts +47 -0
- package/dist/components/ui/combobox-dropdown.client.d.ts.map +1 -0
- package/dist/components/ui/combobox-dropdown.client.js +95 -0
- package/dist/components/ui/combobox-dropdown.client.js.map +1 -0
- package/dist/components/ui/combobox.client.d.ts +31 -0
- package/dist/components/ui/combobox.client.d.ts.map +1 -0
- package/dist/components/ui/combobox.client.js +68 -0
- package/dist/components/ui/combobox.client.js.map +1 -0
- package/dist/components/ui/command.d.ts +49 -0
- package/dist/components/ui/command.d.ts.map +1 -0
- package/dist/components/ui/command.js +90 -0
- package/dist/components/ui/command.js.map +1 -0
- package/dist/components/ui/context-menu.d.ts +77 -0
- package/dist/components/ui/context-menu.d.ts.map +1 -0
- package/dist/components/ui/context-menu.js +127 -0
- package/dist/components/ui/context-menu.js.map +1 -0
- package/dist/components/ui/dialog.client.d.ts +45 -0
- package/dist/components/ui/dialog.client.d.ts.map +1 -0
- package/dist/components/ui/dialog.client.js +90 -0
- package/dist/components/ui/dialog.client.js.map +1 -0
- package/dist/components/ui/drawer.client.d.ts +45 -0
- package/dist/components/ui/drawer.client.d.ts.map +1 -0
- package/dist/components/ui/drawer.client.js +83 -0
- package/dist/components/ui/drawer.client.js.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +78 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.js +128 -0
- package/dist/components/ui/dropdown-menu.js.map +1 -0
- package/dist/components/ui/form.client.d.ts +46 -0
- package/dist/components/ui/form.client.d.ts.map +1 -0
- package/dist/components/ui/form.client.js +93 -0
- package/dist/components/ui/form.client.js.map +1 -0
- package/dist/components/ui/hover-card.client.d.ts +20 -0
- package/dist/components/ui/hover-card.client.d.ts.map +1 -0
- package/dist/components/ui/hover-card.client.js +34 -0
- package/dist/components/ui/hover-card.client.js.map +1 -0
- package/dist/components/ui/input.d.ts +12 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/input.js +17 -0
- package/dist/components/ui/input.js.map +1 -0
- package/dist/components/ui/label.d.ts +12 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.js +20 -0
- package/dist/components/ui/label.js.map +1 -0
- package/dist/components/ui/navigation-menu.d.ts +47 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -0
- package/dist/components/ui/navigation-menu.js +86 -0
- package/dist/components/ui/navigation-menu.js.map +1 -0
- package/dist/components/ui/pagination.d.ts +40 -0
- package/dist/components/ui/pagination.d.ts.map +1 -0
- package/dist/components/ui/pagination.js +81 -0
- package/dist/components/ui/pagination.js.map +1 -0
- package/dist/components/ui/popover.d.ts +23 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/popover.js +40 -0
- package/dist/components/ui/popover.js.map +1 -0
- package/dist/components/ui/progress.client.d.ts +13 -0
- package/dist/components/ui/progress.client.d.ts.map +1 -0
- package/dist/components/ui/progress.client.js +25 -0
- package/dist/components/ui/progress.client.js.map +1 -0
- package/dist/components/ui/radio-group.d.ts +16 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -0
- package/dist/components/ui/radio-group.js +33 -0
- package/dist/components/ui/radio-group.js.map +1 -0
- package/dist/components/ui/resizable.client.d.ts +22 -0
- package/dist/components/ui/resizable.client.d.ts.map +1 -0
- package/dist/components/ui/resizable.client.js +38 -0
- package/dist/components/ui/resizable.client.js.map +1 -0
- package/dist/components/ui/scroll-area.d.ts +18 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.js +41 -0
- package/dist/components/ui/scroll-area.js.map +1 -0
- package/dist/components/ui/select.client.d.ts +49 -0
- package/dist/components/ui/select.client.d.ts.map +1 -0
- package/dist/components/ui/select.client.js +100 -0
- package/dist/components/ui/select.client.js.map +1 -0
- package/dist/components/ui/separator.d.ts +14 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/separator.js +22 -0
- package/dist/components/ui/separator.js.map +1 -0
- package/dist/components/ui/sheet.client.d.ts +41 -0
- package/dist/components/ui/sheet.client.d.ts.map +1 -0
- package/dist/components/ui/sheet.client.js +84 -0
- package/dist/components/ui/sheet.client.js.map +1 -0
- package/dist/components/ui/sidebar.client.d.ts +168 -0
- package/dist/components/ui/sidebar.client.d.ts.map +1 -0
- package/dist/components/ui/sidebar.client.js +375 -0
- package/dist/components/ui/sidebar.client.js.map +1 -0
- package/dist/components/ui/skeleton.d.ts +10 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeleton.js +15 -0
- package/dist/components/ui/skeleton.js.map +1 -0
- package/dist/components/ui/slider.d.ts +16 -0
- package/dist/components/ui/slider.d.ts.map +1 -0
- package/dist/components/ui/slider.js +41 -0
- package/dist/components/ui/slider.js.map +1 -0
- package/dist/components/ui/sonner.client.d.ts +10 -0
- package/dist/components/ui/sonner.client.d.ts.map +1 -0
- package/dist/components/ui/sonner.client.js +26 -0
- package/dist/components/ui/sonner.client.js.map +1 -0
- package/dist/components/ui/switch.d.ts +12 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/switch.js +24 -0
- package/dist/components/ui/switch.js.map +1 -0
- package/dist/components/ui/tabs.d.ts +24 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/tabs.js +41 -0
- package/dist/components/ui/tabs.js.map +1 -0
- package/dist/components/ui/textarea.d.ts +11 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/textarea.js +16 -0
- package/dist/components/ui/textarea.js.map +1 -0
- package/dist/components/ui/time-input.client.d.ts +16 -0
- package/dist/components/ui/time-input.client.d.ts.map +1 -0
- package/dist/components/ui/time-input.client.js +53 -0
- package/dist/components/ui/time-input.client.js.map +1 -0
- package/dist/components/ui/time-picker-input.client.d.ts +15 -0
- package/dist/components/ui/time-picker-input.client.d.ts.map +1 -0
- package/dist/components/ui/time-picker-input.client.js +65 -0
- package/dist/components/ui/time-picker-input.client.js.map +1 -0
- package/dist/components/ui/toggle-group.client.d.ts +24 -0
- package/dist/components/ui/toggle-group.client.d.ts.map +1 -0
- package/dist/components/ui/toggle-group.client.js +48 -0
- package/dist/components/ui/toggle-group.client.js.map +1 -0
- package/dist/components/ui/toggle.d.ts +20 -0
- package/dist/components/ui/toggle.d.ts.map +1 -0
- package/dist/components/ui/toggle.js +42 -0
- package/dist/components/ui/toggle.js.map +1 -0
- package/dist/components/ui/tooltip.client.d.ts +24 -0
- package/dist/components/ui/tooltip.client.d.ts.map +1 -0
- package/dist/components/ui/tooltip.client.js +41 -0
- package/dist/components/ui/tooltip.client.js.map +1 -0
- package/dist/components/ui/tree.client.d.ts +43 -0
- package/dist/components/ui/tree.client.d.ts.map +1 -0
- package/dist/components/ui/tree.client.js +103 -0
- package/dist/components/ui/tree.client.js.map +1 -0
- package/dist/components.d.ts +38 -0
- package/dist/components.js +39 -0
- package/dist/config/client.d.ts +1 -0
- package/dist/config/client.js +1 -0
- package/dist/config/server.d.ts +8 -0
- package/dist/config/server.js +9 -0
- package/dist/config.d.ts +6 -0
- package/dist/config.js +5 -0
- package/dist/data-tables/client.d.ts +21 -0
- package/dist/data-tables/client.js +22 -0
- package/dist/data-tables/server.d.ts +7 -0
- package/dist/data-tables/server.js +8 -0
- package/dist/data-tables.d.ts +13 -0
- package/dist/data-tables.js +13 -0
- package/dist/inline-edit/client.d.ts +13 -0
- package/dist/inline-edit/client.js +14 -0
- package/dist/inline-edit/server.d.ts +1 -0
- package/dist/inline-edit/server.js +1 -0
- package/dist/inline-edit.d.ts +2 -0
- package/dist/inline-edit.js +3 -0
- package/dist/lib/client.d.ts +4 -0
- package/dist/lib/client.js +5 -0
- package/dist/lib/config/constants.d.ts +5 -0
- package/dist/lib/config/constants.d.ts.map +1 -0
- package/dist/lib/config/constants.js +6 -0
- package/dist/lib/config/constants.js.map +1 -0
- package/dist/lib/hooks/use-action.d.ts +18 -0
- package/dist/lib/hooks/use-action.d.ts.map +1 -0
- package/dist/lib/hooks/use-action.js +42 -0
- package/dist/lib/hooks/use-action.js.map +1 -0
- package/dist/lib/hooks/use-indicator.d.ts +32 -0
- package/dist/lib/hooks/use-indicator.d.ts.map +1 -0
- package/dist/lib/hooks/use-indicator.js +51 -0
- package/dist/lib/hooks/use-indicator.js.map +1 -0
- package/dist/lib/hooks/use-mobile.client.d.ts +7 -0
- package/dist/lib/hooks/use-mobile.client.d.ts.map +1 -0
- package/dist/lib/hooks/use-mobile.client.js +22 -0
- package/dist/lib/hooks/use-mobile.client.js.map +1 -0
- package/dist/lib/server.d.ts +1 -0
- package/dist/lib/server.js +1 -0
- package/dist/lib/types/config.d.ts +12 -0
- package/dist/lib/types/config.d.ts.map +1 -0
- package/dist/lib/utils/array-move.d.ts +11 -0
- package/dist/lib/utils/array-move.d.ts.map +1 -0
- package/dist/lib/utils/array-move.js +13 -0
- package/dist/lib/utils/array-move.js.map +1 -0
- package/dist/lib/utils/cn.d.ts +7 -0
- package/dist/lib/utils/cn.d.ts.map +1 -0
- package/dist/lib/utils/cn.js +11 -0
- package/dist/lib/utils/cn.js.map +1 -0
- package/dist/lib/utils/fonts.d.ts +8 -0
- package/dist/lib/utils/fonts.d.ts.map +1 -0
- package/dist/lib/utils/fonts.js +12 -0
- package/dist/lib/utils/fonts.js.map +1 -0
- package/dist/lib/utils/format.d.ts +41 -0
- package/dist/lib/utils/format.d.ts.map +1 -0
- package/dist/lib/utils/format.js +96 -0
- package/dist/lib/utils/format.js.map +1 -0
- package/dist/lib/utils/manifest.d.ts +9 -0
- package/dist/lib/utils/manifest.d.ts.map +1 -0
- package/dist/lib/utils/manifest.js +36 -0
- package/dist/lib/utils/manifest.js.map +1 -0
- package/dist/lib/utils/time-picker.d.ts +6 -0
- package/dist/lib/utils/time-picker.d.ts.map +1 -0
- package/dist/lib/utils/time-picker.js +104 -0
- package/dist/lib/utils/time-picker.js.map +1 -0
- package/dist/lib/utils/url.d.ts +10 -0
- package/dist/lib/utils/url.d.ts.map +1 -0
- package/dist/lib/utils/url.js +15 -0
- package/dist/lib/utils/url.js.map +1 -0
- package/dist/lib.d.ts +9 -0
- package/dist/lib.js +9 -0
- package/dist/modules/auth/components/allowed.client.d.ts +21 -0
- package/dist/modules/auth/components/allowed.client.d.ts.map +1 -0
- package/dist/modules/auth/components/allowed.client.js +16 -0
- package/dist/modules/auth/components/allowed.client.js.map +1 -0
- package/dist/modules/auth/components/allowed.server.d.ts +23 -0
- package/dist/modules/auth/components/allowed.server.d.ts.map +1 -0
- package/dist/modules/auth/components/allowed.server.js +24 -0
- package/dist/modules/auth/components/allowed.server.js.map +1 -0
- package/dist/modules/auth/components/auth-layout.server.d.ts +11 -0
- package/dist/modules/auth/components/auth-layout.server.d.ts.map +1 -0
- package/dist/modules/auth/components/auth-layout.server.js +40 -0
- package/dist/modules/auth/components/auth-layout.server.js.map +1 -0
- package/dist/modules/auth/components/forget-password-page.client.d.ts +7 -0
- package/dist/modules/auth/components/forget-password-page.client.d.ts.map +1 -0
- package/dist/modules/auth/components/forget-password-page.client.js +73 -0
- package/dist/modules/auth/components/forget-password-page.client.js.map +1 -0
- package/dist/modules/auth/components/login-page.client.d.ts +11 -0
- package/dist/modules/auth/components/login-page.client.d.ts.map +1 -0
- package/dist/modules/auth/components/login-page.client.js +111 -0
- package/dist/modules/auth/components/login-page.client.js.map +1 -0
- package/dist/modules/auth/components/reset-password-page.client.d.ts +12 -0
- package/dist/modules/auth/components/reset-password-page.client.d.ts.map +1 -0
- package/dist/modules/auth/components/reset-password-page.client.js +97 -0
- package/dist/modules/auth/components/reset-password-page.client.js.map +1 -0
- package/dist/modules/auth/components/update-password-command.d.ts +20 -0
- package/dist/modules/auth/components/update-password-command.d.ts.map +1 -0
- package/dist/modules/auth/components/update-password-command.js +50 -0
- package/dist/modules/auth/components/update-password-command.js.map +1 -0
- package/dist/modules/auth/db/schema.d.ts +739 -0
- package/dist/modules/auth/db/schema.d.ts.map +1 -0
- package/dist/modules/auth/db/schema.js +60 -0
- package/dist/modules/auth/db/schema.js.map +1 -0
- package/dist/modules/auth/handler/client.client.d.ts +3806 -0
- package/dist/modules/auth/handler/client.client.d.ts.map +1 -0
- package/dist/modules/auth/handler/client.client.js +16 -0
- package/dist/modules/auth/handler/client.client.js.map +1 -0
- package/dist/modules/auth/handler/route.server.d.ts +17 -0
- package/dist/modules/auth/handler/route.server.d.ts.map +1 -0
- package/dist/modules/auth/handler/route.server.js +32 -0
- package/dist/modules/auth/handler/route.server.js.map +1 -0
- package/dist/modules/auth/handler/server.server.js +61 -0
- package/dist/modules/auth/handler/server.server.js.map +1 -0
- package/dist/modules/auth/hooks/use-permission.client.js +52 -0
- package/dist/modules/auth/hooks/use-permission.client.js.map +1 -0
- package/dist/modules/auth/lib/helpers.server.d.ts +84 -0
- package/dist/modules/auth/lib/helpers.server.d.ts.map +1 -0
- package/dist/modules/auth/lib/helpers.server.js +45 -0
- package/dist/modules/auth/lib/helpers.server.js.map +1 -0
- package/dist/modules/auth/lib/permissions.d.ts +19 -0
- package/dist/modules/auth/lib/permissions.d.ts.map +1 -0
- package/dist/modules/auth/lib/permissions.js +15 -0
- package/dist/modules/auth/lib/permissions.js.map +1 -0
- package/dist/modules/auth/lib/utils.js +21 -0
- package/dist/modules/auth/lib/utils.js.map +1 -0
- package/dist/modules/auth/lib/validators.d.ts +64 -0
- package/dist/modules/auth/lib/validators.d.ts.map +1 -0
- package/dist/modules/auth/lib/validators.js +56 -0
- package/dist/modules/auth/lib/validators.js.map +1 -0
- package/dist/modules/commands/components/alert-dialog-command.client.d.ts +93 -0
- package/dist/modules/commands/components/alert-dialog-command.client.d.ts.map +1 -0
- package/dist/modules/commands/components/alert-dialog-command.client.js +157 -0
- package/dist/modules/commands/components/alert-dialog-command.client.js.map +1 -0
- package/dist/modules/commands/components/click-command.client.d.ts +27 -0
- package/dist/modules/commands/components/click-command.client.d.ts.map +1 -0
- package/dist/modules/commands/components/click-command.client.js +66 -0
- package/dist/modules/commands/components/click-command.client.js.map +1 -0
- package/dist/modules/commands/components/command-trigger.client.d.ts +34 -0
- package/dist/modules/commands/components/command-trigger.client.d.ts.map +1 -0
- package/dist/modules/commands/components/command-trigger.client.js +51 -0
- package/dist/modules/commands/components/command-trigger.client.js.map +1 -0
- package/dist/modules/commands/components/dialog-command.client.d.ts +68 -0
- package/dist/modules/commands/components/dialog-command.client.d.ts.map +1 -0
- package/dist/modules/commands/components/dialog-command.client.js +131 -0
- package/dist/modules/commands/components/dialog-command.client.js.map +1 -0
- package/dist/modules/commands/components/dropdown-command.client.d.ts +60 -0
- package/dist/modules/commands/components/dropdown-command.client.d.ts.map +1 -0
- package/dist/modules/commands/components/dropdown-command.client.js +130 -0
- package/dist/modules/commands/components/dropdown-command.client.js.map +1 -0
- package/dist/modules/commands/components/empty-command.client.d.ts +19 -0
- package/dist/modules/commands/components/empty-command.client.d.ts.map +1 -0
- package/dist/modules/commands/components/empty-command.client.js +57 -0
- package/dist/modules/commands/components/empty-command.client.js.map +1 -0
- package/dist/modules/commands/components/form-dialog-command.client.d.ts +100 -0
- package/dist/modules/commands/components/form-dialog-command.client.d.ts.map +1 -0
- package/dist/modules/commands/components/form-dialog-command.client.js +184 -0
- package/dist/modules/commands/components/form-dialog-command.client.js.map +1 -0
- package/dist/modules/commands/components/render-command.js +16 -0
- package/dist/modules/commands/components/render-command.js.map +1 -0
- package/dist/modules/commands/hooks/context.client.js +33 -0
- package/dist/modules/commands/hooks/context.client.js.map +1 -0
- package/dist/modules/commands/hooks/use-command-action.client.d.ts +21 -0
- package/dist/modules/commands/hooks/use-command-action.client.d.ts.map +1 -0
- package/dist/modules/commands/hooks/use-command-action.client.js +69 -0
- package/dist/modules/commands/hooks/use-command-action.client.js.map +1 -0
- package/dist/modules/commands/hooks/use-command-menu.client.d.ts +16 -0
- package/dist/modules/commands/hooks/use-command-menu.client.d.ts.map +1 -0
- package/dist/modules/commands/hooks/use-command-menu.client.js +90 -0
- package/dist/modules/commands/hooks/use-command-menu.client.js.map +1 -0
- package/dist/modules/commands/lib/definitions.d.ts +54 -0
- package/dist/modules/commands/lib/definitions.d.ts.map +1 -0
- package/dist/modules/commands/lib/factory.d.ts +24 -0
- package/dist/modules/commands/lib/factory.d.ts.map +1 -0
- package/dist/modules/commands/lib/factory.js +8 -0
- package/dist/modules/commands/lib/factory.js.map +1 -0
- package/dist/modules/commands/lib/schema.d.ts +18 -0
- package/dist/modules/commands/lib/schema.d.ts.map +1 -0
- package/dist/modules/commands/menus/context-menu.client.d.ts +27 -0
- package/dist/modules/commands/menus/context-menu.client.d.ts.map +1 -0
- package/dist/modules/commands/menus/context-menu.client.js +61 -0
- package/dist/modules/commands/menus/context-menu.client.js.map +1 -0
- package/dist/modules/commands/menus/data-table-menu.client.js +47 -0
- package/dist/modules/commands/menus/data-table-menu.client.js.map +1 -0
- package/dist/modules/commands/menus/dropdown-menu.client.d.ts +15 -0
- package/dist/modules/commands/menus/dropdown-menu.client.d.ts.map +1 -0
- package/dist/modules/commands/menus/dropdown-menu.client.js +56 -0
- package/dist/modules/commands/menus/dropdown-menu.client.js.map +1 -0
- package/dist/modules/commands/menus/inline-menu.client.d.ts +16 -0
- package/dist/modules/commands/menus/inline-menu.client.d.ts.map +1 -0
- package/dist/modules/commands/menus/inline-menu.client.js +37 -0
- package/dist/modules/commands/menus/inline-menu.client.js.map +1 -0
- package/dist/modules/commands/menus/responsive-menu.client.d.ts +9 -0
- package/dist/modules/commands/menus/responsive-menu.client.d.ts.map +1 -0
- package/dist/modules/commands/menus/responsive-menu.client.js +21 -0
- package/dist/modules/commands/menus/responsive-menu.client.js.map +1 -0
- package/dist/modules/commands/utils/archive-command.client.d.ts +33 -0
- package/dist/modules/commands/utils/archive-command.client.d.ts.map +1 -0
- package/dist/modules/commands/utils/archive-command.client.js +39 -0
- package/dist/modules/commands/utils/archive-command.client.js.map +1 -0
- package/dist/modules/commands/utils/delete-command.client.d.ts +23 -0
- package/dist/modules/commands/utils/delete-command.client.d.ts.map +1 -0
- package/dist/modules/commands/utils/delete-command.client.js +28 -0
- package/dist/modules/commands/utils/delete-command.client.js.map +1 -0
- package/dist/modules/commands/utils/send-mail-command.client.d.ts +41 -0
- package/dist/modules/commands/utils/send-mail-command.client.d.ts.map +1 -0
- package/dist/modules/commands/utils/send-mail-command.client.js +119 -0
- package/dist/modules/commands/utils/send-mail-command.client.js.map +1 -0
- package/dist/modules/config/db/create-client.js +28 -0
- package/dist/modules/config/db/create-client.js.map +1 -0
- package/dist/modules/config/db/helpers.d.ts +15 -0
- package/dist/modules/config/db/helpers.d.ts.map +1 -0
- package/dist/modules/config/db/helpers.js +16 -0
- package/dist/modules/config/db/helpers.js.map +1 -0
- package/dist/modules/config/db/types.d.ts +5 -0
- package/dist/modules/config/db/types.d.ts.map +1 -0
- package/dist/modules/config/lib/config.server.d.ts +37 -0
- package/dist/modules/config/lib/config.server.d.ts.map +1 -0
- package/dist/modules/config/lib/config.server.js +11 -0
- package/dist/modules/config/lib/config.server.js.map +1 -0
- package/dist/modules/config/lib/resolve.server.d.ts +2065 -0
- package/dist/modules/config/lib/resolve.server.d.ts.map +1 -0
- package/dist/modules/config/lib/resolve.server.js +45 -0
- package/dist/modules/config/lib/resolve.server.js.map +1 -0
- package/dist/modules/config/paths/create.server.d.ts +14 -0
- package/dist/modules/config/paths/create.server.d.ts.map +1 -0
- package/dist/modules/config/paths/create.server.js +12 -0
- package/dist/modules/config/paths/create.server.js.map +1 -0
- package/dist/modules/config/paths/get.server.js +47 -0
- package/dist/modules/config/paths/get.server.js.map +1 -0
- package/dist/modules/config/paths/types.d.ts +62 -0
- package/dist/modules/config/paths/types.d.ts.map +1 -0
- package/dist/modules/config/router/client.d.ts +11 -0
- package/dist/modules/config/router/client.d.ts.map +1 -0
- package/dist/modules/config/router/client.js +25 -0
- package/dist/modules/config/router/client.js.map +1 -0
- package/dist/modules/config/router/client.server.d.ts +25 -0
- package/dist/modules/config/router/client.server.d.ts.map +1 -0
- package/dist/modules/config/router/client.server.js +31 -0
- package/dist/modules/config/router/client.server.js.map +1 -0
- package/dist/modules/config/router/context.server.d.ts +2092 -0
- package/dist/modules/config/router/context.server.d.ts.map +1 -0
- package/dist/modules/config/router/context.server.js +23 -0
- package/dist/modules/config/router/context.server.js.map +1 -0
- package/dist/modules/config/router/error.server.d.ts +2 -0
- package/dist/modules/config/router/error.server.js +3 -0
- package/dist/modules/config/router/helpers.js +8 -0
- package/dist/modules/config/router/helpers.js.map +1 -0
- package/dist/modules/config/router/init.server.d.ts +2125 -0
- package/dist/modules/config/router/init.server.d.ts.map +1 -0
- package/dist/modules/config/router/init.server.js +53 -0
- package/dist/modules/config/router/init.server.js.map +1 -0
- package/dist/modules/config/router/query-client.d.ts +11 -0
- package/dist/modules/config/router/query-client.d.ts.map +1 -0
- package/dist/modules/config/router/query-client.js +51 -0
- package/dist/modules/config/router/query-client.js.map +1 -0
- package/dist/modules/config/router/validators.d.ts +14 -0
- package/dist/modules/config/router/validators.d.ts.map +1 -0
- package/dist/modules/config/router/validators.js +11 -0
- package/dist/modules/config/router/validators.js.map +1 -0
- package/dist/modules/data-tables/components/cell/common.client.d.ts +27 -0
- package/dist/modules/data-tables/components/cell/common.client.d.ts.map +1 -0
- package/dist/modules/data-tables/components/cell/common.client.js +36 -0
- package/dist/modules/data-tables/components/cell/common.client.js.map +1 -0
- package/dist/modules/data-tables/components/cell/index.client.d.ts +10 -0
- package/dist/modules/data-tables/components/cell/index.client.d.ts.map +1 -0
- package/dist/modules/data-tables/components/cell/index.client.js +25 -0
- package/dist/modules/data-tables/components/cell/index.client.js.map +1 -0
- package/dist/modules/data-tables/components/cell/select.client.d.ts +10 -0
- package/dist/modules/data-tables/components/cell/select.client.d.ts.map +1 -0
- package/dist/modules/data-tables/components/cell/select.client.js +37 -0
- package/dist/modules/data-tables/components/cell/select.client.js.map +1 -0
- package/dist/modules/data-tables/components/column-header.d.ts +16 -0
- package/dist/modules/data-tables/components/column-header.d.ts.map +1 -0
- package/dist/modules/data-tables/components/column-header.js +47 -0
- package/dist/modules/data-tables/components/column-header.js.map +1 -0
- package/dist/modules/data-tables/components/filters/combobox.client.d.ts +28 -0
- package/dist/modules/data-tables/components/filters/combobox.client.d.ts.map +1 -0
- package/dist/modules/data-tables/components/filters/combobox.client.js +98 -0
- package/dist/modules/data-tables/components/filters/combobox.client.js.map +1 -0
- package/dist/modules/data-tables/components/filters/slider.client.d.ts +23 -0
- package/dist/modules/data-tables/components/filters/slider.client.d.ts.map +1 -0
- package/dist/modules/data-tables/components/filters/slider.client.js +130 -0
- package/dist/modules/data-tables/components/filters/slider.client.js.map +1 -0
- package/dist/modules/data-tables/components/footer.js +30 -0
- package/dist/modules/data-tables/components/footer.js.map +1 -0
- package/dist/modules/data-tables/components/header.d.ts +41 -0
- package/dist/modules/data-tables/components/header.d.ts.map +1 -0
- package/dist/modules/data-tables/components/header.js +44 -0
- package/dist/modules/data-tables/components/header.js.map +1 -0
- package/dist/modules/data-tables/components/layout.d.ts +12 -0
- package/dist/modules/data-tables/components/layout.d.ts.map +1 -0
- package/dist/modules/data-tables/components/layout.js +15 -0
- package/dist/modules/data-tables/components/layout.js.map +1 -0
- package/dist/modules/data-tables/components/search-input.client.d.ts +7 -0
- package/dist/modules/data-tables/components/search-input.client.d.ts.map +1 -0
- package/dist/modules/data-tables/components/search-input.client.js +21 -0
- package/dist/modules/data-tables/components/search-input.client.js.map +1 -0
- package/dist/modules/data-tables/components/skeleton.d.ts +7 -0
- package/dist/modules/data-tables/components/skeleton.d.ts.map +1 -0
- package/dist/modules/data-tables/components/skeleton.js +22 -0
- package/dist/modules/data-tables/components/skeleton.js.map +1 -0
- package/dist/modules/data-tables/components/table.d.ts +34 -0
- package/dist/modules/data-tables/components/table.d.ts.map +1 -0
- package/dist/modules/data-tables/components/table.js +58 -0
- package/dist/modules/data-tables/components/table.js.map +1 -0
- package/dist/modules/data-tables/components/toolbar.d.ts +23 -0
- package/dist/modules/data-tables/components/toolbar.d.ts.map +1 -0
- package/dist/modules/data-tables/components/toolbar.js +22 -0
- package/dist/modules/data-tables/components/toolbar.js.map +1 -0
- package/dist/modules/data-tables/hooks/use-context.client.d.ts +56 -0
- package/dist/modules/data-tables/hooks/use-context.client.d.ts.map +1 -0
- package/dist/modules/data-tables/hooks/use-context.client.js +36 -0
- package/dist/modules/data-tables/hooks/use-context.client.js.map +1 -0
- package/dist/modules/data-tables/hooks/use-search.client.js +37 -0
- package/dist/modules/data-tables/hooks/use-search.client.js.map +1 -0
- package/dist/modules/data-tables/hooks/use-selection.client.js +40 -0
- package/dist/modules/data-tables/hooks/use-selection.client.js.map +1 -0
- package/dist/modules/data-tables/hooks/use-table.client.d.ts +12 -0
- package/dist/modules/data-tables/hooks/use-table.client.d.ts.map +1 -0
- package/dist/modules/data-tables/hooks/use-table.client.js +56 -0
- package/dist/modules/data-tables/hooks/use-table.client.js.map +1 -0
- package/dist/modules/data-tables/lib/converters/cursor.d.ts +19 -0
- package/dist/modules/data-tables/lib/converters/cursor.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/converters/cursor.js +16 -0
- package/dist/modules/data-tables/lib/converters/cursor.js.map +1 -0
- package/dist/modules/data-tables/lib/converters/dto.d.ts +52 -0
- package/dist/modules/data-tables/lib/converters/dto.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/converters/dto.js +25 -0
- package/dist/modules/data-tables/lib/converters/dto.js.map +1 -0
- package/dist/modules/data-tables/lib/converters/filter.d.ts +10 -0
- package/dist/modules/data-tables/lib/converters/filter.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/converters/filter.js +14 -0
- package/dist/modules/data-tables/lib/converters/filter.js.map +1 -0
- package/dist/modules/data-tables/lib/converters/search.d.ts +17 -0
- package/dist/modules/data-tables/lib/converters/search.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/converters/search.js +16 -0
- package/dist/modules/data-tables/lib/converters/search.js.map +1 -0
- package/dist/modules/data-tables/lib/converters/sorting.d.ts +15 -0
- package/dist/modules/data-tables/lib/converters/sorting.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/converters/sorting.js +20 -0
- package/dist/modules/data-tables/lib/converters/sorting.js.map +1 -0
- package/dist/modules/data-tables/lib/filters/config.d.ts +11 -0
- package/dist/modules/data-tables/lib/filters/config.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/filters/config.js +6 -0
- package/dist/modules/data-tables/lib/filters/config.js.map +1 -0
- package/dist/modules/data-tables/lib/filters/parsers.d.ts +32 -0
- package/dist/modules/data-tables/lib/filters/parsers.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/filters/parsers.js +29 -0
- package/dist/modules/data-tables/lib/filters/parsers.js.map +1 -0
- package/dist/modules/data-tables/lib/filters/resolvers.d.ts +24 -0
- package/dist/modules/data-tables/lib/filters/resolvers.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/filters/resolvers.js +49 -0
- package/dist/modules/data-tables/lib/filters/resolvers.js.map +1 -0
- package/dist/modules/data-tables/lib/helpers/create-column.js +11 -0
- package/dist/modules/data-tables/lib/helpers/create-column.js.map +1 -0
- package/dist/modules/data-tables/lib/search-params.d.ts +22 -0
- package/dist/modules/data-tables/lib/search-params.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/search-params.js +17 -0
- package/dist/modules/data-tables/lib/search-params.js.map +1 -0
- package/dist/modules/data-tables/lib/types.d.ts +57 -0
- package/dist/modules/data-tables/lib/types.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/validators.d.ts +21 -0
- package/dist/modules/data-tables/lib/validators.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/validators.js +17 -0
- package/dist/modules/data-tables/lib/validators.js.map +1 -0
- package/dist/modules/data-tables/server/get-data.server.d.ts +30 -0
- package/dist/modules/data-tables/server/get-data.server.d.ts.map +1 -0
- package/dist/modules/data-tables/server/get-data.server.js +48 -0
- package/dist/modules/data-tables/server/get-data.server.js.map +1 -0
- package/dist/modules/data-tables/strategies/helpers/sorting.js +38 -0
- package/dist/modules/data-tables/strategies/helpers/sorting.js.map +1 -0
- package/dist/modules/data-tables/strategies/infinite/components.js +52 -0
- package/dist/modules/data-tables/strategies/infinite/components.js.map +1 -0
- package/dist/modules/data-tables/strategies/infinite/strategy.d.ts +21 -0
- package/dist/modules/data-tables/strategies/infinite/strategy.d.ts.map +1 -0
- package/dist/modules/data-tables/strategies/infinite/strategy.js +49 -0
- package/dist/modules/data-tables/strategies/infinite/strategy.js.map +1 -0
- package/dist/modules/data-tables/strategies/pagination/components.js +133 -0
- package/dist/modules/data-tables/strategies/pagination/components.js.map +1 -0
- package/dist/modules/data-tables/strategies/pagination/strategy.d.ts +13 -0
- package/dist/modules/data-tables/strategies/pagination/strategy.d.ts.map +1 -0
- package/dist/modules/data-tables/strategies/pagination/strategy.js +47 -0
- package/dist/modules/data-tables/strategies/pagination/strategy.js.map +1 -0
- package/dist/modules/data-tables/tables/data-table/components/body.js +34 -0
- package/dist/modules/data-tables/tables/data-table/components/body.js.map +1 -0
- package/dist/modules/data-tables/tables/data-table/components/header.js +14 -0
- package/dist/modules/data-tables/tables/data-table/components/header.js.map +1 -0
- package/dist/modules/data-tables/tables/data-table/components/row.js +25 -0
- package/dist/modules/data-tables/tables/data-table/components/row.js.map +1 -0
- package/dist/modules/data-tables/tables/data-table/components/table.d.ts +11 -0
- package/dist/modules/data-tables/tables/data-table/components/table.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/data-table/components/table.js +38 -0
- package/dist/modules/data-tables/tables/data-table/components/table.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/body.js +71 -0
- package/dist/modules/data-tables/tables/inline-table/components/body.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.ts +12 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.js +16 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.ts +10 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.js +40 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/header.js +11 -0
- package/dist/modules/data-tables/tables/inline-table/components/header.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.ts +29 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.js +53 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.ts +27 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.js +30 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.ts +39 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.js +72 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.ts +12 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.js +16 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.ts +33 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.js +53 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/row.client.js +38 -0
- package/dist/modules/data-tables/tables/inline-table/components/row.client.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/table.d.ts +16 -0
- package/dist/modules/data-tables/tables/inline-table/components/table.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/table.js +47 -0
- package/dist/modules/data-tables/tables/inline-table/components/table.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.ts +47 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.js +59 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-hotkeys.client.js +27 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-hotkeys.client.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.d.ts +15 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.js +53 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.js.map +1 -0
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.ts +17 -0
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/combobox-dropdown.client.js +26 -0
- package/dist/modules/inline-edit/components/combobox-dropdown.client.js.map +1 -0
- package/dist/modules/inline-edit/components/combobox.client.d.ts +15 -0
- package/dist/modules/inline-edit/components/combobox.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/combobox.client.js +28 -0
- package/dist/modules/inline-edit/components/combobox.client.js.map +1 -0
- package/dist/modules/inline-edit/components/date-input.client.d.ts +14 -0
- package/dist/modules/inline-edit/components/date-input.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/date-input.client.js +79 -0
- package/dist/modules/inline-edit/components/date-input.client.js.map +1 -0
- package/dist/modules/inline-edit/components/date-picker.client.d.ts +16 -0
- package/dist/modules/inline-edit/components/date-picker.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/date-picker.client.js +51 -0
- package/dist/modules/inline-edit/components/date-picker.client.js.map +1 -0
- package/dist/modules/inline-edit/components/editor.client.d.ts +16 -0
- package/dist/modules/inline-edit/components/editor.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/editor.client.js +35 -0
- package/dist/modules/inline-edit/components/editor.client.js.map +1 -0
- package/dist/modules/inline-edit/components/input-toggle.client.d.ts +17 -0
- package/dist/modules/inline-edit/components/input-toggle.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/input-toggle.client.js +47 -0
- package/dist/modules/inline-edit/components/input-toggle.client.js.map +1 -0
- package/dist/modules/inline-edit/components/input.client.d.ts +30 -0
- package/dist/modules/inline-edit/components/input.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/input.client.js +49 -0
- package/dist/modules/inline-edit/components/input.client.js.map +1 -0
- package/dist/modules/inline-edit/components/richtext.client.d.ts +14 -0
- package/dist/modules/inline-edit/components/richtext.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/richtext.client.js +31 -0
- package/dist/modules/inline-edit/components/richtext.client.js.map +1 -0
- package/dist/modules/inline-edit/components/select.client.d.ts +22 -0
- package/dist/modules/inline-edit/components/select.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/select.client.js +39 -0
- package/dist/modules/inline-edit/components/select.client.js.map +1 -0
- package/dist/modules/inline-edit/components/switch.client.d.ts +14 -0
- package/dist/modules/inline-edit/components/switch.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/switch.client.js +27 -0
- package/dist/modules/inline-edit/components/switch.client.js.map +1 -0
- package/dist/modules/inline-edit/components/toggle.client.d.ts +16 -0
- package/dist/modules/inline-edit/components/toggle.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/toggle.client.js +34 -0
- package/dist/modules/inline-edit/components/toggle.client.js.map +1 -0
- package/dist/modules/inline-edit/hooks/context.client.d.ts +28 -0
- package/dist/modules/inline-edit/hooks/context.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/hooks/context.client.js +29 -0
- package/dist/modules/inline-edit/hooks/context.client.js.map +1 -0
- package/dist/modules/inline-edit/hooks/use-inline.client.d.ts +16 -0
- package/dist/modules/inline-edit/hooks/use-inline.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/hooks/use-inline.client.js +57 -0
- package/dist/modules/inline-edit/hooks/use-inline.client.js.map +1 -0
- package/dist/modules/inline-edit/lib/validators.d.ts +58 -0
- package/dist/modules/inline-edit/lib/validators.d.ts.map +1 -0
- package/dist/modules/inline-edit/lib/validators.js +35 -0
- package/dist/modules/inline-edit/lib/validators.js.map +1 -0
- package/dist/modules/uploads/components/button.client.d.ts +12 -0
- package/dist/modules/uploads/components/button.client.d.ts.map +1 -0
- package/dist/modules/uploads/components/button.client.js +35 -0
- package/dist/modules/uploads/components/button.client.js.map +1 -0
- package/dist/modules/uploads/components/images/grid.client.d.ts +11 -0
- package/dist/modules/uploads/components/images/grid.client.d.ts.map +1 -0
- package/dist/modules/uploads/components/images/grid.client.js +120 -0
- package/dist/modules/uploads/components/images/grid.client.js.map +1 -0
- package/dist/modules/uploads/components/images/input.client.d.ts +16 -0
- package/dist/modules/uploads/components/images/input.client.d.ts.map +1 -0
- package/dist/modules/uploads/components/images/input.client.js +28 -0
- package/dist/modules/uploads/components/images/input.client.js.map +1 -0
- package/dist/modules/uploads/components/preview-dialog.client.d.ts +16 -0
- package/dist/modules/uploads/components/preview-dialog.client.d.ts.map +1 -0
- package/dist/modules/uploads/components/preview-dialog.client.js +22 -0
- package/dist/modules/uploads/components/preview-dialog.client.js.map +1 -0
- package/dist/modules/uploads/components/zone.client.d.ts +21 -0
- package/dist/modules/uploads/components/zone.client.d.ts.map +1 -0
- package/dist/modules/uploads/components/zone.client.js +39 -0
- package/dist/modules/uploads/components/zone.client.js.map +1 -0
- package/dist/modules/uploads/hooks/use-upload-image.client.d.ts +33 -0
- package/dist/modules/uploads/hooks/use-upload-image.client.d.ts.map +1 -0
- package/dist/modules/uploads/hooks/use-upload-image.client.js +101 -0
- package/dist/modules/uploads/hooks/use-upload-image.client.js.map +1 -0
- package/dist/modules/uploads/hooks/use-upload-zone.client.d.ts +39 -0
- package/dist/modules/uploads/hooks/use-upload-zone.client.d.ts.map +1 -0
- package/dist/modules/uploads/hooks/use-upload-zone.client.js +20 -0
- package/dist/modules/uploads/hooks/use-upload-zone.client.js.map +1 -0
- package/dist/modules/uploads/lib/constants.d.ts +9 -0
- package/dist/modules/uploads/lib/constants.d.ts.map +1 -0
- package/dist/modules/uploads/lib/constants.js +17 -0
- package/dist/modules/uploads/lib/constants.js.map +1 -0
- package/dist/modules/uploads/lib/filters.d.ts +10 -0
- package/dist/modules/uploads/lib/filters.d.ts.map +1 -0
- package/dist/modules/uploads/lib/filters.js +10 -0
- package/dist/modules/uploads/lib/filters.js.map +1 -0
- package/dist/modules/uploads/lib/helpers.d.ts +32 -0
- package/dist/modules/uploads/lib/helpers.d.ts.map +1 -0
- package/dist/modules/uploads/lib/helpers.js +73 -0
- package/dist/modules/uploads/lib/helpers.js.map +1 -0
- package/dist/modules/uploads/lib/proxy.server.d.ts +46 -0
- package/dist/modules/uploads/lib/proxy.server.d.ts.map +1 -0
- package/dist/modules/uploads/lib/proxy.server.js +96 -0
- package/dist/modules/uploads/lib/proxy.server.js.map +1 -0
- package/dist/modules/uploads/lib/route.server.d.ts +43 -0
- package/dist/modules/uploads/lib/route.server.d.ts.map +1 -0
- package/dist/modules/uploads/lib/route.server.js +72 -0
- package/dist/modules/uploads/lib/route.server.js.map +1 -0
- package/dist/modules/uploads/lib/router.server.d.ts +12765 -0
- package/dist/modules/uploads/lib/router.server.d.ts.map +1 -0
- package/dist/modules/uploads/lib/router.server.js +177 -0
- package/dist/modules/uploads/lib/router.server.js.map +1 -0
- package/dist/modules/uploads/lib/schema.d.ts +815 -0
- package/dist/modules/uploads/lib/schema.d.ts.map +1 -0
- package/dist/modules/uploads/lib/schema.js +66 -0
- package/dist/modules/uploads/lib/schema.js.map +1 -0
- package/dist/modules/uploads/lib/validators.d.ts +939 -0
- package/dist/modules/uploads/lib/validators.d.ts.map +1 -0
- package/dist/modules/uploads/lib/validators.js +25 -0
- package/dist/modules/uploads/lib/validators.js.map +1 -0
- package/dist/uploads/client.d.ts +8 -0
- package/dist/uploads/client.js +9 -0
- package/dist/uploads/server.d.ts +4 -0
- package/dist/uploads/server.js +5 -0
- package/dist/uploads.d.ts +6 -0
- package/dist/uploads.js +7 -0
- package/package.json +164 -0
- package/src/components/common/icons.tsx +159 -0
- package/src/components/common/status.tsx +88 -0
- package/src/components/editor/components/block-dropdown.tsx +107 -0
- package/src/components/editor/components/content.client.tsx +16 -0
- package/src/components/editor/components/fixed-menu.client.tsx +143 -0
- package/src/components/editor/components/spinner.tsx +28 -0
- package/src/components/editor/context.client.tsx +116 -0
- package/src/components/editor/index.client.tsx +13 -0
- package/src/components/editor/preview.client.tsx +13 -0
- package/src/components/editor/utils.ts +201 -0
- package/src/components/emails/forget-password-email.tsx +70 -0
- package/src/components/entry.client.ts +48 -0
- package/src/components/entry.server.ts +5 -0
- package/src/components/entry.ts +52 -0
- package/src/components/forms/form-dialog.tsx +141 -0
- package/src/components/forms/form-layout.tsx +56 -0
- package/src/components/header/back-button.client.tsx +54 -0
- package/src/components/header/bottom-bar.client.tsx +55 -0
- package/src/components/header/breadcrumbs.client.tsx +99 -0
- package/src/components/header/header.client.tsx +10 -0
- package/src/components/header/indicator.client.tsx +28 -0
- package/src/components/header/mobile-nav-switcher.client.tsx +22 -0
- package/src/components/header/top-bar.client.tsx +134 -0
- package/src/components/layouts/admin-content.client.tsx +23 -0
- package/src/components/layouts/admin-layout.server.tsx +31 -0
- package/src/components/layouts/admin-loading.tsx +11 -0
- package/src/components/layouts/admin-sidebar-context.client.tsx +34 -0
- package/src/components/layouts/admin-sidebar-header.client.tsx +98 -0
- package/src/components/layouts/admin-sidebar.client.tsx +88 -0
- package/src/components/layouts/empty-page.tsx +59 -0
- package/src/components/layouts/list-layout.tsx +10 -0
- package/src/components/layouts/not-allowed-page.tsx +44 -0
- package/src/components/layouts/not-found-page.tsx +9 -0
- package/src/components/layouts/not-found-section.tsx +21 -0
- package/src/components/layouts/providers.client.tsx +29 -0
- package/src/components/layouts/root-layout.server.tsx +50 -0
- package/src/components/layouts/tab-layout.tsx +68 -0
- package/src/components/lists/data-list.tsx +48 -0
- package/src/components/lists/data-stack.tsx +71 -0
- package/src/components/ui/accordion.tsx +64 -0
- package/src/components/ui/alert-dialog.tsx +133 -0
- package/src/components/ui/alert.tsx +60 -0
- package/src/components/ui/aspect-ratio.tsx +9 -0
- package/src/components/ui/avatar.client.tsx +41 -0
- package/src/components/ui/badge.tsx +39 -0
- package/src/components/ui/breadcrumb.tsx +102 -0
- package/src/components/ui/button.tsx +56 -0
- package/src/components/ui/calendar.tsx +72 -0
- package/src/components/ui/card.tsx +58 -0
- package/src/components/ui/carousel.tsx +230 -0
- package/src/components/ui/chart.client.tsx +322 -0
- package/src/components/ui/checkbox.tsx +29 -0
- package/src/components/ui/collapsible.client.tsx +21 -0
- package/src/components/ui/color-picker.client.tsx +50 -0
- package/src/components/ui/combobox-dropdown.client.tsx +156 -0
- package/src/components/ui/combobox.client.tsx +110 -0
- package/src/components/ui/command.tsx +154 -0
- package/src/components/ui/context-menu.tsx +224 -0
- package/src/components/ui/dialog.client.tsx +121 -0
- package/src/components/ui/drawer.client.tsx +121 -0
- package/src/components/ui/dropdown-menu.tsx +228 -0
- package/src/components/ui/form.client.tsx +152 -0
- package/src/components/ui/hover-card.client.tsx +36 -0
- package/src/components/ui/input.tsx +21 -0
- package/src/components/ui/label.tsx +21 -0
- package/src/components/ui/navigation-menu.tsx +163 -0
- package/src/components/ui/pagination.tsx +106 -0
- package/src/components/ui/popover.tsx +42 -0
- package/src/components/ui/progress.client.tsx +28 -0
- package/src/components/ui/radio-group.tsx +45 -0
- package/src/components/ui/resizable.client.tsx +51 -0
- package/src/components/ui/scroll-area.tsx +56 -0
- package/src/components/ui/select.client.tsx +166 -0
- package/src/components/ui/separator.tsx +28 -0
- package/src/components/ui/sheet.client.tsx +128 -0
- package/src/components/ui/sidebar.client.tsx +696 -0
- package/src/components/ui/skeleton.tsx +13 -0
- package/src/components/ui/slider.tsx +58 -0
- package/src/components/ui/sonner.client.tsx +28 -0
- package/src/components/ui/switch.tsx +28 -0
- package/src/components/ui/tabs.tsx +54 -0
- package/src/components/ui/textarea.tsx +18 -0
- package/src/components/ui/time-input.client.tsx +56 -0
- package/src/components/ui/time-picker-input.client.tsx +107 -0
- package/src/components/ui/toggle-group.client.tsx +69 -0
- package/src/components/ui/toggle.tsx +46 -0
- package/src/components/ui/tooltip.client.tsx +57 -0
- package/src/components/ui/tree.client.tsx +173 -0
- package/src/entry.ts +104 -0
- package/src/lib/config/constants.ts +1 -0
- package/src/lib/entry.client.ts +6 -0
- package/src/lib/entry.server.ts +0 -0
- package/src/lib/entry.ts +19 -0
- package/src/lib/hooks/use-action.ts +54 -0
- package/src/lib/hooks/use-indicator.tsx +62 -0
- package/src/lib/hooks/use-mobile.client.tsx +21 -0
- package/src/lib/types/config.ts +8 -0
- package/src/lib/utils/array-move.ts +8 -0
- package/src/lib/utils/cn.ts +6 -0
- package/src/lib/utils/fonts.ts +8 -0
- package/src/lib/utils/format.ts +104 -0
- package/src/lib/utils/manifest.ts +35 -0
- package/src/lib/utils/time-picker.ts +139 -0
- package/src/lib/utils/url.ts +12 -0
- package/src/modules/auth/components/allowed.client.tsx +22 -0
- package/src/modules/auth/components/allowed.server.tsx +41 -0
- package/src/modules/auth/components/auth-layout.server.tsx +31 -0
- package/src/modules/auth/components/forget-password-page.client.tsx +78 -0
- package/src/modules/auth/components/login-page.client.tsx +118 -0
- package/src/modules/auth/components/reset-password-page.client.tsx +107 -0
- package/src/modules/auth/components/update-password-command.tsx +79 -0
- package/src/modules/auth/db/schema.ts +76 -0
- package/src/modules/auth/entry.client.ts +6 -0
- package/src/modules/auth/entry.server.ts +4 -0
- package/src/modules/auth/entry.ts +3 -0
- package/src/modules/auth/handler/client.client.ts +24 -0
- package/src/modules/auth/handler/route.server.ts +32 -0
- package/src/modules/auth/handler/server.server.ts +82 -0
- package/src/modules/auth/hooks/use-permission.client.ts +48 -0
- package/src/modules/auth/lib/helpers.server.ts +59 -0
- package/src/modules/auth/lib/permissions.ts +19 -0
- package/src/modules/auth/lib/utils.ts +17 -0
- package/src/modules/auth/lib/validators.ts +91 -0
- package/src/modules/commands/components/alert-dialog-command.client.tsx +284 -0
- package/src/modules/commands/components/click-command.client.tsx +81 -0
- package/src/modules/commands/components/command-trigger.client.tsx +69 -0
- package/src/modules/commands/components/dialog-command.client.tsx +161 -0
- package/src/modules/commands/components/dropdown-command.client.tsx +200 -0
- package/src/modules/commands/components/empty-command.client.tsx +63 -0
- package/src/modules/commands/components/form-dialog-command.client.tsx +243 -0
- package/src/modules/commands/components/render-command.tsx +20 -0
- package/src/modules/commands/entry.client.ts +15 -0
- package/src/modules/commands/entry.server.ts +0 -0
- package/src/modules/commands/entry.ts +2 -0
- package/src/modules/commands/hooks/context.client.tsx +38 -0
- package/src/modules/commands/hooks/use-command-action.client.tsx +95 -0
- package/src/modules/commands/hooks/use-command-menu.client.tsx +260 -0
- package/src/modules/commands/lib/definitions.ts +43 -0
- package/src/modules/commands/lib/factory.ts +5 -0
- package/src/modules/commands/lib/schema.ts +23 -0
- package/src/modules/commands/menus/context-menu.client.tsx +69 -0
- package/src/modules/commands/menus/data-table-menu.client.tsx +46 -0
- package/src/modules/commands/menus/dropdown-menu.client.tsx +50 -0
- package/src/modules/commands/menus/inline-menu.client.tsx +34 -0
- package/src/modules/commands/menus/responsive-menu.client.tsx +18 -0
- package/src/modules/commands/utils/archive-command.client.tsx +53 -0
- package/src/modules/commands/utils/delete-command.client.tsx +58 -0
- package/src/modules/commands/utils/send-mail-command.client.tsx +187 -0
- package/src/modules/config/db/create-client.ts +33 -0
- package/src/modules/config/db/helpers.ts +18 -0
- package/src/modules/config/db/types.ts +1 -0
- package/src/modules/config/entry.client.ts +0 -0
- package/src/modules/config/entry.server.ts +14 -0
- package/src/modules/config/entry.ts +5 -0
- package/src/modules/config/lib/config.server.ts +40 -0
- package/src/modules/config/lib/resolve.server.ts +75 -0
- package/src/modules/config/paths/create.server.ts +10 -0
- package/src/modules/config/paths/get.server.ts +69 -0
- package/src/modules/config/paths/types.ts +64 -0
- package/src/modules/config/router/client.server.tsx +57 -0
- package/src/modules/config/router/client.tsx +31 -0
- package/src/modules/config/router/context.server.ts +29 -0
- package/src/modules/config/router/error.server.ts +1 -0
- package/src/modules/config/router/helpers.ts +3 -0
- package/src/modules/config/router/init.server.ts +77 -0
- package/src/modules/config/router/query-client.ts +63 -0
- package/src/modules/config/router/validators.ts +10 -0
- package/src/modules/data-tables/components/cell/common.client.tsx +35 -0
- package/src/modules/data-tables/components/cell/index.client.tsx +13 -0
- package/src/modules/data-tables/components/cell/select.client.tsx +32 -0
- package/src/modules/data-tables/components/column-header.tsx +65 -0
- package/src/modules/data-tables/components/filters/combobox.client.tsx +150 -0
- package/src/modules/data-tables/components/filters/slider.client.tsx +138 -0
- package/src/modules/data-tables/components/footer.tsx +40 -0
- package/src/modules/data-tables/components/header.tsx +67 -0
- package/src/modules/data-tables/components/layout.tsx +10 -0
- package/src/modules/data-tables/components/search-input.client.tsx +17 -0
- package/src/modules/data-tables/components/skeleton.tsx +39 -0
- package/src/modules/data-tables/components/table.tsx +80 -0
- package/src/modules/data-tables/components/toolbar.tsx +29 -0
- package/src/modules/data-tables/entry.client.ts +39 -0
- package/src/modules/data-tables/entry.server.ts +13 -0
- package/src/modules/data-tables/entry.ts +20 -0
- package/src/modules/data-tables/hooks/use-context.client.tsx +73 -0
- package/src/modules/data-tables/hooks/use-filter.client.ts +31 -0
- package/src/modules/data-tables/hooks/use-search.client.ts +29 -0
- package/src/modules/data-tables/hooks/use-selection.client.ts +57 -0
- package/src/modules/data-tables/hooks/use-table.client.ts +57 -0
- package/src/modules/data-tables/lib/converters/cursor.ts +13 -0
- package/src/modules/data-tables/lib/converters/dto.ts +54 -0
- package/src/modules/data-tables/lib/converters/filter.ts +11 -0
- package/src/modules/data-tables/lib/converters/search.ts +23 -0
- package/src/modules/data-tables/lib/converters/sorting.ts +25 -0
- package/src/modules/data-tables/lib/filters/config.ts +6 -0
- package/src/modules/data-tables/lib/filters/parsers.ts +66 -0
- package/src/modules/data-tables/lib/filters/resolvers.ts +61 -0
- package/src/modules/data-tables/lib/helpers/create-column.ts +9 -0
- package/src/modules/data-tables/lib/search-params.ts +12 -0
- package/src/modules/data-tables/lib/types.ts +63 -0
- package/src/modules/data-tables/lib/validators.ts +22 -0
- package/src/modules/data-tables/server/get-data.server.ts +78 -0
- package/src/modules/data-tables/strategies/helpers/sorting.ts +65 -0
- package/src/modules/data-tables/strategies/infinite/components.tsx +67 -0
- package/src/modules/data-tables/strategies/infinite/strategy.ts +70 -0
- package/src/modules/data-tables/strategies/pagination/components.tsx +117 -0
- package/src/modules/data-tables/strategies/pagination/strategy.ts +53 -0
- package/src/modules/data-tables/tables/data-table/components/body.tsx +48 -0
- package/src/modules/data-tables/tables/data-table/components/header.tsx +18 -0
- package/src/modules/data-tables/tables/data-table/components/row.tsx +40 -0
- package/src/modules/data-tables/tables/data-table/components/table.tsx +30 -0
- package/src/modules/data-tables/tables/inline-table/components/body.tsx +113 -0
- package/src/modules/data-tables/tables/inline-table/components/cells/common.tsx +15 -0
- package/src/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.tsx +40 -0
- package/src/modules/data-tables/tables/inline-table/components/header.tsx +20 -0
- package/src/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.tsx +90 -0
- package/src/modules/data-tables/tables/inline-table/components/inputs/combobox.client.tsx +109 -0
- package/src/modules/data-tables/tables/inline-table/components/inputs/input.client.tsx +108 -0
- package/src/modules/data-tables/tables/inline-table/components/inputs/read-only.tsx +17 -0
- package/src/modules/data-tables/tables/inline-table/components/inputs/select.client.tsx +102 -0
- package/src/modules/data-tables/tables/inline-table/components/row.client.tsx +57 -0
- package/src/modules/data-tables/tables/inline-table/components/table.tsx +42 -0
- package/src/modules/data-tables/tables/inline-table/hooks/context.client.tsx +85 -0
- package/src/modules/data-tables/tables/inline-table/hooks/use-hotkeys.client.ts +117 -0
- package/src/modules/data-tables/tables/inline-table/hooks/use-input.client.ts +65 -0
- package/src/modules/inline-edit/components/combobox-dropdown.client.tsx +38 -0
- package/src/modules/inline-edit/components/combobox.client.tsx +32 -0
- package/src/modules/inline-edit/components/date-input.client.tsx +92 -0
- package/src/modules/inline-edit/components/date-picker.client.tsx +58 -0
- package/src/modules/inline-edit/components/editor.client.tsx +41 -0
- package/src/modules/inline-edit/components/input-toggle.client.tsx +61 -0
- package/src/modules/inline-edit/components/input.client.tsx +65 -0
- package/src/modules/inline-edit/components/richtext.client.tsx +36 -0
- package/src/modules/inline-edit/components/select.client.tsx +62 -0
- package/src/modules/inline-edit/components/switch.client.tsx +29 -0
- package/src/modules/inline-edit/components/toggle.client.tsx +39 -0
- package/src/modules/inline-edit/entry.client.ts +12 -0
- package/src/modules/inline-edit/entry.server.ts +1 -0
- package/src/modules/inline-edit/entry.ts +1 -0
- package/src/modules/inline-edit/hooks/context.client.tsx +29 -0
- package/src/modules/inline-edit/hooks/use-inline.client.tsx +62 -0
- package/src/modules/inline-edit/lib/factory.server.ts +91 -0
- package/src/modules/inline-edit/lib/validators.ts +43 -0
- package/src/modules/uploads/components/button.client.tsx +29 -0
- package/src/modules/uploads/components/images/grid.client.tsx +162 -0
- package/src/modules/uploads/components/images/input.client.tsx +34 -0
- package/src/modules/uploads/components/preview-dialog.client.tsx +21 -0
- package/src/modules/uploads/components/zone.client.tsx +56 -0
- package/src/modules/uploads/entry.client.ts +14 -0
- package/src/modules/uploads/entry.server.ts +6 -0
- package/src/modules/uploads/entry.ts +5 -0
- package/src/modules/uploads/hooks/use-upload-image.client.tsx +131 -0
- package/src/modules/uploads/hooks/use-upload-zone.client.ts +44 -0
- package/src/modules/uploads/lib/constants.ts +10 -0
- package/src/modules/uploads/lib/filters.ts +7 -0
- package/src/modules/uploads/lib/helpers.ts +66 -0
- package/src/modules/uploads/lib/proxy.server.ts +131 -0
- package/src/modules/uploads/lib/route.server.ts +95 -0
- package/src/modules/uploads/lib/router.server.ts +340 -0
- package/src/modules/uploads/lib/schema.ts +82 -0
- package/src/modules/uploads/lib/validators.ts +47 -0
- package/src/styles.css +194 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "../ui/breadcrumb.js";
|
|
2
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../ui/dropdown-menu.js";
|
|
3
|
+
import { ScrollArea } from "../ui/scroll-area.js";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import Link from "next/link";
|
|
6
|
+
|
|
7
|
+
//#region src/components/header/breadcrumbs.client.tsx
|
|
8
|
+
function HeaderBreadcrumbs(props) {
|
|
9
|
+
return /* @__PURE__ */ jsx(Breadcrumb, { children: props.children });
|
|
10
|
+
}
|
|
11
|
+
const HeaderBreadcrumbSeparator = BreadcrumbSeparator;
|
|
12
|
+
/**
|
|
13
|
+
* Dropdown menu
|
|
14
|
+
*/
|
|
15
|
+
function HeaderBreadcrumbsDropdownMenu(props) {
|
|
16
|
+
return /* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsxs(DropdownMenu, { children: [/* @__PURE__ */ jsx(DropdownMenuTrigger, {
|
|
17
|
+
className: "flex items-center gap-1",
|
|
18
|
+
children: /* @__PURE__ */ jsx(BreadcrumbEllipsis, {})
|
|
19
|
+
}), /* @__PURE__ */ jsx(DropdownMenuContent, {
|
|
20
|
+
align: "start",
|
|
21
|
+
children: props.children
|
|
22
|
+
})] }) });
|
|
23
|
+
}
|
|
24
|
+
function HeaderBreadcrumbsDropdownMenuItem(props) {
|
|
25
|
+
return /* @__PURE__ */ jsx(DropdownMenuItem, { children: props.breadcrumb.href ? /* @__PURE__ */ jsx(Link, {
|
|
26
|
+
href: props.breadcrumb.href,
|
|
27
|
+
children: props.breadcrumb.label
|
|
28
|
+
}) : /* @__PURE__ */ jsx("span", { children: props.breadcrumb.label }) });
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Links
|
|
32
|
+
*/
|
|
33
|
+
function HeaderBreadcrumbsLink(props) {
|
|
34
|
+
return /* @__PURE__ */ jsx(BreadcrumbItem, { children: props.breadcrumb.href ? /* @__PURE__ */ jsx(BreadcrumbLink, {
|
|
35
|
+
asChild: true,
|
|
36
|
+
children: /* @__PURE__ */ jsx(Link, {
|
|
37
|
+
href: props.breadcrumb.href,
|
|
38
|
+
className: "truncate",
|
|
39
|
+
children: props.breadcrumb.label
|
|
40
|
+
})
|
|
41
|
+
}) : /* @__PURE__ */ jsx(BreadcrumbPage, {
|
|
42
|
+
className: "truncate",
|
|
43
|
+
children: props.breadcrumb.label
|
|
44
|
+
}) });
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Lists
|
|
48
|
+
*/
|
|
49
|
+
function HeaderBreadcrumbsMobileList(props) {
|
|
50
|
+
return /* @__PURE__ */ jsx(ScrollArea, { children: /* @__PURE__ */ jsx(BreadcrumbList, {
|
|
51
|
+
className: "flex-nowrap lg:hidden",
|
|
52
|
+
children: props.children
|
|
53
|
+
}) });
|
|
54
|
+
}
|
|
55
|
+
function HeaderBreadcrumbsDesktopList(props) {
|
|
56
|
+
return /* @__PURE__ */ jsx(ScrollArea, { children: /* @__PURE__ */ jsx(BreadcrumbList, {
|
|
57
|
+
className: "hidden flex-nowrap lg:flex",
|
|
58
|
+
children: props.children
|
|
59
|
+
}) });
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
//#endregion
|
|
63
|
+
export { HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList };
|
|
64
|
+
//# sourceMappingURL=breadcrumbs.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumbs.client.js","names":[],"sources":["../../../src/components/header/breadcrumbs.client.tsx"],"sourcesContent":["import {\n Breadcrumb,\n BreadcrumbEllipsis,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbPage,\n BreadcrumbSeparator,\n} from \"@/components/ui/breadcrumb\";\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\";\nimport { ScrollArea } from \"@/components/ui/scroll-area\";\nimport Link from \"next/link\";\nimport { PropsWithChildren } from \"react\";\n\nexport type HeaderBreadcrumb = {\n label: string;\n href?: string;\n};\n\nexport type HeaderBreadcrumbProps = {\n breadcrumbs: HeaderBreadcrumb[];\n};\n\nexport function HeaderBreadcrumbs(props: PropsWithChildren) {\n return <Breadcrumb>{props.children}</Breadcrumb>;\n}\n\nexport const HeaderBreadcrumbSeparator = BreadcrumbSeparator;\n\n/**\n * Dropdown menu\n */\nexport function HeaderBreadcrumbsDropdownMenu(props: PropsWithChildren) {\n return (\n <BreadcrumbItem>\n <DropdownMenu>\n <DropdownMenuTrigger className=\"flex items-center gap-1\">\n <BreadcrumbEllipsis />\n </DropdownMenuTrigger>\n <DropdownMenuContent align=\"start\">{props.children}</DropdownMenuContent>\n </DropdownMenu>\n </BreadcrumbItem>\n );\n}\n\nexport function HeaderBreadcrumbsDropdownMenuItem(props: { breadcrumb: HeaderBreadcrumb }) {\n return (\n <DropdownMenuItem>\n {props.breadcrumb.href ? (\n <Link href={props.breadcrumb.href}>{props.breadcrumb.label}</Link>\n ) : (\n <span>{props.breadcrumb.label}</span>\n )}\n </DropdownMenuItem>\n );\n}\n\n/**\n * Links\n */\nexport function HeaderBreadcrumbsLink(props: { breadcrumb: HeaderBreadcrumb }) {\n return (\n <BreadcrumbItem>\n {props.breadcrumb.href ? (\n <BreadcrumbLink asChild>\n <Link href={props.breadcrumb.href} className=\"truncate\">\n {props.breadcrumb.label}\n </Link>\n </BreadcrumbLink>\n ) : (\n <BreadcrumbPage className=\"truncate\">{props.breadcrumb.label}</BreadcrumbPage>\n )}\n </BreadcrumbItem>\n );\n}\n\n/**\n * Lists\n */\nexport function HeaderBreadcrumbsMobileList(props: PropsWithChildren) {\n return (\n <ScrollArea>\n <BreadcrumbList className=\"flex-nowrap lg:hidden\">{props.children}</BreadcrumbList>\n </ScrollArea>\n );\n}\n\nexport function HeaderBreadcrumbsDesktopList(props: PropsWithChildren) {\n return (\n <ScrollArea>\n <BreadcrumbList className=\"hidden flex-nowrap lg:flex\">{props.children}</BreadcrumbList>\n </ScrollArea>\n );\n}\n"],"mappings":";;;;;;;AA4BA,SAAgB,kBAAkB,OAA0B;AAC1D,QAAO,oBAAC,wBAAY,MAAM,WAAsB;;AAGlD,MAAa,4BAA4B;;;;AAKzC,SAAgB,8BAA8B,OAA0B;AACtE,QACE,oBAAC,4BACC,qBAAC,2BACC,oBAAC;EAAoB,WAAU;YAC7B,oBAAC,uBAAqB;GACF,EACtB,oBAAC;EAAoB,OAAM;YAAS,MAAM;GAA+B,IAC5D,GACA;;AAIrB,SAAgB,kCAAkC,OAAyC;AACzF,QACE,oBAAC,8BACE,MAAM,WAAW,OAChB,oBAAC;EAAK,MAAM,MAAM,WAAW;YAAO,MAAM,WAAW;GAAa,GAElE,oBAAC,oBAAM,MAAM,WAAW,QAAa,GAEtB;;;;;AAOvB,SAAgB,sBAAsB,OAAyC;AAC7E,QACE,oBAAC,4BACE,MAAM,WAAW,OAChB,oBAAC;EAAe;YACd,oBAAC;GAAK,MAAM,MAAM,WAAW;GAAM,WAAU;aAC1C,MAAM,WAAW;IACb;GACQ,GAEjB,oBAAC;EAAe,WAAU;YAAY,MAAM,WAAW;GAAuB,GAEjE;;;;;AAOrB,SAAgB,4BAA4B,OAA0B;AACpE,QACE,oBAAC,wBACC,oBAAC;EAAe,WAAU;YAAyB,MAAM;GAA0B,GACxE;;AAIjB,SAAgB,6BAA6B,OAA0B;AACrE,QACE,oBAAC,wBACC,oBAAC;EAAe,WAAU;YAA8B,MAAM;GAA0B,GAC7E"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as react_jsx_runtime43 from "react/jsx-runtime";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/header/header.client.d.ts
|
|
5
|
+
declare function Header({
|
|
6
|
+
children,
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}: ComponentProps<"header">): react_jsx_runtime43.JSX.Element;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { Header };
|
|
12
|
+
//# sourceMappingURL=header.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header.client.d.ts","names":[],"sources":["../../../src/components/header/header.client.tsx"],"sourcesContent":[],"mappings":";;;;iBAGgB,MAAA;;;;GAA0C,2BAAwB,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { cn } from "../../lib/utils/cn.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/header/header.client.tsx
|
|
5
|
+
function Header({ children, className,...props }) {
|
|
6
|
+
return /* @__PURE__ */ jsx("header", {
|
|
7
|
+
className: cn("bg-sidebar sticky top-0 z-30 backdrop-blur-3xl", className),
|
|
8
|
+
...props,
|
|
9
|
+
children
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { Header };
|
|
15
|
+
//# sourceMappingURL=header.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header.client.js","names":[],"sources":["../../../src/components/header/header.client.tsx"],"sourcesContent":["import { cn } from \"@/lib/utils/cn\";\nimport { ComponentProps } from \"react\";\n\nexport function Header({ children, className, ...props }: ComponentProps<\"header\">) {\n return (\n <header className={cn(\"bg-sidebar sticky top-0 z-30 backdrop-blur-3xl\", className)} {...props}>\n {children}\n </header>\n );\n}\n"],"mappings":";;;;AAGA,SAAgB,OAAO,EAAE,UAAU,UAAW,GAAG,SAAmC;AAClF,QACE,oBAAC;EAAO,WAAW,GAAG,kDAAkD,UAAU;EAAE,GAAI;EACrF;GACM"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import { cn } from "../../lib/utils/cn.js";
|
|
5
|
+
import { useIndicator } from "../../lib/hooks/use-indicator.js";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { cva } from "class-variance-authority";
|
|
8
|
+
|
|
9
|
+
//#region src/components/header/indicator.client.tsx
|
|
10
|
+
const inlineEditIndicatorVariants = cva("absolute top-2 left-3 z-50 size-2 rounded-full bg-primary", {
|
|
11
|
+
variants: { status: {
|
|
12
|
+
idle: "bg-transparent",
|
|
13
|
+
pending: "bg-primary",
|
|
14
|
+
success: "bg-green-500",
|
|
15
|
+
error: "bg-destructive"
|
|
16
|
+
} },
|
|
17
|
+
defaultVariants: { status: "idle" }
|
|
18
|
+
});
|
|
19
|
+
function Indicator() {
|
|
20
|
+
const { status } = useIndicator();
|
|
21
|
+
return /* @__PURE__ */ jsx("div", { className: cn(inlineEditIndicatorVariants({ status })) });
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
//#endregion
|
|
25
|
+
export { Indicator };
|
|
26
|
+
//# sourceMappingURL=indicator.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicator.client.js","names":[],"sources":["../../../src/components/header/indicator.client.tsx"],"sourcesContent":["\"use client\";\n\nimport { IndicatorStatus, useIndicator } from \"@/lib/hooks/use-indicator\";\nimport { cn } from \"@/lib/utils/cn\";\nimport { cva } from \"class-variance-authority\";\n\nconst inlineEditIndicatorVariants = cva(\n \"absolute top-2 left-3 z-50 size-2 rounded-full bg-primary\",\n {\n variants: {\n status: {\n idle: \"bg-transparent\",\n pending: \"bg-primary\",\n success: \"bg-green-500\",\n error: \"bg-destructive\",\n } satisfies Record<IndicatorStatus, string>,\n },\n defaultVariants: {\n status: \"idle\",\n },\n },\n);\n\nexport function Indicator() {\n const { status } = useIndicator();\n\n return <div className={cn(inlineEditIndicatorVariants({ status }))} />;\n}\n"],"mappings":";;;;;;;;;AAMA,MAAM,8BAA8B,IAClC,6DACA;CACE,UAAU,EACR,QAAQ;EACN,MAAM;EACN,SAAS;EACT,SAAS;EACT,OAAO;EACR,EACF;CACD,iBAAiB,EACf,QAAQ,QACT;CACF,CACF;AAED,SAAgB,YAAY;CAC1B,MAAM,EAAE,WAAW,cAAc;AAEjC,QAAO,oBAAC,SAAI,WAAW,GAAG,4BAA4B,EAAE,QAAQ,CAAC,CAAC,GAAI"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react_jsx_runtime44 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/components/header/mobile-nav-switcher.client.d.ts
|
|
4
|
+
declare function HeaderTopbarMobileNavSwitcher({
|
|
5
|
+
className,
|
|
6
|
+
...props
|
|
7
|
+
}: React.HtmlHTMLAttributes<HTMLButtonElement>): react_jsx_runtime44.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { HeaderTopbarMobileNavSwitcher };
|
|
10
|
+
//# sourceMappingURL=mobile-nav-switcher.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mobile-nav-switcher.client.d.ts","names":[],"sources":["../../../src/components/header/mobile-nav-switcher.client.tsx"],"sourcesContent":[],"mappings":";;;iBAKgB,6BAAA;;;GAGb,KAAA,CAAM,mBAAmB,qBAAkB,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import { cn } from "../../lib/utils/cn.js";
|
|
5
|
+
import { SidebarTrigger, useSidebar } from "../ui/sidebar.client.js";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
|
|
8
|
+
//#region src/components/header/mobile-nav-switcher.client.tsx
|
|
9
|
+
function HeaderTopbarMobileNavSwitcher({ className,...props }) {
|
|
10
|
+
const { isMobile } = useSidebar();
|
|
11
|
+
return /* @__PURE__ */ jsx(SidebarTrigger, {
|
|
12
|
+
...props,
|
|
13
|
+
"data-is-mobile": !!isMobile,
|
|
14
|
+
className: cn("h-full w-12 rounded-none border-r p-0 data-[is-mobile=false]:hidden", className)
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { HeaderTopbarMobileNavSwitcher };
|
|
20
|
+
//# sourceMappingURL=mobile-nav-switcher.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mobile-nav-switcher.client.js","names":[],"sources":["../../../src/components/header/mobile-nav-switcher.client.tsx"],"sourcesContent":["\"use client\";\n\nimport { cn } from \"@/lib/entry\";\nimport { SidebarTrigger, useSidebar } from \"../entry.client\";\n\nexport function HeaderTopbarMobileNavSwitcher({\n className,\n ...props\n}: React.HtmlHTMLAttributes<HTMLButtonElement>) {\n const { isMobile } = useSidebar();\n\n return (\n <SidebarTrigger\n {...props}\n data-is-mobile={!!isMobile}\n className={cn(\n \"h-full w-12 rounded-none border-r p-0 data-[is-mobile=false]:hidden\",\n className,\n )}\n />\n );\n}\n"],"mappings":";;;;;;;;AAKA,SAAgB,8BAA8B,EAC5C,UACA,GAAG,SAC2C;CAC9C,MAAM,EAAE,aAAa,YAAY;AAEjC,QACE,oBAAC;EACC,GAAI;EACJ,kBAAgB,CAAC,CAAC;EAClB,WAAW,GACT,uEACA,UACD;GACD"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { HeaderBreadcrumb } from "./breadcrumbs.client.js";
|
|
2
|
+
import * as react_jsx_runtime45 from "react/jsx-runtime";
|
|
3
|
+
import React from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/header/top-bar.client.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Topbar component
|
|
8
|
+
*/
|
|
9
|
+
type TopbarProps = {
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
};
|
|
12
|
+
declare function Topbar({
|
|
13
|
+
children
|
|
14
|
+
}: TopbarProps): react_jsx_runtime45.JSX.Element;
|
|
15
|
+
/**
|
|
16
|
+
* Topbar title component
|
|
17
|
+
*/
|
|
18
|
+
type TopbarTitleProps = React.HTMLAttributes<HTMLElement> & {
|
|
19
|
+
isDeleted?: boolean;
|
|
20
|
+
badge?: React.ReactNode;
|
|
21
|
+
breadcrumbs: HeaderBreadcrumb[];
|
|
22
|
+
};
|
|
23
|
+
declare function TopbarTitle({
|
|
24
|
+
breadcrumbs,
|
|
25
|
+
badge,
|
|
26
|
+
isDeleted,
|
|
27
|
+
className,
|
|
28
|
+
...props
|
|
29
|
+
}: TopbarTitleProps): react_jsx_runtime45.JSX.Element;
|
|
30
|
+
/**
|
|
31
|
+
* Topbar tools component
|
|
32
|
+
*/
|
|
33
|
+
type TopbarToolsProps = React.HTMLAttributes<HTMLElement> & {
|
|
34
|
+
children: React.ReactNode;
|
|
35
|
+
};
|
|
36
|
+
declare function TopbarTools({
|
|
37
|
+
children,
|
|
38
|
+
className,
|
|
39
|
+
...props
|
|
40
|
+
}: TopbarToolsProps): react_jsx_runtime45.JSX.Element;
|
|
41
|
+
//#endregion
|
|
42
|
+
export { Topbar, TopbarProps, TopbarTitle, TopbarTitleProps, TopbarTools, TopbarToolsProps };
|
|
43
|
+
//# sourceMappingURL=top-bar.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"top-bar.client.d.ts","names":[],"sources":["../../../src/components/header/top-bar.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAsBY,KAAA,WAAA,GAAW;EAIP,QAAA,EAHJ,KAAA,CAAM,SAGI;CAAA;AAAG,iBAAT,MAAA,CAAS;EAAA;AAAA,CAAA,EAAY,WAAZ,CAAA,EAAuB,mBAAA,CAAA,GAAA,CAAA,OAAvB;;;;AAab,KAAA,gBAAA,GAAmB,KAAA,CAAM,cAAT,CAAwB,WAAxB,CAAA,GAAA;EAAA,SAAA,CAAA,EAAA,OAAA;OAAwB,CAAA,EAE1C,KAAA,CAAM,SAFoC;aAAf,EAGtB,gBAHsB,EAAA;;AAGtB,iBAGC,WAAA,CAHD;EAAA,WAAA;EAAA,KAAA;EAAA,SAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EASZ,gBATY,CAAA,EASI,mBAAA,CAAA,GAAA,CAAA,OATJ;;AAGf;;AACE,KA0EU,gBAAA,GAAmB,KAAA,CAAM,cA1EnC,CA0EkD,WA1ElD,CAAA,GAAA;UACA,EA0EU,KAAA,CAAM,SA1EhB;;AAEA,iBA2Ec,WAAA,CA3Ed;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2E6D,gBA3E7D,CAAA,EA2E6E,mBAAA,CAAA,GAAA,CAAA,OA3E7E"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Icons } from "../common/icons.js";
|
|
2
|
+
import { cn } from "../../lib/utils/cn.js";
|
|
3
|
+
import { Badge } from "../ui/badge.js";
|
|
4
|
+
import { HeaderTopbarBackButton } from "./back-button.client.js";
|
|
5
|
+
import { HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList } from "./breadcrumbs.client.js";
|
|
6
|
+
import { HeaderTopbarMobileNavSwitcher } from "./mobile-nav-switcher.client.js";
|
|
7
|
+
import { Indicator } from "./indicator.client.js";
|
|
8
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { Fragment as Fragment$1 } from "react";
|
|
10
|
+
|
|
11
|
+
//#region src/components/header/top-bar.client.tsx
|
|
12
|
+
function Topbar({ children }) {
|
|
13
|
+
return /* @__PURE__ */ jsxs("nav", {
|
|
14
|
+
className: "flex h-[var(--header-top-bar-height)] items-center justify-between overflow-x-auto border-b",
|
|
15
|
+
children: [/* @__PURE__ */ jsx(Indicator, {}), children]
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
function TopbarTitle({ breadcrumbs, badge, isDeleted, className,...props }) {
|
|
19
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
20
|
+
...props,
|
|
21
|
+
className: cn("flex h-full items-center gap-4", className),
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ jsxs("div", {
|
|
24
|
+
className: "h-full",
|
|
25
|
+
children: [/* @__PURE__ */ jsx(HeaderTopbarBackButton, {}), /* @__PURE__ */ jsx(HeaderTopbarMobileNavSwitcher, {})]
|
|
26
|
+
}),
|
|
27
|
+
/* @__PURE__ */ jsxs(HeaderBreadcrumbs, { children: [/* @__PURE__ */ jsxs(HeaderBreadcrumbsMobileList, { children: [breadcrumbs.length > 1 && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(HeaderBreadcrumbsDropdownMenu, { children: breadcrumbs.slice(0, -1).map((breadcrumb, index) => /* @__PURE__ */ jsx(HeaderBreadcrumbsDropdownMenuItem, { breadcrumb }, index)) }), /* @__PURE__ */ jsx(HeaderBreadcrumbSeparator, {})] }), breadcrumbs.slice(-1).map((breadcrumb, index, array) => /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(HeaderBreadcrumbsLink, { breadcrumb }), index < array.length - 1 && /* @__PURE__ */ jsx(HeaderBreadcrumbSeparator, {})] }, index))] }), /* @__PURE__ */ jsxs(HeaderBreadcrumbsDesktopList, { children: [breadcrumbs.length > 2 && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(HeaderBreadcrumbsDropdownMenu, { children: breadcrumbs.slice(0, -2).map((breadcrumb, index) => /* @__PURE__ */ jsx(HeaderBreadcrumbsDropdownMenuItem, { breadcrumb }, index)) }), /* @__PURE__ */ jsx(HeaderBreadcrumbSeparator, {})] }), breadcrumbs.slice(-2).map((breadcrumb, index, array) => /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(HeaderBreadcrumbsLink, { breadcrumb }), index < array.length - 1 && /* @__PURE__ */ jsx(HeaderBreadcrumbSeparator, {})] }, index))] })] }),
|
|
28
|
+
/* @__PURE__ */ jsx("span", {
|
|
29
|
+
className: "hidden md:ml-4 md:block",
|
|
30
|
+
children: isDeleted ? /* @__PURE__ */ jsxs(Badge, {
|
|
31
|
+
variant: "destructive",
|
|
32
|
+
children: [/* @__PURE__ */ jsx(Icons.archive, { className: "mr-2 h-3 w-3" }), "Archief"]
|
|
33
|
+
}) : badge
|
|
34
|
+
})
|
|
35
|
+
]
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
function TopbarTools({ children, className,...props }) {
|
|
39
|
+
return /* @__PURE__ */ jsx("div", {
|
|
40
|
+
...props,
|
|
41
|
+
className: cn("flex h-full items-center justify-end gap-4 px-6 py-2", className),
|
|
42
|
+
children
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
//#endregion
|
|
47
|
+
export { Topbar, TopbarTitle, TopbarTools };
|
|
48
|
+
//# sourceMappingURL=top-bar.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"top-bar.client.js","names":["Fragment"],"sources":["../../../src/components/header/top-bar.client.tsx"],"sourcesContent":["import { cn } from \"@/lib/utils/cn\";\nimport type React from \"react\";\nimport { Fragment } from \"react\";\nimport { Icons } from \"../common/icons\";\nimport { Badge } from \"../ui/badge\";\nimport { HeaderTopbarBackButton } from \"./back-button.client\";\nimport {\n HeaderBreadcrumbs,\n HeaderBreadcrumbsDesktopList,\n HeaderBreadcrumbsDropdownMenu,\n HeaderBreadcrumbsDropdownMenuItem,\n HeaderBreadcrumbSeparator,\n HeaderBreadcrumbsLink,\n HeaderBreadcrumbsMobileList,\n type HeaderBreadcrumb,\n} from \"./breadcrumbs.client\";\nimport { Indicator } from \"./indicator.client\";\nimport { HeaderTopbarMobileNavSwitcher } from \"./mobile-nav-switcher.client\";\n\n/**\n * Topbar component\n */\nexport type TopbarProps = {\n children: React.ReactNode;\n};\n\nexport function Topbar({ children }: TopbarProps) {\n return (\n <nav className=\"flex h-[var(--header-top-bar-height)] items-center justify-between overflow-x-auto border-b\">\n <Indicator />\n\n {children}\n </nav>\n );\n}\n\n/**\n * Topbar title component\n */\nexport type TopbarTitleProps = React.HTMLAttributes<HTMLElement> & {\n isDeleted?: boolean;\n badge?: React.ReactNode;\n breadcrumbs: HeaderBreadcrumb[];\n};\n\nexport function TopbarTitle({\n breadcrumbs,\n badge,\n isDeleted,\n className,\n ...props\n}: TopbarTitleProps) {\n return (\n <div {...props} className={cn(\"flex h-full items-center gap-4\", className)}>\n <div className=\"h-full\">\n <HeaderTopbarBackButton />\n <HeaderTopbarMobileNavSwitcher />\n </div>\n\n <HeaderBreadcrumbs>\n <HeaderBreadcrumbsMobileList>\n {breadcrumbs.length > 1 && (\n <>\n <HeaderBreadcrumbsDropdownMenu>\n {breadcrumbs.slice(0, -1).map((breadcrumb, index) => (\n <HeaderBreadcrumbsDropdownMenuItem key={index} breadcrumb={breadcrumb} />\n ))}\n </HeaderBreadcrumbsDropdownMenu>\n\n <HeaderBreadcrumbSeparator />\n </>\n )}\n\n {breadcrumbs.slice(-1).map((breadcrumb, index, array) => (\n <Fragment key={index}>\n <HeaderBreadcrumbsLink breadcrumb={breadcrumb} />\n {index < array.length - 1 && <HeaderBreadcrumbSeparator />}\n </Fragment>\n ))}\n </HeaderBreadcrumbsMobileList>\n\n <HeaderBreadcrumbsDesktopList>\n {breadcrumbs.length > 2 && (\n <>\n <HeaderBreadcrumbsDropdownMenu>\n {breadcrumbs.slice(0, -2).map((breadcrumb, index) => (\n <HeaderBreadcrumbsDropdownMenuItem key={index} breadcrumb={breadcrumb} />\n ))}\n </HeaderBreadcrumbsDropdownMenu>\n\n <HeaderBreadcrumbSeparator />\n </>\n )}\n\n {breadcrumbs.slice(-2).map((breadcrumb, index, array) => (\n <Fragment key={index}>\n <HeaderBreadcrumbsLink breadcrumb={breadcrumb} />\n {index < array.length - 1 && <HeaderBreadcrumbSeparator />}\n </Fragment>\n ))}\n </HeaderBreadcrumbsDesktopList>\n </HeaderBreadcrumbs>\n\n <span className=\"hidden md:ml-4 md:block\">\n {isDeleted ? (\n <Badge variant=\"destructive\">\n <Icons.archive className=\"mr-2 h-3 w-3\" />\n Archief\n </Badge>\n ) : (\n badge\n )}\n </span>\n </div>\n );\n}\n\n/**\n * Topbar tools component\n */\nexport type TopbarToolsProps = React.HTMLAttributes<HTMLElement> & {\n children: React.ReactNode;\n};\n\nexport function TopbarTools({ children, className, ...props }: TopbarToolsProps) {\n return (\n <div\n {...props}\n className={cn(\"flex h-full items-center justify-end gap-4 px-6 py-2\", className)}\n >\n {children}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;AA0BA,SAAgB,OAAO,EAAE,YAAyB;AAChD,QACE,qBAAC;EAAI,WAAU;aACb,oBAAC,cAAY,EAEZ;GACG;;AAaV,SAAgB,YAAY,EAC1B,aACA,OACA,WACA,UACA,GAAG,SACgB;AACnB,QACE,qBAAC;EAAI,GAAI;EAAO,WAAW,GAAG,kCAAkC,UAAU;;GACxE,qBAAC;IAAI,WAAU;eACb,oBAAC,2BAAyB,EAC1B,oBAAC,kCAAgC;KAC7B;GAEN,qBAAC,gCACC,qBAAC,0CACE,YAAY,SAAS,KACpB,4CACE,oBAAC,2CACE,YAAY,MAAM,GAAG,GAAG,CAAC,KAAK,YAAY,UACzC,oBAAC,qCAA0D,cAAnB,MAAiC,CACzE,GAC4B,EAEhC,oBAAC,8BAA4B,IAC5B,EAGJ,YAAY,MAAM,GAAG,CAAC,KAAK,YAAY,OAAO,UAC7C,qBAACA,yBACC,oBAAC,yBAAkC,aAAc,EAChD,QAAQ,MAAM,SAAS,KAAK,oBAAC,8BAA4B,KAF7C,MAGJ,CACX,IAC0B,EAE9B,qBAAC,2CACE,YAAY,SAAS,KACpB,4CACE,oBAAC,2CACE,YAAY,MAAM,GAAG,GAAG,CAAC,KAAK,YAAY,UACzC,oBAAC,qCAA0D,cAAnB,MAAiC,CACzE,GAC4B,EAEhC,oBAAC,8BAA4B,IAC5B,EAGJ,YAAY,MAAM,GAAG,CAAC,KAAK,YAAY,OAAO,UAC7C,qBAACA,yBACC,oBAAC,yBAAkC,aAAc,EAChD,QAAQ,MAAM,SAAS,KAAK,oBAAC,8BAA4B,KAF7C,MAGJ,CACX,IAC2B,IACb;GAEpB,oBAAC;IAAK,WAAU;cACb,YACC,qBAAC;KAAM,SAAQ;gBACb,oBAAC,MAAM,WAAQ,WAAU,iBAAiB;MAEpC,GAER;KAEG;;GACH;;AAWV,SAAgB,YAAY,EAAE,UAAU,UAAW,GAAG,SAA2B;AAC/E,QACE,oBAAC;EACC,GAAI;EACJ,WAAW,GAAG,wDAAwD,UAAU;EAE/E;GACG"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import { cn } from "../../lib/utils/cn.js";
|
|
5
|
+
import { ScrollArea } from "../ui/scroll-area.js";
|
|
6
|
+
import { useSidebar } from "../ui/sidebar.client.js";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
|
|
9
|
+
//#region src/components/layouts/admin-content.client.tsx
|
|
10
|
+
function AdminContent({ children, className,...props }) {
|
|
11
|
+
const { isMobile, open } = useSidebar();
|
|
12
|
+
return /* @__PURE__ */ jsx(ScrollArea, {
|
|
13
|
+
...props,
|
|
14
|
+
className: cn("h-[100dvh] basis-full", className),
|
|
15
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
16
|
+
className: cn("h-full max-w-[100vw]", isMobile !== void 0 && !isMobile && open && "max-w-[calc(100vw-var(--sidebar-width))]"),
|
|
17
|
+
children
|
|
18
|
+
})
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
export { AdminContent };
|
|
24
|
+
//# sourceMappingURL=admin-content.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-content.client.js","names":[],"sources":["../../../src/components/layouts/admin-content.client.tsx"],"sourcesContent":["\"use client\";\n\nimport { cn } from \"@/lib/entry\";\nimport { ComponentProps } from \"react\";\nimport { useSidebar } from \"../entry.client\";\nimport { ScrollArea } from \"../ui/scroll-area\";\n\nexport function AdminContent({ children, className, ...props }: ComponentProps<typeof ScrollArea>) {\n const { isMobile, open } = useSidebar();\n\n return (\n <ScrollArea {...props} className={cn(\"h-[100dvh] basis-full\", className)}>\n <div\n className={cn(\n \"h-full max-w-[100vw]\",\n isMobile !== undefined && !isMobile && open && \"max-w-[calc(100vw-var(--sidebar-width))]\",\n )}\n >\n {children}\n </div>\n </ScrollArea>\n );\n}\n"],"mappings":";;;;;;;;;AAOA,SAAgB,aAAa,EAAE,UAAU,UAAW,GAAG,SAA4C;CACjG,MAAM,EAAE,UAAU,SAAS,YAAY;AAEvC,QACE,oBAAC;EAAW,GAAI;EAAO,WAAW,GAAG,yBAAyB,UAAU;YACtE,oBAAC;GACC,WAAW,GACT,wBACA,aAAa,UAAa,CAAC,YAAY,QAAQ,2CAChD;GAEA;IACG;GACK"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TDatabaseSchema } from "../../modules/config/db/types.js";
|
|
2
|
+
import { GetTulipParams } from "../../modules/config/lib/resolve.server.js";
|
|
3
|
+
import * as react_jsx_runtime226 from "react/jsx-runtime";
|
|
4
|
+
import { PropsWithChildren } from "react";
|
|
5
|
+
import "server-cli-only";
|
|
6
|
+
|
|
7
|
+
//#region src/components/layouts/admin-layout.server.d.ts
|
|
8
|
+
declare function AdminLayout<TSchema extends TDatabaseSchema>({
|
|
9
|
+
config,
|
|
10
|
+
children
|
|
11
|
+
}: PropsWithChildren<GetTulipParams<TSchema>>): Promise<react_jsx_runtime226.JSX.Element>;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { AdminLayout };
|
|
14
|
+
//# sourceMappingURL=admin-layout.server.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-layout.server.d.ts","names":[],"sources":["../../../src/components/layouts/admin-layout.server.tsx"],"sourcesContent":[],"mappings":";;;;;;;iBAWsB,4BAA4B;;;GAG/C,kBAAkB,eAAe,YAAS,QAAA,oBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { getSession } from "../../modules/auth/lib/helpers.server.js";
|
|
2
|
+
import { getTulip } from "../../modules/config/lib/resolve.server.js";
|
|
3
|
+
import { getPaths } from "../../modules/config/paths/get.server.js";
|
|
4
|
+
import { AdminContent } from "./admin-content.client.js";
|
|
5
|
+
import { AdminSidebarProvider } from "./admin-sidebar-context.client.js";
|
|
6
|
+
import { AdminSidebar } from "./admin-sidebar.client.js";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import "server-cli-only";
|
|
9
|
+
|
|
10
|
+
//#region src/components/layouts/admin-layout.server.tsx
|
|
11
|
+
async function AdminLayout({ config, children }) {
|
|
12
|
+
const tulip = await getTulip({ config });
|
|
13
|
+
const session = await getSession(tulip);
|
|
14
|
+
return /* @__PURE__ */ jsxs(AdminSidebarProvider, {
|
|
15
|
+
value: {
|
|
16
|
+
paths: await getPaths(tulip),
|
|
17
|
+
session
|
|
18
|
+
},
|
|
19
|
+
className: "max-h-[100dvh] overflow-hidden border",
|
|
20
|
+
children: [/* @__PURE__ */ jsx(AdminSidebar, {}), /* @__PURE__ */ jsx(AdminContent, { children })]
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
//#endregion
|
|
25
|
+
export { AdminLayout };
|
|
26
|
+
//# sourceMappingURL=admin-layout.server.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-layout.server.js","names":[],"sources":["../../../src/components/layouts/admin-layout.server.tsx"],"sourcesContent":["import \"server-cli-only\";\n\nimport { getSession } from \"@/modules/auth/lib/helpers.server\";\nimport { TDatabaseSchema } from \"@/modules/config/db/types\";\nimport { getTulip, GetTulipParams } from \"@/modules/config/lib/resolve.server\";\nimport { getPaths } from \"@/modules/config/paths/get.server\";\nimport { PropsWithChildren } from \"react\";\nimport { AdminContent } from \"./admin-content.client\";\nimport { AdminSidebarProvider } from \"./admin-sidebar-context.client\";\nimport { AdminSidebar } from \"./admin-sidebar.client\";\n\nexport async function AdminLayout<TSchema extends TDatabaseSchema>({\n config,\n children,\n}: PropsWithChildren<GetTulipParams<TSchema>>) {\n const tulip = await getTulip({ config });\n const session = await getSession(tulip);\n\n const paths = await getPaths(tulip);\n\n return (\n <AdminSidebarProvider\n value={{ paths, session }}\n className=\"max-h-[100dvh] overflow-hidden border\"\n >\n <AdminSidebar />\n\n <AdminContent>{children}</AdminContent>\n </AdminSidebarProvider>\n );\n}\n"],"mappings":";;;;;;;;;;AAWA,eAAsB,YAA6C,EACjE,QACA,YAC6C;CAC7C,MAAM,QAAQ,MAAM,SAAS,EAAE,QAAQ,CAAC;CACxC,MAAM,UAAU,MAAM,WAAW,MAAM;AAIvC,QACE,qBAAC;EACC,OAAO;GAAE,OAJC,MAAM,SAAS,MAAM;GAIf;GAAS;EACzB,WAAU;aAEV,oBAAC,iBAAe,EAEhB,oBAAC,gBAAc,WAAwB;GAClB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as react_jsx_runtime230 from "react/jsx-runtime";
|
|
2
|
+
import { PropsWithChildren } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/layouts/admin-loading.d.ts
|
|
5
|
+
declare function AdminLoading(props: PropsWithChildren): react_jsx_runtime230.JSX.Element;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { AdminLoading };
|
|
8
|
+
//# sourceMappingURL=admin-loading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-loading.d.ts","names":[],"sources":["../../../src/components/layouts/admin-loading.tsx"],"sourcesContent":[],"mappings":";;;;iBAGgB,YAAA,QAAoB,oBAAiB,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Skeleton } from "../ui/skeleton.js";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/layouts/admin-loading.tsx
|
|
5
|
+
function AdminLoading(props) {
|
|
6
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
7
|
+
className: "h-dvh",
|
|
8
|
+
children: [/* @__PURE__ */ jsx(Skeleton, { className: "h-[var(--header-top-bar-height)] w-full rounded-none border-b" }), props.children]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { AdminLoading };
|
|
14
|
+
//# sourceMappingURL=admin-loading.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-loading.js","names":[],"sources":["../../../src/components/layouts/admin-loading.tsx"],"sourcesContent":["import { PropsWithChildren } from \"react\";\nimport { Skeleton } from \"../ui/skeleton\";\n\nexport function AdminLoading(props: PropsWithChildren) {\n return (\n <div className=\"h-dvh\">\n <Skeleton className=\"h-[var(--header-top-bar-height)] w-full rounded-none border-b\" />\n {props.children}\n </div>\n );\n}\n"],"mappings":";;;;AAGA,SAAgB,aAAa,OAA0B;AACrD,QACE,qBAAC;EAAI,WAAU;aACb,oBAAC,YAAS,WAAU,kEAAkE,EACrF,MAAM;GACH"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import { SidebarProvider } from "../ui/sidebar.client.js";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import React from "react";
|
|
7
|
+
|
|
8
|
+
//#region src/components/layouts/admin-sidebar-context.client.tsx
|
|
9
|
+
/**
|
|
10
|
+
* AdminSidebarContext
|
|
11
|
+
*/
|
|
12
|
+
const AdminSidebarContext = React.createContext({});
|
|
13
|
+
/**
|
|
14
|
+
* AdminSidebarProvider
|
|
15
|
+
*/
|
|
16
|
+
function AdminSidebarProvider({ value, children,...props }) {
|
|
17
|
+
return /* @__PURE__ */ jsx(SidebarProvider, {
|
|
18
|
+
...props,
|
|
19
|
+
children: /* @__PURE__ */ jsx(AdminSidebarContext.Provider, {
|
|
20
|
+
value,
|
|
21
|
+
children
|
|
22
|
+
})
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
export { AdminSidebarContext, AdminSidebarProvider };
|
|
28
|
+
//# sourceMappingURL=admin-sidebar-context.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-sidebar-context.client.js","names":[],"sources":["../../../src/components/layouts/admin-sidebar-context.client.tsx"],"sourcesContent":["\"use client\";\n\nimport { ClientSession } from \"@/modules/auth/handler/client.client\";\nimport { PathResult } from \"@/modules/config/paths/types\";\nimport React from \"react\";\nimport { SidebarProvider } from \"../entry.client\";\n\n/**\n * AdminSidebarContextValue\n */\ntype AdminSidebarContextValue = {\n paths: PathResult;\n session: ClientSession;\n};\n\n/**\n * AdminSidebarContext\n */\nexport const AdminSidebarContext = React.createContext({} as AdminSidebarContextValue);\n\n/**\n * AdminSidebarProvider\n */\nexport function AdminSidebarProvider({\n value,\n children,\n ...props\n}: React.ComponentProps<typeof SidebarProvider> & { value: AdminSidebarContextValue }) {\n return (\n <SidebarProvider {...props}>\n <AdminSidebarContext.Provider value={value}>{children}</AdminSidebarContext.Provider>\n </SidebarProvider>\n );\n}\n"],"mappings":";;;;;;;;;;;AAkBA,MAAa,sBAAsB,MAAM,cAAc,EAAE,CAA6B;;;;AAKtF,SAAgB,qBAAqB,EACnC,OACA,SACA,GAAG,SACkF;AACrF,QACE,oBAAC;EAAgB,GAAI;YACnB,oBAAC,oBAAoB;GAAgB;GAAQ;IAAwC;GACrE"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import { cn } from "../../lib/utils/cn.js";
|
|
5
|
+
import { Button } from "../ui/button.js";
|
|
6
|
+
import { authClient } from "../../modules/auth/handler/client.client.js";
|
|
7
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "../ui/dropdown-menu.js";
|
|
8
|
+
import { Avatar, AvatarFallback, AvatarImage } from "../ui/avatar.client.js";
|
|
9
|
+
import { SidebarHeader, useSidebar } from "../ui/sidebar.client.js";
|
|
10
|
+
import { AdminSidebarContext } from "./admin-sidebar-context.client.js";
|
|
11
|
+
import { ChevronsUpDownIcon, LaptopIcon, LogOutIcon, MoonIcon, SunIcon } from "lucide-react";
|
|
12
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { useContext } from "react";
|
|
14
|
+
import { useRouter } from "next/navigation";
|
|
15
|
+
import { useTheme } from "next-themes";
|
|
16
|
+
|
|
17
|
+
//#region src/components/layouts/admin-sidebar-header.client.tsx
|
|
18
|
+
function AdminSidebarHeader() {
|
|
19
|
+
const router = useRouter();
|
|
20
|
+
const { theme, setTheme } = useTheme();
|
|
21
|
+
const { setOpenMobile } = useSidebar();
|
|
22
|
+
const { session } = useContext(AdminSidebarContext);
|
|
23
|
+
return /* @__PURE__ */ jsx(SidebarHeader, { children: /* @__PURE__ */ jsxs(DropdownMenu, { children: [/* @__PURE__ */ jsx(DropdownMenuTrigger, {
|
|
24
|
+
asChild: true,
|
|
25
|
+
children: /* @__PURE__ */ jsxs(Button, {
|
|
26
|
+
variant: "outline",
|
|
27
|
+
className: "items-center justify-between py-3.5",
|
|
28
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
29
|
+
className: "flex items-center gap-4",
|
|
30
|
+
children: [/* @__PURE__ */ jsxs(Avatar, {
|
|
31
|
+
className: "h-6 w-6 text-sm",
|
|
32
|
+
children: [/* @__PURE__ */ jsx(AvatarImage, {
|
|
33
|
+
src: session.user.image ?? void 0,
|
|
34
|
+
alt: session.user.name
|
|
35
|
+
}), /* @__PURE__ */ jsx(AvatarFallback, { children: session.user.name?.[0] ?? "" })]
|
|
36
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
37
|
+
className: "text-md text-muted-foreground font-bold",
|
|
38
|
+
children: session.user.name
|
|
39
|
+
})]
|
|
40
|
+
}), /* @__PURE__ */ jsx(ChevronsUpDownIcon, { className: "text-muted-foreground h-4 w-4" })]
|
|
41
|
+
})
|
|
42
|
+
}), /* @__PURE__ */ jsxs(DropdownMenuContent, {
|
|
43
|
+
className: "w-44",
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ jsxs(DropdownMenuSub, { children: [/* @__PURE__ */ jsx(DropdownMenuSubTrigger, { children: /* @__PURE__ */ jsx("span", { children: "Thema" }) }), /* @__PURE__ */ jsxs(DropdownMenuSubContent, { children: [
|
|
46
|
+
/* @__PURE__ */ jsxs(DropdownMenuItem, {
|
|
47
|
+
className: cn(theme === "light" && "bg-secondary font-bold"),
|
|
48
|
+
onClick: () => setTheme("light"),
|
|
49
|
+
children: [/* @__PURE__ */ jsx(SunIcon, { className: "mr-2 h-4 w-4" }), /* @__PURE__ */ jsx("span", { children: "Light" })]
|
|
50
|
+
}),
|
|
51
|
+
/* @__PURE__ */ jsxs(DropdownMenuItem, {
|
|
52
|
+
className: cn(theme === "dark" && "bg-secondary font-bold"),
|
|
53
|
+
onClick: () => setTheme("dark"),
|
|
54
|
+
children: [/* @__PURE__ */ jsx(MoonIcon, { className: "mr-2 h-4 w-4" }), /* @__PURE__ */ jsx("span", { children: "Dark" })]
|
|
55
|
+
}),
|
|
56
|
+
/* @__PURE__ */ jsxs(DropdownMenuItem, {
|
|
57
|
+
className: cn(theme === "system" && "bg-secondary font-bold"),
|
|
58
|
+
onClick: () => setTheme("system"),
|
|
59
|
+
children: [/* @__PURE__ */ jsx(LaptopIcon, { className: "mr-2 h-4 w-4" }), /* @__PURE__ */ jsx("span", { children: "System" })]
|
|
60
|
+
})
|
|
61
|
+
] })] }),
|
|
62
|
+
/* @__PURE__ */ jsx(DropdownMenuSeparator, {}),
|
|
63
|
+
/* @__PURE__ */ jsxs(DropdownMenuItem, {
|
|
64
|
+
onClick: () => {
|
|
65
|
+
setOpenMobile(false);
|
|
66
|
+
authClient.signOut({ fetchOptions: { onSuccess: () => router.replace("/auth/login") } });
|
|
67
|
+
},
|
|
68
|
+
children: [/* @__PURE__ */ jsx(LogOutIcon, { className: "mr-2 h-4 w-4" }), /* @__PURE__ */ jsx("span", { children: "Log out" })]
|
|
69
|
+
})
|
|
70
|
+
]
|
|
71
|
+
})] }) });
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
//#endregion
|
|
75
|
+
export { AdminSidebarHeader };
|
|
76
|
+
//# sourceMappingURL=admin-sidebar-header.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-sidebar-header.client.js","names":[],"sources":["../../../src/components/layouts/admin-sidebar-header.client.tsx"],"sourcesContent":["\"use client\";\n\nimport { Avatar, AvatarFallback, AvatarImage } from \"@/components/ui/avatar.client\";\nimport { Button } from \"@/components/ui/button\";\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuSeparator,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\";\nimport { cn } from \"@/lib/utils/cn\";\nimport { authClient } from \"@/modules/auth/handler/client.client\";\nimport { ChevronsUpDownIcon, LaptopIcon, LogOutIcon, MoonIcon, SunIcon } from \"lucide-react\";\nimport { useTheme } from \"next-themes\";\nimport { useRouter } from \"next/navigation\";\nimport { useContext } from \"react\";\nimport { SidebarHeader, useSidebar } from \"../entry.client\";\nimport { AdminSidebarContext } from \"./admin-sidebar-context.client\";\n\nexport function AdminSidebarHeader() {\n const router = useRouter();\n const { theme, setTheme } = useTheme();\n\n const { setOpenMobile } = useSidebar();\n const { session } = useContext(AdminSidebarContext);\n\n return (\n <SidebarHeader>\n <DropdownMenu>\n <DropdownMenuTrigger asChild>\n <Button variant=\"outline\" className=\"items-center justify-between py-3.5\">\n <div className=\"flex items-center gap-4\">\n <Avatar className=\"h-6 w-6 text-sm\">\n <AvatarImage src={session.user.image ?? undefined} alt={session.user.name} />\n <AvatarFallback>{session.user.name?.[0] ?? \"\"}</AvatarFallback>\n </Avatar>\n <span className=\"text-md text-muted-foreground font-bold\">{session.user.name}</span>\n </div>\n\n <ChevronsUpDownIcon className=\"text-muted-foreground h-4 w-4\" />\n </Button>\n </DropdownMenuTrigger>\n\n <DropdownMenuContent className=\"w-44\">\n <DropdownMenuSub>\n <DropdownMenuSubTrigger>\n <span>Thema</span>\n </DropdownMenuSubTrigger>\n\n <DropdownMenuSubContent>\n <DropdownMenuItem\n className={cn(theme === \"light\" && \"bg-secondary font-bold\")}\n onClick={() => setTheme(\"light\")}\n >\n <SunIcon className=\"mr-2 h-4 w-4\" />\n <span>Light</span>\n </DropdownMenuItem>\n\n <DropdownMenuItem\n className={cn(theme === \"dark\" && \"bg-secondary font-bold\")}\n onClick={() => setTheme(\"dark\")}\n >\n <MoonIcon className=\"mr-2 h-4 w-4\" />\n <span>Dark</span>\n </DropdownMenuItem>\n\n <DropdownMenuItem\n className={cn(theme === \"system\" && \"bg-secondary font-bold\")}\n onClick={() => setTheme(\"system\")}\n >\n <LaptopIcon className=\"mr-2 h-4 w-4\" />\n <span>System</span>\n </DropdownMenuItem>\n </DropdownMenuSubContent>\n </DropdownMenuSub>\n\n <DropdownMenuSeparator />\n\n <DropdownMenuItem\n onClick={() => {\n setOpenMobile(false);\n authClient.signOut({\n fetchOptions: { onSuccess: () => router.replace(\"/auth/login\") },\n });\n }}\n >\n <LogOutIcon className=\"mr-2 h-4 w-4\" />\n <span>Log out</span>\n </DropdownMenuItem>\n </DropdownMenuContent>\n </DropdownMenu>\n </SidebarHeader>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAuBA,SAAgB,qBAAqB;CACnC,MAAM,SAAS,WAAW;CAC1B,MAAM,EAAE,OAAO,aAAa,UAAU;CAEtC,MAAM,EAAE,kBAAkB,YAAY;CACtC,MAAM,EAAE,YAAY,WAAW,oBAAoB;AAEnD,QACE,oBAAC,2BACC,qBAAC,2BACC,oBAAC;EAAoB;YACnB,qBAAC;GAAO,SAAQ;GAAU,WAAU;cAClC,qBAAC;IAAI,WAAU;eACb,qBAAC;KAAO,WAAU;gBAChB,oBAAC;MAAY,KAAK,QAAQ,KAAK,SAAS;MAAW,KAAK,QAAQ,KAAK;OAAQ,EAC7E,oBAAC,4BAAgB,QAAQ,KAAK,OAAO,MAAM,KAAoB;MACxD,EACT,oBAAC;KAAK,WAAU;eAA2C,QAAQ,KAAK;MAAY;KAChF,EAEN,oBAAC,sBAAmB,WAAU,kCAAkC;IACzD;GACW,EAEtB,qBAAC;EAAoB,WAAU;;GAC7B,qBAAC,8BACC,oBAAC,oCACC,oBAAC,oBAAK,UAAY,GACK,EAEzB,qBAAC;IACC,qBAAC;KACC,WAAW,GAAG,UAAU,WAAW,yBAAyB;KAC5D,eAAe,SAAS,QAAQ;gBAEhC,oBAAC,WAAQ,WAAU,iBAAiB,EACpC,oBAAC,oBAAK,UAAY;MACD;IAEnB,qBAAC;KACC,WAAW,GAAG,UAAU,UAAU,yBAAyB;KAC3D,eAAe,SAAS,OAAO;gBAE/B,oBAAC,YAAS,WAAU,iBAAiB,EACrC,oBAAC,oBAAK,SAAW;MACA;IAEnB,qBAAC;KACC,WAAW,GAAG,UAAU,YAAY,yBAAyB;KAC7D,eAAe,SAAS,SAAS;gBAEjC,oBAAC,cAAW,WAAU,iBAAiB,EACvC,oBAAC,oBAAK,WAAa;MACF;OACI,IACT;GAElB,oBAAC,0BAAwB;GAEzB,qBAAC;IACC,eAAe;AACb,mBAAc,MAAM;AACpB,gBAAW,QAAQ,EACjB,cAAc,EAAE,iBAAiB,OAAO,QAAQ,cAAc,EAAE,EACjE,CAAC;;eAGJ,oBAAC,cAAW,WAAU,iBAAiB,EACvC,oBAAC,oBAAK,YAAc;KACH;;GACC,IACT,GACD"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import { Sidebar, SidebarContent, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarMenu, SidebarMenuButton, SidebarMenuItem, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarRail, useSidebar } from "../ui/sidebar.client.js";
|
|
5
|
+
import { AdminSidebarContext } from "./admin-sidebar-context.client.js";
|
|
6
|
+
import { AdminSidebarHeader } from "./admin-sidebar-header.client.js";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import * as React$1 from "react";
|
|
9
|
+
import Link from "next/link";
|
|
10
|
+
import { useSelectedLayoutSegments } from "next/navigation";
|
|
11
|
+
|
|
12
|
+
//#region src/components/layouts/admin-sidebar.client.tsx
|
|
13
|
+
/**
|
|
14
|
+
* AdminSidebar
|
|
15
|
+
*/
|
|
16
|
+
function AdminSidebar({ ...props }) {
|
|
17
|
+
const currentSegments = useSelectedLayoutSegments();
|
|
18
|
+
const { paths } = React$1.useContext(AdminSidebarContext);
|
|
19
|
+
const { isMobile, toggleSidebar } = useSidebar();
|
|
20
|
+
return /* @__PURE__ */ jsxs(Sidebar, {
|
|
21
|
+
...props,
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ jsx(AdminSidebarHeader, {}),
|
|
24
|
+
/* @__PURE__ */ jsx(SidebarContent, { children: /* @__PURE__ */ jsx(SidebarMenu, { children: paths.map((group, index) => /* @__PURE__ */ jsxs(SidebarGroup, { children: [group.name && /* @__PURE__ */ jsx(SidebarGroupLabel, { children: group.name }), /* @__PURE__ */ jsx(SidebarGroupContent, { children: /* @__PURE__ */ jsx(SidebarMenu, { children: group.items.map((item) => {
|
|
25
|
+
const isActive = item.isActive || item.segment === currentSegments?.[0];
|
|
26
|
+
return /* @__PURE__ */ jsxs(SidebarMenuItem, { children: [/* @__PURE__ */ jsx(SidebarMenuButton, {
|
|
27
|
+
asChild: true,
|
|
28
|
+
isActive,
|
|
29
|
+
children: /* @__PURE__ */ jsxs(Link, {
|
|
30
|
+
href: item.href,
|
|
31
|
+
onClick: isMobile ? toggleSidebar : void 0,
|
|
32
|
+
children: [item.icon, item.name]
|
|
33
|
+
})
|
|
34
|
+
}), isActive && !!item.items?.length && /* @__PURE__ */ jsx(SidebarMenuSub, { children: item.items.map((subItem) => /* @__PURE__ */ jsx(SidebarMenuSubItem, { children: /* @__PURE__ */ jsx(SidebarMenuSubButton, {
|
|
35
|
+
asChild: true,
|
|
36
|
+
isActive: subItem.segment === currentSegments?.[1],
|
|
37
|
+
children: /* @__PURE__ */ jsx(Link, {
|
|
38
|
+
href: subItem.href,
|
|
39
|
+
onClick: isMobile ? toggleSidebar : void 0,
|
|
40
|
+
children: subItem.name
|
|
41
|
+
})
|
|
42
|
+
}) }, subItem.name)) })] }, item.name);
|
|
43
|
+
}) }) })] }, index)) }) }),
|
|
44
|
+
/* @__PURE__ */ jsx(SidebarRail, {})
|
|
45
|
+
]
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
//#endregion
|
|
50
|
+
export { AdminSidebar };
|
|
51
|
+
//# sourceMappingURL=admin-sidebar.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-sidebar.client.js","names":["React"],"sources":["../../../src/components/layouts/admin-sidebar.client.tsx"],"sourcesContent":["\"use client\";\n\nimport {\n Sidebar,\n SidebarContent,\n SidebarGroup,\n SidebarGroupContent,\n SidebarGroupLabel,\n SidebarMenu,\n SidebarMenuButton,\n SidebarMenuItem,\n SidebarMenuSub,\n SidebarMenuSubButton,\n SidebarMenuSubItem,\n SidebarRail,\n useSidebar,\n} from \"@/components/ui/sidebar.client\";\nimport Link from \"next/link\";\nimport { useSelectedLayoutSegments } from \"next/navigation\";\nimport * as React from \"react\";\nimport { AdminSidebarContext } from \"./admin-sidebar-context.client\";\nimport { AdminSidebarHeader } from \"./admin-sidebar-header.client\";\n\n/**\n * AdminSidebar\n */\nexport function AdminSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {\n const currentSegments = useSelectedLayoutSegments();\n\n const { paths } = React.useContext(AdminSidebarContext);\n const { isMobile, toggleSidebar } = useSidebar();\n\n return (\n <Sidebar {...props}>\n <AdminSidebarHeader />\n\n <SidebarContent>\n <SidebarMenu>\n {paths.map((group, index) => (\n <SidebarGroup key={index}>\n {group.name && <SidebarGroupLabel>{group.name}</SidebarGroupLabel>}\n\n <SidebarGroupContent>\n <SidebarMenu>\n {group.items.map((item) => {\n const isActive = item.isActive || item.segment === currentSegments?.[0];\n\n return (\n <SidebarMenuItem key={item.name}>\n <SidebarMenuButton asChild isActive={isActive}>\n <Link href={item.href} onClick={isMobile ? toggleSidebar : undefined}>\n {item.icon}\n {item.name}\n </Link>\n </SidebarMenuButton>\n\n {isActive && !!item.items?.length && (\n <SidebarMenuSub>\n {item.items.map((subItem) => (\n <SidebarMenuSubItem key={subItem.name}>\n <SidebarMenuSubButton\n asChild\n isActive={subItem.segment === currentSegments?.[1]}\n >\n <Link\n href={subItem.href}\n onClick={isMobile ? toggleSidebar : undefined}\n >\n {subItem.name}\n </Link>\n </SidebarMenuSubButton>\n </SidebarMenuSubItem>\n ))}\n </SidebarMenuSub>\n )}\n </SidebarMenuItem>\n );\n })}\n </SidebarMenu>\n </SidebarGroupContent>\n </SidebarGroup>\n ))}\n </SidebarMenu>\n </SidebarContent>\n <SidebarRail />\n </Sidebar>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;AA0BA,SAAgB,aAAa,EAAE,GAAG,SAA+C;CAC/E,MAAM,kBAAkB,2BAA2B;CAEnD,MAAM,EAAE,UAAUA,QAAM,WAAW,oBAAoB;CACvD,MAAM,EAAE,UAAU,kBAAkB,YAAY;AAEhD,QACE,qBAAC;EAAQ,GAAI;;GACX,oBAAC,uBAAqB;GAEtB,oBAAC,4BACC,oBAAC,yBACE,MAAM,KAAK,OAAO,UACjB,qBAAC,2BACE,MAAM,QAAQ,oBAAC,+BAAmB,MAAM,OAAyB,EAElE,oBAAC,iCACC,oBAAC,yBACE,MAAM,MAAM,KAAK,SAAS;IACzB,MAAM,WAAW,KAAK,YAAY,KAAK,YAAY,kBAAkB;AAErE,WACE,qBAAC,8BACC,oBAAC;KAAkB;KAAkB;eACnC,qBAAC;MAAK,MAAM,KAAK;MAAM,SAAS,WAAW,gBAAgB;iBACxD,KAAK,MACL,KAAK;OACD;MACW,EAEnB,YAAY,CAAC,CAAC,KAAK,OAAO,UACzB,oBAAC,4BACE,KAAK,MAAM,KAAK,YACf,oBAAC,gCACC,oBAAC;KACC;KACA,UAAU,QAAQ,YAAY,kBAAkB;eAEhD,oBAAC;MACC,MAAM,QAAQ;MACd,SAAS,WAAW,gBAAgB;gBAEnC,QAAQ;OACJ;MACc,IAXA,QAAQ,KAYZ,CACrB,GACa,KAzBC,KAAK,KA2BT;KAEpB,GACU,GACM,KAxCL,MAyCJ,CACf,GACU,GACC;GACjB,oBAAC,gBAAc;;GACP"}
|