import { Component, input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/material/button";
import * as i2 from "../icon/icon.component";
/**
 * Navbar icon component allow to display links with only a little icon
 */
export class NavbarIconComponent {
    constructor() {
        /**
         * Icon displayed
         *
         * As string, it display material icon
         * In other case, it possible to put a Icon model (same behaviour as mic-icon)
         */
        this.icon = input(null);
        /**
         * Color 'white' or 'primary' (default value is primary)
         */
        this.color = input('primary');
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NavbarIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: NavbarIconComponent, selector: "mic-navbar-icon", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<button mat-icon-button class=\"mic-icon-button-medium\" [attr.aria-label]=\"icon()\">\r\n  <mic-icon [icon]=\"icon()\"></mic-icon>\r\n</button>\r\n", styles: [":host{align-items:center;display:flex}\n"], dependencies: [{ kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i2.IconComponent, selector: "mic-icon", inputs: ["icon", "fontSet", "ariaLabel", "decorative"] }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NavbarIconComponent, decorators: [{
            type: Component,
            args: [{ selector: 'mic-navbar-icon', template: "<button mat-icon-button class=\"mic-icon-button-medium\" [attr.aria-label]=\"icon()\">\r\n  <mic-icon [icon]=\"icon()\"></mic-icon>\r\n</button>\r\n", styles: [":host{align-items:center;display:flex}\n"] }]
        }] });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2YmFyLWljb24uY29tcG9uZW50Lmp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