element-plus
Version:
A Component Library for Vue 3
1 lines • 750 B
Source Map (JSON)
{"version":3,"file":"constants.mjs","sources":["../../../../../../packages/components/dialog/src/constants.ts"],"sourcesContent":["import type { CSSProperties, ComputedRef, InjectionKey, Ref } from 'vue'\nimport type { UseNamespaceReturn } from '@element-plus/hooks'\n\nexport type DialogContext = {\n dialogRef: Ref<HTMLElement | undefined>\n headerRef: Ref<HTMLElement | undefined>\n bodyId: Ref<string>\n ns: UseNamespaceReturn\n rendered: Ref<boolean>\n style: ComputedRef<CSSProperties>\n}\n\nexport const dialogInjectionKey: InjectionKey<DialogContext> =\n Symbol('dialogInjectionKey')\n\nexport const DEFAULT_DIALOG_TRANSITION = 'dialog-fade'\n"],"names":[],"mappings":"AAYa,MAAA,kBAAA,GACX,OAAO,oBAAoB,EAAA;AAEtB,MAAM,yBAA4B,GAAA;;;;"}