/**
 * @fileoverview added by tsickle
 * Generated from: lib/routing/navigation/components/navbar/navbar.component.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component, Input } from '@angular/core';
/**
 * @param {?} nav
 * @return {?}
 */
export function checkClick(nav) {
    if (nav && nav.onClick) {
        return nav.onClick;
    }
    return (/**
     * @return {?}
     */
    () => { });
}
export class NavbarComponent {
    constructor() {
        this.checkClick = checkClick;
        this.navTitle = 'Inclouded';
    }
}
NavbarComponent.decorators = [
    { type: Component, args: [{
                selector: 'inc-navbar',
                template: "<ion-split-pane contentId=\"main\">\r\n  <ion-menu contentId=\"main\">\r\n    <ion-content>\r\n      <ion-list lines=\"none\">\r\n        <ion-item *ngIf=\"navTitle\">\r\n          <ion-label class=\"inc-nav-title ion-text-center\">\r\n            {{navTitle | translate}}\r\n          </ion-label>\r\n        </ion-item>\r\n      </ion-list>\r\n      <span *ngIf=\"navList\">\r\n        <ion-menu-toggle auto-hide=\"false\">\r\n          <ion-item lines=\"none\" [id]=\"nav.id\" routerDirection=\"root\" [routerLink]=\"nav.url\" (click)=\"checkClick(nav)()\"\r\n            *ngFor=\"let nav of navList | incNavShowPipe\" routerLinkActive=\"inc-active-link\">\r\n            <ion-icon slot=\"start\" [name]=\"nav.icon\"></ion-icon>\r\n            <ion-label>\r\n              {{nav.label | translate}}\r\n            </ion-label>\r\n          </ion-item>\r\n        </ion-menu-toggle>\r\n      </span>\r\n    </ion-content>\r\n  </ion-menu>\r\n  <ion-router-outlet id=\"main\"></ion-router-outlet>\r\n</ion-split-pane>",
                styles: [".split-pane-md.split-pane-visible>.split-pane-side{max-width:250px}.inc-nav-title{font-weight:700;text-transform:uppercase}ion-split-pane{--border:0}ion-menu ion-content,ion-menu ion-item,ion-menu ion-list{background:var(--ion-color-dark);--background:var(--ion-color-dark)}ion-menu ion-item,ion-menu ion-item ion-icon{color:var(--ion-color-medium)}ion-menu-toggle ion-item{--background-hover:rgba(255, 255, 255, .05);--color-hover:var(--ion-color-medium);text-transform:capitalize}ion-item.inc-active-link{color:var(--ion-color-light)!important;--color-hover:var(--ion-color-light)!important;border:0 solid var(--ion-color-primary-tint);border-left-width:4px}ion-item:not(.inc-active-link){padding-left:4px}.inc-active-link ion-icon{color:var(--ion-color-primary-tint)!important}"]
            }] }
];
/** @nocollapse */
NavbarComponent.ctorParameters = () => [];
NavbarComponent.propDecorators = {
    navTitle: [{ type: Input }],
    navList: [{ type: Input }]
};
if (false) {
    /** @type {?} */
    NavbarComponent.prototype.checkClick;
    /** @type {?} */
    NavbarComponent.prototype.navTitle;
    /** @type {?} */
    NavbarComponent.prototype.navList;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2YmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpbmNsb3VkZWQvaW9uaWM0LWluY2xvdWRlZC1saWIvIiwic291cmNlcyI6WyJsaWIvcm91dGluZy9uYXZpZ2F0aW9uL2NvbXBvbmVudHMvbmF2YmFyL25hdmJhci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7QUFHakQsTUFBTSxVQUFVLFVBQVUsQ0FBQyxHQUFZO0lBQ3JDLElBQUksR0FBRyxJQUFJLEdBQUcsQ0FBQyxPQUFPLEVBQUU7UUFDdEIsT0FBTyxHQUFHLENBQUMsT0FBTyxDQUFDO0tBQ3BCO0lBQ0Q7OztJQUFPLEdBQUcsRUFBRSxHQUFHLENBQUMsRUFBQztBQUNuQixDQUFDO0FBT0QsTUFBTSxPQUFPLGVBQWU7SUFNMUI7UUFMQSxlQUFVLEdBQUcsVUFBVSxDQUFDO1FBRWYsYUFBUSxHQUFHLFdBQVcsQ0FBQztJQUdoQixDQUFDOzs7WUF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