@vtj/designer
Version:
VTJ 是一款基于 Vue3 + Typescript 的低代码页面可视化设计器。内置低代码引擎、渲染器和代码生成器,面向前端开发者,开箱即用。 无缝嵌入本地开发工程,不改变前端开发流程和编码习惯。
40 lines (39 loc) • 1.46 kB
TypeScript
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
export interface Props {
name: string;
title: string;
editable?: boolean;
active?: boolean;
draggable?: boolean;
tag?: string;
tagType?: 'warning' | 'success' | 'danger' | 'primary';
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
copy: (...args: any[]) => void;
dragend: (...args: any[]) => void;
dragstart: (...args: any[]) => void;
edit: (...args: any[]) => void;
remove: (...args: any[]) => void;
}, string, PublicProps, Readonly<Props> & Readonly<{
onCopy?: ((...args: any[]) => any) | undefined;
onDragend?: ((...args: any[]) => any) | undefined;
onDragstart?: ((...args: any[]) => any) | undefined;
onEdit?: ((...args: any[]) => any) | undefined;
onRemove?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};