UNPKG

dum-ui-plus

Version:

Vue3 中基于Element-plus二次封装基础组件文档

75 lines (74 loc) 2.95 kB
declare const _sfc_main: import("vue").DefineComponent<{ /** 编辑配置项说明 * label: '爱好', // placeholder显示 * editComponent: 'el-select', // 组件 * type: 'select-arr', // option显示 * list: 'hobbyList', // 下拉选择数据源 * arrLabel: 'label', // 下拉选择中文显示 * arrKey: 'value' // 下拉选择number显示(最终传后台) * bind:{} // 组件衍生属性(即第三方组件属性) */ configEdit: { type: ObjectConstructor; default: () => {}; }; listTypeInfo: { type: ObjectConstructor; default: () => {}; }; scope: { type: ObjectConstructor; default: {}; }; prop: { type: StringConstructor; default: string; }; }, { props: any; emits: (event: "handleEvent" | "update:modelValue" | "keyupHandle", ...args: any[]) => void; keyUpHandle: ($event: any) => void; cEvent: import("vue").ComputedRef<(configEdit: any) => {}>; compChildName: import("vue").ComputedRef<(configEdit: any) => "el-checkbox" | "el-radio" | "el-option" | undefined>; compChildLabel: import("vue").ComputedRef<(configEdit: any, value: any) => any>; compChildValue: import("vue").ComputedRef<(configEdit: any, value: any, key: any) => any>; compChildShowLabel: import("vue").ComputedRef<(configEdit: any, value: any) => any>; getPlaceholder: (row: any) => any; handleEvent: (type: any, val: any, editCom: any) => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleEvent" | "update:modelValue" | "keyupHandle")[], "handleEvent" | "update:modelValue" | "keyupHandle", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ /** 编辑配置项说明 * label: '爱好', // placeholder显示 * editComponent: 'el-select', // 组件 * type: 'select-arr', // option显示 * list: 'hobbyList', // 下拉选择数据源 * arrLabel: 'label', // 下拉选择中文显示 * arrKey: 'value' // 下拉选择number显示(最终传后台) * bind:{} // 组件衍生属性(即第三方组件属性) */ configEdit: { type: ObjectConstructor; default: () => {}; }; listTypeInfo: { type: ObjectConstructor; default: () => {}; }; scope: { type: ObjectConstructor; default: {}; }; prop: { type: StringConstructor; default: string; }; }>> & { onHandleEvent?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; onKeyupHandle?: ((...args: any[]) => any) | undefined; }, { configEdit: Record<string, any>; listTypeInfo: Record<string, any>; scope: Record<string, any>; prop: string; }>; export default _sfc_main;