@fundamental-ngx/core 0.63.2-rc.5 → 0.63.2-rc.7
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/README.md +1 -1
- package/fesm2022/fundamental-ngx-core-action-bar.mjs +27 -26
- package/fesm2022/fundamental-ngx-core-action-bar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-action-sheet.mjs +25 -22
- package/fesm2022/fundamental-ngx-core-action-sheet.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-avatar-group-legacy.mjs +35 -31
- package/fesm2022/fundamental-ngx-core-avatar-group-legacy.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-avatar-group.mjs +52 -43
- package/fesm2022/fundamental-ngx-core-avatar-group.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-avatar.mjs +67 -43
- package/fesm2022/fundamental-ngx-core-avatar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-bar.mjs +50 -41
- package/fesm2022/fundamental-ngx-core-bar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-breadcrumb.mjs +18 -14
- package/fesm2022/fundamental-ngx-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-busy-indicator.mjs +34 -23
- package/fesm2022/fundamental-ngx-core-busy-indicator.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-button.mjs +56 -37
- package/fesm2022/fundamental-ngx-core-button.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-calendar.mjs +87 -62
- package/fesm2022/fundamental-ngx-core-calendar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-card.mjs +264 -188
- package/fesm2022/fundamental-ngx-core-card.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-carousel.mjs +35 -26
- package/fesm2022/fundamental-ngx-core-carousel.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-checkbox.mjs +7 -7
- package/fesm2022/fundamental-ngx-core-combobox.mjs +19 -18
- package/fesm2022/fundamental-ngx-core-combobox.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-content-density.mjs +46 -36
- package/fesm2022/fundamental-ngx-core-content-density.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-date-picker.mjs +13 -13
- package/fesm2022/fundamental-ngx-core-date-picker.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-datetime-picker.mjs +15 -14
- package/fesm2022/fundamental-ngx-core-datetime-picker.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-datetime.mjs +32 -31
- package/fesm2022/fundamental-ngx-core-datetime.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-dialog.mjs +116 -89
- package/fesm2022/fundamental-ngx-core-dialog.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-dynamic-page.mjs +100 -77
- package/fesm2022/fundamental-ngx-core-dynamic-page.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-dynamic-side-content.mjs +13 -13
- package/fesm2022/fundamental-ngx-core-facets.mjs +24 -20
- package/fesm2022/fundamental-ngx-core-facets.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-feed-input.mjs +18 -17
- package/fesm2022/fundamental-ngx-core-feed-input.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-feed-list-item.mjs +22 -22
- package/fesm2022/fundamental-ngx-core-file-uploader.mjs +16 -16
- package/fesm2022/fundamental-ngx-core-fixed-card-layout.mjs +17 -15
- package/fesm2022/fundamental-ngx-core-fixed-card-layout.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-flexible-column-layout.mjs +7 -7
- package/fesm2022/fundamental-ngx-core-form.mjs +74 -74
- package/fesm2022/fundamental-ngx-core-form.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-formatted-text.mjs +17 -12
- package/fesm2022/fundamental-ngx-core-formatted-text.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-generic-tag.mjs +19 -13
- package/fesm2022/fundamental-ngx-core-generic-tag.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-grid-list.mjs +56 -51
- package/fesm2022/fundamental-ngx-core-grid-list.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-icon.mjs +33 -20
- package/fesm2022/fundamental-ngx-core-icon.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-illustrated-message.mjs +42 -31
- package/fesm2022/fundamental-ngx-core-illustrated-message.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-infinite-scroll.mjs +11 -9
- package/fesm2022/fundamental-ngx-core-infinite-scroll.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-info-label.mjs +29 -18
- package/fesm2022/fundamental-ngx-core-info-label.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-inline-help.mjs +35 -25
- package/fesm2022/fundamental-ngx-core-inline-help.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-input-group.mjs +21 -21
- package/fesm2022/fundamental-ngx-core-input-group.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-layout-grid.mjs +40 -27
- package/fesm2022/fundamental-ngx-core-layout-grid.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-layout-panel.mjs +41 -37
- package/fesm2022/fundamental-ngx-core-layout-panel.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-link.mjs +24 -19
- package/fesm2022/fundamental-ngx-core-link.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-list.mjs +100 -91
- package/fesm2022/fundamental-ngx-core-list.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-menu.mjs +125 -101
- package/fesm2022/fundamental-ngx-core-menu.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-message-box.mjs +39 -38
- package/fesm2022/fundamental-ngx-core-message-box.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-message-page.mjs +19 -19
- package/fesm2022/fundamental-ngx-core-message-strip.mjs +79 -55
- package/fesm2022/fundamental-ngx-core-message-strip.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-message-toast.mjs +17 -17
- package/fesm2022/fundamental-ngx-core-message-toast.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-micro-process-flow.mjs +21 -20
- package/fesm2022/fundamental-ngx-core-micro-process-flow.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-mobile-mode.mjs +3 -3
- package/fesm2022/fundamental-ngx-core-multi-combobox.mjs +98 -66
- package/fesm2022/fundamental-ngx-core-multi-combobox.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-multi-input.mjs +27 -21
- package/fesm2022/fundamental-ngx-core-multi-input.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-nested-list.mjs +46 -43
- package/fesm2022/fundamental-ngx-core-nested-list.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-notification.mjs +178 -132
- package/fesm2022/fundamental-ngx-core-notification.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-object-attribute.mjs +7 -7
- package/fesm2022/fundamental-ngx-core-object-identifier.mjs +24 -17
- package/fesm2022/fundamental-ngx-core-object-identifier.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-object-marker.mjs +41 -24
- package/fesm2022/fundamental-ngx-core-object-marker.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-object-number.mjs +33 -21
- package/fesm2022/fundamental-ngx-core-object-number.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-object-status.mjs +41 -26
- package/fesm2022/fundamental-ngx-core-object-status.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-overflow-layout.mjs +33 -32
- package/fesm2022/fundamental-ngx-core-overflow-layout.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-pagination.mjs +10 -10
- package/fesm2022/fundamental-ngx-core-pagination.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-panel.mjs +51 -35
- package/fesm2022/fundamental-ngx-core-panel.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-popover.mjs +267 -164
- package/fesm2022/fundamental-ngx-core-popover.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-product-switch.mjs +46 -32
- package/fesm2022/fundamental-ngx-core-product-switch.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-progress-indicator.mjs +7 -7
- package/fesm2022/fundamental-ngx-core-quick-view.mjs +47 -44
- package/fesm2022/fundamental-ngx-core-quick-view.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-radio.mjs +8 -8
- package/fesm2022/fundamental-ngx-core-radio.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-rating-indicator.mjs +61 -39
- package/fesm2022/fundamental-ngx-core-rating-indicator.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-resizable-card-layout.mjs +12 -11
- package/fesm2022/fundamental-ngx-core-resizable-card-layout.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-scroll-spy.mjs +17 -12
- package/fesm2022/fundamental-ngx-core-scroll-spy.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-scrollbar.mjs +14 -12
- package/fesm2022/fundamental-ngx-core-scrollbar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-segmented-button.mjs +9 -8
- package/fesm2022/fundamental-ngx-core-segmented-button.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-select.mjs +22 -21
- package/fesm2022/fundamental-ngx-core-select.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-settings.mjs +70 -60
- package/fesm2022/fundamental-ngx-core-settings.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-shared.mjs +3 -3
- package/fesm2022/fundamental-ngx-core-shellbar.mjs +77 -63
- package/fesm2022/fundamental-ngx-core-shellbar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-side-navigation.mjs +13 -13
- package/fesm2022/fundamental-ngx-core-skeleton.mjs +24 -16
- package/fesm2022/fundamental-ngx-core-skeleton.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-slider.mjs +15 -13
- package/fesm2022/fundamental-ngx-core-slider.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-split-button.mjs +10 -10
- package/fesm2022/fundamental-ngx-core-status-indicator.mjs +62 -35
- package/fesm2022/fundamental-ngx-core-status-indicator.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-step-input.mjs +11 -9
- package/fesm2022/fundamental-ngx-core-step-input.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-switch.mjs +8 -8
- package/fesm2022/fundamental-ngx-core-switch.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-table.mjs +51 -50
- package/fesm2022/fundamental-ngx-core-table.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-tabs.mjs +56 -55
- package/fesm2022/fundamental-ngx-core-tabs.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-text.mjs +29 -19
- package/fesm2022/fundamental-ngx-core-text.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-theming.mjs +7 -7
- package/fesm2022/fundamental-ngx-core-tile.mjs +171 -136
- package/fesm2022/fundamental-ngx-core-tile.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-time-picker.mjs +9 -8
- package/fesm2022/fundamental-ngx-core-time-picker.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-time.mjs +16 -13
- package/fesm2022/fundamental-ngx-core-time.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-timeline.mjs +43 -43
- package/fesm2022/fundamental-ngx-core-title.mjs +12 -10
- package/fesm2022/fundamental-ngx-core-title.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-token.mjs +33 -24
- package/fesm2022/fundamental-ngx-core-token.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-toolbar.mjs +35 -32
- package/fesm2022/fundamental-ngx-core-toolbar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-tree.mjs +41 -36
- package/fesm2022/fundamental-ngx-core-tree.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-upload-collection.mjs +37 -37
- package/fesm2022/fundamental-ngx-core-upload-collection.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-user-menu.mjs +108 -84
- package/fesm2022/fundamental-ngx-core-user-menu.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-vertical-navigation.mjs +20 -17
- package/fesm2022/fundamental-ngx-core-vertical-navigation.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-wizard.mjs +41 -32
- package/fesm2022/fundamental-ngx-core-wizard.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core.mjs +4 -4
- package/package.json +11 -10
- package/schematics/add-styles/index.js +3 -3
- package/schematics/add-styles/index.js.map +1 -1
- package/schematics/add-theming/index.js +1 -1
- package/schematics/add-theming/index.js.map +1 -1
- package/schematics/package.json +7 -0
- package/schematics/tsconfig.json +12 -6
- package/schematics/tsconfig.spec.json +2 -0
- package/schematics/utils/calls-providers-function.js +34 -1
- package/schematics/utils/calls-providers-function.js.map +1 -1
- package/schematics/utils/ng-module-utils.js +34 -1
- package/schematics/utils/ng-module-utils.js.map +1 -1
- package/types/fundamental-ngx-core-avatar-group-legacy.d.ts +1 -0
- package/types/fundamental-ngx-core-carousel.d.ts +2 -0
- package/types/fundamental-ngx-core-list.d.ts +2 -2
- package/types/fundamental-ngx-core-menu.d.ts +4 -4
- package/types/fundamental-ngx-core-notification.d.ts +0 -2
- package/types/fundamental-ngx-core-popover.d.ts +8 -6
- package/types/fundamental-ngx-core-product-switch.d.ts +6 -3
- package/types/fundamental-ngx-core-wizard.d.ts +4 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, InjectionToken, input, inject, ElementRef, ContentChildren, ChangeDetectionStrategy, ViewEncapsulation, Component, contentChildren, DestroyRef, Renderer2, Injector, afterNextRender, model, signal, computed, effect, contentChild, viewChild, ViewContainerRef, ChangeDetectorRef,
|
|
2
|
+
import { Directive, InjectionToken, input, inject, ElementRef, ContentChildren, ChangeDetectionStrategy, ViewEncapsulation, Component, contentChildren, DestroyRef, Renderer2, Injector, afterNextRender, model, signal, computed, effect, contentChild, viewChild, ViewContainerRef, ChangeDetectorRef, Type, TemplateRef, DOCUMENT, Inject, Optional, Injectable, NgModule } from '@angular/core';
|
|
3
3
|
import { FD_BUTTON_COMPONENT } from '@fundamental-ngx/core/button';
|
|
4
4
|
import { takeUntilDestroyed, toObservable } from '@angular/core/rxjs-interop';
|
|
5
5
|
import { merge, NEVER, Subject, BehaviorSubject, fromEvent } from 'rxjs';
|
|
@@ -13,10 +13,10 @@ import { ConfigurableFocusTrapFactory } from '@angular/cdk/a11y';
|
|
|
13
13
|
import { Router, NavigationStart } from '@angular/router';
|
|
14
14
|
|
|
15
15
|
class NotificationFooterContentDirective {
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
17
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationFooterContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
17
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: NotificationFooterContentDirective, isStandalone: true, selector: "[fdNotificationFooterContent], [fd-notification-footer-content]", host: { classAttribute: "fd-notification__footer-content" }, ngImport: i0 }); }
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationFooterContentDirective, decorators: [{
|
|
20
20
|
type: Directive,
|
|
21
21
|
args: [{
|
|
22
22
|
selector: '[fdNotificationFooterContent], [fd-notification-footer-content]',
|
|
@@ -28,10 +28,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
28
28
|
}] });
|
|
29
29
|
|
|
30
30
|
class NotificationGroupGrowingItemTitleDirective {
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
32
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationGroupGrowingItemTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
32
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: NotificationGroupGrowingItemTitleDirective, isStandalone: true, selector: "[fdNotificationGroupGrowingItemTitle], [fd-notification-group-growing-item-title]", host: { classAttribute: "fd-notification-group__growing-item-title" }, ngImport: i0 }); }
|
|
33
33
|
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationGroupGrowingItemTitleDirective, decorators: [{
|
|
35
35
|
type: Directive,
|
|
36
36
|
args: [{
|
|
37
37
|
selector: '[fdNotificationGroupGrowingItemTitle], [fd-notification-group-growing-item-title]',
|
|
@@ -58,22 +58,24 @@ class NotificationGroupHeaderTitleDirective {
|
|
|
58
58
|
* a numeric value from 1 to 6
|
|
59
59
|
* default value is 3
|
|
60
60
|
*/
|
|
61
|
-
this.ariaLevel = input(3,
|
|
61
|
+
this.ariaLevel = input(3, /* @ts-ignore */
|
|
62
|
+
...(ngDevMode ? [{ debugName: "ariaLevel" }] : /* istanbul ignore next */ []));
|
|
62
63
|
/**
|
|
63
64
|
* id for the notification group header title
|
|
64
65
|
* if not set, a default value is provided
|
|
65
66
|
*/
|
|
66
|
-
this.id = input('fd-notification-group-header-title-' + ++notificationGroupHeaderTitleCounter,
|
|
67
|
+
this.id = input('fd-notification-group-header-title-' + ++notificationGroupHeaderTitleCounter, /* @ts-ignore */
|
|
68
|
+
...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
|
|
67
69
|
}
|
|
68
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
69
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
70
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationGroupHeaderTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
71
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: NotificationGroupHeaderTitleDirective, isStandalone: true, selector: "[fdNotificationGroupHeaderTitle], [fd-notification-group-header-title]", inputs: { ariaLevel: { classPropertyName: "ariaLevel", publicName: "ariaLevel", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "heading" }, properties: { "attr.aria-level": "ariaLevel()", "attr.id": "id()" }, classAttribute: "fd-notification-group__header-title" }, providers: [
|
|
70
72
|
{
|
|
71
73
|
provide: FD_NOTIFICATION_GROUP_HEADER_TITLE,
|
|
72
74
|
useExisting: NotificationGroupHeaderTitleDirective
|
|
73
75
|
}
|
|
74
76
|
], ngImport: i0 }); }
|
|
75
77
|
}
|
|
76
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationGroupHeaderTitleDirective, decorators: [{
|
|
77
79
|
type: Directive,
|
|
78
80
|
args: [{
|
|
79
81
|
selector: '[fdNotificationGroupHeaderTitle], [fd-notification-group-header-title]',
|
|
@@ -99,12 +101,13 @@ class NotificationListDirective {
|
|
|
99
101
|
* aria-label attribute for the element
|
|
100
102
|
* Default is set to 'Notifications'
|
|
101
103
|
*/
|
|
102
|
-
this.ariaLabel = input('Notifications',
|
|
104
|
+
this.ariaLabel = input('Notifications', /* @ts-ignore */
|
|
105
|
+
...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
103
106
|
}
|
|
104
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
105
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
107
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationListDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
108
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: NotificationListDirective, isStandalone: true, selector: "[fdNotificationList], [fd-notification-list]", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "list" }, properties: { "attr.aria-label": "ariaLabel()" }, classAttribute: "fd-notification-list" }, ngImport: i0 }); }
|
|
106
109
|
}
|
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationListDirective, decorators: [{
|
|
108
111
|
type: Directive,
|
|
109
112
|
args: [{
|
|
110
113
|
selector: '[fdNotificationList], [fd-notification-list]',
|
|
@@ -118,10 +121,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
118
121
|
}], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }] } });
|
|
119
122
|
|
|
120
123
|
class NotificationMessageStripContainerDirective {
|
|
121
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
122
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
124
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationMessageStripContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
125
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: NotificationMessageStripContainerDirective, isStandalone: true, selector: "[fdNotificationMessageStripContainer], [fd-notification-message-strip-container]", host: { classAttribute: "fd-notification__message-strip-container" }, ngImport: i0 }); }
|
|
123
126
|
}
|
|
124
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationMessageStripContainerDirective, decorators: [{
|
|
125
128
|
type: Directive,
|
|
126
129
|
args: [{
|
|
127
130
|
selector: '[fdNotificationMessageStripContainer], [fd-notification-message-strip-container]',
|
|
@@ -133,10 +136,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
133
136
|
}] });
|
|
134
137
|
|
|
135
138
|
class NotificationMessageStripDirective {
|
|
136
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
137
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
139
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationMessageStripDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
140
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: NotificationMessageStripDirective, isStandalone: true, selector: "[fdNotificationMessageStrip], [fd-notification-message-strip]", host: { classAttribute: "fd-notification-message-strip" }, ngImport: i0 }); }
|
|
138
141
|
}
|
|
139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationMessageStripDirective, decorators: [{
|
|
140
143
|
type: Directive,
|
|
141
144
|
args: [{
|
|
142
145
|
selector: '[fdNotificationMessageStrip], [fd-notification-message-strip]',
|
|
@@ -154,19 +157,20 @@ class NotificationParagraphDirective {
|
|
|
154
157
|
* id for the notification paragraph
|
|
155
158
|
* if not set, a default value is provided
|
|
156
159
|
*/
|
|
157
|
-
this.id = input('fd-notification-paragraph-' + ++notificationParagraphCounter,
|
|
160
|
+
this.id = input('fd-notification-paragraph-' + ++notificationParagraphCounter, /* @ts-ignore */
|
|
161
|
+
...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
|
|
158
162
|
/** @hidden */
|
|
159
163
|
this.elementRef = inject(ElementRef);
|
|
160
164
|
}
|
|
161
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
162
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
165
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationParagraphDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
166
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: NotificationParagraphDirective, isStandalone: true, selector: "[fdNotificationParagraph], [fd-notification-paragraph]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.id": "id()" }, classAttribute: "fd-notification__paragraph" }, providers: [
|
|
163
167
|
{
|
|
164
168
|
provide: FD_NOTIFICATION_PARAGRAPH,
|
|
165
169
|
useExisting: NotificationParagraphDirective
|
|
166
170
|
}
|
|
167
171
|
], ngImport: i0 }); }
|
|
168
172
|
}
|
|
169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationParagraphDirective, decorators: [{
|
|
170
174
|
type: Directive,
|
|
171
175
|
args: [{
|
|
172
176
|
selector: '[fdNotificationParagraph], [fd-notification-paragraph]',
|
|
@@ -185,10 +189,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
185
189
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
186
190
|
|
|
187
191
|
class NotificationPopoverDirective {
|
|
188
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
189
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
192
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationPopoverDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
193
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: NotificationPopoverDirective, isStandalone: true, selector: "[fdNotificationPopover], [fd-notification-popover]", host: { attributes: { "role": "dialog" }, classAttribute: "fd-notification-popover" }, ngImport: i0 }); }
|
|
190
194
|
}
|
|
191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationPopoverDirective, decorators: [{
|
|
192
196
|
type: Directive,
|
|
193
197
|
args: [{
|
|
194
198
|
selector: '[fdNotificationPopover], [fd-notification-popover]',
|
|
@@ -201,10 +205,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
201
205
|
}] });
|
|
202
206
|
|
|
203
207
|
class NotificationSeparatorDirective {
|
|
204
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
205
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
208
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationSeparatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
209
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: NotificationSeparatorDirective, isStandalone: true, selector: "[fdNotificationSeparator], [fd-notification-separator]", host: { classAttribute: "fd-notification__separator" }, ngImport: i0 }); }
|
|
206
210
|
}
|
|
207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
211
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationSeparatorDirective, decorators: [{
|
|
208
212
|
type: Directive,
|
|
209
213
|
args: [{
|
|
210
214
|
selector: '[fdNotificationSeparator], [fd-notification-separator]',
|
|
@@ -222,24 +226,26 @@ class NotificationTitleDirective {
|
|
|
222
226
|
* Whether the notification title is unread.
|
|
223
227
|
* default is false
|
|
224
228
|
*/
|
|
225
|
-
this.unread = input(false,
|
|
229
|
+
this.unread = input(false, /* @ts-ignore */
|
|
230
|
+
...(ngDevMode ? [{ debugName: "unread" }] : /* istanbul ignore next */ []));
|
|
226
231
|
/**
|
|
227
232
|
* id for the notification title
|
|
228
233
|
* if not set, a default value is provided
|
|
229
234
|
*/
|
|
230
|
-
this.id = input('fd-notification-title-' + ++notificationTitleCounter,
|
|
235
|
+
this.id = input('fd-notification-title-' + ++notificationTitleCounter, /* @ts-ignore */
|
|
236
|
+
...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
|
|
231
237
|
/** @hidden */
|
|
232
238
|
this.elementRef = inject(ElementRef);
|
|
233
239
|
}
|
|
234
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
235
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
240
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
241
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: NotificationTitleDirective, isStandalone: true, selector: "[fdNotificationTitle], [fd-notification-title]", inputs: { unread: { classPropertyName: "unread", publicName: "unread", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.fd-notification__title--unread": "unread()", "attr.id": "id()" }, classAttribute: "fd-notification__title" }, providers: [
|
|
236
242
|
{
|
|
237
243
|
provide: FD_NOTIFICATION_TITLE,
|
|
238
244
|
useExisting: NotificationTitleDirective
|
|
239
245
|
}
|
|
240
246
|
], ngImport: i0 }); }
|
|
241
247
|
}
|
|
242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationTitleDirective, decorators: [{
|
|
243
249
|
type: Directive,
|
|
244
250
|
args: [{
|
|
245
251
|
selector: '[fdNotificationTitle], [fd-notification-title]',
|
|
@@ -259,10 +265,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
259
265
|
}], propDecorators: { unread: [{ type: i0.Input, args: [{ isSignal: true, alias: "unread", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
260
266
|
|
|
261
267
|
class NotificationActionsComponent {
|
|
262
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
263
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
268
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
269
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: NotificationActionsComponent, isStandalone: true, selector: "fd-notification-actions", host: { classAttribute: "fd-notification__actions" }, queries: [{ propertyName: "buttons", predicate: FD_BUTTON_COMPONENT }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
264
270
|
}
|
|
265
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
271
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationActionsComponent, decorators: [{
|
|
266
272
|
type: Component,
|
|
267
273
|
args: [{
|
|
268
274
|
selector: 'fd-notification-actions',
|
|
@@ -286,13 +292,14 @@ class NotificationHeaderComponent {
|
|
|
286
292
|
* Unique id for the notification header
|
|
287
293
|
* if not set, a default value is provided
|
|
288
294
|
*/
|
|
289
|
-
this.uniqueId = input('fd-notification-header-' + ++notificationHeaderCounter,
|
|
295
|
+
this.uniqueId = input('fd-notification-header-' + ++notificationHeaderCounter, /* @ts-ignore */
|
|
296
|
+
...(ngDevMode ? [{ debugName: "uniqueId" }] : /* istanbul ignore next */ []));
|
|
290
297
|
}
|
|
291
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
292
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
298
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
299
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.5", type: NotificationHeaderComponent, isStandalone: true, selector: "fd-notification-header", inputs: { uniqueId: { classPropertyName: "uniqueId", publicName: "uniqueId", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.id": "uniqueId()" }, classAttribute: "fd-notification__header" }, ngImport: i0, template: `<ng-content select="fd-icon"></ng-content>
|
|
293
300
|
<ng-content select="[fd-notification-title]"></ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
294
301
|
}
|
|
295
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationHeaderComponent, decorators: [{
|
|
296
303
|
type: Component,
|
|
297
304
|
args: [{
|
|
298
305
|
selector: 'fd-notification-header',
|
|
@@ -316,9 +323,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
316
323
|
class NotificationGroupBaseDirective {
|
|
317
324
|
constructor() {
|
|
318
325
|
/** @hidden */
|
|
319
|
-
this.notificationHeader = contentChildren(NotificationHeaderComponent, { ...(ngDevMode ? { debugName: "notificationHeader" } : {}), descendants: true });
|
|
326
|
+
this.notificationHeader = contentChildren(NotificationHeaderComponent, { ...(ngDevMode ? { debugName: "notificationHeader" } : /* istanbul ignore next */ {}), descendants: true });
|
|
320
327
|
/** @hidden */
|
|
321
|
-
this.notificationActions = contentChildren(NotificationActionsComponent,
|
|
328
|
+
this.notificationActions = contentChildren(NotificationActionsComponent, /* @ts-ignore */
|
|
329
|
+
...(ngDevMode ? [{ debugName: "notificationActions" }] : /* istanbul ignore next */ []));
|
|
322
330
|
/** @hidden */
|
|
323
331
|
this._destroyRef = inject(DestroyRef);
|
|
324
332
|
/** @hidden */
|
|
@@ -388,18 +396,18 @@ class NotificationGroupBaseDirective {
|
|
|
388
396
|
.forEach((b) => this._renderer.setAttribute(b, 'aria-describedby', headerId));
|
|
389
397
|
});
|
|
390
398
|
}
|
|
391
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
392
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "
|
|
399
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationGroupBaseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
400
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "22.0.5", type: NotificationGroupBaseDirective, isStandalone: true, queries: [{ propertyName: "notificationHeader", predicate: NotificationHeaderComponent, descendants: true, isSignal: true }, { propertyName: "notificationActions", predicate: NotificationActionsComponent, isSignal: true }], ngImport: i0 }); }
|
|
393
401
|
}
|
|
394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationGroupBaseDirective, decorators: [{
|
|
395
403
|
type: Directive
|
|
396
404
|
}], ctorParameters: () => [], propDecorators: { notificationHeader: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => NotificationHeaderComponent), { ...{ descendants: true }, isSignal: true }] }], notificationActions: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => NotificationActionsComponent), { isSignal: true }] }] } });
|
|
397
405
|
|
|
398
406
|
class NotificationBodyComponent extends NotificationGroupBaseDirective {
|
|
399
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
400
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
407
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationBodyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
408
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: NotificationBodyComponent, isStandalone: true, selector: "fd-notification-body", host: { classAttribute: "fd-notification__body" }, usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
401
409
|
}
|
|
402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationBodyComponent, decorators: [{
|
|
403
411
|
type: Component,
|
|
404
412
|
args: [{
|
|
405
413
|
selector: 'fd-notification-body',
|
|
@@ -413,10 +421,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
413
421
|
}] });
|
|
414
422
|
|
|
415
423
|
class NotificationContentComponent {
|
|
416
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
417
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
424
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
425
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: NotificationContentComponent, isStandalone: true, selector: "fd-notification-content", host: { classAttribute: "fd-notification__content" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
418
426
|
}
|
|
419
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationContentComponent, decorators: [{
|
|
420
428
|
type: Component,
|
|
421
429
|
args: [{
|
|
422
430
|
selector: 'fd-notification-content',
|
|
@@ -437,36 +445,42 @@ class NotificationFooterComponent {
|
|
|
437
445
|
* When set, takes precedence over automatic truncation detection.
|
|
438
446
|
* Use this for dynamically created notifications where automatic detection doesn't work.
|
|
439
447
|
*/
|
|
440
|
-
this.manualShowTrigger = input(undefined,
|
|
448
|
+
this.manualShowTrigger = input(undefined, /* @ts-ignore */
|
|
449
|
+
...(ngDevMode ? [{ debugName: "manualShowTrigger" }] : /* istanbul ignore next */ []));
|
|
441
450
|
/**
|
|
442
451
|
* Manual control: Set expanded state externally.
|
|
443
452
|
* When set, takes precedence over internal expanded state.
|
|
444
453
|
* Use this for dynamically created notifications.
|
|
445
454
|
* Supports two-way binding with [(manualExpanded)].
|
|
446
455
|
*/
|
|
447
|
-
this.manualExpanded = model(undefined,
|
|
456
|
+
this.manualExpanded = model(undefined, /* @ts-ignore */
|
|
457
|
+
...(ngDevMode ? [{ debugName: "manualExpanded" }] : /* istanbul ignore next */ []));
|
|
448
458
|
/**
|
|
449
459
|
* Custom label for the expand button.
|
|
450
460
|
* Defaults to `'More'`.
|
|
451
461
|
*/
|
|
452
|
-
this.moreLabel = input(
|
|
462
|
+
this.moreLabel = input(/* @ts-ignore */
|
|
463
|
+
...(ngDevMode ? [undefined, { debugName: "moreLabel" }] : /* istanbul ignore next */ []));
|
|
453
464
|
/**
|
|
454
465
|
* Custom label for the collapse button.
|
|
455
466
|
* Defaults to `'Less'`.
|
|
456
467
|
*/
|
|
457
|
-
this.lessLabel = input(
|
|
468
|
+
this.lessLabel = input(/* @ts-ignore */
|
|
469
|
+
...(ngDevMode ? [undefined, { debugName: "lessLabel" }] : /* istanbul ignore next */ []));
|
|
458
470
|
/**
|
|
459
471
|
* Internal signal for automatic truncation detection.
|
|
460
472
|
* Used when manual controls are not provided.
|
|
461
473
|
* @internal
|
|
462
474
|
*/
|
|
463
|
-
this._autoShowTrigger = signal(false,
|
|
475
|
+
this._autoShowTrigger = signal(false, /* @ts-ignore */
|
|
476
|
+
...(ngDevMode ? [{ debugName: "_autoShowTrigger" }] : /* istanbul ignore next */ []));
|
|
464
477
|
/**
|
|
465
478
|
* Internal signal for automatic expanded state.
|
|
466
479
|
* Used when manual controls are not provided.
|
|
467
480
|
* @internal
|
|
468
481
|
*/
|
|
469
|
-
this._autoExpanded = signal(false,
|
|
482
|
+
this._autoExpanded = signal(false, /* @ts-ignore */
|
|
483
|
+
...(ngDevMode ? [{ debugName: "_autoExpanded" }] : /* istanbul ignore next */ []));
|
|
470
484
|
/**
|
|
471
485
|
* Computed signal for expanded state.
|
|
472
486
|
* Uses manual control if provided, otherwise uses automatic state.
|
|
@@ -474,7 +488,8 @@ class NotificationFooterComponent {
|
|
|
474
488
|
this.expanded = computed(() => {
|
|
475
489
|
const manual = this.manualExpanded();
|
|
476
490
|
return manual !== undefined ? manual : this._autoExpanded();
|
|
477
|
-
},
|
|
491
|
+
}, /* @ts-ignore */
|
|
492
|
+
...(ngDevMode ? [{ debugName: "expanded" }] : /* istanbul ignore next */ []));
|
|
478
493
|
/**
|
|
479
494
|
* Computed signal that determines if trigger should be shown.
|
|
480
495
|
* Uses manual control if provided, otherwise uses automatic detection.
|
|
@@ -482,7 +497,8 @@ class NotificationFooterComponent {
|
|
|
482
497
|
this.showTrigger = computed(() => {
|
|
483
498
|
const manual = this.manualShowTrigger();
|
|
484
499
|
return manual !== undefined ? manual : this._autoShowTrigger();
|
|
485
|
-
},
|
|
500
|
+
}, /* @ts-ignore */
|
|
501
|
+
...(ngDevMode ? [{ debugName: "showTrigger" }] : /* istanbul ignore next */ []));
|
|
486
502
|
this._defaultMoreLabel = resolveTranslationSignal('coreNotification.triggerMoreLabel');
|
|
487
503
|
this._defaultLessLabel = resolveTranslationSignal('coreNotification.triggerLessLabel');
|
|
488
504
|
}
|
|
@@ -508,8 +524,8 @@ class NotificationFooterComponent {
|
|
|
508
524
|
const lessLabel = this.lessLabel() || this._defaultLessLabel();
|
|
509
525
|
return this.expanded() ? lessLabel : moreLabel;
|
|
510
526
|
}
|
|
511
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
512
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
527
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
528
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: NotificationFooterComponent, isStandalone: true, selector: "fd-notification-footer", inputs: { manualShowTrigger: { classPropertyName: "manualShowTrigger", publicName: "manualShowTrigger", isSignal: true, isRequired: false, transformFunction: null }, manualExpanded: { classPropertyName: "manualExpanded", publicName: "manualExpanded", isSignal: true, isRequired: false, transformFunction: null }, moreLabel: { classPropertyName: "moreLabel", publicName: "moreLabel", isSignal: true, isRequired: false, transformFunction: null }, lessLabel: { classPropertyName: "lessLabel", publicName: "lessLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { manualExpanded: "manualExpandedChange" }, host: { classAttribute: "fd-notification__footer" }, providers: [
|
|
513
529
|
{
|
|
514
530
|
provide: FD_NOTIFICATION_FOOTER,
|
|
515
531
|
useExisting: NotificationFooterComponent
|
|
@@ -521,7 +537,7 @@ class NotificationFooterComponent {
|
|
|
521
537
|
</a>
|
|
522
538
|
} `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
523
539
|
}
|
|
524
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
540
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationFooterComponent, decorators: [{
|
|
525
541
|
type: Component,
|
|
526
542
|
args: [{
|
|
527
543
|
selector: 'fd-notification-footer',
|
|
@@ -547,10 +563,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
547
563
|
}], propDecorators: { manualShowTrigger: [{ type: i0.Input, args: [{ isSignal: true, alias: "manualShowTrigger", required: false }] }], manualExpanded: [{ type: i0.Input, args: [{ isSignal: true, alias: "manualExpanded", required: false }] }, { type: i0.Output, args: ["manualExpandedChange"] }], moreLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "moreLabel", required: false }] }], lessLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "lessLabel", required: false }] }] } });
|
|
548
564
|
|
|
549
565
|
class NotificationGroupGrowingItemComponent {
|
|
550
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
551
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
566
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationGroupGrowingItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
567
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: NotificationGroupGrowingItemComponent, isStandalone: true, selector: "fd-notification-group-growing-item", host: { attributes: { "role": "button" }, properties: { "tabindex": "0" }, classAttribute: "fd-notification-group__growing-item" }, ngImport: i0, template: `<ng-content select="[fd-notification-group-growing-item-title]"></ng-content> <ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
552
568
|
}
|
|
553
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
569
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationGroupGrowingItemComponent, decorators: [{
|
|
554
570
|
type: Component,
|
|
555
571
|
args: [{
|
|
556
572
|
selector: 'fd-notification-group-growing-item',
|
|
@@ -571,15 +587,19 @@ class NotificationGroupHeaderComponent extends NotificationGroupBaseDirective {
|
|
|
571
587
|
* Title for the group header.
|
|
572
588
|
* Default value is set from i18n translations ("Expand/Collapse").
|
|
573
589
|
*/
|
|
574
|
-
this.title = signal('',
|
|
590
|
+
this.title = signal('', /* @ts-ignore */
|
|
591
|
+
...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
575
592
|
/**
|
|
576
593
|
* ID of the list element that the group header controls.
|
|
577
594
|
*/
|
|
578
|
-
this.ariaControls = signal('',
|
|
595
|
+
this.ariaControls = signal('', /* @ts-ignore */
|
|
596
|
+
...(ngDevMode ? [{ debugName: "ariaControls" }] : /* istanbul ignore next */ []));
|
|
579
597
|
/** @hidden */
|
|
580
|
-
this.expanded = signal(false,
|
|
598
|
+
this.expanded = signal(false, /* @ts-ignore */
|
|
599
|
+
...(ngDevMode ? [{ debugName: "expanded" }] : /* istanbul ignore next */ []));
|
|
581
600
|
/** @hidden */
|
|
582
|
-
this._buttonIcon = computed(() => this.expanded() ? 'slim-arrow-down' : this._rtlService?.rtl() ? 'slim-arrow-left' : 'slim-arrow-right',
|
|
601
|
+
this._buttonIcon = computed(() => this.expanded() ? 'slim-arrow-down' : this._rtlService?.rtl() ? 'slim-arrow-left' : 'slim-arrow-right', /* @ts-ignore */
|
|
602
|
+
...(ngDevMode ? [{ debugName: "_buttonIcon" }] : /* istanbul ignore next */ []));
|
|
583
603
|
/** @hidden */
|
|
584
604
|
this._rtlService = inject(RtlService, { optional: true });
|
|
585
605
|
/** @hidden */
|
|
@@ -606,8 +626,8 @@ class NotificationGroupHeaderComponent extends NotificationGroupBaseDirective {
|
|
|
606
626
|
event.preventDefault();
|
|
607
627
|
}
|
|
608
628
|
}
|
|
609
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
610
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
629
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationGroupHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
630
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: NotificationGroupHeaderComponent, isStandalone: true, selector: "fd-notification-group-header", host: { attributes: { "role": "button" }, listeners: { "click": "toggleExpand()", "keydown": "_onKeydown($event)" }, properties: { "tabindex": "0", "attr.title": "title()", "attr.aria-controls": "ariaControls()", "attr.aria-expanded": "expanded()" }, classAttribute: "fd-notification-group__header" }, providers: [
|
|
611
631
|
{
|
|
612
632
|
provide: FD_NOTIFICATION_GROUP_HEADER,
|
|
613
633
|
useExisting: NotificationGroupHeaderComponent
|
|
@@ -620,7 +640,7 @@ class NotificationGroupHeaderComponent extends NotificationGroupBaseDirective {
|
|
|
620
640
|
<ng-content></ng-content>
|
|
621
641
|
`, isInline: true, dependencies: [{ kind: "component", type: IconComponent, selector: "fd-icon", inputs: ["glyph", "font", "color", "background", "size", "class", "ariaLabel", "ariaHidden"], outputs: ["ariaHiddenChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
622
642
|
}
|
|
623
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
643
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationGroupHeaderComponent, decorators: [{
|
|
624
644
|
type: Component,
|
|
625
645
|
args: [{
|
|
626
646
|
selector: 'fd-notification-group-header',
|
|
@@ -659,16 +679,19 @@ class NotificationGroupListComponent {
|
|
|
659
679
|
/**
|
|
660
680
|
* id of the element labelling the group list
|
|
661
681
|
*/
|
|
662
|
-
this.ariaLabelledBy = input(
|
|
682
|
+
this.ariaLabelledBy = input(/* @ts-ignore */
|
|
683
|
+
...(ngDevMode ? [undefined, { debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
|
|
663
684
|
/**
|
|
664
685
|
* id for the notification group list
|
|
665
686
|
* if not set, a default value is provided
|
|
666
687
|
*/
|
|
667
|
-
this.id = input('fd-notification-group-list-' + ++notificationGroupListCounter,
|
|
688
|
+
this.id = input('fd-notification-group-list-' + ++notificationGroupListCounter, /* @ts-ignore */
|
|
689
|
+
...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
|
|
668
690
|
/**
|
|
669
691
|
* @hidden
|
|
670
692
|
*/
|
|
671
|
-
this.notifications = contentChildren(FD_NOTIFICATION,
|
|
693
|
+
this.notifications = contentChildren(FD_NOTIFICATION, /* @ts-ignore */
|
|
694
|
+
...(ngDevMode ? [{ debugName: "notifications" }] : /* istanbul ignore next */ []));
|
|
672
695
|
}
|
|
673
696
|
/**
|
|
674
697
|
* @hidden
|
|
@@ -679,15 +702,15 @@ class NotificationGroupListComponent {
|
|
|
679
702
|
notification.ariaLevel.set(2);
|
|
680
703
|
});
|
|
681
704
|
}
|
|
682
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
683
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "
|
|
705
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationGroupListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
706
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.5", type: NotificationGroupListComponent, isStandalone: true, selector: "fd-notification-group-list", inputs: { ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "list" }, properties: { "attr.id": "id()" }, classAttribute: "fd-notification-group__list" }, providers: [
|
|
684
707
|
{
|
|
685
708
|
provide: FD_NOTIFICATION_GROUP_LIST,
|
|
686
709
|
useExisting: NotificationGroupListComponent
|
|
687
710
|
}
|
|
688
711
|
], queries: [{ propertyName: "notifications", predicate: FD_NOTIFICATION, isSignal: true }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
689
712
|
}
|
|
690
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
713
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationGroupListComponent, decorators: [{
|
|
691
714
|
type: Component,
|
|
692
715
|
args: [{
|
|
693
716
|
selector: 'fd-notification-group-list',
|
|
@@ -716,30 +739,41 @@ class NotificationGroupComponent {
|
|
|
716
739
|
* Whether the group is expanded
|
|
717
740
|
* default value is false
|
|
718
741
|
*/
|
|
719
|
-
this.expanded = input(false,
|
|
742
|
+
this.expanded = input(false, /* @ts-ignore */
|
|
743
|
+
...(ngDevMode ? [{ debugName: "expanded" }] : /* istanbul ignore next */ []));
|
|
720
744
|
/**
|
|
721
745
|
* input property to set aria-label
|
|
722
746
|
* accepts a string value
|
|
723
747
|
*/
|
|
724
|
-
this.ariaLabel = input(
|
|
748
|
+
this.ariaLabel = input(/* @ts-ignore */
|
|
749
|
+
...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
725
750
|
/** @hidden */
|
|
726
|
-
this.ariaLabelledBy = computed(() => this.groupTitle()?.id(),
|
|
751
|
+
this.ariaLabelledBy = computed(() => this.groupTitle()?.id(), /* @ts-ignore */
|
|
752
|
+
...(ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
|
|
727
753
|
/** @hidden */
|
|
728
|
-
this.ariaDescription = computed(() => `${this._descriptionString()} ${this.groupHeader()?.expanded() ? this._expandedString() : this._collapsedString()}`,
|
|
754
|
+
this.ariaDescription = computed(() => `${this._descriptionString()} ${this.groupHeader()?.expanded() ? this._expandedString() : this._collapsedString()}`, /* @ts-ignore */
|
|
755
|
+
...(ngDevMode ? [{ debugName: "ariaDescription" }] : /* istanbul ignore next */ []));
|
|
729
756
|
/** @hidden */
|
|
730
|
-
this.isExpanded = computed(() => this.groupHeader()?.expanded(),
|
|
757
|
+
this.isExpanded = computed(() => this.groupHeader()?.expanded(), /* @ts-ignore */
|
|
758
|
+
...(ngDevMode ? [{ debugName: "isExpanded" }] : /* istanbul ignore next */ []));
|
|
731
759
|
/** @hidden */
|
|
732
|
-
this.groupHeader = contentChild(FD_NOTIFICATION_GROUP_HEADER,
|
|
760
|
+
this.groupHeader = contentChild(FD_NOTIFICATION_GROUP_HEADER, /* @ts-ignore */
|
|
761
|
+
...(ngDevMode ? [{ debugName: "groupHeader" }] : /* istanbul ignore next */ []));
|
|
733
762
|
/** @hidden */
|
|
734
|
-
this.groupTitle = contentChild(FD_NOTIFICATION_GROUP_HEADER_TITLE,
|
|
763
|
+
this.groupTitle = contentChild(FD_NOTIFICATION_GROUP_HEADER_TITLE, /* @ts-ignore */
|
|
764
|
+
...(ngDevMode ? [{ debugName: "groupTitle" }] : /* istanbul ignore next */ []));
|
|
735
765
|
/** @hidden */
|
|
736
|
-
this.groupList = contentChild(FD_NOTIFICATION_GROUP_LIST,
|
|
766
|
+
this.groupList = contentChild(FD_NOTIFICATION_GROUP_LIST, /* @ts-ignore */
|
|
767
|
+
...(ngDevMode ? [{ debugName: "groupList" }] : /* istanbul ignore next */ []));
|
|
737
768
|
/** @hidden */
|
|
738
|
-
this._descriptionString = signal('',
|
|
769
|
+
this._descriptionString = signal('', /* @ts-ignore */
|
|
770
|
+
...(ngDevMode ? [{ debugName: "_descriptionString" }] : /* istanbul ignore next */ []));
|
|
739
771
|
/** @hidden */
|
|
740
|
-
this._expandedString = signal('',
|
|
772
|
+
this._expandedString = signal('', /* @ts-ignore */
|
|
773
|
+
...(ngDevMode ? [{ debugName: "_expandedString" }] : /* istanbul ignore next */ []));
|
|
741
774
|
/** @hidden */
|
|
742
|
-
this._collapsedString = signal('',
|
|
775
|
+
this._collapsedString = signal('', /* @ts-ignore */
|
|
776
|
+
...(ngDevMode ? [{ debugName: "_collapsedString" }] : /* istanbul ignore next */ []));
|
|
743
777
|
/** @hidden */
|
|
744
778
|
this._langSignal = inject(FD_LANGUAGE_SIGNAL);
|
|
745
779
|
/** @hidden */
|
|
@@ -756,8 +790,8 @@ class NotificationGroupComponent {
|
|
|
756
790
|
this.groupHeader()?.ariaControls.set(this.groupList()?.id() ?? null);
|
|
757
791
|
this.groupHeader()?.expanded.set(this.expanded());
|
|
758
792
|
}
|
|
759
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
760
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
793
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
794
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: NotificationGroupComponent, isStandalone: true, selector: "fd-notification-group", inputs: { expanded: { classPropertyName: "expanded", publicName: "expanded", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "listitem" }, properties: { "tabindex": "-1", "attr.aria-level": "1", "attr.aria-label": "ariaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.aria-description": "ariaDescription()" }, classAttribute: "fd-notification-group" }, queries: [{ propertyName: "groupHeader", first: true, predicate: FD_NOTIFICATION_GROUP_HEADER, descendants: true, isSignal: true }, { propertyName: "groupTitle", first: true, predicate: FD_NOTIFICATION_GROUP_HEADER_TITLE, descendants: true, isSignal: true }, { propertyName: "groupList", first: true, predicate: FD_NOTIFICATION_GROUP_LIST, descendants: true, isSignal: true }], ngImport: i0, template: `<div class="fd-notification-group__wrapper">
|
|
761
795
|
<ng-content select="fd-notification-group-header"></ng-content>
|
|
762
796
|
@if (isExpanded()) {
|
|
763
797
|
<ng-content select="fd-notification-group-list"></ng-content>
|
|
@@ -765,7 +799,7 @@ class NotificationGroupComponent {
|
|
|
765
799
|
}
|
|
766
800
|
</div>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
767
801
|
}
|
|
768
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
802
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationGroupComponent, decorators: [{
|
|
769
803
|
type: Component,
|
|
770
804
|
args: [{
|
|
771
805
|
selector: 'fd-notification-group',
|
|
@@ -795,7 +829,8 @@ class NotificationLinkComponent {
|
|
|
795
829
|
* signal to control the show more/less
|
|
796
830
|
* default value is false
|
|
797
831
|
*/
|
|
798
|
-
this.showMore = signal(false,
|
|
832
|
+
this.showMore = signal(false, /* @ts-ignore */
|
|
833
|
+
...(ngDevMode ? [{ debugName: "showMore" }] : /* istanbul ignore next */ []));
|
|
799
834
|
}
|
|
800
835
|
/**
|
|
801
836
|
* Method to toggle show more functionality
|
|
@@ -803,10 +838,10 @@ class NotificationLinkComponent {
|
|
|
803
838
|
toggleShowMore() {
|
|
804
839
|
this.showMore.update((value) => !value);
|
|
805
840
|
}
|
|
806
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
807
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
841
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
842
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: NotificationLinkComponent, isStandalone: true, selector: "fd-notification-link", host: { attributes: { "tabindex": "0", "role": "link" }, listeners: { "click": "toggleShowMore()" }, classAttribute: "fd-link fd-notification__link" }, ngImport: i0, template: `<span class="fd-link__content">{{ showMore() ? 'Less' : 'More' }}</span>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
808
843
|
}
|
|
809
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationLinkComponent, decorators: [{
|
|
810
845
|
type: Component,
|
|
811
846
|
args: [{
|
|
812
847
|
selector: 'fd-notification-link',
|
|
@@ -872,44 +907,54 @@ class NotificationComponent extends AbstractFdNgxClass {
|
|
|
872
907
|
constructor() {
|
|
873
908
|
super();
|
|
874
909
|
/** @hidden */
|
|
875
|
-
this.containerRef = viewChild('vc', { ...(ngDevMode ? { debugName: "containerRef" } : {}), read: ViewContainerRef });
|
|
910
|
+
this.containerRef = viewChild('vc', { ...(ngDevMode ? { debugName: "containerRef" } : /* istanbul ignore next */ {}), read: ViewContainerRef });
|
|
876
911
|
/** User defined width for the notification */
|
|
877
|
-
this.width = input(
|
|
912
|
+
this.width = input(/* @ts-ignore */
|
|
913
|
+
...(ngDevMode ? [undefined, { debugName: "width" }] : /* istanbul ignore next */ []));
|
|
878
914
|
/** Whether the notificatioon is in mobile mode */
|
|
879
|
-
this.mobile = input(false,
|
|
915
|
+
this.mobile = input(false, /* @ts-ignore */
|
|
916
|
+
...(ngDevMode ? [{ debugName: "mobile" }] : /* istanbul ignore next */ []));
|
|
880
917
|
/** @hidden */
|
|
881
|
-
this._dir = computed(() => (this._rtlService?.rtl() ? 'rtl' : 'ltr'),
|
|
918
|
+
this._dir = computed(() => (this._rtlService?.rtl() ? 'rtl' : 'ltr'), /* @ts-ignore */
|
|
919
|
+
...(ngDevMode ? [{ debugName: "_dir" }] : /* istanbul ignore next */ []));
|
|
882
920
|
/**
|
|
883
921
|
* aria-level of the Notificaion
|
|
884
922
|
* should be set to 2 in Notification Group
|
|
885
923
|
* default value is undefined
|
|
886
924
|
*/
|
|
887
|
-
this.ariaLevel = signal(undefined,
|
|
925
|
+
this.ariaLevel = signal(undefined, /* @ts-ignore */
|
|
926
|
+
...(ngDevMode ? [{ debugName: "ariaLevel" }] : /* istanbul ignore next */ []));
|
|
888
927
|
/**
|
|
889
928
|
* role of the Notificaion
|
|
890
929
|
* should be set to 'listitem' in Notification Group
|
|
891
930
|
* default value is undefined
|
|
892
931
|
*/
|
|
893
|
-
this.role = signal(undefined,
|
|
932
|
+
this.role = signal(undefined, /* @ts-ignore */
|
|
933
|
+
...(ngDevMode ? [{ debugName: "role" }] : /* istanbul ignore next */ []));
|
|
894
934
|
/**
|
|
895
935
|
* whether the Notificaion is selected
|
|
896
936
|
* default is set to false
|
|
897
937
|
*/
|
|
898
|
-
this.selected = input(false,
|
|
938
|
+
this.selected = input(false, /* @ts-ignore */
|
|
939
|
+
...(ngDevMode ? [{ debugName: "selected" }] : /* istanbul ignore next */ []));
|
|
899
940
|
/** Whether the notification is dismissed with the ESC key */
|
|
900
941
|
this.escKeyCloseable = false;
|
|
901
942
|
/** Whether the notification should close with router change */
|
|
902
943
|
this.closeOnNavigation = true;
|
|
903
944
|
/** aria-labelledby attribute for the notification component element. */
|
|
904
|
-
this.ariaLabelledBy = signal(null,
|
|
945
|
+
this.ariaLabelledBy = signal(null, /* @ts-ignore */
|
|
946
|
+
...(ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
|
|
905
947
|
/** Reference to the child content */
|
|
906
948
|
this.childContent = undefined;
|
|
907
949
|
/** @hidden */
|
|
908
|
-
this._notificationTitle = contentChild(FD_NOTIFICATION_TITLE,
|
|
950
|
+
this._notificationTitle = contentChild(FD_NOTIFICATION_TITLE, /* @ts-ignore */
|
|
951
|
+
...(ngDevMode ? [{ debugName: "_notificationTitle" }] : /* istanbul ignore next */ []));
|
|
909
952
|
/** @hidden */
|
|
910
|
-
this._notificationParagraph = contentChild(FD_NOTIFICATION_PARAGRAPH,
|
|
953
|
+
this._notificationParagraph = contentChild(FD_NOTIFICATION_PARAGRAPH, /* @ts-ignore */
|
|
954
|
+
...(ngDevMode ? [{ debugName: "_notificationParagraph" }] : /* istanbul ignore next */ []));
|
|
911
955
|
/** @hidden */
|
|
912
|
-
this._notificationFooter = contentChild(FD_NOTIFICATION_FOOTER,
|
|
956
|
+
this._notificationFooter = contentChild(FD_NOTIFICATION_FOOTER, /* @ts-ignore */
|
|
957
|
+
...(ngDevMode ? [{ debugName: "_notificationFooter" }] : /* istanbul ignore next */ []));
|
|
913
958
|
/** @hidden */
|
|
914
959
|
this._destroyRef = inject(DestroyRef);
|
|
915
960
|
/** @hidden */
|
|
@@ -917,8 +962,6 @@ class NotificationComponent extends AbstractFdNgxClass {
|
|
|
917
962
|
/** @hidden */
|
|
918
963
|
this._cdRef = inject(ChangeDetectorRef);
|
|
919
964
|
/** @hidden */
|
|
920
|
-
this._componentFactoryResolver = inject(ComponentFactoryResolver);
|
|
921
|
-
/** @hidden */
|
|
922
965
|
this._router = inject(Router);
|
|
923
966
|
/** @hidden */
|
|
924
967
|
this._focusTrapFactory = inject(ConfigurableFocusTrapFactory);
|
|
@@ -929,13 +972,17 @@ class NotificationComponent extends AbstractFdNgxClass {
|
|
|
929
972
|
/** @hidden */
|
|
930
973
|
this._rtlService = inject(RtlService, { optional: true });
|
|
931
974
|
/** @hidden */
|
|
932
|
-
this._isTitleTruncated = signal(false,
|
|
975
|
+
this._isTitleTruncated = signal(false, /* @ts-ignore */
|
|
976
|
+
...(ngDevMode ? [{ debugName: "_isTitleTruncated" }] : /* istanbul ignore next */ []));
|
|
933
977
|
/** @hidden */
|
|
934
|
-
this._isParagraphTruncated = signal(false,
|
|
978
|
+
this._isParagraphTruncated = signal(false, /* @ts-ignore */
|
|
979
|
+
...(ngDevMode ? [{ debugName: "_isParagraphTruncated" }] : /* istanbul ignore next */ []));
|
|
935
980
|
/** @hidden */
|
|
936
|
-
this._hasTruncation = computed(() => this._isTitleTruncated() || this._isParagraphTruncated(),
|
|
981
|
+
this._hasTruncation = computed(() => this._isTitleTruncated() || this._isParagraphTruncated(), /* @ts-ignore */
|
|
982
|
+
...(ngDevMode ? [{ debugName: "_hasTruncation" }] : /* istanbul ignore next */ []));
|
|
937
983
|
/** @hidden */
|
|
938
|
-
this._expanded = computed(() => this._notificationFooter()?.expanded() ?? false,
|
|
984
|
+
this._expanded = computed(() => this._notificationFooter()?.expanded() ?? false, /* @ts-ignore */
|
|
985
|
+
...(ngDevMode ? [{ debugName: "_expanded" }] : /* istanbul ignore next */ []));
|
|
939
986
|
if (this._notificationConfig) {
|
|
940
987
|
this._setNotificationConfig(this._notificationConfig);
|
|
941
988
|
}
|
|
@@ -1053,8 +1100,7 @@ class NotificationComponent extends AbstractFdNgxClass {
|
|
|
1053
1100
|
/** @hidden */
|
|
1054
1101
|
_loadFromComponent(content) {
|
|
1055
1102
|
this.containerRef()?.clear();
|
|
1056
|
-
|
|
1057
|
-
this.componentRef = this.containerRef()?.createComponent(componentFactory);
|
|
1103
|
+
this.componentRef = this.containerRef()?.createComponent(content);
|
|
1058
1104
|
}
|
|
1059
1105
|
/** @hidden */
|
|
1060
1106
|
_loadFromTemplate(content) {
|
|
@@ -1070,8 +1116,8 @@ class NotificationComponent extends AbstractFdNgxClass {
|
|
|
1070
1116
|
.filter((key) => key !== 'data' && key !== 'container')
|
|
1071
1117
|
.forEach((key) => (this[key] = notificationConfig[key]));
|
|
1072
1118
|
}
|
|
1073
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1074
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "
|
|
1119
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1120
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.5", type: NotificationComponent, isStandalone: true, selector: "fd-notification", inputs: { width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, mobile: { classPropertyName: "mobile", publicName: "mobile", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "window:keyup": "_closeNotificationEsc($event)" }, properties: { "attr.aria-labelledby": "ariaLabelledBy()", "attr.aria-label": "ariaLabel", "attr.aria-level": "ariaLevel()", "attr.role": "role()", "attr.dir": "_dir()", "attr.id": "id", "tabindex": "0", "style.width": "width" } }, providers: [
|
|
1075
1121
|
{
|
|
1076
1122
|
provide: FD_NOTIFICATION,
|
|
1077
1123
|
useExisting: NotificationComponent
|
|
@@ -1081,7 +1127,7 @@ class NotificationComponent extends AbstractFdNgxClass {
|
|
|
1081
1127
|
<ng-container #vc></ng-container>
|
|
1082
1128
|
`, isInline: true, styles: ["@charset \"UTF-8\";.fd-link{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);color:var(--sapLinkColor);cursor:pointer;display:var(--fdLink_Display,inline-block);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:normal;margin-block:0;margin-inline:0;padding-block:0;padding-inline:0;text-shadow:var(--sapContent_TextShadow);-webkit-box-align:center;-ms-flex-align:center;align-items:center;line-height:inherit;line-height:var(--fdLink_Line_Height,1rem);overflow-wrap:break-word;text-decoration:var(--fdLink_Text_Decoration,none);text-underline-offset:.125rem;-webkit-transition:all .125s ease-in;transition:all .125s ease-in;white-space:normal;word-break:break-word}.fd-link:after,.fd-link:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-link__content{text-decoration:var(--fdLink_Text_Content_Decoration,none)}.fd-link.is-hover,.fd-link:hover{--fdLink_Text_Decoration:var(--fdLink_Text_Decoration_Hover,none);--fdLink_Text_Content_Decoration:var(--fdLink_Text_Content_Decoration_Hover,none)}.fd-link.is-focus,.fd-link:focus{--fdLink_Text_Decoration:var(--fdLink_Text_Decoration_Focus,none);--fdLink_Text_Content_Decoration:var(--fdLink_Text_Content_Decoration_Focus,none)}.fd-link.is-active,.fd-link:active{--fdLink_Text_Decoration:var(--fdLink_Text_Decoration_Active,none);--fdLink_Text_Content_Decoration:var(--fdLink_Text_Content_Decoration_Active,none)}.fd-link.is-disabled,.fd-link:disabled,.fd-link[aria-disabled=true]{--fdLink_Text_Decoration:var(--fdLink_Text_Decoration_Disabled,none);--fdLink_Text_Content_Decoration:var(--fdLink_Text_Content_Decoration_Disabled,none)}.fd-link--subtle{--fdLink_Text_Content_Decoration:var(--fdLink_Text_Content_Decoration_Subtle,none);--fdLink_Text_Content_Decoration_Hover:var(--fdLink_Text_Content_Decoration_Subtle_Hover,none);--fdLink_Text_Content_Decoration_Active:var(--fdLink_Text_Content_Decoration_Subtle_Active,none);--fdLink_Text_Decoration:var(--fdLink_Text_Decoration_Subtle,none);--fdLink_Text_Decoration_Hover:var(--fdLink_Text_Decoration_Subtle_Hover,none);--fdLink_Text_Decoration_Active:var(--fdLink_Text_Decoration_Subtle_Active,none)}.fd-link--undecorated{--fdLink_Text_Decoration:none;--fdLink_Text_Decoration_Subtle:none;--fdLink_Text_Decoration_Subtle_Hover:none;--fdLink_Text_Decoration_Subtle_Active:none;--fdLink_Text_Decoration_Hover:none;--fdLink_Text_Decoration_Focus:none;--fdLink_Text_Decoration_Active:none;--fdLink_Text_Decoration_Visited:none;--fdLink_Text_Decoration_Disabled:none;--fdLink_Text_Content_Decoration:none;--fdLink_Text_Content_Decoration_Subtle:none;--fdLink_Text_Content_Decoration_Subtle_Hover:none;--fdLink_Text_Content_Decoration_Subtle_Active:none;--fdLink_Text_Content_Decoration_Hover:none;--fdLink_Text_Content_Decoration_Focus:none;--fdLink_Text_Content_Decoration_Active:none;--fdLink_Text_Content_Decoration_Visited:none;--fdLink_Text_Content_Decoration_Disabled:none}.fd-link--emphasized{font-family:var(--sapFontBoldFamily)}.fd-link--touch-target{--fdLink_Line_Height:1.5rem}.fd-link:visited{color:var(--sapLink_Visited_Color)}.fd-link.is-hover,.fd-link:hover{color:var(--sapLink_Hover_Color)}.fd-link.is-focus,.fd-link:focus{background-color:var(--fdLink_Focus_Background);border-radius:var(--fdLink_Focus_Border_Radius);-webkit-box-shadow:none;box-shadow:none;color:var(--fdLink_Text_Focus_Color);outline:var(--fdLink_Hover_Outline_Color) var(--fdLink_Hover_Outline_Style) var(--fdLink_Hover_Outline_Width);outline-offset:var(--fdLink_Hover_Outline_Offset);text-shadow:var(--fdLink_Focus_Text_Shadow)}.fd-link.is-active,.fd-link:active{color:var(--sapLink_Active_Color)}.fd-link.is-active.is-focus,.fd-link.is-active:focus,.fd-link:active.is-focus,.fd-link:active:focus{background-color:transparent;z-index:5}.fd-link--inverted{text-shadow:none}.fd-link--inverted,.fd-link--inverted.is-hover,.fd-link--inverted:hover{color:var(--sapLink_InvertedColor)}.fd-link--inverted.is-focus,.fd-link--inverted:focus{outline-color:var(--sapContent_ContrastFocusColor);z-index:5}.fd-link--subtle{color:var(--sapLink_SubtleColor)}.fd-link.is-disabled,.fd-link:disabled,.fd-link[aria-disabled=true]{color:var(--sapLinkColor);opacity:var(--sapContent_DisabledOpacity);pointer-events:none}.fd-link>img{vertical-align:bottom}.fd-link [class*=sap-icon],.fd-link[class*=sap-icon]{color:var(--sapLinkColor);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;line-height:1;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.fd-link [class*=sap-icon]:first-child,.fd-link[class*=sap-icon]:first-child{-webkit-margin-end:.125rem;margin-inline-end:.125rem}.fd-link [class*=sap-icon]:last-child,.fd-link[class*=sap-icon]:last-child{-webkit-margin-start:.125rem;margin-inline-start:.125rem}.fd-link.is-hover [class*=sap-icon],.fd-link.is-hover[class*=sap-icon],.fd-link:hover [class*=sap-icon],.fd-link:hover[class*=sap-icon]{color:var(--sapLink_Hover_Color);text-decoration:var(--fdLink_Text_Decoration_Hover)}.fd-link.is-focus,.fd-link:focus{z-index:5}.fd-link.is-focus [class*=sap-icon],.fd-link.is-focus[class*=sap-icon],.fd-link:focus [class*=sap-icon],.fd-link:focus[class*=sap-icon]{color:var(--fdLink_Text_Focus_Color);text-decoration:var(--fdLink_Text_Decoration_Focus)}.fd-link.is-active [class*=sap-icon],.fd-link.is-active[class*=sap-icon],.fd-link:active [class*=sap-icon],.fd-link:active[class*=sap-icon]{color:var(--sapLink_Active_Color);text-decoration:var(--fdLink_Text_Decoration_Active)}.fd-link:visited:not(:focus) [class*=sap-icon],.fd-link:visited:not(:focus)[class*=sap-icon]{color:var(--sapLink_Visited_Color)}.fd-link__sr-only{position:absolute;clip:rect(0 0 0 0);border:0;height:1px;margin-block:-1px;margin-inline:-1px;overflow:hidden;padding-block:0;padding-inline:0;white-space:nowrap;width:1px}.fd-notification{--fdNotification_Content_Gap:.75rem;--fdNotification_Actions_Offset:-.25rem;--fdNotification_Title_Font_Weight:normal;--fdNotification_Title_Line_Height:1.25rem;--fdNotification_Title_One_Button_Offset:2rem;--fdNotification_Title_Two_Buttons_Offset:4.375rem;border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:normal;margin-block:0;margin-inline:0;padding-block:0;padding-inline:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;--fdNotification_Background:var(--sapList_Background);--fdNotification_Title_Color:var(--sapList_TextColor);--fdNotification_Paragraph_Color:var(--sapList_TextColor);--fdNotification_Separator_Color:var(--sapContent_LabelColor);--fdNotification_Footer_Content_Color:var(--sapContent_LabelColor);--fdNotification_Border_Block_End_Color:var(--sapList_BorderColor);--fdNotification_Border_Block_Start_Color:var(--fdNotification_Border_Top_Color);--fdNotification_Border_Inline_Color:var(--fdNotification_Border_Left_Right_Color);background:var(--fdNotification_Background);border-block-end-color:var(--fdNotification_Border_Block_End_Color);border-block-start-color:var(--fdNotification_Border_Block_Start_Color);border-inline-color:var(--fdNotification_Border_Inline_Color);border-radius:var(--fdNotification_Border_Radius);border-style:solid;border-width:var(--sapList_BorderWidth);cursor:pointer}.fd-notification:after,.fd-notification:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification.is-hover,.fd-notification:hover{--fdNotification_Background:var(--fdNotification_Background_Hover)}.fd-notification.is-active,.fd-notification:active{--fdNotification_Background:var(--fdNotification_Background_Active);--fdNotification_Title_Color:var(--fdNotification_Title_Color_Active);--fdNotification_Paragraph_Color:var(--fdNotification_Paragraph_Color_Active);--fdNotification_Footer_Content_Color:var(--fdNotification_Footer_Content_Color_Active);--fdNotification_Separator_Color:var(--fdNotification_Separator_Color_Active);--fdNotification_Border_Inline_Color:var(--fdNotification_Border_Inline_Color_Active);--fdNotification_Border_Block_Start_Color:var(--fdNotification_Border_Block_Start_Color_Active);--fdNotification_Border_Block_End_Color:var(--fdNotification_Border_Block_End_Color_Active)}.fd-notification.is-selected,.fd-notification[aria-selected=true]{--fdNotification_Background:var(--fdNotification_Background_Selected);--fdNotification_Border_Inline_Color:var(--fdNotification_Border_Left_Right_Color_Selected);--fdNotification_Border_Block_Start_Color:var(--fdNotification_Border_Top_Color_Selected);--fdNotification_Border_Block_End_Color:var(--fdNotification_Border_Block_End_Color_Selected)}.fd-notification.is-selected.is-hover,.fd-notification.is-selected:hover,.fd-notification[aria-selected=true].is-hover,.fd-notification[aria-selected=true]:hover{--fdNotification_Background:var(--fdNotification_Background_Selected_Hover)}.fd-notification.is-focus,.fd-notification:focus{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:-.25rem;z-index:5}.fd-notification:has(.fd-notification__actions):has(button) .fd-notification__title{-webkit-padding-end:var(--fdNotification_Title_One_Button_Offset);padding-inline-end:var(--fdNotification_Title_One_Button_Offset)}.fd-notification:has(.fd-notification__actions):has(button+button) .fd-notification__title{-webkit-padding-end:var(--fdNotification_Title_Two_Buttons_Offset);padding-inline-end:var(--fdNotification_Title_Two_Buttons_Offset)}.fd-notification__body{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:normal;margin-block:0;margin-inline:0;padding-block:0;padding-inline:0;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;gap:.75rem;padding-block:1rem;padding-inline:1rem;position:relative}.fd-notification__body:after,.fd-notification__body:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification__content{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:normal;margin-block:0;margin-inline:0;padding-block:0;padding-inline:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;gap:var(--fdNotification_Content_Gap);width:100%}.fd-notification__content:after,.fd-notification__content:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification__header{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:normal;margin-block:0;margin-inline:0;padding-block:0;padding-inline:0;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;gap:.25rem;width:100%}.fd-notification__header:after,.fd-notification__header:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification__header>[class*=sap-icon]{-webkit-padding-before:.125rem;padding-block-start:.125rem}.fd-notification__actions{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:normal;margin-block:0;margin-inline:0;padding-block:0;padding-inline:0;right:0;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;gap:.125rem;padding-block:.5rem 0;padding-inline:.25rem .5rem;position:absolute;top:0}.fd-notification__actions:after,.fd-notification__actions:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification__actions[dir=rtl],[dir=rtl] .fd-notification__actions{left:0;right:auto}.fd-notification__title{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;-webkit-line-clamp:2;line-height:normal;margin-block:0;margin-inline:0;padding-block:0;padding-inline:0;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-flex:1;color:var(--sapList_TextColor);-ms-flex:1;flex:1;font-size:var(--sapFontHeader6Size);font-weight:var(--fdNotification_Title_Font_Weight);line-height:var(--fdNotification_Title_Line_Height);max-height:calc(var(--fdNotification_Title_Line_Height)*2)}.fd-notification__title:after,.fd-notification__title:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification__title--unread{--fdNotification_Title_Font_Weight:bold}.fd-notification__paragraph{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;font-family:var(--sapFontFamily);font-weight:400;forced-color-adjust:none;-webkit-line-clamp:2;line-height:normal;margin-block:0;margin-inline:0;padding-block:0;padding-inline:0;-webkit-box-orient:vertical;color:var(--sapList_TextColor);font-size:var(--sapFontSize);max-height:2.75rem;overflow:hidden;text-overflow:ellipsis;white-space:normal}.fd-notification__paragraph:after,.fd-notification__paragraph:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification__footer{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:normal;margin-block:0;margin-inline:0;padding-block:0;padding-inline:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.fd-notification__footer:after,.fd-notification__footer:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification__footer-content{color:var(--sapContent_LabelColor);max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fd-notification__footer-content:only-child{max-width:100%}.fd-notification__separator{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);color:var(--sapContent_LabelColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:normal;margin-block:0;margin-inline:0;margin-inline:.5rem;padding-block:0;padding-inline:0}.fd-notification__separator:after,.fd-notification__separator:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification__separator:before{content:\"\\b7\"}.fd-notification__message-strip-container{padding-block:1rem 0;padding-inline:1rem .5rem}.fd-notification__message-strip-container:empty{padding-block:0;padding-inline:0}.fd-notification__message-strip-container:has(.fd-has-display-none){padding-block:0;padding-inline:0}.fd-notification__sr-only{position:absolute;clip:rect(0 0 0 0);border:0;height:1px;margin-block:-1px;margin-inline:-1px;overflow:hidden;padding-block:0;padding-inline:0;white-space:nowrap;width:1px}.fd-notification .fd-notification__link{-webkit-margin-start:1rem;margin-inline-start:1rem}.fd-notification-message-strip{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:normal;margin-block:0;margin-inline:0;padding-block:0;padding-block:.5rem;padding-inline:0;padding-inline:.5rem}.fd-notification-message-strip:after,.fd-notification-message-strip:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification-list{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:100%;line-height:normal;list-style:none;margin-block:0;margin-inline:0;overflow:auto;padding-block:0;padding-inline:0;width:100%}.fd-notification-list:after,.fd-notification-list:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification-group{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:normal;list-style:none;margin-block:0;margin-inline:0;padding-block:0;padding-inline:0}.fd-notification-group:after,.fd-notification-group:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification-group__wrapper{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:normal;margin-block:0;margin-inline:0;padding-block:0;padding-inline:0}.fd-notification-group__wrapper:after,.fd-notification-group__wrapper:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification-group__header{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:normal;margin-block:0;margin-inline:0;padding-block:0;padding-inline:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:var(--sapList_GroupHeaderBackground);cursor:pointer;gap:.75rem;height:var(--sapElement_LineHeight);margin-block:var(--fdNotification_Group_Header_Margin_Block);padding-inline:.5rem;position:sticky;top:0;z-index:10;-webkit-border-after:var(--sapList_BorderWidth) solid var(--fdNotification_Group_Header_Border_Bottom_Color);border-block-end:var(--sapList_BorderWidth) solid var(--fdNotification_Group_Header_Border_Bottom_Color)}.fd-notification-group__header:after,.fd-notification-group__header:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification-group__header.is-focus,.fd-notification-group__header:focus{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:-.25rem;z-index:5}.fd-notification-group__header-arrow{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:normal;margin-block:0;margin-inline:0;padding-block:0;padding-inline:0;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:1rem;margin-inline:.5rem}.fd-notification-group__header-arrow:after,.fd-notification-group__header-arrow:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification-group__header-arrow [class*=sap-icon]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--sapContent_IconColor);height:1rem;max-height:1rem;max-width:1rem;min-height:1rem;min-width:1rem;width:1rem}.fd-notification-group__header-title{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);color:var(--fdNotification_Group_Header_Title_Color);font-family:var(--sapFontFamily);font-family:var(--sapFontHeaderFamily);font-size:var(--sapFontSize);font-size:var(--fdNotification_Group_Header_Title_Font_Size);font-weight:400;font-weight:var(--fdNotification_Group_Header_Title_Font_Weight);forced-color-adjust:none;line-height:normal;line-height:2rem;margin-block:0;margin-inline:0;overflow:hidden;padding-block:0;padding-inline:0;text-overflow:ellipsis;white-space:nowrap}.fd-notification-group__header-title:after,.fd-notification-group__header-title:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification-group__list{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:normal;margin-block:0;margin-inline:0;padding-block:0;padding-inline:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:var(--fdNotification_Group_List_Gap);list-style:none;margin-block:var(--fdNotification_Group_List_Margin_Block);margin-inline:var(--fdNotification_Group_List_Margin_Inline)}.fd-notification-group__list:after,.fd-notification-group__list:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification-group__growing-item{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:normal;margin-block:0;margin-inline:0;padding-block:0;padding-inline:0;--fdNotification_Background:var(--sapList_Background);--fdNotification_Title_Color:var(--sapList_TextColor);--fdNotification_Paragraph_Color:var(--sapList_TextColor);--fdNotification_Separator_Color:var(--sapContent_LabelColor);--fdNotification_Footer_Content_Color:var(--sapContent_LabelColor);--fdNotification_Border_Block_End_Color:var(--sapList_BorderColor);--fdNotification_Border_Block_Start_Color:var(--fdNotification_Border_Top_Color);--fdNotification_Border_Inline_Color:var(--fdNotification_Border_Left_Right_Color);background:var(--fdNotification_Background);border-block-end-color:var(--fdNotification_Border_Block_End_Color);border-block-start-color:var(--fdNotification_Border_Block_Start_Color);border-inline-color:var(--fdNotification_Border_Inline_Color);border-radius:var(--fdNotification_Border_Radius);border-style:solid;border-width:var(--sapList_BorderWidth);cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:.5rem;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-inline:var(--fdNotification_Growing_Item_Margin_Inline);padding-block:1rem;padding-inline:1rem;-webkit-margin-after:var(--fdNotification_Growing_Item_Margin_Block_End);margin-block-end:var(--fdNotification_Growing_Item_Margin_Block_End)}.fd-notification-group__growing-item:after,.fd-notification-group__growing-item:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification-group__growing-item.is-hover,.fd-notification-group__growing-item:hover{--fdNotification_Background:var(--fdNotification_Background_Hover)}.fd-notification-group__growing-item.is-active,.fd-notification-group__growing-item:active{--fdNotification_Background:var(--fdNotification_Background_Active);--fdNotification_Title_Color:var(--fdNotification_Title_Color_Active);--fdNotification_Paragraph_Color:var(--fdNotification_Paragraph_Color_Active);--fdNotification_Footer_Content_Color:var(--fdNotification_Footer_Content_Color_Active);--fdNotification_Separator_Color:var(--fdNotification_Separator_Color_Active);--fdNotification_Border_Inline_Color:var(--fdNotification_Border_Inline_Color_Active);--fdNotification_Border_Block_Start_Color:var(--fdNotification_Border_Block_Start_Color_Active);--fdNotification_Border_Block_End_Color:var(--fdNotification_Border_Block_End_Color_Active)}.fd-notification-group__growing-item.is-selected,.fd-notification-group__growing-item[aria-selected=true]{--fdNotification_Background:var(--fdNotification_Background_Selected);--fdNotification_Border_Inline_Color:var(--fdNotification_Border_Left_Right_Color_Selected);--fdNotification_Border_Block_Start_Color:var(--fdNotification_Border_Top_Color_Selected);--fdNotification_Border_Block_End_Color:var(--fdNotification_Border_Block_End_Color_Selected)}.fd-notification-group__growing-item.is-selected.is-hover,.fd-notification-group__growing-item.is-selected:hover,.fd-notification-group__growing-item[aria-selected=true].is-hover,.fd-notification-group__growing-item[aria-selected=true]:hover{--fdNotification_Background:var(--fdNotification_Background_Selected_Hover)}.fd-notification-group__growing-item.is-focus,.fd-notification-group__growing-item:focus{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:-.25rem;z-index:5}.fd-notification-group__growing-item-title{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);color:var(--fdNotification_Growing_Item_Title_Color);font-family:var(--sapFontFamily);font-family:var(--fdNotification_Growing_Item_Title_Font_Family);font-size:var(--sapFontSize);font-size:var(--fdNotification_Growing_Item_Title_Font_Size);font-weight:400;font-weight:var(--fdNotification_Growing_Item_Title_Font_Weight);forced-color-adjust:none;line-height:normal;margin-block:0;margin-inline:0;padding-block:0;padding-inline:0}.fd-notification-group__growing-item-title:after,.fd-notification-group__growing-item-title:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification-group__growing-item-subtitle{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);color:var(--sapContent_LabelColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:normal;margin-block:0;margin-inline:0;padding-block:0;padding-inline:0}.fd-notification-group__growing-item-subtitle:after,.fd-notification-group__growing-item-subtitle:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification-popover{--fdNotification_Popover_Width:27rem;--fdNotification_Popover_Max_Width:27rem;border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:normal;margin-block:0;margin-inline:0;padding-block:0;padding-inline:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-height:40rem;max-width:var(--fdNotification_Popover_Max_Width);width:var(--fdNotification_Popover_Width)}.fd-notification-popover:after,.fd-notification-popover:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}@media(width<=599px){.fd-notification-popover{--fdNotification_Popover_Width:auto;--fdNotification_Popover_Max_Width:25rem}}.fd-notification-banner{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:normal;margin-block:0;margin-inline:0;padding-block:0;padding-inline:0;right:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:.5rem;top:0;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;position:absolute;-webkit-margin-end:2rem;margin-inline-end:2rem;-webkit-margin-before:2rem;margin-block-start:2rem;max-width:var(--fdNotification_Popover_Max_Width,26rem)}.fd-notification-banner:after,.fd-notification-banner:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-notification-banner[dir=rtl],[dir=rtl] .fd-notification-banner{left:0;right:auto}.fd-notification-banner .fd-notification{-webkit-box-shadow:var(--sapContent_Shadow2);box-shadow:var(--sapContent_Shadow2);width:100%}@media(width<=599px){.fd-notification-banner .fd-notification{--fdNotification_Popover_Max_Width:24rem}}.fd-notification[class*=-compact],[class*=-compact] .fd-notification:not([class*=-cozy]){--fdNotification_Content_Gap:.5rem;--fdNotification_Title_Offset:4rem;--fdNotification_Title_One_Button_Offset:2.75rem;--fdNotification_Title_Two_Buttons_Offset:4.875rem}.fd-notification{display:flex}.fd-notification-message-strip:has(.fd-has-display-none){padding-block:0;padding-inline:0}.fd-notification-container .fd-notification{margin-block-end:.5rem}.fd-notification__title.is-expanded,.fd-notification__paragraph.is-expanded{display:block;overflow:visible;max-height:max-content}\n/*! Bundled license information:\n\nfundamental-styles/dist/notification.css:\n (*!\n * Fundamental Library Styles v0.41.8\n * Copyright (c) 2026 SAP SE or an SAP affiliate company.\n * Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)\n *)\n*/\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1083
1129
|
}
|
|
1084
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationComponent, decorators: [{
|
|
1085
1131
|
type: Component,
|
|
1086
1132
|
args: [{ selector: 'fd-notification', template: `
|
|
1087
1133
|
<ng-content></ng-content>
|
|
@@ -1105,10 +1151,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
1105
1151
|
}], ctorParameters: () => [], propDecorators: { containerRef: [{ type: i0.ViewChild, args: ['vc', { ...{ read: ViewContainerRef }, isSignal: true }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], mobile: [{ type: i0.Input, args: [{ isSignal: true, alias: "mobile", required: false }] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }], _notificationTitle: [{ type: i0.ContentChild, args: [i0.forwardRef(() => FD_NOTIFICATION_TITLE), { isSignal: true }] }], _notificationParagraph: [{ type: i0.ContentChild, args: [i0.forwardRef(() => FD_NOTIFICATION_PARAGRAPH), { isSignal: true }] }], _notificationFooter: [{ type: i0.ContentChild, args: [i0.forwardRef(() => FD_NOTIFICATION_FOOTER), { isSignal: true }] }] } });
|
|
1106
1152
|
|
|
1107
1153
|
class NotificationContainer {
|
|
1108
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1109
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1154
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationContainer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1155
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: NotificationContainer, isStandalone: true, selector: "fd-notification-container", host: { classAttribute: "fd-notification-container" }, ngImport: i0, template: ``, isInline: true, styles: [".fd-notification-container{position:fixed;display:flex;flex-direction:column;z-index:5000;align-items:flex-end;top:2rem;right:2rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1110
1156
|
}
|
|
1111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationContainer, decorators: [{
|
|
1112
1158
|
type: Component,
|
|
1113
1159
|
args: [{ selector: 'fd-notification-container', template: ``, host: {
|
|
1114
1160
|
class: 'fd-notification-container'
|
|
@@ -1209,10 +1255,10 @@ class NotificationService {
|
|
|
1209
1255
|
this._elementFocusedBeforeNotificationWasOpened.focus();
|
|
1210
1256
|
}
|
|
1211
1257
|
}
|
|
1212
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1213
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1258
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationService, deps: [{ token: i1.DynamicComponentService }, { token: DOCUMENT }, { token: i1.RtlService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1259
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationService }); }
|
|
1214
1260
|
}
|
|
1215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationService, decorators: [{
|
|
1216
1262
|
type: Injectable
|
|
1217
1263
|
}], ctorParameters: () => [{ type: i1.DynamicComponentService }, { type: Document, decorators: [{
|
|
1218
1264
|
type: Inject,
|
|
@@ -1250,8 +1296,8 @@ const components = [
|
|
|
1250
1296
|
* Use direct imports of components and directives.
|
|
1251
1297
|
*/
|
|
1252
1298
|
class NotificationModule {
|
|
1253
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1254
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1299
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1300
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: NotificationModule, imports: [NotificationComponent,
|
|
1255
1301
|
NotificationContainer,
|
|
1256
1302
|
NotificationLinkComponent,
|
|
1257
1303
|
NotificationBodyComponent,
|
|
@@ -1294,9 +1340,9 @@ class NotificationModule {
|
|
|
1294
1340
|
NotificationGroupHeaderTitleDirective,
|
|
1295
1341
|
NotificationMessageStripContainerDirective,
|
|
1296
1342
|
NotificationGroupGrowingItemTitleDirective] }); }
|
|
1297
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1343
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationModule, providers: [DynamicComponentService, NotificationService], imports: [NotificationGroupHeaderComponent] }); }
|
|
1298
1344
|
}
|
|
1299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: NotificationModule, decorators: [{
|
|
1300
1346
|
type: NgModule,
|
|
1301
1347
|
args: [{
|
|
1302
1348
|
imports: [...components],
|