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