@tulip-systems/core 0.5.3 → 0.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/client.d.mts +3 -3
- package/dist/auth/client.mjs +2 -2
- package/dist/components/client.d.mts +2 -2
- 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/extensions/file-handler/utils.mjs +1 -1
- package/dist/components/editor/extensions/file-handler/utils.mjs.map +1 -1
- package/dist/components/editor/extensions/image/extension.mjs +0 -1
- package/dist/components/editor/extensions/image/extension.mjs.map +1 -1
- package/dist/components/editor/extensions/skeleton/extension.mjs +1 -1
- package/dist/components/editor/lib/constants.d.mts +29 -29
- package/dist/components/editor/lib/constants.mjs +3 -3
- package/dist/components/editor/lib/extensions.d.mts +3 -3
- package/dist/components/editor/lib/helpers.d.mts.map +1 -1
- package/dist/components/editor/lib/helpers.mjs +38 -3
- package/dist/components/editor/lib/helpers.mjs.map +1 -1
- package/dist/components/header/back-button.client.d.mts +2 -2
- package/dist/components/header/back-button.client.d.mts.map +1 -1
- package/dist/components/header/bottom-bar.client.d.mts +3 -3
- package/dist/components/header/bottom-bar.client.d.mts.map +1 -1
- package/dist/components/header/breadcrumbs.client.d.mts +7 -7
- package/dist/components/header/breadcrumbs.client.d.mts.map +1 -1
- package/dist/components/header/header.client.d.mts +2 -2
- package/dist/components/header/header.client.d.mts.map +1 -1
- package/dist/components/header/mobile-nav-switcher.client.d.mts +2 -2
- package/dist/components/header/mobile-nav-switcher.client.d.mts.map +1 -1
- package/dist/components/header/top-bar.client.d.mts +4 -4
- package/dist/components/header/top-bar.client.d.mts.map +1 -1
- package/dist/components/layouts/admin-content.client.d.mts +2 -2
- package/dist/components/layouts/admin-content.client.d.mts.map +1 -1
- package/dist/components/layouts/admin-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/error-page.d.mts +23 -0
- package/dist/components/layouts/error-page.d.mts.map +1 -0
- package/dist/components/layouts/error-page.mjs +58 -0
- package/dist/components/layouts/error-page.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/not-allowed-page.d.mts +22 -0
- package/dist/components/layouts/not-allowed-page.d.mts.map +1 -0
- package/dist/components/layouts/not-allowed-page.mjs +25 -0
- package/dist/components/layouts/not-allowed-page.mjs.map +1 -0
- package/dist/components/layouts/not-found-page.d.mts +3 -3
- package/dist/components/layouts/not-found-page.d.mts.map +1 -1
- package/dist/components/layouts/providers.client.d.mts +2 -2
- package/dist/components/layouts/providers.client.d.mts.map +1 -1
- package/dist/components/layouts/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/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/navigation/admin-sidebar-paths.client.d.mts +21 -11
- package/dist/components/navigation/admin-sidebar-paths.client.d.mts.map +1 -1
- package/dist/components/navigation/admin-sidebar-paths.client.mjs +7 -5
- package/dist/components/navigation/admin-sidebar-paths.client.mjs.map +1 -1
- package/dist/components/ui/accordion.d.mts +5 -5
- package/dist/components/ui/alert-dialog.d.mts +12 -12
- package/dist/components/ui/alert.d.mts +6 -6
- package/dist/components/ui/aspect-ratio.d.mts +2 -2
- package/dist/components/ui/avatar.client.d.mts +4 -4
- package/dist/components/ui/avatar.client.d.mts.map +1 -1
- package/dist/components/ui/badge.d.mts +4 -4
- package/dist/components/ui/breadcrumb.d.mts +8 -8
- package/dist/components/ui/button.d.mts +4 -4
- package/dist/components/ui/calendar.d.mts +3 -3
- package/dist/components/ui/card.d.mts +7 -7
- package/dist/components/ui/carousel.d.mts +6 -6
- package/dist/components/ui/chart.client.d.mts +5 -5
- package/dist/components/ui/chart.client.d.mts.map +1 -1
- package/dist/components/ui/checkbox.d.mts +2 -2
- package/dist/components/ui/collapsible.client.d.mts +4 -4
- package/dist/components/ui/collapsible.client.d.mts.map +1 -1
- package/dist/components/ui/color-picker.client.d.mts +2 -2
- package/dist/components/ui/color-picker.client.d.mts.map +1 -1
- package/dist/components/ui/combobox-dropdown.client.d.mts +2 -2
- package/dist/components/ui/combobox-dropdown.client.d.mts.map +1 -1
- package/dist/components/ui/combobox.client.d.mts +2 -2
- package/dist/components/ui/combobox.client.d.mts.map +1 -1
- package/dist/components/ui/command.d.mts +10 -10
- package/dist/components/ui/context-menu.d.mts +16 -16
- package/dist/components/ui/date-picker.client.d.mts +2 -2
- package/dist/components/ui/date-picker.client.d.mts.map +1 -1
- package/dist/components/ui/dialog.client.d.mts +11 -11
- package/dist/components/ui/dialog.client.d.mts.map +1 -1
- package/dist/components/ui/drawer.client.d.mts +11 -11
- package/dist/components/ui/dropdown-menu.d.mts +16 -16
- 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/popover.d.mts.map +1 -1
- 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/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/tooltip.client.d.mts +5 -5
- package/dist/components/ui/tooltip.client.d.mts.map +1 -1
- package/dist/components/ui/tooltip.client.mjs +1 -1
- package/dist/components/ui/tooltip.client.mjs.map +1 -1
- package/dist/components.d.mts +3 -1
- package/dist/components.mjs +5 -3
- package/dist/lib/hooks/use-action.d.mts +2 -2
- package/dist/lib/hooks/use-indicator.d.mts +2 -2
- package/dist/modules/auth/components/allowed.client.d.mts +21 -7
- package/dist/modules/auth/components/allowed.client.d.mts.map +1 -1
- package/dist/modules/auth/components/allowed.client.mjs +8 -2
- package/dist/modules/auth/components/allowed.client.mjs.map +1 -1
- package/dist/modules/auth/components/auth-layout.server.d.mts +2 -2
- package/dist/modules/auth/components/auth-layout.server.d.mts.map +1 -1
- package/dist/modules/auth/components/auth-loading.d.mts +2 -2
- package/dist/modules/auth/components/create-first-user-page.client.d.mts +2 -2
- package/dist/modules/auth/components/create-first-user-page.client.d.mts.map +1 -1
- package/dist/modules/auth/components/create-first-user-page.client.mjs +1 -0
- package/dist/modules/auth/components/create-first-user-page.client.mjs.map +1 -1
- package/dist/modules/auth/components/forget-password-page.client.d.mts +2 -2
- package/dist/modules/auth/components/forget-password-page.client.d.mts.map +1 -1
- package/dist/modules/auth/components/guard-first-user.server.d.mts +2 -2
- package/dist/modules/auth/components/guard-first-user.server.d.mts.map +1 -1
- package/dist/modules/auth/components/guard.server.d.mts +2 -2
- package/dist/modules/auth/components/guard.server.d.mts.map +1 -1
- package/dist/modules/auth/components/login-page.client.d.mts +2 -2
- package/dist/modules/auth/components/login-page.client.d.mts.map +1 -1
- package/dist/modules/auth/components/reset-password-page.client.d.mts +2 -2
- package/dist/modules/auth/components/reset-password-page.client.d.mts.map +1 -1
- package/dist/modules/auth/components/update-password-command.d.mts +2 -2
- package/dist/modules/auth/components/update-password-command.d.mts.map +1 -1
- package/dist/modules/auth/db/schema.d.mts +73 -73
- package/dist/modules/auth/db/schema.d.mts.map +1 -1
- package/dist/modules/auth/handler/client.client.d.mts +143 -143
- package/dist/modules/auth/handler/client.client.d.mts.map +1 -1
- package/dist/modules/auth/handler/init.d.mts +131 -131
- package/dist/modules/auth/handler/init.d.mts.map +1 -1
- package/dist/modules/auth/hooks/use-permission.d.mts +48 -4
- package/dist/modules/auth/hooks/use-permission.d.mts.map +1 -1
- package/dist/modules/auth/hooks/use-permission.mjs +51 -4
- package/dist/modules/auth/hooks/use-permission.mjs.map +1 -1
- 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.mjs +1 -1
- package/dist/modules/auth/lib/validators.d.mts +3 -3
- package/dist/modules/auth/lib/validators.d.mts.map +1 -1
- package/dist/modules/auth/lib/validators.mjs +1 -1
- package/dist/modules/auth/lib/validators.mjs.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/dialog-command.client.d.mts +8 -8
- package/dist/modules/commands/components/dialog-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/dropdown-command.client.d.mts +5 -5
- package/dist/modules/commands/components/dropdown-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/empty-command.client.d.mts +2 -2
- package/dist/modules/commands/components/empty-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/form-dialog-command.client.d.mts +11 -11
- package/dist/modules/commands/components/form-dialog-command.client.d.mts.map +1 -1
- package/dist/modules/commands/hooks/use-command-menu.client.d.mts.map +1 -1
- package/dist/modules/commands/hooks/use-command-menu.client.mjs +0 -5
- package/dist/modules/commands/hooks/use-command-menu.client.mjs.map +1 -1
- package/dist/modules/commands/hooks/use-command-mutation.client.d.mts +2 -2
- package/dist/modules/commands/menus/context-menu.client.d.mts +2 -2
- package/dist/modules/commands/menus/context-menu.client.d.mts.map +1 -1
- package/dist/modules/commands/menus/dropdown-menu.client.d.mts +3 -3
- package/dist/modules/commands/menus/dropdown-menu.client.d.mts.map +1 -1
- package/dist/modules/commands/menus/inline-menu.client.d.mts +3 -3
- package/dist/modules/commands/menus/inline-menu.client.d.mts.map +1 -1
- package/dist/modules/commands/menus/responsive-menu.client.d.mts +3 -3
- package/dist/modules/commands/menus/responsive-menu.client.d.mts.map +1 -1
- package/dist/modules/commands/utils/archive-command.client.d.mts +3 -3
- package/dist/modules/commands/utils/archive-command.client.d.mts.map +1 -1
- package/dist/modules/commands/utils/delete-command.client.d.mts +3 -3
- package/dist/modules/commands/utils/delete-command.client.d.mts.map +1 -1
- package/dist/modules/config/db/helpers.d.mts +5 -5
- package/dist/modules/config/db/helpers.d.mts.map +1 -1
- package/dist/modules/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/slider.client.d.mts +2 -2
- 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/tables/data-table/components/table.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.mts +3 -3
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/table.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/combobox.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/combobox.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/date-input.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/date-input.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/date-picker.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/date-picker.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/editor.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/editor.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/input-recipient.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/input-recipient.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/input-toggle.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/input-toggle.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/input.client.d.mts +4 -4
- package/dist/modules/inline-edit/components/input.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/select.client.d.mts +6 -6
- package/dist/modules/inline-edit/components/switch.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/toggle.client.d.mts +2 -2
- package/dist/modules/inline-edit/lib/variants.d.mts +1 -1
- package/dist/modules/router/handler/init.server.d.mts +6 -6
- package/dist/modules/router/handler/init.server.d.mts.map +1 -1
- package/dist/modules/router/handler/init.server.mjs +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/dropzone.client.mjs +1 -1
- package/dist/modules/storage/components/image-grid.client.d.mts +3 -3
- package/dist/modules/storage/components/image-grid.client.d.mts.map +1 -1
- package/dist/modules/storage/components/image-grid.client.mjs +1 -1
- package/dist/modules/storage/components/upload-zone.client.d.mts +2 -2
- package/dist/modules/storage/components/upload-zone.client.d.mts.map +1 -1
- package/dist/modules/storage/lib/create-upload.client.d.mts.map +1 -1
- package/dist/modules/storage/lib/router.server.d.mts +2346 -2346
- package/dist/modules/storage/lib/router.server.d.mts.map +1 -1
- package/dist/modules/storage/lib/router.server.mjs +1 -1
- package/dist/modules/storage/lib/schema.d.mts +92 -92
- package/dist/modules/storage/lib/schema.d.mts.map +1 -1
- package/dist/modules/storage/lib/schema.mjs +1 -1
- package/dist/modules/storage/lib/service.server.d.mts +21 -21
- package/dist/modules/storage/lib/service.server.mjs +2 -2
- package/dist/modules/storage/lib/validators.d.mts +91 -91
- package/dist/modules/storage/lib/validators.d.mts.map +1 -1
- package/dist/router/server.mjs +1 -1
- package/package.json +1 -1
- package/src/components/editor/extensions/file-handler/utils.ts +1 -1
- package/src/components/editor/extensions/image/extension.ts +0 -2
- package/src/components/editor/lib/helpers.ts +39 -3
- package/src/components/entry.ts +2 -0
- package/src/components/layouts/error-page.tsx +61 -0
- package/src/components/layouts/not-allowed-page.tsx +1 -1
- package/src/components/navigation/admin-sidebar-paths.client.tsx +18 -2
- package/src/components/ui/tooltip.client.tsx +1 -1
- package/src/modules/auth/components/allowed.client.tsx +35 -7
- package/src/modules/auth/components/create-first-user-page.client.tsx +4 -0
- package/src/modules/auth/hooks/use-permission.ts +88 -2
- package/src/modules/auth/lib/validators.ts +1 -1
- package/src/modules/commands/hooks/use-command-menu.client.tsx +4 -7
- package/dist/modules/auth/lib/utils.mjs +0 -21
- package/dist/modules/auth/lib/utils.mjs.map +0 -1
- package/src/modules/inline-edit/hooks/use-inline.client copy.tsx +0 -97
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime344 from "react/jsx-runtime";
|
|
2
2
|
import React, { ComponentProps } from "react";
|
|
3
3
|
import { DefaultError, MutationOptions } from "@tanstack/react-query";
|
|
4
4
|
import { FieldValues, Form } from "react-hook-form";
|
|
@@ -12,7 +12,7 @@ import { Keys } from "react-hotkeys-hook";
|
|
|
12
12
|
declare function CommandFormDialog({
|
|
13
13
|
children,
|
|
14
14
|
...props
|
|
15
|
-
}: DialogProps):
|
|
15
|
+
}: DialogProps): react_jsx_runtime344.JSX.Element;
|
|
16
16
|
/**
|
|
17
17
|
* CommandFormDialogTrigger
|
|
18
18
|
*/
|
|
@@ -29,28 +29,28 @@ declare function CommandFormDialogTrigger({
|
|
|
29
29
|
children,
|
|
30
30
|
disabled,
|
|
31
31
|
...props
|
|
32
|
-
}: CommandFormDialogTriggerProps):
|
|
32
|
+
}: CommandFormDialogTriggerProps): react_jsx_runtime344.JSX.Element | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* CommandFormDialogHeader
|
|
35
35
|
*/
|
|
36
36
|
declare function CommandFormDialogHeader({
|
|
37
37
|
children,
|
|
38
38
|
...props
|
|
39
|
-
}: React.HTMLAttributes<HTMLElement>):
|
|
39
|
+
}: React.HTMLAttributes<HTMLElement>): react_jsx_runtime344.JSX.Element;
|
|
40
40
|
/**
|
|
41
41
|
* CommandFormDialogTitle
|
|
42
42
|
*/
|
|
43
43
|
declare function CommandFormDialogTitle({
|
|
44
44
|
children,
|
|
45
45
|
...props
|
|
46
|
-
}: React.HTMLAttributes<HTMLElement>):
|
|
46
|
+
}: React.HTMLAttributes<HTMLElement>): react_jsx_runtime344.JSX.Element;
|
|
47
47
|
/**
|
|
48
48
|
* CommandFormDialogDescription
|
|
49
49
|
*/
|
|
50
50
|
declare function CommandFormDialogDescription({
|
|
51
51
|
children,
|
|
52
52
|
...props
|
|
53
|
-
}: React.HTMLAttributes<HTMLElement>):
|
|
53
|
+
}: React.HTMLAttributes<HTMLElement>): react_jsx_runtime344.JSX.Element;
|
|
54
54
|
declare const CommandFormDialogContentProvider: typeof Form;
|
|
55
55
|
/**
|
|
56
56
|
* CommandFormDialogContent
|
|
@@ -65,7 +65,7 @@ declare function CommandFormDialogContent<TValues extends FieldValues, TData = u
|
|
|
65
65
|
mutation,
|
|
66
66
|
children,
|
|
67
67
|
...props
|
|
68
|
-
}: CommandFormDialogContentProps<TValues, TData, TError, TVariables, TOnMutateResult>):
|
|
68
|
+
}: CommandFormDialogContentProps<TValues, TData, TError, TVariables, TOnMutateResult>): react_jsx_runtime344.JSX.Element;
|
|
69
69
|
/**
|
|
70
70
|
* FormDialogFields
|
|
71
71
|
*/
|
|
@@ -73,28 +73,28 @@ declare function CommandFormDialogFields({
|
|
|
73
73
|
children,
|
|
74
74
|
className,
|
|
75
75
|
...props
|
|
76
|
-
}: ComponentProps<"div">):
|
|
76
|
+
}: ComponentProps<"div">): react_jsx_runtime344.JSX.Element;
|
|
77
77
|
/**
|
|
78
78
|
* CommandFormDialogFooter
|
|
79
79
|
*/
|
|
80
80
|
declare function CommandFormDialogFooter({
|
|
81
81
|
children,
|
|
82
82
|
...props
|
|
83
|
-
}: React.HTMLAttributes<HTMLElement>):
|
|
83
|
+
}: React.HTMLAttributes<HTMLElement>): react_jsx_runtime344.JSX.Element;
|
|
84
84
|
/**
|
|
85
85
|
* CommandFormDialogCancel
|
|
86
86
|
*/
|
|
87
87
|
declare function CommandFormDialogCancel({
|
|
88
88
|
children,
|
|
89
89
|
...props
|
|
90
|
-
}: React.HTMLAttributes<HTMLElement>):
|
|
90
|
+
}: React.HTMLAttributes<HTMLElement>): react_jsx_runtime344.JSX.Element;
|
|
91
91
|
/**
|
|
92
92
|
* CommandFormDialogSubmit
|
|
93
93
|
*/
|
|
94
94
|
declare function CommandFormDialogSubmit({
|
|
95
95
|
children,
|
|
96
96
|
...props
|
|
97
|
-
}: React.HTMLAttributes<HTMLElement>):
|
|
97
|
+
}: React.HTMLAttributes<HTMLElement>): react_jsx_runtime344.JSX.Element;
|
|
98
98
|
//#endregion
|
|
99
99
|
export { CommandFormDialog, CommandFormDialogCancel, CommandFormDialogContent, CommandFormDialogContentProps, CommandFormDialogContentProvider, CommandFormDialogDescription, CommandFormDialogFields, CommandFormDialogFooter, CommandFormDialogHeader, CommandFormDialogSubmit, CommandFormDialogTitle, CommandFormDialogTrigger };
|
|
100
100
|
//# sourceMappingURL=form-dialog-command.client.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-dialog-command.client.d.mts","names":[],"sources":["../../../../src/modules/commands/components/form-dialog-command.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;AAsCgB,iBAAA,iBAAA,CAAiB;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAAyB,WAAzB,CAAA,EAAoC,
|
|
1
|
+
{"version":3,"file":"form-dialog-command.client.d.mts","names":[],"sources":["../../../../src/modules/commands/components/form-dialog-command.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;AAsCgB,iBAAA,iBAAA,CAAiB;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAAyB,WAAzB,CAAA,EAAoC,oBAAA,CAAA,GAAA,CAAA,OAApC;;;;KAe5B,6BAAA,GAfgE;EAehE,QAAA,EACO,KAAA,CAAM,SADb;EAQW,SAAA,CAAA,EAAA,MAAA;EACd,KAAA,CAAA,EAAA,MAAA;EACA,QAAA,CAAA,EAAA,OAAA;EACA,MAAA,CAAA,EANS,IAMT;CACA;AAEC,iBANa,wBAAA,CAMb;EAAA,KAAA;EAAA,MAAA;EAAA,QAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAAA,6BAAA,CAAA,EAA6B,oBAAA,CAAA,GAAA,CAAA,OAAA,GAA7B,SAAA;;;AAgEH;AAA0C,iBAA1B,uBAAA,CAA0B;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAAsB,KAAA,CAAM,cAA5B,CAA2C,WAA3C,CAAA,CAAA,EAAuD,oBAAA,CAAA,GAAA,CAAA,OAAvD;;;;AAAuD,iBAOjF,sBAAA,CAPiF;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAOlC,KAAA,CAAM,cAP4B,CAOb,WAPa,CAAA,CAAA,EAOD,oBAAA,CAAA,GAAA,CAAA,OAPC;AAOjG;;;AAAqE,iBAOrD,4BAAA,CAPqD;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAUlE,KAAA,CAAM,cAV4D,CAU7C,WAV6C,CAAA,CAAA,EAUjC,oBAAA,CAAA,GAAA,CAAA,OAViC;AAA2B,cAcnF,gCAdmF,EAAA,OAcnD,IAdmD;;AAOhG;;AAGwB,KASZ,6BATY,CAAA,gBAUN,WAVM,EAAA,QAAA,OAAA,EAAA,SAYb,YAZa,EAAA,aAAA,SAAA,EAAA,kBAAA,OAAA,CAAA,GAepB,kBAfoB,GAAA;EAArB,SAAM,EAAA,CAAA,MAAA,EAgBa,OAhBb,EAAA,GAgByB,UAhBzB;EAA2B,QAAA,CAAA,EAiBvB,eAjBuB,CAiBP,KAjBO,EAiBA,MAjBA,EAiBQ,UAjBR,EAiBoB,eAjBpB,CAAA;EAAA,QAAA,EAkBxB,KAAA,CAAM,SAlBkB;AAIpC,CAAA;AAKY,iBAkBI,wBAlByB,CAAA,gBAmBvB,WAnBuB,EAAA,QAAA,OAAA,EAAA,SAqB9B,YArB8B,EAAA,aAAA,SAAA,EAAA,kBAAA,OAAA,CAAA,CAAA;EAAA,SAAA;EAAA,QAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EA6BtC,6BA7BsC,CA6BR,OA7BQ,EA6BC,KA7BD,EA6BQ,MA7BR,EA6BgB,UA7BhB,EA6B4B,eA7B5B,CAAA,CAAA,EA6B4C,oBAAA,CAAA,GAAA,CAAA,OA7B5C;;;;AAOnB,iBAyDN,uBAAA,CAzDM;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyDqD,cAzDrD,CAAA,KAAA,CAAA,CAAA,EAyD0E,oBAAA,CAAA,GAAA,CAAA,OAzD1E;;;;AACsB,iBAmE5B,uBAAA,CAnE4B;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAmEoB,KAAA,CAAM,cAnE1B,CAmEyC,WAnEzC,CAAA,CAAA,EAmEqD,oBAAA,CAAA,GAAA,CAAA,OAnErD;;;;AACjB,iBAyEX,uBAAA,CAzEW;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAyEqC,KAAA,CAAM,cAzE3C,CAyE0D,WAzE1D,CAAA,CAAA,EAyEsE,oBAAA,CAAA,GAAA,CAAA,OAzEtE;AAS3B;;;AAOE,iBA+Ec,uBAAA,CA/Ed;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EA+E8D,KAAA,CAAM,cA/EpE,CA+EmF,WA/EnF,CAAA,CAAA,EA+E+F,oBAAA,CAAA,GAAA,CAAA,OA/E/F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-command-menu.client.d.mts","names":[],"sources":["../../../../src/modules/commands/hooks/use-command-menu.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"use-command-menu.client.d.mts","names":[],"sources":["../../../../src/modules/commands/hooks/use-command-menu.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;KAWY;QACJ;EADI,QAAA,EAEA,UAFA,CAEW,KAFW,EAEJ,KAFI,CAAA,EAAA;EAC1B,IAAA,CAAA,EAEC,KAFD;CACe"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import { mergePermissions } from "../../auth/lib/utils.mjs";
|
|
4
|
-
import { usePermission } from "../../auth/hooks/use-permission.mjs";
|
|
5
|
-
|
|
6
3
|
//#region src/modules/commands/hooks/use-command-menu.client.tsx
|
|
7
4
|
/**
|
|
8
5
|
* Check if a command has an id field in the data
|
|
@@ -37,7 +34,6 @@ function renderBulkCommand({ data, command, meta }) {
|
|
|
37
34
|
* useSingleCommandMenu
|
|
38
35
|
*/
|
|
39
36
|
function useSingleCommandMenu({ data, commands, meta }) {
|
|
40
|
-
usePermission(mergePermissions(commands.map((command) => command.permission).filter(Boolean)));
|
|
41
37
|
const validCommands = commands.filter((command) => command.mode === "single" ? validateSingleCommand({
|
|
42
38
|
data,
|
|
43
39
|
command
|
|
@@ -62,7 +58,6 @@ function useSingleCommandMenu({ data, commands, meta }) {
|
|
|
62
58
|
* useBulkCommandMenu
|
|
63
59
|
*/
|
|
64
60
|
function useBulkCommandMenu({ data, commands, meta }) {
|
|
65
|
-
usePermission(mergePermissions(commands.map((command) => command.permission).filter(Boolean)));
|
|
66
61
|
/**
|
|
67
62
|
* Filter out commands that don't have valid conditions
|
|
68
63
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-command-menu.client.mjs","names":["data"],"sources":["../../../../src/modules/commands/hooks/use-command-menu.client.tsx"],"sourcesContent":["\"use client\";\n\nimport {
|
|
1
|
+
{"version":3,"file":"use-command-menu.client.mjs","names":["data"],"sources":["../../../../src/modules/commands/hooks/use-command-menu.client.tsx"],"sourcesContent":["\"use client\";\n\nimport {\n type BulkCommandDefRenderParams,\n type CommandDef,\n type SingleCommandDefRenderParams,\n} from \"../lib/definitions\";\n\n/**\n * Command menu props\n */\nexport type SingleCommandMenuProps<TData, TMeta> = {\n data: TData;\n commands: CommandDef<TData, TMeta>[];\n meta?: TMeta;\n};\n\nexport type BulkCommandMenuProps<TData, TMeta> = {\n data: TData[];\n commands: CommandDef<TData, TMeta>[];\n meta?: TMeta;\n};\n\n/**\n * Check if a command has an id field in the data\n */\nfunction dataHasId<TData>(data: TData) {\n return data && typeof data === \"object\" && \"id\" in data && typeof data.id === \"string\";\n}\n\n/**\n * Single command validation\n */\ntype ValidateSingleCommandParams<TData, TMeta> = {\n data: TData;\n command: CommandDef<TData, TMeta> & { mode: \"single\" };\n};\n\nfunction validateSingleCommand<TData, TMeta>({\n data,\n command,\n}: ValidateSingleCommandParams<TData, TMeta>) {\n const valid = command.conditions?.({ data });\n return Array.isArray(valid) ? valid.every(Boolean) : (valid ?? true);\n}\n\n/**\n * Single command rendering\n */\ntype RenderSingleCommandParams<TData, TMeta> = {\n data: TData;\n meta?: TMeta;\n command: CommandDef<TData, TMeta> & { mode: \"single\" };\n};\n\nfunction renderSingleCommand<TData, TMeta>({\n data,\n command,\n meta,\n}: RenderSingleCommandParams<TData, TMeta>) {\n return command.render({\n data,\n meta: meta ?? ({} as TMeta),\n ...(dataHasId(data) ? { id: (data as TData & { id: string }).id } : {}),\n } as SingleCommandDefRenderParams<TData, TMeta>);\n}\n\n/**\n * Bulk command validation\n */\ntype ValidateBulkCommandParams<TData, TMeta> = {\n data: TData[];\n command: CommandDef<TData, TMeta> & { mode: \"bulk\" };\n};\n\nfunction validateBulkCommand<TData, TMeta>({\n data,\n command,\n}: ValidateBulkCommandParams<TData, TMeta>) {\n const valid = command.conditions?.({ data });\n return Array.isArray(valid) ? valid.every(Boolean) : (valid ?? true);\n}\n\n/**\n * Bulk command rendering\n */\ntype RenderBulkCommandParams<TData, TMeta> = {\n data: TData[];\n command: CommandDef<TData, TMeta> & { mode: \"bulk\" };\n meta?: TMeta;\n};\n\nfunction renderBulkCommand<TData, TMeta>({\n data,\n command,\n meta,\n}: RenderBulkCommandParams<TData, TMeta>) {\n const ids = data.filter(dataHasId).map((data) => (data as TData & { id: string }).id);\n\n return command.render({\n data,\n meta: meta ?? ({} as TMeta),\n ...(ids.length > 0 ? { ids } : {}),\n } as BulkCommandDefRenderParams<TData, TMeta>);\n}\n\n/**\n * useSingleCommandMenu\n */\nexport function useSingleCommandMenu<TData, TMeta>({\n data,\n commands,\n meta,\n}: SingleCommandMenuProps<TData, TMeta> & { data: TData }) {\n // const permissions = commands.map((command) => command.permission).filter(Boolean) as Permission[];\n // usePermission(mergePermissions(permissions));\n\n // filter out commands that don't have valid conditions\n const validCommands = commands.filter((command) =>\n command.mode === \"single\"\n ? validateSingleCommand({ data, command })\n : validateBulkCommand({ data: [data], command }),\n );\n\n function renderCommand(command: (typeof validCommands)[number]) {\n return command.mode === \"single\"\n ? renderSingleCommand({ command, data, meta })\n : renderBulkCommand({ command, data: [data], meta });\n }\n\n return [validCommands, renderCommand] as const;\n}\n\n/**\n * useBulkCommandMenu\n */\nexport function useBulkCommandMenu<TData, TMeta>({\n data,\n commands,\n meta,\n}: BulkCommandMenuProps<TData, TMeta>) {\n // const permissions = commands.map((command) => command.permission).filter(Boolean) as Permission[];\n // usePermission(mergePermissions(permissions));\n\n /**\n * Filter out commands that don't have valid conditions\n */\n const validCommands = commands\n // filter out commands that have mode \"bulk\"\n .filter((command) => command.mode === \"bulk\")\n // filter out commands that don't have valid conditions\n .filter((command) => command.mode === \"bulk\" && validateBulkCommand({ data, command }));\n\n /**\n * Render command\n */\n function renderCommand(command: (typeof commands)[number]) {\n if (command.mode === \"single\") return null;\n\n return renderBulkCommand({ command, data, meta });\n }\n\n return [validCommands, renderCommand] as const;\n}\n\n// export function useBulkCommandMenu<TData, TMeta>({\n// data,\n// commands,\n// meta,\n// }: BulkCommandMenuProps<TData, TMeta>) {\n// /**\n// * Filter out commands that don't have valid conditions\n// */\n// const validCommands = useSuspenseQueries({\n// queries: commands.flatMap((command) => ({\n// queryKey: [\"command\", command],\n// queryFn: async () => {\n// const { mode, permission } = command;\n\n// // filter out commands that have mode \"bulk\"\n// if (mode !== \"bulk\") return null;\n\n// // filter out commands that don't have valid conditions\n// if (!validateBulkCommand({ data, command })) return null;\n\n// // filter out commands that don't have a permissions defined\n// if (!permission) return command;\n\n// // filter out commands that don't have valid permissions\n// const session = await authClient.getSession();\n// const userId = session.data?.user.id;\n// const hasPermission = await authClient.admin.hasPermission({ permission, userId });\n// if (!hasPermission.data?.success) return null;\n\n// return command;\n// },\n// })),\n// combine: (items) =>\n// items.filter(({ data }) => data).map(({ data }) => data as NonNullable<typeof data>),\n// });\n\n// /**\n// * Render command\n// */\n// const renderCommand = (command: (typeof validCommands)[number]) =>\n// renderBulkCommand({ command, data, meta });\n\n// return [validCommands, renderCommand] as const;\n// }\n\n// */\n// export function useSingleCommandMenu<TData, TMeta>({\n// data,\n// commands,\n// meta,\n// }: SingleCommandMenuProps<TData, TMeta> & { data: TData }) {\n// /**\n// * Filter out commands that don't have valid conditions\n// */\n// const validCommands = useSuspenseQueries({\n// queries: commands.flatMap((command) => ({\n// queryKey: [\"command\", command],\n// queryFn: async () => {\n// const { mode, permission } = command;\n\n// // filter out commands that don't have valid conditions\n// if (mode === \"single\" && !validateSingleCommand({ data, command })) return null;\n// if (mode === \"bulk\" && !validateBulkCommand({ data: [data], command })) return null;\n\n// // filter out commands that don't have a permissions defined\n// if (!permission) return command;\n\n// // filter out commands that don't have valid permissions\n// const session = await authClient.getSession();\n// const userId = session.data?.user.id;\n// const hasPermission = await authClient.admin.hasPermission({ permission, userId });\n// if (!hasPermission.data?.success) return null;\n\n// return command;\n// },\n// })),\n// combine: (items) =>\n// items.filter(({ data }) => data).map(({ data }) => data as NonNullable<typeof data>),\n// });\n\n// /**\n// * Render command\n// */\n// function renderCommand(command: (typeof validCommands)[number]) {\n// return command.mode === \"single\"\n// ? renderSingleCommand({ command, data, meta })\n// : renderBulkCommand({ command, data: [data], meta });\n// }\n\n// return [validCommands, renderCommand] as const;\n// }\n"],"mappings":";;;;;;AA0BA,SAAS,UAAiB,MAAa;AACrC,QAAO,QAAQ,OAAO,SAAS,YAAY,QAAQ,QAAQ,OAAO,KAAK,OAAO;;AAWhF,SAAS,sBAAoC,EAC3C,MACA,WAC4C;CAC5C,MAAM,QAAQ,QAAQ,aAAa,EAAE,MAAM,CAAC;AAC5C,QAAO,MAAM,QAAQ,MAAM,GAAG,MAAM,MAAM,QAAQ,GAAI,SAAS;;AAYjE,SAAS,oBAAkC,EACzC,MACA,SACA,QAC0C;AAC1C,QAAO,QAAQ,OAAO;EACpB;EACA,MAAM,QAAS,EAAE;EACjB,GAAI,UAAU,KAAK,GAAG,EAAE,IAAK,KAAgC,IAAI,GAAG,EAAE;EACvE,CAA+C;;AAWlD,SAAS,oBAAkC,EACzC,MACA,WAC0C;CAC1C,MAAM,QAAQ,QAAQ,aAAa,EAAE,MAAM,CAAC;AAC5C,QAAO,MAAM,QAAQ,MAAM,GAAG,MAAM,MAAM,QAAQ,GAAI,SAAS;;AAYjE,SAAS,kBAAgC,EACvC,MACA,SACA,QACwC;CACxC,MAAM,MAAM,KAAK,OAAO,UAAU,CAAC,KAAK,WAAUA,OAAgC,GAAG;AAErF,QAAO,QAAQ,OAAO;EACpB;EACA,MAAM,QAAS,EAAE;EACjB,GAAI,IAAI,SAAS,IAAI,EAAE,KAAK,GAAG,EAAE;EAClC,CAA6C;;;;;AAMhD,SAAgB,qBAAmC,EACjD,MACA,UACA,QACyD;CAKzD,MAAM,gBAAgB,SAAS,QAAQ,YACrC,QAAQ,SAAS,WACb,sBAAsB;EAAE;EAAM;EAAS,CAAC,GACxC,oBAAoB;EAAE,MAAM,CAAC,KAAK;EAAE;EAAS,CAAC,CACnD;CAED,SAAS,cAAc,SAAyC;AAC9D,SAAO,QAAQ,SAAS,WACpB,oBAAoB;GAAE;GAAS;GAAM;GAAM,CAAC,GAC5C,kBAAkB;GAAE;GAAS,MAAM,CAAC,KAAK;GAAE;GAAM,CAAC;;AAGxD,QAAO,CAAC,eAAe,cAAc;;;;;AAMvC,SAAgB,mBAAiC,EAC/C,MACA,UACA,QACqC;;;;CAOrC,MAAM,gBAAgB,SAEnB,QAAQ,YAAY,QAAQ,SAAS,OAAO,CAE5C,QAAQ,YAAY,QAAQ,SAAS,UAAU,oBAAoB;EAAE;EAAM;EAAS,CAAC,CAAC;;;;CAKzF,SAAS,cAAc,SAAoC;AACzD,MAAI,QAAQ,SAAS,SAAU,QAAO;AAEtC,SAAO,kBAAkB;GAAE;GAAS;GAAM;GAAM,CAAC;;AAGnD,QAAO,CAAC,eAAe,cAAc"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _tanstack_react_query6 from "@tanstack/react-query";
|
|
2
2
|
import { DefaultError, MutationOptions } from "@tanstack/react-query";
|
|
3
3
|
import { useRouter } from "next/navigation";
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@ type BulkCommandAction = (params: {
|
|
|
11
11
|
type CommandMutationMeta = {
|
|
12
12
|
router: ReturnType<typeof useRouter>;
|
|
13
13
|
};
|
|
14
|
-
declare function useCommandMutation<TData = unknown, TError = DefaultError, TVariables = void, TOnMutateResult = unknown>(options?: MutationOptions<TData, TError, TVariables, TOnMutateResult>):
|
|
14
|
+
declare function useCommandMutation<TData = unknown, TError = DefaultError, TVariables = void, TOnMutateResult = unknown>(options?: MutationOptions<TData, TError, TVariables, TOnMutateResult>): _tanstack_react_query6.UseMutationResult<TData, TError, TVariables, TOnMutateResult>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { BulkCommandAction, CommandAction, CommandActionResult, CommandMutationMeta, useCommandMutation };
|
|
17
17
|
//# sourceMappingURL=use-command-mutation.client.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ContextMenu, ContextMenuTrigger } from "../../../components/ui/context-menu.mjs";
|
|
2
2
|
import { SingleCommandMenuProps } from "../hooks/use-command-menu.client.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime338 from "react/jsx-runtime";
|
|
4
4
|
import { ContextMenuContentProps } from "@radix-ui/react-context-menu";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/commands/menus/context-menu.client.d.ts
|
|
@@ -21,7 +21,7 @@ declare function ContextCommandMenuContent<TData, TMeta>({
|
|
|
21
21
|
meta,
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: SingleCommandMenuProps<TData, TMeta> & ContextMenuContentProps):
|
|
24
|
+
}: SingleCommandMenuProps<TData, TMeta> & ContextMenuContentProps): react_jsx_runtime338.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { ContextCommandMenu, ContextCommandMenuContent, ContextCommandMenuTrigger };
|
|
27
27
|
//# sourceMappingURL=context-menu.client.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-menu.client.d.mts","names":[],"sources":["../../../../src/modules/commands/menus/context-menu.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAkBa,cAAA,kBAAkB,EAAA,OAAA,WAAc;AAK7C;AAKA;;AAEE,cAPW,yBAOX,EAAA,OAPoC,kBAOpC;;;;AAI+B,iBANjB,yBAMiB,CAAA,KAAA,EAAA,KAAA,CAAA,CAAA;EAAA,IAAA;EAAA,QAAA;EAAA,IAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAA9B,sBAA8B,CAAP,KAAO,EAAA,KAAA,CAAA,GAAS,uBAAT,CAAA,EAAgC,
|
|
1
|
+
{"version":3,"file":"context-menu.client.d.mts","names":[],"sources":["../../../../src/modules/commands/menus/context-menu.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAkBa,cAAA,kBAAkB,EAAA,OAAA,WAAc;AAK7C;AAKA;;AAEE,cAPW,yBAOX,EAAA,OAPoC,kBAOpC;;;;AAI+B,iBANjB,yBAMiB,CAAA,KAAA,EAAA,KAAA,CAAA,CAAA;EAAA,IAAA;EAAA,QAAA;EAAA,IAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAA9B,sBAA8B,CAAP,KAAO,EAAA,KAAA,CAAA,GAAS,uBAAT,CAAA,EAAgC,oBAAA,CAAA,GAAA,CAAA,OAAhC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SingleCommandMenuProps } from "../hooks/use-command-menu.client.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime356 from "react/jsx-runtime";
|
|
3
3
|
import React, { ComponentProps } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/commands/menus/dropdown-menu.client.d.ts
|
|
@@ -9,11 +9,11 @@ declare function DropdownCommandMenu<TData, TMeta>({
|
|
|
9
9
|
meta,
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: SingleCommandMenuProps<TData, TMeta> & React.HTMLAttributes<HTMLElement>):
|
|
12
|
+
}: SingleCommandMenuProps<TData, TMeta> & React.HTMLAttributes<HTMLElement>): react_jsx_runtime356.JSX.Element | null;
|
|
13
13
|
declare function DropdownCommandMenuLoading({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: ComponentProps<"div">):
|
|
16
|
+
}: ComponentProps<"div">): react_jsx_runtime356.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { DropdownCommandMenu, DropdownCommandMenuLoading };
|
|
19
19
|
//# sourceMappingURL=dropdown-menu.client.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.client.d.mts","names":[],"sources":["../../../../src/modules/commands/menus/dropdown-menu.client.tsx"],"sourcesContent":[],"mappings":";;;;;iBAgBgB;;;;;;GAMb,uBAAuB,OAAO,SAAS,KAAA,CAAM,eAAe,eAAY,
|
|
1
|
+
{"version":3,"file":"dropdown-menu.client.d.mts","names":[],"sources":["../../../../src/modules/commands/menus/dropdown-menu.client.tsx"],"sourcesContent":[],"mappings":";;;;;iBAgBgB;;;;;;GAMb,uBAAuB,OAAO,SAAS,KAAA,CAAM,eAAe,eAAY,oBAAA,CAAA,GAAA,CAAA,OAAA;iBA8B3D,0BAAA;;;GAAoD,wBAAqB,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SingleCommandMenuProps } from "../hooks/use-command-menu.client.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime358 from "react/jsx-runtime";
|
|
3
3
|
import React, { ComponentProps } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/commands/menus/inline-menu.client.d.ts
|
|
@@ -10,11 +10,11 @@ declare function InlineCommandMenu<TData, TMeta>({
|
|
|
10
10
|
commands,
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: InlineCommandMenuProps<TData, TMeta>):
|
|
13
|
+
}: InlineCommandMenuProps<TData, TMeta>): react_jsx_runtime358.JSX.Element | null;
|
|
14
14
|
declare function InlineCommandMenuLoading({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: ComponentProps<"div">):
|
|
17
|
+
}: ComponentProps<"div">): react_jsx_runtime358.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { InlineCommandMenu, InlineCommandMenuLoading, InlineCommandMenuProps };
|
|
20
20
|
//# sourceMappingURL=inline-menu.client.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-menu.client.d.mts","names":[],"sources":["../../../../src/modules/commands/menus/inline-menu.client.tsx"],"sourcesContent":[],"mappings":";;;;;KASY,uCAAuC,uBAAuB,OAAO,SAC/E,KAAA,CAAM,eAAe;iBAEP;;;;;;GAMb,uBAAuB,OAAO,SAAM,
|
|
1
|
+
{"version":3,"file":"inline-menu.client.d.mts","names":[],"sources":["../../../../src/modules/commands/menus/inline-menu.client.tsx"],"sourcesContent":[],"mappings":";;;;;KASY,uCAAuC,uBAAuB,OAAO,SAC/E,KAAA,CAAM,eAAe;iBAEP;;;;;;GAMb,uBAAuB,OAAO,SAAM,oBAAA,CAAA,GAAA,CAAA,OAAA;iBAkBvB,wBAAA;;;GAAkD,wBAAqB,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SingleCommandMenuProps } from "../hooks/use-command-menu.client.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime354 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/commands/menus/responsive-menu.client.d.ts
|
|
5
5
|
type ResponsiveCommandMenuProps<TData, TMeta> = SingleCommandMenuProps<TData, TMeta>;
|
|
6
|
-
declare function ResponsiveCommandMenu<TData, TMeta>(props: ResponsiveCommandMenuProps<TData, TMeta>):
|
|
7
|
-
declare function ResponsiveCommandMenuLoading():
|
|
6
|
+
declare function ResponsiveCommandMenu<TData, TMeta>(props: ResponsiveCommandMenuProps<TData, TMeta>): react_jsx_runtime354.JSX.Element;
|
|
7
|
+
declare function ResponsiveCommandMenuLoading(): react_jsx_runtime354.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ResponsiveCommandMenu, ResponsiveCommandMenuLoading };
|
|
10
10
|
//# sourceMappingURL=responsive-menu.client.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responsive-menu.client.d.mts","names":[],"sources":["../../../../src/modules/commands/menus/responsive-menu.client.tsx"],"sourcesContent":[],"mappings":";;;;KAMK,2CAA2C,uBAAuB,OAAO;iBAE9D,2CACP,2BAA2B,OAAO,SAAM,
|
|
1
|
+
{"version":3,"file":"responsive-menu.client.d.mts","names":[],"sources":["../../../../src/modules/commands/menus/responsive-menu.client.tsx"],"sourcesContent":[],"mappings":";;;;KAMK,2CAA2C,uBAAuB,OAAO;iBAE9D,2CACP,2BAA2B,OAAO,SAAM,oBAAA,CAAA,GAAA,CAAA;iBAUjC,4BAAA,CAAA,GAA4B,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime360 from "react/jsx-runtime";
|
|
2
2
|
import { DefaultError, MutationOptions } from "@tanstack/react-query";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/commands/utils/archive-command.client.d.ts
|
|
@@ -17,7 +17,7 @@ declare function ArchiveCommand<TData = unknown, TError = DefaultError, TVariabl
|
|
|
17
17
|
}, TOnMutateResult = unknown>({
|
|
18
18
|
variables,
|
|
19
19
|
mutation
|
|
20
|
-
}: ArchiveCommandProps<TData, TError, TVariables, TOnMutateResult>):
|
|
20
|
+
}: ArchiveCommandProps<TData, TError, TVariables, TOnMutateResult>): react_jsx_runtime360.JSX.Element;
|
|
21
21
|
/**
|
|
22
22
|
* Unarchive command
|
|
23
23
|
* @description command to unarchive a resource
|
|
@@ -27,7 +27,7 @@ declare function RestoreCommand<TData = unknown, TError = DefaultError, TVariabl
|
|
|
27
27
|
}, TOnMutateResult = unknown>({
|
|
28
28
|
variables,
|
|
29
29
|
mutation
|
|
30
|
-
}: ArchiveCommandProps<TData, TError, TVariables, TOnMutateResult>):
|
|
30
|
+
}: ArchiveCommandProps<TData, TError, TVariables, TOnMutateResult>): react_jsx_runtime360.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { ArchiveCommand, ArchiveCommandProps, RestoreCommand };
|
|
33
33
|
//# sourceMappingURL=archive-command.client.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"archive-command.client.d.mts","names":[],"sources":["../../../../src/modules/commands/utils/archive-command.client.tsx"],"sourcesContent":[],"mappings":";;;;KAOY,8CAED;;;EAFC,SAAA,EAMC,UAND;EAED,QAAA,EAKC,eALD,CAKiB,KALjB,EAKwB,MALxB,EAKgC,UALhC,EAK4C,eAL5C,CAAA;CAIE;;;;;AACD,iBAOI,cAPJ,CAAA,QAAA,OAAA,EAAA,SASD,YATC,EAAA,aAAA;EAAe,GAAA,EAAA,MAAA,EAAA;AAO3B,CAAA,EAAA,kBAA8B,OAAA,CAAA,CAAA;EAAA,SAAA;EAAA;AAAA,CAAA,EAKH,mBALG,CAKiB,KALjB,EAKwB,MALxB,EAKgC,UALhC,EAK4C,eAL5C,CAAA,CAAA,EAK4D,
|
|
1
|
+
{"version":3,"file":"archive-command.client.d.mts","names":[],"sources":["../../../../src/modules/commands/utils/archive-command.client.tsx"],"sourcesContent":[],"mappings":";;;;KAOY,8CAED;;;EAFC,SAAA,EAMC,UAND;EAED,QAAA,EAKC,eALD,CAKiB,KALjB,EAKwB,MALxB,EAKgC,UALhC,EAK4C,eAL5C,CAAA;CAIE;;;;;AACD,iBAOI,cAPJ,CAAA,QAAA,OAAA,EAAA,SASD,YATC,EAAA,aAAA;EAAe,GAAA,EAAA,MAAA,EAAA;AAO3B,CAAA,EAAA,kBAA8B,OAAA,CAAA,CAAA;EAAA,SAAA;EAAA;AAAA,CAAA,EAKH,mBALG,CAKiB,KALjB,EAKwB,MALxB,EAKgC,UALhC,EAK4C,eAL5C,CAAA,CAAA,EAK4D,oBAAA,CAAA,GAAA,CAAA,OAL5D;;;;;AAKwB,iBAkBtC,cAlBsC,CAAA,QAAA,OAAA,EAAA,SAoB3C,YApB2C,EAAA,aAAA;EAAQ,GAAA,EAAA,MAAA,EAAA;CAAY,EAAA,kBAAA,OAAA,CAAA,CAAA;EAAA,SAAA;EAAA;AAAA,CAAA,EAuB/C,mBAvB+C,CAuB3B,KAvB2B,EAuBpB,MAvBoB,EAuBZ,UAvBY,EAuBA,eAvBA,CAAA,CAAA,EAuBgB,oBAAA,CAAA,GAAA,CAAA,OAvBhB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime362 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_runtime362.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_runtime362.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_runtime364 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_runtime364.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_runtime364.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_runtime364.JSX.Element;
|
|
21
21
|
declare function TableStatusCell({
|
|
22
22
|
children,
|
|
23
23
|
...props
|
|
24
|
-
}: ComponentProps<typeof TableCell>):
|
|
24
|
+
}: ComponentProps<typeof TableCell>): react_jsx_runtime364.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_runtime41 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_runtime41.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_runtime368 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_runtime368.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { TableFilterCombobox, TableFilterComboboxOption, TableFilterComboboxProps };
|
|
28
28
|
//# sourceMappingURL=combobox.client.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime369 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_runtime369.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { TableFilterSlider, TableFilterSliderProps };
|
|
23
23
|
//# sourceMappingURL=slider.client.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TableRow } from "./table.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime42 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_runtime42.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_runtime42.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_runtime42.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_runtime45 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_runtime45.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_runtime370 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_runtime370.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_runtime46 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_runtime46.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_runtime47 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_runtime47.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_runtime47.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_runtime47.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_runtime47.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_runtime47.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_runtime47.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_runtime53 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_runtime53.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_runtime53.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { TableToolbar, TableToolbarList };
|
|
23
23
|
//# sourceMappingURL=toolbar.d.mts.map
|