UNPKG

vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

1 lines 1.63 kB
{"version":3,"file":"props.cjs","sources":["../../../components/timeline/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 { TimelineItemType } from './symbol'\n\nexport const timelineProps = buildProps({\n pending: booleanProp,\n dashed: booleanProp,\n lineColor: String,\n spacing: [Number, String],\n flip: booleanProp,\n horizontal: booleanProp,\n alternate: booleanProp,\n onSignalClick: eventProp<(label: string | number) => void>(),\n})\n\nexport type TimelineProps = ExtractPropTypes<typeof timelineProps>\nexport type TimelineCProps = ConfigurableProps<TimelineProps>\n\nexport const timelineItemProps = buildProps({\n type: String as PropType<TimelineItemType>,\n color: String,\n label: [Number, String],\n dashed: booleanProp,\n lineColor: String,\n spacing: [Number, String],\n onSignalClick: eventProp<(label: string | number) => void>(),\n})\n\nexport type TimelineItemProps = ExtractPropTypes<typeof timelineItemProps>\nexport type TimelineItemCProps = ConfigurableProps<TimelineItemProps>\n"],"names":["timelineProps","buildProps","booleanProp","eventProp","timelineItemProps"],"mappings":"oHAMaA,EAAgBC,EAAAA,WAAW,CACtC,QAASC,EAAA,YACT,OAAQA,EAAA,YACR,UAAW,OACX,QAAS,CAAC,OAAQ,MAAM,EACxB,KAAMA,EAAA,YACN,WAAYA,EAAA,YACZ,UAAWA,EAAA,YACX,cAAeC,EAA4C,UAAA,CAC7D,CAAC,EAKYC,EAAoBH,EAAAA,WAAW,CAC1C,KAAM,OACN,MAAO,OACP,MAAO,CAAC,OAAQ,MAAM,EACtB,OAAQC,EAAA,YACR,UAAW,OACX,QAAS,CAAC,OAAQ,MAAM,EACxB,cAAeC,EAA4C,UAAA,CAC7D,CAAC"}