@progress/kendo-angular-dialog 16.5.0 → 16.6.0-develop.10

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 (55) hide show
  1. package/NOTICE.txt +12 -19
  2. package/dialog/dialog-actions.component.d.ts +1 -1
  3. package/dialog/dialog-container.directive.d.ts +1 -1
  4. package/dialog/dialog-content-base.d.ts +1 -1
  5. package/dialog/dialog-titlebar.component.d.ts +1 -1
  6. package/dialog/dialog.component.d.ts +1 -1
  7. package/dialog/models/dialog-ref.d.ts +1 -1
  8. package/dialog/models/dialog-settings.d.ts +2 -2
  9. package/dialog.module.d.ts +3 -6
  10. package/dialogs.module.d.ts +13 -3
  11. package/directives.d.ts +28 -0
  12. package/esm2020/dialog/dialog-actions.component.mjs +6 -4
  13. package/esm2020/dialog/dialog-container.directive.mjs +3 -2
  14. package/esm2020/dialog/dialog-container.service.mjs +5 -2
  15. package/esm2020/dialog/dialog-content-base.mjs +1 -1
  16. package/esm2020/dialog/dialog-titlebar.component.mjs +7 -5
  17. package/esm2020/dialog/dialog.component.mjs +8 -9
  18. package/esm2020/dialog/dialog.service.mjs +5 -2
  19. package/esm2020/dialog.module.mjs +13 -14
  20. package/esm2020/dialogs.module.mjs +24 -5
  21. package/esm2020/directives.mjs +47 -0
  22. package/esm2020/index.mjs +2 -0
  23. package/esm2020/localization/custom-messages.component.mjs +4 -3
  24. package/esm2020/localization/localized-messages.directive.mjs +3 -2
  25. package/esm2020/package-metadata.mjs +2 -2
  26. package/esm2020/window/actions/window-close-action.directive.mjs +8 -6
  27. package/esm2020/window/actions/window-maximize-action.directive.mjs +8 -6
  28. package/esm2020/window/actions/window-minimize-action.directive.mjs +8 -6
  29. package/esm2020/window/actions/window-restore-action.directive.mjs +8 -6
  30. package/esm2020/window/window-container.directive.mjs +3 -2
  31. package/esm2020/window/window-container.service.mjs +5 -2
  32. package/esm2020/window/window-resize-handle.directive.mjs +3 -2
  33. package/esm2020/window/window-titlebar.component.mjs +6 -4
  34. package/esm2020/window/window.component.mjs +12 -12
  35. package/esm2020/window/window.service.mjs +5 -2
  36. package/esm2020/window.module.mjs +17 -45
  37. package/fesm2015/progress-kendo-angular-dialog.mjs +191 -183
  38. package/fesm2020/progress-kendo-angular-dialog.mjs +191 -183
  39. package/index.d.ts +2 -0
  40. package/localization/custom-messages.component.d.ts +2 -2
  41. package/localization/localized-messages.directive.d.ts +1 -1
  42. package/package.json +6 -6
  43. package/schematics/ngAdd/index.js +1 -1
  44. package/window/actions/window-close-action.directive.d.ts +2 -2
  45. package/window/actions/window-maximize-action.directive.d.ts +2 -2
  46. package/window/actions/window-minimize-action.directive.d.ts +2 -2
  47. package/window/actions/window-restore-action.directive.d.ts +2 -2
  48. package/window/models/window-ref.d.ts +1 -1
  49. package/window/window-container.directive.d.ts +1 -1
  50. package/window/window-resize-handle.directive.d.ts +1 -1
  51. package/window/window-titlebar.component.d.ts +1 -1
  52. package/window/window.component.d.ts +1 -1
  53. package/window.module.d.ts +10 -14
  54. package/esm2020/shared.module.mjs +0 -40
  55. package/shared.module.d.ts +0 -23
@@ -3,43 +3,27 @@
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 { IconsService } from "@progress/kendo-angular-icons";
6
7
  import { WindowComponent } from "./window/window.component";
7
8
  import { WindowTitleBarComponent } from "./window/window-titlebar.component";
8
- import { DraggableModule, WatermarkModule } from '@progress/kendo-angular-common';
9
- import { ResizeHandleDirective } from './window/window-resize-handle.directive';
10
- import { WindowMaximizeActionDirective } from './window/actions/window-maximize-action.directive';
11
- import { WindowMinimizeActionDirective } from './window/actions/window-minimize-action.directive';
12
- import { WindowCloseActionDirective } from './window/actions/window-close-action.directive';
13
- import { WindowRestoreActionDirective } from './window/actions/window-restore-action.directive';
14
9
  import { WindowService } from './window/window.service';
15
10
  import { WindowContainerService } from './window/window-container.service';
