UNPKG

element-plus

Version:

A Component Library for Vue 3

1 lines 1.32 kB
{"version":3,"file":"index.mjs","sources":["../../../../../packages/components/popover/index.ts"],"sourcesContent":["import Popover from './src/index.vue'\nimport PopoverDirective, { VPopover } from './src/directive'\n\nimport type { App } from 'vue'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nPopover.install = (app: App): void => {\n app.component(Popover.name, Popover)\n}\n;(PopoverDirective as SFCWithInstall<typeof PopoverDirective>).install = (\n app: App\n) => {\n app.directive(VPopover, PopoverDirective)\n}\n\nconst _PopoverDirective = PopoverDirective as SFCWithInstall<\n typeof PopoverDirective\n>\n\nPopover.directive = _PopoverDirective\n\nconst _Popover = Popover as any as SFCWithInstall<typeof Popover> & {\n directive: typeof _PopoverDirective\n}\n\nexport default _Popover\nexport const ElPopover = _Popover\nexport const ElPopoverDirective = _PopoverDirective\n"],"names":[],"mappings":";;;AAEA,OAAO,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK;AAC3B,EAAE,GAAG,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;AACvC,CAAC,CAAC;AACF,gBAAgB,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK;AACpC,EAAE,GAAG,CAAC,SAAS,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAC;AAC5C,CAAC,CAAC;AACF,MAAM,iBAAiB,GAAG,gBAAgB,CAAC;AAC3C,OAAO,CAAC,SAAS,GAAG,iBAAiB,CAAC;AACjC,MAAC,QAAQ,GAAG,QAAQ;AAEb,MAAC,SAAS,GAAG,SAAS;AACtB,MAAC,kBAAkB,GAAG;;;;"}