@vitnode/core 1.2.0-canary.54 → 1.2.0-canary.55
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/scripts/get-config.d.ts.map +1 -1
- package/dist/scripts/plugin.d.ts.map +1 -1
- package/dist/scripts/prepare-database.d.ts.map +1 -1
- package/dist/scripts/prepare-plugins-files.d.ts.map +1 -1
- package/dist/scripts/scripts.js +1 -1
- package/dist/scripts/shared/file-utils.d.ts.map +1 -1
- package/dist/src/api/adapters/cron/node-cron.adapter.d.ts.map +1 -1
- package/dist/src/api/adapters/sso/discord.d.ts.map +1 -1
- package/dist/src/api/adapters/sso/facebook.d.ts.map +1 -1
- package/dist/src/api/adapters/sso/google.d.ts.map +1 -1
- package/dist/src/api/config.d.ts.map +1 -1
- package/dist/src/api/config.js +2 -1
- package/dist/src/api/lib/cron.d.ts +4 -4
- package/dist/src/api/lib/cron.d.ts.map +1 -1
- package/dist/src/api/lib/logger-middleware.js +1 -1
- package/dist/src/api/lib/module.d.ts +2 -2
- package/dist/src/api/lib/module.d.ts.map +1 -1
- package/dist/src/api/lib/plugin.d.ts +1 -1
- package/dist/src/api/lib/plugin.d.ts.map +1 -1
- package/dist/src/api/lib/route.d.ts.map +1 -1
- package/dist/src/api/lib/with-pagination.d.ts +1 -1
- package/dist/src/api/lib/with-pagination.d.ts.map +1 -1
- package/dist/src/api/middlewares/cron-auth.middleware.d.ts.map +1 -1
- package/dist/src/api/middlewares/global.middleware.d.ts +6 -6
- package/dist/src/api/middlewares/global.middleware.d.ts.map +1 -1
- package/dist/src/api/middlewares/global.middleware.js +0 -1
- package/dist/src/api/models/device.d.ts.map +1 -1
- package/dist/src/api/models/device.js +1 -1
- package/dist/src/api/models/email.d.ts.map +1 -1
- package/dist/src/api/models/email.js +1 -2
- package/dist/src/api/models/session-admin.d.ts.map +1 -1
- package/dist/src/api/models/session.d.ts.map +1 -1
- package/dist/src/api/models/sso.d.ts.map +1 -1
- package/dist/src/api/models/sso.js +1 -1
- package/dist/src/api/models/user/get-user-by-id.d.ts.map +1 -1
- package/dist/src/api/models/user/sign-in-with-passwords.d.ts.map +1 -1
- package/dist/src/api/models/user/sign-up.d.ts.map +1 -1
- package/dist/src/api/models/user/sign-up.js +1 -0
- package/dist/src/api/models/user.d.ts.map +1 -1
- package/dist/src/api/modules/admin/admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/advanced/advanced.admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/advanced/cron/cron.admin.module.d.ts.map +1 -1
- package/dist/src/api/modules/admin/advanced/cron/routes/get.route.d.ts.map +1 -1
- package/dist/src/api/modules/admin/advanced/cron/routes/run.route.d.ts.map +1 -1
- package/dist/src/api/modules/cron/cron/clean.cron.d.ts.map +1 -1
- package/dist/src/api/modules/cron/cron.module.d.ts.map +1 -1
- package/dist/src/api/modules/cron/helpers/process-cron-jobs.d.ts +10 -10
- package/dist/src/api/modules/cron/helpers/process-cron-jobs.d.ts.map +1 -1
- package/dist/src/api/modules/cron/helpers/process-cron-jobs.js +3 -3
- package/dist/src/api/modules/cron/routes/cron.route.d.ts.map +1 -1
- package/dist/src/api/modules/cron/routes/cron.route.js +1 -1
- package/dist/src/app_admin/core/advanced/cron/page.d.ts.map +1 -1
- package/dist/src/app_admin/core/advanced/cron/page.js +3 -3
- package/dist/src/app_admin/core/debug/page.js +1 -1
- package/dist/src/app_admin/core/users/page.d.ts.map +1 -1
- package/dist/src/app_admin/core/users/page.js +1 -1
- package/dist/src/components/confirm-action/confirm-action-alert-dialog.js +1 -1
- package/dist/src/components/confirm-action/content.d.ts.map +1 -1
- package/dist/src/components/confirm-action/content.js +1 -0
- package/dist/src/components/form/auto-form.d.ts.map +1 -1
- package/dist/src/components/form/auto-form.js +0 -1
- package/dist/src/components/form/fields/checkbox.d.ts +1 -1
- package/dist/src/components/form/fields/checkbox.d.ts.map +1 -1
- package/dist/src/components/form/fields/combobox-async.d.ts.map +1 -1
- package/dist/src/components/form/fields/combobox.d.ts.map +1 -1
- package/dist/src/components/form/fields/input.d.ts +1 -1
- package/dist/src/components/form/fields/input.d.ts.map +1 -1
- package/dist/src/components/form/fields/select.d.ts.map +1 -1
- package/dist/src/components/form/fields/switch.js +1 -1
- package/dist/src/components/switchers/langs/language-switcher.d.ts.map +1 -1
- package/dist/src/components/table/content.d.ts.map +1 -1
- package/dist/src/components/table/data-table.d.ts +1 -1
- package/dist/src/components/table/data-table.d.ts.map +1 -1
- package/dist/src/components/table/order-table-head.d.ts.map +1 -1
- package/dist/src/components/table/pagination.js +1 -1
- package/dist/src/components/tiptap/extension.d.ts.map +1 -1
- package/dist/src/components/tiptap/extension.js +7 -0
- package/dist/src/components/tiptap/toolbar/actions/alignment-action.d.ts +2 -0
- package/dist/src/components/tiptap/toolbar/actions/alignment-action.d.ts.map +1 -0
- package/dist/src/components/tiptap/toolbar/actions/alignment-action.js +91 -0
- package/dist/src/components/tiptap/toolbar/actions/bold-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/headings-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/headings-action.js +45 -46
- package/dist/src/components/tiptap/toolbar/actions/italic-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/list-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/list-action.js +14 -13
- package/dist/src/components/tiptap/toolbar/actions/text-format-more/text-format-more.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/text-format-more/text-format-more.js +5 -5
- package/dist/src/components/tiptap/toolbar/actions/underline-action.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/undo-redo-actions.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/actions/undo-redo-actions.js +6 -6
- package/dist/src/components/tiptap/toolbar/tiptap-toolbar.d.ts.map +1 -1
- package/dist/src/components/tiptap/toolbar/tiptap-toolbar.js +38 -18
- package/dist/src/components/tiptap/toolbar/use-toolbar-editor.d.ts.map +1 -1
- package/dist/src/components/ui/accordion.d.ts +1 -1
- package/dist/src/components/ui/accordion.d.ts.map +1 -1
- package/dist/src/components/ui/alert.d.ts +1 -1
- package/dist/src/components/ui/alert.d.ts.map +1 -1
- package/dist/src/components/ui/badge.d.ts +1 -1
- package/dist/src/components/ui/badge.d.ts.map +1 -1
- package/dist/src/components/ui/button.d.ts +2 -2
- package/dist/src/components/ui/button.d.ts.map +1 -1
- package/dist/src/components/ui/checkbox.d.ts +1 -1
- package/dist/src/components/ui/checkbox.d.ts.map +1 -1
- package/dist/src/components/ui/command.d.ts +1 -1
- package/dist/src/components/ui/command.d.ts.map +1 -1
- package/dist/src/components/ui/context-menu.d.ts +1 -1
- package/dist/src/components/ui/context-menu.d.ts.map +1 -1
- package/dist/src/components/ui/drawer.d.ts.map +1 -1
- package/dist/src/components/ui/dropdown-menu.d.ts +1 -1
- package/dist/src/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/src/components/ui/editor-content.js +1 -1
- package/dist/src/components/ui/editor.d.ts.map +1 -1
- package/dist/src/components/ui/editor.js +1 -1
- package/dist/src/components/ui/form.d.ts.map +1 -1
- package/dist/src/components/ui/hover-card.d.ts +1 -1
- package/dist/src/components/ui/hover-card.d.ts.map +1 -1
- package/dist/src/components/ui/label.d.ts +1 -1
- package/dist/src/components/ui/label.d.ts.map +1 -1
- package/dist/src/components/ui/menubar.d.ts +1 -1
- package/dist/src/components/ui/menubar.d.ts.map +1 -1
- package/dist/src/components/ui/navigation-menu.d.ts +1 -1
- package/dist/src/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/src/components/ui/popover.d.ts +1 -1
- package/dist/src/components/ui/popover.d.ts.map +1 -1
- package/dist/src/components/ui/progress.d.ts +1 -1
- package/dist/src/components/ui/progress.d.ts.map +1 -1
- package/dist/src/components/ui/radio-group.d.ts +1 -1
- package/dist/src/components/ui/radio-group.d.ts.map +1 -1
- package/dist/src/components/ui/scroll-area.d.ts +6 -0
- package/dist/src/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/src/components/ui/scroll-area.js +33 -0
- package/dist/src/components/ui/select.d.ts +1 -1
- package/dist/src/components/ui/select.d.ts.map +1 -1
- package/dist/src/components/ui/separator.d.ts +1 -1
- package/dist/src/components/ui/separator.d.ts.map +1 -1
- package/dist/src/components/ui/sheet.d.ts +1 -1
- package/dist/src/components/ui/sheet.d.ts.map +1 -1
- package/dist/src/components/ui/sidebar.d.ts.map +1 -1
- package/dist/src/components/ui/sidebar.js +0 -1
- package/dist/src/components/ui/sonner.d.ts.map +1 -1
- package/dist/src/components/ui/switch.d.ts +1 -1
- package/dist/src/components/ui/switch.d.ts.map +1 -1
- package/dist/src/components/ui/tabs.d.ts +1 -1
- package/dist/src/components/ui/tabs.d.ts.map +1 -1
- package/dist/src/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/src/components/ui/toggle.d.ts +1 -1
- package/dist/src/components/ui/toggle.d.ts.map +1 -1
- package/dist/src/components/ui/toggle.js +1 -1
- package/dist/src/components/ui/tooltip.d.ts +1 -1
- package/dist/src/components/ui/tooltip.d.ts.map +1 -1
- package/dist/src/drizzle.config.d.ts.map +1 -1
- package/dist/src/drizzle.config.js +1 -1
- package/dist/src/emails/default-template.d.ts.map +1 -1
- package/dist/src/emails/default-template.js +20 -21
- package/dist/src/hooks/use-captcha.d.ts +20 -0
- package/dist/src/hooks/use-captcha.d.ts.map +1 -1
- package/dist/src/hooks/use-captcha.js +19 -18
- package/dist/src/hooks/use-mobile.d.ts.map +1 -1
- package/dist/src/hooks/use-mobile.js +1 -0
- package/dist/src/lib/api/get-next-cron-run-date.d.ts.map +1 -1
- package/dist/src/lib/api/get-next-cron-run-date.js +2 -2
- package/dist/src/lib/api/should-cron-job-run.d.ts.map +1 -1
- package/dist/src/lib/api/should-cron-job-run.js +2 -2
- package/dist/src/lib/config.js +1 -1
- package/dist/src/lib/ctrl-or-command-character.d.ts +1 -1
- package/dist/src/lib/ctrl-or-command-character.d.ts.map +1 -1
- package/dist/src/lib/ctrl-or-command-character.js +2 -6
- package/dist/src/lib/fetcher/cookie-from-string-to-object.d.ts.map +1 -1
- package/dist/src/lib/fetcher/core.d.ts.map +1 -1
- package/dist/src/lib/fetcher/core.js +1 -2
- package/dist/src/lib/fetcher-client.d.ts.map +1 -1
- package/dist/src/lib/fetcher.d.ts.map +1 -1
- package/dist/src/lib/helpers/auto-form.d.ts.map +1 -1
- package/dist/src/lib/helpers/auto-form.js +0 -1
- package/dist/src/lib/navigation.d.ts +1 -1
- package/dist/src/lib/navigation.d.ts.map +1 -1
- package/dist/src/lib/tiptap/toolbar/actions/bold-action.d.ts +1 -0
- package/dist/src/lib/tiptap/toolbar/actions/bold-action.d.ts.map +1 -0
- package/dist/src/lib/tiptap/toolbar/actions/bold-action.js +0 -0
- package/dist/src/views/admin/layouts/admin-layout.d.ts.map +1 -1
- package/dist/src/views/admin/layouts/admin-layout.js +4 -1
- package/dist/src/views/admin/layouts/user-bar/user-bar.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/advanced/cron/cron-table-view.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/advanced/cron/cron-table-view.js +4 -4
- package/dist/src/views/admin/views/core/advanced/cron/run-action/mutation-api.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/advanced/cron/run-action/run-action.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/advanced/cron/run-action/run-action.js +4 -3
- package/dist/src/views/admin/views/core/debug/system-logs/actions/more/content.d.ts.map +1 -1
- package/dist/src/views/admin/views/core/debug/system-logs/actions/more/more.js +1 -1
- package/dist/src/views/admin/views/core/test.js +1 -1
- package/dist/src/views/auth/password-reset/change-password-form/use-form.d.ts.map +1 -1
- package/dist/src/views/auth/password-reset/form/form.d.ts.map +1 -1
- package/dist/src/views/auth/sign-in/form/mutation-api.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/components/password-input.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/components/password-input.js +2 -1
- package/dist/src/views/auth/sign-up/form/form.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/form/mutation-api.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/wrapper.d.ts.map +1 -1
- package/dist/src/views/auth/sign-up/wrapper.js +6 -3
- package/dist/src/views/auth/sso/callback/client/client.d.ts.map +1 -1
- package/dist/src/views/error/global-error-view.d.ts.map +1 -1
- package/dist/src/views/error/global-error-view.js +2 -1
- package/dist/src/views/layouts/provider.d.ts.map +1 -1
- package/dist/src/views/layouts/root-layout.d.ts.map +1 -1
- package/dist/src/views/layouts/theme/header/header.d.ts.map +1 -1
- package/dist/src/views/layouts/theme/header/user/auth/client.d.ts.map +1 -1
- package/dist/src/vitnode.config.d.ts +1 -1
- package/dist/src/vitnode.config.d.ts.map +1 -1
- package/dist/src/vitnode.config.js +0 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/eslint.config.mjs +17 -0
- package/package.json +7 -3
- package/src/app_admin/core/advanced/cron/page.tsx +3 -2
- package/src/app_admin/core/debug/page.tsx +1 -1
- package/src/app_admin/core/users/page.tsx +2 -1
- package/src/locales/en.json +8 -0
- package/src/tiptap.css +9 -1
|
@@ -3,9 +3,8 @@ import { useEditorState } from "@tiptap/react";
|
|
|
3
3
|
import { ChevronDown, Heading1Icon, Heading2Icon, Heading3Icon, Heading4Icon, PilcrowIcon } from "lucide-react";
|
|
4
4
|
import { useTranslations } from "next-intl";
|
|
5
5
|
import { Button } from "../../../ui/button.js";
|
|
6
|
-
import { DropdownMenu, DropdownMenuContent,
|
|
6
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuShortcut, DropdownMenuTrigger } from "../../../ui/dropdown-menu.js";
|
|
7
7
|
import { CtrlOrCommandCharacter } from "../../../../lib/ctrl-or-command-character.js";
|
|
8
|
-
import { cn } from "../../../../lib/utils.js";
|
|
9
8
|
import { SUPPORTED_HEADINGS_LEVELS } from "../../extension.js";
|
|
10
9
|
import { useToolbarEditor } from "../use-toolbar-editor.js";
|
|
11
10
|
const ICONS = {
|
|
@@ -18,17 +17,31 @@ const ICONS = {
|
|
|
18
17
|
export const HeadingsAction = ()=>{
|
|
19
18
|
const t = useTranslations("core.global.editor");
|
|
20
19
|
const { editor } = useToolbarEditor();
|
|
21
|
-
const
|
|
20
|
+
const activeValue = useEditorState({
|
|
22
21
|
editor,
|
|
23
22
|
selector: (ctx)=>{
|
|
24
|
-
return
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
level
|
|
28
|
-
})
|
|
29
|
-
};
|
|
23
|
+
if (!ctx.editor.isActive("heading")) return "paragraph";
|
|
24
|
+
const level = ctx.editor.getAttributes("heading").level;
|
|
25
|
+
return `heading-${level}`;
|
|
30
26
|
}
|
|
31
27
|
});
|
|
28
|
+
const options = [
|
|
29
|
+
{
|
|
30
|
+
value: "paragraph",
|
|
31
|
+
label: t("paragraph"),
|
|
32
|
+
icon: ICONS.paragraph,
|
|
33
|
+
shortcut: "0"
|
|
34
|
+
},
|
|
35
|
+
...SUPPORTED_HEADINGS_LEVELS.map((level)=>({
|
|
36
|
+
value: `heading-${level}`,
|
|
37
|
+
label: t("heading", {
|
|
38
|
+
level
|
|
39
|
+
}),
|
|
40
|
+
icon: ICONS[`heading_${level}`],
|
|
41
|
+
shortcut: level.toString()
|
|
42
|
+
}))
|
|
43
|
+
];
|
|
44
|
+
const activeOption = options.find((o)=>o.value === activeValue) ?? options[0];
|
|
32
45
|
return /*#__PURE__*/ _jsxs(DropdownMenu, {
|
|
33
46
|
children: [
|
|
34
47
|
/*#__PURE__*/ _jsx(DropdownMenuTrigger, {
|
|
@@ -37,57 +50,43 @@ export const HeadingsAction = ()=>{
|
|
|
37
50
|
className: "w-32 justify-between",
|
|
38
51
|
variant: "ghost",
|
|
39
52
|
children: [
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}),
|
|
53
|
+
activeOption.icon,
|
|
54
|
+
activeOption.label,
|
|
43
55
|
/*#__PURE__*/ _jsx(ChevronDown, {
|
|
44
56
|
className: "ml-auto"
|
|
45
57
|
})
|
|
46
58
|
]
|
|
47
59
|
})
|
|
48
60
|
}),
|
|
49
|
-
/*#__PURE__*/
|
|
50
|
-
className: "min-w-[
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
]
|
|
66
|
-
})
|
|
67
|
-
]
|
|
68
|
-
}),
|
|
69
|
-
SUPPORTED_HEADINGS_LEVELS.map((level)=>/*#__PURE__*/ _jsxs(DropdownMenuItem, {
|
|
70
|
-
onClick: ()=>editor.chain().focus().toggleHeading({
|
|
71
|
-
level
|
|
72
|
-
}).run(),
|
|
73
|
-
className: cn({
|
|
74
|
-
"bg-accent": isHeaderActive(level)
|
|
75
|
-
}),
|
|
61
|
+
/*#__PURE__*/ _jsx(DropdownMenuContent, {
|
|
62
|
+
className: "min-w-[14rem]",
|
|
63
|
+
children: /*#__PURE__*/ _jsx(DropdownMenuRadioGroup, {
|
|
64
|
+
value: activeValue,
|
|
65
|
+
children: options.map((item)=>/*#__PURE__*/ _jsxs(DropdownMenuRadioItem, {
|
|
66
|
+
onClick: ()=>{
|
|
67
|
+
if (item.value === "paragraph") {
|
|
68
|
+
editor.chain().focus().setParagraph().run();
|
|
69
|
+
} else {
|
|
70
|
+
const level = parseInt(item.value.split("-")[1]);
|
|
71
|
+
editor.chain().focus().toggleHeading({
|
|
72
|
+
level
|
|
73
|
+
}).run();
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
value: item.value,
|
|
76
77
|
children: [
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
level
|
|
80
|
-
}),
|
|
78
|
+
item.icon,
|
|
79
|
+
item.label,
|
|
81
80
|
/*#__PURE__*/ _jsxs(DropdownMenuShortcut, {
|
|
82
81
|
children: [
|
|
83
82
|
/*#__PURE__*/ _jsx(CtrlOrCommandCharacter, {}),
|
|
84
83
|
"+Alt+",
|
|
85
|
-
|
|
84
|
+
item.shortcut
|
|
86
85
|
]
|
|
87
86
|
})
|
|
88
87
|
]
|
|
89
|
-
},
|
|
90
|
-
|
|
88
|
+
}, item.value))
|
|
89
|
+
})
|
|
91
90
|
})
|
|
92
91
|
]
|
|
93
92
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"italic-action.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tiptap/toolbar/actions/italic-action.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"italic-action.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tiptap/toolbar/actions/italic-action.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,YAAY,+CAgCxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-action.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tiptap/toolbar/actions/list-action.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-action.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tiptap/toolbar/actions/list-action.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,UAAU,+CAsDtB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useEditorState } from "@tiptap/react";
|
|
3
|
-
import {
|
|
3
|
+
import { ListIcon, ListOrderedIcon } from "lucide-react";
|
|
4
4
|
import { useTranslations } from "next-intl";
|
|
5
5
|
import { Toggle } from "../../../ui/toggle.js";
|
|
6
6
|
import { TooltipWithContent } from "../../../ui/tooltip.js";
|
|
@@ -9,11 +9,12 @@ import { TooltipShortcut } from "./utils/tooltip-shortcut.js";
|
|
|
9
9
|
export const ListAction = ()=>{
|
|
10
10
|
const t = useTranslations("core.global.editor");
|
|
11
11
|
const { editor } = useToolbarEditor();
|
|
12
|
-
const {
|
|
12
|
+
const { isBulletList, isOrderedList } = useEditorState({
|
|
13
13
|
editor,
|
|
14
14
|
selector: (ctx)=>{
|
|
15
15
|
return {
|
|
16
|
-
|
|
16
|
+
isOrderedList: ctx.editor.isActive("orderedList"),
|
|
17
|
+
isBulletList: ctx.editor.isActive("bulletList")
|
|
17
18
|
};
|
|
18
19
|
}
|
|
19
20
|
});
|
|
@@ -22,7 +23,7 @@ export const ListAction = ()=>{
|
|
|
22
23
|
/*#__PURE__*/ _jsx(TooltipWithContent, {
|
|
23
24
|
text: /*#__PURE__*/ _jsxs(_Fragment, {
|
|
24
25
|
children: [
|
|
25
|
-
t("
|
|
26
|
+
t("bullet_list"),
|
|
26
27
|
/*#__PURE__*/ _jsx(TooltipShortcut, {
|
|
27
28
|
children: "+I"
|
|
28
29
|
})
|
|
@@ -30,17 +31,17 @@ export const ListAction = ()=>{
|
|
|
30
31
|
}),
|
|
31
32
|
children: /*#__PURE__*/ _jsx("div", {
|
|
32
33
|
children: /*#__PURE__*/ _jsx(Toggle, {
|
|
33
|
-
"aria-label": t("
|
|
34
|
-
onClick: ()=>editor.chain().focus().
|
|
35
|
-
pressed:
|
|
36
|
-
children: /*#__PURE__*/ _jsx(
|
|
34
|
+
"aria-label": t("bullet_list"),
|
|
35
|
+
onClick: ()=>editor.chain().focus().toggleBulletList().run(),
|
|
36
|
+
pressed: isBulletList,
|
|
37
|
+
children: /*#__PURE__*/ _jsx(ListIcon, {})
|
|
37
38
|
})
|
|
38
39
|
})
|
|
39
40
|
}),
|
|
40
41
|
/*#__PURE__*/ _jsx(TooltipWithContent, {
|
|
41
42
|
text: /*#__PURE__*/ _jsxs(_Fragment, {
|
|
42
43
|
children: [
|
|
43
|
-
t("
|
|
44
|
+
t("ordered_list"),
|
|
44
45
|
/*#__PURE__*/ _jsx(TooltipShortcut, {
|
|
45
46
|
children: "+I"
|
|
46
47
|
})
|
|
@@ -48,10 +49,10 @@ export const ListAction = ()=>{
|
|
|
48
49
|
}),
|
|
49
50
|
children: /*#__PURE__*/ _jsx("div", {
|
|
50
51
|
children: /*#__PURE__*/ _jsx(Toggle, {
|
|
51
|
-
"aria-label": t("
|
|
52
|
-
onClick: ()=>editor.chain().focus().
|
|
53
|
-
pressed:
|
|
54
|
-
children: /*#__PURE__*/ _jsx(
|
|
52
|
+
"aria-label": t("ordered_list"),
|
|
53
|
+
onClick: ()=>editor.chain().focus().toggleOrderedList().run(),
|
|
54
|
+
pressed: isOrderedList,
|
|
55
|
+
children: /*#__PURE__*/ _jsx(ListOrderedIcon, {})
|
|
55
56
|
})
|
|
56
57
|
})
|
|
57
58
|
})
|
package/dist/src/components/tiptap/toolbar/actions/text-format-more/text-format-more.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-format-more.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/tiptap/toolbar/actions/text-format-more/text-format-more.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"text-format-more.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/tiptap/toolbar/actions/text-format-more/text-format-more.tsx"],"names":[],"mappings":"AAiBA,eAAO,MAAM,cAAc,+CA+C1B,CAAC"}
|
|
@@ -23,25 +23,25 @@ export const TextFormatMore = ()=>{
|
|
|
23
23
|
/*#__PURE__*/ _jsx(DropdownMenuTrigger, {
|
|
24
24
|
asChild: true,
|
|
25
25
|
children: /*#__PURE__*/ _jsx(Button, {
|
|
26
|
-
variant: "ghost",
|
|
27
|
-
size: "icon",
|
|
28
26
|
"aria-label": t("label"),
|
|
29
27
|
className: cn({
|
|
30
28
|
"bg-accent": isStrike
|
|
31
29
|
}),
|
|
30
|
+
size: "icon",
|
|
31
|
+
variant: "ghost",
|
|
32
32
|
children: /*#__PURE__*/ _jsx(EllipsisVerticalIcon, {})
|
|
33
33
|
})
|
|
34
34
|
}),
|
|
35
35
|
/*#__PURE__*/ _jsx(DropdownMenuContent, {
|
|
36
36
|
className: "min-w-[12rem]",
|
|
37
37
|
children: /*#__PURE__*/ _jsxs(DropdownMenuItem, {
|
|
38
|
+
className: cn({
|
|
39
|
+
"bg-accent": isStrike
|
|
40
|
+
}),
|
|
38
41
|
onClick: ()=>{
|
|
39
42
|
editor.chain().focus().toggleStrike().run();
|
|
40
43
|
editor.view.focus();
|
|
41
44
|
},
|
|
42
|
-
className: cn({
|
|
43
|
-
"bg-accent": isStrike
|
|
44
|
-
}),
|
|
45
45
|
children: [
|
|
46
46
|
/*#__PURE__*/ _jsx(StrikethroughIcon, {}),
|
|
47
47
|
t("strike"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"underline-action.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tiptap/toolbar/actions/underline-action.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"underline-action.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tiptap/toolbar/actions/underline-action.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,eAAe,+CAgC3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"undo-redo-actions.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tiptap/toolbar/actions/undo-redo-actions.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"undo-redo-actions.d.ts","sourceRoot":"","sources":["../../../../../../src/components/tiptap/toolbar/actions/undo-redo-actions.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,eAAe,+CAoD3B,CAAC"}
|
|
@@ -31,11 +31,11 @@ export const UndoRedoActions = ()=>{
|
|
|
31
31
|
]
|
|
32
32
|
}),
|
|
33
33
|
children: /*#__PURE__*/ _jsx(Button, {
|
|
34
|
-
size: "icon",
|
|
35
34
|
"aria-label": t("undo"),
|
|
36
|
-
variant: "ghost",
|
|
37
|
-
onClick: ()=>editor.chain().focus().undo().run(),
|
|
38
35
|
disabled: !canUndo,
|
|
36
|
+
onClick: ()=>editor.chain().focus().undo().run(),
|
|
37
|
+
size: "icon",
|
|
38
|
+
variant: "ghost",
|
|
39
39
|
children: /*#__PURE__*/ _jsx(UndoIcon, {})
|
|
40
40
|
})
|
|
41
41
|
}),
|
|
@@ -50,11 +50,11 @@ export const UndoRedoActions = ()=>{
|
|
|
50
50
|
]
|
|
51
51
|
}),
|
|
52
52
|
children: /*#__PURE__*/ _jsx(Button, {
|
|
53
|
-
size: "icon",
|
|
54
53
|
"aria-label": t("redo"),
|
|
55
|
-
variant: "ghost",
|
|
56
|
-
onClick: ()=>editor.chain().focus().redo().run(),
|
|
57
54
|
disabled: !canRedo,
|
|
55
|
+
onClick: ()=>editor.chain().focus().redo().run(),
|
|
56
|
+
size: "icon",
|
|
57
|
+
variant: "ghost",
|
|
58
58
|
children: /*#__PURE__*/ _jsx(RedoIcon, {})
|
|
59
59
|
})
|
|
60
60
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tiptap-toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/tiptap/toolbar/tiptap-toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"tiptap-toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/tiptap/toolbar/tiptap-toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAiB5C,eAAO,MAAM,aAAa,GAAI,YAAY;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,4CAwB3D,CAAC"}
|
|
@@ -1,34 +1,54 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo } from "react";
|
|
3
|
+
import { ScrollArea, ScrollBar } from "../../ui/scroll-area.js";
|
|
2
4
|
import { Separator } from "../../ui/separator.js";
|
|
5
|
+
import { AlignmentAction } from "./actions/alignment-action.js";
|
|
3
6
|
import { BoldAction } from "./actions/bold-action.js";
|
|
4
7
|
import { HeadingsAction } from "./actions/headings-action.js";
|
|
5
8
|
import { ItalicAction } from "./actions/italic-action.js";
|
|
9
|
+
import { ListAction } from "./actions/list-action.js";
|
|
6
10
|
import { TextFormatMore } from "./actions/text-format-more/text-format-more.js";
|
|
7
11
|
import { UnderlineAction } from "./actions/underline-action.js";
|
|
8
12
|
import { UndoRedoActions } from "./actions/undo-redo-actions.js";
|
|
9
13
|
import { ToolbarEditorContext } from "./use-toolbar-editor.js";
|
|
10
14
|
export const TipTapToolbar = ({ editor })=>{
|
|
11
|
-
|
|
12
|
-
value: {
|
|
15
|
+
const contextValue = useMemo(()=>({
|
|
13
16
|
editor
|
|
14
|
-
},
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
}), [
|
|
18
|
+
editor
|
|
19
|
+
]);
|
|
20
|
+
return /*#__PURE__*/ _jsx(ToolbarEditorContext, {
|
|
21
|
+
value: contextValue,
|
|
22
|
+
children: /*#__PURE__*/ _jsxs(ScrollArea, {
|
|
17
23
|
children: [
|
|
18
|
-
/*#__PURE__*/
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
/*#__PURE__*/ _jsxs("div", {
|
|
25
|
+
className: "flex h-14 items-center gap-1 border-b p-2",
|
|
26
|
+
children: [
|
|
27
|
+
/*#__PURE__*/ _jsx(UndoRedoActions, {}),
|
|
28
|
+
/*#__PURE__*/ _jsx(Separator, {
|
|
29
|
+
className: "mx-2",
|
|
30
|
+
orientation: "vertical"
|
|
31
|
+
}),
|
|
32
|
+
/*#__PURE__*/ _jsx(HeadingsAction, {}),
|
|
33
|
+
/*#__PURE__*/ _jsx(Separator, {
|
|
34
|
+
className: "mx-2",
|
|
35
|
+
orientation: "vertical"
|
|
36
|
+
}),
|
|
37
|
+
/*#__PURE__*/ _jsx(BoldAction, {}),
|
|
38
|
+
/*#__PURE__*/ _jsx(ItalicAction, {}),
|
|
39
|
+
/*#__PURE__*/ _jsx(UnderlineAction, {}),
|
|
40
|
+
/*#__PURE__*/ _jsx(TextFormatMore, {}),
|
|
41
|
+
/*#__PURE__*/ _jsx(AlignmentAction, {}),
|
|
42
|
+
/*#__PURE__*/ _jsx(Separator, {
|
|
43
|
+
className: "mx-2",
|
|
44
|
+
orientation: "vertical"
|
|
45
|
+
}),
|
|
46
|
+
/*#__PURE__*/ _jsx(ListAction, {})
|
|
47
|
+
]
|
|
27
48
|
}),
|
|
28
|
-
/*#__PURE__*/ _jsx(
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
/*#__PURE__*/ _jsx(TextFormatMore, {})
|
|
49
|
+
/*#__PURE__*/ _jsx(ScrollBar, {
|
|
50
|
+
orientation: "horizontal"
|
|
51
|
+
})
|
|
32
52
|
]
|
|
33
53
|
})
|
|
34
54
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-toolbar-editor.d.ts","sourceRoot":"","sources":["../../../../../src/components/tiptap/toolbar/use-toolbar-editor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"use-toolbar-editor.d.ts","sourceRoot":"","sources":["../../../../../src/components/tiptap/toolbar/use-toolbar-editor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,oBAAoB;YACvB,MAAM;EAGd,CAAC;AAEH,eAAO,MAAM,gBAAgB;YALnB,MAAM;CAKqD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Accordion as AccordionPrimitive } from "radix-ui";
|
|
2
1
|
import type * as React from "react";
|
|
2
|
+
import { Accordion as AccordionPrimitive } from "radix-ui";
|
|
3
3
|
declare function Accordion({ ...props }: React.ComponentProps<typeof AccordionPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare function AccordionItem({ className, ...props }: React.ComponentProps<typeof AccordionPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare function AccordionTrigger({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/accordion.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/accordion.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,OAAO,EAAE,SAAS,IAAI,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAI3D,iBAAS,SAAS,CAAC,EACjB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,2CAEtD;AAED,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,2CAQtD;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC,2CAgBzD;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC,2CAUzD;AAED,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type VariantProps } from "class-variance-authority";
|
|
2
1
|
import type * as React from "react";
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
3
3
|
declare const alertVariants: (props?: ({
|
|
4
4
|
variant?: "destructive" | "default" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,aAAa;;8EAclB,CAAC;AAEF,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,OAAO,EACP,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,2CASlE;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAWvE;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAW7B;AAED,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type VariantProps } from "class-variance-authority";
|
|
2
1
|
import type * as React from "react";
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
3
3
|
declare const badgeVariants: (props?: ({
|
|
4
4
|
variant?: "secondary" | "destructive" | "default" | "outline" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,QAAA,MAAM,aAAa;;8EAmBlB,CAAC;AAEF,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,OAAO,EACP,OAAe,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,GAC7B,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,2CAU3D;AAED,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type VariantProps } from "class-variance-authority";
|
|
2
1
|
import type * as React from "react";
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
4
|
variant?: "link" | "secondary" | "destructive" | "default" | "destructiveGhost" | "outline" | "ghost" | null | undefined;
|
|
5
5
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
@@ -15,5 +15,5 @@ type ButtonProps = React.ComponentProps<"button"> & VariantProps<typeof buttonVa
|
|
|
15
15
|
size?: "default" | "lg" | "sm";
|
|
16
16
|
});
|
|
17
17
|
declare function Button(props: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export { Button,
|
|
18
|
+
export { Button, type ButtonProps, buttonVariants };
|
|
19
19
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,cAAc;;;8EA+BnB,CAAC;AAEF,KAAK,WAAW,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GAC/C,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,GAAG,CACA;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GACtC;IAAE,YAAY,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,GAAG,IAAI,CAAA;CAAE,CAC5D,CAAC;AAEJ,iBAAS,MAAM,CAAC,KAAK,EAAE,WAAW,2CAEjC;AAED,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Checkbox as CheckboxPrimitive } from "radix-ui";
|
|
2
1
|
import type * as React from "react";
|
|
2
|
+
import { Checkbox as CheckboxPrimitive } from "radix-ui";
|
|
3
3
|
declare function Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { Checkbox };
|
|
5
5
|
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/checkbox.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/checkbox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAIzD,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC,2CAkBrD;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Command as CommandPrimitive } from "cmdk";
|
|
2
1
|
import type * as React from "react";
|
|
2
|
+
import { Command as CommandPrimitive } from "cmdk";
|
|
3
3
|
import { Dialog } from "../../components/ui/dialog";
|
|
4
4
|
declare function Command({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React.ComponentProps<typeof Dialog> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/command.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/command.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAGnD,OAAO,EACL,MAAM,EAKP,MAAM,wBAAwB,CAAC;AAGhC,iBAAS,OAAO,CAAC,EACf,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,2CAW/C;AAED,iBAAS,aAAa,CAAC,EACrB,KAAyB,EACzB,WAA8C,EAC9C,QAAQ,EACR,SAAS,EACT,eAAsB,EACtB,GAAG,KAAK,EACT,EAAE,KA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
|
|
|
1
|
-
import { ContextMenu as ContextMenuPrimitive } from "radix-ui";
|
|
2
1
|
import type * as React from "react";
|
|
2
|
+
import { ContextMenu as ContextMenuPrimitive } from "radix-ui";
|
|
3
3
|
declare function ContextMenu({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare function ContextMenuTrigger({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare function ContextMenuGroup({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-menu.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/context-menu.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"context-menu.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/context-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,OAAO,EAAE,WAAW,IAAI,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAI/D,iBAAS,WAAW,CAAC,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,IAAI,CAAC,2CAExD;AAED,iBAAS,kBAAkB,CAAC,EAC1B,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,OAAO,CAAC,2CAI3D;AAED,iBAAS,gBAAgB,CAAC,EACxB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,KAAK,CAAC,2CAIzD;AAED,iBAAS,iBAAiB,CAAC,EACzB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,MAAM,CAAC,2CAI1D;AAED,iBAAS,cAAc,CAAC,EACtB,GAA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AS,gBAAgB,CAAC,EACxB,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,KAAK,CAAC,GAAG;IAC3D,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,2CAYA;AAED,iBAAS,oBAAoB,CAAC,EAC5B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,SAAS,CAAC,2CAQ7D;AAED,iBAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,2CAW9B;AAED,OAAO,EACL,WAAW,EACX,uBAAuB,EACvB,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,GACnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/drawer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/drawer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;AAIjD,iBAAS,MAAM,CAAC,EACd,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CAEnD;AAED,iBAAS,aAAa,CAAC,EACrB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,C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2
|
+
import { DropdownMenu as DropdownMenuPrimitive } from "radix-ui";
|
|
3
3
|
declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/dropdown-menu.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/dropdown-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,OAAO,EAAE,YAAY,IAAI,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAIjE,iBAAS,YAAY,CAAC,EACpB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,IAAI,CAAC,2CAEzD;AAED,iBAAS,kBAAkB,CAAC,EAC1B,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,MAAM,CAAC,2CAI3D;AAED,iBAAS,mBAAmB,CAAC,EAC3B,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,OAAO,CAAC,2CAO5D;AAED,iBAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,UAAc,EACd,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,OAAO,CAAC,2CAc5D;AAED,iBAAS,iBAAiB,CAAC,EACzB,GAAG,KAAK,EACT,EAAE,KAAK,CA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AAc,CAAC,OAAO,qBAAqB,CAAC,GAAG,CAAC,2CAExD;AAED,iBAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,UAAU,CAAC,GAAG;IACjE,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,2CAeA;AAED,iBAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,UAAU,CAAC,2CAW/D;AAED,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,GACpB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
export const EditorContent = ({ content })=>{
|
|
3
|
-
return(//
|
|
3
|
+
return(// eslint-disable-next-line @eslint-react/dom/no-dangerously-set-innerhtml
|
|
4
4
|
/*#__PURE__*/ _jsx("div", {
|
|
5
5
|
className: "tiptap",
|
|
6
6
|
dangerouslySetInnerHTML: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/editor.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/editor.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,MAAM,GAAI,sCAIpB;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,4CA4BA,CAAC"}
|
|
@@ -18,7 +18,7 @@ export const Editor = ({ className, disableScroll, value = "" })=>{
|
|
|
18
18
|
});
|
|
19
19
|
if (!editor) return /*#__PURE__*/ _jsx(Loader, {});
|
|
20
20
|
return /*#__PURE__*/ _jsxs("div", {
|
|
21
|
-
className: cn("
|
|
21
|
+
className: cn("bg-card shadow-xs relative w-full rounded-md border", {
|
|
22
22
|
"max-h-[20rem] overflow-hidden overflow-y-scroll": !disableScroll,
|
|
23
23
|
className
|
|
24
24
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/form.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/form.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,IAAI,cAAc,EAAE,MAAM,UAAU,CAAC;AAGxD,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,YAAY,EACZ,KAAK,aAAa,EAGnB,MAAM,iBAAiB,CAAC;AAMzB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,iBAAS,IAAI,CACX,YAAY,SAAS,WAAW,EAChC,QAAQ,GAAG,OAAO,EAClB,kBAAkB,SAAS,WAAW,GAAG,SAAS,GAAG,SAAS,EAC9D,EACA,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,GAAG;IAClD,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,IAAI,EAAE,IAAI,CACR,KAAK,CAAC,cAAc,CAClB,OAAO,YAAY,CAAC,YAAY,EAAE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,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HoverCard as HoverCardPrimitive } from "radix-ui";
|
|
2
1
|
import type * as React from "react";
|
|
2
|
+
import { HoverCard as HoverCardPrimitive } from "radix-ui";
|
|
3
3
|
declare function HoverCard({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare function HoverCardTrigger({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare function HoverCardContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof HoverCardPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hover-card.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/hover-card.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"hover-card.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/hover-card.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAE,SAAS,IAAI,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAI3D,iBAAS,SAAS,CAAC,EACjB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,2CAEtD;AAED,iBAAS,gBAAgB,CAAC,EACxB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC,2CAIzD;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,KAAgB,EAChB,UAAc,EACd,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC,2CAezD;AAED,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Label as LabelPrimitive } from "radix-ui";
|
|
2
1
|
import type * as React from "react";
|
|
2
|
+
import { Label as LabelPrimitive } from "radix-ui";
|
|
3
3
|
declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { Label };
|
|
5
5
|
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/label.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/label.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAE,KAAK,IAAI,cAAc,EAAE,MAAM,UAAU,CAAC;AAInD,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,2CAWlD;AAED,OAAO,EAAE,KAAK,EAAE,CAAC"}
|