System.register(["./utils-lib-legacy.js?v=1761009159","./index-legacy105.js?v=1761009159","./useController-legacy14.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./site-legacy.js?v=1761009159","./column-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./validator-legacy.js?v=1761009159","./useStore-legacy4.js?v=1761009159"],function(e,t){"use strict";var n,l,i,a,u,c,r,s,o,f,p,y,m,g,d,v,j,_,b,k,h,x,B,I,L,w,P;return{setters:[function(e){n=e.b2,l=e.l,i=e.ah,a=e.$},function(e){u=e._},function(e){c=e.a7,r=e.a8,s=e.p,o=e.i,f=e.a9,p=e.aa,y=e.ab,m=e.ac,g=e.ad,d=e.ae},function(e){v=e.c,j=e.w,_=e.g,b=e.q,k=e.v,h=e.x,x=e.e,B=e.B,I=e.y,L=e.N,w=e.z,P=e.D},null,null,null,null,null,null],execute:function(){e("default",v({__name:"setting-ip-list",props:{compData:{default:function(){return{}}}},setup:function(e){j(function(){return s.value.ip_limit},function(e){e?c(e):(r.white=[],r.black=[])},{deep:!0});var t=_(function(){return"ipWhiteList"===o.value?f.value:p.value}),v=n({options:[{label:"添加IP".concat("ipBlackList"===o.value?"黑":"白","名单"),type:"button",active:!0,onClick:y}]}).BtOperation;return b(m),function(e,n){var c=l,s=i,y=u,m=a;return k(),h("div",null,[x(y,null,{"header-left":B(function(){return[x(I(v))]}),content:B(function(){return["ipBlackList"!==I(o)?(k(),L(c,{key:0,ref_key:"settingIpWhiteRef",ref:f,data:I(r).white,"max-height":390,column:I(g)},{empty:B(function(){return n[0]||(n[0]=[w("div",{class:"flex items-center justify-center"},"当前列表为空",-1)])}),_:1},8,["data","column"])):(k(),L(c,{key:1,ref_key:"settingIpRef",ref:p,data:I(r).black,"max-height":390,column:I(g)},{empty:B(function(){return n[1]||(n[1]=[w("div",{class:"flex items-center justify-center"},"当前列表为空",-1)])}),_:1},8,["data","column"]))]}),"footer-left":B(function(){return[x(s,{"table-ref":I(t),options:I(d)},null,8,["table-ref","options"])]}),_:1}),"ipBlackList"!==I(o)?(k(),L(m,{key:0,class:"mt-[2rem] ml-[1.6rem]",options:[{content:"注意：设置IP白名单后会默认禁止除白名单以外的所有IP访问"}]})):P("",!0)])}}}))}}});
