@progress/kendo-angular-notification 3.0.5 → 4.0.0-next.202203141327

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.
Files changed (67) hide show
  1. package/bundles/kendo-angular-notification.umd.js +5 -0
  2. package/{dist/es/models/notification-ref.js → esm2015/kendo-angular-notification.js} +4 -0
  3. package/esm2015/localization/localized-messages.directive.js +38 -0
  4. package/{dist/es → esm2015}/main.js +2 -0
  5. package/{dist/es2015 → esm2015}/models/animation.js +1 -0
  6. package/{dist/es2015 → esm2015}/models/notification-ref.js +1 -0
  7. package/{dist/es2015 → esm2015}/models/notification-settings.js +0 -0
  8. package/{dist/es → esm2015}/models/position.js +1 -0
  9. package/{dist/es2015 → esm2015}/models/type.js +1 -0
  10. package/{dist/es2015 → esm2015}/notification.component.js +85 -73
  11. package/{dist/es2015 → esm2015}/notification.container.component.js +25 -27
  12. package/{dist/es → esm2015}/notification.module.js +16 -16
  13. package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
  14. package/{dist/es2015 → esm2015}/services/notification.service.js +14 -12
  15. package/{dist/es2015 → esm2015}/utils/animations.js +0 -0
  16. package/{dist/fesm2015/index.js → fesm2015/kendo-angular-notification.js} +170 -146
  17. package/{dist/es/models/animation.js → kendo-angular-notification.d.ts} +5 -0
  18. package/{dist/es2015/localization → localization}/localized-messages.directive.d.ts +3 -0
  19. package/{dist/es2015/main.d.ts → main.d.ts} +1 -0
  20. package/{dist/es2015/models → models}/animation.d.ts +0 -0
  21. package/{dist/es2015/models → models}/notification-ref.d.ts +0 -0
  22. package/{dist/es2015/models → models}/notification-settings.d.ts +0 -0
  23. package/{dist/es2015/models → models}/position.d.ts +0 -0
  24. package/{dist/es2015/models → models}/type.d.ts +0 -0
  25. package/{dist/es2015/notification.component.d.ts → notification.component.d.ts} +5 -2
  26. package/{dist/es2015/notification.container.component.d.ts → notification.container.component.d.ts} +3 -1
  27. package/{dist/es2015/notification.module.d.ts → notification.module.d.ts} +8 -0
  28. package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
  29. package/package.json +32 -95
  30. package/schematics/ngAdd/index.js +5 -2
  31. package/schematics/ngAdd/index.js.map +1 -1
  32. package/{dist/es2015/services → services}/notification.service.d.ts +4 -1
  33. package/{dist/es2015/utils → utils}/animations.d.ts +0 -0
  34. package/dist/cdn/js/kendo-angular-notification.js +0 -20
  35. package/dist/cdn/main.js +0 -5
  36. package/dist/es/index.js +0 -10
  37. package/dist/es/localization/localized-messages.directive.js +0 -38
  38. package/dist/es/models/notification-settings.js +0 -54
  39. package/dist/es/models/type.js +0 -4
  40. package/dist/es/notification.component.js +0 -222
  41. package/dist/es/notification.container.component.js +0 -154
  42. package/dist/es/package-metadata.js +0 -15
  43. package/dist/es/services/notification.service.js +0 -135
  44. package/dist/es/utils/animations.js +0 -41
  45. package/dist/es2015/index.d.ts +0 -10
  46. package/dist/es2015/index.js +0 -10
  47. package/dist/es2015/index.metadata.json +0 -1
  48. package/dist/es2015/localization/localized-messages.directive.js +0 -34
  49. package/dist/es2015/main.js +0 -8
  50. package/dist/es2015/models/position.js +0 -4
  51. package/dist/es2015/notification.module.js +0 -53
  52. package/dist/fesm5/index.js +0 -677
  53. package/dist/npm/index.js +0 -15
  54. package/dist/npm/localization/localized-messages.directive.js +0 -40
  55. package/dist/npm/main.js +0 -15
  56. package/dist/npm/models/animation.js +0 -6
  57. package/dist/npm/models/notification-ref.js +0 -6
  58. package/dist/npm/models/notification-settings.js +0 -56
  59. package/dist/npm/models/position.js +0 -6
  60. package/dist/npm/models/type.js +0 -6
  61. package/dist/npm/notification.component.js +0 -224
  62. package/dist/npm/notification.container.component.js +0 -156
  63. package/dist/npm/notification.module.js +0 -58
  64. package/dist/npm/package-metadata.js +0 -17
  65. package/dist/npm/services/notification.service.js +0 -137
  66. package/dist/npm/utils/animations.js +0 -47
  67. package/dist/systemjs/kendo-angular-notification.js +0 -5
