import{u as a,l as s,t as e,v as t}from"./utils-lib.js?v=20260328163632";import{k as r,r as o,V as l,W as n,O as i,Y as p}from"./base-lib.js?v=20260328163632";import"./naive-ui.js?v=20260328163632";import"./__commonjsHelpers__.js?v=20260328163632";import"./env-lib.js?v=20260328163632";const m={class:"p-20px"},u=r({__name:"index",props:{compData:{default:()=>{}}},setup(r,{expose:u}){const c=r,{isAaPanel:d}=a(),v=[{content:s("在此处填写pfx证书密码！")},...d.value?[{content:s("aaPanel证书默认密码aapanel.com，其他证书咨询证书提供商！")}]:[{content:s("宝塔证书默认密码bt.cn，其他证书咨询证书提供商！")}]],b=o({formAttrs:{labelWidth:"100px"},formItems:[{label:s("证书密码"),ruleKey:"password",rules:[{required:!0,message:s("请输入证书密码"),trigger:"blur"}],children:[{type:"input",key:"password",attrs:{placeholder:s("请输入证书密码")}}]}]}),[f,j,w]=e(b);j.value.password="bt.cn";return u({onConfirm:async()=>{var a;return await(null==(a=w.value)?void 0:a.validate()),await c.compData.onConfirm(j.value.password)}}),(a,s)=>(l(),n("div",m,[i(p(f)),i(p(t),{list:v})]))}});export{u as default};
