@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,22 +1,26 @@
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';
6
6
  import { EventEmitter, TemplateRef, Component, Input, Output, HostBinding, InjectionToken, Injectable, Inject, Optional, Directive, forwardRef, ContentChildren, ViewChildren, ViewChild, isDevMode, Renderer2, Host, HostListener, ContentChild, NgModule } from '@angular/core';
7
- import * as i2 from '@angular/animations';
7
+ import * as i2$1 from '@angular/animations';
8
8
  import { style, animate, keyframes, trigger, state, transition } from '@angular/animations';
9
9
  import { of, Subscription, Subject, merge } from 'rxjs';
10
10
  import { delay, takeUntil, take, filter, map, share, tap, switchMap } from 'rxjs/operators';
11
- import * as i6 from '@angular/common';
11
+ import * as i4 from '@angular/common';
12
12
  import { CommonModule } from '@angular/common';
13
13
  import * as i1 from '@progress/kendo-angular-l10n';
14
14
  import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progress/kendo-angular-l10n';
15
+ import { xIcon, windowMinimizeIcon, windowIcon, windowRestoreIcon } from '@progress/kendo-svg-icons';
16
+ import * as i2 from '@progress/kendo-angular-buttons';
17
+ import { Button, ButtonModule } from '@progress/kendo-angular-buttons';
15
18
  import { validatePackage } from '@progress/kendo-licensing';
16
19
  import * as i1$1 from '@progress/kendo-angular-common';
17
- import { DraggableDirective, isChanged, isDocumentAvailable, DraggableModule } from '@progress/kendo-angular-common';
20
+ import { isDocumentAvailable, DraggableDirective, isChanged, DraggableModule } from '@progress/kendo-angular-common';
18
21
  import { offset, scrollPosition, positionWithScroll, getDocumentElement, getWindowViewPort } from '@progress/kendo-popup-common';
19
- import { Button } from '@progress/kendo-angular-buttons';
22
+ import * as i3 from '@progress/kendo-angular-icons';
23
+ import { IconsModule } from '@progress/kendo-angular-icons';
20
24
 
21
25
  /**
22
26
  * @hidden
@@ -47,11 +51,11 @@ var Keys;
47
51
  /**
48
52
  * @hidden
49
53
  */
50
- const DIALOG_ELEMENTS_HANDLING_ESC_KEY = 'k-dialog-wrapper k-dialog-buttongroup k-dialog-action';
54
+ const DIALOG_ELEMENTS_HANDLING_ESC_KEY = 'k-dialog-wrapper k-actions k-dialog-titlebar-action';
51
55
  /**
52
56
  * @hidden
53
57
  */
54
- const DIALOG_ELEMENTS_HANDLING_ARROWS = 'k-dialog-buttongroup';
58
+ const DIALOG_ELEMENTS_HANDLING_ARROWS = 'k-actions';
55
59
  /**
56
60
  * @hidden
57
61
  */
@@ -233,7 +237,7 @@ class DialogActionsComponent {
233
237
  * Fires when the user clicks an action button.
234
238
  */
235
239
  this.action = new EventEmitter();
236
- this.buttonGroupClassName = true;
240
+ this.hostClasses = true;
237
241
  }
238
242
  /**
239
243
  * Allows the declarative specification of the actions.
@@ -249,9 +253,12 @@ class DialogActionsComponent {
249
253
  throw new Error('"actions" must be either TemplateRef or DialogAction[] instance.');
250
254
  }
251
255
  }
252
- get className() {
256
+ get stretchedClassName() {
253
257
  return this.layout === 'stretched';
254
258
  }
259
+ get endClassName() {
260
+ return this.layout === 'end';
261
+ }
255
262
  /**
256
263
  * @hidden
257
264
  */
@@ -273,8 +280,8 @@ class DialogActionsComponent {
273
280
  return classes.join(' ');
274
281
  }
275
282
  }
276
- DialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogActionsComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
277
- 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: `
283
+ DialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogActionsComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
284
+ 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: `
278
285
  <ng-content *ngIf="!actions"></ng-content>
279
286
  <ng-container *ngIf="actionsArray; else actionTemplate">
280
287
  <button
@@ -288,8 +295,8 @@ DialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
288
295
  </button>
289
296
  </ng-container>
290
297
  <ng-template #actionTemplate [ngTemplateOutlet]="actionsTemplate"></ng-template>
291
- `, isInline: true, directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
292
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogActionsComponent, decorators: [{
298
+ `, isInline: true, directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
299
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogActionsComponent, decorators: [{
293
300
  type: Component,
294
301
  args: [{
295
302
  selector: 'kendo-dialog-actions',
@@ -315,15 +322,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
315
322
  type: Input
316
323
  }], action: [{
317
324
  type: Output
318
- }], buttonGroupClassName: [{
325
+ }], hostClasses: [{
319
326
  type: HostBinding,
320
- args: ['class.k-dialog-buttongroup']
327
+ args: ['class.k-actions']
321
328
  }, {
322
329
  type: HostBinding,
323
- args: ['class.k-actions']
324
- }], className: [{
330
+ args: ['class.k-actions-horizontal']
331
+ }, {
332
+ type: HostBinding,
333
+ args: ['class.k-window-actions']
334
+ }, {
335
+ type: HostBinding,
336
+ args: ['class.k-dialog-actions']
337
+ }], stretchedClassName: [{
325
338
  type: HostBinding,
326
339
  args: ['class.k-actions-stretched']
340
+ }], endClassName: [{
341
+ type: HostBinding,
342
+ args: ['class.k-actions-end']
327
343
  }] } });
328
344
 
329
345
  class PreventableEvent {
@@ -370,9 +386,9 @@ class TitleBarLocalizationService extends LocalizationService {
370
386
  return super.get(shortKey);
371
387
  }
372
388
  }
373
- 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 });
374
- TitleBarLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TitleBarLocalizationService });
375
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TitleBarLocalizationService, decorators: [{
389
+ 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 });
390
+ TitleBarLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TitleBarLocalizationService });
391
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TitleBarLocalizationService, decorators: [{
376
392
  type: Injectable
377
393
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
378
394
  type: Inject,
@@ -396,9 +412,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
396
412
  */
397
413
  class Messages extends ComponentMessages {
398
414
  }
399
- Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
400
- 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 });
401
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: Messages, decorators: [{
415
+ Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
416
+ 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 });
417
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, decorators: [{
402
418
  type: Directive,
403
419
  args: [{
404
420
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -423,14 +439,14 @@ class LocalizedMessagesDirective extends Messages {
423
439
  this.service = service;
424
440
  }
425
441
  }
426
- LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
427
- LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n ", providers: [
442
+ LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
443
+ LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n ", providers: [
428
444
  {
429
445
  provide: Messages,
430
446
  useExisting: forwardRef(() => LocalizedMessagesDirective)
431
447
  }
432
448
  ], usesInheritance: true, ngImport: i0 });
433
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
449
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
434
450
  type: Directive,
