UNPKG

epic-designer-gold

Version:

基于vue3的设计器,可视化开发页面表单

54 lines (53 loc) 1.91 kB
import { ComponentPublicInstance } from 'vue'; import { ComponentSchema } from '../../../types/epic-designer'; export interface ComponentNodeInstance extends ComponentPublicInstance { setValue?: (value: any) => void; getValue?: () => any; setAttr?: (key: string, value: any) => any; setBasic?: (key: string, value: any) => any; getAttr?: (key: string) => any; } declare function __VLS_template(): { slots: { "edit-node"?(_: {}): any; }; refs: { componentInstance: any; }; attrs: Partial<{}>; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<{ componentSchema: ComponentSchema; modelValue?: any; ruleField?: string[]; resetFormData?: boolean; name?: string; dynamicId?: string | number; sourceDateUrl?: string; id: string | undefined; }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { change: (...args: any[]) => void; "update:modelValue": (...args: any[]) => void; "update:dynamicId": (...args: any[]) => void; }, string, import('vue').PublicProps, Readonly<{ componentSchema: ComponentSchema; modelValue?: any; ruleField?: string[]; resetFormData?: boolean; name?: string; dynamicId?: string | number; sourceDateUrl?: string; id: string | undefined; }> & Readonly<{ onChange?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; "onUpdate:dynamicId"?: ((...args: any[]) => any) | undefined; }>, {}, {}, {}, {}, string, import('vue').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; }; };