diff --git a/2.7/CNAME b/2.7/CNAME new file mode 100644 index 000000000..6df57ef93 --- /dev/null +++ b/2.7/CNAME @@ -0,0 +1 @@ +element.eleme.io diff --git a/2.7/docs.386d142.js b/2.7/docs.386d142.js new file mode 100644 index 000000000..87b07b5e9 --- /dev/null +++ b/2.7/docs.386d142.js @@ -0,0 +1,47 @@ +!function(a){function e(e){for(var t,i,n=e[0],o=e[1],r=0,s=[];r=this.select.multipleLimit&&0=t.length)break;o=t[n++]}else{if((n=t.next()).done)break;o=n.value}var r=o.target.__resizeListeners__||[];r.length&&r.forEach(function(e){e()})}},k=function(e,t){D||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new N.a(I),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},_=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())},S=i(26),j=i(1),T={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};var L={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return T[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t,i,n,o,r,s,a=this.size,l=this.move,u=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+u.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:(t={size:a,move:l,bar:u},i=t.move,n=t.size,o=t.bar,r={},s="translate"+o.axis+"("+i+"%)",r[o.size]=n,r.transform=s,r.msTransform=s,r.webkitTransform=s,r)})])},methods:{clickThumbHandler:function(e){e.ctrlKey||2===e.button||(this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(e){var t=100*(Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client])-this.$refs.thumb[this.bar.offset]/2)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=t*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,Object(j.e)(document,"mousemove",this.mouseMoveDocumentHandler),Object(j.e)(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(!1!==this.cursorDown){var t=this[this.bar.axis];if(t){var i=100*(-1*(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client])-(this.$refs.thumb[this.bar.offset]-t))/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=i*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,Object(j.d)(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object(j.d)(document,"mouseup",this.mouseUpDocumentHandler)}},E={name:"ElScrollbar",components:{Bar:L},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=Object(S.a)(),i=this.wrapStyle;if(t){var n="-"+t+"px",o="margin-bottom: "+n+"; margin-right: "+n+";";Array.isArray(this.wrapStyle)?(i=Object(M.l)(this.wrapStyle)).marginRight=i.marginBottom=n:"string"==typeof this.wrapStyle?i+=o:i=o}var r=e(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),s=e("div",{ref:"wrap",style:i,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",t?"":"el-scrollbar__wrap--hidden-default"]},[[r]]);return e("div",{class:"el-scrollbar"},this.native?[e("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:i},[[r]])]:[s,e(L,{attrs:{move:this.moveX,size:this.sizeWidth}}),e(L,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})])},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e,t,i=this.wrap;i&&(e=100*i.clientHeight/i.scrollHeight,t=100*i.clientWidth/i.scrollWidth,this.sizeHeight=e<100?e+"%":"",this.sizeWidth=t<100?t+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&k(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&_(this.$refs.resize,this.update)},install:function(e){e.component(E.name,E)}},O=E,A=i(14),z=i.n(A),$=i(11),P=i(9),F=i(2),Y=i.n(F);function R(e,t){if(!Y.a.prototype.$isServer)if(t){for(var i=[],n=t.offsetParent;n&&e!==n&&e.contains(n);)i.push(n),n=n.offsetParent;var o=t.offsetTop+i.reduce(function(e,t){return e+t.offsetTop},0),r=o+t.offsetHeight,s=e.scrollTop,a=s+e.clientHeight;on?6:0):0,n)+"px",o.visible&&!1!==o.emptyText&&o.broadcast("ElSelectDropdown","updatePopper")}})},resetHoverIndex:function(){var t=this;setTimeout(function(){t.multiple?0 0 && !loading"}],ref:"scrollbar",class:{"is-empty":!i.allowCreate&&i.query&&0===i.filteredOptionsCount},attrs:{tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list"}},[i.showNewOption?n("el-option",{attrs:{value:i.query,created:""}}):i._e(),i._t("default")],2),i.emptyText&&(!i.allowCreate||i.loading||i.allowCreate&&0===i.options.length)?[i.$slots.empty?i._t("empty"):n("p",{staticClass:"el-select-dropdown__empty"},[i._v("\n "+i._s(i.emptyText)+"\n ")])]:i._e()],2)],1)],1)},[],!1,null,null,null);B.options.__file="select.vue";var V=B.exports;V.install=function(e){e.component(V.name,V)};var Q=V;y.install=function(e){e.component(y.name,y)};var H=y,W={name:"ElPagination",props:{pageSize:{type:Number,default:10},small:Boolean,total:Number,pageCount:Number,pagerCount:{type:Number,validator:function(e){return(0|e)===e&&4, total"},pageSizes:{type:Array,default:function(){return[10,20,30,40,50,100]}},popperClass:String,prevText:String,nextText:String,background:Boolean,disabled:Boolean},data:function(){return{internalCurrentPage:1,internalPageSize:0,lastEmittedPage:-1,userChangePageSize:!1}},render:function(e){var t=e("div",{class:["el-pagination",{"is-background":this.background,"el-pagination--small":this.small}]}),i=this.layout||"";if(i){var n={prev:e("prev"),jumper:e("jumper"),pager:e("pager",{attrs:{currentPage:this.internalCurrentPage,pageCount:this.internalPageCount,pagerCount:this.pagerCount,disabled:this.disabled},on:{change:this.handleCurrentChange}}),next:e("next"),sizes:e("sizes",{attrs:{pageSizes:this.pageSizes}}),slot:e("my-slot"),total:e("total")},o=i.split(",").map(function(e){return e.trim()}),r=e("div",{class:"el-pagination__rightwrapper"}),s=!1;return t.children=t.children||[],r.children=r.children||[],o.forEach(function(e){"->"!==e?s?r.children.push(n[e]):t.children.push(n[e]):s=!0}),s&&t.children.unshift(r),t}},components:{MySlot:{render:function(e){return this.$parent.$slots.default?this.$parent.$slots.default[0]:""}},Prev:{render:function(e){return e("button",{attrs:{type:"button",disabled:this.$parent.disabled||this.$parent.internalCurrentPage<=1},class:"btn-prev",on:{click:this.$parent.prev}},[this.$parent.prevText?e("span",[this.$parent.prevText]):e("i",{class:"el-icon el-icon-arrow-left"})])}},Next:{render:function(e){return e("button",{attrs:{type:"button",disabled:this.$parent.disabled||this.$parent.internalCurrentPage===this.$parent.internalPageCount||0===this.$parent.internalPageCount},class:"btn-next",on:{click:this.$parent.next}},[this.$parent.nextText?e("span",[this.$parent.nextText]):e("i",{class:"el-icon el-icon-arrow-right"})])}},Sizes:{mixins:[u.a],props:{pageSizes:Array},watch:{pageSizes:{immediate:!0,handler:function(e,t){Object(M.m)(e,t)||Array.isArray(e)&&(this.$parent.internalPageSize=-1this.internalPageCount&&(t=this.internalPageCount):(isNaN(e)||e<1)&&(t=1),void 0===t&&isNaN(e)?t=1:0===t&&(t=1),void 0===t?e:t},emitChange:function(){var e=this;this.$nextTick(function(){(e.internalCurrentPage!==e.lastEmittedPage||e.userChangePageSize)&&(e.$emit("current-change",e.internalCurrentPage),e.lastEmittedPage=e.internalCurrentPage,e.userChangePageSize=!1)})}},computed:{internalPageCount:function(){return"number"==typeof this.total?Math.max(1,Math.ceil(this.total/this.internalPageSize)):"number"==typeof this.pageCount?Math.max(1,this.pageCount):null}},watch:{currentPage:{immediate:!0,handler:function(e){this.internalCurrentPage=this.getValidCurrentPage(e)}},pageSize:{immediate:!0,handler:function(e){this.internalPageSize=isNaN(e)?10:e}},internalCurrentPage:{immediate:!0,handler:function(e){this.$emit("update:currentPage",e),this.lastEmittedPage=-1}},internalPageCount:function(e){var t=this.internalCurrentPage;0=this.suggestions.length&&(e=this.suggestions.length-1);var t=this.$refs.suggestions.$el.querySelector(".el-autocomplete-suggestion__wrap"),i=t.querySelectorAll(".el-autocomplete-suggestion__list li")[e],n=t.scrollTop,o=i.offsetTop;o+i.scrollHeight>n+t.clientHeight&&(t.scrollTop+=i.scrollHeight),o=this.max&&(t=this.max),t<=this.min&&(t=this.min),this.currentValue=t,this.userInput=null,this.$emit("input",t)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)this.max},numPrecision:function(){var e=this.value,t=this.step,i=this.getPrecision,n=this.precision,o=i(t);return void 0!==n?(n=this.max&&(e=this.max),e<=this.min&&(e=this.min),t!==e&&(this.userInput=null,this.$emit("input",e),this.$emit("change",e,t),this.currentValue=e)},handleInput:function(e){this.userInput=e},handleInputChange:function(e){var t=""===e?void 0:Number(e);isNaN(t)&&""!==e||this.setCurrentValue(t),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var e=this.$refs.input.$refs.input;e.setAttribute("role","spinbutton"),e.setAttribute("aria-valuemax",this.max),e.setAttribute("aria-valuemin",this.min),e.setAttribute("aria-valuenow",this.currentValue),e.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){this.$refs&&this.$refs.input&&this.$refs.input.$refs.input.setAttribute("aria-valuenow",this.currentValue)}},nt=Object(o.a)(it,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:["el-input-number",t.inputNumberSize?"el-input-number--"+t.inputNumberSize:"",{"is-disabled":t.inputNumberDisabled},{"is-without-controls":!t.controls},{"is-controls-right":t.controlsAtRight}],on:{dragstart:function(e){e.preventDefault()}}},[t.controls?i("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:t.decrease,expression:"decrease"}],staticClass:"el-input-number__decrease",class:{"is-disabled":t.minDisabled},attrs:{role:"button"},on:{keydown:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.decrease(e):null}}},[i("i",{class:"el-icon-"+(t.controlsAtRight?"arrow-down":"minus")})]):t._e(),t.controls?i("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:t.increase,expression:"increase"}],staticClass:"el-input-number__increase",class:{"is-disabled":t.maxDisabled},attrs:{role:"button"},on:{keydown:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.increase(e):null}}},[i("i",{class:"el-icon-"+(t.controlsAtRight?"arrow-up":"plus")})]):t._e(),i("el-input",{ref:"input",attrs:{value:t.displayValue,placeholder:t.placeholder,disabled:t.inputNumberDisabled,size:t.inputNumberSize,max:t.max,min:t.min,name:t.name,label:t.label},on:{blur:t.handleBlur,focus:t.handleFocus,input:t.handleInput,change:t.handleInputChange},nativeOn:{keydown:[function(e){return"button"in e||!t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?(e.preventDefault(),t.increase(e)):null},function(e){return"button"in e||!t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?(e.preventDefault(),t.decrease(e)):null}]}})],1)},[],!1,null,null,null);nt.options.__file="input-number.vue";var ot=nt.exports;ot.install=function(e){e.component(ot.name,ot)};var rt=ot,st={name:"ElRadio",mixins:[a.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElRadio",props:{value:{},label:{},disabled:Boolean,name:String,border:Boolean,size:String},data:function(){return{focus:!1}},computed:{isGroup:function(){for(var e=this.$parent;e;){if("ElRadioGroup"===e.$options.componentName)return this._radioGroup=e,!0;e=e.$parent}return!1},model:{get:function(){return this.isGroup?this._radioGroup.value:this.value},set:function(e){this.isGroup?this.dispatch("ElRadioGroup","input",[e]):this.$emit("input",e)}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},radioSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._radioGroup.radioGroupSize||e},isDisabled:function(){return this.isGroup?this._radioGroup.disabled||this.disabled||(this.elForm||{}).disabled:this.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled||this.isGroup&&this.model!==this.label?-1:0}},methods:{handleChange:function(){var e=this;this.$nextTick(function(){e.$emit("change",e.model),e.isGroup&&e.dispatch("ElRadioGroup","handleChange",e.model)})}}},at=Object(o.a)(st,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("label",{staticClass:"el-radio",class:[t.border&&t.radioSize?"el-radio--"+t.radioSize:"",{"is-disabled":t.isDisabled},{"is-focus":t.focus},{"is-bordered":t.border},{"is-checked":t.model===t.label}],attrs:{role:"radio","aria-checked":t.model===t.label,"aria-disabled":t.isDisabled,tabindex:t.tabIndex},on:{keydown:function(e){if(!("button"in e)&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"]))return null;e.stopPropagation(),e.preventDefault(),t.model=t.isDisabled?t.model:t.label}}},[i("span",{staticClass:"el-radio__input",class:{"is-disabled":t.isDisabled,"is-checked":t.model===t.label}},[i("span",{staticClass:"el-radio__inner"}),i("input",{directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],staticClass:"el-radio__original",attrs:{type:"radio","aria-hidden":"true",name:t.name,disabled:t.isDisabled,tabindex:"-1"},domProps:{value:t.label,checked:t._q(t.model,t.label)},on:{focus:function(e){t.focus=!0},blur:function(e){t.focus=!1},change:[function(e){t.model=t.label},t.handleChange]}})]),i("span",{staticClass:"el-radio__label",on:{keydown:function(e){e.stopPropagation()}}},[t._t("default"),t.$slots.default?t._e():[t._v(t._s(t.label))]],2)])},[],!1,null,null,null);at.options.__file="radio.vue";var lt=at.exports;lt.install=function(e){e.component(lt.name,lt)};var ut=lt,ct=Object.freeze({LEFT:37,UP:38,RIGHT:39,DOWN:40}),ht={name:"ElRadioGroup",componentName:"ElRadioGroup",inject:{elFormItem:{default:""}},mixins:[a.a],props:{value:{},size:String,fill:String,textColor:String,disabled:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},radioGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},created:function(){var t=this;this.$on("handleChange",function(e){t.$emit("change",e)})},mounted:function(){var e=this.$el.querySelectorAll("[type=radio]"),t=this.$el.querySelectorAll("[role=radio]")[0];![].some.call(e,function(e){return e.checked})&&t&&(t.tabIndex=0)},methods:{handleKeydown:function(e){var t=e.target,i="INPUT"===t.nodeName?"[type=radio]":"[role=radio]",n=this.$el.querySelectorAll(i),o=n.length,r=[].indexOf.call(n,t),s=this.$el.querySelectorAll("[role=radio]");switch(e.keyCode){case ct.LEFT:case ct.UP:e.stopPropagation(),e.preventDefault(),0===r?(s[o-1].click(),s[o-1].focus()):(s[r-1].click(),s[r-1].focus());break;case ct.RIGHT:case ct.DOWN:r===o-1?(e.stopPropagation(),e.preventDefault(),s[0].click(),s[0].focus()):(s[r+1].click(),s[r+1].focus())}}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[this.value])}}},dt=Object(o.a)(ht,function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"el-radio-group",attrs:{role:"radiogroup"},on:{keydown:this.handleKeydown}},[this._t("default")],2)},[],!1,null,null,null);dt.options.__file="radio-group.vue";var pt=dt.exports;pt.install=function(e){e.component(pt.name,pt)};var ft=pt,mt={name:"ElRadioButton",mixins:[a.a],inject:{elForm:{default:""},elFormItem:{default:""}},props:{label:{},disabled:Boolean,name:String},data:function(){return{focus:!1}},computed:{value:{get:function(){return this._radioGroup.value},set:function(e){this._radioGroup.$emit("input",e)}},_radioGroup:function(){for(var e=this.$parent;e;){if("ElRadioGroup"===e.$options.componentName)return e;e=e.$parent}return!1},activeStyle:function(){return{backgroundColor:this._radioGroup.fill||"",borderColor:this._radioGroup.fill||"",boxShadow:this._radioGroup.fill?"-1px 0 0 0 "+this._radioGroup.fill:"",color:this._radioGroup.textColor||""}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},size:function(){return this._radioGroup.radioGroupSize||this._elFormItemSize||(this.$ELEMENT||{}).size},isDisabled:function(){return this.disabled||this._radioGroup.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled||this._radioGroup&&this.value!==this.label?-1:0}},methods:{handleChange:function(){var e=this;this.$nextTick(function(){e.dispatch("ElRadioGroup","handleChange",e.value)})}}},gt=Object(o.a)(mt,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("label",{staticClass:"el-radio-button",class:[t.size?"el-radio-button--"+t.size:"",{"is-active":t.value===t.label},{"is-disabled":t.isDisabled},{"is-focus":t.focus}],attrs:{role:"radio","aria-checked":t.value===t.label,"aria-disabled":t.isDisabled,tabindex:t.tabIndex},on:{keydown:function(e){if(!("button"in e)&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"]))return null;e.stopPropagation(),e.preventDefault(),t.value=t.isDisabled?t.value:t.label}}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"el-radio-button__orig-radio",attrs:{type:"radio",name:t.name,disabled:t.isDisabled,tabindex:"-1"},domProps:{value:t.label,checked:t._q(t.value,t.label)},on:{change:[function(e){t.value=t.label},t.handleChange],focus:function(e){t.focus=!0},blur:function(e){t.focus=!1}}}),i("span",{staticClass:"el-radio-button__inner",style:t.value===t.label?t.activeStyle:null,on:{keydown:function(e){e.stopPropagation()}}},[t._t("default"),t.$slots.default?t._e():[t._v(t._s(t.label))]],2)])},[],!1,null,null,null);gt.options.__file="radio-button.vue";var vt=gt.exports;vt.install=function(e){e.component(vt.name,vt)};var yt=vt,bt={name:"ElCheckbox",mixins:[a.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElCheckbox",data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},computed:{model:{get:function(){return this.isGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(e){this.isGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&e.lengththis._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[e])):(this.$emit("input",e),this.selfModel=e)}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?-1this._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[e])):void 0!==this.value?this.$emit("input",e):this.selfModel=e}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?-1t.key[i])return 1}return 0}(e,t);return i||(i=e.index-t.index),i*o}).map(function(e){return e.value})},Gt=function(e,t){var i=null;return e.columns.forEach(function(e){e.id===t&&(i=e)}),i},qt=function(e,t){var i=(t.className||"").match(/el-table_[^\s]+/gm);return i?Gt(e,i[0]):null},Zt=function(e,t){if(!e)throw new Error("row is required when get row identity");if("string"==typeof t){if(t.indexOf(".")<0)return e[t];for(var i=t.split("."),n=e,o=0;o=u.length)break;d=u[h++]}else{if((h=u.next()).done)break;d=h.value}var p=d;i[Zt(p,n)]&&l.push(p)}this.states.expandRows=l}else this.states.expandRows=[];Y.a.nextTick(function(){return r.table.updateScrollY()})},changeSortCondition:function(e,t){var i=this;e.data=Kt(e.filteredData||e._data||[],e),t&&t.silent||this.table.$emit("sort-change",{column:this.states.sortingColumn,prop:this.states.sortProp,order:this.states.sortOrder}),Y.a.nextTick(function(){return i.table.updateScrollY()})},sort:function(n,e){var o=this,t=e.prop,i=e.order;t&&(n.sortProp=t,n.sortOrder=i||"ascending",Y.a.nextTick(function(){for(var e=0,t=n.columns.length;ethis.bodyHeight}}},i.prototype.setHeight=function(e){var t=this,i=1 col");if(e.length){var t=this.tableLayout.getFlattenColumns(),i={};t.forEach(function(e){i[e.id]=e});for(var n=0,o=e.length;n col[name=gutter]"),i=0,n=t.length;i=this.leftFixedLeafCount:"right"===this.fixed?e=this.columnsCount-this.rightFixedLeafCount},getSpan:function(e,t,i,n){var o=1,r=1,s=this.table.spanMethod;if("function"==typeof s){var a=s({row:e,column:t,rowIndex:i,columnIndex:n});Array.isArray(a)?(o=a[0],r=a[1]):"object"===(void 0===a?"undefined":ri(a))&&(o=a.rowspan,r=a.colspan)}return{rowspan:o,colspan:r}},getRowStyle:function(e,t){var i=this.table.rowStyle;return"function"==typeof i?i.call(null,{row:e,rowIndex:t}):i},getRowClass:function(e,t){var i=["el-table__row"];this.table.highlightCurrentRow&&e===this.store.states.currentRow&&i.push("current-row"),t===this.store.states.hoverRow&&i.push("hover-row"),this.stripe&&t%2==1&&i.push("el-table__row--striped");var n=this.table.rowClassName;return"string"==typeof n?i.push(n):"function"==typeof n&&i.push(n.call(null,{row:e,rowIndex:t})),-1s.offsetWidth||s.scrollWidth>s.offsetWidth)&&this.$refs.tooltip){var l=this.$refs.tooltip;this.tooltipContent=n.innerText||n.textContent,l.referenceElm=n,l.$refs.popper&&(l.$refs.popper.style.display="none"),l.doDestroy(),l.setExpectedState(!0),this.activateTooltip(l)}}},handleCellMouseLeave:function(e){var t=this.$refs.tooltip;if(t&&(t.setExpectedState(!1),t.handleClosePopper()),Qt(e)){var i=this.table.hoverState||{};this.table.$emit("cell-mouse-leave",i.row,i.column,i.cell,e)}},handleMouseEnter:function(e){this.store.commit("setHoverRow",e)},handleMouseLeave:function(){this.store.commit("setHoverRow",null)},handleContextMenu:function(e,t){this.handleEvent(e,t,"contextmenu")},handleDoubleClick:function(e,t){this.handleEvent(e,t,"dblclick")},handleClick:function(e,t){this.store.commit("setCurrentRow",t),this.handleEvent(e,t,"click")},handleEvent:function(e,t,i){var n=this.table,o=Qt(e),r=void 0;o&&(r=qt(n,o))&&n.$emit("cell-"+i,t,r,o,e),n.$emit("row-"+i,t,r,e)},handleExpandClick:function(e,t){t.stopPropagation(),this.store.toggleRowExpansion(e)}}},ai=[];!Y.a.prototype.$isServer&&document.addEventListener("click",function(i){ai.forEach(function(e){var t=i.target;e&&e.$el&&(t===e.$el||e.$el.contains(t)||e.handleOutsideClick&&e.handleOutsideClick(i))})});var li=function(e){e&&ai.push(e)},ui=function(e){-1!==ai.indexOf(e)&&ai.splice(e,1)},ci={name:"ElTableFilterPanel",mixins:[h.a,u.a],directives:{Clickoutside:$.a},components:{ElCheckbox:wt,ElCheckboxGroup:jt},props:{placement:{type:String,default:"bottom-end"}},customRender:function(e){return e("div",{class:"el-table-filter"},[e("div",{class:"el-table-filter__content"}),e("div",{class:"el-table-filter__bottom"},[e("button",{on:{click:this.handleConfirm}},[this.t("el.table.confirmFilter")]),e("button",{on:{click:this.handleReset}},[this.t("el.table.resetFilter")])])])},methods:{isActive:function(e){return e.value===this.filterValue},handleOutsideClick:function(){var e=this;setTimeout(function(){e.showPopper=!1},16)},handleConfirm:function(){this.confirmFilter(this.filteredValue),this.handleOutsideClick()},handleReset:function(){this.filteredValue=[],this.confirmFilter(this.filteredValue),this.handleOutsideClick()},handleSelect:function(e){null!=(this.filterValue=e)?this.confirmFilter(this.filteredValue):this.confirmFilter([]),this.handleOutsideClick()},confirmFilter:function(e){this.table.store.commit("filterChange",{column:this.column,values:e}),this.table.store.updateAllSelected()}},data:function(){return{table:null,cell:null,column:null}},computed:{filters:function(){return this.column&&this.column.filters},filterValue:{get:function(){return(this.column.filteredValue||[])[0]},set:function(e){this.filteredValue&&(null!=e?this.filteredValue.splice(0,1,e):this.filteredValue.splice(0,1))}},filteredValue:{get:function(){return this.column&&this.column.filteredValue||[]},set:function(e){this.column&&(this.column.filteredValue=e)}},multiple:function(){return!this.column||this.column.filterMultiple}},mounted:function(){var t=this;this.popperElm=this.$el,this.referenceElm=this.cell,this.table.bodyWrapper.addEventListener("scroll",function(){t.updatePopper()}),this.$watch("showPopper",function(e){t.column&&(t.column.filterOpened=e),e?li(t):ui(t)})},watch:{showPopper:function(e){!0===e&&parseInt(this.popperJS._popper.style.zIndex,10)=this.leftFixedLeafCount:"right"===this.fixed?i=this.columnsCount-this.rightFixedLeafCount},getHeaderRowStyle:function(e){var t=this.table.headerRowStyle;return"function"==typeof t?t.call(null,{rowIndex:e}):t},getHeaderRowClass:function(e){var t=[],i=this.table.headerRowClassName;return"string"==typeof i?t.push(i):"function"==typeof i&&t.push(i.call(null,{rowIndex:e})),t.join(" ")},getHeaderCellStyle:function(e,t,i,n){var o=this.table.headerCellStyle;return"function"==typeof o?o.call(null,{rowIndex:e,columnIndex:t,row:i,column:n}):o},getHeaderCellClass:function(e,t,i,n){var o=[n.id,n.order,n.headerAlign,n.className,n.labelClassName];0===e&&this.isCellHidden(t,i)&&o.push("is-hidden"),n.children||o.push("is-leaf"),n.sortable&&o.push("is-sortable");var r=this.table.headerCellClassName;return"string"==typeof r?o.push(r):"function"==typeof r&&o.push(r.call(null,{rowIndex:e,columnIndex:t,row:i,column:n})),o.join(" ")},toggleAllSelection:function(e){e.stopPropagation(),this.store.commit("toggleAllSelection")},handleFilterClick:function(e,t){e.stopPropagation();var i=e.target,n="TH"===i.tagName?i:i.parentNode;n=n.querySelector(".el-table__column-filter-trigger")||n;var o=this.$parent,r=this.filterPanels[t.id];r&&t.filterOpened?r.showPopper=!1:(r||(r=new Y.a(di),this.filterPanels[t.id]=r,t.filterPlacement&&(r.placement=t.filterPlacement),r.table=o,r.cell=n,r.column=t,!this.$isServer&&r.$mount(document.createElement("div"))),setTimeout(function(){r.showPopper=!0},16))},handleHeaderClick:function(e,t){!t.filters&&t.sortable?this.handleSortClick(e,t):t.filterable&&!t.sortable&&this.handleFilterClick(e,t),this.$parent.$emit("header-click",t,e)},handleHeaderContextMenu:function(e,t){this.$parent.$emit("header-contextmenu",t,e)},handleMouseDown:function(r,s){var a=this;if(!this.$isServer&&!(s.children&&0i.length-2?0:n+1]},handleSortClick:function(e,t,i){e.stopPropagation();for(var n=t.order===i?null:i||this.toggleOrder(t),o=e.target;o&&"TH"!==o.tagName;)o=o.parentNode;if(o&&"TH"===o.tagName&&Object(j.c)(o,"noclick"))Object(j.g)(o,"noclick");else if(t.sortable){var r=this.store.states,s=r.sortProp,a=void 0,l=r.sortingColumn;(l!==t||l===t&&null===l.order)&&(l&&(l.order=null),s=(r.sortingColumn=t).property),n?a=t.order=n:(a=t.order=null,s=r.sortingColumn=null),r.sortProp=s,r.sortOrder=a,this.store.commit("changeSortCondition")}}},data:function(){return{draggingColumn:null,dragging:!1,dragState:{}}}},mi={name:"ElTableFooter",mixins:[oi],render:function(i){var s=this,a=[];return this.summaryMethod?a=this.summaryMethod({columns:this.columns,data:this.store.states.data}):this.columns.forEach(function(t,e){if(0!==e){var i=s.store.states.data.map(function(e){return Number(e[t.property])}),n=[],o=!0;i.forEach(function(e){if(!isNaN(e)){o=!1;var t=(""+e).split(".")[1];n.push(t?t.length:0)}});var r=Math.max.apply(null,n);a[e]=o?"":i.reduce(function(e,t){var i=Number(t);return isNaN(i)?e:parseFloat((e+t).toFixed(Math.min(r,20)))},0)}else a[e]=s.sumText}),i("table",{class:"el-table__footer",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[i("colgroup",[this._l(this.columns,function(e){return i("col",{attrs:{name:e.id}})}),this.hasGutter?i("col",{attrs:{name:"gutter"}}):""]),i("tbody",{class:[{"has-gutter":this.hasGutter}]},[i("tr",[this._l(this.columns,function(e,t){return i("td",{attrs:{colspan:e.colSpan,rowspan:e.rowSpan},class:s.getRowClasses(e,t)},[i("div",{class:["cell",e.labelClassName]},[a[t]])])}),this.hasGutter?i("th",{class:"gutter"}):""])])])},props:{fixed:String,store:{required:!0},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:function(){return{prop:"",order:""}}}},computed:{table:function(){return this.$parent},isAllSelected:function(){return this.store.states.isAllSelected},columnsCount:function(){return this.store.states.columns.length},leftFixedCount:function(){return this.store.states.fixedColumns.length},leftFixedLeafCount:function(){return this.store.states.fixedLeafColumnsLength},rightFixedLeafCount:function(){return this.store.states.rightFixedLeafColumnsLength},rightFixedCount:function(){return this.store.states.rightFixedColumns.length},columns:function(){return this.store.states.columns},hasGutter:function(){return!this.fixed&&this.tableLayout.gutterWidth}},methods:{isCellHidden:function(e,t,i){if(!0===this.fixed||"left"===this.fixed)return e>=this.leftFixedLeafCount;if("right"!==this.fixed)return!(this.fixed||!i.fixed)||(e=this.columnsCount-this.rightFixedCount);for(var n=0,o=0;on&&e.preventDefault(),i.scrollTop+=Math.ceil(t.pixelY/5)}else i.scrollLeft+=Math.ceil(t.pixelX/5)},handleHeaderFooterMousewheel:function(e,t){var i=t.pixelX,n=t.pixelY;Math.abs(i)>=Math.abs(n)&&(e.preventDefault(),this.bodyWrapper.scrollLeft+=t.pixelX/5)},bindEvents:function(){var e=this.$refs,i=e.headerWrapper,n=e.footerWrapper,o=this.$refs,r=this;this.bodyWrapper.addEventListener("scroll",function(){i&&(i.scrollLeft=this.scrollLeft),n&&(n.scrollLeft=this.scrollLeft),o.fixedBodyWrapper&&(o.fixedBodyWrapper.scrollTop=this.scrollTop),o.rightFixedBodyWrapper&&(o.rightFixedBodyWrapper.scrollTop=this.scrollTop);var e=this.scrollWidth-this.offsetWidth-1,t=this.scrollLeft;r.scrollPosition=e<=t?"right":0===t?"left":"middle"}),this.fit&&k(this.$el,this.resizeListener)},resizeListener:function(){if(this.$ready){var e=!1,t=this.$el,i=this.resizeState,n=i.width,o=i.height,r=t.offsetWidth;n!==r&&(e=!0);var s=t.offsetHeight;(this.height||this.shouldUpdateHeight)&&o!==s&&(e=!0),e&&(this.resizeState.width=r,this.resizeState.height=s,this.doLayout())}},doLayout:function(){this.layout.updateColumnsWidth(),this.shouldUpdateHeight&&this.layout.updateElsHeight()},sort:function(e,t){this.store.commit("sort",{prop:e,order:t})},toggleAllSelection:function(){this.store.commit("toggleAllSelection")},getRowKey:function(e){var t=Zt(e,this.store.states.rowKey);if(!t)throw new Error("if there's nested data, rowKey is required.");return t},getTableTreeData:function(e){var r=this,s={};return e&&e.forEach(function(e){var t=Array.isArray(e.children)&&e.children.length;if(t||e.hasChildren){var i=r.getRowKey(e),n={level:0,expanded:!1,display:!0,children:[]};t?(s[i]=n,function i(e,n,o){e.forEach(function(e){var t=r.getRowKey(e);s[t]={display:!1,level:o},n.children.push(t),Array.isArray(e.children)&&e.children.length&&(s[t].children=[],s[t].expanded=!1,i(e.children,s[t],o+1))})}(e.children,s[i],1)):e.hasChildren&&r.lazy&&(n.hasChildren=!0,n.loaded=!1,s[i]=n)}}),s}},created:function(){var e=this;this.tableId="el-table_"+gi++,this.debouncedUpdateLayout=z()(50,function(){return e.doLayout()})},computed:{tableSize:function(){return this.size||(this.$ELEMENT||{}).size},bodyWrapper:function(){return this.$refs.bodyWrapper},shouldUpdateHeight:function(){return this.height||this.maxHeight||0 0"},{name:"mousewheel",rawName:"v-mousewheel",value:t.handleHeaderFooterMousewheel,expression:"handleHeaderFooterMousewheel"}],ref:"footerWrapper",staticClass:"el-table__footer-wrapper"},[i("table-footer",{style:{width:t.layout.bodyWidth?t.layout.bodyWidth+"px":""},attrs:{store:t.store,border:t.border,"sum-text":t.sumText||t.t("el.table.sumText"),"summary-method":t.summaryMethod,"default-sort":t.defaultSort}})],1):t._e(),0 0"}],ref:"fixedFooterWrapper",staticClass:"el-table__fixed-footer-wrapper"},[i("table-footer",{style:{width:t.bodyWidth},attrs:{fixed:"left",border:t.border,"sum-text":t.sumText||t.t("el.table.sumText"),"summary-method":t.summaryMethod,store:t.store}})],1):t._e()]):t._e(),0 0"}],ref:"rightFixedFooterWrapper",staticClass:"el-table__fixed-footer-wrapper"},[i("table-footer",{style:{width:t.bodyWidth},attrs:{fixed:"right",border:t.border,"sum-text":t.sumText||t.t("el.table.sumText"),"summary-method":t.summaryMethod,store:t.store}})],1):t._e()]):t._e(),0=e[0]&&o<=e[1]}))return e;var s=r[0][0],a=r[0][0];return r.forEach(function(e){s=new Date(Math.min(e[0],s)),a=new Date(Math.max(e[1],s))}),Vi(o=this.minDate?this.$emit("pick",{minDate:this.minDate,maxDate:o}):this.$emit("pick",{minDate:o,maxDate:this.minDate}),this.rangeState.selecting=!1):(this.$emit("pick",{minDate:o,maxDate:null}),this.rangeState.selecting=!0):this.$emit("pick",n)}}},computed:{rows:function(){for(var r=this,e=this.tableRows,s=this.disabledDate,a=[],l=Ln(new Date),u=0;u<3;u++)for(var c=e[u],t=function(e){var t=c[e];t||(t={row:u,column:e,type:"normal",inRange:!1,start:!1,end:!1}),t.type="normal";var i=4*u+e,n=new Date(r.date.getFullYear(),i).getTime();t.inRange=n>=Ln(r.minDate)&&n<=Ln(r.maxDate),t.start=r.minDate&&n===Ln(r.minDate),t.end=r.maxDate&&n===Ln(r.maxDate),n===l&&(t.type="today"),t.text=i;var o=new Date(n);t.disabled="function"==typeof s&&s(o),t.selected=Object(M.a)(a,function(e){return e.getTime()===o.getTime()}),r.$set(c,e,t)},i=0;i<4;i++)t(i);return e}}},On=Object(o.a)(En,function(){var i=this,e=i.$createElement,n=i._self._c||e;return n("table",{staticClass:"el-month-table",on:{click:i.handleMonthTableClick,mousemove:i.handleMouseMove}},[n("tbody",i._l(i.rows,function(e,t){return n("tr",{key:t},i._l(e,function(e,t){return n("td",{key:t,class:i.getCellStyle(e)},[n("div",[n("a",{staticClass:"cell"},[i._v(i._s(i.t("el.datepicker.months."+i.months[e.text])))])])])}),0)}),0)])},[],!1,null,null,null);On.options.__file="month-table.vue";var An=On.exports,zn=["sun","mon","tue","wed","thu","fri","sat"],$n=function(e){return"number"==typeof e||"string"==typeof e?Wi(new Date(e)).getTime():e instanceof Date?Wi(e).getTime():NaN},Pn={mixins:[u.a],props:{firstDayOfWeek:{default:7,type:Number,validator:function(e){return 1<=e&&e<=7}},value:{},defaultValue:{validator:function(e){return null===e||Oi(e)||Array.isArray(e)&&e.every(Oi)}},date:{},selectionMode:{default:"day"},showWeekNumber:{type:Boolean,default:!1},disabledDate:{},minDate:{},maxDate:{},rangeState:{default:function(){return{endDate:null,selecting:!1}}}},computed:{offsetDay:function(){var e=this.firstDayOfWeek;return 3=$n(r.minDate)&&i<=$n(r.maxDate),t.start=r.minDate&&i===$n(r.minDate),t.end=r.maxDate&&i===$n(r.maxDate),i===f&&(t.type="today"),0<=m&&m<=1){var n=s+u<0?7+s+u:s+u;n<=e+7*m?t.text=c++:(t.text=l-(n-e%7)+1+7*m,t.type="prev-month")}else c<=a?t.text=c++:(t.text=c++-a,t.type="next-month");var o=new Date(i);t.disabled="function"==typeof d&&d(o),t.selected=Object(M.a)(p,function(e){return e.getTime()===o.getTime()}),r.$set(g,r.showWeekNumber?e+1:e,t)},o=0;o<7;o++)n(o);if("week"===this.selectionMode){var v=this.showWeekNumber?1:0,y=this.showWeekNumber?7:6,b=this.isWeekActive(g[v+1]);g[v].inRange=b,g[v].start=b,g[y].inRange=b,g[y].end=b}}return i}},watch:{"rangeState.endDate":function(e){this.markRange(this.minDate,e)},minDate:function(e,t){$n(e)!==$n(t)&&this.markRange(this.minDate,this.maxDate)},maxDate:function(e,t){$n(e)!==$n(t)&&this.markRange(this.minDate,this.maxDate)}},data:function(){return{tableRows:[[],[],[],[],[],[]],lastRow:null,lastColumn:null}},methods:{cellMatchesDate:function(e,t){var i=new Date(t);return this.year===i.getFullYear()&&this.month===i.getMonth()&&Number(e.text)===i.getDate()},getCellClasses:function(t){var i=this,e=this.selectionMode,n=this.defaultValue?Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue]:[],o=[];return"normal"!==t.type&&"today"!==t.type||t.disabled?o.push(t.type):(o.push("available"),"today"===t.type&&o.push("today")),"normal"===t.type&&n.some(function(e){return i.cellMatchesDate(t,e)})&&o.push("default"),"day"!==e||"normal"!==t.type&&"today"!==t.type||!this.cellMatchesDate(t,this.value)||o.push("current"),!t.inRange||"normal"!==t.type&&"today"!==t.type&&"week"!==this.selectionMode||(o.push("in-range"),t.start&&o.push("start-date"),t.end&&o.push("end-date")),t.disabled&&o.push("disabled"),t.selected&&o.push("selected"),o.join(" ")},getDateOfCell:function(e,t){var i=7*e+(t-(this.showWeekNumber?1:0))-this.offsetDay;return Yi(this.startDate,i)},isWeekActive:function(e){if("week"!==this.selectionMode)return!1;var t=new Date(this.year,this.month,1),i=t.getFullYear(),n=t.getMonth();if("prev-month"===e.type&&(t.setMonth(0===n?11:n-1),t.setFullYear(0===n?i-1:i)),"next-month"===e.type&&(t.setMonth(11===n?0:n+1),t.setFullYear(11===n?i+1:i)),t.setDate(parseInt(e.text,10)),Oi(this.value)){var o=(this.value.getDay()-this.firstDayOfWeek+7)%7-1;return Fi(this.value,o).getTime()===t.getTime()}return!1},markRange:function(e,t){e=$n(e),t=$n(t)||e;var i=[Math.min(e,t),Math.max(e,t)];e=i[0],t=i[1];for(var n=this.startDate,o=this.rows,r=0,s=o.length;r=this.minDate?this.$emit("pick",{minDate:this.minDate,maxDate:l}):this.$emit("pick",{minDate:l,maxDate:this.minDate}),this.rangeState.selecting=!1):(this.$emit("pick",{minDate:l,maxDate:null}),this.rangeState.selecting=!0);else if("day"===this.selectionMode)this.$emit("pick",l);else if("week"===this.selectionMode){var u=Ri(l),c=l.getFullYear()+"w"+u;this.$emit("pick",{year:l.getFullYear(),week:u,value:c,date:l})}else if("dates"===this.selectionMode){var h=this.value||[],d=o.selected?(r=h,0<=(a="function"==typeof(s=function(e){return e.getTime()===l.getTime()})?Object(M.b)(r,s):r.indexOf(s))?[].concat(r.slice(0,a),r.slice(a+1)):r):[].concat(h,[l]);this.$emit("pick",d)}}}}}},Fn=Object(o.a)(Pn,function(){var i=this,e=i.$createElement,n=i._self._c||e;return n("table",{staticClass:"el-date-table",class:{"is-week-mode":"week"===i.selectionMode},attrs:{cellspacing:"0",cellpadding:"0"},on:{click:i.handleClick,mousemove:i.handleMouseMove}},[n("tbody",[n("tr",[i.showWeekNumber?n("th",[i._v(i._s(i.t("el.datepicker.week")))]):i._e(),i._l(i.WEEKS,function(e,t){return n("th",{key:t},[i._v(i._s(i.t("el.datepicker.weeks."+e)))])})],2),i._l(i.rows,function(e,t){return n("tr",{key:t,staticClass:"el-date-table__row",class:{current:i.isWeekActive(e[1])}},i._l(e,function(e,t){return n("td",{key:t,class:i.getCellClasses(e)},[n("div",[n("span",[i._v("\n "+i._s(e.text)+"\n ")])])])}),0)})],2)])},[],!1,null,null,null);Fn.options.__file="date-table.vue";var Yn=Fn.exports,Rn={mixins:[u.a],directives:{Clickoutside:$.a},watch:{showTime:function(e){var i=this;e&&this.$nextTick(function(e){var t=i.$refs.input.$el;t&&(i.pickerWidth=t.getBoundingClientRect().width+10)})},value:function(e){"dates"===this.selectionMode&&this.value||(Oi(e)?this.date=new Date(e):this.date=this.getDefaultValue())},defaultValue:function(e){Oi(this.value)||(this.date=e?new Date(e):new Date)},timePickerVisible:function(e){var t=this;e&&this.$nextTick(function(){return t.$refs.timepicker.adjustSpinners()})},selectionMode:function(e){"month"===e?"year"===this.currentView&&"month"===this.currentView||(this.currentView="month"):"dates"===e&&(this.currentView="date")}},methods:{proxyTimePickerDataProperties:function(){var e,t=this,i=function(e){t.$refs.timepicker.value=e},n=function(e){t.$refs.timepicker.date=e},o=function(e){t.$refs.timepicker.selectableRange=e};this.$watch("value",i),this.$watch("date",n),this.$watch("selectableRange",o),e=this.timeFormat,t.$refs.timepicker.format=e,i(this.value),n(this.date),o(this.selectableRange)},handleClear:function(){this.date=this.getDefaultValue(),this.$emit("pick",null)},emit:function(e){for(var t=this,i=arguments.length,n=Array(1this.maxDate&&(this.maxDate=this.minDate)):(this.maxDate=Vi(this.maxDate,i.getFullYear(),i.getMonth(),i.getDate()),this.maxDatethis.maxDate&&(this.maxDate=this.minDate),this.$refs.minTimePicker.value=this.minDate,this.minTimePickerVisible=!1):(this.maxDate=Qi(this.maxDate,i.getHours(),i.getMinutes(),i.getSeconds()),this.maxDatethis.maxDate.getTime()&&(this.minDate=new Date(this.maxDate))},handleMaxTimeClose:function(){this.maxTimePickerVisible=!1},leftPrevYear:function(){this.leftDate=en(this.leftDate),this.unlinkPanels||(this.rightDate=Xi(this.leftDate))},leftPrevMonth:function(){this.leftDate=Ji(this.leftDate),this.unlinkPanels||(this.rightDate=Xi(this.leftDate))},rightNextYear:function(){this.unlinkPanels?this.rightDate=tn(this.rightDate):(this.leftDate=tn(this.leftDate),this.rightDate=Xi(this.leftDate))},rightNextMonth:function(){this.unlinkPanels?this.rightDate=Xi(this.rightDate):(this.leftDate=Xi(this.leftDate),this.rightDate=Xi(this.leftDate))},leftNextYear:function(){this.leftDate=tn(this.leftDate)},leftNextMonth:function(){this.leftDate=Xi(this.leftDate)},rightPrevYear:function(){this.rightDate=en(this.rightDate)},rightPrevMonth:function(){this.rightDate=Ji(this.rightDate)},handleConfirm:function(){var e=0this.leftYear+1}},data:function(){return{popperClass:"",value:[],defaultValue:null,defaultTime:null,minDate:"",maxDate:"",leftDate:new Date,rightDate:tn(new Date),rangeState:{endDate:null,selecting:!1,row:null,column:null},shortcuts:"",visible:"",disabledDate:"",format:"",arrowControl:!1,unlinkPanels:!1}},watch:{value:function(e){if(e){if(Array.isArray(e))if(this.minDate=Oi(e[0])?new Date(e[0]):null,this.maxDate=Oi(e[1])?new Date(e[1]):null,this.minDate)if(this.leftDate=this.minDate,this.unlinkPanels&&this.maxDate){var t=this.minDate.getFullYear(),i=this.maxDate.getFullYear();this.rightDate=t===i?tn(this.maxDate):this.maxDate}else this.rightDate=tn(this.leftDate);else this.leftDate=Gn(this.defaultValue)[0],this.rightDate=tn(this.leftDate)}else this.minDate=null,this.maxDate=null},defaultValue:function(e){if(!Array.isArray(this.value)){var t=Gn(e),i=t[0],n=t[1];this.leftDate=i,this.rightDate=e&&e[1]&&i.getFullYear()!==n.getFullYear()&&this.unlinkPanels?n:tn(this.leftDate)}}},methods:{handleClear:function(){this.minDate=null,this.maxDate=null,this.leftDate=Gn(this.defaultValue)[0],this.rightDate=tn(this.leftDate),this.$emit("pick",null)},handleChangeRange:function(e){this.minDate=e.minDate,this.maxDate=e.maxDate,this.rangeState=e.rangeState},handleRangePick:function(e){var t=this,i=!(1this.maxDate.getTime()},amPmMode:function(){return-1!==(this.format||"").indexOf("A")?"A":-1!==(this.format||"").indexOf("a")?"a":""}},data:function(){return{popperClass:"",minDate:new Date,maxDate:new Date,value:[],oldValue:[new Date,new Date],defaultValue:null,format:"HH:mm:ss",visible:!1,selectionRange:[0,2],arrowControl:!1}},watch:{value:function(e){Array.isArray(e)?(this.minDate=new Date(e[0]),this.maxDate=new Date(e[1])):Array.isArray(this.defaultValue)?(this.minDate=new Date(this.defaultValue[0]),this.maxDate=new Date(this.defaultValue[1])):this.defaultValue?(this.minDate=new Date(this.defaultValue),this.maxDate=ho(new Date(this.defaultValue),36e5)):(this.minDate=new Date,this.maxDate=ho(new Date,36e5))},visible:function(e){var t=this;e&&(this.oldValue=this.value,this.$nextTick(function(){return t.$refs.minSpinner.emitSelectRange("hours")}))}},methods:{handleClear:function(){this.$emit("pick",null)},handleCancel:function(){this.$emit("pick",this.oldValue)},handleMinChange:function(e){this.minDate=Gi(e),this.handleChange()},handleMaxChange:function(e){this.maxDate=Gi(e),this.handleChange()},handleChange:function(){var e;this.isValidValue([this.minDate,this.maxDate])&&(this.$refs.minSpinner.selectableRange=[[(e=this.minDate,Vi(lo,e.getFullYear(),e.getMonth(),e.getDate())),this.maxDate]],this.$refs.maxSpinner.selectableRange=[[this.minDate,co(this.maxDate)]],this.$emit("pick",[this.minDate,this.maxDate],!0))},setMinSelectionRange:function(e,t){this.$emit("select-range",e,t,"min"),this.selectionRange=[e,t]},setMaxSelectionRange:function(e,t){this.$emit("select-range",e,t,"max"),this.selectionRange=[e+this.offset,t+this.offset]},handleConfirm:function(){var e=0()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},vr={integer:function(e){return vr.number(e)&&parseInt(e,10)===e},float:function(e){return vr.number(e)&&!vr.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(void 0===e?"undefined":sr()(e))&&!vr.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(gr.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(gr.url)},hex:function(e){return"string"==typeof e&&!!e.match(gr.hex)}};var yr=function(e,t,i,n,o){if(e.required&&void 0===t)fr(e,t,i,n,o);else{var r=e.type;-1<["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(r)?vr[r](t)||n.push(lr(o.messages.types[r],e.fullField,e.type)):r&&(void 0===t?"undefined":sr()(t))!==e.type&&n.push(lr(o.messages.types[r],e.fullField,e.type))}};var br="enum";var Mr={required:fr,whitespace:mr,type:yr,range:function(e,t,i,n,o){var r="number"==typeof e.len,s="number"==typeof e.min,a="number"==typeof e.max,l=t,u=null,c="number"==typeof t,h="string"==typeof t,d=Array.isArray(t);if(c?u="number":h?u="string":d&&(u="array"),!u)return!1;d&&(l=t.length),h&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),r?l!==e.len&&n.push(lr(o.messages[u].len,e.fullField,e.len)):s&&!a&&le.max?n.push(lr(o.messages[u].max,e.fullField,e.max)):s&&a&&(le.max)&&n.push(lr(o.messages[u].range,e.fullField,e.min,e.max))},enum:function(e,t,i,n,o){e[br]=Array.isArray(e[br])?e[br]:[],-1===e[br].indexOf(t)&&n.push(lr(o.messages[br],e.fullField,e[br].join(", ")))},pattern:function(e,t,i,n,o){e.pattern&&(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||n.push(lr(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"==typeof e.pattern&&(new RegExp(e.pattern).test(t)||n.push(lr(o.messages.pattern.mismatch,e.fullField,t,e.pattern))))}};var Cr=function(e,t,i,n,o){var r=e.type,s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ur(t,r)&&!e.required)return i();Mr.required(e,t,n,s,o,r),ur(t,r)||Mr.type(e,t,n,s,o)}i(s)},wr={string:function(e,t,i,n,o){var r=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ur(t,"string")&&!e.required)return i();Mr.required(e,t,n,r,o,"string"),ur(t,"string")||(Mr.type(e,t,n,r,o),Mr.range(e,t,n,r,o),Mr.pattern(e,t,n,r,o),!0===e.whitespace&&Mr.whitespace(e,t,n,r,o))}i(r)},method:function(e,t,i,n,o){var r=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ur(t)&&!e.required)return i();Mr.required(e,t,n,r,o),void 0!==t&&Mr.type(e,t,n,r,o)}i(r)},number:function(e,t,i,n,o){var r=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ur(t)&&!e.required)return i();Mr.required(e,t,n,r,o),void 0!==t&&(Mr.type(e,t,n,r,o),Mr.range(e,t,n,r,o))}i(r)},boolean:function(e,t,i,n,o){var r=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ur(t)&&!e.required)return i();Mr.required(e,t,n,r,o),void 0!==t&&Mr.type(e,t,n,r,o)}i(r)},regexp:function(e,t,i,n,o){var r=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ur(t)&&!e.required)return i();Mr.required(e,t,n,r,o),ur(t)||Mr.type(e,t,n,r,o)}i(r)},integer:function(e,t,i,n,o){var r=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ur(t)&&!e.required)return i();Mr.required(e,t,n,r,o),void 0!==t&&(Mr.type(e,t,n,r,o),Mr.range(e,t,n,r,o))}i(r)},float:function(e,t,i,n,o){var r=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ur(t)&&!e.required)return i();Mr.required(e,t,n,r,o),void 0!==t&&(Mr.type(e,t,n,r,o),Mr.range(e,t,n,r,o))}i(r)},array:function(e,t,i,n,o){var r=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ur(t,"array")&&!e.required)return i();Mr.required(e,t,n,r,o,"array"),ur(t,"array")||(Mr.type(e,t,n,r,o),Mr.range(e,t,n,r,o))}i(r)},object:function(e,t,i,n,o){var r=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ur(t)&&!e.required)return i();Mr.required(e,t,n,r,o),void 0!==t&&Mr.type(e,t,n,r,o)}i(r)},enum:function(e,t,i,n,o){var r=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ur(t)&&!e.required)return i();Mr.required(e,t,n,r,o),t&&Mr.enum(e,t,n,r,o)}i(r)},pattern:function(e,t,i,n,o){var r=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ur(t,"string")&&!e.required)return i();Mr.required(e,t,n,r,o),ur(t,"string")||Mr.pattern(e,t,n,r,o)}i(r)},date:function(e,t,i,n,o){var r=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(ur(t)&&!e.required)return i();if(Mr.required(e,t,n,r,o),!ur(t)){var s=void 0;s="number"==typeof t?new Date(t):t,Mr.type(e,s,n,r,o),s&&Mr.range(e,s.getTime(),n,r,o)}}i(r)},url:Cr,hex:Cr,email:Cr,required:function(e,t,i,n,o){var r=[],s=Array.isArray(t)?"array":void 0===t?"undefined":sr()(t);Mr.required(e,t,n,r,o,s),i(r)}};function xr(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Nr=xr();function Dr(e){this.rules=null,this._messages=Nr,this.define(e)}Dr.prototype={messages:function(e){return e&&(this._messages=pr(xr(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(void 0===e?"undefined":sr()(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,i=void 0;for(t in e)e.hasOwnProperty(t)&&(i=e[t],this.rules[t]=Array.isArray(i)?i:[i])},validate:function(n){var o=this,e=1o.right&&(a=s+n.right-o.right),a=Math.max(a,0),this.navOffset=Math.min(a,r)}}},update:function(){if(this.$refs.nav){var e=this.sizeName,t=this.$refs.nav["offset"+Ar(e)],i=this.$refs.navScroll["offset"+Ar(e)],n=this.navOffset;if(iu.height*p?"after":s?"inner":"none";var g=i.$el.querySelector(".el-tree-node__expand-icon").getBoundingClientRect(),v=y.$refs.dropIndicator;"before"===h?f=g.top-c.top:"after"===h&&(f=g.bottom-c.top),v.style.top=f+"px",v.style.left=g.right-c.left+"px","inner"===h?Object(j.a)(i.$el,"is-drop-inner"):Object(j.g)(i.$el,"is-drop-inner"),b.showDropIndicator="before"===h||"after"===h,b.allowDrop=b.showDropIndicator||l,b.dropType=h,y.$emit("node-drag-over",o.node,i.node,e)}}),this.$on("tree-node-drag-end",function(e){var t=b.draggingNode,i=b.dropType,n=b.dropNode;if(e.preventDefault(),e.dataTransfer.dropEffect="move",t&&n){var o={data:t.node.data};"none"!==i&&t.node.remove(),"before"===i?n.node.parent.insertBefore(o,n.node):"after"===i?n.node.parent.insertAfter(o,n.node):"inner"===i&&n.node.insertChild(o),"none"!==i&&y.store.registerNode(o),Object(j.g)(n.$el,"is-drop-inner"),y.$emit("node-drag-end",t.node,n.node,i,e),"none"!==i&&y.$emit("node-drop",t.node,n.node,i,e)}t&&!n&&y.$emit("node-drag-end",t.node,null,i,e),b.showDropIndicator=!1,b.draggingNode=null,b.dropNode=null,b.allowDrop=!0})},mounted:function(){this.initTabIndex(),this.$el.addEventListener("keydown",this.handleKeydown)},updated:function(){this.treeItems=this.$el.querySelectorAll("[role=treeitem]"),this.checkboxItems=this.$el.querySelectorAll("input[type=checkbox]")}},as=Object(o.a)(ss,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"el-tree",class:{"el-tree--highlight-current":t.highlightCurrent,"is-dragging":!!t.dragState.draggingNode,"is-drop-not-allow":!t.dragState.allowDrop,"is-drop-inner":"inner"===t.dragState.dropType},attrs:{role:"tree"}},[t._l(t.root.childNodes,function(e){return i("el-tree-node",{key:t.getNodeKey(e),attrs:{node:e,props:t.props,"render-after-expand":t.renderAfterExpand,"show-checkbox":t.showCheckbox,"render-content":t.renderContent},on:{"node-expand":t.handleNodeExpand}})}),t.isEmpty?i("div",{staticClass:"el-tree__empty-block"},[i("span",{staticClass:"el-tree__empty-text"},[t._v(t._s(t.emptyText))])]):t._e(),i("div",{directives:[{name:"show",rawName:"v-show",value:t.dragState.showDropIndicator,expression:"dragState.showDropIndicator"}],ref:"dropIndicator",staticClass:"el-tree__drop-indicator"})],2)},[],!1,null,null,null);as.options.__file="tree.vue";var ls=as.exports;ls.install=function(e){e.component(ls.name,ls)};var us=ls,cs={success:"el-icon-success",warning:"el-icon-warning",error:"el-icon-error"},hs={name:"ElAlert",props:{title:{type:String,default:""},description:{type:String,default:""},type:{type:String,default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean},data:function(){return{visible:!0}},methods:{close:function(){this.visible=!1,this.$emit("close")}},computed:{typeClass:function(){return"el-alert--"+this.type},iconClass:function(){return cs[this.type]||"el-icon-info"},isBigIcon:function(){return this.description||this.$slots.default?"is-big":""},isBoldTitle:function(){return this.description||this.$slots.default?"is-bold":""}}},ds=Object(o.a)(hs,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("transition",{attrs:{name:"el-alert-fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"el-alert",class:[t.typeClass,t.center?"is-center":""],attrs:{role:"alert"}},[t.showIcon?i("i",{staticClass:"el-alert__icon",class:[t.iconClass,t.isBigIcon]}):t._e(),i("div",{staticClass:"el-alert__content"},[t.title||t.$slots.title?i("span",{staticClass:"el-alert__title",class:[t.isBoldTitle]},[t._t("title",[t._v(t._s(t.title))])],2):t._e(),t.$slots.default&&!t.description?i("p",{staticClass:"el-alert__description"},[t._t("default")],2):t._e(),t.description&&!t.$slots.default?i("p",{staticClass:"el-alert__description"},[t._v(t._s(t.description))]):t._e(),i("i",{directives:[{name:"show",rawName:"v-show",value:t.closable,expression:"closable"}],staticClass:"el-alert__closebtn",class:{"is-customed":""!==t.closeText,"el-icon-close":""===t.closeText},on:{click:function(e){t.close()}}},[t._v(t._s(t.closeText))])])])])},[],!1,null,null,null);ds.options.__file="main.vue";var ps=ds.exports;ps.install=function(e){e.component(ps.name,ps)};var fs=ps,ms={success:"success",info:"info",warning:"warning",error:"error"},gs={data:function(){return{visible:!1,title:"",message:"",duration:4500,type:"",showClose:!0,customClass:"",iconClass:"",onClose:null,onClick:null,closed:!1,verticalOffset:0,timer:null,dangerouslyUseHTMLString:!1,position:"top-right"}},computed:{typeClass:function(){return this.type&&ms[this.type]?"el-icon-"+ms[this.type]:""},horizontalClass:function(){return-1this.max)console.error("[Element Error][Slider]min should not be greater than max.");else{var e=this.value;this.range&&Array.isArray(e)?e[1]this.max?this.$emit("input",[this.max,this.max]):e[0]this.max?this.$emit("input",[e[0],this.max]):(this.firstValue=e[0],this.secondValue=e[1],this.valueChanged()&&(this.dispatch("ElFormItem","el.form.change",[this.minValue,this.maxValue]),this.oldValue=e.slice())):this.range||"number"!=typeof e||isNaN(e)||(ethis.max?this.$emit("input",this.max):(this.firstValue=e,this.valueChanged()&&(this.dispatch("ElFormItem","el.form.change",e),this.oldValue=e)))}},setPosition:function(e){var t=this.min+e*(this.max-this.min)/100;if(this.range){var i=void 0;i=Math.abs(this.minValue-t)this.secondValue?"button1":"button2",this.$refs[i].setPosition(e)}else this.$refs.button1.setPosition(e)},onSliderClick:function(e){if(!this.sliderDisabled&&!this.dragging){if(this.resetSize(),this.vertical){var t=this.$refs.slider.getBoundingClientRect().bottom;this.setPosition((t-e.clientY)/this.sliderSize*100)}else{var i=this.$refs.slider.getBoundingClientRect().left;this.setPosition((e.clientX-i)/this.sliderSize*100)}this.emitChange()}},resetSize:function(){this.$refs.slider&&(this.sliderSize=this.$refs.slider["client"+(this.vertical?"Height":"Width")])},emitChange:function(){var e=this;this.$nextTick(function(){e.$emit("change",e.range?[e.minValue,e.maxValue]:e.value)})}},computed:{stops:function(){var t=this;if(!this.showStops||this.min>this.max)return[];if(0===this.step)return[];for(var e=(this.max-this.min)/this.step,i=100*this.step/(this.max-this.min),n=[],o=1;o100*(t.maxValue-t.min)/(t.max-t.min)}):n.filter(function(e){return e>100*(t.firstValue-t.min)/(t.max-t.min)})},minValue:function(){return Math.min(this.firstValue,this.secondValue)},maxValue:function(){return Math.max(this.firstValue,this.secondValue)},barSize:function(){return this.range?100*(this.maxValue-this.minValue)/(this.max-this.min)+"%":100*(this.firstValue-this.min)/(this.max-this.min)+"%"},barStart:function(){return this.range?100*(this.minValue-this.min)/(this.max-this.min)+"%":"0%"},precision:function(){var e=[this.min,this.max,this.step].map(function(e){var t=(""+e).split(".")[1];return t?t.length:0});return Math.max.apply(null,e)},runwayStyle:function(){return this.vertical?{height:this.height}:{}},barStyle:function(){return this.vertical?{height:this.barSize,bottom:this.barStart}:{width:this.barSize,left:this.barStart}},sliderDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},mounted:function(){var e=void 0;e=this.range?(Array.isArray(this.value)?(this.firstValue=Math.max(this.min,this.value[0]),this.secondValue=Math.min(this.max,this.value[1])):(this.firstValue=this.min,this.secondValue=this.max),this.oldValue=[this.firstValue,this.secondValue],this.firstValue+"-"+this.secondValue):("number"!=typeof this.value||isNaN(this.value)?this.firstValue=this.min:this.firstValue=Math.min(this.max,Math.max(this.min,this.value)),this.oldValue=this.firstValue,this.firstValue),this.$el.setAttribute("aria-valuetext",e),this.$el.setAttribute("aria-label",this.label?this.label:"slider between "+this.min+" and "+this.max),this.resetSize(),window.addEventListener("resize",this.resetSize)},beforeDestroy:function(){window.removeEventListener("resize",this.resetSize)}},Ss=Object(o.a)(_s,function(){var i=this,e=i.$createElement,n=i._self._c||e;return n("div",{staticClass:"el-slider",class:{"is-vertical":i.vertical,"el-slider--with-input":i.showInput},attrs:{role:"slider","aria-valuemin":i.min,"aria-valuemax":i.max,"aria-orientation":i.vertical?"vertical":"horizontal","aria-disabled":i.sliderDisabled}},[i.showInput&&!i.range?n("el-input-number",{ref:"input",staticClass:"el-slider__input",attrs:{step:i.step,disabled:i.sliderDisabled,controls:i.showInputControls,min:i.min,max:i.max,debounce:i.debounce,size:i.inputSize},on:{change:function(e){i.$nextTick(i.emitChange)}},model:{value:i.firstValue,callback:function(e){i.firstValue=e},expression:"firstValue"}}):i._e(),n("div",{ref:"slider",staticClass:"el-slider__runway",class:{"show-input":i.showInput,disabled:i.sliderDisabled},style:i.runwayStyle,on:{click:i.onSliderClick}},[n("div",{staticClass:"el-slider__bar",style:i.barStyle}),n("slider-button",{ref:"button1",attrs:{vertical:i.vertical,"tooltip-class":i.tooltipClass},model:{value:i.firstValue,callback:function(e){i.firstValue=e},expression:"firstValue"}}),i.range?n("slider-button",{ref:"button2",attrs:{vertical:i.vertical,"tooltip-class":i.tooltipClass},model:{value:i.secondValue,callback:function(e){i.secondValue=e},expression:"secondValue"}}):i._e(),i._l(i.stops,function(e,t){return i.showStops?n("div",{key:t,staticClass:"el-slider__stop",style:i.vertical?{bottom:e+"%"}:{left:e+"%"}}):i._e()})],2)],1)},[],!1,null,null,null);Ss.options.__file="main.vue";var js=Ss.exports;js.install=function(e){e.component(js.name,js)};var Ts=js,Ls={data:function(){return{text:null,spinner:null,background:null,fullscreen:!0,visible:!1,customClass:""}},methods:{handleAfterLeave:function(){this.$emit("after-leave")},setText:function(e){this.text=e}}},Es=Object(o.a)(Ls,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-loading-fade"},on:{"after-leave":e.handleAfterLeave}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-loading-mask",class:[e.customClass,{"is-fullscreen":e.fullscreen}],style:{backgroundColor:e.background||""}},[i("div",{staticClass:"el-loading-spinner"},[e.spinner?i("i",{class:e.spinner}):i("svg",{staticClass:"circular",attrs:{viewBox:"25 25 50 50"}},[i("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})]),e.text?i("p",{staticClass:"el-loading-text"},[e._v(e._s(e.text))]):e._e()])])])},[],!1,null,null,null);Es.options.__file="loading.vue";var Os=Es.exports,As=function(e,t){var i=2this.limit)this.onExceed&&this.onExceed(e,this.fileList);else{var i=Array.prototype.slice.call(e);this.multiple||(i=i.slice(0,1)),0!==i.length&&i.forEach(function(e){t.onStart(e),t.autoUpload&&t.upload(e)})}},upload:function(n){var o=this;if(this.$refs.input.value=null,!this.beforeUpload)return this.post(n);var e=this.beforeUpload(n);e&&e.then?e.then(function(e){var t=Object.prototype.toString.call(e);if("[object File]"===t||"[object Blob]"===t){for(var i in"[object Blob]"===t&&(e=new File([e],n.name,{type:n.type})),n)n.hasOwnProperty(i)&&(e[i]=n[i]);o.post(e)}else o.post(n)},function(){o.onRemove(null,n)}):!1!==e?this.post(n):this.onRemove(null,n)},abort:function(e){var t=this.reqs;if(e){var i=e;e.uid&&(i=e.uid),t[i]&&t[i].abort()}else Object.keys(t).forEach(function(e){t[e]&&t[e].abort(),delete t[e]})},post:function(t){var i=this,n=t.uid,e={headers:this.headers,withCredentials:this.withCredentials,file:t,data:this.data,filename:this.name,action:this.action,onProgress:function(e){i.onProgress(e,t)},onSuccess:function(e){i.onSuccess(e,t),delete i.reqs[n]},onError:function(e){i.onError(e,t),delete i.reqs[n]}},o=this.httpRequest(e);(this.reqs[n]=o)&&o.then&&o.then(e.onSuccess,e.onError)},handleClick:function(){this.disabled||(this.$refs.input.value=null,this.$refs.input.click())},handleKeydown:function(e){e.target===e.currentTarget&&(13!==e.keyCode&&32!==e.keyCode||this.handleClick())}},render:function(e){var t=this.handleClick,i=this.drag,n=this.name,o=this.handleChange,r=this.multiple,s=this.accept,a=this.listType,l=this.uploadFiles,u=this.disabled,c={class:{"el-upload":!0},on:{click:t,keydown:this.handleKeydown}};return c.class["el-upload--"+a]=!0,e("div",aa()([c,{attrs:{tabindex:"0"}}]),[i?e("upload-dragger",{attrs:{disabled:u},on:{file:l}},[this.$slots.default]):this.$slots.default,e("input",{class:"el-upload__input",attrs:{type:"file",name:n,multiple:r,accept:s},ref:"input",on:{change:o}})])}},ha=Object(o.a)(ca,void 0,void 0,!1,null,null,null);ha.options.__file="upload.vue";var da=ha.exports;function pa(){}var fa={name:"ElUpload",mixins:[Z.a],components:{ElProgress:ia,UploadList:ra,Upload:da},provide:function(){return{uploader:this}},inject:{elForm:{default:""}},props:{action:{type:String,required:!0},headers:{type:Object,default:function(){return{}}},data:Object,multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,dragger:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:String,type:{type:String,default:"select"},beforeUpload:Function,beforeRemove:Function,onRemove:{type:Function,default:pa},onChange:{type:Function,default:pa},onPreview:{type:Function},onSuccess:{type:Function,default:pa},onProgress:{type:Function,default:pa},onError:{type:Function,default:pa},fileList:{type:Array,default:function(){return[]}},autoUpload:{type:Boolean,default:!0},listType:{type:String,default:"text"},httpRequest:Function,disabled:Boolean,limit:Number,onExceed:{type:Function,default:pa}},data:function(){return{uploadFiles:[],dragOver:!1,draging:!1,tempIndex:1}},computed:{uploadDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{listType:function(e){"picture-card"!==e&&"picture"!==e||(this.uploadFiles=this.uploadFiles.map(function(e){if(!e.url&&e.raw)try{e.url=URL.createObjectURL(e.raw)}catch(e){console.error("[Element Error][Upload]",e)}return e}))},fileList:{immediate:!0,handler:function(e){var t=this;this.uploadFiles=e.map(function(e){return e.uid=e.uid||Date.now()+t.tempIndex++,e.status=e.status||"success",e})}}},methods:{handleStart:function(e){e.uid=Date.now()+this.tempIndex++;var t={status:"ready",name:e.name,size:e.size,percentage:0,uid:e.uid,raw:e};if("picture-card"===this.listType||"picture"===this.listType)try{t.url=URL.createObjectURL(e)}catch(e){return void console.error("[Element Error][Upload]",e)}this.uploadFiles.push(t),this.onChange(t,this.uploadFiles)},handleProgress:function(e,t){var i=this.getFile(t);this.onProgress(e,i,this.uploadFiles),i.status="uploading",i.percentage=e.percent||0},handleSuccess:function(e,t){var i=this.getFile(t);i&&(i.status="success",i.response=e,this.onSuccess(e,i,this.uploadFiles),this.onChange(i,this.uploadFiles))},handleError:function(e,t){var i=this.getFile(t),n=this.uploadFiles;i.status="fail",n.splice(n.indexOf(i),1),this.onError(e,i,this.uploadFiles),this.onChange(i,this.uploadFiles)},handleRemove:function(t,e){var i=this;e&&(t=this.getFile(e));var n=function(){i.abort(t);var e=i.uploadFiles;e.splice(e.indexOf(t),1),i.onRemove(t,e)};if(this.beforeRemove){if("function"==typeof this.beforeRemove){var o=this.beforeRemove(t,this.uploadFiles);o&&o.then?o.then(function(){n()},pa):!1!==o&&n()}}else n()},getFile:function(t){var e=this.uploadFiles,i=void 0;return e.every(function(e){return!(i=t.uid===e.uid?e:null)}),i},abort:function(e){this.$refs["upload-inner"].abort(e)},clearFiles:function(){this.uploadFiles=[]},submit:function(){var t=this;this.uploadFiles.filter(function(e){return"ready"===e.status}).forEach(function(e){t.$refs["upload-inner"].upload(e.raw)})},getMigratingConfig:function(){return{props:{"default-file-list":"default-file-list is renamed to file-list.","show-upload-list":"show-upload-list is renamed to show-file-list.","thumbnail-mode":"thumbnail-mode has been deprecated, you can implement the same effect according to this case: http://element.eleme.io/#/zh-CN/component/upload#yong-hu-tou-xiang-shang-chuan"}}}},beforeDestroy:function(){this.uploadFiles.forEach(function(e){e.url&&0===e.url.indexOf("blob:")&&URL.revokeObjectURL(e.url)})},render:function(e){var t=void 0;this.showFileList&&(t=e(ra,{attrs:{disabled:this.uploadDisabled,listType:this.listType,files:this.uploadFiles,handlePreview:this.onPreview},on:{remove:this.handleRemove}}));var i=e("upload",{props:{type:this.type,drag:this.drag,action:this.action,multiple:this.multiple,"before-upload":this.beforeUpload,"with-credentials":this.withCredentials,headers:this.headers,name:this.name,data:this.data,accept:this.accept,fileList:this.uploadFiles,autoUpload:this.autoUpload,listType:this.listType,disabled:this.uploadDisabled,limit:this.limit,"on-exceed":this.onExceed,"on-start":this.handleStart,"on-progress":this.handleProgress,"on-success":this.handleSuccess,"on-error":this.handleError,"on-preview":this.onPreview,"on-remove":this.handleRemove,"http-request":this.httpRequest},ref:"upload-inner"},[this.$slots.trigger||this.$slots.default]);return e("div",["picture-card"===this.listType?t:"",this.$slots.trigger?[i,this.$slots.default]:i,this.$slots.tip,"picture-card"!==this.listType?t:""])}},ma=Object(o.a)(fa,void 0,void 0,!1,null,null,null);ma.options.__file="index.vue";var ga=ma.exports;ga.install=function(e){e.component(ga.name,ga)};var va=ga,ya={name:"ElSpinner",props:{type:String,radius:{type:Number,default:100},strokeWidth:{type:Number,default:5},strokeColor:{type:String,default:"#efefef"}}},ba=Object(o.a)(ya,function(){var e=this.$createElement,t=this._self._c||e;return t("span",{staticClass:"el-spinner"},[t("svg",{staticClass:"el-spinner-inner",style:{width:this.radius/2+"px",height:this.radius/2+"px"},attrs:{viewBox:"0 0 50 50"}},[t("circle",{staticClass:"path",attrs:{cx:"25",cy:"25",r:"20",fill:"none",stroke:this.strokeColor,"stroke-width":this.strokeWidth}})])])},[],!1,null,null,null);ba.options.__file="spinner.vue";var Ma=ba.exports;Ma.install=function(e){e.component(Ma.name,Ma)};var Ca=Ma,wa={success:"success",info:"info",warning:"warning",error:"error"},xa={data:function(){return{visible:!1,message:"",duration:3e3,type:"info",iconClass:"",customClass:"",onClose:null,showClose:!1,closed:!1,timer:null,dangerouslyUseHTMLString:!1,center:!1}},computed:{typeClass:function(){return this.type&&!this.iconClass?"el-message__icon el-icon-"+wa[this.type]:""}},watch:{closed:function(e){e&&(this.visible=!1)}},methods:{handleAfterLeave:function(){this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},close:function(){this.closed=!0,"function"==typeof this.onClose&&this.onClose(this)},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var e=this;0=this.highThreshold?t.highColor||t.highClass:t.mediumColor||t.mediumClass},showDecimalIcon:function(e){var t=this.rateDisabled&&0this.value,i=this.allowHalf&&this.pointerAtLeftHalf&&e-.5<=this.currentValue&&e>this.currentValue;return t||i},getIconStyle:function(e){var t=this.rateDisabled?this.colorMap.disabledVoidColor:this.colorMap.voidColor;return{color:e<=this.currentValue?this.activeColor:t}},selectValue:function(e){this.rateDisabled||(this.allowHalf&&this.pointerAtLeftHalf?(this.$emit("input",this.currentValue),this.$emit("change",this.currentValue)):(this.$emit("input",e),this.$emit("change",e)))},handleKey:function(e){if(!this.rateDisabled){var t=this.currentValue,i=e.keyCode;38===i||39===i?(this.allowHalf?t+=.5:t+=1,e.stopPropagation(),e.preventDefault()):37!==i&&40!==i||(this.allowHalf?t-=.5:t-=1,e.stopPropagation(),e.preventDefault()),t=(t=t<0?0:t)>this.max?this.max:t,this.$emit("input",t),this.$emit("change",t)}},setCurrentValue:function(e,t){if(!this.rateDisabled){if(this.allowHalf){var i=t.target;Object(j.c)(i,"el-rate__item")&&(i=i.querySelector(".el-rate__icon")),Object(j.c)(i,"el-rate__decimal")&&(i=i.parentNode),this.pointerAtLeftHalf=2*t.offsetX<=i.clientWidth,this.currentValue=this.pointerAtLeftHalf?e-.5:e}else this.currentValue=e;this.hoverIndex=e}},resetCurrentValue:function(){this.rateDisabled||(this.allowHalf&&(this.pointerAtLeftHalf=this.value!==Math.floor(this.value)),this.currentValue=this.value,this.hoverIndex=-1)}},created:function(){this.value||this.$emit("input",0)}},Ra=Object(o.a)(Ya,function(){var i=this,e=i.$createElement,n=i._self._c||e;return n("div",{staticClass:"el-rate",attrs:{role:"slider","aria-valuenow":i.currentValue,"aria-valuetext":i.text,"aria-valuemin":"0","aria-valuemax":i.max,tabindex:"0"},on:{keydown:i.handleKey}},[i._l(i.max,function(t,e){return n("span",{key:e,staticClass:"el-rate__item",style:{cursor:i.rateDisabled?"auto":"pointer"},on:{mousemove:function(e){i.setCurrentValue(t,e)},mouseleave:i.resetCurrentValue,click:function(e){i.selectValue(t)}}},[n("i",{staticClass:"el-rate__icon",class:[i.classes[t-1],{hover:i.hoverIndex===t}],style:i.getIconStyle(t)},[i.showDecimalIcon(t)?n("i",{staticClass:"el-rate__decimal",class:i.decimalIconClass,style:i.decimalStyle}):i._e()])])}),i.showText||i.showScore?n("span",{staticClass:"el-rate__text",style:{color:i.textColor}},[i._v(i._s(i.text))]):i._e()],2)},[],!1,null,null,null);Ra.options.__file="main.vue";var Ua=Ra.exports;Ua.install=function(e){e.component(Ua.name,Ua)};var Ba=Ua,Va={name:"ElSteps",mixins:[Z.a],props:{space:[Number,String],active:Number,direction:{type:String,default:"horizontal"},alignCenter:Boolean,simple:Boolean,finishStatus:{type:String,default:"finish"},processStatus:{type:String,default:"process"}},data:function(){return{steps:[],stepOffset:0}},methods:{getMigratingConfig:function(){return{props:{center:"center is removed."}}}},watch:{active:function(e,t){this.$emit("change",e,t)},steps:function(e){e.forEach(function(e,t){e.index=t})}}},Qa=Object(o.a)(Va,function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"el-steps",class:[!this.simple&&"el-steps--"+this.direction,this.simple&&"el-steps--simple"]},[this._t("default")],2)},[],!1,null,null,null);Qa.options.__file="steps.vue";var Ha=Qa.exports;Ha.install=function(e){e.component(Ha.name,Ha)};var Wa=Ha,Ga={name:"ElStep",props:{title:String,icon:String,description:String,status:String},data:function(){return{index:-1,lineStyle:{},internalStatus:""}},beforeCreate:function(){this.$parent.steps.push(this)},beforeDestroy:function(){var e=this.$parent.steps,t=e.indexOf(this);0<=t&&e.splice(t,1)},computed:{currentStatus:function(){return this.status||this.internalStatus},prevStatus:function(){var e=this.$parent.steps[this.index-1];return e?e.currentStatus:"wait"},isCenter:function(){return this.$parent.alignCenter},isVertical:function(){return"vertical"===this.$parent.direction},isSimple:function(){return this.$parent.simple},isLast:function(){var e=this.$parent;return e.steps[e.steps.length-1]===this},stepsCount:function(){return this.$parent.steps.length},space:function(){var e=this.isSimple,t=this.$parent.space;return e?"":t},style:function(){var e={},t=this.$parent.steps.length,i="number"==typeof this.space?this.space+"px":this.space?this.space:100/(t-(this.isCenter?0:1))+"%";return e.flexBasis=i,this.isVertical||(this.isLast?e.maxWidth=100/this.stepsCount+"%":e.marginRight=-this.$parent.stepOffset+"px"),e}},methods:{updateStatus:function(e){var t=this.$parent.$children[this.index-1];e>this.index?this.internalStatus=this.$parent.finishStatus:e===this.index&&"error"!==this.prevStatus?this.internalStatus=this.$parent.processStatus:this.internalStatus="wait",t&&t.calcProgress(this.internalStatus)},calcProgress:function(e){var t=100,i={};i.transitionDelay=150*this.index+"ms",e===this.$parent.processStatus?(this.currentStatus,t=0):"wait"===e&&(t=0,i.transitionDelay=-150*this.index+"ms"),i.borderWidth=t&&!this.isSimple?"1px":0,"vertical"===this.$parent.direction?i.height=t+"%":i.width=t+"%",this.lineStyle=i}},mounted:function(){var t=this,i=this.$watch("index",function(e){t.$watch("$parent.active",t.updateStatus,{immediate:!0}),t.$watch("$parent.processStatus",function(){var e=t.$parent.active;t.updateStatus(e)},{immediate:!0}),i()})}},qa=Object(o.a)(Ga,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-step",class:[!e.isSimple&&"is-"+e.$parent.direction,e.isSimple&&"is-simple",e.isLast&&!e.space&&!e.isCenter&&"is-flex",e.isCenter&&!e.isVertical&&!e.isSimple&&"is-center"],style:e.style},[i("div",{staticClass:"el-step__head",class:"is-"+e.currentStatus},[i("div",{staticClass:"el-step__line",style:e.isLast?"":{marginRight:e.$parent.stepOffset+"px"}},[i("i",{staticClass:"el-step__line-inner",style:e.lineStyle})]),i("div",{staticClass:"el-step__icon",class:"is-"+(e.icon?"icon":"text")},["success"!==e.currentStatus&&"error"!==e.currentStatus?e._t("icon",[e.icon?i("i",{staticClass:"el-step__icon-inner",class:[e.icon]}):e._e(),e.icon||e.isSimple?e._e():i("div",{staticClass:"el-step__icon-inner"},[e._v(e._s(e.index+1))])]):i("i",{staticClass:"el-step__icon-inner is-status",class:["el-icon-"+("success"===e.currentStatus?"check":"close")]})],2)]),i("div",{staticClass:"el-step__main"},[i("div",{ref:"title",staticClass:"el-step__title",class:["is-"+e.currentStatus]},[e._t("title",[e._v(e._s(e.title))])],2),e.isSimple?i("div",{staticClass:"el-step__arrow"}):i("div",{staticClass:"el-step__description",class:["is-"+e.currentStatus]},[e._t("description",[e._v(e._s(e.description))])],2)])])},[],!1,null,null,null);qa.options.__file="step.vue";var Za=qa.exports;Za.install=function(e){e.component(Za.name,Za)};var Ka=Za,Ja=i(33),Xa=i.n(Ja),el={name:"ElCarousel",props:{initialIndex:{type:Number,default:0},height:String,trigger:{type:String,default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:String,indicator:{type:Boolean,default:!0},arrow:{type:String,default:"hover"},type:String,loop:{type:Boolean,default:!0}},data:function(){return{items:[],activeIndex:-1,containerWidth:0,timer:null,hover:!1}},computed:{hasLabel:function(){return this.items.some(function(e){return 0 0)"}],staticClass:"el-carousel__arrow el-carousel__arrow--left",attrs:{type:"button"},on:{mouseenter:function(e){i.handleButtonEnter("left")},mouseleave:i.handleButtonLeave,click:function(e){e.stopPropagation(),i.throttledArrowClick(i.activeIndex-1)}}},[n("i",{staticClass:"el-icon-arrow-left"})]):i._e()]),n("transition",{attrs:{name:"carousel-arrow-right"}},["never"!==i.arrow?n("button",{directives:[{name:"show",rawName:"v-show",value:("always"===i.arrow||i.hover)&&(i.loop||i.activeIndex\n \n '}else h.hoverTimer||(h.hoverTimer=setTimeout(function(){u.hoverZone.innerHTML=""},l))}},n=this._l(e,function(e,u){var n=!1,o="menu-"+h.id+"-"+u,r="menu-"+h.id+"-"+(u+1),t=h._l(e,function(l){var e={on:{}};if(l.__IS__FLAT__OPTIONS&&(n=!0),!l.disabled)if(e.on.keydown=function(e){var t=e.keyCode;if(!([37,38,39,40,13,9,27].indexOf(t)<0)){var i=e.target,n=h.$refs.menus[u],o=n.querySelectorAll("[tabindex='-1']"),r=Array.prototype.indexOf.call(o,i),s=void 0;if(-1<[38,40].indexOf(t))38===t?s=0!==r?r-1:r:40===t&&(s=r!==o.length-1?r+1:r),o[s].focus();else if(37===t){if(0!==u)h.$refs.menus[u-1].querySelector("[aria-expanded=true]").focus()}else if(39===t)l.children&&h.$refs.menus[u+1].querySelectorAll("[tabindex='-1']")[0].focus();else if(13===t){if(!l.children){var a=i.getAttribute("id");n.setAttribute("aria-activedescendant",a),h.select(l,u),h.$nextTick(function(){return h.scrollMenu(h.$refs.menus[u])})}}else 9!==t&&27!==t||h.$emit("closeInside")}},l.children){var t={click:"click",hover:"mouseenter"}[p],i=function(){h.visible&&(h.activeItem(l,u),h.$nextTick(function(){h.scrollMenu(h.$refs.menus[u]),h.scrollMenu(h.$refs.menus[u+1])}))};e.on[t]=i,"mouseenter"===t&&h.changeOnSelect&&(e.on.click=function(){-1!==h.activeValue.indexOf(l.value)&&h.$emit("closeInside",!0)}),e.on.mousedown=function(){h.clicking=!0},e.on.focus=function(){h.clicking?h.clicking=!1:i()}}else e.on.click=function(){h.select(l,u),h.$nextTick(function(){return h.scrollMenu(h.$refs.menus[u])})};return l.disabled||l.children||(f=o+"-"+m,m++),c("li",aa()([{class:{"el-cascader-menu__item":!0,"el-cascader-menu__item--extensible":l.children,"is-active":l.value===d[u],"is-disabled":l.disabled},ref:l.value===d[u]?"activeItem":null},e,{attrs:{tabindex:l.disabled?null:-1,role:"menuitem","aria-haspopup":!!l.children,"aria-expanded":l.value===d[u],id:f,"aria-owns":l.children?r:null}}]),[c("span",[l.label])])}),i={};n&&(i.minWidth=h.inputWidth+"px");var s="hover"===p&&d.length-1===u,a={on:{}};return s&&(a.on.mousemove=g,i.position="relative"),c("ul",aa()([{class:{"el-cascader-menu":!0,"el-cascader-menu--flexible":n}},a,{style:i,refInFor:!0,ref:"menus",attrs:{role:"menu",id:o}}]),[t,s?c("svg",{ref:"hoverZone",style:{position:"absolute",top:0,height:"100%",width:"100%",left:0,pointerEvents:"none"}}):null])});return"hover"===p&&this.$nextTick(function(){var e=h.$refs.activeItem;if(e){var t=e.parentElement,i=h.$refs.hoverZone;u={activeMenu:t,activeItem:e,hoverZone:i}}else u={}}),c("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":this.handleMenuEnter,"after-leave":this.handleMenuLeave}},[c("div",{directives:[{name:"show",value:t}],class:["el-cascader-menus el-popper",i],ref:"wrapper"},[c("div",{attrs:{"x-arrow":!0},class:"popper__arrow"}),n])])}},vl=Object(o.a)(gl,void 0,void 0,!1,null,null,null);vl.options.__file="menu.vue";var yl=vl.exports,bl={props:{placement:{type:String,default:"bottom-start"},appendToBody:h.a.props.appendToBody,arrowOffset:h.a.props.arrowOffset,offset:h.a.props.offset,boundariesPadding:h.a.props.boundariesPadding,popperOptions:h.a.props.popperOptions},methods:h.a.methods,data:h.a.data,beforeDestroy:h.a.beforeDestroy},Ml={name:"ElCascader",directives:{Clickoutside:$.a},mixins:[bl,a.a,u.a],inject:{elForm:{default:""},elFormItem:{default:""}},components:{ElInput:c.a},props:{options:{type:Array,required:!0},props:{type:Object,default:function(){return{children:"children",label:"label",value:"value",disabled:"disabled"}}},value:{type:Array,default:function(){return[]}},separator:{type:String,default:"/"},placeholder:{type:String,default:function(){return Object(P.b)("el.cascader.placeholder")}},disabled:Boolean,clearable:{type:Boolean,default:!1},changeOnSelect:Boolean,popperClass:String,expandTrigger:{type:String,default:"click"},filterable:Boolean,size:String,showAllLevels:{type:Boolean,default:!0},debounce:{type:Number,default:300},beforeFilter:{type:Function,default:function(){return function(){}}},hoverThreshold:{type:Number,default:500}},data:function(){return{currentValue:this.value||[],menu:null,debouncedInputChange:function(){},menuVisible:!1,inputHover:!1,inputValue:"",flatOptions:null,id:Object(M.e)(),needFocus:!0,isOnComposition:!1}},computed:{labelKey:function(){return this.props.label||"label"},valueKey:function(){return this.props.value||"value"},childrenKey:function(){return this.props.children||"children"},disabledKey:function(){return this.props.disabled||"disabled"},currentLabels:function(){var i=this,n=this.options,o=[];return this.currentValue.forEach(function(t){var e=n&&n.filter(function(e){return e[i.valueKey]===t})[0];e&&(o.push(e[i.labelKey]),n=e[i.childrenKey])}),o},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},cascaderSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},cascaderDisabled:function(){return this.disabled||(this.elForm||{}).disabled},readonly:function(){return!this.filterable||!Object(M.j)()&&!Object(M.i)()&&!this.menuVisible}},watch:{menuVisible:function(e){this.$refs.input.$refs.input.setAttribute("aria-expanded",e),e?this.showMenu():this.hideMenu(),this.$emit("visible-change",e)},value:function(e){this.currentValue=e},currentValue:function(e){this.dispatch("ElFormItem","el.form.change",[e])},options:{deep:!0,handler:function(e){this.menu||this.initMenu(),this.flatOptions=this.flattenOptions(this.options),this.menu.options=e}}},methods:{initMenu:function(){this.menu=new Y.a(yl).$mount(),this.menu.options=this.options,this.menu.props=this.props,this.menu.expandTrigger=this.expandTrigger,this.menu.changeOnSelect=this.changeOnSelect,this.menu.popperClass=this.popperClass,this.menu.hoverThreshold=this.hoverThreshold,this.popperElm=this.menu.$el,this.menu.$refs.menus[0].setAttribute("id","cascader-menu-"+this.id),this.menu.$on("pick",this.handlePick),this.menu.$on("activeItemChange",this.handleActiveItemChange),this.menu.$on("menuLeave",this.doDestroy),this.menu.$on("closeInside",this.handleClickoutside)},showMenu:function(){var t=this;this.menu||this.initMenu(),this.menu.value=this.currentValue.slice(0),this.menu.visible=!0,this.menu.options=this.options,this.$nextTick(function(e){t.updatePopper(),t.menu.inputWidth=t.$refs.input.$el.offsetWidth-2})},hideMenu:function(){this.inputValue="",this.menu.visible=!1,this.needFocus?this.$refs.input.focus():this.needFocus=!0},handleActiveItemChange:function(e){var t=this;this.$nextTick(function(e){t.updatePopper()}),this.$emit("active-item-change",e)},handleKeydown:function(e){var t=this,i=e.keyCode;13===i?this.handleClick():40===i?(this.menuVisible=!0,setTimeout(function(){t.popperElm.querySelectorAll(".el-cascader-menu")[0].querySelectorAll("[tabindex='-1']")[0].focus()}),e.stopPropagation(),e.preventDefault()):27!==i&&9!==i||(this.inputValue="",this.menu&&(this.menu.visible=!1))},handlePick:function(e){var t=!(1 0"}],staticClass:"el-transfer-panel__list",class:{"is-filterable":t.filterable},model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}},t._l(t.filteredData,function(e){return i("el-checkbox",{key:e[t.keyProp],staticClass:"el-transfer-panel__item",attrs:{label:e[t.keyProp],disabled:e[t.disabledProp]}},[i("option-content",{attrs:{option:e}})],1)}),1),i("p",{directives:[{name:"show",rawName:"v-show",value:t.hasNoMatch,expression:"hasNoMatch"}],staticClass:"el-transfer-panel__empty"},[t._v(t._s(t.t("el.transfer.noMatch")))]),i("p",{directives:[{name:"show",rawName:"v-show",value:0===t.data.length&&!t.hasNoMatch,expression:"data.length === 0 && !hasNoMatch"}],staticClass:"el-transfer-panel__empty"},[t._v(t._s(t.t("el.transfer.noData")))])],1),t.hasFooter?i("p",{staticClass:"el-transfer-panel__footer"},[t._t("default")],2):t._e()])},[],!1,null,null,null);tu.options.__file="transfer-panel.vue";var iu=tu.exports,nu={name:"ElTransfer",mixins:[a.a,u.a,Z.a],components:{TransferPanel:iu,ElButton:le.a},props:{data:{type:Array,default:function(){return[]}},titles:{type:Array,default:function(){return[]}},buttonTexts:{type:Array,default:function(){return[]}},filterPlaceholder:{type:String,default:""},filterMethod:Function,leftDefaultChecked:{type:Array,default:function(){return[]}},rightDefaultChecked:{type:Array,default:function(){return[]}},renderContent:Function,value:{type:Array,default:function(){return[]}},format:{type:Object,default:function(){return{}}},filterable:Boolean,props:{type:Object,default:function(){return{label:"label",key:"key",disabled:"disabled"}}},targetOrder:{type:String,default:"original"}},data:function(){return{leftChecked:[],rightChecked:[]}},computed:{dataObj:function(){var i=this.props.key;return this.data.reduce(function(e,t){return(e[t[i]]=t)&&e},{})},sourceData:function(){var t=this;return this.data.filter(function(e){return-1===t.value.indexOf(e[t.props.key])})},targetData:function(){var n=this;return"original"===this.targetOrder?this.data.filter(function(e){return-1 was loaded but did not call our provided callback"),JSONPScriptError:i("JSONPScriptError"," +
+ + + + + + + + + diff --git a/2.7/static/component.bd3411b.png b/2.7/static/component.bd3411b.png new file mode 100644 index 000000000..ebd183078 Binary files /dev/null and b/2.7/static/component.bd3411b.png differ diff --git a/2.7/static/element-icons.6f0a763.ttf b/2.7/static/element-icons.6f0a763.ttf new file mode 100644 index 000000000..73bc90f4a Binary files /dev/null and b/2.7/static/element-icons.6f0a763.ttf differ diff --git a/2.7/static/guide.0a8462c.png b/2.7/static/guide.0a8462c.png new file mode 100644 index 000000000..78748298c Binary files /dev/null and b/2.7/static/guide.0a8462c.png differ diff --git a/2.7/static/navbar_0.b608f86.png b/2.7/static/navbar_0.b608f86.png new file mode 100644 index 000000000..5fbe864fb Binary files /dev/null and b/2.7/static/navbar_0.b608f86.png differ diff --git a/2.7/static/navbar_1.499e088.png b/2.7/static/navbar_1.499e088.png new file mode 100644 index 000000000..3137e4848 Binary files /dev/null and b/2.7/static/navbar_1.499e088.png differ diff --git a/2.7/static/navbar_2.59ecae2.png b/2.7/static/navbar_2.59ecae2.png new file mode 100644 index 000000000..e225afa97 Binary files /dev/null and b/2.7/static/navbar_2.59ecae2.png differ diff --git a/2.7/static/navbar_3.8dcec92.png b/2.7/static/navbar_3.8dcec92.png new file mode 100644 index 000000000..42007eae0 Binary files /dev/null and b/2.7/static/navbar_3.8dcec92.png differ diff --git a/2.7/static/plant-1.a9e9851.png b/2.7/static/plant-1.a9e9851.png new file mode 100644 index 000000000..458563ae0 Binary files /dev/null and b/2.7/static/plant-1.a9e9851.png differ diff --git a/2.7/static/qrcode.a88f522.png b/2.7/static/qrcode.a88f522.png new file mode 100644 index 000000000..e921aec03 Binary files /dev/null and b/2.7/static/qrcode.a88f522.png differ diff --git a/2.7/static/resource.a72b8f8.png b/2.7/static/resource.a72b8f8.png new file mode 100644 index 000000000..99756867a Binary files /dev/null and b/2.7/static/resource.a72b8f8.png differ diff --git a/2.7/static/term-arial.c41b4cb.png b/2.7/static/term-arial.c41b4cb.png new file mode 100644 index 000000000..c5d221006 Binary files /dev/null and b/2.7/static/term-arial.c41b4cb.png differ diff --git a/2.7/static/term-helvetica.6f9038c.png b/2.7/static/term-helvetica.6f9038c.png new file mode 100644 index 000000000..f0e8af988 Binary files /dev/null and b/2.7/static/term-helvetica.6f9038c.png differ diff --git a/2.7/static/term-hiragino.6393e86.png b/2.7/static/term-hiragino.6393e86.png new file mode 100644 index 000000000..e04fa2307 Binary files /dev/null and b/2.7/static/term-hiragino.6393e86.png differ diff --git a/2.7/static/term-microsoft.6ceea75.png b/2.7/static/term-microsoft.6ceea75.png new file mode 100644 index 000000000..b1c03c04b Binary files /dev/null and b/2.7/static/term-microsoft.6ceea75.png differ diff --git a/2.7/static/term-pingfang.ff05548.png b/2.7/static/term-pingfang.ff05548.png new file mode 100644 index 000000000..f56b7c171 Binary files /dev/null and b/2.7/static/term-pingfang.ff05548.png differ diff --git a/2.7/static/term-sf.6079743.png b/2.7/static/term-sf.6079743.png new file mode 100644 index 000000000..65a53a765 Binary files /dev/null and b/2.7/static/term-sf.6079743.png differ diff --git a/2.7/static/theme-no-config.0f0c071.png b/2.7/static/theme-no-config.0f0c071.png new file mode 100644 index 000000000..d301bcbb0 Binary files /dev/null and b/2.7/static/theme-no-config.0f0c071.png differ diff --git a/2.7/static/web.61b1f33.png b/2.7/static/web.61b1f33.png new file mode 100644 index 000000000..8f85521d5 Binary files /dev/null and b/2.7/static/web.61b1f33.png differ diff --git a/2.7/versions.json b/2.7/versions.json new file mode 100644 index 000000000..dd8cee826 --- /dev/null +++ b/2.7/versions.json @@ -0,0 +1 @@ +{"1.4.13":"1.4","2.0.11":"2.0","2.1.0":"2.1","2.2.2":"2.2","2.3.9":"2.3","2.4.11":"2.4","2.5.4":"2.5","2.6.3":"2.6","2.7.0":"2.7"} \ No newline at end of file diff --git a/2.7/zh-CN.386d142.js b/2.7/zh-CN.386d142.js new file mode 100644 index 000000000..dda3b3a64 --- /dev/null +++ b/2.7/zh-CN.386d142.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{207:function(e,t,n){var a={"./changelog.vue":306,"./component.vue":500,"./design.vue":523,"./guide.vue":496,"./index.vue":494,"./nav.vue":493,"./resource.vue":512};function l(e){var t=r(e);return n(t)}function r(e){var t=a[e];if(t+1)return t;var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}l.keys=function(){return Object.keys(a)},l.resolve=r,(e.exports=l).id=207},211:function(e,t,n){var a={"./zh-CN/alert.md":457,"./zh-CN/badge.md":456,"./zh-CN/border.md":454,"./zh-CN/breadcrumb.md":453,"./zh-CN/button.md":451,"./zh-CN/card.md":450,"./zh-CN/carousel.md":448,"./zh-CN/cascader.md":447,"./zh-CN/checkbox.md":445,"./zh-CN/collapse.md":444,"./zh-CN/color-picker.md":442,"./zh-CN/color.md":441,"./zh-CN/container.md":439,"./zh-CN/custom-theme.md":520,"./zh-CN/date-picker.md":436,"./zh-CN/datetime-picker.md":435,"./zh-CN/dialog.md":433,"./zh-CN/dropdown.md":432,"./zh-CN/form.md":429,"./zh-CN/i18n.md":521,"./zh-CN/icon.md":426,"./zh-CN/input-number.md":425,"./zh-CN/input.md":424,"./zh-CN/installation.md":524,"./zh-CN/layout.md":420,"./zh-CN/loading.md":419,"./zh-CN/menu.md":415,"./zh-CN/message-box.md":414,"./zh-CN/message.md":410,"./zh-CN/notification.md":409,"./zh-CN/pagination.md":406,"./zh-CN/popover.md":405,"./zh-CN/progress.md":404,"./zh-CN/quickstart.md":528,"./zh-CN/radio.md":401,"./zh-CN/rate.md":399,"./zh-CN/select.md":398,"./zh-CN/slider.md":396,"./zh-CN/steps.md":479,"./zh-CN/switch.md":394,"./zh-CN/table.md":393,"./zh-CN/tabs.md":390,"./zh-CN/tag.md":389,"./zh-CN/time-picker.md":387,"./zh-CN/timeline.md":385,"./zh-CN/tooltip.md":384,"./zh-CN/transfer.md":383,"./zh-CN/transition.md":380,"./zh-CN/tree.md":379,"./zh-CN/typography.md":377,"./zh-CN/upload.md":376};function l(e){var t=r(e);return n(t)}function r(e){var t=a[e];if(t+1)return t;var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}l.keys=function(){return Object.keys(a)},l.resolve=r,(e.exports=l).id=211},247:function(e,t,n){},248:function(e,t,n){},249:function(e,t,n){},250:function(e,t,n){},251:function(e,t,n){},252:function(e,t,n){},253:function(e,t,n){},275:function(e,t,n){"use strict";var a=n(247);n.n(a).a},276:function(e,t,n){"use strict";var a=n(248);n.n(a).a},277:function(e,t,n){"use strict";var a=n(249);n.n(a).a},278:function(e,t,n){"use strict";var a=n(250);n.n(a).a},279:function(e,t,n){"use strict";var a=n(251);n.n(a).a},280:function(e,t,n){"use strict";var a=n(252);n.n(a).a},281:function(e,t,n){"use strict";var a=n(253);n.n(a).a},306:function(e,t,n){"use strict";n.r(t);var a=n(0),l=Object(a.a)({},function(){this.$createElement;this._self._c;return this._m(0)},[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"content element-doc"},[n("h2",{attrs:{id:"geng-xin-ri-zhi"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#geng-xin-ri-zhi","aria-hidden":"true"}},[e._v("¶")]),e._v(" 更新日志")]),n("h3",{attrs:{id:"2-7-0"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-7-0","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.7.0")]),n("p",[n("em",[e._v("2019-03-28")])]),n("h4",{attrs:{id:"xin-te-xing"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xin-te-xing","aria-hidden":"true"}},[e._v("¶")]),e._v(" 新特性")]),n("ul",[n("li",[e._v("Table\n"),n("ul",[n("li",[e._v("增加对树形结构数据的支持 (#14632 by @ziyoung)")])])])]),n("h4",{attrs:{id:"xiu-fu"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xiu-fu","aria-hidden":"true"}},[e._v("¶")]),e._v(" 修复")]),n("ul",[n("li",[e._v("Tabs\n"),n("ul",[n("li",[e._v("阴影样式使用全局主颜色 (#14558 by @Richard-Choooou)")]),n("li",[e._v("当 label 改变时触发更新 (#14496 by @akki-jat)")])])]),n("li",[e._v("Table\n"),n("ul",[n("li",[e._v("Table footer 与 body 的对齐一致 (#14730 by @ziyoung)")])])]),n("li",[e._v("NavMenu\n"),n("ul",[n("li",[e._v("修复点击 el-submenu 多次触发 childMenu 问题 (#14443 by @PanJiaChen)")])])]),n("li",[e._v("Dropdown\n"),n("ul",[n("li",[e._v("兼容 Vue 2.6 新 v-slot 语法 (#14832 by @ziyoung)")])])]),n("li",[e._v("ColorPicker\n"),n("ul",[n("li",[e._v("修复十六进制颜色字符串解析问题 (#14793 by @iamkun)")])])]),n("li",[e._v("Tree\n"),n("ul",[n("li",[e._v("恢复 pr #13349 (#14847 by @ziyoung)")])])]),n("li",[e._v("Tooltip\n"),n("ul",[n("li",[e._v("当初始值为 true 时默认显示 (#14826 by @ziyoung)")])])]),n("li",[e._v("Docs\n"),n("ul",[n("li",[e._v("更新 Cascader 文档 (#14442 by @panhezeng)")])])]),n("li",[e._v("Style\n"),n("ul",[n("li",[e._v("修复媒体查询 sm-only, md-only, lg-only 问题 (#14611 by @sinchang)")])])])]),n("h4",{attrs:{id:"you-hua"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#you-hua","aria-hidden":"true"}},[e._v("¶")]),e._v(" 优化")]),n("ul",[n("li",[e._v("Chore\n"),n("ul",[n("li",[e._v("增加网页描述信息 (#14802 by @iamkun)")])])])]),n("h3",{attrs:{id:"2-6-3"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-6-3","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.6.3")]),n("p",[n("em",[e._v("2019-03-21")])]),n("h4",{attrs:{id:"xiu-fu-2"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xiu-fu-2","aria-hidden":"true"}},[e._v("¶")]),e._v(" 修复")]),n("ul",[n("li",[e._v("修复 Cascader 文档页的样式 (#14789 by @ziyoung)")]),n("li",[e._v("移除 Cascader 中多余的 DOM 操作 (#14788 by @ziyoung)")]),n("li",[e._v("DateRange 支持夏令时 (#14562 by @wacky6)")])]),n("h3",{attrs:{id:"2-6-2"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-6-2","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.6.2")]),n("p",[n("em",[e._v("2019-03-21")])]),n("h4",{attrs:{id:"xin-te-xing-2"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xin-te-xing-2","aria-hidden":"true"}},[e._v("¶")]),e._v(" 新特性")]),n("ul",[n("li",[e._v("DatePicker\n"),n("ul",[n("li",[e._v("支持 monthrange 类型 (#14487 by @zxyRealm)")])])]),n("li",[e._v("i18n\n"),n("ul",[n("li",[e._v("添加 Croatian 语言包 (#14360 by @danijelh)")])])]),n("li",[e._v("Docs\n"),n("ul",[n("li",[e._v("更新 2.6.1 法语文档,修复笔误 (#14555 by @smalesys)")]),n("li",[e._v("更新法语翻译 (#14643 by @smalesys)")])])])]),n("h4",{attrs:{id:"xiu-fu-3"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xiu-fu-3","aria-hidden":"true"}},[e._v("¶")]),e._v(" 修复")]),n("ul",[n("li",[e._v("Input\n"),n("ul",[n("li",[e._v("Fix regression (#14572 by @wacky6)")])])]),n("li",[e._v("DatePicker\n"),n("ul",[n("li",[e._v("修复 first-day-of-week 的计算 (#14523 by @sinchang)")]),n("li",[e._v("修复 WeekPicker value-format 的问题 (#13754 by @wacky6)")])])]),n("li",[e._v("Steps\n"),n("ul",[n("li",[e._v("修复 #14502 (#14596 by @sinchang)")]),n("li",[e._v("修复简单模式下的样式 (#14610 by @sinchang)")])])]),n("li",[e._v("Docs\n"),n("ul",[n("li",[e._v("重命名 Table 文档中的变量 (#14587 by @likwotsing)")]),n("li",[e._v("添加法语文档索引 (#14565 by @iamkun)")]),n("li",[e._v("修复 TimePicker 文档页的样式 (#14579 by @ziyoung)")]),n("li",[e._v("重命名 Upload 文档中的变量 (#14593 by @liupl)")]),n("li",[e._v("在 Form 文档中 添加的 async-validator 文档 (#14694 by @iamkun)")]),n("li",[e._v("修复 Tooltip 文档的 bug (#14748 by @iamkun)")]),n("li",[e._v("修复笔误 (#14751 by @2bj)")]),n("li",[e._v("修复 Switch 在移动端 Webkit 浏览器的高亮问题 (#14703 by @VladG0r)")])])])]),n("h4",{attrs:{id:"you-hua-2"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#you-hua-2","aria-hidden":"true"}},[e._v("¶")]),e._v(" 优化")]),n("ul",[n("li",[e._v("Chore:\n"),n("ul",[n("li",[e._v("更新 ci 构建脚本 (#14600 by @ziyoung)")]),n("li",[e._v("更新谷歌统计 (#14560 by @iamkun)")]),n("li",[e._v("添加更多谷歌统计事件 (#14633 by @iamkun)")]),n("li",[e._v("更新聊天组信息 (#14741 by @iamkun)")]),n("li",[e._v("升级测试依赖 (#14735 by @wacky6)")]),n("li",[e._v("升级 gulp (#14745 by @ziyoung)")]),n("li",[e._v("使用 codepen 显示 demo,修复文档中的错误 (#14747 by @ziyoung)")])])])]),n("h3",{attrs:{id:"2-6-1"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-6-1","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.6.1")]),n("p",[n("em",[e._v("2019-03-03")])]),n("h4",{attrs:{id:"xiu-fu-4"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xiu-fu-4","aria-hidden":"true"}},[e._v("¶")]),e._v(" 修复")]),n("ul",[n("li",[n("strong",[e._v("不再指定 node 版本")]),e._v(" (by @iamkun in #14546)")]),n("li",[e._v("调整 "),n("code",[e._v("deloy-faas.sh")]),e._v(" 中的文档目录 (by @ziyoung in #14553)")]),n("li",[e._v("调整 2.6.0 中 changelog 日期样式 (by @island205 in #14547)")]),n("li",[e._v("修复拼写错误 (by @wack6 in #14552)")])]),n("h3",{attrs:{id:"2-6-0"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-6-0","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.6.0")]),n("p",[n("em",[e._v("2019-03-01")])]),n("h4",{attrs:{id:"xin-te-xing-3"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xin-te-xing-3","aria-hidden":"true"}},[e._v("¶")]),e._v(" 新特性")]),n("ul",[n("li",[e._v("Timeline\n"),n("ul",[n("li",[e._v("添加 Timeline 组件 (by @jikkai in #14248)")])])]),n("li",[e._v("DropdownItem\n"),n("ul",[n("li",[n("code",[e._v("el-dropdown-item")]),e._v(" 支持添加 icon (by @gabrielboliveira in #14088)")])])]),n("li",[e._v("Input\n"),n("ul",[n("li",[e._v("添加 "),n("code",[e._v("show-password")]),e._v(" 属性,支持配置显示密码按钮 (by @phshy0607 in #13966)")])])]),n("li",[e._v("Select\n"),n("ul",[n("li",[e._v("添加 slot "),n("code",[e._v("empty")]),e._v(" (by @elfman in #13785)")])])]),n("li",[e._v("Autocomplete\n"),n("ul",[n("li",[e._v("添加 "),n("code",[e._v("highlight-first-item")]),e._v(" 属性,控制是否默认突出显示远程搜索建议中的第一项 (by @YamenSharaf in #14269)")])])]),n("li",[e._v("I18n\n"),n("ul",[n("li",[e._v("添加亚美尼亚语支持 (by @hamletbarsamyan in #14214)")])])]),n("li",[e._v("Docs\n"),n("ul",[n("li",[e._v("新增法语文档 (by @smalesys in #12153, #14418, #14434)")])])])]),n("h4",{attrs:{id:"you-hua-3"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#you-hua-3","aria-hidden":"true"}},[e._v("¶")]),e._v(" 优化")]),n("ul",[n("li",[e._v("Alert\n"),n("ul",[n("li",[e._v("组件对通过 slot 传入的 description 也应用默认样式类 (by @iamkun in #14488)")])])]),n("li",[e._v("InputNumber\n-移除多余的 "),n("code",[e._v("parseFloat")]),e._v(" (by @JuniorTour in #14172)")]),n("li",[e._v("Menu\n"),n("ul",[n("li",[e._v("支持 "),n("code",[e._v("el-menu-item")]),e._v(" 不添加 index (by @georgyfarniev in #13298)")])])]),n("li",[e._v("Table\n"),n("ul",[n("li",[e._v("移除无用的 DOM 操作 (by @elfman in #13643)")])])]),n("li",[e._v("Upload\n"),n("ul",[n("li",[e._v("代码优化 (by @elfman in #13973)")])])]),n("li",[e._v("Popup\n"),n("ul",[n("li",[e._v("移除无用代码 (by @KAionro in #14413)")])])]),n("li",[e._v("Docs\n"),n("ul",[n("li",[e._v("添加更多文档说明如何贡献代码 (by @island205 in #14355)")]),n("li",[e._v("添加 "),n("code",[e._v("el-input")]),e._v(" 是受控组件的警示 (by @wacky6 in #14463)")]),n("li",[e._v("优化 Table 的文档 (by @luguokong in #14329)")]),n("li",[e._v("更新 Input 文档 (by @iamkun in #14437)")]),n("li",[e._v("优化自定义主题文档 (by @wangguohao in #14297)")]),n("li",[e._v("为 Icon 文档添加 hover 效果 (by @tuxinghuan in #14295)")])])]),n("li",[e._v("Build\n"),n("ul",[n("li",[e._v("压缩 Element 文档站的 JS 和 CSS 文件 (by @iamkun in #14430)")]),n("li",[e._v("优化 Webpack 打包速度,从6分钟优化到1分多 (by @hetech in #14484)")]),n("li",[e._v("添加 CLI 工具,选择版本号 (by @hetech in #14354)")])])]),n("li",[e._v("使用 Stale 来管理过时(暂定1年)的 Issue 和 PR (by @island205 in #14392)")])]),n("h4",{attrs:{id:"wen-ti-xiu-fu"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#wen-ti-xiu-fu","aria-hidden":"true"}},[e._v("¶")]),e._v(" 问题修复")]),n("ul",[n("li",[e._v("Menu\n"),n("ul",[n("li",[e._v("修复浏览器标签切换引起的 focus 问题 (by @liupl in #13976)")])])]),n("li",[e._v("MessageBox\n"),n("ul",[n("li",[e._v("修复 TS 定义 (by @NateScarlet in #14278)")])])]),n("li",[e._v("ScrollBar\n"),n("ul",[n("li",[e._v("修复点击鼠标右键导致拖动的问题 (by @xifeiwu in #14196)")])])]),n("li",[e._v("Switch\n"),n("ul",[n("li",[e._v("添加 "),n("code",[e._v("validate-event")]),e._v(" 属性,设置改变 Switch 状态时是否触发表单的校验 (by @hetech in #14426)")])])]),n("li",[e._v("Table\n"),n("ul",[n("li",[e._v("修复多 Table 实例共享 "),n("code",[e._v("toggleAllSelection")]),e._v(" 方法,造成无法切换问题 (by @letanure in #14075)")])])]),n("li",[e._v("Tabs & Dropdown\n"),n("ul",[n("li",[e._v("修复样式问题 (by @hetech in #14452)")])])]),n("li",[e._v("Tree\n"),n("ul",[n("li",[e._v("与 Table 统一占位文样式 (by @ColinCll in #14331)")])])]),n("li",[e._v("Docs\n"),n("ul",[n("li",[e._v("修复 DatetimePicker 文档问题 (by @iamkun in #14290)")]),n("li",[e._v("修复 DatePicker 文档拼写问题 (by @helmut in #14481)")]),n("li",[e._v("修复分页组件文档样式问题 (by @liuchuzhang in #14451)")])])])]),n("h3",{attrs:{id:"2-5-4"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-5-4","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.5.4")]),n("p",[n("em",[e._v("2019-02-01")])]),n("h4",{attrs:{id:"xiu-fu-5"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xiu-fu-5","aria-hidden":"true"}},[e._v("¶")]),e._v(" 修复")]),n("ul",[n("li",[e._v("构建: 修复 "),n("code",[e._v(".babelrc")]),e._v(" 配置问题——导致 Tree 等组件没有动画 (by @island205 in #14282)")])]),n("h3",{attrs:{id:"2-5-3"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-5-3","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.5.3")]),n("p",[n("em",[e._v("2019-01-31")])]),n("h4",{attrs:{id:"you-hua-4"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#you-hua-4","aria-hidden":"true"}},[e._v("¶")]),e._v(" 优化")]),n("ul",[n("li",[e._v("优化 Message 的代码 (by @vok123 in #14029)")]),n("li",[e._v("移除 gh-pages (by @ziyoung in #14266)")]),n("li",[e._v("添加 IssueHunt 的链接 (by @island205 in #14261)")])]),n("h4",{attrs:{id:"xiu-fu-6"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xiu-fu-6","aria-hidden":"true"}},[e._v("¶")]),e._v(" 修复")]),n("ul",[n("li",[e._v("修复 UMD 包在服务器端运行出错的问题 (by @island205 in #14242)")]),n("li",[e._v("修复 Tabbar 高亮时的样式 (by @iamkun in #14240)")]),n("li",[e._v("修复 Table 示例代码的错误 (by @xunmeng in #14253)")])]),n("h3",{attrs:{id:"2-5-2"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-5-2","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.5.2")]),n("p",[n("em",[e._v("2019-01-27")])]),n("h4",{attrs:{id:"you-hua-5"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#you-hua-5","aria-hidden":"true"}},[e._v("¶")]),e._v(" 优化")]),n("ul",[n("li",[e._v("文档:\n"),n("ul",[n("li",[e._v("2.5.1 版本西班牙语文档更新 (by @Gonzalo2310 in #14231)")])])])]),n("h4",{attrs:{id:"xiu-fu-7"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xiu-fu-7","aria-hidden":"true"}},[e._v("¶")]),e._v(" 修复")]),n("ul",[n("li",[e._v("构建:\n"),n("ul",[n("li",[e._v("删除 umd 模块 "),n("code",[e._v("lib/index.js")]),e._v(" 中本没有的注释 (by @island205 in #14233)")]),n("li",[e._v("修复 nuxt.js 中关于 "),n("code",[e._v("export")]),e._v(" 关键字的报错 (by @island205 in #14232)")]),n("li",[e._v("修复发布 2.5.1 过程中的错误 (by @iamkun in #14228)")])])])]),n("h3",{attrs:{id:"2-5-1"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-5-1","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.5.1")]),n("p",[n("em",[e._v("2019-01-26")])]),n("h4",{attrs:{id:"you-hua-6"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#you-hua-6","aria-hidden":"true"}},[e._v("¶")]),e._v(" 优化")]),n("ul",[n("li",[e._v("DatePicker:添加月、年高亮的样式(by @Debiancc in #14211)")]),n("li",[e._v("更新 2.5.0 changelog (by @wacky6 in #14217)")])]),n("h4",{attrs:{id:"xiu-fu-8"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xiu-fu-8","aria-hidden":"true"}},[e._v("¶")]),e._v(" 修复")]),n("ul",[n("li",[e._v("修复升级 Webpack 4 产生的问题,无法具名 "),n("code",[e._v("import")]),e._v(" 组件,"),n("code",[e._v("ELEMENT.locale()")]),e._v(" 调用报错。(by @island205 in #14220)")]),n("li",[e._v("恢复 2.4.11 文档 (by @iamkun in #14222)")])]),n("h3",{attrs:{id:"2-5-0"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-5-0","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.5.0")]),n("p",[n("em",[e._v("2019-01-25")])]),n("h4",{attrs:{id:"xin-te-xing-4"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xin-te-xing-4","aria-hidden":"true"}},[e._v("¶")]),e._v(" 新特性")]),n("ul",[n("li",[e._v("DatePicker\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("validate-event")]),e._v(" 属性 (by @ziyoung in #13531)")])])]),n("li",[e._v("DateTimePicker\n"),n("ul",[n("li",[n("code",[e._v("pickerOptions")]),e._v(" 支持 "),n("code",[e._v("selectableRange")]),e._v(" 选项 (by @eeeeeeeason)")])])]),n("li",[e._v("Tag\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("click")]),e._v(" 事件 (by @licdream in #14106)")])])]),n("li",[e._v("I18n\n"),n("ul",[n("li",[e._v("新增 柯尔克孜语 (Kyrgyz) (by @zzjframework in #14174)")])])])]),n("h4",{attrs:{id:"you-hua-7"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#you-hua-7","aria-hidden":"true"}},[e._v("¶")]),e._v(" 优化")]),n("ul",[n("li",[e._v("升级到 webpack@4 (by @jikkai in #14173)")]),n("li",[e._v("Input\n"),n("ul",[n("li",[e._v("简化内部实现,遵循单向数据流;修复若干相关 Bug (by @wacky6 in #13471)")])])]),n("li",[e._v("更新 Axure 文件,增加新组件 (by @ziyoung in #13773)")])]),n("h4",{attrs:{id:"xiu-fu-9"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xiu-fu-9","aria-hidden":"true"}},[e._v("¶")]),e._v(" 修复")]),n("ul",[n("li",[e._v("Autocomplete\n"),n("ul",[n("li",[e._v("修正下拉框最后一行显示不完整的问题 (by @ziyoung in #13597)")]),n("li",[e._v("修正下拉框箭头 (by @liuchuzhang in #13762)")])])]),n("li",[e._v("Carousel\n"),n("ul",[n("li",[e._v("组件销毁时释放内部 Timer (by @elfman in #13820)")])])]),n("li",[e._v("Cascader\n"),n("ul",[n("li",[e._v("移除已废弃的计算属性的 cache 属性 (by @iamkun in #13737)")]),n("li",[e._v("修正 TypeScript 中 CascaderOption 类型定义 (by @NateScarlet in #13613)")]),n("li",[e._v("修正图标覆盖文字的问题 (by @ziyoung in #13596)")])])]),n("li",[e._v("Checkbox\n"),n("ul",[n("li",[e._v("改进显示样式 (by @PanJiaChen)")])])]),n("li",[e._v("DatePicker\n"),n("ul",[n("li",[e._v("修正 TimeSpinner 中缺失的 v-for "),n("code",[e._v("key")]),e._v(" 属性 (by @Ende93 in #13547)")]),n("li",[e._v("修正周选择器在跨年时的高亮行为 (by @suyi91 in #13883)")])])]),n("li",[e._v("Input\n"),n("ul",[n("li",[e._v("修复 textarea 时的 DOM 节点引用 (by @laomu1988 @island205 in #13803)")])])]),n("li",[e._v("Pagination\n"),n("ul",[n("li",[e._v("输入框的值不会小于 1 (by @elfman in #13727)")])])]),n("li",[e._v("Popover\n"),n("ul",[n("li",[e._v("修正 hover 的触发行为 (by @goldengecko in #13104)")]),n("li",[e._v("修正弹出框的内存泄漏 (by @qpxtWhite in #13988)")])])]),n("li",[e._v("Radio\n"),n("ul",[n("li",[e._v("改进显示样式 (by @ohhoney1)")])])]),n("li",[e._v("Table\n"),n("ul",[n("li",[e._v("改进点击排序箭头时的行为 (by @ohhoney1 in #12890)")]),n("li",[e._v("修正 IE10+ 中 “暂无数据” 提示的垂直布局 (by @imzjy in #13638)")]),n("li",[e._v("修正文档中 "),n("code",[e._v("index")]),e._v(" 的类型说明 (by @ilovefafa in #13628)")]),n("li",[e._v("修正多级表头使用 "),n("code",[e._v("fixed")]),e._v(" 属性时,表尾合计行的显示样式 (by @luckyCao in #13914)")])])]),n("li",[e._v("Tabs\n"),n("ul",[n("li",[e._v("修正自动滚动 (by @iamkun in #13696)")]),n("li",[e._v("通过面板名称查找面板 (by @iamkun in #13705)")]),n("li",[e._v("使用 "),n("code",[e._v("paneName")]),e._v(" 计算面板样式 (by @iamkun in #13733)")])])]),n("li",[e._v("Tree\n"),n("ul",[n("li",[e._v("修正 "),n("code",[e._v("showCheckbox")]),e._v(" 不能影响子节点的问题 (by @KidneyFlower)")]),n("li",[e._v("更新文档和 TypeScript 定义 (by @ziyoung in #13540)")])])]),n("li",[e._v("Upload\n"),n("ul",[n("li",[n("code",[e._v("list-type")]),e._v(" 改变时,保留 "),n("code",[e._v("url")]),e._v(" 属性 (by @elfman in #13771)")])])]),n("li",[e._v("Slider\n"),n("ul",[n("li",[e._v("修正源代码缩进 (by @wacky6 in #13955)")])])]),n("li",[e._v("I18n\n"),n("ul",[n("li",[e._v("补充加泰罗尼亚语 (Catalan) 翻译 (by @jaumesala)")]),n("li",[e._v("补充俄语 (Russian) 翻译 (by @justlp in #13658)")]),n("li",[e._v("补充芬兰语 (Finnish) 翻译 (by @jenkrisu in #14137)")])])]),n("li",[e._v("Doc\n"),n("ul",[n("li",[e._v("更新西班牙语文档至 2.4.11 (by @Gonzalo2310 in #13522)")])])]),n("li",[e._v("其它\n"),n("ul",[n("li",[e._v("移除多余的构建脚本 (by @ziyoung)")]),n("li",[e._v("修正文档超链接 (by @iamkun in #13753)")]),n("li",[e._v("修正文档中不一致的大小写 (by @wonderjar)")]),n("li",[e._v("增加钉钉群的二维码 (by @iamkun in #13957)")]),n("li",[e._v(".gitignore 增加 yarn 日志文件 (by @mimimi in #13922)")]),n("li",[e._v("移除赞助商 多态 (by @island205 in #14156)")]),n("li",[e._v("Update readme qr code src (by @iamkun in #13960)")]),n("li",[e._v("更新 CDN 链接,修正错别字 (by @ziyoung)")])])])]),n("h3",{attrs:{id:"2-4-11"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-4-11","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.4.11")]),n("p",[n("em",[e._v("2018-11-21")])]),n("ul",[n("li",[e._v("撤销 pr #13296,修复点击 Menu 外部导致 Submenu 收起的问题,#13478")]),n("li",[e._v("调整小屏幕(xs)媒体查询断点,#13468 (by @alekoshen712)")])]),n("h3",{attrs:{id:"2-4-10"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-4-10","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.4.10")]),n("p",[n("em",[e._v("2018-11-16")])]),n("ul",[n("li",[e._v("修复多次点击 Select 才显示下拉列表的问题,#13268")]),n("li",[e._v("Form 禁用时不显示 Input 的 clear 图标,#13208")]),n("li",[e._v("调整 Select,Progress,Autocomplete,Tooltip,Collaspe,TimePicker 的样式,#13188 (by @porcelainHeart) #13210 #13266 #13257 #13290 #13347 (by @PanJiaChen)")]),n("li",[e._v("Carousel 组件新增 "),n("code",[e._v("loop")]),e._v(" 属性,#13217")]),n("li",[e._v("Table 的 data 改变时,高亮行会继续保留,#13200")]),n("li",[e._v("Table 的 header slot 可以接收参数,#13263")]),n("li",[e._v("Table 的 "),n("code",[e._v("clearFilter")]),e._v(" 方法支持参数,#13176")]),n("li",[e._v("Table 单元格内没有内容时不再创建 Tooltip,#13152 (by @rongxingsun)")]),n("li",[e._v("ColorPicker 面板的输入框内容可以正常显示了,#13278")]),n("li",[e._v("在拖拽时,ColorPicker 不再触发表单校验,#13299")]),n("li",[e._v("InputNumber 新增 "),n("code",[e._v("select")]),e._v(" 方法,#13286 (by @st-sloth)")]),n("li",[e._v("Autocomplete 新增 "),n("code",[e._v("clear")]),e._v(" 事件,#12171(by arthurdenner) #13326")]),n("li",[e._v("可以通过点击 Menu 外部来关闭 Menu,#13296")]),n("li",[e._v("Form 的 "),n("code",[e._v("validateField")]),e._v(" 方法可以接收参数,#13319")]),n("li",[e._v("Cascader 新增 "),n("code",[e._v("visible-change")]),e._v(" 事件,#13415")]),n("li",[e._v("DatePicker 新增 range-separator slot, #13272 (by @milworm)")]),n("li",[e._v("Tree 新增 "),n("code",[e._v("iconClass")]),e._v(" 与 "),n("code",[e._v("currentNodeKey")]),e._v(" 属性,#13337 #13197 (by @isnifer)")]),n("li",[e._v("Progress 的 "),n("code",[e._v("status")]),e._v(" 添加了 text #13198 (by @ali-master)")]),n("li",[e._v("修复 Tree 的 "),n("code",[e._v("defaultCheckedKeys")]),e._v(" 导致显示的错误,#13349 (by @dive2Pro)")])]),n("h3",{attrs:{id:"2-4-9"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-4-9","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.4.9")]),n("p",[n("em",[e._v("2018-10-26")])]),n("ul",[n("li",[e._v("Form 组件 clearValidate 方法参数支持字符串,#12990 (by @codinglobster)")]),n("li",[e._v("Badge 新增 type 属性,#12991")]),n("li",[e._v("用户可以使用 scoped-slot 来自定义表头,#13012(by @ivanseidel)")]),n("li",[e._v("修复 IE 下 Select 输入框不能输入的问题,#13034(by @GaliMU)")]),n("li",[e._v("Select 多选时,选项不换行,#12329 (by @akki-jat)")]),n("li",[e._v("Select 下拉列表展开后,箭头图标也可以正确显示,#12353(by @firesh)")]),n("li",[e._v("修复 Select 的 size 属性不生效的问题,#13070")]),n("li",[e._v("多选时可以清除 Select 已选中的值,#13049(by @ZSkycat)")]),n("li",[e._v("修复最后一个 TabNav 不能删除的问题,#13039")]),n("li",[e._v("修复 TabNav 中 label 显示不正确的问题,#13178")]),n("li",[e._v("Alert 新增 title slot,#13082(by @Kingwl)")]),n("li",[e._v("修复 Table 中的 tooltip 内容不正确的问题,#13159(by @elfman)")]),n("li",[e._v("优化 Upload 文件列表删除时的动画,#12987")]),n("li",[e._v("当 InputNumber 控制按钮不显示时,调整了边距,#13052")])]),n("h3",{attrs:{id:"2-4-8"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-4-8","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.4.8")]),n("ul",[n("li",[e._v("Switch 聚焦时不显示轮廓,#12771")]),n("li",[e._v("修复 Dropdown 在 ButtonGroup 中样式问题,#12819 (by @bluejfox)")]),n("li",[e._v("Dialog 新增 opened 事件,#12828")]),n("li",[e._v("修复 TabNav 显示顺序不正确的问题,#12846")]),n("li",[e._v("修复 Tabs 没有滑动到选中 tab 的问题,#12948")]),n("li",[e._v("修复 Tree 节点在拖拽时标识符不显示的问题,#12854")]),n("li",[e._v("Form 的 validate 事件参数中包含了校验的信息,#12860 (by @YamenSharaf)")]),n("li",[e._v("修复 DatePicker 没有校验用户输入时间的合法性问题,#12898")]),n("li",[e._v("修复 Table 表头的 "),n("code",[e._v("render-header")]),e._v("属性不生效的问题,#12914")])]),n("h3",{attrs:{id:"2-4-7"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-4-7","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.4.7")]),n("p",[n("em",[e._v("2018-09-14")])]),n("ul",[n("li",[e._v("修复 DatePicker 未触发表单检验的问题,#12328,#12348")]),n("li",[e._v("修复 DatePicker 多选时报错的问题,#12347")]),n("li",[e._v("修复 DatePicker 选择时间时 spinner 位置不正确的问题,#12415 (by @rang-ali)")]),n("li",[e._v("修复 Datepicker 输入框自动填充的问题,#12521 (by @abdallanayer)")]),n("li",[e._v("修复 Cascader 中 Input 未高亮的问题,#12341")]),n("li",[e._v("修复 Tabpane 顺序不正确的问题,#12346")]),n("li",[e._v("修复 ColorPicker 取色光标位置不正确的问题,#12376 (by @cnwhy)")]),n("li",[e._v("调整 Submenu 的样式,#12457")]),n("li",[e._v("修复 Submenu 选中后没有高亮的问题,#12479")]),n("li",[e._v("修复 Cascader 选择值不正确的问题,#12508 (by @huangjinqiang)")]),n("li",[e._v("修复 Pagination 输入框值不正确的问题,#12525")]),n("li",[e._v("调整 Pagination 触发事件的顺序,#12530")]),n("li",[e._v("修复 Table 的 filter 不显示的问题,#12539")]),n("li",[e._v("修复 Tree 无法删除节点的问题,#12684")]),n("li",[e._v("修复 Select 在单选时 Input 高度变化的问题,#12719")]),n("li",[e._v("修复 Form 在嵌套时 label 显示不正确的问题,#12748")]),n("li",[e._v("新增 Input 的 autocomplete 属性,废弃 auto-complete 属性,#12514 (by @axetroy)")]),n("li",[e._v("新增 Form 的 slot-scope 展示表单校验信息,#12715 (by @YamenSharaf)")])]),n("h3",{attrs:{id:"2-4-6"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-4-6","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.4.6")]),n("p",[n("em",[e._v("2018-08-09")])]),n("ul",[n("li",[e._v("修复 Table 的 filter 初始值为空数组时不显示筛选图标的问题,#12165")]),n("li",[e._v("修复 Menu 在更改 "),n("code",[e._v("collapse")]),e._v(" 时不保存菜单激活状态的问题,#12178 (by @elfman)")]),n("li",[e._v("修复 Cascader 未转义特殊字符的问题,#12248")]),n("li",[e._v("修复禁用的 RadioButton 在点击时显示 box-shadow 的问题,#12262")]),n("li",[e._v("修复 Select 初始值为 "),n("code",[e._v("undefined")]),e._v(" 时方向键失效的问题,#12322")]),n("li",[e._v("修复 Select 多选时输入的关键字消失的问题,#12304")]),n("li",[e._v("修复 Select 多选时查询函数没有去抖的问题,#12181")]),n("li",[e._v("修复 Dialog 在全屏显示时宽度不正确的问题,#12203")]),n("li",[e._v("修复 Main 在 IE 下的显示不正确的问题,#12237")]),n("li",[e._v("修复 Input 触发两次表单校验的问题,#12260")]),n("li",[e._v("修复 Tree 在懒加载时添加节点导致节点消失的问题,#12256")]),n("li",[e._v("修复 Tree 节点在拖拽后无法删除的问题,#12279")]),n("li",[e._v("修复 Popover 在 InputNumber 聚焦时不显示的问题,#12284")]),n("li",[e._v("添加 Autocomplete 的 popper-append-to-body 属性,#12241")]),n("li",[e._v("添加 Pagination 的 "),n("code",[e._v("page-size")]),e._v(" 属性 "),n("code",[e._v("sync")]),e._v(" 修饰符的支持,#12281")])]),n("h3",{attrs:{id:"2-4-5"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-4-5","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.4.5")]),n("p",[n("em",[e._v("2018-07-26")])]),n("ul",[n("li",[e._v("修复 Table 设置 "),n("code",[e._v("class-name")]),e._v(" 对 "),n("code",[e._v("expand")]),e._v(" 列不生效的问题,#12006")]),n("li",[e._v("新增 Table 的 "),n("code",[e._v("toggleAllSelection")]),e._v(" 方法,#12047")]),n("li",[e._v("修复 Input 包含 Select 时,suffix 插槽位置显示不正确的问题,#12108")]),n("li",[e._v("修复 Option 的 "),n("code",[e._v("line-height")]),e._v(" 无法设置的问题,#12120")]),n("li",[e._v("修复初始值为 "),n("code",[e._v("null")]),e._v(" 的 TimeSelect 在执行 "),n("code",[e._v("resetField")]),e._v(" 后无法再赋值的问题,#12010")]),n("li",[e._v("修复 Tree 组件中不响应方向键以外 keydown 事件的问题,#12008")]),n("li",[e._v("修复 Tree 在懒加载情况下选中父节点的问题,#12106")]),n("li",[e._v("Tree 的 "),n("code",[e._v("getCheckedNodes")]),e._v(" 方法新增 "),n("code",[e._v("includeHalfChecked")]),e._v(" 参数,#12014")])]),n("h3",{attrs:{id:"2-4-4"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-4-4","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.4.4")]),n("p",[n("em",[e._v("2018-07-13")])]),n("ul",[n("li",[e._v("修复重置表单后触发 Select 组件校验问题,#11837")]),n("li",[e._v("修复 Input 组件 "),n("code",[e._v("suffix")]),e._v(" 与 "),n("code",[e._v("append")]),e._v(" 共存时样式错乱问题,#11951")]),n("li",[e._v("修复可清空的只读 Input 仍会显示清空图标的问题,#11967")]),n("li",[e._v("修复 Tree 节点禁用时仍可以选中的问题,#11847")]),n("li",[e._v("修复 Tree "),n("code",[e._v("default-checked-keys")]),e._v(" 属性不生效的问题,#11971")]),n("li",[e._v("修复 Tree 在过滤节点时下 "),n("code",[e._v("empty-text")]),e._v(" 不显示的问题,#11971")]),n("li",[e._v("修复 Table 的 "),n("code",[e._v("empty-text")]),e._v(" 过长时的位置样式问题,#11965")]),n("li",[e._v("修复 Table 的 "),n("code",[e._v("current-row-key")]),e._v(" 设置为 "),n("code",[e._v("null")]),e._v(" 时高亮行不清除的问题,#11866")]),n("li",[e._v("修复当 "),n("code",[e._v("filters")]),e._v(" 为空数组时显示过滤器下拉列表的问题,#11864")]),n("li",[e._v("修复 Radio 的 label 不阻止事件冒泡的问题,#11912")])]),n("h3",{attrs:{id:"2-4-3"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-4-3","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.4.3")]),n("p",[n("em",[e._v("2018-07-03")])]),n("ul",[n("li",[e._v("修复当自定义 Tree 节点高度时,"),n("code",[e._v("allow-drop")]),e._v(" 不能正常工作的问题,#11797")]),n("li",[e._v("现在 Form 的 "),n("code",[e._v("clearValidate")]),e._v(" 方法支持传入参数,指定需要清空校验结果的 FormItem,#11821")]),n("li",[e._v("新增 MessageBox 的 "),n("code",[e._v("distinguishCancelAndClose")]),e._v(" 属性,#11831")])]),n("h3",{attrs:{id:"2-4-2"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-4-2","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.4.2")]),n("p",[n("em",[e._v("2018-06-26")])]),n("ul",[n("li",[e._v("修复 Table 的 "),n("code",[e._v("class-name")]),e._v(" 和 "),n("code",[e._v("label-class-name")]),e._v(" 属性不支持动态更新的问题,#11626")]),n("li",[e._v("修复 Table 在 "),n("code",[e._v("highlight-current-row")]),e._v(" 为 "),n("code",[e._v("false")]),e._v(" 时点击行也会触发高亮的问题,#11691 #11563")]),n("li",[e._v("修复 ButtonGroup 中只有一个 "),n("code",[e._v("round")]),e._v(" 或 "),n("code",[e._v("circle")]),e._v(" 的 Button 时的样式错误,#11605")]),n("li",[e._v("修复在某些情况下 Pagination 的条目数选择器的样式错误,#11622")]),n("li",[e._v("修复 Menu 的 "),n("code",[e._v("collapse")]),e._v(" 属性变化后无法使用 "),n("code",[e._v("open")]),e._v(" 方法的问题,#11646")]),n("li",[e._v("Tabs 的 "),n("code",[e._v("before-leave")]),e._v(" 钩子添加了 "),n("code",[e._v("activeName")]),e._v(" 和 "),n("code",[e._v("oldActiveName")]),e._v(" 参数,#11713")]),n("li",[e._v("修复 Cascader 关闭后的聚焦问题,#11588")]),n("li",[e._v("修复 Cascader 在 "),n("code",[e._v("change-on-select")]),e._v(" 状态下点击选项不关闭的问题,#11623")]),n("li",[e._v("现在通过代码改变 Select 的值后会触发表单校验,与 Input 行为一致,#11672")])]),n("h3",{attrs:{id:"2-4-1"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-4-1","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.4.1")]),n("p",[n("em",[e._v("2018-06-08")])]),n("ul",[n("li",[e._v("移除 Autocomplete 的重复类型声明,#11388")]),n("li",[e._v("修复嵌套在 Form 内的 Select 在 FireFox 浏览器中下拉箭头错位的问题,#11427")]),n("li",[e._v("修复 Select 的初始值为 "),n("code",[e._v("null")]),e._v(" 时仍然显示清除图标的问题,#11460")]),n("li",[e._v("修复禁用的 Radio 在点击时显示 box-shadow 的问题,#11462")]),n("li",[e._v("新增 MessageBox 的 "),n("code",[e._v("iconClass")]),e._v(" 属性,#11499")]),n("li",[e._v("新增 Tabs 的 "),n("code",[e._v("stretch")]),e._v(" 属性,#11476")]),n("li",[e._v("修复 Tabs 开启 "),n("code",[e._v("lazy")]),e._v(" 时渲染顺序异常的问题,#11461")]),n("li",[e._v("修复 Table 展开行时无法保留选中行样式的问题,#11464")]),n("li",[e._v("修复 Tabs 调用 "),n("code",[e._v("before-leave")]),e._v(" 并返回 Promise 的时候,Tabs 会存在 focus 状态的问题,#11386")]),n("li",[e._v("修复 Popover 禁用状态下创建弹出框的问题,#11426")]),n("li",[e._v("修复 Tree 在懒加载状态下添加新节点造成无限循环的问题,#11430 (by @wangjingf)")]),n("li",[e._v("新增 Dialog 的 "),n("code",[e._v("closed")]),e._v(" 事件,#11490")])]),n("h3",{attrs:{id:"2-4-0-fullerene"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-4-0-fullerene","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.4.0 Fullerene")]),n("p",[n("em",[e._v("2018-05-28")])]),n("h4",{attrs:{id:"xin-te-xing-5"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xin-te-xing-5","aria-hidden":"true"}},[e._v("¶")]),e._v(" 新特性")]),n("ul",[n("li",[e._v("综合\n"),n("ul",[n("li",[e._v("使用原生 webpack 作为构建和打包工具,#11216")]),n("li",[e._v("可以全局配置弹出层的初始 z-index,#11257")])])]),n("li",[e._v("Autocomplete\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("hide-loading")]),e._v(" 属性,#11260")])])]),n("li",[e._v("Button\n"),n("ul",[n("li",[e._v("现在圆形按钮也支持通过 "),n("code",[e._v("size")]),e._v(" 属性改变其尺寸了,#11275")])])]),n("li",[e._v("InputNumber\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("precision")]),e._v(" 属性,#11281")])])]),n("li",[e._v("Tabs\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("before-leave")]),e._v(" 钩子,#11259")]),n("li",[e._v("新增 "),n("code",[e._v("lazy")]),e._v(" 属性,#11167(by @Kingwl)")])])]),n("li",[e._v("Table\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("sort")]),e._v(" 方法,支持手动排序,#11311")])])])]),n("h4",{attrs:{id:"xiu-fu-10"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xiu-fu-10","aria-hidden":"true"}},[e._v("¶")]),e._v(" 修复")]),n("ul",[n("li",[e._v("Input\n"),n("ul",[n("li",[e._v("修复使用中文输入法快速输入文字时会导致视图重新渲染的问题,#11235(by @STLighter)")])])]),n("li",[e._v("Popover\n"),n("ul",[n("li",[e._v("修复当触发元素为 Radio 或 Checkbox 时控制台报错的问题,#11265")])])]),n("li",[e._v("Breadcrumb\n"),n("ul",[n("li",[e._v("修复 "),n("code",[e._v("to")]),e._v(" 属性不支持动态更新的问题,#11286")])])]),n("li",[e._v("Upload\n"),n("ul",[n("li",[e._v("修复在 "),n("code",[e._v("beforeUpload")]),e._v(" 方法返回的 Promise 中 resolve 一个 File 时控制台报错的问题,#11297(by @qusiba)")])])]),n("li",[e._v("Tooltip\n"),n("ul",[n("li",[e._v("修复内容为空时箭头错位的问题,#11335")])])]),n("li",[e._v("Autocomplete\n"),n("ul",[n("li",[e._v("修复在快速删除搜索内容后输入建议不正确的问题,#11323")])])]),n("li",[e._v("ColorPicker\n"),n("ul",[n("li",[e._v("修复关闭选色器时触发 "),n("code",[e._v("active-change")]),e._v(" 事件的问题,#11304")])])]),n("li",[e._v("Table\n"),n("ul",[n("li",[e._v("修复筛选列表过长导致样式超出的问题,#11314")]),n("li",[e._v("修复排序后导致无法正常显示选中行样式的问题,#11348")])])]),n("li",[e._v("Checkbox\n"),n("ul",[n("li",[e._v("修复单个 Checkbox 不支持表单验证的问题,#11271")])])]),n("li",[e._v("Radio\n"),n("ul",[n("li",[e._v("修复通过空格可以选中被禁用的 Radio 的问题,#11303")])])]),n("li",[e._v("MessageBox\n"),n("ul",[n("li",[e._v("修复连续打开两个 MessageBox 时 "),n("code",[e._v("el-popup-parent--hidden")]),e._v(" 无法移除的问题,#11371")])])])]),n("h3",{attrs:{id:"2-3-9"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-3-9","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.3.9")]),n("p",[n("em",[e._v("2018-05-18")])]),n("ul",[n("li",[e._v("修复当 TableColumn 的 "),n("code",[e._v("prop")]),e._v(" 属性指定的字段在数据源中不存在时,鼠标移入该列单元格会报错的问题,#11137")]),n("li",[e._v("弹出类组件的 "),n("code",[e._v("lockScroll")]),e._v(" 属性不再为父元素添加内联样式,而是添加相应类名,#11114")]),n("li",[e._v("修复 Progress 在 "),n("code",[e._v("status")]),e._v(" 为 exception 时图标不显示的问题,#11172")]),n("li",[e._v("修复可搜索的 Cascader 在输入关键词后,选项的 "),n("code",[e._v("disabled")]),e._v(" 属性失效的问题,#11185")]),n("li",[e._v("修复可展开的 Table 在展开某一行后更新数据源会造成该行无法收起的问题,#11186")]),n("li",[e._v("Tree 的 "),n("code",[e._v("setCurrentKey")]),e._v(" 方法支持传入 "),n("code",[e._v("null")]),e._v(",可取消当前高亮的节点,#11205")])]),n("h3",{attrs:{id:"2-3-8"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-3-8","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.3.8")]),n("p",[n("em",[e._v("2018-05-11")])]),n("ul",[n("li",[e._v("修复 "),n("code",[e._v("type")]),e._v(" 为 dates 的 DatePicker 在选择非当前月的日期后,面板会跳转至当前月的问题,#10973")]),n("li",[e._v("修复可清空的只读 Input 仍会显示清空图标的问题,#10912")]),n("li",[e._v("修复范围选择的 DatePicker 在未改变值的情况下关闭下拉面板仍会触发 "),n("code",[e._v("change")]),e._v(" 事件的问题,#11017")]),n("li",[e._v("修复 Select 在有分组选项时不能正确通过键盘导航的问题,#11058")]),n("li",[e._v("新增 Select 的 "),n("code",[e._v("prefix")]),e._v(" 具名 slot,#11063")]),n("li",[e._v("新增 FormItem 的 "),n("code",[e._v("clearValidate")]),e._v(" 方法,#11076")]),n("li",[e._v("新增 Tree 的 "),n("code",[e._v("checkOnClickNode")]),e._v(" 属性,#11111")])]),n("h3",{attrs:{id:"2-3-7"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-3-7","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.3.7")]),n("p",[n("em",[e._v("2018-04-29")])]),n("ul",[n("li",[e._v("修复 Table 在由于筛选而使原有的滚动条消失后表头各列宽度未及时更新的问题,#10834")]),n("li",[e._v("修复可清空的 Input 在初始值为 "),n("code",[e._v("null")]),e._v(" 时仍然显示清空图标的问题,#10912")]),n("li",[e._v("修复在通过代码改变 ColorPicker 的绑定值后错误地触发 "),n("code",[e._v("active-change")]),e._v(" 事件的问题,#10903(by @zhangbobell)")]),n("li",[e._v("修复可搜索的 Select 在备选项均被禁用时,通过键盘导航会造成无限循环的问题,#10945")])]),n("h3",{attrs:{id:"2-3-6"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-3-6","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.3.6")]),n("p",[n("em",[e._v("2018-04-21")])]),n("ul",[n("li",[e._v("修复 Tree 的 "),n("code",[e._v("allow-drop")]),e._v(" 回调在使用 "),n("code",[e._v("type")]),e._v(" 参数后的错误行为,#10821")]),n("li",[e._v("修复可搜索的单选 Select 在 IE11 中无法输入搜索关键词的问题,#10822")]),n("li",[e._v("修复单选 Select 在使用鼠标选中某个选项后错误地触发 "),n("code",[e._v("blur")]),e._v(" 事件的问题,#10822")])]),n("h3",{attrs:{id:"2-3-5"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-3-5","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.3.5")]),n("p",[n("em",[e._v("2018-04-20")])]),n("ul",[n("li",[e._v("修复 DatePicker 的 "),n("code",[e._v("type")]),e._v(" 为 week 时面板错误高亮的问题,#10712")]),n("li",[e._v("修复 InputNumber 初始值为 0 时输入框为空的问题,#10714")]),n("li",[e._v("新增 Select 的 "),n("code",[e._v("automatic-dropdown")]),e._v(" 属性,#10042(by @Seebiscuit)")]),n("li",[e._v("修复 "),n("code",[e._v("disabled")]),e._v(" 的 Rate 仍能通过键盘左右键改变组件值的问题,#10726(by @Richard-Choooou)")]),n("li",[e._v("现在 DatePicker 的 "),n("code",[e._v("type")]),e._v(" 属性可以接收 "),n("code",[e._v("'dates'")]),e._v(",用于选择多个日期,#10650(by @Mini256)")]),n("li",[e._v("新增 Pagination 的 "),n("code",[e._v("prev-click")]),e._v(" 和 "),n("code",[e._v("next-click")]),e._v(" 事件,#10755")]),n("li",[e._v("新增 Pagination 的 "),n("code",[e._v("pager-count")]),e._v(" 属性,#10493(by @chongjohn716)")]),n("li",[e._v("新增 "),n("code",[e._v("type")]),e._v(" 作为 Tree 的 "),n("code",[e._v("allow-drop")]),e._v(" 属性回调的第三个参数,#10792")]),n("li",[e._v("改用 ResizeObserver 对元素的尺寸变化进行监测,#10779")])]),n("h3",{attrs:{id:"2-3-4"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-3-4","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.3.4")]),n("p",[n("em",[e._v("2018-04-12")])]),n("ul",[n("li",[e._v("删除 SubMenu 在 TypeScript 类型声明中重复的 "),n("code",[e._v("showTimeout")]),e._v(" 属性,#10566(by @kimond)")]),n("li",[e._v("现在 Transfer 数据项的渲染支持通过 scoped slot 自定义,#10577")]),n("li",[e._v("修复点击 Pagination 禁用的上一页、下一页按钮仍会触发 "),n("code",[e._v("current-change")]),e._v(" 事件的问题,#10628")]),n("li",[e._v("修复未绑定值的 Textarea 在 SSR 中会显示 "),n("code",[e._v("undefined")]),e._v(" 的问题,#10630")]),n("li",[e._v("修复 "),n("code",[e._v("type")]),e._v(" 为 border-card 的 Tabs 中被禁用标签项的样式,#10640")]),n("li",[e._v("新增 "),n("code",[e._v("$index")]),e._v(" 作为 Table 的 "),n("code",[e._v("formatter")]),e._v(" 属性回调的第四个参数,#10645")]),n("li",[e._v("修复 TypeScript 类型声明未导出 CheckboxButton 的问题,#10666")])]),n("h3",{attrs:{id:"2-3-3"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-3-3","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.3.3")]),n("p",[n("em",[e._v("2018-04-04")])]),n("ul",[n("li",[e._v("新增 Card 的 "),n("code",[e._v("shadow")]),e._v(" 属性,#10418(by @YunYouJun)")]),n("li",[e._v("修复 Badge 在 "),n("code",[e._v("value")]),e._v(" 属性为 "),n("code",[e._v("0")]),e._v(" 时不显示上标的问题,#10470")]),n("li",[e._v("修复 Tree 节点拖拽相关的问题,#10474 #10494")]),n("li",[e._v("新增 Autocomplete 的 "),n("code",[e._v("placement")]),e._v(" 属性,#10475")]),n("li",[e._v("现在 "),n("code",[e._v("default-time")]),e._v(" 属性也可用于非范围选择的 DateTimePicker 了,#10321(by @RickMacTurk)")]),n("li",[e._v("修复 TabItem 在浏览器失焦和隐藏后出现蓝色边框的问题,#10503")]),n("li",[e._v("新增 SubMenu 的 "),n("code",[e._v("popper-append-to-body")]),e._v(" 属性,#10515")]),n("li",[e._v("现在非链接的 BreadcrumbItem 在 hover 时不再具有视觉反馈,#10551")]),n("li",[e._v("调整 InputNumber "),n("code",[e._v("change")]),e._v(" 事件的触发时机,使得在回调中能够取得最新的组件绑定值,#10553")])]),n("h3",{attrs:{id:"2-3-2"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-3-2","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.3.2")]),n("p",[n("em",[e._v("2018-03-29")])]),n("ul",[n("li",[e._v("修复 Autocomplete 报错的问题,#10442")])]),n("h3",{attrs:{id:"2-3-1"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-3-1","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.3.1")]),n("p",[n("em",[e._v("2018-03-29")])]),n("ul",[n("li",[e._v("修复 Input 的 "),n("code",[e._v("type")]),e._v(" 属性未传递至原生 input 元素的问题,#10415")]),n("li",[e._v("新增 Select 的 "),n("code",[e._v("blur")]),e._v(" 方法,#10416")])]),n("h3",{attrs:{id:"2-3-0-diamond"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-3-0-diamond","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.3.0 Diamond")]),n("p",[n("em",[e._v("2018-03-28")])]),n("h4",{attrs:{id:"xin-te-xing-6"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xin-te-xing-6","aria-hidden":"true"}},[e._v("¶")]),e._v(" 新特性")]),n("ul",[n("li",[e._v("Table\n"),n("ul",[n("li",[e._v("现在 TableColumn 的 "),n("code",[e._v("formatter")]),e._v(" 属性可以是动态的,#10184(by @elfman)")]),n("li",[e._v("新增 "),n("code",[e._v("select-on-indeterminate")]),e._v(" 属性,#9924(by @syn-zeta)")])])]),n("li",[e._v("Menu\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("collapse-transition")]),e._v(" 属性,#8809(by @limichange)")])])]),n("li",[e._v("Input\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("select")]),e._v(" 方法,#10229")]),n("li",[e._v("新增 "),n("code",[e._v("blur")]),e._v(" 方法,#10356")])])]),n("li",[e._v("ColorPicker\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("predefine")]),e._v(" 属性,#10170(by @elfman)")])])]),n("li",[e._v("Tree\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("draggable")]),e._v("、"),n("code",[e._v("allow-drop")]),e._v(" 和 "),n("code",[e._v("allow-drag")]),e._v(" 属性,以及 "),n("code",[e._v("node-drag-start")]),e._v("、"),n("code",[e._v("node-drag-enter")]),e._v("、"),n("code",[e._v("node-drag-leave")]),e._v("、"),n("code",[e._v("node-drag-over")]),e._v("、"),n("code",[e._v("node-drag-end")]),e._v(" 和 "),n("code",[e._v("node-drop")]),e._v(" 事件,#9251 #10372(by @elfman)")])])]),n("li",[e._v("Form\n"),n("ul",[n("li",[n("code",[e._v("validate")]),e._v(" 方法新增第二个参数,包含未通过本次校验的表单项信息,#10279")]),n("li",[e._v("新增 "),n("code",[e._v("validate")]),e._v(" 事件,#10351")])])]),n("li",[e._v("Progress\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("color")]),e._v(" 属性,#10352(by @YunYouJun)")])])]),n("li",[e._v("Button\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("circle")]),e._v(" 属性,#10359(by @YunYouJun)")])])])]),n("h4",{attrs:{id:"xiu-fu-11"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xiu-fu-11","aria-hidden":"true"}},[e._v("¶")]),e._v(" 修复")]),n("ul",[n("li",[e._v("Form\n"),n("ul",[n("li",[e._v("修复嵌套复合型 Input 时,FormItem 标签与输入框未对齐的问题,#10189")])])]),n("li",[e._v("Menu\n"),n("ul",[n("li",[e._v("现在折叠状态的菜单项仅在传入 "),n("code",[e._v("title")]),e._v(" slot 时才显示 Tooltip,#10193(by @PanJiaChen)")])])]),n("li",[e._v("Pagination\n"),n("ul",[n("li",[e._v("修复 "),n("code",[e._v("current-change")]),e._v(" 在未发生用户交互时错误触发的问题,#10247")])])]),n("li",[e._v("DatePicker\n"),n("ul",[n("li",[e._v("现在时间日期选择器下拉面板中的值能够正确地从 "),n("code",[e._v("format")]),e._v(" 属性中获取对应格式了,#10174(by @remizovvv)")])])]),n("li",[e._v("Upload\n"),n("ul",[n("li",[e._v("现在拖拽上传会拦截不在 "),n("code",[e._v("accept")]),e._v(" 属性范围内的文件,#10278")])])])]),n("h3",{attrs:{id:"2-2-2"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-2-2","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.2.2")]),n("p",[n("em",[e._v("2018-03-14")])]),n("ul",[n("li",[e._v("新增 Input 的 "),n("code",[e._v("clear")]),e._v(" 事件,#9988(by @blackmiaool)")]),n("li",[e._v("现在 ColorPicker 的手动输入支持 "),n("code",[e._v("hsl")]),e._v("、"),n("code",[e._v("hsv")]),e._v(" 和 "),n("code",[e._v("rgb")]),e._v(" 格式了,#9991")]),n("li",[e._v("修复 DatePicker 在清除初始值时不触发 "),n("code",[e._v("change")]),e._v(" 事件的问题,#9986")]),n("li",[e._v("现在 Rate 的图标类相关属性支持动态更新了,#10003")]),n("li",[e._v("修复含有固定列的 Table 在设置 "),n("code",[e._v("max-height")]),e._v(" 属性后有时不能及时更新布局高度的问题,#10034")]),n("li",[e._v("现在 DatePicker 的范围选择支持先点选结束日期,再点选开始日期了,#8156(by @earlymeme)")]),n("li",[e._v("新增 Pagination 的 "),n("code",[e._v("disabled")]),e._v(" 属性,#10006")]),n("li",[e._v("新增 Popover 的 "),n("code",[e._v("after-enter")]),e._v(" 和 "),n("code",[e._v("after-leave")]),e._v(" 事件,#10047")]),n("li",[e._v("修复重置表单后,用户第一次改变 Select 的值时不触发校验的问题,#10105")]),n("li",[e._v("修复 Table 的固定列在某些情况下宽度不正确的问题,#10130")]),n("li",[e._v("修复调用 MessageBox 未传入 "),n("code",[e._v("title")]),e._v(" 时,打开的 MessageBox 会继承上一个实例的 "),n("code",[e._v("title")]),e._v(" 属性的问题,#10126(by @Pochodaydayup)")]),n("li",[e._v("新增 Slider 的 "),n("code",[e._v("input-size")]),e._v(" 属性,#10154")]),n("li",[e._v("新增 Transfer 的 "),n("code",[e._v("left-check-change")]),e._v(" 和 "),n("code",[e._v("right-check-change")]),e._v(" 事件,#10156")])]),n("h3",{attrs:{id:"2-2-1"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-2-1","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.2.1")]),n("p",[n("em",[e._v("2018-03-02")])]),n("ul",[n("li",[e._v("修复 Aside、Header 和 Footer 在某些布局中被压缩的问题,#9812")]),n("li",[e._v("修复设置了 "),n("code",[e._v("height")]),e._v(" 属性的 Table 在服务端渲染时无法加载的问题,#9876")]),n("li",[e._v("修复可展开的 Table 在展开某一行后高度未重新计算的问题,#9848")]),n("li",[e._v("修复在 DateTimePicker 中手动输入日期后不能正确触发 "),n("code",[e._v("change")]),e._v(" 事件的问题,#9913")]),n("li",[e._v("修复鼠标右键点击 Select 的输入框会展开选项的问题,#9894(by @openks)")]),n("li",[e._v("新增 Slider 的 "),n("code",[e._v("tooltip-class")]),e._v(" 属性,#9957")]),n("li",[e._v("现在的 Select 在选中选项后仍然处于 focus 状态,#9857(by @Seebiscuit)")]),n("li",[e._v("新增 Transfer 的 "),n("code",[e._v("target-order")]),e._v(" 属性,#9960")])]),n("h3",{attrs:{id:"2-2-0-graphite"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-2-0-graphite","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.2.0 Graphite")]),n("p",[n("em",[e._v("2018-02-12")])]),n("h4",{attrs:{id:"xin-te-xing-7"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xin-te-xing-7","aria-hidden":"true"}},[e._v("¶")]),e._v(" 新特性")]),n("ul",[n("li",[e._v("Menu\n"),n("ul",[n("li",[e._v("SubMenu 新增 "),n("code",[e._v("popper-class")]),e._v(" 和 "),n("code",[e._v("disabled")]),e._v(" 属性,#9604 #9771")]),n("li",[e._v("现在水平模式下的 Menu 支持多级 SubMenu 了,#9741")])])]),n("li",[e._v("Tree\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("node-contextmenu")]),e._v(" 事件,#9678")]),n("li",[e._v("现在可以使用 scoped slot 自定义树节点的模板了,#9686")]),n("li",[e._v("新增 "),n("code",[e._v("getNode")]),e._v("、"),n("code",[e._v("remove")]),e._v("、"),n("code",[e._v("append")]),e._v("、"),n("code",[e._v("insertBefore")]),e._v("、"),n("code",[e._v("insertAfter")]),e._v("、"),n("code",[e._v("getCheckedKeys")]),e._v("、"),n("code",[e._v("getHalfCheckedNodes")]),e._v("、"),n("code",[e._v("getHalfCheckedKeys")]),e._v(" 方法和 "),n("code",[e._v("check")]),e._v(" 事件,#9718 #9730")])])]),n("li",[e._v("Transfer\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("clearQuery")]),e._v(" 方法,#9753")])])]),n("li",[e._v("Select\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("popper-append-to-body")]),e._v(" 属性,#9782")])])])]),n("h4",{attrs:{id:"xiu-fu-12"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xiu-fu-12","aria-hidden":"true"}},[e._v("¶")]),e._v(" 修复")]),n("ul",[n("li",[e._v("Table\n"),n("ul",[n("li",[e._v("修复点击可展开行的展开图标会触发 "),n("code",[e._v("row-click")]),e._v(" 事件的问题,#9654")]),n("li",[e._v("修复某些情况下通过拖动改变列宽后,布局没有同步更新的问题,#9668")]),n("li",[e._v("修复合计行与固定列并存时的样式问题,#9667")])])]),n("li",[e._v("Container\n"),n("ul",[n("li",[e._v("修复布局组件在 IE11 中无法自动填充可用空间的问题,#9655")])])]),n("li",[e._v("Loading\n"),n("ul",[n("li",[e._v("修复在 "),n("code",[e._v("mounted")]),e._v(" 中修改 "),n("code",[e._v("v-loading")]),e._v(" 的值为 true 时不能正确显示 Loading 的问题,#9722")])])]),n("li",[e._v("Switch\n"),n("ul",[n("li",[e._v("修复点击时会触发两次原生 click 事件的问题,#9760")])])])]),n("h3",{attrs:{id:"2-1-0-charcoal"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-1-0-charcoal","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.1.0 Charcoal")]),n("p",[n("em",[e._v("2018-01-31")])]),n("h4",{attrs:{id:"xin-te-xing-8"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xin-te-xing-8","aria-hidden":"true"}},[e._v("¶")]),e._v(" 新特性")]),n("ul",[n("li",[e._v("Cascader\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("focus")]),e._v(" 和 "),n("code",[e._v("blur")]),e._v(" 事件,#9184(by @viewweiwu)")])])]),n("li",[e._v("Table\n"),n("ul",[n("li",[n("code",[e._v("filter-method")]),e._v(" 方法加入第三个参数 "),n("code",[e._v("column")]),e._v(",#9196(by @liyanlong)")])])]),n("li",[e._v("DatePicker\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("prefix-icon")]),e._v(" 和 "),n("code",[e._v("clear-icon")]),e._v(" 属性,#9237(by @AdamSGit)")]),n("li",[e._v("新增 "),n("code",[e._v("default-time")]),e._v(" 属性,#9094(by @nighca)")]),n("li",[n("code",[e._v("value-format")]),e._v(" 属性增加对 "),n("code",[e._v("timestamp")]),e._v(" 的支持,#9319(by @wacky6)")])])]),n("li",[e._v("InputNumber\n"),n("ul",[n("li",[e._v("组件绑定变量的值支持 "),n("code",[e._v("undefined")]),e._v(",#9361")])])]),n("li",[e._v("Select\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("auto-complete")]),e._v(" 属性,#9388")])])]),n("li",[e._v("Form\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("disabled")]),e._v(" 属性,#9529")]),n("li",[e._v("新增 "),n("code",[e._v("validateOnRuleChange")]),e._v(" 属性,#8141")])])]),n("li",[e._v("Notificaition\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("closeAll")]),e._v(" 方法,#9514")])])])]),n("h4",{attrs:{id:"xiu-fu-13"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xiu-fu-13","aria-hidden":"true"}},[e._v("¶")]),e._v(" 修复")]),n("ul",[n("li",[e._v("InputNumber\n"),n("ul",[n("li",[e._v("修复初始输入小数点时被重置的问题,#9116")])])]),n("li",[e._v("Dropdown\n"),n("ul",[n("li",[e._v("修复当页面仅有水平滚动条时,某些浏览器下拉菜单定位错误的问题,#9138(by @banzhuanmei)")])])]),n("li",[e._v("Table\n"),n("ul",[n("li",[e._v("修复带有固定列的 Table 在列数据变化后固定列的个数计算错误的问题,#9188(by @kolesoffac)")]),n("li",[e._v("修复多级表头最后一列的边框不能正确显示的问题,#9326")]),n("li",[e._v("修复在 Safari 浏览器中表头错位的问题,#9327")]),n("li",[e._v("修复带有展开行的表格在展开某一行后,当表格数据更新但 "),n("code",[e._v("row-key")]),e._v(" 值不变时,该行会自动收起的问题,#9462")]),n("li",[e._v("修复在一些情况下不必要的多次渲染问题,#9426")]),n("li",[e._v("修复动态改变 TableColumn 的 "),n("code",[e._v("width")]),e._v(" 属性时,其宽度计算错误的问题,#9426")])])]),n("li",[e._v("Loading\n"),n("ul",[n("li",[e._v("修复某些情况下 Loading 不能被正确隐藏的问题,#9313")])])]),n("li",[e._v("DatePicker\n"),n("ul",[n("li",[e._v("修复 "),n("code",[e._v("focus")]),e._v(" 方法在范围选择时无效的问题,#9437")]),n("li",[e._v("修复当目前时刻处于不可选择的范围内时,点击面板上的「此刻」按钮仍能选中目前时刻的问题,#9470(by @wacky6)")]),n("li",[e._v("修复当在月选择面板中选中天数较少的月份时,日期面板呈现下一个月的问题,#9577(by @wacky6)")])])]),n("li",[e._v("Steps\n"),n("ul",[n("li",[e._v("修复在 IE 11 中的样式问题,#9454")])])])]),n("h4",{attrs:{id:"fei-jian-rong-xing-geng-xin"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#fei-jian-rong-xing-geng-xin","aria-hidden":"true"}},[e._v("¶")]),e._v(" 非兼容性更新")]),n("ul",[n("li",[e._v("Menu\n"),n("ul",[n("li",[n("code",[e._v("collapse")]),e._v(" 状态下的弹出菜单现在会插入至 body 元素,修复其位于 Aside 内时弹出菜单不可见的问题,#9263")])])]),n("li",[e._v("Table\n"),n("ul",[n("li",[e._v("勾选多选表格的 checkbox 时不再同时触发 "),n("code",[e._v("row-click")]),e._v(" 事件,#9467")])])]),n("li",[e._v("Loading\n"),n("ul",[n("li",[e._v("非全屏 Loading 遮罩层的 "),n("code",[e._v("z-index")]),e._v(" 修改为 2000;全屏 Loading 遮罩层的 "),n("code",[e._v("z-index")]),e._v(" 值会随页面上的弹出组件动态更新,#9522")])])]),n("li",[e._v("Dropdown\n"),n("ul",[n("li",[n("code",[e._v("show-timeout")]),e._v(" 和 "),n("code",[e._v("hide-timeout")]),e._v(" 属性现在仅在 trigger 为 "),n("code",[e._v("hover")]),e._v(" 时生效,#9573")])])])]),n("h3",{attrs:{id:"2-0-11"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-0-11","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.0.11")]),n("p",[n("em",[e._v("2018-01-08")])]),n("ul",[n("li",[e._v("修复 Input 的 "),n("code",[e._v("prepend")]),e._v(" 或 "),n("code",[e._v("append")]),e._v(" slot 中 Select 的边框颜色错误,#9089")]),n("li",[e._v("修复 Select 的 "),n("code",[e._v("remove-tag")]),e._v(" 事件参数与文档不符的问题,#9090")]),n("li",[e._v("新增 SubMenu 的 "),n("code",[e._v("show-timeout")]),e._v(" 和 "),n("code",[e._v("hide-timeout")]),e._v(" 属性,#8934(by @HugoLew)")]),n("li",[e._v("修复按需引入 Table 时 "),n("code",[e._v("show-overflow-tooltip")]),e._v(" 的 Tooltip 样式丢失的问题,#9130")]),n("li",[e._v("修复 Table 在执行 "),n("code",[e._v("clearSort")]),e._v(" 后点击对应列的排序图标无法正常排序的问题,#9100(by @zEmily)")]),n("li",[e._v("捷克语的 i18n 配置文件由 "),n("code",[e._v("cz")]),e._v(" 重命名为 "),n("code",[e._v("cs-CZ")]),e._v(",#9164")])]),n("h3",{attrs:{id:"2-0-10"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-0-10","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.0.10")]),n("p",[n("em",[e._v("2017-12-29")])]),n("ul",[n("li",[e._v("修复了 Table 在固定列和合计行并存时的高度计算错误的问题,#9026")]),n("li",[e._v("修复了 Table 样式 SCSS 文件错误编译的问题,#9028")]),n("li",[e._v("现在 DatePicker 的 "),n("code",[e._v("change")]),e._v(" 事件只会在 "),n("code",[e._v("value")]),e._v(" 真正改变的时候触发,#9029(by @remizovvv)")]),n("li",[e._v("新增 Input 的 "),n("code",[e._v("tabindex")]),e._v(" 属性,#9041(by @dicklwm)")])]),n("h3",{attrs:{id:"2-0-9"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-0-9","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.0.9🎄")]),n("p",[n("em",[e._v("2017-12-24")])]),n("ul",[n("li",[e._v("新增 Upload 的 "),n("code",[e._v("before-remove")]),e._v(" 钩子方法,#8788(by @firesh)")]),n("li",[e._v("修复 FormItem 的 "),n("code",[e._v("error")]),e._v(" 属性初始值无效的问题,#8840")]),n("li",[e._v("通过指令调用的 Loading 现在支持以 "),n("code",[e._v("element-loading-custom-class")]),e._v(" 属性的方式设置自定义类名,#8826(by @earlymeme)")]),n("li",[e._v("修复 CarouselItem 为异步获取时被隐藏的问题,#8921")]),n("li",[e._v("新增 Tree 的 "),n("code",[e._v("renderAfterExpand")]),e._v(" 属性,#8972")])]),n("h3",{attrs:{id:"2-0-8"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-0-8","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.0.8")]),n("p",[n("em",[e._v("2017-12-12")])]),n("ul",[n("li",[e._v("新增西班牙语文档")]),n("li",[e._v("修复 "),n("code",[e._v("show-timeout")]),e._v(" 对点击触发的 Dropdown 无效的问题,#8734(by @presidenten)")]),n("li",[e._v("修复 Form 对于 "),n("code",[e._v("trigger")]),e._v(" 为 blur 的校验规则触发时机有误的问题,#8776")]),n("li",[e._v("修复 DatePicker 在范围选择时 blur 事件触发时机有误的问题,#8784")]),n("li",[e._v("TimePicker 的 "),n("code",[e._v("format")]),e._v(" 新增对 AM/PM 的支持,#8620(by @firesh)")])]),n("h3",{attrs:{id:"2-0-7"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-0-7","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.0.7")]),n("p",[n("em",[e._v("2017-11-29")])]),n("ul",[n("li",[e._v("修复禁用文字按钮的样式问题,#8570")])]),n("h3",{attrs:{id:"2-0-6"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-0-6","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.0.6")]),n("p",[n("em",[e._v("2017-11-29")])]),n("ul",[n("li",[e._v("修复 Table 排序图标的样式问题,#8405")]),n("li",[e._v("修复 "),n("code",[e._v("trigger")]),e._v(" 为 manual 的 Popover 的触发问题,#8467")]),n("li",[e._v("新增 Autocomplete 的 "),n("code",[e._v("prefix-icon")]),e._v(" 和 "),n("code",[e._v("suffix-icon")]),e._v(" 属性,#8446(by @liyanlong)")]),n("li",[e._v("新增 Cascader 的 "),n("code",[e._v("separator")]),e._v(" 属性,#8501")]),n("li",[e._v("新增 Input 的 "),n("code",[e._v("clearable")]),e._v(" 属性,#8509(by @lbogdan)")]),n("li",[e._v("新增 Pagination 的 "),n("code",[e._v("background")]),e._v(" 属性,#8553")])]),n("h3",{attrs:{id:"2-0-5"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-0-5","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.0.5")]),n("p",[n("em",[e._v("2017-11-17")])]),n("ul",[n("li",[e._v("修复上个版本引入的 Popover、Tree、Breadcrumb、Cascader 的 bug,#8188 #8217 #8283")]),n("li",[e._v("修复 clickoutside 指令的内存泄露问题,#8168 #8225(by @badpunman @STLighter)")]),n("li",[e._v("修复默认尺寸的多选 Select 在清空选项后输入框高度不随之更新的问题,#8317(by @luciy)")]),n("li",[e._v("新增 Select 的 "),n("code",[e._v("collapse-tags")]),e._v(" 属性,用于在多选时以文字代替 Tag,避免组件高度的增大,#8190")]),n("li",[e._v("修复被隐藏的 Table 会造成 CPU 占用持续增加的问题,#8351")]),n("li",[e._v("开放 Table 的 "),n("code",[e._v("doLayout")]),e._v(" 方法,用于重新计算 Table 的布局,#8351")])]),n("h3",{attrs:{id:"2-0-4"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-0-4","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.0.4")]),n("p",[n("em",[e._v("2017-11-10")])]),n("ul",[n("li",[e._v("提升 Cascader、Dropdown、Message、Notification、Popover、Tooltip、Tree 的可访问性")]),n("li",[e._v("修复当视口变窄时 Container 无法同步更新其宽度的问题,#8042")]),n("li",[e._v("修复 Tree 的 "),n("code",[e._v("updateKeyChildren")]),e._v(" 在删除子节点时的行为错误,#8100")]),n("li",[e._v("修复带有边框的 CheckboxButton 在 Form 中高度错误的问题,#8100")]),n("li",[e._v("修复 Menu 在解析自定义颜色时的错误,#8153(by @zhouyixiang)")])]),n("h3",{attrs:{id:"2-0-3"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-0-3","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.0.3")]),n("p",[n("em",[e._v("2017-11-03")])]),n("ul",[n("li",[e._v("修复范围选择的 DatePicker "),n("code",[e._v("editable")]),e._v(" 和 "),n("code",[e._v("readonly")]),e._v(" 属性无法正常工作的问题,#7922")]),n("li",[e._v("修复嵌套的 Tabs 的样式错误,#7941")]),n("li",[e._v("修复纵向 Steps 中最后一个 Step 的样式错误,#7980")]),n("li",[e._v("修复 Pagination 的 "),n("code",[e._v("current-change")]),e._v(" 事件触发时机错误的问题,#7995")]),n("li",[e._v("修复由于 Menu 使用了未注册的 Tooltip 造成其在按需引入时报错的问题,#7995")])]),n("h3",{attrs:{id:"2-0-2"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-0-2","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.0.2")]),n("p",[n("em",[e._v("2017-10-31")])]),n("ul",[n("li",[e._v("在 InputNumber 的加减按钮上单击鼠标右键不再触发值的改变,#7817")]),n("li",[e._v("Form 的 "),n("code",[e._v("validate")]),e._v(" 方法现在能够正确地在异步校验完成后执行回调了,#7774(by @Allenice)")]),n("li",[e._v("修复 DatePicker 的范围选择在内核为 Chromium 53-57 的浏览器中无法使用的问题,#7838")]),n("li",[e._v("修复 "),n("code",[e._v("list-type")]),e._v(" 为 picture-card 的 Upload 预览和删除图标丢失的问题,#7857")]),n("li",[e._v("新增 TableColumn 的 "),n("code",[e._v("sort-by")]),e._v(" 属性,#7828(by @wangfengming)")]),n("li",[e._v("修复周模式下的 DatePicker 在选择某年第一周可能会显示为前一年第一周的问题,#7860(by @hh23485)")]),n("li",[e._v("修复垂直模式的 Steps 中图标宽度的样式错误,#7891")]),n("li",[e._v("增大了 Tree 中展开箭头的点击热区,#7891")])]),n("h3",{attrs:{id:"2-0-1"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-0-1","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.0.1")]),n("p",[n("em",[e._v("2017-10-28")])]),n("ul",[n("li",[e._v("修复 RadioButton 和 CheckboxButton 的样式问题,#7793")]),n("li",[e._v("修复 TimePicker 在某些情况下无法滚动的问题,#7811")]),n("li",[e._v("修复部分组件在按需引入时样式不完整的问题,#7811")])]),n("h3",{attrs:{id:"2-0-0-carbon"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#2-0-0-carbon","aria-hidden":"true"}},[e._v("¶")]),e._v(" 2.0.0 Carbon")]),n("p",[n("em",[e._v("2017-10-27")])]),n("h4",{attrs:{id:"xin-te-xing-9"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xin-te-xing-9","aria-hidden":"true"}},[e._v("¶")]),e._v(" 新特性")]),n("ul",[n("li",[e._v("综合\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("theme-chalk")]),e._v(" 主题")]),n("li",[e._v("增强以下组件的可访问性:Alert、AutoComplete、Breadcrumb、Button、Checkbox、Collapse、Input、InputNumber、Menu、Progress、Radio、Rate、Slider、Switch 和 Upload")]),n("li",[e._v("新增布局组件 Container、Header、Aside、Main 和 Footer")]),n("li",[e._v("新增 TypeScript 类型声明")]),n("li",[e._v("重绘了全部图标,并新增了部分图标")]),n("li",[e._v("新增了一系列基于断点的工具类,用于当视口尺寸满足一定条件时隐藏元素")]),n("li",[e._v("新增全局配置组件尺寸的功能。在引入 Element 时,配置 "),n("code",[e._v("size")]),e._v(" 字段可以改变所有组件的默认尺寸")])])]),n("li",[e._v("Button\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("round")]),e._v(" 属性,用于圆角按钮 #6643")])])]),n("li",[e._v("TimeSelect\n"),n("ul",[n("li",[e._v("可以用 "),n("code",[e._v("Up")]),e._v("、"),n("code",[e._v("Down")]),e._v(" 导航,用 "),n("code",[e._v("Enter")]),e._v(" 选中时间 #6023")])])]),n("li",[e._v("TimePicker\n"),n("ul",[n("li",[e._v("可以用方向键导航,用 "),n("code",[e._v("Enter")]),e._v(" 选中时间 #6050")]),n("li",[e._v("新增 "),n("code",[e._v("start-placeholder")]),e._v(" 和 "),n("code",[e._v("end-placeholder")]),e._v(",用于设置范围选择时两个输入框的占位符 #7169")]),n("li",[e._v("新增 "),n("code",[e._v("arrow-control")]),e._v(" 属性,提供另一种交互形式,#7438")])])]),n("li",[e._v("Tree\n"),n("ul",[n("li",[e._v("子节点在首次被展开之前不进行渲染 #6257")]),n("li",[e._v("新增 "),n("code",[e._v("check-descendants")]),e._v(" 属性,设置 "),n("code",[e._v("lazy")]),e._v(" 模式下勾选节点时,是否完全展开整个子树 #6235")])])]),n("li",[e._v("Tag\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("size")]),e._v(" 属性 #7203")])])]),n("li",[e._v("Datepicker\n"),n("ul",[n("li",[e._v("type 为 "),n("code",[e._v("datetimerange")]),e._v(" 时可以使用 "),n("code",[e._v("timeFormat")]),e._v(" 格式化时间选择器 #6052")]),n("li",[e._v("新增 "),n("code",[e._v("start-placeholder")]),e._v(" 和 "),n("code",[e._v("end-placeholder")]),e._v(",用于设置范围选择时两个输入框的占位符 #7169")]),n("li",[e._v("新增 "),n("code",[e._v("value-format")]),e._v(" 属性,支持对绑定值的格式进行自定义,#7367")]),n("li",[e._v("新增 "),n("code",[e._v("unlink-panels")]),e._v(" 属性,用于在选择日期范围时取消两个日期面板之间的联动")])])]),n("li",[e._v("MessageBox\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("closeOnHashChange")]),e._v(" 属性 #6043")]),n("li",[e._v("新增 "),n("code",[e._v("center")]),e._v(" 属性,提供居中布局 #7029")]),n("li",[e._v("新增 "),n("code",[e._v("roundButton")]),e._v(" 属性,使得内部按钮为圆角按钮 #7029")]),n("li",[e._v("新增 "),n("code",[e._v("dangerouslyUseHTMLString")]),e._v(" 属性,使得 "),n("code",[e._v("message")]),e._v(" 支持传入 HTML 字符串"),n("sup",[e._v("*")]),e._v(" #6043")]),n("li",[e._v("新增 "),n("code",[e._v("inputType")]),e._v(" 属性,用户指定内部输入框的类型,#7651")])])]),n("li",[e._v("Dialog\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("width")]),e._v("、"),n("code",[e._v("fullscreen")]),e._v("、"),n("code",[e._v("append-to-body")]),e._v(" 属性,支持嵌套使用")]),n("li",[e._v("新增 "),n("code",[e._v("center")]),e._v(" 属性,提供居中布局 #7042")]),n("li",[e._v("新增 "),n("code",[e._v("focus-after-closed")]),e._v("、"),n("code",[e._v("focus-after-open")]),e._v("属性,支持无障碍访问 #6511")])])]),n("li",[e._v("ColorPicker\n"),n("ul",[n("li",[e._v("增加手动输入色值的支持 #6167")]),n("li",[e._v("新增 "),n("code",[e._v("size")]),e._v(" 属性,用于控制组件的大小 #7026")]),n("li",[e._v("新增 "),n("code",[e._v("disabled")]),e._v(" 属性,用于禁用组件 #7026")]),n("li",[e._v("新增 "),n("code",[e._v("popper-class")]),e._v(" 属性,#7351")])])]),n("li",[e._v("Message\n"),n("ul",[n("li",[e._v("图标部分使用 icon 代替图片,从而支持通过 CSS 修改图标背景色 #6207")]),n("li",[e._v("新增 "),n("code",[e._v("dangerouslyUseHTMLString")]),e._v(" 属性,使得 "),n("code",[e._v("message")]),e._v(" 属性支持传入 HTML 字符串"),n("sup",[e._v("*")]),e._v(" #6207")]),n("li",[e._v("新增 "),n("code",[e._v("center")]),e._v(" 属性,提供居中布局 #6875")])])]),n("li",[e._v("Notification\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("position")]),e._v(" 属性,用于配置 Notification 出现的位置 #6231")]),n("li",[e._v("新增 "),n("code",[e._v("dangerouslyUseHTMLString")]),e._v(" 属性,使得 "),n("code",[e._v("message")]),e._v(" 属性支持传入 HTML 字符串"),n("sup",[e._v("*")]),e._v(" #6231")]),n("li",[e._v("新增 "),n("code",[e._v("showClose")]),e._v(" 属性,用于隐藏关闭按钮 #6402")])])]),n("li",[e._v("Rate\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("show-score")]),e._v(" 属性,控制是否在右侧显示当前分数 #6295")])])]),n("li",[e._v("Tabs\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("tab-position")]),e._v(" 属性,控制选项面板内容显示的上、下、左、右四个方向 #6096")])])]),n("li",[e._v("Radio\n"),n("ul",[n("li",[e._v("增加 "),n("code",[e._v("border")]),e._v(" 属性和 "),n("code",[e._v("size")]),e._v(" 属性 #6690")])])]),n("li",[e._v("Checkbox\n"),n("ul",[n("li",[e._v("增加 "),n("code",[e._v("border")]),e._v(" 属性和 "),n("code",[e._v("size")]),e._v(" 属性 #6690")])])]),n("li",[e._v("Alert\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("center")]),e._v(" 属性,提供居中布局 #6876")])])]),n("li",[e._v("Menu\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("background-color")]),e._v("、"),n("code",[e._v("text-color")]),e._v(" 和 "),n("code",[e._v("active-text-color")]),e._v(" 属性,分别用于设置菜单的背景色、菜单的文字颜色和当前激活菜单的文字颜色 #7064")]),n("li",[e._v("新增 "),n("code",[e._v("open")]),e._v(" 和 "),n("code",[e._v("close")]),e._v(" 方法,支持手动打开和关闭 SubMenu,#7412")])])]),n("li",[e._v("Form\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("inline-message")]),e._v(" 属性,设置后校验信息会以行内样式显示 #7032")]),n("li",[e._v("新增 "),n("code",[e._v("status-icon")]),e._v(" 属性,用于在输入框中显示校验结果反馈图标 #7032")]),n("li",[e._v("Form 和 FormItem 新增 "),n("code",[e._v("size")]),e._v(" 属性,用于控制表单内组件的尺寸,#7428")]),n("li",[n("code",[e._v("validate")]),e._v(" 方法在不传入 callback 的情况下返回 promise,#7405")]),n("li",[e._v("新增 "),n("code",[e._v("clearValidate")]),e._v(" 方法,用于清空所有表单项的验证信息,#7623")])])]),n("li",[e._v("Input\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("suffix")]),e._v("、"),n("code",[e._v("prefix")]),e._v(" 的 slot,以及 "),n("code",[e._v("suffixIcon")]),e._v("、"),n("code",[e._v("prefixIcon")]),e._v(" 属性,用于给输入框内部增加前置和后置内容 #7032")])])]),n("li",[e._v("Breadcrumb\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("separator-class")]),e._v(" 属性,可使用图标作为分隔符 #7203")])])]),n("li",[e._v("Steps\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("simple")]),e._v(" 属性,用于开启简洁风格的步骤条 #7274")])])]),n("li",[e._v("Pagination\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("prev-text")]),e._v(" 和 "),n("code",[e._v("next-text")]),e._v(" 属性,用于自定义上一页和下一页的文本 #7005")])])]),n("li",[e._v("Loading\n"),n("ul",[n("li",[e._v("配置对象新增 "),n("code",[e._v("spinner")]),e._v(" 和 "),n("code",[e._v("background")]),e._v(" 字段,支持自定义加载图标和背景色,#7390")])])]),n("li",[e._v("Autocomplete\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("debounce")]),e._v(" 属性,#7413")])])]),n("li",[e._v("Upload\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("limit")]),e._v(" 和 "),n("code",[e._v("on-exceed")]),e._v(" 属性,支持对上传文件的个数进行限制,#7405")])])]),n("li",[e._v("DateTimePicker\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("time-arrow-control")]),e._v(" 属性,用于开启时间选择器的 "),n("code",[e._v("arrow-control")]),e._v(",#7438")])])]),n("li",[e._v("Layout\n"),n("ul",[n("li",[e._v("新增断点 "),n("code",[e._v("xl")]),e._v(",适用于宽度大于 1920px 的视口")])])]),n("li",[e._v("Table\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("span-method")]),e._v(" 属性,用于合并行或列")]),n("li",[e._v("新增 "),n("code",[e._v("clearSort")]),e._v(" 方法,用于清空排序状态")]),n("li",[e._v("新增 "),n("code",[e._v("clearFilter")]),e._v(" 方法,用于清空过滤状态")]),n("li",[e._v("对于可展开行,当该行展开时会获得一个 "),n("code",[e._v(".expanded")]),e._v(" 类名,方便自定义样式")]),n("li",[e._v("新增 "),n("code",[e._v("size")]),e._v(" 属性,用于控制表格尺寸")]),n("li",[e._v("新增 "),n("code",[e._v("toggleRowExpansion")]),e._v(" 方法,用于手动展开或关闭行")]),n("li",[e._v("新增 "),n("code",[e._v("cell-class-name")]),e._v(" 属性,用于指定单元格的类名")]),n("li",[e._v("新增 "),n("code",[e._v("cell-style")]),e._v(" 属性,用于指定单元格的样式")]),n("li",[e._v("新增 "),n("code",[e._v("header-row-class-name")]),e._v(" 属性,用于指定表头行的类名")]),n("li",[e._v("新增 "),n("code",[e._v("header-row-style")]),e._v(" 属性,用于指定表头行的样式")]),n("li",[e._v("新增 "),n("code",[e._v("header-cell-class-name")]),e._v(" 属性,用于指定表头单元格的类名")]),n("li",[e._v("新增 "),n("code",[e._v("header-cell-style")]),e._v(" 属性,用于指定表头单元格的样式")]),n("li",[e._v("TableColumn 的 "),n("code",[e._v("prop")]),e._v(" 属性支持 "),n("code",[e._v("object[key]")]),e._v(" 格式")]),n("li",[e._v("TableColumn 新增 "),n("code",[e._v("index")]),e._v(" 属性,用于自定义索引值")])])]),n("li",[e._v("Select\n"),n("ul",[n("li",[e._v("新增 "),n("code",[e._v("reserve-keyword")]),e._v(" 属性,用于在选择某个选项后保留当前的搜索关键词")])])])]),n("h4",{attrs:{id:"xiu-fu-14"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xiu-fu-14","aria-hidden":"true"}},[e._v("¶")]),e._v(" 修复")]),n("ul",[n("li",[e._v("DatePicker\n"),n("ul",[n("li",[e._v("选择周数时,"),n("code",[e._v("v-model")]),e._v(" 结果返回该周第二天的问题 #6038")]),n("li",[e._v("在 "),n("code",[e._v("daterange")]),e._v(" 类型中,第一次的输入会被清空的问题 #6021")])])]),n("li",[e._v("DateTimePicker\n"),n("ul",[n("li",[e._v("和 TimePicker 相互影响的问题 #6090")]),n("li",[e._v("选择时间小时和秒可超出限制的问题 #6076")])])]),n("li",[e._v("TimePicker\n"),n("ul",[n("li",[e._v("失去焦点时无法正确改变 "),n("code",[e._v("v-model")]),e._v(" 值的问题 #6023")])])]),n("li",[e._v("Dialog\n"),n("ul",[n("li",[e._v("当含有下拉框时,下拉框的打开和关闭会造成文字虚晃的问题 #6088")])])]),n("li",[e._v("Select\n"),n("ul",[n("li",[e._v("提升性能,修复组件销毁时可能导致 Vue dev-tool 卡死的问题 #6151")])])]),n("li",[e._v("Table\n"),n("ul",[n("li",[e._v("修复 Table 在父元素从 "),n("code",[e._v("display: none")]),e._v(" 变成其他状态时会隐藏的问题")]),n("li",[e._v("修复 Table 在父元素为 "),n("code",[e._v("display: flex")]),e._v(" 时可能出现的宽度逐渐变大的问题")]),n("li",[e._v("修复 "),n("code",[e._v("append")]),e._v(" 具名 slot 和固定列并存时,动态获取表格数据会导致固定列消失的问题")]),n("li",[e._v("修复 "),n("code",[e._v("expand-row-keys")]),e._v(" 属性初始化无效的问题")]),n("li",[e._v("修复 "),n("code",[e._v("data")]),e._v(" 改变时过滤条件失效的问题")]),n("li",[e._v("修复多级表头时固定列隐藏情况计算错误的问题")]),n("li",[e._v("修复 "),n("code",[e._v("max-height")]),e._v(" 变更后无法恢复的问题")]),n("li",[e._v("修复一些样式上的计算错误")])])])]),n("h4",{attrs:{id:"fei-jian-rong-xing-geng-xin-2"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#fei-jian-rong-xing-geng-xin-2","aria-hidden":"true"}},[e._v("¶")]),e._v(" 非兼容性更新")]),n("ul",[n("li",[e._v("综合\n"),n("ul",[n("li",[e._v("移除 "),n("code",[e._v("theme-default")])]),n("li",[e._v("最低兼容 Vue 2.5.2 和 IE 10")]),n("li",[e._v("表单组件的 "),n("code",[e._v("change")]),e._v(" 事件和 Pagination 的 "),n("code",[e._v("current-change")]),e._v(" 事件现在仅响应用户交互")]),n("li",[e._v("Button 和表单组件的 "),n("code",[e._v("size")]),e._v(" 属性现在可接受 "),n("code",[e._v("medium")]),e._v("、"),n("code",[e._v("small")]),e._v(" 和 "),n("code",[e._v("mini")])]),n("li",[e._v("为了方便使用第三方图标,Button 的 "),n("code",[e._v("icon")]),e._v(" 属性、Input 的 "),n("code",[e._v("prefix-icon")]),e._v(" 和 "),n("code",[e._v("suffix-icon")]),e._v(" 属性、Steps 的 "),n("code",[e._v("icon")]),e._v(" 属性现在需要传入完整的图标类名")])])]),n("li",[e._v("Dialog\n"),n("ul",[n("li",[e._v("移除 "),n("code",[e._v("size")]),e._v(" 属性。现在 Dialog 的尺寸由 "),n("code",[e._v("width")]),e._v(" 和 "),n("code",[e._v("fullscreen")]),e._v(" 控制")]),n("li",[e._v("移除通过 "),n("code",[e._v("v-model")]),e._v(" 控制 Dialog 显示和隐藏的功能")])])]),n("li",[e._v("Rate\n"),n("ul",[n("li",[n("code",[e._v("text-template")]),e._v(" 属性更名为 "),n("code",[e._v("score-template")])])])]),n("li",[e._v("Dropdown\n"),n("ul",[n("li",[n("code",[e._v("menu-align")]),e._v(" 属性变更为 "),n("code",[e._v("placement")]),e._v(",增加更多方位属性")])])]),n("li",[e._v("Transfer\n"),n("ul",[n("li",[n("code",[e._v("footer-format")]),e._v(" 属性更名为 "),n("code",[e._v("format")])])])]),n("li",[e._v("Switch\n"),n("ul",[n("li",[e._v("由于 "),n("code",[e._v("on-*")]),e._v(" 属性在 JSX 中会被识别为事件,导致 Switch 所有 "),n("code",[e._v("on-*")]),e._v(" 属性在 JSX 中无法正常工作,所以 "),n("code",[e._v("on-*")]),e._v(" 属性更名为 "),n("code",[e._v("active-*")]),e._v(",对应地,"),n("code",[e._v("off-*")]),e._v(" 属性更名为 "),n("code",[e._v("inactive-*")]),e._v("。受到影响的属性有:"),n("code",[e._v("on-icon-class")]),e._v("、"),n("code",[e._v("off-icon-class")]),e._v("、"),n("code",[e._v("on-text")]),e._v("、"),n("code",[e._v("off-text")]),e._v("、"),n("code",[e._v("on-color")]),e._v("、"),n("code",[e._v("off-color")]),e._v("、"),n("code",[e._v("on-value")]),e._v("、"),n("code",[e._v("off-value")])]),n("li",[n("code",[e._v("active-text")]),e._v(" 和 "),n("code",[e._v("inactive-text")]),e._v(" 属性不再有默认值")])])]),n("li",[e._v("Tag\n"),n("ul",[n("li",[n("code",[e._v("type")]),e._v(" 属性现在支持 "),n("code",[e._v("success")]),e._v("、"),n("code",[e._v("info")]),e._v("、"),n("code",[e._v("warning")]),e._v(" 和 "),n("code",[e._v("danger")]),e._v(" 四个值")])])]),n("li",[e._v("Menu\n"),n("ul",[n("li",[e._v("移除 "),n("code",[e._v("theme")]),e._v(" 属性。现在通过 "),n("code",[e._v("background-color")]),e._v("、"),n("code",[e._v("text-color")]),e._v(" 和 "),n("code",[e._v("active-text-color")]),e._v(" 属性进行颜色的自定义")])])]),n("li",[e._v("Input\n"),n("ul",[n("li",[e._v("移除 "),n("code",[e._v("icon")]),e._v(" 属性。现在通过 "),n("code",[e._v("suffix-icon")]),e._v(" 属性或者 "),n("code",[e._v("suffix")]),e._v(" 具名 slot 来加入尾部图标")]),n("li",[e._v("移除 "),n("code",[e._v("on-icon-click")]),e._v(" 属性和 "),n("code",[e._v("click")]),e._v(" 事件。现在如果需要为输入框中的图标添加点击事件,请以具名 slot 的方式添加图标")]),n("li",[n("code",[e._v("change")]),e._v(" 事件现在仅在输入框失去焦点或用户按下回车时触发,与原生 input 元素一致。如果需要实时响应用户的输入,可以使用 "),n("code",[e._v("input")]),e._v(" 事件")])])]),n("li",[e._v("Autocomplete\n"),n("ul",[n("li",[e._v("移除 "),n("code",[e._v("custom-item")]),e._v(" 属性。现在通过 "),n("code",[e._v("scoped slot")]),e._v(" 自定义输入建议列表项的内容")]),n("li",[e._v("移除 "),n("code",[e._v("props")]),e._v(" 属性,现在使用 "),n("code",[e._v("value-key")]),e._v(" 属性指定输入建议对象中用于显示的键名")])])]),n("li",[e._v("Steps\n"),n("ul",[n("li",[e._v("移除 "),n("code",[e._v("center")]),e._v(" 属性")]),n("li",[e._v("现在步骤条将默认充满父容器")])])]),n("li",[e._v("DatePicker\n"),n("ul",[n("li",[n("code",[e._v("change")]),e._v(" 事件参数现在为组件的绑定值,格式由 "),n("code",[e._v("value-format")]),e._v(" 控制")])])]),n("li",[e._v("Table\n"),n("ul",[n("li",[e._v("移除通过 "),n("code",[e._v("inline-template")]),e._v(" 自定义列模板的功能")]),n("li",[n("code",[e._v("sort-method")]),e._v(" 现在和 "),n("code",[e._v("Array.sort")]),e._v(" 保持一致的逻辑,要求返回一个数字")]),n("li",[e._v("将 "),n("code",[e._v("append")]),e._v(" slot 移至 "),n("code",[e._v("tbody")]),e._v(" 元素以外,以保证其只被渲染一次")]),n("li",[n("code",[e._v("expand")]),e._v(" 事件更名为 "),n("code",[e._v("expand-change")]),e._v(",以保证 API 的命名一致性")]),n("li",[n("code",[e._v("row-class-name")]),e._v(" 和 "),n("code",[e._v("row-style")]),e._v(" 的函数参数改为对象,以保证 API 的一致性")])])])]),n("h2",{attrs:{id:""}},[n("a",{staticClass:"header-anchor",attrs:{href:"#","aria-hidden":"true"}},[e._v("¶")])]),n("p",[n("i",[n("sup",[e._v("*")]),e._v(" 在网站上动态渲染任意 HTML 是非常危险的,因为容易导致 "),n("a",{attrs:{href:"https://en.wikipedia.org/wiki/Cross-site_scripting"}},[e._v("XSS 攻击")]),e._v("。因此请在 "),n("code",[e._v("dangerouslyUseHTMLString")]),e._v(" 打开的情况下,确保 "),n("code",[e._v("message")]),e._v(" 的内容是可信的,"),n("strong",[e._v("永远不要")]),e._v("将用户提交的内容赋值给 "),n("code",[e._v("message")]),e._v(" 属性。")])])])}],!1,null,null,null);l.options.__file="CHANGELOG.zh-CN.md";var r={components:{ChangeLog:l.exports},data:function(){return{count:3}},mounted:function(){var e=this.$refs.changeLog,t=e.$el.children,n=t[1].querySelector("a");n&&n.remove();for(var a=t[1].textContent.trim(),l='
  • '+a+"

    ",r=t.length,i=2;i
  • '+a+"

    "}l=(l=l.replace(/#(\d+)/g,'#$1')).replace(/@(\w+)/g,'@$1'),this.$refs.timeline.innerHTML=l+"
  • ",e.$el.remove()}},i=(n(275),Object(a.a)(r,function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"page-changelog"},[t("div",{staticClass:"heading"},[t("el-button",{staticClass:"fr"},[t("a",{attrs:{href:"https://github.com/ElemeFE/element/releases",target:"_blank"}},[this._v("GitHub Releases")])]),this._v("\n 更新日志\n ")],1),t("ul",{ref:"timeline",staticClass:"timeline"}),t("change-log",{ref:"changeLog"})],1)},[],!1,null,null,null));i.options.__file="changelog.vue";t.default=i.exports},376:function(e,t,n){"use strict";n.r(t);var a=Object.assign||function(e){for(var t=1;t\n 点击上传\n
    只能上传jpg/png文件,且不超过500kb
    \n\n - +