Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.130/page_editor/app/components/undo/undoUpdateFragmentConfiguration",["module","exports","require","../../actions/updateFragmentEntryLinkConfiguration","../../services/FragmentService"],(function(e,n,t){window;{Object.defineProperty(n,"__esModule",{value:!0}),n.undoAction=function({action:e}){const{editableValues:n,fragmentEntryLinkId:t}=e;return(e,i)=>r.default.updateConfigurationValues({editableValues:n,fragmentEntryLinkId:t,languageId:i().languageId,onNetworkStatus:e}).then((({fragmentEntryLink:n,layoutData:r})=>{e((0,a.default)({fragmentEntryLink:n,fragmentEntryLinkId:t,layoutData:r}))}))},n.getDerivedStateForUndo=function({action:e,state:n}){const{fragmentEntryLink:t}=e;return{editableValues:n.fragmentEntryLinks[t.fragmentEntryLinkId].editableValues,fragmentEntryLinkId:t.fragmentEntryLinkId}};var a=i(t("../../actions/updateFragmentEntryLinkConfiguration")),r=i(t("../../services/FragmentService"));function i(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=undoUpdateFragmentConfiguration.js.map