Files
yakpanel-core/YakPanel/static/vite/js/index-legacy-CDUlQ1jh.js

2 lines
3.8 KiB
JavaScript
Raw Normal View History

2026-04-07 02:04:22 +05:30
System.register(["./index-legacy-DWPn48Vb.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-y1mYB81o.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,t){"use strict";var a,i,n,o,l,s,d,u,c,r,m,p,g,v,f,x,_,h,y,b,j,w,$,D,q,H,k,P,C,I;return{setters:[e=>{a=e._},e=>{i=e._,n=e.af,o=e.au,l=e.aH,s=e.aI,d=e.p,u=e.P,c=e.a3},e=>{r=e.k,m=e.a6,p=e.c,g=e.$,v=e.a8,f=e.S,x=e.a9,_=e.q,h=e._,y=e.aa,b=e.Z,j=e.F,w=e.a0,$=e.j,D=e.ak,q=e.R,H=e.an,k=e.ao,P=e.a3},e=>{C=e.u},e=>{I=e.a6}],execute:function(){e({a:function(e){d({title:`${R("Database.tools.index_72")} [${e.name}]`,width:800,minHeight:196,data:{row:e},component:P((()=>u((()=>t.import("./index-legacy-BqBS3z97.js?v=1773287522785")),void 0)))})},b:function(e,a){d({title:`${R("Database.tools.index_73")} [${e.name}]`,width:840,minHeight:234,data:{row:e,type:a},component:P((()=>u((()=>t.import("./index-legacy-Cw30wWwo.js?v=1773287522785")),void 0)))})},c:function(e){d({title:R("Database.index_30"),width:760,minHeight:226,footer:!0,confirmType:"error",data:{ids:e.map((e=>e.id))},component:P((()=>u((()=>t.import("./index-legacy-Cp6PScO9.js?v=1773287522785")),void 0)))})},d:function(){d({title:R("Database.tools.index_71"),width:460,minHeight:85,footer:!0,component:P((()=>u((()=>t.import("./index-legacy-BwHJqDYh.js?v=1773287522785")),void 0)))})},f:function(){d({title:R("Database.tools.index_70"),width:480,minHeight:84,footer:!0,component:P((()=>u((()=>t.import("./index-legacy-Bqekc5y0.js?v=1773287522785")),void 0)))})},g:function(){d({title:R("Database.tools.index_69"),width:860,minHeight:264,component:P((()=>u((()=>t.import("./index-legacy-B0z_nT7C.js?v=1773287522785")),void 0)))})},h:function(e){d({width:740,height:580,title:"Adminer",data:e,component:P((()=>u((()=>t.import("./index-legacy-D-kLPFq7.js?v=1773287522785")),void 0)))})},u:function(e){d({title:`${R("Database.tools.index_74")} [${e.name}]`,width:480,minHeight:140,footer:!0,data:{row:e},component:P((()=>u((()=>t.import("./index-legacy-DyjHu9VD.js?v=1773287522785")),void 0)))})}});const K={class:"mr-4px"},M=(e("e",r({__name:"index",setup(e){const t=C(),{type:l,install:s,isInstallPgsql:d,isInstallPgsqlManager:u}=m(t),c=p((()=>"pgsql"===l.value?d.value:s.value)),r=()=>{"pgsql"===l.value?u.value?o({name:"pgsql_manager",title:"pgsql_manager",admin:!0}):n("pgsql_manager",(()=>{t.getConfig()})):n(l.value,(()=>{t.getRemote()}))};return(e,t)=>{const n=i,o=a;return g(),v(o,{install:f(c)},{desc:x((()=>[h("span",K,y(e.$t("Database.tools.index_39"))+", ",1),"sqlserver"!==f(l)?(g(),b(j,{key:0},[w(n,{onClick:r},{default:x((()=>[$(y(e.$t("Database.tools.index_40")),1)])),_:1}),t[0]||(t[0]=h("span",{class:"mx-4px"},"|",-1))],64)):D("",!0),w(n,{onClick:f(S)},{default:x((()=>[$(y(e.$t("Database.tools.index_41")),1)])),_:1},8,["onClick"])])),default:x((()=>[_(e.$slots,"default")])),_:3},8,["install"])}}})),{class:"w-120px"}),{t:R}=(e("_",r({__name:"index",props:k({storeKey:{default:""},value:{},all:{type:Boolean,default:!0}},{value:{},valueModifiers:{}}),emits:k(["change"],["update:value"]),setup(e,{emit:t}){const{t:a}=q(),i=e,n=t,o=p((()=>{const{storeKey:e}=i;return e?`${e}-select`:""})),d=H(e,"value"),u=C(),{remoteList:c}=m(u),r=p((()=>{const e=c.value.map((e=>({label:e.ps||e.db_host,value:e.id})));return i.all&&e.unshift({label:a("Public.All"),value:-1}),e})),v=e=>{o.value&&l(o.value,String(e)),n("change",e)};return(()=>{if(o.value){const e=s(o.value);e&&(d.value=Number(e))}})(),(e,t)=>{const a=I;return g(),b("div",M,[w(a,{value:d.value,"onUpdate:value":[t[0]||(t[0]=e=>d.value=e),v],options:f(r)},null,8,["value","options"])])}}})),c.global);function S(){d({title:R("Database.tools.index_41"),width:460,minHeight:388,footer:!0,data:{row:void 0,isEdit:!1},component:P((()=>u((()=>t.import("./form-legacy-CUji3Zpa.js?v=1773287522785")),void 0)))})}}}}));