@progress/kendo-angular-dialog 24.2.2-develop.9 → 25.0.0-develop.1

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 (58) hide show
  1. package/fesm2022/progress-kendo-angular-dialog.mjs +83 -83
  2. package/index.d.ts +1662 -31
  3. package/package-metadata.mjs +2 -2
  4. package/package.json +11 -11
  5. package/schematics/ngAdd/index.js +1 -1
  6. package/common/actions-layout.d.ts +0 -11
  7. package/common/animation-types.d.ts +0 -11
  8. package/common/dialog-animation-direction.d.ts +0 -11
  9. package/common/preventable-event.d.ts +0 -26
  10. package/common/util.d.ts +0 -93
  11. package/dialog/dialog-actions.component.d.ts +0 -63
  12. package/dialog/dialog-animations/animate-content.d.ts +0 -11
  13. package/dialog/dialog-animations/animations.d.ts +0 -11
  14. package/dialog/dialog-animations/create-animation-player.d.ts +0 -10
  15. package/dialog/dialog-container.directive.d.ts +0 -21
  16. package/dialog/dialog-container.service.d.ts +0 -16
  17. package/dialog/dialog-content-base.d.ts +0 -41
  18. package/dialog/dialog-titlebar.component.d.ts +0 -58
  19. package/dialog/dialog.component.d.ts +0 -239
  20. package/dialog/dialog.service.d.ts +0 -44
  21. package/dialog/models/dialog-action-divider.d.ts +0 -11
  22. package/dialog/models/dialog-action.d.ts +0 -42
  23. package/dialog/models/dialog-animation.d.ts +0 -26
  24. package/dialog/models/dialog-close-result.d.ts +0 -12
  25. package/dialog/models/dialog-ref.d.ts +0 -43
  26. package/dialog/models/dialog-result.d.ts +0 -14
  27. package/dialog/models/dialog-settings.d.ts +0 -106
  28. package/dialog/models/index.d.ts +0 -11
  29. package/dialog.module.d.ts +0 -35
  30. package/dialogs.module.d.ts +0 -43
  31. package/directives.d.ts +0 -76
  32. package/localization/custom-messages.component.d.ts +0 -39
  33. package/localization/dialog-localization.service.d.ts +0 -10
  34. package/localization/localized-messages.directive.d.ts +0 -16
  35. package/localization/messages.d.ts +0 -29
  36. package/localization/titlebar-localization.service.d.ts +0 -16
  37. package/package-metadata.d.ts +0 -9
  38. package/window/actions/window-close-action.directive.d.ts +0 -36
  39. package/window/actions/window-maximize-action.directive.d.ts +0 -37
  40. package/window/actions/window-minimize-action.directive.d.ts +0 -37
  41. package/window/actions/window-restore-action.directive.d.ts +0 -37
  42. package/window/drag-resize.service.d.ts +0 -68
  43. package/window/models/index.d.ts +0 -10
  44. package/window/models/window-close-result.d.ts +0 -10
  45. package/window/models/window-messages.d.ts +0 -26
  46. package/window/models/window-options.d.ts +0 -20
  47. package/window/models/window-ref.d.ts +0 -29
  48. package/window/models/window-settings.d.ts +0 -97
  49. package/window/models/window-types.d.ts +0 -20
  50. package/window/navigation.service.d.ts +0 -24
  51. package/window/window-container.directive.d.ts +0 -21
  52. package/window/window-container.service.d.ts +0 -16
  53. package/window/window-events.d.ts +0 -13
  54. package/window/window-resize-handle.directive.d.ts +0 -26
  55. package/window/window-titlebar.component.d.ts +0 -59
  56. package/window/window.component.d.ts +0 -265
  57. package/window/window.service.d.ts +0 -36
  58. package/window.module.d.ts +0 -39
package/index.d.ts CHANGED
@@ -2,34 +2,1665 @@
2
2
  * Copyright © 2026 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
