Liferay.Loader.define("@liferay/object-web@1.0.181/js/components/ObjectField/Tabs/BasicInfo/AttachmentProperties",["module","exports","require","@frontend-taglib-clay$clayui/form","@liferay/object-js-components-web","frontend-js-web","liferay!frontend-js-react-web$react","../../../../utils/fieldSettings"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.AttachmentProperties=function AttachmentProperties({errors:e,objectFieldSettings:t,onSettingsChange:a}){const u=(0,o.normalizeFieldSettings)(t);return l.default.createElement(l.default.Fragment,null,l.default.createElement(n.default.Group,null,u.showFilesInDocumentsAndMedia&&l.default.createElement(r.Input,{error:e.storageDLFolderPath,feedbackMessage:(0,i.sub)(Liferay.Language.get("input-the-path-of-the-chosen-folder-in-documents-and-media-an-example-of-a-valid-path-is-x"),"/myDocumentsAndMediaFolder"),label:Liferay.Language.get("storage-folder"),maxLength:255,onChange:({target:{value:e}})=>a({name:"storageDLFolderPath",value:e}),required:!0,value:u.storageDLFolderPath})),l.default.createElement(r.Input,{component:"textarea",error:e.acceptedFileExtensions,feedbackMessage:Liferay.Language.get("enter-the-list-of-file-extensions-users-can-upload-use-commas-to-separate-extensions"),label:Liferay.Language.get("accepted-file-extensions"),onChange:({target:{value:e}})=>a({name:"acceptedFileExtensions",value:e}),required:!0,value:u.acceptedFileExtensions}),l.default.createElement(r.Input,{error:e.maximumFileSize,feedbackMessage:Liferay.Language.get("maximum-file-size-help"),label:Liferay.Language.get("maximum-file-size"),min:0,onChange:({target:{value:e}})=>a({name:"maximumFileSize",value:e&&Number(e)}),required:!0,type:"number",value:u.maximumFileSize}))};var n=_interopRequireDefault(a("@frontend-taglib-clay$clayui/form")),r=a("@liferay/object-js-components-web"),i=a("frontend-js-web"),l=_interopRequireDefault(a("liferay!frontend-js-react-web$react")),o=a("../../../../utils/fieldSettings");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=AttachmentProperties.js.map