@progress/kendo-angular-dialog 6.0.2-dev.202202251355 → 7.0.0-dev.202204150748
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/bundles/kendo-angular-dialog.umd.js +5 -0
- package/{dist/es2015/common → common}/actions-layout.d.ts +0 -0
- package/{dist/es2015/common → common}/preventable-event.d.ts +0 -0
- package/{dist/es2015/common → common}/util.d.ts +1 -1
- package/{dist/es2015/dialog → dialog}/dialog-actions.component.d.ts +14 -7
- package/{dist/es2015/dialog → dialog}/dialog-container.directive.d.ts +3 -0
- package/dialog/dialog-container.service.d.ts +16 -0
- package/{dist/es2015/dialog → dialog}/dialog-content-base.d.ts +4 -1
- package/{dist/es2015/dialog → dialog}/dialog-titlebar.component.d.ts +5 -2
- package/{dist/es2015/dialog → dialog}/dialog.component.d.ts +13 -6
- package/{dist/es2015/dialog → dialog}/dialog.service.d.ts +5 -1
- package/dialog/models/dialog-action.d.ts +28 -0
- package/dialog/models/dialog-close-result.d.ts +11 -0
- package/dialog/models/dialog-ref.d.ts +38 -0
- package/dialog/models/dialog-result.d.ts +14 -0
- package/{dist/es2015/dialog → dialog/models}/dialog-settings.d.ts +5 -73
- package/{dist/es/localization/dialog-localization.service.js → dialog/models/index.d.ts} +5 -5
- package/{dist/es2015/dialog.module.d.ts → dialog.module.d.ts} +11 -0
- package/{dist/es2015/dialogs.module.d.ts → dialogs.module.d.ts} +6 -0
- package/{dist/es2015 → esm2015}/common/actions-layout.js +1 -0
- package/{dist/es2015 → esm2015}/common/preventable-event.js +0 -0
- package/{dist/es2015 → esm2015}/common/util.js +0 -5
- package/esm2015/dialog/dialog-actions.component.js +115 -0
- package/esm2015/dialog/dialog-container.directive.js +30 -0
- package/esm2015/dialog/dialog-container.service.js +23 -0
- package/{dist/es2015 → esm2015}/dialog/dialog-content-base.js +18 -10
- package/esm2015/dialog/dialog-titlebar.component.js +136 -0
- package/{dist/es2015 → esm2015}/dialog/dialog.component.js +123 -113
- package/{dist/es2015 → esm2015}/dialog/dialog.service.js +16 -15
- package/{dist/es2015/window/window-container.service.d.ts → esm2015/dialog/models/dialog-action.js} +3 -5
- package/esm2015/dialog/models/dialog-close-result.js +11 -0
- package/esm2015/dialog/models/dialog-ref.js +11 -0
- package/{dist/es/common/actions-layout.js → esm2015/dialog/models/dialog-result.js} +1 -0
- package/{dist/es2015/dialog/dialog-container.service.d.ts → esm2015/dialog/models/dialog-settings.js} +3 -5
- package/esm2015/dialog/models/index.js +9 -0
- package/{dist/es2015 → esm2015}/dialog.module.js +21 -13
- package/{dist/es → esm2015}/dialogs.module.js +12 -12
- package/esm2015/kendo-angular-dialog.js +8 -0
- package/esm2015/localization/custom-messages.component.js +41 -0
- package/{dist/es2015 → esm2015}/localization/dialog-localization.service.js +0 -0
- package/esm2015/localization/localized-messages.directive.js +40 -0
- package/esm2015/localization/messages.js +29 -0
- package/esm2015/localization/titlebar-localization.service.js +44 -0
- package/{dist/es2015 → esm2015}/main.js +8 -2
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/esm2015/shared.module.js +38 -0
- package/esm2015/window/actions/window-close-action.directive.js +59 -0
- package/esm2015/window/actions/window-maximize-action.directive.js +65 -0
- package/esm2015/window/actions/window-minimize-action.directive.js +65 -0
- package/esm2015/window/actions/window-restore-action.directive.js +65 -0
- package/{dist/es2015 → esm2015}/window/drag-resize.service.js +9 -11
- package/esm2015/window/models/index.js +10 -0
- package/esm2015/window/models/window-close-result.js +9 -0
- package/{dist/es2015/window/window-events.js → esm2015/window/models/window-messages.js} +1 -0
- package/esm2015/window/models/window-options.js +5 -0
- package/{dist/es2015/window/window-settings.js → esm2015/window/models/window-ref.js} +0 -11
- package/esm2015/window/models/window-settings.js +10 -0
- package/esm2015/window/models/window-types.js +5 -0
- package/{dist/es2015 → esm2015}/window/navigation.service.js +10 -11
- package/esm2015/window/window-container.directive.js +30 -0
- package/esm2015/window/window-container.service.js +23 -0
- package/{dist/es → esm2015}/window/window-events.js +1 -0
- package/{dist/es2015 → esm2015}/window/window-resize-handle.directive.js +21 -26
- package/{dist/es2015 → esm2015}/window/window-titlebar.component.js +35 -34
- package/{dist/es2015 → esm2015}/window/window.component.js +168 -187
- package/{dist/es2015 → esm2015}/window/window.service.js +15 -14
- package/{dist/es2015 → esm2015}/window.module.js +30 -13
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-dialog.js} +1026 -922
- package/{dist/es2015/shared.module.d.ts → kendo-angular-dialog.d.ts} +3 -7
- package/{dist/es2015/localization → localization}/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/localization → localization}/dialog-localization.service.d.ts +0 -0
- package/{dist/es2015/localization → localization}/localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/localization → localization}/messages.d.ts +3 -0
- package/{dist/es2015/localization → localization}/titlebar-localization.service.d.ts +3 -0
- package/{dist/es2015/main.d.ts → main.d.ts} +7 -2
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +35 -106
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/shared.module.d.ts +21 -0
- package/{dist/es2015/window → window}/actions/window-close-action.directive.d.ts +3 -0
- package/{dist/es2015/window → window}/actions/window-maximize-action.directive.d.ts +4 -1
- package/{dist/es2015/window → window}/actions/window-minimize-action.directive.d.ts +4 -1
- package/{dist/es2015/window → window}/actions/window-restore-action.directive.d.ts +4 -1
- package/{dist/es2015/window → window}/drag-resize.service.d.ts +8 -4
- package/window/models/index.d.ts +10 -0
- package/window/models/window-close-result.d.ts +9 -0
- package/window/models/window-messages.d.ts +26 -0
- package/window/models/window-options.d.ts +20 -0
- package/window/models/window-ref.d.ts +40 -0
- package/{dist/es2015/window → window/models}/window-settings.d.ts +4 -84
- package/window/models/window-types.d.ts +11 -0
- package/{dist/es2015/window → window}/navigation.service.d.ts +4 -1
- package/{dist/es2015/window → window}/window-container.directive.d.ts +3 -0
- package/window/window-container.service.d.ts +16 -0
- package/{dist/es2015/window → window}/window-events.d.ts +0 -0
- package/{dist/es2015/window → window}/window-resize-handle.directive.d.ts +4 -1
- package/{dist/es2015/window → window}/window-titlebar.component.d.ts +6 -3
- package/{dist/es2015/window → window}/window.component.d.ts +42 -25
- package/{dist/es2015/window → window}/window.service.d.ts +5 -1
- package/window.module.d.ts +45 -0
- package/dist/cdn/js/kendo-angular-dialog.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/common/preventable-event.js +0 -29
- package/dist/es/common/util.js +0 -214
- package/dist/es/dialog/dialog-actions.component.js +0 -89
- package/dist/es/dialog/dialog-container.directive.js +0 -31
- package/dist/es/dialog/dialog-container.service.js +0 -31
- package/dist/es/dialog/dialog-content-base.js +0 -45
- package/dist/es/dialog/dialog-settings.js +0 -46
- package/dist/es/dialog/dialog-titlebar.component.js +0 -94
- package/dist/es/dialog/dialog.component.js +0 -462
- package/dist/es/dialog/dialog.service.js +0 -214
- package/dist/es/dialog.module.js +0 -56
- package/dist/es/index.js +0 -22
- package/dist/es/localization/custom-messages.component.js +0 -44
- package/dist/es/localization/localized-messages.directive.js +0 -35
- package/dist/es/localization/messages.js +0 -34
- package/dist/es/localization/titlebar-localization.service.js +0 -34
- package/dist/es/main.js +0 -21
- package/dist/es/package-metadata.js +0 -15
- package/dist/es/shared.module.js +0 -34
- package/dist/es/window/actions/window-close-action.directive.js +0 -63
- package/dist/es/window/actions/window-maximize-action.directive.js +0 -75
- package/dist/es/window/actions/window-minimize-action.directive.js +0 -75
- package/dist/es/window/actions/window-restore-action.directive.js +0 -75
- package/dist/es/window/drag-resize.service.js +0 -351
- package/dist/es/window/navigation.service.js +0 -155
- package/dist/es/window/window-container.directive.js +0 -31
- package/dist/es/window/window-container.service.js +0 -31
- package/dist/es/window/window-resize-handle.directive.js +0 -78
- package/dist/es/window/window-settings.js +0 -34
- package/dist/es/window/window-titlebar.component.js +0 -144
- package/dist/es/window/window.component.js +0 -808
- package/dist/es/window/window.service.js +0 -214
- package/dist/es/window.module.js +0 -76
- package/dist/es2015/dialog/dialog-actions.component.js +0 -98
- package/dist/es2015/dialog/dialog-container.directive.js +0 -30
- package/dist/es2015/dialog/dialog-container.service.js +0 -23
- package/dist/es2015/dialog/dialog-settings.js +0 -30
- package/dist/es2015/dialog/dialog-titlebar.component.js +0 -106
- package/dist/es2015/dialogs.module.js +0 -41
- package/dist/es2015/index.d.ts +0 -22
- package/dist/es2015/index.js +0 -22
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/localization/custom-messages.component.js +0 -36
- package/dist/es2015/localization/localized-messages.directive.js +0 -35
- package/dist/es2015/localization/messages.js +0 -28
- package/dist/es2015/localization/titlebar-localization.service.js +0 -31
- package/dist/es2015/shared.module.js +0 -31
- package/dist/es2015/window/actions/window-close-action.directive.js +0 -60
- package/dist/es2015/window/actions/window-maximize-action.directive.js +0 -68
- package/dist/es2015/window/actions/window-minimize-action.directive.js +0 -68
- package/dist/es2015/window/actions/window-restore-action.directive.js +0 -68
- package/dist/es2015/window/window-container.directive.js +0 -30
- package/dist/es2015/window/window-container.service.js +0 -23
- package/dist/es2015/window.module.d.ts +0 -28
- package/dist/fesm5/index.js +0 -3474
- package/dist/npm/common/actions-layout.js +0 -6
- package/dist/npm/common/preventable-event.js +0 -31
- package/dist/npm/common/util.js +0 -219
- package/dist/npm/dialog/dialog-actions.component.js +0 -91
- package/dist/npm/dialog/dialog-container.directive.js +0 -33
- package/dist/npm/dialog/dialog-container.service.js +0 -33
- package/dist/npm/dialog/dialog-content-base.js +0 -47
- package/dist/npm/dialog/dialog-settings.js +0 -48
- package/dist/npm/dialog/dialog-titlebar.component.js +0 -96
- package/dist/npm/dialog/dialog.component.js +0 -464
- package/dist/npm/dialog/dialog.service.js +0 -216
- package/dist/npm/dialog.module.js +0 -58
- package/dist/npm/dialogs.module.js +0 -46
- package/dist/npm/index.js +0 -40
- package/dist/npm/localization/custom-messages.component.js +0 -46
- package/dist/npm/localization/dialog-localization.service.js +0 -11
- package/dist/npm/localization/localized-messages.directive.js +0 -37
- package/dist/npm/localization/messages.js +0 -36
- package/dist/npm/localization/titlebar-localization.service.js +0 -36
- package/dist/npm/main.js +0 -45
- package/dist/npm/package-metadata.js +0 -17
- package/dist/npm/shared.module.js +0 -36
- package/dist/npm/window/actions/window-close-action.directive.js +0 -65
- package/dist/npm/window/actions/window-maximize-action.directive.js +0 -77
- package/dist/npm/window/actions/window-minimize-action.directive.js +0 -77
- package/dist/npm/window/actions/window-restore-action.directive.js +0 -77
- package/dist/npm/window/drag-resize.service.js +0 -353
- package/dist/npm/window/navigation.service.js +0 -157
- package/dist/npm/window/window-container.directive.js +0 -33
- package/dist/npm/window/window-container.service.js +0 -33
- package/dist/npm/window/window-events.js +0 -6
- package/dist/npm/window/window-resize-handle.directive.js +0 -80
- package/dist/npm/window/window-settings.js +0 -36
- package/dist/npm/window/window-titlebar.component.js +0 -146
- package/dist/npm/window/window.component.js +0 -810
- package/dist/npm/window/window.service.js +0 -216
- package/dist/npm/window.module.js +0 -78
- package/dist/systemjs/kendo-angular-dialog.js +0 -5
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 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 declare type WindowPosition = 'absolute' | 'fixed';
|
|
9
|
+
export declare type WindowState = 'minimized' | 'maximized' | 'default';
|
|
10
|
+
export declare type WindowDimensionSetting = 'width' | 'height';
|
|
11
|
+
export declare type WindowOffsetSetting = 'top' | 'left';
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgZone } from "@angular/core";
|
|
6
6
|
import { DragResizeService } from './drag-resize.service';
|
|
7
|
-
import { WindowState } from
|
|
7
|
+
import { WindowState } from "./models/window-types";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
/**
|
|
9
10
|
* @hidden
|
|
10
11
|
*/
|
|
@@ -18,4 +19,6 @@ export declare class NavigationService {
|
|
|
18
19
|
handleDrag(key: number): void;
|
|
19
20
|
handleResize(key: number): void;
|
|
20
21
|
handleStateChange(key: number, state: WindowState): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
|
|
21
24
|
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ViewContainerRef } from '@angular/core';
|
|
6
6
|
import { WindowContainerService } from './window-container.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* Provides an insertion point for the Windows which are created through the
|
|
9
10
|
* Window service ([see example]({% slug api_dialog_windowservice %}#toc-open)).
|
|
@@ -16,4 +17,6 @@ import { WindowContainerService } from './window-container.service';
|
|
|
16
17
|
*/
|
|
17
18
|
export declare class WindowContainerDirective {
|
|
18
19
|
constructor(container: ViewContainerRef, service: WindowContainerService);
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowContainerDirective, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WindowContainerDirective, "[kendoWindowContainer]", never, {}, {}, never>;
|
|
19
22
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 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
|
+
}
|
|
File without changes
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { OnInit, OnDestroy, ElementRef, Renderer2 } from '@angular/core';
|
|
6
6
|
import { DraggableDirective } from '@progress/kendo-angular-common';
|
|
7
7
|
import { DragResizeService } from './drag-resize.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
/**
|
|
9
10
|
* @hidden
|
|
10
11
|
*/
|
|
@@ -14,10 +15,12 @@ export declare class ResizeHandleDirective implements OnInit, OnDestroy {
|
|
|
14
15
|
private renderer;
|
|
15
16
|
private service;
|
|
16
17
|
direction: string;
|
|
17
|
-
|
|
18
|
+
get hostClass(): boolean;
|
|
18
19
|
private subscriptions;
|
|
19
20
|
constructor(draggable: DraggableDirective, el: ElementRef, renderer: Renderer2, service: DragResizeService);
|
|
20
21
|
ngOnInit(): void;
|
|
21
22
|
ngOnDestroy(): void;
|
|
22
23
|
private setDisplay;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResizeHandleDirective, [{ host: true; }, null, null, null]>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizeHandleDirective, "[kendoWindowResizeHandle]", never, { "direction": "direction"; }, {}, never>;
|
|
23
26
|
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { OnDestroy, OnInit, ElementRef, NgZone, TemplateRef } from '@angular/core';
|
|
6
6
|
import { DragResizeService } from './drag-resize.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class WindowTitleBarComponent implements OnInit, OnDestroy {
|
|
8
9
|
el: ElementRef;
|
|
9
10
|
private ngZone;
|
|
@@ -37,11 +38,13 @@ export declare class WindowTitleBarComponent implements OnInit, OnDestroy {
|
|
|
37
38
|
* @hidden
|
|
38
39
|
*/
|
|
39
40
|
unsubscribeState(): void;
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
get className(): true;
|
|
42
|
+
get touchAction(): string;
|
|
42
43
|
/**
|
|
43
44
|
* @hidden
|
|
44
45
|
*/
|
|
45
46
|
handle(ev: any): void;
|
|
46
|
-
protected
|
|
47
|
+
protected get isDraggable(): boolean;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowTitleBarComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WindowTitleBarComponent, "kendo-window-titlebar", never, { "template": "template"; }, {}, never, ["*"]>;
|
|
47
50
|
}
|
|
@@ -5,10 +5,12 @@
|
|
|
5
5
|
import { OnInit, OnDestroy, AfterViewInit, EventEmitter, ElementRef, Renderer2, QueryList, NgZone, OnChanges, SimpleChange, TemplateRef } from '@angular/core';
|
|
6
6
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
7
|
import { DragResizeService } from './drag-resize.service';
|
|
8
|
-
import { WindowState, WindowDimensionSetting, WindowOffsetSetting, WindowMessages } from './window-settings';
|
|
9
8
|
import { ResizeHandleDirective } from './window-resize-handle.directive';
|
|
10
9
|
import { WindowTitleBarComponent } from './window-titlebar.component';
|
|
11
10
|
import { NavigationService } from './navigation.service';
|
|
11
|
+
import { WindowDimensionSetting, WindowOffsetSetting, WindowState } from './models/window-types';
|
|
12
|
+
import { WindowMessages } from './models/window-messages';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
12
14
|
/**
|
|
13
15
|
* Represents the [Kendo UI Window component for Angular]({% slug overview_window_dialogs %}).
|
|
14
16
|
*/
|
|
@@ -31,20 +33,26 @@ export declare class WindowComponent implements OnInit, OnDestroy, OnChanges, Af
|
|
|
31
33
|
* Specifies whether the user will be able to drag the component.
|
|
32
34
|
* @default true
|
|
33
35
|
*/
|
|
34
|
-
draggable: boolean;
|
|
36
|
+
set draggable(value: boolean);
|
|
37
|
+
get draggable(): boolean;
|
|
35
38
|
/**
|
|
36
39
|
* Specifies whether the user will be able to resize the component.
|
|
37
40
|
* @default true
|
|
38
41
|
*/
|
|
39
|
-
resizable: boolean;
|
|
42
|
+
set resizable(value: boolean);
|
|
43
|
+
get resizable(): boolean;
|
|
40
44
|
/**
|
|
41
45
|
* @hidden
|
|
42
46
|
*/
|
|
43
|
-
cssClass: any;
|
|
47
|
+
set cssClass(classes: any);
|
|
48
|
+
get cssClass(): any;
|
|
44
49
|
/**
|
|
45
50
|
* @hidden
|
|
46
51
|
*/
|
|
47
|
-
htmlAttributes: {
|
|
52
|
+
set htmlAttributes(attributes: {
|
|
53
|
+
[key: string]: string;
|
|
54
|
+
});
|
|
55
|
+
get htmlAttributes(): {
|
|
48
56
|
[key: string]: string;
|
|
49
57
|
};
|
|
50
58
|
/**
|
|
@@ -61,43 +69,50 @@ export declare class WindowComponent implements OnInit, OnDestroy, OnChanges, Af
|
|
|
61
69
|
* * `maximized`
|
|
62
70
|
* * `default`
|
|
63
71
|
*/
|
|
64
|
-
state: WindowState;
|
|
72
|
+
set state(value: WindowState);
|
|
73
|
+
get state(): WindowState;
|
|
65
74
|
/**
|
|
66
75
|
* Specifies the minimum width of the component.
|
|
67
76
|
* The `minWidth` property has to be set in pixels.
|
|
68
77
|
* @default 120
|
|
69
78
|
*/
|
|
70
|
-
minWidth: number;
|
|
79
|
+
set minWidth(value: number);
|
|
80
|
+
get minWidth(): number;
|
|
71
81
|
/**
|
|
72
82
|
* Specifies the minimum height of the Window.
|
|
73
83
|
* The `minHeight` property has to be set in pixels.
|
|
74
84
|
* @default 100
|
|
75
85
|
*/
|
|
76
|
-
minHeight: number;
|
|
86
|
+
set minHeight(value: number);
|
|
87
|
+
get minHeight(): number;
|
|
77
88
|
/**
|
|
78
89
|
* Specifies the width of the Window.
|
|
79
90
|
* The `width` property has to be set in pixels.
|
|
80
91
|
*/
|
|
81
|
-
width: number;
|
|
92
|
+
set width(value: number);
|
|
93
|
+
get width(): number;
|
|
82
94
|
/**
|
|
83
95
|
* Specifies the height of the Window.
|
|
84
96
|
* The `height` property has to be set in pixels.
|
|
85
97
|
*/
|
|
86
|
-
height: number;
|
|
98
|
+
set height(value: number);
|
|
99
|
+
get height(): number;
|
|
87
100
|
/**
|
|
88
101
|
* Specifies the initial top offset of the Window.
|
|
89
102
|
* The `top` property has to be set in pixels.
|
|
90
103
|
*/
|
|
91
|
-
top: number;
|
|
104
|
+
set top(value: number);
|
|
105
|
+
get top(): number;
|
|
92
106
|
/**
|
|
93
107
|
* Specifies the initial left offset of the Window.
|
|
94
108
|
* Numeric values are treated as pixels.
|
|
95
109
|
*/
|
|
96
|
-
left: number;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
110
|
+
set left(value: number);
|
|
111
|
+
get left(): number;
|
|
112
|
+
get closeButtonTitle(): string;
|
|
113
|
+
get restoreButtonTitle(): string;
|
|
114
|
+
get maximizeButtonTitle(): string;
|
|
115
|
+
get minimizeButtonTitle(): string;
|
|
101
116
|
/**
|
|
102
117
|
* Fires when the user starts to move the Window.
|
|
103
118
|
*/
|
|
@@ -156,8 +171,8 @@ export declare class WindowComponent implements OnInit, OnDestroy, OnChanges, Af
|
|
|
156
171
|
*/
|
|
157
172
|
messages: WindowMessages;
|
|
158
173
|
tabIndex: number;
|
|
159
|
-
|
|
160
|
-
|
|
174
|
+
get hostClasses(): boolean;
|
|
175
|
+
get dir(): string;
|
|
161
176
|
titleBarView: WindowTitleBarComponent;
|
|
162
177
|
titleBarContent: WindowTitleBarComponent;
|
|
163
178
|
resizeHandles: QueryList<ResizeHandleDirective>;
|
|
@@ -205,12 +220,12 @@ export declare class WindowComponent implements OnInit, OnDestroy, OnChanges, Af
|
|
|
205
220
|
* @param {number} value - The value set in pixels
|
|
206
221
|
*/
|
|
207
222
|
setOffset(offset: WindowOffsetSetting, value: number): void;
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
223
|
+
get showDefaultTitleBar(): boolean;
|
|
224
|
+
get styleMinWidth(): string;
|
|
225
|
+
get styleMinHeight(): string;
|
|
226
|
+
get stylePosition(): string;
|
|
227
|
+
get wrapperMaximizedClass(): boolean;
|
|
228
|
+
get wrapperMinimizedClass(): boolean;
|
|
214
229
|
/**
|
|
215
230
|
* @hidden
|
|
216
231
|
*/
|
|
@@ -228,7 +243,9 @@ export declare class WindowComponent implements OnInit, OnDestroy, OnChanges, Af
|
|
|
228
243
|
private updateAllOffset;
|
|
229
244
|
private setStyle;
|
|
230
245
|
private removeStyle;
|
|
231
|
-
private
|
|
246
|
+
private get options();
|
|
232
247
|
private setOption;
|
|
233
248
|
private handleInitialFocus;
|
|
249
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowComponent, never>;
|
|
250
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WindowComponent, "kendo-window", ["kendoWindow"], { "autoFocusedElement": "autoFocusedElement"; "title": "title"; "draggable": "draggable"; "resizable": "resizable"; "keepContent": "keepContent"; "state": "state"; "minWidth": "minWidth"; "minHeight": "minHeight"; "width": "width"; "height": "height"; "top": "top"; "left": "left"; }, { "dragStart": "dragStart"; "dragEnd": "dragEnd"; "resizeStart": "resizeStart"; "resizeEnd": "resizeEnd"; "close": "close"; "widthChange": "widthChange"; "heightChange": "heightChange"; "topChange": "topChange"; "leftChange": "leftChange"; "stateChange": "stateChange"; }, ["titleBarContent"], ["kendo-window-titlebar", "*"]>;
|
|
234
251
|
}
|
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ComponentFactoryResolver } from '@angular/core';
|
|
6
|
-
import {
|
|
6
|
+
import { WindowSettings } from './models/window-settings';
|
|
7
7
|
import { WindowContainerService } from '../window/window-container.service';
|
|
8
|
+
import { WindowRef } from './models/window-ref';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
8
10
|
/**
|
|
9
11
|
* A service for opening Windows dynamically
|
|
10
12
|
* ([see example]({% slug service_window %})).
|
|
@@ -58,4 +60,6 @@ export declare class WindowService {
|
|
|
58
60
|
open(settings: WindowSettings): WindowRef;
|
|
59
61
|
private applyOptions;
|
|
60
62
|
private contentFrom;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowService, never>;
|
|
64
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WindowService>;
|
|
61
65
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 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-resize-handle.directive";
|
|
7
|
+
import * as i2 from "./window/window.component";
|
|
8
|
+
import * as i3 from "./window/window-titlebar.component";
|
|
9
|
+
import * as i4 from "./window/actions/window-close-action.directive";
|
|
10
|
+
import * as i5 from "./window/actions/window-minimize-action.directive";
|
|
11
|
+
import * as i6 from "./window/actions/window-maximize-action.directive";
|
|
12
|
+
import * as i7 from "./window/actions/window-restore-action.directive";
|
|
13
|
+
import * as i8 from "./window/window-container.directive";
|
|
14
|
+
import * as i9 from "./shared.module";
|
|
15
|
+
import * as i10 from "@progress/kendo-angular-common";
|
|
16
|
+
import * as i11 from "./dialog/dialog-actions.component";
|
|
17
|
+
import * as i12 from "./localization/custom-messages.component";
|
|
18
|
+
import * as i13 from "./localization/localized-messages.directive";
|
|
19
|
+
/**
|
|
20
|
+
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
21
|
+
* definition for the Window component. Imports `WindowModule` into the
|
|
22
|
+
* [root module]({{ site.data.urls.angular['ngmodules'] }}#angular-modularity)
|
|
23
|
+
* of your application or into any other sub-module that will use the Window component.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts-no-run
|
|
27
|
+
* import { NgModule } from '@angular/core';
|
|
28
|
+
* import { BrowserModule } from '@angular/platform-browser';
|
|
29
|
+
* import { WindowModule } from '@progress/kendo-angular-window';
|
|
30
|
+
* import { AppComponent } from './app.component';
|
|
31
|
+
*
|
|
32
|
+
* _@NgModule({
|
|
33
|
+
* bootstrap: [AppComponent],
|
|
34
|
+
* declarations: [AppComponent],
|
|
35
|
+
* imports: [BrowserModule, WindowModule]
|
|
36
|
+
* })
|
|
37
|
+
* export class AppModule {
|
|
38
|
+
* }
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare class WindowModule {
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowModule, never>;
|
|
43
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WindowModule, [typeof i1.ResizeHandleDirective, typeof i2.WindowComponent, typeof i3.WindowTitleBarComponent, typeof i4.WindowCloseActionDirective, typeof i5.WindowMinimizeActionDirective, typeof i6.WindowMaximizeActionDirective, typeof i7.WindowRestoreActionDirective, typeof i8.WindowContainerDirective], [typeof i9.SharedModule, typeof i10.DraggableModule], [typeof i2.WindowComponent, typeof i4.WindowCloseActionDirective, typeof i5.WindowMinimizeActionDirective, typeof i6.WindowMaximizeActionDirective, typeof i7.WindowRestoreActionDirective, typeof i3.WindowTitleBarComponent, typeof i11.DialogActionsComponent, typeof i12.CustomMessagesComponent, typeof i13.LocalizedMessagesDirective, typeof i8.WindowContainerDirective]>;
|
|
44
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<WindowModule>;
|
|
45
|
+
}
|