{"version":3,"file":"tokens.mjs","sources":["../../../../../packages/components/popper/src/tokens.ts"],"sourcesContent":["import type { InjectionKey, Ref, ShallowRef } from 'vue'\nimport type { Instance } from '@popperjs/core'\nimport type { Measurable } from './popper'\n\nexport type ElPopperInjectionContext = {\n  triggerRef: ShallowRef<Measurable | undefined>\n  contentRef: ShallowRef<HTMLElement | undefined>\n  popperInstanceRef: ShallowRef<Instance | undefined>\n}\n\nexport type ElPopperContentInjectionContext = {\n  arrowRef: Ref<HTMLElement | null>\n  arrowOffset: Ref<number | undefined>\n}\n\nexport const POPPER_INJECTION_KEY: InjectionKey<ElPopperInjectionContext> =\n  Symbol('elPopper')\n\nexport const POPPER_CONTENT_INJECTION_KEY: InjectionKey<ElPopperContentInjectionContext> =\n  Symbol('elPopperContent')\n"],"names":[],"mappings":"AAea,MAAA,oBAAA,GACX,OAAO,UAAU,EAAA;AAEN,MAAA,4BAAA,GACX,OAAO,iBAAiB;;;;"}