Liferay.Loader.define("frontend-js-web@5.0.45/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"),d=o(a("liferay!frontend-js-react-web$react")),t=a("liferay!frontend-js-react-web$react-dom"),i=o(a("../components/SimpleInputModal.es"));function o(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,t.unmountComponentAtNode)(r())}function m({alert:e,checkboxFieldLabel:l,checkboxFieldName:a,checkboxFieldValue:t,dialogTitle:o,formSubmitURL:m,idFieldName:u,idFieldValue:s,mainFieldLabel:b,mainFieldName:p,mainFieldValue:F,namespace:y,onFormSuccess:N,placeholder:h}){c(),(0,n.render)(d.default.createElement(i.default,{alert:e,checkboxFieldLabel:l,checkboxFieldName:a,checkboxFieldValue:t,closeModal:c,dialogTitle:o,formSubmitURL:m,idFieldName:u,idFieldValue:s,initialVisible:"true",mainFieldLabel:b,mainFieldName:p,mainFieldValue:F,namespace:y,onFormSuccess:N,placeholder:h}),f,r())}var u=m;l.default=u}}));
//# sourceMappingURL=OpenSimpleInputModal.es.js.map