form-designer-xinyi
Version:
基于vue3的设计器,可视化开发页面表单
32 lines (31 loc) • 1.12 kB
TypeScript
declare const _default: import('@vue/runtime-core').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
name: string;
prefix?: string;
}>, {
prefix: string;
}>, {}, unknown, {}, {}, import('@vue/runtime-core').ComponentOptionsMixin, import('@vue/runtime-core').ComponentOptionsMixin, {}, string, import('@vue/runtime-core').PublicProps, Readonly<import('@vue/runtime-core').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
name: string;
prefix?: string;
}>, {
prefix: string;
}>>>, {
prefix: string;
}, {}>;
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_WithDefaults<P, D> = {
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
default: D[K];
}> : P[K];
};
type __VLS_Prettify<T> = {
[K in keyof T]: T[K];
} & {};