index.js 715 B

123456789101112131415161718192021
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', { value: true });
  3. var messageBox = require('./src/messageBox.js');
  4. require('./src/message-box.type.js');
  5. const _MessageBox = messageBox["default"];
  6. _MessageBox.install = (app) => {
  7. _MessageBox._context = app._context;
  8. app.config.globalProperties.$msgbox = _MessageBox;
  9. app.config.globalProperties.$messageBox = _MessageBox;
  10. app.config.globalProperties.$alert = _MessageBox.alert;
  11. app.config.globalProperties.$confirm = _MessageBox.confirm;
  12. app.config.globalProperties.$prompt = _MessageBox.prompt;
  13. };
  14. const ElMessageBox = _MessageBox;
  15. exports.ElMessageBox = ElMessageBox;
  16. exports["default"] = _MessageBox;
  17. //# sourceMappingURL=index.js.map