@@ -2,12 +2,15 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { __decorate, __metadata, __param } from 'tslib';
6
- import { EventEmitter, ViewChild, ViewContainerRef, Input, TemplateRef, HostBinding, Component, ChangeDetectorRef, ElementRef, Renderer2, ComponentFactoryResolver, InjectionToken, ApplicationRef, Injectable, Inject, Optional, Injector, Directive, forwardRef, NgModule } from '@angular/core';
7
- import { style, animate, AnimationBuilder } from '@angular/animations';
5
+ import * as i0 from '@angular/core';
6
+ import { forwardRef, Directive, Input, EventEmitter, ViewContainerRef, Component, ViewChild, HostBinding, TemplateRef, InjectionToken, ApplicationRef, Injectable, Inject, Optional, NgModule } from '@angular/core';
8
7
  import { take } from 'rxjs/operators';
9
8
  import { validatePackage } from '@progress/kendo-licensing';
10
- import { LocalizationService, L10N_PREFIX, ComponentMessages } from '@progress/kendo-angular-l10n';
9
+ import * as i1$1 from '@angular/animations';
10
+ import { style, animate } from '@angular/animations';
11
+ import * as i1 from '@progress/kendo-angular-l10n';
12
+ import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
13
+ import * as i4 from '@angular/common';
11
14
  import { CommonModule } from '@angular/common';
12
15
 
13
16
  class NotificationSettings {
@@ -66,7 +69,7 @@ const packageMetadata = {
66
69
  name: '@progress/kendo-angular-notification',
67
70
  productName: 'Kendo UI for Angular',
68
71
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
69
- publishDate: 1646219065,
72
+ publishDate: 1647264380,
70
73
  version: '',
71
74
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
72
75
  };
@@ -108,11 +111,42 @@ function fadeCloseAnimation(duration) {
108
111
  ];
109
112
  }
110
113
 
114
+ /**
115
+ * @hidden
116
+ */
117
+ class LocalizedMessagesDirective extends ComponentMessages {
118
+ constructor(service) {
119
+ super();
120
+ this.service = service;
121
+ }
122
+ }
123
+ LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
124
+ LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: LocalizedMessagesDirective, selector: "[kendoNotificationLocalizedMessages]", inputs: { closeTitle: "closeTitle" }, providers: [
125
+ {
126
+ provide: ComponentMessages,
127
+ useExisting: forwardRef(() => LocalizedMessagesDirective)
128
+ }
129
+ ], usesInheritance: true, ngImport: i0 });
130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
131
+ type: Directive,
132
+ args: [{
133
+ providers: [
134
+ {
135
+ provide: ComponentMessages,
136
+ useExisting: forwardRef(() => LocalizedMessagesDirective)
137
+ }
138
+ ],
139
+ selector: `[kendoNotificationLocalizedMessages]`
140
+ }]
141
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { closeTitle: [{
142
+ type: Input
143
+ }] } });
144
+
111
145
  /**
112
146
  * @hidden
113
147
  *
114
148
  */
