U?"".concat(U,"+"):Z,je=d!=null||f!=null,F=Ze==="0"||Ze===0,B=h&&!F,y=B?"":Ze,T=(0,a.useMemo)(function(){var ge=y==null||y==="";return(ge||F&&!ce)&&!B},[y,F,ce,B]),w=(0,a.useRef)(Z);T||(w.current=Z);var le=w.current,i=(0,a.useRef)(y);T||(i.current=y);var Ae=i.current,W=(0,a.useRef)(B);T||(W.current=B);var Te=(0,a.useMemo)(function(){if(!s)return(0,v.Z)({},x);var ge={marginTop:s[1]};return Ce==="rtl"?ge.left=parseInt(s[0],10):ge.right=-parseInt(s[0],10),(0,v.Z)((0,v.Z)({},ge),x)},[Ce,s,x]),St=O!=null?O:typeof le=="string"||typeof le=="number"?le:void 0,Tt=T||!M?null:a.createElement("span",{className:"".concat(A,"-status-text")},M),bt=!le||(0,R.Z)(le)!=="object"?void 0:(0,$e.Tm)(le,function(ge){return{style:(0,v.Z)((0,v.Z)({},Te),ge.style)}}),Mt=pe()((o={},(0,c.Z)(o,"".concat(A,"-status-dot"),je),(0,c.Z)(o,"".concat(A,"-status-").concat(d),!!d),(0,c.Z)(o,"".concat(A,"-status-").concat(f),Me(f)),o)),Ye={};f&&!Me(f)&&(Ye.background=f);var Je=pe()(A,(r={},(0,c.Z)(r,"".concat(A,"-status"),je),(0,c.Z)(r,"".concat(A,"-not-a-wrapper"),!m),(0,c.Z)(r,"".concat(A,"-rtl"),Ce==="rtl"),r),g);if(!m&&je){var At=Te.color;return a.createElement("span",(0,v.Z)({},Q,{className:Je,style:Te}),a.createElement("span",{className:Mt,style:Ye}),a.createElement("span",{style:{color:At},className:"".concat(A,"-status-text")},M))}return a.createElement("span",(0,v.Z)({},Q,{className:Je}),m,a.createElement(be.Z,{visible:!T,motionName:"".concat(A,"-zoom"),motionAppear:!1,motionDeadline:1e3},function(ge){var Oe,Ft=ge.className,Bt=Ee("scroll-number",p),Ie=W.current,Nt=pe()((Oe={},(0,c.Z)(Oe,"".concat(A,"-dot"),Ie),(0,c.Z)(Oe,"".concat(A,"-count"),!Ie),(0,c.Z)(Oe,"".concat(A,"-count-sm"),J==="small"),(0,c.Z)(Oe,"".concat(A,"-multiple-words"),!Ie&&Ae&&Ae.toString().length>1),(0,c.Z)(Oe,"".concat(A,"-status-").concat(d),!!d),(0,c.Z)(Oe,"".concat(A,"-status-").concat(f),Me(f)),Oe)),Fe=(0,v.Z)({},Te);return f&&!Me(f)&&(Fe=Fe||{},Fe.background=f),a.createElement(nt,{prefixCls:Bt,show:!T,motionClassName:Ft,className:Nt,count:Ae,title:St,style:Fe,key:"scrollNumber"},bt)}),Tt)};We.Ribbon=ke;var at=We,st=e(36820),Ke=e(4971),lt=e(33923),ze=e(83399),t=e(85893),ot=function(n){var o=n.onOk,r=n.canSelect,l=r===void 0?!0:r,p=n.dataSource,m=p===void 0?[]:p,d=a.useState([]),M=(0,oe.Z)(d,2),f=M[0],C=M[1],Z=a.useRef(null);a.useEffect(function(){o==null||o(f)},[f,o]);var H=function(h){C(f.filter(function(D){return D.id!==h.id}))},U=[{title:"\u7528\u4F8B\u540D\u79F0",ellipsis:!0,dataIndex:"name"},{title:"\u4F18\u5148\u7EA7",dataIndex:"priority",render:function(h){return(0,t.jsx)(lt.Fk,{priority:h})}},{title:"\u8FD0\u884C\u65B9\u5F0F",dataIndex:"run_method",render:function(h){return h?Ke.iM.get(h):"-"}},{title:"\u72B6\u6001",dataIndex:"is_available",render:function(h){var D=Ke.Yl.get(h);return(0,t.jsx)(at,{status:D==="\u53EF\u7528"?"success":"default",text:D})}},l&&{title:"\u64CD\u4F5C",render:function(h){return(0,t.jsx)("span",{onClick:function(){return H(h)},children:(0,t.jsx)(E.Z.Link,{children:"\u5220\u9664"})})}}].filter(Boolean);return(0,t.jsxs)($.Z,{direction:"vertical",style:{width:"100%"},children:[(0,t.jsx)(te.Z,{justify:"space-between",align:"middle",children:(0,t.jsx)(E.Z.Text,{style:{margin:0},strong:!0,children:"\u7528\u4F8B"})}),(0,t.jsx)(ze.k,{columns:U,showHeader:!!m.length,dataSource:m||[],size:"small",rowKey:"id",pagination:!1}),l&&(0,t.jsx)(st.Z,{ref:Z,onOk:C})]})},it=ot,ut=e(68894),he=e(56762),ct=function(n){var o=n.onOk,r=n.canSelect,l=r===void 0?!0:r,p=n.onChange,m=n.status,d=a.useRef(null),M=a.useState({tasks:[],cases:[]}),f=(0,oe.Z)(M,2),C=f[0],Z=f[1],H=(0,ue.UO)(),U=H.plan_id;a.useEffect(function(){o==null||o(C)},[C]);var j=(0,Y.QT)(se.W1,{manual:!0}),h=j.run;a.useEffect(function(){U&&h(U).then(function(x){Z(x)})},[U,h]),a.useEffect(function(){p==null||p(C.cases)},[C,p]);var D=function(){var x=(0,ne.Z)(K().mark(function g(){var P;return K().wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:(P=d.current)===null||P===void 0||P.show(C.tasks.map(function(de){return de.id}));case 1:case"end":return Q.stop()}},g)}));return function(){return x.apply(this,arguments)}}(),J=function(g){Z((0,N.Z)((0,N.Z)({},C),{},{tasks:C.tasks.filter(function(P){return P.id!==g.id})}))},O=m!=="init"&&!l,s=[O&&{width:30,dataIndex:"status",render:function(){return(0,t.jsx)(t.Fragment,{})}},{title:"\u4EFB\u52A1\u540D\u79F0",ellipsis:!0,dataIndex:"name"},O&&{title:"\u7528\u4F8B\u6570",width:60,dataIndex:"cases",render:function(g){return g&&Object.prototype.toString.call(g)==="[object String]"?g.split(",").length:"-"}},(0,he._)({title:"\u8FD0\u884C\u65B9\u5F0F",dataIndex:"run_method"}),(0,he._)({title:"\u6D4B\u8BD5\u8BBE\u5907",dataIndex:"device_ip"}),O&&(0,he._)({title:"\u8D1F\u8D23\u4EBA",dataIndex:"owner"}),(0,he._)({title:"Workspace",dataIndex:"workspace"}),(0,he._)({title:"Project\u540D\u79F0",dataIndex:"project"}),(0,he._)({title:"Job\u7C7B\u578B",dataIndex:"job_type"}),(0,he._)({title:"\u5907\u6CE8",dataIndex:"desc"}),O&&(0,he._)({title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"gmt_created"}),O&&(0,he._)({title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"gmt_modifeid"}),l&&{title:"\u64CD\u4F5C",render:function(g){return(0,t.jsx)("span",{onClick:function(){return J(g)},children:(0,t.jsx)(E.Z.Link,{children:"\u5220\u9664"})})}}];return(0,t.jsxs)($.Z,{direction:"vertical",style:{width:"100%"},children:[(0,t.jsxs)(te.Z,{justify:"space-between",align:"middle",children:[(0,t.jsx)(E.Z.Text,{style:{margin:0},strong:!0,children:"\u6D4B\u8BD5\u4EFB\u52A1"}),l&&(0,t.jsx)(S.Z,{onClick:D,children:"\u9009\u62E9\u4EFB\u52A1"})]}),(0,t.jsx)(ze.k,{columns:s.filter(Boolean),dataSource:C.tasks||[],showHeader:!!C.tasks.length,rowKey:"id",size:"small",pagination:!1}),l&&(0,t.jsx)(ut.Z,{ref:d,onOk:function(g){return Z((0,N.Z)((0,N.Z)({},C),{},{tasks:g}))}})]})},Ve=ct,He=e(28991),dt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},ft=dt,vt=e(27029),we=function(n,o){return a.createElement(vt.Z,(0,He.Z)((0,He.Z)({},n),{},{ref:o,icon:ft}))};we.displayName="ReloadOutlined";var mt=a.forwardRef(we),ht=e(92977),It=e(43358),gt=e(42239),$t=e(47673),yt=e(32787),Lt=e(9715),Ne=e(71257),xt=e(40841),pt=e(77881),Ge=e(74805),Et=function(n){var o=n.route,r=(0,Ge.c)(),l=r.refresh,p=(0,ue.UO)(),m=p.plan_id,d=n.source,M=n.onOk,f=Ne.Z.useForm(),C=(0,oe.Z)(f,1),Z=C[0];a.useEffect(function(){if(d&&JSON.stringify(d)!=="{}"){var x=d.req_id,g=d.title;Z.setFieldsValue({req_id:x,title:g})}},[d]);var H=a.useState({}),U=(0,oe.Z)(H,2),j=U[0],h=U[1],D=a.useRef(null),J=(0,Y.QT)(function(){return(0,Y.WY)("/api/requirement")},{initialData:[]}),O=J.data,s=function(){Z.validateFields().then(function(){var g=(0,ne.Z)(K().mark(function P(ce){var Q,de,Ee,Ce,A,Ze,je,F,B,y,T,w,le,i;return K().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:if(de=j.tasksAndCases,Ee=(0,N.Z)((0,N.Z)({},ce),{},{reviewers:"xxxx",tasks:[],content:(Q=D.current)===null||Q===void 0?void 0:Q.children}),Ce=m&&d,!Ce){W.next=24;break}return W.next=6,(0,se.uw)(m,Ee);case 6:if(A=W.sent,Ze=A.code,je=A.msg,Ze===200){W.next=11;break}return W.abrupt("return",G.default.error(je));case 11:return W.next=13,(0,se.GJ)(m,{tasks:de==null?void 0:de.tasks.map(function(Te){return Te.id})});case 13:if(F=W.sent,B=F.code,y=F.msg,B===200){W.next=19;break}return G.default.error(y),W.abrupt("return");case 19:M(),l(),G.default.success("\u64CD\u4F5C\u6210\u529F"),W.next=34;break;case 24:return W.next=26,(0,se.Oe)(Ee);case 26:if(T=W.sent,w=T.data,le=T.code,i=T.msg,le===200){W.next=33;break}return G.default.error(i),W.abrupt("return");case 33:Y.m8.push("/plan/".concat(w.id));case 34:case"end":return W.stop()}},P)}));return function(P){return g.apply(this,arguments)}}())};return(0,t.jsx)("div",{style:{padding:12,backgroundColor:"#fff",height:"100%",overflow:"auto"},children:(0,t.jsxs)($.Z,{style:{width:"100%"},direction:"vertical",children:[(0,t.jsxs)(te.Z,{justify:"space-between",align:"middle",children:[(0,t.jsx)(E.Z.Text,{strong:!0,children:"\u7F16\u8F91\u65B9\u6848"}),(0,t.jsx)(S.Z,{type:"primary",onClick:s,children:"\u4FDD\u5B58"})]}),(0,t.jsx)(E.Z.Text,{strong:!0,children:"\u57FA\u7840\u4FE1\u606F"}),(0,t.jsxs)(pt.yV,{form:Z,labelCol:{span:2},wrapperCol:{span:16},children:[(0,t.jsx)(Ne.Z.Item,{label:"\u65B9\u6848\u540D\u79F0",name:"title",rules:[{required:!0,message:"\u65B9\u6848\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"}],children:(0,t.jsx)(yt.Z,{allowClear:!0,autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165"})}),(0,t.jsx)(Ne.Z.Item,{label:"\u6D4B\u8BD5\u9700\u6C42",name:"req_id",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6D4B\u8BD5\u9700\u6C42"}],children:(0,t.jsx)(gt.Z,{options:O.map(function(x){return{label:x.title,value:x.id}}),showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u6D4B\u8BD5\u9700\u6C42",filterOption:function(g,P){return P.label.toLowerCase().indexOf(g.toLowerCase())>=0}})})]}),(0,t.jsx)(E.Z.Text,{strong:!0,children:"\u63CF\u8FF0"}),(0,t.jsx)("div",{style:{height:400,border:"1px solid rgba(0,0,0,0.15)",borderRadius:2},children:(0,t.jsx)(xt.Z,{defaultValue:m?d==null?void 0:d.content:void 0,onEditorChange:function(g){return D.current=g}})}),(o==null?void 0:o.name)!=="create"&&(0,t.jsx)(Ve,{ids:d==null?void 0:d.tasks,onOk:function(g){return h(function(P){return(0,N.Z)((0,N.Z)({},P),{},{tasksAndCases:g})})}})]})})},Ct=Et,Zt=e(87589),jt=e(65333),Ot=e(14066),Pt=e(55044),Rt=function(){var n=(0,Y.md)(),o=(0,ue.UO)(),r=o.plan_id,l=(0,Ge.c)(),p=l.refresh,m=a.useState(!1),d=(0,oe.Z)(m,2),M=d[0],f=d[1],C=a.useState([]),Z=(0,oe.Z)(C,2),H=Z[0],U=Z[1],j=a.useState(!1),h=(0,oe.Z)(j,2),D=h[0],J=h[1],O=(0,Y.QT)(se.cu,{manual:!0,initialData:null}),s=O.data,x=O.run,g=O.refresh,P=O.loading,ce=a.useRef(),Q=function(){p(),g()};a.useEffect(function(){return r&&x(r),function(){f(!1),U([])}},[r]);var de=function(B){var y;switch(B.key){case"delete":return(y=ce.current)===null||y===void 0?void 0:y.show()}},Ee=function(){var F=(0,ne.Z)(K().mark(function B(){var y,T,w;return K().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,se.NH)(r);case 2:if(y=i.sent,T=y.code,w=y.msg,T===200){i.next=7;break}return i.abrupt("return",G.default.error(w));case 7:return G.default.success("\u64CD\u4F5C\u6210\u529F\uFF01"),i.next=10,p();case 10:Y.m8.push("/plan");case 11:case"end":return i.stop()}},B)}));return function(){return F.apply(this,arguments)}}(),Ce=function(){f(!1),Q()},A=function(){var F=(0,ne.Z)(K().mark(function B(){var y,T,w;return K().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(!D){i.next=2;break}return i.abrupt("return");case 2:return J(!0),i.next=5,(0,se.Nm)({plan_id:r});case 5:if(y=i.sent,T=y.code,w=y.msg,J(!1),T===200){i.next=11;break}return i.abrupt("return",G.default.error(w));case 11:G.default.success("\u64CD\u4F5C\u6210\u529F\uFF01"),p();case 13:case"end":return i.stop()}},B)}));return function(){return F.apply(this,arguments)}}(),Ze=function(){var F=(0,ne.Z)(K().mark(function B(){var y,T,w;return K().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,se.L2)(r);case 2:if(y=i.sent,T=y.msg,w=y.code,w===200){i.next=7;break}return i.abrupt("return",G.default.error(T));case 7:Q();case 8:case"end":return i.stop()}},B)}));return function(){return F.apply(this,arguments)}}(),je=function(){var F=(0,ne.Z)(K().mark(function B(){var y,T,w;return K().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,se.GW)(r);case 2:if(y=i.sent,T=y.msg,w=y.code,w===200){i.next=7;break}return i.abrupt("return",G.default.error(T));case 7:Q();case 8:case"end":return i.stop()}},B)}));return function(){return F.apply(this,arguments)}}();return M?(0,t.jsx)(Ct,{isEdit:M,source:s,onOk:Ce,cases:H}):r&&!s?(0,t.jsx)(De.Z,{}):r?P?(0,t.jsx)("div",{style:{height:innerHeight,position:"relative"},children:(0,t.jsx)(De.Z,{})}):(0,t.jsxs)($.Z,{direction:"vertical",style:{width:"100%",padding:12,height:"100%",overflow:"auto"},children:[(0,t.jsxs)(te.Z,{justify:"space-between",align:"middle",children:[(0,t.jsxs)($.Z,{children:[(0,t.jsxs)($.Z,{children:[(0,t.jsx)(E.Z.Text,{style:{color:"rgba(0,0,0,0.45)",fontSize:12},children:"\u521B\u5EFA\u4E8E"}),(0,t.jsx)(E.Z.Text,{style:{color:"rgba(0,0,0,0.45)",fontSize:12},children:s.gmt_created})]}),(0,t.jsxs)($.Z,{children:[(0,t.jsx)(E.Z.Text,{style:{color:"rgba(0,0,0,0.45)",fontSize:12},children:"\u66F4\u65B0\u4E8E"}),(0,t.jsx)(E.Z.Text,{style:{color:"rgba(0,0,0,0.45)",fontSize:12},children:s.gmt_modified})]})]}),(0,t.jsxs)($.Z,{children:[!["init","finish"].includes(s.status)&&(0,t.jsx)(S.Z,{size:"small",icon:(0,t.jsx)(mt,{}),onClick:function(){return g()}}),s.status==="finish"&&(0,t.jsx)(t.Fragment,{children:s.report?(0,t.jsx)(S.Z,{type:"primary",size:"small",onClick:function(){return Y.m8.push("/plan/".concat(r,"/report"))},children:"\u67E5\u770B\u6D4B\u8BD5\u62A5\u544A"}):n.canTester()&&(0,t.jsx)(S.Z,{size:"small",onClick:function(){return je()},children:"\u751F\u6210\u62A5\u544A"})}),n.canTester()&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(S.Z,{size:"small",disabled:s.status!=="init",onClick:Ze,children:"\u6267\u884C"}),n.canCurrentTester(s==null?void 0:s.owner)&&(0,t.jsx)(S.Z,{size:"small",disabled:s.status!=="init",onClick:function(){return f(!0)},children:"\u7F16\u8F91"}),(0,t.jsx)(S.Z,{size:"small",onClick:A,children:"\u590D\u5236\u65B9\u6848"}),n.canCurrentTester(s==null?void 0:s.owner)&&(0,t.jsx)(ve.Z,{overlay:(0,t.jsx)(q.Z,{onClick:de,children:(0,t.jsx)(q.Z.Item,{children:"\u5220\u9664"},"delete")}),children:(0,t.jsx)("span",{style:{width:24,cursor:"pointer"},children:(0,t.jsx)(ht.Z,{})})})]})]})]}),(0,t.jsx)(E.Z.Text,{strong:!0,children:s.title}),(0,t.jsx)(Zt.Z,{left:{title:"\u8D1F\u8D23\u4EBA",data:s==null?void 0:s.owner,span:6},right:{title:"\u72B6\u6001",data:(0,t.jsx)(Pt.iK,(0,N.Z)((0,N.Z)({},s),{},{style:{transform:"scale(0.8)",transformOrigin:"0 0"}})),span:6}}),(0,t.jsx)(X.Z,{style:{margin:0}}),(0,t.jsx)(E.Z.Text,{strong:!0,children:"\u57FA\u7840\u4FE1\u606F"}),(0,t.jsxs)(te.Z,{children:[(0,t.jsx)(ae.Z,{span:2,children:"\u6D4B\u8BD5\u9700\u6C42"}),(0,t.jsx)(ae.Z,{span:20,style:{color:"rgba(0,0,0,0.65)"},children:s==null?void 0:s.req_title})]}),(0,t.jsx)(X.Z,{style:{margin:0}}),(0,t.jsx)(te.Z,{justify:"space-between",align:"middle",children:(0,t.jsx)(E.Z.Text,{strong:!0,children:"\u63CF\u8FF0"})}),(0,t.jsx)(Ot.Z,{style:{background:"#FAFAFA",padding:12},content:s!=null&&s.content&&Object.prototype.toString.call(s==null?void 0:s.content)==="[object Array]"?s==null?void 0:s.content:[]}),(0,t.jsx)(Ve,{ids:s.tasks,canSelect:!1,onChange:U}),(0,t.jsx)(te.Z,{style:{height:4}}),(0,t.jsx)(it,{dataSource:H,canSelect:!1}),(0,t.jsx)(jt.Z,{ref:ce,onOk:Ee})]}):(0,t.jsx)(te.Z,{justify:"center",style:{paddingTop:300,background:"#fff",height:"100%"},children:(0,t.jsx)(ye.Z,{image:ye.Z.PRESENTED_IMAGE_SIMPLE})})},Dt=Rt}}]); diff --git a/dist/242.d93f8bac.chunk.css b/dist/242.d93f8bac.chunk.css deleted file mode 100644 index c73cd57666a299cacccd80f2145f1d78cd3b37e7..0000000000000000000000000000000000000000 --- a/dist/242.d93f8bac.chunk.css +++ /dev/null @@ -1 +0,0 @@ -.ant-badge{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum","tnum";position:relative;display:inline-block;line-height:1}.ant-badge-count{z-index:auto;min-width:20px;height:20px;padding:0 6px;color:#fff;font-weight:400;font-size:12px;line-height:20px;white-space:nowrap;text-align:center;background:#ff4d4f;border-radius:10px;box-shadow:0 0 0 1px #fff}.ant-badge-count a,.ant-badge-count a:hover{color:#fff}.ant-badge-count-sm{min-width:14px;height:14px;padding:0;font-size:12px;line-height:14px;border-radius:7px}.ant-badge-multiple-words{padding:0 8px}.ant-badge-dot{z-index:auto;width:6px;min-width:6px;height:6px;background:#ff4d4f;border-radius:100%;box-shadow:0 0 0 1px #fff}.ant-badge-dot.ant-scroll-number{transition:background 1.5s}.ant-badge-count,.ant-badge-dot,.ant-badge .ant-scroll-number-custom-component{position:absolute;top:0;right:0;transform:translate(50%,-50%);transform-origin:100% 0}.ant-badge-count.anticon-spin,.ant-badge-dot.anticon-spin,.ant-badge .ant-scroll-number-custom-component.anticon-spin{animation:antBadgeLoadingCircle 1s linear infinite}.ant-badge-status{line-height:inherit;vertical-align:baseline}.ant-badge-status-dot{position:relative;top:-1px;display:inline-block;width:6px;height:6px;vertical-align:middle;border-radius:50%}.ant-badge-status-success{background-color:#52c41a}.ant-badge-status-processing{position:relative;background-color:#1890ff}.ant-badge-status-processing:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:50%;animation:antStatusProcessing 1.2s ease-in-out infinite;content:""}.ant-badge-status-default{background-color:#d9d9d9}.ant-badge-status-error{background-color:#ff4d4f}.ant-badge-status-warning{background-color:#faad14}.ant-badge-status-pink{background:#eb2f96}.ant-badge-status-magenta{background:#eb2f96}.ant-badge-status-red{background:#f5222d}.ant-badge-status-volcano{background:#fa541c}.ant-badge-status-orange{background:#fa8c16}.ant-badge-status-yellow{background:#fadb14}.ant-badge-status-gold{background:#faad14}.ant-badge-status-cyan{background:#13c2c2}.ant-badge-status-lime{background:#a0d911}.ant-badge-status-green{background:#52c41a}.ant-badge-status-blue{background:#1890ff}.ant-badge-status-geekblue{background:#2f54eb}.ant-badge-status-purple{background:#722ed1}.ant-badge-status-text{margin-left:8px;color:rgba(0,0,0,.85);font-size:14px}.ant-badge-zoom-appear,.ant-badge-zoom-enter{animation:antZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46);animation-fill-mode:both}.ant-badge-zoom-leave{animation:antZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6);animation-fill-mode:both}.ant-badge-not-a-wrapper .ant-badge-zoom-appear,.ant-badge-not-a-wrapper .ant-badge-zoom-enter{animation:antNoWrapperZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46)}.ant-badge-not-a-wrapper .ant-badge-zoom-leave{animation:antNoWrapperZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6)}.ant-badge-not-a-wrapper:not(.ant-badge-status){vertical-align:middle}.ant-badge-not-a-wrapper .ant-badge-count,.ant-badge-not-a-wrapper .ant-scroll-number-custom-component{transform:none}.ant-badge-not-a-wrapper .ant-scroll-number,.ant-badge-not-a-wrapper .ant-scroll-number-custom-component{position:relative;top:auto;display:block;transform-origin:50% 50%}@keyframes antStatusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}.ant-scroll-number{overflow:hidden;direction:ltr}.ant-scroll-number-only{position:relative;display:inline-block;height:20px;transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.ant-scroll-number-only>p.ant-scroll-number-only-unit{height:20px;margin:0;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.ant-scroll-number-symbol{vertical-align:top}@keyframes antZoomBadgeIn{0%{transform:scale(0) translate(50%,-50%);opacity:0}to{transform:scale(1) translate(50%,-50%)}}@keyframes antZoomBadgeOut{0%{transform:scale(1) translate(50%,-50%)}to{transform:scale(0) translate(50%,-50%);opacity:0}}@keyframes antNoWrapperZoomBadgeIn{0%{transform:scale(0);opacity:0}to{transform:scale(1)}}@keyframes antNoWrapperZoomBadgeOut{0%{transform:scale(1)}to{transform:scale(0);opacity:0}}@keyframes antBadgeLoadingCircle{0%{transform-origin:50%}to{transform:translate(50%,-50%) rotate(1turn);transform-origin:50%}}.ant-ribbon-wrapper{position:relative}.ant-ribbon{box-sizing:border-box;margin:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum","tnum";position:absolute;top:8px;height:22px;padding:0 8px;color:#fff;line-height:22px;white-space:nowrap;background-color:#1890ff;border-radius:2px}.ant-ribbon-text{color:#fff}.ant-ribbon-corner{position:absolute;top:100%;width:8px;height:8px;color:currentcolor;border:4px solid;transform:scaleY(.75);transform-origin:top}.ant-ribbon-corner:after{position:absolute;top:-4px;left:-4px;width:inherit;height:inherit;color:rgba(0,0,0,.25);border:inherit;content:""}.ant-ribbon-color-pink{color:#eb2f96;background:#eb2f96}.ant-ribbon-color-magenta{color:#eb2f96;background:#eb2f96}.ant-ribbon-color-red{color:#f5222d;background:#f5222d}.ant-ribbon-color-volcano{color:#fa541c;background:#fa541c}.ant-ribbon-color-orange{color:#fa8c16;background:#fa8c16}.ant-ribbon-color-yellow{color:#fadb14;background:#fadb14}.ant-ribbon-color-gold{color:#faad14;background:#faad14}.ant-ribbon-color-cyan{color:#13c2c2;background:#13c2c2}.ant-ribbon-color-lime{color:#a0d911;background:#a0d911}.ant-ribbon-color-green{color:#52c41a;background:#52c41a}.ant-ribbon-color-blue{color:#1890ff;background:#1890ff}.ant-ribbon-color-geekblue{color:#2f54eb;background:#2f54eb}.ant-ribbon-color-purple{color:#722ed1;background:#722ed1}.ant-ribbon.ant-ribbon-placement-end{right:-8px;border-bottom-right-radius:0}.ant-ribbon.ant-ribbon-placement-end .ant-ribbon-corner{right:0;border-color:currentcolor transparent transparent currentcolor}.ant-ribbon.ant-ribbon-placement-start{left:-8px;border-bottom-left-radius:0}.ant-ribbon.ant-ribbon-placement-start .ant-ribbon-corner{left:0;border-color:currentcolor currentcolor transparent transparent}.ant-badge-rtl{direction:rtl}.ant-badge-rtl.ant-badge:not(.ant-badge-not-a-wrapper) .ant-badge-count,.ant-badge-rtl.ant-badge:not(.ant-badge-not-a-wrapper) .ant-badge-dot,.ant-badge-rtl.ant-badge:not(.ant-badge-not-a-wrapper) .ant-scroll-number-custom-component{right:auto;left:0;direction:ltr;transform:translate(-50%,-50%);transform-origin:0 0}.ant-badge-rtl.ant-badge:not(.ant-badge-not-a-wrapper) .ant-scroll-number-custom-component{right:auto;left:0;transform:translate(-50%,-50%);transform-origin:0 0}.ant-badge-rtl .ant-badge-status-text{margin-right:8px;margin-left:0}.ant-badge:not(.ant-badge-not-a-wrapper).ant-badge-rtl .ant-badge-zoom-appear,.ant-badge:not(.ant-badge-not-a-wrapper).ant-badge-rtl .ant-badge-zoom-enter{animation-name:antZoomBadgeInRtl}.ant-badge:not(.ant-badge-not-a-wrapper).ant-badge-rtl .ant-badge-zoom-leave{animation-name:antZoomBadgeOutRtl}.ant-ribbon-rtl{direction:rtl}.ant-ribbon-rtl.ant-ribbon-placement-end{right:unset;left:-8px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.ant-ribbon-rtl.ant-ribbon-placement-end .ant-ribbon-corner{right:unset;left:0;border-color:currentcolor currentcolor transparent transparent}.ant-ribbon-rtl.ant-ribbon-placement-end .ant-ribbon-corner:after{border-color:currentcolor currentcolor transparent transparent}.ant-ribbon-rtl.ant-ribbon-placement-start{right:-8px;left:unset;border-bottom-right-radius:0;border-bottom-left-radius:2px}.ant-ribbon-rtl.ant-ribbon-placement-start .ant-ribbon-corner{right:0;left:unset;border-color:currentcolor transparent transparent currentcolor}.ant-ribbon-rtl.ant-ribbon-placement-start .ant-ribbon-corner:after{border-color:currentcolor transparent transparent currentcolor}@keyframes antZoomBadgeInRtl{0%{transform:scale(0) translate(-50%,-50%);opacity:0}to{transform:scale(1) translate(-50%,-50%)}}@keyframes antZoomBadgeOutRtl{0%{transform:scale(1) translate(-50%,-50%)}to{transform:scale(0) translate(-50%,-50%);opacity:0}}.ant-image{position:relative;display:inline-block}.ant-image-img{width:100%;height:auto;vertical-align:middle}.ant-image-img-placeholder{background-color:#f5f5f5;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE0LjUgMi41aC0xM0EuNS41IDAgMDAxIDN2MTBhLjUuNSAwIDAwLjUuNWgxM2EuNS41IDAgMDAuNS0uNVYzYS41LjUgMCAwMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwMTAgMiAxIDEgMCAwMTAtMnptOC4wMyA2LjgzYS4xMjcuMTI3IDAgMDEtLjA4MS4wM0gyLjc2OWEuMTI1LjEyNSAwIDAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAxLjE3Ny0uMDE2bC4wMTYuMDE2TDcuMDggMTAuMDlsMi40Ny0yLjkzYS4xMjYuMTI2IDAgMDEuMTc3LS4wMTZsLjAxNS4wMTYgMy41ODggNC4yNDRhLjEyNy4xMjcgMCAwMS0uMDIuMTc1eiIgZmlsbD0iIzhDOEM4QyIvPjwvc3ZnPg==");background-repeat:no-repeat;background-position:50%;background-size:30%}.ant-image-mask{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;color:#fff;background:rgba(0,0,0,.5);cursor:pointer;opacity:0;transition:opacity .3s}.ant-image-mask-info{padding:0 4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-image-mask-info .anticon{-webkit-margin-end:4px;margin-inline-end:4px}.ant-image-mask:hover{opacity:1}.ant-image-placeholder{position:absolute;top:0;right:0;bottom:0;left:0}.ant-image-preview{pointer-events:none;height:100%;text-align:center}.ant-image-preview.ant-zoom-appear,.ant-image-preview.ant-zoom-enter{transform:none;opacity:0;animation-duration:.3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-image-preview-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;height:100%;background-color:rgba(0,0,0,.45)}.ant-image-preview-mask-hidden{display:none}.ant-image-preview-wrap{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;outline:0}.ant-image-preview-body{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.ant-image-preview-img{max-width:100%;max-height:100%;vertical-align:middle;transform:scaleX(1);cursor:-webkit-grab;cursor:grab;transition:transform .3s cubic-bezier(.215,.61,.355,1) 0s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:auto}.ant-image-preview-img-wrapper{position:absolute;top:0;right:0;bottom:0;left:0;transition:transform .3s cubic-bezier(.215,.61,.355,1) 0s}.ant-image-preview-img-wrapper:before{display:inline-block;width:1px;height:50%;margin-right:-1px;content:""}.ant-image-preview-moving .ant-image-preview-img{cursor:-webkit-grabbing;cursor:grabbing}.ant-image-preview-moving .ant-image-preview-img-wrapper{transition-duration:0s}.ant-image-preview-wrap{z-index:1080}.ant-image-preview-operations{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;font-feature-settings:"tnum","tnum";position:absolute;top:0;right:0;z-index:1;display:flex;flex-direction:row-reverse;align-items:center;width:100%;color:hsla(0,0%,100%,.85);list-style:none;background:rgba(0,0,0,.1);pointer-events:auto}.ant-image-preview-operations-operation{margin-left:12px;padding:12px;cursor:pointer}.ant-image-preview-operations-operation-disabled{color:hsla(0,0%,100%,.25);pointer-events:none}.ant-image-preview-operations-operation:last-of-type{margin-left:0}.ant-image-preview-operations-progress{position:absolute;left:50%;transform:translateX(-50%)}.ant-image-preview-operations-icon{font-size:18px}.ant-image-preview-switch-left,.ant-image-preview-switch-right{position:absolute;top:50%;right:10px;z-index:1;display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin-top:-22px;color:hsla(0,0%,100%,.85);background:rgba(0,0,0,.1);border-radius:50%;cursor:pointer;pointer-events:auto}.ant-image-preview-switch-left-disabled,.ant-image-preview-switch-right-disabled{color:hsla(0,0%,100%,.25);cursor:not-allowed}.ant-image-preview-switch-left-disabled>.anticon,.ant-image-preview-switch-right-disabled>.anticon{cursor:not-allowed}.ant-image-preview-switch-left>.anticon,.ant-image-preview-switch-right>.anticon{font-size:18px}.ant-image-preview-switch-left{left:10px}.ant-image-preview-switch-right{right:10px} \ No newline at end of file diff --git a/dist/248.async.js b/dist/248.async.js deleted file mode 100644 index 7617e20868d224099593cc306f0510d0b4685a11..0000000000000000000000000000000000000000 --- a/dist/248.async.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[248],{20436:function(K,L,d){d.d(L,{Z:function(){return R}});var C=d(84045),T=d(50959),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},b=v,N=d(81851),I=function(S,D){return T.createElement(N.Z,(0,C.Z)((0,C.Z)({},S),{},{ref:D,icon:b}))};I.displayName="PlusOutlined";var R=T.forwardRef(I)},95331:function(K,L,d){var C=d(62081),T=d(82269),v=d(19803),b=d.n(v),N=d(50959),I=d(51283),R=function(S,D){var k={};for(var P in S)Object.prototype.hasOwnProperty.call(S,P)&&D.indexOf(P)<0&&(k[P]=S[P]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,P=Object.getOwnPropertySymbols(S);H
v&&(v=F,w=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.copy=function(t){r.copy(this,t)},r.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},r.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},r.prototype.isZero=function(){return this.width===0||this.height===0},r.create=function(t){return new r(t.x,t.y,t.width,t.height)},r.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},r.applyTransform=function(t,e,n){if(!n){t!==e&&r.copy(t,e);return}if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var a=n[0],i=n[3],o=n[4],s=n[5];t.x=e.x*a+o,t.y=e.y*i+s,t.width=e.width*a,t.height=e.height*i,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}PA.x=zo.x=e.x,PA.y=ca.y=e.y,Go.x=ca.x=e.x+e.width,Go.y=zo.y=e.y+e.height,PA.transform(n),ca.transform(n),Go.transform(n),zo.transform(n),t.x=cl(PA.x,Go.x,zo.x,ca.x),t.y=cl(PA.y,Go.y,zo.y,ca.y);var A=zi(PA.x,Go.x,zo.x,ca.x),l=zi(PA.y,Go.y,zo.y,ca.y);t.width=A-t.x,t.height=l-t.y},r}(),jr=wc,Zu={};function Da(r,t){t=t||yt;var e=Zu[t];e||(e=Zu[t]=new iu(500));var n=e.get(r);return n==null&&(n=Qr.measureText(r,t).width,e.put(r,n)),n}function Au(r,t,e,n){var a=Da(r,t),i=Ju(t),o=UA(0,a,e),s=ks(0,i,n),A=new jr(o,s,a,i);return A}function yi(r,t,e,n){var a=((r||"")+"").split(`
+`),i=a.length;if(i===1)return Au(a[0],t,e,n);for(var o=new jr(0,0,0,0),s=0;sp[1]&&(p[1]=d)}return this._rawCount=this._count=A,{start:s,end:A}},r.prototype._initDataFromProvider=function(t,e,n){for(var a=this._provider,i=this._chunks,o=this._dimensions,s=o.length,A=this._rawExtent,l=Qe(o,function(S){return S.property}),u=0;uw[1]&&(w[1]=p)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=e,this._extent=[]},r.prototype.count=function(){return this._count},r.prototype.get=function(t,e){if(!(e>=0&&et){i?e.push(o(i,A,t)):a&&e.push(o(a,A,0),o(a,A,t));break}else a&&(e.push(o(a,A,0)),a=null),e.push(A),i=A}return e}function cQ(r,t,e){var n=r.getVisual("visualMeta");if(!(!n||!n.length||!r.count())&&t.type==="cartesian2d"){for(var a,i,o=n.length-1;o>=0;o--){var s=r.getDimensionInfo(n[o].dimension);if(a=s&&s.coordDim,a==="x"||a==="y"){i=n[o];break}}if(i){var A=t.getAxis(a),l=Qe(i.stops,function(L){return{coord:A.toGlobalCoord(A.dataToCoord(L.value)),color:L.color}}),u=l.length,f=i.outerColors.slice();u&&l[0].coord>l[u-1].coord&&(l.reverse(),f.reverse());var c=fQ(l,a==="x"?e.getWidth():e.getHeight()),h=c.length;if(!h&&u)return l[0].coord<0?f[1]?f[1]:l[u-1].color:f[0]?f[0]:l[0].color;var v=10,d=c[0].coord-v,p=c[h-1].coord+v,w=p-d;if(w<.001)return"transparent";V(c,function(L){L.offset=(L.coord-d)/w}),c.push({offset:h?c[h-1].offset:.5,color:f[1]||"transparent"}),c.unshift({offset:h?c[0].offset:.5,color:f[0]||"transparent"});var S=new Bp(0,0,0,0,c,!0);return S[a]=d,S[a+"2"]=p,S}}}function hQ(r,t,e){var n=r.get("showAllSymbol"),a=n==="auto";if(!(n&&!a)){var i=e.getAxesByScale("ordinal")[0];if(i&&!(a&&vQ(i,t))){var o=t.mapDimension(i.dim),s={};return V(i.getViewLabels(),function(A){var l=i.scale.getRawOrdinalNumber(A.tickValue);s[l]=1}),function(A){return!s.hasOwnProperty(t.get(o,A))}}}}function vQ(r,t){var e=r.getExtent(),n=Math.abs(e[1]-e[0])/r.scale.count();isNaN(n)&&(n=0);for(var a=t.count(),i=Math.max(1,Math.round(a/5)),o=0;on)return!1;return!0}function dQ(r,t){return isNaN(r)||isNaN(t)}function pQ(r){for(var t=r.length/2;t>0&&dQ(r[t*2-2],r[t*2-1]);t--);return t-1}function uS(r,t){return[r[t*2],r[t*2+1]]}function gQ(r,t,e){for(var n=r.length/2,a=e==="x"?0:1,i,o,s=0,A=-1,l=0;l