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