16
- import { WindowContainerDirective } from './window/window-container.directive';
17
- import { SharedModule, SHARED_DIRECTIVES } from './shared.module';
11
+ import { KENDO_WINDOW } from "./directives";
18
12
  import * as i0 from "@angular/core";
19
- import * as i1 from "./dialog/dialog-actions.component";
20
- import * as i2 from "./localization/custom-messages.component";
21
- import * as i3 from "./localization/localized-messages.directive";
22
- const WINDOW_DIRECTIVES = [
23
- ResizeHandleDirective,
24
- WindowComponent,
25
- WindowTitleBarComponent,
26
- WindowCloseActionDirective,
27
- WindowMinimizeActionDirective,
28
- WindowMaximizeActionDirective,
29
- WindowRestoreActionDirective
30
- ];
13
+ import * as i1 from "./window/window.component";
14
+ import * as i2 from "./window/actions/window-close-action.directive";
15
+ import * as i3 from "./window/actions/window-minimize-action.directive";
16
+ import * as i4 from "./window/actions/window-maximize-action.directive";
17
+ import * as i5 from "./window/actions/window-restore-action.directive";
18
+ import * as i6 from "./window/window-titlebar.component";
19
+ import * as i7 from "./window/window-container.directive";
20
+ import * as i8 from "./dialog/dialog-actions.component";
21
+ import * as i9 from "./localization/custom-messages.component";
31
22
  const ENTRY_COMPONENTS = [
32
23
  WindowComponent,
33
24
  WindowTitleBarComponent
34
25
  ];
35
- const exportedModules = [
36
- WindowComponent,
37
- WindowCloseActionDirective,
38
- WindowMinimizeActionDirective,
39
- WindowMaximizeActionDirective,
40
- WindowRestoreActionDirective,
41
- WindowTitleBarComponent
42
- ];
26
+ //IMPORTANT: NgModule export kept for backwards compatibility
43
27
  /**
44
28
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
45
29
  * definition for the Window component. Imports `WindowModule` into the
@@ -65,26 +49,14 @@ const exportedModules = [
65
49
  export class WindowModule {
66
50
  }
67
51
  WindowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
68
- WindowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: WindowModule, declarations: [ResizeHandleDirective,
69
- WindowComponent,
70
- WindowTitleBarComponent,
71
- WindowCloseActionDirective,
72
- WindowMinimizeActionDirective,
73
- WindowMaximizeActionDirective,
74
- WindowRestoreActionDirective, WindowContainerDirective], imports: [SharedModule, DraggableModule, WatermarkModule], exports: [WindowComponent,
75
- WindowCloseActionDirective,
76
- WindowMinimizeActionDirective,
77
- WindowMaximizeActionDirective,
78
- WindowRestoreActionDirective,
79
- WindowTitleBarComponent, i1.DialogActionsComponent, i2.CustomMessagesComponent, i3.LocalizedMessagesDirective, WindowContainerDirective] });
80
- WindowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowModule, providers: [WindowContainerService, WindowService], imports: [SharedModule, DraggableModule, WatermarkModule] });
52
+ WindowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: WindowModule, imports: [i1.WindowComponent, i2.WindowCloseActionDirective, i3.WindowMinimizeActionDirective, i4.WindowMaximizeActionDirective, i5.WindowRestoreActionDirective, i6.WindowTitleBarComponent, i7.WindowContainerDirective, i8.DialogActionsComponent, i9.CustomMessagesComponent], exports: [i1.WindowComponent, i2.WindowCloseActionDirective, i3.WindowMinimizeActionDirective, i4.WindowMaximizeActionDirective, i5.WindowRestoreActionDirective, i6.WindowTitleBarComponent, i7.WindowContainerDirective, i8.DialogActionsComponent, i9.CustomMessagesComponent] });
53
+ WindowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowModule, providers: [WindowContainerService, WindowService, IconsService], imports: [i1.WindowComponent, i2.WindowCloseActionDirective, i3.WindowMinimizeActionDirective, i4.WindowMaximizeActionDirective, i5.WindowRestoreActionDirective, i6.WindowTitleBarComponent, i8.DialogActionsComponent] });
81
54
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowModule, decorators: [{
82
55
  type: NgModule,
83
56
  args: [{
84
- declarations: [WINDOW_DIRECTIVES, WindowContainerDirective],
57
+ imports: [...KENDO_WINDOW],
58
+ exports: [...KENDO_WINDOW],
85
59
  entryComponents: [ENTRY_COMPONENTS],
86
- exports: [exportedModules, SHARED_DIRECTIVES, WindowContainerDirective],
87
- imports: [SharedModule, DraggableModule, WatermarkModule],
88
- providers: [WindowContainerService, WindowService]
60
+ providers: [WindowContainerService, WindowService, IconsService]
89
61
  }]
90
62
  }] });