vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
1 lines • 898 B
Source Map (JSON)
{"version":3,"file":"symbol.cjs","sources":["../../../components/tabs/symbol.ts"],"sourcesContent":["import type { InjectionKey } from 'vue'\nimport type { TabNavSlots } from '@/components/tab-nav'\n\nexport interface ItemState {\n label: string | number,\n name: string,\n icon: Record<string, any>,\n disabled: boolean,\n closable?: boolean,\n labelRenderer: null | ((data: { label: string | number }) => any),\n}\n\nexport interface TabsState {\n currentActive: string | number,\n lazy: boolean,\n lazyLoad: boolean,\n increaseItem: (item: ItemState) => void,\n decreaseItem: (item: ItemState) => void,\n handleActive: (label: string | number) => void,\n refreshLabels: () => void,\n}\n\nexport interface TabsSlots extends TabNavSlots {}\n\nexport const TABS_STATE = '__VXP_TABS_STATE' as unknown as InjectionKey<TabsState>\n"],"names":["TABS_STATE"],"mappings":"gFAwBO,MAAMA,EAAa"}