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

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 +89 -84
  2. package/index.d.ts +1668 -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
@@ -1,239 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { AfterContentInit, AfterViewInit, EventEmitter, OnInit, OnDestroy, ElementRef, TemplateRef, Renderer2, ChangeDetectorRef, NgZone, QueryList } from '@angular/core';
6
- import { AnimationBuilder } from '@angular/animations';
7
- import { DialogActionsComponent } from './dialog-actions.component';
8
- import { DialogTitleBarComponent } from './dialog-titlebar.component';
9
- import { LocalizationService } from '@progress/kendo-angular-l10n';
10
- import { LicenseMessage } from '@progress/kendo-licensing';
11
- import { ActionsLayout } from '../common/actions-layout';
12
- import { DialogAction } from './models/dialog-action';
13
- import { DialogAnimation } from './models/dialog-animation';
14
- import * as i0 from "@angular/core";
15
- /**
16
- * Represents the [Kendo UI Dialog component for Angular](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog).
17
- *
18
- * Use this component to display modal dialog windows in your application.
19
- *
20
- * @example
21
- * ```ts
22
- * import { Component } from '@angular/core';
23
- *
24
- * @Component({
25
- * selector: 'my-app',
26
- * template: `
27
- * <kendo-dialog title="Example Dialog">
28
- * <p>Dialog content goes here.</p>
29
- * </kendo-dialog>
30
- * `
31
- * })
32
- * export class AppComponent {}
33
- * ```
34
- *
35
- * @remarks
36
- * Supported children components are: {@link DialogTitleBarComponent}, {@link DialogActionsComponent}, {@link CustomMessagesComponent}.
37
- */
38
- export declare class DialogComponent implements AfterContentInit, AfterViewInit, OnInit, OnDestroy {
39
- private wrapper;
40
- private renderer;
41
- private cdr;
42
- private ngZone;
43
- private builder;
44
- /**
45
- * Specifies the action buttons to render in the Dialog.
46
- *
47
- * @type {DialogAction[]}
48
- */
49
- actions: DialogAction[];
50
- /**
51
- * Sets the layout of the action buttons in the Dialog. Applies only if you specify action buttons through the `actions` option.
52
- *
53
- * @type {ActionsLayout}
54
- * @default 'stretched'
55
- */
56
- actionsLayout: ActionsLayout;
57
- /**
58
- * 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))
59
- *
60
- * @type {string}
61
- *
62
- * @remarks
63
- * This property is related to accessibility.
64
- */
65
- autoFocusedElement: string;
66
- /**
67
- * Specifies whether the Dialog can be closed by the **Close** button in the title bar or by pressing the `Esc` key.
68
- *
69
- * @type {boolean}
70
- * @default true
71
- */
72
- set closable(value: boolean);
73
- get closable(): boolean;
74
- /**
75
- * Sets the text in the Dialog title bar.
76
- *
77
- * @type {string}
78
- */
79
- title: string;
80
- /**
81
- * Sets the width of the Dialog. Use a number for pixels or a string for units (for example, `50%`).
82
- *
83
- * @type {number | string}
84
- */
85
- width: number | string;
86
- /**
87
- * Sets the minimum width of the Dialog. Use a number for pixels or a string for units (for example, `50%`).
88
- *
89
- * @type {number | string}
90
- */
91
- minWidth: number | string;
92
- /**
93
- * Sets the maximum width of the Dialog. Use a number for pixels or a string for units (for example, `50%`).
94
- *
95
- * @type {number | string}
96
- */
97
- maxWidth: number | string;
98
- /**
99
- * Sets the height of the Dialog. Use a number for pixels or a string for units (for example, `50%`).
100
- *
101
- * @type {number | string}
102
- */
103
- height: number | string;
104
- /**
105
- * Sets the minimum height of the Dialog. Use a number for pixels or a string for units (for example, `50%`).
106
- *
107
- * @type {number | string}
108
- */
109
- minHeight: number | string;
110
- /**
111
- * Sets the maximum height of the Dialog. Use a number for pixels or a string for units (for example, `50%`).
112
- *
113
- * @type {number | string}
114
- */
115
- maxHeight: number | string;
116
- /**
117
- * Configures the Dialog opening animation ([see example](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/animations)).
118
- * The default animation type is `translate` and the duration is `300ms`.
119
- *
120
- * @type {boolean | DialogAnimation}
121
- * @default true
122
- */
123
- animation: boolean | DialogAnimation;
124
- /**
125
- * @hidden
126
- */
127
- set htmlAttributes(attributes: {
128
- [key: string]: string;
129
- });
130
- get htmlAttributes(): {
131
- [key: string]: string;
132
- };
133
- /**
134
- * @hidden
135
- */
136
- set cssClass(classes: any);
137
- get cssClass(): any;
138
- /**
139
- * @hidden
140
- */
141
- contentTemplate: TemplateRef<any>;
142
- /**
143
- * @hidden
144
- */
145
- titleId: string;
146
- /**
147
- * @hidden
148
- */
149
- contentId: string;
150
- /**
151
- * @hidden
152
- */
153
- closeTitle: string;
154
- /**
155
- * @hidden
156
- */
157
- showLicenseWatermark: boolean;
158
- /**
159
- * @hidden
160
- */
161
- licenseMessage?: LicenseMessage;
162
- /**
163
- * Emits when the user clicks an action button in the Dialog. Fires only if you specify action buttons through the `actions` option.
164
- *
165
- * @type {EventEmitter<DialogAction>}
166
- */
167
- action: EventEmitter<DialogAction>;
168
- /**
169
- * Emits when the user clicks the **Close** button or presses the `ESC` key.
170
- *
171
- * @type {EventEmitter<any>}
172
- */
173
- close: EventEmitter<any>;
174
- get dir(): string;
175
- tabIndex: number;
176
- titlebarContent: QueryList<DialogTitleBarComponent>;
177
- titlebarView: QueryList<DialogTitleBarComponent>;
178
- actionsView: DialogActionsComponent;
179
- dialog: ElementRef;
180
- private _htmlAttributes;
181
- private _cssClass;
182
- private _closable;
183
- private direction;
184
- private subscriptions;
185
- private domSubs;
186
- constructor(wrapper: ElementRef, renderer: Renderer2, localization: LocalizationService, cdr: ChangeDetectorRef, ngZone: NgZone, builder: AnimationBuilder);
187
- ngAfterContentInit(): void;
188
- ngAfterViewInit(): void;
189
- ngOnInit(): void;
190
- ngOnDestroy(): void;
191
- /**
192
- * Focuses the wrapper of the Dialog component.
193
- */
194
- focus(): void;
195
- private initDomEvents;
196
- private onKeyDown;
197
- private setServiceClasses;
198
- /**
199
- * @hidden
200
- */
201
- private handleInitialFocus;
202
- /**
203
- * @hidden
204
- */
205
- private findPrimary;
206
- /**
207
- * @hidden
208
- */
209
- private handleActionButtonFocus;
210
- /**
211
- * @hidden
212
- */
213
- private keepFocusWithinComponent;
214
- /**
215
- * @hidden
216
- */
217
- private shouldFocusPrimary;
218
- /**
219
- * @hidden
220
- */
221
- private getAllFocusableChildren;
222
- /**
223
- * @hidden
224
- */
225
- private getFirstAndLastFocusable;
226
- /**
227
- * @hidden
228
- */
229
- private generateTitleId;
230
- /**
231
- * @hidden
232
- */
233
- private generateContentId;
234
- get wrapperClass(): boolean;
235
- get styles(): any;
236
- private bubble;
237
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
238
- 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>;
239
- }
@@ -1,44 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { DialogContainerService } from './dialog-container.service';
6
- import { DialogRef } from './models/dialog-ref';
7
- import { DialogSettings } from './models';
8
- import * as i0 from "@angular/core";
9
- /**
10
- * Provides a service for opening Dialog windows dynamically ([see example](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service)).
11
- */
12
- export declare class DialogService {
13
- private containerService;
14
- constructor(containerService: DialogContainerService);
15
- /**
16
- * Opens a Dialog window. Requires an element in the application that uses the
17
- * [`kendoDialogContainer`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogcontainerdirective) directive.
18
- * The created Dialog mounts in the DOM directly after that element.
19
- *
20
- * @param {DialogAction} options - The options that define the Dialog.
21
- * @returns {DialogRef} - A reference to the Dialog object and its convenience properties.
22
- *
23
- * @example
24
- * ```typescript
25
- * const dialog = this.dialogService.open({
26
- * title: 'Confirm',
27
- * content: 'Are you sure?',
28
- * actions: [
29
- * { text: 'No' },
30
- * { text: 'Yes', themeColor: 'primary' }
31
- * ]
32
- * });
33
- * dialog.result.subscribe(result => {
34
- * // handle result
35
- * });
36
- * ```
37
- */
38
- open(options: DialogSettings): DialogRef;
39
- private initializeDialog;
40
- private applyOptions;
41
- private contentFrom;
42
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
43
- static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
44
- }
@@ -1,11 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * Represents a Dialog action used as a divider between action buttons.
7
- *
8
- * Use the `DialogActionDivider` type to add a visual spacer in the Dialog actions area.
9
- *
10
- */
11
- export type DialogActionDivider = 'spacer';
@@ -1,42 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { ButtonFillMode, ButtonThemeColor } from "@progress/kendo-angular-buttons";
6
- import { SVGIcon } from "@progress/kendo-svg-icons";
7
- /**
8
- * Represents the settings for Dialog actions when you open a Dialog through `DialogService`.
9
- *
10
- * 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))
11
- *
12
- */
13
- export declare class DialogAction {
14
- /**
15
- * Sets the text of the action button.
16
- */
17
- text: string;
18
- /**
19
- * Sets the theme color of the action button. The theme color applies to the background, border, and text.
20
- */
21
- themeColor?: ButtonThemeColor;
22
- /**
23
- * Sets the background and border styles of the action button.
24
- */
25
- fillMode?: ButtonFillMode;
26
- /**
27
- * Sets the CSS classes for the action button. Accepts any value supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
28
- */
29
- cssClass?: any;
30
- /**
31
- * Sets the [SVG icon](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list) to display in the action button.
32
- */
33
- svgIcon?: SVGIcon;
34
- /**
35
- * 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.
36
- */
37
- icon?: string;
38
- /**
39
- * @hidden
40
- */
41
- disabled?: boolean;
42
- }
@@ -1,26 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { DialogAnimationType } from "../../common/animation-types";
6
- import { AnimationDirection } from '../../common/dialog-animation-direction';
7
- /**
8
- * Represents the settings for Dialog animations when you open the Dialog component.
9
- *
10
- * Use the `DialogAnimation` interface to configure animation duration, type, and direction. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/animations))
11
- *
12
- */
13
- export interface DialogAnimation {
14
- /**
15
- * Sets the duration of the Dialog opening animation in milliseconds.
16
- */
17
- duration?: number;
18
- /**
19
- * Sets the Dialog opening animation type.
20
- */
21
- type?: DialogAnimationType;
22
- /**
23
- * Sets the direction of the Dialog opening animation. Applies to the `slide` and `expand` animation types.
24
- */
25
- direction?: AnimationDirection;
26
- }
@@ -1,12 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * Represents the result when the **Close** button is clicked in a Dialog opened through `DialogService`.
7
- *
8
- * 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))
9
- *
10
- */
11
- export declare class DialogCloseResult {
12
- }
@@ -1,43 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { ComponentRef } from '@angular/core';
6
- import { Observable } from 'rxjs';
7
- import { DialogComponent } from '../dialog.component';
8
- import { DialogResult } from './dialog-result';
9
- /**
10
- * Holds references to the Dialog instance and published events when you open a Dialog through the `DialogService`.
11
- *
12
- * 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))
13
- *
14
- */
15
- export declare class DialogRef {
16
- /**
17
- * 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.
18
- */
19
- result: Observable<DialogResult>;
20
- /**
21
- * A reference to the Dialog instance.
22
- */
23
- dialog: ComponentRef<DialogComponent>;
24
- /**
25
- * 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).
26
- */
27
- content: ComponentRef<any>;
28
- /**
29
- * 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.
30
- *
31
- * ```ts
32
- * // Close without arguments: Returns an empty `DialogCloseResult` object.
33
- * dialogRef.close();
34
- *
35
- * // Simulate clicking an action button: Pass a `DialogAction` object.
36
- * dialogRef.close({ text: 'OK', primary: true });
37
- *
38
- * // Return custom data: Pass a custom object.
39
- * dialogRef.close({ success: true, data: { id: 123 } });
40
- * ```
41
- */
42
- close: Function;
43
- }
@@ -1,14 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { DialogAction } from "./dialog-action";
6
- import { DialogCloseResult } from "./dialog-close-result";
7
- /**
8
- * Represents the possible result types of the Dialog.
9
- *
10
- * 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.
11
- * 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))
12
- *
13
- */
14
- export type DialogResult = DialogCloseResult | DialogAction;
@@ -1,106 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { TemplateRef, ViewContainerRef } from "@angular/core";
6
- import { ActionsLayout } from "./../../common/actions-layout";
7
- import { DialogAnimation } from "./dialog-animation";
8
- import { DialogRef } from "./dialog-ref";
9
- import { DialogResult } from "./dialog-result";
10
- /**
11
- * Represents the settings for opening a Dialog through the `DialogService`.
12
- * ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogservice#open))
13
- *
14
- */
15
- export declare class DialogSettings {
16
- /**
17
- * Use the `preventAction` callback to check if the pressed Dialog action should be prevented. If `true`, the Dialog does not close.
18
- * If the **Close** button in the title bar is clicked, `DialogResult` is a `DialogCloseResult` instance.
19
- * 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))
20
- * @param {DialogResult} ev The Dialog result.
21
- * @param {DialogRef} [dialogRef] The Dialog reference, provided only when you create the Dialog using a component.
22
- * @returns Returns `true` to prevent closing the Dialog.
23
- */
24
- preventAction?: (ev: DialogResult, dialogRef?: DialogRef) => boolean;
25
- /**
26
- * Sets the Dialog `title`. If you omit `title`, the Dialog does not render a **Close** button.
27
- */
28
- title?: string;
29
- /**
30
- * Sets the CSS classes for the Dialog wrapper element. Accepts any value supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
31
- */
32
- cssClass?: any;
33
- /**
34
- * Configures the Dialog opening `animation` ([see example](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/animations)).
35
- * @default { type: 'translate', duration: 300 }
36
- */
37
- animation?: boolean | DialogAnimation;
38
- /**
39
- * Sets the HTML attributes for the Dialog wrapper element. Accepts string key-value pairs.
40
- *
41
- * @remarks
42
- * This option is related to accessibility.
43
- */
44
- htmlAttributes?: {
45
- [key: string]: string;
46
- };
47
- /**
48
- * Defines the Dialog `content`. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service#rendering-the-content-area))
49
- */
50
- content?: string | TemplateRef<any> | Function;
51
- /**
52
- * Sets the width of the Dialog.
53
- * Use a number for pixels or a string for other units, for example, `50%`.
54
- */
55
- width?: number | string;
56
- /**
57
- * Sets the minimum width of the Dialog.
58
- * Use a number for pixels or a string for other units, for example, `50%`.
59
- */
60
- minWidth?: number | string;
61
- /**
62
- * Sets the maximum width of the Dialog.
63
- * Use a number for pixels or a string for other units, for example, `50%`.
64
- */
65
- maxWidth?: number | string;
66
- /**
67
- * Sets the height of the Dialog.
68
- * Use a number for pixels or a string for other units, for example, `50%`.
69
- */
70
- height?: number | string;
71
- /**
72
- * Sets the minimum height of the Dialog.
73
- * Use a number for pixels or a string for other units, for example, `50%`.
74
- */
75
- minHeight?: number | string;
76
- /**
77
- * Sets the maximum height of the Dialog.
78
- * Use a number for pixels or a string for other units, for example, `50%`.
79
- */
80
- maxHeight?: number | string;
81
- /**
82
- * 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.
83
- */
84
- appendTo?: ViewContainerRef;
85
- /**
86
- * Sets the `closeTitle` for the **Close** button.
87
- */
88
- closeTitle?: string;
89
- /**
90
- * Specifies whether the Dialog can be closed by the **Close** button in the title bar or by pressing the `Esc` key.
91
- * @default true
92
- */
93
- closable?: boolean;
94
- /**
95
- * Sets the Dialog `actions` buttons.
96
- */
97
- actions?: any[] | TemplateRef<any>;
98
- /**
99
- * Sets the layout of the Dialog action buttons with `actionsLayout`.
100
- */
101
- actionsLayout?: ActionsLayout;
102
- /**
103
- * Sets the query selector for the element to focus automatically with `autoFocusedElement`.
104
- */
105
- autoFocusedElement?: string;
106
- }
@@ -1,11 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export * from './dialog-action';
6
- export * from './dialog-close-result';
7
- export * from './dialog-ref';
8
- export * from './dialog-result';
9
- export * from './dialog-settings';
10
- export * from './dialog-animation';
11
- export * from './dialog-action-divider';
@@ -1,35 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "./dialog/dialog.component";
7
- import * as i2 from "./dialog/dialog-titlebar.component";
8
- import * as i3 from "./dialog/dialog-container.directive";
9
- import * as i4 from "./dialog/dialog-actions.component";
10
- import * as i5 from "./localization/custom-messages.component";
11
- /**
12
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the Dialog component.
13
- *
14
- * Use the `DialogModule` to include all Dialog components and directives in your application.
15
- *
16
- * @example
17
- * ```typescript
18
- * import { NgModule } from '@angular/core';
19
- * import { BrowserModule } from '@angular/platform-browser';
20
- * import { DialogModule } from '@progress/kendo-angular-dialog';
21
- * import { AppComponent } from './app.component';
22
- *
23
- * @NgModule({
24
- * bootstrap: [AppComponent],
25
- * declarations: [AppComponent],
26
- * imports: [BrowserModule, DialogModule]
27
- * })
28
- * export class AppModule {}
29
- * ```
30
- */
31
- export declare class DialogModule {
32
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogModule, never>;
33
- static ɵmod: i0.ɵɵNgModuleDeclaration<DialogModule, never, [typeof i1.DialogComponent, typeof i2.DialogTitleBarComponent, typeof i3.DialogContainerDirective, typeof i4.DialogActionsComponent, typeof i5.CustomMessagesComponent], [typeof i1.DialogComponent, typeof i2.DialogTitleBarComponent, typeof i3.DialogContainerDirective, typeof i4.DialogActionsComponent, typeof i5.CustomMessagesComponent]>;
34
- static ɵinj: i0.ɵɵInjectorDeclaration<DialogModule>;
35
- }
@@ -1,43 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "./dialog/dialog.component";
7
- import * as i2 from "./dialog/dialog-titlebar.component";
8
- import * as i3 from "./dialog/dialog-container.directive";
9
- import * as i4 from "./dialog/dialog-actions.component";
10
- import * as i5 from "./localization/custom-messages.component";
11
- import * as i6 from "./window/window.component";
12
- import * as i7 from "./window/actions/window-close-action.directive";
13
- import * as i8 from "./window/actions/window-minimize-action.directive";
14
- import * as i9 from "./window/actions/window-maximize-action.directive";
15
- import * as i10 from "./window/actions/window-restore-action.directive";
16
- import * as i11 from "./window/window-titlebar.component";
17
- import * as i12 from "./window/window-container.directive";
18
- /**
19
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the Dialogs components.
20
- *
21
- * Use the `DialogsModule` to include all Dialog and Window components and services in your application.
22
- *
23
- * @example
24
- * ```typescript
25
- * import { DialogsModule } from '@progress/kendo-angular-dialog';
26
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
27
- * import { NgModule } from '@angular/core';
28
- * import { AppComponent } from './app.component';
29
- *
30
- * @NgModule({
31
- * declarations: [AppComponent],
32
- * imports: [BrowserModule, DialogsModule],
33
- * bootstrap: [AppComponent]
34
- * })
35
- * export class AppModule {}
36
- *
37
- * ```
38
- */
39
- export declare class DialogsModule {
40
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogsModule, never>;
41
- static ɵmod: i0.ɵɵNgModuleDeclaration<DialogsModule, never, [typeof i1.DialogComponent, typeof i2.DialogTitleBarComponent, typeof i3.DialogContainerDirective, typeof i4.DialogActionsComponent, typeof i5.CustomMessagesComponent, typeof i6.WindowComponent, typeof i7.WindowCloseActionDirective, typeof i8.WindowMinimizeActionDirective, typeof i9.WindowMaximizeActionDirective, typeof i10.WindowRestoreActionDirective, typeof i11.WindowTitleBarComponent, typeof i12.WindowContainerDirective, typeof i4.DialogActionsComponent, typeof i5.CustomMessagesComponent], [typeof i1.DialogComponent, typeof i2.DialogTitleBarComponent, typeof i3.DialogContainerDirective, typeof i4.DialogActionsComponent, typeof i5.CustomMessagesComponent, typeof i6.WindowComponent, typeof i7.WindowCloseActionDirective, typeof i8.WindowMinimizeActionDirective, typeof i9.WindowMaximizeActionDirective, typeof i10.WindowRestoreActionDirective, typeof i11.WindowTitleBarComponent, typeof i12.WindowContainerDirective, typeof i4.DialogActionsComponent, typeof i5.CustomMessagesComponent]>;
42
- static ɵinj: i0.ɵɵInjectorDeclaration<DialogsModule>;
43
- }