{"version":3,"file":"props.mjs","sources":["../../../components/alert/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 { AlertSlots, AlertType } from './symbol'\n\nexport const alertProps = buildProps({\n  type: String as PropType<AlertType>,\n  title: String,\n  colorfulText: booleanProp,\n  icon: {\n    type: [Boolean, Object, Function],\n    default: null\n  },\n  closable: booleanProp,\n  iconColor: String,\n  noBorder: booleanProp,\n  banner: booleanProp,\n  manual: booleanProp,\n  scroll: booleanProp,\n  scrollSpeed: Number,\n  color: String,\n  slots: Object as PropType<AlertSlots>,\n  onClose: eventProp(),\n  onHide: eventProp(),\n  onScrollEnd: eventProp()\n})\n\nexport type AlertProps = ExtractPropTypes<typeof alertProps>\nexport type AlertCProps = ConfigurableProps<ExtractPropTypes<typeof alertProps>>\n"],"names":["alertProps","buildProps","booleanProp","eventProp"],"mappings":";AAMO,MAAMA,IAAaC,EAAW;AAAA,EACnC,MAAM;AAAA,EACN,OAAO;AAAA,EACP,cAAcC;AAAA,EACd,MAAM;AAAA,IACJ,MAAM,CAAC,SAAS,QAAQ,QAAQ;AAAA,IAChC,SAAS;AAAA,EACX;AAAA,EACA,UAAUA;AAAA,EACV,WAAW;AAAA,EACX,UAAUA;AAAA,EACV,QAAQA;AAAA,EACR,QAAQA;AAAA,EACR,QAAQA;AAAA,EACR,aAAa;AAAA,EACb,OAAO;AAAA,EACP,OAAO;AAAA,EACP,SAASC,EAAU;AAAA,EACnB,QAAQA,EAAU;AAAA,EAClB,aAAaA,EAAU;AACzB,CAAC;"}