import{q as f,b}from"./index-DXEGVToZ.js";import{K as k,L as h,H as x}from"./element-plus-z3MwpXC9.js";import{d as u,Z as y,f as w,o as l,c as B,V as e,M as o,a as s,u as _,L as i}from"./@vue-TMcuEboY.js";import"./nprogress-Cgf5DU8x.js";import"./balanced-match-mNcR6oh4.js";import"./vue-router-D4MxfuQi.js";import"./pinia-ebUeA1L2.js";import"./axios-C-n2IhIP.js";import"./lodash-BtPWuHkK.js";import"./@vueuse-BQYVjZ5N.js";import"./css-color-function-rJvg8h-6.js";import"./color-B0v57BL7.js";import"./clone-CuIhj1wH.js";import"./color-convert-BGgJB5UM.js";import"./color-name-BQ5IbGbl.js";import"./color-string-BhgG7-8u.js";import"./ms-CzQ2E3wO.js";import"./@element-plus-DRBc1Xzw.js";import"./vue-clipboard3-8CNoFg4V.js";import"./clipboard-Dch_ozqB.js";import"./echarts-BR_QmBtV.js";import"./tslib-BDyQ-Jie.js";import"./zrender-B-CeXLwU.js";import"./highlight.js-D5uP1KGk.js";import"./@highlightjs-KJi31KWJ.js";import"./lodash-es-R-kYiKr_.js";import"./async-validator-DKvM95Vc.js";import"./dayjs-CMfar2R3.js";import"./@ctrl-r5W6hzzQ.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@popperjs-D9SI2xQl.js";const C={class:"system-environment"},E={class:"mt-4"},g={class:"mt-4"},q={class:"mt-4"},S=u({name:"environment"}),ne=u({...S,setup(V){const a=y({server:[],env:[],auth:[]}),v=()=>{f().then(n=>{a.server=n.server,a.env=n.env,a.auth=n.auth})};return w(()=>{v()}),(n,r)=>{const t=k,p=h,d=x,m=b;return l(),B("div",C,[e(d,{class:"!border-none",shadow:"never"},{default:o(()=>[r[0]||(r[0]=s("div",null,"服务器信息",-1)),s("div",E,[e(p,{data:_(a).server},{default:o(()=>[e(t,{prop:"param",label:"参数"}),e(t,{prop:"value",label:"值"})]),_:1},8,["data"])])]),_:1}),e(d,{shadow:"never",class:"!border-none mt-4"},{default:o(()=>[r[1]||(r[1]=s("div",null,"PHP环境要求",-1)),s("div",g,[e(p,{data:_(a).env},{default:o(()=>[e(t,{prop:"option",label:"选项"}),e(t,{prop:"require",label:"要求"}),e(t,{label:"状态"},{default:o(c=>[c.row.status?(l(),i(m,{key:0,name:"el-icon-Select",class:"text-success"})):(l(),i(m,{key:1,name:"el-icon-CloseBold",class:"text-danger"}))]),_:1}),e(t,{prop:"remark",label:"说明及帮助"})]),_:1},8,["data"])])]),_:1}),e(d,{shadow:"never",class:"!border-none mt-4"},{default:o(()=>[r[2]||(r[2]=s("div",null,"目录权限",-1)),s("div",q,[e(p,{data:_(a).auth},{default:o(()=>[e(t,{prop:"dir",label:"选项"}),e(t,{prop:"require",label:"要求"}),e(t,{label:"状态"},{default:o(c=>[c.row.status?(l(),i(m,{key:0,name:"el-icon-Select",class:"text-success"})):(l(),i(m,{key:1,name:"el-icon-CloseBold",class:"text-danger"}))]),_:1}),e(t,{prop:"remark",label:"说明及帮助"})]),_:1},8,["data"])])]),_:1})])}}});export{ne as default};
