Liferay.Loader.define("journal-web@5.0.100/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 l=()=>(0,o.openSelectionModal)({height:"70vh",iframeBodyCssClass:"",onSelect:n=>{if(n){const l={idString:e,idValue:n.folderId,nameString:"folderName",nameValue:n.folderName};(0,o.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",l),{dispose(){r.removeEventListener("click",l)}}};var o=n("frontend-js-web")}));
//# sourceMappingURL=SelectFolderButton.js.map