@progress/kendo-angular-dialog 7.1.5 → 11.0.0-develop.101

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 (126) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +4 -4
  3. package/README.md +1 -1
  4. package/common/actions-layout.d.ts +2 -2
  5. package/common/animation-types.d.ts +1 -1
  6. package/common/dialog-animation-direction.d.ts +1 -1
  7. package/common/preventable-event.d.ts +1 -1
  8. package/common/util.d.ts +3 -3
  9. package/dialog/dialog-actions.component.d.ts +4 -3
  10. package/dialog/dialog-animations/animate-content.d.ts +1 -1
  11. package/dialog/dialog-animations/animations.d.ts +1 -1
  12. package/dialog/dialog-animations/create-animation-player.d.ts +1 -1
  13. package/dialog/dialog-container.directive.d.ts +1 -1
  14. package/dialog/dialog-container.service.d.ts +1 -1
  15. package/dialog/dialog-content-base.d.ts +1 -1
  16. package/dialog/dialog-titlebar.component.d.ts +6 -1
  17. package/dialog/dialog.component.d.ts +16 -2
  18. package/dialog/dialog.service.d.ts +1 -1
  19. package/dialog/models/dialog-action.d.ts +1 -1
  20. package/dialog/models/dialog-animation.d.ts +1 -1
  21. package/dialog/models/dialog-close-result.d.ts +1 -1
  22. package/dialog/models/dialog-ref.d.ts +1 -1
  23. package/dialog/models/dialog-result.d.ts +1 -1
  24. package/dialog/models/dialog-settings.d.ts +1 -1
  25. package/dialog/models/index.d.ts +2 -1
  26. package/dialog/models/theme-color.d.ts +13 -0
  27. package/dialog.module.d.ts +1 -1
  28. package/dialogs.module.d.ts +1 -1
  29. package/{esm2015/dialog/models/dialog-animation.js → esm2020/common/actions-layout.mjs} +1 -1
  30. package/{esm2015/common/actions-layout.js → esm2020/common/animation-types.mjs} +1 -1
  31. package/{esm2015/common/animation-types.js → esm2020/common/dialog-animation-direction.mjs} +1 -1
  32. package/{esm2015/common/preventable-event.js → esm2020/common/preventable-event.mjs} +1 -1
  33. package/{esm2015/common/util.js → esm2020/common/util.mjs} +3 -3
  34. package/{esm2015/dialog/dialog-actions.component.js → esm2020/dialog/dialog-actions.component.mjs} +23 -11
  35. package/{esm2015/dialog/dialog-animations/animate-content.js → esm2020/dialog/dialog-animations/animate-content.mjs} +1 -1
  36. package/{esm2015/dialog/dialog-animations/animations.js → esm2020/dialog/dialog-animations/animations.mjs} +9 -5
  37. package/{esm2015/dialog/dialog-animations/create-animation-player.js → esm2020/dialog/dialog-animations/create-animation-player.mjs} +1 -1
  38. package/{esm2015/dialog/dialog-container.directive.js → esm2020/dialog/dialog-container.directive.mjs} +6 -5
  39. package/{esm2015/dialog/dialog-container.service.js → esm2020/dialog/dialog-container.service.mjs} +4 -4
  40. package/{esm2015/dialog/dialog-content-base.js → esm2020/dialog/dialog-content-base.mjs} +5 -4
  41. package/{esm2015/dialog/dialog-titlebar.component.js → esm2020/dialog/dialog-titlebar.component.mjs} +29 -17
  42. package/{esm2015/dialog/dialog.component.js → esm2020/dialog/dialog.component.mjs} +43 -8
  43. package/{esm2015/dialog/dialog.service.js → esm2020/dialog/dialog.service.mjs} +5 -5
  44. package/{esm2015/dialog/models/dialog-action.js → esm2020/dialog/models/dialog-action.mjs} +1 -1
  45. package/{esm2015/common/dialog-animation-direction.js → esm2020/dialog/models/dialog-animation.mjs} +1 -1
  46. package/{esm2015/dialog/models/dialog-close-result.js → esm2020/dialog/models/dialog-close-result.mjs} +1 -1
  47. package/{esm2015/dialog/models/dialog-ref.js → esm2020/dialog/models/dialog-ref.mjs} +1 -1
  48. package/esm2020/dialog/models/dialog-result.mjs +5 -0
  49. package/{esm2015/dialog/models/dialog-settings.js → esm2020/dialog/models/dialog-settings.mjs} +1 -1
  50. package/{esm2015/dialog/models/index.js → esm2020/dialog/models/index.mjs} +2 -1
  51. package/esm2020/dialog/models/theme-color.mjs +5 -0
  52. package/{esm2015/dialog.module.js → esm2020/dialog.module.mjs} +5 -5
  53. package/{esm2015/dialogs.module.js → esm2020/dialogs.module.mjs} +5 -5
  54. package/{esm2015/main.js → esm2020/index.mjs} +2 -1
  55. package/{esm2015/localization/custom-messages.component.js → esm2020/localization/custom-messages.component.mjs} +5 -4
  56. package/{esm2015/localization/dialog-localization.service.js → esm2020/localization/dialog-localization.service.mjs} +1 -1
  57. package/{esm2015/localization/localized-messages.directive.js → esm2020/localization/localized-messages.directive.mjs} +5 -4
  58. package/{esm2015/localization/messages.js → esm2020/localization/messages.mjs} +4 -4
  59. package/{esm2015/localization/titlebar-localization.service.js → esm2020/localization/titlebar-localization.service.mjs} +5 -5
  60. package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
  61. package/{esm2015/kendo-angular-dialog.js → esm2020/progress-kendo-angular-dialog.mjs} +2 -2
  62. package/{esm2015/shared.module.js → esm2020/shared.module.mjs} +11 -9
  63. package/{esm2015/window/actions/window-close-action.directive.js → esm2020/window/actions/window-close-action.directive.mjs} +42 -9
  64. package/{esm2015/window/actions/window-maximize-action.directive.js → esm2020/window/actions/window-maximize-action.directive.mjs} +42 -9
  65. package/{esm2015/window/actions/window-minimize-action.directive.js → esm2020/window/actions/window-minimize-action.directive.mjs} +42 -9
  66. package/{esm2015/window/actions/window-restore-action.directive.js → esm2020/window/actions/window-restore-action.directive.mjs} +42 -9
  67. package/{esm2015/window/drag-resize.service.js → esm2020/window/drag-resize.service.mjs} +13 -13
  68. package/{esm2015/window/models/index.js → esm2020/window/models/index.mjs} +2 -1
  69. package/esm2020/window/models/theme-color.mjs +5 -0
  70. package/{esm2015/window/models/window-close-result.js → esm2020/window/models/window-close-result.mjs} +1 -1
  71. package/esm2020/window/models/window-messages.mjs +5 -0
  72. package/esm2020/window/models/window-options.mjs +5 -0
  73. package/{esm2015/window/models/window-ref.js → esm2020/window/models/window-ref.mjs} +1 -1
  74. package/{esm2015/window/models/window-settings.js → esm2020/window/models/window-settings.mjs} +1 -1
  75. package/esm2020/window/models/window-types.mjs +5 -0
  76. package/{esm2015/window/navigation.service.js → esm2020/window/navigation.service.mjs} +10 -9
  77. package/{esm2015/window/window-container.directive.js → esm2020/window/window-container.directive.mjs} +6 -5
  78. package/{esm2015/window/window-container.service.js → esm2020/window/window-container.service.mjs} +4 -4
  79. package/esm2020/window/window-events.mjs +5 -0
  80. package/{esm2015/window/window-resize-handle.directive.js → esm2020/window/window-resize-handle.directive.mjs} +7 -5
  81. package/{esm2015/window/window-titlebar.component.js → esm2020/window/window-titlebar.component.mjs} +6 -8
  82. package/{esm2015/window/window.component.js → esm2020/window/window.component.mjs} +55 -23
  83. package/{esm2015/window/window.service.js → esm2020/window/window.service.mjs} +5 -5
  84. package/{esm2015/window.module.js → esm2020/window.module.mjs} +5 -5
  85. package/fesm2015/progress-kendo-angular-dialog.mjs +3765 -0
  86. package/{fesm2015/kendo-angular-dialog.js → fesm2020/progress-kendo-angular-dialog.mjs} +378 -169
  87. package/{main.d.ts → index.d.ts} +4 -3
  88. package/localization/custom-messages.component.d.ts +1 -1
  89. package/localization/dialog-localization.service.d.ts +1 -1
  90. package/localization/localized-messages.directive.d.ts +1 -1
  91. package/localization/messages.d.ts +1 -1
  92. package/localization/titlebar-localization.service.d.ts +1 -1
  93. package/package-metadata.d.ts +1 -1
  94. package/package.json +30 -56
  95. package/{kendo-angular-dialog.d.ts → progress-kendo-angular-dialog.d.ts} +2 -2
  96. package/schematics/ngAdd/index.js +4 -6
  97. package/shared.module.d.ts +4 -2
  98. package/window/actions/window-close-action.directive.d.ts +7 -2
  99. package/window/actions/window-maximize-action.directive.d.ts +7 -2
  100. package/window/actions/window-minimize-action.directive.d.ts +7 -2
  101. package/window/actions/window-restore-action.directive.d.ts +7 -2
  102. package/window/drag-resize.service.d.ts +1 -1
  103. package/window/models/index.d.ts +2 -1
  104. package/window/models/theme-color.d.ts +13 -0
  105. package/window/models/window-close-result.d.ts +1 -1
  106. package/window/models/window-messages.d.ts +1 -1
  107. package/window/models/window-options.d.ts +1 -1
  108. package/window/models/window-ref.d.ts +1 -1
  109. package/window/models/window-settings.d.ts +1 -1
  110. package/window/models/window-types.d.ts +1 -1
  111. package/window/navigation.service.d.ts +1 -1
  112. package/window/window-container.directive.d.ts +1 -1
  113. package/window/window-container.service.d.ts +1 -1
  114. package/window/window-events.d.ts +1 -1
  115. package/window/window-resize-handle.directive.d.ts +1 -1
  116. package/window/window-titlebar.component.d.ts +1 -1
  117. package/window/window.component.d.ts +17 -3
  118. package/window/window.service.d.ts +1 -1
  119. package/window.module.d.ts +1 -1
  120. package/bundles/kendo-angular-dialog.umd.js +0 -5
  121. package/esm2015/dialog/models/dialog-result.js +0 -5
  122. package/esm2015/window/models/window-messages.js +0 -5
  123. package/esm2015/window/models/window-options.js +0 -5
  124. package/esm2015/window/models/window-types.js +0 -5
  125. package/esm2015/window/window-events.js +0 -5
  126. package/schematics/ngAdd/index.js.map +0 -1
