Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.132/page_editor/app/services/CollectionService",["module","exports","require","../config/index","./serviceFetch"],(function(e,t,l){var o;window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=l("../config/index"),n=(o=l("./serviceFetch"))&&o.__esModule?o:{default:o};var a={getCollectionConfiguration:e=>(0,n.default)(i.config.getCollectionConfigurationURL,{body:{collectionKey:e.key}}),getCollectionField:({activePage:e,classNameId:t,classPK:l,collection:o,displayAllItems:a,displayAllPages:s,languageId:c,listItemStyle:g,listStyle:r,numberOfItems:d,numberOfItemsPerPage:u,numberOfPages:f,onNetworkStatus:y,paginationType:p,showAllItems:m,templateKey:b})=>(0,n.default)(i.config.getCollectionFieldURL,{body:{activePage:e,classNameId:t,classPK:l,displayAllItems:a,displayAllPages:s,languageId:c,layoutObjectReference:JSON.stringify(o),listItemStyle:g,listStyle:r,numberOfItems:d,numberOfItemsPerPage:u,numberOfPages:f,paginationType:p,showAllItems:m,templateKey:b}},y),getCollectionFilters:()=>(0,n.default)(i.config.getCollectionFiltersURL,{},(()=>{})),getCollectionItemCount:({collection:e,onNetworkStatus:t})=>(0,n.default)(i.config.getCollectionItemCountURL,{body:{layoutObjectReference:JSON.stringify(e)}},t),getCollectionMappingFields:({itemSubtype:e,itemType:t,onNetworkStatus:l})=>(0,n.default)(i.config.getCollectionMappingFieldsURL,{body:{itemSubtype:e,itemType:t}},l),getCollectionSupportedFilters:e=>(0,n.default)(i.config.getCollectionSupportedFiltersURL,{body:{collections:JSON.stringify(e)}},(()=>{}))};t.default=a}));
//# sourceMappingURL=CollectionService.js.map