UNPKG

element-plus

Version:

A Component Library for Vue 3

1 lines 806 B
{"version":3,"file":"index.mjs","sources":["../../../../../packages/components/loading/index.ts"],"sourcesContent":["import Loading from './src'\nimport vLoading from './src/directive'\n\nimport type { App } from 'vue'\n\n// installer and everything in all\nconst ElLoading = {\n install(app: App) {\n app.directive('loading', vLoading)\n app.config.globalProperties.$loading = Loading\n },\n directive: vLoading,\n service: Loading,\n}\n\nexport default ElLoading\n\nexport { ElLoading }\n\nexport const ElLoadingDirective = vLoading\nexport const ElLoadingService = Loading\n\nexport * from './src/loading.type'\n"],"names":[],"mappings":";;;;MAMM,YAAY;AAAA,EAChB,QAAQ,KAAU;AAChB,QAAI,UAAU,WAAW;AACzB,QAAI,OAAO,iBAAiB,WAAW;AAAA;AAAA,EAEzC,WAAW;AAAA,EACX,SAAS;AAAA;MAOE,qBAAqB;MACrB,mBAAmB;;;;"}