UNPKG

vexip-ui

Version:

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

1 lines 1.1 kB
{"version":3,"file":"props.cjs","sources":["../../../components/space/props.ts"],"sourcesContent":["import { booleanProp, buildProps, styleProp } from '@vexip-ui/config'\n\nimport type { ExtractPropTypes, PropType } from 'vue'\nimport type { ComponentSize, ConfigurableProps } from '@vexip-ui/config'\nimport type { SpaceAlign, SpaceJustify } from './symbol'\n\nexport const spaceProps = buildProps({\n vertical: booleanProp,\n inline: booleanProp,\n tag: String,\n align: String as PropType<SpaceAlign>,\n justify: String as PropType<SpaceJustify>,\n noWrap: booleanProp,\n size: [String, Number, Array] as PropType<ComponentSize | number | [number, number]>,\n itemStyle: styleProp,\n gapDisabled: booleanProp,\n})\n\nexport type SpaceProps = ExtractPropTypes<typeof spaceProps>\nexport type SpaceCProps = ConfigurableProps<SpaceProps>\n"],"names":["spaceProps","buildProps","booleanProp","styleProp"],"mappings":"oHAMaA,EAAaC,EAAAA,WAAW,CACnC,SAAUC,EAAA,YACV,OAAQA,EAAA,YACR,IAAK,OACL,MAAO,OACP,QAAS,OACT,OAAQA,EAAA,YACR,KAAM,CAAC,OAAQ,OAAQ,KAAK,EAC5B,UAAWC,EAAA,UACX,YAAaD,EAAAA,WACf,CAAC"}