{"version":3,"file":"alert.mjs","sources":["../../../../../packages/components/alert/src/alert.ts"],"sourcesContent":["import type { TypeComponentsMap } from '@element-ultra/utils'\nimport type { ExtractPropTypes, PropType } from 'vue'\nimport type Alert from './alert.vue'\n\nexport const alertProps = {\n  title: {\n    type: String,\n    default: ''\n  },\n  description: {\n    type: String,\n    default: ''\n  },\n  type: {\n    type: String as PropType<keyof typeof TypeComponentsMap>,\n    default: 'info'\n  },\n  closable: {\n    type: Boolean,\n    default: true\n  },\n  closeText: {\n    type: String,\n    default: ''\n  },\n  showIcon: Boolean,\n  center: Boolean,\n  effect: {\n    type: String as PropType<'light' | 'dark'>,\n    default: 'light'\n  }\n}\nexport type AlertProps = ExtractPropTypes<typeof alertProps>\n\nexport const alertEmits = {\n  close: (evt: MouseEvent) => evt instanceof MouseEvent\n}\nexport type AlertEmits = typeof alertEmits\n\nexport type AlertInstance = InstanceType<typeof Alert>\n"],"names":[],"mappings":"AAIO,MAAM,UAAa,GAAA;AAAA,EACxB,KAAO,EAAA;AAAA,IACL,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA,EACA,WAAa,EAAA;AAAA,IACX,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,MAAA;AAAA,GACX;AAAA,EACA,QAAU,EAAA;AAAA,IACR,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AAAA,EACA,SAAW,EAAA;AAAA,IACT,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA,EACA,QAAU,EAAA,OAAA;AAAA,EACV,MAAQ,EAAA,OAAA;AAAA,EACR,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,OAAA;AAAA,GACX;AACF,EAAA;AAGO,MAAM,UAAa,GAAA;AAAA,EACxB,KAAA,EAAO,CAAC,GAAA,KAAoB,GAAe,YAAA,UAAA;AAC7C;;;;"}