UNPKG

ideaz-element

Version:

<p align="center"> <a href="" target="_blank" rel="noopener noreferrer"> <img src="./docs/public/logo.svg" alt="Ideaz Element" width="180" style="width: 180px;" /> </a> </p>

1 lines 875 B
{"version":3,"file":"index.mjs","sources":["../../../../packages/element/dialog/index.ts"],"sourcesContent":["import { withInstall } from '@ideaz/utils'\nimport type { App, Plugin } from 'vue'\nimport Dialog from './src/index'\nimport DialogTip from './src/dialog'\n\nexport type SFCWithInstall<T> = T & Plugin\n\nconst _DialogTip = DialogTip as SFCWithInstall<typeof DialogTip>\n\n_DialogTip.install = (app: App) => {\n _DialogTip._context = app._context\n app.config.globalProperties.$dialogTip = _DialogTip\n}\n\nexport default { ZDialog: withInstall(Dialog), ZDialogTip: _DialogTip }\nexport * from './src/props'\n"],"names":["_DialogTip","DialogTip","app","Dialog","withInstall","Dialog$1"],"mappings":";;;;;AAOA,MAAAA,IAAAC;AAEAD,EAAA,UAAA,CAAAE,MAAA;AACE,EAAAF,EAAA,WAAAE,EAAA,UACAA,EAAA,OAAA,iBAAA,aAAAF;AACF;AAEA,MAAAG,IAAA,EAAA,SAAAC,EAAAC,CAAA,GAAA,YAAAL,EAAA;"}