@progress/kendo-angular-notification 3.0.3 → 4.0.0-next.202202241714

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 (70) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +119 -79
  3. package/README.md +1 -1
  4. package/bundles/kendo-angular-notification.umd.js +5 -0
  5. package/{dist/es/models/notification-ref.js → esm2015/kendo-angular-notification.js} +4 -0
  6. package/esm2015/localization/localized-messages.directive.js +38 -0
  7. package/{dist/es → esm2015}/main.js +2 -0
  8. package/{dist/es2015 → esm2015}/models/animation.js +1 -0
  9. package/{dist/es2015 → esm2015}/models/notification-ref.js +1 -0
  10. package/{dist/es2015 → esm2015}/models/notification-settings.js +0 -0
  11. package/{dist/es → esm2015}/models/position.js +1 -0
  12. package/{dist/es2015 → esm2015}/models/type.js +1 -0
  13. package/{dist/es2015 → esm2015}/notification.component.js +85 -73
  14. package/{dist/es2015 → esm2015}/notification.container.component.js +25 -27
  15. package/{dist/es → esm2015}/notification.module.js +16 -16
  16. package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
  17. package/{dist/es2015 → esm2015}/services/notification.service.js +14 -12
  18. package/{dist/es2015 → esm2015}/utils/animations.js +0 -0
  19. package/{dist/fesm2015/index.js → fesm2015/kendo-angular-notification.js} +170 -146
  20. package/{dist/es/models/animation.js → kendo-angular-notification.d.ts} +5 -0
  21. package/{dist/es2015/localization → localization}/localized-messages.directive.d.ts +3 -0
  22. package/{dist/es2015/main.d.ts → main.d.ts} +1 -0
  23. package/{dist/es2015/models → models}/animation.d.ts +0 -0
  24. package/{dist/es2015/models → models}/notification-ref.d.ts +0 -0
  25. package/{dist/es2015/models → models}/notification-settings.d.ts +0 -0
  26. package/{dist/es2015/models → models}/position.d.ts +0 -0
  27. package/{dist/es2015/models → models}/type.d.ts +0 -0
  28. package/{dist/es2015/notification.component.d.ts → notification.component.d.ts} +5 -2
  29. package/{dist/es2015/notification.container.component.d.ts → notification.container.component.d.ts} +3 -1
  30. package/{dist/es2015/notification.module.d.ts → notification.module.d.ts} +8 -0
  31. package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
  32. package/package.json +33 -93
  33. package/schematics/ngAdd/index.js +5 -2
  34. package/schematics/ngAdd/index.js.map +1 -1
  35. package/{dist/es2015/services → services}/notification.service.d.ts +4 -1
  36. package/{dist/es2015/utils → utils}/animations.d.ts +0 -0
  37. package/dist/cdn/js/kendo-angular-notification.js +0 -20
  38. package/dist/cdn/main.js +0 -5
  39. package/dist/es/index.js +0 -10
  40. package/dist/es/localization/localized-messages.directive.js +0 -38
  41. package/dist/es/models/notification-settings.js +0 -54
  42. package/dist/es/models/type.js +0 -4
  43. package/dist/es/notification.component.js +0 -222
  44. package/dist/es/notification.container.component.js +0 -154
  45. package/dist/es/package-metadata.js +0 -15
  46. package/dist/es/services/notification.service.js +0 -135
  47. package/dist/es/utils/animations.js +0 -41
  48. package/dist/es2015/index.d.ts +0 -10
  49. package/dist/es2015/index.js +0 -10
  50. package/dist/es2015/index.metadata.json +0 -1
  51. package/dist/es2015/localization/localized-messages.directive.js +0 -34
  52. package/dist/es2015/main.js +0 -8
  53. package/dist/es2015/models/position.js +0 -4
  54. package/dist/es2015/notification.module.js +0 -53
  55. package/dist/fesm5/index.js +0 -677
  56. package/dist/npm/index.js +0 -15
  57. package/dist/npm/localization/localized-messages.directive.js +0 -40
  58. package/dist/npm/main.js +0 -15
  59. package/dist/npm/models/animation.js +0 -6
  60. package/dist/npm/models/notification-ref.js +0 -6
  61. package/dist/npm/models/notification-settings.js +0 -56
  62. package/dist/npm/models/position.js +0 -6
  63. package/dist/npm/models/type.js +0 -6
  64. package/dist/npm/notification.component.js +0 -224
  65. package/dist/npm/notification.container.component.js +0 -156
  66. package/dist/npm/notification.module.js +0 -58
  67. package/dist/npm/package-metadata.js +0 -17
  68. package/dist/npm/services/notification.service.js +0 -137
  69. package/dist/npm/utils/animations.js +0 -47
  70. package/dist/systemjs/kendo-angular-notification.js +0 -5
