import { Component, HostBinding, ChangeDetectionStrategy, ViewEncapsulation, Input, HostListener, Output, EventEmitter } from '@angular/core';
import { consumeEvent } from '@eui/core';
import * as i0 from "@angular/core";
import * as i1 from "../../components/atoms/eui-icon/eui-icon.component";
import * as i2 from "@angular/common";
import * as i3 from "../eui-overlay/eui-overlay.component";
import * as i4 from "../eui-overlay/components/eui-overlay-header/eui-overlay-header.component";
import * as i5 from "../eui-overlay/components/eui-overlay-body/eui-overlay-body.component";
import * as i6 from "../eui-overlay/components/eui-overlay-footer/eui-overlay-footer.component";
import * as i7 from "../../components/atoms/eui-badge/eui-badge.component";
import * as i8 from "../../components/eui-button/eui-button.component";
import * as i9 from "./eui-notification-item.component";
import * as i10 from "@ngx-translate/core";
function EuiNotificationsComponent_eui_badge_1_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "eui-badge", 11);
    i0.ɵɵtext(1);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r0 = i0.ɵɵnextContext();
    i0.ɵɵadvance(1);
    i0.ɵɵtextInterpolate(ctx_r0.count);
} }
function EuiNotificationsComponent_span_8_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelement(0, "span", 12);
    i0.ɵɵpipe(1, "translate");
    i0.ɵɵpipe(2, "translate");
} if (rf & 2) {
    const ctx_r1 = i0.ɵɵnextContext();
    i0.ɵɵpropertyInterpolate("title", ctx_r1.unreadLabel ? ctx_r1.unreadLabel : i0.ɵɵpipeBind1(2, 4, "eui.NOTIFICATIONSUNREAD"));
    i0.ɵɵattribute("aria-label", ctx_r1.unreadLabel ? ctx_r1.unreadLabel : i0.ɵɵpipeBind1(1, 2, "eui.NOTIFICATIONSUNREAD"));
} }
function EuiNotificationsComponent_eui_badge_9_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "eui-badge");
    i0.ɵɵtext(1);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r2 = i0.ɵɵnextContext();
    i0.ɵɵadvance(1);
    i0.ɵɵtextInterpolate(ctx_r2.count);
} }
function EuiNotificationsComponent_eui_badge_10_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "eui-badge");
    i0.ɵɵtext(1);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r3 = i0.ɵɵnextContext();
    i0.ɵɵadvance(1);
    i0.ɵɵtextInterpolate(ctx_r3.items.length);
} }
function EuiNotificationsComponent_div_11_eui_button_1_Template(rf, ctx) { if (rf & 1) {
    const _r12 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "eui-button", 16);
    i0.ɵɵlistener("click", function EuiNotificationsComponent_div_11_eui_button_1_Template_eui_button_click_0_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r11 = i0.ɵɵnextContext(2); return ctx_r11.onMarkAllAsRead($event); });
    i0.ɵɵpipe(1, "translate");
    i0.ɵɵelement(2, "span", 17);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r8 = i0.ɵɵnextContext(2);
    i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(1, 2, ctx_r8.markAllAsReadLabel));
    i0.ɵɵattribute("aria-label", ctx_r8.markAllAsReadLabel);
} }
function EuiNotificationsComponent_div_11_eui_button_2_Template(rf, ctx) { if (rf & 1) {
    const _r14 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "eui-button", 18);
    i0.ɵɵlistener("click", function EuiNotificationsComponent_div_11_eui_button_2_Template_eui_button_click_0_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(2); return ctx_r13.onSettings($event); });
    i0.ɵɵelement(1, "span", 19);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r9 = i0.ɵɵnextContext(2);
    i0.ɵɵpropertyInterpolate("title", ctx_r9.settingsLabel);
    i0.ɵɵattribute("aria-label", ctx_r9.settingsLabel);
} }
function EuiNotificationsComponent_div_11_eui_button_3_Template(rf, ctx) { if (rf & 1) {
    const _r16 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "eui-button", 18);
    i0.ɵɵlistener("click", function EuiNotificationsComponent_div_11_eui_button_3_Template_eui_button_click_0_listener($event) { i0.ɵɵrestoreView(_r16); const ctx_r15 = i0.ɵɵnextContext(2); return ctx_r15.onRefresh($event); });
    i0.ɵɵelement(1, "span", 20);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r10 = i0.ɵɵnextContext(2);
    i0.ɵɵpropertyInterpolate("title", ctx_r10.refreshLabel);
    i0.ɵɵattribute("aria-label", ctx_r10.refreshLabel);
} }
function EuiNotificationsComponent_div_11_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "div", 13);
    i0.ɵɵtemplate(1, EuiNotificationsComponent_div_11_eui_button_1_Template, 3, 4, "eui-button", 14);
    i0.ɵɵtemplate(2, EuiNotificationsComponent_div_11_eui_button_2_Template, 2, 2, "eui-button", 15);
    i0.ɵɵtemplate(3, EuiNotificationsComponent_div_11_eui_button_3_Template, 2, 2, "eui-button", 15);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r4 = i0.ɵɵnextContext();
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngIf", ctx_r4.isShowMarkAllAsReadButton);
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngIf", ctx_r4.isShowSettingsButton);
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngIf", ctx_r4.isShowRefreshButton);
} }
function EuiNotificationsComponent_ul_13_eui_notification_item_1_Template(rf, ctx) { if (rf & 1) {
    const _r20 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "eui-notification-item", 23);
    i0.ɵɵlistener("itemClick", function EuiNotificationsComponent_ul_13_eui_notification_item_1_Template_eui_notification_item_itemClick_0_listener($event) { i0.ɵɵrestoreView(_r20); const ctx_r19 = i0.ɵɵnextContext(2); return ctx_r19.onItemClick($event); })("itemMarkAsRead", function EuiNotificationsComponent_ul_13_eui_notification_item_1_Template_eui_notification_item_itemMarkAsRead_0_listener($event) { i0.ɵɵrestoreView(_r20); const ctx_r21 = i0.ɵɵnextContext(2); return ctx_r21.onItemMarkAsRead($event); });
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const item_r18 = ctx.$implicit;
    const ctx_r17 = i0.ɵɵnextContext(2);
    i0.ɵɵproperty("item", item_r18)("dateFormat", ctx_r17.dateFormat)("markAsReadLabel", ctx_r17.markAsReadLabel)("isShowMarkAsRead", ctx_r17.isShowMarkAsRead);
} }
function EuiNotificationsComponent_ul_13_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "ul", 21);
    i0.ɵɵtemplate(1, EuiNotificationsComponent_ul_13_eui_notification_item_1_Template, 1, 4, "eui-notification-item", 22);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r5 = i0.ɵɵnextContext();
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngForOf", ctx_r5.items)("ngForTrackBy", ctx_r5.trackByFn);
} }
function EuiNotificationsComponent_ng_template_15_Template(rf, ctx) { if (rf & 1) {
    const _r23 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "strong");
    i0.ɵɵelementStart(1, "a", 24);
    i0.ɵɵlistener("click", function EuiNotificationsComponent_ng_template_15_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r23); const ctx_r22 = i0.ɵɵnextContext(); return ctx_r22.onViewAllClick($event); });
    i0.ɵɵtext(2);
    i0.ɵɵpipe(3, "translate");
    i0.ɵɵelementEnd();
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r6 = i0.ɵɵnextContext();
    i0.ɵɵadvance(2);
    i0.ɵɵtextInterpolate(ctx_r6.viewAllNotificationsLabel ? ctx_r6.viewAllNotificationsLabel : i0.ɵɵpipeBind1(3, 1, "eui.VIEWALLNOTIFICATIONS"));
} }
function EuiNotificationsComponent_ng_template_16_div_0_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "div", 26);
    i0.ɵɵtext(1);
    i0.ɵɵpipe(2, "translate");
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r24 = i0.ɵɵnextContext(2);
    i0.ɵɵadvance(1);
    i0.ɵɵtextInterpolate(ctx_r24.noNotificationFoundLabel ? ctx_r24.noNotificationFoundLabel : i0.ɵɵpipeBind1(2, 1, "eui.NONOTIFICATIONFOUND"));
} }
function EuiNotificationsComponent_ng_template_16_div_1_Template(rf, ctx) { if (rf & 1) {
    const _r27 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "div", 26);
    i0.ɵɵelementStart(1, "strong");
    i0.ɵɵelementStart(2, "a", 24);
    i0.ɵɵlistener("click", function EuiNotificationsComponent_ng_template_16_div_1_Template_a_click_2_listener($event) { i0.ɵɵrestoreView(_r27); const ctx_r26 = i0.ɵɵnextContext(2); return ctx_r26.onNoNotificationFoundClick($event); });
    i0.ɵɵtext(3);
    i0.ɵɵpipe(4, "translate");
    i0.ɵɵelementEnd();
    i0.ɵɵelementEnd();
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r25 = i0.ɵɵnextContext(2);
    i0.ɵɵadvance(3);
    i0.ɵɵtextInterpolate(ctx_r25.noNotificationFoundLabel ? ctx_r25.noNotificationFoundLabel : i0.ɵɵpipeBind1(4, 1, "eui.NONOTIFICATIONFOUND"));
} }
function EuiNotificationsComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵtemplate(0, EuiNotificationsComponent_ng_template_16_div_0_Template, 3, 3, "div", 25);
    i0.ɵɵtemplate(1, EuiNotificationsComponent_ng_template_16_div_1_Template, 5, 3, "div", 25);
} if (rf & 2) {
    const ctx_r7 = i0.ɵɵnextContext();
    i0.ɵɵproperty("ngIf", !ctx_r7.noNotificationFoundLink);
    i0.ɵɵadvance(1);
    i0.ɵɵproperty("ngIf", ctx_r7.noNotificationFoundLink);
} }
export class EuiNotificationsComponent {
    constructor() {
        this.string = 'eui-notifications';
        this.count = null;
        this.items = [];
        this.viewAllNotificationsLabel = null;
        this.headerTitleLabel = null;
        this.noNotificationFoundLabel = null;
        this.noNotificationFoundLink = false;
        this.unreadLabel = null;
        this.totalLabel = null;
        this.markAsReadLabel = null;
        this.markAsUnReadLabel = null;
        this.markAllAsReadLabel = null;
        this.settingsLabel = 'settings';
        this.refreshLabel = 'refresh';
        this.isShowMarkAsRead = true;
        this.isShowViewAllAction = true;
        this.isHidePanelOnViewAllAction = true;
        this.customUnreadCount = false;
        this.nbUnreadCount = null;
        this.dateFormat = 'DD/MM/YYYY';
        this.isShowMarkAllAsReadButton = true;
        this.isShowSettingsButton = true;
        this.isShowRefreshButton = true;
        this.refreshClick = new EventEmitter();
        this.viewAllClick = new EventEmitter();
        this.settingsClick = new EventEmitter();
        this.markAllAsReadClick = new EventEmitter();
        this.noNotificationFoundClick = new EventEmitter();
        this.itemClick = new EventEmitter();
        this.itemMarkAsReadClick = new EventEmitter();
        this.isOverlayActive = false;
        this.currentDayNotifications = [];
        this.oldestNotifications = [];
        this.unreadNotifications = [];
        this.today = new Date();
    }
    onHide() {
        this.isOverlayActive = false;
    }
    onClicked(event) {
        consumeEvent(event);
        this.isOverlayActive = !this.isOverlayActive;
    }
    ngOnChanges(changes) {
        if (!this.customUnreadCount) {
            this.nbUnreadCount = this._getUnreadCount();
        }
    }
    ngOnInit() {
        if (!this.customUnreadCount) {
            this.nbUnreadCount = this._getUnreadCount();
        }
    }
    onRefresh(event) {
        this.refreshClick.emit();
        consumeEvent(event);
    }
    onItemClick(link) {
        this.itemClick.emit(link);
        consumeEvent(event);
    }
    onViewAllClick(event) {
        this.viewAllClick.emit();
        if (!this.isHidePanelOnViewAllAction) {
            consumeEvent(event);
        }
    }
    onNoNotificationFoundClick(event) {
        this.noNotificationFoundClick.emit();
    }
    onItemMarkAsRead(link) {
        this.itemMarkAsReadClick.emit(link);
    }
    onMarkAllAsRead(e) {
        this.markAllAsReadClick.emit(e);
        consumeEvent(e);
    }
    onSettings(e) {
        this.settingsClick.emit(e);
        consumeEvent(e);
    }
    trackByFn(index, item) {
        return item.id;
    }
    _getUnreadCount() {
        let unreadNotifications = this.items.filter((link) => {
            if (link.metadata) {
                return link.metadata.read === false;
            }
            return false;
        });
        return unreadNotifications.length;
    }
}
/** @nocollapse */ EuiNotificationsComponent.ɵfac = function EuiNotificationsComponent_Factory(t) { return new (t || EuiNotificationsComponent)(); };
/** @nocollapse */ EuiNotificationsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: EuiNotificationsComponent, selectors: [["eui-notifications"]], hostVars: 2, hostBindings: function EuiNotificationsComponent_HostBindings(rf, ctx) { if (rf & 1) {
        i0.ɵɵlistener("click", function EuiNotificationsComponent_click_HostBindingHandler() { return ctx.onHide(); }, false, i0.ɵɵresolveBody);
    } if (rf & 2) {
        i0.ɵɵclassMap(ctx.string);
    } }, inputs: { count: "count", items: "items", viewAllNotificationsLabel: "viewAllNotificationsLabel", headerTitleLabel: "headerTitleLabel", noNotificationFoundLabel: "noNotificationFoundLabel", noNotificationFoundLink: "noNotificationFoundLink", unreadLabel: "unreadLabel", totalLabel: "totalLabel", markAsReadLabel: "markAsReadLabel", markAsUnReadLabel: "markAsUnReadLabel", markAllAsReadLabel: "markAllAsReadLabel", settingsLabel: "settingsLabel", refreshLabel: "refreshLabel", isShowMarkAsRead: "isShowMarkAsRead", isShowViewAllAction: "isShowViewAllAction", isHidePanelOnViewAllAction: "isHidePanelOnViewAllAction", customUnreadCount: "customUnreadCount", nbUnreadCount: "nbUnreadCount", dateFormat: "dateFormat", isShowMarkAllAsReadButton: "isShowMarkAllAsReadButton", isShowSettingsButton: "isShowSettingsButton", isShowRefreshButton: "isShowRefreshButton" }, outputs: { refreshClick: "refreshClick", viewAllClick: "viewAllClick", settingsClick: "settingsClick", markAllAsReadClick: "markAllAsReadClick", noNotificationFoundClick: "noNotificationFoundClick", itemClick: "itemClick", itemMarkAsReadClick: "itemMarkAsReadClick" }, features: [i0.ɵɵNgOnChangesFeature], decls: 17, vars: 12, consts: [["role", "button", "euiSize2XL", "", "iconClass", "eui-icon-bell", "styleClass", "eui-u-cursor-pointer", 3, "click"], ["euiSizeXS", "", "euiDanger", "", 4, "ngIf"], [3, "isActive"], ["euiPrimary", ""], [1, "eui-notifications__header-title"], [1, "eui-notifications__header-title-label"], ["class", "eui-u-cursor-help ml-2", 3, "title", 4, "ngIf"], [4, "ngIf"], ["class", "eui-notifications__header-actions", 4, "ngIf"], ["class", "eui-notifications-items", 4, "ngIf"], [3, "ngIf"], ["euiSizeXS", "", "euiDanger", ""], [1, "eui-u-cursor-help", "ml-2", 3, "title"], [1, "eui-notifications__header-actions"], ["euiBasicButton", "", "euiSizeS", "", "euiPrimary", "", 3, "title", "click", 4, "ngIf"], ["euiBasicButton", "", "euiSizeS", "", "euiPrimary", "", "class", "ml-1", 3, "title", "click", 4, "ngIf"], ["euiBasicButton", "", "euiSizeS", "", "euiPrimary", "", 3, "title", "click"], [1, "eui-icon", "eui-icon-check"], ["euiBasicButton", "", "euiSizeS", "", "euiPrimary", "", 1, "ml-1", 3, "title", "click"], [1, "eui-icon", "eui-icon-ecl-gear"], [1, "eui-icon", "eui-icon-refresh"], [1, "eui-notifications-items"], [3, "item", "dateFormat", "markAsReadLabel", "isShowMarkAsRead", "itemClick", "itemMarkAsRead", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "item", "dateFormat", "markAsReadLabel", "isShowMarkAsRead", "itemClick", "itemMarkAsRead"], [3, "click"], ["class", "ux-notification__item-content", 4, "ngIf"], [1, "ux-notification__item-content"]], template: function EuiNotificationsComponent_Template(rf, ctx) { if (rf & 1) {
        i0.ɵɵelementStart(0, "eui-icon", 0);
        i0.ɵɵlistener("click", function EuiNotificationsComponent_Template_eui_icon_click_0_listener($event) { return ctx.onClicked($event); });
        i0.ɵɵtemplate(1, EuiNotificationsComponent_eui_badge_1_Template, 2, 1, "eui-badge", 1);
        i0.ɵɵelementEnd();
        i0.ɵɵelementStart(2, "eui-overlay", 2);
        i0.ɵɵelementStart(3, "eui-overlay-header", 3);
        i0.ɵɵelementStart(4, "div", 4);
        i0.ɵɵelementStart(5, "div", 5);
        i0.ɵɵtext(6);
        i0.ɵɵpipe(7, "translate");
        i0.ɵɵtemplate(8, EuiNotificationsComponent_span_8_Template, 3, 6, "span", 6);
        i0.ɵɵtemplate(9, EuiNotificationsComponent_eui_badge_9_Template, 2, 1, "eui-badge", 7);
        i0.ɵɵtemplate(10, EuiNotificationsComponent_eui_badge_10_Template, 2, 1, "eui-badge", 7);
        i0.ɵɵelementEnd();
        i0.ɵɵelementEnd();
        i0.ɵɵtemplate(11, EuiNotificationsComponent_div_11_Template, 4, 3, "div", 8);
        i0.ɵɵelementEnd();
        i0.ɵɵelementStart(12, "eui-overlay-body");
        i0.ɵɵtemplate(13, EuiNotificationsComponent_ul_13_Template, 2, 2, "ul", 9);
        i0.ɵɵelementEnd();
        i0.ɵɵelementStart(14, "eui-overlay-footer");
        i0.ɵɵtemplate(15, EuiNotificationsComponent_ng_template_15_Template, 4, 3, "ng-template", 10);
        i0.ɵɵtemplate(16, EuiNotificationsComponent_ng_template_16_Template, 2, 2, "ng-template", 10);
        i0.ɵɵelementEnd();
        i0.ɵɵelementEnd();
    } if (rf & 2) {
        i0.ɵɵadvance(1);
        i0.ɵɵproperty("ngIf", ctx.count);
        i0.ɵɵadvance(1);
        i0.ɵɵproperty("isActive", ctx.isOverlayActive);
        i0.ɵɵadvance(4);
        i0.ɵɵtextInterpolate1(" ", ctx.headerTitleLabel ? ctx.headerTitleLabel : i0.ɵɵpipeBind1(7, 10, "eui.MYNOTIFICATIONS"), " ");
        i0.ɵɵadvance(2);
        i0.ɵɵproperty("ngIf", ctx.items);
        i0.ɵɵadvance(1);
        i0.ɵɵproperty("ngIf", ctx.count);
        i0.ɵɵadvance(1);
        i0.ɵɵproperty("ngIf", !ctx.count);
        i0.ɵɵadvance(1);
        i0.ɵɵproperty("ngIf", ctx.items);
        i0.ɵɵadvance(2);
        i0.ɵɵproperty("ngIf", ctx.items);
        i0.ɵɵadvance(2);
        i0.ɵɵproperty("ngIf", (ctx.items == null ? null : ctx.items.length) > 0);
        i0.ɵɵadvance(1);
        i0.ɵɵproperty("ngIf", (ctx.items == null ? null : ctx.items.length) === 0);
    } }, directives: [i1.EuiIconComponent, i2.NgIf, i3.EuiOverlayComponent, i4.EuiOverlayHeaderComponent, i5.EuiOverlayBodyComponent, i6.EuiOverlayFooterComponent, i7.EuiBadgeComponent, i8.EuiButtonComponent, i2.NgForOf, i9.EuiNotificationItemComponent], pipes: [i10.TranslatePipe], styles: [".eui-overlay-header{background-color:var(--eui-color-grey-lightest)}.eui-notifications__header,.eui-overlay-header{border-bottom:1px solid var(--eui-color-grey-lighter)}.eui-notifications__header{align-items:center;color:var(--eui-color-font);display:flex;padding:var(--eui-spacing-xs) var(--eui-spacing)}.eui-notifications__header-title{display:flex}.eui-notifications__header-title-label{font-size:var(--eui-font-size-l);font-style:normal;font-weight:700}.eui-notifications__header-title-subLabel{font-size:var(--eui-font-size-s);font-style:normal;font-weight:400;margin-top:var(--eui-spacing-xs)}.eui-notifications__header-actions{margin-left:auto}.eui-notification-item{display:flex;flex-direction:column;overflow-y:auto}.eui-notification-item-content{background-color:var(--eui-color-info-lightester-2);border-bottom:1px solid #dfdfdf;cursor:pointer;display:flex;flex-direction:column;min-height:82px;padding:.75rem 1rem}.eui-notification-item-content-top{align-items:center;display:flex;justify-content:space-between}.eui-notification-item-content-top__date{align-items:center;display:flex}.eui-notification-item-content-top__date-icon{position:relative}.eui-notification-item-content-top__date-icon--rotated{transform:rotate(20deg)}.eui-notification-item-content-top__date-icon-dot{position:absolute;right:0;top:0}.eui-notification-item-content-middle{margin:.375rem 0}.eui-notification-item-content-middle__sub-label{margin-top:.25rem}.eui-notification-item-content-bottom{display:flex;justify-content:flex-end}"], encapsulation: 2 });
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(EuiNotificationsComponent, [{
        type: Component,
        args: [{
                selector: 'eui-notifications',
                templateUrl: './eui-notifications.component.html',
                styleUrls: ['./styles/_index.scss'],
                changeDetection: ChangeDetectionStrategy.Default,
                encapsulation: ViewEncapsulation.None,
            }]
    }], function () { return []; }, { string: [{
            type: HostBinding,
            args: ['class']
        }], count: [{
            type: Input
        }], items: [{
            type: Input
        }], viewAllNotificationsLabel: [{
            type: Input
        }], headerTitleLabel: [{
            type: Input
        }], noNotificationFoundLabel: [{
            type: Input
        }], noNotificationFoundLink: [{
            type: Input
        }], unreadLabel: [{
            type: Input
        }], totalLabel: [{
            type: Input
        }], markAsReadLabel: [{
            type: Input
        }], markAsUnReadLabel: [{
            type: Input
        }], markAllAsReadLabel: [{
            type: Input
        }], settingsLabel: [{
            type: Input
        }], refreshLabel: [{
            type: Input
        }], isShowMarkAsRead: [{
            type: Input
        }], isShowViewAllAction: [{
            type: Input
        }], isHidePanelOnViewAllAction: [{
            type: Input
        }], customUnreadCount: [{
            type: Input
        }], nbUnreadCount: [{
            type: Input
        }], dateFormat: [{
            type: Input
        }], isShowMarkAllAsReadButton: [{
            type: Input
        }], isShowSettingsButton: [{
            type: Input
        }], isShowRefreshButton: [{
            type: Input
        }], refreshClick: [{
            type: Output
        }], viewAllClick: [{
            type: Output
        }], settingsClick: [{
            type: Output
        }], markAllAsReadClick: [{
            type: Output
        }], noNotificationFoundClick: [{
            type: Output
        }], itemClick: [{
            type: Output
        }], itemMarkAsReadClick: [{
            type: Output
        }], onHide: [{
            type: HostListener,
            args: ['body:click']
        }] }); })();
//# sourceMappingURL=data:application/json;base64, 