import { Component } from '@angular/core';
import { AbstractFieldReadComponent } from '../base-field/abstract-field-read.component';
import * as i0 from "@angular/core";
import * as i1 from "../../../pipes/case-reference/case-reference.pipe";
export class ReadNumberFieldComponent extends AbstractFieldReadComponent {
    static ɵfac = /*@__PURE__*/ (() => { let ɵReadNumberFieldComponent_BaseFactory; return function ReadNumberFieldComponent_Factory(__ngFactoryType__) { return (ɵReadNumberFieldComponent_BaseFactory || (ɵReadNumberFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadNumberFieldComponent)))(__ngFactoryType__ || ReadNumberFieldComponent); }; })();
    static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadNumberFieldComponent, selectors: [["ccd-read-number-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [[1, "text-16"]], template: function ReadNumberFieldComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵelementStart(0, "span", 0);
            i0.ɵɵtext(1);
            i0.ɵɵpipe(2, "ccdCaseReference");
            i0.ɵɵelementEnd();
        } if (rf & 2) {
            i0.ɵɵadvance();
            i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx.caseField.value));
        } }, dependencies: [i1.CaseReferencePipe], encapsulation: 2 });
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadNumberFieldComponent, [{
        type: Component,
        args: [{
                selector: 'ccd-read-number-field',
                template: `<span class="text-16">{{caseField.value | ccdCaseReference}}</span>`
            }]
    }], null, null); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadNumberFieldComponent, { className: "ReadNumberFieldComponent", filePath: "lib/shared/components/palette/number/read-number-field.component.ts", lineNumber: 8 }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC1udW1iZXItZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXM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