{"version":3,"file":"props.cjs","sources":["../../../components/row/props.ts"],"sourcesContent":["import { buildProps } from '@vexip-ui/config'\n\nimport type { ExtractPropTypes, PropType } from 'vue'\nimport type { ConfigurableProps } from '@vexip-ui/config'\nimport type { ColumnFlex, ColumnOptions, RowGridAlign, RowGridJustify } from './symbol'\n\nexport const rowProps = buildProps({\n  tag: String,\n  gap: [Number, Array] as PropType<number | number[]>,\n  justify: String as PropType<RowGridJustify>,\n  align: String as PropType<RowGridAlign>,\n  columnFlex: {\n    type: [Boolean, Object] as PropType<boolean | Partial<ColumnFlex>>,\n    default: null,\n  },\n})\n\nexport type RowProps = ExtractPropTypes<typeof rowProps>\nexport type RowCProps = ConfigurableProps<RowProps>\n\nconst mediaProp = [Number, Object] as PropType<number | ColumnOptions>\n\nexport const columnProps = buildProps({\n  tag: String,\n  span: Number,\n  offset: Number,\n  push: Number,\n  pull: Number,\n  order: Number,\n  xs: mediaProp,\n  sm: mediaProp,\n  md: mediaProp,\n  lg: mediaProp,\n  xl: mediaProp,\n  xxl: mediaProp,\n  flex: [Number, String],\n  useFlex: {\n    type: [Boolean, Object] as PropType<boolean | Partial<ColumnFlex>>,\n    default: null,\n  },\n})\n\nexport type ColumnProps = ExtractPropTypes<typeof columnProps>\nexport type ColumnCProps = ConfigurableProps<ColumnProps>\n"],"names":["rowProps","buildProps","mediaProp","columnProps"],"mappings":"oHAMaA,EAAWC,EAAAA,WAAW,CACjC,IAAK,OACL,IAAK,CAAC,OAAQ,KAAK,EACnB,QAAS,OACT,MAAO,OACP,WAAY,CACV,KAAM,CAAC,QAAS,MAAM,EACtB,QAAS,IAAA,CAEb,CAAC,EAKKC,EAAY,CAAC,OAAQ,MAAM,EAEpBC,EAAcF,EAAAA,WAAW,CACpC,IAAK,OACL,KAAM,OACN,OAAQ,OACR,KAAM,OACN,KAAM,OACN,MAAO,OACP,GAAIC,EACJ,GAAIA,EACJ,GAAIA,EACJ,GAAIA,EACJ,GAAIA,EACJ,IAAKA,EACL,KAAM,CAAC,OAAQ,MAAM,EACrB,QAAS,CACP,KAAM,CAAC,QAAS,MAAM,EACtB,QAAS,IAAA,CAEb,CAAC"}