import { Component, HostBinding, Input } from '@angular/core';
import { coerceBooleanProperty } from '@angular/cdk/coercion';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "@angular/router";
export class NavigationContentItemComponent {
    constructor() {
    }
    set disabled(value) {
        this._disabled = coerceBooleanProperty(value);
    }
    get disabled() {
        return this._disabled;
    }
    ngOnInit() {
    }
}
NavigationContentItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NavigationContentItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
NavigationContentItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: NavigationContentItemComponent, selector: "ui-navigation-content-item", inputs: { link: "link", title: "title", disabled: "disabled" }, host: { properties: { "class.disabled": "this._disabled" } }, ngImport: i0, template: "<ng-container *ngIf=\"link\">\n  <a href=\"#\" [routerLink]=\"link\" routerLinkActive=\"active\" [title]=\"title\">\n    <ng-content></ng-content>\n  </a>\n</ng-container>\n", styles: [".transition{transition:all .5s ease-in}.transition-fast{transition:all .2s ease-in}:host{display:flex}:host:not(:last-child){padding-right:32px}:host.disabled a{color:var(--color-contrast-20);cursor:not-allowed}:host.disabled a:hover{color:var(--color-contrast-20)}a{position:relative;padding:0 0 12px;white-space:nowrap;color:var(--color-contrast-40);transition:color .2s ease-in-out;cursor:pointer;text-decoration:none}a.active{font-weight:var(--font-weight-medium);color:var(--color-contrast-100)}a.active:before{content:\" \";position:absolute;width:100%;height:2px;left:0;bottom:0;background:var(--color-contrast-100);border-radius:1px}a:focus{outline:1px dotted var(--color-accent);outline-offset:-1px}a:focus:not(:focus-visible){outline:none}a:focus-visible{outline-offset:-1px}@media not all and (pointer:coarse){a:hover{color:var(--color-contrast-100)}}"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "routerLinkActive"], exportAs: ["routerLinkActive"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NavigationContentItemComponent, decorators: [{
            type: Component,
            args: [{
                    selector: 'ui-navigation-content-item',
                    templateUrl: './navigation-content-item.component.html',
                    styleUrls: ['./navigation-content-item.component.scss']
                }]
        }], ctorParameters: function () { return []; }, propDecorators: { link: [{
                type: Input
            }], title: [{
                type: Input
            }], _disabled: [{
                type: HostBinding,
                args: ['class.disabled']
            }], disabled: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2aWdhdGlvbi1jb250ZW50LWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vdWkta2l0L3NyYy9saWIvbmF2aWdhdGlvbi9uYXZpZ2F0aW9uLWNvbnRlbnQvbmF2aWdhdGlvbi1jb250ZW50LWl0ZW0vbmF2aWdhdGlvbi1jb250ZW50LWl0ZW0uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vdWkta2l0L3NyYy9saWIvbmF2aWdhdGlvbi9uYXZpZ2F0aW9uLWNvbnRlbnQvbmF2aWdhdGlvbi1jb250ZW50LWl0ZW0vbmF2aWdhdGlvbi1jb250ZW50LWl0ZW0uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxXQUFXLEVBQUUsS0FBSyxFQUFTLE1BQU0sZUFBZSxDQUFDO0FBQ3BFLE9BQU8sRUFBQyxxQkFBcUIsRUFBQyxNQUFNLHV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