@nuxt/ui 4.2.1 → 4.3.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/.nuxt/ui.css +2 -0
- package/README.md +2 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/dist/runtime/components/Accordion.d.vue.ts +3 -3
- package/dist/runtime/components/Accordion.vue.d.ts +3 -3
- package/dist/runtime/components/Alert.d.vue.ts +3 -5
- package/dist/runtime/components/Alert.vue.d.ts +3 -5
- package/dist/runtime/components/App.d.vue.ts +3 -1
- package/dist/runtime/components/App.vue.d.ts +3 -1
- package/dist/runtime/components/AuthForm.d.vue.ts +8 -46
- package/dist/runtime/components/AuthForm.vue.d.ts +8 -46
- package/dist/runtime/components/Badge.d.vue.ts +1 -3
- package/dist/runtime/components/Badge.vue.d.ts +1 -3
- package/dist/runtime/components/Banner.d.vue.ts +2 -2
- package/dist/runtime/components/Banner.vue.d.ts +2 -2
- package/dist/runtime/components/BlogPost.d.vue.ts +1 -4
- package/dist/runtime/components/BlogPost.vue +0 -1
- package/dist/runtime/components/BlogPost.vue.d.ts +1 -4
- package/dist/runtime/components/BlogPosts.d.vue.ts +3 -1
- package/dist/runtime/components/BlogPosts.vue.d.ts +3 -1
- package/dist/runtime/components/Breadcrumb.d.vue.ts +3 -1
- package/dist/runtime/components/Breadcrumb.vue.d.ts +3 -1
- package/dist/runtime/components/Calendar.d.vue.ts +8 -11
- package/dist/runtime/components/Calendar.vue.d.ts +8 -11
- package/dist/runtime/components/Carousel.d.vue.ts +6 -6
- package/dist/runtime/components/Carousel.vue +22 -0
- package/dist/runtime/components/Carousel.vue.d.ts +6 -6
- package/dist/runtime/components/ChangelogVersion.d.vue.ts +1 -4
- package/dist/runtime/components/ChangelogVersion.vue +0 -1
- package/dist/runtime/components/ChangelogVersion.vue.d.ts +1 -4
- package/dist/runtime/components/ChangelogVersions.d.vue.ts +3 -1
- package/dist/runtime/components/ChangelogVersions.vue.d.ts +3 -1
- package/dist/runtime/components/ChatMessage.d.vue.ts +1 -3
- package/dist/runtime/components/ChatMessage.vue.d.ts +1 -3
- package/dist/runtime/components/ChatMessages.d.vue.ts +3 -8
- package/dist/runtime/components/ChatMessages.vue.d.ts +3 -8
- package/dist/runtime/components/ChatPrompt.d.vue.ts +2 -7
- package/dist/runtime/components/ChatPrompt.vue.d.ts +2 -7
- package/dist/runtime/components/ChatPromptSubmit.d.vue.ts +3 -11
- package/dist/runtime/components/ChatPromptSubmit.vue +1 -20
- package/dist/runtime/components/ChatPromptSubmit.vue.d.ts +3 -11
- package/dist/runtime/components/CheckboxGroup.d.vue.ts +3 -4
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +3 -4
- package/dist/runtime/components/Chip.d.vue.ts +1 -4
- package/dist/runtime/components/Chip.vue.d.ts +1 -4
- package/dist/runtime/components/Collapsible.d.vue.ts +1 -3
- package/dist/runtime/components/Collapsible.vue.d.ts +1 -3
- package/dist/runtime/components/ColorPicker.d.vue.ts +1 -5
- package/dist/runtime/components/ColorPicker.vue.d.ts +1 -5
- package/dist/runtime/components/CommandPalette.d.vue.ts +9 -14
- package/dist/runtime/components/CommandPalette.vue.d.ts +9 -14
- package/dist/runtime/components/ContextMenu.d.vue.ts +9 -5
- package/dist/runtime/components/ContextMenu.vue.d.ts +9 -5
- package/dist/runtime/components/ContextMenuContent.d.vue.ts +3 -7
- package/dist/runtime/components/ContextMenuContent.vue +2 -2
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +3 -7
- package/dist/runtime/components/DashboardGroup.d.vue.ts +1 -6
- package/dist/runtime/components/DashboardGroup.vue.d.ts +1 -6
- package/dist/runtime/components/DashboardNavbar.d.vue.ts +3 -6
- package/dist/runtime/components/DashboardNavbar.vue.d.ts +3 -6
- package/dist/runtime/components/DashboardPanel.d.vue.ts +1 -4
- package/dist/runtime/components/DashboardPanel.vue.d.ts +1 -4
- package/dist/runtime/components/DashboardSearch.d.vue.ts +4 -9
- package/dist/runtime/components/DashboardSearch.vue.d.ts +4 -9
- package/dist/runtime/components/DashboardSearchButton.d.vue.ts +3 -8
- package/dist/runtime/components/DashboardSearchButton.vue +1 -20
- package/dist/runtime/components/DashboardSearchButton.vue.d.ts +3 -8
- package/dist/runtime/components/DashboardSidebar.d.vue.ts +5 -6
- package/dist/runtime/components/DashboardSidebar.vue.d.ts +5 -6
- package/dist/runtime/components/DashboardSidebarCollapse.d.vue.ts +3 -7
- package/dist/runtime/components/DashboardSidebarCollapse.vue +1 -20
- package/dist/runtime/components/DashboardSidebarCollapse.vue.d.ts +3 -7
- package/dist/runtime/components/DashboardSidebarToggle.d.vue.ts +3 -7
- package/dist/runtime/components/DashboardSidebarToggle.vue +1 -20
- package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +3 -7
- package/dist/runtime/components/Drawer.d.vue.ts +1 -8
- package/dist/runtime/components/Drawer.vue.d.ts +1 -8
- package/dist/runtime/components/DropdownMenu.d.vue.ts +9 -5
- package/dist/runtime/components/DropdownMenu.vue.d.ts +9 -5
- package/dist/runtime/components/DropdownMenuContent.d.vue.ts +3 -7
- package/dist/runtime/components/DropdownMenuContent.vue +2 -2
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +3 -7
- package/dist/runtime/components/Editor.d.vue.ts +87 -0
- package/dist/runtime/components/Editor.vue +185 -0
- package/dist/runtime/components/Editor.vue.d.ts +87 -0
- package/dist/runtime/components/EditorDragHandle.d.vue.ts +64 -0
- package/dist/runtime/components/EditorDragHandle.vue +127 -0
- package/dist/runtime/components/EditorDragHandle.vue.d.ts +64 -0
- package/dist/runtime/components/EditorEmojiMenu.d.vue.ts +35 -0
- package/dist/runtime/components/EditorEmojiMenu.vue +70 -0
- package/dist/runtime/components/EditorEmojiMenu.vue.d.ts +35 -0
- package/dist/runtime/components/EditorMentionMenu.d.vue.ts +39 -0
- package/dist/runtime/components/EditorMentionMenu.vue +72 -0
- package/dist/runtime/components/EditorMentionMenu.vue.d.ts +39 -0
- package/dist/runtime/components/EditorSuggestionMenu.d.vue.ts +52 -0
- package/dist/runtime/components/EditorSuggestionMenu.vue +80 -0
- package/dist/runtime/components/EditorSuggestionMenu.vue.d.ts +52 -0
- package/dist/runtime/components/EditorToolbar.d.vue.ts +90 -0
- package/dist/runtime/components/EditorToolbar.vue +242 -0
- package/dist/runtime/components/EditorToolbar.vue.d.ts +90 -0
- package/dist/runtime/components/Error.d.vue.ts +2 -5
- package/dist/runtime/components/Error.vue.d.ts +2 -5
- package/dist/runtime/components/FieldGroup.d.vue.ts +1 -3
- package/dist/runtime/components/FieldGroup.vue.d.ts +1 -3
- package/dist/runtime/components/FileUpload.d.vue.ts +5 -6
- package/dist/runtime/components/FileUpload.vue.d.ts +5 -6
- package/dist/runtime/components/Footer.d.vue.ts +1 -3
- package/dist/runtime/components/Footer.vue.d.ts +1 -3
- package/dist/runtime/components/FooterColumns.d.vue.ts +3 -1
- package/dist/runtime/components/FooterColumns.vue.d.ts +3 -1
- package/dist/runtime/components/Form.d.vue.ts +3 -4
- package/dist/runtime/components/Form.vue.d.ts +3 -4
- package/dist/runtime/components/FormField.d.vue.ts +5 -0
- package/dist/runtime/components/FormField.vue +6 -5
- package/dist/runtime/components/FormField.vue.d.ts +5 -0
- package/dist/runtime/components/Header.d.vue.ts +5 -5
- package/dist/runtime/components/Header.vue.d.ts +5 -5
- package/dist/runtime/components/Input.d.vue.ts +5 -7
- package/dist/runtime/components/Input.vue.d.ts +5 -7
- package/dist/runtime/components/InputDate.d.vue.ts +4 -8
- package/dist/runtime/components/InputDate.vue.d.ts +4 -8
- package/dist/runtime/components/InputMenu.d.vue.ts +9 -15
- package/dist/runtime/components/InputMenu.vue +14 -1
- package/dist/runtime/components/InputMenu.vue.d.ts +9 -15
- package/dist/runtime/components/InputNumber.d.vue.ts +7 -9
- package/dist/runtime/components/InputNumber.vue.d.ts +7 -9
- package/dist/runtime/components/InputTags.d.vue.ts +4 -10
- package/dist/runtime/components/InputTags.vue.d.ts +4 -10
- package/dist/runtime/components/InputTime.d.vue.ts +3 -5
- package/dist/runtime/components/InputTime.vue.d.ts +3 -5
- package/dist/runtime/components/Kbd.d.vue.ts +1 -3
- package/dist/runtime/components/Kbd.vue.d.ts +1 -3
- package/dist/runtime/components/Link.d.vue.ts +6 -6
- package/dist/runtime/components/Link.vue.d.ts +6 -6
- package/dist/runtime/components/LinkBase.d.vue.ts +1 -4
- package/dist/runtime/components/LinkBase.vue.d.ts +1 -4
- package/dist/runtime/components/Marquee.d.vue.ts +1 -5
- package/dist/runtime/components/Marquee.vue.d.ts +1 -5
- package/dist/runtime/components/Modal.d.vue.ts +3 -10
- package/dist/runtime/components/Modal.vue.d.ts +3 -10
- package/dist/runtime/components/NavigationMenu.d.vue.ts +3 -3
- package/dist/runtime/components/NavigationMenu.vue.d.ts +3 -3
- package/dist/runtime/components/PageAnchors.d.vue.ts +3 -1
- package/dist/runtime/components/PageAnchors.vue.d.ts +3 -1
- package/dist/runtime/components/PageAside.d.vue.ts +1 -3
- package/dist/runtime/components/PageAside.vue.d.ts +1 -3
- package/dist/runtime/components/PageCTA.d.vue.ts +1 -4
- package/dist/runtime/components/PageCTA.vue.d.ts +1 -4
- package/dist/runtime/components/PageCard.d.vue.ts +1 -3
- package/dist/runtime/components/PageCard.vue.d.ts +1 -3
- package/dist/runtime/components/PageFeature.d.vue.ts +1 -3
- package/dist/runtime/components/PageFeature.vue +2 -2
- package/dist/runtime/components/PageFeature.vue.d.ts +1 -3
- package/dist/runtime/components/PageHero.d.vue.ts +1 -3
- package/dist/runtime/components/PageHero.vue.d.ts +1 -3
- package/dist/runtime/components/PageLinks.d.vue.ts +3 -1
- package/dist/runtime/components/PageLinks.vue.d.ts +3 -1
- package/dist/runtime/components/PageList.d.vue.ts +1 -3
- package/dist/runtime/components/PageList.vue.d.ts +1 -3
- package/dist/runtime/components/PageLogos.d.vue.ts +1 -3
- package/dist/runtime/components/PageLogos.vue.d.ts +1 -3
- package/dist/runtime/components/PageSection.d.vue.ts +1 -4
- package/dist/runtime/components/PageSection.vue.d.ts +1 -4
- package/dist/runtime/components/Pagination.d.vue.ts +1 -12
- package/dist/runtime/components/Pagination.vue.d.ts +1 -12
- package/dist/runtime/components/PinInput.d.vue.ts +4 -7
- package/dist/runtime/components/PinInput.vue +1 -1
- package/dist/runtime/components/PinInput.vue.d.ts +4 -7
- package/dist/runtime/components/Popover.d.vue.ts +3 -4
- package/dist/runtime/components/Popover.vue.d.ts +3 -4
- package/dist/runtime/components/PricingPlan.d.vue.ts +1 -3
- package/dist/runtime/components/PricingPlan.vue.d.ts +1 -3
- package/dist/runtime/components/PricingPlans.d.vue.ts +3 -1
- package/dist/runtime/components/PricingPlans.vue.d.ts +3 -1
- package/dist/runtime/components/PricingTable.d.vue.ts +3 -1
- package/dist/runtime/components/PricingTable.vue.d.ts +3 -1
- package/dist/runtime/components/Progress.d.vue.ts +1 -5
- package/dist/runtime/components/Progress.vue.d.ts +1 -5
- package/dist/runtime/components/RadioGroup.d.vue.ts +3 -4
- package/dist/runtime/components/RadioGroup.vue.d.ts +3 -4
- package/dist/runtime/components/ScrollArea.d.vue.ts +81 -0
- package/dist/runtime/components/ScrollArea.vue +187 -0
- package/dist/runtime/components/ScrollArea.vue.d.ts +81 -0
- package/dist/runtime/components/Select.d.vue.ts +6 -8
- package/dist/runtime/components/Select.vue +14 -1
- package/dist/runtime/components/Select.vue.d.ts +6 -8
- package/dist/runtime/components/SelectMenu.d.vue.ts +9 -14
- package/dist/runtime/components/SelectMenu.vue +14 -1
- package/dist/runtime/components/SelectMenu.vue.d.ts +9 -14
- package/dist/runtime/components/Separator.d.vue.ts +1 -3
- package/dist/runtime/components/Separator.vue.d.ts +1 -3
- package/dist/runtime/components/Slideover.d.vue.ts +8 -11
- package/dist/runtime/components/Slideover.vue +3 -1
- package/dist/runtime/components/Slideover.vue.d.ts +8 -11
- package/dist/runtime/components/Slider.d.vue.ts +3 -4
- package/dist/runtime/components/Slider.vue +2 -2
- package/dist/runtime/components/Slider.vue.d.ts +3 -4
- package/dist/runtime/components/Stepper.d.vue.ts +3 -5
- package/dist/runtime/components/Stepper.vue.d.ts +3 -5
- package/dist/runtime/components/Table.d.vue.ts +5 -16
- package/dist/runtime/components/Table.vue +55 -33
- package/dist/runtime/components/Table.vue.d.ts +5 -16
- package/dist/runtime/components/Tabs.d.vue.ts +3 -3
- package/dist/runtime/components/Tabs.vue.d.ts +3 -3
- package/dist/runtime/components/Textarea.d.vue.ts +5 -7
- package/dist/runtime/components/Textarea.vue.d.ts +5 -7
- package/dist/runtime/components/Timeline.d.vue.ts +3 -3
- package/dist/runtime/components/Timeline.vue.d.ts +3 -3
- package/dist/runtime/components/Toast.d.vue.ts +3 -7
- package/dist/runtime/components/Toast.vue.d.ts +3 -7
- package/dist/runtime/components/Toaster.d.vue.ts +1 -7
- package/dist/runtime/components/Toaster.vue.d.ts +1 -7
- package/dist/runtime/components/Tooltip.d.vue.ts +1 -3
- package/dist/runtime/components/Tooltip.vue.d.ts +1 -3
- package/dist/runtime/components/Tree.d.vue.ts +3 -4
- package/dist/runtime/components/Tree.vue.d.ts +3 -4
- package/dist/runtime/components/User.d.vue.ts +1 -3
- package/dist/runtime/components/User.vue +0 -1
- package/dist/runtime/components/User.vue.d.ts +1 -3
- package/dist/runtime/components/color-mode/ColorModeButton.d.vue.ts +3 -6
- package/dist/runtime/components/color-mode/ColorModeButton.vue +3 -22
- package/dist/runtime/components/color-mode/ColorModeButton.vue.d.ts +3 -6
- package/dist/runtime/components/color-mode/ColorModeSelect.d.vue.ts +1 -3
- package/dist/runtime/components/color-mode/ColorModeSelect.vue +1 -0
- package/dist/runtime/components/color-mode/ColorModeSelect.vue.d.ts +1 -3
- package/dist/runtime/components/content/ContentNavigation.d.vue.ts +3 -3
- package/dist/runtime/components/content/ContentNavigation.vue.d.ts +3 -3
- package/dist/runtime/components/content/ContentSearch.d.vue.ts +6 -6
- package/dist/runtime/components/content/ContentSearch.vue.d.ts +6 -6
- package/dist/runtime/components/content/ContentSearchButton.d.vue.ts +3 -8
- package/dist/runtime/components/content/ContentSearchButton.vue +1 -20
- package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +3 -8
- package/dist/runtime/components/content/ContentSurround.d.vue.ts +3 -1
- package/dist/runtime/components/content/ContentSurround.vue.d.ts +3 -1
- package/dist/runtime/components/content/ContentToc.d.vue.ts +3 -4
- package/dist/runtime/components/content/ContentToc.vue.d.ts +3 -4
- package/dist/runtime/components/locale/LocaleSelect.d.vue.ts +1 -5
- package/dist/runtime/components/locale/LocaleSelect.vue +10 -3
- package/dist/runtime/components/locale/LocaleSelect.vue.d.ts +1 -5
- package/dist/runtime/components/prose/Accordion.d.vue.ts +1 -3
- package/dist/runtime/components/prose/Accordion.vue.d.ts +1 -3
- package/dist/runtime/components/prose/Callout.vue +0 -1
- package/dist/runtime/components/prose/Card.vue +0 -1
- package/dist/runtime/components/prose/CodeGroup.d.vue.ts +1 -3
- package/dist/runtime/components/prose/CodeGroup.vue.d.ts +1 -3
- package/dist/runtime/components/prose/CodeTree.d.vue.ts +20 -1
- package/dist/runtime/components/prose/CodeTree.vue +32 -8
- package/dist/runtime/components/prose/CodeTree.vue.d.ts +20 -1
- package/dist/runtime/components/prose/Img.d.vue.ts +1 -3
- package/dist/runtime/components/prose/Img.vue.d.ts +1 -3
- package/dist/runtime/components/prose/Tabs.d.vue.ts +1 -3
- package/dist/runtime/components/prose/Tabs.vue.d.ts +1 -3
- package/dist/runtime/components/prose/callout/Caution.d.vue.ts +2 -2
- package/dist/runtime/components/prose/callout/Caution.vue.d.ts +2 -2
- package/dist/runtime/components/prose/callout/Note.d.vue.ts +2 -2
- package/dist/runtime/components/prose/callout/Note.vue.d.ts +2 -2
- package/dist/runtime/components/prose/callout/Tip.d.vue.ts +2 -2
- package/dist/runtime/components/prose/callout/Tip.vue.d.ts +2 -2
- package/dist/runtime/components/prose/callout/Warning.d.vue.ts +2 -2
- package/dist/runtime/components/prose/callout/Warning.vue.d.ts +2 -2
- package/dist/runtime/composables/defineShortcuts.d.ts +2 -1
- package/dist/runtime/composables/defineShortcuts.js +62 -15
- package/dist/runtime/composables/useEditorMenu.d.ts +64 -0
- package/dist/runtime/composables/useEditorMenu.js +448 -0
- package/dist/runtime/composables/useFileUpload.d.ts +1 -2
- package/dist/runtime/locale/en_gb.d.ts +3 -0
- package/dist/runtime/locale/en_gb.js +7 -0
- package/dist/runtime/locale/eu.d.ts +3 -0
- package/dist/runtime/locale/eu.js +129 -0
- package/dist/runtime/locale/index.d.ts +3 -0
- package/dist/runtime/locale/index.js +3 -0
- package/dist/runtime/locale/lo.d.ts +3 -0
- package/dist/runtime/locale/lo.js +129 -0
- package/dist/runtime/types/editor.d.ts +69 -0
- package/dist/runtime/types/editor.js +0 -0
- package/dist/runtime/types/index.d.ts +8 -0
- package/dist/runtime/types/index.js +8 -0
- package/dist/runtime/utils/content.d.ts +2 -2
- package/dist/runtime/utils/editor.d.ts +69 -0
- package/dist/runtime/utils/editor.js +364 -0
- package/dist/runtime/utils/locale.d.ts +1 -2
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.d.vue.ts +1 -3
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue +1 -0
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue.d.ts +1 -3
- package/dist/runtime/{inertia/components → vue/overrides/inertia}/Link.d.vue.ts +2 -7
- package/dist/runtime/{inertia/components → vue/overrides/inertia}/Link.vue +3 -3
- package/dist/runtime/{inertia/components → vue/overrides/inertia}/Link.vue.d.ts +2 -7
- package/dist/runtime/{inertia/components → vue/overrides/inertia}/LinkBase.d.vue.ts +2 -5
- package/dist/runtime/{inertia/components → vue/overrides/inertia}/LinkBase.vue.d.ts +2 -5
- package/dist/runtime/vue/overrides/none/Link.d.vue.ts +71 -0
- package/dist/runtime/vue/overrides/none/Link.vue +122 -0
- package/dist/runtime/vue/overrides/none/Link.vue.d.ts +71 -0
- package/dist/runtime/vue/{components → overrides/vue-router}/Link.d.vue.ts +2 -7
- package/dist/runtime/vue/{components → overrides/vue-router}/Link.vue +4 -4
- package/dist/runtime/vue/{components → overrides/vue-router}/Link.vue.d.ts +2 -7
- package/dist/runtime/vue/{stubs.d.ts → stubs/base.d.ts} +4 -5
- package/dist/runtime/vue/{stubs.js → stubs/base.js} +4 -5
- package/dist/runtime/vue/stubs/inertia.d.ts +5 -0
- package/dist/runtime/vue/stubs/inertia.js +10 -0
- package/dist/runtime/vue/stubs/none.d.ts +56 -0
- package/dist/runtime/vue/stubs/none.js +48 -0
- package/dist/runtime/vue/stubs/vue-router.d.ts +2 -0
- package/dist/runtime/vue/stubs/vue-router.js +2 -0
- package/dist/shared/{ui.B77q-Dvh.mjs → ui.DegC4tw1.mjs} +282 -60
- package/dist/unplugin.d.mts +14 -0
- package/dist/unplugin.mjs +73 -48
- package/dist/vite.mjs +1 -1
- package/package.json +45 -31
- package/dist/runtime/inertia/stubs.d.ts +0 -44
- package/dist/runtime/inertia/stubs.js +0 -84
- /package/dist/runtime/{inertia/components → vue/overrides/inertia}/LinkBase.vue +0 -0
|
@@ -10,8 +10,10 @@ export { default as de } from "./de.js";
|
|
|
10
10
|
export { default as de_ch } from "./de_ch.js";
|
|
11
11
|
export { default as el } from "./el.js";
|
|
12
12
|
export { default as en } from "./en.js";
|
|
13
|
+
export { default as en_gb } from "./en_gb.js";
|
|
13
14
|
export { default as es } from "./es.js";
|
|
14
15
|
export { default as et } from "./et.js";
|
|
16
|
+
export { default as eu } from "./eu.js";
|
|
15
17
|
export { default as fa_ir } from "./fa_ir.js";
|
|
16
18
|
export { default as fi } from "./fi.js";
|
|
17
19
|
export { default as fr } from "./fr.js";
|
|
@@ -30,6 +32,7 @@ export { default as km } from "./km.js";
|
|
|
30
32
|
export { default as ko } from "./ko.js";
|
|
31
33
|
export { default as ky } from "./ky.js";
|
|
32
34
|
export { default as lb } from "./lb.js";
|
|
35
|
+
export { default as lo } from "./lo.js";
|
|
33
36
|
export { default as lt } from "./lt.js";
|
|
34
37
|
export { default as mn } from "./mn.js";
|
|
35
38
|
export { default as ms } from "./ms.js";
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { defineLocale } from "../composables/defineLocale.js";
|
|
2
|
+
export default defineLocale({
|
|
3
|
+
name: "\u0EA5\u0EB2\u0EA7",
|
|
4
|
+
code: "lo",
|
|
5
|
+
messages: {
|
|
6
|
+
alert: {
|
|
7
|
+
close: "\u0E9B\u0EB4\u0E94"
|
|
8
|
+
},
|
|
9
|
+
authForm: {
|
|
10
|
+
hidePassword: "\u0EC0\u0E8A\u0EB7\u0EC8\u0EAD\u0E87\u0EA5\u0EB0\u0EAB\u0EB1\u0E94\u0E9C\u0EC8\u0EB2\u0E99",
|
|
11
|
+
showPassword: "\u0EAA\u0EB0\u0EC1\u0E94\u0E87\u0EA5\u0EB0\u0EAB\u0EB1\u0E94\u0E9C\u0EC8\u0EB2\u0E99",
|
|
12
|
+
submit: "\u0E94\u0EB3\u0EC0\u0E99\u0EB5\u0E99\u0E81\u0EB2\u0E99\u0E95\u0ECD\u0EC8"
|
|
13
|
+
},
|
|
14
|
+
banner: {
|
|
15
|
+
close: "\u0E9B\u0EB4\u0E94"
|
|
16
|
+
},
|
|
17
|
+
calendar: {
|
|
18
|
+
nextMonth: "\u0EC0\u0E94\u0EB7\u0EAD\u0E99\u0EDC\u0EC9\u0EB2",
|
|
19
|
+
nextYear: "\u0E9B\u0EB5\u0EDC\u0EC9\u0EB2",
|
|
20
|
+
prevMonth: "\u0EC0\u0E94\u0EB7\u0EAD\u0E99\u0E81\u0EC8\u0EAD\u0E99",
|
|
21
|
+
prevYear: "\u0E9B\u0EB5\u0E81\u0EC8\u0EAD\u0E99"
|
|
22
|
+
},
|
|
23
|
+
carousel: {
|
|
24
|
+
dots: "\u0EC0\u0EA5\u0EB7\u0EAD\u0E81\u0EAA\u0EB0\u0EC4\u0EA5\u0EC9\u0E97\u0EB5\u0EC8\u0E88\u0EB0\u0EAA\u0EB0\u0EC1\u0E94\u0E87",
|
|
25
|
+
goto: "\u0EC4\u0E9B\u0E97\u0EB5\u0EC8\u0EAA\u0EB0\u0EC4\u0EA5\u0EC9 {slide}",
|
|
26
|
+
next: "\u0E95\u0ECD\u0EC8\u0EC4\u0E9B",
|
|
27
|
+
prev: "\u0E81\u0EC8\u0EAD\u0E99\u0EDC\u0EC9\u0EB2"
|
|
28
|
+
},
|
|
29
|
+
chatPrompt: {
|
|
30
|
+
placeholder: "\u0E9E\u0EB4\u0EA1\u0E82\u0ECD\u0EC9\u0E84\u0EA7\u0EB2\u0EA1\u0E82\u0EAD\u0E87\u0E97\u0EC8\u0EB2\u0E99\u0E97\u0EB5\u0EC8\u0E99\u0EB5\u0EC9..."
|
|
31
|
+
},
|
|
32
|
+
chatPromptSubmit: {
|
|
33
|
+
label: "\u0EAA\u0EBB\u0EC8\u0E87\u0E84\u0EB3\u0EAA\u0EB1\u0EC8\u0E87"
|
|
34
|
+
},
|
|
35
|
+
colorMode: {
|
|
36
|
+
dark: "\u0EA1\u0EB7\u0E94",
|
|
37
|
+
light: "\u0EC1\u0E88\u0EC9\u0E87",
|
|
38
|
+
switchToDark: "\u0E9B\u0EC8\u0EBD\u0E99\u0EC0\u0E9B\u0EB1\u0E99\u0EC2\u0EAB\u0EA1\u0E94\u0EA1\u0EB7\u0E94",
|
|
39
|
+
switchToLight: "\u0E9B\u0EC8\u0EBD\u0E99\u0EC0\u0E9B\u0EB1\u0E99\u0EC2\u0EAB\u0EA1\u0E94\u0EC1\u0E88\u0EC9\u0E87",
|
|
40
|
+
system: "\u0EA5\u0EB0\u0E9A\u0EBB\u0E9A"
|
|
41
|
+
},
|
|
42
|
+
commandPalette: {
|
|
43
|
+
back: "\u0E81\u0EB1\u0E9A\u0E84\u0EB7\u0E99",
|
|
44
|
+
close: "\u0E9B\u0EB4\u0E94",
|
|
45
|
+
noData: "\u0E9A\u0ECD\u0EC8\u0EA1\u0EB5\u0E82\u0ECD\u0EC9\u0EA1\u0EB9\u0E99",
|
|
46
|
+
noMatch: "\u0E9A\u0ECD\u0EC8\u0E9E\u0EBB\u0E9A\u0E82\u0ECD\u0EC9\u0EA1\u0EB9\u0E99\u0E97\u0EB5\u0EC8\u0E81\u0EBB\u0E87\u0E81\u0EB1\u0E99",
|
|
47
|
+
placeholder: "\u0E9E\u0EB4\u0EA1\u0E84\u0EB3\u0EAA\u0EB1\u0EC8\u0E87 \u0EAB\u0EBC\u0EB7 \u0E84\u0EBB\u0EC9\u0E99\u0EAB\u0EB2..."
|
|
48
|
+
},
|
|
49
|
+
contentSearch: {
|
|
50
|
+
links: "\u0EA5\u0EB4\u0EC9\u0E87",
|
|
51
|
+
theme: "\u0E97\u0EB5\u0EA1"
|
|
52
|
+
},
|
|
53
|
+
contentSearchButton: {
|
|
54
|
+
label: "\u0E84\u0EBB\u0EC9\u0E99\u0EAB\u0EB2..."
|
|
55
|
+
},
|
|
56
|
+
contentToc: {
|
|
57
|
+
title: "\u0EC3\u0E99\u0EDC\u0EC9\u0EB2\u0E99\u0EB5\u0EC9"
|
|
58
|
+
},
|
|
59
|
+
dashboardSearch: {
|
|
60
|
+
theme: "\u0E97\u0EB5\u0EA1"
|
|
61
|
+
},
|
|
62
|
+
dashboardSearchButton: {
|
|
63
|
+
label: "\u0E84\u0EBB\u0EC9\u0E99\u0EAB\u0EB2..."
|
|
64
|
+
},
|
|
65
|
+
dashboardSidebarCollapse: {
|
|
66
|
+
collapse: "\u0EAB\u0E8D\u0ECD\u0EC9\u0EC1\u0E96\u0E9A\u0E94\u0EC9\u0EB2\u0E99\u0E82\u0EC9\u0EB2\u0E87",
|
|
67
|
+
expand: "\u0E82\u0EB0\u0EAB\u0E8D\u0EB2\u0E8D\u0EC1\u0E96\u0E9A\u0E94\u0EC9\u0EB2\u0E99\u0E82\u0EC9\u0EB2\u0E87"
|
|
68
|
+
},
|
|
69
|
+
dashboardSidebarToggle: {
|
|
70
|
+
close: "\u0E9B\u0EB4\u0E94\u0EC1\u0E96\u0E9A\u0E94\u0EC9\u0EB2\u0E99\u0E82\u0EC9\u0EB2\u0E87",
|
|
71
|
+
open: "\u0EC0\u0E9B\u0EB5\u0E94\u0EC1\u0E96\u0E9A\u0E94\u0EC9\u0EB2\u0E99\u0E82\u0EC9\u0EB2\u0E87"
|
|
72
|
+
},
|
|
73
|
+
error: {
|
|
74
|
+
clear: "\u0E81\u0EB1\u0E9A\u0EC4\u0E9B\u0EDC\u0EC9\u0EB2\u0EAB\u0EBC\u0EB1\u0E81"
|
|
75
|
+
},
|
|
76
|
+
fileUpload: {
|
|
77
|
+
removeFile: "\u0EA5\u0EBB\u0E9A {filename}"
|
|
78
|
+
},
|
|
79
|
+
header: {
|
|
80
|
+
close: "\u0E9B\u0EB4\u0E94\u0EC0\u0EA1\u0E99\u0EB9",
|
|
81
|
+
open: "\u0EC0\u0E9B\u0EB5\u0E94\u0EC0\u0EA1\u0E99\u0EB9"
|
|
82
|
+
},
|
|
83
|
+
inputMenu: {
|
|
84
|
+
create: '\u0EAA\u0EC9\u0EB2\u0E87 "{label}"',
|
|
85
|
+
noData: "\u0E9A\u0ECD\u0EC8\u0EA1\u0EB5\u0E82\u0ECD\u0EC9\u0EA1\u0EB9\u0E99",
|
|
86
|
+
noMatch: "\u0E9A\u0ECD\u0EC8\u0E9E\u0EBB\u0E9A\u0E82\u0ECD\u0EC9\u0EA1\u0EB9\u0E99\u0E97\u0EB5\u0EC8\u0E81\u0EBB\u0E87\u0E81\u0EB1\u0E99"
|
|
87
|
+
},
|
|
88
|
+
inputNumber: {
|
|
89
|
+
decrement: "\u0EAB\u0EBC\u0EB8\u0E94\u0EA5\u0EBB\u0E87",
|
|
90
|
+
increment: "\u0EC0\u0E9E\u0EB5\u0EC8\u0EA1\u0E82\u0EB6\u0EC9\u0E99"
|
|
91
|
+
},
|
|
92
|
+
modal: {
|
|
93
|
+
close: "\u0E9B\u0EB4\u0E94"
|
|
94
|
+
},
|
|
95
|
+
pricingTable: {
|
|
96
|
+
caption: "\u0E9B\u0EBD\u0E9A\u0E97\u0EBD\u0E9A\u0EC1\u0E9E\u0EB1\u0E81\u0EC0\u0E81\u0EB1\u0E94\u0EA5\u0EB2\u0E84\u0EB2"
|
|
97
|
+
},
|
|
98
|
+
prose: {
|
|
99
|
+
codeCollapse: {
|
|
100
|
+
closeText: "\u0EAB\u0E8D\u0ECD\u0EC9",
|
|
101
|
+
name: "\u0EC2\u0E84\u0EC9\u0E94",
|
|
102
|
+
openText: "\u0E82\u0EB0\u0EAB\u0E8D\u0EB2\u0E8D"
|
|
103
|
+
},
|
|
104
|
+
collapsible: {
|
|
105
|
+
closeText: "\u0EC0\u0E8A\u0EB7\u0EC8\u0EAD\u0E87",
|
|
106
|
+
name: "\u0E84\u0EB8\u0E99\u0EAA\u0EBB\u0EA1\u0E9A\u0EB1\u0E94",
|
|
107
|
+
openText: "\u0EAA\u0EB0\u0EC1\u0E94\u0E87"
|
|
108
|
+
},
|
|
109
|
+
pre: {
|
|
110
|
+
copy: "\u0E84\u0EB1\u0E94\u0EA5\u0EAD\u0E81\u0EC2\u0E84\u0EC9\u0E94"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
selectMenu: {
|
|
114
|
+
create: '\u0EAA\u0EC9\u0EB2\u0E87 "{label}"',
|
|
115
|
+
noData: "\u0E9A\u0ECD\u0EC8\u0EA1\u0EB5\u0E82\u0ECD\u0EC9\u0EA1\u0EB9\u0E99",
|
|
116
|
+
noMatch: "\u0E9A\u0ECD\u0EC8\u0E9E\u0EBB\u0E9A\u0E82\u0ECD\u0EC9\u0EA1\u0EB9\u0E99\u0E97\u0EB5\u0EC8\u0E81\u0EBB\u0E87\u0E81\u0EB1\u0E99",
|
|
117
|
+
search: "\u0E84\u0EBB\u0EC9\u0E99\u0EAB\u0EB2..."
|
|
118
|
+
},
|
|
119
|
+
slideover: {
|
|
120
|
+
close: "\u0E9B\u0EB4\u0E94"
|
|
121
|
+
},
|
|
122
|
+
table: {
|
|
123
|
+
noData: "\u0E9A\u0ECD\u0EC8\u0EA1\u0EB5\u0E82\u0ECD\u0EC9\u0EA1\u0EB9\u0E99"
|
|
124
|
+
},
|
|
125
|
+
toast: {
|
|
126
|
+
close: "\u0E9B\u0EB4\u0E94"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
});
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { Editor } from '@tiptap/vue-3';
|
|
2
|
+
import type { Strategy, Placement, OffsetOptions, FlipOptions, ShiftOptions, SizeOptions, AutoPlacementOptions, HideOptions, InlineOptions } from '@floating-ui/dom';
|
|
3
|
+
export interface FloatingUIOptions {
|
|
4
|
+
strategy?: Strategy;
|
|
5
|
+
placement?: Placement;
|
|
6
|
+
offset?: OffsetOptions | boolean;
|
|
7
|
+
flip?: FlipOptions | boolean;
|
|
8
|
+
shift?: ShiftOptions | boolean;
|
|
9
|
+
size?: SizeOptions | boolean;
|
|
10
|
+
autoPlacement?: AutoPlacementOptions | boolean;
|
|
11
|
+
hide?: HideOptions | boolean;
|
|
12
|
+
inline?: InlineOptions | boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface EditorHandler {
|
|
15
|
+
canExecute: (editor: Editor, cmd?: any) => boolean;
|
|
16
|
+
execute: (editor: Editor, cmd?: any) => any;
|
|
17
|
+
isActive: (editor: Editor, cmd?: any) => boolean;
|
|
18
|
+
isDisabled?: (editor: Editor, cmd?: any) => boolean;
|
|
19
|
+
}
|
|
20
|
+
export type EditorCustomHandlers = Record<string, EditorHandler>;
|
|
21
|
+
export type EditorHandlers<H extends EditorCustomHandlers = EditorCustomHandlers> = {
|
|
22
|
+
mark: EditorHandler;
|
|
23
|
+
textAlign: EditorHandler;
|
|
24
|
+
heading: EditorHandler;
|
|
25
|
+
link: EditorHandler;
|
|
26
|
+
image: EditorHandler;
|
|
27
|
+
blockquote: EditorHandler;
|
|
28
|
+
bulletList: EditorHandler;
|
|
29
|
+
orderedList: EditorHandler;
|
|
30
|
+
codeBlock: EditorHandler;
|
|
31
|
+
horizontalRule: EditorHandler;
|
|
32
|
+
paragraph: EditorHandler;
|
|
33
|
+
undo: EditorHandler;
|
|
34
|
+
redo: EditorHandler;
|
|
35
|
+
clearFormatting: EditorHandler;
|
|
36
|
+
duplicate: EditorHandler;
|
|
37
|
+
delete: EditorHandler;
|
|
38
|
+
moveUp: EditorHandler;
|
|
39
|
+
moveDown: EditorHandler;
|
|
40
|
+
suggestion: EditorHandler;
|
|
41
|
+
mention: EditorHandler;
|
|
42
|
+
emoji: EditorHandler;
|
|
43
|
+
} & H;
|
|
44
|
+
export type EditorItem<H extends EditorCustomHandlers = EditorCustomHandlers> = {
|
|
45
|
+
kind: 'mark';
|
|
46
|
+
mark: 'bold' | 'italic' | 'strike' | 'code' | 'underline';
|
|
47
|
+
} | {
|
|
48
|
+
kind: 'textAlign';
|
|
49
|
+
align: 'left' | 'center' | 'right' | 'justify';
|
|
50
|
+
} | {
|
|
51
|
+
kind: 'heading';
|
|
52
|
+
level: 1 | 2 | 3 | 4 | 5 | 6;
|
|
53
|
+
} | {
|
|
54
|
+
kind: 'link';
|
|
55
|
+
href?: string;
|
|
56
|
+
} | {
|
|
57
|
+
kind: 'image';
|
|
58
|
+
src?: string;
|
|
59
|
+
} | {
|
|
60
|
+
kind: 'duplicate' | 'delete' | 'moveUp' | 'moveDown';
|
|
61
|
+
pos: number;
|
|
62
|
+
} | {
|
|
63
|
+
kind: 'clearFormatting' | 'suggestion';
|
|
64
|
+
pos?: number;
|
|
65
|
+
} | {
|
|
66
|
+
kind: 'blockquote' | 'bulletList' | 'orderedList' | 'codeBlock' | 'horizontalRule' | 'paragraph' | 'undo' | 'redo' | 'mention' | 'emoji';
|
|
67
|
+
} | {
|
|
68
|
+
kind: keyof H;
|
|
69
|
+
};
|
|
File without changes
|
|
@@ -40,6 +40,12 @@ export * from '../components/DashboardSidebarToggle.vue';
|
|
|
40
40
|
export * from '../components/DashboardToolbar.vue';
|
|
41
41
|
export * from '../components/Drawer.vue';
|
|
42
42
|
export * from '../components/DropdownMenu.vue';
|
|
43
|
+
export * from '../components/Editor.vue';
|
|
44
|
+
export * from '../components/EditorDragHandle.vue';
|
|
45
|
+
export * from '../components/EditorEmojiMenu.vue';
|
|
46
|
+
export * from '../components/EditorMentionMenu.vue';
|
|
47
|
+
export * from '../components/EditorSuggestionMenu.vue';
|
|
48
|
+
export * from '../components/EditorToolbar.vue';
|
|
43
49
|
export * from '../components/Empty.vue';
|
|
44
50
|
export * from '../components/Error.vue';
|
|
45
51
|
export * from '../components/FieldGroup.vue';
|
|
@@ -85,6 +91,7 @@ export * from '../components/PricingPlans.vue';
|
|
|
85
91
|
export * from '../components/PricingTable.vue';
|
|
86
92
|
export * from '../components/Progress.vue';
|
|
87
93
|
export * from '../components/RadioGroup.vue';
|
|
94
|
+
export * from '../components/ScrollArea.vue';
|
|
88
95
|
export * from '../components/Select.vue';
|
|
89
96
|
export * from '../components/SelectMenu.vue';
|
|
90
97
|
export * from '../components/Separator.vue';
|
|
@@ -109,6 +116,7 @@ export * from '../components/color-mode/ColorModeSelect.vue';
|
|
|
109
116
|
export * from '../components/color-mode/ColorModeSwitch.vue';
|
|
110
117
|
export * from '../components/locale/LocaleSelect.vue';
|
|
111
118
|
export * from './content';
|
|
119
|
+
export * from './editor';
|
|
112
120
|
export * from './form';
|
|
113
121
|
export * from './locale';
|
|
114
122
|
export * from './prose';
|
|
@@ -40,6 +40,12 @@ export * from "../components/DashboardSidebarToggle.vue";
|
|
|
40
40
|
export * from "../components/DashboardToolbar.vue";
|
|
41
41
|
export * from "../components/Drawer.vue";
|
|
42
42
|
export * from "../components/DropdownMenu.vue";
|
|
43
|
+
export * from "../components/Editor.vue";
|
|
44
|
+
export * from "../components/EditorDragHandle.vue";
|
|
45
|
+
export * from "../components/EditorEmojiMenu.vue";
|
|
46
|
+
export * from "../components/EditorMentionMenu.vue";
|
|
47
|
+
export * from "../components/EditorSuggestionMenu.vue";
|
|
48
|
+
export * from "../components/EditorToolbar.vue";
|
|
43
49
|
export * from "../components/Empty.vue";
|
|
44
50
|
export * from "../components/Error.vue";
|
|
45
51
|
export * from "../components/FieldGroup.vue";
|
|
@@ -85,6 +91,7 @@ export * from "../components/PricingPlans.vue";
|
|
|
85
91
|
export * from "../components/PricingTable.vue";
|
|
86
92
|
export * from "../components/Progress.vue";
|
|
87
93
|
export * from "../components/RadioGroup.vue";
|
|
94
|
+
export * from "../components/ScrollArea.vue";
|
|
88
95
|
export * from "../components/Select.vue";
|
|
89
96
|
export * from "../components/SelectMenu.vue";
|
|
90
97
|
export * from "../components/Separator.vue";
|
|
@@ -109,6 +116,7 @@ export * from "../components/color-mode/ColorModeSelect.vue";
|
|
|
109
116
|
export * from "../components/color-mode/ColorModeSwitch.vue";
|
|
110
117
|
export * from "../components/locale/LocaleSelect.vue";
|
|
111
118
|
export * from "./content.js";
|
|
119
|
+
export * from "./editor.js";
|
|
112
120
|
export * from "./form.js";
|
|
113
121
|
export * from "./locale.js";
|
|
114
122
|
export * from "./prose.js";
|
|
@@ -3,11 +3,11 @@ type MapContentNavigationItemOptions = {
|
|
|
3
3
|
labelAttribute?: string;
|
|
4
4
|
deep?: number;
|
|
5
5
|
};
|
|
6
|
-
export declare function mapContentNavigationItem(item: ContentNavigationItem, options?: MapContentNavigationItemOptions, currentDepth?: number): Omit<ContentNavigationItem, "
|
|
6
|
+
export declare function mapContentNavigationItem(item: ContentNavigationItem, options?: MapContentNavigationItemOptions, currentDepth?: number): Omit<ContentNavigationItem, "title" | "path"> & {
|
|
7
7
|
label?: string;
|
|
8
8
|
to?: string;
|
|
9
9
|
};
|
|
10
|
-
export declare function mapContentNavigation(navigation: ContentNavigationItem[], options?: MapContentNavigationItemOptions): (Omit<ContentNavigationItem, "
|
|
10
|
+
export declare function mapContentNavigation(navigation: ContentNavigationItem[], options?: MapContentNavigationItemOptions): (Omit<ContentNavigationItem, "title" | "path"> & {
|
|
11
11
|
label?: string;
|
|
12
12
|
to?: string;
|
|
13
13
|
})[];
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { Editor, Mark } from '@tiptap/vue-3';
|
|
2
|
+
import type { Middleware } from '@floating-ui/dom';
|
|
3
|
+
import type { EditorHandlers, EditorCustomHandlers, EditorItem, FloatingUIOptions } from '../types/editor';
|
|
4
|
+
export declare function isMarkInSchema(mark: string | Mark, editor: Editor | null): boolean;
|
|
5
|
+
export declare function isNodeTypeSelected(editor: Editor | null, nodeTypes: string[]): boolean;
|
|
6
|
+
export declare function isExtensionAvailable(editor: Editor | null, extensionName: string): boolean;
|
|
7
|
+
export declare function createToggleHandler(name: string): {
|
|
8
|
+
canExecute: (editor: Editor) => any;
|
|
9
|
+
execute: (editor: Editor) => any;
|
|
10
|
+
isActive: (editor: Editor) => boolean;
|
|
11
|
+
isDisabled: (editor: Editor) => boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare function createSetHandler(name: string): {
|
|
14
|
+
canExecute: (editor: Editor) => any;
|
|
15
|
+
execute: (editor: Editor) => any;
|
|
16
|
+
isActive: (editor: Editor) => boolean;
|
|
17
|
+
isDisabled: (editor: Editor) => boolean;
|
|
18
|
+
};
|
|
19
|
+
export declare function createSimpleHandler(name: string): {
|
|
20
|
+
canExecute: (editor: Editor) => any;
|
|
21
|
+
execute: (editor: Editor) => any;
|
|
22
|
+
isActive: () => boolean;
|
|
23
|
+
isDisabled: undefined;
|
|
24
|
+
};
|
|
25
|
+
export declare function createMarkHandler(): {
|
|
26
|
+
canExecute: (editor: Editor, cmd: any) => any;
|
|
27
|
+
execute: (editor: Editor, cmd: any) => import("@tiptap/core").ChainedCommands;
|
|
28
|
+
isActive: (editor: Editor, cmd: any) => boolean;
|
|
29
|
+
isDisabled: (editor: Editor, cmd: any) => boolean;
|
|
30
|
+
};
|
|
31
|
+
export declare function createTextAlignHandler(): {
|
|
32
|
+
canExecute: (editor: Editor, cmd: any) => any;
|
|
33
|
+
execute: (editor: Editor, cmd: any) => any;
|
|
34
|
+
isActive: (editor: Editor, cmd: any) => boolean;
|
|
35
|
+
isDisabled: (editor: Editor) => boolean;
|
|
36
|
+
};
|
|
37
|
+
export declare function createHeadingHandler(): {
|
|
38
|
+
canExecute: (editor: Editor, cmd: any) => any;
|
|
39
|
+
execute: (editor: Editor, cmd: any) => import("@tiptap/core").ChainedCommands;
|
|
40
|
+
isActive: (editor: Editor, cmd: any) => boolean;
|
|
41
|
+
isDisabled: (editor: Editor) => boolean;
|
|
42
|
+
};
|
|
43
|
+
export declare function createLinkHandler(): {
|
|
44
|
+
canExecute: (editor: Editor) => any;
|
|
45
|
+
execute: (editor: Editor, cmd: any) => import("@tiptap/core").ChainedCommands;
|
|
46
|
+
isActive: (editor: Editor) => boolean;
|
|
47
|
+
isDisabled: (editor: Editor) => boolean;
|
|
48
|
+
};
|
|
49
|
+
export declare function createImageHandler(): {
|
|
50
|
+
canExecute: (editor: Editor) => any;
|
|
51
|
+
execute: (editor: Editor, cmd: any) => import("@tiptap/core").ChainedCommands;
|
|
52
|
+
isActive: (editor: Editor) => boolean;
|
|
53
|
+
isDisabled: (editor: Editor) => boolean;
|
|
54
|
+
};
|
|
55
|
+
export declare function createListHandler(listType: 'bulletList' | 'orderedList'): {
|
|
56
|
+
canExecute: (editor: Editor) => any;
|
|
57
|
+
execute: (editor: Editor) => any;
|
|
58
|
+
isActive: (editor: Editor) => boolean;
|
|
59
|
+
isDisabled: (editor: Editor) => boolean;
|
|
60
|
+
};
|
|
61
|
+
export declare function createMoveHandler(direction: 'up' | 'down'): {
|
|
62
|
+
canExecute: (editor: Editor, cmd: any) => boolean;
|
|
63
|
+
execute: (editor: Editor, cmd: any) => import("@tiptap/core").ChainedCommands;
|
|
64
|
+
isActive: () => boolean;
|
|
65
|
+
isDisabled: undefined;
|
|
66
|
+
};
|
|
67
|
+
export declare function createHandlers(): EditorHandlers;
|
|
68
|
+
export declare function mapEditorItems(editor: Editor, items: (Partial<EditorItem> & Record<string, any>)[] | (Partial<EditorItem> & Record<string, any>)[][], customHandlers?: EditorCustomHandlers): any[] | any[][];
|
|
69
|
+
export declare function buildFloatingUIMiddleware(options: FloatingUIOptions): Middleware[];
|