Infinite Image Browsing
-
+
diff --git a/vue/dist/assets/Checkbox-f5dbf4ee.js b/vue/dist/assets/Checkbox-c079cc59.js
similarity index 97%
rename from vue/dist/assets/Checkbox-f5dbf4ee.js
rename to vue/dist/assets/Checkbox-c079cc59.js
index 85a6438..a520a8a 100644
--- a/vue/dist/assets/Checkbox-f5dbf4ee.js
+++ b/vue/dist/assets/Checkbox-c079cc59.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-96dff625.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-66b6399d.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-0086b56a.js b/vue/dist/assets/FileItem-09b081e1.js
similarity index 99%
rename from vue/dist/assets/FileItem-0086b56a.js
rename to vue/dist/assets/FileItem-09b081e1.js
index 3bd0a02..ad5f7fc 100644
--- a/vue/dist/assets/FileItem-0086b56a.js
+++ b/vue/dist/assets/FileItem-09b081e1.js
@@ -1,3 +1,3 @@
-var ft=Object.defineProperty;var ht=(i,n,e)=>n in i?ft(i,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[n]=e;var ee=(i,n,e)=>(ht(i,typeof n!="symbol"?n+"":n,e),e);import{d as Z,u as Ue,G as H,an as Je,h as W,c as A,aq as gt,di as pt,r as j,bg as vt,Z as V,dg as mt,P as De,c9 as yt,A as X,dj as de,O as ge,am as ke,bj as bt,d3 as At,b_ as St,dk as kt,cF as It,dl as Ne,dm as _t,p as Ct,dn as We,bA as wt,dp as ae,dq as Et,aH as Tt,dr as Pt,C as Ot,ds as Dt,n as pe,m as re,aT as Nt,t as Ke,a1 as Ie,c7 as qe,aJ as zt,dt as Ge,du as Qt,Q as $t,x as Mt,aP as Ye,aQ as Ze,az as Xe,U as a,a2 as R,dv as Bt,dw as Ft,dx as Rt,c3 as Lt,dy as jt,at as Vt,V as h,aG as te,$ as S,a3 as k,a8 as J,c4 as ze,c5 as Ht,dz as xt,a7 as et,ag as K,X as I,Y as y,a4 as M,al as tt,db as Ut,da as Jt,M as nt,W as u,a0 as it,d5 as Wt,dA as Qe,af as Kt,dB as qt,d8 as Gt,dC as Yt,dD as Zt,cq as Xt,cQ as en,dE as ce,dF as tn,dG as nn}from"./index-96dff625.js";import"./numInput.vue_vue_type_style_index_0_scoped_55978858_lang-1734d3ed.js";import{i as sn}from"./_isIterateeCall-1140659f.js";import{D as G,a as ve}from"./index-7aefbf98.js";/* empty css */var rn=function(){return{prefixCls:String,checked:{type:Boolean,default:void 0},onChange:{type:Function},onClick:{type:Function},"onUpdate:checked":Function}},on=Z({compatConfig:{MODE:3},name:"ACheckableTag",props:rn(),setup:function(n,e){var t=e.slots,s=e.emit,o=Ue("tag",n),p=o.prefixCls,c=function(E){var w=n.checked;s("update:checked",!w),s("change",!w),s("click",E)},v=H(function(){var b;return Je(p.value,(b={},W(b,"".concat(p.value,"-checkable"),!0),W(b,"".concat(p.value,"-checkable-checked"),n.checked),b))});return function(){var b;return A("span",{class:v.value,onClick:c},[(b=t.default)===null||b===void 0?void 0:b.call(t)])}}});const me=on;var ln=new RegExp("^(".concat(gt.join("|"),")(-inverse)?$")),an=new RegExp("^(".concat(pt.join("|"),")$")),un=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}},Y=Z({compatConfig:{MODE:3},name:"ATag",props:un(),slots:["closeIcon","icon"],setup:function(n,e){var t=e.slots,s=e.emit,o=e.attrs,p=Ue("tag",n),c=p.prefixCls,v=p.direction,b=j(!0);vt(function(){n.visible!==void 0&&(b.value=n.visible)});var E=function(r){r.stopPropagation(),s("update:visible",!1),s("close",r),!r.defaultPrevented&&n.visible===void 0&&(b.value=!1)},w=H(function(){var l=n.color;return l?ln.test(l)||an.test(l):!1}),T=H(function(){var l;return Je(c.value,(l={},W(l,"".concat(c.value,"-").concat(n.color),w.value),W(l,"".concat(c.value,"-has-color"),n.color&&!w.value),W(l,"".concat(c.value,"-hidden"),!b.value),W(l,"".concat(c.value,"-rtl"),v.value==="rtl"),l))});return function(){var l,r,d,m=n.icon,N=m===void 0?(l=t.icon)===null||l===void 0?void 0:l.call(t):m,O=n.color,z=n.closeIcon,g=z===void 0?(r=t.closeIcon)===null||r===void 0?void 0:r.call(t):z,f=n.closable,C=f===void 0?!1:f,$=function(){return C?g?A("span",{class:"".concat(c.value,"-close-icon"),onClick:E},[g]):A(yt,{class:"".concat(c.value,"-close-icon"),onClick:E},null):null},F={backgroundColor:O&&!w.value?O:void 0},B=N||null,_=(d=t.default)===null||d===void 0?void 0:d.call(t),L=B?A(V,null,[B,A("span",null,[_])]):_,P="onClick"in o,Q=A("span",{class:T.value,style:F},[L,$()]);return P?A(mt,null,{default:function(){return[Q]}}):Q}}});Y.CheckableTag=me;Y.install=function(i){return i.component(Y.name,Y),i.component(me.name,me),i};const dn=Y;G.Button=ve;G.install=function(i){return i.component(G.name,G),i.component(ve.name,ve),i};var cn={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 fn=cn;function $e(i){for(var n=1;n{const s=St();ge(s),ne.has(s)||(ne.set(s,ke(i(s,t??(n==null?void 0:n())))),bt(()=>{ne.delete(s)}));const o=ne.get(s);return ge(o),{state:o,toRefs(){return At(o)}}}}}var Dn={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 Nn=Dn;function Fe(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=_t.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 s=>{this.root.info=s[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 Ct(n.info.fullpath);return n.children=We(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=kn(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=s=>{for(const o of s.children)o.info.type==="dir"&&(n.push(o.info),e(o))};e(this.root);const t=await Ne(n.map(s=>s.fullpath));for(const s of n)if(!wt(s,t[s.fullpath]))return!0;return!1}async seamlessRefresh(n,e=j(!1)){const t=performance.now(),s=new oe(this.entryPath,this.sortMethod);for(await s.walkerInitPromsie;!s.isCompleted&&s.images.lengthn in i?ft(i,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[n]=e;var ee=(i,n,e)=>(ht(i,typeof n!="symbol"?n+"":n,e),e);import{d as Z,u as Ue,G as H,an as Je,h as W,c as A,aq as gt,di as pt,r as j,bg as vt,Z as V,dg as mt,P as De,c9 as yt,A as X,dj as de,O as ge,am as ke,bj as bt,d3 as At,b_ as St,dk as kt,cF as It,dl as Ne,dm as _t,p as Ct,dn as We,bA as wt,dp as ae,dq as Et,aH as Tt,dr as Pt,C as Ot,ds as Dt,n as pe,m as re,aT as Nt,t as Ke,a1 as Ie,c7 as qe,aJ as zt,dt as Ge,du as Qt,Q as $t,x as Mt,aP as Ye,aQ as Ze,az as Xe,U as a,a2 as R,dv as Bt,dw as Ft,dx as Rt,c3 as Lt,dy as jt,at as Vt,V as h,aG as te,$ as S,a3 as k,a8 as J,c4 as ze,c5 as Ht,dz as xt,a7 as et,ag as K,X as I,Y as y,a4 as M,al as tt,db as Ut,da as Jt,M as nt,W as u,a0 as it,d5 as Wt,dA as Qe,af as Kt,dB as qt,d8 as Gt,dC as Yt,dD as Zt,cq as Xt,cQ as en,dE as ce,dF as tn,dG as nn}from"./index-66b6399d.js";import"./numInput.vue_vue_type_style_index_0_scoped_55978858_lang-f1eb3728.js";import{i as sn}from"./_isIterateeCall-c55d2ac4.js";import{D as G,a as ve}from"./index-66d21078.js";/* empty css */var rn=function(){return{prefixCls:String,checked:{type:Boolean,default:void 0},onChange:{type:Function},onClick:{type:Function},"onUpdate:checked":Function}},on=Z({compatConfig:{MODE:3},name:"ACheckableTag",props:rn(),setup:function(n,e){var t=e.slots,s=e.emit,o=Ue("tag",n),p=o.prefixCls,c=function(E){var w=n.checked;s("update:checked",!w),s("change",!w),s("click",E)},v=H(function(){var b;return Je(p.value,(b={},W(b,"".concat(p.value,"-checkable"),!0),W(b,"".concat(p.value,"-checkable-checked"),n.checked),b))});return function(){var b;return A("span",{class:v.value,onClick:c},[(b=t.default)===null||b===void 0?void 0:b.call(t)])}}});const me=on;var ln=new RegExp("^(".concat(gt.join("|"),")(-inverse)?$")),an=new RegExp("^(".concat(pt.join("|"),")$")),un=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}},Y=Z({compatConfig:{MODE:3},name:"ATag",props:un(),slots:["closeIcon","icon"],setup:function(n,e){var t=e.slots,s=e.emit,o=e.attrs,p=Ue("tag",n),c=p.prefixCls,v=p.direction,b=j(!0);vt(function(){n.visible!==void 0&&(b.value=n.visible)});var E=function(r){r.stopPropagation(),s("update:visible",!1),s("close",r),!r.defaultPrevented&&n.visible===void 0&&(b.value=!1)},w=H(function(){var l=n.color;return l?ln.test(l)||an.test(l):!1}),T=H(function(){var l;return Je(c.value,(l={},W(l,"".concat(c.value,"-").concat(n.color),w.value),W(l,"".concat(c.value,"-has-color"),n.color&&!w.value),W(l,"".concat(c.value,"-hidden"),!b.value),W(l,"".concat(c.value,"-rtl"),v.value==="rtl"),l))});return function(){var l,r,d,m=n.icon,N=m===void 0?(l=t.icon)===null||l===void 0?void 0:l.call(t):m,O=n.color,z=n.closeIcon,g=z===void 0?(r=t.closeIcon)===null||r===void 0?void 0:r.call(t):z,f=n.closable,C=f===void 0?!1:f,$=function(){return C?g?A("span",{class:"".concat(c.value,"-close-icon"),onClick:E},[g]):A(yt,{class:"".concat(c.value,"-close-icon"),onClick:E},null):null},F={backgroundColor:O&&!w.value?O:void 0},B=N||null,_=(d=t.default)===null||d===void 0?void 0:d.call(t),L=B?A(V,null,[B,A("span",null,[_])]):_,P="onClick"in o,Q=A("span",{class:T.value,style:F},[L,$()]);return P?A(mt,null,{default:function(){return[Q]}}):Q}}});Y.CheckableTag=me;Y.install=function(i){return i.component(Y.name,Y),i.component(me.name,me),i};const dn=Y;G.Button=ve;G.install=function(i){return i.component(G.name,G),i.component(ve.name,ve),i};var cn={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 fn=cn;function $e(i){for(var n=1;n{const s=St();ge(s),ne.has(s)||(ne.set(s,ke(i(s,t??(n==null?void 0:n())))),bt(()=>{ne.delete(s)}));const o=ne.get(s);return ge(o),{state:o,toRefs(){return At(o)}}}}}var Dn={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 Nn=Dn;function Fe(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=_t.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 s=>{this.root.info=s[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 Ct(n.info.fullpath);return n.children=We(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=kn(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=s=>{for(const o of s.children)o.info.type==="dir"&&(n.push(o.info),e(o))};e(this.root);const t=await Ne(n.map(s=>s.fullpath));for(const s of n)if(!wt(s,t[s.fullpath]))return!0;return!1}async seamlessRefresh(n,e=j(!1)){const t=performance.now(),s=new oe(this.entryPath,this.sortMethod);for(await s.walkerInitPromsie;!s.isCompleted&&s.images.length