@tulip-systems/core 0.5.16 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/server.d.mts +1 -1
- package/dist/auth/server.mjs +1 -1
- package/dist/commands/client.d.mts +2 -1
- package/dist/commands/client.mjs +2 -1
- package/dist/components/client.d.mts +1 -1
- package/dist/components/client.mjs +1 -1
- package/dist/components/common/icons.d.mts +52 -52
- package/dist/components/common/icons.d.mts.map +1 -1
- package/dist/components/common/icons.mjs.map +1 -1
- package/dist/components/common/status.d.mts +3 -3
- package/dist/components/common/status.d.mts.map +1 -1
- package/dist/components/common/status.mjs.map +1 -1
- package/dist/components/editor/components/content.client.d.mts +2 -2
- package/dist/components/editor/components/content.client.d.mts.map +1 -1
- package/dist/components/editor/components/content.client.mjs.map +1 -1
- package/dist/components/editor/components/editor.client.d.mts +6 -6
- package/dist/components/editor/components/editor.client.d.mts.map +1 -1
- package/dist/components/editor/components/editor.client.mjs +2 -2
- package/dist/components/editor/components/editor.client.mjs.map +1 -1
- package/dist/components/editor/components/menu-nodes.client.mjs +3 -3
- package/dist/components/editor/components/menu-nodes.client.mjs.map +1 -1
- package/dist/components/editor/components/menu.client.d.mts +3 -3
- package/dist/components/editor/components/menu.client.d.mts.map +1 -1
- package/dist/components/editor/components/menu.client.mjs.map +1 -1
- package/dist/components/editor/extensions/file-handler/extension.d.mts.map +1 -1
- package/dist/components/editor/extensions/file-handler/extension.mjs.map +1 -1
- package/dist/components/editor/extensions/file-handler/strategy.d.mts.map +1 -1
- package/dist/components/editor/extensions/file-handler/strategy.mjs.map +1 -1
- package/dist/components/editor/extensions/file-handler/utils.mjs.map +1 -1
- package/dist/components/editor/extensions/image/extension.d.mts.map +1 -1
- package/dist/components/editor/extensions/image/extension.mjs.map +1 -1
- package/dist/components/editor/extensions/skeleton/renderer.mjs +1 -1
- package/dist/components/editor/extensions/skeleton/renderer.mjs.map +1 -1
- package/dist/components/editor/lib/constants.d.mts +27 -27
- package/dist/components/editor/lib/constants.d.mts.map +1 -1
- package/dist/components/editor/lib/extensions.d.mts +0 -1
- package/dist/components/editor/lib/extensions.d.mts.map +1 -1
- package/dist/components/editor/lib/extensions.mjs +6 -8
- package/dist/components/editor/lib/extensions.mjs.map +1 -1
- package/dist/components/editor/lib/helpers.d.mts +0 -1
- package/dist/components/editor/lib/helpers.d.mts.map +1 -1
- package/dist/components/editor/lib/helpers.mjs.map +1 -1
- package/dist/components/editor/lib/types.d.mts +0 -1
- package/dist/components/editor/lib/types.d.mts.map +1 -1
- package/dist/components/editor/lib/variants.mjs.map +1 -1
- package/dist/components/emails/forget-password-email.mjs +1 -2
- package/dist/components/emails/forget-password-email.mjs.map +1 -1
- package/dist/components/header/back-button.client.d.mts +2 -2
- package/dist/components/header/back-button.client.d.mts.map +1 -1
- package/dist/components/header/back-button.client.mjs.map +1 -1
- package/dist/components/header/bottom-bar.client.d.mts +3 -3
- package/dist/components/header/bottom-bar.client.d.mts.map +1 -1
- package/dist/components/header/bottom-bar.client.mjs.map +1 -1
- package/dist/components/header/breadcrumbs.client.d.mts +7 -7
- package/dist/components/header/breadcrumbs.client.d.mts.map +1 -1
- package/dist/components/header/breadcrumbs.client.mjs.map +1 -1
- package/dist/components/header/header.client.d.mts +2 -2
- package/dist/components/header/header.client.d.mts.map +1 -1
- package/dist/components/header/header.client.mjs.map +1 -1
- package/dist/components/header/indicator.client.mjs.map +1 -1
- package/dist/components/header/mobile-nav-switcher.client.d.mts +2 -2
- package/dist/components/header/mobile-nav-switcher.client.d.mts.map +1 -1
- package/dist/components/header/top-bar.client.d.mts +4 -4
- package/dist/components/header/top-bar.client.d.mts.map +1 -1
- package/dist/components/header/top-bar.client.mjs.map +1 -1
- package/dist/components/layouts/admin-content.client.d.mts +2 -2
- package/dist/components/layouts/admin-content.client.d.mts.map +1 -1
- package/dist/components/layouts/admin-content.client.mjs.map +1 -1
- package/dist/components/layouts/admin-error-pages.d.mts +4 -4
- package/dist/components/layouts/admin-error-pages.d.mts.map +1 -1
- package/dist/components/layouts/admin-error-pages.mjs.map +1 -1
- package/dist/components/layouts/admin-layout.d.mts +2 -2
- package/dist/components/layouts/admin-layout.d.mts.map +1 -1
- package/dist/components/layouts/admin-layout.mjs.map +1 -1
- package/dist/components/layouts/admin-loading.d.mts +2 -2
- package/dist/components/layouts/admin-loading.d.mts.map +1 -1
- package/dist/components/layouts/admin-loading.mjs.map +1 -1
- package/dist/components/layouts/empty-page.d.mts +4 -4
- package/dist/components/layouts/empty-page.d.mts.map +1 -1
- package/dist/components/layouts/empty-page.mjs.map +1 -1
- package/dist/components/layouts/error-page.d.mts +9 -9
- package/dist/components/layouts/error-page.d.mts.map +1 -1
- package/dist/components/layouts/error-page.mjs.map +1 -1
- package/dist/components/layouts/error-sections.d.mts +5 -5
- package/dist/components/layouts/error-sections.d.mts.map +1 -1
- package/dist/components/layouts/error-sections.mjs.map +1 -1
- package/dist/components/layouts/list-layout.d.mts +2 -2
- package/dist/components/layouts/list-layout.d.mts.map +1 -1
- package/dist/components/layouts/list-layout.mjs.map +1 -1
- package/dist/components/layouts/providers.client.d.mts +2 -2
- package/dist/components/layouts/providers.client.d.mts.map +1 -1
- package/dist/components/layouts/providers.client.mjs +1 -1
- package/dist/components/layouts/providers.client.mjs.map +1 -1
- package/dist/components/layouts/root-error-pages.d.mts +2 -2
- package/dist/components/layouts/root-error-pages.d.mts.map +1 -1
- package/dist/components/layouts/root-layout.server.d.mts +2 -2
- package/dist/components/layouts/root-layout.server.d.mts.map +1 -1
- package/dist/components/layouts/root-layout.server.mjs.map +1 -1
- package/dist/components/layouts/root-loading.d.mts +2 -2
- package/dist/components/layouts/root-loading.d.mts.map +1 -1
- package/dist/components/layouts/tab-layout.d.mts +2 -2
- package/dist/components/layouts/tab-layout.d.mts.map +1 -1
- package/dist/components/layouts/tab-layout.mjs +3 -3
- package/dist/components/layouts/tab-layout.mjs.map +1 -1
- package/dist/components/lists/data-list.d.mts +5 -5
- package/dist/components/lists/data-list.d.mts.map +1 -1
- package/dist/components/lists/data-list.mjs.map +1 -1
- package/dist/components/lists/data-stack.d.mts +8 -8
- package/dist/components/lists/data-stack.d.mts.map +1 -1
- package/dist/components/lists/data-stack.mjs.map +1 -1
- package/dist/components/navigation/admin-sidebar-header.client.mjs.map +1 -1
- package/dist/components/navigation/admin-sidebar-paths.client.d.mts +10 -10
- package/dist/components/navigation/admin-sidebar-paths.client.d.mts.map +1 -1
- package/dist/components/navigation/admin-sidebar-paths.client.mjs.map +1 -1
- package/dist/components/navigation/admin-sidebar-skeleton.mjs.map +1 -1
- package/dist/components/ui/accordion.d.mts +5 -5
- package/dist/components/ui/accordion.d.mts.map +1 -1
- package/dist/components/ui/accordion.mjs +0 -1
- package/dist/components/ui/accordion.mjs.map +1 -1
- package/dist/components/ui/alert-dialog.d.mts +12 -12
- package/dist/components/ui/alert-dialog.d.mts.map +1 -1
- package/dist/components/ui/alert-dialog.mjs +0 -1
- package/dist/components/ui/alert-dialog.mjs.map +1 -1
- package/dist/components/ui/alert.d.mts +4 -4
- package/dist/components/ui/alert.d.mts.map +1 -1
- package/dist/components/ui/alert.mjs +0 -1
- package/dist/components/ui/alert.mjs.map +1 -1
- package/dist/components/ui/aspect-ratio.d.mts +2 -2
- package/dist/components/ui/aspect-ratio.d.mts.map +1 -1
- package/dist/components/ui/avatar.client.d.mts +4 -4
- package/dist/components/ui/avatar.client.d.mts.map +1 -1
- package/dist/components/ui/avatar.client.mjs +0 -1
- package/dist/components/ui/avatar.client.mjs.map +1 -1
- package/dist/components/ui/badge.d.mts +3 -3
- package/dist/components/ui/badge.d.mts.map +1 -1
- package/dist/components/ui/badge.mjs +0 -1
- package/dist/components/ui/badge.mjs.map +1 -1
- package/dist/components/ui/breadcrumb.d.mts +8 -8
- package/dist/components/ui/breadcrumb.d.mts.map +1 -1
- package/dist/components/ui/breadcrumb.mjs +1 -2
- package/dist/components/ui/breadcrumb.mjs.map +1 -1
- package/dist/components/ui/button.d.mts +5 -5
- package/dist/components/ui/button.d.mts.map +1 -1
- package/dist/components/ui/button.mjs +0 -1
- package/dist/components/ui/button.mjs.map +1 -1
- package/dist/components/ui/calendar.d.mts +3 -3
- package/dist/components/ui/calendar.d.mts.map +1 -1
- package/dist/components/ui/calendar.mjs +12 -12
- package/dist/components/ui/calendar.mjs.map +1 -1
- package/dist/components/ui/card.d.mts +7 -7
- package/dist/components/ui/card.d.mts.map +1 -1
- package/dist/components/ui/card.mjs +0 -1
- package/dist/components/ui/card.mjs.map +1 -1
- package/dist/components/ui/carousel.d.mts +6 -6
- package/dist/components/ui/carousel.d.mts.map +1 -1
- package/dist/components/ui/carousel.mjs +4 -4
- package/dist/components/ui/carousel.mjs.map +1 -1
- package/dist/components/ui/chart.client.d.mts +5 -5
- package/dist/components/ui/chart.client.d.mts.map +1 -1
- package/dist/components/ui/chart.client.mjs +6 -6
- package/dist/components/ui/chart.client.mjs.map +1 -1
- package/dist/components/ui/checkbox.d.mts +2 -2
- package/dist/components/ui/checkbox.d.mts.map +1 -1
- package/dist/components/ui/checkbox.mjs +0 -1
- package/dist/components/ui/checkbox.mjs.map +1 -1
- package/dist/components/ui/collapsible.client.d.mts +4 -4
- package/dist/components/ui/collapsible.client.d.mts.map +1 -1
- package/dist/components/ui/color-picker.client.d.mts +2 -2
- package/dist/components/ui/color-picker.client.d.mts.map +1 -1
- package/dist/components/ui/color-picker.client.mjs +6 -5
- package/dist/components/ui/color-picker.client.mjs.map +1 -1
- package/dist/components/ui/combobox-dropdown.client.d.mts +2 -3
- package/dist/components/ui/combobox-dropdown.client.d.mts.map +1 -1
- package/dist/components/ui/combobox-dropdown.client.mjs +3 -3
- package/dist/components/ui/combobox-dropdown.client.mjs.map +1 -1
- package/dist/components/ui/combobox.client.d.mts +2 -2
- package/dist/components/ui/combobox.client.d.mts.map +1 -1
- package/dist/components/ui/combobox.client.mjs +2 -2
- package/dist/components/ui/combobox.client.mjs.map +1 -1
- package/dist/components/ui/command.d.mts +10 -10
- package/dist/components/ui/command.d.mts.map +1 -1
- package/dist/components/ui/command.mjs +0 -1
- package/dist/components/ui/command.mjs.map +1 -1
- package/dist/components/ui/context-menu.d.mts +16 -16
- package/dist/components/ui/context-menu.d.mts.map +1 -1
- package/dist/components/ui/context-menu.mjs +0 -1
- package/dist/components/ui/context-menu.mjs.map +1 -1
- package/dist/components/ui/date-picker.client.d.mts +2 -2
- package/dist/components/ui/date-picker.client.d.mts.map +1 -1
- package/dist/components/ui/date-picker.client.mjs +3 -3
- package/dist/components/ui/date-picker.client.mjs.map +1 -1
- package/dist/components/ui/dialog.client.d.mts +11 -11
- package/dist/components/ui/dialog.client.d.mts.map +1 -1
- package/dist/components/ui/dialog.client.mjs +0 -1
- package/dist/components/ui/dialog.client.mjs.map +1 -1
- package/dist/components/ui/drawer.client.d.mts +11 -11
- package/dist/components/ui/drawer.client.d.mts.map +1 -1
- package/dist/components/ui/drawer.client.mjs +0 -1
- package/dist/components/ui/drawer.client.mjs.map +1 -1
- package/dist/components/ui/dropdown-menu.d.mts +16 -16
- package/dist/components/ui/dropdown-menu.d.mts.map +1 -1
- package/dist/components/ui/dropdown-menu.mjs +0 -1
- package/dist/components/ui/dropdown-menu.mjs.map +1 -1
- package/dist/components/ui/form.client.d.mts +7 -7
- package/dist/components/ui/form.client.d.mts.map +1 -1
- package/dist/components/ui/form.client.mjs.map +1 -1
- package/dist/components/ui/hover-card.client.d.mts +4 -4
- package/dist/components/ui/hover-card.client.d.mts.map +1 -1
- package/dist/components/ui/hover-card.client.mjs +0 -1
- package/dist/components/ui/hover-card.client.mjs.map +1 -1
- package/dist/components/ui/input-date-time.d.mts +6 -6
- package/dist/components/ui/input-date-time.d.mts.map +1 -1
- package/dist/components/ui/input-date-time.mjs +4 -6
- package/dist/components/ui/input-date-time.mjs.map +1 -1
- package/dist/components/ui/input-date.d.mts +2 -2
- package/dist/components/ui/input-date.d.mts.map +1 -1
- package/dist/components/ui/input-recipient.d.mts +2 -2
- package/dist/components/ui/input-recipient.d.mts.map +1 -1
- package/dist/components/ui/input-recipient.mjs +2 -2
- package/dist/components/ui/input-recipient.mjs.map +1 -1
- package/dist/components/ui/input-time.d.mts +2 -2
- package/dist/components/ui/input-time.d.mts.map +1 -1
- package/dist/components/ui/input.d.mts +2 -2
- package/dist/components/ui/input.d.mts.map +1 -1
- package/dist/components/ui/input.mjs +0 -1
- package/dist/components/ui/input.mjs.map +1 -1
- package/dist/components/ui/label.d.mts +2 -2
- package/dist/components/ui/label.d.mts.map +1 -1
- package/dist/components/ui/label.mjs +0 -1
- package/dist/components/ui/label.mjs.map +1 -1
- package/dist/components/ui/navigation-menu.d.mts +11 -11
- package/dist/components/ui/navigation-menu.d.mts.map +1 -1
- package/dist/components/ui/navigation-menu.mjs +0 -1
- package/dist/components/ui/navigation-menu.mjs.map +1 -1
- package/dist/components/ui/pagination.d.mts +8 -8
- package/dist/components/ui/pagination.d.mts.map +1 -1
- package/dist/components/ui/pagination.mjs +0 -1
- package/dist/components/ui/pagination.mjs.map +1 -1
- package/dist/components/ui/popover.d.mts +5 -5
- package/dist/components/ui/popover.d.mts.map +1 -1
- package/dist/components/ui/popover.mjs +0 -1
- package/dist/components/ui/popover.mjs.map +1 -1
- package/dist/components/ui/progress.client.d.mts +2 -2
- package/dist/components/ui/progress.client.d.mts.map +1 -1
- package/dist/components/ui/progress.client.mjs +0 -1
- package/dist/components/ui/progress.client.mjs.map +1 -1
- package/dist/components/ui/radio-group.d.mts +3 -3
- package/dist/components/ui/radio-group.d.mts.map +1 -1
- package/dist/components/ui/radio-group.mjs +0 -1
- package/dist/components/ui/radio-group.mjs.map +1 -1
- package/dist/components/ui/resizable.client.d.mts +4 -4
- package/dist/components/ui/resizable.client.d.mts.map +1 -1
- package/dist/components/ui/resizable.client.mjs +0 -1
- package/dist/components/ui/resizable.client.mjs.map +1 -1
- package/dist/components/ui/scroll-area.d.mts +3 -3
- package/dist/components/ui/scroll-area.d.mts.map +1 -1
- package/dist/components/ui/scroll-area.mjs +0 -1
- package/dist/components/ui/scroll-area.mjs.map +1 -1
- package/dist/components/ui/select.client.d.mts +11 -11
- package/dist/components/ui/select.client.d.mts.map +1 -1
- package/dist/components/ui/select.client.mjs +0 -1
- package/dist/components/ui/select.client.mjs.map +1 -1
- package/dist/components/ui/separator.d.mts +2 -2
- package/dist/components/ui/separator.d.mts.map +1 -1
- package/dist/components/ui/separator.mjs +0 -1
- package/dist/components/ui/separator.mjs.map +1 -1
- package/dist/components/ui/sheet.client.d.mts +9 -9
- package/dist/components/ui/sheet.client.d.mts.map +1 -1
- package/dist/components/ui/sheet.client.mjs +0 -1
- package/dist/components/ui/sheet.client.mjs.map +1 -1
- package/dist/components/ui/sidebar.client.d.mts +26 -26
- package/dist/components/ui/sidebar.client.d.mts.map +1 -1
- package/dist/components/ui/sidebar.client.mjs +2 -2
- package/dist/components/ui/sidebar.client.mjs.map +1 -1
- package/dist/components/ui/skeleton.d.mts +2 -2
- package/dist/components/ui/skeleton.d.mts.map +1 -1
- package/dist/components/ui/slider.d.mts +2 -2
- package/dist/components/ui/slider.d.mts.map +1 -1
- package/dist/components/ui/sonner.client.d.mts +2 -2
- package/dist/components/ui/sonner.client.d.mts.map +1 -1
- package/dist/components/ui/sonner.client.mjs.map +1 -1
- package/dist/components/ui/switch.d.mts +2 -2
- package/dist/components/ui/switch.d.mts.map +1 -1
- package/dist/components/ui/switch.mjs +0 -1
- package/dist/components/ui/switch.mjs.map +1 -1
- package/dist/components/ui/tabs.d.mts +5 -5
- package/dist/components/ui/tabs.d.mts.map +1 -1
- package/dist/components/ui/tabs.mjs +0 -1
- package/dist/components/ui/tabs.mjs.map +1 -1
- package/dist/components/ui/textarea.d.mts +2 -2
- package/dist/components/ui/textarea.d.mts.map +1 -1
- package/dist/components/ui/textarea.mjs +0 -1
- package/dist/components/ui/textarea.mjs.map +1 -1
- package/dist/components/ui/toggle-group.client.d.mts +3 -3
- package/dist/components/ui/toggle-group.client.d.mts.map +1 -1
- package/dist/components/ui/toggle-group.client.mjs.map +1 -1
- package/dist/components/ui/toggle.d.mts +4 -4
- package/dist/components/ui/toggle.d.mts.map +1 -1
- package/dist/components/ui/toggle.mjs +0 -1
- package/dist/components/ui/toggle.mjs.map +1 -1
- package/dist/components/ui/tooltip.client.d.mts +5 -5
- package/dist/components/ui/tooltip.client.d.mts.map +1 -1
- package/dist/components/ui/tooltip.client.mjs +0 -1
- package/dist/components/ui/tooltip.client.mjs.map +1 -1
- package/dist/components.d.mts +1 -1
- package/dist/components.mjs +1 -1
- package/dist/data-tables/client.d.mts +4 -4
- package/dist/data-tables/client.mjs +4 -4
- package/dist/inline-edit/client.d.mts +4 -4
- package/dist/inline-edit/client.mjs +2 -2
- package/dist/lib/config/constants.d.mts.map +1 -1
- package/dist/lib/config/constants.mjs.map +1 -1
- package/dist/lib/hooks/use-action.d.mts +0 -1
- package/dist/lib/hooks/use-action.d.mts.map +1 -1
- package/dist/lib/hooks/use-action.mjs.map +1 -1
- package/dist/lib/hooks/use-indicator.d.mts +2 -2
- package/dist/lib/hooks/use-indicator.d.mts.map +1 -1
- package/dist/lib/hooks/use-indicator.mjs +14 -11
- package/dist/lib/hooks/use-indicator.mjs.map +1 -1
- package/dist/lib/hooks/use-mobile.client.d.mts.map +1 -1
- package/dist/lib/types/config.d.mts.map +1 -1
- package/dist/lib/utils/array-move.d.mts.map +1 -1
- package/dist/lib/utils/cn.d.mts.map +1 -1
- package/dist/lib/utils/cn.mjs.map +1 -1
- package/dist/lib/utils/fonts.d.mts.map +1 -1
- package/dist/lib/utils/format.d.mts.map +1 -1
- package/dist/lib/utils/manifest.d.mts.map +1 -1
- package/dist/lib/utils/manifest.mjs.map +1 -1
- package/dist/lib/utils/url.d.mts.map +1 -1
- package/dist/lib/utils/url.mjs +1 -1
- package/dist/lib/utils/url.mjs.map +1 -1
- package/dist/modules/auth/components/allowed.client.d.mts +2 -2
- package/dist/modules/auth/components/allowed.client.d.mts.map +1 -1
- package/dist/modules/auth/components/allowed.client.mjs.map +1 -1
- package/dist/modules/auth/components/auth-layout.server.d.mts +2 -2
- package/dist/modules/auth/components/auth-layout.server.d.mts.map +1 -1
- package/dist/modules/auth/components/auth-layout.server.mjs +1 -1
- package/dist/modules/auth/components/auth-layout.server.mjs.map +1 -1
- package/dist/modules/auth/components/auth-loading.d.mts +2 -2
- package/dist/modules/auth/components/auth-loading.d.mts.map +1 -1
- package/dist/modules/auth/components/create-first-user-page.client.d.mts +2 -2
- package/dist/modules/auth/components/create-first-user-page.client.d.mts.map +1 -1
- package/dist/modules/auth/components/create-first-user-page.client.mjs +1 -1
- package/dist/modules/auth/components/create-first-user-page.client.mjs.map +1 -1
- package/dist/modules/auth/components/forget-password-page.client.d.mts +2 -2
- package/dist/modules/auth/components/forget-password-page.client.d.mts.map +1 -1
- package/dist/modules/auth/components/forget-password-page.client.mjs +2 -2
- package/dist/modules/auth/components/forget-password-page.client.mjs.map +1 -1
- package/dist/modules/auth/components/guard-first-user.server.d.mts +2 -2
- package/dist/modules/auth/components/guard-first-user.server.d.mts.map +1 -1
- package/dist/modules/auth/components/guard-first-user.server.mjs.map +1 -1
- package/dist/modules/auth/components/guard.server.d.mts +2 -2
- package/dist/modules/auth/components/guard.server.d.mts.map +1 -1
- package/dist/modules/auth/components/guard.server.mjs.map +1 -1
- package/dist/modules/auth/components/login-page.client.d.mts +2 -2
- package/dist/modules/auth/components/login-page.client.d.mts.map +1 -1
- package/dist/modules/auth/components/login-page.client.mjs +1 -1
- package/dist/modules/auth/components/login-page.client.mjs.map +1 -1
- package/dist/modules/auth/components/reset-password-page.client.d.mts +2 -2
- package/dist/modules/auth/components/reset-password-page.client.d.mts.map +1 -1
- package/dist/modules/auth/components/reset-password-page.client.mjs +2 -2
- package/dist/modules/auth/components/reset-password-page.client.mjs.map +1 -1
- package/dist/modules/auth/components/update-password-command.d.mts +2 -2
- package/dist/modules/auth/components/update-password-command.d.mts.map +1 -1
- package/dist/modules/auth/components/update-password-command.mjs +0 -1
- package/dist/modules/auth/components/update-password-command.mjs.map +1 -1
- package/dist/modules/auth/db/schema.d.mts +73 -73
- package/dist/modules/auth/db/schema.d.mts.map +1 -1
- package/dist/modules/auth/db/schema.mjs +1 -1
- package/dist/modules/auth/db/schema.mjs.map +1 -1
- package/dist/modules/auth/handler/create-client.client.d.mts +159 -159
- package/dist/modules/auth/handler/create-client.client.d.mts.map +1 -1
- package/dist/modules/auth/handler/create-client.client.mjs.map +1 -1
- package/dist/modules/auth/handler/init.d.mts +98 -98
- package/dist/modules/auth/handler/init.d.mts.map +1 -1
- package/dist/modules/auth/handler/init.mjs +2 -2
- package/dist/modules/auth/handler/init.mjs.map +1 -1
- package/dist/modules/auth/handler/proxy.server.d.mts +0 -1
- package/dist/modules/auth/handler/proxy.server.d.mts.map +1 -1
- package/dist/modules/auth/handler/proxy.server.mjs +0 -1
- package/dist/modules/auth/handler/proxy.server.mjs.map +1 -1
- package/dist/modules/auth/handler/route.server.d.mts +0 -1
- package/dist/modules/auth/handler/route.server.d.mts.map +1 -1
- package/dist/modules/auth/handler/route.server.mjs.map +1 -1
- package/dist/modules/auth/hooks/use-auth-client.d.mts +4 -4
- package/dist/modules/auth/hooks/use-auth-client.d.mts.map +1 -1
- package/dist/modules/auth/hooks/use-auth-client.mjs.map +1 -1
- package/dist/modules/auth/hooks/use-permission.d.mts.map +1 -1
- package/dist/modules/auth/hooks/use-permission.mjs +2 -2
- package/dist/modules/auth/hooks/use-permission.mjs.map +1 -1
- package/dist/modules/auth/hooks/use-session.d.mts +2 -2
- package/dist/modules/auth/hooks/use-session.d.mts.map +1 -1
- package/dist/modules/auth/hooks/use-session.mjs.map +1 -1
- package/dist/modules/auth/lib/helpers.server.d.mts.map +1 -1
- package/dist/modules/auth/lib/helpers.server.mjs +2 -2
- package/dist/modules/auth/lib/helpers.server.mjs.map +1 -1
- package/dist/modules/auth/lib/permissions.d.mts.map +1 -1
- package/dist/modules/auth/lib/validators.d.mts +2 -3
- package/dist/modules/auth/lib/validators.d.mts.map +1 -1
- package/dist/modules/commands/components/alert-dialog-command.client.d.mts +10 -10
- package/dist/modules/commands/components/alert-dialog-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/alert-dialog-command.client.mjs.map +1 -1
- package/dist/modules/commands/components/click-command.client.d.mts +2 -2
- package/dist/modules/commands/components/click-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/click-command.client.mjs +0 -1
- package/dist/modules/commands/components/click-command.client.mjs.map +1 -1
- package/dist/modules/commands/components/command-trigger.client.d.mts +6 -6
- package/dist/modules/commands/components/command-trigger.client.d.mts.map +1 -1
- package/dist/modules/commands/components/command-trigger.client.mjs.map +1 -1
- package/dist/modules/commands/components/dialog-command.client.d.mts +8 -8
- package/dist/modules/commands/components/dialog-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/dialog-command.client.mjs.map +1 -1
- package/dist/modules/commands/components/dropdown-command.client.d.mts +5 -5
- package/dist/modules/commands/components/dropdown-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/dropdown-command.client.mjs.map +1 -1
- package/dist/modules/commands/components/empty-command.client.d.mts +2 -2
- package/dist/modules/commands/components/empty-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/empty-command.client.mjs +0 -1
- package/dist/modules/commands/components/empty-command.client.mjs.map +1 -1
- package/dist/modules/commands/components/form-dialog-command.client.d.mts +11 -11
- package/dist/modules/commands/components/form-dialog-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/form-dialog-command.client.mjs.map +1 -1
- package/dist/modules/commands/components/render-command.mjs.map +1 -1
- package/dist/modules/commands/hooks/context.client.mjs.map +1 -1
- package/dist/modules/commands/hooks/use-command-menu.client.d.mts +8 -1
- package/dist/modules/commands/hooks/use-command-menu.client.d.mts.map +1 -1
- package/dist/modules/commands/hooks/use-command-menu.client.mjs +1 -1
- package/dist/modules/commands/hooks/use-command-menu.client.mjs.map +1 -1
- package/dist/modules/commands/hooks/use-command-mutation.client.d.mts +2 -2
- package/dist/modules/commands/hooks/use-command-mutation.client.d.mts.map +1 -1
- package/dist/modules/commands/hooks/use-command-mutation.client.mjs.map +1 -1
- package/dist/modules/commands/lib/definitions.d.mts +0 -1
- package/dist/modules/commands/lib/definitions.d.mts.map +1 -1
- package/dist/modules/commands/lib/factory.d.mts.map +1 -1
- package/dist/modules/commands/menus/context-menu.client.d.mts +2 -2
- package/dist/modules/commands/menus/context-menu.client.d.mts.map +1 -1
- package/dist/modules/commands/menus/context-menu.client.mjs +5 -5
- package/dist/modules/commands/menus/context-menu.client.mjs.map +1 -1
- package/dist/modules/commands/menus/dropdown-menu.client.d.mts +3 -3
- package/dist/modules/commands/menus/dropdown-menu.client.d.mts.map +1 -1
- package/dist/modules/commands/menus/dropdown-menu.client.mjs.map +1 -1
- package/dist/modules/commands/menus/floating-menu.client.d.mts +19 -0
- package/dist/modules/commands/menus/floating-menu.client.d.mts.map +1 -0
- package/dist/modules/commands/menus/{data-table-menu.client.mjs → floating-menu.client.mjs} +10 -10
- package/dist/modules/commands/menus/floating-menu.client.mjs.map +1 -0
- package/dist/modules/commands/menus/inline-menu.client.d.mts +3 -3
- package/dist/modules/commands/menus/inline-menu.client.d.mts.map +1 -1
- package/dist/modules/commands/menus/inline-menu.client.mjs +0 -1
- package/dist/modules/commands/menus/inline-menu.client.mjs.map +1 -1
- package/dist/modules/commands/menus/responsive-menu.client.d.mts +3 -3
- package/dist/modules/commands/menus/responsive-menu.client.d.mts.map +1 -1
- package/dist/modules/commands/menus/responsive-menu.client.mjs.map +1 -1
- package/dist/modules/commands/utils/archive-command.client.d.mts +3 -3
- package/dist/modules/commands/utils/archive-command.client.d.mts.map +1 -1
- package/dist/modules/commands/utils/archive-command.client.mjs.map +1 -1
- package/dist/modules/commands/utils/delete-command.client.d.mts +3 -3
- package/dist/modules/commands/utils/delete-command.client.d.mts.map +1 -1
- package/dist/modules/commands/utils/delete-command.client.mjs.map +1 -1
- package/dist/modules/config/db/helpers.d.mts +5 -5
- package/dist/modules/config/db/helpers.d.mts.map +1 -1
- package/dist/modules/config/db/helpers.mjs.map +1 -1
- package/dist/modules/config/db/init.d.mts.map +1 -1
- package/dist/modules/config/db/init.mjs.map +1 -1
- package/dist/modules/config/db/types.d.mts.map +1 -1
- package/dist/modules/config/lib/config.d.mts.map +1 -1
- package/dist/modules/config/lib/context.d.mts.map +1 -1
- package/dist/modules/config/lib/context.mjs.map +1 -1
- package/dist/modules/config/paths/helpers.d.mts +0 -1
- package/dist/modules/config/paths/helpers.d.mts.map +1 -1
- package/dist/modules/config/paths/helpers.mjs.map +1 -1
- package/dist/modules/config/paths/types.d.mts +0 -1
- package/dist/modules/config/paths/types.d.mts.map +1 -1
- package/dist/modules/config/providers/email.d.mts.map +1 -1
- package/dist/modules/data-tables/components/cell/common.client.d.mts +5 -5
- package/dist/modules/data-tables/components/cell/common.client.d.mts.map +1 -1
- package/dist/modules/data-tables/components/cell/common.client.mjs.map +1 -1
- package/dist/modules/data-tables/components/cell/index.client.d.mts.map +1 -1
- package/dist/modules/data-tables/components/cell/select.client.d.mts.map +1 -1
- package/dist/modules/data-tables/components/column-header.d.mts +2 -2
- package/dist/modules/data-tables/components/column-header.d.mts.map +1 -1
- package/dist/modules/data-tables/components/column-header.mjs.map +1 -1
- package/dist/modules/data-tables/components/filters/combobox.client.d.mts +2 -2
- package/dist/modules/data-tables/components/filters/combobox.client.d.mts.map +1 -1
- package/dist/modules/data-tables/components/filters/combobox.client.mjs.map +1 -1
- package/dist/modules/data-tables/components/filters/slider.client.d.mts +2 -2
- package/dist/modules/data-tables/components/filters/slider.client.d.mts.map +1 -1
- package/dist/modules/data-tables/components/filters/slider.client.mjs +1 -1
- package/dist/modules/data-tables/components/filters/slider.client.mjs.map +1 -1
- package/dist/modules/data-tables/components/footer.mjs.map +1 -1
- package/dist/modules/data-tables/components/header.d.mts +4 -4
- package/dist/modules/data-tables/components/header.d.mts.map +1 -1
- package/dist/modules/data-tables/components/header.mjs.map +1 -1
- package/dist/modules/data-tables/components/layout.d.mts +2 -2
- package/dist/modules/data-tables/components/layout.d.mts.map +1 -1
- package/dist/modules/data-tables/components/layout.mjs.map +1 -1
- package/dist/modules/data-tables/components/search-input.client.d.mts +2 -2
- package/dist/modules/data-tables/components/search-input.client.d.mts.map +1 -1
- package/dist/modules/data-tables/components/skeleton.d.mts +2 -2
- package/dist/modules/data-tables/components/skeleton.d.mts.map +1 -1
- package/dist/modules/data-tables/components/skeleton.mjs +4 -4
- package/dist/modules/data-tables/components/skeleton.mjs.map +1 -1
- package/dist/modules/data-tables/components/table.d.mts +7 -7
- package/dist/modules/data-tables/components/table.d.mts.map +1 -1
- package/dist/modules/data-tables/components/table.mjs +0 -1
- package/dist/modules/data-tables/components/table.mjs.map +1 -1
- package/dist/modules/data-tables/components/toolbar.d.mts +3 -3
- package/dist/modules/data-tables/components/toolbar.d.mts.map +1 -1
- package/dist/modules/data-tables/components/toolbar.mjs.map +1 -1
- package/dist/modules/data-tables/hooks/use-context.client.d.mts +2 -2
- package/dist/modules/data-tables/hooks/use-context.client.d.mts.map +1 -1
- package/dist/modules/data-tables/hooks/use-context.client.mjs.map +1 -1
- package/dist/modules/data-tables/hooks/use-selection.client.mjs.map +1 -1
- package/dist/modules/data-tables/hooks/use-table.client.d.mts.map +1 -1
- package/dist/modules/data-tables/hooks/use-table.client.mjs.map +1 -1
- package/dist/modules/data-tables/lib/converters/cursor.d.mts +0 -1
- package/dist/modules/data-tables/lib/converters/cursor.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/converters/cursor.mjs.map +1 -1
- package/dist/modules/data-tables/lib/converters/dto.d.mts +0 -1
- package/dist/modules/data-tables/lib/converters/dto.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/converters/dto.mjs.map +1 -1
- package/dist/modules/data-tables/lib/converters/filter.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/converters/search.d.mts +1 -1
- package/dist/modules/data-tables/lib/converters/search.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/converters/search.mjs.map +1 -1
- package/dist/modules/data-tables/lib/converters/sorting.d.mts +1 -1
- package/dist/modules/data-tables/lib/converters/sorting.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/converters/sorting.mjs.map +1 -1
- package/dist/modules/data-tables/lib/filters/config.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/filters/config.mjs.map +1 -1
- package/dist/modules/data-tables/lib/filters/helpers.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/filters/helpers.mjs +4 -4
- package/dist/modules/data-tables/lib/filters/helpers.mjs.map +1 -1
- package/dist/modules/data-tables/lib/filters/parsers.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/filters/parsers.mjs.map +1 -1
- package/dist/modules/data-tables/lib/filters/resolvers.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/filters/resolvers.mjs +1 -1
- package/dist/modules/data-tables/lib/filters/resolvers.mjs.map +1 -1
- package/dist/modules/data-tables/lib/helpers/create-column.mjs.map +1 -1
- package/dist/modules/data-tables/lib/search-params.d.mts +6 -6
- package/dist/modules/data-tables/lib/search-params.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/types.d.mts +0 -1
- package/dist/modules/data-tables/lib/types.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/validators.d.mts +0 -1
- package/dist/modules/data-tables/lib/validators.d.mts.map +1 -1
- package/dist/modules/data-tables/server/get-data.server.d.mts +1 -1
- package/dist/modules/data-tables/server/get-data.server.d.mts.map +1 -1
- package/dist/modules/data-tables/server/get-data.server.mjs.map +1 -1
- package/dist/modules/data-tables/strategies/helpers/sorting.mjs.map +1 -1
- package/dist/modules/data-tables/strategies/infinite/components.mjs +1 -1
- package/dist/modules/data-tables/strategies/infinite/components.mjs.map +1 -1
- package/dist/modules/data-tables/strategies/infinite/strategy.d.mts.map +1 -1
- package/dist/modules/data-tables/strategies/infinite/strategy.mjs.map +1 -1
- package/dist/modules/data-tables/strategies/pagination/components.mjs.map +1 -1
- package/dist/modules/data-tables/strategies/pagination/strategy.d.mts.map +1 -1
- package/dist/modules/data-tables/strategies/pagination/strategy.mjs.map +1 -1
- package/dist/modules/data-tables/tables/data-table/components/body.mjs.map +1 -1
- package/dist/modules/data-tables/tables/data-table/components/header.mjs.map +1 -1
- package/dist/modules/data-tables/tables/data-table/components/row.mjs +0 -1
- package/dist/modules/data-tables/tables/data-table/components/row.mjs.map +1 -1
- package/dist/modules/data-tables/tables/data-table/components/table.d.mts +2 -2
- package/dist/modules/data-tables/tables/data-table/components/table.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/data-table/components/table.mjs +8 -2
- package/dist/modules/data-tables/tables/data-table/components/table.mjs.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/body.mjs.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.mjs +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.mjs.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.mjs.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.mjs +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.mjs.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/header.mjs.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/row.client.mjs +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/row.client.mjs.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/table.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/table.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/table.mjs +8 -2
- package/dist/modules/data-tables/tables/inline-table/components/table.mjs.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/combobox-dropdown.client.mjs +5 -1
- package/dist/modules/inline-edit/components/combobox-dropdown.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/combobox.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/combobox.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/combobox.client.mjs +8 -4
- package/dist/modules/inline-edit/components/combobox.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/date-input.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/date-input.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/date-input.client.mjs +5 -1
- package/dist/modules/inline-edit/components/date-input.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/date-picker.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/date-picker.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/date-picker.client.mjs +8 -4
- package/dist/modules/inline-edit/components/date-picker.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/date-time.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/date-time.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/date-time.client.mjs +6 -1
- package/dist/modules/inline-edit/components/date-time.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/editor.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/editor.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/editor.client.mjs +7 -3
- package/dist/modules/inline-edit/components/editor.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/input-recipient.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/input-recipient.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/input-recipient.client.mjs +5 -1
- package/dist/modules/inline-edit/components/input-recipient.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/input-toggle.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/input-toggle.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/input-toggle.client.mjs +5 -1
- package/dist/modules/inline-edit/components/input-toggle.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/input.client.d.mts +4 -4
- package/dist/modules/inline-edit/components/input.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/input.client.mjs +16 -4
- package/dist/modules/inline-edit/components/input.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/select.client.d.mts +6 -6
- package/dist/modules/inline-edit/components/select.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/select.client.mjs +8 -4
- package/dist/modules/inline-edit/components/select.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/switch.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/switch.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/switch.client.mjs +5 -1
- package/dist/modules/inline-edit/components/switch.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/toggle.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/toggle.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/toggle.client.mjs +8 -4
- package/dist/modules/inline-edit/components/toggle.client.mjs.map +1 -1
- package/dist/modules/inline-edit/hooks/context.client.d.mts +2 -2
- package/dist/modules/inline-edit/hooks/context.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/hooks/context.client.mjs +1 -1
- package/dist/modules/inline-edit/hooks/context.client.mjs.map +1 -1
- package/dist/modules/inline-edit/hooks/use-inline.client.d.mts +22 -7
- package/dist/modules/inline-edit/hooks/use-inline.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/hooks/use-inline.client.mjs +12 -9
- package/dist/modules/inline-edit/hooks/use-inline.client.mjs.map +1 -1
- package/dist/modules/inline-edit/lib/validators.d.mts +0 -1
- package/dist/modules/inline-edit/lib/validators.d.mts.map +1 -1
- package/dist/modules/inline-edit/lib/validators.mjs.map +1 -1
- package/dist/modules/inline-edit/lib/variants.d.mts +3 -3
- package/dist/modules/inline-edit/lib/variants.d.mts.map +1 -1
- package/dist/modules/inline-edit/lib/variants.mjs.map +1 -1
- package/dist/modules/router/handler/caller.client.d.mts +0 -1
- package/dist/modules/router/handler/caller.client.d.mts.map +1 -1
- package/dist/modules/router/handler/caller.client.mjs.map +1 -1
- package/dist/modules/router/handler/caller.server.d.mts.map +1 -1
- package/dist/modules/router/handler/context.server.d.mts.map +1 -1
- package/dist/modules/router/handler/context.server.mjs.map +1 -1
- package/dist/modules/router/handler/init.server.d.mts +6 -6
- package/dist/modules/router/handler/init.server.d.mts.map +1 -1
- package/dist/modules/router/handler/init.server.mjs.map +1 -1
- package/dist/modules/router/handler/register.server.d.mts.map +1 -1
- package/dist/modules/router/handler/register.server.mjs.map +1 -1
- package/dist/modules/router/handler/route.server.d.mts +0 -1
- package/dist/modules/router/handler/route.server.d.mts.map +1 -1
- package/dist/modules/router/handler/route.server.mjs.map +1 -1
- package/dist/modules/router/lib/query-client.d.mts +0 -1
- package/dist/modules/router/lib/query-client.d.mts.map +1 -1
- package/dist/modules/router/lib/query-client.mjs.map +1 -1
- package/dist/modules/router/lib/query-client.server.d.mts.map +1 -1
- package/dist/modules/router/lib/validators.d.mts +0 -1
- package/dist/modules/router/lib/validators.d.mts.map +1 -1
- package/dist/modules/storage/components/dropzone-context.client.d.mts +2 -2
- package/dist/modules/storage/components/dropzone-context.client.d.mts.map +1 -1
- package/dist/modules/storage/components/dropzone-context.client.mjs.map +1 -1
- package/dist/modules/storage/components/dropzone.client.d.mts +3 -3
- package/dist/modules/storage/components/dropzone.client.d.mts.map +1 -1
- package/dist/modules/storage/components/dropzone.client.mjs.map +1 -1
- package/dist/modules/storage/components/image-grid.client.d.mts +3 -3
- package/dist/modules/storage/components/image-grid.client.d.mts.map +1 -1
- package/dist/modules/storage/components/image-grid.client.mjs +2 -0
- package/dist/modules/storage/components/image-grid.client.mjs.map +1 -1
- package/dist/modules/storage/components/upload-zone-context.client.d.mts +1 -1
- package/dist/modules/storage/components/upload-zone-context.client.d.mts.map +1 -1
- package/dist/modules/storage/components/upload-zone-context.client.mjs.map +1 -1
- package/dist/modules/storage/components/upload-zone.client.d.mts +4 -3
- package/dist/modules/storage/components/upload-zone.client.d.mts.map +1 -1
- package/dist/modules/storage/components/upload-zone.client.mjs +9 -7
- package/dist/modules/storage/components/upload-zone.client.mjs.map +1 -1
- package/dist/modules/storage/config/filters.d.mts.map +1 -1
- package/dist/modules/storage/config/filters.mjs.map +1 -1
- package/dist/modules/storage/lib/constants.d.mts.map +1 -1
- package/dist/modules/storage/lib/create-client.server.d.mts.map +1 -1
- package/dist/modules/storage/lib/create-client.server.mjs.map +1 -1
- package/dist/modules/storage/lib/create-upload.client.d.mts.map +1 -1
- package/dist/modules/storage/lib/create-upload.client.mjs.map +1 -1
- package/dist/modules/storage/lib/helpers.d.mts +0 -1
- package/dist/modules/storage/lib/helpers.d.mts.map +1 -1
- package/dist/modules/storage/lib/helpers.mjs.map +1 -1
- package/dist/modules/storage/lib/proxy.server.d.mts.map +1 -1
- package/dist/modules/storage/lib/proxy.server.mjs.map +1 -1
- package/dist/modules/storage/lib/router.server.d.mts +27 -27
- package/dist/modules/storage/lib/router.server.d.mts.map +1 -1
- package/dist/modules/storage/lib/router.server.mjs.map +1 -1
- package/dist/modules/storage/lib/schema.d.mts +92 -92
- package/dist/modules/storage/lib/schema.d.mts.map +1 -1
- package/dist/modules/storage/lib/schema.mjs +1 -1
- package/dist/modules/storage/lib/schema.mjs.map +1 -1
- package/dist/modules/storage/lib/service.server.d.mts +18 -18
- package/dist/modules/storage/lib/service.server.d.mts.map +1 -1
- package/dist/modules/storage/lib/service.server.mjs.map +1 -1
- package/dist/modules/storage/lib/validators.d.mts +92 -92
- package/dist/modules/storage/lib/validators.d.mts.map +1 -1
- package/dist/modules/storage/lib/validators.mjs.map +1 -1
- package/dist/storage/client.d.mts +1 -1
- package/package.json +89 -92
- package/src/components/common/icons.tsx +2 -2
- package/src/components/common/status.tsx +1 -1
- package/src/components/editor/components/content.client.tsx +1 -1
- package/src/components/editor/components/editor.client.tsx +6 -6
- package/src/components/editor/components/menu-nodes.client.tsx +11 -11
- package/src/components/editor/components/menu.client.tsx +5 -5
- package/src/components/editor/components/spinner.tsx +2 -8
- package/src/components/editor/extensions/file-handler/extension.ts +1 -1
- package/src/components/editor/extensions/file-handler/strategy.ts +4 -4
- package/src/components/editor/extensions/file-handler/utils.ts +4 -2
- package/src/components/editor/extensions/image/extension.ts +4 -1
- package/src/components/editor/extensions/skeleton/renderer.tsx +4 -3
- package/src/components/editor/lib/extensions.ts +23 -26
- package/src/components/editor/lib/helpers.ts +1 -1
- package/src/components/editor/lib/utils.ts +1 -33
- package/src/components/editor/lib/variants.ts +1 -1
- package/src/components/emails/forget-password-email.tsx +1 -1
- package/src/components/entry.client.ts +1 -1
- package/src/components/entry.ts +1 -1
- package/src/components/header/back-button.client.tsx +1 -1
- package/src/components/header/bottom-bar.client.tsx +3 -3
- package/src/components/header/breadcrumbs.client.tsx +2 -2
- package/src/components/header/header.client.tsx +1 -1
- package/src/components/header/indicator.client.tsx +2 -2
- package/src/components/header/top-bar.client.tsx +3 -3
- package/src/components/layouts/admin-content.client.tsx +1 -1
- package/src/components/layouts/admin-error-pages.tsx +1 -1
- package/src/components/layouts/admin-layout.tsx +1 -1
- package/src/components/layouts/admin-loading.tsx +1 -1
- package/src/components/layouts/empty-page.tsx +1 -1
- package/src/components/layouts/error-page.tsx +2 -2
- package/src/components/layouts/error-sections.tsx +1 -1
- package/src/components/layouts/list-layout.tsx +1 -1
- package/src/components/layouts/providers.client.tsx +4 -4
- package/src/components/layouts/root-layout.server.tsx +3 -3
- package/src/components/layouts/tab-layout.tsx +3 -3
- package/src/components/lists/data-list.tsx +1 -1
- package/src/components/lists/data-stack.tsx +1 -1
- package/src/components/navigation/admin-sidebar-header.client.tsx +13 -13
- package/src/components/navigation/admin-sidebar-paths.client.tsx +6 -6
- package/src/components/navigation/admin-sidebar-skeleton.tsx +1 -1
- package/src/components/navigation/admin-sidebar.client.tsx +6 -5
- package/src/components/ui/accordion.tsx +1 -2
- package/src/components/ui/alert-dialog.tsx +1 -1
- package/src/components/ui/alert.tsx +1 -1
- package/src/components/ui/avatar.client.tsx +1 -1
- package/src/components/ui/badge.tsx +1 -1
- package/src/components/ui/breadcrumb.tsx +4 -2
- package/src/components/ui/button.tsx +1 -1
- package/src/components/ui/calendar.tsx +2 -3
- package/src/components/ui/card.tsx +1 -1
- package/src/components/ui/carousel.tsx +2 -0
- package/src/components/ui/chart.client.tsx +12 -10
- package/src/components/ui/checkbox.tsx +1 -1
- package/src/components/ui/color-picker.client.tsx +4 -3
- package/src/components/ui/combobox-dropdown.client.tsx +2 -4
- package/src/components/ui/combobox.client.tsx +2 -2
- package/src/components/ui/command.tsx +1 -1
- package/src/components/ui/context-menu.tsx +1 -1
- package/src/components/ui/date-picker.client.tsx +2 -2
- package/src/components/ui/dialog.client.tsx +1 -1
- package/src/components/ui/drawer.client.tsx +1 -1
- package/src/components/ui/dropdown-menu.tsx +1 -1
- package/src/components/ui/form.client.tsx +4 -4
- package/src/components/ui/hover-card.client.tsx +1 -1
- package/src/components/ui/input-date-time.tsx +13 -11
- package/src/components/ui/input-recipient.tsx +6 -3
- package/src/components/ui/input.tsx +1 -1
- package/src/components/ui/label.tsx +1 -1
- package/src/components/ui/navigation-menu.tsx +1 -1
- package/src/components/ui/pagination.tsx +4 -2
- package/src/components/ui/popover.tsx +1 -1
- package/src/components/ui/progress.client.tsx +1 -1
- package/src/components/ui/radio-group.tsx +1 -1
- package/src/components/ui/resizable.client.tsx +1 -1
- package/src/components/ui/scroll-area.tsx +1 -1
- package/src/components/ui/select.client.tsx +1 -1
- package/src/components/ui/separator.tsx +1 -1
- package/src/components/ui/sheet.client.tsx +1 -1
- package/src/components/ui/sidebar.client.tsx +5 -2
- package/src/components/ui/sonner.client.tsx +1 -1
- package/src/components/ui/switch.tsx +1 -1
- package/src/components/ui/tabs.tsx +1 -1
- package/src/components/ui/textarea.tsx +1 -1
- package/src/components/ui/toggle-group.client.tsx +1 -1
- package/src/components/ui/toggle.tsx +1 -1
- package/src/components/ui/tooltip.client.tsx +1 -1
- package/src/lib/config/constants.ts +1 -1
- package/src/lib/hooks/use-action.ts +3 -3
- package/src/lib/hooks/use-indicator.tsx +17 -8
- package/src/lib/types/config.ts +1 -1
- package/src/lib/utils/cn.ts +1 -1
- package/src/lib/utils/manifest.ts +3 -2
- package/src/lib/utils/time-picker.ts +2 -2
- package/src/lib/utils/url.ts +1 -1
- package/src/modules/auth/components/allowed.client.tsx +2 -2
- package/src/modules/auth/components/auth-layout.server.tsx +2 -2
- package/src/modules/auth/components/create-first-user-page.client.tsx +10 -11
- package/src/modules/auth/components/forget-password-page.client.tsx +5 -5
- package/src/modules/auth/components/guard-first-user.server.tsx +2 -5
- package/src/modules/auth/components/guard.server.tsx +3 -3
- package/src/modules/auth/components/login-page.client.tsx +5 -5
- package/src/modules/auth/components/reset-password-page.client.tsx +7 -7
- package/src/modules/auth/components/update-password-command.tsx +5 -5
- package/src/modules/auth/db/schema.ts +2 -2
- package/src/modules/auth/entry.server.ts +1 -1
- package/src/modules/auth/handler/create-client.client.ts +3 -3
- package/src/modules/auth/handler/init.ts +6 -6
- package/src/modules/auth/handler/proxy.server.ts +1 -2
- package/src/modules/auth/handler/route.server.ts +2 -2
- package/src/modules/auth/hooks/use-auth-client.tsx +3 -3
- package/src/modules/auth/hooks/use-permission.ts +1 -1
- package/src/modules/auth/hooks/use-session.ts +1 -2
- package/src/modules/auth/lib/helpers.server.ts +4 -4
- package/src/modules/commands/components/alert-dialog-command.client.tsx +8 -8
- package/src/modules/commands/components/click-command.client.tsx +3 -3
- package/src/modules/commands/components/command-trigger.client.tsx +1 -1
- package/src/modules/commands/components/dialog-command.client.tsx +3 -3
- package/src/modules/commands/components/dropdown-command.client.tsx +2 -2
- package/src/modules/commands/components/empty-command.client.tsx +1 -1
- package/src/modules/commands/components/form-dialog-command.client.tsx +5 -5
- package/src/modules/commands/components/render-command.tsx +2 -2
- package/src/modules/commands/entry.client.ts +16 -0
- package/src/modules/commands/hooks/context.client.tsx +1 -1
- package/src/modules/commands/hooks/use-command-menu.client.tsx +6 -4
- package/src/modules/commands/hooks/use-command-mutation.client.tsx +1 -1
- package/src/modules/commands/menus/context-menu.client.tsx +20 -19
- package/src/modules/commands/menus/dropdown-menu.client.tsx +6 -3
- package/src/modules/commands/menus/floating-menu.client.tsx +54 -0
- package/src/modules/commands/menus/inline-menu.client.tsx +6 -2
- package/src/modules/commands/menus/responsive-menu.client.tsx +1 -1
- package/src/modules/commands/utils/archive-command.client.tsx +1 -1
- package/src/modules/commands/utils/delete-command.client.tsx +1 -1
- package/src/modules/config/db/helpers.ts +1 -1
- package/src/modules/config/db/init.ts +2 -2
- package/src/modules/config/lib/context.ts +5 -5
- package/src/modules/config/paths/helpers.ts +1 -1
- package/src/modules/config/paths/types.ts +4 -5
- package/src/modules/data-tables/components/cell/common.client.tsx +1 -1
- package/src/modules/data-tables/components/column-header.tsx +2 -2
- package/src/modules/data-tables/components/filters/combobox.client.tsx +3 -3
- package/src/modules/data-tables/components/filters/slider.client.tsx +5 -5
- package/src/modules/data-tables/components/footer.tsx +2 -2
- package/src/modules/data-tables/components/header.tsx +2 -2
- package/src/modules/data-tables/components/layout.tsx +1 -1
- package/src/modules/data-tables/components/skeleton.tsx +22 -29
- package/src/modules/data-tables/components/table.tsx +1 -1
- package/src/modules/data-tables/components/toolbar.tsx +1 -1
- package/src/modules/data-tables/entry.client.ts +9 -13
- package/src/modules/data-tables/hooks/use-context.client.tsx +6 -6
- package/src/modules/data-tables/hooks/use-selection.client.ts +1 -1
- package/src/modules/data-tables/hooks/use-table.client.ts +1 -1
- package/src/modules/data-tables/lib/converters/cursor.ts +1 -1
- package/src/modules/data-tables/lib/converters/dto.ts +1 -1
- package/src/modules/data-tables/lib/converters/search.ts +2 -2
- package/src/modules/data-tables/lib/converters/sorting.ts +2 -2
- package/src/modules/data-tables/lib/filters/config.ts +2 -2
- package/src/modules/data-tables/lib/filters/helpers.ts +4 -4
- package/src/modules/data-tables/lib/filters/parsers.ts +2 -2
- package/src/modules/data-tables/lib/filters/resolvers.ts +2 -2
- package/src/modules/data-tables/lib/helpers/create-column.ts +1 -1
- package/src/modules/data-tables/lib/types.ts +6 -5
- package/src/modules/data-tables/server/get-data.server.ts +8 -8
- package/src/modules/data-tables/strategies/helpers/sorting.ts +7 -3
- package/src/modules/data-tables/strategies/infinite/components.tsx +4 -4
- package/src/modules/data-tables/strategies/infinite/strategy.ts +2 -2
- package/src/modules/data-tables/strategies/pagination/components.tsx +2 -2
- package/src/modules/data-tables/strategies/pagination/strategy.ts +2 -2
- package/src/modules/data-tables/tables/data-table/components/body.tsx +3 -3
- package/src/modules/data-tables/tables/data-table/components/header.tsx +1 -1
- package/src/modules/data-tables/tables/data-table/components/row.tsx +3 -3
- package/src/modules/data-tables/tables/data-table/components/table.tsx +13 -4
- package/src/modules/data-tables/tables/inline-table/components/body.tsx +5 -5
- package/src/modules/data-tables/tables/inline-table/components/cells/common.tsx +1 -1
- package/src/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.tsx +9 -5
- package/src/modules/data-tables/tables/inline-table/components/cells/read-only.tsx +1 -1
- package/src/modules/data-tables/tables/inline-table/components/header.tsx +1 -1
- package/src/modules/data-tables/tables/inline-table/components/row.client.tsx +5 -5
- package/src/modules/data-tables/tables/inline-table/components/table.tsx +14 -5
- package/src/modules/data-tables/tables/inline-table/hooks/context.client.tsx +2 -2
- package/src/modules/inline-edit/components/combobox-dropdown.client.tsx +6 -2
- package/src/modules/inline-edit/components/combobox.client.tsx +6 -2
- package/src/modules/inline-edit/components/date-input.client.tsx +8 -4
- package/src/modules/inline-edit/components/date-picker.client.tsx +7 -3
- package/src/modules/inline-edit/components/date-time.client.tsx +20 -4
- package/src/modules/inline-edit/components/editor.client.tsx +7 -3
- package/src/modules/inline-edit/components/input-recipient.client.tsx +7 -3
- package/src/modules/inline-edit/components/input-toggle.client.tsx +7 -3
- package/src/modules/inline-edit/components/input.client.tsx +15 -3
- package/src/modules/inline-edit/components/select.client.tsx +12 -8
- package/src/modules/inline-edit/components/switch.client.tsx +5 -1
- package/src/modules/inline-edit/components/toggle.client.tsx +5 -1
- package/src/modules/inline-edit/entry.client.ts +3 -2
- package/src/modules/inline-edit/hooks/context.client.tsx +3 -2
- package/src/modules/inline-edit/hooks/use-inline.client.tsx +42 -18
- package/src/modules/inline-edit/lib/parsers.ts +9 -0
- package/src/modules/inline-edit/lib/validators.ts +1 -1
- package/src/modules/inline-edit/lib/variants.ts +1 -1
- package/src/modules/router/handler/caller.client.tsx +2 -2
- package/src/modules/router/handler/context.server.ts +4 -4
- package/src/modules/router/handler/init.server.ts +3 -3
- package/src/modules/router/handler/register.server.ts +3 -3
- package/src/modules/router/handler/route.server.ts +3 -3
- package/src/modules/router/lib/query-client.ts +0 -1
- package/src/modules/storage/components/dropzone-context.client.tsx +1 -1
- package/src/modules/storage/components/dropzone.client.tsx +3 -3
- package/src/modules/storage/components/image-grid.client.tsx +23 -19
- package/src/modules/storage/components/upload-button.client.tsx +2 -2
- package/src/modules/storage/components/upload-zone-context.client.tsx +3 -2
- package/src/modules/storage/components/upload-zone.client.tsx +13 -7
- package/src/modules/storage/config/filters.ts +1 -1
- package/src/modules/storage/entry.client.ts +3 -2
- package/src/modules/storage/lib/create-client.server.ts +2 -2
- package/src/modules/storage/lib/create-upload.client.ts +2 -2
- package/src/modules/storage/lib/helpers.ts +3 -3
- package/src/modules/storage/lib/proxy.server.ts +4 -4
- package/src/modules/storage/lib/router.server.ts +5 -5
- package/src/modules/storage/lib/schema.ts +2 -2
- package/src/modules/storage/lib/service.server.ts +21 -21
- package/src/modules/storage/lib/validators.ts +3 -3
- package/src/styles.css +1 -1
- package/dist/modules/commands/menus/data-table-menu.client.mjs.map +0 -1
- package/src/modules/auth/lib/utils.ts +0 -17
- package/src/modules/commands/menus/data-table-menu.client.tsx +0 -46
- package/src/modules/config/db/create-client.ts +0 -40
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.d.mts","names":[],"sources":["../../../../src/modules/storage/lib/validators.ts"],"
|
|
1
|
+
{"version":3,"file":"validators.d.mts","names":[],"sources":["../../../../src/modules/storage/lib/validators.ts"],"mappings":";;;;;;;;;;KAYY,IAAA,UAAc,KAAA,CAAM,YAAA;AAAA,KACpB,QAAA,UAAkB,KAAA,CAAM,YAAA;EAAiB,IAAA;AAAA;AAAA,KACzC,UAAA,UAAoB,KAAA,CAAM,YAAA;EAAiB,IAAA;AAAA;;;;cAK1C,cAAA,EAAc,GAAA,CAAA,OAAA;;;;KACf,QAAA,GAAW,GAAA,CAAE,KAAA,QAAa,cAAA;AANtC;;;AAAA,cAWa,gBAAA,eAAgB,WAAA;QAE3B,oBAAA,CAAA,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEU,eAAA,GAAkB,GAAA,CAAE,KAAA,QAAa,gBAAA;AAAA,KACjC,gBAAA,GAAmB,GAAA,CAAE,KAAA,QAAa,gBAAA;;;;cAKjC,gBAAA,eAAgB,WAAA;QAA4B,oBAAA,CAAA,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAE7C,eAAA,GAAkB,GAAA,CAAE,KAAA,QAAa,gBAAA;AAAA,KACjC,gBAAA,GAAmB,GAAA,CAAE,KAAA,QAAa,gBAAA;;;;cAKjC,gBAAA,eAAgB,WAAA;QAA4B,oBAAA,CAAA,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAC5C,4BAAA,EAA4B,GAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAI7B,gBAAA,GAAmB,GAAA,CAAE,KAAA,QAAa,gBAAA;AAAA,KAClC,4BAAA,GAA+B,GAAA,CAAE,KAAA,QAAa,4BAAA;;;;cAK7C,uBAAA,EAAuB,GAAA,CAAA,OAAA,CAAA,GAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAaxB,iBAAA,GAAoB,GAAA,CAAE,KAAA,QAAa,uBAAA;;;;cAKlC,sBAAA,EAAsB,GAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;KAOvB,sBAAA,GAAyB,GAAA,CAAE,KAAA,QAAa,sBAAA;;;;cAKvC,gBAAA,EAAgB,GAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEjB,gBAAA,GAAmB,GAAA,CAAE,KAAA,QAAa,gBAAA;;;;cAKjC,iBAAA,EAAiB,GAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAElB,iBAAA,GAAoB,GAAA,CAAE,KAAA,QAAa,iBAAA;;;;cAKlC,wBAAA;EAAA,SAA8E,OAAA;EAAA,SAAA,WAAA;AAAA;AAAA,cAE9E,gBAAA,EAAgB,GAAA,CAAA,SAAA;;;;;;;;;;KAKjB,eAAA,GAAkB,GAAA,CAAE,KAAA,QAAa,gBAAA;AAAA,KACjC,gBAAA,GAAmB,GAAA,CAAE,KAAA,QAAa,gBAAA;;;;cAKjC,wBAAA,EAAwB,GAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAIzB,uBAAA,GAA0B,GAAA,CAAE,KAAA,QAAa,wBAAA;;;;cAKxC,eAAA,EAAe,GAAA,CAAA,SAAA;;;;;;;;KAMhB,cAAA,GAAiB,GAAA,CAAE,KAAA,QAAa,eAAA;AAAA,KAChC,eAAA,GAAkB,GAAA,CAAE,KAAA,QAAa,eAAA;;;;cAKhC,eAAA,EAAe,GAAA,CAAA,SAAA;;;;;;;;;;;KAShB,cAAA,GAAiB,GAAA,CAAE,KAAA,QAAa,eAAA;EAC1C,IAAA,GAAO,qBAAA;AAAA;AAAA,KAGG,eAAA,GAAkB,GAAA,CAAE,KAAA,QAAa,eAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.mjs","names":["z"],"sources":["../../../../src/modules/storage/lib/validators.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"validators.mjs","names":["z"],"sources":["../../../../src/modules/storage/lib/validators.ts"],"sourcesContent":["import type { PutObjectCommandInput } from \"@aws-sdk/client-s3\";\nimport { createInsertSchema, createSelectSchema, createUpdateSchema } from \"drizzle-zod\";\nimport { z } from \"zod\";\nimport { tableQuerySchema } from \"@/modules/data-tables/entry\";\nimport { resolveFiltersSchema } from \"@/modules/data-tables/lib/filters/resolvers\";\nimport { nodesTableFilters } from \"../config/filters\";\nimport { imageDispositions, imageVariants } from \"./constants\";\nimport { nodeModeEnum, nodes } from \"./schema\";\n\n/**\n * Nodes\n */\nexport type Node = typeof nodes.$inferSelect;\nexport type FileNode = typeof nodes.$inferSelect & { type: \"file\" };\nexport type FolderNode = typeof nodes.$inferSelect & { type: \"folder\" };\n\n/**\n * Node mode\n */\nexport const nodeModeSchema = z.enum(nodeModeEnum.enumValues);\nexport type NodeMode = z.infer<typeof nodeModeSchema>;\n\n/**\n * Create node\n */\nexport const createNodeSchema = createInsertSchema(nodes, {\n namespace: z.string(),\n});\n\nexport type CreateNodeInput = z.input<typeof createNodeSchema>;\nexport type CreateNodeSchema = z.infer<typeof createNodeSchema>;\n\n/**\n * Update node\n */\nexport const updateNodeSchema = createUpdateSchema(nodes);\n\nexport type UpdateNodeInput = z.input<typeof updateNodeSchema>;\nexport type UpdateNodeSchema = z.infer<typeof updateNodeSchema>;\n\n/**\n * Select node\n */\nexport const selectNodeSchema = createSelectSchema(nodes);\nexport const selectNodeWithChildrenSchema = selectNodeSchema.extend({\n children: z.array(selectNodeSchema),\n});\n\nexport type SelectNodeSchema = z.infer<typeof selectNodeSchema>;\nexport type SelectNodeWithChildrenSchema = z.infer<typeof selectNodeWithChildrenSchema>;\n\n/**\n * Where input\n */\nexport const nodesTableFiltersSchema = resolveFiltersSchema(nodesTableFilters)\n .partial()\n .extend({\n namespace: z.string(),\n parentId: z.string().nullable(),\n })\n .transform((input) => ({\n ...input,\n hidden: input?.hidden ?? false,\n isDeleted: input?.isDeleted ?? false,\n orphanedAt: input?.isOrphaned ?? false,\n }));\n\nexport type NodesTableFilters = z.input<typeof nodesTableFiltersSchema>;\n\n/**\n * Create folder node\n */\nexport const createFolderNodeSchema = createNodeSchema.omit({\n type: true,\n contentType: true,\n size: true,\n subtype: true,\n});\n\nexport type CreateFolderNodeSchema = z.infer<typeof createFolderNodeSchema>;\n\n/**\n * Upload file schema\n */\nexport const uploadFileSchema = createNodeSchema.omit({ type: true });\n\nexport type UploadFileSchema = z.infer<typeof uploadFileSchema>;\n\n/**\n * Presign file schema\n */\nexport const presignFileSchema = uploadFileSchema.extend({ id: z.uuid() });\n\nexport type PresignFileSchema = z.infer<typeof presignFileSchema>;\n\n/**\n * Get file url schema\n */\nexport const getFileURLSchemaDefaults = { variant: \"main\", disposition: \"inline\" } as const;\n\nexport const getFileURLSchema = z.object({\n variant: z.enum(imageVariants).optional().default(getFileURLSchemaDefaults.variant),\n disposition: z.enum(imageDispositions).optional().default(getFileURLSchemaDefaults.disposition),\n});\n\nexport type GetFileUrlInput = z.input<typeof getFileURLSchema>;\nexport type GetFileURLSchema = z.infer<typeof getFileURLSchema>;\n\n/**\n * Get by parent id input\n */\nexport const getNodesByParentIdSchema = tableQuerySchema\n .pick({ order: true, sort: true, search: true })\n .extend({ filters: nodesTableFiltersSchema });\n\nexport type GetNodesByParentIdInput = z.input<typeof getNodesByParentIdSchema>;\n\n/**\n * Get object input\n */\nexport const getObjectSchema = z.object({\n id: z.string(),\n variant: z.enum(imageVariants).optional().default(getFileURLSchemaDefaults.variant),\n disposition: z.string().optional().default(getFileURLSchemaDefaults.disposition),\n});\n\nexport type GetObjectInput = z.input<typeof getObjectSchema>;\nexport type GetObjectSchema = z.infer<typeof getObjectSchema>;\n\n/**\n * Put object input\n */\nexport const putObjectSchema = z.object({\n id: z.string(),\n name: z.string().optional().default(\"\"),\n variant: z.enum(imageVariants).optional().default(\"main\"),\n body: z.any().optional(),\n contentType: z.string().nullable().optional(),\n size: z.number().nullable().optional(),\n});\n\nexport type PutObjectInput = z.input<typeof putObjectSchema> & {\n body?: PutObjectCommandInput[\"Body\"];\n};\n\nexport type PutObjectSchema = z.infer<typeof putObjectSchema>;\n"],"mappings":";;;;;;;;;;;;AAmBA,MAAa,iBAAiBA,IAAE,KAAK,aAAa,WAAW;;;;AAM7D,MAAa,mBAAmB,mBAAmB,OAAO,EACxD,WAAWA,IAAE,QAAQ,EACtB,CAAC;;;;AAQF,MAAa,mBAAmB,mBAAmB,MAAM;;;;AAQzD,MAAa,mBAAmB,mBAAmB,MAAM;AACzD,MAAa,+BAA+B,iBAAiB,OAAO,EAClE,UAAUA,IAAE,MAAM,iBAAiB,EACpC,CAAC;;;;AAQF,MAAa,0BAA0B,qBAAqB,kBAAkB,CAC3E,SAAS,CACT,OAAO;CACN,WAAWA,IAAE,QAAQ;CACrB,UAAUA,IAAE,QAAQ,CAAC,UAAU;CAChC,CAAC,CACD,WAAW,WAAW;CACrB,GAAG;CACH,QAAQ,OAAO,UAAU;CACzB,WAAW,OAAO,aAAa;CAC/B,YAAY,OAAO,cAAc;CAClC,EAAE;;;;AAOL,MAAa,yBAAyB,iBAAiB,KAAK;CAC1D,MAAM;CACN,aAAa;CACb,MAAM;CACN,SAAS;CACV,CAAC;;;;AAOF,MAAa,mBAAmB,iBAAiB,KAAK,EAAE,MAAM,MAAM,CAAC;;;;AAOrE,MAAa,oBAAoB,iBAAiB,OAAO,EAAE,IAAIA,IAAE,MAAM,EAAE,CAAC;;;;AAO1E,MAAa,2BAA2B;CAAE,SAAS;CAAQ,aAAa;CAAU;AAElF,MAAa,mBAAmBA,IAAE,OAAO;CACvC,SAASA,IAAE,KAAK,cAAc,CAAC,UAAU,CAAC,QAAQ,yBAAyB,QAAQ;CACnF,aAAaA,IAAE,KAAK,kBAAkB,CAAC,UAAU,CAAC,QAAQ,yBAAyB,YAAY;CAChG,CAAC;;;;AAQF,MAAa,2BAA2B,iBACrC,KAAK;CAAE,OAAO;CAAM,MAAM;CAAM,QAAQ;CAAM,CAAC,CAC/C,OAAO,EAAE,SAAS,yBAAyB,CAAC;;;;AAO/C,MAAa,kBAAkBA,IAAE,OAAO;CACtC,IAAIA,IAAE,QAAQ;CACd,SAASA,IAAE,KAAK,cAAc,CAAC,UAAU,CAAC,QAAQ,yBAAyB,QAAQ;CACnF,aAAaA,IAAE,QAAQ,CAAC,UAAU,CAAC,QAAQ,yBAAyB,YAAY;CACjF,CAAC;;;;AAQF,MAAa,kBAAkBA,IAAE,OAAO;CACtC,IAAIA,IAAE,QAAQ;CACd,MAAMA,IAAE,QAAQ,CAAC,UAAU,CAAC,QAAQ,GAAG;CACvC,SAASA,IAAE,KAAK,cAAc,CAAC,UAAU,CAAC,QAAQ,OAAO;CACzD,MAAMA,IAAE,KAAK,CAAC,UAAU;CACxB,aAAaA,IAAE,QAAQ,CAAC,UAAU,CAAC,UAAU;CAC7C,MAAMA,IAAE,QAAQ,CAAC,UAAU,CAAC,UAAU;CACvC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DropzoneContext, useDropzoneContext } from "../modules/storage/components/dropzone-context.client.mjs";
|
|
2
1
|
import { Dropzone, DropzoneContent, DropzoneContentProps, DropzoneEmptyState, DropzoneEmptyStateProps, DropzoneProps } from "../modules/storage/components/dropzone.client.mjs";
|
|
2
|
+
import { DropzoneContext, useDropzoneContext } from "../modules/storage/components/dropzone-context.client.mjs";
|
|
3
3
|
import { ImageGrid, ImageGridSkeleton } from "../modules/storage/components/image-grid.client.mjs";
|
|
4
4
|
import { PrepareUploadInput, UploadClient, UploadFileRequest, UploadHooks, createUploadClient } from "../modules/storage/lib/create-upload.client.mjs";
|
|
5
5
|
import { UploadZoneContext, UploadZoneContextValue, useUploadZone } from "../modules/storage/components/upload-zone-context.client.mjs";
|
package/package.json
CHANGED
|
@@ -1,135 +1,133 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tulip-systems/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"devDependencies": {
|
|
8
8
|
"@types/pg": "^8.16.0",
|
|
9
|
-
"@types/react": "19.2.
|
|
9
|
+
"@types/react": "19.2.14",
|
|
10
10
|
"@types/react-dom": "19.2.3",
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
11
|
+
"tailwindcss": "^4.2.0",
|
|
12
|
+
"tsdown": "^0.20.3",
|
|
13
|
+
"tw-animate-css": "^1.4.0",
|
|
14
14
|
"typescript": "5.9.3",
|
|
15
|
-
"vite": "^7.
|
|
16
|
-
"@tulip-systems/eslint-config": "0.0.0",
|
|
15
|
+
"vite": "^7.3.1",
|
|
17
16
|
"@tulip-systems/typescript-config": "0.0.0"
|
|
18
17
|
},
|
|
19
18
|
"dependencies": {
|
|
20
|
-
"@aws-sdk/client-s3": "^3.
|
|
21
|
-
"@aws-sdk/s3-request-presigner": "^3.
|
|
22
|
-
"@better-auth/passkey": "^1.4.5",
|
|
19
|
+
"@aws-sdk/client-s3": "^3.995.0",
|
|
20
|
+
"@aws-sdk/s3-request-presigner": "^3.995.0",
|
|
23
21
|
"@dnd-kit/core": "^6.3.1",
|
|
24
22
|
"@dnd-kit/modifiers": "^9.0.0",
|
|
25
23
|
"@dnd-kit/sortable": "^10.0.0",
|
|
26
24
|
"@dnd-kit/utilities": "^3.2.2",
|
|
27
25
|
"@hookform/resolvers": "^5.2.2",
|
|
28
|
-
"@orpc/client": "^1.
|
|
29
|
-
"@orpc/contract": "^1.
|
|
30
|
-
"@orpc/server": "^1.
|
|
31
|
-
"@orpc/tanstack-query": "^1.
|
|
32
|
-
"@radix-ui/react-accordion": "^1.2.
|
|
33
|
-
"@radix-ui/react-alert-dialog": "^1.1.
|
|
26
|
+
"@orpc/client": "^1.13.5",
|
|
27
|
+
"@orpc/contract": "^1.13.5",
|
|
28
|
+
"@orpc/server": "^1.13.5",
|
|
29
|
+
"@orpc/tanstack-query": "^1.13.5",
|
|
30
|
+
"@radix-ui/react-accordion": "^1.2.12",
|
|
31
|
+
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
34
32
|
"@radix-ui/react-aspect-ratio": "^1.1.8",
|
|
35
33
|
"@radix-ui/react-avatar": "^1.1.11",
|
|
36
|
-
"@radix-ui/react-checkbox": "^1.
|
|
37
|
-
"@radix-ui/react-collapsible": "^1.1.
|
|
38
|
-
"@radix-ui/react-context-menu": "^2.2.
|
|
39
|
-
"@radix-ui/react-dialog": "^1.1.
|
|
40
|
-
"@radix-ui/react-dropdown-menu": "^2.1.
|
|
41
|
-
"@radix-ui/react-hover-card": "^1.1.
|
|
34
|
+
"@radix-ui/react-checkbox": "^1.3.3",
|
|
35
|
+
"@radix-ui/react-collapsible": "^1.1.12",
|
|
36
|
+
"@radix-ui/react-context-menu": "^2.2.16",
|
|
37
|
+
"@radix-ui/react-dialog": "^1.1.15",
|
|
38
|
+
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
39
|
+
"@radix-ui/react-hover-card": "^1.1.15",
|
|
42
40
|
"@radix-ui/react-label": "^2.1.8",
|
|
43
|
-
"@radix-ui/react-menubar": "^1.1.
|
|
44
|
-
"@radix-ui/react-navigation-menu": "^1.2.
|
|
45
|
-
"@radix-ui/react-popover": "^1.1.
|
|
41
|
+
"@radix-ui/react-menubar": "^1.1.16",
|
|
42
|
+
"@radix-ui/react-navigation-menu": "^1.2.14",
|
|
43
|
+
"@radix-ui/react-popover": "^1.1.15",
|
|
46
44
|
"@radix-ui/react-progress": "^1.1.8",
|
|
47
|
-
"@radix-ui/react-radio-group": "^1.
|
|
48
|
-
"@radix-ui/react-scroll-area": "^1.2.
|
|
49
|
-
"@radix-ui/react-select": "^2.
|
|
45
|
+
"@radix-ui/react-radio-group": "^1.3.8",
|
|
46
|
+
"@radix-ui/react-scroll-area": "^1.2.10",
|
|
47
|
+
"@radix-ui/react-select": "^2.2.6",
|
|
50
48
|
"@radix-ui/react-separator": "^1.1.8",
|
|
51
|
-
"@radix-ui/react-slider": "^1.
|
|
49
|
+
"@radix-ui/react-slider": "^1.3.6",
|
|
52
50
|
"@radix-ui/react-slot": "^1.2.4",
|
|
53
|
-
"@radix-ui/react-switch": "^1.
|
|
54
|
-
"@radix-ui/react-tabs": "^1.1.
|
|
55
|
-
"@radix-ui/react-toggle": "^1.1.
|
|
56
|
-
"@radix-ui/react-toggle-group": "^1.1.
|
|
57
|
-
"@radix-ui/react-tooltip": "^1.
|
|
58
|
-
"@react-email/components": "^1.0.
|
|
59
|
-
"@
|
|
60
|
-
"@
|
|
61
|
-
"@tanstack/react-query": "^5.
|
|
62
|
-
"@tanstack/react-
|
|
63
|
-
"@tanstack/react-
|
|
64
|
-
"@
|
|
65
|
-
"@tiptap/
|
|
66
|
-
"@tiptap/extension-
|
|
67
|
-
"@tiptap/extension-
|
|
68
|
-
"@tiptap/extension-
|
|
69
|
-
"@tiptap/extension-
|
|
70
|
-
"@tiptap/extension-
|
|
71
|
-
"@tiptap/extension-
|
|
72
|
-
"@tiptap/extension-
|
|
73
|
-
"@tiptap/extension-
|
|
74
|
-
"@tiptap/extension-
|
|
75
|
-
"@tiptap/extension-
|
|
76
|
-
"@tiptap/extension-
|
|
77
|
-
"@tiptap/extension-
|
|
78
|
-
"@tiptap/extension-
|
|
79
|
-
"@tiptap/extension-
|
|
80
|
-
"@tiptap/extension-
|
|
81
|
-
"@tiptap/extension-text": "^3.
|
|
82
|
-
"@tiptap/extension-
|
|
83
|
-
"@tiptap/
|
|
84
|
-
"@tiptap/
|
|
85
|
-
"@tiptap/
|
|
86
|
-
"@tiptap/
|
|
87
|
-
"@tiptap/react": "^3.14.0",
|
|
88
|
-
"better-auth": "^1.4.5",
|
|
51
|
+
"@radix-ui/react-switch": "^1.2.6",
|
|
52
|
+
"@radix-ui/react-tabs": "^1.1.13",
|
|
53
|
+
"@radix-ui/react-toggle": "^1.1.10",
|
|
54
|
+
"@radix-ui/react-toggle-group": "^1.1.11",
|
|
55
|
+
"@radix-ui/react-tooltip": "^1.2.8",
|
|
56
|
+
"@react-email/components": "^1.0.8",
|
|
57
|
+
"@tailwindcss/typography": "^0.5.19",
|
|
58
|
+
"@tanstack/react-query": "^5.90.21",
|
|
59
|
+
"@tanstack/react-query-devtools": "^5.91.3",
|
|
60
|
+
"@tanstack/react-table": "^8.21.3",
|
|
61
|
+
"@tanstack/react-virtual": "^3.13.18",
|
|
62
|
+
"@tiptap/core": "^3.20.0",
|
|
63
|
+
"@tiptap/extension-blockquote": "^3.20.0",
|
|
64
|
+
"@tiptap/extension-bold": "^3.20.0",
|
|
65
|
+
"@tiptap/extension-color": "^3.20.0",
|
|
66
|
+
"@tiptap/extension-document": "^3.20.0",
|
|
67
|
+
"@tiptap/extension-file-handler": "^3.20.0",
|
|
68
|
+
"@tiptap/extension-hard-break": "^3.20.0",
|
|
69
|
+
"@tiptap/extension-heading": "^3.20.0",
|
|
70
|
+
"@tiptap/extension-highlight": "^3.20.0",
|
|
71
|
+
"@tiptap/extension-horizontal-rule": "^3.20.0",
|
|
72
|
+
"@tiptap/extension-image": "^3.20.0",
|
|
73
|
+
"@tiptap/extension-italic": "^3.20.0",
|
|
74
|
+
"@tiptap/extension-link": "^3.20.0",
|
|
75
|
+
"@tiptap/extension-list": "^3.20.0",
|
|
76
|
+
"@tiptap/extension-paragraph": "^3.20.0",
|
|
77
|
+
"@tiptap/extension-strike": "^3.20.0",
|
|
78
|
+
"@tiptap/extension-text": "^3.20.0",
|
|
79
|
+
"@tiptap/extension-text-style": "^3.20.0",
|
|
80
|
+
"@tiptap/extension-underline": "^3.20.0",
|
|
81
|
+
"@tiptap/extensions": "^3.20.0",
|
|
82
|
+
"@tiptap/html": "^3.20.0",
|
|
83
|
+
"@tiptap/pm": "^3.20.0",
|
|
84
|
+
"@tiptap/react": "^3.20.0",
|
|
89
85
|
"class-variance-authority": "^0.7.1",
|
|
90
86
|
"client-only": "^0.0.1",
|
|
91
87
|
"clsx": "^2.1.1",
|
|
92
88
|
"cmdk": "1.1.1",
|
|
93
89
|
"date-fns": "^4.1.0",
|
|
94
90
|
"deepmerge": "^4.3.1",
|
|
95
|
-
"drizzle-orm": "^0.45.
|
|
91
|
+
"drizzle-orm": "^0.45.1",
|
|
96
92
|
"drizzle-zod": "^0.8.3",
|
|
97
|
-
"embla-carousel-react": "^8.
|
|
98
|
-
"lucide-react": "^0.
|
|
99
|
-
"motion": "^12.
|
|
93
|
+
"embla-carousel-react": "^8.6.0",
|
|
94
|
+
"lucide-react": "^0.575.0",
|
|
95
|
+
"motion": "^12.34.3",
|
|
100
96
|
"next-themes": "^0.4.6",
|
|
101
97
|
"react-colorful": "^5.6.1",
|
|
102
|
-
"react-day-picker": "9.
|
|
103
|
-
"react-dropzone": "^
|
|
104
|
-
"react-email": "^5.
|
|
105
|
-
"react-hook-form": "^7.
|
|
106
|
-
"react-hotkeys-hook": "^5.2.
|
|
107
|
-
"react-resizable-panels": "^
|
|
108
|
-
"
|
|
109
|
-
"resend": "^6.5.2",
|
|
98
|
+
"react-day-picker": "9.13.2",
|
|
99
|
+
"react-dropzone": "^15.0.0",
|
|
100
|
+
"react-email": "^5.2.8",
|
|
101
|
+
"react-hook-form": "^7.71.2",
|
|
102
|
+
"react-hotkeys-hook": "^5.2.4",
|
|
103
|
+
"react-resizable-panels": "^4.6.4",
|
|
104
|
+
"resend": "^6.9.2",
|
|
110
105
|
"server-cli-only": "^0.3.2",
|
|
111
106
|
"server-only": "^0.0.1",
|
|
112
|
-
"sonner": "^2.0.
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"urlpattern-polyfill": "^10.1.0",
|
|
116
|
-
"use-debounce": "^10.0.4",
|
|
107
|
+
"sonner": "^2.0.7",
|
|
108
|
+
"tailwind-merge": "^3.5.0",
|
|
109
|
+
"use-debounce": "^10.1.0",
|
|
117
110
|
"uuid": "^13.0.0",
|
|
118
111
|
"vaul": "^1.1.2",
|
|
119
|
-
"zod": "^4.
|
|
112
|
+
"zod": "^4.3.6"
|
|
120
113
|
},
|
|
121
114
|
"peerDependencies": {
|
|
122
|
-
"
|
|
123
|
-
"
|
|
115
|
+
"@better-auth/passkey": "^1.4.18",
|
|
116
|
+
"better-auth": "^1.4.18",
|
|
117
|
+
"next": "16.1.6",
|
|
118
|
+
"nuqs": "2.8.8",
|
|
124
119
|
"pg": "8.18.0",
|
|
125
|
-
"react": "19.2.
|
|
126
|
-
"react-dom": "19.2.
|
|
127
|
-
"
|
|
128
|
-
"
|
|
120
|
+
"react": "19.2.4",
|
|
121
|
+
"react-dom": "19.2.4",
|
|
122
|
+
"recharts": "3.7.0",
|
|
123
|
+
"sharp": "^0.34.5"
|
|
129
124
|
},
|
|
130
125
|
"publishConfig": {
|
|
131
126
|
"access": "public"
|
|
132
127
|
},
|
|
128
|
+
"engines": {
|
|
129
|
+
"node": "24.x"
|
|
130
|
+
},
|
|
133
131
|
"files": [
|
|
134
132
|
"dist",
|
|
135
133
|
"src"
|
|
@@ -165,13 +163,12 @@
|
|
|
165
163
|
"./package.json": "./package.json",
|
|
166
164
|
"./styles.css": "./src/styles.css"
|
|
167
165
|
},
|
|
168
|
-
"main": "./dist/components.js",
|
|
169
|
-
"module": "./dist/components.js",
|
|
170
166
|
"types": "./dist/components.d.ts",
|
|
171
167
|
"scripts": {
|
|
172
168
|
"dev": "tsdown --config-loader tsdown.config.ts --watch",
|
|
173
169
|
"build": "tsdown --config-loader tsdown.config.ts",
|
|
174
|
-
"lint": "
|
|
170
|
+
"lint": "biome check",
|
|
171
|
+
"format": "biome format --write",
|
|
175
172
|
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
|
|
176
173
|
"ui:add": "pnpm dlx shadcn@latest add",
|
|
177
174
|
"email": "email dev --port 9090 --dir src/components/emails"
|
|
@@ -28,6 +28,8 @@ import {
|
|
|
28
28
|
Loader2,
|
|
29
29
|
LockKeyhole,
|
|
30
30
|
LockKeyholeOpen,
|
|
31
|
+
type LucideIcon,
|
|
32
|
+
type LucideProps,
|
|
31
33
|
Mail,
|
|
32
34
|
Moon,
|
|
33
35
|
MoreVertical,
|
|
@@ -48,8 +50,6 @@ import {
|
|
|
48
50
|
User,
|
|
49
51
|
UsersIcon,
|
|
50
52
|
X,
|
|
51
|
-
type LucideIcon,
|
|
52
|
-
type LucideProps,
|
|
53
53
|
} from "lucide-react";
|
|
54
54
|
|
|
55
55
|
export type Icon = LucideIcon;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import { TooltipProvider } from "@/components/ui/tooltip.client";
|
|
4
3
|
import { EditorContent as TiptapEditorContent } from "@tiptap/react";
|
|
5
4
|
import { useContext } from "react";
|
|
5
|
+
import { TooltipProvider } from "@/components/ui/tooltip.client";
|
|
6
6
|
import { EditorContext } from "./editor.client";
|
|
7
7
|
|
|
8
8
|
export function EditorContent() {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
+
import { type Content, type Editor as TiptapEditor, useEditor } from "@tiptap/react";
|
|
4
|
+
import { cva, type VariantProps } from "class-variance-authority";
|
|
5
|
+
import { createContext, type PropsWithChildren } from "react";
|
|
3
6
|
import { cn } from "@/lib/utils/cn";
|
|
4
|
-
import { Content, Editor as TiptapEditor, useEditor } from "@tiptap/react";
|
|
5
|
-
import { cva, VariantProps } from "class-variance-authority";
|
|
6
|
-
import { createContext, PropsWithChildren } from "react";
|
|
7
7
|
import {
|
|
8
|
-
EditorExtensionsConfig,
|
|
9
|
-
EditorExtensionsConfigResult,
|
|
8
|
+
type EditorExtensionsConfig,
|
|
9
|
+
type EditorExtensionsConfigResult,
|
|
10
10
|
editorExtensionsConfigToExtensions,
|
|
11
11
|
flattenEditorExtensionsConfig,
|
|
12
12
|
} from "../lib/extensions";
|
|
13
|
-
import { EditorJSONContent } from "../lib/types";
|
|
13
|
+
import type { EditorJSONContent } from "../lib/types";
|
|
14
14
|
import { editorImageVariants, editorProseVariants } from "../lib/variants";
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
DropdownMenu,
|
|
4
|
-
DropdownMenuContent,
|
|
5
|
-
DropdownMenuItem,
|
|
6
|
-
DropdownMenuTrigger,
|
|
7
|
-
} from "@/components/ui/dropdown-menu";
|
|
8
|
-
import { Editor } from "@tiptap/react";
|
|
1
|
+
import type { Editor } from "@tiptap/react";
|
|
9
2
|
import {
|
|
10
3
|
ChevronDown,
|
|
11
4
|
Heading1Icon,
|
|
@@ -18,7 +11,14 @@ import {
|
|
|
18
11
|
TextIcon,
|
|
19
12
|
} from "lucide-react";
|
|
20
13
|
import { useContext } from "react";
|
|
21
|
-
import {
|
|
14
|
+
import { Button } from "@/components/ui/button";
|
|
15
|
+
import {
|
|
16
|
+
DropdownMenu,
|
|
17
|
+
DropdownMenuContent,
|
|
18
|
+
DropdownMenuItem,
|
|
19
|
+
DropdownMenuTrigger,
|
|
20
|
+
} from "@/components/ui/dropdown-menu";
|
|
21
|
+
import type { EditorExtensionsConfigResult } from "../lib/extensions";
|
|
22
22
|
import { EditorContext } from "./editor.client";
|
|
23
23
|
|
|
24
24
|
const blocks = [
|
|
@@ -104,9 +104,9 @@ export function EditorMenuNodes() {
|
|
|
104
104
|
</DropdownMenuTrigger>
|
|
105
105
|
|
|
106
106
|
<DropdownMenuContent>
|
|
107
|
-
{filteredBlocks.map(({ label, icon: Icon, handler }
|
|
107
|
+
{filteredBlocks.map(({ label, icon: Icon, handler }) => (
|
|
108
108
|
<DropdownMenuItem
|
|
109
|
-
key={
|
|
109
|
+
key={label}
|
|
110
110
|
onClick={() => handler(editor)}
|
|
111
111
|
className="flex items-center gap-2"
|
|
112
112
|
>
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import { Button } from "@/components/ui/button";
|
|
2
|
-
import { ColorPicker } from "@/components/ui/color-picker.client";
|
|
3
|
-
import { Popover, PopoverContent, PopoverTrigger } from "@/components/ui/popover";
|
|
4
|
-
import { cn } from "@/lib/entry";
|
|
5
1
|
import { BubbleMenu } from "@tiptap/react/menus";
|
|
6
2
|
import {
|
|
7
3
|
BaselineIcon,
|
|
@@ -14,7 +10,11 @@ import {
|
|
|
14
10
|
UnderlineIcon,
|
|
15
11
|
UndoIcon,
|
|
16
12
|
} from "lucide-react";
|
|
17
|
-
import { ComponentProps, PropsWithChildren, useContext } from "react";
|
|
13
|
+
import { type ComponentProps, type PropsWithChildren, useContext } from "react";
|
|
14
|
+
import { Button } from "@/components/ui/button";
|
|
15
|
+
import { ColorPicker } from "@/components/ui/color-picker.client";
|
|
16
|
+
import { Popover, PopoverContent, PopoverTrigger } from "@/components/ui/popover";
|
|
17
|
+
import { cn } from "@/lib/entry";
|
|
18
18
|
import { EditorContext } from "./editor.client";
|
|
19
19
|
import { EditorMenuNodes } from "./menu-nodes.client";
|
|
20
20
|
|
|
@@ -10,14 +10,8 @@ export function SpinnerComponent({ ref, className, ...props }: React.SVGProps<SV
|
|
|
10
10
|
className={cn("animate-spin", className)}
|
|
11
11
|
{...props}
|
|
12
12
|
>
|
|
13
|
-
<
|
|
14
|
-
|
|
15
|
-
cx="12"
|
|
16
|
-
cy="12"
|
|
17
|
-
r="10"
|
|
18
|
-
stroke="currentColor"
|
|
19
|
-
strokeWidth="4"
|
|
20
|
-
/>
|
|
13
|
+
<title>Spinner</title>
|
|
14
|
+
<circle className="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" strokeWidth="4" />
|
|
21
15
|
<path
|
|
22
16
|
className="opacity-75"
|
|
23
17
|
fill="currentColor"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
FileHandler as TiptapFileHandler,
|
|
5
|
-
FileHandlerOptions as TiptapFileHandlerOptions,
|
|
5
|
+
type FileHandlerOptions as TiptapFileHandlerOptions,
|
|
6
6
|
} from "@tiptap/extension-file-handler";
|
|
7
7
|
import { Plugin, PluginKey } from "@tiptap/pm/state";
|
|
8
8
|
import { collectImageIds, diffIds } from "./utils";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { UploadClient, UploadHooks } from "@/modules/storage/entry.client";
|
|
3
|
-
import { Editor } from "@tiptap/core";
|
|
1
|
+
import type { Editor } from "@tiptap/core";
|
|
4
2
|
import { TextSelection } from "@tiptap/pm/state";
|
|
5
|
-
import {
|
|
3
|
+
import type { SelectNodeSchema, UploadFileSchema } from "@/modules/storage/entry";
|
|
4
|
+
import type { UploadClient, UploadHooks } from "@/modules/storage/entry.client";
|
|
5
|
+
import type { FileHandlerOptions } from "./extension";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Handle File Handler props
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { Node } from "@tiptap/pm/model";
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Collects and counts all image node IDs from a document.
|
|
3
5
|
*
|
|
@@ -10,10 +12,10 @@
|
|
|
10
12
|
* console.info(`Image ${imageId} appears ${count} times`);
|
|
11
13
|
* });
|
|
12
14
|
*/
|
|
13
|
-
export function collectImageIds(doc:
|
|
15
|
+
export function collectImageIds(doc: Node): Map<string, number> {
|
|
14
16
|
const counts = new Map<string, number>();
|
|
15
17
|
|
|
16
|
-
doc.descendants((node
|
|
18
|
+
doc.descendants((node) => {
|
|
17
19
|
if (node.type.name !== "image") return;
|
|
18
20
|
|
|
19
21
|
const id = node.attrs?.nodeId;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
+
import {
|
|
4
|
+
Image as TiptapImage,
|
|
5
|
+
type ImageOptions as TiptapImageOptions,
|
|
6
|
+
} from "@tiptap/extension-image";
|
|
3
7
|
import { getFileUrl } from "@/modules/storage/lib/helpers";
|
|
4
|
-
import { Image as TiptapImage, ImageOptions as TiptapImageOptions } from "@tiptap/extension-image";
|
|
5
8
|
|
|
6
9
|
export interface ImageOptions extends TiptapImageOptions {}
|
|
7
10
|
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import type { Node } from "@tiptap/pm/model";
|
|
4
4
|
import { NodeViewWrapper } from "@tiptap/react";
|
|
5
|
+
import { Skeleton } from "@/components/ui/skeleton";
|
|
5
6
|
|
|
6
|
-
export function SkeletonNodeRenderer(props: { node:
|
|
7
|
+
export function SkeletonNodeRenderer(props: { node: Node }) {
|
|
7
8
|
const { width, height } = props.node.attrs;
|
|
8
9
|
|
|
9
10
|
return (
|
|
10
11
|
<NodeViewWrapper as="span" data-skeleton="true">
|
|
11
|
-
<Skeleton className="min-h-
|
|
12
|
+
<Skeleton className="min-h-125 w-full" style={{ width, height }} />
|
|
12
13
|
</NodeViewWrapper>
|
|
13
14
|
);
|
|
14
15
|
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { BlockquoteOptions } from "@tiptap/extension-blockquote";
|
|
2
|
-
import { BoldOptions } from "@tiptap/extension-bold";
|
|
3
|
-
import { HardBreakOptions } from "@tiptap/extension-hard-break";
|
|
4
|
-
import { HeadingOptions } from "@tiptap/extension-heading";
|
|
5
|
-
import { HighlightOptions } from "@tiptap/extension-highlight";
|
|
6
|
-
import { HorizontalRuleOptions } from "@tiptap/extension-horizontal-rule";
|
|
7
|
-
import { ItalicOptions } from "@tiptap/extension-italic";
|
|
8
|
-
import { LinkOptions } from "@tiptap/extension-link";
|
|
9
|
-
import {
|
|
1
|
+
import type { BlockquoteOptions } from "@tiptap/extension-blockquote";
|
|
2
|
+
import type { BoldOptions } from "@tiptap/extension-bold";
|
|
3
|
+
import type { HardBreakOptions } from "@tiptap/extension-hard-break";
|
|
4
|
+
import type { HeadingOptions } from "@tiptap/extension-heading";
|
|
5
|
+
import type { HighlightOptions } from "@tiptap/extension-highlight";
|
|
6
|
+
import type { HorizontalRuleOptions } from "@tiptap/extension-horizontal-rule";
|
|
7
|
+
import type { ItalicOptions } from "@tiptap/extension-italic";
|
|
8
|
+
import type { LinkOptions } from "@tiptap/extension-link";
|
|
9
|
+
import type {
|
|
10
10
|
BulletListOptions,
|
|
11
11
|
ListItemOptions,
|
|
12
12
|
ListKeymapOptions,
|
|
13
13
|
OrderedListOptions,
|
|
14
14
|
} from "@tiptap/extension-list";
|
|
15
|
-
import { ParagraphOptions } from "@tiptap/extension-paragraph";
|
|
16
|
-
import { StrikeOptions } from "@tiptap/extension-strike";
|
|
17
|
-
import { ColorOptions, TextStyleOptions } from "@tiptap/extension-text-style";
|
|
18
|
-
import { UnderlineOptions } from "@tiptap/extension-underline";
|
|
19
|
-
import { DropcursorOptions, TrailingNodeOptions, UndoRedoOptions } from "@tiptap/extensions";
|
|
20
|
-
import { Extension } from "@tiptap/react";
|
|
15
|
+
import type { ParagraphOptions } from "@tiptap/extension-paragraph";
|
|
16
|
+
import type { StrikeOptions } from "@tiptap/extension-strike";
|
|
17
|
+
import type { ColorOptions, TextStyleOptions } from "@tiptap/extension-text-style";
|
|
18
|
+
import type { UnderlineOptions } from "@tiptap/extension-underline";
|
|
19
|
+
import type { DropcursorOptions, TrailingNodeOptions, UndoRedoOptions } from "@tiptap/extensions";
|
|
20
|
+
import type { Extension } from "@tiptap/react";
|
|
21
21
|
import deepmerge from "deepmerge";
|
|
22
|
-
import { FileHandlerOptions } from "../extensions/file-handler/extension";
|
|
23
|
-
import { ImageOptions } from "../extensions/image/extension";
|
|
22
|
+
import type { FileHandlerOptions } from "../extensions/file-handler/extension";
|
|
23
|
+
import type { ImageOptions } from "../extensions/image/extension";
|
|
24
24
|
import {
|
|
25
25
|
EDITOR_EXTENSIONS,
|
|
26
26
|
EDITOR_EXTENSIONS_CONFIG,
|
|
27
27
|
EDITOR_EXTENSIONS_KEYS,
|
|
28
|
-
EditorExtensions,
|
|
28
|
+
type EditorExtensions,
|
|
29
29
|
} from "./constants";
|
|
30
30
|
|
|
31
31
|
/**
|
|
@@ -114,6 +114,7 @@ export function editorExtensionsConfigToExtensions(extensions?: Partial<EditorEx
|
|
|
114
114
|
if (value === undefined) return configure(true) as Extension;
|
|
115
115
|
|
|
116
116
|
// If value is boolean, return extension
|
|
117
|
+
// biome-ignore lint/suspicious/noExplicitAny: This is needed to satisfy the type system
|
|
117
118
|
return configure(value as any) as Extension;
|
|
118
119
|
});
|
|
119
120
|
}
|
|
@@ -128,16 +129,12 @@ export function flattenEditorExtensionsConfig(
|
|
|
128
129
|
const value = extensions?.[key as keyof EditorExtensionsConfig];
|
|
129
130
|
|
|
130
131
|
if (value === undefined) {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
[key]: true,
|
|
134
|
-
};
|
|
132
|
+
acc[key as keyof EditorExtensionsConfigResult] = true;
|
|
133
|
+
return acc;
|
|
135
134
|
}
|
|
136
135
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
[key]: typeof value === "boolean" ? value : true,
|
|
140
|
-
};
|
|
136
|
+
acc[key as keyof EditorExtensionsConfigResult] = typeof value === "boolean" ? value : true;
|
|
137
|
+
return acc;
|
|
141
138
|
}, {} as EditorExtensionsConfigResult);
|
|
142
139
|
}
|
|
143
140
|
|
|
@@ -13,7 +13,7 @@ import Text from "@tiptap/extension-text";
|
|
|
13
13
|
import Underline from "@tiptap/extension-underline";
|
|
14
14
|
import { Dropcursor, Gapcursor, TrailingNode, UndoRedo } from "@tiptap/extensions";
|
|
15
15
|
import { generateHTML, generateJSON } from "@tiptap/html";
|
|
16
|
-
import { EditorJSONContent } from "./types";
|
|
16
|
+
import type { EditorJSONContent } from "./types";
|
|
17
17
|
|
|
18
18
|
const EXTENSIONS_FOR_GENERATION = [
|
|
19
19
|
Blockquote,
|