435
451
  args: [{
436
452
  providers: [
@@ -461,6 +477,10 @@ class DialogTitleBarComponent {
461
477
  * Fires when the close button of the title-bar is clicked.
462
478
  */
463
479
  this.close = new EventEmitter();
480
+ /**
481
+ * @hidden
482
+ */
483
+ this.xIcon = xIcon;
464
484
  }
465
485
  get className() {
466
486
  return true;
@@ -483,8 +503,8 @@ class DialogTitleBarComponent {
483
503
  this.close.emit(eventArgs);
484
504
  }
485
505
  }
486
- 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 });
487
- 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: [
506
+ 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 });
507
+ 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: [
488
508
  TitleBarLocalizationService,
489
509
  {
490
510
  provide: LocalizationService,
@@ -500,24 +520,27 @@ DialogTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
500
520
  i18n-closeTitle="kendo.dialog.closeTitle|The title of the close button"
501
521
  closeTitle="Close"
502
522
  >
503
- <div class="k-window-title k-dialog-title">
523
+ <span class="k-window-title k-dialog-title">
504
524
  <ng-content></ng-content>
505
- </div>
525
+ </span>
506
526
 
507
- <div class="k-window-actions k-dialog-actions">
527
+ <div class="k-window-titlebar-actions k-dialog-titlebar-actions">
508
528
  <button
529
+ kendoButton
530
+ fillMode="flat"
509
531
  role="button"
510
532
  [attr.title]="closeButtonTitle"
511
533
  [attr.aria-label]="closeButtonTitle"
512
- 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"
534
+ icon="close"
535
+ [svgIcon]="xIcon"
536
+ class="k-window-titlebar-action k-dialog-titlebar-action"
513
537
  (click)="onCloseClick($event)"
514
538
  >
515
- <span class="k-button-icon k-icon k-i-x"></span>
516
539
  </button>
517
540
  </div>
518
541
  </ng-container>
519
- `, isInline: true, directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }] });
520
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogTitleBarComponent, decorators: [{
542
+ `, 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: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }] });
543
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogTitleBarComponent, decorators: [{
521
544
  type: Component,
522
545
  args: [{
523
546
  selector: 'kendo-dialog-titlebar',
@@ -538,19 +561,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
538
561
  i18n-closeTitle="kendo.dialog.closeTitle|The title of the close button"
539
562
  closeTitle="Close"
540
563
  >
541
- <div class="k-window-title k-dialog-title">
564
+ <span class="k-window-title k-dialog-title">
542
565
  <ng-content></ng-content>
543
- </div>
566
+ </span>
544
567
 
545
- <div class="k-window-actions k-dialog-actions">
568
+ <div class="k-window-titlebar-actions k-dialog-titlebar-actions">
546
569
  <button
570
+ kendoButton
571
+ fillMode="flat"
547
572
  role="button"
548
573
  [attr.title]="closeButtonTitle"
549
574
  [attr.aria-label]="closeButtonTitle"
550
- 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"
575
+ icon="close"
576
+ [svgIcon]="xIcon"
577
+ class="k-window-titlebar-action k-dialog-titlebar-action"
551
578
  (click)="onCloseClick($event)"
552
579
  >
553
- <span class="k-button-icon k-icon k-i-x"></span>
554
580
  </button>
555
581
  </div>
556
582
  </ng-container>
@@ -579,9 +605,9 @@ const packageMetadata = {
579
605
  name: '@progress/kendo-angular-dialog',
580
606
  productName: 'Kendo UI for Angular',
581
607
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
582
- publishDate: 1668698060,
608
+ publishDate: 1673510534,
583
609
  version: '',
584
- 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'
610
+ licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
585
611
  };
586
612
 
587
613
  /**
@@ -597,7 +623,7 @@ class DialogCloseResult {
597
623
  */
598
624
  function animations(duration, direction, animationType) {
599
625
  switch (animationType) {
600
- case 'slide':
626
+ case 'slide': {
601
627
  const translate = direction === 'left' || direction === 'right' ? 'translateX' : 'translateY';
602
628
  const start = direction === 'right' || direction === 'down' ? -100 : 100;
603
629
  const end = 0;
@@ -605,7 +631,8 @@ function animations(duration, direction, animationType) {
605
631
  style({ transform: `${translate}(${start}%)` }),
606
632
  animate(`${duration}ms ease-in`, style({ transform: `${translate}(${end}%)` }))
607
633
  ];
608
- case 'expand':
634
+ }
635
+ case 'expand': {
609
636
  const scale = direction === 'up' || direction === 'down' ? 'scaleY' : 'scaleX';
610
637
  const startScale = 0;
611
638
  const endScale = 1;
@@ -626,7 +653,8 @@ function animations(duration, direction, animationType) {
626
653
  style({ transform: `${scale}(${startScale})`, transformOrigin: origin }),
627
654
  animate(`${duration}ms ease-in`, style({ transform: `${scale}(${endScale})` }))
628
655
  ];
629
- case 'zoom':
656
+ }
657
+ case 'zoom': {
630
658
  const startZoom = 0;
631
659
  const endZoom = 1;
632
660
  return [
@@ -635,7 +663,8 @@ function animations(duration, direction, animationType) {
635
663
  style({ transform: `scale(${endZoom})` })
636
664
  ]))
637
665
  ];
638
- case 'fade':
666
+ }
667
+ case 'fade': {
639
668
  const startFade = 0;
640
669
  const endFade = 1;
641
670
  return [
@@ -644,6 +673,7 @@ function animations(duration, direction, animationType) {
644
673
  style({ opacity: `${endFade}` })
645
674
  ]))
646
675
  ];
676
+ }
647
677
  case 'translate':
648
678
  return [
649
679
  style({ transform: 'translate(0, -10%)' }),
@@ -729,6 +759,7 @@ class DialogComponent {
729
759
  */
730
760
  this.close = new EventEmitter();
731
761
  this.tabIndex = 0;
762
+ this._themeColor = null;
732
763
  this.subscriptions = [];
733
764
  this.domSubs = new Subscription();
734
765
  validatePackage(packageMetadata);
@@ -737,6 +768,22 @@ class DialogComponent {
737
768
  this.titleId = this.generateTitleId();
738
769
  this.contentId = this.generateContentId();
739
770
  }
771
+ /**
772
+ * The Dialog allows you to specify predefined theme colors.
773
+ * The theme color will be applied as a background and border color to the titlebar while also amending the text color accordingly.
774
+ *
775
+ * The possible values are:
776
+ * * `primary`
777
+ * * `dark`
778
+ * * `light`
779
+ */
780
+ set themeColor(themeColor) {
781
+ this.handleThemeColorClass(this.themeColor, themeColor);
782
+ this._themeColor = themeColor;
783
+ }
784
+ get themeColor() {
785
+ return this._themeColor;
786
+ }
740
787
  /**
741
788
  * @hidden
742
789
  */
@@ -788,6 +835,9 @@ class DialogComponent {
788
835
  }
789
836
  }
790
837
  ngAfterViewInit() {
838
+ if (!isDocumentAvailable()) {
839
+ return;
840
+ }
791
841
  this.handleInitialFocus();
792
842
  this.bubble('close', this.titlebarView.first);
793
843
  this.bubble('action', this.actionsView);
@@ -807,6 +857,7 @@ class DialogComponent {
807
857
  }));
808
858
  }
809
859
  this.initDomEvents();
860
+ this.handleThemeColorClass(null, this.themeColor);
810
861
  }
811
862
  ngOnInit() {
812
863
  if (this.animation) {
@@ -1003,9 +1054,20 @@ class DialogComponent {
1003
1054
  this.subscriptions.push(s);
1004
1055
  }
1005
1056
  }
1057
+ handleThemeColorClass(previousValue, currentValue) {
1058
+ const dialog = this.dialog.nativeElement;
1059
+ if (previousValue) {
1060
+ const classToRemove = `k-dialog-${previousValue}`;
1061
+ this.renderer.removeClass(dialog, classToRemove);
1062
+ }
1063
+ if (currentValue) {
1064
+ const classToAdd = `k-dialog-${currentValue}`;
1065
+ this.renderer.addClass(dialog, classToAdd);
1066
+ }
1067
+ }
1006
1068
  }
