@tulip-systems/core 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/client.d.ts +3 -1
- package/dist/auth/client.js +4 -2
- package/dist/auth.d.ts +2 -1
- package/dist/auth.js +3 -2
- package/dist/commands/client.d.ts +4 -4
- package/dist/commands/client.js +4 -4
- package/dist/components/client.d.ts +5 -3
- package/dist/components/client.js +6 -4
- package/dist/components/common/icons.d.ts +51 -48
- package/dist/components/common/icons.d.ts.map +1 -1
- package/dist/components/common/icons.js +4 -1
- package/dist/components/common/icons.js.map +1 -1
- package/dist/components/common/status.d.ts +3 -3
- package/dist/components/common/status.d.ts.map +1 -1
- package/dist/components/editor/components/content.client.d.ts +2 -2
- package/dist/components/editor/components/content.client.d.ts.map +1 -1
- package/dist/components/editor/components/fixed-menu.client.d.ts +2 -2
- package/dist/components/editor/components/fixed-menu.client.d.ts.map +1 -1
- package/dist/components/editor/context.client.d.ts +4 -4
- package/dist/components/editor/context.client.d.ts.map +1 -1
- package/dist/components/editor/index.client.d.ts +2 -2
- package/dist/components/editor/index.client.d.ts.map +1 -1
- package/dist/components/editor/preview.client.d.ts +2 -2
- package/dist/components/editor/preview.client.d.ts.map +1 -1
- package/dist/components/header/back-button.client.d.ts +2 -2
- package/dist/components/header/back-button.client.d.ts.map +1 -1
- package/dist/components/header/bottom-bar.client.d.ts +5 -5
- package/dist/components/header/bottom-bar.client.d.ts.map +1 -1
- package/dist/components/header/bottom-bar.client.js.map +1 -1
- package/dist/components/header/breadcrumbs.client.d.ts +7 -7
- package/dist/components/header/breadcrumbs.client.d.ts.map +1 -1
- package/dist/components/header/breadcrumbs.client.js +1 -1
- package/dist/components/header/header.client.d.ts +2 -2
- package/dist/components/header/header.client.d.ts.map +1 -1
- package/dist/components/header/mobile-nav-switcher.client.d.ts +2 -2
- package/dist/components/header/mobile-nav-switcher.client.d.ts.map +1 -1
- package/dist/components/header/top-bar.client.d.ts +4 -4
- package/dist/components/header/top-bar.client.d.ts.map +1 -1
- package/dist/components/layouts/admin-content.client.d.ts +13 -0
- package/dist/components/layouts/admin-content.client.d.ts.map +1 -0
- package/dist/components/layouts/admin-layout.d.ts +8 -0
- package/dist/components/layouts/admin-layout.d.ts.map +1 -0
- package/dist/components/layouts/admin-layout.js +15 -0
- package/dist/components/layouts/admin-layout.js.map +1 -0
- package/dist/components/layouts/admin-loading.d.ts +3 -3
- package/dist/components/layouts/admin-loading.d.ts.map +1 -1
- package/dist/components/layouts/admin-loading.js +2 -2
- package/dist/components/layouts/admin-loading.js.map +1 -1
- package/dist/components/layouts/empty-page.d.ts +4 -4
- package/dist/components/layouts/empty-page.d.ts.map +1 -1
- package/dist/components/layouts/list-layout.d.ts +2 -2
- package/dist/components/layouts/list-layout.d.ts.map +1 -1
- package/dist/components/layouts/not-found-page.d.ts +2 -2
- package/dist/components/layouts/not-found-page.d.ts.map +1 -1
- package/dist/components/layouts/providers.client.d.ts +2 -2
- package/dist/components/layouts/providers.client.d.ts.map +1 -1
- package/dist/components/layouts/root-layout.server.d.ts +2 -2
- package/dist/components/layouts/root-layout.server.d.ts.map +1 -1
- package/dist/components/layouts/root-loading.d.ts +7 -0
- package/dist/components/layouts/root-loading.d.ts.map +1 -0
- package/dist/components/layouts/root-loading.js +14 -0
- package/dist/components/layouts/root-loading.js.map +1 -0
- package/dist/components/layouts/tab-layout.d.ts +2 -2
- package/dist/components/layouts/tab-layout.d.ts.map +1 -1
- package/dist/components/lists/data-list.d.ts +5 -5
- package/dist/components/lists/data-list.d.ts.map +1 -1
- package/dist/components/lists/data-stack.d.ts +8 -8
- package/dist/components/lists/data-stack.d.ts.map +1 -1
- package/dist/components/{layouts → navigation}/admin-sidebar-header.client.js +8 -9
- package/dist/components/navigation/admin-sidebar-header.client.js.map +1 -0
- package/dist/components/navigation/admin-sidebar-paths.client.d.ts +81 -0
- package/dist/components/navigation/admin-sidebar-paths.client.d.ts.map +1 -0
- package/dist/components/navigation/admin-sidebar-paths.client.js +143 -0
- package/dist/components/navigation/admin-sidebar-paths.client.js.map +1 -0
- package/dist/components/navigation/admin-sidebar-skeleton.js +31 -0
- package/dist/components/navigation/admin-sidebar-skeleton.js.map +1 -0
- package/dist/components/server.d.ts +1 -1
- package/dist/components/server.js +1 -1
- package/dist/components/ui/accordion.d.ts +5 -5
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog.d.ts +12 -12
- package/dist/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/alert.d.ts +6 -6
- package/dist/components/ui/alert.d.ts.map +1 -1
- package/dist/components/ui/aspect-ratio.d.ts +2 -2
- package/dist/components/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/components/ui/avatar.client.d.ts +4 -4
- package/dist/components/ui/avatar.client.d.ts.map +1 -1
- package/dist/components/ui/badge.d.ts +4 -4
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/breadcrumb.d.ts +8 -8
- package/dist/components/ui/breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/button.d.ts +5 -5
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/calendar.d.ts +2 -2
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/components/ui/card.d.ts +7 -7
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/carousel.d.ts +6 -6
- package/dist/components/ui/carousel.d.ts.map +1 -1
- package/dist/components/ui/chart.client.d.ts +5 -5
- package/dist/components/ui/chart.client.d.ts.map +1 -1
- package/dist/components/ui/checkbox.d.ts +2 -2
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/collapsible.client.d.ts +4 -4
- package/dist/components/ui/collapsible.client.d.ts.map +1 -1
- package/dist/components/ui/color-picker.client.d.ts +2 -2
- package/dist/components/ui/color-picker.client.d.ts.map +1 -1
- package/dist/components/ui/combobox-dropdown.client.d.ts +2 -2
- package/dist/components/ui/combobox-dropdown.client.d.ts.map +1 -1
- package/dist/components/ui/combobox.client.d.ts +2 -2
- package/dist/components/ui/combobox.client.d.ts.map +1 -1
- package/dist/components/ui/command.d.ts +10 -10
- package/dist/components/ui/command.d.ts.map +1 -1
- package/dist/components/ui/context-menu.d.ts +16 -16
- package/dist/components/ui/dialog.client.d.ts +11 -11
- package/dist/components/ui/dialog.client.d.ts.map +1 -1
- package/dist/components/ui/drawer.client.d.ts +11 -11
- package/dist/components/ui/drawer.client.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.d.ts +16 -16
- package/dist/components/ui/form.client.d.ts +8 -8
- package/dist/components/ui/form.client.d.ts.map +1 -1
- package/dist/components/ui/hover-card.client.d.ts +4 -4
- package/dist/components/ui/hover-card.client.d.ts.map +1 -1
- package/dist/components/ui/input.d.ts +2 -2
- package/dist/components/ui/label.d.ts +2 -2
- package/dist/components/ui/navigation-menu.d.ts +11 -11
- package/dist/components/ui/pagination.d.ts +8 -8
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/popover.d.ts +5 -5
- package/dist/components/ui/progress.client.d.ts +2 -2
- package/dist/components/ui/progress.client.d.ts.map +1 -1
- package/dist/components/ui/radio-group.d.ts +3 -3
- package/dist/components/ui/resizable.client.d.ts +4 -4
- package/dist/components/ui/resizable.client.d.ts.map +1 -1
- package/dist/components/ui/scroll-area.d.ts +3 -3
- package/dist/components/ui/select.client.d.ts +11 -11
- package/dist/components/ui/select.client.d.ts.map +1 -1
- package/dist/components/ui/separator.d.ts +2 -2
- package/dist/components/ui/sheet.client.d.ts +9 -9
- package/dist/components/ui/sidebar.client.d.ts +26 -26
- package/dist/components/ui/sidebar.client.js +1 -1
- package/dist/components/ui/skeleton.d.ts +2 -2
- package/dist/components/ui/slider.d.ts +2 -2
- package/dist/components/ui/sonner.client.d.ts +2 -2
- package/dist/components/ui/sonner.client.js +1 -1
- package/dist/components/ui/spinner.js +63 -0
- package/dist/components/ui/spinner.js.map +1 -0
- package/dist/components/ui/switch.d.ts +2 -2
- package/dist/components/ui/tabs.d.ts +5 -5
- package/dist/components/ui/textarea.d.ts +2 -2
- package/dist/components/ui/time-input.client.d.ts +2 -2
- package/dist/components/ui/toggle-group.client.d.ts +3 -3
- package/dist/components/ui/toggle.d.ts +2 -2
- package/dist/components/ui/tooltip.client.d.ts +5 -5
- package/dist/components/ui/tree.client.d.ts +5 -5
- package/dist/components/ui/tree.client.d.ts.map +1 -1
- package/dist/components.d.ts +5 -4
- package/dist/components.js +7 -6
- package/dist/config/server.d.ts +2 -3
- package/dist/config/server.js +3 -4
- package/dist/config.d.ts +3 -2
- package/dist/config.js +2 -1
- package/dist/lib/client.js +1 -1
- package/dist/lib/hooks/use-action.d.ts +2 -2
- package/dist/lib/hooks/use-indicator.d.ts +2 -2
- package/dist/modules/auth/components/allowed.client.d.ts +2 -2
- package/dist/modules/auth/components/allowed.client.js +1 -1
- package/dist/modules/auth/components/allowed.client.js.map +1 -1
- package/dist/modules/auth/components/allowed.server.d.ts +2 -2
- package/dist/modules/auth/components/allowed.server.js +1 -1
- package/dist/modules/auth/components/auth-layout.server.d.ts +4 -5
- package/dist/modules/auth/components/auth-layout.server.d.ts.map +1 -1
- package/dist/modules/auth/components/auth-layout.server.js +1 -4
- package/dist/modules/auth/components/auth-layout.server.js.map +1 -1
- package/dist/modules/auth/components/auth-loading.d.ts +7 -0
- package/dist/modules/auth/components/auth-loading.d.ts.map +1 -0
- package/dist/modules/auth/components/auth-loading.js +18 -0
- package/dist/modules/auth/components/auth-loading.js.map +1 -0
- package/dist/modules/auth/components/forget-password-page.client.d.ts +2 -2
- package/dist/modules/auth/components/forget-password-page.client.js +2 -2
- package/dist/modules/auth/components/guard.js +16 -0
- package/dist/modules/auth/components/guard.js.map +1 -0
- package/dist/modules/auth/components/login-page.client.d.ts +2 -6
- package/dist/modules/auth/components/login-page.client.d.ts.map +1 -1
- package/dist/modules/auth/components/login-page.client.js +7 -6
- package/dist/modules/auth/components/login-page.client.js.map +1 -1
- package/dist/modules/auth/components/reset-password-page.client.d.ts +2 -2
- package/dist/modules/auth/components/reset-password-page.client.js +3 -3
- package/dist/modules/auth/components/update-password-command.d.ts +3 -3
- package/dist/modules/auth/components/update-password-command.js +1 -1
- package/dist/modules/auth/handler/client.client.d.ts +48 -48
- package/dist/modules/auth/handler/client.client.d.ts.map +1 -1
- package/dist/modules/auth/hooks/use-permission.d.ts +26 -0
- package/dist/modules/auth/hooks/use-permission.d.ts.map +1 -0
- package/dist/modules/auth/hooks/{use-permission.client.js → use-permission.js} +5 -3
- package/dist/modules/auth/hooks/use-permission.js.map +1 -0
- package/dist/modules/auth/hooks/use-session.d.ts +34 -0
- package/dist/modules/auth/hooks/use-session.d.ts.map +1 -0
- package/dist/modules/auth/hooks/use-session.js +21 -0
- package/dist/modules/auth/hooks/use-session.js.map +1 -0
- package/dist/modules/auth/lib/helpers.server.d.ts +1 -1
- package/dist/modules/auth/lib/helpers.server.js +2 -2
- package/dist/modules/auth/lib/validators.d.ts +1 -1
- package/dist/modules/auth/lib/validators.d.ts.map +1 -1
- package/dist/modules/auth/lib/validators.js +1 -1
- package/dist/modules/auth/lib/validators.js.map +1 -1
- package/dist/modules/commands/components/alert-dialog-command.client.d.ts +11 -11
- package/dist/modules/commands/components/alert-dialog-command.client.js +1 -1
- package/dist/modules/commands/components/click-command.client.d.ts +2 -2
- package/dist/modules/commands/components/command-trigger.client.d.ts +6 -6
- package/dist/modules/commands/components/command-trigger.client.d.ts.map +1 -1
- package/dist/modules/commands/components/command-trigger.client.js +1 -1
- package/dist/modules/commands/components/dialog-command.client.d.ts +8 -8
- package/dist/modules/commands/components/dialog-command.client.js +1 -1
- package/dist/modules/commands/components/dropdown-command.client.d.ts +5 -5
- package/dist/modules/commands/components/empty-command.client.d.ts +2 -2
- package/dist/modules/commands/components/form-dialog-command.client.d.ts +12 -12
- package/dist/modules/commands/components/form-dialog-command.client.js +1 -1
- package/dist/modules/commands/hooks/use-command-action.client.js +1 -1
- package/dist/modules/commands/hooks/use-command-menu.client.js +1 -1
- package/dist/modules/commands/hooks/use-command-menu.client.js.map +1 -1
- package/dist/modules/commands/menus/context-menu.client.d.ts +2 -2
- package/dist/modules/commands/menus/dropdown-menu.client.d.ts +8 -4
- package/dist/modules/commands/menus/dropdown-menu.client.d.ts.map +1 -1
- package/dist/modules/commands/menus/dropdown-menu.client.js +9 -1
- package/dist/modules/commands/menus/dropdown-menu.client.js.map +1 -1
- package/dist/modules/commands/menus/inline-menu.client.d.ts +8 -4
- package/dist/modules/commands/menus/inline-menu.client.d.ts.map +1 -1
- package/dist/modules/commands/menus/inline-menu.client.js +12 -1
- package/dist/modules/commands/menus/inline-menu.client.js.map +1 -1
- package/dist/modules/commands/menus/responsive-menu.client.d.ts +4 -3
- package/dist/modules/commands/menus/responsive-menu.client.d.ts.map +1 -1
- package/dist/modules/commands/menus/responsive-menu.client.js +6 -3
- package/dist/modules/commands/menus/responsive-menu.client.js.map +1 -1
- package/dist/modules/commands/utils/archive-command.client.d.ts +3 -3
- package/dist/modules/commands/utils/delete-command.client.d.ts +2 -2
- package/dist/modules/commands/utils/send-mail-command.client.d.ts +2 -2
- package/dist/modules/commands/utils/send-mail-command.client.d.ts.map +1 -1
- package/dist/modules/commands/utils/send-mail-command.client.js +3 -3
- package/dist/modules/config/db/helpers.d.ts +5 -5
- package/dist/modules/config/db/helpers.d.ts.map +1 -1
- package/dist/modules/config/lib/config.server.d.ts +0 -2
- package/dist/modules/config/lib/config.server.d.ts.map +1 -1
- package/dist/modules/config/lib/config.server.js.map +1 -1
- package/dist/modules/config/lib/resolve.server.d.ts +189 -190
- package/dist/modules/config/lib/resolve.server.d.ts.map +1 -1
- package/dist/modules/config/paths/helpers.d.ts +11 -0
- package/dist/modules/config/paths/helpers.d.ts.map +1 -0
- package/dist/modules/config/paths/helpers.js +9 -0
- package/dist/modules/config/paths/helpers.js.map +1 -0
- package/dist/modules/config/paths/types.d.ts +8 -37
- package/dist/modules/config/paths/types.d.ts.map +1 -1
- package/dist/modules/config/router/client.server.d.ts +4 -4
- package/dist/modules/config/router/client.server.d.ts.map +1 -1
- package/dist/modules/config/router/context.server.d.ts +191 -192
- package/dist/modules/config/router/context.server.d.ts.map +1 -1
- package/dist/modules/config/router/init.server.d.ts +196 -197
- package/dist/modules/config/router/init.server.d.ts.map +1 -1
- package/dist/modules/data-tables/components/cell/common.client.d.ts +5 -5
- package/dist/modules/data-tables/components/cell/common.client.d.ts.map +1 -1
- package/dist/modules/data-tables/components/column-header.d.ts +2 -2
- package/dist/modules/data-tables/components/filters/combobox.client.d.ts +2 -2
- package/dist/modules/data-tables/components/filters/combobox.client.d.ts.map +1 -1
- package/dist/modules/data-tables/components/filters/combobox.client.js +1 -1
- package/dist/modules/data-tables/components/filters/combobox.client.js.map +1 -1
- package/dist/modules/data-tables/components/filters/slider.client.d.ts +2 -2
- package/dist/modules/data-tables/components/filters/slider.client.d.ts.map +1 -1
- package/dist/modules/data-tables/components/header.d.ts +4 -4
- package/dist/modules/data-tables/components/layout.d.ts +2 -2
- package/dist/modules/data-tables/components/search-input.client.d.ts +2 -2
- package/dist/modules/data-tables/components/search-input.client.d.ts.map +1 -1
- package/dist/modules/data-tables/components/skeleton.d.ts +2 -2
- package/dist/modules/data-tables/components/table.d.ts +7 -7
- package/dist/modules/data-tables/components/toolbar.d.ts +3 -3
- package/dist/modules/data-tables/hooks/use-context.client.d.ts +2 -2
- package/dist/modules/data-tables/hooks/use-context.client.d.ts.map +1 -1
- package/dist/modules/data-tables/lib/filters/resolvers.d.ts +1 -1
- package/dist/modules/data-tables/lib/filters/resolvers.d.ts.map +1 -1
- package/dist/modules/data-tables/lib/search-params.d.ts +5 -5
- package/dist/modules/data-tables/lib/search-params.d.ts.map +1 -1
- package/dist/modules/data-tables/lib/types.d.ts +1 -1
- package/dist/modules/data-tables/tables/data-table/components/table.d.ts +2 -2
- package/dist/modules/data-tables/tables/data-table/components/table.d.ts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.ts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.ts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.ts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.ts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.ts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.ts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.ts +3 -3
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.ts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.ts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.ts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.ts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.ts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/table.d.ts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/table.d.ts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.ts +2 -2
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.ts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.js +1 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.js +1 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.js.map +1 -1
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/combobox.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/combobox.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/date-input.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/date-input.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/date-input.client.js +1 -1
- package/dist/modules/inline-edit/components/date-picker.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/date-picker.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/editor.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/editor.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/input-toggle.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/input-toggle.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/input.client.d.ts +3 -3
- package/dist/modules/inline-edit/components/input.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/richtext.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/richtext.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/select.client.d.ts +6 -6
- package/dist/modules/inline-edit/components/select.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/switch.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/switch.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/toggle.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/toggle.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/hooks/context.client.d.ts +2 -2
- package/dist/modules/inline-edit/hooks/context.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/hooks/use-inline.client.js +1 -1
- package/dist/modules/inline-edit/hooks/use-inline.client.js.map +1 -1
- package/dist/modules/uploads/components/button.client.d.ts +2 -2
- package/dist/modules/uploads/components/button.client.d.ts.map +1 -1
- package/dist/modules/uploads/components/images/grid.client.d.ts +2 -2
- package/dist/modules/uploads/components/images/grid.client.d.ts.map +1 -1
- package/dist/modules/uploads/components/images/grid.client.js +1 -1
- package/dist/modules/uploads/components/images/input.client.d.ts +2 -2
- package/dist/modules/uploads/components/preview-dialog.client.d.ts +2 -2
- package/dist/modules/uploads/components/zone.client.d.ts +2 -2
- package/dist/modules/uploads/hooks/use-upload-image.client.js +1 -1
- package/dist/modules/uploads/lib/proxy.server.d.ts +1 -1
- package/dist/modules/uploads/lib/proxy.server.js +3 -3
- package/dist/modules/uploads/lib/route.server.d.ts +1 -1
- package/dist/modules/uploads/lib/route.server.js +1 -1
- package/dist/modules/uploads/lib/router.server.d.ts +933 -933
- package/dist/modules/uploads/lib/router.server.js +1 -1
- package/dist/modules/uploads/lib/schema.d.ts +61 -61
- package/dist/modules/uploads/lib/validators.d.ts +51 -51
- package/package.json +4 -4
- package/src/components/common/icons.tsx +6 -0
- package/src/components/entry.client.ts +6 -0
- package/src/components/entry.server.ts +1 -1
- package/src/components/entry.ts +1 -0
- package/src/components/header/bottom-bar.client.tsx +2 -2
- package/src/components/layouts/admin-layout.tsx +13 -0
- package/src/components/layouts/admin-loading.tsx +1 -1
- package/src/components/layouts/root-loading.tsx +9 -0
- package/src/components/{layouts → navigation}/admin-sidebar-header.client.tsx +11 -6
- package/src/components/navigation/admin-sidebar-paths.client.tsx +190 -0
- package/src/components/navigation/admin-sidebar-skeleton.tsx +44 -0
- package/src/components/navigation/admin-sidebar.client.tsx +123 -0
- package/src/components/ui/spinner.tsx +51 -0
- package/src/modules/auth/components/allowed.client.tsx +1 -1
- package/src/modules/auth/components/auth-layout.server.tsx +2 -10
- package/src/modules/auth/components/auth-loading.tsx +11 -0
- package/src/modules/auth/components/guard.tsx +12 -0
- package/src/modules/auth/components/login-page.client.tsx +4 -3
- package/src/modules/auth/entry.client.ts +2 -0
- package/src/modules/auth/entry.ts +1 -0
- package/src/modules/auth/hooks/{use-permission.client.ts → use-permission.ts} +4 -2
- package/src/modules/auth/hooks/use-session.ts +18 -0
- package/src/modules/auth/lib/validators.ts +1 -1
- package/src/modules/commands/hooks/use-command-menu.client.tsx +6 -7
- package/src/modules/commands/menus/dropdown-menu.client.tsx +11 -2
- package/src/modules/commands/menus/inline-menu.client.tsx +14 -1
- package/src/modules/commands/menus/responsive-menu.client.tsx +11 -2
- package/src/modules/config/entry.server.ts +1 -2
- package/src/modules/config/entry.ts +3 -0
- package/src/modules/config/lib/config.server.ts +1 -2
- package/src/modules/config/lib/router.server.ts +64 -0
- package/src/modules/config/paths/helpers.ts +6 -0
- package/src/modules/config/paths/types.ts +26 -38
- package/src/modules/data-tables/components/filters/combobox.client.tsx +1 -1
- package/src/modules/data-tables/tables/inline-table/hooks/use-input.client.ts +1 -1
- package/src/modules/inline-edit/hooks/use-inline.client.tsx +1 -1
- package/dist/components/layouts/admin-layout.server.d.ts +0 -14
- package/dist/components/layouts/admin-layout.server.d.ts.map +0 -1
- package/dist/components/layouts/admin-layout.server.js +0 -26
- package/dist/components/layouts/admin-layout.server.js.map +0 -1
- package/dist/components/layouts/admin-sidebar-context.client.js +0 -28
- package/dist/components/layouts/admin-sidebar-context.client.js.map +0 -1
- package/dist/components/layouts/admin-sidebar-header.client.js.map +0 -1
- package/dist/components/layouts/admin-sidebar.client.js +0 -51
- package/dist/components/layouts/admin-sidebar.client.js.map +0 -1
- package/dist/modules/auth/hooks/use-permission.client.js.map +0 -1
- package/dist/modules/config/paths/create.server.d.ts +0 -14
- package/dist/modules/config/paths/create.server.d.ts.map +0 -1
- package/dist/modules/config/paths/create.server.js +0 -12
- package/dist/modules/config/paths/create.server.js.map +0 -1
- package/dist/modules/config/paths/get.server.js +0 -47
- package/dist/modules/config/paths/get.server.js.map +0 -1
- package/src/components/layouts/admin-layout.server.tsx +0 -31
- package/src/components/layouts/admin-sidebar-context.client.tsx +0 -34
- package/src/components/layouts/admin-sidebar.client.tsx +0 -88
- package/src/modules/config/paths/create.server.ts +0 -10
- package/src/modules/config/paths/get.server.ts +0 -69
|
@@ -2,10 +2,10 @@ import { Button } from "./button.js";
|
|
|
2
2
|
import { Input } from "./input.js";
|
|
3
3
|
import { Separator } from "./separator.js";
|
|
4
4
|
import { TooltipContent } from "./tooltip.client.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime339 from "react/jsx-runtime";
|
|
6
6
|
import { VariantProps } from "class-variance-authority";
|
|
7
7
|
import * as React$1 from "react";
|
|
8
|
-
import * as
|
|
8
|
+
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
9
9
|
|
|
10
10
|
//#region src/components/ui/sidebar.client.d.ts
|
|
11
11
|
type SidebarContext = {
|
|
@@ -31,7 +31,7 @@ declare function SidebarProvider({
|
|
|
31
31
|
defaultOpen?: boolean;
|
|
32
32
|
open?: boolean;
|
|
33
33
|
onOpenChange?: (open: boolean) => void;
|
|
34
|
-
}):
|
|
34
|
+
}): react_jsx_runtime339.JSX.Element;
|
|
35
35
|
declare function Sidebar({
|
|
36
36
|
side,
|
|
37
37
|
variant,
|
|
@@ -43,74 +43,74 @@ declare function Sidebar({
|
|
|
43
43
|
side?: "left" | "right";
|
|
44
44
|
variant?: "sidebar" | "floating" | "inset";
|
|
45
45
|
collapsible?: "offcanvas" | "icon" | "none";
|
|
46
|
-
}):
|
|
46
|
+
}): react_jsx_runtime339.JSX.Element;
|
|
47
47
|
declare function SidebarTrigger({
|
|
48
48
|
className,
|
|
49
49
|
onClick,
|
|
50
50
|
...props
|
|
51
|
-
}: React$1.ComponentProps<typeof Button>):
|
|
51
|
+
}: React$1.ComponentProps<typeof Button>): react_jsx_runtime339.JSX.Element;
|
|
52
52
|
declare function SidebarRail({
|
|
53
53
|
className,
|
|
54
54
|
...props
|
|
55
|
-
}: React$1.ComponentProps<"button">):
|
|
55
|
+
}: React$1.ComponentProps<"button">): react_jsx_runtime339.JSX.Element;
|
|
56
56
|
declare function SidebarInset({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React$1.ComponentProps<"main">):
|
|
59
|
+
}: React$1.ComponentProps<"main">): react_jsx_runtime339.JSX.Element;
|
|
60
60
|
declare function SidebarInput({
|
|
61
61
|
className,
|
|
62
62
|
...props
|
|
63
|
-
}: React$1.ComponentProps<typeof Input>):
|
|
63
|
+
}: React$1.ComponentProps<typeof Input>): react_jsx_runtime339.JSX.Element;
|
|
64
64
|
declare function SidebarHeader({
|
|
65
65
|
className,
|
|
66
66
|
...props
|
|
67
|
-
}: React$1.ComponentProps<"div">):
|
|
67
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime339.JSX.Element;
|
|
68
68
|
declare function SidebarFooter({
|
|
69
69
|
className,
|
|
70
70
|
...props
|
|
71
|
-
}: React$1.ComponentProps<"div">):
|
|
71
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime339.JSX.Element;
|
|
72
72
|
declare function SidebarSeparator({
|
|
73
73
|
className,
|
|
74
74
|
...props
|
|
75
|
-
}: React$1.ComponentProps<typeof Separator>):
|
|
75
|
+
}: React$1.ComponentProps<typeof Separator>): react_jsx_runtime339.JSX.Element;
|
|
76
76
|
declare function SidebarContent({
|
|
77
77
|
className,
|
|
78
78
|
...props
|
|
79
|
-
}: React$1.ComponentProps<"div">):
|
|
79
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime339.JSX.Element;
|
|
80
80
|
declare function SidebarGroup({
|
|
81
81
|
className,
|
|
82
82
|
...props
|
|
83
|
-
}: React$1.ComponentProps<"div">):
|
|
83
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime339.JSX.Element;
|
|
84
84
|
declare function SidebarGroupLabel({
|
|
85
85
|
className,
|
|
86
86
|
asChild,
|
|
87
87
|
...props
|
|
88
88
|
}: React$1.ComponentProps<"div"> & {
|
|
89
89
|
asChild?: boolean;
|
|
90
|
-
}):
|
|
90
|
+
}): react_jsx_runtime339.JSX.Element;
|
|
91
91
|
declare function SidebarGroupAction({
|
|
92
92
|
className,
|
|
93
93
|
asChild,
|
|
94
94
|
...props
|
|
95
95
|
}: React$1.ComponentProps<"button"> & {
|
|
96
96
|
asChild?: boolean;
|
|
97
|
-
}):
|
|
97
|
+
}): react_jsx_runtime339.JSX.Element;
|
|
98
98
|
declare function SidebarGroupContent({
|
|
99
99
|
className,
|
|
100
100
|
...props
|
|
101
|
-
}: React$1.ComponentProps<"div">):
|
|
101
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime339.JSX.Element;
|
|
102
102
|
declare function SidebarMenu({
|
|
103
103
|
className,
|
|
104
104
|
...props
|
|
105
|
-
}: React$1.ComponentProps<"ul">):
|
|
105
|
+
}: React$1.ComponentProps<"ul">): react_jsx_runtime339.JSX.Element;
|
|
106
106
|
declare function SidebarMenuItem({
|
|
107
107
|
className,
|
|
108
108
|
...props
|
|
109
|
-
}: React$1.ComponentProps<"li">):
|
|
109
|
+
}: React$1.ComponentProps<"li">): react_jsx_runtime339.JSX.Element;
|
|
110
110
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
111
111
|
variant?: "default" | "outline" | null | undefined;
|
|
112
112
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
113
|
-
} &
|
|
113
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
114
114
|
declare function SidebarMenuButton({
|
|
115
115
|
asChild,
|
|
116
116
|
isActive,
|
|
@@ -123,7 +123,7 @@ declare function SidebarMenuButton({
|
|
|
123
123
|
asChild?: boolean;
|
|
124
124
|
isActive?: boolean;
|
|
125
125
|
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
126
|
-
} & VariantProps<typeof sidebarMenuButtonVariants>):
|
|
126
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime339.JSX.Element;
|
|
127
127
|
declare function SidebarMenuAction({
|
|
128
128
|
className,
|
|
129
129
|
asChild,
|
|
@@ -132,26 +132,26 @@ declare function SidebarMenuAction({
|
|
|
132
132
|
}: React$1.ComponentProps<"button"> & {
|
|
133
133
|
asChild?: boolean;
|
|
134
134
|
showOnHover?: boolean;
|
|
135
|
-
}):
|
|
135
|
+
}): react_jsx_runtime339.JSX.Element;
|
|
136
136
|
declare function SidebarMenuBadge({
|
|
137
137
|
className,
|
|
138
138
|
...props
|
|
139
|
-
}: React$1.ComponentProps<"div">):
|
|
139
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime339.JSX.Element;
|
|
140
140
|
declare function SidebarMenuSkeleton({
|
|
141
141
|
className,
|
|
142
142
|
showIcon,
|
|
143
143
|
...props
|
|
144
144
|
}: React$1.ComponentProps<"div"> & {
|
|
145
145
|
showIcon?: boolean;
|
|
146
|
-
}):
|
|
146
|
+
}): react_jsx_runtime339.JSX.Element;
|
|
147
147
|
declare function SidebarMenuSub({
|
|
148
148
|
className,
|
|
149
149
|
...props
|
|
150
|
-
}: React$1.ComponentProps<"ul">):
|
|
150
|
+
}: React$1.ComponentProps<"ul">): react_jsx_runtime339.JSX.Element;
|
|
151
151
|
declare function SidebarMenuSubItem({
|
|
152
152
|
className,
|
|
153
153
|
...props
|
|
154
|
-
}: React$1.ComponentProps<"li">):
|
|
154
|
+
}: React$1.ComponentProps<"li">): react_jsx_runtime339.JSX.Element;
|
|
155
155
|
declare function SidebarMenuSubButton({
|
|
156
156
|
asChild,
|
|
157
157
|
size,
|
|
@@ -162,7 +162,7 @@ declare function SidebarMenuSubButton({
|
|
|
162
162
|
asChild?: boolean;
|
|
163
163
|
size?: "sm" | "md";
|
|
164
164
|
isActive?: boolean;
|
|
165
|
-
}):
|
|
165
|
+
}): react_jsx_runtime339.JSX.Element;
|
|
166
166
|
//#endregion
|
|
167
167
|
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar };
|
|
168
168
|
//# sourceMappingURL=sidebar.client.d.ts.map
|
|
@@ -5,8 +5,8 @@ import { cn } from "../../lib/utils/cn.js";
|
|
|
5
5
|
import { Skeleton } from "./skeleton.js";
|
|
6
6
|
import { Button } from "./button.js";
|
|
7
7
|
import { Input } from "./input.js";
|
|
8
|
-
import { Separator } from "./separator.js";
|
|
9
8
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./tooltip.client.js";
|
|
9
|
+
import { Separator } from "./separator.js";
|
|
10
10
|
import { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle } from "./sheet.client.js";
|
|
11
11
|
import { useIsMobile } from "../../lib/hooks/use-mobile.client.js";
|
|
12
12
|
import { PanelLeftIcon } from "lucide-react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime142 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/ui/skeleton.d.ts
|
|
4
4
|
declare function Skeleton({
|
|
5
5
|
className,
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<"div">):
|
|
7
|
+
}: React.ComponentProps<"div">): react_jsx_runtime142.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Skeleton };
|
|
10
10
|
//# sourceMappingURL=skeleton.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime153 from "react/jsx-runtime";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
4
4
|
|
|
@@ -10,7 +10,7 @@ declare function Slider({
|
|
|
10
10
|
min,
|
|
11
11
|
max,
|
|
12
12
|
...props
|
|
13
|
-
}: React$1.ComponentProps<typeof SliderPrimitive.Root>):
|
|
13
|
+
}: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime153.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Slider };
|
|
16
16
|
//# sourceMappingURL=slider.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime362 from "react/jsx-runtime";
|
|
2
2
|
import { ToasterProps, toast as toast$1 } from "sonner";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ui/sonner.client.d.ts
|
|
5
5
|
declare const Toaster$1: ({
|
|
6
6
|
...props
|
|
7
|
-
}: ToasterProps) =>
|
|
7
|
+
}: ToasterProps) => react_jsx_runtime362.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Toaster$1 as Toaster, toast$1 as toast };
|
|
10
10
|
//# sourceMappingURL=sonner.client.d.ts.map
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import { useTheme } from "next-themes";
|
|
6
5
|
import { Toaster, toast as toast$1 } from "sonner";
|
|
6
|
+
import { useTheme } from "next-themes";
|
|
7
7
|
|
|
8
8
|
//#region src/components/ui/sonner.client.tsx
|
|
9
9
|
const Toaster$1 = ({ ...props }) => {
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/components/ui/spinner.tsx
|
|
4
|
+
function Spinner() {
|
|
5
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
6
|
+
viewBox: "0 0 120.09 141.73",
|
|
7
|
+
className: "w-16",
|
|
8
|
+
children: [
|
|
9
|
+
/* @__PURE__ */ jsx("title", { children: "Tulip Logo Icon" }),
|
|
10
|
+
/* @__PURE__ */ jsxs("defs", { children: [
|
|
11
|
+
/* @__PURE__ */ jsxs("linearGradient", {
|
|
12
|
+
id: "tulip-logo-icon-gradient",
|
|
13
|
+
x1: "60.5",
|
|
14
|
+
y1: "0",
|
|
15
|
+
x2: "60.5",
|
|
16
|
+
y2: "141.73",
|
|
17
|
+
gradientUnits: "userSpaceOnUse",
|
|
18
|
+
children: [/* @__PURE__ */ jsx("stop", {
|
|
19
|
+
offset: "0",
|
|
20
|
+
stopColor: "#ffc754"
|
|
21
|
+
}), /* @__PURE__ */ jsx("stop", {
|
|
22
|
+
offset: "1",
|
|
23
|
+
stopColor: "#ff1800"
|
|
24
|
+
})]
|
|
25
|
+
}),
|
|
26
|
+
/* @__PURE__ */ jsx("linearGradient", {
|
|
27
|
+
id: "tulip-logo-icon-gradient-2",
|
|
28
|
+
x1: "72.4",
|
|
29
|
+
y1: "5.81",
|
|
30
|
+
x2: "72.4",
|
|
31
|
+
y2: "141.73",
|
|
32
|
+
xlinkHref: "#tulip-logo-icon-gradient"
|
|
33
|
+
}),
|
|
34
|
+
/* @__PURE__ */ jsx("linearGradient", {
|
|
35
|
+
id: "tulip-logo-icon-gradient-3",
|
|
36
|
+
x1: "47.69",
|
|
37
|
+
y1: "5.81",
|
|
38
|
+
x2: "47.69",
|
|
39
|
+
y2: "141.73",
|
|
40
|
+
xlinkHref: "#tulip-logo-icon-gradient"
|
|
41
|
+
})
|
|
42
|
+
] }),
|
|
43
|
+
/* @__PURE__ */ jsxs("g", { children: [
|
|
44
|
+
/* @__PURE__ */ jsx("path", {
|
|
45
|
+
d: "M107.88,93.09c0-35.95-47.38-93.09-47.38-93.09,0,0-47.39,57.14-47.38,93.09,0,26.17,21.21,48.64,47.38,48.64,26.17,0,47.39-22.47,47.38-48.64Z",
|
|
46
|
+
className: "animate-pulse fill-[url(#tulip-logo-icon-gradient)] opacity-90"
|
|
47
|
+
}),
|
|
48
|
+
/* @__PURE__ */ jsx("path", {
|
|
49
|
+
d: "M116.68,109.5c12.3-33.78-12.69-103.68-12.69-103.68,0,0-64.07,37.49-76.37,71.27-8.95,24.59,3.3,52.97,27.89,61.92,24.59,8.95,52.21-4.91,61.16-29.5Z",
|
|
50
|
+
className: "animate-pulse fill-[url(#tulip-logo-icon-gradient)] opacity-90"
|
|
51
|
+
}),
|
|
52
|
+
/* @__PURE__ */ jsx("path", {
|
|
53
|
+
d: "M92.46,77.09C80.16,43.3,16.09,5.81,16.09,5.81c0,0-24.98,69.9-12.69,103.68,8.95,24.59,36.57,38.45,61.16,29.5,24.59-8.95,36.84-37.32,27.89-61.92Z",
|
|
54
|
+
className: "animate-pulse fill-[url(#tulip-logo-icon-gradient)] opacity-90"
|
|
55
|
+
})
|
|
56
|
+
] })
|
|
57
|
+
]
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
//#endregion
|
|
62
|
+
export { Spinner };
|
|
63
|
+
//# sourceMappingURL=spinner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spinner.js","names":[],"sources":["../../../src/components/ui/spinner.tsx"],"sourcesContent":["export function Spinner() {\n return (\n <svg viewBox=\"0 0 120.09 141.73\" className=\"w-16\">\n <title>Tulip Logo Icon</title>\n <defs>\n <linearGradient\n id=\"tulip-logo-icon-gradient\"\n x1=\"60.5\"\n y1=\"0\"\n x2=\"60.5\"\n y2=\"141.73\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#ffc754\" />\n <stop offset=\"1\" stopColor=\"#ff1800\" />\n </linearGradient>\n <linearGradient\n id=\"tulip-logo-icon-gradient-2\"\n x1=\"72.4\"\n y1=\"5.81\"\n x2=\"72.4\"\n y2=\"141.73\"\n xlinkHref=\"#tulip-logo-icon-gradient\"\n />\n <linearGradient\n id=\"tulip-logo-icon-gradient-3\"\n x1=\"47.69\"\n y1=\"5.81\"\n x2=\"47.69\"\n y2=\"141.73\"\n xlinkHref=\"#tulip-logo-icon-gradient\"\n />\n </defs>\n\n <g>\n <path\n d=\"M107.88,93.09c0-35.95-47.38-93.09-47.38-93.09,0,0-47.39,57.14-47.38,93.09,0,26.17,21.21,48.64,47.38,48.64,26.17,0,47.39-22.47,47.38-48.64Z\"\n className=\"animate-pulse fill-[url(#tulip-logo-icon-gradient)] opacity-90\"\n />\n <path\n d=\"M116.68,109.5c12.3-33.78-12.69-103.68-12.69-103.68,0,0-64.07,37.49-76.37,71.27-8.95,24.59,3.3,52.97,27.89,61.92,24.59,8.95,52.21-4.91,61.16-29.5Z\"\n className=\"animate-pulse fill-[url(#tulip-logo-icon-gradient)] opacity-90\"\n />\n <path\n d=\"M92.46,77.09C80.16,43.3,16.09,5.81,16.09,5.81c0,0-24.98,69.9-12.69,103.68,8.95,24.59,36.57,38.45,61.16,29.5,24.59-8.95,36.84-37.32,27.89-61.92Z\"\n className=\"animate-pulse fill-[url(#tulip-logo-icon-gradient)] opacity-90\"\n />\n </g>\n </svg>\n );\n}\n"],"mappings":";;;AAAA,SAAgB,UAAU;AACxB,QACE,qBAAC;EAAI,SAAQ;EAAoB,WAAU;;GACzC,oBAAC,qBAAM,oBAAuB;GAC9B,qBAAC;IACC,qBAAC;KACC,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,eAAc;gBAEd,oBAAC;MAAK,QAAO;MAAI,WAAU;OAAY,EACvC,oBAAC;MAAK,QAAO;MAAI,WAAU;OAAY;MACxB;IACjB,oBAAC;KACC,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,WAAU;MACV;IACF,oBAAC;KACC,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,WAAU;MACV;OACG;GAEP,qBAAC;IACC,oBAAC;KACC,GAAE;KACF,WAAU;MACV;IACF,oBAAC;KACC,GAAE;KACF,WAAU;MACV;IACF,oBAAC;KACC,GAAE;KACF,WAAU;MACV;OACA;;GACA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime152 from "react/jsx-runtime";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
|
6
6
|
declare function Switch({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React$1.ComponentProps<typeof SwitchPrimitive.Root>):
|
|
9
|
+
}: React$1.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime152.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Switch };
|
|
12
12
|
//# sourceMappingURL=switch.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime154 from "react/jsx-runtime";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
4
4
|
|
|
@@ -6,19 +6,19 @@ import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
|
6
6
|
declare function Tabs({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React$1.ComponentProps<typeof TabsPrimitive.Root>):
|
|
9
|
+
}: React$1.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime154.JSX.Element;
|
|
10
10
|
declare function TabsList({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React$1.ComponentProps<typeof TabsPrimitive.List>):
|
|
13
|
+
}: React$1.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime154.JSX.Element;
|
|
14
14
|
declare function TabsTrigger({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React$1.ComponentProps<typeof TabsPrimitive.Trigger>):
|
|
17
|
+
}: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime154.JSX.Element;
|
|
18
18
|
declare function TabsContent({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React$1.ComponentProps<typeof TabsPrimitive.Content>):
|
|
21
|
+
}: React$1.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime154.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
24
24
|
//# sourceMappingURL=tabs.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime158 from "react/jsx-runtime";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ui/textarea.d.ts
|
|
5
5
|
declare function Textarea({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React$1.ComponentProps<"textarea">):
|
|
8
|
+
}: React$1.ComponentProps<"textarea">): react_jsx_runtime158.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Textarea };
|
|
11
11
|
//# sourceMappingURL=textarea.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime363 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/ui/time-input.client.d.ts
|
|
4
4
|
type TimeInputProps = {
|
|
@@ -10,7 +10,7 @@ declare function TimeInput({
|
|
|
10
10
|
value,
|
|
11
11
|
onChange,
|
|
12
12
|
format
|
|
13
|
-
}: TimeInputProps):
|
|
13
|
+
}: TimeInputProps): react_jsx_runtime363.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { TimeInput };
|
|
16
16
|
//# sourceMappingURL=time-input.client.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toggleVariants } from "./toggle.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime364 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
5
|
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
|
|
@@ -11,14 +11,14 @@ declare function ToggleGroup({
|
|
|
11
11
|
size,
|
|
12
12
|
children,
|
|
13
13
|
...props
|
|
14
|
-
}: React$1.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>):
|
|
14
|
+
}: React$1.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime364.JSX.Element;
|
|
15
15
|
declare function ToggleGroupItem({
|
|
16
16
|
className,
|
|
17
17
|
children,
|
|
18
18
|
variant,
|
|
19
19
|
size,
|
|
20
20
|
...props
|
|
21
|
-
}: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>):
|
|
21
|
+
}: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime364.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { ToggleGroup, ToggleGroupItem };
|
|
24
24
|
//# sourceMappingURL=toggle-group.client.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
@@ -14,7 +14,7 @@ declare function Toggle({
|
|
|
14
14
|
variant,
|
|
15
15
|
size,
|
|
16
16
|
...props
|
|
17
|
-
}: React$1.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>):
|
|
17
|
+
}: React$1.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime0.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { Toggle, toggleVariants };
|
|
20
20
|
//# sourceMappingURL=toggle.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime366 from "react/jsx-runtime";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
4
4
|
|
|
@@ -6,19 +6,19 @@ import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
|
6
6
|
declare function TooltipProvider({
|
|
7
7
|
delayDuration,
|
|
8
8
|
...props
|
|
9
|
-
}: React$1.ComponentProps<typeof TooltipPrimitive.Provider>):
|
|
9
|
+
}: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime366.JSX.Element;
|
|
10
10
|
declare function Tooltip({
|
|
11
11
|
...props
|
|
12
|
-
}: React$1.ComponentProps<typeof TooltipPrimitive.Root>):
|
|
12
|
+
}: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime366.JSX.Element;
|
|
13
13
|
declare function TooltipTrigger({
|
|
14
14
|
...props
|
|
15
|
-
}: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>):
|
|
15
|
+
}: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime366.JSX.Element;
|
|
16
16
|
declare function TooltipContent({
|
|
17
17
|
className,
|
|
18
18
|
sideOffset,
|
|
19
19
|
children,
|
|
20
20
|
...props
|
|
21
|
-
}: React$1.ComponentProps<typeof TooltipPrimitive.Content>):
|
|
21
|
+
}: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime366.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
24
24
|
//# sourceMappingURL=tooltip.client.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime370 from "react/jsx-runtime";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import { ItemInstance } from "@headless-tree/core";
|
|
4
4
|
|
|
@@ -12,7 +12,7 @@ declare function Tree({
|
|
|
12
12
|
tree,
|
|
13
13
|
className,
|
|
14
14
|
...props
|
|
15
|
-
}: TreeProps):
|
|
15
|
+
}: TreeProps): react_jsx_runtime370.JSX.Element;
|
|
16
16
|
interface TreeItemProps<T = any> extends React$1.HTMLAttributes<HTMLButtonElement> {
|
|
17
17
|
item: ItemInstance<T>;
|
|
18
18
|
indent?: number;
|
|
@@ -24,7 +24,7 @@ declare function TreeItem<T = any>({
|
|
|
24
24
|
asChild,
|
|
25
25
|
children,
|
|
26
26
|
...props
|
|
27
|
-
}: Omit<TreeItemProps<T>, "indent">):
|
|
27
|
+
}: Omit<TreeItemProps<T>, "indent">): react_jsx_runtime370.JSX.Element;
|
|
28
28
|
interface TreeItemLabelProps<T = any> extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
29
29
|
item?: ItemInstance<T>;
|
|
30
30
|
}
|
|
@@ -33,11 +33,11 @@ declare function TreeItemLabel<T = any>({
|
|
|
33
33
|
children,
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: TreeItemLabelProps<T>):
|
|
36
|
+
}: TreeItemLabelProps<T>): react_jsx_runtime370.JSX.Element | null;
|
|
37
37
|
declare function TreeDragLine({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React$1.HTMLAttributes<HTMLDivElement>):
|
|
40
|
+
}: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime370.JSX.Element | null;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { Tree, TreeDragLine, TreeItem, TreeItemLabel };
|
|
43
43
|
//# sourceMappingURL=tree.client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree.client.d.ts","names":[],"sources":["../../../src/components/ui/tree.client.tsx"],"sourcesContent":[],"mappings":";;;;;UAyBU,SAAA,SAAkB,OAAA,CAAM,eAAe;;;AApBlB;iBAyBtB,IAAA,CALW;EAAA,MAAA;EAAA,IAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAKsC,SALtC,CAAA,EAK+C,
|
|
1
|
+
{"version":3,"file":"tree.client.d.ts","names":[],"sources":["../../../src/components/ui/tree.client.tsx"],"sourcesContent":[],"mappings":";;;;;UAyBU,SAAA,SAAkB,OAAA,CAAM,eAAe;;;AApBlB;iBAyBtB,IAAA,CALW;EAAA,MAAA;EAAA,IAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAKsC,SALtC,CAAA,EAK+C,oBAAA,CAAA,GAAA,CAAA,OAL/C;UA+BV,aA/BuC,CAAA,IAAA,GAAA,CAAA,SA+BR,OAAA,CAAM,cA/BE,CA+Ba,iBA/Bb,CAAA,CAAA;MAArB,EAgCpB,YAhC0B,CAgCb,CAhCa,CAAA;EAAc,MAAA,CAAA,EAAA,MAAA;EAKvC,OAAI,CAAA,EAAA,OAAA;;iBAgCJ,QAhCO,CAAA,IAAA,GAAA,CAAA,CAAA;EAAA,IAAA;EAAA,SAAA;EAAA,OAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAsCb,IAtCa,CAsCR,aAtCQ,CAsCM,CAtCN,CAAA,EAAA,QAAA,CAAA,CAAA,EAsCmB,oBAAA,CAAA,GAAA,CAAA,OAtCnB;UAoFN,kBApFmB,CAAA,IAAA,GAAA,CAAA,SAoFiB,OAAA,CAAM,cApFvB,CAoFsC,eApFtC,CAAA,CAAA;MAAM,CAAA,EAqF1B,YArF0B,CAqFb,CArFa,CAAA;;iBAwF1B,aAxF0D,CAAA,IAAA,GAAA,CAAA,CAAA;EAAA,IAAA,EAyF3D,QAzF2D;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA6FhE,kBA7FgE,CA6F7C,CA7F6C,CAAA,CAAA,EA6F3C,oBAAA,CAAA,GAAA,CAAA,OAAA,GA7F2C,IAAA;iBAuH1D,YAAA,CAvH0D;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAuHpB,OAAA,CAAM,cAvHc,CAuHC,cAvHD,CAAA,CAAA,EAuHgB,oBAAA,CAAA,GAAA,CAAA,OAAA,GAvHhB,IAAA"}
|
package/dist/components.d.ts
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "./components/ui/breadcrumb.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ScrollArea, ScrollBar } from "./components/ui/scroll-area.js";
|
|
3
3
|
import { Button, buttonVariants } from "./components/ui/button.js";
|
|
4
4
|
import { Input } from "./components/ui/input.js";
|
|
5
5
|
import { Separator } from "./components/ui/separator.js";
|
|
6
|
+
import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "./components/ui/popover.js";
|
|
6
7
|
import { Toggle, toggleVariants } from "./components/ui/toggle.js";
|
|
7
8
|
import { Icon, Icons } from "./components/common/icons.js";
|
|
8
9
|
import { CreateStatusComponentProps, StatusBadge, StatusField, createStatusConfig, createStatusVariants, findStatus } from "./components/common/status.js";
|
|
9
|
-
import {
|
|
10
|
+
import { AdminLoadingLayout } from "./components/layouts/admin-loading.js";
|
|
10
11
|
import { EmptyPage, EmptyPageDescription, EmptyPageProps, EmptyPageTitle } from "./components/layouts/empty-page.js";
|
|
11
12
|
import { ListLayout } from "./components/layouts/list-layout.js";
|
|
12
13
|
import { NotFoundPage } from "./components/layouts/not-found-page.js";
|
|
14
|
+
import { RootLoading } from "./components/layouts/root-loading.js";
|
|
13
15
|
import { Tab, TabLayout, TabLayoutProps } from "./components/layouts/tab-layout.js";
|
|
14
16
|
import { DataList, DataListItem, DataListItemProps, DataListProps, DataListTitle, DataListTitleProps, DataListValue, DataListValueProps } from "./components/lists/data-list.js";
|
|
15
17
|
import { DataStack, DataStackColumn, DataStackColumnProps, DataStackGrid, DataStackGridProps, DataStackLayout, DataStackLayoutProps, DataStackProps, DataStackRow, DataStackRowProps, DataStackTitle, DataStackTitleProps, DataStackValue, DataStackValueProps } from "./components/lists/data-stack.js";
|
|
@@ -29,10 +31,9 @@ import { Label } from "./components/ui/label.js";
|
|
|
29
31
|
import { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle } from "./components/ui/navigation-menu.js";
|
|
30
32
|
import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from "./components/ui/pagination.js";
|
|
31
33
|
import { RadioGroup, RadioGroupItem } from "./components/ui/radio-group.js";
|
|
32
|
-
import { ScrollArea, ScrollBar } from "./components/ui/scroll-area.js";
|
|
33
34
|
import { Skeleton } from "./components/ui/skeleton.js";
|
|
34
35
|
import { Slider } from "./components/ui/slider.js";
|
|
35
36
|
import { Switch } from "./components/ui/switch.js";
|
|
36
37
|
import { Tabs, TabsContent, TabsList, TabsTrigger } from "./components/ui/tabs.js";
|
|
37
38
|
import { Textarea } from "./components/ui/textarea.js";
|
|
38
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger,
|
|
39
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdminLoadingLayout, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CreateStatusComponentProps, DataList, DataListItem, DataListItemProps, DataListProps, DataListTitle, DataListTitleProps, DataListValue, DataListValueProps, DataStack, DataStackColumn, DataStackColumnProps, DataStackGrid, DataStackGridProps, DataStackLayout, DataStackLayoutProps, DataStackProps, DataStackRow, DataStackRowProps, DataStackTitle, DataStackTitleProps, DataStackValue, DataStackValueProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyPage, EmptyPageDescription, EmptyPageProps, EmptyPageTitle, Icon, Icons, Input, Label, ListLayout, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFoundPage, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, RadioGroup, RadioGroupItem, RootLoading, ScrollArea, ScrollBar, Separator, Skeleton, Slider, StatusBadge, StatusField, Switch, Tab, TabLayout, TabLayoutProps, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toggle, badgeVariants, buttonVariants, createStatusConfig, createStatusVariants, findStatus, navigationMenuTriggerStyle, toggleVariants };
|
package/dist/components.js
CHANGED
|
@@ -2,12 +2,17 @@ import { Icons } from "./components/common/icons.js";
|
|
|
2
2
|
import { Badge, badgeVariants } from "./components/ui/badge.js";
|
|
3
3
|
import { StatusBadge, StatusField, createStatusConfig, createStatusVariants, findStatus } from "./components/common/status.js";
|
|
4
4
|
import { Skeleton } from "./components/ui/skeleton.js";
|
|
5
|
-
import {
|
|
5
|
+
import { AdminLoadingLayout } from "./components/layouts/admin-loading.js";
|
|
6
6
|
import { EmptyPage, EmptyPageDescription, EmptyPageTitle } from "./components/layouts/empty-page.js";
|
|
7
7
|
import { ListLayout } from "./components/layouts/list-layout.js";
|
|
8
8
|
import { Button, buttonVariants } from "./components/ui/button.js";
|
|
9
9
|
import { NotFoundPage } from "./components/layouts/not-found-page.js";
|
|
10
|
+
import { RootLoading } from "./components/layouts/root-loading.js";
|
|
10
11
|
import { Tabs, TabsContent, TabsList, TabsTrigger } from "./components/ui/tabs.js";
|
|
12
|
+
import { Label } from "./components/ui/label.js";
|
|
13
|
+
import { Input } from "./components/ui/input.js";
|
|
14
|
+
import { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from "./components/ui/context-menu.js";
|
|
15
|
+
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./components/ui/dropdown-menu.js";
|
|
11
16
|
import { TabLayout } from "./components/layouts/tab-layout.js";
|
|
12
17
|
import { DataList, DataListItem, DataListTitle, DataListValue } from "./components/lists/data-list.js";
|
|
13
18
|
import { DataStack, DataStackColumn, DataStackGrid, DataStackLayout, DataStackRow, DataStackTitle, DataStackValue } from "./components/lists/data-stack.js";
|
|
@@ -21,10 +26,6 @@ import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle }
|
|
|
21
26
|
import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from "./components/ui/carousel.js";
|
|
22
27
|
import { Checkbox } from "./components/ui/checkbox.js";
|
|
23
28
|
import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from "./components/ui/command.js";
|
|
24
|
-
import { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from "./components/ui/context-menu.js";
|
|
25
|
-
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./components/ui/dropdown-menu.js";
|
|
26
|
-
import { Input } from "./components/ui/input.js";
|
|
27
|
-
import { Label } from "./components/ui/label.js";
|
|
28
29
|
import { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle } from "./components/ui/navigation-menu.js";
|
|
29
30
|
import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from "./components/ui/pagination.js";
|
|
30
31
|
import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "./components/ui/popover.js";
|
|
@@ -36,4 +37,4 @@ import { Switch } from "./components/ui/switch.js";
|
|
|
36
37
|
import { Textarea } from "./components/ui/textarea.js";
|
|
37
38
|
import { Toggle, toggleVariants } from "./components/ui/toggle.js";
|
|
38
39
|
|
|
39
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger,
|
|
40
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdminLoadingLayout, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DataList, DataListItem, DataListTitle, DataListValue, DataStack, DataStackColumn, DataStackGrid, DataStackLayout, DataStackRow, DataStackTitle, DataStackValue, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyPage, EmptyPageDescription, EmptyPageTitle, Icons, Input, Label, ListLayout, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFoundPage, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, RadioGroup, RadioGroupItem, RootLoading, ScrollArea, ScrollBar, Separator, Skeleton, Slider, StatusBadge, StatusField, Switch, TabLayout, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toggle, badgeVariants, buttonVariants, createStatusConfig, createStatusVariants, findStatus, navigationMenuTriggerStyle, toggleVariants };
|
package/dist/config/server.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { TulipConfig, defineConfig } from "../modules/config/lib/config.server.js";
|
|
2
2
|
import { GetTulipParams, GetTulipReturn, getTulip } from "../modules/config/lib/resolve.server.js";
|
|
3
|
-
import {
|
|
3
|
+
import { HydrateClient, createRPCServerClient, getQueryClient } from "../modules/config/router/client.server.js";
|
|
4
4
|
import { ProtectedRPCContext, RPCContext, createRPCContext } from "../modules/config/router/context.server.js";
|
|
5
5
|
import { ServerError } from "../modules/config/router/error.server.js";
|
|
6
6
|
import { initRPC } from "../modules/config/router/init.server.js";
|
|
7
|
-
|
|
8
|
-
export { GetTulipParams, GetTulipReturn, HydrateClient, ProtectedRPCContext, RPCContext, ServerError, TulipConfig, createPaths, createRPCContext, createRPCServerClient, defineConfig, getQueryClient, getTulip, initRPC };
|
|
7
|
+
export { GetTulipParams, GetTulipReturn, HydrateClient, ProtectedRPCContext, RPCContext, ServerError, TulipConfig, createRPCContext, createRPCServerClient, defineConfig, getQueryClient, getTulip, initRPC };
|
package/dist/config/server.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { ServerError } from "../modules/config/router/error.server.js";
|
|
2
1
|
import { getTulip } from "../modules/config/lib/resolve.server.js";
|
|
2
|
+
import { ServerError } from "../modules/config/router/error.server.js";
|
|
3
3
|
import { defineConfig } from "../modules/config/lib/config.server.js";
|
|
4
|
-
import {
|
|
4
|
+
import { HydrateClient, createRPCServerClient, getQueryClient } from "../modules/config/router/client.server.js";
|
|
5
5
|
import { createRPCContext } from "../modules/config/router/context.server.js";
|
|
6
6
|
import { initRPC } from "../modules/config/router/init.server.js";
|
|
7
|
-
import { HydrateClient, createRPCServerClient, getQueryClient } from "../modules/config/router/client.server.js";
|
|
8
7
|
|
|
9
|
-
export { HydrateClient, ServerError,
|
|
8
|
+
export { HydrateClient, ServerError, createRPCContext, createRPCServerClient, defineConfig, getQueryClient, getTulip, initRPC };
|
package/dist/config.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { Path, PathGroup, PathSubItem, Paths } from "./modules/config/paths/types.js";
|
|
1
2
|
import { TDatabaseSchema } from "./modules/config/db/types.js";
|
|
2
|
-
import { PathConfig, PathGroupInput, PathGroupOutput, PathInput, PathOutput, PathResult, PathSubItemInput, PathSubItemOutput } from "./modules/config/paths/types.js";
|
|
3
3
|
import { baseColumns } from "./modules/config/db/helpers.js";
|
|
4
|
+
import { createPaths } from "./modules/config/paths/helpers.js";
|
|
4
5
|
import { createRPCClient } from "./modules/config/router/client.js";
|
|
5
6
|
import { BulkActionSchema, bulkActionSchema } from "./modules/config/router/validators.js";
|
|
6
|
-
export { BulkActionSchema,
|
|
7
|
+
export { BulkActionSchema, Path, PathGroup, PathSubItem, Paths, TDatabaseSchema, baseColumns, bulkActionSchema, createPaths, createRPCClient };
|