115
- let NotificationComponent = class NotificationComponent {
149
+ class NotificationComponent {
116
150
  constructor(cdr, element, renderer, builder, localizationService) {
117
151
  this.cdr = cdr;
118
152
  this.element = element;
@@ -235,60 +269,48 @@ let NotificationComponent = class NotificationComponent {
235
269
  fadeAnimation(duration, onclose) {
236
270
  return onclose ? fadeCloseAnimation(duration) : fadeAnimation(duration);
237
271
  }
238
- };
239
- __decorate([
240
- ViewChild('container', { read: ViewContainerRef, static: true }),
241
- __metadata("design:type", ViewContainerRef)
242
- ], NotificationComponent.prototype, "container", void 0);
243
- __decorate([
244
- Input(),
245
- __metadata("design:type", TemplateRef)
246
- ], NotificationComponent.prototype, "templateRef", void 0);
247
- __decorate([
248
- Input(),
249
- __metadata("design:type", String)
250
- ], NotificationComponent.prototype, "templateString", void 0);
251
- __decorate([
252
- Input(),
253
- __metadata("design:type", Number)
254
- ], NotificationComponent.prototype, "width", void 0);
255
- __decorate([
256
- Input(),
257
- __metadata("design:type", Number)
258
- ], NotificationComponent.prototype, "height", void 0);
259
- __decorate([
260
- Input(),
261
- __metadata("design:type", Object)
262
- ], NotificationComponent.prototype, "cssClass", void 0);
263
- __decorate([
264
- Input(),
265
- __metadata("design:type", Number)
266
- ], NotificationComponent.prototype, "hideAfter", void 0);
267
- __decorate([
268
- Input(),
269
- __metadata("design:type", Boolean)
270
- ], NotificationComponent.prototype, "closable", void 0);
271
- __decorate([
272
- Input(),
273
- __metadata("design:type", Object)
274
- ], NotificationComponent.prototype, "type", void 0);
275
- __decorate([
276
- Input(),
277
- __metadata("design:type", Object)
278
- ], NotificationComponent.prototype, "animation", void 0);
279
- __decorate([
280
- HostBinding('attr.dir'),
281
- __metadata("design:type", String)
282
- ], NotificationComponent.prototype, "direction", void 0);
283
- __decorate([
284
- HostBinding('class.k-notification-container'),
285
- __metadata("design:type", Boolean),
286
- __metadata("design:paramtypes", [])
287
- ], NotificationComponent.prototype, "containerClass", null);
288
- NotificationComponent = __decorate([
289
- Component({
290
- selector: 'kendo-notification',
291
- template: `
272
+ }
273
+ NotificationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", 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 });
274
+ NotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: NotificationComponent, selector: "kendo-notification", inputs: { templateRef: "templateRef", templateString: "templateString", width: "width", height: "height", cssClass: "cssClass", hideAfter: "hideAfter", closable: "closable", type: "type", animation: "animation" }, host: { properties: { "attr.dir": "this.direction", "class.k-notification-container": "this.containerClass" } }, providers: [
275
+ LocalizationService,
276
+ {
277
+ provide: L10N_PREFIX,
278
+ useValue: 'kendo.notification'
279
+ }
280
+ ], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: `
281
+ <ng-container kendoNotificationLocalizedMessages
282
+ i18n-closeTitle="kendo.notification.closeTitle|The title of the close button"
283
+ closeTitle="Close"
284
+ >
285
+ </ng-container>
286
+ <div class="k-widget k-notification {{ notificationClasses() }}"
287
+ [ngClass]="cssClass"
288
+ [style.height.px]="height"
289
+ [style.width.px]="width">
290
+ <div class="k-notification-wrap k-hstack">
291
+ <span *ngIf="type && type.icon && type.style !== 'none'" class="k-icon" [ngClass]="typeIconClass()"></span>
292
+
293
+ <div class="k-notification-content">
294
+ <ng-template
295
+ [ngIf]="templateRef"
296
+ [ngTemplateOutlet]="templateRef">
297
+ </ng-template>
298
+ <ng-template
299
+ [ngIf]="templateString">
300
+ {{ templateString }}
301
+ </ng-template>
302
+ <ng-container #container></ng-container>
303
+ </div>
304
+
305
+ <a *ngIf="closable" class="k-icon k-i-close" [attr.title]="closeButtonTitle" (click)="onCloseClick()"></a>
306
+ </div>
307
+ </div>
308
+ `, isInline: true, directives: [{ type: LocalizedMessagesDirective, selector: "[kendoNotificationLocalizedMessages]", inputs: ["closeTitle"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
309
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NotificationComponent, decorators: [{
310
+ type: Component,
311
+ args: [{
312
+ selector: 'kendo-notification',
313
+ template: `
292
314
  <ng-container kendoNotificationLocalizedMessages
293
315
  i18n-closeTitle="kendo.notification.closeTitle|The title of the close button"
294
316
  closeTitle="Close"
@@ -317,26 +339,47 @@ NotificationComponent = __decorate([
317
339
  </div>
318
340
  </div>
319
341
  `,
320
- providers: [
321
- LocalizationService,
322
- {
323
- provide: L10N_PREFIX,
324
- useValue: 'kendo.notification'
325
- }
326
- ]
327
- }),
328
- __metadata("design:paramtypes", [ChangeDetectorRef,
329
- ElementRef,
330
- Renderer2,
331
- AnimationBuilder,
332
- LocalizationService])
333
- ], NotificationComponent);
342
+ providers: [
343
+ LocalizationService,
344
+ {
345
+ provide: L10N_PREFIX,
346
+ useValue: 'kendo.notification'
347
+ }
348
+ ]
349
+ }]
350
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1$1.AnimationBuilder }, { type: i1.LocalizationService }]; }, propDecorators: { container: [{
351
+ type: ViewChild,
352
+ args: ['container', { read: ViewContainerRef, static: true }]
353
+ }], templateRef: [{
354
+ type: Input
355
+ }], templateString: [{
356
+ type: Input
357
+ }], width: [{
358
+ type: Input
359
+ }], height: [{
360
+ type: Input
361
+ }], cssClass: [{
362
+ type: Input
363
+ }], hideAfter: [{
364
+ type: Input
365
+ }], closable: [{
366
+ type: Input
367
+ }], type: [{
368
+ type: Input
369
+ }], animation: [{
370
+ type: Input
371
+ }], direction: [{
372
+ type: HostBinding,
373
+ args: ['attr.dir']
374
+ }], containerClass: [{
375
+ type: HostBinding,
376
+ args: ['class.k-notification-container']
377
+ }] } });
334
378
 
335
379
  /**
336
380
  * @hidden
337
- *
338
381
  */
339
- let NotificationContainerComponent = class NotificationContainerComponent {
382
+ class NotificationContainerComponent {
340
383
  constructor(element, renderer, resolver) {
341
384
  this.element = element;
342
385
  this.renderer = renderer;
@@ -454,32 +497,32 @@ let NotificationContainerComponent = class NotificationContainerComponent {
454
497
  const vertical = positionLayout.vertical[position.vertical];
455
498
  return Object.assign({}, horizontal, vertical);
456
499
  }
457
- };
458
- __decorate([
459
- ViewChild('container', { read: ViewContainerRef, static: true }),
460
- __metadata("design:type", ViewContainerRef)
461
- ], NotificationContainerComponent.prototype, "container", void 0);
462
- __decorate([
463
- ViewChild('group', { static: true }),
464
- __metadata("design:type", ElementRef)
465
- ], NotificationContainerComponent.prototype, "group", void 0);
466
- __decorate([
467
- Input(),
468
- __metadata("design:type", String)
469
- ], NotificationContainerComponent.prototype, "id", void 0);
470
- NotificationContainerComponent = __decorate([
471
- Component({
472
- selector: 'kendo-notification-container',
473
- template: `
500
+ }
501
+ NotificationContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NotificationContainerComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });
502
+ NotificationContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", 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: `
503
+ <div #group class="k-notification-group">
504
+ <ng-container #container></ng-container>
505
+ </div>
506
+ `, isInline: true });
507
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NotificationContainerComponent, decorators: [{
508
+ type: Component,
509
+ args: [{
510
+ selector: 'kendo-notification-container',
511
+ template: `
474
512
  <div #group class="k-notification-group">
475
513
  <ng-container #container></ng-container>
476
514
  </div>
477
515
  `
478
- }),
479
- __metadata("design:paramtypes", [ElementRef,
480
- Renderer2,
481
- ComponentFactoryResolver])
482
- ], NotificationContainerComponent);
516
+ }]
517
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { container: [{
518
+ type: ViewChild,
519
+ args: ['container', { read: ViewContainerRef, static: true }]
520
+ }], group: [{
521
+ type: ViewChild,
522
+ args: ['group', { static: true }]
523
+ }], id: [{
524
+ type: Input
525
+ }] } });
483
526
 
484
527
  /**
485
528
  * Used to inject the Notification container. If not provided, the first root component of
@@ -528,7 +571,7 @@ const NOTIFICATION_CONTAINER = new InjectionToken('Notification Container');
528
571
  * @export
529
572
  * @class NotificationService
530
573
  */
531
- let NotificationService = class NotificationService {
574
+ class NotificationService {
532
575
  /**
533
576
  * @hidden
534
577
  */
@@ -599,41 +642,17 @@ let NotificationService = class NotificationService {
599
642
  }
600
643
  return container;
601
644
  }
602
- };
603
- NotificationService = __decorate([
604
- Injectable(),
605
- __param(2, Inject(NOTIFICATION_CONTAINER)), __param(2, Optional()),
606
- __metadata("design:paramtypes", [ComponentFactoryResolver,
607
- Injector,
608
- ElementRef])
609
- ], NotificationService);
610
-
611
- var LocalizedMessagesDirective_1;
612
- /**
613
- * @hidden
614
- */
615
- let LocalizedMessagesDirective = LocalizedMessagesDirective_1 = class LocalizedMessagesDirective extends ComponentMessages {
616
- constructor(service) {
617
- super();
618
- this.service = service;
619
- }
620
- };
621
- __decorate([
622
- Input(),
623
- __metadata("design:type", String)
624
- ], LocalizedMessagesDirective.prototype, "closeTitle", void 0);
625
- LocalizedMessagesDirective = LocalizedMessagesDirective_1 = __decorate([
626
- Directive({
627
- providers: [
628
- {
629
- provide: ComponentMessages,
630
- useExisting: forwardRef(() => LocalizedMessagesDirective_1)
631
- }
632
- ],
633
- selector: `[kendoNotificationLocalizedMessages]`
634
- }),
635
- __metadata("design:paramtypes", [LocalizationService])
636
- ], LocalizedMessagesDirective);
645
+ }
646
+ NotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NotificationService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: NOTIFICATION_CONTAINER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
647
+ NotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NotificationService });
648
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NotificationService, decorators: [{
649
+ type: Injectable
650
+ }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ElementRef, decorators: [{
651
+ type: Inject,
652
+ args: [NOTIFICATION_CONTAINER]
653
+ }, {
654
+ type: Optional
655
+ }] }]; } });
637
656
 
638
657
  /**
639
658
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
@@ -665,20 +684,25 @@ LocalizedMessagesDirective = LocalizedMessagesDirective_1 = __decorate([
665
684
  * platformBrowserDynamic().bootstrapModule(AppModule);
666
685
  * ```
667
686
  */
668
- let NotificationModule = class NotificationModule {
669
- };
670
- NotificationModule = __decorate([
671
- NgModule({
672
- declarations: [NotificationComponent, NotificationContainerComponent, LocalizedMessagesDirective],
673
- entryComponents: [NotificationComponent, NotificationContainerComponent],
674
- imports: [CommonModule],
675
- exports: [NotificationComponent, NotificationContainerComponent],
676
- providers: [NotificationService]
677
- })
678
- ], NotificationModule);
687
+ class NotificationModule {
688
+ }
689
+ NotificationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
690
+ NotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NotificationModule, declarations: [NotificationComponent, NotificationContainerComponent, LocalizedMessagesDirective], imports: [CommonModule], exports: [NotificationComponent, NotificationContainerComponent] });
691
+ NotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NotificationModule, providers: [NotificationService], imports: [[CommonModule]] });
692
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NotificationModule, decorators: [{
693
+ type: NgModule,
694
+ args: [{
695
+ declarations: [NotificationComponent, NotificationContainerComponent, LocalizedMessagesDirective],
696
+ entryComponents: [NotificationComponent, NotificationContainerComponent],
697
+ imports: [CommonModule],
698
+ exports: [NotificationComponent, NotificationContainerComponent],
699
+ providers: [NotificationService]
700
+ }]
701
+ }] });
679
702
 
