"use strict";(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["views/smb/dns-zone/add-acl-record"],{1776:(e,s,i)=>{i.r(s),i.d(s,{default:()=>u});var d=i(272),r=i.n(d),n=i(271),t=i(89),a=i(825),c=i(633),l=i(270);const o=t.Locale.getTranslate("smb.components.forms.dns-zone.add-acl-record"),p=({cancelUrl:e,ipAddressDescription:s,...i})=>(0,l.jsxs)(a.default,{submitButton:{id:"btn-send"},applyButton:!1,cancelButton:{id:"btn-cancel",component:c.default,to:e},...i,children:[(0,l.jsx)("p",{children:(0,l.jsx)(o,{content:"description"})}),(0,l.jsx)(n.FormFieldText,{name:"ipAddress",label:(0,l.jsx)(o,{content:"ipAddress"}),description:s,size:"lg",maxlength:39,required:!0})]});p.propTypes={cancelUrl:r().string.isRequired,ipAddressDescription:r().string.isRequired};const u=p},1775:(e,s,i)=>{i.r(s),i.d(s,{default:()=>l});var d=i(272),r=i.n(d),n=i(596),t=i(1776),a=i(270);const c=({params:{id:e,type:s},values:i,ipAddressDescription:d})=>(0,a.jsx)(t.default,{values:i,ipAddressDescription:d,cancelUrl:`/smb/dns-zone/acl-records/id/${e}/type/${s}`});c.propTypes={params:r().shape({id:r().string.isRequired,type:r().oneOf(["domain","alias"]).isRequired}).isRequired,values:r().object.isRequired,ipAddressDescription:r().string.isRequired};const l=(0,n.withPageLayout)(c)},1774:(e,s,i)=>{i.r(s),i.d(s,{default:()=>d.default});var d=i(1775)}}]);
//# sourceMappingURL=add-acl-record.js.map?f9109a59acfe3f7a8ee6