@extclp/vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
1 lines • 1.02 kB
Source Map (JSON)
{"version":3,"file":"props.mjs","sources":["../../../components/time-ago/props.ts"],"sourcesContent":["import { booleanNumberProp, booleanStringProp, buildProps, localeProp } from '@vexip-ui/config'\r\n\r\nimport type { ExtractPropTypes, PropType } from 'vue'\r\nimport type { ConfigurableProps } from '@vexip-ui/config'\r\nimport type { Dateable } from '@vexip-ui/utils'\r\n\r\nexport const timeAgoProps = buildProps({\r\n locale: localeProp('timeAgo'),\r\n datetime: [String, Number, Date] as PropType<Dateable>,\r\n interval: booleanNumberProp,\r\n title: booleanStringProp,\r\n titleFormat: String,\r\n})\r\n\r\nexport type TimeAgoProps = ExtractPropTypes<typeof timeAgoProps>\r\nexport type TimeAgoCProps = ConfigurableProps<TimeAgoProps, 'datetime'>\r\n"],"names":["timeAgoProps","buildProps","localeProp","booleanNumberProp","booleanStringProp"],"mappings":";AAMO,MAAMA,IAAeC,EAAW;AAAA,EACrC,QAAQC,EAAW,SAAS;AAAA,EAC5B,UAAU,CAAC,QAAQ,QAAQ,IAAI;AAAA,EAC/B,UAAUC;AAAA,EACV,OAAOC;AAAA,EACP,aAAa;AACf,CAAC;"}