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";
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: i3.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFua2FjY291bnQtdmFsdWUtdmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI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