import{c as e,v as s,N as a,B as o,e as r,y as l,ab as t,a9 as d}from"./base-lib.js?v=1761009159";import{k as m,$ as i}from"./utils-lib.js?v=1761009159";import{x as p,y as n,z as u,A as f,B as j,e as b}from"./useController14.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./site.js?v=1761009159";import"./column.js?v=1761009159";import"./index106.js?v=1761009159";import"./validator.js?v=1761009159";import"./useStore4.js?v=1761009159";const c=e({__name:"setting-ip-add",setup:(e,{expose:c})=>(c({onConfirm:p}),(e,p)=>{const c=m,_=t,x=i,y=d;return s(),a(y,{ref_key:"addIpFormRef",ref:f,rules:l(j),disabled:l(b),model:l(n),class:"p-[2rem] addfrom","label-width":"5rem"},{default:o(()=>[r(_,{label:"IP",prop:"address"},{default:o(()=>[r(c,{type:"textarea",modelValue:l(n).address,"onUpdate:modelValue":p[0]||(p[0]=e=>l(n).address=e),width:"20rem",resize:"none",rows:4,placeholder:"请输入IP地址",clearable:""},null,8,["modelValue"])]),_:1}),r(x,{options:l(u),class:"pl-[5.6rem] pt-[2.4rem]"},null,8,["options"])]),_:1},8,["rules","disabled","model"])})});export{c as default};
