filesbox/web/dist/p__fileEdit.5f95fab7.async.js

3 lines
20 KiB
JavaScript
Raw Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[64150],{17490:function(T,S,e){"use strict";e.d(S,{Z:function(){return v}});var u=e(28991),r=e(67294),g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"code",theme:"outlined"},s=g,o=e(27029),t=function(y,I){return r.createElement(o.Z,(0,u.Z)((0,u.Z)({},y),{},{ref:I,icon:s}))};t.displayName="CodeOutlined";var v=r.forwardRef(t)},34654:function(T,S,e){"use strict";e.d(S,{Z:function(){return v}});var u=e(28991),r=e(67294),g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"}}]},name:"history",theme:"outlined"},s=g,o=e(27029),t=function(y,I){return r.createElement(o.Z,(0,u.Z)((0,u.Z)({},y),{},{ref:I,icon:s}))};t.displayName="HistoryOutlined";var v=r.forwardRef(t)},75491:function(T,S,e){"use strict";e.d(S,{Z:function(){return v}});var u=e(28991),r=e(67294),g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z"}}]},name:"message",theme:"outlined"},s=g,o=e(27029),t=function(y,I){return r.createElement(o.Z,(0,u.Z)((0,u.Z)({},y),{},{ref:I,icon:s}))};t.displayName="MessageOutlined";var v=r.forwardRef(t)},33182:function(T,S,e){"use strict";e.d(S,{Z:function(){return v}});var u=e(28991),r=e(67294),g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 000-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM31
`),Ie,Oe,me,ge<240?240:ge,"250",-pe,ve/100),ee=="2"&&!Z&&(0,m.s$)(ae,400,250,-pe,ve/100),(0,a.jsxs)("div",{className:B().fileEditbox,style:{height:f?"calc(100% - 60px)":"100%"},onClick:h=>ne(h),children:[(0,a.jsx)(o.Z,{initialState:j}),(0,a.jsx)("div",{className:"fileEditC",children:(0,a.jsxs)("div",{style:{height:"100%"},children:[(0,a.jsx)(w.Z,{initialState:j}),(0,a.jsxs)("div",{className:B().CenterListBox,style:{height:p?"calc(100vh - 134px)":"calc(100% - 44px)"},children:[(0,a.jsx)(t.Z,{initialState:j}),(0,a.jsx)(v.Z,{})]})]})})]}),f&&(0,a.jsx)(D,{})]})},z=re},42616:function(T,S,e){"use strict";e.d(S,{le:function(){return u},s$:function(){return r},Bu:function(){return g}});var u=(s,o,t,v,w,y,I,b,L,U,H,x)=>{if(document.getElementById("watermark")==null){for(var O=parseInt(document.body.clientWidth/L)*2,i="",d=0;d<O;d++)w?i+='<div style="display: inline-block;width:'+L+"px;height:"+U+'px;"><div style="text-align: center;transform:rotate('+H+"deg);opacity:"+x+';"><span style="display: block;margin-bottom: 5px;color:'+o+"; font-family:"+t+"; font-size:"+v+'px;">'+s+'</span><span style="display: block;white-space: pre-line;line-height: '+b+"px;color:"+y+"; font-family:"+I+"; font-size:"+b+'px;">'+w+"</span></div></div>":i+='<div style="display: inline-block; line-height:'+U+"px; width:"+L+'px; text-align: center"><span style="display: block;transform:rotate('+H+"deg); color:"+o+"; font-family:"+t+"; font-size:"+v+"px; opacity:"+x+';">'+s+"</span></div>";var a=document.createElement("div");a.innerHTML=i;for(var C=parseInt(document.body.clientHeight/U)*2,F="",d=0;d<C;d++)F+='<div style="white-space: nowrap;">'+a.innerHTML+"</div>";var D=document.createElement("div");D.innerHTML=F,D.id="watermark",D.style.position="fixed",D.style.top="56px",D.style.left="-100px",D.style.zIndex="99999",D.style.pointerEvents="none",document.body.appendChild(D)}},r=(s,o,t,v,w)=>{if(document.getElementById("watermark")==null){for(var y=parseInt(document.body.clientWidth/o)*2,I="",b=0;b<y;b++)I+='<div style="display: inline-block; line-height:'+t+"px; width:"+o+'px; text-align: center"><img src='+s+' style="transform:rotate('+v+"deg); max-height: 100px; opacity:"+w+';"/></div>';var L=document.createElement("div");L.innerHTML=I;for(var U=parseInt(document.body.clientHeight/t)*2,H="",b=0;b<U;b++)H+='<div style="white-space: nowrap;">'+L.innerHTML+"</div>";var x=document.createElement("div");x.innerHTML=H,x.id="watermark",x.style.position="fixed",x.style.top="56px",x.style.left="-100px",x.style.zIndex="99999",x.style.pointerEvents="none",document.body.appendChild(x)}},g=()=>{document.getElementById("watermark")!=null&&document.body.removeChild(document.getElementById("watermark"))}},37636:function(T,S,e){"use strict";e.d(S,{Z:function(){return x}});var u=e(22122),r=e(96156),g=e(7085),s=e(94184),o=e.n(s),t=e(67294),v=e(53124),w=e(96159),y=function(O,i){var d={};for(var a in O)Object.prototype.hasOwnProperty.call(O,a)&&i.indexOf(a)<0&&(d[a]=O[a]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,a=Object.getOwnPropertySymbols(O);C<a.length;C++)i.indexOf(a[C])<0&&Object.prototype.propertyIsEnumerable.call(O,a[C])&&(d[a[C]]=O[a[C]]);return d},I=function(i){var d,a,C=i.prefixCls,F=i.className,D=i.color,K=D===void 0?"blue":D,B=i.dot,k=i.pending,se=k===void 0?!1:k,de=i.position,G=i.label,J=i.children,q=y(i,["prefixCls","className","color","dot","pending","position","label","children"]),N=t.useContext(v.E_),le=N.getPrefixCls,m=le("timeline",C),_=o()((d={},(0,r.Z)(d,"".concat(m,"-item"),!0),(0,r.Z)(d,"".concat(m,"-item-pending"),se),d),F),re=o()((a={},(0,r.Z)(a,"".concat(m,"-item-head"),!0),(0,r.Z)(a,"".concat(m,"-item-head-custom"),!!B),(0,r.Z)(a,"".concat(m,"-item-head-").concat(K),!0),a)),z=/blue|red|green|gray/.test(K||"")?void 0:K;return t.createElement("li",(0,u.Z)({},q,{className:_}),G&&t.createElement("div",{className:"".concat(m,"-item-label")},G),t.createElement("div",{className:"".concat(m,"-item-tail")}),t.createElement("div",{className:re,style:{borderColor:z,color:z}},B),t.createElement("div",{className:"".concat(m,"-ite