UNPKG

@vtj/designer

Version:

VTJ 是一款基于 Vue3 + Typescript 的低代码页面可视化设计器。内置低代码引擎、渲染器和代码生成器,面向前端开发者,开箱即用。 无缝嵌入本地开发工程,不改变前端开发流程和编码习惯。

30 lines (29 loc) 1.02 kB
import { MaterialSetter, BlockModel } from '@vtj/core'; import { Context } from '@vtj/renderer'; import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; export interface Props { context: Context | null; current: BlockModel | null; name: string; label?: string; title?: string; setters: MaterialSetter[]; variable?: boolean; value?: any; options?: any[]; defaultSetter?: string; removable?: boolean; switchDisabled?: boolean; } declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { change: (...args: any[]) => void; remove: (...args: any[]) => void; }, string, PublicProps, Readonly<Props> & Readonly<{ onChange?: ((...args: any[]) => any) | undefined; onRemove?: ((...args: any[]) => any) | undefined; }>, { label: string; options: any[]; variable: boolean; }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>; export default _default;