Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.132/page_editor/app/services/WidgetService",["module","exports","require","../config/index","./serviceFetch"],(function(e,t,d){var o;window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=d("../config/index"),r=(o=d("./serviceFetch"))&&o.__esModule?o:{default:o};var a={addPortlet:({onNetworkStatus:e,parentItemId:t,portletId:d,portletItemId:o,position:a,segmentsExperienceId:n})=>(0,r.default)(i.config.addPortletURL,{body:{parentItemId:t,portletId:d,portletItemId:o,position:a,segmentsExperienceId:n}},e,{requestGenerateDraft:!0}),getWidgets:()=>(0,r.default)(i.config.getPortletsURL,{},(()=>{})),toggleWidgetHighlighted:({highlighted:e,onNetworkStatus:t,portletId:d})=>(0,r.default)(i.config.updatePortletsHighlightedConfigurationURL,{body:{highlighted:e,portletId:d}},t,{requestGenerateDraft:!0})};t.default=a}));
//# sourceMappingURL=WidgetService.js.map