Liferay.Loader.define("journal-web@5.0.81/js/SelectFolderButton",["module","exports","require","frontend-js-web"],(function(e,t,n){window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({inputName:e,namespace:t,selectFolderURL:n}){const o=()=>(0,l.openSelectionModal)({height:"70vh",iframeBodyCssClass:"",onSelect:n=>{if(n){var l={idString:e,idValue:n.folderId,nameString:"folderName",nameValue:n.folderName};Liferay.Util.selectFolder(l,t)}},selectEventName:"".concat(t,"selectFolder"),size:"md",title:Liferay.Language.get("select-folder"),url:n}),r=document.getElementById("".concat(t,"selectFolderButton"));if(r)return r.addEventListener("click",o),{dispose(){r.removeEventListener("click",o)}}};var l=n("frontend-js-web")}));
//# sourceMappingURL=SelectFolderButton.js.map