Liferay.Loader.define("dynamic-data-lists-web@6.0.32/js/EditRecordSetStructureSelector",["module","exports","require"],(function(e,t,r){window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({itemSelectorURL:e,portletNamespace:t,selectEventName:r}){const a=document.querySelector(".open-record-set-modal");a&&a.addEventListener("click",(()=>{Liferay.Util.getOpener().Liferay.Util.openSelectionModal({onSelect:e=>{const r=document.getElementById("".concat(t,"fm"));r&&Liferay.Util.setFormValues(r,{ddmStructureId:e.ddmstructureid,ddmStructureNameDisplay:Liferay.Util.unescape(e.name)})},selectEventName:r,title:Liferay.Language.get("data-definitions"),url:e})}))}}));
//# sourceMappingURL=EditRecordSetStructureSelector.js.map