epic-designer-gold
Version:
基于vue3的设计器,可视化开发页面表单
49 lines (48 loc) • 1.75 kB
TypeScript
type __VLS_Props = {
modelValue?: string;
placeholder?: string;
editorTitle?: string;
previewTitle?: string;
minHeight?: number | string;
maxHeight?: number | string;
showToolbar?: boolean;
readonly?: boolean;
readOnly?: boolean;
disabled?: boolean;
};
declare function openPreview(): void;
declare function closePreview(): void;
declare function focus(): void;
declare function insertText(text: string): void;
declare function setValue(value: string): void;
declare const _default: import('vue').DefineComponent<__VLS_Props, {
focus: typeof focus;
insertText: typeof insertText;
openPreview: typeof openPreview;
closePreview: typeof closePreview;
setValue: typeof setValue;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
input: (value: string) => any;
blur: (value: string) => any;
change: (value: string) => any;
focus: (payload: FocusEvent) => any;
"update:modelValue": (value: string) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
onInput?: ((value: string) => any) | undefined;
onBlur?: ((value: string) => any) | undefined;
onChange?: ((value: string) => any) | undefined;
onFocus?: ((payload: FocusEvent) => any) | undefined;
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
}>, {
modelValue: string;
disabled: boolean;
placeholder: string;
maxHeight: number | string;
editorTitle: string;
previewTitle: string;
minHeight: number | string;
showToolbar: boolean;
readonly: boolean;
readOnly: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
export default _default;