UNPKG

element-plus

Version:

A Component Library for Vue 3

1 lines 1.66 kB
{"version":3,"file":"index.mjs","sources":["../../../../../packages/components/container/index.ts"],"sourcesContent":["import { withInstall, withNoopInstall } from '@element-plus/utils'\nimport Container from './src/container.vue'\nimport Aside from './src/aside.vue'\nimport Footer from './src/footer.vue'\nimport Header from './src/header.vue'\nimport Main from './src/main.vue'\n\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nexport const ElContainer: SFCWithInstall<typeof Container> & {\n Aside: typeof Aside\n Footer: typeof Footer\n Header: typeof Header\n Main: typeof Main\n} = withInstall(Container, {\n Aside,\n Footer,\n Header,\n Main,\n})\n\nexport default ElContainer\nexport const ElAside: SFCWithInstall<typeof Aside> = withNoopInstall(Aside)\nexport const ElFooter: SFCWithInstall<typeof Footer> = withNoopInstall(Footer)\nexport const ElHeader: SFCWithInstall<typeof Header> = withNoopInstall(Header)\nexport const ElMain: SFCWithInstall<typeof Main> = withNoopInstall(Main)\n\nexport type ContainerInstance = InstanceType<typeof Container> & unknown\nexport type AsideInstance = InstanceType<typeof Aside> & unknown\nexport type FooterInstance = InstanceType<typeof Footer> & unknown\nexport type HeaderInstance = InstanceType<typeof Header> & unknown\nexport type MainInstance = InstanceType<typeof Main> & unknown\n"],"names":[],"mappings":";;;;;;;AASa,MAAA,WAAA,GAKT,YAAY,SAAW,EAAA;AAAA,EACzB,KAAA;AAAA,EACA,MAAA;AAAA,EACA,MAAA;AAAA,EACA,IAAA;AACF,CAAC,EAAA;AAGY,MAAA,OAAA,GAAwC,gBAAgB,KAAK,EAAA;AAC7D,MAAA,QAAA,GAA0C,gBAAgB,MAAM,EAAA;AAChE,MAAA,QAAA,GAA0C,gBAAgB,MAAM,EAAA;AAChE,MAAA,MAAA,GAAsC,gBAAgB,IAAI;;;;"}