@@ -1,34 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as tslib_1 from "tslib";
6
- var LocalizedMessagesDirective_1;
7
- import { Directive, forwardRef, Input } from '@angular/core';
8
- import { ComponentMessages, LocalizationService } from '@progress/kendo-angular-l10n';
9
- /**
10
- * @hidden
11
- */
12
- let LocalizedMessagesDirective = LocalizedMessagesDirective_1 = class LocalizedMessagesDirective extends ComponentMessages {
13
- constructor(service) {
14
- super();
15
- this.service = service;
16
- }
17
- };
18
- tslib_1.__decorate([
19
- Input(),
20
- tslib_1.__metadata("design:type", String)
21
- ], LocalizedMessagesDirective.prototype, "closeTitle", void 0);
22
- LocalizedMessagesDirective = LocalizedMessagesDirective_1 = tslib_1.__decorate([
23
- Directive({
24
- providers: [
25
- {
26
- provide: ComponentMessages,
27
- useExisting: forwardRef(() => LocalizedMessagesDirective_1)
28
- }
29
- ],
30
- selector: `[kendoNotificationLocalizedMessages]`
31
- }),
32
- tslib_1.__metadata("design:paramtypes", [LocalizationService])
33
- ], LocalizedMessagesDirective);
34
- export { LocalizedMessagesDirective };
@@ -1,8 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export { NotificationSettings } from './models/notification-settings';
6
- export { NotificationComponent } from './notification.component';
7
- export { NotificationService, NOTIFICATION_CONTAINER } from './services/notification.service';
8
- export { NotificationModule } from './notification.module';
@@ -1,4 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
@@ -1,53 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as tslib_1 from "tslib";
6
- import { NgModule } from '@angular/core';
7
- import { CommonModule } from '@angular/common';
8
- import { NotificationService } from './services/notification.service';
9
- import { NotificationComponent } from './notification.component';
10
- import { NotificationContainerComponent } from './notification.container.component';
11
- import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
12
- /**
13
- * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
14
- * definition for the Notification component.
15
- *
16
- * The package exports:
17
- * - `NotificationService`—The Notification service class.
18
- *
19
- * @example
20
- *
21
- * ```ts-no-run
22
- * // Import the Notification module
23
- * import { NotificationModule } from '@progress/kendo-angular-notification';
24
- *
25
- * // The browser platform with a compiler
26
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
27
- *
28
- * import { NgModule } from '@angular/core';
29
- *
30
- * // Import the app component
31
- * _@NgModule{{
32
- * declarations: [AppComponent], // declare app component
33
- * imports: [BrowserModule, NotificationModule], // import NotificationModule module
34
- * bootstrap: [AppComponent]
35
- * }}
36
- * export class AppModule {}
37
- *
38
- * // Compile and launch the module
39
- * platformBrowserDynamic().bootstrapModule(AppModule);
40
- * ```
41
- */
42
- let NotificationModule = class NotificationModule {
43
- };
44
- NotificationModule = tslib_1.__decorate([
45
- NgModule({
46
- declarations: [NotificationComponent, NotificationContainerComponent, LocalizedMessagesDirective],
47
- entryComponents: [NotificationComponent, NotificationContainerComponent],
48
- imports: [CommonModule],
49
- exports: [NotificationComponent, NotificationContainerComponent],
50
- providers: [NotificationService]
51
- })
52
- ], NotificationModule);
53
- export { NotificationModule };