{"version":3,"file":"constants.mjs","names":[],"sources":["../../../../../../packages/components/base-tabs/src/constants.ts"],"sourcesContent":["import type { ComputedRef, InjectionKey, Ref, Slots, UnwrapRef } from 'vue'\nimport type { BaseTabsProps } from './tabs'\n\nexport type BaseTabsPaneContext = UnwrapRef<{\n  uid: number\n  slots: Slots\n  props: BaseTabsProps\n  paneName: ComputedRef<string | number | undefined>\n  active: ComputedRef<boolean>\n  index: Ref<string | undefined>\n  isClosable: ComputedRef<boolean>\n}>\n\nexport interface BaseTabsRootContext {\n  props: BaseTabsProps\n  currentName: Ref<string | number>\n  registerPane: (pane: BaseTabsPaneContext) => void\n  unregisterPane: (uid: number) => void\n}\n\nexport const tabsRootContextKey: InjectionKey<BaseTabsRootContext> = Symbol(\n  'baseTabsRootContextKey'\n)\n"],"mappings":";AAoBA,MAAa,qBAAwD,OACnE,yBACD"}