import { Component } from '@angular/core';
import { AbstractFieldReadComponent } from '../base-field/abstract-field-read.component';
import * as i0 from "@angular/core";
export class CaseHistoryViewerFieldComponent extends AbstractFieldReadComponent {
    static ɵfac = /*@__PURE__*/ (() => { let ɵCaseHistoryViewerFieldComponent_BaseFactory; return function CaseHistoryViewerFieldComponent_Factory(__ngFactoryType__) { return (ɵCaseHistoryViewerFieldComponent_BaseFactory || (ɵCaseHistoryViewerFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CaseHistoryViewerFieldComponent)))(__ngFactoryType__ || CaseHistoryViewerFieldComponent); }; })();
    static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseHistoryViewerFieldComponent, selectors: [["ccd-case-history-viewer-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "events"]], template: function CaseHistoryViewerFieldComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵelement(0, "ccd-event-log", 0);
        } if (rf & 2) {
            i0.ɵɵproperty("events", ctx.caseField.value);
        } }, encapsulation: 2 });
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseHistoryViewerFieldComponent, [{
        type: Component,
        args: [{ selector: 'ccd-case-history-viewer-field', template: "<ccd-event-log [events]=\"caseField.value\"></ccd-event-log>" }]
    }], null, null); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseHistoryViewerFieldComponent, { className: "CaseHistoryViewerFieldComponent", filePath: "lib/shared/components/palette/history/case-history-viewer-field.component.ts", lineNumber: 8 }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1oaXN0b3J5LXZpZXdlci1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l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