@eui/components 21.0.0-alpha.18 → 21.0.0-alpha.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/changelog.html +60 -0
- package/docs/components/EuiAppComponent.html +7 -3
- package/docs/components/EuiAppHeaderComponent.html +1 -1
- package/docs/components/EuiAppToolbarComponent.html +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +48 -506
- package/docs/properties.html +1 -1
- package/fesm2022/eui-components-layout.mjs +2358 -15
- package/fesm2022/eui-components-layout.mjs.map +1 -1
- package/fesm2022/eui-components.mjs +1 -146
- package/fesm2022/eui-components.mjs.map +1 -1
- package/index.d.ts +1 -69
- package/index.d.ts.map +1 -1
- package/layout/index.d.ts +743 -9
- package/layout/index.d.ts.map +1 -1
- package/package.json +28 -56
- package/fesm2022/eui-components-layout-eui-app.mjs +0 -841
- package/fesm2022/eui-components-layout-eui-app.mjs.map +0 -1
- package/fesm2022/eui-components-layout-eui-footer.mjs +0 -37
- package/fesm2022/eui-components-layout-eui-footer.mjs.map +0 -1
- package/fesm2022/eui-components-layout-eui-header.mjs +0 -420
- package/fesm2022/eui-components-layout-eui-header.mjs.map +0 -1
- package/fesm2022/eui-components-layout-eui-notifications-v2.mjs +0 -264
- package/fesm2022/eui-components-layout-eui-notifications-v2.mjs.map +0 -1
- package/fesm2022/eui-components-layout-eui-notifications.mjs +0 -277
- package/fesm2022/eui-components-layout-eui-notifications.mjs.map +0 -1
- package/fesm2022/eui-components-layout-eui-sidebar-toggle.mjs +0 -57
- package/fesm2022/eui-components-layout-eui-sidebar-toggle.mjs.map +0 -1
- package/fesm2022/eui-components-layout-eui-toolbar.mjs +0 -621
- package/fesm2022/eui-components-layout-eui-toolbar.mjs.map +0 -1
- package/layout/eui-app/index.d.ts +0 -259
- package/layout/eui-app/index.d.ts.map +0 -1
- package/layout/eui-app/package.json +0 -3
- package/layout/eui-footer/index.d.ts +0 -14
- package/layout/eui-footer/index.d.ts.map +0 -1
- package/layout/eui-footer/package.json +0 -3
- package/layout/eui-header/index.d.ts +0 -136
- package/layout/eui-header/index.d.ts.map +0 -1
- package/layout/eui-header/package.json +0 -3
- package/layout/eui-notifications/index.d.ts +0 -99
- package/layout/eui-notifications/index.d.ts.map +0 -1
- package/layout/eui-notifications/package.json +0 -3
- package/layout/eui-notifications-v2/index.d.ts +0 -88
- package/layout/eui-notifications-v2/index.d.ts.map +0 -1
- package/layout/eui-notifications-v2/package.json +0 -3
- package/layout/eui-sidebar-toggle/index.d.ts +0 -17
- package/layout/eui-sidebar-toggle/index.d.ts.map +0 -1
- package/layout/eui-sidebar-toggle/package.json +0 -3
- package/layout/eui-toolbar/index.d.ts +0 -193
- package/layout/eui-toolbar/index.d.ts.map +0 -1
- package/layout/eui-toolbar/package.json +0 -3
@@ -1,264 +0,0 @@
|
|
1
|
-
import * as i0 from '@angular/core';
|
2
|
-
import { EventEmitter, booleanAttribute, Input, Output, HostBinding, Component, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';
|
3
|
-
import { consumeEvent } from '@eui/core';
|
4
|
-
import { NgClass, DatePipe } from '@angular/common';
|
5
|
-
import * as i1 from '@eui/components/eui-icon';
|
6
|
-
import { EUI_ICON } from '@eui/components/eui-icon';
|
7
|
-
import { EuiTruncatePipe } from '@eui/components/pipes';
|
8
|
-
import * as i2 from '@ngx-translate/core';
|
9
|
-
import { TranslateModule } from '@ngx-translate/core';
|
10
|
-
import * as i3 from '@eui/components/eui-badge';
|
11
|
-
import { EUI_BADGE } from '@eui/components/eui-badge';
|
12
|
-
import * as i2$1 from '@eui/components/eui-icon-button';
|
13
|
-
import { EUI_ICON_BUTTON } from '@eui/components/eui-icon-button';
|
14
|
-
import * as i4 from '@eui/components/eui-overlay';
|
15
|
-
import { EUI_OVERLAY } from '@eui/components/eui-overlay';
|
16
|
-
import { EUI_BUTTON } from '@eui/components/eui-button';
|
17
|
-
|
18
|
-
class EuiNotificationItemV2Component {
|
19
|
-
constructor() {
|
20
|
-
this.string = 'eui-notification-item';
|
21
|
-
this.itemClick = new EventEmitter();
|
22
|
-
this.itemMarkAsRead = new EventEmitter();
|
23
|
-
this.markAsReadLabel = null;
|
24
|
-
this.dateFormat = 'dd/MM/YYYY';
|
25
|
-
this.tooltipSize = 'auto';
|
26
|
-
this.isShowMarkAsRead = true;
|
27
|
-
}
|
28
|
-
get iconColor() {
|
29
|
-
return this.item.metadata?.read ? 'secondary-light' : 'secondary';
|
30
|
-
}
|
31
|
-
onItemClick() {
|
32
|
-
this.itemClick.emit(this.item);
|
33
|
-
}
|
34
|
-
onItemMarkAsRead(event) {
|
35
|
-
if (this.item.metadata) {
|
36
|
-
this.item.metadata.read = true;
|
37
|
-
}
|
38
|
-
this.itemMarkAsRead.emit(this.item);
|
39
|
-
consumeEvent(event);
|
40
|
-
}
|
41
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiNotificationItemV2Component, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
42
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0-next.3", type: EuiNotificationItemV2Component, isStandalone: true, selector: "eui-notification-item-v2", inputs: { markAsReadLabel: "markAsReadLabel", item: "item", dateFormat: "dateFormat", isShowMarkAsRead: ["isShowMarkAsRead", "isShowMarkAsRead", booleanAttribute] }, outputs: { itemClick: "itemClick", itemMarkAsRead: "itemMarkAsRead" }, host: { properties: { "class": "this.string" } }, ngImport: i0, template: "<div\n class=\"eui-notification-item-content\"\n (click)=\"onItemClick()\"\n [ngClass]=\"{ 'eui-u-c-bg-white': item.metadata?.read || !item.metadata }\">\n <div class=\"eui-notification-item-content-top eui-u-f-s\">\n @if (item.metadata?.date) {\n <div class=\"eui-notification-item-content-top__date\">\n <span class=\"eui-notification-item-content-top__date-icon eui-u-mr-s\">\n <eui-icon-svg icon=\"notifications:sharp\" size=\"m\" [fillColor]=\"iconColor\"></eui-icon-svg>\n @if (item.metadata?.new) {\n <span class=\"eui-notification-item-content-top__date-dot eui-u-c-danger-light eui-u-f-s eui-icon eui-icon-circle\"></span>\n }\n </span>\n <span>{{ item.metadata?.date | date: dateFormat }}</span>\n </div>\n }\n @if (item.metadata?.important) {\n <div class=\"eui-u-f-m-bold\">\n <eui-icon-svg icon=\"alert:sharp\" fillColor=\"danger-100\" class=\"eui-u-ml-xs\"></eui-icon-svg>\n </div>\n }\n </div>\n <span class=\"eui-notification-item-content-middle eui-u-cursor-pointer\">\n @if (item.metadata?.url) {\n <a class=\"eui-u-text-link\" href=\"{{ item.metadata.url }}\" tabIndex=\"0\">\n <div\n class=\"eui-notification-item-content-middle__label\"\n [ngClass]=\"{ 'eui-u-f-m-semi-bold': !item.metadata || (item.metadata && !item.metadata.read) }\">\n {{ item.label | translate | euiTruncate: 200 }}\n </div>\n @if (item.subLabel) {\n <div\n class=\"eui-notification-item-content-middle__sub-label\"\n [innerHTML]=\"item.subLabel | translate | euiTruncate: 200\"></div>\n }\n </a>\n }\n\n @if (item.metadata?.urlExternal) {\n <a class=\"eui-u-text-link-external\"\n href=\"{{ item.metadata.urlExternal }}\"\n [target]=\"!item.metadata.urlExternalTarget ? '_blank' : item.metadata.urlExternalTarget\" tabIndex=\"0\">\n <div\n class=\"eui-notification-item-content-middle__label\"\n [ngClass]=\"{ 'eui-u-f-m-semi-bold': !item.metadata || (item.metadata && !item.metadata.read) }\">\n {{ item.label | translate | euiTruncate: 200 }}\n </div>\n @if (item.subLabel) {\n <div\n class=\"eui-notification-item-content-middle__sub-label\"\n [innerHTML]=\"item.subLabel | translate | euiTruncate: 200\"></div>\n }\n </a>\n }\n\n @if (!item.metadata?.url && !item.metadata?.urlExternal) {\n <div\n class=\"eui-notification-item-content-middle__label\"\n [ngClass]=\"{ 'eui-u-f-m-bold': !item.metadata || (item.metadata && !item.metadata.read) }\">\n {{ item.label | translate | euiTruncate: 200 }}\n </div>\n @if (item.subLabel) {\n <div\n class=\"eui-notification-item-content-middle__sub-label\"\n [innerHTML]=\"item.subLabel | translate | euiTruncate: 200\"></div>\n }\n }\n </span>\n <div class=\"eui-notification-item-content-bottom\">\n @if (isShowMarkAsRead && item.metadata && !item.metadata.read) {\n <a\n class=\"eui-u-text-link\"\n href=\"javascript:void(0)\"\n (click)=\"onItemMarkAsRead($event)\" tabIndex=\"0\">\n {{ markAsReadLabel ? markAsReadLabel : ('eui.NOTIFICATIONMARKASREAD' | translate) }}\n </a>\n }\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "component", type: i1.EuiIconSvgComponent, selector: "eui-icon-svg, span[euiIconSvg], i[euiIconSvg]", inputs: ["icon", "fillColor", "set", "size", "style", "iconUrl", "transform", "euiVariant", "aria-label", "ariaHidden", "focusable", "isLoading", "isInputIcon", "euiStart", "euiEnd"] }, { kind: "pipe", type: DatePipe, name: "date" }, { kind: "pipe", type: EuiTruncatePipe, name: "euiTruncate" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
43
|
-
}
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiNotificationItemV2Component, decorators: [{
|
45
|
-
type: Component,
|
46
|
-
args: [{ selector: 'eui-notification-item-v2', imports: [
|
47
|
-
NgClass,
|
48
|
-
DatePipe,
|
49
|
-
EuiTruncatePipe,
|
50
|
-
TranslateModule,
|
51
|
-
...EUI_ICON,
|
52
|
-
], template: "<div\n class=\"eui-notification-item-content\"\n (click)=\"onItemClick()\"\n [ngClass]=\"{ 'eui-u-c-bg-white': item.metadata?.read || !item.metadata }\">\n <div class=\"eui-notification-item-content-top eui-u-f-s\">\n @if (item.metadata?.date) {\n <div class=\"eui-notification-item-content-top__date\">\n <span class=\"eui-notification-item-content-top__date-icon eui-u-mr-s\">\n <eui-icon-svg icon=\"notifications:sharp\" size=\"m\" [fillColor]=\"iconColor\"></eui-icon-svg>\n @if (item.metadata?.new) {\n <span class=\"eui-notification-item-content-top__date-dot eui-u-c-danger-light eui-u-f-s eui-icon eui-icon-circle\"></span>\n }\n </span>\n <span>{{ item.metadata?.date | date: dateFormat }}</span>\n </div>\n }\n @if (item.metadata?.important) {\n <div class=\"eui-u-f-m-bold\">\n <eui-icon-svg icon=\"alert:sharp\" fillColor=\"danger-100\" class=\"eui-u-ml-xs\"></eui-icon-svg>\n </div>\n }\n </div>\n <span class=\"eui-notification-item-content-middle eui-u-cursor-pointer\">\n @if (item.metadata?.url) {\n <a class=\"eui-u-text-link\" href=\"{{ item.metadata.url }}\" tabIndex=\"0\">\n <div\n class=\"eui-notification-item-content-middle__label\"\n [ngClass]=\"{ 'eui-u-f-m-semi-bold': !item.metadata || (item.metadata && !item.metadata.read) }\">\n {{ item.label | translate | euiTruncate: 200 }}\n </div>\n @if (item.subLabel) {\n <div\n class=\"eui-notification-item-content-middle__sub-label\"\n [innerHTML]=\"item.subLabel | translate | euiTruncate: 200\"></div>\n }\n </a>\n }\n\n @if (item.metadata?.urlExternal) {\n <a class=\"eui-u-text-link-external\"\n href=\"{{ item.metadata.urlExternal }}\"\n [target]=\"!item.metadata.urlExternalTarget ? '_blank' : item.metadata.urlExternalTarget\" tabIndex=\"0\">\n <div\n class=\"eui-notification-item-content-middle__label\"\n [ngClass]=\"{ 'eui-u-f-m-semi-bold': !item.metadata || (item.metadata && !item.metadata.read) }\">\n {{ item.label | translate | euiTruncate: 200 }}\n </div>\n @if (item.subLabel) {\n <div\n class=\"eui-notification-item-content-middle__sub-label\"\n [innerHTML]=\"item.subLabel | translate | euiTruncate: 200\"></div>\n }\n </a>\n }\n\n @if (!item.metadata?.url && !item.metadata?.urlExternal) {\n <div\n class=\"eui-notification-item-content-middle__label\"\n [ngClass]=\"{ 'eui-u-f-m-bold': !item.metadata || (item.metadata && !item.metadata.read) }\">\n {{ item.label | translate | euiTruncate: 200 }}\n </div>\n @if (item.subLabel) {\n <div\n class=\"eui-notification-item-content-middle__sub-label\"\n [innerHTML]=\"item.subLabel | translate | euiTruncate: 200\"></div>\n }\n }\n </span>\n <div class=\"eui-notification-item-content-bottom\">\n @if (isShowMarkAsRead && item.metadata && !item.metadata.read) {\n <a\n class=\"eui-u-text-link\"\n href=\"javascript:void(0)\"\n (click)=\"onItemMarkAsRead($event)\" tabIndex=\"0\">\n {{ markAsReadLabel ? markAsReadLabel : ('eui.NOTIFICATIONMARKASREAD' | translate) }}\n </a>\n }\n </div>\n</div>\n" }]
|
53
|
-
}], propDecorators: { string: [{
|
54
|
-
type: HostBinding,
|
55
|
-
args: ['class']
|
56
|
-
}], itemClick: [{
|
57
|
-
type: Output
|
58
|
-
}], itemMarkAsRead: [{
|
59
|
-
type: Output
|
60
|
-
}], markAsReadLabel: [{
|
61
|
-
type: Input
|
62
|
-
}], item: [{
|
63
|
-
type: Input
|
64
|
-
}], dateFormat: [{
|
65
|
-
type: Input
|
66
|
-
}], isShowMarkAsRead: [{
|
67
|
-
type: Input,
|
68
|
-
args: [{ transform: booleanAttribute }]
|
69
|
-
}] } });
|
70
|
-
|
71
|
-
class EuiNotificationsV2Component {
|
72
|
-
constructor() {
|
73
|
-
this.refreshClick = new EventEmitter();
|
74
|
-
this.notificationsClick = new EventEmitter();
|
75
|
-
this.viewAllClick = new EventEmitter();
|
76
|
-
// @Output() settingsClick: EventEmitter<any> = new EventEmitter<any>();
|
77
|
-
this.markAllAsReadClick = new EventEmitter();
|
78
|
-
this.noNotificationFoundClick = new EventEmitter();
|
79
|
-
this.itemClick = new EventEmitter();
|
80
|
-
this.itemMarkAsReadClick = new EventEmitter();
|
81
|
-
this.isOverlayActive = false;
|
82
|
-
this.currentDayNotifications = [];
|
83
|
-
this.oldestNotifications = [];
|
84
|
-
this.unreadNotifications = [];
|
85
|
-
this.today = new Date();
|
86
|
-
this.string = 'eui-notifications-v2';
|
87
|
-
this.count = null;
|
88
|
-
this.unreadCount = null;
|
89
|
-
this.unreadSinceLastCheckCount = null;
|
90
|
-
this.items = [];
|
91
|
-
this.unreadLabel = null;
|
92
|
-
this.totalLabel = null;
|
93
|
-
this.markAsReadLabel = null;
|
94
|
-
this.markAsUnReadLabel = null;
|
95
|
-
this.markAllAsReadLabel = null;
|
96
|
-
this.settingsLabel = null;
|
97
|
-
this.refreshLabel = null;
|
98
|
-
this.viewAllNotificationsLabel = null;
|
99
|
-
this.headerTitleLabel = null;
|
100
|
-
this.headerHideLabel = null;
|
101
|
-
this.headerUnreadSinceLastCheckCountLabel = null;
|
102
|
-
this.headerUnreadCountLabel = null;
|
103
|
-
this.noNotificationFoundLabel = null;
|
104
|
-
this.dateFormat = 'dd/MM/YYYY';
|
105
|
-
this.noNotificationFoundLink = false;
|
106
|
-
this.isShowMarkAsRead = true;
|
107
|
-
this.isShowViewAllAction = true;
|
108
|
-
this.isHidePanelOnViewAllAction = true;
|
109
|
-
this.isShowMarkAllAsReadButton = true;
|
110
|
-
this.isShowSettingsButton = true;
|
111
|
-
this.isShowRefreshButton = true;
|
112
|
-
}
|
113
|
-
get isShowUnreadSinceLastCheckCount() {
|
114
|
-
return this.unreadSinceLastCheckCount && this.unreadSinceLastCheckCount > 0;
|
115
|
-
}
|
116
|
-
onHide() {
|
117
|
-
this.isOverlayActive = false;
|
118
|
-
}
|
119
|
-
onClicked(event) {
|
120
|
-
this.notificationsClick.emit();
|
121
|
-
consumeEvent(event);
|
122
|
-
this.isOverlayActive = !this.isOverlayActive;
|
123
|
-
}
|
124
|
-
onRefresh(event) {
|
125
|
-
this.refreshClick.emit();
|
126
|
-
consumeEvent(event);
|
127
|
-
}
|
128
|
-
onItemClick(link) {
|
129
|
-
this.itemClick.emit(link);
|
130
|
-
consumeEvent(event);
|
131
|
-
}
|
132
|
-
onViewAllClick(event) {
|
133
|
-
this.viewAllClick.emit();
|
134
|
-
if (!this.isHidePanelOnViewAllAction) {
|
135
|
-
consumeEvent(event);
|
136
|
-
}
|
137
|
-
}
|
138
|
-
onNoNotificationFoundClick() {
|
139
|
-
this.noNotificationFoundClick.emit();
|
140
|
-
}
|
141
|
-
onItemMarkAsRead(link) {
|
142
|
-
this.itemMarkAsReadClick.emit(link);
|
143
|
-
}
|
144
|
-
onMarkAllAsRead(e) {
|
145
|
-
this.markAllAsReadClick.emit(e);
|
146
|
-
consumeEvent(e);
|
147
|
-
}
|
148
|
-
// TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html
|
149
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
150
|
-
trackByFn(index, item) {
|
151
|
-
return item.id;
|
152
|
-
}
|
153
|
-
updateActiveState(isActive) {
|
154
|
-
this.isOverlayActive = isActive;
|
155
|
-
}
|
156
|
-
getAriaLabel() {
|
157
|
-
if (this.count) {
|
158
|
-
return this.count > 1
|
159
|
-
? ` You have ${this.count} notifications`
|
160
|
-
: `You have ${this.count} notification`;
|
161
|
-
}
|
162
|
-
return 'Open notifications panel';
|
163
|
-
}
|
164
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiNotificationsV2Component, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
165
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0-next.3", type: EuiNotificationsV2Component, isStandalone: true, selector: "eui-notifications-v2", inputs: { count: "count", unreadCount: "unreadCount", unreadSinceLastCheckCount: "unreadSinceLastCheckCount", items: "items", unreadLabel: "unreadLabel", totalLabel: "totalLabel", markAsReadLabel: "markAsReadLabel", markAsUnReadLabel: "markAsUnReadLabel", markAllAsReadLabel: "markAllAsReadLabel", settingsLabel: "settingsLabel", refreshLabel: "refreshLabel", viewAllNotificationsLabel: "viewAllNotificationsLabel", headerTitleLabel: "headerTitleLabel", headerHideLabel: "headerHideLabel", headerUnreadSinceLastCheckCountLabel: "headerUnreadSinceLastCheckCountLabel", headerUnreadCountLabel: "headerUnreadCountLabel", noNotificationFoundLabel: "noNotificationFoundLabel", dateFormat: "dateFormat", noNotificationFoundLink: ["noNotificationFoundLink", "noNotificationFoundLink", booleanAttribute], isShowMarkAsRead: ["isShowMarkAsRead", "isShowMarkAsRead", booleanAttribute], isShowViewAllAction: ["isShowViewAllAction", "isShowViewAllAction", booleanAttribute], isHidePanelOnViewAllAction: ["isHidePanelOnViewAllAction", "isHidePanelOnViewAllAction", booleanAttribute], isShowMarkAllAsReadButton: ["isShowMarkAllAsReadButton", "isShowMarkAllAsReadButton", booleanAttribute], isShowSettingsButton: ["isShowSettingsButton", "isShowSettingsButton", booleanAttribute], isShowRefreshButton: ["isShowRefreshButton", "isShowRefreshButton", booleanAttribute] }, outputs: { refreshClick: "refreshClick", notificationsClick: "notificationsClick", viewAllClick: "viewAllClick", markAllAsReadClick: "markAllAsReadClick", noNotificationFoundClick: "noNotificationFoundClick", itemClick: "itemClick", itemMarkAsReadClick: "itemMarkAsReadClick" }, host: { properties: { "class": "this.string" } }, ngImport: i0, template: "<eui-icon-button\n class=\"eui-notifications-v2__trigger\"\n icon=\"eui-notifications-o\"\n fillColor=\"white\"\n (click)=\"onClicked($event)\"\n [ariaLabel]=\"getAriaLabel()\">\n @if (isShowUnreadSinceLastCheckCount) {\n <eui-badge euiSizeM euiDanger [maxCharCount]=\"2\">{{ unreadSinceLastCheckCount }}</eui-badge>\n }\n</eui-icon-button>\n\n@if (isOverlayActive){\n <eui-overlay isActive hasClosedOnClickOutside class=\"eui-overlay-offset--width-30\" (activeState)=\"updateActiveState($event)\">\n <eui-overlay-header>\n <div class=\"eui-notifications-v2__header\">\n <div class=\"eui-notifications-v2__header-title\">\n <div class=\"eui-notifications-v2__header-title-label\">\n {{ headerTitleLabel ? headerTitleLabel : ('eui.MYNOTIFICATIONS' | translate) }}\n </div>\n \n <div class=\"eui-notifications-v2__header-title-actions\">\n <span class=\"hide\">\n <a (click)=\"onHide()\" class=\"eui-u-text-link\" role=\"button\" tabIndex=\"0\">\n {{ headerHideLabel ? headerHideLabel : ('eui.HIDE' | translate) }}\n </a>\n <eui-icon-svg icon=\"chevron-forward:sharp\" size=\"2xs\"></eui-icon-svg>\n </span>\n </div>\n </div>\n \n <div class=\"eui-notifications-v2__header-subinfos-bar\">\n <strong>{{ unreadSinceLastCheckCount }}</strong>\n <span class=\"eui-u-ml-xs\">{{\n headerUnreadSinceLastCheckCountLabel ? headerUnreadSinceLastCheckCountLabel : ('eui.NEW-COUNT' | translate)\n }}</span>\n \n <span class=\"eui-u-ml-xs\">|</span>\n \n <span class=\"eui-u-ml-xs\">{{ unreadCount }}</span>\n <span class=\"eui-u-ml-xs\">{{ headerUnreadCountLabel ? headerUnreadCountLabel : ('eui.NEW-COUNT' | translate) }}</span>\n </div>\n \n <div class=\"eui-notifications-v2__header-subactions-bar\">\n @if (items.length > 0) {\n <a (click)=\"onMarkAllAsRead($event)\" class=\"eui-u-text-link\" tabIndex=\"0\">\n {{ 'notif.MARK-ALL-READ' | translate }}\n </a>\n }\n <a (click)=\"onRefresh($event)\" class=\"eui-u-text-link eui-u-ml-auto\" tabIndex=\"0\">\n <span class=\"eui-u-flex\">\n <eui-icon-svg set=\"eui\" icon=\"eui-refresh\" fillColor=\"secondary\"></eui-icon-svg>\n {{ 'notif.SV-REFRESH' | translate }}\n </span>\n </a>\n </div>\n </div>\n </eui-overlay-header>\n \n <eui-overlay-body>\n @if (items) {\n <ul class=\"eui-notifications-items\">\n @for (item of items; track trackByFn($index, item)) {\n <eui-notification-item-v2\n [item]=\"item\"\n [dateFormat]=\"dateFormat\"\n [markAsReadLabel]=\"markAsReadLabel\"\n [isShowMarkAsRead]=\"isShowMarkAsRead\"\n (itemClick)=\"onItemClick($event)\"\n (itemMarkAsRead)=\"onItemMarkAsRead($event)\">\n </eui-notification-item-v2>\n }\n </ul>\n }\n </eui-overlay-body>\n \n <eui-overlay-footer>\n @if (items?.length > 0) {\n <strong\n ><a (click)=\"onViewAllClick($event)\" class=\"eui-u-text-link\">{{\n viewAllNotificationsLabel ? viewAllNotificationsLabel : ('eui.VIEWALLNOTIFICATIONS' | translate)\n }}</a></strong\n >\n }\n @if (items?.length === 0) {\n @if (!noNotificationFoundLink) {\n <div class=\"ux-notification__item-content\">\n {{ noNotificationFoundLabel ? noNotificationFoundLabel : ('eui.NONOTIFICATIONFOUND' | translate) }}\n </div>\n }\n @if (noNotificationFoundLink) {\n <div class=\"ux-notification__item-content\">\n <strong\n ><a (click)=\"onNoNotificationFoundClick()\" class=\"eui-u-text-link\">{{\n noNotificationFoundLabel ? noNotificationFoundLabel : ('eui.NONOTIFICATIONFOUND' | translate)\n }}</a></strong\n >\n </div>\n }\n }\n </eui-overlay-footer>\n </eui-overlay>\n}\n", styles: [".eui-19 .eui-overlay-header{padding:0}.eui-19 .eui-overlay-footer{background-color:var(--eui-c-surface-container)}.eui-19 .eui-notifications-items{margin:0;padding:0}.eui-19 .eui-notifications-v2__trigger .eui-icon-svg svg{transform:scale(1.1)}.eui-19 .eui-notifications-v2__header{border-bottom:1px solid var(--eui-c-divider-light);color:var(--eui-c-text);cursor:default;flex-direction:column;display:flex;width:100%}.eui-19 .eui-notifications-v2__header-title{display:flex;padding:var(--eui-s-xs) var(--eui-s-m)}.eui-19 .eui-notifications-v2__header-title-label{font:var(--eui-f-l-semi-bold)}.eui-19 .eui-notifications-v2__header-title-subLabel{margin-top:var(--eui-s-xs);font:var(--eui-f-s)}.eui-19 .eui-notifications-v2__header-title-actions{align-items:center;display:flex;margin-left:auto}.eui-19 .eui-notifications-v2__header-subinfos-bar{display:flex;align-items:center;border-bottom:1px solid var(--eui-c-divider-lightt);padding:var(--eui-s-xs) var(--eui-s-m)}.eui-19 .eui-notifications-v2__header-subactions-bar{display:flex;align-items:center;border-bottom:1px solid var(--eui-c-divider-light);padding:var(--eui-s-xs) var(--eui-s-m)}.eui-19 .eui-notification-item{display:flex;flex-direction:column;overflow-y:auto;margin:0}.eui-19 .eui-notification-item-content{background-color:var(--eui-c-info-surface-light);border-bottom:1px solid var(--eui-c-divider);display:flex;flex-direction:column;min-height:var(--eui-s-6xl);padding:var(--eui-s-s) var(--eui-s-m);cursor:pointer}.eui-19 .eui-notification-item-content:hover{background-color:var(--eui-c-secondary-surface-light)!important}.eui-19 .eui-notification-item-content-top{align-items:center;display:flex;justify-content:space-between}.eui-19 .eui-notification-item-content-top__date{display:flex;align-items:center}.eui-19 .eui-notification-item-content-top__date-icon{align-items:center;display:flex;position:relative}.eui-19 .eui-notification-item-content-top__date-icon--rotated{transform:rotate(20deg)}.eui-19 .eui-notification-item-content-top__date-icon-dot{position:absolute;top:0;right:0}.eui-19 .eui-notification-item-content-middle{display:flex;margin:var(--eui-s-3xs) 0}.eui-19 .eui-notification-item-content-middle__sub-label{margin-top:var(--eui-s-3xs)}.eui-19 .eui-notification-item-content-bottom{display:flex;justify-content:flex-end}\n"], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "component", type: EuiNotificationItemV2Component, selector: "eui-notification-item-v2", inputs: ["markAsReadLabel", "item", "dateFormat", "isShowMarkAsRead"], outputs: ["itemClick", "itemMarkAsRead"] }, { kind: "component", type: i1.EuiIconSvgComponent, selector: "eui-icon-svg, span[euiIconSvg], i[euiIconSvg]", inputs: ["icon", "fillColor", "set", "size", "style", "iconUrl", "transform", "euiVariant", "aria-label", "ariaHidden", "focusable", "isLoading", "isInputIcon", "euiStart", "euiEnd"] }, { kind: "component", type: i2$1.EuiIconButtonComponent, selector: "eui-icon-button", inputs: ["icon", "iconUrl", "fillColor", "size", "ariaLabel", "tabindex", "hasNoPadding", "hasOverflowHover", "hasFocusHoverColor", "hasFocusHoverBg", "euiRounded", "euiDisabled"], outputs: ["buttonClick"] }, { kind: "component", type: i3.EuiBadgeComponent, selector: "div[euiBadge], span[euiBadge], eui-badge", inputs: ["e2eAttr", "aria-label", "maxCharCount", "charReplacement", "euiIconBadge", "euiDottedBadge"] }, { kind: "component", type: i4.EuiOverlayHeaderComponent, selector: "eui-overlay-header" }, { kind: "component", type: i4.EuiOverlayBodyComponent, selector: "eui-overlay-body" }, { kind: "component", type: i4.EuiOverlayFooterComponent, selector: "eui-overlay-footer" }, { kind: "component", type: i4.EuiOverlayComponent, selector: "eui-overlay", inputs: ["isActive", "euiHighlighted", "hasClosedOnClickOutside", "position", "width", "fixedWidth"], outputs: ["activeState"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
166
|
-
}
|
167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EuiNotificationsV2Component, decorators: [{
|
168
|
-
type: Component,
|
169
|
-
args: [{ selector: 'eui-notifications-v2', changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None, imports: [
|
170
|
-
TranslateModule,
|
171
|
-
EuiNotificationItemV2Component,
|
172
|
-
...EUI_ICON,
|
173
|
-
...EUI_ICON_BUTTON,
|
174
|
-
...EUI_BADGE,
|
175
|
-
...EUI_OVERLAY,
|
176
|
-
...EUI_BUTTON,
|
177
|
-
], template: "<eui-icon-button\n class=\"eui-notifications-v2__trigger\"\n icon=\"eui-notifications-o\"\n fillColor=\"white\"\n (click)=\"onClicked($event)\"\n [ariaLabel]=\"getAriaLabel()\">\n @if (isShowUnreadSinceLastCheckCount) {\n <eui-badge euiSizeM euiDanger [maxCharCount]=\"2\">{{ unreadSinceLastCheckCount }}</eui-badge>\n }\n</eui-icon-button>\n\n@if (isOverlayActive){\n <eui-overlay isActive hasClosedOnClickOutside class=\"eui-overlay-offset--width-30\" (activeState)=\"updateActiveState($event)\">\n <eui-overlay-header>\n <div class=\"eui-notifications-v2__header\">\n <div class=\"eui-notifications-v2__header-title\">\n <div class=\"eui-notifications-v2__header-title-label\">\n {{ headerTitleLabel ? headerTitleLabel : ('eui.MYNOTIFICATIONS' | translate) }}\n </div>\n \n <div class=\"eui-notifications-v2__header-title-actions\">\n <span class=\"hide\">\n <a (click)=\"onHide()\" class=\"eui-u-text-link\" role=\"button\" tabIndex=\"0\">\n {{ headerHideLabel ? headerHideLabel : ('eui.HIDE' | translate) }}\n </a>\n <eui-icon-svg icon=\"chevron-forward:sharp\" size=\"2xs\"></eui-icon-svg>\n </span>\n </div>\n </div>\n \n <div class=\"eui-notifications-v2__header-subinfos-bar\">\n <strong>{{ unreadSinceLastCheckCount }}</strong>\n <span class=\"eui-u-ml-xs\">{{\n headerUnreadSinceLastCheckCountLabel ? headerUnreadSinceLastCheckCountLabel : ('eui.NEW-COUNT' | translate)\n }}</span>\n \n <span class=\"eui-u-ml-xs\">|</span>\n \n <span class=\"eui-u-ml-xs\">{{ unreadCount }}</span>\n <span class=\"eui-u-ml-xs\">{{ headerUnreadCountLabel ? headerUnreadCountLabel : ('eui.NEW-COUNT' | translate) }}</span>\n </div>\n \n <div class=\"eui-notifications-v2__header-subactions-bar\">\n @if (items.length > 0) {\n <a (click)=\"onMarkAllAsRead($event)\" class=\"eui-u-text-link\" tabIndex=\"0\">\n {{ 'notif.MARK-ALL-READ' | translate }}\n </a>\n }\n <a (click)=\"onRefresh($event)\" class=\"eui-u-text-link eui-u-ml-auto\" tabIndex=\"0\">\n <span class=\"eui-u-flex\">\n <eui-icon-svg set=\"eui\" icon=\"eui-refresh\" fillColor=\"secondary\"></eui-icon-svg>\n {{ 'notif.SV-REFRESH' | translate }}\n </span>\n </a>\n </div>\n </div>\n </eui-overlay-header>\n \n <eui-overlay-body>\n @if (items) {\n <ul class=\"eui-notifications-items\">\n @for (item of items; track trackByFn($index, item)) {\n <eui-notification-item-v2\n [item]=\"item\"\n [dateFormat]=\"dateFormat\"\n [markAsReadLabel]=\"markAsReadLabel\"\n [isShowMarkAsRead]=\"isShowMarkAsRead\"\n (itemClick)=\"onItemClick($event)\"\n (itemMarkAsRead)=\"onItemMarkAsRead($event)\">\n </eui-notification-item-v2>\n }\n </ul>\n }\n </eui-overlay-body>\n \n <eui-overlay-footer>\n @if (items?.length > 0) {\n <strong\n ><a (click)=\"onViewAllClick($event)\" class=\"eui-u-text-link\">{{\n viewAllNotificationsLabel ? viewAllNotificationsLabel : ('eui.VIEWALLNOTIFICATIONS' | translate)\n }}</a></strong\n >\n }\n @if (items?.length === 0) {\n @if (!noNotificationFoundLink) {\n <div class=\"ux-notification__item-content\">\n {{ noNotificationFoundLabel ? noNotificationFoundLabel : ('eui.NONOTIFICATIONFOUND' | translate) }}\n </div>\n }\n @if (noNotificationFoundLink) {\n <div class=\"ux-notification__item-content\">\n <strong\n ><a (click)=\"onNoNotificationFoundClick()\" class=\"eui-u-text-link\">{{\n noNotificationFoundLabel ? noNotificationFoundLabel : ('eui.NONOTIFICATIONFOUND' | translate)\n }}</a></strong\n >\n </div>\n }\n }\n </eui-overlay-footer>\n </eui-overlay>\n}\n", styles: [".eui-19 .eui-overlay-header{padding:0}.eui-19 .eui-overlay-footer{background-color:var(--eui-c-surface-container)}.eui-19 .eui-notifications-items{margin:0;padding:0}.eui-19 .eui-notifications-v2__trigger .eui-icon-svg svg{transform:scale(1.1)}.eui-19 .eui-notifications-v2__header{border-bottom:1px solid var(--eui-c-divider-light);color:var(--eui-c-text);cursor:default;flex-direction:column;display:flex;width:100%}.eui-19 .eui-notifications-v2__header-title{display:flex;padding:var(--eui-s-xs) var(--eui-s-m)}.eui-19 .eui-notifications-v2__header-title-label{font:var(--eui-f-l-semi-bold)}.eui-19 .eui-notifications-v2__header-title-subLabel{margin-top:var(--eui-s-xs);font:var(--eui-f-s)}.eui-19 .eui-notifications-v2__header-title-actions{align-items:center;display:flex;margin-left:auto}.eui-19 .eui-notifications-v2__header-subinfos-bar{display:flex;align-items:center;border-bottom:1px solid var(--eui-c-divider-lightt);padding:var(--eui-s-xs) var(--eui-s-m)}.eui-19 .eui-notifications-v2__header-subactions-bar{display:flex;align-items:center;border-bottom:1px solid var(--eui-c-divider-light);padding:var(--eui-s-xs) var(--eui-s-m)}.eui-19 .eui-notification-item{display:flex;flex-direction:column;overflow-y:auto;margin:0}.eui-19 .eui-notification-item-content{background-color:var(--eui-c-info-surface-light);border-bottom:1px solid var(--eui-c-divider);display:flex;flex-direction:column;min-height:var(--eui-s-6xl);padding:var(--eui-s-s) var(--eui-s-m);cursor:pointer}.eui-19 .eui-notification-item-content:hover{background-color:var(--eui-c-secondary-surface-light)!important}.eui-19 .eui-notification-item-content-top{align-items:center;display:flex;justify-content:space-between}.eui-19 .eui-notification-item-content-top__date{display:flex;align-items:center}.eui-19 .eui-notification-item-content-top__date-icon{align-items:center;display:flex;position:relative}.eui-19 .eui-notification-item-content-top__date-icon--rotated{transform:rotate(20deg)}.eui-19 .eui-notification-item-content-top__date-icon-dot{position:absolute;top:0;right:0}.eui-19 .eui-notification-item-content-middle{display:flex;margin:var(--eui-s-3xs) 0}.eui-19 .eui-notification-item-content-middle__sub-label{margin-top:var(--eui-s-3xs)}.eui-19 .eui-notification-item-content-bottom{display:flex;justify-content:flex-end}\n"] }]
|
178
|
-
}], propDecorators: { refreshClick: [{
|
179
|
-
type: Output
|
180
|
-
}], notificationsClick: [{
|
181
|
-
type: Output
|
182
|
-
}], viewAllClick: [{
|
183
|
-
type: Output
|
184
|
-
}], markAllAsReadClick: [{
|
185
|
-
type: Output
|
186
|
-
}], noNotificationFoundClick: [{
|
187
|
-
type: Output
|
188
|
-
}], itemClick: [{
|
189
|
-
type: Output
|
190
|
-
}], itemMarkAsReadClick: [{
|
191
|
-
type: Output
|
192
|
-
}], string: [{
|
193
|
-
type: HostBinding,
|
194
|
-
args: ['class']
|
195
|
-
}], count: [{
|
196
|
-
type: Input
|
197
|
-
}], unreadCount: [{
|
198
|
-
type: Input
|
199
|
-
}], unreadSinceLastCheckCount: [{
|
200
|
-
type: Input
|
201
|
-
}], items: [{
|
202
|
-
type: Input
|
203
|
-
}], unreadLabel: [{
|
204
|
-
type: Input
|
205
|
-
}], totalLabel: [{
|
206
|
-
type: Input
|
207
|
-
}], markAsReadLabel: [{
|
208
|
-
type: Input
|
209
|
-
}], markAsUnReadLabel: [{
|
210
|
-
type: Input
|
211
|
-
}], markAllAsReadLabel: [{
|
212
|
-
type: Input
|
213
|
-
}], settingsLabel: [{
|
214
|
-
type: Input
|
215
|
-
}], refreshLabel: [{
|
216
|
-
type: Input
|
217
|
-
}], viewAllNotificationsLabel: [{
|
218
|
-
type: Input
|
219
|
-
}], headerTitleLabel: [{
|
220
|
-
type: Input
|
221
|
-
}], headerHideLabel: [{
|
222
|
-
type: Input
|
223
|
-
}], headerUnreadSinceLastCheckCountLabel: [{
|
224
|
-
type: Input
|
225
|
-
}], headerUnreadCountLabel: [{
|
226
|
-
type: Input
|
227
|
-
}], noNotificationFoundLabel: [{
|
228
|
-
type: Input
|
229
|
-
}], dateFormat: [{
|
230
|
-
type: Input
|
231
|
-
}], noNotificationFoundLink: [{
|
232
|
-
type: Input,
|
233
|
-
args: [{ transform: booleanAttribute }]
|
234
|
-
}], isShowMarkAsRead: [{
|
235
|
-
type: Input,
|
236
|
-
args: [{ transform: booleanAttribute }]
|
237
|
-
}], isShowViewAllAction: [{
|
238
|
-
type: Input,
|
239
|
-
args: [{ transform: booleanAttribute }]
|
240
|
-
}], isHidePanelOnViewAllAction: [{
|
241
|
-
type: Input,
|
242
|
-
args: [{ transform: booleanAttribute }]
|
243
|
-
}], isShowMarkAllAsReadButton: [{
|
244
|
-
type: Input,
|
245
|
-
args: [{ transform: booleanAttribute }]
|
246
|
-
}], isShowSettingsButton: [{
|
247
|
-
type: Input,
|
248
|
-
args: [{ transform: booleanAttribute }]
|
249
|
-
}], isShowRefreshButton: [{
|
250
|
-
type: Input,
|
251
|
-
args: [{ transform: booleanAttribute }]
|
252
|
-
}] } });
|
253
|
-
|
254
|
-
const EUI_NOTIFICATIONS_V2 = [
|
255
|
-
EuiNotificationsV2Component,
|
256
|
-
EuiNotificationItemV2Component,
|
257
|
-
];
|
258
|
-
|
259
|
-
/**
|
260
|
-
* Generated bundle index. Do not edit.
|
261
|
-
*/
|
262
|
-
|
263
|
-
export { EUI_NOTIFICATIONS_V2, EuiNotificationItemV2Component, EuiNotificationsV2Component };
|
264
|
-
//# sourceMappingURL=eui-components-layout-eui-notifications-v2.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"eui-components-layout-eui-notifications-v2.mjs","sources":["../../layout/eui-notifications-v2/eui-notification-item.component.ts","../../layout/eui-notifications-v2/eui-notification-item.component.html","../../layout/eui-notifications-v2/eui-notifications.component.ts","../../layout/eui-notifications-v2/eui-notifications.component.html","../../layout/eui-notifications-v2/index.ts","../../layout/eui-notifications-v2/eui-components-layout-eui-notifications-v2.ts"],"sourcesContent":["import { booleanAttribute, Component, EventEmitter, HostBinding, Input, Output } from '@angular/core';\nimport { UxLinkLegacy } from '@eui/core';\nimport { consumeEvent } from '@eui/core';\nimport { NotificationMetadata } from '@eui/components/layout/eui-notifications';\nimport { DatePipe, NgClass } from '@angular/common';\nimport { EUI_ICON } from '@eui/components/eui-icon';\nimport { EuiTruncatePipe } from '@eui/components/pipes';\nimport { TranslateModule } from '@ngx-translate/core';\n\n@Component({\n selector: 'eui-notification-item-v2',\n templateUrl: './eui-notification-item.component.html',\n imports: [\n NgClass,\n DatePipe,\n EuiTruncatePipe,\n TranslateModule,\n ...EUI_ICON,\n ],\n})\nexport class EuiNotificationItemV2Component {\n @HostBinding('class') string = 'eui-notification-item';\n @Output() itemClick: EventEmitter<UxLinkLegacy> = new EventEmitter<UxLinkLegacy>();\n @Output() itemMarkAsRead: EventEmitter<UxLinkLegacy> = new EventEmitter<UxLinkLegacy>();\n @Input() markAsReadLabel: string = null;\n @Input() item: UxLinkLegacy<NotificationMetadata>;\n @Input() dateFormat = 'dd/MM/YYYY';\n tooltipSize = 'auto';\n @Input({ transform: booleanAttribute }) isShowMarkAsRead = true;\n\n get iconColor(): string {\n return this.item.metadata?.read ? 'secondary-light' : 'secondary';\n }\n\n onItemClick(): void {\n this.itemClick.emit(this.item);\n }\n\n onItemMarkAsRead(event: Event): void {\n if (this.item.metadata) {\n this.item.metadata.read = true;\n }\n this.itemMarkAsRead.emit(this.item);\n consumeEvent(event);\n }\n}\n","<div\n class=\"eui-notification-item-content\"\n (click)=\"onItemClick()\"\n [ngClass]=\"{ 'eui-u-c-bg-white': item.metadata?.read || !item.metadata }\">\n <div class=\"eui-notification-item-content-top eui-u-f-s\">\n @if (item.metadata?.date) {\n <div class=\"eui-notification-item-content-top__date\">\n <span class=\"eui-notification-item-content-top__date-icon eui-u-mr-s\">\n <eui-icon-svg icon=\"notifications:sharp\" size=\"m\" [fillColor]=\"iconColor\"></eui-icon-svg>\n @if (item.metadata?.new) {\n <span class=\"eui-notification-item-content-top__date-dot eui-u-c-danger-light eui-u-f-s eui-icon eui-icon-circle\"></span>\n }\n </span>\n <span>{{ item.metadata?.date | date: dateFormat }}</span>\n </div>\n }\n @if (item.metadata?.important) {\n <div class=\"eui-u-f-m-bold\">\n <eui-icon-svg icon=\"alert:sharp\" fillColor=\"danger-100\" class=\"eui-u-ml-xs\"></eui-icon-svg>\n </div>\n }\n </div>\n <span class=\"eui-notification-item-content-middle eui-u-cursor-pointer\">\n @if (item.metadata?.url) {\n <a class=\"eui-u-text-link\" href=\"{{ item.metadata.url }}\" tabIndex=\"0\">\n <div\n class=\"eui-notification-item-content-middle__label\"\n [ngClass]=\"{ 'eui-u-f-m-semi-bold': !item.metadata || (item.metadata && !item.metadata.read) }\">\n {{ item.label | translate | euiTruncate: 200 }}\n </div>\n @if (item.subLabel) {\n <div\n class=\"eui-notification-item-content-middle__sub-label\"\n [innerHTML]=\"item.subLabel | translate | euiTruncate: 200\"></div>\n }\n </a>\n }\n\n @if (item.metadata?.urlExternal) {\n <a class=\"eui-u-text-link-external\"\n href=\"{{ item.metadata.urlExternal }}\"\n [target]=\"!item.metadata.urlExternalTarget ? '_blank' : item.metadata.urlExternalTarget\" tabIndex=\"0\">\n <div\n class=\"eui-notification-item-content-middle__label\"\n [ngClass]=\"{ 'eui-u-f-m-semi-bold': !item.metadata || (item.metadata && !item.metadata.read) }\">\n {{ item.label | translate | euiTruncate: 200 }}\n </div>\n @if (item.subLabel) {\n <div\n class=\"eui-notification-item-content-middle__sub-label\"\n [innerHTML]=\"item.subLabel | translate | euiTruncate: 200\"></div>\n }\n </a>\n }\n\n @if (!item.metadata?.url && !item.metadata?.urlExternal) {\n <div\n class=\"eui-notification-item-content-middle__label\"\n [ngClass]=\"{ 'eui-u-f-m-bold': !item.metadata || (item.metadata && !item.metadata.read) }\">\n {{ item.label | translate | euiTruncate: 200 }}\n </div>\n @if (item.subLabel) {\n <div\n class=\"eui-notification-item-content-middle__sub-label\"\n [innerHTML]=\"item.subLabel | translate | euiTruncate: 200\"></div>\n }\n }\n </span>\n <div class=\"eui-notification-item-content-bottom\">\n @if (isShowMarkAsRead && item.metadata && !item.metadata.read) {\n <a\n class=\"eui-u-text-link\"\n href=\"javascript:void(0)\"\n (click)=\"onItemMarkAsRead($event)\" tabIndex=\"0\">\n {{ markAsReadLabel ? markAsReadLabel : ('eui.NOTIFICATIONMARKASREAD' | translate) }}\n </a>\n }\n </div>\n</div>\n","import {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n HostBinding,\n Input,\n Output,\n ViewEncapsulation,\n} from '@angular/core';\nimport { EUI_BADGE } from '@eui/components/eui-badge';\nimport { EUI_ICON } from '@eui/components/eui-icon';\nimport { EUI_ICON_BUTTON } from '@eui/components/eui-icon-button';\nimport { EUI_OVERLAY } from '@eui/components/eui-overlay';\nimport { consumeEvent, UxLinkLegacy } from '@eui/core';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { EuiNotificationItemV2Component } from './eui-notification-item.component';\nimport { EUI_BUTTON } from '@eui/components/eui-button';\n\n@Component({\n selector: 'eui-notifications-v2',\n templateUrl: './eui-notifications.component.html',\n styleUrls: ['./styles/_index.scss'],\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n imports: [\n TranslateModule,\n EuiNotificationItemV2Component,\n ...EUI_ICON,\n ...EUI_ICON_BUTTON,\n ...EUI_BADGE,\n ...EUI_OVERLAY,\n ...EUI_BUTTON,\n ],\n})\nexport class EuiNotificationsV2Component {\n @Output() refreshClick: EventEmitter<Event> = new EventEmitter<Event>();\n @Output() notificationsClick: EventEmitter<KeyboardEvent | MouseEvent> = new EventEmitter<KeyboardEvent | MouseEvent>();\n @Output() viewAllClick: EventEmitter<Event> = new EventEmitter<Event>();\n // @Output() settingsClick: EventEmitter<any> = new EventEmitter<any>();\n @Output() markAllAsReadClick: EventEmitter<MouseEvent> = new EventEmitter<MouseEvent>();\n @Output() noNotificationFoundClick: EventEmitter<void> = new EventEmitter<void>();\n @Output() itemClick: EventEmitter<UxLinkLegacy> = new EventEmitter<UxLinkLegacy>();\n @Output() itemMarkAsReadClick: EventEmitter<UxLinkLegacy> = new EventEmitter<UxLinkLegacy>();\n\n isOverlayActive = false;\n currentDayNotifications = [];\n oldestNotifications = [];\n unreadNotifications = [];\n today: Date = new Date();\n\n @HostBinding('class') string = 'eui-notifications-v2';\n\n @Input() count: number = null;\n @Input() unreadCount: number = null;\n @Input() unreadSinceLastCheckCount: number = null;\n @Input() items = [];\n @Input() unreadLabel: string = null;\n @Input() totalLabel: string = null;\n @Input() markAsReadLabel: string = null;\n @Input() markAsUnReadLabel: string = null;\n @Input() markAllAsReadLabel: string = null;\n @Input() settingsLabel: string = null;\n @Input() refreshLabel: string = null;\n @Input() viewAllNotificationsLabel: string = null;\n @Input() headerTitleLabel: string = null;\n @Input() headerHideLabel: string = null;\n @Input() headerUnreadSinceLastCheckCountLabel: string = null;\n @Input() headerUnreadCountLabel: string = null;\n @Input() noNotificationFoundLabel: string = null;\n @Input() dateFormat = 'dd/MM/YYYY';\n @Input({ transform: booleanAttribute }) noNotificationFoundLink = false;\n @Input({ transform: booleanAttribute }) isShowMarkAsRead = true;\n @Input({ transform: booleanAttribute }) isShowViewAllAction = true;\n @Input({ transform: booleanAttribute }) isHidePanelOnViewAllAction = true;\n @Input({ transform: booleanAttribute }) isShowMarkAllAsReadButton = true;\n @Input({ transform: booleanAttribute }) isShowSettingsButton = true;\n @Input({ transform: booleanAttribute }) isShowRefreshButton = true;\n\n get isShowUnreadSinceLastCheckCount(): boolean {\n return this.unreadSinceLastCheckCount && this.unreadSinceLastCheckCount > 0;\n }\n\n onHide(): void {\n this.isOverlayActive = false;\n }\n\n onClicked(event: Event): void {\n this.notificationsClick.emit();\n consumeEvent(event);\n this.isOverlayActive = !this.isOverlayActive;\n }\n\n onRefresh(event: Event): void {\n this.refreshClick.emit();\n consumeEvent(event);\n }\n\n onItemClick(link: UxLinkLegacy): void {\n this.itemClick.emit(link);\n consumeEvent(event);\n }\n\n onViewAllClick(event: Event): void {\n this.viewAllClick.emit();\n if (!this.isHidePanelOnViewAllAction) {\n consumeEvent(event);\n }\n }\n\n onNoNotificationFoundClick(): void {\n this.noNotificationFoundClick.emit();\n }\n\n onItemMarkAsRead(link: UxLinkLegacy): void {\n this.itemMarkAsReadClick.emit(link);\n }\n\n onMarkAllAsRead(e: MouseEvent): void {\n this.markAllAsReadClick.emit(e);\n consumeEvent(e);\n }\n\n // TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n trackByFn(index: number, item: any): void {\n return item.id;\n }\n\n protected updateActiveState(isActive: boolean): void {\n this.isOverlayActive = isActive;\n }\n\n protected getAriaLabel(): string {\n if (this.count) {\n return this.count > 1\n ? ` You have ${this.count} notifications`\n : `You have ${this.count} notification`;\n }\n return 'Open notifications panel';\n }\n}\n","<eui-icon-button\n class=\"eui-notifications-v2__trigger\"\n icon=\"eui-notifications-o\"\n fillColor=\"white\"\n (click)=\"onClicked($event)\"\n [ariaLabel]=\"getAriaLabel()\">\n @if (isShowUnreadSinceLastCheckCount) {\n <eui-badge euiSizeM euiDanger [maxCharCount]=\"2\">{{ unreadSinceLastCheckCount }}</eui-badge>\n }\n</eui-icon-button>\n\n@if (isOverlayActive){\n <eui-overlay isActive hasClosedOnClickOutside class=\"eui-overlay-offset--width-30\" (activeState)=\"updateActiveState($event)\">\n <eui-overlay-header>\n <div class=\"eui-notifications-v2__header\">\n <div class=\"eui-notifications-v2__header-title\">\n <div class=\"eui-notifications-v2__header-title-label\">\n {{ headerTitleLabel ? headerTitleLabel : ('eui.MYNOTIFICATIONS' | translate) }}\n </div>\n \n <div class=\"eui-notifications-v2__header-title-actions\">\n <span class=\"hide\">\n <a (click)=\"onHide()\" class=\"eui-u-text-link\" role=\"button\" tabIndex=\"0\">\n {{ headerHideLabel ? headerHideLabel : ('eui.HIDE' | translate) }}\n </a>\n <eui-icon-svg icon=\"chevron-forward:sharp\" size=\"2xs\"></eui-icon-svg>\n </span>\n </div>\n </div>\n \n <div class=\"eui-notifications-v2__header-subinfos-bar\">\n <strong>{{ unreadSinceLastCheckCount }}</strong>\n <span class=\"eui-u-ml-xs\">{{\n headerUnreadSinceLastCheckCountLabel ? headerUnreadSinceLastCheckCountLabel : ('eui.NEW-COUNT' | translate)\n }}</span>\n \n <span class=\"eui-u-ml-xs\">|</span>\n \n <span class=\"eui-u-ml-xs\">{{ unreadCount }}</span>\n <span class=\"eui-u-ml-xs\">{{ headerUnreadCountLabel ? headerUnreadCountLabel : ('eui.NEW-COUNT' | translate) }}</span>\n </div>\n \n <div class=\"eui-notifications-v2__header-subactions-bar\">\n @if (items.length > 0) {\n <a (click)=\"onMarkAllAsRead($event)\" class=\"eui-u-text-link\" tabIndex=\"0\">\n {{ 'notif.MARK-ALL-READ' | translate }}\n </a>\n }\n <a (click)=\"onRefresh($event)\" class=\"eui-u-text-link eui-u-ml-auto\" tabIndex=\"0\">\n <span class=\"eui-u-flex\">\n <eui-icon-svg set=\"eui\" icon=\"eui-refresh\" fillColor=\"secondary\"></eui-icon-svg>\n {{ 'notif.SV-REFRESH' | translate }}\n </span>\n </a>\n </div>\n </div>\n </eui-overlay-header>\n \n <eui-overlay-body>\n @if (items) {\n <ul class=\"eui-notifications-items\">\n @for (item of items; track trackByFn($index, item)) {\n <eui-notification-item-v2\n [item]=\"item\"\n [dateFormat]=\"dateFormat\"\n [markAsReadLabel]=\"markAsReadLabel\"\n [isShowMarkAsRead]=\"isShowMarkAsRead\"\n (itemClick)=\"onItemClick($event)\"\n (itemMarkAsRead)=\"onItemMarkAsRead($event)\">\n </eui-notification-item-v2>\n }\n </ul>\n }\n </eui-overlay-body>\n \n <eui-overlay-footer>\n @if (items?.length > 0) {\n <strong\n ><a (click)=\"onViewAllClick($event)\" class=\"eui-u-text-link\">{{\n viewAllNotificationsLabel ? viewAllNotificationsLabel : ('eui.VIEWALLNOTIFICATIONS' | translate)\n }}</a></strong\n >\n }\n @if (items?.length === 0) {\n @if (!noNotificationFoundLink) {\n <div class=\"ux-notification__item-content\">\n {{ noNotificationFoundLabel ? noNotificationFoundLabel : ('eui.NONOTIFICATIONFOUND' | translate) }}\n </div>\n }\n @if (noNotificationFoundLink) {\n <div class=\"ux-notification__item-content\">\n <strong\n ><a (click)=\"onNoNotificationFoundClick()\" class=\"eui-u-text-link\">{{\n noNotificationFoundLabel ? noNotificationFoundLabel : ('eui.NONOTIFICATIONFOUND' | translate)\n }}</a></strong\n >\n </div>\n }\n }\n </eui-overlay-footer>\n </eui-overlay>\n}\n","import { EuiNotificationItemV2Component } from './eui-notification-item.component';\nimport { EuiNotificationsV2Component } from './eui-notifications.component';\n\nexport * from './eui-notification-item.component';\nexport * from './eui-notifications.component';\n\nexport const EUI_NOTIFICATIONS_V2 = [\n EuiNotificationsV2Component,\n EuiNotificationItemV2Component,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2","i5"],"mappings":";;;;;;;;;;;;;;;;;MAoBa,8BAA8B,CAAA;AAX3C,IAAA,WAAA,GAAA;QAY0B,IAAA,CAAA,MAAM,GAAG,uBAAuB;AAC5C,QAAA,IAAA,CAAA,SAAS,GAA+B,IAAI,YAAY,EAAgB;AACxE,QAAA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