UNPKG

ai-form-designer

Version:

vue3+adv的设计器,可视化开发页面表单

43 lines (42 loc) 1.53 kB
import { ComponentPublicInstance } from 'vue'; import { ComponentSchema } from '../../../types/ai-form-designer'; export interface ComponentNodeInstance extends ComponentPublicInstance { setValue?: (value: any) => void; getValue?: () => any; setAttr?: (key: string, value: any) => any; getAttr?: (key: string) => any; } type __VLS_Props = { componentSchema: ComponentSchema; modelValue?: any; ruleField?: string[]; resetFormData?: boolean; name?: string; }; declare function __VLS_template(): { attrs: Partial<{}>; slots: { 'edit-node'?(_: {}): any; }; refs: { componentInstance: unknown; }; rootEl: any; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { change: (...args: any[]) => void; "update:modelValue": (...args: any[]) => void; }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{ onChange?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { componentInstance: unknown; }, any>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };