/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component } from '@angular/core';
import { NotificationService } from '../notification.service';
export class NotificationLauncherComponent {
    /**
     * @param {?} notifications
     */
    constructor(notifications) {
        this.notifications = notifications;
    }
    /**
     * @return {?}
     */
    ngOnInit() {
        this.unread$ = this.notifications.unread$;
    }
}
NotificationLauncherComponent.decorators = [
    { type: Component, args: [{
                selector: 'bidi-notification-launcher',
                template: "<div class=\"is-relative\">\n  <a>\n    <svg class=\"icon-tt-new-notifications icon has-text-dark\" style=\"margin-left: 4px;\">\n      <use xlink:href=\"#icon-tt-new-notifications\"></use>\n    </svg>\n    <span *ngIf=\"unread$ | async as unread\">{{ unread }}</span>\n    <p class=\" is-uppercase is-size-7\" style=\"margin-top: 3px;\">Notificaciones</p>\n  </a>\n</div>\n",
                styles: ["div{position:relative;margin-bottom:7px}div span{background:red;color:#fff;text-align:center;position:absolute;top:-7px;left:16px;font-size:.7rem;border-radius:50%;min-width:16px;height:16px;font-weight:600}"]
            }] }
];
/** @nocollapse */
NotificationLauncherComponent.ctorParameters = () => [
    { type: NotificationService }
];
if (false) {
    /** @type {?} */
    NotificationLauncherComponent.prototype.unread$;
    /**
     * @type {?}
     * @private
     */
    NotificationLauncherComponent.prototype.notifications;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLWxhdW5jaGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BiaWRpL2NvbW1vbi1jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL21vZHVsZXMvbm90aWZpY2F0aW9uL25vdGlmaWNhdGlvbi1sYXVuY2hlci9ub3RpZmljYXRpb24tbGF1bmNoZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUF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