Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.156/page_editor/app/services/FormService",["module","exports","require","../config/index","./serviceFetch"],(function(e,t,r){window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r("../config/index"),i=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(r("./serviceFetch"));var o={getFormFields:({classNameId:e,classTypeId:t,onNetworkStatus:r=(()=>{})})=>(0,i.default)(n.config.getFormFieldsURL,{body:{classNameId:e,classTypeId:t}},r),getFragmentEntryInputFieldTypes:({fragmentEntryKey:e,groupId:t,onNetworkStatus:r=(()=>{})})=>(0,i.default)(n.config.getFragmentEntryInputFieldTypesURL,{body:{fragmentEntryKey:e,groupId:t||null}},r),updateFormItemConfig:({itemConfig:e,itemId:t,onNetworkStatus:r,segmentsExperienceId:o})=>(0,i.default)(n.config.updateFormItemConfigURL,{body:{itemConfig:JSON.stringify(e),itemId:t,segmentsExperienceId:o}},r,{requestGenerateDraft:!0})};t.default=o}));
//# sourceMappingURL=FormService.js.map