{"version":3,"file":"constants.js","sources":["../../../../../../packages/components/tabs/src/constants.ts"],"sourcesContent":["import type { ComputedRef, InjectionKey, Ref, Slots, UnwrapRef } from 'vue'\nimport type { TabsProps } from './tabs'\nimport type { TabPaneProps } from './tab-pane'\n\nexport type TabsPaneContext = UnwrapRef<{\n uid: number\n slots: Slots\n props: TabPaneProps\n paneName: ComputedRef\n active: ComputedRef\n index: Ref\n isClosable: ComputedRef\n}>\n\nexport interface TabsRootContext {\n props: TabsProps\n currentName: Ref\n registerPane: (pane: TabsPaneContext) => void\n sortPane: (pane: TabsPaneContext) => void\n unregisterPane: (uid: number) => void\n}\n\nexport const tabsRootContextKey: InjectionKey =\n Symbol('tabsRootContextKey')\n"],"names":[],"mappings":";;;;AAAY,MAAC,kBAAkB,GAAG,MAAM,CAAC,oBAAoB;;;;"}