!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 n={1900:(e,t,n)=>{n.d(t,{Z:()=>function(e,t,n,o,r,s,i,a){var c,l="function"==typeof e?e.options:e;t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0);o&&(l.functional=!0);s&&(l._scopeId="data-v-"+s);i?(c=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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):r&&(c=a?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r);{var d;c&&(l.functional?(l._injectStyles=c,d=l.render,l.render=function(e,t){return c.call(t),d(e,t)}):(t=l.beforeCreate,l.beforeCreate=t?[].concat(t,c):[c]))}return{exports:e,options:l}}})}},o={};function r(e){var t=o[e];return void 0!==t||(t=o[e]={exports:{}},n[e](t,t.exports,r)),t.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var e={};{function t(){var e=this,t=e.$createElement;return(t=e._self._c||t)("div",{staticClass:"el-badge"},[e._t("default"),e._v(" "),t("transition",{attrs:{name:"el-zoom-in-center"}},[t("sup",{directives:[{name:"show",rawName:"v-show",value:!e.hidden&&(e.content||0===e.content||e.isDot),expression:"!hidden && (content || content === 0 || isDot)"}],staticClass:"el-badge__content",class:[e.type?"el-badge__content--"+e.type:null,{"is-fixed":e.$slots.default,"is-dot":e.isDot}],domProps:{textContent:e._s(e.content)}})])],2)}r.d(e,{default:()=>a}),t._withStripped=!0;var s={name:"ElBadge",props:{value:[String,Number],max:Number,isDot:Boolean,hidden:Boolean,type:{type:String,validator:function(e){return-1<["primary","success","warning","info","danger"].indexOf(e)}}},computed:{content:function(){var e,t;if(!this.isDot)return e=this.value,t=this.max,"number"==typeof e&&"number"==typeof t&&t<e?"".concat(t,"+"):e}}},s;(s=(0,r(1900).Z)(s,t,[],!1,null,null,null)).options.__file="packages/badge/src/main.vue";const i=s.exports,a=(i.install=function(e){e.component(i.name,i)},i)}return e.default})());