@progress/kendo-angular-notification 16.5.0 → 16.6.0-develop.1

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.
@@ -0,0 +1,10 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { NotificationComponent } from "./notification.component";
6
+ import { NotificationContainerComponent } from "./notification.container.component";
7
+ /**
8
+ * Utility array that contains all `@progress/kendo-angular-notification` related components and directives
9
+ */
10
+ export declare const KENDO_NOTIFICATION: readonly [typeof NotificationComponent, typeof NotificationContainerComponent];
@@ -0,0 +1,13 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { NotificationComponent } from "./notification.component";
6
+ import { NotificationContainerComponent } from "./notification.container.component";
7
+ /**
8
+ * Utility array that contains all `@progress/kendo-angular-notification` related components and directives
9
+ */
10
+ export const KENDO_NOTIFICATION = [
11
+ NotificationComponent,
12
+ NotificationContainerComponent
13
+ ];
package/esm2020/index.mjs CHANGED
@@ -8,3 +8,4 @@ export { NotificationService, NOTIFICATION_CONTAINER } from './services/notifica
8
8
  export { NotificationModule } from './notification.module';
9
9
  // WRT error NG3001: Unsupported private class
10
10
  export { NotificationContainerComponent } from './notification.container.component';
11
+ export * from './directives';
@@ -16,7 +16,7 @@ export class LocalizedMessagesDirective extends ComponentMessages {
16
16
  }
17
17
  }
18
18
  LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
19
- LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "[kendoNotificationLocalizedMessages]", inputs: { closeTitle: "closeTitle" }, providers: [
19
+ LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoNotificationLocalizedMessages]", inputs: { closeTitle: "closeTitle" }, providers: [
20
20
  {
21
21
  provide: ComponentMessages,
22
22
  useExisting: forwardRef(() => LocalizedMessagesDirective)
@@ -31,7 +31,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
31
31
  useExisting: forwardRef(() => LocalizedMessagesDirective)
32
32
  }
33
33
  ],
34
- selector: `[kendoNotificationLocalizedMessages]`
34
+ selector: `[kendoNotificationLocalizedMessages]`,
35
+ standalone: true
35
36
  }]
