You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
1.1 KiB

{"ast":null,"code":"const tabsRootContextKey = Symbol(\"tabsRootContextKey\");\nexport { tabsRootContextKey };","map":{"version":3,"names":["tabsRootContextKey","Symbol"],"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<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 sortPane: (pane: TabsPaneContext) => void\n unregisterPane: (uid: number) => void\n}\n\nexport const tabsRootContextKey: InjectionKey<TabsRootContext> =\n Symbol('tabsRootContextKey')\n"],"mappings":"AAAY,MAACA,kBAAkB,GAAGC,MAAM,CAAC,oBAAoB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}