@npmxiaowu/h-ui-plus
Version:
Vue3 中基于Element-plus二次封装基础组件文档
121 lines (120 loc) • 4.2 kB
TypeScript
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
/** 编辑配置项说明
* label: '爱好', // placeholder显示
* editComponent: 'el-select', // 组件
* type: 'select-arr', // option显示
* list: 'hobbyList', // 下拉选择数据源
* arrLabel: 'label', // 下拉选择中文显示
* arrKey: 'value' // 下拉选择number显示(最终传后台)
* bind:{} // 组件衍生属性(即第三方组件属性)
*/
configEdit: {
type: any;
default: () => {};
};
listTypeInfo: {
type: ObjectConstructor;
default: () => {};
};
scope: {
type: ObjectConstructor;
default: () => {};
};
prop: {
type: StringConstructor;
default: string;
};
isShowRules: {
type: BooleanConstructor;
default: boolean;
};
modelValue: {
type: (BooleanConstructor | NumberConstructor | ObjectConstructor | DateConstructor | StringConstructor | ArrayConstructor)[];
};
indexColumns: (NumberConstructor | StringConstructor)[];
}>, {
props: any;
emits: (event: "handleEvent" | "update:modelValue" | "keyupHandle" | "getRefs", ...args: any[]) => void;
childValue: any;
handleEvent: (type: string) => void;
keyUpHandle: ($event: any) => void;
cEvent: any;
selectListType: import("vue").ComputedRef<(item: {
list: string | number;
}) => any>;
compChildName: import("vue").ComputedRef<(configEdit: {
type: any;
}) => "el-radio" | "el-checkbox" | "el-option" | undefined>;
compChildLabel: import("vue").ComputedRef<(configEdit: {
type: any;
arrLabel: any;
}, value: {
[x: string]: any;
value: any;
}) => any>;
compChildValue: import("vue").ComputedRef<(configEdit: {
type: any;
arrKey: any;
}, value: {
[x: string]: any;
value: any;
}, key: any) => any>;
compChildShowLabel: import("vue").ComputedRef<(configEdit: {
type: any;
arrLabel: any;
}, value: {
[x: string]: any;
label: any;
}) => any>;
getRefs: (el: any, item: any) => void;
tselecttableref: any;
handleRef: (el: any, item: any) => void;
resetTselectTableFields: () => void;
getPlaceholder: (row: any) => any;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleEvent" | "update:modelValue" | "keyupHandle" | "getRefs")[], "handleEvent" | "update:modelValue" | "keyupHandle" | "getRefs", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
/** 编辑配置项说明
* label: '爱好', // placeholder显示
* editComponent: 'el-select', // 组件
* type: 'select-arr', // option显示
* list: 'hobbyList', // 下拉选择数据源
* arrLabel: 'label', // 下拉选择中文显示
* arrKey: 'value' // 下拉选择number显示(最终传后台)
* bind:{} // 组件衍生属性(即第三方组件属性)
*/
configEdit: {
type: any;
default: () => {};
};
listTypeInfo: {
type: ObjectConstructor;
default: () => {};
};
scope: {
type: ObjectConstructor;
default: () => {};
};
prop: {
type: StringConstructor;
default: string;
};
isShowRules: {
type: BooleanConstructor;
default: boolean;
};
modelValue: {
type: (BooleanConstructor | NumberConstructor | ObjectConstructor | DateConstructor | StringConstructor | ArrayConstructor)[];
};
indexColumns: (NumberConstructor | StringConstructor)[];
}>> & Readonly<{
onHandleEvent?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onKeyupHandle?: ((...args: any[]) => any) | undefined;
onGetRefs?: ((...args: any[]) => any) | undefined;
}>, {
prop: string;
configEdit: any;
listTypeInfo: Record<string, any>;
scope: Record<string, any>;
isShowRules: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _sfc_main;