filesbox/web/dist/50599.cb8286ca.async.js

2 lines
1.2 KiB
JavaScript
Raw Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[50599],{34711:function(d){d.exports={qrcodemodalbox:"qrcodemodalbox___hLP61"}},50599:function(d,r,e){"use strict";e.r(r),e.d(r,{default:function(){return O}});var u=e(34895),f=e(28216),M=e(67294),E=e(84059),h=e(34711),x=e.n(h),K=e(37406),s=e(85893),a,i,O=(a=(0,f.$j)(_=>{var n=_.common;return{common:n}}),a(i=class extends M.PureComponent{constructor(){super(...arguments);this.state={modelZindex:100,fullScreen:!1,current:1,total:0,target:{},getInfoLoading:!0,viewUrl:""}}componentDidMount(){var n=this}render(){var n=this,o=n.props,R=o.dispatch,c=o.common,D=o.open,I=o.setOpenModel,T=o.videoOption,m=o.qrcodeUrl,P=m===void 0?"":m,p=o.issmall,C=o.showIndex,W=c.sourceID,$=c.shareCode,t=this.state,U=t.modelZindex,v=t.fileInfo,g=v===void 0?{}:v,j=t.fullScreen,S=t.getInfoLoading,F=t.viewUrl,L=l=>{n.setState({modelZindex:l})},q=(l,Z)=>{var A=l.current,B=l.total;n.setState({current:A,total:B,target:Z})};return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(u.Z,{open:D,issmall:p,showIndex:C,modelZindex:U,setOpenModel:I,setModelZindex:L,type:"qrcode",isFull:!1,title:g.name,children:(0,s.jsx)("div",{className:x().qrcodemodalbox,children:(0,s.jsx)(E.ZP,{size:200,value:P})})})})}})||i)}}]);