(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/watch-input"],{"3d5e":function(t,e,n){"use strict";var s=n("f557"),i=n.n(s);i.a},"59f3":function(t,e,n){"use strict";n.r(e);var s=n("7128"),i=n.n(s);for(var o in s)"default"!==o&&function(t){n.d(e,t,(function(){return s[t]}))}(o);e["default"]=i.a},7128:function(t,e,n){"use strict";var s;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{showPassword:!1,second:0,isRunCode:!1}},props:{type:String,value:String,placeholder:String,maxlength:{type:[Number,String],default:20},isShowPass:{type:[Boolean,String],default:!1},isShowCode:{type:[Boolean,String],default:!1},codeText:{type:String,default:"获取验证码"},setTime:{type:[Number,String],default:60}},model:{prop:"value",event:"input"},mounted:function(){var t=this;this,this.$on("runCode",(function(e){t.runCode(e)})),clearInterval(s)},methods:{showPass:function(){this.showPassword=!this.showPassword},setCode:function(){if(this.isRunCode)return!1;this.$emit("setCode")},runCode:function(t){if("0"==String(t))return this.second=0,clearInterval(s),this.isRunCode=!1,!1;if(this.isRunCode)return!1;this.isRunCode=!0,this.second=this._setTime;var e=this;s=setInterval((function(){e.second--,0==e.second&&(e.isRunCode=!1,clearInterval(s))}),1e3)}},computed:{_type:function(){var t=this.type;return"password"==t?"text":t},_isShowPass:function(){return"false"!==String(this.isShowPass)},_isShowCode:function(){return"false"!==String(this.isShowCode)},_setTime:function(){var t=Number(this.setTime);return t>0?t:60},getVerCodeSecond:function(){return this.second<=0?this.codeText:this.second<10?"0"+this.second:this.second}}};e.default=i},e004:function(t,e,n){"use strict";n.r(e);var s=n("e6c2"),i=n("59f3");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("3d5e");var r,u=n("f0c5"),a=Object(u["a"])(i["default"],s["b"],s["c"],!1,null,null,null,!1,s["a"],r);e["default"]=a.exports},e6c2:function(t,e,n){"use strict";var s;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return s}));var i=function(){var t=this,e=t.$createElement;t._self._c},o=[]},f557:function(t,e,n){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/watch-input-create-component',
    {
        'components/watch-input-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("e004"))
        })
    },
    [['components/watch-input-create-component']]
]);
