element-plus
Version:
A Component Library for Vue 3
1 lines • 1.33 kB
Source Map (JSON)
{"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,WAAc,GAAA,WAAA;AAEpB,WAAY,CAAA,OAAA,GAAU,CAAC,GAAa,KAAA;AAClC,EAAA,WAAA,CAAY,WAAW,GAAI,CAAA,QAAA,CAAA;AAC3B,EAAI,GAAA,CAAA,MAAA,CAAO,iBAAiB,OAAU,GAAA,WAAA,CAAA;AACtC,EAAI,GAAA,CAAA,MAAA,CAAO,iBAAiB,WAAc,GAAA,WAAA,CAAA;AAC1C,EAAI,GAAA,CAAA,MAAA,CAAO,gBAAiB,CAAA,MAAA,GAAS,WAAY,CAAA,KAAA,CAAA;AACjD,EAAI,GAAA,CAAA,MAAA,CAAO,gBAAiB,CAAA,QAAA,GAAW,WAAY,CAAA,OAAA,CAAA;AACnD,EAAI,GAAA,CAAA,MAAA,CAAO,gBAAiB,CAAA,OAAA,GAAU,WAAY,CAAA,MAAA,CAAA;AACpD,CAAA,CAAA;AAGO,MAAM,YAAe,GAAA;;;;"}