System.register(["./index-legacy132.js?v=1763625242172","./page_layout-legacy.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./public-legacy.js?v=1763625242172","./soft-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172"],(function(e,t){"use strict";var a,i,o,n,l,s,d,c,u,r,m,p,v,g,f,x,h,y,_,b,j,w,D,$,H,k,q,C,S,A;return{setters:[e=>{a=e._},e=>{i=e.bn,o=e.o,n=e.s,l=e.k,s=e.i,d=e.a},e=>{c=e.k,u=e.a0,r=e.R,m=e.a2,p=e.a3,v=e.U,g=e.a4,f=e.V,x=e.S,h=e.X,y=e.j,_=e.F,b=e.an,j=e.q,w=e.ad,D=e.P,$=e.c,H=e.ae,k=e._},e=>{q=e.m,C=e.u},e=>{S=e.b},e=>{A=e.dV}],execute:function(){e({a:function(e){C({title:`${U("Database.tools.index_72")} [${e.name}]`,width:800,minHeight:196,data:{row:e},component:k((()=>d((()=>t.import("./index-legacy151.js?v=1763625242172")),void 0)))})},b:function(e,a){C({title:`${U("Database.tools.index_73")} [${e.name}]`,width:840,minHeight:234,data:{row:e,type:a},component:k((()=>d((()=>t.import("./index-legacy152.js?v=1763625242172")),void 0)))})},c:function(e){C({title:U("Database.index_30"),width:760,minHeight:226,footer:!0,confirmType:"error",data:{ids:e.map((e=>e.id))},component:k((()=>d((()=>t.import("./index-legacy154.js?v=1763625242172")),void 0)))})},d:function(){C({title:U("Database.tools.index_71"),width:460,minHeight:85,footer:!0,component:k((()=>d((()=>t.import("./index-legacy150.js?v=1763625242172")),void 0)))})},f:function(){C({title:U("Database.tools.index_70"),width:480,minHeight:84,footer:!0,component:k((()=>d((()=>t.import("./index-legacy149.js?v=1763625242172")),void 0)))})},g:function(){C({title:U("Database.tools.index_69"),width:860,minHeight:264,component:k((()=>d((()=>t.import("./index-legacy148.js?v=1763625242172")),void 0)))})},h:function(e){C({width:740,height:580,title:"Adminer",data:e,component:k((()=>d((()=>t.import("./index-legacy155.js?v=1763625242172")),void 0)))})},u:function(e){C({title:`${U("Database.tools.index_74")} [${e.name}]`,width:480,minHeight:140,footer:!0,data:{row:e},component:k((()=>d((()=>t.import("./index-legacy153.js?v=1763625242172")),void 0)))})}});const K={class:"mr-4px"},P=(e("e",c({__name:"index",setup(e){const t=i(),{type:n,install:l}=u(t),s=()=>{"pgsql"===n.value?S():q(n.value)};return(e,t)=>{const i=o,d=a;return r(),m(d,{install:f(l)},{desc:p((()=>[v("span",K,g(e.$t("Database.tools.index_39"))+", ",1),"sqlserver"!==f(n)?(r(),x(_,{key:0},[h(i,{onClick:s},{default:p((()=>[y(g(e.$t("Database.tools.index_40")),1)])),_:1}),t[0]||(t[0]=v("span",{class:"mx-4px"},"|",-1))],64)):b("",!0),h(i,{onClick:f(V)},{default:p((()=>[y(g(e.$t("Database.tools.index_41")),1)])),_:1},8,["onClick"])])),default:p((()=>[j(e.$slots,"default")])),_:3},8,["install"])}}})),{class:"w-120px"}),{t:U}=(e("_",c({__name:"index",props:w({storeKey:{default:""},value:{},all:{type:Boolean,default:!0}},{value:{},valueModifiers:{}}),emits:w(["change"],["update:value"]),setup(e,{emit:t}){const{t:a}=D(),o=e,s=t,d=$((()=>{const{storeKey:e}=o;return e?`${e}-select`:""})),c=H(e,"value"),m=i(),{remoteList:p}=u(m),v=$((()=>{const e=p.value.map((e=>({label:e.ps||e.db_host,value:e.id})));return o.all&&e.unshift({label:a("Public.All"),value:-1}),e})),g=e=>{d.value&&n(d.value,String(e)),s("change",e)};return(()=>{if(d.value){const e=l(d.value);e&&(c.value=Number(e))}})(),(e,t)=>{const a=A;return r(),x("div",P,[h(a,{value:c.value,"onUpdate:value":[t[0]||(t[0]=e=>c.value=e),g],options:f(v)},null,8,["value","options"])])}}})),s.global);function V(){C({title:U("Database.tools.index_41"),width:460,minHeight:388,footer:!0,data:{row:void 0,isEdit:!1},component:k((()=>d((()=>t.import("./form-legacy3.js?v=1763625242172")),void 0)))})}}}}));
