import { Component } from '@angular/core';
import { AbstractFieldReadComponent } from '../base-field/abstract-field-read.component';
import * as i0 from "@angular/core";
import * as i1 from "rpx-xui-translation";
import * as i2 from "./fixed-list.pipe";
export class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
    static ɵfac = /*@__PURE__*/ (() => { let ɵReadFixedListFieldComponent_BaseFactory; return function ReadFixedListFieldComponent_Factory(__ngFactoryType__) { return (ɵReadFixedListFieldComponent_BaseFactory || (ɵReadFixedListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadFixedListFieldComponent)))(__ngFactoryType__ || ReadFixedListFieldComponent); }; })();
    static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadFixedListFieldComponent, selectors: [["ccd-read-fixed-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[1, "text-16"]], template: function ReadFixedListFieldComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵelementStart(0, "span", 0);
            i0.ɵɵtext(1);
            i0.ɵɵpipe(2, "ccdFixedList");
            i0.ɵɵpipe(3, "rpxTranslate");
            i0.ɵɵelementEnd();
        } if (rf & 2) {
            i0.ɵɵadvance();
            i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 4, i0.ɵɵpipeBind2(2, 1, ctx.caseField.value, ctx.caseField.list_items)));
        } }, dependencies: [i1.RpxTranslatePipe, i2.FixedListPipe], encapsulation: 2 });
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadFixedListFieldComponent, [{
        type: Component,
        args: [{
                selector: 'ccd-read-fixed-list-field',
                template: '<span class="text-16">{{caseField.value | ccdFixedList:caseField.list_items | rpxTranslate}}</span>',
            }]
    }], null, null); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedListFieldComponent, { className: "ReadFixedListFieldComponent", filePath: "lib/shared/components/palette/fixed-list/read-fixed-list-field.component.ts", lineNumber: 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