UNPKG

vexip-ui

Version:

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

1 lines 947 B
{"version":3,"file":"symbol.cjs","sources":["../../../components/wheel/symbol.ts"],"sourcesContent":["import type { InjectionKey } from 'vue'\n\nexport type WheelRawOption =\n | string\n | number\n | {\n value: string | number,\n label?: string,\n disabled?: boolean,\n }\n\nexport interface WheelOption {\n value: string | number,\n label: string,\n disabled: boolean,\n meta: WheelRawOption,\n}\n\nexport interface ItemState {\n width: number,\n height: number,\n el?: HTMLElement | null,\n value: number | string,\n disabled: boolean,\n meta: any,\n}\n\nexport interface WheelState {\n increaseItem(item: ItemState): void,\n decreaseItem(item: ItemState): void,\n}\n\nexport interface WheelSlots {\n default?: (params: { option: WheelOption, index: number }) => any,\n}\n\nexport const WHEEL_STATE = '__VXP_WHEEL_STATE' as unknown as InjectionKey<WheelState>\n"],"names":["WHEEL_STATE"],"mappings":"gFAoCO,MAAMA,EAAc"}