{"version":3,"file":"tokens.mjs","sources":["../../../../../../packages/components/popper/src/tokens.ts"],"sourcesContent":["import type { InjectionKey, Ref } from 'vue'\r\nimport type { Instance } from '@popperjs/core'\r\nimport type { Measurable } from './popper'\r\n\r\nexport type SgPopperInjectionContext = {\r\n  triggerRef: Ref<Measurable | null>\r\n  contentRef: Ref<HTMLElement | null>\r\n  popperInstanceRef: Ref<Instance | null>\r\n}\r\n\r\nexport type SgPopperContentInjectionContext = {\r\n  arrowRef: Ref<HTMLElement | null>\r\n  arrowOffset: Ref<number | undefined>\r\n}\r\n\r\nexport const POPPER_INJECTION_KEY: InjectionKey<SgPopperInjectionContext> = Symbol('PopperContextKey')\r\n\r\nexport const POPPER_CONTENT_INJECTION_KEY: InjectionKey<SgPopperContentInjectionContext> = Symbol('PopperContentContextKey')\r\n"],"names":[],"mappings":"AAAY,MAAC,oBAAoB,GAAG,MAAM,CAAC,kBAAkB,EAAE;AACnD,MAAC,4BAA4B,GAAG,MAAM,CAAC,yBAAyB;;;;"}