UNPKG

vue-admin-core

Version:
95 lines (94 loc) 2.59 kB
import { PropType } from "vue"; import type { IEditorConfig, IToolbarConfig, SlateDescendant } from "@wangeditor/editor"; declare const _default: import("vue").DefineComponent<{ /** 编辑器模式 */ mode: { type: StringConstructor; default: string; }; toolbarConfig: { type: PropType<Partial<IToolbarConfig>>; default: () => {}; }; /** 编辑器默认内容 */ defaultContent: { type: PropType<SlateDescendant[]>; default: () => never[]; }; defaultHtml: { type: StringConstructor; default: string; }; /** 编辑器默认配置 */ defaultConfig: { type: PropType<IEditorConfig>; default: () => {}; }; modelValue: { type: StringConstructor; default: string; }; /** 是否禁用 */ disabled: { type: BooleanConstructor; }; readOnly: { type: BooleanConstructor; }; placeholder: { type: StringConstructor; }; }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ /** 编辑器模式 */ mode: { type: StringConstructor; default: string; }; toolbarConfig: { type: PropType<Partial<IToolbarConfig>>; default: () => {}; }; /** 编辑器默认内容 */ defaultContent: { type: PropType<SlateDescendant[]>; default: () => never[]; }; defaultHtml: { type: StringConstructor; default: string; }; /** 编辑器默认配置 */ defaultConfig: { type: PropType<IEditorConfig>; default: () => {}; }; modelValue: { type: StringConstructor; default: string; }; /** 是否禁用 */ disabled: { type: BooleanConstructor; }; readOnly: { type: BooleanConstructor; }; placeholder: { type: StringConstructor; }; }>> & { "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; }, { modelValue: string; disabled: boolean; mode: string; readOnly: boolean; toolbarConfig: Partial<IToolbarConfig>; defaultContent: SlateDescendant[]; defaultHtml: string; defaultConfig: IEditorConfig; }, {}>; export default _default;