import{u as T,a as g,r as d,$ as C,o as c,c as N,v as p,p as e,q as a,x as $,n as o,s as u,P as _,y as f,t as b,ak as h,c5 as A,c0 as I,k as L}from"./index.8d733f79.js";import{E as q,a as w}from"./el-tab-pane.27bff4fc.js";import x from"./apiParams.c8c2abbd.js";import D from"./mapRelations.c600c272.js";import U from"./opcAddressList.dbf3b30c.js";import"./dialogContent.8cf6deaf.js";import"./el-progress.ee3fa77d.js";import"./systemLink.0379a9eb.js";import"./addParams.f8effa23.js";import"./addCode.65702494.js";import"./addAddress.d96cdcd4.js";const z={class:"subPage-content"},F={class:"nav"},G={class:"details-wrap df-c"},ee={__name:"systemLink",setup(O){const k=T(),y=g(),t=d(y.query.dockType||"api"),n=d("tab1"),v=()=>{k.push("/system/factory")};return(s,l)=>{const V=C("Back"),E=h,m=A,R=I,B=L,i=q,P=w;return c(),N("div",z,[p("div",F,[e(E,{color:"#0052D9",size:"24",onClick:v,style:{cursor:"pointer"}},{default:a(()=>[e(V)]),_:1}),p("span",null,$(s.$t("dataAccess")),1)]),p("div",G,[e(B,{label:s.$t("dockType")},{default:a(()=>[e(R,{modelValue:o(t),"onUpdate:modelValue":l[0]||(l[0]=r=>u(t)?t.value=r:null)},{default:a(()=>[e(m,{value:"api"},{default:a(()=>[_("API")]),_:1}),e(m,{value:"opc"},{default:a(()=>[_("OPC")]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["label"]),o(t)==="api"?(c(),f(P,{key:0,modelValue:o(n),"onUpdate:modelValue":l[1]||(l[1]=r=>u(n)?n.value=r:null),type:"card",class:"noBorderTabs",style:{height:"calc(100% - 50px)"}},{default:a(()=>[e(i,{label:s.$t("apiParams"),name:"tab1"},{default:a(()=>[e(o(x))]),_:1},8,["label"]),e(i,{label:s.$t("mapRelations"),name:"tab2"},{default:a(()=>[e(o(D))]),_:1},8,["label"])]),_:1},8,["modelValue"])):b("",!0),o(t)==="opc"?(c(),f(o(U),{key:1,ref:"opcAddressListRef"},null,512)):b("",!0)])])}}};export{ee as default};
