@tulip-systems/core 0.5.7 → 0.5.9
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/components/client.mjs +7 -7
- 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/common/status.d.mts.map +1 -1
- package/dist/components/editor/components/content.client.d.mts +2 -2
- package/dist/components/editor/components/content.client.d.mts.map +1 -1
- package/dist/components/editor/components/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/components/menu.client.mjs +1 -1
- package/dist/components/header/back-button.client.d.mts +2 -2
- package/dist/components/header/back-button.client.d.mts.map +1 -1
- package/dist/components/header/bottom-bar.client.d.mts +3 -3
- package/dist/components/header/bottom-bar.client.d.mts.map +1 -1
- package/dist/components/header/bottom-bar.client.mjs +1 -1
- package/dist/components/header/breadcrumbs.client.d.mts +7 -7
- package/dist/components/header/breadcrumbs.client.d.mts.map +1 -1
- package/dist/components/header/breadcrumbs.client.mjs +1 -1
- package/dist/components/header/header.client.d.mts +2 -2
- package/dist/components/header/mobile-nav-switcher.client.d.mts +2 -2
- package/dist/components/header/top-bar.client.d.mts +4 -4
- package/dist/components/header/top-bar.client.mjs +1 -1
- package/dist/components/layouts/admin-content.client.d.mts +2 -2
- package/dist/components/layouts/admin-error-pages.d.mts +23 -0
- package/dist/components/layouts/admin-error-pages.d.mts.map +1 -0
- package/dist/components/layouts/admin-error-pages.mjs +60 -0
- package/dist/components/layouts/admin-error-pages.mjs.map +1 -0
- 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-loading.d.mts +2 -2
- package/dist/components/layouts/admin-loading.d.mts.map +1 -1
- package/dist/components/layouts/empty-page.d.mts +4 -4
- package/dist/components/layouts/empty-page.d.mts.map +1 -1
- package/dist/components/layouts/empty-page.mjs.map +1 -1
- package/dist/components/layouts/error-page.d.mts +35 -10
- package/dist/components/layouts/error-page.d.mts.map +1 -1
- package/dist/components/layouts/error-page.mjs +36 -40
- package/dist/components/layouts/error-page.mjs.map +1 -1
- package/dist/components/layouts/error-sections.d.mts +29 -0
- package/dist/components/layouts/error-sections.d.mts.map +1 -0
- package/dist/components/layouts/error-sections.mjs +47 -0
- package/dist/components/layouts/error-sections.mjs.map +1 -0
- package/dist/components/layouts/list-layout.d.mts +2 -2
- package/dist/components/layouts/list-layout.d.mts.map +1 -1
- package/dist/components/layouts/providers.client.d.mts +2 -2
- package/dist/components/layouts/root-error-pages.d.mts +10 -0
- package/dist/components/layouts/root-error-pages.d.mts.map +1 -0
- package/dist/components/layouts/root-error-pages.mjs +17 -0
- package/dist/components/layouts/root-error-pages.mjs.map +1 -0
- package/dist/components/layouts/root-layout.server.d.mts +2 -2
- package/dist/components/layouts/root-layout.server.d.mts.map +1 -1
- package/dist/components/layouts/root-loading.d.mts +2 -2
- package/dist/components/layouts/root-loading.d.mts.map +1 -1
- package/dist/components/layouts/tab-layout.d.mts +2 -2
- package/dist/components/layouts/tab-layout.d.mts.map +1 -1
- package/dist/components/layouts/tab-layout.mjs +1 -1
- package/dist/components/lists/data-list.d.mts +5 -5
- package/dist/components/lists/data-list.d.mts.map +1 -1
- package/dist/components/lists/data-stack.d.mts +8 -8
- package/dist/components/lists/data-stack.d.mts.map +1 -1
- package/dist/components/navigation/admin-sidebar-header.client.mjs +2 -2
- package/dist/components/navigation/admin-sidebar-paths.client.d.mts +10 -10
- package/dist/components/navigation/admin-sidebar-paths.client.mjs +1 -1
- package/dist/components/navigation/admin-sidebar-skeleton.mjs +1 -1
- package/dist/components/ui/accordion.d.mts +5 -5
- package/dist/components/ui/accordion.d.mts.map +1 -1
- package/dist/components/ui/alert-dialog.d.mts +12 -12
- package/dist/components/ui/alert-dialog.d.mts.map +1 -1
- package/dist/components/ui/alert.d.mts +6 -6
- package/dist/components/ui/alert.d.mts.map +1 -1
- package/dist/components/ui/aspect-ratio.d.mts +2 -2
- package/dist/components/ui/aspect-ratio.d.mts.map +1 -1
- package/dist/components/ui/avatar.client.d.mts +4 -4
- package/dist/components/ui/badge.d.mts +4 -4
- package/dist/components/ui/badge.d.mts.map +1 -1
- package/dist/components/ui/breadcrumb.d.mts +8 -8
- package/dist/components/ui/breadcrumb.d.mts.map +1 -1
- package/dist/components/ui/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/checkbox.d.mts +2 -2
- package/dist/components/ui/collapsible.client.d.mts +4 -4
- package/dist/components/ui/color-picker.client.d.mts +2 -2
- package/dist/components/ui/combobox-dropdown.client.d.mts +2 -2
- package/dist/components/ui/combobox-dropdown.client.mjs +1 -1
- package/dist/components/ui/combobox.client.d.mts +2 -2
- package/dist/components/ui/combobox.client.mjs +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.mjs +1 -1
- package/dist/components/ui/dialog.client.d.mts +11 -11
- package/dist/components/ui/drawer.client.d.mts +11 -11
- package/dist/components/ui/dropdown-menu.d.mts +18 -18
- package/dist/components/ui/dropdown-menu.d.mts.map +1 -1
- package/dist/components/ui/dropdown-menu.mjs +2 -2
- package/dist/components/ui/dropdown-menu.mjs.map +1 -1
- package/dist/components/ui/form.client.d.mts +7 -7
- package/dist/components/ui/hover-card.client.d.mts +4 -4
- package/dist/components/ui/input-recipient.d.mts +2 -2
- 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/radio-group.d.mts +3 -3
- package/dist/components/ui/resizable.client.d.mts +4 -4
- package/dist/components/ui/scroll-area.d.mts +3 -3
- package/dist/components/ui/select.client.d.mts +11 -11
- package/dist/components/ui/separator.d.mts +2 -2
- package/dist/components/ui/sheet.client.d.mts +9 -9
- package/dist/components/ui/sidebar.client.d.mts +26 -26
- package/dist/components/ui/sidebar.client.mjs +2 -2
- 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/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/time-input.client.d.mts +2 -2
- package/dist/components/ui/toggle-group.client.d.mts +3 -3
- package/dist/components/ui/toggle.d.mts +2 -2
- package/dist/components/ui/toggle.d.mts.map +1 -1
- package/dist/components/ui/tooltip.client.d.mts +5 -5
- package/dist/components.d.mts +5 -4
- package/dist/components.mjs +18 -17
- package/dist/data-tables/client.d.mts +2 -6
- package/dist/data-tables/client.mjs +2 -6
- package/dist/lib/hooks/use-indicator.d.mts +2 -2
- package/dist/lib.mjs +1 -1
- package/dist/modules/auth/components/allowed.client.d.mts +2 -2
- package/dist/modules/auth/components/auth-layout.server.d.mts +2 -2
- 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.mjs +1 -1
- package/dist/modules/auth/components/forget-password-page.client.d.mts +2 -2
- package/dist/modules/auth/components/guard-first-user.server.d.mts +2 -2
- package/dist/modules/auth/components/guard.server.d.mts +2 -2
- package/dist/modules/auth/components/login-page.client.d.mts +2 -2
- package/dist/modules/auth/components/login-page.client.mjs +1 -1
- package/dist/modules/auth/components/reset-password-page.client.d.mts +2 -2
- package/dist/modules/auth/components/reset-password-page.client.mjs +1 -1
- package/dist/modules/auth/components/update-password-command.d.mts +2 -2
- 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 +4 -4
- package/dist/modules/auth/hooks/use-permission.d.mts +3 -3
- package/dist/modules/auth/hooks/use-session.d.mts +4 -4
- 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/commands/components/alert-dialog-command.client.d.mts +10 -10
- package/dist/modules/commands/components/alert-dialog-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/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/command-trigger.client.mjs +1 -1
- package/dist/modules/commands/components/dialog-command.client.d.mts +8 -8
- package/dist/modules/commands/components/dialog-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/dialog-command.client.mjs +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 +11 -11
- package/dist/modules/commands/components/form-dialog-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/form-dialog-command.client.mjs +1 -1
- package/dist/modules/commands/hooks/use-command-mutation.client.d.mts +3 -3
- 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/dropdown-menu.client.mjs +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/data-tables/components/cell/common.client.d.mts +5 -5
- package/dist/modules/data-tables/components/column-header.d.mts +2 -2
- package/dist/modules/data-tables/components/filters/combobox.client.d.mts +2 -2
- package/dist/modules/data-tables/components/filters/combobox.client.mjs +1 -1
- package/dist/modules/data-tables/components/filters/slider.client.d.mts +2 -2
- package/dist/modules/data-tables/components/filters/slider.client.mjs +1 -1
- package/dist/modules/data-tables/components/header.d.mts +4 -4
- package/dist/modules/data-tables/components/layout.d.mts +2 -2
- 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/table.d.mts +7 -7
- package/dist/modules/data-tables/components/toolbar.d.mts +3 -3
- package/dist/modules/data-tables/hooks/use-context.client.d.mts +2 -2
- package/dist/modules/data-tables/lib/converters/search.mjs +2 -2
- package/dist/modules/data-tables/lib/converters/search.mjs.map +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/common.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/{inputs → cells}/read-only.d.mts +3 -3
- package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/{inputs → cells}/read-only.mjs +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/table.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/table.mjs +1 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.mjs +1 -1
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/combobox.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/date-input.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/date-input.client.mjs +1 -1
- package/dist/modules/inline-edit/components/date-picker.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/date-picker.client.mjs +1 -1
- package/dist/modules/inline-edit/components/editor.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/input-recipient.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/input-toggle.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/input.client.d.mts +4 -4
- package/dist/modules/inline-edit/components/select.client.d.mts +6 -6
- package/dist/modules/inline-edit/components/switch.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/toggle.client.d.mts +2 -2
- package/dist/modules/inline-edit/hooks/context.client.d.mts +2 -2
- 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 +3 -3
- 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/lib/router.server.d.mts +2342 -2342
- package/dist/modules/storage/lib/router.server.d.mts.map +1 -1
- package/dist/modules/storage/lib/schema.d.mts +92 -92
- package/dist/modules/storage/lib/schema.d.mts.map +1 -1
- package/dist/modules/storage/lib/schema.mjs +1 -1
- package/dist/modules/storage/lib/service.server.d.mts +15 -15
- package/dist/modules/storage/lib/service.server.mjs +2 -2
- package/dist/modules/storage/lib/service.server.mjs.map +1 -1
- package/dist/modules/storage/lib/validators.d.mts +85 -85
- package/dist/modules/storage/lib/validators.d.mts.map +1 -1
- package/package.json +1 -1
- package/src/components/entry.ts +3 -2
- package/src/components/layouts/admin-error-pages.tsx +109 -0
- package/src/components/layouts/empty-page.tsx +0 -17
- package/src/components/layouts/error-page.tsx +58 -44
- package/src/components/layouts/error-sections.tsx +52 -0
- package/src/components/layouts/root-error-pages.tsx +12 -0
- package/src/modules/data-tables/entry.client.ts +1 -5
- package/src/modules/data-tables/lib/converters/search.ts +2 -2
- package/src/modules/storage/lib/service.server.ts +1 -1
- package/dist/components/layouts/not-allowed-page.d.mts +0 -22
- package/dist/components/layouts/not-allowed-page.d.mts.map +0 -1
- package/dist/components/layouts/not-allowed-page.mjs +0 -25
- package/dist/components/layouts/not-allowed-page.mjs.map +0 -1
- package/dist/components/layouts/not-found-page.d.mts +0 -8
- package/dist/components/layouts/not-found-page.d.mts.map +0 -1
- package/dist/components/layouts/not-found-page.mjs +0 -20
- package/dist/components/layouts/not-found-page.mjs.map +0 -1
- package/dist/components/layouts/not-found-section.mjs +0 -30
- package/dist/components/layouts/not-found-section.mjs.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.mts +0 -29
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.mts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.mjs +0 -52
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.mjs.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.mts +0 -27
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.mts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.mjs +0 -29
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.mjs.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.mts +0 -39
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.mts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.mjs +0 -71
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.mjs.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.mts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.mjs.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.mts +0 -33
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.mts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.mjs +0 -52
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.mjs.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.d.mts +0 -17
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.d.mts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.mjs +0 -53
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.mjs.map +0 -1
- package/src/components/layouts/not-allowed-page.tsx +0 -44
- package/src/components/layouts/not-found-page.tsx +0 -17
- package/src/components/layouts/not-found-section.tsx +0 -26
- package/src/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.tsx +0 -90
- package/src/modules/data-tables/tables/inline-table/components/inputs/combobox.client.tsx +0 -109
- package/src/modules/data-tables/tables/inline-table/components/inputs/input.client.tsx +0 -108
- package/src/modules/data-tables/tables/inline-table/components/inputs/select.client.tsx +0 -102
- package/src/modules/data-tables/tables/inline-table/hooks/use-input.client.ts +0 -65
- /package/src/modules/data-tables/tables/inline-table/components/{inputs → cells}/read-only.tsx +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime262 from "react/jsx-runtime";
|
|
2
2
|
import { DefaultError, MutationOptions } from "@tanstack/react-query";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/commands/utils/delete-command.client.d.ts
|
|
@@ -13,7 +13,7 @@ type DeleteCommandProps<TData = unknown, TError = DefaultError, TVariables = unk
|
|
|
13
13
|
declare function DeleteCommand<TData = unknown, TError = DefaultError, TVariables = unknown, TOnMutateResult = unknown>({
|
|
14
14
|
variables,
|
|
15
15
|
mutation
|
|
16
|
-
}: DeleteCommandProps<TData, TError, TVariables, TOnMutateResult>):
|
|
16
|
+
}: DeleteCommandProps<TData, TError, TVariables, TOnMutateResult>): react_jsx_runtime262.JSX.Element;
|
|
17
17
|
/**
|
|
18
18
|
* Single Delete command
|
|
19
19
|
*/
|
|
@@ -22,7 +22,7 @@ declare function SingleDeleteCommand<TData = unknown, TError = DefaultError, TVa
|
|
|
22
22
|
}, TOnMutateResult = unknown>({
|
|
23
23
|
variables,
|
|
24
24
|
mutation
|
|
25
|
-
}: DeleteCommandProps<TData, TError, TVariables, TOnMutateResult>):
|
|
25
|
+
}: DeleteCommandProps<TData, TError, TVariables, TOnMutateResult>): react_jsx_runtime262.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { DeleteCommand, DeleteCommandProps, SingleDeleteCommand };
|
|
28
28
|
//# sourceMappingURL=delete-command.client.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-command.client.d.mts","names":[],"sources":["../../../../src/modules/commands/utils/delete-command.client.tsx"],"sourcesContent":[],"mappings":";;;;KAiBY,6CAED;aAIE;YACD,gBAAgB,OAAO,QAAQ,YAAY;AAPvD,CAAA;;;;;AAO2C,iBAM3B,aAN2B,CAAA,QAAA,OAAA,EAAA,SAQhC,YARgC,EAAA,aAAA,OAAA,EAAA,kBAAA,OAAA,CAAA,CAAA;EAAA,SAAA;EAAA;AAAA,CAAA,EAWhB,kBAXgB,CAWG,KAXH,EAWU,MAXV,EAWkB,UAXlB,EAW8B,eAX9B,CAAA,CAAA,EAW8C,
|
|
1
|
+
{"version":3,"file":"delete-command.client.d.mts","names":[],"sources":["../../../../src/modules/commands/utils/delete-command.client.tsx"],"sourcesContent":[],"mappings":";;;;KAiBY,6CAED;aAIE;YACD,gBAAgB,OAAO,QAAQ,YAAY;AAPvD,CAAA;;;;;AAO2C,iBAM3B,aAN2B,CAAA,QAAA,OAAA,EAAA,SAQhC,YARgC,EAAA,aAAA,OAAA,EAAA,kBAAA,OAAA,CAAA,CAAA;EAAA,SAAA;EAAA;AAAA,CAAA,EAWhB,kBAXgB,CAWG,KAXH,EAWU,MAXV,EAWkB,UAXlB,EAW8B,eAX9B,CAAA,CAAA,EAW8C,oBAAA,CAAA,GAAA,CAAA,OAX9C;;;;AAM3B,iBAsCA,mBAtCa,CAAA,QAAA,OAAA,EAAA,SAwClB,YAxCkB,EAAA,aAAA;EAElB,EAAA,EAAA,MAAA;CAGP,EAAA,kBAAA,OAAA,CAAA,CAAA;EAAA,SAAA;EAAA;AAAA,CAAA,EAsCuB,kBAtCvB,CAsC0C,KAtC1C,EAsCiD,MAtCjD,EAsCyD,UAtCzD,EAsCqE,eAtCrE,CAAA,CAAA,EAsCqF,oBAAA,CAAA,GAAA,CAAA,OAtCrF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as drizzle_orm_pg_core2049 from "drizzle-orm/pg-core";
|
|
2
|
+
import * as drizzle_orm480 from "drizzle-orm";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/config/db/helpers.d.ts
|
|
5
5
|
declare const generateDefaultUUID: () => string;
|
|
@@ -7,9 +7,9 @@ declare const generateDefaultUUID: () => string;
|
|
|
7
7
|
* Base columns4
|
|
8
8
|
*/
|
|
9
9
|
declare const baseColumns: {
|
|
10
|
-
id:
|
|
11
|
-
createdAt:
|
|
12
|
-
updatedAt:
|
|
10
|
+
id: drizzle_orm480.HasRuntimeDefault<drizzle_orm480.HasDefault<drizzle_orm480.IsPrimaryKey<drizzle_orm480.NotNull<drizzle_orm_pg_core2049.PgUUIDBuilderInitial<"">>>>>;
|
|
11
|
+
createdAt: drizzle_orm480.NotNull<drizzle_orm480.HasDefault<drizzle_orm_pg_core2049.PgTimestampBuilderInitial<"">>>;
|
|
12
|
+
updatedAt: drizzle_orm480.HasDefault<drizzle_orm480.NotNull<drizzle_orm480.HasDefault<drizzle_orm_pg_core2049.PgTimestampBuilderInitial<"">>>>;
|
|
13
13
|
};
|
|
14
14
|
//#endregion
|
|
15
15
|
export { baseColumns, generateDefaultUUID };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.mts","names":[],"sources":["../../../../src/modules/config/db/helpers.ts"],"sourcesContent":[],"mappings":";;;;cAGa;;;;AAAA,cAKA,WALoC,EAAA;EAKpC,EAAA,
|
|
1
|
+
{"version":3,"file":"helpers.d.mts","names":[],"sources":["../../../../src/modules/config/db/helpers.ts"],"sourcesContent":[],"mappings":";;;;cAGa;;;;AAAA,cAKA,WALoC,EAAA;EAKpC,EAAA,kCAWZ,0BAAA,4BAAA,uBAAA,CAAA,uBAAA,CAAA,oBAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA;EAAA,SAAA,wBAAA,0BAAA,kDAAA,CAAA,EAAA,CAAA,CAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TableCell } from "../table.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import { ComponentProps } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/data-tables/components/cell/common.client.d.ts
|
|
@@ -7,21 +7,21 @@ declare function TableTextCell({
|
|
|
7
7
|
children,
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: ComponentProps<typeof TableCell>):
|
|
10
|
+
}: ComponentProps<typeof TableCell>): react_jsx_runtime0.JSX.Element;
|
|
11
11
|
declare function TableNumberCell({
|
|
12
12
|
children,
|
|
13
13
|
className,
|
|
14
14
|
...props
|
|
15
|
-
}: ComponentProps<typeof TableCell>):
|
|
15
|
+
}: ComponentProps<typeof TableCell>): react_jsx_runtime0.JSX.Element;
|
|
16
16
|
declare function TableDateCell({
|
|
17
17
|
children,
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: ComponentProps<typeof TableCell>):
|
|
20
|
+
}: ComponentProps<typeof TableCell>): react_jsx_runtime0.JSX.Element;
|
|
21
21
|
declare function TableStatusCell({
|
|
22
22
|
children,
|
|
23
23
|
...props
|
|
24
|
-
}: ComponentProps<typeof TableCell>):
|
|
24
|
+
}: ComponentProps<typeof TableCell>): react_jsx_runtime0.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { TableDateCell, TableNumberCell, TableStatusCell, TableTextCell };
|
|
27
27
|
//# sourceMappingURL=common.client.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
2
2
|
import { Column } from "@tanstack/react-table";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/data-tables/components/column-header.d.ts
|
|
@@ -10,7 +10,7 @@ declare function TableColumnHeader<TData, TValue>({
|
|
|
10
10
|
column,
|
|
11
11
|
title,
|
|
12
12
|
className
|
|
13
|
-
}: TableColumnHeaderProps<TData, TValue>):
|
|
13
|
+
}: TableColumnHeaderProps<TData, TValue>): react_jsx_runtime13.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { TableColumnHeader };
|
|
16
16
|
//# sourceMappingURL=column-header.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LucideIcon } from "lucide-react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
3
3
|
import { ParserBuilder } from "nuqs";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/data-tables/components/filters/combobox.client.d.ts
|
|
@@ -22,7 +22,7 @@ declare function TableFilterCombobox<TValue extends string>({
|
|
|
22
22
|
title,
|
|
23
23
|
filter,
|
|
24
24
|
options
|
|
25
|
-
}: TableFilterComboboxProps<TValue>):
|
|
25
|
+
}: TableFilterComboboxProps<TValue>): react_jsx_runtime3.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { TableFilterCombobox, TableFilterComboboxOption, TableFilterComboboxProps };
|
|
28
28
|
//# sourceMappingURL=combobox.client.d.mts.map
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { cn } from "../../../../lib/utils/cn.mjs";
|
|
4
4
|
import { Badge } from "../../../../components/ui/badge.mjs";
|
|
5
5
|
import { Button } from "../../../../components/ui/button.mjs";
|
|
6
|
-
import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator } from "../../../../components/ui/command.mjs";
|
|
7
6
|
import { Popover, PopoverContent, PopoverTrigger } from "../../../../components/ui/popover.mjs";
|
|
8
7
|
import { Separator } from "../../../../components/ui/separator.mjs";
|
|
8
|
+
import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator } from "../../../../components/ui/command.mjs";
|
|
9
9
|
import { Check, PlusCircle } from "lucide-react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { startTransition, useOptimistic } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
2
2
|
import { ParserBuilder } from "nuqs";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/data-tables/components/filters/slider.client.d.ts
|
|
@@ -17,7 +17,7 @@ declare function TableFilterSlider({
|
|
|
17
17
|
title,
|
|
18
18
|
filter,
|
|
19
19
|
options
|
|
20
|
-
}: TableFilterSliderProps):
|
|
20
|
+
}: TableFilterSliderProps): react_jsx_runtime4.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { TableFilterSlider, TableFilterSliderProps };
|
|
23
23
|
//# sourceMappingURL=slider.client.d.mts.map
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import { Badge } from "../../../../components/ui/badge.mjs";
|
|
4
4
|
import { Button } from "../../../../components/ui/button.mjs";
|
|
5
|
-
import { Input } from "../../../../components/ui/input.mjs";
|
|
6
5
|
import { Popover, PopoverContent, PopoverTrigger } from "../../../../components/ui/popover.mjs";
|
|
6
|
+
import { Input } from "../../../../components/ui/input.mjs";
|
|
7
7
|
import { Separator } from "../../../../components/ui/separator.mjs";
|
|
8
8
|
import { Slider } from "../../../../components/ui/slider.mjs";
|
|
9
9
|
import { PlusCircle } from "lucide-react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TableRow } from "./table.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
3
3
|
import { Header, Table } from "@tanstack/react-table";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/data-tables/components/header.d.ts
|
|
@@ -15,7 +15,7 @@ type TableHeaderProps<TData> = {
|
|
|
15
15
|
declare function TableHeader({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: React.ComponentProps<"thead">):
|
|
18
|
+
}: React.ComponentProps<"thead">): react_jsx_runtime14.JSX.Element;
|
|
19
19
|
/**
|
|
20
20
|
* DataTableHeaderRow
|
|
21
21
|
*/
|
|
@@ -26,7 +26,7 @@ declare const TableHeaderRow: typeof TableRow;
|
|
|
26
26
|
declare function TableHead({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<"th">):
|
|
29
|
+
}: React.ComponentProps<"th">): react_jsx_runtime14.JSX.Element;
|
|
30
30
|
/**
|
|
31
31
|
* DataTableHeaderCell
|
|
32
32
|
*/
|
|
@@ -35,7 +35,7 @@ type DataTableHeaderCellProps<TData> = {
|
|
|
35
35
|
};
|
|
36
36
|
declare function TableHeaderCell<TData>({
|
|
37
37
|
header
|
|
38
|
-
}: DataTableHeaderCellProps<TData>):
|
|
38
|
+
}: DataTableHeaderCellProps<TData>): react_jsx_runtime14.JSX.Element;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { TableHead, TableHeader, TableHeaderCell, TableHeaderProps, TableHeaderRow };
|
|
41
41
|
//# sourceMappingURL=header.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/data-tables/components/layout.d.ts
|
|
@@ -6,7 +6,7 @@ declare function TableLayout({
|
|
|
6
6
|
className,
|
|
7
7
|
children,
|
|
8
8
|
...props
|
|
9
|
-
}: ComponentProps<"div">):
|
|
9
|
+
}: ComponentProps<"div">): react_jsx_runtime17.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { TableLayout };
|
|
12
12
|
//# sourceMappingURL=layout.d.mts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/modules/data-tables/components/search-input.client.d.ts
|
|
4
|
-
declare function TableSearchInput():
|
|
4
|
+
declare function TableSearchInput(): react_jsx_runtime5.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { TableSearchInput };
|
|
7
7
|
//# sourceMappingURL=search-input.client.d.mts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/modules/data-tables/components/skeleton.d.ts
|
|
4
|
-
declare function TableSkeleton():
|
|
4
|
+
declare function TableSkeleton(): react_jsx_runtime18.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { TableSkeleton };
|
|
7
7
|
//# sourceMappingURL=skeleton.d.mts.map
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/data-tables/components/table.d.ts
|
|
5
5
|
declare function Table({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React$1.ComponentProps<"table">):
|
|
8
|
+
}: React$1.ComponentProps<"table">): react_jsx_runtime19.JSX.Element;
|
|
9
9
|
declare function TableBody({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React$1.ComponentProps<"tbody">):
|
|
12
|
+
}: React$1.ComponentProps<"tbody">): react_jsx_runtime19.JSX.Element;
|
|
13
13
|
declare function TableFooter({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React$1.ComponentProps<"tfoot">):
|
|
16
|
+
}: React$1.ComponentProps<"tfoot">): react_jsx_runtime19.JSX.Element;
|
|
17
17
|
declare function TableRow({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React$1.ComponentProps<"tr">):
|
|
20
|
+
}: React$1.ComponentProps<"tr">): react_jsx_runtime19.JSX.Element;
|
|
21
21
|
declare function TableCell({
|
|
22
22
|
readonly,
|
|
23
23
|
className,
|
|
24
24
|
...props
|
|
25
25
|
}: React$1.ComponentProps<"td"> & {
|
|
26
26
|
readonly?: boolean;
|
|
27
|
-
}):
|
|
27
|
+
}): react_jsx_runtime19.JSX.Element;
|
|
28
28
|
declare function TableCaption({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React$1.ComponentProps<"caption">):
|
|
31
|
+
}: React$1.ComponentProps<"caption">): react_jsx_runtime19.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableRow };
|
|
34
34
|
//# sourceMappingURL=table.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/data-tables/components/toolbar.d.ts
|
|
@@ -9,7 +9,7 @@ declare function TableToolbar({
|
|
|
9
9
|
children,
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: TableToolbarProps):
|
|
12
|
+
}: TableToolbarProps): react_jsx_runtime25.JSX.Element;
|
|
13
13
|
type TableToolbarListProps = HTMLAttributes<HTMLDivElement> & {
|
|
14
14
|
children: React.ReactNode;
|
|
15
15
|
};
|
|
@@ -17,7 +17,7 @@ declare function TableToolbarList({
|
|
|
17
17
|
children,
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: TableToolbarListProps):
|
|
20
|
+
}: TableToolbarListProps): react_jsx_runtime25.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { TableToolbar, TableToolbarList };
|
|
23
23
|
//# sourceMappingURL=toolbar.d.mts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CommandDef } from "../../commands/lib/definitions.mjs";
|
|
2
2
|
import { TableFiltersResult } from "../lib/filters/config.mjs";
|
|
3
3
|
import { Selection, TableColumnDef, TableMetaInput, TableStrategy } from "../lib/types.mjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
5
5
|
import { Dispatch, PropsWithChildren, SetStateAction } from "react";
|
|
6
6
|
import { TableOptions, VisibilityState } from "@tanstack/react-table";
|
|
7
7
|
|
|
@@ -44,7 +44,7 @@ declare function TableConfigProvider<TData extends {
|
|
|
44
44
|
config
|
|
45
45
|
}: PropsWithChildren<{
|
|
46
46
|
config: CreateTableConfigInput<TData, TFilters, TMeta>;
|
|
47
|
-
}>):
|
|
47
|
+
}>): react_jsx_runtime7.JSX.Element;
|
|
48
48
|
/**
|
|
49
49
|
* Create use table config hook
|
|
50
50
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ilike, or } from "drizzle-orm";
|
|
1
|
+
import { ilike, or, sql } from "drizzle-orm";
|
|
2
2
|
|
|
3
3
|
//#region src/modules/data-tables/lib/converters/search.ts
|
|
4
4
|
/**
|
|
@@ -8,7 +8,7 @@ import { ilike, or } from "drizzle-orm";
|
|
|
8
8
|
*/
|
|
9
9
|
function convertSearchToQueryParams({ search }, fields) {
|
|
10
10
|
if (!search) return void 0;
|
|
11
|
-
return or(...fields.map((field) => ilike(field
|
|
11
|
+
return or(...fields.map((field) => ilike(sql`${field}::text`, `%${search}%`)));
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.mjs","names":[],"sources":["../../../../../src/modules/data-tables/lib/converters/search.ts"],"sourcesContent":["import { type SQL, ilike, or } from \"drizzle-orm\";\nimport type { PgColumn } from \"drizzle-orm/pg-core\";\nimport { TableQuerySchema } from \"../validators\";\n\nexport type ConvertSearchToQueryParamsFields = PgColumn[];\n\n/**\n * Convert search to DB query\n * @param {ConvertSearchToQueryParamsInput}\n * @returns { { OR: Record<string, { contains: string, mode: \"insensitive\" }> } }\n */\nexport function convertSearchToQueryParams(\n { search }: Pick<TableQuerySchema, \"search\">,\n fields: ConvertSearchToQueryParamsFields,\n): SQL | undefined {\n if (!search) return undefined;\n\n // create an array of search fields with the search query applied\n const searchFields = fields.map((field) => ilike(field
|
|
1
|
+
{"version":3,"file":"search.mjs","names":[],"sources":["../../../../../src/modules/data-tables/lib/converters/search.ts"],"sourcesContent":["import { type SQL, ilike, or, sql } from \"drizzle-orm\";\nimport type { PgColumn } from \"drizzle-orm/pg-core\";\nimport { TableQuerySchema } from \"../validators\";\n\nexport type ConvertSearchToQueryParamsFields = PgColumn[];\n\n/**\n * Convert search to DB query\n * @param {ConvertSearchToQueryParamsInput}\n * @returns { { OR: Record<string, { contains: string, mode: \"insensitive\" }> } }\n */\nexport function convertSearchToQueryParams(\n { search }: Pick<TableQuerySchema, \"search\">,\n fields: ConvertSearchToQueryParamsFields,\n): SQL | undefined {\n if (!search) return undefined;\n\n // create an array of search fields with the search query applied\n const searchFields = fields.map((field) => ilike(sql`${field}::text`, `%${search}%`));\n\n // return the query with the search fields\n return or(...searchFields);\n}\n"],"mappings":";;;;;;;;AAWA,SAAgB,2BACd,EAAE,UACF,QACiB;AACjB,KAAI,CAAC,OAAQ,QAAO;AAMpB,QAAO,GAAG,GAHW,OAAO,KAAK,UAAU,MAAM,GAAG,GAAG,MAAM,SAAS,IAAI,OAAO,GAAG,CAAC,CAG3D"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Table } from "../../../components/table.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
3
3
|
import { ComponentProps } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/data-tables/tables/data-table/components/table.d.ts
|
|
6
6
|
declare function DataTable<TData extends {
|
|
7
7
|
id: string;
|
|
8
|
-
}>(props: ComponentProps<typeof Table>):
|
|
8
|
+
}>(props: ComponentProps<typeof Table>): react_jsx_runtime12.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { DataTable };
|
|
11
11
|
//# sourceMappingURL=table.d.mts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { TableCell } from "../../../../components/table.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/data-tables/tables/inline-table/components/cells/common.d.ts
|
|
6
6
|
declare function TableInlineCell({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React$1.ComponentProps<typeof TableCell>):
|
|
9
|
+
}: React$1.ComponentProps<typeof TableCell>): react_jsx_runtime8.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { TableInlineCell };
|
|
12
12
|
//# sourceMappingURL=common.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.mts","names":[],"sources":["../../../../../../../src/modules/data-tables/tables/inline-table/components/cells/common.tsx"],"sourcesContent":[],"mappings":";;;;;iBAIgB,eAAA;;;GAAyC,OAAA,CAAM,sBAAsB,aAAU,
|
|
1
|
+
{"version":3,"file":"common.d.mts","names":[],"sources":["../../../../../../../src/modules/data-tables/tables/inline-table/components/cells/common.tsx"],"sourcesContent":[],"mappings":";;;;;iBAIgB,eAAA;;;GAAyC,OAAA,CAAM,sBAAsB,aAAU,kBAAA,CAAA,GAAA,CAAA"}
|
package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TableColumnDef } from "../../../../lib/types.mjs";
|
|
2
2
|
import "../../../../../../data-tables.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
4
4
|
import { CellContext } from "@tanstack/react-table";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.ts
|
|
@@ -15,7 +15,7 @@ declare function TableDragHandle<TData, TValue>({
|
|
|
15
15
|
row,
|
|
16
16
|
className,
|
|
17
17
|
disabled
|
|
18
|
-
}: TableDragHandleProps<TData, TValue>):
|
|
18
|
+
}: TableDragHandleProps<TData, TValue>): react_jsx_runtime6.JSX.Element;
|
|
19
19
|
/**
|
|
20
20
|
* Create a new column with the drag handle
|
|
21
21
|
*/
|
package/dist/modules/data-tables/tables/inline-table/components/{inputs → cells}/read-only.d.mts
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
|
-
//#region src/modules/data-tables/tables/inline-table/components/
|
|
4
|
+
//#region src/modules/data-tables/tables/inline-table/components/cells/read-only.d.ts
|
|
5
5
|
declare function InlineDataTableReadOnly({
|
|
6
6
|
className,
|
|
7
7
|
children,
|
|
8
8
|
...props
|
|
9
|
-
}: React.HTMLAttributes<HTMLSpanElement>):
|
|
9
|
+
}: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime9.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { InlineDataTableReadOnly };
|
|
12
12
|
//# sourceMappingURL=read-only.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"read-only.d.mts","names":[],"sources":["../../../../../../../src/modules/data-tables/tables/inline-table/components/cells/read-only.tsx"],"sourcesContent":[],"mappings":";;;;iBAGgB,uBAAA;;;;GAIb,KAAA,CAAM,eAAe,mBAAgB,kBAAA,CAAA,GAAA,CAAA"}
|
package/dist/modules/data-tables/tables/inline-table/components/{inputs → cells}/read-only.mjs
RENAMED
|
@@ -2,7 +2,7 @@ import { cn } from "../../../../../../lib/utils/cn.mjs";
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import React from "react";
|
|
4
4
|
|
|
5
|
-
//#region src/modules/data-tables/tables/inline-table/components/
|
|
5
|
+
//#region src/modules/data-tables/tables/inline-table/components/cells/read-only.tsx
|
|
6
6
|
function InlineDataTableReadOnly({ className, children, ...props }) {
|
|
7
7
|
return /* @__PURE__ */ jsx("span", {
|
|
8
8
|
...props,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"read-only.mjs","names":[],"sources":["../../../../../../../src/modules/data-tables/tables/inline-table/components/cells/read-only.tsx"],"sourcesContent":["import { cn } from \"@/lib/utils/cn\";\nimport React from \"react\";\n\nexport function InlineDataTableReadOnly({\n className,\n children,\n ...props\n}: React.HTMLAttributes<HTMLSpanElement>) {\n return (\n <span\n {...props}\n className={cn(\"bg-muted/50 flex h-full w-full items-center truncate px-3\", className)}\n >\n {children}\n </span>\n );\n}\n"],"mappings":";;;;;AAGA,SAAgB,wBAAwB,EACtC,WACA,UACA,GAAG,SACqC;AACxC,QACE,oBAAC;EACC,GAAI;EACJ,WAAW,GAAG,6DAA6D,UAAU;EAEpF;GACI"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Table } from "../../../components/table.mjs";
|
|
2
2
|
import { InlineTableProvider } from "../hooks/context.client.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
4
4
|
import { ComponentProps } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/data-tables/tables/inline-table/components/table.d.ts
|
|
@@ -10,7 +10,7 @@ declare function InlineTable<TData extends {
|
|
|
10
10
|
disabledColumns,
|
|
11
11
|
moveRowAction,
|
|
12
12
|
...props
|
|
13
|
-
}: ComponentProps<typeof Table> & ComponentProps<typeof InlineTableProvider>):
|
|
13
|
+
}: ComponentProps<typeof Table> & ComponentProps<typeof InlineTableProvider>): react_jsx_runtime10.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { InlineTable };
|
|
16
16
|
//# sourceMappingURL=table.d.mts.map
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import { Table } from "../../../components/table.mjs";
|
|
4
4
|
import { useTable } from "../../../hooks/use-table.client.mjs";
|
|
5
|
-
import { InlineTableProvider } from "../hooks/context.client.mjs";
|
|
6
5
|
import { TableCommandMenu } from "../../../../commands/menus/data-table-menu.client.mjs";
|
|
7
6
|
import { TableBottombar, TableFooter } from "../../../components/footer.mjs";
|
|
7
|
+
import { InlineTableProvider } from "../hooks/context.client.mjs";
|
|
8
8
|
import { InlineTableBody } from "./body.mjs";
|
|
9
9
|
import { InlineTableHeader } from "./header.mjs";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
2
2
|
import { PropsWithChildren } from "react";
|
|
3
3
|
import { VisibilityState } from "@tanstack/react-table";
|
|
4
4
|
|
|
@@ -41,7 +41,7 @@ declare function InlineTableProvider<TData extends {
|
|
|
41
41
|
fromIndex: number;
|
|
42
42
|
toIndex: number;
|
|
43
43
|
}) => Promise<unknown>;
|
|
44
|
-
}>):
|
|
44
|
+
}>): react_jsx_runtime11.JSX.Element;
|
|
45
45
|
//#endregion
|
|
46
46
|
export { InlineTableContextValue, InlineTableProvider, useInlineTableContext };
|
|
47
47
|
//# sourceMappingURL=context.client.d.mts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import { useAction } from "../../../../../lib/hooks/use-action.mjs";
|
|
4
3
|
import { arrayMove } from "../../../../../lib/utils/array-move.mjs";
|
|
4
|
+
import { useAction } from "../../../../../lib/hooks/use-action.mjs";
|
|
5
5
|
import { useTableConfigContext } from "../../../hooks/use-context.client.mjs";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import React from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComboboxDropdownItem, ComboboxDropdownProps } from "../../../components/ui/combobox-dropdown.client.mjs";
|
|
2
2
|
import { useInlineEditOptions } from "../hooks/use-inline.client.mjs";
|
|
3
3
|
import { InlineEditVariantsProps } from "../lib/variants.mjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime197 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/inline-edit/components/combobox-dropdown.client.d.ts
|
|
7
7
|
type InlineEditComboboxDropdownProps<TValue extends ComboboxDropdownItem, Required extends boolean = false> = useInlineEditOptions<string, Required> & InlineEditVariantsProps & Omit<ComboboxDropdownProps<TValue>, "onSelect"> & {
|
|
@@ -19,7 +19,7 @@ declare function InlineComboboxDropdown<TValue extends ComboboxDropdownItem, Req
|
|
|
19
19
|
isRequired,
|
|
20
20
|
disabled,
|
|
21
21
|
...props
|
|
22
|
-
}: InlineEditComboboxDropdownProps<TValue, Required>):
|
|
22
|
+
}: InlineEditComboboxDropdownProps<TValue, Required>): react_jsx_runtime197.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { InlineComboboxDropdown, InlineEditComboboxDropdownProps };
|
|
25
25
|
//# sourceMappingURL=combobox-dropdown.client.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComboboxProps } from "../../../components/ui/combobox.client.mjs";
|
|
2
2
|
import { useInlineEditOptions } from "../hooks/use-inline.client.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime198 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/inline-edit/components/combobox.client.d.ts
|
|
6
6
|
type InlineComboboxProps<TValue, Required extends boolean = false> = useInlineEditOptions<string, Required> & Omit<ComboboxProps<TValue>, "value">;
|
|
@@ -14,7 +14,7 @@ declare function InlineCombobox<TValue, Required extends boolean>({
|
|
|
14
14
|
updateStrategy,
|
|
15
15
|
isRequired,
|
|
16
16
|
...props
|
|
17
|
-
}: InlineComboboxProps<TValue, Required>):
|
|
17
|
+
}: InlineComboboxProps<TValue, Required>): react_jsx_runtime198.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { InlineCombobox, InlineComboboxProps };
|
|
20
20
|
//# sourceMappingURL=combobox.client.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useInlineEditOptions } from "../hooks/use-inline.client.mjs";
|
|
2
2
|
import { InlineEditVariantsProps } from "../lib/variants.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime199 from "react/jsx-runtime";
|
|
4
4
|
import { ComponentProps } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/inline-edit/components/date-input.client.d.ts
|
|
@@ -13,7 +13,7 @@ declare function InlineDateInput<Required extends boolean = false>({
|
|
|
13
13
|
updateStrategy,
|
|
14
14
|
isRequired,
|
|
15
15
|
...props
|
|
16
|
-
}: ComponentProps<"div"> & useInlineEditOptions<Date, Required> & InlineEditVariantsProps):
|
|
16
|
+
}: ComponentProps<"div"> & useInlineEditOptions<Date, Required> & InlineEditVariantsProps): react_jsx_runtime199.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { InlineDateInput };
|
|
19
19
|
//# sourceMappingURL=date-input.client.d.mts.map
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import { cn } from "../../../lib/utils/cn.mjs";
|
|
4
4
|
import { Button } from "../../../components/ui/button.mjs";
|
|
5
|
+
import { Popover, PopoverContent, PopoverTrigger } from "../../../components/ui/popover.mjs";
|
|
5
6
|
import { Input } from "../../../components/ui/input.mjs";
|
|
6
7
|
import { Calendar as Calendar$1 } from "../../../components/ui/calendar.mjs";
|
|
7
|
-
import { Popover, PopoverContent, PopoverTrigger } from "../../../components/ui/popover.mjs";
|
|
8
8
|
import { useInlineEdit } from "../hooks/use-inline.client.mjs";
|
|
9
9
|
import { inlineEditVariants } from "../lib/variants.mjs";
|
|
10
10
|
import { CalendarIcon } from "lucide-react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Button } from "../../../components/ui/button.mjs";
|
|
2
2
|
import { useInlineEditOptions } from "../hooks/use-inline.client.mjs";
|
|
3
3
|
import { InlineEditVariantsProps } from "../lib/variants.mjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime200 from "react/jsx-runtime";
|
|
5
5
|
import { ComponentProps } from "react";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/inline-edit/components/date-picker.client.d.ts
|
|
@@ -16,7 +16,7 @@ declare function InlineDatePicker<Required extends boolean = false>({
|
|
|
16
16
|
updateStrategy,
|
|
17
17
|
isRequired,
|
|
18
18
|
...props
|
|
19
|
-
}: InlineEditDatePickerProps<Required>):
|
|
19
|
+
}: InlineEditDatePickerProps<Required>): react_jsx_runtime200.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { InlineDatePicker };
|
|
22
22
|
//# sourceMappingURL=date-picker.client.d.mts.map
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { cn } from "../../../lib/utils/cn.mjs";
|
|
4
4
|
import { Button } from "../../../components/ui/button.mjs";
|
|
5
5
|
import { formatDate } from "../../../lib/utils/format.mjs";
|
|
6
|
-
import { Calendar as Calendar$1 } from "../../../components/ui/calendar.mjs";
|
|
7
6
|
import { Popover, PopoverContent, PopoverTrigger } from "../../../components/ui/popover.mjs";
|
|
7
|
+
import { Calendar as Calendar$1 } from "../../../components/ui/calendar.mjs";
|
|
8
8
|
import { useInlineEdit } from "../hooks/use-inline.client.mjs";
|
|
9
9
|
import { inlineEditVariants } from "../lib/variants.mjs";
|
|
10
10
|
import { CalendarIcon } from "lucide-react";
|
|
@@ -2,7 +2,7 @@ import { EditorJSONContent } from "../../../components/editor/lib/types.mjs";
|
|
|
2
2
|
import { EditorProps } from "../../../components/editor/components/editor.client.mjs";
|
|
3
3
|
import { useInlineEditOptions } from "../hooks/use-inline.client.mjs";
|
|
4
4
|
import { InlineEditVariantsProps } from "../lib/variants.mjs";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime201 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/inline-edit/components/editor.client.d.ts
|
|
8
8
|
type InlineEditorProps<Required extends boolean = false> = useInlineEditOptions<EditorJSONContent, Required> & InlineEditVariantsProps & Omit<EditorProps, "value" | "onUpdate" | "onBlur" | "variant">;
|
|
@@ -17,7 +17,7 @@ declare function InlineEditor<Required extends boolean = false>({
|
|
|
17
17
|
isRequired,
|
|
18
18
|
className,
|
|
19
19
|
children
|
|
20
|
-
}: InlineEditorProps<Required>):
|
|
20
|
+
}: InlineEditorProps<Required>): react_jsx_runtime201.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { InlineEditor, InlineEditorProps };
|
|
23
23
|
//# sourceMappingURL=editor.client.d.mts.map
|