@progress/kendo-angular-dialog 24.2.2 → 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.
- package/fesm2022/progress-kendo-angular-dialog.mjs +83 -83
- package/index.d.ts +1662 -31
- package/package-metadata.mjs +2 -2
- package/package.json +11 -11
- package/schematics/ngAdd/index.js +1 -1
- package/common/actions-layout.d.ts +0 -11
- package/common/animation-types.d.ts +0 -11
- package/common/dialog-animation-direction.d.ts +0 -11
- package/common/preventable-event.d.ts +0 -26
- package/common/util.d.ts +0 -93
- package/dialog/dialog-actions.component.d.ts +0 -63
- package/dialog/dialog-animations/animate-content.d.ts +0 -11
- package/dialog/dialog-animations/animations.d.ts +0 -11
- package/dialog/dialog-animations/create-animation-player.d.ts +0 -10
- package/dialog/dialog-container.directive.d.ts +0 -21
- package/dialog/dialog-container.service.d.ts +0 -16
- package/dialog/dialog-content-base.d.ts +0 -41
- package/dialog/dialog-titlebar.component.d.ts +0 -58
- package/dialog/dialog.component.d.ts +0 -239
- package/dialog/dialog.service.d.ts +0 -44
- package/dialog/models/dialog-action-divider.d.ts +0 -11
- package/dialog/models/dialog-action.d.ts +0 -42
- package/dialog/models/dialog-animation.d.ts +0 -26
- package/dialog/models/dialog-close-result.d.ts +0 -12
- package/dialog/models/dialog-ref.d.ts +0 -43
- package/dialog/models/dialog-result.d.ts +0 -14
- package/dialog/models/dialog-settings.d.ts +0 -106
- package/dialog/models/index.d.ts +0 -11
- package/dialog.module.d.ts +0 -35
- package/dialogs.module.d.ts +0 -43
- package/directives.d.ts +0 -76
- package/localization/custom-messages.component.d.ts +0 -39
- package/localization/dialog-localization.service.d.ts +0 -10
- package/localization/localized-messages.directive.d.ts +0 -16
- package/localization/messages.d.ts +0 -29
- package/localization/titlebar-localization.service.d.ts +0 -16
- package/package-metadata.d.ts +0 -9
- package/window/actions/window-close-action.directive.d.ts +0 -36
- package/window/actions/window-maximize-action.directive.d.ts +0 -37
- package/window/actions/window-minimize-action.directive.d.ts +0 -37
- package/window/actions/window-restore-action.directive.d.ts +0 -37
- package/window/drag-resize.service.d.ts +0 -68
- package/window/models/index.d.ts +0 -10
- package/window/models/window-close-result.d.ts +0 -10
- package/window/models/window-messages.d.ts +0 -26
- package/window/models/window-options.d.ts +0 -20
- package/window/models/window-ref.d.ts +0 -29
- package/window/models/window-settings.d.ts +0 -97
- package/window/models/window-types.d.ts +0 -20
- package/window/navigation.service.d.ts +0 -24
- package/window/window-container.directive.d.ts +0 -21
- package/window/window-container.service.d.ts +0 -16
- package/window/window-events.d.ts +0 -13
- package/window/window-resize-handle.directive.d.ts +0 -26
- package/window/window-titlebar.component.d.ts +0 -59
- package/window/window.component.d.ts +0 -265
- package/window/window.service.d.ts +0 -36
- package/window.module.d.ts +0 -39
|
@@ -1,24 +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 { NgZone } from "@angular/core";
|
|
6
|
-
import { DragResizeService } from './drag-resize.service';
|
|
7
|
-
import { WindowState } from "./models/window-types";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class NavigationService {
|
|
13
|
-
private window;
|
|
14
|
-
private ngZone;
|
|
15
|
-
constructor(window: DragResizeService, ngZone: NgZone);
|
|
16
|
-
process(ev: KeyboardEvent): void;
|
|
17
|
-
handleArrow(key: string, ev: KeyboardEvent): void;
|
|
18
|
-
handleEscape(): void;
|
|
19
|
-
handleDrag(key: string): void;
|
|
20
|
-
handleResize(key: string): void;
|
|
21
|
-
handleStateChange(key: string, state: WindowState): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
|
|
23
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
|
|
24
|
-
}
|
|
@@ -1,21 +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 { ViewContainerRef } from '@angular/core';
|
|
6
|
-
import { WindowContainerService } from './window-container.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Represents an insertion point for Windows created through the Window service.
|
|
10
|
-
* The created Windows mount after this element. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowservice#open))
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```html
|
|
14
|
-
* <div kendoWindowContainer></div>
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
export declare class WindowContainerDirective {
|
|
18
|
-
constructor(container: ViewContainerRef, service: WindowContainerService);
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowContainerDirective, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<WindowContainerDirective, "[kendoWindowContainer]", never, {}, {}, never, never, true, never>;
|
|
21
|
-
}
|
|
@@ -1,16 +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 { ViewContainerRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class WindowContainerService {
|
|
11
|
-
private static container;
|
|
12
|
-
set container(container: ViewContainerRef);
|
|
13
|
-
get container(): ViewContainerRef;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowContainerService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<WindowContainerService>;
|
|
16
|
-
}
|
|
@@ -1,13 +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
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export interface ChangeEvent {
|
|
9
|
-
top?: number;
|
|
10
|
-
left?: number;
|
|
11
|
-
width?: number;
|
|
12
|
-
height?: number;
|
|
13
|
-
}
|
|
@@ -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 { OnInit, OnDestroy, ElementRef, Renderer2 } from '@angular/core';
|
|
6
|
-
import { DraggableDirective } from '@progress/kendo-angular-common';
|
|
7
|
-
import { DragResizeService } from './drag-resize.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class ResizeHandleDirective implements OnInit, OnDestroy {
|
|
13
|
-
draggable: DraggableDirective;
|
|
14
|
-
private el;
|
|
15
|
-
private renderer;
|
|
16
|
-
private service;
|
|
17
|
-
direction: string;
|
|
18
|
-
get hostClass(): boolean;
|
|
19
|
-
private subscriptions;
|
|
20
|
-
constructor(draggable: DraggableDirective, el: ElementRef, renderer: Renderer2, service: DragResizeService);
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
ngOnDestroy(): void;
|
|
23
|
-
private setDisplay;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResizeHandleDirective, [{ host: true; }, null, null, null]>;
|
|
25
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizeHandleDirective, "[kendoWindowResizeHandle]", never, { "direction": { "alias": "direction"; "required": false; }; }, {}, never, never, true, never>;
|
|
26
|
-
}
|
|
@@ -1,59 +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 { OnDestroy, OnInit, ElementRef, NgZone, TemplateRef, AfterViewInit } from '@angular/core';
|
|
6
|
-
import { DragResizeService } from './drag-resize.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Represents the title bar of the Window component.
|
|
10
|
-
*
|
|
11
|
-
*/
|
|
12
|
-
export declare class WindowTitleBarComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
13
|
-
el: ElementRef;
|
|
14
|
-
private ngZone;
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
template: TemplateRef<any>;
|
|
19
|
-
/**
|
|
20
|
-
* @hidden
|
|
21
|
-
*/
|
|
22
|
-
id: string;
|
|
23
|
-
/**
|
|
24
|
-
* @hidden
|
|
25
|
-
*/
|
|
26
|
-
service: DragResizeService;
|
|
27
|
-
private dragDirective;
|
|
28
|
-
private dragSubscription;
|
|
29
|
-
private stateSubscription;
|
|
30
|
-
constructor(el: ElementRef, service: DragResizeService, ngZone: NgZone);
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
ngAfterViewInit(): void;
|
|
33
|
-
ngOnDestroy(): void;
|
|
34
|
-
/**
|
|
35
|
-
* @hidden
|
|
36
|
-
*/
|
|
37
|
-
subscribeDrag(): void;
|
|
38
|
-
/**
|
|
39
|
-
* @hidden
|
|
40
|
-
*/
|
|
41
|
-
subscribeStateChange(): void;
|
|
42
|
-
/**
|
|
43
|
-
* @hidden
|
|
44
|
-
*/
|
|
45
|
-
unsubscribeDrag(): void;
|
|
46
|
-
/**
|
|
47
|
-
* @hidden
|
|
48
|
-
*/
|
|
49
|
-
unsubscribeState(): void;
|
|
50
|
-
get className(): true;
|
|
51
|
-
get touchAction(): string;
|
|
52
|
-
/**
|
|
53
|
-
* @hidden
|
|
54
|
-
*/
|
|
55
|
-
handle(ev: any): void;
|
|
56
|
-
protected get isDraggable(): boolean;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowTitleBarComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WindowTitleBarComponent, "kendo-window-titlebar", never, { "template": { "alias": "template"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
59
|
-
}
|
|
@@ -1,265 +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 { OnInit, OnDestroy, AfterViewInit, EventEmitter, ElementRef, Renderer2, QueryList, NgZone, OnChanges, SimpleChange, TemplateRef } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { LicenseMessage } from '@progress/kendo-licensing';
|
|
8
|
-
import { DragResizeService } from './drag-resize.service';
|
|
9
|
-
import { ResizeHandleDirective } from './window-resize-handle.directive';
|
|
10
|
-
import { WindowTitleBarComponent } from './window-titlebar.component';
|
|
11
|
-
import { NavigationService } from './navigation.service';
|
|
12
|
-
import { WindowDimensionSetting, WindowOffsetSetting, WindowState } from './models/window-types';
|
|
13
|
-
import { WindowMessages } from './models/window-messages';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
/**
|
|
16
|
-
* Represents the [Kendo UI Window component for Angular](https://www.telerik.com/kendo-angular-ui/components/dialogs/window).
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```html
|
|
20
|
-
* <kendo-window title="My Window" [width]="400" [height]="300">
|
|
21
|
-
* </kendo-window>
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @remarks
|
|
25
|
-
* Supported children components are: {@link CustomMessagesComponent}, {@link WindowTitleBarComponent}.
|
|
26
|
-
*/
|
|
27
|
-
export declare class WindowComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit {
|
|
28
|
-
private el;
|
|
29
|
-
private renderer;
|
|
30
|
-
private service;
|
|
31
|
-
private navigation;
|
|
32
|
-
private ngZone;
|
|
33
|
-
private localization;
|
|
34
|
-
/**
|
|
35
|
-
* Specifies the query selector used to set the initial focus ([see examples](https://www.telerik.com/kendo-angular-ui/components/dialogs/window/initial-focus)).
|
|
36
|
-
*
|
|
37
|
-
* @remarks
|
|
38
|
-
* This property is related to accessibility.
|
|
39
|
-
*/
|
|
40
|
-
autoFocusedElement: string;
|
|
41
|
-
/**
|
|
42
|
-
* Sets the text in the title bar.
|
|
43
|
-
*/
|
|
44
|
-
title: string;
|
|
45
|
-
/**
|
|
46
|
-
* Specifies if the user can drag the component.
|
|
47
|
-
* @default true
|
|
48
|
-
*/
|
|
49
|
-
set draggable(value: boolean);
|
|
50
|
-
get draggable(): boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Specifies if the user can resize the component.
|
|
53
|
-
* @default true
|
|
54
|
-
*/
|
|
55
|
-
set resizable(value: boolean);
|
|
56
|
-
get resizable(): boolean;
|
|
57
|
-
/**
|
|
58
|
-
* @hidden
|
|
59
|
-
*/
|
|
60
|
-
set cssClass(classes: any);
|
|
61
|
-
get cssClass(): any;
|
|
62
|
-
/**
|
|
63
|
-
* @hidden
|
|
64
|
-
*/
|
|
65
|
-
set htmlAttributes(attributes: {
|
|
66
|
-
[key: string]: string;
|
|
67
|
-
});
|
|
68
|
-
get htmlAttributes(): {
|
|
69
|
-
[key: string]: string;
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* Specifies if the content stays in the DOM when minimized.
|
|
73
|
-
* @default false
|
|
74
|
-
*/
|
|
75
|
-
keepContent: boolean;
|
|
76
|
-
/**
|
|
77
|
-
* Sets the initial state of the Window.
|
|
78
|
-
*/
|
|
79
|
-
set state(value: WindowState);
|
|
80
|
-
get state(): WindowState;
|
|
81
|
-
/**
|
|
82
|
-
* Sets the minimum width in pixels.
|
|
83
|
-
* @default 120
|
|
84
|
-
*/
|
|
85
|
-
set minWidth(value: number);
|
|
86
|
-
get minWidth(): number;
|
|
87
|
-
/**
|
|
88
|
-
* Sets the minimum height in pixels.
|
|
89
|
-
* @default 100
|
|
90
|
-
*/
|
|
91
|
-
set minHeight(value: number);
|
|
92
|
-
get minHeight(): number;
|
|
93
|
-
/**
|
|
94
|
-
* Sets the width in pixels.
|
|
95
|
-
*/
|
|
96
|
-
set width(value: number);
|
|
97
|
-
get width(): number;
|
|
98
|
-
/**
|
|
99
|
-
* Sets the height in pixels.
|
|
100
|
-
*/
|
|
101
|
-
set height(value: number);
|
|
102
|
-
get height(): number;
|
|
103
|
-
/**
|
|
104
|
-
* Sets the initial top offset in pixels.
|
|
105
|
-
*/
|
|
106
|
-
set top(value: number);
|
|
107
|
-
get top(): number;
|
|
108
|
-
/**
|
|
109
|
-
* Sets the initial left offset in pixels.
|
|
110
|
-
*/
|
|
111
|
-
set left(value: number);
|
|
112
|
-
get left(): number;
|
|
113
|
-
get closeButtonTitle(): string;
|
|
114
|
-
get restoreButtonTitle(): string;
|
|
115
|
-
get maximizeButtonTitle(): string;
|
|
116
|
-
get minimizeButtonTitle(): string;
|
|
117
|
-
/**
|
|
118
|
-
* Fires when the user starts to move the Window.
|
|
119
|
-
*/
|
|
120
|
-
dragStart: EventEmitter<any>;
|
|
121
|
-
/**
|
|
122
|
-
* Fires after the Window has been moved by the user.
|
|
123
|
-
*/
|
|
124
|
-
dragEnd: EventEmitter<any>;
|
|
125
|
-
/**
|
|
126
|
-
* Fires when the user starts to resize the Window.
|
|
127
|
-
*/
|
|
128
|
-
resizeStart: EventEmitter<any>;
|
|
129
|
-
/**
|
|
130
|
-
* Fires after the Window has been resized by the user.
|
|
131
|
-
*/
|
|
132
|
-
resizeEnd: EventEmitter<any>;
|
|
133
|
-
/**
|
|
134
|
-
* Fires when the user closes the Window.
|
|
135
|
-
*/
|
|
136
|
-
close: EventEmitter<any>;
|
|
137
|
-
/**
|
|
138
|
-
* Fires when the `width` property is updated after resizing. The event data contains the new width. Allows two-way binding of the `width` property.
|
|
139
|
-
*/
|
|
140
|
-
widthChange: EventEmitter<number>;
|
|
141
|
-
/**
|
|
142
|
-
* Fires when the `height` property is updated after resizing. The event data contains the new height. Allows two-way binding of the `height` property.
|
|
143
|
-
*/
|
|
144
|
-
heightChange: EventEmitter<number>;
|
|
145
|
-
/**
|
|
146
|
-
* 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.
|
|
147
|
-
*/
|
|
148
|
-
topChange: EventEmitter<number>;
|
|
149
|
-
/**
|
|
150
|
-
* 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.
|
|
151
|
-
*/
|
|
152
|
-
leftChange: EventEmitter<number>;
|
|
153
|
-
/**
|
|
154
|
-
* Fires when the `state` property is updated. The event data contains the new state. Allows two-way binding of the `state` property.
|
|
155
|
-
*/
|
|
156
|
-
stateChange: EventEmitter<WindowState>;
|
|
157
|
-
/**
|
|
158
|
-
* @hidden
|
|
159
|
-
*/
|
|
160
|
-
contentTemplate: TemplateRef<any>;
|
|
161
|
-
/**
|
|
162
|
-
* @hidden
|
|
163
|
-
*/
|
|
164
|
-
titleBarTemplate: TemplateRef<any>;
|
|
165
|
-
/**
|
|
166
|
-
* @hidden
|
|
167
|
-
*/
|
|
168
|
-
messages: WindowMessages;
|
|
169
|
-
/**
|
|
170
|
-
* @hidden
|
|
171
|
-
*/
|
|
172
|
-
showLicenseWatermark: boolean;
|
|
173
|
-
/**
|
|
174
|
-
* @hidden
|
|
175
|
-
*/
|
|
176
|
-
licenseMessage?: LicenseMessage;
|
|
177
|
-
tabIndex: number;
|
|
178
|
-
role: string;
|
|
179
|
-
hostClass: boolean;
|
|
180
|
-
get dir(): string;
|
|
181
|
-
titleBarView: WindowTitleBarComponent;
|
|
182
|
-
titleBarContent: WindowTitleBarComponent;
|
|
183
|
-
resizeHandles: QueryList<ResizeHandleDirective>;
|
|
184
|
-
resizeDirections: Array<string>;
|
|
185
|
-
/**
|
|
186
|
-
* @hidden
|
|
187
|
-
*/
|
|
188
|
-
titleId: string;
|
|
189
|
-
private _htmlAttributes;
|
|
190
|
-
private _cssClass;
|
|
191
|
-
private direction;
|
|
192
|
-
private draged;
|
|
193
|
-
private resized;
|
|
194
|
-
private windowSubscription;
|
|
195
|
-
private domSubs;
|
|
196
|
-
private localizationChangeSubscription;
|
|
197
|
-
private stateAppliedByAction;
|
|
198
|
-
constructor(el: ElementRef, renderer: Renderer2, service: DragResizeService, navigation: NavigationService, ngZone: NgZone, localization: LocalizationService);
|
|
199
|
-
ngAfterViewInit(): void;
|
|
200
|
-
ngOnInit(): void;
|
|
201
|
-
ngOnChanges(changes: {
|
|
202
|
-
[propertyName: string]: SimpleChange;
|
|
203
|
-
}): void;
|
|
204
|
-
ngOnDestroy(): void;
|
|
205
|
-
/**
|
|
206
|
-
* Focuses the wrapper of the Window component.
|
|
207
|
-
*/
|
|
208
|
-
focus(): void;
|
|
209
|
-
/**
|
|
210
|
-
* Brings the current Window component on top of other Window components on the page.
|
|
211
|
-
*/
|
|
212
|
-
bringToFront(): void;
|
|
213
|
-
/**
|
|
214
|
-
* Manually updates the `width` or `height` option of the Window.
|
|
215
|
-
* The required style will be applied to the Window wrapper element and the
|
|
216
|
-
* corresponding property of the component instance will be updated.
|
|
217
|
-
* This method is intended to be used for sizing dynamically created components using the
|
|
218
|
-
* [`WindowService`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowservice)
|
|
219
|
-
* @param dimension The option to update.
|
|
220
|
-
* @param value The value in pixels.
|
|
221
|
-
*/
|
|
222
|
-
setDimension(dimension: WindowDimensionSetting, value: number): void;
|
|
223
|
-
/**
|
|
224
|
-
* Manually updates the `top` or `left` offset of the Window.
|
|
225
|
-
* The required style will be applied to the Window wrapper element and the
|
|
226
|
-
* corresponding property of the component instance will be updated.
|
|
227
|
-
* This method is intended to be used for positioning dynamically created components using the
|
|
228
|
-
* [`WindowService`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowservice)
|
|
229
|
-
* @param offset The option to update.
|
|
230
|
-
* @param value The value in pixels.
|
|
231
|
-
*/
|
|
232
|
-
setOffset(offset: WindowOffsetSetting, value: number): void;
|
|
233
|
-
get showDefaultTitleBar(): boolean;
|
|
234
|
-
get styleMinWidth(): string;
|
|
235
|
-
get styleMinHeight(): string;
|
|
236
|
-
get stylePosition(): string;
|
|
237
|
-
get wrapperMaximizedClass(): boolean;
|
|
238
|
-
get wrapperMinimizedClass(): boolean;
|
|
239
|
-
/**
|
|
240
|
-
* @hidden
|
|
241
|
-
*/
|
|
242
|
-
onComponentFocus(): void;
|
|
243
|
-
/**
|
|
244
|
-
* @hidden
|
|
245
|
-
*/
|
|
246
|
-
onComponentBlur(): void;
|
|
247
|
-
private subscribeEvents;
|
|
248
|
-
private initDomEvents;
|
|
249
|
-
private onKeyDown;
|
|
250
|
-
private setServiceClasses;
|
|
251
|
-
private setNextZIndex;
|
|
252
|
-
private setInitialOffset;
|
|
253
|
-
private updateAllOffset;
|
|
254
|
-
private setStyle;
|
|
255
|
-
private removeStyle;
|
|
256
|
-
private get options();
|
|
257
|
-
private setOption;
|
|
258
|
-
private handleInitialFocus;
|
|
259
|
-
/**
|
|
260
|
-
* @hidden
|
|
261
|
-
*/
|
|
262
|
-
private generateTitleId;
|
|
263
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowComponent, never>;
|
|
264
|
-
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>;
|
|
265
|
-
}
|
|
@@ -1,36 +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 { WindowSettings } from './models/window-settings';
|
|
6
|
-
import { WindowContainerService } from '../window/window-container.service';
|
|
7
|
-
import { WindowRef } from './models/window-ref';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* Provides methods for opening Windows dynamically.
|
|
11
|
-
*
|
|
12
|
-
* 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))
|
|
13
|
-
*/
|
|
14
|
-
export declare class WindowService {
|
|
15
|
-
private containerService;
|
|
16
|
-
constructor(containerService: WindowContainerService);
|
|
17
|
-
/**
|
|
18
|
-
* Opens a Window component with the specified settings.
|
|
19
|
-
*
|
|
20
|
-
* @param settings The settings that configure the Window.
|
|
21
|
-
* @returns A `WindowRef` instance for controlling the Window.
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
* ```ts
|
|
25
|
-
* const window = windowService.open({
|
|
26
|
-
* title: 'My window',
|
|
27
|
-
* content: 'My content!'
|
|
28
|
-
* });
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
open(settings: WindowSettings): WindowRef;
|
|
32
|
-
private applyOptions;
|
|
33
|
-
private contentFrom;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowService, never>;
|
|
35
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<WindowService>;
|
|
36
|
-
}
|
package/window.module.d.ts
DELETED
|
@@ -1,39 +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 "./window/window.component";
|
|
7
|
-
import * as i2 from "./window/actions/window-close-action.directive";
|
|
8
|
-
import * as i3 from "./window/actions/window-minimize-action.directive";
|
|
9
|
-
import * as i4 from "./window/actions/window-maximize-action.directive";
|
|
10
|
-
import * as i5 from "./window/actions/window-restore-action.directive";
|
|
11
|
-
import * as i6 from "./window/window-titlebar.component";
|
|
12
|
-
import * as i7 from "./window/window-container.directive";
|
|
13
|
-
import * as i8 from "./dialog/dialog-actions.component";
|
|
14
|
-
import * as i9 from "./localization/custom-messages.component";
|
|
15
|
-
/**
|
|
16
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the Window component.
|
|
17
|
-
*
|
|
18
|
-
* Use the `WindowModule` to include all Window components and directives in your application.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```typescript
|
|
22
|
-
* import { NgModule } from '@angular/core';
|
|
23
|
-
* import { BrowserModule } from '@angular/platform-browser';
|
|
24
|
-
* import { WindowModule } from '@progress/kendo-angular-window';
|
|
25
|
-
* import { AppComponent } from './app.component';
|
|
26
|
-
*
|
|
27
|
-
* @NgModule({
|
|
28
|
-
* bootstrap: [AppComponent],
|
|
29
|
-
* declarations: [AppComponent],
|
|
30
|
-
* imports: [BrowserModule, WindowModule]
|
|
31
|
-
* })
|
|
32
|
-
* export class AppModule {}
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
export declare class WindowModule {
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowModule, never>;
|
|
37
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<WindowModule, never, [typeof i1.WindowComponent, typeof i2.WindowCloseActionDirective, typeof i3.WindowMinimizeActionDirective, typeof i4.WindowMaximizeActionDirective, typeof i5.WindowRestoreActionDirective, typeof i6.WindowTitleBarComponent, typeof i7.WindowContainerDirective, typeof i8.DialogActionsComponent, typeof i9.CustomMessagesComponent], [typeof i1.WindowComponent, typeof i2.WindowCloseActionDirective, typeof i3.WindowMinimizeActionDirective, typeof i4.WindowMaximizeActionDirective, typeof i5.WindowRestoreActionDirective, typeof i6.WindowTitleBarComponent, typeof i7.WindowContainerDirective, typeof i8.DialogActionsComponent, typeof i9.CustomMessagesComponent]>;
|
|
38
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<WindowModule>;
|
|
39
|
-
}
|