@progress/kendo-angular-dialog 17.0.0-develop.21 → 17.0.0-develop.22

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 (85) hide show
  1. package/common/actions-layout.d.ts +1 -1
  2. package/common/animation-types.d.ts +1 -1
  3. package/common/dialog-animation-direction.d.ts +1 -1
  4. package/dialog/dialog-actions.component.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-action-divider.d.ts +1 -1
  8. package/dialog/models/dialog-result.d.ts +1 -1
  9. package/dialog/models/theme-color.d.ts +1 -1
  10. package/{esm2020 → esm2022}/common/preventable-event.mjs +2 -3
  11. package/{esm2020 → esm2022}/dialog/dialog-actions.component.mjs +26 -17
  12. package/{esm2020 → esm2022}/dialog/dialog-container.directive.mjs +3 -3
  13. package/{esm2020 → esm2022}/dialog/dialog-container.service.mjs +4 -4
  14. package/{esm2020 → esm2022}/dialog/dialog-content-base.mjs +12 -3
  15. package/{esm2020 → esm2022}/dialog/dialog-titlebar.component.mjs +36 -25
  16. package/{esm2020 → esm2022}/dialog/dialog.component.mjs +139 -71
  17. package/{esm2020 → esm2022}/dialog/dialog.service.mjs +7 -3
  18. package/esm2022/dialog/models/dialog-action.mjs +27 -0
  19. package/esm2022/dialog/models/dialog-ref.mjs +34 -0
  20. package/esm2022/dialog/models/dialog-settings.mjs +106 -0
  21. package/{esm2020 → esm2022}/dialog.module.mjs +4 -4
  22. package/{esm2020 → esm2022}/dialogs.module.mjs +4 -4
  23. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
  24. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
  25. package/{esm2020 → esm2022}/localization/messages.mjs +19 -3
  26. package/{esm2020 → esm2022}/localization/titlebar-localization.service.mjs +4 -3
  27. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  28. package/{esm2020 → esm2022}/window/actions/window-close-action.directive.mjs +20 -16
  29. package/{esm2020 → esm2022}/window/actions/window-maximize-action.directive.mjs +20 -16
  30. package/{esm2020 → esm2022}/window/actions/window-minimize-action.directive.mjs +20 -16
  31. package/{esm2020 → esm2022}/window/actions/window-restore-action.directive.mjs +20 -16
  32. package/{esm2020 → esm2022}/window/drag-resize.service.mjs +18 -15
  33. package/esm2022/window/models/window-ref.mjs +36 -0
  34. package/esm2022/window/models/window-settings.mjs +101 -0
  35. package/{esm2020 → esm2022}/window/navigation.service.mjs +5 -3
  36. package/{esm2020 → esm2022}/window/window-container.directive.mjs +3 -3
  37. package/{esm2020 → esm2022}/window/window-container.service.mjs +4 -4
  38. package/{esm2020 → esm2022}/window/window-resize-handle.directive.mjs +12 -7
  39. package/{esm2020 → esm2022}/window/window-titlebar.component.mjs +21 -4
  40. package/{esm2020 → esm2022}/window/window.component.mjs +128 -98
  41. package/{esm2020 → esm2022}/window/window.service.mjs +7 -3
  42. package/{esm2020 → esm2022}/window.module.mjs +4 -4
  43. package/{fesm2020 → fesm2022}/progress-kendo-angular-dialog.mjs +816 -368
  44. package/localization/messages.d.ts +1 -1
  45. package/package.json +14 -20
  46. package/schematics/ngAdd/index.js +1 -1
  47. package/window/actions/window-close-action.directive.d.ts +1 -1
  48. package/window/actions/window-maximize-action.directive.d.ts +1 -1
  49. package/window/actions/window-minimize-action.directive.d.ts +1 -1
  50. package/window/actions/window-restore-action.directive.d.ts +1 -1
  51. package/window/models/theme-color.d.ts +1 -1
  52. package/window/models/window-types.d.ts +4 -4
  53. package/window/window-resize-handle.directive.d.ts +1 -1
  54. package/window/window-titlebar.component.d.ts +1 -1
  55. package/window/window.component.d.ts +1 -1
  56. package/esm2020/dialog/models/dialog-action.mjs +0 -10
  57. package/esm2020/dialog/models/dialog-ref.mjs +0 -11
  58. package/esm2020/dialog/models/dialog-settings.mjs +0 -10
  59. package/esm2020/window/models/window-ref.mjs +0 -11
  60. package/esm2020/window/models/window-settings.mjs +0 -10
  61. package/fesm2015/progress-kendo-angular-dialog.mjs +0 -3807
  62. /package/{esm2020 → esm2022}/common/actions-layout.mjs +0 -0
  63. /package/{esm2020 → esm2022}/common/animation-types.mjs +0 -0
  64. /package/{esm2020 → esm2022}/common/dialog-animation-direction.mjs +0 -0
  65. /package/{esm2020 → esm2022}/common/util.mjs +0 -0
  66. /package/{esm2020 → esm2022}/dialog/dialog-animations/animate-content.mjs +0 -0
  67. /package/{esm2020 → esm2022}/dialog/dialog-animations/animations.mjs +0 -0
  68. /package/{esm2020 → esm2022}/dialog/dialog-animations/create-animation-player.mjs +0 -0
  69. /package/{esm2020 → esm2022}/dialog/models/dialog-action-divider.mjs +0 -0
  70. /package/{esm2020 → esm2022}/dialog/models/dialog-animation.mjs +0 -0
  71. /package/{esm2020 → esm2022}/dialog/models/dialog-close-result.mjs +0 -0
  72. /package/{esm2020 → esm2022}/dialog/models/dialog-result.mjs +0 -0
  73. /package/{esm2020 → esm2022}/dialog/models/index.mjs +0 -0
  74. /package/{esm2020 → esm2022}/dialog/models/theme-color.mjs +0 -0
  75. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  76. /package/{esm2020 → esm2022}/index.mjs +0 -0
  77. /package/{esm2020 → esm2022}/localization/dialog-localization.service.mjs +0 -0
  78. /package/{esm2020 → esm2022}/progress-kendo-angular-dialog.mjs +0 -0
  79. /package/{esm2020 → esm2022}/window/models/index.mjs +0 -0
  80. /package/{esm2020 → esm2022}/window/models/theme-color.mjs +0 -0
  81. /package/{esm2020 → esm2022}/window/models/window-close-result.mjs +0 -0
  82. /package/{esm2020 → esm2022}/window/models/window-messages.mjs +0 -0
  83. /package/{esm2020 → esm2022}/window/models/window-options.mjs +0 -0
  84. /package/{esm2020 → esm2022}/window/models/window-types.mjs +0 -0
  85. /package/{esm2020 → esm2022}/window/window-events.mjs +0 -0
