import { OnInit, EventEmitter } from '@angular/core'; import { IdentifierSchemas } from '../../entities/common'; import { JournalVersion } from '../../entities/public-api'; import { JournalDataType } from './journal-view.component'; /** * This component share the same scss that `JournalViewComponent`. * His goal, handle the actions and how show a specific data of a `JournalData` */ export declare class JournalViewFieldComponent implements OnInit { editingJournal: JournalVersion; currentJournal: JournalVersion; type: number; editingJournalChange: EventEmitter; journalDataType: typeof JournalDataType; IdentifierSchemas: typeof IdentifierSchemas; constructor(); ngOnInit(): void; /** * Replaces a `Journal` property by a equal property in `JournalData`. * @param type is a `JournalDataType` enum, that means, `type` has all properties of a `Journal` enumerated as identifyer. * @param concat is a `boolean`, by default in `false`. If his value is `true` means the fields will be concated and not replaced. * @NOTE The `terms` of a `Journal` can NOT replace because will be the same information and not have sense, only we can merge. */ replace(type: number, concat?: boolean): void; }