@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
@@ -1,7 +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 { DialogRef } from './models/dialog-ref';
5
6
  import { DialogActionsComponent } from './dialog-actions.component';
6
7
  import { DialogTitleBarComponent } from './dialog-titlebar.component';
7
8
  import { Directive, ViewChild } from '@angular/core';
@@ -33,9 +34,9 @@ export class DialogContentBase {
33
34
  }
34
35
  }
35
36
  }
36
- DialogContentBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogContentBase, deps: [{ token: i1.DialogRef }], target: i0.ɵɵFactoryTarget.Directive });
37
- DialogContentBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DialogContentBase, viewQueries: [{ propertyName: "dialogTitleBar", first: true, predicate: DialogTitleBarComponent, descendants: true }, { propertyName: "dialogActions", first: true, predicate: DialogActionsComponent, descendants: true }], ngImport: i0 });
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogContentBase, decorators: [{
37
+ DialogContentBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContentBase, deps: [{ token: i1.DialogRef }], target: i0.ɵɵFactoryTarget.Directive });
38
+ DialogContentBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DialogContentBase, viewQueries: [{ propertyName: "dialogTitleBar", first: true, predicate: DialogTitleBarComponent, descendants: true }, { propertyName: "dialogActions", first: true, predicate: DialogActionsComponent, descendants: true }], ngImport: i0 });
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContentBase, decorators: [{
39
40
  type: Directive
40
41
  }], ctorParameters: function () { return [{ type: i1.DialogRef }]; }, propDecorators: { dialogTitleBar: [{
41
42
  type: ViewChild,
@@ -1,15 +1,17 @@
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, Output, Input, Optional } from '@angular/core';
5
+ import { Component, EventEmitter, HostBinding, Output, Input, ElementRef, Optional, NgZone } from '@angular/core';
6
6
  import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
7
7
  import { take } from 'rxjs/operators';
8
8
  import { PreventableEvent } from '../common/preventable-event';
9
9
  import { TitleBarLocalizationService } from '../localization/titlebar-localization.service';
10
+ import { xIcon } from '@progress/kendo-svg-icons';
10
11
  import * as i0 from "@angular/core";
11
12
  import * as i1 from "@progress/kendo-angular-l10n";
12
- import * as i2 from "../localization/localized-messages.directive";
13
+ import * as i2 from "@progress/kendo-angular-buttons";
14
+ import * as i3 from "../localization/localized-messages.directive";
13
15
  /**
14
16
  * Represents the [Kendo UI DialogTitleBar component for Angular]({% slug api_dialog_dialogtitlebarcomponent %}).
15
17
  *
@@ -24,6 +26,10 @@ export class DialogTitleBarComponent {
24
26
  * Fires when the close button of the title-bar is clicked.
25
27
  */
26
28
  this.close = new EventEmitter();
29
+ /**
30
+ * @hidden
31
+ */
32
+ this.xIcon = xIcon;
27
33
  }
28
34
  get className() {
29
35
  return true;
@@ -46,8 +52,8 @@ export class DialogTitleBarComponent {
46
52
  this.close.emit(eventArgs);
47
53
  }
48
54
  }
49
- DialogTitleBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogTitleBarComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i1.LocalizationService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
50
- DialogTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: { id: "id", closeTitle: "closeTitle" }, outputs: { close: "close" }, host: { properties: { "class.k-window-titlebar": "this.className", "class.k-dialog-titlebar": "this.className" } }, providers: [
55
+ DialogTitleBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogTitleBarComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i1.LocalizationService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
56
+ DialogTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: { id: "id", closeTitle: "closeTitle" }, outputs: { close: "close" }, host: { properties: { "class.k-window-titlebar": "this.className", "class.k-dialog-titlebar": "this.className" } }, providers: [
51
57
  TitleBarLocalizationService,
52
58
  {
53
59
  provide: LocalizationService,
@@ -63,24 +69,27 @@ DialogTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
63
69
  i18n-closeTitle="kendo.dialog.closeTitle|The title of the close button"
64
70
  closeTitle="Close"
65
71
  >
66
- <div class="k-window-title k-dialog-title">
72
+ <span class="k-window-title k-dialog-title">
67
73
  <ng-content></ng-content>
68
- </div>
74
+ </span>
69
75
 
70
- <div class="k-window-actions k-dialog-actions">
76
+ <div class="k-window-titlebar-actions k-dialog-titlebar-actions">
71
77
  <button
78
+ kendoButton
79
+ fillMode="flat"
72
80
  role="button"
73
81
  [attr.title]="closeButtonTitle"
74
82
  [attr.aria-label]="closeButtonTitle"
75
- class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-window-action k-dialog-action"
83
+ icon="close"
84
+ [svgIcon]="xIcon"
85
+ class="k-window-titlebar-action k-dialog-titlebar-action"
76
86
  (click)="onCloseClick($event)"
77
87
  >
78
- <span class="k-button-icon k-icon k-i-x"></span>
79
88
  </button>
80
89
  </div>
81
90
  </ng-container>
82
- `, isInline: true, directives: [{ type: i2.LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }] });
83
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogTitleBarComponent, decorators: [{
91
+ `, isInline: true, components: [{ type: i2.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i3.LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }] });
92
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogTitleBarComponent, decorators: [{
84
93
  type: Component,
85
94
  args: [{
86
95
  selector: 'kendo-dialog-titlebar',
@@ -101,19 +110,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
101
110
  i18n-closeTitle="kendo.dialog.closeTitle|The title of the close button"
102
111
  closeTitle="Close"
103
112
  >
104
- <div class="k-window-title k-dialog-title">
113
+ <span class="k-window-title k-dialog-title">
105
114
  <ng-content></ng-content>
106
- </div>
115
+ </span>
107
116
 
108
- <div class="k-window-actions k-dialog-actions">
117
+ <div class="k-window-titlebar-actions k-dialog-titlebar-actions">
109
118
  <button
119
+ kendoButton
120
+ fillMode="flat"
110
121
  role="button"
111
122
  [attr.title]="closeButtonTitle"
112
123
  [attr.aria-label]="closeButtonTitle"
113
- class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-window-action k-dialog-action"
124
+ icon="close"
125
+ [svgIcon]="xIcon"
126
+ class="k-window-titlebar-action k-dialog-titlebar-action"
114
127
  (click)="onCloseClick($event)"
115
128
  >
116
- <span class="k-button-icon k-icon k-i-x"></span>
117
129
  </button>
118
130
  </div>
119
131
  </ng-container>
@@ -1,9 +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 { Component, EventEmitter, HostBinding, Input, ViewChild, Output, ContentChildren, ViewChildren } from '@angular/core';
6
- import { animate, state, style, transition, trigger } from '@angular/animations';
5
+ import { Component, EventEmitter, HostBinding, Input, ViewChild, Output, ElementRef, Renderer2, ChangeDetectorRef, NgZone, ContentChildren, QueryList, ViewChildren } from '@angular/core';
6
+ import { animate, AnimationBuilder, state, style, transition, trigger } from '@angular/animations';
7
7
  import { DialogActionsComponent } from './dialog-actions.component';
8
8
  import { DialogTitleBarComponent } from './dialog-titlebar.component';
9
9
  import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
@@ -15,6 +15,7 @@ import { DIALOG_LOCALIZATION_SERVICE } from './../localization/dialog-localizati
15
15
  import { take } from 'rxjs/operators';
16
16
  import { Subscription } from 'rxjs';
17
17
  import { animateContent } from './dialog-animations/animate-content';
18
+ import { isDocumentAvailable } from '@progress/kendo-angular-common';
18
19
  import * as i0 from "@angular/core";
19
20
  import * as i1 from "@progress/kendo-angular-l10n";
20
21
  import * as i2 from "@angular/animations";
@@ -65,6 +66,7 @@ export class DialogComponent {
65
66
  */
66
67
  this.close = new EventEmitter();
67
68
  this.tabIndex = 0;
69
+ this._themeColor = null;
68
70
  this.subscriptions = [];
69
71
  this.domSubs = new Subscription();
70
72
  validatePackage(packageMetadata);
@@ -73,6 +75,22 @@ export class DialogComponent {
73
75
  this.titleId = this.generateTitleId();
74
76
  this.contentId = this.generateContentId();
75
77
  }
78
+ /**
79
+ * The Dialog allows you to specify predefined theme colors.
80
+ * The theme color will be applied as a background and border color to the titlebar while also amending the text color accordingly.
81
+ *
82
+ * The possible values are:
83
+ * * `primary`
84
+ * * `dark`
85
+ * * `light`
86
+ */
87
+ set themeColor(themeColor) {
88
+ this.handleThemeColorClass(this.themeColor, themeColor);
89
+ this._themeColor = themeColor;
90
+ }
91
+ get themeColor() {
92
+ return this._themeColor;
93
+ }
76
94
  /**
77
95
  * @hidden
78
96
  */
@@ -124,6 +142,9 @@ export class DialogComponent {
124
142
  }
125
143
  }
126
144
  ngAfterViewInit() {
145
+ if (!isDocumentAvailable()) {
146
+ return;
147
+ }
127
148
  this.handleInitialFocus();
128
149
  this.bubble('close', this.titlebarView.first);
129
150
  this.bubble('action', this.actionsView);
@@ -143,6 +164,7 @@ export class DialogComponent {
143
164
  }));
144
165
  }
145
166
  this.initDomEvents();
167
+ this.handleThemeColorClass(null, this.themeColor);
146
168
  }
147
169
  ngOnInit() {
148
170
  if (this.animation) {
@@ -339,9 +361,20 @@ export class DialogComponent {
339
361
  this.subscriptions.push(s);
340
362
  }
341
363
  }
364
+ handleThemeColorClass(previousValue, currentValue) {
365
+ const dialog = this.dialog.nativeElement;
366
+ if (previousValue) {
367
+ const classToRemove = `k-dialog-${previousValue}`;
368
+ this.renderer.removeClass(dialog, classToRemove);
369
+ }
370
+ if (currentValue) {
371
+ const classToAdd = `k-dialog-${currentValue}`;
372
+ this.renderer.addClass(dialog, classToAdd);
373
+ }
374
+ }
342
375
  }
343
- DialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i2.AnimationBuilder }], target: i0.ɵɵFactoryTarget.Component });
344
- DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DialogComponent, selector: "kendo-dialog", inputs: { actions: "actions", actionsLayout: "actionsLayout", autoFocusedElement: "autoFocusedElement", title: "title", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", height: "height", minHeight: "minHeight", maxHeight: "maxHeight", animation: "animation" }, outputs: { action: "action", close: "close" }, host: { properties: { "attr.dir": "this.dir", "attr.tabIndex": "this.tabIndex", "class.k-dialog-wrapper": "this.wrapperClass" } }, providers: [
376
+ DialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i2.AnimationBuilder }], target: i0.ɵɵFactoryTarget.Component });
377
+ DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DialogComponent, selector: "kendo-dialog", inputs: { actions: "actions", actionsLayout: "actionsLayout", autoFocusedElement: "autoFocusedElement", title: "title", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", height: "height", minHeight: "minHeight", maxHeight: "maxHeight", animation: "animation", themeColor: "themeColor" }, outputs: { action: "action", close: "close" }, host: { properties: { "attr.dir": "this.dir", "attr.tabIndex": "this.tabIndex", "class.k-dialog-wrapper": "this.wrapperClass" } }, providers: [
345
378
  LocalizationService,
346
379
  {
347
380
  provide: DIALOG_LOCALIZATION_SERVICE,
@@ -363,7 +396,7 @@ DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
363
396
  <kendo-dialog-titlebar *ngIf="title" [closeTitle]="closeTitle" [id]="titleId">{{ title }}</kendo-dialog-titlebar>
364
397
  <ng-content select="kendo-dialog-titlebar" *ngIf="!title"></ng-content>
365
398
 
366
- <div [id]="contentId" class="k-content k-window-content k-dialog-content">
399
+ <div [id]="contentId" class="k-window-content k-dialog-content">
367
400
  <ng-content *ngIf="!contentTemplate"></ng-content>
368
401
  <ng-template [ngTemplateOutlet]="contentTemplate" *ngIf="contentTemplate"></ng-template>
369
402
  </div>
@@ -378,7 +411,7 @@ DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
378
411
  transition('void => *', [style({ opacity: 0.1 }), animate('.3s cubic-bezier(.2, .6, .4, 1)')])
379
412
  ])
