System.register(["./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1763625242172","./page_layout-legacy.js?v=1763625242172","./public-legacy.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./common-legacy.js?v=1763625242172","./__commonjsHelpers__-legacy.js?v=1763625242172"],(function(e,a){"use strict";var t,n,s,l,d,r,i,u,o,c,_,p,v,f,m,g,x,y,b;return{setters:[e=>{t=e._},e=>{n=e.bn,s=e.m,l=e.fZ,d=e.f_,r=e.p},e=>{i=e.a},e=>{u=e.k,o=e.P,c=e.r,_=e.c,p=e.R,v=e.S,f=e.X,m=e.a3,g=e.U,x=e.V,y=e.aj},e=>{b=e.dP},null,null],execute:function(){var a=document.createElement("style");a.textContent=".n-transfer[data-v-52f8a71d]{height:200px}.n-transfer[data-v-52f8a71d] .n-transfer-list--target{display:none}\n",document.head.appendChild(a);const h={class:"p-20px"},j={class:"w-220px"};e("default",r(u({__name:"index",props:{data:{}},setup(e,{expose:a}){const{t:r}=o(),u=e,{sid:D,databaseList:C}=u.data,w=n(),k=c([]),P=_((()=>C.map((e=>({label:e.name,value:e.id})))));return a({onConfirm:({hide:e})=>{null!==D?0!==k.value.length?i({title:r("Database.redis.index_18"),content:r("Database.redis.index_19"),onConfirm:async({hide:a})=>{await l({sid:D,ids:k.value}),w.setRefresh(!0),a(),e()}}):s.error(r("Database.redis.index_17")):s.error(r("Database.redis.index_8"))}}),(e,a)=>{const n=d,s=b,l=t;return p(),v("div",h,[f(l,null,{default:m((()=>[f(s,{label:e.$t("Database.redis.index_16"),"show-feedback":!1},{default:m((()=>[g("div",j,[f(n,{value:x(k),"onUpdate:value":a[0]||(a[0]=e=>y(k)?k.value=e:null),options:x(P)},null,8,["value","options"])])])),_:1},8,["label"])])),_:1})])}}}),[["__scopeId","data-v-52f8a71d"]]))}}}));
