2022-02-11 11:03:15 +08:00
|
|
|
import { withInstall } from '@element-plus/utils'
|
2022-01-04 09:15:15 +08:00
|
|
|
import Popper from './src/popper.vue'
|
2021-08-24 13:36:48 +08:00
|
|
|
|
2022-03-24 21:22:46 +08:00
|
|
|
import ElPopperArrow from './src/arrow.vue'
|
|
|
|
import ElPopperTrigger from './src/trigger.vue'
|
|
|
|
import ElPopperContent from './src/content.vue'
|
|
|
|
|
|
|
|
export { ElPopperArrow, ElPopperTrigger, ElPopperContent }
|
2020-08-18 18:02:28 +08:00
|
|
|
|
2022-01-04 09:15:15 +08:00
|
|
|
export const ElPopper = withInstall(Popper)
|
|
|
|
export default ElPopper
|
2020-08-18 20:23:39 +08:00
|
|
|
|
2022-01-04 09:15:15 +08:00
|
|
|
export * from './src/popper'
|
2022-03-24 21:22:46 +08:00
|
|
|
export * from './src/trigger'
|
|
|
|
export * from './src/content'
|
|
|
|
export * from './src/arrow'
|
2020-12-23 14:07:15 +08:00
|
|
|
|
2021-01-04 14:59:09 +08:00
|
|
|
export type { Placement, Options } from '@popperjs/core'
|
2022-03-24 21:22:46 +08:00
|
|
|
export type ElPopperArrowInstance = InstanceType<typeof ElPopperArrow>
|
|
|
|
export type ElPopperArrowTrigger = InstanceType<typeof ElPopperTrigger>
|
|
|
|
export type ElPopperArrowContent = InstanceType<typeof ElPopperContent>
|