System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./index-legacy-y1mYB81o.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,a){"use strict";var t,n,s,d,i,l,r,u,c,o,p,v,_,f,x,g,b,m,y;return{setters:[e=>{t=e._},e=>{n=e.m,s=e.h,d=e.gE,i=e.c},e=>{l=e.u},e=>{r=e.a1,u=e.b1},e=>{c=e.k,o=e.R,p=e.r,v=e.c,_=e.$,f=e.Z,x=e.a0,g=e.a9,b=e._,m=e.S,y=e.X},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/*$vite$:1*/",document.head.appendChild(a);const h={class:"p-20px"},j={class:"w-220px"};e("default",i(c({__name:"index",props:{data:{}},setup(e,{expose:a}){const{t:i}=o(),c=e,{sid:D,databaseList:C}=c.data,$=l(),w=p([]),k=v((()=>C.map((e=>({label:e.name,value:e.id})))));return a({onConfirm:({hide:e})=>{null!==D?0!==w.value.length?s({title:i("Database.redis.index_18"),content:i("Database.redis.index_19"),onConfirm:async({hide:a})=>{await d({sid:D,ids:w.value}),$.setRefresh(!0),a(),e()}}):n.error(i("Database.redis.index_17")):n.error(i("Database.redis.index_8"))}}),(e,a)=>{const n=u,s=r,d=t;return _(),f("div",h,[x(d,null,{default:g((()=>[x(s,{label:e.$t("Database.redis.index_16"),"show-feedback":!1},{default:g((()=>[b("div",j,[x(n,{value:m(w),"onUpdate:value":a[0]||(a[0]=e=>y(w)?w.value=e:null),options:m(k)},null,8,["value","options"])])])),_:1},8,["label"])])),_:1})])}}}),[["__scopeId","data-v-52f8a71d"]]))}}}));
