@tulip-systems/core 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/server.d.ts +2 -2
- package/dist/auth/server.js +3 -3
- package/dist/components/common/icons.d.ts +51 -51
- package/dist/components/common/icons.d.ts.map +1 -1
- package/dist/components/common/status.d.ts +3 -3
- package/dist/components/common/status.d.ts.map +1 -1
- package/dist/components/editor/components/content.client.d.ts +2 -2
- package/dist/components/editor/components/fixed-menu.client.d.ts +2 -2
- package/dist/components/editor/context.client.d.ts +4 -4
- package/dist/components/editor/context.client.d.ts.map +1 -1
- package/dist/components/editor/index.client.d.ts +2 -2
- package/dist/components/editor/preview.client.d.ts +2 -2
- package/dist/components/header/back-button.client.d.ts +2 -2
- package/dist/components/header/bottom-bar.client.d.ts +3 -3
- package/dist/components/header/breadcrumbs.client.d.ts +7 -7
- package/dist/components/header/header.client.d.ts +2 -2
- package/dist/components/header/mobile-nav-switcher.client.d.ts +2 -2
- package/dist/components/header/top-bar.client.d.ts +4 -4
- package/dist/components/layouts/admin-content.client.d.ts +2 -2
- package/dist/components/layouts/admin-layout.d.ts +2 -2
- package/dist/components/layouts/admin-layout.js +1 -1
- package/dist/components/layouts/admin-layout.js.map +1 -1
- package/dist/components/layouts/admin-loading.d.ts +2 -2
- package/dist/components/layouts/admin-loading.d.ts.map +1 -1
- package/dist/components/layouts/empty-page.d.ts +4 -4
- package/dist/components/layouts/empty-page.d.ts.map +1 -1
- package/dist/components/layouts/list-layout.d.ts +2 -2
- package/dist/components/layouts/list-layout.d.ts.map +1 -1
- package/dist/components/layouts/not-found-page.d.ts +4 -3
- package/dist/components/layouts/not-found-page.d.ts.map +1 -1
- package/dist/components/layouts/not-found-page.js +8 -2
- package/dist/components/layouts/not-found-page.js.map +1 -1
- package/dist/components/layouts/not-found-section.js +1 -1
- package/dist/components/layouts/not-found-section.js.map +1 -1
- package/dist/components/layouts/providers.client.d.ts +2 -2
- package/dist/components/layouts/root-layout.server.d.ts +2 -2
- package/dist/components/layouts/root-layout.server.d.ts.map +1 -1
- package/dist/components/layouts/root-loading.d.ts +2 -2
- package/dist/components/layouts/root-loading.d.ts.map +1 -1
- package/dist/components/layouts/tab-layout.d.ts +2 -2
- package/dist/components/layouts/tab-layout.d.ts.map +1 -1
- package/dist/components/lists/data-list.d.ts +5 -5
- package/dist/components/lists/data-list.d.ts.map +1 -1
- package/dist/components/lists/data-stack.d.ts +8 -8
- package/dist/components/lists/data-stack.d.ts.map +1 -1
- package/dist/components/navigation/admin-sidebar-paths.client.d.ts +10 -10
- package/dist/components/ui/accordion.d.ts +5 -5
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog.d.ts +12 -12
- package/dist/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/alert.d.ts +4 -4
- package/dist/components/ui/alert.d.ts.map +1 -1
- package/dist/components/ui/aspect-ratio.d.ts +2 -2
- package/dist/components/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/components/ui/avatar.client.d.ts +4 -4
- package/dist/components/ui/badge.d.ts +2 -2
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/breadcrumb.d.ts +8 -8
- package/dist/components/ui/breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/button.d.ts +3 -3
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/calendar.d.ts +2 -2
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/components/ui/card.d.ts +7 -7
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/carousel.d.ts +6 -6
- package/dist/components/ui/carousel.d.ts.map +1 -1
- package/dist/components/ui/chart.client.d.ts +5 -5
- package/dist/components/ui/checkbox.d.ts +2 -2
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/collapsible.client.d.ts +4 -4
- package/dist/components/ui/color-picker.client.d.ts +2 -2
- package/dist/components/ui/combobox-dropdown.client.d.ts +2 -2
- package/dist/components/ui/combobox.client.d.ts +2 -2
- package/dist/components/ui/command.d.ts +10 -10
- package/dist/components/ui/command.d.ts.map +1 -1
- package/dist/components/ui/context-menu.d.ts +16 -16
- package/dist/components/ui/dialog.client.d.ts +11 -11
- package/dist/components/ui/drawer.client.d.ts +11 -11
- package/dist/components/ui/dropdown-menu.d.ts +16 -16
- package/dist/components/ui/form.client.d.ts +7 -7
- package/dist/components/ui/hover-card.client.d.ts +4 -4
- package/dist/components/ui/input.d.ts +2 -2
- package/dist/components/ui/label.d.ts +2 -2
- package/dist/components/ui/navigation-menu.d.ts +9 -9
- package/dist/components/ui/pagination.d.ts +8 -8
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/popover.d.ts +5 -5
- package/dist/components/ui/progress.client.d.ts +2 -2
- package/dist/components/ui/radio-group.d.ts +3 -3
- package/dist/components/ui/resizable.client.d.ts +4 -4
- package/dist/components/ui/scroll-area.d.ts +3 -3
- package/dist/components/ui/select.client.d.ts +11 -11
- package/dist/components/ui/separator.d.ts +2 -2
- package/dist/components/ui/sheet.client.d.ts +9 -9
- package/dist/components/ui/sidebar.client.d.ts +26 -26
- package/dist/components/ui/skeleton.d.ts +2 -2
- package/dist/components/ui/slider.d.ts +2 -2
- package/dist/components/ui/sonner.client.d.ts +2 -2
- package/dist/components/ui/switch.d.ts +2 -2
- package/dist/components/ui/tabs.d.ts +5 -5
- package/dist/components/ui/textarea.d.ts +2 -2
- package/dist/components/ui/time-input.client.d.ts +2 -2
- package/dist/components/ui/toggle-group.client.d.ts +3 -3
- package/dist/components/ui/toggle.d.ts +4 -4
- package/dist/components/ui/toggle.d.ts.map +1 -1
- package/dist/components/ui/tooltip.client.d.ts +5 -5
- package/dist/components/ui/tree.client.d.ts +5 -5
- package/dist/components/ui/tree.client.d.ts.map +1 -1
- package/dist/components.d.ts +2 -2
- package/dist/components.js +2 -2
- package/dist/lib/hooks/use-indicator.d.ts +2 -2
- package/dist/modules/auth/components/allowed.client.d.ts +2 -2
- package/dist/modules/auth/components/auth-layout.server.d.ts +2 -2
- package/dist/modules/auth/components/auth-layout.server.d.ts.map +1 -1
- package/dist/modules/auth/components/auth-loading.d.ts +2 -2
- package/dist/modules/auth/components/auth-loading.js +1 -1
- package/dist/modules/auth/components/auth-loading.js.map +1 -1
- package/dist/modules/auth/components/forget-password-page.client.d.ts +2 -2
- package/dist/modules/auth/components/{guard.js → guard.client.js} +2 -2
- package/dist/modules/auth/components/guard.client.js.map +1 -0
- package/dist/modules/auth/components/login-page.client.d.ts +2 -2
- package/dist/modules/auth/components/login-page.client.js +35 -26
- package/dist/modules/auth/components/login-page.client.js.map +1 -1
- package/dist/modules/auth/components/reset-password-page.client.d.ts +2 -2
- package/dist/modules/auth/components/update-password-command.d.ts +2 -2
- package/dist/modules/auth/handler/client.client.d.ts +96 -96
- package/dist/modules/auth/handler/client.client.d.ts.map +1 -1
- package/dist/modules/auth/handler/proxy.server.d.ts +13 -0
- package/dist/modules/auth/handler/proxy.server.d.ts.map +1 -0
- package/dist/modules/auth/handler/proxy.server.js +22 -0
- package/dist/modules/auth/handler/proxy.server.js.map +1 -0
- package/dist/modules/auth/handler/server.server.js +3 -1
- package/dist/modules/auth/handler/server.server.js.map +1 -1
- package/dist/modules/auth/lib/helpers.server.d.ts +1 -1
- package/dist/modules/auth/lib/helpers.server.d.ts.map +1 -1
- package/dist/modules/auth/lib/helpers.server.js +1 -4
- package/dist/modules/auth/lib/helpers.server.js.map +1 -1
- package/dist/modules/auth/lib/validators.d.ts +3 -3
- package/dist/modules/auth/lib/validators.d.ts.map +1 -1
- package/dist/modules/commands/components/alert-dialog-command.client.d.ts +10 -10
- package/dist/modules/commands/components/alert-dialog-command.client.d.ts.map +1 -1
- package/dist/modules/commands/components/click-command.client.d.ts +2 -2
- package/dist/modules/commands/components/click-command.client.d.ts.map +1 -1
- package/dist/modules/commands/components/command-trigger.client.d.ts +6 -6
- package/dist/modules/commands/components/command-trigger.client.d.ts.map +1 -1
- package/dist/modules/commands/components/dialog-command.client.d.ts +8 -8
- package/dist/modules/commands/components/dialog-command.client.d.ts.map +1 -1
- package/dist/modules/commands/components/dropdown-command.client.d.ts +5 -5
- package/dist/modules/commands/components/dropdown-command.client.d.ts.map +1 -1
- package/dist/modules/commands/components/empty-command.client.d.ts +2 -2
- package/dist/modules/commands/components/empty-command.client.d.ts.map +1 -1
- package/dist/modules/commands/components/form-dialog-command.client.d.ts +11 -11
- package/dist/modules/commands/components/form-dialog-command.client.d.ts.map +1 -1
- package/dist/modules/commands/menus/context-menu.client.d.ts +2 -2
- package/dist/modules/commands/menus/context-menu.client.d.ts.map +1 -1
- package/dist/modules/commands/menus/dropdown-menu.client.d.ts +3 -3
- package/dist/modules/commands/menus/dropdown-menu.client.d.ts.map +1 -1
- package/dist/modules/commands/menus/inline-menu.client.d.ts +3 -3
- package/dist/modules/commands/menus/inline-menu.client.d.ts.map +1 -1
- package/dist/modules/commands/menus/responsive-menu.client.d.ts +3 -3
- package/dist/modules/commands/menus/responsive-menu.client.d.ts.map +1 -1
- package/dist/modules/commands/utils/archive-command.client.d.ts +3 -3
- package/dist/modules/commands/utils/archive-command.client.d.ts.map +1 -1
- package/dist/modules/commands/utils/delete-command.client.d.ts +2 -2
- package/dist/modules/commands/utils/delete-command.client.d.ts.map +1 -1
- package/dist/modules/commands/utils/send-mail-command.client.d.ts +2 -2
- package/dist/modules/commands/utils/send-mail-command.client.d.ts.map +1 -1
- package/dist/modules/config/db/helpers.d.ts +4 -4
- package/dist/modules/config/db/helpers.d.ts.map +1 -1
- package/dist/modules/config/lib/resolve.server.d.ts +3 -0
- package/dist/modules/config/lib/resolve.server.d.ts.map +1 -1
- package/dist/modules/config/router/client.server.d.ts +2 -2
- package/dist/modules/config/router/context.server.d.ts +3 -0
- package/dist/modules/config/router/context.server.d.ts.map +1 -1
- package/dist/modules/config/router/init.server.d.ts +9 -6
- package/dist/modules/config/router/init.server.d.ts.map +1 -1
- package/dist/modules/data-tables/components/column-header.d.ts +2 -2
- package/dist/modules/data-tables/components/column-header.d.ts.map +1 -1
- package/dist/modules/data-tables/components/header.d.ts +4 -4
- package/dist/modules/data-tables/components/header.d.ts.map +1 -1
- package/dist/modules/data-tables/components/layout.d.ts +2 -2
- package/dist/modules/data-tables/components/layout.d.ts.map +1 -1
- package/dist/modules/data-tables/components/skeleton.d.ts +2 -2
- package/dist/modules/data-tables/components/skeleton.d.ts.map +1 -1
- package/dist/modules/data-tables/components/table.d.ts +7 -7
- package/dist/modules/data-tables/components/table.d.ts.map +1 -1
- package/dist/modules/data-tables/components/toolbar.d.ts +3 -3
- package/dist/modules/data-tables/components/toolbar.d.ts.map +1 -1
- package/dist/modules/data-tables/tables/data-table/components/table.d.ts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.ts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/table.d.ts +2 -2
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/combobox.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/combobox.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/date-input.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/date-input.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/date-picker.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/date-picker.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/editor.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/editor.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/input-toggle.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/input-toggle.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/input.client.d.ts +3 -3
- package/dist/modules/inline-edit/components/input.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/richtext.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/richtext.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/select.client.d.ts +6 -6
- package/dist/modules/inline-edit/components/select.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/switch.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/switch.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/components/toggle.client.d.ts +2 -2
- package/dist/modules/inline-edit/components/toggle.client.d.ts.map +1 -1
- package/dist/modules/inline-edit/hooks/context.client.d.ts +2 -2
- package/dist/modules/inline-edit/hooks/context.client.d.ts.map +1 -1
- package/dist/modules/uploads/components/button.client.d.ts +2 -2
- package/dist/modules/uploads/components/button.client.d.ts.map +1 -1
- package/dist/modules/uploads/components/images/grid.client.d.ts +2 -2
- package/dist/modules/uploads/components/images/grid.client.d.ts.map +1 -1
- package/dist/modules/uploads/components/images/input.client.d.ts +2 -2
- package/dist/modules/uploads/components/images/input.client.d.ts.map +1 -1
- package/dist/modules/uploads/components/preview-dialog.client.d.ts +2 -2
- package/dist/modules/uploads/components/preview-dialog.client.d.ts.map +1 -1
- package/dist/modules/uploads/components/zone.client.d.ts +2 -2
- package/dist/modules/uploads/components/zone.client.d.ts.map +1 -1
- package/dist/modules/uploads/lib/proxy.server.js +1 -1
- package/dist/modules/uploads/lib/route.server.js +1 -1
- package/dist/modules/uploads/lib/router.server.d.ts +31 -31
- package/dist/modules/uploads/lib/router.server.js +1 -1
- package/dist/modules/uploads/lib/validators.d.ts +51 -51
- package/package.json +2 -1
- package/src/components/layouts/admin-layout.tsx +2 -2
- package/src/components/layouts/not-found-page.tsx +9 -1
- package/src/components/layouts/not-found-section.tsx +10 -5
- package/src/modules/auth/components/auth-loading.tsx +1 -1
- package/src/modules/auth/components/login-page.client.tsx +42 -35
- package/src/modules/auth/entry.server.ts +1 -1
- package/src/modules/auth/handler/proxy.server.ts +28 -0
- package/src/modules/auth/handler/server.server.ts +5 -0
- package/src/modules/auth/lib/helpers.server.ts +1 -5
- package/dist/modules/auth/components/allowed.server.d.ts +0 -23
- package/dist/modules/auth/components/allowed.server.d.ts.map +0 -1
- package/dist/modules/auth/components/allowed.server.js +0 -24
- package/dist/modules/auth/components/allowed.server.js.map +0 -1
- package/dist/modules/auth/components/guard.js.map +0 -1
- package/src/modules/auth/components/allowed.server.tsx +0 -41
- /package/src/modules/auth/components/{guard.tsx → guard.client.tsx} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.client.d.ts","names":[],"sources":["../../../../src/modules/auth/handler/client.client.ts"],"sourcesContent":[],"mappings":";;;;;cAiBa;;;;;
|
|
1
|
+
{"version":3,"file":"client.client.d.ts","names":[],"sources":["../../../../src/modules/auth/handler/client.client.ts"],"sourcesContent":[],"mappings":";;;;;cAiBa;;;;;MAAA,OAEX,CAAA,EAAA,YAAA,GAAA,YAAA,GAAA;QAAA,MAAA,EAAA,kBAAA,GAAA,YAAA,GAAA,0BAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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YAAsW;kBAAgD;;;WAAoH;eAA4C;;qBAA6F;cAA6C;;0BAAA,kBAAA,CAAuF,oBAAA;;;;;qBAAA,kBAAA,CAAA;;;;;;;;;;;;;;;;;;;;+BAA+iC,YAAA;;cAAA,kBAAA,CAA0G,gBAAA,UAAA,cAAA;kBAAA,kBAAA,CAAsG,gBAAA;;;;sBAAyK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAHrmM,UAAA,UAAoB;KAEpB,aAAA,UAAuB,UAAA,CAAW,MAAA,CAAO"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { NextRequest, NextResponse } from "next/server";
|
|
2
|
+
|
|
3
|
+
//#region src/modules/auth/handler/proxy.server.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Create auth proxy
|
|
7
|
+
*/
|
|
8
|
+
declare function createAuthProxy(props: {
|
|
9
|
+
publicRoutes: string[];
|
|
10
|
+
}): (req: NextRequest) => NextResponse<unknown>;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { createAuthProxy };
|
|
13
|
+
//# sourceMappingURL=proxy.server.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proxy.server.d.ts","names":[],"sources":["../../../../src/modules/auth/handler/proxy.server.ts"],"sourcesContent":[],"mappings":";;;;;;AAQA;AAA+B,iBAAf,eAAA,CAAe,KAAA,EAAA;cAChB,EAAA,MAAA,EAAA;QAAW,EAAX,WAAW,EAAA,GAAA,YAAA,CAAA,OAAA,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { authCookiePrefix } from "./server.server.js";
|
|
2
|
+
import { getSessionCookie } from "better-auth/cookies";
|
|
3
|
+
import { NextResponse } from "next/server";
|
|
4
|
+
import { URLPattern } from "urlpattern-polyfill";
|
|
5
|
+
|
|
6
|
+
//#region src/modules/auth/handler/proxy.server.ts
|
|
7
|
+
/**
|
|
8
|
+
* Create auth proxy
|
|
9
|
+
*/
|
|
10
|
+
function createAuthProxy(props) {
|
|
11
|
+
return (req) => {
|
|
12
|
+
const pathname = req.nextUrl.pathname;
|
|
13
|
+
const isPublicRoute = props.publicRoutes.some((route) => new URLPattern({ pathname: route }).test({ pathname }));
|
|
14
|
+
const sessionCookie = getSessionCookie(req, { cookiePrefix: authCookiePrefix });
|
|
15
|
+
if (!isPublicRoute && !sessionCookie) return NextResponse.redirect(new URL("/auth/login", req.nextUrl));
|
|
16
|
+
return NextResponse.next();
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { createAuthProxy };
|
|
22
|
+
//# sourceMappingURL=proxy.server.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proxy.server.js","names":[],"sources":["../../../../src/modules/auth/handler/proxy.server.ts"],"sourcesContent":["import { getSessionCookie } from \"better-auth/cookies\";\nimport { NextRequest, NextResponse } from \"next/server\";\nimport { URLPattern } from \"urlpattern-polyfill\";\nimport { authCookiePrefix } from \"./server.server\";\n\n/**\n * Create auth proxy\n */\nexport function createAuthProxy(props: { publicRoutes: string[] }) {\n return (req: NextRequest) => {\n // 1. Check if the current route is protected or public\n const pathname = req.nextUrl.pathname;\n\n const isPublicRoute = props.publicRoutes.some((route) =>\n new URLPattern({ pathname: route }).test({ pathname }),\n );\n\n // 2. Check if a session cookie is present\n const sessionCookie = getSessionCookie(req, { cookiePrefix: authCookiePrefix });\n\n // 3. Redirect to /auth/login if the user is not authenticated\n if (!isPublicRoute && !sessionCookie) {\n return NextResponse.redirect(new URL(\"/auth/login\", req.nextUrl));\n }\n\n return NextResponse.next();\n };\n}\n"],"mappings":";;;;;;;;;AAQA,SAAgB,gBAAgB,OAAmC;AACjE,SAAQ,QAAqB;EAE3B,MAAM,WAAW,IAAI,QAAQ;EAE7B,MAAM,gBAAgB,MAAM,aAAa,MAAM,UAC7C,IAAI,WAAW,EAAE,UAAU,OAAO,CAAC,CAAC,KAAK,EAAE,UAAU,CAAC,CACvD;EAGD,MAAM,gBAAgB,iBAAiB,KAAK,EAAE,cAAc,kBAAkB,CAAC;AAG/E,MAAI,CAAC,iBAAiB,CAAC,cACrB,QAAO,aAAa,SAAS,IAAI,IAAI,eAAe,IAAI,QAAQ,CAAC;AAGnE,SAAO,aAAa,MAAM"}
|
|
@@ -7,7 +7,9 @@ import { nextCookies } from "better-auth/next-js";
|
|
|
7
7
|
import { admin, emailOTP } from "better-auth/plugins";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/auth/handler/server.server.ts
|
|
10
|
+
const authCookiePrefix = "tulip";
|
|
10
11
|
const createServerAuth = (config) => betterAuth({
|
|
12
|
+
advanced: { cookiePrefix: authCookiePrefix },
|
|
11
13
|
database: drizzleAdapter(config.db, {
|
|
12
14
|
provider: "pg",
|
|
13
15
|
schema: config.schema,
|
|
@@ -57,5 +59,5 @@ const createServerAuth = (config) => betterAuth({
|
|
|
57
59
|
});
|
|
58
60
|
|
|
59
61
|
//#endregion
|
|
60
|
-
export { createServerAuth };
|
|
62
|
+
export { authCookiePrefix, createServerAuth };
|
|
61
63
|
//# sourceMappingURL=server.server.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.server.js","names":["ForgetPasswordEmail"],"sources":["../../../../src/modules/auth/handler/server.server.ts"],"sourcesContent":["import \"server-cli-only\";\n\nimport ForgetPasswordEmail from \"@/components/emails/forget-password-email\";\nimport { url } from \"@/lib/utils/url\";\nimport { TDatabaseSchema } from \"@/modules/config/db/types\";\nimport { TulipConfig } from \"@/modules/config/lib/config.server\";\nimport { betterAuth } from \"better-auth\";\nimport { drizzleAdapter } from \"better-auth/adapters/drizzle\";\nimport { nextCookies } from \"better-auth/next-js\";\nimport { admin, emailOTP } from \"better-auth/plugins\";\nimport { Resend } from \"resend\";\n\ntype CreateServerAuthParams<TSchema extends TDatabaseSchema> = Pick<\n TulipConfig<TSchema>,\n \"email\" | \"auth\"\n> & {\n db: Parameters<typeof drizzleAdapter>[0];\n schema: Parameters<typeof drizzleAdapter>[1][\"schema\"];\n resend: Resend;\n};\n\nexport const createServerAuth = <TSchema extends TDatabaseSchema>(\n config: CreateServerAuthParams<TSchema>,\n) =>\n betterAuth({\n database: drizzleAdapter(config.db, {\n provider: \"pg\",\n schema: config.schema,\n usePlural: true,\n }),\n emailAndPassword: {\n enabled: true,\n },\n user: {\n changeEmail: {\n enabled: true,\n },\n additionalFields: {\n firstName: {\n type: \"string\",\n required: true,\n input: true,\n },\n lastName: {\n type: \"string\",\n required: true,\n input: true,\n },\n },\n },\n plugins: [\n nextCookies(),\n admin({\n ...config.auth,\n adminRoles: [\"admin\", \"developer\"],\n }),\n emailOTP({\n sendVerificationOTP: async ({ email, otp, type }) => {\n /**\n * Send a forget password mail\n */\n if (type === \"forget-password\") {\n const searchParams = new URLSearchParams();\n searchParams.set(\"email\", email);\n searchParams.set(\"otp\", otp);\n\n const resetPasswordHref = url(`/auth/reset-password?${searchParams.toString()}`);\n\n const result = await config.resend.emails.send({\n from: config.email.from,\n to: email,\n subject: \"Wachtwoord herstellen\",\n react: ForgetPasswordEmail({ resetPasswordHref }),\n });\n if (result.error) throw new Error(result.error.message);\n }\n },\n }),\n ],\n });\n\nexport type ServerAuth = ReturnType<typeof createServerAuth>;\n"],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"server.server.js","names":["ForgetPasswordEmail"],"sources":["../../../../src/modules/auth/handler/server.server.ts"],"sourcesContent":["import \"server-cli-only\";\n\nimport ForgetPasswordEmail from \"@/components/emails/forget-password-email\";\nimport { url } from \"@/lib/utils/url\";\nimport { TDatabaseSchema } from \"@/modules/config/db/types\";\nimport { TulipConfig } from \"@/modules/config/lib/config.server\";\nimport { betterAuth } from \"better-auth\";\nimport { drizzleAdapter } from \"better-auth/adapters/drizzle\";\nimport { nextCookies } from \"better-auth/next-js\";\nimport { admin, emailOTP } from \"better-auth/plugins\";\nimport { Resend } from \"resend\";\n\nexport const authCookiePrefix = \"tulip\";\n\ntype CreateServerAuthParams<TSchema extends TDatabaseSchema> = Pick<\n TulipConfig<TSchema>,\n \"email\" | \"auth\"\n> & {\n db: Parameters<typeof drizzleAdapter>[0];\n schema: Parameters<typeof drizzleAdapter>[1][\"schema\"];\n resend: Resend;\n};\n\nexport const createServerAuth = <TSchema extends TDatabaseSchema>(\n config: CreateServerAuthParams<TSchema>,\n) =>\n betterAuth({\n advanced: {\n cookiePrefix: authCookiePrefix,\n },\n database: drizzleAdapter(config.db, {\n provider: \"pg\",\n schema: config.schema,\n usePlural: true,\n }),\n emailAndPassword: {\n enabled: true,\n },\n user: {\n changeEmail: {\n enabled: true,\n },\n additionalFields: {\n firstName: {\n type: \"string\",\n required: true,\n input: true,\n },\n lastName: {\n type: \"string\",\n required: true,\n input: true,\n },\n },\n },\n plugins: [\n nextCookies(),\n admin({\n ...config.auth,\n adminRoles: [\"admin\", \"developer\"],\n }),\n emailOTP({\n sendVerificationOTP: async ({ email, otp, type }) => {\n /**\n * Send a forget password mail\n */\n if (type === \"forget-password\") {\n const searchParams = new URLSearchParams();\n searchParams.set(\"email\", email);\n searchParams.set(\"otp\", otp);\n\n const resetPasswordHref = url(`/auth/reset-password?${searchParams.toString()}`);\n\n const result = await config.resend.emails.send({\n from: config.email.from,\n to: email,\n subject: \"Wachtwoord herstellen\",\n react: ForgetPasswordEmail({ resetPasswordHref }),\n });\n if (result.error) throw new Error(result.error.message);\n }\n },\n }),\n ],\n });\n\nexport type ServerAuth = ReturnType<typeof createServerAuth>;\n"],"mappings":";;;;;;;;;AAYA,MAAa,mBAAmB;AAWhC,MAAa,oBACX,WAEA,WAAW;CACT,UAAU,EACR,cAAc,kBACf;CACD,UAAU,eAAe,OAAO,IAAI;EAClC,UAAU;EACV,QAAQ,OAAO;EACf,WAAW;EACZ,CAAC;CACF,kBAAkB,EAChB,SAAS,MACV;CACD,MAAM;EACJ,aAAa,EACX,SAAS,MACV;EACD,kBAAkB;GAChB,WAAW;IACT,MAAM;IACN,UAAU;IACV,OAAO;IACR;GACD,UAAU;IACR,MAAM;IACN,UAAU;IACV,OAAO;IACR;GACF;EACF;CACD,SAAS;EACP,aAAa;EACb,MAAM;GACJ,GAAG,OAAO;GACV,YAAY,CAAC,SAAS,YAAY;GACnC,CAAC;EACF,SAAS,EACP,qBAAqB,OAAO,EAAE,OAAO,KAAK,WAAW;;;;AAInD,OAAI,SAAS,mBAAmB;IAC9B,MAAM,eAAe,IAAI,iBAAiB;AAC1C,iBAAa,IAAI,SAAS,MAAM;AAChC,iBAAa,IAAI,OAAO,IAAI;IAE5B,MAAM,oBAAoB,IAAI,wBAAwB,aAAa,UAAU,GAAG;IAEhF,MAAM,SAAS,MAAM,OAAO,OAAO,OAAO,KAAK;KAC7C,MAAM,OAAO,MAAM;KACnB,IAAI;KACJ,SAAS;KACT,OAAOA,8BAAoB,EAAE,mBAAmB,CAAC;KAClD,CAAC;AACF,QAAI,OAAO,MAAO,OAAM,IAAI,MAAM,OAAO,MAAM,QAAQ;;KAG5D,CAAC;EACH;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.server.d.ts","names":[],"sources":["../../../../src/modules/auth/lib/helpers.server.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"helpers.server.d.ts","names":[],"sources":["../../../../src/modules/auth/lib/helpers.server.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;AAasB,iBAAA,UAAU,CAAA,gBAAiB,eAAjB,CAAA,CAAA;EAAA;AAAA,CAAA,EAE7B,IAF6B,CAExB,cAFwB,CAET,OAFS,CAAA,EAAA,MAAA,CAAA,CAAA,EAEQ,OAFR,CAAA;EAAA,OAAA,EAAA;IAAiB,EAAA,EAAA,MAAA;IAC/C,SAAA,MAAA;IACqB,SAAA,MAAA;IAAf,MAAA,EAAA,MAAA;IAAL,SAAA,MAAA;;;;;;;IAAqC,EAAA,EAAA,MAAA;IAAA,SAAA,MAAA;IAOxB,SAAU,MAAA;IAAA,KAAA,EAAA,MAAA;IAAiB,aAAA,EAAA,OAAA;IACvC,IAAA,EAAA,MAAA;IAAM,KAAA,CAAA,EAAA,MAAA,GAAA,IAAA,GAAA,SAAA,GAAA,SAAA;IAA0B,SAAA,EAAA,MAAA;IAAf,QAAA,EAAA,MAAA;IAAqC,MAAA,EAAA,OAAA,GAAA,IAAA,GAAA,SAAA;IACtD,IAAA,CAAA,EAAA,MAAA,GAAA,IAAA,GAAA,SAAA;IAAgB,SAAA,CAAA,EAAA,MAAA,GAAA,IAAA,GAAA,SAAA;IAAgB,UAAA,CAAA,MAAA,GAAA,IAAA,GAAA,SAAA;;CAAE,GAAA,IAAA,CAAA;AAkBtC;;;AACI,iBArBY,UAqBZ,CAAA,gBArBuC,eAqBvC,CAAA,CAAA;EAAA,IAAA;EAAA;CAAA,EApBiB,cAoBjB,CApBgC,OAoBhC,CAAA,GAAA;SAAqB,EApBiC,OAoBjC;;;CAAf,EAAA;MACN,EApBgB,gBAoBhB;IApBkC,OAoB1B,CAAA;MAAwC,EApBhB,oBAAA,CAAA,YAoBgB;;;;;AAAmB,iBAFjD,UAEiD,CAAA,gBAFtB,eAEsB,CAAA,CAAA;EAAA;AAAA,CAAA,EAD7D,cAC6D,CAD9C,OAC8C,CAAA,EAAA;EAAA,MAAA;EAAA;CAAA,EAAA;EAAA,MAAA,EAAA,MAAA;QAA3B,QAAQ;IAAmB"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { users } from "../db/schema.js";
|
|
2
2
|
import { ServerError } from "../../config/router/error.server.js";
|
|
3
3
|
import { eq } from "drizzle-orm";
|
|
4
|
-
import { redirect } from "next/navigation";
|
|
5
4
|
import "server-cli-only";
|
|
6
5
|
import { headers } from "next/headers";
|
|
7
6
|
|
|
@@ -10,9 +9,7 @@ import { headers } from "next/headers";
|
|
|
10
9
|
* Get the session
|
|
11
10
|
*/
|
|
12
11
|
async function getSession({ auth }) {
|
|
13
|
-
|
|
14
|
-
if (!session) redirect("/auth/login");
|
|
15
|
-
return session;
|
|
12
|
+
return auth.api.getSession({ headers: await headers() });
|
|
16
13
|
}
|
|
17
14
|
/**
|
|
18
15
|
* Create a user
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.server.js","names":[],"sources":["../../../../src/modules/auth/lib/helpers.server.ts"],"sourcesContent":["import \"server-cli-only\";\n\nimport { type TDatabaseSchema } from \"@/modules/config/db/types\";\nimport { GetTulipReturn } from \"@/modules/config/lib/resolve.server\";\nimport { ServerError } from \"@/modules/config/router/error.server\";\nimport { eq } from \"drizzle-orm\";\nimport { headers } from \"next/headers\";\nimport {
|
|
1
|
+
{"version":3,"file":"helpers.server.js","names":[],"sources":["../../../../src/modules/auth/lib/helpers.server.ts"],"sourcesContent":["import \"server-cli-only\";\n\nimport { type TDatabaseSchema } from \"@/modules/config/db/types\";\nimport { GetTulipReturn } from \"@/modules/config/lib/resolve.server\";\nimport { ServerError } from \"@/modules/config/router/error.server\";\nimport { eq } from \"drizzle-orm\";\nimport { headers } from \"next/headers\";\nimport { users } from \"../entry\";\nimport { CreateUserSchema, UpdateUserSchema } from \"./validators\";\n\n/**\n * Get the session\n */\nexport async function getSession<TSchema extends TDatabaseSchema>({\n auth,\n}: Pick<GetTulipReturn<TSchema>, \"auth\">) {\n return auth.api.getSession({ headers: await headers() });\n}\n\n/**\n * Create a user\n */\nexport function createUser<TSchema extends TDatabaseSchema>(\n { auth, headers }: GetTulipReturn<TSchema> & { headers: Headers },\n { body }: { body: CreateUserSchema },\n) {\n const { firstName, lastName } = body;\n\n return auth.api.createUser({\n headers,\n body: {\n ...body,\n name: `${firstName} ${lastName}`,\n data: { firstName, lastName },\n },\n });\n}\n\n/**\n * Update a user\n */\n\nexport async function updateUser<TSchema extends TDatabaseSchema>(\n { db }: GetTulipReturn<TSchema>,\n { userId, body }: { userId: string; body: Partial<UpdateUserSchema> },\n) {\n const [result] = await db.update(users).set(body).where(eq(users.id, userId)).returning();\n if (!result) {\n throw new ServerError(\"INTERNAL_SERVER_ERROR\", {\n message: \"Gebruiker kon niet worden aangemaakt\",\n });\n }\n\n return result;\n}\n"],"mappings":";;;;;;;;;;AAaA,eAAsB,WAA4C,EAChE,QACwC;AACxC,QAAO,KAAK,IAAI,WAAW,EAAE,SAAS,MAAM,SAAS,EAAE,CAAC;;;;;AAM1D,SAAgB,WACd,EAAE,MAAM,sBACR,EAAE,QACF;CACA,MAAM,EAAE,WAAW,aAAa;AAEhC,QAAO,KAAK,IAAI,WAAW;EACzB;EACA,MAAM;GACJ,GAAG;GACH,MAAM,GAAG,UAAU,GAAG;GACtB,MAAM;IAAE;IAAW;IAAU;GAC9B;EACF,CAAC;;;;;AAOJ,eAAsB,WACpB,EAAE,MACF,EAAE,QAAQ,QACV;CACA,MAAM,CAAC,UAAU,MAAM,GAAG,OAAO,MAAM,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,MAAM,IAAI,OAAO,CAAC,CAAC,WAAW;AACzF,KAAI,CAAC,OACH,OAAM,IAAI,YAAY,yBAAyB,EAC7C,SAAS,wCACV,CAAC;AAGJ,QAAO"}
|
|
@@ -31,8 +31,8 @@ declare const forgotPasswordSchema: z$1.ZodObject<{
|
|
|
31
31
|
* Create user schema
|
|
32
32
|
*/
|
|
33
33
|
declare const createUserSchema: z$1.ZodObject<{
|
|
34
|
-
email: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
|
|
35
34
|
image: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
35
|
+
email: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
|
|
36
36
|
firstName: z$1.ZodString;
|
|
37
37
|
lastName: z$1.ZodString;
|
|
38
38
|
password: z$1.ZodString;
|
|
@@ -43,10 +43,10 @@ type CreateUserSchema = z$1.infer<typeof createUserSchema>;
|
|
|
43
43
|
* Update user schema
|
|
44
44
|
*/
|
|
45
45
|
declare const updateUserSchema: z$1.ZodObject<{
|
|
46
|
-
|
|
46
|
+
image: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
47
47
|
firstName: z$1.ZodString;
|
|
48
48
|
lastName: z$1.ZodString;
|
|
49
|
-
|
|
49
|
+
email: z$1.ZodString;
|
|
50
50
|
}, {
|
|
51
51
|
out: {};
|
|
52
52
|
in: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.d.ts","names":[],"sources":["../../../../src/modules/auth/lib/validators.ts"],"sourcesContent":[],"mappings":";;;;;;;AAQA;AAKa,KALD,IAAA,GAcV,OAdwB,KAAA,CAAM,YAc9B;;;;cATW,aAAW,GAAA,CAAA;OAAA,cAAA;EAAA,QAAA,eAAA;AAcxB,CAAA,iBAAa,CAAA;;;;cAAA,qBAAmB,GAAA,CAAA;UAAA,eAAA;EAAA,oBAAA,eAAA;AAmBhC,CAAA,iBAAa,CAAA;;;;AAAoB,cAApB,oBAAoB,EAAA,GAAA,CAAA,SAAA,CAAA;EAAA,KAAA,cAAA;AAUjC,CAAA,iBAAa,CAAA;;;;cAAA,kBAAgB,GAAA,CAAA;;;;;;;;KAajB,gBAAA,GAAmB,GAAA,CAAE,aAAa;;;;AAAlC,cAKC,gBALe,EAKC,GAAA,CAAA,SALD,CAAA;EAAA,KAAA,
|
|
1
|
+
{"version":3,"file":"validators.d.ts","names":[],"sources":["../../../../src/modules/auth/lib/validators.ts"],"sourcesContent":[],"mappings":";;;;;;;AAQA;AAKa,KALD,IAAA,GAcV,OAdwB,KAAA,CAAM,YAc9B;;;;cATW,aAAW,GAAA,CAAA;OAAA,cAAA;EAAA,QAAA,eAAA;AAcxB,CAAA,iBAAa,CAAA;;;;cAAA,qBAAmB,GAAA,CAAA;UAAA,eAAA;EAAA,oBAAA,eAAA;AAmBhC,CAAA,iBAAa,CAAA;;;;AAAoB,cAApB,oBAAoB,EAAA,GAAA,CAAA,SAAA,CAAA;EAAA,KAAA,cAAA;AAUjC,CAAA,iBAAa,CAAA;;;;cAAA,kBAAgB,GAAA,CAAA;;;;;;;;KAajB,gBAAA,GAAmB,GAAA,CAAE,aAAa;;;;AAAlC,cAKC,gBALe,EAKC,GAAA,CAAA,SALD,CAAA;EAAA,KAAA,iBAAA,gBAAA,cAAA,CAAA,CAAA;WAAkB,eAAA;UAAb,eAAA;EAAK,KAAA,eAAA;AAKtC,CAAA,EAAA;EAKE,GAAA,EAAA,CAAA,CAAA;;;KAEU,gBAAA,GAAmB,GAAA,CAAE,aAAa;;;;AAPjB,cAYhB,oBAZgB,EAYI,GAAA,CAAA,SAZJ,CAAA;EAAA,QAAA,eAAA;AAO7B,CAAA,iBAAY,CAAA;AAAgB,KAShB,oBAAA,GAAuB,GAAA,CAAE,KATT,CAAA,OASsB,oBATtB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommandAction } from "../hooks/use-command-action.client.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime54 from "react/jsx-runtime";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { Keys } from "react-hotkeys-hook";
|
|
5
5
|
import { AlertDialogCancelProps, AlertDialogContentProps, AlertDialogProps } from "@radix-ui/react-alert-dialog";
|
|
@@ -11,7 +11,7 @@ import { AlertDialogCancelProps, AlertDialogContentProps, AlertDialogProps } fro
|
|
|
11
11
|
declare function CommandAlertDialog({
|
|
12
12
|
children,
|
|
13
13
|
...props
|
|
14
|
-
}: AlertDialogProps):
|
|
14
|
+
}: AlertDialogProps): react_jsx_runtime54.JSX.Element;
|
|
15
15
|
/**
|
|
16
16
|
* CommandAlertDialogTrigger
|
|
17
17
|
*/
|
|
@@ -28,49 +28,49 @@ declare function CommandAlertDialogTrigger({
|
|
|
28
28
|
children,
|
|
29
29
|
disabled,
|
|
30
30
|
...props
|
|
31
|
-
}: CommandAlertDialogTriggerProps):
|
|
31
|
+
}: CommandAlertDialogTriggerProps): react_jsx_runtime54.JSX.Element | undefined;
|
|
32
32
|
/**
|
|
33
33
|
* CommandAlertDialogContent
|
|
34
34
|
*/
|
|
35
35
|
declare function CommandAlertDialogContent({
|
|
36
36
|
children,
|
|
37
37
|
...props
|
|
38
|
-
}: AlertDialogContentProps):
|
|
38
|
+
}: AlertDialogContentProps): react_jsx_runtime54.JSX.Element;
|
|
39
39
|
/**
|
|
40
40
|
* CommandAlertDialogHeader
|
|
41
41
|
*/
|
|
42
42
|
declare function CommandAlertDialogHeader({
|
|
43
43
|
children,
|
|
44
44
|
...props
|
|
45
|
-
}: React.HTMLAttributes<HTMLElement>):
|
|
45
|
+
}: React.HTMLAttributes<HTMLElement>): react_jsx_runtime54.JSX.Element;
|
|
46
46
|
/**
|
|
47
47
|
* CommandAlertDialogTitle
|
|
48
48
|
*/
|
|
49
49
|
declare function CommandAlertDialogTitle({
|
|
50
50
|
children,
|
|
51
51
|
...props
|
|
52
|
-
}: React.HTMLAttributes<HTMLElement>):
|
|
52
|
+
}: React.HTMLAttributes<HTMLElement>): react_jsx_runtime54.JSX.Element;
|
|
53
53
|
/**
|
|
54
54
|
* CommandAlertDialogDescription
|
|
55
55
|
*/
|
|
56
56
|
declare function CommandAlertDialogDescription({
|
|
57
57
|
children,
|
|
58
58
|
...props
|
|
59
|
-
}: React.HTMLAttributes<HTMLElement>):
|
|
59
|
+
}: React.HTMLAttributes<HTMLElement>): react_jsx_runtime54.JSX.Element;
|
|
60
60
|
/**
|
|
61
61
|
* CommandAlertDialogFooter
|
|
62
62
|
*/
|
|
63
63
|
declare function CommandAlertDialogFooter({
|
|
64
64
|
children,
|
|
65
65
|
...props
|
|
66
|
-
}: React.HTMLAttributes<HTMLElement>):
|
|
66
|
+
}: React.HTMLAttributes<HTMLElement>): react_jsx_runtime54.JSX.Element;
|
|
67
67
|
/**
|
|
68
68
|
* CommandAlertDialogCancel
|
|
69
69
|
*/
|
|
70
70
|
declare function CommandAlertDialogCancel({
|
|
71
71
|
children,
|
|
72
72
|
...props
|
|
73
|
-
}: AlertDialogCancelProps):
|
|
73
|
+
}: AlertDialogCancelProps): react_jsx_runtime54.JSX.Element;
|
|
74
74
|
/**
|
|
75
75
|
* CommandAlertDialogAction
|
|
76
76
|
*/
|
|
@@ -87,7 +87,7 @@ declare function CommandAlertDialogAction({
|
|
|
87
87
|
children,
|
|
88
88
|
disabled,
|
|
89
89
|
...props
|
|
90
|
-
}: CommandAlertDialogActionProps):
|
|
90
|
+
}: CommandAlertDialogActionProps): react_jsx_runtime54.JSX.Element;
|
|
91
91
|
//#endregion
|
|
92
92
|
export { CommandAlertDialog, CommandAlertDialogAction, CommandAlertDialogCancel, CommandAlertDialogContent, CommandAlertDialogDescription, CommandAlertDialogFooter, CommandAlertDialogHeader, CommandAlertDialogTitle, CommandAlertDialogTrigger };
|
|
93
93
|
//# sourceMappingURL=alert-dialog-command.client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-dialog-command.client.d.ts","names":[],"sources":["../../../../src/modules/commands/components/alert-dialog-command.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;AA0CgB,iBAAA,kBAAA,CAAkB;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAAyB,gBAAzB,CAAA,EAAyC,
|
|
1
|
+
{"version":3,"file":"alert-dialog-command.client.d.ts","names":[],"sources":["../../../../src/modules/commands/components/alert-dialog-command.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;AA0CgB,iBAAA,kBAAA,CAAkB;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAAyB,gBAAzB,CAAA,EAAyC,mBAAA,CAAA,GAAA,CAAA,OAAzC;;;;KAe7B,8BAAA,GAfsE;EAAA,QAAA,EAgB/D,KAAA,CAAM,SAhByD;EAetE,SAAA,CAAA,EAAA,MAAA;EAA8B,KAAA,CAAA,EAAA,MAAA;QACvB,CAAA,EAGD,IAHO;UAGP,CAAA,EAAA,OAAA;CAAI;AAIC,iBAAA,yBAAA,CAAyB;EAAA,KAAA;EAAA,MAAA;EAAA,QAAA;EAAA,QAAA;EAAA,GAAA;A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gCpB,wBAAA,CAhCoB;EAAA,MAAA;EAAA,OAAA;EAAA,QAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAsCjC,6BAtCiC,CAAA,EAsCJ,mBAAA,CAAA,GAAA,CAAA,OAtCI"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommandAction } from "../hooks/use-command-action.client.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime63 from "react/jsx-runtime";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { Keys } from "react-hotkeys-hook";
|
|
5
5
|
|
|
@@ -21,7 +21,7 @@ declare function CommandClick({
|
|
|
21
21
|
hotkey,
|
|
22
22
|
disabled,
|
|
23
23
|
...props
|
|
24
|
-
}: CommandClickProps):
|
|
24
|
+
}: CommandClickProps): react_jsx_runtime63.JSX.Element | null;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { CommandClick, CommandClickProps };
|
|
27
27
|
//# sourceMappingURL=click-command.client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"click-command.client.d.ts","names":[],"sources":["../../../../src/modules/commands/components/click-command.client.tsx"],"sourcesContent":[],"mappings":";;;;;;KAWY,iBAAA;YACA,KAAA,CAAM;;EADN,QAAA,CAAA,EAAA,OAAA;EAAiB,MAAA,EAInB,aAJmB;SACjB,CAAA,EAAM,MAAA;OAGR,CAAA,EAAA,MAAA;QAGC,CAAA,EAAA,IAAA;CAAI;AAGC,iBAAA,YAAA,CAAY;EAAA,QAAA;EAAA,MAAA;EAAA,OAAA;EAAA,KAAA;EAAA,MAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAQzB,iBARyB,CAAA,EAQR,
|
|
1
|
+
{"version":3,"file":"click-command.client.d.ts","names":[],"sources":["../../../../src/modules/commands/components/click-command.client.tsx"],"sourcesContent":[],"mappings":";;;;;;KAWY,iBAAA;YACA,KAAA,CAAM;;EADN,QAAA,CAAA,EAAA,OAAA;EAAiB,MAAA,EAInB,aAJmB;SACjB,CAAA,EAAM,MAAA;OAGR,CAAA,EAAA,MAAA;QAGC,CAAA,EAAA,IAAA;CAAI;AAGC,iBAAA,YAAA,CAAY;EAAA,QAAA;EAAA,MAAA;EAAA,OAAA;EAAA,KAAA;EAAA,MAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAQzB,iBARyB,CAAA,EAQR,mBAAA,CAAA,GAAA,CAAA,OAAA,GARQ,IAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime64 from "react/jsx-runtime";
|
|
2
|
+
import * as react0 from "react";
|
|
3
3
|
import { PropsWithChildren } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/commands/components/command-trigger.client.d.ts
|
|
@@ -9,7 +9,7 @@ import { PropsWithChildren } from "react";
|
|
|
9
9
|
type CommandTriggerContextValue = {
|
|
10
10
|
label?: string;
|
|
11
11
|
};
|
|
12
|
-
declare const CommandTriggerContext:
|
|
12
|
+
declare const CommandTriggerContext: react0.Context<CommandTriggerContextValue>;
|
|
13
13
|
/**
|
|
14
14
|
* Command trigger
|
|
15
15
|
*/
|
|
@@ -18,17 +18,17 @@ declare function CommandTrigger({
|
|
|
18
18
|
children
|
|
19
19
|
}: PropsWithChildren<{
|
|
20
20
|
label?: string;
|
|
21
|
-
}>):
|
|
21
|
+
}>): react_jsx_runtime64.JSX.Element;
|
|
22
22
|
/**
|
|
23
23
|
* Command label
|
|
24
24
|
*/
|
|
25
|
-
declare function CommandLabel():
|
|
25
|
+
declare function CommandLabel(): react_jsx_runtime64.JSX.Element | null;
|
|
26
26
|
/**
|
|
27
27
|
* Command icon
|
|
28
28
|
*/
|
|
29
29
|
declare function CommandIcon({
|
|
30
30
|
children
|
|
31
|
-
}: PropsWithChildren):
|
|
31
|
+
}: PropsWithChildren): react_jsx_runtime64.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { CommandIcon, CommandLabel, CommandTrigger, CommandTriggerContext };
|
|
34
34
|
//# sourceMappingURL=command-trigger.client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-trigger.client.d.ts","names":[],"sources":["../../../../src/modules/commands/components/command-trigger.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;KAcK,0BAAA;EAAA,KAAA,CAAA,EAAA,MAAA;AAIL,CAAA;AAAoF,cAAvE,qBAAuE,EAAlD,
|
|
1
|
+
{"version":3,"file":"command-trigger.client.d.ts","names":[],"sources":["../../../../src/modules/commands/components/command-trigger.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;KAcK,0BAAA;EAAA,KAAA,CAAA,EAAA,MAAA;AAIL,CAAA;AAAoF,cAAvE,qBAAuE,EAAlD,MAAA,CAAA,OAAkD,CAAlD,0BAAkD,CAAA;;;;AAKpE,iBAAA,cAAA,CAAc;EAAA,KAAA;EAAA;CAAA,EAAsB,iBAAtB,CAAA;EAAA,KAAA,CAAA,EAAA,MAAA;KAA2D,mBAAA,CAAA,GAAA,CAAA,OAAxD;;;;AAAwD,iBAmBzE,YAAA,CAAA,CAnByE,EAmB7D,mBAAA,CAAA,GAAA,CAAA,OAAA,GAnB6D,IAAA;AAmBzF;AAcA;;AAA8B,iBAAd,WAAA,CAAc;EAAA;AAAA,CAAA,EAAY,iBAAZ,CAAA,EAA6B,mBAAA,CAAA,GAAA,CAAA,OAA7B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime67 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { DialogContentProps, DialogProps } from "@radix-ui/react-dialog";
|
|
4
4
|
import { Keys } from "react-hotkeys-hook";
|
|
@@ -10,7 +10,7 @@ import { Keys } from "react-hotkeys-hook";
|
|
|
10
10
|
declare function CommandDialog({
|
|
11
11
|
children,
|
|
12
12
|
...props
|
|
13
|
-
}: DialogProps):
|
|
13
|
+
}: DialogProps): react_jsx_runtime67.JSX.Element;
|
|
14
14
|
/**
|
|
15
15
|
* CommandDialogTrigger
|
|
16
16
|
*/
|
|
@@ -27,42 +27,42 @@ declare function CommandDialogTrigger({
|
|
|
27
27
|
children,
|
|
28
28
|
disabled,
|
|
29
29
|
...props
|
|
30
|
-
}: CommandDialogTriggerProps):
|
|
30
|
+
}: CommandDialogTriggerProps): react_jsx_runtime67.JSX.Element | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* CommandDialogContent
|
|
33
33
|
*/
|
|
34
34
|
declare function CommandDialogContent({
|
|
35
35
|
children,
|
|
36
36
|
...props
|
|
37
|
-
}: DialogContentProps):
|
|
37
|
+
}: DialogContentProps): react_jsx_runtime67.JSX.Element;
|
|
38
38
|
/**
|
|
39
39
|
* CommandDialogHeader
|
|
40
40
|
*/
|
|
41
41
|
declare function CommandDialogHeader({
|
|
42
42
|
children,
|
|
43
43
|
...props
|
|
44
|
-
}: React.HTMLAttributes<HTMLElement>):
|
|
44
|
+
}: React.HTMLAttributes<HTMLElement>): react_jsx_runtime67.JSX.Element;
|
|
45
45
|
/**
|
|
46
46
|
* CommandDialogTitle
|
|
47
47
|
*/
|
|
48
48
|
declare function CommandDialogTitle({
|
|
49
49
|
children,
|
|
50
50
|
...props
|
|
51
|
-
}: React.HTMLAttributes<HTMLElement>):
|
|
51
|
+
}: React.HTMLAttributes<HTMLElement>): react_jsx_runtime67.JSX.Element;
|
|
52
52
|
/**
|
|
53
53
|
* CommandDialogDescription
|
|
54
54
|
*/
|
|
55
55
|
declare function CommandDialogDescription({
|
|
56
56
|
children,
|
|
57
57
|
...props
|
|
58
|
-
}: React.HTMLAttributes<HTMLElement>):
|
|
58
|
+
}: React.HTMLAttributes<HTMLElement>): react_jsx_runtime67.JSX.Element;
|
|
59
59
|
/**
|
|
60
60
|
* CommandDialogFooter
|
|
61
61
|
*/
|
|
62
62
|
declare function CommandDialogFooter({
|
|
63
63
|
children,
|
|
64
64
|
...props
|
|
65
|
-
}: React.HTMLAttributes<HTMLElement>):
|
|
65
|
+
}: React.HTMLAttributes<HTMLElement>): react_jsx_runtime67.JSX.Element;
|
|
66
66
|
//#endregion
|
|
67
67
|
export { CommandDialog, CommandDialogContent, CommandDialogDescription, CommandDialogFooter, CommandDialogHeader, CommandDialogTitle, CommandDialogTrigger };
|
|
68
68
|
//# sourceMappingURL=dialog-command.client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-command.client.d.ts","names":[],"sources":["../../../../src/modules/commands/components/dialog-command.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAkCgB,iBAAA,aAAA,CAAa;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAAyB,WAAzB,CAAA,EAAoC,
|
|
1
|
+
{"version":3,"file":"dialog-command.client.d.ts","names":[],"sources":["../../../../src/modules/commands/components/dialog-command.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAkCgB,iBAAA,aAAA,CAAa;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAAyB,WAAzB,CAAA,EAAoC,mBAAA,CAAA,GAAA,CAAA,OAApC;;;;KAexB,yBAAA,GAf4D;EAAA,QAAA,EAgBrD,KAAA,CAAM,SAhB+C;EAe5D,SAAA,CAAA,EAAA,MAAA;EAAyB,KAAA,CAAA,EAAA,MAAA;QAClB,CAAA,EAGD,IAHO;UAGP,CAAA,EAAA,OAAA;CAAI;AAIC,iBAAA,oBAAA,CAAoB;EAAA,KAAA;EAAA,MAAA;EAAA,QAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAMjC,yBANiC,CAAA,EAMR,mBAAA,CAAA,GAAA,CAAA,OAAA,GANQ,SAAA;;;;AAGlC,iBAmEc,oBAAA,CAnEd;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAmE2D,kBAnE3D,CAAA,EAmE6E,mBAAA,CAAA,GAAA,CAAA,OAnE7E;;;;AAG0B,iBAuEZ,mBAAA,CAvEY;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAuEgC,KAAA,CAAM,cAvEtC,CAuEqD,WAvErD,CAAA,CAAA,EAuEiE,mBAAA,CAAA,GAAA,CAAA,OAvEjE;AAgE5B;;;AAA6D,iBAc7C,kBAAA,CAd6C;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAcF,KAAA,CAAM,cAdJ,CAcmB,WAdnB,CAAA,CAAA,EAc+B,mBAAA,CAAA,GAAA,CAAA,OAd/B;;;AAO7D;AAAmC,iBAcnB,wBAAA,CAdmB;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAiBhC,KAAA,CAAM,cAjB0B,CAiBX,WAjBW,CAAA,CAAA,EAiBC,mBAAA,CAAA,GAAA,CAAA,OAjBD;;;;AAA0D,iBAwB7E,mBAAA,CAxB6E;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAwBjC,KAAA,CAAM,cAxB2B,CAwBZ,WAxBY,CAAA,CAAA,EAwBA,mBAAA,CAAA,GAAA,CAAA,OAxBA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommandAction } from "../hooks/use-command-action.client.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime74 from "react/jsx-runtime";
|
|
3
3
|
import React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/commands/components/dropdown-command.client.d.ts
|
|
@@ -13,7 +13,7 @@ type CommandDropdownProps = {
|
|
|
13
13
|
declare function CommandDropdown({
|
|
14
14
|
children,
|
|
15
15
|
...props
|
|
16
|
-
}: CommandDropdownProps):
|
|
16
|
+
}: CommandDropdownProps): react_jsx_runtime74.JSX.Element | null;
|
|
17
17
|
/**
|
|
18
18
|
* CommandDropdownContent
|
|
19
19
|
*/
|
|
@@ -24,7 +24,7 @@ type CommandDropdownContentProps = {
|
|
|
24
24
|
declare function CommandDropdownContent({
|
|
25
25
|
children,
|
|
26
26
|
...props
|
|
27
|
-
}: CommandDropdownContentProps):
|
|
27
|
+
}: CommandDropdownContentProps): react_jsx_runtime74.JSX.Element | null;
|
|
28
28
|
/**
|
|
29
29
|
* CommandDropdownTrigger
|
|
30
30
|
*/
|
|
@@ -39,7 +39,7 @@ declare function CommandDropdownTrigger({
|
|
|
39
39
|
disabled,
|
|
40
40
|
children,
|
|
41
41
|
...props
|
|
42
|
-
}: CommandDropdownTriggerProps):
|
|
42
|
+
}: CommandDropdownTriggerProps): react_jsx_runtime74.JSX.Element | null;
|
|
43
43
|
/**
|
|
44
44
|
* CommandDropdownItem
|
|
45
45
|
*/
|
|
@@ -54,7 +54,7 @@ declare function CommandDropdownItem({
|
|
|
54
54
|
message,
|
|
55
55
|
children,
|
|
56
56
|
...props
|
|
57
|
-
}: CommandDropdownItemProps):
|
|
57
|
+
}: CommandDropdownItemProps): react_jsx_runtime74.JSX.Element | null;
|
|
58
58
|
//#endregion
|
|
59
59
|
export { CommandDropdown, CommandDropdownContent, CommandDropdownItem, CommandDropdownProps, CommandDropdownTrigger };
|
|
60
60
|
//# sourceMappingURL=dropdown-command.client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-command.client.d.ts","names":[],"sources":["../../../../src/modules/commands/components/dropdown-command.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAqCY,KAAA,oBAAA,GAAoB;EAKhB,QAAA,EAJJ,KAAA,CAAM,SAIa;EAAA,SAAA,CAAA,EAAA,MAAA;;AAAyB,iBAAxC,eAAA,CAAwC;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAAA,oBAAA,CAAA,EAAoB,
|
|
1
|
+
{"version":3,"file":"dropdown-command.client.d.ts","names":[],"sources":["../../../../src/modules/commands/components/dropdown-command.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAqCY,KAAA,oBAAA,GAAoB;EAKhB,QAAA,EAJJ,KAAA,CAAM,SAIa;EAAA,SAAA,CAAA,EAAA,MAAA;;AAAyB,iBAAxC,eAAA,CAAwC;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAAA,oBAAA,CAAA,EAAoB,mBAAA,CAAA,GAAA,CAAA,OAAA,GAApB,IAAA;;;AAmCvD;AAUD,KALK,2BAAA,GAKiC;EAAA,QAAA,EAJ1B,KAAA,CAAM,SAIoB;WAAG,CAAA,EAAA,MAAA;;AAAiD,iBAA1E,sBAAA,CAA0E;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAA3B,2BAA2B,CAAA,EAAA,mBAAA,CAAA,GAAA,CAAA,OAAA,GAAA,IAAA;;AAgBzF;AAYD;KAPK,2BAAA,GAOiC;UACpC,EAPU,KAAA,CAAM,SAOhB;WACA,CAAA,EAAA,MAAA;OACA,CAAA,EAAA,MAAA;UAEC,CAAA,EAAA,OAAA;;AAA2B,iBALd,sBAAA,CAKc;EAAA,KAAA;EAAA,QAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAA3B,2BAA2B,CAAA,EAAA,mBAAA,CAAA,GAAA,CAAA,OAAA,GAAA,IAAA;AAwC7B;;;KAKI,wBAAA,GAGa;EAAS,MAAA,EAFjB,aAEiB;EAIX,OAAA,CAAA,EAAA,MAAA;EAAmB,QAAA,EAJvB,KAAA,CAAM,SAIiB;WACjC,CAAA,EAAA,MAAA;;AAEA,iBAHc,mBAAA,CAGd;EAAA,MAAA;EAAA,OAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAEC,wBAFD,CAAA,EAEyB,mBAAA,CAAA,GAAA,CAAA,OAAA,GAFzB,IAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime78 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/commands/components/empty-command.client.d.ts
|
|
@@ -13,7 +13,7 @@ declare function CommandEmpty({
|
|
|
13
13
|
children,
|
|
14
14
|
disabled,
|
|
15
15
|
...props
|
|
16
|
-
}: CommandEmptyProps):
|
|
16
|
+
}: CommandEmptyProps): react_jsx_runtime78.JSX.Element | null;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { CommandEmpty, CommandEmptyProps };
|
|
19
19
|
//# sourceMappingURL=empty-command.client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty-command.client.d.ts","names":[],"sources":["../../../../src/modules/commands/components/empty-command.client.tsx"],"sourcesContent":[],"mappings":";;;;KASY,iBAAA;YACA,KAAA,CAAM;;EADN,QAAA,CAAA,EAAA,OAAA;EAOI,KAAA,CAAA,EAAA,MAAA;CAAY;AAAG,iBAAf,YAAA,CAAe;EAAA,KAAA;EAAA,QAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAAuC,iBAAvC,CAAA,EAAwD,
|
|
1
|
+
{"version":3,"file":"empty-command.client.d.ts","names":[],"sources":["../../../../src/modules/commands/components/empty-command.client.tsx"],"sourcesContent":[],"mappings":";;;;KASY,iBAAA;YACA,KAAA,CAAM;;EADN,QAAA,CAAA,EAAA,OAAA;EAOI,KAAA,CAAA,EAAA,MAAA;CAAY;AAAG,iBAAf,YAAA,CAAe;EAAA,KAAA;EAAA,QAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAAuC,iBAAvC,CAAA,EAAwD,mBAAA,CAAA,GAAA,CAAA,OAAA,GAAxD,IAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommandAction } from "../hooks/use-command-action.client.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime79 from "react/jsx-runtime";
|
|
3
3
|
import React, { ComponentProps } from "react";
|
|
4
4
|
import { FieldValues, Form } from "react-hook-form";
|
|
5
5
|
import { DialogContentProps, DialogProps } from "@radix-ui/react-dialog";
|
|
@@ -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_runtime79.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_runtime79.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_runtime79.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_runtime79.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_runtime79.JSX.Element;
|
|
54
54
|
declare const CommandFormDialogContentProvider: typeof Form;
|
|
55
55
|
/**
|
|
56
56
|
* CommandFormDialogContent
|
|
@@ -65,7 +65,7 @@ declare function CommandFormDialogContent<TSchema extends FieldValues>({
|
|
|
65
65
|
message,
|
|
66
66
|
children,
|
|
67
67
|
...props
|
|
68
|
-
}: CommandFormDialogContentProps<TSchema>):
|
|
68
|
+
}: CommandFormDialogContentProps<TSchema>): react_jsx_runtime79.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_runtime79.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_runtime79.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_runtime79.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_runtime79.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.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-dialog-command.client.d.ts","names":[],"sources":["../../../../src/modules/commands/components/form-dialog-command.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;AAqCgB,iBAAA,iBAAA,CAAiB;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAAyB,WAAzB,CAAA,EAAoC,
|
|
1
|
+
{"version":3,"file":"form-dialog-command.client.d.ts","names":[],"sources":["../../../../src/modules/commands/components/form-dialog-command.client.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;AAqCgB,iBAAA,iBAAA,CAAiB;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAAyB,WAAzB,CAAA,EAAoC,mBAAA,CAAA,GAAA,CAAA,OAApC;;;;KAe5B,6BAAA,GAfgE;EAAA,QAAA,EAgBzD,KAAA,CAAM,SAhBmD;EAehE,SAAA,CAAA,EAAA,MAAA;EAA6B,KAAA,CAAA,EAAA,MAAA;UACtB,CAAM,EAAA,OAAA;QAIP,CAAA,EAAA,IAAA;CAAI;AAGC,iBAAA,wBAAA,CAAwB;EAAA,KAAA;EAAA,MAAA;EAAA,QAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAMrC,6BANqC,CAAA,EAMR,mBAAA,CAAA,GAAA,CAAA,OAAA,GANQ,SAAA;;;;AAGtC,iBAmEc,uBAAA,CAnEd;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAmE8D,KAAA,CAAM,cAnEpE,CAmEmF,WAnEnF,CAAA,CAAA,EAmE+F,mBAAA,CAAA,GAAA,CAAA,OAnE/F;;;;AAG8B,iBAuEhB,sBAAA,CAvEgB;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAuE+B,KAAA,CAAM,cAvErC,CAuEoD,WAvEpD,CAAA,CAAA,EAuEgE,mBAAA,CAAA,GAAA,CAAA,OAvEhE;AAgEhC;;;AAAqF,iBAcrE,4BAAA,CAdqE;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAiBlF,KAAA,CAAM,cAjB4E,CAiB7D,WAjB6D,CAAA,CAAA,EAiBjD,mBAAA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context-menu.js";
|
|
2
2
|
import { SingleCommandMenuProps } from "../hooks/use-command-menu.client.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime89 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_runtime89.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { ContextCommandMenu, ContextCommandMenuContent, ContextCommandMenuTrigger };
|
|
27
27
|
//# sourceMappingURL=context-menu.client.d.ts.map
|