import { ChangeDetectionStrategy, Component } from '@angular/core';
import { PropertyType } from '@aztrix/models';
import { AbstractPropertyValueViewComponent } from '../abstract-property-value-view.component';
import * as i0 from "@angular/core";
import * as i1 from "@angular/material/tooltip";
import * as i2 from "@aztrix/icons";
import * as i3 from "@aztrix/helpers";
import * as i4 from "@aztrix/translate";
export class BankaccountValueViewComponent extends AbstractPropertyValueViewComponent {
    constructor() {
        super(...arguments);
        // eslint-disable-next-line @typescript-eslint/naming-convention
        this.PropertyType = PropertyType;
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BankaccountValueViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: BankaccountValueViewComponent, selector: "ax-bankaccount-value-view", usesInheritance: true, ngImport: i0, template: "<span class=\"bank\">\n  <span class=\"bank-label\">IBAN:</span>\n  <span class=\"h-ellipsis bank-content\">{{\n    propertyOfType(PropertyType.IBAN) | propertyDisplayValue\n  }}</span>\n  <ax-icon\n    class=\"icon primary-text\"\n    name=\"custom:verified\"\n    [matTooltip]=\"\n      'property.validation.valid' | translate: {propertyType: PropertyType.IBAN | propertyTypeLabel}\n    \"\n  >\n  </ax-icon>\n</span>\n\n<span class=\"bank\">\n  <span class=\"bank-label\">BIC:</span>\n  <span class=\"h-ellipsis bank-content\">{{\n    propertyOfType(PropertyType.BIC) | propertyDisplayValue\n  }}</span>\n</span>\n", styles: [".property-value{font-size:16px;font-weight:700}\n", ".bank{display:block;width:100%}.bank .icon{width:1em;height:1em;max-width:15%;display:inline-block;line-height:1.2;vertical-align:middle}.bank-label{display:inline-block;width:50px;max-width:25%;font-weight:700;line-height:1.2;vertical-align:middle}.bank-content{display:inline-block;max-width:60%;line-height:1.2;vertical-align:middle}\n"], dependencies: [{ kind: "directive", type: i1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: i2.IconComponent, selector: "ax-icon", inputs: ["name", "inline"] }, { kind: "pipe", type: i3.PropertyDisplayValuePipe, name: "propertyDisplayValue" }, { kind: "pipe", type: i3.PropertyTypeLabelPipe, name: "propertyTypeLabel" }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BankaccountValueViewComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-bankaccount-value-view', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span class=\"bank\">\n  <span class=\"bank-label\">IBAN:</span>\n  <span class=\"h-ellipsis bank-content\">{{\n    propertyOfType(PropertyType.IBAN) | propertyDisplayValue\n  }}</span>\n  <ax-icon\n    class=\"icon primary-text\"\n    name=\"custom:verified\"\n    [matTooltip]=\"\n      'property.validation.valid' | translate: {propertyType: PropertyType.IBAN | propertyTypeLabel}\n    \"\n  >\n  </ax-icon>\n</span>\n\n<span class=\"bank\">\n  <span class=\"bank-label\">BIC:</span>\n  <span class=\"h-ellipsis bank-content\">{{\n    propertyOfType(PropertyType.BIC) | propertyDisplayValue\n  }}</span>\n</span>\n", styles: [".property-value{font-size:16px;font-weight:700}\n", ".bank{display:block;width:100%}.bank .icon{width:1em;height:1em;max-width:15%;display:inline-block;line-height:1.2;vertical-align:middle}.bank-label{display:inline-block;width:50px;max-width:25%;font-weight:700;line-height:1.2;vertical-align:middle}.bank-content{display:inline-block;max-width:60%;line-height:1.2;vertical-align:middle}\n"] }]
        }] });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFua2FjY291bnQtdmFsdWUtdmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VS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