@progress/kendo-angular-dialog 7.1.5 → 11.0.0-develop.80
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/NOTICE.txt +3 -3
- package/common/actions-layout.d.ts +1 -1
- package/common/animation-types.d.ts +1 -1
- package/common/dialog-animation-direction.d.ts +1 -1
- package/common/preventable-event.d.ts +1 -1
- package/common/util.d.ts +1 -1
- package/dialog/dialog-actions.component.d.ts +1 -1
- package/dialog/dialog-animations/animate-content.d.ts +1 -1
- package/dialog/dialog-animations/animations.d.ts +1 -1
- package/dialog/dialog-animations/create-animation-player.d.ts +1 -1
- package/dialog/dialog-container.directive.d.ts +1 -1
- package/dialog/dialog-container.service.d.ts +1 -1
- package/dialog/dialog-content-base.d.ts +1 -1
- package/dialog/dialog-titlebar.component.d.ts +6 -1
- package/dialog/dialog.component.d.ts +1 -1
- package/dialog/dialog.service.d.ts +1 -1
- package/dialog/models/dialog-action.d.ts +1 -1
- package/dialog/models/dialog-animation.d.ts +1 -1
- package/dialog/models/dialog-close-result.d.ts +1 -1
- package/dialog/models/dialog-ref.d.ts +1 -1
- package/dialog/models/dialog-result.d.ts +1 -1
- package/dialog/models/dialog-settings.d.ts +1 -1
- package/dialog/models/index.d.ts +1 -1
- package/dialog.module.d.ts +1 -1
- package/dialogs.module.d.ts +1 -1
- package/{esm2015/dialog/models/dialog-animation.js → esm2020/common/actions-layout.mjs} +1 -1
- package/{esm2015/common/actions-layout.js → esm2020/common/animation-types.mjs} +1 -1
- package/{esm2015/common/animation-types.js → esm2020/common/dialog-animation-direction.mjs} +1 -1
- package/{esm2015/common/preventable-event.js → esm2020/common/preventable-event.mjs} +1 -1
- package/{esm2015/common/util.js → esm2020/common/util.mjs} +1 -1
- package/{esm2015/dialog/dialog-actions.component.js → esm2020/dialog/dialog-actions.component.mjs} +5 -5
- package/{esm2015/dialog/dialog-animations/animate-content.js → esm2020/dialog/dialog-animations/animate-content.mjs} +1 -1
- package/{esm2015/dialog/dialog-animations/animations.js → esm2020/dialog/dialog-animations/animations.mjs} +9 -5
- package/{esm2015/dialog/dialog-animations/create-animation-player.js → esm2020/dialog/dialog-animations/create-animation-player.mjs} +1 -1
- package/{esm2015/dialog/dialog-container.directive.js → esm2020/dialog/dialog-container.directive.mjs} +6 -5
- package/{esm2015/dialog/dialog-container.service.js → esm2020/dialog/dialog-container.service.mjs} +4 -4
- package/{esm2015/dialog/dialog-content-base.js → esm2020/dialog/dialog-content-base.mjs} +5 -4
- package/{esm2015/dialog/dialog-titlebar.component.js → esm2020/dialog/dialog-titlebar.component.mjs} +17 -13
- package/{esm2015/dialog/dialog.component.js → esm2020/dialog/dialog.component.mjs} +10 -6
- package/{esm2015/dialog/dialog.service.js → esm2020/dialog/dialog.service.mjs} +5 -5
- package/{esm2015/dialog/models/dialog-action.js → esm2020/dialog/models/dialog-action.mjs} +1 -1
- package/{esm2015/common/dialog-animation-direction.js → esm2020/dialog/models/dialog-animation.mjs} +1 -1
- package/{esm2015/dialog/models/dialog-close-result.js → esm2020/dialog/models/dialog-close-result.mjs} +1 -1
- package/{esm2015/dialog/models/dialog-ref.js → esm2020/dialog/models/dialog-ref.mjs} +1 -1
- package/esm2020/dialog/models/dialog-result.mjs +5 -0
- package/{esm2015/dialog/models/dialog-settings.js → esm2020/dialog/models/dialog-settings.mjs} +1 -1
- package/{esm2015/dialog/models/index.js → esm2020/dialog/models/index.mjs} +1 -1
- package/{esm2015/dialog.module.js → esm2020/dialog.module.mjs} +5 -5
- package/{esm2015/dialogs.module.js → esm2020/dialogs.module.mjs} +5 -5
- package/{esm2015/main.js → esm2020/index.mjs} +1 -1
- package/{esm2015/localization/custom-messages.component.js → esm2020/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/localization/dialog-localization.service.js → esm2020/localization/dialog-localization.service.mjs} +1 -1
- package/{esm2015/localization/localized-messages.directive.js → esm2020/localization/localized-messages.directive.mjs} +5 -4
- package/{esm2015/localization/messages.js → esm2020/localization/messages.mjs} +4 -4
- package/{esm2015/localization/titlebar-localization.service.js → esm2020/localization/titlebar-localization.service.mjs} +5 -5
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/{esm2015/kendo-angular-dialog.js → esm2020/progress-kendo-angular-dialog.mjs} +2 -2
- package/{esm2015/shared.module.js → esm2020/shared.module.mjs} +10 -9
- package/{esm2015/window/actions/window-close-action.directive.js → esm2020/window/actions/window-close-action.directive.mjs} +37 -8
- package/{esm2015/window/actions/window-maximize-action.directive.js → esm2020/window/actions/window-maximize-action.directive.mjs} +37 -8
- package/{esm2015/window/actions/window-minimize-action.directive.js → esm2020/window/actions/window-minimize-action.directive.mjs} +37 -8
- package/{esm2015/window/actions/window-restore-action.directive.js → esm2020/window/actions/window-restore-action.directive.mjs} +37 -8
- package/{esm2015/window/drag-resize.service.js → esm2020/window/drag-resize.service.mjs} +13 -13
- package/{esm2015/window/models/index.js → esm2020/window/models/index.mjs} +1 -1
- package/{esm2015/window/models/window-close-result.js → esm2020/window/models/window-close-result.mjs} +1 -1
- package/esm2020/window/models/window-messages.mjs +5 -0
- package/esm2020/window/models/window-options.mjs +5 -0
- package/{esm2015/window/models/window-ref.js → esm2020/window/models/window-ref.mjs} +1 -1
- package/{esm2015/window/models/window-settings.js → esm2020/window/models/window-settings.mjs} +1 -1
- package/esm2020/window/models/window-types.mjs +5 -0
- package/{esm2015/window/navigation.service.js → esm2020/window/navigation.service.mjs} +10 -9
- package/{esm2015/window/window-container.directive.js → esm2020/window/window-container.directive.mjs} +6 -5
- package/{esm2015/window/window-container.service.js → esm2020/window/window-container.service.mjs} +4 -4
- package/esm2020/window/window-events.mjs +5 -0
- package/{esm2015/window/window-resize-handle.directive.js → esm2020/window/window-resize-handle.directive.mjs} +7 -5
- package/{esm2015/window/window-titlebar.component.js → esm2020/window/window-titlebar.component.mjs} +6 -5
- package/{esm2015/window/window.component.js → esm2020/window/window.component.mjs} +16 -13
- package/{esm2015/window/window.service.js → esm2020/window/window.service.mjs} +5 -5
- package/{esm2015/window.module.js → esm2020/window.module.mjs} +5 -5
- package/fesm2015/progress-kendo-angular-dialog.mjs +3671 -0
- package/{fesm2015/kendo-angular-dialog.js → fesm2020/progress-kendo-angular-dialog.mjs} +249 -134
- package/{main.d.ts → index.d.ts} +1 -1
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/dialog-localization.service.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/localization/messages.d.ts +1 -1
- package/localization/titlebar-localization.service.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +30 -56
- package/{kendo-angular-dialog.d.ts → progress-kendo-angular-dialog.d.ts} +2 -2
- package/schematics/ngAdd/index.js +4 -6
- package/shared.module.d.ts +3 -2
- package/window/actions/window-close-action.directive.d.ts +7 -2
- package/window/actions/window-maximize-action.directive.d.ts +7 -2
- package/window/actions/window-minimize-action.directive.d.ts +7 -2
- package/window/actions/window-restore-action.directive.d.ts +7 -2
- package/window/drag-resize.service.d.ts +1 -1
- package/window/models/index.d.ts +1 -1
- package/window/models/window-close-result.d.ts +1 -1
- package/window/models/window-messages.d.ts +1 -1
- package/window/models/window-options.d.ts +1 -1
- package/window/models/window-ref.d.ts +1 -1
- package/window/models/window-settings.d.ts +1 -1
- package/window/models/window-types.d.ts +1 -1
- package/window/navigation.service.d.ts +1 -1
- package/window/window-container.directive.d.ts +1 -1
- package/window/window-container.service.d.ts +1 -1
- package/window/window-events.d.ts +1 -1
- package/window/window-resize-handle.directive.d.ts +1 -1
- package/window/window-titlebar.component.d.ts +1 -1
- package/window/window.component.d.ts +1 -1
- package/window/window.service.d.ts +1 -1
- package/window.module.d.ts +1 -1
- package/bundles/kendo-angular-dialog.umd.js +0 -5
- package/esm2015/dialog/models/dialog-result.js +0 -5
- package/esm2015/window/models/window-messages.js +0 -5
- package/esm2015/window/models/window-options.js +0 -5
- package/esm2015/window/models/window-types.js +0 -5
- package/esm2015/window/window-events.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
|
@@ -1,16 +1,24 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import {
|
|
5
|
+
import { Component, ElementRef, HostBinding, HostListener, Input, Optional, NgZone, Renderer2 } from "@angular/core";
|
|
6
|
+
import { DragResizeService } from './../drag-resize.service';
|
|
6
7
|
import { Button } from '@progress/kendo-angular-buttons';
|
|
7
8
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
+
import { windowRestoreIcon } from '@progress/kendo-svg-icons';
|
|
8
10
|
import * as i0 from "@angular/core";
|
|
9
11
|
import * as i1 from "./../drag-resize.service";
|
|
10
12
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
13
|
+
import * as i3 from "@progress/kendo-angular-icons";
|
|
14
|
+
import * as i4 from "@angular/common";
|
|
11
15
|
export class WindowRestoreActionDirective extends Button {
|
|
12
16
|
constructor(el, renderer, _service, localization, ngZone) {
|
|
13
17
|
super(el, renderer, null, localization, ngZone);
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
this.windowRestoreIcon = windowRestoreIcon;
|
|
14
22
|
this.buttonType = 'button';
|
|
15
23
|
this.buttonClass = true;
|
|
16
24
|
this.window = _service;
|
|
@@ -29,16 +37,26 @@ export class WindowRestoreActionDirective extends Button {
|
|
|
29
37
|
return this.window.options.state === 'default' ? 'none' : 'inline-flex';
|
|
30
38
|
}
|
|
31
39
|
}
|
|
32
|
-
WindowRestoreActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
33
|
-
WindowRestoreActionDirective.ɵ
|
|
40
|
+
WindowRestoreActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowRestoreActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.DragResizeService, optional: true }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
+
WindowRestoreActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WindowRestoreActionDirective, selector: "button[kendoWindowRestoreAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
|
|
34
42
|
LocalizationService,
|
|
35
43
|
{
|
|
36
44
|
provide: L10N_PREFIX,
|
|
37
45
|
useValue: 'kendo.button'
|
|
38
46
|
}
|
|
39
|
-
], exportAs: ["kendoWindowRestoreAction"], usesInheritance: true, ngImport: i0
|
|
40
|
-
|
|
41
|
-
|
|
47
|
+
], exportAs: ["kendoWindowRestoreAction"], usesInheritance: true, ngImport: i0, template: `
|
|
48
|
+
<kendo-icon-wrapper
|
|
49
|
+
innerCssClass="k-button-icon"
|
|
50
|
+
name="window-restore"
|
|
51
|
+
[svgIcon]="windowRestoreIcon"></kendo-icon-wrapper>
|
|
52
|
+
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
53
|
+
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
54
|
+
</span>
|
|
55
|
+
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
56
|
+
<span class="k-button-text"><ng-content></ng-content></span>
|
|
57
|
+
`, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowRestoreActionDirective, decorators: [{
|
|
59
|
+
type: Component,
|
|
42
60
|
args: [{
|
|
43
61
|
exportAs: 'kendoWindowRestoreAction',
|
|
44
62
|
providers: [
|
|
@@ -48,7 +66,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
48
66
|
useValue: 'kendo.button'
|
|
49
67
|
}
|
|
50
68
|
],
|
|
51
|
-
selector: 'button[kendoWindowRestoreAction]'
|
|
69
|
+
selector: 'button[kendoWindowRestoreAction]',
|
|
70
|
+
template: `
|
|
71
|
+
<kendo-icon-wrapper
|
|
72
|
+
innerCssClass="k-button-icon"
|
|
73
|
+
name="window-restore"
|
|
74
|
+
[svgIcon]="windowRestoreIcon"></kendo-icon-wrapper>
|
|
75
|
+
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
76
|
+
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
77
|
+
</span>
|
|
78
|
+
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
79
|
+
<span class="k-button-text"><ng-content></ng-content></span>
|
|
80
|
+
`
|
|
52
81
|
}]
|
|
53
82
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.DragResizeService, decorators: [{
|
|
54
83
|
type: Optional
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Injectable, EventEmitter } from "@angular/core";
|
|
5
|
+
import { Injectable, NgZone, EventEmitter } from "@angular/core";
|
|
6
6
|
import { Subscription } from 'rxjs';
|
|
7
7
|
import { tap, map, switchMap, takeUntil } from 'rxjs/operators';
|
|
8
8
|
import { isPresent, OFFSET_STYLES, preventDefault } from '../common/util';
|
|
@@ -68,7 +68,7 @@ export class DragResizeService {
|
|
|
68
68
|
}
|
|
69
69
|
init(el) {
|
|
70
70
|
const state = this.options.state;
|
|
71
|
-
|
|
71
|
+
const options = this.options;
|
|
72
72
|
this.window = el;
|
|
73
73
|
if (state !== 'default') {
|
|
74
74
|
this.restoreOptions = Object.assign({}, options);
|
|
@@ -134,15 +134,15 @@ export class DragResizeService {
|
|
|
134
134
|
this.resizeStart.emit(direction);
|
|
135
135
|
resizeStarted = true;
|
|
136
136
|
}
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
const deltaX = pageX - originalX;
|
|
138
|
+
const deltaY = pageY - originalY;
|
|
139
139
|
this.handleResize(startOffsetAndPosition, direction, deltaX, deltaY);
|
|
140
140
|
});
|
|
141
141
|
}));
|
|
142
142
|
}
|
|
143
143
|
handleResize(initial, dir, deltaX, deltaY) {
|
|
144
144
|
const old = this.options;
|
|
145
|
-
|
|
145
|
+
const ev = {};
|
|
146
146
|
if (dir.indexOf('e') >= 0) {
|
|
147
147
|
const newWidth = initial.width + deltaX;
|
|
148
148
|
if (newWidth !== old.width && newWidth >= old.minWidth) {
|
|
@@ -268,10 +268,10 @@ export class DragResizeService {
|
|
|
268
268
|
if (this.options.state === 'maximized') {
|
|
269
269
|
return;
|
|
270
270
|
}
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
271
|
+
const scroll = scrollPosition(this.window.nativeElement);
|
|
272
|
+
const wnd = this.windowViewPort;
|
|
273
|
+
const wrapper = offset(this.window.nativeElement);
|
|
274
|
+
const ev = {};
|
|
275
275
|
if (!isPresent(this.options.left)) {
|
|
276
276
|
this.options.left = scroll.x + Math.max(0, (wnd.width - wrapper.width) / 2);
|
|
277
277
|
ev.left = this.options.left;
|
|
@@ -320,8 +320,8 @@ export class DragResizeService {
|
|
|
320
320
|
return getWindowViewPort(this.window.nativeElement);
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
|
-
DragResizeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
324
|
-
DragResizeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
325
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
323
|
+
DragResizeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragResizeService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
324
|
+
DragResizeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragResizeService });
|
|
325
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragResizeService, decorators: [{
|
|
326
326
|
type: Injectable
|
|
327
327
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export * from './window-close-result';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
package/{esm2015/window/models/window-settings.js → esm2020/window/models/window-settings.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Injectable } from "@angular/core";
|
|
5
|
+
import { Injectable, NgZone } from "@angular/core";
|
|
6
|
+
import { DragResizeService } from './drag-resize.service';
|
|
6
7
|
import { isPresent, OFFSET_STYLES, Keys } from '../common/util';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
import * as i1 from "./drag-resize.service";
|
|
@@ -53,13 +54,13 @@ export class NavigationService {
|
|
|
53
54
|
this.window.closeAction();
|
|
54
55
|
}
|
|
55
56
|
handleDrag(key) {
|
|
56
|
-
|
|
57
|
+
const options = this.window.options;
|
|
57
58
|
if (!options.draggable) {
|
|
58
59
|
return;
|
|
59
60
|
}
|
|
60
61
|
const offset = this.window.currentOffsetAndPosition();
|
|
61
|
-
|
|
62
|
-
|
|
62
|
+
const restoreOptions = this.window.restoreOptions;
|
|
63
|
+
const ev = {};
|
|
63
64
|
let delta = 10;
|
|
64
65
|
if (key === Keys.left || key === Keys.up) {
|
|
65
66
|
delta *= -1;
|
|
@@ -94,7 +95,7 @@ export class NavigationService {
|
|
|
94
95
|
const offset = this.window.currentOffsetAndPosition();
|
|
95
96
|
let newWidth;
|
|
96
97
|
let newHeight;
|
|
97
|
-
|
|
98
|
+
const ev = {};
|
|
98
99
|
let delta = 10;
|
|
99
100
|
if (key === Keys.left || key === Keys.up) {
|
|
100
101
|
delta *= -1;
|
|
@@ -144,8 +145,8 @@ export class NavigationService {
|
|
|
144
145
|
}
|
|
145
146
|
}
|
|
146
147
|
}
|
|
147
|
-
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
148
|
-
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
149
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
148
|
+
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, deps: [{ token: i1.DragResizeService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
149
|
+
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService });
|
|
150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, decorators: [{
|
|
150
151
|
type: Injectable
|
|
151
152
|
}], ctorParameters: function () { return [{ type: i1.DragResizeService }, { type: i0.NgZone }]; } });
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive } from '@angular/core';
|
|
5
|
+
import { Directive, ViewContainerRef } from '@angular/core';
|
|
6
|
+
import { WindowContainerService } from './window-container.service';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
import * as i1 from "./window-container.service";
|
|
8
9
|
/**
|
|
@@ -20,9 +21,9 @@ export class WindowContainerDirective {
|
|
|
20
21
|
service.container = container;
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
|
-
WindowContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
24
|
-
WindowContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
24
|
+
WindowContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowContainerDirective, deps: [{ token: i0.ViewContainerRef }, { token: i1.WindowContainerService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
+
WindowContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: WindowContainerDirective, selector: "[kendoWindowContainer]", ngImport: i0 });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowContainerDirective, decorators: [{
|
|
26
27
|
type: Directive,
|
|
27
28
|
args: [{
|
|
28
29
|
selector: '[kendoWindowContainer]'
|
package/{esm2015/window/window-container.service.js → esm2020/window/window-container.service.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable } from '@angular/core';
|
|
@@ -16,8 +16,8 @@ export class WindowContainerService {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
WindowContainerService.container = null;
|
|
19
|
-
WindowContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
WindowContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
WindowContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20
|
+
WindowContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowContainerService });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowContainerService, decorators: [{
|
|
22
22
|
type: Injectable
|
|
23
23
|
}] });
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Host, Input, HostBinding } from '@angular/core';
|
|
5
|
+
import { Directive, Host, ElementRef, Input, HostBinding, Renderer2 } from '@angular/core';
|
|
6
|
+
import { DraggableDirective } from '@progress/kendo-angular-common';
|
|
7
|
+
import { DragResizeService } from './drag-resize.service';
|
|
6
8
|
import { Subscription, of, merge } from 'rxjs';
|
|
7
9
|
import * as i0 from "@angular/core";
|
|
8
10
|
import * as i1 from "@progress/kendo-angular-common";
|
|
@@ -49,9 +51,9 @@ export class ResizeHandleDirective {
|
|
|
49
51
|
this.renderer.setStyle(this.el.nativeElement, 'display', this.service.options.state === 'default' ? value : 'none');
|
|
50
52
|
}
|
|
51
53
|
}
|
|
52
|
-
ResizeHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
53
|
-
ResizeHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
54
|
+
ResizeHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeHandleDirective, deps: [{ token: i1.DraggableDirective, host: true }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.DragResizeService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
55
|
+
ResizeHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ResizeHandleDirective, selector: "[kendoWindowResizeHandle]", inputs: { direction: "direction" }, host: { properties: { "class.k-resize-handle": "this.hostClass" } }, ngImport: i0 });
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeHandleDirective, decorators: [{
|
|
55
57
|
type: Directive,
|
|
56
58
|
args: [{
|
|
57
59
|
selector: '[kendoWindowResizeHandle]'
|
package/{esm2015/window/window-titlebar.component.js → esm2020/window/window-titlebar.component.mjs}
RENAMED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, HostBinding, HostListener, Input } from '@angular/core';
|
|
5
|
+
import { Component, HostBinding, HostListener, ElementRef, NgZone, TemplateRef, Input } from '@angular/core';
|
|
6
6
|
import { DraggableDirective } from '@progress/kendo-angular-common';
|
|
7
|
+
import { DragResizeService } from './drag-resize.service';
|
|
7
8
|
import { of } from 'rxjs';
|
|
8
9
|
import { hasClasses, isFocusable, isPresent } from '../common/util';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
@@ -105,15 +106,15 @@ export class WindowTitleBarComponent {
|
|
|
105
106
|
return options.draggable && options.state !== 'maximized';
|
|
106
107
|
}
|
|
107
108
|
}
|
|
108
|
-
WindowTitleBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
109
|
-
WindowTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
109
|
+
WindowTitleBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowTitleBarComponent, deps: [{ token: i0.ElementRef }, { token: i1.DragResizeService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
110
|
+
WindowTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WindowTitleBarComponent, selector: "kendo-window-titlebar", inputs: { template: "template", id: "id" }, host: { listeners: { "dblclick": "handle($event)" }, properties: { "class.k-window-titlebar": "this.className", "class.k-dialog-titlebar": "this.className", "style.touch-action": "this.touchAction" } }, ngImport: i0, template: `
|
|
110
111
|
<ng-content *ngIf="!template"></ng-content>
|
|
111
112
|
<ng-template
|
|
112
113
|
[ngTemplateOutlet]="template"
|
|
113
114
|
[ngTemplateOutletContext]="{'$implicit': service}" *ngIf="template">
|
|
114
115
|
</ng-template>
|
|
115
116
|
`, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowTitleBarComponent, decorators: [{
|
|
117
118
|
type: Component,
|
|
118
119
|
args: [{
|
|
119
120
|
selector: 'kendo-window-titlebar',
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, Input, Output, HostBinding, EventEmitter, ContentChild, ViewChildren, HostListener, ViewChild } from '@angular/core';
|
|
5
|
+
import { Component, Input, Output, HostBinding, EventEmitter, ContentChild, ElementRef, Renderer2, ViewChildren, QueryList, HostListener, NgZone, ViewChild } from '@angular/core';
|
|
6
6
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
7
|
import { isChanged, isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
8
8
|
import { Subscription } from 'rxjs';
|
|
@@ -19,12 +19,12 @@ import * as i1 from "./drag-resize.service";
|
|
|
19
19
|
import * as i2 from "./navigation.service";
|
|
20
20
|
import * as i3 from "@progress/kendo-angular-l10n";
|
|
21
21
|
import * as i4 from "./window-titlebar.component";
|
|
22
|
-
import * as i5 from "
|
|
23
|
-
import * as i6 from "
|
|
24
|
-
import * as i7 from "./actions/window-
|
|
25
|
-
import * as i8 from "./actions/window-
|
|
26
|
-
import * as i9 from "
|
|
27
|
-
import * as i10 from "
|
|
22
|
+
import * as i5 from "./actions/window-minimize-action.directive";
|
|
23
|
+
import * as i6 from "./actions/window-maximize-action.directive";
|
|
24
|
+
import * as i7 from "./actions/window-restore-action.directive";
|
|
25
|
+
import * as i8 from "./actions/window-close-action.directive";
|
|
26
|
+
import * as i9 from "../localization/localized-messages.directive";
|
|
27
|
+
import * as i10 from "@angular/common";
|
|
28
28
|
import * as i11 from "./window-resize-handle.directive";
|
|
29
29
|
import * as i12 from "@progress/kendo-angular-common";
|
|
30
30
|
/**
|
|
@@ -267,6 +267,9 @@ export class WindowComponent {
|
|
|
267
267
|
return this.direction;
|
|
268
268
|
}
|
|
269
269
|
ngAfterViewInit() {
|
|
270
|
+
if (!isDocumentAvailable()) {
|
|
271
|
+
return;
|
|
272
|
+
}
|
|
270
273
|
this.setNextZIndex();
|
|
271
274
|
this.handleInitialFocus();
|
|
272
275
|
this.ngZone.runOutsideAngular(() => Promise.resolve(null).then(() => this.setInitialOffset()));
|
|
@@ -287,7 +290,7 @@ export class WindowComponent {
|
|
|
287
290
|
});
|
|
288
291
|
if (isChanged('draggable', changes)) {
|
|
289
292
|
const titleBar = isPresent(this.titleBarContent) ? this.titleBarContent : this.titleBarView;
|
|
290
|
-
if (isTruthy(changes
|
|
293
|
+
if (isTruthy(changes['draggable'].currentValue)) {
|
|
291
294
|
titleBar.subscribeDrag();
|
|
292
295
|
}
|
|
293
296
|
else {
|
|
@@ -541,8 +544,8 @@ export class WindowComponent {
|
|
|
541
544
|
return 'kendo-window-title-' + Math.ceil(Math.random() * 1000000).toString();
|
|
542
545
|
}
|
|
543
546
|
}
|
|
544
|
-
WindowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
545
|
-
WindowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
547
|
+
WindowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.DragResizeService }, { token: i2.NavigationService }, { token: i0.NgZone }, { token: i3.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
548
|
+
WindowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WindowComponent, selector: "kendo-window", inputs: { autoFocusedElement: "autoFocusedElement", title: "title", draggable: "draggable", resizable: "resizable", keepContent: "keepContent", state: "state", minWidth: "minWidth", minHeight: "minHeight", width: "width", height: "height", top: "top", left: "left" }, outputs: { dragStart: "dragStart", dragEnd: "dragEnd", resizeStart: "resizeStart", resizeEnd: "resizeEnd", close: "close", widthChange: "widthChange", heightChange: "heightChange", topChange: "topChange", leftChange: "leftChange", stateChange: "stateChange" }, host: { listeners: { "focus": "onComponentFocus()", "blur": "onComponentBlur()" }, properties: { "attr.tabIndex": "this.tabIndex", "attr.role": "this.role", "class.k-window": "this.hostClasses", "attr.dir": "this.dir", "style.minWidth": "this.styleMinWidth", "style.minHeight": "this.styleMinHeight", "style.position": "this.stylePosition", "class.k-window-maximized": "this.wrapperMaximizedClass", "class.k-window-minimized": "this.wrapperMinimizedClass" } }, providers: [
|
|
546
549
|
DragResizeService,
|
|
547
550
|
NavigationService,
|
|
548
551
|
LocalizationService,
|
|
@@ -592,8 +595,8 @@ WindowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
592
595
|
kendoDraggable>
|
|
593
596
|
</div>
|
|
594
597
|
</ng-template>
|
|
595
|
-
`, isInline: true, components: [{ type: i4.WindowTitleBarComponent, selector: "kendo-window-titlebar", inputs: ["template", "id"] }
|
|
596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
598
|
+
`, isInline: true, components: [{ type: i4.WindowTitleBarComponent, selector: "kendo-window-titlebar", inputs: ["template", "id"] }, { type: i5.WindowMinimizeActionDirective, selector: "button[kendoWindowMinimizeAction]", inputs: ["window"], exportAs: ["kendoWindowMinimizeAction"] }, { type: i6.WindowMaximizeActionDirective, selector: "button[kendoWindowMaximizeAction]", inputs: ["window"], exportAs: ["kendoWindowMaximizeAction"] }, { type: i7.WindowRestoreActionDirective, selector: "button[kendoWindowRestoreAction]", inputs: ["window"], exportAs: ["kendoWindowRestoreAction"] }, { type: i8.WindowCloseActionDirective, selector: "button[kendoWindowCloseAction]", inputs: ["window"], exportAs: ["kendoWindowCloseAction"] }], directives: [{ type: i9.LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i10.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i10.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.ResizeHandleDirective, selector: "[kendoWindowResizeHandle]", inputs: ["direction"] }, { type: i12.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }] });
|
|
599
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowComponent, decorators: [{
|
|
597
600
|
type: Component,
|
|
598
601
|
args: [{
|
|
599
602
|
exportAs: 'kendoWindow',
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Injectable, Renderer2, TemplateRef, Inject } from '@angular/core';
|
|
5
|
+
import { ComponentFactoryResolver, Injectable, Renderer2, TemplateRef, Inject } from '@angular/core';
|
|
6
6
|
import { merge, Subject } from 'rxjs';
|
|
7
7
|
import { filter, map, share, take } from 'rxjs/operators';
|
|
8
8
|
import { WindowComponent } from './window.component';
|
|
@@ -206,9 +206,9 @@ export class WindowService {
|
|
|
206
206
|
};
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
WindowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
210
|
-
WindowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
209
|
+
WindowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowService, deps: [{ token: i0.ComponentFactoryResolver }, { token: WindowContainerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
210
|
+
WindowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowService });
|
|
211
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowService, decorators: [{
|
|
212
212
|
type: Injectable
|
|
213
213
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i1.WindowContainerService, decorators: [{
|
|
214
214
|
type: Inject,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from "@angular/core";
|
|
@@ -64,8 +64,8 @@ const exportedModules = [
|
|
|
64
64
|
*/
|
|
65
65
|
export class WindowModule {
|
|
66
66
|
}
|
|
67
|
-
WindowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
68
|
-
WindowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
67
|
+
WindowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
68
|
+
WindowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowModule, declarations: [ResizeHandleDirective,
|
|
69
69
|
WindowComponent,
|
|
70
70
|
WindowTitleBarComponent,
|
|
71
71
|
WindowCloseActionDirective,
|
|
@@ -77,8 +77,8 @@ WindowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
77
77
|
WindowMaximizeActionDirective,
|
|
78
78
|
WindowRestoreActionDirective,
|
|
79
79
|
WindowTitleBarComponent, i1.DialogActionsComponent, i2.CustomMessagesComponent, i3.LocalizedMessagesDirective, WindowContainerDirective] });
|
|
80
|
-
WindowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
80
|
+
WindowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowModule, providers: [WindowContainerService, WindowService], imports: [[SharedModule, DraggableModule]] });
|
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowModule, decorators: [{
|
|
82
82
|
type: NgModule,
|
|
83
83
|
args: [{
|
|
84
84
|
declarations: [WINDOW_DIRECTIVES, WindowContainerDirective],
|