(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-87d3cd06"],{"489a":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"vnp-input-box"},[i("ul",t._l(t.val,(function(e,n){return i("li",{key:n,class:{active:t.activeIndex===n},on:{click:function(e){return t.handleClickItem(n)}}},[i("span",[t._v(t._s(e))])])})),0)])},a=[],s=(i("28a5"),{props:{value:{type:String,default:""},editable:{type:Boolean,default:!1}},data:function(){return{val:["","","","","","","",""],activeIndex:this.editable?0:void 0}},watch:{activeIndex:function(){this.$emit("activeChange",this.activeIndex)},value:{immediate:!0,handler:function(){if(this.val.join("")!==this.value){var t=this.value.split("");this.editable&&(this.activeIndex=t.length);while(t.length<8)t.push("");this.val=t}}},val:function(){this.$emit("input",this.val.join(""))}},methods:{handleClickItem:function(t){this.editable&&(this.activeIndex=t)},setValue:function(t){this.$set(this.val,this.activeIndex,t),this.activeIndex<7&&(this.activeIndex+=1)},del:function(){this.$set(this.val,this.activeIndex,""),this.activeIndex>0&&(this.activeIndex-=1)}}}),c=s,l=(i("6dda"),i("2877")),d=Object(l["a"])(c,n,a,!1,null,"110fe1be",null);e["default"]=d.exports},"6dda":function(t,e,i){"use strict";i("7e63")},"7e63":function(t,e,i){}}]);