import{_ as a}from"./index105.js?v=1761009159";import{_ as t}from"./index114.js?v=1761009159";import{P as s,W as o,l as i}from"./utils-lib.js?v=1761009159";import{N as r}from"./firewall.js?v=1761009159";import{c as e,r as m,o as p,w as n,q as l,v as d,N as c,B as u,e as _,y as j}from"./base-lib.js?v=1761009159";import{i as g}from"./useMethod6.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./column.js?v=1761009159";import"./index106.js?v=1761009159";import"./useStore5.js?v=1761009159";import"./validator.js?v=1761009159";const f=e({__name:"index",props:{compData:{default:()=>{}}},setup(e){const f=e,w=m([]),x=m(0),b=g(),h=p({p:1,limit:10,testing_id:f.compData.testing_id}),y=async(a=1)=>{await s({loading:"正在获取IP规则列表，请稍后...",request:r(h),data:{data:[Array,w],page:o(x)}})};return n(()=>f.compData,a=>{h.testing_id=a.testing_id}),l(()=>y()),(s,o)=>{const r=i,e=t,m=a;return d(),c(m,{class:"p-[2rem]"},{content:u(()=>[_(r,{column:j(b),data:j(w)},null,8,["column","data"])]),"footer-right":u(()=>[_(e,{total:j(x),page:j(h).p,"onUpdate:page":o[0]||(o[0]=a=>j(h).p=a),row:j(h).limit,"onUpdate:row":o[1]||(o[1]=a=>j(h).limit=a),onChange:y},null,8,["total","page","row"])]),_:1})}}});export{f as default};
