← Back
Editing: export-legacy.js
System.register(["./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1753755607904","./page_layout-legacy.js?v=1753755607904","./vue-legacy.js?v=1753755607904","./naive-legacy.js?v=1753755607904","./common-legacy.js?v=1753755607904","./__commonjsHelpers__-legacy.js?v=1753755607904","./public-legacy.js?v=1753755607904"],(function(e,l){"use strict";var a,t,n,u,c,s,r,i,o,_,p,y,d,v,g,x;return{setters:[e=>{a=e._},e=>{t=e.cw,n=e.d,u=e.a_},e=>{c=e.k,s=e.P,r=e.e,i=e.U,o=e.X,_=e.Q,p=e.a2,y=e.V,d=e.W,v=e.N},e=>{g=e.cC,x=e.cG},null,null,null],execute:function(){const l={class:"p-20px"},f={class:"w-210px"};e("default",c({__name:"export",props:{chain:{default:"ALL"}},setup(e,{expose:c}){const j=e,{t:m}=s(),w=r({chain:j.chain,rule:"port"}),b=[{label:m("Security.Firewall.Port.index_4"),value:"ALL"},{label:m("Security.Firewall.Port.index_5"),value:"INPUT"},{label:m("Security.Firewall.Port.index_6"),value:"OUTPUT"}];return c({onConfirm:async()=>{const{message:e}=await t(v(w));n(e)&&u(e.result)}}),(e,t)=>{const n=x,u=g,c=a;return o(),i("div",l,[_(c,null,{default:p((()=>[_(u,{label:e.$t("Security.Firewall.Port.index_42"),"show-feedback":!1},{default:p((()=>[y("div",f,[_(n,{value:d(w).chain,"onUpdate:value":t[0]||(t[0]=e=>d(w).chain=e),options:b},null,8,["value"])])])),_:1},8,["label"])])),_:1})])}}}))}}}));
Save File
Cancel