import * as i0 from '@angular/core'; import { ChangeDetectorRef, Type, ElementRef } from '@angular/core'; import * as i1 from '@angular/router'; import { ActivatedRoute, Resolve, ActivatedRouteSnapshot } from '@angular/router'; import * as _angular_forms from '@angular/forms'; import { NgModel } from '@angular/forms'; import { HttpClient } from '@angular/common/http'; import { MatChipInputEvent } from '@angular/material/chips'; import { AuditEntity, GenericService, GenericReactiveFormComponent, FileService, SaveAction, BaseComponent } from '@messaia/cdk'; import { EditorComponent } from '@tinymce/tinymce-angular'; import * as rxjs from 'rxjs'; import { Subscription, Observable } from 'rxjs'; import { MatDialogRef, MatDialog } from '@angular/material/dialog'; import { DocumentBase, Attachment } from '@messaia/cdk-base'; import { PDFSource } from 'ng2-pdf-viewer'; import { OidcSecurityService } from 'angular-auth-oidc-client'; declare class VdCmsRoutingModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class VdCmsModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare enum ContentType { Page = 1, Block = 2 } declare class CmsSettings { /** * @property */ multiClients?: boolean; /** * @property */ multiDepartments?: boolean; /** * @property */ multitenantable?: boolean; /** * @property */ styleUrlEndpoint?: Function; /** * @property */ editorHeight?: string; /** * constructor * @param init */ constructor(init?: Partial); } declare enum WrapTag { None = "", Section = "section", Div = "div", Address = "address", Article = "article" } /** * @class */ declare class ContentClient { /** * @property */ contentId?: number; /** * @property */ clientId?: number; /** * @property */ client?: any; /** * @property */ clientName?: string; /** * Constructor * @param init */ constructor(init?: Partial); } /** * @class */ declare class ContentDepartment { /** * @property */ contentId?: number; /** * @property */ departmentId?: number; /** * @property */ department?: any; /** * @property */ departmentName?: string; /** * Constructor * @param init */ constructor(init?: Partial); } declare class Content extends AuditEntity { /** * @property Defines the type of the content. * @description Optional enum property indicating the content's type. * @type {ContentType} */ type?: ContentType; /** * @property Identifier for the section the content belongs to. * @description Optional number representing the section ID. * @type {number} */ sectionId?: number; /** * @property The title of the content. * @description This required property represents the human-readable title displayed in the UI. * @type {string} */ title?: string; /** * @property Internal name of the content. * @description This required property is used for internal reference and URLs. * @type {string} */ name?: string; /** * @property Aliases of the content. * @description Optional string used to define alternative names or keywords. * @type {string} */ aliases?: string; /** * @property The wrap tag used for HTML structure. * @description Optional property that defines how the content is wrapped in the DOM. * @type {WrapTag} */ wrapTag: WrapTag; /** * @property Layout identifier or class name. * @description Optional layout style applied to this content block. * @type {string} */ layout?: string; /** * @property Main body of the content. * @description Optional HTML or markdown content. * @type {string} */ body?: string; /** * @property Embedded script. * @description Optional JavaScript code associated with the content. * @type {string} */ script?: string; /** * @property headScript * @description This optional property allows insertion of custom JavaScript code inside the tag of the HTML document. * @type {string} */ headScript?: string; /** * @property noScript * @description This optional property allows inserting content inside a