System.register(["./index-legacy127.js?v=1753954525509","./page_layout-legacy.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./public-legacy.js?v=1753954525509","./soft-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509"],(function(e,t){"use strict";var a,i,o,n,l,s,d,c,u,r,m,p,v,g,f,x,y,_,b,h,j,w,$,D,H,k,q,C,K,P;return{setters:[e=>{a=e._},e=>{i=e.b1,o=e.o,n=e.s,l=e.j,s=e.i,d=e.a},e=>{c=e.k,u=e.$,r=e.U,m=e.a1,p=e.a2,v=e.W,g=e.a3,f=e.X,x=e.V,y=e.Q,_=e.j,b=e.F,h=e.al,j=e.q,w=e.ab,$=e.P,D=e.c,H=e.ac,k=e._},e=>{q=e.m,C=e.u},e=>{K=e.a},e=>{P=e.cG}],execute:function(){e({a:function(e){C({title:`${A("Database.tools.index_72")} [${e.name}]`,width:700,minHeight:196,data:{row:e},component:k((()=>d((()=>t.import("./index-legacy137.js?v=1753954525509")),void 0)))})},b:function(e,a){C({title:`${A("Database.tools.index_73")} [${e.name}]`,width:680,minHeight:234,data:{row:e,type:a},component:k((()=>d((()=>t.import("./index-legacy138.js?v=1753954525509")),void 0)))})},c:function(e){C({title:A("Database.index_30"),width:760,minHeight:226,footer:!0,confirmType:"error",data:{ids:e.map((e=>e.id))},component:k((()=>d((()=>t.import("./index-legacy140.js?v=1753954525509")),void 0)))})},d:function(){C({title:A("Database.tools.index_71"),width:460,minHeight:85,footer:!0,component:k((()=>d((()=>t.import("./index-legacy136.js?v=1753954525509")),void 0)))})},f:function(){C({title:A("Database.tools.index_70"),width:480,minHeight:84,footer:!0,component:k((()=>d((()=>t.import("./index-legacy135.js?v=1753954525509")),void 0)))})},g:function(){C({title:A("Database.tools.index_69"),width:860,minHeight:264,component:k((()=>d((()=>t.import("./index-legacy134.js?v=1753954525509")),void 0)))})},u:function(e){C({title:`${A("Database.tools.index_74")} [${e.name}]`,width:480,minHeight:140,footer:!0,data:{row:e},component:k((()=>d((()=>t.import("./index-legacy139.js?v=1753954525509")),void 0)))})}});const S={class:"mr-4px"},U=(e("e",c({__name:"index",setup(e){const t=i(),{type:n,install:l}=u(t),s=()=>{"pgsql"===n.value?K():q(n.value)};return(e,t)=>{const i=o,d=a;return r(),m(d,{install:f(l)},{desc:p((()=>[v("span",S,g(e.$t("Database.tools.index_39"))+", ",1),"sqlserver"!==f(n)?(r(),x(b,{key:0},[y(i,{onClick:s},{default:p((()=>[_(g(e.$t("Database.tools.index_40")),1)])),_:1}),t[0]||(t[0]=v("span",{class:"mx-4px"},"|",-1))],64)):h("",!0),y(i,{onClick:f(B)},{default:p((()=>[_(g(e.$t("Database.tools.index_41")),1)])),_:1},8,["onClick"])])),default:p((()=>[j(e.$slots,"default")])),_:3},8,["install"])}}})),{class:"w-120px"}),{t:A}=(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}=$(),o=e,s=t,d=D((()=>{const{storeKey:e}=o;return e?`${e}-select`:""})),c=H(e,"value"),m=i(),{remoteList:p}=u(m),v=D((()=>{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=P;return r(),x("div",U,[y(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 B(){C({title:A("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=1753954525509")),void 0)))})}}}}));
