Liferay.Loader.define("frontend-js-web@5.0.31/liferay/modal/commands/OpenSimpleInputModal.es",["module","exports","require","@liferay/frontend-js-react-web","liferay!frontend-js-react-web$react","liferay!frontend-js-react-web$react-dom","../components/SimpleInputModal.es"],(function(e,l,a){window;{Object.defineProperty(l,"__esModule",{value:!0}),l.openSimpleInputModal=function(e){return m.call(null,e)},l.default=void 0;var n=a("@liferay/frontend-js-react-web"),t=i(a("liferay!frontend-js-react-web$react")),d=a("liferay!frontend-js-react-web$react-dom"),o=i(a("../components/SimpleInputModal.es"));function i(e){return e&&e.__esModule?e:{default:e}}const e="modalContainer",f={portletId:"UNKNOWN_PORTLET_ID"};function r(){let l=document.getElementById(e);return l||(l=document.createElement("div"),l.id=e,document.body.appendChild(l)),l}function c(){(0,d.unmountComponentAtNode)(r())}function m({alert:e,checkboxFieldLabel:l,checkboxFieldName:a,checkboxFieldValue:d,dialogTitle:i,formSubmitURL:m,idFieldName:u,idFieldValue:s,mainFieldLabel:b,mainFieldName:p,namespace:F,onFormSuccess:y,placeholder:N}){c(),(0,n.render)(t.default.createElement(o.default,{alert:e,checkboxFieldLabel:l,checkboxFieldName:a,checkboxFieldValue:d,closeModal:c,dialogTitle:i,formSubmitURL:m,idFieldName:u,idFieldValue:s,initialVisible:"true",mainFieldLabel:b,mainFieldName:p,namespace:F,onFormSuccess:y,placeholder:N}),f,r())}var u=m;l.default=u}}));
//# sourceMappingURL=OpenSimpleInputModal.es.js.map