@progress/kendo-angular-dialog 24.2.2 → 25.0.0-develop.2
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
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "
|
|
10
|
+
"publishDate": 1783688531,
|
|
11
|
+
"version": "25.0.0-develop.2",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dialog",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "25.0.0-develop.2",
|
|
4
4
|
"description": "Dialog Package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -45,25 +45,25 @@
|
|
|
45
45
|
"package": {
|
|
46
46
|
"productName": "Kendo UI for Angular",
|
|
47
47
|
"productCode": "KENDOUIANGULAR",
|
|
48
|
-
"publishDate":
|
|
48
|
+
"publishDate": 1783688531,
|
|
49
49
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@angular/animations": "
|
|
54
|
-
"@angular/common": "
|
|
55
|
-
"@angular/core": "
|
|
56
|
-
"@angular/platform-browser": "
|
|
53
|
+
"@angular/animations": "20 - 22",
|
|
54
|
+
"@angular/common": "20 - 22",
|
|
55
|
+
"@angular/core": "20 - 22",
|
|
56
|
+
"@angular/platform-browser": "20 - 22",
|
|
57
57
|
"@progress/kendo-licensing": "^1.11.0",
|
|
58
|
-
"@progress/kendo-angular-buttons": "
|
|
59
|
-
"@progress/kendo-angular-common": "
|
|
60
|
-
"@progress/kendo-angular-icons": "
|
|
61
|
-
"@progress/kendo-angular-l10n": "
|
|
58
|
+
"@progress/kendo-angular-buttons": "25.0.0-develop.2",
|
|
59
|
+
"@progress/kendo-angular-common": "25.0.0-develop.2",
|
|
60
|
+
"@progress/kendo-angular-icons": "25.0.0-develop.2",
|
|
61
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.2",
|
|
62
62
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"tslib": "^2.3.1",
|
|
66
|
-
"@progress/kendo-angular-schematics": "
|
|
66
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.2",
|
|
67
67
|
"@progress/kendo-popup-common": "1.9.5"
|
|
68
68
|
},
|
|
69
69
|
"schematics": "./schematics/collection.json",
|
|
@@ -9,7 +9,7 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'DialogsModule', package: 'dialog', peerDependencies: {
|
|
11
11
|
// Peer dependency of buttons
|
|
12
|
-
'@progress/kendo-angular-popup': '
|
|
12
|
+
'@progress/kendo-angular-popup': '25.0.0-develop.2',
|
|
13
13
|
// Peer dependency of icons
|
|
14
14
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
15
15
|
} });
|
|
@@ -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 the layout for the Dialog action buttons.
|
|
7
|
-
*
|
|
8
|
-
* Use the `ActionsLayout` type to set the alignment of action buttons in the Dialog.
|
|
9
|
-
*
|
|
10
|
-
*/
|
|
11
|
-
export type ActionsLayout = 'start' | 'center' | 'end' | 'stretched';
|
|
@@ -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 the available Dialog animation types.
|
|
7
|
-
*
|
|
8
|
-
* Use the `DialogAnimationType` type to specify the animation for Dialog transitions.
|
|
9
|
-
*
|
|
10
|
-
*/
|
|
11
|
-
export type DialogAnimationType = 'translate' | 'slide' | 'fade' | 'expand' | 'zoom';
|
|
@@ -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 the available directions for the Dialog opening animation.
|
|
7
|
-
*
|
|
8
|
-
* Use the `AnimationDirection` type to set the direction for Dialog animations.
|
|
9
|
-
*
|
|
10
|
-
*/
|
|
11
|
-
export type AnimationDirection = 'up' | 'down' | 'right' | 'left';
|
|
@@ -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
|
-
* Represents a preventable event in Dialog and Window components.
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
export declare class PreventableEvent {
|
|
10
|
-
private prevented;
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
constructor();
|
|
15
|
-
/**
|
|
16
|
-
* Prevents the default action for a specified event.
|
|
17
|
-
* In this way, the source component suppresses the built-in behavior that follows the event.
|
|
18
|
-
*/
|
|
19
|
-
preventDefault(): void;
|
|
20
|
-
/**
|
|
21
|
-
* If the event is prevented by any of its subscribers, returns `true`.
|
|
22
|
-
*
|
|
23
|
-
* @returns `true` if the default action was prevented. Otherwise, returns `false`.
|
|
24
|
-
*/
|
|
25
|
-
isDefaultPrevented(): boolean;
|
|
26
|
-
}
|
package/common/util.d.ts
DELETED
|
@@ -1,93 +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 { Observable } from 'rxjs';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const isPresent: (value: any) => boolean;
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare const isTruthy: (value: any) => boolean;
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export declare const DIALOG_ELEMENTS_HANDLING_ESC_KEY = "k-dialog-wrapper k-actions k-dialog-titlebar-action";
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
export declare const DIALOG_ELEMENTS_HANDLING_ARROWS = "k-actions";
|
|
22
|
-
/**
|
|
23
|
-
* @hidden
|
|
24
|
-
*/
|
|
25
|
-
export declare const WINDOW_CLASSES = "k-window";
|
|
26
|
-
/**
|
|
27
|
-
* @hidden
|
|
28
|
-
*/
|
|
29
|
-
export declare const WINDOW_ELEMENTS_HANDLING_ESC_KEY = "k-window k-window-titlebar-action";
|
|
30
|
-
/**
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
export declare const hasClasses: (element: HTMLElement, classNames: string) => boolean;
|
|
34
|
-
/**
|
|
35
|
-
* @hidden
|
|
36
|
-
*/
|
|
37
|
-
export declare const isVisible: (element: any) => boolean;
|
|
38
|
-
/**
|
|
39
|
-
* @hidden
|
|
40
|
-
*/
|
|
41
|
-
export declare const isFocusable: (element: any, checkVisibility?: boolean) => boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Receives CSS class declarations either as an object, string or array and returns an array of the class names.
|
|
44
|
-
*
|
|
45
|
-
* @hidden
|
|
46
|
-
*/
|
|
47
|
-
export declare const parseCSSClassNames: (value: any) => Array<string>;
|
|
48
|
-
/**
|
|
49
|
-
* @hidden
|
|
50
|
-
*/
|
|
51
|
-
export declare const preventDefault: ({ originalEvent: event }: {
|
|
52
|
-
originalEvent: any;
|
|
53
|
-
}) => void;
|
|
54
|
-
/**
|
|
55
|
-
* @hidden
|
|
56
|
-
*/
|
|
57
|
-
export declare const isWindowAvailable: () => boolean;
|
|
58
|
-
/**
|
|
59
|
-
* @hidden
|
|
60
|
-
*/
|
|
61
|
-
export declare const preventOnDblClick: (release: any) => (mouseDown: Event) => Observable<any>;
|
|
62
|
-
/**
|
|
63
|
-
* @hidden
|
|
64
|
-
*/
|
|
65
|
-
export declare const RESIZE_DIRECTIONS: Array<string>;
|
|
66
|
-
/**
|
|
67
|
-
* @hidden
|
|
68
|
-
*/
|
|
69
|
-
export declare const OFFSET_STYLES: Array<string>;
|
|
70
|
-
/**
|
|
71
|
-
* @hidden
|
|
72
|
-
*/
|
|
73
|
-
export declare const isString: (value: any) => value is string;
|
|
74
|
-
/**
|
|
75
|
-
* @hidden
|
|
76
|
-
*/
|
|
77
|
-
export declare const isObject: (value: any) => value is object;
|
|
78
|
-
/**
|
|
79
|
-
* @hidden
|
|
80
|
-
*/
|
|
81
|
-
export declare const isNumber: (value: string | number) => boolean;
|
|
82
|
-
/**
|
|
83
|
-
* @hidden
|
|
84
|
-
*/
|
|
85
|
-
export declare const createValueWithUnit: (value: string | number) => string;
|
|
86
|
-
/**
|
|
87
|
-
* @hidden
|
|
88
|
-
*/
|
|
89
|
-
export declare const splitStringToArray: (value: string) => string[];
|
|
90
|
-
/**
|
|
91
|
-
* @hidden
|
|
92
|
-
*/
|
|
93
|
-
export declare const findPrimaryButton: (buttons: NodeList) => Node;
|
|
@@ -1,63 +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 { EventEmitter, TemplateRef, ElementRef } from '@angular/core';
|
|
6
|
-
import { DialogAction } from './models/dialog-action';
|
|
7
|
-
import { ActionsLayout } from '../common/actions-layout';
|
|
8
|
-
import { DialogActionDivider } from './models/dialog-action-divider';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* Represents the action buttons of the Dialog.
|
|
12
|
-
* ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/action-buttons))
|
|
13
|
-
*
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-dialog>
|
|
16
|
-
* <kendo-dialog-actions>
|
|
17
|
-
* <button kendoButton fillMode="flat" themeColor="primary" (click)="onPrimaryActionClick()">
|
|
18
|
-
* Primary Action
|
|
19
|
-
* </button>
|
|
20
|
-
* </kendo-dialog-actions>
|
|
21
|
-
* </kendo-dialog>
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
export declare class DialogActionsComponent {
|
|
25
|
-
el: ElementRef;
|
|
26
|
-
/**
|
|
27
|
-
* Allows the declarative specification of the Dialog `actions`.
|
|
28
|
-
*/
|
|
29
|
-
set actions(value: DialogAction[] | TemplateRef<any>);
|
|
30
|
-
/**
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
actionsArray: DialogAction[];
|
|
34
|
-
/**
|
|
35
|
-
* @hidden
|
|
36
|
-
*/
|
|
37
|
-
actionsTemplate: TemplateRef<any>;
|
|
38
|
-
/**
|
|
39
|
-
* Sets the possible layout of the action buttons.
|
|
40
|
-
* @default 'stretched'
|
|
41
|
-
*/
|
|
42
|
-
layout: ActionsLayout;
|
|
43
|
-
/**
|
|
44
|
-
* Fires when the user clicks an action button.
|
|
45
|
-
*/
|
|
46
|
-
action: EventEmitter<DialogAction>;
|
|
47
|
-
hostClasses: boolean;
|
|
48
|
-
get startClassName(): boolean;
|
|
49
|
-
get centerClassName(): boolean;
|
|
50
|
-
get endClassName(): boolean;
|
|
51
|
-
get stretchedClassName(): boolean;
|
|
52
|
-
constructor(el: ElementRef);
|
|
53
|
-
/**
|
|
54
|
-
* @hidden
|
|
55
|
-
*/
|
|
56
|
-
onButtonClick(action: DialogAction, _e?: any): void;
|
|
57
|
-
/**
|
|
58
|
-
* @hidden
|
|
59
|
-
*/
|
|
60
|
-
isDivider(action: DialogAction | DialogActionDivider): boolean;
|
|
61
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogActionsComponent, never>;
|
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogActionsComponent, "kendo-dialog-actions", never, { "actions": { "alias": "actions"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; }, { "action": "action"; }, never, ["*"], true, never>;
|
|
63
|
-
}
|
|
@@ -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
|
-
import { AnimationBuilder } from "@angular/animations";
|
|
6
|
-
import { ElementRef } from "@angular/core";
|
|
7
|
-
import { DialogAnimation } from "../models";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare const animateContent: (animation: boolean | DialogAnimation, defAnimationConfig: DialogAnimation, animatedElement: ElementRef, builder: AnimationBuilder) => void;
|
|
@@ -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
|
-
import { AnimationMetadata } from '@angular/animations';
|
|
6
|
-
import { AnimationDirection } from '@progress/kendo-angular-popup';
|
|
7
|
-
import { DialogAnimationType } from '../../common/animation-types';
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare function animations(duration: number, direction: AnimationDirection, animationType: DialogAnimationType): AnimationMetadata[];
|
|
@@ -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 { AnimationBuilder, AnimationMetadata } from "@angular/animations";
|
|
6
|
-
import { ElementRef } from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare const createPlayer: (builder: AnimationBuilder, animation: AnimationMetadata[], animatedElement: ElementRef) => import("@angular/animations").AnimationPlayer;
|
|
@@ -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 { DialogContainerService } from './dialog-container.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Represents an insertion point for Dialogs created through the Dialog service.
|
|
10
|
-
* The created Dialogs mount after this element. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogservice#open))
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```html
|
|
14
|
-
* <div kendoDialogContainer></div>
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
export declare class DialogContainerDirective {
|
|
18
|
-
constructor(container: ViewContainerRef, service: DialogContainerService);
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogContainerDirective, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DialogContainerDirective, "[kendoDialogContainer]", 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 DialogContainerService {
|
|
11
|
-
private static container;
|
|
12
|
-
set container(container: ViewContainerRef);
|
|
13
|
-
get container(): ViewContainerRef;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogContainerService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DialogContainerService>;
|
|
16
|
-
}
|
|
@@ -1,41 +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 { DialogRef } from './models/dialog-ref';
|
|
6
|
-
import { DialogActionsComponent } from './dialog-actions.component';
|
|
7
|
-
import { DialogTitleBarComponent } from './dialog-titlebar.component';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* Serves as the base class for a component provided as Dialog content through the `content` property.
|
|
11
|
-
* ([See example](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service#single-component-rendering)).
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```ts
|
|
15
|
-
* @Component({ ... })
|
|
16
|
-
* export class UserInfoComponent extends DialogContentBase {
|
|
17
|
-
* constructor(public dialog: DialogRef) {
|
|
18
|
-
* super(dialog);
|
|
19
|
-
* }
|
|
20
|
-
* }
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
export declare class DialogContentBase {
|
|
25
|
-
dialog: DialogRef;
|
|
26
|
-
/**
|
|
27
|
-
* @hidden
|
|
28
|
-
*/
|
|
29
|
-
dialogTitleBar: DialogTitleBarComponent;
|
|
30
|
-
/**
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
dialogActions: DialogActionsComponent;
|
|
34
|
-
constructor(dialog: DialogRef);
|
|
35
|
-
/**
|
|
36
|
-
* @hidden
|
|
37
|
-
*/
|
|
38
|
-
ngAfterViewInit(): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogContentBase, never>;
|
|
40
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DialogContentBase, never, never, {}, {}, never, never, true, never>;
|
|
41
|
-
}
|
|
@@ -1,58 +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 { EventEmitter, ElementRef, NgZone, AfterViewInit } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { PreventableEvent } from '../common/preventable-event';
|
|
8
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* Represents the [Kendo UI DialogTitleBar component for Angular](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogtitlebarcomponent).
|
|
12
|
-
*
|
|
13
|
-
* Use this component as part of the Dialog content when you create the Dialog dynamically with an [Angular service](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service).
|
|
14
|
-
*
|
|
15
|
-
* ```html
|
|
16
|
-
* <kendo-dialog>
|
|
17
|
-
* <kendo-dialog-titlebar [id]="dialogId" (close)="onClose()">
|
|
18
|
-
* Dialog Title
|
|
19
|
-
* </kendo-dialog-titlebar>
|
|
20
|
-
* </kendo-dialog>
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
export declare class DialogTitleBarComponent implements AfterViewInit {
|
|
25
|
-
private zone;
|
|
26
|
-
private hostElement;
|
|
27
|
-
private localizationService;
|
|
28
|
-
/**
|
|
29
|
-
* Fires when the close button in the title bar is clicked.
|
|
30
|
-
*/
|
|
31
|
-
close: EventEmitter<PreventableEvent>;
|
|
32
|
-
/**
|
|
33
|
-
* @hidden
|
|
34
|
-
*/
|
|
35
|
-
id: string;
|
|
36
|
-
/**
|
|
37
|
-
* @hidden
|
|
38
|
-
*/
|
|
39
|
-
closeTitle: string;
|
|
40
|
-
/**
|
|
41
|
-
* @hidden
|
|
42
|
-
*/
|
|
43
|
-
closable: boolean;
|
|
44
|
-
get className(): true;
|
|
45
|
-
/**
|
|
46
|
-
* @hidden
|
|
47
|
-
*/
|
|
48
|
-
xIcon: SVGIcon;
|
|
49
|
-
constructor(zone: NgZone, hostElement: ElementRef, localizationService: LocalizationService);
|
|
50
|
-
get closeButtonTitle(): string;
|
|
51
|
-
ngAfterViewInit(): void;
|
|
52
|
-
/**
|
|
53
|
-
* @hidden
|
|
54
|
-
*/
|
|
55
|
-
onCloseClick(e: Event): void;
|
|
56
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogTitleBarComponent, [null, null, { optional: true; }]>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogTitleBarComponent, "kendo-dialog-titlebar", never, { "id": { "alias": "id"; "required": false; }; "closeTitle": { "alias": "closeTitle"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; }, { "close": "close"; }, never, ["*"], true, never>;
|
|
58
|
-
}
|