@tulip-systems/core 0.4.0 → 0.4.1
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 +36 -0
- package/dist/components/client.mjs +37 -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 +83 -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/fixed-menu.client.d.mts +7 -0
- package/dist/components/editor/components/fixed-menu.client.d.mts.map +1 -0
- package/dist/components/editor/components/fixed-menu.client.mjs +134 -0
- package/dist/components/editor/components/fixed-menu.client.mjs.map +1 -0
- package/dist/components/editor/context.client.d.mts +33 -0
- package/dist/components/editor/context.client.d.mts.map +1 -0
- package/dist/components/editor/context.client.mjs +45 -0
- package/dist/components/editor/context.client.mjs.map +1 -0
- package/dist/components/editor/index.client.d.mts +11 -0
- package/dist/components/editor/index.client.d.mts.map +1 -0
- package/dist/components/editor/index.client.mjs +17 -0
- package/dist/components/editor/index.client.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/preview.client.d.mts +12 -0
- package/dist/components/editor/preview.client.d.mts.map +1 -0
- package/dist/components/editor/preview.client.mjs +19 -0
- package/dist/components/editor/preview.client.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 +14 -0
- package/dist/components/ui/calendar.d.mts.map +1 -0
- package/dist/components/ui/calendar.mjs +56 -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 +25 -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 +4 -0
- package/dist/config/server.mjs +5 -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 +13 -0
- package/dist/data-tables.mjs +13 -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 +967 -0
- package/dist/modules/auth/db/schema.d.mts.map +1 -0
- package/dist/modules/auth/db/schema.mjs +110 -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 +17 -0
- package/dist/modules/auth/handler/client.client.mjs.map +1 -0
- package/dist/modules/auth/handler/init.d.mts +1853 -0
- package/dist/modules/auth/handler/init.d.mts.map +1 -0
- package/dist/modules/auth/handler/init.mjs +74 -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 +52 -0
- package/dist/modules/auth/hooks/use-permission.mjs.map +1 -0
- package/dist/modules/auth/hooks/use-session.d.mts +34 -0
- package/dist/modules/auth/hooks/use-session.d.mts.map +1 -0
- package/dist/modules/auth/hooks/use-session.mjs +20 -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 +68 -0
- package/dist/modules/commands/components/dialog-command.client.d.mts.map +1 -0
- package/dist/modules/commands/components/dialog-command.client.mjs +130 -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-action.client.d.mts +22 -0
- package/dist/modules/commands/hooks/use-command-action.client.d.mts.map +1 -0
- package/dist/modules/commands/hooks/use-command-action.client.mjs +74 -0
- package/dist/modules/commands/hooks/use-command-action.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/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 +23 -0
- package/dist/modules/commands/utils/delete-command.client.d.mts.map +1 -0
- package/dist/modules/commands/utils/delete-command.client.mjs +27 -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/blob.d.mts +10 -0
- package/dist/modules/config/providers/blob.d.mts.map +1 -0
- package/dist/modules/config/providers/blob.mjs +11 -0
- package/dist/modules/config/providers/blob.mjs.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 +97 -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 +56 -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 +12 -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 +11 -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/parsers.d.mts +32 -0
- package/dist/modules/data-tables/lib/filters/parsers.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/filters/parsers.mjs +29 -0
- package/dist/modules/data-tables/lib/filters/parsers.mjs.map +1 -0
- package/dist/modules/data-tables/lib/filters/resolvers.d.mts +24 -0
- package/dist/modules/data-tables/lib/filters/resolvers.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/filters/resolvers.mjs +49 -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 +57 -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 +20 -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 +28 -0
- package/dist/modules/inline-edit/components/combobox-dropdown.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/combobox.client.d.mts +15 -0
- package/dist/modules/inline-edit/components/combobox.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/combobox.client.mjs +27 -0
- package/dist/modules/inline-edit/components/combobox.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/date-input.client.d.mts +14 -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 +78 -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 +16 -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 +50 -0
- package/dist/modules/inline-edit/components/date-picker.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/editor.client.d.mts +18 -0
- package/dist/modules/inline-edit/components/editor.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/editor.client.mjs +35 -0
- package/dist/modules/inline-edit/components/editor.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/input-recipient.client.d.mts +24 -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 +30 -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 +17 -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 +46 -0
- package/dist/modules/inline-edit/components/input-toggle.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/input.client.d.mts +33 -0
- package/dist/modules/inline-edit/components/input.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/input.client.mjs +49 -0
- package/dist/modules/inline-edit/components/input.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/richtext.client.d.mts +15 -0
- package/dist/modules/inline-edit/components/richtext.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/richtext.client.mjs +31 -0
- package/dist/modules/inline-edit/components/richtext.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/select.client.d.mts +27 -0
- package/dist/modules/inline-edit/components/select.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/select.client.mjs +43 -0
- package/dist/modules/inline-edit/components/select.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/switch.client.d.mts +14 -0
- package/dist/modules/inline-edit/components/switch.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/switch.client.mjs +26 -0
- package/dist/modules/inline-edit/components/switch.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/toggle.client.d.mts +16 -0
- package/dist/modules/inline-edit/components/toggle.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/toggle.client.mjs +33 -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/uploads/components/button.client.d.mts +12 -0
- package/dist/modules/uploads/components/button.client.d.mts.map +1 -0
- package/dist/modules/uploads/components/button.client.mjs +34 -0
- package/dist/modules/uploads/components/button.client.mjs.map +1 -0
- package/dist/modules/uploads/components/dropzone/context.d.mts +19 -0
- package/dist/modules/uploads/components/dropzone/context.d.mts.map +1 -0
- package/dist/modules/uploads/components/dropzone/context.mjs +18 -0
- package/dist/modules/uploads/components/dropzone/context.mjs.map +1 -0
- package/dist/modules/uploads/components/dropzone/index.d.mts +53 -0
- package/dist/modules/uploads/components/dropzone/index.d.mts.map +1 -0
- package/dist/modules/uploads/components/dropzone/index.mjs +111 -0
- package/dist/modules/uploads/components/dropzone/index.mjs.map +1 -0
- package/dist/modules/uploads/components/images/grid.client.d.mts +11 -0
- package/dist/modules/uploads/components/images/grid.client.d.mts.map +1 -0
- package/dist/modules/uploads/components/images/grid.client.mjs +119 -0
- package/dist/modules/uploads/components/images/grid.client.mjs.map +1 -0
- package/dist/modules/uploads/components/images/input.client.d.mts +16 -0
- package/dist/modules/uploads/components/images/input.client.d.mts.map +1 -0
- package/dist/modules/uploads/components/images/input.client.mjs +28 -0
- package/dist/modules/uploads/components/images/input.client.mjs.map +1 -0
- package/dist/modules/uploads/components/preview-dialog.client.d.mts +16 -0
- package/dist/modules/uploads/components/preview-dialog.client.d.mts.map +1 -0
- package/dist/modules/uploads/components/preview-dialog.client.mjs +22 -0
- package/dist/modules/uploads/components/preview-dialog.client.mjs.map +1 -0
- package/dist/modules/uploads/components/zone.client.d.mts +21 -0
- package/dist/modules/uploads/components/zone.client.d.mts.map +1 -0
- package/dist/modules/uploads/components/zone.client.mjs +38 -0
- package/dist/modules/uploads/components/zone.client.mjs.map +1 -0
- package/dist/modules/uploads/hooks/use-upload-image.client.d.mts +34 -0
- package/dist/modules/uploads/hooks/use-upload-image.client.d.mts.map +1 -0
- package/dist/modules/uploads/hooks/use-upload-image.client.mjs +101 -0
- package/dist/modules/uploads/hooks/use-upload-image.client.mjs.map +1 -0
- package/dist/modules/uploads/hooks/use-upload-zone.client.d.mts +39 -0
- package/dist/modules/uploads/hooks/use-upload-zone.client.d.mts.map +1 -0
- package/dist/modules/uploads/hooks/use-upload-zone.client.mjs +20 -0
- package/dist/modules/uploads/hooks/use-upload-zone.client.mjs.map +1 -0
- package/dist/modules/uploads/lib/constants.d.mts +9 -0
- package/dist/modules/uploads/lib/constants.d.mts.map +1 -0
- package/dist/modules/uploads/lib/constants.mjs +17 -0
- package/dist/modules/uploads/lib/constants.mjs.map +1 -0
- package/dist/modules/uploads/lib/filters.d.mts +15 -0
- package/dist/modules/uploads/lib/filters.d.mts.map +1 -0
- package/dist/modules/uploads/lib/filters.mjs +15 -0
- package/dist/modules/uploads/lib/filters.mjs.map +1 -0
- package/dist/modules/uploads/lib/helpers.d.mts +36 -0
- package/dist/modules/uploads/lib/helpers.d.mts.map +1 -0
- package/dist/modules/uploads/lib/helpers.mjs +93 -0
- package/dist/modules/uploads/lib/helpers.mjs.map +1 -0
- package/dist/modules/uploads/lib/procedures.server.d.mts +13628 -0
- package/dist/modules/uploads/lib/procedures.server.d.mts.map +1 -0
- package/dist/modules/uploads/lib/procedures.server.mjs +176 -0
- package/dist/modules/uploads/lib/procedures.server.mjs.map +1 -0
- package/dist/modules/uploads/lib/proxy.server.d.mts +54 -0
- package/dist/modules/uploads/lib/proxy.server.d.mts.map +1 -0
- package/dist/modules/uploads/lib/proxy.server.mjs +97 -0
- package/dist/modules/uploads/lib/proxy.server.mjs.map +1 -0
- package/dist/modules/uploads/lib/route.server.d.mts +43 -0
- package/dist/modules/uploads/lib/route.server.d.mts.map +1 -0
- package/dist/modules/uploads/lib/route.server.mjs +70 -0
- package/dist/modules/uploads/lib/route.server.mjs.map +1 -0
- package/dist/modules/uploads/lib/schema.d.mts +850 -0
- package/dist/modules/uploads/lib/schema.d.mts.map +1 -0
- package/dist/modules/uploads/lib/schema.mjs +68 -0
- package/dist/modules/uploads/lib/schema.mjs.map +1 -0
- package/dist/modules/uploads/lib/validators.d.mts +1008 -0
- package/dist/modules/uploads/lib/validators.d.mts.map +1 -0
- package/dist/modules/uploads/lib/validators.mjs +26 -0
- package/dist/modules/uploads/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/uploads/client.d.mts +10 -0
- package/dist/uploads/client.mjs +11 -0
- package/dist/uploads/server.d.mts +4 -0
- package/dist/uploads/server.mjs +5 -0
- package/dist/uploads.d.mts +6 -0
- package/dist/uploads.mjs +7 -0
- package/package.json +89 -84
- package/src/components/common/icons.tsx +2 -0
- package/src/components/editor/context.client.tsx +4 -4
- package/src/components/editor/lib/helpers.ts +17 -0
- package/src/components/editor/lib/types.ts +6 -0
- package/src/components/editor/preview.client.tsx +2 -2
- package/src/components/entry.client.ts +1 -1
- 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 +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/date-picker.client.tsx +65 -0
- package/src/components/ui/form.client.tsx +4 -1
- package/src/components/ui/input-recipient.tsx +286 -0
- package/src/entry.ts +6 -0
- 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 +68 -1
- 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 +3 -13
- package/src/modules/auth/handler/init.ts +108 -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 +3 -6
- package/src/modules/auth/lib/helpers.server.ts +5 -5
- 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/dropdown-command.client.tsx +38 -11
- package/src/modules/commands/components/form-dialog-command.client.tsx +45 -17
- package/src/modules/commands/hooks/use-command-action.client.tsx +28 -20
- 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 +17 -11
- package/src/modules/commands/utils/send-mail-command.client.tsx +136 -173
- 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 +5 -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/blob.ts +11 -0
- package/src/modules/config/providers/email.ts +13 -0
- package/src/modules/data-tables/hooks/use-search.client.ts +3 -2
- 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 +9 -2
- package/src/modules/data-tables/tables/inline-table/components/row.client.tsx +2 -1
- package/src/modules/inline-edit/components/combobox-dropdown.client.tsx +6 -0
- package/src/modules/inline-edit/components/editor.client.tsx +7 -2
- package/src/modules/inline-edit/components/input-recipient.client.tsx +43 -0
- package/src/modules/inline-edit/components/input.client.tsx +26 -10
- package/src/modules/inline-edit/components/richtext.client.tsx +2 -0
- package/src/modules/inline-edit/components/select.client.tsx +8 -2
- package/src/modules/inline-edit/entry.client.ts +1 -0
- package/src/modules/inline-edit/hooks/use-inline.client.tsx +3 -3
- 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/uploads/components/dropzone/context.tsx +23 -0
- package/src/modules/uploads/components/dropzone/index.tsx +152 -0
- package/src/modules/uploads/entry.client.ts +2 -0
- package/src/modules/uploads/entry.server.ts +2 -2
- package/src/modules/uploads/lib/filters.ts +4 -1
- package/src/modules/uploads/lib/helpers.ts +17 -0
- package/src/modules/uploads/lib/procedures.server.ts +332 -0
- package/src/modules/uploads/lib/proxy.server.ts +29 -21
- package/src/modules/uploads/lib/route.server.ts +4 -6
- package/src/modules/uploads/lib/schema.ts +2 -2
- package/src/modules/uploads/lib/validators.ts +4 -1
- 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/ui/tree.client.tsx +0 -173
- package/src/modules/auth/handler/server.server.ts +0 -87
- 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/uploads/lib/router.server.ts +0 -340
- /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,137 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { cn } from "../../lib/utils/cn.js";
|
|
5
|
-
import { Button } from "./button.js";
|
|
6
|
-
import { ArrowLeft, ArrowRight } from "lucide-react";
|
|
7
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import * as React$1 from "react";
|
|
9
|
-
import useEmblaCarousel from "embla-carousel-react";
|
|
10
|
-
|
|
11
|
-
//#region src/components/ui/carousel.tsx
|
|
12
|
-
const CarouselContext = React$1.createContext(null);
|
|
13
|
-
function useCarousel() {
|
|
14
|
-
const context = React$1.useContext(CarouselContext);
|
|
15
|
-
if (!context) throw new Error("useCarousel must be used within a <Carousel />");
|
|
16
|
-
return context;
|
|
17
|
-
}
|
|
18
|
-
function Carousel({ orientation = "horizontal", opts, setApi, plugins, className, children,...props }) {
|
|
19
|
-
const [carouselRef, api] = useEmblaCarousel({
|
|
20
|
-
...opts,
|
|
21
|
-
axis: orientation === "horizontal" ? "x" : "y"
|
|
22
|
-
}, plugins);
|
|
23
|
-
const [canScrollPrev, setCanScrollPrev] = React$1.useState(false);
|
|
24
|
-
const [canScrollNext, setCanScrollNext] = React$1.useState(false);
|
|
25
|
-
const onSelect = React$1.useCallback((api$1) => {
|
|
26
|
-
if (!api$1) return;
|
|
27
|
-
setCanScrollPrev(api$1.canScrollPrev());
|
|
28
|
-
setCanScrollNext(api$1.canScrollNext());
|
|
29
|
-
}, []);
|
|
30
|
-
const scrollPrev = React$1.useCallback(() => {
|
|
31
|
-
api?.scrollPrev();
|
|
32
|
-
}, [api]);
|
|
33
|
-
const scrollNext = React$1.useCallback(() => {
|
|
34
|
-
api?.scrollNext();
|
|
35
|
-
}, [api]);
|
|
36
|
-
const handleKeyDown = React$1.useCallback((event) => {
|
|
37
|
-
if (event.key === "ArrowLeft") {
|
|
38
|
-
event.preventDefault();
|
|
39
|
-
scrollPrev();
|
|
40
|
-
} else if (event.key === "ArrowRight") {
|
|
41
|
-
event.preventDefault();
|
|
42
|
-
scrollNext();
|
|
43
|
-
}
|
|
44
|
-
}, [scrollPrev, scrollNext]);
|
|
45
|
-
React$1.useEffect(() => {
|
|
46
|
-
if (!api || !setApi) return;
|
|
47
|
-
setApi(api);
|
|
48
|
-
}, [api, setApi]);
|
|
49
|
-
React$1.useEffect(() => {
|
|
50
|
-
if (!api) return;
|
|
51
|
-
onSelect(api);
|
|
52
|
-
api.on("reInit", onSelect);
|
|
53
|
-
api.on("select", onSelect);
|
|
54
|
-
return () => {
|
|
55
|
-
api?.off("select", onSelect);
|
|
56
|
-
};
|
|
57
|
-
}, [api, onSelect]);
|
|
58
|
-
return /* @__PURE__ */ jsx(CarouselContext.Provider, {
|
|
59
|
-
value: {
|
|
60
|
-
carouselRef,
|
|
61
|
-
api,
|
|
62
|
-
opts,
|
|
63
|
-
orientation: orientation || (opts?.axis === "y" ? "vertical" : "horizontal"),
|
|
64
|
-
scrollPrev,
|
|
65
|
-
scrollNext,
|
|
66
|
-
canScrollPrev,
|
|
67
|
-
canScrollNext
|
|
68
|
-
},
|
|
69
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
70
|
-
onKeyDownCapture: handleKeyDown,
|
|
71
|
-
className: cn("relative", className),
|
|
72
|
-
role: "region",
|
|
73
|
-
"aria-roledescription": "carousel",
|
|
74
|
-
"data-slot": "carousel",
|
|
75
|
-
...props,
|
|
76
|
-
children
|
|
77
|
-
})
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
function CarouselContent({ className,...props }) {
|
|
81
|
-
const { carouselRef, orientation } = useCarousel();
|
|
82
|
-
return /* @__PURE__ */ jsx("div", {
|
|
83
|
-
ref: carouselRef,
|
|
84
|
-
className: "overflow-hidden",
|
|
85
|
-
"data-slot": "carousel-content",
|
|
86
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
87
|
-
className: cn("flex", orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col", className),
|
|
88
|
-
...props
|
|
89
|
-
})
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
function CarouselItem({ className,...props }) {
|
|
93
|
-
const { orientation } = useCarousel();
|
|
94
|
-
return /* @__PURE__ */ jsx("div", {
|
|
95
|
-
role: "group",
|
|
96
|
-
"aria-roledescription": "slide",
|
|
97
|
-
"data-slot": "carousel-item",
|
|
98
|
-
className: cn("min-w-0 shrink-0 grow-0 basis-full", orientation === "horizontal" ? "pl-4" : "pt-4", className),
|
|
99
|
-
...props
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
function CarouselPrevious({ className, variant = "outline", size = "icon",...props }) {
|
|
103
|
-
const { orientation, scrollPrev, canScrollPrev } = useCarousel();
|
|
104
|
-
return /* @__PURE__ */ jsxs(Button, {
|
|
105
|
-
"data-slot": "carousel-previous",
|
|
106
|
-
variant,
|
|
107
|
-
size,
|
|
108
|
-
className: cn("absolute size-8 rounded-full", orientation === "horizontal" ? "-left-12 top-1/2 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90", className),
|
|
109
|
-
disabled: !canScrollPrev,
|
|
110
|
-
onClick: scrollPrev,
|
|
111
|
-
...props,
|
|
112
|
-
children: [/* @__PURE__ */ jsx(ArrowLeft, {}), /* @__PURE__ */ jsx("span", {
|
|
113
|
-
className: "sr-only",
|
|
114
|
-
children: "Previous slide"
|
|
115
|
-
})]
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
function CarouselNext({ className, variant = "outline", size = "icon",...props }) {
|
|
119
|
-
const { orientation, scrollNext, canScrollNext } = useCarousel();
|
|
120
|
-
return /* @__PURE__ */ jsxs(Button, {
|
|
121
|
-
"data-slot": "carousel-next",
|
|
122
|
-
variant,
|
|
123
|
-
size,
|
|
124
|
-
className: cn("absolute size-8 rounded-full", orientation === "horizontal" ? "-right-12 top-1/2 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90", className),
|
|
125
|
-
disabled: !canScrollNext,
|
|
126
|
-
onClick: scrollNext,
|
|
127
|
-
...props,
|
|
128
|
-
children: [/* @__PURE__ */ jsx(ArrowRight, {}), /* @__PURE__ */ jsx("span", {
|
|
129
|
-
className: "sr-only",
|
|
130
|
-
children: "Next slide"
|
|
131
|
-
})]
|
|
132
|
-
});
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
//#endregion
|
|
136
|
-
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious };
|
|
137
|
-
//# sourceMappingURL=carousel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"carousel.js","names":["React","api"],"sources":["../../../src/components/ui/carousel.tsx"],"sourcesContent":["\"use client\";\n\nimport useEmblaCarousel, { type UseEmblaCarouselType } from \"embla-carousel-react\";\nimport { ArrowLeft, ArrowRight } from \"lucide-react\";\nimport * as React from \"react\";\n\nimport { Button } from \"@/components/ui/button\";\nimport { cn } from \"@/lib/utils/cn\";\n\ntype CarouselApi = UseEmblaCarouselType[1];\ntype UseCarouselParameters = Parameters<typeof useEmblaCarousel>;\ntype CarouselOptions = UseCarouselParameters[0];\ntype CarouselPlugin = UseCarouselParameters[1];\n\ntype CarouselProps = {\n opts?: CarouselOptions;\n plugins?: CarouselPlugin;\n orientation?: \"horizontal\" | \"vertical\";\n setApi?: (api: CarouselApi) => void;\n};\n\ntype CarouselContextProps = {\n carouselRef: ReturnType<typeof useEmblaCarousel>[0];\n api: ReturnType<typeof useEmblaCarousel>[1];\n scrollPrev: () => void;\n scrollNext: () => void;\n canScrollPrev: boolean;\n canScrollNext: boolean;\n} & CarouselProps;\n\nconst CarouselContext = React.createContext<CarouselContextProps | null>(null);\n\nfunction useCarousel() {\n const context = React.useContext(CarouselContext);\n\n if (!context) {\n throw new Error(\"useCarousel must be used within a <Carousel />\");\n }\n\n return context;\n}\n\nfunction Carousel({\n orientation = \"horizontal\",\n opts,\n setApi,\n plugins,\n className,\n children,\n ...props\n}: React.ComponentProps<\"div\"> & CarouselProps) {\n const [carouselRef, api] = useEmblaCarousel(\n {\n ...opts,\n axis: orientation === \"horizontal\" ? \"x\" : \"y\",\n },\n plugins,\n );\n const [canScrollPrev, setCanScrollPrev] = React.useState(false);\n const [canScrollNext, setCanScrollNext] = React.useState(false);\n\n const onSelect = React.useCallback((api: CarouselApi) => {\n if (!api) return;\n setCanScrollPrev(api.canScrollPrev());\n setCanScrollNext(api.canScrollNext());\n }, []);\n\n const scrollPrev = React.useCallback(() => {\n api?.scrollPrev();\n }, [api]);\n\n const scrollNext = React.useCallback(() => {\n api?.scrollNext();\n }, [api]);\n\n const handleKeyDown = React.useCallback(\n (event: React.KeyboardEvent<HTMLDivElement>) => {\n if (event.key === \"ArrowLeft\") {\n event.preventDefault();\n scrollPrev();\n } else if (event.key === \"ArrowRight\") {\n event.preventDefault();\n scrollNext();\n }\n },\n [scrollPrev, scrollNext],\n );\n\n React.useEffect(() => {\n if (!api || !setApi) return;\n setApi(api);\n }, [api, setApi]);\n\n React.useEffect(() => {\n if (!api) return;\n onSelect(api);\n api.on(\"reInit\", onSelect);\n api.on(\"select\", onSelect);\n\n return () => {\n api?.off(\"select\", onSelect);\n };\n }, [api, onSelect]);\n\n return (\n <CarouselContext.Provider\n value={{\n carouselRef,\n api: api,\n opts,\n orientation: orientation || (opts?.axis === \"y\" ? \"vertical\" : \"horizontal\"),\n scrollPrev,\n scrollNext,\n canScrollPrev,\n canScrollNext,\n }}\n >\n <div\n onKeyDownCapture={handleKeyDown}\n className={cn(\"relative\", className)}\n role=\"region\"\n aria-roledescription=\"carousel\"\n data-slot=\"carousel\"\n {...props}\n >\n {children}\n </div>\n </CarouselContext.Provider>\n );\n}\n\nfunction CarouselContent({ className, ...props }: React.ComponentProps<\"div\">) {\n const { carouselRef, orientation } = useCarousel();\n\n return (\n <div ref={carouselRef} className=\"overflow-hidden\" data-slot=\"carousel-content\">\n <div\n className={cn(\"flex\", orientation === \"horizontal\" ? \"-ml-4\" : \"-mt-4 flex-col\", className)}\n {...props}\n />\n </div>\n );\n}\n\nfunction CarouselItem({ className, ...props }: React.ComponentProps<\"div\">) {\n const { orientation } = useCarousel();\n\n return (\n <div\n role=\"group\"\n aria-roledescription=\"slide\"\n data-slot=\"carousel-item\"\n className={cn(\n \"min-w-0 shrink-0 grow-0 basis-full\",\n orientation === \"horizontal\" ? \"pl-4\" : \"pt-4\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction CarouselPrevious({\n className,\n variant = \"outline\",\n size = \"icon\",\n ...props\n}: React.ComponentProps<typeof Button>) {\n const { orientation, scrollPrev, canScrollPrev } = useCarousel();\n\n return (\n <Button\n data-slot=\"carousel-previous\"\n variant={variant}\n size={size}\n className={cn(\n \"absolute size-8 rounded-full\",\n orientation === \"horizontal\"\n ? \"-left-12 top-1/2 -translate-y-1/2\"\n : \"-top-12 left-1/2 -translate-x-1/2 rotate-90\",\n className,\n )}\n disabled={!canScrollPrev}\n onClick={scrollPrev}\n {...props}\n >\n <ArrowLeft />\n <span className=\"sr-only\">Previous slide</span>\n </Button>\n );\n}\n\nfunction CarouselNext({\n className,\n variant = \"outline\",\n size = \"icon\",\n ...props\n}: React.ComponentProps<typeof Button>) {\n const { orientation, scrollNext, canScrollNext } = useCarousel();\n\n return (\n <Button\n data-slot=\"carousel-next\"\n variant={variant}\n size={size}\n className={cn(\n \"absolute size-8 rounded-full\",\n orientation === \"horizontal\"\n ? \"-right-12 top-1/2 -translate-y-1/2\"\n : \"-bottom-12 left-1/2 -translate-x-1/2 rotate-90\",\n className,\n )}\n disabled={!canScrollNext}\n onClick={scrollNext}\n {...props}\n >\n <ArrowRight />\n <span className=\"sr-only\">Next slide</span>\n </Button>\n );\n}\n\nexport {\n Carousel,\n CarouselContent,\n CarouselItem,\n CarouselNext,\n CarouselPrevious,\n type CarouselApi,\n};\n"],"mappings":";;;;;;;;;;;AA8BA,MAAM,kBAAkBA,QAAM,cAA2C,KAAK;AAE9E,SAAS,cAAc;CACrB,MAAM,UAAUA,QAAM,WAAW,gBAAgB;AAEjD,KAAI,CAAC,QACH,OAAM,IAAI,MAAM,iDAAiD;AAGnE,QAAO;;AAGT,SAAS,SAAS,EAChB,cAAc,cACd,MACA,QACA,SACA,WACA,SACA,GAAG,SAC2C;CAC9C,MAAM,CAAC,aAAa,OAAO,iBACzB;EACE,GAAG;EACH,MAAM,gBAAgB,eAAe,MAAM;EAC5C,EACD,QACD;CACD,MAAM,CAAC,eAAe,oBAAoBA,QAAM,SAAS,MAAM;CAC/D,MAAM,CAAC,eAAe,oBAAoBA,QAAM,SAAS,MAAM;CAE/D,MAAM,WAAWA,QAAM,aAAa,UAAqB;AACvD,MAAI,CAACC,MAAK;AACV,mBAAiBA,MAAI,eAAe,CAAC;AACrC,mBAAiBA,MAAI,eAAe,CAAC;IACpC,EAAE,CAAC;CAEN,MAAM,aAAaD,QAAM,kBAAkB;AACzC,OAAK,YAAY;IAChB,CAAC,IAAI,CAAC;CAET,MAAM,aAAaA,QAAM,kBAAkB;AACzC,OAAK,YAAY;IAChB,CAAC,IAAI,CAAC;CAET,MAAM,gBAAgBA,QAAM,aACzB,UAA+C;AAC9C,MAAI,MAAM,QAAQ,aAAa;AAC7B,SAAM,gBAAgB;AACtB,eAAY;aACH,MAAM,QAAQ,cAAc;AACrC,SAAM,gBAAgB;AACtB,eAAY;;IAGhB,CAAC,YAAY,WAAW,CACzB;AAED,SAAM,gBAAgB;AACpB,MAAI,CAAC,OAAO,CAAC,OAAQ;AACrB,SAAO,IAAI;IACV,CAAC,KAAK,OAAO,CAAC;AAEjB,SAAM,gBAAgB;AACpB,MAAI,CAAC,IAAK;AACV,WAAS,IAAI;AACb,MAAI,GAAG,UAAU,SAAS;AAC1B,MAAI,GAAG,UAAU,SAAS;AAE1B,eAAa;AACX,QAAK,IAAI,UAAU,SAAS;;IAE7B,CAAC,KAAK,SAAS,CAAC;AAEnB,QACE,oBAAC,gBAAgB;EACf,OAAO;GACL;GACK;GACL;GACA,aAAa,gBAAgB,MAAM,SAAS,MAAM,aAAa;GAC/D;GACA;GACA;GACA;GACD;YAED,oBAAC;GACC,kBAAkB;GAClB,WAAW,GAAG,YAAY,UAAU;GACpC,MAAK;GACL,wBAAqB;GACrB,aAAU;GACV,GAAI;GAEH;IACG;GACmB;;AAI/B,SAAS,gBAAgB,EAAE,UAAW,GAAG,SAAsC;CAC7E,MAAM,EAAE,aAAa,gBAAgB,aAAa;AAElD,QACE,oBAAC;EAAI,KAAK;EAAa,WAAU;EAAkB,aAAU;YAC3D,oBAAC;GACC,WAAW,GAAG,QAAQ,gBAAgB,eAAe,UAAU,kBAAkB,UAAU;GAC3F,GAAI;IACJ;GACE;;AAIV,SAAS,aAAa,EAAE,UAAW,GAAG,SAAsC;CAC1E,MAAM,EAAE,gBAAgB,aAAa;AAErC,QACE,oBAAC;EACC,MAAK;EACL,wBAAqB;EACrB,aAAU;EACV,WAAW,GACT,sCACA,gBAAgB,eAAe,SAAS,QACxC,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,iBAAiB,EACxB,WACA,UAAU,WACV,OAAO,OACP,GAAG,SACmC;CACtC,MAAM,EAAE,aAAa,YAAY,kBAAkB,aAAa;AAEhE,QACE,qBAAC;EACC,aAAU;EACD;EACH;EACN,WAAW,GACT,gCACA,gBAAgB,eACZ,sCACA,+CACJ,UACD;EACD,UAAU,CAAC;EACX,SAAS;EACT,GAAI;aAEJ,oBAAC,cAAY,EACb,oBAAC;GAAK,WAAU;aAAU;IAAqB;GACxC;;AAIb,SAAS,aAAa,EACpB,WACA,UAAU,WACV,OAAO,OACP,GAAG,SACmC;CACtC,MAAM,EAAE,aAAa,YAAY,kBAAkB,aAAa;AAEhE,QACE,qBAAC;EACC,aAAU;EACD;EACH;EACN,WAAW,GACT,gCACA,gBAAgB,eACZ,uCACA,kDACJ,UACD;EACD,UAAU,CAAC;EACX,SAAS;EACT,GAAI;aAEJ,oBAAC,eAAa,EACd,oBAAC;GAAK,WAAU;aAAU;IAAiB;GACpC"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime139 from "react/jsx-runtime";
|
|
2
|
-
import * as React$1 from "react";
|
|
3
|
-
import * as RechartsPrimitive from "recharts";
|
|
4
|
-
|
|
5
|
-
//#region src/components/ui/chart.client.d.ts
|
|
6
|
-
declare const THEMES: {
|
|
7
|
-
readonly light: "";
|
|
8
|
-
readonly dark: ".dark";
|
|
9
|
-
};
|
|
10
|
-
type ChartConfig = { [k in string]: {
|
|
11
|
-
label?: React$1.ReactNode;
|
|
12
|
-
icon?: React$1.ComponentType;
|
|
13
|
-
} & ({
|
|
14
|
-
color?: string;
|
|
15
|
-
theme?: never;
|
|
16
|
-
} | {
|
|
17
|
-
color?: never;
|
|
18
|
-
theme: Record<keyof typeof THEMES, string>;
|
|
19
|
-
}) };
|
|
20
|
-
declare function ChartContainer({
|
|
21
|
-
id,
|
|
22
|
-
className,
|
|
23
|
-
children,
|
|
24
|
-
config,
|
|
25
|
-
...props
|
|
26
|
-
}: React$1.ComponentProps<"div"> & {
|
|
27
|
-
config: ChartConfig;
|
|
28
|
-
children: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
29
|
-
}): react_jsx_runtime139.JSX.Element;
|
|
30
|
-
declare const ChartStyle: ({
|
|
31
|
-
id,
|
|
32
|
-
config
|
|
33
|
-
}: {
|
|
34
|
-
id: string;
|
|
35
|
-
config: ChartConfig;
|
|
36
|
-
}) => react_jsx_runtime139.JSX.Element | null;
|
|
37
|
-
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
38
|
-
declare function ChartTooltipContent({
|
|
39
|
-
active,
|
|
40
|
-
payload,
|
|
41
|
-
className,
|
|
42
|
-
indicator,
|
|
43
|
-
hideLabel,
|
|
44
|
-
hideIndicator,
|
|
45
|
-
label,
|
|
46
|
-
labelFormatter,
|
|
47
|
-
labelClassName,
|
|
48
|
-
formatter,
|
|
49
|
-
color,
|
|
50
|
-
nameKey,
|
|
51
|
-
labelKey
|
|
52
|
-
}: React$1.ComponentProps<typeof RechartsPrimitive.Tooltip> & React$1.ComponentProps<"div"> & {
|
|
53
|
-
hideLabel?: boolean;
|
|
54
|
-
hideIndicator?: boolean;
|
|
55
|
-
indicator?: "line" | "dot" | "dashed";
|
|
56
|
-
nameKey?: string;
|
|
57
|
-
labelKey?: string;
|
|
58
|
-
}): react_jsx_runtime139.JSX.Element | null;
|
|
59
|
-
declare const ChartLegend: typeof RechartsPrimitive.Legend;
|
|
60
|
-
declare function ChartLegendContent({
|
|
61
|
-
className,
|
|
62
|
-
hideIcon,
|
|
63
|
-
payload,
|
|
64
|
-
verticalAlign,
|
|
65
|
-
nameKey
|
|
66
|
-
}: React$1.ComponentProps<"div"> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
|
|
67
|
-
hideIcon?: boolean;
|
|
68
|
-
nameKey?: string;
|
|
69
|
-
}): react_jsx_runtime139.JSX.Element | null;
|
|
70
|
-
//#endregion
|
|
71
|
-
export { ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent };
|
|
72
|
-
//# sourceMappingURL=chart.client.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chart.client.d.ts","names":[],"sources":["../../../src/components/ui/chart.client.tsx"],"sourcesContent":[],"mappings":";;;;;cAQM;;;AALwC,CAAA;AAOlC,KAAA,WAAA,GAAW,QAAA,MAAA,GAAA;EAEX,KAAA,CAAA,EAAA,OAAA,CAAM,SAAA;EACP,IAAA,CAAA,EAAA,OAAA,CAAM,aAAA;IAGiC,CAAA;EAApB,KAAA,CAAA,EAAA,MAAA;EAAM,KAAA,CAAA,EAAA,KAAA;AAoB3B,CAAA,GAAA;EAAc,KAAA,CAAA,EAAA,KAAA;EACrB,KAAA,EArB4B,MAqB5B,CAAA,MAAA,OArBgD,MAqBhD,EAAA,MAAA,CAAA;;iBADO,cAAA,CAIP;EAAA,EAAA;EAAA,SAAA;EAAA,QAAA;EAAA,MAAA;EAAA,GAAA;CAAA,EAEC,OAAA,CAAM,cAFP,CAAA,KAAA,CAAA,GAAA;QAEC,EACO,WADD;UACC,EACE,OAAA,CAAM,cADR,CAAA,OAC8B,iBAAA,CAAkB,mBADhD,CAAA,CAAA,UAAA,CAAA;IAET,oBAAA,CAAA,GAAA,CAAA,OADyD;cAuBpD,UAvBY,EAAA,CAAA;EAAA,EAAA;EAAA;AACjB,CADiB,EAAA;MACjB,MAAA;EAAA,MAAA,EAsByD,WAtBzD;AAAA,CAAA,EAAA,GAsBsE,oBAAA,CAAA,GAAA,CAAA,OAAA,GA2BtE,IAAA;cAEK,YAFL,EAAA,OAEiB,iBAAA,CAAA,OAFjB;iBAIQ,mBAAA,CA/BW;EAAA,MAAA;EAAA,OAAA;EAAA,SAAA;EAAA,SAAA;EAAA,SAAA;EAAA,aAAA;EAAA,KAAA;EAAA,cAAA;EAAA,cAAA;EAAA,SAAA;EAAA,KAAA;EAAA,OAAA;EAAA;AA6B0B,CA7B1B,EA6CjB,OAAA,CAAM,cA7CW,CAAA,OA6CW,iBAAA,CAAkB,OA7C7B,CAAA,GA8ClB,OAAA,CAAM,cA9CY,CAAA,KAAA,CAAA,GAAA;WAAA,CAAA,EAAA,OAAA;eAAsC,CAAA,EAAA,OAAA;WAAa,CAAA,EAAA,MAAA,GAAA,KAAA,GAAA,QAAA;EAAA,OAAA,CAAA,EAAA,MAAA;EA6BjE,QAAA,CAAA,EAAA,MAAwC;AAAA,CAAA,CAAA,EAuB3C,oBAAA,CAAA,GAAA,CAAA,OAAA,GArByB,IAAA;cAsItB,WAtIsB,EAAA,OAsIX,iBAAA,CAAA,MAtIW;iBAwInB,kBAAA,CAvIP;EAAA,SAAA;EAAA,QAAA;EAAA,OAAA;EAAA,aAAA;EAAA;CAAA,EA6IC,OAAA,CAAM,cA7IP,CAAA,KAAA,CAAA,GA8IA,IA9IA,CA8IK,iBAAA,CAAkB,WA9IvB,EAAA,SAAA,GAAA,eAAA,CAAA,GAAA;UACA,CAAA,EAAA,OAAA;SACA,CAAA,EAAA,MAAA;IA+IC,oBAAA,CAAA,GAAA,CAAA,OAAA,GA9ID,IAAA"}
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { cn } from "../../lib/utils/cn.js";
|
|
5
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import * as React$1 from "react";
|
|
7
|
-
import * as RechartsPrimitive from "recharts";
|
|
8
|
-
|
|
9
|
-
//#region src/components/ui/chart.client.tsx
|
|
10
|
-
const THEMES = {
|
|
11
|
-
light: "",
|
|
12
|
-
dark: ".dark"
|
|
13
|
-
};
|
|
14
|
-
const ChartContext = React$1.createContext(null);
|
|
15
|
-
function useChart() {
|
|
16
|
-
const context = React$1.useContext(ChartContext);
|
|
17
|
-
if (!context) throw new Error("useChart must be used within a <ChartContainer />");
|
|
18
|
-
return context;
|
|
19
|
-
}
|
|
20
|
-
function ChartContainer({ id, className, children, config,...props }) {
|
|
21
|
-
const uniqueId = React$1.useId();
|
|
22
|
-
const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
|
|
23
|
-
return /* @__PURE__ */ jsx(ChartContext.Provider, {
|
|
24
|
-
value: { config },
|
|
25
|
-
children: /* @__PURE__ */ jsxs("div", {
|
|
26
|
-
"data-slot": "chart",
|
|
27
|
-
"data-chart": chartId,
|
|
28
|
-
className: cn("[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-surface]:outline-hidden flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-sector[stroke='#fff']]:stroke-transparent", className),
|
|
29
|
-
...props,
|
|
30
|
-
children: [/* @__PURE__ */ jsx(ChartStyle, {
|
|
31
|
-
id: chartId,
|
|
32
|
-
config
|
|
33
|
-
}), /* @__PURE__ */ jsx(RechartsPrimitive.ResponsiveContainer, { children })]
|
|
34
|
-
})
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
const ChartStyle = ({ id, config }) => {
|
|
38
|
-
const colorConfig = Object.entries(config).filter(([, config$1]) => config$1.theme || config$1.color);
|
|
39
|
-
if (!colorConfig.length) return null;
|
|
40
|
-
return /* @__PURE__ */ jsx("style", { dangerouslySetInnerHTML: { __html: Object.entries(THEMES).map(([theme, prefix]) => `
|
|
41
|
-
${prefix} [data-chart=${id}] {
|
|
42
|
-
${colorConfig.map(([key, itemConfig]) => {
|
|
43
|
-
const color = itemConfig.theme?.[theme] || itemConfig.color;
|
|
44
|
-
return color ? ` --color-${key}: ${color};` : null;
|
|
45
|
-
}).join("\n")}
|
|
46
|
-
}
|
|
47
|
-
`).join("\n") } });
|
|
48
|
-
};
|
|
49
|
-
const ChartTooltip = RechartsPrimitive.Tooltip;
|
|
50
|
-
function ChartTooltipContent({ active, payload, className, indicator = "dot", hideLabel = false, hideIndicator = false, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey }) {
|
|
51
|
-
const { config } = useChart();
|
|
52
|
-
const tooltipLabel = React$1.useMemo(() => {
|
|
53
|
-
if (hideLabel || !payload?.length) return null;
|
|
54
|
-
const [item] = payload;
|
|
55
|
-
const itemConfig = getPayloadConfigFromPayload(config, item, `${labelKey || item?.dataKey || item?.name || "value"}`);
|
|
56
|
-
const value = !labelKey && typeof label === "string" ? config[label]?.label || label : itemConfig?.label;
|
|
57
|
-
if (labelFormatter) return /* @__PURE__ */ jsx("div", {
|
|
58
|
-
className: cn("font-medium", labelClassName),
|
|
59
|
-
children: labelFormatter(value, payload)
|
|
60
|
-
});
|
|
61
|
-
if (!value) return null;
|
|
62
|
-
return /* @__PURE__ */ jsx("div", {
|
|
63
|
-
className: cn("font-medium", labelClassName),
|
|
64
|
-
children: value
|
|
65
|
-
});
|
|
66
|
-
}, [
|
|
67
|
-
label,
|
|
68
|
-
labelFormatter,
|
|
69
|
-
payload,
|
|
70
|
-
hideLabel,
|
|
71
|
-
labelClassName,
|
|
72
|
-
config,
|
|
73
|
-
labelKey
|
|
74
|
-
]);
|
|
75
|
-
if (!active || !payload?.length) return null;
|
|
76
|
-
const nestLabel = payload.length === 1 && indicator !== "dot";
|
|
77
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
78
|
-
className: cn("border-border/50 bg-background grid min-w-[8rem] items-start gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs shadow-xl", className),
|
|
79
|
-
children: [!nestLabel ? tooltipLabel : null, /* @__PURE__ */ jsx("div", {
|
|
80
|
-
className: "grid gap-1.5",
|
|
81
|
-
children: payload.map((item, index) => {
|
|
82
|
-
const itemConfig = getPayloadConfigFromPayload(config, item, `${nameKey || item.name || item.dataKey || "value"}`);
|
|
83
|
-
const indicatorColor = color || item.payload.fill || item.color;
|
|
84
|
-
return /* @__PURE__ */ jsx("div", {
|
|
85
|
-
className: cn("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", indicator === "dot" && "items-center"),
|
|
86
|
-
children: formatter && item?.value !== void 0 && item.name ? formatter(item.value, item.name, item, index, item.payload) : /* @__PURE__ */ jsxs(Fragment, { children: [itemConfig?.icon ? /* @__PURE__ */ jsx(itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ jsx("div", {
|
|
87
|
-
className: cn("border-(--color-border) bg-(--color-bg) shrink-0 rounded-[2px]", {
|
|
88
|
-
"h-2.5 w-2.5": indicator === "dot",
|
|
89
|
-
"w-1": indicator === "line",
|
|
90
|
-
"w-0 border-[1.5px] border-dashed bg-transparent": indicator === "dashed",
|
|
91
|
-
"my-0.5": nestLabel && indicator === "dashed"
|
|
92
|
-
}),
|
|
93
|
-
style: {
|
|
94
|
-
"--color-bg": indicatorColor,
|
|
95
|
-
"--color-border": indicatorColor
|
|
96
|
-
}
|
|
97
|
-
}), /* @__PURE__ */ jsxs("div", {
|
|
98
|
-
className: cn("flex flex-1 justify-between leading-none", nestLabel ? "items-end" : "items-center"),
|
|
99
|
-
children: [/* @__PURE__ */ jsxs("div", {
|
|
100
|
-
className: "grid gap-1.5",
|
|
101
|
-
children: [nestLabel ? tooltipLabel : null, /* @__PURE__ */ jsx("span", {
|
|
102
|
-
className: "text-muted-foreground",
|
|
103
|
-
children: itemConfig?.label || item.name
|
|
104
|
-
})]
|
|
105
|
-
}), item.value && /* @__PURE__ */ jsx("span", {
|
|
106
|
-
className: "text-foreground font-mono font-medium tabular-nums",
|
|
107
|
-
children: item.value.toLocaleString()
|
|
108
|
-
})]
|
|
109
|
-
})] })
|
|
110
|
-
}, item.dataKey);
|
|
111
|
-
})
|
|
112
|
-
})]
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
const ChartLegend = RechartsPrimitive.Legend;
|
|
116
|
-
function ChartLegendContent({ className, hideIcon = false, payload, verticalAlign = "bottom", nameKey }) {
|
|
117
|
-
const { config } = useChart();
|
|
118
|
-
if (!payload?.length) return null;
|
|
119
|
-
return /* @__PURE__ */ jsx("div", {
|
|
120
|
-
className: cn("flex items-center justify-center gap-4", verticalAlign === "top" ? "pb-3" : "pt-3", className),
|
|
121
|
-
children: payload.map((item) => {
|
|
122
|
-
const itemConfig = getPayloadConfigFromPayload(config, item, `${nameKey || item.dataKey || "value"}`);
|
|
123
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
124
|
-
className: cn("[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"),
|
|
125
|
-
children: [itemConfig?.icon && !hideIcon ? /* @__PURE__ */ jsx(itemConfig.icon, {}) : /* @__PURE__ */ jsx("div", {
|
|
126
|
-
className: "h-2 w-2 shrink-0 rounded-[2px]",
|
|
127
|
-
style: { backgroundColor: item.color }
|
|
128
|
-
}), itemConfig?.label]
|
|
129
|
-
}, item.value);
|
|
130
|
-
})
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
function getPayloadConfigFromPayload(config, payload, key) {
|
|
134
|
-
if (typeof payload !== "object" || payload === null) return;
|
|
135
|
-
const payloadPayload = "payload" in payload && typeof payload.payload === "object" && payload.payload !== null ? payload.payload : void 0;
|
|
136
|
-
let configLabelKey = key;
|
|
137
|
-
if (key in payload && typeof payload[key] === "string") configLabelKey = payload[key];
|
|
138
|
-
else if (payloadPayload && key in payloadPayload && typeof payloadPayload[key] === "string") configLabelKey = payloadPayload[key];
|
|
139
|
-
return configLabelKey in config ? config[configLabelKey] : config[key];
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
//#endregion
|
|
143
|
-
export { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent };
|
|
144
|
-
//# sourceMappingURL=chart.client.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chart.client.js","names":["React","config","configLabelKey: string"],"sources":["../../../src/components/ui/chart.client.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as RechartsPrimitive from \"recharts\";\n\nimport { cn } from \"@/lib/utils/cn\";\n\n// Format: { THEME_NAME: CSS_SELECTOR }\nconst THEMES = { light: \"\", dark: \".dark\" } as const;\n\nexport type ChartConfig = {\n [k in string]: {\n label?: React.ReactNode;\n icon?: React.ComponentType;\n } & (\n | { color?: string; theme?: never }\n | { color?: never; theme: Record<keyof typeof THEMES, string> }\n );\n};\n\ntype ChartContextProps = {\n config: ChartConfig;\n};\n\nconst ChartContext = React.createContext<ChartContextProps | null>(null);\n\nfunction useChart() {\n const context = React.useContext(ChartContext);\n\n if (!context) {\n throw new Error(\"useChart must be used within a <ChartContainer />\");\n }\n\n return context;\n}\n\nfunction ChartContainer({\n id,\n className,\n children,\n config,\n ...props\n}: React.ComponentProps<\"div\"> & {\n config: ChartConfig;\n children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>[\"children\"];\n}) {\n const uniqueId = React.useId();\n const chartId = `chart-${id || uniqueId.replace(/:/g, \"\")}`;\n\n return (\n <ChartContext.Provider value={{ config }}>\n <div\n data-slot=\"chart\"\n data-chart={chartId}\n className={cn(\n \"[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-surface]:outline-hidden flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-sector[stroke='#fff']]:stroke-transparent\",\n className,\n )}\n {...props}\n >\n <ChartStyle id={chartId} config={config} />\n <RechartsPrimitive.ResponsiveContainer>{children}</RechartsPrimitive.ResponsiveContainer>\n </div>\n </ChartContext.Provider>\n );\n}\n\nconst ChartStyle = ({ id, config }: { id: string; config: ChartConfig }) => {\n const colorConfig = Object.entries(config).filter(([, config]) => config.theme || config.color);\n\n if (!colorConfig.length) {\n return null;\n }\n\n return (\n <style\n dangerouslySetInnerHTML={{\n __html: Object.entries(THEMES)\n .map(\n ([theme, prefix]) => `\n${prefix} [data-chart=${id}] {\n${colorConfig\n .map(([key, itemConfig]) => {\n const color = itemConfig.theme?.[theme as keyof typeof itemConfig.theme] || itemConfig.color;\n return color ? ` --color-${key}: ${color};` : null;\n })\n .join(\"\\n\")}\n}\n`,\n )\n .join(\"\\n\"),\n }}\n />\n );\n};\n\nconst ChartTooltip = RechartsPrimitive.Tooltip;\n\nfunction ChartTooltipContent({\n active,\n payload,\n className,\n indicator = \"dot\",\n hideLabel = false,\n hideIndicator = false,\n label,\n labelFormatter,\n labelClassName,\n formatter,\n color,\n nameKey,\n labelKey,\n}: React.ComponentProps<typeof RechartsPrimitive.Tooltip> &\n React.ComponentProps<\"div\"> & {\n hideLabel?: boolean;\n hideIndicator?: boolean;\n indicator?: \"line\" | \"dot\" | \"dashed\";\n nameKey?: string;\n labelKey?: string;\n }) {\n const { config } = useChart();\n\n const tooltipLabel = React.useMemo(() => {\n if (hideLabel || !payload?.length) {\n return null;\n }\n\n const [item] = payload;\n const key = `${labelKey || item?.dataKey || item?.name || \"value\"}`;\n const itemConfig = getPayloadConfigFromPayload(config, item, key);\n const value =\n !labelKey && typeof label === \"string\"\n ? config[label as keyof typeof config]?.label || label\n : itemConfig?.label;\n\n if (labelFormatter) {\n return (\n <div className={cn(\"font-medium\", labelClassName)}>{labelFormatter(value, payload)}</div>\n );\n }\n\n if (!value) {\n return null;\n }\n\n return <div className={cn(\"font-medium\", labelClassName)}>{value}</div>;\n }, [label, labelFormatter, payload, hideLabel, labelClassName, config, labelKey]);\n\n if (!active || !payload?.length) {\n return null;\n }\n\n const nestLabel = payload.length === 1 && indicator !== \"dot\";\n\n return (\n <div\n className={cn(\n \"border-border/50 bg-background grid min-w-[8rem] items-start gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs shadow-xl\",\n className,\n )}\n >\n {!nestLabel ? tooltipLabel : null}\n <div className=\"grid gap-1.5\">\n {payload.map((item, index) => {\n const key = `${nameKey || item.name || item.dataKey || \"value\"}`;\n const itemConfig = getPayloadConfigFromPayload(config, item, key);\n const indicatorColor = color || item.payload.fill || item.color;\n\n return (\n <div\n key={item.dataKey}\n className={cn(\n \"[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5\",\n indicator === \"dot\" && \"items-center\",\n )}\n >\n {formatter && item?.value !== undefined && item.name ? (\n formatter(item.value, item.name, item, index, item.payload)\n ) : (\n <>\n {itemConfig?.icon ? (\n <itemConfig.icon />\n ) : (\n !hideIndicator && (\n <div\n className={cn(\n \"border-(--color-border) bg-(--color-bg) shrink-0 rounded-[2px]\",\n {\n \"h-2.5 w-2.5\": indicator === \"dot\",\n \"w-1\": indicator === \"line\",\n \"w-0 border-[1.5px] border-dashed bg-transparent\":\n indicator === \"dashed\",\n \"my-0.5\": nestLabel && indicator === \"dashed\",\n },\n )}\n style={\n {\n \"--color-bg\": indicatorColor,\n \"--color-border\": indicatorColor,\n } as React.CSSProperties\n }\n />\n )\n )}\n <div\n className={cn(\n \"flex flex-1 justify-between leading-none\",\n nestLabel ? \"items-end\" : \"items-center\",\n )}\n >\n <div className=\"grid gap-1.5\">\n {nestLabel ? tooltipLabel : null}\n <span className=\"text-muted-foreground\">\n {itemConfig?.label || item.name}\n </span>\n </div>\n {item.value && (\n <span className=\"text-foreground font-mono font-medium tabular-nums\">\n {item.value.toLocaleString()}\n </span>\n )}\n </div>\n </>\n )}\n </div>\n );\n })}\n </div>\n </div>\n );\n}\n\nconst ChartLegend = RechartsPrimitive.Legend;\n\nfunction ChartLegendContent({\n className,\n hideIcon = false,\n payload,\n verticalAlign = \"bottom\",\n nameKey,\n}: React.ComponentProps<\"div\"> &\n Pick<RechartsPrimitive.LegendProps, \"payload\" | \"verticalAlign\"> & {\n hideIcon?: boolean;\n nameKey?: string;\n }) {\n const { config } = useChart();\n\n if (!payload?.length) {\n return null;\n }\n\n return (\n <div\n className={cn(\n \"flex items-center justify-center gap-4\",\n verticalAlign === \"top\" ? \"pb-3\" : \"pt-3\",\n className,\n )}\n >\n {payload.map((item) => {\n const key = `${nameKey || item.dataKey || \"value\"}`;\n const itemConfig = getPayloadConfigFromPayload(config, item, key);\n\n return (\n <div\n key={item.value}\n className={cn(\n \"[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3\",\n )}\n >\n {itemConfig?.icon && !hideIcon ? (\n <itemConfig.icon />\n ) : (\n <div\n className=\"h-2 w-2 shrink-0 rounded-[2px]\"\n style={{\n backgroundColor: item.color,\n }}\n />\n )}\n {itemConfig?.label}\n </div>\n );\n })}\n </div>\n );\n}\n\n// Helper to extract item config from a payload.\nfunction getPayloadConfigFromPayload(config: ChartConfig, payload: unknown, key: string) {\n if (typeof payload !== \"object\" || payload === null) {\n return undefined;\n }\n\n const payloadPayload =\n \"payload\" in payload && typeof payload.payload === \"object\" && payload.payload !== null\n ? payload.payload\n : undefined;\n\n let configLabelKey: string = key;\n\n if (key in payload && typeof payload[key as keyof typeof payload] === \"string\") {\n configLabelKey = payload[key as keyof typeof payload] as string;\n } else if (\n payloadPayload &&\n key in payloadPayload &&\n typeof payloadPayload[key as keyof typeof payloadPayload] === \"string\"\n ) {\n configLabelKey = payloadPayload[key as keyof typeof payloadPayload] as string;\n }\n\n return configLabelKey in config ? config[configLabelKey] : config[key as keyof typeof config];\n}\n\nexport {\n ChartContainer,\n ChartLegend,\n ChartLegendContent,\n ChartStyle,\n ChartTooltip,\n ChartTooltipContent,\n};\n"],"mappings":";;;;;;;;;AAQA,MAAM,SAAS;CAAE,OAAO;CAAI,MAAM;CAAS;AAgB3C,MAAM,eAAeA,QAAM,cAAwC,KAAK;AAExE,SAAS,WAAW;CAClB,MAAM,UAAUA,QAAM,WAAW,aAAa;AAE9C,KAAI,CAAC,QACH,OAAM,IAAI,MAAM,oDAAoD;AAGtE,QAAO;;AAGT,SAAS,eAAe,EACtB,IACA,WACA,UACA,OACA,GAAG,SAIF;CACD,MAAM,WAAWA,QAAM,OAAO;CAC9B,MAAM,UAAU,SAAS,MAAM,SAAS,QAAQ,MAAM,GAAG;AAEzD,QACE,oBAAC,aAAa;EAAS,OAAO,EAAE,QAAQ;YACtC,qBAAC;GACC,aAAU;GACV,cAAY;GACZ,WAAW,GACT,+pBACA,UACD;GACD,GAAI;cAEJ,oBAAC;IAAW,IAAI;IAAiB;KAAU,EAC3C,oBAAC,kBAAkB,uBAAqB,WAAiD;IACrF;GACgB;;AAI5B,MAAM,cAAc,EAAE,IAAI,aAAkD;CAC1E,MAAM,cAAc,OAAO,QAAQ,OAAO,CAAC,QAAQ,GAAGC,cAAYA,SAAO,SAASA,SAAO,MAAM;AAE/F,KAAI,CAAC,YAAY,OACf,QAAO;AAGT,QACE,oBAAC,WACC,yBAAyB,EACvB,QAAQ,OAAO,QAAQ,OAAO,CAC3B,KACE,CAAC,OAAO,YAAY;EAC/B,OAAO,eAAe,GAAG;EACzB,YACC,KAAK,CAAC,KAAK,gBAAgB;EAC1B,MAAM,QAAQ,WAAW,QAAQ,UAA2C,WAAW;AACvF,SAAO,QAAQ,aAAa,IAAI,IAAI,MAAM,KAAK;GAC/C,CACD,KAAK,KAAK,CAAC;;EAGH,CACA,KAAK,KAAK,EACd,GACD;;AAIN,MAAM,eAAe,kBAAkB;AAEvC,SAAS,oBAAoB,EAC3B,QACA,SACA,WACA,YAAY,OACZ,YAAY,OACZ,gBAAgB,OAChB,OACA,gBACA,gBACA,WACA,OACA,SACA,YAQG;CACH,MAAM,EAAE,WAAW,UAAU;CAE7B,MAAM,eAAeD,QAAM,cAAc;AACvC,MAAI,aAAa,CAAC,SAAS,OACzB,QAAO;EAGT,MAAM,CAAC,QAAQ;EAEf,MAAM,aAAa,4BAA4B,QAAQ,MAD3C,GAAG,YAAY,MAAM,WAAW,MAAM,QAAQ,UACO;EACjE,MAAM,QACJ,CAAC,YAAY,OAAO,UAAU,WAC1B,OAAO,QAA+B,SAAS,QAC/C,YAAY;AAElB,MAAI,eACF,QACE,oBAAC;GAAI,WAAW,GAAG,eAAe,eAAe;aAAG,eAAe,OAAO,QAAQ;IAAO;AAI7F,MAAI,CAAC,MACH,QAAO;AAGT,SAAO,oBAAC;GAAI,WAAW,GAAG,eAAe,eAAe;aAAG;IAAY;IACtE;EAAC;EAAO;EAAgB;EAAS;EAAW;EAAgB;EAAQ;EAAS,CAAC;AAEjF,KAAI,CAAC,UAAU,CAAC,SAAS,OACvB,QAAO;CAGT,MAAM,YAAY,QAAQ,WAAW,KAAK,cAAc;AAExD,QACE,qBAAC;EACC,WAAW,GACT,0HACA,UACD;aAEA,CAAC,YAAY,eAAe,MAC7B,oBAAC;GAAI,WAAU;aACZ,QAAQ,KAAK,MAAM,UAAU;IAE5B,MAAM,aAAa,4BAA4B,QAAQ,MAD3C,GAAG,WAAW,KAAK,QAAQ,KAAK,WAAW,UACU;IACjE,MAAM,iBAAiB,SAAS,KAAK,QAAQ,QAAQ,KAAK;AAE1D,WACE,oBAAC;KAEC,WAAW,GACT,uGACA,cAAc,SAAS,eACxB;eAEA,aAAa,MAAM,UAAU,UAAa,KAAK,OAC9C,UAAU,KAAK,OAAO,KAAK,MAAM,MAAM,OAAO,KAAK,QAAQ,GAE3D,4CACG,YAAY,OACX,oBAAC,WAAW,SAAO,GAEnB,CAAC,iBACC,oBAAC;MACC,WAAW,GACT,kEACA;OACE,eAAe,cAAc;OAC7B,OAAO,cAAc;OACrB,mDACE,cAAc;OAChB,UAAU,aAAa,cAAc;OACtC,CACF;MACD,OACE;OACE,cAAc;OACd,kBAAkB;OACnB;OAEH,EAGN,qBAAC;MACC,WAAW,GACT,4CACA,YAAY,cAAc,eAC3B;iBAED,qBAAC;OAAI,WAAU;kBACZ,YAAY,eAAe,MAC5B,oBAAC;QAAK,WAAU;kBACb,YAAY,SAAS,KAAK;SACtB;QACH,EACL,KAAK,SACJ,oBAAC;OAAK,WAAU;iBACb,KAAK,MAAM,gBAAgB;QACvB;OAEL,IACL;OApDA,KAAK,QAsDN;KAER;IACE;GACF;;AAIV,MAAM,cAAc,kBAAkB;AAEtC,SAAS,mBAAmB,EAC1B,WACA,WAAW,OACX,SACA,gBAAgB,UAChB,WAKG;CACH,MAAM,EAAE,WAAW,UAAU;AAE7B,KAAI,CAAC,SAAS,OACZ,QAAO;AAGT,QACE,oBAAC;EACC,WAAW,GACT,0CACA,kBAAkB,QAAQ,SAAS,QACnC,UACD;YAEA,QAAQ,KAAK,SAAS;GAErB,MAAM,aAAa,4BAA4B,QAAQ,MAD3C,GAAG,WAAW,KAAK,WAAW,UACuB;AAEjE,UACE,qBAAC;IAEC,WAAW,GACT,kFACD;eAEA,YAAY,QAAQ,CAAC,WACpB,oBAAC,WAAW,SAAO,GAEnB,oBAAC;KACC,WAAU;KACV,OAAO,EACL,iBAAiB,KAAK,OACvB;MACD,EAEH,YAAY;MAfR,KAAK,MAgBN;IAER;GACE;;AAKV,SAAS,4BAA4B,QAAqB,SAAkB,KAAa;AACvF,KAAI,OAAO,YAAY,YAAY,YAAY,KAC7C;CAGF,MAAM,iBACJ,aAAa,WAAW,OAAO,QAAQ,YAAY,YAAY,QAAQ,YAAY,OAC/E,QAAQ,UACR;CAEN,IAAIE,iBAAyB;AAE7B,KAAI,OAAO,WAAW,OAAO,QAAQ,SAAiC,SACpE,kBAAiB,QAAQ;UAEzB,kBACA,OAAO,kBACP,OAAO,eAAe,SAAwC,SAE9D,kBAAiB,eAAe;AAGlC,QAAO,kBAAkB,SAAS,OAAO,kBAAkB,OAAO"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime301 from "react/jsx-runtime";
|
|
2
|
-
import * as React$1 from "react";
|
|
3
|
-
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
4
|
-
|
|
5
|
-
//#region src/components/ui/checkbox.d.ts
|
|
6
|
-
declare function Checkbox({
|
|
7
|
-
className,
|
|
8
|
-
...props
|
|
9
|
-
}: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime301.JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { Checkbox };
|
|
12
|
-
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","names":[],"sources":["../../../src/components/ui/checkbox.tsx"],"sourcesContent":[],"mappings":";;;;;iBAQS,QAAA;;;GAAkC,OAAA,CAAM,sBAAsB,iBAAA,CAAkB,QAAK,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { cn } from "../../lib/utils/cn.js";
|
|
5
|
-
import { CheckIcon } from "lucide-react";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
import "react";
|
|
8
|
-
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
9
|
-
|
|
10
|
-
//#region src/components/ui/checkbox.tsx
|
|
11
|
-
function Checkbox({ className,...props }) {
|
|
12
|
-
return /* @__PURE__ */ jsx(CheckboxPrimitive.Root, {
|
|
13
|
-
"data-slot": "checkbox",
|
|
14
|
-
className: cn("border-input data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive shadow-xs peer size-4 shrink-0 rounded-[4px] border outline-none transition-shadow focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
15
|
-
...props,
|
|
16
|
-
children: /* @__PURE__ */ jsx(CheckboxPrimitive.Indicator, {
|
|
17
|
-
"data-slot": "checkbox-indicator",
|
|
18
|
-
className: "flex items-center justify-center text-current transition-none",
|
|
19
|
-
children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-3" })
|
|
20
|
-
})
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
//#endregion
|
|
25
|
-
export { Checkbox };
|
|
26
|
-
//# sourceMappingURL=checkbox.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.js","names":[],"sources":["../../../src/components/ui/checkbox.tsx"],"sourcesContent":["\"use client\";\n\nimport * as CheckboxPrimitive from \"@radix-ui/react-checkbox\";\nimport { CheckIcon } from \"lucide-react\";\nimport * as React from \"react\";\n\nimport { cn } from \"@/lib/utils/cn\";\n\nfunction Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>) {\n return (\n <CheckboxPrimitive.Root\n data-slot=\"checkbox\"\n className={cn(\n \"border-input data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive shadow-xs peer size-4 shrink-0 rounded-[4px] border outline-none transition-shadow focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50\",\n className,\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator\n data-slot=\"checkbox-indicator\"\n className=\"flex items-center justify-center text-current transition-none\"\n >\n <CheckIcon className=\"size-3\" />\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n );\n}\n\nexport { Checkbox };\n"],"mappings":";;;;;;;;;;AAQA,SAAS,SAAS,EAAE,UAAW,GAAG,SAA8D;AAC9F,QACE,oBAAC,kBAAkB;EACjB,aAAU;EACV,WAAW,GACT,ybACA,UACD;EACD,GAAI;YAEJ,oBAAC,kBAAkB;GACjB,aAAU;GACV,WAAU;aAEV,oBAAC,aAAU,WAAU,WAAW;IACJ;GACP"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime143 from "react/jsx-runtime";
|
|
2
|
-
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
|
|
3
|
-
|
|
4
|
-
//#region src/components/ui/collapsible.client.d.ts
|
|
5
|
-
declare function Collapsible({
|
|
6
|
-
...props
|
|
7
|
-
}: React.ComponentProps<typeof CollapsiblePrimitive.Root>): react_jsx_runtime143.JSX.Element;
|
|
8
|
-
declare function CollapsibleTrigger({
|
|
9
|
-
...props
|
|
10
|
-
}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): react_jsx_runtime143.JSX.Element;
|
|
11
|
-
declare function CollapsibleContent({
|
|
12
|
-
...props
|
|
13
|
-
}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): react_jsx_runtime143.JSX.Element;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
16
|
-
//# sourceMappingURL=collapsible.client.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collapsible.client.d.ts","names":[],"sources":["../../../src/components/ui/collapsible.client.tsx"],"sourcesContent":[],"mappings":";;;;iBAIS,WAAA;;GAA0B,KAAA,CAAM,sBAAsB,oBAAA,CAAqB,QAAK,oBAAA,CAAA,GAAA,CAAA;iBAIhF,kBAAA;;GAEN,KAAA,CAAM,sBAAsB,oBAAA,CAAqB,sBAAmB,oBAAA,CAAA,GAAA,CAAA;iBAI9D,kBAAA;;GAEN,KAAA,CAAM,sBAAsB,oBAAA,CAAqB,sBAAmB,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
|
|
6
|
-
|
|
7
|
-
//#region src/components/ui/collapsible.client.tsx
|
|
8
|
-
function Collapsible({ ...props }) {
|
|
9
|
-
return /* @__PURE__ */ jsx(CollapsiblePrimitive.Root, {
|
|
10
|
-
"data-slot": "collapsible",
|
|
11
|
-
...props
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
function CollapsibleTrigger({ ...props }) {
|
|
15
|
-
return /* @__PURE__ */ jsx(CollapsiblePrimitive.CollapsibleTrigger, {
|
|
16
|
-
"data-slot": "collapsible-trigger",
|
|
17
|
-
...props
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
function CollapsibleContent({ ...props }) {
|
|
21
|
-
return /* @__PURE__ */ jsx(CollapsiblePrimitive.CollapsibleContent, {
|
|
22
|
-
"data-slot": "collapsible-content",
|
|
23
|
-
...props
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
29
|
-
//# sourceMappingURL=collapsible.client.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collapsible.client.js","names":[],"sources":["../../../src/components/ui/collapsible.client.tsx"],"sourcesContent":["\"use client\";\n\nimport * as CollapsiblePrimitive from \"@radix-ui/react-collapsible\";\n\nfunction Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>) {\n return <CollapsiblePrimitive.Root data-slot=\"collapsible\" {...props} />;\n}\n\nfunction CollapsibleTrigger({\n ...props\n}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>) {\n return <CollapsiblePrimitive.CollapsibleTrigger data-slot=\"collapsible-trigger\" {...props} />;\n}\n\nfunction CollapsibleContent({\n ...props\n}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>) {\n return <CollapsiblePrimitive.CollapsibleContent data-slot=\"collapsible-content\" {...props} />;\n}\n\nexport { Collapsible, CollapsibleContent, CollapsibleTrigger };\n"],"mappings":";;;;;;;AAIA,SAAS,YAAY,EAAE,GAAG,SAAiE;AACzF,QAAO,oBAAC,qBAAqB;EAAK,aAAU;EAAc,GAAI;GAAS;;AAGzE,SAAS,mBAAmB,EAC1B,GAAG,SACoE;AACvE,QAAO,oBAAC,qBAAqB;EAAmB,aAAU;EAAsB,GAAI;GAAS;;AAG/F,SAAS,mBAAmB,EAC1B,GAAG,SACoE;AACvE,QAAO,oBAAC,qBAAqB;EAAmB,aAAU;EAAsB,GAAI;GAAS"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime146 from "react/jsx-runtime";
|
|
2
|
-
import { ComponentProps } from "react";
|
|
3
|
-
|
|
4
|
-
//#region src/components/ui/color-picker.client.d.ts
|
|
5
|
-
type ColorPickerProps = ComponentProps<"div"> & {
|
|
6
|
-
onValueChange?: (color: string) => void;
|
|
7
|
-
};
|
|
8
|
-
declare function ColorPicker({
|
|
9
|
-
color,
|
|
10
|
-
onValueChange,
|
|
11
|
-
className,
|
|
12
|
-
...props
|
|
13
|
-
}: ColorPickerProps): react_jsx_runtime146.JSX.Element;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { ColorPicker };
|
|
16
|
-
//# sourceMappingURL=color-picker.client.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"color-picker.client.d.ts","names":[],"sources":["../../../src/components/ui/color-picker.client.tsx"],"sourcesContent":[],"mappings":";;;;KAMK,gBAAA,GAAmB;;;AAAnB,iBAIW,WAAA,CAJQ;EAAA,KAAA;EAAA,aAAc;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAIqC,gBAJrC,CAAA,EAIqD,oBAAA,CAAA,GAAA,CAAA,OAJrD"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { cn } from "../../lib/utils/cn.js";
|
|
5
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { HexColorPicker } from "react-colorful";
|
|
7
|
-
|
|
8
|
-
//#region src/components/ui/color-picker.client.tsx
|
|
9
|
-
function ColorPicker({ color, onValueChange, className,...props }) {
|
|
10
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
11
|
-
className: cn("w-[200px] space-y-2 p-0", className),
|
|
12
|
-
...props,
|
|
13
|
-
children: [/* @__PURE__ */ jsx(HexColorPicker, { onChange: onValueChange }), /* @__PURE__ */ jsx("div", {
|
|
14
|
-
className: "grid grid-cols-6 items-center justify-evenly gap-2 p-2",
|
|
15
|
-
children: [
|
|
16
|
-
"red",
|
|
17
|
-
"orange",
|
|
18
|
-
"yellow",
|
|
19
|
-
"green",
|
|
20
|
-
"teal",
|
|
21
|
-
"blue",
|
|
22
|
-
"cyan",
|
|
23
|
-
"indigo",
|
|
24
|
-
"violet",
|
|
25
|
-
"gray",
|
|
26
|
-
"black",
|
|
27
|
-
"white"
|
|
28
|
-
].map((color$1) => /* @__PURE__ */ jsx("button", {
|
|
29
|
-
className: "size-6 rounded-full border transition-transform duration-200 hover:scale-110",
|
|
30
|
-
style: { backgroundColor: color$1 },
|
|
31
|
-
onClick: () => onValueChange?.(color$1)
|
|
32
|
-
}, color$1))
|
|
33
|
-
})]
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
//#endregion
|
|
38
|
-
export { ColorPicker };
|
|
39
|
-
//# sourceMappingURL=color-picker.client.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"color-picker.client.js","names":["color"],"sources":["../../../src/components/ui/color-picker.client.tsx"],"sourcesContent":["\"use client\";\n\nimport { cn } from \"@/lib/utils/cn\";\nimport { ComponentProps } from \"react\";\nimport { HexColorPicker } from \"react-colorful\";\n\ntype ColorPickerProps = ComponentProps<\"div\"> & {\n onValueChange?: (color: string) => void;\n};\n\nexport function ColorPicker({ color, onValueChange, className, ...props }: ColorPickerProps) {\n return (\n <div className={cn(\"w-[200px] space-y-2 p-0\", className)} {...props}>\n <HexColorPicker onChange={onValueChange} />\n\n <div className=\"grid grid-cols-6 items-center justify-evenly gap-2 p-2\">\n {[\n \"red\",\n \"orange\",\n \"yellow\",\n \"green\",\n \"teal\",\n \"blue\",\n \"cyan\",\n \"indigo\",\n \"violet\",\n \"gray\",\n \"black\",\n \"white\",\n ].map((color) => (\n <button\n key={color}\n className=\"size-6 rounded-full border transition-transform duration-200 hover:scale-110\"\n style={{ backgroundColor: color }}\n onClick={() => onValueChange?.(color)}\n />\n ))}\n\n {/* <Button\n size=\"sm\"\n variant=\"ghost\"\n className=\"col-span-full mt-1\"\n onClick={() => onValueChange?.(\"transparent\")}\n >\n Verwijder kleur\n </Button> */}\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;;AAUA,SAAgB,YAAY,EAAE,OAAO,eAAe,UAAW,GAAG,SAA2B;AAC3F,QACE,qBAAC;EAAI,WAAW,GAAG,2BAA2B,UAAU;EAAE,GAAI;aAC5D,oBAAC,kBAAe,UAAU,gBAAiB,EAE3C,oBAAC;GAAI,WAAU;aACZ;IACC;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACD,CAAC,KAAK,YACL,oBAAC;IAEC,WAAU;IACV,OAAO,EAAE,iBAAiBA,SAAO;IACjC,eAAe,gBAAgBA,QAAM;MAHhCA,QAIL,CACF;IAUE;GACF"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { PopoverContent } from "./popover.js";
|
|
2
|
-
import * as react_jsx_runtime147 from "react/jsx-runtime";
|
|
3
|
-
import * as React$1 from "react";
|
|
4
|
-
|
|
5
|
-
//#region src/components/ui/combobox-dropdown.client.d.ts
|
|
6
|
-
type ComboboxDropdownItem = {
|
|
7
|
-
id: string;
|
|
8
|
-
value: string;
|
|
9
|
-
label?: React$1.ReactNode;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
};
|
|
12
|
-
type ComboboxDropdownProps<T> = {
|
|
13
|
-
placeholder?: React$1.ReactNode;
|
|
14
|
-
searchPlaceholder?: string;
|
|
15
|
-
items: T[];
|
|
16
|
-
onSelect: (item: T) => void;
|
|
17
|
-
selectedItem?: T;
|
|
18
|
-
renderSelectedItem?: (selectedItem: T) => React$1.ReactNode;
|
|
19
|
-
renderOnCreate?: (value: string) => React$1.ReactNode;
|
|
20
|
-
renderListItem?: (listItem: {
|
|
21
|
-
isChecked: boolean;
|
|
22
|
-
item: T;
|
|
23
|
-
}) => React$1.ReactNode;
|
|
24
|
-
emptyResults?: React$1.ReactNode;
|
|
25
|
-
popoverProps?: React$1.ComponentProps<typeof PopoverContent>;
|
|
26
|
-
disabled?: boolean;
|
|
27
|
-
onCreate?: (value: string) => void;
|
|
28
|
-
className?: string;
|
|
29
|
-
};
|
|
30
|
-
declare function ComboboxDropdown<T extends ComboboxDropdownItem>({
|
|
31
|
-
placeholder,
|
|
32
|
-
searchPlaceholder,
|
|
33
|
-
items,
|
|
34
|
-
onSelect,
|
|
35
|
-
selectedItem: incomingSelectedItem,
|
|
36
|
-
renderSelectedItem,
|
|
37
|
-
renderListItem,
|
|
38
|
-
renderOnCreate,
|
|
39
|
-
emptyResults,
|
|
40
|
-
popoverProps,
|
|
41
|
-
disabled,
|
|
42
|
-
onCreate,
|
|
43
|
-
className
|
|
44
|
-
}: ComboboxDropdownProps<T>): react_jsx_runtime147.JSX.Element;
|
|
45
|
-
//#endregion
|
|
46
|
-
export { ComboboxDropdown, ComboboxDropdownItem, ComboboxDropdownProps };
|
|
47
|
-
//# sourceMappingURL=combobox-dropdown.client.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"combobox-dropdown.client.d.ts","names":[],"sources":["../../../src/components/ui/combobox-dropdown.client.tsx"],"sourcesContent":[],"mappings":";;;;;KAWY,oBAAA;;;EAAA,KAAA,CAAA,EAGF,OAAA,CAAM,SAHgB;EAOpB,QAAA,CAAA,EAAA,OAAA;CAAqB;AACjB,KADJ,qBACU,CAAA,CAAA,CAAA,GAAA;aAEb,CAAA,EAFO,OAAA,CAAM,SAEb;mBACU,CAAA,EAAA,MAAA;OACF,EAFR,CAEQ,EAAA;UACqB,EAAA,CAAA,IAAA,EAFnB,CAEmB,EAAA,GAAA,IAAA;cAAY,CAAA,EADjC,CACiC;oBACN,CAAA,EAAA,CAAA,YAAA,EADN,CACM,EAAA,GADA,OAAA,CAAM,SACN;gBACc,CAAA,EAAA,CAAA,KAAA,EAAA,MAAA,EAAA,GADpB,OAAA,CAAM,SACc;gBAAc,CAAA,EAAA,CAAA,QAAA,EAAA;IACvD,SAAM,EAAA,OAAA;IACsB,IAAA,EAFa,CAEb;KAA5B,GAFiD,OAAA,CAAM,SAEjD;EAAc,YAAA,CAAA,EADpB,OAAA,CAAM,SACc;EAMrB,YAAA,CAAA,EANC,OAAA,CAAM,cAMS,CAAA,OANa,cAMb,CAAA;EAAA,QAAA,CAAA,EAAA,OAAA;UAAW,CAAA,EAAA,CAAA,KAAA,EAAA,MAAA,EAAA,GAAA,IAAA;WACzC,CAAA,EAAA,MAAA;;AAEA,iBAHc,gBAGd,CAAA,UAHyC,oBAGzC,CAAA,CAAA;EAAA,WAAA;EAAA,iBAAA;EAAA,KAAA;EAAA,QAAA;EAAA,YAAA,EAEc,oBAFd;EAAA,kBAAA;EAAA,cAAA;EAAA,cAAA;EAAA,YAAA;EAAA,YAAA;EAAA,QAAA;EAAA,QAAA;EAAA;AAAA,CAAA,EAWC,qBAXD,CAWuB,CAXvB,CAAA,CAAA,EAWyB,oBAAA,CAAA,GAAA,CAAA,OAXzB"}
|