diff --git a/CHANGELOG.md b/CHANGELOG.md index f0fd8fa..d5f1b8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## Changelog +### 1.2.1 + +_2024-05-27_ + +- 去除分组最后一个分割线 + ### 1.2.0 _2024-05-25_ diff --git a/docs/assets/index-BYQQjEu9.js b/docs/assets/index-8SO6-GY8.js similarity index 99% rename from docs/assets/index-BYQQjEu9.js rename to docs/assets/index-8SO6-GY8.js index 3fafef0..b3a2651 100644 --- a/docs/assets/index-BYQQjEu9.js +++ b/docs/assets/index-8SO6-GY8.js @@ -134,4 +134,4 @@ function print() { __p += __j.call(arguments, '') } `+e._s(e.displayCancelButtonText)+` `)]),n("el-button",{attrs:{size:"mini",type:e.confirmButtonType},on:{click:e.confirm}},[e._v(` `+e._s(e.displayConfirmButtonText)+` - `)])],1)]),e._t("reference",null,{slot:"reference"})],2)},IP=[];i0._withStripped=!0;var MP=o(45),NP=o.n(MP),AP={name:"ElPopconfirm",props:{title:{type:String},confirmButtonText:{type:String},cancelButtonText:{type:String},confirmButtonType:{type:String,default:"primary"},cancelButtonType:{type:String,default:"text"},icon:{type:String,default:"el-icon-question"},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1}},components:{ElPopover:NP.a,ElButton:se.a},data:function(){return{visible:!1}},computed:{displayConfirmButtonText:function(){return this.confirmButtonText||Object(zn.t)("el.popconfirm.confirmButtonText")},displayCancelButtonText:function(){return this.cancelButtonText||Object(zn.t)("el.popconfirm.cancelButtonText")}},methods:{confirm:function(){this.visible=!1,this.$emit("confirm")},cancel:function(){this.visible=!1,this.$emit("cancel")}}},FP=AP,r0=g(FP,i0,IP,!1,null,null,null);r0.options.__file="packages/popconfirm/src/main.vue";var Wp=r0.exports;Wp.install=function(e){e.component(Wp.name,Wp)};var a0=Wp,s0=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.uiLoading?[n("div",e._b({class:["el-skeleton",e.animated?"is-animated":""]},"div",e.$attrs,!1),[e._l(e.count,function(a){return[e.loading?e._t("template",e._l(e.rows,function(c){return n("el-skeleton-item",{key:a+"-"+c,class:{"el-skeleton__paragraph":c!==1,"is-first":c===1,"is-last":c===e.rows&&e.rows>1},attrs:{variant:"p"}})})):e._e()]})],2)]:[e._t("default",null,null,e.$attrs)]],2)},RP=[];s0._withStripped=!0;var LP={name:"ElSkeleton",props:{animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:4},loading:{type:Boolean,default:!0},throttle:{type:Number,default:0}},watch:{loading:{handler:function(t){var n=this;if(this.throttle<=0){this.uiLoading=t;return}t?(clearTimeout(this.timeoutHandle),this.timeoutHandle=setTimeout(function(){n.uiLoading=n.loading},this.throttle)):this.uiLoading=t},immediate:!0}},data:function(){return{uiLoading:this.throttle<=0?this.loading:!1}}},jP=LP,o0=g(jP,s0,RP,!1,null,null,null);o0.options.__file="packages/skeleton/src/index.vue";var qp=o0.exports;qp.install=function(e){e.component(qp.name,qp)};var l0=qp,u0=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-skeleton__item","el-skeleton__"+e.variant]},[e.variant==="image"?n("img-placeholder"):e._e()],1)},zP=[];u0._withStripped=!0;var c0=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M64 896V128h896v768H64z m64-128l192-192 116.352 116.352L640 448l256 307.2V192H128v576z m224-480a96 96 0 1 1-0.064 192.064A96 96 0 0 1 352 288z"}})])},BP=[];c0._withStripped=!0;var VP={name:"ImgPlaceholder"},HP=VP,f0=g(HP,c0,BP,!1,null,null,null);f0.options.__file="packages/skeleton/src/img-placeholder.vue";var d0=f0.exports,Ib,WP={name:"ElSkeletonItem",props:{variant:{type:String,default:"text"}},components:(Ib={},Ib[d0.name]=d0,Ib)},qP=WP,h0=g(qP,u0,zP,!1,null,null,null);h0.options.__file="packages/skeleton/src/item.vue";var Up=h0.exports;Up.install=function(e){e.component(Up.name,Up)};var p0=Up,v0=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-empty"},[n("div",{staticClass:"el-empty__image",style:e.imageStyle},[e.image?n("img",{attrs:{src:e.image,ondragstart:"return false"}}):e._t("image",[n("img-empty")])],2),n("div",{staticClass:"el-empty__description"},[e.$slots.description?e._t("description"):n("p",[e._v(e._s(e.emptyDescription))])],2),e.$slots.default?n("div",{staticClass:"el-empty__bottom"},[e._t("default")],2):e._e()])},UP=[];v0._withStripped=!0;var m0=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[n("defs",[n("linearGradient",{attrs:{id:"linearGradient-1-"+e.id,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"}},[n("stop",{attrs:{"stop-color":"#FCFCFD",offset:"0%"}}),n("stop",{attrs:{"stop-color":"#EEEFF3",offset:"100%"}})],1),n("linearGradient",{attrs:{id:"linearGradient-2-"+e.id,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"}},[n("stop",{attrs:{"stop-color":"#FCFCFD",offset:"0%"}}),n("stop",{attrs:{"stop-color":"#E9EBEF",offset:"100%"}})],1),n("rect",{attrs:{id:"path-3-"+e.id,x:"0",y:"0",width:"17",height:"36"}})],1),n("g",{attrs:{id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[n("g",{attrs:{id:"B-type",transform:"translate(-1268.000000, -535.000000)"}},[n("g",{attrs:{id:"Group-2",transform:"translate(1268.000000, 535.000000)"}},[n("path",{attrs:{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:"#F7F8FC"}}),n("polygon",{attrs:{id:"Rectangle-Copy-14",fill:"#E5E7E9",transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"}}),n("g",{attrs:{id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"}},[n("polygon",{attrs:{id:"Rectangle-Copy-10",fill:"#E5E7E9",transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"}}),n("polygon",{attrs:{id:"Rectangle-Copy-11",fill:"#EDEEF2",points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"}}),n("rect",{attrs:{id:"Rectangle-Copy-12",fill:"url(#linearGradient-1-"+e.id+")",transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"}}),n("polygon",{attrs:{id:"Rectangle-Copy-13",fill:"#F8F9FB",transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"}})]),n("rect",{attrs:{id:"Rectangle-Copy-15",fill:"url(#linearGradient-2-"+e.id+")",x:"13",y:"45",width:"40",height:"36"}}),n("g",{attrs:{id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"}},[n("mask",{attrs:{id:"mask-4-"+e.id,fill:"white"}},[n("use",{attrs:{"xlink:href":"#path-3-"+e.id}})]),n("use",{attrs:{id:"Mask",fill:"#E0E3E9",transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":"#path-3-"+e.id}}),n("polygon",{attrs:{id:"Rectangle-Copy",fill:"#D5D7DE",mask:"url(#mask-4-"+e.id+")",transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 -1.70530257e-13 16"}})]),n("polygon",{attrs:{id:"Rectangle-Copy-18",fill:"#F8F9FB",transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"}})])])])])},KP=[];m0._withStripped=!0;var GP=0,YP={name:"ImgEmpty",data:function(){return{id:++GP}}},XP=YP,g0=g(XP,m0,KP,!1,null,null,null);g0.options.__file="packages/empty/src/img-empty.vue";var _0=g0.exports,Mb,ZP={name:"ElEmpty",components:(Mb={},Mb[_0.name]=_0,Mb),props:{image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}},computed:{emptyDescription:function(){return this.description||Object(zn.t)("el.empty.description")},imageStyle:function(){return{width:this.imageSize?this.imageSize+"px":""}}}},JP=ZP,y0=g(JP,v0,UP,!1,null,null,null);y0.options.__file="packages/empty/src/index.vue";var Kp=y0.exports;Kp.install=function(e){e.component(Kp.name,Kp)};var b0=Kp,QP=Object.assign||function(e){for(var t=1;t3&&arguments[3]!==void 0?arguments[3]:!1;return t.props||(t.props={}),n>a&&(t.props.span=a),c&&(t.props.span=a),t},getRows:function(){var t=this,n=(this.$slots.default||[]).filter(function(x){return x.tag&&x.componentOptions&&x.componentOptions.Ctor.options.name==="ElDescriptionsItem"}),a=n.map(function(x){return{props:t.getOptionProps(x),slots:t.getSlots(x),vnode:x}}),c=[],h=[],m=this.column;return a.forEach(function(x,T){var R=x.props.span||1;if(T===n.length-1){h.push(t.filledNode(x,R,m,!0)),c.push(h);return}R1&&arguments[1]!==void 0?arguments[1]:{};Pi.a.use(n.locale),Pi.a.i18n(n.i18n),vI.forEach(function(a){t.component(a.name,a)}),t.use(NS),t.use(Hu.directive),t.prototype.$ELEMENT={size:n.size||"",zIndex:n.zIndex||2e3},t.prototype.$loading=Hu.service,t.prototype.$msgbox=qr,t.prototype.$alert=qr.alert,t.prototype.$confirm=qr.confirm,t.prototype.$prompt=qr.prompt,t.prototype.$notify=Vu,t.prototype.$message=Yu};typeof window<"u"&&window.Vue&&z0(window.Vue),s.default={version:"2.15.14",locale:Pi.a.use,i18n:Pi.a.i18n,install:z0,CollapseTransition:fa.a,Loading:Hu,Pagination:D,Dialog:Ee,Autocomplete:Jt,Dropdown:vt,DropdownMenu:Gc,DropdownItem:Qc,Menu:Sl,Submenu:rf,MenuItem:kl,MenuItemGroup:El,Input:Ml,InputNumber:gf,Radio:bf,RadioGroup:xf,RadioButton:Rs,Checkbox:jl,CheckboxButton:ma,CheckboxGroup:Df,Switch:Vl,Select:_a,Option:Ff,OptionGroup:jf,Button:De,ButtonGroup:wn,Table:Yf,TableColumn:Xf,DatePicker:gd,TimeSelect:Ti,TimePicker:yu,Popover:Cu,Tooltip:Zn,MessageBox:qr,Breadcrumb:Pd,BreadcrumbItem:Ie,Form:Gt,FormItem:Ad,Tabs:Mu,TabPane:Kd,Tag:Au,Tree:eh,Alert:ih,Notification:Vu,Slider:dh,Icon:No,Row:qu,Col:Sh,Upload:Eh,Progress:Ga,Spinner:Mh,Message:Yu,Badge:it,Card:Vh,Rate:qh,Steps:Kh,Step:Ju,Carousel:Qu,Scrollbar:mr,CarouselItem:Qh,Collapse:np,CollapseItem:ap,Cascader:cp,ColorPicker:Z,Transfer:Ai,Container:Hw,Header:Uw,Aside:Yw,Main:Jw,Footer:tS,Timeline:iS,TimelineItem:sS,Link:uS,Divider:dS,Image:bS,Calendar:kS,Backtop:ES,InfiniteScroll:NS,PageHeader:RS,CascaderPanel:GS,Avatar:XS,Drawer:QS,Statistic:n0,Popconfirm:a0,Skeleton:l0,SkeletonItem:p0,Empty:b0,Descriptions:x0,DescriptionsItem:w0,Result:j0}}]).default})(M$);var hz=M$.exports;const pz=ow(hz);function vz(){var i=window.navigator.userAgent,r=i.indexOf("MSIE ");if(r>0)return parseInt(i.substring(r+5,i.indexOf(".",r)),10);var s=i.indexOf("Trident/");if(s>0){var o=i.indexOf("rv:");return parseInt(i.substring(o+3,i.indexOf(".",o)),10)}var u=i.indexOf("Edge/");return u>0?parseInt(i.substring(u+5,i.indexOf(".",u)),10):-1}var Vv=void 0;function xx(){xx.init||(xx.init=!0,Vv=vz()!==-1)}var wx={render:function(){var r=this,s=r.$createElement,o=r._self._c||s;return o("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},staticRenderFns:[],_scopeId:"data-v-b329ee4c",name:"resize-observer",methods:{compareAndNotify:function(){(this._w!==this.$el.offsetWidth||this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.$emit("notify"))},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!Vv&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),delete this._resizeObject.onload)}},mounted:function(){var r=this;xx(),this.$nextTick(function(){r._w=r.$el.offsetWidth,r._h=r.$el.offsetHeight});var s=document.createElement("object");this._resizeObject=s,s.setAttribute("aria-hidden","true"),s.setAttribute("tabindex",-1),s.onload=this.addResizeHandlers,s.type="text/html",Vv&&this.$el.appendChild(s),s.data="about:blank",Vv||this.$el.appendChild(s)},beforeDestroy:function(){this.removeResizeHandlers()}};function mz(i){i.component("resize-observer",wx),i.component("ResizeObserver",wx)}var gz={version:"0.4.5",install:mz},om=null;typeof window<"u"?om=window.Vue:typeof global<"u"&&(om=global.Vue);om&&om.use(gz);function Hv(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Hv=function(r){return typeof r}:Hv=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Hv(i)}function _z(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}function EO(i,r){for(var s=0;s2&&arguments[2]!==void 0?arguments[2]:{},o,u,d,p=function(g){for(var k=arguments.length,P=new Array(k>1?k-1:0),$=1;$1){var k=y.find(function($){return $.isIntersecting});k&&(g=k)}if(u.callback){var P=g.isIntersecting&&g.intersectionRatio>=u.threshold;if(P===u.oldResult)return;u.oldResult=P,u.callback(P,g)}},this.options.intersection),o.context.$nextTick(function(){u.observer&&u.observer.observe(u.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&this.options.intersection.threshold||0}}]),i}();function OE(i,r,s){var o=r.value;if(o)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var u=new kz(i,o,s);i._vue_visibilityState=u}}function Oz(i,r,s){var o=r.value,u=r.oldValue;if(!kE(o,u)){var d=i._vue_visibilityState;if(!o){DE(i);return}d?d.createObserver(o,s):OE(i,{value:o},s)}}function DE(i){var r=i._vue_visibilityState;r&&(r.destroyObserver(),delete i._vue_visibilityState)}var $E={bind:OE,update:Oz,unbind:DE};function Dz(i){i.directive("observe-visibility",$E)}var $z={version:"0.4.6",install:Dz},lm=null;typeof window<"u"?lm=window.Vue:typeof global<"u"&&(lm=global.Vue);lm&&lm.use($z);var EE={exports:{}};(function(i){(function(r,s){i.exports?i.exports=s():r.Scrollparent=s()})(Qi,function(){function r(o){var u=getComputedStyle(o,null).getPropertyValue("overflow");return u.indexOf("scroll")>-1||u.indexOf("auto")>-1}function s(o){if(o instanceof HTMLElement||o instanceof SVGElement){for(var u=o.parentNode;u.parentNode;){if(r(u))return u;u=u.parentNode}return document.scrollingElement||document.documentElement}}return s})})(EE);var Ez=EE.exports;const PO=ow(Ez);var TE={itemsLimit:1e3};const PE={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:i=>["vertical","horizontal"].includes(i)},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"}};function IE(){return this.items.length&&typeof this.items[0]!="object"}let Sx=!1;if(typeof window<"u"){Sx=!1;try{var Tz=Object.defineProperty({},"passive",{get(){Sx=!0}});window.addEventListener("test",null,Tz)}catch{}}let Pz=0;var Iz={name:"RecycleScroller",components:{ResizeObserver:wx},directives:{ObserveVisibility:$E},props:{...PE,itemSize:{type:Number,default:null},gridItems:{type:Number,default:void 0},itemSecondarySize:{type:Number,default:void 0},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1},skipHover:{type:Boolean,default:!1},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"},listClass:{type:[String,Object,Array],default:""},itemClass:{type:[String,Object,Array],default:""}},data(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes(){if(this.itemSize===null){const i={"-1":{accumulator:0}},r=this.items,s=this.sizeField,o=this.minItemSize;let u=1e4,d=0,p;for(let y=0,g=r.length;y{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const i=this.$_lastUpdateScrollPosition;typeof i=="number"&&this.$nextTick(()=>{this.scrollToPosition(i)})},beforeDestroy(){this.removeListeners()},methods:{addView(i,r,s,o,u){const d={item:s,position:0},p={id:Pz++,index:r,used:!0,key:o,type:u};return Object.defineProperty(d,"nr",{configurable:!1,value:p}),i.push(d),d},unuseView(i,r=!1){const s=this.$_unusedViews,o=i.nr.type;let u=s.get(o);u||(u=[],s.set(o,u)),u.push(i),r||(i.nr.used=!1,i.position=-9999,this.$_views.delete(i.nr.key))},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(i){this.$_scrollDirty||(this.$_scrollDirty=!0,requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:r}=this.updateVisibleItems(!1,!0);r||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,100))}))},handleVisibilityChange(i,r){this.ready&&(i||r.boundingClientRect.width!==0||r.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(i,r=!1){const s=this.itemSize,o=this.gridItems||1,u=this.itemSecondarySize||s,d=this.$_computedMinItemSize,p=this.typeField,y=this.simpleArray?null:this.keyField,g=this.items,k=g.length,P=this.sizes,$=this.$_views,E=this.$_unusedViews,b=this.pool;let S,j,N,O,M;if(!k)S=j=O=M=N=0;else if(this.$_prerender)S=O=0,j=M=Math.min(this.prerender,g.length),N=null;else{const ue=this.getScroll();if(r){let V=ue.start-this.$_lastUpdateScrollPosition;if(V<0&&(V=-V),s===null&&Vue.start&&(ye=xe),xe=~~((oe+ye)/2);while(xe!==Oe);for(xe<0&&(xe=0),S=xe,N=P[k-1].accumulator,j=xe;jk&&(j=k)),O=S;Ok&&(j=k),O<0&&(O=0),M>k&&(M=k),N=Math.ceil(k/o)*s}}j-S>TE.itemsLimit&&this.itemsLimitError(),this.totalSize=N;let _;const w=S<=this.$_endIndex&&j>=this.$_startIndex;if(this.$_continuous!==w){if(w){$.clear(),E.clear();for(let ue=0,Ce=b.length;ue=j)&&this.unuseView(_));const D=w?null:new Map;let L,A,H,de;for(let ue=S;ue=H.length)&&(_=this.addView(b,ue,L,Ce,A),this.unuseView(_,!0),H=E.get(A)),_=H[de],_.item=L,_.nr.used=!0,_.nr.index=ue,_.nr.key=Ce,_.nr.type=A,D.set(A,de+1),de++),$.set(Ce,_)),s===null?(_.position=P[ue-1].accumulator,_.offset=0):(_.position=Math.floor(ue/o)*s,_.offset=ue%o*u)}return this.$_startIndex=S,this.$_endIndex=j,this.emitUpdate&&this.$emit("update",S,j,O,M),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,300),{continuous:w}},getListenerTarget(){let i=PO(this.$el);return window.document&&(i===window.document.documentElement||i===window.document.body)&&(i=window),i},getScroll(){const{$el:i,direction:r}=this,s=r==="vertical";let o;if(this.pageMode){const u=i.getBoundingClientRect(),d=s?u.height:u.width;let p=-(s?u.top:u.left),y=s?window.innerHeight:window.innerWidth;p<0&&(y+=p,p=0),p+y>d&&(y=d-p),o={start:p,end:p+y}}else s?o={start:i.scrollTop,end:i.scrollTop+i.clientHeight}:o={start:i.scrollLeft,end:i.scrollLeft+i.clientWidth};return o},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,Sx?{passive:!0}:!1),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(i){let r;this.itemSize===null?r=i>0?this.sizes[i-1].accumulator:0:r=Math.floor(i/this.gridItems)*this.itemSize,this.scrollToPosition(r)},scrollToPosition(i){const r=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let s,o,u;if(this.pageMode){const d=PO(this.$el),p=d.tagName==="HTML"?0:d[r.scroll],y=d.getBoundingClientRect(),k=this.$el.getBoundingClientRect()[r.start]-y[r.start];s=d,o=r.scroll,u=i+p+k}else s=this.$el,o=r.scroll,u=i;s[o]=u},itemsLimitError(){throw setTimeout(()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((i,r)=>i.nr.index-r.nr.index)}}};function Lw(i,r,s,o,u,d,p,y,g,k){typeof p!="boolean"&&(g=y,y=p,p=!1);const P=typeof s=="function"?s.options:s;i&&i.render&&(P.render=i.render,P.staticRenderFns=i.staticRenderFns,P._compiled=!0,u&&(P.functional=!0)),o&&(P._scopeId=o);let $;if(d?($=function(E){E=E||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!E&&typeof __VUE_SSR_CONTEXT__<"u"&&(E=__VUE_SSR_CONTEXT__),r&&r.call(this,g(E)),E&&E._registeredComponents&&E._registeredComponents.add(d)},P._ssrRegister=$):r&&($=p?function(E){r.call(this,k(E,this.$root.$options.shadowRoot))}:function(E){r.call(this,y(E))}),$)if(P.functional){const E=P.render;P.render=function(S,j){return $.call(j),E(S,j)}}else{const E=P.beforeCreate;P.beforeCreate=E?[].concat(E,$):[$]}return s}const Mz=Iz;var ME=function(){var i,r,s=this,o=s.$createElement,u=s._self._c||o;return u("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:s.handleVisibilityChange,expression:"handleVisibilityChange"}],staticClass:"vue-recycle-scroller",class:(i={ready:s.ready,"page-mode":s.pageMode},i["direction-"+s.direction]=!0,i),on:{"&scroll":function(d){return s.handleScroll.apply(null,arguments)}}},[s.$slots.before?u("div",{ref:"before",staticClass:"vue-recycle-scroller__slot"},[s._t("before")],2):s._e(),s._v(" "),u(s.listTag,{ref:"wrapper",tag:"component",staticClass:"vue-recycle-scroller__item-wrapper",class:s.listClass,style:(r={},r[s.direction==="vertical"?"minHeight":"minWidth"]=s.totalSize+"px",r)},[s._l(s.pool,function(d){return u(s.itemTag,s._g({key:d.nr.id,tag:"component",staticClass:"vue-recycle-scroller__item-view",class:[s.itemClass,{hover:!s.skipHover&&s.hoverKey===d.nr.key}],style:s.ready?{transform:"translate"+(s.direction==="vertical"?"Y":"X")+"("+d.position+"px) translate"+(s.direction==="vertical"?"X":"Y")+"("+d.offset+"px)",width:s.gridItems?(s.direction==="vertical"&&s.itemSecondarySize||s.itemSize)+"px":void 0,height:s.gridItems?(s.direction==="horizontal"&&s.itemSecondarySize||s.itemSize)+"px":void 0}:null},s.skipHover?{}:{mouseenter:function(){s.hoverKey=d.nr.key},mouseleave:function(){s.hoverKey=null}}),[s._t("default",null,{item:d.item,index:d.nr.index,active:d.nr.used})],2)}),s._v(" "),s._t("empty")],2),s._v(" "),s.$slots.after?u("div",{ref:"after",staticClass:"vue-recycle-scroller__slot"},[s._t("after")],2):s._e(),s._v(" "),u("ResizeObserver",{on:{notify:s.handleResize}})],1)},Nz=[];ME._withStripped=!0;const Az=void 0,Fz=void 0,Rz=void 0,Lz=!1,um=Lw({render:ME,staticRenderFns:Nz},Az,Mz,Fz,Lz,Rz,!1,void 0,void 0,void 0);var jz={name:"DynamicScroller",components:{RecycleScroller:um},provide(){return typeof ResizeObserver<"u"&&(this.$_resizeObserver=new ResizeObserver(i=>{requestAnimationFrame(()=>{if(Array.isArray(i)){for(const r of i)if(r.target){const s=new CustomEvent("resize",{detail:{contentRect:r.contentRect}});r.target.dispatchEvent(s)}}})})),{vscrollData:this.vscrollData,vscrollParent:this,vscrollResizeObserver:this.$_resizeObserver}},inheritAttrs:!1,props:{...PE,minItemSize:{type:[Number,String],required:!0}},data(){return{vscrollData:{active:!0,sizes:{},validSizes:{},keyField:this.keyField,simpleArray:!1}}},computed:{simpleArray:IE,itemsWithSize(){const i=[],{items:r,keyField:s,simpleArray:o}=this,u=this.vscrollData.sizes,d=r.length;for(let p=0;p"u"&&!this.$_undefinedMap[g]&&(k=0),i.push({item:y,id:g,size:k})}return i},listeners(){const i={};for(const r in this.$listeners)r!=="resize"&&r!=="visible"&&(i[r]=this.$listeners[r]);return i}},watch:{items(){this.forceUpdate(!1)},simpleArray:{handler(i){this.vscrollData.simpleArray=i},immediate:!0},direction(i){this.forceUpdate(!0)},itemsWithSize(i,r){const s=this.$el.scrollTop;let o=0,u=0;const d=Math.min(i.length,r.length);for(let y=0;y=s);y++)o+=r[y].size||this.minItemSize,u+=i[y].size||this.minItemSize;const p=u-o;p!==0&&(this.$el.scrollTop+=p)}},beforeCreate(){this.$_updates=[],this.$_undefinedSizes=0,this.$_undefinedMap={}},activated(){this.vscrollData.active=!0},deactivated(){this.vscrollData.active=!1},methods:{onScrollerResize(){this.$refs.scroller&&this.forceUpdate(),this.$emit("resize")},onScrollerVisible(){this.$emit("vscroll:update",{force:!1}),this.$emit("visible")},forceUpdate(i=!0){(i||this.simpleArray)&&(this.vscrollData.validSizes={}),this.$emit("vscroll:update",{force:!0})},scrollToItem(i){const r=this.$refs.scroller;r&&r.scrollToItem(i)},getItemSize(i,r=void 0){const s=this.simpleArray?r??this.items.indexOf(i):i[this.keyField];return this.vscrollData.sizes[s]||0},scrollToBottom(){if(this.$_scrollingToBottom)return;this.$_scrollingToBottom=!0;const i=this.$el;this.$nextTick(()=>{i.scrollTop=i.scrollHeight+5e3;const r=()=>{i.scrollTop=i.scrollHeight+5e3,requestAnimationFrame(()=>{i.scrollTop=i.scrollHeight+5e3,this.$_undefinedSizes===0?this.$_scrollingToBottom=!1:requestAnimationFrame(r)})};requestAnimationFrame(r)})}}};const zz=jz;var NE=function(){var i=this,r=i.$createElement,s=i._self._c||r;return s("RecycleScroller",i._g(i._b({ref:"scroller",attrs:{items:i.itemsWithSize,"min-item-size":i.minItemSize,direction:i.direction,"key-field":"id","list-tag":i.listTag,"item-tag":i.itemTag},on:{resize:i.onScrollerResize,visible:i.onScrollerVisible},scopedSlots:i._u([{key:"default",fn:function(o){var u=o.item,d=o.index,p=o.active;return[i._t("default",null,null,{item:u.item,index:d,active:p,itemWithSize:u})]}}],null,!0)},"RecycleScroller",i.$attrs,!1),i.listeners),[i._v(" "),s("template",{slot:"before"},[i._t("before")],2),i._v(" "),s("template",{slot:"after"},[i._t("after")],2),i._v(" "),s("template",{slot:"empty"},[i._t("empty")],2)],2)},Bz=[];NE._withStripped=!0;const Vz=void 0,Hz=void 0,Wz=void 0,qz=!1,IO=Lw({render:NE,staticRenderFns:Bz},Vz,zz,Hz,qz,Wz,!1,void 0,void 0,void 0);var Uz={name:"DynamicScrollerItem",inject:["vscrollData","vscrollParent","vscrollResizeObserver"],props:{item:{required:!0},watchData:{type:Boolean,default:!1},active:{type:Boolean,required:!0},index:{type:Number,default:void 0},sizeDependencies:{type:[Array,Object],default:null},emitResize:{type:Boolean,default:!1},tag:{type:String,default:"div"}},computed:{id(){if(this.vscrollData.simpleArray)return this.index;if(this.item.hasOwnProperty(this.vscrollData.keyField))return this.item[this.vscrollData.keyField];throw new Error(`keyField '${this.vscrollData.keyField}' not found in your item. You should set a valid keyField prop on your Scroller`)},size(){return this.vscrollData.validSizes[this.id]&&this.vscrollData.sizes[this.id]||0},finalActive(){return this.active&&this.vscrollData.active}},watch:{watchData:"updateWatchData",id(){this.size||this.onDataUpdate()},finalActive(i){this.size||(i?this.vscrollParent.$_undefinedMap[this.id]||(this.vscrollParent.$_undefinedSizes++,this.vscrollParent.$_undefinedMap[this.id]=!0):this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=!1)),this.vscrollResizeObserver?i?this.observeSize():this.unobserveSize():i&&this.$_pendingVScrollUpdate===this.id&&this.updateSize()}},created(){if(!this.$isServer&&(this.$_forceNextVScrollUpdate=null,this.updateWatchData(),!this.vscrollResizeObserver)){for(const i in this.sizeDependencies)this.$watch(()=>this.sizeDependencies[i],this.onDataUpdate);this.vscrollParent.$on("vscroll:update",this.onVscrollUpdate),this.vscrollParent.$on("vscroll:update-size",this.onVscrollUpdateSize)}},mounted(){this.vscrollData.active&&(this.updateSize(),this.observeSize())},beforeDestroy(){this.vscrollParent.$off("vscroll:update",this.onVscrollUpdate),this.vscrollParent.$off("vscroll:update-size",this.onVscrollUpdateSize),this.unobserveSize()},methods:{updateSize(){this.finalActive?this.$_pendingSizeUpdate!==this.id&&(this.$_pendingSizeUpdate=this.id,this.$_forceNextVScrollUpdate=null,this.$_pendingVScrollUpdate=null,this.computeSize(this.id)):this.$_forceNextVScrollUpdate=this.id},updateWatchData(){this.watchData&&!this.vscrollResizeObserver?this.$_watchData=this.$watch("item",()=>{this.onDataUpdate()},{deep:!0}):this.$_watchData&&(this.$_watchData(),this.$_watchData=null)},onVscrollUpdate({force:i}){!this.finalActive&&i&&(this.$_pendingVScrollUpdate=this.id),(this.$_forceNextVScrollUpdate===this.id||i||!this.size)&&this.updateSize()},onDataUpdate(){this.updateSize()},computeSize(i){this.$nextTick(()=>{if(this.id===i){const r=this.$el.offsetWidth,s=this.$el.offsetHeight;this.applySize(r,s)}this.$_pendingSizeUpdate=null})},applySize(i,r){const s=~~(this.vscrollParent.direction==="vertical"?r:i);s&&this.size!==s&&(this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=void 0),this.$set(this.vscrollData.sizes,this.id,s),this.$set(this.vscrollData.validSizes,this.id,!0),this.emitResize&&this.$emit("resize",this.id))},observeSize(){!this.vscrollResizeObserver||!this.$el.parentNode||(this.vscrollResizeObserver.observe(this.$el.parentNode),this.$el.parentNode.addEventListener("resize",this.onResize))},unobserveSize(){this.vscrollResizeObserver&&(this.vscrollResizeObserver.unobserve(this.$el.parentNode),this.$el.parentNode.removeEventListener("resize",this.onResize))},onResize(i){const{width:r,height:s}=i.detail.contentRect;this.applySize(r,s)}},render(i){return i(this.tag,this.$slots.default)}};const Kz=Uz,Gz=void 0,Yz=void 0,Xz=void 0,Zz=void 0,MO=Lw({},Gz,Kz,Yz,Zz,Xz,!1,void 0,void 0,void 0);function Jz(i,r){i.component(`${r}recycle-scroller`,um),i.component(`${r}RecycleScroller`,um),i.component(`${r}dynamic-scroller`,IO),i.component(`${r}DynamicScroller`,IO),i.component(`${r}dynamic-scroller-item`,MO),i.component(`${r}DynamicScrollerItem`,MO)}const Qz={version:"1.1.2",install(i,r){const s=Object.assign({},{installComponents:!0,componentsPrefix:""},r);for(const o in s)typeof s[o]<"u"&&(TE[o]=s[o]);s.installComponents&&Jz(i,s.componentsPrefix)}};let cm=null;typeof window<"u"?cm=window.Vue:typeof global<"u"&&(cm=global.Vue);cm&&cm.use(Qz);function eB(){this.__data__=[],this.size=0}var tB=eB;function nB(i,r){return i===r||i!==i&&r!==r}var AE=nB,iB=AE;function rB(i,r){for(var s=i.length;s--;)if(iB(i[s][0],r))return s;return-1}var Rm=rB,aB=Rm,sB=Array.prototype,oB=sB.splice;function lB(i){var r=this.__data__,s=aB(r,i);if(s<0)return!1;var o=r.length-1;return s==o?r.pop():oB.call(r,s,1),--this.size,!0}var uB=lB,cB=Rm;function fB(i){var r=this.__data__,s=cB(r,i);return s<0?void 0:r[s][1]}var dB=fB,hB=Rm;function pB(i){return hB(this.__data__,i)>-1}var vB=pB,mB=Rm;function gB(i,r){var s=this.__data__,o=mB(s,i);return o<0?(++this.size,s.push([i,r])):s[o][1]=r,this}var _B=gB,yB=tB,bB=uB,CB=dB,xB=vB,wB=_B;function gl(i){var r=-1,s=i==null?0:i.length;for(this.clear();++ry))return!1;var k=d.get(i),P=d.get(r);if(k&&P)return k==r&&P==i;var $=-1,E=!0,b=s&uH?new aH:void 0;for(d.set(i,r),d.set(r,i);++$-1&&i%1==0&&i-1&&i%1==0&&i<=y4}var qE=b4,C4=jm,x4=qE,w4=Vm,S4="[object Arguments]",k4="[object Array]",O4="[object Boolean]",D4="[object Date]",$4="[object Error]",E4="[object Function]",T4="[object Map]",P4="[object Number]",I4="[object Object]",M4="[object RegExp]",N4="[object Set]",A4="[object String]",F4="[object WeakMap]",R4="[object ArrayBuffer]",L4="[object DataView]",j4="[object Float32Array]",z4="[object Float64Array]",B4="[object Int8Array]",V4="[object Int16Array]",H4="[object Int32Array]",W4="[object Uint8Array]",q4="[object Uint8ClampedArray]",U4="[object Uint16Array]",K4="[object Uint32Array]",Ct={};Ct[j4]=Ct[z4]=Ct[B4]=Ct[V4]=Ct[H4]=Ct[W4]=Ct[q4]=Ct[U4]=Ct[K4]=!0;Ct[S4]=Ct[k4]=Ct[R4]=Ct[O4]=Ct[L4]=Ct[D4]=Ct[$4]=Ct[E4]=Ct[T4]=Ct[P4]=Ct[I4]=Ct[M4]=Ct[N4]=Ct[A4]=Ct[F4]=!1;function G4(i){return w4(i)&&x4(i.length)&&!!Ct[C4(i)]}var Y4=G4;function X4(i){return function(r){return i(r)}}var Z4=X4,hm={exports:{}};hm.exports;(function(i,r){var s=FE,o=r&&!r.nodeType&&r,u=o&&!0&&i&&!i.nodeType&&i,d=u&&u.exports===o,p=d&&s.process,y=function(){try{var g=u&&u.require&&u.require("util").types;return g||p&&p.binding&&p.binding("util")}catch{}}();i.exports=y})(hm,hm.exports);var J4=hm.exports,Q4=Y4,eW=Z4,qO=J4,UO=qO&&qO.isTypedArray,tW=UO?eW(UO):Q4,UE=tW,nW=t4,iW=d4,rW=Bw,aW=WE,sW=_4,oW=UE,lW=Object.prototype,uW=lW.hasOwnProperty;function cW(i,r){var s=rW(i),o=!s&&iW(i),u=!s&&!o&&aW(i),d=!s&&!o&&!u&&oW(i),p=s||o||u||d,y=p?nW(i.length,String):[],g=y.length;for(var k in i)(r||uW.call(i,k))&&!(p&&(k=="length"||u&&(k=="offset"||k=="parent")||d&&(k=="buffer"||k=="byteLength"||k=="byteOffset")||sW(k,g)))&&y.push(k);return y}var fW=cW,dW=Object.prototype;function hW(i){var r=i&&i.constructor,s=typeof r=="function"&&r.prototype||dW;return i===s}var pW=hW;function vW(i,r){return function(s){return i(r(s))}}var mW=vW,gW=mW,_W=gW(Object.keys,Object),yW=_W,bW=pW,CW=yW,xW=Object.prototype,wW=xW.hasOwnProperty;function SW(i){if(!bW(i))return CW(i);var r=[];for(var s in Object(i))wW.call(i,s)&&s!="constructor"&&r.push(s);return r}var kW=SW,OW=jE,DW=qE;function $W(i){return i!=null&&DW(i.length)&&!OW(i)}var EW=$W,TW=fW,PW=kW,IW=EW;function MW(i){return IW(i)?TW(i):PW(i)}var NW=MW,AW=HH,FW=QH,RW=NW;function LW(i){return AW(i,RW,FW)}var jW=LW,KO=jW,zW=1,BW=Object.prototype,VW=BW.hasOwnProperty;function HW(i,r,s,o,u,d){var p=s&zW,y=KO(i),g=y.length,k=KO(r),P=k.length;if(g!=P&&!p)return!1;for(var $=g;$--;){var E=y[$];if(!(p?E in r:VW.call(r,E)))return!1}var b=d.get(i),S=d.get(r);if(b&&S)return b==r&&S==i;var j=!0;d.set(i,r),d.set(r,i);for(var N=p;++$[]},valueKey:{type:String,default:"value"},labelKey:{type:String,default:"label"},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:String,remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String,required:!1},defaultFirstOption:Boolean,reserveKeyword:Boolean,collapseTags:Boolean,popperAppendToBody:{type:Boolean,default:!0},minItemSize:{type:Number,default:34},fitInputWidth:{type:Boolean,default:!0}},data(){return{localValue:"",localOptions:[],dropdownWidth:""}},mounted(){this.updateSelectedLabel(),this.$refs.select&&this.$watch(()=>this.$refs.select.visible,i=>{i&&this.updateOptions()})},methods:{updateSelectedLabel(){if(!this.$refs.select)return;const{setSelected:i,cachedOptions:r}=this.$refs.select,s=this.multiple?this.localValue:[this.localValue];this.flattedOptions.filter(u=>s==null?void 0:s.includes(u[this.valueKey])).map(u=>({value:u[this.valueKey],currentLabel:u[this.labelKey]})).forEach(u=>{const d=r.find(p=>p.value===u.value);d?r.splice(r.indexOf(d),1,u):r.push(u)}),i()},handleScrollerVisible(){var s;const i=this.multiple?(s=this.localValue)==null?void 0:s[0]:this.localValue,r=this.localOptions.findIndex(o=>o[this.valueKey]===i);this.$refs.scroller.scrollToItem(r)},localFilterMethod(i){const r=this.flattedOptions.filter(s=>{var o;return!s._isGroup&&!s._isSplit&&((o=s[this.labelKey])==null?void 0:o.toLowerCase().includes(i.toLowerCase()))}).map(s=>s._groupName);this.localOptions=this.flattedOptions.filter(s=>{var o;return s._isGroup||s._isSplit?r.some(u=>s._groupName===u):(o=s[this.labelKey])==null?void 0:o.toLowerCase().includes(i.toLowerCase())})},updateOptions(){this.localOptions=this.flattedOptions},async updateDropdownWidth(){var g;if(!((g=this.$refs.select)!=null&&g.$refs.popper)||this.fitInputWidth)return;const{inputWidth:i}=this.$refs.select,s=document.createElement("canvas").getContext("2d");await this.$nextTick();const o=this.$refs.select.$refs.popper.$el.querySelector(".el-select-dropdown__item");if(!o)return;const u=getComputedStyle(o),d=parseFloat(u.paddingLeft)+parseFloat(u.paddingRight),p=6;s.font=u.font;let y=0;this.localOptions.forEach(k=>{const P=s.measureText(k[this.labelKey]);y=Math.max(P.width,y)}),this.dropdownWidth=Math.max(y+d+p,i-2)},focus(){this.$refs.select.focus()},blur(){this.$refs.select.blur()}},computed:{flattedOptions(){if(!Array.isArray(this.options))return[];const i=[];return this.options.forEach(r=>{const s=RC();Array.isArray(r.options)?(i.push({...r,_isGroup:!0,_groupName:s,[this.valueKey]:RC()}),i.push(...r.options.map(o=>({...o,_groupName:s}))),i.push({_isSplit:!0,_groupName:s,[this.valueKey]:RC()})):i.push(r)}),i},scrollerStyle(){return{width:this.dropdownWidth?`${this.dropdownWidth}px`:""}}},watch:{value:{handler(){D5(this.value,this.localValue)||(this.localValue=this.value,this.updateSelectedLabel())},deep:!0,immediate:!0},options:{handler(){this.updateOptions();const i=this.$el.querySelectorAll("input");[].indexOf.call(i,document.activeElement)===-1&&this.updateSelectedLabel()},deep:!0},localOptions(){this.updateDropdownWidth()}}};var M5=function(){var r=this,s=r._self._c;return s("el-select",r._g(r._b({ref:"select",staticClass:"el-select-v2",attrs:{autocomplete:r.autocomplete,"automatic-dropdown":r.automaticDropdown,size:r.size,disabled:r.disabled,clearable:r.clearable,filterable:r.filterable,"allow-create":r.allowCreate,loading:r.loading,"popper-class":`el-select-v2__popper ${r.popperClass||""}`,remote:r.remote,"loading-text":r.loadingText,"no-match-text":r.noMatchText,"no-data-text":r.noDataText,"remote-method":r.remoteMethod,"filter-method":r.filterMethod||r.localFilterMethod,multiple:r.multiple,"multiple-limit":r.multipleLimit,placeholder:r.placeholder,"default-first-option":r.defaultFirstOption,"reserve-keyword":r.reserveKeyword,"collapse-tags":r.collapseTags,"popper-append-to-body":r.popperAppendToBody},model:{value:r.localValue,callback:function(o){r.localValue=o},expression:"localValue"}},"el-select",r.$attrs,!1),r.$listeners),[r.localOptions.length?s("RecycleScroller",{ref:"scroller",staticClass:"scroller",style:r.scrollerStyle,attrs:{items:r.localOptions,"min-item-size":r.minItemSize,"key-field":r.valueKey},on:{visible:r.handleScrollerVisible},scopedSlots:r._u([{key:"default",fn:function({item:o}){return[o._isGroup?s("li",{staticClass:"el-select-group__title"},[r._v(r._s(o[r.labelKey]))]):o._isSplit?s("li",{staticClass:"el-select-group__split"},[s("span",{staticClass:"el-select-group__split-dash"})]):s("el-option",{key:o[r.valueKey],attrs:{value:o[r.valueKey],label:o[r.labelKey],disabled:o.disabled}},[r._t("default",null,{item:o})],2)]}}],null,!1,2679816960)}):r._e(),r.$slots.prefix?s("template",{slot:"prefix"},[r._t("prefix")],2):r._e(),r.$slots.empty?s("template",{slot:"empty"},[r._t("empty")],2):r._e()],2)},N5=[],A5=sw(I5,M5,N5,!1,null,null,null,null);const Wv=A5.exports;Wv.install=i=>{i.component(Wv.name,Wv)};ht.config.productionTip=!1;ht.use(pz);ht.use(Wv);new ht({el:"#app",render:i=>i(DR)}); + `)])],1)]),e._t("reference",null,{slot:"reference"})],2)},IP=[];i0._withStripped=!0;var MP=o(45),NP=o.n(MP),AP={name:"ElPopconfirm",props:{title:{type:String},confirmButtonText:{type:String},cancelButtonText:{type:String},confirmButtonType:{type:String,default:"primary"},cancelButtonType:{type:String,default:"text"},icon:{type:String,default:"el-icon-question"},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1}},components:{ElPopover:NP.a,ElButton:se.a},data:function(){return{visible:!1}},computed:{displayConfirmButtonText:function(){return this.confirmButtonText||Object(zn.t)("el.popconfirm.confirmButtonText")},displayCancelButtonText:function(){return this.cancelButtonText||Object(zn.t)("el.popconfirm.cancelButtonText")}},methods:{confirm:function(){this.visible=!1,this.$emit("confirm")},cancel:function(){this.visible=!1,this.$emit("cancel")}}},FP=AP,r0=g(FP,i0,IP,!1,null,null,null);r0.options.__file="packages/popconfirm/src/main.vue";var Wp=r0.exports;Wp.install=function(e){e.component(Wp.name,Wp)};var a0=Wp,s0=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.uiLoading?[n("div",e._b({class:["el-skeleton",e.animated?"is-animated":""]},"div",e.$attrs,!1),[e._l(e.count,function(a){return[e.loading?e._t("template",e._l(e.rows,function(c){return n("el-skeleton-item",{key:a+"-"+c,class:{"el-skeleton__paragraph":c!==1,"is-first":c===1,"is-last":c===e.rows&&e.rows>1},attrs:{variant:"p"}})})):e._e()]})],2)]:[e._t("default",null,null,e.$attrs)]],2)},RP=[];s0._withStripped=!0;var LP={name:"ElSkeleton",props:{animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:4},loading:{type:Boolean,default:!0},throttle:{type:Number,default:0}},watch:{loading:{handler:function(t){var n=this;if(this.throttle<=0){this.uiLoading=t;return}t?(clearTimeout(this.timeoutHandle),this.timeoutHandle=setTimeout(function(){n.uiLoading=n.loading},this.throttle)):this.uiLoading=t},immediate:!0}},data:function(){return{uiLoading:this.throttle<=0?this.loading:!1}}},jP=LP,o0=g(jP,s0,RP,!1,null,null,null);o0.options.__file="packages/skeleton/src/index.vue";var qp=o0.exports;qp.install=function(e){e.component(qp.name,qp)};var l0=qp,u0=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-skeleton__item","el-skeleton__"+e.variant]},[e.variant==="image"?n("img-placeholder"):e._e()],1)},zP=[];u0._withStripped=!0;var c0=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M64 896V128h896v768H64z m64-128l192-192 116.352 116.352L640 448l256 307.2V192H128v576z m224-480a96 96 0 1 1-0.064 192.064A96 96 0 0 1 352 288z"}})])},BP=[];c0._withStripped=!0;var VP={name:"ImgPlaceholder"},HP=VP,f0=g(HP,c0,BP,!1,null,null,null);f0.options.__file="packages/skeleton/src/img-placeholder.vue";var d0=f0.exports,Ib,WP={name:"ElSkeletonItem",props:{variant:{type:String,default:"text"}},components:(Ib={},Ib[d0.name]=d0,Ib)},qP=WP,h0=g(qP,u0,zP,!1,null,null,null);h0.options.__file="packages/skeleton/src/item.vue";var Up=h0.exports;Up.install=function(e){e.component(Up.name,Up)};var p0=Up,v0=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-empty"},[n("div",{staticClass:"el-empty__image",style:e.imageStyle},[e.image?n("img",{attrs:{src:e.image,ondragstart:"return false"}}):e._t("image",[n("img-empty")])],2),n("div",{staticClass:"el-empty__description"},[e.$slots.description?e._t("description"):n("p",[e._v(e._s(e.emptyDescription))])],2),e.$slots.default?n("div",{staticClass:"el-empty__bottom"},[e._t("default")],2):e._e()])},UP=[];v0._withStripped=!0;var m0=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[n("defs",[n("linearGradient",{attrs:{id:"linearGradient-1-"+e.id,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"}},[n("stop",{attrs:{"stop-color":"#FCFCFD",offset:"0%"}}),n("stop",{attrs:{"stop-color":"#EEEFF3",offset:"100%"}})],1),n("linearGradient",{attrs:{id:"linearGradient-2-"+e.id,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"}},[n("stop",{attrs:{"stop-color":"#FCFCFD",offset:"0%"}}),n("stop",{attrs:{"stop-color":"#E9EBEF",offset:"100%"}})],1),n("rect",{attrs:{id:"path-3-"+e.id,x:"0",y:"0",width:"17",height:"36"}})],1),n("g",{attrs:{id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[n("g",{attrs:{id:"B-type",transform:"translate(-1268.000000, -535.000000)"}},[n("g",{attrs:{id:"Group-2",transform:"translate(1268.000000, 535.000000)"}},[n("path",{attrs:{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:"#F7F8FC"}}),n("polygon",{attrs:{id:"Rectangle-Copy-14",fill:"#E5E7E9",transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"}}),n("g",{attrs:{id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"}},[n("polygon",{attrs:{id:"Rectangle-Copy-10",fill:"#E5E7E9",transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"}}),n("polygon",{attrs:{id:"Rectangle-Copy-11",fill:"#EDEEF2",points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"}}),n("rect",{attrs:{id:"Rectangle-Copy-12",fill:"url(#linearGradient-1-"+e.id+")",transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"}}),n("polygon",{attrs:{id:"Rectangle-Copy-13",fill:"#F8F9FB",transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"}})]),n("rect",{attrs:{id:"Rectangle-Copy-15",fill:"url(#linearGradient-2-"+e.id+")",x:"13",y:"45",width:"40",height:"36"}}),n("g",{attrs:{id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"}},[n("mask",{attrs:{id:"mask-4-"+e.id,fill:"white"}},[n("use",{attrs:{"xlink:href":"#path-3-"+e.id}})]),n("use",{attrs:{id:"Mask",fill:"#E0E3E9",transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":"#path-3-"+e.id}}),n("polygon",{attrs:{id:"Rectangle-Copy",fill:"#D5D7DE",mask:"url(#mask-4-"+e.id+")",transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 -1.70530257e-13 16"}})]),n("polygon",{attrs:{id:"Rectangle-Copy-18",fill:"#F8F9FB",transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"}})])])])])},KP=[];m0._withStripped=!0;var GP=0,YP={name:"ImgEmpty",data:function(){return{id:++GP}}},XP=YP,g0=g(XP,m0,KP,!1,null,null,null);g0.options.__file="packages/empty/src/img-empty.vue";var _0=g0.exports,Mb,ZP={name:"ElEmpty",components:(Mb={},Mb[_0.name]=_0,Mb),props:{image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}},computed:{emptyDescription:function(){return this.description||Object(zn.t)("el.empty.description")},imageStyle:function(){return{width:this.imageSize?this.imageSize+"px":""}}}},JP=ZP,y0=g(JP,v0,UP,!1,null,null,null);y0.options.__file="packages/empty/src/index.vue";var Kp=y0.exports;Kp.install=function(e){e.component(Kp.name,Kp)};var b0=Kp,QP=Object.assign||function(e){for(var t=1;t3&&arguments[3]!==void 0?arguments[3]:!1;return t.props||(t.props={}),n>a&&(t.props.span=a),c&&(t.props.span=a),t},getRows:function(){var t=this,n=(this.$slots.default||[]).filter(function(x){return x.tag&&x.componentOptions&&x.componentOptions.Ctor.options.name==="ElDescriptionsItem"}),a=n.map(function(x){return{props:t.getOptionProps(x),slots:t.getSlots(x),vnode:x}}),c=[],h=[],m=this.column;return a.forEach(function(x,T){var R=x.props.span||1;if(T===n.length-1){h.push(t.filledNode(x,R,m,!0)),c.push(h);return}R1&&arguments[1]!==void 0?arguments[1]:{};Pi.a.use(n.locale),Pi.a.i18n(n.i18n),vI.forEach(function(a){t.component(a.name,a)}),t.use(NS),t.use(Hu.directive),t.prototype.$ELEMENT={size:n.size||"",zIndex:n.zIndex||2e3},t.prototype.$loading=Hu.service,t.prototype.$msgbox=qr,t.prototype.$alert=qr.alert,t.prototype.$confirm=qr.confirm,t.prototype.$prompt=qr.prompt,t.prototype.$notify=Vu,t.prototype.$message=Yu};typeof window<"u"&&window.Vue&&z0(window.Vue),s.default={version:"2.15.14",locale:Pi.a.use,i18n:Pi.a.i18n,install:z0,CollapseTransition:fa.a,Loading:Hu,Pagination:D,Dialog:Ee,Autocomplete:Jt,Dropdown:vt,DropdownMenu:Gc,DropdownItem:Qc,Menu:Sl,Submenu:rf,MenuItem:kl,MenuItemGroup:El,Input:Ml,InputNumber:gf,Radio:bf,RadioGroup:xf,RadioButton:Rs,Checkbox:jl,CheckboxButton:ma,CheckboxGroup:Df,Switch:Vl,Select:_a,Option:Ff,OptionGroup:jf,Button:De,ButtonGroup:wn,Table:Yf,TableColumn:Xf,DatePicker:gd,TimeSelect:Ti,TimePicker:yu,Popover:Cu,Tooltip:Zn,MessageBox:qr,Breadcrumb:Pd,BreadcrumbItem:Ie,Form:Gt,FormItem:Ad,Tabs:Mu,TabPane:Kd,Tag:Au,Tree:eh,Alert:ih,Notification:Vu,Slider:dh,Icon:No,Row:qu,Col:Sh,Upload:Eh,Progress:Ga,Spinner:Mh,Message:Yu,Badge:it,Card:Vh,Rate:qh,Steps:Kh,Step:Ju,Carousel:Qu,Scrollbar:mr,CarouselItem:Qh,Collapse:np,CollapseItem:ap,Cascader:cp,ColorPicker:Z,Transfer:Ai,Container:Hw,Header:Uw,Aside:Yw,Main:Jw,Footer:tS,Timeline:iS,TimelineItem:sS,Link:uS,Divider:dS,Image:bS,Calendar:kS,Backtop:ES,InfiniteScroll:NS,PageHeader:RS,CascaderPanel:GS,Avatar:XS,Drawer:QS,Statistic:n0,Popconfirm:a0,Skeleton:l0,SkeletonItem:p0,Empty:b0,Descriptions:x0,DescriptionsItem:w0,Result:j0}}]).default})(M$);var hz=M$.exports;const pz=ow(hz);function vz(){var i=window.navigator.userAgent,r=i.indexOf("MSIE ");if(r>0)return parseInt(i.substring(r+5,i.indexOf(".",r)),10);var s=i.indexOf("Trident/");if(s>0){var o=i.indexOf("rv:");return parseInt(i.substring(o+3,i.indexOf(".",o)),10)}var u=i.indexOf("Edge/");return u>0?parseInt(i.substring(u+5,i.indexOf(".",u)),10):-1}var Vv=void 0;function xx(){xx.init||(xx.init=!0,Vv=vz()!==-1)}var wx={render:function(){var r=this,s=r.$createElement,o=r._self._c||s;return o("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},staticRenderFns:[],_scopeId:"data-v-b329ee4c",name:"resize-observer",methods:{compareAndNotify:function(){(this._w!==this.$el.offsetWidth||this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.$emit("notify"))},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!Vv&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),delete this._resizeObject.onload)}},mounted:function(){var r=this;xx(),this.$nextTick(function(){r._w=r.$el.offsetWidth,r._h=r.$el.offsetHeight});var s=document.createElement("object");this._resizeObject=s,s.setAttribute("aria-hidden","true"),s.setAttribute("tabindex",-1),s.onload=this.addResizeHandlers,s.type="text/html",Vv&&this.$el.appendChild(s),s.data="about:blank",Vv||this.$el.appendChild(s)},beforeDestroy:function(){this.removeResizeHandlers()}};function mz(i){i.component("resize-observer",wx),i.component("ResizeObserver",wx)}var gz={version:"0.4.5",install:mz},om=null;typeof window<"u"?om=window.Vue:typeof global<"u"&&(om=global.Vue);om&&om.use(gz);function Hv(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Hv=function(r){return typeof r}:Hv=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Hv(i)}function _z(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}function EO(i,r){for(var s=0;s2&&arguments[2]!==void 0?arguments[2]:{},o,u,d,p=function(g){for(var k=arguments.length,P=new Array(k>1?k-1:0),$=1;$1){var k=y.find(function($){return $.isIntersecting});k&&(g=k)}if(u.callback){var P=g.isIntersecting&&g.intersectionRatio>=u.threshold;if(P===u.oldResult)return;u.oldResult=P,u.callback(P,g)}},this.options.intersection),o.context.$nextTick(function(){u.observer&&u.observer.observe(u.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&this.options.intersection.threshold||0}}]),i}();function OE(i,r,s){var o=r.value;if(o)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var u=new kz(i,o,s);i._vue_visibilityState=u}}function Oz(i,r,s){var o=r.value,u=r.oldValue;if(!kE(o,u)){var d=i._vue_visibilityState;if(!o){DE(i);return}d?d.createObserver(o,s):OE(i,{value:o},s)}}function DE(i){var r=i._vue_visibilityState;r&&(r.destroyObserver(),delete i._vue_visibilityState)}var $E={bind:OE,update:Oz,unbind:DE};function Dz(i){i.directive("observe-visibility",$E)}var $z={version:"0.4.6",install:Dz},lm=null;typeof window<"u"?lm=window.Vue:typeof global<"u"&&(lm=global.Vue);lm&&lm.use($z);var EE={exports:{}};(function(i){(function(r,s){i.exports?i.exports=s():r.Scrollparent=s()})(Qi,function(){function r(o){var u=getComputedStyle(o,null).getPropertyValue("overflow");return u.indexOf("scroll")>-1||u.indexOf("auto")>-1}function s(o){if(o instanceof HTMLElement||o instanceof SVGElement){for(var u=o.parentNode;u.parentNode;){if(r(u))return u;u=u.parentNode}return document.scrollingElement||document.documentElement}}return s})})(EE);var Ez=EE.exports;const PO=ow(Ez);var TE={itemsLimit:1e3};const PE={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:i=>["vertical","horizontal"].includes(i)},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"}};function IE(){return this.items.length&&typeof this.items[0]!="object"}let Sx=!1;if(typeof window<"u"){Sx=!1;try{var Tz=Object.defineProperty({},"passive",{get(){Sx=!0}});window.addEventListener("test",null,Tz)}catch{}}let Pz=0;var Iz={name:"RecycleScroller",components:{ResizeObserver:wx},directives:{ObserveVisibility:$E},props:{...PE,itemSize:{type:Number,default:null},gridItems:{type:Number,default:void 0},itemSecondarySize:{type:Number,default:void 0},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1},skipHover:{type:Boolean,default:!1},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"},listClass:{type:[String,Object,Array],default:""},itemClass:{type:[String,Object,Array],default:""}},data(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes(){if(this.itemSize===null){const i={"-1":{accumulator:0}},r=this.items,s=this.sizeField,o=this.minItemSize;let u=1e4,d=0,p;for(let y=0,g=r.length;y{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const i=this.$_lastUpdateScrollPosition;typeof i=="number"&&this.$nextTick(()=>{this.scrollToPosition(i)})},beforeDestroy(){this.removeListeners()},methods:{addView(i,r,s,o,u){const d={item:s,position:0},p={id:Pz++,index:r,used:!0,key:o,type:u};return Object.defineProperty(d,"nr",{configurable:!1,value:p}),i.push(d),d},unuseView(i,r=!1){const s=this.$_unusedViews,o=i.nr.type;let u=s.get(o);u||(u=[],s.set(o,u)),u.push(i),r||(i.nr.used=!1,i.position=-9999,this.$_views.delete(i.nr.key))},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(i){this.$_scrollDirty||(this.$_scrollDirty=!0,requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:r}=this.updateVisibleItems(!1,!0);r||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,100))}))},handleVisibilityChange(i,r){this.ready&&(i||r.boundingClientRect.width!==0||r.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(i,r=!1){const s=this.itemSize,o=this.gridItems||1,u=this.itemSecondarySize||s,d=this.$_computedMinItemSize,p=this.typeField,y=this.simpleArray?null:this.keyField,g=this.items,k=g.length,P=this.sizes,$=this.$_views,E=this.$_unusedViews,b=this.pool;let S,j,N,O,M;if(!k)S=j=O=M=N=0;else if(this.$_prerender)S=O=0,j=M=Math.min(this.prerender,g.length),N=null;else{const ue=this.getScroll();if(r){let V=ue.start-this.$_lastUpdateScrollPosition;if(V<0&&(V=-V),s===null&&Vue.start&&(ye=xe),xe=~~((oe+ye)/2);while(xe!==Oe);for(xe<0&&(xe=0),S=xe,N=P[k-1].accumulator,j=xe;jk&&(j=k)),O=S;Ok&&(j=k),O<0&&(O=0),M>k&&(M=k),N=Math.ceil(k/o)*s}}j-S>TE.itemsLimit&&this.itemsLimitError(),this.totalSize=N;let _;const w=S<=this.$_endIndex&&j>=this.$_startIndex;if(this.$_continuous!==w){if(w){$.clear(),E.clear();for(let ue=0,Ce=b.length;ue=j)&&this.unuseView(_));const D=w?null:new Map;let L,A,H,de;for(let ue=S;ue=H.length)&&(_=this.addView(b,ue,L,Ce,A),this.unuseView(_,!0),H=E.get(A)),_=H[de],_.item=L,_.nr.used=!0,_.nr.index=ue,_.nr.key=Ce,_.nr.type=A,D.set(A,de+1),de++),$.set(Ce,_)),s===null?(_.position=P[ue-1].accumulator,_.offset=0):(_.position=Math.floor(ue/o)*s,_.offset=ue%o*u)}return this.$_startIndex=S,this.$_endIndex=j,this.emitUpdate&&this.$emit("update",S,j,O,M),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,300),{continuous:w}},getListenerTarget(){let i=PO(this.$el);return window.document&&(i===window.document.documentElement||i===window.document.body)&&(i=window),i},getScroll(){const{$el:i,direction:r}=this,s=r==="vertical";let o;if(this.pageMode){const u=i.getBoundingClientRect(),d=s?u.height:u.width;let p=-(s?u.top:u.left),y=s?window.innerHeight:window.innerWidth;p<0&&(y+=p,p=0),p+y>d&&(y=d-p),o={start:p,end:p+y}}else s?o={start:i.scrollTop,end:i.scrollTop+i.clientHeight}:o={start:i.scrollLeft,end:i.scrollLeft+i.clientWidth};return o},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,Sx?{passive:!0}:!1),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(i){let r;this.itemSize===null?r=i>0?this.sizes[i-1].accumulator:0:r=Math.floor(i/this.gridItems)*this.itemSize,this.scrollToPosition(r)},scrollToPosition(i){const r=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let s,o,u;if(this.pageMode){const d=PO(this.$el),p=d.tagName==="HTML"?0:d[r.scroll],y=d.getBoundingClientRect(),k=this.$el.getBoundingClientRect()[r.start]-y[r.start];s=d,o=r.scroll,u=i+p+k}else s=this.$el,o=r.scroll,u=i;s[o]=u},itemsLimitError(){throw setTimeout(()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((i,r)=>i.nr.index-r.nr.index)}}};function Lw(i,r,s,o,u,d,p,y,g,k){typeof p!="boolean"&&(g=y,y=p,p=!1);const P=typeof s=="function"?s.options:s;i&&i.render&&(P.render=i.render,P.staticRenderFns=i.staticRenderFns,P._compiled=!0,u&&(P.functional=!0)),o&&(P._scopeId=o);let $;if(d?($=function(E){E=E||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!E&&typeof __VUE_SSR_CONTEXT__<"u"&&(E=__VUE_SSR_CONTEXT__),r&&r.call(this,g(E)),E&&E._registeredComponents&&E._registeredComponents.add(d)},P._ssrRegister=$):r&&($=p?function(E){r.call(this,k(E,this.$root.$options.shadowRoot))}:function(E){r.call(this,y(E))}),$)if(P.functional){const E=P.render;P.render=function(S,j){return $.call(j),E(S,j)}}else{const E=P.beforeCreate;P.beforeCreate=E?[].concat(E,$):[$]}return s}const Mz=Iz;var ME=function(){var i,r,s=this,o=s.$createElement,u=s._self._c||o;return u("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:s.handleVisibilityChange,expression:"handleVisibilityChange"}],staticClass:"vue-recycle-scroller",class:(i={ready:s.ready,"page-mode":s.pageMode},i["direction-"+s.direction]=!0,i),on:{"&scroll":function(d){return s.handleScroll.apply(null,arguments)}}},[s.$slots.before?u("div",{ref:"before",staticClass:"vue-recycle-scroller__slot"},[s._t("before")],2):s._e(),s._v(" "),u(s.listTag,{ref:"wrapper",tag:"component",staticClass:"vue-recycle-scroller__item-wrapper",class:s.listClass,style:(r={},r[s.direction==="vertical"?"minHeight":"minWidth"]=s.totalSize+"px",r)},[s._l(s.pool,function(d){return u(s.itemTag,s._g({key:d.nr.id,tag:"component",staticClass:"vue-recycle-scroller__item-view",class:[s.itemClass,{hover:!s.skipHover&&s.hoverKey===d.nr.key}],style:s.ready?{transform:"translate"+(s.direction==="vertical"?"Y":"X")+"("+d.position+"px) translate"+(s.direction==="vertical"?"X":"Y")+"("+d.offset+"px)",width:s.gridItems?(s.direction==="vertical"&&s.itemSecondarySize||s.itemSize)+"px":void 0,height:s.gridItems?(s.direction==="horizontal"&&s.itemSecondarySize||s.itemSize)+"px":void 0}:null},s.skipHover?{}:{mouseenter:function(){s.hoverKey=d.nr.key},mouseleave:function(){s.hoverKey=null}}),[s._t("default",null,{item:d.item,index:d.nr.index,active:d.nr.used})],2)}),s._v(" "),s._t("empty")],2),s._v(" "),s.$slots.after?u("div",{ref:"after",staticClass:"vue-recycle-scroller__slot"},[s._t("after")],2):s._e(),s._v(" "),u("ResizeObserver",{on:{notify:s.handleResize}})],1)},Nz=[];ME._withStripped=!0;const Az=void 0,Fz=void 0,Rz=void 0,Lz=!1,um=Lw({render:ME,staticRenderFns:Nz},Az,Mz,Fz,Lz,Rz,!1,void 0,void 0,void 0);var jz={name:"DynamicScroller",components:{RecycleScroller:um},provide(){return typeof ResizeObserver<"u"&&(this.$_resizeObserver=new ResizeObserver(i=>{requestAnimationFrame(()=>{if(Array.isArray(i)){for(const r of i)if(r.target){const s=new CustomEvent("resize",{detail:{contentRect:r.contentRect}});r.target.dispatchEvent(s)}}})})),{vscrollData:this.vscrollData,vscrollParent:this,vscrollResizeObserver:this.$_resizeObserver}},inheritAttrs:!1,props:{...PE,minItemSize:{type:[Number,String],required:!0}},data(){return{vscrollData:{active:!0,sizes:{},validSizes:{},keyField:this.keyField,simpleArray:!1}}},computed:{simpleArray:IE,itemsWithSize(){const i=[],{items:r,keyField:s,simpleArray:o}=this,u=this.vscrollData.sizes,d=r.length;for(let p=0;p"u"&&!this.$_undefinedMap[g]&&(k=0),i.push({item:y,id:g,size:k})}return i},listeners(){const i={};for(const r in this.$listeners)r!=="resize"&&r!=="visible"&&(i[r]=this.$listeners[r]);return i}},watch:{items(){this.forceUpdate(!1)},simpleArray:{handler(i){this.vscrollData.simpleArray=i},immediate:!0},direction(i){this.forceUpdate(!0)},itemsWithSize(i,r){const s=this.$el.scrollTop;let o=0,u=0;const d=Math.min(i.length,r.length);for(let y=0;y=s);y++)o+=r[y].size||this.minItemSize,u+=i[y].size||this.minItemSize;const p=u-o;p!==0&&(this.$el.scrollTop+=p)}},beforeCreate(){this.$_updates=[],this.$_undefinedSizes=0,this.$_undefinedMap={}},activated(){this.vscrollData.active=!0},deactivated(){this.vscrollData.active=!1},methods:{onScrollerResize(){this.$refs.scroller&&this.forceUpdate(),this.$emit("resize")},onScrollerVisible(){this.$emit("vscroll:update",{force:!1}),this.$emit("visible")},forceUpdate(i=!0){(i||this.simpleArray)&&(this.vscrollData.validSizes={}),this.$emit("vscroll:update",{force:!0})},scrollToItem(i){const r=this.$refs.scroller;r&&r.scrollToItem(i)},getItemSize(i,r=void 0){const s=this.simpleArray?r??this.items.indexOf(i):i[this.keyField];return this.vscrollData.sizes[s]||0},scrollToBottom(){if(this.$_scrollingToBottom)return;this.$_scrollingToBottom=!0;const i=this.$el;this.$nextTick(()=>{i.scrollTop=i.scrollHeight+5e3;const r=()=>{i.scrollTop=i.scrollHeight+5e3,requestAnimationFrame(()=>{i.scrollTop=i.scrollHeight+5e3,this.$_undefinedSizes===0?this.$_scrollingToBottom=!1:requestAnimationFrame(r)})};requestAnimationFrame(r)})}}};const zz=jz;var NE=function(){var i=this,r=i.$createElement,s=i._self._c||r;return s("RecycleScroller",i._g(i._b({ref:"scroller",attrs:{items:i.itemsWithSize,"min-item-size":i.minItemSize,direction:i.direction,"key-field":"id","list-tag":i.listTag,"item-tag":i.itemTag},on:{resize:i.onScrollerResize,visible:i.onScrollerVisible},scopedSlots:i._u([{key:"default",fn:function(o){var u=o.item,d=o.index,p=o.active;return[i._t("default",null,null,{item:u.item,index:d,active:p,itemWithSize:u})]}}],null,!0)},"RecycleScroller",i.$attrs,!1),i.listeners),[i._v(" "),s("template",{slot:"before"},[i._t("before")],2),i._v(" "),s("template",{slot:"after"},[i._t("after")],2),i._v(" "),s("template",{slot:"empty"},[i._t("empty")],2)],2)},Bz=[];NE._withStripped=!0;const Vz=void 0,Hz=void 0,Wz=void 0,qz=!1,IO=Lw({render:NE,staticRenderFns:Bz},Vz,zz,Hz,qz,Wz,!1,void 0,void 0,void 0);var Uz={name:"DynamicScrollerItem",inject:["vscrollData","vscrollParent","vscrollResizeObserver"],props:{item:{required:!0},watchData:{type:Boolean,default:!1},active:{type:Boolean,required:!0},index:{type:Number,default:void 0},sizeDependencies:{type:[Array,Object],default:null},emitResize:{type:Boolean,default:!1},tag:{type:String,default:"div"}},computed:{id(){if(this.vscrollData.simpleArray)return this.index;if(this.item.hasOwnProperty(this.vscrollData.keyField))return this.item[this.vscrollData.keyField];throw new Error(`keyField '${this.vscrollData.keyField}' not found in your item. You should set a valid keyField prop on your Scroller`)},size(){return this.vscrollData.validSizes[this.id]&&this.vscrollData.sizes[this.id]||0},finalActive(){return this.active&&this.vscrollData.active}},watch:{watchData:"updateWatchData",id(){this.size||this.onDataUpdate()},finalActive(i){this.size||(i?this.vscrollParent.$_undefinedMap[this.id]||(this.vscrollParent.$_undefinedSizes++,this.vscrollParent.$_undefinedMap[this.id]=!0):this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=!1)),this.vscrollResizeObserver?i?this.observeSize():this.unobserveSize():i&&this.$_pendingVScrollUpdate===this.id&&this.updateSize()}},created(){if(!this.$isServer&&(this.$_forceNextVScrollUpdate=null,this.updateWatchData(),!this.vscrollResizeObserver)){for(const i in this.sizeDependencies)this.$watch(()=>this.sizeDependencies[i],this.onDataUpdate);this.vscrollParent.$on("vscroll:update",this.onVscrollUpdate),this.vscrollParent.$on("vscroll:update-size",this.onVscrollUpdateSize)}},mounted(){this.vscrollData.active&&(this.updateSize(),this.observeSize())},beforeDestroy(){this.vscrollParent.$off("vscroll:update",this.onVscrollUpdate),this.vscrollParent.$off("vscroll:update-size",this.onVscrollUpdateSize),this.unobserveSize()},methods:{updateSize(){this.finalActive?this.$_pendingSizeUpdate!==this.id&&(this.$_pendingSizeUpdate=this.id,this.$_forceNextVScrollUpdate=null,this.$_pendingVScrollUpdate=null,this.computeSize(this.id)):this.$_forceNextVScrollUpdate=this.id},updateWatchData(){this.watchData&&!this.vscrollResizeObserver?this.$_watchData=this.$watch("item",()=>{this.onDataUpdate()},{deep:!0}):this.$_watchData&&(this.$_watchData(),this.$_watchData=null)},onVscrollUpdate({force:i}){!this.finalActive&&i&&(this.$_pendingVScrollUpdate=this.id),(this.$_forceNextVScrollUpdate===this.id||i||!this.size)&&this.updateSize()},onDataUpdate(){this.updateSize()},computeSize(i){this.$nextTick(()=>{if(this.id===i){const r=this.$el.offsetWidth,s=this.$el.offsetHeight;this.applySize(r,s)}this.$_pendingSizeUpdate=null})},applySize(i,r){const s=~~(this.vscrollParent.direction==="vertical"?r:i);s&&this.size!==s&&(this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=void 0),this.$set(this.vscrollData.sizes,this.id,s),this.$set(this.vscrollData.validSizes,this.id,!0),this.emitResize&&this.$emit("resize",this.id))},observeSize(){!this.vscrollResizeObserver||!this.$el.parentNode||(this.vscrollResizeObserver.observe(this.$el.parentNode),this.$el.parentNode.addEventListener("resize",this.onResize))},unobserveSize(){this.vscrollResizeObserver&&(this.vscrollResizeObserver.unobserve(this.$el.parentNode),this.$el.parentNode.removeEventListener("resize",this.onResize))},onResize(i){const{width:r,height:s}=i.detail.contentRect;this.applySize(r,s)}},render(i){return i(this.tag,this.$slots.default)}};const Kz=Uz,Gz=void 0,Yz=void 0,Xz=void 0,Zz=void 0,MO=Lw({},Gz,Kz,Yz,Zz,Xz,!1,void 0,void 0,void 0);function Jz(i,r){i.component(`${r}recycle-scroller`,um),i.component(`${r}RecycleScroller`,um),i.component(`${r}dynamic-scroller`,IO),i.component(`${r}DynamicScroller`,IO),i.component(`${r}dynamic-scroller-item`,MO),i.component(`${r}DynamicScrollerItem`,MO)}const Qz={version:"1.1.2",install(i,r){const s=Object.assign({},{installComponents:!0,componentsPrefix:""},r);for(const o in s)typeof s[o]<"u"&&(TE[o]=s[o]);s.installComponents&&Jz(i,s.componentsPrefix)}};let cm=null;typeof window<"u"?cm=window.Vue:typeof global<"u"&&(cm=global.Vue);cm&&cm.use(Qz);function eB(){this.__data__=[],this.size=0}var tB=eB;function nB(i,r){return i===r||i!==i&&r!==r}var AE=nB,iB=AE;function rB(i,r){for(var s=i.length;s--;)if(iB(i[s][0],r))return s;return-1}var Rm=rB,aB=Rm,sB=Array.prototype,oB=sB.splice;function lB(i){var r=this.__data__,s=aB(r,i);if(s<0)return!1;var o=r.length-1;return s==o?r.pop():oB.call(r,s,1),--this.size,!0}var uB=lB,cB=Rm;function fB(i){var r=this.__data__,s=cB(r,i);return s<0?void 0:r[s][1]}var dB=fB,hB=Rm;function pB(i){return hB(this.__data__,i)>-1}var vB=pB,mB=Rm;function gB(i,r){var s=this.__data__,o=mB(s,i);return o<0?(++this.size,s.push([i,r])):s[o][1]=r,this}var _B=gB,yB=tB,bB=uB,CB=dB,xB=vB,wB=_B;function gl(i){var r=-1,s=i==null?0:i.length;for(this.clear();++ry))return!1;var k=d.get(i),P=d.get(r);if(k&&P)return k==r&&P==i;var $=-1,E=!0,b=s&uH?new aH:void 0;for(d.set(i,r),d.set(r,i);++$-1&&i%1==0&&i-1&&i%1==0&&i<=y4}var qE=b4,C4=jm,x4=qE,w4=Vm,S4="[object Arguments]",k4="[object Array]",O4="[object Boolean]",D4="[object Date]",$4="[object Error]",E4="[object Function]",T4="[object Map]",P4="[object Number]",I4="[object Object]",M4="[object RegExp]",N4="[object Set]",A4="[object String]",F4="[object WeakMap]",R4="[object ArrayBuffer]",L4="[object DataView]",j4="[object Float32Array]",z4="[object Float64Array]",B4="[object Int8Array]",V4="[object Int16Array]",H4="[object Int32Array]",W4="[object Uint8Array]",q4="[object Uint8ClampedArray]",U4="[object Uint16Array]",K4="[object Uint32Array]",Ct={};Ct[j4]=Ct[z4]=Ct[B4]=Ct[V4]=Ct[H4]=Ct[W4]=Ct[q4]=Ct[U4]=Ct[K4]=!0;Ct[S4]=Ct[k4]=Ct[R4]=Ct[O4]=Ct[L4]=Ct[D4]=Ct[$4]=Ct[E4]=Ct[T4]=Ct[P4]=Ct[I4]=Ct[M4]=Ct[N4]=Ct[A4]=Ct[F4]=!1;function G4(i){return w4(i)&&x4(i.length)&&!!Ct[C4(i)]}var Y4=G4;function X4(i){return function(r){return i(r)}}var Z4=X4,hm={exports:{}};hm.exports;(function(i,r){var s=FE,o=r&&!r.nodeType&&r,u=o&&!0&&i&&!i.nodeType&&i,d=u&&u.exports===o,p=d&&s.process,y=function(){try{var g=u&&u.require&&u.require("util").types;return g||p&&p.binding&&p.binding("util")}catch{}}();i.exports=y})(hm,hm.exports);var J4=hm.exports,Q4=Y4,eW=Z4,qO=J4,UO=qO&&qO.isTypedArray,tW=UO?eW(UO):Q4,UE=tW,nW=t4,iW=d4,rW=Bw,aW=WE,sW=_4,oW=UE,lW=Object.prototype,uW=lW.hasOwnProperty;function cW(i,r){var s=rW(i),o=!s&&iW(i),u=!s&&!o&&aW(i),d=!s&&!o&&!u&&oW(i),p=s||o||u||d,y=p?nW(i.length,String):[],g=y.length;for(var k in i)(r||uW.call(i,k))&&!(p&&(k=="length"||u&&(k=="offset"||k=="parent")||d&&(k=="buffer"||k=="byteLength"||k=="byteOffset")||sW(k,g)))&&y.push(k);return y}var fW=cW,dW=Object.prototype;function hW(i){var r=i&&i.constructor,s=typeof r=="function"&&r.prototype||dW;return i===s}var pW=hW;function vW(i,r){return function(s){return i(r(s))}}var mW=vW,gW=mW,_W=gW(Object.keys,Object),yW=_W,bW=pW,CW=yW,xW=Object.prototype,wW=xW.hasOwnProperty;function SW(i){if(!bW(i))return CW(i);var r=[];for(var s in Object(i))wW.call(i,s)&&s!="constructor"&&r.push(s);return r}var kW=SW,OW=jE,DW=qE;function $W(i){return i!=null&&DW(i.length)&&!OW(i)}var EW=$W,TW=fW,PW=kW,IW=EW;function MW(i){return IW(i)?TW(i):PW(i)}var NW=MW,AW=HH,FW=QH,RW=NW;function LW(i){return AW(i,RW,FW)}var jW=LW,KO=jW,zW=1,BW=Object.prototype,VW=BW.hasOwnProperty;function HW(i,r,s,o,u,d){var p=s&zW,y=KO(i),g=y.length,k=KO(r),P=k.length;if(g!=P&&!p)return!1;for(var $=g;$--;){var E=y[$];if(!(p?E in r:VW.call(r,E)))return!1}var b=d.get(i),S=d.get(r);if(b&&S)return b==r&&S==i;var j=!0;d.set(i,r),d.set(r,i);for(var N=p;++$[]},valueKey:{type:String,default:"value"},labelKey:{type:String,default:"label"},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:String,remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String,required:!1},defaultFirstOption:Boolean,reserveKeyword:Boolean,collapseTags:Boolean,popperAppendToBody:{type:Boolean,default:!0},minItemSize:{type:Number,default:34},fitInputWidth:{type:Boolean,default:!0}},data(){return{localValue:"",localOptions:[],dropdownWidth:""}},mounted(){this.updateSelectedLabel(),this.$refs.select&&this.$watch(()=>this.$refs.select.visible,i=>{i&&this.updateOptions()})},methods:{updateSelectedLabel(){if(!this.$refs.select)return;const{setSelected:i,cachedOptions:r}=this.$refs.select,s=this.multiple?this.localValue:[this.localValue];this.flattedOptions.filter(u=>s==null?void 0:s.includes(u[this.valueKey])).map(u=>({value:u[this.valueKey],currentLabel:u[this.labelKey]})).forEach(u=>{const d=r.find(p=>p.value===u.value);d?r.splice(r.indexOf(d),1,u):r.push(u)}),i()},handleScrollerVisible(){var s;const i=this.multiple?(s=this.localValue)==null?void 0:s[0]:this.localValue,r=this.localOptions.findIndex(o=>o[this.valueKey]===i);this.$refs.scroller.scrollToItem(r)},localFilterMethod(i){const r=this.flattedOptions.filter(s=>{var o;return!s._isGroup&&!s._isSplit&&((o=s[this.labelKey])==null?void 0:o.toLowerCase().includes(i.toLowerCase()))}).map(s=>s._groupName);this.localOptions=this.flattedOptions.filter(s=>{var o;return s._isGroup||s._isSplit?r.some(u=>s._groupName===u):(o=s[this.labelKey])==null?void 0:o.toLowerCase().includes(i.toLowerCase())})},updateOptions(){this.localOptions=this.flattedOptions},async updateDropdownWidth(){var g;if(!((g=this.$refs.select)!=null&&g.$refs.popper)||this.fitInputWidth)return;const{inputWidth:i}=this.$refs.select,s=document.createElement("canvas").getContext("2d");await this.$nextTick();const o=this.$refs.select.$refs.popper.$el.querySelector(".el-select-dropdown__item");if(!o)return;const u=getComputedStyle(o),d=parseFloat(u.paddingLeft)+parseFloat(u.paddingRight),p=6;s.font=u.font;let y=0;this.localOptions.forEach(k=>{const P=s.measureText(k[this.labelKey]);y=Math.max(P.width,y)}),this.dropdownWidth=Math.max(y+d+p,i-2)},focus(){this.$refs.select.focus()},blur(){this.$refs.select.blur()}},computed:{flattedOptions(){if(!Array.isArray(this.options))return[];const i=[];return this.options.forEach(r=>{const s=RC();Array.isArray(r.options)?(i.push({...r,_isGroup:!0,_groupName:s,[this.valueKey]:RC()}),i.push(...r.options.map(o=>({...o,_groupName:s}))),i.push({_isSplit:!0,_groupName:s,[this.valueKey]:RC()})):i.push(r)}),i},scrollerStyle(){return{width:this.dropdownWidth?`${this.dropdownWidth}px`:""}}},watch:{value:{handler(){D5(this.value,this.localValue)||(this.localValue=this.value,this.updateSelectedLabel())},deep:!0,immediate:!0},options:{handler(){this.updateOptions();const i=this.$el.querySelectorAll("input");[].indexOf.call(i,document.activeElement)===-1&&this.updateSelectedLabel()},deep:!0},localOptions(){this.localOptions.length&&this.localOptions[this.localOptions.length-1]._isSplit&&this.localOptions.pop(),this.updateDropdownWidth()}}};var M5=function(){var r=this,s=r._self._c;return s("el-select",r._g(r._b({ref:"select",staticClass:"el-select-v2",attrs:{autocomplete:r.autocomplete,"automatic-dropdown":r.automaticDropdown,size:r.size,disabled:r.disabled,clearable:r.clearable,filterable:r.filterable,"allow-create":r.allowCreate,loading:r.loading,"popper-class":`el-select-v2__popper ${r.popperClass||""}`,remote:r.remote,"loading-text":r.loadingText,"no-match-text":r.noMatchText,"no-data-text":r.noDataText,"remote-method":r.remoteMethod,"filter-method":r.filterMethod||r.localFilterMethod,multiple:r.multiple,"multiple-limit":r.multipleLimit,placeholder:r.placeholder,"default-first-option":r.defaultFirstOption,"reserve-keyword":r.reserveKeyword,"collapse-tags":r.collapseTags,"popper-append-to-body":r.popperAppendToBody},model:{value:r.localValue,callback:function(o){r.localValue=o},expression:"localValue"}},"el-select",r.$attrs,!1),r.$listeners),[r.localOptions.length?s("RecycleScroller",{ref:"scroller",staticClass:"scroller",style:r.scrollerStyle,attrs:{items:r.localOptions,"min-item-size":r.minItemSize,"key-field":r.valueKey},on:{visible:r.handleScrollerVisible},scopedSlots:r._u([{key:"default",fn:function({item:o}){return[o._isGroup?s("li",{staticClass:"el-select-group__title"},[r._v(r._s(o[r.labelKey]))]):o._isSplit?s("li",{staticClass:"el-select-group__split"},[s("span",{staticClass:"el-select-group__split-dash"})]):s("el-option",{key:o[r.valueKey],attrs:{value:o[r.valueKey],label:o[r.labelKey],disabled:o.disabled}},[r._t("default",null,{item:o})],2)]}}],null,!1,2679816960)}):r._e(),r.$slots.prefix?s("template",{slot:"prefix"},[r._t("prefix")],2):r._e(),r.$slots.empty?s("template",{slot:"empty"},[r._t("empty")],2):r._e()],2)},N5=[],A5=sw(I5,M5,N5,!1,null,null,null,null);const Wv=A5.exports;Wv.install=i=>{i.component(Wv.name,Wv)};ht.config.productionTip=!1;ht.use(pz);ht.use(Wv);new ht({el:"#app",render:i=>i(DR)}); diff --git a/docs/index.html b/docs/index.html index d3a0f11..e75fd2a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5,7 +5,7 @@ Select V2 虚拟列表选择器 - + diff --git a/packages/el-select-v2/package.json b/packages/el-select-v2/package.json index 72e154f..fa4b2e9 100644 --- a/packages/el-select-v2/package.json +++ b/packages/el-select-v2/package.json @@ -1,6 +1,6 @@ { "name": "el-select-v2", - "version": "1.2.0", + "version": "1.2.1", "main": "src/index.js", "module": "src/index.js", "repository": { diff --git a/packages/el-select-v2/src/el-select-v2.vue b/packages/el-select-v2/src/el-select-v2.vue index 473d201..94f6680 100644 --- a/packages/el-select-v2/src/el-select-v2.vue +++ b/packages/el-select-v2/src/el-select-v2.vue @@ -277,6 +277,10 @@ deep: true, }, localOptions() { + // 去除最后一个分割线 + if (this.localOptions.length && this.localOptions[this.localOptions.length - 1]._isSplit) { + this.localOptions.pop(); + } this.updateDropdownWidth(); }, },