@npmxiaowu/h-ui-plus
Version:
Vue3 中基于Element-plus二次封装基础组件文档
123 lines (122 loc) • 4.14 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;
};
isClickEdit: {
type: BooleanConstructor;
default: boolean;
};
modelValue: {
type: (NumberConstructor | ObjectConstructor | DateConstructor | StringConstructor | ArrayConstructor)[];
};
indexColumns: (NumberConstructor | StringConstructor)[];
}>, {
props: any;
emits: (event: "handleEvent" | "update:modelValue", ...args: any[]) => void;
slots: Readonly<{
[name: string]: import("vue").Slot<any> | undefined;
}>;
childCom: import("vue").Ref<string[], string[]>;
editMode: import("vue").Ref<boolean, boolean>;
tselecttableref: any;
handleRef: (el: any) => void;
resetClickTselectTable: () => void;
model: any;
cEvent: any;
childVal: import("vue").WritableComputedRef<any, 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>;
parentCom: import("vue").Ref<any, any>;
onFieldClick: () => void;
onInputExit: () => void;
getPlaceholder: (row: any) => any;
handleEvent: (type: any, val: any, comType: any) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleEvent" | "update:modelValue")[], "handleEvent" | "update:modelValue", 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;
};
isClickEdit: {
type: BooleanConstructor;
default: boolean;
};
modelValue: {
type: (NumberConstructor | ObjectConstructor | DateConstructor | StringConstructor | ArrayConstructor)[];
};
indexColumns: (NumberConstructor | StringConstructor)[];
}>> & Readonly<{
onHandleEvent?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {
prop: string;
configEdit: any;
listTypeInfo: Record<string, any>;
scope: Record<string, any>;
isClickEdit: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _sfc_main;