- export { DialogComponent } from './dialog/dialog.component';
6
- export { DialogTitleBarComponent } from './dialog/dialog-titlebar.component';
7
- export { DialogContentBase } from './dialog/dialog-content-base';
8
- export { DialogActionsComponent } from './dialog/dialog-actions.component';
9
- export { DialogService } from './dialog/dialog.service';
10
- export { DialogContainerService } from './dialog/dialog-container.service';
11
- export { DialogCloseResult, DialogRef, DialogSettings, DialogAction, DialogResult, DialogAnimation, DialogActionDivider } from './dialog/models/';
12
- export { ActionsLayout } from './common/actions-layout';
13
- export { DialogAnimationType } from './common/animation-types';
14
- export { AnimationDirection } from './common/dialog-animation-direction';
15
- export { WindowComponent } from './window/window.component';
16
- export { WindowTitleBarComponent } from './window/window-titlebar.component';
17
- export { WindowMaximizeActionDirective } from './window/actions/window-maximize-action.directive';
18
- export { WindowMinimizeActionDirective } from './window/actions/window-minimize-action.directive';
19
- export { WindowCloseActionDirective } from './window/actions/window-close-action.directive';
20
- export { WindowRestoreActionDirective } from './window/actions/window-restore-action.directive';
21
- export { WindowState, WindowSettings, WindowDimensionSetting, WindowRef, WindowCloseResult } from './window/models';
22
- export { WindowService } from './window/window.service';
23
- export { WindowContainerService } from './window/window-container.service';
24
- export { DragResizeService } from './window/drag-resize.service';
25
- export { NavigationService } from './window/navigation.service';
26
- export { DialogModule } from './dialog.module';
27
- export { WindowModule } from './window.module';
28
- export { DialogsModule } from './dialogs.module';
29
- export { DialogContainerDirective } from './dialog/dialog-container.directive';
30
- export { Messages } from './localization/messages';
31
- export { LocalizedMessagesDirective } from './localization/localized-messages.directive';
32
- export { CustomMessagesComponent } from './localization/custom-messages.component';
33
- export { WindowContainerDirective } from './window/window-container.directive';
34
- export { PreventableEvent } from './common/preventable-event';
35
- export * from './directives';
5
+ import * as i0 from '@angular/core';
6
+ import { ElementRef, TemplateRef, EventEmitter, AfterViewInit, NgZone, AfterContentInit, OnInit, OnDestroy, QueryList, Renderer2, ChangeDetectorRef, ComponentRef, ViewContainerRef, OnChanges, SimpleChange } from '@angular/core';
7
+ import { AnimationBuilder } from '@angular/animations';
8
+ import { ButtonThemeColor, ButtonFillMode, Button } from '@progress/kendo-angular-buttons';
9
+ import { SVGIcon } from '@progress/kendo-svg-icons';
10
+ import { LocalizationService, ComponentMessages } from '@progress/kendo-angular-l10n';
11
+ import { LicenseMessage } from '@progress/kendo-licensing';
12
+ import { Observable, Subscription } from 'rxjs';
13
+ import { DraggableDirective } from '@progress/kendo-angular-common';
14
+
15
+ /**
16
+ * Represents the settings for Dialog actions when you open a Dialog through `DialogService`.
17
+ *
18
+ * Use the `DialogAction` class to configure action buttons in the Dialog. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogservice#open))
19
+ *
20
+ */
21
+ declare class DialogAction {
22
+ /**
23
+ * Sets the text of the action button.
24
+ */
25
+ text: string;
26
+ /**
27
+ * Sets the theme color of the action button. The theme color applies to the background, border, and text.
28
+ */
29
+ themeColor?: ButtonThemeColor;
30
+ /**
31
+ * Sets the background and border styles of the action button.
32
+ */
33
+ fillMode?: ButtonFillMode;
34
+ /**
35
+ * Sets the CSS classes for the action button. Accepts any value supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
36
+ */
37
+ cssClass?: any;
38
+ /**
39
+ * Sets the [SVG icon](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list) to display in the action button.
40
+ */
41
+ svgIcon?: SVGIcon;
42
+ /**
43
+ * Sets the name of the [font icon](https://www.telerik.com/kendo-angular-ui/components/icons/icon/icon-list) to display in the action button.
44
+ */
45
+ icon?: string;
46
+ /**
47
+ * @hidden
48
+ */
49
+ disabled?: boolean;
50
+ }
51
+
52
+ /**
53
+ * Represents the layout for the Dialog action buttons.
54
+ *
55
+ * Use the `ActionsLayout` type to set the alignment of action buttons in the Dialog.
56
+ *
57
+ */
58
+ type ActionsLayout = 'start' | 'center' | 'end' | 'stretched';
59
+
60
+ /**
61
+ * Represents a Dialog action used as a divider between action buttons.
62
+ *
63
+ * Use the `DialogActionDivider` type to add a visual spacer in the Dialog actions area.
64
+ *
65
+ */
66
+ type DialogActionDivider = 'spacer';
67
+
68
+ /**
69
+ * Represents the action buttons of the Dialog.
70
+ * ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/action-buttons))
71
+ *
72
+ * ```html
73
+ * <kendo-dialog>
74
+ * <kendo-dialog-actions>
75
+ * <button kendoButton fillMode="flat" themeColor="primary" (click)="onPrimaryActionClick()">
76
+ * Primary Action
77
+ * </button>
78
+ * </kendo-dialog-actions>
79
+ * </kendo-dialog>
80
+ * ```
81
+ */
82
+ declare class DialogActionsComponent {
83
+ el: ElementRef;
84
+ /**
85
+ * Allows the declarative specification of the Dialog `actions`.
86
+ */
87
+ set actions(value: DialogAction[] | TemplateRef<any>);
88
+ /**
89
+ * @hidden
90
+ */
91
+ actionsArray: DialogAction[];
92
+ /**
93
+ * @hidden
94
+ */
95
+ actionsTemplate: TemplateRef<any>;
96
+ /**
97
+ * Sets the possible layout of the action buttons.
98
+ * @default 'stretched'
99
+ */
100
+ layout: ActionsLayout;
101
+ /**
102
+ * Fires when the user clicks an action button.
103
+ */
104
+ action: EventEmitter<DialogAction>;
105
+ hostClasses: boolean;
106
+ get startClassName(): boolean;
107
+ get centerClassName(): boolean;
108
+ get endClassName(): boolean;
109
+ get stretchedClassName(): boolean;
110
+ constructor(el: ElementRef);
111
+ /**
112
+ * @hidden
113
+ */
114
+ onButtonClick(action: DialogAction, _e?: any): void;
115
+ /**
116
+ * @hidden
117
+ */
118
+ isDivider(action: DialogAction | DialogActionDivider): boolean;
119
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogActionsComponent, never>;
120
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogActionsComponent, "kendo-dialog-actions", never, { "actions": { "alias": "actions"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; }, { "action": "action"; }, never, ["*"], true, never>;
121
+ }
122
+
123
+ /**
124
+ * Represents a preventable event in Dialog and Window components.
125
+ *
126
+ */
127
+ declare class PreventableEvent {
128
+ private prevented;
129
+ /**
130
+ * @hidden
131
+ */
132
+ constructor();
133
+ /**
134
+ * Prevents the default action for a specified event.
135
+ * In this way, the source component suppresses the built-in behavior that follows the event.
136
+ */
137
+ preventDefault(): void;
138
+ /**
139
+ * If the event is prevented by any of its subscribers, returns `true`.
140
+ *
141
+ * @returns `true` if the default action was prevented. Otherwise, returns `false`.
142
+ */
143
+ isDefaultPrevented(): boolean;
144
+ }
145
+
146
+ /**
147
+ * Represents the [Kendo UI DialogTitleBar component for Angular](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogtitlebarcomponent).
148
+ *
149
+ * Use this component as part of the Dialog content when you create the Dialog dynamically with an [Angular service](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service).
150
+ *
151
+ * ```html
152
+ * <kendo-dialog>
153
+ * <kendo-dialog-titlebar [id]="dialogId" (close)="onClose()">
154
+ * Dialog Title
155
+ * </kendo-dialog-titlebar>
156
+ * </kendo-dialog>
157
+ * ```
158
+ *
159
+ */
160
+ declare class DialogTitleBarComponent implements AfterViewInit {
161
+ private zone;
162
+ private hostElement;
163
+ private localizationService;
164
+ /**
165
+ * Fires when the close button in the title bar is clicked.
166
+ */
167
+ close: EventEmitter<PreventableEvent>;
168
+ /**
169
+ * @hidden
170
+ */
171
+ id: string;
172
+ /**
173
+ * @hidden
174
+ */
175
+ closeTitle: string;
176
+ /**
177
+ * @hidden
178
+ */
179
+ closable: boolean;
180
+ get className(): true;
181
+ /**
182
+ * @hidden
183
+ */
184
+ xIcon: SVGIcon;
185
+ constructor(zone: NgZone, hostElement: ElementRef, localizationService: LocalizationService);
186
+ get closeButtonTitle(): string;
187
+ ngAfterViewInit(): void;
188
+ /**
189
+ * @hidden
190
+ */
191
+ onCloseClick(e: Event): void;
192
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogTitleBarComponent, [null, null, { optional: true; }]>;
193
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogTitleBarComponent, "kendo-dialog-titlebar", never, { "id": { "alias": "id"; "required": false; }; "closeTitle": { "alias": "closeTitle"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; }, { "close": "close"; }, never, ["*"], true, never>;
194
+ }
195
+
196
+ /**
197
+ * Represents the available Dialog animation types.
198
+ *
199
+ * Use the `DialogAnimationType` type to specify the animation for Dialog transitions.
200
+ *
201
+ */
202
+ type DialogAnimationType = 'translate' | 'slide' | 'fade' | 'expand' | 'zoom';
203
+
204
+ /**
205
+ * Represents the available directions for the Dialog opening animation.
206
+ *
207
+ * Use the `AnimationDirection` type to set the direction for Dialog animations.
208
+ *
209
+ */
210
+ type AnimationDirection = 'up' | 'down' | 'right' | 'left';
211
+
212
+ /**
213
+ * Represents the settings for Dialog animations when you open the Dialog component.
214
+ *
215
+ * Use the `DialogAnimation` interface to configure animation duration, type, and direction. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/animations))
216
+ *
217
+ */
218
+ interface DialogAnimation {
219
+ /**
220
+ * Sets the duration of the Dialog opening animation in milliseconds.
221
+ */
222
+ duration?: number;
223
+ /**
224
+ * Sets the Dialog opening animation type.
225
+ */
226
+ type?: DialogAnimationType;
227
+ /**
228
+ * Sets the direction of the Dialog opening animation. Applies to the `slide` and `expand` animation types.
229
+ */
230
+ direction?: AnimationDirection;
231
+ }
232
+
233
+ /**
234
+ * Represents the [Kendo UI Dialog component for Angular](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog).
235
+ *
236
+ * Use this component to display modal dialog windows in your application.
237
+ *
238
+ * @example
239
+ * ```ts
240
+ * import { Component } from '@angular/core';
241
+ *
242
+ * @Component({
243
+ * selector: 'my-app',
244
+ * template: `
245
+ * <kendo-dialog title="Example Dialog">
246
+ * <p>Dialog content goes here.</p>
247
+ * </kendo-dialog>
248
+ * `
249
+ * })
250
+ * export class AppComponent {}
251
+ * ```
252
+ *
253
+ * @remarks
254
+ * Supported children components are: {@link DialogTitleBarComponent}, {@link DialogActionsComponent}, {@link CustomMessagesComponent}.
255
+ */
256
+ declare class DialogComponent implements AfterContentInit, AfterViewInit, OnInit, OnDestroy {
257
+ private wrapper;
258
+ private renderer;
259
+ private cdr;
260
+ private ngZone;
261
+ private builder;
262
+ /**
263
+ * Specifies the action buttons to render in the Dialog.
264
+ *
265
+ * @type {DialogAction[]}
266
+ */
267
+ actions: DialogAction[];
268
+ /**
269
+ * Sets the layout of the action buttons in the Dialog. Applies only if you specify action buttons through the `actions` option.
270
+ *
271
+ * @type {ActionsLayout}
272
+ * @default 'stretched'
273
+ */
274
+ actionsLayout: ActionsLayout;
275
+ /**
276
+ * Sets the query selector for the element to receive initial focus. ([See examples.](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/initial-focus))
277
+ *
278
+ * @type {string}
279
+ *
280
+ * @remarks
281
+ * This property is related to accessibility.
282
+ */
283
+ autoFocusedElement: string;
284
+ /**
285
+ * Specifies whether the Dialog can be closed by the **Close** button in the title bar or by pressing the `Esc` key.
286
+ *
287
+ * @type {boolean}
288
+ * @default true
289
+ */
290
+ set closable(value: boolean);
291
+ get closable(): boolean;
292
+ /**
293
+ * Sets the text in the Dialog title bar.
294
+ *
295
+ * @type {string}
296
+ */
297
+ title: string;
298
+ /**
299
+ * Sets the width of the Dialog. Use a number for pixels or a string for units (for example, `50%`).
300
+ *
301
+ * @type {number | string}
302
+ */
303
+ width: number | string;
304
+ /**
305
+ * Sets the minimum width of the Dialog. Use a number for pixels or a string for units (for example, `50%`).
306
+ *
307
+ * @type {number | string}
308
+ */
309
+ minWidth: number | string;
310
+ /**
311
+ * Sets the maximum width of the Dialog. Use a number for pixels or a string for units (for example, `50%`).
312
+ *
313
+ * @type {number | string}
314
+ */
315
+ maxWidth: number | string;
316
+ /**
317
+ * Sets the height of the Dialog. Use a number for pixels or a string for units (for example, `50%`).
318
+ *
319
+ * @type {number | string}
320
+ */
321
+ height: number | string;
322
+ /**
323
+ * Sets the minimum height of the Dialog. Use a number for pixels or a string for units (for example, `50%`).
324
+ *
325
+ * @type {number | string}
326
+ */
327
+ minHeight: number | string;
328
+ /**
329
+ * Sets the maximum height of the Dialog. Use a number for pixels or a string for units (for example, `50%`).
330
+ *
331
+ * @type {number | string}
332
+ */
333
+ maxHeight: number | string;
334
+ /**
335
+ * Configures the Dialog opening animation ([see example](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/animations)).
336
+ * The default animation type is `translate` and the duration is `300ms`.
337
+ *
338
+ * @type {boolean | DialogAnimation}
339
+ * @default true
340
+ */
341
+ animation: boolean | DialogAnimation;
342
+ /**
343
+ * @hidden
344
+ */
345
+ set htmlAttributes(attributes: {
346
+ [key: string]: string;
347
+ });
348
+ get htmlAttributes(): {
349
+ [key: string]: string;
350
+ };
351
+ /**
352
+ * @hidden
353
+ */
354
+ set cssClass(classes: any);
355
+ get cssClass(): any;
356
+ /**
357
+ * @hidden
358
+ */
359
+ contentTemplate: TemplateRef<any>;
360
+ /**
361
+ * @hidden
362
+ */
363
+ titleId: string;
364
+ /**
365
+ * @hidden
366
+ */
367
+ contentId: string;
368
+ /**
369
+ * @hidden
370
+ */
371
+ closeTitle: string;
372
+ /**
373
+ * @hidden
374
+ */
375
+ showLicenseWatermark: boolean;
376
+ /**
377
+ * @hidden
378
+ */
379
+ licenseMessage?: LicenseMessage;
380
+ /**
381
+ * Emits when the user clicks an action button in the Dialog. Fires only if you specify action buttons through the `actions` option.
382
+ *
383
+ * @type {EventEmitter<DialogAction>}
384
+ */
385
+ action: EventEmitter<DialogAction>;
386
+ /**
387
+ * Emits when the user clicks the **Close** button or presses the `ESC` key.
388
+ *
389
+ * @type {EventEmitter<any>}
390
+ */
391
+ close: EventEmitter<any>;
392
+ get dir(): string;
393
+ tabIndex: number;
394
+ titlebarContent: QueryList<DialogTitleBarComponent>;
395
+ titlebarView: QueryList<DialogTitleBarComponent>;
396
+ actionsView: DialogActionsComponent;
397
+ dialog: ElementRef;
398
+ private _htmlAttributes;
399
+ private _cssClass;
400
+ private _closable;
401
+ private direction;
402
+ private subscriptions;
403
+ private domSubs;
404
+ constructor(wrapper: ElementRef, renderer: Renderer2, localization: LocalizationService, cdr: ChangeDetectorRef, ngZone: NgZone, builder: AnimationBuilder);
405
+ ngAfterContentInit(): void;
406
+ ngAfterViewInit(): void;
407
+ ngOnInit(): void;
408
+ ngOnDestroy(): void;
409
+ /**
410
+ * Focuses the wrapper of the Dialog component.
411
+ */
412
+ focus(): void;
413
+ private initDomEvents;
414
+ private onKeyDown;
415
+ private setServiceClasses;
416
+ /**
417
+ * @hidden
418
+ */
419
+ private handleInitialFocus;
420
+ /**
421
+ * @hidden
422
+ */
423
+ private findPrimary;
424
+ /**
425
+ * @hidden
426
+ */
427
+ private handleActionButtonFocus;
428
+ /**
429
+ * @hidden
430
+ */
431
+ private keepFocusWithinComponent;
432
+ /**
433
+ * @hidden
434
+ */
435
+ private shouldFocusPrimary;
436
+ /**
437
+ * @hidden
438
+ */
439
+ private getAllFocusableChildren;
440
+ /**
441
+ * @hidden
442
+ */
443
+ private getFirstAndLastFocusable;
444
+ /**
445
+ * @hidden
446
+ */
447
+ private generateTitleId;
448
+ /**
449
+ * @hidden
450
+ */
451
+ private generateContentId;
452
+ get wrapperClass(): boolean;
453
+ get styles(): any;
454
+ private bubble;
455
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
456
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "kendo-dialog", ["kendoDialog"], { "actions": { "alias": "actions"; "required": false; }; "actionsLayout": { "alias": "actionsLayout"; "required": false; }; "autoFocusedElement": { "alias": "autoFocusedElement"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "title": { "alias": "title"; "required": false; }; "width": { "alias": "width"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "height": { "alias": "height"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; }, { "action": "action"; "close": "close"; }, ["titlebarContent"], ["kendo-dialog-titlebar", "*", "kendo-dialog-actions"], true, never>;
457
+ }
458
+
459
+ /**
460
+ * Represents the result when the **Close** button is clicked in a Dialog opened through `DialogService`.
461
+ *
462
+ * Used when the results from the Dialogs that are opened through `DialogService` are filtered. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogservice#open))
463
+ *
464
+ */
465
+ declare class DialogCloseResult {
466
+ }
467
+
468
+ /**
469
+ * Represents the possible result types of the Dialog.
470
+ *
471
+ * Use the `DialogResult` type to handle the result when a Dialog closes. If the result is a [`DialogCloseResult`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogcloseresult), the **Close** button was clicked.
472
+ * Otherwise, the value is the configuration of the action button that was clicked. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogservice#open))
473
+ *
474
+ */
475
+ type DialogResult = DialogCloseResult | DialogAction;
476
+
477
+ /**
478
+ * Holds references to the Dialog instance and published events when you open a Dialog through the `DialogService`.
479
+ *
480
+ * Use the `DialogRef` class to control and interact with Dialogs opened programmatically. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogservice#open))
481
+ *
482
+ */
483
+ declare class DialogRef {
484
+ /**
485
+ * Emits events when the Dialog is closed either through the **Close** button of the title bar or through the action buttons. If the **Close** button of the title bar is clicked, `DialogResult` is a `DialogCloseResult` instance. If the Dialog is closed through the action buttons, `DialogResult` contains the object that was passed when the Dialog was opened. When `close` is called with an argument, the result is the passed argument.
486
+ */
487
+ result: Observable<DialogResult>;
488
+ /**
489
+ * A reference to the Dialog instance.
490
+ */
491
+ dialog: ComponentRef<DialogComponent>;
492
+ /**
493
+ * A reference to the child component of the Dialog. Available when the Dialog is opened with [component content](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service#rendering-the-content-area).
494
+ */
495
+ content: ComponentRef<any>;
496
+ /**
497
+ * Closes the Dialog programmatically. When called without a value, the resulting Observable emits an empty `DialogCloseResult` object. When called with a value, the resulting Observable emits the provided value.
498
+ *
499
+ * ```ts
500
+ * // Close without arguments: Returns an empty `DialogCloseResult` object.
501
+ * dialogRef.close();
502
+ *
503
+ * // Simulate clicking an action button: Pass a `DialogAction` object.
504
+ * dialogRef.close({ text: 'OK', primary: true });
505
+ *
506
+ * // Return custom data: Pass a custom object.
507
+ * dialogRef.close({ success: true, data: { id: 123 } });
508
+ * ```
509
+ */
510
+ close: Function;
511
+ }
512
+
513
+ /**
514
+ * Serves as the base class for a component provided as Dialog content through the `content` property.
515
+ * ([See example](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service#single-component-rendering)).
516
+ *
517
+ * @example
518
+ * ```ts
519
+ * @Component({ ... })
520
+ * export class UserInfoComponent extends DialogContentBase {
521
+ * constructor(public dialog: DialogRef) {
522
+ * super(dialog);
523
+ * }
524
+ * }
525
+ * ```
526
+ *
527
+ */
528
+ declare class DialogContentBase {
529
+ dialog: DialogRef;
530
+ /**
531
+ * @hidden
532
+ */
533
+ dialogTitleBar: DialogTitleBarComponent;
534
+ /**
535
+ * @hidden
536
+ */
537
+ dialogActions: DialogActionsComponent;
538
+ constructor(dialog: DialogRef);
539
+ /**
540
+ * @hidden
541
+ */
542
+ ngAfterViewInit(): void;
543
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogContentBase, never>;
544
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DialogContentBase, never, never, {}, {}, never, never, true, never>;
545
+ }
546
+
547
+ /**
548
+ * @hidden
549
+ */
550
+ declare class DialogContainerService {
551
+ private static container;
552
+ set container(container: ViewContainerRef);
553
+ get container(): ViewContainerRef;
554
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogContainerService, never>;
555
+ static ɵprov: i0.ɵɵInjectableDeclaration<DialogContainerService>;
556
+ }
557
+
558
+ /**
559
+ * Represents the settings for opening a Dialog through the `DialogService`.
560
+ * ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogservice#open))
561
+ *
562
+ */
563
+ declare class DialogSettings {
564
+ /**
565
+ * Use the `preventAction` callback to check if the pressed Dialog action should be prevented. If `true`, the Dialog does not close.
566
+ * If the **Close** button in the title bar is clicked, `DialogResult` is a `DialogCloseResult` instance.
567
+ * If the action buttons are used to close the Dialog, `DialogResult` contains the object passed when opening the Dialog. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service#dialog-close-prevention))
568
+ * @param {DialogResult} ev The Dialog result.
569
+ * @param {DialogRef} [dialogRef] The Dialog reference, provided only when you create the Dialog using a component.
570
+ * @returns Returns `true` to prevent closing the Dialog.
571
+ */
572
+ preventAction?: (ev: DialogResult, dialogRef?: DialogRef) => boolean;
573
+ /**
574
+ * Sets the Dialog `title`. If you omit `title`, the Dialog does not render a **Close** button.
575
+ */
576
+ title?: string;
577
+ /**
578
+ * Sets the CSS classes for the Dialog wrapper element. Accepts any value supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
579
+ */
580
+ cssClass?: any;
581
+ /**
582
+ * Configures the Dialog opening `animation` ([see example](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/animations)).
583
+ * @default { type: 'translate', duration: 300 }
584
+ */
585
+ animation?: boolean | DialogAnimation;
586
+ /**
587
+ * Sets the HTML attributes for the Dialog wrapper element. Accepts string key-value pairs.
588
+ *
589
+ * @remarks
590
+ * This option is related to accessibility.
591
+ */
592
+ htmlAttributes?: {
593
+ [key: string]: string;
594
+ };
595
+ /**
596
+ * Defines the Dialog `content`. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service#rendering-the-content-area))
597
+ */
598
+ content?: string | TemplateRef<any> | Function;
599
+ /**
600
+ * Sets the width of the Dialog.
601
+ * Use a number for pixels or a string for other units, for example, `50%`.
602
+ */
603
+ width?: number | string;
604
+ /**
605
+ * Sets the minimum width of the Dialog.
606
+ * Use a number for pixels or a string for other units, for example, `50%`.
607
+ */
608
+ minWidth?: number | string;
609
+ /**
610
+ * Sets the maximum width of the Dialog.
611
+ * Use a number for pixels or a string for other units, for example, `50%`.
612
+ */
613
+ maxWidth?: number | string;
614
+ /**
615
+ * Sets the height of the Dialog.
616
+ * Use a number for pixels or a string for other units, for example, `50%`.
617
+ */
618
+ height?: number | string;
619
+ /**
620
+ * Sets the minimum height of the Dialog.
621
+ * Use a number for pixels or a string for other units, for example, `50%`.
622
+ */
623
+ minHeight?: number | string;
624
+ /**
625
+ * Sets the maximum height of the Dialog.
626
+ * Use a number for pixels or a string for other units, for example, `50%`.
627
+ */
628
+ maxHeight?: number | string;
629
+ /**
630
+ * Defines the container where the Dialog is inserted. This changes the place in the page hierarchy where the Dialog appears. The component styling stays the same.
631
+ */
632
+ appendTo?: ViewContainerRef;
633
+ /**
634
+ * Sets the `closeTitle` for the **Close** button.
635
+ */
636
+ closeTitle?: string;
637
+ /**
638
+ * Specifies whether the Dialog can be closed by the **Close** button in the title bar or by pressing the `Esc` key.
639
+ * @default true
640
+ */
641
+ closable?: boolean;
642
+ /**
643
+ * Sets the Dialog `actions` buttons.
644
+ */
645
+ actions?: any[] | TemplateRef<any>;
646
+ /**
647
+ * Sets the layout of the Dialog action buttons with `actionsLayout`.
648
+ */
649
+ actionsLayout?: ActionsLayout;
650
+ /**
651
+ * Sets the query selector for the element to focus automatically with `autoFocusedElement`.
652
+ */
653
+ autoFocusedElement?: string;
654
+ }
655
+
656
+ /**
657
+ * Provides a service for opening Dialog windows dynamically ([see example](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service)).
658
+ */
659
+ declare class DialogService {
660
+ private containerService;
661
+ constructor(containerService: DialogContainerService);
662
+ /**
663
+ * Opens a Dialog window. Requires an element in the application that uses the
664
+ * [`kendoDialogContainer`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogcontainerdirective) directive.
665
+ * The created Dialog mounts in the DOM directly after that element.
666
+ *
667
+ * @param {DialogAction} options - The options that define the Dialog.
668
+ * @returns {DialogRef} - A reference to the Dialog object and its convenience properties.
669
+ *
670
+ * @example
671
+ * ```typescript
672
+ * const dialog = this.dialogService.open({
673
+ * title: 'Confirm',
674
+ * content: 'Are you sure?',
675
+ * actions: [
676
+ * { text: 'No' },
677
+ * { text: 'Yes', themeColor: 'primary' }
678
+ * ]
679
+ * });
680
+ * dialog.result.subscribe(result => {
681
+ * // handle result
682
+ * });
683
+ * ```
684
+ */
685
+ open(options: DialogSettings): DialogRef;
686
+ private initializeDialog;
687
+ private applyOptions;
688
+ private contentFrom;
689
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
690
+ static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
691
+ }
692
+
693
+ /**
694
+ * @hidden
695
+ */
696
+ interface ChangeEvent {
697
+ top?: number;
698
+ left?: number;
699
+ width?: number;
700
+ height?: number;
701
+ }
702
+
703
+ /**
704
+ * @hidden
705
+ */
706
+ type WindowPosition = 'absolute' | 'fixed';
707
+ /**
708
+ * Represents the possible states of the Window component.
709
+ */
710
+ type WindowState = 'minimized' | 'maximized' | 'default';
711
+ /**
712
+ * Represents the dimensions of the Window that can be resized dynamically.
713
+ */
714
+ type WindowDimensionSetting = 'width' | 'height';
715
+ /**
716
+ * Represents the offset of the Window that can be set dynamically.
717
+ */
718
+ type WindowOffsetSetting = 'top' | 'left';
719
+
720
+ /**
721
+ * @hidden
722
+ */
723
+ interface WindowOptions {
724
+ width?: number;
725
+ height?: number;
726
+ minWidth: number;
727
+ minHeight: number;
728
+ top?: number;
729
+ left?: number;
730
+ position: WindowPosition;
731
+ state: WindowState;
732
+ draggable: boolean;
733
+ resizable: boolean;
734
+ }
735
+
736
+ /**
737
+ * @hidden
738
+ */
739
+ declare class DragResizeService implements OnDestroy {
740
+ private ngZone;
741
+ close: EventEmitter<any>;
742
+ focus: EventEmitter<any>;
743
+ change: EventEmitter<ChangeEvent>;
744
+ stateChange: EventEmitter<WindowState>;
745
+ dragStart: EventEmitter<any>;
746
+ dragEnd: EventEmitter<any>;
747
+ resizeStart: EventEmitter<string>;
748
+ resizeEnd: EventEmitter<any>;
749
+ options: WindowOptions;
750
+ restoreOptions: WindowOptions;
751
+ window: ElementRef;
752
+ lastAction: string;
753
+ subscriptions: Subscription;
754
+ dragSubscription: Subscription;
755
+ constructor(ngZone: NgZone);
756
+ ngOnDestroy(): void;
757
+ init(el: ElementRef): void;
758
+ onDrag(el: DraggableDirective): void;
759
+ handleDrag({ originalX, originalY, pageX, pageY, startPosition }: {
760
+ originalX: any;
761
+ originalY: any;
762
+ pageX: any;
763
+ pageY: any;
764
+ startPosition: any;
765
+ }): void;
766
+ onResize(handle: DraggableDirective, direction: string): void;
767
+ handleResize(initial: any, dir: string, deltaX: number, deltaY: number): void;
768
+ restoreAction(): void;
769
+ defaultState(): void;
770
+ storeOptions(): void;
771
+ maximizeAction(): void;
772
+ maximizeState(): void;
773
+ minimizeAction(): void;
774
+ minimizeState(): void;
775
+ /**
776
+ * Handles manual changes of the 'state' property.
777
+ * Required to distinguish them from action clicks.
778
+ */
779
+ applyManualState(previousState?: WindowState): void;
780
+ closeAction(): void;
781
+ ensureWidth(): void;
782
+ center(): void;
783
+ currentOffsetAndPosition(): any;
784
+ currentPosition(): any;
785
+ setPosition(): void;
786
+ setRestoreOption(style: string, value: number): void;
787
+ get nextPossibleZIndex(): number;
788
+ get nextZIndex(): number;
789
+ get windowViewPort(): any;
790
+ static ɵfac: i0.ɵɵFactoryDeclaration<DragResizeService, never>;
791
+ static ɵprov: i0.ɵɵInjectableDeclaration<DragResizeService>;
792
+ }
793
+
794
+ /**
795
+ * @hidden
796
+ */
797
+ declare class ResizeHandleDirective implements OnInit, OnDestroy {
798
+ draggable: DraggableDirective;
799
+ private el;
800
+ private renderer;
801
+ private service;
802
+ direction: string;
803
+ get hostClass(): boolean;
804
+ private subscriptions;
805
+ constructor(draggable: DraggableDirective, el: ElementRef, renderer: Renderer2, service: DragResizeService);
806
+ ngOnInit(): void;
807
+ ngOnDestroy(): void;
808
+ private setDisplay;
809
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResizeHandleDirective, [{ host: true; }, null, null, null]>;
810
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ResizeHandleDirective, "[kendoWindowResizeHandle]", never, { "direction": { "alias": "direction"; "required": false; }; }, {}, never, never, true, never>;
811
+ }
812
+
813
+ /**
814
+ * Represents the title bar of the Window component.
815
+ *
816
+ */
817
+ declare class WindowTitleBarComponent implements OnInit, AfterViewInit, OnDestroy {
818
+ el: ElementRef;
819
+ private ngZone;
820
+ /**
821
+ * @hidden
822
+ */
823
+ template: TemplateRef<any>;
824
+ /**
825
+ * @hidden
826
+ */
827
+ id: string;
828
+ /**
829
+ * @hidden
830
+ */
831
+ service: DragResizeService;
832
+ private dragDirective;
833
+ private dragSubscription;
834
+ private stateSubscription;
835
+ constructor(el: ElementRef, service: DragResizeService, ngZone: NgZone);
836
+ ngOnInit(): void;
837
+ ngAfterViewInit(): void;
838
+ ngOnDestroy(): void;
839
+ /**
840
+ * @hidden
841
+ */
842
+ subscribeDrag(): void;
843
+ /**
844
+ * @hidden
845
+ */
846
+ subscribeStateChange(): void;
847
+ /**
848
+ * @hidden
849
+ */
850
+ unsubscribeDrag(): void;
851
+ /**
852
+ * @hidden
853
+ */
854
+ unsubscribeState(): void;
855
+ get className(): true;
856
+ get touchAction(): string;
857
+ /**
858
+ * @hidden
859
+ */
860
+ handle(ev: any): void;
861
+ protected get isDraggable(): boolean;
862
+ static ɵfac: i0.ɵɵFactoryDeclaration<WindowTitleBarComponent, never>;
863
+ static ɵcmp: i0.ɵɵComponentDeclaration<WindowTitleBarComponent, "kendo-window-titlebar", never, { "template": { "alias": "template"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, ["*"], true, never>;
864
+ }
865
+
866
+ /**
867
+ * @hidden
868
+ */
869
+ declare class NavigationService {
870
+ private window;
871
+ private ngZone;
872
+ constructor(window: DragResizeService, ngZone: NgZone);
873
+ process(ev: KeyboardEvent): void;
874
+ handleArrow(key: string, ev: KeyboardEvent): void;
875
+ handleEscape(): void;
876
+ handleDrag(key: string): void;
877
+ handleResize(key: string): void;
878
+ handleStateChange(key: string, state: WindowState): void;
879
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
880
+ static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
881
+ }
882
+
883
+ /**
884
+ * Defines the text of the labels that appear in the Window. Use for localization.
885
+ *
886
+ */
887
+ interface WindowMessages {
888
+ /**
889
+ * Specifies the title of the close button.
890
+ */
891
+ closeTitle?: string;
892
+ /**
893
+ * Specifies the title of the restore button.
894
+ */
895
+ restoreTitle?: string;
896
+ /**
897
+ * Specifies the title of the maximize button.
898
+ */
899
+ maximizeTitle?: string;
900
+ /**
901
+ * Specifies the title of the minimize button.
902
+ */
903
+ minimizeTitle?: string;
904
+ }
905
+
906
+ /**
907
+ * Represents the [Kendo UI Window component for Angular](https://www.telerik.com/kendo-angular-ui/components/dialogs/window).
908
+ *
909
+ * @example
910
+ * ```html
911
+ * <kendo-window title="My Window" [width]="400" [height]="300">
912
+ * </kendo-window>
913
+ * ```
914
+ *
915
+ * @remarks
916
+ * Supported children components are: {@link CustomMessagesComponent}, {@link WindowTitleBarComponent}.
917
+ */
918
+ declare class WindowComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit {
919
+ private el;
920
+ private renderer;
921
+ private service;
922
+ private navigation;
923
+ private ngZone;
924
+ private localization;
925
+ /**
926
+ * Specifies the query selector used to set the initial focus ([see examples](https://www.telerik.com/kendo-angular-ui/components/dialogs/window/initial-focus)).
927
+ *
928
+ * @remarks
929
+ * This property is related to accessibility.
930
+ */
931
+ autoFocusedElement: string;
932
+ /**
933
+ * Sets the text in the title bar.
934
+ */
935
+ title: string;
936
+ /**
937
+ * Specifies if the user can drag the component.
938
+ * @default true
939
+ */
940
+ set draggable(value: boolean);
941
+ get draggable(): boolean;
942
+ /**
943
+ * Specifies if the user can resize the component.
944
+ * @default true
945
+ */
946
+ set resizable(value: boolean);
947
+ get resizable(): boolean;
948
+ /**
949
+ * @hidden
950
+ */
951
+ set cssClass(classes: any);
952
+ get cssClass(): any;
953
+ /**
954
+ * @hidden
955
+ */
956
+ set htmlAttributes(attributes: {
957
+ [key: string]: string;
958
+ });
959
+ get htmlAttributes(): {
960
+ [key: string]: string;
961
+ };
962
+ /**
963
+ * Specifies if the content stays in the DOM when minimized.
964
+ * @default false
965
+ */
966
+ keepContent: boolean;
967
+ /**
968
+ * Sets the initial state of the Window.
969
+ */
970
+ set state(value: WindowState);
971
+ get state(): WindowState;
972
+ /**
973
+ * Sets the minimum width in pixels.
974
+ * @default 120
975
+ */
976
+ set minWidth(value: number);
977
+ get minWidth(): number;
978
+ /**
979
+ * Sets the minimum height in pixels.
980
+ * @default 100
981
+ */
982
+ set minHeight(value: number);
983
+ get minHeight(): number;
984
+ /**
985
+ * Sets the width in pixels.
986
+ */
987
+ set width(value: number);
988
+ get width(): number;
989
+ /**
990
+ * Sets the height in pixels.
991
+ */
992
+ set height(value: number);
993
+ get height(): number;
994
+ /**
995
+ * Sets the initial top offset in pixels.
996
+ */
997
+ set top(value: number);
998
+ get top(): number;
999
+ /**
1000
+ * Sets the initial left offset in pixels.
1001
+ */
1002
+ set left(value: number);
1003
+ get left(): number;
1004
+ get closeButtonTitle(): string;
1005
+ get restoreButtonTitle(): string;
1006
+ get maximizeButtonTitle(): string;
1007
+ get minimizeButtonTitle(): string;
1008
+ /**
1009
+ * Fires when the user starts to move the Window.
1010
+ */
1011
+ dragStart: EventEmitter<any>;
1012
+ /**
1013
+ * Fires after the Window has been moved by the user.
1014
+ */
1015
+ dragEnd: EventEmitter<any>;
1016
+ /**
1017
+ * Fires when the user starts to resize the Window.
1018
+ */
1019
+ resizeStart: EventEmitter<any>;
1020
+ /**
1021
+ * Fires after the Window has been resized by the user.
1022
+ */
1023
+ resizeEnd: EventEmitter<any>;
1024
+ /**
1025
+ * Fires when the user closes the Window.
1026
+ */
1027
+ close: EventEmitter<any>;
1028
+ /**
1029
+ * Fires when the `width` property is updated after resizing. The event data contains the new width. Allows two-way binding of the `width` property.
1030
+ */
1031
+ widthChange: EventEmitter<number>;
1032
+ /**
1033
+ * Fires when the `height` property is updated after resizing. The event data contains the new height. Allows two-way binding of the `height` property.
1034
+ */
1035
+ heightChange: EventEmitter<number>;
1036
+ /**
1037
+ * Fires when the `top` property is updated after dragging or resizing. The event data contains the new top offset. Allows two-way binding of the `top` property.
1038
+ */
1039
+ topChange: EventEmitter<number>;
1040
+ /**
1041
+ * Fires when the `left` property is updated after dragging or resizing. The event data contains the new left offset. Allows two-way binding of the `left` property.
1042
+ */
1043
+ leftChange: EventEmitter<number>;
1044
+ /**
1045
+ * Fires when the `state` property is updated. The event data contains the new state. Allows two-way binding of the `state` property.
1046
+ */
1047
+ stateChange: EventEmitter<WindowState>;
1048
+ /**
1049
+ * @hidden
1050
+ */
1051
+ contentTemplate: TemplateRef<any>;
1052
+ /**
1053
+ * @hidden
1054
+ */
1055
+ titleBarTemplate: TemplateRef<any>;
1056
+ /**
1057
+ * @hidden
1058
+ */
1059
+ messages: WindowMessages;
1060
+ /**
1061
+ * @hidden
1062
+ */
1063
+ showLicenseWatermark: boolean;
1064
+ /**
1065
+ * @hidden
1066
+ */
1067
+ licenseMessage?: LicenseMessage;
1068
+ tabIndex: number;
1069
+ role: string;
1070
+ hostClass: boolean;
1071
+ get dir(): string;
1072
+ titleBarView: WindowTitleBarComponent;
1073
+ titleBarContent: WindowTitleBarComponent;
1074
+ resizeHandles: QueryList<ResizeHandleDirective>;
1075
+ resizeDirections: Array<string>;
1076
+ /**
1077
+ * @hidden
1078
+ */
1079
+ titleId: string;
1080
+ private _htmlAttributes;
1081
+ private _cssClass;
1082
+ private direction;
1083
+ private draged;
1084
+ private resized;
1085
+ private windowSubscription;
1086
+ private domSubs;
1087
+ private localizationChangeSubscription;
1088
+ private stateAppliedByAction;
1089
+ constructor(el: ElementRef, renderer: Renderer2, service: DragResizeService, navigation: NavigationService, ngZone: NgZone, localization: LocalizationService);
1090
+ ngAfterViewInit(): void;
1091
+ ngOnInit(): void;
1092
+ ngOnChanges(changes: {
1093
+ [propertyName: string]: SimpleChange;
1094
+ }): void;
1095
+ ngOnDestroy(): void;
1096
+ /**
1097
+ * Focuses the wrapper of the Window component.
1098
+ */
1099
+ focus(): void;
1100
+ /**
1101
+ * Brings the current Window component on top of other Window components on the page.
1102
+ */
1103
+ bringToFront(): void;
1104
+ /**
1105
+ * Manually updates the `width` or `height` option of the Window.
1106
+ * The required style will be applied to the Window wrapper element and the
1107
+ * corresponding property of the component instance will be updated.
1108
+ * This method is intended to be used for sizing dynamically created components using the
1109
+ * [`WindowService`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowservice)
1110
+ * @param dimension The option to update.
1111
+ * @param value The value in pixels.
1112
+ */
1113
+ setDimension(dimension: WindowDimensionSetting, value: number): void;
1114
+ /**
1115
+ * Manually updates the `top` or `left` offset of the Window.
1116
+ * The required style will be applied to the Window wrapper element and the
1117
+ * corresponding property of the component instance will be updated.
1118
+ * This method is intended to be used for positioning dynamically created components using the
1119
+ * [`WindowService`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowservice)
1120
+ * @param offset The option to update.
1121
+ * @param value The value in pixels.
1122
+ */
1123
+ setOffset(offset: WindowOffsetSetting, value: number): void;
1124
+ get showDefaultTitleBar(): boolean;
1125
+ get styleMinWidth(): string;
1126
+ get styleMinHeight(): string;
1127
+ get stylePosition(): string;
1128
+ get wrapperMaximizedClass(): boolean;
1129
+ get wrapperMinimizedClass(): boolean;
1130
+ /**
1131
+ * @hidden
1132
+ */
1133
+ onComponentFocus(): void;
1134
+ /**
1135
+ * @hidden
1136
+ */
1137
+ onComponentBlur(): void;
1138
+ private subscribeEvents;
1139
+ private initDomEvents;
1140
+ private onKeyDown;
1141
+ private setServiceClasses;
1142
+ private setNextZIndex;
1143
+ private setInitialOffset;
1144
+ private updateAllOffset;
1145
+ private setStyle;
1146
+ private removeStyle;
1147
+ private get options();
1148
+ private setOption;
1149
+ private handleInitialFocus;
1150
+ /**
1151
+ * @hidden
1152
+ */
1153
+ private generateTitleId;
1154
+ static ɵfac: i0.ɵɵFactoryDeclaration<WindowComponent, never>;
1155
+ static ɵcmp: i0.ɵɵComponentDeclaration<WindowComponent, "kendo-window", ["kendoWindow"], { "autoFocusedElement": { "alias": "autoFocusedElement"; "required": false; }; "title": { "alias": "title"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "keepContent": { "alias": "keepContent"; "required": false; }; "state": { "alias": "state"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "top": { "alias": "top"; "required": false; }; "left": { "alias": "left"; "required": false; }; }, { "dragStart": "dragStart"; "dragEnd": "dragEnd"; "resizeStart": "resizeStart"; "resizeEnd": "resizeEnd"; "close": "close"; "widthChange": "widthChange"; "heightChange": "heightChange"; "topChange": "topChange"; "leftChange": "leftChange"; "stateChange": "stateChange"; }, ["titleBarContent"], ["kendo-window-titlebar", "*"], true, never>;
1156
+ }
1157
+
1158
+ /**
1159
+ * Represents the maximize action directive of the Window component.
1160
+ *
1161
+ * ```html
1162
+ * <button kendoWindowMaximizeAction>Maximize</button>
1163
+ * ```
1164
+ */
1165
+ declare class WindowMaximizeActionDirective extends Button {
1166
+ /**
1167
+ * @hidden
1168
+ */
1169
+ window: any;
1170
+ buttonType: string;
1171
+ buttonClass: boolean;
1172
+ /**
1173
+ * @hidden
1174
+ */
1175
+ windowIcon: SVGIcon;
1176
+ constructor(el: ElementRef, renderer: Renderer2, _service: DragResizeService, localization: LocalizationService, ngZone: NgZone);
1177
+ /**
1178
+ * @hidden
1179
+ */
1180
+ onClick(): void;
1181
+ get visible(): string;
1182
+ static ɵfac: i0.ɵɵFactoryDeclaration<WindowMaximizeActionDirective, [null, null, { optional: true; }, null, null]>;
1183
+ static ɵcmp: i0.ɵɵComponentDeclaration<WindowMaximizeActionDirective, "button[kendoWindowMaximizeAction]", ["kendoWindowMaximizeAction"], { "window": { "alias": "window"; "required": false; }; }, {}, never, ["*"], true, never>;
1184
+ }
1185
+
1186
+ /**
1187
+ * Represents the minimize action directive of the Window component.
1188
+ *
1189
+ * ```html
1190
+ * <button kendoWindowMinimizeAction>Minimize</button>
1191
+ * ```
1192
+ */
1193
+ declare class WindowMinimizeActionDirective extends Button {
1194
+ /**
1195
+ * @hidden
1196
+ */
1197
+ window: any;
1198
+ buttonType: string;
1199
+ buttonClass: boolean;
1200
+ /**
1201
+ * @hidden
1202
+ */
1203
+ windowMinimizeIcon: SVGIcon;
1204
+ constructor(el: ElementRef, renderer: Renderer2, _service: DragResizeService, localization: LocalizationService, ngZone: NgZone);
1205
+ /**
1206
+ * @hidden
1207
+ */
1208
+ onClick(): void;
1209
+ get visible(): string;
1210
+ static ɵfac: i0.ɵɵFactoryDeclaration<WindowMinimizeActionDirective, [null, null, { optional: true; }, null, null]>;
1211
+ static ɵcmp: i0.ɵɵComponentDeclaration<WindowMinimizeActionDirective, "button[kendoWindowMinimizeAction]", ["kendoWindowMinimizeAction"], { "window": { "alias": "window"; "required": false; }; }, {}, never, ["*"], true, never>;
1212
+ }
1213
+
1214
+ /**
1215
+ * Represents the close action directive of the Window component.
1216
+ *
1217
+ * ```html
1218
+ * <button kendoWindowCloseAction>Close</button>
1219
+ * ```
1220
+ */
1221
+ declare class WindowCloseActionDirective extends Button {
1222
+ /**
1223
+ * @hidden
1224
+ */
1225
+ window: any;
1226
+ /**
1227
+ * @hidden
1228
+ */
1229
+ xIcon: SVGIcon;
1230
+ buttonType: string;
1231
+ buttonClass: boolean;
1232
+ constructor(el: ElementRef, renderer: Renderer2, _service: DragResizeService, localization: LocalizationService, ngZone: NgZone);
1233
+ /**
1234
+ * @hidden
1235
+ */
1236
+ onClick(): void;
1237
+ static ɵfac: i0.ɵɵFactoryDeclaration<WindowCloseActionDirective, [null, null, { optional: true; }, null, null]>;
1238
+ static ɵcmp: i0.ɵɵComponentDeclaration<WindowCloseActionDirective, "button[kendoWindowCloseAction]", ["kendoWindowCloseAction"], { "window": { "alias": "window"; "required": false; }; }, {}, never, ["*"], true, never>;
1239
+ }
1240
+
1241
+ /**
1242
+ * Represents the restore action directive of the Window component.
1243
+ *
1244
+ * ```html
1245
+ * <button kendoWindowRestoreAction>Restore</button>
1246
+ * ```
1247
+ */
1248
+ declare class WindowRestoreActionDirective extends Button {
1249
+ /**
1250
+ * @hidden
1251
+ */
1252
+ window: any;
1253
+ /**
1254
+ * @hidden
1255
+ */
1256
+ windowRestoreIcon: SVGIcon;
1257
+ buttonType: string;
1258
+ buttonClass: boolean;
1259
+ constructor(el: ElementRef, renderer: Renderer2, _service: DragResizeService, localization: LocalizationService, ngZone: NgZone);
1260
+ /**
1261
+ * @hidden
1262
+ */
1263
+ onClick(): void;
1264
+ get visible(): string;
1265
+ static ɵfac: i0.ɵɵFactoryDeclaration<WindowRestoreActionDirective, [null, null, { optional: true; }, null, null]>;
1266
+ static ɵcmp: i0.ɵɵComponentDeclaration<WindowRestoreActionDirective, "button[kendoWindowRestoreAction]", ["kendoWindowRestoreAction"], { "window": { "alias": "window"; "required": false; }; }, {}, never, ["*"], true, never>;
1267
+ }
1268
+
1269
+ /**
1270
+ * Indicates that the **Close** button of a Window opened through `WindowService` is clicked.
1271
+ *
1272
+ */
1273
+ declare class WindowCloseResult {
1274
+ }
1275
+
1276
+ /**
1277
+ * Holds references to the Window instance. Controls Windows opened through `WindowService`. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowservice#open))
1278
+ */
1279
+ declare class WindowRef {
1280
+ /**
1281
+ * Represents a reference to the Window instance.
1282
+ */
1283
+ window: ComponentRef<WindowComponent>;
1284
+ /**
1285
+ * Represents a reference to the child component of the Window. Available when you open the Window with [component content](https://www.telerik.com/kendo-angular-ui/components/dialogs/window/service#rendering-the-content-area).
1286
+ */
1287
+ content: ComponentRef<any>;
1288
+ /**
1289
+ * Allows you to close the Window by using code. When called with no arguments, the `result` Observable is of type `WindowCloseResult`. When called with an argument, the `result` Observable holds the provided value.
1290
+ */
1291
+ close: Function;
1292
+ /**
1293
+ * Emits events when the Window is closed through the `Esc` key, the **Close** button of the title bar, or by calling the `close` method. When the Window is closed with the title bar button, `Esc`, or by calling `close` with no arguments, the result is of type [`WindowCloseResult`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowcloseresult). When `close` is called with an argument, the result is the passed argument.
1294
+ */
1295
+ result: Observable<WindowCloseResult>;
1296
+ }
1297
+
1298
+ /**
1299
+ * Represents the settings for the Window actions when you open a Window through `WindowService`. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowservice#open))
1300
+ */
1301
+ declare class WindowSettings {
1302
+ /**
1303
+ * Use the `preventClose` predicate to check if closing the Window should be prevented. Applies to clicking the **Close** button, pressing **Esc**, or calling the `close` method. Return `true` to prevent closing. If the **Close** button or **Esc** is used, a [`WindowCloseResult`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowcloseresult) instance is passed.
1304
+ * @param {any} ev The event argument.
1305
+ * @param {WindowRef} [windowRef] - The window reference, provided only when you create the window using a component.
1306
+ * @returns Returns `true` to prevent closing the window.
1307
+ */
1308
+ preventClose?: (ev: any, windowRef?: WindowRef) => boolean;
1309
+ /**
1310
+ * Sets the Window `title`.
1311
+ */
1312
+ title?: string;
1313
+ /**
1314
+ * Defines the Window `content`.
1315
+ */
1316
+ content?: string | TemplateRef<any> | Function;
1317
+ /**
1318
+ * Defines the content of the title bar.
1319
+ */
1320
+ titleBarContent?: TemplateRef<any>;
1321
+ /**
1322
+ * Sets the text of the labels shown in the Window. Use for localization.
1323
+ */
1324
+ messages?: WindowMessages;
1325
+ /**
1326
+ * Set to `true` to persist the Window content in the DOM when minimized.
1327
+ */
1328
+ keepContent?: boolean;
1329
+ /**
1330
+ * Sets the width of the Window in pixels.
1331
+ */
1332
+ width?: number;
1333
+ /**
1334
+ * Sets the minimum width of the Window in pixels.
1335
+ */
1336
+ minWidth?: number;
1337
+ /**
1338
+ * Sets the height of the Window in pixels.
1339
+ */
1340
+ height?: number;
1341
+ /**
1342
+ * Sets the minimum height of the Window in pixels.
1343
+ */
1344
+ minHeight?: number;
1345
+ /**
1346
+ * Sets the left offset of the Window in pixels.
1347
+ */
1348
+ left?: number;
1349
+ /**
1350
+ * Sets the top offset of the Window in pixels.
1351
+ */
1352
+ top?: number;
1353
+ /**
1354
+ * Specifies is the Window is draggable.
1355
+ */
1356
+ draggable?: boolean;
1357
+ /**
1358
+ * Sets custom CSS classes for the Window wrapper element. Accepts any value supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
1359
+ */
1360
+ cssClass?: any;
1361
+ /**
1362
+ * Sets HTML attributes for the Window wrapper element. Accepts string key-value pairs.
1363
+ *
1364
+ * @remarks
1365
+ * This option is related to accessibility.
1366
+ */
1367
+ htmlAttributes?: {
1368
+ [key: string]: string;
1369
+ };
1370
+ /**
1371
+ * Specifies if the Window is resizable.
1372
+ */
1373
+ resizable?: boolean;
1374
+ /**
1375
+ * Sets the initial state of the Window.
1376
+ */
1377
+ state?: WindowState;
1378
+ /**
1379
+ * Defines the container where the Window is inserted. This changes the place in the page hierarchy where the Window appears.
1380
+ */
1381
+ appendTo?: ViewContainerRef;
1382
+ /**
1383
+ * Sets the query selector for the element to focus automatically.
1384
+ */
1385
+ autoFocusedElement?: string;
1386
+ }
1387
+
1388
+ /**
1389
+ * @hidden
1390
+ */
1391
+ declare class WindowContainerService {
1392
+ private static container;
1393
+ set container(container: ViewContainerRef);
1394
+ get container(): ViewContainerRef;
1395
+ static ɵfac: i0.ɵɵFactoryDeclaration<WindowContainerService, never>;
1396
+ static ɵprov: i0.ɵɵInjectableDeclaration<WindowContainerService>;
1397
+ }
1398
+
1399
+ /**
1400
+ * Provides methods for opening Windows dynamically.
1401
+ *
1402
+ * Use this service to open a Window component and manage its lifecycle. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/window/service))
1403
+ */
1404
+ declare class WindowService {
1405
+ private containerService;
1406
+ constructor(containerService: WindowContainerService);
1407
+ /**
1408
+ * Opens a Window component with the specified settings.
1409
+ *
1410
+ * @param settings The settings that configure the Window.
1411
+ * @returns A `WindowRef` instance for controlling the Window.
1412
+ *
1413
+ * @example
1414
+ * ```ts
1415
+ * const window = windowService.open({
1416
+ * title: 'My window',
1417
+ * content: 'My content!'
1418
+ * });
1419
+ * ```
1420
+ */
1421
+ open(settings: WindowSettings): WindowRef;
1422
+ private applyOptions;
1423
+ private contentFrom;
1424
+ static ɵfac: i0.ɵɵFactoryDeclaration<WindowService, never>;
1425
+ static ɵprov: i0.ɵɵInjectableDeclaration<WindowService>;
1426
+ }
1427
+
1428
+ /**
1429
+ * Represents an insertion point for Dialogs created through the Dialog service.
1430
+ * The created Dialogs mount after this element. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogservice#open))
1431
+ *
1432
+ * @example
1433
+ * ```html
1434
+ * <div kendoDialogContainer></div>
1435
+ * ```
1436
+ */
1437
+ declare class DialogContainerDirective {
1438
+ constructor(container: ViewContainerRef, service: DialogContainerService);
1439
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogContainerDirective, never>;
1440
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DialogContainerDirective, "[kendoDialogContainer]", never, {}, {}, never, never, true, never>;
1441
+ }
1442
+
1443
+ /**
1444
+ * @hidden
1445
+ */
1446
+ declare class Messages extends ComponentMessages {
1447
+ /**
1448
+ * Sets the title for the **Close** button.
1449
+ */
1450
+ closeTitle: string;
1451
+ /**
1452
+ * Sets the title for the **Restore** button.
1453
+ */
1454
+ restoreTitle: string;
1455
+ /**
1456
+ * Sets the title for the **Maximize** button.
1457
+ */
1458
+ maximizeTitle: string;
1459
+ /**
1460
+ * Sets the title for the **Minimize** button.
1461
+ */
1462
+ minimizeTitle: string;
1463
+ static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
1464
+ static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "kendo-dialog-messages-base", never, { "closeTitle": { "alias": "closeTitle"; "required": false; }; "restoreTitle": { "alias": "restoreTitle"; "required": false; }; "maximizeTitle": { "alias": "maximizeTitle"; "required": false; }; "minimizeTitle": { "alias": "minimizeTitle"; "required": false; }; }, {}, never, never, true, never>;
1465
+ }
1466
+
1467
+ /**
1468
+ * Represents a component for customizing the messages in Dialog and Window components.
1469
+ *
1470
+ * Use the `CustomMessagesComponent` to override default messages with custom text. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/globalization#internationalization)).
1471
+ *
1472
+ * @example
1473
+ * ```typescript
1474
+ * import { CustomMessagesComponent } from './custom-messages.component';
1475
+ *
1476
+ * @Component({
1477
+ * selector: 'my-dialog',
1478
+ * template: `
1479
+ * <kendo-dialog>
1480
+ * <kendo-dialog-messages
1481
+ * [closeTitle]="'Close dialog'"
1482
+ * [restoreTitle]="'Restore dialog'"
1483
+ * [maximizeTitle]="'Maximize dialog'"
1484
+ * [minimizeTitle]="'Minimize dialog'">
1485
+ * </kendo-dialog-messages>
1486
+ * </kendo-dialog>
1487
+ * `
1488
+ * })
1489
+ * export class MyDialogComponent {}
1490
+ * ```
1491
+ */
1492
+ declare class CustomMessagesComponent extends Messages {
1493
+ protected service: LocalizationService;
1494
+ constructor(service: LocalizationService);
1495
+ protected get override(): boolean;
1496
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomMessagesComponent, never>;
1497
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CustomMessagesComponent, "kendo-dialog-messages, kendo-window-messages", never, {}, {}, never, never, true, never>;
1498
+ }
1499
+
1500
+ /**
1501
+ * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the Dialog component.
1502
+ *
1503
+ * Use the `DialogModule` to include all Dialog components and directives in your application.
1504
+ *
1505
+ * @example
1506
+ * ```typescript
1507
+ * import { NgModule } from '@angular/core';
1508
+ * import { BrowserModule } from '@angular/platform-browser';
1509
+ * import { DialogModule } from '@progress/kendo-angular-dialog';
1510
+ * import { AppComponent } from './app.component';
1511
+ *
1512
+ * @NgModule({
1513
+ * bootstrap: [AppComponent],
1514
+ * declarations: [AppComponent],
1515
+ * imports: [BrowserModule, DialogModule]
1516
+ * })
1517
+ * export class AppModule {}
1518
+ * ```
1519
+ */
1520
+ declare class DialogModule {
1521
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogModule, never>;
1522
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DialogModule, never, [typeof DialogComponent, typeof DialogTitleBarComponent, typeof DialogContainerDirective, typeof DialogActionsComponent, typeof CustomMessagesComponent], [typeof DialogComponent, typeof DialogTitleBarComponent, typeof DialogContainerDirective, typeof DialogActionsComponent, typeof CustomMessagesComponent]>;
1523
+ static ɵinj: i0.ɵɵInjectorDeclaration<DialogModule>;
1524
+ }
1525
+
1526
+ /**
1527
+ * Represents an insertion point for Windows created through the Window service.
1528
+ * The created Windows mount after this element. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowservice#open))
1529
+ *
1530
+ * @example
1531
+ * ```html
1532
+ * <div kendoWindowContainer></div>
1533
+ * ```
1534
+ */
1535
+ declare class WindowContainerDirective {
1536
+ constructor(container: ViewContainerRef, service: WindowContainerService);
1537
+ static ɵfac: i0.ɵɵFactoryDeclaration<WindowContainerDirective, never>;
1538
+ static ɵdir: i0.ɵɵDirectiveDeclaration<WindowContainerDirective, "[kendoWindowContainer]", never, {}, {}, never, never, true, never>;
1539
+ }
1540
+
1541
+ /**
1542
+ * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the Window component.
1543
+ *
1544
+ * Use the `WindowModule` to include all Window components and directives in your application.
1545
+ *
1546
+ * @example
1547
+ * ```typescript
1548
+ * import { NgModule } from '@angular/core';
1549
+ * import { BrowserModule } from '@angular/platform-browser';
1550
+ * import { WindowModule } from '@progress/kendo-angular-window';
1551
+ * import { AppComponent } from './app.component';
1552
+ *
1553
+ * @NgModule({
1554
+ * bootstrap: [AppComponent],
1555
+ * declarations: [AppComponent],
1556
+ * imports: [BrowserModule, WindowModule]
1557
+ * })
1558
+ * export class AppModule {}
1559
+ * ```
1560
+ */
1561
+ declare class WindowModule {
1562
+ static ɵfac: i0.ɵɵFactoryDeclaration<WindowModule, never>;
1563
+ static ɵmod: i0.ɵɵNgModuleDeclaration<WindowModule, never, [typeof WindowComponent, typeof WindowCloseActionDirective, typeof WindowMinimizeActionDirective, typeof WindowMaximizeActionDirective, typeof WindowRestoreActionDirective, typeof WindowTitleBarComponent, typeof WindowContainerDirective, typeof DialogActionsComponent, typeof CustomMessagesComponent], [typeof WindowComponent, typeof WindowCloseActionDirective, typeof WindowMinimizeActionDirective, typeof WindowMaximizeActionDirective, typeof WindowRestoreActionDirective, typeof WindowTitleBarComponent, typeof WindowContainerDirective, typeof DialogActionsComponent, typeof CustomMessagesComponent]>;
1564
+ static ɵinj: i0.ɵɵInjectorDeclaration<WindowModule>;
1565
+ }
1566
+
1567
+ /**
1568
+ * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the Dialogs components.
1569
+ *
1570
+ * Use the `DialogsModule` to include all Dialog and Window components and services in your application.
1571
+ *
1572
+ * @example
1573
+ * ```typescript
1574
+ * import { DialogsModule } from '@progress/kendo-angular-dialog';
1575
+ * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
1576
+ * import { NgModule } from '@angular/core';
1577
+ * import { AppComponent } from './app.component';
1578
+ *
1579
+ * @NgModule({
1580
+ * declarations: [AppComponent],
1581
+ * imports: [BrowserModule, DialogsModule],
1582
+ * bootstrap: [AppComponent]
1583
+ * })
1584
+ * export class AppModule {}
1585
+ *
1586
+ * ```
1587
+ */
1588
+ declare class DialogsModule {
1589
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogsModule, never>;
1590
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DialogsModule, never, [typeof DialogComponent, typeof DialogTitleBarComponent, typeof DialogContainerDirective, typeof DialogActionsComponent, typeof CustomMessagesComponent, typeof WindowComponent, typeof WindowCloseActionDirective, typeof WindowMinimizeActionDirective, typeof WindowMaximizeActionDirective, typeof WindowRestoreActionDirective, typeof WindowTitleBarComponent, typeof WindowContainerDirective, typeof DialogActionsComponent, typeof CustomMessagesComponent], [typeof DialogComponent, typeof DialogTitleBarComponent, typeof DialogContainerDirective, typeof DialogActionsComponent, typeof CustomMessagesComponent, typeof WindowComponent, typeof WindowCloseActionDirective, typeof WindowMinimizeActionDirective, typeof WindowMaximizeActionDirective, typeof WindowRestoreActionDirective, typeof WindowTitleBarComponent, typeof WindowContainerDirective, typeof DialogActionsComponent, typeof CustomMessagesComponent]>;
1591
+ static ɵinj: i0.ɵɵInjectorDeclaration<DialogsModule>;
1592
+ }
1593
+
1594
+ /**
1595
+ * @hidden
1596
+ */
1597
+ declare class LocalizedMessagesDirective extends Messages {
1598
+ protected service: LocalizationService;
1599
+ constructor(service: LocalizationService);
1600
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedMessagesDirective, never>;
1601
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, " [kendoDialogLocalizedMessages], [kendoWindowLocalizedMessages], [kendoDialogTitleBarLocalizedMessages] ", never, {}, {}, never, never, true, never>;
1602
+ }
1603
+
1604
+ /**
1605
+ * Represents the utility array that that contains all `Dialog`-related components and directives.
1606
+ *
1607
+ * Use `KENDO_DIALOG` to import all Dialog components and directives at once.
1608
+ *
1609
+ * @example
1610
+ * ```typescript
1611
+ * import { Component } from '@angular/core';
1612
+ * import { KENDO_DIALOG } from '@progress/kendo-angular-dialog';
1613
+ *
1614
+ * @Component({
1615
+ * selector: 'my-dialog-app',
1616
+ * standalone: true,
1617
+ * imports: [KENDO_DIALOG],
1618
+ * template: `...`
1619
+ * })
1620
+ * export class DialogAppComponent {}
1621
+ * ```
1622
+ */
1623
+ declare const KENDO_DIALOG: readonly [typeof DialogComponent, typeof DialogTitleBarComponent, typeof DialogContainerDirective, typeof DialogActionsComponent, typeof CustomMessagesComponent];
1624
+ /**
1625
+ * Represents the utility array that contains all `Window`-related components and directives.
1626
+ *
1627
+ * Use `KENDO_WINDOW` to import all Window components and directives at once.
1628
+ *
1629
+ * @example
1630
+ * ```typescript
1631
+ * import { Component } from '@angular/core';
1632
+ * import { KENDO_WINDOW } from '@progress/kendo-angular-dialog';
1633
+ *
1634
+ * @Component({
1635
+ * selector: 'my-window-app',
1636
+ * standalone: true,
1637
+ * imports: [KENDO_WINDOW],
1638
+ * template: `...`
1639
+ * })
1640
+ * export class WindowAppComponent {}
1641
+ * ```
1642
+ */
1643
+ declare const KENDO_WINDOW: readonly [typeof WindowComponent, typeof WindowCloseActionDirective, typeof WindowMinimizeActionDirective, typeof WindowMaximizeActionDirective, typeof WindowRestoreActionDirective, typeof WindowTitleBarComponent, typeof WindowContainerDirective, typeof DialogActionsComponent, typeof CustomMessagesComponent];
1644
+ /**
1645
+ * Represents the utility array that contains all `@progress/kendo-angular-dialog`-related components and directives.
1646
+ *
1647
+ * Use `KENDO_DIALOGS` to import all Dialog and Window components and directives at once.
1648
+ *
1649
+ * @example
1650
+ * ```typescript
1651
+ * import { Component } from '@angular/core';
1652
+ * import { KENDO_DIALOGS } from '@progress/kendo-angular-dialog';
1653
+ *
1654
+ * @Component({
1655
+ * selector: 'my-app',
1656
+ * standalone: true,
1657
+ * imports: [KENDO_DIALOGS],
1658
+ * template: `...`
1659
+ * })
1660
+ * export class AppComponent {}
1661
+ * ```
1662
+ */
1663
+ declare const KENDO_DIALOGS: readonly [typeof DialogComponent, typeof DialogTitleBarComponent, typeof DialogContainerDirective, typeof DialogActionsComponent, typeof CustomMessagesComponent, typeof WindowComponent, typeof WindowCloseActionDirective, typeof WindowMinimizeActionDirective, typeof WindowMaximizeActionDirective, typeof WindowRestoreActionDirective, typeof WindowTitleBarComponent, typeof WindowContainerDirective, typeof DialogActionsComponent, typeof CustomMessagesComponent];
1664
+
1665
+ export { CustomMessagesComponent, DialogAction, DialogActionsComponent, DialogCloseResult, DialogComponent, DialogContainerDirective, DialogContainerService, DialogContentBase, DialogModule, DialogRef, DialogService, DialogSettings, DialogTitleBarComponent, DialogsModule, DragResizeService, KENDO_DIALOG, KENDO_DIALOGS, KENDO_WINDOW, LocalizedMessagesDirective, Messages, NavigationService, PreventableEvent, WindowCloseActionDirective, WindowCloseResult, WindowComponent, WindowContainerDirective, WindowContainerService, WindowMaximizeActionDirective, WindowMinimizeActionDirective, WindowModule, WindowRef, WindowRestoreActionDirective, WindowService, WindowSettings, WindowTitleBarComponent };
1666
+ export type { ActionsLayout, AnimationDirection, DialogActionDivider, DialogAnimation, DialogAnimationType, DialogResult, WindowDimensionSetting, WindowState };