You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
601 B
17 lines
601 B
1 month ago
|
import MessageBox from './src/messageBox.mjs';
|
||
|
import './src/message-box.type.mjs';
|
||
|
|
||
|
const _MessageBox = MessageBox;
|
||
|
_MessageBox.install = (app) => {
|
||
|
_MessageBox._context = app._context;
|
||
|
app.config.globalProperties.$msgbox = _MessageBox;
|
||
|
app.config.globalProperties.$messageBox = _MessageBox;
|
||
|
app.config.globalProperties.$alert = _MessageBox.alert;
|
||
|
app.config.globalProperties.$confirm = _MessageBox.confirm;
|
||
|
app.config.globalProperties.$prompt = _MessageBox.prompt;
|
||
|
};
|
||
|
const ElMessageBox = _MessageBox;
|
||
|
|
||
|
export { ElMessageBox, _MessageBox as default };
|
||
|
//# sourceMappingURL=index.mjs.map
|