2 lines
19 KiB
JavaScript
2 lines
19 KiB
JavaScript
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[24210],{37664:function(se){se.exports={zipModalbox:"zipModalbox___3YrkO",tableBox:"tableBox___3kntU",overBackGround:"overBackGround___3MtYX",menuBox:"menuBox___2CPZG",unZipConfirmBox:"unZipConfirmBox___3TsU-"}},24210:function(se,ge,r){"use strict";r.r(ge),r.d(ge,{default:function(){return Qe}});var Ke=r(13254),ye=r(14277),Je=r(20228),Be=r(11382),He=r(59250),ie=r(13013),qe=r(47673),R=r(4107),_e=r(34792),G=r(48086),es=r(34669),C=r(54458),ss=r(74379),j=r(38648),g=r(11849),is=r(71194),be=r(50146),Oe=r(34895),$e=r(28216),je=r(28991),pe=r(67294),Ee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"more",theme:"outlined"},Ue=Ee,Ve=r(27029),Ze=function(v,a){return pe.createElement(Ve.Z,(0,je.Z)((0,je.Z)({},v),{},{ref:a,icon:Ue}))};Ze.displayName="MoreOutlined";var Ie=pe.forwardRef(Ze),X=r(57119),we=r(51964),Fe=r.n(we),Ge=r(37664),I=r.n(Ge),K=r(74040),A=r(37406),ae=r(30672),ue=r(69847),Ye=r(66227),re=r.n(Ye),We=r(25963),oe=r.n(We),e=r(85893),Me,Ne,De=["jpg","jpeg","png","gif","bmp","ico","svg","webp","tif","tiff","cdr","svgz","xbm","pjepg","heic","raw"],J=be.Z.confirm,Qe=(Me=(0,$e.$j)(te=>{var v=te.common,a=te.loading;return{common:v,loading:a.effects["common/getunzipList"]}}),Me(Ne=class extends pe.PureComponent{constructor(){super(...arguments);this.state={modelZindex:100,fullScreen:!1,current:1,total:0,target:{},getInfoLoading:!0,viewUrl:"",taskId:(0,A.fW)(),unzipList:[],openList:["0"],active:"",fileinfo:{},encrypted:!1},this.getunzipList=()=>{var v=this,a=this.props,n=a.dispatch,D=a.sourceID,ne=a.isyz,y=a.iframeUrl,le=y===void 0?"":y,V=a.common,S=a.path,H=S===void 0?"":S,O=a.yzViewData,q=a.f,w=a.fileType,Y=w===void 0?"":w,W=V.shareCode,P=v.state.taskId;n({type:"common/getunzipList",payload:{sourceID:D},callback:Q=>{var L=Q.data||{};this.setState({unzipList:[L],fileinfo:L,encrypted:L.encrypted})}})}}componentDidMount(){var v=this;v.getunzipList()}componentWillUnmount(){var v=this,a=this.props,n=a.dispatch,D=a.sourceID,ne=a.isyz,y=a.iframeUrl,le=y===void 0?"":y,V=a.common,S=a.path,H=S===void 0?"":S,O=a.yzViewData,q=V.shareCode}renderTableList(){var v=this,a=this.props,n=a.dispatch,D=a.common,ne=a.name,y=a.sourceID,le=a.initialState,V=a.loading,S=le.adminauth,H=S===void 0?{}:S,O=D.showmodalList,q=D.isMobile,w=D.checkFolderParams,Y=w===void 0?{}:w,W=D.addressPath,P=D.selectAddressIndex,Q=D.getParams,L=D.viewType,de=D.rootpath,ze=de===void 0?[]:de,s=(0,ae.lw)((0,ae.Kd)()),_=this.state,fe=_.unzipList,ve=fe===void 0?[]:fe,xe=_.openList,k=xe===void 0?[]:xe,ce=_.active,ee=ce===void 0?"":ce,T=_.encrypted,he=ve.length<1,ke=ze.filter(p=>p.sourceID),E=ke.length?ke[0].sourceID:0,Re=L==3?W[P]||{}:W[W.length-1]||{},Xe=(p,i)=>{if(L==3){var d=W.length-1;if(P!=d){n({payload:(0,g.Z)((0,g.Z)({},p||Q),{},{sourceID:Re.sourceID}),type:"common/refreshListPath",callback:M=>{i&&i()}});return}}n({payload:(0,g.Z)({},p||Q),type:"common/getListPath",callback:M=>{i&&i()}})},Pe=function(i){var d=i.substr(i.lastIndexOf(".")+1)||"";return d.toLowerCase()},U=p=>{var i=p.taskID||"";window.zipTimer&&clearInterval(window.zipTimer),window.zipTimer=setInterval(function(){n({type:"common/getunZiptaskAction",payload:{taskID:i},callback:d=>{if(d.success){var M=d.data||{},h=M.status||0,x=parseInt(M.zipProgress||0);h?(window.zipTimer&&clearInterval(window.zipTimer),Xe(),j.Z.success({message:s.formatMessage({id:"common.tips"}),key:i,description:(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{children:s.formatMessage({id:"explorer.unzipSuccess"})})," ",(0,e.jsx)("div",{children:(0,e.jsx)(C.Z,{percent:100})})]}),duration:4.5})):j.Z.info({message:s.formatMessage({id:"common.tips"}),key:i,description:(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{children:s.formatMessage({id:"rightmenu.rma"})})," ",(0,e.jsx)("div",{children:(0,e.jsx)(C.Z,{percent:x})})]}),duration:100})}}})},1500)},Ce=p=>{var i=p||{},d=i.fileName||"",M=i.sourceID||"";if(!i.directory){var h=function(t){var m=t.substr(t.lastIndexOf(".")+1)||"";return m.toLowerCase()},x=h(d)||"";if(["txt","md","json","css","java","cs","xml","sql","js","ts","less","scss","ejs","go","jsx","json5","ls","mysql","nginx","php","py","rb","rst","tsx","html","htm","doc","docx","rtf","xls","xlsx","ppt","pptx","pdf","wps","pps","psd","mp3","xmind","smm","mind","km","epub",...De].indexOf(x)<0){G.ZP.warning(s.formatMessage({id:"explorer.share.errorShowTips"}));return}var f=l=>{if(["doc","docx","rtf","xls","xlsx","ppt","pptx","pdf","wps","pps","psd","xmind","smm","mind","km","epub"].indexOf(x)>-1){n({type:"common/getunzipList",payload:{fullName:i.fileName,sourceID:i.sourceID,index:i.index,password:l},callback:o=>{if(o.success){var u=[...O];u.push({visible:!0,sourceID:M,isyz:!1,isedit:!1,type:"doc",name:i.fullName,zipData:i,isZipModal:1,fileType:x,password:l}),n({type:"common/setState",payload:{showmodalList:[...u]}})}}});return}else if(De.indexOf(x)>-1){n({type:"common/getunzipList",payload:{fullName:i.fileName,sourceID:i.sourceID,index:i.index,password:l},callback:o=>{if(o.success){var u=i.sourceID,z=o.data||"";n({type:"common/setState",payload:{PhotoSliderVisible:!0,PhotoSliderIndex:0,PhotoSliderImages:[{src:""+z,key:u}]}})}}});return}else if(["mp3"].indexOf(x)>-1){var t=[...O],m=t.findIndex((o,u)=>o.type=="audio");n({type:"common/getunzipList",payload:{fullName:i.fileName,sourceID:i.sourceID,index:i.index,password:l},callback:o=>{if(o.success){var u=i.sourceID,z=o.data||"",N=u+""+i.index+"s",B=u+""+i.index+"f",Z={name:i.fullName,downloadUrl:z,fileID:B,sourceID:N},b=musicList.findIndex(F=>F.fileID==B);b<=-1&&n({type:"common/setState",payload:{musicList:[...musicList,Z]}}),m>-1?(t[m]=(0,g.Z)((0,g.Z)({},t[m]),{},{visible:!0,issmall:!1,sourceID:isVersion?void 0:Z.sourceID,type:"audio",name:Z.name,isVersion,fileID:Z.fileID}),n({type:"common/setState",payload:{showmodalList:[...t]}})):(t.push({visible:!0,sourceID:isVersion?void 0:Z.sourceID,type:"audio",name:Z.name,isVersion,fileID:Z.fileID}),n({type:"common/setState",payload:{showmodalList:[...t]}}))}}});return}else if(["txt","md","json","css","java","cs","xml","sql","js","ts","less","scss","ejs","go","jsx","json5","ls","mysql","nginx","php","py","rb","rst","tsx","html","htm"].indexOf(x)>-1){n({type:"common/getunzipList",payload:{fullName:i.fileName,sourceID:i.sourceID,index:i.index,password:l},callback:o=>{if(o.success){var u=[...O];u.push({visible:!0,sourceID:M,isyz:!1,isedit:!1,type:"md",name:i.fullName,zipData:i,isZipModal:1,fileType:x,password:l}),n({type:"common/setState",payload:{showmodalList:[...u]}})}}});return}},c=()=>{i.encrypted?J({icon:(0,e.jsx)(X.Z,{}),content:(0,e.jsxs)("div",{className:I().unZipConfirmBox,children:[s.formatMessage({id:"mack.dsr.d"}),(0,e.jsx)("div",{className:"unZipPass",children:(0,e.jsx)(R.Z.Password,{className:"unzipPassword",placeholder:s.formatMessage({id:"mack.dsr.e"})})})]}),okText:s.formatMessage({id:"common.oktext"}),cancelText:s.formatMessage({id:"common.cancel"}),onOk(l){var t=$(".unzipPassword input").val();if(!t){G.ZP.error(s.formatMessage({id:"user.inputPwd"}));return}f(t),l()},onCancel(){}}):f()};c()}},me=(p,i)=>{if(p.key=="3"){Ce(i);return}if(p.key=="1"){var d=(0,A.fW)(),M={};T?J({icon:(0,e.jsx)(X.Z,{}),content:(0,e.jsxs)("div",{className:I().unZipConfirmBox,children:[s.formatMessage({id:"mack.dsr.d"}),(0,e.jsx)("div",{className:"unZipPass",children:(0,e.jsx)(R.Z.Password,{className:"unzipPassword",placeholder:s.formatMessage({id:"mack.dsr.e"})})})]}),okText:s.formatMessage({id:"common.oktext"}),cancelText:s.formatMessage({id:"common.cancel"}),onOk(c){var l=$(".unzipPassword input").val();if(!l){G.ZP.error(s.formatMessage({id:"user.inputPwd"}));return}j.Z.info({message:s.formatMessage({id:"common.tips"}),key:d,description:(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{children:s.formatMessage({id:"rightmenu.rma"})})," ",(0,e.jsx)("div",{children:(0,e.jsx)(C.Z,{percent:0})})]}),duration:100}),n({type:"common/createunZip",payload:{sourceID:y,sourceIDTo:Y.sourceID||E,password:l,taskID:d},callback:t=>{if(t.success){var m=t.data||{},o=m.sourceIds||[];window.zipSourceId=o.length?o:[],c(),U(t.data||{})}else j.Z.close(d)}})},onCancel(){}}):(j.Z.info({message:s.formatMessage({id:"common.tips"}),key:d,description:(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{children:s.formatMessage({id:"rightmenu.rma"})})," ",(0,e.jsx)("div",{children:(0,e.jsx)(C.Z,{percent:0})})]}),duration:100}),n({type:"common/createunZip",payload:{sourceID:y,sourceIDTo:Y.sourceID||E,taskID:d},callback:c=>{if(c.success){var l=c.data||{},t=l.sourceIds||[];window.zipSourceId=t.length?t:[],U(c.data||{})}else j.Z.close(d)}}));return}if(p.key=="2"){q?n({type:"common/setState",payload:{zipData:{isZipModal:!1,zipmodalData:i,sourceID:y,encrypted:T},treeSelectVisible:!0}}):window.fileBoxApi.fileSelect({title:"\u6587\u4EF6\u5939\u9009\u62E9",type:"folder",single:!0,callback:function(l){var t=l.data||{},m=t.selectItems||[],o=m[0],u=(0,A.eq)(o.auth||"",H),z=u;if(z.decompression==1&&m.length){var N=(0,A.fW)(),B={};T?J({icon:(0,e.jsx)(X.Z,{}),content:(0,e.jsxs)("div",{className:I().unZipConfirmBox,children:[s.formatMessage({id:"mack.dsr.d"}),(0,e.jsx)("div",{className:"unZipPass",children:(0,e.jsx)(R.Z.Password,{className:"unzipPassword",placeholder:s.formatMessage({id:"mack.dsr.e"})})})]}),okText:s.formatMessage({id:"common.oktext"}),cancelText:s.formatMessage({id:"common.cancel"}),onOk(Z){var b=$(".unzipPassword input").val();if(!b){G.ZP.error(s.formatMessage({id:"user.inputPwd"}));return}j.Z.info({message:s.formatMessage({id:"common.tips"}),key:N,description:(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{children:s.formatMessage({id:"rightmenu.rma"})})," ",(0,e.jsx)("div",{children:(0,e.jsx)(C.Z,{percent:0})})]}),duration:100}),n({type:"common/createunZip",payload:(0,g.Z)((0,g.Z)({sourceID:y,sourceIDTo:o.sourceID||E},B),{},{password:b,taskID:N}),callback:F=>{F.success?(Z(),U(F.data||{})):j.Z.close(N)}})},onCancel(){}}):(j.Z.info({message:s.formatMessage({id:"common.tips"}),key:N,description:(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{children:s.formatMessage({id:"rightmenu.rma"})})," ",(0,e.jsx)("div",{children:(0,e.jsx)(C.Z,{percent:0})})]}),duration:100}),n({type:"common/createunZip",payload:(0,g.Z)((0,g.Z)({sourceID:y,sourceIDTo:o.sourceID||E},B),{},{taskID:N}),callback:Z=>{Z.success?U(Z.data||{}):j.Z.close(N)}}))}}});return}if(p.key=="4"){var h=(0,A.fW)(),x={},f=i||{};x={directory:f.directory,fullName:f.fileName,sourceID:f.sourceID,index:f.index},T?J({icon:(0,e.jsx)(X.Z,{}),content:(0,e.jsxs)("div",{className:I().unZipConfirmBox,children:[s.formatMessage({id:"mack.dsr.d"}),(0,e.jsx)("div",{className:"unZipPass",children:(0,e.jsx)(R.Z.Password,{className:"unzipPassword",placeholder:s.formatMessage({id:"mack.dsr.e"})})})]}),okText:s.formatMessage({id:"common.oktext"}),cancelText:s.formatMessage({id:"common.cancel"}),onOk(c){var l=$(".unzipPassword input").val();if(!l){G.ZP.error(s.formatMessage({id:"user.inputPwd"}));return}j.Z.info({message:s.formatMessage({id:"common.tips"}),key:h,description:(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{children:s.formatMessage({id:"rightmenu.rma"})})," ",(0,e.jsx)("div",{children:(0,e.jsx)(C.Z,{percent:0})})]}),duration:100}),n({type:"common/createunZip",payload:(0,g.Z)((0,g.Z)({sourceID:y,sourceIDTo:Y.sourceID||E},x),{},{password:l,taskID:h}),callback:t=>{if(t.success){var m=t.data||{},o=m.sourceIds||[];window.zipSourceId=o.length?o:[],c(),U(t.data||{})}else j.Z.close(h)}})},onCancel(){}}):(j.Z.info({message:s.formatMessage({id:"common.tips"}),key:h,description:(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{children:s.formatMessage({id:"rightmenu.rma"})})," ",(0,e.jsx)("div",{children:(0,e.jsx)(C.Z,{percent:0})})]}),duration:100}),n({type:"common/createunZip",payload:(0,g.Z)((0,g.Z)({sourceID:y,sourceIDTo:Y.sourceID||E},x),{},{taskID:h}),callback:c=>{if(c.success){var l=c.data||{},t=l.sourceIds||[];window.zipSourceId=t.length?t:[],U(c.data||{})}else j.Z.close(h)}}));return}if(p.key=="5"){q?n({type:"common/setState",payload:{zipData:{isZipModal:!0,zipmodalData:i,sourceID:y,encrypted:T},treeSelectVisible:!0}}):window.fileBoxApi.fileSelect({title:"\u6587\u4EF6\u5939\u9009\u62E9",type:"folder",single:!0,callback:function(l){var t=l.data||{},m=t.selectItems||[],o=m[0],u=(0,A.eq)(o.auth||"",H),z=u;if(z.decompression==1&&m.length){var N=(0,A.fW)(),B={},Z=i||{};B={directory:Z.directory,fullName:Z.fileName,sourceID:Z.sourceID,index:Z.index},T?J({icon:(0,e.jsx)(X.Z,{}),content:(0,e.jsxs)("div",{className:I().unZipConfirmBox,children:[s.formatMessage({id:"mack.dsr.d"}),(0,e.jsx)("div",{className:"unZipPass",children:(0,e.jsx)(R.Z.Password,{className:"unzipPassword",placeholder:s.formatMessage({id:"mack.dsr.e"})})})]}),okText:s.formatMessage({id:"common.oktext"}),cancelText:s.formatMessage({id:"common.cancel"}),onOk(b){var F=$(".unzipPassword input").val();if(!F){G.ZP.error(s.formatMessage({id:"user.inputPwd"}));return}j.Z.info({message:s.formatMessage({id:"common.tips"}),key:N,description:(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{children:s.formatMessage({id:"rightmenu.rma"})})," ",(0,e.jsx)("div",{children:(0,e.jsx)(C.Z,{percent:0})})]}),duration:100}),n({type:"common/createunZip",payload:(0,g.Z)((0,g.Z)({sourceID:y,sourceIDTo:o.sourceID||E},B),{},{password:F,taskID:N}),callback:Le=>{Le.success?(b(),U(Le.data||{})):j.Z.close(N)}})},onCancel(){}}):(j.Z.info({message:s.formatMessage({id:"common.tips"}),key:N,description:(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{children:s.formatMessage({id:"rightmenu.rma"})})," ",(0,e.jsx)("div",{children:(0,e.jsx)(C.Z,{percent:0})})]}),duration:100}),n({type:"common/createunZip",payload:(0,g.Z)((0,g.Z)({sourceID:y,sourceIDTo:o.sourceID||E},B),{},{taskID:N}),callback:b=>{b.success?U(b.data||{}):j.Z.close(N)}}))}}});return}},Se=[{key:1,label:(0,e.jsxs)("div",{className:I().menuBox+" menuClick",children:[(0,e.jsx)("div",{className:"imgBox",children:(0,e.jsx)("img",{src:K.y.zip})}),s.formatMessage({id:"explorer.unzipThis"})]})},{key:2,label:(0,e.jsxs)("div",{className:I().menuBox+" menuClick",children:[(0,e.jsx)("div",{className:"imgBox",children:(0,e.jsx)("img",{src:K.y.zip})}),s.formatMessage({id:"explorer.unzip"})]})}],Te=[{key:3,label:(0,e.jsxs)("div",{className:I().menuBox+" menuClick",children:[(0,e.jsx)("div",{className:"imgBox",children:(0,e.jsx)("img",{src:K.y.open})}),s.formatMessage({id:"common.open"})]})},{key:4,label:(0,e.jsxs)("div",{className:I().menuBox+" menuClick",children:[(0,e.jsx)("div",{className:"imgBox",children:(0,e.jsx)("img",{src:K.y.zip})}),s.formatMessage({id:"explorer.unzipThis"})]})},{key:5,label:(0,e.jsxs)("div",{className:I().menuBox+" menuClick",children:[(0,e.jsx)("div",{className:"imgBox",children:(0,e.jsx)("img",{src:K.y.zip})}),s.formatMessage({id:"explorer.unzip"})]})}],Ae=(p,i,d)=>{var M=p.childList||[];return(0,e.jsx)(e.Fragment,{children:M.map((h,x)=>{var f=i+"x"+x,c=k.indexOf(f)>-1,l=h.childList||[],t=(0,g.Z)((0,g.Z)({},h),{},{sourceID:y,encrypted:T});return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(ie.Z,{menu:{items:Te,onClick:m=>{if(t.directory)if(c){var o=[...k];o=o.filter(z=>z!=f),v.setState({openList:o})}else{var u=[...k];u.push(f),v.setState({openList:u})}me(m,t)}},overlayClassName:I().overBackGround,trigger:["contextMenu"],children:(0,e.jsxs)("div",{onClick:()=>{v.setState({active:f})},className:ee==f?"td activeTd":"td",onDoubleClick:m=>{if(m.preventDefault(),m.stopPropagation(),t.directory)if(c){var o=[...k];o=o.filter(z=>z!=f),v.setState({openList:o})}else{var u=[...k];u.push(f),v.setState({openList:u})}Ce(t)},children:[(0,e.jsxs)("li",{style:{paddingLeft:d*15+10},children:[" ",l.length?(0,e.jsx)("span",{onClick:m=>{if(m.preventDefault(),m.stopPropagation(),c){var o=[...k];o=o.filter(z=>z!=f),v.setState({openList:o})}else{var u=[...k];u.push(f),v.setState({openList:u})}},className:"icondown",children:c?(0,e.jsx)("img",{src:re()}):(0,e.jsx)("img",{src:oe()})}):(0,e.jsx)("span",{className:"icondown",children:c?(0,e.jsx)("img",{style:{visibility:"hidden"},src:re()}):(0,e.jsx)("img",{style:{visibility:"hidden"},src:oe()})})," ",(0,e.jsx)("span",{className:"iconbox",children:(0,e.jsx)("img",{src:(0,ue.pp)({fileType:h.directory?"folder":Pe(h.fileName)})})}),h.originName]}),(0,e.jsxs)("li",{children:[h.size?(0,A.NR)(h.size):""," "]}),(0,e.jsx)("li",{children:(0,e.jsx)(ie.Z,{menu:{items:Te,onClick:m=>{me(m,t)}},overlayClassName:I().overBackGround,trigger:["click","contextMenu"],children:(0,e.jsx)("div",{className:"actionbox",children:(0,e.jsx)(Ie,{})})})})]},f)}),c?Ae(h,f,d+1):""]})})})};return(0,e.jsxs)("div",{className:I().tableBox,children:[(0,e.jsxs)("div",{className:"tableHeader",children:[(0,e.jsxs)("li",{children:[" ",s.formatMessage({id:"common.name"})]}),(0,e.jsxs)("li",{children:[" ",s.formatMessage({id:"explorer.file.size"})]}),(0,e.jsx)("li",{children:" "})]}),(0,e.jsx)("div",{className:"tableContnet",children:(0,e.jsxs)(Fe(),{children:[ve.map((p,i)=>{var d=i+"",M=k.indexOf(d)>-1,h=p.childList||[];return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(ie.Z,{menu:{items:Se,onClick:x=>{me(x)}},overlayClassName:I().overBackGround,trigger:["contextMenu"],children:(0,e.jsxs)("div",{onClick:()=>{v.setState({active:d})},className:ee==d?"td activeTd":"td",children:[(0,e.jsxs)("li",{children:[h.length?(0,e.jsx)("span",{onClick:x=>{if(x.preventDefault(),x.stopPropagation(),M){var f=[...k];f=f.filter(l=>l!=d),v.setState({openList:f})}else{var c=[...k];c.push(d),v.setState({openList:c})}},className:"icondown",children:M?(0,e.jsx)("img",{src:re()}):(0,e.jsx)("img",{src:oe()})}):(0,e.jsx)("span",{className:"icondown",children:M?(0,e.jsx)("img",{style:{visibility:"hidden"},src:re()}):(0,e.jsx)("img",{style:{visibility:"hidden"},src:oe()})})," ",(0,e.jsx)("span",{className:"iconbox",children:(0,e.jsx)("img",{src:(0,ue.pp)({fileType:Pe(p.fileName)})})}),p.originName]}),(0,e.jsxs)("li",{children:[p.size?(0,A.NR)(p.size):""," "]}),(0,e.jsx)("li",{children:(0,e.jsx)(ie.Z,{menu:{items:Se,onClick:x=>{me(x)}},overlayClassName:I().overBackGround,trigger:["click","contextMenu"],children:(0,e.jsx)("div",{className:"actionbox",children:(0,e.jsx)(Ie,{})})})})]},d)}),M?Ae(p,d,1):""]})}),(0,e.jsx)(Be.Z,{spinning:V,style:{position:"absolute",top:"45%",left:"50%",transform:"translateX(-50%)"}}),he&&!V&&(0,e.jsx)(ye.Z,{style:{marginTop:140},image:ye.Z.PRESENTED_IMAGE_SIMPLE})]})})]})}render(){var v=this,a=v.props,n=a.dispatch,D=a.common,ne=a.open,y=a.setOpenModel,le=a.videoOption,V=a.isyz,S=a.issmall,H=a.path,O=a.name,q=a.fileType,w=a.showIndex,Y=D.sourceID,W=D.shareCode,P=this.state,Q=P.modelZindex,L=P.fileinfo,de=L===void 0?{}:L,ze=P.fullScreen,s=P.getInfoLoading,_=P.viewUrl,fe=P.taskId,ve=P.psddom,xe=(0,ae.lw)((0,ae.Kd)()),k=ee=>{v.setState({modelZindex:ee})},ce=function(T){var he=T.substr(T.lastIndexOf(".")+1)||"";return he.toLowerCase()};return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Oe.Z,{open:ne,issmall:S,showIndex:w,modelZindex:Q,setOpenModel:y,setModelZindex:k,type:"zip",title:O,children:(0,e.jsxs)("div",{className:I().zipModalbox,children:[(0,e.jsxs)("div",{className:"zipheader",children:[(0,e.jsx)("div",{className:"iconbox",children:(0,e.jsx)("img",{src:(0,ue.pp)({fileType:ce(O||"")})})}),(0,e.jsx)("div",{className:"zipNamebox",children:(0,e.jsx)("div",{children:de.originName||""})})]}),(0,e.jsx)("div",{className:"zipContentList",children:this.renderTableList()})]})})})}})||Ne)},25963:function(se){se.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAlUlEQVQ4T6XT0Q2DMAwE0LsNugl0gzqDJ4xAN2EDIyM+UHASI/j3kznniJcf6/mc80pSAYiIbCO/BUwA1ghyA0opH1VdSIaQG2ArP0Fc4AnSBKJIF/AQEfleLxMCLBYAs6r+U0pzGLAwr8Mkf/Xb6IY4GrZNmmeMDLtAZO1uBmcXJgvM++e6G24XjtWcwLxiDc84auMOT3tyEY857pcAAAAASUVORK5CYII="}}]);
|