@extclp/vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
1 lines • 1.02 kB
Source Map (JSON)
{"version":3,"file":"symbol.mjs","sources":["../../../components/wheel/symbol.ts"],"sourcesContent":["import type { InjectionKey } from 'vue'\r\n\r\nexport type WheelRawOption =\r\n | string\r\n | number\r\n | {\r\n value: string | number,\r\n label?: string,\r\n disabled?: boolean,\r\n }\r\n\r\nexport interface WheelOption {\r\n value: string | number,\r\n label: string,\r\n disabled: boolean,\r\n meta: WheelRawOption,\r\n}\r\n\r\nexport interface ItemState {\r\n width: number,\r\n height: number,\r\n el?: HTMLElement | null,\r\n value: number | string,\r\n disabled: boolean,\r\n meta: any,\r\n}\r\n\r\nexport interface WheelState {\r\n increaseItem(item: ItemState): void,\r\n decreaseItem(item: ItemState): void,\r\n}\r\n\r\nexport interface WheelSlots {\r\n default?: (params: { option: WheelOption, index: number }) => any,\r\n}\r\n\r\nexport const WHEEL_STATE = '__VXP_WHEEL_STATE' as unknown as InjectionKey<WheelState>\r\n"],"names":["WHEEL_STATE"],"mappings":"AAoCO,MAAMA,IAAc;"}