36
37
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { closeTitle: [{
37
38
  type: Input
@@ -7,7 +7,7 @@ export class NotificationSettings {
7
7
  /**
8
8
  * Specifies the time in milliseconds after which the
9
9
  * Notification will hide
10
- * ([see example]({% slug hiding_notifications %}#toc-definig-a-delay-before-hiding)).
10
+ * ([see example](slug:hiding_notifications#toc-defining-a-delay-before-hiding)).
11
11
  * Defaults to `5000`.
12
12
  */
13
13
  this.hideAfter = 5000;
@@ -3,20 +3,20 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, EventEmitter, HostBinding, Input, TemplateRef, ChangeDetectorRef, ViewChild, ViewContainerRef, ElementRef, Renderer2 } from '@angular/core';
6
+ import { NgClass, NgIf, NgTemplateOutlet } from '@angular/common';
6
7
  import { AnimationBuilder } from '@angular/animations';
7
8
  import { take } from 'rxjs/operators';
8
9
  import { validatePackage } from '@progress/kendo-licensing';
9
- import { packageMetadata } from './package-metadata';
10
- import { fadeAnimation, fadeCloseAnimation, slideAnimation, slideCloseAnimation } from './utils/animations';
11
10
  import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
12
11
  import { checkOutlineIcon, exclamationCircleIcon, infoCircleIcon, xIcon, xOutlineIcon } from '@progress/kendo-svg-icons';
13
12
  import { guid } from '@progress/kendo-angular-common';
13
+ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
14
+ import { packageMetadata } from './package-metadata';
15
+ import { fadeAnimation, fadeCloseAnimation, slideAnimation, slideCloseAnimation } from './utils/animations';
16
+ import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
14
17
  import * as i0 from "@angular/core";
15
18
  import * as i1 from "@angular/animations";
16
19
  import * as i2 from "@progress/kendo-angular-l10n";
17
- import * as i3 from "@angular/common";
18
- import * as i4 from "@progress/kendo-angular-icons";
19
- import * as i5 from "./localization/localized-messages.directive";
20
20
  /**
21
21
  * @hidden
22
22
  *
@@ -158,7 +158,7 @@ export class NotificationComponent {
158
158
  }
159
159
  }
160
160
  NotificationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.AnimationBuilder }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
161
- NotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NotificationComponent, selector: "kendo-notification", inputs: { templateRef: "templateRef", templateString: "templateString", width: "width", height: "height", notificationLabel: "notificationLabel", cssClass: "cssClass", hideAfter: "hideAfter", closable: "closable", type: "type", animation: "animation" }, host: { properties: { "attr.dir": "this.direction" } }, providers: [
161
+ NotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NotificationComponent, isStandalone: true, selector: "kendo-notification", inputs: { templateRef: "templateRef", templateString: "templateString", width: "width", height: "height", notificationLabel: "notificationLabel", cssClass: "cssClass", hideAfter: "hideAfter", closable: "closable", type: "type", animation: "animation" }, host: { properties: { "attr.dir": "this.direction" } }, providers: [
162
162
  LocalizationService,
163
163
  {
164
164
  provide: L10N_PREFIX,
@@ -203,7 +203,7 @@ NotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
203
203
  </span>
204
204
  </span>
205
205
  </div>
206
- `, isInline: true, dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: i5.LocalizedMessagesDirective, selector: "[kendoNotificationLocalizedMessages]", inputs: ["closeTitle"] }] });
206
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoNotificationLocalizedMessages]", inputs: ["closeTitle"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
207
207
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationComponent, decorators: [{
208
208
  type: Component,
209
209
  args: [{
@@ -254,7 +254,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
254
254
  provide: L10N_PREFIX,
255
255
  useValue: 'kendo.notification'
256
256
  }
257
- ]
257
+ ],
258
+ standalone: true,
259
+ imports: [LocalizedMessagesDirective, NgClass, NgIf, IconWrapperComponent, NgTemplateOutlet]
258
260
  }]
259
261
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.AnimationBuilder }, { type: i2.LocalizationService }]; }, propDecorators: { container: [{
260
262
  type: ViewChild,
@@ -128,7 +128,7 @@ export class NotificationContainerComponent {
128
128
  }
129
129
  }
130
130
  NotificationContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationContainerComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });
131
- NotificationContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NotificationContainerComponent, selector: "kendo-notification-container", inputs: { id: "id" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "group", first: true, predicate: ["group"], descendants: true, static: true }], ngImport: i0, template: `
131
+ NotificationContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NotificationContainerComponent, isStandalone: true, selector: "kendo-notification-container", inputs: { id: "id" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "group", first: true, predicate: ["group"], descendants: true, static: true }], ngImport: i0, template: `
132
132
  <div #group class="k-notification-group">
133
133
  <ng-container #container></ng-container>
134
134
  </div>
@@ -141,7 +141,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
141
141
  <div #group class="k-notification-group">
142
142
  <ng-container #container></ng-container>
143
143
  </div>
144
- `
144
+ `,
145
+ standalone: true
145
146
  }]
146
147
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { container: [{
147
148
  type: ViewChild,
@@ -3,13 +3,15 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
- import { CommonModule } from '@angular/common';
6
+ import { IconsService } from '@progress/kendo-angular-icons';
7
7
  import { NotificationService } from './services/notification.service';
8
8
  import { NotificationComponent } from './notification.component';
9
9
  import { NotificationContainerComponent } from './notification.container.component';
10
- import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
11
- import { IconsModule } from '@progress/kendo-angular-icons';
10
+ import { KENDO_NOTIFICATION } from './directives';
12
11
  import * as i0 from "@angular/core";
12
+ import * as i1 from "./notification.component";
13
+ import * as i2 from "./notification.container.component";
14
+ // IMPORTANT: NgModule export kept for backwards compatibility
13
15
  /**
14
16
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
15
17
  * definition for the Notification component.
@@ -43,15 +45,14 @@ import * as i0 from "@angular/core";
43
45
  export class NotificationModule {
44
46
  }
45
47
  NotificationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
46
- NotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NotificationModule, declarations: [NotificationComponent, NotificationContainerComponent, LocalizedMessagesDirective], imports: [CommonModule, IconsModule], exports: [NotificationComponent, NotificationContainerComponent] });
47
- NotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationModule, providers: [NotificationService], imports: [CommonModule, IconsModule] });
48
+ NotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NotificationModule, imports: [i1.NotificationComponent, i2.NotificationContainerComponent], exports: [i1.NotificationComponent, i2.NotificationContainerComponent] });
49
+ NotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationModule, providers: [NotificationService, IconsService], imports: [KENDO_NOTIFICATION] });
48
50
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationModule, decorators: [{
49
51
  type: NgModule,
50
52
  args: [{
51
- declarations: [NotificationComponent, NotificationContainerComponent, LocalizedMessagesDirective],
52
53
  entryComponents: [NotificationComponent, NotificationContainerComponent],
53
- imports: [CommonModule, IconsModule],
54
- exports: [NotificationComponent, NotificationContainerComponent],
55
- providers: [NotificationService]
54
+ imports: [...KENDO_NOTIFICATION],
55
+ exports: [...KENDO_NOTIFICATION],
56
+ providers: [NotificationService, IconsService]
56
57
  }]
57
58
  }] });
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-notification',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1721814397,
13
- version: '16.5.0',
12
+ publishDate: 1721828004,
13
+ version: '16.6.0-develop.1',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -126,9 +126,12 @@ export class NotificationService {
126
126
  }
127
127
  }
128
128
  NotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: NOTIFICATION_CONTAINER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
129
- NotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationService });
129
+ NotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationService, providedIn: 'root' });
130
130
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationService, decorators: [{
131
- type: Injectable
131
+ type: Injectable,
132
+ args: [{
133
+ providedIn: 'root'
134
+ }]
132
135
  }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ElementRef, decorators: [{
133
136
  type: Inject,
134
137
  args: [NOTIFICATION_CONTAINER]
@@ -4,25 +4,23 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from '@angular/core';
6
6
  import { forwardRef, Directive, Input, EventEmitter, ViewContainerRef, Component, ViewChild, HostBinding, TemplateRef, InjectionToken, ApplicationRef, Injectable, Inject, Optional, NgModule } from '@angular/core';
7
+ import { NgClass, NgIf, NgTemplateOutlet } from '@angular/common';
7
8
  import { take } from 'rxjs/operators';
8
9
  import { validatePackage } from '@progress/kendo-licensing';
9
- import * as i1$1 from '@angular/animations';
10
- import { style, animate } from '@angular/animations';
11
10
  import * as i1 from '@progress/kendo-angular-l10n';
12
11
  import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
13
12
  import { xIcon, checkOutlineIcon, exclamationCircleIcon, xOutlineIcon, infoCircleIcon } from '@progress/kendo-svg-icons';
14
13
  import { guid } from '@progress/kendo-angular-common';
15
- import * as i3 from '@angular/common';
16
- import { CommonModule } from '@angular/common';
17
- import * as i4 from '@progress/kendo-angular-icons';
18
- import { IconsModule } from '@progress/kendo-angular-icons';
14
+ import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
15
+ import * as i1$1 from '@angular/animations';
16
+ import { style, animate } from '@angular/animations';
19
17
 
20
18
  class NotificationSettings {
21
19
  constructor() {
22
20
  /**
23
21
  * Specifies the time in milliseconds after which the
24
22
  * Notification will hide
25
- * ([see example]({% slug hiding_notifications %}#toc-definig-a-delay-before-hiding)).
23
+ * ([see example](slug:hiding_notifications#toc-defining-a-delay-before-hiding)).
26
24
  * Defaults to `5000`.
27
25
  */
28
26
  this.hideAfter = 5000;
@@ -78,8 +76,8 @@ const packageMetadata = {
78
76
  name: '@progress/kendo-angular-notification',
79
77
  productName: 'Kendo UI for Angular',
80
78
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
81
- publishDate: 1721814397,
82
- version: '16.5.0',
79
+ publishDate: 1721828004,
80
+ version: '16.6.0-develop.1',
83
81
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
84
82
  };
85
83
 
@@ -130,7 +128,7 @@ class LocalizedMessagesDirective extends ComponentMessages {
130
128
  }
131
129
  }
132
130
  LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
133
- LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "[kendoNotificationLocalizedMessages]", inputs: { closeTitle: "closeTitle" }, providers: [
131
+ LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoNotificationLocalizedMessages]", inputs: { closeTitle: "closeTitle" }, providers: [
134
132
  {
135
133
  provide: ComponentMessages,
136
134
  useExisting: forwardRef(() => LocalizedMessagesDirective)
@@ -145,7 +143,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
145
143
  useExisting: forwardRef(() => LocalizedMessagesDirective)
146
144
  }
147
145
  ],
148
- selector: `[kendoNotificationLocalizedMessages]`
146
+ selector: `[kendoNotificationLocalizedMessages]`,
147
+ standalone: true
149
148
  }]
