import{_ as e}from"./index.vue_vue_type_script_setup_true_lang2.js?v=20260328163632";import{B as s}from"./index97.js?v=20260328163632";import{u as a,l,az as o,q as t,a1 as n,a2 as i,_ as r}from"./utils-lib.js?v=20260328163632";import{B as p}from"./index91.js?v=20260328163632";import{u}from"./store.js?v=20260328163632";import{s as m}from"./useMethod2.js?v=20260328163632";import{i as d,r as c,g as f,s as x,a as h,b as _,B as v,c as j,d as g,e as w,o as y,f as b,h as k,j as R,k as V,l as U,m as z,n as B,p as C}from"./useMethod3.js?v=20260328163632";import{k as H,w as I,o as M,J as S,V as q,W as F,Y as J,_ as K,a3 as L,a1 as N,O,F as W,X,j as Y,Z,N as A}from"./base-lib.js?v=20260328163632";import{n as D,au as E}from"./naive-ui.js?v=20260328163632";import"./__commonjsHelpers__.js?v=20260328163632";import"./env-lib.js?v=20260328163632";import"./index85.js?v=20260328163632";import"./database.js?v=20260328163632";import"./service.vue_vue_type_style_index_0_scoped_073b5b46_lang.js?v=20260328163632";import"./index98.js?v=20260328163632";import"./index92.js?v=20260328163632";const G={class:"flex items-center inline-flex"},P={class:"text-warning inline-block whitespace-nowrap flex items-center"},Q={class:"text-14px text-[var(--text-color-2)]"},T=r(H({__name:"index",setup(r){const{mainHeight:H}=a(),{pluginInfo:T,isRefreshList:$}=u();return I((()=>$.value),(async e=>{e&&(await f(x.value),await h(),$.value=!1)})),M(d),S(c),(a,r)=>{const u=D,d=E;return q(),F(W,null,[J(_)?(q(),K(s,{key:0},{content:L((()=>[O(e,{type:"Redis"})])),_:1})):N("",!0),O(J(i),null,{"header-left":L((()=>[O(J(v),{class:"gap-10px"})])),"header-right":L((()=>[X("div",G,[X("span",P,[r[4]||(r[4]=X("i",{class:"svgtofont-el-info-filled mt-2px mr-4px"},null,-1)),Y(Z(J(l)("当前所有操作都关联至")),1)]),O(u,{value:J(x),"onUpdate:value":[r[0]||(r[0]=e=>A(x)?x.value=e:null),J(j)],options:J(m),"label-field":"ps","value-field":"id","consistent-menu-width":!1,class:"!w-[160px] mx-4px"},null,8,["value","options","onUpdate:value"])])])),content:L((()=>[J(g).length?(q(),K(J(o),{key:0,class:"no-bg my-10px db-redis",type:"card",placement:"top",modelValue:J(w),"onUpdate:modelValue":r[1]||(r[1]=e=>A(w)?w.value=e:null),options:J(g),onChange:J(y)},null,8,["modelValue","options","onChange"])):N("",!0),O(d,{justify:"end",class:"!gap-10px mb-10px"},{default:L((()=>[O(J(t),{modelValue:J(b),"onUpdate:modelValue":r[2]||(r[2]=e=>A(b)?b.value=e:null),placeholder:J(l)("加*号可模糊搜索，如: *test*"),class:"!w-[220px]",onSearch:J(k)},null,8,["modelValue","placeholder","onSearch"]),O(J(p),{onRefresh:J(h)},null,8,["onRefresh"])])),_:1}),O(J(R),{"checked-row-keys":J(V),"onUpdate:checkedRowKeys":r[3]||(r[3]=e=>A(V)?V.value=e:null),"row-key":J(U),"max-height":J(H),"scroll-x":1e3},null,8,["checked-row-keys","row-key","max-height"])])),"footer-left":L((()=>[O(J(z))])),"footer-right":L((()=>[O(J(B),{"show-size-picker":"","page-sizes":J(n)([10,20,50,100]),onRefresh:J(h)},{suffix:L((()=>[X("span",Q,Z(J(l)("共 {0} 条",[J(C).itemCount])),1)])),_:1},8,["page-sizes","onRefresh"])])),_:1})],64)}}}),[["__scopeId","data-v-883bc132"]]);export{T as default};
