import{_ as a}from"./index.vue_vue_type_script_setup_true_lang.js?v=1763625242172";import{cR as e,c as s,bk as l}from"./page_layout.js?v=1763625242172";import{k as t,P as r,e as o,R as i,S as n,X as u,a3 as p,U as c,V as _,N as m}from"./vue.js?v=1763625242172";import{dV as d,dP as v}from"./naive.js?v=1763625242172";import"./common.js?v=1763625242172";import"./__commonjsHelpers__.js?v=1763625242172";import"./public.js?v=1763625242172";const f={class:"p-20px"},x={class:"w-210px"},b=t({__name:"export",props:{chain:{default:"ALL"}},setup(t,{expose:b}){const j=t,{t:P}=r(),w=o({chain:j.chain,rule:"port"}),y=[{label:P("Security.Firewall.Port.index_4"),value:"ALL"},{label:P("Security.Firewall.Port.index_5"),value:"INPUT"},{label:P("Security.Firewall.Port.index_6"),value:"OUTPUT"}];return b({onConfirm:async()=>{const{message:a}=await e(m(w));s(a)&&l(a.result)}}),(e,s)=>{const l=d,t=v,r=a;return i(),n("div",f,[u(r,null,{default:p((()=>[u(t,{label:e.$t("Security.Firewall.Port.index_42"),"show-feedback":!1},{default:p((()=>[c("div",x,[u(l,{value:_(w).chain,"onUpdate:value":s[0]||(s[0]=a=>_(w).chain=a),options:y},null,8,["value"])])])),_:1},8,["label"])])),_:1})])}}});export{b as default};
