vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
1 lines • 1.46 kB
Source Map (JSON)
{"version":3,"file":"props.cjs","sources":["../../../components/virtual-list/props.ts"],"sourcesContent":["import { booleanProp, buildProps, eventProp } from '@vexip-ui/config'\n\nimport type { ExtractPropTypes, PropType } from 'vue'\nimport type { ConfigurableProps } from '@vexip-ui/config'\nimport type { ScrollPayload } from './symbol'\n\nexport const virtualListProps = buildProps({\n items: Array as PropType<Array<Record<string, any>>>,\n itemSize: Number,\n itemFixed: booleanProp,\n idKey: String,\n defaultKeyAt: [Number, String, Symbol],\n bufferSize: Number,\n listTag: String,\n itemsTag: String,\n hideBar: booleanProp,\n lockItems: booleanProp,\n itemsAttrs: Object as PropType<Record<string, any>>,\n autoplay: booleanProp,\n ignoreResize: booleanProp,\n disabled: booleanProp,\n onScroll: eventProp<(payload: ScrollPayload) => void>(),\n onResize: eventProp<(entry: ResizeObserverEntry) => void>(),\n})\n\nexport type VirtualListProps = ExtractPropTypes<typeof virtualListProps>\nexport type VirtualListCProps = ConfigurableProps<VirtualListProps, 'items'>\n"],"names":["virtualListProps","buildProps","booleanProp","eventProp"],"mappings":"oHAMaA,EAAmBC,EAAAA,WAAW,CACzC,MAAO,MACP,SAAU,OACV,UAAWC,EAAA,YACX,MAAO,OACP,aAAc,CAAC,OAAQ,OAAQ,MAAM,EACrC,WAAY,OACZ,QAAS,OACT,SAAU,OACV,QAASA,EAAA,YACT,UAAWA,EAAA,YACX,WAAY,OACZ,SAAUA,EAAA,YACV,aAAcA,EAAA,YACd,SAAUA,EAAA,YACV,SAAUC,EAAAA,UAA4C,EACtD,SAAUA,EAAgD,UAAA,CAC5D,CAAC"}