import{c as s,g as e,q as a,v as t,N as o,B as l,e as r,y as n,Q as p,x as m,b0 as i,F as u,I as c,J as d,C as j,al as _,G as f,ab as y,z as x,A as b,K as C,ak as S}from"./base-lib.js?v=1761009159";import{K as k}from"./utils-lib.js?v=1761009159";import{aj as h,ak as v,al as V,am as g,an as D,ao as N}from"./useController13.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./site.js?v=1761009159";import"./index105.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";import"./useStore12.js?v=1761009159";import"./useStore4.js?v=1761009159";import"./useController6.js?v=1761009159";import"./validator.js?v=1761009159";import"./useController5.js?v=1761009159";import"./useMethod5.js?v=1761009159";import"./useController4.js?v=1761009159";import"./useStore10.js?v=1761009159";const w={class:"flex justify-between"},B=s({__name:"lets-encrypt-renew",setup(s){const{BtForm:B}=k({options:s=>e(()=>[{type:"slots",key:"dnsVerify"},{type:"help",options:[{content:"通配符证书不能使用【文件验证】，请选择DNS验证"},{content:"使用【文件验证】，请确保没有开[启强制HTTPS/301重定向/反向代理]等功能"},{content:"使用【阿里云DNS】【DnsPod】等验证方式需要设置正确的密钥"},{content:"续签成功后，证书将在下次到期前30天尝试自动续签"},{content:"使用【DNS验证 - 手动解析】续签的证书无法实现下次到期前30天自动续签"}]}])});return a(h),(s,e)=>{const a=S,k=_,h=f,F=y;return t(),o(n(B),{class:"p-2rem"},{dnsVerify:l(()=>[r(F,{label:"请选择验证方式"},{default:l(()=>[r(k,{class:"mr-[16px] !w-[16rem]",modelValue:n(v),"onUpdate:modelValue":e[0]||(e[0]=s=>p(v)?v.value=s:null),placeholder:"请选择",onChange:e[1]||(e[1]=s=>n(V)(!0))},{default:l(()=>[(t(!0),m(u,null,i(n(g),s=>(t(),o(a,{key:s.name,label:s.title,value:s.name},{default:l(()=>[x("span",w,[x("span",null,b(s.title),1),c(x("span",{class:C(s.data?"text-primary":"text-orange")},b(s.data?"[已配置]":"[未配置]"),3),[[d,s.config]])])]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"]),c(r(h,{class:"ml-[8px]",onClick:e[2]||(e[2]=s=>n(V)(!1))},{default:l(()=>e[4]||(e[4]=[j(" 配置 ",-1)])),_:1,__:[4]},512),[[d,"dns"!==n(v)&&"http"!==n(v)]]),r(h,{type:"primary",class:"ml-[8px]",onClick:e[3]||(e[3]=s=>n(D)(n(N)))},{default:l(()=>e[5]||(e[5]=[j(" 一键续签 ",-1)])),_:1,__:[5]})]),_:1})]),_:1})}}});export{B as default};
