UNPKG

2.15 kBJavaScriptView Raw
1module.exports=function(t){function e(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return t[r].call(a.exports,a,a.exports,e),a.l=!0,a.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=309)}({0:function(t,e){t.exports=function(t,e,n,r,a,s){var o,i=t=t||{},u=typeof t.default;"object"!==u&&"function"!==u||(o=t,i=t.default);var c="function"==typeof i?i.options:i;e&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),a&&(c._scopeId=a);var d;if(s?(d=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=d):r&&(d=r),d){var p=c.functional,l=p?c.render:c.beforeCreate;p?(c._injectStyles=d,c.render=function(t,e){return d.call(e),l(t,e)}):c.beforeCreate=l?[].concat(l,d):[d]}return{esModule:o,exports:i,options:c}}},103:function(t,e,n){"use strict";e.a={name:"Badge",componentName:"Badge",props:{text:{type:[String,Number],default:""},max:{type:Number,default:9}}}},200:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(103),a=n(201),s=n(0),o=s(r.a,a.a,!0,null,null,null);e.default=o.exports},201:function(t,e,n){"use strict";var r=function(t,e){var n=e._c;return n("span",e._g(e._b({class:["vx-badge",{"vx-badge--dot":""===e.props.text},e.data.staticClass,e.data.class],style:e.data.staticStyle&&e.data.style?[e.data.staticStyle,e.data.style]:e.data.staticStyle||e.data.style},"span",e.data.attrs,!1),e.listeners),["number"==typeof e.props.text&&e.props.max&&e.props.text>e.props.max?n("span",{staticClass:"badge-ellipsis"}):[e._v("\n "+e._s(e.props.text)+"\n ")]],2)},a=[],s={render:r,staticRenderFns:a};e.a=s},309:function(t,e,n){t.exports=n(200)}});
\No newline at end of file