index.mjs 564 B

123456789101112131415
  1. import MessageBox from './src/messageBox.mjs';
  2. const _MessageBox = MessageBox;
  3. _MessageBox.install = (app) => {
  4. _MessageBox._context = app._context;
  5. app.config.globalProperties.$msgbox = _MessageBox;
  6. app.config.globalProperties.$messageBox = _MessageBox;
  7. app.config.globalProperties.$alert = _MessageBox.alert;
  8. app.config.globalProperties.$confirm = _MessageBox.confirm;
  9. app.config.globalProperties.$prompt = _MessageBox.prompt;
  10. };
  11. const ElMessageBox = _MessageBox;
  12. export { ElMessageBox, _MessageBox as default };
  13. //# sourceMappingURL=index.mjs.map