680
703
  /**
681
704
  * Generated bundle index. Do not edit.
682
705
  */
683
706
 
684
- export { LocalizedMessagesDirective, NotificationContainerComponent, NotificationSettings, NotificationComponent, NotificationService, NOTIFICATION_CONTAINER, NotificationModule };
707
+ export { NOTIFICATION_CONTAINER, NotificationComponent, NotificationContainerComponent, NotificationModule, NotificationService, NotificationSettings };
708
+
@@ -2,3 +2,8 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * Generated bundle index. Do not edit.
7
+ */
8
+ /// <amd-module name="@progress/kendo-angular-notification" />
9
+ export * from './main';
@@ -3,6 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ComponentMessages, LocalizationService } from '@progress/kendo-angular-l10n';
6
+ import * as i0 from "@angular/core";
6
7
  /**
7
8
  * @hidden
8
9
  */
@@ -13,4 +14,6 @@ export declare class LocalizedMessagesDirective extends ComponentMessages {
13
14
  */
14
15
  closeTitle: string;
15
16
  constructor(service: LocalizationService);
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedMessagesDirective, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, "[kendoNotificationLocalizedMessages]", never, { "closeTitle": "closeTitle"; }, {}, never>;
16
19
  }
@@ -10,3 +10,4 @@ export { NotificationSettings } from './models/notification-settings';
10
10
  export { NotificationComponent } from './notification.component';
