@minto-ai/mt-ui
Version:
UI组件库
60 lines (59 loc) • 1.97 kB
TypeScript
import { PropType } from 'vue';
import { CopperOptions, UploadFile } from '../upload';
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
fileList: {
type: PropType<UploadFile[]>;
default: () => never[];
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
copperOptions: {
type: PropType<CopperOptions>;
default: () => {};
};
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
remove: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
fileList: {
type: PropType<UploadFile[]>;
default: () => never[];
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
copperOptions: {
type: PropType<CopperOptions>;
default: () => {};
};
}>> & Readonly<{
onRemove?: ((...args: any[]) => any) | undefined;
}>, {
disabled: boolean;
copperOptions: CopperOptions;
fileList: UploadFile[];
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
copperRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
open(source: File | string): Promise<{
file: File;
}>;
close(): void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
cropperRef: unknown;
}, any, import('vue').ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<{}> & Readonly<{}>, {
open(source: File | string): Promise<{
file: File;
}>;
close(): void;
}, {}, {}, {}, {}> | null;
}, any>;
export default _default;