@vtj/designer
Version:
VTJ 是一款基于 Vue3 + Typescript 的低代码页面可视化设计器。内置低代码引擎、渲染器和代码生成器,面向前端开发者,开箱即用。 无缝嵌入本地开发工程,不改变前端开发流程和编码习惯。
54 lines (53 loc) • 1.82 kB
TypeScript
import { ActionMenuItem } from '@vtj/ui';
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
export interface Props {
title?: string;
subtitle?: string;
plus?: boolean;
refresh?: boolean;
back?: boolean;
edit?: boolean;
remove?: boolean;
save?: boolean;
header?: boolean;
collapsable?: boolean;
menus?: ActionMenuItem[];
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
actions?(_: {}): any;
default?(_: {}): any;
footer?(_: {}): any;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
command: (...args: any[]) => void;
refresh: (...args: any[]) => void;
plus: (...args: any[]) => void;
back: (...args: any[]) => void;
edit: (...args: any[]) => void;
remove: (...args: any[]) => void;
save: (...args: any[]) => void;
}, string, PublicProps, Readonly<Props> & Readonly<{
onCommand?: ((...args: any[]) => any) | undefined;
onRefresh?: ((...args: any[]) => any) | undefined;
onPlus?: ((...args: any[]) => any) | undefined;
onBack?: ((...args: any[]) => any) | undefined;
onEdit?: ((...args: any[]) => any) | undefined;
onRemove?: ((...args: any[]) => any) | undefined;
onSave?: ((...args: any[]) => any) | undefined;
}>, {
header: boolean;
menus: ActionMenuItem[];
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};