150
149
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { closeTitle: [{
151
150
  type: Input
@@ -292,7 +291,7 @@ class NotificationComponent {
292
291
  }
293
292
  }
294
293
  NotificationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1$1.AnimationBuilder }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
295
- NotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NotificationComponent, selector: "kendo-notification", inputs: { templateRef: "templateRef", templateString: "templateString", width: "width", height: "height", notificationLabel: "notificationLabel", cssClass: "cssClass", hideAfter: "hideAfter", closable: "closable", type: "type", animation: "animation" }, host: { properties: { "attr.dir": "this.direction" } }, providers: [
294
+ NotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NotificationComponent, isStandalone: true, selector: "kendo-notification", inputs: { templateRef: "templateRef", templateString: "templateString", width: "width", height: "height", notificationLabel: "notificationLabel", cssClass: "cssClass", hideAfter: "hideAfter", closable: "closable", type: "type", animation: "animation" }, host: { properties: { "attr.dir": "this.direction" } }, providers: [
296
295
  LocalizationService,
297
296
  {
298
297
  provide: L10N_PREFIX,
@@ -337,7 +336,7 @@ NotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
337
336
  </span>
338
337
  </span>
339
338
  </div>
340
- `, isInline: true, dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoNotificationLocalizedMessages]", inputs: ["closeTitle"] }] });
339
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoNotificationLocalizedMessages]", inputs: ["closeTitle"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
341
340
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationComponent, decorators: [{
342
341
  type: Component,
343
342
  args: [{
@@ -388,7 +387,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
388
387
  provide: L10N_PREFIX,
389
388
  useValue: 'kendo.notification'
390
389
  }
391
- ]
390
+ ],
391
+ standalone: true,
392
+ imports: [LocalizedMessagesDirective, NgClass, NgIf, IconWrapperComponent, NgTemplateOutlet]
392
393
  }]
393
394
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1$1.AnimationBuilder }, { type: i1.LocalizationService }]; }, propDecorators: { container: [{
394
395
  type: ViewChild,
@@ -541,7 +542,7 @@ class NotificationContainerComponent {
541
542
  }
542
543
  }
543
544
  NotificationContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationContainerComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });
544
- NotificationContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NotificationContainerComponent, selector: "kendo-notification-container", inputs: { id: "id" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "group", first: true, predicate: ["group"], descendants: true, static: true }], ngImport: i0, template: `
545
+ NotificationContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NotificationContainerComponent, isStandalone: true, selector: "kendo-notification-container", inputs: { id: "id" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "group", first: true, predicate: ["group"], descendants: true, static: true }], ngImport: i0, template: `
545
546
  <div #group class="k-notification-group">
546
547
  <ng-container #container></ng-container>
547
548
  </div>
@@ -554,7 +555,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
554
555
  <div #group class="k-notification-group">
555
556
  <ng-container #container></ng-container>
556
557
  </div>
557
- `
558
+ `,
559
+ standalone: true
558
560
  }]
559
561
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { container: [{
560
562
  type: ViewChild,
@@ -687,9 +689,12 @@ class NotificationService {
687
689
  }
688
690
  }
689
691
  NotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: NOTIFICATION_CONTAINER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
690
- NotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationService });
692
+ NotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationService, providedIn: 'root' });
691
693
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationService, decorators: [{
692
- type: Injectable
694
+ type: Injectable,
695
+ args: [{
696
+ providedIn: 'root'
697
+ }]
693
698
  }], ctorParameters: function () {
694
699
  return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ElementRef, decorators: [{
695
700
  type: Inject,
@@ -699,6 +704,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
699
704
  }] }];
700
705
  } });
701
706
 
707
+ /**
708
+ * Utility array that contains all `@progress/kendo-angular-notification` related components and directives
709
+ */
710
+ const KENDO_NOTIFICATION = [
711
+ NotificationComponent,
712
+ NotificationContainerComponent
713
+ ];
714
+
715
+ // IMPORTANT: NgModule export kept for backwards compatibility
702
716
  /**
703
717
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
704
718
  * definition for the Notification component.
@@ -732,16 +746,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
732
746
  class NotificationModule {
733
747
  }
734
748
  NotificationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
735
- NotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NotificationModule, declarations: [NotificationComponent, NotificationContainerComponent, LocalizedMessagesDirective], imports: [CommonModule, IconsModule], exports: [NotificationComponent, NotificationContainerComponent] });
736
- NotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationModule, providers: [NotificationService], imports: [CommonModule, IconsModule] });
749
+ NotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NotificationModule, imports: [NotificationComponent, NotificationContainerComponent], exports: [NotificationComponent, NotificationContainerComponent] });
750
+ NotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationModule, providers: [NotificationService, IconsService], imports: [KENDO_NOTIFICATION] });
737
751
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationModule, decorators: [{
738
752
  type: NgModule,
739
753
  args: [{
740
- declarations: [NotificationComponent, NotificationContainerComponent, LocalizedMessagesDirective],
741
754
  entryComponents: [NotificationComponent, NotificationContainerComponent],
742
- imports: [CommonModule, IconsModule],
743
- exports: [NotificationComponent, NotificationContainerComponent],
744
- providers: [NotificationService]
755
+ imports: [...KENDO_NOTIFICATION],
756
+ exports: [...KENDO_NOTIFICATION],
757
+ providers: [NotificationService, IconsService]
745
758
  }]
746
759
  }] });
747
760
 
@@ -749,5 +762,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
749
762
  * Generated bundle index. Do not edit.
750
763
  */
751
764
 
752
- export { NOTIFICATION_CONTAINER, NotificationComponent, NotificationContainerComponent, NotificationModule, NotificationService, NotificationSettings };
765
+ export { KENDO_NOTIFICATION, NOTIFICATION_CONTAINER, NotificationComponent, NotificationContainerComponent, NotificationModule, NotificationService, NotificationSettings };
753
766
 
@@ -4,6 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from '@angular/core';
6
6
  import { forwardRef, Directive, Input, EventEmitter, ViewContainerRef, Component, ViewChild, HostBinding, TemplateRef, InjectionToken, ApplicationRef, Injectable, Inject, Optional, NgModule } from '@angular/core';
7
+ import { NgClass, NgIf, NgTemplateOutlet } from '@angular/common';
7
8
  import * as i1$1 from '@angular/animations';
8
9
  import { style, animate } from '@angular/animations';
9
10
  import { take } from 'rxjs/operators';
@@ -12,17 +13,14 @@ import * as i1 from '@progress/kendo-angular-l10n';
12
13
  import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
13
14
  import { xIcon, checkOutlineIcon, exclamationCircleIcon, xOutlineIcon, infoCircleIcon } from '@progress/kendo-svg-icons';
14
15
  import { guid } from '@progress/kendo-angular-common';
15
- import * as i3 from '@angular/common';
16
- import { CommonModule } from '@angular/common';
17
- import * as i4 from '@progress/kendo-angular-icons';
18
- import { IconsModule } from '@progress/kendo-angular-icons';
16
+ import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
19
17
 
20
18
  class NotificationSettings {
21
19
  constructor() {
22
20
  /**
23
21
  * Specifies the time in milliseconds after which the
24
22
  * Notification will hide
25
- * ([see example]({% slug hiding_notifications %}#toc-definig-a-delay-before-hiding)).
23
+ * ([see example](slug:hiding_notifications#toc-defining-a-delay-before-hiding)).
26
24
  * Defaults to `5000`.
27
25
  */
28
26
  this.hideAfter = 5000;
@@ -78,8 +76,8 @@ const packageMetadata = {
78
76
  name: '@progress/kendo-angular-notification',
79
77
  productName: 'Kendo UI for Angular',
80
78
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
81
- publishDate: 1721814397,
82
- version: '16.5.0',
79
+ publishDate: 1721828004,
80
+ version: '16.6.0-develop.1',
83
81
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
84
82
  };
85
83
 
@@ -130,7 +128,7 @@ class LocalizedMessagesDirective extends ComponentMessages {
130
128
  }
131
129
  }
132
130
  LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
133
- LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "[kendoNotificationLocalizedMessages]", inputs: { closeTitle: "closeTitle" }, providers: [
131
+ LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoNotificationLocalizedMessages]", inputs: { closeTitle: "closeTitle" }, providers: [
134
132
  {
135
133
  provide: ComponentMessages,
136
134
  useExisting: forwardRef(() => LocalizedMessagesDirective)
@@ -145,7 +143,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
145
143
  useExisting: forwardRef(() => LocalizedMessagesDirective)
146
144
  }
147
145
  ],
148
- selector: `[kendoNotificationLocalizedMessages]`
146
+ selector: `[kendoNotificationLocalizedMessages]`,
147
+ standalone: true
149
148
  }]
150
149
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { closeTitle: [{
151
150
  type: Input
@@ -292,7 +291,7 @@ class NotificationComponent {
292
291
  }
293
292
  }
294
293
  NotificationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1$1.AnimationBuilder }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
295
- NotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NotificationComponent, selector: "kendo-notification", inputs: { templateRef: "templateRef", templateString: "templateString", width: "width", height: "height", notificationLabel: "notificationLabel", cssClass: "cssClass", hideAfter: "hideAfter", closable: "closable", type: "type", animation: "animation" }, host: { properties: { "attr.dir": "this.direction" } }, providers: [
294
+ NotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NotificationComponent, isStandalone: true, selector: "kendo-notification", inputs: { templateRef: "templateRef", templateString: "templateString", width: "width", height: "height", notificationLabel: "notificationLabel", cssClass: "cssClass", hideAfter: "hideAfter", closable: "closable", type: "type", animation: "animation" }, host: { properties: { "attr.dir": "this.direction" } }, providers: [
296
295
  LocalizationService,
297
296
  {
298
297
  provide: L10N_PREFIX,
@@ -337,7 +336,7 @@ NotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
337
336
  </span>
338
337
  </span>
339
338
  </div>
340
- `, isInline: true, dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoNotificationLocalizedMessages]", inputs: ["closeTitle"] }] });
339
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoNotificationLocalizedMessages]", inputs: ["closeTitle"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
341
340
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationComponent, decorators: [{
342
341
  type: Component,
343
342
  args: [{
@@ -388,7 +387,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
388
387
  provide: L10N_PREFIX,
389
388
  useValue: 'kendo.notification'
390
389
  }
391
- ]
390
+ ],
391
+ standalone: true,
392
+ imports: [LocalizedMessagesDirective, NgClass, NgIf, IconWrapperComponent, NgTemplateOutlet]
392
393
  }]
