@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.
- package/fesm2022/progress-kendo-angular-dialog.mjs +89 -84
- package/index.d.ts +1668 -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
package/directives.d.ts
DELETED
|
@@ -1,76 +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 { DialogActionsComponent } from "./dialog/dialog-actions.component";
|
|
6
|
-
import { DialogContainerDirective } from "./dialog/dialog-container.directive";
|
|
7
|
-
import { DialogTitleBarComponent } from "./dialog/dialog-titlebar.component";
|
|
8
|
-
import { DialogComponent } from "./dialog/dialog.component";
|
|
9
|
-
import { CustomMessagesComponent } from "./localization/custom-messages.component";
|
|
10
|
-
import { WindowCloseActionDirective } from "./window/actions/window-close-action.directive";
|
|
11
|
-
import { WindowMaximizeActionDirective } from "./window/actions/window-maximize-action.directive";
|
|
12
|
-
import { WindowMinimizeActionDirective } from "./window/actions/window-minimize-action.directive";
|
|
13
|
-
import { WindowRestoreActionDirective } from "./window/actions/window-restore-action.directive";
|
|
14
|
-
import { WindowContainerDirective } from "./window/window-container.directive";
|
|
15
|
-
import { WindowTitleBarComponent } from "./window/window-titlebar.component";
|
|
16
|
-
import { WindowComponent } from "./window/window.component";
|
|
17
|
-
/**
|
|
18
|
-
* Represents the utility array that that contains all `Dialog`-related components and directives.
|
|
19
|
-
*
|
|
20
|
-
* Use `KENDO_DIALOG` to import all Dialog components and directives at once.
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* ```typescript
|
|
24
|
-
* import { Component } from '@angular/core';
|
|
25
|
-
* import { KENDO_DIALOG } from '@progress/kendo-angular-dialog';
|
|
26
|
-
*
|
|
27
|
-
* @Component({
|
|
28
|
-
* selector: 'my-dialog-app',
|
|
29
|
-
* standalone: true,
|
|
30
|
-
* imports: [KENDO_DIALOG],
|
|
31
|
-
* template: `...`
|
|
32
|
-
* })
|
|
33
|
-
* export class DialogAppComponent {}
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
export declare const KENDO_DIALOG: readonly [typeof DialogComponent, typeof DialogTitleBarComponent, typeof DialogContainerDirective, typeof DialogActionsComponent, typeof CustomMessagesComponent];
|
|
37
|
-
/**
|
|
38
|
-
* Represents the utility array that contains all `Window`-related components and directives.
|
|
39
|
-
*
|
|
40
|
-
* Use `KENDO_WINDOW` to import all Window components and directives at once.
|
|
41
|
-
*
|
|
42
|
-
* @example
|
|
43
|
-
* ```typescript
|
|
44
|
-
* import { Component } from '@angular/core';
|
|
45
|
-
* import { KENDO_WINDOW } from '@progress/kendo-angular-dialog';
|
|
46
|
-
*
|
|
47
|
-
* @Component({
|
|
48
|
-
* selector: 'my-window-app',
|
|
49
|
-
* standalone: true,
|
|
50
|
-
* imports: [KENDO_WINDOW],
|
|
51
|
-
* template: `...`
|
|
52
|
-
* })
|
|
53
|
-
* export class WindowAppComponent {}
|
|
54
|
-
* ```
|
|
55
|
-
*/
|
|
56
|
-
export declare const KENDO_WINDOW: readonly [typeof WindowComponent, typeof WindowCloseActionDirective, typeof WindowMinimizeActionDirective, typeof WindowMaximizeActionDirective, typeof WindowRestoreActionDirective, typeof WindowTitleBarComponent, typeof WindowContainerDirective, typeof DialogActionsComponent, typeof CustomMessagesComponent];
|
|
57
|
-
/**
|
|
58
|
-
* Represents the utility array that contains all `@progress/kendo-angular-dialog`-related components and directives.
|
|
59
|
-
*
|
|
60
|
-
* Use `KENDO_DIALOGS` to import all Dialog and Window components and directives at once.
|
|
61
|
-
*
|
|
62
|
-
* @example
|
|
63
|
-
* ```typescript
|
|
64
|
-
* import { Component } from '@angular/core';
|
|
65
|
-
* import { KENDO_DIALOGS } from '@progress/kendo-angular-dialog';
|
|
66
|
-
*
|
|
67
|
-
* @Component({
|
|
68
|
-
* selector: 'my-app',
|
|
69
|
-
* standalone: true,
|
|
70
|
-
* imports: [KENDO_DIALOGS],
|
|
71
|
-
* template: `...`
|
|
72
|
-
* })
|
|
73
|
-
* export class AppComponent {}
|
|
74
|
-
* ```
|
|
75
|
-
*/
|
|
76
|
-
export 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];
|
|
@@ -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 { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import { Messages } from './messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Represents a component for customizing the messages in Dialog and Window components.
|
|
10
|
-
*
|
|
11
|
-
* Use the `CustomMessagesComponent` to override default messages with custom text. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/globalization#internationalization)).
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import { CustomMessagesComponent } from './custom-messages.component';
|
|
16
|
-
*
|
|
17
|
-
* @Component({
|
|
18
|
-
* selector: 'my-dialog',
|
|
19
|
-
* template: `
|
|
20
|
-
* <kendo-dialog>
|
|
21
|
-
* <kendo-dialog-messages
|
|
22
|
-
* [closeTitle]="'Close dialog'"
|
|
23
|
-
* [restoreTitle]="'Restore dialog'"
|
|
24
|
-
* [maximizeTitle]="'Maximize dialog'"
|
|
25
|
-
* [minimizeTitle]="'Minimize dialog'">
|
|
26
|
-
* </kendo-dialog-messages>
|
|
27
|
-
* </kendo-dialog>
|
|
28
|
-
* `
|
|
29
|
-
* })
|
|
30
|
-
* export class MyDialogComponent {}
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
export declare class CustomMessagesComponent extends Messages {
|
|
34
|
-
protected service: LocalizationService;
|
|
35
|
-
constructor(service: LocalizationService);
|
|
36
|
-
protected get override(): boolean;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CustomMessagesComponent, never>;
|
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CustomMessagesComponent, "kendo-dialog-messages, kendo-window-messages", never, {}, {}, never, never, true, never>;
|
|
39
|
-
}
|
|
@@ -1,10 +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 { InjectionToken } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare const DIALOG_LOCALIZATION_SERVICE: InjectionToken<LocalizationService>;
|
|
@@ -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 { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import { Messages } from './messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class LocalizedMessagesDirective extends Messages {
|
|
12
|
-
protected service: LocalizationService;
|
|
13
|
-
constructor(service: LocalizationService);
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedMessagesDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, " [kendoDialogLocalizedMessages], [kendoWindowLocalizedMessages], [kendoDialogTitleBarLocalizedMessages] ", never, {}, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,29 +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 { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class Messages extends ComponentMessages {
|
|
11
|
-
/**
|
|
12
|
-
* Sets the title for the **Close** button.
|
|
13
|
-
*/
|
|
14
|
-
closeTitle: string;
|
|
15
|
-
/**
|
|
16
|
-
* Sets the title for the **Restore** button.
|
|
17
|
-
*/
|
|
18
|
-
restoreTitle: string;
|
|
19
|
-
/**
|
|
20
|
-
* Sets the title for the **Maximize** button.
|
|
21
|
-
*/
|
|
22
|
-
maximizeTitle: string;
|
|
23
|
-
/**
|
|
24
|
-
* Sets the title for the **Minimize** button.
|
|
25
|
-
*/
|
|
26
|
-
minimizeTitle: string;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
|
|
28
|
-
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>;
|
|
29
|
-
}
|
|
@@ -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 { LocalizationService, MessageService } from "@progress/kendo-angular-l10n";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class TitleBarLocalizationService extends LocalizationService {
|
|
11
|
-
private dialogLocalization;
|
|
12
|
-
constructor(prefix: string, messageService: MessageService, rtl: boolean, dialogLocalization: LocalizationService);
|
|
13
|
-
get(shortKey: string): string;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TitleBarLocalizationService, [null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TitleBarLocalizationService>;
|
|
16
|
-
}
|
package/package-metadata.d.ts
DELETED
|
@@ -1,9 +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 { type PackageMetadata } from '@progress/kendo-licensing';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const packageMetadata: PackageMetadata;
|
|
@@ -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 { ElementRef, NgZone, Renderer2 } from "@angular/core";
|
|
6
|
-
import { Button } from '@progress/kendo-angular-buttons';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
|
-
import { DragResizeService } from '../drag-resize.service';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* Represents the close action directive of the Window component.
|
|
13
|
-
*
|
|
14
|
-
* ```html
|
|
15
|
-
* <button kendoWindowCloseAction>Close</button>
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
export declare class WindowCloseActionDirective extends Button {
|
|
19
|
-
/**
|
|
20
|
-
* @hidden
|
|
21
|
-
*/
|
|
22
|
-
window: any;
|
|
23
|
-
/**
|
|
24
|
-
* @hidden
|
|
25
|
-
*/
|
|
26
|
-
xIcon: SVGIcon;
|
|
27
|
-
buttonType: string;
|
|
28
|
-
buttonClass: boolean;
|
|
29
|
-
constructor(el: ElementRef, renderer: Renderer2, _service: DragResizeService, localization: LocalizationService, ngZone: NgZone);
|
|
30
|
-
/**
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
onClick(): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowCloseActionDirective, [null, null, { optional: true; }, null, null]>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WindowCloseActionDirective, "button[kendoWindowCloseAction]", ["kendoWindowCloseAction"], { "window": { "alias": "window"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
36
|
-
}
|
|
@@ -1,37 +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 { ElementRef, NgZone, Renderer2 } from "@angular/core";
|
|
6
|
-
import { Button } from '@progress/kendo-angular-buttons';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
|
-
import { DragResizeService } from './../drag-resize.service';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* Represents the maximize action directive of the Window component.
|
|
13
|
-
*
|
|
14
|
-
* ```html
|
|
15
|
-
* <button kendoWindowMaximizeAction>Maximize</button>
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
export declare class WindowMaximizeActionDirective extends Button {
|
|
19
|
-
/**
|
|
20
|
-
* @hidden
|
|
21
|
-
*/
|
|
22
|
-
window: any;
|
|
23
|
-
buttonType: string;
|
|
24
|
-
buttonClass: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
windowIcon: SVGIcon;
|
|
29
|
-
constructor(el: ElementRef, renderer: Renderer2, _service: DragResizeService, localization: LocalizationService, ngZone: NgZone);
|
|
30
|
-
/**
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
onClick(): void;
|
|
34
|
-
get visible(): string;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowMaximizeActionDirective, [null, null, { optional: true; }, null, null]>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WindowMaximizeActionDirective, "button[kendoWindowMaximizeAction]", ["kendoWindowMaximizeAction"], { "window": { "alias": "window"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
37
|
-
}
|
|
@@ -1,37 +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 { ElementRef, NgZone, Renderer2 } from "@angular/core";
|
|
6
|
-
import { Button } from '@progress/kendo-angular-buttons';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { SVGIcon } from "@progress/kendo-svg-icons";
|
|
9
|
-
import { DragResizeService } from './../drag-resize.service';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* Represents the minimize action directive of the Window component.
|
|
13
|
-
*
|
|
14
|
-
* ```html
|
|
15
|
-
* <button kendoWindowMinimizeAction>Minimize</button>
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
export declare class WindowMinimizeActionDirective extends Button {
|
|
19
|
-
/**
|
|
20
|
-
* @hidden
|
|
21
|
-
*/
|
|
22
|
-
window: any;
|
|
23
|
-
buttonType: string;
|
|
24
|
-
buttonClass: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
windowMinimizeIcon: SVGIcon;
|
|
29
|
-
constructor(el: ElementRef, renderer: Renderer2, _service: DragResizeService, localization: LocalizationService, ngZone: NgZone);
|
|
30
|
-
/**
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
onClick(): void;
|
|
34
|
-
get visible(): string;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowMinimizeActionDirective, [null, null, { optional: true; }, null, null]>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WindowMinimizeActionDirective, "button[kendoWindowMinimizeAction]", ["kendoWindowMinimizeAction"], { "window": { "alias": "window"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
37
|
-
}
|
|
@@ -1,37 +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 { ElementRef, NgZone, Renderer2 } from "@angular/core";
|
|
6
|
-
import { Button } from '@progress/kendo-angular-buttons';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
|
-
import { DragResizeService } from './../drag-resize.service';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* Represents the restore action directive of the Window component.
|
|
13
|
-
*
|
|
14
|
-
* ```html
|
|
15
|
-
* <button kendoWindowRestoreAction>Restore</button>
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
export declare class WindowRestoreActionDirective extends Button {
|
|
19
|
-
/**
|
|
20
|
-
* @hidden
|
|
21
|
-
*/
|
|
22
|
-
window: any;
|
|
23
|
-
/**
|
|
24
|
-
* @hidden
|
|
25
|
-
*/
|
|
26
|
-
windowRestoreIcon: SVGIcon;
|
|
27
|
-
buttonType: string;
|
|
28
|
-
buttonClass: boolean;
|
|
29
|
-
constructor(el: ElementRef, renderer: Renderer2, _service: DragResizeService, localization: LocalizationService, ngZone: NgZone);
|
|
30
|
-
/**
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
onClick(): void;
|
|
34
|
-
get visible(): string;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WindowRestoreActionDirective, [null, null, { optional: true; }, null, null]>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WindowRestoreActionDirective, "button[kendoWindowRestoreAction]", ["kendoWindowRestoreAction"], { "window": { "alias": "window"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
37
|
-
}
|
|
@@ -1,68 +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, EventEmitter, ElementRef, OnDestroy } from "@angular/core";
|
|
6
|
-
import { DraggableDirective } from '@progress/kendo-angular-common';
|
|
7
|
-
import { Subscription } from 'rxjs';
|
|
8
|
-
import { ChangeEvent } from './window-events';
|
|
9
|
-
import { WindowOptions } from "./models/window-options";
|
|
10
|
-
import { WindowState } from "./models/window-types";
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
export declare class DragResizeService implements OnDestroy {
|
|
16
|
-
private ngZone;
|
|
17
|
-
close: EventEmitter<any>;
|
|
18
|
-
focus: EventEmitter<any>;
|
|
19
|
-
change: EventEmitter<ChangeEvent>;
|
|
20
|
-
stateChange: EventEmitter<WindowState>;
|
|
21
|
-
dragStart: EventEmitter<any>;
|
|
22
|
-
dragEnd: EventEmitter<any>;
|
|
23
|
-
resizeStart: EventEmitter<string>;
|
|
24
|
-
resizeEnd: EventEmitter<any>;
|
|
25
|
-
options: WindowOptions;
|
|
26
|
-
restoreOptions: WindowOptions;
|
|
27
|
-
window: ElementRef;
|
|
28
|
-
lastAction: string;
|
|
29
|
-
subscriptions: Subscription;
|
|
30
|
-
dragSubscription: Subscription;
|
|
31
|
-
constructor(ngZone: NgZone);
|
|
32
|
-
ngOnDestroy(): void;
|
|
33
|
-
init(el: ElementRef): void;
|
|
34
|
-
onDrag(el: DraggableDirective): void;
|
|
35
|
-
handleDrag({ originalX, originalY, pageX, pageY, startPosition }: {
|
|
36
|
-
originalX: any;
|
|
37
|
-
originalY: any;
|
|
38
|
-
pageX: any;
|
|
39
|
-
pageY: any;
|
|
40
|
-
startPosition: any;
|
|
41
|
-
}): void;
|
|
42
|
-
onResize(handle: DraggableDirective, direction: string): void;
|
|
43
|
-
handleResize(initial: any, dir: string, deltaX: number, deltaY: number): void;
|
|
44
|
-
restoreAction(): void;
|
|
45
|
-
defaultState(): void;
|
|
46
|
-
storeOptions(): void;
|
|
47
|
-
maximizeAction(): void;
|
|
48
|
-
maximizeState(): void;
|
|
49
|
-
minimizeAction(): void;
|
|
50
|
-
minimizeState(): void;
|
|
51
|
-
/**
|
|
52
|
-
* Handles manual changes of the 'state' property.
|
|
53
|
-
* Required to distinguish them from action clicks.
|
|
54
|
-
*/
|
|
55
|
-
applyManualState(previousState?: WindowState): void;
|
|
56
|
-
closeAction(): void;
|
|
57
|
-
ensureWidth(): void;
|
|
58
|
-
center(): void;
|
|
59
|
-
currentOffsetAndPosition(): any;
|
|
60
|
-
currentPosition(): any;
|
|
61
|
-
setPosition(): void;
|
|
62
|
-
setRestoreOption(style: string, value: number): void;
|
|
63
|
-
get nextPossibleZIndex(): number;
|
|
64
|
-
get nextZIndex(): number;
|
|
65
|
-
get windowViewPort(): any;
|
|
66
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DragResizeService, never>;
|
|
67
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DragResizeService>;
|
|
68
|
-
}
|
package/window/models/index.d.ts
DELETED
|
@@ -1,10 +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 './window-close-result';
|
|
6
|
-
export * from './window-messages';
|
|
7
|
-
export * from './window-options';
|
|
8
|
-
export * from './window-ref';
|
|
9
|
-
export * from './window-settings';
|
|
10
|
-
export * from './window-types';
|
|
@@ -1,10 +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
|
-
* Indicates that the **Close** button of a Window opened through `WindowService` is clicked.
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
export declare class WindowCloseResult {
|
|
10
|
-
}
|
|
@@ -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
|
-
/**
|
|
6
|
-
* Defines the text of the labels that appear in the Window. Use for localization.
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
export interface WindowMessages {
|
|
10
|
-
/**
|
|
11
|
-
* Specifies the title of the close button.
|
|
12
|
-
*/
|
|
13
|
-
closeTitle?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Specifies the title of the restore button.
|
|
16
|
-
*/
|
|
17
|
-
restoreTitle?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Specifies the title of the maximize button.
|
|
20
|
-
*/
|
|
21
|
-
maximizeTitle?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Specifies the title of the minimize button.
|
|
24
|
-
*/
|
|
25
|
-
minimizeTitle?: string;
|
|
26
|
-
}
|
|
@@ -1,20 +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 { WindowPosition, WindowState } from "./window-types";
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export interface WindowOptions {
|
|
10
|
-
width?: number;
|
|
11
|
-
height?: number;
|
|
12
|
-
minWidth: number;
|
|
13
|
-
minHeight: number;
|
|
14
|
-
top?: number;
|
|
15
|
-
left?: number;
|
|
16
|
-
position: WindowPosition;
|
|
17
|
-
state: WindowState;
|
|
18
|
-
draggable: boolean;
|
|
19
|
-
resizable: boolean;
|
|
20
|
-
}
|
|
@@ -1,29 +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 { WindowComponent } from "../window.component";
|
|
8
|
-
import { WindowCloseResult } from "./window-close-result";
|
|
9
|
-
/**
|
|
10
|
-
* 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))
|
|
11
|
-
*/
|
|
12
|
-
export declare class WindowRef {
|
|
13
|
-
/**
|
|
14
|
-
* Represents a reference to the Window instance.
|
|
15
|
-
*/
|
|
16
|
-
window: ComponentRef<WindowComponent>;
|
|
17
|
-
/**
|
|
18
|
-
* 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).
|
|
19
|
-
*/
|
|
20
|
-
content: ComponentRef<any>;
|
|
21
|
-
/**
|
|
22
|
-
* 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.
|
|
23
|
-
*/
|
|
24
|
-
close: Function;
|
|
25
|
-
/**
|
|
26
|
-
* 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.
|
|
27
|
-
*/
|
|
28
|
-
result: Observable<WindowCloseResult>;
|
|
29
|
-
}
|
|
@@ -1,97 +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 { WindowMessages } from './window-messages';
|
|
7
|
-
import { WindowRef } from './window-ref';
|
|
8
|
-
import { WindowState } from './window-types';
|
|
9
|
-
/**
|
|
10
|
-
* 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))
|
|
11
|
-
*/
|
|
12
|
-
export declare class WindowSettings {
|
|
13
|
-
/**
|
|
14
|
-
* 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.
|
|
15
|
-
* @param {any} ev The event argument.
|
|
16
|
-
* @param {WindowRef} [windowRef] - The window reference, provided only when you create the window using a component.
|
|
17
|
-
* @returns Returns `true` to prevent closing the window.
|
|
18
|
-
*/
|
|
19
|
-
preventClose?: (ev: any, windowRef?: WindowRef) => boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Sets the Window `title`.
|
|
22
|
-
*/
|
|
23
|
-
title?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Defines the Window `content`.
|
|
26
|
-
*/
|
|
27
|
-
content?: string | TemplateRef<any> | Function;
|
|
28
|
-
/**
|
|
29
|
-
* Defines the content of the title bar.
|
|
30
|
-
*/
|
|
31
|
-
titleBarContent?: TemplateRef<any>;
|
|
32
|
-
/**
|
|
33
|
-
* Sets the text of the labels shown in the Window. Use for localization.
|
|
34
|
-
*/
|
|
35
|
-
messages?: WindowMessages;
|
|
36
|
-
/**
|
|
37
|
-
* Set to `true` to persist the Window content in the DOM when minimized.
|
|
38
|
-
*/
|
|
39
|
-
keepContent?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Sets the width of the Window in pixels.
|
|
42
|
-
*/
|
|
43
|
-
width?: number;
|
|
44
|
-
/**
|
|
45
|
-
* Sets the minimum width of the Window in pixels.
|
|
46
|
-
*/
|
|
47
|
-
minWidth?: number;
|
|
48
|
-
/**
|
|
49
|
-
* Sets the height of the Window in pixels.
|
|
50
|
-
*/
|
|
51
|
-
height?: number;
|
|
52
|
-
/**
|
|
53
|
-
* Sets the minimum height of the Window in pixels.
|
|
54
|
-
*/
|
|
55
|
-
minHeight?: number;
|
|
56
|
-
/**
|
|
57
|
-
* Sets the left offset of the Window in pixels.
|
|
58
|
-
*/
|
|
59
|
-
left?: number;
|
|
60
|
-
/**
|
|
61
|
-
* Sets the top offset of the Window in pixels.
|
|
62
|
-
*/
|
|
63
|
-
top?: number;
|
|
64
|
-
/**
|
|
65
|
-
* Specifies is the Window is draggable.
|
|
66
|
-
*/
|
|
67
|
-
draggable?: boolean;
|
|
68
|
-
/**
|
|
69
|
-
* Sets custom CSS classes for the Window wrapper element. Accepts any value supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
70
|
-
*/
|
|
71
|
-
cssClass?: any;
|
|
72
|
-
/**
|
|
73
|
-
* Sets HTML attributes for the Window wrapper element. Accepts string key-value pairs.
|
|
74
|
-
*
|
|
75
|
-
* @remarks
|
|
76
|
-
* This option is related to accessibility.
|
|
77
|
-
*/
|
|
78
|
-
htmlAttributes?: {
|
|
79
|
-
[key: string]: string;
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* Specifies if the Window is resizable.
|
|
83
|
-
*/
|
|
84
|
-
resizable?: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* Sets the initial state of the Window.
|
|
87
|
-
*/
|
|
88
|
-
state?: WindowState;
|
|
89
|
-
/**
|
|
90
|
-
* Defines the container where the Window is inserted. This changes the place in the page hierarchy where the Window appears.
|
|
91
|
-
*/
|
|
92
|
-
appendTo?: ViewContainerRef;
|
|
93
|
-
/**
|
|
94
|
-
* Sets the query selector for the element to focus automatically.
|
|
95
|
-
*/
|
|
96
|
-
autoFocusedElement?: string;
|
|
97
|
-
}
|
|
@@ -1,20 +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 type WindowPosition = 'absolute' | 'fixed';
|
|
9
|
-
/**
|
|
10
|
-
* Represents the possible states of the Window component.
|
|
11
|
-
*/
|
|
12
|
-
export type WindowState = 'minimized' | 'maximized' | 'default';
|
|
13
|
-
/**
|
|
14
|
-
* Represents the dimensions of the Window that can be resized dynamically.
|
|
15
|
-
*/
|
|
16
|
-
export type WindowDimensionSetting = 'width' | 'height';
|
|
17
|
-
/**
|
|
18
|
-
* Represents the offset of the Window that can be set dynamically.
|
|
19
|
-
*/
|
|
20
|
-
export type WindowOffsetSetting = 'top' | 'left';
|