From 0ca6822a7ae0eb33413df6ca5865da96d130d088 Mon Sep 17 00:00:00 2001
From: TANG <40519806@qq.com>
Date: Fri, 19 Jun 2020 09:51:49 +0800
Subject: [PATCH] Build docs
---
docs/index.html | 2 +-
docs/index.js | 4 ++--
docs/js/{app.40ddba40.js => app.c89f6b94.js} | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
rename docs/js/{app.40ddba40.js => app.c89f6b94.js} (65%)
diff --git a/docs/index.html b/docs/index.html
index 86b6156..89eda14 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1 +1 @@
-
vue-virtual-scroll-list
\ No newline at end of file
+vue-virtual-scroll-list
\ No newline at end of file
diff --git a/docs/index.js b/docs/index.js
index 10ba68a..bec57c3 100644
--- a/docs/index.js
+++ b/docs/index.js
@@ -1,5 +1,5 @@
/*!
- * vue-virtual-scroll-list v2.2.9
+ * vue-virtual-scroll-list v2.3.0
* open source under the MIT license
* https://github.com/tangbc/vue-virtual-scroll-list#readme
*/
@@ -578,7 +578,7 @@
return h(tag, {
key: uniqueKey,
attrs: {
- role: 'item'
+ role: 'listitem'
}
}, [h(component, {
props: extraProps,
diff --git a/docs/js/app.40ddba40.js b/docs/js/app.c89f6b94.js
similarity index 65%
rename from docs/js/app.40ddba40.js
rename to docs/js/app.c89f6b94.js
index 2191c5a..d784750 100644
--- a/docs/js/app.40ddba40.js
+++ b/docs/js/app.c89f6b94.js
@@ -1 +1 @@
-(function(e){function t(t){for(var n,a,r=t[0],l=t[1],c=t[2],u=0,h=[];uthis.range.start)){var t=Math.max(e-this.param.buffer,0);this.checkRange(t,this.getEndByStart(t))}}},{key:"handleBehind",value:function(){var e=this.getScrollOvers();ee&&(a=i-1)}return t>0?--t:0}},{key:"getIndexOffset",value:function(e){if(!e)return 0;for(var t=0,i=0,n=0;n=this.dataSources.length-1)this.scrollToBottom();else{var t=this.virtual.getOffset(e);this.scrollToOffset(t)}},scrollToBottom:function(){var e=this,t=this.$refs.shepherd;if(t){var i=t[this.isHorizontal?"offsetLeft":"offsetTop"];this.scrollToOffset(i),setTimeout((function(){e.getOffset()+e.getClientSize()n+1||!n||(this.virtual.handleScroll(t),this.emitEvent(t,i,n,e))},emitEvent:function(e,t,i,n){this.$emit("scroll",n,this.virtual.getRange()),this.virtual.isFront()&&this.dataSources.length&&e-this.topThreshold<=0?this.$emit("totop"):this.virtual.isBehind()&&e+t+this.bottomThreshold>=i&&this.$emit("tobottom")},getRenderSlots:function(e){for(var t=[],i=this.range,n=i.start,a=i.end,s=this.dataSources,o=this.dataKey,r=this.itemClass,l=this.itemTag,c=this.itemStyle,u=this.isHorizontal,h=this.extraProps,d=this.dataComponent,f=this.itemScopedSlots,p=n;p<=a;p++){var m=s[p];if(m){var g="function"===typeof o?o(m):m[o];"string"===typeof g||"number"===typeof g?t.push(e(F,{props:{index:p,tag:l,event:M.ITEM,horizontal:u,uniqueKey:g,source:m,extraProps:h,component:d,scopedSlots:f},style:c,class:"".concat(r).concat(this.itemClassAdd?" "+this.itemClassAdd(p):"")})):console.warn("Cannot get the data-key '".concat(o,"' from data-sources."))}else console.warn("Cannot get the index '".concat(p,"' from data-sources."))}return t}},render:function(e){var t=this.$slots,i=t.header,n=t.footer,a=this.range,s=a.padFront,o=a.padBehind,r=this.isHorizontal,l=this.pageMode,c=this.rootTag,u=this.wrapTag,h=this.wrapClass,d=this.wrapStyle,f=this.headerTag,p=this.headerClass,m=this.headerStyle,g=this.footerTag,v=this.footerClass,y=this.footerStyle,b={padding:r?"0px ".concat(o,"px 0px ").concat(s,"px"):"".concat(s,"px 0px ").concat(o,"px")},z=d?Object.assign({},d,b):b;return e(c,{ref:"root",on:{"&scroll":!l&&this.onScroll}},[i?e(R,{class:p,style:m,props:{tag:f,event:M.SLOT,uniqueKey:P.HEADER}},i):null,e(u,{class:h,attrs:{role:"group"},style:z},this.getRenderSlots(e)),n?e(R,{class:v,style:y,props:{tag:g,event:M.SLOT,uniqueKey:P.FOOTER}},n):null,e("div",{ref:"shepherd",style:{width:r?"0px":"100%",height:r?"100%":"0px"}})])}}),D=j,H=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"introduction",domProps:{innerHTML:e._s(e.description)}})},$=[],B={name:"introduction",props:{description:{type:String}}},N=B,q=(i("de3a"),Object(o["a"])(N,H,$,!1,null,"0c507b69",null)),V=q.exports,A=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.code?i("pre",{class:e.type,domProps:{innerHTML:e._s(e.encode(e.code))}}):e._e()},K=[],L=(i("ac1f"),i("5319"),{name:"code-high-light",props:{type:{type:String,required:!0},code:{type:String,required:!0}},mounted:function(){"undefined"!==typeof window.hljs&&this.$el.textContent&&window.hljs.highlightBlock(this.$el)},methods:{encode:function(e){return"html"===this.type&&(e=e.replace(//g,">")),e=e.replace(/\s/,""),e}}}),W=L,U=(i("595a"),Object(o["a"])(W,A,K,!1,null,"99fd125a",null)),X=U.exports,G=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.isMobile?e._e():i("a",{staticClass:"github-corner",attrs:{href:e.url,"aria-label":"View source on GitHub"}},[e._v(" github ")])},Y=[],J=i("835c"),Q=i("3f05"),Z={name:"github-corner",data:function(){return{url:"",size:80,isMobile:J["a"]}},mounted:function(){this.url=Object(Q["a"])()}},ee=Z,te=(i("4810"),Object(o["a"])(ee,G,Y,!1,null,"fc50af34",null)),ie=te.exports,ne=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"tab"},[i("div",{staticClass:"tab-item view",class:{active:e.isView},on:{click:e.eventClickView}},[e._v("VIEW")]),i("div",{staticClass:"tab-item code",class:{active:!e.isView},on:{click:e.eventClickCode}},[e._v("CODE")]),i("a",{directives:[{name:"show",rawName:"v-show",value:!e.isView,expression:"!isView"}],staticClass:"complete-code-url",attrs:{target:"_blank",href:e.completeCodeUrl}},[e._v("COMPLETE CODE")])])},ae=[],se=i("b95e"),oe={name:"tab",data:function(){return{completeCodeUrl:"",active:se["a"]}},computed:{isView:function(){return this.active===se["b"].VIEW}},mounted:function(){this.completeCodeUrl=Object(Q["a"])()},methods:{eventClickView:function(){this.active=se["b"].VIEW,this.emitEvent()},eventClickCode:function(){this.active=se["b"].CODE,this.emitEvent()},emitEvent:function(){this.$emit("tab-change",this.active)}}},re=oe,le=(i("2345"),Object(o["a"])(re,ne,ae,!1,null,"13711752",null)),ce=le.exports;n["a"].component("virtual-list",D),n["a"].component(V.name,V),n["a"].component(X.name,X),n["a"].component(ie.name,ie),n["a"].component(ce.name,ce),n["a"].component("github-button",z["a"]),n["a"].config.devtools=!1,n["a"].config.productionTip=!1,new n["a"]({router:b,render:function(e){return e(c)}}).$mount("#app")},"595a":function(e,t,i){"use strict";var n=i("a5ff"),a=i.n(n);a.a},"67ef":function(e,t,i){},"7c55":function(e,t,i){"use strict";var n=i("2395"),a=i.n(n);a.a},"835c":function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));i("ac1f"),i("466d");var n=navigator.userAgent,a=!!n.match(/Android/i),s=!!n.match(/iPhone|iPad|iPod/i),o=a||s},"87e4":function(e,t,i){},a5ff:function(e,t,i){},b95e:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"a",(function(){return a}));var n={VIEW:1,CODE:2},a=n.VIEW},de3a:function(e,t,i){"use strict";var n=i("2f31"),a=i.n(n);a.a}});
\ No newline at end of file
+(function(e){function t(t){for(var n,a,r=t[0],l=t[1],c=t[2],u=0,h=[];uthis.range.start)){var t=Math.max(e-this.param.buffer,0);this.checkRange(t,this.getEndByStart(t))}}},{key:"handleBehind",value:function(){var e=this.getScrollOvers();ee&&(a=i-1)}return t>0?--t:0}},{key:"getIndexOffset",value:function(e){if(!e)return 0;for(var t=0,i=0,n=0;n=this.dataSources.length-1)this.scrollToBottom();else{var t=this.virtual.getOffset(e);this.scrollToOffset(t)}},scrollToBottom:function(){var e=this,t=this.$refs.shepherd;if(t){var i=t[this.isHorizontal?"offsetLeft":"offsetTop"];this.scrollToOffset(i),setTimeout((function(){e.getOffset()+e.getClientSize()n+1||!n||(this.virtual.handleScroll(t),this.emitEvent(t,i,n,e))},emitEvent:function(e,t,i,n){this.$emit("scroll",n,this.virtual.getRange()),this.virtual.isFront()&&this.dataSources.length&&e-this.topThreshold<=0?this.$emit("totop"):this.virtual.isBehind()&&e+t+this.bottomThreshold>=i&&this.$emit("tobottom")},getRenderSlots:function(e){for(var t=[],i=this.range,n=i.start,a=i.end,s=this.dataSources,o=this.dataKey,r=this.itemClass,l=this.itemTag,c=this.itemStyle,u=this.isHorizontal,h=this.extraProps,d=this.dataComponent,f=this.itemScopedSlots,p=n;p<=a;p++){var m=s[p];if(m){var g="function"===typeof o?o(m):m[o];"string"===typeof g||"number"===typeof g?t.push(e(F,{props:{index:p,tag:l,event:M.ITEM,horizontal:u,uniqueKey:g,source:m,extraProps:h,component:d,scopedSlots:f},style:c,class:"".concat(r).concat(this.itemClassAdd?" "+this.itemClassAdd(p):"")})):console.warn("Cannot get the data-key '".concat(o,"' from data-sources."))}else console.warn("Cannot get the index '".concat(p,"' from data-sources."))}return t}},render:function(e){var t=this.$slots,i=t.header,n=t.footer,a=this.range,s=a.padFront,o=a.padBehind,r=this.isHorizontal,l=this.pageMode,c=this.rootTag,u=this.wrapTag,h=this.wrapClass,d=this.wrapStyle,f=this.headerTag,p=this.headerClass,m=this.headerStyle,g=this.footerTag,v=this.footerClass,y=this.footerStyle,b={padding:r?"0px ".concat(o,"px 0px ").concat(s,"px"):"".concat(s,"px 0px ").concat(o,"px")},z=d?Object.assign({},d,b):b;return e(c,{ref:"root",on:{"&scroll":!l&&this.onScroll}},[i?e(R,{class:p,style:m,props:{tag:f,event:M.SLOT,uniqueKey:P.HEADER}},i):null,e(u,{class:h,attrs:{role:"group"},style:z},this.getRenderSlots(e)),n?e(R,{class:v,style:y,props:{tag:g,event:M.SLOT,uniqueKey:P.FOOTER}},n):null,e("div",{ref:"shepherd",style:{width:r?"0px":"100%",height:r?"100%":"0px"}})])}}),D=j,H=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"introduction",domProps:{innerHTML:e._s(e.description)}})},$=[],B={name:"introduction",props:{description:{type:String}}},N=B,q=(i("de3a"),Object(o["a"])(N,H,$,!1,null,"0c507b69",null)),V=q.exports,A=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.code?i("pre",{class:e.type,domProps:{innerHTML:e._s(e.encode(e.code))}}):e._e()},K=[],L=(i("ac1f"),i("5319"),{name:"code-high-light",props:{type:{type:String,required:!0},code:{type:String,required:!0}},mounted:function(){"undefined"!==typeof window.hljs&&this.$el.textContent&&window.hljs.highlightBlock(this.$el)},methods:{encode:function(e){return"html"===this.type&&(e=e.replace(//g,">")),e=e.replace(/\s/,""),e}}}),W=L,U=(i("595a"),Object(o["a"])(W,A,K,!1,null,"99fd125a",null)),X=U.exports,G=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.isMobile?e._e():i("a",{staticClass:"github-corner",attrs:{href:e.url,"aria-label":"View source on GitHub"}},[e._v(" github ")])},Y=[],J=i("835c"),Q=i("3f05"),Z={name:"github-corner",data:function(){return{url:"",size:80,isMobile:J["a"]}},mounted:function(){this.url=Object(Q["a"])()}},ee=Z,te=(i("4810"),Object(o["a"])(ee,G,Y,!1,null,"fc50af34",null)),ie=te.exports,ne=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"tab"},[i("div",{staticClass:"tab-item view",class:{active:e.isView},on:{click:e.eventClickView}},[e._v("VIEW")]),i("div",{staticClass:"tab-item code",class:{active:!e.isView},on:{click:e.eventClickCode}},[e._v("CODE")]),i("a",{directives:[{name:"show",rawName:"v-show",value:!e.isView,expression:"!isView"}],staticClass:"complete-code-url",attrs:{target:"_blank",href:e.completeCodeUrl}},[e._v("COMPLETE CODE")])])},ae=[],se=i("b95e"),oe={name:"tab",data:function(){return{completeCodeUrl:"",active:se["a"]}},computed:{isView:function(){return this.active===se["b"].VIEW}},mounted:function(){this.completeCodeUrl=Object(Q["a"])()},methods:{eventClickView:function(){this.active=se["b"].VIEW,this.emitEvent()},eventClickCode:function(){this.active=se["b"].CODE,this.emitEvent()},emitEvent:function(){this.$emit("tab-change",this.active)}}},re=oe,le=(i("2345"),Object(o["a"])(re,ne,ae,!1,null,"13711752",null)),ce=le.exports;n["a"].component("virtual-list",D),n["a"].component(V.name,V),n["a"].component(X.name,X),n["a"].component(ie.name,ie),n["a"].component(ce.name,ce),n["a"].component("github-button",z["a"]),n["a"].config.devtools=!1,n["a"].config.productionTip=!1,new n["a"]({router:b,render:function(e){return e(c)}}).$mount("#app")},"595a":function(e,t,i){"use strict";var n=i("a5ff"),a=i.n(n);a.a},"67ef":function(e,t,i){},"7c55":function(e,t,i){"use strict";var n=i("2395"),a=i.n(n);a.a},"835c":function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));i("ac1f"),i("466d");var n=navigator.userAgent,a=!!n.match(/Android/i),s=!!n.match(/iPhone|iPad|iPod/i),o=a||s},"87e4":function(e,t,i){},a5ff:function(e,t,i){},b95e:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"a",(function(){return a}));var n={VIEW:1,CODE:2},a=n.VIEW},de3a:function(e,t,i){"use strict";var n=i("2f31"),a=i.n(n);a.a}});
\ No newline at end of file