System.register(["./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1753954525509","./page_layout-legacy.js?v=1753954525509","./public-legacy.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509","./common-legacy.js?v=1753954525509","./__commonjsHelpers__-legacy.js?v=1753954525509"],(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.b1,s=e.m,l=e.f2,d=e.f3,r=e.e},e=>{i=e.d},e=>{u=e.k,o=e.P,c=e.r,_=e.c,p=e.U,v=e.V,f=e.Q,m=e.a2,g=e.W,x=e.X,y=e.ah},e=>{b=e.cA},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([]),U=_((()=>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(U)},null,8,["value","options"])])])),_:1},8,["label"])])),_:1})])}}}),[["__scopeId","data-v-52f8a71d"]]))}}}));
