vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
1 lines • 971 B
Source Map (JSON)
{"version":3,"file":"props.cjs","sources":["../../../components/time-ago/props.ts"],"sourcesContent":["import { booleanNumberProp, booleanStringProp, buildProps, localeProp } from '@vexip-ui/config'\n\nimport type { ExtractPropTypes, PropType } from 'vue'\nimport type { ConfigurableProps } from '@vexip-ui/config'\nimport type { Dateable } from '@vexip-ui/utils'\n\nexport const timeAgoProps = buildProps({\n locale: localeProp('timeAgo'),\n datetime: [String, Number, Date] as PropType<Dateable>,\n interval: booleanNumberProp,\n title: booleanStringProp,\n titleFormat: String,\n})\n\nexport type TimeAgoProps = ExtractPropTypes<typeof timeAgoProps>\nexport type TimeAgoCProps = ConfigurableProps<TimeAgoProps, 'datetime'>\n"],"names":["timeAgoProps","buildProps","localeProp","booleanNumberProp","booleanStringProp"],"mappings":"oHAMaA,EAAeC,EAAAA,WAAW,CACrC,OAAQC,aAAW,SAAS,EAC5B,SAAU,CAAC,OAAQ,OAAQ,IAAI,EAC/B,SAAUC,EAAA,kBACV,MAAOC,EAAA,kBACP,YAAa,MACf,CAAC"}