UNPKG

vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

1 lines 1.07 kB
{"version":3,"file":"symbol.cjs","sources":["../../../components/timeline/symbol.ts"],"sourcesContent":["import type { InjectionKey } from 'vue'\n\nexport type TimelineItemType = 'primary' | 'info' | 'success' | 'error' | 'warning' | 'disabled'\n\nexport interface ItemState {\n label: string | number,\n index: number,\n total: number,\n height: number,\n}\n\nexport interface TimelineState {\n dashed: boolean,\n lineColor: string,\n spacing: number | string,\n alternate: boolean,\n horizontal: boolean,\n increaseItem: (item: ItemState) => void,\n decreaseItem: (item: ItemState) => void,\n handleSignalClick: (label: string | number) => void,\n}\n\nexport const TIMELINE_STATE = '__VXP_TIMELINE_STATE' as unknown as InjectionKey<TimelineState>\n\nexport const timelineItemTypes = Object.freeze<TimelineItemType[]>([\n 'primary',\n 'info',\n 'success',\n 'error',\n 'warning',\n 'disabled',\n])\n"],"names":["TIMELINE_STATE","timelineItemTypes"],"mappings":"gFAsBO,MAAMA,EAAiB,uBAEjBC,EAAoB,OAAO,OAA2B,CACjE,UACA,OACA,UACA,QACA,UACA,UACF,CAAC"}