@vtj/designer
Version:
VTJ 是一款基于 Vue3 + Typescript 的低代码页面可视化设计器。内置低代码引擎、渲染器和代码生成器,面向前端开发者,开箱即用。 无缝嵌入本地开发工程,不改变前端开发流程和编码习惯。
55 lines (54 loc) • 2.31 kB
TypeScript
import { Context } from '@vtj/renderer';
import { BlockModel } from '@vtj/core';
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives } from 'vue';
import { Props } from '../editor/Editor';
export interface Props {
context: Context | null;
current: BlockModel | null;
value?: string;
}
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
editorRef: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onBlur?: ((...args: any[]) => any) | undefined;
onChange?: ((...args: any[]) => any) | undefined;
}>, {
getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
"update:modelValue": (...args: any[]) => void;
blur: (...args: any[]) => void;
change: (...args: any[]) => void;
}, PublicProps, {
height: string;
modelValue: string;
dark: boolean;
readonly: boolean;
options: import("monaco-editor").editor.IEditorConstructionOptions;
lang: string;
minimap: boolean;
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
container: HTMLDivElement;
}, HTMLDivElement, ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly< Props> & Readonly<{
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onBlur?: ((...args: any[]) => any) | undefined;
onChange?: ((...args: any[]) => any) | undefined;
}>, {
getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
}, {}, {}, {}, {
height: string;
modelValue: string;
dark: boolean;
readonly: boolean;
options: import("monaco-editor").editor.IEditorConstructionOptions;
lang: string;
minimap: boolean;
}> | null;
}, any>;
export default _default;