{"version":3,"file":"props.cjs","sources":["../../../components/badge/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 { BadgeSlots, BadgeType } from './symbol'\n\nexport const badgeProps = buildProps({\n  content: [Number, String],\n  max: Number,\n  disabled: booleanProp,\n  isDot: booleanProp,\n  type: String as PropType<BadgeType>,\n  color: String,\n  slots: Object as PropType<BadgeSlots>,\n  onBadgeClick: eventProp<(event: MouseEvent) => void>(),\n})\n\nexport type BadgeProps = ExtractPropTypes<typeof badgeProps>\nexport type BadgeCProps = ConfigurableProps<BadgeProps, 'content'>\n"],"names":["badgeProps","buildProps","booleanProp","eventProp"],"mappings":"oHAMaA,EAAaC,EAAAA,WAAW,CACnC,QAAS,CAAC,OAAQ,MAAM,EACxB,IAAK,OACL,SAAUC,EAAA,YACV,MAAOA,EAAA,YACP,KAAM,OACN,MAAO,OACP,MAAO,OACP,aAAcC,EAAuC,UAAA,CACvD,CAAC"}