← Back
Editing: export-legacy-SPoeiMPg.js
System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-BlU8kiSV.js?v=1775100524734","./firewall-legacy-Jb8CGPiK.js?v=1775100524734","./index-legacy-vUu_c-Bn.js?v=1775100524734","./vue-core-legacy-BYkyrx0G.js?v=1775100524734","./naive-ui-legacy-DqFnZ3Ds.js?v=1775100524734","./prismjs-legacy-BN0FEcG9.js?v=1775100524734"],(function(e,a){"use strict";var l,t,i,n,r,s,u,c,o,_,d,p,v,y,x,f;return{setters:[e=>{l=e._},e=>{t=e.l},e=>{i=e.i,n=e.at},e=>{r=e.k,s=e.R,u=e.e,c=e.$,o=e.Z,_=e.a0,d=e.a9,p=e._,v=e.S,y=e.N},e=>{x=e.a1,f=e.a6},null],execute:function(){const a={class:"p-20px"},g={class:"w-210px"};e("default",r({__name:"export",props:{chain:{default:"ALL"}},setup(e,{expose:r}){const w=e,{t:j}=s(),b=u({chain:w.chain,rule:"ip"}),h=[{label:j("Security.Firewall.Port.index_4"),value:"ALL"},{label:j("Security.Firewall.Port.index_5"),value:"INPUT"},{label:j("Security.Firewall.Port.index_6"),value:"OUTPUT"}];return r({onConfirm:async()=>{const{message:e}=await t(y(b));i(e)&&n(e.result)}}),(e,t)=>{const i=f,n=x,r=l;return c(),o("div",a,[_(r,null,{default:d((()=>[_(n,{label:e.$t("Security.Firewall.Port.index_26"),"show-feedback":!1},{default:d((()=>[p("div",g,[_(i,{value:v(b).chain,"onUpdate:value":t[0]||(t[0]=e=>v(b).chain=e),options:h},null,8,["value"])])])),_:1},8,["label"])])),_:1})])}}}))}}}));
Save File
Cancel