@npmxiaowu/h-ui-plus
Version:
Vue3 中基于Element-plus二次封装基础组件文档
187 lines (186 loc) • 7.1 kB
TypeScript
declare const HUpload: ({
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
visible: {
type: BooleanConstructor;
default: boolean;
};
inputv: {
type: StringConstructor;
default: string;
};
fileInfo: {
type: ObjectConstructor;
default: () => {
resourceId: string;
resourceTitle: string;
resourceType: string;
resourceTypeName: string;
resourceNodeCode: string;
resourceNodeName: string;
fileClassCode: string;
fileClassName: string;
deptCode: string;
orgCode: string;
userCode: string;
appCode: string;
companyCode: string;
};
};
}>> & Readonly<{
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
onConfirm?: ((...args: any[]) => any) | undefined;
}>, {
props: any;
tableFileId: import("vue").Ref<string, string>;
inputValue: import("vue").Ref<string, string>;
time: import("vue").Ref<any, any>;
TUploadRef: import("vue").Ref<any, any>;
fileList: import("vue").Ref<never[], never[]>;
multipleSelection: import("vue").Ref<never[], never[]>;
dialogVisible: import("vue").Ref<boolean, boolean>;
exportExcel: () => void;
successBtn: (data: any) => void;
updateVisible: () => void;
emit: (event: "update:visible" | "confirm", ...args: any[]) => void;
uploadFile: () => void;
getAllFileList: () => Promise<void>;
handleSelectionChange: (val: any) => void;
delFile: () => Promise<void>;
confirmClick: () => void;
handleTitle: (row: any) => void;
editTitle: () => void;
handleRowClick: (row: any) => Promise<void>;
getFileIconWithName: (name: any) => string;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "confirm")[], import("vue").PublicProps, {
inputv: string;
visible: boolean;
fileInfo: Record<string, any>;
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import("vue").ExtractPropTypes<{
visible: {
type: BooleanConstructor;
default: boolean;
};
inputv: {
type: StringConstructor;
default: string;
};
fileInfo: {
type: ObjectConstructor;
default: () => {
resourceId: string;
resourceTitle: string;
resourceType: string;
resourceTypeName: string;
resourceNodeCode: string;
resourceNodeName: string;
fileClassCode: string;
fileClassName: string;
deptCode: string;
orgCode: string;
userCode: string;
appCode: string;
companyCode: string;
};
};
}>> & Readonly<{
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
onConfirm?: ((...args: any[]) => any) | undefined;
}>, {
props: any;
tableFileId: import("vue").Ref<string, string>;
inputValue: import("vue").Ref<string, string>;
time: import("vue").Ref<any, any>;
TUploadRef: import("vue").Ref<any, any>;
fileList: import("vue").Ref<never[], never[]>;
multipleSelection: import("vue").Ref<never[], never[]>;
dialogVisible: import("vue").Ref<boolean, boolean>;
exportExcel: () => void;
successBtn: (data: any) => void;
updateVisible: () => void;
emit: (event: "update:visible" | "confirm", ...args: any[]) => void;
uploadFile: () => void;
getAllFileList: () => Promise<void>;
handleSelectionChange: (val: any) => void;
delFile: () => Promise<void>;
confirmClick: () => void;
handleTitle: (row: any) => void;
editTitle: () => void;
handleRowClick: (row: any) => Promise<void>;
getFileIconWithName: (name: any) => string;
}, {}, {}, {}, {
inputv: string;
visible: boolean;
fileInfo: Record<string, any>;
}>;
__isFragment?: undefined;
__isTeleport?: undefined;
__isSuspense?: undefined;
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
visible: {
type: BooleanConstructor;
default: boolean;
};
inputv: {
type: StringConstructor;
default: string;
};
fileInfo: {
type: ObjectConstructor;
default: () => {
resourceId: string;
resourceTitle: string;
resourceType: string;
resourceTypeName: string;
resourceNodeCode: string;
resourceNodeName: string;
fileClassCode: string;
fileClassName: string;
deptCode: string;
orgCode: string;
userCode: string;
appCode: string;
companyCode: string;
};
};
}>> & Readonly<{
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
onConfirm?: ((...args: any[]) => any) | undefined;
}>, {
props: any;
tableFileId: import("vue").Ref<string, string>;
inputValue: import("vue").Ref<string, string>;
time: import("vue").Ref<any, any>;
TUploadRef: import("vue").Ref<any, any>;
fileList: import("vue").Ref<never[], never[]>;
multipleSelection: import("vue").Ref<never[], never[]>;
dialogVisible: import("vue").Ref<boolean, boolean>;
exportExcel: () => void;
successBtn: (data: any) => void;
updateVisible: () => void;
emit: (event: "update:visible" | "confirm", ...args: any[]) => void;
uploadFile: () => void;
getAllFileList: () => Promise<void>;
handleSelectionChange: (val: any) => void;
delFile: () => Promise<void>;
confirmClick: () => void;
handleTitle: (row: any) => void;
editTitle: () => void;
handleRowClick: (row: any) => Promise<void>;
getFileIconWithName: (name: any) => string;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "confirm")[], "update:visible" | "confirm", {
inputv: string;
visible: boolean;
fileInfo: Record<string, any>;
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & {
label?: string | undefined;
}) & {
label: string;
};
export default HUpload;