@tulip-systems/core 0.5.14 → 0.5.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/client.d.mts +5 -4
- package/dist/auth/client.mjs +6 -5
- package/dist/auth.mjs +2 -2
- package/dist/components/client.d.mts +1 -3
- package/dist/components/client.mjs +3 -5
- package/dist/components/common/icons.d.mts +52 -52
- package/dist/components/common/icons.d.mts.map +1 -1
- package/dist/components/common/status.d.mts +3 -3
- 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/editor.client.d.mts +6 -6
- package/dist/components/editor/components/editor.client.d.mts.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/lib/constants.d.mts +27 -27
- 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/bottom-bar.client.d.mts +3 -3
- package/dist/components/header/bottom-bar.client.d.mts.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/header.client.d.mts +2 -2
- package/dist/components/header/header.client.d.mts.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/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-error-pages.d.mts +4 -4
- 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 +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/empty-page.d.mts +4 -4
- 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-sections.d.mts +5 -5
- package/dist/components/layouts/list-layout.d.mts +2 -2
- 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/root-error-pages.d.mts +2 -2
- package/dist/components/layouts/root-layout.server.d.mts +4 -4
- package/dist/components/layouts/root-layout.server.d.mts.map +1 -1
- package/dist/components/layouts/root-loading.d.mts +2 -2
- package/dist/components/layouts/tab-layout.d.mts +2 -2
- package/dist/components/lists/data-list.d.mts +5 -5
- package/dist/components/lists/data-stack.d.mts +8 -8
- package/dist/components/navigation/admin-sidebar-header.client.mjs +3 -2
- 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/ui/accordion.d.mts +5 -5
- package/dist/components/ui/alert-dialog.d.mts +12 -12
- package/dist/components/ui/alert.d.mts +6 -6
- package/dist/components/ui/aspect-ratio.d.mts +2 -2
- 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/badge.d.mts +5 -5
- package/dist/components/ui/breadcrumb.d.mts +8 -8
- package/dist/components/ui/button.d.mts +5 -5
- package/dist/components/ui/calendar.d.mts +3 -3
- package/dist/components/ui/card.d.mts +7 -7
- package/dist/components/ui/carousel.d.mts +6 -6
- 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/checkbox.d.mts +2 -2
- 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/combobox-dropdown.client.d.mts +2 -2
- package/dist/components/ui/combobox-dropdown.client.d.mts.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/command.d.mts +10 -10
- package/dist/components/ui/context-menu.d.mts +16 -16
- 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/dialog.client.d.mts +11 -11
- package/dist/components/ui/dialog.client.d.mts.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/dropdown-menu.d.mts +16 -16
- 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/hover-card.client.d.mts +4 -4
- package/dist/components/ui/hover-card.client.d.mts.map +1 -1
- package/dist/components/ui/input-date-time.d.mts +23 -0
- package/dist/components/ui/input-date-time.d.mts.map +1 -0
- package/dist/components/ui/input-date-time.mjs +34 -0
- package/dist/components/ui/input-date-time.mjs.map +1 -0
- package/dist/components/ui/input-date.d.mts +14 -0
- package/dist/components/ui/input-date.d.mts.map +1 -0
- package/dist/components/ui/input-date.mjs +16 -0
- package/dist/components/ui/input-date.mjs.map +1 -0
- package/dist/components/ui/input-recipient.d.mts +2 -2
- package/dist/components/ui/input-time.d.mts +14 -0
- package/dist/components/ui/input-time.d.mts.map +1 -0
- package/dist/components/ui/input-time.mjs +16 -0
- package/dist/components/ui/input-time.mjs.map +1 -0
- package/dist/components/ui/input.d.mts +2 -2
- package/dist/components/ui/label.d.mts +2 -2
- package/dist/components/ui/navigation-menu.d.mts +11 -11
- package/dist/components/ui/pagination.d.mts +8 -8
- package/dist/components/ui/popover.d.mts +5 -5
- 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/radio-group.d.mts +3 -3
- 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/scroll-area.d.mts +3 -3
- 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/separator.d.mts +2 -2
- 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/sidebar.client.d.mts +26 -26
- package/dist/components/ui/sidebar.client.d.mts.map +1 -1
- package/dist/components/ui/skeleton.d.mts +2 -2
- package/dist/components/ui/slider.d.mts +2 -2
- package/dist/components/ui/sonner.client.d.mts +2 -2
- package/dist/components/ui/sonner.client.mjs +1 -1
- package/dist/components/ui/switch.d.mts +2 -2
- package/dist/components/ui/tabs.d.mts +5 -5
- package/dist/components/ui/textarea.d.mts +2 -2
- package/dist/components/ui/toggle-group.client.d.mts +3 -3
- package/dist/components/ui/toggle.d.mts +4 -4
- package/dist/components/ui/tooltip.client.d.mts +5 -5
- package/dist/components.d.mts +4 -1
- package/dist/components.mjs +6 -3
- package/dist/inline-edit/client.d.mts +3 -1
- package/dist/inline-edit/client.mjs +3 -1
- package/dist/lib/client.mjs +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/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 +2 -3
- 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-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 +4 -3
- 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 +4 -3
- 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.server.d.mts +3 -2
- package/dist/modules/auth/components/guard.server.d.mts.map +1 -1
- package/dist/modules/auth/components/guard.server.mjs +1 -0
- 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 +4 -3
- 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 +4 -3
- 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 +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/handler/{client.client.d.mts → create-client.client.d.mts} +328 -188
- package/dist/modules/auth/handler/create-client.client.d.mts.map +1 -0
- package/dist/modules/auth/handler/create-client.client.mjs +26 -0
- package/dist/modules/auth/handler/create-client.client.mjs.map +1 -0
- package/dist/modules/auth/handler/init.d.mts +116 -130
- package/dist/modules/auth/handler/init.d.mts.map +1 -1
- package/dist/modules/auth/hooks/use-auth-client.d.mts +24 -0
- package/dist/modules/auth/hooks/use-auth-client.d.mts.map +1 -0
- package/dist/modules/auth/hooks/use-auth-client.mjs +31 -0
- package/dist/modules/auth/hooks/use-auth-client.mjs.map +1 -0
- package/dist/modules/auth/hooks/use-permission.d.mts +8 -35
- package/dist/modules/auth/hooks/use-permission.d.mts.map +1 -1
- package/dist/modules/auth/hooks/use-permission.mjs +47 -93
- package/dist/modules/auth/hooks/use-permission.mjs.map +1 -1
- package/dist/modules/auth/hooks/use-session.d.mts +5 -119
- package/dist/modules/auth/hooks/use-session.d.mts.map +1 -1
- package/dist/modules/auth/hooks/use-session.mjs +15 -17
- package/dist/modules/auth/hooks/use-session.mjs.map +1 -1
- package/dist/modules/auth/lib/helpers.server.d.mts +2 -2
- package/dist/modules/auth/lib/helpers.server.d.mts.map +1 -1
- package/dist/modules/auth/lib/helpers.server.mjs +1 -1
- package/dist/modules/auth/lib/validators.d.mts +2 -2
- package/dist/modules/auth/lib/validators.d.mts.map +1 -1
- package/dist/modules/commands/components/alert-dialog-command.client.d.mts +11 -11
- package/dist/modules/commands/components/alert-dialog-command.client.d.mts.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/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/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/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/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/form-dialog-command.client.d.mts +12 -12
- package/dist/modules/commands/components/form-dialog-command.client.d.mts.map +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.mjs +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/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/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/responsive-menu.client.d.mts +3 -3
- package/dist/modules/commands/menus/responsive-menu.client.d.mts.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/delete-command.client.d.mts +3 -3
- package/dist/modules/commands/utils/delete-command.client.d.mts.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/lib/config.d.mts +1 -1
- package/dist/modules/config/lib/config.mjs.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/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/filters/combobox.client.d.mts +2 -2
- package/dist/modules/data-tables/components/filters/slider.client.d.mts +2 -2
- 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/layout.d.mts +2 -2
- package/dist/modules/data-tables/components/layout.d.mts.map +1 -1
- package/dist/modules/data-tables/components/search-input.client.d.mts +2 -2
- 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/table.d.mts +7 -7
- package/dist/modules/data-tables/components/table.d.mts.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/hooks/use-context.client.d.mts +2 -2
- package/dist/modules/data-tables/strategies/helpers/sorting.mjs +1 -1
- package/dist/modules/data-tables/tables/data-table/components/table.d.mts +2 -2
- 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/drag-handle.client.d.mts +2 -2
- 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/table.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts +2 -2
- 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.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/combobox.client.d.mts.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-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-time.client.d.mts +21 -0
- package/dist/modules/inline-edit/components/date-time.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/date-time.client.mjs +33 -0
- package/dist/modules/inline-edit/components/date-time.client.mjs.map +1 -0
- 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/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-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.client.d.mts +4 -4
- package/dist/modules/inline-edit/components/input.client.d.mts.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/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/toggle.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/toggle.client.d.mts.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/use-inline.client.d.mts +15 -2
- package/dist/modules/inline-edit/hooks/use-inline.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/hooks/use-inline.client.mjs +2 -6
- package/dist/modules/inline-edit/hooks/use-inline.client.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/lib/query-client.server.d.mts +2 -2
- package/dist/modules/router/lib/query-client.server.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.client.d.mts +5 -5
- package/dist/modules/storage/components/dropzone.client.d.mts.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 +1 -1
- package/dist/modules/storage/components/upload-zone.client.d.mts +2 -2
- package/dist/modules/storage/components/upload-zone.client.d.mts.map +1 -1
- package/dist/modules/storage/components/upload-zone.client.mjs +1 -1
- package/dist/modules/storage/lib/create-upload.client.d.mts.map +1 -1
- package/dist/modules/storage/lib/proxy.server.mjs +1 -1
- package/dist/modules/storage/lib/router.server.d.mts +2359 -2359
- package/dist/modules/storage/lib/router.server.d.mts.map +1 -1
- package/dist/modules/storage/lib/router.server.mjs +1 -1
- package/dist/modules/storage/lib/schema.d.mts +92 -92
- package/dist/modules/storage/lib/service.server.d.mts +24 -24
- package/dist/modules/storage/lib/service.server.mjs +1 -1
- package/dist/modules/storage/lib/validators.d.mts +90 -90
- package/dist/modules/storage/lib/validators.d.mts.map +1 -1
- package/package.json +3 -10
- package/src/components/entry.client.ts +0 -2
- package/src/components/entry.ts +3 -0
- package/src/components/layouts/admin-layout.tsx +1 -3
- package/src/components/navigation/admin-sidebar-header.client.tsx +3 -20
- package/src/components/ui/input-date-time.tsx +58 -0
- package/src/components/ui/input-date.tsx +20 -0
- package/src/components/ui/input-time.tsx +20 -0
- package/src/modules/auth/components/allowed.client.tsx +2 -2
- package/src/modules/auth/components/create-first-user-page.client.tsx +3 -2
- package/src/modules/auth/components/forget-password-page.client.tsx +2 -1
- package/src/modules/auth/components/guard.server.tsx +2 -0
- package/src/modules/auth/components/login-page.client.tsx +2 -1
- package/src/modules/auth/components/reset-password-page.client.tsx +3 -1
- package/src/modules/auth/entry.client.ts +13 -1
- package/src/modules/auth/entry.ts +11 -0
- package/src/modules/auth/handler/create-client.client.ts +53 -0
- package/src/modules/auth/hooks/use-auth-client.tsx +38 -0
- package/src/modules/auth/hooks/use-permission.ts +49 -94
- package/src/modules/auth/hooks/use-session.ts +16 -16
- package/src/modules/commands/hooks/use-command-menu.client.tsx +0 -6
- package/src/modules/config/lib/config.ts +3 -2
- package/src/modules/inline-edit/components/date-time.client.tsx +38 -0
- package/src/modules/inline-edit/entry.client.ts +9 -0
- package/src/modules/inline-edit/entry.server.ts +3 -0
- package/src/modules/inline-edit/entry.ts +3 -0
- package/src/modules/inline-edit/hooks/use-inline.client.tsx +1 -1
- package/dist/components/ui/time-input.client.d.mts +0 -16
- package/dist/components/ui/time-input.client.d.mts.map +0 -1
- package/dist/components/ui/time-input.client.mjs +0 -53
- package/dist/components/ui/time-input.client.mjs.map +0 -1
- package/dist/components/ui/time-picker-input.client.d.mts +0 -15
- package/dist/components/ui/time-picker-input.client.d.mts.map +0 -1
- package/dist/components/ui/time-picker-input.client.mjs +0 -64
- package/dist/components/ui/time-picker-input.client.mjs.map +0 -1
- package/dist/lib/utils/time-picker.d.mts +0 -6
- package/dist/lib/utils/time-picker.d.mts.map +0 -1
- package/dist/lib/utils/time-picker.mjs +0 -104
- package/dist/lib/utils/time-picker.mjs.map +0 -1
- package/dist/modules/auth/handler/client.client.d.mts.map +0 -1
- package/dist/modules/auth/handler/client.client.mjs +0 -21
- package/dist/modules/auth/handler/client.client.mjs.map +0 -1
- package/src/components/ui/time-input.client.tsx +0 -56
- package/src/components/ui/time-picker-input.client.tsx +0 -107
- package/src/modules/auth/components/guard.client.tsx +0 -12
- package/src/modules/auth/handler/client.client.ts +0 -16
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime195 from "react/jsx-runtime";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/context-menu.d.ts
|
|
6
6
|
declare function ContextMenu({
|
|
7
7
|
...props
|
|
8
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Root>):
|
|
8
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Root>): react_jsx_runtime195.JSX.Element;
|
|
9
9
|
declare function ContextMenuTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Trigger>):
|
|
11
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Trigger>): react_jsx_runtime195.JSX.Element;
|
|
12
12
|
declare function ContextMenuGroup({
|
|
13
13
|
...props
|
|
14
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Group>):
|
|
14
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Group>): react_jsx_runtime195.JSX.Element;
|
|
15
15
|
declare function ContextMenuPortal({
|
|
16
16
|
...props
|
|
17
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Portal>):
|
|
17
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Portal>): react_jsx_runtime195.JSX.Element;
|
|
18
18
|
declare function ContextMenuSub({
|
|
19
19
|
...props
|
|
20
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Sub>):
|
|
20
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Sub>): react_jsx_runtime195.JSX.Element;
|
|
21
21
|
declare function ContextMenuRadioGroup({
|
|
22
22
|
...props
|
|
23
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>):
|
|
23
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): react_jsx_runtime195.JSX.Element;
|
|
24
24
|
declare function ContextMenuSubTrigger({
|
|
25
25
|
className,
|
|
26
26
|
inset,
|
|
@@ -28,15 +28,15 @@ declare function ContextMenuSubTrigger({
|
|
|
28
28
|
...props
|
|
29
29
|
}: React$1.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
|
|
30
30
|
inset?: boolean;
|
|
31
|
-
}):
|
|
31
|
+
}): react_jsx_runtime195.JSX.Element;
|
|
32
32
|
declare function ContextMenuSubContent({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.SubContent>):
|
|
35
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.SubContent>): react_jsx_runtime195.JSX.Element;
|
|
36
36
|
declare function ContextMenuContent({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Content>):
|
|
39
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Content>): react_jsx_runtime195.JSX.Element;
|
|
40
40
|
declare function ContextMenuItem({
|
|
41
41
|
className,
|
|
42
42
|
inset,
|
|
@@ -45,33 +45,33 @@ declare function ContextMenuItem({
|
|
|
45
45
|
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Item> & {
|
|
46
46
|
inset?: boolean;
|
|
47
47
|
variant?: "default" | "destructive";
|
|
48
|
-
}):
|
|
48
|
+
}): react_jsx_runtime195.JSX.Element;
|
|
49
49
|
declare function ContextMenuCheckboxItem({
|
|
50
50
|
className,
|
|
51
51
|
children,
|
|
52
52
|
checked,
|
|
53
53
|
...props
|
|
54
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>):
|
|
54
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): react_jsx_runtime195.JSX.Element;
|
|
55
55
|
declare function ContextMenuRadioItem({
|
|
56
56
|
className,
|
|
57
57
|
children,
|
|
58
58
|
...props
|
|
59
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioItem>):
|
|
59
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): react_jsx_runtime195.JSX.Element;
|
|
60
60
|
declare function ContextMenuLabel({
|
|
61
61
|
className,
|
|
62
62
|
inset,
|
|
63
63
|
...props
|
|
64
64
|
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Label> & {
|
|
65
65
|
inset?: boolean;
|
|
66
|
-
}):
|
|
66
|
+
}): react_jsx_runtime195.JSX.Element;
|
|
67
67
|
declare function ContextMenuSeparator({
|
|
68
68
|
className,
|
|
69
69
|
...props
|
|
70
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Separator>):
|
|
70
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Separator>): react_jsx_runtime195.JSX.Element;
|
|
71
71
|
declare function ContextMenuShortcut({
|
|
72
72
|
className,
|
|
73
73
|
...props
|
|
74
|
-
}: React$1.ComponentProps<"span">):
|
|
74
|
+
}: React$1.ComponentProps<"span">): react_jsx_runtime195.JSX.Element;
|
|
75
75
|
//#endregion
|
|
76
76
|
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
|
|
77
77
|
//# sourceMappingURL=context-menu.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Button } from "./button.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime309 from "react/jsx-runtime";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/date-picker.client.d.ts
|
|
@@ -15,7 +15,7 @@ declare function DatePicker({
|
|
|
15
15
|
className,
|
|
16
16
|
variant,
|
|
17
17
|
...props
|
|
18
|
-
}: DatePickerProps):
|
|
18
|
+
}: DatePickerProps): react_jsx_runtime309.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { DatePicker, DatePickerProps };
|
|
21
21
|
//# sourceMappingURL=date-picker.client.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker.client.d.mts","names":[],"sources":["../../../src/components/ui/date-picker.client.tsx"],"sourcesContent":[],"mappings":";;;;;KASY,eAAA,GAAkB,KAAK,OAAA,CAAM,sBAAsB;gBAC/C;mBACG;EAFP,QAAA,CAAA,EAAA,CAAA,IAAA,EAGQ,IAHO,EAAA,GAAA,OAAA;CAAoC;AAA5B,iBAMnB,UAAA,CANyB;EAAA,WAAA;EAAA,QAAA;EAAA,QAAA;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EAatC,eAbsC,CAAA,EAavB,
|
|
1
|
+
{"version":3,"file":"date-picker.client.d.mts","names":[],"sources":["../../../src/components/ui/date-picker.client.tsx"],"sourcesContent":[],"mappings":";;;;;KASY,eAAA,GAAkB,KAAK,OAAA,CAAM,sBAAsB;gBAC/C;mBACG;EAFP,QAAA,CAAA,EAAA,CAAA,IAAA,EAGQ,IAHO,EAAA,GAAA,OAAA;CAAoC;AAA5B,iBAMnB,UAAA,CANyB;EAAA,WAAA;EAAA,QAAA;EAAA,QAAA;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EAatC,eAbsC,CAAA,EAavB,oBAAA,CAAA,GAAA,CAAA,OAbuB"}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime310 from "react/jsx-runtime";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/dialog.client.d.ts
|
|
6
6
|
declare function Dialog({
|
|
7
7
|
...props
|
|
8
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Root>):
|
|
8
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime310.JSX.Element;
|
|
9
9
|
declare function DialogTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Trigger>):
|
|
11
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime310.JSX.Element;
|
|
12
12
|
declare function DialogPortal({
|
|
13
13
|
...props
|
|
14
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Portal>):
|
|
14
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime310.JSX.Element;
|
|
15
15
|
declare function DialogClose({
|
|
16
16
|
...props
|
|
17
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Close>):
|
|
17
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime310.JSX.Element;
|
|
18
18
|
declare function DialogOverlay({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Overlay>):
|
|
21
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime310.JSX.Element;
|
|
22
22
|
declare function DialogContent({
|
|
23
23
|
className,
|
|
24
24
|
children,
|
|
25
25
|
...props
|
|
26
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Content>):
|
|
26
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Content>): react_jsx_runtime310.JSX.Element;
|
|
27
27
|
declare function DialogHeader({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React$1.ComponentProps<"div">):
|
|
30
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime310.JSX.Element;
|
|
31
31
|
declare function DialogFooter({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React$1.ComponentProps<"div">):
|
|
34
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime310.JSX.Element;
|
|
35
35
|
declare function DialogTitle({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Title>):
|
|
38
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime310.JSX.Element;
|
|
39
39
|
declare function DialogDescription({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Description>):
|
|
42
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime310.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
44
|
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
45
45
|
//# sourceMappingURL=dialog.client.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.client.d.mts","names":[],"sources":["../../../src/components/ui/dialog.client.tsx"],"sourcesContent":[],"mappings":";;;;;iBAQS,MAAA;;GAAqB,OAAA,CAAM,sBAAsB,eAAA,CAAgB,QAAK,
|
|
1
|
+
{"version":3,"file":"dialog.client.d.mts","names":[],"sources":["../../../src/components/ui/dialog.client.tsx"],"sourcesContent":[],"mappings":";;;;;iBAQS,MAAA;;GAAqB,OAAA,CAAM,sBAAsB,eAAA,CAAgB,QAAK,oBAAA,CAAA,GAAA,CAAA;iBAItE,aAAA;;GAA4B,OAAA,CAAM,sBAAsB,eAAA,CAAgB,WAAQ,oBAAA,CAAA,GAAA,CAAA;iBAIhF,YAAA;;GAA2B,OAAA,CAAM,sBAAsB,eAAA,CAAgB,UAAO,oBAAA,CAAA,GAAA,CAAA;AAZxD,iBAgBtB,WAAA,CAZM;EAAA,GAAA;AAAA,CAAA,EAYoB,OAAA,CAAM,cAZ1B,CAAA,OAYgD,eAAA,CAAgB,KAZhE,CAAA,CAAA,EAYsE,oBAAA,CAAA,GAAA,CAAA,OAZtE;iBAgBN,aAAA,CAhBiE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAmBvE,OAAA,CAAM,cAnBiE,CAAA,OAmB3C,eAAA,CAAgB,OAnB2B,CAAA,CAAA,EAmBnB,oBAAA,CAAA,GAAA,CAAA,OAnBmB;iBAgCjE,aAAA,CAhC2B;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAoCjC,OAAA,CAAM,cApC2B,CAAA,OAoCL,eAAA,CAAgB,OApCX,CAAA,CAAA,EAoCmB,oBAAA,CAAA,GAAA,CAAA,OApCnB;iBA0D3B,YAAA,CA1DsE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA0DhC,OAAA,CAAM,cA1D0B,CAAA,KAAA,CAAA,CAAA,EA0DL,oBAAA,CAAA,GAAA,CAAA,OA1DK;iBAoEtE,YAAA,CApEsE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAoEhC,OAAA,CAAM,cApE0B,CAAA,KAAA,CAAA,CAAA,EAoEL,oBAAA,CAAA,GAAA,CAAA,OApEK;AAAA,iBA8EtE,WAAA,CA1Ea;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA0EwB,OAAA,CAAM,cA1E9B,CAAA,OA0EoD,eAAA,CAAgB,KA1EpE,CAAA,CAAA,EA0E0E,oBAAA,CAAA,GAAA,CAAA,OA1E1E;iBAoFb,iBAAA,CApFwE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAuF9E,OAAA,CAAM,cAvFwE,CAAA,OAuFlD,eAAA,CAAgB,WAvFkC,CAAA,CAAA,EAuFtB,oBAAA,CAAA,GAAA,CAAA,OAvFsB"}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime320 from "react/jsx-runtime";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import { Drawer } from "vaul";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/drawer.client.d.ts
|
|
6
6
|
declare function Drawer$1({
|
|
7
7
|
...props
|
|
8
|
-
}: React$1.ComponentProps<typeof Drawer.Root>):
|
|
8
|
+
}: React$1.ComponentProps<typeof Drawer.Root>): react_jsx_runtime320.JSX.Element;
|
|
9
9
|
declare function DrawerTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React$1.ComponentProps<typeof Drawer.Trigger>):
|
|
11
|
+
}: React$1.ComponentProps<typeof Drawer.Trigger>): react_jsx_runtime320.JSX.Element;
|
|
12
12
|
declare function DrawerPortal({
|
|
13
13
|
...props
|
|
14
|
-
}: React$1.ComponentProps<typeof Drawer.Portal>):
|
|
14
|
+
}: React$1.ComponentProps<typeof Drawer.Portal>): react_jsx_runtime320.JSX.Element;
|
|
15
15
|
declare function DrawerClose({
|
|
16
16
|
...props
|
|
17
|
-
}: React$1.ComponentProps<typeof Drawer.Close>):
|
|
17
|
+
}: React$1.ComponentProps<typeof Drawer.Close>): react_jsx_runtime320.JSX.Element;
|
|
18
18
|
declare function DrawerOverlay({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React$1.ComponentProps<typeof Drawer.Overlay>):
|
|
21
|
+
}: React$1.ComponentProps<typeof Drawer.Overlay>): react_jsx_runtime320.JSX.Element;
|
|
22
22
|
declare function DrawerContent({
|
|
23
23
|
className,
|
|
24
24
|
children,
|
|
25
25
|
...props
|
|
26
|
-
}: React$1.ComponentProps<typeof Drawer.Content>):
|
|
26
|
+
}: React$1.ComponentProps<typeof Drawer.Content>): react_jsx_runtime320.JSX.Element;
|
|
27
27
|
declare function DrawerHeader({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React$1.ComponentProps<"div">):
|
|
30
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime320.JSX.Element;
|
|
31
31
|
declare function DrawerFooter({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React$1.ComponentProps<"div">):
|
|
34
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime320.JSX.Element;
|
|
35
35
|
declare function DrawerTitle({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React$1.ComponentProps<typeof Drawer.Title>):
|
|
38
|
+
}: React$1.ComponentProps<typeof Drawer.Title>): react_jsx_runtime320.JSX.Element;
|
|
39
39
|
declare function DrawerDescription({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React$1.ComponentProps<typeof Drawer.Description>):
|
|
42
|
+
}: React$1.ComponentProps<typeof Drawer.Description>): react_jsx_runtime320.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
44
|
export { Drawer$1 as Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
|
|
45
45
|
//# sourceMappingURL=drawer.client.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.client.d.mts","names":[],"sources":["../../../src/components/ui/drawer.client.tsx"],"sourcesContent":[],"mappings":";;;;;iBAOS,QAAA;;GAAqB,OAAA,CAAM,sBAAsB,MAAA,CAAgB,QAAK,
|
|
1
|
+
{"version":3,"file":"drawer.client.d.mts","names":[],"sources":["../../../src/components/ui/drawer.client.tsx"],"sourcesContent":[],"mappings":";;;;;iBAOS,QAAA;;GAAqB,OAAA,CAAM,sBAAsB,MAAA,CAAgB,QAAK,oBAAA,CAAA,GAAA,CAAA;iBAItE,aAAA;;GAA4B,OAAA,CAAM,sBAAsB,MAAA,CAAgB,WAAQ,oBAAA,CAAA,GAAA,CAAA;iBAIhF,YAAA;;GAA2B,OAAA,CAAM,sBAAsB,MAAA,CAAgB,UAAO,oBAAA,CAAA,GAAA,CAAA;AAZtC,iBAgBxC,WAAA,CAZM;EAAA,GAAA;AAAA,CAAA,EAYoB,OAAA,CAAM,cAZ1B,CAAA,OAYgD,MAAA,CAAgB,KAZhE,CAAA,CAAA,EAYsE,oBAAA,CAAA,GAAA,CAAA,OAZtE;iBAgBN,aAAA,CAhBiE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAmBvE,OAAA,CAAM,cAnBiE,CAAA,OAmB3C,MAAA,CAAgB,OAnB2B,CAAA,CAAA,EAmBnB,oBAAA,CAAA,GAAA,CAAA,OAnBmB;iBAgCjE,aAAA,CAhC2B;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAoCjC,OAAA,CAAM,cApC2B,CAAA,OAoCL,MAAA,CAAgB,OApCX,CAAA,CAAA,EAoCmB,oBAAA,CAAA,GAAA,CAAA,OApCnB;iBA2D3B,YAAA,CA3DsE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2DhC,OAAA,CAAM,cA3D0B,CAAA,KAAA,CAAA,CAAA,EA2DL,oBAAA,CAAA,GAAA,CAAA,OA3DK;iBAqEtE,YAAA,CArEsE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAqEhC,OAAA,CAAM,cArE0B,CAAA,KAAA,CAAA,CAAA,EAqEL,oBAAA,CAAA,GAAA,CAAA,OArEK;AAAA,iBA+EtE,WAAA,CA3Ea;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2EwB,OAAA,CAAM,cA3E9B,CAAA,OA2EoD,MAAA,CAAgB,KA3EpE,CAAA,CAAA,EA2E0E,oBAAA,CAAA,GAAA,CAAA,OA3E1E;iBAqFb,iBAAA,CArFwE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAwF9E,OAAA,CAAM,cAxFwE,CAAA,OAwFlD,MAAA,CAAgB,WAxFkC,CAAA,CAAA,EAwFtB,oBAAA,CAAA,GAAA,CAAA,OAxFsB"}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime210 from "react/jsx-runtime";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/dropdown-menu.d.ts
|
|
6
6
|
declare function DropdownMenu({
|
|
7
7
|
...props
|
|
8
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>):
|
|
8
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime210.JSX.Element;
|
|
9
9
|
declare function DropdownMenuPortal({
|
|
10
10
|
...props
|
|
11
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>):
|
|
11
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime210.JSX.Element;
|
|
12
12
|
declare function DropdownMenuTrigger({
|
|
13
13
|
...props
|
|
14
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>):
|
|
14
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime210.JSX.Element;
|
|
15
15
|
declare function DropdownMenuContent({
|
|
16
16
|
className,
|
|
17
17
|
sideOffset,
|
|
18
18
|
...props
|
|
19
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>):
|
|
19
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime210.JSX.Element;
|
|
20
20
|
declare function DropdownMenuGroup({
|
|
21
21
|
...props
|
|
22
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>):
|
|
22
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime210.JSX.Element;
|
|
23
23
|
declare function DropdownMenuItem({
|
|
24
24
|
className,
|
|
25
25
|
inset,
|
|
@@ -28,39 +28,39 @@ declare function DropdownMenuItem({
|
|
|
28
28
|
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
29
29
|
inset?: boolean;
|
|
30
30
|
variant?: "default" | "destructive";
|
|
31
|
-
}):
|
|
31
|
+
}): react_jsx_runtime210.JSX.Element;
|
|
32
32
|
declare function DropdownMenuCheckboxItem({
|
|
33
33
|
className,
|
|
34
34
|
children,
|
|
35
35
|
checked,
|
|
36
36
|
...props
|
|
37
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>):
|
|
37
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime210.JSX.Element;
|
|
38
38
|
declare function DropdownMenuRadioGroup({
|
|
39
39
|
...props
|
|
40
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>):
|
|
40
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime210.JSX.Element;
|
|
41
41
|
declare function DropdownMenuRadioItem({
|
|
42
42
|
className,
|
|
43
43
|
children,
|
|
44
44
|
...props
|
|
45
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>):
|
|
45
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime210.JSX.Element;
|
|
46
46
|
declare function DropdownMenuLabel({
|
|
47
47
|
className,
|
|
48
48
|
inset,
|
|
49
49
|
...props
|
|
50
50
|
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
51
51
|
inset?: boolean;
|
|
52
|
-
}):
|
|
52
|
+
}): react_jsx_runtime210.JSX.Element;
|
|
53
53
|
declare function DropdownMenuSeparator({
|
|
54
54
|
className,
|
|
55
55
|
...props
|
|
56
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>):
|
|
56
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime210.JSX.Element;
|
|
57
57
|
declare function DropdownMenuShortcut({
|
|
58
58
|
className,
|
|
59
59
|
...props
|
|
60
|
-
}: React$1.ComponentProps<"span">):
|
|
60
|
+
}: React$1.ComponentProps<"span">): react_jsx_runtime210.JSX.Element;
|
|
61
61
|
declare function DropdownMenuSub({
|
|
62
62
|
...props
|
|
63
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>):
|
|
63
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime210.JSX.Element;
|
|
64
64
|
declare function DropdownMenuSubTrigger({
|
|
65
65
|
className,
|
|
66
66
|
inset,
|
|
@@ -68,11 +68,11 @@ declare function DropdownMenuSubTrigger({
|
|
|
68
68
|
...props
|
|
69
69
|
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
70
70
|
inset?: boolean;
|
|
71
|
-
}):
|
|
71
|
+
}): react_jsx_runtime210.JSX.Element;
|
|
72
72
|
declare function DropdownMenuSubContent({
|
|
73
73
|
className,
|
|
74
74
|
...props
|
|
75
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>):
|
|
75
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime210.JSX.Element;
|
|
76
76
|
//#endregion
|
|
77
77
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
|
78
78
|
//# sourceMappingURL=dropdown-menu.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime330 from "react/jsx-runtime";
|
|
2
2
|
import { Slot } from "@radix-ui/react-slot";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import * as react_hook_form0 from "react-hook-form";
|
|
@@ -12,7 +12,7 @@ declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName
|
|
|
12
12
|
...props
|
|
13
13
|
}: ControllerProps<TFieldValues, TName> & {
|
|
14
14
|
visible?: boolean;
|
|
15
|
-
}) =>
|
|
15
|
+
}) => react_jsx_runtime330.JSX.Element | null;
|
|
16
16
|
declare const useFormField: () => {
|
|
17
17
|
invalid: boolean;
|
|
18
18
|
isDirty: boolean;
|
|
@@ -28,22 +28,22 @@ declare const useFormField: () => {
|
|
|
28
28
|
declare function FormItem({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React$1.ComponentProps<"div">):
|
|
31
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime330.JSX.Element;
|
|
32
32
|
declare function FormLabel({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: React$1.ComponentProps<typeof LabelPrimitive.Root>):
|
|
35
|
+
}: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime330.JSX.Element;
|
|
36
36
|
declare function FormControl({
|
|
37
37
|
...props
|
|
38
|
-
}: React$1.ComponentProps<typeof Slot>):
|
|
38
|
+
}: React$1.ComponentProps<typeof Slot>): react_jsx_runtime330.JSX.Element;
|
|
39
39
|
declare function FormDescription({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React$1.ComponentProps<"p">):
|
|
42
|
+
}: React$1.ComponentProps<"p">): react_jsx_runtime330.JSX.Element;
|
|
43
43
|
declare function FormMessage({
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: React$1.ComponentProps<"p">):
|
|
46
|
+
}: React$1.ComponentProps<"p">): react_jsx_runtime330.JSX.Element | null;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { Form$1 as Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
|
|
49
49
|
//# sourceMappingURL=form.client.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.client.d.mts","names":[],"sources":["../../../src/components/ui/form.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;cAkBM,8BAAI,kDAAA,qBAAA,gBAAA,CAAA,kBAAA,cAAA,UAAA,wBAAA,OAAA,CAAA,GAAA,CAAA;cAWJ,iCACiB,cAAc,2BACrB,UAAU,gBAAgB,UAAU;;;GAIjD,gBAAgB,cAAc;;MAA8B,
|
|
1
|
+
{"version":3,"file":"form.client.d.mts","names":[],"sources":["../../../src/components/ui/form.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;cAkBM,8BAAI,kDAAA,qBAAA,gBAAA,CAAA,kBAAA,cAAA,UAAA,wBAAA,OAAA,CAAA,GAAA,CAAA;cAWJ,iCACiB,cAAc,2BACrB,UAAU,gBAAgB,UAAU;;;GAIjD,gBAAgB,cAAc;;MAA8B,oBAAA,CAAA,GAAA,CAAA,OAAA;AAtBtC,cAgCnB,YA3BmB,EAAA,GAAA,GAAA;EAAf,OAAA,EAAA,OAAA;EAAA,OAAA,EAAA,OAAA;EAAA,SAAA,EAAA,OAAA;EAAA,YAAA,EAAA,OAAA;EAAA,KAAA,CAAA,EAgDT,gBAAA,CAAA,UAhDS;EAAA,EAAA,EAAA,MAAA;EAAA,IAAA,EAAA,MAAA;EAAe,UAAA,EAAA,MAAA;EAWnB,iBAcL,EAAA,MAAA;EAbsB,aAAA,EAAA,MAAA;CAAc;iBA4C5B,QAAA,CA3CiB;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2CiB,OAAA,CAAM,cA3CvB,CAAA,KAAA,CAAA,CAAA,EA2C4C,oBAAA,CAAA,GAAA,CAAA,OA3C5C;iBAqDjB,SAAA,CArDO;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAqD4B,OAAA,CAAM,cArDlC,CAAA,OAqDwD,cAAA,CAAe,IArDvE,CAAA,CAAA,EAqD4E,oBAAA,CAAA,GAAA,CAAA,OArD5E;iBAmEP,WAAA,CAnE2C;EAAA,GAAA;AAAA,CAAA,EAmEjB,OAAA,CAAM,cAnEW,CAAA,OAmEW,IAnEX,CAAA,CAAA,EAmEgB,oBAAA,CAAA,GAAA,CAAA,OAnEhB;iBAiF3C,eAAA,CAjFiC;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAiFQ,OAAA,CAAM,cAjFd,CAAA,GAAA,CAAA,CAAA,EAiFiC,oBAAA,CAAA,GAAA,CAAA,OAjFjC;iBA8FjC,WAAA,CA7FP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA6F4C,OAAA,CAAM,cA7FlD,CAAA,GAAA,CAAA,CAAA,EA6FqE,oBAAA,CAAA,GAAA,CAAA,OAAA,GA7FrE,IAAA"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime336 from "react/jsx-runtime";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/hover-card.client.d.ts
|
|
6
6
|
declare function HoverCard({
|
|
7
7
|
...props
|
|
8
|
-
}: React$1.ComponentProps<typeof HoverCardPrimitive.Root>):
|
|
8
|
+
}: React$1.ComponentProps<typeof HoverCardPrimitive.Root>): react_jsx_runtime336.JSX.Element;
|
|
9
9
|
declare function HoverCardTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React$1.ComponentProps<typeof HoverCardPrimitive.Trigger>):
|
|
11
|
+
}: React$1.ComponentProps<typeof HoverCardPrimitive.Trigger>): react_jsx_runtime336.JSX.Element;
|
|
12
12
|
declare function HoverCardContent({
|
|
13
13
|
className,
|
|
14
14
|
align,
|
|
15
15
|
sideOffset,
|
|
16
16
|
...props
|
|
17
|
-
}: React$1.ComponentProps<typeof HoverCardPrimitive.Content>):
|
|
17
|
+
}: React$1.ComponentProps<typeof HoverCardPrimitive.Content>): react_jsx_runtime336.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
20
20
|
//# sourceMappingURL=hover-card.client.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hover-card.client.d.mts","names":[],"sources":["../../../src/components/ui/hover-card.client.tsx"],"sourcesContent":[],"mappings":";;;;;iBAOS,SAAA;;GAAwB,OAAA,CAAM,sBAAsB,kBAAA,CAAmB,QAAK,
|
|
1
|
+
{"version":3,"file":"hover-card.client.d.mts","names":[],"sources":["../../../src/components/ui/hover-card.client.tsx"],"sourcesContent":[],"mappings":";;;;;iBAOS,SAAA;;GAAwB,OAAA,CAAM,sBAAsB,kBAAA,CAAmB,QAAK,oBAAA,CAAA,GAAA,CAAA;iBAI5E,gBAAA;;GAA+B,OAAA,CAAM,sBAAsB,kBAAA,CAAmB,WAAQ,oBAAA,CAAA,GAAA,CAAA;iBAItF,gBAAA;;;;;GAKN,OAAA,CAAM,sBAAsB,kBAAA,CAAmB,WAAQ,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as react_jsx_runtime229 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/components/ui/input-date-time.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* DateTimeInput
|
|
6
|
+
*/
|
|
7
|
+
type DateTimeInputProps = Omit<React.ComponentProps<"input">, "type" | "value" | "defaultValue"> & {
|
|
8
|
+
defaultValue?: Date;
|
|
9
|
+
value?: Date;
|
|
10
|
+
onValueChange?: (date: Date | undefined) => void;
|
|
11
|
+
onValueBlur?: (date: Date | undefined) => void;
|
|
12
|
+
};
|
|
13
|
+
declare function DateTimeInput({
|
|
14
|
+
className,
|
|
15
|
+
onValueChange,
|
|
16
|
+
onChange,
|
|
17
|
+
onValueBlur,
|
|
18
|
+
onBlur,
|
|
19
|
+
...props
|
|
20
|
+
}: DateTimeInputProps): react_jsx_runtime229.JSX.Element;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { DateTimeInput };
|
|
23
|
+
//# sourceMappingURL=input-date-time.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-date-time.d.mts","names":[],"sources":["../../../src/components/ui/input-date-time.tsx"],"sourcesContent":[],"mappings":";;;;;;AAqBqB,KAdhB,kBAAA,GAAqB,IAAH,CAAQ,KAAA,CAAM,cAAd,CAAA,OAAA,CAAA,EAAA,MAAA,GAAA,OAAA,GAAA,cAAA,CAAA,GAAA;EAAQ,YAAM,CAAA,EACpB,IADoB;EAAX,KAAA,CAAA,EAEhB,IAFgB;EACT,aAAA,CAAA,EAAA,CAAA,IAAA,EAEQ,IAFR,GAAA,SAAA,EAAA,GAAA,IAAA;EACP,WAAA,CAAA,EAAA,CAAA,IAAA,EAEa,IAFb,GAAA,SAAA,EAAA,GAAA,IAAA;CACe;AACF,iBAGP,aAAA,CAHO;EAAA,SAAA;EAAA,aAAA;EAAA,QAAA;EAAA,WAAA;EAAA,MAAA;EAAA,GAAA;AAAA,CAAA,EAUpB,kBAVoB,CAAA,EAUF,oBAAA,CAAA,GAAA,CAAA,OAVE"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { cn } from "../../lib/utils/cn.mjs";
|
|
2
|
+
import { Input } from "./input.mjs";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { format } from "date-fns";
|
|
5
|
+
|
|
6
|
+
//#region src/components/ui/input-date-time.tsx
|
|
7
|
+
function DateTimeInput({ className, onValueChange, onChange, onValueBlur, onBlur, ...props }) {
|
|
8
|
+
/**
|
|
9
|
+
* Transform Date to string in the format "yyyy-MM-ddTHH:mm" for the input value. If the value is not a Date, use undefined.
|
|
10
|
+
*/
|
|
11
|
+
const defaultValue = props.defaultValue instanceof Date ? format(props.defaultValue, "yyyy-MM-dd'T'HH:mm") : void 0;
|
|
12
|
+
const value = props.value && props.value instanceof Date ? format(props.value, "yyyy-MM-dd'T'HH:mm") : void 0;
|
|
13
|
+
return /* @__PURE__ */ jsx(Input, {
|
|
14
|
+
...props,
|
|
15
|
+
type: "datetime-local",
|
|
16
|
+
defaultValue,
|
|
17
|
+
value,
|
|
18
|
+
onChange: (e) => {
|
|
19
|
+
const date = new Date(e.target.value);
|
|
20
|
+
onValueChange?.(date ?? void 0);
|
|
21
|
+
onChange?.(e);
|
|
22
|
+
},
|
|
23
|
+
onBlur: (e) => {
|
|
24
|
+
const date = new Date(e.target.value);
|
|
25
|
+
onValueBlur?.(date ?? void 0);
|
|
26
|
+
onBlur?.(e);
|
|
27
|
+
},
|
|
28
|
+
className: cn("appearance-none [&::-webkit-calendar-picker-indicator]:hidden [&::-webkit-calendar-picker-indicator]:appearance-none", className)
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
export { DateTimeInput };
|
|
34
|
+
//# sourceMappingURL=input-date-time.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-date-time.mjs","names":[],"sources":["../../../src/components/ui/input-date-time.tsx"],"sourcesContent":["import { cn } from \"@/lib/utils/cn\";\nimport { format } from \"date-fns\";\nimport { Input } from \"./input\";\n\n/**\n * DateTimeInput\n */\ntype DateTimeInputProps = Omit<React.ComponentProps<\"input\">, \"type\" | \"value\" | \"defaultValue\"> & {\n defaultValue?: Date;\n value?: Date;\n onValueChange?: (date: Date | undefined) => void;\n onValueBlur?: (date: Date | undefined) => void;\n};\n\nexport function DateTimeInput({\n className,\n onValueChange,\n onChange,\n onValueBlur,\n onBlur,\n ...props\n}: DateTimeInputProps) {\n /**\n * Transform Date to string in the format \"yyyy-MM-ddTHH:mm\" for the input value. If the value is not a Date, use undefined.\n */\n const defaultValue =\n props.defaultValue instanceof Date\n ? format(props.defaultValue, \"yyyy-MM-dd'T'HH:mm\")\n : undefined;\n\n const value =\n props.value && props.value instanceof Date\n ? format(props.value, \"yyyy-MM-dd'T'HH:mm\")\n : undefined;\n\n return (\n <Input\n {...props}\n type=\"datetime-local\"\n defaultValue={defaultValue}\n value={value}\n onChange={(e) => {\n const date = new Date(e.target.value);\n onValueChange?.(date ?? undefined);\n onChange?.(e);\n }}\n onBlur={(e) => {\n const date = new Date(e.target.value);\n onValueBlur?.(date ?? undefined);\n onBlur?.(e);\n }}\n className={cn(\n \"appearance-none [&::-webkit-calendar-picker-indicator]:hidden [&::-webkit-calendar-picker-indicator]:appearance-none\",\n className,\n )}\n />\n );\n}\n"],"mappings":";;;;;;AAcA,SAAgB,cAAc,EAC5B,WACA,eACA,UACA,aACA,QACA,GAAG,SACkB;;;;CAIrB,MAAM,eACJ,MAAM,wBAAwB,OAC1B,OAAO,MAAM,cAAc,qBAAqB,GAChD;CAEN,MAAM,QACJ,MAAM,SAAS,MAAM,iBAAiB,OAClC,OAAO,MAAM,OAAO,qBAAqB,GACzC;AAEN,QACE,oBAAC;EACC,GAAI;EACJ,MAAK;EACS;EACP;EACP,WAAW,MAAM;GACf,MAAM,OAAO,IAAI,KAAK,EAAE,OAAO,MAAM;AACrC,mBAAgB,QAAQ,OAAU;AAClC,cAAW,EAAE;;EAEf,SAAS,MAAM;GACb,MAAM,OAAO,IAAI,KAAK,EAAE,OAAO,MAAM;AACrC,iBAAc,QAAQ,OAAU;AAChC,YAAS,EAAE;;EAEb,WAAW,GACT,wHACA,UACD;GACD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as react_jsx_runtime228 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/components/ui/input-date.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* DateInput
|
|
6
|
+
*/
|
|
7
|
+
type DateInputProps = Omit<React.ComponentProps<"input">, "type">;
|
|
8
|
+
declare function DateInput({
|
|
9
|
+
className,
|
|
10
|
+
...props
|
|
11
|
+
}: DateInputProps): react_jsx_runtime228.JSX.Element;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { DateInput };
|
|
14
|
+
//# sourceMappingURL=input-date.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-date.d.mts","names":[],"sources":["../../../src/components/ui/input-date.tsx"],"sourcesContent":[],"mappings":";;;;;;AAQiE,KAF5D,cAAA,GAAiB,IAAH,CAAQ,KAAA,CAAM,cAAA,CAAA,OAAA,CAAX,EAAA,MAAI,CAAA;AAEV,iBAAA,SAAA,CAAS;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAA0B,cAA1B,CAAA,EAAwC,oBAAA,CAAA,GAAA,CAAA,OAAxC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { cn } from "../../lib/utils/cn.mjs";
|
|
2
|
+
import { Input } from "./input.mjs";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/input-date.tsx
|
|
6
|
+
function DateInput({ className, ...props }) {
|
|
7
|
+
return /* @__PURE__ */ jsx(Input, {
|
|
8
|
+
...props,
|
|
9
|
+
type: "date",
|
|
10
|
+
className: cn("appearance-none [&::-webkit-calendar-picker-indicator]:hidden [&::-webkit-calendar-picker-indicator]:appearance-none", className)
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { DateInput };
|
|
16
|
+
//# sourceMappingURL=input-date.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-date.mjs","names":[],"sources":["../../../src/components/ui/input-date.tsx"],"sourcesContent":["import { cn } from \"@/lib/utils/cn\";\nimport { Input } from \"./input\";\n\n/**\n * DateInput\n */\ntype DateInputProps = Omit<React.ComponentProps<\"input\">, \"type\">;\n\nexport function DateInput({ className, ...props }: DateInputProps) {\n return (\n <Input\n {...props}\n type=\"date\"\n className={cn(\n \"appearance-none [&::-webkit-calendar-picker-indicator]:hidden [&::-webkit-calendar-picker-indicator]:appearance-none\",\n className,\n )}\n />\n );\n}\n"],"mappings":";;;;;AAQA,SAAgB,UAAU,EAAE,WAAW,GAAG,SAAyB;AACjE,QACE,oBAAC;EACC,GAAI;EACJ,MAAK;EACL,WAAW,GACT,wHACA,UACD;GACD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime389 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/ui/input-recipient.d.ts
|
|
4
4
|
type Contact = {
|
|
@@ -21,7 +21,7 @@ declare function RecipientInput({
|
|
|
21
21
|
placeholder,
|
|
22
22
|
disabled,
|
|
23
23
|
className
|
|
24
|
-
}: RecipientInputProps):
|
|
24
|
+
}: RecipientInputProps): react_jsx_runtime389.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { Contact, RecipientInput };
|
|
27
27
|
//# sourceMappingURL=input-recipient.d.mts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as react_jsx_runtime226 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/components/ui/input-time.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* TimeInput
|
|
6
|
+
*/
|
|
7
|
+
type TimeInputProps = Omit<React.ComponentProps<"input">, "type">;
|
|
8
|
+
declare function TimeInput({
|
|
9
|
+
className,
|
|
10
|
+
...props
|
|
11
|
+
}: TimeInputProps): react_jsx_runtime226.JSX.Element;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { TimeInput };
|
|
14
|
+
//# sourceMappingURL=input-time.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-time.d.mts","names":[],"sources":["../../../src/components/ui/input-time.tsx"],"sourcesContent":[],"mappings":";;;;;;AAQiE,KAF5D,cAAA,GAAiB,IAAH,CAAQ,KAAA,CAAM,cAAA,CAAA,OAAA,CAAX,EAAA,MAAI,CAAA;AAEV,iBAAA,SAAA,CAAS;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAA0B,cAA1B,CAAA,EAAwC,oBAAA,CAAA,GAAA,CAAA,OAAxC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { cn } from "../../lib/utils/cn.mjs";
|
|
2
|
+
import { Input } from "./input.mjs";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/input-time.tsx
|
|
6
|
+
function TimeInput({ className, ...props }) {
|
|
7
|
+
return /* @__PURE__ */ jsx(Input, {
|
|
8
|
+
...props,
|
|
9
|
+
type: "time",
|
|
10
|
+
className: cn("appearance-none [&::-webkit-calendar-picker-indicator]:hidden [&::-webkit-calendar-picker-indicator]:appearance-none", className)
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { TimeInput };
|
|
16
|
+
//# sourceMappingURL=input-time.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-time.mjs","names":[],"sources":["../../../src/components/ui/input-time.tsx"],"sourcesContent":["import { cn } from \"@/lib/utils/cn\";\nimport { Input } from \"./input\";\n\n/**\n * TimeInput\n */\ntype TimeInputProps = Omit<React.ComponentProps<\"input\">, \"type\">;\n\nexport function TimeInput({ className, ...props }: TimeInputProps) {\n return (\n <Input\n {...props}\n type=\"time\"\n className={cn(\n \"appearance-none [&::-webkit-calendar-picker-indicator]:hidden [&::-webkit-calendar-picker-indicator]:appearance-none\",\n className,\n )}\n />\n );\n}\n"],"mappings":";;;;;AAQA,SAAgB,UAAU,EAAE,WAAW,GAAG,SAAyB;AACjE,QACE,oBAAC;EACC,GAAI;EACJ,MAAK;EACL,WAAW,GACT,wHACA,UACD;GACD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime225 from "react/jsx-runtime";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ui/input.d.ts
|
|
@@ -6,7 +6,7 @@ declare function Input({
|
|
|
6
6
|
className,
|
|
7
7
|
type,
|
|
8
8
|
...props
|
|
9
|
-
}: React$1.ComponentProps<"input">):
|
|
9
|
+
}: React$1.ComponentProps<"input">): react_jsx_runtime225.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Input };
|
|
12
12
|
//# sourceMappingURL=input.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime230 from "react/jsx-runtime";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ import * as LabelPrimitive from "@radix-ui/react-label";
|
|
|
6
6
|
declare function Label({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React$1.ComponentProps<typeof LabelPrimitive.Root>):
|
|
9
|
+
}: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime230.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Label };
|
|
12
12
|
//# sourceMappingURL=label.d.mts.map
|