import { Component, EventEmitter, Input, Output } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "@aztrix/icons";
import * as i3 from "@aztrix/helpers";
export class CommunicationIconComponent {
    constructor() {
        this.clicked = new EventEmitter();
    }
}
CommunicationIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CommunicationIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
CommunicationIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: CommunicationIconComponent, selector: "ax-communication-icon", inputs: { type: "type" }, outputs: { clicked: "clicked" }, ngImport: i0, template: "<button class=\"button\" (click)=\"clicked.next()\">\n  <ax-icon class=\"icon\" *ngIf=\"type === 'PHONE'\" name=\"phone\"></ax-icon>\n  <ax-icon class=\"icon\" *ngIf=\"type === 'MOBILE_PHONE'\" name=\"message\"></ax-icon>\n  <ax-icon class=\"icon\" *ngIf=\"type === 'EMAIL'\" name=\"email\"></ax-icon>\n  <ax-icon class=\"icon\" *ngIf=\"type === 'ADDRESS'\" name=\"map-marker\"></ax-icon>\n  <ax-icon class=\"icon\" *ngIf=\"type === 'ORGANISATION_NAME'\" name=\"briefcase\"></ax-icon>\n  <span *ngIf=\"type === 'LEGAL_ID'\">{{ 'communication.icon.LEGAL_ID' | translate }}</span>\n</button>\n", styles: [":host{height:24px}.icon{height:20px;width:20px}span{font-weight:700}.button{background-color:transparent;border:none}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IconComponent, selector: "ax-icon", inputs: ["name", "inline"] }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CommunicationIconComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-communication-icon', template: "<button class=\"button\" (click)=\"clicked.next()\">\n  <ax-icon class=\"icon\" *ngIf=\"type === 'PHONE'\" name=\"phone\"></ax-icon>\n  <ax-icon class=\"icon\" *ngIf=\"type === 'MOBILE_PHONE'\" name=\"message\"></ax-icon>\n  <ax-icon class=\"icon\" *ngIf=\"type === 'EMAIL'\" name=\"email\"></ax-icon>\n  <ax-icon class=\"icon\" *ngIf=\"type === 'ADDRESS'\" name=\"map-marker\"></ax-icon>\n  <ax-icon class=\"icon\" *ngIf=\"type === 'ORGANISATION_NAME'\" name=\"briefcase\"></ax-icon>\n  <span *ngIf=\"type === 'LEGAL_ID'\">{{ 'communication.icon.LEGAL_ID' | translate }}</span>\n</button>\n", styles: [":host{height:24px}.icon{height:20px;width:20px}span{font-weight:700}.button{background-color:transparent;border:none}\n"] }]
        }], propDecorators: { type: [{
                type: Input
            }], clicked: [{
                type: Output
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbXVuaWNhdGlvbi1pY29uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb250YWN0LWNhcmQvY29tbXVuaWNhdGlvbi9jb21tdW5pY2F0aW9uLWljb24vY29tbXVuaWNhdGlvbi1pY29uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb250YWN0LWNhcmQvY29tbXVuaWNhdGlvbi9jb21tdW5pY2F0aW9uLWljb24vY29tbXVuaWNhdGlvbi1pY29uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUMsTUFBTSxlQUFlLENBQUM7Ozs7O0FBT3JFLE1BQU0sT0FBTywwQkFBM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