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