380
413
  ] });
381
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogComponent, decorators: [{
414
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogComponent, decorators: [{
382
415
  type: Component,
383
416
  args: [{
384
417
  animations: [
@@ -412,7 +445,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
412
445
  <kendo-dialog-titlebar *ngIf="title" [closeTitle]="closeTitle" [id]="titleId">{{ title }}</kendo-dialog-titlebar>
413
446
  <ng-content select="kendo-dialog-titlebar" *ngIf="!title"></ng-content>
414
447
 
415
- <div [id]="contentId" class="k-content k-window-content k-dialog-content">
448
+ <div [id]="contentId" class="k-window-content k-dialog-content">
416
449
  <ng-content *ngIf="!contentTemplate"></ng-content>
417
450
  <ng-template [ngTemplateOutlet]="contentTemplate" *ngIf="contentTemplate"></ng-template>
418
451
  </div>
@@ -445,6 +478,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
445
478
  type: Input
446
479
  }], animation: [{
447
480
  type: Input
481
+ }], themeColor: [{
482
+ type: Input
448
483
  }], action: [{
449
484
  type: Output
450
485
  }], close: [{
@@ -1,11 +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
  // eslint-disable max-line-length
6
6
  import { Subject, merge } from 'rxjs';
7
7
  import { take, filter, share, map } from 'rxjs/operators';
8
- import { Injectable, Renderer2, TemplateRef, isDevMode, Inject } from '@angular/core';
8
+ import { Injectable, ComponentFactoryResolver, Renderer2, TemplateRef, isDevMode, Inject } from '@angular/core';
9
9
  import { DialogComponent } from './dialog.component';
10
10
  import { DialogContainerService } from './dialog-container.service';
11
11
  import { DialogRef } from './models/dialog-ref';
@@ -215,9 +215,9 @@ See https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service/.
215
215
  };
216
216
  }
217
217
  }
218
- DialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogService, deps: [{ token: i0.ComponentFactoryResolver }, { token: DialogContainerService }], target: i0.ɵɵFactoryTarget.Injectable });
219
- DialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogService });
220
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogService, decorators: [{
218
+ DialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogService, deps: [{ token: i0.ComponentFactoryResolver }, { token: DialogContainerService }], target: i0.ɵɵFactoryTarget.Injectable });
219
+ DialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogService });
220
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogService, decorators: [{
221
221
  type: Injectable
222
222
  }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i1.DialogContainerService, decorators: [{
223
223
  type: Inject,
@@ -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 {};
@@ -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
  /**
@@ -0,0 +1,5 @@
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
+ 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
  /**
@@ -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,5 @@
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
+ 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
  import { NgModule } from '@angular/core';
@@ -44,12 +44,12 @@ export const DIALOG_DIRECTIVES = [
44
44
  */
45
45
  export class DialogModule {
46
46
  }
47
- DialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
48
- DialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogModule, declarations: [DialogComponent,
47
+ DialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
48
+ DialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogModule, declarations: [DialogComponent,
49
49
  DialogTitleBarComponent, DialogContainerDirective], imports: [SharedModule], exports: [DialogComponent,
50
50
  DialogTitleBarComponent, i1.DialogActionsComponent, i2.CustomMessagesComponent, i3.LocalizedMessagesDirective, DialogContainerDirective] });
51
- DialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogModule, providers: [DialogContainerService, DialogService], imports: [[SharedModule]] });
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogModule, decorators: [{
51
+ DialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogModule, providers: [DialogContainerService, DialogService], imports: [[SharedModule]] });
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogModule, decorators: [{
53
53
  type: NgModule,
54
54
  args: [{
55
55
  declarations: [DIALOG_DIRECTIVES, DialogContainerDirective],
@@ -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 { NgModule } from '@angular/core';
@@ -33,10 +33,10 @@ import * as i0 from "@angular/core";
33
33
  */
34
34
  export class DialogsModule {
35
35
  }
36
- DialogsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
37
- DialogsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogsModule, exports: [DialogModule, WindowModule] });
38
- DialogsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogsModule, imports: [DialogModule, WindowModule] });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogsModule, decorators: [{
36
+ DialogsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
37
+ DialogsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogsModule, exports: [DialogModule, WindowModule] });
38
+ DialogsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogsModule, imports: [DialogModule, WindowModule] });
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogsModule, decorators: [{
40
40
  type: NgModule,
41
41
  args: [{
42
42
  exports: [DialogModule, WindowModule]
@@ -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 { DialogComponent } from './dialog/dialog.component';
@@ -7,6 +7,7 @@ export { DialogTitleBarComponent } from './dialog/dialog-titlebar.component';
7
7
  export { DialogContentBase } from './dialog/dialog-content-base';
8
8
  export { DialogActionsComponent } from './dialog/dialog-actions.component';
9
9
  export { DialogService } from './dialog/dialog.service';
10
+ export { DialogContainerService } from './dialog/dialog-container.service';
10
11
  export { DialogCloseResult, DialogRef, DialogSettings, DialogAction } from './dialog/models/';
11
12
  export { WindowComponent } from './window/window.component';
12
13
  export { WindowTitleBarComponent } from './window/window-titlebar.component';
@@ -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
5
  import { Directive, forwardRef } from '@angular/core';
6
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
6
7
  import { Messages } from './messages';
7
8
  import * as i0 from "@angular/core";
8
9
  import * as i1 from "@progress/kendo-angular-l10n";
@@ -19,14 +20,14 @@ export class CustomMessagesComponent extends Messages {
19
20
  return true;
20
21
  }
21
22
  }
22
- CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
23
- CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: CustomMessagesComponent, selector: "kendo-dialog-messages, kendo-window-messages", providers: [
23
+ CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
24
+ CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CustomMessagesComponent, selector: "kendo-dialog-messages, kendo-window-messages", providers: [
24
25
  {
25
26
  provide: Messages,
26
27
  useExisting: forwardRef(() => CustomMessagesComponent)
27
28
  }
28
29
  ], usesInheritance: true, ngImport: i0 });
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CustomMessagesComponent, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomMessagesComponent, decorators: [{
30
31
  type: Directive,
31
32
  args: [{
32
33
  providers: [
@@ -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 { InjectionToken } from '@angular/core';
@@ -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
5
  import { Directive, forwardRef } from '@angular/core';
6
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
6
7
  import { Messages } from './messages';
7
8
  import * as i0 from "@angular/core";
8
9
  import * as i1 from "@progress/kendo-angular-l10n";
@@ -15,14 +16,14 @@ export class LocalizedMessagesDirective extends Messages {
15
16
  this.service = service;
16
17
  }
17
18
  }
18
- LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
19
- LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n ", providers: [
19
+ LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
+ LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n ", providers: [
20
21
  {
21
22
  provide: Messages,
22
23
  useExisting: forwardRef(() => LocalizedMessagesDirective)
23
24
  }
24
25
  ], usesInheritance: true, ngImport: i0 });
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
26
27
  type: Directive,
27
28
  args: [{
28
29
  providers: [
@@ -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 { Directive, Input } from '@angular/core';
@@ -10,9 +10,9 @@ import * as i0 from "@angular/core";
10
10
  */
11
11
  export class Messages extends ComponentMessages {
12
12
  }
13
- Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
14
- Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", 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: "12.2.16", ngImport: i0, type: Messages, decorators: [{
13
+ Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
14
+ Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", 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: "13.3.11", ngImport: i0, type: Messages, decorators: [{
16
16
  type: Directive,
17
17
  args: [{
18
18
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -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 { LocalizationService, L10N_PREFIX, RTL } from "@progress/kendo-angular-l10n";
5
+ import { LocalizationService, L10N_PREFIX, MessageService, RTL } from "@progress/kendo-angular-l10n";
6
6
  import { Inject, Injectable, Optional } from "@angular/core";
7
7
  import { DIALOG_LOCALIZATION_SERVICE } from './dialog-localization.service';
8
8
  import * as i0 from "@angular/core";
@@ -22,9 +22,9 @@ export class TitleBarLocalizationService extends LocalizationService {
22
22
  return super.get(shortKey);
23
23
  }
24
24
  }
25
- TitleBarLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", 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: "12.2.16", ngImport: i0, type: TitleBarLocalizationService });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TitleBarLocalizationService, decorators: [{
25
+ TitleBarLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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: "13.3.11", ngImport: i0, type: TitleBarLocalizationService });
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TitleBarLocalizationService, decorators: [{
28
28
  type: Injectable
29
29
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
30
30
  type: Inject,
@@ -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
  /**
@@ -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: 1668698060,
12
+ publishDate: 1673510534,
13
13
  version: '',
14
- licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
14
+ licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -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
  * Generated bundle index. Do not edit.
7
7
  */
8
- export * from './main';
8
+ export * from './index';