vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
1 lines • 945 B
Source Map (JSON)
{"version":3,"file":"props.mjs","sources":["../../../components/affix/props.ts"],"sourcesContent":["import { buildProps, eventProp } from '@vexip-ui/config'\n\nimport type { ExtractPropTypes, PropType } from 'vue'\nimport type { ConfigurableProps } from '@vexip-ui/config'\nimport type { AffixPositionType } from './symbol'\n\nexport const affixProps = buildProps({\n offset: Number,\n zIndex: Number,\n position: String as PropType<AffixPositionType>,\n target: [String, Object, Function] as PropType<unknown>,\n\n onScroll: eventProp(),\n onChange: eventProp(),\n})\n\nexport type AffixProps = ExtractPropTypes<typeof affixProps>\nexport type AffixCProps = ConfigurableProps<ExtractPropTypes<typeof affixProps>>\n"],"names":["affixProps","buildProps","eventProp"],"mappings":";AAMO,MAAMA,IAAaC,EAAW;AAAA,EACnC,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,QAAQ,CAAC,QAAQ,QAAQ,QAAQ;AAAA,EAEjC,UAAUC,EAAU;AAAA,EACpB,UAAUA,EAAU;AACtB,CAAC;"}