import{l as a}from"./utils-lib.js?v=1761009159";import{c as s,q as e,v as l,x as t,z as r,e as m,y as o,Q as i,B as p,C as n,T as u,G as c}from"./base-lib.js?v=1761009159";import{u as d,g as j,a as _,w as f}from"./index308.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./useStore8.js?v=1761009159";import"./validator.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";const x={class:"px-[2rem] py-[2.4rem]"},b={class:"flex mb-[1rem]"},h=s({__name:"whitelist",setup(s){const{whiteTableData:h,ip:v}=d();return e(j),(s,e)=>{const d=u,j=c,w=a;return l(),t("div",x,[r("div",b,[m(d,{class:"mr-[1rem] !w-[30rem]",placeholder:"请输入ip地址",modelValue:o(v),"onUpdate:modelValue":e[0]||(e[0]=a=>i(v)?v.value=a:null)},null,8,["modelValue"]),m(j,{onClick:e[1]||(e[1]=a=>o(_)()),type:"primary"},{default:p(()=>e[2]||(e[2]=[n("添加白名单",-1)])),_:1,__:[2]})]),m(w,{ref:"ftpScanTable","max-height":340,column:o(f),data:o(h),description:"白名单列表为空"},null,8,["column","data"])])}}});export{h as default};
