import{i as c,c as _}from"./app-DckefXYL.js";import{_ as p}from"./app-Cx6egK0r.js";import{T as f}from"./app-B8VsrFxM.js";import{D as h}from"./app-Cx7ENVlu.js";import{o as a,g as n,b as i,u as e,w as l,F as d,a as s,t as r,h as m,n as x,f as u,D as b}from"./app-DnroACXc.js";import"./app-C9iVkiu5.js";import"./app-DrIi-dNq.js";import"./app-zueB50zj.js";import"./app-B0NrURRk.js";import"./app-Co2SIBzr.js";import"./app-CUPmXIij.js";import"./app-Cu6FD8m8.js";import"./app-B09rlSqG.js";function g(){c(this)}const k=s("td",{class:"title"},"域名",-1),y=s("td",null,"状态",-1),C={key:0,class:"red"},N=s("td",null,"所属分组",-1),T={key:0,class:"label-group"},D=["href"],V={key:1,class:"disabled"},H={__name:"index",setup(v){const t=_(new g);return(w,B)=>(a(),n(d,null,[i(p,{ctx:e(t),activeTab:"index"},null,8,["ctx"]),i(h,null,{default:l(()=>[s("tbody",null,[s("tr",null,[k,s("td",null,r(e(t).domain.name),1)]),s("tr",null,[y,s("td",null,[e(t).domain.isOn?m("",!0):(a(),n("span",C,"已停用")),e(t).domain.isOn?(a(),n("span",{key:1,class:x({green:e(t).domain.status=="verified",red:e(t).domain.status=="rejected"||e(t).domain.status=="forbidden"})},r(e(t).domain.statusName),3)):m("",!0),u("     ")])]),s("tr",null,[N,s("td",null,[e(t).domain.groups.length>0?(a(),n("div",T,[(a(!0),n(d,null,b(e(t).domain.groups,o=>(a(),n("a",{href:"/ns/domains?userId="+o.userId+"&groupId="+o.id},[i(f,{outlined:"",class:"blue"},{default:l(()=>[u(r(o.name),1)]),_:2},1024)],8,D))),256))])):(a(),n("span",V,"暂时没有分组"))])])])]),_:1})],64))}};export{H as default};
