vix-editor 0.0.1
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/LICENSE +21 -0
- package/README.md +122 -0
- package/README.zh-CN.md +121 -0
- package/lib/en_Us-CzkSpEfR.mjs +214 -0
- package/lib/index.d.ts +3 -0
- package/lib/src/components/ActionButton.vue.d.ts +86 -0
- package/lib/src/components/ActionDropdownButton.vue.d.ts +67 -0
- package/lib/src/components/ActionDropdownButtonSplit.vue.d.ts +71 -0
- package/lib/src/components/ActionMenuButton.vue.d.ts +62 -0
- package/lib/src/components/ColorPicker.vue.d.ts +51 -0
- package/lib/src/components/EchoEditor.vue.d.ts +99 -0
- package/lib/src/components/FindAndReplace.vue.d.ts +43 -0
- package/lib/src/components/Menubars.vue.d.ts +31 -0
- package/lib/src/components/Preview.vue.d.ts +31 -0
- package/lib/src/components/Printer.vue.d.ts +31 -0
- package/lib/src/components/Toolbar.vue.d.ts +31 -0
- package/lib/src/components/icons/Icon.vue.d.ts +20 -0
- package/lib/src/components/icons/icons.d.ts +116 -0
- package/lib/src/components/icons/index.d.ts +4 -0
- package/lib/src/components/icons/setupIcon.d.ts +1 -0
- package/lib/src/components/menus/AIMenu.vue.d.ts +31 -0
- package/lib/src/components/menus/BasicBubble.d.ts +59 -0
- package/lib/src/components/menus/BasicBubbleMenu.vue.d.ts +31 -0
- package/lib/src/components/menus/ColumnsBubbleMenu.vue.d.ts +31 -0
- package/lib/src/components/menus/ContentMenu.vue.d.ts +40 -0
- package/lib/src/components/menus/ImageBubbleMenu.vue.d.ts +31 -0
- package/lib/src/components/menus/LinkBubbleMenu.vue.d.ts +31 -0
- package/lib/src/components/menus/TableBubbleMenu.vue.d.ts +24 -0
- package/lib/src/components/ui/button/Button.vue.d.ts +43 -0
- package/lib/src/components/ui/button/index.d.ts +8 -0
- package/lib/src/components/ui/checkbox/Checkbox.vue.d.ts +31 -0
- package/lib/src/components/ui/checkbox/index.d.ts +1 -0
- package/lib/src/components/ui/dialog/Dialog.vue.d.ts +26 -0
- package/lib/src/components/ui/dialog/DialogClose.vue.d.ts +22 -0
- package/lib/src/components/ui/dialog/DialogContent.vue.d.ts +57 -0
- package/lib/src/components/ui/dialog/DialogDescription.vue.d.ts +27 -0
- package/lib/src/components/ui/dialog/DialogFooter.vue.d.ts +26 -0
- package/lib/src/components/ui/dialog/DialogHeader.vue.d.ts +26 -0
- package/lib/src/components/ui/dialog/DialogScrollContent.vue.d.ts +57 -0
- package/lib/src/components/ui/dialog/DialogTitle.vue.d.ts +27 -0
- package/lib/src/components/ui/dialog/DialogTrigger.vue.d.ts +22 -0
- package/lib/src/components/ui/dialog/index.d.ts +9 -0
- package/lib/src/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +26 -0
- package/lib/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +33 -0
- package/lib/src/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +69 -0
- package/lib/src/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +22 -0
- package/lib/src/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +29 -0
- package/lib/src/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +29 -0
- package/lib/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +26 -0
- package/lib/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +31 -0
- package/lib/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +18 -0
- package/lib/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +26 -0
- package/lib/src/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +26 -0
- package/lib/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +59 -0
- package/lib/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +27 -0
- package/lib/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +22 -0
- package/lib/src/components/ui/dropdown-menu/index.d.ts +15 -0
- package/lib/src/components/ui/input/Input.vue.d.ts +25 -0
- package/lib/src/components/ui/input/index.d.ts +1 -0
- package/lib/src/components/ui/label/Label.vue.d.ts +27 -0
- package/lib/src/components/ui/label/index.d.ts +1 -0
- package/lib/src/components/ui/menu/MenuCheckboxItem.vue.d.ts +33 -0
- package/lib/src/components/ui/menu/MenuItem.vue.d.ts +29 -0
- package/lib/src/components/ui/menu/MenuSeparator.vue.d.ts +17 -0
- package/lib/src/components/ui/menu/MenuShortcut.vue.d.ts +26 -0
- package/lib/src/components/ui/menu/index.d.ts +5 -0
- package/lib/src/components/ui/menu.vue.d.ts +28 -0
- package/lib/src/components/ui/menubar/Menubar.vue.d.ts +31 -0
- package/lib/src/components/ui/menubar/MenubarCheckboxItem.vue.d.ts +33 -0
- package/lib/src/components/ui/menubar/MenubarContent.vue.d.ts +47 -0
- package/lib/src/components/ui/menubar/MenubarGroup.vue.d.ts +22 -0
- package/lib/src/components/ui/menubar/MenubarItem.vue.d.ts +33 -0
- package/lib/src/components/ui/menubar/MenubarLabel.vue.d.ts +29 -0
- package/lib/src/components/ui/menubar/MenubarMenu.vue.d.ts +22 -0
- package/lib/src/components/ui/menubar/MenubarRadioGroup.vue.d.ts +26 -0
- package/lib/src/components/ui/menubar/MenubarRadioItem.vue.d.ts +31 -0
- package/lib/src/components/ui/menubar/MenubarSeparator.vue.d.ts +18 -0
- package/lib/src/components/ui/menubar/MenubarShortcut.vue.d.ts +26 -0
- package/lib/src/components/ui/menubar/MenubarSub.vue.d.ts +28 -0
- package/lib/src/components/ui/menubar/MenubarSubContent.vue.d.ts +59 -0
- package/lib/src/components/ui/menubar/MenubarSubTrigger.vue.d.ts +29 -0
- package/lib/src/components/ui/menubar/MenubarTrigger.vue.d.ts +27 -0
- package/lib/src/components/ui/menubar/index.d.ts +15 -0
- package/lib/src/components/ui/popover/Popover.vue.d.ts +26 -0
- package/lib/src/components/ui/popover/PopoverContent.vue.d.ts +74 -0
- package/lib/src/components/ui/popover/PopoverTrigger.vue.d.ts +22 -0
- package/lib/src/components/ui/popover/index.d.ts +4 -0
- package/lib/src/components/ui/resizable/ResizableHandle.vue.d.ts +24 -0
- package/lib/src/components/ui/resizable/ResizablePanelGroup.vue.d.ts +31 -0
- package/lib/src/components/ui/resizable/index.d.ts +3 -0
- package/lib/src/components/ui/scroll-area/ScrollArea.vue.d.ts +27 -0
- package/lib/src/components/ui/scroll-area/ScrollBar.vue.d.ts +32 -0
- package/lib/src/components/ui/scroll-area/index.d.ts +2 -0
- package/lib/src/components/ui/select/Select.vue.d.ts +28 -0
- package/lib/src/components/ui/select/SelectContent.vue.d.ts +53 -0
- package/lib/src/components/ui/select/SelectGroup.vue.d.ts +27 -0
- package/lib/src/components/ui/select/SelectItem.vue.d.ts +27 -0
- package/lib/src/components/ui/select/SelectItemText.vue.d.ts +22 -0
- package/lib/src/components/ui/select/SelectLabel.vue.d.ts +27 -0
- package/lib/src/components/ui/select/SelectScrollDownButton.vue.d.ts +27 -0
- package/lib/src/components/ui/select/SelectScrollUpButton.vue.d.ts +27 -0
- package/lib/src/components/ui/select/SelectSeparator.vue.d.ts +18 -0
- package/lib/src/components/ui/select/SelectTrigger.vue.d.ts +27 -0
- package/lib/src/components/ui/select/SelectValue.vue.d.ts +22 -0
- package/lib/src/components/ui/select/index.d.ts +11 -0
- package/lib/src/components/ui/separator/Separator.vue.d.ts +20 -0
- package/lib/src/components/ui/separator/index.d.ts +1 -0
- package/lib/src/components/ui/switch/index.d.ts +1 -0
- package/lib/src/components/ui/tabs/Tabs.vue.d.ts +26 -0
- package/lib/src/components/ui/tabs/TabsContent.vue.d.ts +27 -0
- package/lib/src/components/ui/tabs/TabsList.vue.d.ts +27 -0
- package/lib/src/components/ui/tabs/TabsTrigger.vue.d.ts +27 -0
- package/lib/src/components/ui/tabs/index.d.ts +4 -0
- package/lib/src/components/ui/toast/Toast.vue.d.ts +104 -0
- package/lib/src/components/ui/toast/ToastAction.vue.d.ts +27 -0
- package/lib/src/components/ui/toast/ToastClose.vue.d.ts +18 -0
- package/lib/src/components/ui/toast/ToastDescription.vue.d.ts +27 -0
- package/lib/src/components/ui/toast/ToastProvider.vue.d.ts +22 -0
- package/lib/src/components/ui/toast/ToastTitle.vue.d.ts +27 -0
- package/lib/src/components/ui/toast/ToastViewport.vue.d.ts +18 -0
- package/lib/src/components/ui/toast/Toaster.vue.d.ts +2 -0
- package/lib/src/components/ui/toast/index.d.ts +22 -0
- package/lib/src/components/ui/toggle/Toggle.vue.d.ts +56 -0
- package/lib/src/components/ui/toggle/index.d.ts +8 -0
- package/lib/src/components/ui/toggle-group/ToggleGroup.vue.d.ts +38 -0
- package/lib/src/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +34 -0
- package/lib/src/components/ui/toggle-group/index.d.ts +2 -0
- package/lib/src/components/ui/tooltip/Tooltip.vue.d.ts +26 -0
- package/lib/src/components/ui/tooltip/TooltipContent.vue.d.ts +47 -0
- package/lib/src/components/ui/tooltip/TooltipProvider.vue.d.ts +22 -0
- package/lib/src/components/ui/tooltip/TooltipTrigger.vue.d.ts +22 -0
- package/lib/src/components/ui/tooltip/index.d.ts +4 -0
- package/lib/src/constants/index-en.d.ts +41 -0
- package/lib/src/constants/index.d.ts +41 -0
- package/lib/src/extensions/AI/AI.d.ts +27 -0
- package/lib/src/extensions/AI/components/AIButton.vue.d.ts +74 -0
- package/lib/src/extensions/AI/constants.d.ts +7 -0
- package/lib/src/extensions/AI/index.d.ts +1 -0
- package/lib/src/extensions/BaseKit.d.ts +113 -0
- package/lib/src/extensions/Blockquote/Blockquote.d.ts +6 -0
- package/lib/src/extensions/Blockquote/index.d.ts +1 -0
- package/lib/src/extensions/Bold/Bold.d.ts +6 -0
- package/lib/src/extensions/Bold/index.d.ts +1 -0
- package/lib/src/extensions/BulletList/BulletList.d.ts +6 -0
- package/lib/src/extensions/BulletList/components/BulletListMenuButton.vue.d.ts +35 -0
- package/lib/src/extensions/BulletList/index.d.ts +1 -0
- package/lib/src/extensions/Card/card.d.ts +16 -0
- package/lib/src/extensions/Card/index.d.ts +1 -0
- package/lib/src/extensions/Clear/Clear.d.ts +6 -0
- package/lib/src/extensions/Clear/index.d.ts +1 -0
- package/lib/src/extensions/Code/Code.d.ts +6 -0
- package/lib/src/extensions/Code/index.d.ts +1 -0
- package/lib/src/extensions/CodeBlock/CodeBlock.d.ts +21 -0
- package/lib/src/extensions/CodeBlock/components/NodeView.vue.d.ts +93 -0
- package/lib/src/extensions/CodeBlock/index.d.ts +1 -0
- package/lib/src/extensions/Color/Color.d.ts +6 -0
- package/lib/src/extensions/Color/components/ColorActionButton.vue.d.ts +48 -0
- package/lib/src/extensions/Color/index.d.ts +1 -0
- package/lib/src/extensions/Document/Document.d.ts +2 -0
- package/lib/src/extensions/Document/index.d.ts +1 -0
- package/lib/src/extensions/EChartsView/EChartsView.d.ts +3 -0
- package/lib/src/extensions/EChartsView/components/ChartView.vue.d.ts +2 -0
- package/lib/src/extensions/EChartsView/index.d.ts +1 -0
- package/lib/src/extensions/FindAndReplace/FindAndReplace.d.ts +58 -0
- package/lib/src/extensions/FindAndReplace/index.d.ts +1 -0
- package/lib/src/extensions/FontFamily/FontFamily.d.ts +25 -0
- package/lib/src/extensions/FontFamily/components/FontFamilyMenuButton.vue.d.ts +65 -0
- package/lib/src/extensions/FontFamily/index.d.ts +1 -0
- package/lib/src/extensions/FontSize/FontSize.d.ts +43 -0
- package/lib/src/extensions/FontSize/components/FontSizeMenuButton.vue.d.ts +64 -0
- package/lib/src/extensions/FontSize/index.d.ts +1 -0
- package/lib/src/extensions/FormatPainter/FormatPainter.d.ts +24 -0
- package/lib/src/extensions/FormatPainter/index.d.ts +1 -0
- package/lib/src/extensions/Fullscreen/Fullscreen.d.ts +13 -0
- package/lib/src/extensions/Fullscreen/index.d.ts +1 -0
- package/lib/src/extensions/Heading/Heading.d.ts +6 -0
- package/lib/src/extensions/Heading/components/HeadingButton.vue.d.ts +52 -0
- package/lib/src/extensions/Heading/index.d.ts +1 -0
- package/lib/src/extensions/Heading/types.d.ts +15 -0
- package/lib/src/extensions/Highlight/Highlight.d.ts +6 -0
- package/lib/src/extensions/Highlight/components/HighlightActionButton.vue.d.ts +49 -0
- package/lib/src/extensions/Highlight/index.d.ts +1 -0
- package/lib/src/extensions/HighlightParagraph/HighlightParagraph.d.ts +19 -0
- package/lib/src/extensions/HighlightParagraph/index.d.ts +1 -0
- package/lib/src/extensions/History/History.d.ts +6 -0
- package/lib/src/extensions/History/index.d.ts +1 -0
- package/lib/src/extensions/HorizontalRule/HorizontalRule.d.ts +6 -0
- package/lib/src/extensions/HorizontalRule/index.d.ts +1 -0
- package/lib/src/extensions/Iframe/Iframe.d.ts +23 -0
- package/lib/src/extensions/Iframe/IframeNodeView.vue.d.ts +92 -0
- package/lib/src/extensions/Iframe/embed.d.ts +120 -0
- package/lib/src/extensions/Iframe/index.d.ts +1 -0
- package/lib/src/extensions/Image/Image.d.ts +29 -0
- package/lib/src/extensions/Image/components/ImageView.vue.d.ts +92 -0
- package/lib/src/extensions/Image/index.d.ts +1 -0
- package/lib/src/extensions/ImageUpload/ImageUpload.d.ts +16 -0
- package/lib/src/extensions/ImageUpload/components/ImageUploader.vue.d.ts +92 -0
- package/lib/src/extensions/ImageUpload/index.d.ts +1 -0
- package/lib/src/extensions/ImportWord/ImportWord.d.ts +28 -0
- package/lib/src/extensions/ImportWord/index.d.ts +1 -0
- package/lib/src/extensions/ImportWord/utils.d.ts +2 -0
- package/lib/src/extensions/Indent/Indent.d.ts +23 -0
- package/lib/src/extensions/Indent/index.d.ts +1 -0
- package/lib/src/extensions/Italic/Italic.d.ts +6 -0
- package/lib/src/extensions/Italic/index.d.ts +1 -0
- package/lib/src/extensions/LineHeight/LineHeight.d.ts +17 -0
- package/lib/src/extensions/LineHeight/components/LineHeightDropdown.vue.d.ts +48 -0
- package/lib/src/extensions/LineHeight/index.d.ts +1 -0
- package/lib/src/extensions/Link/Link.d.ts +6 -0
- package/lib/src/extensions/Link/components/LinkEditBlock.vue.d.ts +30 -0
- package/lib/src/extensions/Link/components/LinkEditPopover.vue.d.ts +56 -0
- package/lib/src/extensions/Link/components/LinkViewBlock.vue.d.ts +37 -0
- package/lib/src/extensions/Link/index.d.ts +1 -0
- package/lib/src/extensions/ListItem/ListItem.d.ts +3 -0
- package/lib/src/extensions/ListItem/index.d.ts +1 -0
- package/lib/src/extensions/Mention/index.d.ts +1 -0
- package/lib/src/extensions/Mention/mention.d.ts +108 -0
- package/lib/src/extensions/Mention/utils/get-default-suggestion-attributes.d.ts +38 -0
- package/lib/src/extensions/MoreMark/MoreMark.d.ts +20 -0
- package/lib/src/extensions/MoreMark/components/ActionMoreButton.vue.d.ts +52 -0
- package/lib/src/extensions/MoreMark/index.d.ts +1 -0
- package/lib/src/extensions/MoreMark/types.d.ts +15 -0
- package/lib/src/extensions/MultiColumn/Column.d.ts +4 -0
- package/lib/src/extensions/MultiColumn/Columns.d.ts +26 -0
- package/lib/src/extensions/MultiColumn/index.d.ts +2 -0
- package/lib/src/extensions/OrderedList/OrderedList.d.ts +6 -0
- package/lib/src/extensions/OrderedList/components/OrderedListMenuButton.vue.d.ts +44 -0
- package/lib/src/extensions/OrderedList/index.d.ts +1 -0
- package/lib/src/extensions/Preview/Preview.d.ts +13 -0
- package/lib/src/extensions/Preview/index.d.ts +1 -0
- package/lib/src/extensions/Printer/Printer.d.ts +6 -0
- package/lib/src/extensions/Printer/index.d.ts +1 -0
- package/lib/src/extensions/ReferenceDot/ReferenceDot.d.ts +4 -0
- package/lib/src/extensions/ReferenceDot/index.d.ts +1 -0
- package/lib/src/extensions/Selection/Selection.d.ts +4 -0
- package/lib/src/extensions/Selection/index.d.ts +1 -0
- package/lib/src/extensions/SlashCommand/CommandsList.vue.d.ts +35 -0
- package/lib/src/extensions/SlashCommand/SlashCommand.d.ts +4 -0
- package/lib/src/extensions/SlashCommand/groups.d.ts +4 -0
- package/lib/src/extensions/SlashCommand/index.d.ts +1 -0
- package/lib/src/extensions/SlashCommand/types.d.ts +26 -0
- package/lib/src/extensions/Strike/Strike.d.ts +6 -0
- package/lib/src/extensions/Strike/index.d.ts +1 -0
- package/lib/src/extensions/Subscript/Subscript.d.ts +23 -0
- package/lib/src/extensions/Subscript/index.d.ts +1 -0
- package/lib/src/extensions/Table/cell-background.d.ts +19 -0
- package/lib/src/extensions/Table/components/CreateTablePopover.vue.d.ts +32 -0
- package/lib/src/extensions/Table/components/TableActionButton.vue.d.ts +53 -0
- package/lib/src/extensions/Table/index.d.ts +7 -0
- package/lib/src/extensions/Table/table.d.ts +24 -0
- package/lib/src/extensions/TaskList/TaskList.d.ts +12 -0
- package/lib/src/extensions/TaskList/index.d.ts +1 -0
- package/lib/src/extensions/TextAlign/TextAlign.d.ts +18 -0
- package/lib/src/extensions/TextAlign/components/TextAlignMenuButton.vue.d.ts +65 -0
- package/lib/src/extensions/TextAlign/index.d.ts +1 -0
- package/lib/src/extensions/TextBubble/TextBubble.d.ts +7 -0
- package/lib/src/extensions/TextBubble/components/TextDropdown.vue.d.ts +49 -0
- package/lib/src/extensions/TextBubble/index.d.ts +1 -0
- package/lib/src/extensions/TrailingNode/TrailingNode.d.ts +12 -0
- package/lib/src/extensions/TrailingNode/index.d.ts +1 -0
- package/lib/src/extensions/UnderLine/Underline.d.ts +6 -0
- package/lib/src/extensions/UnderLine/index.d.ts +1 -0
- package/lib/src/extensions/Video/Video.d.ts +55 -0
- package/lib/src/extensions/Video/index.d.ts +1 -0
- package/lib/src/extensions/VideoUpload/VideoUpload.d.ts +14 -0
- package/lib/src/extensions/VideoUpload/components/VideoUploader.vue.d.ts +92 -0
- package/lib/src/extensions/VideoUpload/index.d.ts +1 -0
- package/lib/src/extensions/index.d.ts +80 -0
- package/lib/src/hooks/index.d.ts +4 -0
- package/lib/src/hooks/useAIConversation.d.ts +19 -0
- package/lib/src/hooks/useContext.d.ts +21 -0
- package/lib/src/hooks/useEditorFocus.d.ts +17 -0
- package/lib/src/hooks/useHotkeys.d.ts +4 -0
- package/lib/src/hooks/useStore.d.ts +50 -0
- package/lib/src/index.d.ts +14 -0
- package/lib/src/lib/utils.d.ts +7 -0
- package/lib/src/locales/index.d.ts +31 -0
- package/lib/src/locales/locales/en.d.ts +2 -0
- package/lib/src/locales/locales/zh.d.ts +2 -0
- package/lib/src/plugins/DragHandle/index.d.ts +20 -0
- package/lib/src/plugins/DragHandle/range.d.ts +32 -0
- package/lib/src/plugins/DragHandle/utils.d.ts +17 -0
- package/lib/src/plugins/image-upload.d.ts +12 -0
- package/lib/src/type.d.ts +172 -0
- package/lib/src/utils/content.d.ts +3 -0
- package/lib/src/utils/getRenderContainer.d.ts +4 -0
- package/lib/src/utils/indent.d.ts +15 -0
- package/lib/src/utils/is-mobile.d.ts +19 -0
- package/lib/src/utils/line-height.d.ts +7 -0
- package/lib/src/utils/mitt.d.ts +24 -0
- package/lib/src/utils/plateform.d.ts +11 -0
- package/lib/src/utils/themeIcons.d.ts +6 -0
- package/lib/src/utils/utils.d.ts +21 -0
- package/lib/src/utils.d.ts +3 -0
- package/lib/style.css +1 -0
- package/lib/vite.config.d.ts +2 -0
- package/lib/vix-editor.mjs +98018 -0
- package/lib/zh_CN-3QknuiII.mjs +212 -0
- package/package.json +157 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { ButtonViewReturnComponentProps } from '../type';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
icon?: any;
|
|
5
|
+
title?: string;
|
|
6
|
+
tooltip?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
class?: string;
|
|
9
|
+
shortcutKeys?: string[];
|
|
10
|
+
btn_class?: string;
|
|
11
|
+
action?: ButtonViewReturnComponentProps['action'];
|
|
12
|
+
isActive?: ButtonViewReturnComponentProps['isActive'];
|
|
13
|
+
}
|
|
14
|
+
declare function __VLS_template(): {
|
|
15
|
+
default?(_: {}): any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
18
|
+
icon: undefined;
|
|
19
|
+
title: undefined;
|
|
20
|
+
tooltip: undefined;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
action: undefined;
|
|
23
|
+
isActive: undefined;
|
|
24
|
+
shortcutKeys: undefined;
|
|
25
|
+
class: string;
|
|
26
|
+
btn_class: string;
|
|
27
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
28
|
+
icon: undefined;
|
|
29
|
+
title: undefined;
|
|
30
|
+
tooltip: undefined;
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
action: undefined;
|
|
33
|
+
isActive: undefined;
|
|
34
|
+
shortcutKeys: undefined;
|
|
35
|
+
class: string;
|
|
36
|
+
btn_class: string;
|
|
37
|
+
}>>> & Readonly<{}>, {
|
|
38
|
+
class: string;
|
|
39
|
+
icon: any;
|
|
40
|
+
disabled: boolean;
|
|
41
|
+
action: (value?: any) => void;
|
|
42
|
+
isActive: () => boolean;
|
|
43
|
+
tooltip: string;
|
|
44
|
+
title: string;
|
|
45
|
+
shortcutKeys: string[];
|
|
46
|
+
btn_class: string;
|
|
47
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
48
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
49
|
+
export default _default;
|
|
50
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
51
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
52
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
53
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
54
|
+
} : {
|
|
55
|
+
type: import('vue').PropType<T[K]>;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
type __VLS_WithDefaults<P, D> = {
|
|
60
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
61
|
+
default: D[K];
|
|
62
|
+
}> : P[K];
|
|
63
|
+
};
|
|
64
|
+
type __VLS_Prettify<T> = {
|
|
65
|
+
[K in keyof T]: T[K];
|
|
66
|
+
} & {};
|
|
67
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
68
|
+
new (): {
|
|
69
|
+
$slots: S;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { ButtonViewReturnComponentProps } from '../type';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
icon?: any;
|
|
5
|
+
class?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
tooltip?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
shortcutKeys?: string[];
|
|
10
|
+
color?: string;
|
|
11
|
+
action?: ButtonViewReturnComponentProps['action'];
|
|
12
|
+
isActive?: ButtonViewReturnComponentProps['isActive'];
|
|
13
|
+
}
|
|
14
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
15
|
+
icon: undefined;
|
|
16
|
+
title: undefined;
|
|
17
|
+
tooltip: undefined;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
color: undefined;
|
|
20
|
+
shortcutKeys: undefined;
|
|
21
|
+
action: undefined;
|
|
22
|
+
isActive: undefined;
|
|
23
|
+
class: string;
|
|
24
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
25
|
+
icon: undefined;
|
|
26
|
+
title: undefined;
|
|
27
|
+
tooltip: undefined;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
color: undefined;
|
|
30
|
+
shortcutKeys: undefined;
|
|
31
|
+
action: undefined;
|
|
32
|
+
isActive: undefined;
|
|
33
|
+
class: string;
|
|
34
|
+
}>>> & Readonly<{}>, {
|
|
35
|
+
class: string;
|
|
36
|
+
icon: any;
|
|
37
|
+
color: string;
|
|
38
|
+
disabled: boolean;
|
|
39
|
+
action: (value?: any) => void;
|
|
40
|
+
isActive: () => boolean;
|
|
41
|
+
tooltip: string;
|
|
42
|
+
title: string;
|
|
43
|
+
shortcutKeys: string[];
|
|
44
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
45
|
+
export default _default;
|
|
46
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
48
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
+
} : {
|
|
51
|
+
type: import('vue').PropType<T[K]>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
type __VLS_WithDefaults<P, D> = {
|
|
56
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
57
|
+
default: D[K];
|
|
58
|
+
}> : P[K];
|
|
59
|
+
};
|
|
60
|
+
type __VLS_Prettify<T> = {
|
|
61
|
+
[K in keyof T]: T[K];
|
|
62
|
+
} & {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
modelValue?: string;
|
|
3
|
+
highlight?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
10
|
+
modelValue: string;
|
|
11
|
+
highlight: boolean;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (color: string | undefined) => void;
|
|
15
|
+
change: (color: string | undefined) => void;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
17
|
+
modelValue: string;
|
|
18
|
+
highlight: boolean;
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
}>>> & Readonly<{
|
|
21
|
+
onChange?: ((color: string | undefined) => any) | undefined;
|
|
22
|
+
"onUpdate:modelValue"?: ((color: string | undefined) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
highlight: boolean;
|
|
26
|
+
modelValue: string;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
32
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
+
} : {
|
|
35
|
+
type: import('vue').PropType<T[K]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
type __VLS_WithDefaults<P, D> = {
|
|
40
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
+
default: D[K];
|
|
42
|
+
}> : P[K];
|
|
43
|
+
};
|
|
44
|
+
type __VLS_Prettify<T> = {
|
|
45
|
+
[K in keyof T]: T[K];
|
|
46
|
+
} & {};
|
|
47
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { AnyExtension, JSONContent } from '@tiptap/core';
|
|
2
|
+
import { Editor } from '@tiptap/vue-3';
|
|
3
|
+
import { EchoEditorOnChange, EchoEditorProps } from '../type';
|
|
4
|
+
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
footer?(_: {
|
|
7
|
+
editor: Editor;
|
|
8
|
+
}): any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<EchoEditorProps>, {
|
|
11
|
+
modelValue: string;
|
|
12
|
+
output: string;
|
|
13
|
+
limit: number;
|
|
14
|
+
dark: undefined;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
hideContentMenu: boolean;
|
|
17
|
+
hideToolbar: boolean;
|
|
18
|
+
hideMenubar: boolean;
|
|
19
|
+
hideBubble: boolean;
|
|
20
|
+
removeDefaultWrapper: boolean;
|
|
21
|
+
maxWidth: undefined;
|
|
22
|
+
minHeight: undefined;
|
|
23
|
+
maxHeight: undefined;
|
|
24
|
+
extensions: () => never[];
|
|
25
|
+
editorClass: undefined;
|
|
26
|
+
contentClass: undefined;
|
|
27
|
+
showLimit: boolean;
|
|
28
|
+
}>>, {
|
|
29
|
+
editor: Editor;
|
|
30
|
+
isFocused: globalThis.Ref<boolean, boolean>;
|
|
31
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
|
+
enter: () => void;
|
|
33
|
+
change: (value: EchoEditorOnChange) => void;
|
|
34
|
+
"update:modelValue": (value: string | JSONContent) => void;
|
|
35
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<EchoEditorProps>, {
|
|
36
|
+
modelValue: string;
|
|
37
|
+
output: string;
|
|
38
|
+
limit: number;
|
|
39
|
+
dark: undefined;
|
|
40
|
+
disabled: boolean;
|
|
41
|
+
hideContentMenu: boolean;
|
|
42
|
+
hideToolbar: boolean;
|
|
43
|
+
hideMenubar: boolean;
|
|
44
|
+
hideBubble: boolean;
|
|
45
|
+
removeDefaultWrapper: boolean;
|
|
46
|
+
maxWidth: undefined;
|
|
47
|
+
minHeight: undefined;
|
|
48
|
+
maxHeight: undefined;
|
|
49
|
+
extensions: () => never[];
|
|
50
|
+
editorClass: undefined;
|
|
51
|
+
contentClass: undefined;
|
|
52
|
+
showLimit: boolean;
|
|
53
|
+
}>>> & Readonly<{
|
|
54
|
+
onEnter?: (() => any) | undefined;
|
|
55
|
+
onChange?: ((value: EchoEditorOnChange) => any) | undefined;
|
|
56
|
+
"onUpdate:modelValue"?: ((value: string | JSONContent) => any) | undefined;
|
|
57
|
+
}>, {
|
|
58
|
+
disabled: boolean;
|
|
59
|
+
modelValue: string | JSONContent;
|
|
60
|
+
output: "html" | "json" | "text";
|
|
61
|
+
extensions: AnyExtension[];
|
|
62
|
+
maxHeight: string | number;
|
|
63
|
+
maxWidth: string | number;
|
|
64
|
+
minHeight: string | number;
|
|
65
|
+
limit: number;
|
|
66
|
+
dark: boolean;
|
|
67
|
+
hideContentMenu: boolean;
|
|
68
|
+
hideToolbar: boolean;
|
|
69
|
+
hideMenubar: boolean;
|
|
70
|
+
hideBubble: boolean;
|
|
71
|
+
removeDefaultWrapper: boolean;
|
|
72
|
+
editorClass: string | string[] | Record<string, any>;
|
|
73
|
+
contentClass: string | string[] | Record<string, any>;
|
|
74
|
+
showLimit: boolean;
|
|
75
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
76
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
77
|
+
export default _default;
|
|
78
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
79
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
80
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
81
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
82
|
+
} : {
|
|
83
|
+
type: import('vue').PropType<T[K]>;
|
|
84
|
+
required: true;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
type __VLS_WithDefaults<P, D> = {
|
|
88
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
89
|
+
default: D[K];
|
|
90
|
+
}> : P[K];
|
|
91
|
+
};
|
|
92
|
+
type __VLS_Prettify<T> = {
|
|
93
|
+
[K in keyof T]: T[K];
|
|
94
|
+
} & {};
|
|
95
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
96
|
+
new (): {
|
|
97
|
+
$slots: S;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Editor } from '@tiptap/core';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
editor: Editor;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
containerRef: HTMLElement | null;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
containerRef: undefined;
|
|
11
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
find: (...args: any[]) => void;
|
|
13
|
+
replace: (...args: any[]) => void;
|
|
14
|
+
"update:modelValue": (...args: any[]) => void;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
containerRef: undefined;
|
|
18
|
+
}>>> & Readonly<{
|
|
19
|
+
onFind?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
onReplace?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
containerRef: HTMLElement | null;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: import('vue').PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
type __VLS_WithDefaults<P, D> = {
|
|
37
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
38
|
+
default: D[K];
|
|
39
|
+
}> : P[K];
|
|
40
|
+
};
|
|
41
|
+
type __VLS_Prettify<T> = {
|
|
42
|
+
[K in keyof T]: T[K];
|
|
43
|
+
} & {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Editor } from '@tiptap/core';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
editor: Editor;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
}>>> & Readonly<{}>, {
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
type __VLS_WithDefaults<P, D> = {
|
|
25
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
|
+
default: D[K];
|
|
27
|
+
}> : P[K];
|
|
28
|
+
};
|
|
29
|
+
type __VLS_Prettify<T> = {
|
|
30
|
+
[K in keyof T]: T[K];
|
|
31
|
+
} & {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Editor } from '@tiptap/core';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
editor: Editor;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
}>>> & Readonly<{}>, {
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
type __VLS_WithDefaults<P, D> = {
|
|
25
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
|
+
default: D[K];
|
|
27
|
+
}> : P[K];
|
|
28
|
+
};
|
|
29
|
+
type __VLS_Prettify<T> = {
|
|
30
|
+
[K in keyof T]: T[K];
|
|
31
|
+
} & {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Editor } from '@tiptap/core';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
editor: Editor;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
}>>> & Readonly<{}>, {
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
type __VLS_WithDefaults<P, D> = {
|
|
25
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
|
+
default: D[K];
|
|
27
|
+
}> : P[K];
|
|
28
|
+
};
|
|
29
|
+
type __VLS_Prettify<T> = {
|
|
30
|
+
[K in keyof T]: T[K];
|
|
31
|
+
} & {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Editor } from '@tiptap/core';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
editor: Editor;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
}>>> & Readonly<{}>, {
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
type __VLS_WithDefaults<P, D> = {
|
|
25
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
|
+
default: D[K];
|
|
27
|
+
}> : P[K];
|
|
28
|
+
};
|
|
29
|
+
type __VLS_Prettify<T> = {
|
|
30
|
+
[K in keyof T]: T[K];
|
|
31
|
+
} & {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { default as icons } from './icons';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
name: keyof typeof icons;
|
|
6
|
+
class?: HTMLAttributes["class"];
|
|
7
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
name: keyof typeof icons;
|
|
9
|
+
class?: HTMLAttributes["class"];
|
|
10
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
14
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
+
} : {
|
|
17
|
+
type: import('vue').PropType<T[K]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
export declare const icons: {
|
|
2
|
+
Bold: string;
|
|
3
|
+
LoaderCircle: string;
|
|
4
|
+
Italic: string;
|
|
5
|
+
Underline: string;
|
|
6
|
+
Quote: string;
|
|
7
|
+
TextQuote: string;
|
|
8
|
+
Strikethrough: string;
|
|
9
|
+
Minus: string;
|
|
10
|
+
Eraser: string;
|
|
11
|
+
PaintRoller: string;
|
|
12
|
+
Redo2: string;
|
|
13
|
+
Undo2: string;
|
|
14
|
+
AlignCenter: string;
|
|
15
|
+
AlignJustify: string;
|
|
16
|
+
AlignLeft: string;
|
|
17
|
+
AlignRight: string;
|
|
18
|
+
ChevronUp: string;
|
|
19
|
+
ChevronDown: string;
|
|
20
|
+
Subscript: string;
|
|
21
|
+
Superscript: string;
|
|
22
|
+
Code: string;
|
|
23
|
+
Code2: string;
|
|
24
|
+
Type: string;
|
|
25
|
+
IndentIncrease: string;
|
|
26
|
+
IndentDecrease: string;
|
|
27
|
+
List: string;
|
|
28
|
+
ListOrdered: string;
|
|
29
|
+
ListTodo: string;
|
|
30
|
+
Link: string;
|
|
31
|
+
ImageUp: string;
|
|
32
|
+
Video: string;
|
|
33
|
+
Maximize: string;
|
|
34
|
+
Minimize: string;
|
|
35
|
+
Table: string;
|
|
36
|
+
Sparkles: string;
|
|
37
|
+
Magic: string;
|
|
38
|
+
Pencil: string;
|
|
39
|
+
Unlink: string;
|
|
40
|
+
BetweenHorizonalEnd: string;
|
|
41
|
+
BetweenHorizonalStart: string;
|
|
42
|
+
ColumnDelete: string;
|
|
43
|
+
BetweenVerticalStart: string;
|
|
44
|
+
BetweenVerticalEnd: string;
|
|
45
|
+
RowDelete: string;
|
|
46
|
+
TableCellsMerge: string;
|
|
47
|
+
TableCellsSplit: string;
|
|
48
|
+
Trash2: string;
|
|
49
|
+
Trash: string;
|
|
50
|
+
Replace: string;
|
|
51
|
+
ChevronsUpDown: string;
|
|
52
|
+
LineHeight: string;
|
|
53
|
+
Word: string;
|
|
54
|
+
Paragraph: string;
|
|
55
|
+
Heading1: string;
|
|
56
|
+
Heading2: string;
|
|
57
|
+
Heading3: string;
|
|
58
|
+
Heading4: string;
|
|
59
|
+
Heading5: string;
|
|
60
|
+
Heading6: string;
|
|
61
|
+
Columns2: string;
|
|
62
|
+
Columns3: string;
|
|
63
|
+
Columns4: string;
|
|
64
|
+
Plus: string;
|
|
65
|
+
Grip: string;
|
|
66
|
+
Copy: string;
|
|
67
|
+
Clipboard: string;
|
|
68
|
+
MenuDown: string;
|
|
69
|
+
SizeS: string;
|
|
70
|
+
SizeM: string;
|
|
71
|
+
SizeL: string;
|
|
72
|
+
AspectRatio: string;
|
|
73
|
+
Gaode: string;
|
|
74
|
+
Baidu: string;
|
|
75
|
+
Youku: string;
|
|
76
|
+
BiliBili: string;
|
|
77
|
+
Modao: string;
|
|
78
|
+
Lanhu: string;
|
|
79
|
+
QQVideo: string;
|
|
80
|
+
Figma: string;
|
|
81
|
+
Canva: string;
|
|
82
|
+
Processon: string;
|
|
83
|
+
Codepen: string;
|
|
84
|
+
Jinshuju: string;
|
|
85
|
+
PanelLeft: string;
|
|
86
|
+
PanelRight: string;
|
|
87
|
+
Columns: string;
|
|
88
|
+
AI: string;
|
|
89
|
+
ChevronRight: string;
|
|
90
|
+
ArrowUp: string;
|
|
91
|
+
Paste: string;
|
|
92
|
+
Cut: string;
|
|
93
|
+
File: string;
|
|
94
|
+
Refresh: string;
|
|
95
|
+
Eye: string;
|
|
96
|
+
Printer: string;
|
|
97
|
+
Tablet: string;
|
|
98
|
+
Phone: string;
|
|
99
|
+
Monitor: string;
|
|
100
|
+
TextSelect: string;
|
|
101
|
+
SpellCheck: string;
|
|
102
|
+
DocSearch: string;
|
|
103
|
+
Close: string;
|
|
104
|
+
ImageSize: string;
|
|
105
|
+
FlipVertical: string;
|
|
106
|
+
FlipHorizontal: string;
|
|
107
|
+
WrapText: string;
|
|
108
|
+
CopyCustom: string;
|
|
109
|
+
DeleteCustom: string;
|
|
110
|
+
GenerateCustom: string;
|
|
111
|
+
GenerateCustomBw: string;
|
|
112
|
+
SendCustom: string;
|
|
113
|
+
SendCustomBw: string;
|
|
114
|
+
StopCustom: string;
|
|
115
|
+
};
|
|
116
|
+
export default icons;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function setupIcons(): void;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Editor } from '@tiptap/vue-3';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
editor: Editor;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
}>>> & Readonly<{}>, {
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
type __VLS_WithDefaults<P, D> = {
|
|
25
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
|
+
default: D[K];
|
|
27
|
+
}> : P[K];
|
|
28
|
+
};
|
|
29
|
+
type __VLS_Prettify<T> = {
|
|
30
|
+
[K in keyof T]: T[K];
|
|
31
|
+
} & {};
|