import{_ as e}from"./index105.js?v=1761009159";import{c as s,s as t,q as a,v as r,x as i,e as o,B as l,y as m,C as n,N as h,D as u,G as p}from"./base-lib.js?v=1761009159";import{u as c,an as d,ao as f}from"./utils-lib.js?v=1761009159";import{u as j,d as x,e as B,f as g,h as _,o as b}from"./index404.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./useMethod5.js?v=1761009159";import"./validator.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";import"./form-item.js?v=1761009159";import"./index484.js?v=1761009159";const y={class:"p-[2rem]"},v=s({__name:"edit-set",setup(s){const{pluginOrThemePamra:v,isRefreshInstallList:T,isRefreshPluginOrThemeList:k}=t(j()),{mainHeight:C}=c(),{BtTable:L,BtPage:R,BtRecommendSearch:q,BtRefresh:w,BtColumn:P,BtBatch:S,BtTableCategory:H,BtErrorMask:M,classList:O,refresh:z}=d({request:e=>x(),columns:B(),extension:[f(k)]}),{BtTable:D,refresh:E,ref:G,config:I,BtSearch:N}=d({request:e=>g(e),columns:_(),extension:[f(T)]});return a(()=>{v.value.keyword=""}),(s,t)=>{const a=p,c=e;return r(),i("div",y,[o(c,null,{"header-left":l(()=>[o(m(N),{class:"!w-[230px]",type:"wp-sets",placeholder:"搜索"})]),"header-right":l(()=>[o(a,{type:"primary",size:"default",onClick:t[0]||(t[0]=e=>{var s;return m(b)(null==(s=m(G))?void 0:s.tableSelectList)})},{default:l(()=>t[1]||(t[1]=[n("添加",-1)])),_:1,__:[1]})]),content:l(()=>[m(I).data.length?(r(),h(m(D),{key:0,"max-height":200,class:"mb-[1rem]"})):u("",!0),o(m(L),{"max-height":m(C)-400},null,8,["max-height"])]),_:1})])}}});export{v as default};
