1 line
898 B
Plaintext
1 line
898 B
Plaintext
{"version":3,"file":"tokens.mjs","sources":["../../../../../../packages/components/popper/src/tokens.ts"],"sourcesContent":["import type { InjectionKey, Ref } from 'vue'\nimport type { Instance } from '@popperjs/core'\nimport type { Measurable } from './popper'\n\nexport type ElPopperInjectionContext = {\n triggerRef: Ref<Measurable | null>\n contentRef: Ref<HTMLElement | null>\n popperInstanceRef: Ref<Instance | null>\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":"AAAY,MAAC,oBAAoB,GAAG,MAAM,CAAC,UAAU,EAAE;AAC3C,MAAC,4BAA4B,GAAG,MAAM,CAAC,iBAAiB;;;;"} |