@progress/kendo-angular-dialog 16.5.0 → 16.6.0-develop.10
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 +12 -19
- package/dialog/dialog-actions.component.d.ts +1 -1
- package/dialog/dialog-container.directive.d.ts +1 -1
- package/dialog/dialog-content-base.d.ts +1 -1
- package/dialog/dialog-titlebar.component.d.ts +1 -1
- package/dialog/dialog.component.d.ts +1 -1
- package/dialog/models/dialog-ref.d.ts +1 -1
- package/dialog/models/dialog-settings.d.ts +2 -2
- package/dialog.module.d.ts +3 -6
- package/dialogs.module.d.ts +13 -3
- package/directives.d.ts +28 -0
- package/esm2020/dialog/dialog-actions.component.mjs +6 -4
- package/esm2020/dialog/dialog-container.directive.mjs +3 -2
- package/esm2020/dialog/dialog-container.service.mjs +5 -2
- package/esm2020/dialog/dialog-content-base.mjs +1 -1
- package/esm2020/dialog/dialog-titlebar.component.mjs +7 -5
- package/esm2020/dialog/dialog.component.mjs +8 -9
- package/esm2020/dialog/dialog.service.mjs +5 -2
- package/esm2020/dialog.module.mjs +13 -14
- package/esm2020/dialogs.module.mjs +24 -5
- package/esm2020/directives.mjs +47 -0
- package/esm2020/index.mjs +2 -0
- package/esm2020/localization/custom-messages.component.mjs +4 -3
- package/esm2020/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/window/actions/window-close-action.directive.mjs +8 -6
- package/esm2020/window/actions/window-maximize-action.directive.mjs +8 -6
- package/esm2020/window/actions/window-minimize-action.directive.mjs +8 -6
- package/esm2020/window/actions/window-restore-action.directive.mjs +8 -6
- package/esm2020/window/window-container.directive.mjs +3 -2
- package/esm2020/window/window-container.service.mjs +5 -2
- package/esm2020/window/window-resize-handle.directive.mjs +3 -2
- package/esm2020/window/window-titlebar.component.mjs +6 -4
- package/esm2020/window/window.component.mjs +12 -12
- package/esm2020/window/window.service.mjs +5 -2
- package/esm2020/window.module.mjs +17 -45
- package/fesm2015/progress-kendo-angular-dialog.mjs +191 -183
- package/fesm2020/progress-kendo-angular-dialog.mjs +191 -183
- package/index.d.ts +2 -0
- package/localization/custom-messages.component.d.ts +2 -2
- package/localization/localized-messages.directive.d.ts +1 -1
- package/package.json +6 -6
- package/schematics/ngAdd/index.js +1 -1
- package/window/actions/window-close-action.directive.d.ts +2 -2
- package/window/actions/window-maximize-action.directive.d.ts +2 -2
- package/window/actions/window-minimize-action.directive.d.ts +2 -2
- package/window/actions/window-restore-action.directive.d.ts +2 -2
- package/window/models/window-ref.d.ts +1 -1
- package/window/window-container.directive.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.module.d.ts +10 -14
- package/esm2020/shared.module.mjs +0 -40
- package/shared.module.d.ts +0 -23
|
@@ -3,9 +3,26 @@
|
|
|
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';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
|
7
|
+
import { KENDO_DIALOGS } from './directives';
|
|
8
|
+
import { DialogService } from './dialog/dialog.service';
|
|
9
|
+
import { DialogContainerService } from './dialog/dialog-container.service';
|
|
10
|
+
import { WindowService } from './window/window.service';
|
|
11
|
+
import { WindowContainerService } from './window/window-container.service';
|
|
8
12
|
import * as i0 from "@angular/core";
|
|
13
|
+
import * as i1 from "./dialog/dialog.component";
|
|
14
|
+
import * as i2 from "./dialog/dialog-titlebar.component";
|
|
15
|
+
import * as i3 from "./dialog/dialog-container.directive";
|
|
16
|
+
import * as i4 from "./dialog/dialog-actions.component";
|
|
17
|
+
import * as i5 from "./localization/custom-messages.component";
|
|
18
|
+
import * as i6 from "./window/window.component";
|
|
19
|
+
import * as i7 from "./window/actions/window-close-action.directive";
|
|
20
|
+
import * as i8 from "./window/actions/window-minimize-action.directive";
|
|
21
|
+
import * as i9 from "./window/actions/window-maximize-action.directive";
|
|
22
|
+
import * as i10 from "./window/actions/window-restore-action.directive";
|
|
23
|
+
import * as i11 from "./window/window-titlebar.component";
|
|
24
|
+
import * as i12 from "./window/window-container.directive";
|
|
25
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
9
26
|
/**
|
|
10
27
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
11
28
|
* definition for the Dialogs components.
|
|
@@ -34,11 +51,13 @@ import * as i0 from "@angular/core";
|
|
|
34
51
|
export class DialogsModule {
|
|
35
52
|
}
|
|
36
53
|
DialogsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
37
|
-
DialogsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, exports: [
|
|
38
|
-
DialogsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, imports: [
|
|
54
|
+
DialogsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, imports: [i1.DialogComponent, i2.DialogTitleBarComponent, i3.DialogContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent, i6.WindowComponent, i7.WindowCloseActionDirective, i8.WindowMinimizeActionDirective, i9.WindowMaximizeActionDirective, i10.WindowRestoreActionDirective, i11.WindowTitleBarComponent, i12.WindowContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent], exports: [i1.DialogComponent, i2.DialogTitleBarComponent, i3.DialogContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent, i6.WindowComponent, i7.WindowCloseActionDirective, i8.WindowMinimizeActionDirective, i9.WindowMaximizeActionDirective, i10.WindowRestoreActionDirective, i11.WindowTitleBarComponent, i12.WindowContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent] });
|
|
55
|
+
DialogsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, providers: [IconsService, DialogService, DialogContainerService, WindowService, WindowContainerService], imports: [i1.DialogComponent, i2.DialogTitleBarComponent, i4.DialogActionsComponent, i6.WindowComponent, i7.WindowCloseActionDirective, i8.WindowMinimizeActionDirective, i9.WindowMaximizeActionDirective, i10.WindowRestoreActionDirective, i11.WindowTitleBarComponent, i4.DialogActionsComponent] });
|
|
39
56
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, decorators: [{
|
|
40
57
|
type: NgModule,
|
|
41
58
|
args: [{
|
|
42
|
-
|
|
59
|
+
imports: [...KENDO_DIALOGS],
|
|
60
|
+
exports: [...KENDO_DIALOGS],
|
|
61
|
+
providers: [IconsService, DialogService, DialogContainerService, WindowService, WindowContainerService]
|
|
43
62
|
}]
|
|
44
63
|
}] });
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { DialogActionsComponent } from "./dialog/dialog-actions.component";
|
|
6
|
+
import { DialogContainerDirective } from "./dialog/dialog-container.directive";
|
|
7
|
+
import { DialogTitleBarComponent } from "./dialog/dialog-titlebar.component";
|
|
8
|
+
import { DialogComponent } from "./dialog/dialog.component";
|
|
9
|
+
import { CustomMessagesComponent } from "./localization/custom-messages.component";
|
|
10
|
+
import { WindowCloseActionDirective } from "./window/actions/window-close-action.directive";
|
|
11
|
+
import { WindowMaximizeActionDirective } from "./window/actions/window-maximize-action.directive";
|
|
12
|
+
import { WindowMinimizeActionDirective } from "./window/actions/window-minimize-action.directive";
|
|
13
|
+
import { WindowRestoreActionDirective } from "./window/actions/window-restore-action.directive";
|
|
14
|
+
import { WindowContainerDirective } from "./window/window-container.directive";
|
|
15
|
+
import { WindowTitleBarComponent } from "./window/window-titlebar.component";
|
|
16
|
+
import { WindowComponent } from "./window/window.component";
|
|
17
|
+
/**
|
|
18
|
+
* Utility array that contains all `Dialog` related components and directives.
|
|
19
|
+
*/
|
|
20
|
+
export const KENDO_DIALOG = [
|
|
21
|
+
DialogComponent,
|
|
22
|
+
DialogTitleBarComponent,
|
|
23
|
+
DialogContainerDirective,
|
|
24
|
+
DialogActionsComponent,
|
|
25
|
+
CustomMessagesComponent
|
|
26
|
+
];
|
|
27
|
+
/**
|
|
28
|
+
* Utility array that contains all `Window` related components and directives.
|
|
29
|
+
*/
|
|
30
|
+
export const KENDO_WINDOW = [
|
|
31
|
+
WindowComponent,
|
|
32
|
+
WindowCloseActionDirective,
|
|
33
|
+
WindowMinimizeActionDirective,
|
|
34
|
+
WindowMaximizeActionDirective,
|
|
35
|
+
WindowRestoreActionDirective,
|
|
36
|
+
WindowTitleBarComponent,
|
|
37
|
+
WindowContainerDirective,
|
|
38
|
+
DialogActionsComponent,
|
|
39
|
+
CustomMessagesComponent
|
|
40
|
+
];
|
|
41
|
+
/**
|
|
42
|
+
* Utility array that contains all `@progress/kendo-angular-dialog` related components and directives.
|
|
43
|
+
*/
|
|
44
|
+
export const KENDO_DIALOGS = [
|
|
45
|
+
...KENDO_DIALOG,
|
|
46
|
+
...KENDO_WINDOW
|
|
47
|
+
];
|
package/esm2020/index.mjs
CHANGED
|
@@ -17,6 +17,7 @@ export { WindowCloseActionDirective } from './window/actions/window-close-action
|
|
|
17
17
|
export { WindowRestoreActionDirective } from './window/actions/window-restore-action.directive';
|
|
18
18
|
export { WindowSettings, WindowRef, WindowCloseResult } from './window/models';
|
|
19
19
|
export { WindowService } from './window/window.service';
|
|
20
|
+
export { WindowContainerService } from './window/window-container.service';
|
|
20
21
|
export { DragResizeService } from './window/drag-resize.service';
|
|
21
22
|
export { NavigationService } from './window/navigation.service';
|
|
22
23
|
export { DialogModule } from './dialog.module';
|
|
@@ -29,3 +30,4 @@ export { LocalizedMessagesDirective } from './localization/localized-messages.di
|
|
|
29
30
|
export { CustomMessagesComponent } from './localization/custom-messages.component';
|
|
30
31
|
export { WindowContainerDirective } from './window/window-container.directive';
|
|
31
32
|
export { PreventableEvent } from './common/preventable-event';
|
|
33
|
+
export * from './directives';
|
|
@@ -9,7 +9,7 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
10
10
|
/**
|
|
11
11
|
* Custom component messages override default component messages
|
|
12
|
-
* ([see example](
|
|
12
|
+
* ([see example](slug:globalization_dialogs#toc-internationalization)).
|
|
13
13
|
*/
|
|
14
14
|
export class CustomMessagesComponent extends Messages {
|
|
15
15
|
constructor(service) {
|
|
@@ -21,7 +21,7 @@ export class CustomMessagesComponent extends Messages {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
24
|
-
CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, selector: "kendo-dialog-messages, kendo-window-messages", providers: [
|
|
24
|
+
CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-dialog-messages, kendo-window-messages", providers: [
|
|
25
25
|
{
|
|
26
26
|
provide: Messages,
|
|
27
27
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
@@ -37,6 +37,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
37
37
|
}
|
|
38
38
|
],
|
|
39
39
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
40
|
-
selector: 'kendo-dialog-messages, kendo-window-messages'
|
|
40
|
+
selector: 'kendo-dialog-messages, kendo-window-messages',
|
|
41
|
+
standalone: true
|
|
41
42
|
}]
|
|
42
43
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -17,7 +17,7 @@ export class LocalizedMessagesDirective extends Messages {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n ", providers: [
|
|
20
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n ", providers: [
|
|
21
21
|
{
|
|
22
22
|
provide: Messages,
|
|
23
23
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
@@ -36,6 +36,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
36
36
|
[kendoDialogLocalizedMessages],
|
|
37
37
|
[kendoWindowLocalizedMessages],
|
|
38
38
|
[kendoDialogTitleBarLocalizedMessages]
|
|
39
|
-
|
|
39
|
+
`,
|
|
40
|
+
standalone: true
|
|
40
41
|
}]
|
|
41
42
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-dialog',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '16.
|
|
12
|
+
publishDate: 1722606765,
|
|
13
|
+
version: '16.6.0-develop.10',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, ElementRef, HostBinding, HostListener, Input, Optional, NgZone, Renderer2 } from "@angular/core";
|
|
6
|
-
import {
|
|
6
|
+
import { NgIf, NgClass } from "@angular/common";
|
|
7
7
|
import { Button } from '@progress/kendo-angular-buttons';
|
|
8
8
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { xIcon } from '@progress/kendo-svg-icons';
|
|
10
|
+
import { IconWrapperComponent } from "@progress/kendo-angular-icons";
|
|
11
|
+
import { DragResizeService } from '../drag-resize.service';
|
|
10
12
|
import * as i0 from "@angular/core";
|
|
11
13
|
import * as i1 from "../drag-resize.service";
|
|
12
14
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
13
|
-
import * as i3 from "@angular/common";
|
|
14
|
-
import * as i4 from "@progress/kendo-angular-icons";
|
|
15
15
|
export class WindowCloseActionDirective extends Button {
|
|
16
16
|
constructor(el, renderer, _service, localization, ngZone) {
|
|
17
17
|
super(el, renderer, null, localization, ngZone);
|
|
@@ -35,7 +35,7 @@ export class WindowCloseActionDirective extends Button {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
WindowCloseActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowCloseActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.DragResizeService, optional: true }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
38
|
-
WindowCloseActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowCloseActionDirective, selector: "button[kendoWindowCloseAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass" } }, providers: [
|
|
38
|
+
WindowCloseActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowCloseActionDirective, isStandalone: true, selector: "button[kendoWindowCloseAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass" } }, providers: [
|
|
39
39
|
LocalizationService,
|
|
40
40
|
{
|
|
41
41
|
provide: L10N_PREFIX,
|
|
@@ -53,7 +53,7 @@ WindowCloseActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
53
53
|
</span>
|
|
54
54
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
55
55
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
56
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
56
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
57
57
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowCloseActionDirective, decorators: [{
|
|
58
58
|
type: Component,
|
|
59
59
|
args: [{
|
|
@@ -78,7 +78,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
78
78
|
</span>
|
|
79
79
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
80
80
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
81
|
-
|
|
81
|
+
`,
|
|
82
|
+
standalone: true,
|
|
83
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
82
84
|
}]
|
|
83
85
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.DragResizeService, decorators: [{
|
|
84
86
|
type: Optional
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, ElementRef, HostBinding, HostListener, Input, Optional, NgZone, Renderer2 } from "@angular/core";
|
|
6
|
-
import {
|
|
6
|
+
import { NgIf, NgClass } from "@angular/common";
|
|
7
7
|
import { Button } from '@progress/kendo-angular-buttons';
|
|
8
8
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { windowIcon } from '@progress/kendo-svg-icons';
|
|
10
|
+
import { IconWrapperComponent } from "@progress/kendo-angular-icons";
|
|
11
|
+
import { DragResizeService } from './../drag-resize.service';
|
|
10
12
|
import * as i0 from "@angular/core";
|
|
11
13
|
import * as i1 from "./../drag-resize.service";
|
|
12
14
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
13
|
-
import * as i3 from "@angular/common";
|
|
14
|
-
import * as i4 from "@progress/kendo-angular-icons";
|
|
15
15
|
export class WindowMaximizeActionDirective extends Button {
|
|
16
16
|
constructor(el, renderer, _service, localization, ngZone) {
|
|
17
17
|
super(el, renderer, null, localization, ngZone);
|
|
@@ -38,7 +38,7 @@ export class WindowMaximizeActionDirective extends Button {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
WindowMaximizeActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowMaximizeActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.DragResizeService, optional: true }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
-
WindowMaximizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowMaximizeActionDirective, selector: "button[kendoWindowMaximizeAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
|
|
41
|
+
WindowMaximizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowMaximizeActionDirective, isStandalone: true, selector: "button[kendoWindowMaximizeAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
|
|
42
42
|
LocalizationService,
|
|
43
43
|
{
|
|
44
44
|
provide: L10N_PREFIX,
|
|
@@ -56,7 +56,7 @@ WindowMaximizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
56
56
|
</span>
|
|
57
57
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
58
58
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
59
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
59
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
60
60
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowMaximizeActionDirective, decorators: [{
|
|
61
61
|
type: Component,
|
|
62
62
|
args: [{
|
|
@@ -81,7 +81,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
81
81
|
</span>
|
|
82
82
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
83
83
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
84
|
-
|
|
84
|
+
`,
|
|
85
|
+
standalone: true,
|
|
86
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
85
87
|
}]
|
|
86
88
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.DragResizeService, decorators: [{
|
|
87
89
|
type: Optional
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, ElementRef, HostBinding, HostListener, Input, Optional, NgZone, Renderer2 } from "@angular/core";
|
|
6
|
-
import {
|
|
6
|
+
import { NgIf, NgClass } from "@angular/common";
|
|
7
7
|
import { Button } from '@progress/kendo-angular-buttons';
|
|
8
8
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { windowMinimizeIcon } from "@progress/kendo-svg-icons";
|
|
10
|
+
import { IconWrapperComponent } from "@progress/kendo-angular-icons";
|
|
11
|
+
import { DragResizeService } from './../drag-resize.service';
|
|
10
12
|
import * as i0 from "@angular/core";
|
|
11
13
|
import * as i1 from "./../drag-resize.service";
|
|
12
14
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
13
|
-
import * as i3 from "@angular/common";
|
|
14
|
-
import * as i4 from "@progress/kendo-angular-icons";
|
|
15
15
|
export class WindowMinimizeActionDirective extends Button {
|
|
16
16
|
constructor(el, renderer, _service, localization, ngZone) {
|
|
17
17
|
super(el, renderer, null, localization, ngZone);
|
|
@@ -38,7 +38,7 @@ export class WindowMinimizeActionDirective extends Button {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
WindowMinimizeActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowMinimizeActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.DragResizeService, optional: true }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
-
WindowMinimizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowMinimizeActionDirective, selector: "button[kendoWindowMinimizeAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
|
|
41
|
+
WindowMinimizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowMinimizeActionDirective, isStandalone: true, selector: "button[kendoWindowMinimizeAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
|
|
42
42
|
LocalizationService,
|
|
43
43
|
{
|
|
44
44
|
provide: L10N_PREFIX,
|
|
@@ -56,7 +56,7 @@ WindowMinimizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
56
56
|
</span>
|
|
57
57
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
58
58
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
59
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
59
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
60
60
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowMinimizeActionDirective, decorators: [{
|
|
61
61
|
type: Component,
|
|
62
62
|
args: [{
|
|
@@ -81,7 +81,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
81
81
|
</span>
|
|
82
82
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
83
83
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
84
|
-
|
|
84
|
+
`,
|
|
85
|
+
standalone: true,
|
|
86
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
85
87
|
}]
|
|
86
88
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.DragResizeService, decorators: [{
|
|
87
89
|
type: Optional
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, ElementRef, HostBinding, HostListener, Input, Optional, NgZone, Renderer2 } from "@angular/core";
|
|
6
|
-
import {
|
|
6
|
+
import { NgIf, NgClass } from "@angular/common";
|
|
7
7
|
import { Button } from '@progress/kendo-angular-buttons';
|
|
8
8
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { windowRestoreIcon } from '@progress/kendo-svg-icons';
|
|
10
|
+
import { IconWrapperComponent } from "@progress/kendo-angular-icons";
|
|
11
|
+
import { DragResizeService } from './../drag-resize.service';
|
|
10
12
|
import * as i0 from "@angular/core";
|
|
11
13
|
import * as i1 from "./../drag-resize.service";
|
|
12
14
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
13
|
-
import * as i3 from "@angular/common";
|
|
14
|
-
import * as i4 from "@progress/kendo-angular-icons";
|
|
15
15
|
export class WindowRestoreActionDirective extends Button {
|
|
16
16
|
constructor(el, renderer, _service, localization, ngZone) {
|
|
17
17
|
super(el, renderer, null, localization, ngZone);
|
|
@@ -38,7 +38,7 @@ export class WindowRestoreActionDirective extends Button {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
WindowRestoreActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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: "14.0.0", version: "15.2.10", type: WindowRestoreActionDirective, selector: "button[kendoWindowRestoreAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
|
|
41
|
+
WindowRestoreActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowRestoreActionDirective, isStandalone: true, selector: "button[kendoWindowRestoreAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
|
|
42
42
|
LocalizationService,
|
|
43
43
|
{
|
|
44
44
|
provide: L10N_PREFIX,
|
|
@@ -56,7 +56,7 @@ WindowRestoreActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
|
|
|
56
56
|
</span>
|
|
57
57
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
58
58
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
59
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
59
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
60
60
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowRestoreActionDirective, decorators: [{
|
|
61
61
|
type: Component,
|
|
62
62
|
args: [{
|
|
@@ -81,7 +81,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
81
81
|
</span>
|
|
82
82
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
83
83
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
84
|
-
|
|
84
|
+
`,
|
|
85
|
+
standalone: true,
|
|
86
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
85
87
|
}]
|
|
86
88
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.DragResizeService, decorators: [{
|
|
87
89
|
type: Optional
|
|
@@ -22,10 +22,11 @@ export class WindowContainerDirective {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
WindowContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowContainerDirective, deps: [{ token: i0.ViewContainerRef }, { token: i1.WindowContainerService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
-
WindowContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: WindowContainerDirective, selector: "[kendoWindowContainer]", ngImport: i0 });
|
|
25
|
+
WindowContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: WindowContainerDirective, isStandalone: true, selector: "[kendoWindowContainer]", ngImport: i0 });
|
|
26
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowContainerDirective, decorators: [{
|
|
27
27
|
type: Directive,
|
|
28
28
|
args: [{
|
|
29
|
-
selector: '[kendoWindowContainer]'
|
|
29
|
+
selector: '[kendoWindowContainer]',
|
|
30
|
+
standalone: true
|
|
30
31
|
}]
|
|
31
32
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i1.WindowContainerService }]; } });
|
|
@@ -17,7 +17,10 @@ export class WindowContainerService {
|
|
|
17
17
|
}
|
|
18
18
|
WindowContainerService.container = null;
|
|
19
19
|
WindowContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20
|
-
WindowContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowContainerService });
|
|
20
|
+
WindowContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowContainerService, providedIn: 'root' });
|
|
21
21
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowContainerService, decorators: [{
|
|
22
|
-
type: Injectable
|
|
22
|
+
type: Injectable,
|
|
23
|
+
args: [{
|
|
24
|
+
providedIn: 'root'
|
|
25
|
+
}]
|
|
23
26
|
}] });
|
|
@@ -52,11 +52,12 @@ export class ResizeHandleDirective {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
ResizeHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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: "14.0.0", version: "15.2.10", type: ResizeHandleDirective, selector: "[kendoWindowResizeHandle]", inputs: { direction: "direction" }, host: { properties: { "class.k-resize-handle": "this.hostClass" } }, ngImport: i0 });
|
|
55
|
+
ResizeHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ResizeHandleDirective, isStandalone: true, selector: "[kendoWindowResizeHandle]", inputs: { direction: "direction" }, host: { properties: { "class.k-resize-handle": "this.hostClass" } }, ngImport: i0 });
|
|
56
56
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeHandleDirective, decorators: [{
|
|
57
57
|
type: Directive,
|
|
58
58
|
args: [{
|
|
59
|
-
selector: '[kendoWindowResizeHandle]'
|
|
59
|
+
selector: '[kendoWindowResizeHandle]',
|
|
60
|
+
standalone: true
|
|
60
61
|
}]
|
|
61
62
|
}], ctorParameters: function () { return [{ type: i1.DraggableDirective, decorators: [{
|
|
62
63
|
type: Host
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, HostBinding, HostListener, ElementRef, NgZone, TemplateRef, Input } from '@angular/core';
|
|
6
|
+
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
6
7
|
import { DraggableDirective } from '@progress/kendo-angular-common';
|
|
7
8
|
import { DragResizeService } from './drag-resize.service';
|
|
8
9
|
import { of } from 'rxjs';
|
|
9
10
|
import { hasClasses, isFocusable, isPresent } from '../common/util';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
import * as i1 from "./drag-resize.service";
|
|
12
|
-
import * as i2 from "@angular/common";
|
|
13
13
|
export class WindowTitleBarComponent {
|
|
14
14
|
constructor(el, service, ngZone) {
|
|
15
15
|
this.el = el;
|
|
@@ -107,13 +107,13 @@ export class WindowTitleBarComponent {
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
WindowTitleBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowTitleBarComponent, deps: [{ token: i0.ElementRef }, { token: i1.DragResizeService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
110
|
-
WindowTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowTitleBarComponent, selector: "kendo-window-titlebar", inputs: { template: "template", id: "id" }, host: { listeners: { "dblclick": "handle($event)" }, properties: { "class.k-window-titlebar": "this.className", "style.touch-action": "this.touchAction" } }, ngImport: i0, template: `
|
|
110
|
+
WindowTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowTitleBarComponent, isStandalone: true, selector: "kendo-window-titlebar", inputs: { template: "template", id: "id" }, host: { listeners: { "dblclick": "handle($event)" }, properties: { "class.k-window-titlebar": "this.className", "style.touch-action": "this.touchAction" } }, ngImport: i0, template: `
|
|
111
111
|
<ng-content *ngIf="!template"></ng-content>
|
|
112
112
|
<ng-template
|
|
113
113
|
[ngTemplateOutlet]="template"
|
|
114
114
|
[ngTemplateOutletContext]="{'$implicit': service}" *ngIf="template">
|
|
115
115
|
</ng-template>
|
|
116
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
116
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
117
117
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowTitleBarComponent, decorators: [{
|
|
118
118
|
type: Component,
|
|
119
119
|
args: [{
|
|
@@ -124,7 +124,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
124
124
|
[ngTemplateOutlet]="template"
|
|
125
125
|
[ngTemplateOutletContext]="{'$implicit': service}" *ngIf="template">
|
|
126
126
|
</ng-template>
|
|
127
|
-
|
|
127
|
+
`,
|
|
128
|
+
standalone: true,
|
|
129
|
+
imports: [NgIf, NgTemplateOutlet]
|
|
128
130
|
}]
|
|
129
131
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.DragResizeService }, { type: i0.NgZone }]; }, propDecorators: { template: [{
|
|
130
132
|
type: Input
|
|
@@ -15,19 +15,17 @@ import { RESIZE_DIRECTIONS } from "../common/util";
|
|
|
15
15
|
import { ResizeHandleDirective } from './window-resize-handle.directive';
|
|
16
16
|
import { WindowTitleBarComponent } from './window-titlebar.component';
|
|
17
17
|
import { NavigationService } from './navigation.service';
|
|
18
|
+
import { WatermarkOverlayComponent, DraggableDirective } from '@progress/kendo-angular-common';
|
|
19
|
+
import { WindowCloseActionDirective } from './actions/window-close-action.directive';
|
|
20
|
+
import { WindowRestoreActionDirective } from './actions/window-restore-action.directive';
|
|
21
|
+
import { WindowMaximizeActionDirective } from './actions/window-maximize-action.directive';
|
|
22
|
+
import { WindowMinimizeActionDirective } from './actions/window-minimize-action.directive';
|
|
23
|
+
import { NgIf, NgTemplateOutlet, NgFor } from '@angular/common';
|
|
24
|
+
import { LocalizedMessagesDirective } from '../localization/localized-messages.directive';
|
|
18
25
|
import * as i0 from "@angular/core";
|
|
19
26
|
import * as i1 from "./drag-resize.service";
|
|
20
27
|
import * as i2 from "./navigation.service";
|
|
21
28
|
import * as i3 from "@progress/kendo-angular-l10n";
|
|
22
|
-
import * as i4 from "../localization/localized-messages.directive";
|
|
23
|
-
import * as i5 from "@angular/common";
|
|
24
|
-
import * as i6 from "@progress/kendo-angular-common";
|
|
25
|
-
import * as i7 from "./window-resize-handle.directive";
|
|
26
|
-
import * as i8 from "./window-titlebar.component";
|
|
27
|
-
import * as i9 from "./actions/window-close-action.directive";
|
|
28
|
-
import * as i10 from "./actions/window-minimize-action.directive";
|
|
29
|
-
import * as i11 from "./actions/window-maximize-action.directive";
|
|
30
|
-
import * as i12 from "./actions/window-restore-action.directive";
|
|
31
29
|
/**
|
|
32
30
|
* Represents the [Kendo UI Window component for Angular]({% slug overview_window_dialogs %}).
|
|
33
31
|
*/
|
|
@@ -580,7 +578,7 @@ export class WindowComponent {
|
|
|
580
578
|
}
|
|
581
579
|
}
|
|
582
580
|
WindowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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 });
|
|
583
|
-
WindowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowComponent, selector: "kendo-window", inputs: { autoFocusedElement: "autoFocusedElement", title: "title", draggable: "draggable", resizable: "resizable", themeColor: "themeColor", 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.hostClass", "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: [
|
|
581
|
+
WindowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowComponent, isStandalone: true, selector: "kendo-window", inputs: { autoFocusedElement: "autoFocusedElement", title: "title", draggable: "draggable", resizable: "resizable", themeColor: "themeColor", 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.hostClass", "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: [
|
|
584
582
|
DragResizeService,
|
|
585
583
|
NavigationService,
|
|
586
584
|
LocalizationService,
|
|
@@ -632,7 +630,7 @@ WindowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
632
630
|
</ng-template>
|
|
633
631
|
|
|
634
632
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
635
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
633
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: WindowTitleBarComponent, selector: "kendo-window-titlebar", inputs: ["template", "id"] }, { kind: "component", type: WindowMinimizeActionDirective, selector: "button[kendoWindowMinimizeAction]", inputs: ["window"], exportAs: ["kendoWindowMinimizeAction"] }, { kind: "component", type: WindowMaximizeActionDirective, selector: "button[kendoWindowMaximizeAction]", inputs: ["window"], exportAs: ["kendoWindowMaximizeAction"] }, { kind: "component", type: WindowRestoreActionDirective, selector: "button[kendoWindowRestoreAction]", inputs: ["window"], exportAs: ["kendoWindowRestoreAction"] }, { kind: "component", type: WindowCloseActionDirective, selector: "button[kendoWindowCloseAction]", inputs: ["window"], exportAs: ["kendoWindowCloseAction"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: ResizeHandleDirective, selector: "[kendoWindowResizeHandle]", inputs: ["direction"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }] });
|
|
636
634
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowComponent, decorators: [{
|
|
637
635
|
type: Component,
|
|
638
636
|
args: [{
|
|
@@ -691,7 +689,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
691
689
|
</ng-template>
|
|
692
690
|
|
|
693
691
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
694
|
-
|
|
692
|
+
`,
|
|
693
|
+
standalone: true,
|
|
694
|
+
imports: [LocalizedMessagesDirective, NgIf, WindowTitleBarComponent, WindowMinimizeActionDirective, WindowMaximizeActionDirective, WindowRestoreActionDirective, WindowCloseActionDirective, NgTemplateOutlet, NgFor, ResizeHandleDirective, DraggableDirective, WatermarkOverlayComponent]
|
|
695
695
|
}]
|
|
696
696
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.DragResizeService }, { type: i2.NavigationService }, { type: i0.NgZone }, { type: i3.LocalizationService }]; }, propDecorators: { autoFocusedElement: [{
|
|
697
697
|
type: Input
|
|
@@ -207,9 +207,12 @@ export class WindowService {
|
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
WindowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowService, deps: [{ token: i0.ComponentFactoryResolver }, { token: WindowContainerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
210
|
-
WindowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowService });
|
|
210
|
+
WindowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowService, providedIn: 'root' });
|
|
211
211
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowService, decorators: [{
|
|
212
|
-
type: Injectable
|
|
212
|
+
type: Injectable,
|
|
213
|
+
args: [{
|
|
214
|
+
providedIn: 'root'
|
|
215
|
+
}]
|
|
213
216
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i1.WindowContainerService, decorators: [{
|
|
214
217
|
type: Inject,
|
|
215
218
|
args: [WindowContainerService]
|