@tulip-systems/core 0.5.13 → 0.5.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/client.d.mts +5 -4
- package/dist/auth/client.mjs +6 -5
- package/dist/auth.mjs +2 -2
- package/dist/components/client.mjs +2 -2
- package/dist/components/common/icons.d.mts +52 -52
- package/dist/components/common/status.d.mts +3 -3
- package/dist/components/editor/components/content.client.d.mts +2 -2
- package/dist/components/editor/components/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/header/back-button.client.d.mts +2 -2
- package/dist/components/header/bottom-bar.client.d.mts +3 -3
- package/dist/components/header/breadcrumbs.client.d.mts +7 -7
- 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/layouts/admin-content.client.d.mts +2 -2
- package/dist/components/layouts/admin-error-pages.d.mts +4 -4
- package/dist/components/layouts/admin-layout.d.mts +2 -2
- package/dist/components/layouts/admin-layout.mjs +1 -1
- package/dist/components/layouts/admin-layout.mjs.map +1 -1
- package/dist/components/layouts/admin-loading.d.mts +2 -2
- package/dist/components/layouts/empty-page.d.mts +4 -4
- package/dist/components/layouts/error-page.d.mts +9 -9
- package/dist/components/layouts/error-sections.d.mts +5 -5
- package/dist/components/layouts/list-layout.d.mts +2 -2
- package/dist/components/layouts/providers.client.d.mts +2 -2
- package/dist/components/layouts/root-error-pages.d.mts +2 -2
- package/dist/components/layouts/root-layout.server.d.mts +4 -4
- package/dist/components/layouts/root-layout.server.d.mts.map +1 -1
- package/dist/components/layouts/root-loading.d.mts +2 -2
- package/dist/components/layouts/tab-layout.d.mts +2 -2
- package/dist/components/lists/data-list.d.mts +5 -5
- package/dist/components/lists/data-stack.d.mts +8 -8
- package/dist/components/navigation/admin-sidebar-header.client.mjs +3 -2
- package/dist/components/navigation/admin-sidebar-header.client.mjs.map +1 -1
- package/dist/components/navigation/admin-sidebar-paths.client.d.mts +10 -10
- package/dist/components/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/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/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.client.d.mts +2 -2
- 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/dialog.client.d.mts +11 -11
- 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/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/sonner.client.mjs +1 -1
- package/dist/components/ui/switch.d.mts +2 -2
- package/dist/components/ui/tabs.d.mts +5 -5
- package/dist/components/ui/textarea.d.mts +2 -2
- package/dist/components/ui/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 +4 -4
- package/dist/components/ui/toggle.d.mts.map +1 -1
- package/dist/components/ui/tooltip.client.d.mts +5 -5
- package/dist/components.mjs +2 -2
- package/dist/lib/client.mjs +1 -1
- 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 +2 -2
- package/dist/modules/auth/components/allowed.client.mjs +2 -3
- package/dist/modules/auth/components/allowed.client.mjs.map +1 -1
- package/dist/modules/auth/components/auth-layout.server.d.mts +2 -2
- package/dist/modules/auth/components/auth-layout.server.d.mts.map +1 -1
- package/dist/modules/auth/components/auth-loading.d.mts +2 -2
- package/dist/modules/auth/components/create-first-user-page.client.d.mts +2 -2
- package/dist/modules/auth/components/create-first-user-page.client.mjs +4 -3
- package/dist/modules/auth/components/create-first-user-page.client.mjs.map +1 -1
- package/dist/modules/auth/components/forget-password-page.client.d.mts +2 -2
- package/dist/modules/auth/components/forget-password-page.client.mjs +4 -3
- package/dist/modules/auth/components/forget-password-page.client.mjs.map +1 -1
- package/dist/modules/auth/components/guard-first-user.server.d.mts +2 -2
- package/dist/modules/auth/components/guard-first-user.server.d.mts.map +1 -1
- package/dist/modules/auth/components/guard.server.d.mts +3 -2
- package/dist/modules/auth/components/guard.server.d.mts.map +1 -1
- package/dist/modules/auth/components/guard.server.mjs +1 -0
- package/dist/modules/auth/components/guard.server.mjs.map +1 -1
- package/dist/modules/auth/components/login-page.client.d.mts +2 -2
- package/dist/modules/auth/components/login-page.client.mjs +4 -3
- package/dist/modules/auth/components/login-page.client.mjs.map +1 -1
- package/dist/modules/auth/components/reset-password-page.client.d.mts +2 -2
- package/dist/modules/auth/components/reset-password-page.client.mjs +4 -3
- package/dist/modules/auth/components/reset-password-page.client.mjs.map +1 -1
- package/dist/modules/auth/components/update-password-command.d.mts +2 -2
- package/dist/modules/auth/components/update-password-command.mjs +1 -1
- package/dist/modules/auth/handler/{client.client.d.mts → create-client.client.d.mts} +288 -168
- package/dist/modules/auth/handler/create-client.client.d.mts.map +1 -0
- package/dist/modules/auth/handler/create-client.client.mjs +26 -0
- package/dist/modules/auth/handler/create-client.client.mjs.map +1 -0
- package/dist/modules/auth/handler/init.d.mts +133 -133
- package/dist/modules/auth/handler/init.d.mts.map +1 -1
- package/dist/modules/auth/hooks/use-auth-client.d.mts +24 -0
- package/dist/modules/auth/hooks/use-auth-client.d.mts.map +1 -0
- package/dist/modules/auth/hooks/use-auth-client.mjs +31 -0
- package/dist/modules/auth/hooks/use-auth-client.mjs.map +1 -0
- package/dist/modules/auth/hooks/use-permission.d.mts +8 -35
- package/dist/modules/auth/hooks/use-permission.d.mts.map +1 -1
- package/dist/modules/auth/hooks/use-permission.mjs +47 -93
- package/dist/modules/auth/hooks/use-permission.mjs.map +1 -1
- package/dist/modules/auth/hooks/use-session.d.mts +5 -119
- package/dist/modules/auth/hooks/use-session.d.mts.map +1 -1
- package/dist/modules/auth/hooks/use-session.mjs +15 -17
- package/dist/modules/auth/hooks/use-session.mjs.map +1 -1
- package/dist/modules/auth/lib/helpers.server.mjs +1 -1
- package/dist/modules/auth/lib/validators.d.mts +2 -2
- package/dist/modules/auth/lib/validators.d.mts.map +1 -1
- package/dist/modules/commands/components/alert-dialog-command.client.d.mts +11 -11
- package/dist/modules/commands/components/click-command.client.d.mts +2 -2
- package/dist/modules/commands/components/command-trigger.client.d.mts +4 -4
- package/dist/modules/commands/components/dialog-command.client.d.mts +8 -8
- package/dist/modules/commands/components/dropdown-command.client.d.mts +5 -5
- package/dist/modules/commands/components/empty-command.client.d.mts +2 -2
- package/dist/modules/commands/components/form-dialog-command.client.d.mts +12 -12
- package/dist/modules/commands/hooks/use-command-menu.client.mjs.map +1 -1
- package/dist/modules/commands/hooks/use-command-mutation.client.mjs +1 -1
- package/dist/modules/commands/menus/context-menu.client.d.mts +2 -2
- package/dist/modules/commands/menus/dropdown-menu.client.d.mts +3 -3
- package/dist/modules/commands/menus/inline-menu.client.d.mts +3 -3
- package/dist/modules/commands/menus/responsive-menu.client.d.mts +3 -3
- package/dist/modules/commands/utils/archive-command.client.d.mts +3 -3
- package/dist/modules/commands/utils/delete-command.client.d.mts +3 -3
- package/dist/modules/config/db/helpers.d.mts +5 -5
- package/dist/modules/config/db/helpers.d.mts.map +1 -1
- package/dist/modules/config/lib/config.d.mts +1 -1
- package/dist/modules/config/lib/config.mjs.map +1 -1
- package/dist/modules/data-tables/components/cell/common.client.d.mts +5 -5
- package/dist/modules/data-tables/components/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/search-input.client.d.mts +2 -2
- package/dist/modules/data-tables/hooks/use-context.client.d.mts +2 -2
- package/dist/modules/data-tables/strategies/helpers/sorting.mjs +1 -1
- package/dist/modules/data-tables/tables/data-table/components/table.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/read-only.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/table.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/combobox.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/combobox.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/date-input.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/date-input.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/date-picker.client.d.mts +2 -2
- package/dist/modules/inline-edit/components/date-picker.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/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/inline-edit/hooks/context.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/hooks/use-inline.client.mjs +2 -6
- package/dist/modules/inline-edit/hooks/use-inline.client.mjs.map +1 -1
- package/dist/modules/storage/components/dropzone.client.d.mts +4 -4
- package/dist/modules/storage/components/image-grid.client.d.mts +3 -3
- 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.mjs +1 -2
- package/dist/modules/storage/components/upload-zone.client.mjs.map +1 -1
- package/dist/modules/storage/lib/create-upload.client.d.mts.map +1 -1
- package/dist/modules/storage/lib/proxy.server.mjs +1 -1
- package/dist/modules/storage/lib/router.server.d.mts +2354 -2324
- package/dist/modules/storage/lib/router.server.d.mts.map +1 -1
- package/dist/modules/storage/lib/router.server.mjs +2 -3
- package/dist/modules/storage/lib/router.server.mjs.map +1 -1
- package/dist/modules/storage/lib/service.server.d.mts +18 -18
- package/dist/modules/storage/lib/validators.d.mts +90 -90
- package/dist/modules/storage/lib/validators.d.mts.map +1 -1
- package/package.json +1 -1
- package/src/components/layouts/admin-layout.tsx +1 -3
- package/src/components/navigation/admin-sidebar-header.client.tsx +3 -20
- package/src/modules/auth/components/allowed.client.tsx +2 -2
- package/src/modules/auth/components/create-first-user-page.client.tsx +3 -2
- package/src/modules/auth/components/forget-password-page.client.tsx +2 -1
- package/src/modules/auth/components/guard.server.tsx +2 -0
- package/src/modules/auth/components/login-page.client.tsx +2 -1
- package/src/modules/auth/components/reset-password-page.client.tsx +3 -1
- package/src/modules/auth/entry.client.ts +13 -1
- package/src/modules/auth/entry.ts +11 -0
- package/src/modules/auth/handler/create-client.client.ts +53 -0
- package/src/modules/auth/hooks/use-auth-client.tsx +38 -0
- package/src/modules/auth/hooks/use-permission.ts +49 -94
- package/src/modules/auth/hooks/use-session.ts +16 -16
- package/src/modules/commands/hooks/use-command-menu.client.tsx +0 -6
- package/src/modules/config/lib/config.ts +3 -2
- package/src/modules/inline-edit/hooks/use-inline.client.tsx +1 -1
- package/src/modules/storage/components/upload-zone.client.tsx +0 -2
- package/src/modules/storage/lib/router.server.ts +5 -4
- package/dist/modules/auth/handler/client.client.d.mts.map +0 -1
- package/dist/modules/auth/handler/client.client.mjs +0 -21
- package/dist/modules/auth/handler/client.client.mjs.map +0 -1
- package/src/modules/auth/components/guard.client.tsx +0 -12
- package/src/modules/auth/handler/client.client.ts +0 -16
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime252 from "react/jsx-runtime";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/layouts/error-sections.d.ts
|
|
@@ -8,22 +8,22 @@ import { ComponentProps } from "react";
|
|
|
8
8
|
declare function DefaultErrorSection({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: ComponentProps<"div">):
|
|
11
|
+
}: ComponentProps<"div">): react_jsx_runtime252.JSX.Element;
|
|
12
12
|
/**
|
|
13
13
|
* ServerErrorSection
|
|
14
14
|
*/
|
|
15
15
|
declare function ServerErrorSection({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: ComponentProps<"div">):
|
|
18
|
+
}: ComponentProps<"div">): react_jsx_runtime252.JSX.Element;
|
|
19
19
|
/**
|
|
20
20
|
* NotFoundSection
|
|
21
21
|
*/
|
|
22
|
-
declare function NotFoundSection(props: ComponentProps<"div">):
|
|
22
|
+
declare function NotFoundSection(props: ComponentProps<"div">): react_jsx_runtime252.JSX.Element;
|
|
23
23
|
/**
|
|
24
24
|
* Not Allowed Section
|
|
25
25
|
*/
|
|
26
|
-
declare function NotAllowedSection(props: ComponentProps<"div">):
|
|
26
|
+
declare function NotAllowedSection(props: ComponentProps<"div">): react_jsx_runtime252.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { DefaultErrorSection, NotAllowedSection, NotFoundSection, ServerErrorSection };
|
|
29
29
|
//# sourceMappingURL=error-sections.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime256 from "react/jsx-runtime";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/layouts/list-layout.d.ts
|
|
@@ -6,7 +6,7 @@ declare function ListLayout({
|
|
|
6
6
|
className,
|
|
7
7
|
children,
|
|
8
8
|
...props
|
|
9
|
-
}: ComponentProps<"div">):
|
|
9
|
+
}: ComponentProps<"div">): react_jsx_runtime256.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { ListLayout };
|
|
12
12
|
//# sourceMappingURL=list-layout.d.mts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime135 from "react/jsx-runtime";
|
|
2
2
|
import { PropsWithChildren } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/layouts/providers.client.d.ts
|
|
5
5
|
declare function Providers({
|
|
6
6
|
children
|
|
7
|
-
}: PropsWithChildren):
|
|
7
|
+
}: PropsWithChildren): react_jsx_runtime135.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Providers };
|
|
10
10
|
//# sourceMappingURL=providers.client.d.mts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime257 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/layouts/root-error-pages.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Admin Not Found Page
|
|
6
6
|
*/
|
|
7
|
-
declare function RootNotFoundPage():
|
|
7
|
+
declare function RootNotFoundPage(): react_jsx_runtime257.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { RootNotFoundPage };
|
|
10
10
|
//# sourceMappingURL=root-error-pages.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TulipConfig } from "../../modules/config/lib/config.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import { PropsWithChildren } from "react";
|
|
4
4
|
import "server-cli-only";
|
|
5
5
|
|
|
@@ -9,12 +9,12 @@ import "server-cli-only";
|
|
|
9
9
|
*/
|
|
10
10
|
declare const generateRootLayoutMetadata: (config: TulipConfig) => {
|
|
11
11
|
metadata: {
|
|
12
|
-
title:
|
|
12
|
+
title: string;
|
|
13
13
|
description: string;
|
|
14
14
|
appleWebApp: {
|
|
15
15
|
capable: true;
|
|
16
16
|
statusBarStyle: "black-translucent";
|
|
17
|
-
title:
|
|
17
|
+
title: string;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
viewport: {
|
|
@@ -31,7 +31,7 @@ declare const generateRootLayoutMetadata: (config: TulipConfig) => {
|
|
|
31
31
|
*/
|
|
32
32
|
declare function RootLayout({
|
|
33
33
|
children
|
|
34
|
-
}: PropsWithChildren):
|
|
34
|
+
}: PropsWithChildren): react_jsx_runtime0.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { RootLayout, generateRootLayoutMetadata };
|
|
37
37
|
//# sourceMappingURL=root-layout.server.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-layout.server.d.mts","names":[],"sources":["../../../src/components/layouts/root-layout.server.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAWa,cAAA,0BAAsC,EAAA,CAAA,MAAA,EAAA,WAAW,EAAA,GAAA;EA6B9C,QAAA,EAAA;IAAa,KAAA,EAAA,
|
|
1
|
+
{"version":3,"file":"root-layout.server.d.mts","names":[],"sources":["../../../src/components/layouts/root-layout.server.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAWa,cAAA,0BAAsC,EAAA,CAAA,MAAA,EAAA,WAAW,EAAA,GAAA;EA6B9C,QAAA,EAAA;IAAa,KAAA,EAAA,MAAA;IAAY,WAAA,EAAA,MAAA;IAAiB,WAAA,EAAA;MAAA,OAAA,EAAA,IAAA;;;;;;;;;;;;;;;;;iBAA1C,UAAA;;GAAyB,oBAAiB,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime258 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/layouts/root-loading.d.ts
|
|
4
|
-
declare function RootLoading():
|
|
4
|
+
declare function RootLoading(): react_jsx_runtime258.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { RootLoading };
|
|
7
7
|
//# sourceMappingURL=root-loading.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Permission } from "../../modules/auth/lib/permissions.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime259 from "react/jsx-runtime";
|
|
3
3
|
import { Route } from "next";
|
|
4
4
|
|
|
5
5
|
//#region src/components/layouts/tab-layout.d.ts
|
|
@@ -17,7 +17,7 @@ type TabLayoutProps = {
|
|
|
17
17
|
declare function TabLayout({
|
|
18
18
|
tabs,
|
|
19
19
|
children
|
|
20
|
-
}: TabLayoutProps):
|
|
20
|
+
}: TabLayoutProps): react_jsx_runtime259.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { Tab, TabLayout, TabLayoutProps };
|
|
23
23
|
//# sourceMappingURL=tab-layout.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime260 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/lists/data-list.d.ts
|
|
@@ -7,25 +7,25 @@ declare function DataList({
|
|
|
7
7
|
children,
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: DataListProps):
|
|
10
|
+
}: DataListProps): react_jsx_runtime260.JSX.Element;
|
|
11
11
|
type DataListItemProps = React.HTMLAttributes<HTMLElement>;
|
|
12
12
|
declare function DataListItem({
|
|
13
13
|
children,
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: DataListItemProps):
|
|
16
|
+
}: DataListItemProps): react_jsx_runtime260.JSX.Element;
|
|
17
17
|
type DataListTitleProps = React.HTMLAttributes<HTMLElement>;
|
|
18
18
|
declare function DataListTitle({
|
|
19
19
|
children,
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: DataListTitleProps):
|
|
22
|
+
}: DataListTitleProps): react_jsx_runtime260.JSX.Element;
|
|
23
23
|
type DataListValueProps = React.HTMLAttributes<HTMLElement>;
|
|
24
24
|
declare function DataListValue({
|
|
25
25
|
children,
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: DataListValueProps):
|
|
28
|
+
}: DataListValueProps): react_jsx_runtime260.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { DataList, DataListItem, DataListItemProps, DataListProps, DataListTitle, DataListTitleProps, DataListValue, DataListValueProps };
|
|
31
31
|
//# sourceMappingURL=data-list.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime264 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/lists/data-stack.d.ts
|
|
@@ -7,43 +7,43 @@ declare function DataStackGrid({
|
|
|
7
7
|
children,
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: DataStackGridProps):
|
|
10
|
+
}: DataStackGridProps): react_jsx_runtime264.JSX.Element;
|
|
11
11
|
type DataStackLayoutProps = React.HTMLAttributes<HTMLElement>;
|
|
12
12
|
declare function DataStackLayout({
|
|
13
13
|
children,
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: DataStackLayoutProps):
|
|
16
|
+
}: DataStackLayoutProps): react_jsx_runtime264.JSX.Element;
|
|
17
17
|
type DataStackRowProps = React.HTMLAttributes<HTMLElement>;
|
|
18
18
|
declare function DataStackRow({
|
|
19
19
|
children,
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: DataStackRowProps):
|
|
22
|
+
}: DataStackRowProps): react_jsx_runtime264.JSX.Element;
|
|
23
23
|
type DataStackColumnProps = React.HTMLAttributes<HTMLElement>;
|
|
24
24
|
declare function DataStackColumn({
|
|
25
25
|
children,
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: DataStackRowProps):
|
|
28
|
+
}: DataStackRowProps): react_jsx_runtime264.JSX.Element;
|
|
29
29
|
type DataStackProps = React.HTMLAttributes<HTMLOListElement>;
|
|
30
30
|
declare function DataStack({
|
|
31
31
|
children,
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: DataStackProps):
|
|
34
|
+
}: DataStackProps): react_jsx_runtime264.JSX.Element;
|
|
35
35
|
type DataStackTitleProps = React.HTMLAttributes<HTMLElement>;
|
|
36
36
|
declare function DataStackTitle({
|
|
37
37
|
children,
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: DataStackTitleProps):
|
|
40
|
+
}: DataStackTitleProps): react_jsx_runtime264.JSX.Element;
|
|
41
41
|
type DataStackValueProps = React.HTMLAttributes<HTMLElement>;
|
|
42
42
|
declare function DataStackValue({
|
|
43
43
|
children,
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: DataStackValueProps):
|
|
46
|
+
}: DataStackValueProps): react_jsx_runtime264.JSX.Element;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { DataStack, DataStackColumn, DataStackColumnProps, DataStackGrid, DataStackGridProps, DataStackLayout, DataStackLayoutProps, DataStackProps, DataStackRow, DataStackRowProps, DataStackTitle, DataStackTitleProps, DataStackValue, DataStackValueProps };
|
|
49
49
|
//# sourceMappingURL=data-stack.d.mts.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { cn } from "../../lib/utils/cn.mjs";
|
|
4
4
|
import { Button } from "../ui/button.mjs";
|
|
5
5
|
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "../ui/dropdown-menu.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { useAuthClient } from "../../modules/auth/hooks/use-auth-client.mjs";
|
|
7
7
|
import { useSession } from "../../modules/auth/hooks/use-session.mjs";
|
|
8
8
|
import { SidebarHeader, useSidebar } from "../ui/sidebar.client.mjs";
|
|
9
9
|
import { Avatar, AvatarFallback, AvatarImage } from "../ui/avatar.client.mjs";
|
|
@@ -17,10 +17,11 @@ import { useTheme } from "next-themes";
|
|
|
17
17
|
//#region src/components/navigation/admin-sidebar-header.client.tsx
|
|
18
18
|
function AdminSidebarHeader() {
|
|
19
19
|
const router = useRouter();
|
|
20
|
+
const authClient = useAuthClient();
|
|
20
21
|
const { theme, setTheme } = useTheme();
|
|
21
22
|
const [open, setOpen] = React.useState(false);
|
|
22
23
|
const { setOpenMobile } = useSidebar();
|
|
23
|
-
const sessionQuery = useSession();
|
|
24
|
+
const sessionQuery = useSession(authClient);
|
|
24
25
|
return /* @__PURE__ */ jsx(SidebarHeader, { children: /* @__PURE__ */ jsxs(DropdownMenu, {
|
|
25
26
|
open,
|
|
26
27
|
onOpenChange: setOpen,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin-sidebar-header.client.mjs","names":[],"sources":["../../../src/components/navigation/admin-sidebar-header.client.tsx"],"sourcesContent":["\"use client\";\n\nimport { Avatar, AvatarFallback, AvatarImage } from \"@/components/ui/avatar.client\";\nimport { Button } from \"@/components/ui/button\";\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuSeparator,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\";\nimport { cn } from \"@/lib/utils/cn\";\nimport {
|
|
1
|
+
{"version":3,"file":"admin-sidebar-header.client.mjs","names":[],"sources":["../../../src/components/navigation/admin-sidebar-header.client.tsx"],"sourcesContent":["\"use client\";\n\nimport { Avatar, AvatarFallback, AvatarImage } from \"@/components/ui/avatar.client\";\nimport { Button } from \"@/components/ui/button\";\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuSeparator,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\";\nimport { cn } from \"@/lib/utils/cn\";\nimport { useAuthClient } from \"@/modules/auth/hooks/use-auth-client\";\nimport { useSession } from \"@/modules/auth/hooks/use-session\";\nimport {\n ChevronsUpDownIcon,\n LaptopIcon,\n LogOutIcon,\n MoonIcon,\n SettingsIcon,\n SunIcon,\n SunMoonIcon,\n} from \"lucide-react\";\nimport { useTheme } from \"next-themes\";\nimport Link from \"next/link\";\nimport { useRouter } from \"next/navigation\";\nimport React from \"react\";\nimport { SidebarHeader, useSidebar } from \"../ui/sidebar.client\";\n\nexport function AdminSidebarHeader() {\n const router = useRouter();\n const authClient = useAuthClient();\n const { theme, setTheme } = useTheme();\n\n const [open, setOpen] = React.useState(false);\n\n const { setOpenMobile } = useSidebar();\n\n const sessionQuery = useSession(authClient);\n\n return (\n <SidebarHeader>\n <DropdownMenu open={open} onOpenChange={setOpen}>\n <DropdownMenuTrigger asChild>\n <Button variant=\"outline\" className=\"items-center justify-between py-3.5\">\n <div className=\"flex items-center gap-4\">\n <Avatar className=\"h-6 w-6 text-sm\">\n <AvatarImage\n src={sessionQuery.data?.user.image ?? undefined}\n alt={sessionQuery.data?.user.name}\n />\n <AvatarFallback>{sessionQuery.data?.user.name?.[0] ?? \"\"}</AvatarFallback>\n </Avatar>\n <span className=\"text-md text-muted-foreground font-bold\">\n {sessionQuery.data?.user.name}\n </span>\n </div>\n\n <ChevronsUpDownIcon className=\"text-muted-foreground h-4 w-4\" />\n </Button>\n </DropdownMenuTrigger>\n\n <DropdownMenuContent className=\"w-44\">\n <DropdownMenuItem asChild>\n <Link href=\"/admin/settings\" onClick={() => setOpenMobile(false)}>\n <SettingsIcon className=\"mr-2 h-4 w-4\" />\n <span>Instellingen</span>\n </Link>\n </DropdownMenuItem>\n\n <DropdownMenuSeparator />\n\n <DropdownMenuSub>\n <DropdownMenuSubTrigger>\n <SunMoonIcon className=\"mr-2 h-4 w-4\" />\n <span>Thema</span>\n </DropdownMenuSubTrigger>\n\n <DropdownMenuSubContent>\n <DropdownMenuItem\n className={cn(theme === \"light\" && \"bg-secondary font-bold\")}\n onClick={() => setTheme(\"light\")}\n >\n <SunIcon className=\"mr-2 h-4 w-4\" />\n <span>Light</span>\n </DropdownMenuItem>\n\n <DropdownMenuItem\n className={cn(theme === \"dark\" && \"bg-secondary font-bold\")}\n onClick={() => setTheme(\"dark\")}\n >\n <MoonIcon className=\"mr-2 h-4 w-4\" />\n <span>Dark</span>\n </DropdownMenuItem>\n\n <DropdownMenuItem\n className={cn(theme === \"system\" && \"bg-secondary font-bold\")}\n onClick={() => setTheme(\"system\")}\n >\n <LaptopIcon className=\"mr-2 h-4 w-4\" />\n <span>System</span>\n </DropdownMenuItem>\n </DropdownMenuSubContent>\n </DropdownMenuSub>\n\n <DropdownMenuItem\n onClick={() => {\n setOpenMobile(false);\n setOpen(false);\n\n authClient.signOut({\n fetchOptions: {\n onSuccess: () => {\n router.replace(\"/auth/login\");\n },\n },\n });\n }}\n >\n <LogOutIcon className=\"mr-2 h-4 w-4\" />\n <span>Log out</span>\n </DropdownMenuItem>\n </DropdownMenuContent>\n </DropdownMenu>\n </SidebarHeader>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAgCA,SAAgB,qBAAqB;CACnC,MAAM,SAAS,WAAW;CAC1B,MAAM,aAAa,eAAe;CAClC,MAAM,EAAE,OAAO,aAAa,UAAU;CAEtC,MAAM,CAAC,MAAM,WAAW,MAAM,SAAS,MAAM;CAE7C,MAAM,EAAE,kBAAkB,YAAY;CAEtC,MAAM,eAAe,WAAW,WAAW;AAE3C,QACE,oBAAC,2BACC,qBAAC;EAAmB;EAAM,cAAc;aACtC,oBAAC;GAAoB;aACnB,qBAAC;IAAO,SAAQ;IAAU,WAAU;eAClC,qBAAC;KAAI,WAAU;gBACb,qBAAC;MAAO,WAAU;iBAChB,oBAAC;OACC,KAAK,aAAa,MAAM,KAAK,SAAS;OACtC,KAAK,aAAa,MAAM,KAAK;QAC7B,EACF,oBAAC,4BAAgB,aAAa,MAAM,KAAK,OAAO,MAAM,KAAoB;OACnE,EACT,oBAAC;MAAK,WAAU;gBACb,aAAa,MAAM,KAAK;OACpB;MACH,EAEN,oBAAC,sBAAmB,WAAU,kCAAkC;KACzD;IACW,EAEtB,qBAAC;GAAoB,WAAU;;IAC7B,oBAAC;KAAiB;eAChB,qBAAC;MAAK,MAAK;MAAkB,eAAe,cAAc,MAAM;iBAC9D,oBAAC,gBAAa,WAAU,iBAAiB,EACzC,oBAAC,oBAAK,iBAAmB;OACpB;MACU;IAEnB,oBAAC,0BAAwB;IAEzB,qBAAC,8BACC,qBAAC,qCACC,oBAAC,eAAY,WAAU,iBAAiB,EACxC,oBAAC,oBAAK,UAAY,IACK,EAEzB,qBAAC;KACC,qBAAC;MACC,WAAW,GAAG,UAAU,WAAW,yBAAyB;MAC5D,eAAe,SAAS,QAAQ;iBAEhC,oBAAC,WAAQ,WAAU,iBAAiB,EACpC,oBAAC,oBAAK,UAAY;OACD;KAEnB,qBAAC;MACC,WAAW,GAAG,UAAU,UAAU,yBAAyB;MAC3D,eAAe,SAAS,OAAO;iBAE/B,oBAAC,YAAS,WAAU,iBAAiB,EACrC,oBAAC,oBAAK,SAAW;OACA;KAEnB,qBAAC;MACC,WAAW,GAAG,UAAU,YAAY,yBAAyB;MAC7D,eAAe,SAAS,SAAS;iBAEjC,oBAAC,cAAW,WAAU,iBAAiB,EACvC,oBAAC,oBAAK,WAAa;OACF;QACI,IACT;IAElB,qBAAC;KACC,eAAe;AACb,oBAAc,MAAM;AACpB,cAAQ,MAAM;AAEd,iBAAW,QAAQ,EACjB,cAAc,EACZ,iBAAiB;AACf,cAAO,QAAQ,cAAc;SAEhC,EACF,CAAC;;gBAGJ,oBAAC,cAAW,WAAU,iBAAiB,EACvC,oBAAC,oBAAK,YAAc;MACH;;IACC;GACT,GACD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Permission } from "../../modules/auth/lib/permissions.mjs";
|
|
2
2
|
import { Sidebar } from "../ui/sidebar.client.mjs";
|
|
3
3
|
import "../../auth.mjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime136 from "react/jsx-runtime";
|
|
5
5
|
import * as React$1 from "react";
|
|
6
6
|
import { Route } from "next";
|
|
7
7
|
|
|
@@ -12,7 +12,7 @@ import { Route } from "next";
|
|
|
12
12
|
declare function Paths({
|
|
13
13
|
children,
|
|
14
14
|
...props
|
|
15
|
-
}: React$1.ComponentProps<typeof Sidebar>):
|
|
15
|
+
}: React$1.ComponentProps<typeof Sidebar>): react_jsx_runtime136.JSX.Element;
|
|
16
16
|
/**
|
|
17
17
|
* Path Group
|
|
18
18
|
*/
|
|
@@ -26,15 +26,15 @@ type PathGroupProps = React$1.ComponentProps<"div"> & {
|
|
|
26
26
|
declare function PathGroup({
|
|
27
27
|
permission,
|
|
28
28
|
...props
|
|
29
|
-
}: PathGroupProps):
|
|
29
|
+
}: PathGroupProps): react_jsx_runtime136.JSX.Element;
|
|
30
30
|
/**
|
|
31
31
|
* Path Group Title
|
|
32
32
|
*/
|
|
33
|
-
declare function PathGroupTitle(props: React$1.ComponentProps<"div">):
|
|
33
|
+
declare function PathGroupTitle(props: React$1.ComponentProps<"div">): react_jsx_runtime136.JSX.Element;
|
|
34
34
|
/**
|
|
35
35
|
* Path Group Items
|
|
36
36
|
*/
|
|
37
|
-
declare function PathGroupItems(props: React$1.PropsWithChildren):
|
|
37
|
+
declare function PathGroupItems(props: React$1.PropsWithChildren): react_jsx_runtime136.JSX.Element;
|
|
38
38
|
/**
|
|
39
39
|
* Path
|
|
40
40
|
*/
|
|
@@ -49,7 +49,7 @@ declare function Path({
|
|
|
49
49
|
isActive,
|
|
50
50
|
segment,
|
|
51
51
|
...props
|
|
52
|
-
}: PathProps):
|
|
52
|
+
}: PathProps): react_jsx_runtime136.JSX.Element;
|
|
53
53
|
/**
|
|
54
54
|
* Path Button
|
|
55
55
|
*/
|
|
@@ -58,11 +58,11 @@ declare function PathLink({
|
|
|
58
58
|
children
|
|
59
59
|
}: React$1.PropsWithChildren<{
|
|
60
60
|
href: Route;
|
|
61
|
-
}>):
|
|
61
|
+
}>): react_jsx_runtime136.JSX.Element;
|
|
62
62
|
/**
|
|
63
63
|
* Path Items
|
|
64
64
|
*/
|
|
65
|
-
declare function PathItems(props: React$1.ComponentProps<"ul">):
|
|
65
|
+
declare function PathItems(props: React$1.ComponentProps<"ul">): react_jsx_runtime136.JSX.Element | null;
|
|
66
66
|
/**
|
|
67
67
|
* Path Sub Item
|
|
68
68
|
*/
|
|
@@ -77,7 +77,7 @@ declare function PathSubItem({
|
|
|
77
77
|
segment,
|
|
78
78
|
children,
|
|
79
79
|
...props
|
|
80
|
-
}: PathSubItemProps):
|
|
80
|
+
}: PathSubItemProps): react_jsx_runtime136.JSX.Element;
|
|
81
81
|
/**
|
|
82
82
|
* Path Button
|
|
83
83
|
*/
|
|
@@ -86,7 +86,7 @@ declare function PathSubItemLink({
|
|
|
86
86
|
children
|
|
87
87
|
}: React$1.PropsWithChildren<{
|
|
88
88
|
href: Route;
|
|
89
|
-
}>):
|
|
89
|
+
}>): react_jsx_runtime136.JSX.Element;
|
|
90
90
|
//#endregion
|
|
91
91
|
export { Path, PathGroup, PathGroupItems, PathGroupProps, PathGroupTitle, PathItems, PathLink, PathSubItem, PathSubItemLink, Paths };
|
|
92
92
|
//# sourceMappingURL=admin-sidebar-paths.client.d.mts.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime271 from "react/jsx-runtime";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/accordion.d.ts
|
|
6
6
|
declare function Accordion({
|
|
7
7
|
...props
|
|
8
|
-
}: React$1.ComponentProps<typeof AccordionPrimitive.Root>):
|
|
8
|
+
}: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime271.JSX.Element;
|
|
9
9
|
declare function AccordionItem({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React$1.ComponentProps<typeof AccordionPrimitive.Item>):
|
|
12
|
+
}: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime271.JSX.Element;
|
|
13
13
|
declare function AccordionTrigger({
|
|
14
14
|
className,
|
|
15
15
|
children,
|
|
16
16
|
...props
|
|
17
|
-
}: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>):
|
|
17
|
+
}: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime271.JSX.Element;
|
|
18
18
|
declare function AccordionContent({
|
|
19
19
|
className,
|
|
20
20
|
children,
|
|
21
21
|
...props
|
|
22
|
-
}: React$1.ComponentProps<typeof AccordionPrimitive.Content>):
|
|
22
|
+
}: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime271.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
25
25
|
//# sourceMappingURL=accordion.d.mts.map
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime278 from "react/jsx-runtime";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/alert-dialog.d.ts
|
|
6
|
-
declare function AlertDialog(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>):
|
|
7
|
-
declare function AlertDialogTrigger(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>):
|
|
8
|
-
declare function AlertDialogPortal(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>):
|
|
6
|
+
declare function AlertDialog(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime278.JSX.Element;
|
|
7
|
+
declare function AlertDialogTrigger(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime278.JSX.Element;
|
|
8
|
+
declare function AlertDialogPortal(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime278.JSX.Element;
|
|
9
9
|
declare function AlertDialogOverlay({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Overlay>):
|
|
12
|
+
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime278.JSX.Element;
|
|
13
13
|
declare function AlertDialogContent({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Content>):
|
|
16
|
+
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime278.JSX.Element;
|
|
17
17
|
declare function AlertDialogHeader({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React$1.ComponentProps<"div">):
|
|
20
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime278.JSX.Element;
|
|
21
21
|
declare function AlertDialogFooter({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React$1.ComponentProps<"div">):
|
|
24
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime278.JSX.Element;
|
|
25
25
|
declare function AlertDialogTitle({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Title>):
|
|
28
|
+
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime278.JSX.Element;
|
|
29
29
|
declare function AlertDialogDescription({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Description>):
|
|
32
|
+
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime278.JSX.Element;
|
|
33
33
|
declare function AlertDialogAction({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Action>):
|
|
36
|
+
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime278.JSX.Element;
|
|
37
37
|
declare function AlertDialogCancel({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Cancel>):
|
|
40
|
+
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime278.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
43
43
|
//# sourceMappingURL=alert-dialog.d.mts.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime275 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ui/alert.d.ts
|
|
7
7
|
declare const alertVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "destructive" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
10
10
|
declare function Alert({
|
|
11
11
|
className,
|
|
12
12
|
variant,
|
|
13
13
|
...props
|
|
14
|
-
}: React$1.ComponentProps<"div"> & VariantProps<typeof alertVariants>):
|
|
14
|
+
}: React$1.ComponentProps<"div"> & VariantProps<typeof alertVariants>): react_jsx_runtime275.JSX.Element;
|
|
15
15
|
declare function AlertTitle({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: React$1.ComponentProps<"div">):
|
|
18
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime275.JSX.Element;
|
|
19
19
|
declare function AlertDescription({
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: React$1.ComponentProps<"div">):
|
|
22
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime275.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { Alert, AlertDescription, AlertTitle };
|
|
25
25
|
//# sourceMappingURL=alert.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime289 from "react/jsx-runtime";
|
|
2
2
|
import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ui/aspect-ratio.d.ts
|
|
5
|
-
declare function AspectRatio(props: React.ComponentProps<typeof AspectRatioPrimitive.Root>):
|
|
5
|
+
declare function AspectRatio(props: React.ComponentProps<typeof AspectRatioPrimitive.Root>): react_jsx_runtime289.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { AspectRatio };
|
|
8
8
|
//# sourceMappingURL=aspect-ratio.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime145 from "react/jsx-runtime";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
4
4
|
|
|
@@ -6,15 +6,15 @@ import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
|
6
6
|
declare function Avatar({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React$1.ComponentProps<typeof AvatarPrimitive.Root>):
|
|
9
|
+
}: React$1.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime145.JSX.Element;
|
|
10
10
|
declare function AvatarImage({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React$1.ComponentProps<typeof AvatarPrimitive.Image>):
|
|
13
|
+
}: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime145.JSX.Element;
|
|
14
14
|
declare function AvatarFallback({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>):
|
|
17
|
+
}: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime145.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { Avatar, AvatarFallback, AvatarImage };
|
|
20
20
|
//# sourceMappingURL=avatar.client.d.mts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime290 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types3 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ui/badge.d.ts
|
|
7
7
|
declare const badgeVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "outline" | "destructive" | "secondary" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
10
10
|
declare function Badge({
|
|
11
11
|
className,
|
|
12
12
|
variant,
|
|
@@ -14,7 +14,7 @@ declare function Badge({
|
|
|
14
14
|
...props
|
|
15
15
|
}: React$1.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
16
16
|
asChild?: boolean;
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime290.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { Badge, badgeVariants };
|
|
20
20
|
//# sourceMappingURL=badge.d.mts.map
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime291 from "react/jsx-runtime";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ui/breadcrumb.d.ts
|
|
5
|
-
declare function Breadcrumb(props: React$1.ComponentProps<"nav">):
|
|
5
|
+
declare function Breadcrumb(props: React$1.ComponentProps<"nav">): react_jsx_runtime291.JSX.Element;
|
|
6
6
|
declare function BreadcrumbList({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React$1.ComponentProps<"ol">):
|
|
9
|
+
}: React$1.ComponentProps<"ol">): react_jsx_runtime291.JSX.Element;
|
|
10
10
|
declare function BreadcrumbItem({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React$1.ComponentProps<"li">):
|
|
13
|
+
}: React$1.ComponentProps<"li">): react_jsx_runtime291.JSX.Element;
|
|
14
14
|
declare function BreadcrumbLink({
|
|
15
15
|
asChild,
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
18
|
}: React$1.ComponentProps<"a"> & {
|
|
19
19
|
asChild?: boolean;
|
|
20
|
-
}):
|
|
20
|
+
}): react_jsx_runtime291.JSX.Element;
|
|
21
21
|
declare function BreadcrumbPage({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React$1.ComponentProps<"span">):
|
|
24
|
+
}: React$1.ComponentProps<"span">): react_jsx_runtime291.JSX.Element;
|
|
25
25
|
declare function BreadcrumbSeparator({
|
|
26
26
|
children,
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React$1.ComponentProps<"li">):
|
|
29
|
+
}: React$1.ComponentProps<"li">): react_jsx_runtime291.JSX.Element;
|
|
30
30
|
declare function BreadcrumbEllipsis({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React$1.ComponentProps<"span">):
|
|
33
|
+
}: React$1.ComponentProps<"span">): react_jsx_runtime291.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
36
36
|
//# sourceMappingURL=breadcrumb.d.mts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime298 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ui/button.d.ts
|
|
7
7
|
declare const buttonVariants: (props?: ({
|
|
8
8
|
variant?: "link" | "default" | "outline" | "destructive" | "secondary" | "ghost" | null | undefined;
|
|
9
9
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
11
11
|
declare function Button({
|
|
12
12
|
className,
|
|
13
13
|
variant,
|
|
@@ -16,7 +16,7 @@ declare function Button({
|
|
|
16
16
|
...props
|
|
17
17
|
}: React$1.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
18
18
|
asChild?: boolean;
|
|
19
|
-
}):
|
|
19
|
+
}): react_jsx_runtime298.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { Button, buttonVariants };
|
|
22
22
|
//# sourceMappingURL=button.d.mts.map
|