393
394
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1$1.AnimationBuilder }, { type: i1.LocalizationService }]; }, propDecorators: { container: [{
394
395
  type: ViewChild,
@@ -541,7 +542,7 @@ class NotificationContainerComponent {
541
542
  }
542
543
  }
543
544
  NotificationContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationContainerComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });
544
- NotificationContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NotificationContainerComponent, selector: "kendo-notification-container", inputs: { id: "id" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "group", first: true, predicate: ["group"], descendants: true, static: true }], ngImport: i0, template: `
545
+ NotificationContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NotificationContainerComponent, isStandalone: true, selector: "kendo-notification-container", inputs: { id: "id" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "group", first: true, predicate: ["group"], descendants: true, static: true }], ngImport: i0, template: `
545
546
  <div #group class="k-notification-group">
546
547
  <ng-container #container></ng-container>
547
548
  </div>
@@ -554,7 +555,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
554
555
  <div #group class="k-notification-group">
555
556
  <ng-container #container></ng-container>
556
557
  </div>
557
- `
558
+ `,
559
+ standalone: true
558
560
  }]
559
561
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { container: [{
560
562
  type: ViewChild,
@@ -687,9 +689,12 @@ class NotificationService {
687
689
  }
688
690
  }
689
691
  NotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: NOTIFICATION_CONTAINER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
690
- NotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationService });
692
+ NotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationService, providedIn: 'root' });
691
693
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationService, decorators: [{
692
- type: Injectable
694
+ type: Injectable,
695
+ args: [{
696
+ providedIn: 'root'
697
+ }]
693
698
  }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ElementRef, decorators: [{
694
699
  type: Inject,
695
700
  args: [NOTIFICATION_CONTAINER]
@@ -697,6 +702,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
697
702
  type: Optional
698
703
  }] }]; } });
