@tulip-systems/core 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/client.d.ts +7 -0
- package/dist/auth/client.js +8 -0
- package/dist/auth/server.d.ts +5 -0
- package/dist/auth/server.js +6 -0
- package/dist/auth.d.ts +4 -0
- package/dist/auth.js +5 -0
- package/dist/commands/client.d.ts +16 -0
- package/dist/commands/client.js +17 -0
- package/dist/commands/server.d.ts +1 -0
- package/dist/commands/server.js +1 -0
- package/dist/commands.d.ts +3 -0
- package/dist/commands.js +3 -0
- package/dist/components/client.d.ts +34 -0
- package/dist/components/client.js +35 -0
- package/dist/components/common/icons.d.ts +57 -0
- package/dist/components/common/icons.d.ts.map +1 -0
- package/dist/components/common/icons.js +118 -0
- package/dist/components/common/icons.js.map +1 -0
- package/dist/components/common/status.d.ts +53 -0
- package/dist/components/common/status.d.ts.map +1 -0
- package/dist/components/common/status.js +56 -0
- package/dist/components/common/status.js.map +1 -0
- package/dist/components/editor/components/block-dropdown.js +83 -0
- package/dist/components/editor/components/block-dropdown.js.map +1 -0
- package/dist/components/editor/components/content.client.d.ts +7 -0
- package/dist/components/editor/components/content.client.d.ts.map +1 -0
- package/dist/components/editor/components/content.client.js +18 -0
- package/dist/components/editor/components/content.client.js.map +1 -0
- package/dist/components/editor/components/fixed-menu.client.d.ts +7 -0
- package/dist/components/editor/components/fixed-menu.client.d.ts.map +1 -0
- package/dist/components/editor/components/fixed-menu.client.js +134 -0
- package/dist/components/editor/components/fixed-menu.client.js.map +1 -0
- package/dist/components/editor/context.client.d.ts +32 -0
- package/dist/components/editor/context.client.d.ts.map +1 -0
- package/dist/components/editor/context.client.js +46 -0
- package/dist/components/editor/context.client.js.map +1 -0
- package/dist/components/editor/index.client.d.ts +11 -0
- package/dist/components/editor/index.client.d.ts.map +1 -0
- package/dist/components/editor/index.client.js +17 -0
- package/dist/components/editor/index.client.js.map +1 -0
- package/dist/components/editor/preview.client.d.ts +12 -0
- package/dist/components/editor/preview.client.d.ts.map +1 -0
- package/dist/components/editor/preview.client.js +20 -0
- package/dist/components/editor/preview.client.js.map +1 -0
- package/dist/components/emails/forget-password-email.js +52 -0
- package/dist/components/emails/forget-password-email.js.map +1 -0
- package/dist/components/header/back-button.client.d.ts +10 -0
- package/dist/components/header/back-button.client.d.ts.map +1 -0
- package/dist/components/header/back-button.client.js +44 -0
- package/dist/components/header/back-button.client.js.map +1 -0
- package/dist/components/header/bottom-bar.client.d.ts +29 -0
- package/dist/components/header/bottom-bar.client.d.ts.map +1 -0
- package/dist/components/header/bottom-bar.client.js +31 -0
- package/dist/components/header/bottom-bar.client.js.map +1 -0
- package/dist/components/header/breadcrumbs.client.d.ts +35 -0
- package/dist/components/header/breadcrumbs.client.d.ts.map +1 -0
- package/dist/components/header/breadcrumbs.client.js +64 -0
- package/dist/components/header/breadcrumbs.client.js.map +1 -0
- package/dist/components/header/header.client.d.ts +12 -0
- package/dist/components/header/header.client.d.ts.map +1 -0
- package/dist/components/header/header.client.js +15 -0
- package/dist/components/header/header.client.js.map +1 -0
- package/dist/components/header/indicator.client.js +26 -0
- package/dist/components/header/indicator.client.js.map +1 -0
- package/dist/components/header/mobile-nav-switcher.client.d.ts +10 -0
- package/dist/components/header/mobile-nav-switcher.client.d.ts.map +1 -0
- package/dist/components/header/mobile-nav-switcher.client.js +20 -0
- package/dist/components/header/mobile-nav-switcher.client.js.map +1 -0
- package/dist/components/header/top-bar.client.d.ts +43 -0
- package/dist/components/header/top-bar.client.d.ts.map +1 -0
- package/dist/components/header/top-bar.client.js +48 -0
- package/dist/components/header/top-bar.client.js.map +1 -0
- package/dist/components/layouts/admin-content.client.js +24 -0
- package/dist/components/layouts/admin-content.client.js.map +1 -0
- package/dist/components/layouts/admin-layout.server.d.ts +14 -0
- package/dist/components/layouts/admin-layout.server.d.ts.map +1 -0
- package/dist/components/layouts/admin-layout.server.js +26 -0
- package/dist/components/layouts/admin-layout.server.js.map +1 -0
- package/dist/components/layouts/admin-loading.d.ts +8 -0
- package/dist/components/layouts/admin-loading.d.ts.map +1 -0
- package/dist/components/layouts/admin-loading.js +14 -0
- package/dist/components/layouts/admin-loading.js.map +1 -0
- package/dist/components/layouts/admin-sidebar-context.client.js +28 -0
- package/dist/components/layouts/admin-sidebar-context.client.js.map +1 -0
- package/dist/components/layouts/admin-sidebar-header.client.js +76 -0
- package/dist/components/layouts/admin-sidebar-header.client.js.map +1 -0
- package/dist/components/layouts/admin-sidebar.client.js +51 -0
- package/dist/components/layouts/admin-sidebar.client.js.map +1 -0
- package/dist/components/layouts/empty-page.d.ts +31 -0
- package/dist/components/layouts/empty-page.d.ts.map +1 -0
- package/dist/components/layouts/empty-page.js +29 -0
- package/dist/components/layouts/empty-page.js.map +1 -0
- package/dist/components/layouts/list-layout.d.ts +12 -0
- package/dist/components/layouts/list-layout.d.ts.map +1 -0
- package/dist/components/layouts/list-layout.js +15 -0
- package/dist/components/layouts/list-layout.js.map +1 -0
- package/dist/components/layouts/not-found-page.d.ts +7 -0
- package/dist/components/layouts/not-found-page.d.ts.map +1 -0
- package/dist/components/layouts/not-found-page.js +14 -0
- package/dist/components/layouts/not-found-page.js.map +1 -0
- package/dist/components/layouts/not-found-section.js +30 -0
- package/dist/components/layouts/not-found-section.js.map +1 -0
- package/dist/components/layouts/providers.client.d.ts +10 -0
- package/dist/components/layouts/providers.client.d.ts.map +1 -0
- package/dist/components/layouts/providers.client.js +32 -0
- package/dist/components/layouts/providers.client.js.map +1 -0
- package/dist/components/layouts/root-layout.server.d.ts +38 -0
- package/dist/components/layouts/root-layout.server.d.ts.map +1 -0
- package/dist/components/layouts/root-layout.server.js +47 -0
- package/dist/components/layouts/root-layout.server.js.map +1 -0
- package/dist/components/layouts/tab-layout.d.ts +23 -0
- package/dist/components/layouts/tab-layout.d.ts.map +1 -0
- package/dist/components/layouts/tab-layout.js +52 -0
- package/dist/components/layouts/tab-layout.js.map +1 -0
- package/dist/components/lists/data-list.d.ts +31 -0
- package/dist/components/lists/data-list.d.ts.map +1 -0
- package/dist/components/lists/data-list.js +36 -0
- package/dist/components/lists/data-list.js.map +1 -0
- package/dist/components/lists/data-stack.d.ts +49 -0
- package/dist/components/lists/data-stack.d.ts.map +1 -0
- package/dist/components/lists/data-stack.js +57 -0
- package/dist/components/lists/data-stack.js.map +1 -0
- package/dist/components/server.d.ts +3 -0
- package/dist/components/server.js +4 -0
- package/dist/components/ui/accordion.d.ts +25 -0
- package/dist/components/ui/accordion.d.ts.map +1 -0
- package/dist/components/ui/accordion.js +49 -0
- package/dist/components/ui/accordion.js.map +1 -0
- package/dist/components/ui/alert-dialog.d.ts +43 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog.js +86 -0
- package/dist/components/ui/alert-dialog.js.map +1 -0
- package/dist/components/ui/alert.d.ts +25 -0
- package/dist/components/ui/alert.d.ts.map +1 -0
- package/dist/components/ui/alert.js +39 -0
- package/dist/components/ui/alert.js.map +1 -0
- package/dist/components/ui/aspect-ratio.d.ts +8 -0
- package/dist/components/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/components/ui/aspect-ratio.js +17 -0
- package/dist/components/ui/aspect-ratio.js.map +1 -0
- package/dist/components/ui/avatar.client.d.ts +20 -0
- package/dist/components/ui/avatar.client.d.ts.map +1 -0
- package/dist/components/ui/avatar.client.js +34 -0
- package/dist/components/ui/avatar.client.js.map +1 -0
- package/dist/components/ui/badge.d.ts +20 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/badge.js +27 -0
- package/dist/components/ui/badge.js.map +1 -0
- package/dist/components/ui/breadcrumb.d.ts +36 -0
- package/dist/components/ui/breadcrumb.d.ts.map +1 -0
- package/dist/components/ui/breadcrumb.js +72 -0
- package/dist/components/ui/breadcrumb.js.map +1 -0
- package/dist/components/ui/button.d.ts +22 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/button.js +44 -0
- package/dist/components/ui/button.js.map +1 -0
- package/dist/components/ui/calendar.d.ts +14 -0
- package/dist/components/ui/calendar.d.ts.map +1 -0
- package/dist/components/ui/calendar.js +57 -0
- package/dist/components/ui/calendar.js.map +1 -0
- package/dist/components/ui/card.d.ts +31 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/card.js +51 -0
- package/dist/components/ui/card.js.map +1 -0
- package/dist/components/ui/carousel.d.ts +48 -0
- package/dist/components/ui/carousel.d.ts.map +1 -0
- package/dist/components/ui/carousel.js +137 -0
- package/dist/components/ui/carousel.js.map +1 -0
- package/dist/components/ui/chart.client.d.ts +72 -0
- package/dist/components/ui/chart.client.d.ts.map +1 -0
- package/dist/components/ui/chart.client.js +144 -0
- package/dist/components/ui/chart.client.js.map +1 -0
- package/dist/components/ui/checkbox.d.ts +12 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/checkbox.js +26 -0
- package/dist/components/ui/checkbox.js.map +1 -0
- package/dist/components/ui/collapsible.client.d.ts +16 -0
- package/dist/components/ui/collapsible.client.d.ts.map +1 -0
- package/dist/components/ui/collapsible.client.js +29 -0
- package/dist/components/ui/collapsible.client.js.map +1 -0
- package/dist/components/ui/color-picker.client.d.ts +16 -0
- package/dist/components/ui/color-picker.client.d.ts.map +1 -0
- package/dist/components/ui/color-picker.client.js +39 -0
- package/dist/components/ui/color-picker.client.js.map +1 -0
- package/dist/components/ui/combobox-dropdown.client.d.ts +47 -0
- package/dist/components/ui/combobox-dropdown.client.d.ts.map +1 -0
- package/dist/components/ui/combobox-dropdown.client.js +95 -0
- package/dist/components/ui/combobox-dropdown.client.js.map +1 -0
- package/dist/components/ui/combobox.client.d.ts +31 -0
- package/dist/components/ui/combobox.client.d.ts.map +1 -0
- package/dist/components/ui/combobox.client.js +68 -0
- package/dist/components/ui/combobox.client.js.map +1 -0
- package/dist/components/ui/command.d.ts +49 -0
- package/dist/components/ui/command.d.ts.map +1 -0
- package/dist/components/ui/command.js +90 -0
- package/dist/components/ui/command.js.map +1 -0
- package/dist/components/ui/context-menu.d.ts +77 -0
- package/dist/components/ui/context-menu.d.ts.map +1 -0
- package/dist/components/ui/context-menu.js +127 -0
- package/dist/components/ui/context-menu.js.map +1 -0
- package/dist/components/ui/dialog.client.d.ts +45 -0
- package/dist/components/ui/dialog.client.d.ts.map +1 -0
- package/dist/components/ui/dialog.client.js +90 -0
- package/dist/components/ui/dialog.client.js.map +1 -0
- package/dist/components/ui/drawer.client.d.ts +45 -0
- package/dist/components/ui/drawer.client.d.ts.map +1 -0
- package/dist/components/ui/drawer.client.js +83 -0
- package/dist/components/ui/drawer.client.js.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +78 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.js +128 -0
- package/dist/components/ui/dropdown-menu.js.map +1 -0
- package/dist/components/ui/form.client.d.ts +46 -0
- package/dist/components/ui/form.client.d.ts.map +1 -0
- package/dist/components/ui/form.client.js +93 -0
- package/dist/components/ui/form.client.js.map +1 -0
- package/dist/components/ui/hover-card.client.d.ts +20 -0
- package/dist/components/ui/hover-card.client.d.ts.map +1 -0
- package/dist/components/ui/hover-card.client.js +34 -0
- package/dist/components/ui/hover-card.client.js.map +1 -0
- package/dist/components/ui/input.d.ts +12 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/input.js +17 -0
- package/dist/components/ui/input.js.map +1 -0
- package/dist/components/ui/label.d.ts +12 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.js +20 -0
- package/dist/components/ui/label.js.map +1 -0
- package/dist/components/ui/navigation-menu.d.ts +47 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -0
- package/dist/components/ui/navigation-menu.js +86 -0
- package/dist/components/ui/navigation-menu.js.map +1 -0
- package/dist/components/ui/pagination.d.ts +40 -0
- package/dist/components/ui/pagination.d.ts.map +1 -0
- package/dist/components/ui/pagination.js +81 -0
- package/dist/components/ui/pagination.js.map +1 -0
- package/dist/components/ui/popover.d.ts +23 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/popover.js +40 -0
- package/dist/components/ui/popover.js.map +1 -0
- package/dist/components/ui/progress.client.d.ts +13 -0
- package/dist/components/ui/progress.client.d.ts.map +1 -0
- package/dist/components/ui/progress.client.js +25 -0
- package/dist/components/ui/progress.client.js.map +1 -0
- package/dist/components/ui/radio-group.d.ts +16 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -0
- package/dist/components/ui/radio-group.js +33 -0
- package/dist/components/ui/radio-group.js.map +1 -0
- package/dist/components/ui/resizable.client.d.ts +22 -0
- package/dist/components/ui/resizable.client.d.ts.map +1 -0
- package/dist/components/ui/resizable.client.js +38 -0
- package/dist/components/ui/resizable.client.js.map +1 -0
- package/dist/components/ui/scroll-area.d.ts +18 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.js +41 -0
- package/dist/components/ui/scroll-area.js.map +1 -0
- package/dist/components/ui/select.client.d.ts +49 -0
- package/dist/components/ui/select.client.d.ts.map +1 -0
- package/dist/components/ui/select.client.js +100 -0
- package/dist/components/ui/select.client.js.map +1 -0
- package/dist/components/ui/separator.d.ts +14 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/separator.js +22 -0
- package/dist/components/ui/separator.js.map +1 -0
- package/dist/components/ui/sheet.client.d.ts +41 -0
- package/dist/components/ui/sheet.client.d.ts.map +1 -0
- package/dist/components/ui/sheet.client.js +84 -0
- package/dist/components/ui/sheet.client.js.map +1 -0
- package/dist/components/ui/sidebar.client.d.ts +168 -0
- package/dist/components/ui/sidebar.client.d.ts.map +1 -0
- package/dist/components/ui/sidebar.client.js +375 -0
- package/dist/components/ui/sidebar.client.js.map +1 -0
- package/dist/components/ui/skeleton.d.ts +10 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeleton.js +15 -0
- package/dist/components/ui/skeleton.js.map +1 -0
- package/dist/components/ui/slider.d.ts +16 -0
- package/dist/components/ui/slider.d.ts.map +1 -0
- package/dist/components/ui/slider.js +41 -0
- package/dist/components/ui/slider.js.map +1 -0
- package/dist/components/ui/sonner.client.d.ts +10 -0
- package/dist/components/ui/sonner.client.d.ts.map +1 -0
- package/dist/components/ui/sonner.client.js +26 -0
- package/dist/components/ui/sonner.client.js.map +1 -0
- package/dist/components/ui/switch.d.ts +12 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/switch.js +24 -0
- package/dist/components/ui/switch.js.map +1 -0
- package/dist/components/ui/tabs.d.ts +24 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/tabs.js +41 -0
- package/dist/components/ui/tabs.js.map +1 -0
- package/dist/components/ui/textarea.d.ts +11 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/textarea.js +16 -0
- package/dist/components/ui/textarea.js.map +1 -0
- package/dist/components/ui/time-input.client.d.ts +16 -0
- package/dist/components/ui/time-input.client.d.ts.map +1 -0
- package/dist/components/ui/time-input.client.js +53 -0
- package/dist/components/ui/time-input.client.js.map +1 -0
- package/dist/components/ui/time-picker-input.client.d.ts +15 -0
- package/dist/components/ui/time-picker-input.client.d.ts.map +1 -0
- package/dist/components/ui/time-picker-input.client.js +65 -0
- package/dist/components/ui/time-picker-input.client.js.map +1 -0
- package/dist/components/ui/toggle-group.client.d.ts +24 -0
- package/dist/components/ui/toggle-group.client.d.ts.map +1 -0
- package/dist/components/ui/toggle-group.client.js +48 -0
- package/dist/components/ui/toggle-group.client.js.map +1 -0
- package/dist/components/ui/toggle.d.ts +20 -0
- package/dist/components/ui/toggle.d.ts.map +1 -0
- package/dist/components/ui/toggle.js +42 -0
- package/dist/components/ui/toggle.js.map +1 -0
- package/dist/components/ui/tooltip.client.d.ts +24 -0
- package/dist/components/ui/tooltip.client.d.ts.map +1 -0
- package/dist/components/ui/tooltip.client.js +41 -0
- package/dist/components/ui/tooltip.client.js.map +1 -0
- package/dist/components/ui/tree.client.d.ts +43 -0
- package/dist/components/ui/tree.client.d.ts.map +1 -0
- package/dist/components/ui/tree.client.js +103 -0
- package/dist/components/ui/tree.client.js.map +1 -0
- package/dist/components.d.ts +38 -0
- package/dist/components.js +39 -0
- package/dist/config/client.d.ts +1 -0
- package/dist/config/client.js +1 -0
- package/dist/config/server.d.ts +8 -0
- package/dist/config/server.js +9 -0
- package/dist/config.d.ts +6 -0
- package/dist/config.js +5 -0
- package/dist/data-tables/client.d.ts +21 -0
- package/dist/data-tables/client.js +22 -0
- package/dist/data-tables/server.d.ts +7 -0
- package/dist/data-tables/server.js +8 -0
- package/dist/data-tables.d.ts +13 -0
- package/dist/data-tables.js +13 -0
- package/dist/inline-edit/client.d.ts +13 -0
- package/dist/inline-edit/client.js +14 -0
- package/dist/inline-edit/server.d.ts +1 -0
- package/dist/inline-edit/server.js +1 -0
- package/dist/inline-edit.d.ts +2 -0
- package/dist/inline-edit.js +3 -0
- package/dist/lib/client.d.ts +4 -0
- package/dist/lib/client.js +5 -0
- package/dist/lib/config/constants.d.ts +5 -0
- package/dist/lib/config/constants.d.ts.map +1 -0
- package/dist/lib/config/constants.js +6 -0
- package/dist/lib/config/constants.js.map +1 -0
- package/dist/lib/hooks/use-action.d.ts +18 -0
- package/dist/lib/hooks/use-action.d.ts.map +1 -0
- package/dist/lib/hooks/use-action.js +42 -0
- package/dist/lib/hooks/use-action.js.map +1 -0
- package/dist/lib/hooks/use-indicator.d.ts +32 -0
- package/dist/lib/hooks/use-indicator.d.ts.map +1 -0
- package/dist/lib/hooks/use-indicator.js +51 -0
- package/dist/lib/hooks/use-indicator.js.map +1 -0
- package/dist/lib/hooks/use-mobile.client.d.ts +7 -0
- package/dist/lib/hooks/use-mobile.client.d.ts.map +1 -0
- package/dist/lib/hooks/use-mobile.client.js +22 -0
- package/dist/lib/hooks/use-mobile.client.js.map +1 -0
- package/dist/lib/server.d.ts +1 -0
- package/dist/lib/server.js +1 -0
- package/dist/lib/types/config.d.ts +12 -0
- package/dist/lib/types/config.d.ts.map +1 -0
- package/dist/lib/utils/array-move.d.ts +11 -0
- package/dist/lib/utils/array-move.d.ts.map +1 -0
- package/dist/lib/utils/array-move.js +13 -0
- package/dist/lib/utils/array-move.js.map +1 -0
- package/dist/lib/utils/cn.d.ts +7 -0
- package/dist/lib/utils/cn.d.ts.map +1 -0
- package/dist/lib/utils/cn.js +11 -0
- package/dist/lib/utils/cn.js.map +1 -0
- package/dist/lib/utils/fonts.d.ts +8 -0
- package/dist/lib/utils/fonts.d.ts.map +1 -0
- package/dist/lib/utils/fonts.js +12 -0
- package/dist/lib/utils/fonts.js.map +1 -0
- package/dist/lib/utils/format.d.ts +41 -0
- package/dist/lib/utils/format.d.ts.map +1 -0
- package/dist/lib/utils/format.js +96 -0
- package/dist/lib/utils/format.js.map +1 -0
- package/dist/lib/utils/manifest.d.ts +9 -0
- package/dist/lib/utils/manifest.d.ts.map +1 -0
- package/dist/lib/utils/manifest.js +36 -0
- package/dist/lib/utils/manifest.js.map +1 -0
- package/dist/lib/utils/time-picker.d.ts +6 -0
- package/dist/lib/utils/time-picker.d.ts.map +1 -0
- package/dist/lib/utils/time-picker.js +104 -0
- package/dist/lib/utils/time-picker.js.map +1 -0
- package/dist/lib/utils/url.d.ts +10 -0
- package/dist/lib/utils/url.d.ts.map +1 -0
- package/dist/lib/utils/url.js +15 -0
- package/dist/lib/utils/url.js.map +1 -0
- package/dist/lib.d.ts +9 -0
- package/dist/lib.js +9 -0
- package/dist/modules/auth/components/allowed.client.d.ts +21 -0
- package/dist/modules/auth/components/allowed.client.d.ts.map +1 -0
- package/dist/modules/auth/components/allowed.client.js +16 -0
- package/dist/modules/auth/components/allowed.client.js.map +1 -0
- package/dist/modules/auth/components/allowed.server.d.ts +23 -0
- package/dist/modules/auth/components/allowed.server.d.ts.map +1 -0
- package/dist/modules/auth/components/allowed.server.js +24 -0
- package/dist/modules/auth/components/allowed.server.js.map +1 -0
- package/dist/modules/auth/components/auth-layout.server.d.ts +11 -0
- package/dist/modules/auth/components/auth-layout.server.d.ts.map +1 -0
- package/dist/modules/auth/components/auth-layout.server.js +40 -0
- package/dist/modules/auth/components/auth-layout.server.js.map +1 -0
- package/dist/modules/auth/components/forget-password-page.client.d.ts +7 -0
- package/dist/modules/auth/components/forget-password-page.client.d.ts.map +1 -0
- package/dist/modules/auth/components/forget-password-page.client.js +73 -0
- package/dist/modules/auth/components/forget-password-page.client.js.map +1 -0
- package/dist/modules/auth/components/login-page.client.d.ts +11 -0
- package/dist/modules/auth/components/login-page.client.d.ts.map +1 -0
- package/dist/modules/auth/components/login-page.client.js +111 -0
- package/dist/modules/auth/components/login-page.client.js.map +1 -0
- package/dist/modules/auth/components/reset-password-page.client.d.ts +12 -0
- package/dist/modules/auth/components/reset-password-page.client.d.ts.map +1 -0
- package/dist/modules/auth/components/reset-password-page.client.js +97 -0
- package/dist/modules/auth/components/reset-password-page.client.js.map +1 -0
- package/dist/modules/auth/components/update-password-command.d.ts +20 -0
- package/dist/modules/auth/components/update-password-command.d.ts.map +1 -0
- package/dist/modules/auth/components/update-password-command.js +50 -0
- package/dist/modules/auth/components/update-password-command.js.map +1 -0
- package/dist/modules/auth/db/schema.d.ts +739 -0
- package/dist/modules/auth/db/schema.d.ts.map +1 -0
- package/dist/modules/auth/db/schema.js +60 -0
- package/dist/modules/auth/db/schema.js.map +1 -0
- package/dist/modules/auth/handler/client.client.d.ts +3806 -0
- package/dist/modules/auth/handler/client.client.d.ts.map +1 -0
- package/dist/modules/auth/handler/client.client.js +16 -0
- package/dist/modules/auth/handler/client.client.js.map +1 -0
- package/dist/modules/auth/handler/route.server.d.ts +17 -0
- package/dist/modules/auth/handler/route.server.d.ts.map +1 -0
- package/dist/modules/auth/handler/route.server.js +32 -0
- package/dist/modules/auth/handler/route.server.js.map +1 -0
- package/dist/modules/auth/handler/server.server.js +61 -0
- package/dist/modules/auth/handler/server.server.js.map +1 -0
- package/dist/modules/auth/hooks/use-permission.client.js +52 -0
- package/dist/modules/auth/hooks/use-permission.client.js.map +1 -0
- package/dist/modules/auth/lib/helpers.server.d.ts +84 -0
- package/dist/modules/auth/lib/helpers.server.d.ts.map +1 -0
- package/dist/modules/auth/lib/helpers.server.js +45 -0
- package/dist/modules/auth/lib/helpers.server.js.map +1 -0
- package/dist/modules/auth/lib/permissions.d.ts +19 -0
- package/dist/modules/auth/lib/permissions.d.ts.map +1 -0
- package/dist/modules/auth/lib/permissions.js +15 -0
- package/dist/modules/auth/lib/permissions.js.map +1 -0
- package/dist/modules/auth/lib/utils.js +21 -0
- package/dist/modules/auth/lib/utils.js.map +1 -0
- package/dist/modules/auth/lib/validators.d.ts +64 -0
- package/dist/modules/auth/lib/validators.d.ts.map +1 -0
- package/dist/modules/auth/lib/validators.js +56 -0
- package/dist/modules/auth/lib/validators.js.map +1 -0
- package/dist/modules/commands/components/alert-dialog-command.client.d.ts +93 -0
- package/dist/modules/commands/components/alert-dialog-command.client.d.ts.map +1 -0
- package/dist/modules/commands/components/alert-dialog-command.client.js +157 -0
- package/dist/modules/commands/components/alert-dialog-command.client.js.map +1 -0
- package/dist/modules/commands/components/click-command.client.d.ts +27 -0
- package/dist/modules/commands/components/click-command.client.d.ts.map +1 -0
- package/dist/modules/commands/components/click-command.client.js +66 -0
- package/dist/modules/commands/components/click-command.client.js.map +1 -0
- package/dist/modules/commands/components/command-trigger.client.d.ts +34 -0
- package/dist/modules/commands/components/command-trigger.client.d.ts.map +1 -0
- package/dist/modules/commands/components/command-trigger.client.js +51 -0
- package/dist/modules/commands/components/command-trigger.client.js.map +1 -0
- package/dist/modules/commands/components/dialog-command.client.d.ts +68 -0
- package/dist/modules/commands/components/dialog-command.client.d.ts.map +1 -0
- package/dist/modules/commands/components/dialog-command.client.js +131 -0
- package/dist/modules/commands/components/dialog-command.client.js.map +1 -0
- package/dist/modules/commands/components/dropdown-command.client.d.ts +60 -0
- package/dist/modules/commands/components/dropdown-command.client.d.ts.map +1 -0
- package/dist/modules/commands/components/dropdown-command.client.js +130 -0
- package/dist/modules/commands/components/dropdown-command.client.js.map +1 -0
- package/dist/modules/commands/components/empty-command.client.d.ts +19 -0
- package/dist/modules/commands/components/empty-command.client.d.ts.map +1 -0
- package/dist/modules/commands/components/empty-command.client.js +57 -0
- package/dist/modules/commands/components/empty-command.client.js.map +1 -0
- package/dist/modules/commands/components/form-dialog-command.client.d.ts +100 -0
- package/dist/modules/commands/components/form-dialog-command.client.d.ts.map +1 -0
- package/dist/modules/commands/components/form-dialog-command.client.js +184 -0
- package/dist/modules/commands/components/form-dialog-command.client.js.map +1 -0
- package/dist/modules/commands/components/render-command.js +16 -0
- package/dist/modules/commands/components/render-command.js.map +1 -0
- package/dist/modules/commands/hooks/context.client.js +33 -0
- package/dist/modules/commands/hooks/context.client.js.map +1 -0
- package/dist/modules/commands/hooks/use-command-action.client.d.ts +21 -0
- package/dist/modules/commands/hooks/use-command-action.client.d.ts.map +1 -0
- package/dist/modules/commands/hooks/use-command-action.client.js +69 -0
- package/dist/modules/commands/hooks/use-command-action.client.js.map +1 -0
- package/dist/modules/commands/hooks/use-command-menu.client.d.ts +16 -0
- package/dist/modules/commands/hooks/use-command-menu.client.d.ts.map +1 -0
- package/dist/modules/commands/hooks/use-command-menu.client.js +90 -0
- package/dist/modules/commands/hooks/use-command-menu.client.js.map +1 -0
- package/dist/modules/commands/lib/definitions.d.ts +54 -0
- package/dist/modules/commands/lib/definitions.d.ts.map +1 -0
- package/dist/modules/commands/lib/factory.d.ts +24 -0
- package/dist/modules/commands/lib/factory.d.ts.map +1 -0
- package/dist/modules/commands/lib/factory.js +8 -0
- package/dist/modules/commands/lib/factory.js.map +1 -0
- package/dist/modules/commands/lib/schema.d.ts +18 -0
- package/dist/modules/commands/lib/schema.d.ts.map +1 -0
- package/dist/modules/commands/menus/context-menu.client.d.ts +27 -0
- package/dist/modules/commands/menus/context-menu.client.d.ts.map +1 -0
- package/dist/modules/commands/menus/context-menu.client.js +61 -0
- package/dist/modules/commands/menus/context-menu.client.js.map +1 -0
- package/dist/modules/commands/menus/data-table-menu.client.js +47 -0
- package/dist/modules/commands/menus/data-table-menu.client.js.map +1 -0
- package/dist/modules/commands/menus/dropdown-menu.client.d.ts +15 -0
- package/dist/modules/commands/menus/dropdown-menu.client.d.ts.map +1 -0
- package/dist/modules/commands/menus/dropdown-menu.client.js +56 -0
- package/dist/modules/commands/menus/dropdown-menu.client.js.map +1 -0
- package/dist/modules/commands/menus/inline-menu.client.d.ts +16 -0
- package/dist/modules/commands/menus/inline-menu.client.d.ts.map +1 -0
- package/dist/modules/commands/menus/inline-menu.client.js +37 -0
- package/dist/modules/commands/menus/inline-menu.client.js.map +1 -0
- package/dist/modules/commands/menus/responsive-menu.client.d.ts +9 -0
- package/dist/modules/commands/menus/responsive-menu.client.d.ts.map +1 -0
- package/dist/modules/commands/menus/responsive-menu.client.js +21 -0
- package/dist/modules/commands/menus/responsive-menu.client.js.map +1 -0
- package/dist/modules/commands/utils/archive-command.client.d.ts +33 -0
- package/dist/modules/commands/utils/archive-command.client.d.ts.map +1 -0
- package/dist/modules/commands/utils/archive-command.client.js +39 -0
- package/dist/modules/commands/utils/archive-command.client.js.map +1 -0
- package/dist/modules/commands/utils/delete-command.client.d.ts +23 -0
- package/dist/modules/commands/utils/delete-command.client.d.ts.map +1 -0
- package/dist/modules/commands/utils/delete-command.client.js +28 -0
- package/dist/modules/commands/utils/delete-command.client.js.map +1 -0
- package/dist/modules/commands/utils/send-mail-command.client.d.ts +41 -0
- package/dist/modules/commands/utils/send-mail-command.client.d.ts.map +1 -0
- package/dist/modules/commands/utils/send-mail-command.client.js +119 -0
- package/dist/modules/commands/utils/send-mail-command.client.js.map +1 -0
- package/dist/modules/config/db/create-client.js +28 -0
- package/dist/modules/config/db/create-client.js.map +1 -0
- package/dist/modules/config/db/helpers.d.ts +15 -0
- package/dist/modules/config/db/helpers.d.ts.map +1 -0
- package/dist/modules/config/db/helpers.js +16 -0
- package/dist/modules/config/db/helpers.js.map +1 -0
- package/dist/modules/config/db/types.d.ts +5 -0
- package/dist/modules/config/db/types.d.ts.map +1 -0
- package/dist/modules/config/lib/config.server.d.ts +37 -0
- package/dist/modules/config/lib/config.server.d.ts.map +1 -0
- package/dist/modules/config/lib/config.server.js +11 -0
- package/dist/modules/config/lib/config.server.js.map +1 -0
- package/dist/modules/config/lib/resolve.server.d.ts +2065 -0
- package/dist/modules/config/lib/resolve.server.d.ts.map +1 -0
- package/dist/modules/config/lib/resolve.server.js +45 -0
- package/dist/modules/config/lib/resolve.server.js.map +1 -0
- package/dist/modules/config/paths/create.server.d.ts +14 -0
- package/dist/modules/config/paths/create.server.d.ts.map +1 -0
- package/dist/modules/config/paths/create.server.js +12 -0
- package/dist/modules/config/paths/create.server.js.map +1 -0
- package/dist/modules/config/paths/get.server.js +47 -0
- package/dist/modules/config/paths/get.server.js.map +1 -0
- package/dist/modules/config/paths/types.d.ts +62 -0
- package/dist/modules/config/paths/types.d.ts.map +1 -0
- package/dist/modules/config/router/client.d.ts +11 -0
- package/dist/modules/config/router/client.d.ts.map +1 -0
- package/dist/modules/config/router/client.js +25 -0
- package/dist/modules/config/router/client.js.map +1 -0
- package/dist/modules/config/router/client.server.d.ts +25 -0
- package/dist/modules/config/router/client.server.d.ts.map +1 -0
- package/dist/modules/config/router/client.server.js +31 -0
- package/dist/modules/config/router/client.server.js.map +1 -0
- package/dist/modules/config/router/context.server.d.ts +2092 -0
- package/dist/modules/config/router/context.server.d.ts.map +1 -0
- package/dist/modules/config/router/context.server.js +23 -0
- package/dist/modules/config/router/context.server.js.map +1 -0
- package/dist/modules/config/router/error.server.d.ts +2 -0
- package/dist/modules/config/router/error.server.js +3 -0
- package/dist/modules/config/router/helpers.js +8 -0
- package/dist/modules/config/router/helpers.js.map +1 -0
- package/dist/modules/config/router/init.server.d.ts +2125 -0
- package/dist/modules/config/router/init.server.d.ts.map +1 -0
- package/dist/modules/config/router/init.server.js +53 -0
- package/dist/modules/config/router/init.server.js.map +1 -0
- package/dist/modules/config/router/query-client.d.ts +11 -0
- package/dist/modules/config/router/query-client.d.ts.map +1 -0
- package/dist/modules/config/router/query-client.js +51 -0
- package/dist/modules/config/router/query-client.js.map +1 -0
- package/dist/modules/config/router/validators.d.ts +14 -0
- package/dist/modules/config/router/validators.d.ts.map +1 -0
- package/dist/modules/config/router/validators.js +11 -0
- package/dist/modules/config/router/validators.js.map +1 -0
- package/dist/modules/data-tables/components/cell/common.client.d.ts +27 -0
- package/dist/modules/data-tables/components/cell/common.client.d.ts.map +1 -0
- package/dist/modules/data-tables/components/cell/common.client.js +36 -0
- package/dist/modules/data-tables/components/cell/common.client.js.map +1 -0
- package/dist/modules/data-tables/components/cell/index.client.d.ts +10 -0
- package/dist/modules/data-tables/components/cell/index.client.d.ts.map +1 -0
- package/dist/modules/data-tables/components/cell/index.client.js +25 -0
- package/dist/modules/data-tables/components/cell/index.client.js.map +1 -0
- package/dist/modules/data-tables/components/cell/select.client.d.ts +10 -0
- package/dist/modules/data-tables/components/cell/select.client.d.ts.map +1 -0
- package/dist/modules/data-tables/components/cell/select.client.js +37 -0
- package/dist/modules/data-tables/components/cell/select.client.js.map +1 -0
- package/dist/modules/data-tables/components/column-header.d.ts +16 -0
- package/dist/modules/data-tables/components/column-header.d.ts.map +1 -0
- package/dist/modules/data-tables/components/column-header.js +47 -0
- package/dist/modules/data-tables/components/column-header.js.map +1 -0
- package/dist/modules/data-tables/components/filters/combobox.client.d.ts +28 -0
- package/dist/modules/data-tables/components/filters/combobox.client.d.ts.map +1 -0
- package/dist/modules/data-tables/components/filters/combobox.client.js +98 -0
- package/dist/modules/data-tables/components/filters/combobox.client.js.map +1 -0
- package/dist/modules/data-tables/components/filters/slider.client.d.ts +23 -0
- package/dist/modules/data-tables/components/filters/slider.client.d.ts.map +1 -0
- package/dist/modules/data-tables/components/filters/slider.client.js +130 -0
- package/dist/modules/data-tables/components/filters/slider.client.js.map +1 -0
- package/dist/modules/data-tables/components/footer.js +30 -0
- package/dist/modules/data-tables/components/footer.js.map +1 -0
- package/dist/modules/data-tables/components/header.d.ts +41 -0
- package/dist/modules/data-tables/components/header.d.ts.map +1 -0
- package/dist/modules/data-tables/components/header.js +44 -0
- package/dist/modules/data-tables/components/header.js.map +1 -0
- package/dist/modules/data-tables/components/layout.d.ts +12 -0
- package/dist/modules/data-tables/components/layout.d.ts.map +1 -0
- package/dist/modules/data-tables/components/layout.js +15 -0
- package/dist/modules/data-tables/components/layout.js.map +1 -0
- package/dist/modules/data-tables/components/search-input.client.d.ts +7 -0
- package/dist/modules/data-tables/components/search-input.client.d.ts.map +1 -0
- package/dist/modules/data-tables/components/search-input.client.js +21 -0
- package/dist/modules/data-tables/components/search-input.client.js.map +1 -0
- package/dist/modules/data-tables/components/skeleton.d.ts +7 -0
- package/dist/modules/data-tables/components/skeleton.d.ts.map +1 -0
- package/dist/modules/data-tables/components/skeleton.js +22 -0
- package/dist/modules/data-tables/components/skeleton.js.map +1 -0
- package/dist/modules/data-tables/components/table.d.ts +34 -0
- package/dist/modules/data-tables/components/table.d.ts.map +1 -0
- package/dist/modules/data-tables/components/table.js +58 -0
- package/dist/modules/data-tables/components/table.js.map +1 -0
- package/dist/modules/data-tables/components/toolbar.d.ts +23 -0
- package/dist/modules/data-tables/components/toolbar.d.ts.map +1 -0
- package/dist/modules/data-tables/components/toolbar.js +22 -0
- package/dist/modules/data-tables/components/toolbar.js.map +1 -0
- package/dist/modules/data-tables/hooks/use-context.client.d.ts +56 -0
- package/dist/modules/data-tables/hooks/use-context.client.d.ts.map +1 -0
- package/dist/modules/data-tables/hooks/use-context.client.js +36 -0
- package/dist/modules/data-tables/hooks/use-context.client.js.map +1 -0
- package/dist/modules/data-tables/hooks/use-search.client.js +37 -0
- package/dist/modules/data-tables/hooks/use-search.client.js.map +1 -0
- package/dist/modules/data-tables/hooks/use-selection.client.js +40 -0
- package/dist/modules/data-tables/hooks/use-selection.client.js.map +1 -0
- package/dist/modules/data-tables/hooks/use-table.client.d.ts +12 -0
- package/dist/modules/data-tables/hooks/use-table.client.d.ts.map +1 -0
- package/dist/modules/data-tables/hooks/use-table.client.js +56 -0
- package/dist/modules/data-tables/hooks/use-table.client.js.map +1 -0
- package/dist/modules/data-tables/lib/converters/cursor.d.ts +19 -0
- package/dist/modules/data-tables/lib/converters/cursor.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/converters/cursor.js +16 -0
- package/dist/modules/data-tables/lib/converters/cursor.js.map +1 -0
- package/dist/modules/data-tables/lib/converters/dto.d.ts +52 -0
- package/dist/modules/data-tables/lib/converters/dto.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/converters/dto.js +25 -0
- package/dist/modules/data-tables/lib/converters/dto.js.map +1 -0
- package/dist/modules/data-tables/lib/converters/filter.d.ts +10 -0
- package/dist/modules/data-tables/lib/converters/filter.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/converters/filter.js +14 -0
- package/dist/modules/data-tables/lib/converters/filter.js.map +1 -0
- package/dist/modules/data-tables/lib/converters/search.d.ts +17 -0
- package/dist/modules/data-tables/lib/converters/search.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/converters/search.js +16 -0
- package/dist/modules/data-tables/lib/converters/search.js.map +1 -0
- package/dist/modules/data-tables/lib/converters/sorting.d.ts +15 -0
- package/dist/modules/data-tables/lib/converters/sorting.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/converters/sorting.js +20 -0
- package/dist/modules/data-tables/lib/converters/sorting.js.map +1 -0
- package/dist/modules/data-tables/lib/filters/config.d.ts +11 -0
- package/dist/modules/data-tables/lib/filters/config.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/filters/config.js +6 -0
- package/dist/modules/data-tables/lib/filters/config.js.map +1 -0
- package/dist/modules/data-tables/lib/filters/parsers.d.ts +32 -0
- package/dist/modules/data-tables/lib/filters/parsers.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/filters/parsers.js +29 -0
- package/dist/modules/data-tables/lib/filters/parsers.js.map +1 -0
- package/dist/modules/data-tables/lib/filters/resolvers.d.ts +24 -0
- package/dist/modules/data-tables/lib/filters/resolvers.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/filters/resolvers.js +49 -0
- package/dist/modules/data-tables/lib/filters/resolvers.js.map +1 -0
- package/dist/modules/data-tables/lib/helpers/create-column.js +11 -0
- package/dist/modules/data-tables/lib/helpers/create-column.js.map +1 -0
- package/dist/modules/data-tables/lib/search-params.d.ts +22 -0
- package/dist/modules/data-tables/lib/search-params.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/search-params.js +17 -0
- package/dist/modules/data-tables/lib/search-params.js.map +1 -0
- package/dist/modules/data-tables/lib/types.d.ts +57 -0
- package/dist/modules/data-tables/lib/types.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/validators.d.ts +21 -0
- package/dist/modules/data-tables/lib/validators.d.ts.map +1 -0
- package/dist/modules/data-tables/lib/validators.js +17 -0
- package/dist/modules/data-tables/lib/validators.js.map +1 -0
- package/dist/modules/data-tables/server/get-data.server.d.ts +30 -0
- package/dist/modules/data-tables/server/get-data.server.d.ts.map +1 -0
- package/dist/modules/data-tables/server/get-data.server.js +48 -0
- package/dist/modules/data-tables/server/get-data.server.js.map +1 -0
- package/dist/modules/data-tables/strategies/helpers/sorting.js +38 -0
- package/dist/modules/data-tables/strategies/helpers/sorting.js.map +1 -0
- package/dist/modules/data-tables/strategies/infinite/components.js +52 -0
- package/dist/modules/data-tables/strategies/infinite/components.js.map +1 -0
- package/dist/modules/data-tables/strategies/infinite/strategy.d.ts +21 -0
- package/dist/modules/data-tables/strategies/infinite/strategy.d.ts.map +1 -0
- package/dist/modules/data-tables/strategies/infinite/strategy.js +49 -0
- package/dist/modules/data-tables/strategies/infinite/strategy.js.map +1 -0
- package/dist/modules/data-tables/strategies/pagination/components.js +133 -0
- package/dist/modules/data-tables/strategies/pagination/components.js.map +1 -0
- package/dist/modules/data-tables/strategies/pagination/strategy.d.ts +13 -0
- package/dist/modules/data-tables/strategies/pagination/strategy.d.ts.map +1 -0
- package/dist/modules/data-tables/strategies/pagination/strategy.js +47 -0
- package/dist/modules/data-tables/strategies/pagination/strategy.js.map +1 -0
- package/dist/modules/data-tables/tables/data-table/components/body.js +34 -0
- package/dist/modules/data-tables/tables/data-table/components/body.js.map +1 -0
- package/dist/modules/data-tables/tables/data-table/components/header.js +14 -0
- package/dist/modules/data-tables/tables/data-table/components/header.js.map +1 -0
- package/dist/modules/data-tables/tables/data-table/components/row.js +25 -0
- package/dist/modules/data-tables/tables/data-table/components/row.js.map +1 -0
- package/dist/modules/data-tables/tables/data-table/components/table.d.ts +11 -0
- package/dist/modules/data-tables/tables/data-table/components/table.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/data-table/components/table.js +38 -0
- package/dist/modules/data-tables/tables/data-table/components/table.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/body.js +71 -0
- package/dist/modules/data-tables/tables/inline-table/components/body.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.ts +12 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.js +16 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.ts +10 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.js +40 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/header.js +11 -0
- package/dist/modules/data-tables/tables/inline-table/components/header.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.ts +29 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.js +53 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.ts +27 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.js +30 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.ts +39 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.js +72 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.ts +12 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.js +16 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.ts +33 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.js +53 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/row.client.js +38 -0
- package/dist/modules/data-tables/tables/inline-table/components/row.client.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/table.d.ts +16 -0
- package/dist/modules/data-tables/tables/inline-table/components/table.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/table.js +47 -0
- package/dist/modules/data-tables/tables/inline-table/components/table.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.ts +47 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.js +59 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-hotkeys.client.js +27 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-hotkeys.client.js.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.d.ts +15 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.d.ts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.js +53 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.js.map +1 -0
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.ts +17 -0
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/combobox-dropdown.client.js +26 -0
- package/dist/modules/inline-edit/components/combobox-dropdown.client.js.map +1 -0
- package/dist/modules/inline-edit/components/combobox.client.d.ts +15 -0
- package/dist/modules/inline-edit/components/combobox.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/combobox.client.js +28 -0
- package/dist/modules/inline-edit/components/combobox.client.js.map +1 -0
- package/dist/modules/inline-edit/components/date-input.client.d.ts +14 -0
- package/dist/modules/inline-edit/components/date-input.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/date-input.client.js +79 -0
- package/dist/modules/inline-edit/components/date-input.client.js.map +1 -0
- package/dist/modules/inline-edit/components/date-picker.client.d.ts +16 -0
- package/dist/modules/inline-edit/components/date-picker.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/date-picker.client.js +51 -0
- package/dist/modules/inline-edit/components/date-picker.client.js.map +1 -0
- package/dist/modules/inline-edit/components/editor.client.d.ts +16 -0
- package/dist/modules/inline-edit/components/editor.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/editor.client.js +35 -0
- package/dist/modules/inline-edit/components/editor.client.js.map +1 -0
- package/dist/modules/inline-edit/components/input-toggle.client.d.ts +17 -0
- package/dist/modules/inline-edit/components/input-toggle.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/input-toggle.client.js +47 -0
- package/dist/modules/inline-edit/components/input-toggle.client.js.map +1 -0
- package/dist/modules/inline-edit/components/input.client.d.ts +30 -0
- package/dist/modules/inline-edit/components/input.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/input.client.js +49 -0
- package/dist/modules/inline-edit/components/input.client.js.map +1 -0
- package/dist/modules/inline-edit/components/richtext.client.d.ts +14 -0
- package/dist/modules/inline-edit/components/richtext.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/richtext.client.js +31 -0
- package/dist/modules/inline-edit/components/richtext.client.js.map +1 -0
- package/dist/modules/inline-edit/components/select.client.d.ts +22 -0
- package/dist/modules/inline-edit/components/select.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/select.client.js +39 -0
- package/dist/modules/inline-edit/components/select.client.js.map +1 -0
- package/dist/modules/inline-edit/components/switch.client.d.ts +14 -0
- package/dist/modules/inline-edit/components/switch.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/switch.client.js +27 -0
- package/dist/modules/inline-edit/components/switch.client.js.map +1 -0
- package/dist/modules/inline-edit/components/toggle.client.d.ts +16 -0
- package/dist/modules/inline-edit/components/toggle.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/components/toggle.client.js +34 -0
- package/dist/modules/inline-edit/components/toggle.client.js.map +1 -0
- package/dist/modules/inline-edit/hooks/context.client.d.ts +28 -0
- package/dist/modules/inline-edit/hooks/context.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/hooks/context.client.js +29 -0
- package/dist/modules/inline-edit/hooks/context.client.js.map +1 -0
- package/dist/modules/inline-edit/hooks/use-inline.client.d.ts +16 -0
- package/dist/modules/inline-edit/hooks/use-inline.client.d.ts.map +1 -0
- package/dist/modules/inline-edit/hooks/use-inline.client.js +57 -0
- package/dist/modules/inline-edit/hooks/use-inline.client.js.map +1 -0
- package/dist/modules/inline-edit/lib/validators.d.ts +58 -0
- package/dist/modules/inline-edit/lib/validators.d.ts.map +1 -0
- package/dist/modules/inline-edit/lib/validators.js +35 -0
- package/dist/modules/inline-edit/lib/validators.js.map +1 -0
- package/dist/modules/uploads/components/button.client.d.ts +12 -0
- package/dist/modules/uploads/components/button.client.d.ts.map +1 -0
- package/dist/modules/uploads/components/button.client.js +35 -0
- package/dist/modules/uploads/components/button.client.js.map +1 -0
- package/dist/modules/uploads/components/images/grid.client.d.ts +11 -0
- package/dist/modules/uploads/components/images/grid.client.d.ts.map +1 -0
- package/dist/modules/uploads/components/images/grid.client.js +120 -0
- package/dist/modules/uploads/components/images/grid.client.js.map +1 -0
- package/dist/modules/uploads/components/images/input.client.d.ts +16 -0
- package/dist/modules/uploads/components/images/input.client.d.ts.map +1 -0
- package/dist/modules/uploads/components/images/input.client.js +28 -0
- package/dist/modules/uploads/components/images/input.client.js.map +1 -0
- package/dist/modules/uploads/components/preview-dialog.client.d.ts +16 -0
- package/dist/modules/uploads/components/preview-dialog.client.d.ts.map +1 -0
- package/dist/modules/uploads/components/preview-dialog.client.js +22 -0
- package/dist/modules/uploads/components/preview-dialog.client.js.map +1 -0
- package/dist/modules/uploads/components/zone.client.d.ts +21 -0
- package/dist/modules/uploads/components/zone.client.d.ts.map +1 -0
- package/dist/modules/uploads/components/zone.client.js +39 -0
- package/dist/modules/uploads/components/zone.client.js.map +1 -0
- package/dist/modules/uploads/hooks/use-upload-image.client.d.ts +33 -0
- package/dist/modules/uploads/hooks/use-upload-image.client.d.ts.map +1 -0
- package/dist/modules/uploads/hooks/use-upload-image.client.js +101 -0
- package/dist/modules/uploads/hooks/use-upload-image.client.js.map +1 -0
- package/dist/modules/uploads/hooks/use-upload-zone.client.d.ts +39 -0
- package/dist/modules/uploads/hooks/use-upload-zone.client.d.ts.map +1 -0
- package/dist/modules/uploads/hooks/use-upload-zone.client.js +20 -0
- package/dist/modules/uploads/hooks/use-upload-zone.client.js.map +1 -0
- package/dist/modules/uploads/lib/constants.d.ts +9 -0
- package/dist/modules/uploads/lib/constants.d.ts.map +1 -0
- package/dist/modules/uploads/lib/constants.js +17 -0
- package/dist/modules/uploads/lib/constants.js.map +1 -0
- package/dist/modules/uploads/lib/filters.d.ts +10 -0
- package/dist/modules/uploads/lib/filters.d.ts.map +1 -0
- package/dist/modules/uploads/lib/filters.js +10 -0
- package/dist/modules/uploads/lib/filters.js.map +1 -0
- package/dist/modules/uploads/lib/helpers.d.ts +32 -0
- package/dist/modules/uploads/lib/helpers.d.ts.map +1 -0
- package/dist/modules/uploads/lib/helpers.js +73 -0
- package/dist/modules/uploads/lib/helpers.js.map +1 -0
- package/dist/modules/uploads/lib/proxy.server.d.ts +46 -0
- package/dist/modules/uploads/lib/proxy.server.d.ts.map +1 -0
- package/dist/modules/uploads/lib/proxy.server.js +96 -0
- package/dist/modules/uploads/lib/proxy.server.js.map +1 -0
- package/dist/modules/uploads/lib/route.server.d.ts +43 -0
- package/dist/modules/uploads/lib/route.server.d.ts.map +1 -0
- package/dist/modules/uploads/lib/route.server.js +72 -0
- package/dist/modules/uploads/lib/route.server.js.map +1 -0
- package/dist/modules/uploads/lib/router.server.d.ts +12765 -0
- package/dist/modules/uploads/lib/router.server.d.ts.map +1 -0
- package/dist/modules/uploads/lib/router.server.js +177 -0
- package/dist/modules/uploads/lib/router.server.js.map +1 -0
- package/dist/modules/uploads/lib/schema.d.ts +815 -0
- package/dist/modules/uploads/lib/schema.d.ts.map +1 -0
- package/dist/modules/uploads/lib/schema.js +66 -0
- package/dist/modules/uploads/lib/schema.js.map +1 -0
- package/dist/modules/uploads/lib/validators.d.ts +939 -0
- package/dist/modules/uploads/lib/validators.d.ts.map +1 -0
- package/dist/modules/uploads/lib/validators.js +25 -0
- package/dist/modules/uploads/lib/validators.js.map +1 -0
- package/dist/uploads/client.d.ts +8 -0
- package/dist/uploads/client.js +9 -0
- package/dist/uploads/server.d.ts +4 -0
- package/dist/uploads/server.js +5 -0
- package/dist/uploads.d.ts +6 -0
- package/dist/uploads.js +7 -0
- package/package.json +164 -0
- package/src/components/common/icons.tsx +159 -0
- package/src/components/common/status.tsx +88 -0
- package/src/components/editor/components/block-dropdown.tsx +107 -0
- package/src/components/editor/components/content.client.tsx +16 -0
- package/src/components/editor/components/fixed-menu.client.tsx +143 -0
- package/src/components/editor/components/spinner.tsx +28 -0
- package/src/components/editor/context.client.tsx +116 -0
- package/src/components/editor/index.client.tsx +13 -0
- package/src/components/editor/preview.client.tsx +13 -0
- package/src/components/editor/utils.ts +201 -0
- package/src/components/emails/forget-password-email.tsx +70 -0
- package/src/components/entry.client.ts +48 -0
- package/src/components/entry.server.ts +5 -0
- package/src/components/entry.ts +52 -0
- package/src/components/forms/form-dialog.tsx +141 -0
- package/src/components/forms/form-layout.tsx +56 -0
- package/src/components/header/back-button.client.tsx +54 -0
- package/src/components/header/bottom-bar.client.tsx +55 -0
- package/src/components/header/breadcrumbs.client.tsx +99 -0
- package/src/components/header/header.client.tsx +10 -0
- package/src/components/header/indicator.client.tsx +28 -0
- package/src/components/header/mobile-nav-switcher.client.tsx +22 -0
- package/src/components/header/top-bar.client.tsx +134 -0
- package/src/components/layouts/admin-content.client.tsx +23 -0
- package/src/components/layouts/admin-layout.server.tsx +31 -0
- package/src/components/layouts/admin-loading.tsx +11 -0
- package/src/components/layouts/admin-sidebar-context.client.tsx +34 -0
- package/src/components/layouts/admin-sidebar-header.client.tsx +98 -0
- package/src/components/layouts/admin-sidebar.client.tsx +88 -0
- package/src/components/layouts/empty-page.tsx +59 -0
- package/src/components/layouts/list-layout.tsx +10 -0
- package/src/components/layouts/not-allowed-page.tsx +44 -0
- package/src/components/layouts/not-found-page.tsx +9 -0
- package/src/components/layouts/not-found-section.tsx +21 -0
- package/src/components/layouts/providers.client.tsx +29 -0
- package/src/components/layouts/root-layout.server.tsx +50 -0
- package/src/components/layouts/tab-layout.tsx +68 -0
- package/src/components/lists/data-list.tsx +48 -0
- package/src/components/lists/data-stack.tsx +71 -0
- package/src/components/ui/accordion.tsx +64 -0
- package/src/components/ui/alert-dialog.tsx +133 -0
- package/src/components/ui/alert.tsx +60 -0
- package/src/components/ui/aspect-ratio.tsx +9 -0
- package/src/components/ui/avatar.client.tsx +41 -0
- package/src/components/ui/badge.tsx +39 -0
- package/src/components/ui/breadcrumb.tsx +102 -0
- package/src/components/ui/button.tsx +56 -0
- package/src/components/ui/calendar.tsx +72 -0
- package/src/components/ui/card.tsx +58 -0
- package/src/components/ui/carousel.tsx +230 -0
- package/src/components/ui/chart.client.tsx +322 -0
- package/src/components/ui/checkbox.tsx +29 -0
- package/src/components/ui/collapsible.client.tsx +21 -0
- package/src/components/ui/color-picker.client.tsx +50 -0
- package/src/components/ui/combobox-dropdown.client.tsx +156 -0
- package/src/components/ui/combobox.client.tsx +110 -0
- package/src/components/ui/command.tsx +154 -0
- package/src/components/ui/context-menu.tsx +224 -0
- package/src/components/ui/dialog.client.tsx +121 -0
- package/src/components/ui/drawer.client.tsx +121 -0
- package/src/components/ui/dropdown-menu.tsx +228 -0
- package/src/components/ui/form.client.tsx +152 -0
- package/src/components/ui/hover-card.client.tsx +36 -0
- package/src/components/ui/input.tsx +21 -0
- package/src/components/ui/label.tsx +21 -0
- package/src/components/ui/navigation-menu.tsx +163 -0
- package/src/components/ui/pagination.tsx +106 -0
- package/src/components/ui/popover.tsx +42 -0
- package/src/components/ui/progress.client.tsx +28 -0
- package/src/components/ui/radio-group.tsx +45 -0
- package/src/components/ui/resizable.client.tsx +51 -0
- package/src/components/ui/scroll-area.tsx +56 -0
- package/src/components/ui/select.client.tsx +166 -0
- package/src/components/ui/separator.tsx +28 -0
- package/src/components/ui/sheet.client.tsx +128 -0
- package/src/components/ui/sidebar.client.tsx +696 -0
- package/src/components/ui/skeleton.tsx +13 -0
- package/src/components/ui/slider.tsx +58 -0
- package/src/components/ui/sonner.client.tsx +28 -0
- package/src/components/ui/switch.tsx +28 -0
- package/src/components/ui/tabs.tsx +54 -0
- package/src/components/ui/textarea.tsx +18 -0
- package/src/components/ui/time-input.client.tsx +56 -0
- package/src/components/ui/time-picker-input.client.tsx +107 -0
- package/src/components/ui/toggle-group.client.tsx +69 -0
- package/src/components/ui/toggle.tsx +46 -0
- package/src/components/ui/tooltip.client.tsx +57 -0
- package/src/components/ui/tree.client.tsx +173 -0
- package/src/entry.ts +104 -0
- package/src/lib/config/constants.ts +1 -0
- package/src/lib/entry.client.ts +6 -0
- package/src/lib/entry.server.ts +0 -0
- package/src/lib/entry.ts +19 -0
- package/src/lib/hooks/use-action.ts +54 -0
- package/src/lib/hooks/use-indicator.tsx +62 -0
- package/src/lib/hooks/use-mobile.client.tsx +21 -0
- package/src/lib/types/config.ts +8 -0
- package/src/lib/utils/array-move.ts +8 -0
- package/src/lib/utils/cn.ts +6 -0
- package/src/lib/utils/fonts.ts +8 -0
- package/src/lib/utils/format.ts +104 -0
- package/src/lib/utils/manifest.ts +35 -0
- package/src/lib/utils/time-picker.ts +139 -0
- package/src/lib/utils/url.ts +12 -0
- package/src/modules/auth/components/allowed.client.tsx +22 -0
- package/src/modules/auth/components/allowed.server.tsx +41 -0
- package/src/modules/auth/components/auth-layout.server.tsx +31 -0
- package/src/modules/auth/components/forget-password-page.client.tsx +78 -0
- package/src/modules/auth/components/login-page.client.tsx +118 -0
- package/src/modules/auth/components/reset-password-page.client.tsx +107 -0
- package/src/modules/auth/components/update-password-command.tsx +79 -0
- package/src/modules/auth/db/schema.ts +76 -0
- package/src/modules/auth/entry.client.ts +6 -0
- package/src/modules/auth/entry.server.ts +4 -0
- package/src/modules/auth/entry.ts +3 -0
- package/src/modules/auth/handler/client.client.ts +24 -0
- package/src/modules/auth/handler/route.server.ts +32 -0
- package/src/modules/auth/handler/server.server.ts +82 -0
- package/src/modules/auth/hooks/use-permission.client.ts +48 -0
- package/src/modules/auth/lib/helpers.server.ts +59 -0
- package/src/modules/auth/lib/permissions.ts +19 -0
- package/src/modules/auth/lib/utils.ts +17 -0
- package/src/modules/auth/lib/validators.ts +91 -0
- package/src/modules/commands/components/alert-dialog-command.client.tsx +284 -0
- package/src/modules/commands/components/click-command.client.tsx +81 -0
- package/src/modules/commands/components/command-trigger.client.tsx +69 -0
- package/src/modules/commands/components/dialog-command.client.tsx +161 -0
- package/src/modules/commands/components/dropdown-command.client.tsx +200 -0
- package/src/modules/commands/components/empty-command.client.tsx +63 -0
- package/src/modules/commands/components/form-dialog-command.client.tsx +243 -0
- package/src/modules/commands/components/render-command.tsx +20 -0
- package/src/modules/commands/entry.client.ts +15 -0
- package/src/modules/commands/entry.server.ts +0 -0
- package/src/modules/commands/entry.ts +2 -0
- package/src/modules/commands/hooks/context.client.tsx +38 -0
- package/src/modules/commands/hooks/use-command-action.client.tsx +95 -0
- package/src/modules/commands/hooks/use-command-menu.client.tsx +260 -0
- package/src/modules/commands/lib/definitions.ts +43 -0
- package/src/modules/commands/lib/factory.ts +5 -0
- package/src/modules/commands/lib/schema.ts +23 -0
- package/src/modules/commands/menus/context-menu.client.tsx +69 -0
- package/src/modules/commands/menus/data-table-menu.client.tsx +46 -0
- package/src/modules/commands/menus/dropdown-menu.client.tsx +50 -0
- package/src/modules/commands/menus/inline-menu.client.tsx +34 -0
- package/src/modules/commands/menus/responsive-menu.client.tsx +18 -0
- package/src/modules/commands/utils/archive-command.client.tsx +53 -0
- package/src/modules/commands/utils/delete-command.client.tsx +58 -0
- package/src/modules/commands/utils/send-mail-command.client.tsx +187 -0
- package/src/modules/config/db/create-client.ts +33 -0
- package/src/modules/config/db/helpers.ts +18 -0
- package/src/modules/config/db/types.ts +1 -0
- package/src/modules/config/entry.client.ts +0 -0
- package/src/modules/config/entry.server.ts +14 -0
- package/src/modules/config/entry.ts +5 -0
- package/src/modules/config/lib/config.server.ts +40 -0
- package/src/modules/config/lib/resolve.server.ts +75 -0
- package/src/modules/config/paths/create.server.ts +10 -0
- package/src/modules/config/paths/get.server.ts +69 -0
- package/src/modules/config/paths/types.ts +64 -0
- package/src/modules/config/router/client.server.tsx +57 -0
- package/src/modules/config/router/client.tsx +31 -0
- package/src/modules/config/router/context.server.ts +29 -0
- package/src/modules/config/router/error.server.ts +1 -0
- package/src/modules/config/router/helpers.ts +3 -0
- package/src/modules/config/router/init.server.ts +77 -0
- package/src/modules/config/router/query-client.ts +63 -0
- package/src/modules/config/router/validators.ts +10 -0
- package/src/modules/data-tables/components/cell/common.client.tsx +35 -0
- package/src/modules/data-tables/components/cell/index.client.tsx +13 -0
- package/src/modules/data-tables/components/cell/select.client.tsx +32 -0
- package/src/modules/data-tables/components/column-header.tsx +65 -0
- package/src/modules/data-tables/components/filters/combobox.client.tsx +150 -0
- package/src/modules/data-tables/components/filters/slider.client.tsx +138 -0
- package/src/modules/data-tables/components/footer.tsx +40 -0
- package/src/modules/data-tables/components/header.tsx +67 -0
- package/src/modules/data-tables/components/layout.tsx +10 -0
- package/src/modules/data-tables/components/search-input.client.tsx +17 -0
- package/src/modules/data-tables/components/skeleton.tsx +39 -0
- package/src/modules/data-tables/components/table.tsx +80 -0
- package/src/modules/data-tables/components/toolbar.tsx +29 -0
- package/src/modules/data-tables/entry.client.ts +39 -0
- package/src/modules/data-tables/entry.server.ts +13 -0
- package/src/modules/data-tables/entry.ts +20 -0
- package/src/modules/data-tables/hooks/use-context.client.tsx +73 -0
- package/src/modules/data-tables/hooks/use-filter.client.ts +31 -0
- package/src/modules/data-tables/hooks/use-search.client.ts +29 -0
- package/src/modules/data-tables/hooks/use-selection.client.ts +57 -0
- package/src/modules/data-tables/hooks/use-table.client.ts +57 -0
- package/src/modules/data-tables/lib/converters/cursor.ts +13 -0
- package/src/modules/data-tables/lib/converters/dto.ts +54 -0
- package/src/modules/data-tables/lib/converters/filter.ts +11 -0
- package/src/modules/data-tables/lib/converters/search.ts +23 -0
- package/src/modules/data-tables/lib/converters/sorting.ts +25 -0
- package/src/modules/data-tables/lib/filters/config.ts +6 -0
- package/src/modules/data-tables/lib/filters/parsers.ts +66 -0
- package/src/modules/data-tables/lib/filters/resolvers.ts +61 -0
- package/src/modules/data-tables/lib/helpers/create-column.ts +9 -0
- package/src/modules/data-tables/lib/search-params.ts +12 -0
- package/src/modules/data-tables/lib/types.ts +63 -0
- package/src/modules/data-tables/lib/validators.ts +22 -0
- package/src/modules/data-tables/server/get-data.server.ts +78 -0
- package/src/modules/data-tables/strategies/helpers/sorting.ts +65 -0
- package/src/modules/data-tables/strategies/infinite/components.tsx +67 -0
- package/src/modules/data-tables/strategies/infinite/strategy.ts +70 -0
- package/src/modules/data-tables/strategies/pagination/components.tsx +117 -0
- package/src/modules/data-tables/strategies/pagination/strategy.ts +53 -0
- package/src/modules/data-tables/tables/data-table/components/body.tsx +48 -0
- package/src/modules/data-tables/tables/data-table/components/header.tsx +18 -0
- package/src/modules/data-tables/tables/data-table/components/row.tsx +40 -0
- package/src/modules/data-tables/tables/data-table/components/table.tsx +30 -0
- package/src/modules/data-tables/tables/inline-table/components/body.tsx +113 -0
- package/src/modules/data-tables/tables/inline-table/components/cells/common.tsx +15 -0
- package/src/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.tsx +40 -0
- package/src/modules/data-tables/tables/inline-table/components/header.tsx +20 -0
- package/src/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.tsx +90 -0
- package/src/modules/data-tables/tables/inline-table/components/inputs/combobox.client.tsx +109 -0
- package/src/modules/data-tables/tables/inline-table/components/inputs/input.client.tsx +108 -0
- package/src/modules/data-tables/tables/inline-table/components/inputs/read-only.tsx +17 -0
- package/src/modules/data-tables/tables/inline-table/components/inputs/select.client.tsx +102 -0
- package/src/modules/data-tables/tables/inline-table/components/row.client.tsx +57 -0
- package/src/modules/data-tables/tables/inline-table/components/table.tsx +42 -0
- package/src/modules/data-tables/tables/inline-table/hooks/context.client.tsx +85 -0
- package/src/modules/data-tables/tables/inline-table/hooks/use-hotkeys.client.ts +117 -0
- package/src/modules/data-tables/tables/inline-table/hooks/use-input.client.ts +65 -0
- package/src/modules/inline-edit/components/combobox-dropdown.client.tsx +38 -0
- package/src/modules/inline-edit/components/combobox.client.tsx +32 -0
- package/src/modules/inline-edit/components/date-input.client.tsx +92 -0
- package/src/modules/inline-edit/components/date-picker.client.tsx +58 -0
- package/src/modules/inline-edit/components/editor.client.tsx +41 -0
- package/src/modules/inline-edit/components/input-toggle.client.tsx +61 -0
- package/src/modules/inline-edit/components/input.client.tsx +65 -0
- package/src/modules/inline-edit/components/richtext.client.tsx +36 -0
- package/src/modules/inline-edit/components/select.client.tsx +62 -0
- package/src/modules/inline-edit/components/switch.client.tsx +29 -0
- package/src/modules/inline-edit/components/toggle.client.tsx +39 -0
- package/src/modules/inline-edit/entry.client.ts +12 -0
- package/src/modules/inline-edit/entry.server.ts +1 -0
- package/src/modules/inline-edit/entry.ts +1 -0
- package/src/modules/inline-edit/hooks/context.client.tsx +29 -0
- package/src/modules/inline-edit/hooks/use-inline.client.tsx +62 -0
- package/src/modules/inline-edit/lib/factory.server.ts +91 -0
- package/src/modules/inline-edit/lib/validators.ts +43 -0
- package/src/modules/uploads/components/button.client.tsx +29 -0
- package/src/modules/uploads/components/images/grid.client.tsx +162 -0
- package/src/modules/uploads/components/images/input.client.tsx +34 -0
- package/src/modules/uploads/components/preview-dialog.client.tsx +21 -0
- package/src/modules/uploads/components/zone.client.tsx +56 -0
- package/src/modules/uploads/entry.client.ts +14 -0
- package/src/modules/uploads/entry.server.ts +6 -0
- package/src/modules/uploads/entry.ts +5 -0
- package/src/modules/uploads/hooks/use-upload-image.client.tsx +131 -0
- package/src/modules/uploads/hooks/use-upload-zone.client.ts +44 -0
- package/src/modules/uploads/lib/constants.ts +10 -0
- package/src/modules/uploads/lib/filters.ts +7 -0
- package/src/modules/uploads/lib/helpers.ts +66 -0
- package/src/modules/uploads/lib/proxy.server.ts +131 -0
- package/src/modules/uploads/lib/route.server.ts +95 -0
- package/src/modules/uploads/lib/router.server.ts +340 -0
- package/src/modules/uploads/lib/schema.ts +82 -0
- package/src/modules/uploads/lib/validators.ts +47 -0
- package/src/styles.css +194 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.client.d.ts","names":[],"sources":["../../../../src/components/editor/components/content.client.tsx"],"sourcesContent":[],"mappings":";;;iBAOgB,aAAA,CAAA,GAAa,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import { TooltipProvider } from "../../ui/tooltip.client.js";
|
|
5
|
+
import { EditorContext } from "../context.client.js";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { useContext } from "react";
|
|
8
|
+
import { EditorContent } from "@tiptap/react";
|
|
9
|
+
|
|
10
|
+
//#region src/components/editor/components/content.client.tsx
|
|
11
|
+
function EditorContent$1() {
|
|
12
|
+
const { editor } = useContext(EditorContext);
|
|
13
|
+
return /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsx(EditorContent, { editor }) });
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { EditorContent$1 as EditorContent };
|
|
18
|
+
//# sourceMappingURL=content.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.client.js","names":["EditorContent","TiptapEditorContent"],"sources":["../../../../src/components/editor/components/content.client.tsx"],"sourcesContent":["\"use client\";\n\nimport { TooltipProvider } from \"@/components/ui/tooltip.client\";\nimport { EditorContent as TiptapEditorContent } from \"@tiptap/react\";\nimport { useContext } from \"react\";\nimport { EditorContext } from \"../context.client\";\n\nexport function EditorContent() {\n const { editor } = useContext(EditorContext);\n\n return (\n <TooltipProvider>\n <TiptapEditorContent editor={editor} />\n </TooltipProvider>\n );\n}\n"],"mappings":";;;;;;;;;;AAOA,SAAgBA,kBAAgB;CAC9B,MAAM,EAAE,WAAW,WAAW,cAAc;AAE5C,QACE,oBAAC,6BACC,oBAACC,iBAA4B,SAAU,GACvB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as react_jsx_runtime30 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/components/editor/components/fixed-menu.client.d.ts
|
|
4
|
+
declare function FixedMenu(): react_jsx_runtime30.JSX.Element;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { FixedMenu };
|
|
7
|
+
//# sourceMappingURL=fixed-menu.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fixed-menu.client.d.ts","names":[],"sources":["../../../../src/components/editor/components/fixed-menu.client.tsx"],"sourcesContent":[],"mappings":";;;iBAmBgB,SAAA,CAAA,GAAS,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { Button } from "../../ui/button.js";
|
|
2
|
+
import { Popover, PopoverContent, PopoverTrigger } from "../../ui/popover.js";
|
|
3
|
+
import { Separator } from "../../ui/separator.js";
|
|
4
|
+
import { EditorContext } from "../context.client.js";
|
|
5
|
+
import { ColorPicker } from "../../ui/color-picker.client.js";
|
|
6
|
+
import { BlockDropdown } from "./block-dropdown.js";
|
|
7
|
+
import { BaselineIcon, BoldIcon, EraserIcon, ItalicIcon, PaintBucketIcon, RedoIcon, StrikethroughIcon, UnderlineIcon, UndoIcon } from "lucide-react";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { useContext } from "react";
|
|
10
|
+
|
|
11
|
+
//#region src/components/editor/components/fixed-menu.client.tsx
|
|
12
|
+
function FixedMenu() {
|
|
13
|
+
const { editor } = useContext(EditorContext);
|
|
14
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
15
|
+
className: "border-input bg-muted/30 z-10 flex items-center gap-3 overflow-auto border-b p-2",
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ jsxs("div", {
|
|
18
|
+
className: "flex items-center gap-1",
|
|
19
|
+
children: [/* @__PURE__ */ jsx(Button, {
|
|
20
|
+
onClick: () => editor.commands.undo(),
|
|
21
|
+
disabled: !editor?.can().undo(),
|
|
22
|
+
type: "button",
|
|
23
|
+
"aria-label": "Undo",
|
|
24
|
+
size: "icon",
|
|
25
|
+
className: "p-2",
|
|
26
|
+
variant: "outline",
|
|
27
|
+
children: /* @__PURE__ */ jsx(UndoIcon, { className: "size-3.5" })
|
|
28
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
29
|
+
onClick: () => editor.commands.redo(),
|
|
30
|
+
disabled: !editor?.can().redo(),
|
|
31
|
+
type: "button",
|
|
32
|
+
"aria-label": "Redo",
|
|
33
|
+
size: "icon",
|
|
34
|
+
className: "p-2",
|
|
35
|
+
variant: "outline",
|
|
36
|
+
children: /* @__PURE__ */ jsx(RedoIcon, { className: "size-3.5" })
|
|
37
|
+
})]
|
|
38
|
+
}),
|
|
39
|
+
/* @__PURE__ */ jsx(Separator, {
|
|
40
|
+
orientation: "vertical",
|
|
41
|
+
className: "h-8"
|
|
42
|
+
}),
|
|
43
|
+
/* @__PURE__ */ jsx(BlockDropdown, {}),
|
|
44
|
+
/* @__PURE__ */ jsx(Separator, {
|
|
45
|
+
orientation: "vertical",
|
|
46
|
+
className: "h-8"
|
|
47
|
+
}),
|
|
48
|
+
/* @__PURE__ */ jsxs("div", {
|
|
49
|
+
className: "flex items-center gap-1",
|
|
50
|
+
children: [
|
|
51
|
+
/* @__PURE__ */ jsx(Button, {
|
|
52
|
+
type: "button",
|
|
53
|
+
size: "icon",
|
|
54
|
+
variant: editor?.isActive("bold") ? "secondary" : "outline",
|
|
55
|
+
onClick: () => editor.chain().focus().toggleBold().run(),
|
|
56
|
+
className: "border",
|
|
57
|
+
children: /* @__PURE__ */ jsx(BoldIcon, { className: "h-3.5 w-3.5" })
|
|
58
|
+
}),
|
|
59
|
+
/* @__PURE__ */ jsx(Button, {
|
|
60
|
+
type: "button",
|
|
61
|
+
size: "icon",
|
|
62
|
+
variant: editor?.isActive("italic") ? "secondary" : "outline",
|
|
63
|
+
onClick: () => editor.chain().focus().toggleItalic().run(),
|
|
64
|
+
className: "border",
|
|
65
|
+
children: /* @__PURE__ */ jsx(ItalicIcon, { className: "size-3.5" })
|
|
66
|
+
}),
|
|
67
|
+
/* @__PURE__ */ jsx(Button, {
|
|
68
|
+
type: "button",
|
|
69
|
+
size: "icon",
|
|
70
|
+
variant: editor?.isActive("underline") ? "secondary" : "outline",
|
|
71
|
+
onClick: () => editor.chain().focus().toggleUnderline().run(),
|
|
72
|
+
className: "border",
|
|
73
|
+
children: /* @__PURE__ */ jsx(UnderlineIcon, { className: "size-3.5" })
|
|
74
|
+
}),
|
|
75
|
+
/* @__PURE__ */ jsx(Button, {
|
|
76
|
+
type: "button",
|
|
77
|
+
size: "icon",
|
|
78
|
+
variant: editor?.isActive("strike") ? "secondary" : "outline",
|
|
79
|
+
onClick: () => editor.chain().focus().toggleStrike().run(),
|
|
80
|
+
className: "border",
|
|
81
|
+
children: /* @__PURE__ */ jsx(StrikethroughIcon, { className: "size-3.5" })
|
|
82
|
+
})
|
|
83
|
+
]
|
|
84
|
+
}),
|
|
85
|
+
/* @__PURE__ */ jsx(Separator, {
|
|
86
|
+
orientation: "vertical",
|
|
87
|
+
className: "h-8"
|
|
88
|
+
}),
|
|
89
|
+
/* @__PURE__ */ jsxs("div", {
|
|
90
|
+
className: "flex items-center gap-1",
|
|
91
|
+
children: [
|
|
92
|
+
/* @__PURE__ */ jsxs(Popover, { children: [/* @__PURE__ */ jsx(PopoverTrigger, {
|
|
93
|
+
asChild: true,
|
|
94
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
95
|
+
size: "icon",
|
|
96
|
+
variant: "outline",
|
|
97
|
+
children: /* @__PURE__ */ jsx(BaselineIcon, { className: "size-3.5" })
|
|
98
|
+
})
|
|
99
|
+
}), /* @__PURE__ */ jsx(PopoverContent, {
|
|
100
|
+
className: "w-fit p-0",
|
|
101
|
+
children: /* @__PURE__ */ jsx(ColorPicker, { onValueChange: (color) => editor.chain().focus().setColor(color).run() })
|
|
102
|
+
})] }),
|
|
103
|
+
/* @__PURE__ */ jsxs(Popover, { children: [/* @__PURE__ */ jsx(PopoverTrigger, {
|
|
104
|
+
asChild: true,
|
|
105
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
106
|
+
size: "icon",
|
|
107
|
+
variant: "outline",
|
|
108
|
+
disabled: !editor?.can().setHighlight(),
|
|
109
|
+
children: /* @__PURE__ */ jsx(PaintBucketIcon, { className: "size-3.5" })
|
|
110
|
+
})
|
|
111
|
+
}), /* @__PURE__ */ jsx(PopoverContent, {
|
|
112
|
+
className: "w-fit p-0",
|
|
113
|
+
children: /* @__PURE__ */ jsx(ColorPicker, { onValueChange: (color) => editor.chain().focus().setHighlight({ color }).run() })
|
|
114
|
+
})] }),
|
|
115
|
+
/* @__PURE__ */ jsx(Button, {
|
|
116
|
+
type: "button",
|
|
117
|
+
size: "icon",
|
|
118
|
+
variant: "outline",
|
|
119
|
+
className: "border",
|
|
120
|
+
onClick: () => {
|
|
121
|
+
editor.commands.unsetColor();
|
|
122
|
+
editor.commands.unsetHighlight();
|
|
123
|
+
},
|
|
124
|
+
children: /* @__PURE__ */ jsx(EraserIcon, { className: "h-4 w-4" })
|
|
125
|
+
})
|
|
126
|
+
]
|
|
127
|
+
})
|
|
128
|
+
]
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
//#endregion
|
|
133
|
+
export { FixedMenu };
|
|
134
|
+
//# sourceMappingURL=fixed-menu.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fixed-menu.client.js","names":[],"sources":["../../../../src/components/editor/components/fixed-menu.client.tsx"],"sourcesContent":["import { ColorPicker } from \"@/components/ui/color-picker.client\";\nimport { Button } from \"@/components/ui/button\";\nimport { Popover, PopoverContent, PopoverTrigger } from \"@/components/ui/popover\";\nimport { Separator } from \"@/components/ui/separator\";\nimport {\n BaselineIcon,\n BoldIcon,\n EraserIcon,\n ItalicIcon,\n PaintBucketIcon,\n RedoIcon,\n StrikethroughIcon,\n UnderlineIcon,\n UndoIcon,\n} from \"lucide-react\";\nimport { useContext } from \"react\";\nimport { EditorContext } from \"../context.client\";\nimport { BlockDropdown } from \"./block-dropdown\";\n\nexport function FixedMenu() {\n const { editor } = useContext(EditorContext);\n\n return (\n <div className=\"border-input bg-muted/30 z-10 flex items-center gap-3 overflow-auto border-b p-2\">\n <div className=\"flex items-center gap-1\">\n <Button\n onClick={() => editor.commands.undo()}\n disabled={!editor?.can().undo()}\n type=\"button\"\n aria-label=\"Undo\"\n size=\"icon\"\n className=\"p-2\"\n variant=\"outline\"\n >\n <UndoIcon className=\"size-3.5\" />\n </Button>\n\n <Button\n onClick={() => editor.commands.redo()}\n disabled={!editor?.can().redo()}\n type=\"button\"\n aria-label=\"Redo\"\n size=\"icon\"\n className=\"p-2\"\n variant=\"outline\"\n >\n <RedoIcon className=\"size-3.5\" />\n </Button>\n </div>\n\n <Separator orientation=\"vertical\" className=\"h-8\" />\n\n <BlockDropdown />\n\n <Separator orientation=\"vertical\" className=\"h-8\" />\n\n <div className=\"flex items-center gap-1\">\n <Button\n type=\"button\"\n size=\"icon\"\n variant={editor?.isActive(\"bold\") ? \"secondary\" : \"outline\"}\n onClick={() => editor.chain().focus().toggleBold().run()}\n className=\"border\"\n >\n <BoldIcon className=\"h-3.5 w-3.5\" />\n </Button>\n\n <Button\n type=\"button\"\n size=\"icon\"\n variant={editor?.isActive(\"italic\") ? \"secondary\" : \"outline\"}\n onClick={() => editor.chain().focus().toggleItalic().run()}\n className=\"border\"\n >\n <ItalicIcon className=\"size-3.5\" />\n </Button>\n\n <Button\n type=\"button\"\n size=\"icon\"\n variant={editor?.isActive(\"underline\") ? \"secondary\" : \"outline\"}\n onClick={() => editor.chain().focus().toggleUnderline().run()}\n className=\"border\"\n >\n <UnderlineIcon className=\"size-3.5\" />\n </Button>\n\n <Button\n type=\"button\"\n size=\"icon\"\n variant={editor?.isActive(\"strike\") ? \"secondary\" : \"outline\"}\n onClick={() => editor.chain().focus().toggleStrike().run()}\n className=\"border\"\n >\n <StrikethroughIcon className=\"size-3.5\" />\n </Button>\n </div>\n\n <Separator orientation=\"vertical\" className=\"h-8\" />\n\n <div className=\"flex items-center gap-1\">\n <Popover>\n <PopoverTrigger asChild>\n <Button size=\"icon\" variant=\"outline\">\n <BaselineIcon className=\"size-3.5\" />\n </Button>\n </PopoverTrigger>\n\n <PopoverContent className=\"w-fit p-0\">\n <ColorPicker onValueChange={(color) => editor.chain().focus().setColor(color).run()} />\n </PopoverContent>\n </Popover>\n\n <Popover>\n <PopoverTrigger asChild>\n <Button size=\"icon\" variant=\"outline\" disabled={!editor?.can().setHighlight()}>\n <PaintBucketIcon className=\"size-3.5\" />\n </Button>\n </PopoverTrigger>\n\n <PopoverContent className=\"w-fit p-0\">\n <ColorPicker\n onValueChange={(color) => editor.chain().focus().setHighlight({ color }).run()}\n />\n </PopoverContent>\n </Popover>\n\n <Button\n type=\"button\"\n size=\"icon\"\n variant=\"outline\"\n className=\"border\"\n onClick={() => {\n editor.commands.unsetColor();\n editor.commands.unsetHighlight();\n }}\n >\n <EraserIcon className=\"h-4 w-4\" />\n </Button>\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;AAmBA,SAAgB,YAAY;CAC1B,MAAM,EAAE,WAAW,WAAW,cAAc;AAE5C,QACE,qBAAC;EAAI,WAAU;;GACb,qBAAC;IAAI,WAAU;eACb,oBAAC;KACC,eAAe,OAAO,SAAS,MAAM;KACrC,UAAU,CAAC,QAAQ,KAAK,CAAC,MAAM;KAC/B,MAAK;KACL,cAAW;KACX,MAAK;KACL,WAAU;KACV,SAAQ;eAER,oBAAC,YAAS,WAAU,aAAa;MAC1B,EAET,oBAAC;KACC,eAAe,OAAO,SAAS,MAAM;KACrC,UAAU,CAAC,QAAQ,KAAK,CAAC,MAAM;KAC/B,MAAK;KACL,cAAW;KACX,MAAK;KACL,WAAU;KACV,SAAQ;eAER,oBAAC,YAAS,WAAU,aAAa;MAC1B;KACL;GAEN,oBAAC;IAAU,aAAY;IAAW,WAAU;KAAQ;GAEpD,oBAAC,kBAAgB;GAEjB,oBAAC;IAAU,aAAY;IAAW,WAAU;KAAQ;GAEpD,qBAAC;IAAI,WAAU;;KACb,oBAAC;MACC,MAAK;MACL,MAAK;MACL,SAAS,QAAQ,SAAS,OAAO,GAAG,cAAc;MAClD,eAAe,OAAO,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,KAAK;MACxD,WAAU;gBAEV,oBAAC,YAAS,WAAU,gBAAgB;OAC7B;KAET,oBAAC;MACC,MAAK;MACL,MAAK;MACL,SAAS,QAAQ,SAAS,SAAS,GAAG,cAAc;MACpD,eAAe,OAAO,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,KAAK;MAC1D,WAAU;gBAEV,oBAAC,cAAW,WAAU,aAAa;OAC5B;KAET,oBAAC;MACC,MAAK;MACL,MAAK;MACL,SAAS,QAAQ,SAAS,YAAY,GAAG,cAAc;MACvD,eAAe,OAAO,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,KAAK;MAC7D,WAAU;gBAEV,oBAAC,iBAAc,WAAU,aAAa;OAC/B;KAET,oBAAC;MACC,MAAK;MACL,MAAK;MACL,SAAS,QAAQ,SAAS,SAAS,GAAG,cAAc;MACpD,eAAe,OAAO,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,KAAK;MAC1D,WAAU;gBAEV,oBAAC,qBAAkB,WAAU,aAAa;OACnC;;KACL;GAEN,oBAAC;IAAU,aAAY;IAAW,WAAU;KAAQ;GAEpD,qBAAC;IAAI,WAAU;;KACb,qBAAC,sBACC,oBAAC;MAAe;gBACd,oBAAC;OAAO,MAAK;OAAO,SAAQ;iBAC1B,oBAAC,gBAAa,WAAU,aAAa;QAC9B;OACM,EAEjB,oBAAC;MAAe,WAAU;gBACxB,oBAAC,eAAY,gBAAgB,UAAU,OAAO,OAAO,CAAC,OAAO,CAAC,SAAS,MAAM,CAAC,KAAK,GAAI;OACxE,IACT;KAEV,qBAAC,sBACC,oBAAC;MAAe;gBACd,oBAAC;OAAO,MAAK;OAAO,SAAQ;OAAU,UAAU,CAAC,QAAQ,KAAK,CAAC,cAAc;iBAC3E,oBAAC,mBAAgB,WAAU,aAAa;QACjC;OACM,EAEjB,oBAAC;MAAe,WAAU;gBACxB,oBAAC,eACC,gBAAgB,UAAU,OAAO,OAAO,CAAC,OAAO,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC,KAAK,GAC9E;OACa,IACT;KAEV,oBAAC;MACC,MAAK;MACL,MAAK;MACL,SAAQ;MACR,WAAU;MACV,eAAe;AACb,cAAO,SAAS,YAAY;AAC5B,cAAO,SAAS,gBAAgB;;gBAGlC,oBAAC,cAAW,WAAU,YAAY;OAC3B;;KACL;;GACF"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
2
|
+
import * as react0 from "react";
|
|
3
|
+
import { PropsWithChildren } from "react";
|
|
4
|
+
import { Content, Editor, JSONContent } from "@tiptap/react";
|
|
5
|
+
|
|
6
|
+
//#region src/components/editor/context.client.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* Editor context
|
|
9
|
+
*/
|
|
10
|
+
type EditorContextValue = {
|
|
11
|
+
editor: Editor;
|
|
12
|
+
};
|
|
13
|
+
declare const EditorContext: react0.Context<EditorContextValue>;
|
|
14
|
+
/**
|
|
15
|
+
* Editor context provider
|
|
16
|
+
*/
|
|
17
|
+
type EditorContextProviderProps = PropsWithChildren<{
|
|
18
|
+
value?: Content;
|
|
19
|
+
onChange?: (value: JSONContent) => void;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
className?: string;
|
|
22
|
+
}>;
|
|
23
|
+
declare function EditorContextProvider({
|
|
24
|
+
value,
|
|
25
|
+
onChange,
|
|
26
|
+
disabled,
|
|
27
|
+
className,
|
|
28
|
+
children
|
|
29
|
+
}: EditorContextProviderProps): react_jsx_runtime31.JSX.Element | null;
|
|
30
|
+
//#endregion
|
|
31
|
+
export { EditorContext, EditorContextProvider };
|
|
32
|
+
//# sourceMappingURL=context.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.client.d.ts","names":[],"sources":["../../../src/components/editor/context.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;KAgBK,kBAAA;EAAA,MAAA,EACK,MADL;AAIL,CAAA;AAAoE,cAAvD,aAAuD,EAA1C,MAAA,CAAA,OAA0C,CAA1C,kBAA0C,CAAA;;;;AAAC,KAKhE,0BAAA,GAA6B,iBAAH,CAAA;EAAA,KAAA,CAAA,EACrB,OADqB;UACrB,CAAA,EAAA,CAAA,KAAA,EACW,WADX,EAAA,GAAA,IAAA;UACW,CAAA,EAAA,OAAA;WAFa,CAAA,EAAA,MAAA;CAAiB,CAAA;AAOnC,iBAAA,qBAAA,CAAqB;EAAA,KAAA;EAAA,QAAA;EAAA,QAAA;EAAA,SAAA;EAAA;AAAA,CAAA,EAMlC,0BANkC,CAAA,EAMR,mBAAA,CAAA,GAAA,CAAA,OAAA,GANQ,IAAA"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import { cn } from "../../lib/utils/cn.js";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { createContext } from "react";
|
|
7
|
+
import { useEditor } from "@tiptap/react";
|
|
8
|
+
import { Color } from "@tiptap/extension-color";
|
|
9
|
+
import Highlight from "@tiptap/extension-highlight";
|
|
10
|
+
import Link from "@tiptap/extension-link";
|
|
11
|
+
import { TextStyle } from "@tiptap/extension-text-style";
|
|
12
|
+
import Underline from "@tiptap/extension-underline";
|
|
13
|
+
import StarterKit from "@tiptap/starter-kit";
|
|
14
|
+
|
|
15
|
+
//#region src/components/editor/context.client.tsx
|
|
16
|
+
const EditorContext = createContext({});
|
|
17
|
+
function EditorContextProvider({ value, onChange, disabled, className, children }) {
|
|
18
|
+
const editor = useEditor({
|
|
19
|
+
extensions: [
|
|
20
|
+
StarterKit,
|
|
21
|
+
Underline,
|
|
22
|
+
Link,
|
|
23
|
+
TextStyle,
|
|
24
|
+
Color,
|
|
25
|
+
Highlight.configure({ multicolor: true })
|
|
26
|
+
],
|
|
27
|
+
content: value,
|
|
28
|
+
onUpdate: ({ editor: editor$1 }) => onChange?.(editor$1.getJSON()),
|
|
29
|
+
editable: !disabled,
|
|
30
|
+
injectCSS: false,
|
|
31
|
+
immediatelyRender: false,
|
|
32
|
+
editorProps: {
|
|
33
|
+
transformPastedHTML: (html) => html.replace(/<img.*?>/g, ""),
|
|
34
|
+
attributes: { class: cn("prose max-w-full min-h-96 dark:prose-invert p-5 focus:outline-none prose-a:text-primary prose-li:marker:text-primary", className) }
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
if (!editor) return null;
|
|
38
|
+
return /* @__PURE__ */ jsx(EditorContext.Provider, {
|
|
39
|
+
value: { editor },
|
|
40
|
+
children
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
//#endregion
|
|
45
|
+
export { EditorContext, EditorContextProvider };
|
|
46
|
+
//# sourceMappingURL=context.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.client.js","names":["editor"],"sources":["../../../src/components/editor/context.client.tsx"],"sourcesContent":["\"use client\";\n\nimport { cn } from \"@/lib/utils/cn\";\nimport { createContext, PropsWithChildren } from \"react\";\n\nimport { Color } from \"@tiptap/extension-color\";\nimport Highlight from \"@tiptap/extension-highlight\";\nimport Link from \"@tiptap/extension-link\";\nimport { TextStyle } from \"@tiptap/extension-text-style\";\nimport Underline from \"@tiptap/extension-underline\";\nimport { Content, Editor, JSONContent, useEditor } from \"@tiptap/react\";\nimport StarterKit from \"@tiptap/starter-kit\";\n\n/**\n * Editor context\n */\ntype EditorContextValue = {\n editor: Editor;\n};\n\nexport const EditorContext = createContext({} as EditorContextValue);\n\n/**\n * Editor context provider\n */\ntype EditorContextProviderProps = PropsWithChildren<{\n value?: Content;\n onChange?: (value: JSONContent) => void;\n disabled?: boolean;\n className?: string;\n}>;\n\nexport function EditorContextProvider({\n value,\n onChange,\n disabled,\n className,\n children,\n}: EditorContextProviderProps) {\n // const { uploadImage } = useUploadEditor();\n\n const editor = useEditor({\n extensions: [\n StarterKit,\n Underline,\n Link,\n TextStyle,\n Color,\n Highlight.configure({ multicolor: true }),\n // Image.configure({\n // allowBase64: false,\n // }),\n // FileHandler.configure({\n // allowedMimeTypes: [\"image/png\", \"image/jpeg\", \"image/gif\", \"image/webp\"],\n // onDrop: (currentEditor, files, pos) => {\n // files.forEach((file) => {\n // const fileReader = new FileReader();\n\n // fileReader.readAsArrayBuffer(file);\n // fileReader.onload = async () => {\n // const response = await uploadImage(file);\n // if (!response) return;\n\n // currentEditor\n // .chain()\n // .insertContentAt(pos, {\n // type: \"image\",\n // attrs: { src: response.url },\n // })\n // .focus()\n // .run();\n // };\n // });\n // },\n // onPaste: (currentEditor, files) => {\n // files.forEach((file) => {\n // const fileReader = new FileReader();\n\n // fileReader.readAsArrayBuffer(file);\n // fileReader.onload = async () => {\n // const response = await uploadImage(file);\n // if (!response) return;\n\n // currentEditor\n // .chain()\n // .insertContentAt(currentEditor.state.selection.anchor, {\n // type: \"image\",\n // attrs: { src: response.url },\n // })\n // .focus()\n // .run();\n // };\n // });\n // },\n // }),\n ],\n content: value,\n onUpdate: ({ editor }) => onChange?.(editor.getJSON()),\n editable: !disabled,\n injectCSS: false,\n immediatelyRender: false,\n editorProps: {\n transformPastedHTML: (html) => html.replace(/<img.*?>/g, \"\"),\n attributes: {\n class: cn(\n \"prose max-w-full min-h-96 dark:prose-invert p-5 focus:outline-none prose-a:text-primary prose-li:marker:text-primary\",\n className,\n ),\n },\n },\n });\n\n if (!editor) return null;\n\n return <EditorContext.Provider value={{ editor }}>{children}</EditorContext.Provider>;\n}\n"],"mappings":";;;;;;;;;;;;;;;AAoBA,MAAa,gBAAgB,cAAc,EAAE,CAAuB;AAYpE,SAAgB,sBAAsB,EACpC,OACA,UACA,UACA,WACA,YAC6B;CAG7B,MAAM,SAAS,UAAU;EACvB,YAAY;GACV;GACA;GACA;GACA;GACA;GACA,UAAU,UAAU,EAAE,YAAY,MAAM,CAAC;GA+C1C;EACD,SAAS;EACT,WAAW,EAAE,uBAAa,WAAWA,SAAO,SAAS,CAAC;EACtD,UAAU,CAAC;EACX,WAAW;EACX,mBAAmB;EACnB,aAAa;GACX,sBAAsB,SAAS,KAAK,QAAQ,aAAa,GAAG;GAC5D,YAAY,EACV,OAAO,GACL,wHACA,UACD,EACF;GACF;EACF,CAAC;AAEF,KAAI,CAAC,OAAQ,QAAO;AAEpB,QAAO,oBAAC,cAAc;EAAS,OAAO,EAAE,QAAQ;EAAG;GAAkC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as react_jsx_runtime32 from "react/jsx-runtime";
|
|
2
|
+
import { HTMLAttributes } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/editor/index.client.d.ts
|
|
5
|
+
declare function Editor({
|
|
6
|
+
className,
|
|
7
|
+
...props
|
|
8
|
+
}: HTMLAttributes<HTMLDivElement>): react_jsx_runtime32.JSX.Element;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { Editor };
|
|
11
|
+
//# sourceMappingURL=index.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.client.d.ts","names":[],"sources":["../../../src/components/editor/index.client.tsx"],"sourcesContent":[],"mappings":";;;;iBAKgB,MAAA;;;GAAgC,eAAe,kBAAe,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { cn } from "../../lib/utils/cn.js";
|
|
2
|
+
import { EditorContent } from "./components/content.client.js";
|
|
3
|
+
import { FixedMenu } from "./components/fixed-menu.client.js";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/editor/index.client.tsx
|
|
7
|
+
function Editor({ className,...props }) {
|
|
8
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
9
|
+
className: cn("border-input rounded-lg border", className),
|
|
10
|
+
...props,
|
|
11
|
+
children: [/* @__PURE__ */ jsx(FixedMenu, {}), /* @__PURE__ */ jsx(EditorContent, {})]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { Editor };
|
|
17
|
+
//# sourceMappingURL=index.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.client.js","names":[],"sources":["../../../src/components/editor/index.client.tsx"],"sourcesContent":["import { cn } from \"@/lib/utils/cn\";\nimport { type HTMLAttributes } from \"react\";\nimport { EditorContent } from \"./components/content.client\";\nimport { FixedMenu } from \"./components/fixed-menu.client\";\n\nexport function Editor({ className, ...props }: HTMLAttributes<HTMLDivElement>) {\n return (\n <div className={cn(\"border-input rounded-lg border\", className)} {...props}>\n <FixedMenu />\n <EditorContent />\n </div>\n );\n}\n"],"mappings":";;;;;;AAKA,SAAgB,OAAO,EAAE,UAAW,GAAG,SAAyC;AAC9E,QACE,qBAAC;EAAI,WAAW,GAAG,kCAAkC,UAAU;EAAE,GAAI;aACnE,oBAAC,cAAY,EACb,oBAAC,kBAAgB;GACb"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as react_jsx_runtime33 from "react/jsx-runtime";
|
|
2
|
+
import { Content } from "@tiptap/react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/editor/preview.client.d.ts
|
|
5
|
+
declare function EditorPreview({
|
|
6
|
+
value
|
|
7
|
+
}: {
|
|
8
|
+
value?: Content;
|
|
9
|
+
}): react_jsx_runtime33.JSX.Element;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { EditorPreview };
|
|
12
|
+
//# sourceMappingURL=preview.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preview.client.d.ts","names":[],"sources":["../../../src/components/editor/preview.client.tsx"],"sourcesContent":[],"mappings":";;;;iBAMgB,aAAA;;;UAAmC;IAAS,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import { EditorContextProvider } from "./context.client.js";
|
|
5
|
+
import { EditorContent } from "./components/content.client.js";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
|
|
8
|
+
//#region src/components/editor/preview.client.tsx
|
|
9
|
+
function EditorPreview({ value }) {
|
|
10
|
+
return /* @__PURE__ */ jsx(EditorContextProvider, {
|
|
11
|
+
value,
|
|
12
|
+
className: "min-h-0 p-0",
|
|
13
|
+
disabled: true,
|
|
14
|
+
children: /* @__PURE__ */ jsx(EditorContent, {})
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { EditorPreview };
|
|
20
|
+
//# sourceMappingURL=preview.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preview.client.js","names":[],"sources":["../../../src/components/editor/preview.client.tsx"],"sourcesContent":["\"use client\";\n\nimport { Content } from \"@tiptap/react\";\nimport { EditorContent } from \"./components/content.client\";\nimport { EditorContextProvider } from \"./context.client\";\n\nexport function EditorPreview({ value }: { value?: Content }) {\n return (\n <EditorContextProvider value={value} className=\"min-h-0 p-0\" disabled>\n <EditorContent />\n </EditorContextProvider>\n );\n}\n"],"mappings":";;;;;;;;AAMA,SAAgB,cAAc,EAAE,SAA8B;AAC5D,QACE,oBAAC;EAA6B;EAAO,WAAU;EAAc;YAC3D,oBAAC,kBAAgB;GACK"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Icons } from "../common/icons.js";
|
|
2
|
+
import { url } from "../../lib/utils/url.js";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { Body, Button, Container, Head, Heading, Html, Preview, Section, Tailwind, Text } from "@react-email/components";
|
|
5
|
+
|
|
6
|
+
//#region src/components/emails/forget-password-email.tsx
|
|
7
|
+
function ForgetPasswordEmail({ resetPasswordHref }) {
|
|
8
|
+
return /* @__PURE__ */ jsxs(Html, { children: [
|
|
9
|
+
/* @__PURE__ */ jsx(Head, {}),
|
|
10
|
+
/* @__PURE__ */ jsx(Preview, { children: "Herstel je wachtwoord" }),
|
|
11
|
+
/* @__PURE__ */ jsx(Tailwind, { children: /* @__PURE__ */ jsx(Body, {
|
|
12
|
+
className: "mx-auto my-auto bg-white px-2 font-sans",
|
|
13
|
+
children: /* @__PURE__ */ jsxs(Container, {
|
|
14
|
+
className: "mx-auto my-[40px] max-w-[465px] rounded border border-solid border-[#eaeaea] p-[20px]",
|
|
15
|
+
children: [
|
|
16
|
+
/* @__PURE__ */ jsx(Icons.logo, { className: "w-8" }),
|
|
17
|
+
/* @__PURE__ */ jsxs(Section, {
|
|
18
|
+
className: "my-[15px]",
|
|
19
|
+
children: [
|
|
20
|
+
/* @__PURE__ */ jsx(Heading, {
|
|
21
|
+
className: "mx-0 my-[20px] p-0 text-[24px] font-bold text-black",
|
|
22
|
+
children: "Herstel uw wachtwoord"
|
|
23
|
+
}),
|
|
24
|
+
/* @__PURE__ */ jsx(Text, {
|
|
25
|
+
className: "text-[14px] leading-[24px] text-black",
|
|
26
|
+
children: "Iemand heeft onlangs een wachtwoordwijziging voor uw account gevraagd. Als u dit was, kunt u hier een nieuw wachtwoord instellen:"
|
|
27
|
+
}),
|
|
28
|
+
/* @__PURE__ */ jsx(Button, {
|
|
29
|
+
className: "rounded bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline",
|
|
30
|
+
href: resetPasswordHref,
|
|
31
|
+
children: "Reset password"
|
|
32
|
+
})
|
|
33
|
+
]
|
|
34
|
+
}),
|
|
35
|
+
/* @__PURE__ */ jsxs(Section, { children: [/* @__PURE__ */ jsx(Text, {
|
|
36
|
+
className: "text-[12px] leading-[20px] text-black",
|
|
37
|
+
children: "Als u uw wachtwoord niet wilt wijzigen of dit niet heeft gevraagd, negeer en verwijder dit bericht gewoon en verwijdert u."
|
|
38
|
+
}), /* @__PURE__ */ jsx(Text, {
|
|
39
|
+
className: "text-[12px] leading-[20px] text-black",
|
|
40
|
+
children: "Stuur deze e-mail niet door om uw account veilig te houden."
|
|
41
|
+
})] })
|
|
42
|
+
]
|
|
43
|
+
})
|
|
44
|
+
}) })
|
|
45
|
+
] });
|
|
46
|
+
}
|
|
47
|
+
ForgetPasswordEmail.PreviewProps = { resetPasswordHref: url("/auth/reset-password") };
|
|
48
|
+
var forget_password_email_default = ForgetPasswordEmail;
|
|
49
|
+
|
|
50
|
+
//#endregion
|
|
51
|
+
export { forget_password_email_default as default };
|
|
52
|
+
//# sourceMappingURL=forget-password-email.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forget-password-email.js","names":[],"sources":["../../../src/components/emails/forget-password-email.tsx"],"sourcesContent":["import { url } from \"@/lib/utils/url\";\nimport {\n Body,\n Button,\n Container,\n Head,\n Heading,\n Html,\n Preview,\n Section,\n Tailwind,\n Text,\n} from \"@react-email/components\";\nimport { Icons } from \"../common/icons\";\n\ninterface ForgetPasswordEmailProps {\n resetPasswordHref: string;\n}\n\nexport function ForgetPasswordEmail({ resetPasswordHref }: ForgetPasswordEmailProps) {\n return (\n <Html>\n <Head />\n <Preview>Herstel je wachtwoord</Preview>\n\n <Tailwind>\n <Body className=\"mx-auto my-auto bg-white px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded border border-solid border-[#eaeaea] p-[20px]\">\n <Icons.logo className=\"w-8\" />\n\n <Section className=\"my-[15px]\">\n <Heading className=\"mx-0 my-[20px] p-0 text-[24px] font-bold text-black\">\n Herstel uw wachtwoord\n </Heading>\n\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Iemand heeft onlangs een wachtwoordwijziging voor uw account gevraagd. Als u dit\n was, kunt u hier een nieuw wachtwoord instellen:\n </Text>\n\n <Button\n className=\"rounded bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={resetPasswordHref}\n >\n Reset password\n </Button>\n </Section>\n\n <Section>\n <Text className=\"text-[12px] leading-[20px] text-black\">\n Als u uw wachtwoord niet wilt wijzigen of dit niet heeft gevraagd, negeer en\n verwijder dit bericht gewoon en verwijdert u.\n </Text>\n\n <Text className=\"text-[12px] leading-[20px] text-black\">\n Stuur deze e-mail niet door om uw account veilig te houden.\n </Text>\n </Section>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n}\n\nForgetPasswordEmail.PreviewProps = {\n resetPasswordHref: url(\"/auth/reset-password\"),\n} as ForgetPasswordEmailProps;\n\nexport default ForgetPasswordEmail;\n"],"mappings":";;;;;;AAmBA,SAAgB,oBAAoB,EAAE,qBAA+C;AACnF,QACE,qBAAC;EACC,oBAAC,SAAO;EACR,oBAAC,qBAAQ,0BAA+B;EAExC,oBAAC,sBACC,oBAAC;GAAK,WAAU;aACd,qBAAC;IAAU,WAAU;;KACnB,oBAAC,MAAM,QAAK,WAAU,QAAQ;KAE9B,qBAAC;MAAQ,WAAU;;OACjB,oBAAC;QAAQ,WAAU;kBAAsD;SAE/D;OAEV,oBAAC;QAAK,WAAU;kBAAwC;SAGjD;OAEP,oBAAC;QACC,WAAU;QACV,MAAM;kBACP;SAEQ;;OACD;KAEV,qBAAC,sBACC,oBAAC;MAAK,WAAU;gBAAwC;OAGjD,EAEP,oBAAC;MAAK,WAAU;gBAAwC;OAEjD,IACC;;KACA;IACP,GACE;KACN;;AAIX,oBAAoB,eAAe,EACjC,mBAAmB,IAAI,uBAAuB,EAC/C;AAED,oCAAe"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react_jsx_runtime34 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/components/header/back-button.client.d.ts
|
|
4
|
+
declare function HeaderTopbarBackButton({
|
|
5
|
+
className,
|
|
6
|
+
...props
|
|
7
|
+
}: React.HtmlHTMLAttributes<HTMLButtonElement>): react_jsx_runtime34.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { HeaderTopbarBackButton };
|
|
10
|
+
//# sourceMappingURL=back-button.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"back-button.client.d.ts","names":[],"sources":["../../../src/components/header/back-button.client.tsx"],"sourcesContent":[],"mappings":";;;iBAagB,sBAAA;;;GAGb,KAAA,CAAM,mBAAmB,qBAAkB,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import { Icons } from "../common/icons.js";
|
|
5
|
+
import { cn } from "../../lib/utils/cn.js";
|
|
6
|
+
import { Button } from "../ui/button.js";
|
|
7
|
+
import { ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuTrigger } from "../ui/context-menu.js";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { useRouter } from "next/navigation";
|
|
10
|
+
|
|
11
|
+
//#region src/components/header/back-button.client.tsx
|
|
12
|
+
function HeaderTopbarBackButton({ className,...props }) {
|
|
13
|
+
const router = useRouter();
|
|
14
|
+
return /* @__PURE__ */ jsxs(ContextMenu, { children: [/* @__PURE__ */ jsx(ContextMenuTrigger, {
|
|
15
|
+
asChild: true,
|
|
16
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
17
|
+
...props,
|
|
18
|
+
variant: "ghost",
|
|
19
|
+
onClick: () => router.back(),
|
|
20
|
+
className: cn("text-muted-foreground hover:text-foreground w-content h-full rounded-none border-r p-0", className),
|
|
21
|
+
children: /* @__PURE__ */ jsx(Icons.chevronLeft, { className: "opacity-50" })
|
|
22
|
+
})
|
|
23
|
+
}), /* @__PURE__ */ jsxs(ContextMenuContent, { children: [
|
|
24
|
+
/* @__PURE__ */ jsxs(ContextMenuItem, {
|
|
25
|
+
className: "flex gap-3",
|
|
26
|
+
onClick: () => router.back(),
|
|
27
|
+
children: [/* @__PURE__ */ jsx(Icons.moveLeft, { className: "w-4" }), "Terug"]
|
|
28
|
+
}),
|
|
29
|
+
/* @__PURE__ */ jsxs(ContextMenuItem, {
|
|
30
|
+
className: "flex gap-3",
|
|
31
|
+
onClick: () => router.forward(),
|
|
32
|
+
children: [/* @__PURE__ */ jsx(Icons.moveRight, { className: "w-4" }), "Vooruit"]
|
|
33
|
+
}),
|
|
34
|
+
/* @__PURE__ */ jsxs(ContextMenuItem, {
|
|
35
|
+
className: "flex gap-3",
|
|
36
|
+
onClick: () => router.refresh(),
|
|
37
|
+
children: [/* @__PURE__ */ jsx(Icons.refresh, { className: "w-3.5" }), "Verversen"]
|
|
38
|
+
})
|
|
39
|
+
] })] });
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
//#endregion
|
|
43
|
+
export { HeaderTopbarBackButton };
|
|
44
|
+
//# sourceMappingURL=back-button.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"back-button.client.js","names":[],"sources":["../../../src/components/header/back-button.client.tsx"],"sourcesContent":["\"use client\";\n\nimport { Icons } from \"@/components/common/icons\";\nimport { Button } from \"@/components/ui/button\";\nimport {\n ContextMenu,\n ContextMenuContent,\n ContextMenuItem,\n ContextMenuTrigger,\n} from \"@/components/ui/context-menu\";\nimport { cn } from \"@/lib/utils/cn\";\nimport { useRouter } from \"next/navigation\";\n\nexport function HeaderTopbarBackButton({\n className,\n ...props\n}: React.HtmlHTMLAttributes<HTMLButtonElement>) {\n const router = useRouter();\n\n return (\n <ContextMenu>\n <ContextMenuTrigger asChild>\n <Button\n {...props}\n variant=\"ghost\"\n onClick={() => router.back()}\n className={cn(\n \"text-muted-foreground hover:text-foreground w-content h-full rounded-none border-r p-0\",\n className,\n )}\n >\n <Icons.chevronLeft className=\"opacity-50\" />\n </Button>\n </ContextMenuTrigger>\n\n <ContextMenuContent>\n <ContextMenuItem className=\"flex gap-3\" onClick={() => router.back()}>\n <Icons.moveLeft className=\"w-4\" />\n Terug\n </ContextMenuItem>\n\n <ContextMenuItem className=\"flex gap-3\" onClick={() => router.forward()}>\n <Icons.moveRight className=\"w-4\" />\n Vooruit\n </ContextMenuItem>\n\n <ContextMenuItem className=\"flex gap-3\" onClick={() => router.refresh()}>\n <Icons.refresh className=\"w-3.5\" />\n Verversen\n </ContextMenuItem>\n </ContextMenuContent>\n </ContextMenu>\n );\n}\n"],"mappings":";;;;;;;;;;;AAaA,SAAgB,uBAAuB,EACrC,UACA,GAAG,SAC2C;CAC9C,MAAM,SAAS,WAAW;AAE1B,QACE,qBAAC,0BACC,oBAAC;EAAmB;YAClB,oBAAC;GACC,GAAI;GACJ,SAAQ;GACR,eAAe,OAAO,MAAM;GAC5B,WAAW,GACT,0FACA,UACD;aAED,oBAAC,MAAM,eAAY,WAAU,eAAe;IACrC;GACU,EAErB,qBAAC;EACC,qBAAC;GAAgB,WAAU;GAAa,eAAe,OAAO,MAAM;cAClE,oBAAC,MAAM,YAAS,WAAU,QAAQ;IAElB;EAElB,qBAAC;GAAgB,WAAU;GAAa,eAAe,OAAO,SAAS;cACrE,oBAAC,MAAM,aAAU,WAAU,QAAQ;IAEnB;EAElB,qBAAC;GAAgB,WAAU;GAAa,eAAe,OAAO,SAAS;cACrE,oBAAC,MAAM,WAAQ,WAAU,UAAU;IAEnB;KACC,IACT"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { PathOutput } from "../../modules/config/paths/types.js";
|
|
2
|
+
import * as react_jsx_runtime35 from "react/jsx-runtime";
|
|
3
|
+
import React from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/header/bottom-bar.client.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Bottombar component
|
|
8
|
+
*/
|
|
9
|
+
type BottomBarProps = {
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
};
|
|
12
|
+
declare function BottomBar({
|
|
13
|
+
children
|
|
14
|
+
}: BottomBarProps): react_jsx_runtime35.JSX.Element;
|
|
15
|
+
/**
|
|
16
|
+
* Bottombar link component
|
|
17
|
+
*/
|
|
18
|
+
type BottomBarLink = Omit<PathOutput, "icon" | "badge">;
|
|
19
|
+
type BottomBarLinksProps = React.HTMLAttributes<HTMLElement> & {
|
|
20
|
+
paths: BottomBarLink[];
|
|
21
|
+
};
|
|
22
|
+
declare function BottomBarLinks({
|
|
23
|
+
paths,
|
|
24
|
+
className,
|
|
25
|
+
...props
|
|
26
|
+
}: BottomBarLinksProps): react_jsx_runtime35.JSX.Element;
|
|
27
|
+
//#endregion
|
|
28
|
+
export { BottomBar, BottomBarLink, BottomBarLinks, BottomBarLinksProps, BottomBarProps };
|
|
29
|
+
//# sourceMappingURL=bottom-bar.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bottom-bar.client.d.ts","names":[],"sources":["../../../src/components/header/bottom-bar.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAWY,KAAA,cAAA,GAAc;EAIV,QAAA,EAHJ,KAAA,CAAM,SAGO;CAAA;AAAG,iBAAZ,SAAA,CAAY;EAAA;AAAA,CAAA,EAAY,cAAZ,CAAA,EAA0B,mBAAA,CAAA,GAAA,CAAA,OAA1B;;;;AAWhB,KAAA,aAAA,GAAgB,IAAH,CAAQ,UAAR,EAAA,MAAA,GAAA,OAAA,CAAA;AAAA,KAEb,mBAAA,GAAsB,KAAA,CAAM,cAFf,CAE8B,WAF9B,CAAA,GAAA;OAAQ,EAGxB,aAHwB,EAAA;;AAAD,iBAMhB,cAAA,CANgB;EAAA,KAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAM+B,mBAN/B,CAAA,EAMkD,mBAAA,CAAA,GAAA,CAAA,OANlD"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import { cn } from "../../lib/utils/cn.js";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import Link from "next/link";
|
|
7
|
+
import { useSelectedLayoutSegment } from "next/navigation";
|
|
8
|
+
|
|
9
|
+
//#region src/components/header/bottom-bar.client.tsx
|
|
10
|
+
function BottomBar({ children }) {
|
|
11
|
+
return /* @__PURE__ */ jsx("nav", {
|
|
12
|
+
className: "flex h-[var(--header-bottom-bar-height)] items-center justify-between overflow-x-auto border-b",
|
|
13
|
+
children
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function BottomBarLinks({ paths, className,...props }) {
|
|
17
|
+
const currentSegment = useSelectedLayoutSegment();
|
|
18
|
+
return /* @__PURE__ */ jsx("ul", {
|
|
19
|
+
...props,
|
|
20
|
+
className: cn("px-content flex flex-row items-center gap-6 text-sm font-medium", className),
|
|
21
|
+
children: paths.map(({ href, name, segment }) => /* @__PURE__ */ jsx(Link, {
|
|
22
|
+
href,
|
|
23
|
+
className: cn("text-muted-foreground hover:text-foreground w-fit text-nowrap break-keep transition-colors", currentSegment === segment && "text-primary"),
|
|
24
|
+
children: name
|
|
25
|
+
}, href))
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
export { BottomBar, BottomBarLinks };
|
|
31
|
+
//# sourceMappingURL=bottom-bar.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bottom-bar.client.js","names":[],"sources":["../../../src/components/header/bottom-bar.client.tsx"],"sourcesContent":["\"use client\";\n\nimport { cn } from \"@/lib/utils/cn\";\nimport { PathOutput } from \"@/modules/config/paths/types\";\nimport Link from \"next/link\";\nimport { useSelectedLayoutSegment } from \"next/navigation\";\nimport type React from \"react\";\n\n/**\n * Bottombar component\n */\nexport type BottomBarProps = {\n children: React.ReactNode;\n};\n\nexport function BottomBar({ children }: BottomBarProps) {\n return (\n <nav className=\"flex h-[var(--header-bottom-bar-height)] items-center justify-between overflow-x-auto border-b\">\n {children}\n </nav>\n );\n}\n\n/**\n * Bottombar link component\n */\nexport type BottomBarLink = Omit<PathOutput, \"icon\" | \"badge\">;\n\nexport type BottomBarLinksProps = React.HTMLAttributes<HTMLElement> & {\n paths: BottomBarLink[];\n};\n\nexport function BottomBarLinks({ paths, className, ...props }: BottomBarLinksProps) {\n const currentSegment = useSelectedLayoutSegment();\n\n return (\n <ul\n {...props}\n className={cn(\"px-content flex flex-row items-center gap-6 text-sm font-medium\", className)}\n >\n {paths.map(({ href, name, segment }) => (\n <Link\n key={href}\n href={href}\n className={cn(\n \"text-muted-foreground hover:text-foreground w-fit text-nowrap break-keep transition-colors\",\n currentSegment === segment && \"text-primary\",\n )}\n >\n {name}\n </Link>\n ))}\n </ul>\n );\n}\n"],"mappings":";;;;;;;;;AAeA,SAAgB,UAAU,EAAE,YAA4B;AACtD,QACE,oBAAC;EAAI,WAAU;EACZ;GACG;;AAaV,SAAgB,eAAe,EAAE,OAAO,UAAW,GAAG,SAA8B;CAClF,MAAM,iBAAiB,0BAA0B;AAEjD,QACE,oBAAC;EACC,GAAI;EACJ,WAAW,GAAG,mEAAmE,UAAU;YAE1F,MAAM,KAAK,EAAE,MAAM,MAAM,cACxB,oBAAC;GAEO;GACN,WAAW,GACT,8FACA,mBAAmB,WAAW,eAC/B;aAEA;KAPI,KAQA,CACP;GACC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { BreadcrumbSeparator } from "../ui/breadcrumb.js";
|
|
2
|
+
import * as react_jsx_runtime37 from "react/jsx-runtime";
|
|
3
|
+
import { PropsWithChildren } from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/header/breadcrumbs.client.d.ts
|
|
6
|
+
type HeaderBreadcrumb = {
|
|
7
|
+
label: string;
|
|
8
|
+
href?: string;
|
|
9
|
+
};
|
|
10
|
+
type HeaderBreadcrumbProps = {
|
|
11
|
+
breadcrumbs: HeaderBreadcrumb[];
|
|
12
|
+
};
|
|
13
|
+
declare function HeaderBreadcrumbs(props: PropsWithChildren): react_jsx_runtime37.JSX.Element;
|
|
14
|
+
declare const HeaderBreadcrumbSeparator: typeof BreadcrumbSeparator;
|
|
15
|
+
/**
|
|
16
|
+
* Dropdown menu
|
|
17
|
+
*/
|
|
18
|
+
declare function HeaderBreadcrumbsDropdownMenu(props: PropsWithChildren): react_jsx_runtime37.JSX.Element;
|
|
19
|
+
declare function HeaderBreadcrumbsDropdownMenuItem(props: {
|
|
20
|
+
breadcrumb: HeaderBreadcrumb;
|
|
21
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
22
|
+
/**
|
|
23
|
+
* Links
|
|
24
|
+
*/
|
|
25
|
+
declare function HeaderBreadcrumbsLink(props: {
|
|
26
|
+
breadcrumb: HeaderBreadcrumb;
|
|
27
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
28
|
+
/**
|
|
29
|
+
* Lists
|
|
30
|
+
*/
|
|
31
|
+
declare function HeaderBreadcrumbsMobileList(props: PropsWithChildren): react_jsx_runtime37.JSX.Element;
|
|
32
|
+
declare function HeaderBreadcrumbsDesktopList(props: PropsWithChildren): react_jsx_runtime37.JSX.Element;
|
|
33
|
+
//#endregion
|
|
34
|
+
export { HeaderBreadcrumb, HeaderBreadcrumbProps, HeaderBreadcrumbSeparator, HeaderBreadcrumbs, HeaderBreadcrumbsDesktopList, HeaderBreadcrumbsDropdownMenu, HeaderBreadcrumbsDropdownMenuItem, HeaderBreadcrumbsLink, HeaderBreadcrumbsMobileList };
|
|
35
|
+
//# sourceMappingURL=breadcrumbs.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumbs.client.d.ts","names":[],"sources":["../../../src/components/header/breadcrumbs.client.tsx"],"sourcesContent":[],"mappings":";;;;;KAmBY,gBAAA;;;AAAZ,CAAA;AAKY,KAAA,qBAAA,GAAqB;EAIjB,WAAA,EAHD,gBAGkB,EAAA;CAAA;AAAQ,iBAAzB,iBAAA,CAAyB,KAAA,EAAA,iBAAA,CAAA,EAAiB,mBAAA,CAAA,GAAA,CAAA,OAAjB;AAAiB,cAI7C,yBAJ6C,EAAA,OAIpB,mBAJoB;;AAI1D;AAKA;AAA6C,iBAA7B,6BAAA,CAA6B,KAAA,EAAQ,iBAAR,CAAA,EAAyB,mBAAA,CAAA,GAAA,CAAA,OAAzB;AAAQ,iBAarC,iCAAA,CAbqC,KAAA,EAAA;YAAiB,EAaC,gBAbD;CAAA,CAAA,EAamB,mBAAA,CAAA,GAAA,CAAA,OAbnB;AAatE;;;AAAyF,iBAezE,qBAAA,CAfyE,KAAA,EAAA;EAAA,UAAA,EAe9B,gBAf8B;AAezF,CAAA,CAAA,EAA6E,mBAAA,CAAA,GAAA,CAAA,OAAxC;;;;AAAwC,iBAmB7D,2BAAA,CAnB6D,KAAA,EAmB1B,iBAnB0B,CAAA,EAmBT,mBAAA,CAAA,GAAA,CAAA,OAnBS;AAmB7D,iBAQA,4BAAA,CAR2B,KAAA,EAQS,iBART,CAAA,EAQ0B,mBAAA,CAAA,GAAA,CAAA,OAR1B"}
|