import{c as s,g as a,v as e,x as t,z as n,A as r,y as l,e as o,D as p,b1 as c}from"./base-lib.js?v=1761009159";import{a as i,p as m}from"./useMethod4.js?v=1761009159";const v={class:"content-mask"},y={class:"mr-8px"},u={key:0},x=s({__name:"index",props:{type:{default:""}},setup(s){const x=s,d=a(()=>{var s;return"PgSql"===x.type?"pgsql_manager":null==(s=x.type)?void 0:s.toLowerCase()}),g=a(()=>"".concat("SqlServer"!==x.type?"当前未安装".concat(x.type,"环境/远程数据库"):"当前未添加远程数据库"));return(s,a)=>{const x=c;return e(),t("div",v,[a[2]||(a[2]=n("i",{class:"text-orange !text-[2.2rem] svgtofont-el-warning mr-4px"},null,-1)),n("span",y,r(l(g)),1),n("span",{class:"bt-link",onClick:a[0]||(a[0]=(...s)=>l(i)&&l(i)(...s))}," 添加远程数据库 "),"SqlServer"!==s.type?(e(),t("div",u,[o(x,{direction:"vertical",class:"!mr-2px"}),n("span",{class:"bt-link",onClick:a[1]||(a[1]=s=>l(m)(l(d)||""))}," 安装"+r(s.type)+"环境 ",1)])):p("",!0)])}}});export{x as _};
