form-designer-xinyi
Version:
基于vue3的设计器,可视化开发页面表单
30 lines (28 loc) • 1.2 kB
TypeScript
import { ComponentSchema } from '../../types/epic-designer';
declare function __VLS_template(): {
"edit-node"?(_: {}): any;
node?(_: {
componentSchema: ComponentSchema;
}): any;
};
declare const __VLS_component: import('@vue/runtime-core').DefineComponent<__VLS_TypePropsToRuntimeProps<{
componentSchema: ComponentSchema;
}>, {}, unknown, {}, {}, import('@vue/runtime-core').ComponentOptionsMixin, import('@vue/runtime-core').ComponentOptionsMixin, {}, string, import('@vue/runtime-core').PublicProps, Readonly<import('@vue/runtime-core').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
componentSchema: ComponentSchema;
}>>>, {}, {}>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
export default _default;
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
type __VLS_TypePropsToRuntimeProps<T> = {
[K in keyof T]-?: {} extends Pick<T, K> ? {
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
} : {
type: import('vue').PropType<T[K]>;
required: true;
};
};
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};