11
11
  export { NotificationService, NOTIFICATION_CONTAINER } from './services/notification.service';
12
12
  export { NotificationModule } from './notification.module';
13
+ export { NotificationContainerComponent } from './notification.container.component';
File without changes
File without changes
File without changes
@@ -8,6 +8,7 @@ import { Subscription } from 'rxjs';
8
8
  import { Type } from './models/type';
9
9
  import { Animation } from './models/animation';
10
10
  import { LocalizationService } from '@progress/kendo-angular-l10n';
11
+ import * as i0 from "@angular/core";
11
12
  /**
12
13
  * @hidden
13
14
  *
@@ -35,8 +36,8 @@ export declare class NotificationComponent implements OnInit, OnDestroy {
35
36
  * @hidden
36
37
  */
37
38
  direction: string;
38
- readonly containerClass: boolean;
39
- readonly closeButtonTitle: string;
39
+ get containerClass(): boolean;
40
+ get closeButtonTitle(): string;
40
41
  private defaultHideAfter;
41
42
  private hideTimeout;
42
43
  private animationEnd;
@@ -57,4 +58,6 @@ export declare class NotificationComponent implements OnInit, OnDestroy {
57
58
  private animate;
58
59
  private slideAnimation;
59
60
  private fadeAnimation;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationComponent, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "kendo-notification", never, { "templateRef": "templateRef"; "templateString": "templateString"; "width": "width"; "height": "height"; "cssClass": "cssClass"; "hideAfter": "hideAfter"; "closable": "closable"; "type": "type"; "animation": "animation"; }, {}, never, never>;
60
63
  }