699
704
 
705
+ /**
706
+ * Utility array that contains all `@progress/kendo-angular-notification` related components and directives
707
+ */
708
+ const KENDO_NOTIFICATION = [
709
+ NotificationComponent,
710
+ NotificationContainerComponent
711
+ ];
712
+
713
+ // IMPORTANT: NgModule export kept for backwards compatibility
700
714
  /**
701
715
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
702
716
  * definition for the Notification component.
@@ -730,16 +744,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
730
744
  class NotificationModule {
731
745
  }
732
746
  NotificationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
733
- NotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NotificationModule, declarations: [NotificationComponent, NotificationContainerComponent, LocalizedMessagesDirective], imports: [CommonModule, IconsModule], exports: [NotificationComponent, NotificationContainerComponent] });
734
- NotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationModule, providers: [NotificationService], imports: [CommonModule, IconsModule] });
747
+ NotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NotificationModule, imports: [NotificationComponent, NotificationContainerComponent], exports: [NotificationComponent, NotificationContainerComponent] });
748
+ NotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationModule, providers: [NotificationService, IconsService], imports: [KENDO_NOTIFICATION] });
735
749
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NotificationModule, decorators: [{
736
750
  type: NgModule,
737
751
  args: [{
738
- declarations: [NotificationComponent, NotificationContainerComponent, LocalizedMessagesDirective],
739
752
  entryComponents: [NotificationComponent, NotificationContainerComponent],
740
- imports: [CommonModule, IconsModule],
741
- exports: [NotificationComponent, NotificationContainerComponent],
742
- providers: [NotificationService]
753
+ imports: [...KENDO_NOTIFICATION],
754
+ exports: [...KENDO_NOTIFICATION],
755
+ providers: [NotificationService, IconsService]
743
756
  }]
744
757
  }] });
745
758
 
@@ -747,5 +760,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
747
760
  * Generated bundle index. Do not edit.
748
761
  */
