(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uni-number-box/uni-number-box"],{4999:function(t,e,n){"use strict";var u=n("e038"),i=n.n(u);i.a},6515:function(t,e,n){"use strict";n.r(e);var u=n("dd01"),i=n.n(u);for(var a in u)"default"!==a&&function(t){n.d(e,t,(function(){return u[t]}))}(a);e["default"]=i.a},"77e6":function(t,e,n){"use strict";n.r(e);var u=n("db64"),i=n("6515");for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);n("4999");var l,o=n("f0c5"),r=Object(o["a"])(i["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],l);e["default"]=r.exports},db64:function(t,e,n){"use strict";var u,i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.$util.img("/upload/uniapp/jian.png")),u=t.$util.img("/upload/uniapp/jia.png");t.$mp.data=Object.assign({},{$root:{g0:n,g1:u}})},a=[];n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return u}))},dd01:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u={name:"UniNumberBox",props:{value:{type:[Number,String],default:1},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},disabled:{type:Boolean,default:!1},modifyFlag:{type:Boolean,default:!1},size:{type:String,default:"default"},index:{type:Number,default:-1}},data:function(){return{inputValue:0}},watch:{value:function(t){this.inputValue=+t},inputValue:function(t,e,n){+t===+e||this.modifyFlag||this.$emit("change",t,n)}},created:function(){this.inputValue=+this.value},methods:{_calcValue:function(t){if(!this.disabled&&!this.modifyFlag){var e=this._getDecimalScale(),n=this.inputValue*e,u=this.step*e;"minus"===t?n-=u:"plus"===t&&(n+=u),n<this.min||n>this.max||(this.inputValue=n/e)}},_getDecimalScale:function(){var t=1;return~~this.step!==this.step&&(t=Math.pow(10,(this.step+"").split(".")[1].length)),t},_onInput:function(t){var e=this;setTimeout((function(){var n=t.detail.value;/(^[1-9]\d*$)/.test(n)||(n=e.min),n?(n=+n,n>e.max?n=e.max:n<e.min&&(n=e.min),e.inputValue=n):e.inputValue=0}),0)}}};e.default=u},e038:function(t,e,n){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/uni-number-box/uni-number-box-create-component',
    {
        'components/uni-number-box/uni-number-box-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("77e6"))
        })
    },
    [['components/uni-number-box/uni-number-box-create-component']]
]);
