UNPKG

element-plus

Version:

A Component Library for Vue 3

1 lines 1.29 kB
{"version":3,"file":"index.mjs","sources":["../../../../../packages/components/message-box/index.ts"],"sourcesContent":["import MessageBox from './src/messageBox'\n\nimport type { App } from 'vue'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nconst _MessageBox = MessageBox as SFCWithInstall<typeof MessageBox>\n\n_MessageBox.install = (app: App) => {\n _MessageBox._context = app._context\n app.config.globalProperties.$msgbox = _MessageBox\n app.config.globalProperties.$messageBox = _MessageBox\n app.config.globalProperties.$alert = _MessageBox.alert\n app.config.globalProperties.$confirm = _MessageBox.confirm\n app.config.globalProperties.$prompt = _MessageBox.prompt\n}\n\nexport default _MessageBox\nexport const ElMessageBox = _MessageBox\n\nexport * from './src/message-box.type'\n"],"names":[],"mappings":";;AAKA,MAAM,WAAA,GAAc;AAEpB,WAAA,CAAY,OAAA,GAAU,CAAC,GAAA,KAAa;AAClC,EAAA,WAAA,CAAY,WAAW,GAAA,CAAI,QAAA;AAC3B,EAAA,GAAA,CAAI,MAAA,CAAO,iBAAiB,OAAA,GAAU,WAAA;AACtC,EAAA,GAAA,CAAI,MAAA,CAAO,iBAAiB,WAAA,GAAc,WAAA;AAC1C,EAAA,GAAA,CAAI,MAAA,CAAO,gBAAA,CAAiB,MAAA,GAAS,WAAA,CAAY,KAAA;AACjD,EAAA,GAAA,CAAI,MAAA,CAAO,gBAAA,CAAiB,QAAA,GAAW,WAAA,CAAY,OAAA;AACnD,EAAA,GAAA,CAAI,MAAA,CAAO,gBAAA,CAAiB,OAAA,GAAU,WAAA,CAAY,MAAA;AACpD,CAAA;AAGO,MAAM,YAAA,GAAe;;;;"}