netty-server-ui.v1.js.853.757df9a3.js Maven / Gradle / Ivy
The newest version!
"use strict";(self.webpackChunkwu_smart_agent_network=self.webpackChunkwu_smart_agent_network||[]).push([[853],{61853:(e,t,r)=>{r.r(t),r.d(t,{default:()=>p});var a=r(83986),n=r(56536),i=r(90106),s=r(93540),o=(r(70560),r(66252)),c=r(39643),u=r(64424),l={class:"ve_container"},d=[(0,o._)("div",{id:"client_port_per_day_flow",style:{width:"100%",height:"600px"}},null,-1)],f={data:function(){return{description:"客户端端口近七天访问流量",type:"1",icon:"DataLine",name:"客户端端口近七天访问流量",parentMenu:u.Z}}};const p=Object.assign(f,{__name:"ClientPortPerDayFlow",setup:function(e){return(0,o.bv)((0,s.Z)((0,a.Z)().mark((function e(){var t,r,s,o,u,l,d,f,p,y,h,m,v;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,VE_API.cloudNetworkReport.findClient7DayFlow();case 2:t=e.sent,r=t.code,s=t.data,0===r&&console.log(s),o=document.getElementById("client_port_per_day_flow"),u=c.S1(o,null,{renderer:"canvas",useDirtyRect:!1}),d=[],f=(0,i.Z)(s.clientInFlowList);try{for(f.s();!(p=f.n()).done;)y=p.value,d.push({type:"bar",name:"进口流量"+y.clientId+":"+y.visitorPort,stack:"in_flow_"+y.clientId,emphasis:{focus:"series"},data:y.flowList})}catch(e){f.e(e)}finally{f.f()}h=(0,i.Z)(s.clientOutFlowList);try{for(h.s();!(m=h.n()).done;)v=m.value,d.push({type:"bar",name:"出口流量"+v.clientId+":"+v.visitorPort,stack:"out_flow_"+v.clientId,emphasis:{focus:"series"},data:v.flowList})}catch(e){h.e(e)}finally{h.f()}console.log(d),(l={tooltip:{trigger:"axis"},legend:{},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",data:s.dayList}],yAxis:[{type:"value"}],series:d,series1:[{name:"Direct",type:"bar",emphasis:{focus:"series"},data:[320,332,301,334,390,330,320]},{name:"Email",type:"bar",stack:"Ad",emphasis:{focus:"series"},data:[120,132,101,134,90,230,210]},{name:"Union Ads",type:"bar",stack:"Ad",emphasis:{focus:"series"},data:[220,182,191,234,290,330,310]},{name:"Video Ads",type:"bar",stack:"Ad",emphasis:{focus:"series"},data:[150,232,201,154,190,330,410]},{name:"Search Engine",type:"bar",data:[862,1018,964,1026,1679,1600,1570],emphasis:{focus:"series"},markLine:{lineStyle:{type:"dashed"},data:[[{type:"min"},{type:"max"}]]}},{name:"Baidu",type:"bar",barWidth:5,stack:"Search Engine",emphasis:{focus:"series"},data:[620,732,701,734,1090,1130,1120]},{name:"Google",type:"bar",stack:"Search Engine",emphasis:{focus:"series"},data:[120,132,101,134,290,230,220]},{name:"Bing",type:"bar",stack:"Search Engine",emphasis:{focus:"series"},data:[60,72,71,74,190,130,110]},{name:"Others",type:"bar",stack:"Search Engine",emphasis:{focus:"series"},data:[62,82,91,84,109,110,120]}]})&&"object"===(0,n.Z)(l)&&u.setOption(l),window.addEventListener("resize",u.resize);case 17:case"end":return e.stop()}}),e)})))),function(e,t){return(0,o.wg)(),(0,o.iD)("div",l,d)}}})},21055:(e,t,r)=>{var a=r(54071),n=r(22615),i=r(90690),s=r(71228),o=r(93292),c=r(19429),u=r(6310),l=r(76522),d=r(5185),f=r(91664),p=Array;e.exports=function(e){var t=i(e),r=c(this),y=arguments.length,h=y>1?arguments[1]:void 0,m=void 0!==h;m&&(h=a(h,y>2?arguments[2]:void 0));var v,g,w,b,_,A,k=f(t),Z=0;if(!k||this===p&&o(k))for(v=u(t),g=r?new this(v):p(v);v>Z;Z++)A=m?h(t[Z],Z):t[Z],l(g,Z,A);else for(_=(b=d(t,k)).next,g=r?new this:[];!(w=n(_,b)).done;Z++)A=m?s(b,h,[w.value,Z],!0):w.value,l(g,Z,A);return g.length=Z,g}},71228:(e,t,r)=>{var a=r(85027),n=r(72125);e.exports=function(e,t,r,i){try{return i?t(a(r)[0],r[1]):t(r)}catch(t){n(e,"throw",t)}}},77049:(e,t,r)=>{var a=r(79989),n=r(21055);a({target:"Array",stat:!0,forced:!r(86431)((function(e){Array.from(e)}))},{from:n})},63975:(e,t,r)=>{r(79989)({target:"Array",stat:!0},{isArray:r(92297)})},9914:(e,t,r)=>{function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);ra})},90106:(e,t,r)=>{r.d(t,{Z:()=>n});r(59749),r(86544),r(60228),r(84254),r(21694),r(76265),r(63975),r(21057),r(68932);var a=r(96726);function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=(0,a.Z)(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){c=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw s}}}}},96726:(e,t,r)=>{r.d(t,{Z:()=>n});r(89730),r(68932),r(30024),r(60228),r(12826),r(34284),r(77049),r(21694),r(64043),r(7409);var a=r(9914);function n(e,t){if(e){if("string"==typeof e)return(0,a.Z)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,a.Z)(e,t):void 0}}}}]);