netty-server-ui.v1.js.202.e693db91.js Maven / Gradle / Ivy
The newest version!
"use strict";(self.webpackChunkwu_smart_agent_network=self.webpackChunkwu_smart_agent_network||[]).push([[202],{23202:(e,t,n)=>{n.r(t),n.d(t,{default:()=>N});var r=n(83986),u=n(93540),a=(n(96869),n(79288),n(34284),n(66252)),l=n(3577),s=n(2262),c=n(65781),o=function(e){return(0,a.dD)("data-v-68dc6ab4"),e=e(),(0,a.Cn)(),e},i={class:"percentage-value"},f=o((function(){return(0,a._)("span",{class:"percentage-label"},"JVM内存使用",-1)})),m={class:"percentage-label"},p={class:"percentage-value"},w=o((function(){return(0,a._)("span",{class:"percentage-label"},"当前线程CPU使用",-1)})),d={class:"percentage-label"},v={class:"percentage-value"},_=o((function(){return(0,a._)("span",{class:"percentage-label"},"当前系统CPU使用",-1)})),y={class:"percentage-label"},g={class:"cell-item"},k={class:"cell-item"},b={class:"cell-item"},U={class:"cell-item"},W={class:"cell-item",style:{width:"150px"}},h={class:"cell-item"},x=o((function(){return(0,a._)("a",{href:"https://gitee.com/wujiawei1207537021/wu-framework-parent",target:"_blank",title:"wu-framework-parent 是一款由Java语言开发的框架,目标不写代码但是却能完成功能。 框架涵盖无赖ORM( wu-database-lazy-starter)、仿生组件 、easy框架系列【Easy-Excel、easy-listener、easy-upsert】 授权框架(wu-framework-authorization)、Web框架、平台操作组件、层组件抽象、 ACW模块"},"https://gitee.com/wujiawei1207537021/wu-framework-parent",-1)})),M={class:"cell-item"},j=o((function(){return(0,a._)("a",{href:"https://gitee.com/wujiawei1207537021/wu-framework-parent",target:"_blank",title:"wu-framework-parent 是一款由Java语言开发的框架,目标不写代码但是却能完成功能。 框架涵盖无赖ORM( wu-database-lazy-starter)、仿生组件 、easy框架系列【Easy-Excel、easy-listener、easy-upsert】 授权框架(wu-framework-authorization)、Web框架、平台操作组件、层组件抽象、 ACW模块"},"https://gitee.com/wujiawei1207537021/wu-framework-parent/tree/master/wu-smart-integration/wu-smart-agent-network",-1)})),C={class:"cell-item"},z=o((function(){return(0,a._)("br",null,null,-1)})),Z=o((function(){return(0,a._)("br",null,null,-1)})),P=o((function(){return(0,a._)("br",null,null,-1)})),S={class:"cell-item"};const I={__name:"Shortcuts",setup:function(e){var t=(0,s.iH)({menuNum:0,roleNum:0,userNum:0,instanceNum:0,schemaNum:0,tableNum:0,tableColumnNum:0,maxMemory:0,totalMemory:1,freeMemory:0,useMemory:0}),n=(0,s.iH)({cpuNum:"0",total:"0",sys:"0.00",used:"0.00",wait:"0.00",free:"0.00",name:"",arch:"",version:""}),o=[{color:"#f56c6c",percentage:100},{color:"#e6a23c",percentage:80},{color:"#5cb87a",percentage:60},{color:"#1989fa",percentage:40},{color:"#6f7ad3",percentage:20}],I=(0,s.iH)(),N=function(){var e=(0,u.Z)((0,r.Z)().mark((function e(){var n,u,a;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,VE_API.system.jvmRunTimeMemory();case 2:n=e.sent,u=n.code,a=n.data,0===u&&(console.log(a),t.value.maxMemory=a.maxMemory,t.value.totalMemory=a.totalMemory,t.value.freeMemory=a.freeMemory,t.value.useMemory=a.useMemory);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),E=function(){var e=(0,u.Z)((0,r.Z)().mark((function e(){var t,n,u;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,VE_API.system.jvmGC();case 2:if(t=e.sent,n=t.code,u=t.data,0!==n){e.next=9;break}return console.log(u),e.next=9,N();case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),A=function(){var e=(0,u.Z)((0,r.Z)().mark((function e(){var t,u,a;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,VE_API.system.jvmCPU();case 2:t=e.sent,u=t.code,a=t.data,0===u&&(n.value=a,console.log(a));case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();(0,a.bv)((0,u.Z)((0,r.Z)().mark((function e(){return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,N();case 2:return e.next=4,A();case 4:I.value=setTimeout((function(){N(),A()}),3e3);case 5:case"end":return e.stop()}}),e)})))),(0,a.Ah)((function(){clearTimeout(I.value),I.value=""}));var B=(0,s.iH)("default"),T=(0,a.Fl)((function(){var e={large:"8px",default:"6px",small:"4px"};return{marginRight:e[B.value]||e.default}}));return function(e,r){var u=(0,a.up)("el-button"),I=(0,a.up)("el-progress"),N=(0,a.up)("el-icon"),B=(0,a.up)("el-descriptions-item"),R=(0,a.up)("el-descriptions"),H=(0,a.up)("el-card"),J=(0,a.up)("el-col"),O=(0,a.up)("lock"),V=(0,a.up)("el-tag"),D=(0,a.up)("el-row");return(0,a.wg)(),(0,a.j4)(D,{gutter:20,style:{"padding-bottom":"10px"}},{default:(0,a.w5)((function(){return[(0,a.Wm)(J,{span:12,style:{padding:"20px"},title:"服务器信息",tag:"服务器信息"},{default:(0,a.w5)((function(){return[(0,a.Wm)(H,{shadow:"always",class:"box-card",style:{width:"100%"}},{default:(0,a.w5)((function(){return[(0,a.Wm)(I,{type:"circle","stroke-width":15,color:o,percentage:100*Number(t.value.useMemory/t.value.totalMemory)},{default:(0,a.w5)((function(){return[(0,a._)("span",i,(0,l.zw)(t.value.useMemory+"/"+t.value.totalMemory)+"MB",1),f,(0,a._)("span",m,[(0,a.Wm)(u,{onClick:r[0]||(r[0]=function(e){return E()})},{default:(0,a.w5)((function(){return[(0,a.Uk)("GC")]})),_:1})])]})),_:1},8,["percentage"]),(0,a.Wm)(I,{type:"circle","stroke-width":15,color:o,percentage:n.value.used},{default:(0,a.w5)((function(){return[(0,a._)("span",p,(0,l.zw)(n.value.used)+"%",1),w,(0,a._)("span",d,[(0,a.Wm)(u,{onClick:r[1]||(r[1]=function(e){return A()})},{default:(0,a.w5)((function(){return[(0,a.Uk)("cpu")]})),_:1})])]})),_:1},8,["percentage"]),(0,a.Wm)(I,{type:"circle","stroke-width":15,color:o,percentage:n.value.sys},{default:(0,a.w5)((function(){return[(0,a._)("span",v,(0,l.zw)(n.value.sys)+"%",1),_,(0,a._)("span",y,[(0,a.Wm)(u,{onClick:r[2]||(r[2]=function(e){return A()})},{default:(0,a.w5)((function(){return[(0,a.Uk)("cpu")]})),_:1})])]})),_:1},8,["percentage"]),(0,a.Wm)(R,{class:"margin-top",title:"项目简介",column:1,size:"small",border:""},{default:(0,a.w5)((function(){return[(0,a.Wm)(B,null,{label:(0,a.w5)((function(){return[(0,a._)("div",g,[(0,a.Wm)(N,{style:(0,l.j5)(T.value)},{default:(0,a.w5)((function(){return[(0,a.Wm)((0,s.SU)(c.User))]})),_:1},8,["style"]),(0,a.Uk)(" CUP名称 ")])]})),default:(0,a.w5)((function(){return[(0,a.Uk)(" "+(0,l.zw)(n.value.name),1)]})),_:1}),(0,a.Wm)(B,null,{label:(0,a.w5)((function(){return[(0,a._)("div",k,[(0,a.Wm)(N,{style:(0,l.j5)(T.value)},{default:(0,a.w5)((function(){return[(0,a.Wm)((0,s.SU)(c.User))]})),_:1},8,["style"]),(0,a.Uk)(" CUP架构 ")])]})),default:(0,a.w5)((function(){return[(0,a.Uk)(" "+(0,l.zw)(n.value.arch),1)]})),_:1}),(0,a.Wm)(B,null,{label:(0,a.w5)((function(){return[(0,a._)("div",b,[(0,a.Wm)(N,{style:(0,l.j5)(T.value)},{default:(0,a.w5)((function(){return[(0,a.Wm)((0,s.SU)(c.User))]})),_:1},8,["style"]),(0,a.Uk)(" CUP版本 ")])]})),default:(0,a.w5)((function(){return[(0,a.Uk)(" "+(0,l.zw)(n.value.version),1)]})),_:1}),(0,a.Wm)(B,null,{label:(0,a.w5)((function(){return[(0,a._)("div",U,[(0,a.Wm)(N,{style:(0,l.j5)(T.value)},{default:(0,a.w5)((function(){return[(0,a.Wm)((0,s.SU)(c.User))]})),_:1},8,["style"]),(0,a.Uk)(" CUP核心数 ")])]})),default:(0,a.w5)((function(){return[(0,a.Uk)(" "+(0,l.zw)(n.value.cpuNum)+"核 ",1)]})),_:1})]})),_:1})]})),_:1})]})),_:1}),(0,a.Wm)(J,{span:12,style:{padding:"20px"},title:"项目简介",tag:"项目简介"},{default:(0,a.w5)((function(){return[(0,a.Wm)(R,{class:"margin-top",title:"项目简介",column:1,size:"default",border:"",style:{"margin-left":"20px",width:"100px"}},{default:(0,a.w5)((function(){return[(0,a.Wm)(B,null,{label:(0,a.w5)((function(){return[(0,a._)("div",W,[(0,a.Wm)(N,{style:(0,l.j5)(T.value)},{default:(0,a.w5)((function(){return[(0,a.Wm)((0,s.SU)(c.User))]})),_:1},8,["style"]),(0,a.Uk)(" Username ")])]})),default:(0,a.w5)((function(){return[(0,a.Uk)(" wujiawei ")]})),_:1}),(0,a.Wm)(B,null,{label:(0,a.w5)((function(){return[(0,a._)("div",h,[(0,a.Wm)(N,{style:(0,l.j5)(T.value)},{default:(0,a.w5)((function(){return[(0,a.Wm)((0,s.SU)(c.Location))]})),_:1},8,["style"]),(0,a.Uk)(" 开源框架🌟 ")])]})),default:(0,a.w5)((function(){return[x]})),_:1}),(0,a.Wm)(B,null,{label:(0,a.w5)((function(){return[(0,a._)("div",M,[(0,a.Wm)(N,{style:(0,l.j5)(T.value)},{default:(0,a.w5)((function(){return[(0,a.Wm)(O)]})),_:1},8,["style"]),(0,a.Uk)(" 项目地址🌟 ")])]})),default:(0,a.w5)((function(){return[j]})),_:1}),(0,a.Wm)(B,null,{label:(0,a.w5)((function(){return[(0,a._)("div",C,[(0,a.Wm)(N,{style:(0,l.j5)(T.value)},{default:(0,a.w5)((function(){return[(0,a.Wm)((0,s.SU)(c.Tickets))]})),_:1},8,["style"]),(0,a.Uk)(" Remarks ")])]})),default:(0,a.w5)((function(){return[(0,a.Wm)(V,{size:"large",style:{height:"80px"}},{default:(0,a.w5)((function(){return[(0,a.Uk)("wu-smart-agent-network "),z,(0,a.Uk)(" 是一款基于(wu-framework-parent)孵化出的项目,内部使用Lazy ORM操作数据库, "),Z,(0,a.Uk)("主要功能是网络穿透,对于没有公网IP的服务进行公网IP映射 "),P,(0,a.Uk)(" 使用环境JDK17 Spring Boot 3.0.2")]})),_:1})]})),_:1}),(0,a.Wm)(B,null,{label:(0,a.w5)((function(){return[(0,a._)("div",S,[(0,a.Wm)(N,{style:(0,l.j5)(T.value)},{default:(0,a.w5)((function(){return[(0,a.Wm)((0,s.SU)(c.OfficeBuilding))]})),_:1},8,["style"]),(0,a.Uk)(" Address ")])]})),default:(0,a.w5)((function(){return[(0,a.Uk)(" 杭州·中国 ")]})),_:1})]})),_:1})]})),_:1})]})),_:1})}}};const N=(0,n(48118).Z)(I,[["__scopeId","data-v-68dc6ab4"]])},83127:e=>{e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},8552:(e,t,n)=>{var r,u=n(19037),a=n(61735),l=n(69985),s=n(83127),c=n(30071),o=n(96004),i=n(21500),f=u.Function,m=/MSIE .\./.test(c)||s&&((r=u.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,t){var n=t?2:1;return m?function(r,u){var s=i(arguments.length,1)>n,c=l(r)?r:f(r),m=s?o(arguments,n):[],p=s?function(){a(c,this,m)}:c;return t?e(p,u):e(p)}:e}},10209:(e,t,n)=>{var r=n(79989),u=n(19037),a=n(8552)(u.setInterval,!0);r({global:!0,bind:!0,forced:u.setInterval!==a},{setInterval:a})},83509:(e,t,n)=>{var r=n(79989),u=n(19037),a=n(8552)(u.setTimeout,!0);r({global:!0,bind:!0,forced:u.setTimeout!==a},{setTimeout:a})},96869:(e,t,n)=>{n(10209),n(83509)}}]);