UNPKG

cocori-ng

Version:

Cocori-ng is an Angular full of great components & utilites based on Material

29 lines (28 loc) 1.47 kB
import { HelperService } from 'cocori-ng/src/feature-core'; import { BehaviorSubject, Subject } from 'rxjs'; import { InsertSectionAt, MoveOrientationSectionActions, SectionModel, SectionModelCommand, SectionMoveIndexes } from '../model/cms.model'; import { AdapterPageCmsService } from './adapter-page-cms.service'; import * as i0 from "@angular/core"; export declare class CmsService { private helperService; private adapterPageCmsService; sectionAdded$: Subject<InsertSectionAt>; catalogBlocksOpened$: BehaviorSubject<boolean>; backgroundColor$: Subject<string>; moveSection$: Subject<SectionMoveIndexes>; onSaveCmsContent$: Subject<SectionModelCommand[]>; private sectionRemoved$; sections: SectionModel[]; constructor(helperService: HelperService, adapterPageCmsService: AdapterPageCmsService); init(): void; onSectionRemoved(): Subject<InsertSectionAt>; sectionsPageDatas(): SectionModelCommand[]; addSection(newSection: SectionModel): void; getIndexCurrentSection(sectionId: string): number; removeSection(sectionId: string): void; duplicateSection(section: SectionModel): void; changeBackgroundColorSection(idSection: string, value: string): void; moveSection(idSection: string, orientation: MoveOrientationSectionActions): void; static ɵfac: i0.ɵɵFactoryDeclaration<CmsService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<CmsService>; }