2022-06-22 01:01:11 +08:00
|
|
|
import { withInstall, withInstallDirective } from '@element-plus/utils'
|
2021-08-24 13:36:48 +08:00
|
|
|
|
2022-06-22 01:01:11 +08:00
|
|
|
import Popover from './src/popover.vue'
|
|
|
|
import PopoverDirective, { VPopover } from './src/directive'
|
2021-08-24 13:36:48 +08:00
|
|
|
|
2022-06-22 01:01:11 +08:00
|
|
|
export const ElPopoverDirective = withInstallDirective(
|
|
|
|
PopoverDirective,
|
|
|
|
VPopover
|
|
|
|
)
|
2021-08-24 13:36:48 +08:00
|
|
|
|
2022-06-22 01:01:11 +08:00
|
|
|
export const ElPopover = withInstall(Popover, {
|
|
|
|
directive: ElPopoverDirective,
|
|
|
|
})
|
|
|
|
export default ElPopover
|
2021-08-24 13:36:48 +08:00
|
|
|
|
2022-06-22 01:01:11 +08:00
|
|
|
export * from './src/popover'
|