!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("VueElementUiPlus",[],t):"object"==typeof exports?exports.VueElementUiPlus=t():e.VueElementUiPlus=t()}(self,()=>(()=>{"use strict";var s={1900:(e,t,s)=>{s.d(t,{Z:()=>function(e,t,s,n,i,o,l,r){var a,c="function"==typeof e?e.options:e;t&&(c.render=t,c.staticRenderFns=s,c._compiled=!0);n&&(c.functional=!0);o&&(c._scopeId="data-v-"+o);l?(a=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(l)},c._ssrRegister=a):i&&(a=r?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i);{var u;a&&(c.functional?(c._injectStyles=a,u=c.render,c.render=function(e,t){return a.call(t),u(e,t)}):(t=c.beforeCreate,c.beforeCreate=t?[].concat(t,a):[a]))}return{exports:e,options:c}}})}},n={};function i(e){var t=n[e];return void 0!==t||(t=n[e]={exports:{}},s[e](t,t.exports,i)),t.exports}i.d=(e,t)=>{for(var s in t)i.o(t,s)&&!i.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var e={};{function t(){var t=this,e=t.$createElement;return(e=t._self._c||e)("transition",{attrs:{name:"el-alert-fade"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"el-alert",class:[t.typeClass,t.center?"is-center":"","is-"+t.effect],attrs:{role:"alert"}},[t.showIcon?e("i",{staticClass:"el-alert__icon",class:[t.iconClass,t.isBigIcon]}):t._e(),t._v(" "),e("div",{staticClass:"el-alert__content"},[t.title||t.$slots.title?e("span",{staticClass:"el-alert__title",class:[t.isBoldTitle]},[t._t("title",function(){return[t._v(t._s(t.title))]})],2):t._e(),t._v(" "),t.$slots.default&&!t.description?e("p",{staticClass:"el-alert__description"},[t._t("default")],2):t._e(),t._v(" "),t.description&&!t.$slots.default?e("p",{staticClass:"el-alert__description"},[t._v(t._s(t.description))]):t._e(),t._v(" "),e("i",{directives:[{name:"show",rawName:"v-show",value:t.closable,expression:"closable"}],staticClass:"el-alert__closebtn",class:{"is-customed":""!==t.closeText,"el-icon-close":""===t.closeText},on:{click:function(e){return t.close()}}},[t._v(t._s(t.closeText))])])])])}i.d(e,{default:()=>a}),t._withStripped=!0;var o={success:"el-icon-success",warning:"el-icon-warning",error:"el-icon-error"},l={name:"ElAlert",props:{title:{type:String,default:""},description:{type:String,default:""},type:{type:String,default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,default:"light",validator:function(e){return-1!==["light","dark"].indexOf(e)}}},data:function(){return{visible:!0}},methods:{close:function(){this.visible=!1,this.$emit("close")}},computed:{typeClass:function(){return"el-alert--".concat(this.type)},iconClass:function(){return o[this.type]||"el-icon-info"},isBigIcon:function(){return this.description||this.$slots.default?"is-big":""},isBoldTitle:function(){return this.description||this.$slots.default?"is-bold":""}}},l;(l=(0,i(1900).Z)(l,t,[],!1,null,null,null)).options.__file="packages/alert/src/main.vue";const r=l.exports,a=(r.install=function(e){e.component(r.name,r)},r)}return e.default})());