package/LICENSE.md CHANGED
@@ -8,4 +8,4 @@ This is commercial software. To use it, you need to agree to the [**Telerik End
8
8
 
9
9
  All available Kendo UI commercial licenses may be obtained at http://www.telerik.com/purchase/kendo-ui.
10
10
 
11
- *Copyright © 2022 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.*
11
+ *Copyright © 2023 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.*
package/NOTICE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Progress Kendo UI for Angular 2022
1
+ Progress Kendo UI for Angular 2023
2
2
 
3
3
  Copyright (c) 2016-2022 Progress Software Corporation and/or one of its
4
4
  subsidiaries or affiliates. All rights reserved.
@@ -37,7 +37,7 @@ DefinitelyTyped.org | @types/prosemirror-view | 1.11.4 - Open Source | MIT-style
37
37
  Isaac Z. Schlueter | glob | 7.1.3 - Open Source | ISC-style License
38
38
  Jorik Tangelder (Eight Media) | HammerJS | 2.0.8 - Open Source | MIT-style License
39
39
  Matt Mueller | cheerio | 0.22 - Open Source | MIT-style License
40
- Progress Software Corporation | Kendo UI Licensing CLI | 1.1 - Proprietary |
40
+ Progress Software Corporation | Kendo UI Licensing CLI | 1.1 - Proprietary |
41
41
  Progress Software Corporation | jszip-esm | 1.0.0 - Open Source | MIT-style License
42
42
  Progress Software Corporation | pako-esm | 1.0.0 - Open Source | MIT-style License
43
43
  ProseMirror | prosemiror-inputrules | 1.0.1 - Open Source | MIT-style License
@@ -433,7 +433,7 @@ subject to the following terms and conditions:
433
433
  @types/prosemirror-inputrules v1*, @types/prosemirror-keymap v1*, @types/prosemirror-model v1*,
434
434
  @types/prosemirror-schema-list v1*, @types/prosemirror-state v1*, @types/prosemirror-tables v0.9*,
435
435
  @types/prosemirror-transform v1*, and @types/prosemirror-view v1*. Such technologies are
436
- subject to the following terms and conditions:
436
+ subject to the following terms and conditions:
437
437
 
438
438
  This project is licensed under the MIT license.
439
439
  Copyrights are respective of each contributor listed at the beginning of each
@@ -640,7 +640,7 @@ Such technology is subject to the following terms and conditions:
640
640
  2. Special Notices Regarding Commercially Licensed Third-Party Components
641
641
  incorporated into the Product: NONE
642
642
 
643
- 3. Special Notices Regarding Progress Products incorporated into the Product:
643
+ 3. Special Notices Regarding Progress Products incorporated into the Product:
644
644
 
645
645
  (a) Progress Kendo UI for Angular 2022 incorporates Kendo UI Licensing CLI v1.1
646
646
  from Progress Software Corporation. See NOTICE.txt text file within product for
package/README.md CHANGED
@@ -30,6 +30,6 @@ This component is part of the Kendo UI for Angular component library. Kendo UI f
30
30
  * [Feedback Portal](https://feedback.telerik.com/kendo-angular-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-dialogs)
31
31
  * [StackOverflow](https://stackoverflow.com/questions/tagged/kendo-ui-angular2?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-dialogs)
32
32
 
33
- *Copyright © 2022 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.*
33
+ *Copyright © 2023 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.*
34
34
 
35
35
  *Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.*
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  /**
6
6
  * Specifies the layout of the Dialog action buttons.
7
7
  */
8
- export declare type ActionsLayout = 'normal' | 'stretched';
8
+ export declare type ActionsLayout = 'normal' | 'stretched' | 'end';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  export declare class PreventableEvent {
package/common/util.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { Renderer2 } from '@angular/core';
@@ -30,11 +30,11 @@ export declare enum Keys {
30
30
  /**
31
31
  * @hidden
32
32
  */
33
- export declare const DIALOG_ELEMENTS_HANDLING_ESC_KEY = "k-dialog-wrapper k-dialog-buttongroup k-dialog-action";
33
+ export declare const DIALOG_ELEMENTS_HANDLING_ESC_KEY = "k-dialog-wrapper k-actions k-dialog-titlebar-action";
34
34
  /**
35
35
  * @hidden
36
36
  */
37
- export declare const DIALOG_ELEMENTS_HANDLING_ARROWS = "k-dialog-buttongroup";
37
+ export declare const DIALOG_ELEMENTS_HANDLING_ARROWS = "k-actions";
38
38
  /**
39
39
  * @hidden
40
40
  */
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { EventEmitter, TemplateRef, ElementRef } from '@angular/core';
@@ -32,8 +32,9 @@ export declare class DialogActionsComponent {
32
32
  * Fires when the user clicks an action button.
33
33
  */
34
34
  action: EventEmitter<DialogAction>;
35
- buttonGroupClassName: boolean;
36
- get className(): boolean;
35
+ hostClasses: boolean;
36
+ get stretchedClassName(): boolean;
37
+ get endClassName(): boolean;
37
38
  constructor(el: ElementRef);
38
39
  /**
39
40
  * @hidden
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { AnimationBuilder } from "@angular/animations";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { AnimationMetadata } from '@angular/animations';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { AnimationBuilder, AnimationMetadata } from "@angular/animations";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { ViewContainerRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { ViewContainerRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { DialogRef } from './models/dialog-ref';
@@ -1,10 +1,11 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { EventEmitter, ElementRef, NgZone, AfterViewInit } from '@angular/core';
6
6
  import { LocalizationService } from '@progress/kendo-angular-l10n';
7
7
  import { PreventableEvent } from '../common/preventable-event';
8
+ import { SVGIcon } from '@progress/kendo-svg-icons';
8
9
  import * as i0 from "@angular/core";
9
10
  /**
10
11
  * Represents the [Kendo UI DialogTitleBar component for Angular]({% slug api_dialog_dialogtitlebarcomponent %}).
@@ -28,6 +29,10 @@ export declare class DialogTitleBarComponent implements AfterViewInit {
28
29
  */
29
30
  closeTitle: string;
30
31
  get className(): true;
32
+ /**
33
+ * @hidden
34
+ */
35
+ xIcon: SVGIcon;
31
36
  constructor(zone: NgZone, hostElement: ElementRef, localizationService: LocalizationService);
32
37
  get closeButtonTitle(): string;
33
38
  ngAfterViewInit(): void;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { AfterContentInit, AfterViewInit, EventEmitter, OnInit, OnDestroy, ElementRef, TemplateRef, Renderer2, ChangeDetectorRef, NgZone, QueryList } from '@angular/core';
@@ -10,6 +10,7 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
10
10
  import { ActionsLayout } from '../common/actions-layout';
11
11
  import { DialogAction } from './models/dialog-action';
12
12
  import { DialogAnimation } from './models/dialog-animation';
13
+ import { DialogThemeColor } from './models';
13
14
  import * as i0 from "@angular/core";
14
15
  /**
15
16
  * Represents the [Kendo UI Dialog component for Angular]({% slug overview_dialog_dialogs %}).
@@ -82,6 +83,17 @@ export declare class DialogComponent implements AfterContentInit, AfterViewInit,
82
83
  * @default true
83
84
  */
84
85
  animation: boolean | DialogAnimation;
86
+ /**
87
+ * The Dialog allows you to specify predefined theme colors.
88
+ * The theme color will be applied as a background and border color to the titlebar while also amending the text color accordingly.
89
+ *
90
+ * The possible values are:
91
+ * * `primary`
92
+ * * `dark`
93
+ * * `light`
94
+ */
95
+ set themeColor(themeColor: DialogThemeColor);
96
+ get themeColor(): DialogThemeColor;
85
97
  /**
86
98
  * @hidden
87
99
  */
@@ -129,6 +141,7 @@ export declare class DialogComponent implements AfterContentInit, AfterViewInit,
129
141
  dialog: ElementRef;
130
142
  private _htmlAttributes;
131
143
  private _cssClass;
144
+ private _themeColor;
132
145
  private direction;
133
146
  private subscriptions;
134
147
  private domSubs;
@@ -183,6 +196,7 @@ export declare class DialogComponent implements AfterContentInit, AfterViewInit,
183
196
  get wrapperClass(): boolean;
184
197
  get styles(): any;
185
198
  private bubble;
199
+ private handleThemeColorClass;
186
200
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
187
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "kendo-dialog", ["kendoDialog"], { "actions": "actions"; "actionsLayout": "actionsLayout"; "autoFocusedElement": "autoFocusedElement"; "title": "title"; "width": "width"; "minWidth": "minWidth"; "maxWidth": "maxWidth"; "height": "height"; "minHeight": "minHeight"; "maxHeight": "maxHeight"; "animation": "animation"; }, { "action": "action"; "close": "close"; }, ["titlebarContent"], ["kendo-dialog-titlebar", "*", "kendo-dialog-actions"]>;
201
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "kendo-dialog", ["kendoDialog"], { "actions": "actions"; "actionsLayout": "actionsLayout"; "autoFocusedElement": "autoFocusedElement"; "title": "title"; "width": "width"; "minWidth": "minWidth"; "maxWidth": "maxWidth"; "height": "height"; "minHeight": "minHeight"; "maxHeight": "maxHeight"; "animation": "animation"; "themeColor": "themeColor"; }, { "action": "action"; "close": "close"; }, ["titlebarContent"], ["kendo-dialog-titlebar", "*", "kendo-dialog-actions"]>;
188
202
  }
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { ComponentFactoryResolver } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { ButtonFillMode, ButtonThemeColor } from "@progress/kendo-angular-buttons";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { DialogAnimationType } from "../../common/animation-types";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { ComponentRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { DialogAction } from "./dialog-action";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { TemplateRef, ViewContainerRef } from "@angular/core";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  export * from './dialog-action';
@@ -8,3 +8,4 @@ export * from './dialog-ref';
8
8
  export * from './dialog-result';
9
9
  export * from './dialog-settings';
10
10
  export * from './dialog-animation';
11
+ export * from './theme-color';
@@ -0,0 +1,13 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * Specifies the possible theme colors of the Dialog.
7
+ *
8
+ * The possible values are:
9
+ * * `primary` &mdash;Applies coloring based on the `primary` theme color.
10
+ * * `light`&mdash; Applies coloring based on the `light` theme color.
11
+ * * `dark`&mdash; Applies coloring based on the `dark` theme color.
12
+ */
13
+ export declare type DialogThemeColor = 'primary' | 'light' | 'dark';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import * as i0 from "@angular/core";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import * as i0 from "@angular/core";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  export class PreventableEvent {
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { of } from 'rxjs';
@@ -33,11 +33,11 @@ export var Keys;
33
33
  /**
34
34
  * @hidden
35
35
  */
36
- export const DIALOG_ELEMENTS_HANDLING_ESC_KEY = 'k-dialog-wrapper k-dialog-buttongroup k-dialog-action';
36
+ export const DIALOG_ELEMENTS_HANDLING_ESC_KEY = 'k-dialog-wrapper k-actions k-dialog-titlebar-action';
37
37
  /**
38
38
  * @hidden
39
39
  */
40
- export const DIALOG_ELEMENTS_HANDLING_ARROWS = 'k-dialog-buttongroup';
40
+ export const DIALOG_ELEMENTS_HANDLING_ARROWS = 'k-actions';
41
41
  /**
42
42
  * @hidden
43
43
  */
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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 { Component, EventEmitter, HostBinding, TemplateRef, Input, Output } from '@angular/core';
5
+ import { Component, EventEmitter, HostBinding, TemplateRef, Input, Output, ElementRef } from '@angular/core';
6
6
  import { parseCSSClassNames } from '../common/util';
7
7
  import * as i0 from "@angular/core";
8
8
  import * as i1 from "@angular/common";
@@ -21,7 +21,7 @@ export class DialogActionsComponent {
21
21
  * Fires when the user clicks an action button.
22
22
  */
23
23
  this.action = new EventEmitter();
24
- this.buttonGroupClassName = true;
24
+ this.hostClasses = true;
25
25
  }
26
26
  /**
27
27
  * Allows the declarative specification of the actions.
@@ -37,9 +37,12 @@ export class DialogActionsComponent {
37
37
  throw new Error('"actions" must be either TemplateRef or DialogAction[] instance.');
38
38
  }
39
39
  }
40
- get className() {
40
+ get stretchedClassName() {
41
41
  return this.layout === 'stretched';
42
42
  }
43
+ get endClassName() {
44
+ return this.layout === 'end';
45
+ }
43
46
  /**
44
47
  * @hidden
45
48
  */
@@ -61,8 +64,8 @@ export class DialogActionsComponent {
61
64
  return classes.join(' ');
62
65
  }
63
66
  }
64
- DialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogActionsComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
65
- DialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: { actions: "actions", layout: "layout" }, outputs: { action: "action" }, host: { properties: { "class.k-dialog-buttongroup": "this.buttonGroupClassName", "class.k-actions": "this.buttonGroupClassName", "class.k-actions-stretched": "this.className" } }, ngImport: i0, template: `
67
+ DialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogActionsComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
68
+ DialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: { actions: "actions", layout: "layout" }, outputs: { action: "action" }, host: { properties: { "class.k-actions": "this.hostClasses", "class.k-actions-horizontal": "this.hostClasses", "class.k-window-actions": "this.hostClasses", "class.k-dialog-actions": "this.hostClasses", "class.k-actions-stretched": "this.stretchedClassName", "class.k-actions-end": "this.endClassName" } }, ngImport: i0, template: `
66
69
  <ng-content *ngIf="!actions"></ng-content>
67
70
  <ng-container *ngIf="actionsArray; else actionTemplate">
68
71
  <button
@@ -77,7 +80,7 @@ DialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
77
80
  </ng-container>
78
81
  <ng-template #actionTemplate [ngTemplateOutlet]="actionsTemplate"></ng-template>
79
82
  `, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
80
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogActionsComponent, decorators: [{
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogActionsComponent, decorators: [{
81
84
  type: Component,
82
85
  args: [{
83
86
  selector: 'kendo-dialog-actions',
@@ -103,13 +106,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
103
106
  type: Input
104
107
  }], action: [{
105
108
  type: Output
106
- }], buttonGroupClassName: [{
109
+ }], hostClasses: [{
107
110
  type: HostBinding,
108
- args: ['class.k-dialog-buttongroup']
111
+ args: ['class.k-actions']
109
112
  }, {
110
113
  type: HostBinding,
111
- args: ['class.k-actions']
112
- }], className: [{
114
+ args: ['class.k-actions-horizontal']
115
+ }, {
116
+ type: HostBinding,
117
+ args: ['class.k-window-actions']
118
+ }, {
119
+ type: HostBinding,
120
+ args: ['class.k-dialog-actions']
121
+ }], stretchedClassName: [{
113
122
  type: HostBinding,
114
123
  args: ['class.k-actions-stretched']
124
+ }], endClassName: [{
125
+ type: HostBinding,
126
+ args: ['class.k-actions-end']
115
127
  }] } });
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { animations } from "./animations";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { animate, keyframes, style } from '@angular/animations';
@@ -8,7 +8,7 @@ import { animate, keyframes, style } from '@angular/animations';
8
8
  */
9
9
  export function animations(duration, direction, animationType) {
10
10
  switch (animationType) {
11
- case 'slide':
11
+ case 'slide': {
12
12
  const translate = direction === 'left' || direction === 'right' ? 'translateX' : 'translateY';
13
13
  const start = direction === 'right' || direction === 'down' ? -100 : 100;
14
14
  const end = 0;
@@ -16,7 +16,8 @@ export function animations(duration, direction, animationType) {
16
16
  style({ transform: `${translate}(${start}%)` }),
17
17
  animate(`${duration}ms ease-in`, style({ transform: `${translate}(${end}%)` }))
18
18
  ];
19
- case 'expand':
19
+ }
20
+ case 'expand': {
20
21
  const scale = direction === 'up' || direction === 'down' ? 'scaleY' : 'scaleX';
21
22
  const startScale = 0;
22
23
  const endScale = 1;
@@ -37,7 +38,8 @@ export function animations(duration, direction, animationType) {
37
38
  style({ transform: `${scale}(${startScale})`, transformOrigin: origin }),
38
39
  animate(`${duration}ms ease-in`, style({ transform: `${scale}(${endScale})` }))
39
40
  ];
40
- case 'zoom':
41
+ }
42
+ case 'zoom': {
41
43
  const startZoom = 0;
42
44
  const endZoom = 1;
43
45
  return [
@@ -46,7 +48,8 @@ export function animations(duration, direction, animationType) {
46
48
  style({ transform: `scale(${endZoom})` })
47
49
  ]))
48
50
  ];
49
- case 'fade':
51
+ }
52
+ case 'fade': {
50
53
  const startFade = 0;
51
54
  const endFade = 1;
52
55
  return [
@@ -55,6 +58,7 @@ export function animations(duration, direction, animationType) {
55
58
  style({ opacity: `${endFade}` })
56
59
  ]))
57
60
  ];
61
+ }
58
62
  case 'translate':
59
63
  return [
60
64
  style({ transform: 'translate(0, -10%)' }),
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  /**
@@ -1,8 +1,9 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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 { Directive } from '@angular/core';
5
+ import { Directive, ViewContainerRef } from '@angular/core';
6
+ import { DialogContainerService } from './dialog-container.service';
6
7
  import * as i0 from "@angular/core";
7
8
  import * as i1 from "./dialog-container.service";
8
9
  /**
@@ -20,9 +21,9 @@ export class DialogContainerDirective {
20
21
  service.container = container;
21
22
  }
22
23
  }
23
- DialogContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogContainerDirective, deps: [{ token: i0.ViewContainerRef }, { token: i1.DialogContainerService }], target: i0.ɵɵFactoryTarget.Directive });
24
- DialogContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DialogContainerDirective, selector: "[kendoDialogContainer]", ngImport: i0 });
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogContainerDirective, decorators: [{
24
+ DialogContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContainerDirective, deps: [{ token: i0.ViewContainerRef }, { token: i1.DialogContainerService }], target: i0.ɵɵFactoryTarget.Directive });
25
+ DialogContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DialogContainerDirective, selector: "[kendoDialogContainer]", ngImport: i0 });
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContainerDirective, decorators: [{
26
27
  type: Directive,
27
28
  args: [{
28
29
  selector: '[kendoDialogContainer]'
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
5
  import { Injectable } from '@angular/core';
@@ -16,8 +16,8 @@ export class DialogContainerService {
16
16
  }
17
17
  }
18
18
  DialogContainerService.container = null;
19
- DialogContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
20
- DialogContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogContainerService });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogContainerService, decorators: [{
19
+ DialogContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
20
+ DialogContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContainerService });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContainerService, decorators: [{
22
22
  type: Injectable
23
23
  }] });