import{aP as s,p as e,P as a,cz as t,K as o,_ as r}from"./utils-lib.js?v=1761009159";import{c as i,aA as d,g as c,v as p,x as m,e as n,y as l}from"./base-lib.js?v=1761009159";import{b as u,f as v}from"./form-item.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./index106.js?v=1761009159";const{getDockerState:f}=s(),_={class:"p-[2rem]"},b=r(i({__name:"index",setup(r,{expose:i}){const{refs:{settingData:b}}=s(),g=d("popupClose",()=>{}),{BtForm:j,submit:x}=o({data:()=>({address:b.value.ipv6Address||""}),options:()=>c(()=>[u("ipv6范围","address",{attrs:{class:"!w-[32rem]",placeholder:"ipv6范围"}}),v("",[{content:"此ipv6范围将会在默认的bridge网络中启用，请勿随意修改！"},{content:"设置范围后需要重启docker，请确保可以重启docker再操作。"}])]),submit:async(s,o,r)=>{(async(s,o)=>{try{await e({title:"设置IPV6范围",content:"设置后需要重启docker，请确保可以重启docker再操作。是否继续？"}),a({request:t({status:1,"fixed-cidr-v6":s.value.address}),loading:"正在设置，请稍候...",message:!0,success:()=>{o(),f()}})}catch(r){}})(s,g)}});return i({onConfirm:x}),(s,e)=>(p(),m("div",_,[n(l(j))]))}}),[["__scopeId","data-v-d3122484"]]);export{b as default};
