{"version":3,"file":"tokens.mjs","sources":["../../../../../../packages/components/focus-trap/src/tokens.ts"],"sourcesContent":["import type { InjectionKey, Ref } from 'vue'\n\nexport const FOCUS_AFTER_TRAPPED = 'focus-trap.focus-after-trapped'\nexport const FOCUS_AFTER_RELEASED = 'focus-trap.focus-after-released'\nexport const FOCUS_AFTER_TRAPPED_OPTS: EventInit = {\n  cancelable: true,\n  bubbles: false,\n}\n\nexport const ON_TRAP_FOCUS_EVT = 'focusAfterTrapped'\nexport const ON_RELEASE_FOCUS_EVT = 'focusAfterReleased'\n\nexport type FocusTrapInjectionContext = {\n  focusTrapRef: Ref<HTMLElement | undefined>\n  onKeydown: (e: KeyboardEvent) => void\n}\n\nexport const FOCUS_TRAP_INJECTION_KEY: InjectionKey<FocusTrapInjectionContext> =\n  Symbol('bFocusTrap')\n"],"names":[],"mappings":"AAEO,MAAM,mBAAsB,GAAA,iCAAA;AAC5B,MAAM,oBAAuB,GAAA,kCAAA;AAC7B,MAAM,wBAAsC,GAAA;AAAA,EACjD,UAAY,EAAA,IAAA;AAAA,EACZ,OAAS,EAAA,KAAA;AACX,EAAA;AAEO,MAAM,iBAAoB,GAAA,oBAAA;AAC1B,MAAM,oBAAuB,GAAA,qBAAA;AAOvB,MAAA,wBAAA,GACX,OAAO,YAAY;;;;"}