@@ -0,0 +1,34 @@
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
+ /**
6
+ * Holds references to the object instance and published events of the Dialog.
7
+ * Controls the Dialogs that were opened through the `DialogService`
8
+ * ([see example]({% slug api_dialog_dialogservice %}#toc-open)).
9
+ */
10
+ export class DialogRef {
11
+ /**
12
+ * Emits events when the Dialog is closed either through the **Close** button of the title bar or through the action buttons.
13
+ * If the **Close** button of the title bar is clicked, `DialogResult` is a `DialogCloseResult` instance.
14
+ * If the Dialog is closed through the action buttons, `DialogResult` contains the object that was passed when the Dialog was opened.
15
+ * When `close` is called with an argument, the result is the passed argument.
16
+ */
17
+ result;
18
+ /**
19
+ * A reference to the Dialog instance.
20
+ */
21
+ dialog;
22
+ /**
23
+ * A reference to the child component of the Dialog.
24
+ * Available when the Dialog is opened with [component content](slug:service_dialog#toc-rendering-the-content-area).
25
+ */
26
+ content;
27
+ /**
28
+ * Allows you to close the Dialog through code.
29
+ * When called with no arguments,
30
+ * the `result` Observable will be of type DialogCloseResult.
31
+ * When called with an argument, the `result` Observable will hold the provided value.
32
+ */
33
+ close;
34
+ }
@@ -0,0 +1,106 @@
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
+ /**
6
+ * The settings that can be used when the Dialog is opened through `DialogService`.
7
+ * ([see example]({% slug api_dialog_dialogservice %}#toc-open)).
8
+ */
9
+ export class DialogSettings {
10
+ /**
11
+ * Defines a predicate that verifies if the pressed dialog action should be prevented. Returning true from the predicate prevents the dialog from closing.
12
+ * If the **Close** button of the title bar is clicked, `DialogResult` is a `DialogCloseResult` instance.
13
+ * If the Dialog is closed through the action buttons, `DialogResult` contains the object that was passed when the Dialog was opened. ([see example](slug:service_dialog#toc-dialog-close-prevention))
14
+ * @param {DialogResult} ev
15
+ * @param {DialogRef} [dialogRef] - provided only when the dialog is created using a component.
16
+ * @returns
17
+ */
18
+ preventAction;
19
+ /**
20
+ * Sets the title of the Dialog. If `title` is omitted,
21
+ * the Dialog will not render a **Close** button.
22
+ */
23
+ title;
24
+ /**
25
+ * Sets the CSS classes that will be rendered on the Dialog wrapper element.
26
+ * Supports the union type of values that NgClass accepts [ngClass](link:site.data.urls.angular['ngclassapi']).
27
+ */
28
+ cssClass;
29
+ /**
30
+ * Configures the Dialog opening animation ([see example]({% slug animations_dialog %})).
31
+ * By default the animation type is set to `translate` and its duration is `300ms`.
32
+ */
33
+ animation;
34
+ /**
35
+ * Sets the HTML attributes of the Dialog wrapper element.
36
+ * The property accepts string key-value based pairs.
37
+ */
38
+ htmlAttributes;
39
+ /**
40
+ * Defines the content of the Dialog.
41
+ * ([see example](slug:service_dialog#toc-rendering-the-content-area)).
42
+ */
43
+ content;
44
+ /**
45
+ * Specifies the width of the Dialog.
46
+ * A numeric value sets the width in pixels.
47
+ * A string value sets the width in arbitrary units—for example, `50%`.
48
+ */
49
+ width;
50
+ /**
51
+ * Specifies the minimum width of the Dialog.
52
+ * A numeric value sets the minimum width in pixels.
53
+ * A string value sets the minimum width in arbitrary units—for example, `50%`.
54
+ */
55
+ minWidth;
56
+ /**
57
+ * Specifies the maximum width of the Dialog.
58
+ * A numeric value sets the maximum width in pixels.
59
+ * A string value sets the maximum width in arbitrary units—for example, `50%`.
60
+ */
61
+ maxWidth;
62
+ /**
63
+ * Specifies the height of the Dialog.
64
+ * A numeric value sets the height in pixels.
65
+ * A string value sets the height in arbitrary units—for example, `50%`.
66
+ */
67
+ height;
68
+ /**
69
+ * Specifies the minimum height of the Dialog.
70
+ * A numeric value sets the minimum height in pixels.
71
+ * A string value sets the minimum height in arbitrary units—for example, `50%`.
72
+ */
73
+ minHeight;
74
+ /**
75
+ * Specifies the maximum height of the Dialog.
76
+ * A numeric value sets the maximum height in pixels.
77
+ * A string value sets the maximum height in arbitrary units—for example, `50%`.
78
+ */
79
+ maxHeight;
80
+ /**
81
+ * Defines the container in which the Dialog will be inserted.
82
+ * Specifying this option changes the place in the page hierarchy where the Dialog will be inserted.
83
+ * The styling of the component will remain the same.
84
+ */
85
+ appendTo;
86
+ /**
87
+ * Specifies the title of the close button.
88
+ */
89
+ closeTitle;
90
+ /**
91
+ * Sets the action buttons of the Dialog.
92
+ */
93
+ actions;
94
+ /**
95
+ * Specifies the layout of the action buttons in the Dialog.
96
+ */
97
+ actionsLayout;
98
+ /**
99
+ * Sets the focused element query selector.
100
+ */
101
+ autoFocusedElement;
102
+ /**
103
+ * Specifies the theme color of the Dialog.
104
+ */
105
+ themeColor;
106
+ }
@@ -46,11 +46,11 @@ export const DIALOG_DIRECTIVES = [
46
46
  * ```
47
47
  */
48
48
  export class DialogModule {
49
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
50
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DialogModule, imports: [i1.DialogComponent, i2.DialogTitleBarComponent, i3.DialogContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent], exports: [i1.DialogComponent, i2.DialogTitleBarComponent, i3.DialogContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent] });
51
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogModule, providers: [DialogContainerService, DialogService, IconsService], imports: [i1.DialogComponent, i2.DialogTitleBarComponent] });
49
52
  }
50
- DialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
51
- DialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, imports: [i1.DialogComponent, i2.DialogTitleBarComponent, i3.DialogContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent], exports: [i1.DialogComponent, i2.DialogTitleBarComponent, i3.DialogContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent] });
52
- DialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, providers: [DialogContainerService, DialogService, IconsService], imports: [i1.DialogComponent, i2.DialogTitleBarComponent, i4.DialogActionsComponent] });
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, decorators: [{
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogModule, decorators: [{
54
54
  type: NgModule,
55
55
  args: [{
56
56
  exports: [...KENDO_DIALOG],
@@ -49,11 +49,11 @@ import * as i12 from "./window/window-container.directive";
49
49
  * ```
50
50
  */
51
51
  export class DialogsModule {
52
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
53
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DialogsModule, imports: [i1.DialogComponent, i2.DialogTitleBarComponent, i3.DialogContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent, i6.WindowComponent, i7.WindowCloseActionDirective, i8.WindowMinimizeActionDirective, i9.WindowMaximizeActionDirective, i10.WindowRestoreActionDirective, i11.WindowTitleBarComponent, i12.WindowContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent], exports: [i1.DialogComponent, i2.DialogTitleBarComponent, i3.DialogContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent, i6.WindowComponent, i7.WindowCloseActionDirective, i8.WindowMinimizeActionDirective, i9.WindowMaximizeActionDirective, i10.WindowRestoreActionDirective, i11.WindowTitleBarComponent, i12.WindowContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent] });
54
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogsModule, providers: [IconsService, DialogService, DialogContainerService, WindowService, WindowContainerService], imports: [i1.DialogComponent, i2.DialogTitleBarComponent, i6.WindowComponent, i7.WindowCloseActionDirective, i8.WindowMinimizeActionDirective, i9.WindowMaximizeActionDirective, i10.WindowRestoreActionDirective] });
52
55
  }
