WokerTask/public/admin/assets/index.cd264e26.js

2 lines
5.9 KiB
JavaScript
Raw Normal View History

2024-01-12 13:48:06 +08:00
import{F as w,_ as y}from"./index.000b0758.js";import{w as B,J as b}from"./element-plus.ff90c99c.js";import{C as E}from"./vue-echarts.d679fb6c.js";import{d as f,$ as C,i as A,ag as k,o as l,c as u,a as t,W as a,Q as i,V as o,u as e,U as h,F as v,a9 as x,K as D}from"./@vue.f8dfc830.js";import"./@vueuse.a2e59ee9.js";import"./lodash.3e731b89.js";import"./@amap.8a62addd.js";import"./axios.c2babb35.js";import"./vue-router.6d4cf914.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.3a7f085f.js";import"./color.5ae3e2dd.js";import"./clone.7bcb5228.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.37836f15.js";import"./ms.a9ae1d6d.js";import"./@element-plus.0374639c.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.79024f1a.js";import"./lodash-es.a73406b7.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.7f1be2bc.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.34a21088.js";import"./resize-detector.4e96b72b.js";const O={class:"workbench"},z={class:"lg:flex"},V=t("span",{class:"card-title"},"\u7248\u672C\u4FE1\u606F",-1),N={class:"flex leading-9"},S=t("div",{class:"w-20"},"\u5F53\u524D\u7248\u672C",-1),W={class:"flex leading-9"},G=t("div",{class:"w-20"},"\u57FA\u4E8E\u6846\u67B6",-1),J={class:"flex leading-9"},K=t("div",{class:"w-20"},"\u83B7\u53D6\u6E20\u9053",-1),L=["href"],M=["href"],Q=t("span",{class:"card-title"},"\u4ECA\u65E5\u6570\u636E",-1),T={class:"text-tx-secondary text-xs ml-4"},U={class:"flex flex-wrap"},$={class:"w-1/2 md:w-1/4"},j=t("div",{class:"leading-10"},"\u8BBF\u95EE\u91CF(\u4EBA)",-1),q={class:"text-6xl"},H={class:"text-tx-secondary text-xs"},I={class:"w-1/2 md:w-1/4"},P=t("div",{class:"leading-10"},"\u9500\u552E\u989D(\u5143)",-1),R={class:"text-6xl"},X={class:"text-tx-secondary text-xs"},Y={class:"w-1/2 md:w-1/4"},Z=t("div",{class:"leading-10"},"\u8BA2\u5355\u91CF(\u7B14)",-1),tt={class:"text-6xl"},st={class:"text-tx-secondary text-xs"},et={class:"w-1/2 md:w-1/4"},ot=t("div",{class:"leading-10"},"\u65B0\u589E\u7528\u6237",-1),it={class:"text-6xl"},at={class:"text-tx-secondary text-xs"},nt={class:"function mb-4"},rt=t("span",null,"\u5E38\u7528\u529F\u80FD",-1),dt={class:"flex flex-wrap"},lt={class:"mt-2"},ut={class:"md:flex"},ct=t("span",null,"\u8BBF\u95EE\u91CF\u8D8B\u52BF\u56FE",-1),_t=t("span",null,"\u670D\u52A1\u652F\u6301",-1),pt={class:"ml-2"},mt={class:"text-tx-regular text-xs mt-4"},ht=f({name:"workbench"}),es=f({...ht,setup(vt){const s=C({version:{version:"",website:"",based:"",channel:{gitee:"",website:""}},support:[],today:{},menu:[],visitor:[],article:[],visitorOption:{xAxis:{type:"category",data:[0]},yAxis:{type:"value"},legend:{data:["\u8BBF\u95EE\u91CF"]},itemStyle:{color:"red"},tooltip:{trigger:"axis"},series:[{name:"\u8BBF\u95EE\u91CF",data:[0],type:"line",smooth:!0}]}}),F=()=>{w().then(n=>{s.version=n.version,s.today=n.today,s.menu=n.menu,s.visitor=n.visitor,s.support=n.support,s.visitorOption.xAxis.data=[],s.visitorOption.series[0].data=[],n.visitor.date.reverse().forEach(c=>{s.visitorOption.xAxis.data.push(c)}),n.visitor.list[0].data.forEach(c=>{s.visitorOption.series[0].data.push(c)})}).catch(n=>{console.log("err",n)})};return A(()=>{F()}),(n,c)=>{const _=B,d=b,p=y,g=k("router-link");return l(),u("div",O,[t("div",z,[a(d,{class:"!border-none mb-4 lg:mr-4 lg:w-[350px]",shadow:"never"},{header:i(()=>[V]),default:i(()=>[t("div",null,[t("div",N,[S,t("span",null,o(e(s).version.version),1)]),t("div",W,[G,t("span",null,o(e(s).version.based),1)]),t("div",J,[K,t("div",null,[t("a",{href:e(s).version.channel.website,target:"_blank"},[a(_,{type:"success",size:"small"},{default:i(()=>[h("\u5B98\u7F51")]),_: