import VxeUploadComponent from "./src/upload.mjs";
import { VxeUI } from "../../../@vxe-ui/core/es/index.esm.mjs";
import { dynamicApp } from "../dynamics/index.mjs";
import { saveLocalFile, readLocalFile } from "./src/util.mjs";
const VxeUpload = Object.assign({}, VxeUploadComponent, {
  install(app) {
    app.component(VxeUploadComponent.name, VxeUploadComponent);
  }
});
dynamicApp.use(VxeUpload);
VxeUI.component(VxeUploadComponent);
VxeUI.saveFile = saveLocalFile;
VxeUI.readFile = readLocalFile;
const Upload = VxeUpload;
export {
  Upload,
  VxeUpload,
  VxeUpload as default
};