53
- DialogsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
54
- DialogsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, imports: [i1.DialogComponent, i2.DialogTitleBarComponent, i3.DialogContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent, i6.WindowComponent, i7.WindowCloseActionDirective, i8.WindowMinimizeActionDirective, i9.WindowMaximizeActionDirective, i10.WindowRestoreActionDirective, i11.WindowTitleBarComponent, i12.WindowContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent], exports: [i1.DialogComponent, i2.DialogTitleBarComponent, i3.DialogContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent, i6.WindowComponent, i7.WindowCloseActionDirective, i8.WindowMinimizeActionDirective, i9.WindowMaximizeActionDirective, i10.WindowRestoreActionDirective, i11.WindowTitleBarComponent, i12.WindowContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent] });
55
- DialogsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, providers: [IconsService, DialogService, DialogContainerService, WindowService, WindowContainerService], imports: [i1.DialogComponent, i2.DialogTitleBarComponent, i4.DialogActionsComponent, i6.WindowComponent, i7.WindowCloseActionDirective, i8.WindowMinimizeActionDirective, i9.WindowMaximizeActionDirective, i10.WindowRestoreActionDirective, i11.WindowTitleBarComponent, i4.DialogActionsComponent] });
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, decorators: [{
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogsModule, decorators: [{
57
57
  type: NgModule,
58
58
  args: [{
59
59
  imports: [...KENDO_DIALOGS],
@@ -12,6 +12,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
12
12
  * ([see example](slug:globalization_dialogs#toc-internationalization)).
13
13
  */
14
14
  export class CustomMessagesComponent extends Messages {
15
+ service;
15
16
  constructor(service) {
16
17
  super();
17
18
  this.service = service;
@@ -19,15 +20,15 @@ export class CustomMessagesComponent extends Messages {
19
20
  get override() {
20
21
  return true;
21
22
  }
23
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
24
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-dialog-messages, kendo-window-messages", providers: [
25
+ {
26
+ provide: Messages,
27
+ useExisting: forwardRef(() => CustomMessagesComponent)
28
+ }
29
+ ], usesInheritance: true, ngImport: i0 });
22
30
  }
23
- CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
24
- CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-dialog-messages, kendo-window-messages", providers: [
25
- {
26
- provide: Messages,
27
- useExisting: forwardRef(() => CustomMessagesComponent)
28
- }
29
- ], usesInheritance: true, ngImport: i0 });
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomMessagesComponent, decorators: [{
31
32
  type: Directive,
32
33
  args: [{
33
34
  providers: [
@@ -11,19 +11,20 @@ import * as i1 from "@progress/kendo-angular-l10n";
11
11
  * @hidden
12
12
  */
13
13
  export class LocalizedMessagesDirective extends Messages {
14
+ service;
14
15
  constructor(service) {
15
16
  super();
16
17
  this.service = service;
17
18
  }
19
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LocalizedMessagesDirective, isStandalone: true, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n ", providers: [
21
+ {
22
+ provide: Messages,
23
+ useExisting: forwardRef(() => LocalizedMessagesDirective)
24
+ }
25
+ ], usesInheritance: true, ngImport: i0 });
18
26
  }
19
- LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n ", providers: [
21
- {
22
- provide: Messages,
23
- useExisting: forwardRef(() => LocalizedMessagesDirective)
24
- }
25
- ], usesInheritance: true, ngImport: i0 });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
27
28
  type: Directive,
28
29
  args: [{
29
30
  providers: [
@@ -9,10 +9,26 @@ import * as i0 from "@angular/core";
9
9
  * @hidden
10
10
  */
11
11
  export class Messages extends ComponentMessages {
12
+ /**
13
+ * The title of the close button.
14
+ */
15
+ closeTitle;
16
+ /**
17
+ * The title of the restore button.
18
+ */
19
+ restoreTitle;
20
+ /**
21
+ * The title of the maximize button.
22
+ */
23
+ maximizeTitle;
24
+ /**
25
+ * The title of the minimize button.
26
+ */
27
+ minimizeTitle;
28
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
29
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: Messages, selector: "kendo-dialog-messages-base", inputs: { closeTitle: "closeTitle", restoreTitle: "restoreTitle", maximizeTitle: "maximizeTitle", minimizeTitle: "minimizeTitle" }, usesInheritance: true, ngImport: i0 });
12
30
  }
13
- Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
14
- Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: Messages, selector: "kendo-dialog-messages-base", inputs: { closeTitle: "closeTitle", restoreTitle: "restoreTitle", maximizeTitle: "maximizeTitle", minimizeTitle: "minimizeTitle" }, usesInheritance: true, ngImport: i0 });
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, decorators: [{
16
32
  type: Directive,
17
33
  args: [{
18
34
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -11,6 +11,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
11
11
  * @hidden
12
12
  */
13
13
  export class TitleBarLocalizationService extends LocalizationService {
14
+ dialogLocalization;
14
15
  constructor(prefix, messageService, rtl, dialogLocalization) {
15
16
  super(prefix, messageService, rtl);
16
17
  this.dialogLocalization = dialogLocalization;
@@ -21,10 +22,10 @@ export class TitleBarLocalizationService extends LocalizationService {
21
22
  }
22
23
  return super.get(shortKey);
23
24
  }
25
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TitleBarLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }, { token: DIALOG_LOCALIZATION_SERVICE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
26
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TitleBarLocalizationService });
24
27
  }
25
- TitleBarLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TitleBarLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }, { token: DIALOG_LOCALIZATION_SERVICE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
26
- TitleBarLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TitleBarLocalizationService });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TitleBarLocalizationService, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TitleBarLocalizationService, decorators: [{
28
29
  type: Injectable
29
30
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
30
31
  type: Inject,
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-dialog',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1729874065,
13
- version: '17.0.0-develop.21',
12
+ publishDate: 1730103482,
13
+ version: '17.0.0-develop.22',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -13,14 +13,18 @@ import * as i0 from "@angular/core";
13
13
  import * as i1 from "../drag-resize.service";
14
14
  import * as i2 from "@progress/kendo-angular-l10n";
15
15
  export class WindowCloseActionDirective extends Button {
16
+ /**
17
+ * @hidden
18
+ */
19
+ window;
20
+ /**
21
+ * @hidden
22
+ */
23
+ xIcon = xIcon;
24
+ buttonType = 'button';
25
+ buttonClass = true;
16
26
  constructor(el, renderer, _service, localization, ngZone) {
17
27
  super(el, renderer, null, localization, ngZone);
18
- /**
19
- * @hidden
20
- */
21
- this.xIcon = xIcon;
22
- this.buttonType = 'button';
23
- this.buttonClass = true;
24
28
  this.window = _service;
25
29
  this.fillMode = 'flat';
26
30
  this.icon = 'x';
@@ -33,15 +37,14 @@ export class WindowCloseActionDirective extends Button {
33
37
  this.window.closeAction();
34
38
  }
35
39
  }
36
- }
37
- WindowCloseActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowCloseActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.DragResizeService, optional: true }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
38
- WindowCloseActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowCloseActionDirective, isStandalone: true, selector: "button[kendoWindowCloseAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass" } }, providers: [
39
- LocalizationService,
40
- {
41
- provide: L10N_PREFIX,
42
- useValue: 'kendo.button'
43
- }
44
- ], exportAs: ["kendoWindowCloseAction"], usesInheritance: true, ngImport: i0, template: `
40
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WindowCloseActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.DragResizeService, optional: true }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
41
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: WindowCloseActionDirective, isStandalone: true, selector: "button[kendoWindowCloseAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass" } }, providers: [
42
+ LocalizationService,
43
+ {
44
+ provide: L10N_PREFIX,
45
+ useValue: 'kendo.button'
46
+ }
47
+ ], exportAs: ["kendoWindowCloseAction"], usesInheritance: true, ngImport: i0, template: `
45
48
  <kendo-icon-wrapper
46
49
  *ngIf="!imageUrl && !iconClass"
47
50
  innerCssClass="k-button-icon"
@@ -54,7 +57,8 @@ WindowCloseActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
54
57
  <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
55
58
  <span class="k-button-text"><ng-content></ng-content></span>
56
59
  `, isInline: true, dependencies: [{ 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: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
57
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowCloseActionDirective, decorators: [{
60
+ }
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WindowCloseActionDirective, decorators: [{
58
62
  type: Component,
59
63
  args: [{
60
64
  exportAs: 'kendoWindowCloseAction',
@@ -13,14 +13,18 @@ import * as i0 from "@angular/core";
13
13
  import * as i1 from "./../drag-resize.service";
14
14
  import * as i2 from "@progress/kendo-angular-l10n";
15
15
  export class WindowMaximizeActionDirective extends Button {
16
+ /**
17
+ * @hidden
18
+ */
19
+ window;
20
+ buttonType = 'button';
21
+ buttonClass = true;
22
+ /**
23
+ * @hidden
24
+ */
25
+ windowIcon = windowIcon;
16
26
  constructor(el, renderer, _service, localization, ngZone) {
17
27
  super(el, renderer, null, localization, ngZone);
18
- this.buttonType = 'button';
19
- this.buttonClass = true;
20
- /**
21
- * @hidden
22
- */
23
- this.windowIcon = windowIcon;
24
28
  this.window = _service;
25
29
  this.fillMode = 'flat';
26
30
  this.icon = 'window';
@@ -36,15 +40,14 @@ export class WindowMaximizeActionDirective extends Button {
36
40
  get visible() {
37
41
  return this.window.options.state === 'default' ? 'inline-flex' : 'none';
38
42
  }
39
- }
40
- WindowMaximizeActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowMaximizeActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.DragResizeService, optional: true }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
41
- WindowMaximizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowMaximizeActionDirective, isStandalone: true, selector: "button[kendoWindowMaximizeAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
42
- LocalizationService,
43
- {
44
- provide: L10N_PREFIX,
45
- useValue: 'kendo.button'
46
- }
47
- ], exportAs: ["kendoWindowMaximizeAction"], usesInheritance: true, ngImport: i0, template: `
43
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WindowMaximizeActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.DragResizeService, optional: true }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
44
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: WindowMaximizeActionDirective, isStandalone: true, selector: "button[kendoWindowMaximizeAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
45
+ LocalizationService,
46
+ {
47
+ provide: L10N_PREFIX,
48
+ useValue: 'kendo.button'
49
+ }
50
+ ], exportAs: ["kendoWindowMaximizeAction"], usesInheritance: true, ngImport: i0, template: `
48
51
  <kendo-icon-wrapper
49
52
  *ngIf="!imageUrl && !iconClass"
50
53
  innerCssClass="k-button-icon"
@@ -57,7 +60,8 @@ WindowMaximizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
57
60
  <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
58
61
  <span class="k-button-text"><ng-content></ng-content></span>
59
62
  `, isInline: true, dependencies: [{ 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: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowMaximizeActionDirective, decorators: [{
63
+ }
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WindowMaximizeActionDirective, decorators: [{
61
65
  type: Component,
62
66
  args: [{
63
67
  exportAs: 'kendoWindowMaximizeAction',
@@ -13,14 +13,18 @@ import * as i0 from "@angular/core";
13
13
  import * as i1 from "./../drag-resize.service";
14
14
  import * as i2 from "@progress/kendo-angular-l10n";
15
15
  export class WindowMinimizeActionDirective extends Button {
16
+ /**
17
+ * @hidden
18
+ */
19
+ window;
20
+ buttonType = 'button';
21
+ buttonClass = true;
22
+ /**
23
+ * @hidden
24
+ */
25
+ windowMinimizeIcon = windowMinimizeIcon;
16
26
  constructor(el, renderer, _service, localization, ngZone) {
17
27
  super(el, renderer, null, localization, ngZone);
18
- this.buttonType = 'button';
19
- this.buttonClass = true;
20
- /**
21
- * @hidden
22
- */
23
- this.windowMinimizeIcon = windowMinimizeIcon;
24
28
  this.window = _service;
25
29
  this.fillMode = 'flat';
26
30
  this.icon = 'window-minimize';
@@ -36,15 +40,14 @@ export class WindowMinimizeActionDirective extends Button {
36
40
  get visible() {
37
41
  return this.window.options.state === 'default' ? 'inline-flex' : 'none';
38
42
  }
39
- }
40
- WindowMinimizeActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowMinimizeActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.DragResizeService, optional: true }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
41
- WindowMinimizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowMinimizeActionDirective, isStandalone: true, selector: "button[kendoWindowMinimizeAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
42
- LocalizationService,
43
- {
44
- provide: L10N_PREFIX,
45
- useValue: 'kendo.button'
46
- }
47
- ], exportAs: ["kendoWindowMinimizeAction"], usesInheritance: true, ngImport: i0, template: `
43
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WindowMinimizeActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.DragResizeService, optional: true }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
44
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: WindowMinimizeActionDirective, isStandalone: true, selector: "button[kendoWindowMinimizeAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
45
+ LocalizationService,
46
+ {
47
+ provide: L10N_PREFIX,
48
+ useValue: 'kendo.button'
49
+ }
50
+ ], exportAs: ["kendoWindowMinimizeAction"], usesInheritance: true, ngImport: i0, template: `
48
51
  <kendo-icon-wrapper
49
52
  *ngIf="!imageUrl && !iconClass"
50
53
  innerCssClass="k-button-icon"
@@ -57,7 +60,8 @@ WindowMinimizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
57
60
  <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
58
61
  <span class="k-button-text"><ng-content></ng-content></span>
59
62
  `, isInline: true, dependencies: [{ 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: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowMinimizeActionDirective, decorators: [{
63
+ }
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WindowMinimizeActionDirective, decorators: [{
61
65
  type: Component,
62
66
  args: [{
63
67
  exportAs: 'kendoWindowMinimizeAction',
@@ -13,14 +13,18 @@ import * as i0 from "@angular/core";
13
13
  import * as i1 from "./../drag-resize.service";
14
14
  import * as i2 from "@progress/kendo-angular-l10n";
15
15
  export class WindowRestoreActionDirective extends Button {
16
+ /**
17
+ * @hidden
18
+ */
19
+ window;
20
+ /**
21
+ * @hidden
22
+ */
23
+ windowRestoreIcon = windowRestoreIcon;
24
+ buttonType = 'button';
25
+ buttonClass = true;
16
26
  constructor(el, renderer, _service, localization, ngZone) {
17
27
  super(el, renderer, null, localization, ngZone);
18
- /**
19
- * @hidden
20
- */
21
- this.windowRestoreIcon = windowRestoreIcon;
22
- this.buttonType = 'button';
23
- this.buttonClass = true;
24
28
  this.window = _service;
25
29
  this.fillMode = 'flat';
26
30
  this.icon = 'window-restore';
@@ -36,15 +40,14 @@ export class WindowRestoreActionDirective extends Button {
36
40
  get visible() {
37
41
  return this.window.options.state === 'default' ? 'none' : 'inline-flex';
38
42
  }
39
- }
40
- WindowRestoreActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowRestoreActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.DragResizeService, optional: true }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
41
- WindowRestoreActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowRestoreActionDirective, isStandalone: true, selector: "button[kendoWindowRestoreAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
42
- LocalizationService,
43
- {
44
- provide: L10N_PREFIX,
45
- useValue: 'kendo.button'
46
- }
47
- ], exportAs: ["kendoWindowRestoreAction"], usesInheritance: true, ngImport: i0, template: `
43
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WindowRestoreActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.DragResizeService, optional: true }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
44
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: WindowRestoreActionDirective, isStandalone: true, selector: "button[kendoWindowRestoreAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
45
+ LocalizationService,
46
+ {
47
+ provide: L10N_PREFIX,
48
+ useValue: 'kendo.button'
49
+ }
50
+ ], exportAs: ["kendoWindowRestoreAction"], usesInheritance: true, ngImport: i0, template: `
48
51
  <kendo-icon-wrapper
49
52
  *ngIf="!imageUrl && !iconClass"
50
53
  innerCssClass="k-button-icon"
@@ -57,7 +60,8 @@ WindowRestoreActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
57
60
  <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
58
61
  <span class="k-button-text"><ng-content></ng-content></span>
59
62
  `, isInline: true, dependencies: [{ 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: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowRestoreActionDirective, decorators: [{
63
+ }
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WindowRestoreActionDirective, decorators: [{
61
65
  type: Component,
62
66
  args: [{
63
67
  exportAs: 'kendoWindowRestoreAction',
@@ -43,20 +43,23 @@ const createMoveStream = (el, ev) => mouseDown => {
43
43
  * @hidden
44
44
  */
45
45
  export class DragResizeService {
46
+ ngZone;
47
+ close = new EventEmitter();
48
+ focus = new EventEmitter();
49
+ change = new EventEmitter();
50
+ stateChange = new EventEmitter();
51
+ dragStart = new EventEmitter();
52
+ dragEnd = new EventEmitter();
53
+ resizeStart = new EventEmitter();
54
+ resizeEnd = new EventEmitter();
55
+ options = Object.assign({}, DEFAULT_OPTIONS);
56
+ restoreOptions;
57
+ window;
58
+ lastAction = null;
59
+ subscriptions = new Subscription();
60
+ dragSubscription = new Subscription();
46
61
  constructor(ngZone) {
47
62
  this.ngZone = ngZone;
48
- this.close = new EventEmitter();
49
- this.focus = new EventEmitter();
50
- this.change = new EventEmitter();
51
- this.stateChange = new EventEmitter();
52
- this.dragStart = new EventEmitter();
53
- this.dragEnd = new EventEmitter();
54
- this.resizeStart = new EventEmitter();
55
- this.resizeEnd = new EventEmitter();
56
- this.options = Object.assign({}, DEFAULT_OPTIONS);
57
- this.lastAction = null;
58
- this.subscriptions = new Subscription();
59
- this.dragSubscription = new Subscription();
60
63
  }
61
64
  ngOnDestroy() {
62
65
  if (this.subscriptions) {
@@ -324,9 +327,9 @@ export class DragResizeService {
324
327
  get windowViewPort() {
325
328
  return getWindowViewPort(this.window.nativeElement);
326
329
  }
330
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragResizeService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
331
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragResizeService });
327
332
  }
328
- DragResizeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragResizeService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
329
- DragResizeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragResizeService });
330
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragResizeService, decorators: [{
333
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragResizeService, decorators: [{
331
334
  type: Injectable
332
335
  }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });