UNPKG

nimble-ui

Version:
1 lines 2.55 kB
module.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s="GLFD")}({"4qRk":function(t,e,n){"use strict";e.a=function(t){t&&!t.install&&(t.install=function(e){var n=t.name||"",r=e.component(n);r||e.component(n,t)});return t}},"B/FW":function(t,e){},GLFD:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={extends:n("ho/f").a,name:"NuProgress",props:{progress:{type:Number,default:0}},computed:{contWidth:function(){var t=this.progress;return t<5&&t>0&&(t=5),t||0}}},o={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"nus_progress",on:{click:this._onClick,tap:this._onTap}},[e("div",{staticClass:"nu_rate",style:{width:this.contWidth+"%"}}),this._v(" "),e("span",{staticClass:"nu_rate-text"},[this._v("\n "+this._s(this.progress||0)+"%\n ")])])},staticRenderFns:[]};var s=n("VU/8")(r,o,!1,function(t){n("ovgZ")},null,null).exports,i=n("4qRk");e.default=Object(i.a)(s)},Lv3q:function(t,e,n){"use strict";n("B/FW");var r=n("VU/8")({methods:{_onClick:function(t){this.$emit("click",t)},_onTap:function(t){this.$emit("tap",t)},_onClickItem:function(t){this.$emit("clickItem",t)}}},null,!1,null,null,null);e.a=r.exports},"VU/8":function(t,e){t.exports=function(t,e,n,r,o,s){var i,u=t=t||{},c=typeof t.default;"object"!==c&&"function"!==c||(i=t,u=t.default);var a,l="function"==typeof u?u.options:u;if(e&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0),n&&(l.functional=!0),o&&(l._scopeId=o),s?(a=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=a):r&&(a=r),a){var f=l.functional,p=f?l.render:l.beforeCreate;f?(l._injectStyles=a,l.render=function(t,e){return a.call(e),p(t,e)}):l.beforeCreate=p?[].concat(p,a):[a]}return{esModule:i,exports:u,options:l}}},"ho/f":function(t,e,n){"use strict";var r={extends:n("Lv3q").a},o=n("VU/8")(r,null,!1,null,null,null);e.a=o.exports},ovgZ:function(t,e){}});