form-designer-xinyi
Version:
基于vue3的设计器,可视化开发页面表单
30 lines (28 loc) • 1.13 kB
TypeScript
import { Option } from './types';
declare const _default: import('@vue/runtime-core').DefineComponent<__VLS_TypePropsToRuntimeProps<{
modelValue: Option[];
fieldOptions: {
label: string | undefined;
value: string | undefined;
}[];
}>, {}, unknown, {}, {}, import('@vue/runtime-core').ComponentOptionsMixin, import('@vue/runtime-core').ComponentOptionsMixin, {
"update:modelValue": (...args: any[]) => void;
}, string, import('@vue/runtime-core').PublicProps, Readonly<import('@vue/runtime-core').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
modelValue: Option[];
fieldOptions: {
label: string | undefined;
value: string | undefined;
}[];
}>>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}, {}, {}>;
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;
};
};