@vtj/designer
Version:
VTJ 是一款基于 Vue3 + Typescript 的低代码页面可视化设计器。内置低代码引擎、渲染器和代码生成器,面向前端开发者,开箱即用。 无缝嵌入本地开发工程,不改变前端开发流程和编码习惯。
39 lines (38 loc) • 1.41 kB
TypeScript
import { TabsItem, ActionMenuItem } from '@vtj/ui';
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
export interface Props {
items?: TabsItem[];
menus?: ActionMenuItem[];
modelValue?: string;
stretch?: boolean;
checkable?: boolean;
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
"update:modelValue": (...args: any[]) => void;
command: (...args: any[]) => void;
remove: (...args: any[]) => void;
"action-click": (...args: any[]) => void;
}, string, PublicProps, Readonly<Props> & Readonly<{
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onCommand?: ((...args: any[]) => any) | undefined;
onRemove?: ((...args: any[]) => any) | undefined;
"onAction-click"?: ((...args: any[]) => any) | undefined;
}>, {
items: TabsItem[];
}, {}, {}, {}, 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;
};
};