@extclp/vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
1 lines • 1.55 kB
Source Map (JSON)
{"version":3,"file":"props.mjs","sources":["../../../components/virtual-list/props.ts"],"sourcesContent":["import { booleanProp, buildProps, eventProp } from '@vexip-ui/config'\r\n\r\nimport type { ExtractPropTypes, PropType } from 'vue'\r\nimport type { ConfigurableProps } from '@vexip-ui/config'\r\nimport type { ScrollPayload } from './symbol'\r\n\r\nexport const virtualListProps = buildProps({\r\n items: Array as PropType<Array<Record<string, any>>>,\r\n itemSize: Number,\r\n itemFixed: booleanProp,\r\n idKey: String,\r\n defaultKeyAt: [Number, String, Symbol],\r\n bufferSize: Number,\r\n listTag: String,\r\n itemsTag: String,\r\n hideBar: booleanProp,\r\n lockItems: booleanProp,\r\n itemsAttrs: Object as PropType<Record<string, any>>,\r\n autoplay: booleanProp,\r\n ignoreResize: booleanProp,\r\n disabled: booleanProp,\r\n onScroll: eventProp<(payload: ScrollPayload) => void>(),\r\n onResize: eventProp<(entry: ResizeObserverEntry) => void>(),\r\n})\r\n\r\nexport type VirtualListProps = ExtractPropTypes<typeof virtualListProps>\r\nexport type VirtualListCProps = ConfigurableProps<VirtualListProps, 'items'>\r\n"],"names":["virtualListProps","buildProps","booleanProp","eventProp"],"mappings":";AAMO,MAAMA,IAAmBC,EAAW;AAAA,EACzC,OAAO;AAAA,EACP,UAAU;AAAA,EACV,WAAWC;AAAA,EACX,OAAO;AAAA,EACP,cAAc,CAAC,QAAQ,QAAQ,MAAM;AAAA,EACrC,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,UAAU;AAAA,EACV,SAASA;AAAA,EACT,WAAWA;AAAA,EACX,YAAY;AAAA,EACZ,UAAUA;AAAA,EACV,cAAcA;AAAA,EACd,UAAUA;AAAA,EACV,UAAUC,EAA4C;AAAA,EACtD,UAAUA,EAAgD;AAC5D,CAAC;"}