@tulip-systems/core 0.4.0 → 0.5.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.mts +10 -0
- package/dist/auth/client.mjs +11 -0
- package/dist/auth/server.d.mts +8 -0
- package/dist/auth/server.mjs +9 -0
- package/dist/auth.d.mts +5 -0
- package/dist/auth.mjs +6 -0
- package/dist/commands/client.d.mts +15 -0
- package/dist/commands/client.mjs +16 -0
- package/dist/commands.d.mts +3 -0
- package/dist/commands.mjs +3 -0
- package/dist/components/client.d.mts +34 -0
- package/dist/components/client.mjs +35 -0
- package/dist/components/common/icons.d.mts +61 -0
- package/dist/components/common/icons.d.mts.map +1 -0
- package/dist/components/common/icons.mjs +122 -0
- package/dist/components/common/icons.mjs.map +1 -0
- package/dist/components/common/status.d.mts +53 -0
- package/dist/components/common/status.d.mts.map +1 -0
- package/dist/components/common/status.mjs +56 -0
- package/dist/components/common/status.mjs.map +1 -0
- package/dist/components/editor/components/block-dropdown.mjs +97 -0
- package/dist/components/editor/components/block-dropdown.mjs.map +1 -0
- package/dist/components/editor/components/content.client.d.mts +7 -0
- package/dist/components/editor/components/content.client.d.mts.map +1 -0
- package/dist/components/editor/components/content.client.mjs +17 -0
- package/dist/components/editor/components/content.client.mjs.map +1 -0
- package/dist/components/editor/components/editor.client.d.mts +48 -0
- package/dist/components/editor/components/editor.client.d.mts.map +1 -0
- package/dist/components/editor/components/editor.client.mjs +53 -0
- package/dist/components/editor/components/editor.client.mjs.map +1 -0
- package/dist/components/editor/components/menu-fixed.client.d.mts +7 -0
- package/dist/components/editor/components/menu-fixed.client.d.mts.map +1 -0
- package/dist/components/editor/components/menu-fixed.client.mjs +128 -0
- package/dist/components/editor/components/menu-fixed.client.mjs.map +1 -0
- package/dist/components/editor/lib/constants.d.mts +60 -0
- package/dist/components/editor/lib/constants.d.mts.map +1 -0
- package/dist/components/editor/lib/constants.mjs +90 -0
- package/dist/components/editor/lib/constants.mjs.map +1 -0
- package/dist/components/editor/lib/extensions.d.mts +62 -0
- package/dist/components/editor/lib/extensions.d.mts.map +1 -0
- package/dist/components/editor/lib/extensions.mjs +52 -0
- package/dist/components/editor/lib/extensions.mjs.map +1 -0
- package/dist/components/editor/lib/helpers.d.mts +15 -0
- package/dist/components/editor/lib/helpers.d.mts.map +1 -0
- package/dist/components/editor/lib/helpers.mjs +20 -0
- package/dist/components/editor/lib/helpers.mjs.map +1 -0
- package/dist/components/editor/lib/types.d.mts +11 -0
- package/dist/components/editor/lib/types.d.mts.map +1 -0
- package/dist/components/editor/lib/variants.mjs +8 -0
- package/dist/components/editor/lib/variants.mjs.map +1 -0
- package/dist/components/emails/forget-password-email.mjs +52 -0
- package/dist/components/emails/forget-password-email.mjs.map +1 -0
- package/dist/components/header/back-button.client.d.mts +10 -0
- package/dist/components/header/back-button.client.d.mts.map +1 -0
- package/dist/components/header/back-button.client.mjs +43 -0
- package/dist/components/header/back-button.client.mjs.map +1 -0
- package/dist/components/header/bottom-bar.client.d.mts +29 -0
- package/dist/components/header/bottom-bar.client.d.mts.map +1 -0
- package/dist/components/header/bottom-bar.client.mjs +38 -0
- package/dist/components/header/bottom-bar.client.mjs.map +1 -0
- package/dist/components/header/breadcrumbs.client.d.mts +35 -0
- package/dist/components/header/breadcrumbs.client.d.mts.map +1 -0
- package/dist/components/header/breadcrumbs.client.mjs +64 -0
- package/dist/components/header/breadcrumbs.client.mjs.map +1 -0
- package/dist/components/header/header.client.d.mts +12 -0
- package/dist/components/header/header.client.d.mts.map +1 -0
- package/dist/components/header/header.client.mjs +15 -0
- package/dist/components/header/header.client.mjs.map +1 -0
- package/dist/components/header/indicator.client.mjs +25 -0
- package/dist/components/header/indicator.client.mjs.map +1 -0
- package/dist/components/header/mobile-nav-switcher.client.d.mts +10 -0
- package/dist/components/header/mobile-nav-switcher.client.d.mts.map +1 -0
- package/dist/components/header/mobile-nav-switcher.client.mjs +19 -0
- package/dist/components/header/mobile-nav-switcher.client.mjs.map +1 -0
- package/dist/components/header/top-bar.client.d.mts +43 -0
- package/dist/components/header/top-bar.client.d.mts.map +1 -0
- package/dist/components/header/top-bar.client.mjs +48 -0
- package/dist/components/header/top-bar.client.mjs.map +1 -0
- package/dist/components/layouts/admin-content.client.d.mts +13 -0
- package/dist/components/layouts/admin-content.client.d.mts.map +1 -0
- package/dist/components/layouts/admin-content.client.mjs +23 -0
- package/dist/components/layouts/admin-content.client.mjs.map +1 -0
- package/dist/components/layouts/admin-layout.d.mts +8 -0
- package/dist/components/layouts/admin-layout.d.mts.map +1 -0
- package/dist/components/layouts/admin-layout.mjs +14 -0
- package/dist/components/layouts/admin-layout.mjs.map +1 -0
- package/dist/components/layouts/admin-loading.d.mts +8 -0
- package/dist/components/layouts/admin-loading.d.mts.map +1 -0
- package/dist/components/layouts/admin-loading.mjs +14 -0
- package/dist/components/layouts/admin-loading.mjs.map +1 -0
- package/dist/components/layouts/empty-page.d.mts +31 -0
- package/dist/components/layouts/empty-page.d.mts.map +1 -0
- package/dist/components/layouts/empty-page.mjs +29 -0
- package/dist/components/layouts/empty-page.mjs.map +1 -0
- package/dist/components/layouts/list-layout.d.mts +12 -0
- package/dist/components/layouts/list-layout.d.mts.map +1 -0
- package/dist/components/layouts/list-layout.mjs +15 -0
- package/dist/components/layouts/list-layout.mjs.map +1 -0
- package/dist/components/layouts/not-found-page.d.mts +8 -0
- package/dist/components/layouts/not-found-page.d.mts.map +1 -0
- package/dist/components/layouts/not-found-page.mjs +20 -0
- package/dist/components/layouts/not-found-page.mjs.map +1 -0
- package/dist/components/layouts/not-found-section.mjs +30 -0
- package/dist/components/layouts/not-found-section.mjs.map +1 -0
- package/dist/components/layouts/providers.client.d.mts +10 -0
- package/dist/components/layouts/providers.client.d.mts.map +1 -0
- package/dist/components/layouts/providers.client.mjs +31 -0
- package/dist/components/layouts/providers.client.mjs.map +1 -0
- package/dist/components/layouts/root-layout.server.d.mts +37 -0
- package/dist/components/layouts/root-layout.server.d.mts.map +1 -0
- package/dist/components/layouts/root-layout.server.mjs +47 -0
- package/dist/components/layouts/root-layout.server.mjs.map +1 -0
- package/dist/components/layouts/root-loading.d.mts +7 -0
- package/dist/components/layouts/root-loading.d.mts.map +1 -0
- package/dist/components/layouts/root-loading.mjs +14 -0
- package/dist/components/layouts/root-loading.mjs.map +1 -0
- package/dist/components/layouts/tab-layout.d.mts +23 -0
- package/dist/components/layouts/tab-layout.d.mts.map +1 -0
- package/dist/components/layouts/tab-layout.mjs +51 -0
- package/dist/components/layouts/tab-layout.mjs.map +1 -0
- package/dist/components/lists/data-list.d.mts +31 -0
- package/dist/components/lists/data-list.d.mts.map +1 -0
- package/dist/components/lists/data-list.mjs +36 -0
- package/dist/components/lists/data-list.mjs.map +1 -0
- package/dist/components/lists/data-stack.d.mts +49 -0
- package/dist/components/lists/data-stack.d.mts.map +1 -0
- package/dist/components/lists/data-stack.mjs +57 -0
- package/dist/components/lists/data-stack.mjs.map +1 -0
- package/dist/components/navigation/admin-sidebar-header.client.mjs +92 -0
- package/dist/components/navigation/admin-sidebar-header.client.mjs.map +1 -0
- package/dist/components/navigation/admin-sidebar-paths.client.d.mts +82 -0
- package/dist/components/navigation/admin-sidebar-paths.client.d.mts.map +1 -0
- package/dist/components/navigation/admin-sidebar-paths.client.mjs +142 -0
- package/dist/components/navigation/admin-sidebar-paths.client.mjs.map +1 -0
- package/dist/components/navigation/admin-sidebar-skeleton.mjs +31 -0
- package/dist/components/navigation/admin-sidebar-skeleton.mjs.map +1 -0
- package/dist/components/server.d.mts +3 -0
- package/dist/components/server.mjs +4 -0
- package/dist/components/ui/accordion.d.mts +25 -0
- package/dist/components/ui/accordion.d.mts.map +1 -0
- package/dist/components/ui/accordion.mjs +47 -0
- package/dist/components/ui/accordion.mjs.map +1 -0
- package/dist/components/ui/alert-dialog.d.mts +43 -0
- package/dist/components/ui/alert-dialog.d.mts.map +1 -0
- package/dist/components/ui/alert-dialog.mjs +85 -0
- package/dist/components/ui/alert-dialog.mjs.map +1 -0
- package/dist/components/ui/alert.d.mts +25 -0
- package/dist/components/ui/alert.d.mts.map +1 -0
- package/dist/components/ui/alert.mjs +39 -0
- package/dist/components/ui/alert.mjs.map +1 -0
- package/dist/components/ui/aspect-ratio.d.mts +8 -0
- package/dist/components/ui/aspect-ratio.d.mts.map +1 -0
- package/dist/components/ui/aspect-ratio.mjs +16 -0
- package/dist/components/ui/aspect-ratio.mjs.map +1 -0
- package/dist/components/ui/avatar.client.d.mts +20 -0
- package/dist/components/ui/avatar.client.d.mts.map +1 -0
- package/dist/components/ui/avatar.client.mjs +33 -0
- package/dist/components/ui/avatar.client.mjs.map +1 -0
- package/dist/components/ui/badge.d.mts +20 -0
- package/dist/components/ui/badge.d.mts.map +1 -0
- package/dist/components/ui/badge.mjs +27 -0
- package/dist/components/ui/badge.mjs.map +1 -0
- package/dist/components/ui/breadcrumb.d.mts +36 -0
- package/dist/components/ui/breadcrumb.d.mts.map +1 -0
- package/dist/components/ui/breadcrumb.mjs +72 -0
- package/dist/components/ui/breadcrumb.mjs.map +1 -0
- package/dist/components/ui/button.d.mts +22 -0
- package/dist/components/ui/button.d.mts.map +1 -0
- package/dist/components/ui/button.mjs +44 -0
- package/dist/components/ui/button.mjs.map +1 -0
- package/dist/components/ui/calendar.d.mts +27 -0
- package/dist/components/ui/calendar.d.mts.map +1 -0
- package/dist/components/ui/calendar.mjs +109 -0
- package/dist/components/ui/calendar.mjs.map +1 -0
- package/dist/components/ui/card.d.mts +31 -0
- package/dist/components/ui/card.d.mts.map +1 -0
- package/dist/components/ui/card.mjs +51 -0
- package/dist/components/ui/card.mjs.map +1 -0
- package/dist/components/ui/carousel.d.mts +48 -0
- package/dist/components/ui/carousel.d.mts.map +1 -0
- package/dist/components/ui/carousel.mjs +136 -0
- package/dist/components/ui/carousel.mjs.map +1 -0
- package/dist/components/ui/chart.client.d.mts +72 -0
- package/dist/components/ui/chart.client.d.mts.map +1 -0
- package/dist/components/ui/chart.client.mjs +143 -0
- package/dist/components/ui/chart.client.mjs.map +1 -0
- package/dist/components/ui/checkbox.d.mts +12 -0
- package/dist/components/ui/checkbox.d.mts.map +1 -0
- package/dist/components/ui/checkbox.mjs +25 -0
- package/dist/components/ui/checkbox.mjs.map +1 -0
- package/dist/components/ui/collapsible.client.d.mts +16 -0
- package/dist/components/ui/collapsible.client.d.mts.map +1 -0
- package/dist/components/ui/collapsible.client.mjs +28 -0
- package/dist/components/ui/collapsible.client.mjs.map +1 -0
- package/dist/components/ui/color-picker.client.d.mts +16 -0
- package/dist/components/ui/color-picker.client.d.mts.map +1 -0
- package/dist/components/ui/color-picker.client.mjs +38 -0
- package/dist/components/ui/color-picker.client.mjs.map +1 -0
- package/dist/components/ui/combobox-dropdown.client.d.mts +47 -0
- package/dist/components/ui/combobox-dropdown.client.d.mts.map +1 -0
- package/dist/components/ui/combobox-dropdown.client.mjs +94 -0
- package/dist/components/ui/combobox-dropdown.client.mjs.map +1 -0
- package/dist/components/ui/combobox.client.d.mts +31 -0
- package/dist/components/ui/combobox.client.d.mts.map +1 -0
- package/dist/components/ui/combobox.client.mjs +67 -0
- package/dist/components/ui/combobox.client.mjs.map +1 -0
- package/dist/components/ui/command.d.mts +49 -0
- package/dist/components/ui/command.d.mts.map +1 -0
- package/dist/components/ui/command.mjs +89 -0
- package/dist/components/ui/command.mjs.map +1 -0
- package/dist/components/ui/context-menu.d.mts +77 -0
- package/dist/components/ui/context-menu.d.mts.map +1 -0
- package/dist/components/ui/context-menu.mjs +126 -0
- package/dist/components/ui/context-menu.mjs.map +1 -0
- package/dist/components/ui/date-picker.client.d.mts +21 -0
- package/dist/components/ui/date-picker.client.d.mts.map +1 -0
- package/dist/components/ui/date-picker.client.mjs +44 -0
- package/dist/components/ui/date-picker.client.mjs.map +1 -0
- package/dist/components/ui/dialog.client.d.mts +45 -0
- package/dist/components/ui/dialog.client.d.mts.map +1 -0
- package/dist/components/ui/dialog.client.mjs +89 -0
- package/dist/components/ui/dialog.client.mjs.map +1 -0
- package/dist/components/ui/drawer.client.d.mts +45 -0
- package/dist/components/ui/drawer.client.d.mts.map +1 -0
- package/dist/components/ui/drawer.client.mjs +82 -0
- package/dist/components/ui/drawer.client.mjs.map +1 -0
- package/dist/components/ui/dropdown-menu.d.mts +78 -0
- package/dist/components/ui/dropdown-menu.d.mts.map +1 -0
- package/dist/components/ui/dropdown-menu.mjs +127 -0
- package/dist/components/ui/dropdown-menu.mjs.map +1 -0
- package/dist/components/ui/form.client.d.mts +49 -0
- package/dist/components/ui/form.client.d.mts.map +1 -0
- package/dist/components/ui/form.client.mjs +93 -0
- package/dist/components/ui/form.client.mjs.map +1 -0
- package/dist/components/ui/hover-card.client.d.mts +20 -0
- package/dist/components/ui/hover-card.client.d.mts.map +1 -0
- package/dist/components/ui/hover-card.client.mjs +33 -0
- package/dist/components/ui/hover-card.client.mjs.map +1 -0
- package/dist/components/ui/input-recipient.d.mts +27 -0
- package/dist/components/ui/input-recipient.d.mts.map +1 -0
- package/dist/components/ui/input-recipient.mjs +219 -0
- package/dist/components/ui/input-recipient.mjs.map +1 -0
- package/dist/components/ui/input.d.mts +12 -0
- package/dist/components/ui/input.d.mts.map +1 -0
- package/dist/components/ui/input.mjs +17 -0
- package/dist/components/ui/input.mjs.map +1 -0
- package/dist/components/ui/label.d.mts +12 -0
- package/dist/components/ui/label.d.mts.map +1 -0
- package/dist/components/ui/label.mjs +19 -0
- package/dist/components/ui/label.mjs.map +1 -0
- package/dist/components/ui/navigation-menu.d.mts +47 -0
- package/dist/components/ui/navigation-menu.d.mts.map +1 -0
- package/dist/components/ui/navigation-menu.mjs +85 -0
- package/dist/components/ui/navigation-menu.mjs.map +1 -0
- package/dist/components/ui/pagination.d.mts +40 -0
- package/dist/components/ui/pagination.d.mts.map +1 -0
- package/dist/components/ui/pagination.mjs +81 -0
- package/dist/components/ui/pagination.mjs.map +1 -0
- package/dist/components/ui/popover.d.mts +23 -0
- package/dist/components/ui/popover.d.mts.map +1 -0
- package/dist/components/ui/popover.mjs +39 -0
- package/dist/components/ui/popover.mjs.map +1 -0
- package/dist/components/ui/progress.client.d.mts +13 -0
- package/dist/components/ui/progress.client.d.mts.map +1 -0
- package/dist/components/ui/progress.client.mjs +24 -0
- package/dist/components/ui/progress.client.mjs.map +1 -0
- package/dist/components/ui/radio-group.d.mts +16 -0
- package/dist/components/ui/radio-group.d.mts.map +1 -0
- package/dist/components/ui/radio-group.mjs +32 -0
- package/dist/components/ui/radio-group.mjs.map +1 -0
- package/dist/components/ui/resizable.client.d.mts +22 -0
- package/dist/components/ui/resizable.client.d.mts.map +1 -0
- package/dist/components/ui/resizable.client.mjs +37 -0
- package/dist/components/ui/resizable.client.mjs.map +1 -0
- package/dist/components/ui/scroll-area.d.mts +18 -0
- package/dist/components/ui/scroll-area.d.mts.map +1 -0
- package/dist/components/ui/scroll-area.mjs +40 -0
- package/dist/components/ui/scroll-area.mjs.map +1 -0
- package/dist/components/ui/select.client.d.mts +49 -0
- package/dist/components/ui/select.client.d.mts.map +1 -0
- package/dist/components/ui/select.client.mjs +99 -0
- package/dist/components/ui/select.client.mjs.map +1 -0
- package/dist/components/ui/separator.d.mts +14 -0
- package/dist/components/ui/separator.d.mts.map +1 -0
- package/dist/components/ui/separator.mjs +21 -0
- package/dist/components/ui/separator.mjs.map +1 -0
- package/dist/components/ui/sheet.client.d.mts +41 -0
- package/dist/components/ui/sheet.client.d.mts.map +1 -0
- package/dist/components/ui/sheet.client.mjs +84 -0
- package/dist/components/ui/sheet.client.mjs.map +1 -0
- package/dist/components/ui/sidebar.client.d.mts +168 -0
- package/dist/components/ui/sidebar.client.d.mts.map +1 -0
- package/dist/components/ui/sidebar.client.mjs +374 -0
- package/dist/components/ui/sidebar.client.mjs.map +1 -0
- package/dist/components/ui/skeleton.d.mts +10 -0
- package/dist/components/ui/skeleton.d.mts.map +1 -0
- package/dist/components/ui/skeleton.mjs +15 -0
- package/dist/components/ui/skeleton.mjs.map +1 -0
- package/dist/components/ui/slider.d.mts +16 -0
- package/dist/components/ui/slider.d.mts.map +1 -0
- package/dist/components/ui/slider.mjs +40 -0
- package/dist/components/ui/slider.mjs.map +1 -0
- package/dist/components/ui/sonner.client.d.mts +10 -0
- package/dist/components/ui/sonner.client.d.mts.map +1 -0
- package/dist/components/ui/sonner.client.mjs +25 -0
- package/dist/components/ui/sonner.client.mjs.map +1 -0
- package/dist/components/ui/spinner.mjs +63 -0
- package/dist/components/ui/spinner.mjs.map +1 -0
- package/dist/components/ui/switch.d.mts +12 -0
- package/dist/components/ui/switch.d.mts.map +1 -0
- package/dist/components/ui/switch.mjs +23 -0
- package/dist/components/ui/switch.mjs.map +1 -0
- package/dist/components/ui/tabs.d.mts +24 -0
- package/dist/components/ui/tabs.d.mts.map +1 -0
- package/dist/components/ui/tabs.mjs +40 -0
- package/dist/components/ui/tabs.mjs.map +1 -0
- package/dist/components/ui/textarea.d.mts +11 -0
- package/dist/components/ui/textarea.d.mts.map +1 -0
- package/dist/components/ui/textarea.mjs +16 -0
- package/dist/components/ui/textarea.mjs.map +1 -0
- package/dist/components/ui/time-input.client.d.mts +16 -0
- package/dist/components/ui/time-input.client.d.mts.map +1 -0
- package/dist/components/ui/time-input.client.mjs +53 -0
- package/dist/components/ui/time-input.client.mjs.map +1 -0
- package/dist/components/ui/time-picker-input.client.d.mts +15 -0
- package/dist/components/ui/time-picker-input.client.d.mts.map +1 -0
- package/dist/components/ui/time-picker-input.client.mjs +64 -0
- package/dist/components/ui/time-picker-input.client.mjs.map +1 -0
- package/dist/components/ui/toggle-group.client.d.mts +24 -0
- package/dist/components/ui/toggle-group.client.d.mts.map +1 -0
- package/dist/components/ui/toggle-group.client.mjs +47 -0
- package/dist/components/ui/toggle-group.client.mjs.map +1 -0
- package/dist/components/ui/toggle.d.mts +20 -0
- package/dist/components/ui/toggle.d.mts.map +1 -0
- package/dist/components/ui/toggle.mjs +41 -0
- package/dist/components/ui/toggle.mjs.map +1 -0
- package/dist/components/ui/tooltip.client.d.mts +24 -0
- package/dist/components/ui/tooltip.client.d.mts.map +1 -0
- package/dist/components/ui/tooltip.client.mjs +40 -0
- package/dist/components/ui/tooltip.client.mjs.map +1 -0
- package/dist/components.d.mts +41 -0
- package/dist/components.mjs +41 -0
- package/dist/config/server.d.mts +3 -0
- package/dist/config/server.mjs +4 -0
- package/dist/config.d.mts +7 -0
- package/dist/config.mjs +6 -0
- package/dist/data-tables/client.d.mts +21 -0
- package/dist/data-tables/client.mjs +22 -0
- package/dist/data-tables/server.d.mts +7 -0
- package/dist/data-tables/server.mjs +8 -0
- package/dist/data-tables.d.mts +14 -0
- package/dist/data-tables.mjs +14 -0
- package/dist/inline-edit/client.d.mts +14 -0
- package/dist/inline-edit/client.mjs +15 -0
- package/dist/inline-edit.d.mts +2 -0
- package/dist/inline-edit.mjs +3 -0
- package/dist/lib/client.d.mts +4 -0
- package/dist/lib/client.mjs +5 -0
- package/dist/lib/config/constants.d.mts +5 -0
- package/dist/lib/config/constants.d.mts.map +1 -0
- package/dist/lib/config/constants.mjs +6 -0
- package/dist/lib/config/constants.mjs.map +1 -0
- package/dist/lib/hooks/use-action.d.mts +18 -0
- package/dist/lib/hooks/use-action.d.mts.map +1 -0
- package/dist/lib/hooks/use-action.mjs +42 -0
- package/dist/lib/hooks/use-action.mjs.map +1 -0
- package/dist/lib/hooks/use-indicator.d.mts +32 -0
- package/dist/lib/hooks/use-indicator.d.mts.map +1 -0
- package/dist/lib/hooks/use-indicator.mjs +50 -0
- package/dist/lib/hooks/use-indicator.mjs.map +1 -0
- package/dist/lib/hooks/use-mobile.client.d.mts +7 -0
- package/dist/lib/hooks/use-mobile.client.d.mts.map +1 -0
- package/dist/lib/hooks/use-mobile.client.mjs +22 -0
- package/dist/lib/hooks/use-mobile.client.mjs.map +1 -0
- package/dist/lib/types/config.d.mts +12 -0
- package/dist/lib/types/config.d.mts.map +1 -0
- package/dist/lib/utils/array-move.d.mts +11 -0
- package/dist/lib/utils/array-move.d.mts.map +1 -0
- package/dist/lib/utils/array-move.mjs +13 -0
- package/dist/lib/utils/array-move.mjs.map +1 -0
- package/dist/lib/utils/cn.d.mts +7 -0
- package/dist/lib/utils/cn.d.mts.map +1 -0
- package/dist/lib/utils/cn.mjs +11 -0
- package/dist/lib/utils/cn.mjs.map +1 -0
- package/dist/lib/utils/fonts.d.mts +8 -0
- package/dist/lib/utils/fonts.d.mts.map +1 -0
- package/dist/lib/utils/fonts.mjs +12 -0
- package/dist/lib/utils/fonts.mjs.map +1 -0
- package/dist/lib/utils/format.d.mts +52 -0
- package/dist/lib/utils/format.d.mts.map +1 -0
- package/dist/lib/utils/format.mjs +114 -0
- package/dist/lib/utils/format.mjs.map +1 -0
- package/dist/lib/utils/manifest.d.mts +8 -0
- package/dist/lib/utils/manifest.d.mts.map +1 -0
- package/dist/lib/utils/manifest.mjs +36 -0
- package/dist/lib/utils/manifest.mjs.map +1 -0
- package/dist/lib/utils/time-picker.d.mts +6 -0
- package/dist/lib/utils/time-picker.d.mts.map +1 -0
- package/dist/lib/utils/time-picker.mjs +104 -0
- package/dist/lib/utils/time-picker.mjs.map +1 -0
- package/dist/lib/utils/url.d.mts +10 -0
- package/dist/lib/utils/url.d.mts.map +1 -0
- package/dist/lib/utils/url.mjs +15 -0
- package/dist/lib/utils/url.mjs.map +1 -0
- package/dist/lib/utils/user-agent.mjs +60 -0
- package/dist/lib/utils/user-agent.mjs.map +1 -0
- package/dist/lib.d.mts +9 -0
- package/dist/lib.mjs +9 -0
- package/dist/modules/auth/components/allowed.client.d.mts +21 -0
- package/dist/modules/auth/components/allowed.client.d.mts.map +1 -0
- package/dist/modules/auth/components/allowed.client.mjs +15 -0
- package/dist/modules/auth/components/allowed.client.mjs.map +1 -0
- package/dist/modules/auth/components/auth-layout.server.d.mts +10 -0
- package/dist/modules/auth/components/auth-layout.server.d.mts.map +1 -0
- package/dist/modules/auth/components/auth-layout.server.mjs +37 -0
- package/dist/modules/auth/components/auth-layout.server.mjs.map +1 -0
- package/dist/modules/auth/components/auth-loading.d.mts +7 -0
- package/dist/modules/auth/components/auth-loading.d.mts.map +1 -0
- package/dist/modules/auth/components/auth-loading.mjs +18 -0
- package/dist/modules/auth/components/auth-loading.mjs.map +1 -0
- package/dist/modules/auth/components/create-first-user-page.client.d.mts +7 -0
- package/dist/modules/auth/components/create-first-user-page.client.d.mts.map +1 -0
- package/dist/modules/auth/components/create-first-user-page.client.mjs +152 -0
- package/dist/modules/auth/components/create-first-user-page.client.mjs.map +1 -0
- package/dist/modules/auth/components/forget-password-page.client.d.mts +7 -0
- package/dist/modules/auth/components/forget-password-page.client.d.mts.map +1 -0
- package/dist/modules/auth/components/forget-password-page.client.mjs +72 -0
- package/dist/modules/auth/components/forget-password-page.client.mjs.map +1 -0
- package/dist/modules/auth/components/guard-first-user.server.d.mts +18 -0
- package/dist/modules/auth/components/guard-first-user.server.d.mts.map +1 -0
- package/dist/modules/auth/components/guard-first-user.server.mjs +16 -0
- package/dist/modules/auth/components/guard-first-user.server.mjs.map +1 -0
- package/dist/modules/auth/components/guard.server.d.mts +14 -0
- package/dist/modules/auth/components/guard.server.d.mts.map +1 -0
- package/dist/modules/auth/components/guard.server.mjs +20 -0
- package/dist/modules/auth/components/guard.server.mjs.map +1 -0
- package/dist/modules/auth/components/login-page.client.d.mts +12 -0
- package/dist/modules/auth/components/login-page.client.d.mts.map +1 -0
- package/dist/modules/auth/components/login-page.client.mjs +155 -0
- package/dist/modules/auth/components/login-page.client.mjs.map +1 -0
- package/dist/modules/auth/components/reset-password-page.client.d.mts +12 -0
- package/dist/modules/auth/components/reset-password-page.client.d.mts.map +1 -0
- package/dist/modules/auth/components/reset-password-page.client.mjs +121 -0
- package/dist/modules/auth/components/reset-password-page.client.mjs.map +1 -0
- package/dist/modules/auth/components/update-password-command.d.mts +23 -0
- package/dist/modules/auth/components/update-password-command.d.mts.map +1 -0
- package/dist/modules/auth/components/update-password-command.mjs +49 -0
- package/dist/modules/auth/components/update-password-command.mjs.map +1 -0
- package/dist/modules/auth/db/schema.d.mts +984 -0
- package/dist/modules/auth/db/schema.d.mts.map +1 -0
- package/dist/modules/auth/db/schema.mjs +102 -0
- package/dist/modules/auth/db/schema.mjs.map +1 -0
- package/dist/modules/auth/handler/client.client.d.mts +1406 -0
- package/dist/modules/auth/handler/client.client.d.mts.map +1 -0
- package/dist/modules/auth/handler/client.client.mjs +21 -0
- package/dist/modules/auth/handler/client.client.mjs.map +1 -0
- package/dist/modules/auth/handler/init.d.mts +1856 -0
- package/dist/modules/auth/handler/init.d.mts.map +1 -0
- package/dist/modules/auth/handler/init.mjs +77 -0
- package/dist/modules/auth/handler/init.mjs.map +1 -0
- package/dist/modules/auth/handler/proxy.server.d.mts +13 -0
- package/dist/modules/auth/handler/proxy.server.d.mts.map +1 -0
- package/dist/modules/auth/handler/proxy.server.mjs +22 -0
- package/dist/modules/auth/handler/proxy.server.mjs.map +1 -0
- package/dist/modules/auth/handler/route.server.d.mts +18 -0
- package/dist/modules/auth/handler/route.server.d.mts.map +1 -0
- package/dist/modules/auth/handler/route.server.mjs +29 -0
- package/dist/modules/auth/handler/route.server.mjs.map +1 -0
- package/dist/modules/auth/hooks/use-permission.d.mts +26 -0
- package/dist/modules/auth/hooks/use-permission.d.mts.map +1 -0
- package/dist/modules/auth/hooks/use-permission.mjs +57 -0
- package/dist/modules/auth/hooks/use-permission.mjs.map +1 -0
- package/dist/modules/auth/hooks/use-session.d.mts +150 -0
- package/dist/modules/auth/hooks/use-session.d.mts.map +1 -0
- package/dist/modules/auth/hooks/use-session.mjs +25 -0
- package/dist/modules/auth/hooks/use-session.mjs.map +1 -0
- package/dist/modules/auth/lib/helpers.server.d.mts +85 -0
- package/dist/modules/auth/lib/helpers.server.d.mts.map +1 -0
- package/dist/modules/auth/lib/helpers.server.mjs +42 -0
- package/dist/modules/auth/lib/helpers.server.mjs.map +1 -0
- package/dist/modules/auth/lib/permissions.d.mts +18 -0
- package/dist/modules/auth/lib/permissions.d.mts.map +1 -0
- package/dist/modules/auth/lib/permissions.mjs +15 -0
- package/dist/modules/auth/lib/permissions.mjs.map +1 -0
- package/dist/modules/auth/lib/utils.mjs +21 -0
- package/dist/modules/auth/lib/utils.mjs.map +1 -0
- package/dist/modules/auth/lib/validators.d.mts +64 -0
- package/dist/modules/auth/lib/validators.d.mts.map +1 -0
- package/dist/modules/auth/lib/validators.mjs +56 -0
- package/dist/modules/auth/lib/validators.mjs.map +1 -0
- package/dist/modules/commands/components/alert-dialog-command.client.d.mts +93 -0
- package/dist/modules/commands/components/alert-dialog-command.client.d.mts.map +1 -0
- package/dist/modules/commands/components/alert-dialog-command.client.mjs +159 -0
- package/dist/modules/commands/components/alert-dialog-command.client.mjs.map +1 -0
- package/dist/modules/commands/components/click-command.client.d.mts +27 -0
- package/dist/modules/commands/components/click-command.client.d.mts.map +1 -0
- package/dist/modules/commands/components/click-command.client.mjs +65 -0
- package/dist/modules/commands/components/click-command.client.mjs.map +1 -0
- package/dist/modules/commands/components/command-trigger.client.d.mts +34 -0
- package/dist/modules/commands/components/command-trigger.client.d.mts.map +1 -0
- package/dist/modules/commands/components/command-trigger.client.mjs +50 -0
- package/dist/modules/commands/components/command-trigger.client.mjs.map +1 -0
- package/dist/modules/commands/components/dialog-command.client.d.mts +78 -0
- package/dist/modules/commands/components/dialog-command.client.d.mts.map +1 -0
- package/dist/modules/commands/components/dialog-command.client.mjs +134 -0
- package/dist/modules/commands/components/dialog-command.client.mjs.map +1 -0
- package/dist/modules/commands/components/dropdown-command.client.d.mts +60 -0
- package/dist/modules/commands/components/dropdown-command.client.d.mts.map +1 -0
- package/dist/modules/commands/components/dropdown-command.client.mjs +132 -0
- package/dist/modules/commands/components/dropdown-command.client.mjs.map +1 -0
- package/dist/modules/commands/components/empty-command.client.d.mts +19 -0
- package/dist/modules/commands/components/empty-command.client.d.mts.map +1 -0
- package/dist/modules/commands/components/empty-command.client.mjs +56 -0
- package/dist/modules/commands/components/empty-command.client.mjs.map +1 -0
- package/dist/modules/commands/components/form-dialog-command.client.d.mts +100 -0
- package/dist/modules/commands/components/form-dialog-command.client.d.mts.map +1 -0
- package/dist/modules/commands/components/form-dialog-command.client.mjs +186 -0
- package/dist/modules/commands/components/form-dialog-command.client.mjs.map +1 -0
- package/dist/modules/commands/components/render-command.mjs +16 -0
- package/dist/modules/commands/components/render-command.mjs.map +1 -0
- package/dist/modules/commands/hooks/context.client.mjs +32 -0
- package/dist/modules/commands/hooks/context.client.mjs.map +1 -0
- package/dist/modules/commands/hooks/use-command-menu.client.d.mts +17 -0
- package/dist/modules/commands/hooks/use-command-menu.client.d.mts.map +1 -0
- package/dist/modules/commands/hooks/use-command-menu.client.mjs +89 -0
- package/dist/modules/commands/hooks/use-command-menu.client.mjs.map +1 -0
- package/dist/modules/commands/hooks/use-command-mutation.client.d.mts +17 -0
- package/dist/modules/commands/hooks/use-command-mutation.client.d.mts.map +1 -0
- package/dist/modules/commands/hooks/use-command-mutation.client.mjs +42 -0
- package/dist/modules/commands/hooks/use-command-mutation.client.mjs.map +1 -0
- package/dist/modules/commands/lib/definitions.d.mts +54 -0
- package/dist/modules/commands/lib/definitions.d.mts.map +1 -0
- package/dist/modules/commands/lib/factory.d.mts +25 -0
- package/dist/modules/commands/lib/factory.d.mts.map +1 -0
- package/dist/modules/commands/lib/factory.mjs +8 -0
- package/dist/modules/commands/lib/factory.mjs.map +1 -0
- package/dist/modules/commands/menus/context-menu.client.d.mts +27 -0
- package/dist/modules/commands/menus/context-menu.client.d.mts.map +1 -0
- package/dist/modules/commands/menus/context-menu.client.mjs +60 -0
- package/dist/modules/commands/menus/context-menu.client.mjs.map +1 -0
- package/dist/modules/commands/menus/data-table-menu.client.mjs +46 -0
- package/dist/modules/commands/menus/data-table-menu.client.mjs.map +1 -0
- package/dist/modules/commands/menus/dropdown-menu.client.d.mts +19 -0
- package/dist/modules/commands/menus/dropdown-menu.client.d.mts.map +1 -0
- package/dist/modules/commands/menus/dropdown-menu.client.mjs +63 -0
- package/dist/modules/commands/menus/dropdown-menu.client.mjs.map +1 -0
- package/dist/modules/commands/menus/inline-menu.client.d.mts +20 -0
- package/dist/modules/commands/menus/inline-menu.client.d.mts.map +1 -0
- package/dist/modules/commands/menus/inline-menu.client.mjs +47 -0
- package/dist/modules/commands/menus/inline-menu.client.mjs.map +1 -0
- package/dist/modules/commands/menus/responsive-menu.client.d.mts +10 -0
- package/dist/modules/commands/menus/responsive-menu.client.d.mts.map +1 -0
- package/dist/modules/commands/menus/responsive-menu.client.mjs +23 -0
- package/dist/modules/commands/menus/responsive-menu.client.mjs.map +1 -0
- package/dist/modules/commands/utils/archive-command.client.d.mts +33 -0
- package/dist/modules/commands/utils/archive-command.client.d.mts.map +1 -0
- package/dist/modules/commands/utils/archive-command.client.mjs +38 -0
- package/dist/modules/commands/utils/archive-command.client.mjs.map +1 -0
- package/dist/modules/commands/utils/delete-command.client.d.mts +28 -0
- package/dist/modules/commands/utils/delete-command.client.d.mts.map +1 -0
- package/dist/modules/commands/utils/delete-command.client.mjs +36 -0
- package/dist/modules/commands/utils/delete-command.client.mjs.map +1 -0
- package/dist/modules/config/db/helpers.d.mts +16 -0
- package/dist/modules/config/db/helpers.d.mts.map +1 -0
- package/dist/modules/config/db/helpers.mjs +17 -0
- package/dist/modules/config/db/helpers.mjs.map +1 -0
- package/dist/modules/config/db/init.d.mts +23 -0
- package/dist/modules/config/db/init.d.mts.map +1 -0
- package/dist/modules/config/db/init.mjs +16 -0
- package/dist/modules/config/db/init.mjs.map +1 -0
- package/dist/modules/config/db/types.d.mts +5 -0
- package/dist/modules/config/db/types.d.mts.map +1 -0
- package/dist/modules/config/lib/config.d.mts +17 -0
- package/dist/modules/config/lib/config.d.mts.map +1 -0
- package/dist/modules/config/lib/config.mjs +9 -0
- package/dist/modules/config/lib/config.mjs.map +1 -0
- package/dist/modules/config/lib/context.d.mts +19 -0
- package/dist/modules/config/lib/context.d.mts.map +1 -0
- package/dist/modules/config/lib/context.mjs +8 -0
- package/dist/modules/config/lib/context.mjs.map +1 -0
- package/dist/modules/config/paths/helpers.d.mts +11 -0
- package/dist/modules/config/paths/helpers.d.mts.map +1 -0
- package/dist/modules/config/paths/helpers.mjs +9 -0
- package/dist/modules/config/paths/helpers.mjs.map +1 -0
- package/dist/modules/config/paths/types.d.mts +33 -0
- package/dist/modules/config/paths/types.d.mts.map +1 -0
- package/dist/modules/config/providers/email.d.mts +12 -0
- package/dist/modules/config/providers/email.d.mts.map +1 -0
- package/dist/modules/config/providers/email.mjs +11 -0
- package/dist/modules/config/providers/email.mjs.map +1 -0
- package/dist/modules/data-tables/components/cell/common.client.d.mts +27 -0
- package/dist/modules/data-tables/components/cell/common.client.d.mts.map +1 -0
- package/dist/modules/data-tables/components/cell/common.client.mjs +36 -0
- package/dist/modules/data-tables/components/cell/common.client.mjs.map +1 -0
- package/dist/modules/data-tables/components/cell/index.client.d.mts +11 -0
- package/dist/modules/data-tables/components/cell/index.client.d.mts.map +1 -0
- package/dist/modules/data-tables/components/cell/index.client.mjs +25 -0
- package/dist/modules/data-tables/components/cell/index.client.mjs.map +1 -0
- package/dist/modules/data-tables/components/cell/select.client.d.mts +11 -0
- package/dist/modules/data-tables/components/cell/select.client.d.mts.map +1 -0
- package/dist/modules/data-tables/components/cell/select.client.mjs +37 -0
- package/dist/modules/data-tables/components/cell/select.client.mjs.map +1 -0
- package/dist/modules/data-tables/components/column-header.d.mts +16 -0
- package/dist/modules/data-tables/components/column-header.d.mts.map +1 -0
- package/dist/modules/data-tables/components/column-header.mjs +47 -0
- package/dist/modules/data-tables/components/column-header.mjs.map +1 -0
- package/dist/modules/data-tables/components/filters/combobox.client.d.mts +28 -0
- package/dist/modules/data-tables/components/filters/combobox.client.d.mts.map +1 -0
- package/dist/modules/data-tables/components/filters/combobox.client.mjs +100 -0
- package/dist/modules/data-tables/components/filters/combobox.client.mjs.map +1 -0
- package/dist/modules/data-tables/components/filters/slider.client.d.mts +23 -0
- package/dist/modules/data-tables/components/filters/slider.client.d.mts.map +1 -0
- package/dist/modules/data-tables/components/filters/slider.client.mjs +129 -0
- package/dist/modules/data-tables/components/filters/slider.client.mjs.map +1 -0
- package/dist/modules/data-tables/components/footer.mjs +29 -0
- package/dist/modules/data-tables/components/footer.mjs.map +1 -0
- package/dist/modules/data-tables/components/header.d.mts +41 -0
- package/dist/modules/data-tables/components/header.d.mts.map +1 -0
- package/dist/modules/data-tables/components/header.mjs +44 -0
- package/dist/modules/data-tables/components/header.mjs.map +1 -0
- package/dist/modules/data-tables/components/layout.d.mts +12 -0
- package/dist/modules/data-tables/components/layout.d.mts.map +1 -0
- package/dist/modules/data-tables/components/layout.mjs +15 -0
- package/dist/modules/data-tables/components/layout.mjs.map +1 -0
- package/dist/modules/data-tables/components/search-input.client.d.mts +7 -0
- package/dist/modules/data-tables/components/search-input.client.d.mts.map +1 -0
- package/dist/modules/data-tables/components/search-input.client.mjs +20 -0
- package/dist/modules/data-tables/components/search-input.client.mjs.map +1 -0
- package/dist/modules/data-tables/components/skeleton.d.mts +7 -0
- package/dist/modules/data-tables/components/skeleton.d.mts.map +1 -0
- package/dist/modules/data-tables/components/skeleton.mjs +22 -0
- package/dist/modules/data-tables/components/skeleton.mjs.map +1 -0
- package/dist/modules/data-tables/components/table.d.mts +34 -0
- package/dist/modules/data-tables/components/table.d.mts.map +1 -0
- package/dist/modules/data-tables/components/table.mjs +57 -0
- package/dist/modules/data-tables/components/table.mjs.map +1 -0
- package/dist/modules/data-tables/components/toolbar.d.mts +23 -0
- package/dist/modules/data-tables/components/toolbar.d.mts.map +1 -0
- package/dist/modules/data-tables/components/toolbar.mjs +22 -0
- package/dist/modules/data-tables/components/toolbar.mjs.map +1 -0
- package/dist/modules/data-tables/hooks/use-context.client.d.mts +59 -0
- package/dist/modules/data-tables/hooks/use-context.client.d.mts.map +1 -0
- package/dist/modules/data-tables/hooks/use-context.client.mjs +35 -0
- package/dist/modules/data-tables/hooks/use-context.client.mjs.map +1 -0
- package/dist/modules/data-tables/hooks/use-search.client.mjs +40 -0
- package/dist/modules/data-tables/hooks/use-search.client.mjs.map +1 -0
- package/dist/modules/data-tables/hooks/use-selection.client.mjs +39 -0
- package/dist/modules/data-tables/hooks/use-selection.client.mjs.map +1 -0
- package/dist/modules/data-tables/hooks/use-table.client.d.mts +13 -0
- package/dist/modules/data-tables/hooks/use-table.client.d.mts.map +1 -0
- package/dist/modules/data-tables/hooks/use-table.client.mjs +55 -0
- package/dist/modules/data-tables/hooks/use-table.client.mjs.map +1 -0
- package/dist/modules/data-tables/lib/converters/cursor.d.mts +19 -0
- package/dist/modules/data-tables/lib/converters/cursor.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/converters/cursor.mjs +16 -0
- package/dist/modules/data-tables/lib/converters/cursor.mjs.map +1 -0
- package/dist/modules/data-tables/lib/converters/dto.d.mts +52 -0
- package/dist/modules/data-tables/lib/converters/dto.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/converters/dto.mjs +25 -0
- package/dist/modules/data-tables/lib/converters/dto.mjs.map +1 -0
- package/dist/modules/data-tables/lib/converters/filter.d.mts +10 -0
- package/dist/modules/data-tables/lib/converters/filter.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/converters/filter.mjs +14 -0
- package/dist/modules/data-tables/lib/converters/filter.mjs.map +1 -0
- package/dist/modules/data-tables/lib/converters/search.d.mts +17 -0
- package/dist/modules/data-tables/lib/converters/search.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/converters/search.mjs +16 -0
- package/dist/modules/data-tables/lib/converters/search.mjs.map +1 -0
- package/dist/modules/data-tables/lib/converters/sorting.d.mts +15 -0
- package/dist/modules/data-tables/lib/converters/sorting.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/converters/sorting.mjs +20 -0
- package/dist/modules/data-tables/lib/converters/sorting.mjs.map +1 -0
- package/dist/modules/data-tables/lib/filters/config.d.mts +14 -0
- package/dist/modules/data-tables/lib/filters/config.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/filters/config.mjs +6 -0
- package/dist/modules/data-tables/lib/filters/config.mjs.map +1 -0
- package/dist/modules/data-tables/lib/filters/helpers.d.mts +11 -0
- package/dist/modules/data-tables/lib/filters/helpers.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/filters/helpers.mjs +17 -0
- package/dist/modules/data-tables/lib/filters/helpers.mjs.map +1 -0
- package/dist/modules/data-tables/lib/filters/parsers.d.mts +37 -0
- package/dist/modules/data-tables/lib/filters/parsers.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/filters/parsers.mjs +34 -0
- package/dist/modules/data-tables/lib/filters/parsers.mjs.map +1 -0
- package/dist/modules/data-tables/lib/filters/resolvers.d.mts +29 -0
- package/dist/modules/data-tables/lib/filters/resolvers.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/filters/resolvers.mjs +56 -0
- package/dist/modules/data-tables/lib/filters/resolvers.mjs.map +1 -0
- package/dist/modules/data-tables/lib/helpers/create-column.mjs +11 -0
- package/dist/modules/data-tables/lib/helpers/create-column.mjs.map +1 -0
- package/dist/modules/data-tables/lib/search-params.d.mts +22 -0
- package/dist/modules/data-tables/lib/search-params.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/search-params.mjs +17 -0
- package/dist/modules/data-tables/lib/search-params.mjs.map +1 -0
- package/dist/modules/data-tables/lib/types.d.mts +60 -0
- package/dist/modules/data-tables/lib/types.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/validators.d.mts +21 -0
- package/dist/modules/data-tables/lib/validators.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/validators.mjs +17 -0
- package/dist/modules/data-tables/lib/validators.mjs.map +1 -0
- package/dist/modules/data-tables/server/get-data.server.d.mts +31 -0
- package/dist/modules/data-tables/server/get-data.server.d.mts.map +1 -0
- package/dist/modules/data-tables/server/get-data.server.mjs +48 -0
- package/dist/modules/data-tables/server/get-data.server.mjs.map +1 -0
- package/dist/modules/data-tables/strategies/helpers/sorting.mjs +38 -0
- package/dist/modules/data-tables/strategies/helpers/sorting.mjs.map +1 -0
- package/dist/modules/data-tables/strategies/infinite/components.mjs +51 -0
- package/dist/modules/data-tables/strategies/infinite/components.mjs.map +1 -0
- package/dist/modules/data-tables/strategies/infinite/strategy.d.mts +21 -0
- package/dist/modules/data-tables/strategies/infinite/strategy.d.mts.map +1 -0
- package/dist/modules/data-tables/strategies/infinite/strategy.mjs +48 -0
- package/dist/modules/data-tables/strategies/infinite/strategy.mjs.map +1 -0
- package/dist/modules/data-tables/strategies/pagination/components.mjs +132 -0
- package/dist/modules/data-tables/strategies/pagination/components.mjs.map +1 -0
- package/dist/modules/data-tables/strategies/pagination/strategy.d.mts +13 -0
- package/dist/modules/data-tables/strategies/pagination/strategy.d.mts.map +1 -0
- package/dist/modules/data-tables/strategies/pagination/strategy.mjs +46 -0
- package/dist/modules/data-tables/strategies/pagination/strategy.mjs.map +1 -0
- package/dist/modules/data-tables/tables/data-table/components/body.mjs +33 -0
- package/dist/modules/data-tables/tables/data-table/components/body.mjs.map +1 -0
- package/dist/modules/data-tables/tables/data-table/components/header.mjs +13 -0
- package/dist/modules/data-tables/tables/data-table/components/header.mjs.map +1 -0
- package/dist/modules/data-tables/tables/data-table/components/row.mjs +25 -0
- package/dist/modules/data-tables/tables/data-table/components/row.mjs.map +1 -0
- package/dist/modules/data-tables/tables/data-table/components/table.d.mts +11 -0
- package/dist/modules/data-tables/tables/data-table/components/table.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/data-table/components/table.mjs +37 -0
- package/dist/modules/data-tables/tables/data-table/components/table.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/body.mjs +70 -0
- package/dist/modules/data-tables/tables/inline-table/components/body.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts +12 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.mjs +16 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts +25 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.mjs +39 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/header.mjs +11 -0
- package/dist/modules/data-tables/tables/inline-table/components/header.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.mts +29 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.mjs +52 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.mts +27 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.mjs +29 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.mts +39 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.mjs +71 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.mts +12 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.mjs +16 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.mts +33 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.mjs +52 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/row.client.mjs +41 -0
- package/dist/modules/data-tables/tables/inline-table/components/row.client.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/table.d.mts +16 -0
- package/dist/modules/data-tables/tables/inline-table/components/table.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/table.mjs +46 -0
- package/dist/modules/data-tables/tables/inline-table/components/table.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts +47 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.mjs +58 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-hotkeys.client.mjs +27 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-hotkeys.client.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.d.mts +17 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.mjs +53 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts +23 -0
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/combobox-dropdown.client.mjs +32 -0
- package/dist/modules/inline-edit/components/combobox-dropdown.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/combobox.client.d.mts +18 -0
- package/dist/modules/inline-edit/components/combobox.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/combobox.client.mjs +31 -0
- package/dist/modules/inline-edit/components/combobox.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/date-input.client.d.mts +17 -0
- package/dist/modules/inline-edit/components/date-input.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/date-input.client.mjs +80 -0
- package/dist/modules/inline-edit/components/date-input.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/date-picker.client.d.mts +20 -0
- package/dist/modules/inline-edit/components/date-picker.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/date-picker.client.mjs +52 -0
- package/dist/modules/inline-edit/components/date-picker.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/deprecated-editor.client.d.mts +21 -0
- package/dist/modules/inline-edit/components/deprecated-editor.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/deprecated-editor.client.mjs +37 -0
- package/dist/modules/inline-edit/components/deprecated-editor.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/editor.client.d.mts +21 -0
- package/dist/modules/inline-edit/components/editor.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/editor.client.mjs +30 -0
- package/dist/modules/inline-edit/components/editor.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/input-recipient.client.d.mts +26 -0
- package/dist/modules/inline-edit/components/input-recipient.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/input-recipient.client.mjs +34 -0
- package/dist/modules/inline-edit/components/input-recipient.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/input-toggle.client.d.mts +18 -0
- package/dist/modules/inline-edit/components/input-toggle.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/input-toggle.client.mjs +47 -0
- package/dist/modules/inline-edit/components/input-toggle.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/input.client.d.mts +47 -0
- package/dist/modules/inline-edit/components/input.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/input.client.mjs +70 -0
- package/dist/modules/inline-edit/components/input.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/select.client.d.mts +29 -0
- package/dist/modules/inline-edit/components/select.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/select.client.mjs +44 -0
- package/dist/modules/inline-edit/components/select.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/switch.client.d.mts +15 -0
- package/dist/modules/inline-edit/components/switch.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/switch.client.mjs +27 -0
- package/dist/modules/inline-edit/components/switch.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/toggle.client.d.mts +17 -0
- package/dist/modules/inline-edit/components/toggle.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/toggle.client.mjs +34 -0
- package/dist/modules/inline-edit/components/toggle.client.mjs.map +1 -0
- package/dist/modules/inline-edit/hooks/context.client.d.mts +28 -0
- package/dist/modules/inline-edit/hooks/context.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/hooks/context.client.mjs +28 -0
- package/dist/modules/inline-edit/hooks/context.client.mjs.map +1 -0
- package/dist/modules/inline-edit/hooks/use-inline.client.d.mts +16 -0
- package/dist/modules/inline-edit/hooks/use-inline.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/hooks/use-inline.client.mjs +56 -0
- package/dist/modules/inline-edit/hooks/use-inline.client.mjs.map +1 -0
- package/dist/modules/inline-edit/lib/validators.d.mts +58 -0
- package/dist/modules/inline-edit/lib/validators.d.mts.map +1 -0
- package/dist/modules/inline-edit/lib/validators.mjs +35 -0
- package/dist/modules/inline-edit/lib/validators.mjs.map +1 -0
- package/dist/modules/inline-edit/lib/variants.d.mts +11 -0
- package/dist/modules/inline-edit/lib/variants.d.mts.map +1 -0
- package/dist/modules/inline-edit/lib/variants.mjs +14 -0
- package/dist/modules/inline-edit/lib/variants.mjs.map +1 -0
- package/dist/modules/router/handler/caller.client.d.mts +12 -0
- package/dist/modules/router/handler/caller.client.d.mts.map +1 -0
- package/dist/modules/router/handler/caller.client.mjs +24 -0
- package/dist/modules/router/handler/caller.client.mjs.map +1 -0
- package/dist/modules/router/handler/caller.server.d.mts +7 -0
- package/dist/modules/router/handler/caller.server.d.mts.map +1 -0
- package/dist/modules/router/handler/caller.server.mjs +8 -0
- package/dist/modules/router/handler/caller.server.mjs.map +1 -0
- package/dist/modules/router/handler/context.server.d.mts +61 -0
- package/dist/modules/router/handler/context.server.d.mts.map +1 -0
- package/dist/modules/router/handler/context.server.mjs +21 -0
- package/dist/modules/router/handler/context.server.mjs.map +1 -0
- package/dist/modules/router/handler/init.server.d.mts +91 -0
- package/dist/modules/router/handler/init.server.d.mts.map +1 -0
- package/dist/modules/router/handler/init.server.mjs +53 -0
- package/dist/modules/router/handler/init.server.mjs.map +1 -0
- package/dist/modules/router/handler/register.server.d.mts +9 -0
- package/dist/modules/router/handler/register.server.d.mts.map +1 -0
- package/dist/modules/router/handler/register.server.mjs +11 -0
- package/dist/modules/router/handler/register.server.mjs.map +1 -0
- package/dist/modules/router/handler/route.server.d.mts +23 -0
- package/dist/modules/router/handler/route.server.d.mts.map +1 -0
- package/dist/modules/router/handler/route.server.mjs +33 -0
- package/dist/modules/router/handler/route.server.mjs.map +1 -0
- package/dist/modules/router/lib/helpers.mjs +8 -0
- package/dist/modules/router/lib/helpers.mjs.map +1 -0
- package/dist/modules/router/lib/query-client.d.mts +11 -0
- package/dist/modules/router/lib/query-client.d.mts.map +1 -0
- package/dist/modules/router/lib/query-client.mjs +51 -0
- package/dist/modules/router/lib/query-client.mjs.map +1 -0
- package/dist/modules/router/lib/query-client.server.d.mts +18 -0
- package/dist/modules/router/lib/query-client.server.d.mts.map +1 -0
- package/dist/modules/router/lib/query-client.server.mjs +24 -0
- package/dist/modules/router/lib/query-client.server.mjs.map +1 -0
- package/dist/modules/router/lib/validators.d.mts +14 -0
- package/dist/modules/router/lib/validators.d.mts.map +1 -0
- package/dist/modules/router/lib/validators.mjs +11 -0
- package/dist/modules/router/lib/validators.mjs.map +1 -0
- package/dist/modules/storage/components/dropzone-context.client.d.mts +19 -0
- package/dist/modules/storage/components/dropzone-context.client.d.mts.map +1 -0
- package/dist/modules/storage/components/dropzone-context.client.mjs +18 -0
- package/dist/modules/storage/components/dropzone-context.client.mjs.map +1 -0
- package/dist/modules/storage/components/dropzone.client.d.mts +53 -0
- package/dist/modules/storage/components/dropzone.client.d.mts.map +1 -0
- package/dist/modules/storage/components/dropzone.client.mjs +111 -0
- package/dist/modules/storage/components/dropzone.client.mjs.map +1 -0
- package/dist/modules/storage/components/image-grid.client.d.mts +26 -0
- package/dist/modules/storage/components/image-grid.client.d.mts.map +1 -0
- package/dist/modules/storage/components/image-grid.client.mjs +169 -0
- package/dist/modules/storage/components/image-grid.client.mjs.map +1 -0
- package/dist/modules/storage/components/upload-zone-context.client.d.mts +34 -0
- package/dist/modules/storage/components/upload-zone-context.client.d.mts.map +1 -0
- package/dist/modules/storage/components/upload-zone-context.client.mjs +21 -0
- package/dist/modules/storage/components/upload-zone-context.client.mjs.map +1 -0
- package/dist/modules/storage/components/upload-zone.client.d.mts +51 -0
- package/dist/modules/storage/components/upload-zone.client.d.mts.map +1 -0
- package/dist/modules/storage/components/upload-zone.client.mjs +196 -0
- package/dist/modules/storage/components/upload-zone.client.mjs.map +1 -0
- package/dist/modules/storage/config/filters.d.mts +15 -0
- package/dist/modules/storage/config/filters.d.mts.map +1 -0
- package/dist/modules/storage/config/filters.mjs +15 -0
- package/dist/modules/storage/config/filters.mjs.map +1 -0
- package/dist/modules/storage/lib/constants.d.mts +10 -0
- package/dist/modules/storage/lib/constants.d.mts.map +1 -0
- package/dist/modules/storage/lib/constants.mjs +18 -0
- package/dist/modules/storage/lib/constants.mjs.map +1 -0
- package/dist/modules/storage/lib/create-client.server.d.mts +11 -0
- package/dist/modules/storage/lib/create-client.server.d.mts.map +1 -0
- package/dist/modules/storage/lib/create-client.server.mjs +11 -0
- package/dist/modules/storage/lib/create-client.server.mjs.map +1 -0
- package/dist/modules/storage/lib/helpers.d.mts +45 -0
- package/dist/modules/storage/lib/helpers.d.mts.map +1 -0
- package/dist/modules/storage/lib/helpers.mjs +107 -0
- package/dist/modules/storage/lib/helpers.mjs.map +1 -0
- package/dist/modules/storage/lib/proxy.server.d.mts +21 -0
- package/dist/modules/storage/lib/proxy.server.d.mts.map +1 -0
- package/dist/modules/storage/lib/proxy.server.mjs +46 -0
- package/dist/modules/storage/lib/proxy.server.mjs.map +1 -0
- package/dist/modules/storage/lib/router.server.d.mts +29074 -0
- package/dist/modules/storage/lib/router.server.d.mts.map +1 -0
- package/dist/modules/storage/lib/router.server.mjs +83 -0
- package/dist/modules/storage/lib/router.server.mjs.map +1 -0
- package/dist/modules/storage/lib/schema.d.mts +1114 -0
- package/dist/modules/storage/lib/schema.d.mts.map +1 -0
- package/dist/modules/storage/lib/schema.mjs +73 -0
- package/dist/modules/storage/lib/schema.mjs.map +1 -0
- package/dist/modules/storage/lib/service.server.d.mts +188 -0
- package/dist/modules/storage/lib/service.server.d.mts.map +1 -0
- package/dist/modules/storage/lib/service.server.mjs +297 -0
- package/dist/modules/storage/lib/service.server.mjs.map +1 -0
- package/dist/modules/storage/lib/validators.d.mts +1313 -0
- package/dist/modules/storage/lib/validators.d.mts.map +1 -0
- package/dist/modules/storage/lib/validators.mjs +106 -0
- package/dist/modules/storage/lib/validators.mjs.map +1 -0
- package/dist/router/client.d.mts +2 -0
- package/dist/router/client.mjs +3 -0
- package/dist/router/server.d.mts +8 -0
- package/dist/router/server.mjs +9 -0
- package/dist/router.d.mts +2 -0
- package/dist/router.mjs +3 -0
- package/dist/storage/client.d.mts +6 -0
- package/dist/storage/client.mjs +14 -0
- package/dist/storage/client.mjs.map +1 -0
- package/dist/storage/server.d.mts +4 -0
- package/dist/storage/server.mjs +5 -0
- package/dist/storage.d.mts +6 -0
- package/dist/storage.mjs +7 -0
- package/package.json +102 -85
- package/src/components/common/icons.tsx +2 -0
- package/src/components/editor/components/block-dropdown.tsx +43 -25
- package/src/components/editor/components/content.client.tsx +1 -1
- package/src/components/editor/components/editor.client.tsx +95 -0
- package/src/components/editor/components/menu-fixed.client.tsx +165 -0
- package/src/components/editor/components/spinner.tsx +2 -2
- package/src/components/editor/lib/constants.ts +109 -0
- package/src/components/editor/lib/extensions.ts +195 -0
- package/src/components/editor/lib/helpers.ts +17 -0
- package/src/components/editor/lib/types.ts +6 -0
- package/src/components/editor/lib/variants.ts +5 -0
- package/src/components/entry.client.ts +3 -5
- package/src/components/entry.ts +2 -0
- package/src/components/header/bottom-bar.client.tsx +25 -12
- package/src/components/header/top-bar.client.tsx +2 -2
- package/src/components/layouts/admin-content.client.tsx +1 -1
- package/src/components/layouts/admin-layout.tsx +3 -6
- package/src/components/layouts/providers.client.tsx +1 -1
- package/src/components/layouts/root-layout.server.tsx +2 -5
- package/src/components/navigation/admin-sidebar-header.client.tsx +49 -5
- package/src/components/ui/accordion.tsx +1 -1
- package/src/components/ui/calendar.tsx +152 -44
- package/src/components/ui/date-picker.client.tsx +65 -0
- package/src/components/ui/form.client.tsx +4 -1
- package/src/components/ui/input-recipient.tsx +289 -0
- package/src/entry.ts +10 -4
- package/src/lib/utils/format.ts +20 -0
- package/src/lib/utils/manifest.ts +2 -3
- package/src/lib/utils/user-agent.ts +63 -0
- package/src/modules/auth/components/create-first-user-page.client.tsx +167 -0
- package/src/modules/auth/components/guard-first-user.server.tsx +28 -0
- package/src/modules/auth/components/guard.server.tsx +22 -0
- package/src/modules/auth/components/login-page.client.tsx +86 -22
- package/src/modules/auth/components/reset-password-page.client.tsx +47 -4
- package/src/modules/auth/components/update-password-command.tsx +19 -6
- package/src/modules/auth/db/schema.ts +78 -19
- package/src/modules/auth/entry.client.ts +1 -0
- package/src/modules/auth/entry.server.ts +14 -0
- package/src/modules/auth/handler/client.client.ts +5 -13
- package/src/modules/auth/handler/init.ts +111 -0
- package/src/modules/auth/handler/proxy.server.ts +1 -1
- package/src/modules/auth/handler/route.server.ts +4 -9
- package/src/modules/auth/hooks/use-permission.ts +6 -8
- package/src/modules/auth/hooks/use-session.ts +16 -10
- package/src/modules/auth/lib/helpers.server.ts +5 -5
- package/src/modules/auth/lib/validators.ts +1 -1
- package/src/modules/commands/components/alert-dialog-command.client.tsx +29 -80
- package/src/modules/commands/components/click-command.client.tsx +22 -11
- package/src/modules/commands/components/dialog-command.client.tsx +20 -8
- package/src/modules/commands/components/dropdown-command.client.tsx +38 -11
- package/src/modules/commands/components/form-dialog-command.client.tsx +45 -17
- package/src/modules/commands/entry.client.ts +1 -1
- package/src/modules/commands/hooks/use-command-mutation.client.tsx +65 -0
- package/src/modules/commands/lib/definitions.ts +1 -2
- package/src/modules/commands/lib/factory.ts +1 -1
- package/src/modules/commands/utils/archive-command.client.tsx +26 -17
- package/src/modules/commands/utils/delete-command.client.tsx +29 -11
- package/src/modules/commands/utils/send-mail-command.client.tsx +136 -173
- package/src/modules/config/db/create-client.ts +11 -4
- package/src/modules/config/db/helpers.ts +3 -1
- package/src/modules/config/db/init.ts +25 -0
- package/src/modules/config/entry.server.ts +4 -8
- package/src/modules/config/entry.ts +3 -3
- package/src/modules/config/lib/config.ts +15 -0
- package/src/modules/config/lib/context.ts +17 -0
- package/src/modules/config/providers/email.ts +13 -0
- package/src/modules/data-tables/components/filters/combobox.client.tsx +3 -3
- package/src/modules/data-tables/entry.ts +1 -1
- package/src/modules/data-tables/hooks/use-context.client.tsx +31 -13
- package/src/modules/data-tables/hooks/use-search.client.ts +3 -2
- package/src/modules/data-tables/hooks/use-table.client.ts +6 -3
- package/src/modules/data-tables/lib/filters/config.ts +1 -0
- package/src/modules/data-tables/lib/filters/helpers.ts +19 -0
- package/src/modules/data-tables/lib/filters/parsers.ts +14 -1
- package/src/modules/data-tables/lib/filters/resolvers.ts +8 -0
- package/src/modules/data-tables/lib/types.ts +10 -3
- package/src/modules/data-tables/server/get-data.server.ts +10 -4
- package/src/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.tsx +10 -3
- package/src/modules/data-tables/tables/inline-table/components/row.client.tsx +2 -1
- package/src/modules/inline-edit/components/combobox-dropdown.client.tsx +15 -2
- package/src/modules/inline-edit/components/combobox.client.tsx +8 -1
- package/src/modules/inline-edit/components/date-input.client.tsx +7 -3
- package/src/modules/inline-edit/components/date-picker.client.tsx +10 -3
- package/src/modules/inline-edit/components/deprecated-editor.client.tsx +48 -0
- package/src/modules/inline-edit/components/editor.client.tsx +34 -26
- package/src/modules/inline-edit/components/input-recipient.client.tsx +47 -0
- package/src/modules/inline-edit/components/input-toggle.client.tsx +2 -0
- package/src/modules/inline-edit/components/input.client.tsx +65 -10
- package/src/modules/inline-edit/components/select.client.tsx +17 -4
- package/src/modules/inline-edit/components/switch.client.tsx +2 -0
- package/src/modules/inline-edit/components/toggle.client.tsx +2 -0
- package/src/modules/inline-edit/entry.client.ts +2 -1
- package/src/modules/inline-edit/hooks/use-inline.client.tsx +4 -4
- package/src/modules/inline-edit/lib/variants.ts +16 -0
- package/src/modules/router/entry.client.ts +4 -0
- package/src/modules/router/entry.server.ts +14 -0
- package/src/modules/router/entry.ts +4 -0
- package/src/modules/router/handler/caller.client.tsx +32 -0
- package/src/modules/router/handler/caller.server.ts +3 -0
- package/src/modules/router/handler/context.server.ts +28 -0
- package/src/modules/router/handler/init.server.ts +77 -0
- package/src/modules/router/handler/register.server.ts +14 -0
- package/src/modules/router/handler/route.server.ts +41 -0
- package/src/modules/router/lib/query-client.server.tsx +19 -0
- package/src/modules/storage/components/dropzone-context.client.tsx +23 -0
- package/src/modules/storage/components/dropzone.client.tsx +152 -0
- package/src/modules/storage/components/image-grid.client.tsx +225 -0
- package/src/modules/storage/components/upload-button.client.tsx +29 -0
- package/src/modules/storage/components/upload-zone-context.client.tsx +32 -0
- package/src/modules/storage/components/upload-zone.client.tsx +258 -0
- package/src/modules/storage/config/filters.ts +10 -0
- package/src/modules/storage/entry.client.ts +12 -0
- package/src/modules/storage/entry.server.ts +6 -0
- package/src/modules/storage/entry.ts +5 -0
- package/src/modules/storage/lib/constants.ts +14 -0
- package/src/modules/storage/lib/create-client.server.ts +14 -0
- package/src/modules/storage/lib/helpers.ts +97 -0
- package/src/modules/storage/lib/proxy.server.ts +63 -0
- package/src/modules/storage/lib/router.server.ts +174 -0
- package/src/modules/storage/lib/schema.ts +103 -0
- package/src/modules/storage/lib/service.server.ts +463 -0
- package/src/modules/storage/lib/validators.ts +156 -0
- package/dist/auth/client.d.ts +0 -9
- package/dist/auth/client.js +0 -10
- package/dist/auth/server.d.ts +0 -5
- package/dist/auth/server.js +0 -6
- package/dist/auth.d.ts +0 -5
- package/dist/auth.js +0 -6
- package/dist/commands/client.d.ts +0 -16
- package/dist/commands/client.js +0 -17
- package/dist/commands.d.ts +0 -3
- package/dist/commands.js +0 -3
- package/dist/components/client.d.ts +0 -36
- package/dist/components/client.js +0 -37
- package/dist/components/common/icons.d.ts +0 -60
- package/dist/components/common/icons.d.ts.map +0 -1
- package/dist/components/common/icons.js +0 -121
- package/dist/components/common/icons.js.map +0 -1
- package/dist/components/common/status.d.ts +0 -53
- package/dist/components/common/status.d.ts.map +0 -1
- package/dist/components/common/status.js +0 -56
- package/dist/components/common/status.js.map +0 -1
- package/dist/components/editor/components/block-dropdown.js +0 -83
- package/dist/components/editor/components/block-dropdown.js.map +0 -1
- package/dist/components/editor/components/content.client.d.ts +0 -7
- package/dist/components/editor/components/content.client.d.ts.map +0 -1
- package/dist/components/editor/components/content.client.js +0 -18
- package/dist/components/editor/components/content.client.js.map +0 -1
- package/dist/components/editor/components/fixed-menu.client.d.ts +0 -7
- package/dist/components/editor/components/fixed-menu.client.d.ts.map +0 -1
- package/dist/components/editor/components/fixed-menu.client.js +0 -134
- package/dist/components/editor/components/fixed-menu.client.js.map +0 -1
- package/dist/components/editor/context.client.d.ts +0 -32
- package/dist/components/editor/context.client.d.ts.map +0 -1
- package/dist/components/editor/context.client.js +0 -46
- package/dist/components/editor/context.client.js.map +0 -1
- package/dist/components/editor/index.client.d.ts +0 -11
- package/dist/components/editor/index.client.d.ts.map +0 -1
- package/dist/components/editor/index.client.js +0 -17
- package/dist/components/editor/index.client.js.map +0 -1
- package/dist/components/editor/preview.client.d.ts +0 -12
- package/dist/components/editor/preview.client.d.ts.map +0 -1
- package/dist/components/editor/preview.client.js +0 -20
- package/dist/components/editor/preview.client.js.map +0 -1
- package/dist/components/emails/forget-password-email.js +0 -52
- package/dist/components/emails/forget-password-email.js.map +0 -1
- package/dist/components/header/back-button.client.d.ts +0 -10
- package/dist/components/header/back-button.client.d.ts.map +0 -1
- package/dist/components/header/back-button.client.js +0 -44
- package/dist/components/header/back-button.client.js.map +0 -1
- package/dist/components/header/bottom-bar.client.d.ts +0 -29
- package/dist/components/header/bottom-bar.client.d.ts.map +0 -1
- package/dist/components/header/bottom-bar.client.js +0 -31
- package/dist/components/header/bottom-bar.client.js.map +0 -1
- package/dist/components/header/breadcrumbs.client.d.ts +0 -35
- package/dist/components/header/breadcrumbs.client.d.ts.map +0 -1
- package/dist/components/header/breadcrumbs.client.js +0 -64
- package/dist/components/header/breadcrumbs.client.js.map +0 -1
- package/dist/components/header/header.client.d.ts +0 -12
- package/dist/components/header/header.client.d.ts.map +0 -1
- package/dist/components/header/header.client.js +0 -15
- package/dist/components/header/header.client.js.map +0 -1
- package/dist/components/header/indicator.client.js +0 -26
- package/dist/components/header/indicator.client.js.map +0 -1
- package/dist/components/header/mobile-nav-switcher.client.d.ts +0 -10
- package/dist/components/header/mobile-nav-switcher.client.d.ts.map +0 -1
- package/dist/components/header/mobile-nav-switcher.client.js +0 -20
- package/dist/components/header/mobile-nav-switcher.client.js.map +0 -1
- package/dist/components/header/top-bar.client.d.ts +0 -43
- package/dist/components/header/top-bar.client.d.ts.map +0 -1
- package/dist/components/header/top-bar.client.js +0 -48
- package/dist/components/header/top-bar.client.js.map +0 -1
- package/dist/components/layouts/admin-content.client.d.ts +0 -13
- package/dist/components/layouts/admin-content.client.d.ts.map +0 -1
- package/dist/components/layouts/admin-content.client.js +0 -24
- package/dist/components/layouts/admin-content.client.js.map +0 -1
- package/dist/components/layouts/admin-layout.d.ts +0 -8
- package/dist/components/layouts/admin-layout.d.ts.map +0 -1
- package/dist/components/layouts/admin-layout.js +0 -15
- package/dist/components/layouts/admin-layout.js.map +0 -1
- package/dist/components/layouts/admin-loading.d.ts +0 -8
- package/dist/components/layouts/admin-loading.d.ts.map +0 -1
- package/dist/components/layouts/admin-loading.js +0 -14
- package/dist/components/layouts/admin-loading.js.map +0 -1
- package/dist/components/layouts/empty-page.d.ts +0 -31
- package/dist/components/layouts/empty-page.d.ts.map +0 -1
- package/dist/components/layouts/empty-page.js +0 -29
- package/dist/components/layouts/empty-page.js.map +0 -1
- package/dist/components/layouts/list-layout.d.ts +0 -12
- package/dist/components/layouts/list-layout.d.ts.map +0 -1
- package/dist/components/layouts/list-layout.js +0 -15
- package/dist/components/layouts/list-layout.js.map +0 -1
- package/dist/components/layouts/not-found-page.d.ts +0 -8
- package/dist/components/layouts/not-found-page.d.ts.map +0 -1
- package/dist/components/layouts/not-found-page.js +0 -20
- package/dist/components/layouts/not-found-page.js.map +0 -1
- package/dist/components/layouts/not-found-section.js +0 -30
- package/dist/components/layouts/not-found-section.js.map +0 -1
- package/dist/components/layouts/providers.client.d.ts +0 -10
- package/dist/components/layouts/providers.client.d.ts.map +0 -1
- package/dist/components/layouts/providers.client.js +0 -32
- package/dist/components/layouts/providers.client.js.map +0 -1
- package/dist/components/layouts/root-layout.server.d.ts +0 -38
- package/dist/components/layouts/root-layout.server.d.ts.map +0 -1
- package/dist/components/layouts/root-layout.server.js +0 -47
- package/dist/components/layouts/root-layout.server.js.map +0 -1
- package/dist/components/layouts/root-loading.d.ts +0 -7
- package/dist/components/layouts/root-loading.d.ts.map +0 -1
- package/dist/components/layouts/root-loading.js +0 -14
- package/dist/components/layouts/root-loading.js.map +0 -1
- package/dist/components/layouts/tab-layout.d.ts +0 -23
- package/dist/components/layouts/tab-layout.d.ts.map +0 -1
- package/dist/components/layouts/tab-layout.js +0 -52
- package/dist/components/layouts/tab-layout.js.map +0 -1
- package/dist/components/lists/data-list.d.ts +0 -31
- package/dist/components/lists/data-list.d.ts.map +0 -1
- package/dist/components/lists/data-list.js +0 -36
- package/dist/components/lists/data-list.js.map +0 -1
- package/dist/components/lists/data-stack.d.ts +0 -49
- package/dist/components/lists/data-stack.d.ts.map +0 -1
- package/dist/components/lists/data-stack.js +0 -57
- package/dist/components/lists/data-stack.js.map +0 -1
- package/dist/components/navigation/admin-sidebar-header.client.js +0 -75
- package/dist/components/navigation/admin-sidebar-header.client.js.map +0 -1
- package/dist/components/navigation/admin-sidebar-paths.client.d.ts +0 -81
- package/dist/components/navigation/admin-sidebar-paths.client.d.ts.map +0 -1
- package/dist/components/navigation/admin-sidebar-paths.client.js +0 -143
- package/dist/components/navigation/admin-sidebar-paths.client.js.map +0 -1
- package/dist/components/navigation/admin-sidebar-skeleton.js +0 -31
- package/dist/components/navigation/admin-sidebar-skeleton.js.map +0 -1
- package/dist/components/server.d.ts +0 -3
- package/dist/components/server.js +0 -4
- package/dist/components/ui/accordion.d.ts +0 -25
- package/dist/components/ui/accordion.d.ts.map +0 -1
- package/dist/components/ui/accordion.js +0 -49
- package/dist/components/ui/accordion.js.map +0 -1
- package/dist/components/ui/alert-dialog.d.ts +0 -43
- package/dist/components/ui/alert-dialog.d.ts.map +0 -1
- package/dist/components/ui/alert-dialog.js +0 -86
- package/dist/components/ui/alert-dialog.js.map +0 -1
- package/dist/components/ui/alert.d.ts +0 -25
- package/dist/components/ui/alert.d.ts.map +0 -1
- package/dist/components/ui/alert.js +0 -39
- package/dist/components/ui/alert.js.map +0 -1
- package/dist/components/ui/aspect-ratio.d.ts +0 -8
- package/dist/components/ui/aspect-ratio.d.ts.map +0 -1
- package/dist/components/ui/aspect-ratio.js +0 -17
- package/dist/components/ui/aspect-ratio.js.map +0 -1
- package/dist/components/ui/avatar.client.d.ts +0 -20
- package/dist/components/ui/avatar.client.d.ts.map +0 -1
- package/dist/components/ui/avatar.client.js +0 -34
- package/dist/components/ui/avatar.client.js.map +0 -1
- package/dist/components/ui/badge.d.ts +0 -20
- package/dist/components/ui/badge.d.ts.map +0 -1
- package/dist/components/ui/badge.js +0 -27
- package/dist/components/ui/badge.js.map +0 -1
- package/dist/components/ui/breadcrumb.d.ts +0 -36
- package/dist/components/ui/breadcrumb.d.ts.map +0 -1
- package/dist/components/ui/breadcrumb.js +0 -72
- package/dist/components/ui/breadcrumb.js.map +0 -1
- package/dist/components/ui/button.d.ts +0 -22
- package/dist/components/ui/button.d.ts.map +0 -1
- package/dist/components/ui/button.js +0 -44
- package/dist/components/ui/button.js.map +0 -1
- package/dist/components/ui/calendar.d.ts +0 -14
- package/dist/components/ui/calendar.d.ts.map +0 -1
- package/dist/components/ui/calendar.js +0 -57
- package/dist/components/ui/calendar.js.map +0 -1
- package/dist/components/ui/card.d.ts +0 -31
- package/dist/components/ui/card.d.ts.map +0 -1
- package/dist/components/ui/card.js +0 -51
- package/dist/components/ui/card.js.map +0 -1
- package/dist/components/ui/carousel.d.ts +0 -48
- package/dist/components/ui/carousel.d.ts.map +0 -1
- package/dist/components/ui/carousel.js +0 -137
- package/dist/components/ui/carousel.js.map +0 -1
- package/dist/components/ui/chart.client.d.ts +0 -72
- package/dist/components/ui/chart.client.d.ts.map +0 -1
- package/dist/components/ui/chart.client.js +0 -144
- package/dist/components/ui/chart.client.js.map +0 -1
- package/dist/components/ui/checkbox.d.ts +0 -12
- package/dist/components/ui/checkbox.d.ts.map +0 -1
- package/dist/components/ui/checkbox.js +0 -26
- package/dist/components/ui/checkbox.js.map +0 -1
- package/dist/components/ui/collapsible.client.d.ts +0 -16
- package/dist/components/ui/collapsible.client.d.ts.map +0 -1
- package/dist/components/ui/collapsible.client.js +0 -29
- package/dist/components/ui/collapsible.client.js.map +0 -1
- package/dist/components/ui/color-picker.client.d.ts +0 -16
- package/dist/components/ui/color-picker.client.d.ts.map +0 -1
- package/dist/components/ui/color-picker.client.js +0 -39
- package/dist/components/ui/color-picker.client.js.map +0 -1
- package/dist/components/ui/combobox-dropdown.client.d.ts +0 -47
- package/dist/components/ui/combobox-dropdown.client.d.ts.map +0 -1
- package/dist/components/ui/combobox-dropdown.client.js +0 -95
- package/dist/components/ui/combobox-dropdown.client.js.map +0 -1
- package/dist/components/ui/combobox.client.d.ts +0 -31
- package/dist/components/ui/combobox.client.d.ts.map +0 -1
- package/dist/components/ui/combobox.client.js +0 -68
- package/dist/components/ui/combobox.client.js.map +0 -1
- package/dist/components/ui/command.d.ts +0 -49
- package/dist/components/ui/command.d.ts.map +0 -1
- package/dist/components/ui/command.js +0 -90
- package/dist/components/ui/command.js.map +0 -1
- package/dist/components/ui/context-menu.d.ts +0 -77
- package/dist/components/ui/context-menu.d.ts.map +0 -1
- package/dist/components/ui/context-menu.js +0 -127
- package/dist/components/ui/context-menu.js.map +0 -1
- package/dist/components/ui/dialog.client.d.ts +0 -45
- package/dist/components/ui/dialog.client.d.ts.map +0 -1
- package/dist/components/ui/dialog.client.js +0 -90
- package/dist/components/ui/dialog.client.js.map +0 -1
- package/dist/components/ui/drawer.client.d.ts +0 -45
- package/dist/components/ui/drawer.client.d.ts.map +0 -1
- package/dist/components/ui/drawer.client.js +0 -83
- package/dist/components/ui/drawer.client.js.map +0 -1
- package/dist/components/ui/dropdown-menu.d.ts +0 -78
- package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/components/ui/dropdown-menu.js +0 -128
- package/dist/components/ui/dropdown-menu.js.map +0 -1
- package/dist/components/ui/form.client.d.ts +0 -46
- package/dist/components/ui/form.client.d.ts.map +0 -1
- package/dist/components/ui/form.client.js +0 -93
- package/dist/components/ui/form.client.js.map +0 -1
- package/dist/components/ui/hover-card.client.d.ts +0 -20
- package/dist/components/ui/hover-card.client.d.ts.map +0 -1
- package/dist/components/ui/hover-card.client.js +0 -34
- package/dist/components/ui/hover-card.client.js.map +0 -1
- package/dist/components/ui/input.d.ts +0 -12
- package/dist/components/ui/input.d.ts.map +0 -1
- package/dist/components/ui/input.js +0 -17
- package/dist/components/ui/input.js.map +0 -1
- package/dist/components/ui/label.d.ts +0 -12
- package/dist/components/ui/label.d.ts.map +0 -1
- package/dist/components/ui/label.js +0 -20
- package/dist/components/ui/label.js.map +0 -1
- package/dist/components/ui/navigation-menu.d.ts +0 -47
- package/dist/components/ui/navigation-menu.d.ts.map +0 -1
- package/dist/components/ui/navigation-menu.js +0 -86
- package/dist/components/ui/navigation-menu.js.map +0 -1
- package/dist/components/ui/pagination.d.ts +0 -40
- package/dist/components/ui/pagination.d.ts.map +0 -1
- package/dist/components/ui/pagination.js +0 -81
- package/dist/components/ui/pagination.js.map +0 -1
- package/dist/components/ui/popover.d.ts +0 -23
- package/dist/components/ui/popover.d.ts.map +0 -1
- package/dist/components/ui/popover.js +0 -40
- package/dist/components/ui/popover.js.map +0 -1
- package/dist/components/ui/progress.client.d.ts +0 -13
- package/dist/components/ui/progress.client.d.ts.map +0 -1
- package/dist/components/ui/progress.client.js +0 -25
- package/dist/components/ui/progress.client.js.map +0 -1
- package/dist/components/ui/radio-group.d.ts +0 -16
- package/dist/components/ui/radio-group.d.ts.map +0 -1
- package/dist/components/ui/radio-group.js +0 -33
- package/dist/components/ui/radio-group.js.map +0 -1
- package/dist/components/ui/resizable.client.d.ts +0 -22
- package/dist/components/ui/resizable.client.d.ts.map +0 -1
- package/dist/components/ui/resizable.client.js +0 -38
- package/dist/components/ui/resizable.client.js.map +0 -1
- package/dist/components/ui/scroll-area.d.ts +0 -18
- package/dist/components/ui/scroll-area.d.ts.map +0 -1
- package/dist/components/ui/scroll-area.js +0 -41
- package/dist/components/ui/scroll-area.js.map +0 -1
- package/dist/components/ui/select.client.d.ts +0 -49
- package/dist/components/ui/select.client.d.ts.map +0 -1
- package/dist/components/ui/select.client.js +0 -100
- package/dist/components/ui/select.client.js.map +0 -1
- package/dist/components/ui/separator.d.ts +0 -14
- package/dist/components/ui/separator.d.ts.map +0 -1
- package/dist/components/ui/separator.js +0 -22
- package/dist/components/ui/separator.js.map +0 -1
- package/dist/components/ui/sheet.client.d.ts +0 -41
- package/dist/components/ui/sheet.client.d.ts.map +0 -1
- package/dist/components/ui/sheet.client.js +0 -84
- package/dist/components/ui/sheet.client.js.map +0 -1
- package/dist/components/ui/sidebar.client.d.ts +0 -168
- package/dist/components/ui/sidebar.client.d.ts.map +0 -1
- package/dist/components/ui/sidebar.client.js +0 -375
- package/dist/components/ui/sidebar.client.js.map +0 -1
- package/dist/components/ui/skeleton.d.ts +0 -10
- package/dist/components/ui/skeleton.d.ts.map +0 -1
- package/dist/components/ui/skeleton.js +0 -15
- package/dist/components/ui/skeleton.js.map +0 -1
- package/dist/components/ui/slider.d.ts +0 -16
- package/dist/components/ui/slider.d.ts.map +0 -1
- package/dist/components/ui/slider.js +0 -41
- package/dist/components/ui/slider.js.map +0 -1
- package/dist/components/ui/sonner.client.d.ts +0 -10
- package/dist/components/ui/sonner.client.d.ts.map +0 -1
- package/dist/components/ui/sonner.client.js +0 -26
- package/dist/components/ui/sonner.client.js.map +0 -1
- package/dist/components/ui/spinner.js +0 -63
- package/dist/components/ui/spinner.js.map +0 -1
- package/dist/components/ui/switch.d.ts +0 -12
- package/dist/components/ui/switch.d.ts.map +0 -1
- package/dist/components/ui/switch.js +0 -24
- package/dist/components/ui/switch.js.map +0 -1
- package/dist/components/ui/tabs.d.ts +0 -24
- package/dist/components/ui/tabs.d.ts.map +0 -1
- package/dist/components/ui/tabs.js +0 -41
- package/dist/components/ui/tabs.js.map +0 -1
- package/dist/components/ui/textarea.d.ts +0 -11
- package/dist/components/ui/textarea.d.ts.map +0 -1
- package/dist/components/ui/textarea.js +0 -16
- package/dist/components/ui/textarea.js.map +0 -1
- package/dist/components/ui/time-input.client.d.ts +0 -16
- package/dist/components/ui/time-input.client.d.ts.map +0 -1
- package/dist/components/ui/time-input.client.js +0 -53
- package/dist/components/ui/time-input.client.js.map +0 -1
- package/dist/components/ui/time-picker-input.client.d.ts +0 -15
- package/dist/components/ui/time-picker-input.client.d.ts.map +0 -1
- package/dist/components/ui/time-picker-input.client.js +0 -65
- package/dist/components/ui/time-picker-input.client.js.map +0 -1
- package/dist/components/ui/toggle-group.client.d.ts +0 -24
- package/dist/components/ui/toggle-group.client.d.ts.map +0 -1
- package/dist/components/ui/toggle-group.client.js +0 -48
- package/dist/components/ui/toggle-group.client.js.map +0 -1
- package/dist/components/ui/toggle.d.ts +0 -20
- package/dist/components/ui/toggle.d.ts.map +0 -1
- package/dist/components/ui/toggle.js +0 -42
- package/dist/components/ui/toggle.js.map +0 -1
- package/dist/components/ui/tooltip.client.d.ts +0 -24
- package/dist/components/ui/tooltip.client.d.ts.map +0 -1
- package/dist/components/ui/tooltip.client.js +0 -41
- package/dist/components/ui/tooltip.client.js.map +0 -1
- package/dist/components/ui/tree.client.d.ts +0 -43
- package/dist/components/ui/tree.client.d.ts.map +0 -1
- package/dist/components/ui/tree.client.js +0 -103
- package/dist/components/ui/tree.client.js.map +0 -1
- package/dist/components.d.ts +0 -39
- package/dist/components.js +0 -40
- package/dist/config/server.d.ts +0 -7
- package/dist/config/server.js +0 -8
- package/dist/config.d.ts +0 -7
- package/dist/config.js +0 -6
- package/dist/data-tables/client.d.ts +0 -21
- package/dist/data-tables/client.js +0 -22
- package/dist/data-tables/server.d.ts +0 -7
- package/dist/data-tables/server.js +0 -8
- package/dist/data-tables.d.ts +0 -13
- package/dist/data-tables.js +0 -13
- package/dist/inline-edit/client.d.ts +0 -13
- package/dist/inline-edit/client.js +0 -14
- package/dist/inline-edit.d.ts +0 -2
- package/dist/inline-edit.js +0 -3
- package/dist/lib/client.d.ts +0 -4
- package/dist/lib/client.js +0 -5
- package/dist/lib/config/constants.d.ts +0 -5
- package/dist/lib/config/constants.d.ts.map +0 -1
- package/dist/lib/config/constants.js +0 -6
- package/dist/lib/config/constants.js.map +0 -1
- package/dist/lib/hooks/use-action.d.ts +0 -18
- package/dist/lib/hooks/use-action.d.ts.map +0 -1
- package/dist/lib/hooks/use-action.js +0 -42
- package/dist/lib/hooks/use-action.js.map +0 -1
- package/dist/lib/hooks/use-indicator.d.ts +0 -32
- package/dist/lib/hooks/use-indicator.d.ts.map +0 -1
- package/dist/lib/hooks/use-indicator.js +0 -51
- package/dist/lib/hooks/use-indicator.js.map +0 -1
- package/dist/lib/hooks/use-mobile.client.d.ts +0 -7
- package/dist/lib/hooks/use-mobile.client.d.ts.map +0 -1
- package/dist/lib/hooks/use-mobile.client.js +0 -22
- package/dist/lib/hooks/use-mobile.client.js.map +0 -1
- package/dist/lib/types/config.d.ts +0 -12
- package/dist/lib/types/config.d.ts.map +0 -1
- package/dist/lib/utils/array-move.d.ts +0 -11
- package/dist/lib/utils/array-move.d.ts.map +0 -1
- package/dist/lib/utils/array-move.js +0 -13
- package/dist/lib/utils/array-move.js.map +0 -1
- package/dist/lib/utils/cn.d.ts +0 -7
- package/dist/lib/utils/cn.d.ts.map +0 -1
- package/dist/lib/utils/cn.js +0 -11
- package/dist/lib/utils/cn.js.map +0 -1
- package/dist/lib/utils/fonts.d.ts +0 -8
- package/dist/lib/utils/fonts.d.ts.map +0 -1
- package/dist/lib/utils/fonts.js +0 -12
- package/dist/lib/utils/fonts.js.map +0 -1
- package/dist/lib/utils/format.d.ts +0 -41
- package/dist/lib/utils/format.d.ts.map +0 -1
- package/dist/lib/utils/format.js +0 -96
- package/dist/lib/utils/format.js.map +0 -1
- package/dist/lib/utils/manifest.d.ts +0 -9
- package/dist/lib/utils/manifest.d.ts.map +0 -1
- package/dist/lib/utils/manifest.js +0 -36
- package/dist/lib/utils/manifest.js.map +0 -1
- package/dist/lib/utils/time-picker.d.ts +0 -6
- package/dist/lib/utils/time-picker.d.ts.map +0 -1
- package/dist/lib/utils/time-picker.js +0 -104
- package/dist/lib/utils/time-picker.js.map +0 -1
- package/dist/lib/utils/url.d.ts +0 -10
- package/dist/lib/utils/url.d.ts.map +0 -1
- package/dist/lib/utils/url.js +0 -15
- package/dist/lib/utils/url.js.map +0 -1
- package/dist/lib.d.ts +0 -9
- package/dist/lib.js +0 -9
- package/dist/modules/auth/components/allowed.client.d.ts +0 -21
- package/dist/modules/auth/components/allowed.client.d.ts.map +0 -1
- package/dist/modules/auth/components/allowed.client.js +0 -16
- package/dist/modules/auth/components/allowed.client.js.map +0 -1
- package/dist/modules/auth/components/auth-layout.server.d.ts +0 -10
- package/dist/modules/auth/components/auth-layout.server.d.ts.map +0 -1
- package/dist/modules/auth/components/auth-layout.server.js +0 -37
- package/dist/modules/auth/components/auth-layout.server.js.map +0 -1
- package/dist/modules/auth/components/auth-loading.d.ts +0 -7
- package/dist/modules/auth/components/auth-loading.d.ts.map +0 -1
- package/dist/modules/auth/components/auth-loading.js +0 -18
- package/dist/modules/auth/components/auth-loading.js.map +0 -1
- package/dist/modules/auth/components/forget-password-page.client.d.ts +0 -7
- package/dist/modules/auth/components/forget-password-page.client.d.ts.map +0 -1
- package/dist/modules/auth/components/forget-password-page.client.js +0 -73
- package/dist/modules/auth/components/forget-password-page.client.js.map +0 -1
- package/dist/modules/auth/components/guard.client.js +0 -16
- package/dist/modules/auth/components/guard.client.js.map +0 -1
- package/dist/modules/auth/components/login-page.client.d.ts +0 -7
- package/dist/modules/auth/components/login-page.client.d.ts.map +0 -1
- package/dist/modules/auth/components/login-page.client.js +0 -121
- package/dist/modules/auth/components/login-page.client.js.map +0 -1
- package/dist/modules/auth/components/reset-password-page.client.d.ts +0 -12
- package/dist/modules/auth/components/reset-password-page.client.d.ts.map +0 -1
- package/dist/modules/auth/components/reset-password-page.client.js +0 -97
- package/dist/modules/auth/components/reset-password-page.client.js.map +0 -1
- package/dist/modules/auth/components/update-password-command.d.ts +0 -20
- package/dist/modules/auth/components/update-password-command.d.ts.map +0 -1
- package/dist/modules/auth/components/update-password-command.js +0 -50
- package/dist/modules/auth/components/update-password-command.js.map +0 -1
- package/dist/modules/auth/db/schema.d.ts +0 -739
- package/dist/modules/auth/db/schema.d.ts.map +0 -1
- package/dist/modules/auth/db/schema.js +0 -60
- package/dist/modules/auth/db/schema.js.map +0 -1
- package/dist/modules/auth/handler/client.client.d.ts +0 -3806
- package/dist/modules/auth/handler/client.client.d.ts.map +0 -1
- package/dist/modules/auth/handler/client.client.js +0 -16
- package/dist/modules/auth/handler/client.client.js.map +0 -1
- package/dist/modules/auth/handler/proxy.server.d.ts +0 -13
- package/dist/modules/auth/handler/proxy.server.d.ts.map +0 -1
- package/dist/modules/auth/handler/proxy.server.js +0 -22
- package/dist/modules/auth/handler/proxy.server.js.map +0 -1
- package/dist/modules/auth/handler/route.server.d.ts +0 -17
- package/dist/modules/auth/handler/route.server.d.ts.map +0 -1
- package/dist/modules/auth/handler/route.server.js +0 -32
- package/dist/modules/auth/handler/route.server.js.map +0 -1
- package/dist/modules/auth/handler/server.server.js +0 -63
- package/dist/modules/auth/handler/server.server.js.map +0 -1
- package/dist/modules/auth/hooks/use-permission.d.ts +0 -26
- package/dist/modules/auth/hooks/use-permission.d.ts.map +0 -1
- package/dist/modules/auth/hooks/use-permission.js +0 -54
- package/dist/modules/auth/hooks/use-permission.js.map +0 -1
- package/dist/modules/auth/hooks/use-session.d.ts +0 -34
- package/dist/modules/auth/hooks/use-session.d.ts.map +0 -1
- package/dist/modules/auth/hooks/use-session.js +0 -21
- package/dist/modules/auth/hooks/use-session.js.map +0 -1
- package/dist/modules/auth/lib/helpers.server.d.ts +0 -84
- package/dist/modules/auth/lib/helpers.server.d.ts.map +0 -1
- package/dist/modules/auth/lib/helpers.server.js +0 -42
- package/dist/modules/auth/lib/helpers.server.js.map +0 -1
- package/dist/modules/auth/lib/permissions.d.ts +0 -19
- package/dist/modules/auth/lib/permissions.d.ts.map +0 -1
- package/dist/modules/auth/lib/permissions.js +0 -15
- package/dist/modules/auth/lib/permissions.js.map +0 -1
- package/dist/modules/auth/lib/utils.js +0 -21
- package/dist/modules/auth/lib/utils.js.map +0 -1
- package/dist/modules/auth/lib/validators.d.ts +0 -64
- package/dist/modules/auth/lib/validators.d.ts.map +0 -1
- package/dist/modules/auth/lib/validators.js +0 -56
- package/dist/modules/auth/lib/validators.js.map +0 -1
- package/dist/modules/commands/components/alert-dialog-command.client.d.ts +0 -93
- package/dist/modules/commands/components/alert-dialog-command.client.d.ts.map +0 -1
- package/dist/modules/commands/components/alert-dialog-command.client.js +0 -157
- package/dist/modules/commands/components/alert-dialog-command.client.js.map +0 -1
- package/dist/modules/commands/components/click-command.client.d.ts +0 -27
- package/dist/modules/commands/components/click-command.client.d.ts.map +0 -1
- package/dist/modules/commands/components/click-command.client.js +0 -66
- package/dist/modules/commands/components/click-command.client.js.map +0 -1
- package/dist/modules/commands/components/command-trigger.client.d.ts +0 -34
- package/dist/modules/commands/components/command-trigger.client.d.ts.map +0 -1
- package/dist/modules/commands/components/command-trigger.client.js +0 -51
- package/dist/modules/commands/components/command-trigger.client.js.map +0 -1
- package/dist/modules/commands/components/dialog-command.client.d.ts +0 -68
- package/dist/modules/commands/components/dialog-command.client.d.ts.map +0 -1
- package/dist/modules/commands/components/dialog-command.client.js +0 -131
- package/dist/modules/commands/components/dialog-command.client.js.map +0 -1
- package/dist/modules/commands/components/dropdown-command.client.d.ts +0 -60
- package/dist/modules/commands/components/dropdown-command.client.d.ts.map +0 -1
- package/dist/modules/commands/components/dropdown-command.client.js +0 -130
- package/dist/modules/commands/components/dropdown-command.client.js.map +0 -1
- package/dist/modules/commands/components/empty-command.client.d.ts +0 -19
- package/dist/modules/commands/components/empty-command.client.d.ts.map +0 -1
- package/dist/modules/commands/components/empty-command.client.js +0 -57
- package/dist/modules/commands/components/empty-command.client.js.map +0 -1
- package/dist/modules/commands/components/form-dialog-command.client.d.ts +0 -100
- package/dist/modules/commands/components/form-dialog-command.client.d.ts.map +0 -1
- package/dist/modules/commands/components/form-dialog-command.client.js +0 -184
- package/dist/modules/commands/components/form-dialog-command.client.js.map +0 -1
- package/dist/modules/commands/components/render-command.js +0 -16
- package/dist/modules/commands/components/render-command.js.map +0 -1
- package/dist/modules/commands/hooks/context.client.js +0 -33
- package/dist/modules/commands/hooks/context.client.js.map +0 -1
- package/dist/modules/commands/hooks/use-command-action.client.d.ts +0 -21
- package/dist/modules/commands/hooks/use-command-action.client.d.ts.map +0 -1
- package/dist/modules/commands/hooks/use-command-action.client.js +0 -69
- package/dist/modules/commands/hooks/use-command-action.client.js.map +0 -1
- package/dist/modules/commands/hooks/use-command-menu.client.d.ts +0 -16
- package/dist/modules/commands/hooks/use-command-menu.client.d.ts.map +0 -1
- package/dist/modules/commands/hooks/use-command-menu.client.js +0 -90
- package/dist/modules/commands/hooks/use-command-menu.client.js.map +0 -1
- package/dist/modules/commands/lib/definitions.d.ts +0 -54
- package/dist/modules/commands/lib/definitions.d.ts.map +0 -1
- package/dist/modules/commands/lib/factory.d.ts +0 -24
- package/dist/modules/commands/lib/factory.d.ts.map +0 -1
- package/dist/modules/commands/lib/factory.js +0 -8
- package/dist/modules/commands/lib/factory.js.map +0 -1
- package/dist/modules/commands/lib/schema.d.ts +0 -18
- package/dist/modules/commands/lib/schema.d.ts.map +0 -1
- package/dist/modules/commands/menus/context-menu.client.d.ts +0 -27
- package/dist/modules/commands/menus/context-menu.client.d.ts.map +0 -1
- package/dist/modules/commands/menus/context-menu.client.js +0 -61
- package/dist/modules/commands/menus/context-menu.client.js.map +0 -1
- package/dist/modules/commands/menus/data-table-menu.client.js +0 -47
- package/dist/modules/commands/menus/data-table-menu.client.js.map +0 -1
- package/dist/modules/commands/menus/dropdown-menu.client.d.ts +0 -19
- package/dist/modules/commands/menus/dropdown-menu.client.d.ts.map +0 -1
- package/dist/modules/commands/menus/dropdown-menu.client.js +0 -64
- package/dist/modules/commands/menus/dropdown-menu.client.js.map +0 -1
- package/dist/modules/commands/menus/inline-menu.client.d.ts +0 -20
- package/dist/modules/commands/menus/inline-menu.client.d.ts.map +0 -1
- package/dist/modules/commands/menus/inline-menu.client.js +0 -48
- package/dist/modules/commands/menus/inline-menu.client.js.map +0 -1
- package/dist/modules/commands/menus/responsive-menu.client.d.ts +0 -10
- package/dist/modules/commands/menus/responsive-menu.client.d.ts.map +0 -1
- package/dist/modules/commands/menus/responsive-menu.client.js +0 -24
- package/dist/modules/commands/menus/responsive-menu.client.js.map +0 -1
- package/dist/modules/commands/utils/archive-command.client.d.ts +0 -33
- package/dist/modules/commands/utils/archive-command.client.d.ts.map +0 -1
- package/dist/modules/commands/utils/archive-command.client.js +0 -39
- package/dist/modules/commands/utils/archive-command.client.js.map +0 -1
- package/dist/modules/commands/utils/delete-command.client.d.ts +0 -23
- package/dist/modules/commands/utils/delete-command.client.d.ts.map +0 -1
- package/dist/modules/commands/utils/delete-command.client.js +0 -28
- package/dist/modules/commands/utils/delete-command.client.js.map +0 -1
- package/dist/modules/commands/utils/send-mail-command.client.d.ts +0 -41
- package/dist/modules/commands/utils/send-mail-command.client.d.ts.map +0 -1
- package/dist/modules/commands/utils/send-mail-command.client.js +0 -119
- package/dist/modules/commands/utils/send-mail-command.client.js.map +0 -1
- package/dist/modules/config/db/create-client.js +0 -28
- package/dist/modules/config/db/create-client.js.map +0 -1
- package/dist/modules/config/db/helpers.d.ts +0 -15
- package/dist/modules/config/db/helpers.d.ts.map +0 -1
- package/dist/modules/config/db/helpers.js +0 -16
- package/dist/modules/config/db/helpers.js.map +0 -1
- package/dist/modules/config/db/types.d.ts +0 -5
- package/dist/modules/config/db/types.d.ts.map +0 -1
- package/dist/modules/config/lib/config.server.d.ts +0 -35
- package/dist/modules/config/lib/config.server.d.ts.map +0 -1
- package/dist/modules/config/lib/config.server.js +0 -11
- package/dist/modules/config/lib/config.server.js.map +0 -1
- package/dist/modules/config/lib/resolve.server.d.ts +0 -2067
- package/dist/modules/config/lib/resolve.server.d.ts.map +0 -1
- package/dist/modules/config/lib/resolve.server.js +0 -45
- package/dist/modules/config/lib/resolve.server.js.map +0 -1
- package/dist/modules/config/paths/helpers.d.ts +0 -11
- package/dist/modules/config/paths/helpers.d.ts.map +0 -1
- package/dist/modules/config/paths/helpers.js +0 -9
- package/dist/modules/config/paths/helpers.js.map +0 -1
- package/dist/modules/config/paths/types.d.ts +0 -33
- package/dist/modules/config/paths/types.d.ts.map +0 -1
- package/dist/modules/config/router/client.d.ts +0 -11
- package/dist/modules/config/router/client.d.ts.map +0 -1
- package/dist/modules/config/router/client.js +0 -25
- package/dist/modules/config/router/client.js.map +0 -1
- package/dist/modules/config/router/client.server.d.ts +0 -25
- package/dist/modules/config/router/client.server.d.ts.map +0 -1
- package/dist/modules/config/router/client.server.js +0 -31
- package/dist/modules/config/router/client.server.js.map +0 -1
- package/dist/modules/config/router/context.server.d.ts +0 -2094
- package/dist/modules/config/router/context.server.d.ts.map +0 -1
- package/dist/modules/config/router/context.server.js +0 -23
- package/dist/modules/config/router/context.server.js.map +0 -1
- package/dist/modules/config/router/helpers.js +0 -8
- package/dist/modules/config/router/helpers.js.map +0 -1
- package/dist/modules/config/router/init.server.d.ts +0 -2127
- package/dist/modules/config/router/init.server.d.ts.map +0 -1
- package/dist/modules/config/router/init.server.js +0 -53
- package/dist/modules/config/router/init.server.js.map +0 -1
- package/dist/modules/config/router/query-client.d.ts +0 -11
- package/dist/modules/config/router/query-client.d.ts.map +0 -1
- package/dist/modules/config/router/query-client.js +0 -51
- package/dist/modules/config/router/query-client.js.map +0 -1
- package/dist/modules/config/router/validators.d.ts +0 -14
- package/dist/modules/config/router/validators.d.ts.map +0 -1
- package/dist/modules/config/router/validators.js +0 -11
- package/dist/modules/config/router/validators.js.map +0 -1
- package/dist/modules/data-tables/components/cell/common.client.d.ts +0 -27
- package/dist/modules/data-tables/components/cell/common.client.d.ts.map +0 -1
- package/dist/modules/data-tables/components/cell/common.client.js +0 -36
- package/dist/modules/data-tables/components/cell/common.client.js.map +0 -1
- package/dist/modules/data-tables/components/cell/index.client.d.ts +0 -10
- package/dist/modules/data-tables/components/cell/index.client.d.ts.map +0 -1
- package/dist/modules/data-tables/components/cell/index.client.js +0 -25
- package/dist/modules/data-tables/components/cell/index.client.js.map +0 -1
- package/dist/modules/data-tables/components/cell/select.client.d.ts +0 -10
- package/dist/modules/data-tables/components/cell/select.client.d.ts.map +0 -1
- package/dist/modules/data-tables/components/cell/select.client.js +0 -37
- package/dist/modules/data-tables/components/cell/select.client.js.map +0 -1
- package/dist/modules/data-tables/components/column-header.d.ts +0 -16
- package/dist/modules/data-tables/components/column-header.d.ts.map +0 -1
- package/dist/modules/data-tables/components/column-header.js +0 -47
- package/dist/modules/data-tables/components/column-header.js.map +0 -1
- package/dist/modules/data-tables/components/filters/combobox.client.d.ts +0 -28
- package/dist/modules/data-tables/components/filters/combobox.client.d.ts.map +0 -1
- package/dist/modules/data-tables/components/filters/combobox.client.js +0 -98
- package/dist/modules/data-tables/components/filters/combobox.client.js.map +0 -1
- package/dist/modules/data-tables/components/filters/slider.client.d.ts +0 -23
- package/dist/modules/data-tables/components/filters/slider.client.d.ts.map +0 -1
- package/dist/modules/data-tables/components/filters/slider.client.js +0 -130
- package/dist/modules/data-tables/components/filters/slider.client.js.map +0 -1
- package/dist/modules/data-tables/components/footer.js +0 -30
- package/dist/modules/data-tables/components/footer.js.map +0 -1
- package/dist/modules/data-tables/components/header.d.ts +0 -41
- package/dist/modules/data-tables/components/header.d.ts.map +0 -1
- package/dist/modules/data-tables/components/header.js +0 -44
- package/dist/modules/data-tables/components/header.js.map +0 -1
- package/dist/modules/data-tables/components/layout.d.ts +0 -12
- package/dist/modules/data-tables/components/layout.d.ts.map +0 -1
- package/dist/modules/data-tables/components/layout.js +0 -15
- package/dist/modules/data-tables/components/layout.js.map +0 -1
- package/dist/modules/data-tables/components/search-input.client.d.ts +0 -7
- package/dist/modules/data-tables/components/search-input.client.d.ts.map +0 -1
- package/dist/modules/data-tables/components/search-input.client.js +0 -21
- package/dist/modules/data-tables/components/search-input.client.js.map +0 -1
- package/dist/modules/data-tables/components/skeleton.d.ts +0 -7
- package/dist/modules/data-tables/components/skeleton.d.ts.map +0 -1
- package/dist/modules/data-tables/components/skeleton.js +0 -22
- package/dist/modules/data-tables/components/skeleton.js.map +0 -1
- package/dist/modules/data-tables/components/table.d.ts +0 -34
- package/dist/modules/data-tables/components/table.d.ts.map +0 -1
- package/dist/modules/data-tables/components/table.js +0 -58
- package/dist/modules/data-tables/components/table.js.map +0 -1
- package/dist/modules/data-tables/components/toolbar.d.ts +0 -23
- package/dist/modules/data-tables/components/toolbar.d.ts.map +0 -1
- package/dist/modules/data-tables/components/toolbar.js +0 -22
- package/dist/modules/data-tables/components/toolbar.js.map +0 -1
- package/dist/modules/data-tables/hooks/use-context.client.d.ts +0 -56
- package/dist/modules/data-tables/hooks/use-context.client.d.ts.map +0 -1
- package/dist/modules/data-tables/hooks/use-context.client.js +0 -36
- package/dist/modules/data-tables/hooks/use-context.client.js.map +0 -1
- package/dist/modules/data-tables/hooks/use-search.client.js +0 -37
- package/dist/modules/data-tables/hooks/use-search.client.js.map +0 -1
- package/dist/modules/data-tables/hooks/use-selection.client.js +0 -40
- package/dist/modules/data-tables/hooks/use-selection.client.js.map +0 -1
- package/dist/modules/data-tables/hooks/use-table.client.d.ts +0 -12
- package/dist/modules/data-tables/hooks/use-table.client.d.ts.map +0 -1
- package/dist/modules/data-tables/hooks/use-table.client.js +0 -56
- package/dist/modules/data-tables/hooks/use-table.client.js.map +0 -1
- package/dist/modules/data-tables/lib/converters/cursor.d.ts +0 -19
- package/dist/modules/data-tables/lib/converters/cursor.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/converters/cursor.js +0 -16
- package/dist/modules/data-tables/lib/converters/cursor.js.map +0 -1
- package/dist/modules/data-tables/lib/converters/dto.d.ts +0 -52
- package/dist/modules/data-tables/lib/converters/dto.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/converters/dto.js +0 -25
- package/dist/modules/data-tables/lib/converters/dto.js.map +0 -1
- package/dist/modules/data-tables/lib/converters/filter.d.ts +0 -10
- package/dist/modules/data-tables/lib/converters/filter.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/converters/filter.js +0 -14
- package/dist/modules/data-tables/lib/converters/filter.js.map +0 -1
- package/dist/modules/data-tables/lib/converters/search.d.ts +0 -17
- package/dist/modules/data-tables/lib/converters/search.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/converters/search.js +0 -16
- package/dist/modules/data-tables/lib/converters/search.js.map +0 -1
- package/dist/modules/data-tables/lib/converters/sorting.d.ts +0 -15
- package/dist/modules/data-tables/lib/converters/sorting.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/converters/sorting.js +0 -20
- package/dist/modules/data-tables/lib/converters/sorting.js.map +0 -1
- package/dist/modules/data-tables/lib/filters/config.d.ts +0 -11
- package/dist/modules/data-tables/lib/filters/config.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/filters/config.js +0 -6
- package/dist/modules/data-tables/lib/filters/config.js.map +0 -1
- package/dist/modules/data-tables/lib/filters/parsers.d.ts +0 -32
- package/dist/modules/data-tables/lib/filters/parsers.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/filters/parsers.js +0 -29
- package/dist/modules/data-tables/lib/filters/parsers.js.map +0 -1
- package/dist/modules/data-tables/lib/filters/resolvers.d.ts +0 -24
- package/dist/modules/data-tables/lib/filters/resolvers.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/filters/resolvers.js +0 -49
- package/dist/modules/data-tables/lib/filters/resolvers.js.map +0 -1
- package/dist/modules/data-tables/lib/helpers/create-column.js +0 -11
- package/dist/modules/data-tables/lib/helpers/create-column.js.map +0 -1
- package/dist/modules/data-tables/lib/search-params.d.ts +0 -22
- package/dist/modules/data-tables/lib/search-params.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/search-params.js +0 -17
- package/dist/modules/data-tables/lib/search-params.js.map +0 -1
- package/dist/modules/data-tables/lib/types.d.ts +0 -57
- package/dist/modules/data-tables/lib/types.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/validators.d.ts +0 -21
- package/dist/modules/data-tables/lib/validators.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/validators.js +0 -17
- package/dist/modules/data-tables/lib/validators.js.map +0 -1
- package/dist/modules/data-tables/server/get-data.server.d.ts +0 -30
- package/dist/modules/data-tables/server/get-data.server.d.ts.map +0 -1
- package/dist/modules/data-tables/server/get-data.server.js +0 -48
- package/dist/modules/data-tables/server/get-data.server.js.map +0 -1
- package/dist/modules/data-tables/strategies/helpers/sorting.js +0 -38
- package/dist/modules/data-tables/strategies/helpers/sorting.js.map +0 -1
- package/dist/modules/data-tables/strategies/infinite/components.js +0 -52
- package/dist/modules/data-tables/strategies/infinite/components.js.map +0 -1
- package/dist/modules/data-tables/strategies/infinite/strategy.d.ts +0 -21
- package/dist/modules/data-tables/strategies/infinite/strategy.d.ts.map +0 -1
- package/dist/modules/data-tables/strategies/infinite/strategy.js +0 -49
- package/dist/modules/data-tables/strategies/infinite/strategy.js.map +0 -1
- package/dist/modules/data-tables/strategies/pagination/components.js +0 -133
- package/dist/modules/data-tables/strategies/pagination/components.js.map +0 -1
- package/dist/modules/data-tables/strategies/pagination/strategy.d.ts +0 -13
- package/dist/modules/data-tables/strategies/pagination/strategy.d.ts.map +0 -1
- package/dist/modules/data-tables/strategies/pagination/strategy.js +0 -47
- package/dist/modules/data-tables/strategies/pagination/strategy.js.map +0 -1
- package/dist/modules/data-tables/tables/data-table/components/body.js +0 -34
- package/dist/modules/data-tables/tables/data-table/components/body.js.map +0 -1
- package/dist/modules/data-tables/tables/data-table/components/header.js +0 -14
- package/dist/modules/data-tables/tables/data-table/components/header.js.map +0 -1
- package/dist/modules/data-tables/tables/data-table/components/row.js +0 -25
- package/dist/modules/data-tables/tables/data-table/components/row.js.map +0 -1
- package/dist/modules/data-tables/tables/data-table/components/table.d.ts +0 -11
- package/dist/modules/data-tables/tables/data-table/components/table.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/data-table/components/table.js +0 -38
- package/dist/modules/data-tables/tables/data-table/components/table.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/body.js +0 -71
- package/dist/modules/data-tables/tables/inline-table/components/body.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.ts +0 -12
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.js +0 -16
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.ts +0 -10
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.js +0 -40
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/header.js +0 -11
- package/dist/modules/data-tables/tables/inline-table/components/header.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.ts +0 -29
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.js +0 -53
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.ts +0 -27
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.js +0 -30
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.ts +0 -39
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.js +0 -72
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.ts +0 -12
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.js +0 -16
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.ts +0 -33
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.js +0 -53
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/row.client.js +0 -38
- package/dist/modules/data-tables/tables/inline-table/components/row.client.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/table.d.ts +0 -16
- package/dist/modules/data-tables/tables/inline-table/components/table.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/table.js +0 -47
- package/dist/modules/data-tables/tables/inline-table/components/table.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.ts +0 -47
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.js +0 -59
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/use-hotkeys.client.js +0 -27
- package/dist/modules/data-tables/tables/inline-table/hooks/use-hotkeys.client.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.d.ts +0 -15
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.js +0 -53
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.js.map +0 -1
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.ts +0 -17
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/combobox-dropdown.client.js +0 -26
- package/dist/modules/inline-edit/components/combobox-dropdown.client.js.map +0 -1
- package/dist/modules/inline-edit/components/combobox.client.d.ts +0 -15
- package/dist/modules/inline-edit/components/combobox.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/combobox.client.js +0 -28
- package/dist/modules/inline-edit/components/combobox.client.js.map +0 -1
- package/dist/modules/inline-edit/components/date-input.client.d.ts +0 -14
- package/dist/modules/inline-edit/components/date-input.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/date-input.client.js +0 -79
- package/dist/modules/inline-edit/components/date-input.client.js.map +0 -1
- package/dist/modules/inline-edit/components/date-picker.client.d.ts +0 -16
- package/dist/modules/inline-edit/components/date-picker.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/date-picker.client.js +0 -51
- package/dist/modules/inline-edit/components/date-picker.client.js.map +0 -1
- package/dist/modules/inline-edit/components/editor.client.d.ts +0 -16
- package/dist/modules/inline-edit/components/editor.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/editor.client.js +0 -35
- package/dist/modules/inline-edit/components/editor.client.js.map +0 -1
- package/dist/modules/inline-edit/components/input-toggle.client.d.ts +0 -17
- package/dist/modules/inline-edit/components/input-toggle.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/input-toggle.client.js +0 -47
- package/dist/modules/inline-edit/components/input-toggle.client.js.map +0 -1
- package/dist/modules/inline-edit/components/input.client.d.ts +0 -30
- package/dist/modules/inline-edit/components/input.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/input.client.js +0 -49
- package/dist/modules/inline-edit/components/input.client.js.map +0 -1
- package/dist/modules/inline-edit/components/richtext.client.d.ts +0 -14
- package/dist/modules/inline-edit/components/richtext.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/richtext.client.js +0 -31
- package/dist/modules/inline-edit/components/richtext.client.js.map +0 -1
- package/dist/modules/inline-edit/components/select.client.d.ts +0 -22
- package/dist/modules/inline-edit/components/select.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/select.client.js +0 -39
- package/dist/modules/inline-edit/components/select.client.js.map +0 -1
- package/dist/modules/inline-edit/components/switch.client.d.ts +0 -14
- package/dist/modules/inline-edit/components/switch.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/switch.client.js +0 -27
- package/dist/modules/inline-edit/components/switch.client.js.map +0 -1
- package/dist/modules/inline-edit/components/toggle.client.d.ts +0 -16
- package/dist/modules/inline-edit/components/toggle.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/toggle.client.js +0 -34
- package/dist/modules/inline-edit/components/toggle.client.js.map +0 -1
- package/dist/modules/inline-edit/hooks/context.client.d.ts +0 -28
- package/dist/modules/inline-edit/hooks/context.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/hooks/context.client.js +0 -29
- package/dist/modules/inline-edit/hooks/context.client.js.map +0 -1
- package/dist/modules/inline-edit/hooks/use-inline.client.d.ts +0 -16
- package/dist/modules/inline-edit/hooks/use-inline.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/hooks/use-inline.client.js +0 -57
- package/dist/modules/inline-edit/hooks/use-inline.client.js.map +0 -1
- package/dist/modules/inline-edit/lib/validators.d.ts +0 -58
- package/dist/modules/inline-edit/lib/validators.d.ts.map +0 -1
- package/dist/modules/inline-edit/lib/validators.js +0 -35
- package/dist/modules/inline-edit/lib/validators.js.map +0 -1
- package/dist/modules/uploads/components/button.client.d.ts +0 -12
- package/dist/modules/uploads/components/button.client.d.ts.map +0 -1
- package/dist/modules/uploads/components/button.client.js +0 -35
- package/dist/modules/uploads/components/button.client.js.map +0 -1
- package/dist/modules/uploads/components/images/grid.client.d.ts +0 -11
- package/dist/modules/uploads/components/images/grid.client.d.ts.map +0 -1
- package/dist/modules/uploads/components/images/grid.client.js +0 -120
- package/dist/modules/uploads/components/images/grid.client.js.map +0 -1
- package/dist/modules/uploads/components/images/input.client.d.ts +0 -16
- package/dist/modules/uploads/components/images/input.client.d.ts.map +0 -1
- package/dist/modules/uploads/components/images/input.client.js +0 -28
- package/dist/modules/uploads/components/images/input.client.js.map +0 -1
- package/dist/modules/uploads/components/preview-dialog.client.d.ts +0 -16
- package/dist/modules/uploads/components/preview-dialog.client.d.ts.map +0 -1
- package/dist/modules/uploads/components/preview-dialog.client.js +0 -22
- package/dist/modules/uploads/components/preview-dialog.client.js.map +0 -1
- package/dist/modules/uploads/components/zone.client.d.ts +0 -21
- package/dist/modules/uploads/components/zone.client.d.ts.map +0 -1
- package/dist/modules/uploads/components/zone.client.js +0 -39
- package/dist/modules/uploads/components/zone.client.js.map +0 -1
- package/dist/modules/uploads/hooks/use-upload-image.client.d.ts +0 -33
- package/dist/modules/uploads/hooks/use-upload-image.client.d.ts.map +0 -1
- package/dist/modules/uploads/hooks/use-upload-image.client.js +0 -101
- package/dist/modules/uploads/hooks/use-upload-image.client.js.map +0 -1
- package/dist/modules/uploads/hooks/use-upload-zone.client.d.ts +0 -39
- package/dist/modules/uploads/hooks/use-upload-zone.client.d.ts.map +0 -1
- package/dist/modules/uploads/hooks/use-upload-zone.client.js +0 -20
- package/dist/modules/uploads/hooks/use-upload-zone.client.js.map +0 -1
- package/dist/modules/uploads/lib/constants.d.ts +0 -9
- package/dist/modules/uploads/lib/constants.d.ts.map +0 -1
- package/dist/modules/uploads/lib/constants.js +0 -17
- package/dist/modules/uploads/lib/constants.js.map +0 -1
- package/dist/modules/uploads/lib/filters.d.ts +0 -10
- package/dist/modules/uploads/lib/filters.d.ts.map +0 -1
- package/dist/modules/uploads/lib/filters.js +0 -10
- package/dist/modules/uploads/lib/filters.js.map +0 -1
- package/dist/modules/uploads/lib/helpers.d.ts +0 -32
- package/dist/modules/uploads/lib/helpers.d.ts.map +0 -1
- package/dist/modules/uploads/lib/helpers.js +0 -73
- package/dist/modules/uploads/lib/helpers.js.map +0 -1
- package/dist/modules/uploads/lib/proxy.server.d.ts +0 -46
- package/dist/modules/uploads/lib/proxy.server.d.ts.map +0 -1
- package/dist/modules/uploads/lib/proxy.server.js +0 -96
- package/dist/modules/uploads/lib/proxy.server.js.map +0 -1
- package/dist/modules/uploads/lib/route.server.d.ts +0 -43
- package/dist/modules/uploads/lib/route.server.d.ts.map +0 -1
- package/dist/modules/uploads/lib/route.server.js +0 -72
- package/dist/modules/uploads/lib/route.server.js.map +0 -1
- package/dist/modules/uploads/lib/router.server.d.ts +0 -12765
- package/dist/modules/uploads/lib/router.server.d.ts.map +0 -1
- package/dist/modules/uploads/lib/router.server.js +0 -177
- package/dist/modules/uploads/lib/router.server.js.map +0 -1
- package/dist/modules/uploads/lib/schema.d.ts +0 -815
- package/dist/modules/uploads/lib/schema.d.ts.map +0 -1
- package/dist/modules/uploads/lib/schema.js +0 -66
- package/dist/modules/uploads/lib/schema.js.map +0 -1
- package/dist/modules/uploads/lib/validators.d.ts +0 -939
- package/dist/modules/uploads/lib/validators.d.ts.map +0 -1
- package/dist/modules/uploads/lib/validators.js +0 -25
- package/dist/modules/uploads/lib/validators.js.map +0 -1
- package/dist/uploads/client.d.ts +0 -8
- package/dist/uploads/client.js +0 -9
- package/dist/uploads/server.d.ts +0 -4
- package/dist/uploads/server.js +0 -5
- package/dist/uploads.d.ts +0 -6
- package/dist/uploads.js +0 -7
- package/src/components/editor/components/fixed-menu.client.tsx +0 -143
- package/src/components/editor/context.client.tsx +0 -116
- package/src/components/editor/index.client.tsx +0 -13
- package/src/components/editor/preview.client.tsx +0 -13
- package/src/components/ui/tree.client.tsx +0 -173
- package/src/modules/auth/handler/server.server.ts +0 -87
- package/src/modules/commands/hooks/use-command-action.client.tsx +0 -95
- package/src/modules/config/lib/config.server.ts +0 -39
- package/src/modules/config/lib/resolve.server.ts +0 -75
- package/src/modules/config/lib/router.server.ts +0 -64
- package/src/modules/config/router/client.server.tsx +0 -57
- package/src/modules/config/router/client.tsx +0 -31
- package/src/modules/config/router/context.server.ts +0 -29
- package/src/modules/config/router/init.server.ts +0 -77
- package/src/modules/inline-edit/components/richtext.client.tsx +0 -36
- package/src/modules/uploads/components/button.client.tsx +0 -29
- package/src/modules/uploads/components/images/grid.client.tsx +0 -162
- package/src/modules/uploads/components/images/input.client.tsx +0 -34
- package/src/modules/uploads/components/preview-dialog.client.tsx +0 -21
- package/src/modules/uploads/components/zone.client.tsx +0 -56
- package/src/modules/uploads/entry.client.ts +0 -14
- package/src/modules/uploads/entry.server.ts +0 -6
- package/src/modules/uploads/entry.ts +0 -5
- package/src/modules/uploads/hooks/use-upload-image.client.tsx +0 -131
- package/src/modules/uploads/hooks/use-upload-zone.client.ts +0 -44
- package/src/modules/uploads/lib/constants.ts +0 -10
- package/src/modules/uploads/lib/filters.ts +0 -7
- package/src/modules/uploads/lib/helpers.ts +0 -66
- package/src/modules/uploads/lib/proxy.server.ts +0 -131
- package/src/modules/uploads/lib/route.server.ts +0 -95
- package/src/modules/uploads/lib/router.server.ts +0 -340
- package/src/modules/uploads/lib/schema.ts +0 -82
- package/src/modules/uploads/lib/validators.ts +0 -47
- /package/dist/commands/{server.d.ts → server.d.mts} +0 -0
- /package/dist/commands/{server.js → server.mjs} +0 -0
- /package/dist/config/{client.d.ts → client.d.mts} +0 -0
- /package/dist/config/{client.js → client.mjs} +0 -0
- /package/dist/inline-edit/{server.d.ts → server.d.mts} +0 -0
- /package/dist/inline-edit/{server.js → server.mjs} +0 -0
- /package/dist/lib/{server.d.ts → server.d.mts} +0 -0
- /package/dist/lib/{server.js → server.mjs} +0 -0
- /package/dist/modules/{config/router/error.server.d.ts → router/lib/error.server.d.mts} +0 -0
- /package/dist/modules/{config/router/error.server.js → router/lib/error.server.mjs} +0 -0
- /package/src/components/editor/{utils.ts → lib/utils.ts} +0 -0
- /package/src/modules/{config/router → router/lib}/error.server.ts +0 -0
- /package/src/modules/{config/router → router/lib}/helpers.ts +0 -0
- /package/src/modules/{config/router → router/lib}/query-client.ts +0 -0
- /package/src/modules/{config/router → router/lib}/validators.ts +0 -0
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import { Button } from "./button.js";
|
|
2
|
-
import { Input } from "./input.js";
|
|
3
|
-
import { Separator } from "./separator.js";
|
|
4
|
-
import { TooltipContent } from "./tooltip.client.js";
|
|
5
|
-
import * as react_jsx_runtime200 from "react/jsx-runtime";
|
|
6
|
-
import { VariantProps } from "class-variance-authority";
|
|
7
|
-
import * as React$1 from "react";
|
|
8
|
-
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
9
|
-
|
|
10
|
-
//#region src/components/ui/sidebar.client.d.ts
|
|
11
|
-
type SidebarContext = {
|
|
12
|
-
state: "expanded" | "collapsed";
|
|
13
|
-
open: boolean;
|
|
14
|
-
setOpen: (open: boolean) => void;
|
|
15
|
-
openMobile: boolean;
|
|
16
|
-
setOpenMobile: (open: boolean) => void;
|
|
17
|
-
isMobile: boolean | undefined;
|
|
18
|
-
toggleSidebar: () => void;
|
|
19
|
-
};
|
|
20
|
-
declare const SidebarContext: React$1.Context<SidebarContext | null>;
|
|
21
|
-
declare function useSidebar(): SidebarContext;
|
|
22
|
-
declare function SidebarProvider({
|
|
23
|
-
defaultOpen,
|
|
24
|
-
open: openProp,
|
|
25
|
-
onOpenChange: setOpenProp,
|
|
26
|
-
className,
|
|
27
|
-
style,
|
|
28
|
-
children,
|
|
29
|
-
...props
|
|
30
|
-
}: React$1.ComponentProps<"div"> & {
|
|
31
|
-
defaultOpen?: boolean;
|
|
32
|
-
open?: boolean;
|
|
33
|
-
onOpenChange?: (open: boolean) => void;
|
|
34
|
-
}): react_jsx_runtime200.JSX.Element;
|
|
35
|
-
declare function Sidebar({
|
|
36
|
-
side,
|
|
37
|
-
variant,
|
|
38
|
-
collapsible,
|
|
39
|
-
className,
|
|
40
|
-
children,
|
|
41
|
-
...props
|
|
42
|
-
}: React$1.ComponentProps<"div"> & {
|
|
43
|
-
side?: "left" | "right";
|
|
44
|
-
variant?: "sidebar" | "floating" | "inset";
|
|
45
|
-
collapsible?: "offcanvas" | "icon" | "none";
|
|
46
|
-
}): react_jsx_runtime200.JSX.Element;
|
|
47
|
-
declare function SidebarTrigger({
|
|
48
|
-
className,
|
|
49
|
-
onClick,
|
|
50
|
-
...props
|
|
51
|
-
}: React$1.ComponentProps<typeof Button>): react_jsx_runtime200.JSX.Element;
|
|
52
|
-
declare function SidebarRail({
|
|
53
|
-
className,
|
|
54
|
-
...props
|
|
55
|
-
}: React$1.ComponentProps<"button">): react_jsx_runtime200.JSX.Element;
|
|
56
|
-
declare function SidebarInset({
|
|
57
|
-
className,
|
|
58
|
-
...props
|
|
59
|
-
}: React$1.ComponentProps<"main">): react_jsx_runtime200.JSX.Element;
|
|
60
|
-
declare function SidebarInput({
|
|
61
|
-
className,
|
|
62
|
-
...props
|
|
63
|
-
}: React$1.ComponentProps<typeof Input>): react_jsx_runtime200.JSX.Element;
|
|
64
|
-
declare function SidebarHeader({
|
|
65
|
-
className,
|
|
66
|
-
...props
|
|
67
|
-
}: React$1.ComponentProps<"div">): react_jsx_runtime200.JSX.Element;
|
|
68
|
-
declare function SidebarFooter({
|
|
69
|
-
className,
|
|
70
|
-
...props
|
|
71
|
-
}: React$1.ComponentProps<"div">): react_jsx_runtime200.JSX.Element;
|
|
72
|
-
declare function SidebarSeparator({
|
|
73
|
-
className,
|
|
74
|
-
...props
|
|
75
|
-
}: React$1.ComponentProps<typeof Separator>): react_jsx_runtime200.JSX.Element;
|
|
76
|
-
declare function SidebarContent({
|
|
77
|
-
className,
|
|
78
|
-
...props
|
|
79
|
-
}: React$1.ComponentProps<"div">): react_jsx_runtime200.JSX.Element;
|
|
80
|
-
declare function SidebarGroup({
|
|
81
|
-
className,
|
|
82
|
-
...props
|
|
83
|
-
}: React$1.ComponentProps<"div">): react_jsx_runtime200.JSX.Element;
|
|
84
|
-
declare function SidebarGroupLabel({
|
|
85
|
-
className,
|
|
86
|
-
asChild,
|
|
87
|
-
...props
|
|
88
|
-
}: React$1.ComponentProps<"div"> & {
|
|
89
|
-
asChild?: boolean;
|
|
90
|
-
}): react_jsx_runtime200.JSX.Element;
|
|
91
|
-
declare function SidebarGroupAction({
|
|
92
|
-
className,
|
|
93
|
-
asChild,
|
|
94
|
-
...props
|
|
95
|
-
}: React$1.ComponentProps<"button"> & {
|
|
96
|
-
asChild?: boolean;
|
|
97
|
-
}): react_jsx_runtime200.JSX.Element;
|
|
98
|
-
declare function SidebarGroupContent({
|
|
99
|
-
className,
|
|
100
|
-
...props
|
|
101
|
-
}: React$1.ComponentProps<"div">): react_jsx_runtime200.JSX.Element;
|
|
102
|
-
declare function SidebarMenu({
|
|
103
|
-
className,
|
|
104
|
-
...props
|
|
105
|
-
}: React$1.ComponentProps<"ul">): react_jsx_runtime200.JSX.Element;
|
|
106
|
-
declare function SidebarMenuItem({
|
|
107
|
-
className,
|
|
108
|
-
...props
|
|
109
|
-
}: React$1.ComponentProps<"li">): react_jsx_runtime200.JSX.Element;
|
|
110
|
-
declare const sidebarMenuButtonVariants: (props?: ({
|
|
111
|
-
variant?: "default" | "outline" | null | undefined;
|
|
112
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
113
|
-
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
114
|
-
declare function SidebarMenuButton({
|
|
115
|
-
asChild,
|
|
116
|
-
isActive,
|
|
117
|
-
variant,
|
|
118
|
-
size,
|
|
119
|
-
tooltip,
|
|
120
|
-
className,
|
|
121
|
-
...props
|
|
122
|
-
}: React$1.ComponentProps<"button"> & {
|
|
123
|
-
asChild?: boolean;
|
|
124
|
-
isActive?: boolean;
|
|
125
|
-
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
126
|
-
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime200.JSX.Element;
|
|
127
|
-
declare function SidebarMenuAction({
|
|
128
|
-
className,
|
|
129
|
-
asChild,
|
|
130
|
-
showOnHover,
|
|
131
|
-
...props
|
|
132
|
-
}: React$1.ComponentProps<"button"> & {
|
|
133
|
-
asChild?: boolean;
|
|
134
|
-
showOnHover?: boolean;
|
|
135
|
-
}): react_jsx_runtime200.JSX.Element;
|
|
136
|
-
declare function SidebarMenuBadge({
|
|
137
|
-
className,
|
|
138
|
-
...props
|
|
139
|
-
}: React$1.ComponentProps<"div">): react_jsx_runtime200.JSX.Element;
|
|
140
|
-
declare function SidebarMenuSkeleton({
|
|
141
|
-
className,
|
|
142
|
-
showIcon,
|
|
143
|
-
...props
|
|
144
|
-
}: React$1.ComponentProps<"div"> & {
|
|
145
|
-
showIcon?: boolean;
|
|
146
|
-
}): react_jsx_runtime200.JSX.Element;
|
|
147
|
-
declare function SidebarMenuSub({
|
|
148
|
-
className,
|
|
149
|
-
...props
|
|
150
|
-
}: React$1.ComponentProps<"ul">): react_jsx_runtime200.JSX.Element;
|
|
151
|
-
declare function SidebarMenuSubItem({
|
|
152
|
-
className,
|
|
153
|
-
...props
|
|
154
|
-
}: React$1.ComponentProps<"li">): react_jsx_runtime200.JSX.Element;
|
|
155
|
-
declare function SidebarMenuSubButton({
|
|
156
|
-
asChild,
|
|
157
|
-
size,
|
|
158
|
-
isActive,
|
|
159
|
-
className,
|
|
160
|
-
...props
|
|
161
|
-
}: React$1.ComponentProps<"a"> & {
|
|
162
|
-
asChild?: boolean;
|
|
163
|
-
size?: "sm" | "md";
|
|
164
|
-
isActive?: boolean;
|
|
165
|
-
}): react_jsx_runtime200.JSX.Element;
|
|
166
|
-
//#endregion
|
|
167
|
-
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar };
|
|
168
|
-
//# sourceMappingURL=sidebar.client.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.client.d.ts","names":[],"sources":["../../../src/components/ui/sidebar.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;KAkCK,cAAA;;;;EAAA,UAAA,EAAA,OAAc;EAUb,aAAA,EAAA,CAAA,IAAiE,EAAA,OAAA,EAAA,GAAA,IAAA;EAAA,QAAA,EAAA,OAAA,GAAA,SAAA;eAAnD,EAAA,GAAA,GAAA,IAAA;;cAAd,cAAc,EAAA,OAAA,CAAA,OAAA,CAAA,cAAA,GAAA,IAAA,CAAA;AAAA,iBAEX,UAAA,CAAA,CAAU,EAAA,cAAA;AAAA,iBASV,eAAA,CAAe;EAAA,WAAA;EAAA,IAAA,EAEhB,QAFgB;EAAA,YAAA,EAGR,WAHQ;EAAA,SAAA;EAAA,KAAA;EAAA,QAAA;EAAA,GAAA;CAAA,EAQrB,OAAA,CAAM,cARe,CAAA,KAAA,CAAA,GAAA;EAAA,WAAA,CAAA,EAAA,OAAA;MACtB,CAAA,EAAA,OAAA;cACM,CAAA,EAAA,CAAA,IAAA,EAAA,OAAA,EAAA,GAAA,IAAA;IAUP,oBAAA,CAAA,GAAA,CAAA,OATe;iBA4FP,OAAA,CA3FP;EAAA,IAAA;EAAA,OAAA;EAAA,WAAA;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;CAAA,EAkGC,OAAA,CAAM,cAlGP,CAAA,KAAA,CAAA,GAAA;MACA,CAAA,EAAA,MAAA,GAAA,OAAA;SACA,CAAA,EAAA,SAAA,GAAA,UAAA,GAAA,OAAA;aAEO,CAAA,EAAA,WAAA,GAAA,MAAA,GAAA,MAAA;IAkGR,oBAAA,CAAA,GAAA,CAAA,OA9FA;iBAsLQ,cAAA,CAtLR;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EAsLyD,OAAA,CAAM,cAtL/D,CAAA,OAsLqF,MAtLrF,CAAA,CAAA,EAsL4F,oBAAA,CAAA,GAAA,CAAA,OAtL5F;AAAA,iBA4MQ,WAAA,CAzHO;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyH8B,OAAA,CAAM,cAzHpC,CAAA,QAAA,CAAA,CAAA,EAyH4D,oBAAA,CAAA,GAAA,CAAA,OAzH5D;iBAkJP,YAAA,CAlJO;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAkJ+B,OAAA,CAAM,cAlJrC,CAAA,MAAA,CAAA,CAAA,EAkJ2D,oBAAA,CAAA,GAAA,CAAA,OAlJ3D;iBAgKP,YAAA,CA/JP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA+J6C,OAAA,CAAM,cA/JnD,CAAA,OA+JyE,KA/JzE,CAAA,CAAA,EA+J+E,oBAAA,CAAA,GAAA,CAAA,OA/J/E;iBA0KO,aAAA,CAzKP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyK8C,OAAA,CAAM,cAzKpD,CAAA,KAAA,CAAA,CAAA,EAyKyE,oBAAA,CAAA,GAAA,CAAA,OAzKzE;iBAoLO,aAAA,CAnLP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAmL8C,OAAA,CAAM,cAnLpD,CAAA,KAAA,CAAA,CAAA,EAmLyE,oBAAA,CAAA,GAAA,CAAA,OAnLzE;iBA8LO,gBAAA,CA7LP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA6LiD,OAAA,CAAM,cA7LvD,CAAA,OA6L6E,SA7L7E,CAAA,CAAA,EA6LuF,oBAAA,CAAA,GAAA,CAAA,OA7LvF;iBAwMO,cAAA,CAvMP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAuM+C,OAAA,CAAM,cAvMrD,CAAA,KAAA,CAAA,CAAA,EAuM0E,oBAAA,CAAA,GAAA,CAAA,OAvM1E;iBAqNO,YAAA,CAnNA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAmNsC,OAAA,CAAM,cAnN5C,CAAA,KAAA,CAAA,CAAA,EAmNiE,oBAAA,CAAA,GAAA,CAAA,OAnNjE;iBA8NA,iBAAA,CA1NR;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EA8NE,OAAA,CAAM,cA9NR,CAAA,KAAA,CAAA,GAAA;EAAA,OAAA,CAAA,EAAA,OAAA;AAAA,CAAA,CAAA,EA8NqD,oBAAA,CAAA,GAAA,CAAA,OAtI/B;iBAuJd,kBAAA,CAvJc;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;CAAA,EA2JpB,OAAA,CAAM,cA3Jc,CAAA,QAAA,CAAA,GAAA;SAAG,CAAA,EAAA,OAAA;IA2J+B,oBAAA,CAAA,GAAA,CAAA,OA3JpB;iBA8K5B,mBAAA,CA9K6E;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA8KhC,OAAA,CAAM,cA9K0B,CAAA,KAAA,CAAA,CAAA,EA8KL,oBAAA,CAAA,GAAA,CAAA,OA9KK;iBAyL7E,WAAA,CAzLuD;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyLlB,OAAA,CAAM,cAzLY,CAAA,IAAA,CAAA,CAAA,EAyLQ,oBAAA,CAAA,GAAA,CAAA,OAzLR;iBAoMvD,eAAA,CApMoF;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAoM3C,OAAA,CAAM,cApMqC,CAAA,IAAA,CAAA,CAAA,EAoMjB,oBAAA,CAAA,GAAA,CAAA,OApMiB;cA+MvF,yBA/MuF,EAAA,CAAA,KAsBtE,CAtBsE,EAAA,CAAA;EAsBpF,OAAA,CAAA,EAAA,SAAW,GAAA,SAAA,GAAA,IAAA,GAAA,SAAA;EAAA,IAAA,CAAA,EAAA,SAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,SAAA;IA6MnB,+BAAA,CAAA,SA7MsB,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;iBA+Md,iBAAA,CA/M2C;EAAA,OAAA;EAAA,QAAA;EAAA,OAAA;EAAA,IAAA;EAAA,OAAA;EAAA,SAAA;EAAA,GAAA;AAyB/B,CAzB+B,EAuNjD,OAAA,CAAM,cAvN2C,CAAA,QAAA,CAAA,GAAA;SAAwB,CAAA,EAAA,OAAA;EAAA,QAAA,CAAA,EAAA,OAAA;EAyBnE,OAAA,CAAA,EAAA,MAAY,GAiMA,OAAA,CAAM,cAjMN,CAAA,OAiM4B,cAjM5B,CAAA;CAAA,GAkMjB,YAlMiB,CAAA,OAkMG,yBAlMH,CAAA,CAAA,EAkM6B,oBAAA,CAAA,GAAA,CAAA,OAlM7B;iBAwOZ,iBAAA,CAxOe;EAAA,SAAA;EAAA,OAAA;EAAA,WAAA;EAAA,GAAA;CAAA,EA6OrB,OAAA,CAAM,cA7Oe,CAAA,QAAA,CAAA,GAAA;SAAuB,CAAA,EAAA,OAAM;aAAsB,CAAA,EAAA,OAAA;CAAA,CAAA,EAgP1E,oBAAA,CAAA,GAAA,CAAA,OAhP0E;AAAA,iBAwQlE,gBAAA,CA1PY;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA0P8B,OAAA,CAAM,cA1PpC,CAAA,KAAA,CAAA,CAAA,EA0PyD,oBAAA,CAAA,GAAA,CAAA,OA1PzD;iBA6QZ,mBAAA,CA7QY;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;CAAA,EAiRlB,OAAA,CAAM,cAjRY,CAAA,KAAA,CAAA,GAAA;UAAG,CAAA,EAAA,OAAA;IAmRvB,oBAAA,CAAA,GAAA,CAAA,OAnR0E;iBA8SlE,cAAA,CA9S4C;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA8SJ,OAAA,CAAM,cA9SF,CAAA,IAAA,CAAA,CAAA,EA8SsB,oBAAA,CAAA,GAAA,CAAA,OA9StB;iBA6T5C,kBAAA,CA7TwE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA6T5B,OAAA,CAAM,cA7TsB,CAAA,IAAA,CAAA,CAAA,EA6TF,oBAAA,CAAA,GAAA,CAAA,OA7TE;iBAwUxE,oBAAA,CAxUwE;EAAA,OAAA;EAAA,IAAA;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;CAAA,EA8U9E,OAAA,CAAM,cA9UwE,CAAA,GAAA,CAAA,GAAA;EAWxE,OAAA,CAAA,EAAA,OAAa;EAAA,IAAA,CAAA,EAAA,IAAA,GAAA,IAAA;UAAG,CAAA,EAAA,OAAA;IAuUxB,oBAAA,CAAA,GAAA,CAAA,OAvUqD"}
|
|
@@ -1,375 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { cn } from "../../lib/utils/cn.js";
|
|
5
|
-
import { Skeleton } from "./skeleton.js";
|
|
6
|
-
import { Button } from "./button.js";
|
|
7
|
-
import { Input } from "./input.js";
|
|
8
|
-
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./tooltip.client.js";
|
|
9
|
-
import { Separator } from "./separator.js";
|
|
10
|
-
import { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle } from "./sheet.client.js";
|
|
11
|
-
import { useIsMobile } from "../../lib/hooks/use-mobile.client.js";
|
|
12
|
-
import { PanelLeftIcon } from "lucide-react";
|
|
13
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
-
import { Slot } from "@radix-ui/react-slot";
|
|
15
|
-
import { cva } from "class-variance-authority";
|
|
16
|
-
import * as React$1 from "react";
|
|
17
|
-
|
|
18
|
-
//#region src/components/ui/sidebar.client.tsx
|
|
19
|
-
const SIDEBAR_COOKIE_NAME = "sidebar_state";
|
|
20
|
-
const SIDEBAR_COOKIE_MAX_AGE = 3600 * 24 * 7;
|
|
21
|
-
const SIDEBAR_WIDTH = "14rem";
|
|
22
|
-
const SIDEBAR_WIDTH_MOBILE = "18rem";
|
|
23
|
-
const SIDEBAR_WIDTH_ICON = "3rem";
|
|
24
|
-
const SIDEBAR_KEYBOARD_SHORTCUT = "b";
|
|
25
|
-
const SidebarContext = React$1.createContext(null);
|
|
26
|
-
function useSidebar() {
|
|
27
|
-
const context = React$1.useContext(SidebarContext);
|
|
28
|
-
if (!context) throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
29
|
-
return context;
|
|
30
|
-
}
|
|
31
|
-
function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: setOpenProp, className, style, children,...props }) {
|
|
32
|
-
const isMobile = useIsMobile();
|
|
33
|
-
const [openMobile, setOpenMobile] = React$1.useState(false);
|
|
34
|
-
const [_open, _setOpen] = React$1.useState(defaultOpen);
|
|
35
|
-
const open = openProp ?? _open;
|
|
36
|
-
const setOpen = React$1.useCallback((value) => {
|
|
37
|
-
const openState = typeof value === "function" ? value(open) : value;
|
|
38
|
-
if (setOpenProp) setOpenProp(openState);
|
|
39
|
-
else _setOpen(openState);
|
|
40
|
-
document.cookie = `${SIDEBAR_COOKIE_NAME}=${openState}; path=/; max-age=${SIDEBAR_COOKIE_MAX_AGE}`;
|
|
41
|
-
}, [setOpenProp, open]);
|
|
42
|
-
const toggleSidebar = React$1.useCallback(() => {
|
|
43
|
-
return isMobile ? setOpenMobile((open$1) => !open$1) : setOpen((open$1) => !open$1);
|
|
44
|
-
}, [
|
|
45
|
-
isMobile,
|
|
46
|
-
setOpen,
|
|
47
|
-
setOpenMobile
|
|
48
|
-
]);
|
|
49
|
-
React$1.useEffect(() => {
|
|
50
|
-
const handleKeyDown = (event) => {
|
|
51
|
-
if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
|
|
52
|
-
event.preventDefault();
|
|
53
|
-
toggleSidebar();
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
window.addEventListener("keydown", handleKeyDown);
|
|
57
|
-
return () => window.removeEventListener("keydown", handleKeyDown);
|
|
58
|
-
}, [toggleSidebar]);
|
|
59
|
-
const state = open ? "expanded" : "collapsed";
|
|
60
|
-
const contextValue = React$1.useMemo(() => ({
|
|
61
|
-
state,
|
|
62
|
-
open,
|
|
63
|
-
setOpen,
|
|
64
|
-
isMobile,
|
|
65
|
-
openMobile,
|
|
66
|
-
setOpenMobile,
|
|
67
|
-
toggleSidebar
|
|
68
|
-
}), [
|
|
69
|
-
state,
|
|
70
|
-
open,
|
|
71
|
-
setOpen,
|
|
72
|
-
isMobile,
|
|
73
|
-
openMobile,
|
|
74
|
-
setOpenMobile,
|
|
75
|
-
toggleSidebar
|
|
76
|
-
]);
|
|
77
|
-
return /* @__PURE__ */ jsx(SidebarContext.Provider, {
|
|
78
|
-
value: contextValue,
|
|
79
|
-
children: /* @__PURE__ */ jsx(TooltipProvider, {
|
|
80
|
-
delayDuration: 0,
|
|
81
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
82
|
-
"data-slot": "sidebar-wrapper",
|
|
83
|
-
style: {
|
|
84
|
-
"--sidebar-width": SIDEBAR_WIDTH,
|
|
85
|
-
"--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
|
|
86
|
-
...style
|
|
87
|
-
},
|
|
88
|
-
className: cn("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full", className),
|
|
89
|
-
...props,
|
|
90
|
-
children
|
|
91
|
-
})
|
|
92
|
-
})
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
function Sidebar({ side = "left", variant = "sidebar", collapsible = "offcanvas", className, children,...props }) {
|
|
96
|
-
const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
|
|
97
|
-
if (collapsible === "none") return /* @__PURE__ */ jsx("div", {
|
|
98
|
-
"data-slot": "sidebar",
|
|
99
|
-
className: cn("bg-sidebar text-sidebar-foreground w-(--sidebar-width) flex h-full flex-col", className),
|
|
100
|
-
...props,
|
|
101
|
-
children
|
|
102
|
-
});
|
|
103
|
-
if (isMobile) return /* @__PURE__ */ jsx(Sheet, {
|
|
104
|
-
open: openMobile,
|
|
105
|
-
onOpenChange: setOpenMobile,
|
|
106
|
-
...props,
|
|
107
|
-
children: /* @__PURE__ */ jsxs(SheetContent, {
|
|
108
|
-
"data-sidebar": "sidebar",
|
|
109
|
-
"data-slot": "sidebar",
|
|
110
|
-
"data-mobile": "true",
|
|
111
|
-
className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
|
|
112
|
-
style: { "--sidebar-width": SIDEBAR_WIDTH_MOBILE },
|
|
113
|
-
side,
|
|
114
|
-
children: [/* @__PURE__ */ jsxs(SheetHeader, {
|
|
115
|
-
className: "sr-only",
|
|
116
|
-
children: [/* @__PURE__ */ jsx(SheetTitle, { children: "Sidebar" }), /* @__PURE__ */ jsx(SheetDescription, { children: "Displays the mobile sidebar." })]
|
|
117
|
-
}), /* @__PURE__ */ jsx("div", {
|
|
118
|
-
className: "flex h-full w-full flex-col",
|
|
119
|
-
children
|
|
120
|
-
})]
|
|
121
|
-
})
|
|
122
|
-
});
|
|
123
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
124
|
-
className: "text-sidebar-foreground group peer hidden md:block",
|
|
125
|
-
"data-state": state,
|
|
126
|
-
"data-collapsible": state === "collapsed" ? collapsible : "",
|
|
127
|
-
"data-variant": variant,
|
|
128
|
-
"data-side": side,
|
|
129
|
-
"data-slot": "sidebar",
|
|
130
|
-
children: [/* @__PURE__ */ jsx("div", { className: cn("w-(--sidebar-width) relative bg-transparent transition-[width] duration-200 ease-linear", "group-data-[collapsible=offcanvas]:w-0", "group-data-[side=right]:rotate-180", variant === "floating" || variant === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)") }), /* @__PURE__ */ jsx("div", {
|
|
131
|
-
className: cn("w-(--sidebar-width) fixed inset-y-0 z-10 hidden h-svh transition-[left,right,width] duration-200 ease-linear md:flex", side === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]", variant === "floating" || variant === "inset" ? "p-3 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l", className),
|
|
132
|
-
...props,
|
|
133
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
134
|
-
"data-sidebar": "sidebar",
|
|
135
|
-
className: "bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",
|
|
136
|
-
children
|
|
137
|
-
})
|
|
138
|
-
})]
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
function SidebarTrigger({ className, onClick,...props }) {
|
|
142
|
-
const { toggleSidebar } = useSidebar();
|
|
143
|
-
return /* @__PURE__ */ jsxs(Button, {
|
|
144
|
-
"data-sidebar": "trigger",
|
|
145
|
-
"data-slot": "sidebar-trigger",
|
|
146
|
-
variant: "ghost",
|
|
147
|
-
size: "icon",
|
|
148
|
-
className: cn("h-7 w-7", className),
|
|
149
|
-
onClick: (event) => {
|
|
150
|
-
onClick?.(event);
|
|
151
|
-
toggleSidebar();
|
|
152
|
-
},
|
|
153
|
-
...props,
|
|
154
|
-
children: [/* @__PURE__ */ jsx(PanelLeftIcon, {}), /* @__PURE__ */ jsx("span", {
|
|
155
|
-
className: "sr-only",
|
|
156
|
-
children: "Toggle Sidebar"
|
|
157
|
-
})]
|
|
158
|
-
});
|
|
159
|
-
}
|
|
160
|
-
function SidebarRail({ className,...props }) {
|
|
161
|
-
const { toggleSidebar } = useSidebar();
|
|
162
|
-
return /* @__PURE__ */ jsx("button", {
|
|
163
|
-
"data-sidebar": "rail",
|
|
164
|
-
"data-slot": "sidebar-rail",
|
|
165
|
-
"aria-label": "Toggle Sidebar",
|
|
166
|
-
tabIndex: -1,
|
|
167
|
-
onClick: toggleSidebar,
|
|
168
|
-
title: "Toggle Sidebar",
|
|
169
|
-
className: cn("hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex", "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize", "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize", "hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full", "[[data-side=left][data-collapsible=offcanvas]_&]:-right-2", "[[data-side=right][data-collapsible=offcanvas]_&]:-left-2", className),
|
|
170
|
-
...props
|
|
171
|
-
});
|
|
172
|
-
}
|
|
173
|
-
function SidebarInset({ className,...props }) {
|
|
174
|
-
return /* @__PURE__ */ jsx("main", {
|
|
175
|
-
"data-slot": "sidebar-inset",
|
|
176
|
-
className: cn("bg-background relative flex w-full flex-1 flex-col", "md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm", className),
|
|
177
|
-
...props
|
|
178
|
-
});
|
|
179
|
-
}
|
|
180
|
-
function SidebarInput({ className,...props }) {
|
|
181
|
-
return /* @__PURE__ */ jsx(Input, {
|
|
182
|
-
"data-slot": "sidebar-input",
|
|
183
|
-
"data-sidebar": "input",
|
|
184
|
-
className: cn("bg-background h-8 w-full shadow-none", className),
|
|
185
|
-
...props
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
function SidebarHeader({ className,...props }) {
|
|
189
|
-
return /* @__PURE__ */ jsx("div", {
|
|
190
|
-
"data-slot": "sidebar-header",
|
|
191
|
-
"data-sidebar": "header",
|
|
192
|
-
className: cn("flex flex-col gap-2 p-3", className),
|
|
193
|
-
...props
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
function SidebarFooter({ className,...props }) {
|
|
197
|
-
return /* @__PURE__ */ jsx("div", {
|
|
198
|
-
"data-slot": "sidebar-footer",
|
|
199
|
-
"data-sidebar": "footer",
|
|
200
|
-
className: cn("flex flex-col gap-2 p-3", className),
|
|
201
|
-
...props
|
|
202
|
-
});
|
|
203
|
-
}
|
|
204
|
-
function SidebarSeparator({ className,...props }) {
|
|
205
|
-
return /* @__PURE__ */ jsx(Separator, {
|
|
206
|
-
"data-slot": "sidebar-separator",
|
|
207
|
-
"data-sidebar": "separator",
|
|
208
|
-
className: cn("bg-sidebar-border mx-2 w-auto", className),
|
|
209
|
-
...props
|
|
210
|
-
});
|
|
211
|
-
}
|
|
212
|
-
function SidebarContent({ className,...props }) {
|
|
213
|
-
return /* @__PURE__ */ jsx("div", {
|
|
214
|
-
"data-slot": "sidebar-content",
|
|
215
|
-
"data-sidebar": "content",
|
|
216
|
-
className: cn("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden", className),
|
|
217
|
-
...props
|
|
218
|
-
});
|
|
219
|
-
}
|
|
220
|
-
function SidebarGroup({ className,...props }) {
|
|
221
|
-
return /* @__PURE__ */ jsx("div", {
|
|
222
|
-
"data-slot": "sidebar-group",
|
|
223
|
-
"data-sidebar": "group",
|
|
224
|
-
className: cn("relative flex w-full min-w-0 flex-col p-3", className),
|
|
225
|
-
...props
|
|
226
|
-
});
|
|
227
|
-
}
|
|
228
|
-
function SidebarGroupLabel({ className, asChild = false,...props }) {
|
|
229
|
-
return /* @__PURE__ */ jsx(asChild ? Slot : "div", {
|
|
230
|
-
"data-slot": "sidebar-group-label",
|
|
231
|
-
"data-sidebar": "group-label",
|
|
232
|
-
className: cn("text-sidebar-foreground/70 ring-sidebar-ring outline-hidden flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0", "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0", className),
|
|
233
|
-
...props
|
|
234
|
-
});
|
|
235
|
-
}
|
|
236
|
-
function SidebarGroupAction({ className, asChild = false,...props }) {
|
|
237
|
-
return /* @__PURE__ */ jsx(asChild ? Slot : "button", {
|
|
238
|
-
"data-slot": "sidebar-group-action",
|
|
239
|
-
"data-sidebar": "group-action",
|
|
240
|
-
className: cn("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground outline-hidden absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0", "after:absolute after:-inset-2 md:after:hidden", "group-data-[collapsible=icon]:hidden", className),
|
|
241
|
-
...props
|
|
242
|
-
});
|
|
243
|
-
}
|
|
244
|
-
function SidebarGroupContent({ className,...props }) {
|
|
245
|
-
return /* @__PURE__ */ jsx("div", {
|
|
246
|
-
"data-slot": "sidebar-group-content",
|
|
247
|
-
"data-sidebar": "group-content",
|
|
248
|
-
className: cn("w-full text-sm", className),
|
|
249
|
-
...props
|
|
250
|
-
});
|
|
251
|
-
}
|
|
252
|
-
function SidebarMenu({ className,...props }) {
|
|
253
|
-
return /* @__PURE__ */ jsx("ul", {
|
|
254
|
-
"data-slot": "sidebar-menu",
|
|
255
|
-
"data-sidebar": "menu",
|
|
256
|
-
className: cn("flex w-full min-w-0 flex-col gap-1", className),
|
|
257
|
-
...props
|
|
258
|
-
});
|
|
259
|
-
}
|
|
260
|
-
function SidebarMenuItem({ className,...props }) {
|
|
261
|
-
return /* @__PURE__ */ jsx("li", {
|
|
262
|
-
"data-slot": "sidebar-menu-item",
|
|
263
|
-
"data-sidebar": "menu-item",
|
|
264
|
-
className: cn("group/menu-item relative", className),
|
|
265
|
-
...props
|
|
266
|
-
});
|
|
267
|
-
}
|
|
268
|
-
const sidebarMenuButtonVariants = cva("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-primary data-[active=true]:font-medium data-[active=true]:text-sidebar-primary-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0", {
|
|
269
|
-
variants: {
|
|
270
|
-
variant: {
|
|
271
|
-
default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
|
|
272
|
-
outline: "bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"
|
|
273
|
-
},
|
|
274
|
-
size: {
|
|
275
|
-
default: "h-8 text-sm",
|
|
276
|
-
sm: "h-7 text-xs",
|
|
277
|
-
lg: "h-12 text-sm group-data-[collapsible=icon]:p-0!"
|
|
278
|
-
}
|
|
279
|
-
},
|
|
280
|
-
defaultVariants: {
|
|
281
|
-
variant: "default",
|
|
282
|
-
size: "default"
|
|
283
|
-
}
|
|
284
|
-
});
|
|
285
|
-
function SidebarMenuButton({ asChild = false, isActive = false, variant = "default", size = "default", tooltip, className,...props }) {
|
|
286
|
-
const Comp = asChild ? Slot : "button";
|
|
287
|
-
const { isMobile, state } = useSidebar();
|
|
288
|
-
const button = /* @__PURE__ */ jsx(Comp, {
|
|
289
|
-
"data-slot": "sidebar-menu-button",
|
|
290
|
-
"data-sidebar": "menu-button",
|
|
291
|
-
"data-size": size,
|
|
292
|
-
"data-active": isActive,
|
|
293
|
-
className: cn(sidebarMenuButtonVariants({
|
|
294
|
-
variant,
|
|
295
|
-
size
|
|
296
|
-
}), className),
|
|
297
|
-
...props
|
|
298
|
-
});
|
|
299
|
-
if (!tooltip) return button;
|
|
300
|
-
if (typeof tooltip === "string") tooltip = { children: tooltip };
|
|
301
|
-
return /* @__PURE__ */ jsxs(Tooltip, { children: [/* @__PURE__ */ jsx(TooltipTrigger, {
|
|
302
|
-
asChild: true,
|
|
303
|
-
children: button
|
|
304
|
-
}), /* @__PURE__ */ jsx(TooltipContent, {
|
|
305
|
-
side: "right",
|
|
306
|
-
align: "center",
|
|
307
|
-
hidden: state !== "collapsed" || isMobile,
|
|
308
|
-
...tooltip
|
|
309
|
-
})] });
|
|
310
|
-
}
|
|
311
|
-
function SidebarMenuAction({ className, asChild = false, showOnHover = false,...props }) {
|
|
312
|
-
return /* @__PURE__ */ jsx(asChild ? Slot : "button", {
|
|
313
|
-
"data-slot": "sidebar-menu-action",
|
|
314
|
-
"data-sidebar": "menu-action",
|
|
315
|
-
className: cn("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground outline-hidden absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0", "after:absolute after:-inset-2 md:after:hidden", "peer-data-[size=sm]/menu-button:top-1", "peer-data-[size=default]/menu-button:top-1.5", "peer-data-[size=lg]/menu-button:top-2.5", "group-data-[collapsible=icon]:hidden", showOnHover && "peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0", className),
|
|
316
|
-
...props
|
|
317
|
-
});
|
|
318
|
-
}
|
|
319
|
-
function SidebarMenuBadge({ className,...props }) {
|
|
320
|
-
return /* @__PURE__ */ jsx("div", {
|
|
321
|
-
"data-slot": "sidebar-menu-badge",
|
|
322
|
-
"data-sidebar": "menu-badge",
|
|
323
|
-
className: cn("text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums", "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground", "peer-data-[size=sm]/menu-button:top-1", "peer-data-[size=default]/menu-button:top-1.5", "peer-data-[size=lg]/menu-button:top-2.5", "group-data-[collapsible=icon]:hidden", className),
|
|
324
|
-
...props
|
|
325
|
-
});
|
|
326
|
-
}
|
|
327
|
-
function SidebarMenuSkeleton({ className, showIcon = false,...props }) {
|
|
328
|
-
const width = React$1.useMemo(() => {
|
|
329
|
-
return `${Math.floor(Math.random() * 40) + 50}%`;
|
|
330
|
-
}, []);
|
|
331
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
332
|
-
"data-slot": "sidebar-menu-skeleton",
|
|
333
|
-
"data-sidebar": "menu-skeleton",
|
|
334
|
-
className: cn("flex h-8 items-center gap-2 rounded-md px-2", className),
|
|
335
|
-
...props,
|
|
336
|
-
children: [showIcon && /* @__PURE__ */ jsx(Skeleton, {
|
|
337
|
-
className: "size-4 rounded-md",
|
|
338
|
-
"data-sidebar": "menu-skeleton-icon"
|
|
339
|
-
}), /* @__PURE__ */ jsx(Skeleton, {
|
|
340
|
-
className: "max-w-(--skeleton-width) h-4 flex-1",
|
|
341
|
-
"data-sidebar": "menu-skeleton-text",
|
|
342
|
-
style: { "--skeleton-width": width }
|
|
343
|
-
})]
|
|
344
|
-
});
|
|
345
|
-
}
|
|
346
|
-
function SidebarMenuSub({ className,...props }) {
|
|
347
|
-
return /* @__PURE__ */ jsx("ul", {
|
|
348
|
-
"data-slot": "sidebar-menu-sub",
|
|
349
|
-
"data-sidebar": "menu-sub",
|
|
350
|
-
className: cn("border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5", "group-data-[collapsible=icon]:hidden", className),
|
|
351
|
-
...props
|
|
352
|
-
});
|
|
353
|
-
}
|
|
354
|
-
function SidebarMenuSubItem({ className,...props }) {
|
|
355
|
-
return /* @__PURE__ */ jsx("li", {
|
|
356
|
-
"data-slot": "sidebar-menu-sub-item",
|
|
357
|
-
"data-sidebar": "menu-sub-item",
|
|
358
|
-
className: cn("group/menu-sub-item relative", className),
|
|
359
|
-
...props
|
|
360
|
-
});
|
|
361
|
-
}
|
|
362
|
-
function SidebarMenuSubButton({ asChild = false, size = "md", isActive = false, className,...props }) {
|
|
363
|
-
return /* @__PURE__ */ jsx(asChild ? Slot : "a", {
|
|
364
|
-
"data-slot": "sidebar-menu-sub-button",
|
|
365
|
-
"data-sidebar": "menu-sub-button",
|
|
366
|
-
"data-size": size,
|
|
367
|
-
"data-active": isActive,
|
|
368
|
-
className: cn("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground outline-hidden flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0", "data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground", size === "sm" && "text-xs", size === "md" && "text-sm", "group-data-[collapsible=icon]:hidden", className),
|
|
369
|
-
...props
|
|
370
|
-
});
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
//#endregion
|
|
374
|
-
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar };
|
|
375
|
-
//# sourceMappingURL=sidebar.client.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.client.js","names":["React","open"],"sources":["../../../src/components/ui/sidebar.client.tsx"],"sourcesContent":["\"use client\";\n\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { VariantProps, cva } from \"class-variance-authority\";\nimport { PanelLeftIcon } from \"lucide-react\";\nimport * as React from \"react\";\n\nimport { Button } from \"@/components/ui/button\";\nimport { Input } from \"@/components/ui/input\";\nimport { Separator } from \"@/components/ui/separator\";\nimport {\n Sheet,\n SheetContent,\n SheetDescription,\n SheetHeader,\n SheetTitle,\n} from \"@/components/ui/sheet.client\";\nimport { Skeleton } from \"@/components/ui/skeleton\";\nimport {\n Tooltip,\n TooltipContent,\n TooltipProvider,\n TooltipTrigger,\n} from \"@/components/ui/tooltip.client\";\nimport { useIsMobile } from \"@/lib/hooks/use-mobile.client\";\nimport { cn } from \"@/lib/utils/cn\";\n\nconst SIDEBAR_COOKIE_NAME = \"sidebar_state\";\nconst SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;\nconst SIDEBAR_WIDTH = \"14rem\";\nconst SIDEBAR_WIDTH_MOBILE = \"18rem\";\nconst SIDEBAR_WIDTH_ICON = \"3rem\";\nconst SIDEBAR_KEYBOARD_SHORTCUT = \"b\";\n\ntype SidebarContext = {\n state: \"expanded\" | \"collapsed\";\n open: boolean;\n setOpen: (open: boolean) => void;\n openMobile: boolean;\n setOpenMobile: (open: boolean) => void;\n isMobile: boolean | undefined;\n toggleSidebar: () => void;\n};\n\nconst SidebarContext = React.createContext<SidebarContext | null>(null);\n\nfunction useSidebar() {\n const context = React.useContext(SidebarContext);\n if (!context) {\n throw new Error(\"useSidebar must be used within a SidebarProvider.\");\n }\n\n return context;\n}\n\nfunction SidebarProvider({\n defaultOpen = true,\n open: openProp,\n onOpenChange: setOpenProp,\n className,\n style,\n children,\n ...props\n}: React.ComponentProps<\"div\"> & {\n defaultOpen?: boolean;\n open?: boolean;\n onOpenChange?: (open: boolean) => void;\n}) {\n const isMobile = useIsMobile();\n const [openMobile, setOpenMobile] = React.useState(false);\n\n // This is the internal state of the sidebar.\n // We use openProp and setOpenProp for control from outside the component.\n const [_open, _setOpen] = React.useState(defaultOpen);\n const open = openProp ?? _open;\n const setOpen = React.useCallback(\n (value: boolean | ((value: boolean) => boolean)) => {\n const openState = typeof value === \"function\" ? value(open) : value;\n if (setOpenProp) {\n setOpenProp(openState);\n } else {\n _setOpen(openState);\n }\n\n // This sets the cookie to keep the sidebar state.\n document.cookie = `${SIDEBAR_COOKIE_NAME}=${openState}; path=/; max-age=${SIDEBAR_COOKIE_MAX_AGE}`;\n },\n [setOpenProp, open],\n );\n\n // Helper to toggle the sidebar.\n const toggleSidebar = React.useCallback(() => {\n return isMobile ? setOpenMobile((open) => !open) : setOpen((open) => !open);\n }, [isMobile, setOpen, setOpenMobile]);\n\n // Adds a keyboard shortcut to toggle the sidebar.\n React.useEffect(() => {\n const handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {\n event.preventDefault();\n toggleSidebar();\n }\n };\n\n window.addEventListener(\"keydown\", handleKeyDown);\n return () => window.removeEventListener(\"keydown\", handleKeyDown);\n }, [toggleSidebar]);\n\n // We add a state so that we can do data-state=\"expanded\" or \"collapsed\".\n // This makes it easier to style the sidebar with Tailwind classes.\n const state = open ? \"expanded\" : \"collapsed\";\n\n const contextValue = React.useMemo<SidebarContext>(\n () => ({\n state,\n open,\n setOpen,\n isMobile,\n openMobile,\n setOpenMobile,\n toggleSidebar,\n }),\n [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar],\n );\n\n return (\n <SidebarContext.Provider value={contextValue}>\n <TooltipProvider delayDuration={0}>\n <div\n data-slot=\"sidebar-wrapper\"\n style={\n {\n \"--sidebar-width\": SIDEBAR_WIDTH,\n \"--sidebar-width-icon\": SIDEBAR_WIDTH_ICON,\n ...style,\n } as React.CSSProperties\n }\n className={cn(\n \"group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full\",\n className,\n )}\n {...props}\n >\n {children}\n </div>\n </TooltipProvider>\n </SidebarContext.Provider>\n );\n}\n\nfunction Sidebar({\n side = \"left\",\n variant = \"sidebar\",\n collapsible = \"offcanvas\",\n className,\n children,\n ...props\n}: React.ComponentProps<\"div\"> & {\n side?: \"left\" | \"right\";\n variant?: \"sidebar\" | \"floating\" | \"inset\";\n collapsible?: \"offcanvas\" | \"icon\" | \"none\";\n}) {\n const { isMobile, state, openMobile, setOpenMobile } = useSidebar();\n\n if (collapsible === \"none\") {\n return (\n <div\n data-slot=\"sidebar\"\n className={cn(\n \"bg-sidebar text-sidebar-foreground w-(--sidebar-width) flex h-full flex-col\",\n className,\n )}\n {...props}\n >\n {children}\n </div>\n );\n }\n\n if (isMobile) {\n return (\n <Sheet open={openMobile} onOpenChange={setOpenMobile} {...props}>\n <SheetContent\n data-sidebar=\"sidebar\"\n data-slot=\"sidebar\"\n data-mobile=\"true\"\n className=\"bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden\"\n style={\n {\n \"--sidebar-width\": SIDEBAR_WIDTH_MOBILE,\n } as React.CSSProperties\n }\n side={side}\n >\n <SheetHeader className=\"sr-only\">\n <SheetTitle>Sidebar</SheetTitle>\n <SheetDescription>Displays the mobile sidebar.</SheetDescription>\n </SheetHeader>\n <div className=\"flex h-full w-full flex-col\">{children}</div>\n </SheetContent>\n </Sheet>\n );\n }\n\n return (\n <div\n className=\"text-sidebar-foreground group peer hidden md:block\"\n data-state={state}\n data-collapsible={state === \"collapsed\" ? collapsible : \"\"}\n data-variant={variant}\n data-side={side}\n data-slot=\"sidebar\"\n >\n {/* This is what handles the sidebar gap on desktop */}\n <div\n className={cn(\n \"w-(--sidebar-width) relative bg-transparent transition-[width] duration-200 ease-linear\",\n \"group-data-[collapsible=offcanvas]:w-0\",\n \"group-data-[side=right]:rotate-180\",\n variant === \"floating\" || variant === \"inset\"\n ? \"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]\"\n : \"group-data-[collapsible=icon]:w-(--sidebar-width-icon)\",\n )}\n />\n <div\n className={cn(\n \"w-(--sidebar-width) fixed inset-y-0 z-10 hidden h-svh transition-[left,right,width] duration-200 ease-linear md:flex\",\n side === \"left\"\n ? \"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]\"\n : \"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]\",\n // Adjust the padding for floating and inset variants.\n variant === \"floating\" || variant === \"inset\"\n ? \"p-3 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]\"\n : \"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l\",\n className,\n )}\n {...props}\n >\n <div\n data-sidebar=\"sidebar\"\n className=\"bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm\"\n >\n {children}\n </div>\n </div>\n </div>\n );\n}\n\nfunction SidebarTrigger({ className, onClick, ...props }: React.ComponentProps<typeof Button>) {\n const { toggleSidebar } = useSidebar();\n\n return (\n <Button\n data-sidebar=\"trigger\"\n data-slot=\"sidebar-trigger\"\n variant=\"ghost\"\n size=\"icon\"\n className={cn(\"h-7 w-7\", className)}\n onClick={(event) => {\n onClick?.(event);\n toggleSidebar();\n }}\n {...props}\n >\n <PanelLeftIcon />\n <span className=\"sr-only\">Toggle Sidebar</span>\n </Button>\n );\n}\n\nfunction SidebarRail({ className, ...props }: React.ComponentProps<\"button\">) {\n const { toggleSidebar } = useSidebar();\n\n return (\n <button\n data-sidebar=\"rail\"\n data-slot=\"sidebar-rail\"\n aria-label=\"Toggle Sidebar\"\n tabIndex={-1}\n onClick={toggleSidebar}\n title=\"Toggle Sidebar\"\n className={cn(\n \"hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex\",\n \"in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize\",\n \"[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize\",\n \"hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full\",\n \"[[data-side=left][data-collapsible=offcanvas]_&]:-right-2\",\n \"[[data-side=right][data-collapsible=offcanvas]_&]:-left-2\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction SidebarInset({ className, ...props }: React.ComponentProps<\"main\">) {\n return (\n <main\n data-slot=\"sidebar-inset\"\n className={cn(\n \"bg-background relative flex w-full flex-1 flex-col\",\n \"md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction SidebarInput({ className, ...props }: React.ComponentProps<typeof Input>) {\n return (\n <Input\n data-slot=\"sidebar-input\"\n data-sidebar=\"input\"\n className={cn(\"bg-background h-8 w-full shadow-none\", className)}\n {...props}\n />\n );\n}\n\nfunction SidebarHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"sidebar-header\"\n data-sidebar=\"header\"\n className={cn(\"flex flex-col gap-2 p-3\", className)}\n {...props}\n />\n );\n}\n\nfunction SidebarFooter({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"sidebar-footer\"\n data-sidebar=\"footer\"\n className={cn(\"flex flex-col gap-2 p-3\", className)}\n {...props}\n />\n );\n}\n\nfunction SidebarSeparator({ className, ...props }: React.ComponentProps<typeof Separator>) {\n return (\n <Separator\n data-slot=\"sidebar-separator\"\n data-sidebar=\"separator\"\n className={cn(\"bg-sidebar-border mx-2 w-auto\", className)}\n {...props}\n />\n );\n}\n\nfunction SidebarContent({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"sidebar-content\"\n data-sidebar=\"content\"\n className={cn(\n \"flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction SidebarGroup({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"sidebar-group\"\n data-sidebar=\"group\"\n className={cn(\"relative flex w-full min-w-0 flex-col p-3\", className)}\n {...props}\n />\n );\n}\n\nfunction SidebarGroupLabel({\n className,\n asChild = false,\n ...props\n}: React.ComponentProps<\"div\"> & { asChild?: boolean }) {\n const Comp = asChild ? Slot : \"div\";\n\n return (\n <Comp\n data-slot=\"sidebar-group-label\"\n data-sidebar=\"group-label\"\n className={cn(\n \"text-sidebar-foreground/70 ring-sidebar-ring outline-hidden flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0\",\n \"group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction SidebarGroupAction({\n className,\n asChild = false,\n ...props\n}: React.ComponentProps<\"button\"> & { asChild?: boolean }) {\n const Comp = asChild ? Slot : \"button\";\n\n return (\n <Comp\n data-slot=\"sidebar-group-action\"\n data-sidebar=\"group-action\"\n className={cn(\n \"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground outline-hidden absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0\",\n // Increases the hit area of the button on mobile.\n \"after:absolute after:-inset-2 md:after:hidden\",\n \"group-data-[collapsible=icon]:hidden\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction SidebarGroupContent({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"sidebar-group-content\"\n data-sidebar=\"group-content\"\n className={cn(\"w-full text-sm\", className)}\n {...props}\n />\n );\n}\n\nfunction SidebarMenu({ className, ...props }: React.ComponentProps<\"ul\">) {\n return (\n <ul\n data-slot=\"sidebar-menu\"\n data-sidebar=\"menu\"\n className={cn(\"flex w-full min-w-0 flex-col gap-1\", className)}\n {...props}\n />\n );\n}\n\nfunction SidebarMenuItem({ className, ...props }: React.ComponentProps<\"li\">) {\n return (\n <li\n data-slot=\"sidebar-menu-item\"\n data-sidebar=\"menu-item\"\n className={cn(\"group/menu-item relative\", className)}\n {...props}\n />\n );\n}\n\nconst sidebarMenuButtonVariants = cva(\n \"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-primary data-[active=true]:font-medium data-[active=true]:text-sidebar-primary-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0\",\n {\n variants: {\n variant: {\n default: \"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground\",\n outline:\n \"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]\",\n },\n size: {\n default: \"h-8 text-sm\",\n sm: \"h-7 text-xs\",\n lg: \"h-12 text-sm group-data-[collapsible=icon]:p-0!\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n },\n);\n\nfunction SidebarMenuButton({\n asChild = false,\n isActive = false,\n variant = \"default\",\n size = \"default\",\n tooltip,\n className,\n ...props\n}: React.ComponentProps<\"button\"> & {\n asChild?: boolean;\n isActive?: boolean;\n tooltip?: string | React.ComponentProps<typeof TooltipContent>;\n} & VariantProps<typeof sidebarMenuButtonVariants>) {\n const Comp = asChild ? Slot : \"button\";\n const { isMobile, state } = useSidebar();\n\n const button = (\n <Comp\n data-slot=\"sidebar-menu-button\"\n data-sidebar=\"menu-button\"\n data-size={size}\n data-active={isActive}\n className={cn(sidebarMenuButtonVariants({ variant, size }), className)}\n {...props}\n />\n );\n\n if (!tooltip) {\n return button;\n }\n\n if (typeof tooltip === \"string\") {\n tooltip = {\n children: tooltip,\n };\n }\n\n return (\n <Tooltip>\n <TooltipTrigger asChild>{button}</TooltipTrigger>\n <TooltipContent\n side=\"right\"\n align=\"center\"\n hidden={state !== \"collapsed\" || isMobile}\n {...tooltip}\n />\n </Tooltip>\n );\n}\n\nfunction SidebarMenuAction({\n className,\n asChild = false,\n showOnHover = false,\n ...props\n}: React.ComponentProps<\"button\"> & {\n asChild?: boolean;\n showOnHover?: boolean;\n}) {\n const Comp = asChild ? Slot : \"button\";\n\n return (\n <Comp\n data-slot=\"sidebar-menu-action\"\n data-sidebar=\"menu-action\"\n className={cn(\n \"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground outline-hidden absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0\",\n // Increases the hit area of the button on mobile.\n \"after:absolute after:-inset-2 md:after:hidden\",\n \"peer-data-[size=sm]/menu-button:top-1\",\n \"peer-data-[size=default]/menu-button:top-1.5\",\n \"peer-data-[size=lg]/menu-button:top-2.5\",\n \"group-data-[collapsible=icon]:hidden\",\n showOnHover &&\n \"peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction SidebarMenuBadge({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"sidebar-menu-badge\"\n data-sidebar=\"menu-badge\"\n className={cn(\n \"text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums\",\n \"peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground\",\n \"peer-data-[size=sm]/menu-button:top-1\",\n \"peer-data-[size=default]/menu-button:top-1.5\",\n \"peer-data-[size=lg]/menu-button:top-2.5\",\n \"group-data-[collapsible=icon]:hidden\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction SidebarMenuSkeleton({\n className,\n showIcon = false,\n ...props\n}: React.ComponentProps<\"div\"> & {\n showIcon?: boolean;\n}) {\n // Random width between 50 to 90%.\n const width = React.useMemo(() => {\n return `${Math.floor(Math.random() * 40) + 50}%`;\n }, []);\n\n return (\n <div\n data-slot=\"sidebar-menu-skeleton\"\n data-sidebar=\"menu-skeleton\"\n className={cn(\"flex h-8 items-center gap-2 rounded-md px-2\", className)}\n {...props}\n >\n {showIcon && <Skeleton className=\"size-4 rounded-md\" data-sidebar=\"menu-skeleton-icon\" />}\n <Skeleton\n className=\"max-w-(--skeleton-width) h-4 flex-1\"\n data-sidebar=\"menu-skeleton-text\"\n style={\n {\n \"--skeleton-width\": width,\n } as React.CSSProperties\n }\n />\n </div>\n );\n}\n\nfunction SidebarMenuSub({ className, ...props }: React.ComponentProps<\"ul\">) {\n return (\n <ul\n data-slot=\"sidebar-menu-sub\"\n data-sidebar=\"menu-sub\"\n className={cn(\n \"border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5\",\n \"group-data-[collapsible=icon]:hidden\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction SidebarMenuSubItem({ className, ...props }: React.ComponentProps<\"li\">) {\n return (\n <li\n data-slot=\"sidebar-menu-sub-item\"\n data-sidebar=\"menu-sub-item\"\n className={cn(\"group/menu-sub-item relative\", className)}\n {...props}\n />\n );\n}\n\nfunction SidebarMenuSubButton({\n asChild = false,\n size = \"md\",\n isActive = false,\n className,\n ...props\n}: React.ComponentProps<\"a\"> & {\n asChild?: boolean;\n size?: \"sm\" | \"md\";\n isActive?: boolean;\n}) {\n const Comp = asChild ? Slot : \"a\";\n\n return (\n <Comp\n data-slot=\"sidebar-menu-sub-button\"\n data-sidebar=\"menu-sub-button\"\n data-size={size}\n data-active={isActive}\n className={cn(\n \"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground outline-hidden flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0\",\n \"data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground\",\n size === \"sm\" && \"text-xs\",\n size === \"md\" && \"text-sm\",\n \"group-data-[collapsible=icon]:hidden\",\n className,\n )}\n {...props}\n />\n );\n}\n\nexport {\n Sidebar,\n SidebarContent,\n SidebarFooter,\n SidebarGroup,\n SidebarGroupAction,\n SidebarGroupContent,\n SidebarGroupLabel,\n SidebarHeader,\n SidebarInput,\n SidebarInset,\n SidebarMenu,\n SidebarMenuAction,\n SidebarMenuBadge,\n SidebarMenuButton,\n SidebarMenuItem,\n SidebarMenuSkeleton,\n SidebarMenuSub,\n SidebarMenuSubButton,\n SidebarMenuSubItem,\n SidebarProvider,\n SidebarRail,\n SidebarSeparator,\n SidebarTrigger,\n useSidebar,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;AA2BA,MAAM,sBAAsB;AAC5B,MAAM,yBAAyB,OAAU,KAAK;AAC9C,MAAM,gBAAgB;AACtB,MAAM,uBAAuB;AAC7B,MAAM,qBAAqB;AAC3B,MAAM,4BAA4B;AAYlC,MAAM,iBAAiBA,QAAM,cAAqC,KAAK;AAEvE,SAAS,aAAa;CACpB,MAAM,UAAUA,QAAM,WAAW,eAAe;AAChD,KAAI,CAAC,QACH,OAAM,IAAI,MAAM,oDAAoD;AAGtE,QAAO;;AAGT,SAAS,gBAAgB,EACvB,cAAc,MACd,MAAM,UACN,cAAc,aACd,WACA,OACA,SACA,GAAG,SAKF;CACD,MAAM,WAAW,aAAa;CAC9B,MAAM,CAAC,YAAY,iBAAiBA,QAAM,SAAS,MAAM;CAIzD,MAAM,CAAC,OAAO,YAAYA,QAAM,SAAS,YAAY;CACrD,MAAM,OAAO,YAAY;CACzB,MAAM,UAAUA,QAAM,aACnB,UAAmD;EAClD,MAAM,YAAY,OAAO,UAAU,aAAa,MAAM,KAAK,GAAG;AAC9D,MAAI,YACF,aAAY,UAAU;MAEtB,UAAS,UAAU;AAIrB,WAAS,SAAS,GAAG,oBAAoB,GAAG,UAAU,oBAAoB;IAE5E,CAAC,aAAa,KAAK,CACpB;CAGD,MAAM,gBAAgBA,QAAM,kBAAkB;AAC5C,SAAO,WAAW,eAAe,WAAS,CAACC,OAAK,GAAG,SAAS,WAAS,CAACA,OAAK;IAC1E;EAAC;EAAU;EAAS;EAAc,CAAC;AAGtC,SAAM,gBAAgB;EACpB,MAAM,iBAAiB,UAAyB;AAC9C,OAAI,MAAM,QAAQ,8BAA8B,MAAM,WAAW,MAAM,UAAU;AAC/E,UAAM,gBAAgB;AACtB,mBAAe;;;AAInB,SAAO,iBAAiB,WAAW,cAAc;AACjD,eAAa,OAAO,oBAAoB,WAAW,cAAc;IAChE,CAAC,cAAc,CAAC;CAInB,MAAM,QAAQ,OAAO,aAAa;CAElC,MAAM,eAAeD,QAAM,eAClB;EACL;EACA;EACA;EACA;EACA;EACA;EACA;EACD,GACD;EAAC;EAAO;EAAM;EAAS;EAAU;EAAY;EAAe;EAAc,CAC3E;AAED,QACE,oBAAC,eAAe;EAAS,OAAO;YAC9B,oBAAC;GAAgB,eAAe;aAC9B,oBAAC;IACC,aAAU;IACV,OACE;KACE,mBAAmB;KACnB,wBAAwB;KACxB,GAAG;KACJ;IAEH,WAAW,GACT,mFACA,UACD;IACD,GAAI;IAEH;KACG;IACU;GACM;;AAI9B,SAAS,QAAQ,EACf,OAAO,QACP,UAAU,WACV,cAAc,aACd,WACA,SACA,GAAG,SAKF;CACD,MAAM,EAAE,UAAU,OAAO,YAAY,kBAAkB,YAAY;AAEnE,KAAI,gBAAgB,OAClB,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,+EACA,UACD;EACD,GAAI;EAEH;GACG;AAIV,KAAI,SACF,QACE,oBAAC;EAAM,MAAM;EAAY,cAAc;EAAe,GAAI;YACxD,qBAAC;GACC,gBAAa;GACb,aAAU;GACV,eAAY;GACZ,WAAU;GACV,OACE,EACE,mBAAmB,sBACpB;GAEG;cAEN,qBAAC;IAAY,WAAU;eACrB,oBAAC,wBAAW,YAAoB,EAChC,oBAAC,8BAAiB,iCAA+C;KACrD,EACd,oBAAC;IAAI,WAAU;IAA+B;KAAe;IAChD;GACT;AAIZ,QACE,qBAAC;EACC,WAAU;EACV,cAAY;EACZ,oBAAkB,UAAU,cAAc,cAAc;EACxD,gBAAc;EACd,aAAW;EACX,aAAU;aAGV,oBAAC,SACC,WAAW,GACT,2FACA,0CACA,sCACA,YAAY,cAAc,YAAY,UAClC,qFACA,yDACL,GACD,EACF,oBAAC;GACC,WAAW,GACT,wHACA,SAAS,SACL,mFACA,oFAEJ,YAAY,cAAc,YAAY,UAClC,6FACA,2HACJ,UACD;GACD,GAAI;aAEJ,oBAAC;IACC,gBAAa;IACb,WAAU;IAET;KACG;IACF;GACF;;AAIV,SAAS,eAAe,EAAE,WAAW,QAAS,GAAG,SAA8C;CAC7F,MAAM,EAAE,kBAAkB,YAAY;AAEtC,QACE,qBAAC;EACC,gBAAa;EACb,aAAU;EACV,SAAQ;EACR,MAAK;EACL,WAAW,GAAG,WAAW,UAAU;EACnC,UAAU,UAAU;AAClB,aAAU,MAAM;AAChB,kBAAe;;EAEjB,GAAI;aAEJ,oBAAC,kBAAgB,EACjB,oBAAC;GAAK,WAAU;aAAU;IAAqB;GACxC;;AAIb,SAAS,YAAY,EAAE,UAAW,GAAG,SAAyC;CAC5E,MAAM,EAAE,kBAAkB,YAAY;AAEtC,QACE,oBAAC;EACC,gBAAa;EACb,aAAU;EACV,cAAW;EACX,UAAU;EACV,SAAS;EACT,OAAM;EACN,WAAW,GACT,mPACA,4EACA,0HACA,2JACA,6DACA,6DACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,aAAa,EAAE,UAAW,GAAG,SAAuC;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,sDACA,mNACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,aAAa,EAAE,UAAW,GAAG,SAA6C;AACjF,QACE,oBAAC;EACC,aAAU;EACV,gBAAa;EACb,WAAW,GAAG,wCAAwC,UAAU;EAChE,GAAI;GACJ;;AAIN,SAAS,cAAc,EAAE,UAAW,GAAG,SAAsC;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,gBAAa;EACb,WAAW,GAAG,2BAA2B,UAAU;EACnD,GAAI;GACJ;;AAIN,SAAS,cAAc,EAAE,UAAW,GAAG,SAAsC;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,gBAAa;EACb,WAAW,GAAG,2BAA2B,UAAU;EACnD,GAAI;GACJ;;AAIN,SAAS,iBAAiB,EAAE,UAAW,GAAG,SAAiD;AACzF,QACE,oBAAC;EACC,aAAU;EACV,gBAAa;EACb,WAAW,GAAG,iCAAiC,UAAU;EACzD,GAAI;GACJ;;AAIN,SAAS,eAAe,EAAE,UAAW,GAAG,SAAsC;AAC5E,QACE,oBAAC;EACC,aAAU;EACV,gBAAa;EACb,WAAW,GACT,kGACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,aAAa,EAAE,UAAW,GAAG,SAAsC;AAC1E,QACE,oBAAC;EACC,aAAU;EACV,gBAAa;EACb,WAAW,GAAG,6CAA6C,UAAU;EACrE,GAAI;GACJ;;AAIN,SAAS,kBAAkB,EACzB,WACA,UAAU,MACV,GAAG,SACmD;AAGtD,QACE,oBAHW,UAAU,OAAO;EAI1B,aAAU;EACV,gBAAa;EACb,WAAW,GACT,4OACA,+EACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,mBAAmB,EAC1B,WACA,UAAU,MACV,GAAG,SACsD;AAGzD,QACE,oBAHW,UAAU,OAAO;EAI1B,aAAU;EACV,gBAAa;EACb,WAAW,GACT,8RAEA,iDACA,wCACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,oBAAoB,EAAE,UAAW,GAAG,SAAsC;AACjF,QACE,oBAAC;EACC,aAAU;EACV,gBAAa;EACb,WAAW,GAAG,kBAAkB,UAAU;EAC1C,GAAI;GACJ;;AAIN,SAAS,YAAY,EAAE,UAAW,GAAG,SAAqC;AACxE,QACE,oBAAC;EACC,aAAU;EACV,gBAAa;EACb,WAAW,GAAG,sCAAsC,UAAU;EAC9D,GAAI;GACJ;;AAIN,SAAS,gBAAgB,EAAE,UAAW,GAAG,SAAqC;AAC5E,QACE,oBAAC;EACC,aAAU;EACV,gBAAa;EACb,WAAW,GAAG,4BAA4B,UAAU;EACpD,GAAI;GACJ;;AAIN,MAAM,4BAA4B,IAChC,uzBACA;CACE,UAAU;EACR,SAAS;GACP,SAAS;GACT,SACE;GACH;EACD,MAAM;GACJ,SAAS;GACT,IAAI;GACJ,IAAI;GACL;EACF;CACD,iBAAiB;EACf,SAAS;EACT,MAAM;EACP;CACF,CACF;AAED,SAAS,kBAAkB,EACzB,UAAU,OACV,WAAW,OACX,UAAU,WACV,OAAO,WACP,SACA,UACA,GAAG,SAK+C;CAClD,MAAM,OAAO,UAAU,OAAO;CAC9B,MAAM,EAAE,UAAU,UAAU,YAAY;CAExC,MAAM,SACJ,oBAAC;EACC,aAAU;EACV,gBAAa;EACb,aAAW;EACX,eAAa;EACb,WAAW,GAAG,0BAA0B;GAAE;GAAS;GAAM,CAAC,EAAE,UAAU;EACtE,GAAI;GACJ;AAGJ,KAAI,CAAC,QACH,QAAO;AAGT,KAAI,OAAO,YAAY,SACrB,WAAU,EACR,UAAU,SACX;AAGH,QACE,qBAAC,sBACC,oBAAC;EAAe;YAAS;GAAwB,EACjD,oBAAC;EACC,MAAK;EACL,OAAM;EACN,QAAQ,UAAU,eAAe;EACjC,GAAI;GACJ,IACM;;AAId,SAAS,kBAAkB,EACzB,WACA,UAAU,OACV,cAAc,MACd,GAAG,SAIF;AAGD,QACE,oBAHW,UAAU,OAAO;EAI1B,aAAU;EACV,gBAAa;EACb,WAAW,GACT,oVAEA,iDACA,yCACA,gDACA,2CACA,wCACA,eACE,4LACF,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,iBAAiB,EAAE,UAAW,GAAG,SAAsC;AAC9E,QACE,oBAAC;EACC,aAAU;EACV,gBAAa;EACb,WAAW,GACT,0KACA,4HACA,yCACA,gDACA,2CACA,wCACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,oBAAoB,EAC3B,WACA,WAAW,MACX,GAAG,SAGF;CAED,MAAM,QAAQA,QAAM,cAAc;AAChC,SAAO,GAAG,KAAK,MAAM,KAAK,QAAQ,GAAG,GAAG,GAAG,GAAG;IAC7C,EAAE,CAAC;AAEN,QACE,qBAAC;EACC,aAAU;EACV,gBAAa;EACb,WAAW,GAAG,+CAA+C,UAAU;EACvE,GAAI;aAEH,YAAY,oBAAC;GAAS,WAAU;GAAoB,gBAAa;IAAuB,EACzF,oBAAC;GACC,WAAU;GACV,gBAAa;GACb,OACE,EACE,oBAAoB,OACrB;IAEH;GACE;;AAIV,SAAS,eAAe,EAAE,UAAW,GAAG,SAAqC;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,gBAAa;EACb,WAAW,GACT,kGACA,wCACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,mBAAmB,EAAE,UAAW,GAAG,SAAqC;AAC/E,QACE,oBAAC;EACC,aAAU;EACV,gBAAa;EACb,WAAW,GAAG,gCAAgC,UAAU;EACxD,GAAI;GACJ;;AAIN,SAAS,qBAAqB,EAC5B,UAAU,OACV,OAAO,MACP,WAAW,OACX,UACA,GAAG,SAKF;AAGD,QACE,oBAHW,UAAU,OAAO;EAI1B,aAAU;EACV,gBAAa;EACb,aAAW;EACX,eAAa;EACb,WAAW,GACT,ifACA,0FACA,SAAS,QAAQ,WACjB,SAAS,QAAQ,WACjB,wCACA,UACD;EACD,GAAI;GACJ"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime367 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region src/components/ui/skeleton.d.ts
|
|
4
|
-
declare function Skeleton({
|
|
5
|
-
className,
|
|
6
|
-
...props
|
|
7
|
-
}: React.ComponentProps<"div">): react_jsx_runtime367.JSX.Element;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { Skeleton };
|
|
10
|
-
//# sourceMappingURL=skeleton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"skeleton.d.ts","names":[],"sources":["../../../src/components/ui/skeleton.tsx"],"sourcesContent":[],"mappings":";;;iBAES,QAAA;;;GAAkC,KAAA,CAAM,wBAAqB,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { cn } from "../../lib/utils/cn.js";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/components/ui/skeleton.tsx
|
|
5
|
-
function Skeleton({ className,...props }) {
|
|
6
|
-
return /* @__PURE__ */ jsx("div", {
|
|
7
|
-
"data-slot": "skeleton",
|
|
8
|
-
className: cn("bg-primary/10 animate-pulse rounded-md", className),
|
|
9
|
-
...props
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
//#endregion
|
|
14
|
-
export { Skeleton };
|
|
15
|
-
//# sourceMappingURL=skeleton.js.map
|