1007
- 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 });
1008
- 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: [
1069
+ 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$1.AnimationBuilder }], target: i0.ɵɵFactoryTarget.Component });
1070
+ 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: [
1009
1071
  LocalizationService,
1010
1072
  {
1011
1073
  provide: DIALOG_LOCALIZATION_SERVICE,
@@ -1027,7 +1089,7 @@ DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
1027
1089
  <kendo-dialog-titlebar *ngIf="title" [closeTitle]="closeTitle" [id]="titleId">{{ title }}</kendo-dialog-titlebar>
1028
1090
  <ng-content select="kendo-dialog-titlebar" *ngIf="!title"></ng-content>
1029
1091
 
1030
- <div [id]="contentId" class="k-content k-window-content k-dialog-content">
1092
+ <div [id]="contentId" class="k-window-content k-dialog-content">
1031
1093
  <ng-content *ngIf="!contentTemplate"></ng-content>
1032
1094
  <ng-template [ngTemplateOutlet]="contentTemplate" *ngIf="contentTemplate"></ng-template>
1033
1095
  </div>
@@ -1036,13 +1098,13 @@ DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
1036
1098
  <kendo-dialog-actions *ngIf="actions" [actions]="actions" [layout]="actionsLayout"> </kendo-dialog-actions>
1037
1099
  </div>
1038
1100
  </ng-container>
1039
- `, isInline: true, components: [{ type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { type: i6.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], animations: [
1101
+ `, isInline: true, components: [{ type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], animations: [
1040
1102
  trigger('overlayAppear', [
1041
1103
  state('in', style({ opacity: 1 })),
1042
1104
  transition('void => *', [style({ opacity: 0.1 }), animate('.3s cubic-bezier(.2, .6, .4, 1)')])
1043
1105
  ])
1044
1106
  ] });
1045
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogComponent, decorators: [{
1107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogComponent, decorators: [{
1046
1108
  type: Component,
1047
1109
  args: [{
1048
1110
  animations: [
@@ -1076,7 +1138,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1076
1138
  <kendo-dialog-titlebar *ngIf="title" [closeTitle]="closeTitle" [id]="titleId">{{ title }}</kendo-dialog-titlebar>
1077
1139
  <ng-content select="kendo-dialog-titlebar" *ngIf="!title"></ng-content>
1078
1140
 
1079
- <div [id]="contentId" class="k-content k-window-content k-dialog-content">
1141
+ <div [id]="contentId" class="k-window-content k-dialog-content">
1080
1142
  <ng-content *ngIf="!contentTemplate"></ng-content>
1081
1143
  <ng-template [ngTemplateOutlet]="contentTemplate" *ngIf="contentTemplate"></ng-template>
1082
1144
  </div>
@@ -1087,7 +1149,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1087
1149
  </ng-container>
1088
1150
  `
1089
1151
  }]
1090
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i2.AnimationBuilder }]; }, propDecorators: { actions: [{
1152
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i2$1.AnimationBuilder }]; }, propDecorators: { actions: [{
1091
1153
  type: Input
1092
1154
  }], actionsLayout: [{
1093
1155
  type: Input
@@ -1109,6 +1171,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1109
1171
  type: Input
1110
1172
  }], animation: [{
1111
1173
  type: Input
1174
+ }], themeColor: [{
1175
+ type: Input
1112
1176
  }], action: [{
1113
1177
  type: Output
1114
1178
  }], close: [{
@@ -1169,9 +1233,9 @@ class DialogContentBase {
1169
1233
  }
1170
1234
  }
1171
1235
  }
1172
- DialogContentBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogContentBase, deps: [{ token: DialogRef }], target: i0.ɵɵFactoryTarget.Directive });
1173
- 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 });
1174
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogContentBase, decorators: [{
1236
+ DialogContentBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContentBase, deps: [{ token: DialogRef }], target: i0.ɵɵFactoryTarget.Directive });
1237
+ 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 });
1238
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContentBase, decorators: [{
1175
1239
  type: Directive
1176
1240
  }], ctorParameters: function () { return [{ type: DialogRef }]; }, propDecorators: { dialogTitleBar: [{
1177
1241
  type: ViewChild,
@@ -1193,9 +1257,9 @@ class DialogContainerService {
1193
1257
  }
1194
1258
  }
1195
1259
  DialogContainerService.container = null;
1196
- DialogContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1197
- DialogContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogContainerService });
1198
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogContainerService, decorators: [{
1260
+ DialogContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1261
+ DialogContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContainerService });
1262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContainerService, decorators: [{
1199
1263
  type: Injectable
1200
1264
  }] });
1201
1265
 
@@ -1414,9 +1478,9 @@ See https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service/.
1414
1478
  };
1415
1479
  }
1416
1480
  }
1417
- 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 });
1418
- DialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogService });
1419
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogService, decorators: [{
1481
+ 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 });
1482
+ DialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogService });
1483
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogService, decorators: [{
1420
1484
  type: Injectable
1421
1485
  }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: DialogContainerService, decorators: [{
1422
1486
  type: Inject,
@@ -1483,7 +1547,7 @@ class DragResizeService {
1483
1547
  }
1484
1548
  init(el) {
1485
1549
  const state = this.options.state;
1486
- let options = this.options;
1550
+ const options = this.options;
1487
1551
  this.window = el;
1488
1552
  if (state !== 'default') {
1489
1553
  this.restoreOptions = Object.assign({}, options);
@@ -1549,15 +1613,15 @@ class DragResizeService {
1549
1613
  this.resizeStart.emit(direction);
1550
1614
  resizeStarted = true;
1551
1615
  }
1552
- let deltaX = pageX - originalX;
1553
- let deltaY = pageY - originalY;
1616
+ const deltaX = pageX - originalX;
1617
+ const deltaY = pageY - originalY;
1554
1618
  this.handleResize(startOffsetAndPosition, direction, deltaX, deltaY);
1555
1619
  });
1556
1620
  }));
1557
1621
  }
1558
1622
  handleResize(initial, dir, deltaX, deltaY) {
1559
1623
  const old = this.options;
1560
- let ev = {};
1624
+ const ev = {};
1561
1625
  if (dir.indexOf('e') >= 0) {
1562
1626
  const newWidth = initial.width + deltaX;
1563
1627
  if (newWidth !== old.width && newWidth >= old.minWidth) {
@@ -1683,10 +1747,10 @@ class DragResizeService {
1683
1747
  if (this.options.state === 'maximized') {
1684
1748
  return;
1685
1749
  }
1686
- let scroll = scrollPosition(this.window.nativeElement);
1687
- let wnd = this.windowViewPort;
1688
- let wrapper = offset(this.window.nativeElement);
1689
- let ev = {};
1750
+ const scroll = scrollPosition(this.window.nativeElement);
1751
+ const wnd = this.windowViewPort;
1752
+ const wrapper = offset(this.window.nativeElement);
1753
+ const ev = {};
1690
1754
  if (!isPresent(this.options.left)) {
1691
1755
  this.options.left = scroll.x + Math.max(0, (wnd.width - wrapper.width) / 2);
1692
1756
  ev.left = this.options.left;
@@ -1735,9 +1799,9 @@ class DragResizeService {
1735
1799
  return getWindowViewPort(this.window.nativeElement);
1736
1800
  }
1737
1801
  }
1738
- DragResizeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DragResizeService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
1739
- DragResizeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DragResizeService });
1740
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DragResizeService, decorators: [{
1802
+ DragResizeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragResizeService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
1803
+ DragResizeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragResizeService });
1804
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragResizeService, decorators: [{
1741
1805
  type: Injectable
1742
1806
  }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
1743
1807
 
@@ -1783,9 +1847,9 @@ class ResizeHandleDirective {
1783
1847
  this.renderer.setStyle(this.el.nativeElement, 'display', this.service.options.state === 'default' ? value : 'none');
1784
1848
  }
1785
1849
  }
1786
- ResizeHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ResizeHandleDirective, deps: [{ token: i1$1.DraggableDirective, host: true }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService }], target: i0.ɵɵFactoryTarget.Directive });
1787
- ResizeHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ResizeHandleDirective, selector: "[kendoWindowResizeHandle]", inputs: { direction: "direction" }, host: { properties: { "class.k-resize-handle": "this.hostClass" } }, ngImport: i0 });
1788
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ResizeHandleDirective, decorators: [{
1850
+ ResizeHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeHandleDirective, deps: [{ token: i1$1.DraggableDirective, host: true }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService }], target: i0.ɵɵFactoryTarget.Directive });
1851
+ ResizeHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ResizeHandleDirective, selector: "[kendoWindowResizeHandle]", inputs: { direction: "direction" }, host: { properties: { "class.k-resize-handle": "this.hostClass" } }, ngImport: i0 });
1852
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeHandleDirective, decorators: [{
1789
1853
  type: Directive,
1790
1854
  args: [{
1791
1855
  selector: '[kendoWindowResizeHandle]'
@@ -1895,15 +1959,15 @@ class WindowTitleBarComponent {
1895
1959
  return options.draggable && options.state !== 'maximized';
1896
1960
  }
1897
1961
  }
1898
- WindowTitleBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowTitleBarComponent, deps: [{ token: i0.ElementRef }, { token: DragResizeService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1899
- WindowTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: WindowTitleBarComponent, selector: "kendo-window-titlebar", inputs: { template: "template", id: "id" }, host: { listeners: { "dblclick": "handle($event)" }, properties: { "class.k-window-titlebar": "this.className", "class.k-dialog-titlebar": "this.className", "style.touch-action": "this.touchAction" } }, ngImport: i0, template: `
1962
+ WindowTitleBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowTitleBarComponent, deps: [{ token: i0.ElementRef }, { token: DragResizeService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1963
+ WindowTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WindowTitleBarComponent, selector: "kendo-window-titlebar", inputs: { template: "template", id: "id" }, host: { listeners: { "dblclick": "handle($event)" }, properties: { "class.k-window-titlebar": "this.className", "style.touch-action": "this.touchAction" } }, ngImport: i0, template: `
1900
1964
  <ng-content *ngIf="!template"></ng-content>
1901
1965
  <ng-template
1902
1966
  [ngTemplateOutlet]="template"
1903
1967
  [ngTemplateOutletContext]="{'$implicit': service}" *ngIf="template">
1904
1968
  </ng-template>
1905
- `, isInline: true, directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
1906
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowTitleBarComponent, decorators: [{
1969
+ `, isInline: true, directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
1970
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowTitleBarComponent, decorators: [{
1907
1971
  type: Component,
1908
1972
  args: [{
1909
1973
  selector: 'kendo-window-titlebar',
@@ -1922,9 +1986,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1922
1986
  }], className: [{
1923
1987
  type: HostBinding,
1924
1988
  args: ['class.k-window-titlebar']
1925
- }, {
1926
- type: HostBinding,
1927
- args: ['class.k-dialog-titlebar']
1928
1989
  }], touchAction: [{
1929
1990
  type: HostBinding,
1930
1991
  args: ['style.touch-action']
@@ -1980,13 +2041,13 @@ class NavigationService {
1980
2041
  this.window.closeAction();
1981
2042
  }
1982
2043
  handleDrag(key) {
1983
- let options = this.window.options;
2044
+ const options = this.window.options;
1984
2045
  if (!options.draggable) {
1985
2046
  return;
1986
2047
  }
1987
2048
  const offset = this.window.currentOffsetAndPosition();
1988
- let restoreOptions = this.window.restoreOptions;
1989
- let ev = {};
2049
+ const restoreOptions = this.window.restoreOptions;
2050
+ const ev = {};
1990
2051
  let delta = 10;
1991
2052
  if (key === Keys.left || key === Keys.up) {
1992
2053
  delta *= -1;
@@ -2021,7 +2082,7 @@ class NavigationService {
2021
2082
  const offset = this.window.currentOffsetAndPosition();
2022
2083
  let newWidth;
2023
2084
  let newHeight;
2024
- let ev = {};
2085
+ const ev = {};
2025
2086
  let delta = 10;
2026
2087
  if (key === Keys.left || key === Keys.up) {
2027
2088
  delta *= -1;
@@ -2071,9 +2132,9 @@ class NavigationService {
2071
2132
  }
2072
2133
  }
2073
2134
  }
2074
- NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NavigationService, deps: [{ token: DragResizeService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
2075
- NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NavigationService });
2076
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NavigationService, decorators: [{
2135
+ NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, deps: [{ token: DragResizeService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
2136
+ NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService });
2137
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, decorators: [{
2077
2138
  type: Injectable
2078
2139
  }], ctorParameters: function () { return [{ type: DragResizeService }, { type: i0.NgZone }]; } });
2079
2140
 
@@ -2082,6 +2143,10 @@ class WindowMinimizeActionDirective extends Button {
2082
2143
  super(el, renderer, null, localization, ngZone);
2083
2144
  this.buttonType = 'button';
2084
2145
  this.buttonClass = true;
2146
+ /**
2147
+ * @hidden
2148
+ */
2149
+ this.windowMinimizeIcon = windowMinimizeIcon;
2085
2150
  this.window = _service;
2086
2151
  this.fillMode = 'flat';
2087
2152
  this.icon = 'window-minimize';
@@ -2098,16 +2163,28 @@ class WindowMinimizeActionDirective extends Button {
2098
2163
  return this.window.options.state === 'default' ? 'inline-flex' : 'none';
2099
2164
  }
2100
2165
  }
2101
- WindowMinimizeActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowMinimizeActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService, optional: true }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
2102
- WindowMinimizeActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: WindowMinimizeActionDirective, selector: "button[kendoWindowMinimizeAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
2166
+ WindowMinimizeActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowMinimizeActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService, optional: true }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2167
+ WindowMinimizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WindowMinimizeActionDirective, selector: "button[kendoWindowMinimizeAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
2103
2168
  LocalizationService,
2104
2169
  {
2105
2170
  provide: L10N_PREFIX,
2106
2171
  useValue: 'kendo.button'
2107
2172
  }
2108
- ], exportAs: ["kendoWindowMinimizeAction"], usesInheritance: true, ngImport: i0 });
2109
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowMinimizeActionDirective, decorators: [{
2110
- type: Directive,
2173
+ ], exportAs: ["kendoWindowMinimizeAction"], usesInheritance: true, ngImport: i0, template: `
2174
+ <kendo-icon-wrapper
2175
+ *ngIf="!imageUrl && !iconClass"
2176
+ innerCssClass="k-button-icon"
2177
+ name="window-minimize"
2178
+ [svgIcon]="windowMinimizeIcon">
2179
+ </kendo-icon-wrapper>
2180
+ <span *ngIf="imageUrl" class="k-button-icon k-icon">
2181
+ <img [src]="imageUrl" class="k-image" role="presentation" />
2182
+ </span>
2183
+ <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
2184
+ <span class="k-button-text"><ng-content></ng-content></span>
2185
+ `, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
2186
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowMinimizeActionDirective, decorators: [{
2187
+ type: Component,
2111
2188
  args: [{
2112
2189
  exportAs: 'kendoWindowMinimizeAction',
2113
2190
  providers: [
@@ -2117,7 +2194,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2117
2194
  useValue: 'kendo.button'
2118
2195
  }
2119
2196
  ],
2120
- selector: 'button[kendoWindowMinimizeAction]' // eslint-disable-line
2197
+ selector: 'button[kendoWindowMinimizeAction]',
2198
+ template: `
2199
+ <kendo-icon-wrapper
2200
+ *ngIf="!imageUrl && !iconClass"
2201
+ innerCssClass="k-button-icon"
2202
+ name="window-minimize"
2203
+ [svgIcon]="windowMinimizeIcon">
2204
+ </kendo-icon-wrapper>
2205
+ <span *ngIf="imageUrl" class="k-button-icon k-icon">
2206
+ <img [src]="imageUrl" class="k-image" role="presentation" />
2207
+ </span>
2208
+ <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
2209
+ <span class="k-button-text"><ng-content></ng-content></span>
2210
+ `
2121
2211
  }]
2122
2212
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DragResizeService, decorators: [{
2123
2213
  type: Optional
@@ -2128,7 +2218,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2128
2218
  args: ['attr.type']
2129
2219
  }], buttonClass: [{
2130
2220
  type: HostBinding,
2131
- args: ['class.k-window-action']
2221
+ args: ['class.k-window-titlebar-action']
2132
2222
  }], onClick: [{
2133
2223
  type: HostListener,
2134
2224
  args: ['click']
@@ -2142,6 +2232,10 @@ class WindowMaximizeActionDirective extends Button {
2142
2232
  super(el, renderer, null, localization, ngZone);
2143
2233
  this.buttonType = 'button';
2144
2234
  this.buttonClass = true;
2235
+ /**
2236
+ * @hidden
2237
+ */
2238
+ this.windowIcon = windowIcon;
2145
2239
  this.window = _service;
2146
2240
  this.fillMode = 'flat';
2147
2241
  this.icon = 'window';
@@ -2158,16 +2252,28 @@ class WindowMaximizeActionDirective extends Button {
2158
2252
  return this.window.options.state === 'default' ? 'inline-flex' : 'none';
2159
2253
  }
2160
2254
  }
2161
- WindowMaximizeActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowMaximizeActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService, optional: true }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
2162
- WindowMaximizeActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: WindowMaximizeActionDirective, selector: "button[kendoWindowMaximizeAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
2255
+ WindowMaximizeActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowMaximizeActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService, optional: true }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2256
+ WindowMaximizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WindowMaximizeActionDirective, selector: "button[kendoWindowMaximizeAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
2163
2257
  LocalizationService,
2164
2258
  {
2165
2259
  provide: L10N_PREFIX,
2166
2260
  useValue: 'kendo.button'
2167
2261
  }
2168
- ], exportAs: ["kendoWindowMaximizeAction"], usesInheritance: true, ngImport: i0 });
2169
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowMaximizeActionDirective, decorators: [{
2170
- type: Directive,
2262
+ ], exportAs: ["kendoWindowMaximizeAction"], usesInheritance: true, ngImport: i0, template: `
2263
+ <kendo-icon-wrapper
2264
+ *ngIf="!imageUrl && !iconClass"
2265
+ innerCssClass="k-button-icon"
2266
+ name="window"
2267
+ [svgIcon]="windowIcon">
2268
+ </kendo-icon-wrapper>
2269
+ <span *ngIf="imageUrl" class="k-button-icon k-icon">
2270
+ <img [src]="imageUrl" class="k-image" role="presentation" />
2271
+ </span>
2272
+ <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
2273
+ <span class="k-button-text"><ng-content></ng-content></span>
2274
+ `, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
2275
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowMaximizeActionDirective, decorators: [{
2276
+ type: Component,
2171
2277
  args: [{
2172
2278
  exportAs: 'kendoWindowMaximizeAction',
2173
2279
  providers: [
@@ -2177,7 +2283,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2177
2283
  useValue: 'kendo.button'
2178
2284
  }
2179
2285
  ],
2180
- selector: 'button[kendoWindowMaximizeAction]' // eslint-disable-line
2286
+ selector: 'button[kendoWindowMaximizeAction]',
2287
+ template: `
2288
+ <kendo-icon-wrapper
2289
+ *ngIf="!imageUrl && !iconClass"
2290
+ innerCssClass="k-button-icon"
2291
+ name="window"
2292
+ [svgIcon]="windowIcon">
2293
+ </kendo-icon-wrapper>
2294
+ <span *ngIf="imageUrl" class="k-button-icon k-icon">
2295
+ <img [src]="imageUrl" class="k-image" role="presentation" />
2296
+ </span>
2297
+ <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
2298
+ <span class="k-button-text"><ng-content></ng-content></span>
2299
+ `
2181
2300
  }]
2182
2301
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DragResizeService, decorators: [{
2183
2302
  type: Optional
@@ -2188,7 +2307,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2188
2307
  args: ['attr.type']
2189
2308
  }], buttonClass: [{
2190
2309
  type: HostBinding,
2191
- args: ['class.k-window-action']
2310
+ args: ['class.k-window-titlebar-action']
2192
2311
  }], onClick: [{
2193
2312
  type: HostListener,
2194
2313
  args: ['click']
@@ -2200,6 +2319,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2200
2319
  class WindowRestoreActionDirective extends Button {
2201
2320
  constructor(el, renderer, _service, localization, ngZone) {
2202
2321
  super(el, renderer, null, localization, ngZone);
2322
+ /**
2323
+ * @hidden
2324
+ */
2325
+ this.windowRestoreIcon = windowRestoreIcon;
2203
2326
  this.buttonType = 'button';
2204
2327
  this.buttonClass = true;
2205
2328
  this.window = _service;
@@ -2218,16 +2341,28 @@ class WindowRestoreActionDirective extends Button {
2218
2341
  return this.window.options.state === 'default' ? 'none' : 'inline-flex';
2219
2342
  }
2220
2343
  }
2221
- WindowRestoreActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowRestoreActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService, optional: true }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
2222
- WindowRestoreActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: WindowRestoreActionDirective, selector: "button[kendoWindowRestoreAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
2344
+ WindowRestoreActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowRestoreActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService, optional: true }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2345
+ WindowRestoreActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WindowRestoreActionDirective, selector: "button[kendoWindowRestoreAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
2223
2346
  LocalizationService,
2224
2347
  {
2225
2348
  provide: L10N_PREFIX,
2226
2349
  useValue: 'kendo.button'
2227
2350
  }
2228
- ], exportAs: ["kendoWindowRestoreAction"], usesInheritance: true, ngImport: i0 });
2229
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowRestoreActionDirective, decorators: [{
2230
- type: Directive,
2351
+ ], exportAs: ["kendoWindowRestoreAction"], usesInheritance: true, ngImport: i0, template: `
2352
+ <kendo-icon-wrapper
2353
+ *ngIf="!imageUrl && !iconClass"
2354
+ innerCssClass="k-button-icon"
2355
+ name="window-restore"
2356
+ [svgIcon]="windowRestoreIcon">
2357
+ </kendo-icon-wrapper>
2358
+ <span *ngIf="imageUrl" class="k-button-icon k-icon">
2359
+ <img [src]="imageUrl" class="k-image" role="presentation" />
2360
+ </span>
2361
+ <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
2362
+ <span class="k-button-text"><ng-content></ng-content></span>
2363
+ `, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
2364
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowRestoreActionDirective, decorators: [{
2365
+ type: Component,
2231
2366
  args: [{
2232
2367
  exportAs: 'kendoWindowRestoreAction',
2233
2368
  providers: [
@@ -2237,7 +2372,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2237
2372
  useValue: 'kendo.button'
2238
2373
  }
2239
2374
  ],
2240
- selector: 'button[kendoWindowRestoreAction]' // eslint-disable-line
2375
+ selector: 'button[kendoWindowRestoreAction]',
2376
+ template: `
2377
+ <kendo-icon-wrapper
2378
+ *ngIf="!imageUrl && !iconClass"
2379
+ innerCssClass="k-button-icon"
2380
+ name="window-restore"
2381
+ [svgIcon]="windowRestoreIcon">
2382
+ </kendo-icon-wrapper>
2383
+ <span *ngIf="imageUrl" class="k-button-icon k-icon">
2384
+ <img [src]="imageUrl" class="k-image" role="presentation" />
2385
+ </span>
2386
+ <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
2387
+ <span class="k-button-text"><ng-content></ng-content></span>
2388
+ `
2241
2389
  }]
2242
2390
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DragResizeService, decorators: [{
2243
2391
  type: Optional
@@ -2248,7 +2396,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2248
2396
  args: ['attr.type']
2249
2397
  }], buttonClass: [{
2250
2398
  type: HostBinding,
2251
- args: ['class.k-window-action']
2399
+ args: ['class.k-window-titlebar-action']
2252
2400
  }], onClick: [{
2253
2401
  type: HostListener,
2254
2402
  args: ['click']
@@ -2260,6 +2408,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2260
2408
  class WindowCloseActionDirective extends Button {
2261
2409
  constructor(el, renderer, _service, localization, ngZone) {
2262
2410
  super(el, renderer, null, localization, ngZone);
2411
+ /**
2412
+ * @hidden
2413
+ */
2414
+ this.xIcon = xIcon;
2263
2415
  this.buttonType = 'button';
2264
2416
  this.buttonClass = true;
2265
2417
  this.window = _service;
@@ -2275,16 +2427,28 @@ class WindowCloseActionDirective extends Button {
2275
2427
  }
2276
2428
  }
2277
2429
  }
2278
- WindowCloseActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowCloseActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService, optional: true }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
2279
- WindowCloseActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: WindowCloseActionDirective, selector: "button[kendoWindowCloseAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-action": "this.buttonClass" } }, providers: [
2430
+ WindowCloseActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowCloseActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService, optional: true }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2431
+ WindowCloseActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WindowCloseActionDirective, selector: "button[kendoWindowCloseAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass" } }, providers: [
2280
2432
  LocalizationService,
2281
2433
  {
2282
2434
  provide: L10N_PREFIX,
2283
2435
  useValue: 'kendo.button'
2284
2436
  }
2285
- ], exportAs: ["kendoWindowCloseAction"], usesInheritance: true, ngImport: i0 });
2286
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowCloseActionDirective, decorators: [{
2287
- type: Directive,
2437
+ ], exportAs: ["kendoWindowCloseAction"], usesInheritance: true, ngImport: i0, template: `
2438
+ <kendo-icon-wrapper
2439
+ *ngIf="!imageUrl && !iconClass"
2440
+ innerCssClass="k-button-icon"
2441
+ name="close"
2442
+ [svgIcon]="xIcon">
2443
+ </kendo-icon-wrapper>
2444
+ <span *ngIf="imageUrl" class="k-button-icon k-icon">
2445
+ <img [src]="imageUrl" class="k-image" role="presentation" />
2446
+ </span>
2447
+ <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
2448
+ <span class="k-button-text"><ng-content></ng-content></span>
2449
+ `, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
2450
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowCloseActionDirective, decorators: [{
2451
+ type: Component,
2288
2452
  args: [{
2289
2453
  exportAs: 'kendoWindowCloseAction',
2290
2454
  providers: [
@@ -2294,7 +2458,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2294
2458
  useValue: 'kendo.button'
2295
2459
  }
2296
2460
  ],
2297
- selector: 'button[kendoWindowCloseAction]' // eslint-disable-line
2461
+ selector: 'button[kendoWindowCloseAction]',
2462
+ template: `
2463
+ <kendo-icon-wrapper
2464
+ *ngIf="!imageUrl && !iconClass"
2465
+ innerCssClass="k-button-icon"
2466
+ name="close"
2467
+ [svgIcon]="xIcon">
2468
+ </kendo-icon-wrapper>
2469
+ <span *ngIf="imageUrl" class="k-button-icon k-icon">
2470
+ <img [src]="imageUrl" class="k-image" role="presentation" />
2471
+ </span>
2472
+ <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
2473
+ <span class="k-button-text"><ng-content></ng-content></span>
2474
+ `
2298
2475
  }]
2299
2476
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DragResizeService, decorators: [{
2300
2477
  type: Optional
@@ -2305,7 +2482,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2305
2482
  args: ['attr.type']
2306
2483
  }], buttonClass: [{
2307
2484
  type: HostBinding,
2308
- args: ['class.k-window-action']
2485
+ args: ['class.k-window-titlebar-action']
2309
2486
  }], onClick: [{
2310
2487
  type: HostListener,
2311
2488
  args: ['click']
@@ -2378,10 +2555,12 @@ class WindowComponent {
2378
2555
  this.messages = {};
2379
2556
  this.tabIndex = 0;
2380
2557
  this.role = 'dialog';
2558
+ this.hostClass = true;
2381
2559
  /**
2382
2560
  * @hidden
2383
2561
  */
2384
2562
  this.titleId = null;
2563
+ this._themeColor = null;
2385
2564
  this.draged = false;
2386
2565
  this.resized = false;
2387
2566
  this.windowSubscription = new Subscription();
@@ -2414,6 +2593,22 @@ class WindowComponent {
2414
2593
  get resizable() {
2415
2594
  return this.options.resizable;
2416
2595
  }
2596
+ /**
2597
+ * The Window allows you to specify predefined theme colors.
2598
+ * The theme color will be applied as a background and border color to the titlebar while also amending the text color accordingly.
2599
+ *
2600
+ * The possible values are:
2601
+ * * `primary`
2602
+ * * `dark`
2603
+ * * `light`
2604
+ */
2605
+ set themeColor(themeColor) {
2606
+ this.handleThemeColorClass(this.themeColor, themeColor);
2607
+ this._themeColor = themeColor;
2608
+ }
2609
+ get themeColor() {
2610
+ return this._themeColor;
2611
+ }
2417
2612
  /**
2418
2613
  * @hidden
2419
2614
  */
@@ -2544,13 +2739,13 @@ class WindowComponent {
2544
2739
  }
2545
2740
  return this.localization.get('minimizeTitle');
2546
2741
  }
2547
- get hostClasses() {
2548
- return true;
2549
- }
2550
2742
  get dir() {
2551
2743
  return this.direction;
2552
2744
  }
2553
2745
  ngAfterViewInit() {
2746
+ if (!isDocumentAvailable()) {
2747
+ return;
2748
+ }
2554
2749
  this.setNextZIndex();
2555
2750
  this.handleInitialFocus();
2556
2751
  this.ngZone.runOutsideAngular(() => Promise.resolve(null).then(() => this.setInitialOffset()));
@@ -2558,6 +2753,7 @@ class WindowComponent {
2558
2753
  if (this.titleBarView || this.titleBarContent) {
2559
2754
  this.renderer.setAttribute(this.el.nativeElement, 'aria-labelledby', this.titleId);
2560
2755
  }
2756
+ this.handleThemeColorClass(null, this.themeColor);
2561
2757
  }
2562
2758
  ngOnInit() {
2563
2759
  this.renderer.removeAttribute(this.el.nativeElement, 'title');
@@ -2571,7 +2767,7 @@ class WindowComponent {
2571
2767
  });
2572
2768
  if (isChanged('draggable', changes)) {
2573
2769
  const titleBar = isPresent(this.titleBarContent) ? this.titleBarContent : this.titleBarView;
2574
- if (isTruthy(changes.draggable.currentValue)) {
2770
+ if (isTruthy(changes['draggable'].currentValue)) {
2575
2771
  titleBar.subscribeDrag();
2576
2772
  }
2577
2773
  else {
@@ -2824,9 +3020,20 @@ class WindowComponent {
2824
3020
  generateTitleId() {
2825
3021
  return 'kendo-window-title-' + Math.ceil(Math.random() * 1000000).toString();
2826
3022
  }
3023
+ handleThemeColorClass(previousValue, currentValue) {
3024
+ const wrapper = this.el.nativeElement;
3025
+ if (previousValue) {
3026
+ const classToRemove = `k-window-${previousValue}`;
3027
+ this.renderer.removeClass(wrapper, classToRemove);
3028
+ }
3029
+ if (currentValue) {
3030
+ const classToAdd = `k-window-${currentValue}`;
3031
+ this.renderer.addClass(wrapper, classToAdd);
3032
+ }
3033
+ }
2827
3034
  }
2828
- WindowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService }, { token: NavigationService }, { token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
2829
- WindowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: WindowComponent, selector: "kendo-window", inputs: { autoFocusedElement: "autoFocusedElement", title: "title", draggable: "draggable", resizable: "resizable", keepContent: "keepContent", state: "state", minWidth: "minWidth", minHeight: "minHeight", width: "width", height: "height", top: "top", left: "left" }, outputs: { dragStart: "dragStart", dragEnd: "dragEnd", resizeStart: "resizeStart", resizeEnd: "resizeEnd", close: "close", widthChange: "widthChange", heightChange: "heightChange", topChange: "topChange", leftChange: "leftChange", stateChange: "stateChange" }, host: { listeners: { "focus": "onComponentFocus()", "blur": "onComponentBlur()" }, properties: { "attr.tabIndex": "this.tabIndex", "attr.role": "this.role", "class.k-window": "this.hostClasses", "attr.dir": "this.dir", "style.minWidth": "this.styleMinWidth", "style.minHeight": "this.styleMinHeight", "style.position": "this.stylePosition", "class.k-window-maximized": "this.wrapperMaximizedClass", "class.k-window-minimized": "this.wrapperMinimizedClass" } }, providers: [
3035
+ WindowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService }, { token: NavigationService }, { token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
3036
+ WindowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WindowComponent, selector: "kendo-window", inputs: { autoFocusedElement: "autoFocusedElement", title: "title", draggable: "draggable", resizable: "resizable", themeColor: "themeColor", keepContent: "keepContent", state: "state", minWidth: "minWidth", minHeight: "minHeight", width: "width", height: "height", top: "top", left: "left" }, outputs: { dragStart: "dragStart", dragEnd: "dragEnd", resizeStart: "resizeStart", resizeEnd: "resizeEnd", close: "close", widthChange: "widthChange", heightChange: "heightChange", topChange: "topChange", leftChange: "leftChange", stateChange: "stateChange" }, host: { listeners: { "focus": "onComponentFocus()", "blur": "onComponentBlur()" }, properties: { "attr.tabIndex": "this.tabIndex", "attr.role": "this.role", "class.k-window": "this.hostClass", "attr.dir": "this.dir", "style.minWidth": "this.styleMinWidth", "style.minHeight": "this.styleMinHeight", "style.position": "this.stylePosition", "class.k-window-maximized": "this.wrapperMaximizedClass", "class.k-window-minimized": "this.wrapperMinimizedClass" } }, providers: [
2830
3037
  DragResizeService,
2831
3038
  NavigationService,
2832
3039
  LocalizationService,
@@ -2851,8 +3058,8 @@ WindowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
2851
3058
  <ng-container>
2852
3059
 
2853
3060
  <kendo-window-titlebar *ngIf="showDefaultTitleBar" [template]="titleBarTemplate" [id]="titleId">
2854
- <div class="k-window-title">{{ title }}</div>
2855
- <div class="k-window-actions">
3061
+ <span class="k-window-title">{{ title }}</span>
3062
+ <div class="k-window-titlebar-actions">
2856
3063
  <button kendoWindowMinimizeAction [attr.title]="minimizeButtonTitle" [attr.aria-label]="minimizeButtonTitle"></button>
2857
3064
  <button kendoWindowMaximizeAction [attr.title]="maximizeButtonTitle" [attr.aria-label]="maximizeButtonTitle"></button>
2858
3065
  <button kendoWindowRestoreAction [attr.title]="restoreButtonTitle" [attr.aria-label]="restoreButtonTitle"></button>
@@ -2863,7 +3070,7 @@ WindowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
2863
3070
 
2864
3071
  <div *ngIf="state !== 'minimized' || keepContent"
2865
3072
  [hidden]="state === 'minimized' && keepContent"
2866
- class="k-content k-window-content"
3073
+ class="k-window-content"
2867
3074
  >
2868
3075
  <ng-content *ngIf="!contentTemplate"></ng-content>
2869
3076
  <ng-template [ngTemplateOutlet]="contentTemplate" *ngIf="contentTemplate"></ng-template>
@@ -2876,8 +3083,8 @@ WindowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
2876
3083
  kendoDraggable>
2877
3084
  </div>
2878
3085
  </ng-template>
2879
- `, isInline: true, components: [{ type: WindowTitleBarComponent, selector: "kendo-window-titlebar", inputs: ["template", "id"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: WindowMinimizeActionDirective, selector: "button[kendoWindowMinimizeAction]", inputs: ["window"], exportAs: ["kendoWindowMinimizeAction"] }, { type: WindowMaximizeActionDirective, selector: "button[kendoWindowMaximizeAction]", inputs: ["window"], exportAs: ["kendoWindowMaximizeAction"] }, { type: WindowRestoreActionDirective, selector: "button[kendoWindowRestoreAction]", inputs: ["window"], exportAs: ["kendoWindowRestoreAction"] }, { type: WindowCloseActionDirective, selector: "button[kendoWindowCloseAction]", inputs: ["window"], exportAs: ["kendoWindowCloseAction"] }, { type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ResizeHandleDirective, selector: "[kendoWindowResizeHandle]", inputs: ["direction"] }, { type: i1$1.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }] });
2880
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowComponent, decorators: [{
3086
+ `, isInline: true, components: [{ type: WindowTitleBarComponent, selector: "kendo-window-titlebar", inputs: ["template", "id"] }, { type: WindowMinimizeActionDirective, selector: "button[kendoWindowMinimizeAction]", inputs: ["window"], exportAs: ["kendoWindowMinimizeAction"] }, { type: WindowMaximizeActionDirective, selector: "button[kendoWindowMaximizeAction]", inputs: ["window"], exportAs: ["kendoWindowMaximizeAction"] }, { type: WindowRestoreActionDirective, selector: "button[kendoWindowRestoreAction]", inputs: ["window"], exportAs: ["kendoWindowRestoreAction"] }, { type: WindowCloseActionDirective, selector: "button[kendoWindowCloseAction]", inputs: ["window"], exportAs: ["kendoWindowCloseAction"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ResizeHandleDirective, selector: "[kendoWindowResizeHandle]", inputs: ["direction"] }, { type: i1$1.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }] });
3087
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowComponent, decorators: [{
2881
3088
  type: Component,
2882
3089
  args: [{
2883
3090
  exportAs: 'kendoWindow',
@@ -2908,8 +3115,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2908
3115
  <ng-container>
2909
3116
 
2910
3117
  <kendo-window-titlebar *ngIf="showDefaultTitleBar" [template]="titleBarTemplate" [id]="titleId">
2911
- <div class="k-window-title">{{ title }}</div>
2912
- <div class="k-window-actions">
3118
+ <span class="k-window-title">{{ title }}</span>
3119
+ <div class="k-window-titlebar-actions">
2913
3120
  <button kendoWindowMinimizeAction [attr.title]="minimizeButtonTitle" [attr.aria-label]="minimizeButtonTitle"></button>
2914
3121
  <button kendoWindowMaximizeAction [attr.title]="maximizeButtonTitle" [attr.aria-label]="maximizeButtonTitle"></button>
2915
3122
  <button kendoWindowRestoreAction [attr.title]="restoreButtonTitle" [attr.aria-label]="restoreButtonTitle"></button>
@@ -2920,7 +3127,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2920
3127
 
2921
3128
  <div *ngIf="state !== 'minimized' || keepContent"
2922
3129
  [hidden]="state === 'minimized' && keepContent"
2923
- class="k-content k-window-content"
3130
+ class="k-window-content"
2924
3131
  >
2925
3132
  <ng-content *ngIf="!contentTemplate"></ng-content>
2926
3133
  <ng-template [ngTemplateOutlet]="contentTemplate" *ngIf="contentTemplate"></ng-template>
@@ -2943,6 +3150,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2943
3150
  type: Input
2944
3151
  }], resizable: [{
2945
3152
  type: Input
3153
+ }], themeColor: [{
3154
+ type: Input
2946
3155
  }], keepContent: [{
2947
3156
  type: Input
2948
3157
  }], state: [{
@@ -2985,7 +3194,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2985
3194
  }], role: [{
2986
3195
  type: HostBinding,
2987
3196
  args: ['attr.role']
2988
- }], hostClasses: [{
3197
+ }], hostClass: [{
2989
3198
  type: HostBinding,
2990
3199
  args: ['class.k-window']
2991
3200
  }], dir: [{
@@ -3056,9 +3265,9 @@ class WindowContainerService {
3056
3265
  }
3057
3266
  }
3058
3267
  WindowContainerService.container = null;
3059
- WindowContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3060
- WindowContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowContainerService });
3061
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowContainerService, decorators: [{
3268
+ WindowContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3269
+ WindowContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowContainerService });
3270
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowContainerService, decorators: [{
3062
3271
  type: Injectable
3063
3272
  }] });
3064
3273
 
@@ -3256,9 +3465,9 @@ class WindowService {
3256
3465
  };
3257
3466
  }
3258
3467
  }
3259
- WindowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowService, deps: [{ token: i0.ComponentFactoryResolver }, { token: WindowContainerService }], target: i0.ɵɵFactoryTarget.Injectable });
3260
- WindowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowService });
3261
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowService, decorators: [{
3468
+ WindowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowService, deps: [{ token: i0.ComponentFactoryResolver }, { token: WindowContainerService }], target: i0.ɵɵFactoryTarget.Injectable });
3469
+ WindowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowService });
3470
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowService, decorators: [{
3262
3471
  type: Injectable
3263
3472
  }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: WindowContainerService, decorators: [{
3264
3473
  type: Inject,
@@ -3280,9 +3489,9 @@ class DialogContainerDirective {
3280
3489
  service.container = container;
3281
3490
  }
3282
3491
  }
3283
- DialogContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogContainerDirective, deps: [{ token: i0.ViewContainerRef }, { token: DialogContainerService }], target: i0.ɵɵFactoryTarget.Directive });
3284
- DialogContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DialogContainerDirective, selector: "[kendoDialogContainer]", ngImport: i0 });
3285
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogContainerDirective, decorators: [{
3492
+ DialogContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContainerDirective, deps: [{ token: i0.ViewContainerRef }, { token: DialogContainerService }], target: i0.ɵɵFactoryTarget.Directive });
3493
+ DialogContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DialogContainerDirective, selector: "[kendoDialogContainer]", ngImport: i0 });
3494
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContainerDirective, decorators: [{
3286
3495
  type: Directive,
3287
3496
  args: [{
3288
3497
  selector: '[kendoDialogContainer]'
@@ -3302,14 +3511,14 @@ class CustomMessagesComponent extends Messages {
3302
3511
  return true;
3303
3512
  }
3304
3513
  }
3305
- CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
3306
- CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: CustomMessagesComponent, selector: "kendo-dialog-messages, kendo-window-messages", providers: [
3514
+ CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
3515
+ CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CustomMessagesComponent, selector: "kendo-dialog-messages, kendo-window-messages", providers: [
3307
3516
  {
3308
3517
  provide: Messages,
3309
3518
  useExisting: forwardRef(() => CustomMessagesComponent)
3310
3519
  }
3311
3520
  ], usesInheritance: true, ngImport: i0 });
3312
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CustomMessagesComponent, decorators: [{
3521
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomMessagesComponent, decorators: [{
3313
3522
  type: Directive,
3314
3523
  args: [{
3315
3524
  providers: [
@@ -3336,19 +3545,19 @@ const SHARED_DIRECTIVES = [
3336
3545
  */
3337
3546
  class SharedModule {
3338
3547
  }
3339
- SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3340
- SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedModule, declarations: [DialogActionsComponent,
3548
+ SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3549
+ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, declarations: [DialogActionsComponent,
3341
3550
  CustomMessagesComponent,
3342
- LocalizedMessagesDirective], imports: [CommonModule], exports: [DialogActionsComponent,
3551
+ LocalizedMessagesDirective], imports: [CommonModule, IconsModule, ButtonModule], exports: [DialogActionsComponent,
3343
3552
  CustomMessagesComponent,
3344
- LocalizedMessagesDirective, CommonModule] });
3345
- SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedModule, imports: [[CommonModule], CommonModule] });
3346
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedModule, decorators: [{
3553
+ LocalizedMessagesDirective, CommonModule, IconsModule, ButtonModule] });
3554
+ SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[CommonModule, IconsModule, ButtonModule], CommonModule, IconsModule, ButtonModule] });
3555
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
3347
3556
  type: NgModule,
3348
3557
  args: [{
3349
3558
  declarations: [SHARED_DIRECTIVES],
3350
- exports: [SHARED_DIRECTIVES, CommonModule],
3351
- imports: [CommonModule]
3559
+ exports: [SHARED_DIRECTIVES, CommonModule, IconsModule, ButtonModule],
3560
+ imports: [CommonModule, IconsModule, ButtonModule]
3352
3561
  }]
3353
3562
  }] });
3354
3563
 
@@ -3383,12 +3592,12 @@ const DIALOG_DIRECTIVES = [
3383
3592
  */
3384
3593
  class DialogModule {
3385
3594
  }
3386
- DialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3387
- DialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogModule, declarations: [DialogComponent,
3595
+ DialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3596
+ DialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogModule, declarations: [DialogComponent,
3388
3597
  DialogTitleBarComponent, DialogContainerDirective], imports: [SharedModule], exports: [DialogComponent,
3389
3598
  DialogTitleBarComponent, DialogActionsComponent, CustomMessagesComponent, LocalizedMessagesDirective, DialogContainerDirective] });
3390
- DialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogModule, providers: [DialogContainerService, DialogService], imports: [[SharedModule]] });
3391
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogModule, decorators: [{
3599
+ DialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogModule, providers: [DialogContainerService, DialogService], imports: [[SharedModule]] });
3600
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogModule, decorators: [{
3392
3601
  type: NgModule,
3393
3602
  args: [{
3394
3603
  declarations: [DIALOG_DIRECTIVES, DialogContainerDirective],
@@ -3414,9 +3623,9 @@ class WindowContainerDirective {
3414
3623
  service.container = container;
3415
3624
  }
3416
3625
  }
3417
- WindowContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowContainerDirective, deps: [{ token: i0.ViewContainerRef }, { token: WindowContainerService }], target: i0.ɵɵFactoryTarget.Directive });
3418
- WindowContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: WindowContainerDirective, selector: "[kendoWindowContainer]", ngImport: i0 });
3419
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowContainerDirective, decorators: [{
3626
+ WindowContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowContainerDirective, deps: [{ token: i0.ViewContainerRef }, { token: WindowContainerService }], target: i0.ɵɵFactoryTarget.Directive });
3627
+ WindowContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: WindowContainerDirective, selector: "[kendoWindowContainer]", ngImport: i0 });
3628
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowContainerDirective, decorators: [{
3420
3629
  type: Directive,
3421
3630
  args: [{
3422
3631
  selector: '[kendoWindowContainer]'
@@ -3468,8 +3677,8 @@ const exportedModules = [
3468
3677
  */
3469
3678
  class WindowModule {
3470
3679
  }
3471
- WindowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3472
- WindowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowModule, declarations: [ResizeHandleDirective,
3680
+ WindowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3681
+ WindowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowModule, declarations: [ResizeHandleDirective,
3473
3682
  WindowComponent,
3474
3683
  WindowTitleBarComponent,
3475
3684
  WindowCloseActionDirective,
@@ -3481,8 +3690,8 @@ WindowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
3481
3690
  WindowMaximizeActionDirective,
3482
3691
  WindowRestoreActionDirective,
3483
3692
  WindowTitleBarComponent, DialogActionsComponent, CustomMessagesComponent, LocalizedMessagesDirective, WindowContainerDirective] });
3484
- WindowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowModule, providers: [WindowContainerService, WindowService], imports: [[SharedModule, DraggableModule]] });
3485
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: WindowModule, decorators: [{
3693
+ WindowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowModule, providers: [WindowContainerService, WindowService], imports: [[SharedModule, DraggableModule]] });
3694
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowModule, decorators: [{
3486
3695
  type: NgModule,
3487
3696
  args: [{
3488
3697
  declarations: [WINDOW_DIRECTIVES, WindowContainerDirective],
@@ -3520,10 +3729,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
3520
3729
  */
3521
3730
  class DialogsModule {
3522
3731
  }
3523
- DialogsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3524
- DialogsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogsModule, exports: [DialogModule, WindowModule] });
3525
- DialogsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogsModule, imports: [DialogModule, WindowModule] });
3526
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DialogsModule, decorators: [{
3732
+ DialogsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3733
+ DialogsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogsModule, exports: [DialogModule, WindowModule] });
3734
+ DialogsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogsModule, imports: [DialogModule, WindowModule] });
3735
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogsModule, decorators: [{
3527
3736
  type: NgModule,
3528
3737
  args: [{
3529
3738
  exports: [DialogModule, WindowModule]
@@ -3534,5 +3743,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
3534
3743
  * Generated bundle index. Do not edit.
3535
3744
  */
3536
3745
 
3537
- export { CustomMessagesComponent, DialogAction, DialogActionsComponent, DialogCloseResult, DialogComponent, DialogContainerDirective, DialogContentBase, DialogModule, DialogRef, DialogService, DialogSettings, DialogTitleBarComponent, DialogsModule, DragResizeService, LocalizedMessagesDirective, Messages, PreventableEvent, WindowCloseActionDirective, WindowCloseResult, WindowComponent, WindowContainerDirective, WindowMaximizeActionDirective, WindowMinimizeActionDirective, WindowModule, WindowRef, WindowRestoreActionDirective, WindowService, WindowSettings, WindowTitleBarComponent };
3746
+ export { CustomMessagesComponent, DialogAction, DialogActionsComponent, DialogCloseResult, DialogComponent, DialogContainerDirective, DialogContainerService, DialogContentBase, DialogModule, DialogRef, DialogService, DialogSettings, DialogTitleBarComponent, DialogsModule, DragResizeService, LocalizedMessagesDirective, Messages, PreventableEvent, WindowCloseActionDirective, WindowCloseResult, WindowComponent, WindowContainerDirective, WindowMaximizeActionDirective, WindowMinimizeActionDirective, WindowModule, WindowRef, WindowRestoreActionDirective, WindowService, WindowSettings, WindowTitleBarComponent };
3538
3747