hongluan-ui
Version:
Hongluan Component Library for Vue 3
1 lines • 684 B
Source Map (JSON)
{"version":3,"file":"pagination.mjs","sources":["../../../../packages/tokens/pagination.ts"],"sourcesContent":["import type { ComponentSize } from '@hongluan-ui/constants'\nimport type { InjectionKey, ComputedRef, WritableComputedRef } from 'vue'\n\nexport interface PaginationContext {\n currentPage?: WritableComputedRef<number>\n pageCount?: ComputedRef<number>\n disabled?: ComputedRef<boolean>\n size?: ComputedRef<ComponentSize>\n changeEvent?: (val: number) => void\n handleSizeChange?: (val: number) => void\n}\n\nexport const paginationKey: InjectionKey<PaginationContext> =\n Symbol('PaginationKey')\n"],"names":[],"mappings":"AAAY,MAAC,aAAa,GAAG,MAAM,CAAC,eAAe;;;;"}