749
762
 
750
- export { NOTIFICATION_CONTAINER, NotificationComponent, NotificationContainerComponent, NotificationModule, NotificationService, NotificationSettings };
763
+ export { KENDO_NOTIFICATION, NOTIFICATION_CONTAINER, NotificationComponent, NotificationContainerComponent, NotificationModule, NotificationService, NotificationSettings };
751
764
 
package/index.d.ts CHANGED
@@ -11,3 +11,4 @@ export { NotificationComponent } from './notification.component';
11
11
  export { NotificationService, NOTIFICATION_CONTAINER } from './services/notification.service';
12
12
  export { NotificationModule } from './notification.module';
13
13
  export { NotificationContainerComponent } from './notification.container.component';
14
+ export * from './directives';
@@ -15,5 +15,5 @@ export declare class LocalizedMessagesDirective extends ComponentMessages {
15
15
  closeTitle: string;
16
16
  constructor(service: LocalizationService);
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedMessagesDirective, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, "[kendoNotificationLocalizedMessages]", never, { "closeTitle": "closeTitle"; }, {}, never, never, false, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, "[kendoNotificationLocalizedMessages]", never, { "closeTitle": "closeTitle"; }, {}, never, never, true, never>;
19
19
  }
@@ -14,7 +14,7 @@ export declare class NotificationSettings {
14
14
  /**
15
15
  * Specifies the time in milliseconds after which the
16
16
  * Notification will hide
17
- * ([see example]({% slug hiding_notifications %}#toc-definig-a-delay-before-hiding)).
17
+ * ([see example](slug:hiding_notifications#toc-defining-a-delay-before-hiding)).
18
18
  * Defaults to `5000`.
19
19
  */
20
20
  hideAfter?: number;
@@ -75,7 +75,7 @@ export declare class NotificationSettings {
75
75
  /**
76
76
  * Specifies a list of CSS classes that will be added to the Notification.
77
77
  * To apply CSS rules to the component, set `encapsulation` to `ViewEncapsulation.None`
78
- * ([see example]({% slug overview_notification %}#-toc-basic-example)).
78
+ * ([see example](slug:overview_notification)).
79
79
  *
80
80
  * > To style the content of the Notification, use the `cssClass` property binding.
81
81
  */
@@ -5,10 +5,10 @@
5
5
  import { EventEmitter, TemplateRef, ChangeDetectorRef, ViewContainerRef, ElementRef, OnInit, ComponentRef, OnDestroy, Renderer2 } from '@angular/core';
6
6
  import { AnimationBuilder } from '@angular/animations';
7
7
  import { Subscription } from 'rxjs';
8
- import { Type } from './models/type';
9
- import { Animation } from './models/animation';
10
8
  import { LocalizationService } from '@progress/kendo-angular-l10n';
11
9
  import { SVGIcon } from '@progress/kendo-svg-icons';
10
+ import { Type } from './models/type';
11
+ import { Animation } from './models/animation';
12
12
  import * as i0 from "@angular/core";
13
13
  /**
14
14
  * @hidden
@@ -66,5 +66,5 @@ export declare class NotificationComponent implements OnInit, OnDestroy {
66
66
  private slideAnimation;
67
67
  private fadeAnimation;
68
68
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationComponent, never>;
69
- static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "kendo-notification", never, { "templateRef": "templateRef"; "templateString": "templateString"; "width": "width"; "height": "height"; "notificationLabel": "notificationLabel"; "cssClass": "cssClass"; "hideAfter": "hideAfter"; "closable": "closable"; "type": "type"; "animation": "animation"; }, {}, never, never, false, never>;
69
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "kendo-notification", never, { "templateRef": "templateRef"; "templateString": "templateString"; "width": "width"; "height": "height"; "notificationLabel": "notificationLabel"; "cssClass": "cssClass"; "hideAfter": "hideAfter"; "closable": "closable"; "type": "type"; "animation": "animation"; }, {}, never, never, true, never>;
70
70
  }
@@ -29,5 +29,5 @@ export declare class NotificationContainerComponent implements OnDestroy {
29
29
  private applyPosition;
30
30
  private setContainerPosition;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationContainerComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<NotificationContainerComponent, "kendo-notification-container", never, { "id": "id"; }, {}, never, never, false, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationContainerComponent, "kendo-notification-container", never, { "id": "id"; }, {}, never, never, true, never>;
33
33
  }
@@ -5,9 +5,6 @@
5
5
  import * as i0 from "@angular/core";
6
6
  import * as i1 from "./notification.component";
7
7
  import * as i2 from "./notification.container.component";
8
- import * as i3 from "./localization/localized-messages.directive";
9
- import * as i4 from "@angular/common";
10
- import * as i5 from "@progress/kendo-angular-icons";
11
8
  /**
12
9
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
13
10
  * definition for the Notification component.
@@ -40,6 +37,6 @@ import * as i5 from "@progress/kendo-angular-icons";
40
37
  */
41
38
  export declare class NotificationModule {
42
39
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationModule, never>;
43
- static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationModule, [typeof i1.NotificationComponent, typeof i2.NotificationContainerComponent, typeof i3.LocalizedMessagesDirective], [typeof i4.CommonModule, typeof i5.IconsModule], [typeof i1.NotificationComponent, typeof i2.NotificationContainerComponent]>;
40
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationModule, never, [typeof i1.NotificationComponent, typeof i2.NotificationContainerComponent], [typeof i1.NotificationComponent, typeof i2.NotificationContainerComponent]>;
44
41
  static ɵinj: i0.ɵɵInjectorDeclaration<NotificationModule>;
45
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-notification",
3
- "version": "16.5.0",
3
+ "version": "16.6.0-develop.1",
4
4
  "description": "Kendo UI Notification for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -21,14 +21,14 @@
21
21
  "@angular/core": "15 - 18",
22
22
  "@angular/platform-browser": "15 - 18",
23
23
  "@progress/kendo-licensing": "^1.0.2",
24
- "@progress/kendo-angular-common": "16.5.0",
25
- "@progress/kendo-angular-l10n": "16.5.0",
26
- "@progress/kendo-angular-icons": "16.5.0",
24
+ "@progress/kendo-angular-common": "16.6.0-develop.1",
25
+ "@progress/kendo-angular-l10n": "16.6.0-develop.1",
26
+ "@progress/kendo-angular-icons": "16.6.0-develop.1",
27
27
  "rxjs": "^6.5.3 || ^7.0.0"
28
28
  },
29
29
  "dependencies": {
30
30
  "tslib": "^2.3.1",
31
- "@progress/kendo-angular-schematics": "16.5.0"
31
+ "@progress/kendo-angular-schematics": "16.6.0-develop.1"
32
32
  },
33
33
  "schematics": "./schematics/collection.json",
34
34
  "module": "fesm2015/progress-kendo-angular-notification.mjs",