element-plus
Version:
A Component Library for Vue 3
1 lines • 1.02 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/types'\n\nconst _MessageBox = MessageBox as SFCWithInstall<typeof MessageBox>\n\n_MessageBox.install = (app: App) => {\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":";;;MAKM,cAAc;AAEpB,YAAY,UAAU,CAAC,QAAa;AAClC,MAAI,OAAO,iBAAiB,UAAU;AACtC,MAAI,OAAO,iBAAiB,cAAc;AAC1C,MAAI,OAAO,iBAAiB,SAAS,YAAY;AACjD,MAAI,OAAO,iBAAiB,WAAW,YAAY;AACnD,MAAI,OAAO,iBAAiB,UAAU,YAAY;AAAA;MAIvC,eAAe;;;;"}