Infinite Image Browsing
-
+
diff --git a/scripts/iib/tool.py b/scripts/iib/tool.py
index d5e3bfc..bd4ed89 100755
--- a/scripts/iib/tool.py
+++ b/scripts/iib/tool.py
@@ -212,7 +212,7 @@ def is_video_simple(filepath):
return isinstance(get_video_type(filepath), str)
def get_video_type(file_path):
- video_extensions = ['.mp4', '.m4v', '.avi', '.mkv', '.mov', '.wmv', '.flv', '.ts']
+ video_extensions = ['.mp4', '.m4v', '.avi', '.mkv', '.mov', '.wmv', '.flv', '.ts', '.webm']
file_extension = file_path[file_path.rfind('.'):].lower()
if file_extension in video_extensions:
diff --git a/vue/dist/assets/Checkbox-2256c39a.js b/vue/dist/assets/Checkbox-b89743db.js
similarity index 97%
rename from vue/dist/assets/Checkbox-2256c39a.js
rename to vue/dist/assets/Checkbox-b89743db.js
index 05e88c8..ea39ec0 100644
--- a/vue/dist/assets/Checkbox-2256c39a.js
+++ b/vue/dist/assets/Checkbox-b89743db.js
@@ -1 +1 @@
-import{d as E,bB as $,r as f,m as M,_ as T,a as c,an as W,h as m,c as v,P as z}from"./index-b50c8b7b.js";var G=["prefixCls","name","id","type","disabled","readonly","tabindex","autofocus","value","required"],H={prefixCls:String,name:String,id:String,type:String,defaultChecked:{type:[Boolean,Number],default:void 0},checked:{type:[Boolean,Number],default:void 0},disabled:Boolean,tabindex:{type:[Number,String]},readonly:Boolean,autofocus:Boolean,value:z.any,required:Boolean};const L=E({compatConfig:{MODE:3},name:"Checkbox",inheritAttrs:!1,props:$(H,{prefixCls:"rc-checkbox",type:"checkbox",defaultChecked:!1}),emits:["click","change"],setup:function(a,d){var t=d.attrs,h=d.emit,g=d.expose,o=f(a.checked===void 0?a.defaultChecked:a.checked),i=f();M(function(){return a.checked},function(){o.value=a.checked}),g({focus:function(){var e;(e=i.value)===null||e===void 0||e.focus()},blur:function(){var e;(e=i.value)===null||e===void 0||e.blur()}});var l=f(),x=function(e){if(!a.disabled){a.checked===void 0&&(o.value=e.target.checked),e.shiftKey=l.value;var r={target:c(c({},a),{},{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e};a.checked!==void 0&&(i.value.checked=!!a.checked),h("change",r),l.value=!1}},C=function(e){h("click",e),l.value=e.shiftKey};return function(){var n,e=a.prefixCls,r=a.name,s=a.id,p=a.type,b=a.disabled,K=a.readonly,P=a.tabindex,B=a.autofocus,S=a.value,N=a.required,_=T(a,G),q=t.class,D=t.onFocus,j=t.onBlur,w=t.onKeydown,A=t.onKeypress,F=t.onKeyup,y=c(c({},_),t),O=Object.keys(y).reduce(function(k,u){return(u.substr(0,5)==="aria-"||u.substr(0,5)==="data-"||u==="role")&&(k[u]=y[u]),k},{}),R=W(e,q,(n={},m(n,"".concat(e,"-checked"),o.value),m(n,"".concat(e,"-disabled"),b),n)),V=c(c({name:r,id:s,type:p,readonly:K,disabled:b,tabindex:P,class:"".concat(e,"-input"),checked:!!o.value,autofocus:B,value:S},O),{},{onChange:x,onClick:C,onFocus:D,onBlur:j,onKeydown:w,onKeypress:A,onKeyup:F,required:N});return v("span",{class:R},[v("input",c({ref:i},V),null),v("span",{class:"".concat(e,"-inner")},null)])}}});export{L as V};
+import{d as E,bB as $,r as f,m as M,_ as T,a as c,an as W,h as m,c as v,P as z}from"./index-a7581aec.js";var G=["prefixCls","name","id","type","disabled","readonly","tabindex","autofocus","value","required"],H={prefixCls:String,name:String,id:String,type:String,defaultChecked:{type:[Boolean,Number],default:void 0},checked:{type:[Boolean,Number],default:void 0},disabled:Boolean,tabindex:{type:[Number,String]},readonly:Boolean,autofocus:Boolean,value:z.any,required:Boolean};const L=E({compatConfig:{MODE:3},name:"Checkbox",inheritAttrs:!1,props:$(H,{prefixCls:"rc-checkbox",type:"checkbox",defaultChecked:!1}),emits:["click","change"],setup:function(a,d){var t=d.attrs,h=d.emit,g=d.expose,o=f(a.checked===void 0?a.defaultChecked:a.checked),i=f();M(function(){return a.checked},function(){o.value=a.checked}),g({focus:function(){var e;(e=i.value)===null||e===void 0||e.focus()},blur:function(){var e;(e=i.value)===null||e===void 0||e.blur()}});var l=f(),x=function(e){if(!a.disabled){a.checked===void 0&&(o.value=e.target.checked),e.shiftKey=l.value;var r={target:c(c({},a),{},{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e};a.checked!==void 0&&(i.value.checked=!!a.checked),h("change",r),l.value=!1}},C=function(e){h("click",e),l.value=e.shiftKey};return function(){var n,e=a.prefixCls,r=a.name,s=a.id,p=a.type,b=a.disabled,K=a.readonly,P=a.tabindex,B=a.autofocus,S=a.value,N=a.required,_=T(a,G),q=t.class,D=t.onFocus,j=t.onBlur,w=t.onKeydown,A=t.onKeypress,F=t.onKeyup,y=c(c({},_),t),O=Object.keys(y).reduce(function(k,u){return(u.substr(0,5)==="aria-"||u.substr(0,5)==="data-"||u==="role")&&(k[u]=y[u]),k},{}),R=W(e,q,(n={},m(n,"".concat(e,"-checked"),o.value),m(n,"".concat(e,"-disabled"),b),n)),V=c(c({name:r,id:s,type:p,readonly:K,disabled:b,tabindex:P,class:"".concat(e,"-input"),checked:!!o.value,autofocus:B,value:S},O),{},{onChange:x,onClick:C,onFocus:D,onBlur:j,onKeydown:w,onKeypress:A,onKeyup:F,required:N});return v("span",{class:R},[v("input",c({ref:i},V),null),v("span",{class:"".concat(e,"-inner")},null)])}}});export{L as V};
diff --git a/vue/dist/assets/FileItem-e4c04984.js b/vue/dist/assets/FileItem-3fd7894f.js
similarity index 99%
rename from vue/dist/assets/FileItem-e4c04984.js
rename to vue/dist/assets/FileItem-3fd7894f.js
index 6c97043..e9f66a6 100644
--- a/vue/dist/assets/FileItem-e4c04984.js
+++ b/vue/dist/assets/FileItem-3fd7894f.js
@@ -1,3 +1,3 @@
-var ht=Object.defineProperty;var gt=(i,n,e)=>n in i?ht(i,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[n]=e;var ee=(i,n,e)=>(gt(i,typeof n!="symbol"?n+"":n,e),e);import{d as Z,u as Je,G as x,an as We,h as W,c as b,aq as pt,dj as vt,r as j,bg as mt,Z as V,dh as yt,P as De,c9 as bt,A as X,dk as de,O as ge,am as ke,bj as At,d4 as St,b_ as kt,dl as _t,cG as It,dm as Ne,dn as Ct,p as wt,dp as Ke,bA as Tt,dq as ae,dr as Et,aH as Pt,ds as Ot,C as Dt,dt as Nt,n as pe,m as re,aT as zt,t as Ge,a1 as _e,c7 as Ye,aJ as Qt,du as qe,dv as Mt,Q as $t,x as Bt,aP as Ze,aQ as Xe,az as et,U as a,a2 as R,dw as Ft,dx as Rt,dy as Lt,c3 as jt,dz as Vt,at as xt,V as f,aG as te,$ as A,a3 as S,a8 as J,c4 as ze,c5 as Ht,dA as Ut,a7 as tt,ag as K,X as k,Y as p,a4 as F,al as nt,dc as Jt,db as Wt,M as it,W as u,a0 as st,d6 as Kt,dB as Qe,af as Gt,dC as Yt,d9 as qt,dD as Zt,dE as Xt,cr as Me,cR as en,dF as ce,cL as tn,dG as nn,dH as sn}from"./index-b50c8b7b.js";import"./numInput.vue_vue_type_style_index_0_scoped_55978858_lang-b4b06c0b.js";import{i as rn}from"./_isIterateeCall-2b0aae0f.js";import{D as Y,a as ve}from"./index-abe7e4f3.js";/* empty css */var on=function(){return{prefixCls:String,checked:{type:Boolean,default:void 0},onChange:{type:Function},onClick:{type:Function},"onUpdate:checked":Function}},ln=Z({compatConfig:{MODE:3},name:"ACheckableTag",props:on(),setup:function(n,e){var t=e.slots,r=e.emit,o=Je("tag",n),h=o.prefixCls,c=function(E){var C=n.checked;r("update:checked",!C),r("change",!C),r("click",E)},g=x(function(){var m;return We(h.value,(m={},W(m,"".concat(h.value,"-checkable"),!0),W(m,"".concat(h.value,"-checkable-checked"),n.checked),m))});return function(){var m;return b("span",{class:g.value,onClick:c},[(m=t.default)===null||m===void 0?void 0:m.call(t)])}}});const me=ln;var an=new RegExp("^(".concat(pt.join("|"),")(-inverse)?$")),un=new RegExp("^(".concat(vt.join("|"),")$")),dn=function(){return{prefixCls:String,color:{type:String},closable:{type:Boolean,default:!1},closeIcon:De.any,visible:{type:Boolean,default:void 0},onClose:{type:Function},"onUpdate:visible":Function,icon:De.any}},q=Z({compatConfig:{MODE:3},name:"ATag",props:dn(),slots:["closeIcon","icon"],setup:function(n,e){var t=e.slots,r=e.emit,o=e.attrs,h=Je("tag",n),c=h.prefixCls,g=h.direction,m=j(!0);mt(function(){n.visible!==void 0&&(m.value=n.visible)});var E=function(l){l.stopPropagation(),r("update:visible",!1),r("close",l),!l.defaultPrevented&&n.visible===void 0&&(m.value=!1)},C=x(function(){var Q=n.color;return Q?an.test(Q)||un.test(Q):!1}),P=x(function(){var Q;return We(c.value,(Q={},W(Q,"".concat(c.value,"-").concat(n.color),C.value),W(Q,"".concat(c.value,"-has-color"),n.color&&!C.value),W(Q,"".concat(c.value,"-hidden"),!m.value),W(Q,"".concat(c.value,"-rtl"),g.value==="rtl"),Q))});return function(){var Q,l,s,d=n.icon,w=d===void 0?(Q=t.icon)===null||Q===void 0?void 0:Q.call(t):d,O=n.color,M=n.closeIcon,v=M===void 0?(l=t.closeIcon)===null||l===void 0?void 0:l.call(t):M,I=n.closable,T=I===void 0?!1:I,y=function(){return T?v?b("span",{class:"".concat(c.value,"-close-icon"),onClick:E},[v]):b(bt,{class:"".concat(c.value,"-close-icon"),onClick:E},null):null},N={backgroundColor:O&&!C.value?O:void 0},B=w||null,_=(s=t.default)===null||s===void 0?void 0:s.call(t),L=B?b(V,null,[B,b("span",null,[_])]):_,D="onClick"in o,$=b("span",{class:P.value,style:N},[L,y()]);return D?b(yt,null,{default:function(){return[$]}}):$}}});q.CheckableTag=me;q.install=function(i){return i.component(q.name,q),i.component(me.name,me),i};const cn=q;Y.Button=ve;Y.install=function(i){return i.component(Y.name,Y),i.component(ve.name,ve),i};var fn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};const hn=fn;function $e(i){for(var n=1;n{const r=kt();ge(r),ne.has(r)||(ne.set(r,ke(i(r,t??(n==null?void 0:n())))),At(()=>{ne.delete(r)}));const o=ne.get(r);return ge(o),{state:o,toRefs(){return St(o)}}}}}var Nn={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"}}]},name:"caret-right",theme:"outlined"};const zn=Nn;function Re(i){for(var n=1;n{const i=j([]);return{selectdFiles:i,addFiles:e=>{i.value=It([...i.value,...e])}}});class oe{constructor(n,e=Ct.CREATED_TIME_DESC){ee(this,"root");ee(this,"execQueue",[]);ee(this,"walkerInitPromsie");this.entryPath=n,this.sortMethod=e,this.root={children:[],info:{name:this.entryPath,size:"-",bytes:0,created_time:"",is_under_scanned_path:!0,date:"",type:"dir",fullpath:this.entryPath}},this.walkerInitPromsie=new Promise(t=>{Ne([this.entryPath]).then(async r=>{this.root.info=r[this.entryPath],await this.fetchChildren(this.root),t()})})}reset(){return this.root.children=[],this.fetchChildren(this.root)}get images(){const n=e=>e.children.map(t=>{if(t.info.type==="dir")return n(t);if(ae(t.info.name))return t.info}).filter(t=>t).flat(1);return n(this.root)}get isCompleted(){return this.execQueue.length===0}async fetchChildren(n){const{files:e}=await wt(n.info.fullpath);return n.children=Ke(e,this.sortMethod).map(t=>({info:t,children:[]})),this.execQueue.shift(),this.execQueue.unshift(...n.children.filter(t=>t.info.type==="dir").map(t=>({fn:()=>this.fetchChildren(t),...t}))),n}async next(){await this.walkerInitPromsie;const n=_n(this.execQueue);if(!n)return null;const e=await n.fn();return this.execQueue=this.execQueue.slice(),this.root={...this.root},e}async isExpired(){const n=[this.root.info],e=r=>{for(const o of r.children)o.info.type==="dir"&&(n.push(o.info),e(o))};e(this.root);const t=await Ne(n.map(r=>r.fullpath));for(const r of n)if(!Tt(r,t[r.fullpath]))return!0;return!1}async seamlessRefresh(n,e=j(!1)){const t=performance.now(),r=new oe(this.entryPath,this.sortMethod);for(await r.walkerInitPromsie;!r.isCompleted&&r.images.lengthn in i?ht(i,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[n]=e;var ee=(i,n,e)=>(gt(i,typeof n!="symbol"?n+"":n,e),e);import{d as Z,u as Je,G as x,an as We,h as W,c as b,aq as pt,dj as vt,r as j,bg as mt,Z as V,dh as yt,P as De,c9 as bt,A as X,dk as de,O as ge,am as ke,bj as At,d4 as St,b_ as kt,dl as _t,cG as It,dm as Ne,dn as Ct,p as wt,dp as Ke,bA as Tt,dq as ae,dr as Et,aH as Pt,ds as Ot,C as Dt,dt as Nt,n as pe,m as re,aT as zt,t as Ge,a1 as _e,c7 as Ye,aJ as Qt,du as qe,dv as Mt,Q as $t,x as Bt,aP as Ze,aQ as Xe,az as et,U as a,a2 as R,dw as Ft,dx as Rt,dy as Lt,c3 as jt,dz as Vt,at as xt,V as f,aG as te,$ as A,a3 as S,a8 as J,c4 as ze,c5 as Ht,dA as Ut,a7 as tt,ag as K,X as k,Y as p,a4 as F,al as nt,dc as Jt,db as Wt,M as it,W as u,a0 as st,d6 as Kt,dB as Qe,af as Gt,dC as Yt,d9 as qt,dD as Zt,dE as Xt,cr as Me,cR as en,dF as ce,cL as tn,dG as nn,dH as sn}from"./index-a7581aec.js";import"./numInput.vue_vue_type_style_index_0_scoped_55978858_lang-561967bb.js";import{i as rn}from"./_isIterateeCall-c7210029.js";import{D as Y,a as ve}from"./index-285022d6.js";/* empty css */var on=function(){return{prefixCls:String,checked:{type:Boolean,default:void 0},onChange:{type:Function},onClick:{type:Function},"onUpdate:checked":Function}},ln=Z({compatConfig:{MODE:3},name:"ACheckableTag",props:on(),setup:function(n,e){var t=e.slots,r=e.emit,o=Je("tag",n),h=o.prefixCls,c=function(E){var C=n.checked;r("update:checked",!C),r("change",!C),r("click",E)},g=x(function(){var m;return We(h.value,(m={},W(m,"".concat(h.value,"-checkable"),!0),W(m,"".concat(h.value,"-checkable-checked"),n.checked),m))});return function(){var m;return b("span",{class:g.value,onClick:c},[(m=t.default)===null||m===void 0?void 0:m.call(t)])}}});const me=ln;var an=new RegExp("^(".concat(pt.join("|"),")(-inverse)?$")),un=new RegExp("^(".concat(vt.join("|"),")$")),dn=function(){return{prefixCls:String,color:{type:String},closable:{type:Boolean,default:!1},closeIcon:De.any,visible:{type:Boolean,default:void 0},onClose:{type:Function},"onUpdate:visible":Function,icon:De.any}},q=Z({compatConfig:{MODE:3},name:"ATag",props:dn(),slots:["closeIcon","icon"],setup:function(n,e){var t=e.slots,r=e.emit,o=e.attrs,h=Je("tag",n),c=h.prefixCls,g=h.direction,m=j(!0);mt(function(){n.visible!==void 0&&(m.value=n.visible)});var E=function(l){l.stopPropagation(),r("update:visible",!1),r("close",l),!l.defaultPrevented&&n.visible===void 0&&(m.value=!1)},C=x(function(){var Q=n.color;return Q?an.test(Q)||un.test(Q):!1}),P=x(function(){var Q;return We(c.value,(Q={},W(Q,"".concat(c.value,"-").concat(n.color),C.value),W(Q,"".concat(c.value,"-has-color"),n.color&&!C.value),W(Q,"".concat(c.value,"-hidden"),!m.value),W(Q,"".concat(c.value,"-rtl"),g.value==="rtl"),Q))});return function(){var Q,l,s,d=n.icon,w=d===void 0?(Q=t.icon)===null||Q===void 0?void 0:Q.call(t):d,O=n.color,M=n.closeIcon,v=M===void 0?(l=t.closeIcon)===null||l===void 0?void 0:l.call(t):M,I=n.closable,T=I===void 0?!1:I,y=function(){return T?v?b("span",{class:"".concat(c.value,"-close-icon"),onClick:E},[v]):b(bt,{class:"".concat(c.value,"-close-icon"),onClick:E},null):null},N={backgroundColor:O&&!C.value?O:void 0},B=w||null,_=(s=t.default)===null||s===void 0?void 0:s.call(t),L=B?b(V,null,[B,b("span",null,[_])]):_,D="onClick"in o,$=b("span",{class:P.value,style:N},[L,y()]);return D?b(yt,null,{default:function(){return[$]}}):$}}});q.CheckableTag=me;q.install=function(i){return i.component(q.name,q),i.component(me.name,me),i};const cn=q;Y.Button=ve;Y.install=function(i){return i.component(Y.name,Y),i.component(ve.name,ve),i};var fn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};const hn=fn;function $e(i){for(var n=1;n{const r=kt();ge(r),ne.has(r)||(ne.set(r,ke(i(r,t??(n==null?void 0:n())))),At(()=>{ne.delete(r)}));const o=ne.get(r);return ge(o),{state:o,toRefs(){return St(o)}}}}}var Nn={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"}}]},name:"caret-right",theme:"outlined"};const zn=Nn;function Re(i){for(var n=1;n{const i=j([]);return{selectdFiles:i,addFiles:e=>{i.value=It([...i.value,...e])}}});class oe{constructor(n,e=Ct.CREATED_TIME_DESC){ee(this,"root");ee(this,"execQueue",[]);ee(this,"walkerInitPromsie");this.entryPath=n,this.sortMethod=e,this.root={children:[],info:{name:this.entryPath,size:"-",bytes:0,created_time:"",is_under_scanned_path:!0,date:"",type:"dir",fullpath:this.entryPath}},this.walkerInitPromsie=new Promise(t=>{Ne([this.entryPath]).then(async r=>{this.root.info=r[this.entryPath],await this.fetchChildren(this.root),t()})})}reset(){return this.root.children=[],this.fetchChildren(this.root)}get images(){const n=e=>e.children.map(t=>{if(t.info.type==="dir")return n(t);if(ae(t.info.name))return t.info}).filter(t=>t).flat(1);return n(this.root)}get isCompleted(){return this.execQueue.length===0}async fetchChildren(n){const{files:e}=await wt(n.info.fullpath);return n.children=Ke(e,this.sortMethod).map(t=>({info:t,children:[]})),this.execQueue.shift(),this.execQueue.unshift(...n.children.filter(t=>t.info.type==="dir").map(t=>({fn:()=>this.fetchChildren(t),...t}))),n}async next(){await this.walkerInitPromsie;const n=_n(this.execQueue);if(!n)return null;const e=await n.fn();return this.execQueue=this.execQueue.slice(),this.root={...this.root},e}async isExpired(){const n=[this.root.info],e=r=>{for(const o of r.children)o.info.type==="dir"&&(n.push(o.info),e(o))};e(this.root);const t=await Ne(n.map(r=>r.fullpath));for(const r of n)if(!Tt(r,t[r.fullpath]))return!0;return!1}async seamlessRefresh(n,e=j(!1)){const t=performance.now(),r=new oe(this.entryPath,this.sortMethod);for(await r.walkerInitPromsie;!r.isCompleted&&r.images.length