System.register(["./index-legacy133.js?v=1764830988434","./page_layout-legacy.js?v=1764830988434","./vue-legacy.js?v=1764830988434","./public-legacy.js?v=1764830988434","./soft-legacy.js?v=1764830988434","./naive-legacy.js?v=1764830988434"],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.aL,o=e.o,n=e.s,l=e.j,s=e.i,d=e.a},e=>{c=e.k,u=e.a0,r=e.a2,m=e.V,p=e.U,v=e.a3,g=e.q,f=e.S,x=e.R,h=e.an,y=e.W,_=e.a4,b=e.F,j=e.j,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,a){C({title:`${P("Database.tools.index_73")} [${e.name}]`,width:840,minHeight:234,data:{row:e,type:a},component:k(()=>d(()=>t.import("./index-legacy144.js?v=1764830988434"),void 0))})},b:function(e){C({title:`${P("Database.tools.index_74")} [${e.name}]`,width:480,minHeight:140,footer:!0,data:{row:e},component:k(()=>d(()=>t.import("./index-legacy145.js?v=1764830988434"),void 0))})},c:function(e){C({title:P("Database.index_30"),width:760,minHeight:226,footer:!0,confirmType:"error",data:{ids:e.map(e=>e.id)},component:k(()=>d(()=>t.import("./index-legacy146.js?v=1764830988434"),void 0))})},d:function(){C({title:P("Database.tools.index_71"),width:460,minHeight:85,footer:!0,component:k(()=>d(()=>t.import("./index-legacy142.js?v=1764830988434"),void 0))})},f:function(){C({title:P("Database.tools.index_70"),width:480,minHeight:84,footer:!0,component:k(()=>d(()=>t.import("./index-legacy141.js?v=1764830988434"),void 0))})},g:function(){C({title:P("Database.tools.index_69"),width:860,minHeight:264,component:k(()=>d(()=>t.import("./index-legacy140.js?v=1764830988434"),void 0))})},h:function(e){C({width:740,height:580,title:"Adminer",data:e,component:k(()=>d(()=>t.import("./index-legacy147.js?v=1764830988434"),void 0))})},u:function(e){C({title:`${P("Database.tools.index_72")} [${e.name}]`,width:800,minHeight:196,data:{row:e},component:k(()=>d(()=>t.import("./index-legacy143.js?v=1764830988434"),void 0))})}});const K={class:"mr-4px"},L=(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 m(),r(d,{install:p(l)},{desc:v(()=>[f("span",K,_(e.$t("Database.tools.index_39"))+", ",1),"sqlserver"!==p(n)?(m(),x(b,{key:0},[y(i,{onClick:s},{default:v(()=>[j(_(e.$t("Database.tools.index_40")),1)]),_:1}),t[0]||(t[0]=f("span",{class:"mx-4px"},"|",-1))],64)):h("",!0),y(i,{onClick:p(U)},{default:v(()=>[j(_(e.$t("Database.tools.index_41")),1)]),_:1},8,["onClick"])]),default:v(()=>[g(e.$slots,"default")]),_:3},8,["install"])}}})),{class:"w-120px"}),{t:P}=(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"),r=i(),{remoteList:v}=u(r),g=$(()=>{const e=v.value.map(e=>({label:e.ps||e.db_host,value:e.id}));return o.all&&e.unshift({label:a("Public.All"),value:-1}),e}),f=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 m(),x("div",L,[y(a,{value:c.value,"onUpdate:value":[t[0]||(t[0]=e=>c.value=e),f],options:p(g)},null,8,["value","options"])])}}})),s.global);function U(){C({title:P("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=1764830988434"),void 0))})}}}});
