2022-02-24 01:58:58 +00:00
|
|
|
import type { App } from 'vue';
|
|
|
|
import Upload, { LIST_IGNORE } from './Upload';
|
2019-01-12 03:33:27 +00:00
|
|
|
import Dragger from './Dragger';
|
2018-04-13 08:19:50 +00:00
|
|
|
|
2022-02-24 01:58:58 +00:00
|
|
|
export type { UploadProps, UploadListProps, UploadChangeParam, UploadFile } from './interface';
|
2018-09-19 05:21:57 +00:00
|
|
|
|
|
|
|
/* istanbul ignore next */
|
2021-06-23 13:47:53 +00:00
|
|
|
export const UploadDragger = Dragger;
|
|
|
|
|
2022-02-24 01:58:58 +00:00
|
|
|
export default Object.assign(Upload, {
|
|
|
|
Dragger,
|
|
|
|
LIST_IGNORE,
|
|
|
|
install(app: App) {
|
|
|
|
app.component(Upload.name, Upload);
|
|
|
|
app.component(Dragger.name, Dragger);
|
|
|
|
return app;
|
|
|
|
},
|
|
|
|
});
|