@@ -6,9 +6,9 @@ import { ElementRef, ComponentFactoryResolver, ViewContainerRef, OnDestroy, Rend
6
6
  import { NotificationSettings } from './models/notification-settings';
7
7
  import { NotificationComponent } from './notification.component';
8
8
  import { NotificationRef } from './models/notification-ref';
9
+ import * as i0 from "@angular/core";
9
10
  /**
10
11
  * @hidden
11
- *
12
12
  */
13
13
  export declare class NotificationContainerComponent implements OnDestroy {
14
14
  element: ElementRef;
@@ -28,4 +28,6 @@ export declare class NotificationContainerComponent implements OnDestroy {
28
28
  private applyAbsolutePosition;
29
29
  private applyPosition;
30
30
  private setContainerPosition;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationContainerComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationContainerComponent, "kendo-notification-container", never, { "id": "id"; }, {}, never, never>;
31
33
  }
@@ -2,6 +2,11 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "./notification.component";
7
+ import * as i2 from "./notification.container.component";
8
+ import * as i3 from "./localization/localized-messages.directive";
9
+ import * as i4 from "@angular/common";
5
10
  /**
6
11
  * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
7
12
  * definition for the Notification component.
@@ -33,4 +38,7 @@
33
38
  * ```
34
39
  */
35
40
  export declare class NotificationModule {
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationModule, never>;
42
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationModule, [typeof i1.NotificationComponent, typeof i2.NotificationContainerComponent, typeof i3.LocalizedMessagesDirective], [typeof i4.CommonModule], [typeof i1.NotificationComponent, typeof i2.NotificationContainerComponent]>;
43
+ static ɵinj: i0.ɵɵInjectorDeclaration<NotificationModule>;
36
44
  }